Skip to content

Instantly share code, notes, and snippets.

@Olanetsoft
Last active February 27, 2024 12:35
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Olanetsoft/2a632784e6753d34ca7ffc4f73bf58ed to your computer and use it in GitHub Desktop.
Save Olanetsoft/2a632784e6753d34ca7ffc4f73bf58ed to your computer and use it in GitHub Desktop.
Interchain Token Service ABI
[
{
"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" }
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{ "inputs": [], "name": "AlreadyExecuted", "type": "error" },
{ "inputs": [], "name": "EmptyData", "type": "error" },
{
"inputs": [
{
"internalType": "address",
"name": "contractAddress",
"type": "address"
}
],
"name": "ExecuteWithInterchainTokenFailed",
"type": "error"
},
{ "inputs": [], "name": "ExecuteWithTokenNotSupported", "type": "error" },
{
"inputs": [
{
"internalType": "address",
"name": "contractAddress",
"type": "address"
}
],
"name": "ExpressExecuteWithInterchainTokenFailed",
"type": "error"
},
{ "inputs": [], "name": "ExpressExecutorAlreadySet", "type": "error" },
{ "inputs": [], "name": "GatewayToken", "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": [
{ "internalType": "address", "name": "fromAccount", "type": "address" },
{ "internalType": "address", "name": "toAccount", "type": "address" },
{ "internalType": "uint256", "name": "accountRoles", "type": "uint256" }
],
"name": "InvalidProposedRoles",
"type": "error"
},
{
"inputs": [
{ "internalType": "address", "name": "implementation", "type": "address" }
],
"name": "InvalidTokenManagerImplementationType",
"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": [], "name": "NotOwner", "type": "error" },
{ "inputs": [], "name": "NotPaused", "type": "error" },
{ "inputs": [], "name": "NotProxy", "type": "error" },
{ "inputs": [], "name": "NotRemoteService", "type": "error" },
{
"inputs": [
{ "internalType": "address", "name": "caller", "type": "address" },
{ "internalType": "address", "name": "token", "type": "address" }
],
"name": "NotToken",
"type": "error"
},
{ "inputs": [], "name": "Pause", "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": "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": false,
"internalType": "string",
"name": "symbol",
"type": "string"
},
{
"indexed": true,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"indexed": true,
"internalType": "address",
"name": "expressExecutor",
"type": "address"
}
],
"name": "ExpressExecutedWithToken",
"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": "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": false,
"internalType": "string",
"name": "symbol",
"type": "string"
},
{
"indexed": true,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"indexed": true,
"internalType": "address",
"name": "expressExecutor",
"type": "address"
}
],
"name": "ExpressExecutionWithTokenFulfilled",
"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": "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": "bytes32",
"name": "tokenId",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "string",
"name": "destinationChain",
"type": "string"
},
{
"indexed": true,
"internalType": "enum ITokenManagerType.TokenManagerType",
"name": "tokenManagerType",
"type": "uint8"
},
{
"indexed": false,
"internalType": "bytes",
"name": "params",
"type": "bytes"
}
],
"name": "TokenManagerDeploymentStarted",
"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": [
{ "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": "data", "type": "bytes" },
{ "internalType": "uint256", "name": "gasValue", "type": "uint256" }
],
"name": "callContractWithInterchainToken",
"outputs": [],
"stateMutability": "payable",
"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": [
{ "internalType": "string", "name": "", "type": "string" },
{ "internalType": "string", "name": "", "type": "string" },
{ "internalType": "bytes", "name": "", "type": "bytes" },
{ "internalType": "string", "name": "", "type": "string" },
{ "internalType": "uint256", "name": "", "type": "uint256" }
],
"name": "contractCallWithTokenValue",
"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": "salt", "type": "bytes32" },
{
"internalType": "string",
"name": "destinationChain",
"type": "string"
},
{
"internalType": "enum ITokenManagerType.TokenManagerType",
"name": "tokenManagerType",
"type": "uint8"
},
{ "internalType": "bytes", "name": "params", "type": "bytes" },
{ "internalType": "uint256", "name": "gasValue", "type": "uint256" }
],
"name": "deployTokenManager",
"outputs": [
{ "internalType": "bytes32", "name": "tokenId", "type": "bytes32" }
],
"stateMutability": "payable",
"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": "", "type": "bytes32" },
{ "internalType": "string", "name": "", "type": "string" },
{ "internalType": "string", "name": "", "type": "string" },
{ "internalType": "bytes", "name": "", "type": "bytes" },
{ "internalType": "string", "name": "", "type": "string" },
{ "internalType": "uint256", "name": "", "type": "uint256" }
],
"name": "executeWithToken",
"outputs": [],
"stateMutability": "pure",
"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": [
{ "internalType": "bytes32", "name": "", "type": "bytes32" },
{ "internalType": "string", "name": "", "type": "string" },
{ "internalType": "string", "name": "", "type": "string" },
{ "internalType": "bytes", "name": "", "type": "bytes" },
{ "internalType": "string", "name": "", "type": "string" },
{ "internalType": "uint256", "name": "", "type": "uint256" }
],
"name": "expressExecuteWithToken",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{ "internalType": "bytes32", "name": "tokenId", "type": "bytes32" }
],
"name": "flowInAmount",
"outputs": [
{ "internalType": "uint256", "name": "flowInAmount_", "type": "uint256" }
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{ "internalType": "bytes32", "name": "tokenId", "type": "bytes32" }
],
"name": "flowLimit",
"outputs": [
{ "internalType": "uint256", "name": "flowLimit_", "type": "uint256" }
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{ "internalType": "bytes32", "name": "tokenId", "type": "bytes32" }
],
"name": "flowOutAmount",
"outputs": [
{ "internalType": "uint256", "name": "flowOutAmount_", "type": "uint256" }
],
"stateMutability": "view",
"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": [
{ "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": "bytes32", "name": "commandId", "type": "bytes32" },
{ "internalType": "string", "name": "sourceChain", "type": "string" },
{ "internalType": "string", "name": "sourceAddress", "type": "string" },
{ "internalType": "bytes32", "name": "payloadHash", "type": "bytes32" },
{ "internalType": "string", "name": "symbol", "type": "string" },
{ "internalType": "uint256", "name": "amount", "type": "uint256" }
],
"name": "getExpressExecutorWithToken",
"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": "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": "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"
},
{
"inputs": [
{ "internalType": "bytes32", "name": "tokenId", "type": "bytes32" }
],
"name": "validTokenAddress",
"outputs": [
{ "internalType": "address", "name": "tokenAddress", "type": "address" }
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{ "internalType": "bytes32", "name": "tokenId", "type": "bytes32" }
],
"name": "validTokenManagerAddress",
"outputs": [
{
"internalType": "address",
"name": "tokenManagerAddress_",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment