Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update token whitelists #1290

Closed
10 tasks done
sug0 opened this issue Apr 13, 2023 · 1 comment
Closed
10 tasks done

Update token whitelists #1290

sug0 opened this issue Apr 13, 2023 · 1 comment
Assignees
Labels
ethereum-bridge has-a-pr The issue has been solved by a PR that has yet to be merged ledger

Comments

@sug0
Copy link
Collaborator

sug0 commented Apr 13, 2023

Implement the Ethereum token whitelist logic in Namada.

The Ethereum token whitelist is only stored and acted upon in Namada, after crossing the bridge over from Ethereum. This means that we are able to receive transfers from non-whitelisted assets, or from assets whose token caps have been reached in Namada. In these cases, NUTs (Non Usable Tokens) should be minted in Namada, instead of wrapped ERC20s.

Tasks

  • Mint NUTs
  • Burn NUTs after transferring them out of the Bridge pool
  • Test minting/burning of NUTs and wrapped ERC20s with unit tests
  • Add NUT native VP to reject NUT transfers between accounts other than the Bridge pool
  • Test NUT native VP
  • Update Bridge pool VP to check NUT escrows
  • Test Bridge pool NUT escrows
  • Update the CLI to allow building NUT transfers to the Bridge pool
  • Allow Ethereum token whitelist to be configured through the Namada genesis file
  • Update the smart contract code to reflect the new design
@sug0
Copy link
Collaborator Author

sug0 commented Aug 8, 2023

Related to #1234

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ethereum-bridge has-a-pr The issue has been solved by a PR that has yet to be merged ledger
Projects
None yet
Development

No branches or pull requests

2 participants