@compass-labs/api-sdk 0.5.19 → 0.5.21
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 +57 -57
- package/bin/mcp-server.js +286 -284
- package/bin/mcp-server.js.map +72 -72
- package/dist/commonjs/funcs/aaveV3AvgRate.d.ts +1 -1
- package/dist/commonjs/funcs/aaveV3AvgRate.js +1 -1
- package/dist/commonjs/funcs/aaveV3HistoricalTransactions.d.ts +1 -1
- package/dist/commonjs/funcs/aaveV3HistoricalTransactions.js +1 -1
- package/dist/commonjs/funcs/aaveV3LiquidityChange.d.ts +1 -1
- package/dist/commonjs/funcs/aaveV3LiquidityChange.js +1 -1
- package/dist/commonjs/funcs/aaveV3Repay.d.ts +1 -1
- package/dist/commonjs/funcs/aaveV3Repay.js +1 -1
- package/dist/commonjs/funcs/aaveV3ReserveOverview.d.ts +1 -1
- package/dist/commonjs/funcs/aaveV3ReserveOverview.js +1 -1
- package/dist/commonjs/funcs/aaveV3StdRate.d.ts +1 -1
- package/dist/commonjs/funcs/aaveV3StdRate.js +1 -1
- package/dist/commonjs/funcs/aaveV3TokenPrice.d.ts +1 -1
- package/dist/commonjs/funcs/aaveV3TokenPrice.js +1 -1
- package/dist/commonjs/funcs/aaveV3UserPositionPerToken.d.ts +1 -1
- package/dist/commonjs/funcs/aaveV3UserPositionPerToken.js +1 -1
- package/dist/commonjs/funcs/aaveV3UserPositionSummary.d.ts +1 -1
- package/dist/commonjs/funcs/aaveV3UserPositionSummary.js +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.d.ts +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.js +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.d.ts +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.js +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionPositions.d.ts +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionPositions.js +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.d.ts +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.js +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamPoolPrice.d.ts +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamPoolPrice.js +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamSwapBuyExactly.d.ts +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamSwapBuyExactly.js +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamSwapSellExactly.d.ts +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamSwapSellExactly.js +1 -1
- package/dist/commonjs/funcs/tokenTransfer.d.ts +1 -1
- package/dist/commonjs/funcs/tokenTransfer.js +1 -1
- package/dist/commonjs/funcs/{transactionBatchingAaveLoop.d.ts → transactionBundlerBundlerAaveLoop.d.ts} +3 -3
- package/dist/commonjs/funcs/transactionBundlerBundlerAaveLoop.d.ts.map +1 -0
- package/dist/commonjs/funcs/{transactionBatchingAaveLoop.js → transactionBundlerBundlerAaveLoop.js} +6 -6
- package/dist/commonjs/funcs/transactionBundlerBundlerAaveLoop.js.map +1 -0
- package/dist/{esm/funcs/transactionBatchingAuthorization.d.ts → commonjs/funcs/transactionBundlerBundlerAuthorization.d.ts} +3 -3
- package/dist/commonjs/funcs/transactionBundlerBundlerAuthorization.d.ts.map +1 -0
- package/dist/commonjs/funcs/{transactionBatchingAuthorization.js → transactionBundlerBundlerAuthorization.js} +6 -6
- package/dist/commonjs/funcs/transactionBundlerBundlerAuthorization.js.map +1 -0
- package/dist/commonjs/funcs/{transactionBatchingExecute.d.ts → transactionBundlerBundlerExecute.d.ts} +2 -2
- package/dist/commonjs/funcs/transactionBundlerBundlerExecute.d.ts.map +1 -0
- package/dist/commonjs/funcs/{transactionBatchingExecute.js → transactionBundlerBundlerExecute.js} +5 -5
- package/dist/commonjs/funcs/transactionBundlerBundlerExecute.js.map +1 -0
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionInRange.d.ts +1 -1
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionInRange.js +1 -1
- package/dist/commonjs/funcs/uniswapV3PoolPrice.d.ts +1 -1
- package/dist/commonjs/funcs/uniswapV3PoolPrice.js +1 -1
- package/dist/commonjs/funcs/uniswapV3QuoteBuyExactly.d.ts +1 -1
- package/dist/commonjs/funcs/uniswapV3QuoteBuyExactly.js +1 -1
- package/dist/commonjs/funcs/uniswapV3QuoteSellExactly.d.ts +1 -1
- package/dist/commonjs/funcs/uniswapV3QuoteSellExactly.js +1 -1
- package/dist/commonjs/funcs/universalAllowance.d.ts +1 -1
- package/dist/commonjs/funcs/universalAllowance.js +1 -1
- package/dist/commonjs/funcs/universalPortfolio.d.ts +1 -1
- package/dist/commonjs/funcs/universalPortfolio.js +1 -1
- package/dist/commonjs/funcs/universalSupportedTokens.d.ts +1 -1
- package/dist/commonjs/funcs/universalSupportedTokens.js +1 -1
- package/dist/commonjs/funcs/universalVisualizePortfolio.d.ts +1 -1
- package/dist/commonjs/funcs/universalVisualizePortfolio.js +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +7 -7
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/aaveV3AvgRate.js +1 -1
- package/dist/commonjs/mcp-server/tools/aaveV3HistoricalTransactions.js +1 -1
- package/dist/commonjs/mcp-server/tools/aaveV3LiquidityChange.js +1 -1
- package/dist/commonjs/mcp-server/tools/aaveV3Repay.js +1 -1
- package/dist/commonjs/mcp-server/tools/aaveV3ReserveOverview.js +1 -1
- package/dist/commonjs/mcp-server/tools/aaveV3StdRate.js +1 -1
- package/dist/commonjs/mcp-server/tools/aaveV3TokenPrice.js +1 -1
- package/dist/commonjs/mcp-server/tools/aaveV3UserPositionPerToken.js +1 -1
- package/dist/commonjs/mcp-server/tools/aaveV3UserPositionSummary.js +1 -1
- package/dist/commonjs/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.js +1 -1
- package/dist/commonjs/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.js +1 -1
- package/dist/commonjs/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionPositions.js +1 -1
- package/dist/commonjs/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.js +1 -1
- package/dist/commonjs/mcp-server/tools/aerodromeSlipstreamSlipstreamPoolPrice.js +1 -1
- package/dist/commonjs/mcp-server/tools/aerodromeSlipstreamSlipstreamSwapBuyExactly.js +1 -1
- package/dist/commonjs/mcp-server/tools/aerodromeSlipstreamSlipstreamSwapSellExactly.js +1 -1
- package/dist/commonjs/mcp-server/tools/tokenTransfer.js +1 -1
- package/dist/commonjs/mcp-server/tools/{transactionBatchingAaveLoop.d.ts → transactionBundlerBundlerAaveLoop.d.ts} +2 -2
- package/dist/commonjs/mcp-server/tools/transactionBundlerBundlerAaveLoop.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{transactionBatchingAaveLoop.js → transactionBundlerBundlerAaveLoop.js} +7 -7
- package/dist/commonjs/mcp-server/tools/transactionBundlerBundlerAaveLoop.js.map +1 -0
- package/dist/{esm/mcp-server/tools/transactionBatchingAuthorization.d.ts → commonjs/mcp-server/tools/transactionBundlerBundlerAuthorization.d.ts} +2 -2
- package/dist/commonjs/mcp-server/tools/transactionBundlerBundlerAuthorization.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{transactionBatchingAuthorization.js → transactionBundlerBundlerAuthorization.js} +7 -7
- package/dist/commonjs/mcp-server/tools/transactionBundlerBundlerAuthorization.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/{transactionBatchingExecute.d.ts → transactionBundlerBundlerExecute.d.ts} +2 -2
- package/dist/commonjs/mcp-server/tools/{transactionBatchingAuthorization.d.ts.map → transactionBundlerBundlerExecute.d.ts.map} +1 -1
- package/dist/commonjs/mcp-server/tools/{transactionBatchingExecute.js → transactionBundlerBundlerExecute.js} +6 -6
- package/dist/commonjs/mcp-server/tools/{transactionBatchingAuthorization.js.map → transactionBundlerBundlerExecute.js.map} +1 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3LiquidityProvisionInRange.js +1 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3PoolPrice.js +1 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3QuoteBuyExactly.js +1 -1
- package/dist/commonjs/mcp-server/tools/uniswapV3QuoteSellExactly.js +1 -1
- package/dist/commonjs/mcp-server/tools/universalAllowance.js +1 -1
- package/dist/commonjs/mcp-server/tools/universalPortfolio.js +1 -1
- package/dist/commonjs/mcp-server/tools/universalSupportedTokens.js +1 -1
- package/dist/commonjs/mcp-server/tools/universalVisualizePortfolio.js +1 -1
- package/dist/commonjs/models/components/aavehistoricaltransactionsresponse.d.ts +28 -28
- package/dist/commonjs/models/components/aavehistoricaltransactionsresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/aavehistoricaltransactionsresponse.js +28 -28
- package/dist/commonjs/models/components/aavehistoricaltransactionsresponse.js.map +1 -1
- package/dist/commonjs/models/components/batcheduseroperationsrequest.d.ts +5 -0
- package/dist/commonjs/models/components/batcheduseroperationsrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/batcheduseroperationsrequest.js +2 -0
- package/dist/commonjs/models/components/batcheduseroperationsrequest.js.map +1 -1
- package/dist/commonjs/models/components/borrow.js +1 -1
- package/dist/commonjs/models/components/borrow.js.map +1 -1
- package/dist/commonjs/models/components/liquidationcall.js +1 -1
- package/dist/commonjs/models/components/liquidationcall.js.map +1 -1
- package/dist/commonjs/models/components/repay.js +1 -1
- package/dist/commonjs/models/components/repay.js.map +1 -1
- package/dist/commonjs/models/components/supply.js +1 -1
- package/dist/commonjs/models/components/supply.js.map +1 -1
- package/dist/commonjs/models/components/swapborrowrate.js +1 -1
- package/dist/commonjs/models/components/swapborrowrate.js.map +1 -1
- package/dist/commonjs/models/components/txresponse.d.ts +2 -2
- package/dist/commonjs/models/components/txresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/txresponse.js +4 -4
- package/dist/commonjs/models/components/txresponse.js.map +1 -1
- package/dist/commonjs/models/components/usageascollateral.d.ts.map +1 -1
- package/dist/commonjs/models/components/usageascollateral.js +2 -1
- package/dist/commonjs/models/components/usageascollateral.js.map +1 -1
- package/dist/commonjs/models/components/useroperation.d.ts +184 -184
- package/dist/commonjs/models/components/useroperation.d.ts.map +1 -1
- package/dist/commonjs/models/components/useroperation.js +184 -184
- package/dist/commonjs/models/components/useroperation.js.map +1 -1
- package/dist/commonjs/sdk/aavev3.d.ts +9 -9
- package/dist/commonjs/sdk/aavev3.js +9 -9
- package/dist/commonjs/sdk/aerodromeslipstream.d.ts +7 -7
- package/dist/commonjs/sdk/aerodromeslipstream.js +7 -7
- package/dist/commonjs/sdk/sdk.d.ts +3 -3
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +3 -3
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/commonjs/sdk/token.d.ts +1 -1
- package/dist/commonjs/sdk/token.js +1 -1
- package/dist/{esm/sdk/transactionbatching.d.ts → commonjs/sdk/transactionbundler.d.ts} +7 -7
- package/dist/commonjs/sdk/transactionbundler.d.ts.map +1 -0
- package/dist/commonjs/sdk/{transactionbatching.js → transactionbundler.js} +15 -15
- package/dist/commonjs/sdk/transactionbundler.js.map +1 -0
- package/dist/commonjs/sdk/uniswapv3.d.ts +4 -4
- package/dist/commonjs/sdk/uniswapv3.js +4 -4
- package/dist/commonjs/sdk/universal.d.ts +4 -4
- package/dist/commonjs/sdk/universal.js +4 -4
- package/dist/commonjs/types/constdatetime.js +1 -1
- package/dist/esm/funcs/aaveV3AvgRate.d.ts +1 -1
- package/dist/esm/funcs/aaveV3AvgRate.js +1 -1
- package/dist/esm/funcs/aaveV3HistoricalTransactions.d.ts +1 -1
- package/dist/esm/funcs/aaveV3HistoricalTransactions.js +1 -1
- package/dist/esm/funcs/aaveV3LiquidityChange.d.ts +1 -1
- package/dist/esm/funcs/aaveV3LiquidityChange.js +1 -1
- package/dist/esm/funcs/aaveV3Repay.d.ts +1 -1
- package/dist/esm/funcs/aaveV3Repay.js +1 -1
- package/dist/esm/funcs/aaveV3ReserveOverview.d.ts +1 -1
- package/dist/esm/funcs/aaveV3ReserveOverview.js +1 -1
- package/dist/esm/funcs/aaveV3StdRate.d.ts +1 -1
- package/dist/esm/funcs/aaveV3StdRate.js +1 -1
- package/dist/esm/funcs/aaveV3TokenPrice.d.ts +1 -1
- package/dist/esm/funcs/aaveV3TokenPrice.js +1 -1
- package/dist/esm/funcs/aaveV3UserPositionPerToken.d.ts +1 -1
- package/dist/esm/funcs/aaveV3UserPositionPerToken.js +1 -1
- package/dist/esm/funcs/aaveV3UserPositionSummary.d.ts +1 -1
- package/dist/esm/funcs/aaveV3UserPositionSummary.js +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.d.ts +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.js +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.d.ts +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.js +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionPositions.d.ts +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionPositions.js +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.d.ts +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.js +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamPoolPrice.d.ts +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamPoolPrice.js +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamSwapBuyExactly.d.ts +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamSwapBuyExactly.js +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamSwapSellExactly.d.ts +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamSwapSellExactly.js +1 -1
- package/dist/esm/funcs/tokenTransfer.d.ts +1 -1
- package/dist/esm/funcs/tokenTransfer.js +1 -1
- package/dist/esm/funcs/{transactionBatchingAaveLoop.d.ts → transactionBundlerBundlerAaveLoop.d.ts} +3 -3
- package/dist/esm/funcs/transactionBundlerBundlerAaveLoop.d.ts.map +1 -0
- package/dist/esm/funcs/{transactionBatchingAaveLoop.js → transactionBundlerBundlerAaveLoop.js} +5 -5
- package/dist/esm/funcs/transactionBundlerBundlerAaveLoop.js.map +1 -0
- package/dist/{commonjs/funcs/transactionBatchingAuthorization.d.ts → esm/funcs/transactionBundlerBundlerAuthorization.d.ts} +3 -3
- package/dist/esm/funcs/transactionBundlerBundlerAuthorization.d.ts.map +1 -0
- package/dist/esm/funcs/{transactionBatchingAuthorization.js → transactionBundlerBundlerAuthorization.js} +5 -5
- package/dist/esm/funcs/transactionBundlerBundlerAuthorization.js.map +1 -0
- package/dist/esm/funcs/{transactionBatchingExecute.d.ts → transactionBundlerBundlerExecute.d.ts} +2 -2
- package/dist/esm/funcs/transactionBundlerBundlerExecute.d.ts.map +1 -0
- package/dist/esm/funcs/{transactionBatchingExecute.js → transactionBundlerBundlerExecute.js} +4 -4
- package/dist/esm/funcs/transactionBundlerBundlerExecute.js.map +1 -0
- package/dist/esm/funcs/uniswapV3LiquidityProvisionInRange.d.ts +1 -1
- package/dist/esm/funcs/uniswapV3LiquidityProvisionInRange.js +1 -1
- package/dist/esm/funcs/uniswapV3PoolPrice.d.ts +1 -1
- package/dist/esm/funcs/uniswapV3PoolPrice.js +1 -1
- package/dist/esm/funcs/uniswapV3QuoteBuyExactly.d.ts +1 -1
- package/dist/esm/funcs/uniswapV3QuoteBuyExactly.js +1 -1
- package/dist/esm/funcs/uniswapV3QuoteSellExactly.d.ts +1 -1
- package/dist/esm/funcs/uniswapV3QuoteSellExactly.js +1 -1
- package/dist/esm/funcs/universalAllowance.d.ts +1 -1
- package/dist/esm/funcs/universalAllowance.js +1 -1
- package/dist/esm/funcs/universalPortfolio.d.ts +1 -1
- package/dist/esm/funcs/universalPortfolio.js +1 -1
- package/dist/esm/funcs/universalSupportedTokens.d.ts +1 -1
- package/dist/esm/funcs/universalSupportedTokens.js +1 -1
- package/dist/esm/funcs/universalVisualizePortfolio.d.ts +1 -1
- package/dist/esm/funcs/universalVisualizePortfolio.js +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +7 -7
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/aaveV3AvgRate.js +1 -1
- package/dist/esm/mcp-server/tools/aaveV3HistoricalTransactions.js +1 -1
- package/dist/esm/mcp-server/tools/aaveV3LiquidityChange.js +1 -1
- package/dist/esm/mcp-server/tools/aaveV3Repay.js +1 -1
- package/dist/esm/mcp-server/tools/aaveV3ReserveOverview.js +1 -1
- package/dist/esm/mcp-server/tools/aaveV3StdRate.js +1 -1
- package/dist/esm/mcp-server/tools/aaveV3TokenPrice.js +1 -1
- package/dist/esm/mcp-server/tools/aaveV3UserPositionPerToken.js +1 -1
- package/dist/esm/mcp-server/tools/aaveV3UserPositionSummary.js +1 -1
- package/dist/esm/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.js +1 -1
- package/dist/esm/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.js +1 -1
- package/dist/esm/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionPositions.js +1 -1
- package/dist/esm/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.js +1 -1
- package/dist/esm/mcp-server/tools/aerodromeSlipstreamSlipstreamPoolPrice.js +1 -1
- package/dist/esm/mcp-server/tools/aerodromeSlipstreamSlipstreamSwapBuyExactly.js +1 -1
- package/dist/esm/mcp-server/tools/aerodromeSlipstreamSlipstreamSwapSellExactly.js +1 -1
- package/dist/esm/mcp-server/tools/tokenTransfer.js +1 -1
- package/dist/esm/mcp-server/tools/{transactionBatchingAaveLoop.d.ts → transactionBundlerBundlerAaveLoop.d.ts} +2 -2
- package/dist/esm/mcp-server/tools/transactionBundlerBundlerAaveLoop.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/{transactionBatchingAaveLoop.js → transactionBundlerBundlerAaveLoop.js} +6 -6
- package/dist/esm/mcp-server/tools/transactionBundlerBundlerAaveLoop.js.map +1 -0
- package/dist/{commonjs/mcp-server/tools/transactionBatchingAuthorization.d.ts → esm/mcp-server/tools/transactionBundlerBundlerAuthorization.d.ts} +2 -2
- package/dist/esm/mcp-server/tools/transactionBundlerBundlerAuthorization.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/{transactionBatchingAuthorization.js → transactionBundlerBundlerAuthorization.js} +6 -6
- package/dist/esm/mcp-server/tools/transactionBundlerBundlerAuthorization.js.map +1 -0
- package/dist/esm/mcp-server/tools/{transactionBatchingExecute.d.ts → transactionBundlerBundlerExecute.d.ts} +2 -2
- package/dist/esm/mcp-server/tools/{transactionBatchingAuthorization.d.ts.map → transactionBundlerBundlerExecute.d.ts.map} +1 -1
- package/dist/esm/mcp-server/tools/{transactionBatchingExecute.js → transactionBundlerBundlerExecute.js} +5 -5
- package/dist/esm/mcp-server/tools/{transactionBatchingAuthorization.js.map → transactionBundlerBundlerExecute.js.map} +1 -1
- package/dist/esm/mcp-server/tools/uniswapV3LiquidityProvisionInRange.js +1 -1
- package/dist/esm/mcp-server/tools/uniswapV3PoolPrice.js +1 -1
- package/dist/esm/mcp-server/tools/uniswapV3QuoteBuyExactly.js +1 -1
- package/dist/esm/mcp-server/tools/uniswapV3QuoteSellExactly.js +1 -1
- package/dist/esm/mcp-server/tools/universalAllowance.js +1 -1
- package/dist/esm/mcp-server/tools/universalPortfolio.js +1 -1
- package/dist/esm/mcp-server/tools/universalSupportedTokens.js +1 -1
- package/dist/esm/mcp-server/tools/universalVisualizePortfolio.js +1 -1
- package/dist/esm/models/components/aavehistoricaltransactionsresponse.d.ts +28 -28
- package/dist/esm/models/components/aavehistoricaltransactionsresponse.d.ts.map +1 -1
- package/dist/esm/models/components/aavehistoricaltransactionsresponse.js +28 -28
- package/dist/esm/models/components/aavehistoricaltransactionsresponse.js.map +1 -1
- package/dist/esm/models/components/batcheduseroperationsrequest.d.ts +5 -0
- package/dist/esm/models/components/batcheduseroperationsrequest.d.ts.map +1 -1
- package/dist/esm/models/components/batcheduseroperationsrequest.js +2 -0
- package/dist/esm/models/components/batcheduseroperationsrequest.js.map +1 -1
- package/dist/esm/models/components/borrow.js +1 -1
- package/dist/esm/models/components/borrow.js.map +1 -1
- package/dist/esm/models/components/liquidationcall.js +1 -1
- package/dist/esm/models/components/liquidationcall.js.map +1 -1
- package/dist/esm/models/components/repay.js +1 -1
- package/dist/esm/models/components/repay.js.map +1 -1
- package/dist/esm/models/components/supply.js +1 -1
- package/dist/esm/models/components/supply.js.map +1 -1
- package/dist/esm/models/components/swapborrowrate.js +1 -1
- package/dist/esm/models/components/swapborrowrate.js.map +1 -1
- package/dist/esm/models/components/txresponse.d.ts +2 -2
- package/dist/esm/models/components/txresponse.d.ts.map +1 -1
- package/dist/esm/models/components/txresponse.js +4 -4
- package/dist/esm/models/components/txresponse.js.map +1 -1
- package/dist/esm/models/components/usageascollateral.d.ts.map +1 -1
- package/dist/esm/models/components/usageascollateral.js +2 -1
- package/dist/esm/models/components/usageascollateral.js.map +1 -1
- package/dist/esm/models/components/useroperation.d.ts +184 -184
- package/dist/esm/models/components/useroperation.d.ts.map +1 -1
- package/dist/esm/models/components/useroperation.js +184 -184
- package/dist/esm/models/components/useroperation.js.map +1 -1
- package/dist/esm/sdk/aavev3.d.ts +9 -9
- package/dist/esm/sdk/aavev3.js +9 -9
- package/dist/esm/sdk/aerodromeslipstream.d.ts +7 -7
- package/dist/esm/sdk/aerodromeslipstream.js +7 -7
- package/dist/esm/sdk/sdk.d.ts +3 -3
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +3 -3
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/dist/esm/sdk/token.d.ts +1 -1
- package/dist/esm/sdk/token.js +1 -1
- package/dist/{commonjs/sdk/transactionbatching.d.ts → esm/sdk/transactionbundler.d.ts} +7 -7
- package/dist/esm/sdk/transactionbundler.d.ts.map +1 -0
- package/dist/esm/sdk/{transactionbatching.js → transactionbundler.js} +13 -13
- package/dist/esm/sdk/transactionbundler.js.map +1 -0
- package/dist/esm/sdk/uniswapv3.d.ts +4 -4
- package/dist/esm/sdk/uniswapv3.js +4 -4
- package/dist/esm/sdk/universal.d.ts +4 -4
- package/dist/esm/sdk/universal.js +4 -4
- package/dist/esm/types/constdatetime.js +1 -1
- package/docs/sdks/aavev3/README.md +9 -9
- package/docs/sdks/aerodromeslipstream/README.md +7 -7
- package/docs/sdks/smartaccount/README.md +2 -0
- package/docs/sdks/token/README.md +1 -1
- package/docs/sdks/{transactionbatching → transactionbundler}/README.md +28 -28
- package/docs/sdks/uniswapv3/README.md +4 -4
- package/docs/sdks/universal/README.md +4 -4
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/aaveV3AvgRate.ts +1 -1
- package/src/funcs/aaveV3HistoricalTransactions.ts +1 -1
- package/src/funcs/aaveV3LiquidityChange.ts +1 -1
- package/src/funcs/aaveV3Repay.ts +1 -1
- package/src/funcs/aaveV3ReserveOverview.ts +1 -1
- package/src/funcs/aaveV3StdRate.ts +1 -1
- package/src/funcs/aaveV3TokenPrice.ts +1 -1
- package/src/funcs/aaveV3UserPositionPerToken.ts +1 -1
- package/src/funcs/aaveV3UserPositionSummary.ts +1 -1
- package/src/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.ts +1 -1
- package/src/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.ts +1 -1
- package/src/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionPositions.ts +1 -1
- package/src/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.ts +1 -1
- package/src/funcs/aerodromeSlipstreamSlipstreamPoolPrice.ts +1 -1
- package/src/funcs/aerodromeSlipstreamSlipstreamSwapBuyExactly.ts +1 -1
- package/src/funcs/aerodromeSlipstreamSlipstreamSwapSellExactly.ts +1 -1
- package/src/funcs/tokenTransfer.ts +1 -1
- package/src/funcs/{transactionBatchingAaveLoop.ts → transactionBundlerBundlerAaveLoop.ts} +4 -4
- package/src/funcs/{transactionBatchingAuthorization.ts → transactionBundlerBundlerAuthorization.ts} +4 -4
- package/src/funcs/{transactionBatchingExecute.ts → transactionBundlerBundlerExecute.ts} +3 -3
- package/src/funcs/uniswapV3LiquidityProvisionInRange.ts +1 -1
- package/src/funcs/uniswapV3PoolPrice.ts +1 -1
- package/src/funcs/uniswapV3QuoteBuyExactly.ts +1 -1
- package/src/funcs/uniswapV3QuoteSellExactly.ts +1 -1
- package/src/funcs/universalAllowance.ts +1 -1
- package/src/funcs/universalPortfolio.ts +1 -1
- package/src/funcs/universalSupportedTokens.ts +1 -1
- package/src/funcs/universalVisualizePortfolio.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +7 -7
- package/src/mcp-server/tools/aaveV3AvgRate.ts +1 -1
- package/src/mcp-server/tools/aaveV3HistoricalTransactions.ts +1 -1
- package/src/mcp-server/tools/aaveV3LiquidityChange.ts +1 -1
- package/src/mcp-server/tools/aaveV3Repay.ts +1 -1
- package/src/mcp-server/tools/aaveV3ReserveOverview.ts +1 -1
- package/src/mcp-server/tools/aaveV3StdRate.ts +1 -1
- package/src/mcp-server/tools/aaveV3TokenPrice.ts +1 -1
- package/src/mcp-server/tools/aaveV3UserPositionPerToken.ts +1 -1
- package/src/mcp-server/tools/aaveV3UserPositionSummary.ts +1 -1
- package/src/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.ts +1 -1
- package/src/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.ts +1 -1
- package/src/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionPositions.ts +1 -1
- package/src/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.ts +1 -1
- package/src/mcp-server/tools/aerodromeSlipstreamSlipstreamPoolPrice.ts +1 -1
- package/src/mcp-server/tools/aerodromeSlipstreamSlipstreamSwapBuyExactly.ts +1 -1
- package/src/mcp-server/tools/aerodromeSlipstreamSlipstreamSwapSellExactly.ts +1 -1
- package/src/mcp-server/tools/tokenTransfer.ts +1 -1
- package/src/mcp-server/tools/{transactionBatchingAaveLoop.ts → transactionBundlerBundlerAaveLoop.ts} +7 -5
- package/src/mcp-server/tools/{transactionBatchingAuthorization.ts → transactionBundlerBundlerAuthorization.ts} +5 -5
- package/src/mcp-server/tools/{transactionBatchingExecute.ts → transactionBundlerBundlerExecute.ts} +6 -4
- package/src/mcp-server/tools/uniswapV3LiquidityProvisionInRange.ts +1 -1
- package/src/mcp-server/tools/uniswapV3PoolPrice.ts +1 -1
- package/src/mcp-server/tools/uniswapV3QuoteBuyExactly.ts +1 -1
- package/src/mcp-server/tools/uniswapV3QuoteSellExactly.ts +1 -1
- package/src/mcp-server/tools/universalAllowance.ts +1 -1
- package/src/mcp-server/tools/universalPortfolio.ts +1 -1
- package/src/mcp-server/tools/universalSupportedTokens.ts +1 -1
- package/src/mcp-server/tools/universalVisualizePortfolio.ts +1 -1
- package/src/models/components/aavehistoricaltransactionsresponse.ts +70 -70
- package/src/models/components/batcheduseroperationsrequest.ts +7 -0
- package/src/models/components/borrow.ts +1 -1
- package/src/models/components/liquidationcall.ts +1 -1
- package/src/models/components/repay.ts +1 -1
- package/src/models/components/supply.ts +1 -1
- package/src/models/components/swapborrowrate.ts +1 -1
- package/src/models/components/txresponse.ts +8 -8
- package/src/models/components/usageascollateral.ts +2 -1
- package/src/models/components/useroperation.ts +485 -485
- package/src/sdk/aavev3.ts +9 -9
- package/src/sdk/aerodromeslipstream.ts +7 -7
- package/src/sdk/sdk.ts +4 -6
- package/src/sdk/token.ts +1 -1
- package/src/sdk/{transactionbatching.ts → transactionbundler.ts} +12 -12
- package/src/sdk/uniswapv3.ts +4 -4
- package/src/sdk/universal.ts +4 -4
- package/src/types/constdatetime.ts +1 -1
- package/dist/commonjs/funcs/transactionBatchingAaveLoop.d.ts.map +0 -1
- package/dist/commonjs/funcs/transactionBatchingAaveLoop.js.map +0 -1
- package/dist/commonjs/funcs/transactionBatchingAuthorization.d.ts.map +0 -1
- package/dist/commonjs/funcs/transactionBatchingAuthorization.js.map +0 -1
- package/dist/commonjs/funcs/transactionBatchingExecute.d.ts.map +0 -1
- package/dist/commonjs/funcs/transactionBatchingExecute.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/transactionBatchingAaveLoop.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/transactionBatchingAaveLoop.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/transactionBatchingExecute.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/transactionBatchingExecute.js.map +0 -1
- package/dist/commonjs/sdk/transactionbatching.d.ts.map +0 -1
- package/dist/commonjs/sdk/transactionbatching.js.map +0 -1
- package/dist/esm/funcs/transactionBatchingAaveLoop.d.ts.map +0 -1
- package/dist/esm/funcs/transactionBatchingAaveLoop.js.map +0 -1
- package/dist/esm/funcs/transactionBatchingAuthorization.d.ts.map +0 -1
- package/dist/esm/funcs/transactionBatchingAuthorization.js.map +0 -1
- package/dist/esm/funcs/transactionBatchingExecute.d.ts.map +0 -1
- package/dist/esm/funcs/transactionBatchingExecute.js.map +0 -1
- package/dist/esm/mcp-server/tools/transactionBatchingAaveLoop.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/transactionBatchingAaveLoop.js.map +0 -1
- package/dist/esm/mcp-server/tools/transactionBatchingExecute.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/transactionBatchingExecute.js.map +0 -1
- package/dist/esm/sdk/transactionbatching.d.ts.map +0 -1
- package/dist/esm/sdk/transactionbatching.js.map +0 -1
package/bin/mcp-server.js
CHANGED
|
@@ -34205,9 +34205,9 @@ var init_config = __esm(() => {
|
|
|
34205
34205
|
SDK_METADATA = {
|
|
34206
34206
|
language: "typescript",
|
|
34207
34207
|
openapiDocVersion: "0.0.1",
|
|
34208
|
-
sdkVersion: "0.5.
|
|
34209
|
-
genVersion: "2.
|
|
34210
|
-
userAgent: "speakeasy-sdk/typescript 0.5.
|
|
34208
|
+
sdkVersion: "0.5.21",
|
|
34209
|
+
genVersion: "2.632.2",
|
|
34210
|
+
userAgent: "speakeasy-sdk/typescript 0.5.21 2.632.2 0.0.1 @compass-labs/api-sdk"
|
|
34211
34211
|
};
|
|
34212
34212
|
});
|
|
34213
34213
|
|
|
@@ -35878,7 +35878,7 @@ var init_borrow = __esm(() => {
|
|
|
35878
35878
|
borrowRateMode: Borrowratemode$inboundSchema,
|
|
35879
35879
|
reserve: Reserve$inboundSchema,
|
|
35880
35880
|
assetPriceUSD: numberType(),
|
|
35881
|
-
action: literalType("Borrow").optional(),
|
|
35881
|
+
action: literalType("Borrow").default("Borrow").optional(),
|
|
35882
35882
|
block: numberType().int()
|
|
35883
35883
|
});
|
|
35884
35884
|
Borrow$outboundSchema = objectType({
|
|
@@ -35913,7 +35913,7 @@ var init_liquidationcall = __esm(() => {
|
|
|
35913
35913
|
principalReserve: Reserve$inboundSchema,
|
|
35914
35914
|
collateralAssetPriceUSD: numberType(),
|
|
35915
35915
|
borrowAssetPriceUSD: numberType(),
|
|
35916
|
-
action: literalType("LiquidationCall").optional(),
|
|
35916
|
+
action: literalType("LiquidationCall").default("LiquidationCall").optional(),
|
|
35917
35917
|
block: numberType().int()
|
|
35918
35918
|
});
|
|
35919
35919
|
LiquidationCall$outboundSchema = objectType({
|
|
@@ -35978,7 +35978,7 @@ var init_repay = __esm(() => {
|
|
|
35978
35978
|
amount: numberType(),
|
|
35979
35979
|
reserve: Reserve$inboundSchema,
|
|
35980
35980
|
assetPriceUSD: numberType(),
|
|
35981
|
-
action: literalType("Repay").optional(),
|
|
35981
|
+
action: literalType("Repay").default("Repay").optional(),
|
|
35982
35982
|
block: numberType().int()
|
|
35983
35983
|
});
|
|
35984
35984
|
Repay$outboundSchema = objectType({
|
|
@@ -36009,7 +36009,7 @@ var init_supply = __esm(() => {
|
|
|
36009
36009
|
amount: numberType(),
|
|
36010
36010
|
reserve: Reserve$inboundSchema,
|
|
36011
36011
|
assetPriceUSD: numberType(),
|
|
36012
|
-
action: literalType("Supply").optional(),
|
|
36012
|
+
action: literalType("Supply").default("Supply").optional(),
|
|
36013
36013
|
block: numberType().int()
|
|
36014
36014
|
});
|
|
36015
36015
|
Supply$outboundSchema = objectType({
|
|
@@ -36042,7 +36042,7 @@ var init_swapborrowrate = __esm(() => {
|
|
|
36042
36042
|
variableBorrowRate: numberType().int(),
|
|
36043
36043
|
stableBorrowRate: numberType().int(),
|
|
36044
36044
|
reserve: Reserve$inboundSchema,
|
|
36045
|
-
action: literalType("SwapBorrowRate").optional(),
|
|
36045
|
+
action: literalType("SwapBorrowRate").default("SwapBorrowRate").optional(),
|
|
36046
36046
|
block: numberType().int()
|
|
36047
36047
|
});
|
|
36048
36048
|
SwapBorrowRate$outboundSchema = objectType({
|
|
@@ -36075,7 +36075,7 @@ var init_usageascollateral = __esm(() => {
|
|
|
36075
36075
|
fromState: booleanType(),
|
|
36076
36076
|
toState: booleanType(),
|
|
36077
36077
|
reserve: Reserve$inboundSchema,
|
|
36078
|
-
action: literalType("UsageAsCollateral").optional(),
|
|
36078
|
+
action: literalType("UsageAsCollateral").default("UsageAsCollateral").optional(),
|
|
36079
36079
|
block: numberType().int()
|
|
36080
36080
|
});
|
|
36081
36081
|
UsageAsCollateral$outboundSchema = objectType({
|
|
@@ -36106,48 +36106,48 @@ var init_aavehistoricaltransactionsresponse = __esm(() => {
|
|
|
36106
36106
|
init_swapborrowrate();
|
|
36107
36107
|
init_usageascollateral();
|
|
36108
36108
|
Transaction$inboundSchema = unionType([
|
|
36109
|
-
|
|
36109
|
+
LiquidationCall$inboundSchema.and(objectType({ action: literalType("LiquidationCall") }).transform((v2) => ({
|
|
36110
36110
|
action: v2.action
|
|
36111
36111
|
}))),
|
|
36112
|
-
|
|
36112
|
+
SwapBorrowRate$inboundSchema.and(objectType({ action: literalType("SwapBorrowRate") }).transform((v2) => ({
|
|
36113
36113
|
action: v2.action
|
|
36114
36114
|
}))),
|
|
36115
|
-
|
|
36115
|
+
Borrow$inboundSchema.and(objectType({ action: literalType("Borrow") }).transform((v2) => ({
|
|
36116
36116
|
action: v2.action
|
|
36117
36117
|
}))),
|
|
36118
|
-
|
|
36118
|
+
RedeemUnderlying$inboundSchema.and(objectType({ action: literalType("RedeemUnderlying") }).transform((v2) => ({
|
|
36119
36119
|
action: v2.action
|
|
36120
36120
|
}))),
|
|
36121
|
-
|
|
36121
|
+
Repay$inboundSchema.and(objectType({ action: literalType("Repay") }).transform((v2) => ({
|
|
36122
36122
|
action: v2.action
|
|
36123
36123
|
}))),
|
|
36124
|
-
|
|
36124
|
+
Supply$inboundSchema.and(objectType({ action: literalType("Supply") }).transform((v2) => ({
|
|
36125
36125
|
action: v2.action
|
|
36126
36126
|
}))),
|
|
36127
|
-
|
|
36127
|
+
UsageAsCollateral$inboundSchema.and(objectType({ action: literalType("UsageAsCollateral") }).transform((v2) => ({
|
|
36128
36128
|
action: v2.action
|
|
36129
36129
|
})))
|
|
36130
36130
|
]);
|
|
36131
36131
|
Transaction$outboundSchema = unionType([
|
|
36132
|
-
|
|
36132
|
+
LiquidationCall$outboundSchema.and(objectType({ action: literalType("LiquidationCall") }).transform((v2) => ({
|
|
36133
36133
|
action: v2.action
|
|
36134
36134
|
}))),
|
|
36135
|
-
|
|
36135
|
+
SwapBorrowRate$outboundSchema.and(objectType({ action: literalType("SwapBorrowRate") }).transform((v2) => ({
|
|
36136
36136
|
action: v2.action
|
|
36137
36137
|
}))),
|
|
36138
|
-
|
|
36138
|
+
Borrow$outboundSchema.and(objectType({ action: literalType("Borrow") }).transform((v2) => ({
|
|
36139
36139
|
action: v2.action
|
|
36140
36140
|
}))),
|
|
36141
|
-
|
|
36141
|
+
RedeemUnderlying$outboundSchema.and(objectType({ action: literalType("RedeemUnderlying") }).transform((v2) => ({
|
|
36142
36142
|
action: v2.action
|
|
36143
36143
|
}))),
|
|
36144
|
-
|
|
36144
|
+
Repay$outboundSchema.and(objectType({ action: literalType("Repay") }).transform((v2) => ({
|
|
36145
36145
|
action: v2.action
|
|
36146
36146
|
}))),
|
|
36147
|
-
|
|
36147
|
+
Supply$outboundSchema.and(objectType({ action: literalType("Supply") }).transform((v2) => ({
|
|
36148
36148
|
action: v2.action
|
|
36149
36149
|
}))),
|
|
36150
|
-
|
|
36150
|
+
UsageAsCollateral$outboundSchema.and(objectType({ action: literalType("UsageAsCollateral") }).transform((v2) => ({
|
|
36151
36151
|
action: v2.action
|
|
36152
36152
|
})))
|
|
36153
36153
|
]);
|
|
@@ -36159,25 +36159,25 @@ var init_aavehistoricaltransactionsresponse = __esm(() => {
|
|
|
36159
36159
|
offset: numberType().int(),
|
|
36160
36160
|
limit: numberType().int(),
|
|
36161
36161
|
transactions: arrayType(unionType([
|
|
36162
|
-
|
|
36162
|
+
LiquidationCall$inboundSchema.and(objectType({ action: literalType("LiquidationCall") }).transform((v2) => ({
|
|
36163
36163
|
action: v2.action
|
|
36164
36164
|
}))),
|
|
36165
|
-
|
|
36165
|
+
SwapBorrowRate$inboundSchema.and(objectType({ action: literalType("SwapBorrowRate") }).transform((v2) => ({
|
|
36166
36166
|
action: v2.action
|
|
36167
36167
|
}))),
|
|
36168
|
-
|
|
36168
|
+
Borrow$inboundSchema.and(objectType({ action: literalType("Borrow") }).transform((v2) => ({
|
|
36169
36169
|
action: v2.action
|
|
36170
36170
|
}))),
|
|
36171
|
-
|
|
36171
|
+
RedeemUnderlying$inboundSchema.and(objectType({ action: literalType("RedeemUnderlying") }).transform((v2) => ({
|
|
36172
36172
|
action: v2.action
|
|
36173
36173
|
}))),
|
|
36174
|
-
|
|
36174
|
+
Repay$inboundSchema.and(objectType({ action: literalType("Repay") }).transform((v2) => ({
|
|
36175
36175
|
action: v2.action
|
|
36176
36176
|
}))),
|
|
36177
|
-
|
|
36177
|
+
Supply$inboundSchema.and(objectType({ action: literalType("Supply") }).transform((v2) => ({
|
|
36178
36178
|
action: v2.action
|
|
36179
36179
|
}))),
|
|
36180
|
-
|
|
36180
|
+
UsageAsCollateral$inboundSchema.and(objectType({ action: literalType("UsageAsCollateral") }).transform((v2) => ({
|
|
36181
36181
|
action: v2.action
|
|
36182
36182
|
})))
|
|
36183
36183
|
]))
|
|
@@ -36186,25 +36186,25 @@ var init_aavehistoricaltransactionsresponse = __esm(() => {
|
|
|
36186
36186
|
offset: numberType().int(),
|
|
36187
36187
|
limit: numberType().int(),
|
|
36188
36188
|
transactions: arrayType(unionType([
|
|
36189
|
-
|
|
36189
|
+
LiquidationCall$outboundSchema.and(objectType({ action: literalType("LiquidationCall") }).transform((v2) => ({
|
|
36190
36190
|
action: v2.action
|
|
36191
36191
|
}))),
|
|
36192
|
-
|
|
36192
|
+
SwapBorrowRate$outboundSchema.and(objectType({ action: literalType("SwapBorrowRate") }).transform((v2) => ({
|
|
36193
36193
|
action: v2.action
|
|
36194
36194
|
}))),
|
|
36195
|
-
|
|
36195
|
+
Borrow$outboundSchema.and(objectType({ action: literalType("Borrow") }).transform((v2) => ({
|
|
36196
36196
|
action: v2.action
|
|
36197
36197
|
}))),
|
|
36198
|
-
|
|
36198
|
+
RedeemUnderlying$outboundSchema.and(objectType({ action: literalType("RedeemUnderlying") }).transform((v2) => ({
|
|
36199
36199
|
action: v2.action
|
|
36200
36200
|
}))),
|
|
36201
|
-
|
|
36201
|
+
Repay$outboundSchema.and(objectType({ action: literalType("Repay") }).transform((v2) => ({
|
|
36202
36202
|
action: v2.action
|
|
36203
36203
|
}))),
|
|
36204
|
-
|
|
36204
|
+
Supply$outboundSchema.and(objectType({ action: literalType("Supply") }).transform((v2) => ({
|
|
36205
36205
|
action: v2.action
|
|
36206
36206
|
}))),
|
|
36207
|
-
|
|
36207
|
+
UsageAsCollateral$outboundSchema.and(objectType({ action: literalType("UsageAsCollateral") }).transform((v2) => ({
|
|
36208
36208
|
action: v2.action
|
|
36209
36209
|
})))
|
|
36210
36210
|
]))
|
|
@@ -38902,43 +38902,28 @@ var init_useroperation = __esm(() => {
|
|
|
38902
38902
|
init_unwrapwethparams();
|
|
38903
38903
|
init_wrapethparams();
|
|
38904
38904
|
Body$inboundSchema = unionType([
|
|
38905
|
-
|
|
38906
|
-
|
|
38907
|
-
actionType: v2.action_type
|
|
38908
|
-
}))),
|
|
38909
|
-
WrapEthParams$inboundSchema.and(objectType({ action_type: literalType("WRAP_ETH") }).transform((v2) => ({
|
|
38910
|
-
actionType: v2.action_type
|
|
38911
|
-
}))),
|
|
38912
|
-
AerodromeSlipstreamWithdrawLiquidityProvisionParams$inboundSchema.and(objectType({
|
|
38913
|
-
action_type: literalType("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY_PROVISION")
|
|
38905
|
+
AerodromeSlipstreamMintLiquidityProvisionParams$inboundSchema.and(objectType({
|
|
38906
|
+
action_type: literalType("AERODROME_SLIPSTREAM_MINT_LIQUIDITY_PROVISION")
|
|
38914
38907
|
}).transform((v2) => ({ actionType: v2.action_type }))),
|
|
38915
|
-
|
|
38916
|
-
|
|
38917
|
-
|
|
38918
|
-
|
|
38919
|
-
|
|
38920
|
-
|
|
38921
|
-
}))),
|
|
38922
|
-
|
|
38923
|
-
|
|
38924
|
-
}))
|
|
38925
|
-
SkyWithdrawParams$inboundSchema.and(objectType({ action_type: literalType("SKY_WITHDRAW") }).transform((v2) => ({
|
|
38908
|
+
UniswapMintLiquidityProvisionParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_MINT_LIQUIDITY_PROVISION") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
38909
|
+
AerodromeSlipstreamBuyExactlyParams$inboundSchema.and(objectType({ action_type: literalType("AERODROME_SLIPSTREAM_BUY_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
38910
|
+
AerodromeSlipstreamIncreaseLiquidityProvisionParams$inboundSchema.and(objectType({
|
|
38911
|
+
action_type: literalType("AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY_PROVISION")
|
|
38912
|
+
}).transform((v2) => ({ actionType: v2.action_type }))),
|
|
38913
|
+
UniswapIncreaseLiquidityProvisionParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_ADD_LIQUIDITY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
38914
|
+
UniswapBuyExactlyParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_BUY_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
38915
|
+
UniswapSellExactlyParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_SELL_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
38916
|
+
AerodromeSlipstreamSellExactlyParams$inboundSchema.and(objectType({ action_type: literalType("AERODROME_SLIPSTREAM_SELL_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
38917
|
+
AaveBorrowParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_BORROW") }).transform((v2) => ({
|
|
38926
38918
|
actionType: v2.action_type
|
|
38927
38919
|
}))),
|
|
38928
|
-
|
|
38929
|
-
action_type: literalType("UNISWAP_WITHDRAW_LIQUIDITY_PROVISION")
|
|
38930
|
-
}).transform((v2) => ({ actionType: v2.action_type }))),
|
|
38931
|
-
AaveSupplyParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_SUPPLY") }).transform((v2) => ({
|
|
38920
|
+
AaveRepayParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_REPAY") }).transform((v2) => ({
|
|
38932
38921
|
actionType: v2.action_type
|
|
38933
38922
|
}))),
|
|
38934
38923
|
AaveWithdrawParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_WITHDRAW") }).transform((v2) => ({
|
|
38935
38924
|
actionType: v2.action_type
|
|
38936
38925
|
}))),
|
|
38937
38926
|
IncreaseAllowanceParams$inboundSchema.and(objectType({ action_type: literalType("ALLOWANCE_INCREASE") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
38938
|
-
MorphoDepositParams$inboundSchema.and(objectType({ action_type: literalType("MORPHO_DEPOSIT") }).transform((v2) => ({
|
|
38939
|
-
actionType: v2.action_type
|
|
38940
|
-
}))),
|
|
38941
|
-
MorphoWithdrawParams$inboundSchema.and(objectType({ action_type: literalType("MORPHO_WITHDRAW") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
38942
38927
|
PendleAddLiquidityParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_ADD_LIQUIDITY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
38943
38928
|
PendleBuyPtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_BUY_PT") }).transform((v2) => ({
|
|
38944
38929
|
actionType: v2.action_type
|
|
@@ -38954,73 +38939,71 @@ var init_useroperation = __esm(() => {
|
|
|
38954
38939
|
actionType: v2.action_type
|
|
38955
38940
|
}))),
|
|
38956
38941
|
TokenTransferErc20Params$inboundSchema.and(objectType({ action_type: literalType("TOKEN_TRANSFER_ERC20") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
38957
|
-
|
|
38942
|
+
AaveSupplyParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_SUPPLY") }).transform((v2) => ({
|
|
38958
38943
|
actionType: v2.action_type
|
|
38959
38944
|
}))),
|
|
38960
|
-
|
|
38945
|
+
AerodromeSlipstreamWithdrawLiquidityProvisionParams$inboundSchema.and(objectType({
|
|
38946
|
+
action_type: literalType("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY_PROVISION")
|
|
38947
|
+
}).transform((v2) => ({ actionType: v2.action_type }))),
|
|
38948
|
+
MorphoBorrowParams$inboundSchema.and(objectType({ action_type: literalType("MORPHO_BORROW") }).transform((v2) => ({
|
|
38961
38949
|
actionType: v2.action_type
|
|
38962
38950
|
}))),
|
|
38963
|
-
|
|
38951
|
+
MorphoDepositParams$inboundSchema.and(objectType({ action_type: literalType("MORPHO_DEPOSIT") }).transform((v2) => ({
|
|
38964
38952
|
actionType: v2.action_type
|
|
38965
38953
|
}))),
|
|
38966
38954
|
MorphoRepayParams$inboundSchema.and(objectType({ action_type: literalType("MORPHO_REPAY") }).transform((v2) => ({
|
|
38967
38955
|
actionType: v2.action_type
|
|
38968
38956
|
}))),
|
|
38957
|
+
MorphoSetVaultAllowanceParams$inboundSchema.and(objectType({ action_type: literalType("MORPHO_SET_VAULT_ALLOWANCE") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
38969
38958
|
MorphoSupplyCollateralParams$inboundSchema.and(objectType({ action_type: literalType("MORPHO_SUPPLY_COLLATERAL") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
38959
|
+
MorphoWithdrawParams$inboundSchema.and(objectType({ action_type: literalType("MORPHO_WITHDRAW") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
38970
38960
|
MorphoWithdrawCollateralParams$inboundSchema.and(objectType({ action_type: literalType("MORPHO_WITHDRAW_COLLATERAL") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
38971
|
-
|
|
38972
|
-
|
|
38973
|
-
action_type: literalType("AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY_PROVISION")
|
|
38974
|
-
}).transform((v2) => ({ actionType: v2.action_type }))),
|
|
38975
|
-
AerodromeSlipstreamSellExactlyParams$inboundSchema.and(objectType({ action_type: literalType("AERODROME_SLIPSTREAM_SELL_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
38976
|
-
UniswapIncreaseLiquidityProvisionParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_ADD_LIQUIDITY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
38977
|
-
UniswapBuyExactlyParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_BUY_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
38978
|
-
UniswapSellExactlyParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_SELL_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
38979
|
-
AerodromeSlipstreamMintLiquidityProvisionParams$inboundSchema.and(objectType({
|
|
38980
|
-
action_type: literalType("AERODROME_SLIPSTREAM_MINT_LIQUIDITY_PROVISION")
|
|
38981
|
-
}).transform((v2) => ({ actionType: v2.action_type }))),
|
|
38982
|
-
UniswapMintLiquidityProvisionParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_MINT_LIQUIDITY_PROVISION") }).transform((v2) => ({ actionType: v2.action_type })))
|
|
38983
|
-
]);
|
|
38984
|
-
Body$outboundSchema = unionType([
|
|
38985
|
-
PendleRedeemYieldParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_REDEEM_YIELD") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
38986
|
-
UnwrapWethParams$outboundSchema.and(objectType({ actionType: literalType("UNWRAP_WETH") }).transform((v2) => ({
|
|
38987
|
-
action_type: v2.actionType
|
|
38961
|
+
SkyBuyParams$inboundSchema.and(objectType({ action_type: literalType("SKY_BUY") }).transform((v2) => ({
|
|
38962
|
+
actionType: v2.action_type
|
|
38988
38963
|
}))),
|
|
38989
|
-
|
|
38990
|
-
|
|
38964
|
+
SkySellParams$inboundSchema.and(objectType({ action_type: literalType("SKY_SELL") }).transform((v2) => ({
|
|
38965
|
+
actionType: v2.action_type
|
|
38991
38966
|
}))),
|
|
38992
|
-
|
|
38993
|
-
|
|
38994
|
-
}).transform((v2) => ({
|
|
38995
|
-
|
|
38996
|
-
|
|
38997
|
-
|
|
38967
|
+
UniswapWithdrawLiquidityProvisionParams$inboundSchema.and(objectType({
|
|
38968
|
+
action_type: literalType("UNISWAP_WITHDRAW_LIQUIDITY_PROVISION")
|
|
38969
|
+
}).transform((v2) => ({ actionType: v2.action_type }))),
|
|
38970
|
+
PendleRedeemYieldParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_REDEEM_YIELD") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
38971
|
+
SkyDepositParams$inboundSchema.and(objectType({ action_type: literalType("SKY_DEPOSIT") }).transform((v2) => ({
|
|
38972
|
+
actionType: v2.action_type
|
|
38998
38973
|
}))),
|
|
38999
|
-
|
|
39000
|
-
|
|
38974
|
+
SkyWithdrawParams$inboundSchema.and(objectType({ action_type: literalType("SKY_WITHDRAW") }).transform((v2) => ({
|
|
38975
|
+
actionType: v2.action_type
|
|
39001
38976
|
}))),
|
|
39002
|
-
|
|
39003
|
-
|
|
38977
|
+
UnwrapWethParams$inboundSchema.and(objectType({ action_type: literalType("UNWRAP_WETH") }).transform((v2) => ({
|
|
38978
|
+
actionType: v2.action_type
|
|
39004
38979
|
}))),
|
|
39005
|
-
|
|
38980
|
+
WrapEthParams$inboundSchema.and(objectType({ action_type: literalType("WRAP_ETH") }).transform((v2) => ({
|
|
38981
|
+
actionType: v2.action_type
|
|
38982
|
+
})))
|
|
38983
|
+
]);
|
|
38984
|
+
Body$outboundSchema = unionType([
|
|
38985
|
+
AerodromeSlipstreamMintLiquidityProvisionParams$outboundSchema.and(objectType({
|
|
38986
|
+
actionType: literalType("AERODROME_SLIPSTREAM_MINT_LIQUIDITY_PROVISION")
|
|
38987
|
+
}).transform((v2) => ({ action_type: v2.actionType }))),
|
|
38988
|
+
UniswapMintLiquidityProvisionParams$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_MINT_LIQUIDITY_PROVISION") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
38989
|
+
AerodromeSlipstreamBuyExactlyParams$outboundSchema.and(objectType({ actionType: literalType("AERODROME_SLIPSTREAM_BUY_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
38990
|
+
AerodromeSlipstreamIncreaseLiquidityProvisionParams$outboundSchema.and(objectType({
|
|
38991
|
+
actionType: literalType("AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY_PROVISION")
|
|
38992
|
+
}).transform((v2) => ({ action_type: v2.actionType }))),
|
|
38993
|
+
UniswapIncreaseLiquidityProvisionParams$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_ADD_LIQUIDITY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
38994
|
+
UniswapBuyExactlyParams$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_BUY_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
38995
|
+
UniswapSellExactlyParams$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_SELL_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
38996
|
+
AerodromeSlipstreamSellExactlyParams$outboundSchema.and(objectType({ actionType: literalType("AERODROME_SLIPSTREAM_SELL_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
38997
|
+
AaveBorrowParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_BORROW") }).transform((v2) => ({
|
|
39006
38998
|
action_type: v2.actionType
|
|
39007
38999
|
}))),
|
|
39008
|
-
|
|
39009
|
-
actionType: literalType("UNISWAP_WITHDRAW_LIQUIDITY_PROVISION")
|
|
39010
|
-
}).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39011
|
-
AaveSupplyParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_SUPPLY") }).transform((v2) => ({
|
|
39000
|
+
AaveRepayParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_REPAY") }).transform((v2) => ({
|
|
39012
39001
|
action_type: v2.actionType
|
|
39013
39002
|
}))),
|
|
39014
39003
|
AaveWithdrawParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_WITHDRAW") }).transform((v2) => ({
|
|
39015
39004
|
action_type: v2.actionType
|
|
39016
39005
|
}))),
|
|
39017
39006
|
IncreaseAllowanceParams$outboundSchema.and(objectType({ actionType: literalType("ALLOWANCE_INCREASE") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39018
|
-
MorphoDepositParams$outboundSchema.and(objectType({ actionType: literalType("MORPHO_DEPOSIT") }).transform((v2) => ({
|
|
39019
|
-
action_type: v2.actionType
|
|
39020
|
-
}))),
|
|
39021
|
-
MorphoWithdrawParams$outboundSchema.and(objectType({ actionType: literalType("MORPHO_WITHDRAW") }).transform((v2) => ({
|
|
39022
|
-
action_type: v2.actionType
|
|
39023
|
-
}))),
|
|
39024
39007
|
PendleAddLiquidityParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_ADD_LIQUIDITY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39025
39008
|
PendleBuyPtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_BUY_PT") }).transform((v2) => ({
|
|
39026
39009
|
action_type: v2.actionType
|
|
@@ -39036,32 +39019,49 @@ var init_useroperation = __esm(() => {
|
|
|
39036
39019
|
action_type: v2.actionType
|
|
39037
39020
|
}))),
|
|
39038
39021
|
TokenTransferErc20Params$outboundSchema.and(objectType({ actionType: literalType("TOKEN_TRANSFER_ERC20") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39039
|
-
|
|
39022
|
+
AaveSupplyParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_SUPPLY") }).transform((v2) => ({
|
|
39040
39023
|
action_type: v2.actionType
|
|
39041
39024
|
}))),
|
|
39042
|
-
|
|
39025
|
+
AerodromeSlipstreamWithdrawLiquidityProvisionParams$outboundSchema.and(objectType({
|
|
39026
|
+
actionType: literalType("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY_PROVISION")
|
|
39027
|
+
}).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39028
|
+
MorphoBorrowParams$outboundSchema.and(objectType({ actionType: literalType("MORPHO_BORROW") }).transform((v2) => ({
|
|
39043
39029
|
action_type: v2.actionType
|
|
39044
39030
|
}))),
|
|
39045
|
-
|
|
39031
|
+
MorphoDepositParams$outboundSchema.and(objectType({ actionType: literalType("MORPHO_DEPOSIT") }).transform((v2) => ({
|
|
39046
39032
|
action_type: v2.actionType
|
|
39047
39033
|
}))),
|
|
39048
39034
|
MorphoRepayParams$outboundSchema.and(objectType({ actionType: literalType("MORPHO_REPAY") }).transform((v2) => ({
|
|
39049
39035
|
action_type: v2.actionType
|
|
39050
39036
|
}))),
|
|
39037
|
+
MorphoSetVaultAllowanceParams$outboundSchema.and(objectType({ actionType: literalType("MORPHO_SET_VAULT_ALLOWANCE") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39051
39038
|
MorphoSupplyCollateralParams$outboundSchema.and(objectType({ actionType: literalType("MORPHO_SUPPLY_COLLATERAL") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39039
|
+
MorphoWithdrawParams$outboundSchema.and(objectType({ actionType: literalType("MORPHO_WITHDRAW") }).transform((v2) => ({
|
|
39040
|
+
action_type: v2.actionType
|
|
39041
|
+
}))),
|
|
39052
39042
|
MorphoWithdrawCollateralParams$outboundSchema.and(objectType({ actionType: literalType("MORPHO_WITHDRAW_COLLATERAL") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39053
|
-
|
|
39054
|
-
|
|
39055
|
-
|
|
39056
|
-
}).transform((v2) => ({
|
|
39057
|
-
|
|
39058
|
-
|
|
39059
|
-
|
|
39060
|
-
|
|
39061
|
-
AerodromeSlipstreamMintLiquidityProvisionParams$outboundSchema.and(objectType({
|
|
39062
|
-
actionType: literalType("AERODROME_SLIPSTREAM_MINT_LIQUIDITY_PROVISION")
|
|
39043
|
+
SkyBuyParams$outboundSchema.and(objectType({ actionType: literalType("SKY_BUY") }).transform((v2) => ({
|
|
39044
|
+
action_type: v2.actionType
|
|
39045
|
+
}))),
|
|
39046
|
+
SkySellParams$outboundSchema.and(objectType({ actionType: literalType("SKY_SELL") }).transform((v2) => ({
|
|
39047
|
+
action_type: v2.actionType
|
|
39048
|
+
}))),
|
|
39049
|
+
UniswapWithdrawLiquidityProvisionParams$outboundSchema.and(objectType({
|
|
39050
|
+
actionType: literalType("UNISWAP_WITHDRAW_LIQUIDITY_PROVISION")
|
|
39063
39051
|
}).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39064
|
-
|
|
39052
|
+
PendleRedeemYieldParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_REDEEM_YIELD") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39053
|
+
SkyDepositParams$outboundSchema.and(objectType({ actionType: literalType("SKY_DEPOSIT") }).transform((v2) => ({
|
|
39054
|
+
action_type: v2.actionType
|
|
39055
|
+
}))),
|
|
39056
|
+
SkyWithdrawParams$outboundSchema.and(objectType({ actionType: literalType("SKY_WITHDRAW") }).transform((v2) => ({
|
|
39057
|
+
action_type: v2.actionType
|
|
39058
|
+
}))),
|
|
39059
|
+
UnwrapWethParams$outboundSchema.and(objectType({ actionType: literalType("UNWRAP_WETH") }).transform((v2) => ({
|
|
39060
|
+
action_type: v2.actionType
|
|
39061
|
+
}))),
|
|
39062
|
+
WrapEthParams$outboundSchema.and(objectType({ actionType: literalType("WRAP_ETH") }).transform((v2) => ({
|
|
39063
|
+
action_type: v2.actionType
|
|
39064
|
+
})))
|
|
39065
39065
|
]);
|
|
39066
39066
|
((Body$) => {
|
|
39067
39067
|
Body$.inboundSchema = Body$inboundSchema;
|
|
@@ -39069,43 +39069,28 @@ var init_useroperation = __esm(() => {
|
|
|
39069
39069
|
})(Body$ ||= {});
|
|
39070
39070
|
UserOperation$inboundSchema = objectType({
|
|
39071
39071
|
body: unionType([
|
|
39072
|
-
|
|
39073
|
-
|
|
39074
|
-
actionType: v2.action_type
|
|
39075
|
-
}))),
|
|
39076
|
-
WrapEthParams$inboundSchema.and(objectType({ action_type: literalType("WRAP_ETH") }).transform((v2) => ({
|
|
39077
|
-
actionType: v2.action_type
|
|
39078
|
-
}))),
|
|
39079
|
-
AerodromeSlipstreamWithdrawLiquidityProvisionParams$inboundSchema.and(objectType({
|
|
39080
|
-
action_type: literalType("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY_PROVISION")
|
|
39072
|
+
AerodromeSlipstreamMintLiquidityProvisionParams$inboundSchema.and(objectType({
|
|
39073
|
+
action_type: literalType("AERODROME_SLIPSTREAM_MINT_LIQUIDITY_PROVISION")
|
|
39081
39074
|
}).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39082
|
-
|
|
39083
|
-
|
|
39084
|
-
|
|
39085
|
-
|
|
39086
|
-
|
|
39087
|
-
|
|
39088
|
-
}))),
|
|
39089
|
-
|
|
39090
|
-
|
|
39091
|
-
}))
|
|
39092
|
-
SkyWithdrawParams$inboundSchema.and(objectType({ action_type: literalType("SKY_WITHDRAW") }).transform((v2) => ({
|
|
39075
|
+
UniswapMintLiquidityProvisionParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_MINT_LIQUIDITY_PROVISION") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39076
|
+
AerodromeSlipstreamBuyExactlyParams$inboundSchema.and(objectType({ action_type: literalType("AERODROME_SLIPSTREAM_BUY_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39077
|
+
AerodromeSlipstreamIncreaseLiquidityProvisionParams$inboundSchema.and(objectType({
|
|
39078
|
+
action_type: literalType("AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY_PROVISION")
|
|
39079
|
+
}).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39080
|
+
UniswapIncreaseLiquidityProvisionParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_ADD_LIQUIDITY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39081
|
+
UniswapBuyExactlyParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_BUY_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39082
|
+
UniswapSellExactlyParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_SELL_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39083
|
+
AerodromeSlipstreamSellExactlyParams$inboundSchema.and(objectType({ action_type: literalType("AERODROME_SLIPSTREAM_SELL_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39084
|
+
AaveBorrowParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_BORROW") }).transform((v2) => ({
|
|
39093
39085
|
actionType: v2.action_type
|
|
39094
39086
|
}))),
|
|
39095
|
-
|
|
39096
|
-
action_type: literalType("UNISWAP_WITHDRAW_LIQUIDITY_PROVISION")
|
|
39097
|
-
}).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39098
|
-
AaveSupplyParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_SUPPLY") }).transform((v2) => ({
|
|
39087
|
+
AaveRepayParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_REPAY") }).transform((v2) => ({
|
|
39099
39088
|
actionType: v2.action_type
|
|
39100
39089
|
}))),
|
|
39101
39090
|
AaveWithdrawParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_WITHDRAW") }).transform((v2) => ({
|
|
39102
39091
|
actionType: v2.action_type
|
|
39103
39092
|
}))),
|
|
39104
39093
|
IncreaseAllowanceParams$inboundSchema.and(objectType({ action_type: literalType("ALLOWANCE_INCREASE") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39105
|
-
MorphoDepositParams$inboundSchema.and(objectType({ action_type: literalType("MORPHO_DEPOSIT") }).transform((v2) => ({
|
|
39106
|
-
actionType: v2.action_type
|
|
39107
|
-
}))),
|
|
39108
|
-
MorphoWithdrawParams$inboundSchema.and(objectType({ action_type: literalType("MORPHO_WITHDRAW") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39109
39094
|
PendleAddLiquidityParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_ADD_LIQUIDITY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39110
39095
|
PendleBuyPtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_BUY_PT") }).transform((v2) => ({
|
|
39111
39096
|
actionType: v2.action_type
|
|
@@ -39121,75 +39106,73 @@ var init_useroperation = __esm(() => {
|
|
|
39121
39106
|
actionType: v2.action_type
|
|
39122
39107
|
}))),
|
|
39123
39108
|
TokenTransferErc20Params$inboundSchema.and(objectType({ action_type: literalType("TOKEN_TRANSFER_ERC20") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39124
|
-
|
|
39109
|
+
AaveSupplyParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_SUPPLY") }).transform((v2) => ({
|
|
39125
39110
|
actionType: v2.action_type
|
|
39126
39111
|
}))),
|
|
39127
|
-
|
|
39112
|
+
AerodromeSlipstreamWithdrawLiquidityProvisionParams$inboundSchema.and(objectType({
|
|
39113
|
+
action_type: literalType("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY_PROVISION")
|
|
39114
|
+
}).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39115
|
+
MorphoBorrowParams$inboundSchema.and(objectType({ action_type: literalType("MORPHO_BORROW") }).transform((v2) => ({
|
|
39128
39116
|
actionType: v2.action_type
|
|
39129
39117
|
}))),
|
|
39130
|
-
|
|
39118
|
+
MorphoDepositParams$inboundSchema.and(objectType({ action_type: literalType("MORPHO_DEPOSIT") }).transform((v2) => ({
|
|
39131
39119
|
actionType: v2.action_type
|
|
39132
39120
|
}))),
|
|
39133
39121
|
MorphoRepayParams$inboundSchema.and(objectType({ action_type: literalType("MORPHO_REPAY") }).transform((v2) => ({
|
|
39134
39122
|
actionType: v2.action_type
|
|
39135
39123
|
}))),
|
|
39124
|
+
MorphoSetVaultAllowanceParams$inboundSchema.and(objectType({ action_type: literalType("MORPHO_SET_VAULT_ALLOWANCE") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39136
39125
|
MorphoSupplyCollateralParams$inboundSchema.and(objectType({ action_type: literalType("MORPHO_SUPPLY_COLLATERAL") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39126
|
+
MorphoWithdrawParams$inboundSchema.and(objectType({ action_type: literalType("MORPHO_WITHDRAW") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39137
39127
|
MorphoWithdrawCollateralParams$inboundSchema.and(objectType({ action_type: literalType("MORPHO_WITHDRAW_COLLATERAL") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39138
|
-
|
|
39139
|
-
|
|
39140
|
-
|
|
39141
|
-
}).transform((v2) => ({
|
|
39142
|
-
|
|
39143
|
-
|
|
39144
|
-
|
|
39145
|
-
|
|
39146
|
-
AerodromeSlipstreamMintLiquidityProvisionParams$inboundSchema.and(objectType({
|
|
39147
|
-
action_type: literalType("AERODROME_SLIPSTREAM_MINT_LIQUIDITY_PROVISION")
|
|
39128
|
+
SkyBuyParams$inboundSchema.and(objectType({ action_type: literalType("SKY_BUY") }).transform((v2) => ({
|
|
39129
|
+
actionType: v2.action_type
|
|
39130
|
+
}))),
|
|
39131
|
+
SkySellParams$inboundSchema.and(objectType({ action_type: literalType("SKY_SELL") }).transform((v2) => ({
|
|
39132
|
+
actionType: v2.action_type
|
|
39133
|
+
}))),
|
|
39134
|
+
UniswapWithdrawLiquidityProvisionParams$inboundSchema.and(objectType({
|
|
39135
|
+
action_type: literalType("UNISWAP_WITHDRAW_LIQUIDITY_PROVISION")
|
|
39148
39136
|
}).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39149
|
-
|
|
39137
|
+
PendleRedeemYieldParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_REDEEM_YIELD") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39138
|
+
SkyDepositParams$inboundSchema.and(objectType({ action_type: literalType("SKY_DEPOSIT") }).transform((v2) => ({
|
|
39139
|
+
actionType: v2.action_type
|
|
39140
|
+
}))),
|
|
39141
|
+
SkyWithdrawParams$inboundSchema.and(objectType({ action_type: literalType("SKY_WITHDRAW") }).transform((v2) => ({
|
|
39142
|
+
actionType: v2.action_type
|
|
39143
|
+
}))),
|
|
39144
|
+
UnwrapWethParams$inboundSchema.and(objectType({ action_type: literalType("UNWRAP_WETH") }).transform((v2) => ({
|
|
39145
|
+
actionType: v2.action_type
|
|
39146
|
+
}))),
|
|
39147
|
+
WrapEthParams$inboundSchema.and(objectType({ action_type: literalType("WRAP_ETH") }).transform((v2) => ({
|
|
39148
|
+
actionType: v2.action_type
|
|
39149
|
+
})))
|
|
39150
39150
|
])
|
|
39151
39151
|
});
|
|
39152
39152
|
UserOperation$outboundSchema = objectType({
|
|
39153
39153
|
body: unionType([
|
|
39154
|
-
|
|
39155
|
-
|
|
39156
|
-
action_type: v2.actionType
|
|
39157
|
-
}))),
|
|
39158
|
-
WrapEthParams$outboundSchema.and(objectType({ actionType: literalType("WRAP_ETH") }).transform((v2) => ({
|
|
39159
|
-
action_type: v2.actionType
|
|
39160
|
-
}))),
|
|
39161
|
-
AerodromeSlipstreamWithdrawLiquidityProvisionParams$outboundSchema.and(objectType({
|
|
39162
|
-
actionType: literalType("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY_PROVISION")
|
|
39154
|
+
AerodromeSlipstreamMintLiquidityProvisionParams$outboundSchema.and(objectType({
|
|
39155
|
+
actionType: literalType("AERODROME_SLIPSTREAM_MINT_LIQUIDITY_PROVISION")
|
|
39163
39156
|
}).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39164
|
-
|
|
39165
|
-
|
|
39166
|
-
|
|
39167
|
-
|
|
39168
|
-
|
|
39169
|
-
|
|
39170
|
-
}))),
|
|
39171
|
-
|
|
39172
|
-
|
|
39173
|
-
}))
|
|
39174
|
-
SkyWithdrawParams$outboundSchema.and(objectType({ actionType: literalType("SKY_WITHDRAW") }).transform((v2) => ({
|
|
39157
|
+
UniswapMintLiquidityProvisionParams$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_MINT_LIQUIDITY_PROVISION") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39158
|
+
AerodromeSlipstreamBuyExactlyParams$outboundSchema.and(objectType({ actionType: literalType("AERODROME_SLIPSTREAM_BUY_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39159
|
+
AerodromeSlipstreamIncreaseLiquidityProvisionParams$outboundSchema.and(objectType({
|
|
39160
|
+
actionType: literalType("AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY_PROVISION")
|
|
39161
|
+
}).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39162
|
+
UniswapIncreaseLiquidityProvisionParams$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_ADD_LIQUIDITY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39163
|
+
UniswapBuyExactlyParams$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_BUY_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39164
|
+
UniswapSellExactlyParams$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_SELL_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39165
|
+
AerodromeSlipstreamSellExactlyParams$outboundSchema.and(objectType({ actionType: literalType("AERODROME_SLIPSTREAM_SELL_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39166
|
+
AaveBorrowParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_BORROW") }).transform((v2) => ({
|
|
39175
39167
|
action_type: v2.actionType
|
|
39176
39168
|
}))),
|
|
39177
|
-
|
|
39178
|
-
actionType: literalType("UNISWAP_WITHDRAW_LIQUIDITY_PROVISION")
|
|
39179
|
-
}).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39180
|
-
AaveSupplyParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_SUPPLY") }).transform((v2) => ({
|
|
39169
|
+
AaveRepayParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_REPAY") }).transform((v2) => ({
|
|
39181
39170
|
action_type: v2.actionType
|
|
39182
39171
|
}))),
|
|
39183
39172
|
AaveWithdrawParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_WITHDRAW") }).transform((v2) => ({
|
|
39184
39173
|
action_type: v2.actionType
|
|
39185
39174
|
}))),
|
|
39186
39175
|
IncreaseAllowanceParams$outboundSchema.and(objectType({ actionType: literalType("ALLOWANCE_INCREASE") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39187
|
-
MorphoDepositParams$outboundSchema.and(objectType({ actionType: literalType("MORPHO_DEPOSIT") }).transform((v2) => ({
|
|
39188
|
-
action_type: v2.actionType
|
|
39189
|
-
}))),
|
|
39190
|
-
MorphoWithdrawParams$outboundSchema.and(objectType({ actionType: literalType("MORPHO_WITHDRAW") }).transform((v2) => ({
|
|
39191
|
-
action_type: v2.actionType
|
|
39192
|
-
}))),
|
|
39193
39176
|
PendleAddLiquidityParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_ADD_LIQUIDITY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39194
39177
|
PendleBuyPtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_BUY_PT") }).transform((v2) => ({
|
|
39195
39178
|
action_type: v2.actionType
|
|
@@ -39205,32 +39188,49 @@ var init_useroperation = __esm(() => {
|
|
|
39205
39188
|
action_type: v2.actionType
|
|
39206
39189
|
}))),
|
|
39207
39190
|
TokenTransferErc20Params$outboundSchema.and(objectType({ actionType: literalType("TOKEN_TRANSFER_ERC20") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39208
|
-
|
|
39191
|
+
AaveSupplyParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_SUPPLY") }).transform((v2) => ({
|
|
39209
39192
|
action_type: v2.actionType
|
|
39210
39193
|
}))),
|
|
39211
|
-
|
|
39194
|
+
AerodromeSlipstreamWithdrawLiquidityProvisionParams$outboundSchema.and(objectType({
|
|
39195
|
+
actionType: literalType("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY_PROVISION")
|
|
39196
|
+
}).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39197
|
+
MorphoBorrowParams$outboundSchema.and(objectType({ actionType: literalType("MORPHO_BORROW") }).transform((v2) => ({
|
|
39212
39198
|
action_type: v2.actionType
|
|
39213
39199
|
}))),
|
|
39214
|
-
|
|
39200
|
+
MorphoDepositParams$outboundSchema.and(objectType({ actionType: literalType("MORPHO_DEPOSIT") }).transform((v2) => ({
|
|
39215
39201
|
action_type: v2.actionType
|
|
39216
39202
|
}))),
|
|
39217
39203
|
MorphoRepayParams$outboundSchema.and(objectType({ actionType: literalType("MORPHO_REPAY") }).transform((v2) => ({
|
|
39218
39204
|
action_type: v2.actionType
|
|
39219
39205
|
}))),
|
|
39206
|
+
MorphoSetVaultAllowanceParams$outboundSchema.and(objectType({ actionType: literalType("MORPHO_SET_VAULT_ALLOWANCE") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39220
39207
|
MorphoSupplyCollateralParams$outboundSchema.and(objectType({ actionType: literalType("MORPHO_SUPPLY_COLLATERAL") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39208
|
+
MorphoWithdrawParams$outboundSchema.and(objectType({ actionType: literalType("MORPHO_WITHDRAW") }).transform((v2) => ({
|
|
39209
|
+
action_type: v2.actionType
|
|
39210
|
+
}))),
|
|
39221
39211
|
MorphoWithdrawCollateralParams$outboundSchema.and(objectType({ actionType: literalType("MORPHO_WITHDRAW_COLLATERAL") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39222
|
-
|
|
39223
|
-
|
|
39224
|
-
|
|
39225
|
-
}).transform((v2) => ({
|
|
39226
|
-
|
|
39227
|
-
|
|
39228
|
-
|
|
39229
|
-
|
|
39230
|
-
AerodromeSlipstreamMintLiquidityProvisionParams$outboundSchema.and(objectType({
|
|
39231
|
-
actionType: literalType("AERODROME_SLIPSTREAM_MINT_LIQUIDITY_PROVISION")
|
|
39212
|
+
SkyBuyParams$outboundSchema.and(objectType({ actionType: literalType("SKY_BUY") }).transform((v2) => ({
|
|
39213
|
+
action_type: v2.actionType
|
|
39214
|
+
}))),
|
|
39215
|
+
SkySellParams$outboundSchema.and(objectType({ actionType: literalType("SKY_SELL") }).transform((v2) => ({
|
|
39216
|
+
action_type: v2.actionType
|
|
39217
|
+
}))),
|
|
39218
|
+
UniswapWithdrawLiquidityProvisionParams$outboundSchema.and(objectType({
|
|
39219
|
+
actionType: literalType("UNISWAP_WITHDRAW_LIQUIDITY_PROVISION")
|
|
39232
39220
|
}).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39233
|
-
|
|
39221
|
+
PendleRedeemYieldParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_REDEEM_YIELD") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39222
|
+
SkyDepositParams$outboundSchema.and(objectType({ actionType: literalType("SKY_DEPOSIT") }).transform((v2) => ({
|
|
39223
|
+
action_type: v2.actionType
|
|
39224
|
+
}))),
|
|
39225
|
+
SkyWithdrawParams$outboundSchema.and(objectType({ actionType: literalType("SKY_WITHDRAW") }).transform((v2) => ({
|
|
39226
|
+
action_type: v2.actionType
|
|
39227
|
+
}))),
|
|
39228
|
+
UnwrapWethParams$outboundSchema.and(objectType({ actionType: literalType("UNWRAP_WETH") }).transform((v2) => ({
|
|
39229
|
+
action_type: v2.actionType
|
|
39230
|
+
}))),
|
|
39231
|
+
WrapEthParams$outboundSchema.and(objectType({ actionType: literalType("WRAP_ETH") }).transform((v2) => ({
|
|
39232
|
+
action_type: v2.actionType
|
|
39233
|
+
})))
|
|
39234
39234
|
])
|
|
39235
39235
|
});
|
|
39236
39236
|
((UserOperation$) => {
|
|
@@ -39247,10 +39247,12 @@ var init_batcheduseroperationsrequest = __esm(() => {
|
|
|
39247
39247
|
init_useroperation();
|
|
39248
39248
|
BatchedUserOperationsRequest$inboundSchema = objectType({
|
|
39249
39249
|
chain: Chain$inboundSchema,
|
|
39250
|
+
sender: stringType(),
|
|
39250
39251
|
operations: arrayType(UserOperation$inboundSchema)
|
|
39251
39252
|
});
|
|
39252
39253
|
BatchedUserOperationsRequest$outboundSchema = objectType({
|
|
39253
39254
|
chain: Chain$outboundSchema,
|
|
39255
|
+
sender: stringType(),
|
|
39254
39256
|
operations: arrayType(UserOperation$outboundSchema)
|
|
39255
39257
|
});
|
|
39256
39258
|
((BatchedUserOperationsRequest$) => {
|
|
@@ -41888,14 +41890,14 @@ var init_txresponse = __esm(() => {
|
|
|
41888
41890
|
init_unsignedtransaction();
|
|
41889
41891
|
init_useroperationresponse();
|
|
41890
41892
|
TxResponse$inboundSchema = unionType([
|
|
41891
|
-
|
|
41893
|
+
UnsignedMulticallTransaction$inboundSchema,
|
|
41892
41894
|
UnsignedTransaction$inboundSchema,
|
|
41893
|
-
|
|
41895
|
+
UserOperationResponse$inboundSchema
|
|
41894
41896
|
]);
|
|
41895
41897
|
TxResponse$outboundSchema = unionType([
|
|
41896
|
-
|
|
41898
|
+
UnsignedMulticallTransaction$outboundSchema,
|
|
41897
41899
|
UnsignedTransaction$outboundSchema,
|
|
41898
|
-
|
|
41900
|
+
UserOperationResponse$outboundSchema
|
|
41899
41901
|
]);
|
|
41900
41902
|
((TxResponse$) => {
|
|
41901
41903
|
TxResponse$.inboundSchema = TxResponse$inboundSchema;
|
|
@@ -45153,7 +45155,7 @@ var init_aaveV3AvgRate2 = __esm(() => {
|
|
|
45153
45155
|
};
|
|
45154
45156
|
tool$aaveV3AvgRate = {
|
|
45155
45157
|
name: "aave-v3-avg-rate",
|
|
45156
|
-
description: `Interest Rates:
|
|
45158
|
+
description: `Interest Rates: Time Average
|
|
45157
45159
|
|
|
45158
45160
|
Provides time-weighted averages of deposit and borrow rates for Aave reserves.`,
|
|
45159
45161
|
args,
|
|
@@ -45369,7 +45371,7 @@ var init_aaveV3HistoricalTransactions2 = __esm(() => {
|
|
|
45369
45371
|
};
|
|
45370
45372
|
tool$aaveV3HistoricalTransactions = {
|
|
45371
45373
|
name: "aave-v3-historical-transactions",
|
|
45372
|
-
description: `Historical
|
|
45374
|
+
description: `Historical Transactions
|
|
45373
45375
|
|
|
45374
45376
|
This endpoint retrieves historical transactions for a user on the AAVE platform.
|
|
45375
45377
|
|
|
@@ -45484,7 +45486,7 @@ var init_aaveV3LiquidityChange2 = __esm(() => {
|
|
|
45484
45486
|
};
|
|
45485
45487
|
tool$aaveV3LiquidityChange = {
|
|
45486
45488
|
name: "aave-v3-liquidity-change",
|
|
45487
|
-
description: `Liquidity
|
|
45489
|
+
description: `Liquidity Index
|
|
45488
45490
|
|
|
45489
45491
|
This endpoint retrieves the change in the reserve liquidity index between two
|
|
45490
45492
|
provided blocks.
|
|
@@ -45719,7 +45721,7 @@ var init_aaveV3Repay2 = __esm(() => {
|
|
|
45719
45721
|
};
|
|
45720
45722
|
tool$aaveV3Repay = {
|
|
45721
45723
|
name: "aave-v3-repay",
|
|
45722
|
-
description: `Repay
|
|
45724
|
+
description: `Repay Loans
|
|
45723
45725
|
|
|
45724
45726
|
This endpoint allows users to repay a portion or the entirety of their borrowed
|
|
45725
45727
|
tokens on the Aave platform.
|
|
@@ -45835,7 +45837,7 @@ var init_aaveV3ReserveOverview2 = __esm(() => {
|
|
|
45835
45837
|
};
|
|
45836
45838
|
tool$aaveV3ReserveOverview = {
|
|
45837
45839
|
name: "aave-v3-reserve-overview",
|
|
45838
|
-
description: `Reserve
|
|
45840
|
+
description: `Reserve Overview
|
|
45839
45841
|
|
|
45840
45842
|
Returns key metrics for Aave Reserves:
|
|
45841
45843
|
- Total Supplied (TVL) in USD
|
|
@@ -45950,7 +45952,7 @@ var init_aaveV3StdRate2 = __esm(() => {
|
|
|
45950
45952
|
};
|
|
45951
45953
|
tool$aaveV3StdRate = {
|
|
45952
45954
|
name: "aave-v3-std-rate",
|
|
45953
|
-
description: `Interest Rates:
|
|
45955
|
+
description: `Interest Rates: Standard Deviation
|
|
45954
45956
|
|
|
45955
45957
|
Returns the historical standard deviation of lending and borrowing rates for Aave
|
|
45956
45958
|
reserves, illustrating market volatility.`,
|
|
@@ -46171,7 +46173,7 @@ var init_aaveV3TokenPrice2 = __esm(() => {
|
|
|
46171
46173
|
};
|
|
46172
46174
|
tool$aaveV3TokenPrice = {
|
|
46173
46175
|
name: "aave-v3-token-price",
|
|
46174
|
-
description: `Token
|
|
46176
|
+
description: `Token Prices
|
|
46175
46177
|
|
|
46176
46178
|
This endpoint retrieves the current price of a specified token in USD as
|
|
46177
46179
|
determined by the Aave protocol.
|
|
@@ -46288,7 +46290,7 @@ var init_aaveV3UserPositionPerToken2 = __esm(() => {
|
|
|
46288
46290
|
};
|
|
46289
46291
|
tool$aaveV3UserPositionPerToken = {
|
|
46290
46292
|
name: "aave-v3-user-position-per-token",
|
|
46291
|
-
description: `Positions - per
|
|
46293
|
+
description: `Positions - per Token
|
|
46292
46294
|
|
|
46293
46295
|
This endpoint retrieves the user's position for a specific token on the AAVE
|
|
46294
46296
|
platform.
|
|
@@ -46405,7 +46407,7 @@ var init_aaveV3UserPositionSummary2 = __esm(() => {
|
|
|
46405
46407
|
};
|
|
46406
46408
|
tool$aaveV3UserPositionSummary = {
|
|
46407
46409
|
name: "aave-v3-user-position-summary",
|
|
46408
|
-
description: `Positions -
|
|
46410
|
+
description: `Positions - Total
|
|
46409
46411
|
|
|
46410
46412
|
This endpoint retrieves a comprehensive summary of a user's position on the AAVE
|
|
46411
46413
|
platform.
|
|
@@ -46626,7 +46628,7 @@ var init_aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease2 = __esm(() =>
|
|
|
46626
46628
|
};
|
|
46627
46629
|
tool$aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease = {
|
|
46628
46630
|
name: "aerodrome-slipstream-slipstream-liquidity-provision-increase",
|
|
46629
|
-
description: `Increase an LP
|
|
46631
|
+
description: `Increase an LP Position
|
|
46630
46632
|
|
|
46631
46633
|
Increase the liquidity of an existing Liquidity Provider (LP) position.
|
|
46632
46634
|
|
|
@@ -46739,7 +46741,7 @@ var init_aerodromeSlipstreamSlipstreamLiquidityProvisionMint2 = __esm(() => {
|
|
|
46739
46741
|
};
|
|
46740
46742
|
tool$aerodromeSlipstreamSlipstreamLiquidityProvisionMint = {
|
|
46741
46743
|
name: "aerodrome-slipstream-slipstream-liquidity-provision-mint",
|
|
46742
|
-
description: `Open a
|
|
46744
|
+
description: `Open a New LP Position
|
|
46743
46745
|
|
|
46744
46746
|
Initiate a new Liquidity Provider (LP) position by minting tokens.
|
|
46745
46747
|
|
|
@@ -46855,7 +46857,7 @@ var init_aerodromeSlipstreamSlipstreamLiquidityProvisionPositions2 = __esm(() =>
|
|
|
46855
46857
|
};
|
|
46856
46858
|
tool$aerodromeSlipstreamSlipstreamLiquidityProvisionPositions = {
|
|
46857
46859
|
name: "aerodrome-slipstream-slipstream-liquidity-provision-positions",
|
|
46858
|
-
description: `List LP
|
|
46860
|
+
description: `List LP Positions
|
|
46859
46861
|
|
|
46860
46862
|
Retrieve the total number of Liquidity Provider (LP) positions associated with a
|
|
46861
46863
|
specific sender.
|
|
@@ -46966,7 +46968,7 @@ var init_aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw2 = __esm(() =>
|
|
|
46966
46968
|
};
|
|
46967
46969
|
tool$aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw = {
|
|
46968
46970
|
name: "aerodrome-slipstream-slipstream-liquidity-provision-withdraw",
|
|
46969
|
-
description: `Withdraw an LP
|
|
46971
|
+
description: `Withdraw an LP Position
|
|
46970
46972
|
|
|
46971
46973
|
Withdraw an existing Liquidity Provider (LP) position.
|
|
46972
46974
|
|
|
@@ -47086,7 +47088,7 @@ var init_aerodromeSlipstreamSlipstreamPoolPrice2 = __esm(() => {
|
|
|
47086
47088
|
};
|
|
47087
47089
|
tool$aerodromeSlipstreamSlipstreamPoolPrice = {
|
|
47088
47090
|
name: "aerodrome-slipstream-slipstream-pool-price",
|
|
47089
|
-
description: `Pool
|
|
47091
|
+
description: `Pool Price
|
|
47090
47092
|
|
|
47091
47093
|
This endpoint retrieves the current price of a pool, indicating how many token0
|
|
47092
47094
|
you can purchase for 1 token1.
|
|
@@ -47194,7 +47196,7 @@ var init_aerodromeSlipstreamSlipstreamSwapBuyExactly2 = __esm(() => {
|
|
|
47194
47196
|
};
|
|
47195
47197
|
tool$aerodromeSlipstreamSlipstreamSwapBuyExactly = {
|
|
47196
47198
|
name: "aerodrome-slipstream-slipstream-swap-buy-exactly",
|
|
47197
|
-
description: `Swap - into
|
|
47199
|
+
description: `Swap - into Specified Amount
|
|
47198
47200
|
|
|
47199
47201
|
This endpoint facilitates the trading of tokens by allowing users to specify the
|
|
47200
47202
|
exact amount of the output token they wish to receive.
|
|
@@ -47306,7 +47308,7 @@ var init_aerodromeSlipstreamSlipstreamSwapSellExactly2 = __esm(() => {
|
|
|
47306
47308
|
};
|
|
47307
47309
|
tool$aerodromeSlipstreamSlipstreamSwapSellExactly = {
|
|
47308
47310
|
name: "aerodrome-slipstream-slipstream-swap-sell-exactly",
|
|
47309
|
-
description: `Swap - from
|
|
47311
|
+
description: `Swap - from Specified Amount
|
|
47310
47312
|
|
|
47311
47313
|
This endpoint allows users to trade a specific amount of one token into another
|
|
47312
47314
|
token using the Aerodrome Slipstream protocol.
|
|
@@ -51098,7 +51100,7 @@ var init_tokenTransfer2 = __esm(() => {
|
|
|
51098
51100
|
};
|
|
51099
51101
|
tool$tokenTransfer = {
|
|
51100
51102
|
name: "token-transfer",
|
|
51101
|
-
description: `Transfer ETH or ERC20 Tokens
|
|
51103
|
+
description: `Transfer ETH or ERC20 Tokens
|
|
51102
51104
|
|
|
51103
51105
|
Sends native ETH or ERC20 tokens from the sender's address to another address.`,
|
|
51104
51106
|
args: args55,
|
|
@@ -51116,8 +51118,8 @@ Sends native ETH or ERC20 tokens from the sender's address to another address.`,
|
|
|
51116
51118
|
};
|
|
51117
51119
|
});
|
|
51118
51120
|
|
|
51119
|
-
// src/funcs/
|
|
51120
|
-
function
|
|
51121
|
+
// src/funcs/transactionBundlerBundlerAaveLoop.ts
|
|
51122
|
+
function transactionBundlerBundlerAaveLoop(client, request, options) {
|
|
51121
51123
|
return new APIPromise($do56(client, request, options));
|
|
51122
51124
|
}
|
|
51123
51125
|
async function $do56(client, request, options) {
|
|
@@ -51127,7 +51129,7 @@ async function $do56(client, request, options) {
|
|
|
51127
51129
|
}
|
|
51128
51130
|
const payload = parsed.value;
|
|
51129
51131
|
const body = encodeJSON("body", payload, { explode: true });
|
|
51130
|
-
const path = pathToFunc("/v0/
|
|
51132
|
+
const path = pathToFunc("/v0/transaction_bundler/aave/loop")();
|
|
51131
51133
|
const headers = new Headers(compactMap({
|
|
51132
51134
|
"Content-Type": "application/json",
|
|
51133
51135
|
Accept: "application/json"
|
|
@@ -51138,7 +51140,7 @@ async function $do56(client, request, options) {
|
|
|
51138
51140
|
const context = {
|
|
51139
51141
|
options: client._options,
|
|
51140
51142
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
51141
|
-
operationID: "
|
|
51143
|
+
operationID: "transaction_bundler_aave_loop",
|
|
51142
51144
|
oAuth2Scopes: [],
|
|
51143
51145
|
resolvedSecurity: requestSecurity,
|
|
51144
51146
|
securitySource: client._options.apiKeyAuth,
|
|
@@ -51178,7 +51180,7 @@ async function $do56(client, request, options) {
|
|
|
51178
51180
|
}
|
|
51179
51181
|
return [result, { status: "complete", request: req, response }];
|
|
51180
51182
|
}
|
|
51181
|
-
var
|
|
51183
|
+
var init_transactionBundlerBundlerAaveLoop = __esm(() => {
|
|
51182
51184
|
init_encodings();
|
|
51183
51185
|
init_matchers();
|
|
51184
51186
|
init_primitives();
|
|
@@ -51190,18 +51192,18 @@ var init_transactionBatchingAaveLoop = __esm(() => {
|
|
|
51190
51192
|
init_async();
|
|
51191
51193
|
});
|
|
51192
51194
|
|
|
51193
|
-
// src/mcp-server/tools/
|
|
51194
|
-
var args56, tool$
|
|
51195
|
-
var
|
|
51196
|
-
|
|
51195
|
+
// src/mcp-server/tools/transactionBundlerBundlerAaveLoop.ts
|
|
51196
|
+
var args56, tool$transactionBundlerBundlerAaveLoop;
|
|
51197
|
+
var init_transactionBundlerBundlerAaveLoop2 = __esm(() => {
|
|
51198
|
+
init_transactionBundlerBundlerAaveLoop();
|
|
51197
51199
|
init_components();
|
|
51198
51200
|
init_tools();
|
|
51199
51201
|
args56 = {
|
|
51200
51202
|
request: AaveLoopRequest$inboundSchema
|
|
51201
51203
|
};
|
|
51202
|
-
tool$
|
|
51203
|
-
name: "transaction-
|
|
51204
|
-
description: `AAVE
|
|
51204
|
+
tool$transactionBundlerBundlerAaveLoop = {
|
|
51205
|
+
name: "transaction-bundler-bundler-aave-loop",
|
|
51206
|
+
description: `AAVE Leverage Long/Short
|
|
51205
51207
|
|
|
51206
51208
|
Execute an Aave looping strategy that involves repeated supply and borrow
|
|
51207
51209
|
operations.
|
|
@@ -51216,7 +51218,7 @@ This endpoint creates a multicall transaction that performs a series of operatio
|
|
|
51216
51218
|
The transaction must be authorized using the /authorization endpoint to prevent replay attacks.`,
|
|
51217
51219
|
args: args56,
|
|
51218
51220
|
tool: async (client, args57, ctx) => {
|
|
51219
|
-
const [result, apiCall] = await
|
|
51221
|
+
const [result, apiCall] = await transactionBundlerBundlerAaveLoop(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51220
51222
|
if (!result.ok) {
|
|
51221
51223
|
return {
|
|
51222
51224
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51229,8 +51231,8 @@ The transaction must be authorized using the /authorization endpoint to prevent
|
|
|
51229
51231
|
};
|
|
51230
51232
|
});
|
|
51231
51233
|
|
|
51232
|
-
// src/funcs/
|
|
51233
|
-
function
|
|
51234
|
+
// src/funcs/transactionBundlerBundlerAuthorization.ts
|
|
51235
|
+
function transactionBundlerBundlerAuthorization(client, request, options) {
|
|
51234
51236
|
return new APIPromise($do57(client, request, options));
|
|
51235
51237
|
}
|
|
51236
51238
|
async function $do57(client, request, options) {
|
|
@@ -51240,7 +51242,7 @@ async function $do57(client, request, options) {
|
|
|
51240
51242
|
}
|
|
51241
51243
|
const payload = parsed.value;
|
|
51242
51244
|
const body = encodeJSON("body", payload, { explode: true });
|
|
51243
|
-
const path = pathToFunc("/v0/
|
|
51245
|
+
const path = pathToFunc("/v0/transaction_bundler/authorization")();
|
|
51244
51246
|
const headers = new Headers(compactMap({
|
|
51245
51247
|
"Content-Type": "application/json",
|
|
51246
51248
|
Accept: "application/json"
|
|
@@ -51251,7 +51253,7 @@ async function $do57(client, request, options) {
|
|
|
51251
51253
|
const context = {
|
|
51252
51254
|
options: client._options,
|
|
51253
51255
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
51254
|
-
operationID: "
|
|
51256
|
+
operationID: "transaction_bundler_authorization",
|
|
51255
51257
|
oAuth2Scopes: [],
|
|
51256
51258
|
resolvedSecurity: requestSecurity,
|
|
51257
51259
|
securitySource: client._options.apiKeyAuth,
|
|
@@ -51291,7 +51293,7 @@ async function $do57(client, request, options) {
|
|
|
51291
51293
|
}
|
|
51292
51294
|
return [result, { status: "complete", request: req, response }];
|
|
51293
51295
|
}
|
|
51294
|
-
var
|
|
51296
|
+
var init_transactionBundlerBundlerAuthorization = __esm(() => {
|
|
51295
51297
|
init_encodings();
|
|
51296
51298
|
init_matchers();
|
|
51297
51299
|
init_primitives();
|
|
@@ -51303,18 +51305,18 @@ var init_transactionBatchingAuthorization = __esm(() => {
|
|
|
51303
51305
|
init_async();
|
|
51304
51306
|
});
|
|
51305
51307
|
|
|
51306
|
-
// src/mcp-server/tools/
|
|
51307
|
-
var args57, tool$
|
|
51308
|
-
var
|
|
51309
|
-
|
|
51308
|
+
// src/mcp-server/tools/transactionBundlerBundlerAuthorization.ts
|
|
51309
|
+
var args57, tool$transactionBundlerBundlerAuthorization;
|
|
51310
|
+
var init_transactionBundlerBundlerAuthorization2 = __esm(() => {
|
|
51311
|
+
init_transactionBundlerBundlerAuthorization();
|
|
51310
51312
|
init_components();
|
|
51311
51313
|
init_tools();
|
|
51312
51314
|
args57 = {
|
|
51313
51315
|
request: MulticallAuthorizationRequest$inboundSchema
|
|
51314
51316
|
};
|
|
51315
|
-
tool$
|
|
51316
|
-
name: "transaction-
|
|
51317
|
-
description: `Enable
|
|
51317
|
+
tool$transactionBundlerBundlerAuthorization = {
|
|
51318
|
+
name: "transaction-bundler-bundler-authorization",
|
|
51319
|
+
description: `Enable Transaction Bundling
|
|
51318
51320
|
|
|
51319
51321
|
Get authorization for bundling transactions.
|
|
51320
51322
|
|
|
@@ -51324,7 +51326,7 @@ transaction. The authorization includes a nonce and chain ID to guarantee
|
|
|
51324
51326
|
transaction uniqueness and proper network targeting.`,
|
|
51325
51327
|
args: args57,
|
|
51326
51328
|
tool: async (client, args58, ctx) => {
|
|
51327
|
-
const [result, apiCall] = await
|
|
51329
|
+
const [result, apiCall] = await transactionBundlerBundlerAuthorization(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51328
51330
|
if (!result.ok) {
|
|
51329
51331
|
return {
|
|
51330
51332
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51337,8 +51339,8 @@ transaction uniqueness and proper network targeting.`,
|
|
|
51337
51339
|
};
|
|
51338
51340
|
});
|
|
51339
51341
|
|
|
51340
|
-
// src/funcs/
|
|
51341
|
-
function
|
|
51342
|
+
// src/funcs/transactionBundlerBundlerExecute.ts
|
|
51343
|
+
function transactionBundlerBundlerExecute(client, request, options) {
|
|
51342
51344
|
return new APIPromise($do58(client, request, options));
|
|
51343
51345
|
}
|
|
51344
51346
|
async function $do58(client, request, options) {
|
|
@@ -51348,7 +51350,7 @@ async function $do58(client, request, options) {
|
|
|
51348
51350
|
}
|
|
51349
51351
|
const payload = parsed.value;
|
|
51350
51352
|
const body = encodeJSON("body", payload, { explode: true });
|
|
51351
|
-
const path = pathToFunc("/v0/
|
|
51353
|
+
const path = pathToFunc("/v0/transaction_bundler/execute")();
|
|
51352
51354
|
const headers = new Headers(compactMap({
|
|
51353
51355
|
"Content-Type": "application/json",
|
|
51354
51356
|
Accept: "application/json"
|
|
@@ -51359,7 +51361,7 @@ async function $do58(client, request, options) {
|
|
|
51359
51361
|
const context = {
|
|
51360
51362
|
options: client._options,
|
|
51361
51363
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
51362
|
-
operationID: "
|
|
51364
|
+
operationID: "transaction_bundler_execute",
|
|
51363
51365
|
oAuth2Scopes: [],
|
|
51364
51366
|
resolvedSecurity: requestSecurity,
|
|
51365
51367
|
securitySource: client._options.apiKeyAuth,
|
|
@@ -51399,7 +51401,7 @@ async function $do58(client, request, options) {
|
|
|
51399
51401
|
}
|
|
51400
51402
|
return [result, { status: "complete", request: req, response }];
|
|
51401
51403
|
}
|
|
51402
|
-
var
|
|
51404
|
+
var init_transactionBundlerBundlerExecute = __esm(() => {
|
|
51403
51405
|
init_encodings();
|
|
51404
51406
|
init_matchers();
|
|
51405
51407
|
init_primitives();
|
|
@@ -51411,17 +51413,17 @@ var init_transactionBatchingExecute = __esm(() => {
|
|
|
51411
51413
|
init_async();
|
|
51412
51414
|
});
|
|
51413
51415
|
|
|
51414
|
-
// src/mcp-server/tools/
|
|
51415
|
-
var args58, tool$
|
|
51416
|
-
var
|
|
51417
|
-
|
|
51416
|
+
// src/mcp-server/tools/transactionBundlerBundlerExecute.ts
|
|
51417
|
+
var args58, tool$transactionBundlerBundlerExecute;
|
|
51418
|
+
var init_transactionBundlerBundlerExecute2 = __esm(() => {
|
|
51419
|
+
init_transactionBundlerBundlerExecute();
|
|
51418
51420
|
init_components();
|
|
51419
51421
|
init_tools();
|
|
51420
51422
|
args58 = {
|
|
51421
51423
|
request: MulticallExecuteRequest$inboundSchema
|
|
51422
51424
|
};
|
|
51423
|
-
tool$
|
|
51424
|
-
name: "transaction-
|
|
51425
|
+
tool$transactionBundlerBundlerExecute = {
|
|
51426
|
+
name: "transaction-bundler-bundler-execute",
|
|
51425
51427
|
description: `Construct Bundled Transaction
|
|
51426
51428
|
|
|
51427
51429
|
Bundle arbitrary transactions together into a single multicall transaction using
|
|
@@ -51433,7 +51435,7 @@ together. The transaction must be authorized using the /authorization endpoint t
|
|
|
51433
51435
|
prevent replay attacks.`,
|
|
51434
51436
|
args: args58,
|
|
51435
51437
|
tool: async (client, args59, ctx) => {
|
|
51436
|
-
const [result, apiCall] = await
|
|
51438
|
+
const [result, apiCall] = await transactionBundlerBundlerExecute(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51437
51439
|
if (!result.ok) {
|
|
51438
51440
|
return {
|
|
51439
51441
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51647,7 +51649,7 @@ var init_uniswapV3LiquidityProvisionInRange2 = __esm(() => {
|
|
|
51647
51649
|
};
|
|
51648
51650
|
tool$uniswapV3LiquidityProvisionInRange = {
|
|
51649
51651
|
name: "uniswap-v3-liquidity-provision-in-range",
|
|
51650
|
-
description: `Check if LP is
|
|
51652
|
+
description: `Check if LP is Active.
|
|
51651
51653
|
|
|
51652
51654
|
This endpoint allows users to check whether a specific liquidity provider ()
|
|
51653
51655
|
position is within the active tick range on the uniswap platform.
|
|
@@ -52101,7 +52103,7 @@ var init_uniswapV3PoolPrice2 = __esm(() => {
|
|
|
52101
52103
|
};
|
|
52102
52104
|
tool$uniswapV3PoolPrice = {
|
|
52103
52105
|
name: "uniswap-v3-pool-price",
|
|
52104
|
-
description: `Pool
|
|
52106
|
+
description: `Pool Price
|
|
52105
52107
|
|
|
52106
52108
|
This endpoint calculates the price of a token in a Uniswap pool.
|
|
52107
52109
|
|
|
@@ -52214,7 +52216,7 @@ var init_uniswapV3QuoteBuyExactly2 = __esm(() => {
|
|
|
52214
52216
|
};
|
|
52215
52217
|
tool$uniswapV3QuoteBuyExactly = {
|
|
52216
52218
|
name: "uniswap-v3-quote-buy-exactly",
|
|
52217
|
-
description: `Get
|
|
52219
|
+
description: `Get Quote - to Specified Amount
|
|
52218
52220
|
|
|
52219
52221
|
This endpoint calculates the amount of input tokens required to purchase a
|
|
52220
52222
|
specified amount of output tokens from a Uniswap pool.
|
|
@@ -52329,7 +52331,7 @@ var init_uniswapV3QuoteSellExactly2 = __esm(() => {
|
|
|
52329
52331
|
};
|
|
52330
52332
|
tool$uniswapV3QuoteSellExactly = {
|
|
52331
52333
|
name: "uniswap-v3-quote-sell-exactly",
|
|
52332
|
-
description: `Get quote -
|
|
52334
|
+
description: `Get quote - From Specified Amount
|
|
52333
52335
|
|
|
52334
52336
|
This endpoint calculates the amount of input tokens required to purchase a
|
|
52335
52337
|
specified amount of output tokens from a Uniswap pool.
|
|
@@ -52661,7 +52663,7 @@ var init_universalAllowance2 = __esm(() => {
|
|
|
52661
52663
|
};
|
|
52662
52664
|
tool$universalAllowance = {
|
|
52663
52665
|
name: "universal-allowance",
|
|
52664
|
-
description: `Get
|
|
52666
|
+
description: `Get Allowance
|
|
52665
52667
|
|
|
52666
52668
|
In decentralized finance (DeFi) protocols such as Uniswap or AAVE, users must set
|
|
52667
52669
|
a token allowance to authorize the protocol to spend a specified amount of their
|
|
@@ -52996,7 +52998,7 @@ var init_universalPortfolio2 = __esm(() => {
|
|
|
52996
52998
|
};
|
|
52997
52999
|
tool$universalPortfolio = {
|
|
52998
53000
|
name: "universal-portfolio",
|
|
52999
|
-
description: `List
|
|
53001
|
+
description: `List User Portfolio
|
|
53000
53002
|
|
|
53001
53003
|
Fetch the detailed portfolio of a specific wallet address on a given blockchain.
|
|
53002
53004
|
|
|
@@ -53106,7 +53108,7 @@ var init_universalSupportedTokens2 = __esm(() => {
|
|
|
53106
53108
|
};
|
|
53107
53109
|
tool$universalSupportedTokens = {
|
|
53108
53110
|
name: "universal-supported-tokens",
|
|
53109
|
-
description: `List
|
|
53111
|
+
description: `List Supported Tokens
|
|
53110
53112
|
|
|
53111
53113
|
Get the list of supported tokens on a chain by the Compass API.`,
|
|
53112
53114
|
args: args73,
|
|
@@ -53318,7 +53320,7 @@ var init_universalVisualizePortfolio2 = __esm(() => {
|
|
|
53318
53320
|
};
|
|
53319
53321
|
tool$universalVisualizePortfolio = {
|
|
53320
53322
|
name: "universal-visualize-portfolio",
|
|
53321
|
-
description: `Visualize
|
|
53323
|
+
description: `Visualize User Portfolio
|
|
53322
53324
|
|
|
53323
53325
|
Generate a visual representation of the token portfolio for a wallet address.
|
|
53324
53326
|
|
|
@@ -53448,7 +53450,7 @@ it to be traded on DeFi protocols.`,
|
|
|
53448
53450
|
function createMCPServer(deps) {
|
|
53449
53451
|
const server = new McpServer({
|
|
53450
53452
|
name: "CompassApiSDK",
|
|
53451
|
-
version: "0.5.
|
|
53453
|
+
version: "0.5.21"
|
|
53452
53454
|
});
|
|
53453
53455
|
const client = new CompassApiSDKCore({
|
|
53454
53456
|
apiKeyAuth: deps.apiKeyAuth,
|
|
@@ -53534,9 +53536,9 @@ function createMCPServer(deps) {
|
|
|
53534
53536
|
tool(tool$pendleRedeemYield);
|
|
53535
53537
|
tool(tool$pendleAddLiquidity);
|
|
53536
53538
|
tool(tool$pendleRemoveLiquidity);
|
|
53537
|
-
tool(tool$
|
|
53538
|
-
tool(tool$
|
|
53539
|
-
tool(tool$
|
|
53539
|
+
tool(tool$transactionBundlerBundlerAuthorization);
|
|
53540
|
+
tool(tool$transactionBundlerBundlerExecute);
|
|
53541
|
+
tool(tool$transactionBundlerBundlerAaveLoop);
|
|
53540
53542
|
tool(tool$smartAccountAccountBatchedUserOperations);
|
|
53541
53543
|
return server;
|
|
53542
53544
|
}
|
|
@@ -53600,9 +53602,9 @@ var init_server2 = __esm(() => {
|
|
|
53600
53602
|
init_tokenBalance2();
|
|
53601
53603
|
init_tokenPrice2();
|
|
53602
53604
|
init_tokenTransfer2();
|
|
53603
|
-
|
|
53604
|
-
|
|
53605
|
-
|
|
53605
|
+
init_transactionBundlerBundlerAaveLoop2();
|
|
53606
|
+
init_transactionBundlerBundlerAuthorization2();
|
|
53607
|
+
init_transactionBundlerBundlerExecute2();
|
|
53606
53608
|
init_uniswapV3LiquidityProvisionIncrease2();
|
|
53607
53609
|
init_uniswapV3LiquidityProvisionInRange2();
|
|
53608
53610
|
init_uniswapV3LiquidityProvisionMint2();
|
|
@@ -54811,7 +54813,7 @@ var routes = an({
|
|
|
54811
54813
|
var app = He(routes, {
|
|
54812
54814
|
name: "mcp",
|
|
54813
54815
|
versionInfo: {
|
|
54814
|
-
currentVersion: "0.5.
|
|
54816
|
+
currentVersion: "0.5.21"
|
|
54815
54817
|
}
|
|
54816
54818
|
});
|
|
54817
54819
|
zt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -54819,5 +54821,5 @@ export {
|
|
|
54819
54821
|
app
|
|
54820
54822
|
};
|
|
54821
54823
|
|
|
54822
|
-
//# debugId=
|
|
54824
|
+
//# debugId=F95DEC22565B8BBA64756E2164756E21
|
|
54823
54825
|
//# sourceMappingURL=mcp-server.js.map
|