Skip to content

Token development plan #20

@vanruch

Description

@vanruch
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions