interchain-token-service

Solidity API

ITokenManagerDeployer

This interface is used to deploy new instances of the TokenManagerProxy contract.

TokenManagerDeploymentFailed

error TokenManagerDeploymentFailed()

deployTokenManager

function deployTokenManager(bytes32 tokenId, uint256 implementationType, bytes params) external payable returns (address tokenManager)

Deploys a new instance of the TokenManagerProxy contract.

Parameters

Name Type Description
tokenId bytes32 The token ID.
implementationType uint256 Token manager implementation type.
params bytes Additional parameters used in the setup of the token manager.

Return Values

Name Type Description
tokenManager address Address of the deployed tokenManager.