/** * 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"; import { type DatedPrice, type DatedPriceArgs } from "../types"; export declare const ORACLE_PRICES_DISCRIMINATOR: Uint8Array; export declare function getOraclePricesDiscriminatorBytes(): ReadonlyUint8Array; export type OraclePrices = { discriminator: ReadonlyUint8Array; oracleMappings: Address; prices: Array; }; export type OraclePricesArgs = { oracleMappings: Address; prices: Array; }; /** Gets the encoder for {@link OraclePricesArgs} account data. */ export declare function getOraclePricesEncoder(): FixedSizeEncoder; /** Gets the decoder for {@link OraclePrices} account data. */ export declare function getOraclePricesDecoder(): FixedSizeDecoder; /** Gets the codec for {@link OraclePrices} account data. */ export declare function getOraclePricesCodec(): FixedSizeCodec; export declare function decodeOraclePrices(encodedAccount: EncodedAccount): Account; export declare function decodeOraclePrices(encodedAccount: MaybeEncodedAccount): MaybeAccount; export declare function fetchOraclePrices(rpc: Parameters[0], address: Address, config?: FetchAccountConfig): Promise>; export declare function fetchMaybeOraclePrices(rpc: Parameters[0], address: Address, config?: FetchAccountConfig): Promise>; export declare function fetchAllOraclePrices(rpc: Parameters[0], addresses: Array
, config?: FetchAccountsConfig): Promise[]>; export declare function fetchAllMaybeOraclePrices(rpc: Parameters[0], addresses: Array
, config?: FetchAccountsConfig): Promise[]>; export declare function getOraclePricesSize(): number; //# sourceMappingURL=oraclePrices.d.ts.map