@compass-labs/api-sdk 0.0.6 → 0.0.8
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 +8 -9
- package/bin/mcp-server.js +2492 -1171
- package/bin/mcp-server.js.map +71 -47
- package/dist/commonjs/funcs/transactionBatchingAuthorization.d.ts +22 -0
- package/dist/commonjs/funcs/transactionBatchingAuthorization.d.ts.map +1 -0
- package/dist/commonjs/funcs/{universalTransferErc20.js → transactionBatchingAuthorization.js} +14 -9
- package/dist/commonjs/funcs/transactionBatchingAuthorization.js.map +1 -0
- package/dist/commonjs/funcs/transactionBatchingExecute.d.ts +22 -0
- package/dist/commonjs/funcs/transactionBatchingExecute.d.ts.map +1 -0
- package/dist/commonjs/funcs/{universalTransferNativeToken.js → transactionBatchingExecute.js} +14 -9
- package/dist/commonjs/funcs/transactionBatchingExecute.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.d.ts.map +1 -1
- package/dist/commonjs/lib/config.js +4 -4
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/server.js +5 -9
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/transactionBatchingAuthorization.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/transactionBatchingAuthorization.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{universalTransferErc20.js → transactionBatchingAuthorization.js} +14 -9
- package/dist/commonjs/mcp-server/tools/transactionBatchingAuthorization.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/transactionBatchingExecute.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/transactionBatchingExecute.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{universalTransferNativeToken.js → transactionBatchingExecute.js} +14 -9
- package/dist/commonjs/mcp-server/tools/transactionBatchingExecute.js.map +1 -0
- package/dist/commonjs/models/components/aaveborrowparams.d.ts +82 -0
- package/dist/commonjs/models/components/aaveborrowparams.d.ts.map +1 -0
- package/dist/commonjs/models/components/aaveborrowparams.js +111 -0
- package/dist/commonjs/models/components/aaveborrowparams.js.map +1 -0
- package/dist/commonjs/models/components/aaverepayparams.d.ts +82 -0
- package/dist/commonjs/models/components/aaverepayparams.d.ts.map +1 -0
- package/dist/commonjs/models/components/aaverepayparams.js +111 -0
- package/dist/commonjs/models/components/aaverepayparams.js.map +1 -0
- package/dist/commonjs/models/components/aavesupplyparams.d.ts +72 -0
- package/dist/commonjs/models/components/aavesupplyparams.d.ts.map +1 -0
- package/dist/commonjs/models/components/aavesupplyparams.js +106 -0
- package/dist/commonjs/models/components/aavesupplyparams.js.map +1 -0
- package/dist/commonjs/models/components/aavewithdrawparams.d.ts +72 -0
- package/dist/commonjs/models/components/aavewithdrawparams.d.ts.map +1 -0
- package/dist/commonjs/models/components/aavewithdrawparams.js +97 -0
- package/dist/commonjs/models/components/aavewithdrawparams.js.map +1 -0
- package/dist/commonjs/models/components/aerodromeaddliquidityethparams.d.ts +177 -0
- package/dist/commonjs/models/components/aerodromeaddliquidityethparams.d.ts.map +1 -0
- package/dist/commonjs/models/components/aerodromeaddliquidityethparams.js +191 -0
- package/dist/commonjs/models/components/aerodromeaddliquidityethparams.js.map +1 -0
- package/dist/commonjs/models/components/aerodromeaddliquidityparams.d.ts +186 -0
- package/dist/commonjs/models/components/aerodromeaddliquidityparams.d.ts.map +1 -0
- package/dist/commonjs/models/components/aerodromeaddliquidityparams.js +197 -0
- package/dist/commonjs/models/components/aerodromeaddliquidityparams.js.map +1 -0
- package/dist/commonjs/models/components/aerodromeremoveliquidityethrequest.d.ts +151 -0
- package/dist/commonjs/models/components/aerodromeremoveliquidityethrequest.d.ts.map +1 -0
- package/dist/commonjs/models/components/aerodromeremoveliquidityethrequest.js +167 -0
- package/dist/commonjs/models/components/aerodromeremoveliquidityethrequest.js.map +1 -0
- package/dist/commonjs/models/components/aerodromeremoveliquidityrequest.d.ts +161 -0
- package/dist/commonjs/models/components/aerodromeremoveliquidityrequest.d.ts.map +1 -0
- package/dist/commonjs/models/components/aerodromeremoveliquidityrequest.js +173 -0
- package/dist/commonjs/models/components/aerodromeremoveliquidityrequest.js.map +1 -0
- package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyparams.d.ts +114 -0
- package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyparams.d.ts.map +1 -0
- package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyparams.js +141 -0
- package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyparams.js.map +1 -0
- package/dist/commonjs/models/components/aerodromeslipstreamincreaseliquidityprovisionparams.d.ts +156 -0
- package/dist/commonjs/models/components/aerodromeslipstreamincreaseliquidityprovisionparams.d.ts.map +1 -0
- package/dist/commonjs/models/components/aerodromeslipstreamincreaseliquidityprovisionparams.js +194 -0
- package/dist/commonjs/models/components/aerodromeslipstreamincreaseliquidityprovisionparams.js.map +1 -0
- package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionparams.d.ts +187 -0
- package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionparams.d.ts.map +1 -0
- package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionparams.js +209 -0
- package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionparams.js.map +1 -0
- package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyparams.d.ts +114 -0
- package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyparams.d.ts.map +1 -0
- package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyparams.js +141 -0
- package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyparams.js.map +1 -0
- package/dist/commonjs/models/components/aerodromeslipstreamwithdrawliquidityprovisionparams.d.ts +69 -0
- package/dist/commonjs/models/components/aerodromeslipstreamwithdrawliquidityprovisionparams.d.ts.map +1 -0
- package/dist/commonjs/models/components/aerodromeslipstreamwithdrawliquidityprovisionparams.js +107 -0
- package/dist/commonjs/models/components/aerodromeslipstreamwithdrawliquidityprovisionparams.js.map +1 -0
- package/dist/commonjs/models/components/aerodromeswapethfortokenparams.d.ts +109 -0
- package/dist/commonjs/models/components/aerodromeswapethfortokenparams.d.ts.map +1 -0
- package/dist/commonjs/models/components/aerodromeswapethfortokenparams.js +137 -0
- package/dist/commonjs/models/components/aerodromeswapethfortokenparams.js.map +1 -0
- package/dist/commonjs/models/components/aerodromeswaptokenforethparams.d.ts +109 -0
- package/dist/commonjs/models/components/aerodromeswaptokenforethparams.d.ts.map +1 -0
- package/dist/commonjs/models/components/aerodromeswaptokenforethparams.js +137 -0
- package/dist/commonjs/models/components/aerodromeswaptokenforethparams.js.map +1 -0
- package/dist/commonjs/models/components/aerodromeswaptokensparams.d.ts +128 -0
- package/dist/commonjs/models/components/aerodromeswaptokensparams.d.ts.map +1 -0
- package/dist/commonjs/models/components/aerodromeswaptokensparams.js +141 -0
- package/dist/commonjs/models/components/aerodromeswaptokensparams.js.map +1 -0
- package/dist/commonjs/models/components/chain.d.ts +9 -0
- package/dist/commonjs/models/components/chain.d.ts.map +1 -1
- package/dist/commonjs/models/components/chain.js +3 -0
- package/dist/commonjs/models/components/chain.js.map +1 -1
- package/dist/commonjs/models/components/contractname.d.ts +96 -0
- package/dist/commonjs/models/components/contractname.d.ts.map +1 -0
- package/dist/commonjs/models/components/contractname.js +85 -0
- package/dist/commonjs/models/components/contractname.js.map +1 -0
- package/dist/commonjs/models/components/increaseallowanceanyparams.d.ts +83 -0
- package/dist/commonjs/models/components/increaseallowanceanyparams.d.ts.map +1 -0
- package/dist/commonjs/models/components/increaseallowanceanyparams.js +107 -0
- package/dist/commonjs/models/components/increaseallowanceanyparams.js.map +1 -0
- package/dist/commonjs/models/components/increaseallowanceparams.d.ts +122 -0
- package/dist/commonjs/models/components/increaseallowanceparams.d.ts.map +1 -0
- package/dist/commonjs/models/components/increaseallowanceparams.js +133 -0
- package/dist/commonjs/models/components/increaseallowanceparams.js.map +1 -0
- package/dist/commonjs/models/components/increaseallowancerequest.d.ts +8 -8
- package/dist/commonjs/models/components/increaseallowancerequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/increaseallowancerequest.js +13 -13
- package/dist/commonjs/models/components/increaseallowancerequest.js.map +1 -1
- package/dist/commonjs/models/components/index.d.ts +34 -4
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +34 -4
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/multicallaction.d.ts +79 -0
- package/dist/commonjs/models/components/multicallaction.d.ts.map +1 -0
- package/dist/commonjs/models/components/multicallaction.js +239 -0
- package/dist/commonjs/models/components/multicallaction.js.map +1 -0
- package/dist/commonjs/models/components/multicallactiontype.d.ts +100 -0
- package/dist/commonjs/models/components/multicallactiontype.d.ts.map +1 -0
- package/dist/commonjs/models/components/multicallactiontype.js +84 -0
- package/dist/commonjs/models/components/multicallactiontype.js.map +1 -0
- package/dist/commonjs/models/components/multicallauthorizationrequest.d.ts +52 -0
- package/dist/commonjs/models/components/multicallauthorizationrequest.d.ts.map +1 -0
- package/dist/commonjs/models/components/{priceresponse.js → multicallauthorizationrequest.js} +24 -28
- package/dist/commonjs/models/components/multicallauthorizationrequest.js.map +1 -0
- package/dist/commonjs/models/components/multicallauthorizationresponse.d.ts +45 -0
- package/dist/commonjs/models/components/multicallauthorizationresponse.d.ts.map +1 -0
- package/dist/commonjs/models/components/multicallauthorizationresponse.js +73 -0
- package/dist/commonjs/models/components/multicallauthorizationresponse.js.map +1 -0
- package/dist/commonjs/models/components/multicallexecuterequest.d.ts +55 -0
- package/dist/commonjs/models/components/multicallexecuterequest.d.ts.map +1 -0
- package/dist/commonjs/models/components/multicallexecuterequest.js +91 -0
- package/dist/commonjs/models/components/multicallexecuterequest.js.map +1 -0
- package/dist/commonjs/models/components/signedauthorization.d.ts +81 -0
- package/dist/commonjs/models/components/signedauthorization.d.ts.map +1 -0
- package/dist/commonjs/models/components/signedauthorization.js +131 -0
- package/dist/commonjs/models/components/signedauthorization.js.map +1 -0
- package/dist/commonjs/models/components/tokentransfererc20params.d.ts +75 -0
- package/dist/commonjs/models/components/tokentransfererc20params.d.ts.map +1 -0
- package/dist/commonjs/models/components/tokentransfererc20params.js +97 -0
- package/dist/commonjs/models/components/tokentransfererc20params.js.map +1 -0
- package/dist/commonjs/models/components/uniswapbuyexactlyparams.d.ts +121 -0
- package/dist/commonjs/models/components/uniswapbuyexactlyparams.d.ts.map +1 -0
- package/dist/commonjs/models/components/uniswapbuyexactlyparams.js +144 -0
- package/dist/commonjs/models/components/uniswapbuyexactlyparams.js.map +1 -0
- package/dist/commonjs/models/components/uniswapincreaseliquidityprovisionparams.d.ts +148 -0
- package/dist/commonjs/models/components/uniswapincreaseliquidityprovisionparams.d.ts.map +1 -0
- package/dist/commonjs/models/components/uniswapincreaseliquidityprovisionparams.js +186 -0
- package/dist/commonjs/models/components/uniswapincreaseliquidityprovisionparams.js.map +1 -0
- package/dist/commonjs/models/components/uniswapmintliquidityprovisionparams.d.ts +189 -0
- package/dist/commonjs/models/components/uniswapmintliquidityprovisionparams.d.ts.map +1 -0
- package/dist/commonjs/models/components/uniswapmintliquidityprovisionparams.js +200 -0
- package/dist/commonjs/models/components/uniswapmintliquidityprovisionparams.js.map +1 -0
- package/dist/commonjs/models/components/uniswapsellexactlyparams.d.ts +124 -0
- package/dist/commonjs/models/components/uniswapsellexactlyparams.d.ts.map +1 -0
- package/dist/commonjs/models/components/uniswapsellexactlyparams.js +144 -0
- package/dist/commonjs/models/components/uniswapsellexactlyparams.js.map +1 -0
- package/dist/commonjs/models/components/uniswapwithdrawliquidityprovisionparams.d.ts +69 -0
- package/dist/commonjs/models/components/uniswapwithdrawliquidityprovisionparams.d.ts.map +1 -0
- package/dist/commonjs/models/components/uniswapwithdrawliquidityprovisionparams.js +107 -0
- package/dist/commonjs/models/components/uniswapwithdrawliquidityprovisionparams.js.map +1 -0
- package/dist/commonjs/models/components/unsignedmulticalltransaction.d.ts +78 -0
- package/dist/commonjs/models/components/unsignedmulticalltransaction.d.ts.map +1 -0
- package/dist/commonjs/models/components/unsignedmulticalltransaction.js +88 -0
- package/dist/commonjs/models/components/unsignedmulticalltransaction.js.map +1 -0
- package/dist/commonjs/models/components/unwrapwethparams.d.ts +59 -0
- package/dist/commonjs/models/components/unwrapwethparams.d.ts.map +1 -0
- package/dist/commonjs/models/components/unwrapwethparams.js +92 -0
- package/dist/commonjs/models/components/unwrapwethparams.js.map +1 -0
- package/dist/commonjs/models/components/wrapethparams.d.ts +59 -0
- package/dist/commonjs/models/components/wrapethparams.d.ts.map +1 -0
- package/dist/commonjs/models/components/wrapethparams.js +92 -0
- package/dist/commonjs/models/components/wrapethparams.js.map +1 -0
- package/dist/commonjs/models/operations/aaveliquiditychange.d.ts +9 -0
- package/dist/commonjs/models/operations/aaveliquiditychange.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aaveliquiditychange.js +3 -0
- package/dist/commonjs/models/operations/aaveliquiditychange.js.map +1 -1
- package/dist/commonjs/models/operations/aavetokenprice.d.ts +9 -0
- package/dist/commonjs/models/operations/aavetokenprice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aavetokenprice.js +3 -0
- package/dist/commonjs/models/operations/aavetokenprice.js.map +1 -1
- package/dist/commonjs/models/operations/aaveuserpositionpertoken.d.ts +9 -0
- package/dist/commonjs/models/operations/aaveuserpositionpertoken.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aaveuserpositionpertoken.js +3 -0
- package/dist/commonjs/models/operations/aaveuserpositionpertoken.js.map +1 -1
- package/dist/commonjs/models/operations/aaveuserpositionsummary.d.ts +9 -0
- package/dist/commonjs/models/operations/aaveuserpositionsummary.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aaveuserpositionsummary.js +3 -0
- package/dist/commonjs/models/operations/aaveuserpositionsummary.js.map +1 -1
- package/dist/commonjs/models/operations/aerodromeslipstreamliquidityprovisionpositions.d.ts +9 -0
- package/dist/commonjs/models/operations/aerodromeslipstreamliquidityprovisionpositions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aerodromeslipstreamliquidityprovisionpositions.js +3 -0
- package/dist/commonjs/models/operations/aerodromeslipstreamliquidityprovisionpositions.js.map +1 -1
- package/dist/commonjs/models/operations/aerodromeslipstreampoolprice.d.ts +9 -0
- package/dist/commonjs/models/operations/aerodromeslipstreampoolprice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aerodromeslipstreampoolprice.js +3 -0
- package/dist/commonjs/models/operations/aerodromeslipstreampoolprice.js.map +1 -1
- package/dist/commonjs/models/operations/genericallowance.d.ts +9 -0
- package/dist/commonjs/models/operations/genericallowance.d.ts.map +1 -1
- package/dist/commonjs/models/operations/genericallowance.js +3 -0
- package/dist/commonjs/models/operations/genericallowance.js.map +1 -1
- package/dist/commonjs/models/operations/genericens.d.ts +9 -0
- package/dist/commonjs/models/operations/genericens.d.ts.map +1 -1
- package/dist/commonjs/models/operations/genericens.js +3 -0
- package/dist/commonjs/models/operations/genericens.js.map +1 -1
- package/dist/commonjs/models/operations/genericportfolio.d.ts +9 -0
- package/dist/commonjs/models/operations/genericportfolio.d.ts.map +1 -1
- package/dist/commonjs/models/operations/genericportfolio.js +3 -0
- package/dist/commonjs/models/operations/genericportfolio.js.map +1 -1
- package/dist/commonjs/models/operations/genericsupportedtokens.d.ts +9 -0
- package/dist/commonjs/models/operations/genericsupportedtokens.d.ts.map +1 -1
- package/dist/commonjs/models/operations/genericsupportedtokens.js +3 -0
- package/dist/commonjs/models/operations/genericsupportedtokens.js.map +1 -1
- package/dist/commonjs/models/operations/genericvisualizeportfolio.d.ts +9 -0
- package/dist/commonjs/models/operations/genericvisualizeportfolio.d.ts.map +1 -1
- package/dist/commonjs/models/operations/genericvisualizeportfolio.js +3 -0
- package/dist/commonjs/models/operations/genericvisualizeportfolio.js.map +1 -1
- package/dist/commonjs/models/operations/index.d.ts +0 -2
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +0 -2
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/morphomarketposition.d.ts +9 -0
- package/dist/commonjs/models/operations/morphomarketposition.d.ts.map +1 -1
- package/dist/commonjs/models/operations/morphomarketposition.js +3 -0
- package/dist/commonjs/models/operations/morphomarketposition.js.map +1 -1
- package/dist/commonjs/models/operations/morphomarkets.d.ts +9 -0
- package/dist/commonjs/models/operations/morphomarkets.d.ts.map +1 -1
- package/dist/commonjs/models/operations/morphomarkets.js +3 -0
- package/dist/commonjs/models/operations/morphomarkets.js.map +1 -1
- package/dist/commonjs/models/operations/morphovaultposition.d.ts +9 -0
- package/dist/commonjs/models/operations/morphovaultposition.d.ts.map +1 -1
- package/dist/commonjs/models/operations/morphovaultposition.js +3 -0
- package/dist/commonjs/models/operations/morphovaultposition.js.map +1 -1
- package/dist/commonjs/models/operations/morphovaults.d.ts +9 -0
- package/dist/commonjs/models/operations/morphovaults.d.ts.map +1 -1
- package/dist/commonjs/models/operations/morphovaults.js +3 -0
- package/dist/commonjs/models/operations/morphovaults.js.map +1 -1
- package/dist/commonjs/models/operations/tokenaddress.d.ts +9 -0
- package/dist/commonjs/models/operations/tokenaddress.d.ts.map +1 -1
- package/dist/commonjs/models/operations/tokenaddress.js +3 -0
- package/dist/commonjs/models/operations/tokenaddress.js.map +1 -1
- package/dist/commonjs/models/operations/tokenbalance.d.ts +9 -0
- package/dist/commonjs/models/operations/tokenbalance.d.ts.map +1 -1
- package/dist/commonjs/models/operations/tokenbalance.js +3 -0
- package/dist/commonjs/models/operations/tokenbalance.js.map +1 -1
- package/dist/commonjs/models/operations/tokenprice.d.ts +9 -0
- package/dist/commonjs/models/operations/tokenprice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/tokenprice.js +3 -0
- package/dist/commonjs/models/operations/tokenprice.js.map +1 -1
- package/dist/commonjs/models/operations/uniswapliquidityprovisioninrange.d.ts +9 -0
- package/dist/commonjs/models/operations/uniswapliquidityprovisioninrange.d.ts.map +1 -1
- package/dist/commonjs/models/operations/uniswapliquidityprovisioninrange.js +3 -0
- package/dist/commonjs/models/operations/uniswapliquidityprovisioninrange.js.map +1 -1
- package/dist/commonjs/models/operations/uniswapliquidityprovisionpositions.d.ts +9 -0
- package/dist/commonjs/models/operations/uniswapliquidityprovisionpositions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/uniswapliquidityprovisionpositions.js +3 -0
- package/dist/commonjs/models/operations/uniswapliquidityprovisionpositions.js.map +1 -1
- package/dist/commonjs/models/operations/uniswappoolprice.d.ts +9 -0
- package/dist/commonjs/models/operations/uniswappoolprice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/uniswappoolprice.js +3 -0
- package/dist/commonjs/models/operations/uniswappoolprice.js.map +1 -1
- package/dist/commonjs/models/operations/uniswapquotebuyexactly.d.ts +9 -0
- package/dist/commonjs/models/operations/uniswapquotebuyexactly.d.ts.map +1 -1
- package/dist/commonjs/models/operations/uniswapquotebuyexactly.js +3 -0
- package/dist/commonjs/models/operations/uniswapquotebuyexactly.js.map +1 -1
- package/dist/commonjs/models/operations/uniswapquotesellexactly.d.ts +9 -0
- package/dist/commonjs/models/operations/uniswapquotesellexactly.d.ts.map +1 -1
- package/dist/commonjs/models/operations/uniswapquotesellexactly.js +3 -0
- package/dist/commonjs/models/operations/uniswapquotesellexactly.js.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/transactionbatching.d.ts +29 -0
- package/dist/commonjs/sdk/transactionbatching.d.ts.map +1 -0
- package/dist/commonjs/sdk/transactionbatching.js +42 -0
- package/dist/commonjs/sdk/transactionbatching.js.map +1 -0
- package/dist/commonjs/sdk/universal.d.ts +0 -33
- package/dist/commonjs/sdk/universal.d.ts.map +1 -1
- package/dist/commonjs/sdk/universal.js +0 -45
- package/dist/commonjs/sdk/universal.js.map +1 -1
- package/dist/esm/funcs/transactionBatchingAuthorization.d.ts +22 -0
- package/dist/esm/funcs/transactionBatchingAuthorization.d.ts.map +1 -0
- package/dist/esm/funcs/{universalTransferNativeToken.js → transactionBatchingAuthorization.js} +13 -8
- package/dist/esm/funcs/transactionBatchingAuthorization.js.map +1 -0
- package/dist/esm/funcs/transactionBatchingExecute.d.ts +22 -0
- package/dist/esm/funcs/transactionBatchingExecute.d.ts.map +1 -0
- package/dist/esm/funcs/{universalTransferErc20.js → transactionBatchingExecute.js} +13 -8
- package/dist/esm/funcs/transactionBatchingExecute.js.map +1 -0
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.d.ts.map +1 -1
- package/dist/esm/lib/config.js +4 -4
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.d.ts.map +1 -1
- package/dist/esm/mcp-server/server.js +5 -9
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/transactionBatchingAuthorization.d.ts +8 -0
- package/dist/esm/mcp-server/tools/transactionBatchingAuthorization.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/transactionBatchingAuthorization.js +33 -0
- package/dist/esm/mcp-server/tools/transactionBatchingAuthorization.js.map +1 -0
- package/dist/esm/mcp-server/tools/transactionBatchingExecute.d.ts +8 -0
- package/dist/esm/mcp-server/tools/transactionBatchingExecute.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/transactionBatchingExecute.js +33 -0
- package/dist/esm/mcp-server/tools/transactionBatchingExecute.js.map +1 -0
- package/dist/esm/models/components/aaveborrowparams.d.ts +82 -0
- package/dist/esm/models/components/aaveborrowparams.d.ts.map +1 -0
- package/dist/esm/models/components/aaveborrowparams.js +71 -0
- package/dist/esm/models/components/aaveborrowparams.js.map +1 -0
- package/dist/esm/models/components/aaverepayparams.d.ts +82 -0
- package/dist/esm/models/components/aaverepayparams.d.ts.map +1 -0
- package/dist/esm/models/components/aaverepayparams.js +71 -0
- package/dist/esm/models/components/aaverepayparams.js.map +1 -0
- package/dist/esm/models/components/aavesupplyparams.d.ts +72 -0
- package/dist/esm/models/components/aavesupplyparams.d.ts.map +1 -0
- package/dist/esm/models/components/aavesupplyparams.js +66 -0
- package/dist/esm/models/components/aavesupplyparams.js.map +1 -0
- package/dist/esm/models/components/aavewithdrawparams.d.ts +72 -0
- package/dist/esm/models/components/aavewithdrawparams.d.ts.map +1 -0
- package/dist/esm/models/components/aavewithdrawparams.js +57 -0
- package/dist/esm/models/components/aavewithdrawparams.js.map +1 -0
- package/dist/esm/models/components/aerodromeaddliquidityethparams.d.ts +177 -0
- package/dist/esm/models/components/aerodromeaddliquidityethparams.d.ts.map +1 -0
- package/dist/esm/models/components/aerodromeaddliquidityethparams.js +145 -0
- package/dist/esm/models/components/aerodromeaddliquidityethparams.js.map +1 -0
- package/dist/esm/models/components/aerodromeaddliquidityparams.d.ts +186 -0
- package/dist/esm/models/components/aerodromeaddliquidityparams.d.ts.map +1 -0
- package/dist/esm/models/components/aerodromeaddliquidityparams.js +151 -0
- package/dist/esm/models/components/aerodromeaddliquidityparams.js.map +1 -0
- package/dist/esm/models/components/aerodromeremoveliquidityethrequest.d.ts +151 -0
- package/dist/esm/models/components/aerodromeremoveliquidityethrequest.d.ts.map +1 -0
- package/dist/esm/models/components/aerodromeremoveliquidityethrequest.js +123 -0
- package/dist/esm/models/components/aerodromeremoveliquidityethrequest.js.map +1 -0
- package/dist/esm/models/components/aerodromeremoveliquidityrequest.d.ts +161 -0
- package/dist/esm/models/components/aerodromeremoveliquidityrequest.d.ts.map +1 -0
- package/dist/esm/models/components/aerodromeremoveliquidityrequest.js +129 -0
- package/dist/esm/models/components/aerodromeremoveliquidityrequest.js.map +1 -0
- package/dist/esm/models/components/aerodromeslipstreambuyexactlyparams.d.ts +114 -0
- package/dist/esm/models/components/aerodromeslipstreambuyexactlyparams.d.ts.map +1 -0
- package/dist/esm/models/components/aerodromeslipstreambuyexactlyparams.js +99 -0
- package/dist/esm/models/components/aerodromeslipstreambuyexactlyparams.js.map +1 -0
- package/dist/esm/models/components/aerodromeslipstreamincreaseliquidityprovisionparams.d.ts +156 -0
- package/dist/esm/models/components/aerodromeslipstreamincreaseliquidityprovisionparams.d.ts.map +1 -0
- package/dist/esm/models/components/aerodromeslipstreamincreaseliquidityprovisionparams.js +148 -0
- package/dist/esm/models/components/aerodromeslipstreamincreaseliquidityprovisionparams.js.map +1 -0
- package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionparams.d.ts +187 -0
- package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionparams.d.ts.map +1 -0
- package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionparams.js +163 -0
- package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionparams.js.map +1 -0
- package/dist/esm/models/components/aerodromeslipstreamsellexactlyparams.d.ts +114 -0
- package/dist/esm/models/components/aerodromeslipstreamsellexactlyparams.d.ts.map +1 -0
- package/dist/esm/models/components/aerodromeslipstreamsellexactlyparams.js +99 -0
- package/dist/esm/models/components/aerodromeslipstreamsellexactlyparams.js.map +1 -0
- package/dist/esm/models/components/aerodromeslipstreamwithdrawliquidityprovisionparams.d.ts +69 -0
- package/dist/esm/models/components/aerodromeslipstreamwithdrawliquidityprovisionparams.d.ts.map +1 -0
- package/dist/esm/models/components/aerodromeslipstreamwithdrawliquidityprovisionparams.js +67 -0
- package/dist/esm/models/components/aerodromeslipstreamwithdrawliquidityprovisionparams.js.map +1 -0
- package/dist/esm/models/components/aerodromeswapethfortokenparams.d.ts +109 -0
- package/dist/esm/models/components/aerodromeswapethfortokenparams.d.ts.map +1 -0
- package/dist/esm/models/components/aerodromeswapethfortokenparams.js +95 -0
- package/dist/esm/models/components/aerodromeswapethfortokenparams.js.map +1 -0
- package/dist/esm/models/components/aerodromeswaptokenforethparams.d.ts +109 -0
- package/dist/esm/models/components/aerodromeswaptokenforethparams.d.ts.map +1 -0
- package/dist/esm/models/components/aerodromeswaptokenforethparams.js +95 -0
- package/dist/esm/models/components/aerodromeswaptokenforethparams.js.map +1 -0
- package/dist/esm/models/components/aerodromeswaptokensparams.d.ts +128 -0
- package/dist/esm/models/components/aerodromeswaptokensparams.d.ts.map +1 -0
- package/dist/esm/models/components/aerodromeswaptokensparams.js +99 -0
- package/dist/esm/models/components/aerodromeswaptokensparams.js.map +1 -0
- package/dist/esm/models/components/chain.d.ts +9 -0
- package/dist/esm/models/components/chain.d.ts.map +1 -1
- package/dist/esm/models/components/chain.js +3 -0
- package/dist/esm/models/components/chain.js.map +1 -1
- package/dist/esm/models/components/contractname.d.ts +96 -0
- package/dist/esm/models/components/contractname.d.ts.map +1 -0
- package/dist/esm/models/components/contractname.js +49 -0
- package/dist/esm/models/components/contractname.js.map +1 -0
- package/dist/esm/models/components/increaseallowanceanyparams.d.ts +83 -0
- package/dist/esm/models/components/increaseallowanceanyparams.d.ts.map +1 -0
- package/dist/esm/models/components/increaseallowanceanyparams.js +67 -0
- package/dist/esm/models/components/increaseallowanceanyparams.js.map +1 -0
- package/dist/esm/models/components/increaseallowanceparams.d.ts +122 -0
- package/dist/esm/models/components/increaseallowanceparams.d.ts.map +1 -0
- package/dist/esm/models/components/increaseallowanceparams.js +93 -0
- package/dist/esm/models/components/increaseallowanceparams.js.map +1 -0
- package/dist/esm/models/components/increaseallowancerequest.d.ts +8 -8
- package/dist/esm/models/components/increaseallowancerequest.d.ts.map +1 -1
- package/dist/esm/models/components/increaseallowancerequest.js +12 -12
- package/dist/esm/models/components/increaseallowancerequest.js.map +1 -1
- package/dist/esm/models/components/index.d.ts +34 -4
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +34 -4
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/multicallaction.d.ts +79 -0
- package/dist/esm/models/components/multicallaction.d.ts.map +1 -0
- package/dist/esm/models/components/multicallaction.js +199 -0
- package/dist/esm/models/components/multicallaction.js.map +1 -0
- package/dist/esm/models/components/multicallactiontype.d.ts +100 -0
- package/dist/esm/models/components/multicallactiontype.d.ts.map +1 -0
- package/dist/esm/models/components/multicallactiontype.js +48 -0
- package/dist/esm/models/components/multicallactiontype.js.map +1 -0
- package/dist/esm/models/components/multicallauthorizationrequest.d.ts +52 -0
- package/dist/esm/models/components/multicallauthorizationrequest.d.ts.map +1 -0
- package/dist/esm/models/components/multicallauthorizationrequest.js +36 -0
- package/dist/esm/models/components/multicallauthorizationrequest.js.map +1 -0
- package/dist/esm/models/components/multicallauthorizationresponse.d.ts +45 -0
- package/dist/esm/models/components/multicallauthorizationresponse.d.ts.map +1 -0
- package/dist/esm/models/components/multicallauthorizationresponse.js +35 -0
- package/dist/esm/models/components/multicallauthorizationresponse.js.map +1 -0
- package/dist/esm/models/components/multicallexecuterequest.d.ts +55 -0
- package/dist/esm/models/components/multicallexecuterequest.d.ts.map +1 -0
- package/dist/esm/models/components/multicallexecuterequest.js +53 -0
- package/dist/esm/models/components/multicallexecuterequest.js.map +1 -0
- package/dist/esm/models/components/signedauthorization.d.ts +81 -0
- package/dist/esm/models/components/signedauthorization.d.ts.map +1 -0
- package/dist/esm/models/components/signedauthorization.js +89 -0
- package/dist/esm/models/components/signedauthorization.js.map +1 -0
- package/dist/esm/models/components/tokentransfererc20params.d.ts +75 -0
- package/dist/esm/models/components/tokentransfererc20params.d.ts.map +1 -0
- package/dist/esm/models/components/tokentransfererc20params.js +57 -0
- package/dist/esm/models/components/tokentransfererc20params.js.map +1 -0
- package/dist/esm/models/components/uniswapbuyexactlyparams.d.ts +121 -0
- package/dist/esm/models/components/uniswapbuyexactlyparams.d.ts.map +1 -0
- package/dist/esm/models/components/uniswapbuyexactlyparams.js +102 -0
- package/dist/esm/models/components/uniswapbuyexactlyparams.js.map +1 -0
- package/dist/esm/models/components/uniswapincreaseliquidityprovisionparams.d.ts +148 -0
- package/dist/esm/models/components/uniswapincreaseliquidityprovisionparams.d.ts.map +1 -0
- package/dist/esm/models/components/uniswapincreaseliquidityprovisionparams.js +140 -0
- package/dist/esm/models/components/uniswapincreaseliquidityprovisionparams.js.map +1 -0
- package/dist/esm/models/components/uniswapmintliquidityprovisionparams.d.ts +189 -0
- package/dist/esm/models/components/uniswapmintliquidityprovisionparams.d.ts.map +1 -0
- package/dist/esm/models/components/uniswapmintliquidityprovisionparams.js +154 -0
- package/dist/esm/models/components/uniswapmintliquidityprovisionparams.js.map +1 -0
- package/dist/esm/models/components/uniswapsellexactlyparams.d.ts +124 -0
- package/dist/esm/models/components/uniswapsellexactlyparams.d.ts.map +1 -0
- package/dist/esm/models/components/uniswapsellexactlyparams.js +102 -0
- package/dist/esm/models/components/uniswapsellexactlyparams.js.map +1 -0
- package/dist/esm/models/components/uniswapwithdrawliquidityprovisionparams.d.ts +69 -0
- package/dist/esm/models/components/uniswapwithdrawliquidityprovisionparams.d.ts.map +1 -0
- package/dist/esm/models/components/uniswapwithdrawliquidityprovisionparams.js +67 -0
- package/dist/esm/models/components/uniswapwithdrawliquidityprovisionparams.js.map +1 -0
- package/dist/esm/models/components/unsignedmulticalltransaction.d.ts +78 -0
- package/dist/esm/models/components/unsignedmulticalltransaction.d.ts.map +1 -0
- package/dist/esm/models/components/unsignedmulticalltransaction.js +50 -0
- package/dist/esm/models/components/unsignedmulticalltransaction.js.map +1 -0
- package/dist/esm/models/components/unwrapwethparams.d.ts +59 -0
- package/dist/esm/models/components/unwrapwethparams.d.ts.map +1 -0
- package/dist/esm/models/components/unwrapwethparams.js +52 -0
- package/dist/esm/models/components/unwrapwethparams.js.map +1 -0
- package/dist/esm/models/components/wrapethparams.d.ts +59 -0
- package/dist/esm/models/components/wrapethparams.d.ts.map +1 -0
- package/dist/esm/models/components/wrapethparams.js +52 -0
- package/dist/esm/models/components/wrapethparams.js.map +1 -0
- package/dist/esm/models/operations/aaveliquiditychange.d.ts +9 -0
- package/dist/esm/models/operations/aaveliquiditychange.d.ts.map +1 -1
- package/dist/esm/models/operations/aaveliquiditychange.js +3 -0
- package/dist/esm/models/operations/aaveliquiditychange.js.map +1 -1
- package/dist/esm/models/operations/aavetokenprice.d.ts +9 -0
- package/dist/esm/models/operations/aavetokenprice.d.ts.map +1 -1
- package/dist/esm/models/operations/aavetokenprice.js +3 -0
- package/dist/esm/models/operations/aavetokenprice.js.map +1 -1
- package/dist/esm/models/operations/aaveuserpositionpertoken.d.ts +9 -0
- package/dist/esm/models/operations/aaveuserpositionpertoken.d.ts.map +1 -1
- package/dist/esm/models/operations/aaveuserpositionpertoken.js +3 -0
- package/dist/esm/models/operations/aaveuserpositionpertoken.js.map +1 -1
- package/dist/esm/models/operations/aaveuserpositionsummary.d.ts +9 -0
- package/dist/esm/models/operations/aaveuserpositionsummary.d.ts.map +1 -1
- package/dist/esm/models/operations/aaveuserpositionsummary.js +3 -0
- package/dist/esm/models/operations/aaveuserpositionsummary.js.map +1 -1
- package/dist/esm/models/operations/aerodromeslipstreamliquidityprovisionpositions.d.ts +9 -0
- package/dist/esm/models/operations/aerodromeslipstreamliquidityprovisionpositions.d.ts.map +1 -1
- package/dist/esm/models/operations/aerodromeslipstreamliquidityprovisionpositions.js +3 -0
- package/dist/esm/models/operations/aerodromeslipstreamliquidityprovisionpositions.js.map +1 -1
- package/dist/esm/models/operations/aerodromeslipstreampoolprice.d.ts +9 -0
- package/dist/esm/models/operations/aerodromeslipstreampoolprice.d.ts.map +1 -1
- package/dist/esm/models/operations/aerodromeslipstreampoolprice.js +3 -0
- package/dist/esm/models/operations/aerodromeslipstreampoolprice.js.map +1 -1
- package/dist/esm/models/operations/genericallowance.d.ts +9 -0
- package/dist/esm/models/operations/genericallowance.d.ts.map +1 -1
- package/dist/esm/models/operations/genericallowance.js +3 -0
- package/dist/esm/models/operations/genericallowance.js.map +1 -1
- package/dist/esm/models/operations/genericens.d.ts +9 -0
- package/dist/esm/models/operations/genericens.d.ts.map +1 -1
- package/dist/esm/models/operations/genericens.js +3 -0
- package/dist/esm/models/operations/genericens.js.map +1 -1
- package/dist/esm/models/operations/genericportfolio.d.ts +9 -0
- package/dist/esm/models/operations/genericportfolio.d.ts.map +1 -1
- package/dist/esm/models/operations/genericportfolio.js +3 -0
- package/dist/esm/models/operations/genericportfolio.js.map +1 -1
- package/dist/esm/models/operations/genericsupportedtokens.d.ts +9 -0
- package/dist/esm/models/operations/genericsupportedtokens.d.ts.map +1 -1
- package/dist/esm/models/operations/genericsupportedtokens.js +3 -0
- package/dist/esm/models/operations/genericsupportedtokens.js.map +1 -1
- package/dist/esm/models/operations/genericvisualizeportfolio.d.ts +9 -0
- package/dist/esm/models/operations/genericvisualizeportfolio.d.ts.map +1 -1
- package/dist/esm/models/operations/genericvisualizeportfolio.js +3 -0
- package/dist/esm/models/operations/genericvisualizeportfolio.js.map +1 -1
- package/dist/esm/models/operations/index.d.ts +0 -2
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +0 -2
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/morphomarketposition.d.ts +9 -0
- package/dist/esm/models/operations/morphomarketposition.d.ts.map +1 -1
- package/dist/esm/models/operations/morphomarketposition.js +3 -0
- package/dist/esm/models/operations/morphomarketposition.js.map +1 -1
- package/dist/esm/models/operations/morphomarkets.d.ts +9 -0
- package/dist/esm/models/operations/morphomarkets.d.ts.map +1 -1
- package/dist/esm/models/operations/morphomarkets.js +3 -0
- package/dist/esm/models/operations/morphomarkets.js.map +1 -1
- package/dist/esm/models/operations/morphovaultposition.d.ts +9 -0
- package/dist/esm/models/operations/morphovaultposition.d.ts.map +1 -1
- package/dist/esm/models/operations/morphovaultposition.js +3 -0
- package/dist/esm/models/operations/morphovaultposition.js.map +1 -1
- package/dist/esm/models/operations/morphovaults.d.ts +9 -0
- package/dist/esm/models/operations/morphovaults.d.ts.map +1 -1
- package/dist/esm/models/operations/morphovaults.js +3 -0
- package/dist/esm/models/operations/morphovaults.js.map +1 -1
- package/dist/esm/models/operations/tokenaddress.d.ts +9 -0
- package/dist/esm/models/operations/tokenaddress.d.ts.map +1 -1
- package/dist/esm/models/operations/tokenaddress.js +3 -0
- package/dist/esm/models/operations/tokenaddress.js.map +1 -1
- package/dist/esm/models/operations/tokenbalance.d.ts +9 -0
- package/dist/esm/models/operations/tokenbalance.d.ts.map +1 -1
- package/dist/esm/models/operations/tokenbalance.js +3 -0
- package/dist/esm/models/operations/tokenbalance.js.map +1 -1
- package/dist/esm/models/operations/tokenprice.d.ts +9 -0
- package/dist/esm/models/operations/tokenprice.d.ts.map +1 -1
- package/dist/esm/models/operations/tokenprice.js +3 -0
- package/dist/esm/models/operations/tokenprice.js.map +1 -1
- package/dist/esm/models/operations/uniswapliquidityprovisioninrange.d.ts +9 -0
- package/dist/esm/models/operations/uniswapliquidityprovisioninrange.d.ts.map +1 -1
- package/dist/esm/models/operations/uniswapliquidityprovisioninrange.js +3 -0
- package/dist/esm/models/operations/uniswapliquidityprovisioninrange.js.map +1 -1
- package/dist/esm/models/operations/uniswapliquidityprovisionpositions.d.ts +9 -0
- package/dist/esm/models/operations/uniswapliquidityprovisionpositions.d.ts.map +1 -1
- package/dist/esm/models/operations/uniswapliquidityprovisionpositions.js +3 -0
- package/dist/esm/models/operations/uniswapliquidityprovisionpositions.js.map +1 -1
- package/dist/esm/models/operations/uniswappoolprice.d.ts +9 -0
- package/dist/esm/models/operations/uniswappoolprice.d.ts.map +1 -1
- package/dist/esm/models/operations/uniswappoolprice.js +3 -0
- package/dist/esm/models/operations/uniswappoolprice.js.map +1 -1
- package/dist/esm/models/operations/uniswapquotebuyexactly.d.ts +9 -0
- package/dist/esm/models/operations/uniswapquotebuyexactly.d.ts.map +1 -1
- package/dist/esm/models/operations/uniswapquotebuyexactly.js +3 -0
- package/dist/esm/models/operations/uniswapquotebuyexactly.js.map +1 -1
- package/dist/esm/models/operations/uniswapquotesellexactly.d.ts +9 -0
- package/dist/esm/models/operations/uniswapquotesellexactly.d.ts.map +1 -1
- package/dist/esm/models/operations/uniswapquotesellexactly.js +3 -0
- package/dist/esm/models/operations/uniswapquotesellexactly.js.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/transactionbatching.d.ts +29 -0
- package/dist/esm/sdk/transactionbatching.d.ts.map +1 -0
- package/dist/esm/sdk/transactionbatching.js +38 -0
- package/dist/esm/sdk/transactionbatching.js.map +1 -0
- package/dist/esm/sdk/universal.d.ts +0 -33
- package/dist/esm/sdk/universal.d.ts.map +1 -1
- package/dist/esm/sdk/universal.js +0 -45
- package/dist/esm/sdk/universal.js.map +1 -1
- package/docs/sdks/aavev3/README.md +4 -0
- package/docs/sdks/transactionbatching/README.md +221 -0
- package/docs/sdks/universal/README.md +0 -335
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/{universalTransferNativeToken.ts → transactionBatchingAuthorization.ts} +18 -12
- package/src/funcs/{universalTransferErc20.ts → transactionBatchingExecute.ts} +17 -12
- package/src/lib/config.ts +4 -4
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +5 -9
- package/src/mcp-server/tools/transactionBatchingAuthorization.ts +44 -0
- package/src/mcp-server/tools/transactionBatchingExecute.ts +42 -0
- package/src/models/components/aaveborrowparams.ts +173 -0
- package/src/models/components/aaverepayparams.ts +171 -0
- package/src/models/components/aavesupplyparams.ts +155 -0
- package/src/models/components/aavewithdrawparams.ts +146 -0
- package/src/models/components/aerodromeaddliquidityethparams.ts +392 -0
- package/src/models/components/aerodromeaddliquidityparams.ts +382 -0
- package/src/models/components/aerodromeremoveliquidityethrequest.ts +357 -0
- package/src/models/components/aerodromeremoveliquidityrequest.ts +363 -0
- package/src/models/components/aerodromeslipstreambuyexactlyparams.ts +276 -0
- package/src/models/components/aerodromeslipstreamincreaseliquidityprovisionparams.ts +412 -0
- package/src/models/components/aerodromeslipstreammintliquidityprovisionparams.ts +461 -0
- package/src/models/components/aerodromeslipstreamsellexactlyparams.ts +276 -0
- package/src/models/components/aerodromeslipstreamwithdrawliquidityprovisionparams.ts +180 -0
- package/src/models/components/aerodromeswapethfortokenparams.ts +249 -0
- package/src/models/components/aerodromeswaptokenforethparams.ts +249 -0
- package/src/models/components/aerodromeswaptokensparams.ts +260 -0
- package/src/models/components/chain.ts +3 -0
- package/src/models/components/contractname.ts +64 -0
- package/src/models/components/increaseallowanceanyparams.ts +172 -0
- package/src/models/components/increaseallowanceparams.ts +204 -0
- package/src/models/components/increaseallowancerequest.ts +21 -14
- package/src/models/components/index.ts +34 -4
- package/src/models/components/multicallaction.ts +490 -0
- package/src/models/components/multicallactiontype.ts +59 -0
- package/src/models/components/multicallauthorizationrequest.ts +95 -0
- package/src/models/components/multicallauthorizationresponse.ts +88 -0
- package/src/models/components/multicallexecuterequest.ts +121 -0
- package/src/models/components/signedauthorization.ts +172 -0
- package/src/models/components/tokentransfererc20params.ts +151 -0
- package/src/models/components/uniswapbuyexactlyparams.ts +259 -0
- package/src/models/components/uniswapincreaseliquidityprovisionparams.ts +405 -0
- package/src/models/components/uniswapmintliquidityprovisionparams.ts +454 -0
- package/src/models/components/uniswapsellexactlyparams.ts +267 -0
- package/src/models/components/uniswapwithdrawliquidityprovisionparams.ts +175 -0
- package/src/models/components/unsignedmulticalltransaction.ts +140 -0
- package/src/models/components/unwrapwethparams.ts +125 -0
- package/src/models/components/wrapethparams.ts +121 -0
- package/src/models/operations/aaveliquiditychange.ts +3 -0
- package/src/models/operations/aavetokenprice.ts +3 -0
- package/src/models/operations/aaveuserpositionpertoken.ts +3 -0
- package/src/models/operations/aaveuserpositionsummary.ts +3 -0
- package/src/models/operations/aerodromeslipstreamliquidityprovisionpositions.ts +3 -0
- package/src/models/operations/aerodromeslipstreampoolprice.ts +3 -0
- package/src/models/operations/genericallowance.ts +3 -0
- package/src/models/operations/genericens.ts +3 -0
- package/src/models/operations/genericportfolio.ts +3 -0
- package/src/models/operations/genericsupportedtokens.ts +3 -0
- package/src/models/operations/genericvisualizeportfolio.ts +3 -0
- package/src/models/operations/index.ts +0 -2
- package/src/models/operations/morphomarketposition.ts +3 -0
- package/src/models/operations/morphomarkets.ts +3 -0
- package/src/models/operations/morphovaultposition.ts +3 -0
- package/src/models/operations/morphovaults.ts +3 -0
- package/src/models/operations/tokenaddress.ts +3 -0
- package/src/models/operations/tokenbalance.ts +3 -0
- package/src/models/operations/tokenprice.ts +3 -0
- package/src/models/operations/uniswapliquidityprovisioninrange.ts +3 -0
- package/src/models/operations/uniswapliquidityprovisionpositions.ts +3 -0
- package/src/models/operations/uniswappoolprice.ts +3 -0
- package/src/models/operations/uniswapquotebuyexactly.ts +3 -0
- package/src/models/operations/uniswapquotesellexactly.ts +3 -0
- package/src/sdk/sdk.ts +8 -0
- package/src/sdk/transactionbatching.ts +55 -0
- package/src/sdk/universal.ts +0 -77
- package/dist/commonjs/funcs/universalBalance.d.ts +0 -18
- package/dist/commonjs/funcs/universalBalance.d.ts.map +0 -1
- package/dist/commonjs/funcs/universalBalance.js +0 -122
- package/dist/commonjs/funcs/universalBalance.js.map +0 -1
- package/dist/commonjs/funcs/universalPriceUsd.d.ts +0 -23
- package/dist/commonjs/funcs/universalPriceUsd.d.ts.map +0 -1
- package/dist/commonjs/funcs/universalPriceUsd.js +0 -126
- package/dist/commonjs/funcs/universalPriceUsd.js.map +0 -1
- package/dist/commonjs/funcs/universalTransferErc20.d.ts +0 -17
- package/dist/commonjs/funcs/universalTransferErc20.d.ts.map +0 -1
- package/dist/commonjs/funcs/universalTransferErc20.js.map +0 -1
- package/dist/commonjs/funcs/universalTransferNativeToken.d.ts +0 -17
- package/dist/commonjs/funcs/universalTransferNativeToken.d.ts.map +0 -1
- package/dist/commonjs/funcs/universalTransferNativeToken.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/universalBalance.d.ts +0 -8
- package/dist/commonjs/mcp-server/tools/universalBalance.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/universalBalance.js +0 -64
- package/dist/commonjs/mcp-server/tools/universalBalance.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/universalPriceUsd.d.ts +0 -8
- package/dist/commonjs/mcp-server/tools/universalPriceUsd.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/universalPriceUsd.js +0 -69
- package/dist/commonjs/mcp-server/tools/universalPriceUsd.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/universalTransferErc20.d.ts +0 -8
- package/dist/commonjs/mcp-server/tools/universalTransferErc20.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/universalTransferErc20.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/universalTransferNativeToken.d.ts +0 -8
- package/dist/commonjs/mcp-server/tools/universalTransferNativeToken.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/universalTransferNativeToken.js.map +0 -1
- package/dist/commonjs/models/components/balanceinforesponse.d.ts +0 -56
- package/dist/commonjs/models/components/balanceinforesponse.d.ts.map +0 -1
- package/dist/commonjs/models/components/balanceinforesponse.js +0 -87
- package/dist/commonjs/models/components/balanceinforesponse.js.map +0 -1
- package/dist/commonjs/models/components/priceresponse.d.ts +0 -32
- package/dist/commonjs/models/components/priceresponse.d.ts.map +0 -1
- package/dist/commonjs/models/components/priceresponse.js.map +0 -1
- package/dist/commonjs/models/components/transfererc20request.d.ts +0 -86
- package/dist/commonjs/models/components/transfererc20request.d.ts.map +0 -1
- package/dist/commonjs/models/components/transfererc20request.js +0 -102
- package/dist/commonjs/models/components/transfererc20request.js.map +0 -1
- package/dist/commonjs/models/components/transferethrequest.d.ts +0 -75
- package/dist/commonjs/models/components/transferethrequest.d.ts.map +0 -1
- package/dist/commonjs/models/components/transferethrequest.js +0 -99
- package/dist/commonjs/models/components/transferethrequest.js.map +0 -1
- package/dist/commonjs/models/operations/genericbalance.d.ts +0 -246
- package/dist/commonjs/models/operations/genericbalance.d.ts.map +0 -1
- package/dist/commonjs/models/operations/genericbalance.js +0 -165
- package/dist/commonjs/models/operations/genericbalance.js.map +0 -1
- package/dist/commonjs/models/operations/genericpriceusd.d.ts +0 -244
- package/dist/commonjs/models/operations/genericpriceusd.d.ts.map +0 -1
- package/dist/commonjs/models/operations/genericpriceusd.js +0 -163
- package/dist/commonjs/models/operations/genericpriceusd.js.map +0 -1
- package/dist/esm/funcs/universalBalance.d.ts +0 -18
- package/dist/esm/funcs/universalBalance.d.ts.map +0 -1
- package/dist/esm/funcs/universalBalance.js +0 -86
- package/dist/esm/funcs/universalBalance.js.map +0 -1
- package/dist/esm/funcs/universalPriceUsd.d.ts +0 -23
- package/dist/esm/funcs/universalPriceUsd.d.ts.map +0 -1
- package/dist/esm/funcs/universalPriceUsd.js +0 -90
- package/dist/esm/funcs/universalPriceUsd.js.map +0 -1
- package/dist/esm/funcs/universalTransferErc20.d.ts +0 -17
- package/dist/esm/funcs/universalTransferErc20.d.ts.map +0 -1
- package/dist/esm/funcs/universalTransferErc20.js.map +0 -1
- package/dist/esm/funcs/universalTransferNativeToken.d.ts +0 -17
- package/dist/esm/funcs/universalTransferNativeToken.d.ts.map +0 -1
- package/dist/esm/funcs/universalTransferNativeToken.js.map +0 -1
- package/dist/esm/mcp-server/tools/universalBalance.d.ts +0 -8
- package/dist/esm/mcp-server/tools/universalBalance.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/universalBalance.js +0 -28
- package/dist/esm/mcp-server/tools/universalBalance.js.map +0 -1
- package/dist/esm/mcp-server/tools/universalPriceUsd.d.ts +0 -8
- package/dist/esm/mcp-server/tools/universalPriceUsd.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/universalPriceUsd.js +0 -33
- package/dist/esm/mcp-server/tools/universalPriceUsd.js.map +0 -1
- package/dist/esm/mcp-server/tools/universalTransferErc20.d.ts +0 -8
- package/dist/esm/mcp-server/tools/universalTransferErc20.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/universalTransferErc20.js +0 -28
- package/dist/esm/mcp-server/tools/universalTransferErc20.js.map +0 -1
- package/dist/esm/mcp-server/tools/universalTransferNativeToken.d.ts +0 -8
- package/dist/esm/mcp-server/tools/universalTransferNativeToken.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/universalTransferNativeToken.js +0 -28
- package/dist/esm/mcp-server/tools/universalTransferNativeToken.js.map +0 -1
- package/dist/esm/models/components/balanceinforesponse.d.ts +0 -56
- package/dist/esm/models/components/balanceinforesponse.d.ts.map +0 -1
- package/dist/esm/models/components/balanceinforesponse.js +0 -49
- package/dist/esm/models/components/balanceinforesponse.js.map +0 -1
- package/dist/esm/models/components/priceresponse.d.ts +0 -32
- package/dist/esm/models/components/priceresponse.d.ts.map +0 -1
- package/dist/esm/models/components/priceresponse.js +0 -40
- package/dist/esm/models/components/priceresponse.js.map +0 -1
- package/dist/esm/models/components/transfererc20request.d.ts +0 -86
- package/dist/esm/models/components/transfererc20request.d.ts.map +0 -1
- package/dist/esm/models/components/transfererc20request.js +0 -62
- package/dist/esm/models/components/transfererc20request.js.map +0 -1
- package/dist/esm/models/components/transferethrequest.d.ts +0 -75
- package/dist/esm/models/components/transferethrequest.d.ts.map +0 -1
- package/dist/esm/models/components/transferethrequest.js +0 -59
- package/dist/esm/models/components/transferethrequest.js.map +0 -1
- package/dist/esm/models/operations/genericbalance.d.ts +0 -246
- package/dist/esm/models/operations/genericbalance.d.ts.map +0 -1
- package/dist/esm/models/operations/genericbalance.js +0 -127
- package/dist/esm/models/operations/genericbalance.js.map +0 -1
- package/dist/esm/models/operations/genericpriceusd.d.ts +0 -244
- package/dist/esm/models/operations/genericpriceusd.d.ts.map +0 -1
- package/dist/esm/models/operations/genericpriceusd.js +0 -125
- package/dist/esm/models/operations/genericpriceusd.js.map +0 -1
- package/src/funcs/universalBalance.ts +0 -170
- package/src/funcs/universalPriceUsd.ts +0 -174
- package/src/mcp-server/tools/universalBalance.ts +0 -37
- package/src/mcp-server/tools/universalPriceUsd.ts +0 -42
- package/src/mcp-server/tools/universalTransferErc20.ts +0 -37
- package/src/mcp-server/tools/universalTransferNativeToken.ts +0 -37
- package/src/models/components/balanceinforesponse.ts +0 -114
- package/src/models/components/priceresponse.ts +0 -74
- package/src/models/components/transfererc20request.ts +0 -164
- package/src/models/components/transferethrequest.ts +0 -147
- package/src/models/operations/genericbalance.ts +0 -205
- package/src/models/operations/genericpriceusd.ts +0 -201
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* The amount of ETH to wrap.
|
|
12
|
+
*/
|
|
13
|
+
export type WrapEthParamsAmount = number | string;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Parameters model for wrapping ETH into WETH.
|
|
17
|
+
*/
|
|
18
|
+
export type WrapEthParams = {
|
|
19
|
+
/**
|
|
20
|
+
* The amount of ETH to wrap.
|
|
21
|
+
*/
|
|
22
|
+
amount: number | string;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
/** @internal */
|
|
26
|
+
export const WrapEthParamsAmount$inboundSchema: z.ZodType<
|
|
27
|
+
WrapEthParamsAmount,
|
|
28
|
+
z.ZodTypeDef,
|
|
29
|
+
unknown
|
|
30
|
+
> = z.union([z.number(), z.string()]);
|
|
31
|
+
|
|
32
|
+
/** @internal */
|
|
33
|
+
export type WrapEthParamsAmount$Outbound = number | string;
|
|
34
|
+
|
|
35
|
+
/** @internal */
|
|
36
|
+
export const WrapEthParamsAmount$outboundSchema: z.ZodType<
|
|
37
|
+
WrapEthParamsAmount$Outbound,
|
|
38
|
+
z.ZodTypeDef,
|
|
39
|
+
WrapEthParamsAmount
|
|
40
|
+
> = z.union([z.number(), z.string()]);
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
45
|
+
*/
|
|
46
|
+
export namespace WrapEthParamsAmount$ {
|
|
47
|
+
/** @deprecated use `WrapEthParamsAmount$inboundSchema` instead. */
|
|
48
|
+
export const inboundSchema = WrapEthParamsAmount$inboundSchema;
|
|
49
|
+
/** @deprecated use `WrapEthParamsAmount$outboundSchema` instead. */
|
|
50
|
+
export const outboundSchema = WrapEthParamsAmount$outboundSchema;
|
|
51
|
+
/** @deprecated use `WrapEthParamsAmount$Outbound` instead. */
|
|
52
|
+
export type Outbound = WrapEthParamsAmount$Outbound;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function wrapEthParamsAmountToJSON(
|
|
56
|
+
wrapEthParamsAmount: WrapEthParamsAmount,
|
|
57
|
+
): string {
|
|
58
|
+
return JSON.stringify(
|
|
59
|
+
WrapEthParamsAmount$outboundSchema.parse(wrapEthParamsAmount),
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function wrapEthParamsAmountFromJSON(
|
|
64
|
+
jsonString: string,
|
|
65
|
+
): SafeParseResult<WrapEthParamsAmount, SDKValidationError> {
|
|
66
|
+
return safeParse(
|
|
67
|
+
jsonString,
|
|
68
|
+
(x) => WrapEthParamsAmount$inboundSchema.parse(JSON.parse(x)),
|
|
69
|
+
`Failed to parse 'WrapEthParamsAmount' from JSON`,
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/** @internal */
|
|
74
|
+
export const WrapEthParams$inboundSchema: z.ZodType<
|
|
75
|
+
WrapEthParams,
|
|
76
|
+
z.ZodTypeDef,
|
|
77
|
+
unknown
|
|
78
|
+
> = z.object({
|
|
79
|
+
amount: z.union([z.number(), z.string()]),
|
|
80
|
+
});
|
|
81
|
+
|
|
82
|
+
/** @internal */
|
|
83
|
+
export type WrapEthParams$Outbound = {
|
|
84
|
+
amount: number | string;
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
/** @internal */
|
|
88
|
+
export const WrapEthParams$outboundSchema: z.ZodType<
|
|
89
|
+
WrapEthParams$Outbound,
|
|
90
|
+
z.ZodTypeDef,
|
|
91
|
+
WrapEthParams
|
|
92
|
+
> = z.object({
|
|
93
|
+
amount: z.union([z.number(), z.string()]),
|
|
94
|
+
});
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* @internal
|
|
98
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
99
|
+
*/
|
|
100
|
+
export namespace WrapEthParams$ {
|
|
101
|
+
/** @deprecated use `WrapEthParams$inboundSchema` instead. */
|
|
102
|
+
export const inboundSchema = WrapEthParams$inboundSchema;
|
|
103
|
+
/** @deprecated use `WrapEthParams$outboundSchema` instead. */
|
|
104
|
+
export const outboundSchema = WrapEthParams$outboundSchema;
|
|
105
|
+
/** @deprecated use `WrapEthParams$Outbound` instead. */
|
|
106
|
+
export type Outbound = WrapEthParams$Outbound;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export function wrapEthParamsToJSON(wrapEthParams: WrapEthParams): string {
|
|
110
|
+
return JSON.stringify(WrapEthParams$outboundSchema.parse(wrapEthParams));
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export function wrapEthParamsFromJSON(
|
|
114
|
+
jsonString: string,
|
|
115
|
+
): SafeParseResult<WrapEthParams, SDKValidationError> {
|
|
116
|
+
return safeParse(
|
|
117
|
+
jsonString,
|
|
118
|
+
(x) => WrapEthParams$inboundSchema.parse(JSON.parse(x)),
|
|
119
|
+
`Failed to parse 'WrapEthParams' from JSON`,
|
|
120
|
+
);
|
|
121
|
+
}
|
|
@@ -16,6 +16,9 @@ export const AaveLiquidityChangeChain = {
|
|
|
16
16
|
BaseMainnet: "base:mainnet",
|
|
17
17
|
EthereumMainnet: "ethereum:mainnet",
|
|
18
18
|
ArbitrumMainnet: "arbitrum:mainnet",
|
|
19
|
+
EthereumLocal: "ethereum:local",
|
|
20
|
+
ArbitrumLocal: "arbitrum:local",
|
|
21
|
+
BaseLocal: "base:local",
|
|
19
22
|
} as const;
|
|
20
23
|
/**
|
|
21
24
|
* The chain to use.
|
|
@@ -15,6 +15,9 @@ export const AaveTokenPriceChain = {
|
|
|
15
15
|
BaseMainnet: "base:mainnet",
|
|
16
16
|
EthereumMainnet: "ethereum:mainnet",
|
|
17
17
|
ArbitrumMainnet: "arbitrum:mainnet",
|
|
18
|
+
EthereumLocal: "ethereum:local",
|
|
19
|
+
ArbitrumLocal: "arbitrum:local",
|
|
20
|
+
BaseLocal: "base:local",
|
|
18
21
|
} as const;
|
|
19
22
|
/**
|
|
20
23
|
* The chain to use.
|
|
@@ -15,6 +15,9 @@ export const AaveUserPositionPerTokenChain = {
|
|
|
15
15
|
BaseMainnet: "base:mainnet",
|
|
16
16
|
EthereumMainnet: "ethereum:mainnet",
|
|
17
17
|
ArbitrumMainnet: "arbitrum:mainnet",
|
|
18
|
+
EthereumLocal: "ethereum:local",
|
|
19
|
+
ArbitrumLocal: "arbitrum:local",
|
|
20
|
+
BaseLocal: "base:local",
|
|
18
21
|
} as const;
|
|
19
22
|
/**
|
|
20
23
|
* The chain to use.
|
|
@@ -15,6 +15,9 @@ export const AaveUserPositionSummaryChain = {
|
|
|
15
15
|
BaseMainnet: "base:mainnet",
|
|
16
16
|
EthereumMainnet: "ethereum:mainnet",
|
|
17
17
|
ArbitrumMainnet: "arbitrum:mainnet",
|
|
18
|
+
EthereumLocal: "ethereum:local",
|
|
19
|
+
ArbitrumLocal: "arbitrum:local",
|
|
20
|
+
BaseLocal: "base:local",
|
|
18
21
|
} as const;
|
|
19
22
|
/**
|
|
20
23
|
* The chain to use.
|
|
@@ -15,6 +15,9 @@ export const AerodromeSlipstreamLiquidityProvisionPositionsChain = {
|
|
|
15
15
|
BaseMainnet: "base:mainnet",
|
|
16
16
|
EthereumMainnet: "ethereum:mainnet",
|
|
17
17
|
ArbitrumMainnet: "arbitrum:mainnet",
|
|
18
|
+
EthereumLocal: "ethereum:local",
|
|
19
|
+
ArbitrumLocal: "arbitrum:local",
|
|
20
|
+
BaseLocal: "base:local",
|
|
18
21
|
} as const;
|
|
19
22
|
/**
|
|
20
23
|
* The chain to use.
|
|
@@ -16,6 +16,9 @@ export const AerodromeSlipstreamPoolPriceChain = {
|
|
|
16
16
|
BaseMainnet: "base:mainnet",
|
|
17
17
|
EthereumMainnet: "ethereum:mainnet",
|
|
18
18
|
ArbitrumMainnet: "arbitrum:mainnet",
|
|
19
|
+
EthereumLocal: "ethereum:local",
|
|
20
|
+
ArbitrumLocal: "arbitrum:local",
|
|
21
|
+
BaseLocal: "base:local",
|
|
19
22
|
} as const;
|
|
20
23
|
/**
|
|
21
24
|
* The chain to use.
|
|
@@ -16,6 +16,9 @@ export const GenericAllowanceChain = {
|
|
|
16
16
|
BaseMainnet: "base:mainnet",
|
|
17
17
|
EthereumMainnet: "ethereum:mainnet",
|
|
18
18
|
ArbitrumMainnet: "arbitrum:mainnet",
|
|
19
|
+
EthereumLocal: "ethereum:local",
|
|
20
|
+
ArbitrumLocal: "arbitrum:local",
|
|
21
|
+
BaseLocal: "base:local",
|
|
19
22
|
} as const;
|
|
20
23
|
/**
|
|
21
24
|
* The chain to use.
|
|
@@ -16,6 +16,9 @@ export const GenericEnsChain = {
|
|
|
16
16
|
BaseMainnet: "base:mainnet",
|
|
17
17
|
EthereumMainnet: "ethereum:mainnet",
|
|
18
18
|
ArbitrumMainnet: "arbitrum:mainnet",
|
|
19
|
+
EthereumLocal: "ethereum:local",
|
|
20
|
+
ArbitrumLocal: "arbitrum:local",
|
|
21
|
+
BaseLocal: "base:local",
|
|
19
22
|
} as const;
|
|
20
23
|
/**
|
|
21
24
|
* The chain to use.
|
|
@@ -15,6 +15,9 @@ export const GenericPortfolioChain = {
|
|
|
15
15
|
BaseMainnet: "base:mainnet",
|
|
16
16
|
EthereumMainnet: "ethereum:mainnet",
|
|
17
17
|
ArbitrumMainnet: "arbitrum:mainnet",
|
|
18
|
+
EthereumLocal: "ethereum:local",
|
|
19
|
+
ArbitrumLocal: "arbitrum:local",
|
|
20
|
+
BaseLocal: "base:local",
|
|
18
21
|
} as const;
|
|
19
22
|
/**
|
|
20
23
|
* The chain to use.
|
|
@@ -15,6 +15,9 @@ export const GenericSupportedTokensChain = {
|
|
|
15
15
|
BaseMainnet: "base:mainnet",
|
|
16
16
|
EthereumMainnet: "ethereum:mainnet",
|
|
17
17
|
ArbitrumMainnet: "arbitrum:mainnet",
|
|
18
|
+
EthereumLocal: "ethereum:local",
|
|
19
|
+
ArbitrumLocal: "arbitrum:local",
|
|
20
|
+
BaseLocal: "base:local",
|
|
18
21
|
} as const;
|
|
19
22
|
/**
|
|
20
23
|
* The chain to use.
|
|
@@ -15,6 +15,9 @@ export const GenericVisualizePortfolioChain = {
|
|
|
15
15
|
BaseMainnet: "base:mainnet",
|
|
16
16
|
EthereumMainnet: "ethereum:mainnet",
|
|
17
17
|
ArbitrumMainnet: "arbitrum:mainnet",
|
|
18
|
+
EthereumLocal: "ethereum:local",
|
|
19
|
+
ArbitrumLocal: "arbitrum:local",
|
|
20
|
+
BaseLocal: "base:local",
|
|
18
21
|
} as const;
|
|
19
22
|
/**
|
|
20
23
|
* The chain to use.
|
|
@@ -9,10 +9,8 @@ export * from "./aaveuserpositionsummary.js";
|
|
|
9
9
|
export * from "./aerodromeslipstreamliquidityprovisionpositions.js";
|
|
10
10
|
export * from "./aerodromeslipstreampoolprice.js";
|
|
11
11
|
export * from "./genericallowance.js";
|
|
12
|
-
export * from "./genericbalance.js";
|
|
13
12
|
export * from "./genericens.js";
|
|
14
13
|
export * from "./genericportfolio.js";
|
|
15
|
-
export * from "./genericpriceusd.js";
|
|
16
14
|
export * from "./genericsupportedtokens.js";
|
|
17
15
|
export * from "./genericvisualizeportfolio.js";
|
|
18
16
|
export * from "./morphomarketposition.js";
|
|
@@ -16,6 +16,9 @@ export const MorphoMarketPositionChain = {
|
|
|
16
16
|
BaseMainnet: "base:mainnet",
|
|
17
17
|
EthereumMainnet: "ethereum:mainnet",
|
|
18
18
|
ArbitrumMainnet: "arbitrum:mainnet",
|
|
19
|
+
EthereumLocal: "ethereum:local",
|
|
20
|
+
ArbitrumLocal: "arbitrum:local",
|
|
21
|
+
BaseLocal: "base:local",
|
|
19
22
|
} as const;
|
|
20
23
|
/**
|
|
21
24
|
* The chain to use.
|
|
@@ -16,6 +16,9 @@ export const MorphoMarketsChain = {
|
|
|
16
16
|
BaseMainnet: "base:mainnet",
|
|
17
17
|
EthereumMainnet: "ethereum:mainnet",
|
|
18
18
|
ArbitrumMainnet: "arbitrum:mainnet",
|
|
19
|
+
EthereumLocal: "ethereum:local",
|
|
20
|
+
ArbitrumLocal: "arbitrum:local",
|
|
21
|
+
BaseLocal: "base:local",
|
|
19
22
|
} as const;
|
|
20
23
|
/**
|
|
21
24
|
* The chain to use.
|
|
@@ -16,6 +16,9 @@ export const MorphoVaultPositionChain = {
|
|
|
16
16
|
BaseMainnet: "base:mainnet",
|
|
17
17
|
EthereumMainnet: "ethereum:mainnet",
|
|
18
18
|
ArbitrumMainnet: "arbitrum:mainnet",
|
|
19
|
+
EthereumLocal: "ethereum:local",
|
|
20
|
+
ArbitrumLocal: "arbitrum:local",
|
|
21
|
+
BaseLocal: "base:local",
|
|
19
22
|
} as const;
|
|
20
23
|
/**
|
|
21
24
|
* The chain to use.
|
|
@@ -16,6 +16,9 @@ export const MorphoVaultsChain = {
|
|
|
16
16
|
BaseMainnet: "base:mainnet",
|
|
17
17
|
EthereumMainnet: "ethereum:mainnet",
|
|
18
18
|
ArbitrumMainnet: "arbitrum:mainnet",
|
|
19
|
+
EthereumLocal: "ethereum:local",
|
|
20
|
+
ArbitrumLocal: "arbitrum:local",
|
|
21
|
+
BaseLocal: "base:local",
|
|
19
22
|
} as const;
|
|
20
23
|
/**
|
|
21
24
|
* The chain to use.
|
|
@@ -15,6 +15,9 @@ export const TokenAddressChain = {
|
|
|
15
15
|
BaseMainnet: "base:mainnet",
|
|
16
16
|
EthereumMainnet: "ethereum:mainnet",
|
|
17
17
|
ArbitrumMainnet: "arbitrum:mainnet",
|
|
18
|
+
EthereumLocal: "ethereum:local",
|
|
19
|
+
ArbitrumLocal: "arbitrum:local",
|
|
20
|
+
BaseLocal: "base:local",
|
|
18
21
|
} as const;
|
|
19
22
|
/**
|
|
20
23
|
* The chain to use.
|
|
@@ -16,6 +16,9 @@ export const TokenBalanceChain = {
|
|
|
16
16
|
BaseMainnet: "base:mainnet",
|
|
17
17
|
EthereumMainnet: "ethereum:mainnet",
|
|
18
18
|
ArbitrumMainnet: "arbitrum:mainnet",
|
|
19
|
+
EthereumLocal: "ethereum:local",
|
|
20
|
+
ArbitrumLocal: "arbitrum:local",
|
|
21
|
+
BaseLocal: "base:local",
|
|
19
22
|
} as const;
|
|
20
23
|
/**
|
|
21
24
|
* The chain to use.
|
|
@@ -15,6 +15,9 @@ export const TokenPriceChain = {
|
|
|
15
15
|
BaseMainnet: "base:mainnet",
|
|
16
16
|
EthereumMainnet: "ethereum:mainnet",
|
|
17
17
|
ArbitrumMainnet: "arbitrum:mainnet",
|
|
18
|
+
EthereumLocal: "ethereum:local",
|
|
19
|
+
ArbitrumLocal: "arbitrum:local",
|
|
20
|
+
BaseLocal: "base:local",
|
|
18
21
|
} as const;
|
|
19
22
|
/**
|
|
20
23
|
* The chain to use.
|
|
@@ -16,6 +16,9 @@ export const UniswapLiquidityProvisionInRangeChain = {
|
|
|
16
16
|
BaseMainnet: "base:mainnet",
|
|
17
17
|
EthereumMainnet: "ethereum:mainnet",
|
|
18
18
|
ArbitrumMainnet: "arbitrum:mainnet",
|
|
19
|
+
EthereumLocal: "ethereum:local",
|
|
20
|
+
ArbitrumLocal: "arbitrum:local",
|
|
21
|
+
BaseLocal: "base:local",
|
|
19
22
|
} as const;
|
|
20
23
|
/**
|
|
21
24
|
* The chain to use.
|
|
@@ -15,6 +15,9 @@ export const UniswapLiquidityProvisionPositionsChain = {
|
|
|
15
15
|
BaseMainnet: "base:mainnet",
|
|
16
16
|
EthereumMainnet: "ethereum:mainnet",
|
|
17
17
|
ArbitrumMainnet: "arbitrum:mainnet",
|
|
18
|
+
EthereumLocal: "ethereum:local",
|
|
19
|
+
ArbitrumLocal: "arbitrum:local",
|
|
20
|
+
BaseLocal: "base:local",
|
|
18
21
|
} as const;
|
|
19
22
|
/**
|
|
20
23
|
* The chain to use.
|
|
@@ -16,6 +16,9 @@ export const UniswapPoolPriceChain = {
|
|
|
16
16
|
BaseMainnet: "base:mainnet",
|
|
17
17
|
EthereumMainnet: "ethereum:mainnet",
|
|
18
18
|
ArbitrumMainnet: "arbitrum:mainnet",
|
|
19
|
+
EthereumLocal: "ethereum:local",
|
|
20
|
+
ArbitrumLocal: "arbitrum:local",
|
|
21
|
+
BaseLocal: "base:local",
|
|
19
22
|
} as const;
|
|
20
23
|
/**
|
|
21
24
|
* The chain to use.
|
|
@@ -16,6 +16,9 @@ export const UniswapQuoteBuyExactlyChain = {
|
|
|
16
16
|
BaseMainnet: "base:mainnet",
|
|
17
17
|
EthereumMainnet: "ethereum:mainnet",
|
|
18
18
|
ArbitrumMainnet: "arbitrum:mainnet",
|
|
19
|
+
EthereumLocal: "ethereum:local",
|
|
20
|
+
ArbitrumLocal: "arbitrum:local",
|
|
21
|
+
BaseLocal: "base:local",
|
|
19
22
|
} as const;
|
|
20
23
|
/**
|
|
21
24
|
* The chain to use.
|
|
@@ -16,6 +16,9 @@ export const UniswapQuoteSellExactlyChain = {
|
|
|
16
16
|
BaseMainnet: "base:mainnet",
|
|
17
17
|
EthereumMainnet: "ethereum:mainnet",
|
|
18
18
|
ArbitrumMainnet: "arbitrum:mainnet",
|
|
19
|
+
EthereumLocal: "ethereum:local",
|
|
20
|
+
ArbitrumLocal: "arbitrum:local",
|
|
21
|
+
BaseLocal: "base:local",
|
|
19
22
|
} as const;
|
|
20
23
|
/**
|
|
21
24
|
* The chain to use.
|
package/src/sdk/sdk.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { AaveV3 } from "./aavev3.js";
|
|
|
7
7
|
import { AerodromeSlipstream } from "./aerodromeslipstream.js";
|
|
8
8
|
import { Morpho } from "./morpho.js";
|
|
9
9
|
import { Token } from "./token.js";
|
|
10
|
+
import { TransactionBatching } from "./transactionbatching.js";
|
|
10
11
|
import { UniswapV3 } from "./uniswapv3.js";
|
|
11
12
|
import { Universal } from "./universal.js";
|
|
12
13
|
|
|
@@ -42,4 +43,11 @@ export class CompassApiSDK extends ClientSDK {
|
|
|
42
43
|
get universal(): Universal {
|
|
43
44
|
return (this._universal ??= new Universal(this._options));
|
|
44
45
|
}
|
|
46
|
+
|
|
47
|
+
private _transactionBatching?: TransactionBatching;
|
|
48
|
+
get transactionBatching(): TransactionBatching {
|
|
49
|
+
return (this._transactionBatching ??= new TransactionBatching(
|
|
50
|
+
this._options,
|
|
51
|
+
));
|
|
52
|
+
}
|
|
45
53
|
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { transactionBatchingAuthorization } from "../funcs/transactionBatchingAuthorization.js";
|
|
6
|
+
import { transactionBatchingExecute } from "../funcs/transactionBatchingExecute.js";
|
|
7
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
8
|
+
import * as components from "../models/components/index.js";
|
|
9
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
10
|
+
|
|
11
|
+
export class TransactionBatching extends ClientSDK {
|
|
12
|
+
/**
|
|
13
|
+
* Get EIP-7702 Authorization
|
|
14
|
+
*
|
|
15
|
+
* @remarks
|
|
16
|
+
* Get authorization data for EIP-7702 batching operations.
|
|
17
|
+
*
|
|
18
|
+
* This authorization is required to prevent replay attacks and ensure transaction
|
|
19
|
+
* ordering when batching multiple actions into a single transaction. The authorization
|
|
20
|
+
* includes a nonce and chain ID to guarantee transaction uniqueness and proper network
|
|
21
|
+
* targeting.
|
|
22
|
+
*/
|
|
23
|
+
async authorization(
|
|
24
|
+
request: components.MulticallAuthorizationRequest,
|
|
25
|
+
options?: RequestOptions,
|
|
26
|
+
): Promise<components.MulticallAuthorizationResponse> {
|
|
27
|
+
return unwrapAsync(transactionBatchingAuthorization(
|
|
28
|
+
this,
|
|
29
|
+
request,
|
|
30
|
+
options,
|
|
31
|
+
));
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Execute Tx Batching
|
|
36
|
+
*
|
|
37
|
+
* @remarks
|
|
38
|
+
* Execute a batch of transactions in a single multicall using EIP-7702.
|
|
39
|
+
*
|
|
40
|
+
* This endpoint allows bundling multiple contract calls into a single atomic
|
|
41
|
+
* transaction, reducing gas costs and ensuring all operations succeed or fail
|
|
42
|
+
* together. The transaction must be authorized using the /authorization endpoint to
|
|
43
|
+
* prevent replay attacks.
|
|
44
|
+
*/
|
|
45
|
+
async execute(
|
|
46
|
+
request: components.MulticallExecuteRequest,
|
|
47
|
+
options?: RequestOptions,
|
|
48
|
+
): Promise<components.UnsignedMulticallTransaction> {
|
|
49
|
+
return unwrapAsync(transactionBatchingExecute(
|
|
50
|
+
this,
|
|
51
|
+
request,
|
|
52
|
+
options,
|
|
53
|
+
));
|
|
54
|
+
}
|
|
55
|
+
}
|
package/src/sdk/universal.ts
CHANGED
|
@@ -4,13 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import { universalAllowance } from "../funcs/universalAllowance.js";
|
|
6
6
|
import { universalAllowanceSet } from "../funcs/universalAllowanceSet.js";
|
|
7
|
-
import { universalBalance } from "../funcs/universalBalance.js";
|
|
8
7
|
import { universalEns } from "../funcs/universalEns.js";
|
|
9
8
|
import { universalPortfolio } from "../funcs/universalPortfolio.js";
|
|
10
|
-
import { universalPriceUsd } from "../funcs/universalPriceUsd.js";
|
|
11
9
|
import { universalSupportedTokens } from "../funcs/universalSupportedTokens.js";
|
|
12
|
-
import { universalTransferErc20 } from "../funcs/universalTransferErc20.js";
|
|
13
|
-
import { universalTransferNativeToken } from "../funcs/universalTransferNativeToken.js";
|
|
14
10
|
import { universalUnwrapWeth } from "../funcs/universalUnwrapWeth.js";
|
|
15
11
|
import { universalVisualizePortfolio } from "../funcs/universalVisualizePortfolio.js";
|
|
16
12
|
import { universalWrapEth } from "../funcs/universalWrapEth.js";
|
|
@@ -61,28 +57,6 @@ export class Universal extends ClientSDK {
|
|
|
61
57
|
));
|
|
62
58
|
}
|
|
63
59
|
|
|
64
|
-
/**
|
|
65
|
-
* Token price
|
|
66
|
-
*
|
|
67
|
-
* @remarks
|
|
68
|
-
* Retrieves the price of the specified token relative to USD using Chainlink's on-
|
|
69
|
-
* chain price feeds.
|
|
70
|
-
*
|
|
71
|
-
* Chainlink is a decentralized oracle that aggregates price data from off-chain
|
|
72
|
-
* sources. This ensures the price is tamper-resistant but the price might be stale
|
|
73
|
-
* with the update frequency of the oracle.
|
|
74
|
-
*/
|
|
75
|
-
async priceUsd(
|
|
76
|
-
request: operations.GenericPriceUsdRequest,
|
|
77
|
-
options?: RequestOptions,
|
|
78
|
-
): Promise<components.PriceResponse> {
|
|
79
|
-
return unwrapAsync(universalPriceUsd(
|
|
80
|
-
this,
|
|
81
|
-
request,
|
|
82
|
-
options,
|
|
83
|
-
));
|
|
84
|
-
}
|
|
85
|
-
|
|
86
60
|
/**
|
|
87
61
|
* List supported tokens
|
|
88
62
|
*
|
|
@@ -100,23 +74,6 @@ export class Universal extends ClientSDK {
|
|
|
100
74
|
));
|
|
101
75
|
}
|
|
102
76
|
|
|
103
|
-
/**
|
|
104
|
-
* User Token Balance
|
|
105
|
-
*
|
|
106
|
-
* @remarks
|
|
107
|
-
* Returns the balance of a specific ERC20 token for a given user address.
|
|
108
|
-
*/
|
|
109
|
-
async balance(
|
|
110
|
-
request: operations.GenericBalanceRequest,
|
|
111
|
-
options?: RequestOptions,
|
|
112
|
-
): Promise<components.BalanceInfoResponse> {
|
|
113
|
-
return unwrapAsync(universalBalance(
|
|
114
|
-
this,
|
|
115
|
-
request,
|
|
116
|
-
options,
|
|
117
|
-
));
|
|
118
|
-
}
|
|
119
|
-
|
|
120
77
|
/**
|
|
121
78
|
* Get allowance - Protocol
|
|
122
79
|
*
|
|
@@ -196,40 +153,6 @@ export class Universal extends ClientSDK {
|
|
|
196
153
|
));
|
|
197
154
|
}
|
|
198
155
|
|
|
199
|
-
/**
|
|
200
|
-
* Transfer Token
|
|
201
|
-
*
|
|
202
|
-
* @remarks
|
|
203
|
-
* Sends ERC20 tokens from the sender's address to the specified recipient.
|
|
204
|
-
*/
|
|
205
|
-
async transferErc20(
|
|
206
|
-
request: components.TransferErc20Request,
|
|
207
|
-
options?: RequestOptions,
|
|
208
|
-
): Promise<components.UnsignedTransaction> {
|
|
209
|
-
return unwrapAsync(universalTransferErc20(
|
|
210
|
-
this,
|
|
211
|
-
request,
|
|
212
|
-
options,
|
|
213
|
-
));
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
/**
|
|
217
|
-
* Transfer ETH
|
|
218
|
-
*
|
|
219
|
-
* @remarks
|
|
220
|
-
* Sends native ETH from the sender's address to the specified recipient.
|
|
221
|
-
*/
|
|
222
|
-
async transferNativeToken(
|
|
223
|
-
request: components.TransferEthRequest,
|
|
224
|
-
options?: RequestOptions,
|
|
225
|
-
): Promise<components.UnsignedTransaction> {
|
|
226
|
-
return unwrapAsync(universalTransferNativeToken(
|
|
227
|
-
this,
|
|
228
|
-
request,
|
|
229
|
-
options,
|
|
230
|
-
));
|
|
231
|
-
}
|
|
232
|
-
|
|
233
156
|
/**
|
|
234
157
|
* Set Allowance - Protocol
|
|
235
158
|
*
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { CompassApiSDKCore } from "../core.js";
|
|
2
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
-
import * as components from "../models/components/index.js";
|
|
4
|
-
import { APIError } from "../models/errors/apierror.js";
|
|
5
|
-
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
|
|
6
|
-
import * as errors from "../models/errors/index.js";
|
|
7
|
-
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
8
|
-
import * as operations from "../models/operations/index.js";
|
|
9
|
-
import { APIPromise } from "../types/async.js";
|
|
10
|
-
import { Result } from "../types/fp.js";
|
|
11
|
-
/**
|
|
12
|
-
* User Token Balance
|
|
13
|
-
*
|
|
14
|
-
* @remarks
|
|
15
|
-
* Returns the balance of a specific ERC20 token for a given user address.
|
|
16
|
-
*/
|
|
17
|
-
export declare function universalBalance(client: CompassApiSDKCore, request: operations.GenericBalanceRequest, options?: RequestOptions): APIPromise<Result<components.BalanceInfoResponse, errors.HTTPValidationError | APIError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
18
|
-
//# sourceMappingURL=universalBalance.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"universalBalance.d.ts","sourceRoot":"","sources":["../../../src/funcs/universalBalance.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAK/C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,iBAAiB,EACzB,OAAO,EAAE,UAAU,CAAC,qBAAqB,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,mBAAmB,EAC5B,MAAM,CAAC,mBAAmB,GAC1B,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAMA"}
|