@exponent-labs/exponent-sdk 0.1.7 → 0.9.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/build/CodamaEventDecoder.d.ts +49 -0
- package/build/CodamaEventDecoder.js +113 -0
- package/build/CodamaEventDecoder.js.map +1 -0
- package/build/addressLookupTableUtil.d.ts +31 -10
- package/build/addressLookupTableUtil.js +65 -5
- package/build/addressLookupTableUtil.js.map +1 -1
- package/build/client/clmm/accounts/lpPosition.d.ts +29 -0
- package/build/client/clmm/accounts/lpPosition.js +82 -0
- package/build/client/clmm/accounts/lpPosition.js.map +1 -0
- package/build/client/clmm/accounts/marketThree.d.ts +47 -0
- package/build/client/clmm/accounts/marketThree.js +139 -0
- package/build/client/clmm/accounts/marketThree.js.map +1 -0
- package/build/client/clmm/accounts/vault.d.ts +48 -0
- package/build/client/clmm/accounts/vault.js +128 -0
- package/build/client/clmm/accounts/vault.js.map +1 -0
- package/build/client/clmm/eventRegistry.d.ts +59 -0
- package/build/client/clmm/eventRegistry.js +58 -0
- package/build/client/clmm/eventRegistry.js.map +1 -0
- package/build/client/clmm/index.d.ts +78 -0
- package/build/client/clmm/index.js +96 -0
- package/build/client/clmm/index.js.map +1 -0
- package/build/client/clmm/instructions/addFarm.d.ts +19 -0
- package/build/client/clmm/instructions/addFarm.js +31 -0
- package/build/client/clmm/instructions/addFarm.js.map +1 -0
- package/build/client/clmm/instructions/addLiquidity.d.ts +26 -0
- package/build/client/clmm/instructions/addLiquidity.js +38 -0
- package/build/client/clmm/instructions/addLiquidity.js.map +1 -0
- package/build/client/clmm/instructions/addMarketEmission.d.ts +15 -0
- package/build/client/clmm/instructions/addMarketEmission.js +27 -0
- package/build/client/clmm/instructions/addMarketEmission.js.map +1 -0
- package/build/client/clmm/instructions/buyPt.d.ts +24 -0
- package/build/client/clmm/instructions/buyPt.js +36 -0
- package/build/client/clmm/instructions/buyPt.js.map +1 -0
- package/build/client/clmm/instructions/buyYt.d.ts +26 -0
- package/build/client/clmm/instructions/buyYt.js +42 -0
- package/build/client/clmm/instructions/buyYt.js.map +1 -0
- package/build/client/clmm/instructions/claimFarmEmission.d.ts +18 -0
- package/build/client/clmm/instructions/claimFarmEmission.js +30 -0
- package/build/client/clmm/instructions/claimFarmEmission.js.map +1 -0
- package/build/client/clmm/instructions/closeMarket.d.ts +17 -0
- package/build/client/clmm/instructions/closeMarket.js +26 -0
- package/build/client/clmm/instructions/closeMarket.js.map +1 -0
- package/build/client/clmm/instructions/depositLiquidity.d.ts +25 -0
- package/build/client/clmm/instructions/depositLiquidity.js +37 -0
- package/build/client/clmm/instructions/depositLiquidity.js.map +1 -0
- package/build/client/clmm/instructions/initializeMarket.d.ts +47 -0
- package/build/client/clmm/instructions/initializeMarket.js +63 -0
- package/build/client/clmm/instructions/initializeMarket.js.map +1 -0
- package/build/client/clmm/instructions/marketAccrueEmission.d.ts +13 -0
- package/build/client/clmm/instructions/marketAccrueEmission.js +22 -0
- package/build/client/clmm/instructions/marketAccrueEmission.js.map +1 -0
- package/build/client/clmm/instructions/marketCollectEmission.d.ts +18 -0
- package/build/client/clmm/instructions/marketCollectEmission.js +30 -0
- package/build/client/clmm/instructions/marketCollectEmission.js.map +1 -0
- package/build/client/clmm/instructions/modifyFarm.d.ts +17 -0
- package/build/client/clmm/instructions/modifyFarm.js +29 -0
- package/build/client/clmm/instructions/modifyFarm.js.map +1 -0
- package/build/client/clmm/instructions/modifyMarketSetting.d.ts +11 -0
- package/build/client/clmm/instructions/modifyMarketSetting.js +23 -0
- package/build/client/clmm/instructions/modifyMarketSetting.js.map +1 -0
- package/build/client/clmm/instructions/sellPt.d.ts +24 -0
- package/build/client/clmm/instructions/sellPt.js +36 -0
- package/build/client/clmm/instructions/sellPt.js.map +1 -0
- package/build/client/clmm/instructions/sellYt.d.ts +26 -0
- package/build/client/clmm/instructions/sellYt.js +42 -0
- package/build/client/clmm/instructions/sellYt.js.map +1 -0
- package/build/client/clmm/instructions/tradePt.d.ts +25 -0
- package/build/client/clmm/instructions/tradePt.js +37 -0
- package/build/client/clmm/instructions/tradePt.js.map +1 -0
- package/build/client/clmm/instructions/tradePtExactOut.d.ts +25 -0
- package/build/client/clmm/instructions/tradePtExactOut.js +37 -0
- package/build/client/clmm/instructions/tradePtExactOut.js.map +1 -0
- package/build/client/clmm/instructions/withdrawLiquidity.d.ts +23 -0
- package/build/client/clmm/instructions/withdrawLiquidity.js +35 -0
- package/build/client/clmm/instructions/withdrawLiquidity.js.map +1 -0
- package/build/client/clmm/instructions/wrapperBuyYt.d.ts +28 -0
- package/build/client/clmm/instructions/wrapperBuyYt.js +48 -0
- package/build/client/clmm/instructions/wrapperBuyYt.js.map +1 -0
- package/build/client/clmm/instructions/wrapperProvideLiquidity.d.ts +33 -0
- package/build/client/clmm/instructions/wrapperProvideLiquidity.js +53 -0
- package/build/client/clmm/instructions/wrapperProvideLiquidity.js.map +1 -0
- package/build/client/clmm/instructions/wrapperProvideLiquidityBase.d.ts +32 -0
- package/build/client/clmm/instructions/wrapperProvideLiquidityBase.js +52 -0
- package/build/client/clmm/instructions/wrapperProvideLiquidityBase.js.map +1 -0
- package/build/client/clmm/instructions/wrapperProvideLiquidityClassic.d.ts +28 -0
- package/build/client/clmm/instructions/wrapperProvideLiquidityClassic.js +44 -0
- package/build/client/clmm/instructions/wrapperProvideLiquidityClassic.js.map +1 -0
- package/build/client/clmm/instructions/wrapperSellYt.d.ts +27 -0
- package/build/client/clmm/instructions/wrapperSellYt.js +47 -0
- package/build/client/clmm/instructions/wrapperSellYt.js.map +1 -0
- package/build/client/clmm/instructions/wrapperWithdrawLiquidity.d.ts +25 -0
- package/build/client/clmm/instructions/wrapperWithdrawLiquidity.js +41 -0
- package/build/client/clmm/instructions/wrapperWithdrawLiquidity.js.map +1 -0
- package/build/client/clmm/instructions/wrapperWithdrawLiquidityClassic.d.ts +22 -0
- package/build/client/clmm/instructions/wrapperWithdrawLiquidityClassic.js +38 -0
- package/build/client/clmm/instructions/wrapperWithdrawLiquidityClassic.js.map +1 -0
- package/build/client/clmm/types/addFarmEvent.d.ts +35 -0
- package/build/client/clmm/types/addFarmEvent.js +24 -0
- package/build/client/clmm/types/addFarmEvent.js.map +1 -0
- package/build/client/clmm/types/amount.d.ts +33 -0
- package/build/client/clmm/types/amount.js +20 -0
- package/build/client/clmm/types/amount.js.map +1 -0
- package/build/client/clmm/types/buyPtEvent.d.ts +23 -0
- package/build/client/clmm/types/buyPtEvent.js +18 -0
- package/build/client/clmm/types/buyPtEvent.js.map +1 -0
- package/build/client/clmm/types/buyYtEvent.d.ts +56 -0
- package/build/client/clmm/types/buyYtEvent.js +36 -0
- package/build/client/clmm/types/buyYtEvent.js.map +1 -0
- package/build/client/clmm/types/claimFarmEmissionsEvent.d.ts +171 -0
- package/build/client/clmm/types/claimFarmEmissionsEvent.js +42 -0
- package/build/client/clmm/types/claimFarmEmissionsEvent.js.map +1 -0
- package/build/client/clmm/types/claimLimits.d.ts +22 -0
- package/build/client/clmm/types/claimLimits.js +11 -0
- package/build/client/clmm/types/claimLimits.js.map +1 -0
- package/build/client/clmm/types/closeMarketEvent.d.ts +23 -0
- package/build/client/clmm/types/closeMarketEvent.js +18 -0
- package/build/client/clmm/types/closeMarketEvent.js.map +1 -0
- package/build/client/clmm/types/configurationOptions.d.ts +34 -0
- package/build/client/clmm/types/configurationOptions.js +14 -0
- package/build/client/clmm/types/configurationOptions.js.map +1 -0
- package/build/client/clmm/types/cpiAccounts.d.ts +107 -0
- package/build/client/clmm/types/cpiAccounts.js +13 -0
- package/build/client/clmm/types/cpiAccounts.js.map +1 -0
- package/build/client/clmm/types/cpiCoreAccounts.d.ts +47 -0
- package/build/client/clmm/types/cpiCoreAccounts.js +10 -0
- package/build/client/clmm/types/cpiCoreAccounts.js.map +1 -0
- package/build/client/clmm/types/cpiInterfaceContext.d.ts +18 -0
- package/build/client/clmm/types/cpiInterfaceContext.js +10 -0
- package/build/client/clmm/types/cpiInterfaceContext.js.map +1 -0
- package/build/client/clmm/types/crossingSplit.d.ts +124 -0
- package/build/client/clmm/types/crossingSplit.js +20 -0
- package/build/client/clmm/types/crossingSplit.js.map +1 -0
- package/build/client/clmm/types/depositLiquidityEvent.d.ts +171 -0
- package/build/client/clmm/types/depositLiquidityEvent.js +42 -0
- package/build/client/clmm/types/depositLiquidityEvent.js.map +1 -0
- package/build/client/clmm/types/depositLiquidityReturnData.d.ts +67 -0
- package/build/client/clmm/types/depositLiquidityReturnData.js +38 -0
- package/build/client/clmm/types/depositLiquidityReturnData.js.map +1 -0
- package/build/client/clmm/types/emissionInfo.d.ts +36 -0
- package/build/client/clmm/types/emissionInfo.js +22 -0
- package/build/client/clmm/types/emissionInfo.js.map +1 -0
- package/build/client/clmm/types/farmEmission.d.ts +24 -0
- package/build/client/clmm/types/farmEmission.js +16 -0
- package/build/client/clmm/types/farmEmission.js.map +1 -0
- package/build/client/clmm/types/index.d.ts +48 -0
- package/build/client/clmm/types/index.js +65 -0
- package/build/client/clmm/types/index.js.map +1 -0
- package/build/client/clmm/types/liquidityNetBalanceLimits.d.ts +26 -0
- package/build/client/clmm/types/liquidityNetBalanceLimits.js +12 -0
- package/build/client/clmm/types/liquidityNetBalanceLimits.js.map +1 -0
- package/build/client/clmm/types/lpFarm.d.ts +35 -0
- package/build/client/clmm/types/lpFarm.js +10 -0
- package/build/client/clmm/types/lpFarm.js.map +1 -0
- package/build/client/clmm/types/marketAccrueEmissionEvent.d.ts +151 -0
- package/build/client/clmm/types/marketAccrueEmissionEvent.js +31 -0
- package/build/client/clmm/types/marketAccrueEmissionEvent.js.map +1 -0
- package/build/client/clmm/types/marketAdminAction.d.ts +359 -0
- package/build/client/clmm/types/marketAdminAction.js +72 -0
- package/build/client/clmm/types/marketAdminAction.js.map +1 -0
- package/build/client/clmm/types/marketCollectEmissionEvent.d.ts +163 -0
- package/build/client/clmm/types/marketCollectEmissionEvent.js +37 -0
- package/build/client/clmm/types/marketCollectEmissionEvent.js.map +1 -0
- package/build/client/clmm/types/marketEmission.d.ts +20 -0
- package/build/client/clmm/types/marketEmission.js +15 -0
- package/build/client/clmm/types/marketEmission.js.map +1 -0
- package/build/client/clmm/types/marketEmissions.d.ts +27 -0
- package/build/client/clmm/types/marketEmissions.js +9 -0
- package/build/client/clmm/types/marketEmissions.js.map +1 -0
- package/build/client/clmm/types/marketFinancials.d.ts +26 -0
- package/build/client/clmm/types/marketFinancials.js +12 -0
- package/build/client/clmm/types/marketFinancials.js.map +1 -0
- package/build/client/clmm/types/marketThreeInitEvent.d.ts +71 -0
- package/build/client/clmm/types/marketThreeInitEvent.js +42 -0
- package/build/client/clmm/types/marketThreeInitEvent.js.map +1 -0
- package/build/client/clmm/types/mergeEvent.d.ts +84 -0
- package/build/client/clmm/types/mergeEvent.js +55 -0
- package/build/client/clmm/types/mergeEvent.js.map +1 -0
- package/build/client/clmm/types/modifiedTick.d.ts +18 -0
- package/build/client/clmm/types/modifiedTick.js +10 -0
- package/build/client/clmm/types/modifiedTick.js.map +1 -0
- package/build/client/clmm/types/modifiedTicks.d.ts +43 -0
- package/build/client/clmm/types/modifiedTicks.js +13 -0
- package/build/client/clmm/types/modifiedTicks.js.map +1 -0
- package/build/client/clmm/types/modifyFarmEvent.d.ts +43 -0
- package/build/client/clmm/types/modifyFarmEvent.js +26 -0
- package/build/client/clmm/types/modifyFarmEvent.js.map +1 -0
- package/build/client/clmm/types/number.d.ts +2 -0
- package/build/client/clmm/types/number.js +8 -0
- package/build/client/clmm/types/number.js.map +1 -0
- package/build/client/clmm/types/personalYieldTracker.d.ts +15 -0
- package/build/client/clmm/types/personalYieldTracker.js +10 -0
- package/build/client/clmm/types/personalYieldTracker.js.map +1 -0
- package/build/client/clmm/types/personalYieldTrackers.d.ts +23 -0
- package/build/client/clmm/types/personalYieldTrackers.js +9 -0
- package/build/client/clmm/types/personalYieldTrackers.js.map +1 -0
- package/build/client/clmm/types/principalShare.d.ts +51 -0
- package/build/client/clmm/types/principalShare.js +14 -0
- package/build/client/clmm/types/principalShare.js.map +1 -0
- package/build/client/clmm/types/principalShareTrackers.d.ts +63 -0
- package/build/client/clmm/types/principalShareTrackers.js +9 -0
- package/build/client/clmm/types/principalShareTrackers.js.map +1 -0
- package/build/client/clmm/types/sellPtEvent.d.ts +23 -0
- package/build/client/clmm/types/sellPtEvent.js +18 -0
- package/build/client/clmm/types/sellPtEvent.js.map +1 -0
- package/build/client/clmm/types/sellYtEvent.d.ts +47 -0
- package/build/client/clmm/types/sellYtEvent.js +33 -0
- package/build/client/clmm/types/sellYtEvent.js.map +1 -0
- package/build/client/clmm/types/stripEvent.d.ts +84 -0
- package/build/client/clmm/types/stripEvent.js +58 -0
- package/build/client/clmm/types/stripEvent.js.map +1 -0
- package/build/client/clmm/types/swapDirection.d.ts +5 -0
- package/build/client/clmm/types/swapDirection.js +11 -0
- package/build/client/clmm/types/swapDirection.js.map +1 -0
- package/build/client/clmm/types/tradePtEvent.d.ts +110 -0
- package/build/client/clmm/types/tradePtEvent.js +37 -0
- package/build/client/clmm/types/tradePtEvent.js.map +1 -0
- package/build/client/clmm/types/withdrawLiquidityEvent.d.ts +183 -0
- package/build/client/clmm/types/withdrawLiquidityEvent.js +45 -0
- package/build/client/clmm/types/withdrawLiquidityEvent.js.map +1 -0
- package/build/client/clmm/types/withdrawLiquidityReturnData.d.ts +46 -0
- package/build/client/clmm/types/withdrawLiquidityReturnData.js +17 -0
- package/build/client/clmm/types/withdrawLiquidityReturnData.js.map +1 -0
- package/build/client/clmm/types/wrapperBuyYtEvent.d.ts +23 -0
- package/build/client/clmm/types/wrapperBuyYtEvent.js +18 -0
- package/build/client/clmm/types/wrapperBuyYtEvent.js.map +1 -0
- package/build/client/clmm/types/wrapperProvideLiquidityBaseEvent.d.ts +56 -0
- package/build/client/clmm/types/wrapperProvideLiquidityBaseEvent.js +30 -0
- package/build/client/clmm/types/wrapperProvideLiquidityBaseEvent.js.map +1 -0
- package/build/client/clmm/types/wrapperProvideLiquidityClassicEvent.d.ts +52 -0
- package/build/client/clmm/types/wrapperProvideLiquidityClassicEvent.js +29 -0
- package/build/client/clmm/types/wrapperProvideLiquidityClassicEvent.js.map +1 -0
- package/build/client/clmm/types/wrapperProvideLiquidityEvent.d.ts +56 -0
- package/build/client/clmm/types/wrapperProvideLiquidityEvent.js +30 -0
- package/build/client/clmm/types/wrapperProvideLiquidityEvent.js.map +1 -0
- package/build/client/clmm/types/wrapperSellYtEvent.d.ts +23 -0
- package/build/client/clmm/types/wrapperSellYtEvent.js +18 -0
- package/build/client/clmm/types/wrapperSellYtEvent.js.map +1 -0
- package/build/client/clmm/types/wrapperWithdrawLiquidityClassicEvent.d.ts +60 -0
- package/build/client/clmm/types/wrapperWithdrawLiquidityClassicEvent.js +31 -0
- package/build/client/clmm/types/wrapperWithdrawLiquidityClassicEvent.js.map +1 -0
- package/build/client/clmm/types/wrapperWithdrawLiquidityEvent.d.ts +60 -0
- package/build/client/clmm/types/wrapperWithdrawLiquidityEvent.js +31 -0
- package/build/client/clmm/types/wrapperWithdrawLiquidityEvent.js.map +1 -0
- package/build/client/core/accounts/admin.d.ts +18 -0
- package/build/client/core/accounts/admin.js +71 -0
- package/build/client/core/accounts/admin.js.map +1 -0
- package/build/client/core/accounts/lpPosition.d.ts +20 -0
- package/build/client/core/accounts/lpPosition.js +73 -0
- package/build/client/core/accounts/lpPosition.js.map +1 -0
- package/build/client/core/accounts/marketTwo.d.ts +42 -0
- package/build/client/core/accounts/marketTwo.js +122 -0
- package/build/client/core/accounts/marketTwo.js.map +1 -0
- package/build/client/core/accounts/vault.d.ts +48 -0
- package/build/client/core/accounts/vault.js +128 -0
- package/build/client/core/accounts/vault.js.map +1 -0
- package/build/client/core/accounts/yieldTokenPosition.d.ts +20 -0
- package/build/client/core/accounts/yieldTokenPosition.js +74 -0
- package/build/client/core/accounts/yieldTokenPosition.js.map +1 -0
- package/build/client/core/eventRegistry.d.ts +87 -0
- package/build/client/core/eventRegistry.js +86 -0
- package/build/client/core/eventRegistry.js.map +1 -0
- package/build/client/core/index.d.ts +109 -0
- package/build/client/core/index.js +127 -0
- package/build/client/core/index.js.map +1 -0
- package/build/client/core/instructions/addEmission.d.ts +19 -0
- package/build/client/core/instructions/addEmission.js +35 -0
- package/build/client/core/instructions/addEmission.js.map +1 -0
- package/build/client/core/instructions/addFarm.d.ts +17 -0
- package/build/client/core/instructions/addFarm.js +29 -0
- package/build/client/core/instructions/addFarm.js.map +1 -0
- package/build/client/core/instructions/addLpTokensMetadata.d.ts +16 -0
- package/build/client/core/instructions/addLpTokensMetadata.js +32 -0
- package/build/client/core/instructions/addLpTokensMetadata.js.map +1 -0
- package/build/client/core/instructions/addMarketEmission.d.ts +16 -0
- package/build/client/core/instructions/addMarketEmission.js +28 -0
- package/build/client/core/instructions/addMarketEmission.js.map +1 -0
- package/build/client/core/instructions/buyYt.d.ts +28 -0
- package/build/client/core/instructions/buyYt.js +44 -0
- package/build/client/core/instructions/buyYt.js.map +1 -0
- package/build/client/core/instructions/claimFarmEmissions.d.ts +17 -0
- package/build/client/core/instructions/claimFarmEmissions.js +29 -0
- package/build/client/core/instructions/claimFarmEmissions.js.map +1 -0
- package/build/client/core/instructions/collectEmission.d.ts +21 -0
- package/build/client/core/instructions/collectEmission.js +37 -0
- package/build/client/core/instructions/collectEmission.js.map +1 -0
- package/build/client/core/instructions/collectInterest.d.ts +20 -0
- package/build/client/core/instructions/collectInterest.js +36 -0
- package/build/client/core/instructions/collectInterest.js.map +1 -0
- package/build/client/core/instructions/collectTreasuryEmission.d.ts +21 -0
- package/build/client/core/instructions/collectTreasuryEmission.js +33 -0
- package/build/client/core/instructions/collectTreasuryEmission.js.map +1 -0
- package/build/client/core/instructions/collectTreasuryInterest.d.ts +20 -0
- package/build/client/core/instructions/collectTreasuryInterest.js +32 -0
- package/build/client/core/instructions/collectTreasuryInterest.js.map +1 -0
- package/build/client/core/instructions/depositYt.d.ts +19 -0
- package/build/client/core/instructions/depositYt.js +31 -0
- package/build/client/core/instructions/depositYt.js.map +1 -0
- package/build/client/core/instructions/initLpPosition.d.ts +11 -0
- package/build/client/core/instructions/initLpPosition.js +20 -0
- package/build/client/core/instructions/initLpPosition.js.map +1 -0
- package/build/client/core/instructions/initMarketTwo.d.ts +37 -0
- package/build/client/core/instructions/initMarketTwo.js +53 -0
- package/build/client/core/instructions/initMarketTwo.js.map +1 -0
- package/build/client/core/instructions/initializeVault.d.ts +34 -0
- package/build/client/core/instructions/initializeVault.js +58 -0
- package/build/client/core/instructions/initializeVault.js.map +1 -0
- package/build/client/core/instructions/initializeYieldPosition.d.ts +10 -0
- package/build/client/core/instructions/initializeYieldPosition.js +19 -0
- package/build/client/core/instructions/initializeYieldPosition.js.map +1 -0
- package/build/client/core/instructions/marketCollectEmission.d.ts +17 -0
- package/build/client/core/instructions/marketCollectEmission.js +29 -0
- package/build/client/core/instructions/marketCollectEmission.js.map +1 -0
- package/build/client/core/instructions/marketDepositLp.d.ts +19 -0
- package/build/client/core/instructions/marketDepositLp.js +31 -0
- package/build/client/core/instructions/marketDepositLp.js.map +1 -0
- package/build/client/core/instructions/marketTwoDepositLiquidity.d.ts +22 -0
- package/build/client/core/instructions/marketTwoDepositLiquidity.js +34 -0
- package/build/client/core/instructions/marketTwoDepositLiquidity.js.map +1 -0
- package/build/client/core/instructions/marketTwoWithdrawLiquidity.d.ts +22 -0
- package/build/client/core/instructions/marketTwoWithdrawLiquidity.js +34 -0
- package/build/client/core/instructions/marketTwoWithdrawLiquidity.js.map +1 -0
- package/build/client/core/instructions/marketWithdrawLp.d.ts +19 -0
- package/build/client/core/instructions/marketWithdrawLp.js +31 -0
- package/build/client/core/instructions/marketWithdrawLp.js.map +1 -0
- package/build/client/core/instructions/merge.d.ts +22 -0
- package/build/client/core/instructions/merge.js +32 -0
- package/build/client/core/instructions/merge.js.map +1 -0
- package/build/client/core/instructions/modifyFarm.d.ts +15 -0
- package/build/client/core/instructions/modifyFarm.js +27 -0
- package/build/client/core/instructions/modifyFarm.js.map +1 -0
- package/build/client/core/instructions/modifyMarketSetting.d.ts +12 -0
- package/build/client/core/instructions/modifyMarketSetting.js +24 -0
- package/build/client/core/instructions/modifyMarketSetting.js.map +1 -0
- package/build/client/core/instructions/modifyVaultSetting.d.ts +12 -0
- package/build/client/core/instructions/modifyVaultSetting.js +24 -0
- package/build/client/core/instructions/modifyVaultSetting.js.map +1 -0
- package/build/client/core/instructions/reallocMarket.d.ts +12 -0
- package/build/client/core/instructions/reallocMarket.js +24 -0
- package/build/client/core/instructions/reallocMarket.js.map +1 -0
- package/build/client/core/instructions/sellYt.d.ts +28 -0
- package/build/client/core/instructions/sellYt.js +44 -0
- package/build/client/core/instructions/sellYt.js.map +1 -0
- package/build/client/core/instructions/stageYtYield.d.ts +13 -0
- package/build/client/core/instructions/stageYtYield.js +22 -0
- package/build/client/core/instructions/stageYtYield.js.map +1 -0
- package/build/client/core/instructions/strip.d.ts +22 -0
- package/build/client/core/instructions/strip.js +32 -0
- package/build/client/core/instructions/strip.js.map +1 -0
- package/build/client/core/instructions/tradePt.d.ts +20 -0
- package/build/client/core/instructions/tradePt.js +32 -0
- package/build/client/core/instructions/tradePt.js.map +1 -0
- package/build/client/core/instructions/withdrawYt.d.ts +20 -0
- package/build/client/core/instructions/withdrawYt.js +32 -0
- package/build/client/core/instructions/withdrawYt.js.map +1 -0
- package/build/client/core/instructions/wrapperBuyPt.d.ts +21 -0
- package/build/client/core/instructions/wrapperBuyPt.js +33 -0
- package/build/client/core/instructions/wrapperBuyPt.js.map +1 -0
- package/build/client/core/instructions/wrapperBuyYt.d.ts +32 -0
- package/build/client/core/instructions/wrapperBuyYt.js +52 -0
- package/build/client/core/instructions/wrapperBuyYt.js.map +1 -0
- package/build/client/core/instructions/wrapperCollectInterest.d.ts +19 -0
- package/build/client/core/instructions/wrapperCollectInterest.js +35 -0
- package/build/client/core/instructions/wrapperCollectInterest.js.map +1 -0
- package/build/client/core/instructions/wrapperMerge.d.ts +24 -0
- package/build/client/core/instructions/wrapperMerge.js +44 -0
- package/build/client/core/instructions/wrapperMerge.js.map +1 -0
- package/build/client/core/instructions/wrapperProvideLiquidity.d.ts +35 -0
- package/build/client/core/instructions/wrapperProvideLiquidity.js +59 -0
- package/build/client/core/instructions/wrapperProvideLiquidity.js.map +1 -0
- package/build/client/core/instructions/wrapperProvideLiquidityBase.d.ts +28 -0
- package/build/client/core/instructions/wrapperProvideLiquidityBase.js +44 -0
- package/build/client/core/instructions/wrapperProvideLiquidityBase.js.map +1 -0
- package/build/client/core/instructions/wrapperProvideLiquidityClassic.d.ts +26 -0
- package/build/client/core/instructions/wrapperProvideLiquidityClassic.js +42 -0
- package/build/client/core/instructions/wrapperProvideLiquidityClassic.js.map +1 -0
- package/build/client/core/instructions/wrapperSellPt.d.ts +21 -0
- package/build/client/core/instructions/wrapperSellPt.js +33 -0
- package/build/client/core/instructions/wrapperSellPt.js.map +1 -0
- package/build/client/core/instructions/wrapperSellYt.d.ts +29 -0
- package/build/client/core/instructions/wrapperSellYt.js +49 -0
- package/build/client/core/instructions/wrapperSellYt.js.map +1 -0
- package/build/client/core/instructions/wrapperStrip.d.ts +26 -0
- package/build/client/core/instructions/wrapperStrip.js +46 -0
- package/build/client/core/instructions/wrapperStrip.js.map +1 -0
- package/build/client/core/instructions/wrapperWithdrawLiquidity.d.ts +26 -0
- package/build/client/core/instructions/wrapperWithdrawLiquidity.js +42 -0
- package/build/client/core/instructions/wrapperWithdrawLiquidity.js.map +1 -0
- package/build/client/core/instructions/wrapperWithdrawLiquidityClassic.d.ts +24 -0
- package/build/client/core/instructions/wrapperWithdrawLiquidityClassic.js +40 -0
- package/build/client/core/instructions/wrapperWithdrawLiquidityClassic.js.map +1 -0
- package/build/client/core/types/adminAction.d.ts +326 -0
- package/build/client/core/types/adminAction.js +87 -0
- package/build/client/core/types/adminAction.js.map +1 -0
- package/build/client/core/types/amount.d.ts +33 -0
- package/build/client/core/types/amount.js +20 -0
- package/build/client/core/types/amount.js.map +1 -0
- package/build/client/core/types/buyPtEvent.d.ts +27 -0
- package/build/client/core/types/buyPtEvent.js +19 -0
- package/build/client/core/types/buyPtEvent.js.map +1 -0
- package/build/client/core/types/buyYtEvent.d.ts +68 -0
- package/build/client/core/types/buyYtEvent.js +45 -0
- package/build/client/core/types/buyYtEvent.js.map +1 -0
- package/build/client/core/types/claimFarmEmissionsEvent.d.ts +43 -0
- package/build/client/core/types/claimFarmEmissionsEvent.js +35 -0
- package/build/client/core/types/claimFarmEmissionsEvent.js.map +1 -0
- package/build/client/core/types/claimFarmEmissionsEventV2.d.ts +98 -0
- package/build/client/core/types/claimFarmEmissionsEventV2.js +38 -0
- package/build/client/core/types/claimFarmEmissionsEventV2.js.map +1 -0
- package/build/client/core/types/claimLimits.d.ts +22 -0
- package/build/client/core/types/claimLimits.js +11 -0
- package/build/client/core/types/claimLimits.js.map +1 -0
- package/build/client/core/types/collectEmissionEvent.d.ts +35 -0
- package/build/client/core/types/collectEmissionEvent.js +24 -0
- package/build/client/core/types/collectEmissionEvent.js.map +1 -0
- package/build/client/core/types/collectEmissionEventV2.d.ts +68 -0
- package/build/client/core/types/collectEmissionEventV2.js +27 -0
- package/build/client/core/types/collectEmissionEventV2.js.map +1 -0
- package/build/client/core/types/collectInterestEvent.d.ts +31 -0
- package/build/client/core/types/collectInterestEvent.js +23 -0
- package/build/client/core/types/collectInterestEvent.js.map +1 -0
- package/build/client/core/types/collectInterestEventV2.d.ts +64 -0
- package/build/client/core/types/collectInterestEventV2.js +26 -0
- package/build/client/core/types/collectInterestEventV2.js.map +1 -0
- package/build/client/core/types/collectTreasuryEmissionKind.d.ts +5 -0
- package/build/client/core/types/collectTreasuryEmissionKind.js +11 -0
- package/build/client/core/types/collectTreasuryEmissionKind.js.map +1 -0
- package/build/client/core/types/collectTreasuryInterestKind.d.ts +5 -0
- package/build/client/core/types/collectTreasuryInterestKind.js +11 -0
- package/build/client/core/types/collectTreasuryInterestKind.js.map +1 -0
- package/build/client/core/types/cpiAccounts.d.ts +107 -0
- package/build/client/core/types/cpiAccounts.js +13 -0
- package/build/client/core/types/cpiAccounts.js.map +1 -0
- package/build/client/core/types/cpiInterfaceContext.d.ts +18 -0
- package/build/client/core/types/cpiInterfaceContext.js +10 -0
- package/build/client/core/types/cpiInterfaceContext.js.map +1 -0
- package/build/client/core/types/depositLiquidityEvent.d.ts +67 -0
- package/build/client/core/types/depositLiquidityEvent.js +47 -0
- package/build/client/core/types/depositLiquidityEvent.js.map +1 -0
- package/build/client/core/types/depositLpEvent.d.ts +43 -0
- package/build/client/core/types/depositLpEvent.js +35 -0
- package/build/client/core/types/depositLpEvent.js.map +1 -0
- package/build/client/core/types/depositLpEventV2.d.ts +98 -0
- package/build/client/core/types/depositLpEventV2.js +38 -0
- package/build/client/core/types/depositLpEventV2.js.map +1 -0
- package/build/client/core/types/depositYtEvent.d.ts +56 -0
- package/build/client/core/types/depositYtEvent.js +39 -0
- package/build/client/core/types/depositYtEvent.js.map +1 -0
- package/build/client/core/types/depositYtEventV2.d.ts +89 -0
- package/build/client/core/types/depositYtEventV2.js +42 -0
- package/build/client/core/types/depositYtEventV2.js.map +1 -0
- package/build/client/core/types/emissionInfo.d.ts +36 -0
- package/build/client/core/types/emissionInfo.js +22 -0
- package/build/client/core/types/emissionInfo.js.map +1 -0
- package/build/client/core/types/farmEmission.d.ts +24 -0
- package/build/client/core/types/farmEmission.js +16 -0
- package/build/client/core/types/farmEmission.js.map +1 -0
- package/build/client/core/types/index.d.ts +60 -0
- package/build/client/core/types/index.js +77 -0
- package/build/client/core/types/index.js.map +1 -0
- package/build/client/core/types/initLpPositionEvent.d.ts +35 -0
- package/build/client/core/types/initLpPositionEvent.js +27 -0
- package/build/client/core/types/initLpPositionEvent.js.map +1 -0
- package/build/client/core/types/initializeYieldPositionEvent.d.ts +23 -0
- package/build/client/core/types/initializeYieldPositionEvent.js +21 -0
- package/build/client/core/types/initializeYieldPositionEvent.js.map +1 -0
- package/build/client/core/types/liquidityNetBalanceLimits.d.ts +26 -0
- package/build/client/core/types/liquidityNetBalanceLimits.js +12 -0
- package/build/client/core/types/liquidityNetBalanceLimits.js.map +1 -0
- package/build/client/core/types/lpFarm.d.ts +35 -0
- package/build/client/core/types/lpFarm.js +10 -0
- package/build/client/core/types/lpFarm.js.map +1 -0
- package/build/client/core/types/marketAdminAction.d.ts +286 -0
- package/build/client/core/types/marketAdminAction.js +61 -0
- package/build/client/core/types/marketAdminAction.js.map +1 -0
- package/build/client/core/types/marketCollectEmissionEvent.d.ts +39 -0
- package/build/client/core/types/marketCollectEmissionEvent.js +31 -0
- package/build/client/core/types/marketCollectEmissionEvent.js.map +1 -0
- package/build/client/core/types/marketCollectEmissionEventV2.d.ts +94 -0
- package/build/client/core/types/marketCollectEmissionEventV2.js +34 -0
- package/build/client/core/types/marketCollectEmissionEventV2.js.map +1 -0
- package/build/client/core/types/marketEmission.d.ts +20 -0
- package/build/client/core/types/marketEmission.js +15 -0
- package/build/client/core/types/marketEmission.js.map +1 -0
- package/build/client/core/types/marketEmissions.d.ts +27 -0
- package/build/client/core/types/marketEmissions.js +9 -0
- package/build/client/core/types/marketEmissions.js.map +1 -0
- package/build/client/core/types/marketFinancials.d.ts +30 -0
- package/build/client/core/types/marketFinancials.js +13 -0
- package/build/client/core/types/marketFinancials.js.map +1 -0
- package/build/client/core/types/mergeEvent.d.ts +84 -0
- package/build/client/core/types/mergeEvent.js +55 -0
- package/build/client/core/types/mergeEvent.js.map +1 -0
- package/build/client/core/types/number.d.ts +2 -0
- package/build/client/core/types/number.js +8 -0
- package/build/client/core/types/number.js.map +1 -0
- package/build/client/core/types/personalYieldTracker.d.ts +15 -0
- package/build/client/core/types/personalYieldTracker.js +10 -0
- package/build/client/core/types/personalYieldTracker.js.map +1 -0
- package/build/client/core/types/personalYieldTrackers.d.ts +23 -0
- package/build/client/core/types/personalYieldTrackers.js +9 -0
- package/build/client/core/types/personalYieldTrackers.js.map +1 -0
- package/build/client/core/types/principleDetails.d.ts +11 -0
- package/build/client/core/types/principleDetails.js +12 -0
- package/build/client/core/types/principleDetails.js.map +1 -0
- package/build/client/core/types/principles.d.ts +79 -0
- package/build/client/core/types/principles.js +14 -0
- package/build/client/core/types/principles.js.map +1 -0
- package/build/client/core/types/sellPtEvent.d.ts +27 -0
- package/build/client/core/types/sellPtEvent.js +19 -0
- package/build/client/core/types/sellPtEvent.js.map +1 -0
- package/build/client/core/types/sellYtEvent.d.ts +59 -0
- package/build/client/core/types/sellYtEvent.js +42 -0
- package/build/client/core/types/sellYtEvent.js.map +1 -0
- package/build/client/core/types/stageYieldEvent.d.ts +44 -0
- package/build/client/core/types/stageYieldEvent.js +30 -0
- package/build/client/core/types/stageYieldEvent.js.map +1 -0
- package/build/client/core/types/stageYieldEventV2.d.ts +73 -0
- package/build/client/core/types/stageYieldEventV2.js +32 -0
- package/build/client/core/types/stageYieldEventV2.js.map +1 -0
- package/build/client/core/types/stripEvent.d.ts +84 -0
- package/build/client/core/types/stripEvent.js +58 -0
- package/build/client/core/types/stripEvent.js.map +1 -0
- package/build/client/core/types/tradePtEvent.d.ts +52 -0
- package/build/client/core/types/tradePtEvent.js +38 -0
- package/build/client/core/types/tradePtEvent.js.map +1 -0
- package/build/client/core/types/withdrawLiquidityEvent.d.ts +59 -0
- package/build/client/core/types/withdrawLiquidityEvent.js +45 -0
- package/build/client/core/types/withdrawLiquidityEvent.js.map +1 -0
- package/build/client/core/types/withdrawLpEvent.d.ts +43 -0
- package/build/client/core/types/withdrawLpEvent.js +35 -0
- package/build/client/core/types/withdrawLpEvent.js.map +1 -0
- package/build/client/core/types/withdrawLpEventV2.d.ts +98 -0
- package/build/client/core/types/withdrawLpEventV2.js +38 -0
- package/build/client/core/types/withdrawLpEventV2.js.map +1 -0
- package/build/client/core/types/withdrawYtEvent.d.ts +56 -0
- package/build/client/core/types/withdrawYtEvent.js +39 -0
- package/build/client/core/types/withdrawYtEvent.js.map +1 -0
- package/build/client/core/types/withdrawYtEventV2.d.ts +89 -0
- package/build/client/core/types/withdrawYtEventV2.js +42 -0
- package/build/client/core/types/withdrawYtEventV2.js.map +1 -0
- package/build/client/core/types/wrapperBuyYtEvent.d.ts +27 -0
- package/build/client/core/types/wrapperBuyYtEvent.js +19 -0
- package/build/client/core/types/wrapperBuyYtEvent.js.map +1 -0
- package/build/client/core/types/wrapperCollectInterestEvent.d.ts +23 -0
- package/build/client/core/types/wrapperCollectInterestEvent.js +18 -0
- package/build/client/core/types/wrapperCollectInterestEvent.js.map +1 -0
- package/build/client/core/types/wrapperMergeEvent.d.ts +27 -0
- package/build/client/core/types/wrapperMergeEvent.js +19 -0
- package/build/client/core/types/wrapperMergeEvent.js.map +1 -0
- package/build/client/core/types/wrapperProvideLiquidityBaseEvent.d.ts +35 -0
- package/build/client/core/types/wrapperProvideLiquidityBaseEvent.js +21 -0
- package/build/client/core/types/wrapperProvideLiquidityBaseEvent.js.map +1 -0
- package/build/client/core/types/wrapperProvideLiquidityClassicEvent.d.ts +31 -0
- package/build/client/core/types/wrapperProvideLiquidityClassicEvent.js +20 -0
- package/build/client/core/types/wrapperProvideLiquidityClassicEvent.js.map +1 -0
- package/build/client/core/types/wrapperProvideLiquidityEvent.d.ts +31 -0
- package/build/client/core/types/wrapperProvideLiquidityEvent.js +20 -0
- package/build/client/core/types/wrapperProvideLiquidityEvent.js.map +1 -0
- package/build/client/core/types/wrapperSellYtEvent.d.ts +27 -0
- package/build/client/core/types/wrapperSellYtEvent.js +19 -0
- package/build/client/core/types/wrapperSellYtEvent.js.map +1 -0
- package/build/client/core/types/wrapperStripEvent.d.ts +27 -0
- package/build/client/core/types/wrapperStripEvent.js +19 -0
- package/build/client/core/types/wrapperStripEvent.js.map +1 -0
- package/build/client/core/types/wrapperWithdrawLiquidityClassicEvent.d.ts +31 -0
- package/build/client/core/types/wrapperWithdrawLiquidityClassicEvent.js +20 -0
- package/build/client/core/types/wrapperWithdrawLiquidityClassicEvent.js.map +1 -0
- package/build/client/core/types/wrapperWithdrawLiquidityEvent.d.ts +27 -0
- package/build/client/core/types/wrapperWithdrawLiquidityEvent.js +19 -0
- package/build/client/core/types/wrapperWithdrawLiquidityEvent.js.map +1 -0
- package/build/client/core/types/yieldTokenTracker.d.ts +15 -0
- package/build/client/core/types/yieldTokenTracker.js +10 -0
- package/build/client/core/types/yieldTokenTracker.js.map +1 -0
- package/build/client/orderbook/accounts/cpiAccountsOrderbook.d.ts +18 -0
- package/build/client/orderbook/accounts/cpiAccountsOrderbook.js +66 -0
- package/build/client/orderbook/accounts/cpiAccountsOrderbook.js.map +1 -0
- package/build/client/orderbook/accounts/vault.d.ts +48 -0
- package/build/client/orderbook/accounts/vault.js +128 -0
- package/build/client/orderbook/accounts/vault.js.map +1 -0
- package/build/client/orderbook/eventRegistry.d.ts +45 -0
- package/build/client/orderbook/eventRegistry.js +44 -0
- package/build/client/orderbook/eventRegistry.js.map +1 -0
- package/build/client/orderbook/index.d.ts +51 -0
- package/build/client/orderbook/index.js +69 -0
- package/build/client/orderbook/index.js.map +1 -0
- package/build/client/orderbook/instructions/collectAdminEmission.d.ts +14 -0
- package/build/client/orderbook/instructions/collectAdminEmission.js +26 -0
- package/build/client/orderbook/instructions/collectAdminEmission.js.map +1 -0
- package/build/client/orderbook/instructions/collectAdminFee.d.ts +21 -0
- package/build/client/orderbook/instructions/collectAdminFee.js +34 -0
- package/build/client/orderbook/instructions/collectAdminFee.js.map +1 -0
- package/build/client/orderbook/instructions/collectInterest.d.ts +21 -0
- package/build/client/orderbook/instructions/collectInterest.js +37 -0
- package/build/client/orderbook/instructions/collectInterest.js.map +1 -0
- package/build/client/orderbook/instructions/initializeOrderbook.d.ts +36 -0
- package/build/client/orderbook/instructions/initializeOrderbook.js +52 -0
- package/build/client/orderbook/instructions/initializeOrderbook.js.map +1 -0
- package/build/client/orderbook/instructions/marketOffer.d.ts +30 -0
- package/build/client/orderbook/instructions/marketOffer.js +46 -0
- package/build/client/orderbook/instructions/marketOffer.js.map +1 -0
- package/build/client/orderbook/instructions/postOffer.d.ts +33 -0
- package/build/client/orderbook/instructions/postOffer.js +49 -0
- package/build/client/orderbook/instructions/postOffer.js.map +1 -0
- package/build/client/orderbook/instructions/reallocOrderbookAccount.d.ts +12 -0
- package/build/client/orderbook/instructions/reallocOrderbookAccount.js +24 -0
- package/build/client/orderbook/instructions/reallocOrderbookAccount.js.map +1 -0
- package/build/client/orderbook/instructions/removeExpiredOffers.d.ts +12 -0
- package/build/client/orderbook/instructions/removeExpiredOffers.js +21 -0
- package/build/client/orderbook/instructions/removeExpiredOffers.js.map +1 -0
- package/build/client/orderbook/instructions/removeOffer.d.ts +24 -0
- package/build/client/orderbook/instructions/removeOffer.js +40 -0
- package/build/client/orderbook/instructions/removeOffer.js.map +1 -0
- package/build/client/orderbook/instructions/setConfigurationOptions.d.ts +10 -0
- package/build/client/orderbook/instructions/setConfigurationOptions.js +22 -0
- package/build/client/orderbook/instructions/setConfigurationOptions.js.map +1 -0
- package/build/client/orderbook/instructions/withdrawFunds.d.ts +27 -0
- package/build/client/orderbook/instructions/withdrawFunds.js +43 -0
- package/build/client/orderbook/instructions/withdrawFunds.js.map +1 -0
- package/build/client/orderbook/instructions/wrapperCollectAdminFee.d.ts +24 -0
- package/build/client/orderbook/instructions/wrapperCollectAdminFee.js +40 -0
- package/build/client/orderbook/instructions/wrapperCollectAdminFee.js.map +1 -0
- package/build/client/orderbook/instructions/wrapperCollectInterest.d.ts +20 -0
- package/build/client/orderbook/instructions/wrapperCollectInterest.js +36 -0
- package/build/client/orderbook/instructions/wrapperCollectInterest.js.map +1 -0
- package/build/client/orderbook/instructions/wrapperMarketOffer.d.ts +32 -0
- package/build/client/orderbook/instructions/wrapperMarketOffer.js +48 -0
- package/build/client/orderbook/instructions/wrapperMarketOffer.js.map +1 -0
- package/build/client/orderbook/instructions/wrapperPostOffer.d.ts +34 -0
- package/build/client/orderbook/instructions/wrapperPostOffer.js +50 -0
- package/build/client/orderbook/instructions/wrapperPostOffer.js.map +1 -0
- package/build/client/orderbook/instructions/wrapperRemoveOffer.d.ts +25 -0
- package/build/client/orderbook/instructions/wrapperRemoveOffer.js +41 -0
- package/build/client/orderbook/instructions/wrapperRemoveOffer.js.map +1 -0
- package/build/client/orderbook/instructions/wrapperWithdrawFunds.d.ts +28 -0
- package/build/client/orderbook/instructions/wrapperWithdrawFunds.js +44 -0
- package/build/client/orderbook/instructions/wrapperWithdrawFunds.js.map +1 -0
- package/build/client/orderbook/types/amount.d.ts +33 -0
- package/build/client/orderbook/types/amount.js +20 -0
- package/build/client/orderbook/types/amount.js.map +1 -0
- package/build/client/orderbook/types/claimLimits.d.ts +22 -0
- package/build/client/orderbook/types/claimLimits.js +11 -0
- package/build/client/orderbook/types/claimLimits.js.map +1 -0
- package/build/client/orderbook/types/collectAdminEmissionEvent.d.ts +27 -0
- package/build/client/orderbook/types/collectAdminEmissionEvent.js +19 -0
- package/build/client/orderbook/types/collectAdminEmissionEvent.js.map +1 -0
- package/build/client/orderbook/types/collectAdminFeeEvent.d.ts +26 -0
- package/build/client/orderbook/types/collectAdminFeeEvent.js +12 -0
- package/build/client/orderbook/types/collectAdminFeeEvent.js.map +1 -0
- package/build/client/orderbook/types/collectEmissionEventV2.d.ts +68 -0
- package/build/client/orderbook/types/collectEmissionEventV2.js +27 -0
- package/build/client/orderbook/types/collectEmissionEventV2.js.map +1 -0
- package/build/client/orderbook/types/collectInterestEventV2.d.ts +64 -0
- package/build/client/orderbook/types/collectInterestEventV2.js +26 -0
- package/build/client/orderbook/types/collectInterestEventV2.js.map +1 -0
- package/build/client/orderbook/types/collectUserInterestEvent.d.ts +23 -0
- package/build/client/orderbook/types/collectUserInterestEvent.js +18 -0
- package/build/client/orderbook/types/collectUserInterestEvent.js.map +1 -0
- package/build/client/orderbook/types/cpiAccounts.d.ts +107 -0
- package/build/client/orderbook/types/cpiAccounts.js +13 -0
- package/build/client/orderbook/types/cpiAccounts.js.map +1 -0
- package/build/client/orderbook/types/cpiInterfaceContext.d.ts +18 -0
- package/build/client/orderbook/types/cpiInterfaceContext.js +10 -0
- package/build/client/orderbook/types/cpiInterfaceContext.js.map +1 -0
- package/build/client/orderbook/types/emissionInfo.d.ts +36 -0
- package/build/client/orderbook/types/emissionInfo.js +22 -0
- package/build/client/orderbook/types/emissionInfo.js.map +1 -0
- package/build/client/orderbook/types/exponentCoreCpiAccounts.d.ts +107 -0
- package/build/client/orderbook/types/exponentCoreCpiAccounts.js +13 -0
- package/build/client/orderbook/types/exponentCoreCpiAccounts.js.map +1 -0
- package/build/client/orderbook/types/filledOffersEvent.d.ts +30 -0
- package/build/client/orderbook/types/filledOffersEvent.js +13 -0
- package/build/client/orderbook/types/filledOffersEvent.js.map +1 -0
- package/build/client/orderbook/types/index.d.ts +30 -0
- package/build/client/orderbook/types/index.js +47 -0
- package/build/client/orderbook/types/index.js.map +1 -0
- package/build/client/orderbook/types/marketOfferEvent.d.ts +93 -0
- package/build/client/orderbook/types/marketOfferEvent.js +33 -0
- package/build/client/orderbook/types/marketOfferEvent.js.map +1 -0
- package/build/client/orderbook/types/mergeEvent.d.ts +84 -0
- package/build/client/orderbook/types/mergeEvent.js +55 -0
- package/build/client/orderbook/types/mergeEvent.js.map +1 -0
- package/build/client/orderbook/types/number.d.ts +2 -0
- package/build/client/orderbook/types/number.js +8 -0
- package/build/client/orderbook/types/number.js.map +1 -0
- package/build/client/orderbook/types/offerOptions.d.ts +24 -0
- package/build/client/orderbook/types/offerOptions.js +22 -0
- package/build/client/orderbook/types/offerOptions.js.map +1 -0
- package/build/client/orderbook/types/offerType.d.ts +5 -0
- package/build/client/orderbook/types/offerType.js +11 -0
- package/build/client/orderbook/types/offerType.js.map +1 -0
- package/build/client/orderbook/types/orderbookInitEvent.d.ts +39 -0
- package/build/client/orderbook/types/orderbookInitEvent.js +25 -0
- package/build/client/orderbook/types/orderbookInitEvent.js.map +1 -0
- package/build/client/orderbook/types/postOfferEvent.d.ts +118 -0
- package/build/client/orderbook/types/postOfferEvent.js +36 -0
- package/build/client/orderbook/types/postOfferEvent.js.map +1 -0
- package/build/client/orderbook/types/removeOfferEvent.d.ts +39 -0
- package/build/client/orderbook/types/removeOfferEvent.js +31 -0
- package/build/client/orderbook/types/removeOfferEvent.js.map +1 -0
- package/build/client/orderbook/types/setConfigurationOptionsEnum.d.ts +72 -0
- package/build/client/orderbook/types/setConfigurationOptionsEnum.js +34 -0
- package/build/client/orderbook/types/setConfigurationOptionsEnum.js.map +1 -0
- package/build/client/orderbook/types/stripEvent.d.ts +84 -0
- package/build/client/orderbook/types/stripEvent.js +58 -0
- package/build/client/orderbook/types/stripEvent.js.map +1 -0
- package/build/client/orderbook/types/withdrawFundsEvent.d.ts +39 -0
- package/build/client/orderbook/types/withdrawFundsEvent.js +31 -0
- package/build/client/orderbook/types/withdrawFundsEvent.js.map +1 -0
- package/build/client/orderbook/types/wrapperCollectAdminFeeEvent.d.ts +18 -0
- package/build/client/orderbook/types/wrapperCollectAdminFeeEvent.js +10 -0
- package/build/client/orderbook/types/wrapperCollectAdminFeeEvent.js.map +1 -0
- package/build/client/orderbook/types/wrapperCollectInterestEvent.d.ts +15 -0
- package/build/client/orderbook/types/wrapperCollectInterestEvent.js +13 -0
- package/build/client/orderbook/types/wrapperCollectInterestEvent.js.map +1 -0
- package/build/client/orderbook/types/wrapperMarketOfferEvent.d.ts +19 -0
- package/build/client/orderbook/types/wrapperMarketOfferEvent.js +14 -0
- package/build/client/orderbook/types/wrapperMarketOfferEvent.js.map +1 -0
- package/build/client/orderbook/types/wrapperPostOfferEvent.d.ts +39 -0
- package/build/client/orderbook/types/wrapperPostOfferEvent.js +34 -0
- package/build/client/orderbook/types/wrapperPostOfferEvent.js.map +1 -0
- package/build/client/orderbook/types/wrapperRemoveOfferEvent.d.ts +15 -0
- package/build/client/orderbook/types/wrapperRemoveOfferEvent.js +13 -0
- package/build/client/orderbook/types/wrapperRemoveOfferEvent.js.map +1 -0
- package/build/client/orderbook/types/wrapperWithdrawFundsEvent.d.ts +27 -0
- package/build/client/orderbook/types/wrapperWithdrawFundsEvent.js +19 -0
- package/build/client/orderbook/types/wrapperWithdrawFundsEvent.js.map +1 -0
- package/build/client/orderbook/types/yieldTokenTracker.d.ts +15 -0
- package/build/client/orderbook/types/yieldTokenTracker.js +10 -0
- package/build/client/orderbook/types/yieldTokenTracker.js.map +1 -0
- package/build/client/vaults/accounts/actionProposal.d.ts +30 -0
- package/build/client/vaults/accounts/actionProposal.js +84 -0
- package/build/client/vaults/accounts/actionProposal.js.map +1 -0
- package/build/client/vaults/accounts/exponentStrategyVault.d.ts +39 -0
- package/build/client/vaults/accounts/exponentStrategyVault.js +113 -0
- package/build/client/vaults/accounts/exponentStrategyVault.js.map +1 -0
- package/build/client/vaults/accounts/programConfig.d.ts +19 -0
- package/build/client/vaults/accounts/programConfig.js +76 -0
- package/build/client/vaults/accounts/programConfig.js.map +1 -0
- package/build/client/vaults/accounts/voteAccount.d.ts +23 -0
- package/build/client/vaults/accounts/voteAccount.js +80 -0
- package/build/client/vaults/accounts/voteAccount.js.map +1 -0
- package/build/client/vaults/accounts/withdrawalAccount.d.ts +23 -0
- package/build/client/vaults/accounts/withdrawalAccount.js +78 -0
- package/build/client/vaults/accounts/withdrawalAccount.js.map +1 -0
- package/build/client/vaults/eventRegistry.d.ts +27 -0
- package/build/client/vaults/eventRegistry.js +27 -0
- package/build/client/vaults/eventRegistry.js.map +1 -0
- package/build/client/vaults/index.d.ts +106 -0
- package/build/client/vaults/index.js +125 -0
- package/build/client/vaults/index.js.map +1 -0
- package/build/client/vaults/instructions/activateProposal.d.ts +12 -0
- package/build/client/vaults/instructions/activateProposal.js +25 -0
- package/build/client/vaults/instructions/activateProposal.js.map +1 -0
- package/build/client/vaults/instructions/addPolicy.d.ts +16 -0
- package/build/client/vaults/instructions/addPolicy.js +33 -0
- package/build/client/vaults/instructions/addPolicy.js.map +1 -0
- package/build/client/vaults/instructions/appendProposalActions.d.ts +13 -0
- package/build/client/vaults/instructions/appendProposalActions.js +26 -0
- package/build/client/vaults/instructions/appendProposalActions.js.map +1 -0
- package/build/client/vaults/instructions/cancelProposal.d.ts +7 -0
- package/build/client/vaults/instructions/cancelProposal.js +17 -0
- package/build/client/vaults/instructions/cancelProposal.js.map +1 -0
- package/build/client/vaults/instructions/cancelWithdrawal.d.ts +10 -0
- package/build/client/vaults/instructions/cancelWithdrawal.js +20 -0
- package/build/client/vaults/instructions/cancelWithdrawal.js.map +1 -0
- package/build/client/vaults/instructions/collectManagementFee.d.ts +9 -0
- package/build/client/vaults/instructions/collectManagementFee.js +19 -0
- package/build/client/vaults/instructions/collectManagementFee.js.map +1 -0
- package/build/client/vaults/instructions/depositLiquidity.d.ts +20 -0
- package/build/client/vaults/instructions/depositLiquidity.js +33 -0
- package/build/client/vaults/instructions/depositLiquidity.js.map +1 -0
- package/build/client/vaults/instructions/executeProposal.d.ts +11 -0
- package/build/client/vaults/instructions/executeProposal.js +21 -0
- package/build/client/vaults/instructions/executeProposal.js.map +1 -0
- package/build/client/vaults/instructions/executeWithdrawal.d.ts +18 -0
- package/build/client/vaults/instructions/executeWithdrawal.js +31 -0
- package/build/client/vaults/instructions/executeWithdrawal.js.map +1 -0
- package/build/client/vaults/instructions/executeWithdrawalFromReserves.d.ts +22 -0
- package/build/client/vaults/instructions/executeWithdrawalFromReserves.js +35 -0
- package/build/client/vaults/instructions/executeWithdrawalFromReserves.js.map +1 -0
- package/build/client/vaults/instructions/fillWithdrawal.d.ts +17 -0
- package/build/client/vaults/instructions/fillWithdrawal.js +34 -0
- package/build/client/vaults/instructions/fillWithdrawal.js.map +1 -0
- package/build/client/vaults/instructions/finalizeProposal.d.ts +7 -0
- package/build/client/vaults/instructions/finalizeProposal.js +17 -0
- package/build/client/vaults/instructions/finalizeProposal.js.map +1 -0
- package/build/client/vaults/instructions/initProposal.d.ts +12 -0
- package/build/client/vaults/instructions/initProposal.js +25 -0
- package/build/client/vaults/instructions/initProposal.js.map +1 -0
- package/build/client/vaults/instructions/initializePrices.d.ts +7 -0
- package/build/client/vaults/instructions/initializePrices.js +17 -0
- package/build/client/vaults/instructions/initializePrices.js.map +1 -0
- package/build/client/vaults/instructions/initializeVault.d.ts +44 -0
- package/build/client/vaults/instructions/initializeVault.js +80 -0
- package/build/client/vaults/instructions/initializeVault.js.map +1 -0
- package/build/client/vaults/instructions/makeSentienelManager.d.ts +7 -0
- package/build/client/vaults/instructions/makeSentienelManager.js +17 -0
- package/build/client/vaults/instructions/makeSentienelManager.js.map +1 -0
- package/build/client/vaults/instructions/managePrices.d.ts +11 -0
- package/build/client/vaults/instructions/managePrices.js +24 -0
- package/build/client/vaults/instructions/managePrices.js.map +1 -0
- package/build/client/vaults/instructions/manageVaultSettings.d.ts +12 -0
- package/build/client/vaults/instructions/manageVaultSettings.js +25 -0
- package/build/client/vaults/instructions/manageVaultSettings.js.map +1 -0
- package/build/client/vaults/instructions/managerUpdatePosition.d.ts +12 -0
- package/build/client/vaults/instructions/managerUpdatePosition.js +25 -0
- package/build/client/vaults/instructions/managerUpdatePosition.js.map +1 -0
- package/build/client/vaults/instructions/proposeAction.d.ts +16 -0
- package/build/client/vaults/instructions/proposeAction.js +29 -0
- package/build/client/vaults/instructions/proposeAction.js.map +1 -0
- package/build/client/vaults/instructions/queueWithdrawal.d.ts +14 -0
- package/build/client/vaults/instructions/queueWithdrawal.js +27 -0
- package/build/client/vaults/instructions/queueWithdrawal.js.map +1 -0
- package/build/client/vaults/instructions/removePolicy.d.ts +13 -0
- package/build/client/vaults/instructions/removePolicy.js +27 -0
- package/build/client/vaults/instructions/removePolicy.js.map +1 -0
- package/build/client/vaults/instructions/sentinelSetVaultFlags.d.ts +10 -0
- package/build/client/vaults/instructions/sentinelSetVaultFlags.js +23 -0
- package/build/client/vaults/instructions/sentinelSetVaultFlags.js.map +1 -0
- package/build/client/vaults/instructions/stakeVote.d.ts +18 -0
- package/build/client/vaults/instructions/stakeVote.js +31 -0
- package/build/client/vaults/instructions/stakeVote.js.map +1 -0
- package/build/client/vaults/instructions/unstakeVote.d.ts +14 -0
- package/build/client/vaults/instructions/unstakeVote.js +24 -0
- package/build/client/vaults/instructions/unstakeVote.js.map +1 -0
- package/build/client/vaults/instructions/updatePolicy.d.ts +17 -0
- package/build/client/vaults/instructions/updatePolicy.js +34 -0
- package/build/client/vaults/instructions/updatePolicy.js.map +1 -0
- package/build/client/vaults/instructions/updatePolicyManager.d.ts +13 -0
- package/build/client/vaults/instructions/updatePolicyManager.js +27 -0
- package/build/client/vaults/instructions/updatePolicyManager.js.map +1 -0
- package/build/client/vaults/instructions/updatePrice.d.ts +9 -0
- package/build/client/vaults/instructions/updatePrice.js +22 -0
- package/build/client/vaults/instructions/updatePrice.js.map +1 -0
- package/build/client/vaults/instructions/validateInteractionHook.d.ts +16 -0
- package/build/client/vaults/instructions/validateInteractionHook.js +33 -0
- package/build/client/vaults/instructions/validateInteractionHook.js.map +1 -0
- package/build/client/vaults/instructions/wrapperAddPolicy.d.ts +16 -0
- package/build/client/vaults/instructions/wrapperAddPolicy.js +33 -0
- package/build/client/vaults/instructions/wrapperAddPolicy.js.map +1 -0
- package/build/client/vaults/instructions/wrapperExecuteWithdrawal.d.ts +27 -0
- package/build/client/vaults/instructions/wrapperExecuteWithdrawal.js +40 -0
- package/build/client/vaults/instructions/wrapperExecuteWithdrawal.js.map +1 -0
- package/build/client/vaults/instructions/wrapperManageVaultSettings.d.ts +12 -0
- package/build/client/vaults/instructions/wrapperManageVaultSettings.js +25 -0
- package/build/client/vaults/instructions/wrapperManageVaultSettings.js.map +1 -0
- package/build/client/vaults/instructions/wrapperManagerUpdatePosition.d.ts +12 -0
- package/build/client/vaults/instructions/wrapperManagerUpdatePosition.js +25 -0
- package/build/client/vaults/instructions/wrapperManagerUpdatePosition.js.map +1 -0
- package/build/client/vaults/instructions/wrapperRemovePolicy.d.ts +13 -0
- package/build/client/vaults/instructions/wrapperRemovePolicy.js +27 -0
- package/build/client/vaults/instructions/wrapperRemovePolicy.js.map +1 -0
- package/build/client/vaults/instructions/wrapperUpdatePolicy.d.ts +17 -0
- package/build/client/vaults/instructions/wrapperUpdatePolicy.js +34 -0
- package/build/client/vaults/instructions/wrapperUpdatePolicy.js.map +1 -0
- package/build/client/vaults/types/accountConstraint.d.ts +20 -0
- package/build/client/vaults/types/accountConstraint.js +16 -0
- package/build/client/vaults/types/accountConstraint.js.map +1 -0
- package/build/client/vaults/types/accountConstraintType.d.ts +18 -0
- package/build/client/vaults/types/accountConstraintType.js +38 -0
- package/build/client/vaults/types/accountConstraintType.js.map +1 -0
- package/build/client/vaults/types/allowedSettingsChange.d.ts +79 -0
- package/build/client/vaults/types/allowedSettingsChange.js +45 -0
- package/build/client/vaults/types/allowedSettingsChange.js.map +1 -0
- package/build/client/vaults/types/cancelProposalEvent.d.ts +27 -0
- package/build/client/vaults/types/cancelProposalEvent.js +23 -0
- package/build/client/vaults/types/cancelProposalEvent.js.map +1 -0
- package/build/client/vaults/types/clmmPositionEntry.d.ts +88 -0
- package/build/client/vaults/types/clmmPositionEntry.js +20 -0
- package/build/client/vaults/types/clmmPositionEntry.js.map +1 -0
- package/build/client/vaults/types/dataConstraint.d.ts +116 -0
- package/build/client/vaults/types/dataConstraint.js +13 -0
- package/build/client/vaults/types/dataConstraint.js.map +1 -0
- package/build/client/vaults/types/dataOperator.d.ts +9 -0
- package/build/client/vaults/types/dataOperator.js +16 -0
- package/build/client/vaults/types/dataOperator.js.map +1 -0
- package/build/client/vaults/types/dataValue.d.ts +104 -0
- package/build/client/vaults/types/dataValue.js +33 -0
- package/build/client/vaults/types/dataValue.js.map +1 -0
- package/build/client/vaults/types/depositLiquidityEvent.d.ts +55 -0
- package/build/client/vaults/types/depositLiquidityEvent.js +42 -0
- package/build/client/vaults/types/depositLiquidityEvent.js.map +1 -0
- package/build/client/vaults/types/executeProposalEvent.d.ts +27 -0
- package/build/client/vaults/types/executeProposalEvent.js +23 -0
- package/build/client/vaults/types/executeProposalEvent.js.map +1 -0
- package/build/client/vaults/types/executeWithdrawalEvent.d.ts +14 -0
- package/build/client/vaults/types/executeWithdrawalEvent.js +10 -0
- package/build/client/vaults/types/executeWithdrawalEvent.js.map +1 -0
- package/build/client/vaults/types/fillParam.d.ts +14 -0
- package/build/client/vaults/types/fillParam.js +10 -0
- package/build/client/vaults/types/fillParam.js.map +1 -0
- package/build/client/vaults/types/finalizeProposalEvent.d.ts +48 -0
- package/build/client/vaults/types/finalizeProposalEvent.js +26 -0
- package/build/client/vaults/types/finalizeProposalEvent.js.map +1 -0
- package/build/client/vaults/types/hook.d.ts +44 -0
- package/build/client/vaults/types/hook.js +18 -0
- package/build/client/vaults/types/hook.js.map +1 -0
- package/build/client/vaults/types/hookCompiledInstruction.d.ts +18 -0
- package/build/client/vaults/types/hookCompiledInstruction.js +11 -0
- package/build/client/vaults/types/hookCompiledInstruction.js.map +1 -0
- package/build/client/vaults/types/index.d.ts +65 -0
- package/build/client/vaults/types/index.js +83 -0
- package/build/client/vaults/types/index.js.map +1 -0
- package/build/client/vaults/types/instructionConstraint.d.ts +173 -0
- package/build/client/vaults/types/instructionConstraint.js +17 -0
- package/build/client/vaults/types/instructionConstraint.js.map +1 -0
- package/build/client/vaults/types/internalFundTransferPolicyCreationPayload.d.ts +19 -0
- package/build/client/vaults/types/internalFundTransferPolicyCreationPayload.js +18 -0
- package/build/client/vaults/types/internalFundTransferPolicyCreationPayload.js.map +1 -0
- package/build/client/vaults/types/kaminoObligationEntry.d.ts +117 -0
- package/build/client/vaults/types/kaminoObligationEntry.js +23 -0
- package/build/client/vaults/types/kaminoObligationEntry.js.map +1 -0
- package/build/client/vaults/types/limitedQuantityConstraints.d.ts +10 -0
- package/build/client/vaults/types/limitedQuantityConstraints.js +9 -0
- package/build/client/vaults/types/limitedQuantityConstraints.js.map +1 -0
- package/build/client/vaults/types/limitedSpendingLimit.d.ts +105 -0
- package/build/client/vaults/types/limitedSpendingLimit.js +17 -0
- package/build/client/vaults/types/limitedSpendingLimit.js.map +1 -0
- package/build/client/vaults/types/limitedTimeConstraints.d.ts +67 -0
- package/build/client/vaults/types/limitedTimeConstraints.js +12 -0
- package/build/client/vaults/types/limitedTimeConstraints.js.map +1 -0
- package/build/client/vaults/types/loopscaleLoanEntry.d.ts +11 -0
- package/build/client/vaults/types/loopscaleLoanEntry.js +13 -0
- package/build/client/vaults/types/loopscaleLoanEntry.js.map +1 -0
- package/build/client/vaults/types/loopscaleStrategyEntry.d.ts +11 -0
- package/build/client/vaults/types/loopscaleStrategyEntry.js +13 -0
- package/build/client/vaults/types/loopscaleStrategyEntry.js.map +1 -0
- package/build/client/vaults/types/number.d.ts +2 -0
- package/build/client/vaults/types/number.js +9 -0
- package/build/client/vaults/types/number.js.map +1 -0
- package/build/client/vaults/types/obligationType.d.ts +13 -0
- package/build/client/vaults/types/obligationType.js +24 -0
- package/build/client/vaults/types/obligationType.js.map +1 -0
- package/build/client/vaults/types/orderbookEntry.d.ts +64 -0
- package/build/client/vaults/types/orderbookEntry.js +25 -0
- package/build/client/vaults/types/orderbookEntry.js.map +1 -0
- package/build/client/vaults/types/periodV2.d.ts +60 -0
- package/build/client/vaults/types/periodV2.js +24 -0
- package/build/client/vaults/types/periodV2.js.map +1 -0
- package/build/client/vaults/types/permissions.d.ts +10 -0
- package/build/client/vaults/types/permissions.js +7 -0
- package/build/client/vaults/types/permissions.js.map +1 -0
- package/build/client/vaults/types/policyAction.d.ts +61 -0
- package/build/client/vaults/types/policyAction.js +29 -0
- package/build/client/vaults/types/policyAction.js.map +1 -0
- package/build/client/vaults/types/policyConfig.d.ts +10 -0
- package/build/client/vaults/types/policyConfig.js +15 -0
- package/build/client/vaults/types/policyConfig.js.map +1 -0
- package/build/client/vaults/types/policyCreationPayload.d.ts +287 -0
- package/build/client/vaults/types/policyCreationPayload.js +50 -0
- package/build/client/vaults/types/policyCreationPayload.js.map +1 -0
- package/build/client/vaults/types/policyExpirationArgs.d.ts +33 -0
- package/build/client/vaults/types/policyExpirationArgs.js +21 -0
- package/build/client/vaults/types/policyExpirationArgs.js.map +1 -0
- package/build/client/vaults/types/positionUpdate.d.ts +45 -0
- package/build/client/vaults/types/positionUpdate.js +89 -0
- package/build/client/vaults/types/positionUpdate.js.map +1 -0
- package/build/client/vaults/types/priceId.d.ts +40 -0
- package/build/client/vaults/types/priceId.js +21 -0
- package/build/client/vaults/types/priceId.js.map +1 -0
- package/build/client/vaults/types/priceType.d.ts +19 -0
- package/build/client/vaults/types/priceType.js +26 -0
- package/build/client/vaults/types/priceType.js.map +1 -0
- package/build/client/vaults/types/programInteractionPolicyCreationPayload.d.ts +11 -0
- package/build/client/vaults/types/programInteractionPolicyCreationPayload.js +16 -0
- package/build/client/vaults/types/programInteractionPolicyCreationPayload.js.map +1 -0
- package/build/client/vaults/types/proposalAction.d.ts +226 -0
- package/build/client/vaults/types/proposalAction.js +40 -0
- package/build/client/vaults/types/proposalAction.js.map +1 -0
- package/build/client/vaults/types/proposalActionKind.d.ts +7 -0
- package/build/client/vaults/types/proposalActionKind.js +14 -0
- package/build/client/vaults/types/proposalActionKind.js.map +1 -0
- package/build/client/vaults/types/proposalStatus.d.ts +9 -0
- package/build/client/vaults/types/proposalStatus.js +16 -0
- package/build/client/vaults/types/proposalStatus.js.map +1 -0
- package/build/client/vaults/types/proposalVoteConfig.d.ts +46 -0
- package/build/client/vaults/types/proposalVoteConfig.js +18 -0
- package/build/client/vaults/types/proposalVoteConfig.js.map +1 -0
- package/build/client/vaults/types/proposeActionEvent.d.ts +48 -0
- package/build/client/vaults/types/proposeActionEvent.js +29 -0
- package/build/client/vaults/types/proposeActionEvent.js.map +1 -0
- package/build/client/vaults/types/quantityConstraints.d.ts +18 -0
- package/build/client/vaults/types/quantityConstraints.js +11 -0
- package/build/client/vaults/types/quantityConstraints.js.map +1 -0
- package/build/client/vaults/types/reservePriceMapping.d.ts +48 -0
- package/build/client/vaults/types/reservePriceMapping.js +15 -0
- package/build/client/vaults/types/reservePriceMapping.js.map +1 -0
- package/build/client/vaults/types/settingsChangePolicyCreationPayload.d.ts +81 -0
- package/build/client/vaults/types/settingsChangePolicyCreationPayload.js +10 -0
- package/build/client/vaults/types/settingsChangePolicyCreationPayload.js.map +1 -0
- package/build/client/vaults/types/spendingLimitPolicyCreationPayload.d.ts +142 -0
- package/build/client/vaults/types/spendingLimitPolicyCreationPayload.js +24 -0
- package/build/client/vaults/types/spendingLimitPolicyCreationPayload.js.map +1 -0
- package/build/client/vaults/types/stakeVoteEvent.d.ts +40 -0
- package/build/client/vaults/types/stakeVoteEvent.js +27 -0
- package/build/client/vaults/types/stakeVoteEvent.js.map +1 -0
- package/build/client/vaults/types/strategyPosition.d.ts +43 -0
- package/build/client/vaults/types/strategyPosition.js +54 -0
- package/build/client/vaults/types/strategyPosition.js.map +1 -0
- package/build/client/vaults/types/timeConstraints.d.ts +71 -0
- package/build/client/vaults/types/timeConstraints.js +13 -0
- package/build/client/vaults/types/timeConstraints.js.map +1 -0
- package/build/client/vaults/types/tokenAccountBalance.d.ts +52 -0
- package/build/client/vaults/types/tokenAccountBalance.js +19 -0
- package/build/client/vaults/types/tokenAccountBalance.js.map +1 -0
- package/build/client/vaults/types/tokenAccountEntry.d.ts +72 -0
- package/build/client/vaults/types/tokenAccountEntry.js +15 -0
- package/build/client/vaults/types/tokenAccountEntry.js.map +1 -0
- package/build/client/vaults/types/tokenEntry.d.ts +60 -0
- package/build/client/vaults/types/tokenEntry.js +24 -0
- package/build/client/vaults/types/tokenEntry.js.map +1 -0
- package/build/client/vaults/types/unstakeVoteEvent.d.ts +36 -0
- package/build/client/vaults/types/unstakeVoteEvent.js +26 -0
- package/build/client/vaults/types/unstakeVoteEvent.js.map +1 -0
- package/build/client/vaults/types/updatePriceAction.d.ts +174 -0
- package/build/client/vaults/types/updatePriceAction.js +104 -0
- package/build/client/vaults/types/updatePriceAction.js.map +1 -0
- package/build/client/vaults/types/updatePriceInput.d.ts +14 -0
- package/build/client/vaults/types/updatePriceInput.js +10 -0
- package/build/client/vaults/types/updatePriceInput.js.map +1 -0
- package/build/client/vaults/types/usageState.d.ts +14 -0
- package/build/client/vaults/types/usageState.js +10 -0
- package/build/client/vaults/types/usageState.js.map +1 -0
- package/build/client/vaults/types/vaultConfig.d.ts +87 -0
- package/build/client/vaults/types/vaultConfig.js +19 -0
- package/build/client/vaults/types/vaultConfig.js.map +1 -0
- package/build/client/vaults/types/vaultFinancials.d.ts +58 -0
- package/build/client/vaults/types/vaultFinancials.js +21 -0
- package/build/client/vaults/types/vaultFinancials.js.map +1 -0
- package/build/client/vaults/types/vaultFlagAction.d.ts +56 -0
- package/build/client/vaults/types/vaultFlagAction.js +22 -0
- package/build/client/vaults/types/vaultFlagAction.js.map +1 -0
- package/build/client/vaults/types/vaultFlagsUpdatedEvent.d.ts +23 -0
- package/build/client/vaults/types/vaultFlagsUpdatedEvent.js +19 -0
- package/build/client/vaults/types/vaultFlagsUpdatedEvent.js.map +1 -0
- package/build/client/vaults/types/vaultRoleKind.d.ts +7 -0
- package/build/client/vaults/types/vaultRoleKind.js +14 -0
- package/build/client/vaults/types/vaultRoleKind.js.map +1 -0
- package/build/client/vaults/types/vaultRoles.d.ts +23 -0
- package/build/client/vaults/types/vaultRoles.js +25 -0
- package/build/client/vaults/types/vaultRoles.js.map +1 -0
- package/build/client/vaults/types/vaultSettingsAction.d.ts +109 -0
- package/build/client/vaults/types/vaultSettingsAction.js +161 -0
- package/build/client/vaults/types/vaultSettingsAction.js.map +1 -0
- package/build/client/vaults/types/voteChoice.d.ts +5 -0
- package/build/client/vaults/types/voteChoice.js +12 -0
- package/build/client/vaults/types/voteChoice.js.map +1 -0
- package/build/client/vaults/types/withdrawalPeriodSettings.d.ts +48 -0
- package/build/client/vaults/types/withdrawalPeriodSettings.js +28 -0
- package/build/client/vaults/types/withdrawalPeriodSettings.js.map +1 -0
- package/build/client/vaults/types/withdrawalTokenFill.d.ts +19 -0
- package/build/client/vaults/types/withdrawalTokenFill.js +18 -0
- package/build/client/vaults/types/withdrawalTokenFill.js.map +1 -0
- package/build/client/vaults/types/yieldPositionEntry.d.ts +52 -0
- package/build/client/vaults/types/yieldPositionEntry.js +19 -0
- package/build/client/vaults/types/yieldPositionEntry.js.map +1 -0
- package/build/clmm/codamaEvents.d.ts +23 -0
- package/build/clmm/codamaEvents.js +24 -0
- package/build/clmm/codamaEvents.js.map +1 -0
- package/build/clmm/index.d.ts +1 -0
- package/build/clmm/index.js +18 -0
- package/build/clmm/index.js.map +1 -0
- package/build/codamaEvents.d.ts +18 -0
- package/build/codamaEvents.js +21 -0
- package/build/codamaEvents.js.map +1 -0
- package/build/environment.d.ts +8 -7
- package/build/environment.js +8 -7
- package/build/environment.js.map +1 -1
- package/build/exponentVaults/aumCalculator.d.ts +182 -0
- package/build/exponentVaults/aumCalculator.js +778 -0
- package/build/exponentVaults/aumCalculator.js.map +1 -0
- package/build/exponentVaults/events.d.ts +8 -0
- package/build/exponentVaults/events.js +12 -0
- package/build/exponentVaults/events.js.map +1 -0
- package/build/exponentVaults/index.d.ts +30 -0
- package/build/exponentVaults/index.js +176 -0
- package/build/exponentVaults/index.js.map +1 -0
- package/build/exponentVaults/kamino-markets.d.ts +887 -0
- package/build/exponentVaults/kamino-markets.js +345 -0
- package/build/exponentVaults/kamino-markets.js.map +1 -0
- package/build/exponentVaults/loopscale-client.d.ts +541 -0
- package/build/exponentVaults/loopscale-client.js +732 -0
- package/build/exponentVaults/loopscale-client.js.map +1 -0
- package/build/exponentVaults/policyBuilders.d.ts +694 -0
- package/build/exponentVaults/policyBuilders.js +1131 -0
- package/build/exponentVaults/policyBuilders.js.map +1 -0
- package/build/exponentVaults/policyMatcher.d.ts +82 -0
- package/build/exponentVaults/policyMatcher.js +730 -0
- package/build/exponentVaults/policyMatcher.js.map +1 -0
- package/build/exponentVaults/scope-refresh.d.ts +10 -0
- package/build/exponentVaults/scope-refresh.js +140 -0
- package/build/exponentVaults/scope-refresh.js.map +1 -0
- package/build/exponentVaults/squadsVaultTxnResolver/constants.d.ts +2 -0
- package/build/exponentVaults/squadsVaultTxnResolver/constants.js +61 -0
- package/build/exponentVaults/squadsVaultTxnResolver/constants.js.map +1 -0
- package/build/exponentVaults/squadsVaultTxnResolver/helpers.d.ts +26 -0
- package/build/exponentVaults/squadsVaultTxnResolver/helpers.js +268 -0
- package/build/exponentVaults/squadsVaultTxnResolver/helpers.js.map +1 -0
- package/build/exponentVaults/squadsVaultTxnResolver/index.d.ts +5 -0
- package/build/exponentVaults/squadsVaultTxnResolver/index.js +15 -0
- package/build/exponentVaults/squadsVaultTxnResolver/index.js.map +1 -0
- package/build/exponentVaults/squadsVaultTxnResolver/resolvers/exponent.d.ts +6 -0
- package/build/exponentVaults/squadsVaultTxnResolver/resolvers/exponent.js +361 -0
- package/build/exponentVaults/squadsVaultTxnResolver/resolvers/exponent.js.map +1 -0
- package/build/exponentVaults/squadsVaultTxnResolver/resolvers/helpers.d.ts +2 -0
- package/build/exponentVaults/squadsVaultTxnResolver/resolvers/helpers.js +28 -0
- package/build/exponentVaults/squadsVaultTxnResolver/resolvers/helpers.js.map +1 -0
- package/build/exponentVaults/squadsVaultTxnResolver/resolvers/index.d.ts +2 -0
- package/build/exponentVaults/squadsVaultTxnResolver/resolvers/index.js +25 -0
- package/build/exponentVaults/squadsVaultTxnResolver/resolvers/index.js.map +1 -0
- package/build/exponentVaults/squadsVaultTxnResolver/resolvers/kamino.d.ts +2 -0
- package/build/exponentVaults/squadsVaultTxnResolver/resolvers/kamino.js +67 -0
- package/build/exponentVaults/squadsVaultTxnResolver/resolvers/kamino.js.map +1 -0
- package/build/exponentVaults/squadsVaultTxnResolver/resolvers/loopscale.d.ts +2 -0
- package/build/exponentVaults/squadsVaultTxnResolver/resolvers/loopscale.js +73 -0
- package/build/exponentVaults/squadsVaultTxnResolver/resolvers/loopscale.js.map +1 -0
- package/build/exponentVaults/squadsVaultTxnResolver/resolvers/titan.d.ts +2 -0
- package/build/exponentVaults/squadsVaultTxnResolver/resolvers/titan.js +35 -0
- package/build/exponentVaults/squadsVaultTxnResolver/resolvers/titan.js.map +1 -0
- package/build/exponentVaults/squadsVaultTxnResolver/squadsVaultTxnResolver.d.ts +21 -0
- package/build/exponentVaults/squadsVaultTxnResolver/squadsVaultTxnResolver.js +64 -0
- package/build/exponentVaults/squadsVaultTxnResolver/squadsVaultTxnResolver.js.map +1 -0
- package/build/exponentVaults/squadsVaultTxnResolver/types.d.ts +111 -0
- package/build/exponentVaults/squadsVaultTxnResolver/types.js +92 -0
- package/build/exponentVaults/squadsVaultTxnResolver/types.js.map +1 -0
- package/build/exponentVaults/squadsVaultTxnResolver/utils.d.ts +3 -0
- package/build/exponentVaults/squadsVaultTxnResolver/utils.js +8 -0
- package/build/exponentVaults/squadsVaultTxnResolver/utils.js.map +1 -0
- package/build/exponentVaults/syncTransaction.d.ts +84 -0
- package/build/exponentVaults/syncTransaction.js +341 -0
- package/build/exponentVaults/syncTransaction.js.map +1 -0
- package/build/exponentVaults/titan-quote.d.ts +22 -0
- package/build/exponentVaults/titan-quote.js +167 -0
- package/build/exponentVaults/titan-quote.js.map +1 -0
- package/build/exponentVaults/vault-interaction.d.ts +3475 -0
- package/build/exponentVaults/vault-interaction.js +2251 -0
- package/build/exponentVaults/vault-interaction.js.map +1 -0
- package/build/exponentVaults/vault.d.ts +613 -0
- package/build/exponentVaults/vault.js +1437 -0
- package/build/exponentVaults/vault.js.map +1 -0
- package/build/exponentVaults/vaultTransactionBuilder.d.ts +319 -0
- package/build/exponentVaults/vaultTransactionBuilder.js +470 -0
- package/build/exponentVaults/vaultTransactionBuilder.js.map +1 -0
- package/build/flavors.d.ts +5 -3
- package/build/flavors.js +195 -137
- package/build/flavors.js.map +1 -1
- package/build/index.d.ts +17 -4
- package/build/index.js +33 -7
- package/build/index.js.map +1 -1
- package/build/lpPosition.d.ts +13 -15
- package/build/lpPosition.js +6 -7
- package/build/lpPosition.js.map +1 -1
- package/build/market.d.ts +213 -228
- package/build/market.js +331 -384
- package/build/market.js.map +1 -1
- package/build/marketThree.d.ts +798 -0
- package/build/marketThree.js +1749 -0
- package/build/marketThree.js.map +1 -0
- package/build/marketThree.test.d.ts +1 -0
- package/build/marketThree.test.js +166 -0
- package/build/marketThree.test.js.map +1 -0
- package/build/orderbook/codamaEvents.d.ts +19 -0
- package/build/orderbook/codamaEvents.js +22 -0
- package/build/orderbook/codamaEvents.js.map +1 -0
- package/build/orderbook/index.d.ts +7 -0
- package/build/orderbook/index.js +45 -0
- package/build/orderbook/index.js.map +1 -0
- package/build/orderbook/math.d.ts +28 -0
- package/build/orderbook/math.js +123 -0
- package/build/orderbook/math.js.map +1 -0
- package/build/orderbook/orderbook.d.ts +253 -0
- package/build/orderbook/orderbook.js +923 -0
- package/build/orderbook/orderbook.js.map +1 -0
- package/build/orderbook/types.d.ts +35 -0
- package/build/orderbook/types.js +47 -0
- package/build/orderbook/types.js.map +1 -0
- package/build/orderbook/utils.d.ts +16 -0
- package/build/orderbook/utils.js +66 -0
- package/build/orderbook/utils.js.map +1 -0
- package/build/router.d.ts +152 -0
- package/build/router.js +544 -0
- package/build/router.js.map +1 -0
- package/build/syPosition.d.ts +2 -2
- package/build/syPosition.js +13 -7
- package/build/syPosition.js.map +1 -1
- package/build/tokenUtil.d.ts +3 -3
- package/build/tokenUtil.js.map +1 -1
- package/build/utils/index.d.ts +5 -5
- package/build/utils/index.js +2 -2
- package/build/utils/index.js.map +1 -1
- package/build/utils/ix.d.ts +2 -2
- package/build/vault.d.ts +111 -222
- package/build/vault.js +228 -149
- package/build/vault.js.map +1 -1
- package/build/ytPosition.d.ts +29 -35
- package/build/ytPosition.js +89 -67
- package/build/ytPosition.js.map +1 -1
- package/package.json +59 -24
- package/src/CodamaEventDecoder.ts +151 -0
- package/src/addressLookupTableUtil.ts +85 -10
- package/src/client/clmm/accounts/lpPosition.ts +143 -0
- package/src/client/clmm/accounts/marketThree.ts +274 -0
- package/src/client/clmm/accounts/vault.ts +234 -0
- package/src/client/clmm/eventRegistry.ts +92 -0
- package/src/client/clmm/index.ts +82 -0
- package/src/client/clmm/instructions/addFarm.ts +57 -0
- package/src/client/clmm/instructions/addLiquidity.ts +78 -0
- package/src/client/clmm/instructions/addMarketEmission.ts +50 -0
- package/src/client/clmm/instructions/buyPt.ts +73 -0
- package/src/client/clmm/instructions/buyYt.ts +80 -0
- package/src/client/clmm/instructions/claimFarmEmission.ts +56 -0
- package/src/client/clmm/instructions/closeMarket.ts +47 -0
- package/src/client/clmm/instructions/depositLiquidity.ts +71 -0
- package/src/client/clmm/instructions/initializeMarket.ts +127 -0
- package/src/client/clmm/instructions/marketAccrueEmission.ts +39 -0
- package/src/client/clmm/instructions/marketCollectEmission.ts +57 -0
- package/src/client/clmm/instructions/modifyFarm.ts +55 -0
- package/src/client/clmm/instructions/modifyMarketSetting.ts +45 -0
- package/src/client/clmm/instructions/sellPt.ts +73 -0
- package/src/client/clmm/instructions/sellYt.ts +80 -0
- package/src/client/clmm/instructions/tradePt.ts +73 -0
- package/src/client/clmm/instructions/tradePtExactOut.ts +75 -0
- package/src/client/clmm/instructions/withdrawLiquidity.ts +67 -0
- package/src/client/clmm/instructions/wrapperBuyYt.ts +85 -0
- package/src/client/clmm/instructions/wrapperProvideLiquidity.ts +100 -0
- package/src/client/clmm/instructions/wrapperProvideLiquidityBase.ts +98 -0
- package/src/client/clmm/instructions/wrapperProvideLiquidityClassic.ts +86 -0
- package/src/client/clmm/instructions/wrapperSellYt.ts +83 -0
- package/src/client/clmm/instructions/wrapperWithdrawLiquidity.ts +75 -0
- package/src/client/clmm/instructions/wrapperWithdrawLiquidityClassic.ts +69 -0
- package/src/client/clmm/types/addFarmEvent.ts +51 -0
- package/src/client/clmm/types/amount.ts +51 -0
- package/src/client/clmm/types/buyPtEvent.ts +36 -0
- package/src/client/clmm/types/buyYtEvent.ts +74 -0
- package/src/client/clmm/types/claimFarmEmissionsEvent.ts +94 -0
- package/src/client/clmm/types/claimLimits.ts +15 -0
- package/src/client/clmm/types/closeMarketEvent.ts +36 -0
- package/src/client/clmm/types/configurationOptions.ts +29 -0
- package/src/client/clmm/types/cpiAccounts.ts +21 -0
- package/src/client/clmm/types/cpiCoreAccounts.ts +15 -0
- package/src/client/clmm/types/cpiInterfaceContext.ts +13 -0
- package/src/client/clmm/types/crossingSplit.ts +40 -0
- package/src/client/clmm/types/depositLiquidityEvent.ts +93 -0
- package/src/client/clmm/types/depositLiquidityReturnData.ts +81 -0
- package/src/client/clmm/types/emissionInfo.ts +44 -0
- package/src/client/clmm/types/farmEmission.ts +31 -0
- package/src/client/clmm/types/index.ts +48 -0
- package/src/client/clmm/types/liquidityNetBalanceLimits.ts +22 -0
- package/src/client/clmm/types/lpFarm.ts +12 -0
- package/src/client/clmm/types/marketAccrueEmissionEvent.ts +69 -0
- package/src/client/clmm/types/marketAdminAction.ts +239 -0
- package/src/client/clmm/types/marketCollectEmissionEvent.ts +83 -0
- package/src/client/clmm/types/marketEmission.ts +28 -0
- package/src/client/clmm/types/marketEmissions.ts +10 -0
- package/src/client/clmm/types/marketFinancials.ts +17 -0
- package/src/client/clmm/types/marketThreeInitEvent.ts +92 -0
- package/src/client/clmm/types/mergeEvent.ts +118 -0
- package/src/client/clmm/types/modifiedTick.ts +13 -0
- package/src/client/clmm/types/modifiedTicks.ts +18 -0
- package/src/client/clmm/types/modifyFarmEvent.ts +56 -0
- package/src/client/clmm/types/number.ts +7 -0
- package/src/client/clmm/types/personalYieldTracker.ts +12 -0
- package/src/client/clmm/types/personalYieldTrackers.ts +13 -0
- package/src/client/clmm/types/principalShare.ts +22 -0
- package/src/client/clmm/types/principalShareTrackers.ts +10 -0
- package/src/client/clmm/types/sellPtEvent.ts +36 -0
- package/src/client/clmm/types/sellYtEvent.ts +69 -0
- package/src/client/clmm/types/stripEvent.ts +124 -0
- package/src/client/clmm/types/swapDirection.ts +8 -0
- package/src/client/clmm/types/tradePtEvent.ts +76 -0
- package/src/client/clmm/types/withdrawLiquidityEvent.ts +99 -0
- package/src/client/clmm/types/withdrawLiquidityReturnData.ts +27 -0
- package/src/client/clmm/types/wrapperBuyYtEvent.ts +36 -0
- package/src/client/clmm/types/wrapperProvideLiquidityBaseEvent.ts +60 -0
- package/src/client/clmm/types/wrapperProvideLiquidityClassicEvent.ts +58 -0
- package/src/client/clmm/types/wrapperProvideLiquidityEvent.ts +60 -0
- package/src/client/clmm/types/wrapperSellYtEvent.ts +36 -0
- package/src/client/clmm/types/wrapperWithdrawLiquidityClassicEvent.ts +62 -0
- package/src/client/clmm/types/wrapperWithdrawLiquidityEvent.ts +62 -0
- package/src/client/core/accounts/admin.ts +112 -0
- package/src/client/core/accounts/lpPosition.ts +122 -0
- package/src/client/core/accounts/marketTwo.ts +234 -0
- package/src/client/core/accounts/vault.ts +234 -0
- package/src/client/core/accounts/yieldTokenPosition.ts +126 -0
- package/src/client/core/eventRegistry.ts +134 -0
- package/src/client/core/index.ts +113 -0
- package/src/client/core/instructions/addEmission.ts +62 -0
- package/src/client/core/instructions/addFarm.ts +53 -0
- package/src/client/core/instructions/addLpTokensMetadata.ts +62 -0
- package/src/client/core/instructions/addMarketEmission.ts +52 -0
- package/src/client/core/instructions/buyYt.ts +79 -0
- package/src/client/core/instructions/claimFarmEmissions.ts +54 -0
- package/src/client/core/instructions/collectEmission.ts +66 -0
- package/src/client/core/instructions/collectInterest.ts +64 -0
- package/src/client/core/instructions/collectTreasuryEmission.ts +64 -0
- package/src/client/core/instructions/collectTreasuryInterest.ts +62 -0
- package/src/client/core/instructions/depositYt.ts +59 -0
- package/src/client/core/instructions/initLpPosition.ts +35 -0
- package/src/client/core/instructions/initMarketTwo.ts +103 -0
- package/src/client/core/instructions/initializeVault.ts +107 -0
- package/src/client/core/instructions/initializeYieldPosition.ts +33 -0
- package/src/client/core/instructions/marketCollectEmission.ts +55 -0
- package/src/client/core/instructions/marketDepositLp.ts +59 -0
- package/src/client/core/instructions/marketTwoDepositLiquidity.ts +65 -0
- package/src/client/core/instructions/marketTwoWithdrawLiquidity.ts +65 -0
- package/src/client/core/instructions/marketWithdrawLp.ts +59 -0
- package/src/client/core/instructions/merge.ts +61 -0
- package/src/client/core/instructions/modifyFarm.ts +51 -0
- package/src/client/core/instructions/modifyMarketSetting.ts +47 -0
- package/src/client/core/instructions/modifyVaultSetting.ts +44 -0
- package/src/client/core/instructions/reallocMarket.ts +45 -0
- package/src/client/core/instructions/sellYt.ts +79 -0
- package/src/client/core/instructions/stageYtYield.ts +39 -0
- package/src/client/core/instructions/strip.ts +61 -0
- package/src/client/core/instructions/tradePt.ts +59 -0
- package/src/client/core/instructions/withdrawYt.ts +61 -0
- package/src/client/core/instructions/wrapperBuyPt.ts +63 -0
- package/src/client/core/instructions/wrapperBuyYt.ts +93 -0
- package/src/client/core/instructions/wrapperCollectInterest.ts +63 -0
- package/src/client/core/instructions/wrapperMerge.ts +77 -0
- package/src/client/core/instructions/wrapperProvideLiquidity.ts +103 -0
- package/src/client/core/instructions/wrapperProvideLiquidityBase.ts +81 -0
- package/src/client/core/instructions/wrapperProvideLiquidityClassic.ts +77 -0
- package/src/client/core/instructions/wrapperSellPt.ts +63 -0
- package/src/client/core/instructions/wrapperSellYt.ts +87 -0
- package/src/client/core/instructions/wrapperStrip.ts +81 -0
- package/src/client/core/instructions/wrapperWithdrawLiquidity.ts +77 -0
- package/src/client/core/instructions/wrapperWithdrawLiquidityClassic.ts +73 -0
- package/src/client/core/types/adminAction.ts +255 -0
- package/src/client/core/types/amount.ts +51 -0
- package/src/client/core/types/buyPtEvent.ts +39 -0
- package/src/client/core/types/buyYtEvent.ts +95 -0
- package/src/client/core/types/claimFarmEmissionsEvent.ts +75 -0
- package/src/client/core/types/claimFarmEmissionsEventV2.ts +83 -0
- package/src/client/core/types/claimLimits.ts +15 -0
- package/src/client/core/types/collectEmissionEvent.ts +51 -0
- package/src/client/core/types/collectEmissionEventV2.ts +60 -0
- package/src/client/core/types/collectInterestEvent.ts +48 -0
- package/src/client/core/types/collectInterestEventV2.ts +57 -0
- package/src/client/core/types/collectTreasuryEmissionKind.ts +8 -0
- package/src/client/core/types/collectTreasuryInterestKind.ts +8 -0
- package/src/client/core/types/cpiAccounts.ts +21 -0
- package/src/client/core/types/cpiInterfaceContext.ts +13 -0
- package/src/client/core/types/depositLiquidityEvent.ts +101 -0
- package/src/client/core/types/depositLpEvent.ts +75 -0
- package/src/client/core/types/depositLpEventV2.ts +83 -0
- package/src/client/core/types/depositYtEvent.ts +82 -0
- package/src/client/core/types/depositYtEventV2.ts +91 -0
- package/src/client/core/types/emissionInfo.ts +44 -0
- package/src/client/core/types/farmEmission.ts +31 -0
- package/src/client/core/types/index.ts +60 -0
- package/src/client/core/types/initLpPositionEvent.ts +57 -0
- package/src/client/core/types/initializeYieldPositionEvent.ts +43 -0
- package/src/client/core/types/liquidityNetBalanceLimits.ts +22 -0
- package/src/client/core/types/lpFarm.ts +12 -0
- package/src/client/core/types/marketAdminAction.ts +212 -0
- package/src/client/core/types/marketCollectEmissionEvent.ts +67 -0
- package/src/client/core/types/marketCollectEmissionEventV2.ts +75 -0
- package/src/client/core/types/marketEmission.ts +28 -0
- package/src/client/core/types/marketEmissions.ts +10 -0
- package/src/client/core/types/marketFinancials.ts +19 -0
- package/src/client/core/types/mergeEvent.ts +118 -0
- package/src/client/core/types/number.ts +7 -0
- package/src/client/core/types/personalYieldTracker.ts +12 -0
- package/src/client/core/types/personalYieldTrackers.ts +13 -0
- package/src/client/core/types/principleDetails.ts +25 -0
- package/src/client/core/types/principles.ts +23 -0
- package/src/client/core/types/sellPtEvent.ts +39 -0
- package/src/client/core/types/sellYtEvent.ts +90 -0
- package/src/client/core/types/stageYieldEvent.ts +63 -0
- package/src/client/core/types/stageYieldEventV2.ts +69 -0
- package/src/client/core/types/stripEvent.ts +124 -0
- package/src/client/core/types/tradePtEvent.ts +80 -0
- package/src/client/core/types/withdrawLiquidityEvent.ts +97 -0
- package/src/client/core/types/withdrawLpEvent.ts +75 -0
- package/src/client/core/types/withdrawLpEventV2.ts +83 -0
- package/src/client/core/types/withdrawYtEvent.ts +82 -0
- package/src/client/core/types/withdrawYtEventV2.ts +91 -0
- package/src/client/core/types/wrapperBuyYtEvent.ts +39 -0
- package/src/client/core/types/wrapperCollectInterestEvent.ts +37 -0
- package/src/client/core/types/wrapperMergeEvent.ts +38 -0
- package/src/client/core/types/wrapperProvideLiquidityBaseEvent.ts +43 -0
- package/src/client/core/types/wrapperProvideLiquidityClassicEvent.ts +41 -0
- package/src/client/core/types/wrapperProvideLiquidityEvent.ts +41 -0
- package/src/client/core/types/wrapperSellYtEvent.ts +39 -0
- package/src/client/core/types/wrapperStripEvent.ts +38 -0
- package/src/client/core/types/wrapperWithdrawLiquidityClassicEvent.ts +41 -0
- package/src/client/core/types/wrapperWithdrawLiquidityEvent.ts +39 -0
- package/src/client/core/types/yieldTokenTracker.ts +12 -0
- package/src/client/orderbook/accounts/cpiAccountsOrderbook.ts +101 -0
- package/src/client/orderbook/accounts/vault.ts +234 -0
- package/src/client/orderbook/eventRegistry.ts +71 -0
- package/src/client/orderbook/index.ts +55 -0
- package/src/client/orderbook/instructions/collectAdminEmission.ts +48 -0
- package/src/client/orderbook/instructions/collectAdminFee.ts +59 -0
- package/src/client/orderbook/instructions/collectInterest.ts +66 -0
- package/src/client/orderbook/instructions/initializeOrderbook.ts +104 -0
- package/src/client/orderbook/instructions/marketOffer.ts +89 -0
- package/src/client/orderbook/instructions/postOffer.ts +96 -0
- package/src/client/orderbook/instructions/reallocOrderbookAccount.ts +45 -0
- package/src/client/orderbook/instructions/removeExpiredOffers.ts +37 -0
- package/src/client/orderbook/instructions/removeOffer.ts +73 -0
- package/src/client/orderbook/instructions/setConfigurationOptions.ts +43 -0
- package/src/client/orderbook/instructions/withdrawFunds.ts +78 -0
- package/src/client/orderbook/instructions/wrapperCollectAdminFee.ts +73 -0
- package/src/client/orderbook/instructions/wrapperCollectInterest.ts +65 -0
- package/src/client/orderbook/instructions/wrapperMarketOffer.ts +94 -0
- package/src/client/orderbook/instructions/wrapperPostOffer.ts +99 -0
- package/src/client/orderbook/instructions/wrapperRemoveOffer.ts +75 -0
- package/src/client/orderbook/instructions/wrapperWithdrawFunds.ts +80 -0
- package/src/client/orderbook/types/amount.ts +51 -0
- package/src/client/orderbook/types/claimLimits.ts +15 -0
- package/src/client/orderbook/types/collectAdminEmissionEvent.ts +39 -0
- package/src/client/orderbook/types/collectAdminFeeEvent.ts +17 -0
- package/src/client/orderbook/types/collectEmissionEventV2.ts +60 -0
- package/src/client/orderbook/types/collectInterestEventV2.ts +57 -0
- package/src/client/orderbook/types/collectUserInterestEvent.ts +36 -0
- package/src/client/orderbook/types/cpiAccounts.ts +21 -0
- package/src/client/orderbook/types/cpiInterfaceContext.ts +13 -0
- package/src/client/orderbook/types/emissionInfo.ts +44 -0
- package/src/client/orderbook/types/exponentCoreCpiAccounts.ts +21 -0
- package/src/client/orderbook/types/filledOffersEvent.ts +19 -0
- package/src/client/orderbook/types/index.ts +30 -0
- package/src/client/orderbook/types/marketOfferEvent.ts +72 -0
- package/src/client/orderbook/types/mergeEvent.ts +118 -0
- package/src/client/orderbook/types/number.ts +7 -0
- package/src/client/orderbook/types/offerOptions.ts +56 -0
- package/src/client/orderbook/types/offerType.ts +8 -0
- package/src/client/orderbook/types/orderbookInitEvent.ts +54 -0
- package/src/client/orderbook/types/postOfferEvent.ts +78 -0
- package/src/client/orderbook/types/removeOfferEvent.ts +67 -0
- package/src/client/orderbook/types/setConfigurationOptionsEnum.ts +116 -0
- package/src/client/orderbook/types/stripEvent.ts +124 -0
- package/src/client/orderbook/types/withdrawFundsEvent.ts +65 -0
- package/src/client/orderbook/types/wrapperCollectAdminFeeEvent.ts +13 -0
- package/src/client/orderbook/types/wrapperCollectInterestEvent.ts +25 -0
- package/src/client/orderbook/types/wrapperMarketOfferEvent.ts +27 -0
- package/src/client/orderbook/types/wrapperPostOfferEvent.ts +72 -0
- package/src/client/orderbook/types/wrapperRemoveOfferEvent.ts +25 -0
- package/src/client/orderbook/types/wrapperWithdrawFundsEvent.ts +38 -0
- package/src/client/orderbook/types/yieldTokenTracker.ts +12 -0
- package/src/client/vaults/accounts/actionProposal.ts +144 -0
- package/src/client/vaults/accounts/exponentStrategyVault.ts +211 -0
- package/src/client/vaults/accounts/programConfig.ts +123 -0
- package/src/client/vaults/accounts/voteAccount.ts +132 -0
- package/src/client/vaults/accounts/withdrawalAccount.ts +132 -0
- package/src/client/vaults/eventRegistry.ts +45 -0
- package/src/client/vaults/index.ts +111 -0
- package/src/client/vaults/instructions/activateProposal.ts +46 -0
- package/src/client/vaults/instructions/addPolicy.ts +57 -0
- package/src/client/vaults/instructions/appendProposalActions.ts +47 -0
- package/src/client/vaults/instructions/cancelProposal.ts +28 -0
- package/src/client/vaults/instructions/cancelWithdrawal.ts +34 -0
- package/src/client/vaults/instructions/collectManagementFee.ts +32 -0
- package/src/client/vaults/instructions/depositLiquidity.ts +62 -0
- package/src/client/vaults/instructions/executeProposal.ts +36 -0
- package/src/client/vaults/instructions/executeWithdrawal.ts +58 -0
- package/src/client/vaults/instructions/executeWithdrawalFromReserves.ts +66 -0
- package/src/client/vaults/instructions/fillWithdrawal.ts +59 -0
- package/src/client/vaults/instructions/finalizeProposal.ts +28 -0
- package/src/client/vaults/instructions/initProposal.ts +46 -0
- package/src/client/vaults/instructions/initializePrices.ts +28 -0
- package/src/client/vaults/instructions/initializeVault.ts +148 -0
- package/src/client/vaults/instructions/makeSentienelManager.ts +28 -0
- package/src/client/vaults/instructions/managePrices.ts +46 -0
- package/src/client/vaults/instructions/manageVaultSettings.ts +48 -0
- package/src/client/vaults/instructions/managerUpdatePosition.ts +45 -0
- package/src/client/vaults/instructions/queueWithdrawal.ts +50 -0
- package/src/client/vaults/instructions/removePolicy.ts +44 -0
- package/src/client/vaults/instructions/sentinelSetVaultFlags.ts +44 -0
- package/src/client/vaults/instructions/stakeVote.ts +57 -0
- package/src/client/vaults/instructions/unstakeVote.ts +42 -0
- package/src/client/vaults/instructions/updatePolicy.ts +59 -0
- package/src/client/vaults/instructions/updatePolicyManager.ts +44 -0
- package/src/client/vaults/instructions/updatePrice.ts +42 -0
- package/src/client/vaults/instructions/validateInteractionHook.ts +60 -0
- package/src/client/vaults/instructions/wrapperAddPolicy.ts +57 -0
- package/src/client/vaults/instructions/wrapperExecuteWithdrawal.ts +76 -0
- package/src/client/vaults/instructions/wrapperManageVaultSettings.ts +48 -0
- package/src/client/vaults/instructions/wrapperManagerUpdatePosition.ts +45 -0
- package/src/client/vaults/instructions/wrapperRemovePolicy.ts +44 -0
- package/src/client/vaults/instructions/wrapperUpdatePolicy.ts +59 -0
- package/src/client/vaults/types/accountConstraint.ts +35 -0
- package/src/client/vaults/types/accountConstraintType.ts +93 -0
- package/src/client/vaults/types/allowedSettingsChange.ts +136 -0
- package/src/client/vaults/types/cancelProposalEvent.ts +47 -0
- package/src/client/vaults/types/clmmPositionEntry.ts +37 -0
- package/src/client/vaults/types/dataConstraint.ts +16 -0
- package/src/client/vaults/types/dataOperator.ts +13 -0
- package/src/client/vaults/types/dataValue.ts +119 -0
- package/src/client/vaults/types/depositLiquidityEvent.ts +89 -0
- package/src/client/vaults/types/executeProposalEvent.ts +47 -0
- package/src/client/vaults/types/executeWithdrawalEvent.ts +12 -0
- package/src/client/vaults/types/fillParam.ts +12 -0
- package/src/client/vaults/types/finalizeProposalEvent.ts +51 -0
- package/src/client/vaults/types/hook.ts +40 -0
- package/src/client/vaults/types/hookCompiledInstruction.ts +20 -0
- package/src/client/vaults/types/index.ts +66 -0
- package/src/client/vaults/types/instructionConstraint.ts +33 -0
- package/src/client/vaults/types/internalFundTransferPolicyCreationPayload.ts +35 -0
- package/src/client/vaults/types/kaminoObligationEntry.ts +48 -0
- package/src/client/vaults/types/limitedQuantityConstraints.ts +10 -0
- package/src/client/vaults/types/limitedSpendingLimit.ts +35 -0
- package/src/client/vaults/types/limitedTimeConstraints.ts +15 -0
- package/src/client/vaults/types/loopscaleLoanEntry.ts +23 -0
- package/src/client/vaults/types/loopscaleStrategyEntry.ts +23 -0
- package/src/client/vaults/types/number.ts +8 -0
- package/src/client/vaults/types/obligationType.ts +63 -0
- package/src/client/vaults/types/orderbookEntry.ts +50 -0
- package/src/client/vaults/types/periodV2.ts +76 -0
- package/src/client/vaults/types/permissions.ts +8 -0
- package/src/client/vaults/types/policyAction.ts +74 -0
- package/src/client/vaults/types/policyConfig.ts +32 -0
- package/src/client/vaults/types/policyCreationPayload.ts +147 -0
- package/src/client/vaults/types/policyExpirationArgs.ts +67 -0
- package/src/client/vaults/types/positionUpdate.ts +251 -0
- package/src/client/vaults/types/priceId.ts +57 -0
- package/src/client/vaults/types/priceType.ts +23 -0
- package/src/client/vaults/types/programInteractionPolicyCreationPayload.ts +32 -0
- package/src/client/vaults/types/proposalAction.ts +100 -0
- package/src/client/vaults/types/proposalActionKind.ts +11 -0
- package/src/client/vaults/types/proposalStatus.ts +13 -0
- package/src/client/vaults/types/proposalVoteConfig.ts +36 -0
- package/src/client/vaults/types/proposeActionEvent.ts +62 -0
- package/src/client/vaults/types/quantityConstraints.ts +14 -0
- package/src/client/vaults/types/reservePriceMapping.ts +26 -0
- package/src/client/vaults/types/settingsChangePolicyCreationPayload.ts +14 -0
- package/src/client/vaults/types/spendingLimitPolicyCreationPayload.ts +54 -0
- package/src/client/vaults/types/stakeVoteEvent.ts +54 -0
- package/src/client/vaults/types/strategyPosition.ts +161 -0
- package/src/client/vaults/types/timeConstraints.ts +22 -0
- package/src/client/vaults/types/tokenAccountBalance.ts +35 -0
- package/src/client/vaults/types/tokenAccountEntry.ts +30 -0
- package/src/client/vaults/types/tokenEntry.ts +48 -0
- package/src/client/vaults/types/unstakeVoteEvent.ts +53 -0
- package/src/client/vaults/types/updatePriceAction.ts +268 -0
- package/src/client/vaults/types/updatePriceInput.ts +12 -0
- package/src/client/vaults/types/usageState.ts +12 -0
- package/src/client/vaults/types/vaultConfig.ts +38 -0
- package/src/client/vaults/types/vaultFinancials.ts +40 -0
- package/src/client/vaults/types/vaultFlagAction.ts +75 -0
- package/src/client/vaults/types/vaultFlagsUpdatedEvent.ts +37 -0
- package/src/client/vaults/types/vaultRoleKind.ts +11 -0
- package/src/client/vaults/types/vaultRoles.ts +59 -0
- package/src/client/vaults/types/vaultSettingsAction.ts +533 -0
- package/src/client/vaults/types/voteChoice.ts +9 -0
- package/src/client/vaults/types/withdrawalPeriodSettings.ts +83 -0
- package/src/client/vaults/types/withdrawalTokenFill.ts +35 -0
- package/src/client/vaults/types/yieldPositionEntry.ts +35 -0
- package/src/clmm/codamaEvents.ts +34 -0
- package/src/clmm/index.ts +1 -0
- package/src/codamaEvents.ts +27 -0
- package/src/environment.ts +15 -13
- package/src/exponentVaults/aumCalculator.ts +1013 -0
- package/src/exponentVaults/events.ts +15 -0
- package/src/exponentVaults/index.ts +298 -0
- package/src/exponentVaults/kamino-markets.ts +363 -0
- package/src/exponentVaults/loopscale-client.ts +1373 -0
- package/src/exponentVaults/policyBuilders.ts +1559 -0
- package/src/exponentVaults/policyMatcher.ts +895 -0
- package/src/exponentVaults/scope-refresh.ts +169 -0
- package/src/exponentVaults/squadsVaultTxnResolver/constants.ts +59 -0
- package/src/exponentVaults/squadsVaultTxnResolver/helpers.ts +355 -0
- package/src/exponentVaults/squadsVaultTxnResolver/index.ts +16 -0
- package/src/exponentVaults/squadsVaultTxnResolver/resolvers/exponent.ts +472 -0
- package/src/exponentVaults/squadsVaultTxnResolver/resolvers/helpers.ts +33 -0
- package/src/exponentVaults/squadsVaultTxnResolver/resolvers/index.ts +38 -0
- package/src/exponentVaults/squadsVaultTxnResolver/resolvers/kamino.ts +83 -0
- package/src/exponentVaults/squadsVaultTxnResolver/resolvers/loopscale.ts +94 -0
- package/src/exponentVaults/squadsVaultTxnResolver/resolvers/titan.ts +41 -0
- package/src/exponentVaults/squadsVaultTxnResolver/squadsVaultTxnResolver.ts +91 -0
- package/src/exponentVaults/squadsVaultTxnResolver/types.ts +171 -0
- package/src/exponentVaults/squadsVaultTxnResolver/utils.ts +3 -0
- package/src/exponentVaults/syncTransaction.ts +495 -0
- package/src/exponentVaults/titan-quote.ts +260 -0
- package/src/exponentVaults/vault-interaction.ts +3479 -0
- package/src/exponentVaults/vault.ts +2256 -0
- package/src/exponentVaults/vaultTransactionBuilder.ts +785 -0
- package/src/flavors.ts +192 -121
- package/src/index.ts +19 -4
- package/src/lpPosition.ts +17 -19
- package/src/market.ts +532 -546
- package/src/marketThree.test.ts +210 -0
- package/src/marketThree.ts +2853 -0
- package/src/orderbook/codamaEvents.ts +28 -0
- package/src/orderbook/index.ts +13 -0
- package/src/orderbook/math.ts +138 -0
- package/src/orderbook/orderbook.ts +1354 -0
- package/src/orderbook/types.ts +40 -0
- package/src/orderbook/utils.ts +66 -0
- package/src/router.ts +810 -0
- package/src/syPosition.ts +19 -16
- package/src/tokenUtil.ts +4 -4
- package/src/utils/index.ts +6 -7
- package/src/utils/ix.ts +2 -2
- package/src/vault.ts +365 -372
- package/src/ytPosition.ts +100 -122
- package/tsconfig.json +9 -1
- package/build/events.d.ts +0 -372
- package/build/events.js +0 -252
- package/build/events.js.map +0 -1
- package/src/events.ts +0 -668
|
@@ -0,0 +1,3475 @@
|
|
|
1
|
+
import { KAMINO_RESERVES, KaminoMarket } from "./kamino-markets";
|
|
2
|
+
import { SwapDirection } from "../client/clmm";
|
|
3
|
+
import { Environment } from "../environment";
|
|
4
|
+
import * as web3 from "@solana/web3.js";
|
|
5
|
+
import { AccountMeta, Connection, PublicKey, TransactionInstruction } from "@solana/web3.js";
|
|
6
|
+
import BN from "bn.js";
|
|
7
|
+
type KaminoReserves = typeof KAMINO_RESERVES;
|
|
8
|
+
/** Actions that can be performed through the vault instruction builder. */
|
|
9
|
+
export declare enum VaultAction {
|
|
10
|
+
INIT_USER_METADATA = "INIT_USER_METADATA",
|
|
11
|
+
INIT_OBLIGATION = "INIT_OBLIGATION",
|
|
12
|
+
DEPOSIT = "DEPOSIT",
|
|
13
|
+
WITHDRAW = "WITHDRAW",
|
|
14
|
+
BORROW = "BORROW",
|
|
15
|
+
REPAY = "REPAY"
|
|
16
|
+
}
|
|
17
|
+
/** A market-level instruction (no specific reserve needed). */
|
|
18
|
+
export type MarketInstruction = {
|
|
19
|
+
action: VaultAction.INIT_USER_METADATA | VaultAction.INIT_OBLIGATION;
|
|
20
|
+
market: KaminoMarket;
|
|
21
|
+
};
|
|
22
|
+
/** A reserve-level instruction with an amount. */
|
|
23
|
+
export type ReserveInstruction = {
|
|
24
|
+
action: VaultAction.DEPOSIT | VaultAction.WITHDRAW | VaultAction.BORROW | VaultAction.REPAY;
|
|
25
|
+
market: KaminoMarket;
|
|
26
|
+
asset: string;
|
|
27
|
+
amount: BN;
|
|
28
|
+
};
|
|
29
|
+
/** Orderbook trade direction */
|
|
30
|
+
export declare enum OrderbookTradeDirection {
|
|
31
|
+
BUY_PT = "BUY_PT",
|
|
32
|
+
SELL_PT = "SELL_PT",
|
|
33
|
+
BUY_YT = "BUY_YT",
|
|
34
|
+
SELL_YT = "SELL_YT"
|
|
35
|
+
}
|
|
36
|
+
/** Offer options for limit orders (currently only FillOrKill supported) */
|
|
37
|
+
export type OrderbookOfferOption = "FillOrKill";
|
|
38
|
+
/** Actions that can be performed on the Exponent Orderbook */
|
|
39
|
+
export declare enum OrderbookAction {
|
|
40
|
+
POST_OFFER = "POST_OFFER",
|
|
41
|
+
MARKET_OFFER = "MARKET_OFFER",
|
|
42
|
+
REMOVE_OFFER = "REMOVE_OFFER",
|
|
43
|
+
WITHDRAW_FUNDS = "WITHDRAW_FUNDS"
|
|
44
|
+
}
|
|
45
|
+
export type OrderbookInstructionMode = "wrapper" | "raw";
|
|
46
|
+
/** Base instruction type for all orderbook operations */
|
|
47
|
+
interface OrderbookInstructionBase {
|
|
48
|
+
action: OrderbookAction;
|
|
49
|
+
orderbook: PublicKey;
|
|
50
|
+
mode?: OrderbookInstructionMode;
|
|
51
|
+
}
|
|
52
|
+
/** Post a limit order on the orderbook */
|
|
53
|
+
export interface OrderbookPostOfferInstruction extends OrderbookInstructionBase {
|
|
54
|
+
action: OrderbookAction.POST_OFFER;
|
|
55
|
+
direction: OrderbookTradeDirection;
|
|
56
|
+
priceApy: number;
|
|
57
|
+
amount: bigint;
|
|
58
|
+
offerIdx: number;
|
|
59
|
+
offerOption?: OrderbookOfferOption;
|
|
60
|
+
virtualOffer?: boolean;
|
|
61
|
+
expirySeconds?: number;
|
|
62
|
+
}
|
|
63
|
+
/** Execute a market order on the orderbook */
|
|
64
|
+
export interface OrderbookMarketOfferInstruction extends OrderbookInstructionBase {
|
|
65
|
+
action: OrderbookAction.MARKET_OFFER;
|
|
66
|
+
direction: OrderbookTradeDirection;
|
|
67
|
+
maxPriceApy: number;
|
|
68
|
+
amount: bigint;
|
|
69
|
+
minAmountOut: bigint;
|
|
70
|
+
virtualOffer?: boolean;
|
|
71
|
+
}
|
|
72
|
+
/** Cancel an existing limit order */
|
|
73
|
+
export interface OrderbookRemoveOfferInstruction extends OrderbookInstructionBase {
|
|
74
|
+
action: OrderbookAction.REMOVE_OFFER;
|
|
75
|
+
offerIdx: number;
|
|
76
|
+
}
|
|
77
|
+
/** Withdraw funds from user escrow */
|
|
78
|
+
export interface OrderbookWithdrawFundsInstruction extends OrderbookInstructionBase {
|
|
79
|
+
action: OrderbookAction.WITHDRAW_FUNDS;
|
|
80
|
+
ptAmount?: bigint | null;
|
|
81
|
+
ytAmount?: bigint | null;
|
|
82
|
+
syAmount?: bigint | null;
|
|
83
|
+
}
|
|
84
|
+
/** A single orderbook instruction */
|
|
85
|
+
export type OrderbookInstruction = OrderbookPostOfferInstruction | OrderbookMarketOfferInstruction | OrderbookRemoveOfferInstruction | OrderbookWithdrawFundsInstruction;
|
|
86
|
+
/** Actions that can be performed on Exponent Core */
|
|
87
|
+
export declare enum CoreAction {
|
|
88
|
+
STRIP = "STRIP",
|
|
89
|
+
MERGE = "MERGE",
|
|
90
|
+
WITHDRAW_YT = "WITHDRAW_YT",
|
|
91
|
+
DEPOSIT_YT = "DEPOSIT_YT",
|
|
92
|
+
INITIALIZE_YIELD_POSITION = "INITIALIZE_YIELD_POSITION"
|
|
93
|
+
}
|
|
94
|
+
/** Base instruction type for all core operations */
|
|
95
|
+
interface CoreInstructionBase {
|
|
96
|
+
action: CoreAction;
|
|
97
|
+
vault: PublicKey;
|
|
98
|
+
}
|
|
99
|
+
/** Strip LST into PT + YT */
|
|
100
|
+
export interface CoreStripInstruction extends CoreInstructionBase {
|
|
101
|
+
action: CoreAction.STRIP;
|
|
102
|
+
/** Amount of base token (LST) to strip */
|
|
103
|
+
amountBase: bigint;
|
|
104
|
+
}
|
|
105
|
+
/** Merge PT + YT into LST */
|
|
106
|
+
export interface CoreMergeInstruction extends CoreInstructionBase {
|
|
107
|
+
action: CoreAction.MERGE;
|
|
108
|
+
/** Amount of PT/YT to merge (must have equal amounts of both) */
|
|
109
|
+
amountPy: bigint;
|
|
110
|
+
}
|
|
111
|
+
/** Withdraw YT from the tracked yield position back into the YT token account */
|
|
112
|
+
export interface CoreWithdrawYtInstruction extends CoreInstructionBase {
|
|
113
|
+
action: CoreAction.WITHDRAW_YT;
|
|
114
|
+
amountYt: bigint;
|
|
115
|
+
}
|
|
116
|
+
/** Deposit YT from the YT token account back into the tracked yield position */
|
|
117
|
+
export interface CoreDepositYtInstruction extends CoreInstructionBase {
|
|
118
|
+
action: CoreAction.DEPOSIT_YT;
|
|
119
|
+
amountYt: bigint;
|
|
120
|
+
}
|
|
121
|
+
/** Initialize yield position for a vault (owner = Squads vault) */
|
|
122
|
+
export interface CoreInitializeYieldPositionInstruction extends CoreInstructionBase {
|
|
123
|
+
action: CoreAction.INITIALIZE_YIELD_POSITION;
|
|
124
|
+
}
|
|
125
|
+
/** A single core instruction */
|
|
126
|
+
export type CoreInstruction = CoreStripInstruction | CoreMergeInstruction | CoreWithdrawYtInstruction | CoreDepositYtInstruction | CoreInitializeYieldPositionInstruction;
|
|
127
|
+
export declare enum SyAction {
|
|
128
|
+
MINT = "MINT_SY",
|
|
129
|
+
REDEEM = "REDEEM_SY"
|
|
130
|
+
}
|
|
131
|
+
interface SyInstructionBase {
|
|
132
|
+
action: SyAction;
|
|
133
|
+
vault: PublicKey;
|
|
134
|
+
}
|
|
135
|
+
export interface SyMintInstruction extends SyInstructionBase {
|
|
136
|
+
action: SyAction.MINT;
|
|
137
|
+
amountBase: bigint;
|
|
138
|
+
}
|
|
139
|
+
export interface SyRedeemInstruction extends SyInstructionBase {
|
|
140
|
+
action: SyAction.REDEEM;
|
|
141
|
+
amountSy: bigint;
|
|
142
|
+
}
|
|
143
|
+
export type SyInstruction = SyMintInstruction | SyRedeemInstruction;
|
|
144
|
+
export declare enum TitanAction {
|
|
145
|
+
SWAP = "SWAP"
|
|
146
|
+
}
|
|
147
|
+
/** A pre-built Titan swap instruction to wrap in a sync transaction. */
|
|
148
|
+
export interface TitanSwapInstruction {
|
|
149
|
+
action: TitanAction.SWAP;
|
|
150
|
+
/** The raw Titan SwapRouteV2 TransactionInstruction (from Titan's router API) */
|
|
151
|
+
instruction: TransactionInstruction;
|
|
152
|
+
}
|
|
153
|
+
/** Actions for Loopscale interactions (loans = borrower side, strategies = lender side). */
|
|
154
|
+
export declare enum LoopscaleAction {
|
|
155
|
+
CREATE_LOAN = "LOOPSCALE_CREATE_LOAN",
|
|
156
|
+
DEPOSIT_COLLATERAL = "LOOPSCALE_DEPOSIT_COLLATERAL",
|
|
157
|
+
BORROW_PRINCIPAL = "LOOPSCALE_BORROW_PRINCIPAL",
|
|
158
|
+
REPAY_PRINCIPAL = "LOOPSCALE_REPAY_PRINCIPAL",
|
|
159
|
+
WITHDRAW_COLLATERAL = "LOOPSCALE_WITHDRAW_COLLATERAL",
|
|
160
|
+
CLOSE_LOAN = "LOOPSCALE_CLOSE_LOAN",
|
|
161
|
+
UPDATE_WEIGHT_MATRIX = "LOOPSCALE_UPDATE_WEIGHT_MATRIX",
|
|
162
|
+
CREATE_STRATEGY = "LOOPSCALE_CREATE_STRATEGY",
|
|
163
|
+
DEPOSIT_STRATEGY = "LOOPSCALE_DEPOSIT_STRATEGY",
|
|
164
|
+
WITHDRAW_STRATEGY = "LOOPSCALE_WITHDRAW_STRATEGY",
|
|
165
|
+
CLOSE_STRATEGY = "LOOPSCALE_CLOSE_STRATEGY",
|
|
166
|
+
UPDATE_STRATEGY = "LOOPSCALE_UPDATE_STRATEGY",
|
|
167
|
+
LOCK_LOAN = "LOOPSCALE_LOCK_LOAN",
|
|
168
|
+
UNLOCK_LOAN = "LOOPSCALE_UNLOCK_LOAN",
|
|
169
|
+
REFINANCE_LEDGER = "LOOPSCALE_REFINANCE_LEDGER"
|
|
170
|
+
}
|
|
171
|
+
/** A pre-built Loopscale instruction (loan or strategy) to wrap in a sync transaction. */
|
|
172
|
+
export interface LoopscaleInstruction {
|
|
173
|
+
action: LoopscaleAction;
|
|
174
|
+
/** The raw Loopscale TransactionInstruction (from Loopscale API or local builder) */
|
|
175
|
+
instruction: TransactionInstruction;
|
|
176
|
+
}
|
|
177
|
+
/** Actions that can be performed on the Exponent CLMM (Concentrated Liquidity Market Maker). */
|
|
178
|
+
export declare enum ClmmAction {
|
|
179
|
+
/** Create a new LP position with a specified tick range. Generates keypair internally. */
|
|
180
|
+
DEPOSIT_LIQUIDITY = "CLMM_DEPOSIT_LIQUIDITY",
|
|
181
|
+
/** Add more liquidity to an existing LP position. */
|
|
182
|
+
ADD_LIQUIDITY = "CLMM_ADD_LIQUIDITY",
|
|
183
|
+
/** Remove liquidity from an LP position and receive PT + SY. */
|
|
184
|
+
WITHDRAW_LIQUIDITY = "CLMM_WITHDRAW_LIQUIDITY",
|
|
185
|
+
/** Low-level PT/SY swap. Prefer buyPt/sellPt for directional trades. */
|
|
186
|
+
TRADE_PT = "CLMM_TRADE_PT",
|
|
187
|
+
/** Buy PT with SY on the CLMM. */
|
|
188
|
+
BUY_PT = "CLMM_BUY_PT",
|
|
189
|
+
/** Sell PT for SY on the CLMM. */
|
|
190
|
+
SELL_PT = "CLMM_SELL_PT",
|
|
191
|
+
/** Buy YT with SY on the CLMM. */
|
|
192
|
+
BUY_YT = "CLMM_BUY_YT",
|
|
193
|
+
/** Sell YT for SY on the CLMM. */
|
|
194
|
+
SELL_YT = "CLMM_SELL_YT",
|
|
195
|
+
/** Claim farm emissions from an LP position. */
|
|
196
|
+
CLAIM_FARM_EMISSION = "CLMM_CLAIM_FARM_EMISSION"
|
|
197
|
+
}
|
|
198
|
+
/** Base type for all CLMM instructions. */
|
|
199
|
+
interface ClmmInstructionBase {
|
|
200
|
+
action: ClmmAction;
|
|
201
|
+
/** The CLMM MarketThree account address. */
|
|
202
|
+
market: PublicKey;
|
|
203
|
+
}
|
|
204
|
+
/** Create a new LP position on the CLMM. The lpPosition keypair is generated internally for good UX. */
|
|
205
|
+
export interface ClmmDepositLiquidityInstruction extends ClmmInstructionBase {
|
|
206
|
+
action: ClmmAction.DEPOSIT_LIQUIDITY;
|
|
207
|
+
/** Maximum amount of PT to deposit. */
|
|
208
|
+
ptInIntent: bigint;
|
|
209
|
+
/** Maximum amount of SY to deposit. */
|
|
210
|
+
syInIntent: bigint;
|
|
211
|
+
/** Lower tick boundary (APY value). */
|
|
212
|
+
lowerTickKey: number;
|
|
213
|
+
/** Upper tick boundary (APY value). */
|
|
214
|
+
upperTickKey: number;
|
|
215
|
+
}
|
|
216
|
+
/** Add liquidity to an existing LP position. */
|
|
217
|
+
export interface ClmmAddLiquidityInstruction extends ClmmInstructionBase {
|
|
218
|
+
action: ClmmAction.ADD_LIQUIDITY;
|
|
219
|
+
/** The existing LpPosition account public key. */
|
|
220
|
+
lpPosition: PublicKey;
|
|
221
|
+
/** Maximum amount of PT to add. */
|
|
222
|
+
ptInIntent: bigint;
|
|
223
|
+
/** Maximum amount of SY to add. */
|
|
224
|
+
syInIntent: bigint;
|
|
225
|
+
}
|
|
226
|
+
/** Withdraw liquidity from an LP position. */
|
|
227
|
+
export interface ClmmWithdrawLiquidityInstruction extends ClmmInstructionBase {
|
|
228
|
+
action: ClmmAction.WITHDRAW_LIQUIDITY;
|
|
229
|
+
/** The LpPosition account to withdraw from. */
|
|
230
|
+
lpPosition: PublicKey;
|
|
231
|
+
/** Amount of liquidity (LP units) to remove. */
|
|
232
|
+
lpIn: bigint;
|
|
233
|
+
/** Minimum PT to receive (slippage protection). */
|
|
234
|
+
minPtOut: bigint;
|
|
235
|
+
/** Minimum SY to receive (slippage protection). */
|
|
236
|
+
minSyOut: bigint;
|
|
237
|
+
}
|
|
238
|
+
/** Low-level PT/SY swap on the CLMM. Prefer buyPt/sellPt for directional trades. */
|
|
239
|
+
export interface ClmmTradePtInstruction extends ClmmInstructionBase {
|
|
240
|
+
action: ClmmAction.TRADE_PT;
|
|
241
|
+
/** Amount of the input token. */
|
|
242
|
+
traderAmount: bigint;
|
|
243
|
+
/** Minimum output amount (slippage protection). */
|
|
244
|
+
outConstraint: bigint;
|
|
245
|
+
/** Swap direction: SyToPt or PtToSy. */
|
|
246
|
+
swapDirection: SwapDirection;
|
|
247
|
+
/** Optional price limit (ln implied APY). */
|
|
248
|
+
lnImpliedApyLimit?: number;
|
|
249
|
+
}
|
|
250
|
+
/** Buy PT with SY on the CLMM. */
|
|
251
|
+
export interface ClmmBuyPtInstruction extends ClmmInstructionBase {
|
|
252
|
+
action: ClmmAction.BUY_PT;
|
|
253
|
+
/** Amount of SY to spend. */
|
|
254
|
+
amountSy: bigint;
|
|
255
|
+
/** Minimum PT to receive (slippage protection). */
|
|
256
|
+
outConstraint: bigint;
|
|
257
|
+
/** Optional price limit (ln implied APY). */
|
|
258
|
+
lnImpliedApyLimit?: number;
|
|
259
|
+
}
|
|
260
|
+
/** Sell PT for SY on the CLMM. */
|
|
261
|
+
export interface ClmmSellPtInstruction extends ClmmInstructionBase {
|
|
262
|
+
action: ClmmAction.SELL_PT;
|
|
263
|
+
/** Amount of PT to sell. */
|
|
264
|
+
amountPt: bigint;
|
|
265
|
+
/** Minimum SY to receive (slippage protection). */
|
|
266
|
+
outConstraint: bigint;
|
|
267
|
+
/** Optional price limit (ln implied APY). */
|
|
268
|
+
lnImpliedApyLimit?: number;
|
|
269
|
+
}
|
|
270
|
+
/** Buy YT with SY on the CLMM. */
|
|
271
|
+
export interface ClmmBuyYtInstruction extends ClmmInstructionBase {
|
|
272
|
+
action: ClmmAction.BUY_YT;
|
|
273
|
+
/** Minimum amount of YT to receive. */
|
|
274
|
+
ytOut: bigint;
|
|
275
|
+
/** Maximum amount of SY to spend. */
|
|
276
|
+
maxSyIn: bigint;
|
|
277
|
+
/** Optional price limit (ln implied APY). */
|
|
278
|
+
lnImpliedApyLimit?: number;
|
|
279
|
+
}
|
|
280
|
+
/** Sell YT for SY on the CLMM. */
|
|
281
|
+
export interface ClmmSellYtInstruction extends ClmmInstructionBase {
|
|
282
|
+
action: ClmmAction.SELL_YT;
|
|
283
|
+
/** Amount of YT to sell. */
|
|
284
|
+
ytIn: bigint;
|
|
285
|
+
/** Minimum SY to receive (slippage protection). */
|
|
286
|
+
minSyOut: bigint;
|
|
287
|
+
/** Optional price limit (ln implied APY). */
|
|
288
|
+
lnImpliedApyLimit?: number;
|
|
289
|
+
}
|
|
290
|
+
/** Claim farm emissions from an LP position. */
|
|
291
|
+
export interface ClmmClaimFarmEmissionInstruction extends ClmmInstructionBase {
|
|
292
|
+
action: ClmmAction.CLAIM_FARM_EMISSION;
|
|
293
|
+
/** The LpPosition account to claim from. */
|
|
294
|
+
lpPosition: PublicKey;
|
|
295
|
+
/** Index of the farm to claim from. */
|
|
296
|
+
farmIndex: number;
|
|
297
|
+
}
|
|
298
|
+
/** A single CLMM instruction. */
|
|
299
|
+
export type ClmmInstruction = ClmmDepositLiquidityInstruction | ClmmAddLiquidityInstruction | ClmmWithdrawLiquidityInstruction | ClmmTradePtInstruction | ClmmBuyPtInstruction | ClmmSellPtInstruction | ClmmBuyYtInstruction | ClmmSellYtInstruction | ClmmClaimFarmEmissionInstruction;
|
|
300
|
+
/** A single vault instruction — pass an array of these to `createVaultSyncTransaction`. */
|
|
301
|
+
export type VaultInstruction = MarketInstruction | ReserveInstruction | OrderbookInstruction | CoreInstruction | SyInstruction | TitanSwapInstruction | ClmmInstruction | LoopscaleInstruction;
|
|
302
|
+
/**
|
|
303
|
+
* Builder for Kamino Lending (KLend) vault action descriptors.
|
|
304
|
+
*
|
|
305
|
+
* Each method returns a `VaultInstruction` that describes what to do.
|
|
306
|
+
* Pass these to `createVaultSyncTransaction` which resolves them into
|
|
307
|
+
* raw Solana instructions, handles refresh ordering, and wraps them
|
|
308
|
+
* in a Squads sync transaction.
|
|
309
|
+
*
|
|
310
|
+
* @example
|
|
311
|
+
* ```ts
|
|
312
|
+
* import { kaminoAction, KaminoMarket, createVaultSyncTransaction } from "@exponent-labs/exponent-sdk"
|
|
313
|
+
*
|
|
314
|
+
* const syncTx = await createVaultSyncTransaction({
|
|
315
|
+
* instructions: [
|
|
316
|
+
* kaminoAction.initUserMetadata(KaminoMarket.MAIN),
|
|
317
|
+
* kaminoAction.initObligation(KaminoMarket.MAIN),
|
|
318
|
+
* kaminoAction.deposit(KaminoMarket.MAIN, "USDC", new BN(1_000_000)),
|
|
319
|
+
* ],
|
|
320
|
+
* owner: vaultPda,
|
|
321
|
+
* connection,
|
|
322
|
+
* policyPda,
|
|
323
|
+
* vaultPda,
|
|
324
|
+
* signer: walletPublicKey,
|
|
325
|
+
* })
|
|
326
|
+
* ```
|
|
327
|
+
*/
|
|
328
|
+
export declare const kaminoAction: {
|
|
329
|
+
/**
|
|
330
|
+
* Initialize Kamino user metadata for a market.
|
|
331
|
+
* No-ops if the account already exists on-chain.
|
|
332
|
+
* @param market - The Kamino lending market
|
|
333
|
+
*/
|
|
334
|
+
initUserMetadata(market: KaminoMarket): MarketInstruction;
|
|
335
|
+
/**
|
|
336
|
+
* Initialize a Kamino obligation for a market.
|
|
337
|
+
* No-ops if the account already exists on-chain.
|
|
338
|
+
* @param market - The Kamino lending market
|
|
339
|
+
*/
|
|
340
|
+
initObligation(market: KaminoMarket): MarketInstruction;
|
|
341
|
+
/**
|
|
342
|
+
* Deposit collateral into a Kamino reserve.
|
|
343
|
+
* Automatically prepends refreshReserve + refreshObligation instructions.
|
|
344
|
+
* @param market - The Kamino lending market
|
|
345
|
+
* @param asset - The reserve asset (e.g. "USDC", "SOL")
|
|
346
|
+
* @param amount - Amount in the asset's native units
|
|
347
|
+
*/
|
|
348
|
+
deposit<M extends KaminoMarket>(market: M, asset: keyof KaminoReserves[M], amount: BN): ReserveInstruction;
|
|
349
|
+
/**
|
|
350
|
+
* Withdraw collateral from a Kamino reserve.
|
|
351
|
+
* @param market - The Kamino lending market
|
|
352
|
+
* @param asset - The reserve asset (e.g. "USDC", "SOL")
|
|
353
|
+
* @param amount - Amount in the asset's native units
|
|
354
|
+
*/
|
|
355
|
+
withdraw<M_1 extends KaminoMarket>(market: M_1, asset: keyof {
|
|
356
|
+
readonly MAIN: {
|
|
357
|
+
readonly adraSOL: {
|
|
358
|
+
pubkey: web3.PublicKey;
|
|
359
|
+
mint: web3.PublicKey;
|
|
360
|
+
};
|
|
361
|
+
readonly dSOL: {
|
|
362
|
+
pubkey: web3.PublicKey;
|
|
363
|
+
mint: web3.PublicKey;
|
|
364
|
+
};
|
|
365
|
+
readonly SOL: {
|
|
366
|
+
pubkey: web3.PublicKey;
|
|
367
|
+
mint: web3.PublicKey;
|
|
368
|
+
};
|
|
369
|
+
readonly ETH: {
|
|
370
|
+
pubkey: web3.PublicKey;
|
|
371
|
+
mint: web3.PublicKey;
|
|
372
|
+
};
|
|
373
|
+
readonly fBTC: {
|
|
374
|
+
pubkey: web3.PublicKey;
|
|
375
|
+
mint: web3.PublicKey;
|
|
376
|
+
};
|
|
377
|
+
readonly picoSOL: {
|
|
378
|
+
pubkey: web3.PublicKey;
|
|
379
|
+
mint: web3.PublicKey;
|
|
380
|
+
};
|
|
381
|
+
readonly stkeSOL: {
|
|
382
|
+
pubkey: web3.PublicKey;
|
|
383
|
+
mint: web3.PublicKey;
|
|
384
|
+
};
|
|
385
|
+
readonly PYUSD: {
|
|
386
|
+
pubkey: web3.PublicKey;
|
|
387
|
+
mint: web3.PublicKey;
|
|
388
|
+
};
|
|
389
|
+
readonly cbBTC: {
|
|
390
|
+
pubkey: web3.PublicKey;
|
|
391
|
+
mint: web3.PublicKey;
|
|
392
|
+
};
|
|
393
|
+
readonly JUP: {
|
|
394
|
+
pubkey: web3.PublicKey;
|
|
395
|
+
mint: web3.PublicKey;
|
|
396
|
+
};
|
|
397
|
+
readonly xBTC: {
|
|
398
|
+
pubkey: web3.PublicKey;
|
|
399
|
+
mint: web3.PublicKey;
|
|
400
|
+
};
|
|
401
|
+
readonly wstETH: {
|
|
402
|
+
pubkey: web3.PublicKey;
|
|
403
|
+
mint: web3.PublicKey;
|
|
404
|
+
};
|
|
405
|
+
readonly kSOLBSOLOrca: {
|
|
406
|
+
pubkey: web3.PublicKey;
|
|
407
|
+
mint: web3.PublicKey;
|
|
408
|
+
};
|
|
409
|
+
readonly CHAI: {
|
|
410
|
+
pubkey: web3.PublicKey;
|
|
411
|
+
mint: web3.PublicKey;
|
|
412
|
+
};
|
|
413
|
+
readonly bbSOL: {
|
|
414
|
+
pubkey: web3.PublicKey;
|
|
415
|
+
mint: web3.PublicKey;
|
|
416
|
+
};
|
|
417
|
+
readonly USD1: {
|
|
418
|
+
pubkey: web3.PublicKey;
|
|
419
|
+
mint: web3.PublicKey;
|
|
420
|
+
};
|
|
421
|
+
readonly kSOLJITOSOLRaydium: {
|
|
422
|
+
pubkey: web3.PublicKey;
|
|
423
|
+
mint: web3.PublicKey;
|
|
424
|
+
};
|
|
425
|
+
readonly nxSOL: {
|
|
426
|
+
pubkey: web3.PublicKey;
|
|
427
|
+
mint: web3.PublicKey;
|
|
428
|
+
};
|
|
429
|
+
readonly fwdSOL: {
|
|
430
|
+
pubkey: web3.PublicKey;
|
|
431
|
+
mint: web3.PublicKey;
|
|
432
|
+
};
|
|
433
|
+
readonly STSOL: {
|
|
434
|
+
pubkey: web3.PublicKey;
|
|
435
|
+
mint: web3.PublicKey;
|
|
436
|
+
};
|
|
437
|
+
readonly JTO: {
|
|
438
|
+
pubkey: web3.PublicKey;
|
|
439
|
+
mint: web3.PublicKey;
|
|
440
|
+
};
|
|
441
|
+
readonly strongSOL: {
|
|
442
|
+
pubkey: web3.PublicKey;
|
|
443
|
+
mint: web3.PublicKey;
|
|
444
|
+
};
|
|
445
|
+
readonly CASH: {
|
|
446
|
+
pubkey: web3.PublicKey;
|
|
447
|
+
mint: web3.PublicKey;
|
|
448
|
+
};
|
|
449
|
+
readonly kUXDUSDCOrca: {
|
|
450
|
+
pubkey: web3.PublicKey;
|
|
451
|
+
mint: web3.PublicKey;
|
|
452
|
+
};
|
|
453
|
+
readonly hubSOL: {
|
|
454
|
+
pubkey: web3.PublicKey;
|
|
455
|
+
mint: web3.PublicKey;
|
|
456
|
+
};
|
|
457
|
+
readonly USDS: {
|
|
458
|
+
pubkey: web3.PublicKey;
|
|
459
|
+
mint: web3.PublicKey;
|
|
460
|
+
};
|
|
461
|
+
readonly FDUSD: {
|
|
462
|
+
pubkey: web3.PublicKey;
|
|
463
|
+
mint: web3.PublicKey;
|
|
464
|
+
};
|
|
465
|
+
readonly cgntSOL: {
|
|
466
|
+
pubkey: web3.PublicKey;
|
|
467
|
+
mint: web3.PublicKey;
|
|
468
|
+
};
|
|
469
|
+
readonly hSOL: {
|
|
470
|
+
pubkey: web3.PublicKey;
|
|
471
|
+
mint: web3.PublicKey;
|
|
472
|
+
};
|
|
473
|
+
readonly vSOL: {
|
|
474
|
+
pubkey: web3.PublicKey;
|
|
475
|
+
mint: web3.PublicKey;
|
|
476
|
+
};
|
|
477
|
+
readonly dfdvSOL: {
|
|
478
|
+
pubkey: web3.PublicKey;
|
|
479
|
+
mint: web3.PublicKey;
|
|
480
|
+
};
|
|
481
|
+
readonly USDC: {
|
|
482
|
+
pubkey: web3.PublicKey;
|
|
483
|
+
mint: web3.PublicKey;
|
|
484
|
+
};
|
|
485
|
+
readonly JupSOL: {
|
|
486
|
+
pubkey: web3.PublicKey;
|
|
487
|
+
mint: web3.PublicKey;
|
|
488
|
+
};
|
|
489
|
+
readonly USDH: {
|
|
490
|
+
pubkey: web3.PublicKey;
|
|
491
|
+
mint: web3.PublicKey;
|
|
492
|
+
};
|
|
493
|
+
readonly JLP: {
|
|
494
|
+
pubkey: web3.PublicKey;
|
|
495
|
+
mint: web3.PublicKey;
|
|
496
|
+
};
|
|
497
|
+
readonly EURC: {
|
|
498
|
+
pubkey: web3.PublicKey;
|
|
499
|
+
mint: web3.PublicKey;
|
|
500
|
+
};
|
|
501
|
+
readonly USDG: {
|
|
502
|
+
pubkey: web3.PublicKey;
|
|
503
|
+
mint: web3.PublicKey;
|
|
504
|
+
};
|
|
505
|
+
readonly JITOSOL: {
|
|
506
|
+
pubkey: web3.PublicKey;
|
|
507
|
+
mint: web3.PublicKey;
|
|
508
|
+
};
|
|
509
|
+
readonly MSOL: {
|
|
510
|
+
pubkey: web3.PublicKey;
|
|
511
|
+
mint: web3.PublicKey;
|
|
512
|
+
};
|
|
513
|
+
readonly cdcSOL: {
|
|
514
|
+
pubkey: web3.PublicKey;
|
|
515
|
+
mint: web3.PublicKey;
|
|
516
|
+
};
|
|
517
|
+
readonly kSOLMSOLRaydium: {
|
|
518
|
+
pubkey: web3.PublicKey;
|
|
519
|
+
mint: web3.PublicKey;
|
|
520
|
+
};
|
|
521
|
+
readonly bnSOL: {
|
|
522
|
+
pubkey: web3.PublicKey;
|
|
523
|
+
mint: web3.PublicKey;
|
|
524
|
+
};
|
|
525
|
+
readonly STEP: {
|
|
526
|
+
pubkey: web3.PublicKey;
|
|
527
|
+
mint: web3.PublicKey;
|
|
528
|
+
};
|
|
529
|
+
readonly kSOLJITOSOLOrca: {
|
|
530
|
+
pubkey: web3.PublicKey;
|
|
531
|
+
mint: web3.PublicKey;
|
|
532
|
+
};
|
|
533
|
+
readonly xSTEP: {
|
|
534
|
+
pubkey: web3.PublicKey;
|
|
535
|
+
mint: web3.PublicKey;
|
|
536
|
+
};
|
|
537
|
+
readonly UXD: {
|
|
538
|
+
pubkey: web3.PublicKey;
|
|
539
|
+
mint: web3.PublicKey;
|
|
540
|
+
};
|
|
541
|
+
readonly USDT: {
|
|
542
|
+
pubkey: web3.PublicKey;
|
|
543
|
+
mint: web3.PublicKey;
|
|
544
|
+
};
|
|
545
|
+
readonly bSOL: {
|
|
546
|
+
pubkey: web3.PublicKey;
|
|
547
|
+
mint: web3.PublicKey;
|
|
548
|
+
};
|
|
549
|
+
readonly jSOL: {
|
|
550
|
+
pubkey: web3.PublicKey;
|
|
551
|
+
mint: web3.PublicKey;
|
|
552
|
+
};
|
|
553
|
+
readonly laineSOL: {
|
|
554
|
+
pubkey: web3.PublicKey;
|
|
555
|
+
mint: web3.PublicKey;
|
|
556
|
+
};
|
|
557
|
+
readonly pSOL: {
|
|
558
|
+
pubkey: web3.PublicKey;
|
|
559
|
+
mint: web3.PublicKey;
|
|
560
|
+
};
|
|
561
|
+
readonly WBTC: {
|
|
562
|
+
pubkey: web3.PublicKey;
|
|
563
|
+
mint: web3.PublicKey;
|
|
564
|
+
};
|
|
565
|
+
readonly tBTC: {
|
|
566
|
+
pubkey: web3.PublicKey;
|
|
567
|
+
mint: web3.PublicKey;
|
|
568
|
+
};
|
|
569
|
+
readonly bonkSOL: {
|
|
570
|
+
pubkey: web3.PublicKey;
|
|
571
|
+
mint: web3.PublicKey;
|
|
572
|
+
};
|
|
573
|
+
readonly lanternSOL: {
|
|
574
|
+
pubkey: web3.PublicKey;
|
|
575
|
+
mint: web3.PublicKey;
|
|
576
|
+
};
|
|
577
|
+
};
|
|
578
|
+
readonly JLP: {
|
|
579
|
+
readonly USDT: {
|
|
580
|
+
pubkey: web3.PublicKey;
|
|
581
|
+
mint: web3.PublicKey;
|
|
582
|
+
};
|
|
583
|
+
readonly USD1: {
|
|
584
|
+
pubkey: web3.PublicKey;
|
|
585
|
+
mint: web3.PublicKey;
|
|
586
|
+
};
|
|
587
|
+
readonly USDG: {
|
|
588
|
+
pubkey: web3.PublicKey;
|
|
589
|
+
mint: web3.PublicKey;
|
|
590
|
+
};
|
|
591
|
+
readonly JLP: {
|
|
592
|
+
pubkey: web3.PublicKey;
|
|
593
|
+
mint: web3.PublicKey;
|
|
594
|
+
};
|
|
595
|
+
readonly SOL: {
|
|
596
|
+
pubkey: web3.PublicKey;
|
|
597
|
+
mint: web3.PublicKey;
|
|
598
|
+
};
|
|
599
|
+
readonly PYUSD: {
|
|
600
|
+
pubkey: web3.PublicKey;
|
|
601
|
+
mint: web3.PublicKey;
|
|
602
|
+
};
|
|
603
|
+
readonly USDC: {
|
|
604
|
+
pubkey: web3.PublicKey;
|
|
605
|
+
mint: web3.PublicKey;
|
|
606
|
+
};
|
|
607
|
+
};
|
|
608
|
+
readonly ALTCOINS: {
|
|
609
|
+
readonly GRASS: {
|
|
610
|
+
pubkey: web3.PublicKey;
|
|
611
|
+
mint: web3.PublicKey;
|
|
612
|
+
};
|
|
613
|
+
readonly MEW: {
|
|
614
|
+
pubkey: web3.PublicKey;
|
|
615
|
+
mint: web3.PublicKey;
|
|
616
|
+
};
|
|
617
|
+
readonly JUP: {
|
|
618
|
+
pubkey: web3.PublicKey;
|
|
619
|
+
mint: web3.PublicKey;
|
|
620
|
+
};
|
|
621
|
+
readonly POPCAT: {
|
|
622
|
+
pubkey: web3.PublicKey;
|
|
623
|
+
mint: web3.PublicKey;
|
|
624
|
+
};
|
|
625
|
+
readonly JTO: {
|
|
626
|
+
pubkey: web3.PublicKey;
|
|
627
|
+
mint: web3.PublicKey;
|
|
628
|
+
};
|
|
629
|
+
readonly DRIFT: {
|
|
630
|
+
pubkey: web3.PublicKey;
|
|
631
|
+
mint: web3.PublicKey;
|
|
632
|
+
};
|
|
633
|
+
readonly USDC: {
|
|
634
|
+
pubkey: web3.PublicKey;
|
|
635
|
+
mint: web3.PublicKey;
|
|
636
|
+
};
|
|
637
|
+
/** The existing LpPosition account public key. */
|
|
638
|
+
readonly KMNO: {
|
|
639
|
+
pubkey: web3.PublicKey;
|
|
640
|
+
mint: web3.PublicKey;
|
|
641
|
+
};
|
|
642
|
+
readonly PRCL: {
|
|
643
|
+
pubkey: web3.PublicKey;
|
|
644
|
+
mint: web3.PublicKey;
|
|
645
|
+
};
|
|
646
|
+
readonly PENGU: {
|
|
647
|
+
pubkey: web3.PublicKey;
|
|
648
|
+
mint: web3.PublicKey;
|
|
649
|
+
};
|
|
650
|
+
readonly BONK: {
|
|
651
|
+
pubkey: web3.PublicKey;
|
|
652
|
+
mint: web3.PublicKey;
|
|
653
|
+
};
|
|
654
|
+
readonly PYUSD: {
|
|
655
|
+
pubkey: web3.PublicKey;
|
|
656
|
+
mint: web3.PublicKey;
|
|
657
|
+
};
|
|
658
|
+
readonly W: {
|
|
659
|
+
pubkey: web3.PublicKey;
|
|
660
|
+
mint: web3.PublicKey;
|
|
661
|
+
};
|
|
662
|
+
readonly TNSR: {
|
|
663
|
+
pubkey: web3.PublicKey;
|
|
664
|
+
mint: web3.PublicKey;
|
|
665
|
+
};
|
|
666
|
+
readonly GOAT: {
|
|
667
|
+
pubkey: web3.PublicKey;
|
|
668
|
+
mint: web3.PublicKey;
|
|
669
|
+
};
|
|
670
|
+
readonly WEN: {
|
|
671
|
+
pubkey: web3.PublicKey;
|
|
672
|
+
mint: web3.PublicKey;
|
|
673
|
+
};
|
|
674
|
+
/** Swap direction: SyToPt or PtToSy. */
|
|
675
|
+
readonly USDH: {
|
|
676
|
+
pubkey: web3.PublicKey;
|
|
677
|
+
mint: web3.PublicKey;
|
|
678
|
+
};
|
|
679
|
+
readonly TRUMP: {
|
|
680
|
+
pubkey: web3.PublicKey;
|
|
681
|
+
mint: web3.PublicKey;
|
|
682
|
+
};
|
|
683
|
+
readonly WIF: {
|
|
684
|
+
pubkey: web3.PublicKey;
|
|
685
|
+
mint: web3.PublicKey;
|
|
686
|
+
};
|
|
687
|
+
readonly FWOG: {
|
|
688
|
+
pubkey: web3.PublicKey;
|
|
689
|
+
mint: web3.PublicKey;
|
|
690
|
+
};
|
|
691
|
+
readonly PYTH: {
|
|
692
|
+
pubkey: web3.PublicKey;
|
|
693
|
+
mint: web3.PublicKey;
|
|
694
|
+
};
|
|
695
|
+
readonly INF: {
|
|
696
|
+
pubkey: web3.PublicKey;
|
|
697
|
+
mint: web3.PublicKey;
|
|
698
|
+
};
|
|
699
|
+
};
|
|
700
|
+
readonly ETHENA: {
|
|
701
|
+
readonly USDe: {
|
|
702
|
+
pubkey: web3.PublicKey;
|
|
703
|
+
mint: web3.PublicKey;
|
|
704
|
+
};
|
|
705
|
+
readonly USDT: {
|
|
706
|
+
pubkey: web3.PublicKey;
|
|
707
|
+
mint: web3.PublicKey;
|
|
708
|
+
};
|
|
709
|
+
readonly USDC: {
|
|
710
|
+
pubkey: web3.PublicKey;
|
|
711
|
+
mint: web3.PublicKey;
|
|
712
|
+
};
|
|
713
|
+
readonly PYUSD: {
|
|
714
|
+
pubkey: web3.PublicKey;
|
|
715
|
+
mint: web3.PublicKey;
|
|
716
|
+
};
|
|
717
|
+
readonly sUSDe: {
|
|
718
|
+
pubkey: web3.PublicKey;
|
|
719
|
+
mint: web3.PublicKey;
|
|
720
|
+
};
|
|
721
|
+
};
|
|
722
|
+
readonly JITO: {
|
|
723
|
+
readonly kySOL: {
|
|
724
|
+
pubkey: web3.PublicKey;
|
|
725
|
+
mint: web3.PublicKey;
|
|
726
|
+
};
|
|
727
|
+
readonly SOL: {
|
|
728
|
+
pubkey: web3.PublicKey;
|
|
729
|
+
mint: web3.PublicKey;
|
|
730
|
+
};
|
|
731
|
+
readonly ezSOL: {
|
|
732
|
+
pubkey: web3.PublicKey;
|
|
733
|
+
mint: web3.PublicKey;
|
|
734
|
+
};
|
|
735
|
+
readonly JITOSOL: {
|
|
736
|
+
pubkey: web3.PublicKey;
|
|
737
|
+
mint: web3.PublicKey;
|
|
738
|
+
};
|
|
739
|
+
};
|
|
740
|
+
readonly FARTCOIN: {
|
|
741
|
+
readonly FARTCOIN: {
|
|
742
|
+
pubkey: web3.PublicKey;
|
|
743
|
+
mint: web3.PublicKey;
|
|
744
|
+
};
|
|
745
|
+
readonly USDC: {
|
|
746
|
+
pubkey: web3.PublicKey;
|
|
747
|
+
mint: web3.PublicKey;
|
|
748
|
+
};
|
|
749
|
+
readonly USDT: {
|
|
750
|
+
pubkey: web3.PublicKey;
|
|
751
|
+
mint: web3.PublicKey;
|
|
752
|
+
};
|
|
753
|
+
};
|
|
754
|
+
readonly BITCOIN: {
|
|
755
|
+
readonly WBTC: {
|
|
756
|
+
pubkey: web3.PublicKey;
|
|
757
|
+
mint: web3.PublicKey;
|
|
758
|
+
};
|
|
759
|
+
readonly zBTC: {
|
|
760
|
+
pubkey: web3.PublicKey;
|
|
761
|
+
mint: web3.PublicKey;
|
|
762
|
+
};
|
|
763
|
+
readonly USDC: {
|
|
764
|
+
pubkey: web3.PublicKey;
|
|
765
|
+
mint: web3.PublicKey;
|
|
766
|
+
};
|
|
767
|
+
readonly USDG: {
|
|
768
|
+
pubkey: web3.PublicKey;
|
|
769
|
+
mint: web3.PublicKey;
|
|
770
|
+
};
|
|
771
|
+
readonly USDT: {
|
|
772
|
+
pubkey: web3.PublicKey;
|
|
773
|
+
mint: web3.PublicKey;
|
|
774
|
+
};
|
|
775
|
+
readonly LBTC: {
|
|
776
|
+
pubkey: web3.PublicKey;
|
|
777
|
+
mint: web3.PublicKey;
|
|
778
|
+
};
|
|
779
|
+
readonly FDUSD: {
|
|
780
|
+
pubkey: web3.PublicKey;
|
|
781
|
+
mint: web3.PublicKey;
|
|
782
|
+
};
|
|
783
|
+
};
|
|
784
|
+
readonly JUPITER: {
|
|
785
|
+
readonly USDC: {
|
|
786
|
+
pubkey: web3.PublicKey;
|
|
787
|
+
mint: web3.PublicKey;
|
|
788
|
+
};
|
|
789
|
+
readonly JUP: {
|
|
790
|
+
pubkey: web3.PublicKey;
|
|
791
|
+
mint: web3.PublicKey;
|
|
792
|
+
};
|
|
793
|
+
readonly USDT: {
|
|
794
|
+
pubkey: web3.PublicKey;
|
|
795
|
+
mint: web3.PublicKey;
|
|
796
|
+
};
|
|
797
|
+
readonly USDG: {
|
|
798
|
+
pubkey: web3.PublicKey;
|
|
799
|
+
mint: web3.PublicKey;
|
|
800
|
+
};
|
|
801
|
+
};
|
|
802
|
+
readonly JTO: {
|
|
803
|
+
readonly JTO: {
|
|
804
|
+
pubkey: web3.PublicKey;
|
|
805
|
+
mint: web3.PublicKey;
|
|
806
|
+
};
|
|
807
|
+
readonly USDG: {
|
|
808
|
+
pubkey: web3.PublicKey;
|
|
809
|
+
mint: web3.PublicKey;
|
|
810
|
+
};
|
|
811
|
+
readonly USDT: {
|
|
812
|
+
pubkey: web3.PublicKey;
|
|
813
|
+
mint: web3.PublicKey;
|
|
814
|
+
};
|
|
815
|
+
readonly USDC: {
|
|
816
|
+
pubkey: web3.PublicKey;
|
|
817
|
+
mint: web3.PublicKey;
|
|
818
|
+
};
|
|
819
|
+
};
|
|
820
|
+
readonly MARINADE: {
|
|
821
|
+
readonly MSOL: {
|
|
822
|
+
pubkey: web3.PublicKey;
|
|
823
|
+
mint: web3.PublicKey;
|
|
824
|
+
};
|
|
825
|
+
readonly SOL: {
|
|
826
|
+
pubkey: web3.PublicKey;
|
|
827
|
+
mint: web3.PublicKey;
|
|
828
|
+
};
|
|
829
|
+
};
|
|
830
|
+
readonly EXPONENT_PT_SOL: {
|
|
831
|
+
readonly "PT-bulkSOL-26FEB26": {
|
|
832
|
+
pubkey: web3.PublicKey;
|
|
833
|
+
mint: web3.PublicKey;
|
|
834
|
+
};
|
|
835
|
+
readonly "PT-kySOL-14JUN25": {
|
|
836
|
+
pubkey: web3.PublicKey;
|
|
837
|
+
mint: web3.PublicKey;
|
|
838
|
+
};
|
|
839
|
+
readonly SOL: {
|
|
840
|
+
pubkey: web3.PublicKey;
|
|
841
|
+
mint: web3.PublicKey;
|
|
842
|
+
};
|
|
843
|
+
readonly fragSOL: {
|
|
844
|
+
pubkey: web3.PublicKey;
|
|
845
|
+
mint: web3.PublicKey;
|
|
846
|
+
};
|
|
847
|
+
readonly "PT-fragSOL-10JUL25": {
|
|
848
|
+
pubkey: web3.PublicKey;
|
|
849
|
+
mint: web3.PublicKey;
|
|
850
|
+
};
|
|
851
|
+
readonly "PT-fragSOL-12FEB26": {
|
|
852
|
+
pubkey: web3.PublicKey;
|
|
853
|
+
mint: web3.PublicKey;
|
|
854
|
+
};
|
|
855
|
+
readonly "PT-fragSOL-31OCT25": {
|
|
856
|
+
pubkey: web3.PublicKey;
|
|
857
|
+
mint: web3.PublicKey;
|
|
858
|
+
};
|
|
859
|
+
readonly "PT-kySOL-30SEP25": {
|
|
860
|
+
pubkey: web3.PublicKey;
|
|
861
|
+
mint: web3.PublicKey;
|
|
862
|
+
};
|
|
863
|
+
};
|
|
864
|
+
readonly BONK: {
|
|
865
|
+
readonly USDC: {
|
|
866
|
+
pubkey: web3.PublicKey;
|
|
867
|
+
mint: web3.PublicKey;
|
|
868
|
+
};
|
|
869
|
+
readonly USDT: {
|
|
870
|
+
pubkey: web3.PublicKey;
|
|
871
|
+
mint: web3.PublicKey;
|
|
872
|
+
};
|
|
873
|
+
readonly SOL: {
|
|
874
|
+
pubkey: web3.PublicKey;
|
|
875
|
+
mint: web3.PublicKey;
|
|
876
|
+
};
|
|
877
|
+
readonly bonkSOL: {
|
|
878
|
+
pubkey: web3.PublicKey;
|
|
879
|
+
mint: web3.PublicKey;
|
|
880
|
+
};
|
|
881
|
+
readonly USDG: {
|
|
882
|
+
pubkey: web3.PublicKey;
|
|
883
|
+
mint: web3.PublicKey;
|
|
884
|
+
};
|
|
885
|
+
readonly BONK: {
|
|
886
|
+
pubkey: web3.PublicKey;
|
|
887
|
+
mint: web3.PublicKey;
|
|
888
|
+
};
|
|
889
|
+
};
|
|
890
|
+
readonly RSTSOL_BBSOL: {
|
|
891
|
+
readonly bbSOL: {
|
|
892
|
+
pubkey: web3.PublicKey;
|
|
893
|
+
mint: web3.PublicKey;
|
|
894
|
+
};
|
|
895
|
+
readonly rstSOL: {
|
|
896
|
+
pubkey: web3.PublicKey;
|
|
897
|
+
mint: web3.PublicKey;
|
|
898
|
+
};
|
|
899
|
+
readonly SOL: {
|
|
900
|
+
pubkey: web3.PublicKey;
|
|
901
|
+
mint: web3.PublicKey;
|
|
902
|
+
};
|
|
903
|
+
};
|
|
904
|
+
readonly MAPLE: {
|
|
905
|
+
readonly PYUSD: {
|
|
906
|
+
pubkey: web3.PublicKey;
|
|
907
|
+
mint: web3.PublicKey;
|
|
908
|
+
};
|
|
909
|
+
readonly USDC: {
|
|
910
|
+
pubkey: web3.PublicKey;
|
|
911
|
+
mint: web3.PublicKey;
|
|
912
|
+
};
|
|
913
|
+
readonly syrupUSDC: {
|
|
914
|
+
pubkey: web3.PublicKey;
|
|
915
|
+
mint: web3.PublicKey;
|
|
916
|
+
};
|
|
917
|
+
readonly USDS: {
|
|
918
|
+
pubkey: web3.PublicKey;
|
|
919
|
+
mint: web3.PublicKey;
|
|
920
|
+
};
|
|
921
|
+
readonly CASH: {
|
|
922
|
+
pubkey: web3.PublicKey;
|
|
923
|
+
mint: web3.PublicKey;
|
|
924
|
+
};
|
|
925
|
+
readonly USD1: {
|
|
926
|
+
pubkey: web3.PublicKey;
|
|
927
|
+
mint: web3.PublicKey;
|
|
928
|
+
};
|
|
929
|
+
readonly USDG: {
|
|
930
|
+
pubkey: web3.PublicKey;
|
|
931
|
+
mint: web3.PublicKey;
|
|
932
|
+
};
|
|
933
|
+
};
|
|
934
|
+
readonly HUMA: {
|
|
935
|
+
readonly USDC: {
|
|
936
|
+
pubkey: web3.PublicKey;
|
|
937
|
+
mint: web3.PublicKey;
|
|
938
|
+
};
|
|
939
|
+
readonly USDS: {
|
|
940
|
+
pubkey: web3.PublicKey;
|
|
941
|
+
mint: web3.PublicKey;
|
|
942
|
+
};
|
|
943
|
+
readonly PST: {
|
|
944
|
+
pubkey: web3.PublicKey;
|
|
945
|
+
mint: web3.PublicKey;
|
|
946
|
+
};
|
|
947
|
+
readonly USDG: {
|
|
948
|
+
pubkey: web3.PublicKey;
|
|
949
|
+
mint: web3.PublicKey;
|
|
950
|
+
};
|
|
951
|
+
};
|
|
952
|
+
readonly APOLLO: {
|
|
953
|
+
readonly USDG: {
|
|
954
|
+
pubkey: web3.PublicKey;
|
|
955
|
+
mint: web3.PublicKey;
|
|
956
|
+
};
|
|
957
|
+
readonly sACRED: {
|
|
958
|
+
pubkey: web3.PublicKey;
|
|
959
|
+
mint: web3.PublicKey;
|
|
960
|
+
};
|
|
961
|
+
readonly USDC: {
|
|
962
|
+
pubkey: web3.PublicKey;
|
|
963
|
+
mint: web3.PublicKey;
|
|
964
|
+
};
|
|
965
|
+
};
|
|
966
|
+
readonly ZEUS_BITCOIN: {
|
|
967
|
+
readonly FDUSD: {
|
|
968
|
+
pubkey: web3.PublicKey;
|
|
969
|
+
mint: web3.PublicKey;
|
|
970
|
+
};
|
|
971
|
+
readonly USDC: {
|
|
972
|
+
pubkey: web3.PublicKey;
|
|
973
|
+
mint: web3.PublicKey;
|
|
974
|
+
};
|
|
975
|
+
readonly ZBTC: {
|
|
976
|
+
pubkey: web3.PublicKey;
|
|
977
|
+
mint: web3.PublicKey;
|
|
978
|
+
};
|
|
979
|
+
};
|
|
980
|
+
readonly XSTOCKS: {
|
|
981
|
+
readonly SPYx: {
|
|
982
|
+
pubkey: web3.PublicKey;
|
|
983
|
+
mint: web3.PublicKey;
|
|
984
|
+
};
|
|
985
|
+
readonly QQQx: {
|
|
986
|
+
pubkey: web3.PublicKey;
|
|
987
|
+
mint: web3.PublicKey;
|
|
988
|
+
};
|
|
989
|
+
readonly HOODx: {
|
|
990
|
+
pubkey: web3.PublicKey;
|
|
991
|
+
mint: web3.PublicKey;
|
|
992
|
+
};
|
|
993
|
+
readonly GOOGLx: {
|
|
994
|
+
pubkey: web3.PublicKey;
|
|
995
|
+
mint: web3.PublicKey;
|
|
996
|
+
};
|
|
997
|
+
readonly CRCLx: {
|
|
998
|
+
pubkey: web3.PublicKey;
|
|
999
|
+
mint: web3.PublicKey;
|
|
1000
|
+
};
|
|
1001
|
+
readonly cbBTC: {
|
|
1002
|
+
pubkey: web3.PublicKey;
|
|
1003
|
+
mint: web3.PublicKey;
|
|
1004
|
+
};
|
|
1005
|
+
readonly TSLAx: {
|
|
1006
|
+
pubkey: web3.PublicKey;
|
|
1007
|
+
mint: web3.PublicKey;
|
|
1008
|
+
};
|
|
1009
|
+
readonly NVDAx: {
|
|
1010
|
+
pubkey: web3.PublicKey;
|
|
1011
|
+
mint: web3.PublicKey;
|
|
1012
|
+
};
|
|
1013
|
+
readonly USDC: {
|
|
1014
|
+
pubkey: web3.PublicKey;
|
|
1015
|
+
mint: web3.PublicKey;
|
|
1016
|
+
};
|
|
1017
|
+
readonly METAx: {
|
|
1018
|
+
pubkey: web3.PublicKey;
|
|
1019
|
+
mint: web3.PublicKey;
|
|
1020
|
+
};
|
|
1021
|
+
readonly AAPLx: {
|
|
1022
|
+
pubkey: web3.PublicKey;
|
|
1023
|
+
mint: web3.PublicKey;
|
|
1024
|
+
};
|
|
1025
|
+
readonly MSTRx: {
|
|
1026
|
+
pubkey: web3.PublicKey;
|
|
1027
|
+
mint: web3.PublicKey;
|
|
1028
|
+
};
|
|
1029
|
+
readonly USDG: {
|
|
1030
|
+
pubkey: web3.PublicKey;
|
|
1031
|
+
mint: web3.PublicKey;
|
|
1032
|
+
};
|
|
1033
|
+
};
|
|
1034
|
+
readonly ONRE: {
|
|
1035
|
+
readonly AUSD: {
|
|
1036
|
+
pubkey: web3.PublicKey;
|
|
1037
|
+
mint: web3.PublicKey;
|
|
1038
|
+
};
|
|
1039
|
+
readonly USDS: {
|
|
1040
|
+
pubkey: web3.PublicKey;
|
|
1041
|
+
mint: web3.PublicKey;
|
|
1042
|
+
};
|
|
1043
|
+
readonly ONyc: {
|
|
1044
|
+
pubkey: web3.PublicKey;
|
|
1045
|
+
mint: web3.PublicKey;
|
|
1046
|
+
};
|
|
1047
|
+
readonly USDC: {
|
|
1048
|
+
pubkey: web3.PublicKey;
|
|
1049
|
+
mint: web3.PublicKey;
|
|
1050
|
+
};
|
|
1051
|
+
readonly USDG: {
|
|
1052
|
+
pubkey: web3.PublicKey;
|
|
1053
|
+
mint: web3.PublicKey;
|
|
1054
|
+
};
|
|
1055
|
+
};
|
|
1056
|
+
readonly PUMP: {
|
|
1057
|
+
readonly PUMP: {
|
|
1058
|
+
pubkey: web3.PublicKey;
|
|
1059
|
+
mint: web3.PublicKey;
|
|
1060
|
+
};
|
|
1061
|
+
readonly USDC: {
|
|
1062
|
+
pubkey: web3.PublicKey;
|
|
1063
|
+
mint: web3.PublicKey;
|
|
1064
|
+
};
|
|
1065
|
+
readonly USDG: {
|
|
1066
|
+
pubkey: web3.PublicKey;
|
|
1067
|
+
mint: web3.PublicKey;
|
|
1068
|
+
};
|
|
1069
|
+
};
|
|
1070
|
+
readonly SOLSTICE: {
|
|
1071
|
+
readonly "PT-eUSX-01JUN26": {
|
|
1072
|
+
pubkey: web3.PublicKey;
|
|
1073
|
+
mint: web3.PublicKey;
|
|
1074
|
+
};
|
|
1075
|
+
readonly "PT-eUSX-11MAR26": {
|
|
1076
|
+
pubkey: web3.PublicKey;
|
|
1077
|
+
mint: web3.PublicKey;
|
|
1078
|
+
};
|
|
1079
|
+
readonly USDC: {
|
|
1080
|
+
pubkey: web3.PublicKey;
|
|
1081
|
+
mint: web3.PublicKey;
|
|
1082
|
+
};
|
|
1083
|
+
readonly eUSX: {
|
|
1084
|
+
pubkey: web3.PublicKey;
|
|
1085
|
+
mint: web3.PublicKey;
|
|
1086
|
+
};
|
|
1087
|
+
readonly "PT-USX-01JUN26": {
|
|
1088
|
+
pubkey: web3.PublicKey;
|
|
1089
|
+
mint: web3.PublicKey;
|
|
1090
|
+
};
|
|
1091
|
+
readonly "PT-USX-9FEB26": {
|
|
1092
|
+
pubkey: web3.PublicKey;
|
|
1093
|
+
mint: web3.PublicKey;
|
|
1094
|
+
};
|
|
1095
|
+
readonly USX: {
|
|
1096
|
+
pubkey: web3.PublicKey;
|
|
1097
|
+
mint: web3.PublicKey;
|
|
1098
|
+
};
|
|
1099
|
+
};
|
|
1100
|
+
readonly SUPERSTATE: {
|
|
1101
|
+
readonly FWDI: {
|
|
1102
|
+
pubkey: web3.PublicKey;
|
|
1103
|
+
mint: web3.PublicKey;
|
|
1104
|
+
};
|
|
1105
|
+
readonly GLXY: {
|
|
1106
|
+
pubkey: web3.PublicKey;
|
|
1107
|
+
mint: web3.PublicKey;
|
|
1108
|
+
};
|
|
1109
|
+
readonly "USDC-Dep": {
|
|
1110
|
+
pubkey: web3.PublicKey;
|
|
1111
|
+
mint: web3.PublicKey;
|
|
1112
|
+
};
|
|
1113
|
+
readonly USDC: {
|
|
1114
|
+
pubkey: web3.PublicKey;
|
|
1115
|
+
mint: web3.PublicKey;
|
|
1116
|
+
};
|
|
1117
|
+
readonly USCC: {
|
|
1118
|
+
pubkey: web3.PublicKey;
|
|
1119
|
+
mint: web3.PublicKey;
|
|
1120
|
+
};
|
|
1121
|
+
};
|
|
1122
|
+
readonly FIGURE: {
|
|
1123
|
+
readonly PYUSD: {
|
|
1124
|
+
pubkey: web3.PublicKey;
|
|
1125
|
+
mint: web3.PublicKey;
|
|
1126
|
+
};
|
|
1127
|
+
readonly wYLDS: {
|
|
1128
|
+
pubkey: web3.PublicKey;
|
|
1129
|
+
mint: web3.PublicKey;
|
|
1130
|
+
};
|
|
1131
|
+
readonly USDS: {
|
|
1132
|
+
pubkey: web3.PublicKey;
|
|
1133
|
+
mint: web3.PublicKey;
|
|
1134
|
+
};
|
|
1135
|
+
readonly USDC: {
|
|
1136
|
+
pubkey: web3.PublicKey;
|
|
1137
|
+
mint: web3.PublicKey;
|
|
1138
|
+
};
|
|
1139
|
+
readonly PRIME: {
|
|
1140
|
+
pubkey: web3.PublicKey;
|
|
1141
|
+
mint: web3.PublicKey;
|
|
1142
|
+
};
|
|
1143
|
+
readonly CASH: {
|
|
1144
|
+
pubkey: web3.PublicKey;
|
|
1145
|
+
mint: web3.PublicKey;
|
|
1146
|
+
};
|
|
1147
|
+
};
|
|
1148
|
+
readonly GM_SANCTUM: {
|
|
1149
|
+
readonly dfdvSOL: {
|
|
1150
|
+
pubkey: web3.PublicKey;
|
|
1151
|
+
mint: web3.PublicKey;
|
|
1152
|
+
};
|
|
1153
|
+
readonly INF: {
|
|
1154
|
+
pubkey: web3.PublicKey;
|
|
1155
|
+
mint: web3.PublicKey;
|
|
1156
|
+
};
|
|
1157
|
+
readonly SOL: {
|
|
1158
|
+
pubkey: web3.PublicKey;
|
|
1159
|
+
mint: web3.PublicKey;
|
|
1160
|
+
};
|
|
1161
|
+
};
|
|
1162
|
+
readonly GM_SOLBLAZE: {
|
|
1163
|
+
readonly SOL: {
|
|
1164
|
+
pubkey: web3.PublicKey;
|
|
1165
|
+
mint: web3.PublicKey;
|
|
1166
|
+
};
|
|
1167
|
+
readonly BSOL: {
|
|
1168
|
+
pubkey: web3.PublicKey;
|
|
1169
|
+
mint: web3.PublicKey;
|
|
1170
|
+
};
|
|
1171
|
+
};
|
|
1172
|
+
readonly ADRENA: {
|
|
1173
|
+
readonly USDC: {
|
|
1174
|
+
pubkey: web3.PublicKey;
|
|
1175
|
+
mint: web3.PublicKey;
|
|
1176
|
+
};
|
|
1177
|
+
readonly ALP: {
|
|
1178
|
+
pubkey: web3.PublicKey;
|
|
1179
|
+
mint: web3.PublicKey;
|
|
1180
|
+
};
|
|
1181
|
+
};
|
|
1182
|
+
readonly FLASH_TRADE: {
|
|
1183
|
+
readonly USDC: {
|
|
1184
|
+
pubkey: web3.PublicKey;
|
|
1185
|
+
mint: web3.PublicKey;
|
|
1186
|
+
};
|
|
1187
|
+
readonly FLP: {
|
|
1188
|
+
pubkey: web3.PublicKey;
|
|
1189
|
+
mint: web3.PublicKey;
|
|
1190
|
+
};
|
|
1191
|
+
};
|
|
1192
|
+
readonly METAPLEX: {
|
|
1193
|
+
readonly USDC: {
|
|
1194
|
+
pubkey: web3.PublicKey;
|
|
1195
|
+
mint: web3.PublicKey;
|
|
1196
|
+
};
|
|
1197
|
+
readonly MPLX: {
|
|
1198
|
+
pubkey: web3.PublicKey;
|
|
1199
|
+
mint: web3.PublicKey;
|
|
1200
|
+
};
|
|
1201
|
+
};
|
|
1202
|
+
}[M_1], amount: BN): ReserveInstruction;
|
|
1203
|
+
/**
|
|
1204
|
+
* Borrow from a Kamino reserve.
|
|
1205
|
+
* @param market - The Kamino lending market
|
|
1206
|
+
* @param asset - The reserve asset (e.g. "USDC", "SOL")
|
|
1207
|
+
* @param amount - Amount in the asset's native units
|
|
1208
|
+
*/
|
|
1209
|
+
borrow<M_2 extends KaminoMarket>(market: M_2, asset: keyof {
|
|
1210
|
+
readonly MAIN: {
|
|
1211
|
+
readonly adraSOL: {
|
|
1212
|
+
pubkey: web3.PublicKey;
|
|
1213
|
+
mint: web3.PublicKey;
|
|
1214
|
+
};
|
|
1215
|
+
readonly dSOL: {
|
|
1216
|
+
pubkey: web3.PublicKey;
|
|
1217
|
+
mint: web3.PublicKey;
|
|
1218
|
+
};
|
|
1219
|
+
readonly SOL: {
|
|
1220
|
+
pubkey: web3.PublicKey;
|
|
1221
|
+
mint: web3.PublicKey;
|
|
1222
|
+
};
|
|
1223
|
+
readonly ETH: {
|
|
1224
|
+
pubkey: web3.PublicKey;
|
|
1225
|
+
mint: web3.PublicKey;
|
|
1226
|
+
};
|
|
1227
|
+
readonly fBTC: {
|
|
1228
|
+
pubkey: web3.PublicKey;
|
|
1229
|
+
mint: web3.PublicKey;
|
|
1230
|
+
};
|
|
1231
|
+
readonly picoSOL: {
|
|
1232
|
+
pubkey: web3.PublicKey;
|
|
1233
|
+
mint: web3.PublicKey;
|
|
1234
|
+
};
|
|
1235
|
+
readonly stkeSOL: {
|
|
1236
|
+
pubkey: web3.PublicKey;
|
|
1237
|
+
mint: web3.PublicKey;
|
|
1238
|
+
};
|
|
1239
|
+
readonly PYUSD: {
|
|
1240
|
+
pubkey: web3.PublicKey;
|
|
1241
|
+
mint: web3.PublicKey;
|
|
1242
|
+
};
|
|
1243
|
+
readonly cbBTC: {
|
|
1244
|
+
pubkey: web3.PublicKey;
|
|
1245
|
+
mint: web3.PublicKey;
|
|
1246
|
+
};
|
|
1247
|
+
readonly JUP: {
|
|
1248
|
+
pubkey: web3.PublicKey;
|
|
1249
|
+
mint: web3.PublicKey;
|
|
1250
|
+
};
|
|
1251
|
+
readonly xBTC: {
|
|
1252
|
+
pubkey: web3.PublicKey;
|
|
1253
|
+
mint: web3.PublicKey;
|
|
1254
|
+
};
|
|
1255
|
+
readonly wstETH: {
|
|
1256
|
+
pubkey: web3.PublicKey;
|
|
1257
|
+
mint: web3.PublicKey;
|
|
1258
|
+
};
|
|
1259
|
+
readonly kSOLBSOLOrca: {
|
|
1260
|
+
pubkey: web3.PublicKey;
|
|
1261
|
+
mint: web3.PublicKey;
|
|
1262
|
+
};
|
|
1263
|
+
readonly CHAI: {
|
|
1264
|
+
pubkey: web3.PublicKey;
|
|
1265
|
+
mint: web3.PublicKey;
|
|
1266
|
+
};
|
|
1267
|
+
readonly bbSOL: {
|
|
1268
|
+
pubkey: web3.PublicKey;
|
|
1269
|
+
mint: web3.PublicKey;
|
|
1270
|
+
};
|
|
1271
|
+
readonly USD1: {
|
|
1272
|
+
pubkey: web3.PublicKey;
|
|
1273
|
+
mint: web3.PublicKey;
|
|
1274
|
+
};
|
|
1275
|
+
readonly kSOLJITOSOLRaydium: {
|
|
1276
|
+
pubkey: web3.PublicKey;
|
|
1277
|
+
mint: web3.PublicKey;
|
|
1278
|
+
};
|
|
1279
|
+
readonly nxSOL: {
|
|
1280
|
+
pubkey: web3.PublicKey;
|
|
1281
|
+
mint: web3.PublicKey;
|
|
1282
|
+
};
|
|
1283
|
+
readonly fwdSOL: {
|
|
1284
|
+
pubkey: web3.PublicKey;
|
|
1285
|
+
mint: web3.PublicKey;
|
|
1286
|
+
};
|
|
1287
|
+
readonly STSOL: {
|
|
1288
|
+
pubkey: web3.PublicKey;
|
|
1289
|
+
mint: web3.PublicKey;
|
|
1290
|
+
};
|
|
1291
|
+
readonly JTO: {
|
|
1292
|
+
pubkey: web3.PublicKey;
|
|
1293
|
+
mint: web3.PublicKey;
|
|
1294
|
+
};
|
|
1295
|
+
readonly strongSOL: {
|
|
1296
|
+
pubkey: web3.PublicKey;
|
|
1297
|
+
mint: web3.PublicKey;
|
|
1298
|
+
};
|
|
1299
|
+
readonly CASH: {
|
|
1300
|
+
pubkey: web3.PublicKey;
|
|
1301
|
+
mint: web3.PublicKey;
|
|
1302
|
+
};
|
|
1303
|
+
readonly kUXDUSDCOrca: {
|
|
1304
|
+
pubkey: web3.PublicKey;
|
|
1305
|
+
mint: web3.PublicKey;
|
|
1306
|
+
};
|
|
1307
|
+
readonly hubSOL: {
|
|
1308
|
+
pubkey: web3.PublicKey;
|
|
1309
|
+
mint: web3.PublicKey;
|
|
1310
|
+
};
|
|
1311
|
+
readonly USDS: {
|
|
1312
|
+
pubkey: web3.PublicKey;
|
|
1313
|
+
mint: web3.PublicKey;
|
|
1314
|
+
};
|
|
1315
|
+
readonly FDUSD: {
|
|
1316
|
+
pubkey: web3.PublicKey;
|
|
1317
|
+
mint: web3.PublicKey;
|
|
1318
|
+
};
|
|
1319
|
+
readonly cgntSOL: {
|
|
1320
|
+
pubkey: web3.PublicKey;
|
|
1321
|
+
mint: web3.PublicKey;
|
|
1322
|
+
};
|
|
1323
|
+
readonly hSOL: {
|
|
1324
|
+
pubkey: web3.PublicKey;
|
|
1325
|
+
mint: web3.PublicKey;
|
|
1326
|
+
};
|
|
1327
|
+
readonly vSOL: {
|
|
1328
|
+
pubkey: web3.PublicKey;
|
|
1329
|
+
mint: web3.PublicKey;
|
|
1330
|
+
};
|
|
1331
|
+
readonly dfdvSOL: {
|
|
1332
|
+
pubkey: web3.PublicKey;
|
|
1333
|
+
mint: web3.PublicKey;
|
|
1334
|
+
};
|
|
1335
|
+
readonly USDC: {
|
|
1336
|
+
pubkey: web3.PublicKey;
|
|
1337
|
+
mint: web3.PublicKey;
|
|
1338
|
+
};
|
|
1339
|
+
readonly JupSOL: {
|
|
1340
|
+
pubkey: web3.PublicKey;
|
|
1341
|
+
mint: web3.PublicKey;
|
|
1342
|
+
};
|
|
1343
|
+
readonly USDH: {
|
|
1344
|
+
pubkey: web3.PublicKey;
|
|
1345
|
+
mint: web3.PublicKey;
|
|
1346
|
+
};
|
|
1347
|
+
readonly JLP: {
|
|
1348
|
+
pubkey: web3.PublicKey;
|
|
1349
|
+
mint: web3.PublicKey;
|
|
1350
|
+
};
|
|
1351
|
+
readonly EURC: {
|
|
1352
|
+
pubkey: web3.PublicKey;
|
|
1353
|
+
mint: web3.PublicKey;
|
|
1354
|
+
};
|
|
1355
|
+
readonly USDG: {
|
|
1356
|
+
pubkey: web3.PublicKey;
|
|
1357
|
+
mint: web3.PublicKey;
|
|
1358
|
+
};
|
|
1359
|
+
readonly JITOSOL: {
|
|
1360
|
+
pubkey: web3.PublicKey;
|
|
1361
|
+
mint: web3.PublicKey;
|
|
1362
|
+
};
|
|
1363
|
+
readonly MSOL: {
|
|
1364
|
+
pubkey: web3.PublicKey;
|
|
1365
|
+
mint: web3.PublicKey;
|
|
1366
|
+
};
|
|
1367
|
+
readonly cdcSOL: {
|
|
1368
|
+
pubkey: web3.PublicKey;
|
|
1369
|
+
mint: web3.PublicKey;
|
|
1370
|
+
};
|
|
1371
|
+
readonly kSOLMSOLRaydium: {
|
|
1372
|
+
pubkey: web3.PublicKey;
|
|
1373
|
+
mint: web3.PublicKey;
|
|
1374
|
+
};
|
|
1375
|
+
readonly bnSOL: {
|
|
1376
|
+
pubkey: web3.PublicKey;
|
|
1377
|
+
mint: web3.PublicKey;
|
|
1378
|
+
};
|
|
1379
|
+
readonly STEP: {
|
|
1380
|
+
pubkey: web3.PublicKey;
|
|
1381
|
+
mint: web3.PublicKey;
|
|
1382
|
+
};
|
|
1383
|
+
readonly kSOLJITOSOLOrca: {
|
|
1384
|
+
pubkey: web3.PublicKey;
|
|
1385
|
+
mint: web3.PublicKey;
|
|
1386
|
+
};
|
|
1387
|
+
readonly xSTEP: {
|
|
1388
|
+
pubkey: web3.PublicKey;
|
|
1389
|
+
mint: web3.PublicKey;
|
|
1390
|
+
};
|
|
1391
|
+
readonly UXD: {
|
|
1392
|
+
pubkey: web3.PublicKey;
|
|
1393
|
+
mint: web3.PublicKey;
|
|
1394
|
+
};
|
|
1395
|
+
readonly USDT: {
|
|
1396
|
+
pubkey: web3.PublicKey;
|
|
1397
|
+
mint: web3.PublicKey;
|
|
1398
|
+
};
|
|
1399
|
+
readonly bSOL: {
|
|
1400
|
+
pubkey: web3.PublicKey;
|
|
1401
|
+
mint: web3.PublicKey;
|
|
1402
|
+
};
|
|
1403
|
+
readonly jSOL: {
|
|
1404
|
+
pubkey: web3.PublicKey;
|
|
1405
|
+
mint: web3.PublicKey;
|
|
1406
|
+
};
|
|
1407
|
+
readonly laineSOL: {
|
|
1408
|
+
pubkey: web3.PublicKey;
|
|
1409
|
+
mint: web3.PublicKey;
|
|
1410
|
+
};
|
|
1411
|
+
readonly pSOL: {
|
|
1412
|
+
pubkey: web3.PublicKey;
|
|
1413
|
+
mint: web3.PublicKey;
|
|
1414
|
+
};
|
|
1415
|
+
readonly WBTC: {
|
|
1416
|
+
pubkey: web3.PublicKey;
|
|
1417
|
+
mint: web3.PublicKey;
|
|
1418
|
+
};
|
|
1419
|
+
readonly tBTC: {
|
|
1420
|
+
pubkey: web3.PublicKey;
|
|
1421
|
+
mint: web3.PublicKey;
|
|
1422
|
+
};
|
|
1423
|
+
readonly bonkSOL: {
|
|
1424
|
+
pubkey: web3.PublicKey;
|
|
1425
|
+
mint: web3.PublicKey;
|
|
1426
|
+
};
|
|
1427
|
+
readonly lanternSOL: {
|
|
1428
|
+
pubkey: web3.PublicKey;
|
|
1429
|
+
mint: web3.PublicKey;
|
|
1430
|
+
};
|
|
1431
|
+
};
|
|
1432
|
+
readonly JLP: {
|
|
1433
|
+
readonly USDT: {
|
|
1434
|
+
pubkey: web3.PublicKey;
|
|
1435
|
+
mint: web3.PublicKey;
|
|
1436
|
+
};
|
|
1437
|
+
readonly USD1: {
|
|
1438
|
+
pubkey: web3.PublicKey;
|
|
1439
|
+
mint: web3.PublicKey;
|
|
1440
|
+
};
|
|
1441
|
+
readonly USDG: {
|
|
1442
|
+
pubkey: web3.PublicKey;
|
|
1443
|
+
mint: web3.PublicKey;
|
|
1444
|
+
};
|
|
1445
|
+
readonly JLP: {
|
|
1446
|
+
pubkey: web3.PublicKey;
|
|
1447
|
+
mint: web3.PublicKey;
|
|
1448
|
+
};
|
|
1449
|
+
readonly SOL: {
|
|
1450
|
+
pubkey: web3.PublicKey;
|
|
1451
|
+
mint: web3.PublicKey;
|
|
1452
|
+
};
|
|
1453
|
+
readonly PYUSD: {
|
|
1454
|
+
pubkey: web3.PublicKey;
|
|
1455
|
+
mint: web3.PublicKey;
|
|
1456
|
+
};
|
|
1457
|
+
readonly USDC: {
|
|
1458
|
+
pubkey: web3.PublicKey;
|
|
1459
|
+
mint: web3.PublicKey;
|
|
1460
|
+
};
|
|
1461
|
+
};
|
|
1462
|
+
readonly ALTCOINS: {
|
|
1463
|
+
readonly GRASS: {
|
|
1464
|
+
pubkey: web3.PublicKey;
|
|
1465
|
+
mint: web3.PublicKey;
|
|
1466
|
+
};
|
|
1467
|
+
readonly MEW: {
|
|
1468
|
+
pubkey: web3.PublicKey;
|
|
1469
|
+
mint: web3.PublicKey;
|
|
1470
|
+
};
|
|
1471
|
+
readonly JUP: {
|
|
1472
|
+
pubkey: web3.PublicKey;
|
|
1473
|
+
mint: web3.PublicKey;
|
|
1474
|
+
};
|
|
1475
|
+
readonly POPCAT: {
|
|
1476
|
+
pubkey: web3.PublicKey;
|
|
1477
|
+
mint: web3.PublicKey;
|
|
1478
|
+
};
|
|
1479
|
+
readonly JTO: {
|
|
1480
|
+
pubkey: web3.PublicKey;
|
|
1481
|
+
mint: web3.PublicKey;
|
|
1482
|
+
};
|
|
1483
|
+
readonly DRIFT: {
|
|
1484
|
+
pubkey: web3.PublicKey;
|
|
1485
|
+
mint: web3.PublicKey;
|
|
1486
|
+
};
|
|
1487
|
+
readonly USDC: {
|
|
1488
|
+
pubkey: web3.PublicKey;
|
|
1489
|
+
mint: web3.PublicKey;
|
|
1490
|
+
};
|
|
1491
|
+
/** The existing LpPosition account public key. */
|
|
1492
|
+
readonly KMNO: {
|
|
1493
|
+
pubkey: web3.PublicKey;
|
|
1494
|
+
mint: web3.PublicKey;
|
|
1495
|
+
};
|
|
1496
|
+
readonly PRCL: {
|
|
1497
|
+
pubkey: web3.PublicKey;
|
|
1498
|
+
mint: web3.PublicKey;
|
|
1499
|
+
};
|
|
1500
|
+
readonly PENGU: {
|
|
1501
|
+
pubkey: web3.PublicKey;
|
|
1502
|
+
mint: web3.PublicKey;
|
|
1503
|
+
};
|
|
1504
|
+
readonly BONK: {
|
|
1505
|
+
pubkey: web3.PublicKey;
|
|
1506
|
+
mint: web3.PublicKey;
|
|
1507
|
+
};
|
|
1508
|
+
readonly PYUSD: {
|
|
1509
|
+
pubkey: web3.PublicKey;
|
|
1510
|
+
mint: web3.PublicKey;
|
|
1511
|
+
};
|
|
1512
|
+
readonly W: {
|
|
1513
|
+
pubkey: web3.PublicKey;
|
|
1514
|
+
mint: web3.PublicKey;
|
|
1515
|
+
};
|
|
1516
|
+
readonly TNSR: {
|
|
1517
|
+
pubkey: web3.PublicKey;
|
|
1518
|
+
mint: web3.PublicKey;
|
|
1519
|
+
};
|
|
1520
|
+
readonly GOAT: {
|
|
1521
|
+
pubkey: web3.PublicKey;
|
|
1522
|
+
mint: web3.PublicKey;
|
|
1523
|
+
};
|
|
1524
|
+
readonly WEN: {
|
|
1525
|
+
pubkey: web3.PublicKey;
|
|
1526
|
+
mint: web3.PublicKey;
|
|
1527
|
+
};
|
|
1528
|
+
/** Swap direction: SyToPt or PtToSy. */
|
|
1529
|
+
readonly USDH: {
|
|
1530
|
+
pubkey: web3.PublicKey;
|
|
1531
|
+
mint: web3.PublicKey;
|
|
1532
|
+
};
|
|
1533
|
+
readonly TRUMP: {
|
|
1534
|
+
pubkey: web3.PublicKey;
|
|
1535
|
+
mint: web3.PublicKey;
|
|
1536
|
+
};
|
|
1537
|
+
readonly WIF: {
|
|
1538
|
+
pubkey: web3.PublicKey;
|
|
1539
|
+
mint: web3.PublicKey;
|
|
1540
|
+
};
|
|
1541
|
+
readonly FWOG: {
|
|
1542
|
+
pubkey: web3.PublicKey;
|
|
1543
|
+
mint: web3.PublicKey;
|
|
1544
|
+
};
|
|
1545
|
+
readonly PYTH: {
|
|
1546
|
+
pubkey: web3.PublicKey;
|
|
1547
|
+
mint: web3.PublicKey;
|
|
1548
|
+
};
|
|
1549
|
+
readonly INF: {
|
|
1550
|
+
pubkey: web3.PublicKey;
|
|
1551
|
+
mint: web3.PublicKey;
|
|
1552
|
+
};
|
|
1553
|
+
};
|
|
1554
|
+
readonly ETHENA: {
|
|
1555
|
+
readonly USDe: {
|
|
1556
|
+
pubkey: web3.PublicKey;
|
|
1557
|
+
mint: web3.PublicKey;
|
|
1558
|
+
};
|
|
1559
|
+
readonly USDT: {
|
|
1560
|
+
pubkey: web3.PublicKey;
|
|
1561
|
+
mint: web3.PublicKey;
|
|
1562
|
+
};
|
|
1563
|
+
readonly USDC: {
|
|
1564
|
+
pubkey: web3.PublicKey;
|
|
1565
|
+
mint: web3.PublicKey;
|
|
1566
|
+
};
|
|
1567
|
+
readonly PYUSD: {
|
|
1568
|
+
pubkey: web3.PublicKey;
|
|
1569
|
+
mint: web3.PublicKey;
|
|
1570
|
+
};
|
|
1571
|
+
readonly sUSDe: {
|
|
1572
|
+
pubkey: web3.PublicKey;
|
|
1573
|
+
mint: web3.PublicKey;
|
|
1574
|
+
};
|
|
1575
|
+
};
|
|
1576
|
+
readonly JITO: {
|
|
1577
|
+
readonly kySOL: {
|
|
1578
|
+
pubkey: web3.PublicKey;
|
|
1579
|
+
mint: web3.PublicKey;
|
|
1580
|
+
};
|
|
1581
|
+
readonly SOL: {
|
|
1582
|
+
pubkey: web3.PublicKey;
|
|
1583
|
+
mint: web3.PublicKey;
|
|
1584
|
+
};
|
|
1585
|
+
readonly ezSOL: {
|
|
1586
|
+
pubkey: web3.PublicKey;
|
|
1587
|
+
mint: web3.PublicKey;
|
|
1588
|
+
};
|
|
1589
|
+
readonly JITOSOL: {
|
|
1590
|
+
pubkey: web3.PublicKey;
|
|
1591
|
+
mint: web3.PublicKey;
|
|
1592
|
+
};
|
|
1593
|
+
};
|
|
1594
|
+
readonly FARTCOIN: {
|
|
1595
|
+
readonly FARTCOIN: {
|
|
1596
|
+
pubkey: web3.PublicKey;
|
|
1597
|
+
mint: web3.PublicKey;
|
|
1598
|
+
};
|
|
1599
|
+
readonly USDC: {
|
|
1600
|
+
pubkey: web3.PublicKey;
|
|
1601
|
+
mint: web3.PublicKey;
|
|
1602
|
+
};
|
|
1603
|
+
readonly USDT: {
|
|
1604
|
+
pubkey: web3.PublicKey;
|
|
1605
|
+
mint: web3.PublicKey;
|
|
1606
|
+
};
|
|
1607
|
+
};
|
|
1608
|
+
readonly BITCOIN: {
|
|
1609
|
+
readonly WBTC: {
|
|
1610
|
+
pubkey: web3.PublicKey;
|
|
1611
|
+
mint: web3.PublicKey;
|
|
1612
|
+
};
|
|
1613
|
+
readonly zBTC: {
|
|
1614
|
+
pubkey: web3.PublicKey;
|
|
1615
|
+
mint: web3.PublicKey;
|
|
1616
|
+
};
|
|
1617
|
+
readonly USDC: {
|
|
1618
|
+
pubkey: web3.PublicKey;
|
|
1619
|
+
mint: web3.PublicKey;
|
|
1620
|
+
};
|
|
1621
|
+
readonly USDG: {
|
|
1622
|
+
pubkey: web3.PublicKey;
|
|
1623
|
+
mint: web3.PublicKey;
|
|
1624
|
+
};
|
|
1625
|
+
readonly USDT: {
|
|
1626
|
+
pubkey: web3.PublicKey;
|
|
1627
|
+
mint: web3.PublicKey;
|
|
1628
|
+
};
|
|
1629
|
+
readonly LBTC: {
|
|
1630
|
+
pubkey: web3.PublicKey;
|
|
1631
|
+
mint: web3.PublicKey;
|
|
1632
|
+
};
|
|
1633
|
+
readonly FDUSD: {
|
|
1634
|
+
pubkey: web3.PublicKey;
|
|
1635
|
+
mint: web3.PublicKey;
|
|
1636
|
+
};
|
|
1637
|
+
};
|
|
1638
|
+
readonly JUPITER: {
|
|
1639
|
+
readonly USDC: {
|
|
1640
|
+
pubkey: web3.PublicKey;
|
|
1641
|
+
mint: web3.PublicKey;
|
|
1642
|
+
};
|
|
1643
|
+
readonly JUP: {
|
|
1644
|
+
pubkey: web3.PublicKey;
|
|
1645
|
+
mint: web3.PublicKey;
|
|
1646
|
+
};
|
|
1647
|
+
readonly USDT: {
|
|
1648
|
+
pubkey: web3.PublicKey;
|
|
1649
|
+
mint: web3.PublicKey;
|
|
1650
|
+
};
|
|
1651
|
+
readonly USDG: {
|
|
1652
|
+
pubkey: web3.PublicKey;
|
|
1653
|
+
mint: web3.PublicKey;
|
|
1654
|
+
};
|
|
1655
|
+
};
|
|
1656
|
+
readonly JTO: {
|
|
1657
|
+
readonly JTO: {
|
|
1658
|
+
pubkey: web3.PublicKey;
|
|
1659
|
+
mint: web3.PublicKey;
|
|
1660
|
+
};
|
|
1661
|
+
readonly USDG: {
|
|
1662
|
+
pubkey: web3.PublicKey;
|
|
1663
|
+
mint: web3.PublicKey;
|
|
1664
|
+
};
|
|
1665
|
+
readonly USDT: {
|
|
1666
|
+
pubkey: web3.PublicKey;
|
|
1667
|
+
mint: web3.PublicKey;
|
|
1668
|
+
};
|
|
1669
|
+
readonly USDC: {
|
|
1670
|
+
pubkey: web3.PublicKey;
|
|
1671
|
+
mint: web3.PublicKey;
|
|
1672
|
+
};
|
|
1673
|
+
};
|
|
1674
|
+
readonly MARINADE: {
|
|
1675
|
+
readonly MSOL: {
|
|
1676
|
+
pubkey: web3.PublicKey;
|
|
1677
|
+
mint: web3.PublicKey;
|
|
1678
|
+
};
|
|
1679
|
+
readonly SOL: {
|
|
1680
|
+
pubkey: web3.PublicKey;
|
|
1681
|
+
mint: web3.PublicKey;
|
|
1682
|
+
};
|
|
1683
|
+
};
|
|
1684
|
+
readonly EXPONENT_PT_SOL: {
|
|
1685
|
+
readonly "PT-bulkSOL-26FEB26": {
|
|
1686
|
+
pubkey: web3.PublicKey;
|
|
1687
|
+
mint: web3.PublicKey;
|
|
1688
|
+
};
|
|
1689
|
+
readonly "PT-kySOL-14JUN25": {
|
|
1690
|
+
pubkey: web3.PublicKey;
|
|
1691
|
+
mint: web3.PublicKey;
|
|
1692
|
+
};
|
|
1693
|
+
readonly SOL: {
|
|
1694
|
+
pubkey: web3.PublicKey;
|
|
1695
|
+
mint: web3.PublicKey;
|
|
1696
|
+
};
|
|
1697
|
+
readonly fragSOL: {
|
|
1698
|
+
pubkey: web3.PublicKey;
|
|
1699
|
+
mint: web3.PublicKey;
|
|
1700
|
+
};
|
|
1701
|
+
readonly "PT-fragSOL-10JUL25": {
|
|
1702
|
+
pubkey: web3.PublicKey;
|
|
1703
|
+
mint: web3.PublicKey;
|
|
1704
|
+
};
|
|
1705
|
+
readonly "PT-fragSOL-12FEB26": {
|
|
1706
|
+
pubkey: web3.PublicKey;
|
|
1707
|
+
mint: web3.PublicKey;
|
|
1708
|
+
};
|
|
1709
|
+
readonly "PT-fragSOL-31OCT25": {
|
|
1710
|
+
pubkey: web3.PublicKey;
|
|
1711
|
+
mint: web3.PublicKey;
|
|
1712
|
+
};
|
|
1713
|
+
readonly "PT-kySOL-30SEP25": {
|
|
1714
|
+
pubkey: web3.PublicKey;
|
|
1715
|
+
mint: web3.PublicKey;
|
|
1716
|
+
};
|
|
1717
|
+
};
|
|
1718
|
+
readonly BONK: {
|
|
1719
|
+
readonly USDC: {
|
|
1720
|
+
pubkey: web3.PublicKey;
|
|
1721
|
+
mint: web3.PublicKey;
|
|
1722
|
+
};
|
|
1723
|
+
readonly USDT: {
|
|
1724
|
+
pubkey: web3.PublicKey;
|
|
1725
|
+
mint: web3.PublicKey;
|
|
1726
|
+
};
|
|
1727
|
+
readonly SOL: {
|
|
1728
|
+
pubkey: web3.PublicKey;
|
|
1729
|
+
mint: web3.PublicKey;
|
|
1730
|
+
};
|
|
1731
|
+
readonly bonkSOL: {
|
|
1732
|
+
pubkey: web3.PublicKey;
|
|
1733
|
+
mint: web3.PublicKey;
|
|
1734
|
+
};
|
|
1735
|
+
readonly USDG: {
|
|
1736
|
+
pubkey: web3.PublicKey;
|
|
1737
|
+
mint: web3.PublicKey;
|
|
1738
|
+
};
|
|
1739
|
+
readonly BONK: {
|
|
1740
|
+
pubkey: web3.PublicKey;
|
|
1741
|
+
mint: web3.PublicKey;
|
|
1742
|
+
};
|
|
1743
|
+
};
|
|
1744
|
+
readonly RSTSOL_BBSOL: {
|
|
1745
|
+
readonly bbSOL: {
|
|
1746
|
+
pubkey: web3.PublicKey;
|
|
1747
|
+
mint: web3.PublicKey;
|
|
1748
|
+
};
|
|
1749
|
+
readonly rstSOL: {
|
|
1750
|
+
pubkey: web3.PublicKey;
|
|
1751
|
+
mint: web3.PublicKey;
|
|
1752
|
+
};
|
|
1753
|
+
readonly SOL: {
|
|
1754
|
+
pubkey: web3.PublicKey;
|
|
1755
|
+
mint: web3.PublicKey;
|
|
1756
|
+
};
|
|
1757
|
+
};
|
|
1758
|
+
readonly MAPLE: {
|
|
1759
|
+
readonly PYUSD: {
|
|
1760
|
+
pubkey: web3.PublicKey;
|
|
1761
|
+
mint: web3.PublicKey;
|
|
1762
|
+
};
|
|
1763
|
+
readonly USDC: {
|
|
1764
|
+
pubkey: web3.PublicKey;
|
|
1765
|
+
mint: web3.PublicKey;
|
|
1766
|
+
};
|
|
1767
|
+
readonly syrupUSDC: {
|
|
1768
|
+
pubkey: web3.PublicKey;
|
|
1769
|
+
mint: web3.PublicKey;
|
|
1770
|
+
};
|
|
1771
|
+
readonly USDS: {
|
|
1772
|
+
pubkey: web3.PublicKey;
|
|
1773
|
+
mint: web3.PublicKey;
|
|
1774
|
+
};
|
|
1775
|
+
readonly CASH: {
|
|
1776
|
+
pubkey: web3.PublicKey;
|
|
1777
|
+
mint: web3.PublicKey;
|
|
1778
|
+
};
|
|
1779
|
+
readonly USD1: {
|
|
1780
|
+
pubkey: web3.PublicKey;
|
|
1781
|
+
mint: web3.PublicKey;
|
|
1782
|
+
};
|
|
1783
|
+
readonly USDG: {
|
|
1784
|
+
pubkey: web3.PublicKey;
|
|
1785
|
+
mint: web3.PublicKey;
|
|
1786
|
+
};
|
|
1787
|
+
};
|
|
1788
|
+
readonly HUMA: {
|
|
1789
|
+
readonly USDC: {
|
|
1790
|
+
pubkey: web3.PublicKey;
|
|
1791
|
+
mint: web3.PublicKey;
|
|
1792
|
+
};
|
|
1793
|
+
readonly USDS: {
|
|
1794
|
+
pubkey: web3.PublicKey;
|
|
1795
|
+
mint: web3.PublicKey;
|
|
1796
|
+
};
|
|
1797
|
+
readonly PST: {
|
|
1798
|
+
pubkey: web3.PublicKey;
|
|
1799
|
+
mint: web3.PublicKey;
|
|
1800
|
+
};
|
|
1801
|
+
readonly USDG: {
|
|
1802
|
+
pubkey: web3.PublicKey;
|
|
1803
|
+
mint: web3.PublicKey;
|
|
1804
|
+
};
|
|
1805
|
+
};
|
|
1806
|
+
readonly APOLLO: {
|
|
1807
|
+
readonly USDG: {
|
|
1808
|
+
pubkey: web3.PublicKey;
|
|
1809
|
+
mint: web3.PublicKey;
|
|
1810
|
+
};
|
|
1811
|
+
readonly sACRED: {
|
|
1812
|
+
pubkey: web3.PublicKey;
|
|
1813
|
+
mint: web3.PublicKey;
|
|
1814
|
+
};
|
|
1815
|
+
readonly USDC: {
|
|
1816
|
+
pubkey: web3.PublicKey;
|
|
1817
|
+
mint: web3.PublicKey;
|
|
1818
|
+
};
|
|
1819
|
+
};
|
|
1820
|
+
readonly ZEUS_BITCOIN: {
|
|
1821
|
+
readonly FDUSD: {
|
|
1822
|
+
pubkey: web3.PublicKey;
|
|
1823
|
+
mint: web3.PublicKey;
|
|
1824
|
+
};
|
|
1825
|
+
readonly USDC: {
|
|
1826
|
+
pubkey: web3.PublicKey;
|
|
1827
|
+
mint: web3.PublicKey;
|
|
1828
|
+
};
|
|
1829
|
+
readonly ZBTC: {
|
|
1830
|
+
pubkey: web3.PublicKey;
|
|
1831
|
+
mint: web3.PublicKey;
|
|
1832
|
+
};
|
|
1833
|
+
};
|
|
1834
|
+
readonly XSTOCKS: {
|
|
1835
|
+
readonly SPYx: {
|
|
1836
|
+
pubkey: web3.PublicKey;
|
|
1837
|
+
mint: web3.PublicKey;
|
|
1838
|
+
};
|
|
1839
|
+
readonly QQQx: {
|
|
1840
|
+
pubkey: web3.PublicKey;
|
|
1841
|
+
mint: web3.PublicKey;
|
|
1842
|
+
};
|
|
1843
|
+
readonly HOODx: {
|
|
1844
|
+
pubkey: web3.PublicKey;
|
|
1845
|
+
mint: web3.PublicKey;
|
|
1846
|
+
};
|
|
1847
|
+
readonly GOOGLx: {
|
|
1848
|
+
pubkey: web3.PublicKey;
|
|
1849
|
+
mint: web3.PublicKey;
|
|
1850
|
+
};
|
|
1851
|
+
readonly CRCLx: {
|
|
1852
|
+
pubkey: web3.PublicKey;
|
|
1853
|
+
mint: web3.PublicKey;
|
|
1854
|
+
};
|
|
1855
|
+
readonly cbBTC: {
|
|
1856
|
+
pubkey: web3.PublicKey;
|
|
1857
|
+
mint: web3.PublicKey;
|
|
1858
|
+
};
|
|
1859
|
+
readonly TSLAx: {
|
|
1860
|
+
pubkey: web3.PublicKey;
|
|
1861
|
+
mint: web3.PublicKey;
|
|
1862
|
+
};
|
|
1863
|
+
readonly NVDAx: {
|
|
1864
|
+
pubkey: web3.PublicKey;
|
|
1865
|
+
mint: web3.PublicKey;
|
|
1866
|
+
};
|
|
1867
|
+
readonly USDC: {
|
|
1868
|
+
pubkey: web3.PublicKey;
|
|
1869
|
+
mint: web3.PublicKey;
|
|
1870
|
+
};
|
|
1871
|
+
readonly METAx: {
|
|
1872
|
+
pubkey: web3.PublicKey;
|
|
1873
|
+
mint: web3.PublicKey;
|
|
1874
|
+
};
|
|
1875
|
+
readonly AAPLx: {
|
|
1876
|
+
pubkey: web3.PublicKey;
|
|
1877
|
+
mint: web3.PublicKey;
|
|
1878
|
+
};
|
|
1879
|
+
readonly MSTRx: {
|
|
1880
|
+
pubkey: web3.PublicKey;
|
|
1881
|
+
mint: web3.PublicKey;
|
|
1882
|
+
};
|
|
1883
|
+
readonly USDG: {
|
|
1884
|
+
pubkey: web3.PublicKey;
|
|
1885
|
+
mint: web3.PublicKey;
|
|
1886
|
+
};
|
|
1887
|
+
};
|
|
1888
|
+
readonly ONRE: {
|
|
1889
|
+
readonly AUSD: {
|
|
1890
|
+
pubkey: web3.PublicKey;
|
|
1891
|
+
mint: web3.PublicKey;
|
|
1892
|
+
};
|
|
1893
|
+
readonly USDS: {
|
|
1894
|
+
pubkey: web3.PublicKey;
|
|
1895
|
+
mint: web3.PublicKey;
|
|
1896
|
+
};
|
|
1897
|
+
readonly ONyc: {
|
|
1898
|
+
pubkey: web3.PublicKey;
|
|
1899
|
+
mint: web3.PublicKey;
|
|
1900
|
+
};
|
|
1901
|
+
readonly USDC: {
|
|
1902
|
+
pubkey: web3.PublicKey;
|
|
1903
|
+
mint: web3.PublicKey;
|
|
1904
|
+
};
|
|
1905
|
+
readonly USDG: {
|
|
1906
|
+
pubkey: web3.PublicKey;
|
|
1907
|
+
mint: web3.PublicKey;
|
|
1908
|
+
};
|
|
1909
|
+
};
|
|
1910
|
+
readonly PUMP: {
|
|
1911
|
+
readonly PUMP: {
|
|
1912
|
+
pubkey: web3.PublicKey;
|
|
1913
|
+
mint: web3.PublicKey;
|
|
1914
|
+
};
|
|
1915
|
+
readonly USDC: {
|
|
1916
|
+
pubkey: web3.PublicKey;
|
|
1917
|
+
mint: web3.PublicKey;
|
|
1918
|
+
};
|
|
1919
|
+
readonly USDG: {
|
|
1920
|
+
pubkey: web3.PublicKey;
|
|
1921
|
+
mint: web3.PublicKey;
|
|
1922
|
+
};
|
|
1923
|
+
};
|
|
1924
|
+
readonly SOLSTICE: {
|
|
1925
|
+
readonly "PT-eUSX-01JUN26": {
|
|
1926
|
+
pubkey: web3.PublicKey;
|
|
1927
|
+
mint: web3.PublicKey;
|
|
1928
|
+
};
|
|
1929
|
+
readonly "PT-eUSX-11MAR26": {
|
|
1930
|
+
pubkey: web3.PublicKey;
|
|
1931
|
+
mint: web3.PublicKey;
|
|
1932
|
+
};
|
|
1933
|
+
readonly USDC: {
|
|
1934
|
+
pubkey: web3.PublicKey;
|
|
1935
|
+
mint: web3.PublicKey;
|
|
1936
|
+
};
|
|
1937
|
+
readonly eUSX: {
|
|
1938
|
+
pubkey: web3.PublicKey;
|
|
1939
|
+
mint: web3.PublicKey;
|
|
1940
|
+
};
|
|
1941
|
+
readonly "PT-USX-01JUN26": {
|
|
1942
|
+
pubkey: web3.PublicKey;
|
|
1943
|
+
mint: web3.PublicKey;
|
|
1944
|
+
};
|
|
1945
|
+
readonly "PT-USX-9FEB26": {
|
|
1946
|
+
pubkey: web3.PublicKey;
|
|
1947
|
+
mint: web3.PublicKey;
|
|
1948
|
+
};
|
|
1949
|
+
readonly USX: {
|
|
1950
|
+
pubkey: web3.PublicKey;
|
|
1951
|
+
mint: web3.PublicKey;
|
|
1952
|
+
};
|
|
1953
|
+
};
|
|
1954
|
+
readonly SUPERSTATE: {
|
|
1955
|
+
readonly FWDI: {
|
|
1956
|
+
pubkey: web3.PublicKey;
|
|
1957
|
+
mint: web3.PublicKey;
|
|
1958
|
+
};
|
|
1959
|
+
readonly GLXY: {
|
|
1960
|
+
pubkey: web3.PublicKey;
|
|
1961
|
+
mint: web3.PublicKey;
|
|
1962
|
+
};
|
|
1963
|
+
readonly "USDC-Dep": {
|
|
1964
|
+
pubkey: web3.PublicKey;
|
|
1965
|
+
mint: web3.PublicKey;
|
|
1966
|
+
};
|
|
1967
|
+
readonly USDC: {
|
|
1968
|
+
pubkey: web3.PublicKey;
|
|
1969
|
+
mint: web3.PublicKey;
|
|
1970
|
+
};
|
|
1971
|
+
readonly USCC: {
|
|
1972
|
+
pubkey: web3.PublicKey;
|
|
1973
|
+
mint: web3.PublicKey;
|
|
1974
|
+
};
|
|
1975
|
+
};
|
|
1976
|
+
readonly FIGURE: {
|
|
1977
|
+
readonly PYUSD: {
|
|
1978
|
+
pubkey: web3.PublicKey;
|
|
1979
|
+
mint: web3.PublicKey;
|
|
1980
|
+
};
|
|
1981
|
+
readonly wYLDS: {
|
|
1982
|
+
pubkey: web3.PublicKey;
|
|
1983
|
+
mint: web3.PublicKey;
|
|
1984
|
+
};
|
|
1985
|
+
readonly USDS: {
|
|
1986
|
+
pubkey: web3.PublicKey;
|
|
1987
|
+
mint: web3.PublicKey;
|
|
1988
|
+
};
|
|
1989
|
+
readonly USDC: {
|
|
1990
|
+
pubkey: web3.PublicKey;
|
|
1991
|
+
mint: web3.PublicKey;
|
|
1992
|
+
};
|
|
1993
|
+
readonly PRIME: {
|
|
1994
|
+
pubkey: web3.PublicKey;
|
|
1995
|
+
mint: web3.PublicKey;
|
|
1996
|
+
};
|
|
1997
|
+
readonly CASH: {
|
|
1998
|
+
pubkey: web3.PublicKey;
|
|
1999
|
+
mint: web3.PublicKey;
|
|
2000
|
+
};
|
|
2001
|
+
};
|
|
2002
|
+
readonly GM_SANCTUM: {
|
|
2003
|
+
readonly dfdvSOL: {
|
|
2004
|
+
pubkey: web3.PublicKey;
|
|
2005
|
+
mint: web3.PublicKey;
|
|
2006
|
+
};
|
|
2007
|
+
readonly INF: {
|
|
2008
|
+
pubkey: web3.PublicKey;
|
|
2009
|
+
mint: web3.PublicKey;
|
|
2010
|
+
};
|
|
2011
|
+
readonly SOL: {
|
|
2012
|
+
pubkey: web3.PublicKey;
|
|
2013
|
+
mint: web3.PublicKey;
|
|
2014
|
+
};
|
|
2015
|
+
};
|
|
2016
|
+
readonly GM_SOLBLAZE: {
|
|
2017
|
+
readonly SOL: {
|
|
2018
|
+
pubkey: web3.PublicKey;
|
|
2019
|
+
mint: web3.PublicKey;
|
|
2020
|
+
};
|
|
2021
|
+
readonly BSOL: {
|
|
2022
|
+
pubkey: web3.PublicKey;
|
|
2023
|
+
mint: web3.PublicKey;
|
|
2024
|
+
};
|
|
2025
|
+
};
|
|
2026
|
+
readonly ADRENA: {
|
|
2027
|
+
readonly USDC: {
|
|
2028
|
+
pubkey: web3.PublicKey;
|
|
2029
|
+
mint: web3.PublicKey;
|
|
2030
|
+
};
|
|
2031
|
+
readonly ALP: {
|
|
2032
|
+
pubkey: web3.PublicKey;
|
|
2033
|
+
mint: web3.PublicKey;
|
|
2034
|
+
};
|
|
2035
|
+
};
|
|
2036
|
+
readonly FLASH_TRADE: {
|
|
2037
|
+
readonly USDC: {
|
|
2038
|
+
pubkey: web3.PublicKey;
|
|
2039
|
+
mint: web3.PublicKey;
|
|
2040
|
+
};
|
|
2041
|
+
readonly FLP: {
|
|
2042
|
+
pubkey: web3.PublicKey;
|
|
2043
|
+
mint: web3.PublicKey;
|
|
2044
|
+
};
|
|
2045
|
+
};
|
|
2046
|
+
readonly METAPLEX: {
|
|
2047
|
+
readonly USDC: {
|
|
2048
|
+
pubkey: web3.PublicKey;
|
|
2049
|
+
mint: web3.PublicKey;
|
|
2050
|
+
};
|
|
2051
|
+
readonly MPLX: {
|
|
2052
|
+
pubkey: web3.PublicKey;
|
|
2053
|
+
mint: web3.PublicKey;
|
|
2054
|
+
};
|
|
2055
|
+
};
|
|
2056
|
+
}[M_2], amount: BN): ReserveInstruction;
|
|
2057
|
+
/**
|
|
2058
|
+
* Repay a borrow on a Kamino reserve.
|
|
2059
|
+
* @param market - The Kamino lending market
|
|
2060
|
+
* @param asset - The reserve asset (e.g. "USDC", "SOL")
|
|
2061
|
+
* @param amount - Amount in the asset's native units
|
|
2062
|
+
*/
|
|
2063
|
+
repay<M_3 extends KaminoMarket>(market: M_3, asset: keyof {
|
|
2064
|
+
readonly MAIN: {
|
|
2065
|
+
readonly adraSOL: {
|
|
2066
|
+
pubkey: web3.PublicKey;
|
|
2067
|
+
mint: web3.PublicKey;
|
|
2068
|
+
};
|
|
2069
|
+
readonly dSOL: {
|
|
2070
|
+
pubkey: web3.PublicKey;
|
|
2071
|
+
mint: web3.PublicKey;
|
|
2072
|
+
};
|
|
2073
|
+
readonly SOL: {
|
|
2074
|
+
pubkey: web3.PublicKey;
|
|
2075
|
+
mint: web3.PublicKey;
|
|
2076
|
+
};
|
|
2077
|
+
readonly ETH: {
|
|
2078
|
+
pubkey: web3.PublicKey;
|
|
2079
|
+
mint: web3.PublicKey;
|
|
2080
|
+
};
|
|
2081
|
+
readonly fBTC: {
|
|
2082
|
+
pubkey: web3.PublicKey;
|
|
2083
|
+
mint: web3.PublicKey;
|
|
2084
|
+
};
|
|
2085
|
+
readonly picoSOL: {
|
|
2086
|
+
pubkey: web3.PublicKey;
|
|
2087
|
+
mint: web3.PublicKey;
|
|
2088
|
+
};
|
|
2089
|
+
readonly stkeSOL: {
|
|
2090
|
+
pubkey: web3.PublicKey;
|
|
2091
|
+
mint: web3.PublicKey;
|
|
2092
|
+
};
|
|
2093
|
+
readonly PYUSD: {
|
|
2094
|
+
pubkey: web3.PublicKey;
|
|
2095
|
+
mint: web3.PublicKey;
|
|
2096
|
+
};
|
|
2097
|
+
readonly cbBTC: {
|
|
2098
|
+
pubkey: web3.PublicKey;
|
|
2099
|
+
mint: web3.PublicKey;
|
|
2100
|
+
};
|
|
2101
|
+
readonly JUP: {
|
|
2102
|
+
pubkey: web3.PublicKey;
|
|
2103
|
+
mint: web3.PublicKey;
|
|
2104
|
+
};
|
|
2105
|
+
readonly xBTC: {
|
|
2106
|
+
pubkey: web3.PublicKey;
|
|
2107
|
+
mint: web3.PublicKey;
|
|
2108
|
+
};
|
|
2109
|
+
readonly wstETH: {
|
|
2110
|
+
pubkey: web3.PublicKey;
|
|
2111
|
+
mint: web3.PublicKey;
|
|
2112
|
+
};
|
|
2113
|
+
readonly kSOLBSOLOrca: {
|
|
2114
|
+
pubkey: web3.PublicKey;
|
|
2115
|
+
mint: web3.PublicKey;
|
|
2116
|
+
};
|
|
2117
|
+
readonly CHAI: {
|
|
2118
|
+
pubkey: web3.PublicKey;
|
|
2119
|
+
mint: web3.PublicKey;
|
|
2120
|
+
};
|
|
2121
|
+
readonly bbSOL: {
|
|
2122
|
+
pubkey: web3.PublicKey;
|
|
2123
|
+
mint: web3.PublicKey;
|
|
2124
|
+
};
|
|
2125
|
+
readonly USD1: {
|
|
2126
|
+
pubkey: web3.PublicKey;
|
|
2127
|
+
mint: web3.PublicKey;
|
|
2128
|
+
};
|
|
2129
|
+
readonly kSOLJITOSOLRaydium: {
|
|
2130
|
+
pubkey: web3.PublicKey;
|
|
2131
|
+
mint: web3.PublicKey;
|
|
2132
|
+
};
|
|
2133
|
+
readonly nxSOL: {
|
|
2134
|
+
pubkey: web3.PublicKey;
|
|
2135
|
+
mint: web3.PublicKey;
|
|
2136
|
+
};
|
|
2137
|
+
readonly fwdSOL: {
|
|
2138
|
+
pubkey: web3.PublicKey;
|
|
2139
|
+
mint: web3.PublicKey;
|
|
2140
|
+
};
|
|
2141
|
+
readonly STSOL: {
|
|
2142
|
+
pubkey: web3.PublicKey;
|
|
2143
|
+
mint: web3.PublicKey;
|
|
2144
|
+
};
|
|
2145
|
+
readonly JTO: {
|
|
2146
|
+
pubkey: web3.PublicKey;
|
|
2147
|
+
mint: web3.PublicKey;
|
|
2148
|
+
};
|
|
2149
|
+
readonly strongSOL: {
|
|
2150
|
+
pubkey: web3.PublicKey;
|
|
2151
|
+
mint: web3.PublicKey;
|
|
2152
|
+
};
|
|
2153
|
+
readonly CASH: {
|
|
2154
|
+
pubkey: web3.PublicKey;
|
|
2155
|
+
mint: web3.PublicKey;
|
|
2156
|
+
};
|
|
2157
|
+
readonly kUXDUSDCOrca: {
|
|
2158
|
+
pubkey: web3.PublicKey;
|
|
2159
|
+
mint: web3.PublicKey;
|
|
2160
|
+
};
|
|
2161
|
+
readonly hubSOL: {
|
|
2162
|
+
pubkey: web3.PublicKey;
|
|
2163
|
+
mint: web3.PublicKey;
|
|
2164
|
+
};
|
|
2165
|
+
readonly USDS: {
|
|
2166
|
+
pubkey: web3.PublicKey;
|
|
2167
|
+
mint: web3.PublicKey;
|
|
2168
|
+
};
|
|
2169
|
+
readonly FDUSD: {
|
|
2170
|
+
pubkey: web3.PublicKey;
|
|
2171
|
+
mint: web3.PublicKey;
|
|
2172
|
+
};
|
|
2173
|
+
readonly cgntSOL: {
|
|
2174
|
+
pubkey: web3.PublicKey;
|
|
2175
|
+
mint: web3.PublicKey;
|
|
2176
|
+
};
|
|
2177
|
+
readonly hSOL: {
|
|
2178
|
+
pubkey: web3.PublicKey;
|
|
2179
|
+
mint: web3.PublicKey;
|
|
2180
|
+
};
|
|
2181
|
+
readonly vSOL: {
|
|
2182
|
+
pubkey: web3.PublicKey;
|
|
2183
|
+
mint: web3.PublicKey;
|
|
2184
|
+
};
|
|
2185
|
+
readonly dfdvSOL: {
|
|
2186
|
+
pubkey: web3.PublicKey;
|
|
2187
|
+
mint: web3.PublicKey;
|
|
2188
|
+
};
|
|
2189
|
+
readonly USDC: {
|
|
2190
|
+
pubkey: web3.PublicKey;
|
|
2191
|
+
mint: web3.PublicKey;
|
|
2192
|
+
};
|
|
2193
|
+
readonly JupSOL: {
|
|
2194
|
+
pubkey: web3.PublicKey;
|
|
2195
|
+
mint: web3.PublicKey;
|
|
2196
|
+
};
|
|
2197
|
+
readonly USDH: {
|
|
2198
|
+
pubkey: web3.PublicKey;
|
|
2199
|
+
mint: web3.PublicKey;
|
|
2200
|
+
};
|
|
2201
|
+
readonly JLP: {
|
|
2202
|
+
pubkey: web3.PublicKey;
|
|
2203
|
+
mint: web3.PublicKey;
|
|
2204
|
+
};
|
|
2205
|
+
readonly EURC: {
|
|
2206
|
+
pubkey: web3.PublicKey;
|
|
2207
|
+
mint: web3.PublicKey;
|
|
2208
|
+
};
|
|
2209
|
+
readonly USDG: {
|
|
2210
|
+
pubkey: web3.PublicKey;
|
|
2211
|
+
mint: web3.PublicKey;
|
|
2212
|
+
};
|
|
2213
|
+
readonly JITOSOL: {
|
|
2214
|
+
pubkey: web3.PublicKey;
|
|
2215
|
+
mint: web3.PublicKey;
|
|
2216
|
+
};
|
|
2217
|
+
readonly MSOL: {
|
|
2218
|
+
pubkey: web3.PublicKey;
|
|
2219
|
+
mint: web3.PublicKey;
|
|
2220
|
+
};
|
|
2221
|
+
readonly cdcSOL: {
|
|
2222
|
+
pubkey: web3.PublicKey;
|
|
2223
|
+
mint: web3.PublicKey;
|
|
2224
|
+
};
|
|
2225
|
+
readonly kSOLMSOLRaydium: {
|
|
2226
|
+
pubkey: web3.PublicKey;
|
|
2227
|
+
mint: web3.PublicKey;
|
|
2228
|
+
};
|
|
2229
|
+
readonly bnSOL: {
|
|
2230
|
+
pubkey: web3.PublicKey;
|
|
2231
|
+
mint: web3.PublicKey;
|
|
2232
|
+
};
|
|
2233
|
+
readonly STEP: {
|
|
2234
|
+
pubkey: web3.PublicKey;
|
|
2235
|
+
mint: web3.PublicKey;
|
|
2236
|
+
};
|
|
2237
|
+
readonly kSOLJITOSOLOrca: {
|
|
2238
|
+
pubkey: web3.PublicKey;
|
|
2239
|
+
mint: web3.PublicKey;
|
|
2240
|
+
};
|
|
2241
|
+
readonly xSTEP: {
|
|
2242
|
+
pubkey: web3.PublicKey;
|
|
2243
|
+
mint: web3.PublicKey;
|
|
2244
|
+
};
|
|
2245
|
+
readonly UXD: {
|
|
2246
|
+
pubkey: web3.PublicKey;
|
|
2247
|
+
mint: web3.PublicKey;
|
|
2248
|
+
};
|
|
2249
|
+
readonly USDT: {
|
|
2250
|
+
pubkey: web3.PublicKey;
|
|
2251
|
+
mint: web3.PublicKey;
|
|
2252
|
+
};
|
|
2253
|
+
readonly bSOL: {
|
|
2254
|
+
pubkey: web3.PublicKey;
|
|
2255
|
+
mint: web3.PublicKey;
|
|
2256
|
+
};
|
|
2257
|
+
readonly jSOL: {
|
|
2258
|
+
pubkey: web3.PublicKey;
|
|
2259
|
+
mint: web3.PublicKey;
|
|
2260
|
+
};
|
|
2261
|
+
readonly laineSOL: {
|
|
2262
|
+
pubkey: web3.PublicKey;
|
|
2263
|
+
mint: web3.PublicKey;
|
|
2264
|
+
};
|
|
2265
|
+
readonly pSOL: {
|
|
2266
|
+
pubkey: web3.PublicKey;
|
|
2267
|
+
mint: web3.PublicKey;
|
|
2268
|
+
};
|
|
2269
|
+
readonly WBTC: {
|
|
2270
|
+
pubkey: web3.PublicKey;
|
|
2271
|
+
mint: web3.PublicKey;
|
|
2272
|
+
};
|
|
2273
|
+
readonly tBTC: {
|
|
2274
|
+
pubkey: web3.PublicKey;
|
|
2275
|
+
mint: web3.PublicKey;
|
|
2276
|
+
};
|
|
2277
|
+
readonly bonkSOL: {
|
|
2278
|
+
pubkey: web3.PublicKey;
|
|
2279
|
+
mint: web3.PublicKey;
|
|
2280
|
+
};
|
|
2281
|
+
readonly lanternSOL: {
|
|
2282
|
+
pubkey: web3.PublicKey;
|
|
2283
|
+
mint: web3.PublicKey;
|
|
2284
|
+
};
|
|
2285
|
+
};
|
|
2286
|
+
readonly JLP: {
|
|
2287
|
+
readonly USDT: {
|
|
2288
|
+
pubkey: web3.PublicKey;
|
|
2289
|
+
mint: web3.PublicKey;
|
|
2290
|
+
};
|
|
2291
|
+
readonly USD1: {
|
|
2292
|
+
pubkey: web3.PublicKey;
|
|
2293
|
+
mint: web3.PublicKey;
|
|
2294
|
+
};
|
|
2295
|
+
readonly USDG: {
|
|
2296
|
+
pubkey: web3.PublicKey;
|
|
2297
|
+
mint: web3.PublicKey;
|
|
2298
|
+
};
|
|
2299
|
+
readonly JLP: {
|
|
2300
|
+
pubkey: web3.PublicKey;
|
|
2301
|
+
mint: web3.PublicKey;
|
|
2302
|
+
};
|
|
2303
|
+
readonly SOL: {
|
|
2304
|
+
pubkey: web3.PublicKey;
|
|
2305
|
+
mint: web3.PublicKey;
|
|
2306
|
+
};
|
|
2307
|
+
readonly PYUSD: {
|
|
2308
|
+
pubkey: web3.PublicKey;
|
|
2309
|
+
mint: web3.PublicKey;
|
|
2310
|
+
};
|
|
2311
|
+
readonly USDC: {
|
|
2312
|
+
pubkey: web3.PublicKey;
|
|
2313
|
+
mint: web3.PublicKey;
|
|
2314
|
+
};
|
|
2315
|
+
};
|
|
2316
|
+
readonly ALTCOINS: {
|
|
2317
|
+
readonly GRASS: {
|
|
2318
|
+
pubkey: web3.PublicKey;
|
|
2319
|
+
mint: web3.PublicKey;
|
|
2320
|
+
};
|
|
2321
|
+
readonly MEW: {
|
|
2322
|
+
pubkey: web3.PublicKey;
|
|
2323
|
+
mint: web3.PublicKey;
|
|
2324
|
+
};
|
|
2325
|
+
readonly JUP: {
|
|
2326
|
+
pubkey: web3.PublicKey;
|
|
2327
|
+
mint: web3.PublicKey;
|
|
2328
|
+
};
|
|
2329
|
+
readonly POPCAT: {
|
|
2330
|
+
pubkey: web3.PublicKey;
|
|
2331
|
+
mint: web3.PublicKey;
|
|
2332
|
+
};
|
|
2333
|
+
readonly JTO: {
|
|
2334
|
+
pubkey: web3.PublicKey;
|
|
2335
|
+
mint: web3.PublicKey;
|
|
2336
|
+
};
|
|
2337
|
+
readonly DRIFT: {
|
|
2338
|
+
pubkey: web3.PublicKey;
|
|
2339
|
+
mint: web3.PublicKey;
|
|
2340
|
+
};
|
|
2341
|
+
readonly USDC: {
|
|
2342
|
+
pubkey: web3.PublicKey;
|
|
2343
|
+
mint: web3.PublicKey;
|
|
2344
|
+
};
|
|
2345
|
+
/** The existing LpPosition account public key. */
|
|
2346
|
+
readonly KMNO: {
|
|
2347
|
+
pubkey: web3.PublicKey;
|
|
2348
|
+
mint: web3.PublicKey;
|
|
2349
|
+
};
|
|
2350
|
+
readonly PRCL: {
|
|
2351
|
+
pubkey: web3.PublicKey;
|
|
2352
|
+
mint: web3.PublicKey;
|
|
2353
|
+
};
|
|
2354
|
+
readonly PENGU: {
|
|
2355
|
+
pubkey: web3.PublicKey;
|
|
2356
|
+
mint: web3.PublicKey;
|
|
2357
|
+
};
|
|
2358
|
+
readonly BONK: {
|
|
2359
|
+
pubkey: web3.PublicKey;
|
|
2360
|
+
mint: web3.PublicKey;
|
|
2361
|
+
};
|
|
2362
|
+
readonly PYUSD: {
|
|
2363
|
+
pubkey: web3.PublicKey;
|
|
2364
|
+
mint: web3.PublicKey;
|
|
2365
|
+
};
|
|
2366
|
+
readonly W: {
|
|
2367
|
+
pubkey: web3.PublicKey;
|
|
2368
|
+
mint: web3.PublicKey;
|
|
2369
|
+
};
|
|
2370
|
+
readonly TNSR: {
|
|
2371
|
+
pubkey: web3.PublicKey;
|
|
2372
|
+
mint: web3.PublicKey;
|
|
2373
|
+
};
|
|
2374
|
+
readonly GOAT: {
|
|
2375
|
+
pubkey: web3.PublicKey;
|
|
2376
|
+
mint: web3.PublicKey;
|
|
2377
|
+
};
|
|
2378
|
+
readonly WEN: {
|
|
2379
|
+
pubkey: web3.PublicKey;
|
|
2380
|
+
mint: web3.PublicKey;
|
|
2381
|
+
};
|
|
2382
|
+
/** Swap direction: SyToPt or PtToSy. */
|
|
2383
|
+
readonly USDH: {
|
|
2384
|
+
pubkey: web3.PublicKey;
|
|
2385
|
+
mint: web3.PublicKey;
|
|
2386
|
+
};
|
|
2387
|
+
readonly TRUMP: {
|
|
2388
|
+
pubkey: web3.PublicKey;
|
|
2389
|
+
mint: web3.PublicKey;
|
|
2390
|
+
};
|
|
2391
|
+
readonly WIF: {
|
|
2392
|
+
pubkey: web3.PublicKey;
|
|
2393
|
+
mint: web3.PublicKey;
|
|
2394
|
+
};
|
|
2395
|
+
readonly FWOG: {
|
|
2396
|
+
pubkey: web3.PublicKey;
|
|
2397
|
+
mint: web3.PublicKey;
|
|
2398
|
+
};
|
|
2399
|
+
readonly PYTH: {
|
|
2400
|
+
pubkey: web3.PublicKey;
|
|
2401
|
+
mint: web3.PublicKey;
|
|
2402
|
+
};
|
|
2403
|
+
readonly INF: {
|
|
2404
|
+
pubkey: web3.PublicKey;
|
|
2405
|
+
mint: web3.PublicKey;
|
|
2406
|
+
};
|
|
2407
|
+
};
|
|
2408
|
+
readonly ETHENA: {
|
|
2409
|
+
readonly USDe: {
|
|
2410
|
+
pubkey: web3.PublicKey;
|
|
2411
|
+
mint: web3.PublicKey;
|
|
2412
|
+
};
|
|
2413
|
+
readonly USDT: {
|
|
2414
|
+
pubkey: web3.PublicKey;
|
|
2415
|
+
mint: web3.PublicKey;
|
|
2416
|
+
};
|
|
2417
|
+
readonly USDC: {
|
|
2418
|
+
pubkey: web3.PublicKey;
|
|
2419
|
+
mint: web3.PublicKey;
|
|
2420
|
+
};
|
|
2421
|
+
readonly PYUSD: {
|
|
2422
|
+
pubkey: web3.PublicKey;
|
|
2423
|
+
mint: web3.PublicKey;
|
|
2424
|
+
};
|
|
2425
|
+
readonly sUSDe: {
|
|
2426
|
+
pubkey: web3.PublicKey;
|
|
2427
|
+
mint: web3.PublicKey;
|
|
2428
|
+
};
|
|
2429
|
+
};
|
|
2430
|
+
readonly JITO: {
|
|
2431
|
+
readonly kySOL: {
|
|
2432
|
+
pubkey: web3.PublicKey;
|
|
2433
|
+
mint: web3.PublicKey;
|
|
2434
|
+
};
|
|
2435
|
+
readonly SOL: {
|
|
2436
|
+
pubkey: web3.PublicKey;
|
|
2437
|
+
mint: web3.PublicKey;
|
|
2438
|
+
};
|
|
2439
|
+
readonly ezSOL: {
|
|
2440
|
+
pubkey: web3.PublicKey;
|
|
2441
|
+
mint: web3.PublicKey;
|
|
2442
|
+
};
|
|
2443
|
+
readonly JITOSOL: {
|
|
2444
|
+
pubkey: web3.PublicKey;
|
|
2445
|
+
mint: web3.PublicKey;
|
|
2446
|
+
};
|
|
2447
|
+
};
|
|
2448
|
+
readonly FARTCOIN: {
|
|
2449
|
+
readonly FARTCOIN: {
|
|
2450
|
+
pubkey: web3.PublicKey;
|
|
2451
|
+
mint: web3.PublicKey;
|
|
2452
|
+
};
|
|
2453
|
+
readonly USDC: {
|
|
2454
|
+
pubkey: web3.PublicKey;
|
|
2455
|
+
mint: web3.PublicKey;
|
|
2456
|
+
};
|
|
2457
|
+
readonly USDT: {
|
|
2458
|
+
pubkey: web3.PublicKey;
|
|
2459
|
+
mint: web3.PublicKey;
|
|
2460
|
+
};
|
|
2461
|
+
};
|
|
2462
|
+
readonly BITCOIN: {
|
|
2463
|
+
readonly WBTC: {
|
|
2464
|
+
pubkey: web3.PublicKey;
|
|
2465
|
+
mint: web3.PublicKey;
|
|
2466
|
+
};
|
|
2467
|
+
readonly zBTC: {
|
|
2468
|
+
pubkey: web3.PublicKey;
|
|
2469
|
+
mint: web3.PublicKey;
|
|
2470
|
+
};
|
|
2471
|
+
readonly USDC: {
|
|
2472
|
+
pubkey: web3.PublicKey;
|
|
2473
|
+
mint: web3.PublicKey;
|
|
2474
|
+
};
|
|
2475
|
+
readonly USDG: {
|
|
2476
|
+
pubkey: web3.PublicKey;
|
|
2477
|
+
mint: web3.PublicKey;
|
|
2478
|
+
};
|
|
2479
|
+
readonly USDT: {
|
|
2480
|
+
pubkey: web3.PublicKey;
|
|
2481
|
+
mint: web3.PublicKey;
|
|
2482
|
+
};
|
|
2483
|
+
readonly LBTC: {
|
|
2484
|
+
pubkey: web3.PublicKey;
|
|
2485
|
+
mint: web3.PublicKey;
|
|
2486
|
+
};
|
|
2487
|
+
readonly FDUSD: {
|
|
2488
|
+
pubkey: web3.PublicKey;
|
|
2489
|
+
mint: web3.PublicKey;
|
|
2490
|
+
};
|
|
2491
|
+
};
|
|
2492
|
+
readonly JUPITER: {
|
|
2493
|
+
readonly USDC: {
|
|
2494
|
+
pubkey: web3.PublicKey;
|
|
2495
|
+
mint: web3.PublicKey;
|
|
2496
|
+
};
|
|
2497
|
+
readonly JUP: {
|
|
2498
|
+
pubkey: web3.PublicKey;
|
|
2499
|
+
mint: web3.PublicKey;
|
|
2500
|
+
};
|
|
2501
|
+
readonly USDT: {
|
|
2502
|
+
pubkey: web3.PublicKey;
|
|
2503
|
+
mint: web3.PublicKey;
|
|
2504
|
+
};
|
|
2505
|
+
readonly USDG: {
|
|
2506
|
+
pubkey: web3.PublicKey;
|
|
2507
|
+
mint: web3.PublicKey;
|
|
2508
|
+
};
|
|
2509
|
+
};
|
|
2510
|
+
readonly JTO: {
|
|
2511
|
+
readonly JTO: {
|
|
2512
|
+
pubkey: web3.PublicKey;
|
|
2513
|
+
mint: web3.PublicKey;
|
|
2514
|
+
};
|
|
2515
|
+
readonly USDG: {
|
|
2516
|
+
pubkey: web3.PublicKey;
|
|
2517
|
+
mint: web3.PublicKey;
|
|
2518
|
+
};
|
|
2519
|
+
readonly USDT: {
|
|
2520
|
+
pubkey: web3.PublicKey;
|
|
2521
|
+
mint: web3.PublicKey;
|
|
2522
|
+
};
|
|
2523
|
+
readonly USDC: {
|
|
2524
|
+
pubkey: web3.PublicKey;
|
|
2525
|
+
mint: web3.PublicKey;
|
|
2526
|
+
};
|
|
2527
|
+
};
|
|
2528
|
+
readonly MARINADE: {
|
|
2529
|
+
readonly MSOL: {
|
|
2530
|
+
pubkey: web3.PublicKey;
|
|
2531
|
+
mint: web3.PublicKey;
|
|
2532
|
+
};
|
|
2533
|
+
readonly SOL: {
|
|
2534
|
+
pubkey: web3.PublicKey;
|
|
2535
|
+
mint: web3.PublicKey;
|
|
2536
|
+
};
|
|
2537
|
+
};
|
|
2538
|
+
readonly EXPONENT_PT_SOL: {
|
|
2539
|
+
readonly "PT-bulkSOL-26FEB26": {
|
|
2540
|
+
pubkey: web3.PublicKey;
|
|
2541
|
+
mint: web3.PublicKey;
|
|
2542
|
+
};
|
|
2543
|
+
readonly "PT-kySOL-14JUN25": {
|
|
2544
|
+
pubkey: web3.PublicKey;
|
|
2545
|
+
mint: web3.PublicKey;
|
|
2546
|
+
};
|
|
2547
|
+
readonly SOL: {
|
|
2548
|
+
pubkey: web3.PublicKey;
|
|
2549
|
+
mint: web3.PublicKey;
|
|
2550
|
+
};
|
|
2551
|
+
readonly fragSOL: {
|
|
2552
|
+
pubkey: web3.PublicKey;
|
|
2553
|
+
mint: web3.PublicKey;
|
|
2554
|
+
};
|
|
2555
|
+
readonly "PT-fragSOL-10JUL25": {
|
|
2556
|
+
pubkey: web3.PublicKey;
|
|
2557
|
+
mint: web3.PublicKey;
|
|
2558
|
+
};
|
|
2559
|
+
readonly "PT-fragSOL-12FEB26": {
|
|
2560
|
+
pubkey: web3.PublicKey;
|
|
2561
|
+
mint: web3.PublicKey;
|
|
2562
|
+
};
|
|
2563
|
+
readonly "PT-fragSOL-31OCT25": {
|
|
2564
|
+
pubkey: web3.PublicKey;
|
|
2565
|
+
mint: web3.PublicKey;
|
|
2566
|
+
};
|
|
2567
|
+
readonly "PT-kySOL-30SEP25": {
|
|
2568
|
+
pubkey: web3.PublicKey;
|
|
2569
|
+
mint: web3.PublicKey;
|
|
2570
|
+
};
|
|
2571
|
+
};
|
|
2572
|
+
readonly BONK: {
|
|
2573
|
+
readonly USDC: {
|
|
2574
|
+
pubkey: web3.PublicKey;
|
|
2575
|
+
mint: web3.PublicKey;
|
|
2576
|
+
};
|
|
2577
|
+
readonly USDT: {
|
|
2578
|
+
pubkey: web3.PublicKey;
|
|
2579
|
+
mint: web3.PublicKey;
|
|
2580
|
+
};
|
|
2581
|
+
readonly SOL: {
|
|
2582
|
+
pubkey: web3.PublicKey;
|
|
2583
|
+
mint: web3.PublicKey;
|
|
2584
|
+
};
|
|
2585
|
+
readonly bonkSOL: {
|
|
2586
|
+
pubkey: web3.PublicKey;
|
|
2587
|
+
mint: web3.PublicKey;
|
|
2588
|
+
};
|
|
2589
|
+
readonly USDG: {
|
|
2590
|
+
pubkey: web3.PublicKey;
|
|
2591
|
+
mint: web3.PublicKey;
|
|
2592
|
+
};
|
|
2593
|
+
readonly BONK: {
|
|
2594
|
+
pubkey: web3.PublicKey;
|
|
2595
|
+
mint: web3.PublicKey;
|
|
2596
|
+
};
|
|
2597
|
+
};
|
|
2598
|
+
readonly RSTSOL_BBSOL: {
|
|
2599
|
+
readonly bbSOL: {
|
|
2600
|
+
pubkey: web3.PublicKey;
|
|
2601
|
+
mint: web3.PublicKey;
|
|
2602
|
+
};
|
|
2603
|
+
readonly rstSOL: {
|
|
2604
|
+
pubkey: web3.PublicKey;
|
|
2605
|
+
mint: web3.PublicKey;
|
|
2606
|
+
};
|
|
2607
|
+
readonly SOL: {
|
|
2608
|
+
pubkey: web3.PublicKey;
|
|
2609
|
+
mint: web3.PublicKey;
|
|
2610
|
+
};
|
|
2611
|
+
};
|
|
2612
|
+
readonly MAPLE: {
|
|
2613
|
+
readonly PYUSD: {
|
|
2614
|
+
pubkey: web3.PublicKey;
|
|
2615
|
+
mint: web3.PublicKey;
|
|
2616
|
+
};
|
|
2617
|
+
readonly USDC: {
|
|
2618
|
+
pubkey: web3.PublicKey;
|
|
2619
|
+
mint: web3.PublicKey;
|
|
2620
|
+
};
|
|
2621
|
+
readonly syrupUSDC: {
|
|
2622
|
+
pubkey: web3.PublicKey;
|
|
2623
|
+
mint: web3.PublicKey;
|
|
2624
|
+
};
|
|
2625
|
+
readonly USDS: {
|
|
2626
|
+
pubkey: web3.PublicKey;
|
|
2627
|
+
mint: web3.PublicKey;
|
|
2628
|
+
};
|
|
2629
|
+
readonly CASH: {
|
|
2630
|
+
pubkey: web3.PublicKey;
|
|
2631
|
+
mint: web3.PublicKey;
|
|
2632
|
+
};
|
|
2633
|
+
readonly USD1: {
|
|
2634
|
+
pubkey: web3.PublicKey;
|
|
2635
|
+
mint: web3.PublicKey;
|
|
2636
|
+
};
|
|
2637
|
+
readonly USDG: {
|
|
2638
|
+
pubkey: web3.PublicKey;
|
|
2639
|
+
mint: web3.PublicKey;
|
|
2640
|
+
};
|
|
2641
|
+
};
|
|
2642
|
+
readonly HUMA: {
|
|
2643
|
+
readonly USDC: {
|
|
2644
|
+
pubkey: web3.PublicKey;
|
|
2645
|
+
mint: web3.PublicKey;
|
|
2646
|
+
};
|
|
2647
|
+
readonly USDS: {
|
|
2648
|
+
pubkey: web3.PublicKey;
|
|
2649
|
+
mint: web3.PublicKey;
|
|
2650
|
+
};
|
|
2651
|
+
readonly PST: {
|
|
2652
|
+
pubkey: web3.PublicKey;
|
|
2653
|
+
mint: web3.PublicKey;
|
|
2654
|
+
};
|
|
2655
|
+
readonly USDG: {
|
|
2656
|
+
pubkey: web3.PublicKey;
|
|
2657
|
+
mint: web3.PublicKey;
|
|
2658
|
+
};
|
|
2659
|
+
};
|
|
2660
|
+
readonly APOLLO: {
|
|
2661
|
+
readonly USDG: {
|
|
2662
|
+
pubkey: web3.PublicKey;
|
|
2663
|
+
mint: web3.PublicKey;
|
|
2664
|
+
};
|
|
2665
|
+
readonly sACRED: {
|
|
2666
|
+
pubkey: web3.PublicKey;
|
|
2667
|
+
mint: web3.PublicKey;
|
|
2668
|
+
};
|
|
2669
|
+
readonly USDC: {
|
|
2670
|
+
pubkey: web3.PublicKey;
|
|
2671
|
+
mint: web3.PublicKey;
|
|
2672
|
+
};
|
|
2673
|
+
};
|
|
2674
|
+
readonly ZEUS_BITCOIN: {
|
|
2675
|
+
readonly FDUSD: {
|
|
2676
|
+
pubkey: web3.PublicKey;
|
|
2677
|
+
mint: web3.PublicKey;
|
|
2678
|
+
};
|
|
2679
|
+
readonly USDC: {
|
|
2680
|
+
pubkey: web3.PublicKey;
|
|
2681
|
+
mint: web3.PublicKey;
|
|
2682
|
+
};
|
|
2683
|
+
readonly ZBTC: {
|
|
2684
|
+
pubkey: web3.PublicKey;
|
|
2685
|
+
mint: web3.PublicKey;
|
|
2686
|
+
};
|
|
2687
|
+
};
|
|
2688
|
+
readonly XSTOCKS: {
|
|
2689
|
+
readonly SPYx: {
|
|
2690
|
+
pubkey: web3.PublicKey;
|
|
2691
|
+
mint: web3.PublicKey;
|
|
2692
|
+
};
|
|
2693
|
+
readonly QQQx: {
|
|
2694
|
+
pubkey: web3.PublicKey;
|
|
2695
|
+
mint: web3.PublicKey;
|
|
2696
|
+
};
|
|
2697
|
+
readonly HOODx: {
|
|
2698
|
+
pubkey: web3.PublicKey;
|
|
2699
|
+
mint: web3.PublicKey;
|
|
2700
|
+
};
|
|
2701
|
+
readonly GOOGLx: {
|
|
2702
|
+
pubkey: web3.PublicKey;
|
|
2703
|
+
mint: web3.PublicKey;
|
|
2704
|
+
};
|
|
2705
|
+
readonly CRCLx: {
|
|
2706
|
+
pubkey: web3.PublicKey;
|
|
2707
|
+
mint: web3.PublicKey;
|
|
2708
|
+
};
|
|
2709
|
+
readonly cbBTC: {
|
|
2710
|
+
pubkey: web3.PublicKey;
|
|
2711
|
+
mint: web3.PublicKey;
|
|
2712
|
+
};
|
|
2713
|
+
readonly TSLAx: {
|
|
2714
|
+
pubkey: web3.PublicKey;
|
|
2715
|
+
mint: web3.PublicKey;
|
|
2716
|
+
};
|
|
2717
|
+
readonly NVDAx: {
|
|
2718
|
+
pubkey: web3.PublicKey;
|
|
2719
|
+
mint: web3.PublicKey;
|
|
2720
|
+
};
|
|
2721
|
+
readonly USDC: {
|
|
2722
|
+
pubkey: web3.PublicKey;
|
|
2723
|
+
mint: web3.PublicKey;
|
|
2724
|
+
};
|
|
2725
|
+
readonly METAx: {
|
|
2726
|
+
pubkey: web3.PublicKey;
|
|
2727
|
+
mint: web3.PublicKey;
|
|
2728
|
+
};
|
|
2729
|
+
readonly AAPLx: {
|
|
2730
|
+
pubkey: web3.PublicKey;
|
|
2731
|
+
mint: web3.PublicKey;
|
|
2732
|
+
};
|
|
2733
|
+
readonly MSTRx: {
|
|
2734
|
+
pubkey: web3.PublicKey;
|
|
2735
|
+
mint: web3.PublicKey;
|
|
2736
|
+
};
|
|
2737
|
+
readonly USDG: {
|
|
2738
|
+
pubkey: web3.PublicKey;
|
|
2739
|
+
mint: web3.PublicKey;
|
|
2740
|
+
};
|
|
2741
|
+
};
|
|
2742
|
+
readonly ONRE: {
|
|
2743
|
+
readonly AUSD: {
|
|
2744
|
+
pubkey: web3.PublicKey;
|
|
2745
|
+
mint: web3.PublicKey;
|
|
2746
|
+
};
|
|
2747
|
+
readonly USDS: {
|
|
2748
|
+
pubkey: web3.PublicKey;
|
|
2749
|
+
mint: web3.PublicKey;
|
|
2750
|
+
};
|
|
2751
|
+
readonly ONyc: {
|
|
2752
|
+
pubkey: web3.PublicKey;
|
|
2753
|
+
mint: web3.PublicKey;
|
|
2754
|
+
};
|
|
2755
|
+
readonly USDC: {
|
|
2756
|
+
pubkey: web3.PublicKey;
|
|
2757
|
+
mint: web3.PublicKey;
|
|
2758
|
+
};
|
|
2759
|
+
readonly USDG: {
|
|
2760
|
+
pubkey: web3.PublicKey;
|
|
2761
|
+
mint: web3.PublicKey;
|
|
2762
|
+
};
|
|
2763
|
+
};
|
|
2764
|
+
readonly PUMP: {
|
|
2765
|
+
readonly PUMP: {
|
|
2766
|
+
pubkey: web3.PublicKey;
|
|
2767
|
+
mint: web3.PublicKey;
|
|
2768
|
+
};
|
|
2769
|
+
readonly USDC: {
|
|
2770
|
+
pubkey: web3.PublicKey;
|
|
2771
|
+
mint: web3.PublicKey;
|
|
2772
|
+
};
|
|
2773
|
+
readonly USDG: {
|
|
2774
|
+
pubkey: web3.PublicKey;
|
|
2775
|
+
mint: web3.PublicKey;
|
|
2776
|
+
};
|
|
2777
|
+
};
|
|
2778
|
+
readonly SOLSTICE: {
|
|
2779
|
+
readonly "PT-eUSX-01JUN26": {
|
|
2780
|
+
pubkey: web3.PublicKey;
|
|
2781
|
+
mint: web3.PublicKey;
|
|
2782
|
+
};
|
|
2783
|
+
readonly "PT-eUSX-11MAR26": {
|
|
2784
|
+
pubkey: web3.PublicKey;
|
|
2785
|
+
mint: web3.PublicKey;
|
|
2786
|
+
};
|
|
2787
|
+
readonly USDC: {
|
|
2788
|
+
pubkey: web3.PublicKey;
|
|
2789
|
+
mint: web3.PublicKey;
|
|
2790
|
+
};
|
|
2791
|
+
readonly eUSX: {
|
|
2792
|
+
pubkey: web3.PublicKey;
|
|
2793
|
+
mint: web3.PublicKey;
|
|
2794
|
+
};
|
|
2795
|
+
readonly "PT-USX-01JUN26": {
|
|
2796
|
+
pubkey: web3.PublicKey;
|
|
2797
|
+
mint: web3.PublicKey;
|
|
2798
|
+
};
|
|
2799
|
+
readonly "PT-USX-9FEB26": {
|
|
2800
|
+
pubkey: web3.PublicKey;
|
|
2801
|
+
mint: web3.PublicKey;
|
|
2802
|
+
};
|
|
2803
|
+
readonly USX: {
|
|
2804
|
+
pubkey: web3.PublicKey;
|
|
2805
|
+
mint: web3.PublicKey;
|
|
2806
|
+
};
|
|
2807
|
+
};
|
|
2808
|
+
readonly SUPERSTATE: {
|
|
2809
|
+
readonly FWDI: {
|
|
2810
|
+
pubkey: web3.PublicKey;
|
|
2811
|
+
mint: web3.PublicKey;
|
|
2812
|
+
};
|
|
2813
|
+
readonly GLXY: {
|
|
2814
|
+
pubkey: web3.PublicKey;
|
|
2815
|
+
mint: web3.PublicKey;
|
|
2816
|
+
};
|
|
2817
|
+
readonly "USDC-Dep": {
|
|
2818
|
+
pubkey: web3.PublicKey;
|
|
2819
|
+
mint: web3.PublicKey;
|
|
2820
|
+
};
|
|
2821
|
+
readonly USDC: {
|
|
2822
|
+
pubkey: web3.PublicKey;
|
|
2823
|
+
mint: web3.PublicKey;
|
|
2824
|
+
};
|
|
2825
|
+
readonly USCC: {
|
|
2826
|
+
pubkey: web3.PublicKey;
|
|
2827
|
+
mint: web3.PublicKey;
|
|
2828
|
+
};
|
|
2829
|
+
};
|
|
2830
|
+
readonly FIGURE: {
|
|
2831
|
+
readonly PYUSD: {
|
|
2832
|
+
pubkey: web3.PublicKey;
|
|
2833
|
+
mint: web3.PublicKey;
|
|
2834
|
+
};
|
|
2835
|
+
readonly wYLDS: {
|
|
2836
|
+
pubkey: web3.PublicKey;
|
|
2837
|
+
mint: web3.PublicKey;
|
|
2838
|
+
};
|
|
2839
|
+
readonly USDS: {
|
|
2840
|
+
pubkey: web3.PublicKey;
|
|
2841
|
+
mint: web3.PublicKey;
|
|
2842
|
+
};
|
|
2843
|
+
readonly USDC: {
|
|
2844
|
+
pubkey: web3.PublicKey;
|
|
2845
|
+
mint: web3.PublicKey;
|
|
2846
|
+
};
|
|
2847
|
+
readonly PRIME: {
|
|
2848
|
+
pubkey: web3.PublicKey;
|
|
2849
|
+
mint: web3.PublicKey;
|
|
2850
|
+
};
|
|
2851
|
+
readonly CASH: {
|
|
2852
|
+
pubkey: web3.PublicKey;
|
|
2853
|
+
mint: web3.PublicKey;
|
|
2854
|
+
};
|
|
2855
|
+
};
|
|
2856
|
+
readonly GM_SANCTUM: {
|
|
2857
|
+
readonly dfdvSOL: {
|
|
2858
|
+
pubkey: web3.PublicKey;
|
|
2859
|
+
mint: web3.PublicKey;
|
|
2860
|
+
};
|
|
2861
|
+
readonly INF: {
|
|
2862
|
+
pubkey: web3.PublicKey;
|
|
2863
|
+
mint: web3.PublicKey;
|
|
2864
|
+
};
|
|
2865
|
+
readonly SOL: {
|
|
2866
|
+
pubkey: web3.PublicKey;
|
|
2867
|
+
mint: web3.PublicKey;
|
|
2868
|
+
};
|
|
2869
|
+
};
|
|
2870
|
+
readonly GM_SOLBLAZE: {
|
|
2871
|
+
readonly SOL: {
|
|
2872
|
+
pubkey: web3.PublicKey;
|
|
2873
|
+
mint: web3.PublicKey;
|
|
2874
|
+
};
|
|
2875
|
+
readonly BSOL: {
|
|
2876
|
+
pubkey: web3.PublicKey;
|
|
2877
|
+
mint: web3.PublicKey;
|
|
2878
|
+
};
|
|
2879
|
+
};
|
|
2880
|
+
readonly ADRENA: {
|
|
2881
|
+
readonly USDC: {
|
|
2882
|
+
pubkey: web3.PublicKey;
|
|
2883
|
+
mint: web3.PublicKey;
|
|
2884
|
+
};
|
|
2885
|
+
readonly ALP: {
|
|
2886
|
+
pubkey: web3.PublicKey;
|
|
2887
|
+
mint: web3.PublicKey;
|
|
2888
|
+
};
|
|
2889
|
+
};
|
|
2890
|
+
readonly FLASH_TRADE: {
|
|
2891
|
+
readonly USDC: {
|
|
2892
|
+
pubkey: web3.PublicKey;
|
|
2893
|
+
mint: web3.PublicKey;
|
|
2894
|
+
};
|
|
2895
|
+
readonly FLP: {
|
|
2896
|
+
pubkey: web3.PublicKey;
|
|
2897
|
+
mint: web3.PublicKey;
|
|
2898
|
+
};
|
|
2899
|
+
};
|
|
2900
|
+
readonly METAPLEX: {
|
|
2901
|
+
readonly USDC: {
|
|
2902
|
+
pubkey: web3.PublicKey;
|
|
2903
|
+
mint: web3.PublicKey;
|
|
2904
|
+
};
|
|
2905
|
+
readonly MPLX: {
|
|
2906
|
+
pubkey: web3.PublicKey;
|
|
2907
|
+
mint: web3.PublicKey;
|
|
2908
|
+
};
|
|
2909
|
+
};
|
|
2910
|
+
}[M_3], amount: BN): ReserveInstruction;
|
|
2911
|
+
};
|
|
2912
|
+
/**
|
|
2913
|
+
* Result of building a vault sync transaction.
|
|
2914
|
+
*
|
|
2915
|
+
* Refresh instructions (refreshReserve, refreshObligation, refreshFarms) are
|
|
2916
|
+
* permissionless and must be sent as top-level instructions — KLend's
|
|
2917
|
+
* `check_refresh` validates them by introspecting the instruction sysvar,
|
|
2918
|
+
* which only contains top-level instructions. Instructions that require the
|
|
2919
|
+
* Squads vault signature (init, deposit, withdraw, etc.) go inside the sync
|
|
2920
|
+
* transaction.
|
|
2921
|
+
*
|
|
2922
|
+
* `check_refresh` requires farm refresh instructions both BEFORE and AFTER
|
|
2923
|
+
* the deposit instruction. Send as:
|
|
2924
|
+
* `[...setupInstructions, ...preInstructions, instruction, ...postInstructions]`
|
|
2925
|
+
*/
|
|
2926
|
+
export interface VaultSyncTransactionResult {
|
|
2927
|
+
/** Setup instructions that must run before any refresh/sync instructions */
|
|
2928
|
+
setupInstructions: TransactionInstruction[];
|
|
2929
|
+
/** Permissionless instructions that must be top-level before the sync tx */
|
|
2930
|
+
preInstructions: TransactionInstruction[];
|
|
2931
|
+
/** The Squads sync transaction instruction (wraps vault-signed instructions) */
|
|
2932
|
+
instruction: TransactionInstruction;
|
|
2933
|
+
/** Permissionless instructions that must be top-level after the sync tx (farm refreshes) */
|
|
2934
|
+
postInstructions: TransactionInstruction[];
|
|
2935
|
+
/** Extra signers required by the transaction (e.g., new LP position keypair from CLMM deposit). */
|
|
2936
|
+
signers: web3.Signer[];
|
|
2937
|
+
/** ALT addresses that should be loaded and included in the versioned transaction's lookup tables. */
|
|
2938
|
+
addressLookupTableAddresses: PublicKey[];
|
|
2939
|
+
}
|
|
2940
|
+
/**
|
|
2941
|
+
* Build vault instructions and wrap them in a Squads sync transaction.
|
|
2942
|
+
*
|
|
2943
|
+
* Takes high-level `VaultInstruction` descriptors (built with `kamino.*`),
|
|
2944
|
+
* resolves them to raw Solana instructions, then separates them:
|
|
2945
|
+
* - Permissionless refresh instructions → `preInstructions` (top-level)
|
|
2946
|
+
* - Vault-signed instructions → `instruction` (Squads sync transaction)
|
|
2947
|
+
*
|
|
2948
|
+
* KLend's `check_refresh` requires refreshReserve to be a top-level instruction
|
|
2949
|
+
* so it can be found via the instruction sysvar.
|
|
2950
|
+
*
|
|
2951
|
+
* @returns `{ setupInstructions, preInstructions, instruction, postInstructions, signers, addressLookupTableAddresses }`
|
|
2952
|
+
*
|
|
2953
|
+
* @example
|
|
2954
|
+
* ```ts
|
|
2955
|
+
* const { setupInstructions, preInstructions, instruction, postInstructions, signers, addressLookupTableAddresses } = await createVaultSyncTransaction({
|
|
2956
|
+
* instructions: [
|
|
2957
|
+
* kamino.initUserMetadata(KaminoMarket.MAIN),
|
|
2958
|
+
* kamino.initObligation(KaminoMarket.MAIN),
|
|
2959
|
+
* kamino.deposit(KaminoMarket.MAIN, "USDC", new BN(1_000_000)),
|
|
2960
|
+
* ],
|
|
2961
|
+
* owner: vaultPda,
|
|
2962
|
+
* connection,
|
|
2963
|
+
* policyPda,
|
|
2964
|
+
* vaultPda,
|
|
2965
|
+
* signer: wallet.publicKey,
|
|
2966
|
+
* vaultAddress: VAULT_ADDRESS,
|
|
2967
|
+
* })
|
|
2968
|
+
* // Send: [...setupInstructions, ...preInstructions, instruction, ...postInstructions]
|
|
2969
|
+
* ```
|
|
2970
|
+
*/
|
|
2971
|
+
export declare function createVaultSyncTransaction({ instructions, owner, connection, policyPda, vaultPda, signer, accountIndex, constraintIndices, vaultAddress, leadingAccounts, preHookAccounts, postHookAccounts, squadsProgram, }: {
|
|
2972
|
+
instructions: VaultInstruction[];
|
|
2973
|
+
owner: PublicKey;
|
|
2974
|
+
connection: Connection;
|
|
2975
|
+
policyPda?: PublicKey;
|
|
2976
|
+
vaultPda: PublicKey;
|
|
2977
|
+
signer: PublicKey;
|
|
2978
|
+
accountIndex?: number;
|
|
2979
|
+
constraintIndices?: number[];
|
|
2980
|
+
/** ExponentStrategyVault PDA — used to auto-resolve hook accounts from the on-chain policy */
|
|
2981
|
+
vaultAddress?: PublicKey;
|
|
2982
|
+
leadingAccounts?: PublicKey[] | AccountMeta[];
|
|
2983
|
+
preHookAccounts?: PublicKey[] | AccountMeta[];
|
|
2984
|
+
postHookAccounts?: PublicKey[] | AccountMeta[];
|
|
2985
|
+
squadsProgram?: PublicKey;
|
|
2986
|
+
}): Promise<VaultSyncTransactionResult>;
|
|
2987
|
+
/**
|
|
2988
|
+
* Builder for Exponent Orderbook vault action descriptors.
|
|
2989
|
+
*
|
|
2990
|
+
* Each method returns an `OrderbookInstruction` that describes what to do.
|
|
2991
|
+
* Pass these to `createVaultSyncTransaction` which resolves them into
|
|
2992
|
+
* raw Solana instructions and wraps them in a Squads sync transaction.
|
|
2993
|
+
*
|
|
2994
|
+
* @example
|
|
2995
|
+
* ```ts
|
|
2996
|
+
* import { orderbookAction, createVaultSyncTransaction, OrderbookTradeDirection } from "@exponent-labs/exponent-sdk"
|
|
2997
|
+
*
|
|
2998
|
+
* const { instruction, preInstructions } = await createVaultSyncTransaction({
|
|
2999
|
+
* instructions: [
|
|
3000
|
+
* orderbookAction.postOffer({
|
|
3001
|
+
* orderbook: ORDERBOOK_ADDRESS,
|
|
3002
|
+
* direction: OrderbookTradeDirection.BUY_PT,
|
|
3003
|
+
* priceApy: 0.10,
|
|
3004
|
+
* amount: 1_000_000n,
|
|
3005
|
+
* }),
|
|
3006
|
+
* ],
|
|
3007
|
+
* owner: squadsVault,
|
|
3008
|
+
* connection,
|
|
3009
|
+
* policyPda,
|
|
3010
|
+
* vaultPda: squadsVault,
|
|
3011
|
+
* signer: walletPublicKey,
|
|
3012
|
+
* })
|
|
3013
|
+
* ```
|
|
3014
|
+
*/
|
|
3015
|
+
export declare const orderbookAction: {
|
|
3016
|
+
/**
|
|
3017
|
+
* Post a limit order on the orderbook.
|
|
3018
|
+
* @param params - Order parameters
|
|
3019
|
+
* @param params.offerIdx - Required offer index for position tracking. Must be unique per trader.
|
|
3020
|
+
*/
|
|
3021
|
+
postOffer(params: {
|
|
3022
|
+
orderbook: PublicKey;
|
|
3023
|
+
direction: OrderbookTradeDirection;
|
|
3024
|
+
priceApy: number;
|
|
3025
|
+
amount: bigint;
|
|
3026
|
+
/** Required offer index for position tracking. Must be unique per trader. */
|
|
3027
|
+
offerIdx: number;
|
|
3028
|
+
offerOption?: OrderbookOfferOption;
|
|
3029
|
+
virtualOffer?: boolean;
|
|
3030
|
+
expirySeconds?: number;
|
|
3031
|
+
mode?: OrderbookInstructionMode;
|
|
3032
|
+
}): OrderbookPostOfferInstruction;
|
|
3033
|
+
/**
|
|
3034
|
+
* Execute a market order on the orderbook.
|
|
3035
|
+
* @param params - Order parameters
|
|
3036
|
+
*/
|
|
3037
|
+
marketOffer(params: {
|
|
3038
|
+
orderbook: PublicKey;
|
|
3039
|
+
direction: OrderbookTradeDirection;
|
|
3040
|
+
maxPriceApy: number;
|
|
3041
|
+
amount: bigint;
|
|
3042
|
+
minAmountOut: bigint;
|
|
3043
|
+
virtualOffer?: boolean;
|
|
3044
|
+
mode?: OrderbookInstructionMode;
|
|
3045
|
+
}): OrderbookMarketOfferInstruction;
|
|
3046
|
+
/**
|
|
3047
|
+
* Cancel an existing limit order.
|
|
3048
|
+
* @param params - Cancel parameters
|
|
3049
|
+
*/
|
|
3050
|
+
removeOffer(params: {
|
|
3051
|
+
orderbook: PublicKey;
|
|
3052
|
+
offerIdx: number;
|
|
3053
|
+
}): OrderbookRemoveOfferInstruction;
|
|
3054
|
+
/**
|
|
3055
|
+
* Withdraw funds from user escrow to token accounts.
|
|
3056
|
+
* @param params - Withdraw parameters (null amounts = withdraw max)
|
|
3057
|
+
*/
|
|
3058
|
+
withdrawFunds(params: {
|
|
3059
|
+
orderbook: PublicKey;
|
|
3060
|
+
ptAmount?: bigint | null;
|
|
3061
|
+
ytAmount?: bigint | null;
|
|
3062
|
+
syAmount?: bigint | null;
|
|
3063
|
+
}): OrderbookWithdrawFundsInstruction;
|
|
3064
|
+
};
|
|
3065
|
+
export declare const syAction: {
|
|
3066
|
+
mint(params: {
|
|
3067
|
+
vault: PublicKey;
|
|
3068
|
+
amountBase: bigint;
|
|
3069
|
+
}): SyMintInstruction;
|
|
3070
|
+
redeem(params: {
|
|
3071
|
+
vault: PublicKey;
|
|
3072
|
+
amountSy: bigint;
|
|
3073
|
+
}): SyRedeemInstruction;
|
|
3074
|
+
};
|
|
3075
|
+
/**
|
|
3076
|
+
* Builder for Exponent Core strip/merge action descriptors.
|
|
3077
|
+
*
|
|
3078
|
+
* Each method returns a `CoreInstruction` that describes what to do.
|
|
3079
|
+
* Pass these to `createVaultSyncTransaction` which resolves them into
|
|
3080
|
+
* raw Solana instructions and wraps them in a Squads sync transaction.
|
|
3081
|
+
*
|
|
3082
|
+
* @example
|
|
3083
|
+
* ```ts
|
|
3084
|
+
* import { coreAction, createVaultSyncTransaction } from "@exponent-labs/exponent-sdk"
|
|
3085
|
+
*
|
|
3086
|
+
* const { instruction, preInstructions } = await createVaultSyncTransaction({
|
|
3087
|
+
* instructions: [
|
|
3088
|
+
* coreAction.strip({
|
|
3089
|
+
* vault: VAULT_ADDRESS,
|
|
3090
|
+
* amountBase: 1_000_000_000n, // 1 SOL worth
|
|
3091
|
+
* }),
|
|
3092
|
+
* ],
|
|
3093
|
+
* owner: squadsVault,
|
|
3094
|
+
* connection,
|
|
3095
|
+
* policyPda,
|
|
3096
|
+
* vaultPda: squadsVault,
|
|
3097
|
+
* signer: walletPublicKey,
|
|
3098
|
+
* })
|
|
3099
|
+
* ```
|
|
3100
|
+
*/
|
|
3101
|
+
export declare const coreAction: {
|
|
3102
|
+
/**
|
|
3103
|
+
* Strip LST (base token) into PT + YT.
|
|
3104
|
+
* @param params - Strip parameters
|
|
3105
|
+
*/
|
|
3106
|
+
strip(params: {
|
|
3107
|
+
/** The Exponent vault address */
|
|
3108
|
+
vault: PublicKey;
|
|
3109
|
+
/** Amount of base token (LST) to strip - in base token units */
|
|
3110
|
+
amountBase: bigint;
|
|
3111
|
+
}): CoreStripInstruction;
|
|
3112
|
+
/**
|
|
3113
|
+
* Merge PT + YT into LST (base token).
|
|
3114
|
+
* Requires equal amounts of PT and YT.
|
|
3115
|
+
* @param params - Merge parameters
|
|
3116
|
+
*/
|
|
3117
|
+
merge(params: {
|
|
3118
|
+
/** The Exponent vault address */
|
|
3119
|
+
vault: PublicKey;
|
|
3120
|
+
/** Amount of PT/YT to merge (must have equal amounts of both) */
|
|
3121
|
+
amountPy: bigint;
|
|
3122
|
+
}): CoreMergeInstruction;
|
|
3123
|
+
/**
|
|
3124
|
+
* Withdraw YT from the tracked yield position into the owner's YT token account.
|
|
3125
|
+
* Useful before wrapper_merge, which consumes YT from the token account.
|
|
3126
|
+
*/
|
|
3127
|
+
withdrawYt(params: {
|
|
3128
|
+
/** The Exponent vault address */
|
|
3129
|
+
vault: PublicKey;
|
|
3130
|
+
/** Amount of YT to withdraw */
|
|
3131
|
+
amountYt: bigint;
|
|
3132
|
+
}): CoreWithdrawYtInstruction;
|
|
3133
|
+
/**
|
|
3134
|
+
* Deposit YT from the owner's YT token account back into the tracked yield position.
|
|
3135
|
+
* Use this to ensure idle YT continues earning yield.
|
|
3136
|
+
*/
|
|
3137
|
+
depositYt(params: {
|
|
3138
|
+
/** The Exponent vault address */
|
|
3139
|
+
vault: PublicKey;
|
|
3140
|
+
/** Amount of YT to deposit */
|
|
3141
|
+
amountYt: bigint;
|
|
3142
|
+
}): CoreDepositYtInstruction;
|
|
3143
|
+
/**
|
|
3144
|
+
* Initialize yield position for the Squads vault (owner).
|
|
3145
|
+
* Required before buying YT or depositing YT.
|
|
3146
|
+
*/
|
|
3147
|
+
initializeYieldPosition(params: {
|
|
3148
|
+
vault: PublicKey;
|
|
3149
|
+
}): CoreInitializeYieldPositionInstruction;
|
|
3150
|
+
};
|
|
3151
|
+
/**
|
|
3152
|
+
* Build orderbook instructions and wrap them in a Squads sync transaction.
|
|
3153
|
+
*
|
|
3154
|
+
* Takes high-level `OrderbookInstruction` descriptors (built with `orderbookAction.*`),
|
|
3155
|
+
* loads the orderbook SDK, resolves them to raw Solana instructions, and wraps them
|
|
3156
|
+
* in a Squads sync transaction.
|
|
3157
|
+
*
|
|
3158
|
+
* @returns `{ setupInstructions, preInstructions, instruction, postInstructions }` — include all in your transaction
|
|
3159
|
+
*
|
|
3160
|
+
* @example
|
|
3161
|
+
* ```ts
|
|
3162
|
+
* const { setupInstructions, preInstructions, instruction, postInstructions } = await createOrderbookSyncTransaction({
|
|
3163
|
+
* instructions: [
|
|
3164
|
+
* orderbookAction.postOffer({
|
|
3165
|
+
* orderbook: ORDERBOOK_ADDRESS,
|
|
3166
|
+
* direction: OrderbookTradeDirection.BUY_PT,
|
|
3167
|
+
* priceApy: 0.10,
|
|
3168
|
+
* amount: 1_000_000n,
|
|
3169
|
+
* }),
|
|
3170
|
+
* ],
|
|
3171
|
+
* owner: squadsVault,
|
|
3172
|
+
* connection,
|
|
3173
|
+
* policyPda,
|
|
3174
|
+
* vaultPda: squadsVault,
|
|
3175
|
+
* signer: wallet.publicKey,
|
|
3176
|
+
* vaultAddress: VAULT_ADDRESS,
|
|
3177
|
+
* })
|
|
3178
|
+
* // Send: [...setupInstructions, ...preInstructions, instruction, ...postInstructions]
|
|
3179
|
+
* ```
|
|
3180
|
+
*/
|
|
3181
|
+
export declare function createOrderbookSyncTransaction({ instructions, owner, connection, policyPda, vaultPda, signer, accountIndex, constraintIndices, vaultAddress, leadingAccounts, preHookAccounts, postHookAccounts, squadsProgram, env, }: {
|
|
3182
|
+
instructions: OrderbookInstruction[];
|
|
3183
|
+
owner: PublicKey;
|
|
3184
|
+
connection: Connection;
|
|
3185
|
+
policyPda?: PublicKey;
|
|
3186
|
+
vaultPda: PublicKey;
|
|
3187
|
+
signer: PublicKey;
|
|
3188
|
+
accountIndex?: number;
|
|
3189
|
+
constraintIndices?: number[];
|
|
3190
|
+
/** ExponentStrategyVault PDA — used to auto-resolve hook accounts from the on-chain policy */
|
|
3191
|
+
vaultAddress?: PublicKey;
|
|
3192
|
+
leadingAccounts?: PublicKey[] | AccountMeta[];
|
|
3193
|
+
preHookAccounts?: PublicKey[] | AccountMeta[];
|
|
3194
|
+
postHookAccounts?: PublicKey[] | AccountMeta[];
|
|
3195
|
+
squadsProgram?: PublicKey;
|
|
3196
|
+
env?: Environment;
|
|
3197
|
+
}): Promise<VaultSyncTransactionResult>;
|
|
3198
|
+
/**
|
|
3199
|
+
* Builder for Titan swap vault action descriptors.
|
|
3200
|
+
*
|
|
3201
|
+
* Since Titan swap instructions contain complex routing data from Titan's API,
|
|
3202
|
+
* you pass a pre-built `TransactionInstruction` and we wrap it in a sync transaction.
|
|
3203
|
+
*
|
|
3204
|
+
* @example
|
|
3205
|
+
* ```ts
|
|
3206
|
+
* import { titanAction, createVaultSyncTransaction } from "@exponent-labs/exponent-sdk"
|
|
3207
|
+
*
|
|
3208
|
+
* const { setupInstructions, instruction } = await createVaultSyncTransaction({
|
|
3209
|
+
* instructions: [titanAction.swap({ instruction: titanSwapIx })],
|
|
3210
|
+
* owner: squadsVault,
|
|
3211
|
+
* connection,
|
|
3212
|
+
* policyPda,
|
|
3213
|
+
* vaultPda: squadsVault,
|
|
3214
|
+
* signer: wallet.publicKey,
|
|
3215
|
+
* vaultAddress: VAULT_ADDRESS,
|
|
3216
|
+
* })
|
|
3217
|
+
* ```
|
|
3218
|
+
*/
|
|
3219
|
+
export declare const titanAction: {
|
|
3220
|
+
/**
|
|
3221
|
+
* Wrap a Titan SwapRouteV2 instruction for vault execution.
|
|
3222
|
+
* @param params.instruction - Pre-built TransactionInstruction from Titan's router API
|
|
3223
|
+
*/
|
|
3224
|
+
swap(params: {
|
|
3225
|
+
instruction: TransactionInstruction;
|
|
3226
|
+
}): TitanSwapInstruction;
|
|
3227
|
+
};
|
|
3228
|
+
/**
|
|
3229
|
+
* Builder for Loopscale vault action descriptors.
|
|
3230
|
+
*
|
|
3231
|
+
* Loans (BORROWER side): create/close loan, deposit/withdraw collateral, borrow/repay principal.
|
|
3232
|
+
* Strategies (LENDER side): create/close strategy, deposit/withdraw into strategy.
|
|
3233
|
+
*
|
|
3234
|
+
* Since Loopscale instructions come from the Loopscale API (which also
|
|
3235
|
+
* handles `bs_auth` co-signing), you pass pre-built `TransactionInstruction`s
|
|
3236
|
+
* and we wrap them in a sync transaction.
|
|
3237
|
+
*
|
|
3238
|
+
* @example
|
|
3239
|
+
* ```ts
|
|
3240
|
+
* import { loopscaleAction, createVaultSyncTransaction } from "@exponent-labs/exponent-sdk"
|
|
3241
|
+
*
|
|
3242
|
+
* const { instruction } = await createVaultSyncTransaction({
|
|
3243
|
+
* instructions: [
|
|
3244
|
+
* loopscaleAction.createLoan({ instruction: createLoanIx }),
|
|
3245
|
+
* loopscaleAction.depositCollateral({ instruction: depositIx }),
|
|
3246
|
+
* loopscaleAction.borrowPrincipal({ instruction: borrowIx }),
|
|
3247
|
+
* ],
|
|
3248
|
+
* owner: squadsSettings,
|
|
3249
|
+
* connection,
|
|
3250
|
+
* policyPda,
|
|
3251
|
+
* vaultPda: squadsVault,
|
|
3252
|
+
* signer: wallet.publicKey,
|
|
3253
|
+
* vaultAddress,
|
|
3254
|
+
* })
|
|
3255
|
+
* ```
|
|
3256
|
+
*/
|
|
3257
|
+
export declare const loopscaleAction: {
|
|
3258
|
+
createLoan(params: {
|
|
3259
|
+
instruction: TransactionInstruction;
|
|
3260
|
+
}): LoopscaleInstruction;
|
|
3261
|
+
depositCollateral(params: {
|
|
3262
|
+
instruction: TransactionInstruction;
|
|
3263
|
+
}): LoopscaleInstruction;
|
|
3264
|
+
borrowPrincipal(params: {
|
|
3265
|
+
instruction: TransactionInstruction;
|
|
3266
|
+
}): LoopscaleInstruction;
|
|
3267
|
+
repayPrincipal(params: {
|
|
3268
|
+
instruction: TransactionInstruction;
|
|
3269
|
+
}): LoopscaleInstruction;
|
|
3270
|
+
withdrawCollateral(params: {
|
|
3271
|
+
instruction: TransactionInstruction;
|
|
3272
|
+
}): LoopscaleInstruction;
|
|
3273
|
+
closeLoan(params: {
|
|
3274
|
+
instruction: TransactionInstruction;
|
|
3275
|
+
}): LoopscaleInstruction;
|
|
3276
|
+
/** Assign collateral fractions to ledgers (BORROWER side). Must call before borrow_principal. */
|
|
3277
|
+
updateWeightMatrix(params: {
|
|
3278
|
+
instruction: TransactionInstruction;
|
|
3279
|
+
}): LoopscaleInstruction;
|
|
3280
|
+
createStrategy(params: {
|
|
3281
|
+
instruction: TransactionInstruction;
|
|
3282
|
+
}): LoopscaleInstruction;
|
|
3283
|
+
depositStrategy(params: {
|
|
3284
|
+
instruction: TransactionInstruction;
|
|
3285
|
+
}): LoopscaleInstruction;
|
|
3286
|
+
withdrawStrategy(params: {
|
|
3287
|
+
instruction: TransactionInstruction;
|
|
3288
|
+
}): LoopscaleInstruction;
|
|
3289
|
+
closeStrategy(params: {
|
|
3290
|
+
instruction: TransactionInstruction;
|
|
3291
|
+
}): LoopscaleInstruction;
|
|
3292
|
+
/** Configure collateral terms on a strategy (LENDER side). */
|
|
3293
|
+
updateStrategy(params: {
|
|
3294
|
+
instruction: TransactionInstruction;
|
|
3295
|
+
}): LoopscaleInstruction;
|
|
3296
|
+
/** Lock loan before borrow_principal (BORROWER side). Must be in same tx as unlock. */
|
|
3297
|
+
lockLoan(params: {
|
|
3298
|
+
instruction: TransactionInstruction;
|
|
3299
|
+
}): LoopscaleInstruction;
|
|
3300
|
+
/** Unlock loan after borrow_principal (BORROWER side). Runs health check. */
|
|
3301
|
+
unlockLoan(params: {
|
|
3302
|
+
instruction: TransactionInstruction;
|
|
3303
|
+
}): LoopscaleInstruction;
|
|
3304
|
+
/** Refinance a loan ledger from one strategy to another (BORROWER side). */
|
|
3305
|
+
refinanceLedger(params: {
|
|
3306
|
+
instruction: TransactionInstruction;
|
|
3307
|
+
}): LoopscaleInstruction;
|
|
3308
|
+
};
|
|
3309
|
+
/**
|
|
3310
|
+
* Builder for Exponent CLMM vault action descriptors.
|
|
3311
|
+
*
|
|
3312
|
+
* Each method returns a `VaultInstruction` descriptor. Pass these to
|
|
3313
|
+
* `createVaultSyncTransaction` which resolves them into raw Solana
|
|
3314
|
+
* instructions, wraps them in a Squads sync transaction, and returns
|
|
3315
|
+
* any extra signers (e.g., the new LP position keypair from deposit).
|
|
3316
|
+
*
|
|
3317
|
+
* @example
|
|
3318
|
+
* ```ts
|
|
3319
|
+
* import { clmmAction, createVaultSyncTransaction } from "@exponent-labs/exponent-sdk"
|
|
3320
|
+
*
|
|
3321
|
+
* const result = await createVaultSyncTransaction({
|
|
3322
|
+
* instructions: [
|
|
3323
|
+
* clmmAction.depositLiquidity({
|
|
3324
|
+
* market: CLMM_MARKET,
|
|
3325
|
+
* ptInIntent: 1_000_000n,
|
|
3326
|
+
* syInIntent: 1_000_000n,
|
|
3327
|
+
* lowerTickKey: 500,
|
|
3328
|
+
* upperTickKey: 1500,
|
|
3329
|
+
* }),
|
|
3330
|
+
* ],
|
|
3331
|
+
* owner: squadsVault,
|
|
3332
|
+
* connection,
|
|
3333
|
+
* vaultPda: squadsVault,
|
|
3334
|
+
* signer: wallet.publicKey,
|
|
3335
|
+
* vaultAddress: VAULT_ADDRESS,
|
|
3336
|
+
* })
|
|
3337
|
+
* // result.signers contains the generated LP position keypair
|
|
3338
|
+
* ```
|
|
3339
|
+
*/
|
|
3340
|
+
export declare const clmmAction: {
|
|
3341
|
+
/**
|
|
3342
|
+
* Create a new LP position on the CLMM with a specified tick range.
|
|
3343
|
+
* The LP position keypair is generated internally — retrieve it from
|
|
3344
|
+
* `result.signers[0]` after calling `createVaultSyncTransaction`.
|
|
3345
|
+
*
|
|
3346
|
+
* @param params.market - CLMM MarketThree account address
|
|
3347
|
+
* @param params.ptInIntent - Maximum PT to deposit
|
|
3348
|
+
* @param params.syInIntent - Maximum SY to deposit
|
|
3349
|
+
* @param params.lowerTickKey - Lower tick boundary (APY value)
|
|
3350
|
+
* @param params.upperTickKey - Upper tick boundary (APY value)
|
|
3351
|
+
*/
|
|
3352
|
+
depositLiquidity(params: {
|
|
3353
|
+
market: PublicKey;
|
|
3354
|
+
ptInIntent: bigint;
|
|
3355
|
+
syInIntent: bigint;
|
|
3356
|
+
lowerTickKey: number;
|
|
3357
|
+
upperTickKey: number;
|
|
3358
|
+
}): ClmmDepositLiquidityInstruction;
|
|
3359
|
+
/**
|
|
3360
|
+
* Add liquidity to an existing LP position.
|
|
3361
|
+
*
|
|
3362
|
+
* @param params.market - CLMM MarketThree account address
|
|
3363
|
+
* @param params.lpPosition - Existing LpPosition account public key
|
|
3364
|
+
* @param params.ptInIntent - Maximum PT to add
|
|
3365
|
+
* @param params.syInIntent - Maximum SY to add
|
|
3366
|
+
*/
|
|
3367
|
+
addLiquidity(params: {
|
|
3368
|
+
market: PublicKey;
|
|
3369
|
+
lpPosition: PublicKey;
|
|
3370
|
+
ptInIntent: bigint;
|
|
3371
|
+
syInIntent: bigint;
|
|
3372
|
+
}): ClmmAddLiquidityInstruction;
|
|
3373
|
+
/**
|
|
3374
|
+
* Withdraw liquidity from an LP position, receiving PT + SY.
|
|
3375
|
+
*
|
|
3376
|
+
* @param params.market - CLMM MarketThree account address
|
|
3377
|
+
* @param params.lpPosition - LpPosition account to withdraw from
|
|
3378
|
+
* @param params.lpIn - Amount of liquidity (LP units) to remove
|
|
3379
|
+
* @param params.minPtOut - Minimum PT to receive (slippage protection)
|
|
3380
|
+
* @param params.minSyOut - Minimum SY to receive (slippage protection)
|
|
3381
|
+
*/
|
|
3382
|
+
withdrawLiquidity(params: {
|
|
3383
|
+
market: PublicKey;
|
|
3384
|
+
lpPosition: PublicKey;
|
|
3385
|
+
lpIn: bigint;
|
|
3386
|
+
minPtOut: bigint;
|
|
3387
|
+
minSyOut: bigint;
|
|
3388
|
+
}): ClmmWithdrawLiquidityInstruction;
|
|
3389
|
+
/**
|
|
3390
|
+
* Low-level PT/SY swap on the CLMM. Prefer {@link buyPt} / {@link sellPt}
|
|
3391
|
+
* for directional trades.
|
|
3392
|
+
*
|
|
3393
|
+
* @param params.market - CLMM MarketThree account address
|
|
3394
|
+
* @param params.traderAmount - Amount of the input token
|
|
3395
|
+
* @param params.outConstraint - Minimum output amount (slippage protection)
|
|
3396
|
+
* @param params.swapDirection - `SwapDirection.SyToPt` or `SwapDirection.PtToSy`
|
|
3397
|
+
* @param params.lnImpliedApyLimit - Optional price limit (ln implied APY)
|
|
3398
|
+
*/
|
|
3399
|
+
tradePt(params: {
|
|
3400
|
+
market: PublicKey;
|
|
3401
|
+
traderAmount: bigint;
|
|
3402
|
+
outConstraint: bigint;
|
|
3403
|
+
swapDirection: SwapDirection;
|
|
3404
|
+
lnImpliedApyLimit?: number;
|
|
3405
|
+
}): ClmmTradePtInstruction;
|
|
3406
|
+
/**
|
|
3407
|
+
* Buy PT with SY on the CLMM.
|
|
3408
|
+
*
|
|
3409
|
+
* @param params.market - CLMM MarketThree account address
|
|
3410
|
+
* @param params.amountSy - Amount of SY to spend
|
|
3411
|
+
* @param params.outConstraint - Minimum PT to receive (slippage protection)
|
|
3412
|
+
* @param params.lnImpliedApyLimit - Optional price limit (ln implied APY)
|
|
3413
|
+
*/
|
|
3414
|
+
buyPt(params: {
|
|
3415
|
+
market: PublicKey;
|
|
3416
|
+
amountSy: bigint;
|
|
3417
|
+
outConstraint: bigint;
|
|
3418
|
+
lnImpliedApyLimit?: number;
|
|
3419
|
+
}): ClmmBuyPtInstruction;
|
|
3420
|
+
/**
|
|
3421
|
+
* Sell PT for SY on the CLMM.
|
|
3422
|
+
*
|
|
3423
|
+
* @param params.market - CLMM MarketThree account address
|
|
3424
|
+
* @param params.amountPt - Amount of PT to sell
|
|
3425
|
+
* @param params.outConstraint - Minimum SY to receive (slippage protection)
|
|
3426
|
+
* @param params.lnImpliedApyLimit - Optional price limit (ln implied APY)
|
|
3427
|
+
*/
|
|
3428
|
+
sellPt(params: {
|
|
3429
|
+
market: PublicKey;
|
|
3430
|
+
amountPt: bigint;
|
|
3431
|
+
outConstraint: bigint;
|
|
3432
|
+
lnImpliedApyLimit?: number;
|
|
3433
|
+
}): ClmmSellPtInstruction;
|
|
3434
|
+
/**
|
|
3435
|
+
* Buy YT with SY on the CLMM.
|
|
3436
|
+
*
|
|
3437
|
+
* @param params.market - CLMM MarketThree account address
|
|
3438
|
+
* @param params.ytOut - Minimum YT to receive
|
|
3439
|
+
* @param params.maxSyIn - Maximum SY to spend
|
|
3440
|
+
* @param params.lnImpliedApyLimit - Optional price limit (ln implied APY)
|
|
3441
|
+
*/
|
|
3442
|
+
buyYt(params: {
|
|
3443
|
+
market: PublicKey;
|
|
3444
|
+
ytOut: bigint;
|
|
3445
|
+
maxSyIn: bigint;
|
|
3446
|
+
lnImpliedApyLimit?: number;
|
|
3447
|
+
}): ClmmBuyYtInstruction;
|
|
3448
|
+
/**
|
|
3449
|
+
* Sell YT for SY on the CLMM.
|
|
3450
|
+
*
|
|
3451
|
+
* @param params.market - CLMM MarketThree account address
|
|
3452
|
+
* @param params.ytIn - Amount of YT to sell
|
|
3453
|
+
* @param params.minSyOut - Minimum SY to receive (slippage protection)
|
|
3454
|
+
* @param params.lnImpliedApyLimit - Optional price limit (ln implied APY)
|
|
3455
|
+
*/
|
|
3456
|
+
sellYt(params: {
|
|
3457
|
+
market: PublicKey;
|
|
3458
|
+
ytIn: bigint;
|
|
3459
|
+
minSyOut: bigint;
|
|
3460
|
+
lnImpliedApyLimit?: number;
|
|
3461
|
+
}): ClmmSellYtInstruction;
|
|
3462
|
+
/**
|
|
3463
|
+
* Claim farm emissions from an LP position.
|
|
3464
|
+
*
|
|
3465
|
+
* @param params.market - CLMM MarketThree account address
|
|
3466
|
+
* @param params.lpPosition - LpPosition account to claim from
|
|
3467
|
+
* @param params.farmIndex - Index of the farm emission to claim
|
|
3468
|
+
*/
|
|
3469
|
+
claimFarmEmission(params: {
|
|
3470
|
+
market: PublicKey;
|
|
3471
|
+
lpPosition: PublicKey;
|
|
3472
|
+
farmIndex: number;
|
|
3473
|
+
}): ClmmClaimFarmEmissionInstruction;
|
|
3474
|
+
};
|
|
3475
|
+
export { SwapDirection };
|