vacp2p / rln-contract

RLN contract
Apache License 2.0
13 stars 6 forks source link

Erc20 support #3

Closed kgrgpg closed 1 year ago

kgrgpg commented 2 years ago

This pull request aims at implementing the ERC20 support for the RLN contract. This is the first scenario implementation as listed in https://github.com/vacp2p/rln-contract/issues/1. The contract itself is named as RlnERC20.sol for now. There is also the code for Status Network Token (SNT) inside the SntContract.sol which has been commented out but useful for future reference. A dummy new token can be minted using TokenRln.sol if needed. There are some minor changes with respect to omitting the receiver parameter in withdraw function and instead use msg.sender.

oskarth commented 1 year ago

Looks like there are outstanding comments by @staheri14 from three weeks ago, also conflicts

rymnc commented 1 year ago

Closing this PR pending plan from the tokenomics team on rln incentivization.