This interface is used to deploy new instances of the TokenManagerProxy contract.
error TokenManagerDeploymentFailed()
function deployTokenManager(bytes32 tokenId, uint256 implementationType, bytes params) external payable returns (address tokenManager)
Deploys a new instance of the TokenManagerProxy contract.
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. |
Name | Type | Description |
---|---|---|
tokenManager | address | Address of the deployed tokenManager. |