UNPKG

@kamino-finance/kliquidity-sdk

Version:

Typescript SDK for interacting with the Kamino Liquidity (kliquidity) protocol

68 lines 2.65 kB
/** * 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 } from '@solana/kit'; export declare enum StrategyConfigOption { UpdateDepositCap = 0, UpdateDepositCapIxn = 1, UpdateWithdrawalCapACapacity = 2, UpdateWithdrawalCapAInterval = 3, UpdateWithdrawalCapACurrentTotal = 4, UpdateWithdrawalCapBCapacity = 5, UpdateWithdrawalCapBInterval = 6, UpdateWithdrawalCapBCurrentTotal = 7, UpdateMaxDeviationBps = 8, UpdateSwapVaultMaxSlippage = 9, UpdateStrategyType = 10, UpdateDepositFee = 11, UpdateWithdrawFee = 12, UpdateCollectFeesFee = 13, UpdateReward0Fee = 14, UpdateReward1Fee = 15, UpdateReward2Fee = 16, UpdateAdminAuthority = 17, KaminoRewardIndex0TS = 18, KaminoRewardIndex1TS = 19, KaminoRewardIndex2TS = 20, KaminoRewardIndex0RewardPerSecond = 21, KaminoRewardIndex1RewardPerSecond = 22, KaminoRewardIndex2RewardPerSecond = 23, UpdateDepositBlocked = 24, UpdateRaydiumProtocolPositionOrBaseVaultAuthority = 25, UpdateRaydiumPoolConfigOrBaseVaultAuthority = 26, UpdateInvestBlocked = 27, UpdateWithdrawBlocked = 28, UpdateLocalAdminBlocked = 29, DeprecatedUpdateCollateralIdA = 30, DeprecatedUpdateCollateralIdB = 31, UpdateFlashVaultSwap = 32, AllowDepositWithoutInvest = 33, UpdateSwapVaultMaxSlippageFromRef = 34, ResetReferencePrices = 35, UpdateStrategyCreationState = 36, UpdateIsCommunity = 37, UpdateRebalanceType = 38, UpdateRebalanceParams = 39, UpdateDepositMintingMethod = 40, UpdateLookupTable = 41, UpdateReferencePriceType = 42, UpdateReward0Amount = 43, UpdateReward1Amount = 44, UpdateReward2Amount = 45, UpdateFarm = 46, UpdateRebalancesCapCapacity = 47, UpdateRebalancesCapInterval = 48, UpdateRebalancesCapCurrentTotal = 49, UpdateSwapUnevenAuthority = 50, UpdatePendingStrategyAdmin = 51, UpdateMaxDeviationFromRefPriceOnInvestBps = 52 } export type StrategyConfigOptionArgs = StrategyConfigOption; export declare function getStrategyConfigOptionEncoder(): FixedSizeEncoder<StrategyConfigOptionArgs>; export declare function getStrategyConfigOptionDecoder(): FixedSizeDecoder<StrategyConfigOption>; export declare function getStrategyConfigOptionCodec(): FixedSizeCodec<StrategyConfigOptionArgs, StrategyConfigOption>; //# sourceMappingURL=strategyConfigOption.d.ts.map