Last active
February 20, 2025 12:19
Interchain Token Service ABI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "tokenManagerDeployer_", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "interchainTokenDeployer_", | |
"type": "address" | |
}, | |
{ "internalType": "address", "name": "gateway_", "type": "address" }, | |
{ "internalType": "address", "name": "gasService_", "type": "address" }, | |
{ | |
"internalType": "address", | |
"name": "interchainTokenFactory_", | |
"type": "address" | |
}, | |
{ "internalType": "string", "name": "chainName_", "type": "string" }, | |
{ | |
"internalType": "address", | |
"name": "tokenManagerImplementation_", | |
"type": "address" | |
}, | |
{ "internalType": "address", "name": "tokenHandler_", "type": "address" }, | |
{ "internalType": "address", "name": "gatewayCaller_", "type": "address" } | |
], | |
"stateMutability": "nonpayable", | |
"type": "constructor" | |
}, | |
{ "inputs": [], "name": "AlreadyExecuted", "type": "error" }, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "enum ITokenManagerType.TokenManagerType", | |
"name": "", | |
"type": "uint8" | |
} | |
], | |
"name": "CannotDeploy", | |
"type": "error" | |
}, | |
{ "inputs": [], "name": "CannotDeployRemotelyToSelf", "type": "error" }, | |
{ "inputs": [], "name": "EmptyData", "type": "error" }, | |
{ "inputs": [], "name": "EmptyDestinationAddress", "type": "error" }, | |
{ "inputs": [], "name": "EmptyParams", "type": "error" }, | |
{ "inputs": [], "name": "EmptyTokenAddress", "type": "error" }, | |
{ "inputs": [], "name": "EmptyTokenName", "type": "error" }, | |
{ "inputs": [], "name": "EmptyTokenSymbol", "type": "error" }, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "contractAddress", | |
"type": "address" | |
} | |
], | |
"name": "ExecuteWithInterchainTokenFailed", | |
"type": "error" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "contractAddress", | |
"type": "address" | |
} | |
], | |
"name": "ExpressExecuteWithInterchainTokenFailed", | |
"type": "error" | |
}, | |
{ "inputs": [], "name": "ExpressExecutorAlreadySet", "type": "error" }, | |
{ | |
"inputs": [{ "internalType": "bytes", "name": "data", "type": "bytes" }], | |
"name": "GatewayCallFailed", | |
"type": "error" | |
}, | |
{ | |
"inputs": [{ "internalType": "bytes", "name": "data", "type": "bytes" }], | |
"name": "GiveTokenFailed", | |
"type": "error" | |
}, | |
{ "inputs": [], "name": "InsufficientValue", "type": "error" }, | |
{ | |
"inputs": [{ "internalType": "bytes", "name": "error", "type": "bytes" }], | |
"name": "InterchainTokenDeploymentFailed", | |
"type": "error" | |
}, | |
{ "inputs": [], "name": "InvalidAddress", "type": "error" }, | |
{ | |
"inputs": [ | |
{ "internalType": "bytes", "name": "bytesAddress", "type": "bytes" } | |
], | |
"name": "InvalidBytesLength", | |
"type": "error" | |
}, | |
{ "inputs": [], "name": "InvalidChainName", "type": "error" }, | |
{ "inputs": [], "name": "InvalidCodeHash", "type": "error" }, | |
{ | |
"inputs": [ | |
{ "internalType": "uint256", "name": "messageType", "type": "uint256" } | |
], | |
"name": "InvalidExpressMessageType", | |
"type": "error" | |
}, | |
{ "inputs": [], "name": "InvalidImplementation", "type": "error" }, | |
{ | |
"inputs": [ | |
{ "internalType": "uint256", "name": "messageType", "type": "uint256" } | |
], | |
"name": "InvalidMessageType", | |
"type": "error" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "uint32", "name": "version", "type": "uint32" } | |
], | |
"name": "InvalidMetadataVersion", | |
"type": "error" | |
}, | |
{ "inputs": [], "name": "InvalidOwner", "type": "error" }, | |
{ "inputs": [], "name": "InvalidOwnerAddress", "type": "error" }, | |
{ "inputs": [], "name": "InvalidPayload", "type": "error" }, | |
{ | |
"inputs": [ | |
{ "internalType": "address", "name": "fromAccount", "type": "address" }, | |
{ "internalType": "address", "name": "toAccount", "type": "address" }, | |
{ "internalType": "uint256", "name": "accountRoles", "type": "uint256" } | |
], | |
"name": "InvalidProposedRoles", | |
"type": "error" | |
}, | |
{ "inputs": [], "name": "LengthMismatch", "type": "error" }, | |
{ | |
"inputs": [ | |
{ "internalType": "address", "name": "account", "type": "address" }, | |
{ "internalType": "uint256", "name": "accountRoles", "type": "uint256" } | |
], | |
"name": "MissingAllRoles", | |
"type": "error" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "address", "name": "account", "type": "address" }, | |
{ "internalType": "uint256", "name": "accountRoles", "type": "uint256" } | |
], | |
"name": "MissingAnyOfRoles", | |
"type": "error" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "address", "name": "account", "type": "address" }, | |
{ "internalType": "uint8", "name": "role", "type": "uint8" } | |
], | |
"name": "MissingRole", | |
"type": "error" | |
}, | |
{ "inputs": [], "name": "MulticallFailed", "type": "error" }, | |
{ "inputs": [], "name": "NotApprovedByGateway", "type": "error" }, | |
{ | |
"inputs": [ | |
{ "internalType": "address", "name": "sender", "type": "address" } | |
], | |
"name": "NotInterchainTokenFactory", | |
"type": "error" | |
}, | |
{ "inputs": [], "name": "NotOwner", "type": "error" }, | |
{ "inputs": [], "name": "NotPaused", "type": "error" }, | |
{ "inputs": [], "name": "NotProxy", "type": "error" }, | |
{ "inputs": [], "name": "NotRemoteService", "type": "error" }, | |
{ "inputs": [], "name": "NotSupported", "type": "error" }, | |
{ "inputs": [], "name": "Pause", "type": "error" }, | |
{ | |
"inputs": [{ "internalType": "bytes", "name": "data", "type": "bytes" }], | |
"name": "PostDeployFailed", | |
"type": "error" | |
}, | |
{ "inputs": [], "name": "SetupFailed", "type": "error" }, | |
{ | |
"inputs": [{ "internalType": "bytes", "name": "data", "type": "bytes" }], | |
"name": "TakeTokenFailed", | |
"type": "error" | |
}, | |
{ | |
"inputs": [{ "internalType": "bytes", "name": "data", "type": "bytes" }], | |
"name": "TokenHandlerFailed", | |
"type": "error" | |
}, | |
{ | |
"inputs": [{ "internalType": "bytes", "name": "error", "type": "bytes" }], | |
"name": "TokenManagerDeploymentFailed", | |
"type": "error" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "bytes32", "name": "tokenId", "type": "bytes32" } | |
], | |
"name": "TokenManagerDoesNotExist", | |
"type": "error" | |
}, | |
{ "inputs": [], "name": "UntrustedChain", "type": "error" }, | |
{ "inputs": [], "name": "ZeroAddress", "type": "error" }, | |
{ "inputs": [], "name": "ZeroAmount", "type": "error" }, | |
{ "inputs": [], "name": "ZeroStringLength", "type": "error" }, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "bytes32", | |
"name": "commandId", | |
"type": "bytes32" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "string", | |
"name": "sourceChain", | |
"type": "string" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "string", | |
"name": "sourceAddress", | |
"type": "string" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "bytes32", | |
"name": "payloadHash", | |
"type": "bytes32" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "expressExecutor", | |
"type": "address" | |
} | |
], | |
"name": "ExpressExecuted", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "bytes32", | |
"name": "commandId", | |
"type": "bytes32" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "string", | |
"name": "sourceChain", | |
"type": "string" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "string", | |
"name": "sourceAddress", | |
"type": "string" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "bytes32", | |
"name": "payloadHash", | |
"type": "bytes32" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "expressExecutor", | |
"type": "address" | |
} | |
], | |
"name": "ExpressExecutionFulfilled", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "bytes32", | |
"name": "tokenId", | |
"type": "bytes32" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "address", | |
"name": "tokenAddress", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "minter", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "string", | |
"name": "name", | |
"type": "string" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "string", | |
"name": "symbol", | |
"type": "string" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint8", | |
"name": "decimals", | |
"type": "uint8" | |
} | |
], | |
"name": "InterchainTokenDeployed", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "bytes32", | |
"name": "tokenId", | |
"type": "bytes32" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "string", | |
"name": "tokenName", | |
"type": "string" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "string", | |
"name": "tokenSymbol", | |
"type": "string" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint8", | |
"name": "tokenDecimals", | |
"type": "uint8" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "bytes", | |
"name": "minter", | |
"type": "bytes" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "string", | |
"name": "destinationChain", | |
"type": "string" | |
} | |
], | |
"name": "InterchainTokenDeploymentStarted", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "bytes32", | |
"name": "tokenId", | |
"type": "bytes32" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "deployer", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "bytes32", | |
"name": "salt", | |
"type": "bytes32" | |
} | |
], | |
"name": "InterchainTokenIdClaimed", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "bytes32", | |
"name": "tokenId", | |
"type": "bytes32" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "sourceAddress", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "string", | |
"name": "destinationChain", | |
"type": "string" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "bytes", | |
"name": "destinationAddress", | |
"type": "bytes" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "amount", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "bytes32", | |
"name": "dataHash", | |
"type": "bytes32" | |
} | |
], | |
"name": "InterchainTransfer", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "bytes32", | |
"name": "commandId", | |
"type": "bytes32" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "bytes32", | |
"name": "tokenId", | |
"type": "bytes32" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "string", | |
"name": "sourceChain", | |
"type": "string" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "bytes", | |
"name": "sourceAddress", | |
"type": "bytes" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "destinationAddress", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "amount", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "bytes32", | |
"name": "dataHash", | |
"type": "bytes32" | |
} | |
], | |
"name": "InterchainTransferReceived", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "bytes32", | |
"name": "tokenId", | |
"type": "bytes32" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "string", | |
"name": "destinationChain", | |
"type": "string" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "bytes", | |
"name": "sourceTokenAddress", | |
"type": "bytes" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "bytes", | |
"name": "destinationTokenAddress", | |
"type": "bytes" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "enum ITokenManagerType.TokenManagerType", | |
"name": "tokenManagerType", | |
"type": "uint8" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "bytes", | |
"name": "params", | |
"type": "bytes" | |
} | |
], | |
"name": "LinkTokenStarted", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "newOwner", | |
"type": "address" | |
} | |
], | |
"name": "OwnershipTransferStarted", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "newOwner", | |
"type": "address" | |
} | |
], | |
"name": "OwnershipTransferred", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "account", | |
"type": "address" | |
} | |
], | |
"name": "Paused", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "account", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "accountRoles", | |
"type": "uint256" | |
} | |
], | |
"name": "RolesAdded", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "fromAccount", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "toAccount", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "accountRoles", | |
"type": "uint256" | |
} | |
], | |
"name": "RolesProposed", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "account", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "accountRoles", | |
"type": "uint256" | |
} | |
], | |
"name": "RolesRemoved", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "bytes32", | |
"name": "tokenId", | |
"type": "bytes32" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "address", | |
"name": "tokenManager", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "enum ITokenManagerType.TokenManagerType", | |
"name": "tokenManagerType", | |
"type": "uint8" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "bytes", | |
"name": "params", | |
"type": "bytes" | |
} | |
], | |
"name": "TokenManagerDeployed", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "tokenAddress", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint8", | |
"name": "decimals", | |
"type": "uint8" | |
} | |
], | |
"name": "TokenMetadataRegistered", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"internalType": "string", | |
"name": "chain", | |
"type": "string" | |
} | |
], | |
"name": "TrustedAddressRemoved", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"internalType": "string", | |
"name": "chain", | |
"type": "string" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "string", | |
"name": "address_", | |
"type": "string" | |
} | |
], | |
"name": "TrustedAddressSet", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "account", | |
"type": "address" | |
} | |
], | |
"name": "Unpaused", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "newImplementation", | |
"type": "address" | |
} | |
], | |
"name": "Upgraded", | |
"type": "event" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "address", "name": "fromOperator", "type": "address" } | |
], | |
"name": "acceptOperatorship", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "acceptOwnership", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "chainName", | |
"outputs": [ | |
{ "internalType": "string", "name": "chainName_", "type": "string" } | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "chainNameHash", | |
"outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "string", "name": "sourceChain", "type": "string" }, | |
{ "internalType": "string", "name": "sourceAddress", "type": "string" }, | |
{ "internalType": "bytes", "name": "payload", "type": "bytes" } | |
], | |
"name": "contractCallValue", | |
"outputs": [ | |
{ "internalType": "address", "name": "", "type": "address" }, | |
{ "internalType": "uint256", "name": "", "type": "uint256" } | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "contractId", | |
"outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], | |
"stateMutability": "pure", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "bytes32", "name": "salt", "type": "bytes32" }, | |
{ | |
"internalType": "string", | |
"name": "destinationChain", | |
"type": "string" | |
}, | |
{ "internalType": "string", "name": "name", "type": "string" }, | |
{ "internalType": "string", "name": "symbol", "type": "string" }, | |
{ "internalType": "uint8", "name": "decimals", "type": "uint8" }, | |
{ "internalType": "bytes", "name": "minter", "type": "bytes" }, | |
{ "internalType": "uint256", "name": "gasValue", "type": "uint256" } | |
], | |
"name": "deployInterchainToken", | |
"outputs": [ | |
{ "internalType": "bytes32", "name": "tokenId", "type": "bytes32" } | |
], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "bytes32", "name": "tokenId", "type": "bytes32" } | |
], | |
"name": "deployedTokenManager", | |
"outputs": [ | |
{ | |
"internalType": "contract ITokenManager", | |
"name": "tokenManager_", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "bytes32", "name": "commandId", "type": "bytes32" }, | |
{ "internalType": "string", "name": "sourceChain", "type": "string" }, | |
{ "internalType": "string", "name": "sourceAddress", "type": "string" }, | |
{ "internalType": "bytes", "name": "payload", "type": "bytes" } | |
], | |
"name": "execute", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "bytes32", "name": "commandId", "type": "bytes32" }, | |
{ "internalType": "string", "name": "sourceChain", "type": "string" }, | |
{ "internalType": "string", "name": "sourceAddress", "type": "string" }, | |
{ "internalType": "bytes", "name": "payload", "type": "bytes" } | |
], | |
"name": "expressExecute", | |
"outputs": [], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "gasService", | |
"outputs": [ | |
{ | |
"internalType": "contract IAxelarGasService", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "gateway", | |
"outputs": [ | |
{ | |
"internalType": "contract IAxelarGateway", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "gatewayCaller", | |
"outputs": [{ "internalType": "address", "name": "", "type": "address" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "bytes32", "name": "commandId", "type": "bytes32" }, | |
{ "internalType": "string", "name": "sourceChain", "type": "string" }, | |
{ "internalType": "string", "name": "sourceAddress", "type": "string" }, | |
{ "internalType": "bytes32", "name": "payloadHash", "type": "bytes32" } | |
], | |
"name": "getExpressExecutor", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "expressExecutor", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "address", "name": "account", "type": "address" }, | |
{ "internalType": "uint8", "name": "role", "type": "uint8" } | |
], | |
"name": "hasRole", | |
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "implementation", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "implementation_", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "bytes32", "name": "tokenId", "type": "bytes32" } | |
], | |
"name": "interchainTokenAddress", | |
"outputs": [ | |
{ "internalType": "address", "name": "tokenAddress", "type": "address" } | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "interchainTokenDeployer", | |
"outputs": [{ "internalType": "address", "name": "", "type": "address" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "interchainTokenFactory", | |
"outputs": [{ "internalType": "address", "name": "", "type": "address" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "address", "name": "sender", "type": "address" }, | |
{ "internalType": "bytes32", "name": "salt", "type": "bytes32" } | |
], | |
"name": "interchainTokenId", | |
"outputs": [ | |
{ "internalType": "bytes32", "name": "tokenId", "type": "bytes32" } | |
], | |
"stateMutability": "pure", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "bytes32", "name": "tokenId", "type": "bytes32" }, | |
{ | |
"internalType": "string", | |
"name": "destinationChain", | |
"type": "string" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "destinationAddress", | |
"type": "bytes" | |
}, | |
{ "internalType": "uint256", "name": "amount", "type": "uint256" }, | |
{ "internalType": "bytes", "name": "metadata", "type": "bytes" }, | |
{ "internalType": "uint256", "name": "gasValue", "type": "uint256" } | |
], | |
"name": "interchainTransfer", | |
"outputs": [], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "address", "name": "addr", "type": "address" } | |
], | |
"name": "isOperator", | |
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "string", "name": "chain", "type": "string" }, | |
{ "internalType": "string", "name": "address_", "type": "string" } | |
], | |
"name": "isTrustedAddress", | |
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "bytes32", "name": "salt", "type": "bytes32" }, | |
{ | |
"internalType": "string", | |
"name": "destinationChain", | |
"type": "string" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "destinationTokenAddress", | |
"type": "bytes" | |
}, | |
{ | |
"internalType": "enum ITokenManagerType.TokenManagerType", | |
"name": "tokenManagerType", | |
"type": "uint8" | |
}, | |
{ "internalType": "bytes", "name": "linkParams", "type": "bytes" }, | |
{ "internalType": "uint256", "name": "gasValue", "type": "uint256" } | |
], | |
"name": "linkToken", | |
"outputs": [ | |
{ "internalType": "bytes32", "name": "tokenId", "type": "bytes32" } | |
], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "bytes32", "name": "tokenId", "type": "bytes32" } | |
], | |
"name": "migrateInterchainToken", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "bytes[]", "name": "data", "type": "bytes[]" } | |
], | |
"name": "multicall", | |
"outputs": [ | |
{ "internalType": "bytes[]", "name": "results", "type": "bytes[]" } | |
], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "owner", | |
"outputs": [ | |
{ "internalType": "address", "name": "owner_", "type": "address" } | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "paused", | |
"outputs": [{ "internalType": "bool", "name": "paused_", "type": "bool" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "pendingOwner", | |
"outputs": [ | |
{ "internalType": "address", "name": "owner_", "type": "address" } | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "address", "name": "operator", "type": "address" } | |
], | |
"name": "proposeOperatorship", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "address", "name": "newOwner", "type": "address" } | |
], | |
"name": "proposeOwnership", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "bytes32", "name": "salt", "type": "bytes32" }, | |
{ "internalType": "address", "name": "tokenAddress", "type": "address" }, | |
{ | |
"internalType": "enum ITokenManagerType.TokenManagerType", | |
"name": "tokenManagerType", | |
"type": "uint8" | |
}, | |
{ "internalType": "bytes", "name": "linkParams", "type": "bytes" } | |
], | |
"name": "registerCustomToken", | |
"outputs": [ | |
{ "internalType": "bytes32", "name": "tokenId", "type": "bytes32" } | |
], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "address", "name": "tokenAddress", "type": "address" }, | |
{ "internalType": "uint256", "name": "gasValue", "type": "uint256" } | |
], | |
"name": "registerTokenMetadata", | |
"outputs": [], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "bytes32", "name": "tokenId", "type": "bytes32" } | |
], | |
"name": "registeredTokenAddress", | |
"outputs": [ | |
{ "internalType": "address", "name": "tokenAddress", "type": "address" } | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [{ "internalType": "string", "name": "chain", "type": "string" }], | |
"name": "removeTrustedAddress", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "bytes32[]", "name": "tokenIds", "type": "bytes32[]" }, | |
{ "internalType": "uint256[]", "name": "flowLimits", "type": "uint256[]" } | |
], | |
"name": "setFlowLimits", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [{ "internalType": "bool", "name": "paused", "type": "bool" }], | |
"name": "setPauseStatus", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "string", "name": "chain", "type": "string" }, | |
{ "internalType": "string", "name": "address_", "type": "string" } | |
], | |
"name": "setTrustedAddress", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [{ "internalType": "bytes", "name": "data", "type": "bytes" }], | |
"name": "setup", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "tokenHandler", | |
"outputs": [{ "internalType": "address", "name": "", "type": "address" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "tokenManager", | |
"outputs": [{ "internalType": "address", "name": "", "type": "address" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "bytes32", "name": "tokenId", "type": "bytes32" } | |
], | |
"name": "tokenManagerAddress", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "tokenManagerAddress_", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "tokenManagerDeployer", | |
"outputs": [{ "internalType": "address", "name": "", "type": "address" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | |
"name": "tokenManagerImplementation", | |
"outputs": [{ "internalType": "address", "name": "", "type": "address" }], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "address", "name": "operator", "type": "address" } | |
], | |
"name": "transferOperatorship", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "address", "name": "newOwner", "type": "address" } | |
], | |
"name": "transferOwnership", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ "internalType": "bytes32", "name": "tokenId", "type": "bytes32" }, | |
{ "internalType": "address", "name": "sourceAddress", "type": "address" }, | |
{ | |
"internalType": "string", | |
"name": "destinationChain", | |
"type": "string" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "destinationAddress", | |
"type": "bytes" | |
}, | |
{ "internalType": "uint256", "name": "amount", "type": "uint256" }, | |
{ "internalType": "bytes", "name": "metadata", "type": "bytes" } | |
], | |
"name": "transmitInterchainTransfer", | |
"outputs": [], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [{ "internalType": "string", "name": "chain", "type": "string" }], | |
"name": "trustedAddress", | |
"outputs": [ | |
{ "internalType": "string", "name": "trustedAddress_", "type": "string" } | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [{ "internalType": "string", "name": "chain", "type": "string" }], | |
"name": "trustedAddressHash", | |
"outputs": [ | |
{ | |
"internalType": "bytes32", | |
"name": "trustedAddressHash_", | |
"type": "bytes32" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "newImplementation", | |
"type": "address" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "newImplementationCodeHash", | |
"type": "bytes32" | |
}, | |
{ "internalType": "bytes", "name": "params", "type": "bytes" } | |
], | |
"name": "upgrade", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment