/** * This file was generated by scripts/codegen.ts * * Original abi file: * - node_modules/@axelar-network/interchain-token-service/artifacts/contracts/InterchainTokenFactory.sol/InterchainTokenFactory.json * * DO NOT EDIT MANUALLY */ import type { PublicContractClient } from "../../PublicContractClient"; import ABI_FILE from "./InterchainTokenFactory.abi"; export type InterchainTokenFactoryCanonicalInterchainTokenIdArgs = { tokenAddress: `0x${string}`; }; /** * Factory function for InterchainTokenFactory.canonicalInterchainTokenId function args */ export declare const encodeInterchainTokenFactoryCanonicalInterchainTokenIdArgs: ({ tokenAddress, }: InterchainTokenFactoryCanonicalInterchainTokenIdArgs) => readonly [`0x${string}`]; /** * Encoder function for InterchainTokenFactory.canonicalInterchainTokenId function data */ export declare const encodeInterchainTokenFactoryCanonicalInterchainTokenIdData: ({ tokenAddress, }: InterchainTokenFactoryCanonicalInterchainTokenIdArgs) => `0x${string}`; export type InterchainTokenFactoryCanonicalInterchainTokenSaltArgs = { chainNameHash_: `0x${string}`; tokenAddress: `0x${string}`; }; /** * Factory function for InterchainTokenFactory.canonicalInterchainTokenSalt function args */ export declare const encodeInterchainTokenFactoryCanonicalInterchainTokenSaltArgs: ({ chainNameHash_, tokenAddress, }: InterchainTokenFactoryCanonicalInterchainTokenSaltArgs) => readonly [`0x${string}`, `0x${string}`]; /** * Encoder function for InterchainTokenFactory.canonicalInterchainTokenSalt function data */ export declare const encodeInterchainTokenFactoryCanonicalInterchainTokenSaltData: ({ chainNameHash_, tokenAddress, }: InterchainTokenFactoryCanonicalInterchainTokenSaltArgs) => `0x${string}`; export type InterchainTokenFactoryDeployInterchainTokenArgs = { salt: `0x${string}`; name: string; symbol: string; decimals: number; initialSupply: bigint; minter: `0x${string}`; }; /** * Factory function for InterchainTokenFactory.deployInterchainToken function args */ export declare const encodeInterchainTokenFactoryDeployInterchainTokenArgs: ({ salt, name, symbol, decimals, initialSupply, minter, }: InterchainTokenFactoryDeployInterchainTokenArgs) => readonly [`0x${string}`, string, string, number, bigint, `0x${string}`]; /** * Encoder function for InterchainTokenFactory.deployInterchainToken function data */ export declare const encodeInterchainTokenFactoryDeployInterchainTokenData: ({ salt, name, symbol, decimals, initialSupply, minter, }: InterchainTokenFactoryDeployInterchainTokenArgs) => `0x${string}`; export type InterchainTokenFactoryDeployRemoteCanonicalInterchainTokenArgs = { originalChain: string; originalTokenAddress: `0x${string}`; destinationChain: string; gasValue: bigint; }; /** * Factory function for InterchainTokenFactory.deployRemoteCanonicalInterchainToken function args */ export declare const encodeInterchainTokenFactoryDeployRemoteCanonicalInterchainTokenArgs: ({ originalChain, originalTokenAddress, destinationChain, gasValue, }: InterchainTokenFactoryDeployRemoteCanonicalInterchainTokenArgs) => readonly [string, `0x${string}`, string, bigint]; /** * Encoder function for InterchainTokenFactory.deployRemoteCanonicalInterchainToken function data */ export declare const encodeInterchainTokenFactoryDeployRemoteCanonicalInterchainTokenData: ({ originalChain, originalTokenAddress, destinationChain, gasValue, }: InterchainTokenFactoryDeployRemoteCanonicalInterchainTokenArgs) => `0x${string}`; export type InterchainTokenFactoryDeployRemoteInterchainTokenArgs = { originalChainName: string; salt: `0x${string}`; minter: `0x${string}`; destinationChain: string; gasValue: bigint; }; /** * Factory function for InterchainTokenFactory.deployRemoteInterchainToken function args */ export declare const encodeInterchainTokenFactoryDeployRemoteInterchainTokenArgs: ({ originalChainName, salt, minter, destinationChain, gasValue, }: InterchainTokenFactoryDeployRemoteInterchainTokenArgs) => readonly [string, `0x${string}`, `0x${string}`, string, bigint]; /** * Encoder function for InterchainTokenFactory.deployRemoteInterchainToken function data */ export declare const encodeInterchainTokenFactoryDeployRemoteInterchainTokenData: ({ originalChainName, salt, minter, destinationChain, gasValue, }: InterchainTokenFactoryDeployRemoteInterchainTokenArgs) => `0x${string}`; export type InterchainTokenFactoryInterchainTokenAddressArgs = { deployer: `0x${string}`; salt: `0x${string}`; }; /** * Factory function for InterchainTokenFactory.interchainTokenAddress function args */ export declare const encodeInterchainTokenFactoryInterchainTokenAddressArgs: ({ deployer, salt, }: InterchainTokenFactoryInterchainTokenAddressArgs) => readonly [`0x${string}`, `0x${string}`]; /** * Encoder function for InterchainTokenFactory.interchainTokenAddress function data */ export declare const encodeInterchainTokenFactoryInterchainTokenAddressData: ({ deployer, salt, }: InterchainTokenFactoryInterchainTokenAddressArgs) => `0x${string}`; export type InterchainTokenFactoryInterchainTokenIdArgs = { deployer: `0x${string}`; salt: `0x${string}`; }; /** * Factory function for InterchainTokenFactory.interchainTokenId function args */ export declare const encodeInterchainTokenFactoryInterchainTokenIdArgs: ({ deployer, salt, }: InterchainTokenFactoryInterchainTokenIdArgs) => readonly [`0x${string}`, `0x${string}`]; /** * Encoder function for InterchainTokenFactory.interchainTokenId function data */ export declare const encodeInterchainTokenFactoryInterchainTokenIdData: ({ deployer, salt, }: InterchainTokenFactoryInterchainTokenIdArgs) => `0x${string}`; export type InterchainTokenFactoryInterchainTokenSaltArgs = { chainNameHash_: `0x${string}`; deployer: `0x${string}`; salt: `0x${string}`; }; /** * Factory function for InterchainTokenFactory.interchainTokenSalt function args */ export declare const encodeInterchainTokenFactoryInterchainTokenSaltArgs: ({ chainNameHash_, deployer, salt, }: InterchainTokenFactoryInterchainTokenSaltArgs) => readonly [`0x${string}`, `0x${string}`, `0x${string}`]; /** * Encoder function for InterchainTokenFactory.interchainTokenSalt function data */ export declare const encodeInterchainTokenFactoryInterchainTokenSaltData: ({ chainNameHash_, deployer, salt, }: InterchainTokenFactoryInterchainTokenSaltArgs) => `0x${string}`; export type InterchainTokenFactoryMulticallArgs = { data: any; }; /** * Factory function for InterchainTokenFactory.multicall function args */ export declare const encodeInterchainTokenFactoryMulticallArgs: ({ data, }: InterchainTokenFactoryMulticallArgs) => readonly [any]; /** * Encoder function for InterchainTokenFactory.multicall function data */ export declare const encodeInterchainTokenFactoryMulticallData: ({ data, }: InterchainTokenFactoryMulticallArgs) => `0x${string}`; export type InterchainTokenFactoryProposeOwnershipArgs = { newOwner: `0x${string}`; }; /** * Factory function for InterchainTokenFactory.proposeOwnership function args */ export declare const encodeInterchainTokenFactoryProposeOwnershipArgs: ({ newOwner, }: InterchainTokenFactoryProposeOwnershipArgs) => readonly [`0x${string}`]; /** * Encoder function for InterchainTokenFactory.proposeOwnership function data */ export declare const encodeInterchainTokenFactoryProposeOwnershipData: ({ newOwner, }: InterchainTokenFactoryProposeOwnershipArgs) => `0x${string}`; export type InterchainTokenFactoryRegisterCanonicalInterchainTokenArgs = { tokenAddress: `0x${string}`; }; /** * Factory function for InterchainTokenFactory.registerCanonicalInterchainToken function args */ export declare const encodeInterchainTokenFactoryRegisterCanonicalInterchainTokenArgs: ({ tokenAddress, }: InterchainTokenFactoryRegisterCanonicalInterchainTokenArgs) => readonly [`0x${string}`]; /** * Encoder function for InterchainTokenFactory.registerCanonicalInterchainToken function data */ export declare const encodeInterchainTokenFactoryRegisterCanonicalInterchainTokenData: ({ tokenAddress, }: InterchainTokenFactoryRegisterCanonicalInterchainTokenArgs) => `0x${string}`; export type InterchainTokenFactorySetupArgs = { data: `0x${string}`; }; /** * Factory function for InterchainTokenFactory.setup function args */ export declare const encodeInterchainTokenFactorySetupArgs: ({ data, }: InterchainTokenFactorySetupArgs) => readonly [`0x${string}`]; /** * Encoder function for InterchainTokenFactory.setup function data */ export declare const encodeInterchainTokenFactorySetupData: ({ data, }: InterchainTokenFactorySetupArgs) => `0x${string}`; export type InterchainTokenFactoryTransferOwnershipArgs = { newOwner: `0x${string}`; }; /** * Factory function for InterchainTokenFactory.transferOwnership function args */ export declare const encodeInterchainTokenFactoryTransferOwnershipArgs: ({ newOwner, }: InterchainTokenFactoryTransferOwnershipArgs) => readonly [`0x${string}`]; /** * Encoder function for InterchainTokenFactory.transferOwnership function data */ export declare const encodeInterchainTokenFactoryTransferOwnershipData: ({ newOwner, }: InterchainTokenFactoryTransferOwnershipArgs) => `0x${string}`; export type InterchainTokenFactoryUpgradeArgs = { newImplementation: `0x${string}`; newImplementationCodeHash: `0x${string}`; params: `0x${string}`; }; /** * Factory function for InterchainTokenFactory.upgrade function args */ export declare const encodeInterchainTokenFactoryUpgradeArgs: ({ newImplementation, newImplementationCodeHash, params, }: InterchainTokenFactoryUpgradeArgs) => readonly [`0x${string}`, `0x${string}`, `0x${string}`]; /** * Encoder function for InterchainTokenFactory.upgrade function data */ export declare const encodeInterchainTokenFactoryUpgradeData: ({ newImplementation, newImplementationCodeHash, params, }: InterchainTokenFactoryUpgradeArgs) => `0x${string}`; export declare const INTERCHAIN_TOKEN_FACTORY_ENCODERS: { canonicalInterchainTokenId: { args: ({ tokenAddress, }: InterchainTokenFactoryCanonicalInterchainTokenIdArgs) => readonly [`0x${string}`]; data: ({ tokenAddress, }: InterchainTokenFactoryCanonicalInterchainTokenIdArgs) => `0x${string}`; }; canonicalInterchainTokenSalt: { args: ({ chainNameHash_, tokenAddress, }: InterchainTokenFactoryCanonicalInterchainTokenSaltArgs) => readonly [`0x${string}`, `0x${string}`]; data: ({ chainNameHash_, tokenAddress, }: InterchainTokenFactoryCanonicalInterchainTokenSaltArgs) => `0x${string}`; }; deployInterchainToken: { args: ({ salt, name, symbol, decimals, initialSupply, minter, }: InterchainTokenFactoryDeployInterchainTokenArgs) => readonly [`0x${string}`, string, string, number, bigint, `0x${string}`]; data: ({ salt, name, symbol, decimals, initialSupply, minter, }: InterchainTokenFactoryDeployInterchainTokenArgs) => `0x${string}`; }; deployRemoteCanonicalInterchainToken: { args: ({ originalChain, originalTokenAddress, destinationChain, gasValue, }: InterchainTokenFactoryDeployRemoteCanonicalInterchainTokenArgs) => readonly [string, `0x${string}`, string, bigint]; data: ({ originalChain, originalTokenAddress, destinationChain, gasValue, }: InterchainTokenFactoryDeployRemoteCanonicalInterchainTokenArgs) => `0x${string}`; }; deployRemoteInterchainToken: { args: ({ originalChainName, salt, minter, destinationChain, gasValue, }: InterchainTokenFactoryDeployRemoteInterchainTokenArgs) => readonly [string, `0x${string}`, `0x${string}`, string, bigint]; data: ({ originalChainName, salt, minter, destinationChain, gasValue, }: InterchainTokenFactoryDeployRemoteInterchainTokenArgs) => `0x${string}`; }; interchainTokenAddress: { args: ({ deployer, salt, }: InterchainTokenFactoryInterchainTokenAddressArgs) => readonly [`0x${string}`, `0x${string}`]; data: ({ deployer, salt, }: InterchainTokenFactoryInterchainTokenAddressArgs) => `0x${string}`; }; interchainTokenId: { args: ({ deployer, salt, }: InterchainTokenFactoryInterchainTokenIdArgs) => readonly [`0x${string}`, `0x${string}`]; data: ({ deployer, salt, }: InterchainTokenFactoryInterchainTokenIdArgs) => `0x${string}`; }; interchainTokenSalt: { args: ({ chainNameHash_, deployer, salt, }: InterchainTokenFactoryInterchainTokenSaltArgs) => readonly [`0x${string}`, `0x${string}`, `0x${string}`]; data: ({ chainNameHash_, deployer, salt, }: InterchainTokenFactoryInterchainTokenSaltArgs) => `0x${string}`; }; multicall: { args: ({ data, }: InterchainTokenFactoryMulticallArgs) => readonly [any]; data: ({ data, }: InterchainTokenFactoryMulticallArgs) => `0x${string}`; }; proposeOwnership: { args: ({ newOwner, }: InterchainTokenFactoryProposeOwnershipArgs) => readonly [`0x${string}`]; data: ({ newOwner, }: InterchainTokenFactoryProposeOwnershipArgs) => `0x${string}`; }; registerCanonicalInterchainToken: { args: ({ tokenAddress, }: InterchainTokenFactoryRegisterCanonicalInterchainTokenArgs) => readonly [`0x${string}`]; data: ({ tokenAddress, }: InterchainTokenFactoryRegisterCanonicalInterchainTokenArgs) => `0x${string}`; }; setup: { args: ({ data, }: InterchainTokenFactorySetupArgs) => readonly [`0x${string}`]; data: ({ data, }: InterchainTokenFactorySetupArgs) => `0x${string}`; }; transferOwnership: { args: ({ newOwner, }: InterchainTokenFactoryTransferOwnershipArgs) => readonly [`0x${string}`]; data: ({ newOwner, }: InterchainTokenFactoryTransferOwnershipArgs) => `0x${string}`; }; upgrade: { args: ({ newImplementation, newImplementationCodeHash, params, }: InterchainTokenFactoryUpgradeArgs) => readonly [`0x${string}`, `0x${string}`, `0x${string}`]; data: ({ newImplementation, newImplementationCodeHash, params, }: InterchainTokenFactoryUpgradeArgs) => `0x${string}`; }; }; export declare function createInterchainTokenFactoryReadClient(publicClient: PublicContractClient): { canonicalInterchainTokenId(canonicalInterchainTokenIdArgs: InterchainTokenFactoryCanonicalInterchainTokenIdArgs): Promise<`0x${string}`>; canonicalInterchainTokenSalt(canonicalInterchainTokenSaltArgs: InterchainTokenFactoryCanonicalInterchainTokenSaltArgs): Promise; chainNameHash(): Promise<`0x${string}`>; contractId(): Promise; gateway(): Promise<`0x${string}`>; implementation(): Promise<`0x${string}`>; interchainTokenAddress(interchainTokenAddressArgs: InterchainTokenFactoryInterchainTokenAddressArgs): Promise<`0x${string}`>; interchainTokenId(interchainTokenIdArgs: InterchainTokenFactoryInterchainTokenIdArgs): Promise<`0x${string}`>; interchainTokenSalt(interchainTokenSaltArgs: InterchainTokenFactoryInterchainTokenSaltArgs): Promise; interchainTokenService(): Promise<`0x${string}`>; owner(): Promise<`0x${string}`>; pendingOwner(): Promise<`0x${string}`>; };