/** * 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 { Account, Address, EncodedAccount, FetchAccountConfig, FetchAccountsConfig, FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder, MaybeAccount, MaybeEncodedAccount, ReadonlyUint8Array } from "@solana/kit"; import { fetchEncodedAccount, fetchEncodedAccounts } from "@solana/kit"; export declare const FEE_TIER_DISCRIMINATOR: ReadonlyUint8Array; export declare function getFeeTierDiscriminatorBytes(): ReadonlyUint8Array; export interface FeeTier { discriminator: ReadonlyUint8Array; whirlpoolsConfig: Address; tickSpacing: number; defaultFeeRate: number; } export interface FeeTierArgs { whirlpoolsConfig: Address; tickSpacing: number; defaultFeeRate: number; } /** Gets the encoder for {@link FeeTierArgs} account data. */ export declare function getFeeTierEncoder(): FixedSizeEncoder; /** Gets the decoder for {@link FeeTier} account data. */ export declare function getFeeTierDecoder(): FixedSizeDecoder; /** Gets the codec for {@link FeeTier} account data. */ export declare function getFeeTierCodec(): FixedSizeCodec; export declare function decodeFeeTier(encodedAccount: EncodedAccount): Account; export declare function decodeFeeTier(encodedAccount: MaybeEncodedAccount): MaybeAccount; export declare function fetchFeeTier(rpc: Parameters[0], address: Address, config?: FetchAccountConfig): Promise>; export declare function fetchMaybeFeeTier(rpc: Parameters[0], address: Address, config?: FetchAccountConfig): Promise>; export declare function fetchAllFeeTier(rpc: Parameters[0], addresses: Address[], config?: FetchAccountsConfig): Promise[]>; export declare function fetchAllMaybeFeeTier(rpc: Parameters[0], addresses: Address[], config?: FetchAccountsConfig): Promise[]>; //# sourceMappingURL=feeTier.d.ts.map