/** * 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 FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from "@solana/kit"; import { VOLTR_VAULT_PROGRAM_ADDRESS } from "../programs"; export declare const REMOVE_ADAPTOR_DISCRIMINATOR: Uint8Array; export declare function getRemoveAdaptorDiscriminatorBytes(): ReadonlyUint8Array; export type RemoveAdaptorInstruction = string, TAccountProtocol extends string | AccountMeta = string, TAccountVault extends string | AccountMeta = string, TAccountAdaptorAddReceipt extends string | AccountMeta = string, TAccountAdaptorProgram extends string | AccountMeta = string, TAccountSystemProgram extends string | AccountMeta = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountAdmin extends string ? WritableSignerAccount & AccountSignerMeta : TAccountAdmin, TAccountProtocol extends string ? ReadonlyAccount : TAccountProtocol, TAccountVault extends string ? WritableAccount : TAccountVault, TAccountAdaptorAddReceipt extends string ? WritableAccount : TAccountAdaptorAddReceipt, TAccountAdaptorProgram extends string ? ReadonlyAccount : TAccountAdaptorProgram, TAccountSystemProgram extends string ? ReadonlyAccount : TAccountSystemProgram, ...TRemainingAccounts ]>; export type RemoveAdaptorInstructionData = { discriminator: ReadonlyUint8Array; }; export type RemoveAdaptorInstructionDataArgs = {}; export declare function getRemoveAdaptorInstructionDataEncoder(): FixedSizeEncoder; export declare function getRemoveAdaptorInstructionDataDecoder(): FixedSizeDecoder; export declare function getRemoveAdaptorInstructionDataCodec(): FixedSizeCodec; export type RemoveAdaptorAsyncInput = { admin: TransactionSigner; protocol?: Address; vault: Address; adaptorAddReceipt?: Address; adaptorProgram: Address; systemProgram?: Address; }; export declare function getRemoveAdaptorInstructionAsync(input: RemoveAdaptorAsyncInput, config?: { programAddress?: TProgramAddress; }): Promise>; export type RemoveAdaptorInput = { admin: TransactionSigner; protocol: Address; vault: Address; adaptorAddReceipt: Address; adaptorProgram: Address; systemProgram?: Address; }; export declare function getRemoveAdaptorInstruction(input: RemoveAdaptorInput, config?: { programAddress?: TProgramAddress; }): RemoveAdaptorInstruction; export type ParsedRemoveAdaptorInstruction = { programAddress: Address; accounts: { admin: TAccountMetas[0]; protocol: TAccountMetas[1]; vault: TAccountMetas[2]; adaptorAddReceipt: TAccountMetas[3]; adaptorProgram: TAccountMetas[4]; systemProgram: TAccountMetas[5]; }; data: RemoveAdaptorInstructionData; }; export declare function parseRemoveAdaptorInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedRemoveAdaptorInstruction; //# sourceMappingURL=removeAdaptor.d.ts.map