@compass-labs/api-sdk 0.0.39 → 0.1.1
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 +5 -0
- package/bin/mcp-server.js +5493 -5083
- package/bin/mcp-server.js.map +81 -65
- package/dist/commonjs/funcs/aaveV3Borrow.d.ts +1 -1
- package/dist/commonjs/funcs/aaveV3Borrow.d.ts.map +1 -1
- package/dist/commonjs/funcs/aaveV3Borrow.js +1 -1
- package/dist/commonjs/funcs/aaveV3Borrow.js.map +1 -1
- package/dist/commonjs/funcs/aaveV3Repay.d.ts +1 -1
- package/dist/commonjs/funcs/aaveV3Repay.d.ts.map +1 -1
- package/dist/commonjs/funcs/aaveV3Repay.js +1 -1
- package/dist/commonjs/funcs/aaveV3Repay.js.map +1 -1
- package/dist/commonjs/funcs/aaveV3Supply.d.ts +1 -1
- package/dist/commonjs/funcs/aaveV3Supply.d.ts.map +1 -1
- package/dist/commonjs/funcs/aaveV3Supply.js +1 -1
- package/dist/commonjs/funcs/aaveV3Supply.js.map +1 -1
- package/dist/commonjs/funcs/aaveV3Withdraw.d.ts +1 -1
- package/dist/commonjs/funcs/aaveV3Withdraw.d.ts.map +1 -1
- package/dist/commonjs/funcs/aaveV3Withdraw.js +1 -1
- package/dist/commonjs/funcs/aaveV3Withdraw.js.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.d.ts +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.d.ts.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.js +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.js.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.d.ts +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.d.ts.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.js +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.js.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.d.ts +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.d.ts.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.js +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.js.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamSwapBuyExactly.d.ts +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamSwapBuyExactly.d.ts.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamSwapBuyExactly.js +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamSwapBuyExactly.js.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamSwapSellExactly.d.ts +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamSwapSellExactly.d.ts.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamSwapSellExactly.js +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamSwapSellExactly.js.map +1 -1
- package/dist/commonjs/funcs/morphoAllowance.d.ts +1 -1
- package/dist/commonjs/funcs/morphoAllowance.d.ts.map +1 -1
- package/dist/commonjs/funcs/morphoAllowance.js +1 -1
- package/dist/commonjs/funcs/morphoAllowance.js.map +1 -1
- package/dist/commonjs/funcs/morphoBorrow.d.ts +1 -1
- package/dist/commonjs/funcs/morphoBorrow.d.ts.map +1 -1
- package/dist/commonjs/funcs/morphoBorrow.js +1 -1
- package/dist/commonjs/funcs/morphoBorrow.js.map +1 -1
- package/dist/commonjs/funcs/morphoDeposit.d.ts +1 -1
- package/dist/commonjs/funcs/morphoDeposit.d.ts.map +1 -1
- package/dist/commonjs/funcs/morphoDeposit.js +1 -1
- package/dist/commonjs/funcs/morphoDeposit.js.map +1 -1
- package/dist/commonjs/funcs/morphoRepay.d.ts +1 -1
- package/dist/commonjs/funcs/morphoRepay.d.ts.map +1 -1
- package/dist/commonjs/funcs/morphoRepay.js +1 -1
- package/dist/commonjs/funcs/morphoRepay.js.map +1 -1
- package/dist/commonjs/funcs/morphoSupplyCollateral.d.ts +1 -1
- package/dist/commonjs/funcs/morphoSupplyCollateral.d.ts.map +1 -1
- package/dist/commonjs/funcs/morphoSupplyCollateral.js +1 -1
- package/dist/commonjs/funcs/morphoSupplyCollateral.js.map +1 -1
- package/dist/commonjs/funcs/morphoWithdraw.d.ts +1 -1
- package/dist/commonjs/funcs/morphoWithdraw.d.ts.map +1 -1
- package/dist/commonjs/funcs/morphoWithdraw.js +1 -1
- package/dist/commonjs/funcs/morphoWithdraw.js.map +1 -1
- package/dist/commonjs/funcs/morphoWithdrawCollateral.d.ts +1 -1
- package/dist/commonjs/funcs/morphoWithdrawCollateral.d.ts.map +1 -1
- package/dist/commonjs/funcs/morphoWithdrawCollateral.js +1 -1
- package/dist/commonjs/funcs/morphoWithdrawCollateral.js.map +1 -1
- package/dist/commonjs/funcs/skyBuy.d.ts +1 -1
- package/dist/commonjs/funcs/skyBuy.d.ts.map +1 -1
- package/dist/commonjs/funcs/skyBuy.js +1 -1
- package/dist/commonjs/funcs/skyBuy.js.map +1 -1
- package/dist/commonjs/funcs/skyDeposit.d.ts +1 -1
- package/dist/commonjs/funcs/skyDeposit.d.ts.map +1 -1
- package/dist/commonjs/funcs/skyDeposit.js +1 -1
- package/dist/commonjs/funcs/skyDeposit.js.map +1 -1
- package/dist/commonjs/funcs/skySell.d.ts +1 -1
- package/dist/commonjs/funcs/skySell.d.ts.map +1 -1
- package/dist/commonjs/funcs/skySell.js +1 -1
- package/dist/commonjs/funcs/skySell.js.map +1 -1
- package/dist/commonjs/funcs/skyWithdraw.d.ts +1 -1
- package/dist/commonjs/funcs/skyWithdraw.d.ts.map +1 -1
- package/dist/commonjs/funcs/skyWithdraw.js +1 -1
- package/dist/commonjs/funcs/skyWithdraw.js.map +1 -1
- package/dist/commonjs/funcs/smartAccountAccountBatchedUserOperations.d.ts +17 -0
- package/dist/commonjs/funcs/smartAccountAccountBatchedUserOperations.d.ts.map +1 -0
- package/dist/commonjs/funcs/smartAccountAccountBatchedUserOperations.js +116 -0
- package/dist/commonjs/funcs/smartAccountAccountBatchedUserOperations.js.map +1 -0
- package/dist/commonjs/funcs/tokenTransfer.d.ts +1 -1
- package/dist/commonjs/funcs/tokenTransfer.d.ts.map +1 -1
- package/dist/commonjs/funcs/tokenTransfer.js +1 -1
- package/dist/commonjs/funcs/tokenTransfer.js.map +1 -1
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionIncrease.d.ts +1 -1
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionIncrease.d.ts.map +1 -1
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionIncrease.js +1 -1
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionIncrease.js.map +1 -1
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionMint.d.ts +1 -1
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionMint.d.ts.map +1 -1
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionMint.js +1 -1
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionMint.js.map +1 -1
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionWithdraw.d.ts +1 -1
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionWithdraw.d.ts.map +1 -1
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionWithdraw.js +1 -1
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionWithdraw.js.map +1 -1
- package/dist/commonjs/funcs/uniswapV3SwapBuyExactly.d.ts +1 -1
- package/dist/commonjs/funcs/uniswapV3SwapBuyExactly.d.ts.map +1 -1
- package/dist/commonjs/funcs/uniswapV3SwapBuyExactly.js +1 -1
- package/dist/commonjs/funcs/uniswapV3SwapBuyExactly.js.map +1 -1
- package/dist/commonjs/funcs/uniswapV3SwapSellExactly.d.ts +1 -1
- package/dist/commonjs/funcs/uniswapV3SwapSellExactly.d.ts.map +1 -1
- package/dist/commonjs/funcs/uniswapV3SwapSellExactly.js +1 -1
- package/dist/commonjs/funcs/uniswapV3SwapSellExactly.js.map +1 -1
- package/dist/commonjs/funcs/universalAllowanceSet.d.ts +1 -1
- package/dist/commonjs/funcs/universalAllowanceSet.d.ts.map +1 -1
- package/dist/commonjs/funcs/universalAllowanceSet.js +1 -1
- package/dist/commonjs/funcs/universalAllowanceSet.js.map +1 -1
- package/dist/commonjs/funcs/universalUnwrapWeth.d.ts +1 -1
- package/dist/commonjs/funcs/universalUnwrapWeth.d.ts.map +1 -1
- package/dist/commonjs/funcs/universalUnwrapWeth.js +1 -1
- package/dist/commonjs/funcs/universalUnwrapWeth.js.map +1 -1
- package/dist/commonjs/funcs/universalWrapEth.d.ts +1 -1
- package/dist/commonjs/funcs/universalWrapEth.d.ts.map +1 -1
- package/dist/commonjs/funcs/universalWrapEth.js +1 -1
- package/dist/commonjs/funcs/universalWrapEth.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/mcp-server/cli/start/impl.js +2 -2
- package/dist/commonjs/mcp-server/cli/start/impl.js.map +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js.map +1 -1
- package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/server.js +3 -1
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/smartAccountAccountBatchedUserOperations.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/smartAccountAccountBatchedUserOperations.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/smartAccountAccountBatchedUserOperations.js +64 -0
- package/dist/commonjs/mcp-server/tools/smartAccountAccountBatchedUserOperations.js.map +1 -0
- package/dist/commonjs/models/components/batcheduseroperationsrequest.d.ts +46 -0
- package/dist/commonjs/models/components/batcheduseroperationsrequest.d.ts.map +1 -0
- package/dist/commonjs/models/components/batcheduseroperationsrequest.js +82 -0
- package/dist/commonjs/models/components/batcheduseroperationsrequest.js.map +1 -0
- package/dist/commonjs/models/components/batcheduseroperationsresponse.d.ts +33 -0
- package/dist/commonjs/models/components/batcheduseroperationsresponse.d.ts.map +1 -0
- package/dist/commonjs/models/components/batcheduseroperationsresponse.js +70 -0
- package/dist/commonjs/models/components/batcheduseroperationsresponse.js.map +1 -0
- package/dist/commonjs/models/components/index.d.ts +5 -1
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +5 -1
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/multicallexecuterequest.d.ts +3 -3
- package/dist/commonjs/models/components/multicallexecuterequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/multicallexecuterequest.js +3 -3
- package/dist/commonjs/models/components/multicallexecuterequest.js.map +1 -1
- package/dist/commonjs/models/components/txresponse.d.ts +27 -0
- package/dist/commonjs/models/components/txresponse.d.ts.map +1 -0
- package/dist/commonjs/models/components/txresponse.js +73 -0
- package/dist/commonjs/models/components/txresponse.js.map +1 -0
- package/dist/commonjs/models/components/{multicallaction.d.ts → useroperation.d.ts} +14 -14
- package/dist/commonjs/models/components/useroperation.d.ts.map +1 -0
- package/dist/commonjs/models/components/{multicallaction.js → useroperation.js} +17 -17
- package/dist/commonjs/models/components/useroperation.js.map +1 -0
- package/dist/commonjs/models/components/useroperationresponse.d.ts +42 -0
- package/dist/commonjs/models/components/useroperationresponse.d.ts.map +1 -0
- package/dist/commonjs/models/components/useroperationresponse.js +73 -0
- package/dist/commonjs/models/components/useroperationresponse.js.map +1 -0
- package/dist/commonjs/sdk/aavev3.d.ts +4 -4
- package/dist/commonjs/sdk/aavev3.d.ts.map +1 -1
- package/dist/commonjs/sdk/aerodromeslipstream.d.ts +5 -5
- package/dist/commonjs/sdk/aerodromeslipstream.d.ts.map +1 -1
- package/dist/commonjs/sdk/morpho.d.ts +7 -7
- package/dist/commonjs/sdk/morpho.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.d.ts +3 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +4 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/commonjs/sdk/sky.d.ts +4 -4
- package/dist/commonjs/sdk/sky.d.ts.map +1 -1
- package/dist/commonjs/sdk/smartaccount.d.ts +12 -0
- package/dist/commonjs/sdk/smartaccount.d.ts.map +1 -0
- package/dist/commonjs/sdk/smartaccount.js +22 -0
- package/dist/commonjs/sdk/smartaccount.js.map +1 -0
- package/dist/commonjs/sdk/token.d.ts +1 -1
- package/dist/commonjs/sdk/token.d.ts.map +1 -1
- package/dist/commonjs/sdk/uniswapv3.d.ts +5 -5
- package/dist/commonjs/sdk/uniswapv3.d.ts.map +1 -1
- package/dist/commonjs/sdk/universal.d.ts +3 -3
- package/dist/commonjs/sdk/universal.d.ts.map +1 -1
- package/dist/esm/funcs/aaveV3Borrow.d.ts +1 -1
- package/dist/esm/funcs/aaveV3Borrow.d.ts.map +1 -1
- package/dist/esm/funcs/aaveV3Borrow.js +1 -1
- package/dist/esm/funcs/aaveV3Borrow.js.map +1 -1
- package/dist/esm/funcs/aaveV3Repay.d.ts +1 -1
- package/dist/esm/funcs/aaveV3Repay.d.ts.map +1 -1
- package/dist/esm/funcs/aaveV3Repay.js +1 -1
- package/dist/esm/funcs/aaveV3Repay.js.map +1 -1
- package/dist/esm/funcs/aaveV3Supply.d.ts +1 -1
- package/dist/esm/funcs/aaveV3Supply.d.ts.map +1 -1
- package/dist/esm/funcs/aaveV3Supply.js +1 -1
- package/dist/esm/funcs/aaveV3Supply.js.map +1 -1
- package/dist/esm/funcs/aaveV3Withdraw.d.ts +1 -1
- package/dist/esm/funcs/aaveV3Withdraw.d.ts.map +1 -1
- package/dist/esm/funcs/aaveV3Withdraw.js +1 -1
- package/dist/esm/funcs/aaveV3Withdraw.js.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.d.ts +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.d.ts.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.js +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.js.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.d.ts +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.d.ts.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.js +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.js.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.d.ts +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.d.ts.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.js +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.js.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamSwapBuyExactly.d.ts +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamSwapBuyExactly.d.ts.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamSwapBuyExactly.js +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamSwapBuyExactly.js.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamSwapSellExactly.d.ts +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamSwapSellExactly.d.ts.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamSwapSellExactly.js +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamSwapSellExactly.js.map +1 -1
- package/dist/esm/funcs/morphoAllowance.d.ts +1 -1
- package/dist/esm/funcs/morphoAllowance.d.ts.map +1 -1
- package/dist/esm/funcs/morphoAllowance.js +1 -1
- package/dist/esm/funcs/morphoAllowance.js.map +1 -1
- package/dist/esm/funcs/morphoBorrow.d.ts +1 -1
- package/dist/esm/funcs/morphoBorrow.d.ts.map +1 -1
- package/dist/esm/funcs/morphoBorrow.js +1 -1
- package/dist/esm/funcs/morphoBorrow.js.map +1 -1
- package/dist/esm/funcs/morphoDeposit.d.ts +1 -1
- package/dist/esm/funcs/morphoDeposit.d.ts.map +1 -1
- package/dist/esm/funcs/morphoDeposit.js +1 -1
- package/dist/esm/funcs/morphoDeposit.js.map +1 -1
- package/dist/esm/funcs/morphoRepay.d.ts +1 -1
- package/dist/esm/funcs/morphoRepay.d.ts.map +1 -1
- package/dist/esm/funcs/morphoRepay.js +1 -1
- package/dist/esm/funcs/morphoRepay.js.map +1 -1
- package/dist/esm/funcs/morphoSupplyCollateral.d.ts +1 -1
- package/dist/esm/funcs/morphoSupplyCollateral.d.ts.map +1 -1
- package/dist/esm/funcs/morphoSupplyCollateral.js +1 -1
- package/dist/esm/funcs/morphoSupplyCollateral.js.map +1 -1
- package/dist/esm/funcs/morphoWithdraw.d.ts +1 -1
- package/dist/esm/funcs/morphoWithdraw.d.ts.map +1 -1
- package/dist/esm/funcs/morphoWithdraw.js +1 -1
- package/dist/esm/funcs/morphoWithdraw.js.map +1 -1
- package/dist/esm/funcs/morphoWithdrawCollateral.d.ts +1 -1
- package/dist/esm/funcs/morphoWithdrawCollateral.d.ts.map +1 -1
- package/dist/esm/funcs/morphoWithdrawCollateral.js +1 -1
- package/dist/esm/funcs/morphoWithdrawCollateral.js.map +1 -1
- package/dist/esm/funcs/skyBuy.d.ts +1 -1
- package/dist/esm/funcs/skyBuy.d.ts.map +1 -1
- package/dist/esm/funcs/skyBuy.js +1 -1
- package/dist/esm/funcs/skyBuy.js.map +1 -1
- package/dist/esm/funcs/skyDeposit.d.ts +1 -1
- package/dist/esm/funcs/skyDeposit.d.ts.map +1 -1
- package/dist/esm/funcs/skyDeposit.js +1 -1
- package/dist/esm/funcs/skyDeposit.js.map +1 -1
- package/dist/esm/funcs/skySell.d.ts +1 -1
- package/dist/esm/funcs/skySell.d.ts.map +1 -1
- package/dist/esm/funcs/skySell.js +1 -1
- package/dist/esm/funcs/skySell.js.map +1 -1
- package/dist/esm/funcs/skyWithdraw.d.ts +1 -1
- package/dist/esm/funcs/skyWithdraw.d.ts.map +1 -1
- package/dist/esm/funcs/skyWithdraw.js +1 -1
- package/dist/esm/funcs/skyWithdraw.js.map +1 -1
- package/dist/esm/funcs/smartAccountAccountBatchedUserOperations.d.ts +17 -0
- package/dist/esm/funcs/smartAccountAccountBatchedUserOperations.d.ts.map +1 -0
- package/dist/esm/funcs/smartAccountAccountBatchedUserOperations.js +80 -0
- package/dist/esm/funcs/smartAccountAccountBatchedUserOperations.js.map +1 -0
- package/dist/esm/funcs/tokenTransfer.d.ts +1 -1
- package/dist/esm/funcs/tokenTransfer.d.ts.map +1 -1
- package/dist/esm/funcs/tokenTransfer.js +1 -1
- package/dist/esm/funcs/tokenTransfer.js.map +1 -1
- package/dist/esm/funcs/uniswapV3LiquidityProvisionIncrease.d.ts +1 -1
- package/dist/esm/funcs/uniswapV3LiquidityProvisionIncrease.d.ts.map +1 -1
- package/dist/esm/funcs/uniswapV3LiquidityProvisionIncrease.js +1 -1
- package/dist/esm/funcs/uniswapV3LiquidityProvisionIncrease.js.map +1 -1
- package/dist/esm/funcs/uniswapV3LiquidityProvisionMint.d.ts +1 -1
- package/dist/esm/funcs/uniswapV3LiquidityProvisionMint.d.ts.map +1 -1
- package/dist/esm/funcs/uniswapV3LiquidityProvisionMint.js +1 -1
- package/dist/esm/funcs/uniswapV3LiquidityProvisionMint.js.map +1 -1
- package/dist/esm/funcs/uniswapV3LiquidityProvisionWithdraw.d.ts +1 -1
- package/dist/esm/funcs/uniswapV3LiquidityProvisionWithdraw.d.ts.map +1 -1
- package/dist/esm/funcs/uniswapV3LiquidityProvisionWithdraw.js +1 -1
- package/dist/esm/funcs/uniswapV3LiquidityProvisionWithdraw.js.map +1 -1
- package/dist/esm/funcs/uniswapV3SwapBuyExactly.d.ts +1 -1
- package/dist/esm/funcs/uniswapV3SwapBuyExactly.d.ts.map +1 -1
- package/dist/esm/funcs/uniswapV3SwapBuyExactly.js +1 -1
- package/dist/esm/funcs/uniswapV3SwapBuyExactly.js.map +1 -1
- package/dist/esm/funcs/uniswapV3SwapSellExactly.d.ts +1 -1
- package/dist/esm/funcs/uniswapV3SwapSellExactly.d.ts.map +1 -1
- package/dist/esm/funcs/uniswapV3SwapSellExactly.js +1 -1
- package/dist/esm/funcs/uniswapV3SwapSellExactly.js.map +1 -1
- package/dist/esm/funcs/universalAllowanceSet.d.ts +1 -1
- package/dist/esm/funcs/universalAllowanceSet.d.ts.map +1 -1
- package/dist/esm/funcs/universalAllowanceSet.js +1 -1
- package/dist/esm/funcs/universalAllowanceSet.js.map +1 -1
- package/dist/esm/funcs/universalUnwrapWeth.d.ts +1 -1
- package/dist/esm/funcs/universalUnwrapWeth.d.ts.map +1 -1
- package/dist/esm/funcs/universalUnwrapWeth.js +1 -1
- package/dist/esm/funcs/universalUnwrapWeth.js.map +1 -1
- package/dist/esm/funcs/universalWrapEth.d.ts +1 -1
- package/dist/esm/funcs/universalWrapEth.d.ts.map +1 -1
- package/dist/esm/funcs/universalWrapEth.js +1 -1
- package/dist/esm/funcs/universalWrapEth.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/mcp-server/cli/start/impl.js +2 -2
- package/dist/esm/mcp-server/cli/start/impl.js.map +1 -1
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/mcp-server.js.map +1 -1
- package/dist/esm/mcp-server/server.d.ts.map +1 -1
- package/dist/esm/mcp-server/server.js +3 -1
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/smartAccountAccountBatchedUserOperations.d.ts +8 -0
- package/dist/esm/mcp-server/tools/smartAccountAccountBatchedUserOperations.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/smartAccountAccountBatchedUserOperations.js +28 -0
- package/dist/esm/mcp-server/tools/smartAccountAccountBatchedUserOperations.js.map +1 -0
- package/dist/esm/models/components/batcheduseroperationsrequest.d.ts +46 -0
- package/dist/esm/models/components/batcheduseroperationsrequest.d.ts.map +1 -0
- package/dist/esm/models/components/batcheduseroperationsrequest.js +44 -0
- package/dist/esm/models/components/batcheduseroperationsrequest.js.map +1 -0
- package/dist/esm/models/components/batcheduseroperationsresponse.d.ts +33 -0
- package/dist/esm/models/components/batcheduseroperationsresponse.d.ts.map +1 -0
- package/dist/esm/models/components/batcheduseroperationsresponse.js +32 -0
- package/dist/esm/models/components/batcheduseroperationsresponse.js.map +1 -0
- package/dist/esm/models/components/index.d.ts +5 -1
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +5 -1
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/multicallexecuterequest.d.ts +3 -3
- package/dist/esm/models/components/multicallexecuterequest.d.ts.map +1 -1
- package/dist/esm/models/components/multicallexecuterequest.js +3 -3
- package/dist/esm/models/components/multicallexecuterequest.js.map +1 -1
- package/dist/esm/models/components/txresponse.d.ts +27 -0
- package/dist/esm/models/components/txresponse.d.ts.map +1 -0
- package/dist/esm/models/components/txresponse.js +35 -0
- package/dist/esm/models/components/txresponse.js.map +1 -0
- package/dist/esm/models/components/{multicallaction.d.ts → useroperation.d.ts} +14 -14
- package/dist/esm/models/components/useroperation.d.ts.map +1 -0
- package/dist/esm/models/components/{multicallaction.js → useroperation.js} +14 -14
- package/dist/esm/models/components/useroperation.js.map +1 -0
- package/dist/esm/models/components/useroperationresponse.d.ts +42 -0
- package/dist/esm/models/components/useroperationresponse.d.ts.map +1 -0
- package/dist/esm/models/components/useroperationresponse.js +35 -0
- package/dist/esm/models/components/useroperationresponse.js.map +1 -0
- package/dist/esm/sdk/aavev3.d.ts +4 -4
- package/dist/esm/sdk/aavev3.d.ts.map +1 -1
- package/dist/esm/sdk/aerodromeslipstream.d.ts +5 -5
- package/dist/esm/sdk/aerodromeslipstream.d.ts.map +1 -1
- package/dist/esm/sdk/morpho.d.ts +7 -7
- package/dist/esm/sdk/morpho.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.d.ts +3 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +4 -0
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/dist/esm/sdk/sky.d.ts +4 -4
- package/dist/esm/sdk/sky.d.ts.map +1 -1
- package/dist/esm/sdk/smartaccount.d.ts +12 -0
- package/dist/esm/sdk/smartaccount.d.ts.map +1 -0
- package/dist/esm/sdk/smartaccount.js +18 -0
- package/dist/esm/sdk/smartaccount.js.map +1 -0
- package/dist/esm/sdk/token.d.ts +1 -1
- package/dist/esm/sdk/token.d.ts.map +1 -1
- package/dist/esm/sdk/uniswapv3.d.ts +5 -5
- package/dist/esm/sdk/uniswapv3.d.ts.map +1 -1
- package/dist/esm/sdk/universal.d.ts +3 -3
- package/dist/esm/sdk/universal.d.ts.map +1 -1
- package/docs/sdks/aavev3/README.md +4 -4
- package/docs/sdks/aerodromeslipstream/README.md +13 -13
- package/docs/sdks/morpho/README.md +7 -7
- package/docs/sdks/sky/README.md +4 -4
- package/docs/sdks/smartaccount/README.md +105 -0
- package/docs/sdks/token/README.md +1 -1
- package/docs/sdks/transactionbatching/README.md +10 -16
- package/docs/sdks/uniswapv3/README.md +7 -7
- package/docs/sdks/universal/README.md +3 -3
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/aaveV3Borrow.ts +4 -4
- package/src/funcs/aaveV3Repay.ts +4 -4
- package/src/funcs/aaveV3Supply.ts +4 -4
- package/src/funcs/aaveV3Withdraw.ts +4 -4
- package/src/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.ts +4 -4
- package/src/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.ts +4 -4
- package/src/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.ts +4 -4
- package/src/funcs/aerodromeSlipstreamSlipstreamSwapBuyExactly.ts +4 -4
- package/src/funcs/aerodromeSlipstreamSlipstreamSwapSellExactly.ts +4 -4
- package/src/funcs/morphoAllowance.ts +4 -4
- package/src/funcs/morphoBorrow.ts +4 -4
- package/src/funcs/morphoDeposit.ts +4 -4
- package/src/funcs/morphoRepay.ts +4 -4
- package/src/funcs/morphoSupplyCollateral.ts +4 -4
- package/src/funcs/morphoWithdraw.ts +4 -4
- package/src/funcs/morphoWithdrawCollateral.ts +4 -4
- package/src/funcs/skyBuy.ts +4 -4
- package/src/funcs/skyDeposit.ts +4 -4
- package/src/funcs/skySell.ts +4 -4
- package/src/funcs/skyWithdraw.ts +4 -4
- package/src/funcs/smartAccountAccountBatchedUserOperations.ts +164 -0
- package/src/funcs/tokenTransfer.ts +4 -4
- package/src/funcs/uniswapV3LiquidityProvisionIncrease.ts +4 -4
- package/src/funcs/uniswapV3LiquidityProvisionMint.ts +4 -4
- package/src/funcs/uniswapV3LiquidityProvisionWithdraw.ts +4 -4
- package/src/funcs/uniswapV3SwapBuyExactly.ts +4 -4
- package/src/funcs/uniswapV3SwapSellExactly.ts +4 -4
- package/src/funcs/universalAllowanceSet.ts +4 -4
- package/src/funcs/universalUnwrapWeth.ts +4 -4
- package/src/funcs/universalWrapEth.ts +4 -4
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/cli/start/impl.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/smartAccountAccountBatchedUserOperations.ts +39 -0
- package/src/models/components/batcheduseroperationsrequest.ts +106 -0
- package/src/models/components/batcheduseroperationsresponse.ts +77 -0
- package/src/models/components/index.ts +5 -1
- package/src/models/components/multicallexecuterequest.ts +10 -10
- package/src/models/components/txresponse.ts +74 -0
- package/src/models/components/{multicallaction.ts → useroperation.ts} +20 -22
- package/src/models/components/useroperationresponse.ts +83 -0
- package/src/sdk/aavev3.ts +4 -4
- package/src/sdk/aerodromeslipstream.ts +5 -5
- package/src/sdk/morpho.ts +7 -7
- package/src/sdk/sdk.ts +6 -0
- package/src/sdk/sky.ts +4 -4
- package/src/sdk/smartaccount.ts +27 -0
- package/src/sdk/token.ts +1 -1
- package/src/sdk/uniswapv3.ts +5 -5
- package/src/sdk/universal.ts +3 -3
- package/dist/commonjs/models/components/multicallaction.d.ts.map +0 -1
- package/dist/commonjs/models/components/multicallaction.js.map +0 -1
- package/dist/esm/models/components/multicallaction.d.ts.map +0 -1
- package/dist/esm/models/components/multicallaction.js.map +0 -1
|
@@ -660,7 +660,7 @@ run();
|
|
|
660
660
|
|
|
661
661
|
### Response
|
|
662
662
|
|
|
663
|
-
**Promise\<[components.
|
|
663
|
+
**Promise\<[components.TxResponse](../../models/components/txresponse.md)\>**
|
|
664
664
|
|
|
665
665
|
### Errors
|
|
666
666
|
|
|
@@ -753,7 +753,7 @@ run();
|
|
|
753
753
|
|
|
754
754
|
### Response
|
|
755
755
|
|
|
756
|
-
**Promise\<[components.
|
|
756
|
+
**Promise\<[components.TxResponse](../../models/components/txresponse.md)\>**
|
|
757
757
|
|
|
758
758
|
### Errors
|
|
759
759
|
|
|
@@ -846,7 +846,7 @@ run();
|
|
|
846
846
|
|
|
847
847
|
### Response
|
|
848
848
|
|
|
849
|
-
**Promise\<[components.
|
|
849
|
+
**Promise\<[components.TxResponse](../../models/components/txresponse.md)\>**
|
|
850
850
|
|
|
851
851
|
### Errors
|
|
852
852
|
|
|
@@ -934,7 +934,7 @@ run();
|
|
|
934
934
|
|
|
935
935
|
### Response
|
|
936
936
|
|
|
937
|
-
**Promise\<[components.
|
|
937
|
+
**Promise\<[components.TxResponse](../../models/components/txresponse.md)\>**
|
|
938
938
|
|
|
939
939
|
### Errors
|
|
940
940
|
|
|
@@ -1022,7 +1022,7 @@ run();
|
|
|
1022
1022
|
|
|
1023
1023
|
### Response
|
|
1024
1024
|
|
|
1025
|
-
**Promise\<[components.
|
|
1025
|
+
**Promise\<[components.TxResponse](../../models/components/txresponse.md)\>**
|
|
1026
1026
|
|
|
1027
1027
|
### Errors
|
|
1028
1028
|
|
|
@@ -1113,7 +1113,7 @@ run();
|
|
|
1113
1113
|
|
|
1114
1114
|
### Response
|
|
1115
1115
|
|
|
1116
|
-
**Promise\<[components.
|
|
1116
|
+
**Promise\<[components.TxResponse](../../models/components/txresponse.md)\>**
|
|
1117
1117
|
|
|
1118
1118
|
### Errors
|
|
1119
1119
|
|
|
@@ -1201,7 +1201,7 @@ run();
|
|
|
1201
1201
|
|
|
1202
1202
|
### Response
|
|
1203
1203
|
|
|
1204
|
-
**Promise\<[components.
|
|
1204
|
+
**Promise\<[components.TxResponse](../../models/components/txresponse.md)\>**
|
|
1205
1205
|
|
|
1206
1206
|
### Errors
|
|
1207
1207
|
|
package/docs/sdks/sky/README.md
CHANGED
|
@@ -166,7 +166,7 @@ run();
|
|
|
166
166
|
|
|
167
167
|
### Response
|
|
168
168
|
|
|
169
|
-
**Promise\<[components.
|
|
169
|
+
**Promise\<[components.TxResponse](../../models/components/txresponse.md)\>**
|
|
170
170
|
|
|
171
171
|
### Errors
|
|
172
172
|
|
|
@@ -253,7 +253,7 @@ run();
|
|
|
253
253
|
|
|
254
254
|
### Response
|
|
255
255
|
|
|
256
|
-
**Promise\<[components.
|
|
256
|
+
**Promise\<[components.TxResponse](../../models/components/txresponse.md)\>**
|
|
257
257
|
|
|
258
258
|
### Errors
|
|
259
259
|
|
|
@@ -334,7 +334,7 @@ run();
|
|
|
334
334
|
|
|
335
335
|
### Response
|
|
336
336
|
|
|
337
|
-
**Promise\<[components.
|
|
337
|
+
**Promise\<[components.TxResponse](../../models/components/txresponse.md)\>**
|
|
338
338
|
|
|
339
339
|
### Errors
|
|
340
340
|
|
|
@@ -413,7 +413,7 @@ run();
|
|
|
413
413
|
|
|
414
414
|
### Response
|
|
415
415
|
|
|
416
|
-
**Promise\<[components.
|
|
416
|
+
**Promise\<[components.TxResponse](../../models/components/txresponse.md)\>**
|
|
417
417
|
|
|
418
418
|
### Errors
|
|
419
419
|
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
# SmartAccount
|
|
2
|
+
(*smartAccount*)
|
|
3
|
+
|
|
4
|
+
## Overview
|
|
5
|
+
|
|
6
|
+
### Available Operations
|
|
7
|
+
|
|
8
|
+
* [accountBatchedUserOperations](#accountbatcheduseroperations) - Get Smart Account Batched User Operations
|
|
9
|
+
|
|
10
|
+
## accountBatchedUserOperations
|
|
11
|
+
|
|
12
|
+
Generate a list of user operations for smart account batching.
|
|
13
|
+
|
|
14
|
+
### Example Usage
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { CompassApiSDK } from "@compass-labs/api-sdk";
|
|
18
|
+
|
|
19
|
+
const compassApiSDK = new CompassApiSDK({
|
|
20
|
+
apiKeyAuth: "<YOUR_API_KEY_HERE>",
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
async function run() {
|
|
24
|
+
const result = await compassApiSDK.smartAccount.accountBatchedUserOperations({
|
|
25
|
+
chain: "base:mainnet",
|
|
26
|
+
operations: [
|
|
27
|
+
{
|
|
28
|
+
actionType: "ALLOWANCE_INCREASE",
|
|
29
|
+
body: {
|
|
30
|
+
token: "WETH",
|
|
31
|
+
contractName: "UniswapV3Router",
|
|
32
|
+
amount: "1000",
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
],
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
// Handle the result
|
|
39
|
+
console.log(result);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
run();
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### Standalone function
|
|
46
|
+
|
|
47
|
+
The standalone function version of this method:
|
|
48
|
+
|
|
49
|
+
```typescript
|
|
50
|
+
import { CompassApiSDKCore } from "@compass-labs/api-sdk/core.js";
|
|
51
|
+
import { smartAccountAccountBatchedUserOperations } from "@compass-labs/api-sdk/funcs/smartAccountAccountBatchedUserOperations.js";
|
|
52
|
+
|
|
53
|
+
// Use `CompassApiSDKCore` for best tree-shaking performance.
|
|
54
|
+
// You can create one instance of it to use across an application.
|
|
55
|
+
const compassApiSDK = new CompassApiSDKCore({
|
|
56
|
+
apiKeyAuth: "<YOUR_API_KEY_HERE>",
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
async function run() {
|
|
60
|
+
const res = await smartAccountAccountBatchedUserOperations(compassApiSDK, {
|
|
61
|
+
chain: "base:mainnet",
|
|
62
|
+
operations: [
|
|
63
|
+
{
|
|
64
|
+
actionType: "ALLOWANCE_INCREASE",
|
|
65
|
+
body: {
|
|
66
|
+
token: "WETH",
|
|
67
|
+
contractName: "UniswapV3Router",
|
|
68
|
+
amount: "1000",
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
],
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
if (!res.ok) {
|
|
75
|
+
throw res.error;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
const { value: result } = res;
|
|
79
|
+
|
|
80
|
+
// Handle the result
|
|
81
|
+
console.log(result);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
run();
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
### Parameters
|
|
88
|
+
|
|
89
|
+
| Parameter | Type | Required | Description |
|
|
90
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
91
|
+
| `request` | [components.BatchedUserOperationsRequest](../../models/components/batcheduseroperationsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
92
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
93
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
94
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
95
|
+
|
|
96
|
+
### Response
|
|
97
|
+
|
|
98
|
+
**Promise\<[components.BatchedUserOperationsResponse](../../models/components/batcheduseroperationsresponse.md)\>**
|
|
99
|
+
|
|
100
|
+
### Errors
|
|
101
|
+
|
|
102
|
+
| Error Type | Status Code | Content Type |
|
|
103
|
+
| -------------------------- | -------------------------- | -------------------------- |
|
|
104
|
+
| errors.HTTPValidationError | 422 | application/json |
|
|
105
|
+
| errors.APIError | 4XX, 5XX | \*/\* |
|
|
@@ -125,14 +125,11 @@ async function run() {
|
|
|
125
125
|
},
|
|
126
126
|
actions: [
|
|
127
127
|
{
|
|
128
|
-
actionType: "
|
|
128
|
+
actionType: "ALLOWANCE_INCREASE",
|
|
129
129
|
body: {
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
amount: 1.5,
|
|
134
|
-
maxSlippagePercent: 0.5,
|
|
135
|
-
wrapEth: true,
|
|
130
|
+
token: "WETH",
|
|
131
|
+
contractName: "UniswapV3Router",
|
|
132
|
+
amount: "1000",
|
|
136
133
|
},
|
|
137
134
|
},
|
|
138
135
|
],
|
|
@@ -173,14 +170,11 @@ async function run() {
|
|
|
173
170
|
},
|
|
174
171
|
actions: [
|
|
175
172
|
{
|
|
176
|
-
actionType: "
|
|
173
|
+
actionType: "ALLOWANCE_INCREASE",
|
|
177
174
|
body: {
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
amount: 1.5,
|
|
182
|
-
maxSlippagePercent: 0.5,
|
|
183
|
-
wrapEth: true,
|
|
175
|
+
token: "WETH",
|
|
176
|
+
contractName: "UniswapV3Router",
|
|
177
|
+
amount: "1000",
|
|
184
178
|
},
|
|
185
179
|
},
|
|
186
180
|
],
|
|
@@ -259,7 +253,7 @@ async function run() {
|
|
|
259
253
|
collateralAmount: "1000",
|
|
260
254
|
loopCount: 2,
|
|
261
255
|
maxSlippagePercent: 2.5,
|
|
262
|
-
loanToValue:
|
|
256
|
+
loanToValue: 20.5,
|
|
263
257
|
});
|
|
264
258
|
|
|
265
259
|
// Handle the result
|
|
@@ -300,7 +294,7 @@ async function run() {
|
|
|
300
294
|
collateralAmount: "1000",
|
|
301
295
|
loopCount: 2,
|
|
302
296
|
maxSlippagePercent: 2.5,
|
|
303
|
-
loanToValue:
|
|
297
|
+
loanToValue: 20.5,
|
|
304
298
|
});
|
|
305
299
|
|
|
306
300
|
if (!res.ok) {
|
|
@@ -534,7 +534,7 @@ run();
|
|
|
534
534
|
|
|
535
535
|
### Response
|
|
536
536
|
|
|
537
|
-
**Promise\<[components.
|
|
537
|
+
**Promise\<[components.TxResponse](../../models/components/txresponse.md)\>**
|
|
538
538
|
|
|
539
539
|
### Errors
|
|
540
540
|
|
|
@@ -629,7 +629,7 @@ run();
|
|
|
629
629
|
|
|
630
630
|
### Response
|
|
631
631
|
|
|
632
|
-
**Promise\<[components.
|
|
632
|
+
**Promise\<[components.TxResponse](../../models/components/txresponse.md)\>**
|
|
633
633
|
|
|
634
634
|
### Errors
|
|
635
635
|
|
|
@@ -726,7 +726,7 @@ run();
|
|
|
726
726
|
|
|
727
727
|
### Response
|
|
728
728
|
|
|
729
|
-
**Promise\<[components.
|
|
729
|
+
**Promise\<[components.TxResponse](../../models/components/txresponse.md)\>**
|
|
730
730
|
|
|
731
731
|
### Errors
|
|
732
732
|
|
|
@@ -833,7 +833,7 @@ run();
|
|
|
833
833
|
|
|
834
834
|
### Response
|
|
835
835
|
|
|
836
|
-
**Promise\<[components.
|
|
836
|
+
**Promise\<[components.TxResponse](../../models/components/txresponse.md)\>**
|
|
837
837
|
|
|
838
838
|
### Errors
|
|
839
839
|
|
|
@@ -867,7 +867,7 @@ const compassApiSDK = new CompassApiSDK({
|
|
|
867
867
|
async function run() {
|
|
868
868
|
const result = await compassApiSDK.uniswapV3.liquidityProvisionWithdraw({
|
|
869
869
|
tokenId: 719537,
|
|
870
|
-
percentageForWithdrawal: "
|
|
870
|
+
percentageForWithdrawal: "25",
|
|
871
871
|
chain: "arbitrum:mainnet",
|
|
872
872
|
sender: "0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B",
|
|
873
873
|
});
|
|
@@ -896,7 +896,7 @@ const compassApiSDK = new CompassApiSDKCore({
|
|
|
896
896
|
async function run() {
|
|
897
897
|
const res = await uniswapV3LiquidityProvisionWithdraw(compassApiSDK, {
|
|
898
898
|
tokenId: 719537,
|
|
899
|
-
percentageForWithdrawal: "
|
|
899
|
+
percentageForWithdrawal: "25",
|
|
900
900
|
chain: "arbitrum:mainnet",
|
|
901
901
|
sender: "0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B",
|
|
902
902
|
});
|
|
@@ -925,7 +925,7 @@ run();
|
|
|
925
925
|
|
|
926
926
|
### Response
|
|
927
927
|
|
|
928
|
-
**Promise\<[components.
|
|
928
|
+
**Promise\<[components.TxResponse](../../models/components/txresponse.md)\>**
|
|
929
929
|
|
|
930
930
|
### Errors
|
|
931
931
|
|
|
@@ -492,7 +492,7 @@ run();
|
|
|
492
492
|
|
|
493
493
|
### Response
|
|
494
494
|
|
|
495
|
-
**Promise\<[components.
|
|
495
|
+
**Promise\<[components.TxResponse](../../models/components/txresponse.md)\>**
|
|
496
496
|
|
|
497
497
|
### Errors
|
|
498
498
|
|
|
@@ -574,7 +574,7 @@ run();
|
|
|
574
574
|
|
|
575
575
|
### Response
|
|
576
576
|
|
|
577
|
-
**Promise\<[components.
|
|
577
|
+
**Promise\<[components.TxResponse](../../models/components/txresponse.md)\>**
|
|
578
578
|
|
|
579
579
|
### Errors
|
|
580
580
|
|
|
@@ -665,7 +665,7 @@ run();
|
|
|
665
665
|
|
|
666
666
|
### Response
|
|
667
667
|
|
|
668
|
-
**Promise\<[components.
|
|
668
|
+
**Promise\<[components.TxResponse](../../models/components/txresponse.md)\>**
|
|
669
669
|
|
|
670
670
|
### Errors
|
|
671
671
|
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -39,7 +39,7 @@ export function aaveV3Borrow(
|
|
|
39
39
|
options?: RequestOptions,
|
|
40
40
|
): APIPromise<
|
|
41
41
|
Result<
|
|
42
|
-
components.
|
|
42
|
+
components.TxResponse,
|
|
43
43
|
| errors.HTTPValidationError
|
|
44
44
|
| APIError
|
|
45
45
|
| SDKValidationError
|
|
@@ -64,7 +64,7 @@ async function $do(
|
|
|
64
64
|
): Promise<
|
|
65
65
|
[
|
|
66
66
|
Result<
|
|
67
|
-
components.
|
|
67
|
+
components.TxResponse,
|
|
68
68
|
| errors.HTTPValidationError
|
|
69
69
|
| APIError
|
|
70
70
|
| SDKValidationError
|
|
@@ -143,7 +143,7 @@ async function $do(
|
|
|
143
143
|
};
|
|
144
144
|
|
|
145
145
|
const [result] = await M.match<
|
|
146
|
-
components.
|
|
146
|
+
components.TxResponse,
|
|
147
147
|
| errors.HTTPValidationError
|
|
148
148
|
| APIError
|
|
149
149
|
| SDKValidationError
|
|
@@ -153,7 +153,7 @@ async function $do(
|
|
|
153
153
|
| RequestTimeoutError
|
|
154
154
|
| ConnectionError
|
|
155
155
|
>(
|
|
156
|
-
M.json(200, components.
|
|
156
|
+
M.json(200, components.TxResponse$inboundSchema),
|
|
157
157
|
M.jsonErr(422, errors.HTTPValidationError$inboundSchema),
|
|
158
158
|
M.fail("4XX"),
|
|
159
159
|
M.fail("5XX"),
|
package/src/funcs/aaveV3Repay.ts
CHANGED
|
@@ -43,7 +43,7 @@ export function aaveV3Repay(
|
|
|
43
43
|
options?: RequestOptions,
|
|
44
44
|
): APIPromise<
|
|
45
45
|
Result<
|
|
46
|
-
components.
|
|
46
|
+
components.TxResponse,
|
|
47
47
|
| errors.HTTPValidationError
|
|
48
48
|
| APIError
|
|
49
49
|
| SDKValidationError
|
|
@@ -68,7 +68,7 @@ async function $do(
|
|
|
68
68
|
): Promise<
|
|
69
69
|
[
|
|
70
70
|
Result<
|
|
71
|
-
components.
|
|
71
|
+
components.TxResponse,
|
|
72
72
|
| errors.HTTPValidationError
|
|
73
73
|
| APIError
|
|
74
74
|
| SDKValidationError
|
|
@@ -147,7 +147,7 @@ async function $do(
|
|
|
147
147
|
};
|
|
148
148
|
|
|
149
149
|
const [result] = await M.match<
|
|
150
|
-
components.
|
|
150
|
+
components.TxResponse,
|
|
151
151
|
| errors.HTTPValidationError
|
|
152
152
|
| APIError
|
|
153
153
|
| SDKValidationError
|
|
@@ -157,7 +157,7 @@ async function $do(
|
|
|
157
157
|
| RequestTimeoutError
|
|
158
158
|
| ConnectionError
|
|
159
159
|
>(
|
|
160
|
-
M.json(200, components.
|
|
160
|
+
M.json(200, components.TxResponse$inboundSchema),
|
|
161
161
|
M.jsonErr(422, errors.HTTPValidationError$inboundSchema),
|
|
162
162
|
M.fail("4XX"),
|
|
163
163
|
M.fail("5XX"),
|
|
@@ -44,7 +44,7 @@ export function aaveV3Supply(
|
|
|
44
44
|
options?: RequestOptions,
|
|
45
45
|
): APIPromise<
|
|
46
46
|
Result<
|
|
47
|
-
components.
|
|
47
|
+
components.TxResponse,
|
|
48
48
|
| errors.HTTPValidationError
|
|
49
49
|
| APIError
|
|
50
50
|
| SDKValidationError
|
|
@@ -69,7 +69,7 @@ async function $do(
|
|
|
69
69
|
): Promise<
|
|
70
70
|
[
|
|
71
71
|
Result<
|
|
72
|
-
components.
|
|
72
|
+
components.TxResponse,
|
|
73
73
|
| errors.HTTPValidationError
|
|
74
74
|
| APIError
|
|
75
75
|
| SDKValidationError
|
|
@@ -148,7 +148,7 @@ async function $do(
|
|
|
148
148
|
};
|
|
149
149
|
|
|
150
150
|
const [result] = await M.match<
|
|
151
|
-
components.
|
|
151
|
+
components.TxResponse,
|
|
152
152
|
| errors.HTTPValidationError
|
|
153
153
|
| APIError
|
|
154
154
|
| SDKValidationError
|
|
@@ -158,7 +158,7 @@ async function $do(
|
|
|
158
158
|
| RequestTimeoutError
|
|
159
159
|
| ConnectionError
|
|
160
160
|
>(
|
|
161
|
-
M.json(200, components.
|
|
161
|
+
M.json(200, components.TxResponse$inboundSchema),
|
|
162
162
|
M.jsonErr(422, errors.HTTPValidationError$inboundSchema),
|
|
163
163
|
M.fail("4XX"),
|
|
164
164
|
M.fail("5XX"),
|
|
@@ -44,7 +44,7 @@ export function aaveV3Withdraw(
|
|
|
44
44
|
options?: RequestOptions,
|
|
45
45
|
): APIPromise<
|
|
46
46
|
Result<
|
|
47
|
-
components.
|
|
47
|
+
components.TxResponse,
|
|
48
48
|
| errors.HTTPValidationError
|
|
49
49
|
| APIError
|
|
50
50
|
| SDKValidationError
|
|
@@ -69,7 +69,7 @@ async function $do(
|
|
|
69
69
|
): Promise<
|
|
70
70
|
[
|
|
71
71
|
Result<
|
|
72
|
-
components.
|
|
72
|
+
components.TxResponse,
|
|
73
73
|
| errors.HTTPValidationError
|
|
74
74
|
| APIError
|
|
75
75
|
| SDKValidationError
|
|
@@ -148,7 +148,7 @@ async function $do(
|
|
|
148
148
|
};
|
|
149
149
|
|
|
150
150
|
const [result] = await M.match<
|
|
151
|
-
components.
|
|
151
|
+
components.TxResponse,
|
|
152
152
|
| errors.HTTPValidationError
|
|
153
153
|
| APIError
|
|
154
154
|
| SDKValidationError
|
|
@@ -158,7 +158,7 @@ async function $do(
|
|
|
158
158
|
| RequestTimeoutError
|
|
159
159
|
| ConnectionError
|
|
160
160
|
>(
|
|
161
|
-
M.json(200, components.
|
|
161
|
+
M.json(200, components.TxResponse$inboundSchema),
|
|
162
162
|
M.jsonErr(422, errors.HTTPValidationError$inboundSchema),
|
|
163
163
|
M.fail("4XX"),
|
|
164
164
|
M.fail("5XX"),
|
|
@@ -46,7 +46,7 @@ export function aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease(
|
|
|
46
46
|
options?: RequestOptions,
|
|
47
47
|
): APIPromise<
|
|
48
48
|
Result<
|
|
49
|
-
components.
|
|
49
|
+
components.TxResponse,
|
|
50
50
|
| errors.HTTPValidationError
|
|
51
51
|
| APIError
|
|
52
52
|
| SDKValidationError
|
|
@@ -71,7 +71,7 @@ async function $do(
|
|
|
71
71
|
): Promise<
|
|
72
72
|
[
|
|
73
73
|
Result<
|
|
74
|
-
components.
|
|
74
|
+
components.TxResponse,
|
|
75
75
|
| errors.HTTPValidationError
|
|
76
76
|
| APIError
|
|
77
77
|
| SDKValidationError
|
|
@@ -155,7 +155,7 @@ async function $do(
|
|
|
155
155
|
};
|
|
156
156
|
|
|
157
157
|
const [result] = await M.match<
|
|
158
|
-
components.
|
|
158
|
+
components.TxResponse,
|
|
159
159
|
| errors.HTTPValidationError
|
|
160
160
|
| APIError
|
|
161
161
|
| SDKValidationError
|
|
@@ -165,7 +165,7 @@ async function $do(
|
|
|
165
165
|
| RequestTimeoutError
|
|
166
166
|
| ConnectionError
|
|
167
167
|
>(
|
|
168
|
-
M.json(200, components.
|
|
168
|
+
M.json(200, components.TxResponse$inboundSchema),
|
|
169
169
|
M.jsonErr(422, errors.HTTPValidationError$inboundSchema),
|
|
170
170
|
M.fail("4XX"),
|
|
171
171
|
M.fail("5XX"),
|
|
@@ -44,7 +44,7 @@ export function aerodromeSlipstreamSlipstreamLiquidityProvisionMint(
|
|
|
44
44
|
options?: RequestOptions,
|
|
45
45
|
): APIPromise<
|
|
46
46
|
Result<
|
|
47
|
-
components.
|
|
47
|
+
components.TxResponse,
|
|
48
48
|
| errors.HTTPValidationError
|
|
49
49
|
| APIError
|
|
50
50
|
| SDKValidationError
|
|
@@ -69,7 +69,7 @@ async function $do(
|
|
|
69
69
|
): Promise<
|
|
70
70
|
[
|
|
71
71
|
Result<
|
|
72
|
-
components.
|
|
72
|
+
components.TxResponse,
|
|
73
73
|
| errors.HTTPValidationError
|
|
74
74
|
| APIError
|
|
75
75
|
| SDKValidationError
|
|
@@ -152,7 +152,7 @@ async function $do(
|
|
|
152
152
|
};
|
|
153
153
|
|
|
154
154
|
const [result] = await M.match<
|
|
155
|
-
components.
|
|
155
|
+
components.TxResponse,
|
|
156
156
|
| errors.HTTPValidationError
|
|
157
157
|
| APIError
|
|
158
158
|
| SDKValidationError
|
|
@@ -162,7 +162,7 @@ async function $do(
|
|
|
162
162
|
| RequestTimeoutError
|
|
163
163
|
| ConnectionError
|
|
164
164
|
>(
|
|
165
|
-
M.json(200, components.
|
|
165
|
+
M.json(200, components.TxResponse$inboundSchema),
|
|
166
166
|
M.jsonErr(422, errors.HTTPValidationError$inboundSchema),
|
|
167
167
|
M.fail("4XX"),
|
|
168
168
|
M.fail("5XX"),
|
|
@@ -46,7 +46,7 @@ export function aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw(
|
|
|
46
46
|
options?: RequestOptions,
|
|
47
47
|
): APIPromise<
|
|
48
48
|
Result<
|
|
49
|
-
components.
|
|
49
|
+
components.TxResponse,
|
|
50
50
|
| errors.HTTPValidationError
|
|
51
51
|
| APIError
|
|
52
52
|
| SDKValidationError
|
|
@@ -71,7 +71,7 @@ async function $do(
|
|
|
71
71
|
): Promise<
|
|
72
72
|
[
|
|
73
73
|
Result<
|
|
74
|
-
components.
|
|
74
|
+
components.TxResponse,
|
|
75
75
|
| errors.HTTPValidationError
|
|
76
76
|
| APIError
|
|
77
77
|
| SDKValidationError
|
|
@@ -155,7 +155,7 @@ async function $do(
|
|
|
155
155
|
};
|
|
156
156
|
|
|
157
157
|
const [result] = await M.match<
|
|
158
|
-
components.
|
|
158
|
+
components.TxResponse,
|
|
159
159
|
| errors.HTTPValidationError
|
|
160
160
|
| APIError
|
|
161
161
|
| SDKValidationError
|
|
@@ -165,7 +165,7 @@ async function $do(
|
|
|
165
165
|
| RequestTimeoutError
|
|
166
166
|
| ConnectionError
|
|
167
167
|
>(
|
|
168
|
-
M.json(200, components.
|
|
168
|
+
M.json(200, components.TxResponse$inboundSchema),
|
|
169
169
|
M.jsonErr(422, errors.HTTPValidationError$inboundSchema),
|
|
170
170
|
M.fail("4XX"),
|
|
171
171
|
M.fail("5XX"),
|
|
@@ -45,7 +45,7 @@ export function aerodromeSlipstreamSlipstreamSwapBuyExactly(
|
|
|
45
45
|
options?: RequestOptions,
|
|
46
46
|
): APIPromise<
|
|
47
47
|
Result<
|
|
48
|
-
components.
|
|
48
|
+
components.TxResponse,
|
|
49
49
|
| errors.HTTPValidationError
|
|
50
50
|
| APIError
|
|
51
51
|
| SDKValidationError
|
|
@@ -70,7 +70,7 @@ async function $do(
|
|
|
70
70
|
): Promise<
|
|
71
71
|
[
|
|
72
72
|
Result<
|
|
73
|
-
components.
|
|
73
|
+
components.TxResponse,
|
|
74
74
|
| errors.HTTPValidationError
|
|
75
75
|
| APIError
|
|
76
76
|
| SDKValidationError
|
|
@@ -152,7 +152,7 @@ async function $do(
|
|
|
152
152
|
};
|
|
153
153
|
|
|
154
154
|
const [result] = await M.match<
|
|
155
|
-
components.
|
|
155
|
+
components.TxResponse,
|
|
156
156
|
| errors.HTTPValidationError
|
|
157
157
|
| APIError
|
|
158
158
|
| SDKValidationError
|
|
@@ -162,7 +162,7 @@ async function $do(
|
|
|
162
162
|
| RequestTimeoutError
|
|
163
163
|
| ConnectionError
|
|
164
164
|
>(
|
|
165
|
-
M.json(200, components.
|
|
165
|
+
M.json(200, components.TxResponse$inboundSchema),
|
|
166
166
|
M.jsonErr(422, errors.HTTPValidationError$inboundSchema),
|
|
167
167
|
M.fail("4XX"),
|
|
168
168
|
M.fail("5XX"),
|