@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
|
@@ -467,6 +467,14 @@ paid by borrowers. Vaults feature automated risk management, actively curating r
|
|
|
467
467
|
exposure for all deposited assets so users don't need to make these decisions
|
|
468
468
|
themselves. Users maintain full control over their assets, can monitor the vault's
|
|
469
469
|
state at any time, and withdraw their liquidity at their discretion.
|
|
470
|
+
<Info>
|
|
471
|
+
**Required Allowances**
|
|
472
|
+
|
|
473
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
474
|
+
|
|
475
|
+
- `USDC`
|
|
476
|
+
</Info>
|
|
477
|
+
|
|
470
478
|
|
|
471
479
|
### Example Usage
|
|
472
480
|
|
|
@@ -556,6 +564,14 @@ paid by borrowers. Vaults feature automated risk management, actively curating r
|
|
|
556
564
|
exposure for all deposited assets so users don't need to make these decisions
|
|
557
565
|
themselves. Users maintain full control over their assets, can monitor the vault's
|
|
558
566
|
state at any time, and withdraw their liquidity at their discretion.
|
|
567
|
+
<Info>
|
|
568
|
+
**Required Allowances**
|
|
569
|
+
|
|
570
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
571
|
+
|
|
572
|
+
- `<token address>`
|
|
573
|
+
</Info>
|
|
574
|
+
|
|
559
575
|
|
|
560
576
|
### Example Usage
|
|
561
577
|
|
|
@@ -640,6 +656,14 @@ A Morpho Market is a primitive lending pool that pairs one collateral asset with
|
|
|
640
656
|
loan asset. Each market is isolated (meaning risks are contained within each
|
|
641
657
|
individual market), immutable (cannot be changed after deployment), and will persist
|
|
642
658
|
as long as the blockchain it is deployed on is live.
|
|
659
|
+
<Info>
|
|
660
|
+
**Required Allowances**
|
|
661
|
+
|
|
662
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
663
|
+
|
|
664
|
+
- `Morpho`
|
|
665
|
+
</Info>
|
|
666
|
+
|
|
643
667
|
|
|
644
668
|
### Example Usage
|
|
645
669
|
|
|
@@ -724,6 +748,14 @@ A Morpho Market is a primitive lending pool that pairs one collateral asset with
|
|
|
724
748
|
loan asset. Each market is isolated (meaning risks are contained within each
|
|
725
749
|
individual market), immutable (cannot be changed after deployment), and will persist
|
|
726
750
|
as long as the blockchain it is deployed on is live.
|
|
751
|
+
<Info>
|
|
752
|
+
**Required Allowances**
|
|
753
|
+
|
|
754
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
755
|
+
|
|
756
|
+
- `Morpho`
|
|
757
|
+
</Info>
|
|
758
|
+
|
|
727
759
|
|
|
728
760
|
### Example Usage
|
|
729
761
|
|
|
@@ -811,6 +843,14 @@ A Morpho Market is a primitive lending pool that pairs one collateral asset with
|
|
|
811
843
|
loan asset. Each market is isolated (meaning risks are contained within each
|
|
812
844
|
individual market), immutable (cannot be changed after deployment), and will persist
|
|
813
845
|
as long as the blockchain it is deployed on is live.
|
|
846
|
+
<Info>
|
|
847
|
+
**Required Allowances**
|
|
848
|
+
|
|
849
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
850
|
+
|
|
851
|
+
- `Morpho`
|
|
852
|
+
</Info>
|
|
853
|
+
|
|
814
854
|
|
|
815
855
|
### Example Usage
|
|
816
856
|
|
|
@@ -895,6 +935,14 @@ A Morpho Market is a primitive lending pool that pairs one collateral asset with
|
|
|
895
935
|
loan asset. Each market is isolated (meaning risks are contained within each
|
|
896
936
|
individual market), immutable (cannot be changed after deployment), and will persist
|
|
897
937
|
as long as the blockchain it is deployed on is live.
|
|
938
|
+
<Info>
|
|
939
|
+
**Required Allowances**
|
|
940
|
+
|
|
941
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
942
|
+
|
|
943
|
+
- `Morpho`
|
|
944
|
+
</Info>
|
|
945
|
+
|
|
898
946
|
|
|
899
947
|
### Example Usage
|
|
900
948
|
|
|
@@ -311,6 +311,14 @@ run();
|
|
|
311
311
|
## buyPt
|
|
312
312
|
|
|
313
313
|
Buy Principal Token (PT) with market's Underlying Token.
|
|
314
|
+
<Info>
|
|
315
|
+
**Required Allowances**
|
|
316
|
+
|
|
317
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
318
|
+
|
|
319
|
+
- `PendleRouter`
|
|
320
|
+
</Info>
|
|
321
|
+
|
|
314
322
|
|
|
315
323
|
### Example Usage
|
|
316
324
|
|
|
@@ -392,6 +400,14 @@ run();
|
|
|
392
400
|
## sellPt
|
|
393
401
|
|
|
394
402
|
Sell Principal Token (PT) for the market's Underlying Token.
|
|
403
|
+
<Info>
|
|
404
|
+
**Required Allowances**
|
|
405
|
+
|
|
406
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
407
|
+
|
|
408
|
+
- `PendleRouter`
|
|
409
|
+
</Info>
|
|
410
|
+
|
|
395
411
|
|
|
396
412
|
### Example Usage
|
|
397
413
|
|
|
@@ -473,6 +489,14 @@ run();
|
|
|
473
489
|
## buyYt
|
|
474
490
|
|
|
475
491
|
Buy Yield Token (YT) with market's Underlying Token.
|
|
492
|
+
<Info>
|
|
493
|
+
**Required Allowances**
|
|
494
|
+
|
|
495
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
496
|
+
|
|
497
|
+
- `PendleRouter`
|
|
498
|
+
</Info>
|
|
499
|
+
|
|
476
500
|
|
|
477
501
|
### Example Usage
|
|
478
502
|
|
|
@@ -554,6 +578,14 @@ run();
|
|
|
554
578
|
## sellYt
|
|
555
579
|
|
|
556
580
|
Sell Yield Token (YT) for the market's Underlying Token.
|
|
581
|
+
<Info>
|
|
582
|
+
**Required Allowances**
|
|
583
|
+
|
|
584
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
585
|
+
|
|
586
|
+
- `PendleRouter`
|
|
587
|
+
</Info>
|
|
588
|
+
|
|
557
589
|
|
|
558
590
|
### Example Usage
|
|
559
591
|
|
|
@@ -635,6 +667,14 @@ run();
|
|
|
635
667
|
## redeemYield
|
|
636
668
|
|
|
637
669
|
Redeem claimable yield from the market's associated Yield Token (YT).
|
|
670
|
+
<Info>
|
|
671
|
+
**Required Allowances**
|
|
672
|
+
|
|
673
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
674
|
+
|
|
675
|
+
- `PendleRouter`
|
|
676
|
+
</Info>
|
|
677
|
+
|
|
638
678
|
|
|
639
679
|
### Example Usage
|
|
640
680
|
|
|
@@ -715,6 +755,14 @@ Add liquidity to a Pendle Market to earn yield.
|
|
|
715
755
|
|
|
716
756
|
Liquidity is added in the form of the market's Underlying Token. Representation of
|
|
717
757
|
the liquidity received is the market's Liquidity Provider Token (LP).
|
|
758
|
+
<Info>
|
|
759
|
+
**Required Allowances**
|
|
760
|
+
|
|
761
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
762
|
+
|
|
763
|
+
- `PendleRouter`
|
|
764
|
+
</Info>
|
|
765
|
+
|
|
718
766
|
|
|
719
767
|
### Example Usage
|
|
720
768
|
|
|
@@ -800,6 +848,14 @@ Remove liquidity from a Pendle Market.
|
|
|
800
848
|
Liquidity is removed in the form of the market's Liquidity Provider Token (LP) into
|
|
801
849
|
the market's Underlying Token. An appropriate allowance for the Pendle Router on the
|
|
802
850
|
market contract must be set beforehand
|
|
851
|
+
<Info>
|
|
852
|
+
**Required Allowances**
|
|
853
|
+
|
|
854
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
855
|
+
|
|
856
|
+
- `PendleRouter`
|
|
857
|
+
</Info>
|
|
858
|
+
|
|
803
859
|
|
|
804
860
|
### Example Usage
|
|
805
861
|
|
package/docs/sdks/sky/README.md
CHANGED
|
@@ -89,6 +89,14 @@ If buying with DAI, user will need to set an allowance on the DAI contract for t
|
|
|
89
89
|
|
|
90
90
|
If buying with USDC, user will need to set an allowance on the USDC contract for the
|
|
91
91
|
'SkyUsdcUsdsConverter' contract beforehand.
|
|
92
|
+
<Info>
|
|
93
|
+
**Required Allowances**
|
|
94
|
+
|
|
95
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
96
|
+
|
|
97
|
+
- `SkyUsdcUsdsConverter`
|
|
98
|
+
</Info>
|
|
99
|
+
|
|
92
100
|
|
|
93
101
|
### Example Usage
|
|
94
102
|
|
|
@@ -172,6 +180,14 @@ If swapping to DAI, user will need to set an allowance on the USDS contract for
|
|
|
172
180
|
|
|
173
181
|
If swapping to USDC, user will need to set an allowance on the USDS contract for the
|
|
174
182
|
'SkyUsdcUsdsConverter' contract beforehand.
|
|
183
|
+
<Info>
|
|
184
|
+
**Required Allowances**
|
|
185
|
+
|
|
186
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
187
|
+
|
|
188
|
+
- `SkyUsdcUsdsConverter`
|
|
189
|
+
</Info>
|
|
190
|
+
|
|
175
191
|
|
|
176
192
|
### Example Usage
|
|
177
193
|
|
|
@@ -253,6 +269,14 @@ Deposit USDS to earn yield. Deposited USDS is represented as sUSDS.
|
|
|
253
269
|
Allowance must be set on USDS contract for UsdsVault.
|
|
254
270
|
|
|
255
271
|
There are no fees.
|
|
272
|
+
<Info>
|
|
273
|
+
**Required Allowances**
|
|
274
|
+
|
|
275
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
276
|
+
|
|
277
|
+
- `SkyUsdsVault`
|
|
278
|
+
</Info>
|
|
279
|
+
|
|
256
280
|
|
|
257
281
|
### Example Usage
|
|
258
282
|
|
|
@@ -332,6 +356,15 @@ Withdraw USDS. Exchange yield-bearing sUSDS for USDS.
|
|
|
332
356
|
Allowance must be set on USDS contract for UsdsVault.
|
|
333
357
|
|
|
334
358
|
There are no fees.
|
|
359
|
+
<Info>
|
|
360
|
+
**Required Allowances**
|
|
361
|
+
|
|
362
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
363
|
+
|
|
364
|
+
- `SkyUsdcUsdsConverter`
|
|
365
|
+
- `SkyUsdsVault`
|
|
366
|
+
</Info>
|
|
367
|
+
|
|
335
368
|
|
|
336
369
|
### Example Usage
|
|
337
370
|
|
|
@@ -97,7 +97,9 @@ const compassApiSDK = new CompassApiSDK({
|
|
|
97
97
|
});
|
|
98
98
|
|
|
99
99
|
async function run() {
|
|
100
|
-
const result = await compassApiSDK.token.price({
|
|
100
|
+
const result = await compassApiSDK.token.price({
|
|
101
|
+
token: "AAVE",
|
|
102
|
+
});
|
|
101
103
|
|
|
102
104
|
console.log(result);
|
|
103
105
|
}
|
|
@@ -120,7 +122,9 @@ const compassApiSDK = new CompassApiSDKCore({
|
|
|
120
122
|
});
|
|
121
123
|
|
|
122
124
|
async function run() {
|
|
123
|
-
const res = await tokenPrice(compassApiSDK, {
|
|
125
|
+
const res = await tokenPrice(compassApiSDK, {
|
|
126
|
+
token: "AAVE",
|
|
127
|
+
});
|
|
124
128
|
if (res.ok) {
|
|
125
129
|
const { value: result } = res;
|
|
126
130
|
console.log(result);
|
|
@@ -401,6 +401,14 @@ The transaction is executed on the specified blockchain network, and the user mu
|
|
|
401
401
|
provide the necessary transaction details, including the token to buy, the token to
|
|
402
402
|
pay with, and the exact amount to receive. If the token being paid with is WETH and
|
|
403
403
|
needs to be wrapped, the appropriate amount will be wrapped automatically.
|
|
404
|
+
<Info>
|
|
405
|
+
**Required Allowances**
|
|
406
|
+
|
|
407
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
408
|
+
|
|
409
|
+
- `UniswapV3Router`
|
|
410
|
+
</Info>
|
|
411
|
+
|
|
404
412
|
|
|
405
413
|
### Example Usage
|
|
406
414
|
|
|
@@ -494,6 +502,14 @@ The transaction is executed on the specified blockchain network, and the user mu
|
|
|
494
502
|
provide the necessary transaction details, including the token to sell, the token to
|
|
495
503
|
receive, and the amount to sell. If the token being sold is WETH and needs to be
|
|
496
504
|
wrapped, the appropriate amount will be wrapped automatically.
|
|
505
|
+
<Info>
|
|
506
|
+
**Required Allowances**
|
|
507
|
+
|
|
508
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
509
|
+
|
|
510
|
+
- `UniswapV3Router`
|
|
511
|
+
</Info>
|
|
512
|
+
|
|
497
513
|
|
|
498
514
|
### Example Usage
|
|
499
515
|
|
|
@@ -589,6 +605,14 @@ This operation is essential for users looking to participate in liquidity provis
|
|
|
589
605
|
enabling them to earn fees from trades that occur within the pool. The endpoint
|
|
590
606
|
requires details such as the token pair, amount, and any additional parameters
|
|
591
607
|
needed for the minting process.
|
|
608
|
+
<Info>
|
|
609
|
+
**Required Allowances**
|
|
610
|
+
|
|
611
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
612
|
+
|
|
613
|
+
- `UniswapV3NFTPositionManager`
|
|
614
|
+
</Info>
|
|
615
|
+
|
|
592
616
|
|
|
593
617
|
### Example Usage
|
|
594
618
|
|
|
@@ -692,6 +716,14 @@ beneficial for users who wish to enhance their potential earnings from trading f
|
|
|
692
716
|
within the pool. The endpoint requires details such as the token pair, additional
|
|
693
717
|
amount to be added, and any other parameters necessary for the liquidity increase
|
|
694
718
|
process.
|
|
719
|
+
<Info>
|
|
720
|
+
**Required Allowances**
|
|
721
|
+
|
|
722
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
723
|
+
|
|
724
|
+
- `AerodromeSlipstreamRouter`
|
|
725
|
+
</Info>
|
|
726
|
+
|
|
695
727
|
|
|
696
728
|
### Example Usage
|
|
697
729
|
|
|
@@ -786,6 +818,14 @@ pools or investments. The endpoint requires details such as the token pair, the
|
|
|
786
818
|
amount to be withdrawn, and any additional parameters needed for the withdrawal
|
|
787
819
|
process. Users should ensure they meet any protocol requirements or conditions
|
|
788
820
|
before initiating a withdrawal to avoid potential issues or penalties.
|
|
821
|
+
<Info>
|
|
822
|
+
**Required Allowances**
|
|
823
|
+
|
|
824
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
825
|
+
|
|
826
|
+
- `UniswapV3NFTPositionManager`
|
|
827
|
+
</Info>
|
|
828
|
+
|
|
789
829
|
|
|
790
830
|
### Example Usage
|
|
791
831
|
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -33,6 +33,13 @@ import { Result } from "../types/fp.js";
|
|
|
33
33
|
*
|
|
34
34
|
* Price changes in the assets may lead to some or all of your collateral being
|
|
35
35
|
* liquidated, if the borrow position becomes unhealthy.
|
|
36
|
+
* <Info>
|
|
37
|
+
* **Required Allowances**
|
|
38
|
+
*
|
|
39
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
40
|
+
*
|
|
41
|
+
* - `AaveV3Pool`
|
|
42
|
+
* </Info>
|
|
36
43
|
*/
|
|
37
44
|
export function aaveV3Borrow(
|
|
38
45
|
client: CompassApiSDKCore,
|
package/src/funcs/aaveV3Repay.ts
CHANGED
|
@@ -37,6 +37,13 @@ import { Result } from "../types/fp.js";
|
|
|
37
37
|
* risk of liquidation, ensuring a more secure borrowing experience. The endpoint
|
|
38
38
|
* requires specifying the chain and the details of the repayment transaction,
|
|
39
39
|
* including the amount and the asset to be repaid.
|
|
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
|
+
* - `AaveV3Pool`
|
|
46
|
+
* </Info>
|
|
40
47
|
*/
|
|
41
48
|
export function aaveV3Repay(
|
|
42
49
|
client: CompassApiSDKCore,
|
|
@@ -38,6 +38,13 @@ import { Result } from "../types/fp.js";
|
|
|
38
38
|
* Overall, this endpoint is a critical component for users looking to maximize their
|
|
39
39
|
* asset utility within the AAVEv3 ecosystem, providing both earning potential and
|
|
40
40
|
* borrowing flexibility.
|
|
41
|
+
* <Info>
|
|
42
|
+
* **Required Allowances**
|
|
43
|
+
*
|
|
44
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
45
|
+
*
|
|
46
|
+
* - `AaveV3Pool`
|
|
47
|
+
* </Info>
|
|
41
48
|
*/
|
|
42
49
|
export function aaveV3Supply(
|
|
43
50
|
client: CompassApiSDKCore,
|
|
@@ -38,6 +38,13 @@ import { Result } from "../types/fp.js";
|
|
|
38
38
|
* their liquidation threshold before proceeding with a withdrawal. This endpoint is
|
|
39
39
|
* designed to provide a seamless and efficient way to manage your collateral within
|
|
40
40
|
* the Aave ecosystem.
|
|
41
|
+
* <Info>
|
|
42
|
+
* **Required Allowances**
|
|
43
|
+
*
|
|
44
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
45
|
+
*
|
|
46
|
+
* - `AaveV3Pool`
|
|
47
|
+
* </Info>
|
|
41
48
|
*/
|
|
42
49
|
export function aaveV3Withdraw(
|
|
43
50
|
client: CompassApiSDKCore,
|
|
@@ -40,6 +40,13 @@ import { Result } from "../types/fp.js";
|
|
|
40
40
|
* vital for users aiming to optimize their liquidity provision strategy, enabling them
|
|
41
41
|
* to adapt to market conditions and maximize their returns in decentralized finance
|
|
42
42
|
* (DeFi) markets.
|
|
43
|
+
* <Info>
|
|
44
|
+
* **Required Allowances**
|
|
45
|
+
*
|
|
46
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
47
|
+
*
|
|
48
|
+
* - `AerodromeSlipstreamRouter`
|
|
49
|
+
* </Info>
|
|
43
50
|
*/
|
|
44
51
|
export function aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease(
|
|
45
52
|
client: CompassApiSDKCore,
|
|
@@ -38,6 +38,13 @@ import { Result } from "../types/fp.js";
|
|
|
38
38
|
* necessary information to manage their newly minted position. This functionality is
|
|
39
39
|
* crucial for users looking to expand their liquidity provision activities, offering
|
|
40
40
|
* them the opportunity to engage in decentralized finance (DeFi) markets effectively.
|
|
41
|
+
* <Info>
|
|
42
|
+
* **Required Allowances**
|
|
43
|
+
*
|
|
44
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
45
|
+
*
|
|
46
|
+
* - `AerodromeSlipstreamNonfungiblePositionManager`
|
|
47
|
+
* </Info>
|
|
41
48
|
*/
|
|
42
49
|
export function aerodromeSlipstreamSlipstreamLiquidityProvisionMint(
|
|
43
50
|
client: CompassApiSDKCore,
|
|
@@ -40,6 +40,13 @@ import { Result } from "../types/fp.js";
|
|
|
40
40
|
* assets and potentially reallocate them to other investment opportunities. The
|
|
41
41
|
* endpoint ensures a smooth and secure withdrawal process, facilitating users'
|
|
42
42
|
* strategic management of their decentralized finance (DeFi) portfolios.
|
|
43
|
+
* <Info>
|
|
44
|
+
* **Required Allowances**
|
|
45
|
+
*
|
|
46
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
47
|
+
*
|
|
48
|
+
* - `AerodromeSlipstreamNonfungiblePositionManager`
|
|
49
|
+
* </Info>
|
|
43
50
|
*/
|
|
44
51
|
export function aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw(
|
|
45
52
|
client: CompassApiSDKCore,
|
|
@@ -39,6 +39,13 @@ import { Result } from "../types/fp.js";
|
|
|
39
39
|
* transaction is executed with consideration of current market conditions, including
|
|
40
40
|
* liquidity and price impact, ensuring that the trade is completed efficiently and
|
|
41
41
|
* effectively.
|
|
42
|
+
* <Info>
|
|
43
|
+
* **Required Allowances**
|
|
44
|
+
*
|
|
45
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
46
|
+
*
|
|
47
|
+
* - `AerodromeSlipstreamRouter`
|
|
48
|
+
* </Info>
|
|
42
49
|
*/
|
|
43
50
|
export function aerodromeSlipstreamSlipstreamSwapBuyExactly(
|
|
44
51
|
client: CompassApiSDKCore,
|
|
@@ -38,6 +38,13 @@ import { Result } from "../types/fp.js";
|
|
|
38
38
|
* of the current market conditions, taking into account the liquidity and price
|
|
39
39
|
* impact. This endpoint is suitable for users who want to sell a precise quantity of a
|
|
40
40
|
* token and are willing to accept the resulting amount of the other token.
|
|
41
|
+
* <Info>
|
|
42
|
+
* **Required Allowances**
|
|
43
|
+
*
|
|
44
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
45
|
+
*
|
|
46
|
+
* - `AerodromeSlipstreamRouter`
|
|
47
|
+
* </Info>
|
|
41
48
|
*/
|
|
42
49
|
export function aerodromeSlipstreamSlipstreamSwapSellExactly(
|
|
43
50
|
client: CompassApiSDKCore,
|
|
@@ -32,6 +32,13 @@ import { Result } from "../types/fp.js";
|
|
|
32
32
|
* Deposit tokens into a Vault (ERC-4626 Standard) to earn passive yield.
|
|
33
33
|
*
|
|
34
34
|
* Each vault accepts one unique token that can be deposited.
|
|
35
|
+
* <Info>
|
|
36
|
+
* **Required Allowances**
|
|
37
|
+
*
|
|
38
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
39
|
+
*
|
|
40
|
+
* - `<vault_address>`
|
|
41
|
+
* </Info>
|
|
35
42
|
*/
|
|
36
43
|
export function erc4626VaultsDeposit(
|
|
37
44
|
client: CompassApiSDKCore,
|
|
@@ -34,6 +34,13 @@ import { Result } from "../types/fp.js";
|
|
|
34
34
|
* The passive yield earned on token deposits is represented by the increased value of
|
|
35
35
|
* the shares received upon depositing tokens. Trade in these shares for the tokens you
|
|
36
36
|
* deposited plus any accrued yield.
|
|
37
|
+
* <Info>
|
|
38
|
+
* **Required Allowances**
|
|
39
|
+
*
|
|
40
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
41
|
+
*
|
|
42
|
+
* - `<vault address>`
|
|
43
|
+
* </Info>
|
|
37
44
|
*/
|
|
38
45
|
export function erc4626VaultsWithdraw(
|
|
39
46
|
client: CompassApiSDKCore,
|
|
@@ -38,6 +38,13 @@ import { Result } from "../types/fp.js";
|
|
|
38
38
|
* loan asset. Each market is isolated (meaning risks are contained within each
|
|
39
39
|
* individual market), immutable (cannot be changed after deployment), and will persist
|
|
40
40
|
* as long as the blockchain it is deployed on is live.
|
|
41
|
+
* <Info>
|
|
42
|
+
* **Required Allowances**
|
|
43
|
+
*
|
|
44
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
45
|
+
*
|
|
46
|
+
* - `Morpho`
|
|
47
|
+
* </Info>
|
|
41
48
|
*/
|
|
42
49
|
export function morphoBorrow(
|
|
43
50
|
client: CompassApiSDKCore,
|
|
@@ -40,6 +40,13 @@ import { Result } from "../types/fp.js";
|
|
|
40
40
|
* exposure for all deposited assets so users don't need to make these decisions
|
|
41
41
|
* themselves. Users maintain full control over their assets, can monitor the vault's
|
|
42
42
|
* state at any time, and withdraw their liquidity at their discretion.
|
|
43
|
+
* <Info>
|
|
44
|
+
* **Required Allowances**
|
|
45
|
+
*
|
|
46
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
47
|
+
*
|
|
48
|
+
* - `USDC`
|
|
49
|
+
* </Info>
|
|
43
50
|
*/
|
|
44
51
|
export function morphoDeposit(
|
|
45
52
|
client: CompassApiSDKCore,
|
package/src/funcs/morphoRepay.ts
CHANGED
|
@@ -35,6 +35,13 @@ import { Result } from "../types/fp.js";
|
|
|
35
35
|
* loan asset. Each market is isolated (meaning risks are contained within each
|
|
36
36
|
* individual market), immutable (cannot be changed after deployment), and will persist
|
|
37
37
|
* as long as the blockchain it is deployed on is live.
|
|
38
|
+
* <Info>
|
|
39
|
+
* **Required Allowances**
|
|
40
|
+
*
|
|
41
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
42
|
+
*
|
|
43
|
+
* - `Morpho`
|
|
44
|
+
* </Info>
|
|
38
45
|
*/
|
|
39
46
|
export function morphoRepay(
|
|
40
47
|
client: CompassApiSDKCore,
|
|
@@ -35,6 +35,13 @@ import { Result } from "../types/fp.js";
|
|
|
35
35
|
* loan asset. Each market is isolated (meaning risks are contained within each
|
|
36
36
|
* individual market), immutable (cannot be changed after deployment), and will persist
|
|
37
37
|
* as long as the blockchain it is deployed on is live.
|
|
38
|
+
* <Info>
|
|
39
|
+
* **Required Allowances**
|
|
40
|
+
*
|
|
41
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
42
|
+
*
|
|
43
|
+
* - `Morpho`
|
|
44
|
+
* </Info>
|
|
38
45
|
*/
|
|
39
46
|
export function morphoSupplyCollateral(
|
|
40
47
|
client: CompassApiSDKCore,
|
|
@@ -40,6 +40,13 @@ import { Result } from "../types/fp.js";
|
|
|
40
40
|
* exposure for all deposited assets so users don't need to make these decisions
|
|
41
41
|
* themselves. Users maintain full control over their assets, can monitor the vault's
|
|
42
42
|
* state at any time, and withdraw their liquidity at their discretion.
|
|
43
|
+
* <Info>
|
|
44
|
+
* **Required Allowances**
|
|
45
|
+
*
|
|
46
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
47
|
+
*
|
|
48
|
+
* - `<token address>`
|
|
49
|
+
* </Info>
|
|
43
50
|
*/
|
|
44
51
|
export function morphoWithdraw(
|
|
45
52
|
client: CompassApiSDKCore,
|
|
@@ -35,6 +35,13 @@ import { Result } from "../types/fp.js";
|
|
|
35
35
|
* loan asset. Each market is isolated (meaning risks are contained within each
|
|
36
36
|
* individual market), immutable (cannot be changed after deployment), and will persist
|
|
37
37
|
* as long as the blockchain it is deployed on is live.
|
|
38
|
+
* <Info>
|
|
39
|
+
* **Required Allowances**
|
|
40
|
+
*
|
|
41
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
42
|
+
*
|
|
43
|
+
* - `Morpho`
|
|
44
|
+
* </Info>
|
|
38
45
|
*/
|
|
39
46
|
export function morphoWithdrawCollateral(
|
|
40
47
|
client: CompassApiSDKCore,
|
|
@@ -33,6 +33,13 @@ import { Result } from "../types/fp.js";
|
|
|
33
33
|
*
|
|
34
34
|
* Liquidity is added in the form of the market's Underlying Token. Representation of
|
|
35
35
|
* the liquidity received is the market's Liquidity Provider Token (LP).
|
|
36
|
+
* <Info>
|
|
37
|
+
* **Required Allowances**
|
|
38
|
+
*
|
|
39
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
40
|
+
*
|
|
41
|
+
* - `PendleRouter`
|
|
42
|
+
* </Info>
|
|
36
43
|
*/
|
|
37
44
|
export function pendleAddLiquidity(
|
|
38
45
|
client: CompassApiSDKCore,
|
package/src/funcs/pendleBuyPt.ts
CHANGED
|
@@ -30,6 +30,13 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
*
|
|
31
31
|
* @remarks
|
|
32
32
|
* Buy Principal Token (PT) with market's Underlying Token.
|
|
33
|
+
* <Info>
|
|
34
|
+
* **Required Allowances**
|
|
35
|
+
*
|
|
36
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
37
|
+
*
|
|
38
|
+
* - `PendleRouter`
|
|
39
|
+
* </Info>
|
|
33
40
|
*/
|
|
34
41
|
export function pendleBuyPt(
|
|
35
42
|
client: CompassApiSDKCore,
|
package/src/funcs/pendleBuyYt.ts
CHANGED
|
@@ -30,6 +30,13 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
*
|
|
31
31
|
* @remarks
|
|
32
32
|
* Buy Yield Token (YT) with market's Underlying Token.
|
|
33
|
+
* <Info>
|
|
34
|
+
* **Required Allowances**
|
|
35
|
+
*
|
|
36
|
+
* In order to make this transaction, token allowances need to be set on the following contracts.
|
|
37
|
+
*
|
|
38
|
+
* - `PendleRouter`
|
|
39
|
+
* </Info>
|
|
33
40
|
*/
|
|
34
41
|
export function pendleBuyYt(
|
|
35
42
|
client: CompassApiSDKCore,
|