/** * 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 FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type ReadonlyUint8Array } from "@solana/kit"; export type VaultConfiguration = { /** The maximum total amount allowed in the vault. */ maxCap: bigint; /** active from timestamp */ startAtTs: bigint; /** The locked profit degradation duration. */ lockedProfitDegradationDuration: bigint; /** The waiting period for a withdrawal. prec: seconds */ withdrawalWaitingPeriod: bigint; /** Reserved bytes for future use. */ disabledOperations: number; /** Reserved bytes for future use. */ reserved: ReadonlyUint8Array; }; export type VaultConfigurationArgs = { /** The maximum total amount allowed in the vault. */ maxCap: number | bigint; /** active from timestamp */ startAtTs: number | bigint; /** The locked profit degradation duration. */ lockedProfitDegradationDuration: number | bigint; /** The waiting period for a withdrawal. prec: seconds */ withdrawalWaitingPeriod: number | bigint; /** Reserved bytes for future use. */ disabledOperations: number; /** Reserved bytes for future use. */ reserved: ReadonlyUint8Array; }; export declare function getVaultConfigurationEncoder(): FixedSizeEncoder; export declare function getVaultConfigurationDecoder(): FixedSizeDecoder; export declare function getVaultConfigurationCodec(): FixedSizeCodec; //# sourceMappingURL=vaultConfiguration.d.ts.map