/** * 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 ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from "@solana/kit"; import { VOLTR_VAULT_PROGRAM_ADDRESS } from "../programs"; import { type ProtocolFeeField, type ProtocolFeeFieldArgs } from "../types"; export declare const UPDATE_VAULT_PROTOCOL_FEE_DISCRIMINATOR: Uint8Array; export declare function getUpdateVaultProtocolFeeDiscriminatorBytes(): ReadonlyUint8Array; export type UpdateVaultProtocolFeeInstruction = string, TAccountProtocol extends string | AccountMeta = string, TAccountVault extends string | AccountMeta = string, TAccountVaultLpMint extends string | AccountMeta = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountAdmin extends string ? ReadonlySignerAccount & AccountSignerMeta : TAccountAdmin, TAccountProtocol extends string ? ReadonlyAccount : TAccountProtocol, TAccountVault extends string ? WritableAccount : TAccountVault, TAccountVaultLpMint extends string ? WritableAccount : TAccountVaultLpMint, ...TRemainingAccounts ]>; export type UpdateVaultProtocolFeeInstructionData = { discriminator: ReadonlyUint8Array; field: ProtocolFeeField; feeBps: number; }; export type UpdateVaultProtocolFeeInstructionDataArgs = { field: ProtocolFeeFieldArgs; feeBps: number; }; export declare function getUpdateVaultProtocolFeeInstructionDataEncoder(): FixedSizeEncoder; export declare function getUpdateVaultProtocolFeeInstructionDataDecoder(): FixedSizeDecoder; export declare function getUpdateVaultProtocolFeeInstructionDataCodec(): FixedSizeCodec; export type UpdateVaultProtocolFeeAsyncInput = { admin: TransactionSigner; protocol?: Address; vault: Address; vaultLpMint?: Address; field: UpdateVaultProtocolFeeInstructionDataArgs["field"]; feeBps: UpdateVaultProtocolFeeInstructionDataArgs["feeBps"]; }; export declare function getUpdateVaultProtocolFeeInstructionAsync(input: UpdateVaultProtocolFeeAsyncInput, config?: { programAddress?: TProgramAddress; }): Promise>; export type UpdateVaultProtocolFeeInput = { admin: TransactionSigner; protocol: Address; vault: Address; vaultLpMint: Address; field: UpdateVaultProtocolFeeInstructionDataArgs["field"]; feeBps: UpdateVaultProtocolFeeInstructionDataArgs["feeBps"]; }; export declare function getUpdateVaultProtocolFeeInstruction(input: UpdateVaultProtocolFeeInput, config?: { programAddress?: TProgramAddress; }): UpdateVaultProtocolFeeInstruction; export type ParsedUpdateVaultProtocolFeeInstruction = { programAddress: Address; accounts: { admin: TAccountMetas[0]; protocol: TAccountMetas[1]; vault: TAccountMetas[2]; vaultLpMint: TAccountMetas[3]; }; data: UpdateVaultProtocolFeeInstructionData; }; export declare function parseUpdateVaultProtocolFeeInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedUpdateVaultProtocolFeeInstruction; //# sourceMappingURL=updateVaultProtocolFee.d.ts.map