/** * 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 HasAddress, type MaybeAccount, type MaybeEncodedAccount, type ReadonlyUint8Array } from "@solana/kit"; import { type Secp256r1Pubkey, type Secp256r1PubkeyArgs } from "../types/index.js"; export declare const PHYGITAL_TOKEN_DISCRIMINATOR: ReadonlyUint8Array; export declare function getPhygitalTokenDiscriminatorBytes(): ReadonlyUint8Array; export type PhygitalToken = { discriminator: ReadonlyUint8Array; owner: Address; mint: Address; lastSignCount: number; tokenType: number; bump: number; publicKey: Secp256r1Pubkey; identifier: Secp256r1Pubkey; }; export type PhygitalTokenArgs = { owner: Address | HasAddress; mint: Address | HasAddress; lastSignCount: number; tokenType: number; bump: number; publicKey: Secp256r1PubkeyArgs; identifier: Secp256r1PubkeyArgs; }; /** Gets the encoder for {@link PhygitalTokenArgs} account data. */ export declare function getPhygitalTokenEncoder(): FixedSizeEncoder; /** Gets the decoder for {@link PhygitalToken} account data. */ export declare function getPhygitalTokenDecoder(): FixedSizeDecoder; /** Gets the codec for {@link PhygitalToken} account data. */ export declare function getPhygitalTokenCodec(): FixedSizeCodec; export declare function decodePhygitalToken(encodedAccount: EncodedAccount): Account; export declare function decodePhygitalToken(encodedAccount: MaybeEncodedAccount): MaybeAccount; export declare function fetchPhygitalToken(rpc: Parameters[0], address: Address | HasAddress, config?: FetchAccountConfig): Promise>; export declare function fetchMaybePhygitalToken(rpc: Parameters[0], address: Address | HasAddress, config?: FetchAccountConfig): Promise>; export declare function fetchAllPhygitalToken(rpc: Parameters[0], addresses: Array
, config?: FetchAccountsConfig): Promise[]>; export declare function fetchAllMaybePhygitalToken(rpc: Parameters[0], addresses: Array
, config?: FetchAccountsConfig): Promise[]>; export declare function getPhygitalTokenSize(): number; //# sourceMappingURL=phygitalToken.d.ts.map