@compass-labs/api-sdk 0.5.61 → 0.5.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -30
- package/bin/mcp-server.js +229 -463
- package/bin/mcp-server.js.map +40 -44
- package/dist/commonjs/funcs/pendleAddLiquidity.d.ts +8 -3
- package/dist/commonjs/funcs/pendleAddLiquidity.d.ts.map +1 -1
- package/dist/commonjs/funcs/pendleAddLiquidity.js +8 -3
- package/dist/commonjs/funcs/pendleAddLiquidity.js.map +1 -1
- package/dist/commonjs/funcs/pendleBuyPt.d.ts +6 -1
- package/dist/commonjs/funcs/pendleBuyPt.d.ts.map +1 -1
- package/dist/commonjs/funcs/pendleBuyPt.js +6 -1
- package/dist/commonjs/funcs/pendleBuyPt.js.map +1 -1
- package/dist/commonjs/funcs/pendleBuyYt.d.ts +6 -1
- package/dist/commonjs/funcs/pendleBuyYt.d.ts.map +1 -1
- package/dist/commonjs/funcs/pendleBuyYt.js +6 -1
- package/dist/commonjs/funcs/pendleBuyYt.js.map +1 -1
- package/dist/commonjs/funcs/pendleRemoveLiquidity.d.ts +5 -4
- package/dist/commonjs/funcs/pendleRemoveLiquidity.d.ts.map +1 -1
- package/dist/commonjs/funcs/pendleRemoveLiquidity.js +5 -4
- package/dist/commonjs/funcs/pendleRemoveLiquidity.js.map +1 -1
- package/dist/commonjs/funcs/pendleSellPt.d.ts +6 -1
- package/dist/commonjs/funcs/pendleSellPt.d.ts.map +1 -1
- package/dist/commonjs/funcs/pendleSellPt.js +6 -1
- package/dist/commonjs/funcs/pendleSellPt.js.map +1 -1
- package/dist/commonjs/funcs/pendleSellYt.d.ts +9 -1
- package/dist/commonjs/funcs/pendleSellYt.d.ts.map +1 -1
- package/dist/commonjs/funcs/pendleSellYt.js +9 -1
- package/dist/commonjs/funcs/pendleSellYt.js.map +1 -1
- package/dist/commonjs/funcs/{uniswapV3V0LiquidityProvisionInRange.d.ts → uniswapV3LiquidityProvisionInRange.d.ts} +2 -2
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionInRange.d.ts.map +1 -0
- package/dist/commonjs/funcs/{uniswapV3V0LiquidityProvisionInRange.js → uniswapV3LiquidityProvisionInRange.js} +3 -3
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionInRange.js.map +1 -0
- package/dist/{esm/funcs/uniswapV3V0LiquidityProvisionIncrease.d.ts → commonjs/funcs/uniswapV3LiquidityProvisionIncrease.d.ts} +2 -2
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionIncrease.d.ts.map +1 -0
- package/dist/commonjs/funcs/{uniswapV3V0LiquidityProvisionIncrease.js → uniswapV3LiquidityProvisionIncrease.js} +3 -3
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionIncrease.js.map +1 -0
- package/dist/{esm/funcs/uniswapV3V0LiquidityProvisionMint.d.ts → commonjs/funcs/uniswapV3LiquidityProvisionMint.d.ts} +2 -2
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionMint.d.ts.map +1 -0
- package/dist/commonjs/funcs/{uniswapV3V0LiquidityProvisionMint.js → uniswapV3LiquidityProvisionMint.js} +3 -3
- package/dist/commonjs/funcs/{uniswapV3V1UniswapSwapBuyExactly.js.map → uniswapV3LiquidityProvisionMint.js.map} +1 -1
- package/dist/{esm/funcs/uniswapV3V0LiquidityProvisionPositions.d.ts → commonjs/funcs/uniswapV3LiquidityProvisionPositions.d.ts} +2 -2
- package/dist/{esm/funcs/uniswapV3V0LiquidityProvisionInRange.d.ts.map → commonjs/funcs/uniswapV3LiquidityProvisionPositions.d.ts.map} +1 -1
- package/dist/commonjs/funcs/{uniswapV3V0LiquidityProvisionPositions.js → uniswapV3LiquidityProvisionPositions.js} +3 -3
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionPositions.js.map +1 -0
- package/dist/commonjs/funcs/{uniswapV3V0LiquidityProvisionWithdraw.d.ts → uniswapV3LiquidityProvisionWithdraw.d.ts} +2 -2
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionWithdraw.d.ts.map +1 -0
- package/dist/commonjs/funcs/{uniswapV3V0LiquidityProvisionWithdraw.js → uniswapV3LiquidityProvisionWithdraw.js} +3 -3
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionWithdraw.js.map +1 -0
- package/dist/commonjs/funcs/{uniswapV3V0PoolPrice.d.ts → uniswapV3PoolPrice.d.ts} +2 -2
- package/dist/commonjs/funcs/uniswapV3PoolPrice.d.ts.map +1 -0
- package/dist/commonjs/funcs/{uniswapV3V0PoolPrice.js → uniswapV3PoolPrice.js} +3 -3
- package/dist/commonjs/funcs/uniswapV3PoolPrice.js.map +1 -0
- package/dist/commonjs/funcs/{uniswapV3V0QuoteSellExactly.d.ts → uniswapV3QuoteBuyExactly.d.ts} +3 -3
- package/dist/commonjs/funcs/uniswapV3QuoteBuyExactly.d.ts.map +1 -0
- package/dist/commonjs/funcs/{uniswapV3V0QuoteBuyExactly.js → uniswapV3QuoteBuyExactly.js} +3 -3
- package/dist/commonjs/funcs/uniswapV3QuoteBuyExactly.js.map +1 -0
- package/dist/{esm/funcs/uniswapV3V0QuoteBuyExactly.d.ts → commonjs/funcs/uniswapV3QuoteSellExactly.d.ts} +3 -3
- package/dist/commonjs/funcs/uniswapV3QuoteSellExactly.d.ts.map +1 -0
- package/dist/commonjs/funcs/{uniswapV3V0QuoteSellExactly.js → uniswapV3QuoteSellExactly.js} +3 -3
- package/dist/commonjs/funcs/uniswapV3QuoteSellExactly.js.map +1 -0
- package/dist/{esm/funcs/uniswapV3V0SwapBuyExactly.d.ts → commonjs/funcs/uniswapV3SwapBuyExactly.d.ts} +2 -2
- package/dist/commonjs/funcs/uniswapV3SwapBuyExactly.d.ts.map +1 -0
- package/dist/commonjs/funcs/{uniswapV3V0SwapBuyExactly.js → uniswapV3SwapBuyExactly.js} +3 -3
- package/dist/commonjs/funcs/uniswapV3SwapBuyExactly.js.map +1 -0
- package/dist/commonjs/funcs/{uniswapV3V0SwapSellExactly.d.ts → uniswapV3SwapSellExactly.d.ts} +2 -2
- package/dist/commonjs/funcs/uniswapV3SwapSellExactly.d.ts.map +1 -0
- package/dist/commonjs/funcs/{uniswapV3V0SwapSellExactly.js → uniswapV3SwapSellExactly.js} +3 -3
- package/dist/commonjs/funcs/uniswapV3SwapSellExactly.js.map +1 -0
- 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.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/server.js +22 -24
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/pendleAddLiquidity.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/pendleAddLiquidity.js +8 -3
- 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 +6 -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 +6 -1
- package/dist/commonjs/mcp-server/tools/pendleBuyYt.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/pendleRemoveLiquidity.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/pendleRemoveLiquidity.js +5 -4
- 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 +6 -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/{uniswapV3V0LiquidityProvisionInRange.d.ts → uniswapV3LiquidityProvisionInRange.d.ts} +2 -2
- package/dist/commonjs/mcp-server/tools/uniswapV3LiquidityProvisionInRange.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{uniswapV3V0LiquidityProvisionInRange.js → uniswapV3LiquidityProvisionInRange.js} +6 -6
- package/dist/commonjs/mcp-server/tools/uniswapV3LiquidityProvisionInRange.js.map +1 -0
- package/dist/{esm/mcp-server/tools/uniswapV3V0LiquidityProvisionIncrease.d.ts → commonjs/mcp-server/tools/uniswapV3LiquidityProvisionIncrease.d.ts} +2 -2
- package/dist/commonjs/mcp-server/tools/uniswapV3LiquidityProvisionIncrease.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{uniswapV3V0LiquidityProvisionIncrease.js → uniswapV3LiquidityProvisionIncrease.js} +6 -6
- package/dist/commonjs/mcp-server/tools/uniswapV3LiquidityProvisionIncrease.js.map +1 -0
- package/dist/{esm/mcp-server/tools/uniswapV3V0LiquidityProvisionMint.d.ts → commonjs/mcp-server/tools/uniswapV3LiquidityProvisionMint.d.ts} +2 -2
- package/dist/commonjs/mcp-server/tools/uniswapV3LiquidityProvisionMint.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{uniswapV3V0LiquidityProvisionMint.js → uniswapV3LiquidityProvisionMint.js} +6 -6
- package/dist/commonjs/mcp-server/tools/uniswapV3LiquidityProvisionMint.js.map +1 -0
- package/dist/{esm/mcp-server/tools/uniswapV3V0LiquidityProvisionPositions.d.ts → commonjs/mcp-server/tools/uniswapV3LiquidityProvisionPositions.d.ts} +2 -2
- package/dist/commonjs/mcp-server/tools/{uniswapV3V0LiquidityProvisionInRange.d.ts.map → uniswapV3LiquidityProvisionPositions.d.ts.map} +1 -1
- package/dist/commonjs/mcp-server/tools/{uniswapV3V0LiquidityProvisionPositions.js → uniswapV3LiquidityProvisionPositions.js} +6 -6
- package/dist/commonjs/mcp-server/tools/uniswapV3LiquidityProvisionPositions.js.map +1 -0
- package/dist/{esm/mcp-server/tools/uniswapV3V0LiquidityProvisionWithdraw.d.ts → commonjs/mcp-server/tools/uniswapV3LiquidityProvisionWithdraw.d.ts} +2 -2
- package/dist/commonjs/mcp-server/tools/uniswapV3LiquidityProvisionWithdraw.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{uniswapV3V0LiquidityProvisionWithdraw.js → uniswapV3LiquidityProvisionWithdraw.js} +6 -6
- package/dist/commonjs/mcp-server/tools/uniswapV3LiquidityProvisionWithdraw.js.map +1 -0
- package/dist/{esm/mcp-server/tools/uniswapV3V0PoolPrice.d.ts → commonjs/mcp-server/tools/uniswapV3PoolPrice.d.ts} +2 -2
- package/dist/commonjs/mcp-server/tools/uniswapV3PoolPrice.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{uniswapV3V0PoolPrice.js → uniswapV3PoolPrice.js} +6 -6
- package/dist/commonjs/mcp-server/tools/uniswapV3PoolPrice.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/{uniswapV3V0QuoteBuyExactly.d.ts → uniswapV3QuoteBuyExactly.d.ts} +2 -2
- package/dist/commonjs/mcp-server/tools/uniswapV3QuoteBuyExactly.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{uniswapV3V0QuoteBuyExactly.js → uniswapV3QuoteBuyExactly.js} +6 -6
- package/dist/commonjs/mcp-server/tools/uniswapV3QuoteBuyExactly.js.map +1 -0
- package/dist/{esm/mcp-server/tools/uniswapV3V0QuoteSellExactly.d.ts → commonjs/mcp-server/tools/uniswapV3QuoteSellExactly.d.ts} +2 -2
- package/dist/commonjs/mcp-server/tools/uniswapV3QuoteSellExactly.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{uniswapV3V0QuoteSellExactly.js → uniswapV3QuoteSellExactly.js} +6 -6
- package/dist/commonjs/mcp-server/tools/uniswapV3QuoteSellExactly.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/{uniswapV3V0SwapBuyExactly.d.ts → uniswapV3SwapBuyExactly.d.ts} +2 -2
- package/dist/commonjs/mcp-server/tools/uniswapV3SwapBuyExactly.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{uniswapV3V0SwapBuyExactly.js → uniswapV3SwapBuyExactly.js} +6 -6
- package/dist/commonjs/mcp-server/tools/uniswapV3SwapBuyExactly.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/{uniswapV3V0SwapSellExactly.d.ts → uniswapV3SwapSellExactly.d.ts} +2 -2
- package/dist/commonjs/mcp-server/tools/uniswapV3SwapSellExactly.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{uniswapV3V0SwapSellExactly.js → uniswapV3SwapSellExactly.js} +6 -6
- package/dist/commonjs/mcp-server/tools/uniswapV3SwapSellExactly.js.map +1 -0
- package/dist/commonjs/models/components/index.d.ts +0 -2
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +0 -2
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/useroperation.d.ts +0 -9
- package/dist/commonjs/models/components/useroperation.d.ts.map +1 -1
- package/dist/commonjs/models/components/useroperation.js +0 -5
- package/dist/commonjs/models/components/useroperation.js.map +1 -1
- package/dist/commonjs/sdk/pendle.d.ts +48 -19
- package/dist/commonjs/sdk/pendle.d.ts.map +1 -1
- package/dist/commonjs/sdk/pendle.js +51 -22
- package/dist/commonjs/sdk/pendle.js.map +1 -1
- package/dist/commonjs/sdk/sdk.d.ts +3 -6
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +3 -7
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/{esm/sdk/uniswapv3v0.d.ts → commonjs/sdk/uniswapv3.d.ts} +2 -2
- package/dist/commonjs/sdk/uniswapv3.d.ts.map +1 -0
- package/dist/commonjs/sdk/{uniswapv3v0.js → uniswapv3.js} +24 -24
- package/dist/commonjs/sdk/uniswapv3.js.map +1 -0
- package/dist/esm/funcs/pendleAddLiquidity.d.ts +8 -3
- package/dist/esm/funcs/pendleAddLiquidity.d.ts.map +1 -1
- package/dist/esm/funcs/pendleAddLiquidity.js +8 -3
- package/dist/esm/funcs/pendleAddLiquidity.js.map +1 -1
- package/dist/esm/funcs/pendleBuyPt.d.ts +6 -1
- package/dist/esm/funcs/pendleBuyPt.d.ts.map +1 -1
- package/dist/esm/funcs/pendleBuyPt.js +6 -1
- package/dist/esm/funcs/pendleBuyPt.js.map +1 -1
- package/dist/esm/funcs/pendleBuyYt.d.ts +6 -1
- package/dist/esm/funcs/pendleBuyYt.d.ts.map +1 -1
- package/dist/esm/funcs/pendleBuyYt.js +6 -1
- package/dist/esm/funcs/pendleBuyYt.js.map +1 -1
- package/dist/esm/funcs/pendleRemoveLiquidity.d.ts +5 -4
- package/dist/esm/funcs/pendleRemoveLiquidity.d.ts.map +1 -1
- package/dist/esm/funcs/pendleRemoveLiquidity.js +5 -4
- package/dist/esm/funcs/pendleRemoveLiquidity.js.map +1 -1
- package/dist/esm/funcs/pendleSellPt.d.ts +6 -1
- package/dist/esm/funcs/pendleSellPt.d.ts.map +1 -1
- package/dist/esm/funcs/pendleSellPt.js +6 -1
- package/dist/esm/funcs/pendleSellPt.js.map +1 -1
- package/dist/esm/funcs/pendleSellYt.d.ts +9 -1
- package/dist/esm/funcs/pendleSellYt.d.ts.map +1 -1
- package/dist/esm/funcs/pendleSellYt.js +9 -1
- package/dist/esm/funcs/pendleSellYt.js.map +1 -1
- package/dist/esm/funcs/{uniswapV3V0LiquidityProvisionInRange.d.ts → uniswapV3LiquidityProvisionInRange.d.ts} +2 -2
- package/dist/esm/funcs/uniswapV3LiquidityProvisionInRange.d.ts.map +1 -0
- package/dist/esm/funcs/{uniswapV3V0LiquidityProvisionInRange.js → uniswapV3LiquidityProvisionInRange.js} +2 -2
- package/dist/esm/funcs/uniswapV3LiquidityProvisionInRange.js.map +1 -0
- package/dist/{commonjs/funcs/uniswapV3V0LiquidityProvisionIncrease.d.ts → esm/funcs/uniswapV3LiquidityProvisionIncrease.d.ts} +2 -2
- package/dist/esm/funcs/uniswapV3LiquidityProvisionIncrease.d.ts.map +1 -0
- package/dist/esm/funcs/{uniswapV3V0LiquidityProvisionIncrease.js → uniswapV3LiquidityProvisionIncrease.js} +2 -2
- package/dist/esm/funcs/uniswapV3LiquidityProvisionIncrease.js.map +1 -0
- package/dist/{commonjs/funcs/uniswapV3V0LiquidityProvisionMint.d.ts → esm/funcs/uniswapV3LiquidityProvisionMint.d.ts} +2 -2
- package/dist/esm/funcs/uniswapV3LiquidityProvisionMint.d.ts.map +1 -0
- package/dist/esm/funcs/{uniswapV3V0LiquidityProvisionMint.js → uniswapV3LiquidityProvisionMint.js} +2 -2
- package/dist/esm/funcs/{uniswapV3V1UniswapSwapBuyExactly.js.map → uniswapV3LiquidityProvisionMint.js.map} +1 -1
- package/dist/{commonjs/funcs/uniswapV3V0LiquidityProvisionPositions.d.ts → esm/funcs/uniswapV3LiquidityProvisionPositions.d.ts} +2 -2
- package/dist/{commonjs/funcs/uniswapV3V0LiquidityProvisionInRange.d.ts.map → esm/funcs/uniswapV3LiquidityProvisionPositions.d.ts.map} +1 -1
- package/dist/esm/funcs/{uniswapV3V0LiquidityProvisionPositions.js → uniswapV3LiquidityProvisionPositions.js} +2 -2
- package/dist/esm/funcs/uniswapV3LiquidityProvisionPositions.js.map +1 -0
- package/dist/esm/funcs/{uniswapV3V0LiquidityProvisionWithdraw.d.ts → uniswapV3LiquidityProvisionWithdraw.d.ts} +2 -2
- package/dist/esm/funcs/uniswapV3LiquidityProvisionWithdraw.d.ts.map +1 -0
- package/dist/esm/funcs/{uniswapV3V0LiquidityProvisionWithdraw.js → uniswapV3LiquidityProvisionWithdraw.js} +2 -2
- package/dist/esm/funcs/uniswapV3LiquidityProvisionWithdraw.js.map +1 -0
- package/dist/esm/funcs/{uniswapV3V0PoolPrice.d.ts → uniswapV3PoolPrice.d.ts} +2 -2
- package/dist/esm/funcs/uniswapV3PoolPrice.d.ts.map +1 -0
- package/dist/esm/funcs/{uniswapV3V0PoolPrice.js → uniswapV3PoolPrice.js} +2 -2
- package/dist/esm/funcs/uniswapV3PoolPrice.js.map +1 -0
- package/dist/esm/funcs/{uniswapV3V0QuoteSellExactly.d.ts → uniswapV3QuoteBuyExactly.d.ts} +3 -3
- package/dist/esm/funcs/uniswapV3QuoteBuyExactly.d.ts.map +1 -0
- package/dist/esm/funcs/{uniswapV3V0QuoteBuyExactly.js → uniswapV3QuoteBuyExactly.js} +2 -2
- package/dist/esm/funcs/uniswapV3QuoteBuyExactly.js.map +1 -0
- package/dist/{commonjs/funcs/uniswapV3V0QuoteBuyExactly.d.ts → esm/funcs/uniswapV3QuoteSellExactly.d.ts} +3 -3
- package/dist/esm/funcs/uniswapV3QuoteSellExactly.d.ts.map +1 -0
- package/dist/esm/funcs/{uniswapV3V0QuoteSellExactly.js → uniswapV3QuoteSellExactly.js} +2 -2
- package/dist/esm/funcs/uniswapV3QuoteSellExactly.js.map +1 -0
- package/dist/{commonjs/funcs/uniswapV3V0SwapBuyExactly.d.ts → esm/funcs/uniswapV3SwapBuyExactly.d.ts} +2 -2
- package/dist/esm/funcs/uniswapV3SwapBuyExactly.d.ts.map +1 -0
- package/dist/esm/funcs/{uniswapV3V0SwapBuyExactly.js → uniswapV3SwapBuyExactly.js} +2 -2
- package/dist/esm/funcs/uniswapV3SwapBuyExactly.js.map +1 -0
- package/dist/esm/funcs/{uniswapV3V0SwapSellExactly.d.ts → uniswapV3SwapSellExactly.d.ts} +2 -2
- package/dist/esm/funcs/uniswapV3SwapSellExactly.d.ts.map +1 -0
- package/dist/esm/funcs/{uniswapV3V0SwapSellExactly.js → uniswapV3SwapSellExactly.js} +2 -2
- package/dist/esm/funcs/uniswapV3SwapSellExactly.js.map +1 -0
- 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.d.ts.map +1 -1
- package/dist/esm/mcp-server/server.js +22 -24
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/pendleAddLiquidity.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/pendleAddLiquidity.js +8 -3
- 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 +6 -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 +6 -1
- package/dist/esm/mcp-server/tools/pendleBuyYt.js.map +1 -1
- package/dist/esm/mcp-server/tools/pendleRemoveLiquidity.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/pendleRemoveLiquidity.js +5 -4
- 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 +6 -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/{uniswapV3V0LiquidityProvisionInRange.d.ts → uniswapV3LiquidityProvisionInRange.d.ts} +2 -2
- package/dist/esm/mcp-server/tools/uniswapV3LiquidityProvisionInRange.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/{uniswapV3V0LiquidityProvisionInRange.js → uniswapV3LiquidityProvisionInRange.js} +5 -5
- package/dist/esm/mcp-server/tools/uniswapV3LiquidityProvisionInRange.js.map +1 -0
- package/dist/{commonjs/mcp-server/tools/uniswapV3V0LiquidityProvisionIncrease.d.ts → esm/mcp-server/tools/uniswapV3LiquidityProvisionIncrease.d.ts} +2 -2
- package/dist/esm/mcp-server/tools/uniswapV3LiquidityProvisionIncrease.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/{uniswapV3V0LiquidityProvisionIncrease.js → uniswapV3LiquidityProvisionIncrease.js} +5 -5
- package/dist/esm/mcp-server/tools/uniswapV3LiquidityProvisionIncrease.js.map +1 -0
- package/dist/{commonjs/mcp-server/tools/uniswapV3V0LiquidityProvisionMint.d.ts → esm/mcp-server/tools/uniswapV3LiquidityProvisionMint.d.ts} +2 -2
- package/dist/esm/mcp-server/tools/uniswapV3LiquidityProvisionMint.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/{uniswapV3V0LiquidityProvisionMint.js → uniswapV3LiquidityProvisionMint.js} +5 -5
- package/dist/esm/mcp-server/tools/uniswapV3LiquidityProvisionMint.js.map +1 -0
- package/dist/{commonjs/mcp-server/tools/uniswapV3V0LiquidityProvisionPositions.d.ts → esm/mcp-server/tools/uniswapV3LiquidityProvisionPositions.d.ts} +2 -2
- package/dist/esm/mcp-server/tools/{uniswapV3V0LiquidityProvisionInRange.d.ts.map → uniswapV3LiquidityProvisionPositions.d.ts.map} +1 -1
- package/dist/esm/mcp-server/tools/{uniswapV3V0LiquidityProvisionPositions.js → uniswapV3LiquidityProvisionPositions.js} +5 -5
- package/dist/esm/mcp-server/tools/uniswapV3LiquidityProvisionPositions.js.map +1 -0
- package/dist/{commonjs/mcp-server/tools/uniswapV3V0LiquidityProvisionWithdraw.d.ts → esm/mcp-server/tools/uniswapV3LiquidityProvisionWithdraw.d.ts} +2 -2
- package/dist/esm/mcp-server/tools/uniswapV3LiquidityProvisionWithdraw.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/{uniswapV3V0LiquidityProvisionWithdraw.js → uniswapV3LiquidityProvisionWithdraw.js} +5 -5
- package/dist/esm/mcp-server/tools/uniswapV3LiquidityProvisionWithdraw.js.map +1 -0
- package/dist/{commonjs/mcp-server/tools/uniswapV3V0PoolPrice.d.ts → esm/mcp-server/tools/uniswapV3PoolPrice.d.ts} +2 -2
- package/dist/esm/mcp-server/tools/uniswapV3PoolPrice.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/{uniswapV3V0PoolPrice.js → uniswapV3PoolPrice.js} +5 -5
- package/dist/esm/mcp-server/tools/uniswapV3PoolPrice.js.map +1 -0
- package/dist/esm/mcp-server/tools/{uniswapV3V0QuoteBuyExactly.d.ts → uniswapV3QuoteBuyExactly.d.ts} +2 -2
- package/dist/esm/mcp-server/tools/uniswapV3QuoteBuyExactly.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/{uniswapV3V0QuoteBuyExactly.js → uniswapV3QuoteBuyExactly.js} +5 -5
- package/dist/esm/mcp-server/tools/uniswapV3QuoteBuyExactly.js.map +1 -0
- package/dist/{commonjs/mcp-server/tools/uniswapV3V0QuoteSellExactly.d.ts → esm/mcp-server/tools/uniswapV3QuoteSellExactly.d.ts} +2 -2
- package/dist/esm/mcp-server/tools/uniswapV3QuoteSellExactly.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/{uniswapV3V0QuoteSellExactly.js → uniswapV3QuoteSellExactly.js} +5 -5
- package/dist/esm/mcp-server/tools/uniswapV3QuoteSellExactly.js.map +1 -0
- package/dist/esm/mcp-server/tools/{uniswapV3V0SwapBuyExactly.d.ts → uniswapV3SwapBuyExactly.d.ts} +2 -2
- package/dist/esm/mcp-server/tools/uniswapV3SwapBuyExactly.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/{uniswapV3V0SwapBuyExactly.js → uniswapV3SwapBuyExactly.js} +5 -5
- package/dist/esm/mcp-server/tools/uniswapV3SwapBuyExactly.js.map +1 -0
- package/dist/esm/mcp-server/tools/{uniswapV3V0SwapSellExactly.d.ts → uniswapV3SwapSellExactly.d.ts} +2 -2
- package/dist/esm/mcp-server/tools/uniswapV3SwapSellExactly.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/{uniswapV3V0SwapSellExactly.js → uniswapV3SwapSellExactly.js} +5 -5
- package/dist/esm/mcp-server/tools/uniswapV3SwapSellExactly.js.map +1 -0
- package/dist/esm/models/components/index.d.ts +0 -2
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +0 -2
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/useroperation.d.ts +0 -9
- package/dist/esm/models/components/useroperation.d.ts.map +1 -1
- package/dist/esm/models/components/useroperation.js +0 -5
- package/dist/esm/models/components/useroperation.js.map +1 -1
- package/dist/esm/sdk/pendle.d.ts +48 -19
- package/dist/esm/sdk/pendle.d.ts.map +1 -1
- package/dist/esm/sdk/pendle.js +51 -22
- package/dist/esm/sdk/pendle.js.map +1 -1
- package/dist/esm/sdk/sdk.d.ts +3 -6
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +3 -7
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/dist/{commonjs/sdk/uniswapv3v0.d.ts → esm/sdk/uniswapv3.d.ts} +2 -2
- package/dist/esm/sdk/uniswapv3.d.ts.map +1 -0
- package/dist/esm/sdk/{uniswapv3v0.js → uniswapv3.js} +22 -22
- package/dist/esm/sdk/uniswapv3.js.map +1 -0
- package/docs/sdks/pendle/README.md +73 -44
- package/docs/sdks/{uniswapv3v0 → uniswapv3}/README.md +42 -42
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/pendleAddLiquidity.ts +8 -3
- package/src/funcs/pendleBuyPt.ts +6 -1
- package/src/funcs/pendleBuyYt.ts +6 -1
- package/src/funcs/pendleRemoveLiquidity.ts +5 -4
- package/src/funcs/pendleSellPt.ts +6 -1
- package/src/funcs/pendleSellYt.ts +9 -1
- package/src/funcs/{uniswapV3V0LiquidityProvisionInRange.ts → uniswapV3LiquidityProvisionInRange.ts} +1 -1
- package/src/funcs/{uniswapV3V0LiquidityProvisionIncrease.ts → uniswapV3LiquidityProvisionIncrease.ts} +1 -1
- package/src/funcs/{uniswapV3V0LiquidityProvisionMint.ts → uniswapV3LiquidityProvisionMint.ts} +1 -1
- package/src/funcs/{uniswapV3V0LiquidityProvisionPositions.ts → uniswapV3LiquidityProvisionPositions.ts} +1 -1
- package/src/funcs/{uniswapV3V0LiquidityProvisionWithdraw.ts → uniswapV3LiquidityProvisionWithdraw.ts} +1 -1
- package/src/funcs/{uniswapV3V0PoolPrice.ts → uniswapV3PoolPrice.ts} +1 -1
- package/src/funcs/{uniswapV3V0QuoteBuyExactly.ts → uniswapV3QuoteBuyExactly.ts} +1 -1
- package/src/funcs/{uniswapV3V0QuoteSellExactly.ts → uniswapV3QuoteSellExactly.ts} +1 -1
- package/src/funcs/{uniswapV3V0SwapBuyExactly.ts → uniswapV3SwapBuyExactly.ts} +1 -1
- package/src/funcs/{uniswapV3V0SwapSellExactly.ts → uniswapV3SwapSellExactly.ts} +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +22 -24
- package/src/mcp-server/tools/pendleAddLiquidity.ts +8 -3
- package/src/mcp-server/tools/pendleBuyPt.ts +6 -1
- package/src/mcp-server/tools/pendleBuyYt.ts +6 -1
- package/src/mcp-server/tools/pendleRemoveLiquidity.ts +5 -4
- package/src/mcp-server/tools/pendleSellPt.ts +6 -1
- package/src/mcp-server/tools/pendleSellYt.ts +9 -1
- package/src/mcp-server/tools/{uniswapV3V0LiquidityProvisionInRange.ts → uniswapV3LiquidityProvisionInRange.ts} +4 -4
- package/src/mcp-server/tools/{uniswapV3V0LiquidityProvisionIncrease.ts → uniswapV3LiquidityProvisionIncrease.ts} +4 -4
- package/src/mcp-server/tools/{uniswapV3V0LiquidityProvisionMint.ts → uniswapV3LiquidityProvisionMint.ts} +25 -26
- package/src/mcp-server/tools/{uniswapV3V0LiquidityProvisionPositions.ts → uniswapV3LiquidityProvisionPositions.ts} +4 -4
- package/src/mcp-server/tools/{uniswapV3V0LiquidityProvisionWithdraw.ts → uniswapV3LiquidityProvisionWithdraw.ts} +4 -4
- package/src/mcp-server/tools/{uniswapV3V0PoolPrice.ts → uniswapV3PoolPrice.ts} +4 -4
- package/src/mcp-server/tools/{uniswapV3V0QuoteBuyExactly.ts → uniswapV3QuoteBuyExactly.ts} +4 -4
- package/src/mcp-server/tools/{uniswapV3V0QuoteSellExactly.ts → uniswapV3QuoteSellExactly.ts} +4 -4
- package/src/mcp-server/tools/{uniswapV3V0SwapBuyExactly.ts → uniswapV3SwapBuyExactly.ts} +4 -4
- package/src/mcp-server/tools/{uniswapV3V0SwapSellExactly.ts → uniswapV3SwapSellExactly.ts} +4 -4
- package/src/models/components/index.ts +0 -2
- package/src/models/components/useroperation.ts +0 -34
- package/src/sdk/pendle.ts +54 -25
- package/src/sdk/sdk.ts +4 -10
- package/src/sdk/{uniswapv3v0.ts → uniswapv3.ts} +21 -21
- package/dist/commonjs/funcs/uniswapV3V0LiquidityProvisionInRange.js.map +0 -1
- package/dist/commonjs/funcs/uniswapV3V0LiquidityProvisionIncrease.d.ts.map +0 -1
- package/dist/commonjs/funcs/uniswapV3V0LiquidityProvisionIncrease.js.map +0 -1
- package/dist/commonjs/funcs/uniswapV3V0LiquidityProvisionMint.d.ts.map +0 -1
- package/dist/commonjs/funcs/uniswapV3V0LiquidityProvisionMint.js.map +0 -1
- package/dist/commonjs/funcs/uniswapV3V0LiquidityProvisionPositions.d.ts.map +0 -1
- package/dist/commonjs/funcs/uniswapV3V0LiquidityProvisionPositions.js.map +0 -1
- package/dist/commonjs/funcs/uniswapV3V0LiquidityProvisionWithdraw.d.ts.map +0 -1
- package/dist/commonjs/funcs/uniswapV3V0LiquidityProvisionWithdraw.js.map +0 -1
- package/dist/commonjs/funcs/uniswapV3V0PoolPrice.d.ts.map +0 -1
- package/dist/commonjs/funcs/uniswapV3V0PoolPrice.js.map +0 -1
- package/dist/commonjs/funcs/uniswapV3V0QuoteBuyExactly.d.ts.map +0 -1
- package/dist/commonjs/funcs/uniswapV3V0QuoteBuyExactly.js.map +0 -1
- package/dist/commonjs/funcs/uniswapV3V0QuoteSellExactly.d.ts.map +0 -1
- package/dist/commonjs/funcs/uniswapV3V0QuoteSellExactly.js.map +0 -1
- package/dist/commonjs/funcs/uniswapV3V0SwapBuyExactly.d.ts.map +0 -1
- package/dist/commonjs/funcs/uniswapV3V0SwapBuyExactly.js.map +0 -1
- package/dist/commonjs/funcs/uniswapV3V0SwapSellExactly.d.ts.map +0 -1
- package/dist/commonjs/funcs/uniswapV3V0SwapSellExactly.js.map +0 -1
- package/dist/commonjs/funcs/uniswapV3V1UniswapSwapBuyExactly.d.ts +0 -31
- package/dist/commonjs/funcs/uniswapV3V1UniswapSwapBuyExactly.d.ts.map +0 -1
- package/dist/commonjs/funcs/uniswapV3V1UniswapSwapBuyExactly.js +0 -131
- package/dist/commonjs/mcp-server/tools/uniswapV3V0LiquidityProvisionInRange.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3V0LiquidityProvisionIncrease.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3V0LiquidityProvisionIncrease.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3V0LiquidityProvisionMint.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3V0LiquidityProvisionMint.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3V0LiquidityProvisionPositions.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3V0LiquidityProvisionPositions.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3V0LiquidityProvisionWithdraw.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3V0LiquidityProvisionWithdraw.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3V0PoolPrice.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3V0PoolPrice.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3V0QuoteBuyExactly.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3V0QuoteBuyExactly.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3V0QuoteSellExactly.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3V0QuoteSellExactly.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3V0SwapBuyExactly.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3V0SwapBuyExactly.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3V0SwapSellExactly.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3V0SwapSellExactly.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3V1UniswapSwapBuyExactly.d.ts +0 -8
- package/dist/commonjs/mcp-server/tools/uniswapV3V1UniswapSwapBuyExactly.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3V1UniswapSwapBuyExactly.js +0 -78
- package/dist/commonjs/mcp-server/tools/uniswapV3V1UniswapSwapBuyExactly.js.map +0 -1
- package/dist/commonjs/models/components/uniswapbuyexactlyparamsv1.d.ts +0 -132
- package/dist/commonjs/models/components/uniswapbuyexactlyparamsv1.d.ts.map +0 -1
- package/dist/commonjs/models/components/uniswapbuyexactlyparamsv1.js +0 -165
- package/dist/commonjs/models/components/uniswapbuyexactlyparamsv1.js.map +0 -1
- package/dist/commonjs/models/components/uniswapbuyexactlyrequestv1.d.ts +0 -171
- package/dist/commonjs/models/components/uniswapbuyexactlyrequestv1.d.ts.map +0 -1
- package/dist/commonjs/models/components/uniswapbuyexactlyrequestv1.js +0 -189
- package/dist/commonjs/models/components/uniswapbuyexactlyrequestv1.js.map +0 -1
- package/dist/commonjs/sdk/uniswapv3v0.d.ts.map +0 -1
- package/dist/commonjs/sdk/uniswapv3v0.js.map +0 -1
- package/dist/commonjs/sdk/uniswapv3v1.d.ts +0 -25
- package/dist/commonjs/sdk/uniswapv3v1.d.ts.map +0 -1
- package/dist/commonjs/sdk/uniswapv3v1.js +0 -35
- package/dist/commonjs/sdk/uniswapv3v1.js.map +0 -1
- package/dist/esm/funcs/uniswapV3V0LiquidityProvisionInRange.js.map +0 -1
- package/dist/esm/funcs/uniswapV3V0LiquidityProvisionIncrease.d.ts.map +0 -1
- package/dist/esm/funcs/uniswapV3V0LiquidityProvisionIncrease.js.map +0 -1
- package/dist/esm/funcs/uniswapV3V0LiquidityProvisionMint.d.ts.map +0 -1
- package/dist/esm/funcs/uniswapV3V0LiquidityProvisionMint.js.map +0 -1
- package/dist/esm/funcs/uniswapV3V0LiquidityProvisionPositions.d.ts.map +0 -1
- package/dist/esm/funcs/uniswapV3V0LiquidityProvisionPositions.js.map +0 -1
- package/dist/esm/funcs/uniswapV3V0LiquidityProvisionWithdraw.d.ts.map +0 -1
- package/dist/esm/funcs/uniswapV3V0LiquidityProvisionWithdraw.js.map +0 -1
- package/dist/esm/funcs/uniswapV3V0PoolPrice.d.ts.map +0 -1
- package/dist/esm/funcs/uniswapV3V0PoolPrice.js.map +0 -1
- package/dist/esm/funcs/uniswapV3V0QuoteBuyExactly.d.ts.map +0 -1
- package/dist/esm/funcs/uniswapV3V0QuoteBuyExactly.js.map +0 -1
- package/dist/esm/funcs/uniswapV3V0QuoteSellExactly.d.ts.map +0 -1
- package/dist/esm/funcs/uniswapV3V0QuoteSellExactly.js.map +0 -1
- package/dist/esm/funcs/uniswapV3V0SwapBuyExactly.d.ts.map +0 -1
- package/dist/esm/funcs/uniswapV3V0SwapBuyExactly.js.map +0 -1
- package/dist/esm/funcs/uniswapV3V0SwapSellExactly.d.ts.map +0 -1
- package/dist/esm/funcs/uniswapV3V0SwapSellExactly.js.map +0 -1
- package/dist/esm/funcs/uniswapV3V1UniswapSwapBuyExactly.d.ts +0 -31
- package/dist/esm/funcs/uniswapV3V1UniswapSwapBuyExactly.d.ts.map +0 -1
- package/dist/esm/funcs/uniswapV3V1UniswapSwapBuyExactly.js +0 -95
- package/dist/esm/mcp-server/tools/uniswapV3V0LiquidityProvisionInRange.js.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3V0LiquidityProvisionIncrease.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3V0LiquidityProvisionIncrease.js.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3V0LiquidityProvisionMint.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3V0LiquidityProvisionMint.js.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3V0LiquidityProvisionPositions.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3V0LiquidityProvisionPositions.js.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3V0LiquidityProvisionWithdraw.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3V0LiquidityProvisionWithdraw.js.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3V0PoolPrice.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3V0PoolPrice.js.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3V0QuoteBuyExactly.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3V0QuoteBuyExactly.js.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3V0QuoteSellExactly.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3V0QuoteSellExactly.js.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3V0SwapBuyExactly.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3V0SwapBuyExactly.js.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3V0SwapSellExactly.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3V0SwapSellExactly.js.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3V1UniswapSwapBuyExactly.d.ts +0 -8
- package/dist/esm/mcp-server/tools/uniswapV3V1UniswapSwapBuyExactly.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3V1UniswapSwapBuyExactly.js +0 -42
- package/dist/esm/mcp-server/tools/uniswapV3V1UniswapSwapBuyExactly.js.map +0 -1
- package/dist/esm/models/components/uniswapbuyexactlyparamsv1.d.ts +0 -132
- package/dist/esm/models/components/uniswapbuyexactlyparamsv1.d.ts.map +0 -1
- package/dist/esm/models/components/uniswapbuyexactlyparamsv1.js +0 -121
- package/dist/esm/models/components/uniswapbuyexactlyparamsv1.js.map +0 -1
- package/dist/esm/models/components/uniswapbuyexactlyrequestv1.d.ts +0 -171
- package/dist/esm/models/components/uniswapbuyexactlyrequestv1.d.ts.map +0 -1
- package/dist/esm/models/components/uniswapbuyexactlyrequestv1.js +0 -145
- package/dist/esm/models/components/uniswapbuyexactlyrequestv1.js.map +0 -1
- package/dist/esm/sdk/uniswapv3v0.d.ts.map +0 -1
- package/dist/esm/sdk/uniswapv3v0.js.map +0 -1
- package/dist/esm/sdk/uniswapv3v1.d.ts +0 -25
- package/dist/esm/sdk/uniswapv3v1.d.ts.map +0 -1
- package/dist/esm/sdk/uniswapv3v1.js +0 -31
- package/dist/esm/sdk/uniswapv3v1.js.map +0 -1
- package/docs/sdks/uniswapv3v1/README.md +0 -108
- package/src/funcs/uniswapV3V1UniswapSwapBuyExactly.ts +0 -183
- package/src/mcp-server/tools/uniswapV3V1UniswapSwapBuyExactly.ts +0 -53
- package/src/models/components/uniswapbuyexactlyparamsv1.ts +0 -300
- package/src/models/components/uniswapbuyexactlyrequestv1.ts +0 -347
- package/src/sdk/uniswapv3v1.ts +0 -40
package/bin/mcp-server.js
CHANGED
|
@@ -34264,9 +34264,9 @@ var init_config = __esm(() => {
|
|
|
34264
34264
|
SDK_METADATA = {
|
|
34265
34265
|
language: "typescript",
|
|
34266
34266
|
openapiDocVersion: "0.0.1",
|
|
34267
|
-
sdkVersion: "0.5.
|
|
34267
|
+
sdkVersion: "0.5.63",
|
|
34268
34268
|
genVersion: "2.667.0",
|
|
34269
|
-
userAgent: "speakeasy-sdk/typescript 0.5.
|
|
34269
|
+
userAgent: "speakeasy-sdk/typescript 0.5.63 2.667.0 0.0.1 @compass-labs/api-sdk"
|
|
34270
34270
|
};
|
|
34271
34271
|
});
|
|
34272
34272
|
|
|
@@ -38974,67 +38974,6 @@ var init_uniswapbuyexactlyparams = __esm(() => {
|
|
|
38974
38974
|
})(UniswapBuyExactlyParams$ ||= {});
|
|
38975
38975
|
});
|
|
38976
38976
|
|
|
38977
|
-
// src/models/components/uniswapbuyexactlyparamsv1.ts
|
|
38978
|
-
var UniswapBuyExactlyParamsV1TokenIn$inboundSchema, UniswapBuyExactlyParamsV1TokenIn$outboundSchema, UniswapBuyExactlyParamsV1TokenIn$, UniswapBuyExactlyParamsV1TokenOut$inboundSchema, UniswapBuyExactlyParamsV1TokenOut$outboundSchema, UniswapBuyExactlyParamsV1TokenOut$, UniswapBuyExactlyParamsV1Amount$inboundSchema, UniswapBuyExactlyParamsV1Amount$outboundSchema, UniswapBuyExactlyParamsV1Amount$, UniswapBuyExactlyParamsV1$inboundSchema, UniswapBuyExactlyParamsV1$outboundSchema, UniswapBuyExactlyParamsV1$;
|
|
38979
|
-
var init_uniswapbuyexactlyparamsv1 = __esm(() => {
|
|
38980
|
-
init_zod();
|
|
38981
|
-
init_primitives();
|
|
38982
|
-
init_feeenum();
|
|
38983
|
-
init_tokenenum();
|
|
38984
|
-
UniswapBuyExactlyParamsV1TokenIn$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
38985
|
-
UniswapBuyExactlyParamsV1TokenIn$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
|
|
38986
|
-
((UniswapBuyExactlyParamsV1TokenIn$) => {
|
|
38987
|
-
UniswapBuyExactlyParamsV1TokenIn$.inboundSchema = UniswapBuyExactlyParamsV1TokenIn$inboundSchema;
|
|
38988
|
-
UniswapBuyExactlyParamsV1TokenIn$.outboundSchema = UniswapBuyExactlyParamsV1TokenIn$outboundSchema;
|
|
38989
|
-
})(UniswapBuyExactlyParamsV1TokenIn$ ||= {});
|
|
38990
|
-
UniswapBuyExactlyParamsV1TokenOut$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
38991
|
-
UniswapBuyExactlyParamsV1TokenOut$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
|
|
38992
|
-
((UniswapBuyExactlyParamsV1TokenOut$) => {
|
|
38993
|
-
UniswapBuyExactlyParamsV1TokenOut$.inboundSchema = UniswapBuyExactlyParamsV1TokenOut$inboundSchema;
|
|
38994
|
-
UniswapBuyExactlyParamsV1TokenOut$.outboundSchema = UniswapBuyExactlyParamsV1TokenOut$outboundSchema;
|
|
38995
|
-
})(UniswapBuyExactlyParamsV1TokenOut$ ||= {});
|
|
38996
|
-
UniswapBuyExactlyParamsV1Amount$inboundSchema = unionType([numberType(), stringType()]);
|
|
38997
|
-
UniswapBuyExactlyParamsV1Amount$outboundSchema = unionType([numberType(), stringType()]);
|
|
38998
|
-
((UniswapBuyExactlyParamsV1Amount$) => {
|
|
38999
|
-
UniswapBuyExactlyParamsV1Amount$.inboundSchema = UniswapBuyExactlyParamsV1Amount$inboundSchema;
|
|
39000
|
-
UniswapBuyExactlyParamsV1Amount$.outboundSchema = UniswapBuyExactlyParamsV1Amount$outboundSchema;
|
|
39001
|
-
})(UniswapBuyExactlyParamsV1Amount$ ||= {});
|
|
39002
|
-
UniswapBuyExactlyParamsV1$inboundSchema = objectType({
|
|
39003
|
-
action_type: literalType("UNISWAP_BUY_EXACTLY_V1").default("UNISWAP_BUY_EXACTLY_V1"),
|
|
39004
|
-
token_in: unionType([TokenEnum$inboundSchema, stringType()]),
|
|
39005
|
-
token_out: unionType([TokenEnum$inboundSchema, stringType()]),
|
|
39006
|
-
fee: FeeEnum$inboundSchema,
|
|
39007
|
-
amount: unionType([numberType(), stringType()]),
|
|
39008
|
-
max_slippage_percent: numberType()
|
|
39009
|
-
}).transform((v2) => {
|
|
39010
|
-
return remap(v2, {
|
|
39011
|
-
action_type: "actionType",
|
|
39012
|
-
token_in: "tokenIn",
|
|
39013
|
-
token_out: "tokenOut",
|
|
39014
|
-
max_slippage_percent: "maxSlippagePercent"
|
|
39015
|
-
});
|
|
39016
|
-
});
|
|
39017
|
-
UniswapBuyExactlyParamsV1$outboundSchema = objectType({
|
|
39018
|
-
actionType: literalType("UNISWAP_BUY_EXACTLY_V1").default("UNISWAP_BUY_EXACTLY_V1"),
|
|
39019
|
-
tokenIn: unionType([TokenEnum$outboundSchema, stringType()]),
|
|
39020
|
-
tokenOut: unionType([TokenEnum$outboundSchema, stringType()]),
|
|
39021
|
-
fee: FeeEnum$outboundSchema,
|
|
39022
|
-
amount: unionType([numberType(), stringType()]),
|
|
39023
|
-
maxSlippagePercent: numberType()
|
|
39024
|
-
}).transform((v2) => {
|
|
39025
|
-
return remap(v2, {
|
|
39026
|
-
actionType: "action_type",
|
|
39027
|
-
tokenIn: "token_in",
|
|
39028
|
-
tokenOut: "token_out",
|
|
39029
|
-
maxSlippagePercent: "max_slippage_percent"
|
|
39030
|
-
});
|
|
39031
|
-
});
|
|
39032
|
-
((UniswapBuyExactlyParamsV1$) => {
|
|
39033
|
-
UniswapBuyExactlyParamsV1$.inboundSchema = UniswapBuyExactlyParamsV1$inboundSchema;
|
|
39034
|
-
UniswapBuyExactlyParamsV1$.outboundSchema = UniswapBuyExactlyParamsV1$outboundSchema;
|
|
39035
|
-
})(UniswapBuyExactlyParamsV1$ ||= {});
|
|
39036
|
-
});
|
|
39037
|
-
|
|
39038
38977
|
// src/models/components/uniswapincreaseliquidityprovisionparams.ts
|
|
39039
38978
|
var UniswapIncreaseLiquidityProvisionParamsAmount0Desired$inboundSchema, UniswapIncreaseLiquidityProvisionParamsAmount0Desired$outboundSchema, UniswapIncreaseLiquidityProvisionParamsAmount0Desired$, UniswapIncreaseLiquidityProvisionParamsAmount1Desired$inboundSchema, UniswapIncreaseLiquidityProvisionParamsAmount1Desired$outboundSchema, UniswapIncreaseLiquidityProvisionParamsAmount1Desired$, UniswapIncreaseLiquidityProvisionParamsAmount0Min$inboundSchema, UniswapIncreaseLiquidityProvisionParamsAmount0Min$outboundSchema, UniswapIncreaseLiquidityProvisionParamsAmount0Min$, UniswapIncreaseLiquidityProvisionParamsAmount1Min$inboundSchema, UniswapIncreaseLiquidityProvisionParamsAmount1Min$outboundSchema, UniswapIncreaseLiquidityProvisionParamsAmount1Min$, UniswapIncreaseLiquidityProvisionParams$inboundSchema, UniswapIncreaseLiquidityProvisionParams$outboundSchema, UniswapIncreaseLiquidityProvisionParams$;
|
|
39040
38979
|
var init_uniswapincreaseliquidityprovisionparams = __esm(() => {
|
|
@@ -39380,7 +39319,6 @@ var init_useroperation = __esm(() => {
|
|
|
39380
39319
|
init_tokentransfererc20params();
|
|
39381
39320
|
init_tokentransferrequest();
|
|
39382
39321
|
init_uniswapbuyexactlyparams();
|
|
39383
|
-
init_uniswapbuyexactlyparamsv1();
|
|
39384
39322
|
init_uniswapincreaseliquidityprovisionparams();
|
|
39385
39323
|
init_uniswapmintliquidityprovisionparams();
|
|
39386
39324
|
init_uniswapsellexactlyparams();
|
|
@@ -39401,7 +39339,6 @@ var init_useroperation = __esm(() => {
|
|
|
39401
39339
|
}))),
|
|
39402
39340
|
UniswapIncreaseLiquidityProvisionParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_ADD_LIQUIDITY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39403
39341
|
UniswapBuyExactlyParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_BUY_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39404
|
-
UniswapBuyExactlyParamsV1$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_BUY_EXACTLY_V1") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39405
39342
|
UniswapSellExactlyParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_SELL_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39406
39343
|
AerodromeSlipstreamSellExactlyParams$inboundSchema.and(objectType({ action_type: literalType("AERODROME_SLIPSTREAM_SELL_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39407
39344
|
OdosSwapParams$inboundSchema.and(objectType({ action_type: literalType("ODOS_SWAP") }).transform((v2) => ({
|
|
@@ -39489,7 +39426,6 @@ var init_useroperation = __esm(() => {
|
|
|
39489
39426
|
}))),
|
|
39490
39427
|
UniswapIncreaseLiquidityProvisionParams$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_ADD_LIQUIDITY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39491
39428
|
UniswapBuyExactlyParams$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_BUY_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39492
|
-
UniswapBuyExactlyParamsV1$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_BUY_EXACTLY_V1") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39493
39429
|
UniswapSellExactlyParams$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_SELL_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39494
39430
|
AerodromeSlipstreamSellExactlyParams$outboundSchema.and(objectType({ actionType: literalType("AERODROME_SLIPSTREAM_SELL_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39495
39431
|
OdosSwapParams$outboundSchema.and(objectType({ actionType: literalType("ODOS_SWAP") }).transform((v2) => ({
|
|
@@ -39584,7 +39520,6 @@ var init_useroperation = __esm(() => {
|
|
|
39584
39520
|
}))),
|
|
39585
39521
|
UniswapIncreaseLiquidityProvisionParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_ADD_LIQUIDITY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39586
39522
|
UniswapBuyExactlyParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_BUY_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39587
|
-
UniswapBuyExactlyParamsV1$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_BUY_EXACTLY_V1") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39588
39523
|
UniswapSellExactlyParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_SELL_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39589
39524
|
AerodromeSlipstreamSellExactlyParams$inboundSchema.and(objectType({ action_type: literalType("AERODROME_SLIPSTREAM_SELL_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39590
39525
|
OdosSwapParams$inboundSchema.and(objectType({ action_type: literalType("ODOS_SWAP") }).transform((v2) => ({
|
|
@@ -39674,7 +39609,6 @@ var init_useroperation = __esm(() => {
|
|
|
39674
39609
|
}))),
|
|
39675
39610
|
UniswapIncreaseLiquidityProvisionParams$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_ADD_LIQUIDITY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39676
39611
|
UniswapBuyExactlyParams$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_BUY_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39677
|
-
UniswapBuyExactlyParamsV1$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_BUY_EXACTLY_V1") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39678
39612
|
UniswapSellExactlyParams$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_SELL_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39679
39613
|
AerodromeSlipstreamSellExactlyParams$outboundSchema.and(objectType({ actionType: literalType("AERODROME_SLIPSTREAM_SELL_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39680
39614
|
OdosSwapParams$outboundSchema.and(objectType({ actionType: literalType("ODOS_SWAP") }).transform((v2) => ({
|
|
@@ -42677,82 +42611,6 @@ var init_uniswapbuyexactlyrequest = __esm(() => {
|
|
|
42677
42611
|
})(UniswapBuyExactlyRequest$ ||= {});
|
|
42678
42612
|
});
|
|
42679
42613
|
|
|
42680
|
-
// src/models/components/uniswapbuyexactlyrequestv1.ts
|
|
42681
|
-
var UniswapBuyExactlyRequestV1Chain, UniswapBuyExactlyRequestV1TokenIn$inboundSchema, UniswapBuyExactlyRequestV1TokenIn$outboundSchema, UniswapBuyExactlyRequestV1TokenIn$, UniswapBuyExactlyRequestV1TokenOut$inboundSchema, UniswapBuyExactlyRequestV1TokenOut$outboundSchema, UniswapBuyExactlyRequestV1TokenOut$, UniswapBuyExactlyRequestV1Amount$inboundSchema, UniswapBuyExactlyRequestV1Amount$outboundSchema, UniswapBuyExactlyRequestV1Amount$, UniswapBuyExactlyRequestV1Chain$inboundSchema, UniswapBuyExactlyRequestV1Chain$outboundSchema, UniswapBuyExactlyRequestV1Chain$, UniswapBuyExactlyRequestV1$inboundSchema, UniswapBuyExactlyRequestV1$outboundSchema, UniswapBuyExactlyRequestV1$;
|
|
42682
|
-
var init_uniswapbuyexactlyrequestv1 = __esm(() => {
|
|
42683
|
-
init_zod();
|
|
42684
|
-
init_primitives();
|
|
42685
|
-
init_feeenum();
|
|
42686
|
-
init_tokenenum();
|
|
42687
|
-
UniswapBuyExactlyRequestV1Chain = {
|
|
42688
|
-
ArbitrumMainnet: "arbitrum:mainnet",
|
|
42689
|
-
BaseMainnet: "base:mainnet",
|
|
42690
|
-
EthereumMainnet: "ethereum:mainnet"
|
|
42691
|
-
};
|
|
42692
|
-
UniswapBuyExactlyRequestV1TokenIn$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
42693
|
-
UniswapBuyExactlyRequestV1TokenIn$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
|
|
42694
|
-
((UniswapBuyExactlyRequestV1TokenIn$) => {
|
|
42695
|
-
UniswapBuyExactlyRequestV1TokenIn$.inboundSchema = UniswapBuyExactlyRequestV1TokenIn$inboundSchema;
|
|
42696
|
-
UniswapBuyExactlyRequestV1TokenIn$.outboundSchema = UniswapBuyExactlyRequestV1TokenIn$outboundSchema;
|
|
42697
|
-
})(UniswapBuyExactlyRequestV1TokenIn$ ||= {});
|
|
42698
|
-
UniswapBuyExactlyRequestV1TokenOut$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
42699
|
-
UniswapBuyExactlyRequestV1TokenOut$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
|
|
42700
|
-
((UniswapBuyExactlyRequestV1TokenOut$) => {
|
|
42701
|
-
UniswapBuyExactlyRequestV1TokenOut$.inboundSchema = UniswapBuyExactlyRequestV1TokenOut$inboundSchema;
|
|
42702
|
-
UniswapBuyExactlyRequestV1TokenOut$.outboundSchema = UniswapBuyExactlyRequestV1TokenOut$outboundSchema;
|
|
42703
|
-
})(UniswapBuyExactlyRequestV1TokenOut$ ||= {});
|
|
42704
|
-
UniswapBuyExactlyRequestV1Amount$inboundSchema = unionType([numberType(), stringType()]);
|
|
42705
|
-
UniswapBuyExactlyRequestV1Amount$outboundSchema = unionType([numberType(), stringType()]);
|
|
42706
|
-
((UniswapBuyExactlyRequestV1Amount$) => {
|
|
42707
|
-
UniswapBuyExactlyRequestV1Amount$.inboundSchema = UniswapBuyExactlyRequestV1Amount$inboundSchema;
|
|
42708
|
-
UniswapBuyExactlyRequestV1Amount$.outboundSchema = UniswapBuyExactlyRequestV1Amount$outboundSchema;
|
|
42709
|
-
})(UniswapBuyExactlyRequestV1Amount$ ||= {});
|
|
42710
|
-
UniswapBuyExactlyRequestV1Chain$inboundSchema = nativeEnumType(UniswapBuyExactlyRequestV1Chain);
|
|
42711
|
-
UniswapBuyExactlyRequestV1Chain$outboundSchema = UniswapBuyExactlyRequestV1Chain$inboundSchema;
|
|
42712
|
-
((UniswapBuyExactlyRequestV1Chain$) => {
|
|
42713
|
-
UniswapBuyExactlyRequestV1Chain$.inboundSchema = UniswapBuyExactlyRequestV1Chain$inboundSchema;
|
|
42714
|
-
UniswapBuyExactlyRequestV1Chain$.outboundSchema = UniswapBuyExactlyRequestV1Chain$outboundSchema;
|
|
42715
|
-
})(UniswapBuyExactlyRequestV1Chain$ ||= {});
|
|
42716
|
-
UniswapBuyExactlyRequestV1$inboundSchema = objectType({
|
|
42717
|
-
action_type: literalType("UNISWAP_BUY_EXACTLY_V1").default("UNISWAP_BUY_EXACTLY_V1"),
|
|
42718
|
-
token_in: unionType([TokenEnum$inboundSchema, stringType()]),
|
|
42719
|
-
token_out: unionType([TokenEnum$inboundSchema, stringType()]),
|
|
42720
|
-
fee: FeeEnum$inboundSchema,
|
|
42721
|
-
amount: unionType([numberType(), stringType()]),
|
|
42722
|
-
max_slippage_percent: numberType(),
|
|
42723
|
-
chain: UniswapBuyExactlyRequestV1Chain$inboundSchema,
|
|
42724
|
-
sender: stringType()
|
|
42725
|
-
}).transform((v2) => {
|
|
42726
|
-
return remap(v2, {
|
|
42727
|
-
action_type: "actionType",
|
|
42728
|
-
token_in: "tokenIn",
|
|
42729
|
-
token_out: "tokenOut",
|
|
42730
|
-
max_slippage_percent: "maxSlippagePercent"
|
|
42731
|
-
});
|
|
42732
|
-
});
|
|
42733
|
-
UniswapBuyExactlyRequestV1$outboundSchema = objectType({
|
|
42734
|
-
actionType: literalType("UNISWAP_BUY_EXACTLY_V1").default("UNISWAP_BUY_EXACTLY_V1"),
|
|
42735
|
-
tokenIn: unionType([TokenEnum$outboundSchema, stringType()]),
|
|
42736
|
-
tokenOut: unionType([TokenEnum$outboundSchema, stringType()]),
|
|
42737
|
-
fee: FeeEnum$outboundSchema,
|
|
42738
|
-
amount: unionType([numberType(), stringType()]),
|
|
42739
|
-
maxSlippagePercent: numberType(),
|
|
42740
|
-
chain: UniswapBuyExactlyRequestV1Chain$outboundSchema,
|
|
42741
|
-
sender: stringType()
|
|
42742
|
-
}).transform((v2) => {
|
|
42743
|
-
return remap(v2, {
|
|
42744
|
-
actionType: "action_type",
|
|
42745
|
-
tokenIn: "token_in",
|
|
42746
|
-
tokenOut: "token_out",
|
|
42747
|
-
maxSlippagePercent: "max_slippage_percent"
|
|
42748
|
-
});
|
|
42749
|
-
});
|
|
42750
|
-
((UniswapBuyExactlyRequestV1$) => {
|
|
42751
|
-
UniswapBuyExactlyRequestV1$.inboundSchema = UniswapBuyExactlyRequestV1$inboundSchema;
|
|
42752
|
-
UniswapBuyExactlyRequestV1$.outboundSchema = UniswapBuyExactlyRequestV1$outboundSchema;
|
|
42753
|
-
})(UniswapBuyExactlyRequestV1$ ||= {});
|
|
42754
|
-
});
|
|
42755
|
-
|
|
42756
42614
|
// src/models/components/uniswapbuyquoteinforesponse.ts
|
|
42757
42615
|
var UniswapBuyQuoteInfoResponse$inboundSchema, UniswapBuyQuoteInfoResponse$outboundSchema, UniswapBuyQuoteInfoResponse$;
|
|
42758
42616
|
var init_uniswapbuyquoteinforesponse = __esm(() => {
|
|
@@ -43672,9 +43530,7 @@ var init_components = __esm(() => {
|
|
|
43672
43530
|
init_tokentransferrequest();
|
|
43673
43531
|
init_txresponse();
|
|
43674
43532
|
init_uniswapbuyexactlyparams();
|
|
43675
|
-
init_uniswapbuyexactlyparamsv1();
|
|
43676
43533
|
init_uniswapbuyexactlyrequest();
|
|
43677
|
-
init_uniswapbuyexactlyrequestv1();
|
|
43678
43534
|
init_uniswapbuyquoteinforesponse();
|
|
43679
43535
|
init_uniswapcheckinrangeresponse();
|
|
43680
43536
|
init_uniswapincreaseliquidityprovisionparams();
|
|
@@ -50731,12 +50587,17 @@ var init_pendleAddLiquidity2 = __esm(() => {
|
|
|
50731
50587
|
};
|
|
50732
50588
|
tool$pendleAddLiquidity = {
|
|
50733
50589
|
name: "pendle-add-liquidity",
|
|
50734
|
-
description: `Add Liquidity
|
|
50590
|
+
description: `Add Liquidity (LP)
|
|
50735
50591
|
|
|
50736
50592
|
Add liquidity to a Pendle Market to earn yield.
|
|
50737
50593
|
|
|
50738
|
-
Liquidity is added
|
|
50739
|
-
|
|
50594
|
+
Liquidity is added to the market with a token of the user's choice.
|
|
50595
|
+
|
|
50596
|
+
Representation of the liquidity provided is in the form of market's Liquidity
|
|
50597
|
+
Provider Token (LP) received by the user.
|
|
50598
|
+
|
|
50599
|
+
An appropriate allowance for the Pendle Router on the token_in contract must be set
|
|
50600
|
+
beforehand.
|
|
50740
50601
|
<Info>
|
|
50741
50602
|
**Required Allowances**
|
|
50742
50603
|
|
|
@@ -50847,7 +50708,12 @@ var init_pendleBuyPt2 = __esm(() => {
|
|
|
50847
50708
|
name: "pendle-buy-pt",
|
|
50848
50709
|
description: `Buy Principal Token (PT)
|
|
50849
50710
|
|
|
50850
|
-
Buy Principal Token (PT)
|
|
50711
|
+
Buy market's Principal Token (PT) for fixed yield.
|
|
50712
|
+
|
|
50713
|
+
PT is bought with a token of the user's choice.
|
|
50714
|
+
|
|
50715
|
+
An appropriate allowance for the Pendle Router on the token_in contract must be set
|
|
50716
|
+
beforehand.
|
|
50851
50717
|
<Info>
|
|
50852
50718
|
**Required Allowances**
|
|
50853
50719
|
|
|
@@ -50958,7 +50824,12 @@ var init_pendleBuyYt2 = __esm(() => {
|
|
|
50958
50824
|
name: "pendle-buy-yt",
|
|
50959
50825
|
description: `Buy Yield Token (YT)
|
|
50960
50826
|
|
|
50961
|
-
Buy Yield Token (YT)
|
|
50827
|
+
Buy Yield Token (YT) to go long yield and earn variable yield.
|
|
50828
|
+
|
|
50829
|
+
YT is bought with a token of the user's choice.
|
|
50830
|
+
|
|
50831
|
+
An appropriate allowance for the Pendle Router on the token_in contract must be set
|
|
50832
|
+
beforehand.
|
|
50962
50833
|
<Info>
|
|
50963
50834
|
**Required Allowances**
|
|
50964
50835
|
|
|
@@ -51622,13 +51493,14 @@ var init_pendleRemoveLiquidity2 = __esm(() => {
|
|
|
51622
51493
|
};
|
|
51623
51494
|
tool$pendleRemoveLiquidity = {
|
|
51624
51495
|
name: "pendle-remove-liquidity",
|
|
51625
|
-
description: `Remove Liquidity
|
|
51496
|
+
description: `Remove Liquidity (LP)
|
|
51626
51497
|
|
|
51627
51498
|
Remove liquidity from a Pendle Market.
|
|
51628
51499
|
|
|
51629
|
-
Liquidity is removed
|
|
51630
|
-
|
|
51631
|
-
market contract must be
|
|
51500
|
+
Liquidity is removed from the market into a token of the user's choice.
|
|
51501
|
+
|
|
51502
|
+
An appropriate allowance for the Pendle Router on the market contract (LP) must be
|
|
51503
|
+
set beforehand.
|
|
51632
51504
|
<Info>
|
|
51633
51505
|
**Required Allowances**
|
|
51634
51506
|
|
|
@@ -51739,7 +51611,12 @@ var init_pendleSellPt2 = __esm(() => {
|
|
|
51739
51611
|
name: "pendle-sell-pt",
|
|
51740
51612
|
description: `Sell Principal Token (PT)
|
|
51741
51613
|
|
|
51742
|
-
Sell Principal Token (PT)
|
|
51614
|
+
Sell Principal Token (PT) to redeem the fixed yield you have earned thus far.
|
|
51615
|
+
|
|
51616
|
+
PT is sold for a token of the user's choice.
|
|
51617
|
+
|
|
51618
|
+
An appropriate allowance for the Pendle Router on the market's PT token contract
|
|
51619
|
+
must be set beforehand.
|
|
51743
51620
|
<Info>
|
|
51744
51621
|
**Required Allowances**
|
|
51745
51622
|
|
|
@@ -51850,7 +51727,15 @@ var init_pendleSellYt2 = __esm(() => {
|
|
|
51850
51727
|
name: "pendle-sell-yt",
|
|
51851
51728
|
description: `Sell Yield Token (YT)
|
|
51852
51729
|
|
|
51853
|
-
Sell Yield Token (YT)
|
|
51730
|
+
Sell Yield Token (YT) to stop earning variable yield.
|
|
51731
|
+
|
|
51732
|
+
YT is sold for a token of the user's choice.
|
|
51733
|
+
|
|
51734
|
+
An appropriate allowance for the Pendle Router on the market's YT token contract
|
|
51735
|
+
must be set beforehand.
|
|
51736
|
+
|
|
51737
|
+
Make sure to redeem yield earned thus far by calling the 'Redeem Claimable Yield'
|
|
51738
|
+
before selling YT.
|
|
51854
51739
|
<Info>
|
|
51855
51740
|
**Required Allowances**
|
|
51856
51741
|
|
|
@@ -53425,8 +53310,8 @@ prevent replay attacks.`,
|
|
|
53425
53310
|
};
|
|
53426
53311
|
});
|
|
53427
53312
|
|
|
53428
|
-
// src/funcs/
|
|
53429
|
-
function
|
|
53313
|
+
// src/funcs/uniswapV3LiquidityProvisionIncrease.ts
|
|
53314
|
+
function uniswapV3LiquidityProvisionIncrease(client, request, options) {
|
|
53430
53315
|
return new APIPromise($do62(client, request, options));
|
|
53431
53316
|
}
|
|
53432
53317
|
async function $do62(client, request, options) {
|
|
@@ -53487,7 +53372,7 @@ async function $do62(client, request, options) {
|
|
|
53487
53372
|
}
|
|
53488
53373
|
return [result, { status: "complete", request: req, response }];
|
|
53489
53374
|
}
|
|
53490
|
-
var
|
|
53375
|
+
var init_uniswapV3LiquidityProvisionIncrease = __esm(() => {
|
|
53491
53376
|
init_encodings();
|
|
53492
53377
|
init_matchers();
|
|
53493
53378
|
init_primitives();
|
|
@@ -53499,17 +53384,17 @@ var init_uniswapV3V0LiquidityProvisionIncrease = __esm(() => {
|
|
|
53499
53384
|
init_async();
|
|
53500
53385
|
});
|
|
53501
53386
|
|
|
53502
|
-
// src/mcp-server/tools/
|
|
53503
|
-
var args62, tool$
|
|
53504
|
-
var
|
|
53505
|
-
|
|
53387
|
+
// src/mcp-server/tools/uniswapV3LiquidityProvisionIncrease.ts
|
|
53388
|
+
var args62, tool$uniswapV3LiquidityProvisionIncrease;
|
|
53389
|
+
var init_uniswapV3LiquidityProvisionIncrease2 = __esm(() => {
|
|
53390
|
+
init_uniswapV3LiquidityProvisionIncrease();
|
|
53506
53391
|
init_components();
|
|
53507
53392
|
init_tools();
|
|
53508
53393
|
args62 = {
|
|
53509
53394
|
request: UniswapIncreaseLiquidityProvisionRequest$inboundSchema
|
|
53510
53395
|
};
|
|
53511
|
-
tool$
|
|
53512
|
-
name: "uniswap-v3-
|
|
53396
|
+
tool$uniswapV3LiquidityProvisionIncrease = {
|
|
53397
|
+
name: "uniswap-v3-liquidity-provision-increase",
|
|
53513
53398
|
description: `Increase an LP position
|
|
53514
53399
|
|
|
53515
53400
|
This endpoint allows users to increase their existing Liquidity Provider (LP)
|
|
@@ -53531,7 +53416,7 @@ process.
|
|
|
53531
53416
|
`,
|
|
53532
53417
|
args: args62,
|
|
53533
53418
|
tool: async (client, args63, ctx) => {
|
|
53534
|
-
const [result, apiCall] = await
|
|
53419
|
+
const [result, apiCall] = await uniswapV3LiquidityProvisionIncrease(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53535
53420
|
if (!result.ok) {
|
|
53536
53421
|
return {
|
|
53537
53422
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53544,8 +53429,8 @@ process.
|
|
|
53544
53429
|
};
|
|
53545
53430
|
});
|
|
53546
53431
|
|
|
53547
|
-
// src/funcs/
|
|
53548
|
-
function
|
|
53432
|
+
// src/funcs/uniswapV3LiquidityProvisionInRange.ts
|
|
53433
|
+
function uniswapV3LiquidityProvisionInRange(client, request, options) {
|
|
53549
53434
|
return new APIPromise($do63(client, request, options));
|
|
53550
53435
|
}
|
|
53551
53436
|
async function $do63(client, request, options) {
|
|
@@ -53610,7 +53495,7 @@ async function $do63(client, request, options) {
|
|
|
53610
53495
|
}
|
|
53611
53496
|
return [result, { status: "complete", request: req, response }];
|
|
53612
53497
|
}
|
|
53613
|
-
var
|
|
53498
|
+
var init_uniswapV3LiquidityProvisionInRange = __esm(() => {
|
|
53614
53499
|
init_encodings();
|
|
53615
53500
|
init_matchers();
|
|
53616
53501
|
init_primitives();
|
|
@@ -53623,17 +53508,17 @@ var init_uniswapV3V0LiquidityProvisionInRange = __esm(() => {
|
|
|
53623
53508
|
init_async();
|
|
53624
53509
|
});
|
|
53625
53510
|
|
|
53626
|
-
// src/mcp-server/tools/
|
|
53627
|
-
var args63, tool$
|
|
53628
|
-
var
|
|
53629
|
-
|
|
53511
|
+
// src/mcp-server/tools/uniswapV3LiquidityProvisionInRange.ts
|
|
53512
|
+
var args63, tool$uniswapV3LiquidityProvisionInRange;
|
|
53513
|
+
var init_uniswapV3LiquidityProvisionInRange2 = __esm(() => {
|
|
53514
|
+
init_uniswapV3LiquidityProvisionInRange();
|
|
53630
53515
|
init_operations();
|
|
53631
53516
|
init_tools();
|
|
53632
53517
|
args63 = {
|
|
53633
53518
|
request: UniswapLiquidityProvisionInRangeRequest$inboundSchema
|
|
53634
53519
|
};
|
|
53635
|
-
tool$
|
|
53636
|
-
name: "uniswap-v3-
|
|
53520
|
+
tool$uniswapV3LiquidityProvisionInRange = {
|
|
53521
|
+
name: "uniswap-v3-liquidity-provision-in-range",
|
|
53637
53522
|
description: `Check if LP is Active.
|
|
53638
53523
|
|
|
53639
53524
|
This endpoint allows users to check whether a specific liquidity provider ()
|
|
@@ -53646,7 +53531,7 @@ they are actively participating in the trading activities within the liquidity p
|
|
|
53646
53531
|
and earning trading fees.`,
|
|
53647
53532
|
args: args63,
|
|
53648
53533
|
tool: async (client, args64, ctx) => {
|
|
53649
|
-
const [result, apiCall] = await
|
|
53534
|
+
const [result, apiCall] = await uniswapV3LiquidityProvisionInRange(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53650
53535
|
if (!result.ok) {
|
|
53651
53536
|
return {
|
|
53652
53537
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53659,8 +53544,8 @@ and earning trading fees.`,
|
|
|
53659
53544
|
};
|
|
53660
53545
|
});
|
|
53661
53546
|
|
|
53662
|
-
// src/funcs/
|
|
53663
|
-
function
|
|
53547
|
+
// src/funcs/uniswapV3LiquidityProvisionMint.ts
|
|
53548
|
+
function uniswapV3LiquidityProvisionMint(client, request, options) {
|
|
53664
53549
|
return new APIPromise($do64(client, request, options));
|
|
53665
53550
|
}
|
|
53666
53551
|
async function $do64(client, request, options) {
|
|
@@ -53721,7 +53606,7 @@ async function $do64(client, request, options) {
|
|
|
53721
53606
|
}
|
|
53722
53607
|
return [result, { status: "complete", request: req, response }];
|
|
53723
53608
|
}
|
|
53724
|
-
var
|
|
53609
|
+
var init_uniswapV3LiquidityProvisionMint = __esm(() => {
|
|
53725
53610
|
init_encodings();
|
|
53726
53611
|
init_matchers();
|
|
53727
53612
|
init_primitives();
|
|
@@ -53733,17 +53618,17 @@ var init_uniswapV3V0LiquidityProvisionMint = __esm(() => {
|
|
|
53733
53618
|
init_async();
|
|
53734
53619
|
});
|
|
53735
53620
|
|
|
53736
|
-
// src/mcp-server/tools/
|
|
53737
|
-
var args64, tool$
|
|
53738
|
-
var
|
|
53739
|
-
|
|
53621
|
+
// src/mcp-server/tools/uniswapV3LiquidityProvisionMint.ts
|
|
53622
|
+
var args64, tool$uniswapV3LiquidityProvisionMint;
|
|
53623
|
+
var init_uniswapV3LiquidityProvisionMint2 = __esm(() => {
|
|
53624
|
+
init_uniswapV3LiquidityProvisionMint();
|
|
53740
53625
|
init_components();
|
|
53741
53626
|
init_tools();
|
|
53742
53627
|
args64 = {
|
|
53743
53628
|
request: UniswapMintLiquidityProvisionRequest$inboundSchema
|
|
53744
53629
|
};
|
|
53745
|
-
tool$
|
|
53746
|
-
name: "uniswap-v3-
|
|
53630
|
+
tool$uniswapV3LiquidityProvisionMint = {
|
|
53631
|
+
name: "uniswap-v3-liquidity-provision-mint",
|
|
53747
53632
|
description: `Open a new LP position
|
|
53748
53633
|
|
|
53749
53634
|
This endpoint allows users to open a new Liquidity Provider (LP) position on the
|
|
@@ -53765,7 +53650,7 @@ needed for the minting process.
|
|
|
53765
53650
|
`,
|
|
53766
53651
|
args: args64,
|
|
53767
53652
|
tool: async (client, args65, ctx) => {
|
|
53768
|
-
const [result, apiCall] = await
|
|
53653
|
+
const [result, apiCall] = await uniswapV3LiquidityProvisionMint(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53769
53654
|
if (!result.ok) {
|
|
53770
53655
|
return {
|
|
53771
53656
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53778,8 +53663,8 @@ needed for the minting process.
|
|
|
53778
53663
|
};
|
|
53779
53664
|
});
|
|
53780
53665
|
|
|
53781
|
-
// src/funcs/
|
|
53782
|
-
function
|
|
53666
|
+
// src/funcs/uniswapV3LiquidityProvisionPositions.ts
|
|
53667
|
+
function uniswapV3LiquidityProvisionPositions(client, request, options) {
|
|
53783
53668
|
return new APIPromise($do65(client, request, options));
|
|
53784
53669
|
}
|
|
53785
53670
|
async function $do65(client, request, options) {
|
|
@@ -53844,7 +53729,7 @@ async function $do65(client, request, options) {
|
|
|
53844
53729
|
}
|
|
53845
53730
|
return [result, { status: "complete", request: req, response }];
|
|
53846
53731
|
}
|
|
53847
|
-
var
|
|
53732
|
+
var init_uniswapV3LiquidityProvisionPositions = __esm(() => {
|
|
53848
53733
|
init_encodings();
|
|
53849
53734
|
init_matchers();
|
|
53850
53735
|
init_primitives();
|
|
@@ -53857,17 +53742,17 @@ var init_uniswapV3V0LiquidityProvisionPositions = __esm(() => {
|
|
|
53857
53742
|
init_async();
|
|
53858
53743
|
});
|
|
53859
53744
|
|
|
53860
|
-
// src/mcp-server/tools/
|
|
53861
|
-
var args65, tool$
|
|
53862
|
-
var
|
|
53863
|
-
|
|
53745
|
+
// src/mcp-server/tools/uniswapV3LiquidityProvisionPositions.ts
|
|
53746
|
+
var args65, tool$uniswapV3LiquidityProvisionPositions;
|
|
53747
|
+
var init_uniswapV3LiquidityProvisionPositions2 = __esm(() => {
|
|
53748
|
+
init_uniswapV3LiquidityProvisionPositions();
|
|
53864
53749
|
init_operations();
|
|
53865
53750
|
init_tools();
|
|
53866
53751
|
args65 = {
|
|
53867
53752
|
request: UniswapLiquidityProvisionPositionsRequest$inboundSchema
|
|
53868
53753
|
};
|
|
53869
|
-
tool$
|
|
53870
|
-
name: "uniswap-v3-
|
|
53754
|
+
tool$uniswapV3LiquidityProvisionPositions = {
|
|
53755
|
+
name: "uniswap-v3-liquidity-provision-positions",
|
|
53871
53756
|
description: `List LP
|
|
53872
53757
|
|
|
53873
53758
|
This endpoint retrieves the number of Liquidity Provider (LP) positions
|
|
@@ -53879,7 +53764,7 @@ information is crucial for users to manage and analyze their liquidity provision
|
|
|
53879
53764
|
activities effectively.`,
|
|
53880
53765
|
args: args65,
|
|
53881
53766
|
tool: async (client, args66, ctx) => {
|
|
53882
|
-
const [result, apiCall] = await
|
|
53767
|
+
const [result, apiCall] = await uniswapV3LiquidityProvisionPositions(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53883
53768
|
if (!result.ok) {
|
|
53884
53769
|
return {
|
|
53885
53770
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53892,8 +53777,8 @@ activities effectively.`,
|
|
|
53892
53777
|
};
|
|
53893
53778
|
});
|
|
53894
53779
|
|
|
53895
|
-
// src/funcs/
|
|
53896
|
-
function
|
|
53780
|
+
// src/funcs/uniswapV3LiquidityProvisionWithdraw.ts
|
|
53781
|
+
function uniswapV3LiquidityProvisionWithdraw(client, request, options) {
|
|
53897
53782
|
return new APIPromise($do66(client, request, options));
|
|
53898
53783
|
}
|
|
53899
53784
|
async function $do66(client, request, options) {
|
|
@@ -53954,7 +53839,7 @@ async function $do66(client, request, options) {
|
|
|
53954
53839
|
}
|
|
53955
53840
|
return [result, { status: "complete", request: req, response }];
|
|
53956
53841
|
}
|
|
53957
|
-
var
|
|
53842
|
+
var init_uniswapV3LiquidityProvisionWithdraw = __esm(() => {
|
|
53958
53843
|
init_encodings();
|
|
53959
53844
|
init_matchers();
|
|
53960
53845
|
init_primitives();
|
|
@@ -53966,17 +53851,17 @@ var init_uniswapV3V0LiquidityProvisionWithdraw = __esm(() => {
|
|
|
53966
53851
|
init_async();
|
|
53967
53852
|
});
|
|
53968
53853
|
|
|
53969
|
-
// src/mcp-server/tools/
|
|
53970
|
-
var args66, tool$
|
|
53971
|
-
var
|
|
53972
|
-
|
|
53854
|
+
// src/mcp-server/tools/uniswapV3LiquidityProvisionWithdraw.ts
|
|
53855
|
+
var args66, tool$uniswapV3LiquidityProvisionWithdraw;
|
|
53856
|
+
var init_uniswapV3LiquidityProvisionWithdraw2 = __esm(() => {
|
|
53857
|
+
init_uniswapV3LiquidityProvisionWithdraw();
|
|
53973
53858
|
init_components();
|
|
53974
53859
|
init_tools();
|
|
53975
53860
|
args66 = {
|
|
53976
53861
|
request: UniswapWithdrawLiquidityProvisionRequest$inboundSchema
|
|
53977
53862
|
};
|
|
53978
|
-
tool$
|
|
53979
|
-
name: "uniswap-v3-
|
|
53863
|
+
tool$uniswapV3LiquidityProvisionWithdraw = {
|
|
53864
|
+
name: "uniswap-v3-liquidity-provision-withdraw",
|
|
53980
53865
|
description: `Withdraw an LP position
|
|
53981
53866
|
|
|
53982
53867
|
This endpoint allows users to withdraw their Liquidity Provider (LP) positions
|
|
@@ -53999,7 +53884,7 @@ before initiating a withdrawal to avoid potential issues or penalties.
|
|
|
53999
53884
|
`,
|
|
54000
53885
|
args: args66,
|
|
54001
53886
|
tool: async (client, args67, ctx) => {
|
|
54002
|
-
const [result, apiCall] = await
|
|
53887
|
+
const [result, apiCall] = await uniswapV3LiquidityProvisionWithdraw(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54003
53888
|
if (!result.ok) {
|
|
54004
53889
|
return {
|
|
54005
53890
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54012,8 +53897,8 @@ before initiating a withdrawal to avoid potential issues or penalties.
|
|
|
54012
53897
|
};
|
|
54013
53898
|
});
|
|
54014
53899
|
|
|
54015
|
-
// src/funcs/
|
|
54016
|
-
function
|
|
53900
|
+
// src/funcs/uniswapV3PoolPrice.ts
|
|
53901
|
+
function uniswapV3PoolPrice(client, request, options) {
|
|
54017
53902
|
return new APIPromise($do67(client, request, options));
|
|
54018
53903
|
}
|
|
54019
53904
|
async function $do67(client, request, options) {
|
|
@@ -54080,7 +53965,7 @@ async function $do67(client, request, options) {
|
|
|
54080
53965
|
}
|
|
54081
53966
|
return [result, { status: "complete", request: req, response }];
|
|
54082
53967
|
}
|
|
54083
|
-
var
|
|
53968
|
+
var init_uniswapV3PoolPrice = __esm(() => {
|
|
54084
53969
|
init_encodings();
|
|
54085
53970
|
init_matchers();
|
|
54086
53971
|
init_primitives();
|
|
@@ -54093,17 +53978,17 @@ var init_uniswapV3V0PoolPrice = __esm(() => {
|
|
|
54093
53978
|
init_async();
|
|
54094
53979
|
});
|
|
54095
53980
|
|
|
54096
|
-
// src/mcp-server/tools/
|
|
54097
|
-
var args67, tool$
|
|
54098
|
-
var
|
|
54099
|
-
|
|
53981
|
+
// src/mcp-server/tools/uniswapV3PoolPrice.ts
|
|
53982
|
+
var args67, tool$uniswapV3PoolPrice;
|
|
53983
|
+
var init_uniswapV3PoolPrice2 = __esm(() => {
|
|
53984
|
+
init_uniswapV3PoolPrice();
|
|
54100
53985
|
init_operations();
|
|
54101
53986
|
init_tools();
|
|
54102
53987
|
args67 = {
|
|
54103
53988
|
request: UniswapPoolPriceRequest$inboundSchema
|
|
54104
53989
|
};
|
|
54105
|
-
tool$
|
|
54106
|
-
name: "uniswap-v3-
|
|
53990
|
+
tool$uniswapV3PoolPrice = {
|
|
53991
|
+
name: "uniswap-v3-pool-price",
|
|
54107
53992
|
description: `Pool Price
|
|
54108
53993
|
|
|
54109
53994
|
This endpoint calculates the price of a token in a Uniswap pool.
|
|
@@ -54111,7 +53996,7 @@ This endpoint calculates the price of a token in a Uniswap pool.
|
|
|
54111
53996
|
The price is calculated based on the current pool state and the specified fee tier.`,
|
|
54112
53997
|
args: args67,
|
|
54113
53998
|
tool: async (client, args68, ctx) => {
|
|
54114
|
-
const [result, apiCall] = await
|
|
53999
|
+
const [result, apiCall] = await uniswapV3PoolPrice(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54115
54000
|
if (!result.ok) {
|
|
54116
54001
|
return {
|
|
54117
54002
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54124,8 +54009,8 @@ The price is calculated based on the current pool state and the specified fee ti
|
|
|
54124
54009
|
};
|
|
54125
54010
|
});
|
|
54126
54011
|
|
|
54127
|
-
// src/funcs/
|
|
54128
|
-
function
|
|
54012
|
+
// src/funcs/uniswapV3QuoteBuyExactly.ts
|
|
54013
|
+
function uniswapV3QuoteBuyExactly(client, request, options) {
|
|
54129
54014
|
return new APIPromise($do68(client, request, options));
|
|
54130
54015
|
}
|
|
54131
54016
|
async function $do68(client, request, options) {
|
|
@@ -54193,7 +54078,7 @@ async function $do68(client, request, options) {
|
|
|
54193
54078
|
}
|
|
54194
54079
|
return [result, { status: "complete", request: req, response }];
|
|
54195
54080
|
}
|
|
54196
|
-
var
|
|
54081
|
+
var init_uniswapV3QuoteBuyExactly = __esm(() => {
|
|
54197
54082
|
init_encodings();
|
|
54198
54083
|
init_matchers();
|
|
54199
54084
|
init_primitives();
|
|
@@ -54206,17 +54091,17 @@ var init_uniswapV3V0QuoteBuyExactly = __esm(() => {
|
|
|
54206
54091
|
init_async();
|
|
54207
54092
|
});
|
|
54208
54093
|
|
|
54209
|
-
// src/mcp-server/tools/
|
|
54210
|
-
var args68, tool$
|
|
54211
|
-
var
|
|
54212
|
-
|
|
54094
|
+
// src/mcp-server/tools/uniswapV3QuoteBuyExactly.ts
|
|
54095
|
+
var args68, tool$uniswapV3QuoteBuyExactly;
|
|
54096
|
+
var init_uniswapV3QuoteBuyExactly2 = __esm(() => {
|
|
54097
|
+
init_uniswapV3QuoteBuyExactly();
|
|
54213
54098
|
init_operations();
|
|
54214
54099
|
init_tools();
|
|
54215
54100
|
args68 = {
|
|
54216
54101
|
request: UniswapQuoteBuyExactlyRequest$inboundSchema
|
|
54217
54102
|
};
|
|
54218
|
-
tool$
|
|
54219
|
-
name: "uniswap-v3-
|
|
54103
|
+
tool$uniswapV3QuoteBuyExactly = {
|
|
54104
|
+
name: "uniswap-v3-quote-buy-exactly",
|
|
54220
54105
|
description: `Get Quote - to Specified Amount
|
|
54221
54106
|
|
|
54222
54107
|
This endpoint calculates the amount of input tokens required to purchase a
|
|
@@ -54226,7 +54111,7 @@ It also provides the resulting price after the transaction. The calculation take
|
|
|
54226
54111
|
into account the current pool state and the specified fee tier.`,
|
|
54227
54112
|
args: args68,
|
|
54228
54113
|
tool: async (client, args69, ctx) => {
|
|
54229
|
-
const [result, apiCall] = await
|
|
54114
|
+
const [result, apiCall] = await uniswapV3QuoteBuyExactly(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54230
54115
|
if (!result.ok) {
|
|
54231
54116
|
return {
|
|
54232
54117
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54239,8 +54124,8 @@ into account the current pool state and the specified fee tier.`,
|
|
|
54239
54124
|
};
|
|
54240
54125
|
});
|
|
54241
54126
|
|
|
54242
|
-
// src/funcs/
|
|
54243
|
-
function
|
|
54127
|
+
// src/funcs/uniswapV3QuoteSellExactly.ts
|
|
54128
|
+
function uniswapV3QuoteSellExactly(client, request, options) {
|
|
54244
54129
|
return new APIPromise($do69(client, request, options));
|
|
54245
54130
|
}
|
|
54246
54131
|
async function $do69(client, request, options) {
|
|
@@ -54308,7 +54193,7 @@ async function $do69(client, request, options) {
|
|
|
54308
54193
|
}
|
|
54309
54194
|
return [result, { status: "complete", request: req, response }];
|
|
54310
54195
|
}
|
|
54311
|
-
var
|
|
54196
|
+
var init_uniswapV3QuoteSellExactly = __esm(() => {
|
|
54312
54197
|
init_encodings();
|
|
54313
54198
|
init_matchers();
|
|
54314
54199
|
init_primitives();
|
|
@@ -54321,17 +54206,17 @@ var init_uniswapV3V0QuoteSellExactly = __esm(() => {
|
|
|
54321
54206
|
init_async();
|
|
54322
54207
|
});
|
|
54323
54208
|
|
|
54324
|
-
// src/mcp-server/tools/
|
|
54325
|
-
var args69, tool$
|
|
54326
|
-
var
|
|
54327
|
-
|
|
54209
|
+
// src/mcp-server/tools/uniswapV3QuoteSellExactly.ts
|
|
54210
|
+
var args69, tool$uniswapV3QuoteSellExactly;
|
|
54211
|
+
var init_uniswapV3QuoteSellExactly2 = __esm(() => {
|
|
54212
|
+
init_uniswapV3QuoteSellExactly();
|
|
54328
54213
|
init_operations();
|
|
54329
54214
|
init_tools();
|
|
54330
54215
|
args69 = {
|
|
54331
54216
|
request: UniswapQuoteSellExactlyRequest$inboundSchema
|
|
54332
54217
|
};
|
|
54333
|
-
tool$
|
|
54334
|
-
name: "uniswap-v3-
|
|
54218
|
+
tool$uniswapV3QuoteSellExactly = {
|
|
54219
|
+
name: "uniswap-v3-quote-sell-exactly",
|
|
54335
54220
|
description: `Get quote - From Specified Amount
|
|
54336
54221
|
|
|
54337
54222
|
This endpoint calculates the amount of input tokens required to purchase a
|
|
@@ -54341,7 +54226,7 @@ It also provides the resulting price after the transaction. The calculation take
|
|
|
54341
54226
|
into account the current pool state and the specified fee tier.`,
|
|
54342
54227
|
args: args69,
|
|
54343
54228
|
tool: async (client, args70, ctx) => {
|
|
54344
|
-
const [result, apiCall] = await
|
|
54229
|
+
const [result, apiCall] = await uniswapV3QuoteSellExactly(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54345
54230
|
if (!result.ok) {
|
|
54346
54231
|
return {
|
|
54347
54232
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54354,8 +54239,8 @@ into account the current pool state and the specified fee tier.`,
|
|
|
54354
54239
|
};
|
|
54355
54240
|
});
|
|
54356
54241
|
|
|
54357
|
-
// src/funcs/
|
|
54358
|
-
function
|
|
54242
|
+
// src/funcs/uniswapV3SwapBuyExactly.ts
|
|
54243
|
+
function uniswapV3SwapBuyExactly(client, request, options) {
|
|
54359
54244
|
return new APIPromise($do70(client, request, options));
|
|
54360
54245
|
}
|
|
54361
54246
|
async function $do70(client, request, options) {
|
|
@@ -54416,7 +54301,7 @@ async function $do70(client, request, options) {
|
|
|
54416
54301
|
}
|
|
54417
54302
|
return [result, { status: "complete", request: req, response }];
|
|
54418
54303
|
}
|
|
54419
|
-
var
|
|
54304
|
+
var init_uniswapV3SwapBuyExactly = __esm(() => {
|
|
54420
54305
|
init_encodings();
|
|
54421
54306
|
init_matchers();
|
|
54422
54307
|
init_primitives();
|
|
@@ -54428,17 +54313,17 @@ var init_uniswapV3V0SwapBuyExactly = __esm(() => {
|
|
|
54428
54313
|
init_async();
|
|
54429
54314
|
});
|
|
54430
54315
|
|
|
54431
|
-
// src/mcp-server/tools/
|
|
54432
|
-
var args70, tool$
|
|
54433
|
-
var
|
|
54434
|
-
|
|
54316
|
+
// src/mcp-server/tools/uniswapV3SwapBuyExactly.ts
|
|
54317
|
+
var args70, tool$uniswapV3SwapBuyExactly;
|
|
54318
|
+
var init_uniswapV3SwapBuyExactly2 = __esm(() => {
|
|
54319
|
+
init_uniswapV3SwapBuyExactly();
|
|
54435
54320
|
init_components();
|
|
54436
54321
|
init_tools();
|
|
54437
54322
|
args70 = {
|
|
54438
54323
|
request: UniswapBuyExactlyRequest$inboundSchema
|
|
54439
54324
|
};
|
|
54440
|
-
tool$
|
|
54441
|
-
name: "uniswap-v3-
|
|
54325
|
+
tool$uniswapV3SwapBuyExactly = {
|
|
54326
|
+
name: "uniswap-v3-swap-buy-exactly",
|
|
54442
54327
|
description: `Buy exact amount
|
|
54443
54328
|
|
|
54444
54329
|
This endpoint allows users to trade a variable amount of one token to receive an
|
|
@@ -54458,7 +54343,7 @@ needs to be wrapped, the appropriate amount will be wrapped automatically.
|
|
|
54458
54343
|
`,
|
|
54459
54344
|
args: args70,
|
|
54460
54345
|
tool: async (client, args71, ctx) => {
|
|
54461
|
-
const [result, apiCall] = await
|
|
54346
|
+
const [result, apiCall] = await uniswapV3SwapBuyExactly(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54462
54347
|
if (!result.ok) {
|
|
54463
54348
|
return {
|
|
54464
54349
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54471,8 +54356,8 @@ needs to be wrapped, the appropriate amount will be wrapped automatically.
|
|
|
54471
54356
|
};
|
|
54472
54357
|
});
|
|
54473
54358
|
|
|
54474
|
-
// src/funcs/
|
|
54475
|
-
function
|
|
54359
|
+
// src/funcs/uniswapV3SwapSellExactly.ts
|
|
54360
|
+
function uniswapV3SwapSellExactly(client, request, options) {
|
|
54476
54361
|
return new APIPromise($do71(client, request, options));
|
|
54477
54362
|
}
|
|
54478
54363
|
async function $do71(client, request, options) {
|
|
@@ -54533,7 +54418,7 @@ async function $do71(client, request, options) {
|
|
|
54533
54418
|
}
|
|
54534
54419
|
return [result, { status: "complete", request: req, response }];
|
|
54535
54420
|
}
|
|
54536
|
-
var
|
|
54421
|
+
var init_uniswapV3SwapSellExactly = __esm(() => {
|
|
54537
54422
|
init_encodings();
|
|
54538
54423
|
init_matchers();
|
|
54539
54424
|
init_primitives();
|
|
@@ -54545,17 +54430,17 @@ var init_uniswapV3V0SwapSellExactly = __esm(() => {
|
|
|
54545
54430
|
init_async();
|
|
54546
54431
|
});
|
|
54547
54432
|
|
|
54548
|
-
// src/mcp-server/tools/
|
|
54549
|
-
var args71, tool$
|
|
54550
|
-
var
|
|
54551
|
-
|
|
54433
|
+
// src/mcp-server/tools/uniswapV3SwapSellExactly.ts
|
|
54434
|
+
var args71, tool$uniswapV3SwapSellExactly;
|
|
54435
|
+
var init_uniswapV3SwapSellExactly2 = __esm(() => {
|
|
54436
|
+
init_uniswapV3SwapSellExactly();
|
|
54552
54437
|
init_components();
|
|
54553
54438
|
init_tools();
|
|
54554
54439
|
args71 = {
|
|
54555
54440
|
request: UniswapSellExactlyRequest$inboundSchema
|
|
54556
54441
|
};
|
|
54557
|
-
tool$
|
|
54558
|
-
name: "uniswap-v3-
|
|
54442
|
+
tool$uniswapV3SwapSellExactly = {
|
|
54443
|
+
name: "uniswap-v3-swap-sell-exactly",
|
|
54559
54444
|
description: `Sell exact amount
|
|
54560
54445
|
|
|
54561
54446
|
This endpoint allows users to trade a specific amount of one token into another
|
|
@@ -54575,124 +54460,7 @@ wrapped, the appropriate amount will be wrapped automatically.
|
|
|
54575
54460
|
`,
|
|
54576
54461
|
args: args71,
|
|
54577
54462
|
tool: async (client, args72, ctx) => {
|
|
54578
|
-
const [result, apiCall] = await
|
|
54579
|
-
if (!result.ok) {
|
|
54580
|
-
return {
|
|
54581
|
-
content: [{ type: "text", text: result.error.message }],
|
|
54582
|
-
isError: true
|
|
54583
|
-
};
|
|
54584
|
-
}
|
|
54585
|
-
const value = result.value;
|
|
54586
|
-
return formatResult(value, apiCall);
|
|
54587
|
-
}
|
|
54588
|
-
};
|
|
54589
|
-
});
|
|
54590
|
-
|
|
54591
|
-
// src/funcs/uniswapV3V1UniswapSwapBuyExactly.ts
|
|
54592
|
-
function uniswapV3V1UniswapSwapBuyExactly(client, request, options) {
|
|
54593
|
-
return new APIPromise($do72(client, request, options));
|
|
54594
|
-
}
|
|
54595
|
-
async function $do72(client, request, options) {
|
|
54596
|
-
const parsed = safeParse(request, (value) => UniswapBuyExactlyRequestV1$outboundSchema.parse(value), "Input validation failed");
|
|
54597
|
-
if (!parsed.ok) {
|
|
54598
|
-
return [parsed, { status: "invalid" }];
|
|
54599
|
-
}
|
|
54600
|
-
const payload = parsed.value;
|
|
54601
|
-
const body = encodeJSON("body", payload, { explode: true });
|
|
54602
|
-
const path = pathToFunc("/v1/uniswap/swap/buy_exactly")();
|
|
54603
|
-
const headers = new Headers(compactMap({
|
|
54604
|
-
"Content-Type": "application/json",
|
|
54605
|
-
Accept: "application/json"
|
|
54606
|
-
}));
|
|
54607
|
-
const secConfig = await extractSecurity(client._options.apiKeyAuth);
|
|
54608
|
-
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
54609
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
54610
|
-
const context = {
|
|
54611
|
-
options: client._options,
|
|
54612
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
54613
|
-
operationID: "v1_uniswap_swap_buy_exactly",
|
|
54614
|
-
oAuth2Scopes: [],
|
|
54615
|
-
resolvedSecurity: requestSecurity,
|
|
54616
|
-
securitySource: client._options.apiKeyAuth,
|
|
54617
|
-
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
54618
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
54619
|
-
};
|
|
54620
|
-
const requestRes = client._createRequest(context, {
|
|
54621
|
-
security: requestSecurity,
|
|
54622
|
-
method: "POST",
|
|
54623
|
-
baseURL: options?.serverURL,
|
|
54624
|
-
path,
|
|
54625
|
-
headers,
|
|
54626
|
-
body,
|
|
54627
|
-
userAgent: client._options.userAgent,
|
|
54628
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
54629
|
-
}, options);
|
|
54630
|
-
if (!requestRes.ok) {
|
|
54631
|
-
return [requestRes, { status: "invalid" }];
|
|
54632
|
-
}
|
|
54633
|
-
const req = requestRes.value;
|
|
54634
|
-
const doResult = await client._do(req, {
|
|
54635
|
-
context,
|
|
54636
|
-
errorCodes: ["422", "4XX", "5XX"],
|
|
54637
|
-
retryConfig: context.retryConfig,
|
|
54638
|
-
retryCodes: context.retryCodes
|
|
54639
|
-
});
|
|
54640
|
-
if (!doResult.ok) {
|
|
54641
|
-
return [doResult, { status: "request-error", request: req }];
|
|
54642
|
-
}
|
|
54643
|
-
const response = doResult.value;
|
|
54644
|
-
const responseFields = {
|
|
54645
|
-
HttpMeta: { Response: response, Request: req }
|
|
54646
|
-
};
|
|
54647
|
-
const [result] = await match(json(200, TxResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
54648
|
-
if (!result.ok) {
|
|
54649
|
-
return [result, { status: "complete", request: req, response }];
|
|
54650
|
-
}
|
|
54651
|
-
return [result, { status: "complete", request: req, response }];
|
|
54652
|
-
}
|
|
54653
|
-
var init_uniswapV3V1UniswapSwapBuyExactly = __esm(() => {
|
|
54654
|
-
init_encodings();
|
|
54655
|
-
init_matchers();
|
|
54656
|
-
init_primitives();
|
|
54657
|
-
init_schemas();
|
|
54658
|
-
init_security();
|
|
54659
|
-
init_url();
|
|
54660
|
-
init_components();
|
|
54661
|
-
init_errors2();
|
|
54662
|
-
init_async();
|
|
54663
|
-
});
|
|
54664
|
-
|
|
54665
|
-
// src/mcp-server/tools/uniswapV3V1UniswapSwapBuyExactly.ts
|
|
54666
|
-
var args72, tool$uniswapV3V1UniswapSwapBuyExactly;
|
|
54667
|
-
var init_uniswapV3V1UniswapSwapBuyExactly2 = __esm(() => {
|
|
54668
|
-
init_uniswapV3V1UniswapSwapBuyExactly();
|
|
54669
|
-
init_components();
|
|
54670
|
-
init_tools();
|
|
54671
|
-
args72 = {
|
|
54672
|
-
request: UniswapBuyExactlyRequestV1$inboundSchema
|
|
54673
|
-
};
|
|
54674
|
-
tool$uniswapV3V1UniswapSwapBuyExactly = {
|
|
54675
|
-
name: "uniswap-v3-(v1-)-uniswap-swap-buy-exactly",
|
|
54676
|
-
description: `Buy exact amount
|
|
54677
|
-
|
|
54678
|
-
This endpoint allows users to trade a specific amount of one token into another
|
|
54679
|
-
token using the Uniswap protocol.
|
|
54680
|
-
|
|
54681
|
-
The transaction is executed on the specified blockchain network, and the user must
|
|
54682
|
-
provide the necessary transaction details, including the token to sell, the token to
|
|
54683
|
-
receive, and the amount to sell. If the token being sold is WETH and needs to be
|
|
54684
|
-
wrapped, the appropriate amount will be wrapped automatically.
|
|
54685
|
-
<Info>
|
|
54686
|
-
**Required Allowances**
|
|
54687
|
-
|
|
54688
|
-
In order to make this transaction, token allowances need to be set for the following contracts.
|
|
54689
|
-
|
|
54690
|
-
- \`UniswapV3Router\`
|
|
54691
|
-
</Info>
|
|
54692
|
-
`,
|
|
54693
|
-
args: args72,
|
|
54694
|
-
tool: async (client, args73, ctx) => {
|
|
54695
|
-
const [result, apiCall] = await uniswapV3V1UniswapSwapBuyExactly(client, args73.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54463
|
+
const [result, apiCall] = await uniswapV3SwapSellExactly(client, args72.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54696
54464
|
if (!result.ok) {
|
|
54697
54465
|
return {
|
|
54698
54466
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54707,9 +54475,9 @@ wrapped, the appropriate amount will be wrapped automatically.
|
|
|
54707
54475
|
|
|
54708
54476
|
// src/funcs/universalAllowance.ts
|
|
54709
54477
|
function universalAllowance(client, request, options) {
|
|
54710
|
-
return new APIPromise($
|
|
54478
|
+
return new APIPromise($do72(client, request, options));
|
|
54711
54479
|
}
|
|
54712
|
-
async function $
|
|
54480
|
+
async function $do72(client, request, options) {
|
|
54713
54481
|
const parsed = safeParse(request, (value) => GenericAllowanceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54714
54482
|
if (!parsed.ok) {
|
|
54715
54483
|
return [parsed, { status: "invalid" }];
|
|
@@ -54787,12 +54555,12 @@ var init_universalAllowance = __esm(() => {
|
|
|
54787
54555
|
});
|
|
54788
54556
|
|
|
54789
54557
|
// src/mcp-server/tools/universalAllowance.ts
|
|
54790
|
-
var
|
|
54558
|
+
var args72, tool$universalAllowance;
|
|
54791
54559
|
var init_universalAllowance2 = __esm(() => {
|
|
54792
54560
|
init_universalAllowance();
|
|
54793
54561
|
init_operations();
|
|
54794
54562
|
init_tools();
|
|
54795
|
-
|
|
54563
|
+
args72 = {
|
|
54796
54564
|
request: GenericAllowanceRequest$inboundSchema
|
|
54797
54565
|
};
|
|
54798
54566
|
tool$universalAllowance = {
|
|
@@ -54806,9 +54574,9 @@ tokens on their behalf.
|
|
|
54806
54574
|
This is a crucial step before engaging in any transactions or operations within
|
|
54807
54575
|
these protocols, ensuring that the protocol has the necessary permissions to manage
|
|
54808
54576
|
the user's tokens securely and efficiently.`,
|
|
54809
|
-
args:
|
|
54810
|
-
tool: async (client,
|
|
54811
|
-
const [result, apiCall] = await universalAllowance(client,
|
|
54577
|
+
args: args72,
|
|
54578
|
+
tool: async (client, args73, ctx) => {
|
|
54579
|
+
const [result, apiCall] = await universalAllowance(client, args73.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54812
54580
|
if (!result.ok) {
|
|
54813
54581
|
return {
|
|
54814
54582
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54823,9 +54591,9 @@ the user's tokens securely and efficiently.`,
|
|
|
54823
54591
|
|
|
54824
54592
|
// src/funcs/universalAllowanceSet.ts
|
|
54825
54593
|
function universalAllowanceSet(client, request, options) {
|
|
54826
|
-
return new APIPromise($
|
|
54594
|
+
return new APIPromise($do73(client, request, options));
|
|
54827
54595
|
}
|
|
54828
|
-
async function $
|
|
54596
|
+
async function $do73(client, request, options) {
|
|
54829
54597
|
const parsed = safeParse(request, (value) => SetAllowanceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54830
54598
|
if (!parsed.ok) {
|
|
54831
54599
|
return [parsed, { status: "invalid" }];
|
|
@@ -54896,12 +54664,12 @@ var init_universalAllowanceSet = __esm(() => {
|
|
|
54896
54664
|
});
|
|
54897
54665
|
|
|
54898
54666
|
// src/mcp-server/tools/universalAllowanceSet.ts
|
|
54899
|
-
var
|
|
54667
|
+
var args73, tool$universalAllowanceSet;
|
|
54900
54668
|
var init_universalAllowanceSet2 = __esm(() => {
|
|
54901
54669
|
init_universalAllowanceSet();
|
|
54902
54670
|
init_components();
|
|
54903
54671
|
init_tools();
|
|
54904
|
-
|
|
54672
|
+
args73 = {
|
|
54905
54673
|
request: SetAllowanceRequest$inboundSchema
|
|
54906
54674
|
};
|
|
54907
54675
|
tool$universalAllowanceSet = {
|
|
@@ -54916,9 +54684,9 @@ authorize a protocol to spend a specified amount of tokens on behalf of the user
|
|
|
54916
54684
|
This operation is crucial for ensuring that the protocol can manage the user's
|
|
54917
54685
|
tokens securely and efficiently, enabling seamless transactions and operations
|
|
54918
54686
|
within the DeFi ecosystem.`,
|
|
54919
|
-
args:
|
|
54920
|
-
tool: async (client,
|
|
54921
|
-
const [result, apiCall] = await universalAllowanceSet(client,
|
|
54687
|
+
args: args73,
|
|
54688
|
+
tool: async (client, args74, ctx) => {
|
|
54689
|
+
const [result, apiCall] = await universalAllowanceSet(client, args74.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54922
54690
|
if (!result.ok) {
|
|
54923
54691
|
return {
|
|
54924
54692
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54933,9 +54701,9 @@ within the DeFi ecosystem.`,
|
|
|
54933
54701
|
|
|
54934
54702
|
// src/funcs/universalEns.ts
|
|
54935
54703
|
function universalEns(client, request, options) {
|
|
54936
|
-
return new APIPromise($
|
|
54704
|
+
return new APIPromise($do74(client, request, options));
|
|
54937
54705
|
}
|
|
54938
|
-
async function $
|
|
54706
|
+
async function $do74(client, request, options) {
|
|
54939
54707
|
const parsed = safeParse(request, (value) => GenericEnsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54940
54708
|
if (!parsed.ok) {
|
|
54941
54709
|
return [parsed, { status: "invalid" }];
|
|
@@ -55011,12 +54779,12 @@ var init_universalEns = __esm(() => {
|
|
|
55011
54779
|
});
|
|
55012
54780
|
|
|
55013
54781
|
// src/mcp-server/tools/universalEns.ts
|
|
55014
|
-
var
|
|
54782
|
+
var args74, tool$universalEns;
|
|
55015
54783
|
var init_universalEns2 = __esm(() => {
|
|
55016
54784
|
init_universalEns();
|
|
55017
54785
|
init_operations();
|
|
55018
54786
|
init_tools();
|
|
55019
|
-
|
|
54787
|
+
args74 = {
|
|
55020
54788
|
request: GenericEnsRequest$inboundSchema
|
|
55021
54789
|
};
|
|
55022
54790
|
tool$universalEns = {
|
|
@@ -55027,9 +54795,9 @@ An ENS name is a string ending in \`.eth\`.
|
|
|
55027
54795
|
|
|
55028
54796
|
E.g. \`vitalik.eth\`. This endpoint can be used to
|
|
55029
54797
|
query the actual ethereum wallet address behind the ENS name.`,
|
|
55030
|
-
args:
|
|
55031
|
-
tool: async (client,
|
|
55032
|
-
const [result, apiCall] = await universalEns(client,
|
|
54798
|
+
args: args74,
|
|
54799
|
+
tool: async (client, args75, ctx) => {
|
|
54800
|
+
const [result, apiCall] = await universalEns(client, args75.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55033
54801
|
if (!result.ok) {
|
|
55034
54802
|
return {
|
|
55035
54803
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55044,9 +54812,9 @@ query the actual ethereum wallet address behind the ENS name.`,
|
|
|
55044
54812
|
|
|
55045
54813
|
// src/funcs/universalPortfolio.ts
|
|
55046
54814
|
function universalPortfolio(client, request, options) {
|
|
55047
|
-
return new APIPromise($
|
|
54815
|
+
return new APIPromise($do75(client, request, options));
|
|
55048
54816
|
}
|
|
55049
|
-
async function $
|
|
54817
|
+
async function $do75(client, request, options) {
|
|
55050
54818
|
const parsed = safeParse(request, (value) => GenericPortfolioRequest$outboundSchema.parse(value), "Input validation failed");
|
|
55051
54819
|
if (!parsed.ok) {
|
|
55052
54820
|
return [parsed, { status: "invalid" }];
|
|
@@ -55122,12 +54890,12 @@ var init_universalPortfolio = __esm(() => {
|
|
|
55122
54890
|
});
|
|
55123
54891
|
|
|
55124
54892
|
// src/mcp-server/tools/universalPortfolio.ts
|
|
55125
|
-
var
|
|
54893
|
+
var args75, tool$universalPortfolio;
|
|
55126
54894
|
var init_universalPortfolio2 = __esm(() => {
|
|
55127
54895
|
init_universalPortfolio();
|
|
55128
54896
|
init_operations();
|
|
55129
54897
|
init_tools();
|
|
55130
|
-
|
|
54898
|
+
args75 = {
|
|
55131
54899
|
request: GenericPortfolioRequest$inboundSchema
|
|
55132
54900
|
};
|
|
55133
54901
|
tool$universalPortfolio = {
|
|
@@ -55138,9 +54906,9 @@ Fetch the detailed portfolio of a specific wallet address on a given blockchain.
|
|
|
55138
54906
|
|
|
55139
54907
|
This includes the total value of the portfolio in USD and a breakdown of token
|
|
55140
54908
|
balances, including their respective values and quantities.`,
|
|
55141
|
-
args:
|
|
55142
|
-
tool: async (client,
|
|
55143
|
-
const [result, apiCall] = await universalPortfolio(client,
|
|
54909
|
+
args: args75,
|
|
54910
|
+
tool: async (client, args76, ctx) => {
|
|
54911
|
+
const [result, apiCall] = await universalPortfolio(client, args76.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55144
54912
|
if (!result.ok) {
|
|
55145
54913
|
return {
|
|
55146
54914
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55155,9 +54923,9 @@ balances, including their respective values and quantities.`,
|
|
|
55155
54923
|
|
|
55156
54924
|
// src/funcs/universalSupportedChains.ts
|
|
55157
54925
|
function universalSupportedChains(client, request, options) {
|
|
55158
|
-
return new APIPromise($
|
|
54926
|
+
return new APIPromise($do76(client, request, options));
|
|
55159
54927
|
}
|
|
55160
|
-
async function $
|
|
54928
|
+
async function $do76(client, request, options) {
|
|
55161
54929
|
const parsed = safeParse(request, (value) => GenericSupportedChainsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
55162
54930
|
if (!parsed.ok) {
|
|
55163
54931
|
return [parsed, { status: "invalid" }];
|
|
@@ -55232,12 +55000,12 @@ var init_universalSupportedChains = __esm(() => {
|
|
|
55232
55000
|
});
|
|
55233
55001
|
|
|
55234
55002
|
// src/mcp-server/tools/universalSupportedChains.ts
|
|
55235
|
-
var
|
|
55003
|
+
var args76, tool$universalSupportedChains;
|
|
55236
55004
|
var init_universalSupportedChains2 = __esm(() => {
|
|
55237
55005
|
init_universalSupportedChains();
|
|
55238
55006
|
init_operations();
|
|
55239
55007
|
init_tools();
|
|
55240
|
-
|
|
55008
|
+
args76 = {
|
|
55241
55009
|
request: GenericSupportedChainsRequest$inboundSchema
|
|
55242
55010
|
};
|
|
55243
55011
|
tool$universalSupportedChains = {
|
|
@@ -55245,9 +55013,9 @@ var init_universalSupportedChains2 = __esm(() => {
|
|
|
55245
55013
|
description: `List Supported Chains
|
|
55246
55014
|
|
|
55247
55015
|
Get the list of supported chains by the Compass API.`,
|
|
55248
|
-
args:
|
|
55249
|
-
tool: async (client,
|
|
55250
|
-
const [result, apiCall] = await universalSupportedChains(client,
|
|
55016
|
+
args: args76,
|
|
55017
|
+
tool: async (client, args77, ctx) => {
|
|
55018
|
+
const [result, apiCall] = await universalSupportedChains(client, args77.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55251
55019
|
if (!result.ok) {
|
|
55252
55020
|
return {
|
|
55253
55021
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55262,9 +55030,9 @@ Get the list of supported chains by the Compass API.`,
|
|
|
55262
55030
|
|
|
55263
55031
|
// src/funcs/universalSupportedTokens.ts
|
|
55264
55032
|
function universalSupportedTokens(client, request, options) {
|
|
55265
|
-
return new APIPromise($
|
|
55033
|
+
return new APIPromise($do77(client, request, options));
|
|
55266
55034
|
}
|
|
55267
|
-
async function $
|
|
55035
|
+
async function $do77(client, request, options) {
|
|
55268
55036
|
const parsed = safeParse(request, (value) => GenericSupportedTokensRequest$outboundSchema.parse(value), "Input validation failed");
|
|
55269
55037
|
if (!parsed.ok) {
|
|
55270
55038
|
return [parsed, { status: "invalid" }];
|
|
@@ -55339,12 +55107,12 @@ var init_universalSupportedTokens = __esm(() => {
|
|
|
55339
55107
|
});
|
|
55340
55108
|
|
|
55341
55109
|
// src/mcp-server/tools/universalSupportedTokens.ts
|
|
55342
|
-
var
|
|
55110
|
+
var args77, tool$universalSupportedTokens;
|
|
55343
55111
|
var init_universalSupportedTokens2 = __esm(() => {
|
|
55344
55112
|
init_universalSupportedTokens();
|
|
55345
55113
|
init_operations();
|
|
55346
55114
|
init_tools();
|
|
55347
|
-
|
|
55115
|
+
args77 = {
|
|
55348
55116
|
request: GenericSupportedTokensRequest$inboundSchema
|
|
55349
55117
|
};
|
|
55350
55118
|
tool$universalSupportedTokens = {
|
|
@@ -55352,9 +55120,9 @@ var init_universalSupportedTokens2 = __esm(() => {
|
|
|
55352
55120
|
description: `List Supported Tokens
|
|
55353
55121
|
|
|
55354
55122
|
Get the list of supported tokens on a chain by the Compass API.`,
|
|
55355
|
-
args:
|
|
55356
|
-
tool: async (client,
|
|
55357
|
-
const [result, apiCall] = await universalSupportedTokens(client,
|
|
55123
|
+
args: args77,
|
|
55124
|
+
tool: async (client, args78, ctx) => {
|
|
55125
|
+
const [result, apiCall] = await universalSupportedTokens(client, args78.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55358
55126
|
if (!result.ok) {
|
|
55359
55127
|
return {
|
|
55360
55128
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55369,9 +55137,9 @@ Get the list of supported tokens on a chain by the Compass API.`,
|
|
|
55369
55137
|
|
|
55370
55138
|
// src/funcs/universalUnwrapWeth.ts
|
|
55371
55139
|
function universalUnwrapWeth(client, request, options) {
|
|
55372
|
-
return new APIPromise($
|
|
55140
|
+
return new APIPromise($do78(client, request, options));
|
|
55373
55141
|
}
|
|
55374
|
-
async function $
|
|
55142
|
+
async function $do78(client, request, options) {
|
|
55375
55143
|
const parsed = safeParse(request, (value) => UnwrapWethRequest$outboundSchema.parse(value), "Input validation failed");
|
|
55376
55144
|
if (!parsed.ok) {
|
|
55377
55145
|
return [parsed, { status: "invalid" }];
|
|
@@ -55442,12 +55210,12 @@ var init_universalUnwrapWeth = __esm(() => {
|
|
|
55442
55210
|
});
|
|
55443
55211
|
|
|
55444
55212
|
// src/mcp-server/tools/universalUnwrapWeth.ts
|
|
55445
|
-
var
|
|
55213
|
+
var args78, tool$universalUnwrapWeth;
|
|
55446
55214
|
var init_universalUnwrapWeth2 = __esm(() => {
|
|
55447
55215
|
init_universalUnwrapWeth();
|
|
55448
55216
|
init_components();
|
|
55449
55217
|
init_tools();
|
|
55450
|
-
|
|
55218
|
+
args78 = {
|
|
55451
55219
|
request: UnwrapWethRequest$inboundSchema
|
|
55452
55220
|
};
|
|
55453
55221
|
tool$universalUnwrapWeth = {
|
|
@@ -55456,9 +55224,9 @@ var init_universalUnwrapWeth2 = __esm(() => {
|
|
|
55456
55224
|
|
|
55457
55225
|
Unwrapping WETH converts the ERC-20 compliant form of ETH back to native ETH that
|
|
55458
55226
|
can be used for gas and other native purposes.`,
|
|
55459
|
-
args:
|
|
55460
|
-
tool: async (client,
|
|
55461
|
-
const [result, apiCall] = await universalUnwrapWeth(client,
|
|
55227
|
+
args: args78,
|
|
55228
|
+
tool: async (client, args79, ctx) => {
|
|
55229
|
+
const [result, apiCall] = await universalUnwrapWeth(client, args79.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55462
55230
|
if (!result.ok) {
|
|
55463
55231
|
return {
|
|
55464
55232
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55473,9 +55241,9 @@ can be used for gas and other native purposes.`,
|
|
|
55473
55241
|
|
|
55474
55242
|
// src/funcs/universalVisualizePortfolio.ts
|
|
55475
55243
|
function universalVisualizePortfolio(client, request, options) {
|
|
55476
|
-
return new APIPromise($
|
|
55244
|
+
return new APIPromise($do79(client, request, options));
|
|
55477
55245
|
}
|
|
55478
|
-
async function $
|
|
55246
|
+
async function $do79(client, request, options) {
|
|
55479
55247
|
const parsed = safeParse(request, (value) => GenericVisualizePortfolioRequest$outboundSchema.parse(value), "Input validation failed");
|
|
55480
55248
|
if (!parsed.ok) {
|
|
55481
55249
|
return [parsed, { status: "invalid" }];
|
|
@@ -55551,12 +55319,12 @@ var init_universalVisualizePortfolio = __esm(() => {
|
|
|
55551
55319
|
});
|
|
55552
55320
|
|
|
55553
55321
|
// src/mcp-server/tools/universalVisualizePortfolio.ts
|
|
55554
|
-
var
|
|
55322
|
+
var args79, tool$universalVisualizePortfolio;
|
|
55555
55323
|
var init_universalVisualizePortfolio2 = __esm(() => {
|
|
55556
55324
|
init_universalVisualizePortfolio();
|
|
55557
55325
|
init_operations();
|
|
55558
55326
|
init_tools();
|
|
55559
|
-
|
|
55327
|
+
args79 = {
|
|
55560
55328
|
request: GenericVisualizePortfolioRequest$inboundSchema
|
|
55561
55329
|
};
|
|
55562
55330
|
tool$universalVisualizePortfolio = {
|
|
@@ -55568,9 +55336,9 @@ Generate a visual representation of the token portfolio for a wallet address.
|
|
|
55568
55336
|
The response is an SVG image of a pie chart depicting the relative distribution of
|
|
55569
55337
|
tokens held, colored and labeled with token symbols, percentages and token values in
|
|
55570
55338
|
USD.`,
|
|
55571
|
-
args:
|
|
55572
|
-
tool: async (client,
|
|
55573
|
-
const [result, apiCall] = await universalVisualizePortfolio(client,
|
|
55339
|
+
args: args79,
|
|
55340
|
+
tool: async (client, args80, ctx) => {
|
|
55341
|
+
const [result, apiCall] = await universalVisualizePortfolio(client, args80.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55574
55342
|
if (!result.ok) {
|
|
55575
55343
|
return {
|
|
55576
55344
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55585,9 +55353,9 @@ USD.`,
|
|
|
55585
55353
|
|
|
55586
55354
|
// src/funcs/universalWrapEth.ts
|
|
55587
55355
|
function universalWrapEth(client, request, options) {
|
|
55588
|
-
return new APIPromise($
|
|
55356
|
+
return new APIPromise($do80(client, request, options));
|
|
55589
55357
|
}
|
|
55590
|
-
async function $
|
|
55358
|
+
async function $do80(client, request, options) {
|
|
55591
55359
|
const parsed = safeParse(request, (value) => WrapEthRequest$outboundSchema.parse(value), "Input validation failed");
|
|
55592
55360
|
if (!parsed.ok) {
|
|
55593
55361
|
return [parsed, { status: "invalid" }];
|
|
@@ -55658,12 +55426,12 @@ var init_universalWrapEth = __esm(() => {
|
|
|
55658
55426
|
});
|
|
55659
55427
|
|
|
55660
55428
|
// src/mcp-server/tools/universalWrapEth.ts
|
|
55661
|
-
var
|
|
55429
|
+
var args80, tool$universalWrapEth;
|
|
55662
55430
|
var init_universalWrapEth2 = __esm(() => {
|
|
55663
55431
|
init_universalWrapEth();
|
|
55664
55432
|
init_components();
|
|
55665
55433
|
init_tools();
|
|
55666
|
-
|
|
55434
|
+
args80 = {
|
|
55667
55435
|
request: WrapEthRequest$inboundSchema
|
|
55668
55436
|
};
|
|
55669
55437
|
tool$universalWrapEth = {
|
|
@@ -55672,9 +55440,9 @@ var init_universalWrapEth2 = __esm(() => {
|
|
|
55672
55440
|
|
|
55673
55441
|
Wrapping ETH creates an ERC20 compliant form of ETH that is typically needed for
|
|
55674
55442
|
it to be traded on DeFi protocols.`,
|
|
55675
|
-
args:
|
|
55676
|
-
tool: async (client,
|
|
55677
|
-
const [result, apiCall] = await universalWrapEth(client,
|
|
55443
|
+
args: args80,
|
|
55444
|
+
tool: async (client, args81, ctx) => {
|
|
55445
|
+
const [result, apiCall] = await universalWrapEth(client, args81.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55678
55446
|
if (!result.ok) {
|
|
55679
55447
|
return {
|
|
55680
55448
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55691,7 +55459,7 @@ it to be traded on DeFi protocols.`,
|
|
|
55691
55459
|
function createMCPServer(deps) {
|
|
55692
55460
|
const server = new McpServer({
|
|
55693
55461
|
name: "CompassApiSDK",
|
|
55694
|
-
version: "0.5.
|
|
55462
|
+
version: "0.5.63"
|
|
55695
55463
|
});
|
|
55696
55464
|
const client = new CompassApiSDKCore({
|
|
55697
55465
|
apiKeyAuth: deps.apiKeyAuth,
|
|
@@ -55747,16 +55515,16 @@ function createMCPServer(deps) {
|
|
|
55747
55515
|
tool(tool$tokenPrice);
|
|
55748
55516
|
tool(tool$tokenBalance);
|
|
55749
55517
|
tool(tool$tokenTransfer);
|
|
55750
|
-
tool(tool$
|
|
55751
|
-
tool(tool$
|
|
55752
|
-
tool(tool$
|
|
55753
|
-
tool(tool$
|
|
55754
|
-
tool(tool$
|
|
55755
|
-
tool(tool$
|
|
55756
|
-
tool(tool$
|
|
55757
|
-
tool(tool$
|
|
55758
|
-
tool(tool$
|
|
55759
|
-
tool(tool$
|
|
55518
|
+
tool(tool$uniswapV3QuoteBuyExactly);
|
|
55519
|
+
tool(tool$uniswapV3QuoteSellExactly);
|
|
55520
|
+
tool(tool$uniswapV3PoolPrice);
|
|
55521
|
+
tool(tool$uniswapV3LiquidityProvisionInRange);
|
|
55522
|
+
tool(tool$uniswapV3LiquidityProvisionPositions);
|
|
55523
|
+
tool(tool$uniswapV3SwapBuyExactly);
|
|
55524
|
+
tool(tool$uniswapV3SwapSellExactly);
|
|
55525
|
+
tool(tool$uniswapV3LiquidityProvisionMint);
|
|
55526
|
+
tool(tool$uniswapV3LiquidityProvisionIncrease);
|
|
55527
|
+
tool(tool$uniswapV3LiquidityProvisionWithdraw);
|
|
55760
55528
|
tool(tool$universalPortfolio);
|
|
55761
55529
|
tool(tool$universalVisualizePortfolio);
|
|
55762
55530
|
tool(tool$universalSupportedTokens);
|
|
@@ -55774,9 +55542,9 @@ function createMCPServer(deps) {
|
|
|
55774
55542
|
tool(tool$pendleSellPt);
|
|
55775
55543
|
tool(tool$pendleBuyYt);
|
|
55776
55544
|
tool(tool$pendleSellYt);
|
|
55777
|
-
tool(tool$pendleRedeemYield);
|
|
55778
55545
|
tool(tool$pendleAddLiquidity);
|
|
55779
55546
|
tool(tool$pendleRemoveLiquidity);
|
|
55547
|
+
tool(tool$pendleRedeemYield);
|
|
55780
55548
|
tool(tool$swapOdos);
|
|
55781
55549
|
tool(tool$transactionBundlerBundlerAuthorization);
|
|
55782
55550
|
tool(tool$transactionBundlerBundlerExecute);
|
|
@@ -55785,7 +55553,6 @@ function createMCPServer(deps) {
|
|
|
55785
55553
|
tool(tool$erc4626VaultsVault);
|
|
55786
55554
|
tool(tool$erc4626VaultsDeposit);
|
|
55787
55555
|
tool(tool$erc4626VaultsWithdraw);
|
|
55788
|
-
tool(tool$uniswapV3V1UniswapSwapBuyExactly);
|
|
55789
55556
|
return server;
|
|
55790
55557
|
}
|
|
55791
55558
|
var init_server2 = __esm(() => {
|
|
@@ -55854,17 +55621,16 @@ var init_server2 = __esm(() => {
|
|
|
55854
55621
|
init_transactionBundlerBundlerAaveLoop2();
|
|
55855
55622
|
init_transactionBundlerBundlerAuthorization2();
|
|
55856
55623
|
init_transactionBundlerBundlerExecute2();
|
|
55857
|
-
|
|
55858
|
-
|
|
55859
|
-
|
|
55860
|
-
|
|
55861
|
-
|
|
55862
|
-
|
|
55863
|
-
|
|
55864
|
-
|
|
55865
|
-
|
|
55866
|
-
|
|
55867
|
-
init_uniswapV3V1UniswapSwapBuyExactly2();
|
|
55624
|
+
init_uniswapV3LiquidityProvisionIncrease2();
|
|
55625
|
+
init_uniswapV3LiquidityProvisionInRange2();
|
|
55626
|
+
init_uniswapV3LiquidityProvisionMint2();
|
|
55627
|
+
init_uniswapV3LiquidityProvisionPositions2();
|
|
55628
|
+
init_uniswapV3LiquidityProvisionWithdraw2();
|
|
55629
|
+
init_uniswapV3PoolPrice2();
|
|
55630
|
+
init_uniswapV3QuoteBuyExactly2();
|
|
55631
|
+
init_uniswapV3QuoteSellExactly2();
|
|
55632
|
+
init_uniswapV3SwapBuyExactly2();
|
|
55633
|
+
init_uniswapV3SwapSellExactly2();
|
|
55868
55634
|
init_universalAllowance2();
|
|
55869
55635
|
init_universalAllowanceSet2();
|
|
55870
55636
|
init_universalEns2();
|
|
@@ -57069,7 +56835,7 @@ var routes = ln({
|
|
|
57069
56835
|
var app = _e(routes, {
|
|
57070
56836
|
name: "mcp",
|
|
57071
56837
|
versionInfo: {
|
|
57072
|
-
currentVersion: "0.5.
|
|
56838
|
+
currentVersion: "0.5.63"
|
|
57073
56839
|
}
|
|
57074
56840
|
});
|
|
57075
56841
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -57077,5 +56843,5 @@ export {
|
|
|
57077
56843
|
app
|
|
57078
56844
|
};
|
|
57079
56845
|
|
|
57080
|
-
//# debugId=
|
|
56846
|
+
//# debugId=302494B97042A89864756E2164756E21
|
|
57081
56847
|
//# sourceMappingURL=mcp-server.js.map
|