ERC20Migrator
Methods
legacyToken
Returns the legacy token that is being migrated.
Returns
Name
Type
Description
_0
contract IERC20
undefined
migrate
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.
Parameters
Name
Type
Description
amount
uint256
amount of tokens to be migrated
newToken
Returns the new token to which we are migrating.
Returns
Name
Type
Description
_0
contract IERC20
undefined
Last updated