/** * 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 { fetchEncodedAccount, fetchEncodedAccounts, type Account, type Address, type EncodedAccount, type FetchAccountConfig, type FetchAccountsConfig, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type MaybeAccount, type MaybeEncodedAccount, type ReadonlyUint8Array } from "@solana/kit"; export declare const CLAIM_STATUS_DISCRIMINATOR: Uint8Array; export declare function getClaimStatusDiscriminatorBytes(): ReadonlyUint8Array; /** Holds whether or not a claimant has claimed tokens. */ export type ClaimStatus = { discriminator: ReadonlyUint8Array; /** Authority that claimed the tokens. */ claimant: Address; /** Locked amount */ lockedAmount: bigint; /** Locked amount withdrawn */ lockedAmountWithdrawn: bigint; /** Unlocked amount */ unlockedAmount: bigint; /** Unlocked amount claimed */ unlockedAmountClaimed: bigint; /** indicate that whether admin can close this account, for testing purpose */ closable: boolean; /** admin of merkle tree, store for for testing purpose */ distributor: Address; }; export type ClaimStatusArgs = { /** Authority that claimed the tokens. */ claimant: Address; /** Locked amount */ lockedAmount: number | bigint; /** Locked amount withdrawn */ lockedAmountWithdrawn: number | bigint; /** Unlocked amount */ unlockedAmount: number | bigint; /** Unlocked amount claimed */ unlockedAmountClaimed: number | bigint; /** indicate that whether admin can close this account, for testing purpose */ closable: boolean; /** admin of merkle tree, store for for testing purpose */ distributor: Address; }; /** Gets the encoder for {@link ClaimStatusArgs} account data. */ export declare function getClaimStatusEncoder(): FixedSizeEncoder; /** Gets the decoder for {@link ClaimStatus} account data. */ export declare function getClaimStatusDecoder(): FixedSizeDecoder; /** Gets the codec for {@link ClaimStatus} account data. */ export declare function getClaimStatusCodec(): FixedSizeCodec; export declare function decodeClaimStatus(encodedAccount: EncodedAccount): Account; export declare function decodeClaimStatus(encodedAccount: MaybeEncodedAccount): MaybeAccount; export declare function fetchClaimStatus(rpc: Parameters[0], address: Address, config?: FetchAccountConfig): Promise>; export declare function fetchMaybeClaimStatus(rpc: Parameters[0], address: Address, config?: FetchAccountConfig): Promise>; export declare function fetchAllClaimStatus(rpc: Parameters[0], addresses: Array
, config?: FetchAccountsConfig): Promise[]>; export declare function fetchAllMaybeClaimStatus(rpc: Parameters[0], addresses: Array
, config?: FetchAccountsConfig): Promise[]>; export declare function getClaimStatusSize(): number; //# sourceMappingURL=claimStatus.d.ts.map