function legacyToken() external view returns (contract IERC20)
Returns the legacy token that is being migrated.
Name | Type | Description |
---|---|---|
_0 | contract IERC20 | undefined |
function migrate(uint256 amount) external nonpayable
Transfers part of an account's balance in the old token to this contract, and mints the same amount of new tokens for that account.
Name | Type | Description |
---|---|---|
amount | uint256 | amount of tokens to be migrated |
function newToken() external view returns (contract IERC20)
Returns the new token to which we are migrating.
Name | Type | Description |
---|---|---|
_0 | contract IERC20 | undefined |