/** * 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 Address, type Instruction, type InstructionWithData, type ReadonlyUint8Array } from "@solana/kit"; import { type ParsedApproveAdminCachedInstruction, type ParsedCloseMintMapInstruction, type ParsedCreateMintMapInstruction, type ParsedFreezePriceInstruction, type ParsedInitializeInstruction, type ParsedRefreshChainlinkPriceInstruction, type ParsedRefreshPriceListInstruction, type ParsedRefreshPythLazerPriceInstruction, type ParsedResetTwapInstruction, type ParsedResumeChainlinkxPriceInstruction, type ParsedSetAdminCachedInstruction, type ParsedSetEmergencyCouncilInstruction, type ParsedSetResumeAuthorityInstruction, type ParsedUpdateMappingAndMetadataInstruction } from "../instructions"; export declare const SCOPE_PROGRAM_ADDRESS: Address<"HFn8GnPADiny6XqUoWE8uRPPxb29ikn4yTuPa9MF2fWJ">; export declare enum ScopeAccount { Configuration = 0, MintsToScopeChains = 1, OracleMappings = 2, OraclePrices = 3, OracleTwaps = 4, TokenMetadatas = 5 } export declare function identifyScopeAccount(account: { data: ReadonlyUint8Array; } | ReadonlyUint8Array): ScopeAccount; export declare enum ScopeInstruction { Initialize = 0, RefreshPriceList = 1, RefreshChainlinkPrice = 2, RefreshPythLazerPrice = 3, UpdateMappingAndMetadata = 4, ResetTwap = 5, SetAdminCached = 6, ApproveAdminCached = 7, CreateMintMap = 8, CloseMintMap = 9, ResumeChainlinkxPrice = 10, FreezePrice = 11, SetEmergencyCouncil = 12, SetResumeAuthority = 13 } export declare function identifyScopeInstruction(instruction: { data: ReadonlyUint8Array; } | ReadonlyUint8Array): ScopeInstruction; export type ParsedScopeInstruction = ({ instructionType: ScopeInstruction.Initialize; } & ParsedInitializeInstruction) | ({ instructionType: ScopeInstruction.RefreshPriceList; } & ParsedRefreshPriceListInstruction) | ({ instructionType: ScopeInstruction.RefreshChainlinkPrice; } & ParsedRefreshChainlinkPriceInstruction) | ({ instructionType: ScopeInstruction.RefreshPythLazerPrice; } & ParsedRefreshPythLazerPriceInstruction) | ({ instructionType: ScopeInstruction.UpdateMappingAndMetadata; } & ParsedUpdateMappingAndMetadataInstruction) | ({ instructionType: ScopeInstruction.ResetTwap; } & ParsedResetTwapInstruction) | ({ instructionType: ScopeInstruction.SetAdminCached; } & ParsedSetAdminCachedInstruction) | ({ instructionType: ScopeInstruction.ApproveAdminCached; } & ParsedApproveAdminCachedInstruction) | ({ instructionType: ScopeInstruction.CreateMintMap; } & ParsedCreateMintMapInstruction) | ({ instructionType: ScopeInstruction.CloseMintMap; } & ParsedCloseMintMapInstruction) | ({ instructionType: ScopeInstruction.ResumeChainlinkxPrice; } & ParsedResumeChainlinkxPriceInstruction) | ({ instructionType: ScopeInstruction.FreezePrice; } & ParsedFreezePriceInstruction) | ({ instructionType: ScopeInstruction.SetEmergencyCouncil; } & ParsedSetEmergencyCouncilInstruction) | ({ instructionType: ScopeInstruction.SetResumeAuthority; } & ParsedSetResumeAuthorityInstruction); export declare function parseScopeInstruction(instruction: Instruction & InstructionWithData): ParsedScopeInstruction; //# sourceMappingURL=scope.d.ts.map