/** * 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 WritableAccount } from "@solana/kit"; import { type InstructionAccountInput, type InstructionAccountInputAddress, type InstructionSignerInput, type ResolvedInstructionAccountMeta } from "@solana/kit/program-client-core"; import { PHYGITAL_TOKEN_PROGRAM_ADDRESS } from "../programs/index.js"; import { type Secp256r1VerifyArgs, type Secp256r1VerifyArgsArgs } from "../types/index.js"; export declare const SET_OWNER_DISCRIMINATOR: ReadonlyUint8Array; export declare function getSetOwnerDiscriminatorBytes(): ReadonlyUint8Array; export type SetOwnerInstruction = string, TAccountPhygitalToken extends string | AccountMeta = string, TAccountSlotHashes extends string | AccountMeta = "SysvarS1otHashes111111111111111111111111111", TAccountInstructionsSysvar extends string | AccountMeta = "Sysvar1nstructions1111111111111111111111111", TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountRecipient extends string ? ReadonlySignerAccount & AccountSignerMeta : TAccountRecipient, TAccountPhygitalToken extends string ? WritableAccount : TAccountPhygitalToken, TAccountSlotHashes extends string ? ReadonlyAccount : TAccountSlotHashes, TAccountInstructionsSysvar extends string ? ReadonlyAccount : TAccountInstructionsSysvar, ...TRemainingAccounts ]>; export type SetOwnerInstructionData = { discriminator: ReadonlyUint8Array; secp256r1VerifyArgs: Secp256r1VerifyArgs; slotNumber: bigint; }; export type SetOwnerInstructionDataArgs = { secp256r1VerifyArgs: Secp256r1VerifyArgsArgs; slotNumber: number | bigint; }; export declare function getSetOwnerInstructionDataEncoder(): Encoder; export declare function getSetOwnerInstructionDataDecoder(): Decoder; export declare function getSetOwnerInstructionDataCodec(): Codec; export type SetOwnerInput = { recipient: TAccountRecipient; phygitalToken: TAccountPhygitalToken; slotHashes?: TAccountSlotHashes; instructionsSysvar?: TAccountInstructionsSysvar; secp256r1VerifyArgs: SetOwnerInstructionDataArgs["secp256r1VerifyArgs"]; slotNumber: SetOwnerInstructionDataArgs["slotNumber"]; }; export declare function getSetOwnerInstruction(input: SetOwnerInput, config?: { programAddress?: TProgramAddress | { readonly address: TProgramAddress; }; }): SetOwnerInstruction>, ResolvedInstructionAccountMeta>, ResolvedInstructionAccountMeta>, ResolvedInstructionAccountMeta>>; export type ParsedSetOwnerInstruction = { programAddress: Address; accounts: { recipient: TAccountMetas[0]; phygitalToken: TAccountMetas[1]; slotHashes: TAccountMetas[2]; instructionsSysvar: TAccountMetas[3]; }; data: SetOwnerInstructionData; }; export declare function parseSetOwnerInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedSetOwnerInstruction; //# sourceMappingURL=setOwner.d.ts.map