@compass-labs/api-sdk 0.5.54 → 0.5.55
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 +27 -22
- package/bin/mcp-server.js +468 -188
- package/bin/mcp-server.js.map +45 -41
- package/dist/commonjs/funcs/{uniswapV3LiquidityProvisionInRange.d.ts → uniswapV3V0LiquidityProvisionInRange.d.ts} +2 -2
- package/dist/commonjs/funcs/{uniswapV3LiquidityProvisionPositions.d.ts.map → uniswapV3V0LiquidityProvisionInRange.d.ts.map} +1 -1
- package/dist/commonjs/funcs/{uniswapV3LiquidityProvisionInRange.js → uniswapV3V0LiquidityProvisionInRange.js} +3 -3
- package/dist/commonjs/funcs/uniswapV3V0LiquidityProvisionInRange.js.map +1 -0
- package/dist/{esm/funcs/uniswapV3LiquidityProvisionIncrease.d.ts → commonjs/funcs/uniswapV3V0LiquidityProvisionIncrease.d.ts} +2 -2
- package/dist/commonjs/funcs/uniswapV3V0LiquidityProvisionIncrease.d.ts.map +1 -0
- package/dist/commonjs/funcs/{uniswapV3LiquidityProvisionIncrease.js → uniswapV3V0LiquidityProvisionIncrease.js} +3 -3
- package/dist/commonjs/funcs/uniswapV3V0LiquidityProvisionIncrease.js.map +1 -0
- package/dist/{esm/funcs/uniswapV3LiquidityProvisionMint.d.ts → commonjs/funcs/uniswapV3V0LiquidityProvisionMint.d.ts} +2 -2
- package/dist/commonjs/funcs/uniswapV3V0LiquidityProvisionMint.d.ts.map +1 -0
- package/dist/commonjs/funcs/{uniswapV3LiquidityProvisionMint.js → uniswapV3V0LiquidityProvisionMint.js} +3 -3
- package/dist/commonjs/funcs/uniswapV3V0LiquidityProvisionMint.js.map +1 -0
- package/dist/{esm/funcs/uniswapV3LiquidityProvisionPositions.d.ts → commonjs/funcs/uniswapV3V0LiquidityProvisionPositions.d.ts} +2 -2
- package/dist/commonjs/funcs/uniswapV3V0LiquidityProvisionPositions.d.ts.map +1 -0
- package/dist/commonjs/funcs/{uniswapV3LiquidityProvisionPositions.js → uniswapV3V0LiquidityProvisionPositions.js} +3 -3
- package/dist/commonjs/funcs/uniswapV3V0LiquidityProvisionPositions.js.map +1 -0
- package/dist/commonjs/funcs/{uniswapV3LiquidityProvisionWithdraw.d.ts → uniswapV3V0LiquidityProvisionWithdraw.d.ts} +2 -2
- package/dist/commonjs/funcs/uniswapV3V0LiquidityProvisionWithdraw.d.ts.map +1 -0
- package/dist/commonjs/funcs/{uniswapV3LiquidityProvisionWithdraw.js → uniswapV3V0LiquidityProvisionWithdraw.js} +3 -3
- package/dist/commonjs/funcs/uniswapV3V0LiquidityProvisionWithdraw.js.map +1 -0
- package/dist/commonjs/funcs/{uniswapV3PoolPrice.d.ts → uniswapV3V0PoolPrice.d.ts} +2 -2
- package/dist/commonjs/funcs/uniswapV3V0PoolPrice.d.ts.map +1 -0
- package/dist/commonjs/funcs/{uniswapV3PoolPrice.js → uniswapV3V0PoolPrice.js} +3 -3
- package/dist/commonjs/funcs/uniswapV3V0PoolPrice.js.map +1 -0
- package/dist/commonjs/funcs/{uniswapV3QuoteSellExactly.d.ts → uniswapV3V0QuoteBuyExactly.d.ts} +3 -3
- package/dist/commonjs/funcs/uniswapV3V0QuoteBuyExactly.d.ts.map +1 -0
- package/dist/commonjs/funcs/{uniswapV3QuoteBuyExactly.js → uniswapV3V0QuoteBuyExactly.js} +3 -3
- package/dist/commonjs/funcs/uniswapV3V0QuoteBuyExactly.js.map +1 -0
- package/dist/commonjs/funcs/{uniswapV3QuoteBuyExactly.d.ts → uniswapV3V0QuoteSellExactly.d.ts} +3 -3
- package/dist/commonjs/funcs/uniswapV3V0QuoteSellExactly.d.ts.map +1 -0
- package/dist/commonjs/funcs/{uniswapV3QuoteSellExactly.js → uniswapV3V0QuoteSellExactly.js} +3 -3
- package/dist/commonjs/funcs/uniswapV3V0QuoteSellExactly.js.map +1 -0
- package/dist/{esm/funcs/uniswapV3SwapBuyExactly.d.ts → commonjs/funcs/uniswapV3V0SwapBuyExactly.d.ts} +2 -2
- package/dist/commonjs/funcs/uniswapV3V0SwapBuyExactly.d.ts.map +1 -0
- package/dist/commonjs/funcs/{uniswapV3SwapBuyExactly.js → uniswapV3V0SwapBuyExactly.js} +3 -3
- package/dist/commonjs/funcs/uniswapV3V0SwapBuyExactly.js.map +1 -0
- package/dist/commonjs/funcs/{uniswapV3SwapSellExactly.d.ts → uniswapV3V0SwapSellExactly.d.ts} +2 -2
- package/dist/commonjs/funcs/uniswapV3V0SwapSellExactly.d.ts.map +1 -0
- package/dist/commonjs/funcs/{uniswapV3SwapSellExactly.js → uniswapV3V0SwapSellExactly.js} +3 -3
- package/dist/commonjs/funcs/uniswapV3V0SwapSellExactly.js.map +1 -0
- package/dist/commonjs/funcs/uniswapV3V1UniswapSwapBuyExactly.d.ts +31 -0
- package/dist/commonjs/funcs/uniswapV3V1UniswapSwapBuyExactly.d.ts.map +1 -0
- package/dist/commonjs/funcs/uniswapV3V1UniswapSwapBuyExactly.js +131 -0
- package/dist/commonjs/funcs/{uniswapV3LiquidityProvisionMint.js.map → uniswapV3V1UniswapSwapBuyExactly.js.map} +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/server.js +23 -21
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/{uniswapV3LiquidityProvisionInRange.d.ts → uniswapV3V0LiquidityProvisionInRange.d.ts} +2 -2
- package/dist/commonjs/mcp-server/tools/{uniswapV3LiquidityProvisionPositions.d.ts.map → uniswapV3V0LiquidityProvisionInRange.d.ts.map} +1 -1
- package/dist/commonjs/mcp-server/tools/{uniswapV3LiquidityProvisionInRange.js → uniswapV3V0LiquidityProvisionInRange.js} +6 -6
- package/dist/commonjs/mcp-server/tools/uniswapV3V0LiquidityProvisionInRange.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/{uniswapV3LiquidityProvisionIncrease.d.ts → uniswapV3V0LiquidityProvisionIncrease.d.ts} +2 -2
- package/dist/commonjs/mcp-server/tools/uniswapV3V0LiquidityProvisionIncrease.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{uniswapV3LiquidityProvisionIncrease.js → uniswapV3V0LiquidityProvisionIncrease.js} +6 -6
- package/dist/commonjs/mcp-server/tools/uniswapV3V0LiquidityProvisionIncrease.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/{uniswapV3LiquidityProvisionMint.d.ts → uniswapV3V0LiquidityProvisionMint.d.ts} +2 -2
- package/dist/commonjs/mcp-server/tools/uniswapV3V0LiquidityProvisionMint.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{uniswapV3LiquidityProvisionMint.js → uniswapV3V0LiquidityProvisionMint.js} +6 -6
- package/dist/commonjs/mcp-server/tools/uniswapV3V0LiquidityProvisionMint.js.map +1 -0
- package/dist/{esm/mcp-server/tools/uniswapV3LiquidityProvisionPositions.d.ts → commonjs/mcp-server/tools/uniswapV3V0LiquidityProvisionPositions.d.ts} +2 -2
- package/dist/commonjs/mcp-server/tools/uniswapV3V0LiquidityProvisionPositions.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{uniswapV3LiquidityProvisionPositions.js → uniswapV3V0LiquidityProvisionPositions.js} +6 -6
- package/dist/commonjs/mcp-server/tools/uniswapV3V0LiquidityProvisionPositions.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/{uniswapV3LiquidityProvisionWithdraw.d.ts → uniswapV3V0LiquidityProvisionWithdraw.d.ts} +2 -2
- package/dist/commonjs/mcp-server/tools/uniswapV3V0LiquidityProvisionWithdraw.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{uniswapV3LiquidityProvisionWithdraw.js → uniswapV3V0LiquidityProvisionWithdraw.js} +6 -6
- package/dist/commonjs/mcp-server/tools/uniswapV3V0LiquidityProvisionWithdraw.js.map +1 -0
- package/dist/{esm/mcp-server/tools/uniswapV3PoolPrice.d.ts → commonjs/mcp-server/tools/uniswapV3V0PoolPrice.d.ts} +2 -2
- package/dist/commonjs/mcp-server/tools/uniswapV3V0PoolPrice.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{uniswapV3PoolPrice.js → uniswapV3V0PoolPrice.js} +6 -6
- package/dist/commonjs/mcp-server/tools/uniswapV3V0PoolPrice.js.map +1 -0
- package/dist/{esm/mcp-server/tools/uniswapV3QuoteBuyExactly.d.ts → commonjs/mcp-server/tools/uniswapV3V0QuoteBuyExactly.d.ts} +2 -2
- package/dist/commonjs/mcp-server/tools/uniswapV3V0QuoteBuyExactly.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{uniswapV3QuoteBuyExactly.js → uniswapV3V0QuoteBuyExactly.js} +6 -6
- package/dist/commonjs/mcp-server/tools/uniswapV3V0QuoteBuyExactly.js.map +1 -0
- package/dist/{esm/mcp-server/tools/uniswapV3QuoteSellExactly.d.ts → commonjs/mcp-server/tools/uniswapV3V0QuoteSellExactly.d.ts} +2 -2
- package/dist/commonjs/mcp-server/tools/uniswapV3V0QuoteSellExactly.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{uniswapV3QuoteSellExactly.js → uniswapV3V0QuoteSellExactly.js} +6 -6
- package/dist/commonjs/mcp-server/tools/uniswapV3V0QuoteSellExactly.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/{uniswapV3SwapBuyExactly.d.ts → uniswapV3V0SwapBuyExactly.d.ts} +2 -2
- package/dist/commonjs/mcp-server/tools/uniswapV3V0SwapBuyExactly.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{uniswapV3SwapBuyExactly.js → uniswapV3V0SwapBuyExactly.js} +6 -6
- package/dist/commonjs/mcp-server/tools/uniswapV3V0SwapBuyExactly.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/{uniswapV3SwapSellExactly.d.ts → uniswapV3V0SwapSellExactly.d.ts} +2 -2
- package/dist/commonjs/mcp-server/tools/uniswapV3V0SwapSellExactly.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{uniswapV3SwapSellExactly.js → uniswapV3V0SwapSellExactly.js} +6 -6
- package/dist/commonjs/mcp-server/tools/uniswapV3V0SwapSellExactly.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/uniswapV3V1UniswapSwapBuyExactly.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/uniswapV3V1UniswapSwapBuyExactly.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/uniswapV3V1UniswapSwapBuyExactly.js +78 -0
- package/dist/commonjs/mcp-server/tools/uniswapV3V1UniswapSwapBuyExactly.js.map +1 -0
- package/dist/commonjs/models/components/index.d.ts +2 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +2 -0
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/tokenenum.d.ts +3 -0
- package/dist/commonjs/models/components/tokenenum.d.ts.map +1 -1
- package/dist/commonjs/models/components/tokenenum.js +1 -0
- package/dist/commonjs/models/components/tokenenum.js.map +1 -1
- package/dist/commonjs/models/components/uniswapbuyexactlyparamsv1.d.ts +132 -0
- package/dist/commonjs/models/components/uniswapbuyexactlyparamsv1.d.ts.map +1 -0
- package/dist/commonjs/models/components/uniswapbuyexactlyparamsv1.js +165 -0
- package/dist/commonjs/models/components/uniswapbuyexactlyparamsv1.js.map +1 -0
- package/dist/commonjs/models/components/uniswapbuyexactlyrequestv1.d.ts +171 -0
- package/dist/commonjs/models/components/uniswapbuyexactlyrequestv1.d.ts.map +1 -0
- package/dist/commonjs/models/components/uniswapbuyexactlyrequestv1.js +189 -0
- package/dist/commonjs/models/components/uniswapbuyexactlyrequestv1.js.map +1 -0
- package/dist/commonjs/models/components/useroperation.d.ts +9 -0
- package/dist/commonjs/models/components/useroperation.d.ts.map +1 -1
- package/dist/commonjs/models/components/useroperation.js +5 -0
- package/dist/commonjs/models/components/useroperation.js.map +1 -1
- package/dist/commonjs/models/operations/aaveavgrate.d.ts +3 -0
- package/dist/commonjs/models/operations/aaveavgrate.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aaveavgrate.js +1 -0
- package/dist/commonjs/models/operations/aaveavgrate.js.map +1 -1
- package/dist/commonjs/models/operations/aaveliquiditychange.d.ts +3 -0
- package/dist/commonjs/models/operations/aaveliquiditychange.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aaveliquiditychange.js +1 -0
- package/dist/commonjs/models/operations/aaveliquiditychange.js.map +1 -1
- package/dist/commonjs/models/operations/aaverate.d.ts +3 -0
- package/dist/commonjs/models/operations/aaverate.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aaverate.js +1 -0
- package/dist/commonjs/models/operations/aaverate.js.map +1 -1
- package/dist/commonjs/models/operations/aavereserveoverview.d.ts +3 -0
- package/dist/commonjs/models/operations/aavereserveoverview.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aavereserveoverview.js +1 -0
- package/dist/commonjs/models/operations/aavereserveoverview.js.map +1 -1
- package/dist/commonjs/models/operations/aavestdrate.d.ts +3 -0
- package/dist/commonjs/models/operations/aavestdrate.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aavestdrate.js +1 -0
- package/dist/commonjs/models/operations/aavestdrate.js.map +1 -1
- package/dist/commonjs/models/operations/aavetokenprice.d.ts +3 -0
- package/dist/commonjs/models/operations/aavetokenprice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aavetokenprice.js +1 -0
- package/dist/commonjs/models/operations/aavetokenprice.js.map +1 -1
- package/dist/commonjs/models/operations/aaveuserpositionpertoken.d.ts +3 -0
- package/dist/commonjs/models/operations/aaveuserpositionpertoken.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aaveuserpositionpertoken.js +1 -0
- package/dist/commonjs/models/operations/aaveuserpositionpertoken.js.map +1 -1
- package/dist/commonjs/models/operations/aerodromeslipstreampoolprice.d.ts +6 -0
- package/dist/commonjs/models/operations/aerodromeslipstreampoolprice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aerodromeslipstreampoolprice.js +2 -0
- package/dist/commonjs/models/operations/aerodromeslipstreampoolprice.js.map +1 -1
- package/dist/commonjs/models/operations/tokenaddress.d.ts +3 -0
- package/dist/commonjs/models/operations/tokenaddress.d.ts.map +1 -1
- package/dist/commonjs/models/operations/tokenaddress.js +1 -0
- package/dist/commonjs/models/operations/tokenaddress.js.map +1 -1
- package/dist/commonjs/models/operations/uniswappoolprice.d.ts +6 -0
- package/dist/commonjs/models/operations/uniswappoolprice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/uniswappoolprice.js +2 -0
- package/dist/commonjs/models/operations/uniswappoolprice.js.map +1 -1
- package/dist/commonjs/models/operations/uniswapquotebuyexactly.d.ts +6 -0
- package/dist/commonjs/models/operations/uniswapquotebuyexactly.d.ts.map +1 -1
- package/dist/commonjs/models/operations/uniswapquotebuyexactly.js +2 -0
- package/dist/commonjs/models/operations/uniswapquotebuyexactly.js.map +1 -1
- package/dist/commonjs/models/operations/uniswapquotesellexactly.d.ts +6 -0
- package/dist/commonjs/models/operations/uniswapquotesellexactly.d.ts.map +1 -1
- package/dist/commonjs/models/operations/uniswapquotesellexactly.js +2 -0
- package/dist/commonjs/models/operations/uniswapquotesellexactly.js.map +1 -1
- package/dist/commonjs/sdk/sdk.d.ts +6 -3
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +7 -3
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/commonjs/sdk/{uniswapv3.d.ts → uniswapv3v0.d.ts} +2 -2
- package/dist/commonjs/sdk/uniswapv3v0.d.ts.map +1 -0
- package/dist/commonjs/sdk/{uniswapv3.js → uniswapv3v0.js} +24 -24
- package/dist/commonjs/sdk/uniswapv3v0.js.map +1 -0
- package/dist/commonjs/sdk/uniswapv3v1.d.ts +25 -0
- package/dist/commonjs/sdk/uniswapv3v1.d.ts.map +1 -0
- package/dist/commonjs/sdk/uniswapv3v1.js +35 -0
- package/dist/commonjs/sdk/uniswapv3v1.js.map +1 -0
- package/dist/esm/funcs/{uniswapV3LiquidityProvisionInRange.d.ts → uniswapV3V0LiquidityProvisionInRange.d.ts} +2 -2
- package/dist/esm/funcs/{uniswapV3LiquidityProvisionPositions.d.ts.map → uniswapV3V0LiquidityProvisionInRange.d.ts.map} +1 -1
- package/dist/esm/funcs/{uniswapV3LiquidityProvisionInRange.js → uniswapV3V0LiquidityProvisionInRange.js} +2 -2
- package/dist/esm/funcs/uniswapV3V0LiquidityProvisionInRange.js.map +1 -0
- package/dist/{commonjs/funcs/uniswapV3LiquidityProvisionIncrease.d.ts → esm/funcs/uniswapV3V0LiquidityProvisionIncrease.d.ts} +2 -2
- package/dist/esm/funcs/uniswapV3V0LiquidityProvisionIncrease.d.ts.map +1 -0
- package/dist/esm/funcs/{uniswapV3LiquidityProvisionIncrease.js → uniswapV3V0LiquidityProvisionIncrease.js} +2 -2
- package/dist/esm/funcs/uniswapV3V0LiquidityProvisionIncrease.js.map +1 -0
- package/dist/{commonjs/funcs/uniswapV3LiquidityProvisionMint.d.ts → esm/funcs/uniswapV3V0LiquidityProvisionMint.d.ts} +2 -2
- package/dist/esm/funcs/uniswapV3V0LiquidityProvisionMint.d.ts.map +1 -0
- package/dist/esm/funcs/{uniswapV3LiquidityProvisionMint.js → uniswapV3V0LiquidityProvisionMint.js} +2 -2
- package/dist/esm/funcs/uniswapV3V0LiquidityProvisionMint.js.map +1 -0
- package/dist/{commonjs/funcs/uniswapV3LiquidityProvisionPositions.d.ts → esm/funcs/uniswapV3V0LiquidityProvisionPositions.d.ts} +2 -2
- package/dist/esm/funcs/uniswapV3V0LiquidityProvisionPositions.d.ts.map +1 -0
- package/dist/esm/funcs/{uniswapV3LiquidityProvisionPositions.js → uniswapV3V0LiquidityProvisionPositions.js} +2 -2
- package/dist/esm/funcs/uniswapV3V0LiquidityProvisionPositions.js.map +1 -0
- package/dist/esm/funcs/{uniswapV3LiquidityProvisionWithdraw.d.ts → uniswapV3V0LiquidityProvisionWithdraw.d.ts} +2 -2
- package/dist/esm/funcs/uniswapV3V0LiquidityProvisionWithdraw.d.ts.map +1 -0
- package/dist/esm/funcs/{uniswapV3LiquidityProvisionWithdraw.js → uniswapV3V0LiquidityProvisionWithdraw.js} +2 -2
- package/dist/esm/funcs/uniswapV3V0LiquidityProvisionWithdraw.js.map +1 -0
- package/dist/esm/funcs/{uniswapV3PoolPrice.d.ts → uniswapV3V0PoolPrice.d.ts} +2 -2
- package/dist/esm/funcs/uniswapV3V0PoolPrice.d.ts.map +1 -0
- package/dist/esm/funcs/{uniswapV3PoolPrice.js → uniswapV3V0PoolPrice.js} +2 -2
- package/dist/esm/funcs/uniswapV3V0PoolPrice.js.map +1 -0
- package/dist/esm/funcs/{uniswapV3QuoteSellExactly.d.ts → uniswapV3V0QuoteBuyExactly.d.ts} +3 -3
- package/dist/esm/funcs/uniswapV3V0QuoteBuyExactly.d.ts.map +1 -0
- package/dist/esm/funcs/{uniswapV3QuoteBuyExactly.js → uniswapV3V0QuoteBuyExactly.js} +2 -2
- package/dist/esm/funcs/uniswapV3V0QuoteBuyExactly.js.map +1 -0
- package/dist/esm/funcs/{uniswapV3QuoteBuyExactly.d.ts → uniswapV3V0QuoteSellExactly.d.ts} +3 -3
- package/dist/esm/funcs/uniswapV3V0QuoteSellExactly.d.ts.map +1 -0
- package/dist/esm/funcs/{uniswapV3QuoteSellExactly.js → uniswapV3V0QuoteSellExactly.js} +2 -2
- package/dist/esm/funcs/uniswapV3V0QuoteSellExactly.js.map +1 -0
- package/dist/{commonjs/funcs/uniswapV3SwapBuyExactly.d.ts → esm/funcs/uniswapV3V0SwapBuyExactly.d.ts} +2 -2
- package/dist/esm/funcs/uniswapV3V0SwapBuyExactly.d.ts.map +1 -0
- package/dist/esm/funcs/{uniswapV3SwapBuyExactly.js → uniswapV3V0SwapBuyExactly.js} +2 -2
- package/dist/esm/funcs/uniswapV3V0SwapBuyExactly.js.map +1 -0
- package/dist/esm/funcs/{uniswapV3SwapSellExactly.d.ts → uniswapV3V0SwapSellExactly.d.ts} +2 -2
- package/dist/esm/funcs/uniswapV3V0SwapSellExactly.d.ts.map +1 -0
- package/dist/esm/funcs/{uniswapV3SwapSellExactly.js → uniswapV3V0SwapSellExactly.js} +2 -2
- package/dist/esm/funcs/uniswapV3V0SwapSellExactly.js.map +1 -0
- package/dist/esm/funcs/uniswapV3V1UniswapSwapBuyExactly.d.ts +31 -0
- package/dist/esm/funcs/uniswapV3V1UniswapSwapBuyExactly.d.ts.map +1 -0
- package/dist/esm/funcs/uniswapV3V1UniswapSwapBuyExactly.js +95 -0
- package/dist/esm/funcs/{uniswapV3LiquidityProvisionMint.js.map → uniswapV3V1UniswapSwapBuyExactly.js.map} +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.d.ts.map +1 -1
- package/dist/esm/mcp-server/server.js +23 -21
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/{uniswapV3LiquidityProvisionInRange.d.ts → uniswapV3V0LiquidityProvisionInRange.d.ts} +2 -2
- package/dist/esm/mcp-server/tools/{uniswapV3LiquidityProvisionPositions.d.ts.map → uniswapV3V0LiquidityProvisionInRange.d.ts.map} +1 -1
- package/dist/esm/mcp-server/tools/{uniswapV3LiquidityProvisionInRange.js → uniswapV3V0LiquidityProvisionInRange.js} +5 -5
- package/dist/esm/mcp-server/tools/uniswapV3V0LiquidityProvisionInRange.js.map +1 -0
- package/dist/esm/mcp-server/tools/{uniswapV3LiquidityProvisionIncrease.d.ts → uniswapV3V0LiquidityProvisionIncrease.d.ts} +2 -2
- package/dist/esm/mcp-server/tools/uniswapV3V0LiquidityProvisionIncrease.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/{uniswapV3LiquidityProvisionIncrease.js → uniswapV3V0LiquidityProvisionIncrease.js} +5 -5
- package/dist/esm/mcp-server/tools/uniswapV3V0LiquidityProvisionIncrease.js.map +1 -0
- package/dist/esm/mcp-server/tools/{uniswapV3LiquidityProvisionMint.d.ts → uniswapV3V0LiquidityProvisionMint.d.ts} +2 -2
- package/dist/esm/mcp-server/tools/uniswapV3V0LiquidityProvisionMint.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/{uniswapV3LiquidityProvisionMint.js → uniswapV3V0LiquidityProvisionMint.js} +5 -5
- package/dist/esm/mcp-server/tools/uniswapV3V0LiquidityProvisionMint.js.map +1 -0
- package/dist/{commonjs/mcp-server/tools/uniswapV3LiquidityProvisionPositions.d.ts → esm/mcp-server/tools/uniswapV3V0LiquidityProvisionPositions.d.ts} +2 -2
- package/dist/esm/mcp-server/tools/uniswapV3V0LiquidityProvisionPositions.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/{uniswapV3LiquidityProvisionPositions.js → uniswapV3V0LiquidityProvisionPositions.js} +5 -5
- package/dist/esm/mcp-server/tools/uniswapV3V0LiquidityProvisionPositions.js.map +1 -0
- package/dist/esm/mcp-server/tools/{uniswapV3LiquidityProvisionWithdraw.d.ts → uniswapV3V0LiquidityProvisionWithdraw.d.ts} +2 -2
- package/dist/esm/mcp-server/tools/uniswapV3V0LiquidityProvisionWithdraw.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/{uniswapV3LiquidityProvisionWithdraw.js → uniswapV3V0LiquidityProvisionWithdraw.js} +5 -5
- package/dist/esm/mcp-server/tools/uniswapV3V0LiquidityProvisionWithdraw.js.map +1 -0
- package/dist/{commonjs/mcp-server/tools/uniswapV3PoolPrice.d.ts → esm/mcp-server/tools/uniswapV3V0PoolPrice.d.ts} +2 -2
- package/dist/esm/mcp-server/tools/uniswapV3V0PoolPrice.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/{uniswapV3PoolPrice.js → uniswapV3V0PoolPrice.js} +5 -5
- package/dist/esm/mcp-server/tools/uniswapV3V0PoolPrice.js.map +1 -0
- package/dist/{commonjs/mcp-server/tools/uniswapV3QuoteBuyExactly.d.ts → esm/mcp-server/tools/uniswapV3V0QuoteBuyExactly.d.ts} +2 -2
- package/dist/esm/mcp-server/tools/uniswapV3V0QuoteBuyExactly.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/{uniswapV3QuoteBuyExactly.js → uniswapV3V0QuoteBuyExactly.js} +5 -5
- package/dist/esm/mcp-server/tools/uniswapV3V0QuoteBuyExactly.js.map +1 -0
- package/dist/{commonjs/mcp-server/tools/uniswapV3QuoteSellExactly.d.ts → esm/mcp-server/tools/uniswapV3V0QuoteSellExactly.d.ts} +2 -2
- package/dist/esm/mcp-server/tools/uniswapV3V0QuoteSellExactly.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/{uniswapV3QuoteSellExactly.js → uniswapV3V0QuoteSellExactly.js} +5 -5
- package/dist/esm/mcp-server/tools/uniswapV3V0QuoteSellExactly.js.map +1 -0
- package/dist/esm/mcp-server/tools/{uniswapV3SwapBuyExactly.d.ts → uniswapV3V0SwapBuyExactly.d.ts} +2 -2
- package/dist/esm/mcp-server/tools/uniswapV3V0SwapBuyExactly.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/{uniswapV3SwapBuyExactly.js → uniswapV3V0SwapBuyExactly.js} +5 -5
- package/dist/esm/mcp-server/tools/uniswapV3V0SwapBuyExactly.js.map +1 -0
- package/dist/esm/mcp-server/tools/{uniswapV3SwapSellExactly.d.ts → uniswapV3V0SwapSellExactly.d.ts} +2 -2
- package/dist/esm/mcp-server/tools/uniswapV3V0SwapSellExactly.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/{uniswapV3SwapSellExactly.js → uniswapV3V0SwapSellExactly.js} +5 -5
- package/dist/esm/mcp-server/tools/uniswapV3V0SwapSellExactly.js.map +1 -0
- package/dist/esm/mcp-server/tools/uniswapV3V1UniswapSwapBuyExactly.d.ts +8 -0
- package/dist/esm/mcp-server/tools/uniswapV3V1UniswapSwapBuyExactly.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/uniswapV3V1UniswapSwapBuyExactly.js +42 -0
- package/dist/esm/mcp-server/tools/uniswapV3V1UniswapSwapBuyExactly.js.map +1 -0
- package/dist/esm/models/components/index.d.ts +2 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +2 -0
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/tokenenum.d.ts +3 -0
- package/dist/esm/models/components/tokenenum.d.ts.map +1 -1
- package/dist/esm/models/components/tokenenum.js +1 -0
- package/dist/esm/models/components/tokenenum.js.map +1 -1
- package/dist/esm/models/components/uniswapbuyexactlyparamsv1.d.ts +132 -0
- package/dist/esm/models/components/uniswapbuyexactlyparamsv1.d.ts.map +1 -0
- package/dist/esm/models/components/uniswapbuyexactlyparamsv1.js +121 -0
- package/dist/esm/models/components/uniswapbuyexactlyparamsv1.js.map +1 -0
- package/dist/esm/models/components/uniswapbuyexactlyrequestv1.d.ts +171 -0
- package/dist/esm/models/components/uniswapbuyexactlyrequestv1.d.ts.map +1 -0
- package/dist/esm/models/components/uniswapbuyexactlyrequestv1.js +145 -0
- package/dist/esm/models/components/uniswapbuyexactlyrequestv1.js.map +1 -0
- package/dist/esm/models/components/useroperation.d.ts +9 -0
- package/dist/esm/models/components/useroperation.d.ts.map +1 -1
- package/dist/esm/models/components/useroperation.js +5 -0
- package/dist/esm/models/components/useroperation.js.map +1 -1
- package/dist/esm/models/operations/aaveavgrate.d.ts +3 -0
- package/dist/esm/models/operations/aaveavgrate.d.ts.map +1 -1
- package/dist/esm/models/operations/aaveavgrate.js +1 -0
- package/dist/esm/models/operations/aaveavgrate.js.map +1 -1
- package/dist/esm/models/operations/aaveliquiditychange.d.ts +3 -0
- package/dist/esm/models/operations/aaveliquiditychange.d.ts.map +1 -1
- package/dist/esm/models/operations/aaveliquiditychange.js +1 -0
- package/dist/esm/models/operations/aaveliquiditychange.js.map +1 -1
- package/dist/esm/models/operations/aaverate.d.ts +3 -0
- package/dist/esm/models/operations/aaverate.d.ts.map +1 -1
- package/dist/esm/models/operations/aaverate.js +1 -0
- package/dist/esm/models/operations/aaverate.js.map +1 -1
- package/dist/esm/models/operations/aavereserveoverview.d.ts +3 -0
- package/dist/esm/models/operations/aavereserveoverview.d.ts.map +1 -1
- package/dist/esm/models/operations/aavereserveoverview.js +1 -0
- package/dist/esm/models/operations/aavereserveoverview.js.map +1 -1
- package/dist/esm/models/operations/aavestdrate.d.ts +3 -0
- package/dist/esm/models/operations/aavestdrate.d.ts.map +1 -1
- package/dist/esm/models/operations/aavestdrate.js +1 -0
- package/dist/esm/models/operations/aavestdrate.js.map +1 -1
- package/dist/esm/models/operations/aavetokenprice.d.ts +3 -0
- package/dist/esm/models/operations/aavetokenprice.d.ts.map +1 -1
- package/dist/esm/models/operations/aavetokenprice.js +1 -0
- package/dist/esm/models/operations/aavetokenprice.js.map +1 -1
- package/dist/esm/models/operations/aaveuserpositionpertoken.d.ts +3 -0
- package/dist/esm/models/operations/aaveuserpositionpertoken.d.ts.map +1 -1
- package/dist/esm/models/operations/aaveuserpositionpertoken.js +1 -0
- package/dist/esm/models/operations/aaveuserpositionpertoken.js.map +1 -1
- package/dist/esm/models/operations/aerodromeslipstreampoolprice.d.ts +6 -0
- package/dist/esm/models/operations/aerodromeslipstreampoolprice.d.ts.map +1 -1
- package/dist/esm/models/operations/aerodromeslipstreampoolprice.js +2 -0
- package/dist/esm/models/operations/aerodromeslipstreampoolprice.js.map +1 -1
- package/dist/esm/models/operations/tokenaddress.d.ts +3 -0
- package/dist/esm/models/operations/tokenaddress.d.ts.map +1 -1
- package/dist/esm/models/operations/tokenaddress.js +1 -0
- package/dist/esm/models/operations/tokenaddress.js.map +1 -1
- package/dist/esm/models/operations/uniswappoolprice.d.ts +6 -0
- package/dist/esm/models/operations/uniswappoolprice.d.ts.map +1 -1
- package/dist/esm/models/operations/uniswappoolprice.js +2 -0
- package/dist/esm/models/operations/uniswappoolprice.js.map +1 -1
- package/dist/esm/models/operations/uniswapquotebuyexactly.d.ts +6 -0
- package/dist/esm/models/operations/uniswapquotebuyexactly.d.ts.map +1 -1
- package/dist/esm/models/operations/uniswapquotebuyexactly.js +2 -0
- package/dist/esm/models/operations/uniswapquotebuyexactly.js.map +1 -1
- package/dist/esm/models/operations/uniswapquotesellexactly.d.ts +6 -0
- package/dist/esm/models/operations/uniswapquotesellexactly.d.ts.map +1 -1
- package/dist/esm/models/operations/uniswapquotesellexactly.js +2 -0
- package/dist/esm/models/operations/uniswapquotesellexactly.js.map +1 -1
- package/dist/esm/sdk/sdk.d.ts +6 -3
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +7 -3
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/dist/esm/sdk/{uniswapv3.d.ts → uniswapv3v0.d.ts} +2 -2
- package/dist/esm/sdk/uniswapv3v0.d.ts.map +1 -0
- package/dist/esm/sdk/{uniswapv3.js → uniswapv3v0.js} +22 -22
- package/dist/esm/sdk/uniswapv3v0.js.map +1 -0
- package/dist/esm/sdk/uniswapv3v1.d.ts +25 -0
- package/dist/esm/sdk/uniswapv3v1.d.ts.map +1 -0
- package/dist/esm/sdk/uniswapv3v1.js +31 -0
- package/dist/esm/sdk/uniswapv3v1.js.map +1 -0
- package/docs/sdks/{uniswapv3 → uniswapv3v0}/README.md +42 -42
- package/docs/sdks/uniswapv3v1/README.md +107 -0
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/{uniswapV3LiquidityProvisionInRange.ts → uniswapV3V0LiquidityProvisionInRange.ts} +1 -1
- package/src/funcs/{uniswapV3LiquidityProvisionIncrease.ts → uniswapV3V0LiquidityProvisionIncrease.ts} +1 -1
- package/src/funcs/{uniswapV3LiquidityProvisionMint.ts → uniswapV3V0LiquidityProvisionMint.ts} +1 -1
- package/src/funcs/{uniswapV3LiquidityProvisionPositions.ts → uniswapV3V0LiquidityProvisionPositions.ts} +1 -1
- package/src/funcs/{uniswapV3LiquidityProvisionWithdraw.ts → uniswapV3V0LiquidityProvisionWithdraw.ts} +1 -1
- package/src/funcs/{uniswapV3PoolPrice.ts → uniswapV3V0PoolPrice.ts} +1 -1
- package/src/funcs/{uniswapV3QuoteBuyExactly.ts → uniswapV3V0QuoteBuyExactly.ts} +1 -1
- package/src/funcs/{uniswapV3QuoteSellExactly.ts → uniswapV3V0QuoteSellExactly.ts} +1 -1
- package/src/funcs/{uniswapV3SwapBuyExactly.ts → uniswapV3V0SwapBuyExactly.ts} +1 -1
- package/src/funcs/{uniswapV3SwapSellExactly.ts → uniswapV3V0SwapSellExactly.ts} +1 -1
- package/src/funcs/uniswapV3V1UniswapSwapBuyExactly.ts +183 -0
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +23 -21
- package/src/mcp-server/tools/{uniswapV3LiquidityProvisionInRange.ts → uniswapV3V0LiquidityProvisionInRange.ts} +4 -4
- package/src/mcp-server/tools/{uniswapV3LiquidityProvisionIncrease.ts → uniswapV3V0LiquidityProvisionIncrease.ts} +4 -4
- package/src/mcp-server/tools/{uniswapV3LiquidityProvisionMint.ts → uniswapV3V0LiquidityProvisionMint.ts} +26 -25
- package/src/mcp-server/tools/{uniswapV3LiquidityProvisionPositions.ts → uniswapV3V0LiquidityProvisionPositions.ts} +4 -4
- package/src/mcp-server/tools/{uniswapV3LiquidityProvisionWithdraw.ts → uniswapV3V0LiquidityProvisionWithdraw.ts} +4 -4
- package/src/mcp-server/tools/{uniswapV3PoolPrice.ts → uniswapV3V0PoolPrice.ts} +4 -4
- package/src/mcp-server/tools/{uniswapV3QuoteBuyExactly.ts → uniswapV3V0QuoteBuyExactly.ts} +4 -4
- package/src/mcp-server/tools/{uniswapV3QuoteSellExactly.ts → uniswapV3V0QuoteSellExactly.ts} +4 -4
- package/src/mcp-server/tools/{uniswapV3SwapBuyExactly.ts → uniswapV3V0SwapBuyExactly.ts} +4 -4
- package/src/mcp-server/tools/{uniswapV3SwapSellExactly.ts → uniswapV3V0SwapSellExactly.ts} +4 -4
- package/src/mcp-server/tools/uniswapV3V1UniswapSwapBuyExactly.ts +53 -0
- package/src/models/components/index.ts +2 -0
- package/src/models/components/tokenenum.ts +1 -0
- package/src/models/components/uniswapbuyexactlyparamsv1.ts +300 -0
- package/src/models/components/uniswapbuyexactlyrequestv1.ts +347 -0
- package/src/models/components/useroperation.ts +34 -0
- package/src/models/operations/aaveavgrate.ts +1 -0
- package/src/models/operations/aaveliquiditychange.ts +1 -0
- package/src/models/operations/aaverate.ts +1 -0
- package/src/models/operations/aavereserveoverview.ts +1 -0
- package/src/models/operations/aavestdrate.ts +1 -0
- package/src/models/operations/aavetokenprice.ts +1 -0
- package/src/models/operations/aaveuserpositionpertoken.ts +1 -0
- package/src/models/operations/aerodromeslipstreampoolprice.ts +2 -0
- package/src/models/operations/tokenaddress.ts +1 -0
- package/src/models/operations/uniswappoolprice.ts +2 -0
- package/src/models/operations/uniswapquotebuyexactly.ts +2 -0
- package/src/models/operations/uniswapquotesellexactly.ts +2 -0
- package/src/sdk/sdk.ts +10 -4
- package/src/sdk/{uniswapv3.ts → uniswapv3v0.ts} +21 -21
- package/src/sdk/uniswapv3v1.ts +40 -0
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionInRange.d.ts.map +0 -1
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionInRange.js.map +0 -1
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionIncrease.d.ts.map +0 -1
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionIncrease.js.map +0 -1
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionMint.d.ts.map +0 -1
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionPositions.js.map +0 -1
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionWithdraw.d.ts.map +0 -1
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionWithdraw.js.map +0 -1
- package/dist/commonjs/funcs/uniswapV3PoolPrice.d.ts.map +0 -1
- package/dist/commonjs/funcs/uniswapV3PoolPrice.js.map +0 -1
- package/dist/commonjs/funcs/uniswapV3QuoteBuyExactly.d.ts.map +0 -1
- package/dist/commonjs/funcs/uniswapV3QuoteBuyExactly.js.map +0 -1
- package/dist/commonjs/funcs/uniswapV3QuoteSellExactly.d.ts.map +0 -1
- package/dist/commonjs/funcs/uniswapV3QuoteSellExactly.js.map +0 -1
- package/dist/commonjs/funcs/uniswapV3SwapBuyExactly.d.ts.map +0 -1
- package/dist/commonjs/funcs/uniswapV3SwapBuyExactly.js.map +0 -1
- package/dist/commonjs/funcs/uniswapV3SwapSellExactly.d.ts.map +0 -1
- package/dist/commonjs/funcs/uniswapV3SwapSellExactly.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3LiquidityProvisionInRange.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3LiquidityProvisionInRange.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3LiquidityProvisionIncrease.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3LiquidityProvisionIncrease.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3LiquidityProvisionMint.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3LiquidityProvisionMint.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3LiquidityProvisionPositions.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3LiquidityProvisionWithdraw.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3LiquidityProvisionWithdraw.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3PoolPrice.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3PoolPrice.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3QuoteBuyExactly.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3QuoteBuyExactly.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3QuoteSellExactly.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3QuoteSellExactly.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3SwapBuyExactly.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3SwapBuyExactly.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3SwapSellExactly.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3SwapSellExactly.js.map +0 -1
- package/dist/commonjs/sdk/uniswapv3.d.ts.map +0 -1
- package/dist/commonjs/sdk/uniswapv3.js.map +0 -1
- package/dist/esm/funcs/uniswapV3LiquidityProvisionInRange.d.ts.map +0 -1
- package/dist/esm/funcs/uniswapV3LiquidityProvisionInRange.js.map +0 -1
- package/dist/esm/funcs/uniswapV3LiquidityProvisionIncrease.d.ts.map +0 -1
- package/dist/esm/funcs/uniswapV3LiquidityProvisionIncrease.js.map +0 -1
- package/dist/esm/funcs/uniswapV3LiquidityProvisionMint.d.ts.map +0 -1
- package/dist/esm/funcs/uniswapV3LiquidityProvisionPositions.js.map +0 -1
- package/dist/esm/funcs/uniswapV3LiquidityProvisionWithdraw.d.ts.map +0 -1
- package/dist/esm/funcs/uniswapV3LiquidityProvisionWithdraw.js.map +0 -1
- package/dist/esm/funcs/uniswapV3PoolPrice.d.ts.map +0 -1
- package/dist/esm/funcs/uniswapV3PoolPrice.js.map +0 -1
- package/dist/esm/funcs/uniswapV3QuoteBuyExactly.d.ts.map +0 -1
- package/dist/esm/funcs/uniswapV3QuoteBuyExactly.js.map +0 -1
- package/dist/esm/funcs/uniswapV3QuoteSellExactly.d.ts.map +0 -1
- package/dist/esm/funcs/uniswapV3QuoteSellExactly.js.map +0 -1
- package/dist/esm/funcs/uniswapV3SwapBuyExactly.d.ts.map +0 -1
- package/dist/esm/funcs/uniswapV3SwapBuyExactly.js.map +0 -1
- package/dist/esm/funcs/uniswapV3SwapSellExactly.d.ts.map +0 -1
- package/dist/esm/funcs/uniswapV3SwapSellExactly.js.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3LiquidityProvisionInRange.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3LiquidityProvisionInRange.js.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3LiquidityProvisionIncrease.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3LiquidityProvisionIncrease.js.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3LiquidityProvisionMint.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3LiquidityProvisionMint.js.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3LiquidityProvisionPositions.js.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3LiquidityProvisionWithdraw.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3LiquidityProvisionWithdraw.js.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3PoolPrice.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3PoolPrice.js.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3QuoteBuyExactly.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3QuoteBuyExactly.js.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3QuoteSellExactly.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3QuoteSellExactly.js.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3SwapBuyExactly.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3SwapBuyExactly.js.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3SwapSellExactly.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/uniswapV3SwapSellExactly.js.map +0 -1
- package/dist/esm/sdk/uniswapv3.d.ts.map +0 -1
- package/dist/esm/sdk/uniswapv3.js.map +0 -1
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.55",
|
|
34268
34268
|
genVersion: "2.662.0",
|
|
34269
|
-
userAgent: "speakeasy-sdk/typescript 0.5.
|
|
34269
|
+
userAgent: "speakeasy-sdk/typescript 0.5.55 2.662.0 0.0.1 @compass-labs/api-sdk"
|
|
34270
34270
|
};
|
|
34271
34271
|
});
|
|
34272
34272
|
|
|
@@ -35773,6 +35773,7 @@ var init_tokenenum = __esm(() => {
|
|
|
35773
35773
|
Eurs: "EURS",
|
|
35774
35774
|
Mai: "MAI",
|
|
35775
35775
|
USDCe: "USDCe",
|
|
35776
|
+
Eth: "ETH",
|
|
35776
35777
|
Aero: "AERO",
|
|
35777
35778
|
Eur: "EUR",
|
|
35778
35779
|
Virtual: "VIRTUAL",
|
|
@@ -38902,6 +38903,67 @@ var init_uniswapbuyexactlyparams = __esm(() => {
|
|
|
38902
38903
|
})(UniswapBuyExactlyParams$ ||= {});
|
|
38903
38904
|
});
|
|
38904
38905
|
|
|
38906
|
+
// src/models/components/uniswapbuyexactlyparamsv1.ts
|
|
38907
|
+
var UniswapBuyExactlyParamsV1TokenIn$inboundSchema, UniswapBuyExactlyParamsV1TokenIn$outboundSchema, UniswapBuyExactlyParamsV1TokenIn$, UniswapBuyExactlyParamsV1TokenOut$inboundSchema, UniswapBuyExactlyParamsV1TokenOut$outboundSchema, UniswapBuyExactlyParamsV1TokenOut$, UniswapBuyExactlyParamsV1Amount$inboundSchema, UniswapBuyExactlyParamsV1Amount$outboundSchema, UniswapBuyExactlyParamsV1Amount$, UniswapBuyExactlyParamsV1$inboundSchema, UniswapBuyExactlyParamsV1$outboundSchema, UniswapBuyExactlyParamsV1$;
|
|
38908
|
+
var init_uniswapbuyexactlyparamsv1 = __esm(() => {
|
|
38909
|
+
init_zod();
|
|
38910
|
+
init_primitives();
|
|
38911
|
+
init_feeenum();
|
|
38912
|
+
init_tokenenum();
|
|
38913
|
+
UniswapBuyExactlyParamsV1TokenIn$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
38914
|
+
UniswapBuyExactlyParamsV1TokenIn$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
|
|
38915
|
+
((UniswapBuyExactlyParamsV1TokenIn$) => {
|
|
38916
|
+
UniswapBuyExactlyParamsV1TokenIn$.inboundSchema = UniswapBuyExactlyParamsV1TokenIn$inboundSchema;
|
|
38917
|
+
UniswapBuyExactlyParamsV1TokenIn$.outboundSchema = UniswapBuyExactlyParamsV1TokenIn$outboundSchema;
|
|
38918
|
+
})(UniswapBuyExactlyParamsV1TokenIn$ ||= {});
|
|
38919
|
+
UniswapBuyExactlyParamsV1TokenOut$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
38920
|
+
UniswapBuyExactlyParamsV1TokenOut$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
|
|
38921
|
+
((UniswapBuyExactlyParamsV1TokenOut$) => {
|
|
38922
|
+
UniswapBuyExactlyParamsV1TokenOut$.inboundSchema = UniswapBuyExactlyParamsV1TokenOut$inboundSchema;
|
|
38923
|
+
UniswapBuyExactlyParamsV1TokenOut$.outboundSchema = UniswapBuyExactlyParamsV1TokenOut$outboundSchema;
|
|
38924
|
+
})(UniswapBuyExactlyParamsV1TokenOut$ ||= {});
|
|
38925
|
+
UniswapBuyExactlyParamsV1Amount$inboundSchema = unionType([numberType(), stringType()]);
|
|
38926
|
+
UniswapBuyExactlyParamsV1Amount$outboundSchema = unionType([numberType(), stringType()]);
|
|
38927
|
+
((UniswapBuyExactlyParamsV1Amount$) => {
|
|
38928
|
+
UniswapBuyExactlyParamsV1Amount$.inboundSchema = UniswapBuyExactlyParamsV1Amount$inboundSchema;
|
|
38929
|
+
UniswapBuyExactlyParamsV1Amount$.outboundSchema = UniswapBuyExactlyParamsV1Amount$outboundSchema;
|
|
38930
|
+
})(UniswapBuyExactlyParamsV1Amount$ ||= {});
|
|
38931
|
+
UniswapBuyExactlyParamsV1$inboundSchema = objectType({
|
|
38932
|
+
action_type: literalType("UNISWAP_BUY_EXACTLY_V1").default("UNISWAP_BUY_EXACTLY_V1"),
|
|
38933
|
+
token_in: unionType([TokenEnum$inboundSchema, stringType()]),
|
|
38934
|
+
token_out: unionType([TokenEnum$inboundSchema, stringType()]),
|
|
38935
|
+
fee: FeeEnum$inboundSchema,
|
|
38936
|
+
amount: unionType([numberType(), stringType()]),
|
|
38937
|
+
max_slippage_percent: numberType()
|
|
38938
|
+
}).transform((v2) => {
|
|
38939
|
+
return remap(v2, {
|
|
38940
|
+
action_type: "actionType",
|
|
38941
|
+
token_in: "tokenIn",
|
|
38942
|
+
token_out: "tokenOut",
|
|
38943
|
+
max_slippage_percent: "maxSlippagePercent"
|
|
38944
|
+
});
|
|
38945
|
+
});
|
|
38946
|
+
UniswapBuyExactlyParamsV1$outboundSchema = objectType({
|
|
38947
|
+
actionType: literalType("UNISWAP_BUY_EXACTLY_V1").default("UNISWAP_BUY_EXACTLY_V1"),
|
|
38948
|
+
tokenIn: unionType([TokenEnum$outboundSchema, stringType()]),
|
|
38949
|
+
tokenOut: unionType([TokenEnum$outboundSchema, stringType()]),
|
|
38950
|
+
fee: FeeEnum$outboundSchema,
|
|
38951
|
+
amount: unionType([numberType(), stringType()]),
|
|
38952
|
+
maxSlippagePercent: numberType()
|
|
38953
|
+
}).transform((v2) => {
|
|
38954
|
+
return remap(v2, {
|
|
38955
|
+
actionType: "action_type",
|
|
38956
|
+
tokenIn: "token_in",
|
|
38957
|
+
tokenOut: "token_out",
|
|
38958
|
+
maxSlippagePercent: "max_slippage_percent"
|
|
38959
|
+
});
|
|
38960
|
+
});
|
|
38961
|
+
((UniswapBuyExactlyParamsV1$) => {
|
|
38962
|
+
UniswapBuyExactlyParamsV1$.inboundSchema = UniswapBuyExactlyParamsV1$inboundSchema;
|
|
38963
|
+
UniswapBuyExactlyParamsV1$.outboundSchema = UniswapBuyExactlyParamsV1$outboundSchema;
|
|
38964
|
+
})(UniswapBuyExactlyParamsV1$ ||= {});
|
|
38965
|
+
});
|
|
38966
|
+
|
|
38905
38967
|
// src/models/components/uniswapincreaseliquidityprovisionparams.ts
|
|
38906
38968
|
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$;
|
|
38907
38969
|
var init_uniswapincreaseliquidityprovisionparams = __esm(() => {
|
|
@@ -39247,6 +39309,7 @@ var init_useroperation = __esm(() => {
|
|
|
39247
39309
|
init_tokentransfererc20params();
|
|
39248
39310
|
init_tokentransferrequest();
|
|
39249
39311
|
init_uniswapbuyexactlyparams();
|
|
39312
|
+
init_uniswapbuyexactlyparamsv1();
|
|
39250
39313
|
init_uniswapincreaseliquidityprovisionparams();
|
|
39251
39314
|
init_uniswapmintliquidityprovisionparams();
|
|
39252
39315
|
init_uniswapsellexactlyparams();
|
|
@@ -39267,6 +39330,7 @@ var init_useroperation = __esm(() => {
|
|
|
39267
39330
|
}))),
|
|
39268
39331
|
UniswapIncreaseLiquidityProvisionParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_ADD_LIQUIDITY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39269
39332
|
UniswapBuyExactlyParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_BUY_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39333
|
+
UniswapBuyExactlyParamsV1$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_BUY_EXACTLY_V1") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39270
39334
|
UniswapSellExactlyParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_SELL_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39271
39335
|
AerodromeSlipstreamSellExactlyParams$inboundSchema.and(objectType({ action_type: literalType("AERODROME_SLIPSTREAM_SELL_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39272
39336
|
OdosSwapParams$inboundSchema.and(objectType({ action_type: literalType("ODOS_SWAP") }).transform((v2) => ({
|
|
@@ -39354,6 +39418,7 @@ var init_useroperation = __esm(() => {
|
|
|
39354
39418
|
}))),
|
|
39355
39419
|
UniswapIncreaseLiquidityProvisionParams$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_ADD_LIQUIDITY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39356
39420
|
UniswapBuyExactlyParams$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_BUY_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39421
|
+
UniswapBuyExactlyParamsV1$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_BUY_EXACTLY_V1") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39357
39422
|
UniswapSellExactlyParams$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_SELL_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39358
39423
|
AerodromeSlipstreamSellExactlyParams$outboundSchema.and(objectType({ actionType: literalType("AERODROME_SLIPSTREAM_SELL_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39359
39424
|
OdosSwapParams$outboundSchema.and(objectType({ actionType: literalType("ODOS_SWAP") }).transform((v2) => ({
|
|
@@ -39448,6 +39513,7 @@ var init_useroperation = __esm(() => {
|
|
|
39448
39513
|
}))),
|
|
39449
39514
|
UniswapIncreaseLiquidityProvisionParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_ADD_LIQUIDITY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39450
39515
|
UniswapBuyExactlyParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_BUY_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39516
|
+
UniswapBuyExactlyParamsV1$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_BUY_EXACTLY_V1") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39451
39517
|
UniswapSellExactlyParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_SELL_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39452
39518
|
AerodromeSlipstreamSellExactlyParams$inboundSchema.and(objectType({ action_type: literalType("AERODROME_SLIPSTREAM_SELL_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39453
39519
|
OdosSwapParams$inboundSchema.and(objectType({ action_type: literalType("ODOS_SWAP") }).transform((v2) => ({
|
|
@@ -39537,6 +39603,7 @@ var init_useroperation = __esm(() => {
|
|
|
39537
39603
|
}))),
|
|
39538
39604
|
UniswapIncreaseLiquidityProvisionParams$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_ADD_LIQUIDITY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39539
39605
|
UniswapBuyExactlyParams$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_BUY_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39606
|
+
UniswapBuyExactlyParamsV1$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_BUY_EXACTLY_V1") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39540
39607
|
UniswapSellExactlyParams$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_SELL_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39541
39608
|
AerodromeSlipstreamSellExactlyParams$outboundSchema.and(objectType({ actionType: literalType("AERODROME_SLIPSTREAM_SELL_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39542
39609
|
OdosSwapParams$outboundSchema.and(objectType({ actionType: literalType("ODOS_SWAP") }).transform((v2) => ({
|
|
@@ -42481,6 +42548,82 @@ var init_uniswapbuyexactlyrequest = __esm(() => {
|
|
|
42481
42548
|
})(UniswapBuyExactlyRequest$ ||= {});
|
|
42482
42549
|
});
|
|
42483
42550
|
|
|
42551
|
+
// src/models/components/uniswapbuyexactlyrequestv1.ts
|
|
42552
|
+
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$;
|
|
42553
|
+
var init_uniswapbuyexactlyrequestv1 = __esm(() => {
|
|
42554
|
+
init_zod();
|
|
42555
|
+
init_primitives();
|
|
42556
|
+
init_feeenum();
|
|
42557
|
+
init_tokenenum();
|
|
42558
|
+
UniswapBuyExactlyRequestV1Chain = {
|
|
42559
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
42560
|
+
BaseMainnet: "base:mainnet",
|
|
42561
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
42562
|
+
};
|
|
42563
|
+
UniswapBuyExactlyRequestV1TokenIn$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
42564
|
+
UniswapBuyExactlyRequestV1TokenIn$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
|
|
42565
|
+
((UniswapBuyExactlyRequestV1TokenIn$) => {
|
|
42566
|
+
UniswapBuyExactlyRequestV1TokenIn$.inboundSchema = UniswapBuyExactlyRequestV1TokenIn$inboundSchema;
|
|
42567
|
+
UniswapBuyExactlyRequestV1TokenIn$.outboundSchema = UniswapBuyExactlyRequestV1TokenIn$outboundSchema;
|
|
42568
|
+
})(UniswapBuyExactlyRequestV1TokenIn$ ||= {});
|
|
42569
|
+
UniswapBuyExactlyRequestV1TokenOut$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
42570
|
+
UniswapBuyExactlyRequestV1TokenOut$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
|
|
42571
|
+
((UniswapBuyExactlyRequestV1TokenOut$) => {
|
|
42572
|
+
UniswapBuyExactlyRequestV1TokenOut$.inboundSchema = UniswapBuyExactlyRequestV1TokenOut$inboundSchema;
|
|
42573
|
+
UniswapBuyExactlyRequestV1TokenOut$.outboundSchema = UniswapBuyExactlyRequestV1TokenOut$outboundSchema;
|
|
42574
|
+
})(UniswapBuyExactlyRequestV1TokenOut$ ||= {});
|
|
42575
|
+
UniswapBuyExactlyRequestV1Amount$inboundSchema = unionType([numberType(), stringType()]);
|
|
42576
|
+
UniswapBuyExactlyRequestV1Amount$outboundSchema = unionType([numberType(), stringType()]);
|
|
42577
|
+
((UniswapBuyExactlyRequestV1Amount$) => {
|
|
42578
|
+
UniswapBuyExactlyRequestV1Amount$.inboundSchema = UniswapBuyExactlyRequestV1Amount$inboundSchema;
|
|
42579
|
+
UniswapBuyExactlyRequestV1Amount$.outboundSchema = UniswapBuyExactlyRequestV1Amount$outboundSchema;
|
|
42580
|
+
})(UniswapBuyExactlyRequestV1Amount$ ||= {});
|
|
42581
|
+
UniswapBuyExactlyRequestV1Chain$inboundSchema = nativeEnumType(UniswapBuyExactlyRequestV1Chain);
|
|
42582
|
+
UniswapBuyExactlyRequestV1Chain$outboundSchema = UniswapBuyExactlyRequestV1Chain$inboundSchema;
|
|
42583
|
+
((UniswapBuyExactlyRequestV1Chain$) => {
|
|
42584
|
+
UniswapBuyExactlyRequestV1Chain$.inboundSchema = UniswapBuyExactlyRequestV1Chain$inboundSchema;
|
|
42585
|
+
UniswapBuyExactlyRequestV1Chain$.outboundSchema = UniswapBuyExactlyRequestV1Chain$outboundSchema;
|
|
42586
|
+
})(UniswapBuyExactlyRequestV1Chain$ ||= {});
|
|
42587
|
+
UniswapBuyExactlyRequestV1$inboundSchema = objectType({
|
|
42588
|
+
action_type: literalType("UNISWAP_BUY_EXACTLY_V1").default("UNISWAP_BUY_EXACTLY_V1"),
|
|
42589
|
+
token_in: unionType([TokenEnum$inboundSchema, stringType()]),
|
|
42590
|
+
token_out: unionType([TokenEnum$inboundSchema, stringType()]),
|
|
42591
|
+
fee: FeeEnum$inboundSchema,
|
|
42592
|
+
amount: unionType([numberType(), stringType()]),
|
|
42593
|
+
max_slippage_percent: numberType(),
|
|
42594
|
+
chain: UniswapBuyExactlyRequestV1Chain$inboundSchema,
|
|
42595
|
+
sender: stringType()
|
|
42596
|
+
}).transform((v2) => {
|
|
42597
|
+
return remap(v2, {
|
|
42598
|
+
action_type: "actionType",
|
|
42599
|
+
token_in: "tokenIn",
|
|
42600
|
+
token_out: "tokenOut",
|
|
42601
|
+
max_slippage_percent: "maxSlippagePercent"
|
|
42602
|
+
});
|
|
42603
|
+
});
|
|
42604
|
+
UniswapBuyExactlyRequestV1$outboundSchema = objectType({
|
|
42605
|
+
actionType: literalType("UNISWAP_BUY_EXACTLY_V1").default("UNISWAP_BUY_EXACTLY_V1"),
|
|
42606
|
+
tokenIn: unionType([TokenEnum$outboundSchema, stringType()]),
|
|
42607
|
+
tokenOut: unionType([TokenEnum$outboundSchema, stringType()]),
|
|
42608
|
+
fee: FeeEnum$outboundSchema,
|
|
42609
|
+
amount: unionType([numberType(), stringType()]),
|
|
42610
|
+
maxSlippagePercent: numberType(),
|
|
42611
|
+
chain: UniswapBuyExactlyRequestV1Chain$outboundSchema,
|
|
42612
|
+
sender: stringType()
|
|
42613
|
+
}).transform((v2) => {
|
|
42614
|
+
return remap(v2, {
|
|
42615
|
+
actionType: "action_type",
|
|
42616
|
+
tokenIn: "token_in",
|
|
42617
|
+
tokenOut: "token_out",
|
|
42618
|
+
maxSlippagePercent: "max_slippage_percent"
|
|
42619
|
+
});
|
|
42620
|
+
});
|
|
42621
|
+
((UniswapBuyExactlyRequestV1$) => {
|
|
42622
|
+
UniswapBuyExactlyRequestV1$.inboundSchema = UniswapBuyExactlyRequestV1$inboundSchema;
|
|
42623
|
+
UniswapBuyExactlyRequestV1$.outboundSchema = UniswapBuyExactlyRequestV1$outboundSchema;
|
|
42624
|
+
})(UniswapBuyExactlyRequestV1$ ||= {});
|
|
42625
|
+
});
|
|
42626
|
+
|
|
42484
42627
|
// src/models/components/uniswapbuyquoteinforesponse.ts
|
|
42485
42628
|
var UniswapBuyQuoteInfoResponse$inboundSchema, UniswapBuyQuoteInfoResponse$outboundSchema, UniswapBuyQuoteInfoResponse$;
|
|
42486
42629
|
var init_uniswapbuyquoteinforesponse = __esm(() => {
|
|
@@ -43400,7 +43543,9 @@ var init_components = __esm(() => {
|
|
|
43400
43543
|
init_tokentransferrequest();
|
|
43401
43544
|
init_txresponse();
|
|
43402
43545
|
init_uniswapbuyexactlyparams();
|
|
43546
|
+
init_uniswapbuyexactlyparamsv1();
|
|
43403
43547
|
init_uniswapbuyexactlyrequest();
|
|
43548
|
+
init_uniswapbuyexactlyrequestv1();
|
|
43404
43549
|
init_uniswapbuyquoteinforesponse();
|
|
43405
43550
|
init_uniswapcheckinrangeresponse();
|
|
43406
43551
|
init_uniswapincreaseliquidityprovisionparams();
|
|
@@ -43563,6 +43708,7 @@ var init_aaveavgrate = __esm(() => {
|
|
|
43563
43708
|
Eurs: "EURS",
|
|
43564
43709
|
Mai: "MAI",
|
|
43565
43710
|
USDCe: "USDCe",
|
|
43711
|
+
Eth: "ETH",
|
|
43566
43712
|
Aero: "AERO",
|
|
43567
43713
|
Eur: "EUR",
|
|
43568
43714
|
Virtual: "VIRTUAL",
|
|
@@ -43693,6 +43839,7 @@ var init_aaveliquiditychange = __esm(() => {
|
|
|
43693
43839
|
Eurs: "EURS",
|
|
43694
43840
|
Mai: "MAI",
|
|
43695
43841
|
USDCe: "USDCe",
|
|
43842
|
+
Eth: "ETH",
|
|
43696
43843
|
Aero: "AERO",
|
|
43697
43844
|
Eur: "EUR",
|
|
43698
43845
|
Virtual: "VIRTUAL",
|
|
@@ -43790,6 +43937,7 @@ var init_aaverate = __esm(() => {
|
|
|
43790
43937
|
Eurs: "EURS",
|
|
43791
43938
|
Mai: "MAI",
|
|
43792
43939
|
USDCe: "USDCe",
|
|
43940
|
+
Eth: "ETH",
|
|
43793
43941
|
Aero: "AERO",
|
|
43794
43942
|
Eur: "EUR",
|
|
43795
43943
|
Virtual: "VIRTUAL",
|
|
@@ -43875,6 +44023,7 @@ var init_aavereserveoverview = __esm(() => {
|
|
|
43875
44023
|
Eurs: "EURS",
|
|
43876
44024
|
Mai: "MAI",
|
|
43877
44025
|
USDCe: "USDCe",
|
|
44026
|
+
Eth: "ETH",
|
|
43878
44027
|
Aero: "AERO",
|
|
43879
44028
|
Eur: "EUR",
|
|
43880
44029
|
Virtual: "VIRTUAL",
|
|
@@ -43960,6 +44109,7 @@ var init_aavestdrate = __esm(() => {
|
|
|
43960
44109
|
Eurs: "EURS",
|
|
43961
44110
|
Mai: "MAI",
|
|
43962
44111
|
USDCe: "USDCe",
|
|
44112
|
+
Eth: "ETH",
|
|
43963
44113
|
Aero: "AERO",
|
|
43964
44114
|
Eur: "EUR",
|
|
43965
44115
|
Virtual: "VIRTUAL",
|
|
@@ -44047,6 +44197,7 @@ var init_aavetokenprice = __esm(() => {
|
|
|
44047
44197
|
Eurs: "EURS",
|
|
44048
44198
|
Mai: "MAI",
|
|
44049
44199
|
USDCe: "USDCe",
|
|
44200
|
+
Eth: "ETH",
|
|
44050
44201
|
Aero: "AERO",
|
|
44051
44202
|
Eur: "EUR",
|
|
44052
44203
|
Virtual: "VIRTUAL",
|
|
@@ -44132,6 +44283,7 @@ var init_aaveuserpositionpertoken = __esm(() => {
|
|
|
44132
44283
|
Eurs: "EURS",
|
|
44133
44284
|
Mai: "MAI",
|
|
44134
44285
|
USDCe: "USDCe",
|
|
44286
|
+
Eth: "ETH",
|
|
44135
44287
|
Aero: "AERO",
|
|
44136
44288
|
Eur: "EUR",
|
|
44137
44289
|
Virtual: "VIRTUAL",
|
|
@@ -44276,6 +44428,7 @@ var init_aerodromeslipstreampoolprice = __esm(() => {
|
|
|
44276
44428
|
Eurs: "EURS",
|
|
44277
44429
|
Mai: "MAI",
|
|
44278
44430
|
USDCe: "USDCe",
|
|
44431
|
+
Eth: "ETH",
|
|
44279
44432
|
Aero: "AERO",
|
|
44280
44433
|
Eur: "EUR",
|
|
44281
44434
|
Virtual: "VIRTUAL",
|
|
@@ -44324,6 +44477,7 @@ var init_aerodromeslipstreampoolprice = __esm(() => {
|
|
|
44324
44477
|
Eurs: "EURS",
|
|
44325
44478
|
Mai: "MAI",
|
|
44326
44479
|
USDCe: "USDCe",
|
|
44480
|
+
Eth: "ETH",
|
|
44327
44481
|
Aero: "AERO",
|
|
44328
44482
|
Eur: "EUR",
|
|
44329
44483
|
Virtual: "VIRTUAL",
|
|
@@ -45112,6 +45266,7 @@ var init_tokenaddress = __esm(() => {
|
|
|
45112
45266
|
Eurs: "EURS",
|
|
45113
45267
|
Mai: "MAI",
|
|
45114
45268
|
USDCe: "USDCe",
|
|
45269
|
+
Eth: "ETH",
|
|
45115
45270
|
Aero: "AERO",
|
|
45116
45271
|
Eur: "EUR",
|
|
45117
45272
|
Virtual: "VIRTUAL",
|
|
@@ -45339,6 +45494,7 @@ var init_uniswappoolprice = __esm(() => {
|
|
|
45339
45494
|
Eurs: "EURS",
|
|
45340
45495
|
Mai: "MAI",
|
|
45341
45496
|
USDCe: "USDCe",
|
|
45497
|
+
Eth: "ETH",
|
|
45342
45498
|
Aero: "AERO",
|
|
45343
45499
|
Eur: "EUR",
|
|
45344
45500
|
Virtual: "VIRTUAL",
|
|
@@ -45387,6 +45543,7 @@ var init_uniswappoolprice = __esm(() => {
|
|
|
45387
45543
|
Eurs: "EURS",
|
|
45388
45544
|
Mai: "MAI",
|
|
45389
45545
|
USDCe: "USDCe",
|
|
45546
|
+
Eth: "ETH",
|
|
45390
45547
|
Aero: "AERO",
|
|
45391
45548
|
Eur: "EUR",
|
|
45392
45549
|
Virtual: "VIRTUAL",
|
|
@@ -45503,6 +45660,7 @@ var init_uniswapquotebuyexactly = __esm(() => {
|
|
|
45503
45660
|
Eurs: "EURS",
|
|
45504
45661
|
Mai: "MAI",
|
|
45505
45662
|
USDCe: "USDCe",
|
|
45663
|
+
Eth: "ETH",
|
|
45506
45664
|
Aero: "AERO",
|
|
45507
45665
|
Eur: "EUR",
|
|
45508
45666
|
Virtual: "VIRTUAL",
|
|
@@ -45551,6 +45709,7 @@ var init_uniswapquotebuyexactly = __esm(() => {
|
|
|
45551
45709
|
Eurs: "EURS",
|
|
45552
45710
|
Mai: "MAI",
|
|
45553
45711
|
USDCe: "USDCe",
|
|
45712
|
+
Eth: "ETH",
|
|
45554
45713
|
Aero: "AERO",
|
|
45555
45714
|
Eur: "EUR",
|
|
45556
45715
|
Virtual: "VIRTUAL",
|
|
@@ -45677,6 +45836,7 @@ var init_uniswapquotesellexactly = __esm(() => {
|
|
|
45677
45836
|
Eurs: "EURS",
|
|
45678
45837
|
Mai: "MAI",
|
|
45679
45838
|
USDCe: "USDCe",
|
|
45839
|
+
Eth: "ETH",
|
|
45680
45840
|
Aero: "AERO",
|
|
45681
45841
|
Eur: "EUR",
|
|
45682
45842
|
Virtual: "VIRTUAL",
|
|
@@ -45725,6 +45885,7 @@ var init_uniswapquotesellexactly = __esm(() => {
|
|
|
45725
45885
|
Eurs: "EURS",
|
|
45726
45886
|
Mai: "MAI",
|
|
45727
45887
|
USDCe: "USDCe",
|
|
45888
|
+
Eth: "ETH",
|
|
45728
45889
|
Aero: "AERO",
|
|
45729
45890
|
Eur: "EUR",
|
|
45730
45891
|
Virtual: "VIRTUAL",
|
|
@@ -52869,8 +53030,8 @@ prevent replay attacks.`,
|
|
|
52869
53030
|
};
|
|
52870
53031
|
});
|
|
52871
53032
|
|
|
52872
|
-
// src/funcs/
|
|
52873
|
-
function
|
|
53033
|
+
// src/funcs/uniswapV3V0LiquidityProvisionIncrease.ts
|
|
53034
|
+
function uniswapV3V0LiquidityProvisionIncrease(client, request, options) {
|
|
52874
53035
|
return new APIPromise($do62(client, request, options));
|
|
52875
53036
|
}
|
|
52876
53037
|
async function $do62(client, request, options) {
|
|
@@ -52931,7 +53092,7 @@ async function $do62(client, request, options) {
|
|
|
52931
53092
|
}
|
|
52932
53093
|
return [result, { status: "complete", request: req, response }];
|
|
52933
53094
|
}
|
|
52934
|
-
var
|
|
53095
|
+
var init_uniswapV3V0LiquidityProvisionIncrease = __esm(() => {
|
|
52935
53096
|
init_encodings();
|
|
52936
53097
|
init_matchers();
|
|
52937
53098
|
init_primitives();
|
|
@@ -52943,17 +53104,17 @@ var init_uniswapV3LiquidityProvisionIncrease = __esm(() => {
|
|
|
52943
53104
|
init_async();
|
|
52944
53105
|
});
|
|
52945
53106
|
|
|
52946
|
-
// src/mcp-server/tools/
|
|
52947
|
-
var args62, tool$
|
|
52948
|
-
var
|
|
52949
|
-
|
|
53107
|
+
// src/mcp-server/tools/uniswapV3V0LiquidityProvisionIncrease.ts
|
|
53108
|
+
var args62, tool$uniswapV3V0LiquidityProvisionIncrease;
|
|
53109
|
+
var init_uniswapV3V0LiquidityProvisionIncrease2 = __esm(() => {
|
|
53110
|
+
init_uniswapV3V0LiquidityProvisionIncrease();
|
|
52950
53111
|
init_components();
|
|
52951
53112
|
init_tools();
|
|
52952
53113
|
args62 = {
|
|
52953
53114
|
request: UniswapIncreaseLiquidityProvisionRequest$inboundSchema
|
|
52954
53115
|
};
|
|
52955
|
-
tool$
|
|
52956
|
-
name: "uniswap-v3-liquidity-provision-increase",
|
|
53116
|
+
tool$uniswapV3V0LiquidityProvisionIncrease = {
|
|
53117
|
+
name: "uniswap-v3-(v0-)-liquidity-provision-increase",
|
|
52957
53118
|
description: `Increase an LP position
|
|
52958
53119
|
|
|
52959
53120
|
This endpoint allows users to increase their existing Liquidity Provider (LP)
|
|
@@ -52975,7 +53136,7 @@ process.
|
|
|
52975
53136
|
`,
|
|
52976
53137
|
args: args62,
|
|
52977
53138
|
tool: async (client, args63, ctx) => {
|
|
52978
|
-
const [result, apiCall] = await
|
|
53139
|
+
const [result, apiCall] = await uniswapV3V0LiquidityProvisionIncrease(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52979
53140
|
if (!result.ok) {
|
|
52980
53141
|
return {
|
|
52981
53142
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52988,8 +53149,8 @@ process.
|
|
|
52988
53149
|
};
|
|
52989
53150
|
});
|
|
52990
53151
|
|
|
52991
|
-
// src/funcs/
|
|
52992
|
-
function
|
|
53152
|
+
// src/funcs/uniswapV3V0LiquidityProvisionInRange.ts
|
|
53153
|
+
function uniswapV3V0LiquidityProvisionInRange(client, request, options) {
|
|
52993
53154
|
return new APIPromise($do63(client, request, options));
|
|
52994
53155
|
}
|
|
52995
53156
|
async function $do63(client, request, options) {
|
|
@@ -53054,7 +53215,7 @@ async function $do63(client, request, options) {
|
|
|
53054
53215
|
}
|
|
53055
53216
|
return [result, { status: "complete", request: req, response }];
|
|
53056
53217
|
}
|
|
53057
|
-
var
|
|
53218
|
+
var init_uniswapV3V0LiquidityProvisionInRange = __esm(() => {
|
|
53058
53219
|
init_encodings();
|
|
53059
53220
|
init_matchers();
|
|
53060
53221
|
init_primitives();
|
|
@@ -53067,17 +53228,17 @@ var init_uniswapV3LiquidityProvisionInRange = __esm(() => {
|
|
|
53067
53228
|
init_async();
|
|
53068
53229
|
});
|
|
53069
53230
|
|
|
53070
|
-
// src/mcp-server/tools/
|
|
53071
|
-
var args63, tool$
|
|
53072
|
-
var
|
|
53073
|
-
|
|
53231
|
+
// src/mcp-server/tools/uniswapV3V0LiquidityProvisionInRange.ts
|
|
53232
|
+
var args63, tool$uniswapV3V0LiquidityProvisionInRange;
|
|
53233
|
+
var init_uniswapV3V0LiquidityProvisionInRange2 = __esm(() => {
|
|
53234
|
+
init_uniswapV3V0LiquidityProvisionInRange();
|
|
53074
53235
|
init_operations();
|
|
53075
53236
|
init_tools();
|
|
53076
53237
|
args63 = {
|
|
53077
53238
|
request: UniswapLiquidityProvisionInRangeRequest$inboundSchema
|
|
53078
53239
|
};
|
|
53079
|
-
tool$
|
|
53080
|
-
name: "uniswap-v3-liquidity-provision-in-range",
|
|
53240
|
+
tool$uniswapV3V0LiquidityProvisionInRange = {
|
|
53241
|
+
name: "uniswap-v3-(v0-)-liquidity-provision-in-range",
|
|
53081
53242
|
description: `Check if LP is Active.
|
|
53082
53243
|
|
|
53083
53244
|
This endpoint allows users to check whether a specific liquidity provider ()
|
|
@@ -53090,7 +53251,7 @@ they are actively participating in the trading activities within the liquidity p
|
|
|
53090
53251
|
and earning trading fees.`,
|
|
53091
53252
|
args: args63,
|
|
53092
53253
|
tool: async (client, args64, ctx) => {
|
|
53093
|
-
const [result, apiCall] = await
|
|
53254
|
+
const [result, apiCall] = await uniswapV3V0LiquidityProvisionInRange(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53094
53255
|
if (!result.ok) {
|
|
53095
53256
|
return {
|
|
53096
53257
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53103,8 +53264,8 @@ and earning trading fees.`,
|
|
|
53103
53264
|
};
|
|
53104
53265
|
});
|
|
53105
53266
|
|
|
53106
|
-
// src/funcs/
|
|
53107
|
-
function
|
|
53267
|
+
// src/funcs/uniswapV3V0LiquidityProvisionMint.ts
|
|
53268
|
+
function uniswapV3V0LiquidityProvisionMint(client, request, options) {
|
|
53108
53269
|
return new APIPromise($do64(client, request, options));
|
|
53109
53270
|
}
|
|
53110
53271
|
async function $do64(client, request, options) {
|
|
@@ -53165,7 +53326,7 @@ async function $do64(client, request, options) {
|
|
|
53165
53326
|
}
|
|
53166
53327
|
return [result, { status: "complete", request: req, response }];
|
|
53167
53328
|
}
|
|
53168
|
-
var
|
|
53329
|
+
var init_uniswapV3V0LiquidityProvisionMint = __esm(() => {
|
|
53169
53330
|
init_encodings();
|
|
53170
53331
|
init_matchers();
|
|
53171
53332
|
init_primitives();
|
|
@@ -53177,17 +53338,17 @@ var init_uniswapV3LiquidityProvisionMint = __esm(() => {
|
|
|
53177
53338
|
init_async();
|
|
53178
53339
|
});
|
|
53179
53340
|
|
|
53180
|
-
// src/mcp-server/tools/
|
|
53181
|
-
var args64, tool$
|
|
53182
|
-
var
|
|
53183
|
-
|
|
53341
|
+
// src/mcp-server/tools/uniswapV3V0LiquidityProvisionMint.ts
|
|
53342
|
+
var args64, tool$uniswapV3V0LiquidityProvisionMint;
|
|
53343
|
+
var init_uniswapV3V0LiquidityProvisionMint2 = __esm(() => {
|
|
53344
|
+
init_uniswapV3V0LiquidityProvisionMint();
|
|
53184
53345
|
init_components();
|
|
53185
53346
|
init_tools();
|
|
53186
53347
|
args64 = {
|
|
53187
53348
|
request: UniswapMintLiquidityProvisionRequest$inboundSchema
|
|
53188
53349
|
};
|
|
53189
|
-
tool$
|
|
53190
|
-
name: "uniswap-v3-liquidity-provision-mint",
|
|
53350
|
+
tool$uniswapV3V0LiquidityProvisionMint = {
|
|
53351
|
+
name: "uniswap-v3-(v0-)-liquidity-provision-mint",
|
|
53191
53352
|
description: `Open a new LP position
|
|
53192
53353
|
|
|
53193
53354
|
This endpoint allows users to open a new Liquidity Provider (LP) position on the
|
|
@@ -53209,7 +53370,7 @@ needed for the minting process.
|
|
|
53209
53370
|
`,
|
|
53210
53371
|
args: args64,
|
|
53211
53372
|
tool: async (client, args65, ctx) => {
|
|
53212
|
-
const [result, apiCall] = await
|
|
53373
|
+
const [result, apiCall] = await uniswapV3V0LiquidityProvisionMint(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53213
53374
|
if (!result.ok) {
|
|
53214
53375
|
return {
|
|
53215
53376
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53222,8 +53383,8 @@ needed for the minting process.
|
|
|
53222
53383
|
};
|
|
53223
53384
|
});
|
|
53224
53385
|
|
|
53225
|
-
// src/funcs/
|
|
53226
|
-
function
|
|
53386
|
+
// src/funcs/uniswapV3V0LiquidityProvisionPositions.ts
|
|
53387
|
+
function uniswapV3V0LiquidityProvisionPositions(client, request, options) {
|
|
53227
53388
|
return new APIPromise($do65(client, request, options));
|
|
53228
53389
|
}
|
|
53229
53390
|
async function $do65(client, request, options) {
|
|
@@ -53288,7 +53449,7 @@ async function $do65(client, request, options) {
|
|
|
53288
53449
|
}
|
|
53289
53450
|
return [result, { status: "complete", request: req, response }];
|
|
53290
53451
|
}
|
|
53291
|
-
var
|
|
53452
|
+
var init_uniswapV3V0LiquidityProvisionPositions = __esm(() => {
|
|
53292
53453
|
init_encodings();
|
|
53293
53454
|
init_matchers();
|
|
53294
53455
|
init_primitives();
|
|
@@ -53301,17 +53462,17 @@ var init_uniswapV3LiquidityProvisionPositions = __esm(() => {
|
|
|
53301
53462
|
init_async();
|
|
53302
53463
|
});
|
|
53303
53464
|
|
|
53304
|
-
// src/mcp-server/tools/
|
|
53305
|
-
var args65, tool$
|
|
53306
|
-
var
|
|
53307
|
-
|
|
53465
|
+
// src/mcp-server/tools/uniswapV3V0LiquidityProvisionPositions.ts
|
|
53466
|
+
var args65, tool$uniswapV3V0LiquidityProvisionPositions;
|
|
53467
|
+
var init_uniswapV3V0LiquidityProvisionPositions2 = __esm(() => {
|
|
53468
|
+
init_uniswapV3V0LiquidityProvisionPositions();
|
|
53308
53469
|
init_operations();
|
|
53309
53470
|
init_tools();
|
|
53310
53471
|
args65 = {
|
|
53311
53472
|
request: UniswapLiquidityProvisionPositionsRequest$inboundSchema
|
|
53312
53473
|
};
|
|
53313
|
-
tool$
|
|
53314
|
-
name: "uniswap-v3-liquidity-provision-positions",
|
|
53474
|
+
tool$uniswapV3V0LiquidityProvisionPositions = {
|
|
53475
|
+
name: "uniswap-v3-(v0-)-liquidity-provision-positions",
|
|
53315
53476
|
description: `List LP
|
|
53316
53477
|
|
|
53317
53478
|
This endpoint retrieves the number of Liquidity Provider (LP) positions
|
|
@@ -53323,7 +53484,7 @@ information is crucial for users to manage and analyze their liquidity provision
|
|
|
53323
53484
|
activities effectively.`,
|
|
53324
53485
|
args: args65,
|
|
53325
53486
|
tool: async (client, args66, ctx) => {
|
|
53326
|
-
const [result, apiCall] = await
|
|
53487
|
+
const [result, apiCall] = await uniswapV3V0LiquidityProvisionPositions(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53327
53488
|
if (!result.ok) {
|
|
53328
53489
|
return {
|
|
53329
53490
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53336,8 +53497,8 @@ activities effectively.`,
|
|
|
53336
53497
|
};
|
|
53337
53498
|
});
|
|
53338
53499
|
|
|
53339
|
-
// src/funcs/
|
|
53340
|
-
function
|
|
53500
|
+
// src/funcs/uniswapV3V0LiquidityProvisionWithdraw.ts
|
|
53501
|
+
function uniswapV3V0LiquidityProvisionWithdraw(client, request, options) {
|
|
53341
53502
|
return new APIPromise($do66(client, request, options));
|
|
53342
53503
|
}
|
|
53343
53504
|
async function $do66(client, request, options) {
|
|
@@ -53398,7 +53559,7 @@ async function $do66(client, request, options) {
|
|
|
53398
53559
|
}
|
|
53399
53560
|
return [result, { status: "complete", request: req, response }];
|
|
53400
53561
|
}
|
|
53401
|
-
var
|
|
53562
|
+
var init_uniswapV3V0LiquidityProvisionWithdraw = __esm(() => {
|
|
53402
53563
|
init_encodings();
|
|
53403
53564
|
init_matchers();
|
|
53404
53565
|
init_primitives();
|
|
@@ -53410,17 +53571,17 @@ var init_uniswapV3LiquidityProvisionWithdraw = __esm(() => {
|
|
|
53410
53571
|
init_async();
|
|
53411
53572
|
});
|
|
53412
53573
|
|
|
53413
|
-
// src/mcp-server/tools/
|
|
53414
|
-
var args66, tool$
|
|
53415
|
-
var
|
|
53416
|
-
|
|
53574
|
+
// src/mcp-server/tools/uniswapV3V0LiquidityProvisionWithdraw.ts
|
|
53575
|
+
var args66, tool$uniswapV3V0LiquidityProvisionWithdraw;
|
|
53576
|
+
var init_uniswapV3V0LiquidityProvisionWithdraw2 = __esm(() => {
|
|
53577
|
+
init_uniswapV3V0LiquidityProvisionWithdraw();
|
|
53417
53578
|
init_components();
|
|
53418
53579
|
init_tools();
|
|
53419
53580
|
args66 = {
|
|
53420
53581
|
request: UniswapWithdrawLiquidityProvisionRequest$inboundSchema
|
|
53421
53582
|
};
|
|
53422
|
-
tool$
|
|
53423
|
-
name: "uniswap-v3-liquidity-provision-withdraw",
|
|
53583
|
+
tool$uniswapV3V0LiquidityProvisionWithdraw = {
|
|
53584
|
+
name: "uniswap-v3-(v0-)-liquidity-provision-withdraw",
|
|
53424
53585
|
description: `Withdraw an LP position
|
|
53425
53586
|
|
|
53426
53587
|
This endpoint allows users to withdraw their Liquidity Provider (LP) positions
|
|
@@ -53443,7 +53604,7 @@ before initiating a withdrawal to avoid potential issues or penalties.
|
|
|
53443
53604
|
`,
|
|
53444
53605
|
args: args66,
|
|
53445
53606
|
tool: async (client, args67, ctx) => {
|
|
53446
|
-
const [result, apiCall] = await
|
|
53607
|
+
const [result, apiCall] = await uniswapV3V0LiquidityProvisionWithdraw(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53447
53608
|
if (!result.ok) {
|
|
53448
53609
|
return {
|
|
53449
53610
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53456,8 +53617,8 @@ before initiating a withdrawal to avoid potential issues or penalties.
|
|
|
53456
53617
|
};
|
|
53457
53618
|
});
|
|
53458
53619
|
|
|
53459
|
-
// src/funcs/
|
|
53460
|
-
function
|
|
53620
|
+
// src/funcs/uniswapV3V0PoolPrice.ts
|
|
53621
|
+
function uniswapV3V0PoolPrice(client, request, options) {
|
|
53461
53622
|
return new APIPromise($do67(client, request, options));
|
|
53462
53623
|
}
|
|
53463
53624
|
async function $do67(client, request, options) {
|
|
@@ -53524,7 +53685,7 @@ async function $do67(client, request, options) {
|
|
|
53524
53685
|
}
|
|
53525
53686
|
return [result, { status: "complete", request: req, response }];
|
|
53526
53687
|
}
|
|
53527
|
-
var
|
|
53688
|
+
var init_uniswapV3V0PoolPrice = __esm(() => {
|
|
53528
53689
|
init_encodings();
|
|
53529
53690
|
init_matchers();
|
|
53530
53691
|
init_primitives();
|
|
@@ -53537,17 +53698,17 @@ var init_uniswapV3PoolPrice = __esm(() => {
|
|
|
53537
53698
|
init_async();
|
|
53538
53699
|
});
|
|
53539
53700
|
|
|
53540
|
-
// src/mcp-server/tools/
|
|
53541
|
-
var args67, tool$
|
|
53542
|
-
var
|
|
53543
|
-
|
|
53701
|
+
// src/mcp-server/tools/uniswapV3V0PoolPrice.ts
|
|
53702
|
+
var args67, tool$uniswapV3V0PoolPrice;
|
|
53703
|
+
var init_uniswapV3V0PoolPrice2 = __esm(() => {
|
|
53704
|
+
init_uniswapV3V0PoolPrice();
|
|
53544
53705
|
init_operations();
|
|
53545
53706
|
init_tools();
|
|
53546
53707
|
args67 = {
|
|
53547
53708
|
request: UniswapPoolPriceRequest$inboundSchema
|
|
53548
53709
|
};
|
|
53549
|
-
tool$
|
|
53550
|
-
name: "uniswap-v3-pool-price",
|
|
53710
|
+
tool$uniswapV3V0PoolPrice = {
|
|
53711
|
+
name: "uniswap-v3-(v0-)-pool-price",
|
|
53551
53712
|
description: `Pool Price
|
|
53552
53713
|
|
|
53553
53714
|
This endpoint calculates the price of a token in a Uniswap pool.
|
|
@@ -53555,7 +53716,7 @@ This endpoint calculates the price of a token in a Uniswap pool.
|
|
|
53555
53716
|
The price is calculated based on the current pool state and the specified fee tier.`,
|
|
53556
53717
|
args: args67,
|
|
53557
53718
|
tool: async (client, args68, ctx) => {
|
|
53558
|
-
const [result, apiCall] = await
|
|
53719
|
+
const [result, apiCall] = await uniswapV3V0PoolPrice(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53559
53720
|
if (!result.ok) {
|
|
53560
53721
|
return {
|
|
53561
53722
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53568,8 +53729,8 @@ The price is calculated based on the current pool state and the specified fee ti
|
|
|
53568
53729
|
};
|
|
53569
53730
|
});
|
|
53570
53731
|
|
|
53571
|
-
// src/funcs/
|
|
53572
|
-
function
|
|
53732
|
+
// src/funcs/uniswapV3V0QuoteBuyExactly.ts
|
|
53733
|
+
function uniswapV3V0QuoteBuyExactly(client, request, options) {
|
|
53573
53734
|
return new APIPromise($do68(client, request, options));
|
|
53574
53735
|
}
|
|
53575
53736
|
async function $do68(client, request, options) {
|
|
@@ -53637,7 +53798,7 @@ async function $do68(client, request, options) {
|
|
|
53637
53798
|
}
|
|
53638
53799
|
return [result, { status: "complete", request: req, response }];
|
|
53639
53800
|
}
|
|
53640
|
-
var
|
|
53801
|
+
var init_uniswapV3V0QuoteBuyExactly = __esm(() => {
|
|
53641
53802
|
init_encodings();
|
|
53642
53803
|
init_matchers();
|
|
53643
53804
|
init_primitives();
|
|
@@ -53650,17 +53811,17 @@ var init_uniswapV3QuoteBuyExactly = __esm(() => {
|
|
|
53650
53811
|
init_async();
|
|
53651
53812
|
});
|
|
53652
53813
|
|
|
53653
|
-
// src/mcp-server/tools/
|
|
53654
|
-
var args68, tool$
|
|
53655
|
-
var
|
|
53656
|
-
|
|
53814
|
+
// src/mcp-server/tools/uniswapV3V0QuoteBuyExactly.ts
|
|
53815
|
+
var args68, tool$uniswapV3V0QuoteBuyExactly;
|
|
53816
|
+
var init_uniswapV3V0QuoteBuyExactly2 = __esm(() => {
|
|
53817
|
+
init_uniswapV3V0QuoteBuyExactly();
|
|
53657
53818
|
init_operations();
|
|
53658
53819
|
init_tools();
|
|
53659
53820
|
args68 = {
|
|
53660
53821
|
request: UniswapQuoteBuyExactlyRequest$inboundSchema
|
|
53661
53822
|
};
|
|
53662
|
-
tool$
|
|
53663
|
-
name: "uniswap-v3-quote-buy-exactly",
|
|
53823
|
+
tool$uniswapV3V0QuoteBuyExactly = {
|
|
53824
|
+
name: "uniswap-v3-(v0-)-quote-buy-exactly",
|
|
53664
53825
|
description: `Get Quote - to Specified Amount
|
|
53665
53826
|
|
|
53666
53827
|
This endpoint calculates the amount of input tokens required to purchase a
|
|
@@ -53670,7 +53831,7 @@ It also provides the resulting price after the transaction. The calculation take
|
|
|
53670
53831
|
into account the current pool state and the specified fee tier.`,
|
|
53671
53832
|
args: args68,
|
|
53672
53833
|
tool: async (client, args69, ctx) => {
|
|
53673
|
-
const [result, apiCall] = await
|
|
53834
|
+
const [result, apiCall] = await uniswapV3V0QuoteBuyExactly(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53674
53835
|
if (!result.ok) {
|
|
53675
53836
|
return {
|
|
53676
53837
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53683,8 +53844,8 @@ into account the current pool state and the specified fee tier.`,
|
|
|
53683
53844
|
};
|
|
53684
53845
|
});
|
|
53685
53846
|
|
|
53686
|
-
// src/funcs/
|
|
53687
|
-
function
|
|
53847
|
+
// src/funcs/uniswapV3V0QuoteSellExactly.ts
|
|
53848
|
+
function uniswapV3V0QuoteSellExactly(client, request, options) {
|
|
53688
53849
|
return new APIPromise($do69(client, request, options));
|
|
53689
53850
|
}
|
|
53690
53851
|
async function $do69(client, request, options) {
|
|
@@ -53752,7 +53913,7 @@ async function $do69(client, request, options) {
|
|
|
53752
53913
|
}
|
|
53753
53914
|
return [result, { status: "complete", request: req, response }];
|
|
53754
53915
|
}
|
|
53755
|
-
var
|
|
53916
|
+
var init_uniswapV3V0QuoteSellExactly = __esm(() => {
|
|
53756
53917
|
init_encodings();
|
|
53757
53918
|
init_matchers();
|
|
53758
53919
|
init_primitives();
|
|
@@ -53765,17 +53926,17 @@ var init_uniswapV3QuoteSellExactly = __esm(() => {
|
|
|
53765
53926
|
init_async();
|
|
53766
53927
|
});
|
|
53767
53928
|
|
|
53768
|
-
// src/mcp-server/tools/
|
|
53769
|
-
var args69, tool$
|
|
53770
|
-
var
|
|
53771
|
-
|
|
53929
|
+
// src/mcp-server/tools/uniswapV3V0QuoteSellExactly.ts
|
|
53930
|
+
var args69, tool$uniswapV3V0QuoteSellExactly;
|
|
53931
|
+
var init_uniswapV3V0QuoteSellExactly2 = __esm(() => {
|
|
53932
|
+
init_uniswapV3V0QuoteSellExactly();
|
|
53772
53933
|
init_operations();
|
|
53773
53934
|
init_tools();
|
|
53774
53935
|
args69 = {
|
|
53775
53936
|
request: UniswapQuoteSellExactlyRequest$inboundSchema
|
|
53776
53937
|
};
|
|
53777
|
-
tool$
|
|
53778
|
-
name: "uniswap-v3-quote-sell-exactly",
|
|
53938
|
+
tool$uniswapV3V0QuoteSellExactly = {
|
|
53939
|
+
name: "uniswap-v3-(v0-)-quote-sell-exactly",
|
|
53779
53940
|
description: `Get quote - From Specified Amount
|
|
53780
53941
|
|
|
53781
53942
|
This endpoint calculates the amount of input tokens required to purchase a
|
|
@@ -53785,7 +53946,7 @@ It also provides the resulting price after the transaction. The calculation take
|
|
|
53785
53946
|
into account the current pool state and the specified fee tier.`,
|
|
53786
53947
|
args: args69,
|
|
53787
53948
|
tool: async (client, args70, ctx) => {
|
|
53788
|
-
const [result, apiCall] = await
|
|
53949
|
+
const [result, apiCall] = await uniswapV3V0QuoteSellExactly(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53789
53950
|
if (!result.ok) {
|
|
53790
53951
|
return {
|
|
53791
53952
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53798,8 +53959,8 @@ into account the current pool state and the specified fee tier.`,
|
|
|
53798
53959
|
};
|
|
53799
53960
|
});
|
|
53800
53961
|
|
|
53801
|
-
// src/funcs/
|
|
53802
|
-
function
|
|
53962
|
+
// src/funcs/uniswapV3V0SwapBuyExactly.ts
|
|
53963
|
+
function uniswapV3V0SwapBuyExactly(client, request, options) {
|
|
53803
53964
|
return new APIPromise($do70(client, request, options));
|
|
53804
53965
|
}
|
|
53805
53966
|
async function $do70(client, request, options) {
|
|
@@ -53860,7 +54021,7 @@ async function $do70(client, request, options) {
|
|
|
53860
54021
|
}
|
|
53861
54022
|
return [result, { status: "complete", request: req, response }];
|
|
53862
54023
|
}
|
|
53863
|
-
var
|
|
54024
|
+
var init_uniswapV3V0SwapBuyExactly = __esm(() => {
|
|
53864
54025
|
init_encodings();
|
|
53865
54026
|
init_matchers();
|
|
53866
54027
|
init_primitives();
|
|
@@ -53872,17 +54033,17 @@ var init_uniswapV3SwapBuyExactly = __esm(() => {
|
|
|
53872
54033
|
init_async();
|
|
53873
54034
|
});
|
|
53874
54035
|
|
|
53875
|
-
// src/mcp-server/tools/
|
|
53876
|
-
var args70, tool$
|
|
53877
|
-
var
|
|
53878
|
-
|
|
54036
|
+
// src/mcp-server/tools/uniswapV3V0SwapBuyExactly.ts
|
|
54037
|
+
var args70, tool$uniswapV3V0SwapBuyExactly;
|
|
54038
|
+
var init_uniswapV3V0SwapBuyExactly2 = __esm(() => {
|
|
54039
|
+
init_uniswapV3V0SwapBuyExactly();
|
|
53879
54040
|
init_components();
|
|
53880
54041
|
init_tools();
|
|
53881
54042
|
args70 = {
|
|
53882
54043
|
request: UniswapBuyExactlyRequest$inboundSchema
|
|
53883
54044
|
};
|
|
53884
|
-
tool$
|
|
53885
|
-
name: "uniswap-v3-swap-buy-exactly",
|
|
54045
|
+
tool$uniswapV3V0SwapBuyExactly = {
|
|
54046
|
+
name: "uniswap-v3-(v0-)-swap-buy-exactly",
|
|
53886
54047
|
description: `Buy exact amount
|
|
53887
54048
|
|
|
53888
54049
|
This endpoint allows users to trade a variable amount of one token to receive an
|
|
@@ -53902,7 +54063,7 @@ needs to be wrapped, the appropriate amount will be wrapped automatically.
|
|
|
53902
54063
|
`,
|
|
53903
54064
|
args: args70,
|
|
53904
54065
|
tool: async (client, args71, ctx) => {
|
|
53905
|
-
const [result, apiCall] = await
|
|
54066
|
+
const [result, apiCall] = await uniswapV3V0SwapBuyExactly(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53906
54067
|
if (!result.ok) {
|
|
53907
54068
|
return {
|
|
53908
54069
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53915,8 +54076,8 @@ needs to be wrapped, the appropriate amount will be wrapped automatically.
|
|
|
53915
54076
|
};
|
|
53916
54077
|
});
|
|
53917
54078
|
|
|
53918
|
-
// src/funcs/
|
|
53919
|
-
function
|
|
54079
|
+
// src/funcs/uniswapV3V0SwapSellExactly.ts
|
|
54080
|
+
function uniswapV3V0SwapSellExactly(client, request, options) {
|
|
53920
54081
|
return new APIPromise($do71(client, request, options));
|
|
53921
54082
|
}
|
|
53922
54083
|
async function $do71(client, request, options) {
|
|
@@ -53977,7 +54138,7 @@ async function $do71(client, request, options) {
|
|
|
53977
54138
|
}
|
|
53978
54139
|
return [result, { status: "complete", request: req, response }];
|
|
53979
54140
|
}
|
|
53980
|
-
var
|
|
54141
|
+
var init_uniswapV3V0SwapSellExactly = __esm(() => {
|
|
53981
54142
|
init_encodings();
|
|
53982
54143
|
init_matchers();
|
|
53983
54144
|
init_primitives();
|
|
@@ -53989,17 +54150,17 @@ var init_uniswapV3SwapSellExactly = __esm(() => {
|
|
|
53989
54150
|
init_async();
|
|
53990
54151
|
});
|
|
53991
54152
|
|
|
53992
|
-
// src/mcp-server/tools/
|
|
53993
|
-
var args71, tool$
|
|
53994
|
-
var
|
|
53995
|
-
|
|
54153
|
+
// src/mcp-server/tools/uniswapV3V0SwapSellExactly.ts
|
|
54154
|
+
var args71, tool$uniswapV3V0SwapSellExactly;
|
|
54155
|
+
var init_uniswapV3V0SwapSellExactly2 = __esm(() => {
|
|
54156
|
+
init_uniswapV3V0SwapSellExactly();
|
|
53996
54157
|
init_components();
|
|
53997
54158
|
init_tools();
|
|
53998
54159
|
args71 = {
|
|
53999
54160
|
request: UniswapSellExactlyRequest$inboundSchema
|
|
54000
54161
|
};
|
|
54001
|
-
tool$
|
|
54002
|
-
name: "uniswap-v3-swap-sell-exactly",
|
|
54162
|
+
tool$uniswapV3V0SwapSellExactly = {
|
|
54163
|
+
name: "uniswap-v3-(v0-)-swap-sell-exactly",
|
|
54003
54164
|
description: `Sell exact amount
|
|
54004
54165
|
|
|
54005
54166
|
This endpoint allows users to trade a specific amount of one token into another
|
|
@@ -54019,7 +54180,7 @@ wrapped, the appropriate amount will be wrapped automatically.
|
|
|
54019
54180
|
`,
|
|
54020
54181
|
args: args71,
|
|
54021
54182
|
tool: async (client, args72, ctx) => {
|
|
54022
|
-
const [result, apiCall] = await
|
|
54183
|
+
const [result, apiCall] = await uniswapV3V0SwapSellExactly(client, args72.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54023
54184
|
if (!result.ok) {
|
|
54024
54185
|
return {
|
|
54025
54186
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54032,11 +54193,128 @@ wrapped, the appropriate amount will be wrapped automatically.
|
|
|
54032
54193
|
};
|
|
54033
54194
|
});
|
|
54034
54195
|
|
|
54035
|
-
// src/funcs/
|
|
54036
|
-
function
|
|
54196
|
+
// src/funcs/uniswapV3V1UniswapSwapBuyExactly.ts
|
|
54197
|
+
function uniswapV3V1UniswapSwapBuyExactly(client, request, options) {
|
|
54037
54198
|
return new APIPromise($do72(client, request, options));
|
|
54038
54199
|
}
|
|
54039
54200
|
async function $do72(client, request, options) {
|
|
54201
|
+
const parsed = safeParse(request, (value) => UniswapBuyExactlyRequestV1$outboundSchema.parse(value), "Input validation failed");
|
|
54202
|
+
if (!parsed.ok) {
|
|
54203
|
+
return [parsed, { status: "invalid" }];
|
|
54204
|
+
}
|
|
54205
|
+
const payload = parsed.value;
|
|
54206
|
+
const body = encodeJSON("body", payload, { explode: true });
|
|
54207
|
+
const path = pathToFunc("/v1/uniswap/swap/buy_exactly")();
|
|
54208
|
+
const headers = new Headers(compactMap({
|
|
54209
|
+
"Content-Type": "application/json",
|
|
54210
|
+
Accept: "application/json"
|
|
54211
|
+
}));
|
|
54212
|
+
const secConfig = await extractSecurity(client._options.apiKeyAuth);
|
|
54213
|
+
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
54214
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
54215
|
+
const context = {
|
|
54216
|
+
options: client._options,
|
|
54217
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
54218
|
+
operationID: "v1_uniswap_swap_buy_exactly",
|
|
54219
|
+
oAuth2Scopes: [],
|
|
54220
|
+
resolvedSecurity: requestSecurity,
|
|
54221
|
+
securitySource: client._options.apiKeyAuth,
|
|
54222
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
54223
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
54224
|
+
};
|
|
54225
|
+
const requestRes = client._createRequest(context, {
|
|
54226
|
+
security: requestSecurity,
|
|
54227
|
+
method: "POST",
|
|
54228
|
+
baseURL: options?.serverURL,
|
|
54229
|
+
path,
|
|
54230
|
+
headers,
|
|
54231
|
+
body,
|
|
54232
|
+
userAgent: client._options.userAgent,
|
|
54233
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
54234
|
+
}, options);
|
|
54235
|
+
if (!requestRes.ok) {
|
|
54236
|
+
return [requestRes, { status: "invalid" }];
|
|
54237
|
+
}
|
|
54238
|
+
const req = requestRes.value;
|
|
54239
|
+
const doResult = await client._do(req, {
|
|
54240
|
+
context,
|
|
54241
|
+
errorCodes: ["422", "4XX", "5XX"],
|
|
54242
|
+
retryConfig: context.retryConfig,
|
|
54243
|
+
retryCodes: context.retryCodes
|
|
54244
|
+
});
|
|
54245
|
+
if (!doResult.ok) {
|
|
54246
|
+
return [doResult, { status: "request-error", request: req }];
|
|
54247
|
+
}
|
|
54248
|
+
const response = doResult.value;
|
|
54249
|
+
const responseFields = {
|
|
54250
|
+
HttpMeta: { Response: response, Request: req }
|
|
54251
|
+
};
|
|
54252
|
+
const [result] = await match(json(200, TxResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
54253
|
+
if (!result.ok) {
|
|
54254
|
+
return [result, { status: "complete", request: req, response }];
|
|
54255
|
+
}
|
|
54256
|
+
return [result, { status: "complete", request: req, response }];
|
|
54257
|
+
}
|
|
54258
|
+
var init_uniswapV3V1UniswapSwapBuyExactly = __esm(() => {
|
|
54259
|
+
init_encodings();
|
|
54260
|
+
init_matchers();
|
|
54261
|
+
init_primitives();
|
|
54262
|
+
init_schemas();
|
|
54263
|
+
init_security();
|
|
54264
|
+
init_url();
|
|
54265
|
+
init_components();
|
|
54266
|
+
init_errors2();
|
|
54267
|
+
init_async();
|
|
54268
|
+
});
|
|
54269
|
+
|
|
54270
|
+
// src/mcp-server/tools/uniswapV3V1UniswapSwapBuyExactly.ts
|
|
54271
|
+
var args72, tool$uniswapV3V1UniswapSwapBuyExactly;
|
|
54272
|
+
var init_uniswapV3V1UniswapSwapBuyExactly2 = __esm(() => {
|
|
54273
|
+
init_uniswapV3V1UniswapSwapBuyExactly();
|
|
54274
|
+
init_components();
|
|
54275
|
+
init_tools();
|
|
54276
|
+
args72 = {
|
|
54277
|
+
request: UniswapBuyExactlyRequestV1$inboundSchema
|
|
54278
|
+
};
|
|
54279
|
+
tool$uniswapV3V1UniswapSwapBuyExactly = {
|
|
54280
|
+
name: "uniswap-v3-(v1-)-uniswap-swap-buy-exactly",
|
|
54281
|
+
description: `Buy exact amount
|
|
54282
|
+
|
|
54283
|
+
This endpoint allows users to trade a specific amount of one token into another
|
|
54284
|
+
token using the Uniswap protocol.
|
|
54285
|
+
|
|
54286
|
+
The transaction is executed on the specified blockchain network, and the user must
|
|
54287
|
+
provide the necessary transaction details, including the token to sell, the token to
|
|
54288
|
+
receive, and the amount to sell. If the token being sold is WETH and needs to be
|
|
54289
|
+
wrapped, the appropriate amount will be wrapped automatically.
|
|
54290
|
+
<Info>
|
|
54291
|
+
**Required Allowances**
|
|
54292
|
+
|
|
54293
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
54294
|
+
|
|
54295
|
+
- \`UniswapV3Router\`
|
|
54296
|
+
</Info>
|
|
54297
|
+
`,
|
|
54298
|
+
args: args72,
|
|
54299
|
+
tool: async (client, args73, ctx) => {
|
|
54300
|
+
const [result, apiCall] = await uniswapV3V1UniswapSwapBuyExactly(client, args73.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54301
|
+
if (!result.ok) {
|
|
54302
|
+
return {
|
|
54303
|
+
content: [{ type: "text", text: result.error.message }],
|
|
54304
|
+
isError: true
|
|
54305
|
+
};
|
|
54306
|
+
}
|
|
54307
|
+
const value = result.value;
|
|
54308
|
+
return formatResult(value, apiCall);
|
|
54309
|
+
}
|
|
54310
|
+
};
|
|
54311
|
+
});
|
|
54312
|
+
|
|
54313
|
+
// src/funcs/universalAllowance.ts
|
|
54314
|
+
function universalAllowance(client, request, options) {
|
|
54315
|
+
return new APIPromise($do73(client, request, options));
|
|
54316
|
+
}
|
|
54317
|
+
async function $do73(client, request, options) {
|
|
54040
54318
|
const parsed = safeParse(request, (value) => GenericAllowanceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54041
54319
|
if (!parsed.ok) {
|
|
54042
54320
|
return [parsed, { status: "invalid" }];
|
|
@@ -54114,12 +54392,12 @@ var init_universalAllowance = __esm(() => {
|
|
|
54114
54392
|
});
|
|
54115
54393
|
|
|
54116
54394
|
// src/mcp-server/tools/universalAllowance.ts
|
|
54117
|
-
var
|
|
54395
|
+
var args73, tool$universalAllowance;
|
|
54118
54396
|
var init_universalAllowance2 = __esm(() => {
|
|
54119
54397
|
init_universalAllowance();
|
|
54120
54398
|
init_operations();
|
|
54121
54399
|
init_tools();
|
|
54122
|
-
|
|
54400
|
+
args73 = {
|
|
54123
54401
|
request: GenericAllowanceRequest$inboundSchema
|
|
54124
54402
|
};
|
|
54125
54403
|
tool$universalAllowance = {
|
|
@@ -54133,9 +54411,9 @@ tokens on their behalf.
|
|
|
54133
54411
|
This is a crucial step before engaging in any transactions or operations within
|
|
54134
54412
|
these protocols, ensuring that the protocol has the necessary permissions to manage
|
|
54135
54413
|
the user's tokens securely and efficiently.`,
|
|
54136
|
-
args:
|
|
54137
|
-
tool: async (client,
|
|
54138
|
-
const [result, apiCall] = await universalAllowance(client,
|
|
54414
|
+
args: args73,
|
|
54415
|
+
tool: async (client, args74, ctx) => {
|
|
54416
|
+
const [result, apiCall] = await universalAllowance(client, args74.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54139
54417
|
if (!result.ok) {
|
|
54140
54418
|
return {
|
|
54141
54419
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54150,9 +54428,9 @@ the user's tokens securely and efficiently.`,
|
|
|
54150
54428
|
|
|
54151
54429
|
// src/funcs/universalAllowanceSet.ts
|
|
54152
54430
|
function universalAllowanceSet(client, request, options) {
|
|
54153
|
-
return new APIPromise($
|
|
54431
|
+
return new APIPromise($do74(client, request, options));
|
|
54154
54432
|
}
|
|
54155
|
-
async function $
|
|
54433
|
+
async function $do74(client, request, options) {
|
|
54156
54434
|
const parsed = safeParse(request, (value) => SetAllowanceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54157
54435
|
if (!parsed.ok) {
|
|
54158
54436
|
return [parsed, { status: "invalid" }];
|
|
@@ -54223,12 +54501,12 @@ var init_universalAllowanceSet = __esm(() => {
|
|
|
54223
54501
|
});
|
|
54224
54502
|
|
|
54225
54503
|
// src/mcp-server/tools/universalAllowanceSet.ts
|
|
54226
|
-
var
|
|
54504
|
+
var args74, tool$universalAllowanceSet;
|
|
54227
54505
|
var init_universalAllowanceSet2 = __esm(() => {
|
|
54228
54506
|
init_universalAllowanceSet();
|
|
54229
54507
|
init_components();
|
|
54230
54508
|
init_tools();
|
|
54231
|
-
|
|
54509
|
+
args74 = {
|
|
54232
54510
|
request: SetAllowanceRequest$inboundSchema
|
|
54233
54511
|
};
|
|
54234
54512
|
tool$universalAllowanceSet = {
|
|
@@ -54243,9 +54521,9 @@ authorize a protocol to spend a specified amount of tokens on behalf of the user
|
|
|
54243
54521
|
This operation is crucial for ensuring that the protocol can manage the user's
|
|
54244
54522
|
tokens securely and efficiently, enabling seamless transactions and operations
|
|
54245
54523
|
within the DeFi ecosystem.`,
|
|
54246
|
-
args:
|
|
54247
|
-
tool: async (client,
|
|
54248
|
-
const [result, apiCall] = await universalAllowanceSet(client,
|
|
54524
|
+
args: args74,
|
|
54525
|
+
tool: async (client, args75, ctx) => {
|
|
54526
|
+
const [result, apiCall] = await universalAllowanceSet(client, args75.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54249
54527
|
if (!result.ok) {
|
|
54250
54528
|
return {
|
|
54251
54529
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54260,9 +54538,9 @@ within the DeFi ecosystem.`,
|
|
|
54260
54538
|
|
|
54261
54539
|
// src/funcs/universalEns.ts
|
|
54262
54540
|
function universalEns(client, request, options) {
|
|
54263
|
-
return new APIPromise($
|
|
54541
|
+
return new APIPromise($do75(client, request, options));
|
|
54264
54542
|
}
|
|
54265
|
-
async function $
|
|
54543
|
+
async function $do75(client, request, options) {
|
|
54266
54544
|
const parsed = safeParse(request, (value) => GenericEnsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54267
54545
|
if (!parsed.ok) {
|
|
54268
54546
|
return [parsed, { status: "invalid" }];
|
|
@@ -54338,12 +54616,12 @@ var init_universalEns = __esm(() => {
|
|
|
54338
54616
|
});
|
|
54339
54617
|
|
|
54340
54618
|
// src/mcp-server/tools/universalEns.ts
|
|
54341
|
-
var
|
|
54619
|
+
var args75, tool$universalEns;
|
|
54342
54620
|
var init_universalEns2 = __esm(() => {
|
|
54343
54621
|
init_universalEns();
|
|
54344
54622
|
init_operations();
|
|
54345
54623
|
init_tools();
|
|
54346
|
-
|
|
54624
|
+
args75 = {
|
|
54347
54625
|
request: GenericEnsRequest$inboundSchema
|
|
54348
54626
|
};
|
|
54349
54627
|
tool$universalEns = {
|
|
@@ -54354,9 +54632,9 @@ An ENS name is a string ending in \`.eth\`.
|
|
|
54354
54632
|
|
|
54355
54633
|
E.g. \`vitalik.eth\`. This endpoint can be used to
|
|
54356
54634
|
query the actual ethereum wallet address behind the ENS name.`,
|
|
54357
|
-
args:
|
|
54358
|
-
tool: async (client,
|
|
54359
|
-
const [result, apiCall] = await universalEns(client,
|
|
54635
|
+
args: args75,
|
|
54636
|
+
tool: async (client, args76, ctx) => {
|
|
54637
|
+
const [result, apiCall] = await universalEns(client, args76.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54360
54638
|
if (!result.ok) {
|
|
54361
54639
|
return {
|
|
54362
54640
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54371,9 +54649,9 @@ query the actual ethereum wallet address behind the ENS name.`,
|
|
|
54371
54649
|
|
|
54372
54650
|
// src/funcs/universalPortfolio.ts
|
|
54373
54651
|
function universalPortfolio(client, request, options) {
|
|
54374
|
-
return new APIPromise($
|
|
54652
|
+
return new APIPromise($do76(client, request, options));
|
|
54375
54653
|
}
|
|
54376
|
-
async function $
|
|
54654
|
+
async function $do76(client, request, options) {
|
|
54377
54655
|
const parsed = safeParse(request, (value) => GenericPortfolioRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54378
54656
|
if (!parsed.ok) {
|
|
54379
54657
|
return [parsed, { status: "invalid" }];
|
|
@@ -54449,12 +54727,12 @@ var init_universalPortfolio = __esm(() => {
|
|
|
54449
54727
|
});
|
|
54450
54728
|
|
|
54451
54729
|
// src/mcp-server/tools/universalPortfolio.ts
|
|
54452
|
-
var
|
|
54730
|
+
var args76, tool$universalPortfolio;
|
|
54453
54731
|
var init_universalPortfolio2 = __esm(() => {
|
|
54454
54732
|
init_universalPortfolio();
|
|
54455
54733
|
init_operations();
|
|
54456
54734
|
init_tools();
|
|
54457
|
-
|
|
54735
|
+
args76 = {
|
|
54458
54736
|
request: GenericPortfolioRequest$inboundSchema
|
|
54459
54737
|
};
|
|
54460
54738
|
tool$universalPortfolio = {
|
|
@@ -54465,9 +54743,9 @@ Fetch the detailed portfolio of a specific wallet address on a given blockchain.
|
|
|
54465
54743
|
|
|
54466
54744
|
This includes the total value of the portfolio in USD and a breakdown of token
|
|
54467
54745
|
balances, including their respective values and quantities.`,
|
|
54468
|
-
args:
|
|
54469
|
-
tool: async (client,
|
|
54470
|
-
const [result, apiCall] = await universalPortfolio(client,
|
|
54746
|
+
args: args76,
|
|
54747
|
+
tool: async (client, args77, ctx) => {
|
|
54748
|
+
const [result, apiCall] = await universalPortfolio(client, args77.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54471
54749
|
if (!result.ok) {
|
|
54472
54750
|
return {
|
|
54473
54751
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54482,9 +54760,9 @@ balances, including their respective values and quantities.`,
|
|
|
54482
54760
|
|
|
54483
54761
|
// src/funcs/universalSupportedChains.ts
|
|
54484
54762
|
function universalSupportedChains(client, request, options) {
|
|
54485
|
-
return new APIPromise($
|
|
54763
|
+
return new APIPromise($do77(client, request, options));
|
|
54486
54764
|
}
|
|
54487
|
-
async function $
|
|
54765
|
+
async function $do77(client, request, options) {
|
|
54488
54766
|
const parsed = safeParse(request, (value) => GenericSupportedChainsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54489
54767
|
if (!parsed.ok) {
|
|
54490
54768
|
return [parsed, { status: "invalid" }];
|
|
@@ -54559,12 +54837,12 @@ var init_universalSupportedChains = __esm(() => {
|
|
|
54559
54837
|
});
|
|
54560
54838
|
|
|
54561
54839
|
// src/mcp-server/tools/universalSupportedChains.ts
|
|
54562
|
-
var
|
|
54840
|
+
var args77, tool$universalSupportedChains;
|
|
54563
54841
|
var init_universalSupportedChains2 = __esm(() => {
|
|
54564
54842
|
init_universalSupportedChains();
|
|
54565
54843
|
init_operations();
|
|
54566
54844
|
init_tools();
|
|
54567
|
-
|
|
54845
|
+
args77 = {
|
|
54568
54846
|
request: GenericSupportedChainsRequest$inboundSchema
|
|
54569
54847
|
};
|
|
54570
54848
|
tool$universalSupportedChains = {
|
|
@@ -54572,9 +54850,9 @@ var init_universalSupportedChains2 = __esm(() => {
|
|
|
54572
54850
|
description: `List Supported Chains
|
|
54573
54851
|
|
|
54574
54852
|
Get the list of supported chains by the Compass API.`,
|
|
54575
|
-
args:
|
|
54576
|
-
tool: async (client,
|
|
54577
|
-
const [result, apiCall] = await universalSupportedChains(client,
|
|
54853
|
+
args: args77,
|
|
54854
|
+
tool: async (client, args78, ctx) => {
|
|
54855
|
+
const [result, apiCall] = await universalSupportedChains(client, args78.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54578
54856
|
if (!result.ok) {
|
|
54579
54857
|
return {
|
|
54580
54858
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54589,9 +54867,9 @@ Get the list of supported chains by the Compass API.`,
|
|
|
54589
54867
|
|
|
54590
54868
|
// src/funcs/universalSupportedTokens.ts
|
|
54591
54869
|
function universalSupportedTokens(client, request, options) {
|
|
54592
|
-
return new APIPromise($
|
|
54870
|
+
return new APIPromise($do78(client, request, options));
|
|
54593
54871
|
}
|
|
54594
|
-
async function $
|
|
54872
|
+
async function $do78(client, request, options) {
|
|
54595
54873
|
const parsed = safeParse(request, (value) => GenericSupportedTokensRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54596
54874
|
if (!parsed.ok) {
|
|
54597
54875
|
return [parsed, { status: "invalid" }];
|
|
@@ -54666,12 +54944,12 @@ var init_universalSupportedTokens = __esm(() => {
|
|
|
54666
54944
|
});
|
|
54667
54945
|
|
|
54668
54946
|
// src/mcp-server/tools/universalSupportedTokens.ts
|
|
54669
|
-
var
|
|
54947
|
+
var args78, tool$universalSupportedTokens;
|
|
54670
54948
|
var init_universalSupportedTokens2 = __esm(() => {
|
|
54671
54949
|
init_universalSupportedTokens();
|
|
54672
54950
|
init_operations();
|
|
54673
54951
|
init_tools();
|
|
54674
|
-
|
|
54952
|
+
args78 = {
|
|
54675
54953
|
request: GenericSupportedTokensRequest$inboundSchema
|
|
54676
54954
|
};
|
|
54677
54955
|
tool$universalSupportedTokens = {
|
|
@@ -54679,9 +54957,9 @@ var init_universalSupportedTokens2 = __esm(() => {
|
|
|
54679
54957
|
description: `List Supported Tokens
|
|
54680
54958
|
|
|
54681
54959
|
Get the list of supported tokens on a chain by the Compass API.`,
|
|
54682
|
-
args:
|
|
54683
|
-
tool: async (client,
|
|
54684
|
-
const [result, apiCall] = await universalSupportedTokens(client,
|
|
54960
|
+
args: args78,
|
|
54961
|
+
tool: async (client, args79, ctx) => {
|
|
54962
|
+
const [result, apiCall] = await universalSupportedTokens(client, args79.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54685
54963
|
if (!result.ok) {
|
|
54686
54964
|
return {
|
|
54687
54965
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54696,9 +54974,9 @@ Get the list of supported tokens on a chain by the Compass API.`,
|
|
|
54696
54974
|
|
|
54697
54975
|
// src/funcs/universalUnwrapWeth.ts
|
|
54698
54976
|
function universalUnwrapWeth(client, request, options) {
|
|
54699
|
-
return new APIPromise($
|
|
54977
|
+
return new APIPromise($do79(client, request, options));
|
|
54700
54978
|
}
|
|
54701
|
-
async function $
|
|
54979
|
+
async function $do79(client, request, options) {
|
|
54702
54980
|
const parsed = safeParse(request, (value) => UnwrapWethRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54703
54981
|
if (!parsed.ok) {
|
|
54704
54982
|
return [parsed, { status: "invalid" }];
|
|
@@ -54769,12 +55047,12 @@ var init_universalUnwrapWeth = __esm(() => {
|
|
|
54769
55047
|
});
|
|
54770
55048
|
|
|
54771
55049
|
// src/mcp-server/tools/universalUnwrapWeth.ts
|
|
54772
|
-
var
|
|
55050
|
+
var args79, tool$universalUnwrapWeth;
|
|
54773
55051
|
var init_universalUnwrapWeth2 = __esm(() => {
|
|
54774
55052
|
init_universalUnwrapWeth();
|
|
54775
55053
|
init_components();
|
|
54776
55054
|
init_tools();
|
|
54777
|
-
|
|
55055
|
+
args79 = {
|
|
54778
55056
|
request: UnwrapWethRequest$inboundSchema
|
|
54779
55057
|
};
|
|
54780
55058
|
tool$universalUnwrapWeth = {
|
|
@@ -54783,9 +55061,9 @@ var init_universalUnwrapWeth2 = __esm(() => {
|
|
|
54783
55061
|
|
|
54784
55062
|
Unwrapping WETH converts the ERC-20 compliant form of ETH back to native ETH that
|
|
54785
55063
|
can be used for gas and other native purposes.`,
|
|
54786
|
-
args:
|
|
54787
|
-
tool: async (client,
|
|
54788
|
-
const [result, apiCall] = await universalUnwrapWeth(client,
|
|
55064
|
+
args: args79,
|
|
55065
|
+
tool: async (client, args80, ctx) => {
|
|
55066
|
+
const [result, apiCall] = await universalUnwrapWeth(client, args80.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54789
55067
|
if (!result.ok) {
|
|
54790
55068
|
return {
|
|
54791
55069
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54800,9 +55078,9 @@ can be used for gas and other native purposes.`,
|
|
|
54800
55078
|
|
|
54801
55079
|
// src/funcs/universalVisualizePortfolio.ts
|
|
54802
55080
|
function universalVisualizePortfolio(client, request, options) {
|
|
54803
|
-
return new APIPromise($
|
|
55081
|
+
return new APIPromise($do80(client, request, options));
|
|
54804
55082
|
}
|
|
54805
|
-
async function $
|
|
55083
|
+
async function $do80(client, request, options) {
|
|
54806
55084
|
const parsed = safeParse(request, (value) => GenericVisualizePortfolioRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54807
55085
|
if (!parsed.ok) {
|
|
54808
55086
|
return [parsed, { status: "invalid" }];
|
|
@@ -54878,12 +55156,12 @@ var init_universalVisualizePortfolio = __esm(() => {
|
|
|
54878
55156
|
});
|
|
54879
55157
|
|
|
54880
55158
|
// src/mcp-server/tools/universalVisualizePortfolio.ts
|
|
54881
|
-
var
|
|
55159
|
+
var args80, tool$universalVisualizePortfolio;
|
|
54882
55160
|
var init_universalVisualizePortfolio2 = __esm(() => {
|
|
54883
55161
|
init_universalVisualizePortfolio();
|
|
54884
55162
|
init_operations();
|
|
54885
55163
|
init_tools();
|
|
54886
|
-
|
|
55164
|
+
args80 = {
|
|
54887
55165
|
request: GenericVisualizePortfolioRequest$inboundSchema
|
|
54888
55166
|
};
|
|
54889
55167
|
tool$universalVisualizePortfolio = {
|
|
@@ -54895,9 +55173,9 @@ Generate a visual representation of the token portfolio for a wallet address.
|
|
|
54895
55173
|
The response is an SVG image of a pie chart depicting the relative distribution of
|
|
54896
55174
|
tokens held, colored and labeled with token symbols, percentages and token values in
|
|
54897
55175
|
USD.`,
|
|
54898
|
-
args:
|
|
54899
|
-
tool: async (client,
|
|
54900
|
-
const [result, apiCall] = await universalVisualizePortfolio(client,
|
|
55176
|
+
args: args80,
|
|
55177
|
+
tool: async (client, args81, ctx) => {
|
|
55178
|
+
const [result, apiCall] = await universalVisualizePortfolio(client, args81.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54901
55179
|
if (!result.ok) {
|
|
54902
55180
|
return {
|
|
54903
55181
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54912,9 +55190,9 @@ USD.`,
|
|
|
54912
55190
|
|
|
54913
55191
|
// src/funcs/universalWrapEth.ts
|
|
54914
55192
|
function universalWrapEth(client, request, options) {
|
|
54915
|
-
return new APIPromise($
|
|
55193
|
+
return new APIPromise($do81(client, request, options));
|
|
54916
55194
|
}
|
|
54917
|
-
async function $
|
|
55195
|
+
async function $do81(client, request, options) {
|
|
54918
55196
|
const parsed = safeParse(request, (value) => WrapEthRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54919
55197
|
if (!parsed.ok) {
|
|
54920
55198
|
return [parsed, { status: "invalid" }];
|
|
@@ -54985,12 +55263,12 @@ var init_universalWrapEth = __esm(() => {
|
|
|
54985
55263
|
});
|
|
54986
55264
|
|
|
54987
55265
|
// src/mcp-server/tools/universalWrapEth.ts
|
|
54988
|
-
var
|
|
55266
|
+
var args81, tool$universalWrapEth;
|
|
54989
55267
|
var init_universalWrapEth2 = __esm(() => {
|
|
54990
55268
|
init_universalWrapEth();
|
|
54991
55269
|
init_components();
|
|
54992
55270
|
init_tools();
|
|
54993
|
-
|
|
55271
|
+
args81 = {
|
|
54994
55272
|
request: WrapEthRequest$inboundSchema
|
|
54995
55273
|
};
|
|
54996
55274
|
tool$universalWrapEth = {
|
|
@@ -54999,9 +55277,9 @@ var init_universalWrapEth2 = __esm(() => {
|
|
|
54999
55277
|
|
|
55000
55278
|
Wrapping ETH creates an ERC20 compliant form of ETH that is typically needed for
|
|
55001
55279
|
it to be traded on DeFi protocols.`,
|
|
55002
|
-
args:
|
|
55003
|
-
tool: async (client,
|
|
55004
|
-
const [result, apiCall] = await universalWrapEth(client,
|
|
55280
|
+
args: args81,
|
|
55281
|
+
tool: async (client, args82, ctx) => {
|
|
55282
|
+
const [result, apiCall] = await universalWrapEth(client, args82.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55005
55283
|
if (!result.ok) {
|
|
55006
55284
|
return {
|
|
55007
55285
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55018,7 +55296,7 @@ it to be traded on DeFi protocols.`,
|
|
|
55018
55296
|
function createMCPServer(deps) {
|
|
55019
55297
|
const server = new McpServer({
|
|
55020
55298
|
name: "CompassApiSDK",
|
|
55021
|
-
version: "0.5.
|
|
55299
|
+
version: "0.5.55"
|
|
55022
55300
|
});
|
|
55023
55301
|
const client = new CompassApiSDKCore({
|
|
55024
55302
|
apiKeyAuth: deps.apiKeyAuth,
|
|
@@ -55074,16 +55352,16 @@ function createMCPServer(deps) {
|
|
|
55074
55352
|
tool(tool$tokenPrice);
|
|
55075
55353
|
tool(tool$tokenBalance);
|
|
55076
55354
|
tool(tool$tokenTransfer);
|
|
55077
|
-
tool(tool$
|
|
55078
|
-
tool(tool$
|
|
55079
|
-
tool(tool$
|
|
55080
|
-
tool(tool$
|
|
55081
|
-
tool(tool$
|
|
55082
|
-
tool(tool$
|
|
55083
|
-
tool(tool$
|
|
55084
|
-
tool(tool$
|
|
55085
|
-
tool(tool$
|
|
55086
|
-
tool(tool$
|
|
55355
|
+
tool(tool$uniswapV3V0QuoteBuyExactly);
|
|
55356
|
+
tool(tool$uniswapV3V0QuoteSellExactly);
|
|
55357
|
+
tool(tool$uniswapV3V0PoolPrice);
|
|
55358
|
+
tool(tool$uniswapV3V0LiquidityProvisionInRange);
|
|
55359
|
+
tool(tool$uniswapV3V0LiquidityProvisionPositions);
|
|
55360
|
+
tool(tool$uniswapV3V0SwapBuyExactly);
|
|
55361
|
+
tool(tool$uniswapV3V0SwapSellExactly);
|
|
55362
|
+
tool(tool$uniswapV3V0LiquidityProvisionMint);
|
|
55363
|
+
tool(tool$uniswapV3V0LiquidityProvisionIncrease);
|
|
55364
|
+
tool(tool$uniswapV3V0LiquidityProvisionWithdraw);
|
|
55087
55365
|
tool(tool$universalPortfolio);
|
|
55088
55366
|
tool(tool$universalVisualizePortfolio);
|
|
55089
55367
|
tool(tool$universalSupportedTokens);
|
|
@@ -55112,6 +55390,7 @@ function createMCPServer(deps) {
|
|
|
55112
55390
|
tool(tool$erc4626VaultsVault);
|
|
55113
55391
|
tool(tool$erc4626VaultsDeposit);
|
|
55114
55392
|
tool(tool$erc4626VaultsWithdraw);
|
|
55393
|
+
tool(tool$uniswapV3V1UniswapSwapBuyExactly);
|
|
55115
55394
|
return server;
|
|
55116
55395
|
}
|
|
55117
55396
|
var init_server2 = __esm(() => {
|
|
@@ -55180,16 +55459,17 @@ var init_server2 = __esm(() => {
|
|
|
55180
55459
|
init_transactionBundlerBundlerAaveLoop2();
|
|
55181
55460
|
init_transactionBundlerBundlerAuthorization2();
|
|
55182
55461
|
init_transactionBundlerBundlerExecute2();
|
|
55183
|
-
|
|
55184
|
-
|
|
55185
|
-
|
|
55186
|
-
|
|
55187
|
-
|
|
55188
|
-
|
|
55189
|
-
|
|
55190
|
-
|
|
55191
|
-
|
|
55192
|
-
|
|
55462
|
+
init_uniswapV3V0LiquidityProvisionIncrease2();
|
|
55463
|
+
init_uniswapV3V0LiquidityProvisionInRange2();
|
|
55464
|
+
init_uniswapV3V0LiquidityProvisionMint2();
|
|
55465
|
+
init_uniswapV3V0LiquidityProvisionPositions2();
|
|
55466
|
+
init_uniswapV3V0LiquidityProvisionWithdraw2();
|
|
55467
|
+
init_uniswapV3V0PoolPrice2();
|
|
55468
|
+
init_uniswapV3V0QuoteBuyExactly2();
|
|
55469
|
+
init_uniswapV3V0QuoteSellExactly2();
|
|
55470
|
+
init_uniswapV3V0SwapBuyExactly2();
|
|
55471
|
+
init_uniswapV3V0SwapSellExactly2();
|
|
55472
|
+
init_uniswapV3V1UniswapSwapBuyExactly2();
|
|
55193
55473
|
init_universalAllowance2();
|
|
55194
55474
|
init_universalAllowanceSet2();
|
|
55195
55475
|
init_universalEns2();
|
|
@@ -56394,7 +56674,7 @@ var routes = ln({
|
|
|
56394
56674
|
var app = _e(routes, {
|
|
56395
56675
|
name: "mcp",
|
|
56396
56676
|
versionInfo: {
|
|
56397
|
-
currentVersion: "0.5.
|
|
56677
|
+
currentVersion: "0.5.55"
|
|
56398
56678
|
}
|
|
56399
56679
|
});
|
|
56400
56680
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -56402,5 +56682,5 @@ export {
|
|
|
56402
56682
|
app
|
|
56403
56683
|
};
|
|
56404
56684
|
|
|
56405
|
-
//# debugId=
|
|
56685
|
+
//# debugId=74346F6B53CAD15E64756E2164756E21
|
|
56406
56686
|
//# sourceMappingURL=mcp-server.js.map
|