AvaxJewelMigrationV2
Methods
LEGACY_TOKEN
Returns
Name | Type | Description |
---|---|---|
_0 | contract IERC20 | undefined |
NEW_TOKEN
Returns
Name | Type | Description |
---|---|---|
_0 | contract IERC20Mintable | undefined |
SYNAPSE_BRIDGE
Returns
Name | Type | Description |
---|---|---|
_0 | contract ISynapseBridge | undefined |
migrate
Parameters
Name | Type | Description |
---|---|---|
amount | uint256 | undefined |
migrateAndBridge
Parameters
Name | Type | Description |
---|---|---|
amount | uint256 | undefined |
to | address | undefined |
chainId | uint256 | undefined |
owner
Returns the address of the current owner.
Returns
Name | Type | Description |
---|---|---|
_0 | address | undefined |
redeemLegacy
renounceOwnership
Leaves the contract without owner. It will not be possible to call onlyOwner
functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.
transferOwnership
Transfers ownership of the contract to a new account (newOwner
). Can only be called by the current owner.
Parameters
Name | Type | Description |
---|---|---|
newOwner | address | undefined |
Events
OwnershipTransferred
Parameters
Name | Type | Description |
---|---|---|
previousOwner | address | undefined |
newOwner | address | undefined |
Last updated