/** * 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 STRATEGY_INIT_RECEIPT_DISCRIMINATOR: Uint8Array; export declare function getStrategyInitReceiptDiscriminatorBytes(): ReadonlyUint8Array; export type StrategyInitReceipt = { discriminator: ReadonlyUint8Array; /** The vault associated with this strategy. */ vault: Address; /** The strategy address. */ strategy: Address; /** The adaptor program address. */ adaptorProgram: Address; /** The position value. */ positionValue: bigint; /** The last updated timestamp. */ lastUpdatedTs: bigint; /** A version number (1 byte). */ version: number; /** The bump for the strategy init receipt. */ bump: number; /** The bump for the vault strategy auth. */ vaultStrategyAuthBump: number; /** 6 bytes of padding to align future 8-byte fields on 8-byte boundaries. */ padding0: ReadonlyUint8Array; /** Reserved space for future fields */ reserved: ReadonlyUint8Array; }; export type StrategyInitReceiptArgs = { /** The vault associated with this strategy. */ vault: Address; /** The strategy address. */ strategy: Address; /** The adaptor program address. */ adaptorProgram: Address; /** The position value. */ positionValue: number | bigint; /** The last updated timestamp. */ lastUpdatedTs: number | bigint; /** A version number (1 byte). */ version: number; /** The bump for the strategy init receipt. */ bump: number; /** The bump for the vault strategy auth. */ vaultStrategyAuthBump: number; /** 6 bytes of padding to align future 8-byte fields on 8-byte boundaries. */ padding0: ReadonlyUint8Array; /** Reserved space for future fields */ reserved: ReadonlyUint8Array; }; /** Gets the encoder for {@link StrategyInitReceiptArgs} account data. */ export declare function getStrategyInitReceiptEncoder(): FixedSizeEncoder; /** Gets the decoder for {@link StrategyInitReceipt} account data. */ export declare function getStrategyInitReceiptDecoder(): FixedSizeDecoder; /** Gets the codec for {@link StrategyInitReceipt} account data. */ export declare function getStrategyInitReceiptCodec(): FixedSizeCodec; export declare function decodeStrategyInitReceipt(encodedAccount: EncodedAccount): Account; export declare function decodeStrategyInitReceipt(encodedAccount: MaybeEncodedAccount): MaybeAccount; export declare function fetchStrategyInitReceipt(rpc: Parameters[0], address: Address, config?: FetchAccountConfig): Promise>; export declare function fetchMaybeStrategyInitReceipt(rpc: Parameters[0], address: Address, config?: FetchAccountConfig): Promise>; export declare function fetchAllStrategyInitReceipt(rpc: Parameters[0], addresses: Array
, config?: FetchAccountsConfig): Promise[]>; export declare function fetchAllMaybeStrategyInitReceipt(rpc: Parameters[0], addresses: Array
, config?: FetchAccountsConfig): Promise[]>; export declare function getStrategyInitReceiptSize(): number; //# sourceMappingURL=strategyInitReceipt.d.ts.map