This contract is used to deploy new instances of the InterchainTokenProxy contract.
address implementationAddress
Returns the interchain token implementation address.
| Name | Type | Description | | —- | —- | ———– |
constructor(address implementationAddress_) public
Constructor for the InterchainTokenDeployer contract.
| Name | Type | Description |
|---|---|---|
| implementationAddress_ | address | Address of the InterchainToken contract. |
function deployInterchainToken(bytes32 salt, bytes32 tokenId, address minter, string name, string symbol, uint8 decimals) external returns (address tokenAddress)
Deploys a new instance of the InterchainTokenProxy contract.
| Name | Type | Description |
|---|---|---|
| salt | bytes32 | The salt used by Create3Deployer. |
| tokenId | bytes32 | TokenId for the token. |
| minter | address | Address of the minter. |
| name | string | Name of the token. |
| symbol | string | Symbol of the token. |
| decimals | uint8 | Decimals of the token. |
| Name | Type | Description |
|---|---|---|
| tokenAddress | address | Address of the deployed token. |
function deployedAddress(bytes32 salt) external view returns (address tokenAddress)
Returns the interchain token deployment address.
| Name | Type | Description |
|---|---|---|
| salt | bytes32 | The deployment salt. |
| Name | Type | Description |
|---|---|---|
| tokenAddress | address | The token address. |