/** * This file was generated by scripts/codegen.ts * * Original abi file: * - node_modules/@axelar-network/interchain-token-service/artifacts/contracts/interfaces/IInterchainTokenFactory.sol/IInterchainTokenFactory.json * * DO NOT EDIT MANUALLY */ import type { PublicContractClient } from "../../PublicContractClient"; import ABI_FILE from "./IInterchainTokenFactory.abi"; export type IInterchainTokenFactoryCanonicalInterchainTokenIdArgs = { tokenAddress: `0x${string}`; }; /** * Factory function for IInterchainTokenFactory.canonicalInterchainTokenId function args */ export declare const encodeIInterchainTokenFactoryCanonicalInterchainTokenIdArgs: ({ tokenAddress, }: IInterchainTokenFactoryCanonicalInterchainTokenIdArgs) => readonly [`0x${string}`]; /** * Encoder function for IInterchainTokenFactory.canonicalInterchainTokenId function data */ export declare const encodeIInterchainTokenFactoryCanonicalInterchainTokenIdData: ({ tokenAddress, }: IInterchainTokenFactoryCanonicalInterchainTokenIdArgs) => `0x${string}`; export type IInterchainTokenFactoryCanonicalInterchainTokenSaltArgs = { chainNameHash_: `0x${string}`; tokenAddress: `0x${string}`; }; /** * Factory function for IInterchainTokenFactory.canonicalInterchainTokenSalt function args */ export declare const encodeIInterchainTokenFactoryCanonicalInterchainTokenSaltArgs: ({ chainNameHash_, tokenAddress, }: IInterchainTokenFactoryCanonicalInterchainTokenSaltArgs) => readonly [`0x${string}`, `0x${string}`]; /** * Encoder function for IInterchainTokenFactory.canonicalInterchainTokenSalt function data */ export declare const encodeIInterchainTokenFactoryCanonicalInterchainTokenSaltData: ({ chainNameHash_, tokenAddress, }: IInterchainTokenFactoryCanonicalInterchainTokenSaltArgs) => `0x${string}`; export type IInterchainTokenFactoryDeployInterchainTokenArgs = { salt: `0x${string}`; name: string; symbol: string; decimals: number; initialSupply: bigint; minter: `0x${string}`; }; /** * Factory function for IInterchainTokenFactory.deployInterchainToken function args */ export declare const encodeIInterchainTokenFactoryDeployInterchainTokenArgs: ({ salt, name, symbol, decimals, initialSupply, minter, }: IInterchainTokenFactoryDeployInterchainTokenArgs) => readonly [`0x${string}`, string, string, number, bigint, `0x${string}`]; /** * Encoder function for IInterchainTokenFactory.deployInterchainToken function data */ export declare const encodeIInterchainTokenFactoryDeployInterchainTokenData: ({ salt, name, symbol, decimals, initialSupply, minter, }: IInterchainTokenFactoryDeployInterchainTokenArgs) => `0x${string}`; export type IInterchainTokenFactoryDeployRemoteCanonicalInterchainTokenArgs = { originalChain: string; originalTokenAddress: `0x${string}`; destinationChain: string; gasValue: bigint; }; /** * Factory function for IInterchainTokenFactory.deployRemoteCanonicalInterchainToken function args */ export declare const encodeIInterchainTokenFactoryDeployRemoteCanonicalInterchainTokenArgs: ({ originalChain, originalTokenAddress, destinationChain, gasValue, }: IInterchainTokenFactoryDeployRemoteCanonicalInterchainTokenArgs) => readonly [string, `0x${string}`, string, bigint]; /** * Encoder function for IInterchainTokenFactory.deployRemoteCanonicalInterchainToken function data */ export declare const encodeIInterchainTokenFactoryDeployRemoteCanonicalInterchainTokenData: ({ originalChain, originalTokenAddress, destinationChain, gasValue, }: IInterchainTokenFactoryDeployRemoteCanonicalInterchainTokenArgs) => `0x${string}`; export type IInterchainTokenFactoryDeployRemoteInterchainTokenArgs = { originalChainName: string; salt: `0x${string}`; minter: `0x${string}`; destinationChain: string; gasValue: bigint; }; /** * Factory function for IInterchainTokenFactory.deployRemoteInterchainToken function args */ export declare const encodeIInterchainTokenFactoryDeployRemoteInterchainTokenArgs: ({ originalChainName, salt, minter, destinationChain, gasValue, }: IInterchainTokenFactoryDeployRemoteInterchainTokenArgs) => readonly [string, `0x${string}`, `0x${string}`, string, bigint]; /** * Encoder function for IInterchainTokenFactory.deployRemoteInterchainToken function data */ export declare const encodeIInterchainTokenFactoryDeployRemoteInterchainTokenData: ({ originalChainName, salt, minter, destinationChain, gasValue, }: IInterchainTokenFactoryDeployRemoteInterchainTokenArgs) => `0x${string}`; export type IInterchainTokenFactoryInterchainTokenAddressArgs = { deployer: `0x${string}`; salt: `0x${string}`; }; /** * Factory function for IInterchainTokenFactory.interchainTokenAddress function args */ export declare const encodeIInterchainTokenFactoryInterchainTokenAddressArgs: ({ deployer, salt, }: IInterchainTokenFactoryInterchainTokenAddressArgs) => readonly [`0x${string}`, `0x${string}`]; /** * Encoder function for IInterchainTokenFactory.interchainTokenAddress function data */ export declare const encodeIInterchainTokenFactoryInterchainTokenAddressData: ({ deployer, salt, }: IInterchainTokenFactoryInterchainTokenAddressArgs) => `0x${string}`; export type IInterchainTokenFactoryInterchainTokenIdArgs = { deployer: `0x${string}`; salt: `0x${string}`; }; /** * Factory function for IInterchainTokenFactory.interchainTokenId function args */ export declare const encodeIInterchainTokenFactoryInterchainTokenIdArgs: ({ deployer, salt, }: IInterchainTokenFactoryInterchainTokenIdArgs) => readonly [`0x${string}`, `0x${string}`]; /** * Encoder function for IInterchainTokenFactory.interchainTokenId function data */ export declare const encodeIInterchainTokenFactoryInterchainTokenIdData: ({ deployer, salt, }: IInterchainTokenFactoryInterchainTokenIdArgs) => `0x${string}`; export type IInterchainTokenFactoryInterchainTokenSaltArgs = { chainNameHash_: `0x${string}`; deployer: `0x${string}`; salt: `0x${string}`; }; /** * Factory function for IInterchainTokenFactory.interchainTokenSalt function args */ export declare const encodeIInterchainTokenFactoryInterchainTokenSaltArgs: ({ chainNameHash_, deployer, salt, }: IInterchainTokenFactoryInterchainTokenSaltArgs) => readonly [`0x${string}`, `0x${string}`, `0x${string}`]; /** * Encoder function for IInterchainTokenFactory.interchainTokenSalt function data */ export declare const encodeIInterchainTokenFactoryInterchainTokenSaltData: ({ chainNameHash_, deployer, salt, }: IInterchainTokenFactoryInterchainTokenSaltArgs) => `0x${string}`; export type IInterchainTokenFactoryMulticallArgs = { data: any; }; /** * Factory function for IInterchainTokenFactory.multicall function args */ export declare const encodeIInterchainTokenFactoryMulticallArgs: ({ data, }: IInterchainTokenFactoryMulticallArgs) => readonly [any]; /** * Encoder function for IInterchainTokenFactory.multicall function data */ export declare const encodeIInterchainTokenFactoryMulticallData: ({ data, }: IInterchainTokenFactoryMulticallArgs) => `0x${string}`; export type IInterchainTokenFactoryProposeOwnershipArgs = { newOwner: `0x${string}`; }; /** * Factory function for IInterchainTokenFactory.proposeOwnership function args */ export declare const encodeIInterchainTokenFactoryProposeOwnershipArgs: ({ newOwner, }: IInterchainTokenFactoryProposeOwnershipArgs) => readonly [`0x${string}`]; /** * Encoder function for IInterchainTokenFactory.proposeOwnership function data */ export declare const encodeIInterchainTokenFactoryProposeOwnershipData: ({ newOwner, }: IInterchainTokenFactoryProposeOwnershipArgs) => `0x${string}`; export type IInterchainTokenFactoryRegisterCanonicalInterchainTokenArgs = { tokenAddress: `0x${string}`; }; /** * Factory function for IInterchainTokenFactory.registerCanonicalInterchainToken function args */ export declare const encodeIInterchainTokenFactoryRegisterCanonicalInterchainTokenArgs: ({ tokenAddress, }: IInterchainTokenFactoryRegisterCanonicalInterchainTokenArgs) => readonly [`0x${string}`]; /** * Encoder function for IInterchainTokenFactory.registerCanonicalInterchainToken function data */ export declare const encodeIInterchainTokenFactoryRegisterCanonicalInterchainTokenData: ({ tokenAddress, }: IInterchainTokenFactoryRegisterCanonicalInterchainTokenArgs) => `0x${string}`; export type IInterchainTokenFactorySetupArgs = { data: `0x${string}`; }; /** * Factory function for IInterchainTokenFactory.setup function args */ export declare const encodeIInterchainTokenFactorySetupArgs: ({ data, }: IInterchainTokenFactorySetupArgs) => readonly [`0x${string}`]; /** * Encoder function for IInterchainTokenFactory.setup function data */ export declare const encodeIInterchainTokenFactorySetupData: ({ data, }: IInterchainTokenFactorySetupArgs) => `0x${string}`; export type IInterchainTokenFactoryTransferOwnershipArgs = { newOwner: `0x${string}`; }; /** * Factory function for IInterchainTokenFactory.transferOwnership function args */ export declare const encodeIInterchainTokenFactoryTransferOwnershipArgs: ({ newOwner, }: IInterchainTokenFactoryTransferOwnershipArgs) => readonly [`0x${string}`]; /** * Encoder function for IInterchainTokenFactory.transferOwnership function data */ export declare const encodeIInterchainTokenFactoryTransferOwnershipData: ({ newOwner, }: IInterchainTokenFactoryTransferOwnershipArgs) => `0x${string}`; export type IInterchainTokenFactoryUpgradeArgs = { newImplementation: `0x${string}`; newImplementationCodeHash: `0x${string}`; params: `0x${string}`; }; /** * Factory function for IInterchainTokenFactory.upgrade function args */ export declare const encodeIInterchainTokenFactoryUpgradeArgs: ({ newImplementation, newImplementationCodeHash, params, }: IInterchainTokenFactoryUpgradeArgs) => readonly [`0x${string}`, `0x${string}`, `0x${string}`]; /** * Encoder function for IInterchainTokenFactory.upgrade function data */ export declare const encodeIInterchainTokenFactoryUpgradeData: ({ newImplementation, newImplementationCodeHash, params, }: IInterchainTokenFactoryUpgradeArgs) => `0x${string}`; export declare const IINTERCHAIN_TOKEN_FACTORY_ENCODERS: { canonicalInterchainTokenId: { args: ({ tokenAddress, }: IInterchainTokenFactoryCanonicalInterchainTokenIdArgs) => readonly [`0x${string}`]; data: ({ tokenAddress, }: IInterchainTokenFactoryCanonicalInterchainTokenIdArgs) => `0x${string}`; }; canonicalInterchainTokenSalt: { args: ({ chainNameHash_, tokenAddress, }: IInterchainTokenFactoryCanonicalInterchainTokenSaltArgs) => readonly [`0x${string}`, `0x${string}`]; data: ({ chainNameHash_, tokenAddress, }: IInterchainTokenFactoryCanonicalInterchainTokenSaltArgs) => `0x${string}`; }; deployInterchainToken: { args: ({ salt, name, symbol, decimals, initialSupply, minter, }: IInterchainTokenFactoryDeployInterchainTokenArgs) => readonly [`0x${string}`, string, string, number, bigint, `0x${string}`]; data: ({ salt, name, symbol, decimals, initialSupply, minter, }: IInterchainTokenFactoryDeployInterchainTokenArgs) => `0x${string}`; }; deployRemoteCanonicalInterchainToken: { args: ({ originalChain, originalTokenAddress, destinationChain, gasValue, }: IInterchainTokenFactoryDeployRemoteCanonicalInterchainTokenArgs) => readonly [string, `0x${string}`, string, bigint]; data: ({ originalChain, originalTokenAddress, destinationChain, gasValue, }: IInterchainTokenFactoryDeployRemoteCanonicalInterchainTokenArgs) => `0x${string}`; }; deployRemoteInterchainToken: { args: ({ originalChainName, salt, minter, destinationChain, gasValue, }: IInterchainTokenFactoryDeployRemoteInterchainTokenArgs) => readonly [string, `0x${string}`, `0x${string}`, string, bigint]; data: ({ originalChainName, salt, minter, destinationChain, gasValue, }: IInterchainTokenFactoryDeployRemoteInterchainTokenArgs) => `0x${string}`; }; interchainTokenAddress: { args: ({ deployer, salt, }: IInterchainTokenFactoryInterchainTokenAddressArgs) => readonly [`0x${string}`, `0x${string}`]; data: ({ deployer, salt, }: IInterchainTokenFactoryInterchainTokenAddressArgs) => `0x${string}`; }; interchainTokenId: { args: ({ deployer, salt, }: IInterchainTokenFactoryInterchainTokenIdArgs) => readonly [`0x${string}`, `0x${string}`]; data: ({ deployer, salt, }: IInterchainTokenFactoryInterchainTokenIdArgs) => `0x${string}`; }; interchainTokenSalt: { args: ({ chainNameHash_, deployer, salt, }: IInterchainTokenFactoryInterchainTokenSaltArgs) => readonly [`0x${string}`, `0x${string}`, `0x${string}`]; data: ({ chainNameHash_, deployer, salt, }: IInterchainTokenFactoryInterchainTokenSaltArgs) => `0x${string}`; }; multicall: { args: ({ data, }: IInterchainTokenFactoryMulticallArgs) => readonly [any]; data: ({ data, }: IInterchainTokenFactoryMulticallArgs) => `0x${string}`; }; proposeOwnership: { args: ({ newOwner, }: IInterchainTokenFactoryProposeOwnershipArgs) => readonly [`0x${string}`]; data: ({ newOwner, }: IInterchainTokenFactoryProposeOwnershipArgs) => `0x${string}`; }; registerCanonicalInterchainToken: { args: ({ tokenAddress, }: IInterchainTokenFactoryRegisterCanonicalInterchainTokenArgs) => readonly [`0x${string}`]; data: ({ tokenAddress, }: IInterchainTokenFactoryRegisterCanonicalInterchainTokenArgs) => `0x${string}`; }; setup: { args: ({ data, }: IInterchainTokenFactorySetupArgs) => readonly [`0x${string}`]; data: ({ data, }: IInterchainTokenFactorySetupArgs) => `0x${string}`; }; transferOwnership: { args: ({ newOwner, }: IInterchainTokenFactoryTransferOwnershipArgs) => readonly [`0x${string}`]; data: ({ newOwner, }: IInterchainTokenFactoryTransferOwnershipArgs) => `0x${string}`; }; upgrade: { args: ({ newImplementation, newImplementationCodeHash, params, }: IInterchainTokenFactoryUpgradeArgs) => readonly [`0x${string}`, `0x${string}`, `0x${string}`]; data: ({ newImplementation, newImplementationCodeHash, params, }: IInterchainTokenFactoryUpgradeArgs) => `0x${string}`; }; }; export declare function createIInterchainTokenFactoryReadClient(publicClient: PublicContractClient): { canonicalInterchainTokenId(canonicalInterchainTokenIdArgs: IInterchainTokenFactoryCanonicalInterchainTokenIdArgs): Promise<`0x${string}`>; canonicalInterchainTokenSalt(canonicalInterchainTokenSaltArgs: IInterchainTokenFactoryCanonicalInterchainTokenSaltArgs): Promise<`0x${string}`>; chainNameHash(): Promise<`0x${string}`>; contractId(): Promise; implementation(): Promise<`0x${string}`>; interchainTokenAddress(interchainTokenAddressArgs: IInterchainTokenFactoryInterchainTokenAddressArgs): Promise<`0x${string}`>; interchainTokenId(interchainTokenIdArgs: IInterchainTokenFactoryInterchainTokenIdArgs): Promise<`0x${string}`>; interchainTokenSalt(interchainTokenSaltArgs: IInterchainTokenFactoryInterchainTokenSaltArgs): Promise<`0x${string}`>; interchainTokenService(): Promise<`0x${string}`>; owner(): Promise<`0x${string}`>; pendingOwner(): Promise<`0x${string}`>; };