/** * 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 Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder } from "@solana/kit"; export type InstantWithdrawStrategyEvent = { user: Address; amount: bigint; isAmountInLp: boolean; isWithdrawAll: boolean; userAmountAssetWithdrawn: bigint; userAmountLpBurned: bigint; vault: Address; strategy: Address; strategyInitReceipt: Address; directWithdrawInitReceipt: Address; adaptorProgram: Address; vaultAssetMint: Address; vaultAssetTotalValueUnlockedBefore: bigint; vaultAssetTotalValueBefore: bigint; vaultAssetTotalValueAfter: bigint; vaultLpSupplyInclFeesBefore: bigint; vaultLpSupplyInclFeesAfter: bigint; vaultLpTotalAccumulatedFeesBefore: bigint; vaultLpTotalAccumulatedFeesAfter: bigint; vaultLpDeadWeightBefore: bigint; vaultLpDeadWeightAfter: bigint; vaultHighestAssetPerLpDecimalBitsBefore: bigint; vaultHighestAssetPerLpDecimalBitsAfter: bigint; strategyPositionValueBefore: bigint; strategyPositionValueAfter: bigint; withdrawnTs: bigint; }; export type InstantWithdrawStrategyEventArgs = { user: Address; amount: number | bigint; isAmountInLp: boolean; isWithdrawAll: boolean; userAmountAssetWithdrawn: number | bigint; userAmountLpBurned: number | bigint; vault: Address; strategy: Address; strategyInitReceipt: Address; directWithdrawInitReceipt: Address; adaptorProgram: Address; vaultAssetMint: Address; vaultAssetTotalValueUnlockedBefore: number | bigint; vaultAssetTotalValueBefore: number | bigint; vaultAssetTotalValueAfter: number | bigint; vaultLpSupplyInclFeesBefore: number | bigint; vaultLpSupplyInclFeesAfter: number | bigint; vaultLpTotalAccumulatedFeesBefore: number | bigint; vaultLpTotalAccumulatedFeesAfter: number | bigint; vaultLpDeadWeightBefore: number | bigint; vaultLpDeadWeightAfter: number | bigint; vaultHighestAssetPerLpDecimalBitsBefore: number | bigint; vaultHighestAssetPerLpDecimalBitsAfter: number | bigint; strategyPositionValueBefore: number | bigint; strategyPositionValueAfter: number | bigint; withdrawnTs: number | bigint; }; export declare function getInstantWithdrawStrategyEventEncoder(): FixedSizeEncoder; export declare function getInstantWithdrawStrategyEventDecoder(): FixedSizeDecoder; export declare function getInstantWithdrawStrategyEventCodec(): FixedSizeCodec; //# sourceMappingURL=instantWithdrawStrategyEvent.d.ts.map