/** * 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 ReadonlyUint8Array } from '@solana/kit'; import { type ParsedBuyInstruction, type ParsedCreateCampaignInstruction, type ParsedGrantRoleInstruction, type ParsedInitializeConfigInstruction, type ParsedRevokeRoleInstruction, type ParsedUpdateCampaignInstruction, type ParsedUpdateCampaignMetadataInstruction, type ParsedUpdateConfigInstruction } from '../instructions'; export declare const MOONSHOT_BLINDBOX_SMART_CONTRACT_PROGRAM_ADDRESS: Address<"CEqRYLCkBsYoPBwSNsEiX12D3NGeTCWPtM95DAo6qt1U">; export declare enum MoonshotBlindboxSmartContractAccount { Campaign = 0, Capability = 1, Config = 2, NftAuthority = 3, User = 4 } export declare function identifyMoonshotBlindboxSmartContractAccount(account: { data: ReadonlyUint8Array; } | ReadonlyUint8Array): MoonshotBlindboxSmartContractAccount; export declare enum MoonshotBlindboxSmartContractInstruction { Buy = 0, CreateCampaign = 1, GrantRole = 2, InitializeConfig = 3, RevokeRole = 4, UpdateCampaign = 5, UpdateCampaignMetadata = 6, UpdateConfig = 7 } export declare function identifyMoonshotBlindboxSmartContractInstruction(instruction: { data: ReadonlyUint8Array; } | ReadonlyUint8Array): MoonshotBlindboxSmartContractInstruction; export type ParsedMoonshotBlindboxSmartContractInstruction = ({ instructionType: MoonshotBlindboxSmartContractInstruction.Buy; } & ParsedBuyInstruction) | ({ instructionType: MoonshotBlindboxSmartContractInstruction.CreateCampaign; } & ParsedCreateCampaignInstruction) | ({ instructionType: MoonshotBlindboxSmartContractInstruction.GrantRole; } & ParsedGrantRoleInstruction) | ({ instructionType: MoonshotBlindboxSmartContractInstruction.InitializeConfig; } & ParsedInitializeConfigInstruction) | ({ instructionType: MoonshotBlindboxSmartContractInstruction.RevokeRole; } & ParsedRevokeRoleInstruction) | ({ instructionType: MoonshotBlindboxSmartContractInstruction.UpdateCampaign; } & ParsedUpdateCampaignInstruction) | ({ instructionType: MoonshotBlindboxSmartContractInstruction.UpdateCampaignMetadata; } & ParsedUpdateCampaignMetadataInstruction) | ({ instructionType: MoonshotBlindboxSmartContractInstruction.UpdateConfig; } & ParsedUpdateConfigInstruction); //# sourceMappingURL=moonshotBlindboxSmartContract.d.ts.map