/** * 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 Codec, type Decoder, type EncodedAccount, type Encoder, type FetchAccountConfig, type FetchAccountsConfig, type MaybeAccount, type MaybeEncodedAccount, type ReadonlyUint8Array } from "@solana/kit"; import { type MintToScopeChain, type MintToScopeChainArgs } from "../types"; export declare const MINTS_TO_SCOPE_CHAINS_DISCRIMINATOR: Uint8Array; export declare function getMintsToScopeChainsDiscriminatorBytes(): ReadonlyUint8Array; /** Map of mints to scope chain only valid for a given price feed */ export type MintsToScopeChains = { discriminator: ReadonlyUint8Array; oraclePrices: Address; seedPk: Address; seedId: bigint; bump: number; mapping: Array; }; export type MintsToScopeChainsArgs = { oraclePrices: Address; seedPk: Address; seedId: number | bigint; bump: number; mapping: Array; }; /** Gets the encoder for {@link MintsToScopeChainsArgs} account data. */ export declare function getMintsToScopeChainsEncoder(): Encoder; /** Gets the decoder for {@link MintsToScopeChains} account data. */ export declare function getMintsToScopeChainsDecoder(): Decoder; /** Gets the codec for {@link MintsToScopeChains} account data. */ export declare function getMintsToScopeChainsCodec(): Codec; export declare function decodeMintsToScopeChains(encodedAccount: EncodedAccount): Account; export declare function decodeMintsToScopeChains(encodedAccount: MaybeEncodedAccount): MaybeAccount; export declare function fetchMintsToScopeChains(rpc: Parameters[0], address: Address, config?: FetchAccountConfig): Promise>; export declare function fetchMaybeMintsToScopeChains(rpc: Parameters[0], address: Address, config?: FetchAccountConfig): Promise>; export declare function fetchAllMintsToScopeChains(rpc: Parameters[0], addresses: Array
, config?: FetchAccountsConfig): Promise[]>; export declare function fetchAllMaybeMintsToScopeChains(rpc: Parameters[0], addresses: Array
, config?: FetchAccountsConfig): Promise[]>; //# sourceMappingURL=mintsToScopeChains.d.ts.map