/** * 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 FREEZE_PRICE_DISCRIMINATOR: Uint8Array; export declare function getFreezePriceDiscriminatorBytes(): ReadonlyUint8Array; export type FreezePriceInstruction = string, TAccountConfiguration extends string | AccountMeta = string, TAccountOracleMappings extends string | AccountMeta = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountAuthority extends string ? ReadonlySignerAccount & AccountSignerMeta : TAccountAuthority, TAccountConfiguration extends string ? ReadonlyAccount : TAccountConfiguration, TAccountOracleMappings extends string ? WritableAccount : TAccountOracleMappings, ...TRemainingAccounts ]>; export type FreezePriceInstructionData = { discriminator: ReadonlyUint8Array; token: number; feedName: string; freeze: boolean; }; export type FreezePriceInstructionDataArgs = { token: number; feedName: string; freeze: boolean; }; export declare function getFreezePriceInstructionDataEncoder(): Encoder; export declare function getFreezePriceInstructionDataDecoder(): Decoder; export declare function getFreezePriceInstructionDataCodec(): Codec; export type FreezePriceInput = { authority: TransactionSigner; configuration: Address; oracleMappings: Address; token: FreezePriceInstructionDataArgs["token"]; feedName: FreezePriceInstructionDataArgs["feedName"]; freeze: FreezePriceInstructionDataArgs["freeze"]; }; export declare function getFreezePriceInstruction(input: FreezePriceInput, config?: { programAddress?: TProgramAddress; }): FreezePriceInstruction; export type ParsedFreezePriceInstruction = { programAddress: Address; accounts: { authority: TAccountMetas[0]; configuration: TAccountMetas[1]; oracleMappings: TAccountMetas[2]; }; data: FreezePriceInstructionData; }; export declare function parseFreezePriceInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedFreezePriceInstruction; //# sourceMappingURL=freezePrice.d.ts.map