/** * This code was AUTOGENERATED using the Codama library. * Please DO NOT EDIT THIS FILE, instead use visitors * to add features, then rerun Codama to update it. * * @see https://github.com/codama-idl/codama */ import type { Address, FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder } from "@solana/kit"; export interface Traded { whirlpool: Address; aToB: boolean; preSqrtPrice: bigint; postSqrtPrice: bigint; inputAmount: bigint; outputAmount: bigint; inputTransferFee: bigint; outputTransferFee: bigint; lpFee: bigint; protocolFee: bigint; } export interface TradedArgs { whirlpool: Address; aToB: boolean; preSqrtPrice: number | bigint; postSqrtPrice: number | bigint; inputAmount: number | bigint; outputAmount: number | bigint; inputTransferFee: number | bigint; outputTransferFee: number | bigint; lpFee: number | bigint; protocolFee: number | bigint; } export declare function getTradedEncoder(): FixedSizeEncoder; export declare function getTradedDecoder(): FixedSizeDecoder; export declare function getTradedCodec(): FixedSizeCodec; //# sourceMappingURL=traded.d.ts.map