Extends IInterchainTokenStandard and IMinter.
error InterchainTokenServiceAddressZero()
error TokenIdZero()
error TokenNameEmpty()
error TokenSymbolEmpty()
error AlreadyInitialized()
function interchainTokenService() external view returns (address interchainTokenServiceAddress)
Getter for the interchain token service contract.
Needs to be overwitten.
Name | Type | Description |
---|---|---|
interchainTokenServiceAddress | address | The interchain token service address. |
function interchainTokenId() external view returns (bytes32 tokenId_)
Getter for the tokenId used for this token.
Needs to be overwitten.
Name | Type | Description |
---|---|---|
tokenId_ | bytes32 | The tokenId for this token. |
function init(bytes32 tokenId_, address minter, string tokenName, string tokenSymbol, uint8 tokenDecimals) external
Setup function to initialize contract parameters.
Name | Type | Description |
---|---|---|
tokenId_ | bytes32 | The tokenId of the token. |
minter | address | The address of the token minter. |
tokenName | string | The name of the token. |
tokenSymbol | string | The symbopl of the token. |
tokenDecimals | uint8 | The decimals of the token. |