/** * This file was generated by scripts/codegen.ts * * Original abi file: * - node_modules/@axelar-network/interchain-token-service/artifacts/contracts/InterchainTokenService.sol/InterchainTokenService.json * * DO NOT EDIT MANUALLY */ import type { PublicContractClient } from "../../PublicContractClient"; import ABI_FILE from "./InterchainTokenService.abi"; export type InterchainTokenServiceAcceptOperatorshipArgs = { fromOperator: `0x${string}`; }; /** * Factory function for InterchainTokenService.acceptOperatorship function args */ export declare const encodeInterchainTokenServiceAcceptOperatorshipArgs: ({ fromOperator, }: InterchainTokenServiceAcceptOperatorshipArgs) => readonly [`0x${string}`]; /** * Encoder function for InterchainTokenService.acceptOperatorship function data */ export declare const encodeInterchainTokenServiceAcceptOperatorshipData: ({ fromOperator, }: InterchainTokenServiceAcceptOperatorshipArgs) => `0x${string}`; export type InterchainTokenServiceCallContractWithInterchainTokenArgs = { tokenId: `0x${string}`; destinationChain: string; destinationAddress: `0x${string}`; amount: bigint; data: `0x${string}`; gasValue: bigint; }; /** * Factory function for InterchainTokenService.callContractWithInterchainToken function args */ export declare const encodeInterchainTokenServiceCallContractWithInterchainTokenArgs: ({ tokenId, destinationChain, destinationAddress, amount, data, gasValue, }: InterchainTokenServiceCallContractWithInterchainTokenArgs) => readonly [`0x${string}`, string, `0x${string}`, bigint, `0x${string}`, bigint]; /** * Encoder function for InterchainTokenService.callContractWithInterchainToken function data */ export declare const encodeInterchainTokenServiceCallContractWithInterchainTokenData: ({ tokenId, destinationChain, destinationAddress, amount, data, gasValue, }: InterchainTokenServiceCallContractWithInterchainTokenArgs) => `0x${string}`; export type InterchainTokenServiceContractCallValueArgs = { sourceChain: string; sourceAddress: string; payload: `0x${string}`; }; /** * Factory function for InterchainTokenService.contractCallValue function args */ export declare const encodeInterchainTokenServiceContractCallValueArgs: ({ sourceChain, sourceAddress, payload, }: InterchainTokenServiceContractCallValueArgs) => readonly [string, string, `0x${string}`]; /** * Encoder function for InterchainTokenService.contractCallValue function data */ export declare const encodeInterchainTokenServiceContractCallValueData: ({ sourceChain, sourceAddress, payload, }: InterchainTokenServiceContractCallValueArgs) => `0x${string}`; export type InterchainTokenServiceContractCallWithTokenValueArgs = { contractCallWithTokenValueArg0: string; contractCallWithTokenValueArg1: string; contractCallWithTokenValueArg2: `0x${string}`; contractCallWithTokenValueArg3: string; contractCallWithTokenValueArg4: bigint; }; /** * Factory function for InterchainTokenService.contractCallWithTokenValue function args */ export declare const encodeInterchainTokenServiceContractCallWithTokenValueArgs: ({ contractCallWithTokenValueArg0, contractCallWithTokenValueArg1, contractCallWithTokenValueArg2, contractCallWithTokenValueArg3, contractCallWithTokenValueArg4, }: InterchainTokenServiceContractCallWithTokenValueArgs) => readonly [string, string, `0x${string}`, string, bigint]; /** * Encoder function for InterchainTokenService.contractCallWithTokenValue function data */ export declare const encodeInterchainTokenServiceContractCallWithTokenValueData: ({ contractCallWithTokenValueArg0, contractCallWithTokenValueArg1, contractCallWithTokenValueArg2, contractCallWithTokenValueArg3, contractCallWithTokenValueArg4, }: InterchainTokenServiceContractCallWithTokenValueArgs) => `0x${string}`; export type InterchainTokenServiceDeployInterchainTokenArgs = { salt: `0x${string}`; destinationChain: string; name: string; symbol: string; decimals: number; minter: `0x${string}`; gasValue: bigint; }; /** * Factory function for InterchainTokenService.deployInterchainToken function args */ export declare const encodeInterchainTokenServiceDeployInterchainTokenArgs: ({ salt, destinationChain, name, symbol, decimals, minter, gasValue, }: InterchainTokenServiceDeployInterchainTokenArgs) => readonly [`0x${string}`, string, string, string, number, `0x${string}`, bigint]; /** * Encoder function for InterchainTokenService.deployInterchainToken function data */ export declare const encodeInterchainTokenServiceDeployInterchainTokenData: ({ salt, destinationChain, name, symbol, decimals, minter, gasValue, }: InterchainTokenServiceDeployInterchainTokenArgs) => `0x${string}`; export type InterchainTokenServiceDeployTokenManagerArgs = { salt: `0x${string}`; destinationChain: string; tokenManagerType: number; params: `0x${string}`; gasValue: bigint; }; /** * Factory function for InterchainTokenService.deployTokenManager function args */ export declare const encodeInterchainTokenServiceDeployTokenManagerArgs: ({ salt, destinationChain, tokenManagerType, params, gasValue, }: InterchainTokenServiceDeployTokenManagerArgs) => readonly [`0x${string}`, string, number, `0x${string}`, bigint]; /** * Encoder function for InterchainTokenService.deployTokenManager function data */ export declare const encodeInterchainTokenServiceDeployTokenManagerData: ({ salt, destinationChain, tokenManagerType, params, gasValue, }: InterchainTokenServiceDeployTokenManagerArgs) => `0x${string}`; export type InterchainTokenServiceExecuteArgs = { commandId: `0x${string}`; sourceChain: string; sourceAddress: string; payload: `0x${string}`; }; /** * Factory function for InterchainTokenService.execute function args */ export declare const encodeInterchainTokenServiceExecuteArgs: ({ commandId, sourceChain, sourceAddress, payload, }: InterchainTokenServiceExecuteArgs) => readonly [`0x${string}`, string, string, `0x${string}`]; /** * Encoder function for InterchainTokenService.execute function data */ export declare const encodeInterchainTokenServiceExecuteData: ({ commandId, sourceChain, sourceAddress, payload, }: InterchainTokenServiceExecuteArgs) => `0x${string}`; export type InterchainTokenServiceExecuteWithTokenArgs = { executeWithTokenArg0: `0x${string}`; executeWithTokenArg1: string; executeWithTokenArg2: string; executeWithTokenArg3: `0x${string}`; executeWithTokenArg4: string; executeWithTokenArg5: bigint; }; /** * Factory function for InterchainTokenService.executeWithToken function args */ export declare const encodeInterchainTokenServiceExecuteWithTokenArgs: ({ executeWithTokenArg0, executeWithTokenArg1, executeWithTokenArg2, executeWithTokenArg3, executeWithTokenArg4, executeWithTokenArg5, }: InterchainTokenServiceExecuteWithTokenArgs) => readonly [`0x${string}`, string, string, `0x${string}`, string, bigint]; /** * Encoder function for InterchainTokenService.executeWithToken function data */ export declare const encodeInterchainTokenServiceExecuteWithTokenData: ({ executeWithTokenArg0, executeWithTokenArg1, executeWithTokenArg2, executeWithTokenArg3, executeWithTokenArg4, executeWithTokenArg5, }: InterchainTokenServiceExecuteWithTokenArgs) => `0x${string}`; export type InterchainTokenServiceExpressExecuteArgs = { commandId: `0x${string}`; sourceChain: string; sourceAddress: string; payload: `0x${string}`; }; /** * Factory function for InterchainTokenService.expressExecute function args */ export declare const encodeInterchainTokenServiceExpressExecuteArgs: ({ commandId, sourceChain, sourceAddress, payload, }: InterchainTokenServiceExpressExecuteArgs) => readonly [`0x${string}`, string, string, `0x${string}`]; /** * Encoder function for InterchainTokenService.expressExecute function data */ export declare const encodeInterchainTokenServiceExpressExecuteData: ({ commandId, sourceChain, sourceAddress, payload, }: InterchainTokenServiceExpressExecuteArgs) => `0x${string}`; export type InterchainTokenServiceExpressExecuteWithTokenArgs = { expressExecuteWithTokenArg0: `0x${string}`; expressExecuteWithTokenArg1: string; expressExecuteWithTokenArg2: string; expressExecuteWithTokenArg3: `0x${string}`; expressExecuteWithTokenArg4: string; expressExecuteWithTokenArg5: bigint; }; /** * Factory function for InterchainTokenService.expressExecuteWithToken function args */ export declare const encodeInterchainTokenServiceExpressExecuteWithTokenArgs: ({ expressExecuteWithTokenArg0, expressExecuteWithTokenArg1, expressExecuteWithTokenArg2, expressExecuteWithTokenArg3, expressExecuteWithTokenArg4, expressExecuteWithTokenArg5, }: InterchainTokenServiceExpressExecuteWithTokenArgs) => readonly [`0x${string}`, string, string, `0x${string}`, string, bigint]; /** * Encoder function for InterchainTokenService.expressExecuteWithToken function data */ export declare const encodeInterchainTokenServiceExpressExecuteWithTokenData: ({ expressExecuteWithTokenArg0, expressExecuteWithTokenArg1, expressExecuteWithTokenArg2, expressExecuteWithTokenArg3, expressExecuteWithTokenArg4, expressExecuteWithTokenArg5, }: InterchainTokenServiceExpressExecuteWithTokenArgs) => `0x${string}`; export type InterchainTokenServiceFlowInAmountArgs = { tokenId: `0x${string}`; }; /** * Factory function for InterchainTokenService.flowInAmount function args */ export declare const encodeInterchainTokenServiceFlowInAmountArgs: ({ tokenId, }: InterchainTokenServiceFlowInAmountArgs) => readonly [`0x${string}`]; /** * Encoder function for InterchainTokenService.flowInAmount function data */ export declare const encodeInterchainTokenServiceFlowInAmountData: ({ tokenId, }: InterchainTokenServiceFlowInAmountArgs) => `0x${string}`; export type InterchainTokenServiceFlowLimitArgs = { tokenId: `0x${string}`; }; /** * Factory function for InterchainTokenService.flowLimit function args */ export declare const encodeInterchainTokenServiceFlowLimitArgs: ({ tokenId, }: InterchainTokenServiceFlowLimitArgs) => readonly [`0x${string}`]; /** * Encoder function for InterchainTokenService.flowLimit function data */ export declare const encodeInterchainTokenServiceFlowLimitData: ({ tokenId, }: InterchainTokenServiceFlowLimitArgs) => `0x${string}`; export type InterchainTokenServiceFlowOutAmountArgs = { tokenId: `0x${string}`; }; /** * Factory function for InterchainTokenService.flowOutAmount function args */ export declare const encodeInterchainTokenServiceFlowOutAmountArgs: ({ tokenId, }: InterchainTokenServiceFlowOutAmountArgs) => readonly [`0x${string}`]; /** * Encoder function for InterchainTokenService.flowOutAmount function data */ export declare const encodeInterchainTokenServiceFlowOutAmountData: ({ tokenId, }: InterchainTokenServiceFlowOutAmountArgs) => `0x${string}`; export type InterchainTokenServiceGetExpressExecutorArgs = { commandId: `0x${string}`; sourceChain: string; sourceAddress: string; payloadHash: `0x${string}`; }; /** * Factory function for InterchainTokenService.getExpressExecutor function args */ export declare const encodeInterchainTokenServiceGetExpressExecutorArgs: ({ commandId, sourceChain, sourceAddress, payloadHash, }: InterchainTokenServiceGetExpressExecutorArgs) => readonly [`0x${string}`, string, string, `0x${string}`]; /** * Encoder function for InterchainTokenService.getExpressExecutor function data */ export declare const encodeInterchainTokenServiceGetExpressExecutorData: ({ commandId, sourceChain, sourceAddress, payloadHash, }: InterchainTokenServiceGetExpressExecutorArgs) => `0x${string}`; export type InterchainTokenServiceGetExpressExecutorWithTokenArgs = { commandId: `0x${string}`; sourceChain: string; sourceAddress: string; payloadHash: `0x${string}`; symbol: string; amount: bigint; }; /** * Factory function for InterchainTokenService.getExpressExecutorWithToken function args */ export declare const encodeInterchainTokenServiceGetExpressExecutorWithTokenArgs: ({ commandId, sourceChain, sourceAddress, payloadHash, symbol, amount, }: InterchainTokenServiceGetExpressExecutorWithTokenArgs) => readonly [`0x${string}`, string, string, `0x${string}`, string, bigint]; /** * Encoder function for InterchainTokenService.getExpressExecutorWithToken function data */ export declare const encodeInterchainTokenServiceGetExpressExecutorWithTokenData: ({ commandId, sourceChain, sourceAddress, payloadHash, symbol, amount, }: InterchainTokenServiceGetExpressExecutorWithTokenArgs) => `0x${string}`; export type InterchainTokenServiceHasRoleArgs = { account: `0x${string}`; role: number; }; /** * Factory function for InterchainTokenService.hasRole function args */ export declare const encodeInterchainTokenServiceHasRoleArgs: ({ account, role, }: InterchainTokenServiceHasRoleArgs) => readonly [`0x${string}`, number]; /** * Encoder function for InterchainTokenService.hasRole function data */ export declare const encodeInterchainTokenServiceHasRoleData: ({ account, role, }: InterchainTokenServiceHasRoleArgs) => `0x${string}`; export type InterchainTokenServiceInterchainTokenAddressArgs = { tokenId: `0x${string}`; }; /** * Factory function for InterchainTokenService.interchainTokenAddress function args */ export declare const encodeInterchainTokenServiceInterchainTokenAddressArgs: ({ tokenId, }: InterchainTokenServiceInterchainTokenAddressArgs) => readonly [`0x${string}`]; /** * Encoder function for InterchainTokenService.interchainTokenAddress function data */ export declare const encodeInterchainTokenServiceInterchainTokenAddressData: ({ tokenId, }: InterchainTokenServiceInterchainTokenAddressArgs) => `0x${string}`; export type InterchainTokenServiceInterchainTokenIdArgs = { sender: `0x${string}`; salt: `0x${string}`; }; /** * Factory function for InterchainTokenService.interchainTokenId function args */ export declare const encodeInterchainTokenServiceInterchainTokenIdArgs: ({ sender, salt, }: InterchainTokenServiceInterchainTokenIdArgs) => readonly [`0x${string}`, `0x${string}`]; /** * Encoder function for InterchainTokenService.interchainTokenId function data */ export declare const encodeInterchainTokenServiceInterchainTokenIdData: ({ sender, salt, }: InterchainTokenServiceInterchainTokenIdArgs) => `0x${string}`; export type InterchainTokenServiceInterchainTransferArgs = { tokenId: `0x${string}`; destinationChain: string; destinationAddress: `0x${string}`; amount: bigint; metadata: `0x${string}`; gasValue: bigint; }; /** * Factory function for InterchainTokenService.interchainTransfer function args */ export declare const encodeInterchainTokenServiceInterchainTransferArgs: ({ tokenId, destinationChain, destinationAddress, amount, metadata, gasValue, }: InterchainTokenServiceInterchainTransferArgs) => readonly [`0x${string}`, string, `0x${string}`, bigint, `0x${string}`, bigint]; /** * Encoder function for InterchainTokenService.interchainTransfer function data */ export declare const encodeInterchainTokenServiceInterchainTransferData: ({ tokenId, destinationChain, destinationAddress, amount, metadata, gasValue, }: InterchainTokenServiceInterchainTransferArgs) => `0x${string}`; export type InterchainTokenServiceIsOperatorArgs = { addr: `0x${string}`; }; /** * Factory function for InterchainTokenService.isOperator function args */ export declare const encodeInterchainTokenServiceIsOperatorArgs: ({ addr, }: InterchainTokenServiceIsOperatorArgs) => readonly [`0x${string}`]; /** * Encoder function for InterchainTokenService.isOperator function data */ export declare const encodeInterchainTokenServiceIsOperatorData: ({ addr, }: InterchainTokenServiceIsOperatorArgs) => `0x${string}`; export type InterchainTokenServiceIsTrustedAddressArgs = { chain: string; address_: string; }; /** * Factory function for InterchainTokenService.isTrustedAddress function args */ export declare const encodeInterchainTokenServiceIsTrustedAddressArgs: ({ chain, address_, }: InterchainTokenServiceIsTrustedAddressArgs) => readonly [string, string]; /** * Encoder function for InterchainTokenService.isTrustedAddress function data */ export declare const encodeInterchainTokenServiceIsTrustedAddressData: ({ chain, address_, }: InterchainTokenServiceIsTrustedAddressArgs) => `0x${string}`; export type InterchainTokenServiceMulticallArgs = { data: any; }; /** * Factory function for InterchainTokenService.multicall function args */ export declare const encodeInterchainTokenServiceMulticallArgs: ({ data, }: InterchainTokenServiceMulticallArgs) => readonly [any]; /** * Encoder function for InterchainTokenService.multicall function data */ export declare const encodeInterchainTokenServiceMulticallData: ({ data, }: InterchainTokenServiceMulticallArgs) => `0x${string}`; export type InterchainTokenServiceProposeOperatorshipArgs = { operator: `0x${string}`; }; /** * Factory function for InterchainTokenService.proposeOperatorship function args */ export declare const encodeInterchainTokenServiceProposeOperatorshipArgs: ({ operator, }: InterchainTokenServiceProposeOperatorshipArgs) => readonly [`0x${string}`]; /** * Encoder function for InterchainTokenService.proposeOperatorship function data */ export declare const encodeInterchainTokenServiceProposeOperatorshipData: ({ operator, }: InterchainTokenServiceProposeOperatorshipArgs) => `0x${string}`; export type InterchainTokenServiceProposeOwnershipArgs = { newOwner: `0x${string}`; }; /** * Factory function for InterchainTokenService.proposeOwnership function args */ export declare const encodeInterchainTokenServiceProposeOwnershipArgs: ({ newOwner, }: InterchainTokenServiceProposeOwnershipArgs) => readonly [`0x${string}`]; /** * Encoder function for InterchainTokenService.proposeOwnership function data */ export declare const encodeInterchainTokenServiceProposeOwnershipData: ({ newOwner, }: InterchainTokenServiceProposeOwnershipArgs) => `0x${string}`; export type InterchainTokenServiceRemoveTrustedAddressArgs = { chain: string; }; /** * Factory function for InterchainTokenService.removeTrustedAddress function args */ export declare const encodeInterchainTokenServiceRemoveTrustedAddressArgs: ({ chain, }: InterchainTokenServiceRemoveTrustedAddressArgs) => readonly [string]; /** * Encoder function for InterchainTokenService.removeTrustedAddress function data */ export declare const encodeInterchainTokenServiceRemoveTrustedAddressData: ({ chain, }: InterchainTokenServiceRemoveTrustedAddressArgs) => `0x${string}`; export type InterchainTokenServiceSetFlowLimitsArgs = { tokenIds: any; flowLimits: any; }; /** * Factory function for InterchainTokenService.setFlowLimits function args */ export declare const encodeInterchainTokenServiceSetFlowLimitsArgs: ({ tokenIds, flowLimits, }: InterchainTokenServiceSetFlowLimitsArgs) => readonly [any, any]; /** * Encoder function for InterchainTokenService.setFlowLimits function data */ export declare const encodeInterchainTokenServiceSetFlowLimitsData: ({ tokenIds, flowLimits, }: InterchainTokenServiceSetFlowLimitsArgs) => `0x${string}`; export type InterchainTokenServiceSetPauseStatusArgs = { paused: boolean; }; /** * Factory function for InterchainTokenService.setPauseStatus function args */ export declare const encodeInterchainTokenServiceSetPauseStatusArgs: ({ paused, }: InterchainTokenServiceSetPauseStatusArgs) => readonly [boolean]; /** * Encoder function for InterchainTokenService.setPauseStatus function data */ export declare const encodeInterchainTokenServiceSetPauseStatusData: ({ paused, }: InterchainTokenServiceSetPauseStatusArgs) => `0x${string}`; export type InterchainTokenServiceSetTrustedAddressArgs = { chain: string; address_: string; }; /** * Factory function for InterchainTokenService.setTrustedAddress function args */ export declare const encodeInterchainTokenServiceSetTrustedAddressArgs: ({ chain, address_, }: InterchainTokenServiceSetTrustedAddressArgs) => readonly [string, string]; /** * Encoder function for InterchainTokenService.setTrustedAddress function data */ export declare const encodeInterchainTokenServiceSetTrustedAddressData: ({ chain, address_, }: InterchainTokenServiceSetTrustedAddressArgs) => `0x${string}`; export type InterchainTokenServiceSetupArgs = { data: `0x${string}`; }; /** * Factory function for InterchainTokenService.setup function args */ export declare const encodeInterchainTokenServiceSetupArgs: ({ data, }: InterchainTokenServiceSetupArgs) => readonly [`0x${string}`]; /** * Encoder function for InterchainTokenService.setup function data */ export declare const encodeInterchainTokenServiceSetupData: ({ data, }: InterchainTokenServiceSetupArgs) => `0x${string}`; export type InterchainTokenServiceTokenManagerAddressArgs = { tokenId: `0x${string}`; }; /** * Factory function for InterchainTokenService.tokenManagerAddress function args */ export declare const encodeInterchainTokenServiceTokenManagerAddressArgs: ({ tokenId, }: InterchainTokenServiceTokenManagerAddressArgs) => readonly [`0x${string}`]; /** * Encoder function for InterchainTokenService.tokenManagerAddress function data */ export declare const encodeInterchainTokenServiceTokenManagerAddressData: ({ tokenId, }: InterchainTokenServiceTokenManagerAddressArgs) => `0x${string}`; export type InterchainTokenServiceTokenManagerImplementationArgs = { tokenManagerImplementationArg0: bigint; }; /** * Factory function for InterchainTokenService.tokenManagerImplementation function args */ export declare const encodeInterchainTokenServiceTokenManagerImplementationArgs: ({ tokenManagerImplementationArg0, }: InterchainTokenServiceTokenManagerImplementationArgs) => readonly [bigint]; /** * Encoder function for InterchainTokenService.tokenManagerImplementation function data */ export declare const encodeInterchainTokenServiceTokenManagerImplementationData: ({ tokenManagerImplementationArg0, }: InterchainTokenServiceTokenManagerImplementationArgs) => `0x${string}`; export type InterchainTokenServiceTransferOperatorshipArgs = { operator: `0x${string}`; }; /** * Factory function for InterchainTokenService.transferOperatorship function args */ export declare const encodeInterchainTokenServiceTransferOperatorshipArgs: ({ operator, }: InterchainTokenServiceTransferOperatorshipArgs) => readonly [`0x${string}`]; /** * Encoder function for InterchainTokenService.transferOperatorship function data */ export declare const encodeInterchainTokenServiceTransferOperatorshipData: ({ operator, }: InterchainTokenServiceTransferOperatorshipArgs) => `0x${string}`; export type InterchainTokenServiceTransferOwnershipArgs = { newOwner: `0x${string}`; }; /** * Factory function for InterchainTokenService.transferOwnership function args */ export declare const encodeInterchainTokenServiceTransferOwnershipArgs: ({ newOwner, }: InterchainTokenServiceTransferOwnershipArgs) => readonly [`0x${string}`]; /** * Encoder function for InterchainTokenService.transferOwnership function data */ export declare const encodeInterchainTokenServiceTransferOwnershipData: ({ newOwner, }: InterchainTokenServiceTransferOwnershipArgs) => `0x${string}`; export type InterchainTokenServiceTransmitInterchainTransferArgs = { tokenId: `0x${string}`; sourceAddress: `0x${string}`; destinationChain: string; destinationAddress: `0x${string}`; amount: bigint; metadata: `0x${string}`; }; /** * Factory function for InterchainTokenService.transmitInterchainTransfer function args */ export declare const encodeInterchainTokenServiceTransmitInterchainTransferArgs: ({ tokenId, sourceAddress, destinationChain, destinationAddress, amount, metadata, }: InterchainTokenServiceTransmitInterchainTransferArgs) => readonly [`0x${string}`, `0x${string}`, string, `0x${string}`, bigint, `0x${string}`]; /** * Encoder function for InterchainTokenService.transmitInterchainTransfer function data */ export declare const encodeInterchainTokenServiceTransmitInterchainTransferData: ({ tokenId, sourceAddress, destinationChain, destinationAddress, amount, metadata, }: InterchainTokenServiceTransmitInterchainTransferArgs) => `0x${string}`; export type InterchainTokenServiceTrustedAddressArgs = { chain: string; }; /** * Factory function for InterchainTokenService.trustedAddress function args */ export declare const encodeInterchainTokenServiceTrustedAddressArgs: ({ chain, }: InterchainTokenServiceTrustedAddressArgs) => readonly [string]; /** * Encoder function for InterchainTokenService.trustedAddress function data */ export declare const encodeInterchainTokenServiceTrustedAddressData: ({ chain, }: InterchainTokenServiceTrustedAddressArgs) => `0x${string}`; export type InterchainTokenServiceTrustedAddressHashArgs = { chain: string; }; /** * Factory function for InterchainTokenService.trustedAddressHash function args */ export declare const encodeInterchainTokenServiceTrustedAddressHashArgs: ({ chain, }: InterchainTokenServiceTrustedAddressHashArgs) => readonly [string]; /** * Encoder function for InterchainTokenService.trustedAddressHash function data */ export declare const encodeInterchainTokenServiceTrustedAddressHashData: ({ chain, }: InterchainTokenServiceTrustedAddressHashArgs) => `0x${string}`; export type InterchainTokenServiceUpgradeArgs = { newImplementation: `0x${string}`; newImplementationCodeHash: `0x${string}`; params: `0x${string}`; }; /** * Factory function for InterchainTokenService.upgrade function args */ export declare const encodeInterchainTokenServiceUpgradeArgs: ({ newImplementation, newImplementationCodeHash, params, }: InterchainTokenServiceUpgradeArgs) => readonly [`0x${string}`, `0x${string}`, `0x${string}`]; /** * Encoder function for InterchainTokenService.upgrade function data */ export declare const encodeInterchainTokenServiceUpgradeData: ({ newImplementation, newImplementationCodeHash, params, }: InterchainTokenServiceUpgradeArgs) => `0x${string}`; export type InterchainTokenServiceValidTokenAddressArgs = { tokenId: `0x${string}`; }; /** * Factory function for InterchainTokenService.validTokenAddress function args */ export declare const encodeInterchainTokenServiceValidTokenAddressArgs: ({ tokenId, }: InterchainTokenServiceValidTokenAddressArgs) => readonly [`0x${string}`]; /** * Encoder function for InterchainTokenService.validTokenAddress function data */ export declare const encodeInterchainTokenServiceValidTokenAddressData: ({ tokenId, }: InterchainTokenServiceValidTokenAddressArgs) => `0x${string}`; export type InterchainTokenServiceValidTokenManagerAddressArgs = { tokenId: `0x${string}`; }; /** * Factory function for InterchainTokenService.validTokenManagerAddress function args */ export declare const encodeInterchainTokenServiceValidTokenManagerAddressArgs: ({ tokenId, }: InterchainTokenServiceValidTokenManagerAddressArgs) => readonly [`0x${string}`]; /** * Encoder function for InterchainTokenService.validTokenManagerAddress function data */ export declare const encodeInterchainTokenServiceValidTokenManagerAddressData: ({ tokenId, }: InterchainTokenServiceValidTokenManagerAddressArgs) => `0x${string}`; export declare const INTERCHAIN_TOKEN_SERVICE_ENCODERS: { acceptOperatorship: { args: ({ fromOperator, }: InterchainTokenServiceAcceptOperatorshipArgs) => readonly [`0x${string}`]; data: ({ fromOperator, }: InterchainTokenServiceAcceptOperatorshipArgs) => `0x${string}`; }; callContractWithInterchainToken: { args: ({ tokenId, destinationChain, destinationAddress, amount, data, gasValue, }: InterchainTokenServiceCallContractWithInterchainTokenArgs) => readonly [`0x${string}`, string, `0x${string}`, bigint, `0x${string}`, bigint]; data: ({ tokenId, destinationChain, destinationAddress, amount, data, gasValue, }: InterchainTokenServiceCallContractWithInterchainTokenArgs) => `0x${string}`; }; contractCallValue: { args: ({ sourceChain, sourceAddress, payload, }: InterchainTokenServiceContractCallValueArgs) => readonly [string, string, `0x${string}`]; data: ({ sourceChain, sourceAddress, payload, }: InterchainTokenServiceContractCallValueArgs) => `0x${string}`; }; contractCallWithTokenValue: { args: ({ contractCallWithTokenValueArg0, contractCallWithTokenValueArg1, contractCallWithTokenValueArg2, contractCallWithTokenValueArg3, contractCallWithTokenValueArg4, }: InterchainTokenServiceContractCallWithTokenValueArgs) => readonly [string, string, `0x${string}`, string, bigint]; data: ({ contractCallWithTokenValueArg0, contractCallWithTokenValueArg1, contractCallWithTokenValueArg2, contractCallWithTokenValueArg3, contractCallWithTokenValueArg4, }: InterchainTokenServiceContractCallWithTokenValueArgs) => `0x${string}`; }; deployInterchainToken: { args: ({ salt, destinationChain, name, symbol, decimals, minter, gasValue, }: InterchainTokenServiceDeployInterchainTokenArgs) => readonly [`0x${string}`, string, string, string, number, `0x${string}`, bigint]; data: ({ salt, destinationChain, name, symbol, decimals, minter, gasValue, }: InterchainTokenServiceDeployInterchainTokenArgs) => `0x${string}`; }; deployTokenManager: { args: ({ salt, destinationChain, tokenManagerType, params, gasValue, }: InterchainTokenServiceDeployTokenManagerArgs) => readonly [`0x${string}`, string, number, `0x${string}`, bigint]; data: ({ salt, destinationChain, tokenManagerType, params, gasValue, }: InterchainTokenServiceDeployTokenManagerArgs) => `0x${string}`; }; execute: { args: ({ commandId, sourceChain, sourceAddress, payload, }: InterchainTokenServiceExecuteArgs) => readonly [`0x${string}`, string, string, `0x${string}`]; data: ({ commandId, sourceChain, sourceAddress, payload, }: InterchainTokenServiceExecuteArgs) => `0x${string}`; }; executeWithToken: { args: ({ executeWithTokenArg0, executeWithTokenArg1, executeWithTokenArg2, executeWithTokenArg3, executeWithTokenArg4, executeWithTokenArg5, }: InterchainTokenServiceExecuteWithTokenArgs) => readonly [`0x${string}`, string, string, `0x${string}`, string, bigint]; data: ({ executeWithTokenArg0, executeWithTokenArg1, executeWithTokenArg2, executeWithTokenArg3, executeWithTokenArg4, executeWithTokenArg5, }: InterchainTokenServiceExecuteWithTokenArgs) => `0x${string}`; }; expressExecute: { args: ({ commandId, sourceChain, sourceAddress, payload, }: InterchainTokenServiceExpressExecuteArgs) => readonly [`0x${string}`, string, string, `0x${string}`]; data: ({ commandId, sourceChain, sourceAddress, payload, }: InterchainTokenServiceExpressExecuteArgs) => `0x${string}`; }; expressExecuteWithToken: { args: ({ expressExecuteWithTokenArg0, expressExecuteWithTokenArg1, expressExecuteWithTokenArg2, expressExecuteWithTokenArg3, expressExecuteWithTokenArg4, expressExecuteWithTokenArg5, }: InterchainTokenServiceExpressExecuteWithTokenArgs) => readonly [`0x${string}`, string, string, `0x${string}`, string, bigint]; data: ({ expressExecuteWithTokenArg0, expressExecuteWithTokenArg1, expressExecuteWithTokenArg2, expressExecuteWithTokenArg3, expressExecuteWithTokenArg4, expressExecuteWithTokenArg5, }: InterchainTokenServiceExpressExecuteWithTokenArgs) => `0x${string}`; }; flowInAmount: { args: ({ tokenId, }: InterchainTokenServiceFlowInAmountArgs) => readonly [`0x${string}`]; data: ({ tokenId, }: InterchainTokenServiceFlowInAmountArgs) => `0x${string}`; }; flowLimit: { args: ({ tokenId, }: InterchainTokenServiceFlowLimitArgs) => readonly [`0x${string}`]; data: ({ tokenId, }: InterchainTokenServiceFlowLimitArgs) => `0x${string}`; }; flowOutAmount: { args: ({ tokenId, }: InterchainTokenServiceFlowOutAmountArgs) => readonly [`0x${string}`]; data: ({ tokenId, }: InterchainTokenServiceFlowOutAmountArgs) => `0x${string}`; }; getExpressExecutor: { args: ({ commandId, sourceChain, sourceAddress, payloadHash, }: InterchainTokenServiceGetExpressExecutorArgs) => readonly [`0x${string}`, string, string, `0x${string}`]; data: ({ commandId, sourceChain, sourceAddress, payloadHash, }: InterchainTokenServiceGetExpressExecutorArgs) => `0x${string}`; }; getExpressExecutorWithToken: { args: ({ commandId, sourceChain, sourceAddress, payloadHash, symbol, amount, }: InterchainTokenServiceGetExpressExecutorWithTokenArgs) => readonly [`0x${string}`, string, string, `0x${string}`, string, bigint]; data: ({ commandId, sourceChain, sourceAddress, payloadHash, symbol, amount, }: InterchainTokenServiceGetExpressExecutorWithTokenArgs) => `0x${string}`; }; hasRole: { args: ({ account, role, }: InterchainTokenServiceHasRoleArgs) => readonly [`0x${string}`, number]; data: ({ account, role, }: InterchainTokenServiceHasRoleArgs) => `0x${string}`; }; interchainTokenAddress: { args: ({ tokenId, }: InterchainTokenServiceInterchainTokenAddressArgs) => readonly [`0x${string}`]; data: ({ tokenId, }: InterchainTokenServiceInterchainTokenAddressArgs) => `0x${string}`; }; interchainTokenId: { args: ({ sender, salt, }: InterchainTokenServiceInterchainTokenIdArgs) => readonly [`0x${string}`, `0x${string}`]; data: ({ sender, salt, }: InterchainTokenServiceInterchainTokenIdArgs) => `0x${string}`; }; interchainTransfer: { args: ({ tokenId, destinationChain, destinationAddress, amount, metadata, gasValue, }: InterchainTokenServiceInterchainTransferArgs) => readonly [`0x${string}`, string, `0x${string}`, bigint, `0x${string}`, bigint]; data: ({ tokenId, destinationChain, destinationAddress, amount, metadata, gasValue, }: InterchainTokenServiceInterchainTransferArgs) => `0x${string}`; }; isOperator: { args: ({ addr, }: InterchainTokenServiceIsOperatorArgs) => readonly [`0x${string}`]; data: ({ addr, }: InterchainTokenServiceIsOperatorArgs) => `0x${string}`; }; isTrustedAddress: { args: ({ chain, address_, }: InterchainTokenServiceIsTrustedAddressArgs) => readonly [string, string]; data: ({ chain, address_, }: InterchainTokenServiceIsTrustedAddressArgs) => `0x${string}`; }; multicall: { args: ({ data, }: InterchainTokenServiceMulticallArgs) => readonly [any]; data: ({ data, }: InterchainTokenServiceMulticallArgs) => `0x${string}`; }; proposeOperatorship: { args: ({ operator, }: InterchainTokenServiceProposeOperatorshipArgs) => readonly [`0x${string}`]; data: ({ operator, }: InterchainTokenServiceProposeOperatorshipArgs) => `0x${string}`; }; proposeOwnership: { args: ({ newOwner, }: InterchainTokenServiceProposeOwnershipArgs) => readonly [`0x${string}`]; data: ({ newOwner, }: InterchainTokenServiceProposeOwnershipArgs) => `0x${string}`; }; removeTrustedAddress: { args: ({ chain, }: InterchainTokenServiceRemoveTrustedAddressArgs) => readonly [string]; data: ({ chain, }: InterchainTokenServiceRemoveTrustedAddressArgs) => `0x${string}`; }; setFlowLimits: { args: ({ tokenIds, flowLimits, }: InterchainTokenServiceSetFlowLimitsArgs) => readonly [any, any]; data: ({ tokenIds, flowLimits, }: InterchainTokenServiceSetFlowLimitsArgs) => `0x${string}`; }; setPauseStatus: { args: ({ paused, }: InterchainTokenServiceSetPauseStatusArgs) => readonly [boolean]; data: ({ paused, }: InterchainTokenServiceSetPauseStatusArgs) => `0x${string}`; }; setTrustedAddress: { args: ({ chain, address_, }: InterchainTokenServiceSetTrustedAddressArgs) => readonly [string, string]; data: ({ chain, address_, }: InterchainTokenServiceSetTrustedAddressArgs) => `0x${string}`; }; setup: { args: ({ data, }: InterchainTokenServiceSetupArgs) => readonly [`0x${string}`]; data: ({ data, }: InterchainTokenServiceSetupArgs) => `0x${string}`; }; tokenManagerAddress: { args: ({ tokenId, }: InterchainTokenServiceTokenManagerAddressArgs) => readonly [`0x${string}`]; data: ({ tokenId, }: InterchainTokenServiceTokenManagerAddressArgs) => `0x${string}`; }; tokenManagerImplementation: { args: ({ tokenManagerImplementationArg0, }: InterchainTokenServiceTokenManagerImplementationArgs) => readonly [bigint]; data: ({ tokenManagerImplementationArg0, }: InterchainTokenServiceTokenManagerImplementationArgs) => `0x${string}`; }; transferOperatorship: { args: ({ operator, }: InterchainTokenServiceTransferOperatorshipArgs) => readonly [`0x${string}`]; data: ({ operator, }: InterchainTokenServiceTransferOperatorshipArgs) => `0x${string}`; }; transferOwnership: { args: ({ newOwner, }: InterchainTokenServiceTransferOwnershipArgs) => readonly [`0x${string}`]; data: ({ newOwner, }: InterchainTokenServiceTransferOwnershipArgs) => `0x${string}`; }; transmitInterchainTransfer: { args: ({ tokenId, sourceAddress, destinationChain, destinationAddress, amount, metadata, }: InterchainTokenServiceTransmitInterchainTransferArgs) => readonly [`0x${string}`, `0x${string}`, string, `0x${string}`, bigint, `0x${string}`]; data: ({ tokenId, sourceAddress, destinationChain, destinationAddress, amount, metadata, }: InterchainTokenServiceTransmitInterchainTransferArgs) => `0x${string}`; }; trustedAddress: { args: ({ chain, }: InterchainTokenServiceTrustedAddressArgs) => readonly [string]; data: ({ chain, }: InterchainTokenServiceTrustedAddressArgs) => `0x${string}`; }; trustedAddressHash: { args: ({ chain, }: InterchainTokenServiceTrustedAddressHashArgs) => readonly [string]; data: ({ chain, }: InterchainTokenServiceTrustedAddressHashArgs) => `0x${string}`; }; upgrade: { args: ({ newImplementation, newImplementationCodeHash, params, }: InterchainTokenServiceUpgradeArgs) => readonly [`0x${string}`, `0x${string}`, `0x${string}`]; data: ({ newImplementation, newImplementationCodeHash, params, }: InterchainTokenServiceUpgradeArgs) => `0x${string}`; }; validTokenAddress: { args: ({ tokenId, }: InterchainTokenServiceValidTokenAddressArgs) => readonly [`0x${string}`]; data: ({ tokenId, }: InterchainTokenServiceValidTokenAddressArgs) => `0x${string}`; }; validTokenManagerAddress: { args: ({ tokenId, }: InterchainTokenServiceValidTokenManagerAddressArgs) => readonly [`0x${string}`]; data: ({ tokenId, }: InterchainTokenServiceValidTokenManagerAddressArgs) => `0x${string}`; }; }; export declare function createInterchainTokenServiceReadClient(publicClient: PublicContractClient): { chainName(): Promise; chainNameHash(): Promise<`0x${string}`>; contractCallValue(contractCallValueArgs: InterchainTokenServiceContractCallValueArgs): Promise; contractCallWithTokenValue(contractCallWithTokenValueArgs: InterchainTokenServiceContractCallWithTokenValueArgs): Promise; contractId(): Promise; executeWithToken(executeWithTokenArgs: InterchainTokenServiceExecuteWithTokenArgs): Promise; flowInAmount(flowInAmountArgs: InterchainTokenServiceFlowInAmountArgs): Promise; flowLimit(flowLimitArgs: InterchainTokenServiceFlowLimitArgs): Promise; flowOutAmount(flowOutAmountArgs: InterchainTokenServiceFlowOutAmountArgs): Promise; gasService(): Promise<`0x${string}`>; gateway(): Promise<`0x${string}`>; getExpressExecutor(getExpressExecutorArgs: InterchainTokenServiceGetExpressExecutorArgs): Promise<`0x${string}`>; getExpressExecutorWithToken(getExpressExecutorWithTokenArgs: InterchainTokenServiceGetExpressExecutorWithTokenArgs): Promise<`0x${string}`>; hasRole(hasRoleArgs: InterchainTokenServiceHasRoleArgs): Promise; implementation(): Promise<`0x${string}`>; interchainTokenAddress(interchainTokenAddressArgs: InterchainTokenServiceInterchainTokenAddressArgs): Promise<`0x${string}`>; interchainTokenDeployer(): Promise<`0x${string}`>; interchainTokenFactory(): Promise<`0x${string}`>; interchainTokenId(interchainTokenIdArgs: InterchainTokenServiceInterchainTokenIdArgs): Promise; isOperator(isOperatorArgs: InterchainTokenServiceIsOperatorArgs): Promise; isTrustedAddress(isTrustedAddressArgs: InterchainTokenServiceIsTrustedAddressArgs): Promise; owner(): Promise<`0x${string}`>; paused(): Promise; pendingOwner(): Promise<`0x${string}`>; tokenHandler(): Promise<`0x${string}`>; tokenManager(): Promise<`0x${string}`>; tokenManagerAddress(tokenManagerAddressArgs: InterchainTokenServiceTokenManagerAddressArgs): Promise<`0x${string}`>; tokenManagerDeployer(): Promise<`0x${string}`>; tokenManagerImplementation(tokenManagerImplementationArgs: InterchainTokenServiceTokenManagerImplementationArgs): Promise<`0x${string}`>; trustedAddress(trustedAddressArgs: InterchainTokenServiceTrustedAddressArgs): Promise; trustedAddressHash(trustedAddressHashArgs: InterchainTokenServiceTrustedAddressHashArgs): Promise<`0x${string}`>; validTokenAddress(validTokenAddressArgs: InterchainTokenServiceValidTokenAddressArgs): Promise<`0x${string}`>; validTokenManagerAddress(validTokenManagerAddressArgs: InterchainTokenServiceValidTokenManagerAddressArgs): Promise<`0x${string}`>; };