This contract is defines the base token manager interface implemented by all token managers.
function interchainTokenId() external view returns (bytes32)
A function that returns the token id.
function tokenAddress() external view returns (address)
A function that should return the address of the token. Must be overridden in the inheriting contract.
Name | Type | Description |
---|---|---|
[0] | address | address address of the token. |
function getTokenAddressFromParams(bytes params) external pure returns (address)
A function that should return the token address from the init params.