@compass-labs/api-sdk 0.5.45 → 0.5.46
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/bin/mcp-server.js +309 -89
- package/bin/mcp-server.js.map +72 -72
- package/dist/commonjs/funcs/aaveV3Borrow.d.ts +7 -0
- package/dist/commonjs/funcs/aaveV3Borrow.d.ts.map +1 -1
- package/dist/commonjs/funcs/aaveV3Borrow.js +7 -0
- package/dist/commonjs/funcs/aaveV3Borrow.js.map +1 -1
- package/dist/commonjs/funcs/aaveV3Repay.d.ts +7 -0
- package/dist/commonjs/funcs/aaveV3Repay.d.ts.map +1 -1
- package/dist/commonjs/funcs/aaveV3Repay.js +7 -0
- package/dist/commonjs/funcs/aaveV3Repay.js.map +1 -1
- package/dist/commonjs/funcs/aaveV3Supply.d.ts +7 -0
- package/dist/commonjs/funcs/aaveV3Supply.d.ts.map +1 -1
- package/dist/commonjs/funcs/aaveV3Supply.js +7 -0
- package/dist/commonjs/funcs/aaveV3Supply.js.map +1 -1
- package/dist/commonjs/funcs/aaveV3Withdraw.d.ts +7 -0
- package/dist/commonjs/funcs/aaveV3Withdraw.d.ts.map +1 -1
- package/dist/commonjs/funcs/aaveV3Withdraw.js +7 -0
- package/dist/commonjs/funcs/aaveV3Withdraw.js.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.d.ts +7 -0
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.d.ts.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.js +7 -0
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.js.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.d.ts +7 -0
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.d.ts.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.js +7 -0
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.js.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.d.ts +7 -0
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.d.ts.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.js +7 -0
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.js.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamSwapBuyExactly.d.ts +7 -0
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamSwapBuyExactly.d.ts.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamSwapBuyExactly.js +7 -0
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamSwapBuyExactly.js.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamSwapSellExactly.d.ts +7 -0
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamSwapSellExactly.d.ts.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamSwapSellExactly.js +7 -0
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamSwapSellExactly.js.map +1 -1
- package/dist/commonjs/funcs/erc4626VaultsDeposit.d.ts +7 -0
- package/dist/commonjs/funcs/erc4626VaultsDeposit.d.ts.map +1 -1
- package/dist/commonjs/funcs/erc4626VaultsDeposit.js +7 -0
- package/dist/commonjs/funcs/erc4626VaultsDeposit.js.map +1 -1
- package/dist/commonjs/funcs/erc4626VaultsWithdraw.d.ts +7 -0
- package/dist/commonjs/funcs/erc4626VaultsWithdraw.d.ts.map +1 -1
- package/dist/commonjs/funcs/erc4626VaultsWithdraw.js +7 -0
- package/dist/commonjs/funcs/erc4626VaultsWithdraw.js.map +1 -1
- package/dist/commonjs/funcs/morphoBorrow.d.ts +7 -0
- package/dist/commonjs/funcs/morphoBorrow.d.ts.map +1 -1
- package/dist/commonjs/funcs/morphoBorrow.js +7 -0
- package/dist/commonjs/funcs/morphoBorrow.js.map +1 -1
- package/dist/commonjs/funcs/morphoDeposit.d.ts +7 -0
- package/dist/commonjs/funcs/morphoDeposit.d.ts.map +1 -1
- package/dist/commonjs/funcs/morphoDeposit.js +7 -0
- package/dist/commonjs/funcs/morphoDeposit.js.map +1 -1
- package/dist/commonjs/funcs/morphoRepay.d.ts +7 -0
- package/dist/commonjs/funcs/morphoRepay.d.ts.map +1 -1
- package/dist/commonjs/funcs/morphoRepay.js +7 -0
- package/dist/commonjs/funcs/morphoRepay.js.map +1 -1
- package/dist/commonjs/funcs/morphoSupplyCollateral.d.ts +7 -0
- package/dist/commonjs/funcs/morphoSupplyCollateral.d.ts.map +1 -1
- package/dist/commonjs/funcs/morphoSupplyCollateral.js +7 -0
- package/dist/commonjs/funcs/morphoSupplyCollateral.js.map +1 -1
- package/dist/commonjs/funcs/morphoWithdraw.d.ts +7 -0
- package/dist/commonjs/funcs/morphoWithdraw.d.ts.map +1 -1
- package/dist/commonjs/funcs/morphoWithdraw.js +7 -0
- package/dist/commonjs/funcs/morphoWithdraw.js.map +1 -1
- package/dist/commonjs/funcs/morphoWithdrawCollateral.d.ts +7 -0
- package/dist/commonjs/funcs/morphoWithdrawCollateral.d.ts.map +1 -1
- package/dist/commonjs/funcs/morphoWithdrawCollateral.js +7 -0
- package/dist/commonjs/funcs/morphoWithdrawCollateral.js.map +1 -1
- package/dist/commonjs/funcs/pendleAddLiquidity.d.ts +7 -0
- package/dist/commonjs/funcs/pendleAddLiquidity.d.ts.map +1 -1
- package/dist/commonjs/funcs/pendleAddLiquidity.js +7 -0
- package/dist/commonjs/funcs/pendleAddLiquidity.js.map +1 -1
- package/dist/commonjs/funcs/pendleBuyPt.d.ts +7 -0
- package/dist/commonjs/funcs/pendleBuyPt.d.ts.map +1 -1
- package/dist/commonjs/funcs/pendleBuyPt.js +7 -0
- package/dist/commonjs/funcs/pendleBuyPt.js.map +1 -1
- package/dist/commonjs/funcs/pendleBuyYt.d.ts +7 -0
- package/dist/commonjs/funcs/pendleBuyYt.d.ts.map +1 -1
- package/dist/commonjs/funcs/pendleBuyYt.js +7 -0
- package/dist/commonjs/funcs/pendleBuyYt.js.map +1 -1
- package/dist/commonjs/funcs/pendleRedeemYield.d.ts +7 -0
- package/dist/commonjs/funcs/pendleRedeemYield.d.ts.map +1 -1
- package/dist/commonjs/funcs/pendleRedeemYield.js +7 -0
- package/dist/commonjs/funcs/pendleRedeemYield.js.map +1 -1
- package/dist/commonjs/funcs/pendleRemoveLiquidity.d.ts +7 -0
- package/dist/commonjs/funcs/pendleRemoveLiquidity.d.ts.map +1 -1
- package/dist/commonjs/funcs/pendleRemoveLiquidity.js +7 -0
- package/dist/commonjs/funcs/pendleRemoveLiquidity.js.map +1 -1
- package/dist/commonjs/funcs/pendleSellPt.d.ts +7 -0
- package/dist/commonjs/funcs/pendleSellPt.d.ts.map +1 -1
- package/dist/commonjs/funcs/pendleSellPt.js +7 -0
- package/dist/commonjs/funcs/pendleSellPt.js.map +1 -1
- package/dist/commonjs/funcs/pendleSellYt.d.ts +7 -0
- package/dist/commonjs/funcs/pendleSellYt.d.ts.map +1 -1
- package/dist/commonjs/funcs/pendleSellYt.js +7 -0
- package/dist/commonjs/funcs/pendleSellYt.js.map +1 -1
- package/dist/commonjs/funcs/skyBuy.d.ts +7 -0
- package/dist/commonjs/funcs/skyBuy.d.ts.map +1 -1
- package/dist/commonjs/funcs/skyBuy.js +7 -0
- package/dist/commonjs/funcs/skyBuy.js.map +1 -1
- package/dist/commonjs/funcs/skyDeposit.d.ts +7 -0
- package/dist/commonjs/funcs/skyDeposit.d.ts.map +1 -1
- package/dist/commonjs/funcs/skyDeposit.js +7 -0
- package/dist/commonjs/funcs/skyDeposit.js.map +1 -1
- package/dist/commonjs/funcs/skySell.d.ts +7 -0
- package/dist/commonjs/funcs/skySell.d.ts.map +1 -1
- package/dist/commonjs/funcs/skySell.js +7 -0
- package/dist/commonjs/funcs/skySell.js.map +1 -1
- package/dist/commonjs/funcs/skyWithdraw.d.ts +8 -0
- package/dist/commonjs/funcs/skyWithdraw.d.ts.map +1 -1
- package/dist/commonjs/funcs/skyWithdraw.js +8 -0
- package/dist/commonjs/funcs/skyWithdraw.js.map +1 -1
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionIncrease.d.ts +7 -0
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionIncrease.d.ts.map +1 -1
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionIncrease.js +7 -0
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionIncrease.js.map +1 -1
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionMint.d.ts +7 -0
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionMint.d.ts.map +1 -1
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionMint.js +7 -0
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionMint.js.map +1 -1
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionWithdraw.d.ts +7 -0
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionWithdraw.d.ts.map +1 -1
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionWithdraw.js +7 -0
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionWithdraw.js.map +1 -1
- package/dist/commonjs/funcs/uniswapV3SwapBuyExactly.d.ts +7 -0
- package/dist/commonjs/funcs/uniswapV3SwapBuyExactly.d.ts.map +1 -1
- package/dist/commonjs/funcs/uniswapV3SwapBuyExactly.js +7 -0
- package/dist/commonjs/funcs/uniswapV3SwapBuyExactly.js.map +1 -1
- package/dist/commonjs/funcs/uniswapV3SwapSellExactly.d.ts +7 -0
- package/dist/commonjs/funcs/uniswapV3SwapSellExactly.d.ts.map +1 -1
- package/dist/commonjs/funcs/uniswapV3SwapSellExactly.js +7 -0
- package/dist/commonjs/funcs/uniswapV3SwapSellExactly.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/mcp-server/tools/aaveV3Borrow.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/aaveV3Borrow.js +9 -1
- package/dist/commonjs/mcp-server/tools/aaveV3Borrow.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/aaveV3Repay.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/aaveV3Repay.js +9 -1
- package/dist/commonjs/mcp-server/tools/aaveV3Repay.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/aaveV3Supply.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/aaveV3Supply.js +9 -1
- package/dist/commonjs/mcp-server/tools/aaveV3Supply.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/aaveV3Withdraw.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/aaveV3Withdraw.js +9 -1
- package/dist/commonjs/mcp-server/tools/aaveV3Withdraw.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.js +9 -1
- package/dist/commonjs/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.js +9 -1
- package/dist/commonjs/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.js +9 -1
- package/dist/commonjs/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/aerodromeSlipstreamSlipstreamSwapBuyExactly.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/aerodromeSlipstreamSlipstreamSwapBuyExactly.js +9 -1
- package/dist/commonjs/mcp-server/tools/aerodromeSlipstreamSlipstreamSwapBuyExactly.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/aerodromeSlipstreamSlipstreamSwapSellExactly.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/aerodromeSlipstreamSlipstreamSwapSellExactly.js +9 -1
- package/dist/commonjs/mcp-server/tools/aerodromeSlipstreamSlipstreamSwapSellExactly.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/erc4626VaultsDeposit.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/erc4626VaultsDeposit.js +9 -1
- package/dist/commonjs/mcp-server/tools/erc4626VaultsDeposit.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/erc4626VaultsWithdraw.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/erc4626VaultsWithdraw.js +9 -1
- package/dist/commonjs/mcp-server/tools/erc4626VaultsWithdraw.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/morphoBorrow.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/morphoBorrow.js +9 -1
- package/dist/commonjs/mcp-server/tools/morphoBorrow.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/morphoDeposit.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/morphoDeposit.js +9 -1
- package/dist/commonjs/mcp-server/tools/morphoDeposit.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/morphoRepay.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/morphoRepay.js +9 -1
- package/dist/commonjs/mcp-server/tools/morphoRepay.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/morphoSupplyCollateral.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/morphoSupplyCollateral.js +9 -1
- package/dist/commonjs/mcp-server/tools/morphoSupplyCollateral.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/morphoWithdraw.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/morphoWithdraw.js +9 -1
- package/dist/commonjs/mcp-server/tools/morphoWithdraw.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/morphoWithdrawCollateral.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/morphoWithdrawCollateral.js +9 -1
- package/dist/commonjs/mcp-server/tools/morphoWithdrawCollateral.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/pendleAddLiquidity.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/pendleAddLiquidity.js +9 -1
- package/dist/commonjs/mcp-server/tools/pendleAddLiquidity.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/pendleBuyPt.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/pendleBuyPt.js +9 -1
- package/dist/commonjs/mcp-server/tools/pendleBuyPt.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/pendleBuyYt.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/pendleBuyYt.js +9 -1
- package/dist/commonjs/mcp-server/tools/pendleBuyYt.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/pendleRedeemYield.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/pendleRedeemYield.js +9 -1
- package/dist/commonjs/mcp-server/tools/pendleRedeemYield.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/pendleRemoveLiquidity.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/pendleRemoveLiquidity.js +9 -1
- package/dist/commonjs/mcp-server/tools/pendleRemoveLiquidity.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/pendleSellPt.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/pendleSellPt.js +9 -1
- package/dist/commonjs/mcp-server/tools/pendleSellPt.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/pendleSellYt.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/pendleSellYt.js +9 -1
- package/dist/commonjs/mcp-server/tools/pendleSellYt.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/skyBuy.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/skyBuy.js +9 -1
- package/dist/commonjs/mcp-server/tools/skyBuy.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/skyDeposit.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/skyDeposit.js +9 -1
- package/dist/commonjs/mcp-server/tools/skyDeposit.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/skySell.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/skySell.js +9 -1
- package/dist/commonjs/mcp-server/tools/skySell.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/skyWithdraw.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/skyWithdraw.js +10 -1
- package/dist/commonjs/mcp-server/tools/skyWithdraw.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3LiquidityProvisionIncrease.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3LiquidityProvisionIncrease.js +9 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3LiquidityProvisionIncrease.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3LiquidityProvisionMint.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3LiquidityProvisionMint.js +9 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3LiquidityProvisionMint.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3LiquidityProvisionWithdraw.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3LiquidityProvisionWithdraw.js +9 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3LiquidityProvisionWithdraw.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3SwapBuyExactly.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3SwapBuyExactly.js +9 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3SwapBuyExactly.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3SwapSellExactly.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3SwapSellExactly.js +9 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3SwapSellExactly.js.map +1 -1
- package/dist/commonjs/models/operations/tokenprice.d.ts +16 -158
- package/dist/commonjs/models/operations/tokenprice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/tokenprice.js +14 -59
- package/dist/commonjs/models/operations/tokenprice.js.map +1 -1
- package/dist/commonjs/sdk/aavev3.d.ts +28 -0
- package/dist/commonjs/sdk/aavev3.d.ts.map +1 -1
- package/dist/commonjs/sdk/aavev3.js +28 -0
- package/dist/commonjs/sdk/aavev3.js.map +1 -1
- package/dist/commonjs/sdk/aerodromeslipstream.d.ts +35 -0
- package/dist/commonjs/sdk/aerodromeslipstream.d.ts.map +1 -1
- package/dist/commonjs/sdk/aerodromeslipstream.js +35 -0
- package/dist/commonjs/sdk/aerodromeslipstream.js.map +1 -1
- package/dist/commonjs/sdk/erc4626vaults.d.ts +14 -0
- package/dist/commonjs/sdk/erc4626vaults.d.ts.map +1 -1
- package/dist/commonjs/sdk/erc4626vaults.js +14 -0
- package/dist/commonjs/sdk/erc4626vaults.js.map +1 -1
- package/dist/commonjs/sdk/morpho.d.ts +42 -0
- package/dist/commonjs/sdk/morpho.d.ts.map +1 -1
- package/dist/commonjs/sdk/morpho.js +42 -0
- package/dist/commonjs/sdk/morpho.js.map +1 -1
- package/dist/commonjs/sdk/pendle.d.ts +49 -0
- package/dist/commonjs/sdk/pendle.d.ts.map +1 -1
- package/dist/commonjs/sdk/pendle.js +49 -0
- package/dist/commonjs/sdk/pendle.js.map +1 -1
- package/dist/commonjs/sdk/sky.d.ts +29 -0
- package/dist/commonjs/sdk/sky.d.ts.map +1 -1
- package/dist/commonjs/sdk/sky.js +29 -0
- package/dist/commonjs/sdk/sky.js.map +1 -1
- package/dist/commonjs/sdk/uniswapv3.d.ts +35 -0
- package/dist/commonjs/sdk/uniswapv3.d.ts.map +1 -1
- package/dist/commonjs/sdk/uniswapv3.js +35 -0
- package/dist/commonjs/sdk/uniswapv3.js.map +1 -1
- package/dist/esm/funcs/aaveV3Borrow.d.ts +7 -0
- package/dist/esm/funcs/aaveV3Borrow.d.ts.map +1 -1
- package/dist/esm/funcs/aaveV3Borrow.js +7 -0
- package/dist/esm/funcs/aaveV3Borrow.js.map +1 -1
- package/dist/esm/funcs/aaveV3Repay.d.ts +7 -0
- package/dist/esm/funcs/aaveV3Repay.d.ts.map +1 -1
- package/dist/esm/funcs/aaveV3Repay.js +7 -0
- package/dist/esm/funcs/aaveV3Repay.js.map +1 -1
- package/dist/esm/funcs/aaveV3Supply.d.ts +7 -0
- package/dist/esm/funcs/aaveV3Supply.d.ts.map +1 -1
- package/dist/esm/funcs/aaveV3Supply.js +7 -0
- package/dist/esm/funcs/aaveV3Supply.js.map +1 -1
- package/dist/esm/funcs/aaveV3Withdraw.d.ts +7 -0
- package/dist/esm/funcs/aaveV3Withdraw.d.ts.map +1 -1
- package/dist/esm/funcs/aaveV3Withdraw.js +7 -0
- package/dist/esm/funcs/aaveV3Withdraw.js.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.d.ts +7 -0
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.d.ts.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.js +7 -0
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.js.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.d.ts +7 -0
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.d.ts.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.js +7 -0
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.js.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.d.ts +7 -0
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.d.ts.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.js +7 -0
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.js.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamSwapBuyExactly.d.ts +7 -0
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamSwapBuyExactly.d.ts.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamSwapBuyExactly.js +7 -0
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamSwapBuyExactly.js.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamSwapSellExactly.d.ts +7 -0
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamSwapSellExactly.d.ts.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamSwapSellExactly.js +7 -0
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamSwapSellExactly.js.map +1 -1
- package/dist/esm/funcs/erc4626VaultsDeposit.d.ts +7 -0
- package/dist/esm/funcs/erc4626VaultsDeposit.d.ts.map +1 -1
- package/dist/esm/funcs/erc4626VaultsDeposit.js +7 -0
- package/dist/esm/funcs/erc4626VaultsDeposit.js.map +1 -1
- package/dist/esm/funcs/erc4626VaultsWithdraw.d.ts +7 -0
- package/dist/esm/funcs/erc4626VaultsWithdraw.d.ts.map +1 -1
- package/dist/esm/funcs/erc4626VaultsWithdraw.js +7 -0
- package/dist/esm/funcs/erc4626VaultsWithdraw.js.map +1 -1
- package/dist/esm/funcs/morphoBorrow.d.ts +7 -0
- package/dist/esm/funcs/morphoBorrow.d.ts.map +1 -1
- package/dist/esm/funcs/morphoBorrow.js +7 -0
- package/dist/esm/funcs/morphoBorrow.js.map +1 -1
- package/dist/esm/funcs/morphoDeposit.d.ts +7 -0
- package/dist/esm/funcs/morphoDeposit.d.ts.map +1 -1
- package/dist/esm/funcs/morphoDeposit.js +7 -0
- package/dist/esm/funcs/morphoDeposit.js.map +1 -1
- package/dist/esm/funcs/morphoRepay.d.ts +7 -0
- package/dist/esm/funcs/morphoRepay.d.ts.map +1 -1
- package/dist/esm/funcs/morphoRepay.js +7 -0
- package/dist/esm/funcs/morphoRepay.js.map +1 -1
- package/dist/esm/funcs/morphoSupplyCollateral.d.ts +7 -0
- package/dist/esm/funcs/morphoSupplyCollateral.d.ts.map +1 -1
- package/dist/esm/funcs/morphoSupplyCollateral.js +7 -0
- package/dist/esm/funcs/morphoSupplyCollateral.js.map +1 -1
- package/dist/esm/funcs/morphoWithdraw.d.ts +7 -0
- package/dist/esm/funcs/morphoWithdraw.d.ts.map +1 -1
- package/dist/esm/funcs/morphoWithdraw.js +7 -0
- package/dist/esm/funcs/morphoWithdraw.js.map +1 -1
- package/dist/esm/funcs/morphoWithdrawCollateral.d.ts +7 -0
- package/dist/esm/funcs/morphoWithdrawCollateral.d.ts.map +1 -1
- package/dist/esm/funcs/morphoWithdrawCollateral.js +7 -0
- package/dist/esm/funcs/morphoWithdrawCollateral.js.map +1 -1
- package/dist/esm/funcs/pendleAddLiquidity.d.ts +7 -0
- package/dist/esm/funcs/pendleAddLiquidity.d.ts.map +1 -1
- package/dist/esm/funcs/pendleAddLiquidity.js +7 -0
- package/dist/esm/funcs/pendleAddLiquidity.js.map +1 -1
- package/dist/esm/funcs/pendleBuyPt.d.ts +7 -0
- package/dist/esm/funcs/pendleBuyPt.d.ts.map +1 -1
- package/dist/esm/funcs/pendleBuyPt.js +7 -0
- package/dist/esm/funcs/pendleBuyPt.js.map +1 -1
- package/dist/esm/funcs/pendleBuyYt.d.ts +7 -0
- package/dist/esm/funcs/pendleBuyYt.d.ts.map +1 -1
- package/dist/esm/funcs/pendleBuyYt.js +7 -0
- package/dist/esm/funcs/pendleBuyYt.js.map +1 -1
- package/dist/esm/funcs/pendleRedeemYield.d.ts +7 -0
- package/dist/esm/funcs/pendleRedeemYield.d.ts.map +1 -1
- package/dist/esm/funcs/pendleRedeemYield.js +7 -0
- package/dist/esm/funcs/pendleRedeemYield.js.map +1 -1
- package/dist/esm/funcs/pendleRemoveLiquidity.d.ts +7 -0
- package/dist/esm/funcs/pendleRemoveLiquidity.d.ts.map +1 -1
- package/dist/esm/funcs/pendleRemoveLiquidity.js +7 -0
- package/dist/esm/funcs/pendleRemoveLiquidity.js.map +1 -1
- package/dist/esm/funcs/pendleSellPt.d.ts +7 -0
- package/dist/esm/funcs/pendleSellPt.d.ts.map +1 -1
- package/dist/esm/funcs/pendleSellPt.js +7 -0
- package/dist/esm/funcs/pendleSellPt.js.map +1 -1
- package/dist/esm/funcs/pendleSellYt.d.ts +7 -0
- package/dist/esm/funcs/pendleSellYt.d.ts.map +1 -1
- package/dist/esm/funcs/pendleSellYt.js +7 -0
- package/dist/esm/funcs/pendleSellYt.js.map +1 -1
- package/dist/esm/funcs/skyBuy.d.ts +7 -0
- package/dist/esm/funcs/skyBuy.d.ts.map +1 -1
- package/dist/esm/funcs/skyBuy.js +7 -0
- package/dist/esm/funcs/skyBuy.js.map +1 -1
- package/dist/esm/funcs/skyDeposit.d.ts +7 -0
- package/dist/esm/funcs/skyDeposit.d.ts.map +1 -1
- package/dist/esm/funcs/skyDeposit.js +7 -0
- package/dist/esm/funcs/skyDeposit.js.map +1 -1
- package/dist/esm/funcs/skySell.d.ts +7 -0
- package/dist/esm/funcs/skySell.d.ts.map +1 -1
- package/dist/esm/funcs/skySell.js +7 -0
- package/dist/esm/funcs/skySell.js.map +1 -1
- package/dist/esm/funcs/skyWithdraw.d.ts +8 -0
- package/dist/esm/funcs/skyWithdraw.d.ts.map +1 -1
- package/dist/esm/funcs/skyWithdraw.js +8 -0
- package/dist/esm/funcs/skyWithdraw.js.map +1 -1
- package/dist/esm/funcs/uniswapV3LiquidityProvisionIncrease.d.ts +7 -0
- package/dist/esm/funcs/uniswapV3LiquidityProvisionIncrease.d.ts.map +1 -1
- package/dist/esm/funcs/uniswapV3LiquidityProvisionIncrease.js +7 -0
- package/dist/esm/funcs/uniswapV3LiquidityProvisionIncrease.js.map +1 -1
- package/dist/esm/funcs/uniswapV3LiquidityProvisionMint.d.ts +7 -0
- package/dist/esm/funcs/uniswapV3LiquidityProvisionMint.d.ts.map +1 -1
- package/dist/esm/funcs/uniswapV3LiquidityProvisionMint.js +7 -0
- package/dist/esm/funcs/uniswapV3LiquidityProvisionMint.js.map +1 -1
- package/dist/esm/funcs/uniswapV3LiquidityProvisionWithdraw.d.ts +7 -0
- package/dist/esm/funcs/uniswapV3LiquidityProvisionWithdraw.d.ts.map +1 -1
- package/dist/esm/funcs/uniswapV3LiquidityProvisionWithdraw.js +7 -0
- package/dist/esm/funcs/uniswapV3LiquidityProvisionWithdraw.js.map +1 -1
- package/dist/esm/funcs/uniswapV3SwapBuyExactly.d.ts +7 -0
- package/dist/esm/funcs/uniswapV3SwapBuyExactly.d.ts.map +1 -1
- package/dist/esm/funcs/uniswapV3SwapBuyExactly.js +7 -0
- package/dist/esm/funcs/uniswapV3SwapBuyExactly.js.map +1 -1
- package/dist/esm/funcs/uniswapV3SwapSellExactly.d.ts +7 -0
- package/dist/esm/funcs/uniswapV3SwapSellExactly.d.ts.map +1 -1
- package/dist/esm/funcs/uniswapV3SwapSellExactly.js +7 -0
- package/dist/esm/funcs/uniswapV3SwapSellExactly.js.map +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/mcp-server/tools/aaveV3Borrow.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/aaveV3Borrow.js +9 -1
- package/dist/esm/mcp-server/tools/aaveV3Borrow.js.map +1 -1
- package/dist/esm/mcp-server/tools/aaveV3Repay.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/aaveV3Repay.js +9 -1
- package/dist/esm/mcp-server/tools/aaveV3Repay.js.map +1 -1
- package/dist/esm/mcp-server/tools/aaveV3Supply.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/aaveV3Supply.js +9 -1
- package/dist/esm/mcp-server/tools/aaveV3Supply.js.map +1 -1
- package/dist/esm/mcp-server/tools/aaveV3Withdraw.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/aaveV3Withdraw.js +9 -1
- package/dist/esm/mcp-server/tools/aaveV3Withdraw.js.map +1 -1
- package/dist/esm/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.js +9 -1
- package/dist/esm/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.js.map +1 -1
- package/dist/esm/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.js +9 -1
- package/dist/esm/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.js.map +1 -1
- package/dist/esm/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.js +9 -1
- package/dist/esm/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.js.map +1 -1
- package/dist/esm/mcp-server/tools/aerodromeSlipstreamSlipstreamSwapBuyExactly.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/aerodromeSlipstreamSlipstreamSwapBuyExactly.js +9 -1
- package/dist/esm/mcp-server/tools/aerodromeSlipstreamSlipstreamSwapBuyExactly.js.map +1 -1
- package/dist/esm/mcp-server/tools/aerodromeSlipstreamSlipstreamSwapSellExactly.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/aerodromeSlipstreamSlipstreamSwapSellExactly.js +9 -1
- package/dist/esm/mcp-server/tools/aerodromeSlipstreamSlipstreamSwapSellExactly.js.map +1 -1
- package/dist/esm/mcp-server/tools/erc4626VaultsDeposit.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/erc4626VaultsDeposit.js +9 -1
- package/dist/esm/mcp-server/tools/erc4626VaultsDeposit.js.map +1 -1
- package/dist/esm/mcp-server/tools/erc4626VaultsWithdraw.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/erc4626VaultsWithdraw.js +9 -1
- package/dist/esm/mcp-server/tools/erc4626VaultsWithdraw.js.map +1 -1
- package/dist/esm/mcp-server/tools/morphoBorrow.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/morphoBorrow.js +9 -1
- package/dist/esm/mcp-server/tools/morphoBorrow.js.map +1 -1
- package/dist/esm/mcp-server/tools/morphoDeposit.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/morphoDeposit.js +9 -1
- package/dist/esm/mcp-server/tools/morphoDeposit.js.map +1 -1
- package/dist/esm/mcp-server/tools/morphoRepay.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/morphoRepay.js +9 -1
- package/dist/esm/mcp-server/tools/morphoRepay.js.map +1 -1
- package/dist/esm/mcp-server/tools/morphoSupplyCollateral.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/morphoSupplyCollateral.js +9 -1
- package/dist/esm/mcp-server/tools/morphoSupplyCollateral.js.map +1 -1
- package/dist/esm/mcp-server/tools/morphoWithdraw.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/morphoWithdraw.js +9 -1
- package/dist/esm/mcp-server/tools/morphoWithdraw.js.map +1 -1
- package/dist/esm/mcp-server/tools/morphoWithdrawCollateral.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/morphoWithdrawCollateral.js +9 -1
- package/dist/esm/mcp-server/tools/morphoWithdrawCollateral.js.map +1 -1
- package/dist/esm/mcp-server/tools/pendleAddLiquidity.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/pendleAddLiquidity.js +9 -1
- package/dist/esm/mcp-server/tools/pendleAddLiquidity.js.map +1 -1
- package/dist/esm/mcp-server/tools/pendleBuyPt.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/pendleBuyPt.js +9 -1
- package/dist/esm/mcp-server/tools/pendleBuyPt.js.map +1 -1
- package/dist/esm/mcp-server/tools/pendleBuyYt.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/pendleBuyYt.js +9 -1
- package/dist/esm/mcp-server/tools/pendleBuyYt.js.map +1 -1
- package/dist/esm/mcp-server/tools/pendleRedeemYield.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/pendleRedeemYield.js +9 -1
- package/dist/esm/mcp-server/tools/pendleRedeemYield.js.map +1 -1
- package/dist/esm/mcp-server/tools/pendleRemoveLiquidity.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/pendleRemoveLiquidity.js +9 -1
- package/dist/esm/mcp-server/tools/pendleRemoveLiquidity.js.map +1 -1
- package/dist/esm/mcp-server/tools/pendleSellPt.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/pendleSellPt.js +9 -1
- package/dist/esm/mcp-server/tools/pendleSellPt.js.map +1 -1
- package/dist/esm/mcp-server/tools/pendleSellYt.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/pendleSellYt.js +9 -1
- package/dist/esm/mcp-server/tools/pendleSellYt.js.map +1 -1
- package/dist/esm/mcp-server/tools/skyBuy.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/skyBuy.js +9 -1
- package/dist/esm/mcp-server/tools/skyBuy.js.map +1 -1
- package/dist/esm/mcp-server/tools/skyDeposit.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/skyDeposit.js +9 -1
- package/dist/esm/mcp-server/tools/skyDeposit.js.map +1 -1
- package/dist/esm/mcp-server/tools/skySell.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/skySell.js +9 -1
- package/dist/esm/mcp-server/tools/skySell.js.map +1 -1
- package/dist/esm/mcp-server/tools/skyWithdraw.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/skyWithdraw.js +10 -1
- package/dist/esm/mcp-server/tools/skyWithdraw.js.map +1 -1
- package/dist/esm/mcp-server/tools/uniswapV3LiquidityProvisionIncrease.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/uniswapV3LiquidityProvisionIncrease.js +9 -1
- package/dist/esm/mcp-server/tools/uniswapV3LiquidityProvisionIncrease.js.map +1 -1
- package/dist/esm/mcp-server/tools/uniswapV3LiquidityProvisionMint.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/uniswapV3LiquidityProvisionMint.js +9 -1
- package/dist/esm/mcp-server/tools/uniswapV3LiquidityProvisionMint.js.map +1 -1
- package/dist/esm/mcp-server/tools/uniswapV3LiquidityProvisionWithdraw.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/uniswapV3LiquidityProvisionWithdraw.js +9 -1
- package/dist/esm/mcp-server/tools/uniswapV3LiquidityProvisionWithdraw.js.map +1 -1
- package/dist/esm/mcp-server/tools/uniswapV3SwapBuyExactly.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/uniswapV3SwapBuyExactly.js +9 -1
- package/dist/esm/mcp-server/tools/uniswapV3SwapBuyExactly.js.map +1 -1
- package/dist/esm/mcp-server/tools/uniswapV3SwapSellExactly.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/uniswapV3SwapSellExactly.js +9 -1
- package/dist/esm/mcp-server/tools/uniswapV3SwapSellExactly.js.map +1 -1
- package/dist/esm/models/operations/tokenprice.d.ts +16 -158
- package/dist/esm/models/operations/tokenprice.d.ts.map +1 -1
- package/dist/esm/models/operations/tokenprice.js +11 -58
- package/dist/esm/models/operations/tokenprice.js.map +1 -1
- package/dist/esm/sdk/aavev3.d.ts +28 -0
- package/dist/esm/sdk/aavev3.d.ts.map +1 -1
- package/dist/esm/sdk/aavev3.js +28 -0
- package/dist/esm/sdk/aavev3.js.map +1 -1
- package/dist/esm/sdk/aerodromeslipstream.d.ts +35 -0
- package/dist/esm/sdk/aerodromeslipstream.d.ts.map +1 -1
- package/dist/esm/sdk/aerodromeslipstream.js +35 -0
- package/dist/esm/sdk/aerodromeslipstream.js.map +1 -1
- package/dist/esm/sdk/erc4626vaults.d.ts +14 -0
- package/dist/esm/sdk/erc4626vaults.d.ts.map +1 -1
- package/dist/esm/sdk/erc4626vaults.js +14 -0
- package/dist/esm/sdk/erc4626vaults.js.map +1 -1
- package/dist/esm/sdk/morpho.d.ts +42 -0
- package/dist/esm/sdk/morpho.d.ts.map +1 -1
- package/dist/esm/sdk/morpho.js +42 -0
- package/dist/esm/sdk/morpho.js.map +1 -1
- package/dist/esm/sdk/pendle.d.ts +49 -0
- package/dist/esm/sdk/pendle.d.ts.map +1 -1
- package/dist/esm/sdk/pendle.js +49 -0
- package/dist/esm/sdk/pendle.js.map +1 -1
- package/dist/esm/sdk/sky.d.ts +29 -0
- package/dist/esm/sdk/sky.d.ts.map +1 -1
- package/dist/esm/sdk/sky.js +29 -0
- package/dist/esm/sdk/sky.js.map +1 -1
- package/dist/esm/sdk/uniswapv3.d.ts +35 -0
- package/dist/esm/sdk/uniswapv3.d.ts.map +1 -1
- package/dist/esm/sdk/uniswapv3.js +35 -0
- package/dist/esm/sdk/uniswapv3.js.map +1 -1
- package/docs/sdks/aavev3/README.md +32 -0
- package/docs/sdks/aerodromeslipstream/README.md +40 -0
- package/docs/sdks/erc4626vaults/README.md +16 -0
- package/docs/sdks/morpho/README.md +48 -0
- package/docs/sdks/pendle/README.md +56 -0
- package/docs/sdks/sky/README.md +33 -0
- package/docs/sdks/token/README.md +6 -2
- package/docs/sdks/uniswapv3/README.md +40 -0
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/aaveV3Borrow.ts +7 -0
- package/src/funcs/aaveV3Repay.ts +7 -0
- package/src/funcs/aaveV3Supply.ts +7 -0
- package/src/funcs/aaveV3Withdraw.ts +7 -0
- package/src/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.ts +7 -0
- package/src/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.ts +7 -0
- package/src/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.ts +7 -0
- package/src/funcs/aerodromeSlipstreamSlipstreamSwapBuyExactly.ts +7 -0
- package/src/funcs/aerodromeSlipstreamSlipstreamSwapSellExactly.ts +7 -0
- package/src/funcs/erc4626VaultsDeposit.ts +7 -0
- package/src/funcs/erc4626VaultsWithdraw.ts +7 -0
- package/src/funcs/morphoBorrow.ts +7 -0
- package/src/funcs/morphoDeposit.ts +7 -0
- package/src/funcs/morphoRepay.ts +7 -0
- package/src/funcs/morphoSupplyCollateral.ts +7 -0
- package/src/funcs/morphoWithdraw.ts +7 -0
- package/src/funcs/morphoWithdrawCollateral.ts +7 -0
- package/src/funcs/pendleAddLiquidity.ts +7 -0
- package/src/funcs/pendleBuyPt.ts +7 -0
- package/src/funcs/pendleBuyYt.ts +7 -0
- package/src/funcs/pendleRedeemYield.ts +7 -0
- package/src/funcs/pendleRemoveLiquidity.ts +7 -0
- package/src/funcs/pendleSellPt.ts +7 -0
- package/src/funcs/pendleSellYt.ts +7 -0
- package/src/funcs/skyBuy.ts +7 -0
- package/src/funcs/skyDeposit.ts +7 -0
- package/src/funcs/skySell.ts +7 -0
- package/src/funcs/skyWithdraw.ts +8 -0
- package/src/funcs/uniswapV3LiquidityProvisionIncrease.ts +7 -0
- package/src/funcs/uniswapV3LiquidityProvisionMint.ts +7 -0
- package/src/funcs/uniswapV3LiquidityProvisionWithdraw.ts +7 -0
- package/src/funcs/uniswapV3SwapBuyExactly.ts +7 -0
- package/src/funcs/uniswapV3SwapSellExactly.ts +7 -0
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/aaveV3Borrow.ts +9 -1
- package/src/mcp-server/tools/aaveV3Repay.ts +9 -1
- package/src/mcp-server/tools/aaveV3Supply.ts +9 -1
- package/src/mcp-server/tools/aaveV3Withdraw.ts +9 -1
- package/src/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.ts +9 -1
- package/src/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.ts +9 -1
- package/src/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.ts +9 -1
- package/src/mcp-server/tools/aerodromeSlipstreamSlipstreamSwapBuyExactly.ts +9 -1
- package/src/mcp-server/tools/aerodromeSlipstreamSlipstreamSwapSellExactly.ts +9 -1
- package/src/mcp-server/tools/erc4626VaultsDeposit.ts +9 -1
- package/src/mcp-server/tools/erc4626VaultsWithdraw.ts +9 -1
- package/src/mcp-server/tools/morphoBorrow.ts +9 -1
- package/src/mcp-server/tools/morphoDeposit.ts +9 -1
- package/src/mcp-server/tools/morphoRepay.ts +9 -1
- package/src/mcp-server/tools/morphoSupplyCollateral.ts +9 -1
- package/src/mcp-server/tools/morphoWithdraw.ts +9 -1
- package/src/mcp-server/tools/morphoWithdrawCollateral.ts +9 -1
- package/src/mcp-server/tools/pendleAddLiquidity.ts +9 -1
- package/src/mcp-server/tools/pendleBuyPt.ts +9 -1
- package/src/mcp-server/tools/pendleBuyYt.ts +9 -1
- package/src/mcp-server/tools/pendleRedeemYield.ts +9 -1
- package/src/mcp-server/tools/pendleRemoveLiquidity.ts +9 -1
- package/src/mcp-server/tools/pendleSellPt.ts +9 -1
- package/src/mcp-server/tools/pendleSellYt.ts +9 -1
- package/src/mcp-server/tools/skyBuy.ts +9 -1
- package/src/mcp-server/tools/skyDeposit.ts +9 -1
- package/src/mcp-server/tools/skySell.ts +9 -1
- package/src/mcp-server/tools/skyWithdraw.ts +10 -1
- package/src/mcp-server/tools/uniswapV3LiquidityProvisionIncrease.ts +9 -1
- package/src/mcp-server/tools/uniswapV3LiquidityProvisionMint.ts +9 -1
- package/src/mcp-server/tools/uniswapV3LiquidityProvisionWithdraw.ts +9 -1
- package/src/mcp-server/tools/uniswapV3SwapBuyExactly.ts +9 -1
- package/src/mcp-server/tools/uniswapV3SwapSellExactly.ts +9 -1
- package/src/models/operations/tokenprice.ts +39 -72
- package/src/sdk/aavev3.ts +28 -0
- package/src/sdk/aerodromeslipstream.ts +35 -0
- package/src/sdk/erc4626vaults.ts +14 -0
- package/src/sdk/morpho.ts +42 -0
- package/src/sdk/pendle.ts +49 -0
- package/src/sdk/sky.ts +29 -0
- package/src/sdk/uniswapv3.ts +35 -0
|
@@ -14,7 +14,15 @@ export const tool$pendleSellYt: ToolDefinition<typeof args> = {
|
|
|
14
14
|
name: "pendle-sell-yt",
|
|
15
15
|
description: `Sell Yield Token (YT)
|
|
16
16
|
|
|
17
|
-
Sell Yield Token (YT) for the market's Underlying Token
|
|
17
|
+
Sell Yield Token (YT) for the market's Underlying Token.
|
|
18
|
+
<Info>
|
|
19
|
+
**Required Allowances**
|
|
20
|
+
|
|
21
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
22
|
+
|
|
23
|
+
- \`PendleRouter\`
|
|
24
|
+
</Info>
|
|
25
|
+
`,
|
|
18
26
|
args,
|
|
19
27
|
tool: async (client, args, ctx) => {
|
|
20
28
|
const [result, apiCall] = await pendleSellYt(
|
|
@@ -20,7 +20,15 @@ If buying with DAI, user will need to set an allowance on the DAI contract for t
|
|
|
20
20
|
'SkyDaiUsdsConverter' contract beforehand.
|
|
21
21
|
|
|
22
22
|
If buying with USDC, user will need to set an allowance on the USDC contract for the
|
|
23
|
-
'SkyUsdcUsdsConverter' contract beforehand
|
|
23
|
+
'SkyUsdcUsdsConverter' contract beforehand.
|
|
24
|
+
<Info>
|
|
25
|
+
**Required Allowances**
|
|
26
|
+
|
|
27
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
28
|
+
|
|
29
|
+
- \`SkyUsdcUsdsConverter\`
|
|
30
|
+
</Info>
|
|
31
|
+
`,
|
|
24
32
|
args,
|
|
25
33
|
tool: async (client, args, ctx) => {
|
|
26
34
|
const [result, apiCall] = await skyBuy(
|
|
@@ -18,7 +18,15 @@ Deposit USDS to earn yield. Deposited USDS is represented as sUSDS.
|
|
|
18
18
|
|
|
19
19
|
Allowance must be set on USDS contract for UsdsVault.
|
|
20
20
|
|
|
21
|
-
There are no fees
|
|
21
|
+
There are no fees.
|
|
22
|
+
<Info>
|
|
23
|
+
**Required Allowances**
|
|
24
|
+
|
|
25
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
26
|
+
|
|
27
|
+
- \`SkyUsdsVault\`
|
|
28
|
+
</Info>
|
|
29
|
+
`,
|
|
22
30
|
args,
|
|
23
31
|
tool: async (client, args, ctx) => {
|
|
24
32
|
const [result, apiCall] = await skyDeposit(
|
|
@@ -20,7 +20,15 @@ If swapping to DAI, user will need to set an allowance on the USDS contract for
|
|
|
20
20
|
'SkyDaiUsdsConverter' contract beforehand.
|
|
21
21
|
|
|
22
22
|
If swapping to USDC, user will need to set an allowance on the USDS contract for the
|
|
23
|
-
'SkyUsdcUsdsConverter' contract beforehand
|
|
23
|
+
'SkyUsdcUsdsConverter' contract beforehand.
|
|
24
|
+
<Info>
|
|
25
|
+
**Required Allowances**
|
|
26
|
+
|
|
27
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
28
|
+
|
|
29
|
+
- \`SkyUsdcUsdsConverter\`
|
|
30
|
+
</Info>
|
|
31
|
+
`,
|
|
24
32
|
args,
|
|
25
33
|
tool: async (client, args, ctx) => {
|
|
26
34
|
const [result, apiCall] = await skySell(
|
|
@@ -18,7 +18,16 @@ Withdraw USDS. Exchange yield-bearing sUSDS for USDS.
|
|
|
18
18
|
|
|
19
19
|
Allowance must be set on USDS contract for UsdsVault.
|
|
20
20
|
|
|
21
|
-
There are no fees
|
|
21
|
+
There are no fees.
|
|
22
|
+
<Info>
|
|
23
|
+
**Required Allowances**
|
|
24
|
+
|
|
25
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
26
|
+
|
|
27
|
+
- \`SkyUsdcUsdsConverter\`
|
|
28
|
+
- \`SkyUsdsVault\`
|
|
29
|
+
</Info>
|
|
30
|
+
`,
|
|
22
31
|
args,
|
|
23
32
|
tool: async (client, args, ctx) => {
|
|
24
33
|
const [result, apiCall] = await skyWithdraw(
|
|
@@ -24,7 +24,15 @@ positions, thereby increasing their stake in the liquidity pool. This operation
|
|
|
24
24
|
beneficial for users who wish to enhance their potential earnings from trading fees
|
|
25
25
|
within the pool. The endpoint requires details such as the token pair, additional
|
|
26
26
|
amount to be added, and any other parameters necessary for the liquidity increase
|
|
27
|
-
process
|
|
27
|
+
process.
|
|
28
|
+
<Info>
|
|
29
|
+
**Required Allowances**
|
|
30
|
+
|
|
31
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
32
|
+
|
|
33
|
+
- \`AerodromeSlipstreamRouter\`
|
|
34
|
+
</Info>
|
|
35
|
+
`,
|
|
28
36
|
args,
|
|
29
37
|
tool: async (client, args, ctx) => {
|
|
30
38
|
const [result, apiCall] = await uniswapV3LiquidityProvisionIncrease(
|
|
@@ -23,7 +23,15 @@ create a new LP token, which represents their stake in a specific liquidity pool
|
|
|
23
23
|
This operation is essential for users looking to participate in liquidity provision,
|
|
24
24
|
enabling them to earn fees from trades that occur within the pool. The endpoint
|
|
25
25
|
requires details such as the token pair, amount, and any additional parameters
|
|
26
|
-
needed for the minting process
|
|
26
|
+
needed for the minting process.
|
|
27
|
+
<Info>
|
|
28
|
+
**Required Allowances**
|
|
29
|
+
|
|
30
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
31
|
+
|
|
32
|
+
- \`UniswapV3NFTPositionManager\`
|
|
33
|
+
</Info>
|
|
34
|
+
`,
|
|
27
35
|
args,
|
|
28
36
|
tool: async (client, args, ctx) => {
|
|
29
37
|
const [result, apiCall] = await uniswapV3LiquidityProvisionMint(
|
|
@@ -25,7 +25,15 @@ users who wish to reclaim their assets or reallocate their liquidity to differen
|
|
|
25
25
|
pools or investments. The endpoint requires details such as the token pair, the
|
|
26
26
|
amount to be withdrawn, and any additional parameters needed for the withdrawal
|
|
27
27
|
process. Users should ensure they meet any protocol requirements or conditions
|
|
28
|
-
before initiating a withdrawal to avoid potential issues or penalties
|
|
28
|
+
before initiating a withdrawal to avoid potential issues or penalties.
|
|
29
|
+
<Info>
|
|
30
|
+
**Required Allowances**
|
|
31
|
+
|
|
32
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
33
|
+
|
|
34
|
+
- \`UniswapV3NFTPositionManager\`
|
|
35
|
+
</Info>
|
|
36
|
+
`,
|
|
29
37
|
args,
|
|
30
38
|
tool: async (client, args, ctx) => {
|
|
31
39
|
const [result, apiCall] = await uniswapV3LiquidityProvisionWithdraw(
|
|
@@ -20,7 +20,15 @@ exact amount of another token using the Uniswap protocol.
|
|
|
20
20
|
The transaction is executed on the specified blockchain network, and the user must
|
|
21
21
|
provide the necessary transaction details, including the token to buy, the token to
|
|
22
22
|
pay with, and the exact amount to receive. If the token being paid with is WETH and
|
|
23
|
-
needs to be wrapped, the appropriate amount will be wrapped automatically
|
|
23
|
+
needs to be wrapped, the appropriate amount will be wrapped automatically.
|
|
24
|
+
<Info>
|
|
25
|
+
**Required Allowances**
|
|
26
|
+
|
|
27
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
28
|
+
|
|
29
|
+
- \`UniswapV3Router\`
|
|
30
|
+
</Info>
|
|
31
|
+
`,
|
|
24
32
|
args,
|
|
25
33
|
tool: async (client, args, ctx) => {
|
|
26
34
|
const [result, apiCall] = await uniswapV3SwapBuyExactly(
|
|
@@ -20,7 +20,15 @@ token using the Uniswap protocol.
|
|
|
20
20
|
The transaction is executed on the specified blockchain network, and the user must
|
|
21
21
|
provide the necessary transaction details, including the token to sell, the token to
|
|
22
22
|
receive, and the amount to sell. If the token being sold is WETH and needs to be
|
|
23
|
-
wrapped, the appropriate amount will be wrapped automatically
|
|
23
|
+
wrapped, the appropriate amount will be wrapped automatically.
|
|
24
|
+
<Info>
|
|
25
|
+
**Required Allowances**
|
|
26
|
+
|
|
27
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
28
|
+
|
|
29
|
+
- \`UniswapV3Router\`
|
|
30
|
+
</Info>
|
|
31
|
+
`,
|
|
24
32
|
args,
|
|
25
33
|
tool: async (client, args, ctx) => {
|
|
26
34
|
const [result, apiCall] = await uniswapV3SwapSellExactly(
|
|
@@ -6,6 +6,7 @@ import * as z from "zod";
|
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
7
|
import { ClosedEnum } from "../../types/enums.js";
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import * as components from "../components/index.js";
|
|
9
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
11
|
|
|
11
12
|
/**
|
|
@@ -22,68 +23,9 @@ export const TokenPriceChain = {
|
|
|
22
23
|
export type TokenPriceChain = ClosedEnum<typeof TokenPriceChain>;
|
|
23
24
|
|
|
24
25
|
/**
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
* @remarks
|
|
28
|
-
*
|
|
29
|
-
* This class is used to represent the token in the system. Notice individual
|
|
30
|
-
* endpoints' documentation where per chain tokens are presented.
|
|
26
|
+
* The symbol or address of the token for which to get the price.
|
|
31
27
|
*/
|
|
32
|
-
export
|
|
33
|
-
OneINCH: "1INCH",
|
|
34
|
-
Aave: "AAVE",
|
|
35
|
-
Bal: "BAL",
|
|
36
|
-
CbBTC: "cbBTC",
|
|
37
|
-
CbETH: "cbETH",
|
|
38
|
-
Crv: "CRV",
|
|
39
|
-
CrvUSD: "crvUSD",
|
|
40
|
-
Dai: "DAI",
|
|
41
|
-
Ens: "ENS",
|
|
42
|
-
ETHx: "ETHx",
|
|
43
|
-
Frax: "FRAX",
|
|
44
|
-
Fxs: "FXS",
|
|
45
|
-
Gho: "GHO",
|
|
46
|
-
Knc: "KNC",
|
|
47
|
-
Ldo: "LDO",
|
|
48
|
-
Link: "LINK",
|
|
49
|
-
Lusd: "LUSD",
|
|
50
|
-
Mkr: "MKR",
|
|
51
|
-
OsETH: "osETH",
|
|
52
|
-
Pyusd: "PYUSD",
|
|
53
|
-
RETH: "rETH",
|
|
54
|
-
Rpl: "RPL",
|
|
55
|
-
RsETH: "rsETH",
|
|
56
|
-
SDAI: "sDAI",
|
|
57
|
-
Snx: "SNX",
|
|
58
|
-
Stg: "STG",
|
|
59
|
-
SUSDe: "sUSDe",
|
|
60
|
-
TBTC: "tBTC",
|
|
61
|
-
Uni: "UNI",
|
|
62
|
-
Usdc: "USDC",
|
|
63
|
-
USDe: "USDe",
|
|
64
|
-
Usds: "USDS",
|
|
65
|
-
Usdt: "USDT",
|
|
66
|
-
Wbtc: "WBTC",
|
|
67
|
-
WeETH: "weETH",
|
|
68
|
-
Weth: "WETH",
|
|
69
|
-
WstETH: "wstETH",
|
|
70
|
-
Arb: "ARB",
|
|
71
|
-
Eurs: "EURS",
|
|
72
|
-
Mai: "MAI",
|
|
73
|
-
USDCe: "USDCe",
|
|
74
|
-
Aero: "AERO",
|
|
75
|
-
Eur: "EUR",
|
|
76
|
-
Virtual: "VIRTUAL",
|
|
77
|
-
} as const;
|
|
78
|
-
/**
|
|
79
|
-
* A class representing the token.
|
|
80
|
-
*
|
|
81
|
-
* @remarks
|
|
82
|
-
*
|
|
83
|
-
* This class is used to represent the token in the system. Notice individual
|
|
84
|
-
* endpoints' documentation where per chain tokens are presented.
|
|
85
|
-
*/
|
|
86
|
-
export type TokenPriceToken = ClosedEnum<typeof TokenPriceToken>;
|
|
28
|
+
export type TokenPriceToken = components.TokenEnum | string;
|
|
87
29
|
|
|
88
30
|
export type TokenPriceRequest = {
|
|
89
31
|
/**
|
|
@@ -95,9 +37,9 @@ export type TokenPriceRequest = {
|
|
|
95
37
|
*/
|
|
96
38
|
block?: number | null | undefined;
|
|
97
39
|
/**
|
|
98
|
-
* The symbol of the token for which to get the price.
|
|
40
|
+
* The symbol or address of the token for which to get the price.
|
|
99
41
|
*/
|
|
100
|
-
token
|
|
42
|
+
token: components.TokenEnum | string;
|
|
101
43
|
};
|
|
102
44
|
|
|
103
45
|
/** @internal */
|
|
@@ -122,14 +64,21 @@ export namespace TokenPriceChain$ {
|
|
|
122
64
|
}
|
|
123
65
|
|
|
124
66
|
/** @internal */
|
|
125
|
-
export const TokenPriceToken$inboundSchema: z.
|
|
126
|
-
|
|
127
|
-
|
|
67
|
+
export const TokenPriceToken$inboundSchema: z.ZodType<
|
|
68
|
+
TokenPriceToken,
|
|
69
|
+
z.ZodTypeDef,
|
|
70
|
+
unknown
|
|
71
|
+
> = z.union([components.TokenEnum$inboundSchema, z.string()]);
|
|
128
72
|
|
|
129
73
|
/** @internal */
|
|
130
|
-
export
|
|
131
|
-
|
|
132
|
-
|
|
74
|
+
export type TokenPriceToken$Outbound = string | string;
|
|
75
|
+
|
|
76
|
+
/** @internal */
|
|
77
|
+
export const TokenPriceToken$outboundSchema: z.ZodType<
|
|
78
|
+
TokenPriceToken$Outbound,
|
|
79
|
+
z.ZodTypeDef,
|
|
80
|
+
TokenPriceToken
|
|
81
|
+
> = z.union([components.TokenEnum$outboundSchema, z.string()]);
|
|
133
82
|
|
|
134
83
|
/**
|
|
135
84
|
* @internal
|
|
@@ -140,6 +89,24 @@ export namespace TokenPriceToken$ {
|
|
|
140
89
|
export const inboundSchema = TokenPriceToken$inboundSchema;
|
|
141
90
|
/** @deprecated use `TokenPriceToken$outboundSchema` instead. */
|
|
142
91
|
export const outboundSchema = TokenPriceToken$outboundSchema;
|
|
92
|
+
/** @deprecated use `TokenPriceToken$Outbound` instead. */
|
|
93
|
+
export type Outbound = TokenPriceToken$Outbound;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export function tokenPriceTokenToJSON(
|
|
97
|
+
tokenPriceToken: TokenPriceToken,
|
|
98
|
+
): string {
|
|
99
|
+
return JSON.stringify(TokenPriceToken$outboundSchema.parse(tokenPriceToken));
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export function tokenPriceTokenFromJSON(
|
|
103
|
+
jsonString: string,
|
|
104
|
+
): SafeParseResult<TokenPriceToken, SDKValidationError> {
|
|
105
|
+
return safeParse(
|
|
106
|
+
jsonString,
|
|
107
|
+
(x) => TokenPriceToken$inboundSchema.parse(JSON.parse(x)),
|
|
108
|
+
`Failed to parse 'TokenPriceToken' from JSON`,
|
|
109
|
+
);
|
|
143
110
|
}
|
|
144
111
|
|
|
145
112
|
/** @internal */
|
|
@@ -150,14 +117,14 @@ export const TokenPriceRequest$inboundSchema: z.ZodType<
|
|
|
150
117
|
> = z.object({
|
|
151
118
|
chain: TokenPriceChain$inboundSchema.default("ethereum:mainnet"),
|
|
152
119
|
block: z.nullable(z.number().int()).optional(),
|
|
153
|
-
token:
|
|
120
|
+
token: z.union([components.TokenEnum$inboundSchema, z.string()]),
|
|
154
121
|
});
|
|
155
122
|
|
|
156
123
|
/** @internal */
|
|
157
124
|
export type TokenPriceRequest$Outbound = {
|
|
158
125
|
chain: string;
|
|
159
126
|
block?: number | null | undefined;
|
|
160
|
-
token: string;
|
|
127
|
+
token: string | string;
|
|
161
128
|
};
|
|
162
129
|
|
|
163
130
|
/** @internal */
|
|
@@ -168,7 +135,7 @@ export const TokenPriceRequest$outboundSchema: z.ZodType<
|
|
|
168
135
|
> = z.object({
|
|
169
136
|
chain: TokenPriceChain$outboundSchema.default("ethereum:mainnet"),
|
|
170
137
|
block: z.nullable(z.number().int()).optional(),
|
|
171
|
-
token:
|
|
138
|
+
token: z.union([components.TokenEnum$outboundSchema, z.string()]),
|
|
172
139
|
});
|
|
173
140
|
|
|
174
141
|
/**
|
package/src/sdk/aavev3.ts
CHANGED
|
@@ -243,6 +243,13 @@ export class AaveV3 extends ClientSDK {
|
|
|
243
243
|
* Overall, this endpoint is a critical component for users looking to maximize their
|
|
244
244
|
* asset utility within the AAVEv3 ecosystem, providing both earning potential and
|
|
245
245
|
* borrowing flexibility.
|
|
246
|
+
* <Info>
|
|
247
|
+
* **Required Allowances**
|
|
248
|
+
*
|
|
249
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
250
|
+
*
|
|
251
|
+
* - `AaveV3Pool`
|
|
252
|
+
* </Info>
|
|
246
253
|
*/
|
|
247
254
|
async supply(
|
|
248
255
|
request: components.AaveSupplyRequest,
|
|
@@ -263,6 +270,13 @@ export class AaveV3 extends ClientSDK {
|
|
|
263
270
|
*
|
|
264
271
|
* Price changes in the assets may lead to some or all of your collateral being
|
|
265
272
|
* liquidated, if the borrow position becomes unhealthy.
|
|
273
|
+
* <Info>
|
|
274
|
+
* **Required Allowances**
|
|
275
|
+
*
|
|
276
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
277
|
+
*
|
|
278
|
+
* - `AaveV3Pool`
|
|
279
|
+
* </Info>
|
|
266
280
|
*/
|
|
267
281
|
async borrow(
|
|
268
282
|
request: components.AaveBorrowRequest,
|
|
@@ -287,6 +301,13 @@ export class AaveV3 extends ClientSDK {
|
|
|
287
301
|
* risk of liquidation, ensuring a more secure borrowing experience. The endpoint
|
|
288
302
|
* requires specifying the chain and the details of the repayment transaction,
|
|
289
303
|
* including the amount and the asset to be repaid.
|
|
304
|
+
* <Info>
|
|
305
|
+
* **Required Allowances**
|
|
306
|
+
*
|
|
307
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
308
|
+
*
|
|
309
|
+
* - `AaveV3Pool`
|
|
310
|
+
* </Info>
|
|
290
311
|
*/
|
|
291
312
|
async repay(
|
|
292
313
|
request: components.AaveRepayRequest,
|
|
@@ -312,6 +333,13 @@ export class AaveV3 extends ClientSDK {
|
|
|
312
333
|
* their liquidation threshold before proceeding with a withdrawal. This endpoint is
|
|
313
334
|
* designed to provide a seamless and efficient way to manage your collateral within
|
|
314
335
|
* the Aave ecosystem.
|
|
336
|
+
* <Info>
|
|
337
|
+
* **Required Allowances**
|
|
338
|
+
*
|
|
339
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
340
|
+
*
|
|
341
|
+
* - `AaveV3Pool`
|
|
342
|
+
* </Info>
|
|
315
343
|
*/
|
|
316
344
|
async withdraw(
|
|
317
345
|
request: components.AaveWithdrawRequest,
|
|
@@ -75,6 +75,13 @@ export class AerodromeSlipstream extends ClientSDK {
|
|
|
75
75
|
* of the current market conditions, taking into account the liquidity and price
|
|
76
76
|
* impact. This endpoint is suitable for users who want to sell a precise quantity of a
|
|
77
77
|
* token and are willing to accept the resulting amount of the other token.
|
|
78
|
+
* <Info>
|
|
79
|
+
* **Required Allowances**
|
|
80
|
+
*
|
|
81
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
82
|
+
*
|
|
83
|
+
* - `AerodromeSlipstreamRouter`
|
|
84
|
+
* </Info>
|
|
78
85
|
*/
|
|
79
86
|
async slipstreamSwapSellExactly(
|
|
80
87
|
request: components.AerodromeSlipstreamSellExactlyRequest,
|
|
@@ -101,6 +108,13 @@ export class AerodromeSlipstream extends ClientSDK {
|
|
|
101
108
|
* transaction is executed with consideration of current market conditions, including
|
|
102
109
|
* liquidity and price impact, ensuring that the trade is completed efficiently and
|
|
103
110
|
* effectively.
|
|
111
|
+
* <Info>
|
|
112
|
+
* **Required Allowances**
|
|
113
|
+
*
|
|
114
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
115
|
+
*
|
|
116
|
+
* - `AerodromeSlipstreamRouter`
|
|
117
|
+
* </Info>
|
|
104
118
|
*/
|
|
105
119
|
async slipstreamSwapBuyExactly(
|
|
106
120
|
request: components.AerodromeSlipstreamBuyExactlyRequest,
|
|
@@ -126,6 +140,13 @@ export class AerodromeSlipstream extends ClientSDK {
|
|
|
126
140
|
* necessary information to manage their newly minted position. This functionality is
|
|
127
141
|
* crucial for users looking to expand their liquidity provision activities, offering
|
|
128
142
|
* them the opportunity to engage in decentralized finance (DeFi) markets effectively.
|
|
143
|
+
* <Info>
|
|
144
|
+
* **Required Allowances**
|
|
145
|
+
*
|
|
146
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
147
|
+
*
|
|
148
|
+
* - `AerodromeSlipstreamNonfungiblePositionManager`
|
|
149
|
+
* </Info>
|
|
129
150
|
*/
|
|
130
151
|
async slipstreamLiquidityProvisionMint(
|
|
131
152
|
request: components.AerodromeSlipstreamMintLiquidityProvisionRequest,
|
|
@@ -153,6 +174,13 @@ export class AerodromeSlipstream extends ClientSDK {
|
|
|
153
174
|
* vital for users aiming to optimize their liquidity provision strategy, enabling them
|
|
154
175
|
* to adapt to market conditions and maximize their returns in decentralized finance
|
|
155
176
|
* (DeFi) markets.
|
|
177
|
+
* <Info>
|
|
178
|
+
* **Required Allowances**
|
|
179
|
+
*
|
|
180
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
181
|
+
*
|
|
182
|
+
* - `AerodromeSlipstreamRouter`
|
|
183
|
+
* </Info>
|
|
156
184
|
*/
|
|
157
185
|
async slipstreamLiquidityProvisionIncrease(
|
|
158
186
|
request: components.AerodromeSlipstreamIncreaseLiquidityProvisionRequest,
|
|
@@ -180,6 +208,13 @@ export class AerodromeSlipstream extends ClientSDK {
|
|
|
180
208
|
* assets and potentially reallocate them to other investment opportunities. The
|
|
181
209
|
* endpoint ensures a smooth and secure withdrawal process, facilitating users'
|
|
182
210
|
* strategic management of their decentralized finance (DeFi) portfolios.
|
|
211
|
+
* <Info>
|
|
212
|
+
* **Required Allowances**
|
|
213
|
+
*
|
|
214
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
215
|
+
*
|
|
216
|
+
* - `AerodromeSlipstreamNonfungiblePositionManager`
|
|
217
|
+
* </Info>
|
|
183
218
|
*/
|
|
184
219
|
async slipstreamLiquidityProvisionWithdraw(
|
|
185
220
|
request: components.AerodromeSlipstreamWithdrawLiquidityProvisionRequest,
|
package/src/sdk/erc4626vaults.ts
CHANGED
|
@@ -37,6 +37,13 @@ export class Erc4626Vaults extends ClientSDK {
|
|
|
37
37
|
* Deposit tokens into a Vault (ERC-4626 Standard) to earn passive yield.
|
|
38
38
|
*
|
|
39
39
|
* Each vault accepts one unique token that can be deposited.
|
|
40
|
+
* <Info>
|
|
41
|
+
* **Required Allowances**
|
|
42
|
+
*
|
|
43
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
44
|
+
*
|
|
45
|
+
* - `<vault_address>`
|
|
46
|
+
* </Info>
|
|
40
47
|
*/
|
|
41
48
|
async deposit(
|
|
42
49
|
request: components.VaultDepositRequest,
|
|
@@ -58,6 +65,13 @@ export class Erc4626Vaults extends ClientSDK {
|
|
|
58
65
|
* The passive yield earned on token deposits is represented by the increased value of
|
|
59
66
|
* the shares received upon depositing tokens. Trade in these shares for the tokens you
|
|
60
67
|
* deposited plus any accrued yield.
|
|
68
|
+
* <Info>
|
|
69
|
+
* **Required Allowances**
|
|
70
|
+
*
|
|
71
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
72
|
+
*
|
|
73
|
+
* - `<vault address>`
|
|
74
|
+
* </Info>
|
|
61
75
|
*/
|
|
62
76
|
async withdraw(
|
|
63
77
|
request: components.VaultWithdrawRequest,
|
package/src/sdk/morpho.ts
CHANGED
|
@@ -159,6 +159,13 @@ export class Morpho extends ClientSDK {
|
|
|
159
159
|
* exposure for all deposited assets so users don't need to make these decisions
|
|
160
160
|
* themselves. Users maintain full control over their assets, can monitor the vault's
|
|
161
161
|
* state at any time, and withdraw their liquidity at their discretion.
|
|
162
|
+
* <Info>
|
|
163
|
+
* **Required Allowances**
|
|
164
|
+
*
|
|
165
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
166
|
+
*
|
|
167
|
+
* - `USDC`
|
|
168
|
+
* </Info>
|
|
162
169
|
*/
|
|
163
170
|
async deposit(
|
|
164
171
|
request: components.MorphoDepositRequest,
|
|
@@ -186,6 +193,13 @@ export class Morpho extends ClientSDK {
|
|
|
186
193
|
* exposure for all deposited assets so users don't need to make these decisions
|
|
187
194
|
* themselves. Users maintain full control over their assets, can monitor the vault's
|
|
188
195
|
* state at any time, and withdraw their liquidity at their discretion.
|
|
196
|
+
* <Info>
|
|
197
|
+
* **Required Allowances**
|
|
198
|
+
*
|
|
199
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
200
|
+
*
|
|
201
|
+
* - `<token address>`
|
|
202
|
+
* </Info>
|
|
189
203
|
*/
|
|
190
204
|
async withdraw(
|
|
191
205
|
request: components.MorphoWithdrawRequest,
|
|
@@ -208,6 +222,13 @@ export class Morpho extends ClientSDK {
|
|
|
208
222
|
* loan asset. Each market is isolated (meaning risks are contained within each
|
|
209
223
|
* individual market), immutable (cannot be changed after deployment), and will persist
|
|
210
224
|
* as long as the blockchain it is deployed on is live.
|
|
225
|
+
* <Info>
|
|
226
|
+
* **Required Allowances**
|
|
227
|
+
*
|
|
228
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
229
|
+
*
|
|
230
|
+
* - `Morpho`
|
|
231
|
+
* </Info>
|
|
211
232
|
*/
|
|
212
233
|
async supplyCollateral(
|
|
213
234
|
request: components.MorphoSupplyCollateralRequest,
|
|
@@ -230,6 +251,13 @@ export class Morpho extends ClientSDK {
|
|
|
230
251
|
* loan asset. Each market is isolated (meaning risks are contained within each
|
|
231
252
|
* individual market), immutable (cannot be changed after deployment), and will persist
|
|
232
253
|
* as long as the blockchain it is deployed on is live.
|
|
254
|
+
* <Info>
|
|
255
|
+
* **Required Allowances**
|
|
256
|
+
*
|
|
257
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
258
|
+
*
|
|
259
|
+
* - `Morpho`
|
|
260
|
+
* </Info>
|
|
233
261
|
*/
|
|
234
262
|
async withdrawCollateral(
|
|
235
263
|
request: components.MorphoWithdrawCollateralRequest,
|
|
@@ -255,6 +283,13 @@ export class Morpho extends ClientSDK {
|
|
|
255
283
|
* loan asset. Each market is isolated (meaning risks are contained within each
|
|
256
284
|
* individual market), immutable (cannot be changed after deployment), and will persist
|
|
257
285
|
* as long as the blockchain it is deployed on is live.
|
|
286
|
+
* <Info>
|
|
287
|
+
* **Required Allowances**
|
|
288
|
+
*
|
|
289
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
290
|
+
*
|
|
291
|
+
* - `Morpho`
|
|
292
|
+
* </Info>
|
|
258
293
|
*/
|
|
259
294
|
async borrow(
|
|
260
295
|
request: components.MorphoBorrowRequest,
|
|
@@ -277,6 +312,13 @@ export class Morpho extends ClientSDK {
|
|
|
277
312
|
* loan asset. Each market is isolated (meaning risks are contained within each
|
|
278
313
|
* individual market), immutable (cannot be changed after deployment), and will persist
|
|
279
314
|
* as long as the blockchain it is deployed on is live.
|
|
315
|
+
* <Info>
|
|
316
|
+
* **Required Allowances**
|
|
317
|
+
*
|
|
318
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
319
|
+
*
|
|
320
|
+
* - `Morpho`
|
|
321
|
+
* </Info>
|
|
280
322
|
*/
|
|
281
323
|
async repay(
|
|
282
324
|
request: components.MorphoRepayRequest,
|
package/src/sdk/pendle.ts
CHANGED
|
@@ -99,6 +99,13 @@ export class Pendle extends ClientSDK {
|
|
|
99
99
|
*
|
|
100
100
|
* @remarks
|
|
101
101
|
* Buy Principal Token (PT) with market's Underlying Token.
|
|
102
|
+
* <Info>
|
|
103
|
+
* **Required Allowances**
|
|
104
|
+
*
|
|
105
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
106
|
+
*
|
|
107
|
+
* - `PendleRouter`
|
|
108
|
+
* </Info>
|
|
102
109
|
*/
|
|
103
110
|
async buyPt(
|
|
104
111
|
request: components.PendleBuyPtRequest,
|
|
@@ -116,6 +123,13 @@ export class Pendle extends ClientSDK {
|
|
|
116
123
|
*
|
|
117
124
|
* @remarks
|
|
118
125
|
* Sell Principal Token (PT) for the market's Underlying Token.
|
|
126
|
+
* <Info>
|
|
127
|
+
* **Required Allowances**
|
|
128
|
+
*
|
|
129
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
130
|
+
*
|
|
131
|
+
* - `PendleRouter`
|
|
132
|
+
* </Info>
|
|
119
133
|
*/
|
|
120
134
|
async sellPt(
|
|
121
135
|
request: components.PendleSellPtRequest,
|
|
@@ -133,6 +147,13 @@ export class Pendle extends ClientSDK {
|
|
|
133
147
|
*
|
|
134
148
|
* @remarks
|
|
135
149
|
* Buy Yield Token (YT) with market's Underlying Token.
|
|
150
|
+
* <Info>
|
|
151
|
+
* **Required Allowances**
|
|
152
|
+
*
|
|
153
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
154
|
+
*
|
|
155
|
+
* - `PendleRouter`
|
|
156
|
+
* </Info>
|
|
136
157
|
*/
|
|
137
158
|
async buyYt(
|
|
138
159
|
request: components.PendleBuyYtRequest,
|
|
@@ -150,6 +171,13 @@ export class Pendle extends ClientSDK {
|
|
|
150
171
|
*
|
|
151
172
|
* @remarks
|
|
152
173
|
* Sell Yield Token (YT) for the market's Underlying Token.
|
|
174
|
+
* <Info>
|
|
175
|
+
* **Required Allowances**
|
|
176
|
+
*
|
|
177
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
178
|
+
*
|
|
179
|
+
* - `PendleRouter`
|
|
180
|
+
* </Info>
|
|
153
181
|
*/
|
|
154
182
|
async sellYt(
|
|
155
183
|
request: components.PendleSellYtRequest,
|
|
@@ -167,6 +195,13 @@ export class Pendle extends ClientSDK {
|
|
|
167
195
|
*
|
|
168
196
|
* @remarks
|
|
169
197
|
* Redeem claimable yield from the market's associated Yield Token (YT).
|
|
198
|
+
* <Info>
|
|
199
|
+
* **Required Allowances**
|
|
200
|
+
*
|
|
201
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
202
|
+
*
|
|
203
|
+
* - `PendleRouter`
|
|
204
|
+
* </Info>
|
|
170
205
|
*/
|
|
171
206
|
async redeemYield(
|
|
172
207
|
request: components.PendleRedeemYieldRequest,
|
|
@@ -187,6 +222,13 @@ export class Pendle extends ClientSDK {
|
|
|
187
222
|
*
|
|
188
223
|
* Liquidity is added in the form of the market's Underlying Token. Representation of
|
|
189
224
|
* the liquidity received is the market's Liquidity Provider Token (LP).
|
|
225
|
+
* <Info>
|
|
226
|
+
* **Required Allowances**
|
|
227
|
+
*
|
|
228
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
229
|
+
*
|
|
230
|
+
* - `PendleRouter`
|
|
231
|
+
* </Info>
|
|
190
232
|
*/
|
|
191
233
|
async addLiquidity(
|
|
192
234
|
request: components.PendleAddLiquidityRequest,
|
|
@@ -208,6 +250,13 @@ export class Pendle extends ClientSDK {
|
|
|
208
250
|
* Liquidity is removed in the form of the market's Liquidity Provider Token (LP) into
|
|
209
251
|
* the market's Underlying Token. An appropriate allowance for the Pendle Router on the
|
|
210
252
|
* market contract must be set beforehand
|
|
253
|
+
* <Info>
|
|
254
|
+
* **Required Allowances**
|
|
255
|
+
*
|
|
256
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
257
|
+
*
|
|
258
|
+
* - `PendleRouter`
|
|
259
|
+
* </Info>
|
|
211
260
|
*/
|
|
212
261
|
async removeLiquidity(
|
|
213
262
|
request: components.PendleRemoveLiquidityRequest,
|