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

Token development plan #20

Open
3 of 14 tasks
vanruch opened this issue Nov 8, 2023 · 1 comment
Open
3 of 14 tasks

Token development plan #20

vanruch opened this issue Nov 8, 2023 · 1 comment

Comments

@vanruch
Copy link
Collaborator

vanruch commented Nov 8, 2023

  • 1. Vesting Wallet - override OZ's VestingWallet functionality to support the schedule described here
  • 2. Vesting Wallet should have a list of contracts and method signatures that it can call, and accept arbitrary data that is forwarded to these methods
  • 3. Prepare mass vesting on https://hedgey.finance/vesting
  • 4. Add claimFor method to rewards contract
  • 5. Token - do we need any special functionality? If not, simply override OZ ERC20 contract
    Edit: yes, we do, look at point 8
  • 6. Script for VestingWallet to deploy contracts and transfer tokens
  • 7. Gather csv file with mass rewards
  • 8. Prepare token for bridging:
    • 1. add isArbitrumEnabled method
    • 2. It must have a method that makes an external call to L1CustomGateway.registerCustomL2Token specifying the address of the L2 contract, and to L1GatewayRouter.setGateway specifying the address of the custom gateway. These calls should be made only once to configure the gateway.
  • [FOR L2]
  • - It must havebridgeMint and bridgeBurn methods only callable by the L2CustomGateway contract
  • - It must have an l1Address view method that returns the address of the token in L1
  • 9. Deploy token on L2, call registerTokenToL2 and setGateway on L1
@dzhelezov
Copy link
Contributor

  • Can you elaborate on 5?
  • This roadmap doesn't include the UI for claiming?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants