/** * This file was generated by scripts/codegen.ts * * Original abi file: * - node_modules/@axelar-network/interchain-token-service/artifacts/contracts/TokenHandler.sol/TokenHandler.json * * DO NOT EDIT MANUALLY */ export type TokenHandlerGiveTokenArgs = { tokenManagerType: bigint; tokenAddress: `0x${string}`; tokenManager: `0x${string}`; to: `0x${string}`; amount: bigint; }; /** * Factory function for TokenHandler.giveToken function args */ export declare const encodeTokenHandlerGiveTokenArgs: ({ tokenManagerType, tokenAddress, tokenManager, to, amount, }: TokenHandlerGiveTokenArgs) => readonly [bigint, `0x${string}`, `0x${string}`, `0x${string}`, bigint]; /** * Encoder function for TokenHandler.giveToken function data */ export declare const encodeTokenHandlerGiveTokenData: ({ tokenManagerType, tokenAddress, tokenManager, to, amount, }: TokenHandlerGiveTokenArgs) => `0x${string}`; export type TokenHandlerTakeTokenArgs = { tokenManagerType: bigint; tokenAddress: `0x${string}`; tokenManager: `0x${string}`; from: `0x${string}`; amount: bigint; }; /** * Factory function for TokenHandler.takeToken function args */ export declare const encodeTokenHandlerTakeTokenArgs: ({ tokenManagerType, tokenAddress, tokenManager, from, amount, }: TokenHandlerTakeTokenArgs) => readonly [bigint, `0x${string}`, `0x${string}`, `0x${string}`, bigint]; /** * Encoder function for TokenHandler.takeToken function data */ export declare const encodeTokenHandlerTakeTokenData: ({ tokenManagerType, tokenAddress, tokenManager, from, amount, }: TokenHandlerTakeTokenArgs) => `0x${string}`; export type TokenHandlerTransferTokenFromArgs = { tokenManagerType: bigint; tokenAddress: `0x${string}`; from: `0x${string}`; to: `0x${string}`; amount: bigint; }; /** * Factory function for TokenHandler.transferTokenFrom function args */ export declare const encodeTokenHandlerTransferTokenFromArgs: ({ tokenManagerType, tokenAddress, from, to, amount, }: TokenHandlerTransferTokenFromArgs) => readonly [bigint, `0x${string}`, `0x${string}`, `0x${string}`, bigint]; /** * Encoder function for TokenHandler.transferTokenFrom function data */ export declare const encodeTokenHandlerTransferTokenFromData: ({ tokenManagerType, tokenAddress, from, to, amount, }: TokenHandlerTransferTokenFromArgs) => `0x${string}`; export declare const TOKEN_HANDLER_ENCODERS: { giveToken: { args: ({ tokenManagerType, tokenAddress, tokenManager, to, amount, }: TokenHandlerGiveTokenArgs) => readonly [bigint, `0x${string}`, `0x${string}`, `0x${string}`, bigint]; data: ({ tokenManagerType, tokenAddress, tokenManager, to, amount, }: TokenHandlerGiveTokenArgs) => `0x${string}`; }; takeToken: { args: ({ tokenManagerType, tokenAddress, tokenManager, from, amount, }: TokenHandlerTakeTokenArgs) => readonly [bigint, `0x${string}`, `0x${string}`, `0x${string}`, bigint]; data: ({ tokenManagerType, tokenAddress, tokenManager, from, amount, }: TokenHandlerTakeTokenArgs) => `0x${string}`; }; transferTokenFrom: { args: ({ tokenManagerType, tokenAddress, from, to, amount, }: TokenHandlerTransferTokenFromArgs) => readonly [bigint, `0x${string}`, `0x${string}`, `0x${string}`, bigint]; data: ({ tokenManagerType, tokenAddress, from, to, amount, }: TokenHandlerTransferTokenFromArgs) => `0x${string}`; }; };