@kamino-finance/kliquidity-sdk 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +462 -0
- package/dist/Kamino.d.ts +962 -0
- package/dist/Kamino.js +5116 -0
- package/dist/Kamino.js.map +1 -0
- package/dist/constants/DefaultStrategyConfig.d.ts +6 -0
- package/dist/constants/DefaultStrategyConfig.js +13 -0
- package/dist/constants/DefaultStrategyConfig.js.map +1 -0
- package/dist/constants/deposit_method.d.ts +2 -0
- package/dist/constants/deposit_method.js +6 -0
- package/dist/constants/deposit_method.js.map +1 -0
- package/dist/constants/frontend.d.ts +1 -0
- package/dist/constants/frontend.js +5 -0
- package/dist/constants/frontend.js.map +1 -0
- package/dist/constants/index.d.ts +3 -0
- package/dist/constants/index.js +20 -0
- package/dist/constants/index.js.map +1 -0
- package/dist/constants/metadata.d.ts +3 -0
- package/dist/constants/metadata.js +7 -0
- package/dist/constants/metadata.js.map +1 -0
- package/dist/constants/numericalValues.d.ts +1 -0
- package/dist/constants/numericalValues.js +5 -0
- package/dist/constants/numericalValues.js.map +1 -0
- package/dist/constants/pubkeys.d.ts +10 -0
- package/dist/constants/pubkeys.js +14 -0
- package/dist/constants/pubkeys.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +23 -0
- package/dist/index.js.map +1 -0
- package/dist/kamino-client/accounts/CollateralInfos.d.ts +19 -0
- package/dist/kamino-client/accounts/CollateralInfos.js +96 -0
- package/dist/kamino-client/accounts/CollateralInfos.js.map +1 -0
- package/dist/kamino-client/accounts/GlobalConfig.d.ts +88 -0
- package/dist/kamino-client/accounts/GlobalConfig.js +218 -0
- package/dist/kamino-client/accounts/GlobalConfig.js.map +1 -0
- package/dist/kamino-client/accounts/PersonalPositionState.d.ts +83 -0
- package/dist/kamino-client/accounts/PersonalPositionState.js +156 -0
- package/dist/kamino-client/accounts/PersonalPositionState.js.map +1 -0
- package/dist/kamino-client/accounts/PoolState.d.ts +212 -0
- package/dist/kamino-client/accounts/PoolState.js +281 -0
- package/dist/kamino-client/accounts/PoolState.js.map +1 -0
- package/dist/kamino-client/accounts/Position.d.ts +47 -0
- package/dist/kamino-client/accounts/Position.js +146 -0
- package/dist/kamino-client/accounts/Position.js.map +1 -0
- package/dist/kamino-client/accounts/ProtocolPositionState.d.ts +79 -0
- package/dist/kamino-client/accounts/ProtocolPositionState.js +150 -0
- package/dist/kamino-client/accounts/ProtocolPositionState.js.map +1 -0
- package/dist/kamino-client/accounts/ScopeChainAccount.d.ts +18 -0
- package/dist/kamino-client/accounts/ScopeChainAccount.js +95 -0
- package/dist/kamino-client/accounts/ScopeChainAccount.js.map +1 -0
- package/dist/kamino-client/accounts/TermsSignature.d.ts +18 -0
- package/dist/kamino-client/accounts/TermsSignature.js +95 -0
- package/dist/kamino-client/accounts/TermsSignature.js.map +1 -0
- package/dist/kamino-client/accounts/Whirlpool.d.ts +75 -0
- package/dist/kamino-client/accounts/Whirlpool.js +192 -0
- package/dist/kamino-client/accounts/Whirlpool.js.map +1 -0
- package/dist/kamino-client/accounts/WhirlpoolStrategy.d.ts +317 -0
- package/dist/kamino-client/accounts/WhirlpoolStrategy.js +596 -0
- package/dist/kamino-client/accounts/WhirlpoolStrategy.js.map +1 -0
- package/dist/kamino-client/accounts/index.d.ts +20 -0
- package/dist/kamino-client/accounts/index.js +24 -0
- package/dist/kamino-client/accounts/index.js.map +1 -0
- package/dist/kamino-client/errors/anchor.d.ts +434 -0
- package/dist/kamino-client/errors/anchor.js +713 -0
- package/dist/kamino-client/errors/anchor.js.map +1 -0
- package/dist/kamino-client/errors/custom.d.ts +1258 -0
- package/dist/kamino-client/errors/custom.js +2054 -0
- package/dist/kamino-client/errors/custom.js.map +1 -0
- package/dist/kamino-client/errors/index.d.ts +5 -0
- package/dist/kamino-client/errors/index.js +70 -0
- package/dist/kamino-client/errors/index.js.map +1 -0
- package/dist/kamino-client/idl.json +7186 -0
- package/dist/kamino-client/instructions/addKaminoRewards.d.ts +17 -0
- package/dist/kamino-client/instructions/addKaminoRewards.js +55 -0
- package/dist/kamino-client/instructions/addKaminoRewards.js.map +1 -0
- package/dist/kamino-client/instructions/changePool.d.ts +12 -0
- package/dist/kamino-client/instructions/changePool.js +34 -0
- package/dist/kamino-client/instructions/changePool.js.map +1 -0
- package/dist/kamino-client/instructions/checkExpectedVaultsBalances.d.ts +13 -0
- package/dist/kamino-client/instructions/checkExpectedVaultsBalances.js +51 -0
- package/dist/kamino-client/instructions/checkExpectedVaultsBalances.js.map +1 -0
- package/dist/kamino-client/instructions/closeProgramAccount.d.ts +9 -0
- package/dist/kamino-client/instructions/closeProgramAccount.js +19 -0
- package/dist/kamino-client/instructions/closeProgramAccount.js.map +1 -0
- package/dist/kamino-client/instructions/closeStrategy.d.ts +49 -0
- package/dist/kamino-client/instructions/closeStrategy.js +79 -0
- package/dist/kamino-client/instructions/closeStrategy.js.map +1 -0
- package/dist/kamino-client/instructions/collectFeesAndRewards.d.ts +43 -0
- package/dist/kamino-client/instructions/collectFeesAndRewards.js +71 -0
- package/dist/kamino-client/instructions/collectFeesAndRewards.js.map +1 -0
- package/dist/kamino-client/instructions/deposit.d.ts +33 -0
- package/dist/kamino-client/instructions/deposit.js +79 -0
- package/dist/kamino-client/instructions/deposit.js.map +1 -0
- package/dist/kamino-client/instructions/depositAndInvest.d.ts +42 -0
- package/dist/kamino-client/instructions/depositAndInvest.js +95 -0
- package/dist/kamino-client/instructions/depositAndInvest.js.map +1 -0
- package/dist/kamino-client/instructions/emergencySwap.d.ts +35 -0
- package/dist/kamino-client/instructions/emergencySwap.js +70 -0
- package/dist/kamino-client/instructions/emergencySwap.js.map +1 -0
- package/dist/kamino-client/instructions/executiveWithdraw.d.ts +33 -0
- package/dist/kamino-client/instructions/executiveWithdraw.js +77 -0
- package/dist/kamino-client/instructions/executiveWithdraw.js.map +1 -0
- package/dist/kamino-client/instructions/flashSwapUnevenVaultsEnd.d.ts +40 -0
- package/dist/kamino-client/instructions/flashSwapUnevenVaultsEnd.js +83 -0
- package/dist/kamino-client/instructions/flashSwapUnevenVaultsEnd.js.map +1 -0
- package/dist/kamino-client/instructions/flashSwapUnevenVaultsStart.d.ts +41 -0
- package/dist/kamino-client/instructions/flashSwapUnevenVaultsStart.js +80 -0
- package/dist/kamino-client/instructions/flashSwapUnevenVaultsStart.js.map +1 -0
- package/dist/kamino-client/instructions/index.d.ts +72 -0
- package/dist/kamino-client/instructions/index.js +76 -0
- package/dist/kamino-client/instructions/index.js.map +1 -0
- package/dist/kamino-client/instructions/initializeCollateralInfo.d.ts +8 -0
- package/dist/kamino-client/instructions/initializeCollateralInfo.js +18 -0
- package/dist/kamino-client/instructions/initializeCollateralInfo.js.map +1 -0
- package/dist/kamino-client/instructions/initializeGlobalConfig.d.ts +7 -0
- package/dist/kamino-client/instructions/initializeGlobalConfig.js +17 -0
- package/dist/kamino-client/instructions/initializeGlobalConfig.js.map +1 -0
- package/dist/kamino-client/instructions/initializeKaminoReward.d.ts +20 -0
- package/dist/kamino-client/instructions/initializeKaminoReward.js +58 -0
- package/dist/kamino-client/instructions/initializeKaminoReward.js.map +1 -0
- package/dist/kamino-client/instructions/initializeSharesMetadata.d.ts +19 -0
- package/dist/kamino-client/instructions/initializeSharesMetadata.js +63 -0
- package/dist/kamino-client/instructions/initializeSharesMetadata.js.map +1 -0
- package/dist/kamino-client/instructions/initializeStrategy.d.ts +29 -0
- package/dist/kamino-client/instructions/initializeStrategy.js +67 -0
- package/dist/kamino-client/instructions/initializeStrategy.js.map +1 -0
- package/dist/kamino-client/instructions/insertCollateralInfo.d.ts +14 -0
- package/dist/kamino-client/instructions/insertCollateralInfo.js +52 -0
- package/dist/kamino-client/instructions/insertCollateralInfo.js.map +1 -0
- package/dist/kamino-client/instructions/invest.d.ts +30 -0
- package/dist/kamino-client/instructions/invest.js +52 -0
- package/dist/kamino-client/instructions/invest.js.map +1 -0
- package/dist/kamino-client/instructions/openLiquidityPosition.d.ts +46 -0
- package/dist/kamino-client/instructions/openLiquidityPosition.js +117 -0
- package/dist/kamino-client/instructions/openLiquidityPosition.js.map +1 -0
- package/dist/kamino-client/instructions/orcaSwap.d.ts +30 -0
- package/dist/kamino-client/instructions/orcaSwap.js +71 -0
- package/dist/kamino-client/instructions/orcaSwap.js.map +1 -0
- package/dist/kamino-client/instructions/permisionlessWithdrawFromTreasury.d.ts +11 -0
- package/dist/kamino-client/instructions/permisionlessWithdrawFromTreasury.js +25 -0
- package/dist/kamino-client/instructions/permisionlessWithdrawFromTreasury.js.map +1 -0
- package/dist/kamino-client/instructions/signTerms.d.ts +12 -0
- package/dist/kamino-client/instructions/signTerms.js +48 -0
- package/dist/kamino-client/instructions/signTerms.js.map +1 -0
- package/dist/kamino-client/instructions/singleTokenDepositAndInvestWithMin.d.ts +42 -0
- package/dist/kamino-client/instructions/singleTokenDepositAndInvestWithMin.js +95 -0
- package/dist/kamino-client/instructions/singleTokenDepositAndInvestWithMin.js.map +1 -0
- package/dist/kamino-client/instructions/singleTokenDepositWithMin.d.ts +33 -0
- package/dist/kamino-client/instructions/singleTokenDepositWithMin.js +79 -0
- package/dist/kamino-client/instructions/singleTokenDepositWithMin.js.map +1 -0
- package/dist/kamino-client/instructions/swapRewards.d.ts +37 -0
- package/dist/kamino-client/instructions/swapRewards.js +98 -0
- package/dist/kamino-client/instructions/swapRewards.js.map +1 -0
- package/dist/kamino-client/instructions/swapUnevenVaults.d.ts +42 -0
- package/dist/kamino-client/instructions/swapUnevenVaults.js +82 -0
- package/dist/kamino-client/instructions/swapUnevenVaults.js.map +1 -0
- package/dist/kamino-client/instructions/updateCollateralInfo.d.ts +14 -0
- package/dist/kamino-client/instructions/updateCollateralInfo.js +53 -0
- package/dist/kamino-client/instructions/updateCollateralInfo.js.map +1 -0
- package/dist/kamino-client/instructions/updateGlobalConfig.d.ts +13 -0
- package/dist/kamino-client/instructions/updateGlobalConfig.js +53 -0
- package/dist/kamino-client/instructions/updateGlobalConfig.js.map +1 -0
- package/dist/kamino-client/instructions/updateRewardMapping.d.ts +20 -0
- package/dist/kamino-client/instructions/updateRewardMapping.js +59 -0
- package/dist/kamino-client/instructions/updateRewardMapping.js.map +1 -0
- package/dist/kamino-client/instructions/updateSharesMetadata.d.ts +17 -0
- package/dist/kamino-client/instructions/updateSharesMetadata.js +61 -0
- package/dist/kamino-client/instructions/updateSharesMetadata.js.map +1 -0
- package/dist/kamino-client/instructions/updateStrategyConfig.d.ts +14 -0
- package/dist/kamino-client/instructions/updateStrategyConfig.js +53 -0
- package/dist/kamino-client/instructions/updateStrategyConfig.js.map +1 -0
- package/dist/kamino-client/instructions/updateTreasuryFeeVault.d.ts +17 -0
- package/dist/kamino-client/instructions/updateTreasuryFeeVault.js +57 -0
- package/dist/kamino-client/instructions/updateTreasuryFeeVault.js.map +1 -0
- package/dist/kamino-client/instructions/withdraw.d.ts +38 -0
- package/dist/kamino-client/instructions/withdraw.js +89 -0
- package/dist/kamino-client/instructions/withdraw.js.map +1 -0
- package/dist/kamino-client/instructions/withdrawFromTopup.d.ts +12 -0
- package/dist/kamino-client/instructions/withdrawFromTopup.js +47 -0
- package/dist/kamino-client/instructions/withdrawFromTopup.js.map +1 -0
- package/dist/kamino-client/instructions/withdrawFromTreasury.d.ts +18 -0
- package/dist/kamino-client/instructions/withdrawFromTreasury.js +57 -0
- package/dist/kamino-client/instructions/withdrawFromTreasury.js.map +1 -0
- package/dist/kamino-client/programId.d.ts +4 -0
- package/dist/kamino-client/programId.js +13 -0
- package/dist/kamino-client/programId.js.map +1 -0
- package/dist/kamino-client/types/BalanceStatus.d.ts +31 -0
- package/dist/kamino-client/types/BalanceStatus.js +102 -0
- package/dist/kamino-client/types/BalanceStatus.js.map +1 -0
- package/dist/kamino-client/types/BinAddLiquidityStrategy.d.ts +76 -0
- package/dist/kamino-client/types/BinAddLiquidityStrategy.js +162 -0
- package/dist/kamino-client/types/BinAddLiquidityStrategy.js.map +1 -0
- package/dist/kamino-client/types/CollateralInfo.d.ts +93 -0
- package/dist/kamino-client/types/CollateralInfo.js +152 -0
- package/dist/kamino-client/types/CollateralInfo.js.map +1 -0
- package/dist/kamino-client/types/CollateralInfoParams.d.ts +83 -0
- package/dist/kamino-client/types/CollateralInfoParams.js +140 -0
- package/dist/kamino-client/types/CollateralInfoParams.js.map +1 -0
- package/dist/kamino-client/types/CollateralTestToken.d.ts +369 -0
- package/dist/kamino-client/types/CollateralTestToken.js +778 -0
- package/dist/kamino-client/types/CollateralTestToken.js.map +1 -0
- package/dist/kamino-client/types/CreationStatus.d.ts +70 -0
- package/dist/kamino-client/types/CreationStatus.js +180 -0
- package/dist/kamino-client/types/CreationStatus.js.map +1 -0
- package/dist/kamino-client/types/DEX.d.ts +44 -0
- package/dist/kamino-client/types/DEX.js +128 -0
- package/dist/kamino-client/types/DEX.js.map +1 -0
- package/dist/kamino-client/types/DexSpecificPrice.d.ts +46 -0
- package/dist/kamino-client/types/DexSpecificPrice.js +116 -0
- package/dist/kamino-client/types/DexSpecificPrice.js.map +1 -0
- package/dist/kamino-client/types/DriftDirection.d.ts +31 -0
- package/dist/kamino-client/types/DriftDirection.js +102 -0
- package/dist/kamino-client/types/DriftDirection.js.map +1 -0
- package/dist/kamino-client/types/ExecutiveWithdrawAction.d.ts +44 -0
- package/dist/kamino-client/types/ExecutiveWithdrawAction.js +128 -0
- package/dist/kamino-client/types/ExecutiveWithdrawAction.js.map +1 -0
- package/dist/kamino-client/types/ExpanderStep.d.ts +38 -0
- package/dist/kamino-client/types/ExpanderStep.js +107 -0
- package/dist/kamino-client/types/ExpanderStep.js.map +1 -0
- package/dist/kamino-client/types/GlobalConfigOption.d.ts +304 -0
- package/dist/kamino-client/types/GlobalConfigOption.js +648 -0
- package/dist/kamino-client/types/GlobalConfigOption.js.map +1 -0
- package/dist/kamino-client/types/KaminoRewardInfo.d.ts +63 -0
- package/dist/kamino-client/types/KaminoRewardInfo.js +116 -0
- package/dist/kamino-client/types/KaminoRewardInfo.js.map +1 -0
- package/dist/kamino-client/types/LiquidityCalculationMode.d.ts +31 -0
- package/dist/kamino-client/types/LiquidityCalculationMode.js +102 -0
- package/dist/kamino-client/types/LiquidityCalculationMode.js.map +1 -0
- package/dist/kamino-client/types/MintingMethod.d.ts +31 -0
- package/dist/kamino-client/types/MintingMethod.js +102 -0
- package/dist/kamino-client/types/MintingMethod.js.map +1 -0
- package/dist/kamino-client/types/PeriodicRebalanceState.d.ts +22 -0
- package/dist/kamino-client/types/PeriodicRebalanceState.js +65 -0
- package/dist/kamino-client/types/PeriodicRebalanceState.js.map +1 -0
- package/dist/kamino-client/types/PositionRewardInfo.d.ts +27 -0
- package/dist/kamino-client/types/PositionRewardInfo.js +70 -0
- package/dist/kamino-client/types/PositionRewardInfo.js.map +1 -0
- package/dist/kamino-client/types/Price.d.ts +27 -0
- package/dist/kamino-client/types/Price.js +70 -0
- package/dist/kamino-client/types/Price.js.map +1 -0
- package/dist/kamino-client/types/RebalanceAction.d.ts +83 -0
- package/dist/kamino-client/types/RebalanceAction.js +150 -0
- package/dist/kamino-client/types/RebalanceAction.js.map +1 -0
- package/dist/kamino-client/types/RebalanceAutodriftParams.d.ts +75 -0
- package/dist/kamino-client/types/RebalanceAutodriftParams.js +100 -0
- package/dist/kamino-client/types/RebalanceAutodriftParams.js.map +1 -0
- package/dist/kamino-client/types/RebalanceAutodriftState.d.ts +88 -0
- package/dist/kamino-client/types/RebalanceAutodriftState.js +76 -0
- package/dist/kamino-client/types/RebalanceAutodriftState.js.map +1 -0
- package/dist/kamino-client/types/RebalanceAutodriftStep.d.ts +31 -0
- package/dist/kamino-client/types/RebalanceAutodriftStep.js +102 -0
- package/dist/kamino-client/types/RebalanceAutodriftStep.js.map +1 -0
- package/dist/kamino-client/types/RebalanceAutodriftWindow.d.ts +54 -0
- package/dist/kamino-client/types/RebalanceAutodriftWindow.js +98 -0
- package/dist/kamino-client/types/RebalanceAutodriftWindow.js.map +1 -0
- package/dist/kamino-client/types/RebalanceDriftParams.d.ts +50 -0
- package/dist/kamino-client/types/RebalanceDriftParams.js +92 -0
- package/dist/kamino-client/types/RebalanceDriftParams.js.map +1 -0
- package/dist/kamino-client/types/RebalanceDriftState.d.ts +40 -0
- package/dist/kamino-client/types/RebalanceDriftState.js +80 -0
- package/dist/kamino-client/types/RebalanceDriftState.js.map +1 -0
- package/dist/kamino-client/types/RebalanceDriftStep.d.ts +31 -0
- package/dist/kamino-client/types/RebalanceDriftStep.js +102 -0
- package/dist/kamino-client/types/RebalanceDriftStep.js.map +1 -0
- package/dist/kamino-client/types/RebalanceEffects.d.ts +39 -0
- package/dist/kamino-client/types/RebalanceEffects.js +108 -0
- package/dist/kamino-client/types/RebalanceEffects.js.map +1 -0
- package/dist/kamino-client/types/RebalanceExpanderState.d.ts +27 -0
- package/dist/kamino-client/types/RebalanceExpanderState.js +70 -0
- package/dist/kamino-client/types/RebalanceExpanderState.js.map +1 -0
- package/dist/kamino-client/types/RebalanceManualState.d.ts +14 -0
- package/dist/kamino-client/types/RebalanceManualState.js +51 -0
- package/dist/kamino-client/types/RebalanceManualState.js.map +1 -0
- package/dist/kamino-client/types/RebalancePricePercentageState.d.ts +27 -0
- package/dist/kamino-client/types/RebalancePricePercentageState.js +73 -0
- package/dist/kamino-client/types/RebalancePricePercentageState.js.map +1 -0
- package/dist/kamino-client/types/RebalancePricePercentageWithResetState.d.ts +27 -0
- package/dist/kamino-client/types/RebalancePricePercentageWithResetState.js +75 -0
- package/dist/kamino-client/types/RebalancePricePercentageWithResetState.js.map +1 -0
- package/dist/kamino-client/types/RebalanceRaw.d.ts +31 -0
- package/dist/kamino-client/types/RebalanceRaw.js +75 -0
- package/dist/kamino-client/types/RebalanceRaw.js.map +1 -0
- package/dist/kamino-client/types/RebalanceTakeProfitState.d.ts +33 -0
- package/dist/kamino-client/types/RebalanceTakeProfitState.js +62 -0
- package/dist/kamino-client/types/RebalanceTakeProfitState.js.map +1 -0
- package/dist/kamino-client/types/RebalanceTakeProfitStep.d.ts +44 -0
- package/dist/kamino-client/types/RebalanceTakeProfitStep.js +128 -0
- package/dist/kamino-client/types/RebalanceTakeProfitStep.js.map +1 -0
- package/dist/kamino-client/types/RebalanceTakeProfitToken.d.ts +31 -0
- package/dist/kamino-client/types/RebalanceTakeProfitToken.js +99 -0
- package/dist/kamino-client/types/RebalanceTakeProfitToken.js.map +1 -0
- package/dist/kamino-client/types/RebalanceType.d.ts +109 -0
- package/dist/kamino-client/types/RebalanceType.js +258 -0
- package/dist/kamino-client/types/RebalanceType.js.map +1 -0
- package/dist/kamino-client/types/ReferencePriceType.d.ts +31 -0
- package/dist/kamino-client/types/ReferencePriceType.js +102 -0
- package/dist/kamino-client/types/ReferencePriceType.js.map +1 -0
- package/dist/kamino-client/types/RemoveLiquidityMode.d.ts +59 -0
- package/dist/kamino-client/types/RemoveLiquidityMode.js +142 -0
- package/dist/kamino-client/types/RemoveLiquidityMode.js.map +1 -0
- package/dist/kamino-client/types/RewardInfo.d.ts +115 -0
- package/dist/kamino-client/types/RewardInfo.js +128 -0
- package/dist/kamino-client/types/RewardInfo.js.map +1 -0
- package/dist/kamino-client/types/ScopeConversionChain.d.ts +0 -0
- package/dist/kamino-client/types/ScopeConversionChain.js +2 -0
- package/dist/kamino-client/types/ScopeConversionChain.js.map +1 -0
- package/dist/kamino-client/types/ScopePriceIdTest.d.ts +915 -0
- package/dist/kamino-client/types/ScopePriceIdTest.js +1871 -0
- package/dist/kamino-client/types/ScopePriceIdTest.js.map +1 -0
- package/dist/kamino-client/types/SimulationPrice.d.ts +59 -0
- package/dist/kamino-client/types/SimulationPrice.js +142 -0
- package/dist/kamino-client/types/SimulationPrice.js.map +1 -0
- package/dist/kamino-client/types/StakingRateSource.d.ts +31 -0
- package/dist/kamino-client/types/StakingRateSource.js +102 -0
- package/dist/kamino-client/types/StakingRateSource.js.map +1 -0
- package/dist/kamino-client/types/StrategyConfigOption.d.ts +668 -0
- package/dist/kamino-client/types/StrategyConfigOption.js +1377 -0
- package/dist/kamino-client/types/StrategyConfigOption.js.map +1 -0
- package/dist/kamino-client/types/StrategyStatus.d.ts +70 -0
- package/dist/kamino-client/types/StrategyStatus.js +180 -0
- package/dist/kamino-client/types/StrategyStatus.js.map +1 -0
- package/dist/kamino-client/types/StrategyType.d.ts +44 -0
- package/dist/kamino-client/types/StrategyType.js +128 -0
- package/dist/kamino-client/types/StrategyType.js.map +1 -0
- package/dist/kamino-client/types/SwapLimit.d.ts +66 -0
- package/dist/kamino-client/types/SwapLimit.js +138 -0
- package/dist/kamino-client/types/SwapLimit.js.map +1 -0
- package/dist/kamino-client/types/UpdateCollateralInfoMode.d.ts +174 -0
- package/dist/kamino-client/types/UpdateCollateralInfoMode.js +388 -0
- package/dist/kamino-client/types/UpdateCollateralInfoMode.js.map +1 -0
- package/dist/kamino-client/types/WhirlpoolRewardInfo.d.ts +67 -0
- package/dist/kamino-client/types/WhirlpoolRewardInfo.js +92 -0
- package/dist/kamino-client/types/WhirlpoolRewardInfo.js.map +1 -0
- package/dist/kamino-client/types/WithdrawalCapAccumulatorAction.d.ts +31 -0
- package/dist/kamino-client/types/WithdrawalCapAccumulatorAction.js +102 -0
- package/dist/kamino-client/types/WithdrawalCapAccumulatorAction.js.map +1 -0
- package/dist/kamino-client/types/WithdrawalCaps.d.ts +37 -0
- package/dist/kamino-client/types/WithdrawalCaps.js +85 -0
- package/dist/kamino-client/types/WithdrawalCaps.js.map +1 -0
- package/dist/kamino-client/types/index.d.ts +160 -0
- package/dist/kamino-client/types/index.js +127 -0
- package/dist/kamino-client/types/index.js.map +1 -0
- package/dist/meteora_client/accounts/BinArray.d.ts +41 -0
- package/dist/meteora_client/accounts/BinArray.js +127 -0
- package/dist/meteora_client/accounts/BinArray.js.map +1 -0
- package/dist/meteora_client/accounts/BinArrayBitmapExtension.d.ts +31 -0
- package/dist/meteora_client/accounts/BinArrayBitmapExtension.js +110 -0
- package/dist/meteora_client/accounts/BinArrayBitmapExtension.js.map +1 -0
- package/dist/meteora_client/accounts/LbPair.d.ts +179 -0
- package/dist/meteora_client/accounts/LbPair.js +246 -0
- package/dist/meteora_client/accounts/LbPair.js.map +1 -0
- package/dist/meteora_client/accounts/Oracle.d.ts +34 -0
- package/dist/meteora_client/accounts/Oracle.js +109 -0
- package/dist/meteora_client/accounts/Oracle.js.map +1 -0
- package/dist/meteora_client/accounts/Position.d.ts +89 -0
- package/dist/meteora_client/accounts/Position.js +156 -0
- package/dist/meteora_client/accounts/Position.js.map +1 -0
- package/dist/meteora_client/accounts/PositionV2.d.ts +113 -0
- package/dist/meteora_client/accounts/PositionV2.js +177 -0
- package/dist/meteora_client/accounts/PositionV2.js.map +1 -0
- package/dist/meteora_client/accounts/PresetParameter.d.ts +75 -0
- package/dist/meteora_client/accounts/PresetParameter.js +140 -0
- package/dist/meteora_client/accounts/PresetParameter.js.map +1 -0
- package/dist/meteora_client/accounts/index.d.ts +14 -0
- package/dist/meteora_client/accounts/index.js +18 -0
- package/dist/meteora_client/accounts/index.js.map +1 -0
- package/dist/meteora_client/errors/anchor.d.ts +434 -0
- package/dist/meteora_client/errors/anchor.js +713 -0
- package/dist/meteora_client/errors/anchor.js.map +1 -0
- package/dist/meteora_client/errors/custom.d.ts +474 -0
- package/dist/meteora_client/errors/custom.js +778 -0
- package/dist/meteora_client/errors/custom.js.map +1 -0
- package/dist/meteora_client/errors/index.d.ts +5 -0
- package/dist/meteora_client/errors/index.js +70 -0
- package/dist/meteora_client/errors/index.js.map +1 -0
- package/dist/meteora_client/instructions/addLiquidity.d.ts +25 -0
- package/dist/meteora_client/instructions/addLiquidity.js +67 -0
- package/dist/meteora_client/instructions/addLiquidity.js.map +1 -0
- package/dist/meteora_client/instructions/addLiquidityByStrategy.d.ts +25 -0
- package/dist/meteora_client/instructions/addLiquidityByStrategy.js +67 -0
- package/dist/meteora_client/instructions/addLiquidityByStrategy.js.map +1 -0
- package/dist/meteora_client/instructions/addLiquidityByStrategyOneSide.d.ts +21 -0
- package/dist/meteora_client/instructions/addLiquidityByStrategyOneSide.js +63 -0
- package/dist/meteora_client/instructions/addLiquidityByStrategyOneSide.js.map +1 -0
- package/dist/meteora_client/instructions/addLiquidityByWeight.d.ts +25 -0
- package/dist/meteora_client/instructions/addLiquidityByWeight.js +67 -0
- package/dist/meteora_client/instructions/addLiquidityByWeight.js.map +1 -0
- package/dist/meteora_client/instructions/addLiquidityOneSide.d.ts +21 -0
- package/dist/meteora_client/instructions/addLiquidityOneSide.js +63 -0
- package/dist/meteora_client/instructions/addLiquidityOneSide.js.map +1 -0
- package/dist/meteora_client/instructions/addLiquidityOneSidePrecise.d.ts +21 -0
- package/dist/meteora_client/instructions/addLiquidityOneSidePrecise.js +63 -0
- package/dist/meteora_client/instructions/addLiquidityOneSidePrecise.js.map +1 -0
- package/dist/meteora_client/instructions/claimFee.d.ts +18 -0
- package/dist/meteora_client/instructions/claimFee.js +28 -0
- package/dist/meteora_client/instructions/claimFee.js.map +1 -0
- package/dist/meteora_client/instructions/claimReward.d.ts +20 -0
- package/dist/meteora_client/instructions/claimReward.js +55 -0
- package/dist/meteora_client/instructions/claimReward.js.map +1 -0
- package/dist/meteora_client/instructions/closePosition.d.ts +12 -0
- package/dist/meteora_client/instructions/closePosition.js +22 -0
- package/dist/meteora_client/instructions/closePosition.js.map +1 -0
- package/dist/meteora_client/instructions/closePresetParameter.d.ts +7 -0
- package/dist/meteora_client/instructions/closePresetParameter.js +17 -0
- package/dist/meteora_client/instructions/closePresetParameter.js.map +1 -0
- package/dist/meteora_client/instructions/fundReward.d.ts +20 -0
- package/dist/meteora_client/instructions/fundReward.js +59 -0
- package/dist/meteora_client/instructions/fundReward.js.map +1 -0
- package/dist/meteora_client/instructions/goToABin.d.ts +14 -0
- package/dist/meteora_client/instructions/goToABin.js +54 -0
- package/dist/meteora_client/instructions/goToABin.js.map +1 -0
- package/dist/meteora_client/instructions/increaseOracleLength.d.ts +14 -0
- package/dist/meteora_client/instructions/increaseOracleLength.js +49 -0
- package/dist/meteora_client/instructions/increaseOracleLength.js.map +1 -0
- package/dist/meteora_client/instructions/index.d.ts +84 -0
- package/dist/meteora_client/instructions/index.js +88 -0
- package/dist/meteora_client/instructions/index.js.map +1 -0
- package/dist/meteora_client/instructions/initializeBinArray.d.ts +13 -0
- package/dist/meteora_client/instructions/initializeBinArray.js +48 -0
- package/dist/meteora_client/instructions/initializeBinArray.js.map +1 -0
- package/dist/meteora_client/instructions/initializeBinArrayBitmapExtension.d.ts +10 -0
- package/dist/meteora_client/instructions/initializeBinArrayBitmapExtension.js +23 -0
- package/dist/meteora_client/instructions/initializeBinArrayBitmapExtension.js.map +1 -0
- package/dist/meteora_client/instructions/initializeLbPair.d.ts +23 -0
- package/dist/meteora_client/instructions/initializeLbPair.js +66 -0
- package/dist/meteora_client/instructions/initializeLbPair.js.map +1 -0
- package/dist/meteora_client/instructions/initializePermissionLbPair.d.ts +23 -0
- package/dist/meteora_client/instructions/initializePermissionLbPair.js +65 -0
- package/dist/meteora_client/instructions/initializePermissionLbPair.js.map +1 -0
- package/dist/meteora_client/instructions/initializePosition.d.ts +17 -0
- package/dist/meteora_client/instructions/initializePosition.js +56 -0
- package/dist/meteora_client/instructions/initializePosition.js.map +1 -0
- package/dist/meteora_client/instructions/initializePositionByOperator.d.ts +21 -0
- package/dist/meteora_client/instructions/initializePositionByOperator.js +61 -0
- package/dist/meteora_client/instructions/initializePositionByOperator.js.map +1 -0
- package/dist/meteora_client/instructions/initializePositionPda.d.ts +19 -0
- package/dist/meteora_client/instructions/initializePositionPda.js +57 -0
- package/dist/meteora_client/instructions/initializePositionPda.js.map +1 -0
- package/dist/meteora_client/instructions/initializePresetParameter.d.ts +13 -0
- package/dist/meteora_client/instructions/initializePresetParameter.js +49 -0
- package/dist/meteora_client/instructions/initializePresetParameter.js.map +1 -0
- package/dist/meteora_client/instructions/initializeReward.d.ts +20 -0
- package/dist/meteora_client/instructions/initializeReward.js +59 -0
- package/dist/meteora_client/instructions/initializeReward.js.map +1 -0
- package/dist/meteora_client/instructions/migrateBinArray.d.ts +5 -0
- package/dist/meteora_client/instructions/migrateBinArray.js +15 -0
- package/dist/meteora_client/instructions/migrateBinArray.js.map +1 -0
- package/dist/meteora_client/instructions/migratePosition.d.ts +14 -0
- package/dist/meteora_client/instructions/migratePosition.js +24 -0
- package/dist/meteora_client/instructions/migratePosition.js.map +1 -0
- package/dist/meteora_client/instructions/removeAllLiquidity.d.ts +20 -0
- package/dist/meteora_client/instructions/removeAllLiquidity.js +34 -0
- package/dist/meteora_client/instructions/removeAllLiquidity.js.map +1 -0
- package/dist/meteora_client/instructions/removeLiquidity.d.ts +25 -0
- package/dist/meteora_client/instructions/removeLiquidity.js +67 -0
- package/dist/meteora_client/instructions/removeLiquidity.js.map +1 -0
- package/dist/meteora_client/instructions/removeLiquidityByRange.d.ts +26 -0
- package/dist/meteora_client/instructions/removeLiquidityByRange.js +70 -0
- package/dist/meteora_client/instructions/removeLiquidityByRange.js.map +1 -0
- package/dist/meteora_client/instructions/setActivationSlot.d.ts +11 -0
- package/dist/meteora_client/instructions/setActivationSlot.js +46 -0
- package/dist/meteora_client/instructions/setActivationSlot.js.map +1 -0
- package/dist/meteora_client/instructions/setLockReleaseSlot.d.ts +14 -0
- package/dist/meteora_client/instructions/setLockReleaseSlot.js +49 -0
- package/dist/meteora_client/instructions/setLockReleaseSlot.js.map +1 -0
- package/dist/meteora_client/instructions/setPreActivationSlotDuration.d.ts +10 -0
- package/dist/meteora_client/instructions/setPreActivationSlotDuration.js +46 -0
- package/dist/meteora_client/instructions/setPreActivationSlotDuration.js.map +1 -0
- package/dist/meteora_client/instructions/setPreActivationSwapAddress.d.ts +10 -0
- package/dist/meteora_client/instructions/setPreActivationSwapAddress.js +48 -0
- package/dist/meteora_client/instructions/setPreActivationSwapAddress.js.map +1 -0
- package/dist/meteora_client/instructions/swap.d.ts +25 -0
- package/dist/meteora_client/instructions/swap.js +67 -0
- package/dist/meteora_client/instructions/swap.js.map +1 -0
- package/dist/meteora_client/instructions/togglePairStatus.d.ts +6 -0
- package/dist/meteora_client/instructions/togglePairStatus.js +16 -0
- package/dist/meteora_client/instructions/togglePairStatus.js.map +1 -0
- package/dist/meteora_client/instructions/updateFeeOwner.d.ts +7 -0
- package/dist/meteora_client/instructions/updateFeeOwner.js +17 -0
- package/dist/meteora_client/instructions/updateFeeOwner.js.map +1 -0
- package/dist/meteora_client/instructions/updateFeeParameters.d.ts +13 -0
- package/dist/meteora_client/instructions/updateFeeParameters.js +49 -0
- package/dist/meteora_client/instructions/updateFeeParameters.js.map +1 -0
- package/dist/meteora_client/instructions/updateFeesAndRewards.d.ts +9 -0
- package/dist/meteora_client/instructions/updateFeesAndRewards.js +19 -0
- package/dist/meteora_client/instructions/updateFeesAndRewards.js.map +1 -0
- package/dist/meteora_client/instructions/updatePositionOperator.d.ts +12 -0
- package/dist/meteora_client/instructions/updatePositionOperator.js +48 -0
- package/dist/meteora_client/instructions/updatePositionOperator.js.map +1 -0
- package/dist/meteora_client/instructions/updateRewardDuration.d.ts +15 -0
- package/dist/meteora_client/instructions/updateRewardDuration.js +53 -0
- package/dist/meteora_client/instructions/updateRewardDuration.js.map +1 -0
- package/dist/meteora_client/instructions/updateRewardFunder.d.ts +14 -0
- package/dist/meteora_client/instructions/updateRewardFunder.js +52 -0
- package/dist/meteora_client/instructions/updateRewardFunder.js.map +1 -0
- package/dist/meteora_client/instructions/updateWhitelistedWallet.d.ts +10 -0
- package/dist/meteora_client/instructions/updateWhitelistedWallet.js +46 -0
- package/dist/meteora_client/instructions/updateWhitelistedWallet.js.map +1 -0
- package/dist/meteora_client/instructions/withdrawIneligibleReward.d.ts +18 -0
- package/dist/meteora_client/instructions/withdrawIneligibleReward.js +53 -0
- package/dist/meteora_client/instructions/withdrawIneligibleReward.js.map +1 -0
- package/dist/meteora_client/instructions/withdrawProtocolFee.d.ts +19 -0
- package/dist/meteora_client/instructions/withdrawProtocolFee.js +54 -0
- package/dist/meteora_client/instructions/withdrawProtocolFee.js.map +1 -0
- package/dist/meteora_client/programId.d.ts +5 -0
- package/dist/meteora_client/programId.js +15 -0
- package/dist/meteora_client/programId.js.map +1 -0
- package/dist/meteora_client/types/AddLiquiditySingleSidePreciseParameter.d.ts +33 -0
- package/dist/meteora_client/types/AddLiquiditySingleSidePreciseParameter.js +74 -0
- package/dist/meteora_client/types/AddLiquiditySingleSidePreciseParameter.js.map +1 -0
- package/dist/meteora_client/types/Bin.d.ts +89 -0
- package/dist/meteora_client/types/Bin.js +115 -0
- package/dist/meteora_client/types/Bin.js.map +1 -0
- package/dist/meteora_client/types/BinLiquidityDistribution.d.ts +40 -0
- package/dist/meteora_client/types/BinLiquidityDistribution.js +75 -0
- package/dist/meteora_client/types/BinLiquidityDistribution.js.map +1 -0
- package/dist/meteora_client/types/BinLiquidityDistributionByWeight.d.ts +32 -0
- package/dist/meteora_client/types/BinLiquidityDistributionByWeight.js +66 -0
- package/dist/meteora_client/types/BinLiquidityDistributionByWeight.js.map +1 -0
- package/dist/meteora_client/types/BinLiquidityReduction.d.ts +26 -0
- package/dist/meteora_client/types/BinLiquidityReduction.js +66 -0
- package/dist/meteora_client/types/BinLiquidityReduction.js.map +1 -0
- package/dist/meteora_client/types/CompressedBinDepositAmount.d.ts +26 -0
- package/dist/meteora_client/types/CompressedBinDepositAmount.js +66 -0
- package/dist/meteora_client/types/CompressedBinDepositAmount.js.map +1 -0
- package/dist/meteora_client/types/FeeInfo.d.ts +37 -0
- package/dist/meteora_client/types/FeeInfo.js +85 -0
- package/dist/meteora_client/types/FeeInfo.js.map +1 -0
- package/dist/meteora_client/types/FeeParameter.d.ts +32 -0
- package/dist/meteora_client/types/FeeParameter.js +66 -0
- package/dist/meteora_client/types/FeeParameter.js.map +1 -0
- package/dist/meteora_client/types/InitPermissionPairIx.d.ts +47 -0
- package/dist/meteora_client/types/InitPermissionPairIx.js +97 -0
- package/dist/meteora_client/types/InitPermissionPairIx.js.map +1 -0
- package/dist/meteora_client/types/InitPresetParametersIx.d.ts +96 -0
- package/dist/meteora_client/types/InitPresetParametersIx.js +117 -0
- package/dist/meteora_client/types/InitPresetParametersIx.js.map +1 -0
- package/dist/meteora_client/types/LayoutVersion.d.ts +31 -0
- package/dist/meteora_client/types/LayoutVersion.js +99 -0
- package/dist/meteora_client/types/LayoutVersion.js.map +1 -0
- package/dist/meteora_client/types/LiquidityOneSideParameter.d.ts +55 -0
- package/dist/meteora_client/types/LiquidityOneSideParameter.js +86 -0
- package/dist/meteora_client/types/LiquidityOneSideParameter.js.map +1 -0
- package/dist/meteora_client/types/LiquidityParameter.d.ts +49 -0
- package/dist/meteora_client/types/LiquidityParameter.js +80 -0
- package/dist/meteora_client/types/LiquidityParameter.js.map +1 -0
- package/dist/meteora_client/types/LiquidityParameterByStrategy.d.ts +103 -0
- package/dist/meteora_client/types/LiquidityParameterByStrategy.js +92 -0
- package/dist/meteora_client/types/LiquidityParameterByStrategy.js.map +1 -0
- package/dist/meteora_client/types/LiquidityParameterByStrategyOneSide.d.ts +95 -0
- package/dist/meteora_client/types/LiquidityParameterByStrategyOneSide.js +86 -0
- package/dist/meteora_client/types/LiquidityParameterByStrategyOneSide.js.map +1 -0
- package/dist/meteora_client/types/LiquidityParameterByWeight.d.ts +63 -0
- package/dist/meteora_client/types/LiquidityParameterByWeight.js +92 -0
- package/dist/meteora_client/types/LiquidityParameterByWeight.js.map +1 -0
- package/dist/meteora_client/types/Observation.d.ts +41 -0
- package/dist/meteora_client/types/Observation.js +79 -0
- package/dist/meteora_client/types/Observation.js.map +1 -0
- package/dist/meteora_client/types/PairStatus.d.ts +31 -0
- package/dist/meteora_client/types/PairStatus.js +102 -0
- package/dist/meteora_client/types/PairStatus.js.map +1 -0
- package/dist/meteora_client/types/PairType.d.ts +31 -0
- package/dist/meteora_client/types/PairType.js +102 -0
- package/dist/meteora_client/types/PairType.js.map +1 -0
- package/dist/meteora_client/types/ProtocolFee.d.ts +27 -0
- package/dist/meteora_client/types/ProtocolFee.js +70 -0
- package/dist/meteora_client/types/ProtocolFee.js.map +1 -0
- package/dist/meteora_client/types/RewardInfo.d.ts +83 -0
- package/dist/meteora_client/types/RewardInfo.js +112 -0
- package/dist/meteora_client/types/RewardInfo.js.map +1 -0
- package/dist/meteora_client/types/Rounding.d.ts +31 -0
- package/dist/meteora_client/types/Rounding.js +99 -0
- package/dist/meteora_client/types/Rounding.js.map +1 -0
- package/dist/meteora_client/types/StaticParameters.d.ts +97 -0
- package/dist/meteora_client/types/StaticParameters.js +118 -0
- package/dist/meteora_client/types/StaticParameters.js.map +1 -0
- package/dist/meteora_client/types/StrategyParameters.d.ts +84 -0
- package/dist/meteora_client/types/StrategyParameters.js +82 -0
- package/dist/meteora_client/types/StrategyParameters.js.map +1 -0
- package/dist/meteora_client/types/StrategyType.d.ts +122 -0
- package/dist/meteora_client/types/StrategyType.js +284 -0
- package/dist/meteora_client/types/StrategyType.js.map +1 -0
- package/dist/meteora_client/types/UserRewardInfo.d.ts +27 -0
- package/dist/meteora_client/types/UserRewardInfo.js +73 -0
- package/dist/meteora_client/types/UserRewardInfo.js.map +1 -0
- package/dist/meteora_client/types/VariableParameters.d.ts +75 -0
- package/dist/meteora_client/types/VariableParameters.js +98 -0
- package/dist/meteora_client/types/VariableParameters.js.map +1 -0
- package/dist/meteora_client/types/index.d.ts +67 -0
- package/dist/meteora_client/types/index.js +81 -0
- package/dist/meteora_client/types/index.js.map +1 -0
- package/dist/models/EnrichedScopePrice.d.ts +28 -0
- package/dist/models/EnrichedScopePrice.js +3 -0
- package/dist/models/EnrichedScopePrice.js.map +1 -0
- package/dist/models/Holdings.d.ts +13 -0
- package/dist/models/Holdings.js +3 -0
- package/dist/models/Holdings.js.map +1 -0
- package/dist/models/KaminoPosition.d.ts +10 -0
- package/dist/models/KaminoPosition.js +3 -0
- package/dist/models/KaminoPosition.js.map +1 -0
- package/dist/models/KaminoStrategyWithShareMint.d.ts +8 -0
- package/dist/models/KaminoStrategyWithShareMint.js +3 -0
- package/dist/models/KaminoStrategyWithShareMint.js.map +1 -0
- package/dist/models/KaminoToken.d.ts +5 -0
- package/dist/models/KaminoToken.js +3 -0
- package/dist/models/KaminoToken.js.map +1 -0
- package/dist/models/LbPairWithAddress.d.ts +7 -0
- package/dist/models/LbPairWithAddress.js +3 -0
- package/dist/models/LbPairWithAddress.js.map +1 -0
- package/dist/models/MultipleAccountsResponse.d.ts +42 -0
- package/dist/models/MultipleAccountsResponse.js +3 -0
- package/dist/models/MultipleAccountsResponse.js.map +1 -0
- package/dist/models/PoolSimulationResponseData.d.ts +27 -0
- package/dist/models/PoolSimulationResponseData.js +3 -0
- package/dist/models/PoolSimulationResponseData.js.map +1 -0
- package/dist/models/PriceData.d.ts +15 -0
- package/dist/models/PriceData.js +3 -0
- package/dist/models/PriceData.js.map +1 -0
- package/dist/models/RaydiumPoolWithAddress.d.ts +7 -0
- package/dist/models/RaydiumPoolWithAddress.js +3 -0
- package/dist/models/RaydiumPoolWithAddress.js.map +1 -0
- package/dist/models/ShareData.d.ts +15 -0
- package/dist/models/ShareData.js +25 -0
- package/dist/models/ShareData.js.map +1 -0
- package/dist/models/StrategyBalances.d.ts +14 -0
- package/dist/models/StrategyBalances.js +3 -0
- package/dist/models/StrategyBalances.js.map +1 -0
- package/dist/models/StrategyHolder.d.ts +6 -0
- package/dist/models/StrategyHolder.js +3 -0
- package/dist/models/StrategyHolder.js.map +1 -0
- package/dist/models/StrategyPrices.d.ts +10 -0
- package/dist/models/StrategyPrices.js +3 -0
- package/dist/models/StrategyPrices.js.map +1 -0
- package/dist/models/StrategyProgramAddress.d.ts +13 -0
- package/dist/models/StrategyProgramAddress.js +3 -0
- package/dist/models/StrategyProgramAddress.js.map +1 -0
- package/dist/models/StrategyVaultBalances.d.ts +5 -0
- package/dist/models/StrategyVaultBalances.js +3 -0
- package/dist/models/StrategyVaultBalances.js.map +1 -0
- package/dist/models/StrategyVaultTokens.d.ts +12 -0
- package/dist/models/StrategyVaultTokens.js +3 -0
- package/dist/models/StrategyVaultTokens.js.map +1 -0
- package/dist/models/StrategyWithAddress.d.ts +7 -0
- package/dist/models/StrategyWithAddress.js +3 -0
- package/dist/models/StrategyWithAddress.js.map +1 -0
- package/dist/models/StrategyWithPendingFees.d.ts +6 -0
- package/dist/models/StrategyWithPendingFees.js +3 -0
- package/dist/models/StrategyWithPendingFees.js.map +1 -0
- package/dist/models/TokenAmounts.d.ts +5 -0
- package/dist/models/TokenAmounts.js +3 -0
- package/dist/models/TokenAmounts.js.map +1 -0
- package/dist/models/TreasuryFeeVault.d.ts +7 -0
- package/dist/models/TreasuryFeeVault.js +3 -0
- package/dist/models/TreasuryFeeVault.js.map +1 -0
- package/dist/models/WhirlpoolWithAddress.d.ts +7 -0
- package/dist/models/WhirlpoolWithAddress.js +3 -0
- package/dist/models/WhirlpoolWithAddress.js.map +1 -0
- package/dist/models/index.d.ts +19 -0
- package/dist/models/index.js +36 -0
- package/dist/models/index.js.map +1 -0
- package/dist/raydium_client/accounts/AmmConfig.d.ts +46 -0
- package/dist/raydium_client/accounts/AmmConfig.js +145 -0
- package/dist/raydium_client/accounts/AmmConfig.js.map +1 -0
- package/dist/raydium_client/accounts/ObservationState.d.ts +29 -0
- package/dist/raydium_client/accounts/ObservationState.js +116 -0
- package/dist/raydium_client/accounts/ObservationState.js.map +1 -0
- package/dist/raydium_client/accounts/OperationState.d.ts +24 -0
- package/dist/raydium_client/accounts/OperationState.js +106 -0
- package/dist/raydium_client/accounts/OperationState.js.map +1 -0
- package/dist/raydium_client/accounts/PersonalPositionState.d.ts +53 -0
- package/dist/raydium_client/accounts/PersonalPositionState.js +156 -0
- package/dist/raydium_client/accounts/PersonalPositionState.js.map +1 -0
- package/dist/raydium_client/accounts/PoolState.d.ts +128 -0
- package/dist/raydium_client/accounts/PoolState.js +281 -0
- package/dist/raydium_client/accounts/PoolState.js.map +1 -0
- package/dist/raydium_client/accounts/ProtocolPositionState.d.ts +49 -0
- package/dist/raydium_client/accounts/ProtocolPositionState.js +150 -0
- package/dist/raydium_client/accounts/ProtocolPositionState.js.map +1 -0
- package/dist/raydium_client/accounts/TickArrayBitmapExtension.d.ts +25 -0
- package/dist/raydium_client/accounts/TickArrayBitmapExtension.js +110 -0
- package/dist/raydium_client/accounts/TickArrayBitmapExtension.js.map +1 -0
- package/dist/raydium_client/accounts/TickArrayState.d.ts +31 -0
- package/dist/raydium_client/accounts/TickArrayState.js +117 -0
- package/dist/raydium_client/accounts/TickArrayState.js.map +1 -0
- package/dist/raydium_client/accounts/index.d.ts +16 -0
- package/dist/raydium_client/accounts/index.js +20 -0
- package/dist/raydium_client/accounts/index.js.map +1 -0
- package/dist/raydium_client/errors/anchor.d.ts +434 -0
- package/dist/raydium_client/errors/anchor.js +713 -0
- package/dist/raydium_client/errors/anchor.js.map +1 -0
- package/dist/raydium_client/errors/custom.d.ts +338 -0
- package/dist/raydium_client/errors/custom.js +556 -0
- package/dist/raydium_client/errors/custom.js.map +1 -0
- package/dist/raydium_client/errors/index.d.ts +5 -0
- package/dist/raydium_client/errors/index.js +70 -0
- package/dist/raydium_client/errors/index.js.map +1 -0
- package/dist/raydium_client/index.d.ts +4 -0
- package/dist/raydium_client/index.js +21 -0
- package/dist/raydium_client/index.js.map +1 -0
- package/dist/raydium_client/instructions/closePosition.d.ts +10 -0
- package/dist/raydium_client/instructions/closePosition.js +20 -0
- package/dist/raydium_client/instructions/closePosition.js.map +1 -0
- package/dist/raydium_client/instructions/collectFundFee.d.ts +21 -0
- package/dist/raydium_client/instructions/collectFundFee.js +67 -0
- package/dist/raydium_client/instructions/collectFundFee.js.map +1 -0
- package/dist/raydium_client/instructions/collectProtocolFee.d.ts +21 -0
- package/dist/raydium_client/instructions/collectProtocolFee.js +67 -0
- package/dist/raydium_client/instructions/collectProtocolFee.js.map +1 -0
- package/dist/raydium_client/instructions/collectRemainingRewards.d.ts +16 -0
- package/dist/raydium_client/instructions/collectRemainingRewards.js +52 -0
- package/dist/raydium_client/instructions/collectRemainingRewards.js.map +1 -0
- package/dist/raydium_client/instructions/createAmmConfig.d.ts +15 -0
- package/dist/raydium_client/instructions/createAmmConfig.js +57 -0
- package/dist/raydium_client/instructions/createAmmConfig.js.map +1 -0
- package/dist/raydium_client/instructions/createOperationAccount.d.ts +7 -0
- package/dist/raydium_client/instructions/createOperationAccount.js +17 -0
- package/dist/raydium_client/instructions/createOperationAccount.js.map +1 -0
- package/dist/raydium_client/instructions/createPool.d.ts +23 -0
- package/dist/raydium_client/instructions/createPool.js +61 -0
- package/dist/raydium_client/instructions/createPool.js.map +1 -0
- package/dist/raydium_client/instructions/decreaseLiquidity.d.ts +23 -0
- package/dist/raydium_client/instructions/decreaseLiquidity.js +70 -0
- package/dist/raydium_client/instructions/decreaseLiquidity.js.map +1 -0
- package/dist/raydium_client/instructions/decreaseLiquidityV2.d.ts +27 -0
- package/dist/raydium_client/instructions/decreaseLiquidityV2.js +74 -0
- package/dist/raydium_client/instructions/decreaseLiquidityV2.js.map +1 -0
- package/dist/raydium_client/instructions/increaseLiquidity.d.ts +23 -0
- package/dist/raydium_client/instructions/increaseLiquidity.js +62 -0
- package/dist/raydium_client/instructions/increaseLiquidity.js.map +1 -0
- package/dist/raydium_client/instructions/increaseLiquidityV2.d.ts +27 -0
- package/dist/raydium_client/instructions/increaseLiquidityV2.js +67 -0
- package/dist/raydium_client/instructions/increaseLiquidityV2.js.map +1 -0
- package/dist/raydium_client/instructions/index.d.ts +46 -0
- package/dist/raydium_client/instructions/index.js +50 -0
- package/dist/raydium_client/instructions/index.js.map +1 -0
- package/dist/raydium_client/instructions/initializeReward.d.ts +19 -0
- package/dist/raydium_client/instructions/initializeReward.js +57 -0
- package/dist/raydium_client/instructions/initializeReward.js.map +1 -0
- package/dist/raydium_client/instructions/openPosition.d.ts +34 -0
- package/dist/raydium_client/instructions/openPosition.js +81 -0
- package/dist/raydium_client/instructions/openPosition.js.map +1 -0
- package/dist/raydium_client/instructions/openPositionV2.d.ts +39 -0
- package/dist/raydium_client/instructions/openPositionV2.js +88 -0
- package/dist/raydium_client/instructions/openPositionV2.js.map +1 -0
- package/dist/raydium_client/instructions/setRewardParams.d.ts +18 -0
- package/dist/raydium_client/instructions/setRewardParams.js +58 -0
- package/dist/raydium_client/instructions/setRewardParams.js.map +1 -0
- package/dist/raydium_client/instructions/swap.d.ts +22 -0
- package/dist/raydium_client/instructions/swap.js +62 -0
- package/dist/raydium_client/instructions/swap.js.map +1 -0
- package/dist/raydium_client/instructions/swapRouterBaseIn.d.ts +16 -0
- package/dist/raydium_client/instructions/swapRouterBaseIn.js +54 -0
- package/dist/raydium_client/instructions/swapRouterBaseIn.js.map +1 -0
- package/dist/raydium_client/instructions/swapV2.d.ts +25 -0
- package/dist/raydium_client/instructions/swapV2.js +65 -0
- package/dist/raydium_client/instructions/swapV2.js.map +1 -0
- package/dist/raydium_client/instructions/transferRewardOwner.d.ts +10 -0
- package/dist/raydium_client/instructions/transferRewardOwner.js +46 -0
- package/dist/raydium_client/instructions/transferRewardOwner.js.map +1 -0
- package/dist/raydium_client/instructions/updateAmmConfig.d.ts +11 -0
- package/dist/raydium_client/instructions/updateAmmConfig.js +47 -0
- package/dist/raydium_client/instructions/updateAmmConfig.js.map +1 -0
- package/dist/raydium_client/instructions/updateOperationAccount.d.ts +12 -0
- package/dist/raydium_client/instructions/updateOperationAccount.js +51 -0
- package/dist/raydium_client/instructions/updateOperationAccount.js.map +1 -0
- package/dist/raydium_client/instructions/updatePoolStatus.d.ts +10 -0
- package/dist/raydium_client/instructions/updatePoolStatus.js +46 -0
- package/dist/raydium_client/instructions/updatePoolStatus.js.map +1 -0
- package/dist/raydium_client/instructions/updateRewardInfos.d.ts +5 -0
- package/dist/raydium_client/instructions/updateRewardInfos.js +15 -0
- package/dist/raydium_client/instructions/updateRewardInfos.js.map +1 -0
- package/dist/raydium_client/programId.d.ts +5 -0
- package/dist/raydium_client/programId.js +15 -0
- package/dist/raydium_client/programId.js.map +1 -0
- package/dist/raydium_client/types/InitializeRewardParam.d.ts +32 -0
- package/dist/raydium_client/types/InitializeRewardParam.js +79 -0
- package/dist/raydium_client/types/InitializeRewardParam.js.map +1 -0
- package/dist/raydium_client/types/Observation.d.ts +37 -0
- package/dist/raydium_client/types/Observation.js +85 -0
- package/dist/raydium_client/types/Observation.js.map +1 -0
- package/dist/raydium_client/types/PoolStatusBitFlag.d.ts +31 -0
- package/dist/raydium_client/types/PoolStatusBitFlag.js +102 -0
- package/dist/raydium_client/types/PoolStatusBitFlag.js.map +1 -0
- package/dist/raydium_client/types/PoolStatusBitIndex.d.ts +70 -0
- package/dist/raydium_client/types/PoolStatusBitIndex.js +180 -0
- package/dist/raydium_client/types/PoolStatusBitIndex.js.map +1 -0
- package/dist/raydium_client/types/PositionRewardInfo.d.ts +27 -0
- package/dist/raydium_client/types/PositionRewardInfo.js +70 -0
- package/dist/raydium_client/types/PositionRewardInfo.js.map +1 -0
- package/dist/raydium_client/types/RewardInfo.d.ts +73 -0
- package/dist/raydium_client/types/RewardInfo.js +128 -0
- package/dist/raydium_client/types/RewardInfo.js.map +1 -0
- package/dist/raydium_client/types/RewardState.d.ts +57 -0
- package/dist/raydium_client/types/RewardState.js +154 -0
- package/dist/raydium_client/types/RewardState.js.map +1 -0
- package/dist/raydium_client/types/TickArryBitmap.d.ts +0 -0
- package/dist/raydium_client/types/TickArryBitmap.js +2 -0
- package/dist/raydium_client/types/TickArryBitmap.js.map +1 -0
- package/dist/raydium_client/types/TickState.d.ts +52 -0
- package/dist/raydium_client/types/TickState.js +103 -0
- package/dist/raydium_client/types/TickState.js.map +1 -0
- package/dist/raydium_client/types/index.d.ts +22 -0
- package/dist/raydium_client/types/index.js +43 -0
- package/dist/raydium_client/types/index.js.map +1 -0
- package/dist/rebalance_methods/autodriftRebalance.d.ts +20 -0
- package/dist/rebalance_methods/autodriftRebalance.js +220 -0
- package/dist/rebalance_methods/autodriftRebalance.js.map +1 -0
- package/dist/rebalance_methods/consts.d.ts +1 -0
- package/dist/rebalance_methods/consts.js +5 -0
- package/dist/rebalance_methods/consts.js.map +1 -0
- package/dist/rebalance_methods/driftRebalance.d.ts +17 -0
- package/dist/rebalance_methods/driftRebalance.js +180 -0
- package/dist/rebalance_methods/driftRebalance.js.map +1 -0
- package/dist/rebalance_methods/expanderRebalance.d.ts +18 -0
- package/dist/rebalance_methods/expanderRebalance.js +283 -0
- package/dist/rebalance_methods/expanderRebalance.js.map +1 -0
- package/dist/rebalance_methods/index.d.ts +7 -0
- package/dist/rebalance_methods/index.js +24 -0
- package/dist/rebalance_methods/index.js.map +1 -0
- package/dist/rebalance_methods/manualRebalance.d.ts +5 -0
- package/dist/rebalance_methods/manualRebalance.js +35 -0
- package/dist/rebalance_methods/manualRebalance.js.map +1 -0
- package/dist/rebalance_methods/math_utils.d.ts +4 -0
- package/dist/rebalance_methods/math_utils.js +18 -0
- package/dist/rebalance_methods/math_utils.js.map +1 -0
- package/dist/rebalance_methods/periodicRebalance.d.ts +14 -0
- package/dist/rebalance_methods/periodicRebalance.js +92 -0
- package/dist/rebalance_methods/periodicRebalance.js.map +1 -0
- package/dist/rebalance_methods/pricePercentageRebalance.d.ts +13 -0
- package/dist/rebalance_methods/pricePercentageRebalance.js +150 -0
- package/dist/rebalance_methods/pricePercentageRebalance.js.map +1 -0
- package/dist/rebalance_methods/pricePercentageWithResetRebalance.d.ts +14 -0
- package/dist/rebalance_methods/pricePercentageWithResetRebalance.js +233 -0
- package/dist/rebalance_methods/pricePercentageWithResetRebalance.js.map +1 -0
- package/dist/rebalance_methods/takeProfitRebalance.d.ts +14 -0
- package/dist/rebalance_methods/takeProfitRebalance.js +99 -0
- package/dist/rebalance_methods/takeProfitRebalance.js.map +1 -0
- package/dist/rebalance_methods/utils.d.ts +10 -0
- package/dist/rebalance_methods/utils.js +103 -0
- package/dist/rebalance_methods/utils.js.map +1 -0
- package/dist/services/JupService.d.ts +22 -0
- package/dist/services/JupService.js +130 -0
- package/dist/services/JupService.js.map +1 -0
- package/dist/services/MeteoraService.d.ts +24 -0
- package/dist/services/MeteoraService.js +193 -0
- package/dist/services/MeteoraService.js.map +1 -0
- package/dist/services/OrcaService.d.ts +36 -0
- package/dist/services/OrcaService.js +290 -0
- package/dist/services/OrcaService.js.map +1 -0
- package/dist/services/OrcaWhirlpoolsResponse.d.ts +105 -0
- package/dist/services/OrcaWhirlpoolsResponse.js +3 -0
- package/dist/services/OrcaWhirlpoolsResponse.js.map +1 -0
- package/dist/services/PoolSimulationService.d.ts +20 -0
- package/dist/services/PoolSimulationService.js +30 -0
- package/dist/services/PoolSimulationService.js.map +1 -0
- package/dist/services/RaydiumPoolsResponse.d.ts +85 -0
- package/dist/services/RaydiumPoolsResponse.js +3 -0
- package/dist/services/RaydiumPoolsResponse.js.map +1 -0
- package/dist/services/RaydiumService.d.ts +18 -0
- package/dist/services/RaydiumService.js +202 -0
- package/dist/services/RaydiumService.js.map +1 -0
- package/dist/services/WhirlpoolAprApy.d.ts +13 -0
- package/dist/services/WhirlpoolAprApy.js +3 -0
- package/dist/services/WhirlpoolAprApy.js.map +1 -0
- package/dist/services/index.d.ts +5 -0
- package/dist/services/index.js +22 -0
- package/dist/services/index.js.map +1 -0
- package/dist/utils/CreationParameters.d.ts +32 -0
- package/dist/utils/CreationParameters.js +81 -0
- package/dist/utils/CreationParameters.js.map +1 -0
- package/dist/utils/anchorUtils.d.ts +5 -0
- package/dist/utils/anchorUtils.js +27 -0
- package/dist/utils/anchorUtils.js.map +1 -0
- package/dist/utils/batch.d.ts +2 -0
- package/dist/utils/batch.js +24 -0
- package/dist/utils/batch.js.map +1 -0
- package/dist/utils/index.d.ts +8 -0
- package/dist/utils/index.js +25 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/instructions.d.ts +6 -0
- package/dist/utils/instructions.js +40 -0
- package/dist/utils/instructions.js.map +1 -0
- package/dist/utils/lookupTable.d.ts +4 -0
- package/dist/utils/lookupTable.js +51 -0
- package/dist/utils/lookupTable.js.map +1 -0
- package/dist/utils/math.d.ts +3 -0
- package/dist/utils/math.js +16 -0
- package/dist/utils/math.js.map +1 -0
- package/dist/utils/meteora.d.ts +20 -0
- package/dist/utils/meteora.js +80 -0
- package/dist/utils/meteora.js.map +1 -0
- package/dist/utils/orca.d.ts +2 -0
- package/dist/utils/orca.js +8 -0
- package/dist/utils/orca.js.map +1 -0
- package/dist/utils/priceReferenceTypes.d.ts +3 -0
- package/dist/utils/priceReferenceTypes.js +12 -0
- package/dist/utils/priceReferenceTypes.js.map +1 -0
- package/dist/utils/pubkey.d.ts +65 -0
- package/dist/utils/pubkey.js +218 -0
- package/dist/utils/pubkey.js.map +1 -0
- package/dist/utils/raydium.d.ts +1 -0
- package/dist/utils/raydium.js +15 -0
- package/dist/utils/raydium.js.map +1 -0
- package/dist/utils/tokenUtils.d.ts +47 -0
- package/dist/utils/tokenUtils.js +185 -0
- package/dist/utils/tokenUtils.js.map +1 -0
- package/dist/utils/transactions.d.ts +13 -0
- package/dist/utils/transactions.js +147 -0
- package/dist/utils/transactions.js.map +1 -0
- package/dist/utils/types.d.ts +178 -0
- package/dist/utils/types.js +110 -0
- package/dist/utils/types.js.map +1 -0
- package/dist/utils/utils.d.ts +36 -0
- package/dist/utils/utils.js +313 -0
- package/dist/utils/utils.js.map +1 -0
- package/dist/whirlpools-client/accounts/FeeTier.d.ts +24 -0
- package/dist/whirlpools-client/accounts/FeeTier.js +106 -0
- package/dist/whirlpools-client/accounts/FeeTier.js.map +1 -0
- package/dist/whirlpools-client/accounts/Position.d.ts +47 -0
- package/dist/whirlpools-client/accounts/Position.js +146 -0
- package/dist/whirlpools-client/accounts/Position.js.map +1 -0
- package/dist/whirlpools-client/accounts/PositionBundle.d.ts +21 -0
- package/dist/whirlpools-client/accounts/PositionBundle.js +101 -0
- package/dist/whirlpools-client/accounts/PositionBundle.js.map +1 -0
- package/dist/whirlpools-client/accounts/TickArray.d.ts +25 -0
- package/dist/whirlpools-client/accounts/TickArray.js +107 -0
- package/dist/whirlpools-client/accounts/TickArray.js.map +1 -0
- package/dist/whirlpools-client/accounts/TokenBadge.d.ts +21 -0
- package/dist/whirlpools-client/accounts/TokenBadge.js +101 -0
- package/dist/whirlpools-client/accounts/TokenBadge.js.map +1 -0
- package/dist/whirlpools-client/accounts/Whirlpool.d.ts +74 -0
- package/dist/whirlpools-client/accounts/Whirlpool.js +191 -0
- package/dist/whirlpools-client/accounts/Whirlpool.js.map +1 -0
- package/dist/whirlpools-client/accounts/WhirlpoolsConfig.d.ts +27 -0
- package/dist/whirlpools-client/accounts/WhirlpoolsConfig.js +111 -0
- package/dist/whirlpools-client/accounts/WhirlpoolsConfig.js.map +1 -0
- package/dist/whirlpools-client/accounts/WhirlpoolsConfigExtension.d.ts +24 -0
- package/dist/whirlpools-client/accounts/WhirlpoolsConfigExtension.js +106 -0
- package/dist/whirlpools-client/accounts/WhirlpoolsConfigExtension.js.map +1 -0
- package/dist/whirlpools-client/accounts/index.d.ts +16 -0
- package/dist/whirlpools-client/accounts/index.js +20 -0
- package/dist/whirlpools-client/accounts/index.js.map +1 -0
- package/dist/whirlpools-client/errors/anchor.d.ts +434 -0
- package/dist/whirlpools-client/errors/anchor.js +713 -0
- package/dist/whirlpools-client/errors/anchor.js.map +1 -0
- package/dist/whirlpools-client/errors/custom.d.ts +434 -0
- package/dist/whirlpools-client/errors/custom.js +713 -0
- package/dist/whirlpools-client/errors/custom.js.map +1 -0
- package/dist/whirlpools-client/errors/index.d.ts +5 -0
- package/dist/whirlpools-client/errors/index.js +70 -0
- package/dist/whirlpools-client/errors/index.js.map +1 -0
- package/dist/whirlpools-client/index.d.ts +4 -0
- package/dist/whirlpools-client/index.js +21 -0
- package/dist/whirlpools-client/index.js.map +1 -0
- package/dist/whirlpools-client/instructions/closeBundledPosition.d.ts +13 -0
- package/dist/whirlpools-client/instructions/closeBundledPosition.js +57 -0
- package/dist/whirlpools-client/instructions/closeBundledPosition.js.map +1 -0
- package/dist/whirlpools-client/instructions/closePosition.d.ts +10 -0
- package/dist/whirlpools-client/instructions/closePosition.js +24 -0
- package/dist/whirlpools-client/instructions/closePosition.js.map +1 -0
- package/dist/whirlpools-client/instructions/collectFees.d.ts +13 -0
- package/dist/whirlpools-client/instructions/collectFees.js +27 -0
- package/dist/whirlpools-client/instructions/collectFees.js.map +1 -0
- package/dist/whirlpools-client/instructions/collectFeesV2.d.ts +22 -0
- package/dist/whirlpools-client/instructions/collectFeesV2.js +66 -0
- package/dist/whirlpools-client/instructions/collectFeesV2.js.map +1 -0
- package/dist/whirlpools-client/instructions/collectProtocolFees.d.ts +12 -0
- package/dist/whirlpools-client/instructions/collectProtocolFees.js +26 -0
- package/dist/whirlpools-client/instructions/collectProtocolFees.js.map +1 -0
- package/dist/whirlpools-client/instructions/collectProtocolFeesV2.d.ts +21 -0
- package/dist/whirlpools-client/instructions/collectProtocolFeesV2.js +65 -0
- package/dist/whirlpools-client/instructions/collectProtocolFeesV2.js.map +1 -0
- package/dist/whirlpools-client/instructions/collectReward.d.ts +15 -0
- package/dist/whirlpools-client/instructions/collectReward.js +55 -0
- package/dist/whirlpools-client/instructions/collectReward.js.map +1 -0
- package/dist/whirlpools-client/instructions/collectRewardV2.d.ts +19 -0
- package/dist/whirlpools-client/instructions/collectRewardV2.js +64 -0
- package/dist/whirlpools-client/instructions/collectRewardV2.js.map +1 -0
- package/dist/whirlpools-client/instructions/decreaseLiquidity.d.ts +22 -0
- package/dist/whirlpools-client/instructions/decreaseLiquidity.js +65 -0
- package/dist/whirlpools-client/instructions/decreaseLiquidity.js.map +1 -0
- package/dist/whirlpools-client/instructions/decreaseLiquidityV2.d.ts +28 -0
- package/dist/whirlpools-client/instructions/decreaseLiquidityV2.js +74 -0
- package/dist/whirlpools-client/instructions/decreaseLiquidityV2.js.map +1 -0
- package/dist/whirlpools-client/instructions/deletePositionBundle.d.ts +10 -0
- package/dist/whirlpools-client/instructions/deletePositionBundle.js +24 -0
- package/dist/whirlpools-client/instructions/deletePositionBundle.js.map +1 -0
- package/dist/whirlpools-client/instructions/deleteTokenBadge.d.ts +10 -0
- package/dist/whirlpools-client/instructions/deleteTokenBadge.js +24 -0
- package/dist/whirlpools-client/instructions/deleteTokenBadge.js.map +1 -0
- package/dist/whirlpools-client/instructions/increaseLiquidity.d.ts +22 -0
- package/dist/whirlpools-client/instructions/increaseLiquidity.js +65 -0
- package/dist/whirlpools-client/instructions/increaseLiquidity.js.map +1 -0
- package/dist/whirlpools-client/instructions/increaseLiquidityV2.d.ts +28 -0
- package/dist/whirlpools-client/instructions/increaseLiquidityV2.js +74 -0
- package/dist/whirlpools-client/instructions/increaseLiquidityV2.js.map +1 -0
- package/dist/whirlpools-client/instructions/index.d.ts +92 -0
- package/dist/whirlpools-client/instructions/index.js +96 -0
- package/dist/whirlpools-client/instructions/index.js.map +1 -0
- package/dist/whirlpools-client/instructions/initializeConfig.d.ts +14 -0
- package/dist/whirlpools-client/instructions/initializeConfig.js +55 -0
- package/dist/whirlpools-client/instructions/initializeConfig.js.map +1 -0
- package/dist/whirlpools-client/instructions/initializeConfigExtension.d.ts +9 -0
- package/dist/whirlpools-client/instructions/initializeConfigExtension.js +19 -0
- package/dist/whirlpools-client/instructions/initializeConfigExtension.js.map +1 -0
- package/dist/whirlpools-client/instructions/initializeFeeTier.d.ts +14 -0
- package/dist/whirlpools-client/instructions/initializeFeeTier.js +53 -0
- package/dist/whirlpools-client/instructions/initializeFeeTier.js.map +1 -0
- package/dist/whirlpools-client/instructions/initializePool.d.ts +23 -0
- package/dist/whirlpools-client/instructions/initializePool.js +62 -0
- package/dist/whirlpools-client/instructions/initializePool.js.map +1 -0
- package/dist/whirlpools-client/instructions/initializePoolV2.d.ts +24 -0
- package/dist/whirlpools-client/instructions/initializePoolV2.js +62 -0
- package/dist/whirlpools-client/instructions/initializePoolV2.js.map +1 -0
- package/dist/whirlpools-client/instructions/initializePositionBundle.d.ts +13 -0
- package/dist/whirlpools-client/instructions/initializePositionBundle.js +35 -0
- package/dist/whirlpools-client/instructions/initializePositionBundle.js.map +1 -0
- package/dist/whirlpools-client/instructions/initializePositionBundleWithMetadata.d.ts +16 -0
- package/dist/whirlpools-client/instructions/initializePositionBundleWithMetadata.js +42 -0
- package/dist/whirlpools-client/instructions/initializePositionBundleWithMetadata.js.map +1 -0
- package/dist/whirlpools-client/instructions/initializeReward.d.ts +16 -0
- package/dist/whirlpools-client/instructions/initializeReward.js +52 -0
- package/dist/whirlpools-client/instructions/initializeReward.js.map +1 -0
- package/dist/whirlpools-client/instructions/initializeRewardV2.d.ts +17 -0
- package/dist/whirlpools-client/instructions/initializeRewardV2.js +53 -0
- package/dist/whirlpools-client/instructions/initializeRewardV2.js.map +1 -0
- package/dist/whirlpools-client/instructions/initializeTickArray.d.ts +12 -0
- package/dist/whirlpools-client/instructions/initializeTickArray.js +48 -0
- package/dist/whirlpools-client/instructions/initializeTickArray.js.map +1 -0
- package/dist/whirlpools-client/instructions/initializeTokenBadge.d.ts +11 -0
- package/dist/whirlpools-client/instructions/initializeTokenBadge.js +25 -0
- package/dist/whirlpools-client/instructions/initializeTokenBadge.js.map +1 -0
- package/dist/whirlpools-client/instructions/openBundledPosition.d.ts +18 -0
- package/dist/whirlpools-client/instructions/openBundledPosition.js +66 -0
- package/dist/whirlpools-client/instructions/openBundledPosition.js.map +1 -0
- package/dist/whirlpools-client/instructions/openPosition.d.ts +21 -0
- package/dist/whirlpools-client/instructions/openPosition.js +69 -0
- package/dist/whirlpools-client/instructions/openPosition.js.map +1 -0
- package/dist/whirlpools-client/instructions/openPositionWithMetadata.d.ts +24 -0
- package/dist/whirlpools-client/instructions/openPositionWithMetadata.js +76 -0
- package/dist/whirlpools-client/instructions/openPositionWithMetadata.js.map +1 -0
- package/dist/whirlpools-client/instructions/setCollectProtocolFeesAuthority.d.ts +7 -0
- package/dist/whirlpools-client/instructions/setCollectProtocolFeesAuthority.js +25 -0
- package/dist/whirlpools-client/instructions/setCollectProtocolFeesAuthority.js.map +1 -0
- package/dist/whirlpools-client/instructions/setConfigExtensionAuthority.d.ts +8 -0
- package/dist/whirlpools-client/instructions/setConfigExtensionAuthority.js +30 -0
- package/dist/whirlpools-client/instructions/setConfigExtensionAuthority.js.map +1 -0
- package/dist/whirlpools-client/instructions/setDefaultFeeRate.d.ts +11 -0
- package/dist/whirlpools-client/instructions/setDefaultFeeRate.js +47 -0
- package/dist/whirlpools-client/instructions/setDefaultFeeRate.js.map +1 -0
- package/dist/whirlpools-client/instructions/setDefaultProtocolFeeRate.d.ts +10 -0
- package/dist/whirlpools-client/instructions/setDefaultProtocolFeeRate.js +46 -0
- package/dist/whirlpools-client/instructions/setDefaultProtocolFeeRate.js.map +1 -0
- package/dist/whirlpools-client/instructions/setFeeAuthority.d.ts +7 -0
- package/dist/whirlpools-client/instructions/setFeeAuthority.js +17 -0
- package/dist/whirlpools-client/instructions/setFeeAuthority.js.map +1 -0
- package/dist/whirlpools-client/instructions/setFeeRate.d.ts +11 -0
- package/dist/whirlpools-client/instructions/setFeeRate.js +47 -0
- package/dist/whirlpools-client/instructions/setFeeRate.js.map +1 -0
- package/dist/whirlpools-client/instructions/setProtocolFeeRate.d.ts +11 -0
- package/dist/whirlpools-client/instructions/setProtocolFeeRate.js +47 -0
- package/dist/whirlpools-client/instructions/setProtocolFeeRate.js.map +1 -0
- package/dist/whirlpools-client/instructions/setRewardAuthority.d.ts +11 -0
- package/dist/whirlpools-client/instructions/setRewardAuthority.js +47 -0
- package/dist/whirlpools-client/instructions/setRewardAuthority.js.map +1 -0
- package/dist/whirlpools-client/instructions/setRewardAuthorityBySuperAuthority.d.ts +12 -0
- package/dist/whirlpools-client/instructions/setRewardAuthorityBySuperAuthority.js +52 -0
- package/dist/whirlpools-client/instructions/setRewardAuthorityBySuperAuthority.js.map +1 -0
- package/dist/whirlpools-client/instructions/setRewardEmissions.d.ts +13 -0
- package/dist/whirlpools-client/instructions/setRewardEmissions.js +51 -0
- package/dist/whirlpools-client/instructions/setRewardEmissions.js.map +1 -0
- package/dist/whirlpools-client/instructions/setRewardEmissionsSuperAuthority.d.ts +7 -0
- package/dist/whirlpools-client/instructions/setRewardEmissionsSuperAuthority.js +25 -0
- package/dist/whirlpools-client/instructions/setRewardEmissionsSuperAuthority.js.map +1 -0
- package/dist/whirlpools-client/instructions/setRewardEmissionsV2.d.ts +13 -0
- package/dist/whirlpools-client/instructions/setRewardEmissionsV2.js +51 -0
- package/dist/whirlpools-client/instructions/setRewardEmissionsV2.js.map +1 -0
- package/dist/whirlpools-client/instructions/setTokenBadgeAuthority.d.ts +8 -0
- package/dist/whirlpools-client/instructions/setTokenBadgeAuthority.js +30 -0
- package/dist/whirlpools-client/instructions/setTokenBadgeAuthority.js.map +1 -0
- package/dist/whirlpools-client/instructions/swap.d.ts +24 -0
- package/dist/whirlpools-client/instructions/swap.js +65 -0
- package/dist/whirlpools-client/instructions/swap.js.map +1 -0
- package/dist/whirlpools-client/instructions/swapV2.d.ts +30 -0
- package/dist/whirlpools-client/instructions/swapV2.js +74 -0
- package/dist/whirlpools-client/instructions/swapV2.js.map +1 -0
- package/dist/whirlpools-client/instructions/twoHopSwap.d.ts +35 -0
- package/dist/whirlpools-client/instructions/twoHopSwap.js +94 -0
- package/dist/whirlpools-client/instructions/twoHopSwap.js.map +1 -0
- package/dist/whirlpools-client/instructions/twoHopSwapV2.d.ts +41 -0
- package/dist/whirlpools-client/instructions/twoHopSwapV2.js +111 -0
- package/dist/whirlpools-client/instructions/twoHopSwapV2.js.map +1 -0
- package/dist/whirlpools-client/instructions/updateFeesAndRewards.d.ts +8 -0
- package/dist/whirlpools-client/instructions/updateFeesAndRewards.js +18 -0
- package/dist/whirlpools-client/instructions/updateFeesAndRewards.js.map +1 -0
- package/dist/whirlpools-client/programId.d.ts +5 -0
- package/dist/whirlpools-client/programId.js +15 -0
- package/dist/whirlpools-client/programId.js.map +1 -0
- package/dist/whirlpools-client/shim/remove-liquidity.d.ts +15 -0
- package/dist/whirlpools-client/shim/remove-liquidity.js +72 -0
- package/dist/whirlpools-client/shim/remove-liquidity.js.map +1 -0
- package/dist/whirlpools-client/types/AccountsType.d.ts +83 -0
- package/dist/whirlpools-client/types/AccountsType.js +206 -0
- package/dist/whirlpools-client/types/AccountsType.js.map +1 -0
- package/dist/whirlpools-client/types/CurrIndex.d.ts +44 -0
- package/dist/whirlpools-client/types/CurrIndex.js +128 -0
- package/dist/whirlpools-client/types/CurrIndex.js.map +1 -0
- package/dist/whirlpools-client/types/Direction.d.ts +31 -0
- package/dist/whirlpools-client/types/Direction.js +102 -0
- package/dist/whirlpools-client/types/Direction.js.map +1 -0
- package/dist/whirlpools-client/types/OpenPositionBumps.d.ts +21 -0
- package/dist/whirlpools-client/types/OpenPositionBumps.js +61 -0
- package/dist/whirlpools-client/types/OpenPositionBumps.js.map +1 -0
- package/dist/whirlpools-client/types/OpenPositionWithMetadataBumps.d.ts +26 -0
- package/dist/whirlpools-client/types/OpenPositionWithMetadataBumps.js +66 -0
- package/dist/whirlpools-client/types/OpenPositionWithMetadataBumps.js.map +1 -0
- package/dist/whirlpools-client/types/PositionRewardInfo.d.ts +27 -0
- package/dist/whirlpools-client/types/PositionRewardInfo.js +70 -0
- package/dist/whirlpools-client/types/PositionRewardInfo.js.map +1 -0
- package/dist/whirlpools-client/types/RemainingAccountsInfo.d.ts +51 -0
- package/dist/whirlpools-client/types/RemainingAccountsInfo.js +62 -0
- package/dist/whirlpools-client/types/RemainingAccountsInfo.js.map +1 -0
- package/dist/whirlpools-client/types/RemainingAccountsSlice.d.ts +50 -0
- package/dist/whirlpools-client/types/RemainingAccountsSlice.js +67 -0
- package/dist/whirlpools-client/types/RemainingAccountsSlice.js.map +1 -0
- package/dist/whirlpools-client/types/Tick.d.ts +47 -0
- package/dist/whirlpools-client/types/Tick.js +97 -0
- package/dist/whirlpools-client/types/Tick.js.map +1 -0
- package/dist/whirlpools-client/types/TickLabel.d.ts +31 -0
- package/dist/whirlpools-client/types/TickLabel.js +102 -0
- package/dist/whirlpools-client/types/TickLabel.js.map +1 -0
- package/dist/whirlpools-client/types/WhirlpoolBumps.d.ts +21 -0
- package/dist/whirlpools-client/types/WhirlpoolBumps.js +61 -0
- package/dist/whirlpools-client/types/WhirlpoolBumps.js.map +1 -0
- package/dist/whirlpools-client/types/WhirlpoolRewardInfo.d.ts +43 -0
- package/dist/whirlpools-client/types/WhirlpoolRewardInfo.js +92 -0
- package/dist/whirlpools-client/types/WhirlpoolRewardInfo.js.map +1 -0
- package/dist/whirlpools-client/types/index.d.ts +32 -0
- package/dist/whirlpools-client/types/index.js +51 -0
- package/dist/whirlpools-client/types/index.js.map +1 -0
- package/package.json +92 -0
|
@@ -0,0 +1,1258 @@
|
|
|
1
|
+
export type CustomError = IntegerOverflow | OperationForbidden | ZeroAmount | UnableToDeserializeAccount | VaultBalanceDoesNotMatchTokenA | VaultBalanceDoesNotMatchTokenB | SharesIssuedAmountDoesNotMatch | GlobalConfigKeyError | SystemInEmergencyMode | GlobalDepositBlocked | GlobalWithdrawBlocked | GlobalInvestBlocked | OutOfRangeIntegralConversion | MathOverflow | TooMuchLiquidityToWithdraw | DepositAmountsZero | SharesZero | StrategyNotActive | UnharvestedAmounts | InvalidRewardMapping | InvalidRewardIndex | OwnRewardUninitialized | PriceNotValid | SwapRewardImbalanced | SwapRewardTooSmall | SwapRewardLessThanRequested | SwapRewardLessThanMinimum | WrongDiscriminator | WrongMint | WrongVault | SwapAmountsZero | PriceTooOld | CannotInvestZeroAmount | MaxInvestableZero | CollectFeesBlocked | CollectRewardsBlocked | SwapRewardsBlocked | WrongRewardCollateralID | InvalidPositionAccount | CouldNotDeserializeScope | WrongCollateralID | CollateralTokensExceedDepositCap | SwapUnevenVaultsBlocked | VaultsAreAlreadyBalanced | CannotSwapUnevenOutOfRange | DivideByZero | DeltaATooLarge | DeltaBTooLarge | CannotExecutiveWithdrawZeroAmount | CannotWithdrawZeroAmount | CannotCollectFeesOnZeroLiquidityPosition | StrategyNotActiveWhenDepositing | StrategyNotActiveWhenOpeningPosition | CollateralTokensExceedDepositCapPerIxn | CannotDepositOutOfRange | CannotInvestOutOfRange | WithdrawalCapReached | TimestampDecrease | CPINotAllowed | OrcaPriceTooDifferentFromScope | LowerTickLargerThanUpperTick | LowerTickTooLow | UpperTickTooLarge | LowerTickNotMultipleOfTickSpacing | UpperTickNotMultipleOfTickSpacing | CannotChangeAdminAuthority | CannotResizeAccount | ScopeChainUpdateFailed | PriceTooDivergentFromTwap | ExistingRewardOverride | WrongKaminoRewardId | KaminoRewardNotExist | KaminoRewardAlreadyExists | KaminoCollateralNotValid | KaminoRewardExceedsAvailableAmount | SwapUnevenVaultsOvershoot | BpsNotInRange | EmergencySwapBlocked | StrategyNotFrozen | UnexpectedTokenAmountsPostSwap | AccountNotBelongToDEX | WrongDEXProgramID | OrcaRewardUninitialized | InvalidAdminAuthority | PriceIsBiggerThanHeuristic | PriceIsLowerThanHeuristic | AccountDifferentThanExpected | SwapAmountsTooSmall | InvalidDexProgramId | StrategyDepositBlocked | StrategyInvestBlocked | StrategyWithdrawBlocked | WrongSwapVaultDirection | SwapVaultsTooBig | SwapVaultsCashOutputBelowMinimum | FlashIxsNotEnded | FlashTxWithUnexpectedIxs | FlashIxsAccountMismatch | FlashIxsIncludeScope | FlashVaultSwapBlocked | FlashVaultSwapWrongAmountToLeave | DepositLessThanMinimum | DepositWithoutInvestDisallowed | InvalidScopeChain | InvalidScopeTWAPChain | PositionHasRemainingLiquidity | PoolRebalancing | PermissionlessRebalancingDisabled | ManualRebalanceInvalidOwner | InvalidRebalanceType | NoRebalanceNecessary | TickArraysDoNotMatchRebalance | StrategyPositionNotValid | CouldNotDeserializeRebalanceState | CouldNotSerializeRebalanceState | CouldNotDeserializeRebalanceParams | NotEnoughTokensForRatio | AmountsRepresentZeroShares | MaxLossExceeded | RewardNotStrategyToken | DecimalToU64ConversionFailed | DecimalOperationFailed | VaultBalancesCausesWrongSharesIssuance | TokenDisabled | InvalidReferencePriceType | TokenToSwapNotEnough | TokenAccountBalanceMismatch | UnexpectedProgramIdForPrerequisiteIx | ComputeFeesAndRewardsUpdateError | SharesNotZero | InvalidScopeStakingRateChain | StakingRateNotValid | DecimalToU128ConversionFailed | DecimalNegativeSqrtRoot | DriftingOppositeDirection | WrongRewardCollateralId | CollateralInfoAlreadyExists | InvestTooEarly | SwapUnevenTooEarly | FlashSwapTooEarly | RebalancesCapReached | SwapUnevenInvalidAuthority | InvalidTick | MeteoraMathOverflow | StrategyTickArrayNotValid | WrongEventAuthority | StrategyFieldUpdateNotAllowed | UnsupportedDex | InvalidBPSValue | RewardVaultOverrideNotAllowed | ComputeFeesAndRewardsInvalidReward | EmptyTreasury | ChangingPoolRewardMintMismatch | ProvidedRewardVaultMismatch | RepeatedMint | UnsupportedTokenExtension | UnsupportedDexForToken22;
|
|
2
|
+
export declare class IntegerOverflow extends Error {
|
|
3
|
+
readonly logs?: string[] | undefined;
|
|
4
|
+
static readonly code = 6000;
|
|
5
|
+
readonly code = 6000;
|
|
6
|
+
readonly name = "IntegerOverflow";
|
|
7
|
+
readonly msg = "Integer overflow";
|
|
8
|
+
constructor(logs?: string[] | undefined);
|
|
9
|
+
}
|
|
10
|
+
export declare class OperationForbidden extends Error {
|
|
11
|
+
readonly logs?: string[] | undefined;
|
|
12
|
+
static readonly code = 6001;
|
|
13
|
+
readonly code = 6001;
|
|
14
|
+
readonly name = "OperationForbidden";
|
|
15
|
+
readonly msg = "Operation Forbidden";
|
|
16
|
+
constructor(logs?: string[] | undefined);
|
|
17
|
+
}
|
|
18
|
+
export declare class ZeroAmount extends Error {
|
|
19
|
+
readonly logs?: string[] | undefined;
|
|
20
|
+
static readonly code = 6002;
|
|
21
|
+
readonly code = 6002;
|
|
22
|
+
readonly name = "ZeroAmount";
|
|
23
|
+
readonly msg = "[DEPRECATED] Zero amount";
|
|
24
|
+
constructor(logs?: string[] | undefined);
|
|
25
|
+
}
|
|
26
|
+
export declare class UnableToDeserializeAccount extends Error {
|
|
27
|
+
readonly logs?: string[] | undefined;
|
|
28
|
+
static readonly code = 6003;
|
|
29
|
+
readonly code = 6003;
|
|
30
|
+
readonly name = "UnableToDeserializeAccount";
|
|
31
|
+
readonly msg = "Unable to deserialize account";
|
|
32
|
+
constructor(logs?: string[] | undefined);
|
|
33
|
+
}
|
|
34
|
+
export declare class VaultBalanceDoesNotMatchTokenA extends Error {
|
|
35
|
+
readonly logs?: string[] | undefined;
|
|
36
|
+
static readonly code = 6004;
|
|
37
|
+
readonly code = 6004;
|
|
38
|
+
readonly name = "VaultBalanceDoesNotMatchTokenA";
|
|
39
|
+
readonly msg = "[DEPRECATED] Vault balance does not match for token A";
|
|
40
|
+
constructor(logs?: string[] | undefined);
|
|
41
|
+
}
|
|
42
|
+
export declare class VaultBalanceDoesNotMatchTokenB extends Error {
|
|
43
|
+
readonly logs?: string[] | undefined;
|
|
44
|
+
static readonly code = 6005;
|
|
45
|
+
readonly code = 6005;
|
|
46
|
+
readonly name = "VaultBalanceDoesNotMatchTokenB";
|
|
47
|
+
readonly msg = "[DEPRECATED] Vault balance does not match for token B";
|
|
48
|
+
constructor(logs?: string[] | undefined);
|
|
49
|
+
}
|
|
50
|
+
export declare class SharesIssuedAmountDoesNotMatch extends Error {
|
|
51
|
+
readonly logs?: string[] | undefined;
|
|
52
|
+
static readonly code = 6006;
|
|
53
|
+
readonly code = 6006;
|
|
54
|
+
readonly name = "SharesIssuedAmountDoesNotMatch";
|
|
55
|
+
readonly msg = "[DEPRECATED] Shares issued amount does not match";
|
|
56
|
+
constructor(logs?: string[] | undefined);
|
|
57
|
+
}
|
|
58
|
+
export declare class GlobalConfigKeyError extends Error {
|
|
59
|
+
readonly logs?: string[] | undefined;
|
|
60
|
+
static readonly code = 6007;
|
|
61
|
+
readonly code = 6007;
|
|
62
|
+
readonly name = "GlobalConfigKeyError";
|
|
63
|
+
readonly msg = "Key is not present in global config";
|
|
64
|
+
constructor(logs?: string[] | undefined);
|
|
65
|
+
}
|
|
66
|
+
export declare class SystemInEmergencyMode extends Error {
|
|
67
|
+
readonly logs?: string[] | undefined;
|
|
68
|
+
static readonly code = 6008;
|
|
69
|
+
readonly code = 6008;
|
|
70
|
+
readonly name = "SystemInEmergencyMode";
|
|
71
|
+
readonly msg = "[DEPRECATED] System is in emergency mode";
|
|
72
|
+
constructor(logs?: string[] | undefined);
|
|
73
|
+
}
|
|
74
|
+
export declare class GlobalDepositBlocked extends Error {
|
|
75
|
+
readonly logs?: string[] | undefined;
|
|
76
|
+
static readonly code = 6009;
|
|
77
|
+
readonly code = 6009;
|
|
78
|
+
readonly name = "GlobalDepositBlocked";
|
|
79
|
+
readonly msg = "Global deposit is currently blocked";
|
|
80
|
+
constructor(logs?: string[] | undefined);
|
|
81
|
+
}
|
|
82
|
+
export declare class GlobalWithdrawBlocked extends Error {
|
|
83
|
+
readonly logs?: string[] | undefined;
|
|
84
|
+
static readonly code = 6010;
|
|
85
|
+
readonly code = 6010;
|
|
86
|
+
readonly name = "GlobalWithdrawBlocked";
|
|
87
|
+
readonly msg = "Global withdraw is currently blocked";
|
|
88
|
+
constructor(logs?: string[] | undefined);
|
|
89
|
+
}
|
|
90
|
+
export declare class GlobalInvestBlocked extends Error {
|
|
91
|
+
readonly logs?: string[] | undefined;
|
|
92
|
+
static readonly code = 6011;
|
|
93
|
+
readonly code = 6011;
|
|
94
|
+
readonly name = "GlobalInvestBlocked";
|
|
95
|
+
readonly msg = "Global invest is currently blocked";
|
|
96
|
+
constructor(logs?: string[] | undefined);
|
|
97
|
+
}
|
|
98
|
+
export declare class OutOfRangeIntegralConversion extends Error {
|
|
99
|
+
readonly logs?: string[] | undefined;
|
|
100
|
+
static readonly code = 6012;
|
|
101
|
+
readonly code = 6012;
|
|
102
|
+
readonly name = "OutOfRangeIntegralConversion";
|
|
103
|
+
readonly msg = "Out of range integral conversion attempted";
|
|
104
|
+
constructor(logs?: string[] | undefined);
|
|
105
|
+
}
|
|
106
|
+
export declare class MathOverflow extends Error {
|
|
107
|
+
readonly logs?: string[] | undefined;
|
|
108
|
+
static readonly code = 6013;
|
|
109
|
+
readonly code = 6013;
|
|
110
|
+
readonly name = "MathOverflow";
|
|
111
|
+
readonly msg = "[DEPRECATED] Mathematical operation with overflow";
|
|
112
|
+
constructor(logs?: string[] | undefined);
|
|
113
|
+
}
|
|
114
|
+
export declare class TooMuchLiquidityToWithdraw extends Error {
|
|
115
|
+
readonly logs?: string[] | undefined;
|
|
116
|
+
static readonly code = 6014;
|
|
117
|
+
readonly code = 6014;
|
|
118
|
+
readonly name = "TooMuchLiquidityToWithdraw";
|
|
119
|
+
readonly msg = "Unable to withdraw more liquidity than available in position";
|
|
120
|
+
constructor(logs?: string[] | undefined);
|
|
121
|
+
}
|
|
122
|
+
export declare class DepositAmountsZero extends Error {
|
|
123
|
+
readonly logs?: string[] | undefined;
|
|
124
|
+
static readonly code = 6015;
|
|
125
|
+
readonly code = 6015;
|
|
126
|
+
readonly name = "DepositAmountsZero";
|
|
127
|
+
readonly msg = "Deposit amounts must be greater than zero";
|
|
128
|
+
constructor(logs?: string[] | undefined);
|
|
129
|
+
}
|
|
130
|
+
export declare class SharesZero extends Error {
|
|
131
|
+
readonly logs?: string[] | undefined;
|
|
132
|
+
static readonly code = 6016;
|
|
133
|
+
readonly code = 6016;
|
|
134
|
+
readonly name = "SharesZero";
|
|
135
|
+
readonly msg = "Number of shares to withdraw must be greater than zero";
|
|
136
|
+
constructor(logs?: string[] | undefined);
|
|
137
|
+
}
|
|
138
|
+
export declare class StrategyNotActive extends Error {
|
|
139
|
+
readonly logs?: string[] | undefined;
|
|
140
|
+
static readonly code = 6017;
|
|
141
|
+
readonly code = 6017;
|
|
142
|
+
readonly name = "StrategyNotActive";
|
|
143
|
+
readonly msg = "Strategy not active";
|
|
144
|
+
constructor(logs?: string[] | undefined);
|
|
145
|
+
}
|
|
146
|
+
export declare class UnharvestedAmounts extends Error {
|
|
147
|
+
readonly logs?: string[] | undefined;
|
|
148
|
+
static readonly code = 6018;
|
|
149
|
+
readonly code = 6018;
|
|
150
|
+
readonly name = "UnharvestedAmounts";
|
|
151
|
+
readonly msg = "There are unharvested gains";
|
|
152
|
+
constructor(logs?: string[] | undefined);
|
|
153
|
+
}
|
|
154
|
+
export declare class InvalidRewardMapping extends Error {
|
|
155
|
+
readonly logs?: string[] | undefined;
|
|
156
|
+
static readonly code = 6019;
|
|
157
|
+
readonly code = 6019;
|
|
158
|
+
readonly name = "InvalidRewardMapping";
|
|
159
|
+
readonly msg = "Reward mapping incorrect";
|
|
160
|
+
constructor(logs?: string[] | undefined);
|
|
161
|
+
}
|
|
162
|
+
export declare class InvalidRewardIndex extends Error {
|
|
163
|
+
readonly logs?: string[] | undefined;
|
|
164
|
+
static readonly code = 6020;
|
|
165
|
+
readonly code = 6020;
|
|
166
|
+
readonly name = "InvalidRewardIndex";
|
|
167
|
+
readonly msg = "Reward index incorrect";
|
|
168
|
+
constructor(logs?: string[] | undefined);
|
|
169
|
+
}
|
|
170
|
+
export declare class OwnRewardUninitialized extends Error {
|
|
171
|
+
readonly logs?: string[] | undefined;
|
|
172
|
+
static readonly code = 6021;
|
|
173
|
+
readonly code = 6021;
|
|
174
|
+
readonly name = "OwnRewardUninitialized";
|
|
175
|
+
readonly msg = "Cannot use uninitialized reward vault";
|
|
176
|
+
constructor(logs?: string[] | undefined);
|
|
177
|
+
}
|
|
178
|
+
export declare class PriceNotValid extends Error {
|
|
179
|
+
readonly logs?: string[] | undefined;
|
|
180
|
+
static readonly code = 6022;
|
|
181
|
+
readonly code = 6022;
|
|
182
|
+
readonly name = "PriceNotValid";
|
|
183
|
+
readonly msg = "Price is not valid";
|
|
184
|
+
constructor(logs?: string[] | undefined);
|
|
185
|
+
}
|
|
186
|
+
export declare class SwapRewardImbalanced extends Error {
|
|
187
|
+
readonly logs?: string[] | undefined;
|
|
188
|
+
static readonly code = 6023;
|
|
189
|
+
readonly code = 6023;
|
|
190
|
+
readonly name = "SwapRewardImbalanced";
|
|
191
|
+
readonly msg = "Must provide almost equal amounts of tokens";
|
|
192
|
+
constructor(logs?: string[] | undefined);
|
|
193
|
+
}
|
|
194
|
+
export declare class SwapRewardTooSmall extends Error {
|
|
195
|
+
readonly logs?: string[] | undefined;
|
|
196
|
+
static readonly code = 6024;
|
|
197
|
+
readonly code = 6024;
|
|
198
|
+
readonly name = "SwapRewardTooSmall";
|
|
199
|
+
readonly msg = "Swap reward is zero or less than requested";
|
|
200
|
+
constructor(logs?: string[] | undefined);
|
|
201
|
+
}
|
|
202
|
+
export declare class SwapRewardLessThanRequested extends Error {
|
|
203
|
+
readonly logs?: string[] | undefined;
|
|
204
|
+
static readonly code = 6025;
|
|
205
|
+
readonly code = 6025;
|
|
206
|
+
readonly name = "SwapRewardLessThanRequested";
|
|
207
|
+
readonly msg = "Swap reward is less than what user requested as minimum";
|
|
208
|
+
constructor(logs?: string[] | undefined);
|
|
209
|
+
}
|
|
210
|
+
export declare class SwapRewardLessThanMinimum extends Error {
|
|
211
|
+
readonly logs?: string[] | undefined;
|
|
212
|
+
static readonly code = 6026;
|
|
213
|
+
readonly code = 6026;
|
|
214
|
+
readonly name = "SwapRewardLessThanMinimum";
|
|
215
|
+
readonly msg = "Swap reward is less than minimum acceptable";
|
|
216
|
+
constructor(logs?: string[] | undefined);
|
|
217
|
+
}
|
|
218
|
+
export declare class WrongDiscriminator extends Error {
|
|
219
|
+
readonly logs?: string[] | undefined;
|
|
220
|
+
static readonly code = 6027;
|
|
221
|
+
readonly code = 6027;
|
|
222
|
+
readonly name = "WrongDiscriminator";
|
|
223
|
+
readonly msg = "Wrong discriminator";
|
|
224
|
+
constructor(logs?: string[] | undefined);
|
|
225
|
+
}
|
|
226
|
+
export declare class WrongMint extends Error {
|
|
227
|
+
readonly logs?: string[] | undefined;
|
|
228
|
+
static readonly code = 6028;
|
|
229
|
+
readonly code = 6028;
|
|
230
|
+
readonly name = "WrongMint";
|
|
231
|
+
readonly msg = "Wrong mint";
|
|
232
|
+
constructor(logs?: string[] | undefined);
|
|
233
|
+
}
|
|
234
|
+
export declare class WrongVault extends Error {
|
|
235
|
+
readonly logs?: string[] | undefined;
|
|
236
|
+
static readonly code = 6029;
|
|
237
|
+
readonly code = 6029;
|
|
238
|
+
readonly name = "WrongVault";
|
|
239
|
+
readonly msg = "Wrong vault";
|
|
240
|
+
constructor(logs?: string[] | undefined);
|
|
241
|
+
}
|
|
242
|
+
export declare class SwapAmountsZero extends Error {
|
|
243
|
+
readonly logs?: string[] | undefined;
|
|
244
|
+
static readonly code = 6030;
|
|
245
|
+
readonly code = 6030;
|
|
246
|
+
readonly name = "SwapAmountsZero";
|
|
247
|
+
readonly msg = "Swap amounts must be greater than zero";
|
|
248
|
+
constructor(logs?: string[] | undefined);
|
|
249
|
+
}
|
|
250
|
+
export declare class PriceTooOld extends Error {
|
|
251
|
+
readonly logs?: string[] | undefined;
|
|
252
|
+
static readonly code = 6031;
|
|
253
|
+
readonly code = 6031;
|
|
254
|
+
readonly name = "PriceTooOld";
|
|
255
|
+
readonly msg = "Price too old";
|
|
256
|
+
constructor(logs?: string[] | undefined);
|
|
257
|
+
}
|
|
258
|
+
export declare class CannotInvestZeroAmount extends Error {
|
|
259
|
+
readonly logs?: string[] | undefined;
|
|
260
|
+
static readonly code = 6032;
|
|
261
|
+
readonly code = 6032;
|
|
262
|
+
readonly name = "CannotInvestZeroAmount";
|
|
263
|
+
readonly msg = "Cannot invest zero amount";
|
|
264
|
+
constructor(logs?: string[] | undefined);
|
|
265
|
+
}
|
|
266
|
+
export declare class MaxInvestableZero extends Error {
|
|
267
|
+
readonly logs?: string[] | undefined;
|
|
268
|
+
static readonly code = 6033;
|
|
269
|
+
readonly code = 6033;
|
|
270
|
+
readonly name = "MaxInvestableZero";
|
|
271
|
+
readonly msg = "Cannot have zero investable amount";
|
|
272
|
+
constructor(logs?: string[] | undefined);
|
|
273
|
+
}
|
|
274
|
+
export declare class CollectFeesBlocked extends Error {
|
|
275
|
+
readonly logs?: string[] | undefined;
|
|
276
|
+
static readonly code = 6034;
|
|
277
|
+
readonly code = 6034;
|
|
278
|
+
readonly name = "CollectFeesBlocked";
|
|
279
|
+
readonly msg = "Collect fees is blocked";
|
|
280
|
+
constructor(logs?: string[] | undefined);
|
|
281
|
+
}
|
|
282
|
+
export declare class CollectRewardsBlocked extends Error {
|
|
283
|
+
readonly logs?: string[] | undefined;
|
|
284
|
+
static readonly code = 6035;
|
|
285
|
+
readonly code = 6035;
|
|
286
|
+
readonly name = "CollectRewardsBlocked";
|
|
287
|
+
readonly msg = "Collect rewards is blocked";
|
|
288
|
+
constructor(logs?: string[] | undefined);
|
|
289
|
+
}
|
|
290
|
+
export declare class SwapRewardsBlocked extends Error {
|
|
291
|
+
readonly logs?: string[] | undefined;
|
|
292
|
+
static readonly code = 6036;
|
|
293
|
+
readonly code = 6036;
|
|
294
|
+
readonly name = "SwapRewardsBlocked";
|
|
295
|
+
readonly msg = "Swap rewards is blocked";
|
|
296
|
+
constructor(logs?: string[] | undefined);
|
|
297
|
+
}
|
|
298
|
+
export declare class WrongRewardCollateralID extends Error {
|
|
299
|
+
readonly logs?: string[] | undefined;
|
|
300
|
+
static readonly code = 6037;
|
|
301
|
+
readonly code = 6037;
|
|
302
|
+
readonly name = "WrongRewardCollateralID";
|
|
303
|
+
readonly msg = "Reward collateral ID is incorrect for strategy";
|
|
304
|
+
constructor(logs?: string[] | undefined);
|
|
305
|
+
}
|
|
306
|
+
export declare class InvalidPositionAccount extends Error {
|
|
307
|
+
readonly logs?: string[] | undefined;
|
|
308
|
+
static readonly code = 6038;
|
|
309
|
+
readonly code = 6038;
|
|
310
|
+
readonly name = "InvalidPositionAccount";
|
|
311
|
+
readonly msg = "Position account doesn't match internal records";
|
|
312
|
+
constructor(logs?: string[] | undefined);
|
|
313
|
+
}
|
|
314
|
+
export declare class CouldNotDeserializeScope extends Error {
|
|
315
|
+
readonly logs?: string[] | undefined;
|
|
316
|
+
static readonly code = 6039;
|
|
317
|
+
readonly code = 6039;
|
|
318
|
+
readonly name = "CouldNotDeserializeScope";
|
|
319
|
+
readonly msg = "Scope account could not be deserialized";
|
|
320
|
+
constructor(logs?: string[] | undefined);
|
|
321
|
+
}
|
|
322
|
+
export declare class WrongCollateralID extends Error {
|
|
323
|
+
readonly logs?: string[] | undefined;
|
|
324
|
+
static readonly code = 6040;
|
|
325
|
+
readonly code = 6040;
|
|
326
|
+
readonly name = "WrongCollateralID";
|
|
327
|
+
readonly msg = "[DEPRECATED] Collateral ID invalid for strategy";
|
|
328
|
+
constructor(logs?: string[] | undefined);
|
|
329
|
+
}
|
|
330
|
+
export declare class CollateralTokensExceedDepositCap extends Error {
|
|
331
|
+
readonly logs?: string[] | undefined;
|
|
332
|
+
static readonly code = 6041;
|
|
333
|
+
readonly code = 6041;
|
|
334
|
+
readonly name = "CollateralTokensExceedDepositCap";
|
|
335
|
+
readonly msg = "Collaterals exceed deposit cap";
|
|
336
|
+
constructor(logs?: string[] | undefined);
|
|
337
|
+
}
|
|
338
|
+
export declare class SwapUnevenVaultsBlocked extends Error {
|
|
339
|
+
readonly logs?: string[] | undefined;
|
|
340
|
+
static readonly code = 6042;
|
|
341
|
+
readonly code = 6042;
|
|
342
|
+
readonly name = "SwapUnevenVaultsBlocked";
|
|
343
|
+
readonly msg = "Swap uneven vaults is blocked";
|
|
344
|
+
constructor(logs?: string[] | undefined);
|
|
345
|
+
}
|
|
346
|
+
export declare class VaultsAreAlreadyBalanced extends Error {
|
|
347
|
+
readonly logs?: string[] | undefined;
|
|
348
|
+
static readonly code = 6043;
|
|
349
|
+
readonly code = 6043;
|
|
350
|
+
readonly name = "VaultsAreAlreadyBalanced";
|
|
351
|
+
readonly msg = "Cannot swap as vaults are already balanced";
|
|
352
|
+
constructor(logs?: string[] | undefined);
|
|
353
|
+
}
|
|
354
|
+
export declare class CannotSwapUnevenOutOfRange extends Error {
|
|
355
|
+
readonly logs?: string[] | undefined;
|
|
356
|
+
static readonly code = 6044;
|
|
357
|
+
readonly code = 6044;
|
|
358
|
+
readonly name = "CannotSwapUnevenOutOfRange";
|
|
359
|
+
readonly msg = "Cannot swap uneven vaults when position is out of range";
|
|
360
|
+
constructor(logs?: string[] | undefined);
|
|
361
|
+
}
|
|
362
|
+
export declare class DivideByZero extends Error {
|
|
363
|
+
readonly logs?: string[] | undefined;
|
|
364
|
+
static readonly code = 6045;
|
|
365
|
+
readonly code = 6045;
|
|
366
|
+
readonly name = "DivideByZero";
|
|
367
|
+
readonly msg = "Cannot divide by zero";
|
|
368
|
+
constructor(logs?: string[] | undefined);
|
|
369
|
+
}
|
|
370
|
+
export declare class DeltaATooLarge extends Error {
|
|
371
|
+
readonly logs?: string[] | undefined;
|
|
372
|
+
static readonly code = 6046;
|
|
373
|
+
readonly code = 6046;
|
|
374
|
+
readonly name = "DeltaATooLarge";
|
|
375
|
+
readonly msg = "[DEPRECATED] Delta A too large";
|
|
376
|
+
constructor(logs?: string[] | undefined);
|
|
377
|
+
}
|
|
378
|
+
export declare class DeltaBTooLarge extends Error {
|
|
379
|
+
readonly logs?: string[] | undefined;
|
|
380
|
+
static readonly code = 6047;
|
|
381
|
+
readonly code = 6047;
|
|
382
|
+
readonly name = "DeltaBTooLarge";
|
|
383
|
+
readonly msg = "[DEPRECATED] Delta B too large";
|
|
384
|
+
constructor(logs?: string[] | undefined);
|
|
385
|
+
}
|
|
386
|
+
export declare class CannotExecutiveWithdrawZeroAmount extends Error {
|
|
387
|
+
readonly logs?: string[] | undefined;
|
|
388
|
+
static readonly code = 6048;
|
|
389
|
+
readonly code = 6048;
|
|
390
|
+
readonly name = "CannotExecutiveWithdrawZeroAmount";
|
|
391
|
+
readonly msg = "[DEPRECATED] Cannot executive withdraw zero amount";
|
|
392
|
+
constructor(logs?: string[] | undefined);
|
|
393
|
+
}
|
|
394
|
+
export declare class CannotWithdrawZeroAmount extends Error {
|
|
395
|
+
readonly logs?: string[] | undefined;
|
|
396
|
+
static readonly code = 6049;
|
|
397
|
+
readonly code = 6049;
|
|
398
|
+
readonly name = "CannotWithdrawZeroAmount";
|
|
399
|
+
readonly msg = "Cannot withdraw zero amount";
|
|
400
|
+
constructor(logs?: string[] | undefined);
|
|
401
|
+
}
|
|
402
|
+
export declare class CannotCollectFeesOnZeroLiquidityPosition extends Error {
|
|
403
|
+
readonly logs?: string[] | undefined;
|
|
404
|
+
static readonly code = 6050;
|
|
405
|
+
readonly code = 6050;
|
|
406
|
+
readonly name = "CannotCollectFeesOnZeroLiquidityPosition";
|
|
407
|
+
readonly msg = "[DEPRECATED] Cannot collect fees on zero liquidity position";
|
|
408
|
+
constructor(logs?: string[] | undefined);
|
|
409
|
+
}
|
|
410
|
+
export declare class StrategyNotActiveWhenDepositing extends Error {
|
|
411
|
+
readonly logs?: string[] | undefined;
|
|
412
|
+
static readonly code = 6051;
|
|
413
|
+
readonly code = 6051;
|
|
414
|
+
readonly name = "StrategyNotActiveWhenDepositing";
|
|
415
|
+
readonly msg = "Cannot deposit inactive position";
|
|
416
|
+
constructor(logs?: string[] | undefined);
|
|
417
|
+
}
|
|
418
|
+
export declare class StrategyNotActiveWhenOpeningPosition extends Error {
|
|
419
|
+
readonly logs?: string[] | undefined;
|
|
420
|
+
static readonly code = 6052;
|
|
421
|
+
readonly code = 6052;
|
|
422
|
+
readonly name = "StrategyNotActiveWhenOpeningPosition";
|
|
423
|
+
readonly msg = "Cannot open position with existing opened position";
|
|
424
|
+
constructor(logs?: string[] | undefined);
|
|
425
|
+
}
|
|
426
|
+
export declare class CollateralTokensExceedDepositCapPerIxn extends Error {
|
|
427
|
+
readonly logs?: string[] | undefined;
|
|
428
|
+
static readonly code = 6053;
|
|
429
|
+
readonly code = 6053;
|
|
430
|
+
readonly name = "CollateralTokensExceedDepositCapPerIxn";
|
|
431
|
+
readonly msg = "Collaterals exceed deposit ixn cap";
|
|
432
|
+
constructor(logs?: string[] | undefined);
|
|
433
|
+
}
|
|
434
|
+
export declare class CannotDepositOutOfRange extends Error {
|
|
435
|
+
readonly logs?: string[] | undefined;
|
|
436
|
+
static readonly code = 6054;
|
|
437
|
+
readonly code = 6054;
|
|
438
|
+
readonly name = "CannotDepositOutOfRange";
|
|
439
|
+
readonly msg = "Cannot deposit when strategy out of range";
|
|
440
|
+
constructor(logs?: string[] | undefined);
|
|
441
|
+
}
|
|
442
|
+
export declare class CannotInvestOutOfRange extends Error {
|
|
443
|
+
readonly logs?: string[] | undefined;
|
|
444
|
+
static readonly code = 6055;
|
|
445
|
+
readonly code = 6055;
|
|
446
|
+
readonly name = "CannotInvestOutOfRange";
|
|
447
|
+
readonly msg = "Cannot invest when strategy out of range";
|
|
448
|
+
constructor(logs?: string[] | undefined);
|
|
449
|
+
}
|
|
450
|
+
export declare class WithdrawalCapReached extends Error {
|
|
451
|
+
readonly logs?: string[] | undefined;
|
|
452
|
+
static readonly code = 6056;
|
|
453
|
+
readonly code = 6056;
|
|
454
|
+
readonly name = "WithdrawalCapReached";
|
|
455
|
+
readonly msg = "Withdrawal cap is reached";
|
|
456
|
+
constructor(logs?: string[] | undefined);
|
|
457
|
+
}
|
|
458
|
+
export declare class TimestampDecrease extends Error {
|
|
459
|
+
readonly logs?: string[] | undefined;
|
|
460
|
+
static readonly code = 6057;
|
|
461
|
+
readonly code = 6057;
|
|
462
|
+
readonly name = "TimestampDecrease";
|
|
463
|
+
readonly msg = "Timestamp decrease";
|
|
464
|
+
constructor(logs?: string[] | undefined);
|
|
465
|
+
}
|
|
466
|
+
export declare class CPINotAllowed extends Error {
|
|
467
|
+
readonly logs?: string[] | undefined;
|
|
468
|
+
static readonly code = 6058;
|
|
469
|
+
readonly code = 6058;
|
|
470
|
+
readonly name = "CPINotAllowed";
|
|
471
|
+
readonly msg = "CPI not allowed";
|
|
472
|
+
constructor(logs?: string[] | undefined);
|
|
473
|
+
}
|
|
474
|
+
export declare class OrcaPriceTooDifferentFromScope extends Error {
|
|
475
|
+
readonly logs?: string[] | undefined;
|
|
476
|
+
static readonly code = 6059;
|
|
477
|
+
readonly code = 6059;
|
|
478
|
+
readonly name = "OrcaPriceTooDifferentFromScope";
|
|
479
|
+
readonly msg = "Cannot use orca price as it is too different from scope price";
|
|
480
|
+
constructor(logs?: string[] | undefined);
|
|
481
|
+
}
|
|
482
|
+
export declare class LowerTickLargerThanUpperTick extends Error {
|
|
483
|
+
readonly logs?: string[] | undefined;
|
|
484
|
+
static readonly code = 6060;
|
|
485
|
+
readonly code = 6060;
|
|
486
|
+
readonly name = "LowerTickLargerThanUpperTick";
|
|
487
|
+
readonly msg = "Lower tick larger than upper tick";
|
|
488
|
+
constructor(logs?: string[] | undefined);
|
|
489
|
+
}
|
|
490
|
+
export declare class LowerTickTooLow extends Error {
|
|
491
|
+
readonly logs?: string[] | undefined;
|
|
492
|
+
static readonly code = 6061;
|
|
493
|
+
readonly code = 6061;
|
|
494
|
+
readonly name = "LowerTickTooLow";
|
|
495
|
+
readonly msg = "Lower tick is lower than the minimal supported low tick";
|
|
496
|
+
constructor(logs?: string[] | undefined);
|
|
497
|
+
}
|
|
498
|
+
export declare class UpperTickTooLarge extends Error {
|
|
499
|
+
readonly logs?: string[] | undefined;
|
|
500
|
+
static readonly code = 6062;
|
|
501
|
+
readonly code = 6062;
|
|
502
|
+
readonly name = "UpperTickTooLarge";
|
|
503
|
+
readonly msg = "Upper tick is larger than the maximum supported tick";
|
|
504
|
+
constructor(logs?: string[] | undefined);
|
|
505
|
+
}
|
|
506
|
+
export declare class LowerTickNotMultipleOfTickSpacing extends Error {
|
|
507
|
+
readonly logs?: string[] | undefined;
|
|
508
|
+
static readonly code = 6063;
|
|
509
|
+
readonly code = 6063;
|
|
510
|
+
readonly name = "LowerTickNotMultipleOfTickSpacing";
|
|
511
|
+
readonly msg = "Lower tick is not a multiple of tick spacing";
|
|
512
|
+
constructor(logs?: string[] | undefined);
|
|
513
|
+
}
|
|
514
|
+
export declare class UpperTickNotMultipleOfTickSpacing extends Error {
|
|
515
|
+
readonly logs?: string[] | undefined;
|
|
516
|
+
static readonly code = 6064;
|
|
517
|
+
readonly code = 6064;
|
|
518
|
+
readonly name = "UpperTickNotMultipleOfTickSpacing";
|
|
519
|
+
readonly msg = "Upper tick is not a multiple of tick spacing";
|
|
520
|
+
constructor(logs?: string[] | undefined);
|
|
521
|
+
}
|
|
522
|
+
export declare class CannotChangeAdminAuthority extends Error {
|
|
523
|
+
readonly logs?: string[] | undefined;
|
|
524
|
+
static readonly code = 6065;
|
|
525
|
+
readonly code = 6065;
|
|
526
|
+
readonly name = "CannotChangeAdminAuthority";
|
|
527
|
+
readonly msg = "Cannot change admin authority";
|
|
528
|
+
constructor(logs?: string[] | undefined);
|
|
529
|
+
}
|
|
530
|
+
export declare class CannotResizeAccount extends Error {
|
|
531
|
+
readonly logs?: string[] | undefined;
|
|
532
|
+
static readonly code = 6066;
|
|
533
|
+
readonly code = 6066;
|
|
534
|
+
readonly name = "CannotResizeAccount";
|
|
535
|
+
readonly msg = "Cannot resize with smaller new size";
|
|
536
|
+
constructor(logs?: string[] | undefined);
|
|
537
|
+
}
|
|
538
|
+
export declare class ScopeChainUpdateFailed extends Error {
|
|
539
|
+
readonly logs?: string[] | undefined;
|
|
540
|
+
static readonly code = 6067;
|
|
541
|
+
readonly code = 6067;
|
|
542
|
+
readonly name = "ScopeChainUpdateFailed";
|
|
543
|
+
readonly msg = "Scope chain update failed";
|
|
544
|
+
constructor(logs?: string[] | undefined);
|
|
545
|
+
}
|
|
546
|
+
export declare class PriceTooDivergentFromTwap extends Error {
|
|
547
|
+
readonly logs?: string[] | undefined;
|
|
548
|
+
static readonly code = 6068;
|
|
549
|
+
readonly code = 6068;
|
|
550
|
+
readonly name = "PriceTooDivergentFromTwap";
|
|
551
|
+
readonly msg = "Price too divergent from twap";
|
|
552
|
+
constructor(logs?: string[] | undefined);
|
|
553
|
+
}
|
|
554
|
+
export declare class ExistingRewardOverride extends Error {
|
|
555
|
+
readonly logs?: string[] | undefined;
|
|
556
|
+
static readonly code = 6069;
|
|
557
|
+
readonly code = 6069;
|
|
558
|
+
readonly name = "ExistingRewardOverride";
|
|
559
|
+
readonly msg = "[DEPRECATED] Can not override the existing reward";
|
|
560
|
+
constructor(logs?: string[] | undefined);
|
|
561
|
+
}
|
|
562
|
+
export declare class WrongKaminoRewardId extends Error {
|
|
563
|
+
readonly logs?: string[] | undefined;
|
|
564
|
+
static readonly code = 6070;
|
|
565
|
+
readonly code = 6070;
|
|
566
|
+
readonly name = "WrongKaminoRewardId";
|
|
567
|
+
readonly msg = "Kamino reward id exceeds the available slots";
|
|
568
|
+
constructor(logs?: string[] | undefined);
|
|
569
|
+
}
|
|
570
|
+
export declare class KaminoRewardNotExist extends Error {
|
|
571
|
+
readonly logs?: string[] | undefined;
|
|
572
|
+
static readonly code = 6071;
|
|
573
|
+
readonly code = 6071;
|
|
574
|
+
readonly name = "KaminoRewardNotExist";
|
|
575
|
+
readonly msg = "Kamino reward is not initialized";
|
|
576
|
+
constructor(logs?: string[] | undefined);
|
|
577
|
+
}
|
|
578
|
+
export declare class KaminoRewardAlreadyExists extends Error {
|
|
579
|
+
readonly logs?: string[] | undefined;
|
|
580
|
+
static readonly code = 6072;
|
|
581
|
+
readonly code = 6072;
|
|
582
|
+
readonly name = "KaminoRewardAlreadyExists";
|
|
583
|
+
readonly msg = "Kamino reward is already initialized";
|
|
584
|
+
constructor(logs?: string[] | undefined);
|
|
585
|
+
}
|
|
586
|
+
export declare class KaminoCollateralNotValid extends Error {
|
|
587
|
+
readonly logs?: string[] | undefined;
|
|
588
|
+
static readonly code = 6073;
|
|
589
|
+
readonly code = 6073;
|
|
590
|
+
readonly name = "KaminoCollateralNotValid";
|
|
591
|
+
readonly msg = "Kamino collateral is not valid";
|
|
592
|
+
constructor(logs?: string[] | undefined);
|
|
593
|
+
}
|
|
594
|
+
export declare class KaminoRewardExceedsAvailableAmount extends Error {
|
|
595
|
+
readonly logs?: string[] | undefined;
|
|
596
|
+
static readonly code = 6074;
|
|
597
|
+
readonly code = 6074;
|
|
598
|
+
readonly name = "KaminoRewardExceedsAvailableAmount";
|
|
599
|
+
readonly msg = "[DEPRECATED] Expected kamino reward is bigger then the available amount within the vault";
|
|
600
|
+
constructor(logs?: string[] | undefined);
|
|
601
|
+
}
|
|
602
|
+
export declare class SwapUnevenVaultsOvershoot extends Error {
|
|
603
|
+
readonly logs?: string[] | undefined;
|
|
604
|
+
static readonly code = 6075;
|
|
605
|
+
readonly code = 6075;
|
|
606
|
+
readonly name = "SwapUnevenVaultsOvershoot";
|
|
607
|
+
readonly msg = "Swap uneven vaults result in the opposite unbalance of the vaults";
|
|
608
|
+
constructor(logs?: string[] | undefined);
|
|
609
|
+
}
|
|
610
|
+
export declare class BpsNotInRange extends Error {
|
|
611
|
+
readonly logs?: string[] | undefined;
|
|
612
|
+
static readonly code = 6076;
|
|
613
|
+
readonly code = 6076;
|
|
614
|
+
readonly name = "BpsNotInRange";
|
|
615
|
+
readonly msg = "Bps parameter passed to instruction is not in range";
|
|
616
|
+
constructor(logs?: string[] | undefined);
|
|
617
|
+
}
|
|
618
|
+
export declare class EmergencySwapBlocked extends Error {
|
|
619
|
+
readonly logs?: string[] | undefined;
|
|
620
|
+
static readonly code = 6077;
|
|
621
|
+
readonly code = 6077;
|
|
622
|
+
readonly name = "EmergencySwapBlocked";
|
|
623
|
+
readonly msg = "Emergency Swap is blocked";
|
|
624
|
+
constructor(logs?: string[] | undefined);
|
|
625
|
+
}
|
|
626
|
+
export declare class StrategyNotFrozen extends Error {
|
|
627
|
+
readonly logs?: string[] | undefined;
|
|
628
|
+
static readonly code = 6078;
|
|
629
|
+
readonly code = 6078;
|
|
630
|
+
readonly name = "StrategyNotFrozen";
|
|
631
|
+
readonly msg = "Strategy is expected to be frozen for this operation";
|
|
632
|
+
constructor(logs?: string[] | undefined);
|
|
633
|
+
}
|
|
634
|
+
export declare class UnexpectedTokenAmountsPostSwap extends Error {
|
|
635
|
+
readonly logs?: string[] | undefined;
|
|
636
|
+
static readonly code = 6079;
|
|
637
|
+
readonly code = 6079;
|
|
638
|
+
readonly name = "UnexpectedTokenAmountsPostSwap";
|
|
639
|
+
readonly msg = "Token left in vault post swap are lower than expected";
|
|
640
|
+
constructor(logs?: string[] | undefined);
|
|
641
|
+
}
|
|
642
|
+
export declare class AccountNotBelongToDEX extends Error {
|
|
643
|
+
readonly logs?: string[] | undefined;
|
|
644
|
+
static readonly code = 6080;
|
|
645
|
+
readonly code = 6080;
|
|
646
|
+
readonly name = "AccountNotBelongToDEX";
|
|
647
|
+
readonly msg = "Account doesn't belong to the DEX";
|
|
648
|
+
constructor(logs?: string[] | undefined);
|
|
649
|
+
}
|
|
650
|
+
export declare class WrongDEXProgramID extends Error {
|
|
651
|
+
readonly logs?: string[] | undefined;
|
|
652
|
+
static readonly code = 6081;
|
|
653
|
+
readonly code = 6081;
|
|
654
|
+
readonly name = "WrongDEXProgramID";
|
|
655
|
+
readonly msg = "Wrong DEX program ID";
|
|
656
|
+
constructor(logs?: string[] | undefined);
|
|
657
|
+
}
|
|
658
|
+
export declare class OrcaRewardUninitialized extends Error {
|
|
659
|
+
readonly logs?: string[] | undefined;
|
|
660
|
+
static readonly code = 6082;
|
|
661
|
+
readonly code = 6082;
|
|
662
|
+
readonly name = "OrcaRewardUninitialized";
|
|
663
|
+
readonly msg = "Cannot use uninitialized orca reward vault";
|
|
664
|
+
constructor(logs?: string[] | undefined);
|
|
665
|
+
}
|
|
666
|
+
export declare class InvalidAdminAuthority extends Error {
|
|
667
|
+
readonly logs?: string[] | undefined;
|
|
668
|
+
static readonly code = 6083;
|
|
669
|
+
readonly code = 6083;
|
|
670
|
+
readonly name = "InvalidAdminAuthority";
|
|
671
|
+
readonly msg = "Invalid admin authority";
|
|
672
|
+
constructor(logs?: string[] | undefined);
|
|
673
|
+
}
|
|
674
|
+
export declare class PriceIsBiggerThanHeuristic extends Error {
|
|
675
|
+
readonly logs?: string[] | undefined;
|
|
676
|
+
static readonly code = 6084;
|
|
677
|
+
readonly code = 6084;
|
|
678
|
+
readonly name = "PriceIsBiggerThanHeuristic";
|
|
679
|
+
readonly msg = "Token price is bigger than heuristic";
|
|
680
|
+
constructor(logs?: string[] | undefined);
|
|
681
|
+
}
|
|
682
|
+
export declare class PriceIsLowerThanHeuristic extends Error {
|
|
683
|
+
readonly logs?: string[] | undefined;
|
|
684
|
+
static readonly code = 6085;
|
|
685
|
+
readonly code = 6085;
|
|
686
|
+
readonly name = "PriceIsLowerThanHeuristic";
|
|
687
|
+
readonly msg = "Token price is lower than heuristic";
|
|
688
|
+
constructor(logs?: string[] | undefined);
|
|
689
|
+
}
|
|
690
|
+
export declare class AccountDifferentThanExpected extends Error {
|
|
691
|
+
readonly logs?: string[] | undefined;
|
|
692
|
+
static readonly code = 6086;
|
|
693
|
+
readonly code = 6086;
|
|
694
|
+
readonly name = "AccountDifferentThanExpected";
|
|
695
|
+
readonly msg = "Account different than expected";
|
|
696
|
+
constructor(logs?: string[] | undefined);
|
|
697
|
+
}
|
|
698
|
+
export declare class SwapAmountsTooSmall extends Error {
|
|
699
|
+
readonly logs?: string[] | undefined;
|
|
700
|
+
static readonly code = 6087;
|
|
701
|
+
readonly code = 6087;
|
|
702
|
+
readonly name = "SwapAmountsTooSmall";
|
|
703
|
+
readonly msg = "Swap amount below the minimum value";
|
|
704
|
+
constructor(logs?: string[] | undefined);
|
|
705
|
+
}
|
|
706
|
+
export declare class InvalidDexProgramId extends Error {
|
|
707
|
+
readonly logs?: string[] | undefined;
|
|
708
|
+
static readonly code = 6088;
|
|
709
|
+
readonly code = 6088;
|
|
710
|
+
readonly name = "InvalidDexProgramId";
|
|
711
|
+
readonly msg = "Invalid dex program id";
|
|
712
|
+
constructor(logs?: string[] | undefined);
|
|
713
|
+
}
|
|
714
|
+
export declare class StrategyDepositBlocked extends Error {
|
|
715
|
+
readonly logs?: string[] | undefined;
|
|
716
|
+
static readonly code = 6089;
|
|
717
|
+
readonly code = 6089;
|
|
718
|
+
readonly name = "StrategyDepositBlocked";
|
|
719
|
+
readonly msg = "Strategy deposit is currently blocked";
|
|
720
|
+
constructor(logs?: string[] | undefined);
|
|
721
|
+
}
|
|
722
|
+
export declare class StrategyInvestBlocked extends Error {
|
|
723
|
+
readonly logs?: string[] | undefined;
|
|
724
|
+
static readonly code = 6090;
|
|
725
|
+
readonly code = 6090;
|
|
726
|
+
readonly name = "StrategyInvestBlocked";
|
|
727
|
+
readonly msg = "Strategy invest is currently blocked";
|
|
728
|
+
constructor(logs?: string[] | undefined);
|
|
729
|
+
}
|
|
730
|
+
export declare class StrategyWithdrawBlocked extends Error {
|
|
731
|
+
readonly logs?: string[] | undefined;
|
|
732
|
+
static readonly code = 6091;
|
|
733
|
+
readonly code = 6091;
|
|
734
|
+
readonly name = "StrategyWithdrawBlocked";
|
|
735
|
+
readonly msg = "Strategy withdraw is currently blocked";
|
|
736
|
+
constructor(logs?: string[] | undefined);
|
|
737
|
+
}
|
|
738
|
+
export declare class WrongSwapVaultDirection extends Error {
|
|
739
|
+
readonly logs?: string[] | undefined;
|
|
740
|
+
static readonly code = 6092;
|
|
741
|
+
readonly code = 6092;
|
|
742
|
+
readonly name = "WrongSwapVaultDirection";
|
|
743
|
+
readonly msg = "Vault swap can't be performed in the required direction";
|
|
744
|
+
constructor(logs?: string[] | undefined);
|
|
745
|
+
}
|
|
746
|
+
export declare class SwapVaultsTooBig extends Error {
|
|
747
|
+
readonly logs?: string[] | undefined;
|
|
748
|
+
static readonly code = 6093;
|
|
749
|
+
readonly code = 6093;
|
|
750
|
+
readonly name = "SwapVaultsTooBig";
|
|
751
|
+
readonly msg = "Provided amount for vault swap is over the limit";
|
|
752
|
+
constructor(logs?: string[] | undefined);
|
|
753
|
+
}
|
|
754
|
+
export declare class SwapVaultsCashOutputBelowMinimum extends Error {
|
|
755
|
+
readonly logs?: string[] | undefined;
|
|
756
|
+
static readonly code = 6094;
|
|
757
|
+
readonly code = 6094;
|
|
758
|
+
readonly name = "SwapVaultsCashOutputBelowMinimum";
|
|
759
|
+
readonly msg = "Token out for cash based vault swap is below minimum expected";
|
|
760
|
+
constructor(logs?: string[] | undefined);
|
|
761
|
+
}
|
|
762
|
+
export declare class FlashIxsNotEnded extends Error {
|
|
763
|
+
readonly logs?: string[] | undefined;
|
|
764
|
+
static readonly code = 6095;
|
|
765
|
+
readonly code = 6095;
|
|
766
|
+
readonly name = "FlashIxsNotEnded";
|
|
767
|
+
readonly msg = "Flash ixs initiated without the closing ix in the transaction";
|
|
768
|
+
constructor(logs?: string[] | undefined);
|
|
769
|
+
}
|
|
770
|
+
export declare class FlashTxWithUnexpectedIxs extends Error {
|
|
771
|
+
readonly logs?: string[] | undefined;
|
|
772
|
+
static readonly code = 6096;
|
|
773
|
+
readonly code = 6096;
|
|
774
|
+
readonly name = "FlashTxWithUnexpectedIxs";
|
|
775
|
+
readonly msg = "Some unexpected instructions are present in the tx. Either before or after the flash ixs, or some ix target the same program between";
|
|
776
|
+
constructor(logs?: string[] | undefined);
|
|
777
|
+
}
|
|
778
|
+
export declare class FlashIxsAccountMismatch extends Error {
|
|
779
|
+
readonly logs?: string[] | undefined;
|
|
780
|
+
static readonly code = 6097;
|
|
781
|
+
readonly code = 6097;
|
|
782
|
+
readonly name = "FlashIxsAccountMismatch";
|
|
783
|
+
readonly msg = "Some accounts differ between the two flash ixs";
|
|
784
|
+
constructor(logs?: string[] | undefined);
|
|
785
|
+
}
|
|
786
|
+
export declare class FlashIxsIncludeScope extends Error {
|
|
787
|
+
readonly logs?: string[] | undefined;
|
|
788
|
+
static readonly code = 6098;
|
|
789
|
+
readonly code = 6098;
|
|
790
|
+
readonly name = "FlashIxsIncludeScope";
|
|
791
|
+
readonly msg = "A scope ix is present in a flash tx";
|
|
792
|
+
constructor(logs?: string[] | undefined);
|
|
793
|
+
}
|
|
794
|
+
export declare class FlashVaultSwapBlocked extends Error {
|
|
795
|
+
readonly logs?: string[] | undefined;
|
|
796
|
+
static readonly code = 6099;
|
|
797
|
+
readonly code = 6099;
|
|
798
|
+
readonly name = "FlashVaultSwapBlocked";
|
|
799
|
+
readonly msg = "Flash vault swap is blocked on this strategy";
|
|
800
|
+
constructor(logs?: string[] | undefined);
|
|
801
|
+
}
|
|
802
|
+
export declare class FlashVaultSwapWrongAmountToLeave extends Error {
|
|
803
|
+
readonly logs?: string[] | undefined;
|
|
804
|
+
static readonly code = 6100;
|
|
805
|
+
readonly code = 6100;
|
|
806
|
+
readonly name = "FlashVaultSwapWrongAmountToLeave";
|
|
807
|
+
readonly msg = "Unexpected amount of tokens in ata prior flash vault swap (wrong amount_to_leave_to_user)";
|
|
808
|
+
constructor(logs?: string[] | undefined);
|
|
809
|
+
}
|
|
810
|
+
export declare class DepositLessThanMinimum extends Error {
|
|
811
|
+
readonly logs?: string[] | undefined;
|
|
812
|
+
static readonly code = 6101;
|
|
813
|
+
readonly code = 6101;
|
|
814
|
+
readonly name = "DepositLessThanMinimum";
|
|
815
|
+
readonly msg = "Deposit amount less than minimal allowed";
|
|
816
|
+
constructor(logs?: string[] | undefined);
|
|
817
|
+
}
|
|
818
|
+
export declare class DepositWithoutInvestDisallowed extends Error {
|
|
819
|
+
readonly logs?: string[] | undefined;
|
|
820
|
+
static readonly code = 6102;
|
|
821
|
+
readonly code = 6102;
|
|
822
|
+
readonly name = "DepositWithoutInvestDisallowed";
|
|
823
|
+
readonly msg = "Cannot deposit without invest";
|
|
824
|
+
constructor(logs?: string[] | undefined);
|
|
825
|
+
}
|
|
826
|
+
export declare class InvalidScopeChain extends Error {
|
|
827
|
+
readonly logs?: string[] | undefined;
|
|
828
|
+
static readonly code = 6103;
|
|
829
|
+
readonly code = 6103;
|
|
830
|
+
readonly name = "InvalidScopeChain";
|
|
831
|
+
readonly msg = "Invalid Scope Chain";
|
|
832
|
+
constructor(logs?: string[] | undefined);
|
|
833
|
+
}
|
|
834
|
+
export declare class InvalidScopeTWAPChain extends Error {
|
|
835
|
+
readonly logs?: string[] | undefined;
|
|
836
|
+
static readonly code = 6104;
|
|
837
|
+
readonly code = 6104;
|
|
838
|
+
readonly name = "InvalidScopeTWAPChain";
|
|
839
|
+
readonly msg = "Invalid Scope TWAP Chain";
|
|
840
|
+
constructor(logs?: string[] | undefined);
|
|
841
|
+
}
|
|
842
|
+
export declare class PositionHasRemainingLiquidity extends Error {
|
|
843
|
+
readonly logs?: string[] | undefined;
|
|
844
|
+
static readonly code = 6105;
|
|
845
|
+
readonly code = 6105;
|
|
846
|
+
readonly name = "PositionHasRemainingLiquidity";
|
|
847
|
+
readonly msg = "Existent position has liquidity, new position creation is forbidden";
|
|
848
|
+
constructor(logs?: string[] | undefined);
|
|
849
|
+
}
|
|
850
|
+
export declare class PoolRebalancing extends Error {
|
|
851
|
+
readonly logs?: string[] | undefined;
|
|
852
|
+
static readonly code = 6106;
|
|
853
|
+
readonly code = 6106;
|
|
854
|
+
readonly name = "PoolRebalancing";
|
|
855
|
+
readonly msg = "Deposit is not allowed as pool is rebalancing";
|
|
856
|
+
constructor(logs?: string[] | undefined);
|
|
857
|
+
}
|
|
858
|
+
export declare class PermissionlessRebalancingDisabled extends Error {
|
|
859
|
+
readonly logs?: string[] | undefined;
|
|
860
|
+
static readonly code = 6107;
|
|
861
|
+
readonly code = 6107;
|
|
862
|
+
readonly name = "PermissionlessRebalancingDisabled";
|
|
863
|
+
readonly msg = "Permissionless rebalancing is disabled";
|
|
864
|
+
constructor(logs?: string[] | undefined);
|
|
865
|
+
}
|
|
866
|
+
export declare class ManualRebalanceInvalidOwner extends Error {
|
|
867
|
+
readonly logs?: string[] | undefined;
|
|
868
|
+
static readonly code = 6108;
|
|
869
|
+
readonly code = 6108;
|
|
870
|
+
readonly name = "ManualRebalanceInvalidOwner";
|
|
871
|
+
readonly msg = "Only the owner of the strategy can manually rebalance it";
|
|
872
|
+
constructor(logs?: string[] | undefined);
|
|
873
|
+
}
|
|
874
|
+
export declare class InvalidRebalanceType extends Error {
|
|
875
|
+
readonly logs?: string[] | undefined;
|
|
876
|
+
static readonly code = 6109;
|
|
877
|
+
readonly code = 6109;
|
|
878
|
+
readonly name = "InvalidRebalanceType";
|
|
879
|
+
readonly msg = "Invalid rebalance type for the strategy";
|
|
880
|
+
constructor(logs?: string[] | undefined);
|
|
881
|
+
}
|
|
882
|
+
export declare class NoRebalanceNecessary extends Error {
|
|
883
|
+
readonly logs?: string[] | undefined;
|
|
884
|
+
static readonly code = 6110;
|
|
885
|
+
readonly code = 6110;
|
|
886
|
+
readonly name = "NoRebalanceNecessary";
|
|
887
|
+
readonly msg = "No rebalance necessary based on current rebalance type/parameters";
|
|
888
|
+
constructor(logs?: string[] | undefined);
|
|
889
|
+
}
|
|
890
|
+
export declare class TickArraysDoNotMatchRebalance extends Error {
|
|
891
|
+
readonly logs?: string[] | undefined;
|
|
892
|
+
static readonly code = 6111;
|
|
893
|
+
readonly code = 6111;
|
|
894
|
+
readonly name = "TickArraysDoNotMatchRebalance";
|
|
895
|
+
readonly msg = "The given tick arrays do not match the rebalance result";
|
|
896
|
+
constructor(logs?: string[] | undefined);
|
|
897
|
+
}
|
|
898
|
+
export declare class StrategyPositionNotValid extends Error {
|
|
899
|
+
readonly logs?: string[] | undefined;
|
|
900
|
+
static readonly code = 6112;
|
|
901
|
+
readonly code = 6112;
|
|
902
|
+
readonly name = "StrategyPositionNotValid";
|
|
903
|
+
readonly msg = "Expected strategy position to be initialized";
|
|
904
|
+
constructor(logs?: string[] | undefined);
|
|
905
|
+
}
|
|
906
|
+
export declare class CouldNotDeserializeRebalanceState extends Error {
|
|
907
|
+
readonly logs?: string[] | undefined;
|
|
908
|
+
static readonly code = 6113;
|
|
909
|
+
readonly code = 6113;
|
|
910
|
+
readonly name = "CouldNotDeserializeRebalanceState";
|
|
911
|
+
readonly msg = "Rebalance state could not be deserialized";
|
|
912
|
+
constructor(logs?: string[] | undefined);
|
|
913
|
+
}
|
|
914
|
+
export declare class CouldNotSerializeRebalanceState extends Error {
|
|
915
|
+
readonly logs?: string[] | undefined;
|
|
916
|
+
static readonly code = 6114;
|
|
917
|
+
readonly code = 6114;
|
|
918
|
+
readonly name = "CouldNotSerializeRebalanceState";
|
|
919
|
+
readonly msg = "Rebalance state could not be serialized";
|
|
920
|
+
constructor(logs?: string[] | undefined);
|
|
921
|
+
}
|
|
922
|
+
export declare class CouldNotDeserializeRebalanceParams extends Error {
|
|
923
|
+
readonly logs?: string[] | undefined;
|
|
924
|
+
static readonly code = 6115;
|
|
925
|
+
readonly code = 6115;
|
|
926
|
+
readonly name = "CouldNotDeserializeRebalanceParams";
|
|
927
|
+
readonly msg = "Rebalance params could not be deserialized";
|
|
928
|
+
constructor(logs?: string[] | undefined);
|
|
929
|
+
}
|
|
930
|
+
export declare class NotEnoughTokensForRatio extends Error {
|
|
931
|
+
readonly logs?: string[] | undefined;
|
|
932
|
+
static readonly code = 6116;
|
|
933
|
+
readonly code = 6116;
|
|
934
|
+
readonly name = "NotEnoughTokensForRatio";
|
|
935
|
+
readonly msg = "Deposit is not allowed as token amounts are not enough to match our holdings ratio";
|
|
936
|
+
constructor(logs?: string[] | undefined);
|
|
937
|
+
}
|
|
938
|
+
export declare class AmountsRepresentZeroShares extends Error {
|
|
939
|
+
readonly logs?: string[] | undefined;
|
|
940
|
+
static readonly code = 6117;
|
|
941
|
+
readonly code = 6117;
|
|
942
|
+
readonly name = "AmountsRepresentZeroShares";
|
|
943
|
+
readonly msg = "The provided amounts are too small";
|
|
944
|
+
constructor(logs?: string[] | undefined);
|
|
945
|
+
}
|
|
946
|
+
export declare class MaxLossExceeded extends Error {
|
|
947
|
+
readonly logs?: string[] | undefined;
|
|
948
|
+
static readonly code = 6118;
|
|
949
|
+
readonly code = 6118;
|
|
950
|
+
readonly name = "MaxLossExceeded";
|
|
951
|
+
readonly msg = "Rouding errors exceed the maximal loss tolerance";
|
|
952
|
+
constructor(logs?: string[] | undefined);
|
|
953
|
+
}
|
|
954
|
+
export declare class RewardNotStrategyToken extends Error {
|
|
955
|
+
readonly logs?: string[] | undefined;
|
|
956
|
+
static readonly code = 6119;
|
|
957
|
+
readonly code = 6119;
|
|
958
|
+
readonly name = "RewardNotStrategyToken";
|
|
959
|
+
readonly msg = "Reward does not match strategy token";
|
|
960
|
+
constructor(logs?: string[] | undefined);
|
|
961
|
+
}
|
|
962
|
+
export declare class DecimalToU64ConversionFailed extends Error {
|
|
963
|
+
readonly logs?: string[] | undefined;
|
|
964
|
+
static readonly code = 6120;
|
|
965
|
+
readonly code = 6120;
|
|
966
|
+
readonly name = "DecimalToU64ConversionFailed";
|
|
967
|
+
readonly msg = "Decimal to u64 conversion failed";
|
|
968
|
+
constructor(logs?: string[] | undefined);
|
|
969
|
+
}
|
|
970
|
+
export declare class DecimalOperationFailed extends Error {
|
|
971
|
+
readonly logs?: string[] | undefined;
|
|
972
|
+
static readonly code = 6121;
|
|
973
|
+
readonly code = 6121;
|
|
974
|
+
readonly name = "DecimalOperationFailed";
|
|
975
|
+
readonly msg = "Decimal operation failed";
|
|
976
|
+
constructor(logs?: string[] | undefined);
|
|
977
|
+
}
|
|
978
|
+
export declare class VaultBalancesCausesWrongSharesIssuance extends Error {
|
|
979
|
+
readonly logs?: string[] | undefined;
|
|
980
|
+
static readonly code = 6122;
|
|
981
|
+
readonly code = 6122;
|
|
982
|
+
readonly name = "VaultBalancesCausesWrongSharesIssuance";
|
|
983
|
+
readonly msg = "Deposit is not allowed as the strategy is not fully invested in the pool ";
|
|
984
|
+
constructor(logs?: string[] | undefined);
|
|
985
|
+
}
|
|
986
|
+
export declare class TokenDisabled extends Error {
|
|
987
|
+
readonly logs?: string[] | undefined;
|
|
988
|
+
static readonly code = 6123;
|
|
989
|
+
readonly code = 6123;
|
|
990
|
+
readonly name = "TokenDisabled";
|
|
991
|
+
readonly msg = "Token cannot be used in strategy creation";
|
|
992
|
+
constructor(logs?: string[] | undefined);
|
|
993
|
+
}
|
|
994
|
+
export declare class InvalidReferencePriceType extends Error {
|
|
995
|
+
readonly logs?: string[] | undefined;
|
|
996
|
+
static readonly code = 6124;
|
|
997
|
+
readonly code = 6124;
|
|
998
|
+
readonly name = "InvalidReferencePriceType";
|
|
999
|
+
readonly msg = "Invalid reference price type";
|
|
1000
|
+
constructor(logs?: string[] | undefined);
|
|
1001
|
+
}
|
|
1002
|
+
export declare class TokenToSwapNotEnough extends Error {
|
|
1003
|
+
readonly logs?: string[] | undefined;
|
|
1004
|
+
static readonly code = 6125;
|
|
1005
|
+
readonly code = 6125;
|
|
1006
|
+
readonly name = "TokenToSwapNotEnough";
|
|
1007
|
+
readonly msg = "Token amount to be swapped is not enough";
|
|
1008
|
+
constructor(logs?: string[] | undefined);
|
|
1009
|
+
}
|
|
1010
|
+
export declare class TokenAccountBalanceMismatch extends Error {
|
|
1011
|
+
readonly logs?: string[] | undefined;
|
|
1012
|
+
static readonly code = 6126;
|
|
1013
|
+
readonly code = 6126;
|
|
1014
|
+
readonly name = "TokenAccountBalanceMismatch";
|
|
1015
|
+
readonly msg = "Token amount in ata is different than the expected amount";
|
|
1016
|
+
constructor(logs?: string[] | undefined);
|
|
1017
|
+
}
|
|
1018
|
+
export declare class UnexpectedProgramIdForPrerequisiteIx extends Error {
|
|
1019
|
+
readonly logs?: string[] | undefined;
|
|
1020
|
+
static readonly code = 6127;
|
|
1021
|
+
readonly code = 6127;
|
|
1022
|
+
readonly name = "UnexpectedProgramIdForPrerequisiteIx";
|
|
1023
|
+
readonly msg = "Unexpected programID for prerequisite ix";
|
|
1024
|
+
constructor(logs?: string[] | undefined);
|
|
1025
|
+
}
|
|
1026
|
+
export declare class ComputeFeesAndRewardsUpdateError extends Error {
|
|
1027
|
+
readonly logs?: string[] | undefined;
|
|
1028
|
+
static readonly code = 6128;
|
|
1029
|
+
readonly code = 6128;
|
|
1030
|
+
readonly name = "ComputeFeesAndRewardsUpdateError";
|
|
1031
|
+
readonly msg = "Got an error from the dex specific function while computing the fees/rewards update";
|
|
1032
|
+
constructor(logs?: string[] | undefined);
|
|
1033
|
+
}
|
|
1034
|
+
export declare class SharesNotZero extends Error {
|
|
1035
|
+
readonly logs?: string[] | undefined;
|
|
1036
|
+
static readonly code = 6129;
|
|
1037
|
+
readonly code = 6129;
|
|
1038
|
+
readonly name = "SharesNotZero";
|
|
1039
|
+
readonly msg = "There must be no shares issued when closing a strategy";
|
|
1040
|
+
constructor(logs?: string[] | undefined);
|
|
1041
|
+
}
|
|
1042
|
+
export declare class InvalidScopeStakingRateChain extends Error {
|
|
1043
|
+
readonly logs?: string[] | undefined;
|
|
1044
|
+
static readonly code = 6130;
|
|
1045
|
+
readonly code = 6130;
|
|
1046
|
+
readonly name = "InvalidScopeStakingRateChain";
|
|
1047
|
+
readonly msg = "Invalid Scope staking rate Chain";
|
|
1048
|
+
constructor(logs?: string[] | undefined);
|
|
1049
|
+
}
|
|
1050
|
+
export declare class StakingRateNotValid extends Error {
|
|
1051
|
+
readonly logs?: string[] | undefined;
|
|
1052
|
+
static readonly code = 6131;
|
|
1053
|
+
readonly code = 6131;
|
|
1054
|
+
readonly name = "StakingRateNotValid";
|
|
1055
|
+
readonly msg = "Staking rate (provided by Scope) is not valid";
|
|
1056
|
+
constructor(logs?: string[] | undefined);
|
|
1057
|
+
}
|
|
1058
|
+
export declare class DecimalToU128ConversionFailed extends Error {
|
|
1059
|
+
readonly logs?: string[] | undefined;
|
|
1060
|
+
static readonly code = 6132;
|
|
1061
|
+
readonly code = 6132;
|
|
1062
|
+
readonly name = "DecimalToU128ConversionFailed";
|
|
1063
|
+
readonly msg = "Decimal to u128 conversion failed";
|
|
1064
|
+
constructor(logs?: string[] | undefined);
|
|
1065
|
+
}
|
|
1066
|
+
export declare class DecimalNegativeSqrtRoot extends Error {
|
|
1067
|
+
readonly logs?: string[] | undefined;
|
|
1068
|
+
static readonly code = 6133;
|
|
1069
|
+
readonly code = 6133;
|
|
1070
|
+
readonly name = "DecimalNegativeSqrtRoot";
|
|
1071
|
+
readonly msg = "Decimal sqrt on negative number";
|
|
1072
|
+
constructor(logs?: string[] | undefined);
|
|
1073
|
+
}
|
|
1074
|
+
export declare class DriftingOppositeDirection extends Error {
|
|
1075
|
+
readonly logs?: string[] | undefined;
|
|
1076
|
+
static readonly code = 6134;
|
|
1077
|
+
readonly code = 6134;
|
|
1078
|
+
readonly name = "DriftingOppositeDirection";
|
|
1079
|
+
readonly msg = "Drifting strategy is moving in the opposite direction";
|
|
1080
|
+
constructor(logs?: string[] | undefined);
|
|
1081
|
+
}
|
|
1082
|
+
export declare class WrongRewardCollateralId extends Error {
|
|
1083
|
+
readonly logs?: string[] | undefined;
|
|
1084
|
+
static readonly code = 6135;
|
|
1085
|
+
readonly code = 6135;
|
|
1086
|
+
readonly name = "WrongRewardCollateralId";
|
|
1087
|
+
readonly msg = "Wrong reward collateral_id";
|
|
1088
|
+
constructor(logs?: string[] | undefined);
|
|
1089
|
+
}
|
|
1090
|
+
export declare class CollateralInfoAlreadyExists extends Error {
|
|
1091
|
+
readonly logs?: string[] | undefined;
|
|
1092
|
+
static readonly code = 6136;
|
|
1093
|
+
readonly code = 6136;
|
|
1094
|
+
readonly name = "CollateralInfoAlreadyExists";
|
|
1095
|
+
readonly msg = "Collateral info already exists for given index";
|
|
1096
|
+
constructor(logs?: string[] | undefined);
|
|
1097
|
+
}
|
|
1098
|
+
export declare class InvestTooEarly extends Error {
|
|
1099
|
+
readonly logs?: string[] | undefined;
|
|
1100
|
+
static readonly code = 6137;
|
|
1101
|
+
readonly code = 6137;
|
|
1102
|
+
readonly name = "InvestTooEarly";
|
|
1103
|
+
readonly msg = "Invest is too early after the position was opened";
|
|
1104
|
+
constructor(logs?: string[] | undefined);
|
|
1105
|
+
}
|
|
1106
|
+
export declare class SwapUnevenTooEarly extends Error {
|
|
1107
|
+
readonly logs?: string[] | undefined;
|
|
1108
|
+
static readonly code = 6138;
|
|
1109
|
+
readonly code = 6138;
|
|
1110
|
+
readonly name = "SwapUnevenTooEarly";
|
|
1111
|
+
readonly msg = "Swap uneven is too early after the position was opened";
|
|
1112
|
+
constructor(logs?: string[] | undefined);
|
|
1113
|
+
}
|
|
1114
|
+
export declare class FlashSwapTooEarly extends Error {
|
|
1115
|
+
readonly logs?: string[] | undefined;
|
|
1116
|
+
static readonly code = 6139;
|
|
1117
|
+
readonly code = 6139;
|
|
1118
|
+
readonly name = "FlashSwapTooEarly";
|
|
1119
|
+
readonly msg = "Flash swap is too early after the position was opened";
|
|
1120
|
+
constructor(logs?: string[] | undefined);
|
|
1121
|
+
}
|
|
1122
|
+
export declare class RebalancesCapReached extends Error {
|
|
1123
|
+
readonly logs?: string[] | undefined;
|
|
1124
|
+
static readonly code = 6140;
|
|
1125
|
+
readonly code = 6140;
|
|
1126
|
+
readonly name = "RebalancesCapReached";
|
|
1127
|
+
readonly msg = "Rebalance caps reached, no rebalances are allowed until the end of the current interval";
|
|
1128
|
+
constructor(logs?: string[] | undefined);
|
|
1129
|
+
}
|
|
1130
|
+
export declare class SwapUnevenInvalidAuthority extends Error {
|
|
1131
|
+
readonly logs?: string[] | undefined;
|
|
1132
|
+
static readonly code = 6141;
|
|
1133
|
+
readonly code = 6141;
|
|
1134
|
+
readonly name = "SwapUnevenInvalidAuthority";
|
|
1135
|
+
readonly msg = "Cannot swap uneven because authority is set and the given signer does not correspond";
|
|
1136
|
+
constructor(logs?: string[] | undefined);
|
|
1137
|
+
}
|
|
1138
|
+
export declare class InvalidTick extends Error {
|
|
1139
|
+
readonly logs?: string[] | undefined;
|
|
1140
|
+
static readonly code = 6142;
|
|
1141
|
+
readonly code = 6142;
|
|
1142
|
+
readonly name = "InvalidTick";
|
|
1143
|
+
readonly msg = "Invalid tick requested";
|
|
1144
|
+
constructor(logs?: string[] | undefined);
|
|
1145
|
+
}
|
|
1146
|
+
export declare class MeteoraMathOverflow extends Error {
|
|
1147
|
+
readonly logs?: string[] | undefined;
|
|
1148
|
+
static readonly code = 6143;
|
|
1149
|
+
readonly code = 6143;
|
|
1150
|
+
readonly name = "MeteoraMathOverflow";
|
|
1151
|
+
readonly msg = "Meteora math overflowed";
|
|
1152
|
+
constructor(logs?: string[] | undefined);
|
|
1153
|
+
}
|
|
1154
|
+
export declare class StrategyTickArrayNotValid extends Error {
|
|
1155
|
+
readonly logs?: string[] | undefined;
|
|
1156
|
+
static readonly code = 6144;
|
|
1157
|
+
readonly code = 6144;
|
|
1158
|
+
readonly name = "StrategyTickArrayNotValid";
|
|
1159
|
+
readonly msg = "Expected strategy tick arrays to be initialized";
|
|
1160
|
+
constructor(logs?: string[] | undefined);
|
|
1161
|
+
}
|
|
1162
|
+
export declare class WrongEventAuthority extends Error {
|
|
1163
|
+
readonly logs?: string[] | undefined;
|
|
1164
|
+
static readonly code = 6145;
|
|
1165
|
+
readonly code = 6145;
|
|
1166
|
+
readonly name = "WrongEventAuthority";
|
|
1167
|
+
readonly msg = "Wrong event authority";
|
|
1168
|
+
constructor(logs?: string[] | undefined);
|
|
1169
|
+
}
|
|
1170
|
+
export declare class StrategyFieldUpdateNotAllowed extends Error {
|
|
1171
|
+
readonly logs?: string[] | undefined;
|
|
1172
|
+
static readonly code = 6146;
|
|
1173
|
+
readonly code = 6146;
|
|
1174
|
+
readonly name = "StrategyFieldUpdateNotAllowed";
|
|
1175
|
+
readonly msg = "Strategy field update is not allowed";
|
|
1176
|
+
constructor(logs?: string[] | undefined);
|
|
1177
|
+
}
|
|
1178
|
+
export declare class UnsupportedDex extends Error {
|
|
1179
|
+
readonly logs?: string[] | undefined;
|
|
1180
|
+
static readonly code = 6147;
|
|
1181
|
+
readonly code = 6147;
|
|
1182
|
+
readonly name = "UnsupportedDex";
|
|
1183
|
+
readonly msg = "DEX is not supported for this operation";
|
|
1184
|
+
constructor(logs?: string[] | undefined);
|
|
1185
|
+
}
|
|
1186
|
+
export declare class InvalidBPSValue extends Error {
|
|
1187
|
+
readonly logs?: string[] | undefined;
|
|
1188
|
+
static readonly code = 6148;
|
|
1189
|
+
readonly code = 6148;
|
|
1190
|
+
readonly name = "InvalidBPSValue";
|
|
1191
|
+
readonly msg = "Invalid BPS value provided";
|
|
1192
|
+
constructor(logs?: string[] | undefined);
|
|
1193
|
+
}
|
|
1194
|
+
export declare class RewardVaultOverrideNotAllowed extends Error {
|
|
1195
|
+
readonly logs?: string[] | undefined;
|
|
1196
|
+
static readonly code = 6149;
|
|
1197
|
+
readonly code = 6149;
|
|
1198
|
+
readonly name = "RewardVaultOverrideNotAllowed";
|
|
1199
|
+
readonly msg = "Reward vault override not allowed";
|
|
1200
|
+
constructor(logs?: string[] | undefined);
|
|
1201
|
+
}
|
|
1202
|
+
export declare class ComputeFeesAndRewardsInvalidReward extends Error {
|
|
1203
|
+
readonly logs?: string[] | undefined;
|
|
1204
|
+
static readonly code = 6150;
|
|
1205
|
+
readonly code = 6150;
|
|
1206
|
+
readonly name = "ComputeFeesAndRewardsInvalidReward";
|
|
1207
|
+
readonly msg = "Got invalid reward from the dex specific function while computing the fees/rewards update";
|
|
1208
|
+
constructor(logs?: string[] | undefined);
|
|
1209
|
+
}
|
|
1210
|
+
export declare class EmptyTreasury extends Error {
|
|
1211
|
+
readonly logs?: string[] | undefined;
|
|
1212
|
+
static readonly code = 6151;
|
|
1213
|
+
readonly code = 6151;
|
|
1214
|
+
readonly name = "EmptyTreasury";
|
|
1215
|
+
readonly msg = "No tokens to withdraw from treasury fee vault";
|
|
1216
|
+
constructor(logs?: string[] | undefined);
|
|
1217
|
+
}
|
|
1218
|
+
export declare class ChangingPoolRewardMintMismatch extends Error {
|
|
1219
|
+
readonly logs?: string[] | undefined;
|
|
1220
|
+
static readonly code = 6152;
|
|
1221
|
+
readonly code = 6152;
|
|
1222
|
+
readonly name = "ChangingPoolRewardMintMismatch";
|
|
1223
|
+
readonly msg = "New pool reward mint does not match the old pool reward mint";
|
|
1224
|
+
constructor(logs?: string[] | undefined);
|
|
1225
|
+
}
|
|
1226
|
+
export declare class ProvidedRewardVaultMismatch extends Error {
|
|
1227
|
+
readonly logs?: string[] | undefined;
|
|
1228
|
+
static readonly code = 6153;
|
|
1229
|
+
readonly code = 6153;
|
|
1230
|
+
readonly name = "ProvidedRewardVaultMismatch";
|
|
1231
|
+
readonly msg = "The provided reward vault does not match the strategy state";
|
|
1232
|
+
constructor(logs?: string[] | undefined);
|
|
1233
|
+
}
|
|
1234
|
+
export declare class RepeatedMint extends Error {
|
|
1235
|
+
readonly logs?: string[] | undefined;
|
|
1236
|
+
static readonly code = 6154;
|
|
1237
|
+
readonly code = 6154;
|
|
1238
|
+
readonly name = "RepeatedMint";
|
|
1239
|
+
readonly msg = "The provided reward vault does not match the strategy state";
|
|
1240
|
+
constructor(logs?: string[] | undefined);
|
|
1241
|
+
}
|
|
1242
|
+
export declare class UnsupportedTokenExtension extends Error {
|
|
1243
|
+
readonly logs?: string[] | undefined;
|
|
1244
|
+
static readonly code = 6155;
|
|
1245
|
+
readonly code = 6155;
|
|
1246
|
+
readonly name = "UnsupportedTokenExtension";
|
|
1247
|
+
readonly msg = "The token extension is not supported by the program";
|
|
1248
|
+
constructor(logs?: string[] | undefined);
|
|
1249
|
+
}
|
|
1250
|
+
export declare class UnsupportedDexForToken22 extends Error {
|
|
1251
|
+
readonly logs?: string[] | undefined;
|
|
1252
|
+
static readonly code = 6156;
|
|
1253
|
+
readonly code = 6156;
|
|
1254
|
+
readonly name = "UnsupportedDexForToken22";
|
|
1255
|
+
readonly msg = "Cannot initialize strategy with this dex while having a mint with token22";
|
|
1256
|
+
constructor(logs?: string[] | undefined);
|
|
1257
|
+
}
|
|
1258
|
+
export declare function fromCode(code: number, logs?: string[]): CustomError | null;
|