/** * 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 { type AccountMeta, type AccountSignerMeta, type Address, type Codec, type Decoder, type Encoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from "@solana/kit"; import { SCOPE_PROGRAM_ADDRESS } from "../programs"; export declare const RESUME_CHAINLINKX_PRICE_DISCRIMINATOR: Uint8Array; export declare function getResumeChainlinkxPriceDiscriminatorBytes(): ReadonlyUint8Array; export type ResumeChainlinkxPriceInstruction = string, TAccountConfiguration extends string | AccountMeta = string, TAccountOraclePrices extends string | AccountMeta = string, TAccountOracleMappings extends string | AccountMeta = string, TAccountTokensMetadata extends string | AccountMeta = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountAuthority extends string ? ReadonlySignerAccount & AccountSignerMeta : TAccountAuthority, TAccountConfiguration extends string ? ReadonlyAccount : TAccountConfiguration, TAccountOraclePrices extends string ? WritableAccount : TAccountOraclePrices, TAccountOracleMappings extends string ? ReadonlyAccount : TAccountOracleMappings, TAccountTokensMetadata extends string ? ReadonlyAccount : TAccountTokensMetadata, ...TRemainingAccounts ]>; export type ResumeChainlinkxPriceInstructionData = { discriminator: ReadonlyUint8Array; token: number; feedName: string; }; export type ResumeChainlinkxPriceInstructionDataArgs = { token: number; feedName: string; }; export declare function getResumeChainlinkxPriceInstructionDataEncoder(): Encoder; export declare function getResumeChainlinkxPriceInstructionDataDecoder(): Decoder; export declare function getResumeChainlinkxPriceInstructionDataCodec(): Codec; export type ResumeChainlinkxPriceInput = { authority: TransactionSigner; configuration: Address; oraclePrices: Address; oracleMappings: Address; tokensMetadata: Address; token: ResumeChainlinkxPriceInstructionDataArgs["token"]; feedName: ResumeChainlinkxPriceInstructionDataArgs["feedName"]; }; export declare function getResumeChainlinkxPriceInstruction(input: ResumeChainlinkxPriceInput, config?: { programAddress?: TProgramAddress; }): ResumeChainlinkxPriceInstruction; export type ParsedResumeChainlinkxPriceInstruction = { programAddress: Address; accounts: { authority: TAccountMetas[0]; configuration: TAccountMetas[1]; oraclePrices: TAccountMetas[2]; oracleMappings: TAccountMetas[3]; tokensMetadata: TAccountMetas[4]; }; data: ResumeChainlinkxPriceInstructionData; }; export declare function parseResumeChainlinkxPriceInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedResumeChainlinkxPriceInstruction; //# sourceMappingURL=resumeChainlinkxPrice.d.ts.map