@kamino-finance/klend-sdk 7.3.5-beta.0 → 7.3.6
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/dist/@codegen/jupiter_perps/accounts/Custody.d.ts +57 -0
- package/dist/@codegen/jupiter_perps/accounts/Custody.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/accounts/Custody.js +176 -0
- package/dist/@codegen/jupiter_perps/accounts/Custody.js.map +1 -0
- package/dist/@codegen/jupiter_perps/accounts/Perpetuals.d.ts +36 -0
- package/dist/@codegen/jupiter_perps/accounts/Perpetuals.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/accounts/Perpetuals.js +132 -0
- package/dist/@codegen/jupiter_perps/accounts/Perpetuals.js.map +1 -0
- package/dist/@codegen/jupiter_perps/accounts/Pool.d.ts +48 -0
- package/dist/@codegen/jupiter_perps/accounts/Pool.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/accounts/Pool.js +156 -0
- package/dist/@codegen/jupiter_perps/accounts/Pool.js.map +1 -0
- package/dist/@codegen/jupiter_perps/accounts/Position.d.ts +60 -0
- package/dist/@codegen/jupiter_perps/accounts/Position.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/accounts/Position.js +180 -0
- package/dist/@codegen/jupiter_perps/accounts/Position.js.map +1 -0
- package/dist/@codegen/jupiter_perps/accounts/PositionRequest.d.ts +84 -0
- package/dist/@codegen/jupiter_perps/accounts/PositionRequest.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/accounts/PositionRequest.js +228 -0
- package/dist/@codegen/jupiter_perps/accounts/PositionRequest.js.map +1 -0
- package/dist/@codegen/jupiter_perps/accounts/TestOracle.d.ts +29 -0
- package/dist/@codegen/jupiter_perps/accounts/TestOracle.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/accounts/TestOracle.js +118 -0
- package/dist/@codegen/jupiter_perps/accounts/TestOracle.js.map +1 -0
- package/dist/@codegen/jupiter_perps/accounts/index.d.ts +13 -0
- package/dist/@codegen/jupiter_perps/accounts/index.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/accounts/index.js +16 -0
- package/dist/@codegen/jupiter_perps/accounts/index.js.map +1 -0
- package/dist/@codegen/jupiter_perps/errors/anchor.d.ts +435 -0
- package/dist/@codegen/jupiter_perps/errors/anchor.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/errors/anchor.js +767 -0
- package/dist/@codegen/jupiter_perps/errors/anchor.js.map +1 -0
- package/dist/@codegen/jupiter_perps/errors/custom.d.ts +339 -0
- package/dist/@codegen/jupiter_perps/errors/custom.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/errors/custom.js +598 -0
- package/dist/@codegen/jupiter_perps/errors/custom.js.map +1 -0
- package/dist/@codegen/jupiter_perps/errors/index.d.ts +6 -0
- package/dist/@codegen/jupiter_perps/errors/index.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/errors/index.js +86 -0
- package/dist/@codegen/jupiter_perps/errors/index.js.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/addCustody.d.ts +21 -0
- package/dist/@codegen/jupiter_perps/instructions/addCustody.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/addCustody.js +67 -0
- package/dist/@codegen/jupiter_perps/instructions/addCustody.js.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/addLiquidity.d.ts +24 -0
- package/dist/@codegen/jupiter_perps/instructions/addLiquidity.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/addLiquidity.js +70 -0
- package/dist/@codegen/jupiter_perps/instructions/addLiquidity.js.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/addPool.d.ts +19 -0
- package/dist/@codegen/jupiter_perps/instructions/addPool.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/addPool.js +65 -0
- package/dist/@codegen/jupiter_perps/instructions/addPool.js.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/closePositionRequest.d.ts +21 -0
- package/dist/@codegen/jupiter_perps/instructions/closePositionRequest.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/closePositionRequest.js +77 -0
- package/dist/@codegen/jupiter_perps/instructions/closePositionRequest.js.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/createDecreasePositionRequest.d.ts +28 -0
- package/dist/@codegen/jupiter_perps/instructions/createDecreasePositionRequest.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/createDecreasePositionRequest.js +78 -0
- package/dist/@codegen/jupiter_perps/instructions/createDecreasePositionRequest.js.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/createIncreasePositionRequest.d.ts +28 -0
- package/dist/@codegen/jupiter_perps/instructions/createIncreasePositionRequest.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/createIncreasePositionRequest.js +78 -0
- package/dist/@codegen/jupiter_perps/instructions/createIncreasePositionRequest.js.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/decreasePosition.d.ts +29 -0
- package/dist/@codegen/jupiter_perps/instructions/decreasePosition.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/decreasePosition.js +79 -0
- package/dist/@codegen/jupiter_perps/instructions/decreasePosition.js.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/decreasePositionPostSwap.d.ts +16 -0
- package/dist/@codegen/jupiter_perps/instructions/decreasePositionPostSwap.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/decreasePositionPostSwap.js +62 -0
- package/dist/@codegen/jupiter_perps/instructions/decreasePositionPostSwap.js.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/getAddLiquidityAmountAndFee.d.ts +16 -0
- package/dist/@codegen/jupiter_perps/instructions/getAddLiquidityAmountAndFee.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/getAddLiquidityAmountAndFee.js +64 -0
- package/dist/@codegen/jupiter_perps/instructions/getAddLiquidityAmountAndFee.js.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/getDecreasePosition.d.ts +18 -0
- package/dist/@codegen/jupiter_perps/instructions/getDecreasePosition.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/getDecreasePosition.js +64 -0
- package/dist/@codegen/jupiter_perps/instructions/getDecreasePosition.js.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/getExactOutSwapAmountAndFees.d.ts +17 -0
- package/dist/@codegen/jupiter_perps/instructions/getExactOutSwapAmountAndFees.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/getExactOutSwapAmountAndFees.js +63 -0
- package/dist/@codegen/jupiter_perps/instructions/getExactOutSwapAmountAndFees.js.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/getIncreasePosition.d.ts +18 -0
- package/dist/@codegen/jupiter_perps/instructions/getIncreasePosition.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/getIncreasePosition.js +68 -0
- package/dist/@codegen/jupiter_perps/instructions/getIncreasePosition.js.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/getLiquidationState.d.ts +17 -0
- package/dist/@codegen/jupiter_perps/instructions/getLiquidationState.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/getLiquidationState.js +63 -0
- package/dist/@codegen/jupiter_perps/instructions/getLiquidationState.js.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/getOraclePrice.d.ts +10 -0
- package/dist/@codegen/jupiter_perps/instructions/getOraclePrice.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/getOraclePrice.js +19 -0
- package/dist/@codegen/jupiter_perps/instructions/getOraclePrice.js.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/getPnl.d.ts +17 -0
- package/dist/@codegen/jupiter_perps/instructions/getPnl.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/getPnl.js +63 -0
- package/dist/@codegen/jupiter_perps/instructions/getPnl.js.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/getRemoveLiquidityAmountAndFee.d.ts +16 -0
- package/dist/@codegen/jupiter_perps/instructions/getRemoveLiquidityAmountAndFee.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/getRemoveLiquidityAmountAndFee.js +62 -0
- package/dist/@codegen/jupiter_perps/instructions/getRemoveLiquidityAmountAndFee.js.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/getSwapAmountAndFees.d.ts +17 -0
- package/dist/@codegen/jupiter_perps/instructions/getSwapAmountAndFees.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/getSwapAmountAndFees.js +63 -0
- package/dist/@codegen/jupiter_perps/instructions/getSwapAmountAndFees.js.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/increasePosition.d.ts +25 -0
- package/dist/@codegen/jupiter_perps/instructions/increasePosition.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/increasePosition.js +71 -0
- package/dist/@codegen/jupiter_perps/instructions/increasePosition.js.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/increasePositionPreSwap.d.ts +22 -0
- package/dist/@codegen/jupiter_perps/instructions/increasePositionPreSwap.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/increasePositionPreSwap.js +68 -0
- package/dist/@codegen/jupiter_perps/instructions/increasePositionPreSwap.js.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/index.d.ts +71 -0
- package/dist/@codegen/jupiter_perps/instructions/index.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/index.js +74 -0
- package/dist/@codegen/jupiter_perps/instructions/index.js.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/init.d.ts +19 -0
- package/dist/@codegen/jupiter_perps/instructions/init.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/init.js +69 -0
- package/dist/@codegen/jupiter_perps/instructions/init.js.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/liquidatePosition.d.ts +26 -0
- package/dist/@codegen/jupiter_perps/instructions/liquidatePosition.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/liquidatePosition.js +72 -0
- package/dist/@codegen/jupiter_perps/instructions/liquidatePosition.js.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/removeLiquidity.d.ts +24 -0
- package/dist/@codegen/jupiter_perps/instructions/removeLiquidity.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/removeLiquidity.js +70 -0
- package/dist/@codegen/jupiter_perps/instructions/removeLiquidity.js.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/setCustodyConfig.d.ts +14 -0
- package/dist/@codegen/jupiter_perps/instructions/setCustodyConfig.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/setCustodyConfig.js +60 -0
- package/dist/@codegen/jupiter_perps/instructions/setCustodyConfig.js.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/setCustodyGlobalLimit.d.ts +13 -0
- package/dist/@codegen/jupiter_perps/instructions/setCustodyGlobalLimit.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/setCustodyGlobalLimit.js +59 -0
- package/dist/@codegen/jupiter_perps/instructions/setCustodyGlobalLimit.js.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/setPerpetualsConfig.d.ts +13 -0
- package/dist/@codegen/jupiter_perps/instructions/setPerpetualsConfig.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/setPerpetualsConfig.js +59 -0
- package/dist/@codegen/jupiter_perps/instructions/setPerpetualsConfig.js.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/setPoolConfig.d.ts +14 -0
- package/dist/@codegen/jupiter_perps/instructions/setPoolConfig.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/setPoolConfig.js +60 -0
- package/dist/@codegen/jupiter_perps/instructions/setPoolConfig.js.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/setTestOraclePrice.d.ts +17 -0
- package/dist/@codegen/jupiter_perps/instructions/setTestOraclePrice.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/setTestOraclePrice.js +63 -0
- package/dist/@codegen/jupiter_perps/instructions/setTestOraclePrice.js.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/setTestTime.d.ts +13 -0
- package/dist/@codegen/jupiter_perps/instructions/setTestTime.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/setTestTime.js +61 -0
- package/dist/@codegen/jupiter_perps/instructions/setTestTime.js.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/swap.d.ts +26 -0
- package/dist/@codegen/jupiter_perps/instructions/swap.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/swap.js +74 -0
- package/dist/@codegen/jupiter_perps/instructions/swap.js.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/swapExactOut.d.ts +26 -0
- package/dist/@codegen/jupiter_perps/instructions/swapExactOut.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/swapExactOut.js +72 -0
- package/dist/@codegen/jupiter_perps/instructions/swapExactOut.js.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/testInit.d.ts +17 -0
- package/dist/@codegen/jupiter_perps/instructions/testInit.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/testInit.js +67 -0
- package/dist/@codegen/jupiter_perps/instructions/testInit.js.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/transferAdmin.d.ts +14 -0
- package/dist/@codegen/jupiter_perps/instructions/transferAdmin.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/transferAdmin.js +60 -0
- package/dist/@codegen/jupiter_perps/instructions/transferAdmin.js.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/updateDecreasePositionRequest.d.ts +18 -0
- package/dist/@codegen/jupiter_perps/instructions/updateDecreasePositionRequest.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/updateDecreasePositionRequest.js +64 -0
- package/dist/@codegen/jupiter_perps/instructions/updateDecreasePositionRequest.js.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/updateIncreasePositionRequest.d.ts +18 -0
- package/dist/@codegen/jupiter_perps/instructions/updateIncreasePositionRequest.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/updateIncreasePositionRequest.js +64 -0
- package/dist/@codegen/jupiter_perps/instructions/updateIncreasePositionRequest.js.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/withdrawFees.d.ts +20 -0
- package/dist/@codegen/jupiter_perps/instructions/withdrawFees.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/instructions/withdrawFees.js +68 -0
- package/dist/@codegen/jupiter_perps/instructions/withdrawFees.js.map +1 -0
- package/dist/@codegen/jupiter_perps/programId.d.ts +4 -0
- package/dist/@codegen/jupiter_perps/programId.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/programId.js +9 -0
- package/dist/@codegen/jupiter_perps/programId.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/AddCustodyParams.d.ts +101 -0
- package/dist/@codegen/jupiter_perps/types/AddCustodyParams.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/AddCustodyParams.js +114 -0
- package/dist/@codegen/jupiter_perps/types/AddCustodyParams.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/AddLiquidityParams.d.ts +33 -0
- package/dist/@codegen/jupiter_perps/types/AddLiquidityParams.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/AddLiquidityParams.js +92 -0
- package/dist/@codegen/jupiter_perps/types/AddLiquidityParams.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/AddPoolParams.d.ts +66 -0
- package/dist/@codegen/jupiter_perps/types/AddPoolParams.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/AddPoolParams.js +100 -0
- package/dist/@codegen/jupiter_perps/types/AddPoolParams.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/AmountAndFee.d.ts +33 -0
- package/dist/@codegen/jupiter_perps/types/AmountAndFee.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/AmountAndFee.js +88 -0
- package/dist/@codegen/jupiter_perps/types/AmountAndFee.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/Assets.d.ts +48 -0
- package/dist/@codegen/jupiter_perps/types/Assets.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/Assets.js +113 -0
- package/dist/@codegen/jupiter_perps/types/Assets.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/ClosePositionRequestParams.d.ts +15 -0
- package/dist/@codegen/jupiter_perps/types/ClosePositionRequestParams.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/ClosePositionRequestParams.js +61 -0
- package/dist/@codegen/jupiter_perps/types/ClosePositionRequestParams.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/CreateDecreasePositionRequestParams.d.ts +71 -0
- package/dist/@codegen/jupiter_perps/types/CreateDecreasePositionRequestParams.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/CreateDecreasePositionRequestParams.js +135 -0
- package/dist/@codegen/jupiter_perps/types/CreateDecreasePositionRequestParams.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/CreateIncreasePositionRequestParams.d.ts +83 -0
- package/dist/@codegen/jupiter_perps/types/CreateIncreasePositionRequestParams.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/CreateIncreasePositionRequestParams.js +135 -0
- package/dist/@codegen/jupiter_perps/types/CreateIncreasePositionRequestParams.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/DecreasePositionInfo.d.ts +58 -0
- package/dist/@codegen/jupiter_perps/types/DecreasePositionInfo.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/DecreasePositionInfo.js +127 -0
- package/dist/@codegen/jupiter_perps/types/DecreasePositionInfo.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/DecreasePositionParams.d.ts +15 -0
- package/dist/@codegen/jupiter_perps/types/DecreasePositionParams.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/DecreasePositionParams.js +61 -0
- package/dist/@codegen/jupiter_perps/types/DecreasePositionParams.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/DecreasePositionPostSwapParams.d.ts +15 -0
- package/dist/@codegen/jupiter_perps/types/DecreasePositionPostSwapParams.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/DecreasePositionPostSwapParams.js +61 -0
- package/dist/@codegen/jupiter_perps/types/DecreasePositionPostSwapParams.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/Fees.d.ts +63 -0
- package/dist/@codegen/jupiter_perps/types/Fees.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/Fees.js +134 -0
- package/dist/@codegen/jupiter_perps/types/Fees.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/FundingRateState.d.ts +33 -0
- package/dist/@codegen/jupiter_perps/types/FundingRateState.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/FundingRateState.js +92 -0
- package/dist/@codegen/jupiter_perps/types/FundingRateState.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/GetAddLiquidityAmountAndFeeParams.d.ts +23 -0
- package/dist/@codegen/jupiter_perps/types/GetAddLiquidityAmountAndFeeParams.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/GetAddLiquidityAmountAndFeeParams.js +76 -0
- package/dist/@codegen/jupiter_perps/types/GetAddLiquidityAmountAndFeeParams.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/GetDecreasePositionParams.d.ts +28 -0
- package/dist/@codegen/jupiter_perps/types/GetDecreasePositionParams.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/GetDecreasePositionParams.js +82 -0
- package/dist/@codegen/jupiter_perps/types/GetDecreasePositionParams.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/GetExactOutSwapAmountAndFeesParams.d.ts +23 -0
- package/dist/@codegen/jupiter_perps/types/GetExactOutSwapAmountAndFeesParams.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/GetExactOutSwapAmountAndFeesParams.js +76 -0
- package/dist/@codegen/jupiter_perps/types/GetExactOutSwapAmountAndFeesParams.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/GetIncreasePositionParams.d.ts +45 -0
- package/dist/@codegen/jupiter_perps/types/GetIncreasePositionParams.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/GetIncreasePositionParams.js +93 -0
- package/dist/@codegen/jupiter_perps/types/GetIncreasePositionParams.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/GetLiquidationStateParams.d.ts +15 -0
- package/dist/@codegen/jupiter_perps/types/GetLiquidationStateParams.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/GetLiquidationStateParams.js +61 -0
- package/dist/@codegen/jupiter_perps/types/GetLiquidationStateParams.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/GetPnlAndFeeParams.d.ts +15 -0
- package/dist/@codegen/jupiter_perps/types/GetPnlAndFeeParams.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/GetPnlAndFeeParams.js +61 -0
- package/dist/@codegen/jupiter_perps/types/GetPnlAndFeeParams.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/GetRemoveLiquidityAmountAndFeeParams.d.ts +23 -0
- package/dist/@codegen/jupiter_perps/types/GetRemoveLiquidityAmountAndFeeParams.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/GetRemoveLiquidityAmountAndFeeParams.js +76 -0
- package/dist/@codegen/jupiter_perps/types/GetRemoveLiquidityAmountAndFeeParams.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/GetSwapAmountAndFeesParams.d.ts +23 -0
- package/dist/@codegen/jupiter_perps/types/GetSwapAmountAndFeesParams.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/GetSwapAmountAndFeesParams.js +76 -0
- package/dist/@codegen/jupiter_perps/types/GetSwapAmountAndFeesParams.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/IncreasePositionInfo.d.ts +38 -0
- package/dist/@codegen/jupiter_perps/types/IncreasePositionInfo.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/IncreasePositionInfo.js +99 -0
- package/dist/@codegen/jupiter_perps/types/IncreasePositionInfo.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/IncreasePositionParams.d.ts +15 -0
- package/dist/@codegen/jupiter_perps/types/IncreasePositionParams.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/IncreasePositionParams.js +61 -0
- package/dist/@codegen/jupiter_perps/types/IncreasePositionParams.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/IncreasePositionPreSwapParams.d.ts +15 -0
- package/dist/@codegen/jupiter_perps/types/IncreasePositionPreSwapParams.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/IncreasePositionPreSwapParams.js +61 -0
- package/dist/@codegen/jupiter_perps/types/IncreasePositionPreSwapParams.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/InitParams.d.ts +52 -0
- package/dist/@codegen/jupiter_perps/types/InitParams.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/InitParams.js +116 -0
- package/dist/@codegen/jupiter_perps/types/InitParams.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/Limit.d.ts +33 -0
- package/dist/@codegen/jupiter_perps/types/Limit.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/Limit.js +92 -0
- package/dist/@codegen/jupiter_perps/types/Limit.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/LiquidatePositionParams.d.ts +15 -0
- package/dist/@codegen/jupiter_perps/types/LiquidatePositionParams.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/LiquidatePositionParams.js +61 -0
- package/dist/@codegen/jupiter_perps/types/LiquidatePositionParams.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/OracleParams.d.ts +51 -0
- package/dist/@codegen/jupiter_perps/types/OracleParams.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/OracleParams.js +102 -0
- package/dist/@codegen/jupiter_perps/types/OracleParams.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/OraclePrice.d.ts +28 -0
- package/dist/@codegen/jupiter_perps/types/OraclePrice.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/OraclePrice.js +82 -0
- package/dist/@codegen/jupiter_perps/types/OraclePrice.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/OraclePriceInfo.d.ts +48 -0
- package/dist/@codegen/jupiter_perps/types/OraclePriceInfo.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/OraclePriceInfo.js +113 -0
- package/dist/@codegen/jupiter_perps/types/OraclePriceInfo.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/OracleType.d.ts +45 -0
- package/dist/@codegen/jupiter_perps/types/OracleType.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/OracleType.js +132 -0
- package/dist/@codegen/jupiter_perps/types/OracleType.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/Permissions.d.ts +52 -0
- package/dist/@codegen/jupiter_perps/types/Permissions.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/Permissions.js +116 -0
- package/dist/@codegen/jupiter_perps/types/Permissions.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/PnlAndFee.d.ts +48 -0
- package/dist/@codegen/jupiter_perps/types/PnlAndFee.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/PnlAndFee.js +113 -0
- package/dist/@codegen/jupiter_perps/types/PnlAndFee.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/PoolApr.d.ts +33 -0
- package/dist/@codegen/jupiter_perps/types/PoolApr.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/PoolApr.js +92 -0
- package/dist/@codegen/jupiter_perps/types/PoolApr.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/PriceCalcMode.d.ts +45 -0
- package/dist/@codegen/jupiter_perps/types/PriceCalcMode.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/PriceCalcMode.js +132 -0
- package/dist/@codegen/jupiter_perps/types/PriceCalcMode.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/PricingParams.d.ts +48 -0
- package/dist/@codegen/jupiter_perps/types/PricingParams.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/PricingParams.js +113 -0
- package/dist/@codegen/jupiter_perps/types/PricingParams.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/RemoveLiquidityParams.d.ts +28 -0
- package/dist/@codegen/jupiter_perps/types/RemoveLiquidityParams.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/RemoveLiquidityParams.js +82 -0
- package/dist/@codegen/jupiter_perps/types/RemoveLiquidityParams.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/RequestChange.d.ts +45 -0
- package/dist/@codegen/jupiter_perps/types/RequestChange.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/RequestChange.js +132 -0
- package/dist/@codegen/jupiter_perps/types/RequestChange.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/RequestType.d.ts +32 -0
- package/dist/@codegen/jupiter_perps/types/RequestType.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/RequestType.js +108 -0
- package/dist/@codegen/jupiter_perps/types/RequestType.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/SetCustodyConfigParams.d.ts +96 -0
- package/dist/@codegen/jupiter_perps/types/SetCustodyConfigParams.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/SetCustodyConfigParams.js +107 -0
- package/dist/@codegen/jupiter_perps/types/SetCustodyConfigParams.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/SetCustodyGlobalLimitParams.d.ts +28 -0
- package/dist/@codegen/jupiter_perps/types/SetCustodyGlobalLimitParams.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/SetCustodyGlobalLimitParams.js +82 -0
- package/dist/@codegen/jupiter_perps/types/SetCustodyGlobalLimitParams.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/SetPerpetualsConfigParams.d.ts +38 -0
- package/dist/@codegen/jupiter_perps/types/SetPerpetualsConfigParams.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/SetPerpetualsConfigParams.js +73 -0
- package/dist/@codegen/jupiter_perps/types/SetPerpetualsConfigParams.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/SetPoolConfigParams.d.ts +61 -0
- package/dist/@codegen/jupiter_perps/types/SetPoolConfigParams.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/SetPoolConfigParams.js +93 -0
- package/dist/@codegen/jupiter_perps/types/SetPoolConfigParams.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/SetTestOraclePriceParams.d.ts +38 -0
- package/dist/@codegen/jupiter_perps/types/SetTestOraclePriceParams.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/SetTestOraclePriceParams.js +99 -0
- package/dist/@codegen/jupiter_perps/types/SetTestOraclePriceParams.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/SetTestTimeParams.d.ts +23 -0
- package/dist/@codegen/jupiter_perps/types/SetTestTimeParams.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/SetTestTimeParams.js +76 -0
- package/dist/@codegen/jupiter_perps/types/SetTestTimeParams.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/Side.d.ts +45 -0
- package/dist/@codegen/jupiter_perps/types/Side.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/Side.js +132 -0
- package/dist/@codegen/jupiter_perps/types/Side.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/SwapAmountAndFees.d.ts +38 -0
- package/dist/@codegen/jupiter_perps/types/SwapAmountAndFees.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/SwapAmountAndFees.js +99 -0
- package/dist/@codegen/jupiter_perps/types/SwapAmountAndFees.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/SwapExactOutParams.d.ts +28 -0
- package/dist/@codegen/jupiter_perps/types/SwapExactOutParams.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/SwapExactOutParams.js +82 -0
- package/dist/@codegen/jupiter_perps/types/SwapExactOutParams.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/SwapParams.d.ts +28 -0
- package/dist/@codegen/jupiter_perps/types/SwapParams.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/SwapParams.js +82 -0
- package/dist/@codegen/jupiter_perps/types/SwapParams.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/TestInitParams.d.ts +52 -0
- package/dist/@codegen/jupiter_perps/types/TestInitParams.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/TestInitParams.js +116 -0
- package/dist/@codegen/jupiter_perps/types/TestInitParams.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/TransferAdminParams.d.ts +15 -0
- package/dist/@codegen/jupiter_perps/types/TransferAdminParams.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/TransferAdminParams.js +61 -0
- package/dist/@codegen/jupiter_perps/types/TransferAdminParams.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/UpdateDecreasePositionRequestParams.d.ts +28 -0
- package/dist/@codegen/jupiter_perps/types/UpdateDecreasePositionRequestParams.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/UpdateDecreasePositionRequestParams.js +82 -0
- package/dist/@codegen/jupiter_perps/types/UpdateDecreasePositionRequestParams.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/UpdateIncreasePositionRequestParams.d.ts +28 -0
- package/dist/@codegen/jupiter_perps/types/UpdateIncreasePositionRequestParams.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/UpdateIncreasePositionRequestParams.js +82 -0
- package/dist/@codegen/jupiter_perps/types/UpdateIncreasePositionRequestParams.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/WithdrawFeesParams.d.ts +15 -0
- package/dist/@codegen/jupiter_perps/types/WithdrawFeesParams.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/WithdrawFeesParams.js +61 -0
- package/dist/@codegen/jupiter_perps/types/WithdrawFeesParams.js.map +1 -0
- package/dist/@codegen/jupiter_perps/types/index.d.ts +119 -0
- package/dist/@codegen/jupiter_perps/types/index.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/types/index.js +146 -0
- package/dist/@codegen/jupiter_perps/types/index.js.map +1 -0
- package/dist/@codegen/jupiter_perps/utils/borshAddress.d.ts +4 -0
- package/dist/@codegen/jupiter_perps/utils/borshAddress.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/utils/borshAddress.js +30 -0
- package/dist/@codegen/jupiter_perps/utils/borshAddress.js.map +1 -0
- package/dist/@codegen/jupiter_perps/utils/index.d.ts +2 -0
- package/dist/@codegen/jupiter_perps/utils/index.d.ts.map +1 -0
- package/dist/@codegen/jupiter_perps/utils/index.js +18 -0
- package/dist/@codegen/jupiter_perps/utils/index.js.map +1 -0
- package/dist/@codegen/klend/accounts/GlobalConfig.d.ts +40 -0
- package/dist/@codegen/klend/accounts/GlobalConfig.d.ts.map +1 -0
- package/dist/@codegen/klend/accounts/GlobalConfig.js +118 -0
- package/dist/@codegen/klend/accounts/GlobalConfig.js.map +1 -0
- package/dist/@codegen/klend/accounts/LendingMarket.d.ts +285 -0
- package/dist/@codegen/klend/accounts/LendingMarket.d.ts.map +1 -0
- package/dist/@codegen/klend/accounts/LendingMarket.js +358 -0
- package/dist/@codegen/klend/accounts/LendingMarket.js.map +1 -0
- package/dist/@codegen/klend/accounts/Obligation.d.ts +199 -0
- package/dist/@codegen/klend/accounts/Obligation.d.ts.map +1 -0
- package/dist/@codegen/klend/accounts/Obligation.js +295 -0
- package/dist/@codegen/klend/accounts/Obligation.js.map +1 -0
- package/dist/@codegen/klend/accounts/ReferrerState.d.ts +22 -0
- package/dist/@codegen/klend/accounts/ReferrerState.d.ts.map +1 -0
- package/dist/@codegen/klend/accounts/ReferrerState.js +102 -0
- package/dist/@codegen/klend/accounts/ReferrerState.js.map +1 -0
- package/dist/@codegen/klend/accounts/ReferrerTokenState.d.ts +51 -0
- package/dist/@codegen/klend/accounts/ReferrerTokenState.d.ts.map +1 -0
- package/dist/@codegen/klend/accounts/ReferrerTokenState.js +137 -0
- package/dist/@codegen/klend/accounts/ReferrerTokenState.js.map +1 -0
- package/dist/@codegen/klend/accounts/Reserve.d.ts +90 -0
- package/dist/@codegen/klend/accounts/Reserve.d.ts.map +1 -0
- package/dist/@codegen/klend/accounts/Reserve.js +192 -0
- package/dist/@codegen/klend/accounts/Reserve.js.map +1 -0
- package/dist/@codegen/klend/accounts/ShortUrl.d.ts +22 -0
- package/dist/@codegen/klend/accounts/ShortUrl.d.ts.map +1 -0
- package/dist/@codegen/klend/accounts/ShortUrl.js +102 -0
- package/dist/@codegen/klend/accounts/ShortUrl.js.map +1 -0
- package/dist/@codegen/klend/accounts/UserMetadata.d.ts +48 -0
- package/dist/@codegen/klend/accounts/UserMetadata.d.ts.map +1 -0
- package/dist/@codegen/klend/accounts/UserMetadata.js +136 -0
- package/dist/@codegen/klend/accounts/UserMetadata.js.map +1 -0
- package/dist/@codegen/klend/accounts/UserState.d.ts +143 -0
- package/dist/@codegen/klend/accounts/UserState.d.ts.map +1 -0
- package/dist/@codegen/klend/accounts/UserState.js +222 -0
- package/dist/@codegen/klend/accounts/UserState.js.map +1 -0
- package/dist/@codegen/klend/accounts/index.d.ts +19 -0
- package/dist/@codegen/klend/accounts/index.d.ts.map +1 -0
- package/dist/@codegen/klend/accounts/index.js +22 -0
- package/dist/@codegen/klend/accounts/index.js.map +1 -0
- package/dist/@codegen/klend/errors/anchor.d.ts +435 -0
- package/dist/@codegen/klend/errors/anchor.d.ts.map +1 -0
- package/dist/@codegen/klend/errors/anchor.js +767 -0
- package/dist/@codegen/klend/errors/anchor.js.map +1 -0
- package/dist/@codegen/klend/errors/custom.d.ts +1067 -0
- package/dist/@codegen/klend/errors/custom.d.ts.map +1 -0
- package/dist/@codegen/klend/errors/custom.js +1874 -0
- package/dist/@codegen/klend/errors/custom.js.map +1 -0
- package/dist/@codegen/klend/errors/index.d.ts +6 -0
- package/dist/@codegen/klend/errors/index.d.ts.map +1 -0
- package/dist/@codegen/klend/errors/index.js +86 -0
- package/dist/@codegen/klend/errors/index.js.map +1 -0
- package/dist/@codegen/klend/instructions/borrowObligationLiquidity.d.ts +23 -0
- package/dist/@codegen/klend/instructions/borrowObligationLiquidity.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/borrowObligationLiquidity.js +72 -0
- package/dist/@codegen/klend/instructions/borrowObligationLiquidity.js.map +1 -0
- package/dist/@codegen/klend/instructions/borrowObligationLiquidityV2.d.ts +30 -0
- package/dist/@codegen/klend/instructions/borrowObligationLiquidityV2.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/borrowObligationLiquidityV2.js +89 -0
- package/dist/@codegen/klend/instructions/borrowObligationLiquidityV2.js.map +1 -0
- package/dist/@codegen/klend/instructions/deleteReferrerStateAndShortUrl.d.ts +11 -0
- package/dist/@codegen/klend/instructions/deleteReferrerStateAndShortUrl.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/deleteReferrerStateAndShortUrl.js +20 -0
- package/dist/@codegen/klend/instructions/deleteReferrerStateAndShortUrl.js.map +1 -0
- package/dist/@codegen/klend/instructions/depositAndWithdraw.d.ts +53 -0
- package/dist/@codegen/klend/instructions/depositAndWithdraw.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/depositAndWithdraw.js +135 -0
- package/dist/@codegen/klend/instructions/depositAndWithdraw.js.map +1 -0
- package/dist/@codegen/klend/instructions/depositObligationCollateral.d.ts +19 -0
- package/dist/@codegen/klend/instructions/depositObligationCollateral.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/depositObligationCollateral.js +64 -0
- package/dist/@codegen/klend/instructions/depositObligationCollateral.js.map +1 -0
- package/dist/@codegen/klend/instructions/depositObligationCollateralV2.d.ts +27 -0
- package/dist/@codegen/klend/instructions/depositObligationCollateralV2.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/depositObligationCollateralV2.js +81 -0
- package/dist/@codegen/klend/instructions/depositObligationCollateralV2.js.map +1 -0
- package/dist/@codegen/klend/instructions/depositReserveLiquidity.d.ts +23 -0
- package/dist/@codegen/klend/instructions/depositReserveLiquidity.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/depositReserveLiquidity.js +68 -0
- package/dist/@codegen/klend/instructions/depositReserveLiquidity.js.map +1 -0
- package/dist/@codegen/klend/instructions/depositReserveLiquidityAndObligationCollateral.d.ts +25 -0
- package/dist/@codegen/klend/instructions/depositReserveLiquidityAndObligationCollateral.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/depositReserveLiquidityAndObligationCollateral.js +77 -0
- package/dist/@codegen/klend/instructions/depositReserveLiquidityAndObligationCollateral.js.map +1 -0
- package/dist/@codegen/klend/instructions/depositReserveLiquidityAndObligationCollateralV2.d.ts +32 -0
- package/dist/@codegen/klend/instructions/depositReserveLiquidityAndObligationCollateralV2.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/depositReserveLiquidityAndObligationCollateralV2.js +96 -0
- package/dist/@codegen/klend/instructions/depositReserveLiquidityAndObligationCollateralV2.js.map +1 -0
- package/dist/@codegen/klend/instructions/flashBorrowReserveLiquidity.d.ts +23 -0
- package/dist/@codegen/klend/instructions/flashBorrowReserveLiquidity.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/flashBorrowReserveLiquidity.js +78 -0
- package/dist/@codegen/klend/instructions/flashBorrowReserveLiquidity.js.map +1 -0
- package/dist/@codegen/klend/instructions/flashRepayReserveLiquidity.d.ts +24 -0
- package/dist/@codegen/klend/instructions/flashRepayReserveLiquidity.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/flashRepayReserveLiquidity.js +80 -0
- package/dist/@codegen/klend/instructions/flashRepayReserveLiquidity.js.map +1 -0
- package/dist/@codegen/klend/instructions/idlMissingTypes.d.ts +21 -0
- package/dist/@codegen/klend/instructions/idlMissingTypes.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/idlMissingTypes.js +73 -0
- package/dist/@codegen/klend/instructions/idlMissingTypes.js.map +1 -0
- package/dist/@codegen/klend/instructions/index.d.ts +99 -0
- package/dist/@codegen/klend/instructions/index.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/index.js +102 -0
- package/dist/@codegen/klend/instructions/index.js.map +1 -0
- package/dist/@codegen/klend/instructions/initFarmsForReserve.d.ts +20 -0
- package/dist/@codegen/klend/instructions/initFarmsForReserve.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/initFarmsForReserve.js +68 -0
- package/dist/@codegen/klend/instructions/initFarmsForReserve.js.map +1 -0
- package/dist/@codegen/klend/instructions/initGlobalConfig.d.ts +11 -0
- package/dist/@codegen/klend/instructions/initGlobalConfig.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/initGlobalConfig.js +20 -0
- package/dist/@codegen/klend/instructions/initGlobalConfig.js.map +1 -0
- package/dist/@codegen/klend/instructions/initLendingMarket.d.ts +15 -0
- package/dist/@codegen/klend/instructions/initLendingMarket.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/initLendingMarket.js +65 -0
- package/dist/@codegen/klend/instructions/initLendingMarket.js.map +1 -0
- package/dist/@codegen/klend/instructions/initObligation.d.ts +20 -0
- package/dist/@codegen/klend/instructions/initObligation.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/initObligation.js +70 -0
- package/dist/@codegen/klend/instructions/initObligation.js.map +1 -0
- package/dist/@codegen/klend/instructions/initObligationFarmsForReserve.d.ts +21 -0
- package/dist/@codegen/klend/instructions/initObligationFarmsForReserve.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/initObligationFarmsForReserve.js +67 -0
- package/dist/@codegen/klend/instructions/initObligationFarmsForReserve.js.map +1 -0
- package/dist/@codegen/klend/instructions/initReferrerStateAndShortUrl.d.ts +16 -0
- package/dist/@codegen/klend/instructions/initReferrerStateAndShortUrl.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/initReferrerStateAndShortUrl.js +62 -0
- package/dist/@codegen/klend/instructions/initReferrerStateAndShortUrl.js.map +1 -0
- package/dist/@codegen/klend/instructions/initReferrerTokenState.d.ts +13 -0
- package/dist/@codegen/klend/instructions/initReferrerTokenState.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/initReferrerTokenState.js +22 -0
- package/dist/@codegen/klend/instructions/initReferrerTokenState.js.map +1 -0
- package/dist/@codegen/klend/instructions/initReserve.d.ts +20 -0
- package/dist/@codegen/klend/instructions/initReserve.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/initReserve.js +29 -0
- package/dist/@codegen/klend/instructions/initReserve.js.map +1 -0
- package/dist/@codegen/klend/instructions/initUserMetadata.d.ts +16 -0
- package/dist/@codegen/klend/instructions/initUserMetadata.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/initUserMetadata.js +67 -0
- package/dist/@codegen/klend/instructions/initUserMetadata.js.map +1 -0
- package/dist/@codegen/klend/instructions/liquidateObligationAndRedeemReserveCollateral.d.ts +33 -0
- package/dist/@codegen/klend/instructions/liquidateObligationAndRedeemReserveCollateral.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/liquidateObligationAndRedeemReserveCollateral.js +84 -0
- package/dist/@codegen/klend/instructions/liquidateObligationAndRedeemReserveCollateral.js.map +1 -0
- package/dist/@codegen/klend/instructions/liquidateObligationAndRedeemReserveCollateralV2.d.ts +44 -0
- package/dist/@codegen/klend/instructions/liquidateObligationAndRedeemReserveCollateralV2.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/liquidateObligationAndRedeemReserveCollateralV2.js +138 -0
- package/dist/@codegen/klend/instructions/liquidateObligationAndRedeemReserveCollateralV2.js.map +1 -0
- package/dist/@codegen/klend/instructions/markObligationForDeleveraging.d.ts +13 -0
- package/dist/@codegen/klend/instructions/markObligationForDeleveraging.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/markObligationForDeleveraging.js +63 -0
- package/dist/@codegen/klend/instructions/markObligationForDeleveraging.js.map +1 -0
- package/dist/@codegen/klend/instructions/redeemFees.d.ts +13 -0
- package/dist/@codegen/klend/instructions/redeemFees.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/redeemFees.js +22 -0
- package/dist/@codegen/klend/instructions/redeemFees.js.map +1 -0
- package/dist/@codegen/klend/instructions/redeemReserveCollateral.d.ts +23 -0
- package/dist/@codegen/klend/instructions/redeemReserveCollateral.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/redeemReserveCollateral.js +70 -0
- package/dist/@codegen/klend/instructions/redeemReserveCollateral.js.map +1 -0
- package/dist/@codegen/klend/instructions/refreshObligation.d.ts +8 -0
- package/dist/@codegen/klend/instructions/refreshObligation.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/refreshObligation.js +17 -0
- package/dist/@codegen/klend/instructions/refreshObligation.js.map +1 -0
- package/dist/@codegen/klend/instructions/refreshObligationFarmsForReserve.d.ts +22 -0
- package/dist/@codegen/klend/instructions/refreshObligationFarmsForReserve.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/refreshObligationFarmsForReserve.js +66 -0
- package/dist/@codegen/klend/instructions/refreshObligationFarmsForReserve.js.map +1 -0
- package/dist/@codegen/klend/instructions/refreshReserve.d.ts +12 -0
- package/dist/@codegen/klend/instructions/refreshReserve.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/refreshReserve.js +31 -0
- package/dist/@codegen/klend/instructions/refreshReserve.js.map +1 -0
- package/dist/@codegen/klend/instructions/refreshReservesBatch.d.ts +8 -0
- package/dist/@codegen/klend/instructions/refreshReservesBatch.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/refreshReservesBatch.js +56 -0
- package/dist/@codegen/klend/instructions/refreshReservesBatch.js.map +1 -0
- package/dist/@codegen/klend/instructions/repayAndWithdrawAndRedeem.d.ts +48 -0
- package/dist/@codegen/klend/instructions/repayAndWithdrawAndRedeem.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/repayAndWithdrawAndRedeem.js +119 -0
- package/dist/@codegen/klend/instructions/repayAndWithdrawAndRedeem.js.map +1 -0
- package/dist/@codegen/klend/instructions/repayObligationLiquidity.d.ts +20 -0
- package/dist/@codegen/klend/instructions/repayObligationLiquidity.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/repayObligationLiquidity.js +65 -0
- package/dist/@codegen/klend/instructions/repayObligationLiquidity.js.map +1 -0
- package/dist/@codegen/klend/instructions/repayObligationLiquidityV2.d.ts +28 -0
- package/dist/@codegen/klend/instructions/repayObligationLiquidityV2.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/repayObligationLiquidityV2.js +82 -0
- package/dist/@codegen/klend/instructions/repayObligationLiquidityV2.js.map +1 -0
- package/dist/@codegen/klend/instructions/requestElevationGroup.d.ts +13 -0
- package/dist/@codegen/klend/instructions/requestElevationGroup.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/requestElevationGroup.js +59 -0
- package/dist/@codegen/klend/instructions/requestElevationGroup.js.map +1 -0
- package/dist/@codegen/klend/instructions/seedDepositOnInitReserve.d.ts +13 -0
- package/dist/@codegen/klend/instructions/seedDepositOnInitReserve.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/seedDepositOnInitReserve.js +24 -0
- package/dist/@codegen/klend/instructions/seedDepositOnInitReserve.js.map +1 -0
- package/dist/@codegen/klend/instructions/setObligationOrder.d.ts +15 -0
- package/dist/@codegen/klend/instructions/setObligationOrder.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/setObligationOrder.js +62 -0
- package/dist/@codegen/klend/instructions/setObligationOrder.js.map +1 -0
- package/dist/@codegen/klend/instructions/socializeLoss.d.ts +16 -0
- package/dist/@codegen/klend/instructions/socializeLoss.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/socializeLoss.js +65 -0
- package/dist/@codegen/klend/instructions/socializeLoss.js.map +1 -0
- package/dist/@codegen/klend/instructions/socializeLossV2.d.ts +24 -0
- package/dist/@codegen/klend/instructions/socializeLossV2.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/socializeLossV2.js +81 -0
- package/dist/@codegen/klend/instructions/socializeLossV2.js.map +1 -0
- package/dist/@codegen/klend/instructions/updateGlobalConfig.d.ts +14 -0
- package/dist/@codegen/klend/instructions/updateGlobalConfig.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/updateGlobalConfig.js +65 -0
- package/dist/@codegen/klend/instructions/updateGlobalConfig.js.map +1 -0
- package/dist/@codegen/klend/instructions/updateGlobalConfigAdmin.d.ts +8 -0
- package/dist/@codegen/klend/instructions/updateGlobalConfigAdmin.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/updateGlobalConfigAdmin.js +21 -0
- package/dist/@codegen/klend/instructions/updateGlobalConfigAdmin.js.map +1 -0
- package/dist/@codegen/klend/instructions/updateLendingMarket.d.ts +14 -0
- package/dist/@codegen/klend/instructions/updateLendingMarket.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/updateLendingMarket.js +64 -0
- package/dist/@codegen/klend/instructions/updateLendingMarket.js.map +1 -0
- package/dist/@codegen/klend/instructions/updateLendingMarketOwner.d.ts +8 -0
- package/dist/@codegen/klend/instructions/updateLendingMarketOwner.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/updateLendingMarketOwner.js +21 -0
- package/dist/@codegen/klend/instructions/updateLendingMarketOwner.js.map +1 -0
- package/dist/@codegen/klend/instructions/updateReserveConfig.d.ts +17 -0
- package/dist/@codegen/klend/instructions/updateReserveConfig.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/updateReserveConfig.js +65 -0
- package/dist/@codegen/klend/instructions/updateReserveConfig.js.map +1 -0
- package/dist/@codegen/klend/instructions/withdrawObligationCollateral.d.ts +20 -0
- package/dist/@codegen/klend/instructions/withdrawObligationCollateral.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/withdrawObligationCollateral.js +65 -0
- package/dist/@codegen/klend/instructions/withdrawObligationCollateral.js.map +1 -0
- package/dist/@codegen/klend/instructions/withdrawObligationCollateralAndRedeemReserveCollateral.d.ts +25 -0
- package/dist/@codegen/klend/instructions/withdrawObligationCollateralAndRedeemReserveCollateral.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/withdrawObligationCollateralAndRedeemReserveCollateral.js +77 -0
- package/dist/@codegen/klend/instructions/withdrawObligationCollateralAndRedeemReserveCollateral.js.map +1 -0
- package/dist/@codegen/klend/instructions/withdrawObligationCollateralAndRedeemReserveCollateralV2.d.ts +32 -0
- package/dist/@codegen/klend/instructions/withdrawObligationCollateralAndRedeemReserveCollateralV2.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/withdrawObligationCollateralAndRedeemReserveCollateralV2.js +92 -0
- package/dist/@codegen/klend/instructions/withdrawObligationCollateralAndRedeemReserveCollateralV2.js.map +1 -0
- package/dist/@codegen/klend/instructions/withdrawObligationCollateralV2.d.ts +27 -0
- package/dist/@codegen/klend/instructions/withdrawObligationCollateralV2.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/withdrawObligationCollateralV2.js +83 -0
- package/dist/@codegen/klend/instructions/withdrawObligationCollateralV2.js.map +1 -0
- package/dist/@codegen/klend/instructions/withdrawProtocolFee.d.ts +19 -0
- package/dist/@codegen/klend/instructions/withdrawProtocolFee.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/withdrawProtocolFee.js +64 -0
- package/dist/@codegen/klend/instructions/withdrawProtocolFee.js.map +1 -0
- package/dist/@codegen/klend/instructions/withdrawReferrerFees.d.ts +15 -0
- package/dist/@codegen/klend/instructions/withdrawReferrerFees.d.ts.map +1 -0
- package/dist/@codegen/klend/instructions/withdrawReferrerFees.js +26 -0
- package/dist/@codegen/klend/instructions/withdrawReferrerFees.js.map +1 -0
- package/dist/@codegen/klend/programId.d.ts +4 -0
- package/dist/@codegen/klend/programId.d.ts.map +1 -0
- package/dist/@codegen/klend/programId.js +9 -0
- package/dist/@codegen/klend/programId.js.map +1 -0
- package/dist/@codegen/klend/types/AssetTier.d.ts +45 -0
- package/dist/@codegen/klend/types/AssetTier.d.ts.map +1 -0
- package/dist/@codegen/klend/types/AssetTier.js +132 -0
- package/dist/@codegen/klend/types/AssetTier.js.map +1 -0
- package/dist/@codegen/klend/types/BigFractionBytes.d.ts +28 -0
- package/dist/@codegen/klend/types/BigFractionBytes.d.ts.map +1 -0
- package/dist/@codegen/klend/types/BigFractionBytes.js +85 -0
- package/dist/@codegen/klend/types/BigFractionBytes.js.map +1 -0
- package/dist/@codegen/klend/types/BorrowRateCurve.d.ts +28 -0
- package/dist/@codegen/klend/types/BorrowRateCurve.d.ts.map +1 -0
- package/dist/@codegen/klend/types/BorrowRateCurve.js +73 -0
- package/dist/@codegen/klend/types/BorrowRateCurve.js.map +1 -0
- package/dist/@codegen/klend/types/CurvePoint.d.ts +27 -0
- package/dist/@codegen/klend/types/CurvePoint.d.ts.map +1 -0
- package/dist/@codegen/klend/types/CurvePoint.js +78 -0
- package/dist/@codegen/klend/types/CurvePoint.js.map +1 -0
- package/dist/@codegen/klend/types/ElevationGroup.d.ts +67 -0
- package/dist/@codegen/klend/types/ElevationGroup.d.ts.map +1 -0
- package/dist/@codegen/klend/types/ElevationGroup.js +137 -0
- package/dist/@codegen/klend/types/ElevationGroup.js.map +1 -0
- package/dist/@codegen/klend/types/FeeCalculation.d.ts +32 -0
- package/dist/@codegen/klend/types/FeeCalculation.d.ts.map +1 -0
- package/dist/@codegen/klend/types/FeeCalculation.js +108 -0
- package/dist/@codegen/klend/types/FeeCalculation.js.map +1 -0
- package/dist/@codegen/klend/types/InitObligationArgs.d.ts +27 -0
- package/dist/@codegen/klend/types/InitObligationArgs.d.ts.map +1 -0
- package/dist/@codegen/klend/types/InitObligationArgs.js +78 -0
- package/dist/@codegen/klend/types/InitObligationArgs.js.map +1 -0
- package/dist/@codegen/klend/types/LastUpdate.d.ts +48 -0
- package/dist/@codegen/klend/types/LastUpdate.d.ts.map +1 -0
- package/dist/@codegen/klend/types/LastUpdate.js +103 -0
- package/dist/@codegen/klend/types/LastUpdate.js.map +1 -0
- package/dist/@codegen/klend/types/ObligationCollateral.d.ts +72 -0
- package/dist/@codegen/klend/types/ObligationCollateral.d.ts.map +1 -0
- package/dist/@codegen/klend/types/ObligationCollateral.js +119 -0
- package/dist/@codegen/klend/types/ObligationCollateral.js.map +1 -0
- package/dist/@codegen/klend/types/ObligationLiquidity.d.ts +84 -0
- package/dist/@codegen/klend/types/ObligationLiquidity.d.ts.map +1 -0
- package/dist/@codegen/klend/types/ObligationLiquidity.js +141 -0
- package/dist/@codegen/klend/types/ObligationLiquidity.js.map +1 -0
- package/dist/@codegen/klend/types/ObligationOrder.d.ts +284 -0
- package/dist/@codegen/klend/types/ObligationOrder.d.ts.map +1 -0
- package/dist/@codegen/klend/types/ObligationOrder.js +205 -0
- package/dist/@codegen/klend/types/ObligationOrder.js.map +1 -0
- package/dist/@codegen/klend/types/PriceHeuristic.d.ts +42 -0
- package/dist/@codegen/klend/types/PriceHeuristic.d.ts.map +1 -0
- package/dist/@codegen/klend/types/PriceHeuristic.js +91 -0
- package/dist/@codegen/klend/types/PriceHeuristic.js.map +1 -0
- package/dist/@codegen/klend/types/PythConfiguration.d.ts +26 -0
- package/dist/@codegen/klend/types/PythConfiguration.d.ts.map +1 -0
- package/dist/@codegen/klend/types/PythConfiguration.js +75 -0
- package/dist/@codegen/klend/types/PythConfiguration.js.map +1 -0
- package/dist/@codegen/klend/types/ReserveCollateral.d.ts +54 -0
- package/dist/@codegen/klend/types/ReserveCollateral.d.ts.map +1 -0
- package/dist/@codegen/klend/types/ReserveCollateral.js +112 -0
- package/dist/@codegen/klend/types/ReserveCollateral.js.map +1 -0
- package/dist/@codegen/klend/types/ReserveConfig.d.ts +472 -0
- package/dist/@codegen/klend/types/ReserveConfig.d.ts.map +1 -0
- package/dist/@codegen/klend/types/ReserveConfig.js +377 -0
- package/dist/@codegen/klend/types/ReserveConfig.js.map +1 -0
- package/dist/@codegen/klend/types/ReserveFarmKind.d.ts +32 -0
- package/dist/@codegen/klend/types/ReserveFarmKind.d.ts.map +1 -0
- package/dist/@codegen/klend/types/ReserveFarmKind.js +108 -0
- package/dist/@codegen/klend/types/ReserveFarmKind.js.map +1 -0
- package/dist/@codegen/klend/types/ReserveFees.d.ts +79 -0
- package/dist/@codegen/klend/types/ReserveFees.d.ts.map +1 -0
- package/dist/@codegen/klend/types/ReserveFees.js +112 -0
- package/dist/@codegen/klend/types/ReserveFees.js.map +1 -0
- package/dist/@codegen/klend/types/ReserveLiquidity.d.ts +182 -0
- package/dist/@codegen/klend/types/ReserveLiquidity.d.ts.map +1 -0
- package/dist/@codegen/klend/types/ReserveLiquidity.js +225 -0
- package/dist/@codegen/klend/types/ReserveLiquidity.js.map +1 -0
- package/dist/@codegen/klend/types/ReserveStatus.d.ts +45 -0
- package/dist/@codegen/klend/types/ReserveStatus.d.ts.map +1 -0
- package/dist/@codegen/klend/types/ReserveStatus.js +132 -0
- package/dist/@codegen/klend/types/ReserveStatus.js.map +1 -0
- package/dist/@codegen/klend/types/ScopeConfiguration.d.ts +42 -0
- package/dist/@codegen/klend/types/ScopeConfiguration.d.ts.map +1 -0
- package/dist/@codegen/klend/types/ScopeConfiguration.js +93 -0
- package/dist/@codegen/klend/types/ScopeConfiguration.js.map +1 -0
- package/dist/@codegen/klend/types/SwitchboardConfiguration.d.ts +31 -0
- package/dist/@codegen/klend/types/SwitchboardConfiguration.d.ts.map +1 -0
- package/dist/@codegen/klend/types/SwitchboardConfiguration.js +81 -0
- package/dist/@codegen/klend/types/SwitchboardConfiguration.js.map +1 -0
- package/dist/@codegen/klend/types/TokenInfo.d.ts +118 -0
- package/dist/@codegen/klend/types/TokenInfo.d.ts.map +1 -0
- package/dist/@codegen/klend/types/TokenInfo.js +161 -0
- package/dist/@codegen/klend/types/TokenInfo.js.map +1 -0
- package/dist/@codegen/klend/types/UpdateConfigMode.d.ts +695 -0
- package/dist/@codegen/klend/types/UpdateConfigMode.d.ts.map +1 -0
- package/dist/@codegen/klend/types/UpdateConfigMode.js +1333 -0
- package/dist/@codegen/klend/types/UpdateConfigMode.js.map +1 -0
- package/dist/@codegen/klend/types/UpdateGlobalConfigMode.d.ts +32 -0
- package/dist/@codegen/klend/types/UpdateGlobalConfigMode.d.ts.map +1 -0
- package/dist/@codegen/klend/types/UpdateGlobalConfigMode.js +108 -0
- package/dist/@codegen/klend/types/UpdateGlobalConfigMode.js.map +1 -0
- package/dist/@codegen/klend/types/UpdateLendingMarketConfigValue.d.ts +198 -0
- package/dist/@codegen/klend/types/UpdateLendingMarketConfigValue.d.ts.map +1 -0
- package/dist/@codegen/klend/types/UpdateLendingMarketConfigValue.js +355 -0
- package/dist/@codegen/klend/types/UpdateLendingMarketConfigValue.js.map +1 -0
- package/dist/@codegen/klend/types/UpdateLendingMarketMode.d.ts +357 -0
- package/dist/@codegen/klend/types/UpdateLendingMarketMode.d.ts.map +1 -0
- package/dist/@codegen/klend/types/UpdateLendingMarketMode.js +708 -0
- package/dist/@codegen/klend/types/UpdateLendingMarketMode.js.map +1 -0
- package/dist/@codegen/klend/types/WithdrawalCaps.d.ts +39 -0
- package/dist/@codegen/klend/types/WithdrawalCaps.d.ts.map +1 -0
- package/dist/@codegen/klend/types/WithdrawalCaps.js +100 -0
- package/dist/@codegen/klend/types/WithdrawalCaps.js.map +1 -0
- package/dist/@codegen/klend/types/index.d.ts +72 -0
- package/dist/@codegen/klend/types/index.d.ts.map +1 -0
- package/dist/@codegen/klend/types/index.js +91 -0
- package/dist/@codegen/klend/types/index.js.map +1 -0
- package/dist/@codegen/klend/utils/borshAddress.d.ts +4 -0
- package/dist/@codegen/klend/utils/borshAddress.d.ts.map +1 -0
- package/dist/@codegen/klend/utils/borshAddress.js +30 -0
- package/dist/@codegen/klend/utils/borshAddress.js.map +1 -0
- package/dist/@codegen/klend/utils/index.d.ts +2 -0
- package/dist/@codegen/klend/utils/index.d.ts.map +1 -0
- package/dist/@codegen/klend/utils/index.js +18 -0
- package/dist/@codegen/klend/utils/index.js.map +1 -0
- package/dist/@codegen/klend/zero_padding/ObligationZP.d.ts +73 -0
- package/dist/@codegen/klend/zero_padding/ObligationZP.d.ts.map +1 -0
- package/dist/@codegen/klend/zero_padding/ObligationZP.js +225 -0
- package/dist/@codegen/klend/zero_padding/ObligationZP.js.map +1 -0
- package/dist/@codegen/klend/zero_padding/index.d.ts +2 -0
- package/dist/@codegen/klend/zero_padding/index.d.ts.map +1 -0
- package/dist/@codegen/klend/zero_padding/index.js +6 -0
- package/dist/@codegen/klend/zero_padding/index.js.map +1 -0
- package/dist/@codegen/kvault/accounts/GlobalConfig.d.ts +32 -0
- package/dist/@codegen/kvault/accounts/GlobalConfig.d.ts.map +1 -0
- package/dist/@codegen/kvault/accounts/GlobalConfig.js +125 -0
- package/dist/@codegen/kvault/accounts/GlobalConfig.js.map +1 -0
- package/dist/@codegen/kvault/accounts/Reserve.d.ts +90 -0
- package/dist/@codegen/kvault/accounts/Reserve.d.ts.map +1 -0
- package/dist/@codegen/kvault/accounts/Reserve.js +192 -0
- package/dist/@codegen/kvault/accounts/Reserve.js.map +1 -0
- package/dist/@codegen/kvault/accounts/ReserveWhitelistEntry.d.ts +52 -0
- package/dist/@codegen/kvault/accounts/ReserveWhitelistEntry.d.ts.map +1 -0
- package/dist/@codegen/kvault/accounts/ReserveWhitelistEntry.js +127 -0
- package/dist/@codegen/kvault/accounts/ReserveWhitelistEntry.js.map +1 -0
- package/dist/@codegen/kvault/accounts/VaultState.d.ts +144 -0
- package/dist/@codegen/kvault/accounts/VaultState.d.ts.map +1 -0
- package/dist/@codegen/kvault/accounts/VaultState.js +350 -0
- package/dist/@codegen/kvault/accounts/VaultState.js.map +1 -0
- package/dist/@codegen/kvault/accounts/index.d.ts +9 -0
- package/dist/@codegen/kvault/accounts/index.d.ts.map +1 -0
- package/dist/@codegen/kvault/accounts/index.js +12 -0
- package/dist/@codegen/kvault/accounts/index.js.map +1 -0
- package/dist/@codegen/kvault/errors/anchor.d.ts +435 -0
- package/dist/@codegen/kvault/errors/anchor.d.ts.map +1 -0
- package/dist/@codegen/kvault/errors/anchor.js +767 -0
- package/dist/@codegen/kvault/errors/anchor.js.map +1 -0
- package/dist/@codegen/kvault/errors/custom.d.ts +451 -0
- package/dist/@codegen/kvault/errors/custom.d.ts.map +1 -0
- package/dist/@codegen/kvault/errors/custom.js +795 -0
- package/dist/@codegen/kvault/errors/custom.js.map +1 -0
- package/dist/@codegen/kvault/errors/index.d.ts +6 -0
- package/dist/@codegen/kvault/errors/index.d.ts.map +1 -0
- package/dist/@codegen/kvault/errors/index.js +86 -0
- package/dist/@codegen/kvault/errors/index.js.map +1 -0
- package/dist/@codegen/kvault/instructions/addUpdateWhitelistedReserve.d.ts +16 -0
- package/dist/@codegen/kvault/instructions/addUpdateWhitelistedReserve.d.ts.map +1 -0
- package/dist/@codegen/kvault/instructions/addUpdateWhitelistedReserve.js +66 -0
- package/dist/@codegen/kvault/instructions/addUpdateWhitelistedReserve.js.map +1 -0
- package/dist/@codegen/kvault/instructions/buy.d.ts +24 -0
- package/dist/@codegen/kvault/instructions/buy.d.ts.map +1 -0
- package/dist/@codegen/kvault/instructions/buy.js +67 -0
- package/dist/@codegen/kvault/instructions/buy.js.map +1 -0
- package/dist/@codegen/kvault/instructions/deposit.d.ts +24 -0
- package/dist/@codegen/kvault/instructions/deposit.d.ts.map +1 -0
- package/dist/@codegen/kvault/instructions/deposit.js +67 -0
- package/dist/@codegen/kvault/instructions/deposit.js.map +1 -0
- package/dist/@codegen/kvault/instructions/giveUpPendingFees.d.ts +14 -0
- package/dist/@codegen/kvault/instructions/giveUpPendingFees.d.ts.map +1 -0
- package/dist/@codegen/kvault/instructions/giveUpPendingFees.js +65 -0
- package/dist/@codegen/kvault/instructions/giveUpPendingFees.js.map +1 -0
- package/dist/@codegen/kvault/instructions/index.d.ts +39 -0
- package/dist/@codegen/kvault/instructions/index.d.ts.map +1 -0
- package/dist/@codegen/kvault/instructions/index.js +42 -0
- package/dist/@codegen/kvault/instructions/index.js.map +1 -0
- package/dist/@codegen/kvault/instructions/initGlobalConfig.d.ts +11 -0
- package/dist/@codegen/kvault/instructions/initGlobalConfig.d.ts.map +1 -0
- package/dist/@codegen/kvault/instructions/initGlobalConfig.js +20 -0
- package/dist/@codegen/kvault/instructions/initGlobalConfig.js.map +1 -0
- package/dist/@codegen/kvault/instructions/initVault.d.ts +17 -0
- package/dist/@codegen/kvault/instructions/initVault.d.ts.map +1 -0
- package/dist/@codegen/kvault/instructions/initVault.js +30 -0
- package/dist/@codegen/kvault/instructions/initVault.js.map +1 -0
- package/dist/@codegen/kvault/instructions/initializeSharesMetadata.d.ts +20 -0
- package/dist/@codegen/kvault/instructions/initializeSharesMetadata.d.ts.map +1 -0
- package/dist/@codegen/kvault/instructions/initializeSharesMetadata.js +72 -0
- package/dist/@codegen/kvault/instructions/initializeSharesMetadata.js.map +1 -0
- package/dist/@codegen/kvault/instructions/invest.d.ts +24 -0
- package/dist/@codegen/kvault/instructions/invest.d.ts.map +1 -0
- package/dist/@codegen/kvault/instructions/invest.js +36 -0
- package/dist/@codegen/kvault/instructions/invest.js.map +1 -0
- package/dist/@codegen/kvault/instructions/removeAllocation.d.ts +9 -0
- package/dist/@codegen/kvault/instructions/removeAllocation.d.ts.map +1 -0
- package/dist/@codegen/kvault/instructions/removeAllocation.js +22 -0
- package/dist/@codegen/kvault/instructions/removeAllocation.js.map +1 -0
- package/dist/@codegen/kvault/instructions/sell.d.ts +40 -0
- package/dist/@codegen/kvault/instructions/sell.d.ts.map +1 -0
- package/dist/@codegen/kvault/instructions/sell.js +98 -0
- package/dist/@codegen/kvault/instructions/sell.js.map +1 -0
- package/dist/@codegen/kvault/instructions/updateAdmin.d.ts +8 -0
- package/dist/@codegen/kvault/instructions/updateAdmin.d.ts.map +1 -0
- package/dist/@codegen/kvault/instructions/updateAdmin.js +21 -0
- package/dist/@codegen/kvault/instructions/updateAdmin.js.map +1 -0
- package/dist/@codegen/kvault/instructions/updateGlobalConfig.d.ts +13 -0
- package/dist/@codegen/kvault/instructions/updateGlobalConfig.d.ts.map +1 -0
- package/dist/@codegen/kvault/instructions/updateGlobalConfig.js +63 -0
- package/dist/@codegen/kvault/instructions/updateGlobalConfig.js.map +1 -0
- package/dist/@codegen/kvault/instructions/updateGlobalConfigAdmin.d.ts +8 -0
- package/dist/@codegen/kvault/instructions/updateGlobalConfigAdmin.d.ts.map +1 -0
- package/dist/@codegen/kvault/instructions/updateGlobalConfigAdmin.js +21 -0
- package/dist/@codegen/kvault/instructions/updateGlobalConfigAdmin.js.map +1 -0
- package/dist/@codegen/kvault/instructions/updateReserveAllocation.d.ts +22 -0
- package/dist/@codegen/kvault/instructions/updateReserveAllocation.d.ts.map +1 -0
- package/dist/@codegen/kvault/instructions/updateReserveAllocation.js +72 -0
- package/dist/@codegen/kvault/instructions/updateReserveAllocation.js.map +1 -0
- package/dist/@codegen/kvault/instructions/updateSharesMetadata.d.ts +17 -0
- package/dist/@codegen/kvault/instructions/updateSharesMetadata.d.ts.map +1 -0
- package/dist/@codegen/kvault/instructions/updateSharesMetadata.js +71 -0
- package/dist/@codegen/kvault/instructions/updateSharesMetadata.js.map +1 -0
- package/dist/@codegen/kvault/instructions/updateVaultConfig.d.ts +16 -0
- package/dist/@codegen/kvault/instructions/updateVaultConfig.d.ts.map +1 -0
- package/dist/@codegen/kvault/instructions/updateVaultConfig.js +63 -0
- package/dist/@codegen/kvault/instructions/updateVaultConfig.js.map +1 -0
- package/dist/@codegen/kvault/instructions/withdraw.d.ts +40 -0
- package/dist/@codegen/kvault/instructions/withdraw.d.ts.map +1 -0
- package/dist/@codegen/kvault/instructions/withdraw.js +98 -0
- package/dist/@codegen/kvault/instructions/withdraw.js.map +1 -0
- package/dist/@codegen/kvault/instructions/withdrawFromAvailable.d.ts +25 -0
- package/dist/@codegen/kvault/instructions/withdrawFromAvailable.d.ts.map +1 -0
- package/dist/@codegen/kvault/instructions/withdrawFromAvailable.js +70 -0
- package/dist/@codegen/kvault/instructions/withdrawFromAvailable.js.map +1 -0
- package/dist/@codegen/kvault/instructions/withdrawPendingFees.d.ts +23 -0
- package/dist/@codegen/kvault/instructions/withdrawPendingFees.d.ts.map +1 -0
- package/dist/@codegen/kvault/instructions/withdrawPendingFees.js +37 -0
- package/dist/@codegen/kvault/instructions/withdrawPendingFees.js.map +1 -0
- package/dist/@codegen/kvault/programId.d.ts +4 -0
- package/dist/@codegen/kvault/programId.d.ts.map +1 -0
- package/dist/@codegen/kvault/programId.js +9 -0
- package/dist/@codegen/kvault/programId.js.map +1 -0
- package/dist/@codegen/kvault/types/BigFractionBytes.d.ts +28 -0
- package/dist/@codegen/kvault/types/BigFractionBytes.d.ts.map +1 -0
- package/dist/@codegen/kvault/types/BigFractionBytes.js +85 -0
- package/dist/@codegen/kvault/types/BigFractionBytes.js.map +1 -0
- package/dist/@codegen/kvault/types/BorrowRateCurve.d.ts +28 -0
- package/dist/@codegen/kvault/types/BorrowRateCurve.d.ts.map +1 -0
- package/dist/@codegen/kvault/types/BorrowRateCurve.js +73 -0
- package/dist/@codegen/kvault/types/BorrowRateCurve.js.map +1 -0
- package/dist/@codegen/kvault/types/CurvePoint.d.ts +27 -0
- package/dist/@codegen/kvault/types/CurvePoint.d.ts.map +1 -0
- package/dist/@codegen/kvault/types/CurvePoint.js +78 -0
- package/dist/@codegen/kvault/types/CurvePoint.js.map +1 -0
- package/dist/@codegen/kvault/types/LastUpdate.d.ts +48 -0
- package/dist/@codegen/kvault/types/LastUpdate.d.ts.map +1 -0
- package/dist/@codegen/kvault/types/LastUpdate.js +103 -0
- package/dist/@codegen/kvault/types/LastUpdate.js.map +1 -0
- package/dist/@codegen/kvault/types/PriceHeuristic.d.ts +42 -0
- package/dist/@codegen/kvault/types/PriceHeuristic.d.ts.map +1 -0
- package/dist/@codegen/kvault/types/PriceHeuristic.js +91 -0
- package/dist/@codegen/kvault/types/PriceHeuristic.js.map +1 -0
- package/dist/@codegen/kvault/types/PythConfiguration.d.ts +26 -0
- package/dist/@codegen/kvault/types/PythConfiguration.d.ts.map +1 -0
- package/dist/@codegen/kvault/types/PythConfiguration.js +75 -0
- package/dist/@codegen/kvault/types/PythConfiguration.js.map +1 -0
- package/dist/@codegen/kvault/types/ReserveCollateral.d.ts +54 -0
- package/dist/@codegen/kvault/types/ReserveCollateral.d.ts.map +1 -0
- package/dist/@codegen/kvault/types/ReserveCollateral.js +112 -0
- package/dist/@codegen/kvault/types/ReserveCollateral.js.map +1 -0
- package/dist/@codegen/kvault/types/ReserveConfig.d.ts +472 -0
- package/dist/@codegen/kvault/types/ReserveConfig.d.ts.map +1 -0
- package/dist/@codegen/kvault/types/ReserveConfig.js +377 -0
- package/dist/@codegen/kvault/types/ReserveConfig.js.map +1 -0
- package/dist/@codegen/kvault/types/ReserveFees.d.ts +79 -0
- package/dist/@codegen/kvault/types/ReserveFees.d.ts.map +1 -0
- package/dist/@codegen/kvault/types/ReserveFees.js +112 -0
- package/dist/@codegen/kvault/types/ReserveFees.js.map +1 -0
- package/dist/@codegen/kvault/types/ReserveLiquidity.d.ts +182 -0
- package/dist/@codegen/kvault/types/ReserveLiquidity.d.ts.map +1 -0
- package/dist/@codegen/kvault/types/ReserveLiquidity.js +225 -0
- package/dist/@codegen/kvault/types/ReserveLiquidity.js.map +1 -0
- package/dist/@codegen/kvault/types/ScopeConfiguration.d.ts +42 -0
- package/dist/@codegen/kvault/types/ScopeConfiguration.d.ts.map +1 -0
- package/dist/@codegen/kvault/types/ScopeConfiguration.js +93 -0
- package/dist/@codegen/kvault/types/ScopeConfiguration.js.map +1 -0
- package/dist/@codegen/kvault/types/SwitchboardConfiguration.d.ts +31 -0
- package/dist/@codegen/kvault/types/SwitchboardConfiguration.d.ts.map +1 -0
- package/dist/@codegen/kvault/types/SwitchboardConfiguration.js +81 -0
- package/dist/@codegen/kvault/types/SwitchboardConfiguration.js.map +1 -0
- package/dist/@codegen/kvault/types/TokenInfo.d.ts +118 -0
- package/dist/@codegen/kvault/types/TokenInfo.d.ts.map +1 -0
- package/dist/@codegen/kvault/types/TokenInfo.js +161 -0
- package/dist/@codegen/kvault/types/TokenInfo.js.map +1 -0
- package/dist/@codegen/kvault/types/UpdateGlobalConfigMode.d.ts +68 -0
- package/dist/@codegen/kvault/types/UpdateGlobalConfigMode.d.ts.map +1 -0
- package/dist/@codegen/kvault/types/UpdateGlobalConfigMode.js +162 -0
- package/dist/@codegen/kvault/types/UpdateGlobalConfigMode.js.map +1 -0
- package/dist/@codegen/kvault/types/UpdateReserveWhitelistMode.d.ts +46 -0
- package/dist/@codegen/kvault/types/UpdateReserveWhitelistMode.d.ts.map +1 -0
- package/dist/@codegen/kvault/types/UpdateReserveWhitelistMode.js +124 -0
- package/dist/@codegen/kvault/types/UpdateReserveWhitelistMode.js.map +1 -0
- package/dist/@codegen/kvault/types/VaultAllocation.d.ts +72 -0
- package/dist/@codegen/kvault/types/VaultAllocation.d.ts.map +1 -0
- package/dist/@codegen/kvault/types/VaultAllocation.js +144 -0
- package/dist/@codegen/kvault/types/VaultAllocation.js.map +1 -0
- package/dist/@codegen/kvault/types/VaultConfigField.d.ts +253 -0
- package/dist/@codegen/kvault/types/VaultConfigField.d.ts.map +1 -0
- package/dist/@codegen/kvault/types/VaultConfigField.js +516 -0
- package/dist/@codegen/kvault/types/VaultConfigField.js.map +1 -0
- package/dist/@codegen/kvault/types/WithdrawalCaps.d.ts +39 -0
- package/dist/@codegen/kvault/types/WithdrawalCaps.d.ts.map +1 -0
- package/dist/@codegen/kvault/types/WithdrawalCaps.js +100 -0
- package/dist/@codegen/kvault/types/WithdrawalCaps.js.map +1 -0
- package/dist/@codegen/kvault/types/index.d.ts +43 -0
- package/dist/@codegen/kvault/types/index.d.ts.map +1 -0
- package/dist/@codegen/kvault/types/index.js +73 -0
- package/dist/@codegen/kvault/types/index.js.map +1 -0
- package/dist/@codegen/kvault/utils/borshAddress.d.ts +4 -0
- package/dist/@codegen/kvault/utils/borshAddress.d.ts.map +1 -0
- package/dist/@codegen/kvault/utils/borshAddress.js +30 -0
- package/dist/@codegen/kvault/utils/borshAddress.js.map +1 -0
- package/dist/@codegen/kvault/utils/index.d.ts +2 -0
- package/dist/@codegen/kvault/utils/index.d.ts.map +1 -0
- package/dist/@codegen/kvault/utils/index.js +18 -0
- package/dist/@codegen/kvault/utils/index.js.map +1 -0
- package/dist/@codegen/pyth_rec/accounts/Config.d.ts +36 -0
- package/dist/@codegen/pyth_rec/accounts/Config.d.ts.map +1 -0
- package/dist/@codegen/pyth_rec/accounts/Config.js +134 -0
- package/dist/@codegen/pyth_rec/accounts/Config.js.map +1 -0
- package/dist/@codegen/pyth_rec/accounts/index.d.ts +7 -0
- package/dist/@codegen/pyth_rec/accounts/index.d.ts.map +1 -0
- package/dist/@codegen/pyth_rec/accounts/index.js +10 -0
- package/dist/@codegen/pyth_rec/accounts/index.js.map +1 -0
- package/dist/@codegen/pyth_rec/accounts/priceUpdateV2.d.ts +30 -0
- package/dist/@codegen/pyth_rec/accounts/priceUpdateV2.d.ts.map +1 -0
- package/dist/@codegen/pyth_rec/accounts/priceUpdateV2.js +120 -0
- package/dist/@codegen/pyth_rec/accounts/priceUpdateV2.js.map +1 -0
- package/dist/@codegen/pyth_rec/accounts/twapUpdate.d.ts +23 -0
- package/dist/@codegen/pyth_rec/accounts/twapUpdate.d.ts.map +1 -0
- package/dist/@codegen/pyth_rec/accounts/twapUpdate.js +103 -0
- package/dist/@codegen/pyth_rec/accounts/twapUpdate.js.map +1 -0
- package/dist/@codegen/pyth_rec/errors/anchor.d.ts +435 -0
- package/dist/@codegen/pyth_rec/errors/anchor.d.ts.map +1 -0
- package/dist/@codegen/pyth_rec/errors/anchor.js +767 -0
- package/dist/@codegen/pyth_rec/errors/anchor.js.map +1 -0
- package/dist/@codegen/pyth_rec/errors/custom.d.ts +179 -0
- package/dist/@codegen/pyth_rec/errors/custom.d.ts.map +1 -0
- package/dist/@codegen/pyth_rec/errors/custom.js +318 -0
- package/dist/@codegen/pyth_rec/errors/custom.js.map +1 -0
- package/dist/@codegen/pyth_rec/errors/index.d.ts +6 -0
- package/dist/@codegen/pyth_rec/errors/index.d.ts.map +1 -0
- package/dist/@codegen/pyth_rec/errors/index.js +86 -0
- package/dist/@codegen/pyth_rec/errors/index.js.map +1 -0
- package/dist/@codegen/pyth_rec/instructions/acceptGovernanceAuthorityTransfer.d.ts +8 -0
- package/dist/@codegen/pyth_rec/instructions/acceptGovernanceAuthorityTransfer.d.ts.map +1 -0
- package/dist/@codegen/pyth_rec/instructions/acceptGovernanceAuthorityTransfer.js +17 -0
- package/dist/@codegen/pyth_rec/instructions/acceptGovernanceAuthorityTransfer.js.map +1 -0
- package/dist/@codegen/pyth_rec/instructions/index.d.ts +17 -0
- package/dist/@codegen/pyth_rec/instructions/index.d.ts.map +1 -0
- package/dist/@codegen/pyth_rec/instructions/index.js +20 -0
- package/dist/@codegen/pyth_rec/instructions/index.js.map +1 -0
- package/dist/@codegen/pyth_rec/instructions/reclaimRent.d.ts +8 -0
- package/dist/@codegen/pyth_rec/instructions/reclaimRent.d.ts.map +1 -0
- package/dist/@codegen/pyth_rec/instructions/reclaimRent.js +17 -0
- package/dist/@codegen/pyth_rec/instructions/reclaimRent.js.map +1 -0
- package/dist/@codegen/pyth_rec/instructions/reclaimTwapRent.d.ts +8 -0
- package/dist/@codegen/pyth_rec/instructions/reclaimTwapRent.d.ts.map +1 -0
- package/dist/@codegen/pyth_rec/instructions/reclaimTwapRent.js +17 -0
- package/dist/@codegen/pyth_rec/instructions/reclaimTwapRent.js.map +1 -0
- package/dist/@codegen/pyth_rec/instructions/requestGovernanceAuthorityTransfer.d.ts +12 -0
- package/dist/@codegen/pyth_rec/instructions/requestGovernanceAuthorityTransfer.d.ts.map +1 -0
- package/dist/@codegen/pyth_rec/instructions/requestGovernanceAuthorityTransfer.js +59 -0
- package/dist/@codegen/pyth_rec/instructions/requestGovernanceAuthorityTransfer.js.map +1 -0
- package/dist/@codegen/pyth_rec/instructions/setDataSources.d.ts +13 -0
- package/dist/@codegen/pyth_rec/instructions/setDataSources.d.ts.map +1 -0
- package/dist/@codegen/pyth_rec/instructions/setDataSources.js +59 -0
- package/dist/@codegen/pyth_rec/instructions/setDataSources.js.map +1 -0
- package/dist/@codegen/pyth_rec/instructions/setFee.d.ts +13 -0
- package/dist/@codegen/pyth_rec/instructions/setFee.d.ts.map +1 -0
- package/dist/@codegen/pyth_rec/instructions/setFee.js +58 -0
- package/dist/@codegen/pyth_rec/instructions/setFee.js.map +1 -0
- package/dist/@codegen/pyth_rec/instructions/setMinimumSignatures.d.ts +12 -0
- package/dist/@codegen/pyth_rec/instructions/setMinimumSignatures.d.ts.map +1 -0
- package/dist/@codegen/pyth_rec/instructions/setMinimumSignatures.js +58 -0
- package/dist/@codegen/pyth_rec/instructions/setMinimumSignatures.js.map +1 -0
- package/dist/@codegen/pyth_rec/instructions/setWormholeAddress.d.ts +12 -0
- package/dist/@codegen/pyth_rec/instructions/setWormholeAddress.d.ts.map +1 -0
- package/dist/@codegen/pyth_rec/instructions/setWormholeAddress.js +61 -0
- package/dist/@codegen/pyth_rec/instructions/setWormholeAddress.js.map +1 -0
- package/dist/@codegen/pyth_rec/programId.d.ts +4 -0
- package/dist/@codegen/pyth_rec/programId.d.ts.map +1 -0
- package/dist/@codegen/pyth_rec/programId.js +9 -0
- package/dist/@codegen/pyth_rec/programId.js.map +1 -0
- package/dist/@codegen/pyth_rec/types/DataSource.d.ts +28 -0
- package/dist/@codegen/pyth_rec/types/DataSource.d.ts.map +1 -0
- package/dist/@codegen/pyth_rec/types/DataSource.js +80 -0
- package/dist/@codegen/pyth_rec/types/DataSource.js.map +1 -0
- package/dist/@codegen/pyth_rec/types/MerklePriceUpdate.d.ts +27 -0
- package/dist/@codegen/pyth_rec/types/MerklePriceUpdate.d.ts.map +1 -0
- package/dist/@codegen/pyth_rec/types/MerklePriceUpdate.js +78 -0
- package/dist/@codegen/pyth_rec/types/MerklePriceUpdate.js.map +1 -0
- package/dist/@codegen/pyth_rec/types/PostTwapUpdateParams.d.ts +44 -0
- package/dist/@codegen/pyth_rec/types/PostTwapUpdateParams.d.ts.map +1 -0
- package/dist/@codegen/pyth_rec/types/PostTwapUpdateParams.js +93 -0
- package/dist/@codegen/pyth_rec/types/PostTwapUpdateParams.js.map +1 -0
- package/dist/@codegen/pyth_rec/types/PostUpdateAtomicParams.d.ts +38 -0
- package/dist/@codegen/pyth_rec/types/PostUpdateAtomicParams.d.ts.map +1 -0
- package/dist/@codegen/pyth_rec/types/PostUpdateAtomicParams.js +91 -0
- package/dist/@codegen/pyth_rec/types/PostUpdateAtomicParams.js.map +1 -0
- package/dist/@codegen/pyth_rec/types/PostUpdateParams.d.ts +33 -0
- package/dist/@codegen/pyth_rec/types/PostUpdateParams.d.ts.map +1 -0
- package/dist/@codegen/pyth_rec/types/PostUpdateParams.js +84 -0
- package/dist/@codegen/pyth_rec/types/PostUpdateParams.js.map +1 -0
- package/dist/@codegen/pyth_rec/types/PriceFeedMessage.d.ts +58 -0
- package/dist/@codegen/pyth_rec/types/PriceFeedMessage.d.ts.map +1 -0
- package/dist/@codegen/pyth_rec/types/PriceFeedMessage.js +127 -0
- package/dist/@codegen/pyth_rec/types/PriceFeedMessage.js.map +1 -0
- package/dist/@codegen/pyth_rec/types/TwapPrice.d.ts +69 -0
- package/dist/@codegen/pyth_rec/types/TwapPrice.d.ts.map +1 -0
- package/dist/@codegen/pyth_rec/types/TwapPrice.js +128 -0
- package/dist/@codegen/pyth_rec/types/TwapPrice.js.map +1 -0
- package/dist/@codegen/pyth_rec/types/VerificationLevel.d.ts +45 -0
- package/dist/@codegen/pyth_rec/types/VerificationLevel.d.ts.map +1 -0
- package/dist/@codegen/pyth_rec/types/VerificationLevel.js +124 -0
- package/dist/@codegen/pyth_rec/types/VerificationLevel.js.map +1 -0
- package/dist/@codegen/pyth_rec/types/index.d.ts +24 -0
- package/dist/@codegen/pyth_rec/types/index.d.ts.map +1 -0
- package/dist/@codegen/pyth_rec/types/index.js +53 -0
- package/dist/@codegen/pyth_rec/types/index.js.map +1 -0
- package/dist/@codegen/pyth_rec/utils/borshAddress.d.ts +4 -0
- package/dist/@codegen/pyth_rec/utils/borshAddress.d.ts.map +1 -0
- package/dist/@codegen/pyth_rec/utils/borshAddress.js +30 -0
- package/dist/@codegen/pyth_rec/utils/borshAddress.js.map +1 -0
- package/dist/@codegen/pyth_rec/utils/index.d.ts +2 -0
- package/dist/@codegen/pyth_rec/utils/index.d.ts.map +1 -0
- package/dist/@codegen/pyth_rec/utils/index.js +18 -0
- package/dist/@codegen/pyth_rec/utils/index.js.map +1 -0
- package/dist/@codegen/switchboard_v2/accounts/AggregatorAccountData.d.ts +123 -0
- package/dist/@codegen/switchboard_v2/accounts/AggregatorAccountData.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/accounts/AggregatorAccountData.js +312 -0
- package/dist/@codegen/switchboard_v2/accounts/AggregatorAccountData.js.map +1 -0
- package/dist/@codegen/switchboard_v2/accounts/BufferRelayerAccountData.d.ts +50 -0
- package/dist/@codegen/switchboard_v2/accounts/BufferRelayerAccountData.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/accounts/BufferRelayerAccountData.js +159 -0
- package/dist/@codegen/switchboard_v2/accounts/BufferRelayerAccountData.js.map +1 -0
- package/dist/@codegen/switchboard_v2/accounts/CrankAccountData.d.ts +40 -0
- package/dist/@codegen/switchboard_v2/accounts/CrankAccountData.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/accounts/CrankAccountData.js +138 -0
- package/dist/@codegen/switchboard_v2/accounts/CrankAccountData.js.map +1 -0
- package/dist/@codegen/switchboard_v2/accounts/JobAccountData.d.ts +47 -0
- package/dist/@codegen/switchboard_v2/accounts/JobAccountData.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/accounts/JobAccountData.js +155 -0
- package/dist/@codegen/switchboard_v2/accounts/JobAccountData.js.map +1 -0
- package/dist/@codegen/switchboard_v2/accounts/LeaseAccountData.d.ts +47 -0
- package/dist/@codegen/switchboard_v2/accounts/LeaseAccountData.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/accounts/LeaseAccountData.js +155 -0
- package/dist/@codegen/switchboard_v2/accounts/LeaseAccountData.js.map +1 -0
- package/dist/@codegen/switchboard_v2/accounts/OracleAccountData.d.ts +45 -0
- package/dist/@codegen/switchboard_v2/accounts/OracleAccountData.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/accounts/OracleAccountData.js +150 -0
- package/dist/@codegen/switchboard_v2/accounts/OracleAccountData.js.map +1 -0
- package/dist/@codegen/switchboard_v2/accounts/OracleQueueAccountData.d.ts +87 -0
- package/dist/@codegen/switchboard_v2/accounts/OracleQueueAccountData.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/accounts/OracleQueueAccountData.js +238 -0
- package/dist/@codegen/switchboard_v2/accounts/OracleQueueAccountData.js.map +1 -0
- package/dist/@codegen/switchboard_v2/accounts/PermissionAccountData.d.ts +35 -0
- package/dist/@codegen/switchboard_v2/accounts/PermissionAccountData.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/accounts/PermissionAccountData.js +131 -0
- package/dist/@codegen/switchboard_v2/accounts/PermissionAccountData.js.map +1 -0
- package/dist/@codegen/switchboard_v2/accounts/RealmSpawnRecordAccountData.d.ts +19 -0
- package/dist/@codegen/switchboard_v2/accounts/RealmSpawnRecordAccountData.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/accounts/RealmSpawnRecordAccountData.js +93 -0
- package/dist/@codegen/switchboard_v2/accounts/RealmSpawnRecordAccountData.js.map +1 -0
- package/dist/@codegen/switchboard_v2/accounts/SbState.d.ts +31 -0
- package/dist/@codegen/switchboard_v2/accounts/SbState.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/accounts/SbState.js +120 -0
- package/dist/@codegen/switchboard_v2/accounts/SbState.js.map +1 -0
- package/dist/@codegen/switchboard_v2/accounts/SlidingResultAccountData.d.ts +26 -0
- package/dist/@codegen/switchboard_v2/accounts/SlidingResultAccountData.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/accounts/SlidingResultAccountData.js +108 -0
- package/dist/@codegen/switchboard_v2/accounts/SlidingResultAccountData.js.map +1 -0
- package/dist/@codegen/switchboard_v2/accounts/TaskSpecRecord.d.ts +20 -0
- package/dist/@codegen/switchboard_v2/accounts/TaskSpecRecord.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/accounts/TaskSpecRecord.js +96 -0
- package/dist/@codegen/switchboard_v2/accounts/TaskSpecRecord.js.map +1 -0
- package/dist/@codegen/switchboard_v2/accounts/VrfAccountData.d.ts +54 -0
- package/dist/@codegen/switchboard_v2/accounts/VrfAccountData.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/accounts/VrfAccountData.js +168 -0
- package/dist/@codegen/switchboard_v2/accounts/VrfAccountData.js.map +1 -0
- package/dist/@codegen/switchboard_v2/accounts/VrfLiteAccountData.d.ts +69 -0
- package/dist/@codegen/switchboard_v2/accounts/VrfLiteAccountData.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/accounts/VrfLiteAccountData.js +198 -0
- package/dist/@codegen/switchboard_v2/accounts/VrfLiteAccountData.js.map +1 -0
- package/dist/@codegen/switchboard_v2/accounts/VrfPoolAccountData.d.ts +43 -0
- package/dist/@codegen/switchboard_v2/accounts/VrfPoolAccountData.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/accounts/VrfPoolAccountData.js +142 -0
- package/dist/@codegen/switchboard_v2/accounts/VrfPoolAccountData.js.map +1 -0
- package/dist/@codegen/switchboard_v2/accounts/index.d.ts +31 -0
- package/dist/@codegen/switchboard_v2/accounts/index.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/accounts/index.js +34 -0
- package/dist/@codegen/switchboard_v2/accounts/index.js.map +1 -0
- package/dist/@codegen/switchboard_v2/errors/anchor.d.ts +435 -0
- package/dist/@codegen/switchboard_v2/errors/anchor.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/errors/anchor.js +767 -0
- package/dist/@codegen/switchboard_v2/errors/anchor.js.map +1 -0
- package/dist/@codegen/switchboard_v2/errors/custom.d.ts +801 -0
- package/dist/@codegen/switchboard_v2/errors/custom.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/errors/custom.js +1409 -0
- package/dist/@codegen/switchboard_v2/errors/custom.js.map +1 -0
- package/dist/@codegen/switchboard_v2/errors/index.d.ts +6 -0
- package/dist/@codegen/switchboard_v2/errors/index.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/errors/index.js +86 -0
- package/dist/@codegen/switchboard_v2/errors/index.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorAddJob.d.ts +13 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorAddJob.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorAddJob.js +63 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorAddJob.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorInit.d.ts +14 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorInit.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorInit.js +60 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorInit.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorLock.d.ts +12 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorLock.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorLock.js +62 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorLock.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorOpenRound.d.ts +21 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorOpenRound.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorOpenRound.js +67 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorOpenRound.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorRemoveJob.d.ts +13 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorRemoveJob.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorRemoveJob.js +63 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorRemoveJob.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorSaveResult.d.ts +23 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorSaveResult.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorSaveResult.js +73 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorSaveResult.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorSaveResultV2.d.ts +23 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorSaveResultV2.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorSaveResultV2.js +73 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorSaveResultV2.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorSetAuthority.d.ts +13 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorSetAuthority.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorSetAuthority.js +63 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorSetAuthority.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorSetConfig.d.ts +12 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorSetConfig.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorSetConfig.js +62 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorSetConfig.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorSetHistoryBuffer.d.ts +13 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorSetHistoryBuffer.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorSetHistoryBuffer.js +63 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorSetHistoryBuffer.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorSetQueue.d.ts +13 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorSetQueue.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorSetQueue.js +63 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorSetQueue.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorSetResolutionMode.d.ts +15 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorSetResolutionMode.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorSetResolutionMode.js +65 -0
- package/dist/@codegen/switchboard_v2/instructions/aggregatorSetResolutionMode.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/bufferRelayerInit.d.ts +22 -0
- package/dist/@codegen/switchboard_v2/instructions/bufferRelayerInit.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/bufferRelayerInit.js +68 -0
- package/dist/@codegen/switchboard_v2/instructions/bufferRelayerInit.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/bufferRelayerOpenRound.d.ts +16 -0
- package/dist/@codegen/switchboard_v2/instructions/bufferRelayerOpenRound.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/bufferRelayerOpenRound.js +62 -0
- package/dist/@codegen/switchboard_v2/instructions/bufferRelayerOpenRound.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/bufferRelayerSaveResult.d.ts +21 -0
- package/dist/@codegen/switchboard_v2/instructions/bufferRelayerSaveResult.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/bufferRelayerSaveResult.js +71 -0
- package/dist/@codegen/switchboard_v2/instructions/bufferRelayerSaveResult.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/crankInit.d.ts +15 -0
- package/dist/@codegen/switchboard_v2/instructions/crankInit.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/crankInit.js +59 -0
- package/dist/@codegen/switchboard_v2/instructions/crankInit.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/crankPop.d.ts +19 -0
- package/dist/@codegen/switchboard_v2/instructions/crankPop.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/crankPop.js +63 -0
- package/dist/@codegen/switchboard_v2/instructions/crankPop.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/crankPopV2.d.ts +19 -0
- package/dist/@codegen/switchboard_v2/instructions/crankPopV2.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/crankPopV2.js +63 -0
- package/dist/@codegen/switchboard_v2/instructions/crankPopV2.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/crankPush.d.ts +19 -0
- package/dist/@codegen/switchboard_v2/instructions/crankPush.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/crankPush.js +63 -0
- package/dist/@codegen/switchboard_v2/instructions/crankPush.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/index.d.ts +97 -0
- package/dist/@codegen/switchboard_v2/instructions/index.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/index.js +100 -0
- package/dist/@codegen/switchboard_v2/instructions/index.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/jobInit.d.ts +15 -0
- package/dist/@codegen/switchboard_v2/instructions/jobInit.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/jobInit.js +63 -0
- package/dist/@codegen/switchboard_v2/instructions/jobInit.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/jobSetData.d.ts +12 -0
- package/dist/@codegen/switchboard_v2/instructions/jobSetData.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/jobSetData.js +60 -0
- package/dist/@codegen/switchboard_v2/instructions/jobSetData.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/leaseExtend.d.ts +19 -0
- package/dist/@codegen/switchboard_v2/instructions/leaseExtend.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/leaseExtend.js +63 -0
- package/dist/@codegen/switchboard_v2/instructions/leaseExtend.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/leaseInit.d.ts +21 -0
- package/dist/@codegen/switchboard_v2/instructions/leaseInit.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/leaseInit.js +65 -0
- package/dist/@codegen/switchboard_v2/instructions/leaseInit.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/leaseSetAuthority.d.ts +13 -0
- package/dist/@codegen/switchboard_v2/instructions/leaseSetAuthority.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/leaseSetAuthority.js +63 -0
- package/dist/@codegen/switchboard_v2/instructions/leaseSetAuthority.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/leaseWithdraw.d.ts +19 -0
- package/dist/@codegen/switchboard_v2/instructions/leaseWithdraw.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/leaseWithdraw.js +67 -0
- package/dist/@codegen/switchboard_v2/instructions/leaseWithdraw.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/oracleHeartbeat.d.ts +17 -0
- package/dist/@codegen/switchboard_v2/instructions/oracleHeartbeat.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/oracleHeartbeat.js +67 -0
- package/dist/@codegen/switchboard_v2/instructions/oracleHeartbeat.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/oracleInit.d.ts +17 -0
- package/dist/@codegen/switchboard_v2/instructions/oracleInit.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/oracleInit.js +61 -0
- package/dist/@codegen/switchboard_v2/instructions/oracleInit.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/oracleQueueInit.d.ts +16 -0
- package/dist/@codegen/switchboard_v2/instructions/oracleQueueInit.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/oracleQueueInit.js +66 -0
- package/dist/@codegen/switchboard_v2/instructions/oracleQueueInit.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/oracleQueueSetConfig.d.ts +12 -0
- package/dist/@codegen/switchboard_v2/instructions/oracleQueueSetConfig.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/oracleQueueSetConfig.js +62 -0
- package/dist/@codegen/switchboard_v2/instructions/oracleQueueSetConfig.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/oracleWithdraw.d.ts +20 -0
- package/dist/@codegen/switchboard_v2/instructions/oracleWithdraw.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/oracleWithdraw.js +70 -0
- package/dist/@codegen/switchboard_v2/instructions/oracleWithdraw.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/permissionInit.d.ts +16 -0
- package/dist/@codegen/switchboard_v2/instructions/permissionInit.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/permissionInit.js +62 -0
- package/dist/@codegen/switchboard_v2/instructions/permissionInit.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/permissionSet.d.ts +12 -0
- package/dist/@codegen/switchboard_v2/instructions/permissionSet.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/permissionSet.js +60 -0
- package/dist/@codegen/switchboard_v2/instructions/permissionSet.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/programConfig.d.ts +13 -0
- package/dist/@codegen/switchboard_v2/instructions/programConfig.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/programConfig.js +61 -0
- package/dist/@codegen/switchboard_v2/instructions/programConfig.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/programInit.d.ts +18 -0
- package/dist/@codegen/switchboard_v2/instructions/programInit.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/programInit.js +62 -0
- package/dist/@codegen/switchboard_v2/instructions/programInit.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/vaultTransfer.d.ts +15 -0
- package/dist/@codegen/switchboard_v2/instructions/vaultTransfer.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/vaultTransfer.js +63 -0
- package/dist/@codegen/switchboard_v2/instructions/vaultTransfer.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfCloseAction.d.ts +20 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfCloseAction.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfCloseAction.js +68 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfCloseAction.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfInit.d.ts +16 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfInit.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfInit.js +60 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfInit.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfLiteCloseAction.d.ts +20 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfLiteCloseAction.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfLiteCloseAction.js +68 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfLiteCloseAction.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfLiteInit.d.ts +23 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfLiteInit.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfLiteInit.js +67 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfLiteInit.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfLiteProveAndVerify.d.ts +19 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfLiteProveAndVerify.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfLiteProveAndVerify.js +69 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfLiteProveAndVerify.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfLiteRequestRandomness.d.ts +20 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfLiteRequestRandomness.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfLiteRequestRandomness.js +70 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfLiteRequestRandomness.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfPoolAdd.d.ts +15 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfPoolAdd.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfPoolAdd.js +59 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfPoolAdd.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfPoolInit.d.ts +21 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfPoolInit.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfPoolInit.js +65 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfPoolInit.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfPoolRemove.d.ts +13 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfPoolRemove.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfPoolRemove.js +61 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfPoolRemove.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfPoolRequest.d.ts +20 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfPoolRequest.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfPoolRequest.js +70 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfPoolRequest.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfProveAndVerify.d.ts +19 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfProveAndVerify.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfProveAndVerify.js +69 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfProveAndVerify.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfRequestRandomness.d.ts +22 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfRequestRandomness.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfRequestRandomness.js +76 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfRequestRandomness.js.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfSetCallback.d.ts +12 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfSetCallback.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfSetCallback.js +62 -0
- package/dist/@codegen/switchboard_v2/instructions/vrfSetCallback.js.map +1 -0
- package/dist/@codegen/switchboard_v2/programId.d.ts +4 -0
- package/dist/@codegen/switchboard_v2/programId.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/programId.js +9 -0
- package/dist/@codegen/switchboard_v2/programId.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AccountMetaBorsh.d.ts +33 -0
- package/dist/@codegen/switchboard_v2/types/AccountMetaBorsh.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AccountMetaBorsh.js +90 -0
- package/dist/@codegen/switchboard_v2/types/AccountMetaBorsh.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AccountMetaZC.d.ts +33 -0
- package/dist/@codegen/switchboard_v2/types/AccountMetaZC.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AccountMetaZC.js +90 -0
- package/dist/@codegen/switchboard_v2/types/AccountMetaZC.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorAddJobParams.d.ts +22 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorAddJobParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorAddJobParams.js +72 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorAddJobParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorHistoryRow.d.ts +34 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorHistoryRow.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorHistoryRow.js +83 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorHistoryRow.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorInitParams.d.ts +84 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorInitParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorInitParams.js +158 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorInitParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorLockParams.d.ts +15 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorLockParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorLockParams.js +61 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorLockParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorOpenRoundParams.d.ts +37 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorOpenRoundParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorOpenRoundParams.js +95 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorOpenRoundParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorRemoveJobParams.d.ts +22 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorRemoveJobParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorRemoveJobParams.js +72 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorRemoveJobParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorResolutionMode.d.ts +32 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorResolutionMode.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorResolutionMode.js +108 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorResolutionMode.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorRound.d.ts +119 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorRound.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorRound.js +172 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorRound.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSaveResultParams.d.ts +86 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSaveResultParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSaveResultParams.js +138 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSaveResultParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSaveResultParamsV2.d.ts +97 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSaveResultParamsV2.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSaveResultParamsV2.js +145 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSaveResultParamsV2.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetAuthorityParams.d.ts +15 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetAuthorityParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetAuthorityParams.js +61 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetAuthorityParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetBatchSizeParams.d.ts +22 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetBatchSizeParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetBatchSizeParams.js +72 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetBatchSizeParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetConfigParams.d.ts +84 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetConfigParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetConfigParams.js +161 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetConfigParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetForceReportPeriodParams.d.ts +22 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetForceReportPeriodParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetForceReportPeriodParams.js +72 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetForceReportPeriodParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetHistoryBufferParams.d.ts +15 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetHistoryBufferParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetHistoryBufferParams.js +61 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetHistoryBufferParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetMinJobsParams.d.ts +22 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetMinJobsParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetMinJobsParams.js +72 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetMinJobsParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetMinOraclesParams.d.ts +22 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetMinOraclesParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetMinOraclesParams.js +72 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetMinOraclesParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetQueueParams.d.ts +15 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetQueueParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetQueueParams.js +61 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetQueueParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetResolutionModeParams.d.ts +22 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetResolutionModeParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetResolutionModeParams.js +72 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetResolutionModeParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetUpdateIntervalParams.d.ts +22 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetUpdateIntervalParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetUpdateIntervalParams.js +72 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetUpdateIntervalParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetVarianceThresholdParams.d.ts +29 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetVarianceThresholdParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetVarianceThresholdParams.js +75 -0
- package/dist/@codegen/switchboard_v2/types/AggregatorSetVarianceThresholdParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/BorshDecimal.d.ts +28 -0
- package/dist/@codegen/switchboard_v2/types/BorshDecimal.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/BorshDecimal.js +82 -0
- package/dist/@codegen/switchboard_v2/types/BorshDecimal.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/BufferRelayerInitParams.d.ts +32 -0
- package/dist/@codegen/switchboard_v2/types/BufferRelayerInitParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/BufferRelayerInitParams.js +88 -0
- package/dist/@codegen/switchboard_v2/types/BufferRelayerInitParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/BufferRelayerOpenRoundParams.d.ts +27 -0
- package/dist/@codegen/switchboard_v2/types/BufferRelayerOpenRoundParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/BufferRelayerOpenRoundParams.js +78 -0
- package/dist/@codegen/switchboard_v2/types/BufferRelayerOpenRoundParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/BufferRelayerRound.d.ts +44 -0
- package/dist/@codegen/switchboard_v2/types/BufferRelayerRound.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/BufferRelayerRound.js +108 -0
- package/dist/@codegen/switchboard_v2/types/BufferRelayerRound.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/BufferRelayerSaveResultParams.d.ts +37 -0
- package/dist/@codegen/switchboard_v2/types/BufferRelayerSaveResultParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/BufferRelayerSaveResultParams.js +95 -0
- package/dist/@codegen/switchboard_v2/types/BufferRelayerSaveResultParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/Callback.d.ts +41 -0
- package/dist/@codegen/switchboard_v2/types/Callback.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/Callback.js +91 -0
- package/dist/@codegen/switchboard_v2/types/Callback.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/CallbackZC.d.ts +51 -0
- package/dist/@codegen/switchboard_v2/types/CallbackZC.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/CallbackZC.js +105 -0
- package/dist/@codegen/switchboard_v2/types/CallbackZC.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/CompletedPointZC.d.ts +54 -0
- package/dist/@codegen/switchboard_v2/types/CompletedPointZC.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/CompletedPointZC.js +96 -0
- package/dist/@codegen/switchboard_v2/types/CompletedPointZC.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/CrankInitParams.d.ts +32 -0
- package/dist/@codegen/switchboard_v2/types/CrankInitParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/CrankInitParams.js +84 -0
- package/dist/@codegen/switchboard_v2/types/CrankInitParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/CrankPopParams.d.ts +42 -0
- package/dist/@codegen/switchboard_v2/types/CrankPopParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/CrankPopParams.js +102 -0
- package/dist/@codegen/switchboard_v2/types/CrankPopParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/CrankPopParamsV2.d.ts +47 -0
- package/dist/@codegen/switchboard_v2/types/CrankPopParamsV2.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/CrankPopParamsV2.js +109 -0
- package/dist/@codegen/switchboard_v2/types/CrankPopParamsV2.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/CrankPushParams.d.ts +32 -0
- package/dist/@codegen/switchboard_v2/types/CrankPushParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/CrankPushParams.js +88 -0
- package/dist/@codegen/switchboard_v2/types/CrankPushParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/CrankRow.d.ts +29 -0
- package/dist/@codegen/switchboard_v2/types/CrankRow.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/CrankRow.js +84 -0
- package/dist/@codegen/switchboard_v2/types/CrankRow.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/EcvrfIntermediate.d.ts +63 -0
- package/dist/@codegen/switchboard_v2/types/EcvrfIntermediate.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/EcvrfIntermediate.js +103 -0
- package/dist/@codegen/switchboard_v2/types/EcvrfIntermediate.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/EcvrfProofZC.d.ts +67 -0
- package/dist/@codegen/switchboard_v2/types/EcvrfProofZC.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/EcvrfProofZC.js +89 -0
- package/dist/@codegen/switchboard_v2/types/EcvrfProofZC.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/EdwardsPointZC.d.ts +54 -0
- package/dist/@codegen/switchboard_v2/types/EdwardsPointZC.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/EdwardsPointZC.js +96 -0
- package/dist/@codegen/switchboard_v2/types/EdwardsPointZC.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/Error.d.ts +58 -0
- package/dist/@codegen/switchboard_v2/types/Error.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/Error.js +156 -0
- package/dist/@codegen/switchboard_v2/types/Error.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/FieldElementZC.d.ts +23 -0
- package/dist/@codegen/switchboard_v2/types/FieldElementZC.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/FieldElementZC.js +76 -0
- package/dist/@codegen/switchboard_v2/types/FieldElementZC.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/Hash.d.ts +22 -0
- package/dist/@codegen/switchboard_v2/types/Hash.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/Hash.js +72 -0
- package/dist/@codegen/switchboard_v2/types/Hash.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/JobInitParams.d.ts +43 -0
- package/dist/@codegen/switchboard_v2/types/JobInitParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/JobInitParams.js +106 -0
- package/dist/@codegen/switchboard_v2/types/JobInitParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/JobSetDataParams.d.ts +27 -0
- package/dist/@codegen/switchboard_v2/types/JobSetDataParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/JobSetDataParams.js +78 -0
- package/dist/@codegen/switchboard_v2/types/JobSetDataParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/LeaseExtendParams.d.ts +38 -0
- package/dist/@codegen/switchboard_v2/types/LeaseExtendParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/LeaseExtendParams.js +99 -0
- package/dist/@codegen/switchboard_v2/types/LeaseExtendParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/LeaseInitParams.d.ts +44 -0
- package/dist/@codegen/switchboard_v2/types/LeaseInitParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/LeaseInitParams.js +108 -0
- package/dist/@codegen/switchboard_v2/types/LeaseInitParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/LeaseSetAuthorityParams.d.ts +15 -0
- package/dist/@codegen/switchboard_v2/types/LeaseSetAuthorityParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/LeaseSetAuthorityParams.js +61 -0
- package/dist/@codegen/switchboard_v2/types/LeaseSetAuthorityParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/LeaseWithdrawParams.d.ts +33 -0
- package/dist/@codegen/switchboard_v2/types/LeaseWithdrawParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/LeaseWithdrawParams.js +88 -0
- package/dist/@codegen/switchboard_v2/types/LeaseWithdrawParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/OracleHeartbeatParams.d.ts +22 -0
- package/dist/@codegen/switchboard_v2/types/OracleHeartbeatParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/OracleHeartbeatParams.js +72 -0
- package/dist/@codegen/switchboard_v2/types/OracleHeartbeatParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/OracleInitParams.d.ts +37 -0
- package/dist/@codegen/switchboard_v2/types/OracleInitParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/OracleInitParams.js +95 -0
- package/dist/@codegen/switchboard_v2/types/OracleInitParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/OracleMetrics.d.ts +63 -0
- package/dist/@codegen/switchboard_v2/types/OracleMetrics.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/OracleMetrics.js +134 -0
- package/dist/@codegen/switchboard_v2/types/OracleMetrics.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/OracleQueueInitParams.d.ts +94 -0
- package/dist/@codegen/switchboard_v2/types/OracleQueueInitParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/OracleQueueInitParams.js +172 -0
- package/dist/@codegen/switchboard_v2/types/OracleQueueInitParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/OracleQueueSetConfigParams.d.ts +84 -0
- package/dist/@codegen/switchboard_v2/types/OracleQueueSetConfigParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/OracleQueueSetConfigParams.js +175 -0
- package/dist/@codegen/switchboard_v2/types/OracleQueueSetConfigParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/OracleQueueSetRewardsParams.d.ts +23 -0
- package/dist/@codegen/switchboard_v2/types/OracleQueueSetRewardsParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/OracleQueueSetRewardsParams.js +76 -0
- package/dist/@codegen/switchboard_v2/types/OracleQueueSetRewardsParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/OracleResponseType.d.ts +58 -0
- package/dist/@codegen/switchboard_v2/types/OracleResponseType.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/OracleResponseType.js +156 -0
- package/dist/@codegen/switchboard_v2/types/OracleResponseType.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/OracleWithdrawParams.d.ts +33 -0
- package/dist/@codegen/switchboard_v2/types/OracleWithdrawParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/OracleWithdrawParams.js +88 -0
- package/dist/@codegen/switchboard_v2/types/OracleWithdrawParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/PermissionInitParams.d.ts +15 -0
- package/dist/@codegen/switchboard_v2/types/PermissionInitParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/PermissionInitParams.js +61 -0
- package/dist/@codegen/switchboard_v2/types/PermissionInitParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/PermissionSetParams.d.ts +39 -0
- package/dist/@codegen/switchboard_v2/types/PermissionSetParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/PermissionSetParams.js +79 -0
- package/dist/@codegen/switchboard_v2/types/PermissionSetParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/ProgramConfigParams.d.ts +33 -0
- package/dist/@codegen/switchboard_v2/types/ProgramConfigParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/ProgramConfigParams.js +86 -0
- package/dist/@codegen/switchboard_v2/types/ProgramConfigParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/ProgramInitParams.d.ts +22 -0
- package/dist/@codegen/switchboard_v2/types/ProgramInitParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/ProgramInitParams.js +72 -0
- package/dist/@codegen/switchboard_v2/types/ProgramInitParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/ProjectivePointZC.d.ts +45 -0
- package/dist/@codegen/switchboard_v2/types/ProjectivePointZC.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/ProjectivePointZC.js +89 -0
- package/dist/@codegen/switchboard_v2/types/ProjectivePointZC.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/Scalar.d.ts +22 -0
- package/dist/@codegen/switchboard_v2/types/Scalar.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/Scalar.js +72 -0
- package/dist/@codegen/switchboard_v2/types/Scalar.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/SlidingWindowElement.d.ts +45 -0
- package/dist/@codegen/switchboard_v2/types/SlidingWindowElement.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/SlidingWindowElement.js +102 -0
- package/dist/@codegen/switchboard_v2/types/SlidingWindowElement.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/SwitchboardDecimal.d.ts +28 -0
- package/dist/@codegen/switchboard_v2/types/SwitchboardDecimal.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/SwitchboardDecimal.js +82 -0
- package/dist/@codegen/switchboard_v2/types/SwitchboardDecimal.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/SwitchboardPermission.d.ts +45 -0
- package/dist/@codegen/switchboard_v2/types/SwitchboardPermission.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/SwitchboardPermission.js +132 -0
- package/dist/@codegen/switchboard_v2/types/SwitchboardPermission.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/VaultTransferParams.d.ts +28 -0
- package/dist/@codegen/switchboard_v2/types/VaultTransferParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/VaultTransferParams.js +82 -0
- package/dist/@codegen/switchboard_v2/types/VaultTransferParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/VrfBuilder.d.ts +661 -0
- package/dist/@codegen/switchboard_v2/types/VrfBuilder.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/VrfBuilder.js +338 -0
- package/dist/@codegen/switchboard_v2/types/VrfBuilder.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/VrfCloseParams.d.ts +27 -0
- package/dist/@codegen/switchboard_v2/types/VrfCloseParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/VrfCloseParams.js +78 -0
- package/dist/@codegen/switchboard_v2/types/VrfCloseParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/VrfInitParams.d.ts +44 -0
- package/dist/@codegen/switchboard_v2/types/VrfInitParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/VrfInitParams.js +79 -0
- package/dist/@codegen/switchboard_v2/types/VrfInitParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/VrfLiteCloseParams.d.ts +15 -0
- package/dist/@codegen/switchboard_v2/types/VrfLiteCloseParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/VrfLiteCloseParams.js +61 -0
- package/dist/@codegen/switchboard_v2/types/VrfLiteCloseParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/VrfLiteInitParams.d.ts +50 -0
- package/dist/@codegen/switchboard_v2/types/VrfLiteInitParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/VrfLiteInitParams.js +95 -0
- package/dist/@codegen/switchboard_v2/types/VrfLiteInitParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/VrfLiteProveAndVerifyParams.d.ts +38 -0
- package/dist/@codegen/switchboard_v2/types/VrfLiteProveAndVerifyParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/VrfLiteProveAndVerifyParams.js +99 -0
- package/dist/@codegen/switchboard_v2/types/VrfLiteProveAndVerifyParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/VrfLiteRequestRandomnessParams.d.ts +39 -0
- package/dist/@codegen/switchboard_v2/types/VrfLiteRequestRandomnessParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/VrfLiteRequestRandomnessParams.js +75 -0
- package/dist/@codegen/switchboard_v2/types/VrfLiteRequestRandomnessParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/VrfPoolAddParams.d.ts +15 -0
- package/dist/@codegen/switchboard_v2/types/VrfPoolAddParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/VrfPoolAddParams.js +61 -0
- package/dist/@codegen/switchboard_v2/types/VrfPoolAddParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/VrfPoolInitParams.d.ts +32 -0
- package/dist/@codegen/switchboard_v2/types/VrfPoolInitParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/VrfPoolInitParams.js +84 -0
- package/dist/@codegen/switchboard_v2/types/VrfPoolInitParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/VrfPoolRemoveParams.d.ts +15 -0
- package/dist/@codegen/switchboard_v2/types/VrfPoolRemoveParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/VrfPoolRemoveParams.js +61 -0
- package/dist/@codegen/switchboard_v2/types/VrfPoolRemoveParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/VrfPoolRequestParams.d.ts +39 -0
- package/dist/@codegen/switchboard_v2/types/VrfPoolRequestParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/VrfPoolRequestParams.js +75 -0
- package/dist/@codegen/switchboard_v2/types/VrfPoolRequestParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/VrfPoolRow.d.ts +29 -0
- package/dist/@codegen/switchboard_v2/types/VrfPoolRow.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/VrfPoolRow.js +84 -0
- package/dist/@codegen/switchboard_v2/types/VrfPoolRow.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/VrfProveAndVerifyParams.d.ts +48 -0
- package/dist/@codegen/switchboard_v2/types/VrfProveAndVerifyParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/VrfProveAndVerifyParams.js +113 -0
- package/dist/@codegen/switchboard_v2/types/VrfProveAndVerifyParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/VrfProveParams.d.ts +27 -0
- package/dist/@codegen/switchboard_v2/types/VrfProveParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/VrfProveParams.js +78 -0
- package/dist/@codegen/switchboard_v2/types/VrfProveParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/VrfRequestRandomnessParams.d.ts +27 -0
- package/dist/@codegen/switchboard_v2/types/VrfRequestRandomnessParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/VrfRequestRandomnessParams.js +78 -0
- package/dist/@codegen/switchboard_v2/types/VrfRequestRandomnessParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/VrfRound.d.ts +53 -0
- package/dist/@codegen/switchboard_v2/types/VrfRound.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/VrfRound.js +120 -0
- package/dist/@codegen/switchboard_v2/types/VrfRound.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/VrfSetCallbackParams.d.ts +39 -0
- package/dist/@codegen/switchboard_v2/types/VrfSetCallbackParams.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/VrfSetCallbackParams.js +73 -0
- package/dist/@codegen/switchboard_v2/types/VrfSetCallbackParams.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/VrfStatus.d.ts +84 -0
- package/dist/@codegen/switchboard_v2/types/VrfStatus.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/VrfStatus.js +204 -0
- package/dist/@codegen/switchboard_v2/types/VrfStatus.js.map +1 -0
- package/dist/@codegen/switchboard_v2/types/index.d.ts +179 -0
- package/dist/@codegen/switchboard_v2/types/index.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/types/index.js +207 -0
- package/dist/@codegen/switchboard_v2/types/index.js.map +1 -0
- package/dist/@codegen/switchboard_v2/utils/borshAddress.d.ts +4 -0
- package/dist/@codegen/switchboard_v2/utils/borshAddress.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/utils/borshAddress.js +30 -0
- package/dist/@codegen/switchboard_v2/utils/borshAddress.js.map +1 -0
- package/dist/@codegen/switchboard_v2/utils/index.d.ts +2 -0
- package/dist/@codegen/switchboard_v2/utils/index.d.ts.map +1 -0
- package/dist/@codegen/switchboard_v2/utils/index.js +18 -0
- package/dist/@codegen/switchboard_v2/utils/index.js.map +1 -0
- package/dist/@codegen/unstaking_pool/accounts/PoolState.d.ts +53 -0
- package/dist/@codegen/unstaking_pool/accounts/PoolState.d.ts.map +1 -0
- package/dist/@codegen/unstaking_pool/accounts/PoolState.js +167 -0
- package/dist/@codegen/unstaking_pool/accounts/PoolState.js.map +1 -0
- package/dist/@codegen/unstaking_pool/accounts/UnstakeTicket.d.ts +41 -0
- package/dist/@codegen/unstaking_pool/accounts/UnstakeTicket.d.ts.map +1 -0
- package/dist/@codegen/unstaking_pool/accounts/UnstakeTicket.js +143 -0
- package/dist/@codegen/unstaking_pool/accounts/UnstakeTicket.js.map +1 -0
- package/dist/@codegen/unstaking_pool/accounts/index.d.ts +5 -0
- package/dist/@codegen/unstaking_pool/accounts/index.d.ts.map +1 -0
- package/dist/@codegen/unstaking_pool/accounts/index.js +8 -0
- package/dist/@codegen/unstaking_pool/accounts/index.js.map +1 -0
- package/dist/@codegen/unstaking_pool/errors/anchor.d.ts +435 -0
- package/dist/@codegen/unstaking_pool/errors/anchor.d.ts.map +1 -0
- package/dist/@codegen/unstaking_pool/errors/anchor.js +767 -0
- package/dist/@codegen/unstaking_pool/errors/anchor.js.map +1 -0
- package/dist/@codegen/unstaking_pool/errors/custom.d.ts +259 -0
- package/dist/@codegen/unstaking_pool/errors/custom.d.ts.map +1 -0
- package/dist/@codegen/unstaking_pool/errors/custom.js +458 -0
- package/dist/@codegen/unstaking_pool/errors/custom.js.map +1 -0
- package/dist/@codegen/unstaking_pool/errors/index.d.ts +6 -0
- package/dist/@codegen/unstaking_pool/errors/index.d.ts.map +1 -0
- package/dist/@codegen/unstaking_pool/errors/index.js +86 -0
- package/dist/@codegen/unstaking_pool/errors/index.js.map +1 -0
- package/dist/@codegen/unstaking_pool/instructions/burn.d.ts +21 -0
- package/dist/@codegen/unstaking_pool/instructions/burn.d.ts.map +1 -0
- package/dist/@codegen/unstaking_pool/instructions/burn.js +67 -0
- package/dist/@codegen/unstaking_pool/instructions/burn.js.map +1 -0
- package/dist/@codegen/unstaking_pool/instructions/changeTicketAuthority.d.ts +8 -0
- package/dist/@codegen/unstaking_pool/instructions/changeTicketAuthority.d.ts.map +1 -0
- package/dist/@codegen/unstaking_pool/instructions/changeTicketAuthority.js +16 -0
- package/dist/@codegen/unstaking_pool/instructions/changeTicketAuthority.js.map +1 -0
- package/dist/@codegen/unstaking_pool/instructions/collect.d.ts +16 -0
- package/dist/@codegen/unstaking_pool/instructions/collect.d.ts.map +1 -0
- package/dist/@codegen/unstaking_pool/instructions/collect.js +24 -0
- package/dist/@codegen/unstaking_pool/instructions/collect.js.map +1 -0
- package/dist/@codegen/unstaking_pool/instructions/index.d.ts +17 -0
- package/dist/@codegen/unstaking_pool/instructions/index.d.ts.map +1 -0
- package/dist/@codegen/unstaking_pool/instructions/index.js +20 -0
- package/dist/@codegen/unstaking_pool/instructions/index.js.map +1 -0
- package/dist/@codegen/unstaking_pool/instructions/initializePool.d.ts +14 -0
- package/dist/@codegen/unstaking_pool/instructions/initializePool.d.ts.map +1 -0
- package/dist/@codegen/unstaking_pool/instructions/initializePool.js +22 -0
- package/dist/@codegen/unstaking_pool/instructions/initializePool.js.map +1 -0
- package/dist/@codegen/unstaking_pool/instructions/mint.d.ts +24 -0
- package/dist/@codegen/unstaking_pool/instructions/mint.d.ts.map +1 -0
- package/dist/@codegen/unstaking_pool/instructions/mint.js +74 -0
- package/dist/@codegen/unstaking_pool/instructions/mint.js.map +1 -0
- package/dist/@codegen/unstaking_pool/instructions/splitTicket.d.ts +15 -0
- package/dist/@codegen/unstaking_pool/instructions/splitTicket.d.ts.map +1 -0
- package/dist/@codegen/unstaking_pool/instructions/splitTicket.js +62 -0
- package/dist/@codegen/unstaking_pool/instructions/splitTicket.js.map +1 -0
- package/dist/@codegen/unstaking_pool/instructions/updateAdmin.d.ts +7 -0
- package/dist/@codegen/unstaking_pool/instructions/updateAdmin.d.ts.map +1 -0
- package/dist/@codegen/unstaking_pool/instructions/updateAdmin.js +19 -0
- package/dist/@codegen/unstaking_pool/instructions/updateAdmin.js.map +1 -0
- package/dist/@codegen/unstaking_pool/instructions/updatePoolConfig.d.ts +13 -0
- package/dist/@codegen/unstaking_pool/instructions/updatePoolConfig.d.ts.map +1 -0
- package/dist/@codegen/unstaking_pool/instructions/updatePoolConfig.js +60 -0
- package/dist/@codegen/unstaking_pool/instructions/updatePoolConfig.js.map +1 -0
- package/dist/@codegen/unstaking_pool/programId.d.ts +4 -0
- package/dist/@codegen/unstaking_pool/programId.d.ts.map +1 -0
- package/dist/@codegen/unstaking_pool/programId.js +9 -0
- package/dist/@codegen/unstaking_pool/programId.js.map +1 -0
- package/dist/@codegen/unstaking_pool/types/PoolConfigField.d.ts +45 -0
- package/dist/@codegen/unstaking_pool/types/PoolConfigField.d.ts.map +1 -0
- package/dist/@codegen/unstaking_pool/types/PoolConfigField.js +132 -0
- package/dist/@codegen/unstaking_pool/types/PoolConfigField.js.map +1 -0
- package/dist/@codegen/unstaking_pool/types/index.d.ts +5 -0
- package/dist/@codegen/unstaking_pool/types/index.d.ts.map +1 -0
- package/dist/@codegen/unstaking_pool/types/index.js +39 -0
- package/dist/@codegen/unstaking_pool/types/index.js.map +1 -0
- package/dist/@codegen/unstaking_pool/utils/borshAddress.d.ts +4 -0
- package/dist/@codegen/unstaking_pool/utils/borshAddress.d.ts.map +1 -0
- package/dist/@codegen/unstaking_pool/utils/borshAddress.js +30 -0
- package/dist/@codegen/unstaking_pool/utils/borshAddress.js.map +1 -0
- package/dist/@codegen/unstaking_pool/utils/index.d.ts +2 -0
- package/dist/@codegen/unstaking_pool/utils/index.d.ts.map +1 -0
- package/dist/@codegen/unstaking_pool/utils/index.js +18 -0
- package/dist/@codegen/unstaking_pool/utils/index.js.map +1 -0
- package/dist/classes/action.d.ts +211 -0
- package/dist/classes/action.d.ts.map +1 -0
- package/dist/classes/action.js +2230 -0
- package/dist/classes/action.js.map +1 -0
- package/dist/classes/configItems.d.ts +166 -0
- package/dist/classes/configItems.d.ts.map +1 -0
- package/dist/classes/configItems.js +202 -0
- package/dist/classes/configItems.js.map +1 -0
- package/dist/classes/curve.d.ts +16 -0
- package/dist/classes/curve.d.ts.map +1 -0
- package/dist/classes/curve.js +32 -0
- package/dist/classes/curve.js.map +1 -0
- package/dist/classes/farm_utils.d.ts +40 -0
- package/dist/classes/farm_utils.d.ts.map +1 -0
- package/dist/classes/farm_utils.js +170 -0
- package/dist/classes/farm_utils.js.map +1 -0
- package/dist/classes/fraction.d.ts +27 -0
- package/dist/classes/fraction.d.ts.map +1 -0
- package/dist/classes/fraction.js +91 -0
- package/dist/classes/fraction.js.map +1 -0
- package/dist/classes/index.d.ts +19 -0
- package/dist/classes/index.d.ts.map +1 -0
- package/dist/classes/index.js +35 -0
- package/dist/classes/index.js.map +1 -0
- package/dist/classes/jupiterPerps.d.ts +3 -0
- package/dist/classes/jupiterPerps.d.ts.map +1 -0
- package/dist/classes/jupiterPerps.js +13 -0
- package/dist/classes/jupiterPerps.js.map +1 -0
- package/dist/classes/manager.d.ts +686 -0
- package/dist/classes/manager.d.ts.map +1 -0
- package/dist/classes/manager.js +1206 -0
- package/dist/classes/manager.js.map +1 -0
- package/dist/classes/market.d.ts +250 -0
- package/dist/classes/market.d.ts.map +1 -0
- package/dist/classes/market.js +1240 -0
- package/dist/classes/market.js.map +1 -0
- package/dist/classes/obligation.d.ts +321 -0
- package/dist/classes/obligation.d.ts.map +1 -0
- package/dist/classes/obligation.js +1171 -0
- package/dist/classes/obligation.js.map +1 -0
- package/dist/classes/obligationOrder.d.ts +230 -0
- package/dist/classes/obligationOrder.d.ts.map +1 -0
- package/dist/classes/obligationOrder.js +407 -0
- package/dist/classes/obligationOrder.js.map +1 -0
- package/dist/classes/reserve.d.ts +261 -0
- package/dist/classes/reserve.d.ts.map +1 -0
- package/dist/classes/reserve.js +1020 -0
- package/dist/classes/reserve.js.map +1 -0
- package/dist/classes/shared.d.ts +74 -0
- package/dist/classes/shared.d.ts.map +1 -0
- package/dist/classes/shared.js +15 -0
- package/dist/classes/shared.js.map +1 -0
- package/dist/classes/stakePool.d.ts +8 -0
- package/dist/classes/stakePool.d.ts.map +1 -0
- package/dist/classes/stakePool.js +18 -0
- package/dist/classes/stakePool.js.map +1 -0
- package/dist/classes/standardStakePool.d.ts +76 -0
- package/dist/classes/standardStakePool.d.ts.map +1 -0
- package/dist/classes/standardStakePool.js +400 -0
- package/dist/classes/standardStakePool.js.map +1 -0
- package/dist/classes/unstakingPool.d.ts +115 -0
- package/dist/classes/unstakingPool.d.ts.map +1 -0
- package/dist/classes/unstakingPool.js +372 -0
- package/dist/classes/unstakingPool.js.map +1 -0
- package/dist/classes/unstakingPoolTypes.d.ts +10 -0
- package/dist/classes/unstakingPoolTypes.d.ts.map +1 -0
- package/dist/classes/unstakingPoolTypes.js +3 -0
- package/dist/classes/unstakingPoolTypes.js.map +1 -0
- package/dist/classes/utils.d.ts +75 -0
- package/dist/classes/utils.d.ts.map +1 -0
- package/dist/classes/utils.js +256 -0
- package/dist/classes/utils.js.map +1 -0
- package/dist/classes/vault.d.ts +805 -0
- package/dist/classes/vault.d.ts.map +1 -0
- package/dist/classes/vault.js +3082 -0
- package/dist/classes/vault.js.map +1 -0
- package/dist/classes/vault_types.d.ts +75 -0
- package/dist/classes/vault_types.d.ts.map +1 -0
- package/dist/classes/vault_types.js +3 -0
- package/dist/classes/vault_types.js.map +1 -0
- package/dist/client/commands/borrow.d.ts +4 -0
- package/dist/client/commands/borrow.d.ts.map +1 -0
- package/dist/client/commands/borrow.js +21 -0
- package/dist/client/commands/borrow.js.map +1 -0
- package/dist/client/commands/deposit.d.ts +4 -0
- package/dist/client/commands/deposit.d.ts.map +1 -0
- package/dist/client/commands/deposit.js +21 -0
- package/dist/client/commands/deposit.js.map +1 -0
- package/dist/client/commands/initFarmsForReserve.d.ts +4 -0
- package/dist/client/commands/initFarmsForReserve.d.ts.map +1 -0
- package/dist/client/commands/initFarmsForReserve.js +48 -0
- package/dist/client/commands/initFarmsForReserve.js.map +1 -0
- package/dist/client/commands/printAllReserveAccounts.d.ts +3 -0
- package/dist/client/commands/printAllReserveAccounts.d.ts.map +1 -0
- package/dist/client/commands/printAllReserveAccounts.js +20 -0
- package/dist/client/commands/printAllReserveAccounts.js.map +1 -0
- package/dist/client/commands/printReserve.d.ts +3 -0
- package/dist/client/commands/printReserve.d.ts.map +1 -0
- package/dist/client/commands/printReserve.js +16 -0
- package/dist/client/commands/printReserve.js.map +1 -0
- package/dist/client/commands/repay.d.ts +4 -0
- package/dist/client/commands/repay.d.ts.map +1 -0
- package/dist/client/commands/repay.js +21 -0
- package/dist/client/commands/repay.js.map +1 -0
- package/dist/client/commands/withdraw.d.ts +4 -0
- package/dist/client/commands/withdraw.d.ts.map +1 -0
- package/dist/client/commands/withdraw.js +21 -0
- package/dist/client/commands/withdraw.js.map +1 -0
- package/dist/client/services/market.d.ts +6 -0
- package/dist/client/services/market.d.ts.map +1 -0
- package/dist/client/services/market.js +28 -0
- package/dist/client/services/market.js.map +1 -0
- package/dist/client/services/userMetadata.d.ts +4 -0
- package/dist/client/services/userMetadata.d.ts.map +1 -0
- package/dist/client/services/userMetadata.js +23 -0
- package/dist/client/services/userMetadata.js.map +1 -0
- package/dist/client/tx/CliConnectionPool.d.ts +17 -0
- package/dist/client/tx/CliConnectionPool.d.ts.map +1 -0
- package/dist/client/tx/CliConnectionPool.js +39 -0
- package/dist/client/tx/CliConnectionPool.js.map +1 -0
- package/dist/client/tx/CliEnv.d.ts +27 -0
- package/dist/client/tx/CliEnv.d.ts.map +1 -0
- package/dist/client/tx/CliEnv.js +114 -0
- package/dist/client/tx/CliEnv.js.map +1 -0
- package/dist/client/tx/keypair.d.ts +4 -0
- package/dist/client/tx/keypair.d.ts.map +1 -0
- package/dist/client/tx/keypair.js +20 -0
- package/dist/client/tx/keypair.js.map +1 -0
- package/dist/client/tx/multisig.d.ts +4 -0
- package/dist/client/tx/multisig.d.ts.map +1 -0
- package/dist/client/tx/multisig.js +22 -0
- package/dist/client/tx/multisig.js.map +1 -0
- package/dist/client/tx/priorityFee.d.ts +7 -0
- package/dist/client/tx/priorityFee.d.ts.map +1 -0
- package/dist/client/tx/priorityFee.js +25 -0
- package/dist/client/tx/priorityFee.js.map +1 -0
- package/dist/client/tx/processor.d.ts +6 -0
- package/dist/client/tx/processor.d.ts.map +1 -0
- package/dist/client/tx/processor.js +25 -0
- package/dist/client/tx/processor.js.map +1 -0
- package/dist/client/tx/rpc.d.ts +30 -0
- package/dist/client/tx/rpc.d.ts.map +1 -0
- package/dist/client/tx/rpc.js +89 -0
- package/dist/client/tx/rpc.js.map +1 -0
- package/dist/client/tx/simulate.d.ts +7 -0
- package/dist/client/tx/simulate.d.ts.map +1 -0
- package/dist/client/tx/simulate.js +36 -0
- package/dist/client/tx/simulate.js.map +1 -0
- package/dist/client/tx/tx.d.ts +16 -0
- package/dist/client/tx/tx.d.ts.map +1 -0
- package/dist/client/tx/tx.js +115 -0
- package/dist/client/tx/tx.js.map +1 -0
- package/dist/client/utils/modifiers.d.ts +7 -0
- package/dist/client/utils/modifiers.d.ts.map +1 -0
- package/dist/client/utils/modifiers.js +3 -0
- package/dist/client/utils/modifiers.js.map +1 -0
- package/dist/idl/klend.json +6284 -0
- package/dist/index.d.ts +2 -590
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +17 -6
- package/dist/index.js.map +1 -1
- package/dist/lending_operations/index.d.ts +4 -0
- package/dist/lending_operations/index.d.ts.map +1 -0
- package/dist/lending_operations/index.js +20 -0
- package/dist/lending_operations/index.js.map +1 -0
- package/dist/lending_operations/repay_with_collateral_calcs.d.ts +38 -0
- package/dist/lending_operations/repay_with_collateral_calcs.d.ts.map +1 -0
- package/dist/lending_operations/repay_with_collateral_calcs.js +134 -0
- package/dist/lending_operations/repay_with_collateral_calcs.js.map +1 -0
- package/dist/lending_operations/repay_with_collateral_operations.d.ts +60 -0
- package/dist/lending_operations/repay_with_collateral_operations.d.ts.map +1 -0
- package/dist/lending_operations/repay_with_collateral_operations.js +209 -0
- package/dist/lending_operations/repay_with_collateral_operations.js.map +1 -0
- package/dist/lending_operations/swap_collateral_operations.d.ts +108 -0
- package/dist/lending_operations/swap_collateral_operations.d.ts.map +1 -0
- package/dist/lending_operations/swap_collateral_operations.js +321 -0
- package/dist/lending_operations/swap_collateral_operations.js.map +1 -0
- package/dist/leverage/calcs.d.ts +134 -0
- package/dist/leverage/calcs.d.ts.map +1 -0
- package/dist/leverage/calcs.js +342 -0
- package/dist/leverage/calcs.js.map +1 -0
- package/dist/leverage/index.d.ts +6 -0
- package/dist/leverage/index.d.ts.map +1 -0
- package/dist/leverage/index.js +22 -0
- package/dist/leverage/index.js.map +1 -0
- package/dist/leverage/instructions.d.ts +42 -0
- package/dist/leverage/instructions.d.ts.map +1 -0
- package/dist/leverage/instructions.js +80 -0
- package/dist/leverage/instructions.js.map +1 -0
- package/dist/leverage/operations.d.ts +30 -0
- package/dist/leverage/operations.d.ts.map +1 -0
- package/dist/leverage/operations.js +740 -0
- package/dist/leverage/operations.js.map +1 -0
- package/dist/leverage/types.d.ts +154 -0
- package/dist/leverage/types.d.ts.map +1 -0
- package/dist/leverage/types.js +3 -0
- package/dist/leverage/types.js.map +1 -0
- package/dist/leverage/utils.d.ts +6 -0
- package/dist/leverage/utils.d.ts.map +1 -0
- package/dist/leverage/utils.js +21 -0
- package/dist/leverage/utils.js.map +1 -0
- package/dist/lib.d.ts +17 -0
- package/dist/lib.d.ts.map +1 -0
- package/dist/lib.js +38 -0
- package/dist/lib.js.map +1 -0
- package/dist/manager/client_kamino_manager.d.ts +2 -0
- package/dist/manager/client_kamino_manager.d.ts.map +1 -0
- package/dist/manager/client_kamino_manager.js +1674 -0
- package/dist/manager/client_kamino_manager.js.map +1 -0
- package/dist/manager/tx/ManagerConnectionPool.d.ts +17 -0
- package/dist/manager/tx/ManagerConnectionPool.d.ts.map +1 -0
- package/dist/manager/tx/ManagerConnectionPool.js +39 -0
- package/dist/manager/tx/ManagerConnectionPool.js.map +1 -0
- package/dist/manager/tx/ManagerEnv.d.ts +37 -0
- package/dist/manager/tx/ManagerEnv.d.ts.map +1 -0
- package/dist/manager/tx/ManagerEnv.js +151 -0
- package/dist/manager/tx/ManagerEnv.js.map +1 -0
- package/dist/manager/tx/keypair.d.ts +4 -0
- package/dist/manager/tx/keypair.d.ts.map +1 -0
- package/dist/manager/tx/keypair.js +20 -0
- package/dist/manager/tx/keypair.js.map +1 -0
- package/dist/manager/tx/multisig.d.ts +4 -0
- package/dist/manager/tx/multisig.d.ts.map +1 -0
- package/dist/manager/tx/multisig.js +22 -0
- package/dist/manager/tx/multisig.js.map +1 -0
- package/dist/manager/tx/priorityFee.d.ts +7 -0
- package/dist/manager/tx/priorityFee.d.ts.map +1 -0
- package/dist/manager/tx/priorityFee.js +25 -0
- package/dist/manager/tx/priorityFee.js.map +1 -0
- package/dist/manager/tx/processor.d.ts +6 -0
- package/dist/manager/tx/processor.d.ts.map +1 -0
- package/dist/manager/tx/processor.js +22 -0
- package/dist/manager/tx/processor.js.map +1 -0
- package/dist/manager/tx/rpc.d.ts +30 -0
- package/dist/manager/tx/rpc.d.ts.map +1 -0
- package/dist/manager/tx/rpc.js +89 -0
- package/dist/manager/tx/rpc.js.map +1 -0
- package/dist/manager/tx/simulate.d.ts +7 -0
- package/dist/manager/tx/simulate.d.ts.map +1 -0
- package/dist/manager/tx/simulate.js +36 -0
- package/dist/manager/tx/simulate.js.map +1 -0
- package/dist/manager/tx/tx.d.ts +16 -0
- package/dist/manager/tx/tx.d.ts.map +1 -0
- package/dist/manager/tx/tx.js +114 -0
- package/dist/manager/tx/tx.js.map +1 -0
- package/dist/manager/utils/consts.d.ts +3 -0
- package/dist/manager/utils/consts.d.ts.map +1 -0
- package/dist/manager/utils/consts.js +6 -0
- package/dist/manager/utils/consts.js.map +1 -0
- package/dist/manager/utils/modifiers.d.ts +7 -0
- package/dist/manager/utils/modifiers.d.ts.map +1 -0
- package/dist/manager/utils/modifiers.js +3 -0
- package/dist/manager/utils/modifiers.js.map +1 -0
- package/dist/obligation_orders/common.d.ts +62 -0
- package/dist/obligation_orders/common.d.ts.map +1 -0
- package/dist/obligation_orders/common.js +20 -0
- package/dist/obligation_orders/common.js.map +1 -0
- package/dist/obligation_orders/index.d.ts +4 -0
- package/dist/obligation_orders/index.d.ts.map +1 -0
- package/dist/obligation_orders/index.js +20 -0
- package/dist/obligation_orders/index.js.map +1 -0
- package/dist/obligation_orders/internal.d.ts +6 -0
- package/dist/obligation_orders/internal.d.ts.map +1 -0
- package/dist/obligation_orders/internal.js +72 -0
- package/dist/obligation_orders/internal.js.map +1 -0
- package/dist/obligation_orders/ltv_based.d.ts +51 -0
- package/dist/obligation_orders/ltv_based.d.ts.map +1 -0
- package/dist/obligation_orders/ltv_based.js +107 -0
- package/dist/obligation_orders/ltv_based.js.map +1 -0
- package/dist/obligation_orders/price_based.d.ts +81 -0
- package/dist/obligation_orders/price_based.d.ts.map +1 -0
- package/dist/obligation_orders/price_based.js +166 -0
- package/dist/obligation_orders/price_based.js.map +1 -0
- package/dist/referrals/index.d.ts +3 -0
- package/dist/referrals/index.d.ts.map +1 -0
- package/dist/referrals/index.js +19 -0
- package/dist/referrals/index.js.map +1 -0
- package/dist/referrals/instructions.d.ts +18 -0
- package/dist/referrals/instructions.d.ts.map +1 -0
- package/dist/referrals/instructions.js +73 -0
- package/dist/referrals/instructions.js.map +1 -0
- package/dist/referrals/operations.d.ts +65 -0
- package/dist/referrals/operations.d.ts.map +1 -0
- package/dist/referrals/operations.js +186 -0
- package/dist/referrals/operations.js.map +1 -0
- package/dist/utils/ObligationType.d.ts +56 -0
- package/dist/utils/ObligationType.d.ts.map +1 -0
- package/dist/utils/ObligationType.js +183 -0
- package/dist/utils/ObligationType.js.map +1 -0
- package/dist/utils/accountListing.d.ts +6 -0
- package/dist/utils/accountListing.d.ts.map +1 -0
- package/dist/utils/accountListing.js +88 -0
- package/dist/utils/accountListing.js.map +1 -0
- package/dist/utils/api.d.ts +24 -0
- package/dist/utils/api.d.ts.map +1 -0
- package/dist/utils/api.js +65 -0
- package/dist/utils/api.js.map +1 -0
- package/dist/utils/ata.d.ts +54 -0
- package/dist/utils/ata.d.ts.map +1 -0
- package/dist/utils/ata.js +214 -0
- package/dist/utils/ata.js.map +1 -0
- package/dist/utils/bigint.d.ts +2 -0
- package/dist/utils/bigint.d.ts.map +1 -0
- package/dist/utils/bigint.js +7 -0
- package/dist/utils/bigint.js.map +1 -0
- package/dist/utils/compat.d.ts +6 -0
- package/dist/utils/compat.d.ts.map +1 -0
- package/dist/utils/compat.js +19 -0
- package/dist/utils/compat.js.map +1 -0
- package/dist/utils/constants.d.ts +58 -0
- package/dist/utils/constants.d.ts.map +1 -0
- package/dist/utils/constants.js +84 -0
- package/dist/utils/constants.js.map +1 -0
- package/dist/utils/consts.d.ts +4 -0
- package/dist/utils/consts.d.ts.map +1 -0
- package/dist/utils/consts.js +7 -0
- package/dist/utils/consts.js.map +1 -0
- package/dist/utils/farmUtils.d.ts +10 -0
- package/dist/utils/farmUtils.d.ts.map +1 -0
- package/dist/utils/farmUtils.js +38 -0
- package/dist/utils/farmUtils.js.map +1 -0
- package/dist/utils/fuzz.d.ts +3 -0
- package/dist/utils/fuzz.d.ts.map +1 -0
- package/dist/utils/fuzz.js +11 -0
- package/dist/utils/fuzz.js.map +1 -0
- package/dist/utils/idl.d.ts +3 -0
- package/dist/utils/idl.d.ts.map +1 -0
- package/dist/utils/idl.js +9 -0
- package/dist/utils/idl.js.map +1 -0
- package/dist/utils/index.d.ts +20 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +36 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/instruction.d.ts +10 -0
- package/dist/utils/instruction.d.ts.map +1 -0
- package/dist/utils/instruction.js +64 -0
- package/dist/utils/instruction.js.map +1 -0
- package/dist/utils/kamino.d.ts +4 -0
- package/dist/utils/kamino.d.ts.map +1 -0
- package/dist/utils/kamino.js +16 -0
- package/dist/utils/kamino.js.map +1 -0
- package/dist/utils/lookupTable.d.ts +43 -0
- package/dist/utils/lookupTable.d.ts.map +1 -0
- package/dist/utils/lookupTable.js +139 -0
- package/dist/utils/lookupTable.js.map +1 -0
- package/dist/utils/managerTypes.d.ts +142 -0
- package/dist/utils/managerTypes.d.ts.map +1 -0
- package/dist/utils/managerTypes.js +298 -0
- package/dist/utils/managerTypes.js.map +1 -0
- package/dist/utils/map.d.ts +2 -0
- package/dist/utils/map.d.ts.map +1 -0
- package/dist/utils/map.js +13 -0
- package/dist/utils/map.js.map +1 -0
- package/dist/utils/metadata.d.ts +14 -0
- package/dist/utils/metadata.d.ts.map +1 -0
- package/dist/utils/metadata.js +79 -0
- package/dist/utils/metadata.js.map +1 -0
- package/dist/utils/multisig.d.ts +45 -0
- package/dist/utils/multisig.d.ts.map +1 -0
- package/dist/utils/multisig.js +30 -0
- package/dist/utils/multisig.js.map +1 -0
- package/dist/utils/obligations.d.ts +4 -0
- package/dist/utils/obligations.d.ts.map +1 -0
- package/dist/utils/obligations.js +54 -0
- package/dist/utils/obligations.js.map +1 -0
- package/dist/utils/option.d.ts +3 -0
- package/dist/utils/option.d.ts.map +1 -0
- package/dist/utils/option.js +12 -0
- package/dist/utils/option.js.map +1 -0
- package/dist/utils/oracle.d.ts +56 -0
- package/dist/utils/oracle.d.ts.map +1 -0
- package/dist/utils/oracle.js +280 -0
- package/dist/utils/oracle.js.map +1 -0
- package/dist/utils/parse.d.ts +10 -0
- package/dist/utils/parse.d.ts.map +1 -0
- package/dist/utils/parse.js +24 -0
- package/dist/utils/parse.js.map +1 -0
- package/dist/utils/pubkey.d.ts +12 -0
- package/dist/utils/pubkey.d.ts.map +1 -0
- package/dist/utils/pubkey.js +18 -0
- package/dist/utils/pubkey.js.map +1 -0
- package/dist/utils/readCdnData.d.ts +25 -0
- package/dist/utils/readCdnData.d.ts.map +1 -0
- package/dist/utils/readCdnData.js +29 -0
- package/dist/utils/readCdnData.js.map +1 -0
- package/dist/utils/rpc.d.ts +15 -0
- package/dist/utils/rpc.d.ts.map +1 -0
- package/dist/utils/rpc.js +51 -0
- package/dist/utils/rpc.js.map +1 -0
- package/dist/utils/seeds.d.ts +161 -0
- package/dist/utils/seeds.d.ts.map +1 -0
- package/dist/utils/seeds.js +260 -0
- package/dist/utils/seeds.js.map +1 -0
- package/dist/utils/signer.d.ts +4 -0
- package/dist/utils/signer.d.ts.map +1 -0
- package/dist/utils/signer.js +20 -0
- package/dist/utils/signer.js.map +1 -0
- package/dist/utils/slots.d.ts +19 -0
- package/dist/utils/slots.d.ts.map +1 -0
- package/dist/utils/slots.js +31 -0
- package/dist/utils/slots.js.map +1 -0
- package/dist/utils/switchboard.d.ts +4 -0
- package/dist/utils/switchboard.d.ts.map +1 -0
- package/dist/utils/switchboard.js +26 -0
- package/dist/utils/switchboard.js.map +1 -0
- package/dist/utils/userMetadata.d.ts +16 -0
- package/dist/utils/userMetadata.d.ts.map +1 -0
- package/dist/utils/userMetadata.js +250 -0
- package/dist/utils/userMetadata.js.map +1 -0
- package/dist/utils/validations.d.ts +5 -0
- package/dist/utils/validations.d.ts.map +1 -0
- package/dist/utils/validations.js +36 -0
- package/dist/utils/validations.js.map +1 -0
- package/dist/utils/vault.d.ts +3 -0
- package/dist/utils/vault.d.ts.map +1 -0
- package/dist/utils/vault.js +56 -0
- package/dist/utils/vault.js.map +1 -0
- package/dist/utils/vaultAllocation.d.ts +22 -0
- package/dist/utils/vaultAllocation.d.ts.map +1 -0
- package/dist/utils/vaultAllocation.js +74 -0
- package/dist/utils/vaultAllocation.js.map +1 -0
- package/package.json +6 -43
- package/src/classes/farm_utils.ts +5 -1
- package/src/classes/manager.ts +20 -3
- package/src/classes/reserve.ts +22 -12
- package/src/classes/shared.ts +2 -2
- package/src/classes/unstakingPool.ts +1 -1
- package/src/classes/vault.ts +11 -2
- package/src/manager/client_kamino_manager.ts +71 -53
- package/dist/chunk-5DIL2ZCI.js +0 -373
- package/dist/chunk-5DIL2ZCI.js.map +0 -1
- package/dist/chunk-5RQOM3VO.js +0 -1628
- package/dist/chunk-5RQOM3VO.js.map +0 -1
- package/dist/chunk-GXZYS537.cjs +0 -1630
- package/dist/chunk-GXZYS537.cjs.map +0 -1
- package/dist/chunk-I7IRKIKG.cjs +0 -35167
- package/dist/chunk-I7IRKIKG.cjs.map +0 -1
- package/dist/chunk-K2DZLHPZ.cjs +0 -4573
- package/dist/chunk-K2DZLHPZ.cjs.map +0 -1
- package/dist/chunk-MR7WEZXN.cjs +0 -398
- package/dist/chunk-MR7WEZXN.cjs.map +0 -1
- package/dist/chunk-NNIHRGXK.js +0 -34815
- package/dist/chunk-NNIHRGXK.js.map +0 -1
- package/dist/chunk-O7I5CWRX.cjs +0 -44
- package/dist/chunk-O7I5CWRX.cjs.map +0 -1
- package/dist/chunk-OCDAUWFE.js +0 -4456
- package/dist/chunk-OCDAUWFE.js.map +0 -1
- package/dist/chunk-PR4QN5HX.js +0 -39
- package/dist/chunk-PR4QN5HX.js.map +0 -1
- package/dist/core.cjs +0 -1504
- package/dist/core.cjs.map +0 -1
- package/dist/core.d.cts +0 -5629
- package/dist/core.d.ts +0 -5629
- package/dist/core.js +0 -7
- package/dist/core.js.map +0 -1
- package/dist/errors.cjs +0 -2523
- package/dist/errors.cjs.map +0 -1
- package/dist/errors.d.cts +0 -1888
- package/dist/errors.d.ts +0 -1888
- package/dist/errors.js +0 -2520
- package/dist/errors.js.map +0 -1
- package/dist/fraction-BeFnhBaY.d.cts +0 -5830
- package/dist/fraction-BeFnhBaY.d.ts +0 -5830
- package/dist/index.cjs +0 -1564
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.cts +0 -590
- package/dist/jupiter-perps.cjs +0 -14
- package/dist/jupiter-perps.cjs.map +0 -1
- package/dist/jupiter-perps.d.cts +0 -5
- package/dist/jupiter-perps.d.ts +0 -5
- package/dist/jupiter-perps.js +0 -5
- package/dist/jupiter-perps.js.map +0 -1
- package/dist/oracle.cjs +0 -130
- package/dist/oracle.cjs.map +0 -1
- package/dist/oracle.d.cts +0 -2478
- package/dist/oracle.d.ts +0 -2478
- package/dist/oracle.js +0 -5
- package/dist/oracle.js.map +0 -1
- package/dist/standardStakePool-BXdhOcOo.d.cts +0 -78
- package/dist/standardStakePool-BXdhOcOo.d.ts +0 -78
- package/dist/unstaking-pool.cjs +0 -56
- package/dist/unstaking-pool.cjs.map +0 -1
- package/dist/unstaking-pool.d.cts +0 -221
- package/dist/unstaking-pool.d.ts +0 -221
- package/dist/unstaking-pool.js +0 -7
- package/dist/unstaking-pool.js.map +0 -1
- package/src/core.ts +0 -97
- package/src/errors.ts +0 -11
- package/src/jupiter-perps.ts +0 -7
- package/src/oracle.ts +0 -18
- package/src/unstaking-pool.ts +0 -9
|
@@ -0,0 +1,805 @@
|
|
|
1
|
+
import BN from 'bn.js';
|
|
2
|
+
import { Address, AccountMeta, Instruction, ProgramDerivedAddress, Rpc, Slot, SolanaRpcApi, TransactionSigner } from '@solana/kit';
|
|
3
|
+
import { AllOracleAccounts, KaminoMarket, KaminoReserve, Reserve } from '../lib';
|
|
4
|
+
import { UpdateReserveWhitelistModeKind, VaultConfigFieldKind } from '../@codegen/kvault/types';
|
|
5
|
+
import { VaultState } from '../@codegen/kvault/accounts';
|
|
6
|
+
import Decimal from 'decimal.js';
|
|
7
|
+
import { ReserveWithAddress } from './reserve';
|
|
8
|
+
import { AcceptVaultOwnershipIxs, APYs, CreateVaultFarm, DepositIxs, DisinvestAllReservesIxs, InitVaultIxs, ReserveAllocationOverview, SyncVaultLUTIxs, UpdateReserveAllocationIxs, UpdateVaultConfigIxs, UserSharesForVault, VaultComputedAllocation, WithdrawAndBlockReserveIxs, WithdrawIxs } from './vault_types';
|
|
9
|
+
import { FarmIncentives, FarmState } from '@kamino-finance/farms-sdk/dist';
|
|
10
|
+
import { Farms } from '@kamino-finance/farms-sdk';
|
|
11
|
+
export declare const kaminoVaultId: Address<"KvauGMspG5k6rtzrqqn7WNn3oZdyKqLKwK2XWQ8FLjd">;
|
|
12
|
+
export declare const kaminoVaultStagingId: Address<"stKvQfwRsQiKnLtMNVLHKS3exFJmZFsgfzBPWHECUYK">;
|
|
13
|
+
export declare const METADATA_SEED = "metadata";
|
|
14
|
+
export declare const METADATA_PROGRAM_ID: Address;
|
|
15
|
+
export declare const INITIAL_DEPOSIT_LAMPORTS = 1000;
|
|
16
|
+
/**
|
|
17
|
+
* KaminoVaultClient is a class that provides a high-level interface to interact with the Kamino Vault program.
|
|
18
|
+
*/
|
|
19
|
+
export declare class KaminoVaultClient {
|
|
20
|
+
private readonly _rpc;
|
|
21
|
+
private readonly _kaminoVaultProgramId;
|
|
22
|
+
private readonly _kaminoLendProgramId;
|
|
23
|
+
recentSlotDurationMs: number;
|
|
24
|
+
constructor(rpc: Rpc<SolanaRpcApi>, recentSlotDurationMs: number, kaminoVaultprogramId?: Address, kaminoLendProgramId?: Address);
|
|
25
|
+
getConnection(): Rpc<import("@solana/kit").RequestAirdropApi & import("@solana/kit").GetAccountInfoApi & import("@solana/kit").GetBalanceApi & import("@solana/kit").GetBlockApi & import("@solana/kit").GetBlockCommitmentApi & import("@solana/kit").GetBlockHeightApi & import("@solana/kit").GetBlockProductionApi & import("@solana/kit").GetBlocksApi & import("@solana/kit").GetBlocksWithLimitApi & import("@solana/kit").GetBlockTimeApi & import("@solana/kit").GetClusterNodesApi & import("@solana/kit").GetEpochInfoApi & import("@solana/kit").GetEpochScheduleApi & import("@solana/kit").GetFeeForMessageApi & import("@solana/kit").GetFirstAvailableBlockApi & import("@solana/kit").GetGenesisHashApi & import("@solana/kit").GetHealthApi & import("@solana/kit").GetHighestSnapshotSlotApi & import("@solana/kit").GetIdentityApi & import("@solana/kit").GetInflationGovernorApi & import("@solana/kit").GetInflationRateApi & import("@solana/kit").GetInflationRewardApi & import("@solana/kit").GetLargestAccountsApi & import("@solana/kit").GetLatestBlockhashApi & import("@solana/kit").GetLeaderScheduleApi & import("@solana/kit").GetMaxRetransmitSlotApi & import("@solana/kit").GetMaxShredInsertSlotApi & import("@solana/kit").GetMinimumBalanceForRentExemptionApi & import("@solana/kit").GetMultipleAccountsApi & import("@solana/kit").GetProgramAccountsApi & import("@solana/kit").GetRecentPerformanceSamplesApi & import("@solana/kit").GetRecentPrioritizationFeesApi & import("@solana/kit").GetSignaturesForAddressApi & import("@solana/kit").GetSignatureStatusesApi & import("@solana/kit").GetSlotApi & import("@solana/kit").GetSlotLeaderApi & import("@solana/kit").GetSlotLeadersApi & import("@solana/kit").GetStakeMinimumDelegationApi & import("@solana/kit").GetSupplyApi & import("@solana/kit").GetTokenAccountBalanceApi & import("@solana/kit").GetTokenAccountsByDelegateApi & import("@solana/kit").GetTokenAccountsByOwnerApi & import("@solana/kit").GetTokenLargestAccountsApi & import("@solana/kit").GetTokenSupplyApi & import("@solana/kit").GetTransactionApi & import("@solana/kit").GetTransactionCountApi & import("@solana/kit").GetVersionApi & import("@solana/kit").GetVoteAccountsApi & import("@solana/kit").IsBlockhashValidApi & import("@solana/kit").MinimumLedgerSlotApi & import("@solana/kit").SendTransactionApi & import("@solana/kit").SimulateTransactionApi>;
|
|
26
|
+
getProgramID(): Address;
|
|
27
|
+
getRpc(): Rpc<import("@solana/kit").RequestAirdropApi & import("@solana/kit").GetAccountInfoApi & import("@solana/kit").GetBalanceApi & import("@solana/kit").GetBlockApi & import("@solana/kit").GetBlockCommitmentApi & import("@solana/kit").GetBlockHeightApi & import("@solana/kit").GetBlockProductionApi & import("@solana/kit").GetBlocksApi & import("@solana/kit").GetBlocksWithLimitApi & import("@solana/kit").GetBlockTimeApi & import("@solana/kit").GetClusterNodesApi & import("@solana/kit").GetEpochInfoApi & import("@solana/kit").GetEpochScheduleApi & import("@solana/kit").GetFeeForMessageApi & import("@solana/kit").GetFirstAvailableBlockApi & import("@solana/kit").GetGenesisHashApi & import("@solana/kit").GetHealthApi & import("@solana/kit").GetHighestSnapshotSlotApi & import("@solana/kit").GetIdentityApi & import("@solana/kit").GetInflationGovernorApi & import("@solana/kit").GetInflationRateApi & import("@solana/kit").GetInflationRewardApi & import("@solana/kit").GetLargestAccountsApi & import("@solana/kit").GetLatestBlockhashApi & import("@solana/kit").GetLeaderScheduleApi & import("@solana/kit").GetMaxRetransmitSlotApi & import("@solana/kit").GetMaxShredInsertSlotApi & import("@solana/kit").GetMinimumBalanceForRentExemptionApi & import("@solana/kit").GetMultipleAccountsApi & import("@solana/kit").GetProgramAccountsApi & import("@solana/kit").GetRecentPerformanceSamplesApi & import("@solana/kit").GetRecentPrioritizationFeesApi & import("@solana/kit").GetSignaturesForAddressApi & import("@solana/kit").GetSignatureStatusesApi & import("@solana/kit").GetSlotApi & import("@solana/kit").GetSlotLeaderApi & import("@solana/kit").GetSlotLeadersApi & import("@solana/kit").GetStakeMinimumDelegationApi & import("@solana/kit").GetSupplyApi & import("@solana/kit").GetTokenAccountBalanceApi & import("@solana/kit").GetTokenAccountsByDelegateApi & import("@solana/kit").GetTokenAccountsByOwnerApi & import("@solana/kit").GetTokenLargestAccountsApi & import("@solana/kit").GetTokenSupplyApi & import("@solana/kit").GetTransactionApi & import("@solana/kit").GetTransactionCountApi & import("@solana/kit").GetVersionApi & import("@solana/kit").GetVoteAccountsApi & import("@solana/kit").IsBlockhashValidApi & import("@solana/kit").MinimumLedgerSlotApi & import("@solana/kit").SendTransactionApi & import("@solana/kit").SimulateTransactionApi>;
|
|
28
|
+
hasFarm(): void;
|
|
29
|
+
/**
|
|
30
|
+
* Prints a vault in a human readable form
|
|
31
|
+
* @param vaultPubkey - the address of the vault
|
|
32
|
+
* @param [vaultState] - optional parameter to pass the vault state directly; this will save a network call
|
|
33
|
+
* @returns - void; prints the vault to the console
|
|
34
|
+
*/
|
|
35
|
+
printVault(vaultPubkey: Address, vaultState?: VaultState): Promise<void>;
|
|
36
|
+
/**
|
|
37
|
+
* This method initializes the kvault global config (one off, needs to be signed by program owner)
|
|
38
|
+
* @param admin - the admin of the kvault program
|
|
39
|
+
* @returns - an instruction to initialize the kvault global config
|
|
40
|
+
*/
|
|
41
|
+
initKvaultGlobalConfigIx(admin: TransactionSigner): Promise<Instruction<string, readonly (AccountMeta<string> | import("@solana/kit").AccountLookupMeta<string, string>)[]>>;
|
|
42
|
+
/**
|
|
43
|
+
* This method will create a vault with a given config. The config can be changed later on, but it is recommended to set it up correctly from the start
|
|
44
|
+
* @param vaultConfig - the config object used to create a vault
|
|
45
|
+
* @returns vault: the keypair of the vault, used to sign the initialization transaction; initVaultIxs: a struct with ixs to initialize the vault and its lookup table + populateLUTIxs, a list to populate the lookup table which has to be executed in a separate transaction
|
|
46
|
+
*/
|
|
47
|
+
createVaultIxs(vaultConfig: KaminoVaultConfig): Promise<{
|
|
48
|
+
vault: TransactionSigner;
|
|
49
|
+
lut: Address;
|
|
50
|
+
initVaultIxs: InitVaultIxs;
|
|
51
|
+
}>;
|
|
52
|
+
/**
|
|
53
|
+
* This method creates a farm for a vault
|
|
54
|
+
* @param signer - the signer of the transaction
|
|
55
|
+
* @param vaultSharesMint - the mint of the vault shares
|
|
56
|
+
* @param vaultAddress - the address of the vault (it doesn't need to be already initialized)
|
|
57
|
+
* @returns a struct with the farm, the setup farm ixs and the update farm ixs
|
|
58
|
+
*/
|
|
59
|
+
createVaultFarm(signer: TransactionSigner, vaultAddress: Address, vaultSharesMint: Address): Promise<CreateVaultFarm>;
|
|
60
|
+
/**
|
|
61
|
+
* This method creates an instruction to set the shares metadata for a vault
|
|
62
|
+
* @param rpc
|
|
63
|
+
* @param vaultAdmin
|
|
64
|
+
* @param vault - the vault to set the shares metadata for
|
|
65
|
+
* @param sharesMint
|
|
66
|
+
* @param baseVaultAuthority
|
|
67
|
+
* @param tokenName - the name of the token in the vault (symbol; e.g. "USDC" which becomes "kVUSDC")
|
|
68
|
+
* @param extraName - the extra string appended to the prefix("Kamino Vault USDC <extraName>")
|
|
69
|
+
* @returns - an instruction to set the shares metadata for the vault
|
|
70
|
+
*/
|
|
71
|
+
getSetSharesMetadataIx(rpc: Rpc<SolanaRpcApi>, vaultAdmin: TransactionSigner, vault: Address, sharesMint: Address, baseVaultAuthority: Address, tokenName: string, extraName: string): Promise<Instruction<string, readonly (AccountMeta<string> | import("@solana/kit").AccountLookupMeta<string, string>)[]>>;
|
|
72
|
+
/**
|
|
73
|
+
* This method updates the vault reserve allocation config for an exiting vault reserve, or adds a new reserve to the vault if it does not exist.
|
|
74
|
+
* @param vault - vault to be updated
|
|
75
|
+
* @param reserveAllocationConfig - new reserve allocation config
|
|
76
|
+
* @param [vaultAdminAuthority] - vault admin - a noop vaultAdminAuthority is provided when absent for multisigs
|
|
77
|
+
* @returns - a struct with an instruction to update the reserve allocation and an optional list of instructions to update the lookup table for the allocation changes
|
|
78
|
+
*/
|
|
79
|
+
updateReserveAllocationIxs(vault: KaminoVault, reserveAllocationConfig: ReserveAllocationConfig, vaultAdminAuthority?: TransactionSigner): Promise<UpdateReserveAllocationIxs>;
|
|
80
|
+
/**
|
|
81
|
+
* This method updates the unallocated weight and cap of a vault (both are optional, if not provided the current values will be used)
|
|
82
|
+
* @param vault - the vault to update the unallocated weight and cap for
|
|
83
|
+
* @param [vaultAdminAuthority] - vault admin - a noop vaultAdminAuthority is provided when absent for multisigs
|
|
84
|
+
* @param [unallocatedWeight] - the new unallocated weight to set. If not provided, the current unallocated weight will be used
|
|
85
|
+
* @param [unallocatedCap] - the new unallocated cap to set. If not provided, the current unallocated cap will be used
|
|
86
|
+
* @returns - a list of instructions to update the unallocated weight and cap
|
|
87
|
+
*/
|
|
88
|
+
updateVaultUnallocatedWeightAndCapIxs(vault: KaminoVault, vaultAdminAuthority?: TransactionSigner, unallocatedWeight?: BN, unallocatedCap?: BN): Promise<Instruction<string, readonly (AccountMeta<string> | import("@solana/kit").AccountLookupMeta<string, string>)[]>[]>;
|
|
89
|
+
/**
|
|
90
|
+
* This method withdraws all the funds from a reserve and blocks it from being invested by setting its weight and ctoken allocation to 0
|
|
91
|
+
* @param vault - the vault to withdraw the funds from
|
|
92
|
+
* @param reserve - the reserve to withdraw the funds from
|
|
93
|
+
* @param [vaultAdminAuthority] - vault admin - a noop vaultAdminAuthority is provided when absent for multisigs
|
|
94
|
+
* @returns - a struct with an instruction to update the reserve allocation and an optional list of instructions to update the lookup table for the allocation changes
|
|
95
|
+
*/
|
|
96
|
+
withdrawEverythingAndBlockInvestReserve(vault: KaminoVault, reserve: Address, vaultAdminAuthority?: TransactionSigner): Promise<WithdrawAndBlockReserveIxs>;
|
|
97
|
+
/**
|
|
98
|
+
* This method withdraws all the funds from all the reserves and blocks them from being invested by setting their weight and ctoken allocation to 0
|
|
99
|
+
* @param vault - the vault to withdraw the invested funds from
|
|
100
|
+
* @param [vaultReservesMap] - optional parameter to pass a map of the vault reserves. If not provided, the reserves will be loaded from the vault
|
|
101
|
+
* @param [payer] - optional parameter to pass a different payer for the transaction. If not provided, the admin of the vault will be used; this is the payer for the invest ixs and it should have an ATA and some lamports (2x no_of_reserves) of the token vault
|
|
102
|
+
* @returns - a struct with an instruction to update the reserve allocations (set weight and ctoken allocation to 0) and an a list of instructions to disinvest the funds in the reserves
|
|
103
|
+
*/
|
|
104
|
+
withdrawEverythingFromAllReservesAndBlockInvest(vault: KaminoVault, vaultReservesMap?: Map<Address, KaminoReserve>, payer?: TransactionSigner): Promise<WithdrawAndBlockReserveIxs>;
|
|
105
|
+
/**
|
|
106
|
+
* This method disinvests all the funds from all the reserves and set their weight to 0; for vaults that are managed by external bot/crank, the bot can change the weight and invest in the reserves again
|
|
107
|
+
* @param vault - the vault to disinvest the invested funds from
|
|
108
|
+
* @param [vaultReservesMap] - optional parameter to pass a map of the vault reserves. If not provided, the reserves will be loaded from the vault
|
|
109
|
+
* @param [payer] - optional parameter to pass a different payer for the transaction. If not provided, the admin of the vault will be used; this is the payer for the invest ixs and it should have an ATA and some lamports (2x no_of_reserves) of the token vault
|
|
110
|
+
* @returns - a struct with an instruction to update the reserve allocations to 0 weight and a list of instructions to disinvest the funds in the reserves
|
|
111
|
+
*/
|
|
112
|
+
disinvestAllReservesIxs(vault: KaminoVault, vaultReservesMap?: Map<Address, KaminoReserve>, payer?: TransactionSigner): Promise<DisinvestAllReservesIxs>;
|
|
113
|
+
/**
|
|
114
|
+
* This method removes a reserve from the vault allocation strategy if already part of the allocation strategy
|
|
115
|
+
* @param vault - vault to remove the reserve from
|
|
116
|
+
* @param reserve - reserve to remove from the vault allocation strategy
|
|
117
|
+
* @param [vaultAdminAuthority] - vault admin - a noop vaultAdminAuthority is provided when absent for multisigs
|
|
118
|
+
* @returns - an instruction to remove the reserve from the vault allocation strategy or undefined if the reserve is not part of the allocation strategy
|
|
119
|
+
*/
|
|
120
|
+
removeReserveFromAllocationIx(vault: KaminoVault, reserve: Address, vaultAdminAuthority?: TransactionSigner): Promise<Instruction | undefined>;
|
|
121
|
+
/**
|
|
122
|
+
* Update a field of the vault. If the field is a pubkey it will return an extra instruction to add that account into the lookup table
|
|
123
|
+
* @param vault the vault to update
|
|
124
|
+
* @param mode the field to update (based on VaultConfigFieldKind enum)
|
|
125
|
+
* @param value the value to update the field with
|
|
126
|
+
* @param [adminAuthority] the signer of the transaction. Optional. If not provided the admin of the vault will be used. It should be used when changing the admin of the vault if we want to build or batch multiple ixs in the same tx.
|
|
127
|
+
* The global admin should be passed in when wanting to change the AllowAllocationsInWhitelistedReservesOnly or AllowInvestInWhitelistedReservesOnly fields to false
|
|
128
|
+
* @param [lutIxsSigner] the signer of the transaction to be used for the lookup table instructions. Optional. If not provided the admin of the vault will be used. It should be used when changing the admin of the vault if we want to build or batch multiple ixs in the same tx
|
|
129
|
+
* @param [skipLutUpdate] if true, the lookup table instructions will not be included in the returned instructions
|
|
130
|
+
* @returns a struct that contains the instruction to update the field and an optional list of instructions to update the lookup table
|
|
131
|
+
*/
|
|
132
|
+
updateVaultConfigIxs(vault: KaminoVault, mode: VaultConfigFieldKind, value: string, adminAuthority?: TransactionSigner, lutIxsSigner?: TransactionSigner, skipLutUpdate?: boolean, errorOnOverride?: boolean): Promise<UpdateVaultConfigIxs>;
|
|
133
|
+
/**
|
|
134
|
+
* Add or update a reserve whitelist entry. This controls whether the reserve is whitelisted for adding/updating
|
|
135
|
+
* allocations or for invest, depending on the mode parameter.
|
|
136
|
+
*
|
|
137
|
+
* @param reserve - Address of the reserve to whitelist
|
|
138
|
+
* @param mode - The whitelist mode: either 'Invest' or 'AddAllocation' with a value (1 = allow, 0 = deny)
|
|
139
|
+
* @param globalAdmin - The global admin that signs the transaction
|
|
140
|
+
* @returns - An instruction to add/update the whitelisted reserve
|
|
141
|
+
*/
|
|
142
|
+
addUpdateWhitelistedReserveIx(reserve: Address, mode: UpdateReserveWhitelistModeKind, globalAdmin: TransactionSigner): Promise<Instruction>;
|
|
143
|
+
/** Sets the farm where the shares can be staked. This is store in vault state and a vault can only have one farm, so the new farm will ovveride the old farm
|
|
144
|
+
* @param vault - vault to set the farm for
|
|
145
|
+
* @param farm - the farm where the vault shares can be staked
|
|
146
|
+
* @param [errorOnOverride] - if true, the function will throw an error if the vault already has a farm. If false, it will override the farm
|
|
147
|
+
* @param [vaultAdminAuthority] - vault admin - a noop vaultAdminAuthority is provided when absent for multisigs
|
|
148
|
+
* @param [lutIxsSigner] - the signer of the transaction to be used for the lookup table instructions. Optional. If not provided the admin of the vault will be used. It should be used when changing the admin of the vault if we want to build or batch multiple ixs in the same tx
|
|
149
|
+
* @param [skipLutUpdate] - if true, the lookup table instructions will not be included in the returned instructions
|
|
150
|
+
* @returns - a struct that contains the instruction to update the farm and an optional list of instructions to update the lookup table
|
|
151
|
+
*/
|
|
152
|
+
setVaultFarmIxs(vault: KaminoVault, farm: Address, errorOnOverride?: boolean, vaultAdminAuthority?: TransactionSigner, lutIxsSigner?: TransactionSigner, skipLutUpdate?: boolean): Promise<UpdateVaultConfigIxs>;
|
|
153
|
+
/**
|
|
154
|
+
* This method updates the vault config during vault initialization, within the same transaction
|
|
155
|
+
* where the vault is created. Use this when the vault state is not yet committed to the chain
|
|
156
|
+
* and cannot be fetched via RPC. For updates to existing vaults, use updateVaultConfigIxs instead.
|
|
157
|
+
*
|
|
158
|
+
* @param admin - the admin that signs the transaction
|
|
159
|
+
* @param vault - address of vault to be updated
|
|
160
|
+
* @param mode - the field to be updated
|
|
161
|
+
* @param value - the new value for the field to be updated (number or pubkey)
|
|
162
|
+
* @returns - an instruction to update the vault config
|
|
163
|
+
*/
|
|
164
|
+
private updateUninitialisedVaultConfigIx;
|
|
165
|
+
/**
|
|
166
|
+
* This function creates the instruction for the `pendingAdmin` of the vault to accept to become the owner of the vault (step 2/2 of the ownership transfer)
|
|
167
|
+
* @param vault - vault to change the ownership for
|
|
168
|
+
* @param [pendingAdmin] - pending vault admin - a noop vaultAdminAuthority is provided when absent for multisigs
|
|
169
|
+
* @returns - an instruction to accept the ownership of the vault and a list of instructions to update the lookup table
|
|
170
|
+
*/
|
|
171
|
+
acceptVaultOwnershipIxs(vault: KaminoVault, pendingAdmin?: TransactionSigner): Promise<AcceptVaultOwnershipIxs>;
|
|
172
|
+
/**
|
|
173
|
+
* This function creates the instruction for the admin to give up a part of the pending fees (which will be accounted as part of the vault)
|
|
174
|
+
* @param vault - vault to give up pending fees for
|
|
175
|
+
* @param maxAmountToGiveUp - the maximum amount of fees to give up, in tokens
|
|
176
|
+
* @param [vaultAdminAuthority] - vault admin - a noop vaultAdminAuthority is provided when absent for multisigs
|
|
177
|
+
* @returns - an instruction to give up the specified pending fees
|
|
178
|
+
*/
|
|
179
|
+
giveUpPendingFeesIx(vault: KaminoVault, maxAmountToGiveUp: Decimal, vaultAdminAuthority?: TransactionSigner): Promise<Instruction>;
|
|
180
|
+
/**
|
|
181
|
+
* This method withdraws all the pending fees from the vault to the owner's token ATA
|
|
182
|
+
* @param authority - vault admin
|
|
183
|
+
* @param vault - vault for which the admin withdraws the pending fees
|
|
184
|
+
* @param slot - current slot, used to estimate the interest earned in the different reserves with allocation from the vault
|
|
185
|
+
* @param [vaultReservesMap] - a hashmap from each reserve pubkey to the reserve state. Optional. If provided the function will be significantly faster as it will not have to fetch the reserves
|
|
186
|
+
* @param [vaultAdminAuthority] - vault admin - a noop vaultAdminAuthority is provided when absent for multisigs
|
|
187
|
+
* @returns - list of instructions to withdraw all pending fees, including the ATA creation instructions if needed
|
|
188
|
+
*/
|
|
189
|
+
withdrawPendingFeesIxs(vault: KaminoVault, slot: Slot, vaultReservesMap?: Map<Address, KaminoReserve>, vaultAdminAuthority?: TransactionSigner): Promise<Instruction[]>;
|
|
190
|
+
/**
|
|
191
|
+
* This function creates instructions to deposit into a vault. It will also create ATA creation instructions for the vault shares that the user receives in return
|
|
192
|
+
* @param user - user to deposit
|
|
193
|
+
* @param vault - vault to deposit into (if the state is not provided, it will be fetched)
|
|
194
|
+
* @param tokenAmount - token amount to be deposited, in decimals (will be converted in lamports)
|
|
195
|
+
* @param [vaultReservesMap] - optional parameter; a hashmap from each reserve pubkey to the reserve state. Optional. If provided the function will be significantly faster as it will not have to fetch the reserves
|
|
196
|
+
* @param [farmState] - the state of the vault farm, if the vault has a farm. Optional. If not provided, it will be fetched
|
|
197
|
+
* @returns - an instance of DepositIxs which contains the instructions to deposit in vault and the instructions to stake the shares in the farm if the vault has a farm
|
|
198
|
+
*/
|
|
199
|
+
depositIxs(user: TransactionSigner, vault: KaminoVault, tokenAmount: Decimal, vaultReservesMap?: Map<Address, KaminoReserve>, farmState?: FarmState): Promise<DepositIxs>;
|
|
200
|
+
buySharesIxs(user: TransactionSigner, vault: KaminoVault, tokenAmount: Decimal, vaultReservesMap?: Map<Address, KaminoReserve>, farmState?: FarmState): Promise<DepositIxs>;
|
|
201
|
+
private buildShareEntryIxs;
|
|
202
|
+
/**
|
|
203
|
+
* This function creates instructions to stake the shares in the vault farm if the vault has a farm
|
|
204
|
+
* @param user - user to stake
|
|
205
|
+
* @param vault - vault to deposit into its farm (if the state is not provided, it will be fetched)
|
|
206
|
+
* @param [sharesAmount] - token amount to be deposited, in decimals (will be converted in lamports). Optional. If not provided, the user's share balance will be used
|
|
207
|
+
* @param [farmState] - the state of the vault farm, if the vault has a farm. Optional. If not provided, it will be fetched
|
|
208
|
+
* @returns - a list of instructions for the user to stake shares into the vault's farm, including the creation of prerequisite accounts if needed
|
|
209
|
+
*/
|
|
210
|
+
stakeSharesIxs(user: TransactionSigner, vault: KaminoVault, sharesAmount?: Decimal, farmState?: FarmState): Promise<Instruction[]>;
|
|
211
|
+
/**
|
|
212
|
+
* This function will return a struct with the instructions to unstake from the farm if necessary and the instructions for the missing ATA creation instructions, as well as one or multiple withdraw instructions, based on how many reserves it's needed to withdraw from. This might have to be split in multiple transactions
|
|
213
|
+
* @param user - user to withdraw
|
|
214
|
+
* @param vault - vault to withdraw from
|
|
215
|
+
* @param shareAmount - share amount to withdraw (in tokens, not lamports), in order to withdraw everything, any value > user share amount
|
|
216
|
+
* @param slot - current slot, used to estimate the interest earned in the different reserves with allocation from the vault
|
|
217
|
+
* @param [vaultReservesMap] - optional parameter; a hashmap from each reserve pubkey to the reserve state. If provided the function will be significantly faster as it will not have to fetch the reserves
|
|
218
|
+
* @param [farmState] - the state of the vault farm, if the vault has a farm. Optional. If not provided, it will be fetched
|
|
219
|
+
* @returns an array of instructions to create missing ATAs if needed and the withdraw instructions
|
|
220
|
+
*/
|
|
221
|
+
withdrawIxs(user: TransactionSigner, vault: KaminoVault, shareAmountToWithdraw: Decimal, slot: Slot, vaultReservesMap?: Map<Address, KaminoReserve>, farmState?: FarmState): Promise<WithdrawIxs>;
|
|
222
|
+
/**
|
|
223
|
+
* This function will return the missing ATA creation instructions, as well as one or multiple withdraw instructions, based on how many reserves it's needed to withdraw from. This might have to be split in multiple transactions
|
|
224
|
+
* @param user - user to sell shares for vault tokens
|
|
225
|
+
* @param vault - vault to sell shares from
|
|
226
|
+
* @param shareAmount - share amount to sell (in tokens, not lamports), in order to withdraw everything, any value > user share amount
|
|
227
|
+
* @param slot - current slot, used to estimate the interest earned in the different reserves with allocation from the vault
|
|
228
|
+
* @param [vaultReservesMap] - optional parameter; a hashmap from each reserve pubkey to the reserve state. If provided the function will be significantly faster as it will not have to fetch the reserves
|
|
229
|
+
* @param [farmState] - the state of the vault farm, if the vault has a farm. Optional. If not provided, it will be fetched
|
|
230
|
+
* @returns an array of instructions to create missing ATAs if needed and the withdraw instructions
|
|
231
|
+
*/
|
|
232
|
+
sellSharesIxs(user: TransactionSigner, vault: KaminoVault, shareAmountToWithdraw: Decimal, slot: Slot, vaultReservesMap?: Map<Address, KaminoReserve>, farmState?: FarmState): Promise<WithdrawIxs>;
|
|
233
|
+
private buildShareExitIxs;
|
|
234
|
+
private withdrawFromAvailableIxs;
|
|
235
|
+
private buildReserveExitIxs;
|
|
236
|
+
/**
|
|
237
|
+
* This will trigger invest by balancing, based on weights, the reserve allocations of the vault. It can either withdraw or deposit into reserves to balance them. This is a function that should be cranked
|
|
238
|
+
* @param payer wallet that pays the tx
|
|
239
|
+
* @param vault - vault to invest from
|
|
240
|
+
* @param skipComputationChecks - if true, the function will skip the computation checks and will invest all the reserves; it is useful for txs where we update reserve allocations and invest atomically
|
|
241
|
+
* @returns - an array of invest instructions for each invest action required for the vault reserves
|
|
242
|
+
*/
|
|
243
|
+
investAllReservesIxs(payer: TransactionSigner, vault: KaminoVault, skipComputationChecks?: boolean): Promise<Instruction[]>;
|
|
244
|
+
/**
|
|
245
|
+
* This will trigger invest by balancing, based on weights, the reserve allocation of the vault. It can either withdraw or deposit into the given reserve to balance it
|
|
246
|
+
* @param payer wallet pubkey - the instruction is permissionless and does not require the vault admin, due to rounding between cTokens and the underlying, the payer may have to contribute 1 or more lamports of the underlying from their token account
|
|
247
|
+
* @param vault - vault to invest from
|
|
248
|
+
* @param reserve - reserve to invest into or disinvest from
|
|
249
|
+
* @param [vaultReservesMap] - optional parameter; a hashmap from each reserve pubkey to the reserve state. If provided the function will be significantly faster as it will not have to fetch the reserves
|
|
250
|
+
* @param [createAtaIfNeeded]
|
|
251
|
+
* @returns - an array of invest instructions for each invest action required for the vault reserves
|
|
252
|
+
*/
|
|
253
|
+
investSingleReserveIxs(payer: TransactionSigner, vault: KaminoVault, reserve: ReserveWithAddress, vaultReservesMap?: Map<Address, KaminoReserve>, createAtaIfNeeded?: boolean): Promise<Instruction[]>;
|
|
254
|
+
/** Convert a string to a u8 representation to be stored on chain */
|
|
255
|
+
encodeVaultName(token: string): Uint8Array;
|
|
256
|
+
/**Convert an u8 array to a string */
|
|
257
|
+
decodeVaultName(token: number[]): string;
|
|
258
|
+
/** Helper to serialize value as Buffer for updateVaultConfig instruction */
|
|
259
|
+
private getValueForModeAsBuffer;
|
|
260
|
+
private sellIx;
|
|
261
|
+
private withdrawIx;
|
|
262
|
+
private withdrawFromAvailableIx;
|
|
263
|
+
private withdrawPendingFeesIx;
|
|
264
|
+
/**
|
|
265
|
+
* Sync a vault for lookup table; create and set the LUT for the vault if needed and fill it with all the needed accounts
|
|
266
|
+
* @param authority - vault admin
|
|
267
|
+
* @param vault the vault to sync and set the LUT for if needed
|
|
268
|
+
* @param [vaultReservesMap] - optional parameter; a hashmap from each reserve pubkey to the reserve state. Optional. If provided the function will be significantly faster as it will not have to fetch the reserves
|
|
269
|
+
* @returns a struct that contains a list of ix to create the LUT and assign it to the vault if needed + a list of ixs to insert all the accounts in the LUT
|
|
270
|
+
*/
|
|
271
|
+
syncVaultLookupTableIxs(authority: TransactionSigner, vault: KaminoVault, vaultReservesMap?: Map<Address, KaminoReserve>): Promise<SyncVaultLUTIxs>;
|
|
272
|
+
private getReserveAccountsToInsertInLut;
|
|
273
|
+
/** Read the total holdings of a vault and the reserve weights and returns a map from each reserve to how many tokens should be deposited.
|
|
274
|
+
* @param vaultState - the vault state to calculate the allocation for
|
|
275
|
+
* @param [slot] - the slot for which to calculate the allocation. Optional. If not provided the function will fetch the current slot
|
|
276
|
+
* @param [vaultReserves] - a hashmap from each reserve pubkey to the reserve state. Optional. If provided the function will be significantly faster as it will not have to fetch the reserves
|
|
277
|
+
* @param [currentSlot] - the latest confirmed slot. Optional. If provided the function will be faster as it will not have to fetch the latest slot
|
|
278
|
+
* @returns - a map from each reserve to how many tokens should be invested into
|
|
279
|
+
*/
|
|
280
|
+
getVaultComputedReservesAllocation(vaultState: VaultState, slot?: Slot, vaultReserves?: Map<Address, KaminoReserve>, currentSlot?: Slot): Promise<VaultComputedAllocation>;
|
|
281
|
+
private computeReservesAllocation;
|
|
282
|
+
/**
|
|
283
|
+
* This method returns the user shares balance for a given vault
|
|
284
|
+
* @param user - user to calculate the shares balance for
|
|
285
|
+
* @param vault - vault to calculate shares balance for
|
|
286
|
+
* @returns - user share balance in tokens (not lamports)
|
|
287
|
+
*/
|
|
288
|
+
getUserSharesBalanceSingleVault(user: Address, vault: KaminoVault): Promise<UserSharesForVault>;
|
|
289
|
+
/**
|
|
290
|
+
* This method returns the user shares balance for all existing vaults
|
|
291
|
+
* @param user - user to calculate the shares balance for
|
|
292
|
+
* @param [vaultsOverride] - the kamino vaults if already fetched, in order to reduce rpc calls.Optional
|
|
293
|
+
* @returns - hash map with keys as vault address and value as user share balance in decimal (not lamports)
|
|
294
|
+
*/
|
|
295
|
+
getUserSharesBalanceAllVaults(user: Address, vaultsOverride?: Array<KaminoVault>): Promise<Map<Address, UserSharesForVault>>;
|
|
296
|
+
/**
|
|
297
|
+
* This method returns the management and performance fee percentages
|
|
298
|
+
* @param vaultState - vault to retrieve the fees percentages from
|
|
299
|
+
* @returns - VaultFeesPct containing management and performance fee percentages
|
|
300
|
+
*/
|
|
301
|
+
getVaultFeesPct(vaultState: VaultState): VaultFeesPct;
|
|
302
|
+
/**
|
|
303
|
+
* This method calculates the token per share value. This will always change based on interest earned from the vault, but calculating it requires a bunch of rpc requests. Caching this for a short duration would be optimal
|
|
304
|
+
* @param vaultState - vault state to calculate tokensPerShare for
|
|
305
|
+
* @param [slot] - the slot at which we retrieve the tokens per share. Optional. If not provided, the function will fetch the current slot
|
|
306
|
+
* @param [vaultReservesMap] - hashmap from each reserve pubkey to the reserve state. Optional. If provided the function will be significantly faster as it will not have to fetch the reserves
|
|
307
|
+
* @param [currentSlot] - the latest confirmed slot. Optional. If provided the function will be faster as it will not have to fetch the latest slot
|
|
308
|
+
* @returns - token per share value
|
|
309
|
+
*/
|
|
310
|
+
getTokensPerShareSingleVault(vaultOrState: KaminoVault | VaultState, slot?: Slot, vaultReservesMap?: Map<Address, KaminoReserve>, currentSlot?: Slot): Promise<Decimal>;
|
|
311
|
+
/**
|
|
312
|
+
* This method calculates the token per share value. This will always change based on interest earned from the vault, but calculating it requires a bunch of rpc requests. Caching this for a short duration would be optimal
|
|
313
|
+
* @param [vaultsOverride] - a list of vaults to get the tokens per share for; if provided with state it will not fetch the state again. Optional
|
|
314
|
+
* @param [vaultReservesMap] - optional parameter; a hashmap from each reserve pubkey to the reserve state. Optional. If provided the function will be significantly faster as it will not have to fetch the reserves
|
|
315
|
+
* @param slot - current slot, used to estimate the interest earned in the different reserves with allocation from the vault
|
|
316
|
+
* @returns - token per share value
|
|
317
|
+
*/
|
|
318
|
+
getTokensPerShareAllVaults(slot: Slot, vaultsOverride?: Array<KaminoVault>, vaultReservesMap?: Map<Address, KaminoReserve>): Promise<Map<Address, Decimal>>;
|
|
319
|
+
/**
|
|
320
|
+
* Get all vaults
|
|
321
|
+
* @returns an array of all vaults
|
|
322
|
+
*/
|
|
323
|
+
getAllVaults(): Promise<KaminoVault[]>;
|
|
324
|
+
/**
|
|
325
|
+
* Get all vaults for a given token
|
|
326
|
+
* @param token - the token to get all vaults for
|
|
327
|
+
* @returns an array of all vaults for the given token
|
|
328
|
+
*/
|
|
329
|
+
getAllVaultsForToken(token: Address): Promise<Array<KaminoVault>>;
|
|
330
|
+
private getAllVaultsWithFilter;
|
|
331
|
+
/**
|
|
332
|
+
* Get a list of kaminoVaults
|
|
333
|
+
* @param vaults - a list of vaults to get the states for; if not provided, all vaults will be fetched
|
|
334
|
+
* @returns a list of vaults
|
|
335
|
+
*/
|
|
336
|
+
getVaults(vaults?: Array<Address>): Promise<Array<KaminoVault | null>>;
|
|
337
|
+
private getVaultsStates;
|
|
338
|
+
/**
|
|
339
|
+
* This will return the amount of token invested from the vault into the given reserve
|
|
340
|
+
* @param vaultState - the kamino vault to get invested amount in reserve for
|
|
341
|
+
* @param slot - current slot
|
|
342
|
+
* @param reserve - the reserve state to get vault invested amount in
|
|
343
|
+
* @returns vault amount supplied in reserve in decimal
|
|
344
|
+
*/
|
|
345
|
+
getSuppliedInReserve(vaultState: VaultState, slot: Slot, reserve: KaminoReserve): Decimal;
|
|
346
|
+
/**
|
|
347
|
+
* This will return the a map between reserve pubkey and the pct of the vault invested amount in each reserve
|
|
348
|
+
* @param vaultState - the kamino vault to get reserves distribution for
|
|
349
|
+
* @returns a map between reserve pubkey and the allocation pct for the reserve
|
|
350
|
+
*/
|
|
351
|
+
getAllocationsDistribuionPct(vaultState: VaultState): Map<Address, Decimal>;
|
|
352
|
+
/**
|
|
353
|
+
* This will return the a map between reserve pubkey and the allocation overview for the reserve
|
|
354
|
+
* @param vaultState - the kamino vault to get reserves allocation overview for
|
|
355
|
+
* @returns a map between reserve pubkey and the allocation overview for the reserve
|
|
356
|
+
*/
|
|
357
|
+
getVaultAllocations(vaultState: VaultState): Map<Address, ReserveAllocationOverview>;
|
|
358
|
+
/**
|
|
359
|
+
* This will return an unsorted hash map of all reserves that the given vault has allocations for, toghether with the amount that can be withdrawn from each of the reserves
|
|
360
|
+
* @param vault - the kamino vault to get available liquidity to withdraw for
|
|
361
|
+
* @param slot - current slot
|
|
362
|
+
*@param [vaultReservesMap] - a hashmap from each reserve pubkey to the reserve state
|
|
363
|
+
* @returns an HashMap of reserves (key) with the amount available to withdraw for each (value)
|
|
364
|
+
*/
|
|
365
|
+
private getReserveAllocationAvailableLiquidityToWithdraw;
|
|
366
|
+
/**
|
|
367
|
+
* This will get the list of all reserve pubkeys that the vault has allocations for ex
|
|
368
|
+
* @param vault - the vault state to load reserves for
|
|
369
|
+
* @returns a hashmap from each reserve pubkey to the reserve state
|
|
370
|
+
*/
|
|
371
|
+
getVaultReserves(vault: VaultState): Address[];
|
|
372
|
+
/**
|
|
373
|
+
* This will load the onchain state for all the reserves that the vault has allocations for
|
|
374
|
+
* @param vaultState - the vault state to load reserves for
|
|
375
|
+
* @returns a hashmap from each reserve pubkey to the reserve state
|
|
376
|
+
*/
|
|
377
|
+
loadVaultReserves(vaultState: VaultState): Promise<Map<Address, KaminoReserve>>;
|
|
378
|
+
private loadReserializedReserves;
|
|
379
|
+
/**
|
|
380
|
+
* This will load the onchain state for all the reserves that the vaults have allocations for, deduplicating the reserves
|
|
381
|
+
* @param vaults - the vault states to load reserves for
|
|
382
|
+
* @param oracleAccounts (optional) all reserve oracle accounts, if not supplied will make an additional rpc call to fetch these accounts
|
|
383
|
+
* @returns a hashmap from each reserve pubkey to the reserve state
|
|
384
|
+
*/
|
|
385
|
+
loadVaultsReserves(vaults: VaultState[], oracleAccounts?: AllOracleAccounts): Promise<Map<Address, KaminoReserve>>;
|
|
386
|
+
/**
|
|
387
|
+
* This will retrieve all the tokens that can be used as collateral by the users who borrow the token in the vault alongside details about the min and max loan to value ratio
|
|
388
|
+
* @param vaultState - the vault state to load reserves for
|
|
389
|
+
* @param [slot] - the slot for which to retrieve the vault collaterals for. Optional. If not provided the function will fetch the current slot
|
|
390
|
+
* @param [vaultReservesMap] - hashmap from each reserve pubkey to the reserve state. Optional. If provided the function will be significantly faster as it will not have to fetch the reserves
|
|
391
|
+
* @param [kaminoMarkets] - a list of all the kamino markets. Optional. If provided the function will be significantly faster as it will not have to fetch the markets
|
|
392
|
+
* @param oracleAccounts (optional) all reserve oracle accounts, if not supplied will make an additional rpc call to fetch these accounts
|
|
393
|
+
* @returns a hashmap from each reserve pubkey to the market overview of the collaterals that can be used and the min and max loan to value ratio in that market
|
|
394
|
+
*/
|
|
395
|
+
getVaultCollaterals(vaultState: VaultState, slot: Slot, vaultReservesMap?: Map<Address, KaminoReserve>, kaminoMarkets?: KaminoMarket[], oracleAccounts?: AllOracleAccounts): Promise<Map<Address, MarketOverview>>;
|
|
396
|
+
/**
|
|
397
|
+
* This will return an VaultHoldings object which contains the amount available (uninvested) in vault, total amount invested in reseves and a breakdown of the amount invested in each reserve
|
|
398
|
+
* @param vault - the kamino vault to get available liquidity to withdraw for
|
|
399
|
+
* @param [slot] - the slot for which to calculate the holdings. Optional. If not provided the function will fetch the current slot
|
|
400
|
+
* @param [vaultReserves] - a hashmap from each reserve pubkey to the reserve state. Optional. If provided the function will be significantly faster as it will not have to fetch the reserves
|
|
401
|
+
* @param [currentSlot] - the latest confirmed slot. Optional. If provided the function will be faster as it will not have to fetch the latest slot
|
|
402
|
+
* @returns an VaultHoldings object representing the amount available (uninvested) in vault, total amount invested in reseves and a breakdown of the amount invested in each reserve
|
|
403
|
+
*/
|
|
404
|
+
getVaultHoldings(vault: VaultState, slot?: Slot, vaultReserves?: Map<Address, KaminoReserve>, currentSlot?: Slot): Promise<VaultHoldings>;
|
|
405
|
+
/**
|
|
406
|
+
* This will return an VaultOverview object that encapsulates all the information about the vault, including the holdings, reserves details, theoretical APY, utilization ratio and total borrowed amount
|
|
407
|
+
* @param vault - the kamino vault to get available liquidity to withdraw for
|
|
408
|
+
* @param price - the price of the token in the vault (e.g. USDC)
|
|
409
|
+
* @param [slot] - the slot for which to retrieve the vault overview for. Optional. If not provided the function will fetch the current slot
|
|
410
|
+
* @param [vaultReservesMap] - hashmap from each reserve pubkey to the reserve state. Optional. If provided the function will be significantly faster as it will not have to fetch the reserves
|
|
411
|
+
* @param [currentSlot] - the latest confirmed slot. Optional. If provided the function will be faster as it will not have to fetch the latest slot
|
|
412
|
+
* @returns an VaultOverview object with details about the tokens available and invested in the vault, denominated in tokens and USD
|
|
413
|
+
*/
|
|
414
|
+
getVaultHoldingsWithPrice(vault: VaultState, price: Decimal, slot?: Slot, vaultReservesMap?: Map<Address, KaminoReserve>, currentSlot?: Slot): Promise<VaultHoldingsWithUSDValue>;
|
|
415
|
+
/**
|
|
416
|
+
* This will return an VaultOverview object that encapsulates all the information about the vault, including the holdings, reserves details, theoretical APY, utilization ratio and total borrowed amount
|
|
417
|
+
* @param vault - the kamino vault to get available liquidity to withdraw for
|
|
418
|
+
* @param vaultTokenPrice - the price of the token in the vault (e.g. USDC)
|
|
419
|
+
* @param [slot] - the slot for which to retrieve the vault overview for. Optional. If not provided the function will fetch the current slot
|
|
420
|
+
* @param [vaultReservesMap] - hashmap from each reserve pubkey to the reserve state. Optional. If provided the function will be significantly faster as it will not have to fetch the reserves
|
|
421
|
+
* @param [kaminoMarkets] - a list of all kamino markets. Optional. If provided the function will be significantly faster as it will not have to fetch the markets
|
|
422
|
+
* @param [currentSlot] - the latest confirmed slot. Optional. If provided the function will be faster as it will not have to fetch the latest slot
|
|
423
|
+
* @param [tokensPrices] - a hashmap from a token pubkey to the price of the token in USD. Optional. If some tokens are not in the map, the function will fetch the price
|
|
424
|
+
* @returns an VaultOverview object with details about the tokens available and invested in the vault, denominated in tokens and USD, along sie APYs
|
|
425
|
+
*/
|
|
426
|
+
getVaultOverview(vault: KaminoVault, vaultTokenPrice: Decimal, slot?: Slot, vaultReservesMap?: Map<Address, KaminoReserve>, kaminoMarkets?: KaminoMarket[], currentSlot?: Slot, tokensPrices?: Map<Address, Decimal>): Promise<VaultOverview>;
|
|
427
|
+
/**
|
|
428
|
+
* This will return an aggregation of the current state of the vault with all the invested amounts and the utilization ratio of the vault
|
|
429
|
+
* @param vault - the kamino vault to get available liquidity to withdraw for
|
|
430
|
+
* @param slot - current slot
|
|
431
|
+
* @param [vaultReservesMap] - hashmap from each reserve pubkey to the reserve state. Optional. If provided the function will be significantly faster as it will not have to fetch the reserves
|
|
432
|
+
* @returns an VaultReserveTotalBorrowedAndInvested object with the total invested amount, total borrowed amount and the utilization ratio of the vault
|
|
433
|
+
*/
|
|
434
|
+
getTotalBorrowedAndInvested(vault: VaultState, slot: Slot, vaultReservesMap?: Map<Address, KaminoReserve>): Promise<VaultReserveTotalBorrowedAndInvested>;
|
|
435
|
+
/**
|
|
436
|
+
* This will return a map of the cumulative rewards issued for all the delegated farms
|
|
437
|
+
* @param [vaults] - the vaults to get the cumulative rewards for; if not provided, the function will get the cumulative rewards for all the vaults
|
|
438
|
+
* @returns a map of the cumulative rewards issued for all the delegated farms, per token, in lamports
|
|
439
|
+
*/
|
|
440
|
+
getCumulativeDelegatedFarmsRewardsIssuedForAllVaults(vaults?: Address[]): Promise<Map<Address, Decimal>>;
|
|
441
|
+
/**
|
|
442
|
+
* This will return an overview of each reserve that is part of the vault allocation
|
|
443
|
+
* @param vault - the kamino vault to get available liquidity to withdraw for
|
|
444
|
+
* @param slot - current slot
|
|
445
|
+
* @param [vaultReservesMap] - hashmap from each reserve pubkey to the reserve state. Optional. If provided the function will be significantly faster as it will not have to fetch the reserves
|
|
446
|
+
* @returns a hashmap from vault reserve pubkey to ReserveOverview object
|
|
447
|
+
*/
|
|
448
|
+
getVaultReservesDetails(vault: VaultState, slot: Slot, vaultReserves?: Map<Address, KaminoReserve>): Promise<Map<Address, ReserveOverview>>;
|
|
449
|
+
/**
|
|
450
|
+
* This will return the APY of the vault under the assumption that all the available tokens in the vault are all the time invested in the reserves as requested by the weights; for percentage it needs multiplication by 100
|
|
451
|
+
* @param vault - the kamino vault to get APY for
|
|
452
|
+
* @param slot - current slot
|
|
453
|
+
* @param [vaultReservesMap] - hashmap from each reserve pubkey to the reserve state. Optional. If provided the function will be significantly faster as it will not have to fetch the reserves
|
|
454
|
+
* @returns a struct containing estimated gross APY and net APY (gross - vault fees) for the vault
|
|
455
|
+
*/
|
|
456
|
+
getVaultTheoreticalAPY(vault: VaultState, slot: Slot, vaultReservesMap?: Map<Address, KaminoReserve>): Promise<APYs>;
|
|
457
|
+
/**
|
|
458
|
+
* This will return the APY of the vault based on the current invested amounts; for percentage it needs multiplication by 100
|
|
459
|
+
* @param vault - the kamino vault to get APY for
|
|
460
|
+
* @param slot - current slot
|
|
461
|
+
* @param [vaultReservesMap] - hashmap from each reserve pubkey to the reserve state. Optional. If provided the function will be significantly faster as it will not have to fetch the reserves
|
|
462
|
+
* @returns a struct containing estimated gross APY and net APY (gross - vault fees) for the vault
|
|
463
|
+
*/
|
|
464
|
+
getVaultActualAPY(vault: VaultState, slot: Slot, vaultReservesMap?: Map<Address, KaminoReserve>): Promise<APYs>;
|
|
465
|
+
/**
|
|
466
|
+
* Retrive the total amount of interest earned by the vault since its inception, up to the last interaction with the vault on chain, including what was charged as fees
|
|
467
|
+
* @param vaultState the kamino vault state to get total net yield for
|
|
468
|
+
* @returns a struct containing a Decimal representing the net number of tokens earned by the vault since its inception and the timestamp of the last fee charge
|
|
469
|
+
*/
|
|
470
|
+
getVaultCumulativeInterest(vaultState: VaultState): Promise<VaultCumulativeInterestWithTimestamp>;
|
|
471
|
+
/**
|
|
472
|
+
* Simulate the current holdings of the vault and the earned interest
|
|
473
|
+
* @param vaultState the kamino vault state to get simulated holdings and earnings for
|
|
474
|
+
* @param [vaultReservesMap] - hashmap from each reserve pubkey to the reserve state. Optional. If provided the function will be significantly faster as it will not have to fetch the reserves
|
|
475
|
+
* @param [currentSlot] - the current slot. Optional. If not provided it will fetch the current slot
|
|
476
|
+
* @param [previousNetAUM] - the previous AUM of the vault to compute the earned interest relative to this value. Optional. If not provided the function will estimate the total AUM at the slot of the last state update on chain
|
|
477
|
+
* @param [currentSlot] - the latest confirmed slot. Optional. If provided the function will be faster as it will not have to fetch the latest slot
|
|
478
|
+
* @returns a struct of simulated vault holdings and earned interest
|
|
479
|
+
*/
|
|
480
|
+
calculateSimulatedHoldingsWithInterest(vaultState: VaultState, vaultReservesMap?: Map<Address, KaminoReserve>, slot?: Slot, previousNetAUM?: Decimal, currentSlot?: Slot): Promise<SimulatedVaultHoldingsWithEarnedInterest>;
|
|
481
|
+
/**
|
|
482
|
+
* Simulate the current holdings and compute the fees that would be charged
|
|
483
|
+
* @param vaultState the kamino vault state to get simulated fees for
|
|
484
|
+
* @param [simulatedCurrentHoldingsWithInterest] the simulated holdings and interest earned by the vault. Optional
|
|
485
|
+
* @param [currentTimestamp] the current date. Optional. If not provided it will fetch the current unix timestamp
|
|
486
|
+
* @returns a VaultFees struct of simulated management and interest fees
|
|
487
|
+
*/
|
|
488
|
+
calculateSimulatedFees(vaultState: VaultState, simulatedCurrentHoldingsWithInterest?: SimulatedVaultHoldingsWithEarnedInterest, currentTimestamp?: Date): Promise<VaultFees>;
|
|
489
|
+
/**
|
|
490
|
+
* This will compute the PDA that is used as delegatee in Farms program to compute the user state PDA for vault depositor investing in vault with reserve having a supply farm
|
|
491
|
+
*/
|
|
492
|
+
computeUserFarmStateDelegateePDAForUserInVault(farmsProgramId: Address, vault: Address, reserve: Address, user: Address): Promise<ProgramDerivedAddress>;
|
|
493
|
+
/**
|
|
494
|
+
* Compute the delegatee PDA for the user farm state for a vault delegate farm
|
|
495
|
+
* @param farmProgramID - the program ID of the farm program
|
|
496
|
+
* @param vault - the address of the vault
|
|
497
|
+
* @param farm - the address of the delegated farm
|
|
498
|
+
* @param user - the address of the user
|
|
499
|
+
* @returns the PDA of the delegatee user farm state for the delegated farm
|
|
500
|
+
*/
|
|
501
|
+
computeUserFarmStateDelegateePDAForUserInDelegatedVaultFarm(farmProgramID: Address, vault: Address, farm: Address, user: Address): Promise<ProgramDerivedAddress>;
|
|
502
|
+
/**
|
|
503
|
+
* Compute the user state PDA for a user in a delegated vault farm
|
|
504
|
+
* @param farmProgramID - the program ID of the farm program
|
|
505
|
+
* @param vault - the address of the vault
|
|
506
|
+
* @param farm - the address of the delegated farm
|
|
507
|
+
* @param user - the address of the user
|
|
508
|
+
* @returns the PDA of the user state for the delegated farm
|
|
509
|
+
*/
|
|
510
|
+
computeUserStatePDAForUserInDelegatedVaultFarm(farmProgramID: Address, vault: Address, farm: Address, user: Address): Promise<Address>;
|
|
511
|
+
computeDelegateeForUserInDelegatedFarm(farmProgramID: Address, vault: Address, farm: Address, user: Address): Promise<Address>;
|
|
512
|
+
/**
|
|
513
|
+
* Read the APY of the farm built on top of the vault (farm in vaultState.vaultFarm)
|
|
514
|
+
* @param vault - the vault to read the farm APY for
|
|
515
|
+
* @param vaultTokenPrice - the price of the vault token in USD (e.g. 1.0 for USDC)
|
|
516
|
+
* @param [farmsClient] - the farms client to use. Optional. If not provided, the function will create a new one
|
|
517
|
+
* @param [slot] - the slot to read the farm APY for. Optional. If not provided, the function will read the current slot
|
|
518
|
+
* @returns the APY of the farm built on top of the vault
|
|
519
|
+
*/
|
|
520
|
+
getVaultRewardsAPY(vaultOrState: KaminoVault | VaultState, vaultTokenPrice: Decimal, farmsClient?: Farms, slot?: Slot, tokensPrices?: Map<Address, Decimal>): Promise<FarmIncentives>;
|
|
521
|
+
/**
|
|
522
|
+
* Read the APY of the delegated farm providing incentives for vault depositors
|
|
523
|
+
* @param vault - the vault to read the farm APY for
|
|
524
|
+
* @param vaultTokenPrice - the price of the vault token in USD (e.g. 1.0 for USDC)
|
|
525
|
+
* @param [farmsClient] - the farms client to use. Optional. If not provided, the function will create a new one
|
|
526
|
+
* @param [slot] - the slot to read the farm APY for. Optional. If not provided, the function will read the current slot
|
|
527
|
+
* @param [tokensPrices] - the prices of the tokens in USD. Optional. If not provided, the function will fetch the prices
|
|
528
|
+
* @returns the APY of the delegated farm providing incentives for vault depositors
|
|
529
|
+
*/
|
|
530
|
+
getVaultDelegatedFarmRewardsAPY(vault: KaminoVault, vaultTokenPrice: Decimal, farmsClient?: Farms, slot?: Slot, tokensPrices?: Map<Address, Decimal>): Promise<FarmIncentives>;
|
|
531
|
+
/**
|
|
532
|
+
* Get all the token mints of the vault, vault farm rewards and the allocation rewards
|
|
533
|
+
* @param vaults - the vaults to get the token mints for
|
|
534
|
+
* @param [vaultReservesMap] - the vault reserves map to get the reserves for; if not provided, the function will fetch the reserves
|
|
535
|
+
* @param farmsMap - the farms map to get the farms for
|
|
536
|
+
* @returns a set of token mints
|
|
537
|
+
*/
|
|
538
|
+
getAllVaultsTokenMintsIncludingRewards(vaults: KaminoVault[], vaultReservesMap?: Map<Address, KaminoReserve>, farmsMap?: Map<Address, FarmState>): Promise<Set<Address>>;
|
|
539
|
+
getVaultReservesFarmsIncentives(vaultOrState: KaminoVault | VaultState, vaultTokenPrice: Decimal, farmsClient?: Farms, slot?: Slot, vaultReservesMap?: Map<Address, KaminoReserve>, tokensPrices?: Map<Address, Decimal>): Promise<VaultReservesFarmsIncentives>;
|
|
540
|
+
getUserPendingRewardsInVaultFarm(user: Address, vault: KaminoVault): Promise<Map<Address, Decimal>>;
|
|
541
|
+
getUserPendingRewardsInVaultDelegatedFarm(user: Address, vaultAddress: Address): Promise<Map<Address, Decimal>>;
|
|
542
|
+
getDelegatedFarmForVault(vault: Address): Promise<Address | undefined>;
|
|
543
|
+
/**
|
|
544
|
+
* gets all the delegated farms addresses
|
|
545
|
+
* @returns a list of delegated farms addresses
|
|
546
|
+
*/
|
|
547
|
+
getAllDelegatedFarms(): Promise<Address[]>;
|
|
548
|
+
/**
|
|
549
|
+
* This will return a map of the vault address and the delegated farm address for that vault
|
|
550
|
+
* @returns a map of the vault address and the delegated farm address for that vault
|
|
551
|
+
*/
|
|
552
|
+
getVaultsWithDelegatedFarm(): Promise<Map<Address, Address>>;
|
|
553
|
+
getUserPendingRewardsInVaultReservesFarms(user: Address, vault: KaminoVault, vaultReservesMap?: Map<Address, KaminoReserve>): Promise<Map<Address, Decimal>>;
|
|
554
|
+
getAllPendingRewardsForUserInVault(user: Address, vault: KaminoVault, vaultReservesMap?: Map<Address, KaminoReserve>): Promise<PendingRewardsForUserInVault>;
|
|
555
|
+
/**
|
|
556
|
+
* This function will return the instructions to claim the rewards for the farm of a vault, the delegated farm of the vault and the reserves farms of the vault
|
|
557
|
+
* @param user - the user to claim the rewards
|
|
558
|
+
* @param vault - the vault
|
|
559
|
+
* @param [vaultReservesMap] - the vault reserves map to get the reserves for; if not provided, the function will fetch the reserves
|
|
560
|
+
* @returns the instructions to claim the rewards for the farm of the vault, the delegated farm of the vault and the reserves farms of the vault
|
|
561
|
+
*/
|
|
562
|
+
getClaimAllRewardsForVaultIxs(user: TransactionSigner, vault: KaminoVault, vaultReservesMap?: Map<Address, KaminoReserve>): Promise<Instruction[]>;
|
|
563
|
+
/**
|
|
564
|
+
* This function will return the instructions to claim the rewards for the farm of a vault
|
|
565
|
+
* @param user - the user to claim the rewards
|
|
566
|
+
* @param vault - the vault
|
|
567
|
+
* @returns the instructions to claim the rewards for the farm of the vault
|
|
568
|
+
*/
|
|
569
|
+
getClaimVaultFarmRewardsIxs(user: TransactionSigner, vault: KaminoVault): Promise<Instruction[]>;
|
|
570
|
+
/**
|
|
571
|
+
* This function will return the instructions to claim the rewards for the delegated farm of a vault
|
|
572
|
+
* @param user - the user to claim the rewards
|
|
573
|
+
* @param vault - the vault
|
|
574
|
+
* @returns the instructions to claim the rewards for the delegated farm of the vault
|
|
575
|
+
*/
|
|
576
|
+
getClaimVaultDelegatedFarmRewardsIxs(user: TransactionSigner, vault: KaminoVault): Promise<Instruction[]>;
|
|
577
|
+
/**
|
|
578
|
+
* This function will return the instructions to claim the rewards for the reserves farms of a vault
|
|
579
|
+
* @param user - the user to claim the rewards
|
|
580
|
+
* @param vault - the vault
|
|
581
|
+
* @param [vaultReservesMap] - the vault reserves map to get the reserves for; if not provided, the function will fetch the reserves
|
|
582
|
+
* @returns the instructions to claim the rewards for the reserves farms of the vault
|
|
583
|
+
*/
|
|
584
|
+
getClaimVaultReservesFarmsRewardsIxs(user: TransactionSigner, vault: KaminoVault, vaultReservesMap?: Map<Address, KaminoReserve>): Promise<Instruction[]>;
|
|
585
|
+
private appendRemainingAccountsForVaultReserves;
|
|
586
|
+
}
|
|
587
|
+
export declare class KaminoVault {
|
|
588
|
+
readonly address: Address;
|
|
589
|
+
state: VaultState | undefined | null;
|
|
590
|
+
programId: Address;
|
|
591
|
+
client: KaminoVaultClient;
|
|
592
|
+
vaultReservesStateCache: Map<Address, KaminoReserve> | undefined;
|
|
593
|
+
constructor(rpc: Rpc<SolanaRpcApi>, vaultAddress: Address, state?: VaultState, programId?: Address, recentSlotDurationMs?: number);
|
|
594
|
+
static loadWithClientAndState(client: KaminoVaultClient, vaultAddress: Address, state: VaultState): KaminoVault;
|
|
595
|
+
getState(): Promise<VaultState>;
|
|
596
|
+
reloadVaultReserves(): Promise<void>;
|
|
597
|
+
reloadState(): Promise<VaultState>;
|
|
598
|
+
hasFarm(): Promise<boolean>;
|
|
599
|
+
/**
|
|
600
|
+
* This will return an VaultHoldings object which contains the amount available (uninvested) in vault, total amount invested in reseves and a breakdown of the amount invested in each reserve
|
|
601
|
+
* @returns an VaultHoldings object representing the amount available (uninvested) in vault, total amount invested in reseves and a breakdown of the amount invested in each reserve
|
|
602
|
+
*/
|
|
603
|
+
getVaultHoldings(): Promise<VaultHoldings>;
|
|
604
|
+
/**
|
|
605
|
+
* This will return the a map between reserve pubkey and the allocation overview for the reserve
|
|
606
|
+
* @returns a map between reserve pubkey and the allocation overview for the reserve
|
|
607
|
+
*/
|
|
608
|
+
getVaultAllocations(): Promise<Map<Address, ReserveAllocationOverview>>;
|
|
609
|
+
/**
|
|
610
|
+
* This will return the APY of the vault based on the current invested amounts and the theoretical APY if all the available tokens were invested
|
|
611
|
+
* @returns a struct containing actualAPY and theoreticalAPY for the vault
|
|
612
|
+
*/
|
|
613
|
+
getAPYs(slot?: Slot): Promise<VaultAPYs>;
|
|
614
|
+
/**
|
|
615
|
+
* This method returns the exchange rate of the vault (tokens per share)
|
|
616
|
+
* @returns - Decimal representing the exchange rate (tokens per share)
|
|
617
|
+
*/
|
|
618
|
+
getExchangeRate(slot?: Slot): Promise<Decimal>;
|
|
619
|
+
/**
|
|
620
|
+
* This method returns the user shares balance for a given vault
|
|
621
|
+
* @param user - user to calculate the shares balance for
|
|
622
|
+
* @param vault - vault to calculate shares balance for
|
|
623
|
+
* @returns - a struct of user share balance (staked in vault farm if the vault has a farm and unstaked) in decimal (not lamports)
|
|
624
|
+
*/
|
|
625
|
+
getUserShares(user: Address): Promise<UserSharesForVault>;
|
|
626
|
+
/**
|
|
627
|
+
* This function creates instructions to deposit into a vault. It will also create ATA creation instructions for the vault shares that the user receives in return
|
|
628
|
+
* @param user - user to deposit
|
|
629
|
+
* @param tokenAmount - token amount to be deposited, in decimals (will be converted in lamports)
|
|
630
|
+
* @param [vaultReservesMap] - optional parameter; a hashmap from each reserve pubkey to the reserve state. Optional. If provided the function will be significantly faster as it will not have to fetch the reserves
|
|
631
|
+
* @param [farmState] - the state of the vault farm, if the vault has a farm. Optional. If not provided, it will be fetched
|
|
632
|
+
* @returns - an instance of DepositIxs which contains the instructions to deposit in vault and the instructions to stake the shares in the farm if the vault has a farm
|
|
633
|
+
*/
|
|
634
|
+
depositIxs(user: TransactionSigner, tokenAmount: Decimal, vaultReservesMap?: Map<Address, KaminoReserve>, farmState?: FarmState): Promise<DepositIxs>;
|
|
635
|
+
/**
|
|
636
|
+
* This function will return the missing ATA creation instructions, as well as one or multiple withdraw instructions, based on how many reserves it's needed to withdraw from. This might have to be split in multiple transactions
|
|
637
|
+
* @param user - user to withdraw
|
|
638
|
+
* @param shareAmount - share amount to withdraw (in tokens, not lamports), in order to withdraw everything, any value > user share amount
|
|
639
|
+
* @param slot - current slot, used to estimate the interest earned in the different reserves with allocation from the vault
|
|
640
|
+
* @param [vaultReservesMap] - optional parameter; a hashmap from each reserve pubkey to the reserve state. If provided the function will be significantly faster as it will not have to fetch the reserves
|
|
641
|
+
* @param [farmState] - the state of the vault farm, if the vault has a farm. Optional. If not provided, it will be fetched
|
|
642
|
+
* @returns an array of instructions to create missing ATAs if needed and the withdraw instructions
|
|
643
|
+
*/
|
|
644
|
+
withdrawIxs(user: TransactionSigner, shareAmount: Decimal, slot?: Slot, vaultReservesMap?: Map<Address, KaminoReserve>, farmState?: FarmState): Promise<WithdrawIxs>;
|
|
645
|
+
}
|
|
646
|
+
/**
|
|
647
|
+
* Used to initialize a Kamino Vault
|
|
648
|
+
*/
|
|
649
|
+
export declare class KaminoVaultConfig {
|
|
650
|
+
/** The admin of the vault */
|
|
651
|
+
readonly admin: TransactionSigner;
|
|
652
|
+
/** The token mint for the vault */
|
|
653
|
+
readonly tokenMint: Address;
|
|
654
|
+
/** The token mint program id */
|
|
655
|
+
readonly tokenMintProgramId: Address;
|
|
656
|
+
/** The performance fee rate of the vault, as percents, expressed as a decimal */
|
|
657
|
+
readonly performanceFeeRatePercentage: Decimal;
|
|
658
|
+
/** The management fee rate of the vault, as percents, expressed as a decimal */
|
|
659
|
+
readonly managementFeeRatePercentage: Decimal;
|
|
660
|
+
/** The name to be stored on chain for the vault (max 40 characters). */
|
|
661
|
+
readonly name: string;
|
|
662
|
+
/** The symbol of the vault token to be stored (max 5 characters). E.g. USDC for a vault using USDC as token. */
|
|
663
|
+
readonly vaultTokenSymbol: string;
|
|
664
|
+
/** The name of the vault token to be stored (max 10 characters), after the prefix `Kamino Vault <vaultTokenSymbol>`. E.g. USDC Vault for a vault using USDC as token. */
|
|
665
|
+
readonly vaultTokenName: string;
|
|
666
|
+
constructor(args: {
|
|
667
|
+
admin: TransactionSigner;
|
|
668
|
+
tokenMint: Address;
|
|
669
|
+
tokenMintProgramId: Address;
|
|
670
|
+
performanceFeeRatePercentage: Decimal;
|
|
671
|
+
managementFeeRatePercentage: Decimal;
|
|
672
|
+
name: string;
|
|
673
|
+
vaultTokenSymbol: string;
|
|
674
|
+
vaultTokenName: string;
|
|
675
|
+
});
|
|
676
|
+
getPerformanceFeeBps(): number;
|
|
677
|
+
getManagementFeeBps(): number;
|
|
678
|
+
}
|
|
679
|
+
export declare class ReserveAllocationConfig {
|
|
680
|
+
readonly reserve: ReserveWithAddress;
|
|
681
|
+
readonly targetAllocationWeight: number;
|
|
682
|
+
readonly allocationCapDecimal: Decimal;
|
|
683
|
+
constructor(reserve: ReserveWithAddress, targetAllocationWeight: number, allocationCapDecimal: Decimal);
|
|
684
|
+
getAllocationCapLamports(): Decimal;
|
|
685
|
+
getReserveState(): Reserve;
|
|
686
|
+
getReserveAddress(): Address;
|
|
687
|
+
}
|
|
688
|
+
export declare function getCTokenVaultPda(vaultAddress: Address, reserveAddress: Address, kaminoVaultProgramId: Address): Promise<Address>;
|
|
689
|
+
export declare function getEventAuthorityPda(kaminoVaultProgramId: Address): Promise<Address>;
|
|
690
|
+
export declare function getKvaultGlobalConfigPda(kaminoVaultProgramId: Address): Promise<Address>;
|
|
691
|
+
export declare function getReserveWhitelistEntryPda(reserveAddress: Address, kaminoVaultProgramId: Address): Promise<Address>;
|
|
692
|
+
export type VaultHolder = {
|
|
693
|
+
holderPubkey: Address;
|
|
694
|
+
amount: Decimal;
|
|
695
|
+
};
|
|
696
|
+
export type APY = {
|
|
697
|
+
grossAPY: Decimal;
|
|
698
|
+
netAPY: Decimal;
|
|
699
|
+
};
|
|
700
|
+
export type VaultAPYs = {
|
|
701
|
+
theoreticalAPY: APY;
|
|
702
|
+
actualAPY: APY;
|
|
703
|
+
};
|
|
704
|
+
export declare class VaultHoldings {
|
|
705
|
+
available: Decimal;
|
|
706
|
+
invested: Decimal;
|
|
707
|
+
investedInReserves: Map<Address, Decimal>;
|
|
708
|
+
pendingFees: Decimal;
|
|
709
|
+
totalAUMIncludingFees: Decimal;
|
|
710
|
+
constructor(params: {
|
|
711
|
+
available: Decimal;
|
|
712
|
+
invested: Decimal;
|
|
713
|
+
investedInReserves: Map<Address, Decimal>;
|
|
714
|
+
pendingFees: Decimal;
|
|
715
|
+
totalAUMIncludingFees: Decimal;
|
|
716
|
+
});
|
|
717
|
+
asJSON(): {
|
|
718
|
+
available: string;
|
|
719
|
+
invested: string;
|
|
720
|
+
totalAUMIncludingFees: string;
|
|
721
|
+
pendingFees: string;
|
|
722
|
+
investedInReserves: {
|
|
723
|
+
[key: string]: string;
|
|
724
|
+
};
|
|
725
|
+
};
|
|
726
|
+
print(): void;
|
|
727
|
+
}
|
|
728
|
+
/**
|
|
729
|
+
* earnedInterest represents the interest earned from now until the slot provided in the future
|
|
730
|
+
*/
|
|
731
|
+
export type SimulatedVaultHoldingsWithEarnedInterest = {
|
|
732
|
+
holdings: VaultHoldings;
|
|
733
|
+
earnedInterest: Decimal;
|
|
734
|
+
};
|
|
735
|
+
export type VaultHoldingsWithUSDValue = {
|
|
736
|
+
holdings: VaultHoldings;
|
|
737
|
+
availableUSD: Decimal;
|
|
738
|
+
investedUSD: Decimal;
|
|
739
|
+
investedInReservesUSD: Map<Address, Decimal>;
|
|
740
|
+
totalUSDIncludingFees: Decimal;
|
|
741
|
+
pendingFeesUSD: Decimal;
|
|
742
|
+
};
|
|
743
|
+
export type ReserveOverview = {
|
|
744
|
+
supplyAPY: Decimal;
|
|
745
|
+
utilizationRatio: Decimal;
|
|
746
|
+
liquidationThresholdPct: Decimal;
|
|
747
|
+
totalBorrowedAmount: Decimal;
|
|
748
|
+
amountBorrowedFromSupplied: Decimal;
|
|
749
|
+
suppliedAmount: Decimal;
|
|
750
|
+
market: Address;
|
|
751
|
+
};
|
|
752
|
+
export type VaultReserveTotalBorrowedAndInvested = {
|
|
753
|
+
totalInvested: Decimal;
|
|
754
|
+
totalBorrowed: Decimal;
|
|
755
|
+
utilizationRatio: Decimal;
|
|
756
|
+
};
|
|
757
|
+
export type MarketOverview = {
|
|
758
|
+
address: Address;
|
|
759
|
+
reservesAsCollateral: ReserveAsCollateral[];
|
|
760
|
+
minLTVPct: Decimal;
|
|
761
|
+
maxLTVPct: Decimal;
|
|
762
|
+
};
|
|
763
|
+
export type ReserveAsCollateral = {
|
|
764
|
+
mint: Address;
|
|
765
|
+
liquidationLTVPct: Decimal;
|
|
766
|
+
address: Address;
|
|
767
|
+
};
|
|
768
|
+
export type VaultOverview = {
|
|
769
|
+
holdingsUSD: VaultHoldingsWithUSDValue;
|
|
770
|
+
reservesOverview: Map<Address, ReserveOverview>;
|
|
771
|
+
vaultCollaterals: Map<Address, MarketOverview>;
|
|
772
|
+
theoreticalSupplyAPY: APYs;
|
|
773
|
+
actualSupplyAPY: APYs;
|
|
774
|
+
vaultFarmIncentives: FarmIncentives;
|
|
775
|
+
reservesFarmsIncentives: VaultReservesFarmsIncentives;
|
|
776
|
+
delegatedFarmIncentives: FarmIncentives;
|
|
777
|
+
totalBorrowed: Decimal;
|
|
778
|
+
totalBorrowedUSD: Decimal;
|
|
779
|
+
totalSupplied: Decimal;
|
|
780
|
+
totalSuppliedUSD: Decimal;
|
|
781
|
+
utilizationRatio: Decimal;
|
|
782
|
+
};
|
|
783
|
+
export type VaultReservesFarmsIncentives = {
|
|
784
|
+
reserveFarmsIncentives: Map<Address, FarmIncentives>;
|
|
785
|
+
totalIncentivesAPY: Decimal;
|
|
786
|
+
};
|
|
787
|
+
export type VaultFeesPct = {
|
|
788
|
+
managementFeePct: Decimal;
|
|
789
|
+
performanceFeePct: Decimal;
|
|
790
|
+
};
|
|
791
|
+
export type VaultFees = {
|
|
792
|
+
managementFee: Decimal;
|
|
793
|
+
performanceFee: Decimal;
|
|
794
|
+
};
|
|
795
|
+
export type VaultCumulativeInterestWithTimestamp = {
|
|
796
|
+
cumulativeInterest: Decimal;
|
|
797
|
+
timestamp: number;
|
|
798
|
+
};
|
|
799
|
+
export type PendingRewardsForUserInVault = {
|
|
800
|
+
pendingRewardsInVaultFarm: Map<Address, Decimal>;
|
|
801
|
+
pendingRewardsInVaultDelegatedFarm: Map<Address, Decimal>;
|
|
802
|
+
pendingRewardsInVaultReservesFarms: Map<Address, Decimal>;
|
|
803
|
+
totalPendingRewards: Map<Address, Decimal>;
|
|
804
|
+
};
|
|
805
|
+
//# sourceMappingURL=vault.d.ts.map
|