/** * 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 { VOLTR_VAULT_PROGRAM_ADDRESS } from "../programs"; import { type VaultConfigField, type VaultConfigFieldArgs } from "../types"; export declare const UPDATE_VAULT_CONFIG_DISCRIMINATOR: Uint8Array; export declare function getUpdateVaultConfigDiscriminatorBytes(): ReadonlyUint8Array; export type UpdateVaultConfigInstruction = string, TAccountProtocol extends string | AccountMeta = string, TAccountVault extends string | AccountMeta = string, TAccountRent extends string | AccountMeta = "SysvarRent111111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountAdmin extends string ? ReadonlySignerAccount & AccountSignerMeta : TAccountAdmin, TAccountProtocol extends string ? ReadonlyAccount : TAccountProtocol, TAccountVault extends string ? WritableAccount : TAccountVault, TAccountRent extends string ? ReadonlyAccount : TAccountRent, ...TRemainingAccounts ]>; export type UpdateVaultConfigInstructionData = { discriminator: ReadonlyUint8Array; field: VaultConfigField; data: ReadonlyUint8Array; }; export type UpdateVaultConfigInstructionDataArgs = { field: VaultConfigFieldArgs; data: ReadonlyUint8Array; }; export declare function getUpdateVaultConfigInstructionDataEncoder(): Encoder; export declare function getUpdateVaultConfigInstructionDataDecoder(): Decoder; export declare function getUpdateVaultConfigInstructionDataCodec(): Codec; export type UpdateVaultConfigAsyncInput = { admin: TransactionSigner; protocol?: Address; vault: Address; rent?: Address; field: UpdateVaultConfigInstructionDataArgs["field"]; data: UpdateVaultConfigInstructionDataArgs["data"]; }; export declare function getUpdateVaultConfigInstructionAsync(input: UpdateVaultConfigAsyncInput, config?: { programAddress?: TProgramAddress; }): Promise>; export type UpdateVaultConfigInput = { admin: TransactionSigner; protocol: Address; vault: Address; rent?: Address; field: UpdateVaultConfigInstructionDataArgs["field"]; data: UpdateVaultConfigInstructionDataArgs["data"]; }; export declare function getUpdateVaultConfigInstruction(input: UpdateVaultConfigInput, config?: { programAddress?: TProgramAddress; }): UpdateVaultConfigInstruction; export type ParsedUpdateVaultConfigInstruction = { programAddress: Address; accounts: { admin: TAccountMetas[0]; protocol: TAccountMetas[1]; vault: TAccountMetas[2]; rent: TAccountMetas[3]; }; data: UpdateVaultConfigInstructionData; }; export declare function parseUpdateVaultConfigInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedUpdateVaultConfigInstruction; //# sourceMappingURL=updateVaultConfig.d.ts.map