/** * 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 ADAPTOR_ADD_RECEIPT_DISCRIMINATOR: Uint8Array; export declare function getAdaptorAddReceiptDiscriminatorBytes(): ReadonlyUint8Array; export type AdaptorAddReceipt = { discriminator: ReadonlyUint8Array; /** The vault associated with this strategy. */ vault: Address; /** The adapter program address. */ adaptorProgram: Address; /** A version number (1 byte). */ version: number; /** The bump for the adaptor add receipt. */ bump: number; /** 7 bytes of padding to align future 8-byte fields on 8-byte boundaries. */ padding0: ReadonlyUint8Array; /** The epoch at which the strategy was last updated. */ lastUpdatedEpoch: bigint; /** Reserved space for future fields */ reserved: ReadonlyUint8Array; }; export type AdaptorAddReceiptArgs = { /** The vault associated with this strategy. */ vault: Address; /** The adapter program address. */ adaptorProgram: Address; /** A version number (1 byte). */ version: number; /** The bump for the adaptor add receipt. */ bump: number; /** 7 bytes of padding to align future 8-byte fields on 8-byte boundaries. */ padding0: ReadonlyUint8Array; /** The epoch at which the strategy was last updated. */ lastUpdatedEpoch: number | bigint; /** Reserved space for future fields */ reserved: ReadonlyUint8Array; }; /** Gets the encoder for {@link AdaptorAddReceiptArgs} account data. */ export declare function getAdaptorAddReceiptEncoder(): FixedSizeEncoder; /** Gets the decoder for {@link AdaptorAddReceipt} account data. */ export declare function getAdaptorAddReceiptDecoder(): FixedSizeDecoder; /** Gets the codec for {@link AdaptorAddReceipt} account data. */ export declare function getAdaptorAddReceiptCodec(): FixedSizeCodec; export declare function decodeAdaptorAddReceipt(encodedAccount: EncodedAccount): Account; export declare function decodeAdaptorAddReceipt(encodedAccount: MaybeEncodedAccount): MaybeAccount; export declare function fetchAdaptorAddReceipt(rpc: Parameters[0], address: Address, config?: FetchAccountConfig): Promise>; export declare function fetchMaybeAdaptorAddReceipt(rpc: Parameters[0], address: Address, config?: FetchAccountConfig): Promise>; export declare function fetchAllAdaptorAddReceipt(rpc: Parameters[0], addresses: Array
, config?: FetchAccountsConfig): Promise[]>; export declare function fetchAllMaybeAdaptorAddReceipt(rpc: Parameters[0], addresses: Array
, config?: FetchAccountsConfig): Promise[]>; export declare function getAdaptorAddReceiptSize(): number; //# sourceMappingURL=adaptorAddReceipt.d.ts.map