@compass-labs/api-sdk 0.5.52 → 0.5.53
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/bin/mcp-server.js +420 -911
- package/bin/mcp-server.js.map +86 -86
- package/dist/commonjs/funcs/pendleMarkets.d.ts +1 -2
- package/dist/commonjs/funcs/pendleMarkets.d.ts.map +1 -1
- package/dist/commonjs/funcs/pendleMarkets.js +5 -4
- package/dist/commonjs/funcs/pendleMarkets.js.map +1 -1
- package/dist/commonjs/funcs/universalSupportedTokens.d.ts +1 -2
- package/dist/commonjs/funcs/universalSupportedTokens.d.ts.map +1 -1
- package/dist/commonjs/funcs/universalSupportedTokens.js +5 -4
- package/dist/commonjs/funcs/universalSupportedTokens.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/mcp-server/tools/pendleMarkets.d.ts +1 -6
- package/dist/commonjs/mcp-server/tools/pendleMarkets.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/pendleMarkets.js +2 -40
- package/dist/commonjs/mcp-server/tools/pendleMarkets.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/universalSupportedTokens.d.ts +1 -6
- package/dist/commonjs/mcp-server/tools/universalSupportedTokens.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/universalSupportedTokens.js +2 -40
- package/dist/commonjs/mcp-server/tools/universalSupportedTokens.js.map +1 -1
- package/dist/commonjs/models/components/aaveborrowrequest.d.ts +2 -6
- package/dist/commonjs/models/components/aaveborrowrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/aaveborrowrequest.js +2 -3
- package/dist/commonjs/models/components/aaveborrowrequest.js.map +1 -1
- package/dist/commonjs/models/components/aavelooprequest.d.ts +2 -6
- package/dist/commonjs/models/components/aavelooprequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/aavelooprequest.js +2 -3
- package/dist/commonjs/models/components/aavelooprequest.js.map +1 -1
- package/dist/commonjs/models/components/aaverepayrequest.d.ts +2 -6
- package/dist/commonjs/models/components/aaverepayrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/aaverepayrequest.js +2 -3
- package/dist/commonjs/models/components/aaverepayrequest.js.map +1 -1
- package/dist/commonjs/models/components/aavesupplyrequest.d.ts +2 -6
- package/dist/commonjs/models/components/aavesupplyrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/aavesupplyrequest.js +2 -3
- package/dist/commonjs/models/components/aavesupplyrequest.js.map +1 -1
- package/dist/commonjs/models/components/aavewithdrawrequest.d.ts +2 -6
- package/dist/commonjs/models/components/aavewithdrawrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/aavewithdrawrequest.js +2 -3
- package/dist/commonjs/models/components/aavewithdrawrequest.js.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyrequest.d.ts +2 -6
- package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyrequest.js +2 -3
- package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyrequest.js.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.d.ts +2 -6
- package/dist/commonjs/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.js +2 -3
- package/dist/commonjs/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.js.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionrequest.d.ts +2 -6
- package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionrequest.js +2 -3
- package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionrequest.js.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyrequest.d.ts +2 -6
- package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyrequest.js +2 -3
- package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyrequest.js.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.d.ts +2 -6
- package/dist/commonjs/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.js +2 -3
- package/dist/commonjs/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.js.map +1 -1
- package/dist/commonjs/models/components/batcheduseroperationsrequest.d.ts +2 -6
- package/dist/commonjs/models/components/batcheduseroperationsrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/batcheduseroperationsrequest.js +2 -3
- package/dist/commonjs/models/components/batcheduseroperationsrequest.js.map +1 -1
- package/dist/commonjs/models/components/morphoborrowrequest.d.ts +2 -28
- package/dist/commonjs/models/components/morphoborrowrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/morphoborrowrequest.js +3 -22
- package/dist/commonjs/models/components/morphoborrowrequest.js.map +1 -1
- package/dist/commonjs/models/components/morphodepositrequest.d.ts +2 -28
- package/dist/commonjs/models/components/morphodepositrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/morphodepositrequest.js +3 -22
- package/dist/commonjs/models/components/morphodepositrequest.js.map +1 -1
- package/dist/commonjs/models/components/morphorepayrequest.d.ts +2 -28
- package/dist/commonjs/models/components/morphorepayrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/morphorepayrequest.js +3 -22
- package/dist/commonjs/models/components/morphorepayrequest.js.map +1 -1
- package/dist/commonjs/models/components/morphosupplycollateralrequest.d.ts +2 -28
- package/dist/commonjs/models/components/morphosupplycollateralrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/morphosupplycollateralrequest.js +3 -22
- package/dist/commonjs/models/components/morphosupplycollateralrequest.js.map +1 -1
- package/dist/commonjs/models/components/morphowithdrawcollateralrequest.d.ts +2 -28
- package/dist/commonjs/models/components/morphowithdrawcollateralrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/morphowithdrawcollateralrequest.js +3 -22
- package/dist/commonjs/models/components/morphowithdrawcollateralrequest.js.map +1 -1
- package/dist/commonjs/models/components/morphowithdrawrequest.d.ts +2 -28
- package/dist/commonjs/models/components/morphowithdrawrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/morphowithdrawrequest.js +3 -22
- package/dist/commonjs/models/components/morphowithdrawrequest.js.map +1 -1
- package/dist/commonjs/models/components/multicallauthorizationrequest.d.ts +2 -6
- package/dist/commonjs/models/components/multicallauthorizationrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/multicallauthorizationrequest.js +2 -3
- package/dist/commonjs/models/components/multicallauthorizationrequest.js.map +1 -1
- package/dist/commonjs/models/components/multicallexecuterequest.d.ts +2 -6
- package/dist/commonjs/models/components/multicallexecuterequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/multicallexecuterequest.js +2 -3
- package/dist/commonjs/models/components/multicallexecuterequest.js.map +1 -1
- package/dist/commonjs/models/components/odosswaprequest.d.ts +2 -6
- package/dist/commonjs/models/components/odosswaprequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/odosswaprequest.js +2 -3
- package/dist/commonjs/models/components/odosswaprequest.js.map +1 -1
- package/dist/commonjs/models/components/pendleaddliquidityrequest.d.ts +2 -6
- package/dist/commonjs/models/components/pendleaddliquidityrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendleaddliquidityrequest.js +2 -3
- package/dist/commonjs/models/components/pendleaddliquidityrequest.js.map +1 -1
- package/dist/commonjs/models/components/pendlebuyptrequest.d.ts +2 -6
- package/dist/commonjs/models/components/pendlebuyptrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendlebuyptrequest.js +2 -3
- package/dist/commonjs/models/components/pendlebuyptrequest.js.map +1 -1
- package/dist/commonjs/models/components/pendlebuyytrequest.d.ts +2 -6
- package/dist/commonjs/models/components/pendlebuyytrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendlebuyytrequest.js +2 -3
- package/dist/commonjs/models/components/pendlebuyytrequest.js.map +1 -1
- package/dist/commonjs/models/components/pendleredeemyieldrequest.d.ts +2 -6
- package/dist/commonjs/models/components/pendleredeemyieldrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendleredeemyieldrequest.js +2 -3
- package/dist/commonjs/models/components/pendleredeemyieldrequest.js.map +1 -1
- package/dist/commonjs/models/components/pendleremoveliquidityrequest.d.ts +2 -6
- package/dist/commonjs/models/components/pendleremoveliquidityrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendleremoveliquidityrequest.js +2 -3
- package/dist/commonjs/models/components/pendleremoveliquidityrequest.js.map +1 -1
- package/dist/commonjs/models/components/pendlesellptrequest.d.ts +2 -6
- package/dist/commonjs/models/components/pendlesellptrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendlesellptrequest.js +2 -3
- package/dist/commonjs/models/components/pendlesellptrequest.js.map +1 -1
- package/dist/commonjs/models/components/pendlesellytrequest.d.ts +2 -6
- package/dist/commonjs/models/components/pendlesellytrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendlesellytrequest.js +2 -3
- package/dist/commonjs/models/components/pendlesellytrequest.js.map +1 -1
- package/dist/commonjs/models/components/setallowancerequest.d.ts +2 -6
- package/dist/commonjs/models/components/setallowancerequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/setallowancerequest.js +2 -3
- package/dist/commonjs/models/components/setallowancerequest.js.map +1 -1
- package/dist/commonjs/models/components/skybuyrequest.js +1 -1
- package/dist/commonjs/models/components/skybuyrequest.js.map +1 -1
- package/dist/commonjs/models/components/tokentransferrequest.d.ts +2 -6
- package/dist/commonjs/models/components/tokentransferrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/tokentransferrequest.js +2 -3
- package/dist/commonjs/models/components/tokentransferrequest.js.map +1 -1
- package/dist/commonjs/models/components/uniswapbuyexactlyrequest.d.ts +2 -6
- package/dist/commonjs/models/components/uniswapbuyexactlyrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/uniswapbuyexactlyrequest.js +2 -3
- package/dist/commonjs/models/components/uniswapbuyexactlyrequest.js.map +1 -1
- package/dist/commonjs/models/components/uniswapincreaseliquidityprovisionrequest.d.ts +2 -6
- package/dist/commonjs/models/components/uniswapincreaseliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/uniswapincreaseliquidityprovisionrequest.js +2 -3
- package/dist/commonjs/models/components/uniswapincreaseliquidityprovisionrequest.js.map +1 -1
- package/dist/commonjs/models/components/uniswapmintliquidityprovisionrequest.d.ts +2 -6
- package/dist/commonjs/models/components/uniswapmintliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/uniswapmintliquidityprovisionrequest.js +2 -3
- package/dist/commonjs/models/components/uniswapmintliquidityprovisionrequest.js.map +1 -1
- package/dist/commonjs/models/components/uniswapsellexactlyrequest.d.ts +2 -6
- package/dist/commonjs/models/components/uniswapsellexactlyrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/uniswapsellexactlyrequest.js +2 -3
- package/dist/commonjs/models/components/uniswapsellexactlyrequest.js.map +1 -1
- package/dist/commonjs/models/components/uniswapwithdrawliquidityprovisionrequest.d.ts +2 -6
- package/dist/commonjs/models/components/uniswapwithdrawliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/uniswapwithdrawliquidityprovisionrequest.js +2 -3
- package/dist/commonjs/models/components/uniswapwithdrawliquidityprovisionrequest.js.map +1 -1
- package/dist/commonjs/models/components/unwrapwethrequest.d.ts +2 -6
- package/dist/commonjs/models/components/unwrapwethrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/unwrapwethrequest.js +2 -3
- package/dist/commonjs/models/components/unwrapwethrequest.js.map +1 -1
- package/dist/commonjs/models/components/vaultdepositrequest.d.ts +2 -6
- package/dist/commonjs/models/components/vaultdepositrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/vaultdepositrequest.js +2 -3
- package/dist/commonjs/models/components/vaultdepositrequest.js.map +1 -1
- package/dist/commonjs/models/components/vaultwithdrawrequest.d.ts +2 -6
- package/dist/commonjs/models/components/vaultwithdrawrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/vaultwithdrawrequest.js +2 -3
- package/dist/commonjs/models/components/vaultwithdrawrequest.js.map +1 -1
- package/dist/commonjs/models/components/wrapethrequest.d.ts +2 -6
- package/dist/commonjs/models/components/wrapethrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/wrapethrequest.js +2 -3
- package/dist/commonjs/models/components/wrapethrequest.js.map +1 -1
- package/dist/commonjs/models/operations/aaveaavesupportedtokens.d.ts +2 -40
- package/dist/commonjs/models/operations/aaveaavesupportedtokens.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aaveaavesupportedtokens.js +3 -26
- package/dist/commonjs/models/operations/aaveaavesupportedtokens.js.map +1 -1
- package/dist/commonjs/models/operations/aaveavgrate.d.ts +2 -39
- package/dist/commonjs/models/operations/aaveavgrate.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aaveavgrate.js +3 -26
- package/dist/commonjs/models/operations/aaveavgrate.js.map +1 -1
- package/dist/commonjs/models/operations/aavehistoricaltransactions.d.ts +2 -40
- package/dist/commonjs/models/operations/aavehistoricaltransactions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aavehistoricaltransactions.js +3 -26
- package/dist/commonjs/models/operations/aavehistoricaltransactions.js.map +1 -1
- package/dist/commonjs/models/operations/aaveliquiditychange.d.ts +2 -39
- package/dist/commonjs/models/operations/aaveliquiditychange.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aaveliquiditychange.js +3 -26
- package/dist/commonjs/models/operations/aaveliquiditychange.js.map +1 -1
- package/dist/commonjs/models/operations/aaverate.d.ts +2 -39
- package/dist/commonjs/models/operations/aaverate.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aaverate.js +3 -26
- package/dist/commonjs/models/operations/aaverate.js.map +1 -1
- package/dist/commonjs/models/operations/aavereserveoverview.d.ts +2 -39
- package/dist/commonjs/models/operations/aavereserveoverview.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aavereserveoverview.js +3 -26
- package/dist/commonjs/models/operations/aavereserveoverview.js.map +1 -1
- package/dist/commonjs/models/operations/aavestdrate.d.ts +2 -39
- package/dist/commonjs/models/operations/aavestdrate.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aavestdrate.js +3 -26
- package/dist/commonjs/models/operations/aavestdrate.js.map +1 -1
- package/dist/commonjs/models/operations/aavetokenprice.d.ts +2 -39
- package/dist/commonjs/models/operations/aavetokenprice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aavetokenprice.js +3 -26
- package/dist/commonjs/models/operations/aavetokenprice.js.map +1 -1
- package/dist/commonjs/models/operations/aaveuserpositionpertoken.d.ts +2 -39
- package/dist/commonjs/models/operations/aaveuserpositionpertoken.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aaveuserpositionpertoken.js +3 -26
- package/dist/commonjs/models/operations/aaveuserpositionpertoken.js.map +1 -1
- package/dist/commonjs/models/operations/aaveuserpositionsummary.d.ts +2 -40
- package/dist/commonjs/models/operations/aaveuserpositionsummary.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aaveuserpositionsummary.js +3 -26
- package/dist/commonjs/models/operations/aaveuserpositionsummary.js.map +1 -1
- package/dist/commonjs/models/operations/aerodromeslipstreamliquidityprovisionpositions.d.ts +2 -40
- package/dist/commonjs/models/operations/aerodromeslipstreamliquidityprovisionpositions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aerodromeslipstreamliquidityprovisionpositions.js +3 -28
- package/dist/commonjs/models/operations/aerodromeslipstreamliquidityprovisionpositions.js.map +1 -1
- package/dist/commonjs/models/operations/aerodromeslipstreampoolprice.d.ts +2 -39
- package/dist/commonjs/models/operations/aerodromeslipstreampoolprice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aerodromeslipstreampoolprice.js +3 -26
- package/dist/commonjs/models/operations/aerodromeslipstreampoolprice.js.map +1 -1
- package/dist/commonjs/models/operations/genericallowance.d.ts +2 -39
- package/dist/commonjs/models/operations/genericallowance.d.ts.map +1 -1
- package/dist/commonjs/models/operations/genericallowance.js +3 -26
- package/dist/commonjs/models/operations/genericallowance.js.map +1 -1
- package/dist/commonjs/models/operations/genericens.d.ts +2 -40
- package/dist/commonjs/models/operations/genericens.d.ts.map +1 -1
- package/dist/commonjs/models/operations/genericens.js +3 -26
- package/dist/commonjs/models/operations/genericens.js.map +1 -1
- package/dist/commonjs/models/operations/genericportfolio.d.ts +2 -40
- package/dist/commonjs/models/operations/genericportfolio.d.ts.map +1 -1
- package/dist/commonjs/models/operations/genericportfolio.js +3 -26
- package/dist/commonjs/models/operations/genericportfolio.js.map +1 -1
- package/dist/commonjs/models/operations/genericsupportedtokens.d.ts +2 -40
- package/dist/commonjs/models/operations/genericsupportedtokens.d.ts.map +1 -1
- package/dist/commonjs/models/operations/genericsupportedtokens.js +3 -26
- package/dist/commonjs/models/operations/genericsupportedtokens.js.map +1 -1
- package/dist/commonjs/models/operations/genericvisualizeportfolio.d.ts +2 -40
- package/dist/commonjs/models/operations/genericvisualizeportfolio.d.ts.map +1 -1
- package/dist/commonjs/models/operations/genericvisualizeportfolio.js +3 -26
- package/dist/commonjs/models/operations/genericvisualizeportfolio.js.map +1 -1
- package/dist/commonjs/models/operations/morphomarket.d.ts +2 -28
- package/dist/commonjs/models/operations/morphomarket.d.ts.map +1 -1
- package/dist/commonjs/models/operations/morphomarket.js +3 -22
- package/dist/commonjs/models/operations/morphomarket.js.map +1 -1
- package/dist/commonjs/models/operations/morphomarketposition.d.ts +2 -28
- package/dist/commonjs/models/operations/morphomarketposition.d.ts.map +1 -1
- package/dist/commonjs/models/operations/morphomarketposition.js +3 -22
- package/dist/commonjs/models/operations/morphomarketposition.js.map +1 -1
- package/dist/commonjs/models/operations/morphomarkets.d.ts +2 -28
- package/dist/commonjs/models/operations/morphomarkets.d.ts.map +1 -1
- package/dist/commonjs/models/operations/morphomarkets.js +3 -22
- package/dist/commonjs/models/operations/morphomarkets.js.map +1 -1
- package/dist/commonjs/models/operations/morphouserposition.d.ts +2 -28
- package/dist/commonjs/models/operations/morphouserposition.d.ts.map +1 -1
- package/dist/commonjs/models/operations/morphouserposition.js +3 -22
- package/dist/commonjs/models/operations/morphouserposition.js.map +1 -1
- package/dist/commonjs/models/operations/morphovault.d.ts +2 -40
- package/dist/commonjs/models/operations/morphovault.d.ts.map +1 -1
- package/dist/commonjs/models/operations/morphovault.js +3 -26
- package/dist/commonjs/models/operations/morphovault.js.map +1 -1
- package/dist/commonjs/models/operations/morphovaults.d.ts +2 -28
- package/dist/commonjs/models/operations/morphovaults.d.ts.map +1 -1
- package/dist/commonjs/models/operations/morphovaults.js +3 -22
- package/dist/commonjs/models/operations/morphovaults.js.map +1 -1
- package/dist/commonjs/models/operations/pendlemarket.d.ts +2 -40
- package/dist/commonjs/models/operations/pendlemarket.d.ts.map +1 -1
- package/dist/commonjs/models/operations/pendlemarket.js +3 -26
- package/dist/commonjs/models/operations/pendlemarket.js.map +1 -1
- package/dist/commonjs/models/operations/pendlemarkets.d.ts +2 -40
- package/dist/commonjs/models/operations/pendlemarkets.d.ts.map +1 -1
- package/dist/commonjs/models/operations/pendlemarkets.js +3 -26
- package/dist/commonjs/models/operations/pendlemarkets.js.map +1 -1
- package/dist/commonjs/models/operations/pendlepositions.d.ts +2 -40
- package/dist/commonjs/models/operations/pendlepositions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/pendlepositions.js +3 -26
- package/dist/commonjs/models/operations/pendlepositions.js.map +1 -1
- package/dist/commonjs/models/operations/pendlequote.d.ts +2 -39
- package/dist/commonjs/models/operations/pendlequote.d.ts.map +1 -1
- package/dist/commonjs/models/operations/pendlequote.js +3 -26
- package/dist/commonjs/models/operations/pendlequote.js.map +1 -1
- package/dist/commonjs/models/operations/tokenaddress.d.ts +2 -39
- package/dist/commonjs/models/operations/tokenaddress.d.ts.map +1 -1
- package/dist/commonjs/models/operations/tokenaddress.js +3 -26
- package/dist/commonjs/models/operations/tokenaddress.js.map +1 -1
- package/dist/commonjs/models/operations/tokenbalance.d.ts +2 -40
- package/dist/commonjs/models/operations/tokenbalance.d.ts.map +1 -1
- package/dist/commonjs/models/operations/tokenbalance.js +3 -26
- package/dist/commonjs/models/operations/tokenbalance.js.map +1 -1
- package/dist/commonjs/models/operations/tokenprice.d.ts +2 -40
- package/dist/commonjs/models/operations/tokenprice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/tokenprice.js +3 -26
- package/dist/commonjs/models/operations/tokenprice.js.map +1 -1
- package/dist/commonjs/models/operations/uniswapliquidityprovisioninrange.d.ts +2 -40
- package/dist/commonjs/models/operations/uniswapliquidityprovisioninrange.d.ts.map +1 -1
- package/dist/commonjs/models/operations/uniswapliquidityprovisioninrange.js +3 -26
- package/dist/commonjs/models/operations/uniswapliquidityprovisioninrange.js.map +1 -1
- package/dist/commonjs/models/operations/uniswapliquidityprovisionpositions.d.ts +2 -40
- package/dist/commonjs/models/operations/uniswapliquidityprovisionpositions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/uniswapliquidityprovisionpositions.js +3 -27
- package/dist/commonjs/models/operations/uniswapliquidityprovisionpositions.js.map +1 -1
- package/dist/commonjs/models/operations/uniswappoolprice.d.ts +2 -39
- package/dist/commonjs/models/operations/uniswappoolprice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/uniswappoolprice.js +3 -26
- package/dist/commonjs/models/operations/uniswappoolprice.js.map +1 -1
- package/dist/commonjs/models/operations/uniswapquotebuyexactly.d.ts +2 -39
- package/dist/commonjs/models/operations/uniswapquotebuyexactly.d.ts.map +1 -1
- package/dist/commonjs/models/operations/uniswapquotebuyexactly.js +3 -26
- package/dist/commonjs/models/operations/uniswapquotebuyexactly.js.map +1 -1
- package/dist/commonjs/models/operations/uniswapquotesellexactly.d.ts +2 -39
- package/dist/commonjs/models/operations/uniswapquotesellexactly.d.ts.map +1 -1
- package/dist/commonjs/models/operations/uniswapquotesellexactly.js +3 -26
- package/dist/commonjs/models/operations/uniswapquotesellexactly.js.map +1 -1
- package/dist/commonjs/models/operations/vaultsvault.d.ts +2 -40
- package/dist/commonjs/models/operations/vaultsvault.d.ts.map +1 -1
- package/dist/commonjs/models/operations/vaultsvault.js +3 -26
- package/dist/commonjs/models/operations/vaultsvault.js.map +1 -1
- package/dist/commonjs/sdk/pendle.d.ts +1 -1
- package/dist/commonjs/sdk/pendle.d.ts.map +1 -1
- package/dist/commonjs/sdk/pendle.js +2 -2
- package/dist/commonjs/sdk/pendle.js.map +1 -1
- package/dist/commonjs/sdk/universal.d.ts +1 -1
- package/dist/commonjs/sdk/universal.d.ts.map +1 -1
- package/dist/commonjs/sdk/universal.js +2 -2
- package/dist/commonjs/sdk/universal.js.map +1 -1
- package/dist/esm/funcs/pendleMarkets.d.ts +1 -2
- package/dist/esm/funcs/pendleMarkets.d.ts.map +1 -1
- package/dist/esm/funcs/pendleMarkets.js +5 -4
- package/dist/esm/funcs/pendleMarkets.js.map +1 -1
- package/dist/esm/funcs/universalSupportedTokens.d.ts +1 -2
- package/dist/esm/funcs/universalSupportedTokens.d.ts.map +1 -1
- package/dist/esm/funcs/universalSupportedTokens.js +5 -4
- package/dist/esm/funcs/universalSupportedTokens.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/mcp-server/tools/pendleMarkets.d.ts +1 -6
- package/dist/esm/mcp-server/tools/pendleMarkets.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/pendleMarkets.js +2 -7
- package/dist/esm/mcp-server/tools/pendleMarkets.js.map +1 -1
- package/dist/esm/mcp-server/tools/universalSupportedTokens.d.ts +1 -6
- package/dist/esm/mcp-server/tools/universalSupportedTokens.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/universalSupportedTokens.js +2 -7
- package/dist/esm/mcp-server/tools/universalSupportedTokens.js.map +1 -1
- package/dist/esm/models/components/aaveborrowrequest.d.ts +2 -6
- package/dist/esm/models/components/aaveborrowrequest.d.ts.map +1 -1
- package/dist/esm/models/components/aaveborrowrequest.js +2 -3
- package/dist/esm/models/components/aaveborrowrequest.js.map +1 -1
- package/dist/esm/models/components/aavelooprequest.d.ts +2 -6
- package/dist/esm/models/components/aavelooprequest.d.ts.map +1 -1
- package/dist/esm/models/components/aavelooprequest.js +2 -3
- package/dist/esm/models/components/aavelooprequest.js.map +1 -1
- package/dist/esm/models/components/aaverepayrequest.d.ts +2 -6
- package/dist/esm/models/components/aaverepayrequest.d.ts.map +1 -1
- package/dist/esm/models/components/aaverepayrequest.js +2 -3
- package/dist/esm/models/components/aaverepayrequest.js.map +1 -1
- package/dist/esm/models/components/aavesupplyrequest.d.ts +2 -6
- package/dist/esm/models/components/aavesupplyrequest.d.ts.map +1 -1
- package/dist/esm/models/components/aavesupplyrequest.js +2 -3
- package/dist/esm/models/components/aavesupplyrequest.js.map +1 -1
- package/dist/esm/models/components/aavewithdrawrequest.d.ts +2 -6
- package/dist/esm/models/components/aavewithdrawrequest.d.ts.map +1 -1
- package/dist/esm/models/components/aavewithdrawrequest.js +2 -3
- package/dist/esm/models/components/aavewithdrawrequest.js.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreambuyexactlyrequest.d.ts +2 -6
- package/dist/esm/models/components/aerodromeslipstreambuyexactlyrequest.d.ts.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreambuyexactlyrequest.js +2 -3
- package/dist/esm/models/components/aerodromeslipstreambuyexactlyrequest.js.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.d.ts +2 -6
- package/dist/esm/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.js +2 -3
- package/dist/esm/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.js.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionrequest.d.ts +2 -6
- package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionrequest.js +2 -3
- package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionrequest.js.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreamsellexactlyrequest.d.ts +2 -6
- package/dist/esm/models/components/aerodromeslipstreamsellexactlyrequest.d.ts.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreamsellexactlyrequest.js +2 -3
- package/dist/esm/models/components/aerodromeslipstreamsellexactlyrequest.js.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.d.ts +2 -6
- package/dist/esm/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.js +2 -3
- package/dist/esm/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.js.map +1 -1
- package/dist/esm/models/components/batcheduseroperationsrequest.d.ts +2 -6
- package/dist/esm/models/components/batcheduseroperationsrequest.d.ts.map +1 -1
- package/dist/esm/models/components/batcheduseroperationsrequest.js +2 -3
- package/dist/esm/models/components/batcheduseroperationsrequest.js.map +1 -1
- package/dist/esm/models/components/morphoborrowrequest.d.ts +2 -28
- package/dist/esm/models/components/morphoborrowrequest.d.ts.map +1 -1
- package/dist/esm/models/components/morphoborrowrequest.js +2 -21
- package/dist/esm/models/components/morphoborrowrequest.js.map +1 -1
- package/dist/esm/models/components/morphodepositrequest.d.ts +2 -28
- package/dist/esm/models/components/morphodepositrequest.d.ts.map +1 -1
- package/dist/esm/models/components/morphodepositrequest.js +2 -21
- package/dist/esm/models/components/morphodepositrequest.js.map +1 -1
- package/dist/esm/models/components/morphorepayrequest.d.ts +2 -28
- package/dist/esm/models/components/morphorepayrequest.d.ts.map +1 -1
- package/dist/esm/models/components/morphorepayrequest.js +2 -21
- package/dist/esm/models/components/morphorepayrequest.js.map +1 -1
- package/dist/esm/models/components/morphosupplycollateralrequest.d.ts +2 -28
- package/dist/esm/models/components/morphosupplycollateralrequest.d.ts.map +1 -1
- package/dist/esm/models/components/morphosupplycollateralrequest.js +2 -21
- package/dist/esm/models/components/morphosupplycollateralrequest.js.map +1 -1
- package/dist/esm/models/components/morphowithdrawcollateralrequest.d.ts +2 -28
- package/dist/esm/models/components/morphowithdrawcollateralrequest.d.ts.map +1 -1
- package/dist/esm/models/components/morphowithdrawcollateralrequest.js +2 -21
- package/dist/esm/models/components/morphowithdrawcollateralrequest.js.map +1 -1
- package/dist/esm/models/components/morphowithdrawrequest.d.ts +2 -28
- package/dist/esm/models/components/morphowithdrawrequest.d.ts.map +1 -1
- package/dist/esm/models/components/morphowithdrawrequest.js +2 -21
- package/dist/esm/models/components/morphowithdrawrequest.js.map +1 -1
- package/dist/esm/models/components/multicallauthorizationrequest.d.ts +2 -6
- package/dist/esm/models/components/multicallauthorizationrequest.d.ts.map +1 -1
- package/dist/esm/models/components/multicallauthorizationrequest.js +2 -3
- package/dist/esm/models/components/multicallauthorizationrequest.js.map +1 -1
- package/dist/esm/models/components/multicallexecuterequest.d.ts +2 -6
- package/dist/esm/models/components/multicallexecuterequest.d.ts.map +1 -1
- package/dist/esm/models/components/multicallexecuterequest.js +2 -3
- package/dist/esm/models/components/multicallexecuterequest.js.map +1 -1
- package/dist/esm/models/components/odosswaprequest.d.ts +2 -6
- package/dist/esm/models/components/odosswaprequest.d.ts.map +1 -1
- package/dist/esm/models/components/odosswaprequest.js +2 -3
- package/dist/esm/models/components/odosswaprequest.js.map +1 -1
- package/dist/esm/models/components/pendleaddliquidityrequest.d.ts +2 -6
- package/dist/esm/models/components/pendleaddliquidityrequest.d.ts.map +1 -1
- package/dist/esm/models/components/pendleaddliquidityrequest.js +2 -3
- package/dist/esm/models/components/pendleaddliquidityrequest.js.map +1 -1
- package/dist/esm/models/components/pendlebuyptrequest.d.ts +2 -6
- package/dist/esm/models/components/pendlebuyptrequest.d.ts.map +1 -1
- package/dist/esm/models/components/pendlebuyptrequest.js +2 -3
- package/dist/esm/models/components/pendlebuyptrequest.js.map +1 -1
- package/dist/esm/models/components/pendlebuyytrequest.d.ts +2 -6
- package/dist/esm/models/components/pendlebuyytrequest.d.ts.map +1 -1
- package/dist/esm/models/components/pendlebuyytrequest.js +2 -3
- package/dist/esm/models/components/pendlebuyytrequest.js.map +1 -1
- package/dist/esm/models/components/pendleredeemyieldrequest.d.ts +2 -6
- package/dist/esm/models/components/pendleredeemyieldrequest.d.ts.map +1 -1
- package/dist/esm/models/components/pendleredeemyieldrequest.js +2 -3
- package/dist/esm/models/components/pendleredeemyieldrequest.js.map +1 -1
- package/dist/esm/models/components/pendleremoveliquidityrequest.d.ts +2 -6
- package/dist/esm/models/components/pendleremoveliquidityrequest.d.ts.map +1 -1
- package/dist/esm/models/components/pendleremoveliquidityrequest.js +2 -3
- package/dist/esm/models/components/pendleremoveliquidityrequest.js.map +1 -1
- package/dist/esm/models/components/pendlesellptrequest.d.ts +2 -6
- package/dist/esm/models/components/pendlesellptrequest.d.ts.map +1 -1
- package/dist/esm/models/components/pendlesellptrequest.js +2 -3
- package/dist/esm/models/components/pendlesellptrequest.js.map +1 -1
- package/dist/esm/models/components/pendlesellytrequest.d.ts +2 -6
- package/dist/esm/models/components/pendlesellytrequest.d.ts.map +1 -1
- package/dist/esm/models/components/pendlesellytrequest.js +2 -3
- package/dist/esm/models/components/pendlesellytrequest.js.map +1 -1
- package/dist/esm/models/components/setallowancerequest.d.ts +2 -6
- package/dist/esm/models/components/setallowancerequest.d.ts.map +1 -1
- package/dist/esm/models/components/setallowancerequest.js +2 -3
- package/dist/esm/models/components/setallowancerequest.js.map +1 -1
- package/dist/esm/models/components/skybuyrequest.js +1 -1
- package/dist/esm/models/components/skybuyrequest.js.map +1 -1
- package/dist/esm/models/components/tokentransferrequest.d.ts +2 -6
- package/dist/esm/models/components/tokentransferrequest.d.ts.map +1 -1
- package/dist/esm/models/components/tokentransferrequest.js +2 -3
- package/dist/esm/models/components/tokentransferrequest.js.map +1 -1
- package/dist/esm/models/components/uniswapbuyexactlyrequest.d.ts +2 -6
- package/dist/esm/models/components/uniswapbuyexactlyrequest.d.ts.map +1 -1
- package/dist/esm/models/components/uniswapbuyexactlyrequest.js +2 -3
- package/dist/esm/models/components/uniswapbuyexactlyrequest.js.map +1 -1
- package/dist/esm/models/components/uniswapincreaseliquidityprovisionrequest.d.ts +2 -6
- package/dist/esm/models/components/uniswapincreaseliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/esm/models/components/uniswapincreaseliquidityprovisionrequest.js +2 -3
- package/dist/esm/models/components/uniswapincreaseliquidityprovisionrequest.js.map +1 -1
- package/dist/esm/models/components/uniswapmintliquidityprovisionrequest.d.ts +2 -6
- package/dist/esm/models/components/uniswapmintliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/esm/models/components/uniswapmintliquidityprovisionrequest.js +2 -3
- package/dist/esm/models/components/uniswapmintliquidityprovisionrequest.js.map +1 -1
- package/dist/esm/models/components/uniswapsellexactlyrequest.d.ts +2 -6
- package/dist/esm/models/components/uniswapsellexactlyrequest.d.ts.map +1 -1
- package/dist/esm/models/components/uniswapsellexactlyrequest.js +2 -3
- package/dist/esm/models/components/uniswapsellexactlyrequest.js.map +1 -1
- package/dist/esm/models/components/uniswapwithdrawliquidityprovisionrequest.d.ts +2 -6
- package/dist/esm/models/components/uniswapwithdrawliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/esm/models/components/uniswapwithdrawliquidityprovisionrequest.js +2 -3
- package/dist/esm/models/components/uniswapwithdrawliquidityprovisionrequest.js.map +1 -1
- package/dist/esm/models/components/unwrapwethrequest.d.ts +2 -6
- package/dist/esm/models/components/unwrapwethrequest.d.ts.map +1 -1
- package/dist/esm/models/components/unwrapwethrequest.js +2 -3
- package/dist/esm/models/components/unwrapwethrequest.js.map +1 -1
- package/dist/esm/models/components/vaultdepositrequest.d.ts +2 -6
- package/dist/esm/models/components/vaultdepositrequest.d.ts.map +1 -1
- package/dist/esm/models/components/vaultdepositrequest.js +2 -3
- package/dist/esm/models/components/vaultdepositrequest.js.map +1 -1
- package/dist/esm/models/components/vaultwithdrawrequest.d.ts +2 -6
- package/dist/esm/models/components/vaultwithdrawrequest.d.ts.map +1 -1
- package/dist/esm/models/components/vaultwithdrawrequest.js +2 -3
- package/dist/esm/models/components/vaultwithdrawrequest.js.map +1 -1
- package/dist/esm/models/components/wrapethrequest.d.ts +2 -6
- package/dist/esm/models/components/wrapethrequest.d.ts.map +1 -1
- package/dist/esm/models/components/wrapethrequest.js +2 -3
- package/dist/esm/models/components/wrapethrequest.js.map +1 -1
- package/dist/esm/models/operations/aaveaavesupportedtokens.d.ts +2 -40
- package/dist/esm/models/operations/aaveaavesupportedtokens.d.ts.map +1 -1
- package/dist/esm/models/operations/aaveaavesupportedtokens.js +2 -25
- package/dist/esm/models/operations/aaveaavesupportedtokens.js.map +1 -1
- package/dist/esm/models/operations/aaveavgrate.d.ts +2 -39
- package/dist/esm/models/operations/aaveavgrate.d.ts.map +1 -1
- package/dist/esm/models/operations/aaveavgrate.js +2 -25
- package/dist/esm/models/operations/aaveavgrate.js.map +1 -1
- package/dist/esm/models/operations/aavehistoricaltransactions.d.ts +2 -40
- package/dist/esm/models/operations/aavehistoricaltransactions.d.ts.map +1 -1
- package/dist/esm/models/operations/aavehistoricaltransactions.js +2 -25
- package/dist/esm/models/operations/aavehistoricaltransactions.js.map +1 -1
- package/dist/esm/models/operations/aaveliquiditychange.d.ts +2 -39
- package/dist/esm/models/operations/aaveliquiditychange.d.ts.map +1 -1
- package/dist/esm/models/operations/aaveliquiditychange.js +2 -25
- package/dist/esm/models/operations/aaveliquiditychange.js.map +1 -1
- package/dist/esm/models/operations/aaverate.d.ts +2 -39
- package/dist/esm/models/operations/aaverate.d.ts.map +1 -1
- package/dist/esm/models/operations/aaverate.js +2 -25
- package/dist/esm/models/operations/aaverate.js.map +1 -1
- package/dist/esm/models/operations/aavereserveoverview.d.ts +2 -39
- package/dist/esm/models/operations/aavereserveoverview.d.ts.map +1 -1
- package/dist/esm/models/operations/aavereserveoverview.js +2 -25
- package/dist/esm/models/operations/aavereserveoverview.js.map +1 -1
- package/dist/esm/models/operations/aavestdrate.d.ts +2 -39
- package/dist/esm/models/operations/aavestdrate.d.ts.map +1 -1
- package/dist/esm/models/operations/aavestdrate.js +2 -25
- package/dist/esm/models/operations/aavestdrate.js.map +1 -1
- package/dist/esm/models/operations/aavetokenprice.d.ts +2 -39
- package/dist/esm/models/operations/aavetokenprice.d.ts.map +1 -1
- package/dist/esm/models/operations/aavetokenprice.js +2 -25
- package/dist/esm/models/operations/aavetokenprice.js.map +1 -1
- package/dist/esm/models/operations/aaveuserpositionpertoken.d.ts +2 -39
- package/dist/esm/models/operations/aaveuserpositionpertoken.d.ts.map +1 -1
- package/dist/esm/models/operations/aaveuserpositionpertoken.js +2 -25
- package/dist/esm/models/operations/aaveuserpositionpertoken.js.map +1 -1
- package/dist/esm/models/operations/aaveuserpositionsummary.d.ts +2 -40
- package/dist/esm/models/operations/aaveuserpositionsummary.d.ts.map +1 -1
- package/dist/esm/models/operations/aaveuserpositionsummary.js +2 -25
- package/dist/esm/models/operations/aaveuserpositionsummary.js.map +1 -1
- package/dist/esm/models/operations/aerodromeslipstreamliquidityprovisionpositions.d.ts +2 -40
- package/dist/esm/models/operations/aerodromeslipstreamliquidityprovisionpositions.d.ts.map +1 -1
- package/dist/esm/models/operations/aerodromeslipstreamliquidityprovisionpositions.js +2 -27
- package/dist/esm/models/operations/aerodromeslipstreamliquidityprovisionpositions.js.map +1 -1
- package/dist/esm/models/operations/aerodromeslipstreampoolprice.d.ts +2 -39
- package/dist/esm/models/operations/aerodromeslipstreampoolprice.d.ts.map +1 -1
- package/dist/esm/models/operations/aerodromeslipstreampoolprice.js +2 -25
- package/dist/esm/models/operations/aerodromeslipstreampoolprice.js.map +1 -1
- package/dist/esm/models/operations/genericallowance.d.ts +2 -39
- package/dist/esm/models/operations/genericallowance.d.ts.map +1 -1
- package/dist/esm/models/operations/genericallowance.js +2 -25
- package/dist/esm/models/operations/genericallowance.js.map +1 -1
- package/dist/esm/models/operations/genericens.d.ts +2 -40
- package/dist/esm/models/operations/genericens.d.ts.map +1 -1
- package/dist/esm/models/operations/genericens.js +2 -25
- package/dist/esm/models/operations/genericens.js.map +1 -1
- package/dist/esm/models/operations/genericportfolio.d.ts +2 -40
- package/dist/esm/models/operations/genericportfolio.d.ts.map +1 -1
- package/dist/esm/models/operations/genericportfolio.js +2 -25
- package/dist/esm/models/operations/genericportfolio.js.map +1 -1
- package/dist/esm/models/operations/genericsupportedtokens.d.ts +2 -40
- package/dist/esm/models/operations/genericsupportedtokens.d.ts.map +1 -1
- package/dist/esm/models/operations/genericsupportedtokens.js +2 -25
- package/dist/esm/models/operations/genericsupportedtokens.js.map +1 -1
- package/dist/esm/models/operations/genericvisualizeportfolio.d.ts +2 -40
- package/dist/esm/models/operations/genericvisualizeportfolio.d.ts.map +1 -1
- package/dist/esm/models/operations/genericvisualizeportfolio.js +2 -25
- package/dist/esm/models/operations/genericvisualizeportfolio.js.map +1 -1
- package/dist/esm/models/operations/morphomarket.d.ts +2 -28
- package/dist/esm/models/operations/morphomarket.d.ts.map +1 -1
- package/dist/esm/models/operations/morphomarket.js +2 -21
- package/dist/esm/models/operations/morphomarket.js.map +1 -1
- package/dist/esm/models/operations/morphomarketposition.d.ts +2 -28
- package/dist/esm/models/operations/morphomarketposition.d.ts.map +1 -1
- package/dist/esm/models/operations/morphomarketposition.js +2 -21
- package/dist/esm/models/operations/morphomarketposition.js.map +1 -1
- package/dist/esm/models/operations/morphomarkets.d.ts +2 -28
- package/dist/esm/models/operations/morphomarkets.d.ts.map +1 -1
- package/dist/esm/models/operations/morphomarkets.js +2 -21
- package/dist/esm/models/operations/morphomarkets.js.map +1 -1
- package/dist/esm/models/operations/morphouserposition.d.ts +2 -28
- package/dist/esm/models/operations/morphouserposition.d.ts.map +1 -1
- package/dist/esm/models/operations/morphouserposition.js +2 -21
- package/dist/esm/models/operations/morphouserposition.js.map +1 -1
- package/dist/esm/models/operations/morphovault.d.ts +2 -40
- package/dist/esm/models/operations/morphovault.d.ts.map +1 -1
- package/dist/esm/models/operations/morphovault.js +2 -25
- package/dist/esm/models/operations/morphovault.js.map +1 -1
- package/dist/esm/models/operations/morphovaults.d.ts +2 -28
- package/dist/esm/models/operations/morphovaults.d.ts.map +1 -1
- package/dist/esm/models/operations/morphovaults.js +2 -21
- package/dist/esm/models/operations/morphovaults.js.map +1 -1
- package/dist/esm/models/operations/pendlemarket.d.ts +2 -40
- package/dist/esm/models/operations/pendlemarket.d.ts.map +1 -1
- package/dist/esm/models/operations/pendlemarket.js +2 -25
- package/dist/esm/models/operations/pendlemarket.js.map +1 -1
- package/dist/esm/models/operations/pendlemarkets.d.ts +2 -40
- package/dist/esm/models/operations/pendlemarkets.d.ts.map +1 -1
- package/dist/esm/models/operations/pendlemarkets.js +2 -25
- package/dist/esm/models/operations/pendlemarkets.js.map +1 -1
- package/dist/esm/models/operations/pendlepositions.d.ts +2 -40
- package/dist/esm/models/operations/pendlepositions.d.ts.map +1 -1
- package/dist/esm/models/operations/pendlepositions.js +2 -25
- package/dist/esm/models/operations/pendlepositions.js.map +1 -1
- package/dist/esm/models/operations/pendlequote.d.ts +2 -39
- package/dist/esm/models/operations/pendlequote.d.ts.map +1 -1
- package/dist/esm/models/operations/pendlequote.js +2 -25
- package/dist/esm/models/operations/pendlequote.js.map +1 -1
- package/dist/esm/models/operations/tokenaddress.d.ts +2 -39
- package/dist/esm/models/operations/tokenaddress.d.ts.map +1 -1
- package/dist/esm/models/operations/tokenaddress.js +2 -25
- package/dist/esm/models/operations/tokenaddress.js.map +1 -1
- package/dist/esm/models/operations/tokenbalance.d.ts +2 -40
- package/dist/esm/models/operations/tokenbalance.d.ts.map +1 -1
- package/dist/esm/models/operations/tokenbalance.js +2 -25
- package/dist/esm/models/operations/tokenbalance.js.map +1 -1
- package/dist/esm/models/operations/tokenprice.d.ts +2 -40
- package/dist/esm/models/operations/tokenprice.d.ts.map +1 -1
- package/dist/esm/models/operations/tokenprice.js +2 -25
- package/dist/esm/models/operations/tokenprice.js.map +1 -1
- package/dist/esm/models/operations/uniswapliquidityprovisioninrange.d.ts +2 -40
- package/dist/esm/models/operations/uniswapliquidityprovisioninrange.d.ts.map +1 -1
- package/dist/esm/models/operations/uniswapliquidityprovisioninrange.js +2 -25
- package/dist/esm/models/operations/uniswapliquidityprovisioninrange.js.map +1 -1
- package/dist/esm/models/operations/uniswapliquidityprovisionpositions.d.ts +2 -40
- package/dist/esm/models/operations/uniswapliquidityprovisionpositions.d.ts.map +1 -1
- package/dist/esm/models/operations/uniswapliquidityprovisionpositions.js +2 -26
- package/dist/esm/models/operations/uniswapliquidityprovisionpositions.js.map +1 -1
- package/dist/esm/models/operations/uniswappoolprice.d.ts +2 -39
- package/dist/esm/models/operations/uniswappoolprice.d.ts.map +1 -1
- package/dist/esm/models/operations/uniswappoolprice.js +2 -25
- package/dist/esm/models/operations/uniswappoolprice.js.map +1 -1
- package/dist/esm/models/operations/uniswapquotebuyexactly.d.ts +2 -39
- package/dist/esm/models/operations/uniswapquotebuyexactly.d.ts.map +1 -1
- package/dist/esm/models/operations/uniswapquotebuyexactly.js +2 -25
- package/dist/esm/models/operations/uniswapquotebuyexactly.js.map +1 -1
- package/dist/esm/models/operations/uniswapquotesellexactly.d.ts +2 -39
- package/dist/esm/models/operations/uniswapquotesellexactly.d.ts.map +1 -1
- package/dist/esm/models/operations/uniswapquotesellexactly.js +2 -25
- package/dist/esm/models/operations/uniswapquotesellexactly.js.map +1 -1
- package/dist/esm/models/operations/vaultsvault.d.ts +2 -40
- package/dist/esm/models/operations/vaultsvault.d.ts.map +1 -1
- package/dist/esm/models/operations/vaultsvault.js +2 -25
- package/dist/esm/models/operations/vaultsvault.js.map +1 -1
- package/dist/esm/sdk/pendle.d.ts +1 -1
- package/dist/esm/sdk/pendle.d.ts.map +1 -1
- package/dist/esm/sdk/pendle.js +2 -2
- package/dist/esm/sdk/pendle.js.map +1 -1
- package/dist/esm/sdk/universal.d.ts +1 -1
- package/dist/esm/sdk/universal.d.ts.map +1 -1
- package/dist/esm/sdk/universal.js +2 -2
- package/dist/esm/sdk/universal.js.map +1 -1
- package/docs/sdks/aavev3/README.md +0 -8
- package/docs/sdks/aerodromeslipstream/README.md +0 -10
- package/docs/sdks/erc4626vaults/README.md +0 -4
- package/docs/sdks/morpho/README.md +0 -12
- package/docs/sdks/pendle/README.md +2 -16
- package/docs/sdks/smartaccount/README.md +0 -2
- package/docs/sdks/swap/README.md +0 -2
- package/docs/sdks/token/README.md +0 -2
- package/docs/sdks/transactionbundler/README.md +0 -6
- package/docs/sdks/uniswapv3/README.md +0 -10
- package/docs/sdks/universal/README.md +2 -8
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/pendleMarkets.ts +3 -4
- package/src/funcs/universalSupportedTokens.ts +3 -4
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/pendleMarkets.ts +2 -9
- package/src/mcp-server/tools/universalSupportedTokens.ts +2 -9
- package/src/models/components/aaveborrowrequest.ts +4 -8
- package/src/models/components/aavelooprequest.ts +4 -8
- package/src/models/components/aaverepayrequest.ts +4 -8
- package/src/models/components/aavesupplyrequest.ts +4 -8
- package/src/models/components/aavewithdrawrequest.ts +4 -8
- package/src/models/components/aerodromeslipstreambuyexactlyrequest.ts +4 -8
- package/src/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.ts +4 -8
- package/src/models/components/aerodromeslipstreammintliquidityprovisionrequest.ts +4 -8
- package/src/models/components/aerodromeslipstreamsellexactlyrequest.ts +4 -8
- package/src/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.ts +4 -8
- package/src/models/components/batcheduseroperationsrequest.ts +4 -8
- package/src/models/components/morphoborrowrequest.ts +4 -34
- package/src/models/components/morphodepositrequest.ts +4 -34
- package/src/models/components/morphorepayrequest.ts +4 -34
- package/src/models/components/morphosupplycollateralrequest.ts +4 -35
- package/src/models/components/morphowithdrawcollateralrequest.ts +4 -37
- package/src/models/components/morphowithdrawrequest.ts +4 -34
- package/src/models/components/multicallauthorizationrequest.ts +4 -8
- package/src/models/components/multicallexecuterequest.ts +4 -8
- package/src/models/components/odosswaprequest.ts +4 -8
- package/src/models/components/pendleaddliquidityrequest.ts +4 -8
- package/src/models/components/pendlebuyptrequest.ts +4 -8
- package/src/models/components/pendlebuyytrequest.ts +4 -8
- package/src/models/components/pendleredeemyieldrequest.ts +4 -8
- package/src/models/components/pendleremoveliquidityrequest.ts +4 -8
- package/src/models/components/pendlesellptrequest.ts +4 -8
- package/src/models/components/pendlesellytrequest.ts +4 -8
- package/src/models/components/setallowancerequest.ts +4 -8
- package/src/models/components/skybuyrequest.ts +1 -1
- package/src/models/components/tokentransferrequest.ts +4 -8
- package/src/models/components/uniswapbuyexactlyrequest.ts +4 -8
- package/src/models/components/uniswapincreaseliquidityprovisionrequest.ts +4 -8
- package/src/models/components/uniswapmintliquidityprovisionrequest.ts +4 -8
- package/src/models/components/uniswapsellexactlyrequest.ts +4 -8
- package/src/models/components/uniswapwithdrawliquidityprovisionrequest.ts +4 -8
- package/src/models/components/unwrapwethrequest.ts +4 -8
- package/src/models/components/vaultdepositrequest.ts +4 -8
- package/src/models/components/vaultwithdrawrequest.ts +4 -8
- package/src/models/components/wrapethrequest.ts +4 -8
- package/src/models/operations/aaveaavesupportedtokens.ts +4 -46
- package/src/models/operations/aaveavgrate.ts +4 -41
- package/src/models/operations/aavehistoricaltransactions.ts +4 -44
- package/src/models/operations/aaveliquiditychange.ts +4 -43
- package/src/models/operations/aaverate.ts +4 -41
- package/src/models/operations/aavereserveoverview.ts +4 -43
- package/src/models/operations/aavestdrate.ts +4 -41
- package/src/models/operations/aavetokenprice.ts +4 -41
- package/src/models/operations/aaveuserpositionpertoken.ts +4 -43
- package/src/models/operations/aaveuserpositionsummary.ts +4 -44
- package/src/models/operations/aerodromeslipstreamliquidityprovisionpositions.ts +4 -48
- package/src/models/operations/aerodromeslipstreampoolprice.ts +4 -48
- package/src/models/operations/genericallowance.ts +4 -41
- package/src/models/operations/genericens.ts +4 -42
- package/src/models/operations/genericportfolio.ts +4 -42
- package/src/models/operations/genericsupportedtokens.ts +4 -44
- package/src/models/operations/genericvisualizeportfolio.ts +4 -48
- package/src/models/operations/morphomarket.ts +4 -32
- package/src/models/operations/morphomarketposition.ts +4 -34
- package/src/models/operations/morphomarkets.ts +4 -32
- package/src/models/operations/morphouserposition.ts +4 -34
- package/src/models/operations/morphovault.ts +4 -42
- package/src/models/operations/morphovaults.ts +4 -32
- package/src/models/operations/pendlemarket.ts +4 -42
- package/src/models/operations/pendlemarkets.ts +4 -42
- package/src/models/operations/pendlepositions.ts +4 -42
- package/src/models/operations/pendlequote.ts +4 -41
- package/src/models/operations/tokenaddress.ts +4 -41
- package/src/models/operations/tokenbalance.ts +4 -42
- package/src/models/operations/tokenprice.ts +4 -42
- package/src/models/operations/uniswapliquidityprovisioninrange.ts +4 -51
- package/src/models/operations/uniswapliquidityprovisionpositions.ts +4 -50
- package/src/models/operations/uniswappoolprice.ts +4 -41
- package/src/models/operations/uniswapquotebuyexactly.ts +4 -43
- package/src/models/operations/uniswapquotesellexactly.ts +4 -45
- package/src/models/operations/vaultsvault.ts +4 -42
- package/src/sdk/pendle.ts +0 -2
- package/src/sdk/universal.ts +0 -2
package/bin/mcp-server.js
CHANGED
|
@@ -34264,9 +34264,9 @@ var init_config = __esm(() => {
|
|
|
34264
34264
|
SDK_METADATA = {
|
|
34265
34265
|
language: "typescript",
|
|
34266
34266
|
openapiDocVersion: "0.0.1",
|
|
34267
|
-
sdkVersion: "0.5.
|
|
34268
|
-
genVersion: "2.
|
|
34269
|
-
userAgent: "speakeasy-sdk/typescript 0.5.
|
|
34267
|
+
sdkVersion: "0.5.53",
|
|
34268
|
+
genVersion: "2.661.4",
|
|
34269
|
+
userAgent: "speakeasy-sdk/typescript 0.5.53 2.661.4 0.0.1 @compass-labs/api-sdk"
|
|
34270
34270
|
};
|
|
34271
34271
|
});
|
|
34272
34272
|
|
|
@@ -35832,29 +35832,11 @@ var init_aaveborrowparams = __esm(() => {
|
|
|
35832
35832
|
})(AaveBorrowParams$ ||= {});
|
|
35833
35833
|
});
|
|
35834
35834
|
|
|
35835
|
-
// src/models/components/chain.ts
|
|
35836
|
-
var Chain, Chain$inboundSchema, Chain$outboundSchema, Chain$;
|
|
35837
|
-
var init_chain = __esm(() => {
|
|
35838
|
-
init_zod();
|
|
35839
|
-
Chain = {
|
|
35840
|
-
BaseMainnet: "base:mainnet",
|
|
35841
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
35842
|
-
ArbitrumMainnet: "arbitrum:mainnet"
|
|
35843
|
-
};
|
|
35844
|
-
Chain$inboundSchema = nativeEnumType(Chain);
|
|
35845
|
-
Chain$outboundSchema = Chain$inboundSchema;
|
|
35846
|
-
((Chain$) => {
|
|
35847
|
-
Chain$.inboundSchema = Chain$inboundSchema;
|
|
35848
|
-
Chain$.outboundSchema = Chain$outboundSchema;
|
|
35849
|
-
})(Chain$ ||= {});
|
|
35850
|
-
});
|
|
35851
|
-
|
|
35852
35835
|
// src/models/components/aaveborrowrequest.ts
|
|
35853
35836
|
var AaveBorrowRequestAmount$inboundSchema, AaveBorrowRequestAmount$outboundSchema, AaveBorrowRequestAmount$, AaveBorrowRequest$inboundSchema, AaveBorrowRequest$outboundSchema, AaveBorrowRequest$;
|
|
35854
35837
|
var init_aaveborrowrequest = __esm(() => {
|
|
35855
35838
|
init_zod();
|
|
35856
35839
|
init_primitives();
|
|
35857
|
-
init_chain();
|
|
35858
35840
|
init_interestratemode();
|
|
35859
35841
|
init_tokenenum();
|
|
35860
35842
|
AaveBorrowRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -35869,7 +35851,7 @@ var init_aaveborrowrequest = __esm(() => {
|
|
|
35869
35851
|
amount: unionType([numberType(), stringType()]),
|
|
35870
35852
|
interest_rate_mode: InterestRateMode$inboundSchema,
|
|
35871
35853
|
on_behalf_of: nullableType(stringType()).optional(),
|
|
35872
|
-
chain:
|
|
35854
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
35873
35855
|
sender: stringType()
|
|
35874
35856
|
}).transform((v2) => {
|
|
35875
35857
|
return remap(v2, {
|
|
@@ -35884,7 +35866,7 @@ var init_aaveborrowrequest = __esm(() => {
|
|
|
35884
35866
|
amount: unionType([numberType(), stringType()]),
|
|
35885
35867
|
interestRateMode: InterestRateMode$outboundSchema,
|
|
35886
35868
|
onBehalfOf: nullableType(stringType()).optional(),
|
|
35887
|
-
chain:
|
|
35869
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
35888
35870
|
sender: stringType()
|
|
35889
35871
|
}).transform((v2) => {
|
|
35890
35872
|
return remap(v2, {
|
|
@@ -36364,7 +36346,6 @@ var InitialCollateralAmount$inboundSchema, InitialCollateralAmount$outboundSchem
|
|
|
36364
36346
|
var init_aavelooprequest = __esm(() => {
|
|
36365
36347
|
init_zod();
|
|
36366
36348
|
init_primitives();
|
|
36367
|
-
init_chain();
|
|
36368
36349
|
init_signedauthorization();
|
|
36369
36350
|
init_tokenenum();
|
|
36370
36351
|
InitialCollateralAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -36392,7 +36373,7 @@ var init_aavelooprequest = __esm(() => {
|
|
|
36392
36373
|
LoanToValue$.outboundSchema = LoanToValue$outboundSchema;
|
|
36393
36374
|
})(LoanToValue$ ||= {});
|
|
36394
36375
|
AaveLoopRequest$inboundSchema = objectType({
|
|
36395
|
-
chain:
|
|
36376
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
36396
36377
|
sender: stringType(),
|
|
36397
36378
|
signed_authorization: SignedAuthorization$inboundSchema,
|
|
36398
36379
|
collateral_token: TokenEnum$inboundSchema,
|
|
@@ -36412,7 +36393,7 @@ var init_aavelooprequest = __esm(() => {
|
|
|
36412
36393
|
});
|
|
36413
36394
|
});
|
|
36414
36395
|
AaveLoopRequest$outboundSchema = objectType({
|
|
36415
|
-
chain:
|
|
36396
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
36416
36397
|
sender: stringType(),
|
|
36417
36398
|
signedAuthorization: SignedAuthorization$outboundSchema,
|
|
36418
36399
|
collateralToken: TokenEnum$outboundSchema,
|
|
@@ -36532,7 +36513,6 @@ var AaveRepayRequestAmount$inboundSchema, AaveRepayRequestAmount$outboundSchema,
|
|
|
36532
36513
|
var init_aaverepayrequest = __esm(() => {
|
|
36533
36514
|
init_zod();
|
|
36534
36515
|
init_primitives();
|
|
36535
|
-
init_chain();
|
|
36536
36516
|
init_interestratemode();
|
|
36537
36517
|
init_tokenenum();
|
|
36538
36518
|
AaveRepayRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -36547,7 +36527,7 @@ var init_aaverepayrequest = __esm(() => {
|
|
|
36547
36527
|
amount: unionType([numberType(), stringType()]),
|
|
36548
36528
|
interest_rate_mode: InterestRateMode$inboundSchema,
|
|
36549
36529
|
on_behalf_of: nullableType(stringType()).optional(),
|
|
36550
|
-
chain:
|
|
36530
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
36551
36531
|
sender: stringType()
|
|
36552
36532
|
}).transform((v2) => {
|
|
36553
36533
|
return remap(v2, {
|
|
@@ -36562,7 +36542,7 @@ var init_aaverepayrequest = __esm(() => {
|
|
|
36562
36542
|
amount: unionType([numberType(), stringType()]),
|
|
36563
36543
|
interestRateMode: InterestRateMode$outboundSchema,
|
|
36564
36544
|
onBehalfOf: nullableType(stringType()).optional(),
|
|
36565
|
-
chain:
|
|
36545
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
36566
36546
|
sender: stringType()
|
|
36567
36547
|
}).transform((v2) => {
|
|
36568
36548
|
return remap(v2, {
|
|
@@ -36698,7 +36678,6 @@ var AaveSupplyRequestAmount$inboundSchema, AaveSupplyRequestAmount$outboundSchem
|
|
|
36698
36678
|
var init_aavesupplyrequest = __esm(() => {
|
|
36699
36679
|
init_zod();
|
|
36700
36680
|
init_primitives();
|
|
36701
|
-
init_chain();
|
|
36702
36681
|
init_tokenenum();
|
|
36703
36682
|
AaveSupplyRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
36704
36683
|
AaveSupplyRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -36711,7 +36690,7 @@ var init_aavesupplyrequest = __esm(() => {
|
|
|
36711
36690
|
token: TokenEnum$inboundSchema,
|
|
36712
36691
|
amount: unionType([numberType(), stringType()]),
|
|
36713
36692
|
on_behalf_of: nullableType(stringType()).optional(),
|
|
36714
|
-
chain:
|
|
36693
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
36715
36694
|
sender: stringType()
|
|
36716
36695
|
}).transform((v2) => {
|
|
36717
36696
|
return remap(v2, {
|
|
@@ -36724,7 +36703,7 @@ var init_aavesupplyrequest = __esm(() => {
|
|
|
36724
36703
|
token: TokenEnum$outboundSchema,
|
|
36725
36704
|
amount: unionType([numberType(), stringType()]),
|
|
36726
36705
|
onBehalfOf: nullableType(stringType()).optional(),
|
|
36727
|
-
chain:
|
|
36706
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
36728
36707
|
sender: stringType()
|
|
36729
36708
|
}).transform((v2) => {
|
|
36730
36709
|
return remap(v2, {
|
|
@@ -36949,7 +36928,6 @@ var AaveWithdrawRequestAmount$inboundSchema, AaveWithdrawRequestAmount$outboundS
|
|
|
36949
36928
|
var init_aavewithdrawrequest = __esm(() => {
|
|
36950
36929
|
init_zod();
|
|
36951
36930
|
init_primitives();
|
|
36952
|
-
init_chain();
|
|
36953
36931
|
init_tokenenum();
|
|
36954
36932
|
AaveWithdrawRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
36955
36933
|
AaveWithdrawRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -36962,7 +36940,7 @@ var init_aavewithdrawrequest = __esm(() => {
|
|
|
36962
36940
|
token: TokenEnum$inboundSchema,
|
|
36963
36941
|
amount: unionType([numberType(), stringType()]),
|
|
36964
36942
|
recipient: stringType(),
|
|
36965
|
-
chain:
|
|
36943
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
36966
36944
|
sender: stringType()
|
|
36967
36945
|
}).transform((v2) => {
|
|
36968
36946
|
return remap(v2, {
|
|
@@ -36974,7 +36952,7 @@ var init_aavewithdrawrequest = __esm(() => {
|
|
|
36974
36952
|
token: TokenEnum$outboundSchema,
|
|
36975
36953
|
amount: unionType([numberType(), stringType()]),
|
|
36976
36954
|
recipient: stringType(),
|
|
36977
|
-
chain:
|
|
36955
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
36978
36956
|
sender: stringType()
|
|
36979
36957
|
}).transform((v2) => {
|
|
36980
36958
|
return remap(v2, {
|
|
@@ -37131,7 +37109,6 @@ var AerodromeSlipstreamBuyExactlyRequestAmountOut$inboundSchema, AerodromeSlipst
|
|
|
37131
37109
|
var init_aerodromeslipstreambuyexactlyrequest = __esm(() => {
|
|
37132
37110
|
init_zod();
|
|
37133
37111
|
init_primitives();
|
|
37134
|
-
init_chain();
|
|
37135
37112
|
init_tokenenum();
|
|
37136
37113
|
AerodromeSlipstreamBuyExactlyRequestAmountOut$inboundSchema = unionType([numberType(), stringType()]);
|
|
37137
37114
|
AerodromeSlipstreamBuyExactlyRequestAmountOut$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -37152,7 +37129,7 @@ var init_aerodromeslipstreambuyexactlyrequest = __esm(() => {
|
|
|
37152
37129
|
tick_spacing: numberType().int(),
|
|
37153
37130
|
amount_out: unionType([numberType(), stringType()]),
|
|
37154
37131
|
amount_in_maximum: unionType([numberType(), stringType()]),
|
|
37155
|
-
chain:
|
|
37132
|
+
chain: literalType("base:mainnet").default("base:mainnet").optional(),
|
|
37156
37133
|
sender: stringType()
|
|
37157
37134
|
}).transform((v2) => {
|
|
37158
37135
|
return remap(v2, {
|
|
@@ -37171,7 +37148,7 @@ var init_aerodromeslipstreambuyexactlyrequest = __esm(() => {
|
|
|
37171
37148
|
tickSpacing: numberType().int(),
|
|
37172
37149
|
amountOut: unionType([numberType(), stringType()]),
|
|
37173
37150
|
amountInMaximum: unionType([numberType(), stringType()]),
|
|
37174
|
-
chain:
|
|
37151
|
+
chain: literalType("base:mainnet").default("base:mainnet"),
|
|
37175
37152
|
sender: stringType()
|
|
37176
37153
|
}).transform((v2) => {
|
|
37177
37154
|
return remap(v2, {
|
|
@@ -37263,7 +37240,6 @@ var AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0Desired$inboundSc
|
|
|
37263
37240
|
var init_aerodromeslipstreamincreaseliquidityprovisionrequest = __esm(() => {
|
|
37264
37241
|
init_zod();
|
|
37265
37242
|
init_primitives();
|
|
37266
|
-
init_chain();
|
|
37267
37243
|
AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0Desired$inboundSchema = unionType([numberType(), stringType()]);
|
|
37268
37244
|
AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0Desired$outboundSchema = unionType([numberType(), stringType()]);
|
|
37269
37245
|
((AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0Desired$) => {
|
|
@@ -37295,7 +37271,7 @@ var init_aerodromeslipstreamincreaseliquidityprovisionrequest = __esm(() => {
|
|
|
37295
37271
|
amount1_desired: unionType([numberType(), stringType()]),
|
|
37296
37272
|
amount0_min: unionType([numberType(), stringType()]),
|
|
37297
37273
|
amount1_min: unionType([numberType(), stringType()]),
|
|
37298
|
-
chain:
|
|
37274
|
+
chain: literalType("base:mainnet").default("base:mainnet").optional(),
|
|
37299
37275
|
sender: stringType()
|
|
37300
37276
|
}).transform((v2) => {
|
|
37301
37277
|
return remap(v2, {
|
|
@@ -37314,7 +37290,7 @@ var init_aerodromeslipstreamincreaseliquidityprovisionrequest = __esm(() => {
|
|
|
37314
37290
|
amount1Desired: unionType([numberType(), stringType()]),
|
|
37315
37291
|
amount0Min: unionType([numberType(), stringType()]),
|
|
37316
37292
|
amount1Min: unionType([numberType(), stringType()]),
|
|
37317
|
-
chain:
|
|
37293
|
+
chain: literalType("base:mainnet").default("base:mainnet"),
|
|
37318
37294
|
sender: stringType()
|
|
37319
37295
|
}).transform((v2) => {
|
|
37320
37296
|
return remap(v2, {
|
|
@@ -37421,7 +37397,6 @@ var AerodromeSlipstreamMintLiquidityProvisionRequestAmount0Desired$inboundSchema
|
|
|
37421
37397
|
var init_aerodromeslipstreammintliquidityprovisionrequest = __esm(() => {
|
|
37422
37398
|
init_zod();
|
|
37423
37399
|
init_primitives();
|
|
37424
|
-
init_chain();
|
|
37425
37400
|
init_tokenenum();
|
|
37426
37401
|
AerodromeSlipstreamMintLiquidityProvisionRequestAmount0Desired$inboundSchema = unionType([numberType(), stringType()]);
|
|
37427
37402
|
AerodromeSlipstreamMintLiquidityProvisionRequestAmount0Desired$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -37459,7 +37434,7 @@ var init_aerodromeslipstreammintliquidityprovisionrequest = __esm(() => {
|
|
|
37459
37434
|
amount0_min: unionType([numberType(), stringType()]),
|
|
37460
37435
|
amount1_min: unionType([numberType(), stringType()]),
|
|
37461
37436
|
recipient: nullableType(stringType()).optional(),
|
|
37462
|
-
chain:
|
|
37437
|
+
chain: literalType("base:mainnet").default("base:mainnet").optional(),
|
|
37463
37438
|
sender: stringType()
|
|
37464
37439
|
}).transform((v2) => {
|
|
37465
37440
|
return remap(v2, {
|
|
@@ -37485,7 +37460,7 @@ var init_aerodromeslipstreammintliquidityprovisionrequest = __esm(() => {
|
|
|
37485
37460
|
amount0Min: unionType([numberType(), stringType()]),
|
|
37486
37461
|
amount1Min: unionType([numberType(), stringType()]),
|
|
37487
37462
|
recipient: nullableType(stringType()).optional(),
|
|
37488
|
-
chain:
|
|
37463
|
+
chain: literalType("base:mainnet").default("base:mainnet"),
|
|
37489
37464
|
sender: stringType()
|
|
37490
37465
|
}).transform((v2) => {
|
|
37491
37466
|
return remap(v2, {
|
|
@@ -37602,7 +37577,6 @@ var AerodromeSlipstreamSellExactlyRequestAmountIn$inboundSchema, AerodromeSlipst
|
|
|
37602
37577
|
var init_aerodromeslipstreamsellexactlyrequest = __esm(() => {
|
|
37603
37578
|
init_zod();
|
|
37604
37579
|
init_primitives();
|
|
37605
|
-
init_chain();
|
|
37606
37580
|
init_tokenenum();
|
|
37607
37581
|
AerodromeSlipstreamSellExactlyRequestAmountIn$inboundSchema = unionType([numberType(), stringType()]);
|
|
37608
37582
|
AerodromeSlipstreamSellExactlyRequestAmountIn$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -37623,7 +37597,7 @@ var init_aerodromeslipstreamsellexactlyrequest = __esm(() => {
|
|
|
37623
37597
|
tick_spacing: numberType().int(),
|
|
37624
37598
|
amount_in: unionType([numberType(), stringType()]),
|
|
37625
37599
|
amount_out_minimum: unionType([numberType(), stringType()]).optional(),
|
|
37626
|
-
chain:
|
|
37600
|
+
chain: literalType("base:mainnet").default("base:mainnet").optional(),
|
|
37627
37601
|
sender: stringType()
|
|
37628
37602
|
}).transform((v2) => {
|
|
37629
37603
|
return remap(v2, {
|
|
@@ -37642,7 +37616,7 @@ var init_aerodromeslipstreamsellexactlyrequest = __esm(() => {
|
|
|
37642
37616
|
tickSpacing: numberType().int(),
|
|
37643
37617
|
amountIn: unionType([numberType(), stringType()]),
|
|
37644
37618
|
amountOutMinimum: unionType([numberType(), stringType()]).optional(),
|
|
37645
|
-
chain:
|
|
37619
|
+
chain: literalType("base:mainnet").default("base:mainnet"),
|
|
37646
37620
|
sender: stringType()
|
|
37647
37621
|
}).transform((v2) => {
|
|
37648
37622
|
return remap(v2, {
|
|
@@ -37704,7 +37678,6 @@ var AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal$
|
|
|
37704
37678
|
var init_aerodromeslipstreamwithdrawliquidityprovisionrequest = __esm(() => {
|
|
37705
37679
|
init_zod();
|
|
37706
37680
|
init_primitives();
|
|
37707
|
-
init_chain();
|
|
37708
37681
|
AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal$inboundSchema = unionType([numberType(), stringType()]);
|
|
37709
37682
|
AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal$outboundSchema = unionType([numberType(), stringType()]);
|
|
37710
37683
|
((AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal$) => {
|
|
@@ -37715,7 +37688,7 @@ var init_aerodromeslipstreamwithdrawliquidityprovisionrequest = __esm(() => {
|
|
|
37715
37688
|
action_type: literalType("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY_PROVISION").default("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY_PROVISION"),
|
|
37716
37689
|
token_id: numberType().int(),
|
|
37717
37690
|
percentage_for_withdrawal: unionType([numberType(), stringType()]),
|
|
37718
|
-
chain:
|
|
37691
|
+
chain: literalType("base:mainnet").default("base:mainnet").optional(),
|
|
37719
37692
|
sender: stringType()
|
|
37720
37693
|
}).transform((v2) => {
|
|
37721
37694
|
return remap(v2, {
|
|
@@ -37728,7 +37701,7 @@ var init_aerodromeslipstreamwithdrawliquidityprovisionrequest = __esm(() => {
|
|
|
37728
37701
|
actionType: literalType("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY_PROVISION").default("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY_PROVISION"),
|
|
37729
37702
|
tokenId: numberType().int(),
|
|
37730
37703
|
percentageForWithdrawal: unionType([numberType(), stringType()]),
|
|
37731
|
-
chain:
|
|
37704
|
+
chain: literalType("base:mainnet").default("base:mainnet"),
|
|
37732
37705
|
sender: stringType()
|
|
37733
37706
|
}).transform((v2) => {
|
|
37734
37707
|
return remap(v2, {
|
|
@@ -38666,7 +38639,6 @@ var TokenTransferRequestAmount$inboundSchema, TokenTransferRequestAmount$outboun
|
|
|
38666
38639
|
var init_tokentransferrequest = __esm(() => {
|
|
38667
38640
|
init_zod();
|
|
38668
38641
|
init_primitives();
|
|
38669
|
-
init_chain();
|
|
38670
38642
|
init_tokenenum();
|
|
38671
38643
|
TokenTransferRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
38672
38644
|
TokenTransferRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -38685,7 +38657,7 @@ var init_tokentransferrequest = __esm(() => {
|
|
|
38685
38657
|
amount: unionType([numberType(), stringType()]),
|
|
38686
38658
|
token: unionType([TokenEnum$inboundSchema, stringType()]),
|
|
38687
38659
|
to: stringType(),
|
|
38688
|
-
chain:
|
|
38660
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
38689
38661
|
sender: stringType()
|
|
38690
38662
|
}).transform((v2) => {
|
|
38691
38663
|
return remap(v2, {
|
|
@@ -38697,7 +38669,7 @@ var init_tokentransferrequest = __esm(() => {
|
|
|
38697
38669
|
amount: unionType([numberType(), stringType()]),
|
|
38698
38670
|
token: unionType([TokenEnum$outboundSchema, stringType()]),
|
|
38699
38671
|
to: stringType(),
|
|
38700
|
-
chain:
|
|
38672
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
38701
38673
|
sender: stringType()
|
|
38702
38674
|
}).transform((v2) => {
|
|
38703
38675
|
return remap(v2, {
|
|
@@ -39514,15 +39486,14 @@ var init_useroperation = __esm(() => {
|
|
|
39514
39486
|
var BatchedUserOperationsRequest$inboundSchema, BatchedUserOperationsRequest$outboundSchema, BatchedUserOperationsRequest$;
|
|
39515
39487
|
var init_batcheduseroperationsrequest = __esm(() => {
|
|
39516
39488
|
init_zod();
|
|
39517
|
-
init_chain();
|
|
39518
39489
|
init_useroperation();
|
|
39519
39490
|
BatchedUserOperationsRequest$inboundSchema = objectType({
|
|
39520
|
-
chain:
|
|
39491
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
39521
39492
|
sender: stringType(),
|
|
39522
39493
|
operations: arrayType(UserOperation$inboundSchema)
|
|
39523
39494
|
});
|
|
39524
39495
|
BatchedUserOperationsRequest$outboundSchema = objectType({
|
|
39525
|
-
chain:
|
|
39496
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
39526
39497
|
sender: stringType(),
|
|
39527
39498
|
operations: arrayType(UserOperation$outboundSchema)
|
|
39528
39499
|
});
|
|
@@ -39569,6 +39540,23 @@ var init_batcheduseroperationsresponse = __esm(() => {
|
|
|
39569
39540
|
})(BatchedUserOperationsResponse$ ||= {});
|
|
39570
39541
|
});
|
|
39571
39542
|
|
|
39543
|
+
// src/models/components/chain.ts
|
|
39544
|
+
var Chain, Chain$inboundSchema, Chain$outboundSchema, Chain$;
|
|
39545
|
+
var init_chain = __esm(() => {
|
|
39546
|
+
init_zod();
|
|
39547
|
+
Chain = {
|
|
39548
|
+
BaseMainnet: "base:mainnet",
|
|
39549
|
+
EthereumMainnet: "ethereum:mainnet",
|
|
39550
|
+
ArbitrumMainnet: "arbitrum:mainnet"
|
|
39551
|
+
};
|
|
39552
|
+
Chain$inboundSchema = nativeEnumType(Chain);
|
|
39553
|
+
Chain$outboundSchema = Chain$inboundSchema;
|
|
39554
|
+
((Chain$) => {
|
|
39555
|
+
Chain$.inboundSchema = Chain$inboundSchema;
|
|
39556
|
+
Chain$.outboundSchema = Chain$outboundSchema;
|
|
39557
|
+
})(Chain$ ||= {});
|
|
39558
|
+
});
|
|
39559
|
+
|
|
39572
39560
|
// src/models/components/chaininfo.ts
|
|
39573
39561
|
var ChainInfo$inboundSchema, ChainInfo$outboundSchema, ChainInfo$;
|
|
39574
39562
|
var init_chaininfo = __esm(() => {
|
|
@@ -40258,33 +40246,23 @@ var init_markettokens = __esm(() => {
|
|
|
40258
40246
|
});
|
|
40259
40247
|
|
|
40260
40248
|
// src/models/components/morphoborrowrequest.ts
|
|
40261
|
-
var
|
|
40249
|
+
var MorphoBorrowRequestAmount$inboundSchema, MorphoBorrowRequestAmount$outboundSchema, MorphoBorrowRequestAmount$, MorphoBorrowRequest$inboundSchema, MorphoBorrowRequest$outboundSchema, MorphoBorrowRequest$;
|
|
40262
40250
|
var init_morphoborrowrequest = __esm(() => {
|
|
40263
40251
|
init_zod();
|
|
40264
40252
|
init_primitives();
|
|
40265
|
-
MorphoBorrowRequestChain = {
|
|
40266
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
40267
|
-
BaseMainnet: "base:mainnet"
|
|
40268
|
-
};
|
|
40269
40253
|
MorphoBorrowRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
40270
40254
|
MorphoBorrowRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
40271
40255
|
((MorphoBorrowRequestAmount$) => {
|
|
40272
40256
|
MorphoBorrowRequestAmount$.inboundSchema = MorphoBorrowRequestAmount$inboundSchema;
|
|
40273
40257
|
MorphoBorrowRequestAmount$.outboundSchema = MorphoBorrowRequestAmount$outboundSchema;
|
|
40274
40258
|
})(MorphoBorrowRequestAmount$ ||= {});
|
|
40275
|
-
MorphoBorrowRequestChain$inboundSchema = nativeEnumType(MorphoBorrowRequestChain);
|
|
40276
|
-
MorphoBorrowRequestChain$outboundSchema = MorphoBorrowRequestChain$inboundSchema;
|
|
40277
|
-
((MorphoBorrowRequestChain$) => {
|
|
40278
|
-
MorphoBorrowRequestChain$.inboundSchema = MorphoBorrowRequestChain$inboundSchema;
|
|
40279
|
-
MorphoBorrowRequestChain$.outboundSchema = MorphoBorrowRequestChain$outboundSchema;
|
|
40280
|
-
})(MorphoBorrowRequestChain$ ||= {});
|
|
40281
40259
|
MorphoBorrowRequest$inboundSchema = objectType({
|
|
40282
40260
|
action_type: literalType("MORPHO_BORROW").default("MORPHO_BORROW"),
|
|
40283
40261
|
amount: unionType([numberType(), stringType()]),
|
|
40284
40262
|
unique_market_key: stringType(),
|
|
40285
40263
|
on_behalf_of: nullableType(stringType()).optional(),
|
|
40286
40264
|
receiver: nullableType(stringType()).optional(),
|
|
40287
|
-
chain:
|
|
40265
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
40288
40266
|
sender: stringType()
|
|
40289
40267
|
}).transform((v2) => {
|
|
40290
40268
|
return remap(v2, {
|
|
@@ -40299,7 +40277,7 @@ var init_morphoborrowrequest = __esm(() => {
|
|
|
40299
40277
|
uniqueMarketKey: stringType(),
|
|
40300
40278
|
onBehalfOf: nullableType(stringType()).optional(),
|
|
40301
40279
|
receiver: nullableType(stringType()).optional(),
|
|
40302
|
-
chain:
|
|
40280
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
40303
40281
|
sender: stringType()
|
|
40304
40282
|
}).transform((v2) => {
|
|
40305
40283
|
return remap(v2, {
|
|
@@ -40459,32 +40437,22 @@ var init_morphocheckuserpositionresponse = __esm(() => {
|
|
|
40459
40437
|
});
|
|
40460
40438
|
|
|
40461
40439
|
// src/models/components/morphodepositrequest.ts
|
|
40462
|
-
var
|
|
40440
|
+
var MorphoDepositRequestAmount$inboundSchema, MorphoDepositRequestAmount$outboundSchema, MorphoDepositRequestAmount$, MorphoDepositRequest$inboundSchema, MorphoDepositRequest$outboundSchema, MorphoDepositRequest$;
|
|
40463
40441
|
var init_morphodepositrequest = __esm(() => {
|
|
40464
40442
|
init_zod();
|
|
40465
40443
|
init_primitives();
|
|
40466
|
-
MorphoDepositRequestChain = {
|
|
40467
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
40468
|
-
BaseMainnet: "base:mainnet"
|
|
40469
|
-
};
|
|
40470
40444
|
MorphoDepositRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
40471
40445
|
MorphoDepositRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
40472
40446
|
((MorphoDepositRequestAmount$) => {
|
|
40473
40447
|
MorphoDepositRequestAmount$.inboundSchema = MorphoDepositRequestAmount$inboundSchema;
|
|
40474
40448
|
MorphoDepositRequestAmount$.outboundSchema = MorphoDepositRequestAmount$outboundSchema;
|
|
40475
40449
|
})(MorphoDepositRequestAmount$ ||= {});
|
|
40476
|
-
MorphoDepositRequestChain$inboundSchema = nativeEnumType(MorphoDepositRequestChain);
|
|
40477
|
-
MorphoDepositRequestChain$outboundSchema = MorphoDepositRequestChain$inboundSchema;
|
|
40478
|
-
((MorphoDepositRequestChain$) => {
|
|
40479
|
-
MorphoDepositRequestChain$.inboundSchema = MorphoDepositRequestChain$inboundSchema;
|
|
40480
|
-
MorphoDepositRequestChain$.outboundSchema = MorphoDepositRequestChain$outboundSchema;
|
|
40481
|
-
})(MorphoDepositRequestChain$ ||= {});
|
|
40482
40450
|
MorphoDepositRequest$inboundSchema = objectType({
|
|
40483
40451
|
action_type: literalType("MORPHO_DEPOSIT").default("MORPHO_DEPOSIT"),
|
|
40484
40452
|
vault_address: stringType(),
|
|
40485
40453
|
amount: unionType([numberType(), stringType()]),
|
|
40486
40454
|
receiver: nullableType(stringType()).optional(),
|
|
40487
|
-
chain:
|
|
40455
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
40488
40456
|
sender: stringType()
|
|
40489
40457
|
}).transform((v2) => {
|
|
40490
40458
|
return remap(v2, {
|
|
@@ -40497,7 +40465,7 @@ var init_morphodepositrequest = __esm(() => {
|
|
|
40497
40465
|
vaultAddress: stringType(),
|
|
40498
40466
|
amount: unionType([numberType(), stringType()]),
|
|
40499
40467
|
receiver: nullableType(stringType()).optional(),
|
|
40500
|
-
chain:
|
|
40468
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
40501
40469
|
sender: stringType()
|
|
40502
40470
|
}).transform((v2) => {
|
|
40503
40471
|
return remap(v2, {
|
|
@@ -40675,28 +40643,18 @@ var init_morphogetvaultsresponse = __esm(() => {
|
|
|
40675
40643
|
});
|
|
40676
40644
|
|
|
40677
40645
|
// src/models/components/morphorepayrequest.ts
|
|
40678
|
-
var
|
|
40646
|
+
var MorphoRepayRequest$inboundSchema, MorphoRepayRequest$outboundSchema, MorphoRepayRequest$;
|
|
40679
40647
|
var init_morphorepayrequest = __esm(() => {
|
|
40680
40648
|
init_zod();
|
|
40681
40649
|
init_base64();
|
|
40682
40650
|
init_primitives();
|
|
40683
|
-
MorphoRepayRequestChain = {
|
|
40684
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
40685
|
-
BaseMainnet: "base:mainnet"
|
|
40686
|
-
};
|
|
40687
|
-
MorphoRepayRequestChain$inboundSchema = nativeEnumType(MorphoRepayRequestChain);
|
|
40688
|
-
MorphoRepayRequestChain$outboundSchema = MorphoRepayRequestChain$inboundSchema;
|
|
40689
|
-
((MorphoRepayRequestChain$) => {
|
|
40690
|
-
MorphoRepayRequestChain$.inboundSchema = MorphoRepayRequestChain$inboundSchema;
|
|
40691
|
-
MorphoRepayRequestChain$.outboundSchema = MorphoRepayRequestChain$outboundSchema;
|
|
40692
|
-
})(MorphoRepayRequestChain$ ||= {});
|
|
40693
40651
|
MorphoRepayRequest$inboundSchema = objectType({
|
|
40694
40652
|
action_type: literalType("MORPHO_REPAY").default("MORPHO_REPAY"),
|
|
40695
40653
|
amount: anyType().optional(),
|
|
40696
40654
|
unique_market_key: stringType(),
|
|
40697
40655
|
on_behalf_of: nullableType(stringType()).optional(),
|
|
40698
40656
|
callback_data: nullableType(zodInbound).optional(),
|
|
40699
|
-
chain:
|
|
40657
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
40700
40658
|
sender: stringType()
|
|
40701
40659
|
}).transform((v2) => {
|
|
40702
40660
|
return remap(v2, {
|
|
@@ -40712,7 +40670,7 @@ var init_morphorepayrequest = __esm(() => {
|
|
|
40712
40670
|
uniqueMarketKey: stringType(),
|
|
40713
40671
|
onBehalfOf: nullableType(stringType()).optional(),
|
|
40714
40672
|
callbackData: nullableType(zodOutbound).optional(),
|
|
40715
|
-
chain:
|
|
40673
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
40716
40674
|
sender: stringType()
|
|
40717
40675
|
}).transform((v2) => {
|
|
40718
40676
|
return remap(v2, {
|
|
@@ -40729,34 +40687,24 @@ var init_morphorepayrequest = __esm(() => {
|
|
|
40729
40687
|
});
|
|
40730
40688
|
|
|
40731
40689
|
// src/models/components/morphosupplycollateralrequest.ts
|
|
40732
|
-
var
|
|
40690
|
+
var MorphoSupplyCollateralRequestAmount$inboundSchema, MorphoSupplyCollateralRequestAmount$outboundSchema, MorphoSupplyCollateralRequestAmount$, MorphoSupplyCollateralRequest$inboundSchema, MorphoSupplyCollateralRequest$outboundSchema, MorphoSupplyCollateralRequest$;
|
|
40733
40691
|
var init_morphosupplycollateralrequest = __esm(() => {
|
|
40734
40692
|
init_zod();
|
|
40735
40693
|
init_base64();
|
|
40736
40694
|
init_primitives();
|
|
40737
|
-
MorphoSupplyCollateralRequestChain = {
|
|
40738
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
40739
|
-
BaseMainnet: "base:mainnet"
|
|
40740
|
-
};
|
|
40741
40695
|
MorphoSupplyCollateralRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
40742
40696
|
MorphoSupplyCollateralRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
40743
40697
|
((MorphoSupplyCollateralRequestAmount$) => {
|
|
40744
40698
|
MorphoSupplyCollateralRequestAmount$.inboundSchema = MorphoSupplyCollateralRequestAmount$inboundSchema;
|
|
40745
40699
|
MorphoSupplyCollateralRequestAmount$.outboundSchema = MorphoSupplyCollateralRequestAmount$outboundSchema;
|
|
40746
40700
|
})(MorphoSupplyCollateralRequestAmount$ ||= {});
|
|
40747
|
-
MorphoSupplyCollateralRequestChain$inboundSchema = nativeEnumType(MorphoSupplyCollateralRequestChain);
|
|
40748
|
-
MorphoSupplyCollateralRequestChain$outboundSchema = MorphoSupplyCollateralRequestChain$inboundSchema;
|
|
40749
|
-
((MorphoSupplyCollateralRequestChain$) => {
|
|
40750
|
-
MorphoSupplyCollateralRequestChain$.inboundSchema = MorphoSupplyCollateralRequestChain$inboundSchema;
|
|
40751
|
-
MorphoSupplyCollateralRequestChain$.outboundSchema = MorphoSupplyCollateralRequestChain$outboundSchema;
|
|
40752
|
-
})(MorphoSupplyCollateralRequestChain$ ||= {});
|
|
40753
40701
|
MorphoSupplyCollateralRequest$inboundSchema = objectType({
|
|
40754
40702
|
action_type: literalType("MORPHO_SUPPLY_COLLATERAL").default("MORPHO_SUPPLY_COLLATERAL"),
|
|
40755
40703
|
amount: unionType([numberType(), stringType()]),
|
|
40756
40704
|
unique_market_key: stringType(),
|
|
40757
40705
|
on_behalf_of: nullableType(stringType()).optional(),
|
|
40758
40706
|
callback_data: nullableType(zodInbound).optional(),
|
|
40759
|
-
chain:
|
|
40707
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
40760
40708
|
sender: stringType()
|
|
40761
40709
|
}).transform((v2) => {
|
|
40762
40710
|
return remap(v2, {
|
|
@@ -40772,7 +40720,7 @@ var init_morphosupplycollateralrequest = __esm(() => {
|
|
|
40772
40720
|
uniqueMarketKey: stringType(),
|
|
40773
40721
|
onBehalfOf: nullableType(stringType()).optional(),
|
|
40774
40722
|
callbackData: nullableType(zodOutbound).optional(),
|
|
40775
|
-
chain:
|
|
40723
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
40776
40724
|
sender: stringType()
|
|
40777
40725
|
}).transform((v2) => {
|
|
40778
40726
|
return remap(v2, {
|
|
@@ -40789,33 +40737,23 @@ var init_morphosupplycollateralrequest = __esm(() => {
|
|
|
40789
40737
|
});
|
|
40790
40738
|
|
|
40791
40739
|
// src/models/components/morphowithdrawcollateralrequest.ts
|
|
40792
|
-
var
|
|
40740
|
+
var MorphoWithdrawCollateralRequestAmount$inboundSchema, MorphoWithdrawCollateralRequestAmount$outboundSchema, MorphoWithdrawCollateralRequestAmount$, MorphoWithdrawCollateralRequest$inboundSchema, MorphoWithdrawCollateralRequest$outboundSchema, MorphoWithdrawCollateralRequest$;
|
|
40793
40741
|
var init_morphowithdrawcollateralrequest = __esm(() => {
|
|
40794
40742
|
init_zod();
|
|
40795
40743
|
init_primitives();
|
|
40796
|
-
MorphoWithdrawCollateralRequestChain = {
|
|
40797
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
40798
|
-
BaseMainnet: "base:mainnet"
|
|
40799
|
-
};
|
|
40800
40744
|
MorphoWithdrawCollateralRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
40801
40745
|
MorphoWithdrawCollateralRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
40802
40746
|
((MorphoWithdrawCollateralRequestAmount$) => {
|
|
40803
40747
|
MorphoWithdrawCollateralRequestAmount$.inboundSchema = MorphoWithdrawCollateralRequestAmount$inboundSchema;
|
|
40804
40748
|
MorphoWithdrawCollateralRequestAmount$.outboundSchema = MorphoWithdrawCollateralRequestAmount$outboundSchema;
|
|
40805
40749
|
})(MorphoWithdrawCollateralRequestAmount$ ||= {});
|
|
40806
|
-
MorphoWithdrawCollateralRequestChain$inboundSchema = nativeEnumType(MorphoWithdrawCollateralRequestChain);
|
|
40807
|
-
MorphoWithdrawCollateralRequestChain$outboundSchema = MorphoWithdrawCollateralRequestChain$inboundSchema;
|
|
40808
|
-
((MorphoWithdrawCollateralRequestChain$) => {
|
|
40809
|
-
MorphoWithdrawCollateralRequestChain$.inboundSchema = MorphoWithdrawCollateralRequestChain$inboundSchema;
|
|
40810
|
-
MorphoWithdrawCollateralRequestChain$.outboundSchema = MorphoWithdrawCollateralRequestChain$outboundSchema;
|
|
40811
|
-
})(MorphoWithdrawCollateralRequestChain$ ||= {});
|
|
40812
40750
|
MorphoWithdrawCollateralRequest$inboundSchema = objectType({
|
|
40813
40751
|
action_type: literalType("MORPHO_WITHDRAW_COLLATERAL").default("MORPHO_WITHDRAW_COLLATERAL"),
|
|
40814
40752
|
amount: unionType([numberType(), stringType()]),
|
|
40815
40753
|
unique_market_key: stringType(),
|
|
40816
40754
|
on_behalf_of: nullableType(stringType()).optional(),
|
|
40817
40755
|
receiver: nullableType(stringType()).optional(),
|
|
40818
|
-
chain:
|
|
40756
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
40819
40757
|
sender: stringType()
|
|
40820
40758
|
}).transform((v2) => {
|
|
40821
40759
|
return remap(v2, {
|
|
@@ -40830,7 +40768,7 @@ var init_morphowithdrawcollateralrequest = __esm(() => {
|
|
|
40830
40768
|
uniqueMarketKey: stringType(),
|
|
40831
40769
|
onBehalfOf: nullableType(stringType()).optional(),
|
|
40832
40770
|
receiver: nullableType(stringType()).optional(),
|
|
40833
|
-
chain:
|
|
40771
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
40834
40772
|
sender: stringType()
|
|
40835
40773
|
}).transform((v2) => {
|
|
40836
40774
|
return remap(v2, {
|
|
@@ -40846,26 +40784,16 @@ var init_morphowithdrawcollateralrequest = __esm(() => {
|
|
|
40846
40784
|
});
|
|
40847
40785
|
|
|
40848
40786
|
// src/models/components/morphowithdrawrequest.ts
|
|
40849
|
-
var
|
|
40787
|
+
var MorphoWithdrawRequest$inboundSchema, MorphoWithdrawRequest$outboundSchema, MorphoWithdrawRequest$;
|
|
40850
40788
|
var init_morphowithdrawrequest = __esm(() => {
|
|
40851
40789
|
init_zod();
|
|
40852
40790
|
init_primitives();
|
|
40853
|
-
MorphoWithdrawRequestChain = {
|
|
40854
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
40855
|
-
BaseMainnet: "base:mainnet"
|
|
40856
|
-
};
|
|
40857
|
-
MorphoWithdrawRequestChain$inboundSchema = nativeEnumType(MorphoWithdrawRequestChain);
|
|
40858
|
-
MorphoWithdrawRequestChain$outboundSchema = MorphoWithdrawRequestChain$inboundSchema;
|
|
40859
|
-
((MorphoWithdrawRequestChain$) => {
|
|
40860
|
-
MorphoWithdrawRequestChain$.inboundSchema = MorphoWithdrawRequestChain$inboundSchema;
|
|
40861
|
-
MorphoWithdrawRequestChain$.outboundSchema = MorphoWithdrawRequestChain$outboundSchema;
|
|
40862
|
-
})(MorphoWithdrawRequestChain$ ||= {});
|
|
40863
40791
|
MorphoWithdrawRequest$inboundSchema = objectType({
|
|
40864
40792
|
action_type: literalType("MORPHO_WITHDRAW").default("MORPHO_WITHDRAW"),
|
|
40865
40793
|
vault_address: stringType(),
|
|
40866
40794
|
amount: anyType().optional(),
|
|
40867
40795
|
receiver: nullableType(stringType()).optional(),
|
|
40868
|
-
chain:
|
|
40796
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
40869
40797
|
sender: stringType()
|
|
40870
40798
|
}).transform((v2) => {
|
|
40871
40799
|
return remap(v2, {
|
|
@@ -40878,7 +40806,7 @@ var init_morphowithdrawrequest = __esm(() => {
|
|
|
40878
40806
|
vaultAddress: stringType(),
|
|
40879
40807
|
amount: anyType().optional(),
|
|
40880
40808
|
receiver: nullableType(stringType()).optional(),
|
|
40881
|
-
chain:
|
|
40809
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
40882
40810
|
sender: stringType()
|
|
40883
40811
|
}).transform((v2) => {
|
|
40884
40812
|
return remap(v2, {
|
|
@@ -40896,13 +40824,12 @@ var init_morphowithdrawrequest = __esm(() => {
|
|
|
40896
40824
|
var MulticallAuthorizationRequest$inboundSchema, MulticallAuthorizationRequest$outboundSchema, MulticallAuthorizationRequest$;
|
|
40897
40825
|
var init_multicallauthorizationrequest = __esm(() => {
|
|
40898
40826
|
init_zod();
|
|
40899
|
-
init_chain();
|
|
40900
40827
|
MulticallAuthorizationRequest$inboundSchema = objectType({
|
|
40901
|
-
chain:
|
|
40828
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
40902
40829
|
sender: stringType()
|
|
40903
40830
|
});
|
|
40904
40831
|
MulticallAuthorizationRequest$outboundSchema = objectType({
|
|
40905
|
-
chain:
|
|
40832
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
40906
40833
|
sender: stringType()
|
|
40907
40834
|
});
|
|
40908
40835
|
((MulticallAuthorizationRequest$) => {
|
|
@@ -40936,11 +40863,10 @@ var MulticallExecuteRequest$inboundSchema, MulticallExecuteRequest$outboundSchem
|
|
|
40936
40863
|
var init_multicallexecuterequest = __esm(() => {
|
|
40937
40864
|
init_zod();
|
|
40938
40865
|
init_primitives();
|
|
40939
|
-
init_chain();
|
|
40940
40866
|
init_signedauthorization();
|
|
40941
40867
|
init_useroperation();
|
|
40942
40868
|
MulticallExecuteRequest$inboundSchema = objectType({
|
|
40943
|
-
chain:
|
|
40869
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
40944
40870
|
sender: stringType(),
|
|
40945
40871
|
signed_authorization: SignedAuthorization$inboundSchema,
|
|
40946
40872
|
actions: arrayType(UserOperation$inboundSchema)
|
|
@@ -40950,7 +40876,7 @@ var init_multicallexecuterequest = __esm(() => {
|
|
|
40950
40876
|
});
|
|
40951
40877
|
});
|
|
40952
40878
|
MulticallExecuteRequest$outboundSchema = objectType({
|
|
40953
|
-
chain:
|
|
40879
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
40954
40880
|
sender: stringType(),
|
|
40955
40881
|
signedAuthorization: SignedAuthorization$outboundSchema,
|
|
40956
40882
|
actions: arrayType(UserOperation$outboundSchema)
|
|
@@ -40970,7 +40896,6 @@ var OdosSwapRequestTokenIn$inboundSchema, OdosSwapRequestTokenIn$outboundSchema,
|
|
|
40970
40896
|
var init_odosswaprequest = __esm(() => {
|
|
40971
40897
|
init_zod();
|
|
40972
40898
|
init_primitives();
|
|
40973
|
-
init_chain();
|
|
40974
40899
|
init_tokenenum();
|
|
40975
40900
|
OdosSwapRequestTokenIn$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
40976
40901
|
OdosSwapRequestTokenIn$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
|
|
@@ -40996,7 +40921,7 @@ var init_odosswaprequest = __esm(() => {
|
|
|
40996
40921
|
token_out: unionType([TokenEnum$inboundSchema, stringType()]),
|
|
40997
40922
|
amount: unionType([numberType(), stringType()]),
|
|
40998
40923
|
max_slippage_percent: numberType(),
|
|
40999
|
-
chain:
|
|
40924
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
41000
40925
|
sender: stringType()
|
|
41001
40926
|
}).transform((v2) => {
|
|
41002
40927
|
return remap(v2, {
|
|
@@ -41012,7 +40937,7 @@ var init_odosswaprequest = __esm(() => {
|
|
|
41012
40937
|
tokenOut: unionType([TokenEnum$outboundSchema, stringType()]),
|
|
41013
40938
|
amount: unionType([numberType(), stringType()]),
|
|
41014
40939
|
maxSlippagePercent: numberType(),
|
|
41015
|
-
chain:
|
|
40940
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
41016
40941
|
sender: stringType()
|
|
41017
40942
|
}).transform((v2) => {
|
|
41018
40943
|
return remap(v2, {
|
|
@@ -41057,7 +40982,6 @@ var PendleAddLiquidityRequestAmount$inboundSchema, PendleAddLiquidityRequestAmou
|
|
|
41057
40982
|
var init_pendleaddliquidityrequest = __esm(() => {
|
|
41058
40983
|
init_zod();
|
|
41059
40984
|
init_primitives();
|
|
41060
|
-
init_chain();
|
|
41061
40985
|
PendleAddLiquidityRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
41062
40986
|
PendleAddLiquidityRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
41063
40987
|
((PendleAddLiquidityRequestAmount$) => {
|
|
@@ -41069,7 +40993,7 @@ var init_pendleaddliquidityrequest = __esm(() => {
|
|
|
41069
40993
|
market_address: stringType(),
|
|
41070
40994
|
amount: unionType([numberType(), stringType()]),
|
|
41071
40995
|
max_slippage_percent: numberType(),
|
|
41072
|
-
chain:
|
|
40996
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
41073
40997
|
sender: stringType()
|
|
41074
40998
|
}).transform((v2) => {
|
|
41075
40999
|
return remap(v2, {
|
|
@@ -41083,7 +41007,7 @@ var init_pendleaddliquidityrequest = __esm(() => {
|
|
|
41083
41007
|
marketAddress: stringType(),
|
|
41084
41008
|
amount: unionType([numberType(), stringType()]),
|
|
41085
41009
|
maxSlippagePercent: numberType(),
|
|
41086
|
-
chain:
|
|
41010
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
41087
41011
|
sender: stringType()
|
|
41088
41012
|
}).transform((v2) => {
|
|
41089
41013
|
return remap(v2, {
|
|
@@ -41103,7 +41027,6 @@ var PendleBuyPtRequestAmount$inboundSchema, PendleBuyPtRequestAmount$outboundSch
|
|
|
41103
41027
|
var init_pendlebuyptrequest = __esm(() => {
|
|
41104
41028
|
init_zod();
|
|
41105
41029
|
init_primitives();
|
|
41106
|
-
init_chain();
|
|
41107
41030
|
PendleBuyPtRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
41108
41031
|
PendleBuyPtRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
41109
41032
|
((PendleBuyPtRequestAmount$) => {
|
|
@@ -41115,7 +41038,7 @@ var init_pendlebuyptrequest = __esm(() => {
|
|
|
41115
41038
|
market_address: stringType(),
|
|
41116
41039
|
amount: unionType([numberType(), stringType()]),
|
|
41117
41040
|
max_slippage_percent: numberType(),
|
|
41118
|
-
chain:
|
|
41041
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
41119
41042
|
sender: stringType()
|
|
41120
41043
|
}).transform((v2) => {
|
|
41121
41044
|
return remap(v2, {
|
|
@@ -41129,7 +41052,7 @@ var init_pendlebuyptrequest = __esm(() => {
|
|
|
41129
41052
|
marketAddress: stringType(),
|
|
41130
41053
|
amount: unionType([numberType(), stringType()]),
|
|
41131
41054
|
maxSlippagePercent: numberType(),
|
|
41132
|
-
chain:
|
|
41055
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
41133
41056
|
sender: stringType()
|
|
41134
41057
|
}).transform((v2) => {
|
|
41135
41058
|
return remap(v2, {
|
|
@@ -41149,7 +41072,6 @@ var PendleBuyYtRequestAmount$inboundSchema, PendleBuyYtRequestAmount$outboundSch
|
|
|
41149
41072
|
var init_pendlebuyytrequest = __esm(() => {
|
|
41150
41073
|
init_zod();
|
|
41151
41074
|
init_primitives();
|
|
41152
|
-
init_chain();
|
|
41153
41075
|
PendleBuyYtRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
41154
41076
|
PendleBuyYtRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
41155
41077
|
((PendleBuyYtRequestAmount$) => {
|
|
@@ -41161,7 +41083,7 @@ var init_pendlebuyytrequest = __esm(() => {
|
|
|
41161
41083
|
market_address: stringType(),
|
|
41162
41084
|
amount: unionType([numberType(), stringType()]),
|
|
41163
41085
|
max_slippage_percent: numberType(),
|
|
41164
|
-
chain:
|
|
41086
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
41165
41087
|
sender: stringType()
|
|
41166
41088
|
}).transform((v2) => {
|
|
41167
41089
|
return remap(v2, {
|
|
@@ -41175,7 +41097,7 @@ var init_pendlebuyytrequest = __esm(() => {
|
|
|
41175
41097
|
marketAddress: stringType(),
|
|
41176
41098
|
amount: unionType([numberType(), stringType()]),
|
|
41177
41099
|
maxSlippagePercent: numberType(),
|
|
41178
|
-
chain:
|
|
41100
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
41179
41101
|
sender: stringType()
|
|
41180
41102
|
}).transform((v2) => {
|
|
41181
41103
|
return remap(v2, {
|
|
@@ -41373,11 +41295,10 @@ var PendleRedeemYieldRequest$inboundSchema, PendleRedeemYieldRequest$outboundSch
|
|
|
41373
41295
|
var init_pendleredeemyieldrequest = __esm(() => {
|
|
41374
41296
|
init_zod();
|
|
41375
41297
|
init_primitives();
|
|
41376
|
-
init_chain();
|
|
41377
41298
|
PendleRedeemYieldRequest$inboundSchema = objectType({
|
|
41378
41299
|
action_type: literalType("PENDLE_REDEEM_YIELD").default("PENDLE_REDEEM_YIELD"),
|
|
41379
41300
|
market_address: stringType(),
|
|
41380
|
-
chain:
|
|
41301
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
41381
41302
|
sender: stringType()
|
|
41382
41303
|
}).transform((v2) => {
|
|
41383
41304
|
return remap(v2, {
|
|
@@ -41388,7 +41309,7 @@ var init_pendleredeemyieldrequest = __esm(() => {
|
|
|
41388
41309
|
PendleRedeemYieldRequest$outboundSchema = objectType({
|
|
41389
41310
|
actionType: literalType("PENDLE_REDEEM_YIELD").default("PENDLE_REDEEM_YIELD"),
|
|
41390
41311
|
marketAddress: stringType(),
|
|
41391
|
-
chain:
|
|
41312
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
41392
41313
|
sender: stringType()
|
|
41393
41314
|
}).transform((v2) => {
|
|
41394
41315
|
return remap(v2, {
|
|
@@ -41407,7 +41328,6 @@ var PendleRemoveLiquidityRequestAmount$inboundSchema, PendleRemoveLiquidityReque
|
|
|
41407
41328
|
var init_pendleremoveliquidityrequest = __esm(() => {
|
|
41408
41329
|
init_zod();
|
|
41409
41330
|
init_primitives();
|
|
41410
|
-
init_chain();
|
|
41411
41331
|
PendleRemoveLiquidityRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
41412
41332
|
PendleRemoveLiquidityRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
41413
41333
|
((PendleRemoveLiquidityRequestAmount$) => {
|
|
@@ -41419,7 +41339,7 @@ var init_pendleremoveliquidityrequest = __esm(() => {
|
|
|
41419
41339
|
market_address: stringType(),
|
|
41420
41340
|
amount: unionType([numberType(), stringType()]),
|
|
41421
41341
|
max_slippage_percent: numberType(),
|
|
41422
|
-
chain:
|
|
41342
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
41423
41343
|
sender: stringType()
|
|
41424
41344
|
}).transform((v2) => {
|
|
41425
41345
|
return remap(v2, {
|
|
@@ -41433,7 +41353,7 @@ var init_pendleremoveliquidityrequest = __esm(() => {
|
|
|
41433
41353
|
marketAddress: stringType(),
|
|
41434
41354
|
amount: unionType([numberType(), stringType()]),
|
|
41435
41355
|
maxSlippagePercent: numberType(),
|
|
41436
|
-
chain:
|
|
41356
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
41437
41357
|
sender: stringType()
|
|
41438
41358
|
}).transform((v2) => {
|
|
41439
41359
|
return remap(v2, {
|
|
@@ -41453,7 +41373,6 @@ var PendleSellPtRequestAmount$inboundSchema, PendleSellPtRequestAmount$outboundS
|
|
|
41453
41373
|
var init_pendlesellptrequest = __esm(() => {
|
|
41454
41374
|
init_zod();
|
|
41455
41375
|
init_primitives();
|
|
41456
|
-
init_chain();
|
|
41457
41376
|
PendleSellPtRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
41458
41377
|
PendleSellPtRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
41459
41378
|
((PendleSellPtRequestAmount$) => {
|
|
@@ -41465,7 +41384,7 @@ var init_pendlesellptrequest = __esm(() => {
|
|
|
41465
41384
|
market_address: stringType(),
|
|
41466
41385
|
amount: unionType([numberType(), stringType()]),
|
|
41467
41386
|
max_slippage_percent: numberType(),
|
|
41468
|
-
chain:
|
|
41387
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
41469
41388
|
sender: stringType()
|
|
41470
41389
|
}).transform((v2) => {
|
|
41471
41390
|
return remap(v2, {
|
|
@@ -41479,7 +41398,7 @@ var init_pendlesellptrequest = __esm(() => {
|
|
|
41479
41398
|
marketAddress: stringType(),
|
|
41480
41399
|
amount: unionType([numberType(), stringType()]),
|
|
41481
41400
|
maxSlippagePercent: numberType(),
|
|
41482
|
-
chain:
|
|
41401
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
41483
41402
|
sender: stringType()
|
|
41484
41403
|
}).transform((v2) => {
|
|
41485
41404
|
return remap(v2, {
|
|
@@ -41499,7 +41418,6 @@ var PendleSellYtRequestAmount$inboundSchema, PendleSellYtRequestAmount$outboundS
|
|
|
41499
41418
|
var init_pendlesellytrequest = __esm(() => {
|
|
41500
41419
|
init_zod();
|
|
41501
41420
|
init_primitives();
|
|
41502
|
-
init_chain();
|
|
41503
41421
|
PendleSellYtRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
41504
41422
|
PendleSellYtRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
41505
41423
|
((PendleSellYtRequestAmount$) => {
|
|
@@ -41511,7 +41429,7 @@ var init_pendlesellytrequest = __esm(() => {
|
|
|
41511
41429
|
market_address: stringType(),
|
|
41512
41430
|
amount: unionType([numberType(), stringType()]),
|
|
41513
41431
|
max_slippage_percent: numberType(),
|
|
41514
|
-
chain:
|
|
41432
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
41515
41433
|
sender: stringType()
|
|
41516
41434
|
}).transform((v2) => {
|
|
41517
41435
|
return remap(v2, {
|
|
@@ -41525,7 +41443,7 @@ var init_pendlesellytrequest = __esm(() => {
|
|
|
41525
41443
|
marketAddress: stringType(),
|
|
41526
41444
|
amount: unionType([numberType(), stringType()]),
|
|
41527
41445
|
maxSlippagePercent: numberType(),
|
|
41528
|
-
chain:
|
|
41446
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
41529
41447
|
sender: stringType()
|
|
41530
41448
|
}).transform((v2) => {
|
|
41531
41449
|
return remap(v2, {
|
|
@@ -41620,7 +41538,6 @@ var SetAllowanceRequestContractEnum, SetAllowanceRequestToken$inboundSchema, Set
|
|
|
41620
41538
|
var init_setallowancerequest = __esm(() => {
|
|
41621
41539
|
init_zod();
|
|
41622
41540
|
init_primitives();
|
|
41623
|
-
init_chain();
|
|
41624
41541
|
init_tokenenum();
|
|
41625
41542
|
SetAllowanceRequestContractEnum = {
|
|
41626
41543
|
AaveV3Pool: "AaveV3Pool",
|
|
@@ -41668,7 +41585,7 @@ var init_setallowancerequest = __esm(() => {
|
|
|
41668
41585
|
stringType()
|
|
41669
41586
|
]),
|
|
41670
41587
|
amount: unionType([numberType(), stringType()]),
|
|
41671
|
-
chain:
|
|
41588
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
41672
41589
|
sender: stringType()
|
|
41673
41590
|
}).transform((v2) => {
|
|
41674
41591
|
return remap(v2, {
|
|
@@ -41683,7 +41600,7 @@ var init_setallowancerequest = __esm(() => {
|
|
|
41683
41600
|
stringType()
|
|
41684
41601
|
]),
|
|
41685
41602
|
amount: unionType([numberType(), stringType()]),
|
|
41686
|
-
chain:
|
|
41603
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
41687
41604
|
sender: stringType()
|
|
41688
41605
|
}).transform((v2) => {
|
|
41689
41606
|
return remap(v2, {
|
|
@@ -41721,7 +41638,7 @@ var init_skybuyrequest = __esm(() => {
|
|
|
41721
41638
|
action_type: literalType("SKY_BUY").default("SKY_BUY"),
|
|
41722
41639
|
token_in: SkyBuyRequestTokenIn$inboundSchema,
|
|
41723
41640
|
amount: unionType([numberType(), stringType()]),
|
|
41724
|
-
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
41641
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
41725
41642
|
sender: stringType()
|
|
41726
41643
|
}).transform((v2) => {
|
|
41727
41644
|
return remap(v2, {
|
|
@@ -42098,7 +42015,6 @@ var UniswapBuyExactlyRequestTokenIn$inboundSchema, UniswapBuyExactlyRequestToken
|
|
|
42098
42015
|
var init_uniswapbuyexactlyrequest = __esm(() => {
|
|
42099
42016
|
init_zod();
|
|
42100
42017
|
init_primitives();
|
|
42101
|
-
init_chain();
|
|
42102
42018
|
init_feeenum();
|
|
42103
42019
|
init_tokenenum();
|
|
42104
42020
|
UniswapBuyExactlyRequestTokenIn$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
@@ -42127,7 +42043,7 @@ var init_uniswapbuyexactlyrequest = __esm(() => {
|
|
|
42127
42043
|
amount: unionType([numberType(), stringType()]),
|
|
42128
42044
|
max_slippage_percent: numberType(),
|
|
42129
42045
|
wrap_eth: booleanType().default(false),
|
|
42130
|
-
chain:
|
|
42046
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
42131
42047
|
sender: stringType()
|
|
42132
42048
|
}).transform((v2) => {
|
|
42133
42049
|
return remap(v2, {
|
|
@@ -42146,7 +42062,7 @@ var init_uniswapbuyexactlyrequest = __esm(() => {
|
|
|
42146
42062
|
amount: unionType([numberType(), stringType()]),
|
|
42147
42063
|
maxSlippagePercent: numberType(),
|
|
42148
42064
|
wrapEth: booleanType().default(false),
|
|
42149
|
-
chain:
|
|
42065
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
42150
42066
|
sender: stringType()
|
|
42151
42067
|
}).transform((v2) => {
|
|
42152
42068
|
return remap(v2, {
|
|
@@ -42222,7 +42138,6 @@ var UniswapIncreaseLiquidityProvisionRequestAmount0Desired$inboundSchema, Uniswa
|
|
|
42222
42138
|
var init_uniswapincreaseliquidityprovisionrequest = __esm(() => {
|
|
42223
42139
|
init_zod();
|
|
42224
42140
|
init_primitives();
|
|
42225
|
-
init_chain();
|
|
42226
42141
|
UniswapIncreaseLiquidityProvisionRequestAmount0Desired$inboundSchema = unionType([numberType(), stringType()]);
|
|
42227
42142
|
UniswapIncreaseLiquidityProvisionRequestAmount0Desired$outboundSchema = unionType([numberType(), stringType()]);
|
|
42228
42143
|
((UniswapIncreaseLiquidityProvisionRequestAmount0Desired$) => {
|
|
@@ -42254,7 +42169,7 @@ var init_uniswapincreaseliquidityprovisionrequest = __esm(() => {
|
|
|
42254
42169
|
amount1_desired: unionType([numberType(), stringType()]),
|
|
42255
42170
|
amount0_min: unionType([numberType(), stringType()]),
|
|
42256
42171
|
amount1_min: unionType([numberType(), stringType()]),
|
|
42257
|
-
chain:
|
|
42172
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
42258
42173
|
sender: stringType()
|
|
42259
42174
|
}).transform((v2) => {
|
|
42260
42175
|
return remap(v2, {
|
|
@@ -42273,7 +42188,7 @@ var init_uniswapincreaseliquidityprovisionrequest = __esm(() => {
|
|
|
42273
42188
|
amount1Desired: unionType([numberType(), stringType()]),
|
|
42274
42189
|
amount0Min: unionType([numberType(), stringType()]),
|
|
42275
42190
|
amount1Min: unionType([numberType(), stringType()]),
|
|
42276
|
-
chain:
|
|
42191
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
42277
42192
|
sender: stringType()
|
|
42278
42193
|
}).transform((v2) => {
|
|
42279
42194
|
return remap(v2, {
|
|
@@ -42374,7 +42289,6 @@ var UniswapMintLiquidityProvisionRequestAmount0Desired$inboundSchema, UniswapMin
|
|
|
42374
42289
|
var init_uniswapmintliquidityprovisionrequest = __esm(() => {
|
|
42375
42290
|
init_zod();
|
|
42376
42291
|
init_primitives();
|
|
42377
|
-
init_chain();
|
|
42378
42292
|
init_feeenum();
|
|
42379
42293
|
init_tokenenum();
|
|
42380
42294
|
UniswapMintLiquidityProvisionRequestAmount0Desired$inboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -42413,7 +42327,7 @@ var init_uniswapmintliquidityprovisionrequest = __esm(() => {
|
|
|
42413
42327
|
amount0_min: unionType([numberType(), stringType()]),
|
|
42414
42328
|
amount1_min: unionType([numberType(), stringType()]),
|
|
42415
42329
|
recipient: nullableType(stringType()).optional(),
|
|
42416
|
-
chain:
|
|
42330
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
42417
42331
|
sender: stringType()
|
|
42418
42332
|
}).transform((v2) => {
|
|
42419
42333
|
return remap(v2, {
|
|
@@ -42438,7 +42352,7 @@ var init_uniswapmintliquidityprovisionrequest = __esm(() => {
|
|
|
42438
42352
|
amount0Min: unionType([numberType(), stringType()]),
|
|
42439
42353
|
amount1Min: unionType([numberType(), stringType()]),
|
|
42440
42354
|
recipient: nullableType(stringType()).optional(),
|
|
42441
|
-
chain:
|
|
42355
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
42442
42356
|
sender: stringType()
|
|
42443
42357
|
}).transform((v2) => {
|
|
42444
42358
|
return remap(v2, {
|
|
@@ -42496,7 +42410,6 @@ var UniswapSellExactlyRequestAmount$inboundSchema, UniswapSellExactlyRequestAmou
|
|
|
42496
42410
|
var init_uniswapsellexactlyrequest = __esm(() => {
|
|
42497
42411
|
init_zod();
|
|
42498
42412
|
init_primitives();
|
|
42499
|
-
init_chain();
|
|
42500
42413
|
init_feeenum();
|
|
42501
42414
|
init_tokenenum();
|
|
42502
42415
|
UniswapSellExactlyRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -42513,7 +42426,7 @@ var init_uniswapsellexactlyrequest = __esm(() => {
|
|
|
42513
42426
|
amount: unionType([numberType(), stringType()]),
|
|
42514
42427
|
max_slippage_percent: numberType(),
|
|
42515
42428
|
wrap_eth: booleanType().default(false),
|
|
42516
|
-
chain:
|
|
42429
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
42517
42430
|
sender: stringType()
|
|
42518
42431
|
}).transform((v2) => {
|
|
42519
42432
|
return remap(v2, {
|
|
@@ -42532,7 +42445,7 @@ var init_uniswapsellexactlyrequest = __esm(() => {
|
|
|
42532
42445
|
amount: unionType([numberType(), stringType()]),
|
|
42533
42446
|
maxSlippagePercent: numberType(),
|
|
42534
42447
|
wrapEth: booleanType().default(false),
|
|
42535
|
-
chain:
|
|
42448
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
42536
42449
|
sender: stringType()
|
|
42537
42450
|
}).transform((v2) => {
|
|
42538
42451
|
return remap(v2, {
|
|
@@ -42583,7 +42496,6 @@ var UniswapWithdrawLiquidityProvisionRequestPercentageForWithdrawal$inboundSchem
|
|
|
42583
42496
|
var init_uniswapwithdrawliquidityprovisionrequest = __esm(() => {
|
|
42584
42497
|
init_zod();
|
|
42585
42498
|
init_primitives();
|
|
42586
|
-
init_chain();
|
|
42587
42499
|
UniswapWithdrawLiquidityProvisionRequestPercentageForWithdrawal$inboundSchema = unionType([numberType(), stringType()]);
|
|
42588
42500
|
UniswapWithdrawLiquidityProvisionRequestPercentageForWithdrawal$outboundSchema = unionType([numberType(), stringType()]);
|
|
42589
42501
|
((UniswapWithdrawLiquidityProvisionRequestPercentageForWithdrawal$) => {
|
|
@@ -42594,7 +42506,7 @@ var init_uniswapwithdrawliquidityprovisionrequest = __esm(() => {
|
|
|
42594
42506
|
action_type: literalType("UNISWAP_WITHDRAW_LIQUIDITY_PROVISION").default("UNISWAP_WITHDRAW_LIQUIDITY_PROVISION"),
|
|
42595
42507
|
token_id: numberType().int(),
|
|
42596
42508
|
percentage_for_withdrawal: unionType([numberType(), stringType()]),
|
|
42597
|
-
chain:
|
|
42509
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
42598
42510
|
sender: stringType()
|
|
42599
42511
|
}).transform((v2) => {
|
|
42600
42512
|
return remap(v2, {
|
|
@@ -42607,7 +42519,7 @@ var init_uniswapwithdrawliquidityprovisionrequest = __esm(() => {
|
|
|
42607
42519
|
actionType: literalType("UNISWAP_WITHDRAW_LIQUIDITY_PROVISION").default("UNISWAP_WITHDRAW_LIQUIDITY_PROVISION"),
|
|
42608
42520
|
tokenId: numberType().int(),
|
|
42609
42521
|
percentageForWithdrawal: unionType([numberType(), stringType()]),
|
|
42610
|
-
chain:
|
|
42522
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
42611
42523
|
sender: stringType()
|
|
42612
42524
|
}).transform((v2) => {
|
|
42613
42525
|
return remap(v2, {
|
|
@@ -42627,7 +42539,6 @@ var UnwrapWethRequestAmount$inboundSchema, UnwrapWethRequestAmount$outboundSchem
|
|
|
42627
42539
|
var init_unwrapwethrequest = __esm(() => {
|
|
42628
42540
|
init_zod();
|
|
42629
42541
|
init_primitives();
|
|
42630
|
-
init_chain();
|
|
42631
42542
|
UnwrapWethRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
42632
42543
|
UnwrapWethRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
42633
42544
|
((UnwrapWethRequestAmount$) => {
|
|
@@ -42637,7 +42548,7 @@ var init_unwrapwethrequest = __esm(() => {
|
|
|
42637
42548
|
UnwrapWethRequest$inboundSchema = objectType({
|
|
42638
42549
|
action_type: literalType("UNWRAP_WETH").default("UNWRAP_WETH"),
|
|
42639
42550
|
amount: unionType([numberType(), stringType()]),
|
|
42640
|
-
chain:
|
|
42551
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
42641
42552
|
sender: stringType()
|
|
42642
42553
|
}).transform((v2) => {
|
|
42643
42554
|
return remap(v2, {
|
|
@@ -42647,7 +42558,7 @@ var init_unwrapwethrequest = __esm(() => {
|
|
|
42647
42558
|
UnwrapWethRequest$outboundSchema = objectType({
|
|
42648
42559
|
actionType: literalType("UNWRAP_WETH").default("UNWRAP_WETH"),
|
|
42649
42560
|
amount: unionType([numberType(), stringType()]),
|
|
42650
|
-
chain:
|
|
42561
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
42651
42562
|
sender: stringType()
|
|
42652
42563
|
}).transform((v2) => {
|
|
42653
42564
|
return remap(v2, {
|
|
@@ -42691,7 +42602,6 @@ var VaultDepositRequestAmount$inboundSchema, VaultDepositRequestAmount$outboundS
|
|
|
42691
42602
|
var init_vaultdepositrequest = __esm(() => {
|
|
42692
42603
|
init_zod();
|
|
42693
42604
|
init_primitives();
|
|
42694
|
-
init_chain();
|
|
42695
42605
|
VaultDepositRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
42696
42606
|
VaultDepositRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
42697
42607
|
((VaultDepositRequestAmount$) => {
|
|
@@ -42703,7 +42613,7 @@ var init_vaultdepositrequest = __esm(() => {
|
|
|
42703
42613
|
vault_address: stringType(),
|
|
42704
42614
|
amount: unionType([numberType(), stringType()]),
|
|
42705
42615
|
receiver: nullableType(stringType()).optional(),
|
|
42706
|
-
chain:
|
|
42616
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
42707
42617
|
sender: stringType()
|
|
42708
42618
|
}).transform((v2) => {
|
|
42709
42619
|
return remap(v2, {
|
|
@@ -42716,7 +42626,7 @@ var init_vaultdepositrequest = __esm(() => {
|
|
|
42716
42626
|
vaultAddress: stringType(),
|
|
42717
42627
|
amount: unionType([numberType(), stringType()]),
|
|
42718
42628
|
receiver: nullableType(stringType()).optional(),
|
|
42719
|
-
chain:
|
|
42629
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
42720
42630
|
sender: stringType()
|
|
42721
42631
|
}).transform((v2) => {
|
|
42722
42632
|
return remap(v2, {
|
|
@@ -42785,13 +42695,12 @@ var VaultWithdrawRequest$inboundSchema, VaultWithdrawRequest$outboundSchema, Vau
|
|
|
42785
42695
|
var init_vaultwithdrawrequest = __esm(() => {
|
|
42786
42696
|
init_zod();
|
|
42787
42697
|
init_primitives();
|
|
42788
|
-
init_chain();
|
|
42789
42698
|
VaultWithdrawRequest$inboundSchema = objectType({
|
|
42790
42699
|
action_type: literalType("VAULT_WITHDRAW").default("VAULT_WITHDRAW"),
|
|
42791
42700
|
vault_address: stringType(),
|
|
42792
42701
|
amount: anyType().optional(),
|
|
42793
42702
|
receiver: nullableType(stringType()).optional(),
|
|
42794
|
-
chain:
|
|
42703
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
42795
42704
|
sender: stringType()
|
|
42796
42705
|
}).transform((v2) => {
|
|
42797
42706
|
return remap(v2, {
|
|
@@ -42804,7 +42713,7 @@ var init_vaultwithdrawrequest = __esm(() => {
|
|
|
42804
42713
|
vaultAddress: stringType(),
|
|
42805
42714
|
amount: anyType().optional(),
|
|
42806
42715
|
receiver: nullableType(stringType()).optional(),
|
|
42807
|
-
chain:
|
|
42716
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
42808
42717
|
sender: stringType()
|
|
42809
42718
|
}).transform((v2) => {
|
|
42810
42719
|
return remap(v2, {
|
|
@@ -42823,7 +42732,6 @@ var WrapEthRequestAmount$inboundSchema, WrapEthRequestAmount$outboundSchema, Wra
|
|
|
42823
42732
|
var init_wrapethrequest = __esm(() => {
|
|
42824
42733
|
init_zod();
|
|
42825
42734
|
init_primitives();
|
|
42826
|
-
init_chain();
|
|
42827
42735
|
WrapEthRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
42828
42736
|
WrapEthRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
42829
42737
|
((WrapEthRequestAmount$) => {
|
|
@@ -42833,7 +42741,7 @@ var init_wrapethrequest = __esm(() => {
|
|
|
42833
42741
|
WrapEthRequest$inboundSchema = objectType({
|
|
42834
42742
|
action_type: literalType("WRAP_ETH").default("WRAP_ETH"),
|
|
42835
42743
|
amount: unionType([numberType(), stringType()]),
|
|
42836
|
-
chain:
|
|
42744
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
42837
42745
|
sender: stringType()
|
|
42838
42746
|
}).transform((v2) => {
|
|
42839
42747
|
return remap(v2, {
|
|
@@ -42843,7 +42751,7 @@ var init_wrapethrequest = __esm(() => {
|
|
|
42843
42751
|
WrapEthRequest$outboundSchema = objectType({
|
|
42844
42752
|
actionType: literalType("WRAP_ETH").default("WRAP_ETH"),
|
|
42845
42753
|
amount: unionType([numberType(), stringType()]),
|
|
42846
|
-
chain:
|
|
42754
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
42847
42755
|
sender: stringType()
|
|
42848
42756
|
}).transform((v2) => {
|
|
42849
42757
|
return remap(v2, {
|
|
@@ -43086,26 +42994,15 @@ var init_errors2 = __esm(() => {
|
|
|
43086
42994
|
});
|
|
43087
42995
|
|
|
43088
42996
|
// src/models/operations/aaveaavesupportedtokens.ts
|
|
43089
|
-
var
|
|
42997
|
+
var AaveAaveSupportedTokensRequest$inboundSchema, AaveAaveSupportedTokensRequest$outboundSchema, AaveAaveSupportedTokensRequest$;
|
|
43090
42998
|
var init_aaveaavesupportedtokens = __esm(() => {
|
|
43091
42999
|
init_zod();
|
|
43092
|
-
AaveAaveSupportedTokensChain = {
|
|
43093
|
-
BaseMainnet: "base:mainnet",
|
|
43094
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
43095
|
-
ArbitrumMainnet: "arbitrum:mainnet"
|
|
43096
|
-
};
|
|
43097
|
-
AaveAaveSupportedTokensChain$inboundSchema = nativeEnumType(AaveAaveSupportedTokensChain);
|
|
43098
|
-
AaveAaveSupportedTokensChain$outboundSchema = AaveAaveSupportedTokensChain$inboundSchema;
|
|
43099
|
-
((AaveAaveSupportedTokensChain$) => {
|
|
43100
|
-
AaveAaveSupportedTokensChain$.inboundSchema = AaveAaveSupportedTokensChain$inboundSchema;
|
|
43101
|
-
AaveAaveSupportedTokensChain$.outboundSchema = AaveAaveSupportedTokensChain$outboundSchema;
|
|
43102
|
-
})(AaveAaveSupportedTokensChain$ ||= {});
|
|
43103
43000
|
AaveAaveSupportedTokensRequest$inboundSchema = objectType({
|
|
43104
|
-
chain:
|
|
43001
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
43105
43002
|
block: nullableType(numberType().int()).optional()
|
|
43106
43003
|
});
|
|
43107
43004
|
AaveAaveSupportedTokensRequest$outboundSchema = objectType({
|
|
43108
|
-
chain:
|
|
43005
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
43109
43006
|
block: nullableType(numberType().int()).optional()
|
|
43110
43007
|
});
|
|
43111
43008
|
((AaveAaveSupportedTokensRequest$) => {
|
|
@@ -43115,14 +43012,9 @@ var init_aaveaavesupportedtokens = __esm(() => {
|
|
|
43115
43012
|
});
|
|
43116
43013
|
|
|
43117
43014
|
// src/models/operations/aaveavgrate.ts
|
|
43118
|
-
var
|
|
43015
|
+
var AaveAvgRateToken, AaveAvgRateToken$inboundSchema, AaveAvgRateToken$outboundSchema, AaveAvgRateToken$, AaveAvgRateRequest$inboundSchema, AaveAvgRateRequest$outboundSchema, AaveAvgRateRequest$;
|
|
43119
43016
|
var init_aaveavgrate = __esm(() => {
|
|
43120
43017
|
init_zod();
|
|
43121
|
-
AaveAvgRateChain = {
|
|
43122
|
-
BaseMainnet: "base:mainnet",
|
|
43123
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
43124
|
-
ArbitrumMainnet: "arbitrum:mainnet"
|
|
43125
|
-
};
|
|
43126
43018
|
AaveAvgRateToken = {
|
|
43127
43019
|
OneINCH: "1INCH",
|
|
43128
43020
|
Aave: "AAVE",
|
|
@@ -43171,12 +43063,6 @@ var init_aaveavgrate = __esm(() => {
|
|
|
43171
43063
|
EzETH: "ezETH",
|
|
43172
43064
|
Cyber: "CYBER"
|
|
43173
43065
|
};
|
|
43174
|
-
AaveAvgRateChain$inboundSchema = nativeEnumType(AaveAvgRateChain);
|
|
43175
|
-
AaveAvgRateChain$outboundSchema = AaveAvgRateChain$inboundSchema;
|
|
43176
|
-
((AaveAvgRateChain$) => {
|
|
43177
|
-
AaveAvgRateChain$.inboundSchema = AaveAvgRateChain$inboundSchema;
|
|
43178
|
-
AaveAvgRateChain$.outboundSchema = AaveAvgRateChain$outboundSchema;
|
|
43179
|
-
})(AaveAvgRateChain$ ||= {});
|
|
43180
43066
|
AaveAvgRateToken$inboundSchema = nativeEnumType(AaveAvgRateToken);
|
|
43181
43067
|
AaveAvgRateToken$outboundSchema = AaveAvgRateToken$inboundSchema;
|
|
43182
43068
|
((AaveAvgRateToken$) => {
|
|
@@ -43184,13 +43070,13 @@ var init_aaveavgrate = __esm(() => {
|
|
|
43184
43070
|
AaveAvgRateToken$.outboundSchema = AaveAvgRateToken$outboundSchema;
|
|
43185
43071
|
})(AaveAvgRateToken$ ||= {});
|
|
43186
43072
|
AaveAvgRateRequest$inboundSchema = objectType({
|
|
43187
|
-
chain:
|
|
43073
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
43188
43074
|
block: nullableType(numberType().int()).optional(),
|
|
43189
43075
|
token: AaveAvgRateToken$inboundSchema.default("USDC"),
|
|
43190
43076
|
days: numberType().int().default(2)
|
|
43191
43077
|
});
|
|
43192
43078
|
AaveAvgRateRequest$outboundSchema = objectType({
|
|
43193
|
-
chain:
|
|
43079
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
43194
43080
|
block: nullableType(numberType().int()).optional(),
|
|
43195
43081
|
token: AaveAvgRateToken$outboundSchema.default("USDC"),
|
|
43196
43082
|
days: numberType().int().default(2)
|
|
@@ -43202,25 +43088,14 @@ var init_aaveavgrate = __esm(() => {
|
|
|
43202
43088
|
});
|
|
43203
43089
|
|
|
43204
43090
|
// src/models/operations/aavehistoricaltransactions.ts
|
|
43205
|
-
var
|
|
43091
|
+
var AaveHistoricalTransactionsRequest$inboundSchema, AaveHistoricalTransactionsRequest$outboundSchema, AaveHistoricalTransactionsRequest$;
|
|
43206
43092
|
var init_aavehistoricaltransactions = __esm(() => {
|
|
43207
43093
|
init_zod();
|
|
43208
43094
|
init_primitives();
|
|
43209
|
-
AaveHistoricalTransactionsChain = {
|
|
43210
|
-
BaseMainnet: "base:mainnet",
|
|
43211
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
43212
|
-
ArbitrumMainnet: "arbitrum:mainnet"
|
|
43213
|
-
};
|
|
43214
|
-
AaveHistoricalTransactionsChain$inboundSchema = nativeEnumType(AaveHistoricalTransactionsChain);
|
|
43215
|
-
AaveHistoricalTransactionsChain$outboundSchema = AaveHistoricalTransactionsChain$inboundSchema;
|
|
43216
|
-
((AaveHistoricalTransactionsChain$) => {
|
|
43217
|
-
AaveHistoricalTransactionsChain$.inboundSchema = AaveHistoricalTransactionsChain$inboundSchema;
|
|
43218
|
-
AaveHistoricalTransactionsChain$.outboundSchema = AaveHistoricalTransactionsChain$outboundSchema;
|
|
43219
|
-
})(AaveHistoricalTransactionsChain$ ||= {});
|
|
43220
43095
|
AaveHistoricalTransactionsRequest$inboundSchema = objectType({
|
|
43221
43096
|
offset: numberType().int().default(0),
|
|
43222
43097
|
limit: numberType().int().default(100),
|
|
43223
|
-
chain:
|
|
43098
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
43224
43099
|
user_address: stringType().default("0x3254f3b1918637ba924e3F18968Cb74219974b63")
|
|
43225
43100
|
}).transform((v2) => {
|
|
43226
43101
|
return remap(v2, {
|
|
@@ -43230,7 +43105,7 @@ var init_aavehistoricaltransactions = __esm(() => {
|
|
|
43230
43105
|
AaveHistoricalTransactionsRequest$outboundSchema = objectType({
|
|
43231
43106
|
offset: numberType().int().default(0),
|
|
43232
43107
|
limit: numberType().int().default(100),
|
|
43233
|
-
chain:
|
|
43108
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
43234
43109
|
userAddress: stringType().default("0x3254f3b1918637ba924e3F18968Cb74219974b63")
|
|
43235
43110
|
}).transform((v2) => {
|
|
43236
43111
|
return remap(v2, {
|
|
@@ -43244,15 +43119,10 @@ var init_aavehistoricaltransactions = __esm(() => {
|
|
|
43244
43119
|
});
|
|
43245
43120
|
|
|
43246
43121
|
// src/models/operations/aaveliquiditychange.ts
|
|
43247
|
-
var
|
|
43122
|
+
var AaveLiquidityChangeToken, AaveLiquidityChangeToken$inboundSchema, AaveLiquidityChangeToken$outboundSchema, AaveLiquidityChangeToken$, AaveLiquidityChangeRequest$inboundSchema, AaveLiquidityChangeRequest$outboundSchema, AaveLiquidityChangeRequest$;
|
|
43248
43123
|
var init_aaveliquiditychange = __esm(() => {
|
|
43249
43124
|
init_zod();
|
|
43250
43125
|
init_primitives();
|
|
43251
|
-
AaveLiquidityChangeChain = {
|
|
43252
|
-
BaseMainnet: "base:mainnet",
|
|
43253
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
43254
|
-
ArbitrumMainnet: "arbitrum:mainnet"
|
|
43255
|
-
};
|
|
43256
43126
|
AaveLiquidityChangeToken = {
|
|
43257
43127
|
OneINCH: "1INCH",
|
|
43258
43128
|
Aave: "AAVE",
|
|
@@ -43301,12 +43171,6 @@ var init_aaveliquiditychange = __esm(() => {
|
|
|
43301
43171
|
EzETH: "ezETH",
|
|
43302
43172
|
Cyber: "CYBER"
|
|
43303
43173
|
};
|
|
43304
|
-
AaveLiquidityChangeChain$inboundSchema = nativeEnumType(AaveLiquidityChangeChain);
|
|
43305
|
-
AaveLiquidityChangeChain$outboundSchema = AaveLiquidityChangeChain$inboundSchema;
|
|
43306
|
-
((AaveLiquidityChangeChain$) => {
|
|
43307
|
-
AaveLiquidityChangeChain$.inboundSchema = AaveLiquidityChangeChain$inboundSchema;
|
|
43308
|
-
AaveLiquidityChangeChain$.outboundSchema = AaveLiquidityChangeChain$outboundSchema;
|
|
43309
|
-
})(AaveLiquidityChangeChain$ ||= {});
|
|
43310
43174
|
AaveLiquidityChangeToken$inboundSchema = nativeEnumType(AaveLiquidityChangeToken);
|
|
43311
43175
|
AaveLiquidityChangeToken$outboundSchema = AaveLiquidityChangeToken$inboundSchema;
|
|
43312
43176
|
((AaveLiquidityChangeToken$) => {
|
|
@@ -43314,7 +43178,7 @@ var init_aaveliquiditychange = __esm(() => {
|
|
|
43314
43178
|
AaveLiquidityChangeToken$.outboundSchema = AaveLiquidityChangeToken$outboundSchema;
|
|
43315
43179
|
})(AaveLiquidityChangeToken$ ||= {});
|
|
43316
43180
|
AaveLiquidityChangeRequest$inboundSchema = objectType({
|
|
43317
|
-
chain:
|
|
43181
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
43318
43182
|
token: AaveLiquidityChangeToken$inboundSchema.default("USDC"),
|
|
43319
43183
|
start_block: numberType().int().default(0),
|
|
43320
43184
|
end_block: numberType().int().default(319407231)
|
|
@@ -43325,7 +43189,7 @@ var init_aaveliquiditychange = __esm(() => {
|
|
|
43325
43189
|
});
|
|
43326
43190
|
});
|
|
43327
43191
|
AaveLiquidityChangeRequest$outboundSchema = objectType({
|
|
43328
|
-
chain:
|
|
43192
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
43329
43193
|
token: AaveLiquidityChangeToken$outboundSchema.default("USDC"),
|
|
43330
43194
|
startBlock: numberType().int().default(0),
|
|
43331
43195
|
endBlock: numberType().int().default(319407231)
|
|
@@ -43342,14 +43206,9 @@ var init_aaveliquiditychange = __esm(() => {
|
|
|
43342
43206
|
});
|
|
43343
43207
|
|
|
43344
43208
|
// src/models/operations/aaverate.ts
|
|
43345
|
-
var
|
|
43209
|
+
var AaveRateToken, AaveRateToken$inboundSchema, AaveRateToken$outboundSchema, AaveRateToken$, AaveRateRequest$inboundSchema, AaveRateRequest$outboundSchema, AaveRateRequest$;
|
|
43346
43210
|
var init_aaverate = __esm(() => {
|
|
43347
43211
|
init_zod();
|
|
43348
|
-
AaveRateChain = {
|
|
43349
|
-
BaseMainnet: "base:mainnet",
|
|
43350
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
43351
|
-
ArbitrumMainnet: "arbitrum:mainnet"
|
|
43352
|
-
};
|
|
43353
43212
|
AaveRateToken = {
|
|
43354
43213
|
OneINCH: "1INCH",
|
|
43355
43214
|
Aave: "AAVE",
|
|
@@ -43398,12 +43257,6 @@ var init_aaverate = __esm(() => {
|
|
|
43398
43257
|
EzETH: "ezETH",
|
|
43399
43258
|
Cyber: "CYBER"
|
|
43400
43259
|
};
|
|
43401
|
-
AaveRateChain$inboundSchema = nativeEnumType(AaveRateChain);
|
|
43402
|
-
AaveRateChain$outboundSchema = AaveRateChain$inboundSchema;
|
|
43403
|
-
((AaveRateChain$) => {
|
|
43404
|
-
AaveRateChain$.inboundSchema = AaveRateChain$inboundSchema;
|
|
43405
|
-
AaveRateChain$.outboundSchema = AaveRateChain$outboundSchema;
|
|
43406
|
-
})(AaveRateChain$ ||= {});
|
|
43407
43260
|
AaveRateToken$inboundSchema = nativeEnumType(AaveRateToken);
|
|
43408
43261
|
AaveRateToken$outboundSchema = AaveRateToken$inboundSchema;
|
|
43409
43262
|
((AaveRateToken$) => {
|
|
@@ -43411,12 +43264,12 @@ var init_aaverate = __esm(() => {
|
|
|
43411
43264
|
AaveRateToken$.outboundSchema = AaveRateToken$outboundSchema;
|
|
43412
43265
|
})(AaveRateToken$ ||= {});
|
|
43413
43266
|
AaveRateRequest$inboundSchema = objectType({
|
|
43414
|
-
chain:
|
|
43267
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
43415
43268
|
block: nullableType(numberType().int()).optional(),
|
|
43416
43269
|
token: AaveRateToken$inboundSchema.default("USDC")
|
|
43417
43270
|
});
|
|
43418
43271
|
AaveRateRequest$outboundSchema = objectType({
|
|
43419
|
-
chain:
|
|
43272
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
43420
43273
|
block: nullableType(numberType().int()).optional(),
|
|
43421
43274
|
token: AaveRateToken$outboundSchema.default("USDC")
|
|
43422
43275
|
});
|
|
@@ -43427,14 +43280,9 @@ var init_aaverate = __esm(() => {
|
|
|
43427
43280
|
});
|
|
43428
43281
|
|
|
43429
43282
|
// src/models/operations/aavereserveoverview.ts
|
|
43430
|
-
var
|
|
43283
|
+
var AaveReserveOverviewToken, AaveReserveOverviewToken$inboundSchema, AaveReserveOverviewToken$outboundSchema, AaveReserveOverviewToken$, AaveReserveOverviewRequest$inboundSchema, AaveReserveOverviewRequest$outboundSchema, AaveReserveOverviewRequest$;
|
|
43431
43284
|
var init_aavereserveoverview = __esm(() => {
|
|
43432
43285
|
init_zod();
|
|
43433
|
-
AaveReserveOverviewChain = {
|
|
43434
|
-
BaseMainnet: "base:mainnet",
|
|
43435
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
43436
|
-
ArbitrumMainnet: "arbitrum:mainnet"
|
|
43437
|
-
};
|
|
43438
43286
|
AaveReserveOverviewToken = {
|
|
43439
43287
|
OneINCH: "1INCH",
|
|
43440
43288
|
Aave: "AAVE",
|
|
@@ -43483,12 +43331,6 @@ var init_aavereserveoverview = __esm(() => {
|
|
|
43483
43331
|
EzETH: "ezETH",
|
|
43484
43332
|
Cyber: "CYBER"
|
|
43485
43333
|
};
|
|
43486
|
-
AaveReserveOverviewChain$inboundSchema = nativeEnumType(AaveReserveOverviewChain);
|
|
43487
|
-
AaveReserveOverviewChain$outboundSchema = AaveReserveOverviewChain$inboundSchema;
|
|
43488
|
-
((AaveReserveOverviewChain$) => {
|
|
43489
|
-
AaveReserveOverviewChain$.inboundSchema = AaveReserveOverviewChain$inboundSchema;
|
|
43490
|
-
AaveReserveOverviewChain$.outboundSchema = AaveReserveOverviewChain$outboundSchema;
|
|
43491
|
-
})(AaveReserveOverviewChain$ ||= {});
|
|
43492
43334
|
AaveReserveOverviewToken$inboundSchema = nativeEnumType(AaveReserveOverviewToken);
|
|
43493
43335
|
AaveReserveOverviewToken$outboundSchema = AaveReserveOverviewToken$inboundSchema;
|
|
43494
43336
|
((AaveReserveOverviewToken$) => {
|
|
@@ -43496,12 +43338,12 @@ var init_aavereserveoverview = __esm(() => {
|
|
|
43496
43338
|
AaveReserveOverviewToken$.outboundSchema = AaveReserveOverviewToken$outboundSchema;
|
|
43497
43339
|
})(AaveReserveOverviewToken$ ||= {});
|
|
43498
43340
|
AaveReserveOverviewRequest$inboundSchema = objectType({
|
|
43499
|
-
chain:
|
|
43341
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
43500
43342
|
block: nullableType(numberType().int()).optional(),
|
|
43501
43343
|
token: AaveReserveOverviewToken$inboundSchema.default("USDC")
|
|
43502
43344
|
});
|
|
43503
43345
|
AaveReserveOverviewRequest$outboundSchema = objectType({
|
|
43504
|
-
chain:
|
|
43346
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
43505
43347
|
block: nullableType(numberType().int()).optional(),
|
|
43506
43348
|
token: AaveReserveOverviewToken$outboundSchema.default("USDC")
|
|
43507
43349
|
});
|
|
@@ -43512,14 +43354,9 @@ var init_aavereserveoverview = __esm(() => {
|
|
|
43512
43354
|
});
|
|
43513
43355
|
|
|
43514
43356
|
// src/models/operations/aavestdrate.ts
|
|
43515
|
-
var
|
|
43357
|
+
var AaveStdRateToken, AaveStdRateToken$inboundSchema, AaveStdRateToken$outboundSchema, AaveStdRateToken$, AaveStdRateRequest$inboundSchema, AaveStdRateRequest$outboundSchema, AaveStdRateRequest$;
|
|
43516
43358
|
var init_aavestdrate = __esm(() => {
|
|
43517
43359
|
init_zod();
|
|
43518
|
-
AaveStdRateChain = {
|
|
43519
|
-
BaseMainnet: "base:mainnet",
|
|
43520
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
43521
|
-
ArbitrumMainnet: "arbitrum:mainnet"
|
|
43522
|
-
};
|
|
43523
43360
|
AaveStdRateToken = {
|
|
43524
43361
|
OneINCH: "1INCH",
|
|
43525
43362
|
Aave: "AAVE",
|
|
@@ -43568,12 +43405,6 @@ var init_aavestdrate = __esm(() => {
|
|
|
43568
43405
|
EzETH: "ezETH",
|
|
43569
43406
|
Cyber: "CYBER"
|
|
43570
43407
|
};
|
|
43571
|
-
AaveStdRateChain$inboundSchema = nativeEnumType(AaveStdRateChain);
|
|
43572
|
-
AaveStdRateChain$outboundSchema = AaveStdRateChain$inboundSchema;
|
|
43573
|
-
((AaveStdRateChain$) => {
|
|
43574
|
-
AaveStdRateChain$.inboundSchema = AaveStdRateChain$inboundSchema;
|
|
43575
|
-
AaveStdRateChain$.outboundSchema = AaveStdRateChain$outboundSchema;
|
|
43576
|
-
})(AaveStdRateChain$ ||= {});
|
|
43577
43408
|
AaveStdRateToken$inboundSchema = nativeEnumType(AaveStdRateToken);
|
|
43578
43409
|
AaveStdRateToken$outboundSchema = AaveStdRateToken$inboundSchema;
|
|
43579
43410
|
((AaveStdRateToken$) => {
|
|
@@ -43581,13 +43412,13 @@ var init_aavestdrate = __esm(() => {
|
|
|
43581
43412
|
AaveStdRateToken$.outboundSchema = AaveStdRateToken$outboundSchema;
|
|
43582
43413
|
})(AaveStdRateToken$ ||= {});
|
|
43583
43414
|
AaveStdRateRequest$inboundSchema = objectType({
|
|
43584
|
-
chain:
|
|
43415
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
43585
43416
|
block: nullableType(numberType().int()).optional(),
|
|
43586
43417
|
token: AaveStdRateToken$inboundSchema.default("USDC"),
|
|
43587
43418
|
days: numberType().int().default(7)
|
|
43588
43419
|
});
|
|
43589
43420
|
AaveStdRateRequest$outboundSchema = objectType({
|
|
43590
|
-
chain:
|
|
43421
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
43591
43422
|
block: nullableType(numberType().int()).optional(),
|
|
43592
43423
|
token: AaveStdRateToken$outboundSchema.default("USDC"),
|
|
43593
43424
|
days: numberType().int().default(7)
|
|
@@ -43599,14 +43430,9 @@ var init_aavestdrate = __esm(() => {
|
|
|
43599
43430
|
});
|
|
43600
43431
|
|
|
43601
43432
|
// src/models/operations/aavetokenprice.ts
|
|
43602
|
-
var
|
|
43433
|
+
var AaveTokenPriceToken, AaveTokenPriceToken$inboundSchema, AaveTokenPriceToken$outboundSchema, AaveTokenPriceToken$, AaveTokenPriceRequest$inboundSchema, AaveTokenPriceRequest$outboundSchema, AaveTokenPriceRequest$;
|
|
43603
43434
|
var init_aavetokenprice = __esm(() => {
|
|
43604
43435
|
init_zod();
|
|
43605
|
-
AaveTokenPriceChain = {
|
|
43606
|
-
BaseMainnet: "base:mainnet",
|
|
43607
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
43608
|
-
ArbitrumMainnet: "arbitrum:mainnet"
|
|
43609
|
-
};
|
|
43610
43436
|
AaveTokenPriceToken = {
|
|
43611
43437
|
OneINCH: "1INCH",
|
|
43612
43438
|
Aave: "AAVE",
|
|
@@ -43655,12 +43481,6 @@ var init_aavetokenprice = __esm(() => {
|
|
|
43655
43481
|
EzETH: "ezETH",
|
|
43656
43482
|
Cyber: "CYBER"
|
|
43657
43483
|
};
|
|
43658
|
-
AaveTokenPriceChain$inboundSchema = nativeEnumType(AaveTokenPriceChain);
|
|
43659
|
-
AaveTokenPriceChain$outboundSchema = AaveTokenPriceChain$inboundSchema;
|
|
43660
|
-
((AaveTokenPriceChain$) => {
|
|
43661
|
-
AaveTokenPriceChain$.inboundSchema = AaveTokenPriceChain$inboundSchema;
|
|
43662
|
-
AaveTokenPriceChain$.outboundSchema = AaveTokenPriceChain$outboundSchema;
|
|
43663
|
-
})(AaveTokenPriceChain$ ||= {});
|
|
43664
43484
|
AaveTokenPriceToken$inboundSchema = nativeEnumType(AaveTokenPriceToken);
|
|
43665
43485
|
AaveTokenPriceToken$outboundSchema = AaveTokenPriceToken$inboundSchema;
|
|
43666
43486
|
((AaveTokenPriceToken$) => {
|
|
@@ -43668,12 +43488,12 @@ var init_aavetokenprice = __esm(() => {
|
|
|
43668
43488
|
AaveTokenPriceToken$.outboundSchema = AaveTokenPriceToken$outboundSchema;
|
|
43669
43489
|
})(AaveTokenPriceToken$ ||= {});
|
|
43670
43490
|
AaveTokenPriceRequest$inboundSchema = objectType({
|
|
43671
|
-
chain:
|
|
43491
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
43672
43492
|
block: nullableType(numberType().int()).optional(),
|
|
43673
43493
|
token: AaveTokenPriceToken$inboundSchema.default("USDC")
|
|
43674
43494
|
});
|
|
43675
43495
|
AaveTokenPriceRequest$outboundSchema = objectType({
|
|
43676
|
-
chain:
|
|
43496
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
43677
43497
|
block: nullableType(numberType().int()).optional(),
|
|
43678
43498
|
token: AaveTokenPriceToken$outboundSchema.default("USDC")
|
|
43679
43499
|
});
|
|
@@ -43684,14 +43504,9 @@ var init_aavetokenprice = __esm(() => {
|
|
|
43684
43504
|
});
|
|
43685
43505
|
|
|
43686
43506
|
// src/models/operations/aaveuserpositionpertoken.ts
|
|
43687
|
-
var
|
|
43507
|
+
var AaveUserPositionPerTokenToken, AaveUserPositionPerTokenToken$inboundSchema, AaveUserPositionPerTokenToken$outboundSchema, AaveUserPositionPerTokenToken$, AaveUserPositionPerTokenRequest$inboundSchema, AaveUserPositionPerTokenRequest$outboundSchema, AaveUserPositionPerTokenRequest$;
|
|
43688
43508
|
var init_aaveuserpositionpertoken = __esm(() => {
|
|
43689
43509
|
init_zod();
|
|
43690
|
-
AaveUserPositionPerTokenChain = {
|
|
43691
|
-
BaseMainnet: "base:mainnet",
|
|
43692
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
43693
|
-
ArbitrumMainnet: "arbitrum:mainnet"
|
|
43694
|
-
};
|
|
43695
43510
|
AaveUserPositionPerTokenToken = {
|
|
43696
43511
|
OneINCH: "1INCH",
|
|
43697
43512
|
Aave: "AAVE",
|
|
@@ -43740,12 +43555,6 @@ var init_aaveuserpositionpertoken = __esm(() => {
|
|
|
43740
43555
|
EzETH: "ezETH",
|
|
43741
43556
|
Cyber: "CYBER"
|
|
43742
43557
|
};
|
|
43743
|
-
AaveUserPositionPerTokenChain$inboundSchema = nativeEnumType(AaveUserPositionPerTokenChain);
|
|
43744
|
-
AaveUserPositionPerTokenChain$outboundSchema = AaveUserPositionPerTokenChain$inboundSchema;
|
|
43745
|
-
((AaveUserPositionPerTokenChain$) => {
|
|
43746
|
-
AaveUserPositionPerTokenChain$.inboundSchema = AaveUserPositionPerTokenChain$inboundSchema;
|
|
43747
|
-
AaveUserPositionPerTokenChain$.outboundSchema = AaveUserPositionPerTokenChain$outboundSchema;
|
|
43748
|
-
})(AaveUserPositionPerTokenChain$ ||= {});
|
|
43749
43558
|
AaveUserPositionPerTokenToken$inboundSchema = nativeEnumType(AaveUserPositionPerTokenToken);
|
|
43750
43559
|
AaveUserPositionPerTokenToken$outboundSchema = AaveUserPositionPerTokenToken$inboundSchema;
|
|
43751
43560
|
((AaveUserPositionPerTokenToken$) => {
|
|
@@ -43753,13 +43562,13 @@ var init_aaveuserpositionpertoken = __esm(() => {
|
|
|
43753
43562
|
AaveUserPositionPerTokenToken$.outboundSchema = AaveUserPositionPerTokenToken$outboundSchema;
|
|
43754
43563
|
})(AaveUserPositionPerTokenToken$ ||= {});
|
|
43755
43564
|
AaveUserPositionPerTokenRequest$inboundSchema = objectType({
|
|
43756
|
-
chain:
|
|
43565
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
43757
43566
|
block: nullableType(numberType().int()).optional(),
|
|
43758
43567
|
user: stringType().default("0x3254f3b1918637ba924e3F18968Cb74219974b63"),
|
|
43759
43568
|
token: AaveUserPositionPerTokenToken$inboundSchema.default("USDC")
|
|
43760
43569
|
});
|
|
43761
43570
|
AaveUserPositionPerTokenRequest$outboundSchema = objectType({
|
|
43762
|
-
chain:
|
|
43571
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
43763
43572
|
block: nullableType(numberType().int()).optional(),
|
|
43764
43573
|
user: stringType().default("0x3254f3b1918637ba924e3F18968Cb74219974b63"),
|
|
43765
43574
|
token: AaveUserPositionPerTokenToken$outboundSchema.default("USDC")
|
|
@@ -43771,27 +43580,16 @@ var init_aaveuserpositionpertoken = __esm(() => {
|
|
|
43771
43580
|
});
|
|
43772
43581
|
|
|
43773
43582
|
// src/models/operations/aaveuserpositionsummary.ts
|
|
43774
|
-
var
|
|
43583
|
+
var AaveUserPositionSummaryRequest$inboundSchema, AaveUserPositionSummaryRequest$outboundSchema, AaveUserPositionSummaryRequest$;
|
|
43775
43584
|
var init_aaveuserpositionsummary = __esm(() => {
|
|
43776
43585
|
init_zod();
|
|
43777
|
-
AaveUserPositionSummaryChain = {
|
|
43778
|
-
BaseMainnet: "base:mainnet",
|
|
43779
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
43780
|
-
ArbitrumMainnet: "arbitrum:mainnet"
|
|
43781
|
-
};
|
|
43782
|
-
AaveUserPositionSummaryChain$inboundSchema = nativeEnumType(AaveUserPositionSummaryChain);
|
|
43783
|
-
AaveUserPositionSummaryChain$outboundSchema = AaveUserPositionSummaryChain$inboundSchema;
|
|
43784
|
-
((AaveUserPositionSummaryChain$) => {
|
|
43785
|
-
AaveUserPositionSummaryChain$.inboundSchema = AaveUserPositionSummaryChain$inboundSchema;
|
|
43786
|
-
AaveUserPositionSummaryChain$.outboundSchema = AaveUserPositionSummaryChain$outboundSchema;
|
|
43787
|
-
})(AaveUserPositionSummaryChain$ ||= {});
|
|
43788
43586
|
AaveUserPositionSummaryRequest$inboundSchema = objectType({
|
|
43789
|
-
chain:
|
|
43587
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
43790
43588
|
block: nullableType(numberType().int()).optional(),
|
|
43791
43589
|
user: stringType().default("0x3254f3b1918637ba924e3F18968Cb74219974b63")
|
|
43792
43590
|
});
|
|
43793
43591
|
AaveUserPositionSummaryRequest$outboundSchema = objectType({
|
|
43794
|
-
chain:
|
|
43592
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
43795
43593
|
block: nullableType(numberType().int()).optional(),
|
|
43796
43594
|
user: stringType().default("0x3254f3b1918637ba924e3F18968Cb74219974b63")
|
|
43797
43595
|
});
|
|
@@ -43802,26 +43600,15 @@ var init_aaveuserpositionsummary = __esm(() => {
|
|
|
43802
43600
|
});
|
|
43803
43601
|
|
|
43804
43602
|
// src/models/operations/aerodromeslipstreamliquidityprovisionpositions.ts
|
|
43805
|
-
var
|
|
43603
|
+
var AerodromeSlipstreamLiquidityProvisionPositionsRequest$inboundSchema, AerodromeSlipstreamLiquidityProvisionPositionsRequest$outboundSchema, AerodromeSlipstreamLiquidityProvisionPositionsRequest$;
|
|
43806
43604
|
var init_aerodromeslipstreamliquidityprovisionpositions = __esm(() => {
|
|
43807
43605
|
init_zod();
|
|
43808
|
-
AerodromeSlipstreamLiquidityProvisionPositionsChain = {
|
|
43809
|
-
BaseMainnet: "base:mainnet",
|
|
43810
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
43811
|
-
ArbitrumMainnet: "arbitrum:mainnet"
|
|
43812
|
-
};
|
|
43813
|
-
AerodromeSlipstreamLiquidityProvisionPositionsChain$inboundSchema = nativeEnumType(AerodromeSlipstreamLiquidityProvisionPositionsChain);
|
|
43814
|
-
AerodromeSlipstreamLiquidityProvisionPositionsChain$outboundSchema = AerodromeSlipstreamLiquidityProvisionPositionsChain$inboundSchema;
|
|
43815
|
-
((AerodromeSlipstreamLiquidityProvisionPositionsChain$) => {
|
|
43816
|
-
AerodromeSlipstreamLiquidityProvisionPositionsChain$.inboundSchema = AerodromeSlipstreamLiquidityProvisionPositionsChain$inboundSchema;
|
|
43817
|
-
AerodromeSlipstreamLiquidityProvisionPositionsChain$.outboundSchema = AerodromeSlipstreamLiquidityProvisionPositionsChain$outboundSchema;
|
|
43818
|
-
})(AerodromeSlipstreamLiquidityProvisionPositionsChain$ ||= {});
|
|
43819
43606
|
AerodromeSlipstreamLiquidityProvisionPositionsRequest$inboundSchema = objectType({
|
|
43820
|
-
chain:
|
|
43607
|
+
chain: literalType("base:mainnet").default("base:mainnet"),
|
|
43821
43608
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B")
|
|
43822
43609
|
});
|
|
43823
43610
|
AerodromeSlipstreamLiquidityProvisionPositionsRequest$outboundSchema = objectType({
|
|
43824
|
-
chain:
|
|
43611
|
+
chain: literalType("base:mainnet").default("base:mainnet"),
|
|
43825
43612
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B")
|
|
43826
43613
|
});
|
|
43827
43614
|
((AerodromeSlipstreamLiquidityProvisionPositionsRequest$) => {
|
|
@@ -43831,15 +43618,10 @@ var init_aerodromeslipstreamliquidityprovisionpositions = __esm(() => {
|
|
|
43831
43618
|
});
|
|
43832
43619
|
|
|
43833
43620
|
// src/models/operations/aerodromeslipstreampoolprice.ts
|
|
43834
|
-
var
|
|
43621
|
+
var AerodromeSlipstreamPoolPriceTokenInToken, AerodromeSlipstreamPoolPriceTokenOutToken, AerodromeSlipstreamPoolPriceTokenInToken$inboundSchema, AerodromeSlipstreamPoolPriceTokenInToken$outboundSchema, AerodromeSlipstreamPoolPriceTokenInToken$, AerodromeSlipstreamPoolPriceTokenOutToken$inboundSchema, AerodromeSlipstreamPoolPriceTokenOutToken$outboundSchema, AerodromeSlipstreamPoolPriceTokenOutToken$, AerodromeSlipstreamPoolPriceRequest$inboundSchema, AerodromeSlipstreamPoolPriceRequest$outboundSchema, AerodromeSlipstreamPoolPriceRequest$;
|
|
43835
43622
|
var init_aerodromeslipstreampoolprice = __esm(() => {
|
|
43836
43623
|
init_zod();
|
|
43837
43624
|
init_primitives();
|
|
43838
|
-
AerodromeSlipstreamPoolPriceChain = {
|
|
43839
|
-
BaseMainnet: "base:mainnet",
|
|
43840
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
43841
|
-
ArbitrumMainnet: "arbitrum:mainnet"
|
|
43842
|
-
};
|
|
43843
43625
|
AerodromeSlipstreamPoolPriceTokenInToken = {
|
|
43844
43626
|
OneINCH: "1INCH",
|
|
43845
43627
|
Aave: "AAVE",
|
|
@@ -43936,12 +43718,6 @@ var init_aerodromeslipstreampoolprice = __esm(() => {
|
|
|
43936
43718
|
EzETH: "ezETH",
|
|
43937
43719
|
Cyber: "CYBER"
|
|
43938
43720
|
};
|
|
43939
|
-
AerodromeSlipstreamPoolPriceChain$inboundSchema = nativeEnumType(AerodromeSlipstreamPoolPriceChain);
|
|
43940
|
-
AerodromeSlipstreamPoolPriceChain$outboundSchema = AerodromeSlipstreamPoolPriceChain$inboundSchema;
|
|
43941
|
-
((AerodromeSlipstreamPoolPriceChain$) => {
|
|
43942
|
-
AerodromeSlipstreamPoolPriceChain$.inboundSchema = AerodromeSlipstreamPoolPriceChain$inboundSchema;
|
|
43943
|
-
AerodromeSlipstreamPoolPriceChain$.outboundSchema = AerodromeSlipstreamPoolPriceChain$outboundSchema;
|
|
43944
|
-
})(AerodromeSlipstreamPoolPriceChain$ ||= {});
|
|
43945
43721
|
AerodromeSlipstreamPoolPriceTokenInToken$inboundSchema = nativeEnumType(AerodromeSlipstreamPoolPriceTokenInToken);
|
|
43946
43722
|
AerodromeSlipstreamPoolPriceTokenInToken$outboundSchema = AerodromeSlipstreamPoolPriceTokenInToken$inboundSchema;
|
|
43947
43723
|
((AerodromeSlipstreamPoolPriceTokenInToken$) => {
|
|
@@ -43955,7 +43731,7 @@ var init_aerodromeslipstreampoolprice = __esm(() => {
|
|
|
43955
43731
|
AerodromeSlipstreamPoolPriceTokenOutToken$.outboundSchema = AerodromeSlipstreamPoolPriceTokenOutToken$outboundSchema;
|
|
43956
43732
|
})(AerodromeSlipstreamPoolPriceTokenOutToken$ ||= {});
|
|
43957
43733
|
AerodromeSlipstreamPoolPriceRequest$inboundSchema = objectType({
|
|
43958
|
-
chain:
|
|
43734
|
+
chain: literalType("base:mainnet").default("base:mainnet"),
|
|
43959
43735
|
token_in: AerodromeSlipstreamPoolPriceTokenInToken$inboundSchema.default("USDC"),
|
|
43960
43736
|
token_out: AerodromeSlipstreamPoolPriceTokenOutToken$inboundSchema.default("WETH"),
|
|
43961
43737
|
tick_spacing: numberType().int().default(100)
|
|
@@ -43967,7 +43743,7 @@ var init_aerodromeslipstreampoolprice = __esm(() => {
|
|
|
43967
43743
|
});
|
|
43968
43744
|
});
|
|
43969
43745
|
AerodromeSlipstreamPoolPriceRequest$outboundSchema = objectType({
|
|
43970
|
-
chain:
|
|
43746
|
+
chain: literalType("base:mainnet").default("base:mainnet"),
|
|
43971
43747
|
tokenIn: AerodromeSlipstreamPoolPriceTokenInToken$outboundSchema.default("USDC"),
|
|
43972
43748
|
tokenOut: AerodromeSlipstreamPoolPriceTokenOutToken$outboundSchema.default("WETH"),
|
|
43973
43749
|
tickSpacing: numberType().int().default(100)
|
|
@@ -43985,15 +43761,10 @@ var init_aerodromeslipstreampoolprice = __esm(() => {
|
|
|
43985
43761
|
});
|
|
43986
43762
|
|
|
43987
43763
|
// src/models/operations/genericallowance.ts
|
|
43988
|
-
var
|
|
43764
|
+
var ContractEnum, GenericAllowanceToken$inboundSchema, GenericAllowanceToken$outboundSchema, GenericAllowanceToken$, ContractEnum$inboundSchema, ContractEnum$outboundSchema, ContractEnum$, Contract$inboundSchema, Contract$outboundSchema, Contract$, GenericAllowanceRequest$inboundSchema, GenericAllowanceRequest$outboundSchema, GenericAllowanceRequest$;
|
|
43989
43765
|
var init_genericallowance = __esm(() => {
|
|
43990
43766
|
init_zod();
|
|
43991
43767
|
init_components();
|
|
43992
|
-
GenericAllowanceChain = {
|
|
43993
|
-
BaseMainnet: "base:mainnet",
|
|
43994
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
43995
|
-
ArbitrumMainnet: "arbitrum:mainnet"
|
|
43996
|
-
};
|
|
43997
43768
|
ContractEnum = {
|
|
43998
43769
|
AaveV3Pool: "AaveV3Pool",
|
|
43999
43770
|
AerodromeBasicRouter: "AerodromeBasicRouter",
|
|
@@ -44008,12 +43779,6 @@ var init_genericallowance = __esm(() => {
|
|
|
44008
43779
|
PendleRouter: "PendleRouter",
|
|
44009
43780
|
OdosRouter: "OdosRouter"
|
|
44010
43781
|
};
|
|
44011
|
-
GenericAllowanceChain$inboundSchema = nativeEnumType(GenericAllowanceChain);
|
|
44012
|
-
GenericAllowanceChain$outboundSchema = GenericAllowanceChain$inboundSchema;
|
|
44013
|
-
((GenericAllowanceChain$) => {
|
|
44014
|
-
GenericAllowanceChain$.inboundSchema = GenericAllowanceChain$inboundSchema;
|
|
44015
|
-
GenericAllowanceChain$.outboundSchema = GenericAllowanceChain$outboundSchema;
|
|
44016
|
-
})(GenericAllowanceChain$ ||= {});
|
|
44017
43782
|
GenericAllowanceToken$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
44018
43783
|
GenericAllowanceToken$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
|
|
44019
43784
|
((GenericAllowanceToken$) => {
|
|
@@ -44033,13 +43798,13 @@ var init_genericallowance = __esm(() => {
|
|
|
44033
43798
|
Contract$.outboundSchema = Contract$outboundSchema;
|
|
44034
43799
|
})(Contract$ ||= {});
|
|
44035
43800
|
GenericAllowanceRequest$inboundSchema = objectType({
|
|
44036
|
-
chain:
|
|
43801
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
44037
43802
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B"),
|
|
44038
43803
|
token: unionType([TokenEnum$inboundSchema, stringType()]),
|
|
44039
43804
|
contract: unionType([ContractEnum$inboundSchema, stringType()])
|
|
44040
43805
|
});
|
|
44041
43806
|
GenericAllowanceRequest$outboundSchema = objectType({
|
|
44042
|
-
chain:
|
|
43807
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
44043
43808
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B"),
|
|
44044
43809
|
token: unionType([TokenEnum$outboundSchema, stringType()]),
|
|
44045
43810
|
contract: unionType([ContractEnum$outboundSchema, stringType()])
|
|
@@ -44051,23 +43816,12 @@ var init_genericallowance = __esm(() => {
|
|
|
44051
43816
|
});
|
|
44052
43817
|
|
|
44053
43818
|
// src/models/operations/genericens.ts
|
|
44054
|
-
var
|
|
43819
|
+
var GenericEnsRequest$inboundSchema, GenericEnsRequest$outboundSchema, GenericEnsRequest$;
|
|
44055
43820
|
var init_genericens = __esm(() => {
|
|
44056
43821
|
init_zod();
|
|
44057
43822
|
init_primitives();
|
|
44058
|
-
GenericEnsChain = {
|
|
44059
|
-
BaseMainnet: "base:mainnet",
|
|
44060
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
44061
|
-
ArbitrumMainnet: "arbitrum:mainnet"
|
|
44062
|
-
};
|
|
44063
|
-
GenericEnsChain$inboundSchema = nativeEnumType(GenericEnsChain);
|
|
44064
|
-
GenericEnsChain$outboundSchema = GenericEnsChain$inboundSchema;
|
|
44065
|
-
((GenericEnsChain$) => {
|
|
44066
|
-
GenericEnsChain$.inboundSchema = GenericEnsChain$inboundSchema;
|
|
44067
|
-
GenericEnsChain$.outboundSchema = GenericEnsChain$outboundSchema;
|
|
44068
|
-
})(GenericEnsChain$ ||= {});
|
|
44069
43823
|
GenericEnsRequest$inboundSchema = objectType({
|
|
44070
|
-
chain:
|
|
43824
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
44071
43825
|
ens_name: stringType().default("vitalik.eth")
|
|
44072
43826
|
}).transform((v2) => {
|
|
44073
43827
|
return remap(v2, {
|
|
@@ -44075,7 +43829,7 @@ var init_genericens = __esm(() => {
|
|
|
44075
43829
|
});
|
|
44076
43830
|
});
|
|
44077
43831
|
GenericEnsRequest$outboundSchema = objectType({
|
|
44078
|
-
chain:
|
|
43832
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
44079
43833
|
ensName: stringType().default("vitalik.eth")
|
|
44080
43834
|
}).transform((v2) => {
|
|
44081
43835
|
return remap(v2, {
|
|
@@ -44089,26 +43843,15 @@ var init_genericens = __esm(() => {
|
|
|
44089
43843
|
});
|
|
44090
43844
|
|
|
44091
43845
|
// src/models/operations/genericportfolio.ts
|
|
44092
|
-
var
|
|
43846
|
+
var GenericPortfolioRequest$inboundSchema, GenericPortfolioRequest$outboundSchema, GenericPortfolioRequest$;
|
|
44093
43847
|
var init_genericportfolio = __esm(() => {
|
|
44094
43848
|
init_zod();
|
|
44095
|
-
GenericPortfolioChain = {
|
|
44096
|
-
BaseMainnet: "base:mainnet",
|
|
44097
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
44098
|
-
ArbitrumMainnet: "arbitrum:mainnet"
|
|
44099
|
-
};
|
|
44100
|
-
GenericPortfolioChain$inboundSchema = nativeEnumType(GenericPortfolioChain);
|
|
44101
|
-
GenericPortfolioChain$outboundSchema = GenericPortfolioChain$inboundSchema;
|
|
44102
|
-
((GenericPortfolioChain$) => {
|
|
44103
|
-
GenericPortfolioChain$.inboundSchema = GenericPortfolioChain$inboundSchema;
|
|
44104
|
-
GenericPortfolioChain$.outboundSchema = GenericPortfolioChain$outboundSchema;
|
|
44105
|
-
})(GenericPortfolioChain$ ||= {});
|
|
44106
43849
|
GenericPortfolioRequest$inboundSchema = objectType({
|
|
44107
|
-
chain:
|
|
43850
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
44108
43851
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B")
|
|
44109
43852
|
});
|
|
44110
43853
|
GenericPortfolioRequest$outboundSchema = objectType({
|
|
44111
|
-
chain:
|
|
43854
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
44112
43855
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B")
|
|
44113
43856
|
});
|
|
44114
43857
|
((GenericPortfolioRequest$) => {
|
|
@@ -44135,25 +43878,14 @@ var init_genericsupportedchains = __esm(() => {
|
|
|
44135
43878
|
});
|
|
44136
43879
|
|
|
44137
43880
|
// src/models/operations/genericsupportedtokens.ts
|
|
44138
|
-
var
|
|
43881
|
+
var GenericSupportedTokensRequest$inboundSchema, GenericSupportedTokensRequest$outboundSchema, GenericSupportedTokensRequest$;
|
|
44139
43882
|
var init_genericsupportedtokens = __esm(() => {
|
|
44140
43883
|
init_zod();
|
|
44141
|
-
GenericSupportedTokensChain = {
|
|
44142
|
-
BaseMainnet: "base:mainnet",
|
|
44143
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
44144
|
-
ArbitrumMainnet: "arbitrum:mainnet"
|
|
44145
|
-
};
|
|
44146
|
-
GenericSupportedTokensChain$inboundSchema = nativeEnumType(GenericSupportedTokensChain);
|
|
44147
|
-
GenericSupportedTokensChain$outboundSchema = GenericSupportedTokensChain$inboundSchema;
|
|
44148
|
-
((GenericSupportedTokensChain$) => {
|
|
44149
|
-
GenericSupportedTokensChain$.inboundSchema = GenericSupportedTokensChain$inboundSchema;
|
|
44150
|
-
GenericSupportedTokensChain$.outboundSchema = GenericSupportedTokensChain$outboundSchema;
|
|
44151
|
-
})(GenericSupportedTokensChain$ ||= {});
|
|
44152
43884
|
GenericSupportedTokensRequest$inboundSchema = objectType({
|
|
44153
|
-
chain:
|
|
43885
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional()
|
|
44154
43886
|
});
|
|
44155
43887
|
GenericSupportedTokensRequest$outboundSchema = objectType({
|
|
44156
|
-
chain:
|
|
43888
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet")
|
|
44157
43889
|
});
|
|
44158
43890
|
((GenericSupportedTokensRequest$) => {
|
|
44159
43891
|
GenericSupportedTokensRequest$.inboundSchema = GenericSupportedTokensRequest$inboundSchema;
|
|
@@ -44162,26 +43894,15 @@ var init_genericsupportedtokens = __esm(() => {
|
|
|
44162
43894
|
});
|
|
44163
43895
|
|
|
44164
43896
|
// src/models/operations/genericvisualizeportfolio.ts
|
|
44165
|
-
var
|
|
43897
|
+
var GenericVisualizePortfolioRequest$inboundSchema, GenericVisualizePortfolioRequest$outboundSchema, GenericVisualizePortfolioRequest$;
|
|
44166
43898
|
var init_genericvisualizeportfolio = __esm(() => {
|
|
44167
43899
|
init_zod();
|
|
44168
|
-
GenericVisualizePortfolioChain = {
|
|
44169
|
-
BaseMainnet: "base:mainnet",
|
|
44170
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
44171
|
-
ArbitrumMainnet: "arbitrum:mainnet"
|
|
44172
|
-
};
|
|
44173
|
-
GenericVisualizePortfolioChain$inboundSchema = nativeEnumType(GenericVisualizePortfolioChain);
|
|
44174
|
-
GenericVisualizePortfolioChain$outboundSchema = GenericVisualizePortfolioChain$inboundSchema;
|
|
44175
|
-
((GenericVisualizePortfolioChain$) => {
|
|
44176
|
-
GenericVisualizePortfolioChain$.inboundSchema = GenericVisualizePortfolioChain$inboundSchema;
|
|
44177
|
-
GenericVisualizePortfolioChain$.outboundSchema = GenericVisualizePortfolioChain$outboundSchema;
|
|
44178
|
-
})(GenericVisualizePortfolioChain$ ||= {});
|
|
44179
43900
|
GenericVisualizePortfolioRequest$inboundSchema = objectType({
|
|
44180
|
-
chain:
|
|
43901
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
44181
43902
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B")
|
|
44182
43903
|
});
|
|
44183
43904
|
GenericVisualizePortfolioRequest$outboundSchema = objectType({
|
|
44184
|
-
chain:
|
|
43905
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
44185
43906
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B")
|
|
44186
43907
|
});
|
|
44187
43908
|
((GenericVisualizePortfolioRequest$) => {
|
|
@@ -44191,22 +43912,12 @@ var init_genericvisualizeportfolio = __esm(() => {
|
|
|
44191
43912
|
});
|
|
44192
43913
|
|
|
44193
43914
|
// src/models/operations/morphomarket.ts
|
|
44194
|
-
var
|
|
43915
|
+
var MorphoMarketRequest$inboundSchema, MorphoMarketRequest$outboundSchema, MorphoMarketRequest$;
|
|
44195
43916
|
var init_morphomarket2 = __esm(() => {
|
|
44196
43917
|
init_zod();
|
|
44197
43918
|
init_primitives();
|
|
44198
|
-
MorphoMarketChain = {
|
|
44199
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
44200
|
-
BaseMainnet: "base:mainnet"
|
|
44201
|
-
};
|
|
44202
|
-
MorphoMarketChain$inboundSchema = nativeEnumType(MorphoMarketChain);
|
|
44203
|
-
MorphoMarketChain$outboundSchema = MorphoMarketChain$inboundSchema;
|
|
44204
|
-
((MorphoMarketChain$) => {
|
|
44205
|
-
MorphoMarketChain$.inboundSchema = MorphoMarketChain$inboundSchema;
|
|
44206
|
-
MorphoMarketChain$.outboundSchema = MorphoMarketChain$outboundSchema;
|
|
44207
|
-
})(MorphoMarketChain$ ||= {});
|
|
44208
43919
|
MorphoMarketRequest$inboundSchema = objectType({
|
|
44209
|
-
chain:
|
|
43920
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
44210
43921
|
unique_market_key: stringType().default("0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5")
|
|
44211
43922
|
}).transform((v2) => {
|
|
44212
43923
|
return remap(v2, {
|
|
@@ -44214,7 +43925,7 @@ var init_morphomarket2 = __esm(() => {
|
|
|
44214
43925
|
});
|
|
44215
43926
|
});
|
|
44216
43927
|
MorphoMarketRequest$outboundSchema = objectType({
|
|
44217
|
-
chain:
|
|
43928
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
44218
43929
|
uniqueMarketKey: stringType().default("0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5")
|
|
44219
43930
|
}).transform((v2) => {
|
|
44220
43931
|
return remap(v2, {
|
|
@@ -44228,22 +43939,12 @@ var init_morphomarket2 = __esm(() => {
|
|
|
44228
43939
|
});
|
|
44229
43940
|
|
|
44230
43941
|
// src/models/operations/morphomarketposition.ts
|
|
44231
|
-
var
|
|
43942
|
+
var MorphoMarketPositionRequest$inboundSchema, MorphoMarketPositionRequest$outboundSchema, MorphoMarketPositionRequest$;
|
|
44232
43943
|
var init_morphomarketposition = __esm(() => {
|
|
44233
43944
|
init_zod();
|
|
44234
43945
|
init_primitives();
|
|
44235
|
-
MorphoMarketPositionChain = {
|
|
44236
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
44237
|
-
BaseMainnet: "base:mainnet"
|
|
44238
|
-
};
|
|
44239
|
-
MorphoMarketPositionChain$inboundSchema = nativeEnumType(MorphoMarketPositionChain);
|
|
44240
|
-
MorphoMarketPositionChain$outboundSchema = MorphoMarketPositionChain$inboundSchema;
|
|
44241
|
-
((MorphoMarketPositionChain$) => {
|
|
44242
|
-
MorphoMarketPositionChain$.inboundSchema = MorphoMarketPositionChain$inboundSchema;
|
|
44243
|
-
MorphoMarketPositionChain$.outboundSchema = MorphoMarketPositionChain$outboundSchema;
|
|
44244
|
-
})(MorphoMarketPositionChain$ ||= {});
|
|
44245
43946
|
MorphoMarketPositionRequest$inboundSchema = objectType({
|
|
44246
|
-
chain:
|
|
43947
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
44247
43948
|
user_address: stringType().default("0x81d310Eb515E05EB26322e2DeDE9e75b754885A4"),
|
|
44248
43949
|
unique_market_key: stringType().default("0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5")
|
|
44249
43950
|
}).transform((v2) => {
|
|
@@ -44253,7 +43954,7 @@ var init_morphomarketposition = __esm(() => {
|
|
|
44253
43954
|
});
|
|
44254
43955
|
});
|
|
44255
43956
|
MorphoMarketPositionRequest$outboundSchema = objectType({
|
|
44256
|
-
chain:
|
|
43957
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
44257
43958
|
userAddress: stringType().default("0x81d310Eb515E05EB26322e2DeDE9e75b754885A4"),
|
|
44258
43959
|
uniqueMarketKey: stringType().default("0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5")
|
|
44259
43960
|
}).transform((v2) => {
|
|
@@ -44269,21 +43970,11 @@ var init_morphomarketposition = __esm(() => {
|
|
|
44269
43970
|
});
|
|
44270
43971
|
|
|
44271
43972
|
// src/models/operations/morphomarkets.ts
|
|
44272
|
-
var
|
|
43973
|
+
var CollateralToken$inboundSchema, CollateralToken$outboundSchema, CollateralToken$, LoanToken$inboundSchema, LoanToken$outboundSchema, LoanToken$, MorphoMarketsRequest$inboundSchema, MorphoMarketsRequest$outboundSchema, MorphoMarketsRequest$;
|
|
44273
43974
|
var init_morphomarkets = __esm(() => {
|
|
44274
43975
|
init_zod();
|
|
44275
43976
|
init_primitives();
|
|
44276
43977
|
init_components();
|
|
44277
|
-
MorphoMarketsChain = {
|
|
44278
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
44279
|
-
BaseMainnet: "base:mainnet"
|
|
44280
|
-
};
|
|
44281
|
-
MorphoMarketsChain$inboundSchema = nativeEnumType(MorphoMarketsChain);
|
|
44282
|
-
MorphoMarketsChain$outboundSchema = MorphoMarketsChain$inboundSchema;
|
|
44283
|
-
((MorphoMarketsChain$) => {
|
|
44284
|
-
MorphoMarketsChain$.inboundSchema = MorphoMarketsChain$inboundSchema;
|
|
44285
|
-
MorphoMarketsChain$.outboundSchema = MorphoMarketsChain$outboundSchema;
|
|
44286
|
-
})(MorphoMarketsChain$ ||= {});
|
|
44287
43978
|
CollateralToken$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
44288
43979
|
CollateralToken$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
|
|
44289
43980
|
((CollateralToken$) => {
|
|
@@ -44297,7 +43988,7 @@ var init_morphomarkets = __esm(() => {
|
|
|
44297
43988
|
LoanToken$.outboundSchema = LoanToken$outboundSchema;
|
|
44298
43989
|
})(LoanToken$ ||= {});
|
|
44299
43990
|
MorphoMarketsRequest$inboundSchema = objectType({
|
|
44300
|
-
chain:
|
|
43991
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
44301
43992
|
collateral_token: nullableType(unionType([TokenEnum$inboundSchema, stringType()])).optional(),
|
|
44302
43993
|
loan_token: nullableType(unionType([TokenEnum$inboundSchema, stringType()])).optional()
|
|
44303
43994
|
}).transform((v2) => {
|
|
@@ -44307,7 +43998,7 @@ var init_morphomarkets = __esm(() => {
|
|
|
44307
43998
|
});
|
|
44308
43999
|
});
|
|
44309
44000
|
MorphoMarketsRequest$outboundSchema = objectType({
|
|
44310
|
-
chain:
|
|
44001
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
44311
44002
|
collateralToken: nullableType(unionType([TokenEnum$outboundSchema, stringType()])).optional(),
|
|
44312
44003
|
loanToken: nullableType(unionType([TokenEnum$outboundSchema, stringType()])).optional()
|
|
44313
44004
|
}).transform((v2) => {
|
|
@@ -44323,22 +44014,12 @@ var init_morphomarkets = __esm(() => {
|
|
|
44323
44014
|
});
|
|
44324
44015
|
|
|
44325
44016
|
// src/models/operations/morphouserposition.ts
|
|
44326
|
-
var
|
|
44017
|
+
var MorphoUserPositionRequest$inboundSchema, MorphoUserPositionRequest$outboundSchema, MorphoUserPositionRequest$;
|
|
44327
44018
|
var init_morphouserposition = __esm(() => {
|
|
44328
44019
|
init_zod();
|
|
44329
44020
|
init_primitives();
|
|
44330
|
-
MorphoUserPositionChain = {
|
|
44331
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
44332
|
-
BaseMainnet: "base:mainnet"
|
|
44333
|
-
};
|
|
44334
|
-
MorphoUserPositionChain$inboundSchema = nativeEnumType(MorphoUserPositionChain);
|
|
44335
|
-
MorphoUserPositionChain$outboundSchema = MorphoUserPositionChain$inboundSchema;
|
|
44336
|
-
((MorphoUserPositionChain$) => {
|
|
44337
|
-
MorphoUserPositionChain$.inboundSchema = MorphoUserPositionChain$inboundSchema;
|
|
44338
|
-
MorphoUserPositionChain$.outboundSchema = MorphoUserPositionChain$outboundSchema;
|
|
44339
|
-
})(MorphoUserPositionChain$ ||= {});
|
|
44340
44021
|
MorphoUserPositionRequest$inboundSchema = objectType({
|
|
44341
|
-
chain:
|
|
44022
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
44342
44023
|
user_address: stringType().default("0x81d310Eb515E05EB26322e2DeDE9e75b754885A4")
|
|
44343
44024
|
}).transform((v2) => {
|
|
44344
44025
|
return remap(v2, {
|
|
@@ -44346,7 +44027,7 @@ var init_morphouserposition = __esm(() => {
|
|
|
44346
44027
|
});
|
|
44347
44028
|
});
|
|
44348
44029
|
MorphoUserPositionRequest$outboundSchema = objectType({
|
|
44349
|
-
chain:
|
|
44030
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
44350
44031
|
userAddress: stringType().default("0x81d310Eb515E05EB26322e2DeDE9e75b754885A4")
|
|
44351
44032
|
}).transform((v2) => {
|
|
44352
44033
|
return remap(v2, {
|
|
@@ -44360,23 +44041,12 @@ var init_morphouserposition = __esm(() => {
|
|
|
44360
44041
|
});
|
|
44361
44042
|
|
|
44362
44043
|
// src/models/operations/morphovault.ts
|
|
44363
|
-
var
|
|
44044
|
+
var MorphoVaultRequest$inboundSchema, MorphoVaultRequest$outboundSchema, MorphoVaultRequest$;
|
|
44364
44045
|
var init_morphovault2 = __esm(() => {
|
|
44365
44046
|
init_zod();
|
|
44366
44047
|
init_primitives();
|
|
44367
|
-
MorphoVaultChain = {
|
|
44368
|
-
BaseMainnet: "base:mainnet",
|
|
44369
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
44370
|
-
ArbitrumMainnet: "arbitrum:mainnet"
|
|
44371
|
-
};
|
|
44372
|
-
MorphoVaultChain$inboundSchema = nativeEnumType(MorphoVaultChain);
|
|
44373
|
-
MorphoVaultChain$outboundSchema = MorphoVaultChain$inboundSchema;
|
|
44374
|
-
((MorphoVaultChain$) => {
|
|
44375
|
-
MorphoVaultChain$.inboundSchema = MorphoVaultChain$inboundSchema;
|
|
44376
|
-
MorphoVaultChain$.outboundSchema = MorphoVaultChain$outboundSchema;
|
|
44377
|
-
})(MorphoVaultChain$ ||= {});
|
|
44378
44048
|
MorphoVaultRequest$inboundSchema = objectType({
|
|
44379
|
-
chain:
|
|
44049
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
44380
44050
|
block: nullableType(numberType().int()).optional(),
|
|
44381
44051
|
vault_address: stringType().default("0x182863131F9a4630fF9E27830d945B1413e347E8"),
|
|
44382
44052
|
user_address: nullableType(stringType()).optional()
|
|
@@ -44387,7 +44057,7 @@ var init_morphovault2 = __esm(() => {
|
|
|
44387
44057
|
});
|
|
44388
44058
|
});
|
|
44389
44059
|
MorphoVaultRequest$outboundSchema = objectType({
|
|
44390
|
-
chain:
|
|
44060
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
44391
44061
|
block: nullableType(numberType().int()).optional(),
|
|
44392
44062
|
vaultAddress: stringType().default("0x182863131F9a4630fF9E27830d945B1413e347E8"),
|
|
44393
44063
|
userAddress: nullableType(stringType()).optional()
|
|
@@ -44404,21 +44074,11 @@ var init_morphovault2 = __esm(() => {
|
|
|
44404
44074
|
});
|
|
44405
44075
|
|
|
44406
44076
|
// src/models/operations/morphovaults.ts
|
|
44407
|
-
var
|
|
44077
|
+
var DepositToken$inboundSchema, DepositToken$outboundSchema, DepositToken$, MorphoVaultsRequest$inboundSchema, MorphoVaultsRequest$outboundSchema, MorphoVaultsRequest$;
|
|
44408
44078
|
var init_morphovaults = __esm(() => {
|
|
44409
44079
|
init_zod();
|
|
44410
44080
|
init_primitives();
|
|
44411
44081
|
init_components();
|
|
44412
|
-
MorphoVaultsChain = {
|
|
44413
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
44414
|
-
BaseMainnet: "base:mainnet"
|
|
44415
|
-
};
|
|
44416
|
-
MorphoVaultsChain$inboundSchema = nativeEnumType(MorphoVaultsChain);
|
|
44417
|
-
MorphoVaultsChain$outboundSchema = MorphoVaultsChain$inboundSchema;
|
|
44418
|
-
((MorphoVaultsChain$) => {
|
|
44419
|
-
MorphoVaultsChain$.inboundSchema = MorphoVaultsChain$inboundSchema;
|
|
44420
|
-
MorphoVaultsChain$.outboundSchema = MorphoVaultsChain$outboundSchema;
|
|
44421
|
-
})(MorphoVaultsChain$ ||= {});
|
|
44422
44082
|
DepositToken$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
44423
44083
|
DepositToken$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
|
|
44424
44084
|
((DepositToken$) => {
|
|
@@ -44426,7 +44086,7 @@ var init_morphovaults = __esm(() => {
|
|
|
44426
44086
|
DepositToken$.outboundSchema = DepositToken$outboundSchema;
|
|
44427
44087
|
})(DepositToken$ ||= {});
|
|
44428
44088
|
MorphoVaultsRequest$inboundSchema = objectType({
|
|
44429
|
-
chain:
|
|
44089
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
44430
44090
|
deposit_token: nullableType(unionType([TokenEnum$inboundSchema, stringType()])).optional()
|
|
44431
44091
|
}).transform((v2) => {
|
|
44432
44092
|
return remap(v2, {
|
|
@@ -44434,7 +44094,7 @@ var init_morphovaults = __esm(() => {
|
|
|
44434
44094
|
});
|
|
44435
44095
|
});
|
|
44436
44096
|
MorphoVaultsRequest$outboundSchema = objectType({
|
|
44437
|
-
chain:
|
|
44097
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
44438
44098
|
depositToken: nullableType(unionType([TokenEnum$outboundSchema, stringType()])).optional()
|
|
44439
44099
|
}).transform((v2) => {
|
|
44440
44100
|
return remap(v2, {
|
|
@@ -44448,23 +44108,12 @@ var init_morphovaults = __esm(() => {
|
|
|
44448
44108
|
});
|
|
44449
44109
|
|
|
44450
44110
|
// src/models/operations/pendlemarket.ts
|
|
44451
|
-
var
|
|
44111
|
+
var PendleMarketRequest$inboundSchema, PendleMarketRequest$outboundSchema, PendleMarketRequest$;
|
|
44452
44112
|
var init_pendlemarket2 = __esm(() => {
|
|
44453
44113
|
init_zod();
|
|
44454
44114
|
init_primitives();
|
|
44455
|
-
PendleMarketChain = {
|
|
44456
|
-
BaseMainnet: "base:mainnet",
|
|
44457
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
44458
|
-
ArbitrumMainnet: "arbitrum:mainnet"
|
|
44459
|
-
};
|
|
44460
|
-
PendleMarketChain$inboundSchema = nativeEnumType(PendleMarketChain);
|
|
44461
|
-
PendleMarketChain$outboundSchema = PendleMarketChain$inboundSchema;
|
|
44462
|
-
((PendleMarketChain$) => {
|
|
44463
|
-
PendleMarketChain$.inboundSchema = PendleMarketChain$inboundSchema;
|
|
44464
|
-
PendleMarketChain$.outboundSchema = PendleMarketChain$outboundSchema;
|
|
44465
|
-
})(PendleMarketChain$ ||= {});
|
|
44466
44115
|
PendleMarketRequest$inboundSchema = objectType({
|
|
44467
|
-
chain:
|
|
44116
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
44468
44117
|
block: nullableType(numberType().int()).optional(),
|
|
44469
44118
|
market_address: stringType().default("0x46d62a8dede1bf2d0de04f2ed863245cbba5e538"),
|
|
44470
44119
|
user_address: nullableType(stringType()).optional()
|
|
@@ -44475,7 +44124,7 @@ var init_pendlemarket2 = __esm(() => {
|
|
|
44475
44124
|
});
|
|
44476
44125
|
});
|
|
44477
44126
|
PendleMarketRequest$outboundSchema = objectType({
|
|
44478
|
-
chain:
|
|
44127
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
44479
44128
|
block: nullableType(numberType().int()).optional(),
|
|
44480
44129
|
marketAddress: stringType().default("0x46d62a8dede1bf2d0de04f2ed863245cbba5e538"),
|
|
44481
44130
|
userAddress: nullableType(stringType()).optional()
|
|
@@ -44492,25 +44141,14 @@ var init_pendlemarket2 = __esm(() => {
|
|
|
44492
44141
|
});
|
|
44493
44142
|
|
|
44494
44143
|
// src/models/operations/pendlemarkets.ts
|
|
44495
|
-
var
|
|
44144
|
+
var PendleMarketsRequest$inboundSchema, PendleMarketsRequest$outboundSchema, PendleMarketsRequest$;
|
|
44496
44145
|
var init_pendlemarkets = __esm(() => {
|
|
44497
44146
|
init_zod();
|
|
44498
|
-
PendleMarketsChain = {
|
|
44499
|
-
BaseMainnet: "base:mainnet",
|
|
44500
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
44501
|
-
ArbitrumMainnet: "arbitrum:mainnet"
|
|
44502
|
-
};
|
|
44503
|
-
PendleMarketsChain$inboundSchema = nativeEnumType(PendleMarketsChain);
|
|
44504
|
-
PendleMarketsChain$outboundSchema = PendleMarketsChain$inboundSchema;
|
|
44505
|
-
((PendleMarketsChain$) => {
|
|
44506
|
-
PendleMarketsChain$.inboundSchema = PendleMarketsChain$inboundSchema;
|
|
44507
|
-
PendleMarketsChain$.outboundSchema = PendleMarketsChain$outboundSchema;
|
|
44508
|
-
})(PendleMarketsChain$ ||= {});
|
|
44509
44147
|
PendleMarketsRequest$inboundSchema = objectType({
|
|
44510
|
-
chain:
|
|
44148
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional()
|
|
44511
44149
|
});
|
|
44512
44150
|
PendleMarketsRequest$outboundSchema = objectType({
|
|
44513
|
-
chain:
|
|
44151
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet")
|
|
44514
44152
|
});
|
|
44515
44153
|
((PendleMarketsRequest$) => {
|
|
44516
44154
|
PendleMarketsRequest$.inboundSchema = PendleMarketsRequest$inboundSchema;
|
|
@@ -44519,23 +44157,12 @@ var init_pendlemarkets = __esm(() => {
|
|
|
44519
44157
|
});
|
|
44520
44158
|
|
|
44521
44159
|
// src/models/operations/pendlepositions.ts
|
|
44522
|
-
var
|
|
44160
|
+
var PendlePositionsRequest$inboundSchema, PendlePositionsRequest$outboundSchema, PendlePositionsRequest$;
|
|
44523
44161
|
var init_pendlepositions = __esm(() => {
|
|
44524
44162
|
init_zod();
|
|
44525
44163
|
init_primitives();
|
|
44526
|
-
PendlePositionsChain = {
|
|
44527
|
-
BaseMainnet: "base:mainnet",
|
|
44528
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
44529
|
-
ArbitrumMainnet: "arbitrum:mainnet"
|
|
44530
|
-
};
|
|
44531
|
-
PendlePositionsChain$inboundSchema = nativeEnumType(PendlePositionsChain);
|
|
44532
|
-
PendlePositionsChain$outboundSchema = PendlePositionsChain$inboundSchema;
|
|
44533
|
-
((PendlePositionsChain$) => {
|
|
44534
|
-
PendlePositionsChain$.inboundSchema = PendlePositionsChain$inboundSchema;
|
|
44535
|
-
PendlePositionsChain$.outboundSchema = PendlePositionsChain$outboundSchema;
|
|
44536
|
-
})(PendlePositionsChain$ ||= {});
|
|
44537
44164
|
PendlePositionsRequest$inboundSchema = objectType({
|
|
44538
|
-
chain:
|
|
44165
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
44539
44166
|
user_address: stringType().default("0xB7954A07213413b2ec6Faa1360f56a498eACe10b")
|
|
44540
44167
|
}).transform((v2) => {
|
|
44541
44168
|
return remap(v2, {
|
|
@@ -44543,7 +44170,7 @@ var init_pendlepositions = __esm(() => {
|
|
|
44543
44170
|
});
|
|
44544
44171
|
});
|
|
44545
44172
|
PendlePositionsRequest$outboundSchema = objectType({
|
|
44546
|
-
chain:
|
|
44173
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
44547
44174
|
userAddress: stringType().default("0xB7954A07213413b2ec6Faa1360f56a498eACe10b")
|
|
44548
44175
|
}).transform((v2) => {
|
|
44549
44176
|
return remap(v2, {
|
|
@@ -44557,15 +44184,10 @@ var init_pendlepositions = __esm(() => {
|
|
|
44557
44184
|
});
|
|
44558
44185
|
|
|
44559
44186
|
// src/models/operations/pendlequote.ts
|
|
44560
|
-
var
|
|
44187
|
+
var TokenType, TradeType, Amount$inboundSchema, Amount$outboundSchema, Amount$, TokenType$inboundSchema, TokenType$outboundSchema, TokenType$, TradeType$inboundSchema, TradeType$outboundSchema, TradeType$, PendleQuoteRequest$inboundSchema, PendleQuoteRequest$outboundSchema, PendleQuoteRequest$;
|
|
44561
44188
|
var init_pendlequote = __esm(() => {
|
|
44562
44189
|
init_zod();
|
|
44563
44190
|
init_primitives();
|
|
44564
|
-
PendleQuoteChain = {
|
|
44565
|
-
BaseMainnet: "base:mainnet",
|
|
44566
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
44567
|
-
ArbitrumMainnet: "arbitrum:mainnet"
|
|
44568
|
-
};
|
|
44569
44191
|
TokenType = {
|
|
44570
44192
|
Pt: "PT",
|
|
44571
44193
|
Yt: "YT",
|
|
@@ -44575,12 +44197,6 @@ var init_pendlequote = __esm(() => {
|
|
|
44575
44197
|
Buy: "BUY",
|
|
44576
44198
|
Sell: "SELL"
|
|
44577
44199
|
};
|
|
44578
|
-
PendleQuoteChain$inboundSchema = nativeEnumType(PendleQuoteChain);
|
|
44579
|
-
PendleQuoteChain$outboundSchema = PendleQuoteChain$inboundSchema;
|
|
44580
|
-
((PendleQuoteChain$) => {
|
|
44581
|
-
PendleQuoteChain$.inboundSchema = PendleQuoteChain$inboundSchema;
|
|
44582
|
-
PendleQuoteChain$.outboundSchema = PendleQuoteChain$outboundSchema;
|
|
44583
|
-
})(PendleQuoteChain$ ||= {});
|
|
44584
44200
|
Amount$inboundSchema = unionType([numberType(), stringType()]);
|
|
44585
44201
|
Amount$outboundSchema = unionType([numberType(), stringType()]);
|
|
44586
44202
|
((Amount$) => {
|
|
@@ -44600,7 +44216,7 @@ var init_pendlequote = __esm(() => {
|
|
|
44600
44216
|
TradeType$.outboundSchema = TradeType$outboundSchema;
|
|
44601
44217
|
})(TradeType$ ||= {});
|
|
44602
44218
|
PendleQuoteRequest$inboundSchema = objectType({
|
|
44603
|
-
chain:
|
|
44219
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
44604
44220
|
block: nullableType(numberType().int()).optional(),
|
|
44605
44221
|
market_address: stringType().default("0x46d62a8dede1bf2d0de04f2ed863245cbba5e538"),
|
|
44606
44222
|
amount: unionType([numberType(), stringType()]),
|
|
@@ -44614,7 +44230,7 @@ var init_pendlequote = __esm(() => {
|
|
|
44614
44230
|
});
|
|
44615
44231
|
});
|
|
44616
44232
|
PendleQuoteRequest$outboundSchema = objectType({
|
|
44617
|
-
chain:
|
|
44233
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
44618
44234
|
block: nullableType(numberType().int()).optional(),
|
|
44619
44235
|
marketAddress: stringType().default("0x46d62a8dede1bf2d0de04f2ed863245cbba5e538"),
|
|
44620
44236
|
amount: unionType([numberType(), stringType()]),
|
|
@@ -44661,14 +44277,9 @@ var init_skyposition = __esm(() => {
|
|
|
44661
44277
|
});
|
|
44662
44278
|
|
|
44663
44279
|
// src/models/operations/tokenaddress.ts
|
|
44664
|
-
var
|
|
44280
|
+
var TokenAddressToken, TokenAddressToken$inboundSchema, TokenAddressToken$outboundSchema, TokenAddressToken$, TokenAddressRequest$inboundSchema, TokenAddressRequest$outboundSchema, TokenAddressRequest$;
|
|
44665
44281
|
var init_tokenaddress = __esm(() => {
|
|
44666
44282
|
init_zod();
|
|
44667
|
-
TokenAddressChain = {
|
|
44668
|
-
BaseMainnet: "base:mainnet",
|
|
44669
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
44670
|
-
ArbitrumMainnet: "arbitrum:mainnet"
|
|
44671
|
-
};
|
|
44672
44283
|
TokenAddressToken = {
|
|
44673
44284
|
OneINCH: "1INCH",
|
|
44674
44285
|
Aave: "AAVE",
|
|
@@ -44717,12 +44328,6 @@ var init_tokenaddress = __esm(() => {
|
|
|
44717
44328
|
EzETH: "ezETH",
|
|
44718
44329
|
Cyber: "CYBER"
|
|
44719
44330
|
};
|
|
44720
|
-
TokenAddressChain$inboundSchema = nativeEnumType(TokenAddressChain);
|
|
44721
|
-
TokenAddressChain$outboundSchema = TokenAddressChain$inboundSchema;
|
|
44722
|
-
((TokenAddressChain$) => {
|
|
44723
|
-
TokenAddressChain$.inboundSchema = TokenAddressChain$inboundSchema;
|
|
44724
|
-
TokenAddressChain$.outboundSchema = TokenAddressChain$outboundSchema;
|
|
44725
|
-
})(TokenAddressChain$ ||= {});
|
|
44726
44331
|
TokenAddressToken$inboundSchema = nativeEnumType(TokenAddressToken);
|
|
44727
44332
|
TokenAddressToken$outboundSchema = TokenAddressToken$inboundSchema;
|
|
44728
44333
|
((TokenAddressToken$) => {
|
|
@@ -44730,11 +44335,11 @@ var init_tokenaddress = __esm(() => {
|
|
|
44730
44335
|
TokenAddressToken$.outboundSchema = TokenAddressToken$outboundSchema;
|
|
44731
44336
|
})(TokenAddressToken$ ||= {});
|
|
44732
44337
|
TokenAddressRequest$inboundSchema = objectType({
|
|
44733
|
-
chain:
|
|
44338
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
44734
44339
|
token: TokenAddressToken$inboundSchema.default("WETH")
|
|
44735
44340
|
});
|
|
44736
44341
|
TokenAddressRequest$outboundSchema = objectType({
|
|
44737
|
-
chain:
|
|
44342
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
44738
44343
|
token: TokenAddressToken$outboundSchema.default("WETH")
|
|
44739
44344
|
});
|
|
44740
44345
|
((TokenAddressRequest$) => {
|
|
@@ -44744,21 +44349,10 @@ var init_tokenaddress = __esm(() => {
|
|
|
44744
44349
|
});
|
|
44745
44350
|
|
|
44746
44351
|
// src/models/operations/tokenbalance.ts
|
|
44747
|
-
var
|
|
44352
|
+
var TokenBalanceToken$inboundSchema, TokenBalanceToken$outboundSchema, TokenBalanceToken$, TokenBalanceRequest$inboundSchema, TokenBalanceRequest$outboundSchema, TokenBalanceRequest$;
|
|
44748
44353
|
var init_tokenbalance = __esm(() => {
|
|
44749
44354
|
init_zod();
|
|
44750
44355
|
init_components();
|
|
44751
|
-
TokenBalanceChain = {
|
|
44752
|
-
BaseMainnet: "base:mainnet",
|
|
44753
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
44754
|
-
ArbitrumMainnet: "arbitrum:mainnet"
|
|
44755
|
-
};
|
|
44756
|
-
TokenBalanceChain$inboundSchema = nativeEnumType(TokenBalanceChain);
|
|
44757
|
-
TokenBalanceChain$outboundSchema = TokenBalanceChain$inboundSchema;
|
|
44758
|
-
((TokenBalanceChain$) => {
|
|
44759
|
-
TokenBalanceChain$.inboundSchema = TokenBalanceChain$inboundSchema;
|
|
44760
|
-
TokenBalanceChain$.outboundSchema = TokenBalanceChain$outboundSchema;
|
|
44761
|
-
})(TokenBalanceChain$ ||= {});
|
|
44762
44356
|
TokenBalanceToken$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
44763
44357
|
TokenBalanceToken$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
|
|
44764
44358
|
((TokenBalanceToken$) => {
|
|
@@ -44766,12 +44360,12 @@ var init_tokenbalance = __esm(() => {
|
|
|
44766
44360
|
TokenBalanceToken$.outboundSchema = TokenBalanceToken$outboundSchema;
|
|
44767
44361
|
})(TokenBalanceToken$ ||= {});
|
|
44768
44362
|
TokenBalanceRequest$inboundSchema = objectType({
|
|
44769
|
-
chain:
|
|
44363
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
44770
44364
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B"),
|
|
44771
44365
|
token: unionType([TokenEnum$inboundSchema, stringType()])
|
|
44772
44366
|
});
|
|
44773
44367
|
TokenBalanceRequest$outboundSchema = objectType({
|
|
44774
|
-
chain:
|
|
44368
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
44775
44369
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B"),
|
|
44776
44370
|
token: unionType([TokenEnum$outboundSchema, stringType()])
|
|
44777
44371
|
});
|
|
@@ -44782,21 +44376,10 @@ var init_tokenbalance = __esm(() => {
|
|
|
44782
44376
|
});
|
|
44783
44377
|
|
|
44784
44378
|
// src/models/operations/tokenprice.ts
|
|
44785
|
-
var
|
|
44379
|
+
var TokenPriceToken$inboundSchema, TokenPriceToken$outboundSchema, TokenPriceToken$, TokenPriceRequest$inboundSchema, TokenPriceRequest$outboundSchema, TokenPriceRequest$;
|
|
44786
44380
|
var init_tokenprice = __esm(() => {
|
|
44787
44381
|
init_zod();
|
|
44788
44382
|
init_components();
|
|
44789
|
-
TokenPriceChain = {
|
|
44790
|
-
BaseMainnet: "base:mainnet",
|
|
44791
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
44792
|
-
ArbitrumMainnet: "arbitrum:mainnet"
|
|
44793
|
-
};
|
|
44794
|
-
TokenPriceChain$inboundSchema = nativeEnumType(TokenPriceChain);
|
|
44795
|
-
TokenPriceChain$outboundSchema = TokenPriceChain$inboundSchema;
|
|
44796
|
-
((TokenPriceChain$) => {
|
|
44797
|
-
TokenPriceChain$.inboundSchema = TokenPriceChain$inboundSchema;
|
|
44798
|
-
TokenPriceChain$.outboundSchema = TokenPriceChain$outboundSchema;
|
|
44799
|
-
})(TokenPriceChain$ ||= {});
|
|
44800
44383
|
TokenPriceToken$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
44801
44384
|
TokenPriceToken$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
|
|
44802
44385
|
((TokenPriceToken$) => {
|
|
@@ -44804,12 +44387,12 @@ var init_tokenprice = __esm(() => {
|
|
|
44804
44387
|
TokenPriceToken$.outboundSchema = TokenPriceToken$outboundSchema;
|
|
44805
44388
|
})(TokenPriceToken$ ||= {});
|
|
44806
44389
|
TokenPriceRequest$inboundSchema = objectType({
|
|
44807
|
-
chain:
|
|
44390
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
44808
44391
|
block: nullableType(numberType().int()).optional(),
|
|
44809
44392
|
token: unionType([TokenEnum$inboundSchema, stringType()])
|
|
44810
44393
|
});
|
|
44811
44394
|
TokenPriceRequest$outboundSchema = objectType({
|
|
44812
|
-
chain:
|
|
44395
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
44813
44396
|
block: nullableType(numberType().int()).optional(),
|
|
44814
44397
|
token: unionType([TokenEnum$outboundSchema, stringType()])
|
|
44815
44398
|
});
|
|
@@ -44820,23 +44403,12 @@ var init_tokenprice = __esm(() => {
|
|
|
44820
44403
|
});
|
|
44821
44404
|
|
|
44822
44405
|
// src/models/operations/uniswapliquidityprovisioninrange.ts
|
|
44823
|
-
var
|
|
44406
|
+
var UniswapLiquidityProvisionInRangeRequest$inboundSchema, UniswapLiquidityProvisionInRangeRequest$outboundSchema, UniswapLiquidityProvisionInRangeRequest$;
|
|
44824
44407
|
var init_uniswapliquidityprovisioninrange = __esm(() => {
|
|
44825
44408
|
init_zod();
|
|
44826
44409
|
init_primitives();
|
|
44827
|
-
UniswapLiquidityProvisionInRangeChain = {
|
|
44828
|
-
BaseMainnet: "base:mainnet",
|
|
44829
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
44830
|
-
ArbitrumMainnet: "arbitrum:mainnet"
|
|
44831
|
-
};
|
|
44832
|
-
UniswapLiquidityProvisionInRangeChain$inboundSchema = nativeEnumType(UniswapLiquidityProvisionInRangeChain);
|
|
44833
|
-
UniswapLiquidityProvisionInRangeChain$outboundSchema = UniswapLiquidityProvisionInRangeChain$inboundSchema;
|
|
44834
|
-
((UniswapLiquidityProvisionInRangeChain$) => {
|
|
44835
|
-
UniswapLiquidityProvisionInRangeChain$.inboundSchema = UniswapLiquidityProvisionInRangeChain$inboundSchema;
|
|
44836
|
-
UniswapLiquidityProvisionInRangeChain$.outboundSchema = UniswapLiquidityProvisionInRangeChain$outboundSchema;
|
|
44837
|
-
})(UniswapLiquidityProvisionInRangeChain$ ||= {});
|
|
44838
44410
|
UniswapLiquidityProvisionInRangeRequest$inboundSchema = objectType({
|
|
44839
|
-
chain:
|
|
44411
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
44840
44412
|
token_id: numberType().int().default(4318185)
|
|
44841
44413
|
}).transform((v2) => {
|
|
44842
44414
|
return remap(v2, {
|
|
@@ -44844,7 +44416,7 @@ var init_uniswapliquidityprovisioninrange = __esm(() => {
|
|
|
44844
44416
|
});
|
|
44845
44417
|
});
|
|
44846
44418
|
UniswapLiquidityProvisionInRangeRequest$outboundSchema = objectType({
|
|
44847
|
-
chain:
|
|
44419
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
44848
44420
|
tokenId: numberType().int().default(4318185)
|
|
44849
44421
|
}).transform((v2) => {
|
|
44850
44422
|
return remap(v2, {
|
|
@@ -44858,26 +44430,15 @@ var init_uniswapliquidityprovisioninrange = __esm(() => {
|
|
|
44858
44430
|
});
|
|
44859
44431
|
|
|
44860
44432
|
// src/models/operations/uniswapliquidityprovisionpositions.ts
|
|
44861
|
-
var
|
|
44433
|
+
var UniswapLiquidityProvisionPositionsRequest$inboundSchema, UniswapLiquidityProvisionPositionsRequest$outboundSchema, UniswapLiquidityProvisionPositionsRequest$;
|
|
44862
44434
|
var init_uniswapliquidityprovisionpositions = __esm(() => {
|
|
44863
44435
|
init_zod();
|
|
44864
|
-
UniswapLiquidityProvisionPositionsChain = {
|
|
44865
|
-
BaseMainnet: "base:mainnet",
|
|
44866
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
44867
|
-
ArbitrumMainnet: "arbitrum:mainnet"
|
|
44868
|
-
};
|
|
44869
|
-
UniswapLiquidityProvisionPositionsChain$inboundSchema = nativeEnumType(UniswapLiquidityProvisionPositionsChain);
|
|
44870
|
-
UniswapLiquidityProvisionPositionsChain$outboundSchema = UniswapLiquidityProvisionPositionsChain$inboundSchema;
|
|
44871
|
-
((UniswapLiquidityProvisionPositionsChain$) => {
|
|
44872
|
-
UniswapLiquidityProvisionPositionsChain$.inboundSchema = UniswapLiquidityProvisionPositionsChain$inboundSchema;
|
|
44873
|
-
UniswapLiquidityProvisionPositionsChain$.outboundSchema = UniswapLiquidityProvisionPositionsChain$outboundSchema;
|
|
44874
|
-
})(UniswapLiquidityProvisionPositionsChain$ ||= {});
|
|
44875
44436
|
UniswapLiquidityProvisionPositionsRequest$inboundSchema = objectType({
|
|
44876
|
-
chain:
|
|
44437
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
44877
44438
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B")
|
|
44878
44439
|
});
|
|
44879
44440
|
UniswapLiquidityProvisionPositionsRequest$outboundSchema = objectType({
|
|
44880
|
-
chain:
|
|
44441
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
44881
44442
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B")
|
|
44882
44443
|
});
|
|
44883
44444
|
((UniswapLiquidityProvisionPositionsRequest$) => {
|
|
@@ -44887,15 +44448,10 @@ var init_uniswapliquidityprovisionpositions = __esm(() => {
|
|
|
44887
44448
|
});
|
|
44888
44449
|
|
|
44889
44450
|
// src/models/operations/uniswappoolprice.ts
|
|
44890
|
-
var
|
|
44451
|
+
var UniswapPoolPriceTokenInToken, UniswapPoolPriceTokenOutToken, UniswapPoolPriceFeeEnum, UniswapPoolPriceTokenInToken$inboundSchema, UniswapPoolPriceTokenInToken$outboundSchema, UniswapPoolPriceTokenInToken$, UniswapPoolPriceTokenOutToken$inboundSchema, UniswapPoolPriceTokenOutToken$outboundSchema, UniswapPoolPriceTokenOutToken$, UniswapPoolPriceFeeEnum$inboundSchema, UniswapPoolPriceFeeEnum$outboundSchema, UniswapPoolPriceFeeEnum$, UniswapPoolPriceRequest$inboundSchema, UniswapPoolPriceRequest$outboundSchema, UniswapPoolPriceRequest$;
|
|
44891
44452
|
var init_uniswappoolprice = __esm(() => {
|
|
44892
44453
|
init_zod();
|
|
44893
44454
|
init_primitives();
|
|
44894
|
-
UniswapPoolPriceChain = {
|
|
44895
|
-
BaseMainnet: "base:mainnet",
|
|
44896
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
44897
|
-
ArbitrumMainnet: "arbitrum:mainnet"
|
|
44898
|
-
};
|
|
44899
44455
|
UniswapPoolPriceTokenInToken = {
|
|
44900
44456
|
OneINCH: "1INCH",
|
|
44901
44457
|
Aave: "AAVE",
|
|
@@ -44998,12 +44554,6 @@ var init_uniswappoolprice = __esm(() => {
|
|
|
44998
44554
|
ZeroDot3: "0.3",
|
|
44999
44555
|
OneDot0: "1.0"
|
|
45000
44556
|
};
|
|
45001
|
-
UniswapPoolPriceChain$inboundSchema = nativeEnumType(UniswapPoolPriceChain);
|
|
45002
|
-
UniswapPoolPriceChain$outboundSchema = UniswapPoolPriceChain$inboundSchema;
|
|
45003
|
-
((UniswapPoolPriceChain$) => {
|
|
45004
|
-
UniswapPoolPriceChain$.inboundSchema = UniswapPoolPriceChain$inboundSchema;
|
|
45005
|
-
UniswapPoolPriceChain$.outboundSchema = UniswapPoolPriceChain$outboundSchema;
|
|
45006
|
-
})(UniswapPoolPriceChain$ ||= {});
|
|
45007
44557
|
UniswapPoolPriceTokenInToken$inboundSchema = nativeEnumType(UniswapPoolPriceTokenInToken);
|
|
45008
44558
|
UniswapPoolPriceTokenInToken$outboundSchema = UniswapPoolPriceTokenInToken$inboundSchema;
|
|
45009
44559
|
((UniswapPoolPriceTokenInToken$) => {
|
|
@@ -45023,7 +44573,7 @@ var init_uniswappoolprice = __esm(() => {
|
|
|
45023
44573
|
UniswapPoolPriceFeeEnum$.outboundSchema = UniswapPoolPriceFeeEnum$outboundSchema;
|
|
45024
44574
|
})(UniswapPoolPriceFeeEnum$ ||= {});
|
|
45025
44575
|
UniswapPoolPriceRequest$inboundSchema = objectType({
|
|
45026
|
-
chain:
|
|
44576
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
45027
44577
|
token_in: UniswapPoolPriceTokenInToken$inboundSchema.default("USDC"),
|
|
45028
44578
|
token_out: UniswapPoolPriceTokenOutToken$inboundSchema.default("USDT"),
|
|
45029
44579
|
fee: UniswapPoolPriceFeeEnum$inboundSchema.default("0.01")
|
|
@@ -45034,7 +44584,7 @@ var init_uniswappoolprice = __esm(() => {
|
|
|
45034
44584
|
});
|
|
45035
44585
|
});
|
|
45036
44586
|
UniswapPoolPriceRequest$outboundSchema = objectType({
|
|
45037
|
-
chain:
|
|
44587
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
45038
44588
|
tokenIn: UniswapPoolPriceTokenInToken$outboundSchema.default("USDC"),
|
|
45039
44589
|
tokenOut: UniswapPoolPriceTokenOutToken$outboundSchema.default("USDT"),
|
|
45040
44590
|
fee: UniswapPoolPriceFeeEnum$outboundSchema.default("0.01")
|
|
@@ -45051,15 +44601,10 @@ var init_uniswappoolprice = __esm(() => {
|
|
|
45051
44601
|
});
|
|
45052
44602
|
|
|
45053
44603
|
// src/models/operations/uniswapquotebuyexactly.ts
|
|
45054
|
-
var
|
|
44604
|
+
var UniswapQuoteBuyExactlyTokenInToken, UniswapQuoteBuyExactlyTokenOutToken, UniswapQuoteBuyExactlyFeeEnum, UniswapQuoteBuyExactlyTokenInToken$inboundSchema, UniswapQuoteBuyExactlyTokenInToken$outboundSchema, UniswapQuoteBuyExactlyTokenInToken$, UniswapQuoteBuyExactlyTokenOutToken$inboundSchema, UniswapQuoteBuyExactlyTokenOutToken$outboundSchema, UniswapQuoteBuyExactlyTokenOutToken$, UniswapQuoteBuyExactlyFeeEnum$inboundSchema, UniswapQuoteBuyExactlyFeeEnum$outboundSchema, UniswapQuoteBuyExactlyFeeEnum$, AmountOut$inboundSchema, AmountOut$outboundSchema, AmountOut$, UniswapQuoteBuyExactlyRequest$inboundSchema, UniswapQuoteBuyExactlyRequest$outboundSchema, UniswapQuoteBuyExactlyRequest$;
|
|
45055
44605
|
var init_uniswapquotebuyexactly = __esm(() => {
|
|
45056
44606
|
init_zod();
|
|
45057
44607
|
init_primitives();
|
|
45058
|
-
UniswapQuoteBuyExactlyChain = {
|
|
45059
|
-
BaseMainnet: "base:mainnet",
|
|
45060
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
45061
|
-
ArbitrumMainnet: "arbitrum:mainnet"
|
|
45062
|
-
};
|
|
45063
44608
|
UniswapQuoteBuyExactlyTokenInToken = {
|
|
45064
44609
|
OneINCH: "1INCH",
|
|
45065
44610
|
Aave: "AAVE",
|
|
@@ -45162,12 +44707,6 @@ var init_uniswapquotebuyexactly = __esm(() => {
|
|
|
45162
44707
|
ZeroDot3: "0.3",
|
|
45163
44708
|
OneDot0: "1.0"
|
|
45164
44709
|
};
|
|
45165
|
-
UniswapQuoteBuyExactlyChain$inboundSchema = nativeEnumType(UniswapQuoteBuyExactlyChain);
|
|
45166
|
-
UniswapQuoteBuyExactlyChain$outboundSchema = UniswapQuoteBuyExactlyChain$inboundSchema;
|
|
45167
|
-
((UniswapQuoteBuyExactlyChain$) => {
|
|
45168
|
-
UniswapQuoteBuyExactlyChain$.inboundSchema = UniswapQuoteBuyExactlyChain$inboundSchema;
|
|
45169
|
-
UniswapQuoteBuyExactlyChain$.outboundSchema = UniswapQuoteBuyExactlyChain$outboundSchema;
|
|
45170
|
-
})(UniswapQuoteBuyExactlyChain$ ||= {});
|
|
45171
44710
|
UniswapQuoteBuyExactlyTokenInToken$inboundSchema = nativeEnumType(UniswapQuoteBuyExactlyTokenInToken);
|
|
45172
44711
|
UniswapQuoteBuyExactlyTokenInToken$outboundSchema = UniswapQuoteBuyExactlyTokenInToken$inboundSchema;
|
|
45173
44712
|
((UniswapQuoteBuyExactlyTokenInToken$) => {
|
|
@@ -45193,7 +44732,7 @@ var init_uniswapquotebuyexactly = __esm(() => {
|
|
|
45193
44732
|
AmountOut$.outboundSchema = AmountOut$outboundSchema;
|
|
45194
44733
|
})(AmountOut$ ||= {});
|
|
45195
44734
|
UniswapQuoteBuyExactlyRequest$inboundSchema = objectType({
|
|
45196
|
-
chain:
|
|
44735
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
45197
44736
|
token_in: UniswapQuoteBuyExactlyTokenInToken$inboundSchema.default("USDC"),
|
|
45198
44737
|
token_out: UniswapQuoteBuyExactlyTokenOutToken$inboundSchema.default("USDT"),
|
|
45199
44738
|
fee: UniswapQuoteBuyExactlyFeeEnum$inboundSchema.default("0.01"),
|
|
@@ -45206,7 +44745,7 @@ var init_uniswapquotebuyexactly = __esm(() => {
|
|
|
45206
44745
|
});
|
|
45207
44746
|
});
|
|
45208
44747
|
UniswapQuoteBuyExactlyRequest$outboundSchema = objectType({
|
|
45209
|
-
chain:
|
|
44748
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
45210
44749
|
tokenIn: UniswapQuoteBuyExactlyTokenInToken$outboundSchema.default("USDC"),
|
|
45211
44750
|
tokenOut: UniswapQuoteBuyExactlyTokenOutToken$outboundSchema.default("USDT"),
|
|
45212
44751
|
fee: UniswapQuoteBuyExactlyFeeEnum$outboundSchema.default("0.01"),
|
|
@@ -45225,15 +44764,10 @@ var init_uniswapquotebuyexactly = __esm(() => {
|
|
|
45225
44764
|
});
|
|
45226
44765
|
|
|
45227
44766
|
// src/models/operations/uniswapquotesellexactly.ts
|
|
45228
|
-
var
|
|
44767
|
+
var UniswapQuoteSellExactlyTokenInToken, UniswapQuoteSellExactlyTokenOutToken, UniswapQuoteSellExactlyFeeEnum, UniswapQuoteSellExactlyTokenInToken$inboundSchema, UniswapQuoteSellExactlyTokenInToken$outboundSchema, UniswapQuoteSellExactlyTokenInToken$, UniswapQuoteSellExactlyTokenOutToken$inboundSchema, UniswapQuoteSellExactlyTokenOutToken$outboundSchema, UniswapQuoteSellExactlyTokenOutToken$, UniswapQuoteSellExactlyFeeEnum$inboundSchema, UniswapQuoteSellExactlyFeeEnum$outboundSchema, UniswapQuoteSellExactlyFeeEnum$, AmountIn$inboundSchema, AmountIn$outboundSchema, AmountIn$, UniswapQuoteSellExactlyRequest$inboundSchema, UniswapQuoteSellExactlyRequest$outboundSchema, UniswapQuoteSellExactlyRequest$;
|
|
45229
44768
|
var init_uniswapquotesellexactly = __esm(() => {
|
|
45230
44769
|
init_zod();
|
|
45231
44770
|
init_primitives();
|
|
45232
|
-
UniswapQuoteSellExactlyChain = {
|
|
45233
|
-
BaseMainnet: "base:mainnet",
|
|
45234
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
45235
|
-
ArbitrumMainnet: "arbitrum:mainnet"
|
|
45236
|
-
};
|
|
45237
44771
|
UniswapQuoteSellExactlyTokenInToken = {
|
|
45238
44772
|
OneINCH: "1INCH",
|
|
45239
44773
|
Aave: "AAVE",
|
|
@@ -45336,12 +44870,6 @@ var init_uniswapquotesellexactly = __esm(() => {
|
|
|
45336
44870
|
ZeroDot3: "0.3",
|
|
45337
44871
|
OneDot0: "1.0"
|
|
45338
44872
|
};
|
|
45339
|
-
UniswapQuoteSellExactlyChain$inboundSchema = nativeEnumType(UniswapQuoteSellExactlyChain);
|
|
45340
|
-
UniswapQuoteSellExactlyChain$outboundSchema = UniswapQuoteSellExactlyChain$inboundSchema;
|
|
45341
|
-
((UniswapQuoteSellExactlyChain$) => {
|
|
45342
|
-
UniswapQuoteSellExactlyChain$.inboundSchema = UniswapQuoteSellExactlyChain$inboundSchema;
|
|
45343
|
-
UniswapQuoteSellExactlyChain$.outboundSchema = UniswapQuoteSellExactlyChain$outboundSchema;
|
|
45344
|
-
})(UniswapQuoteSellExactlyChain$ ||= {});
|
|
45345
44873
|
UniswapQuoteSellExactlyTokenInToken$inboundSchema = nativeEnumType(UniswapQuoteSellExactlyTokenInToken);
|
|
45346
44874
|
UniswapQuoteSellExactlyTokenInToken$outboundSchema = UniswapQuoteSellExactlyTokenInToken$inboundSchema;
|
|
45347
44875
|
((UniswapQuoteSellExactlyTokenInToken$) => {
|
|
@@ -45367,7 +44895,7 @@ var init_uniswapquotesellexactly = __esm(() => {
|
|
|
45367
44895
|
AmountIn$.outboundSchema = AmountIn$outboundSchema;
|
|
45368
44896
|
})(AmountIn$ ||= {});
|
|
45369
44897
|
UniswapQuoteSellExactlyRequest$inboundSchema = objectType({
|
|
45370
|
-
chain:
|
|
44898
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
45371
44899
|
token_in: UniswapQuoteSellExactlyTokenInToken$inboundSchema.default("USDC"),
|
|
45372
44900
|
token_out: UniswapQuoteSellExactlyTokenOutToken$inboundSchema.default("USDT"),
|
|
45373
44901
|
fee: UniswapQuoteSellExactlyFeeEnum$inboundSchema.default("0.01"),
|
|
@@ -45380,7 +44908,7 @@ var init_uniswapquotesellexactly = __esm(() => {
|
|
|
45380
44908
|
});
|
|
45381
44909
|
});
|
|
45382
44910
|
UniswapQuoteSellExactlyRequest$outboundSchema = objectType({
|
|
45383
|
-
chain:
|
|
44911
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
45384
44912
|
tokenIn: UniswapQuoteSellExactlyTokenInToken$outboundSchema.default("USDC"),
|
|
45385
44913
|
tokenOut: UniswapQuoteSellExactlyTokenOutToken$outboundSchema.default("USDT"),
|
|
45386
44914
|
fee: UniswapQuoteSellExactlyFeeEnum$outboundSchema.default("0.01"),
|
|
@@ -45399,23 +44927,12 @@ var init_uniswapquotesellexactly = __esm(() => {
|
|
|
45399
44927
|
});
|
|
45400
44928
|
|
|
45401
44929
|
// src/models/operations/vaultsvault.ts
|
|
45402
|
-
var
|
|
44930
|
+
var VaultsVaultRequest$inboundSchema, VaultsVaultRequest$outboundSchema, VaultsVaultRequest$;
|
|
45403
44931
|
var init_vaultsvault = __esm(() => {
|
|
45404
44932
|
init_zod();
|
|
45405
44933
|
init_primitives();
|
|
45406
|
-
VaultsVaultChain = {
|
|
45407
|
-
BaseMainnet: "base:mainnet",
|
|
45408
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
45409
|
-
ArbitrumMainnet: "arbitrum:mainnet"
|
|
45410
|
-
};
|
|
45411
|
-
VaultsVaultChain$inboundSchema = nativeEnumType(VaultsVaultChain);
|
|
45412
|
-
VaultsVaultChain$outboundSchema = VaultsVaultChain$inboundSchema;
|
|
45413
|
-
((VaultsVaultChain$) => {
|
|
45414
|
-
VaultsVaultChain$.inboundSchema = VaultsVaultChain$inboundSchema;
|
|
45415
|
-
VaultsVaultChain$.outboundSchema = VaultsVaultChain$outboundSchema;
|
|
45416
|
-
})(VaultsVaultChain$ ||= {});
|
|
45417
44934
|
VaultsVaultRequest$inboundSchema = objectType({
|
|
45418
|
-
chain:
|
|
44935
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet").optional(),
|
|
45419
44936
|
block: nullableType(numberType().int()).optional(),
|
|
45420
44937
|
vault_address: stringType().default("0x182863131F9a4630fF9E27830d945B1413e347E8"),
|
|
45421
44938
|
user_address: nullableType(stringType()).optional()
|
|
@@ -45426,7 +44943,7 @@ var init_vaultsvault = __esm(() => {
|
|
|
45426
44943
|
});
|
|
45427
44944
|
});
|
|
45428
44945
|
VaultsVaultRequest$outboundSchema = objectType({
|
|
45429
|
-
chain:
|
|
44946
|
+
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
45430
44947
|
block: nullableType(numberType().int()).optional(),
|
|
45431
44948
|
vaultAddress: stringType().default("0x182863131F9a4630fF9E27830d945B1413e347E8"),
|
|
45432
44949
|
userAddress: nullableType(stringType()).optional()
|
|
@@ -50139,11 +49656,12 @@ The user position is only included if 'user_address' parameter is included.`,
|
|
|
50139
49656
|
});
|
|
50140
49657
|
|
|
50141
49658
|
// src/funcs/pendleMarkets.ts
|
|
50142
|
-
function pendleMarkets(client,
|
|
50143
|
-
return new APIPromise($do41(client,
|
|
49659
|
+
function pendleMarkets(client, options) {
|
|
49660
|
+
return new APIPromise($do41(client, options));
|
|
50144
49661
|
}
|
|
50145
|
-
async function $do41(client,
|
|
50146
|
-
const
|
|
49662
|
+
async function $do41(client, options) {
|
|
49663
|
+
const input = {};
|
|
49664
|
+
const parsed = safeParse(input, (value) => PendleMarketsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50147
49665
|
if (!parsed.ok) {
|
|
50148
49666
|
return [parsed, { status: "invalid" }];
|
|
50149
49667
|
}
|
|
@@ -50217,22 +49735,17 @@ var init_pendleMarkets = __esm(() => {
|
|
|
50217
49735
|
});
|
|
50218
49736
|
|
|
50219
49737
|
// src/mcp-server/tools/pendleMarkets.ts
|
|
50220
|
-
var
|
|
49738
|
+
var tool$pendleMarkets;
|
|
50221
49739
|
var init_pendleMarkets2 = __esm(() => {
|
|
50222
49740
|
init_pendleMarkets();
|
|
50223
|
-
init_operations();
|
|
50224
49741
|
init_tools();
|
|
50225
|
-
args41 = {
|
|
50226
|
-
request: PendleMarketsRequest$inboundSchema
|
|
50227
|
-
};
|
|
50228
49742
|
tool$pendleMarkets = {
|
|
50229
49743
|
name: "pendle-markets",
|
|
50230
49744
|
description: `List Market Data
|
|
50231
49745
|
|
|
50232
49746
|
Get a list of active markets.`,
|
|
50233
|
-
|
|
50234
|
-
|
|
50235
|
-
const [result, apiCall] = await pendleMarkets(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49747
|
+
tool: async (client, ctx) => {
|
|
49748
|
+
const [result, apiCall] = await pendleMarkets(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50236
49749
|
if (!result.ok) {
|
|
50237
49750
|
return {
|
|
50238
49751
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50325,12 +49838,12 @@ var init_pendlePositions = __esm(() => {
|
|
|
50325
49838
|
});
|
|
50326
49839
|
|
|
50327
49840
|
// src/mcp-server/tools/pendlePositions.ts
|
|
50328
|
-
var
|
|
49841
|
+
var args41, tool$pendlePositions;
|
|
50329
49842
|
var init_pendlePositions2 = __esm(() => {
|
|
50330
49843
|
init_pendlePositions();
|
|
50331
49844
|
init_operations();
|
|
50332
49845
|
init_tools();
|
|
50333
|
-
|
|
49846
|
+
args41 = {
|
|
50334
49847
|
request: PendlePositionsRequest$inboundSchema
|
|
50335
49848
|
};
|
|
50336
49849
|
tool$pendlePositions = {
|
|
@@ -50338,9 +49851,9 @@ var init_pendlePositions2 = __esm(() => {
|
|
|
50338
49851
|
description: `List User's Market Positions
|
|
50339
49852
|
|
|
50340
49853
|
List the user's SY, PT, YT and LP positions for all markets on a given chain.`,
|
|
50341
|
-
args:
|
|
50342
|
-
tool: async (client,
|
|
50343
|
-
const [result, apiCall] = await pendlePositions(client,
|
|
49854
|
+
args: args41,
|
|
49855
|
+
tool: async (client, args42, ctx) => {
|
|
49856
|
+
const [result, apiCall] = await pendlePositions(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50344
49857
|
if (!result.ok) {
|
|
50345
49858
|
return {
|
|
50346
49859
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50437,12 +49950,12 @@ var init_pendleQuote = __esm(() => {
|
|
|
50437
49950
|
});
|
|
50438
49951
|
|
|
50439
49952
|
// src/mcp-server/tools/pendleQuote.ts
|
|
50440
|
-
var
|
|
49953
|
+
var args42, tool$pendleQuote;
|
|
50441
49954
|
var init_pendleQuote2 = __esm(() => {
|
|
50442
49955
|
init_pendleQuote();
|
|
50443
49956
|
init_operations();
|
|
50444
49957
|
init_tools();
|
|
50445
|
-
|
|
49958
|
+
args42 = {
|
|
50446
49959
|
request: PendleQuoteRequest$inboundSchema
|
|
50447
49960
|
};
|
|
50448
49961
|
tool$pendleQuote = {
|
|
@@ -50455,9 +49968,9 @@ Provider Token (LP) on Pendle.
|
|
|
50455
49968
|
For \`BUY\`, \`amount\` is the quantity of the Underlying Token to spend, and the quote returns the amount of \`token_type\` received.
|
|
50456
49969
|
|
|
50457
49970
|
For \`SELL\`, \`amount\` is the quantity of \`token_type\` to sell, and the quote returns the amount of Underlying Token received.`,
|
|
50458
|
-
args:
|
|
50459
|
-
tool: async (client,
|
|
50460
|
-
const [result, apiCall] = await pendleQuote(client,
|
|
49971
|
+
args: args42,
|
|
49972
|
+
tool: async (client, args43, ctx) => {
|
|
49973
|
+
const [result, apiCall] = await pendleQuote(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50461
49974
|
if (!result.ok) {
|
|
50462
49975
|
return {
|
|
50463
49976
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50545,12 +50058,12 @@ var init_pendleRedeemYield = __esm(() => {
|
|
|
50545
50058
|
});
|
|
50546
50059
|
|
|
50547
50060
|
// src/mcp-server/tools/pendleRedeemYield.ts
|
|
50548
|
-
var
|
|
50061
|
+
var args43, tool$pendleRedeemYield;
|
|
50549
50062
|
var init_pendleRedeemYield2 = __esm(() => {
|
|
50550
50063
|
init_pendleRedeemYield();
|
|
50551
50064
|
init_components();
|
|
50552
50065
|
init_tools();
|
|
50553
|
-
|
|
50066
|
+
args43 = {
|
|
50554
50067
|
request: PendleRedeemYieldRequest$inboundSchema
|
|
50555
50068
|
};
|
|
50556
50069
|
tool$pendleRedeemYield = {
|
|
@@ -50566,9 +50079,9 @@ Redeem claimable yield from the market's associated Yield Token (YT).
|
|
|
50566
50079
|
- \`PendleRouter\`
|
|
50567
50080
|
</Info>
|
|
50568
50081
|
`,
|
|
50569
|
-
args:
|
|
50570
|
-
tool: async (client,
|
|
50571
|
-
const [result, apiCall] = await pendleRedeemYield(client,
|
|
50082
|
+
args: args43,
|
|
50083
|
+
tool: async (client, args44, ctx) => {
|
|
50084
|
+
const [result, apiCall] = await pendleRedeemYield(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50572
50085
|
if (!result.ok) {
|
|
50573
50086
|
return {
|
|
50574
50087
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50656,12 +50169,12 @@ var init_pendleRemoveLiquidity = __esm(() => {
|
|
|
50656
50169
|
});
|
|
50657
50170
|
|
|
50658
50171
|
// src/mcp-server/tools/pendleRemoveLiquidity.ts
|
|
50659
|
-
var
|
|
50172
|
+
var args44, tool$pendleRemoveLiquidity;
|
|
50660
50173
|
var init_pendleRemoveLiquidity2 = __esm(() => {
|
|
50661
50174
|
init_pendleRemoveLiquidity();
|
|
50662
50175
|
init_components();
|
|
50663
50176
|
init_tools();
|
|
50664
|
-
|
|
50177
|
+
args44 = {
|
|
50665
50178
|
request: PendleRemoveLiquidityRequest$inboundSchema
|
|
50666
50179
|
};
|
|
50667
50180
|
tool$pendleRemoveLiquidity = {
|
|
@@ -50681,9 +50194,9 @@ market contract must be set beforehand
|
|
|
50681
50194
|
- \`PendleRouter\`
|
|
50682
50195
|
</Info>
|
|
50683
50196
|
`,
|
|
50684
|
-
args:
|
|
50685
|
-
tool: async (client,
|
|
50686
|
-
const [result, apiCall] = await pendleRemoveLiquidity(client,
|
|
50197
|
+
args: args44,
|
|
50198
|
+
tool: async (client, args45, ctx) => {
|
|
50199
|
+
const [result, apiCall] = await pendleRemoveLiquidity(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50687
50200
|
if (!result.ok) {
|
|
50688
50201
|
return {
|
|
50689
50202
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50771,12 +50284,12 @@ var init_pendleSellPt = __esm(() => {
|
|
|
50771
50284
|
});
|
|
50772
50285
|
|
|
50773
50286
|
// src/mcp-server/tools/pendleSellPt.ts
|
|
50774
|
-
var
|
|
50287
|
+
var args45, tool$pendleSellPt;
|
|
50775
50288
|
var init_pendleSellPt2 = __esm(() => {
|
|
50776
50289
|
init_pendleSellPt();
|
|
50777
50290
|
init_components();
|
|
50778
50291
|
init_tools();
|
|
50779
|
-
|
|
50292
|
+
args45 = {
|
|
50780
50293
|
request: PendleSellPtRequest$inboundSchema
|
|
50781
50294
|
};
|
|
50782
50295
|
tool$pendleSellPt = {
|
|
@@ -50792,9 +50305,9 @@ Sell Principal Token (PT) for the market's Underlying Token.
|
|
|
50792
50305
|
- \`PendleRouter\`
|
|
50793
50306
|
</Info>
|
|
50794
50307
|
`,
|
|
50795
|
-
args:
|
|
50796
|
-
tool: async (client,
|
|
50797
|
-
const [result, apiCall] = await pendleSellPt(client,
|
|
50308
|
+
args: args45,
|
|
50309
|
+
tool: async (client, args46, ctx) => {
|
|
50310
|
+
const [result, apiCall] = await pendleSellPt(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50798
50311
|
if (!result.ok) {
|
|
50799
50312
|
return {
|
|
50800
50313
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50882,12 +50395,12 @@ var init_pendleSellYt = __esm(() => {
|
|
|
50882
50395
|
});
|
|
50883
50396
|
|
|
50884
50397
|
// src/mcp-server/tools/pendleSellYt.ts
|
|
50885
|
-
var
|
|
50398
|
+
var args46, tool$pendleSellYt;
|
|
50886
50399
|
var init_pendleSellYt2 = __esm(() => {
|
|
50887
50400
|
init_pendleSellYt();
|
|
50888
50401
|
init_components();
|
|
50889
50402
|
init_tools();
|
|
50890
|
-
|
|
50403
|
+
args46 = {
|
|
50891
50404
|
request: PendleSellYtRequest$inboundSchema
|
|
50892
50405
|
};
|
|
50893
50406
|
tool$pendleSellYt = {
|
|
@@ -50903,9 +50416,9 @@ Sell Yield Token (YT) for the market's Underlying Token.
|
|
|
50903
50416
|
- \`PendleRouter\`
|
|
50904
50417
|
</Info>
|
|
50905
50418
|
`,
|
|
50906
|
-
args:
|
|
50907
|
-
tool: async (client,
|
|
50908
|
-
const [result, apiCall] = await pendleSellYt(client,
|
|
50419
|
+
args: args46,
|
|
50420
|
+
tool: async (client, args47, ctx) => {
|
|
50421
|
+
const [result, apiCall] = await pendleSellYt(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50909
50422
|
if (!result.ok) {
|
|
50910
50423
|
return {
|
|
50911
50424
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50993,12 +50506,12 @@ var init_skyBuy = __esm(() => {
|
|
|
50993
50506
|
});
|
|
50994
50507
|
|
|
50995
50508
|
// src/mcp-server/tools/skyBuy.ts
|
|
50996
|
-
var
|
|
50509
|
+
var args47, tool$skyBuy;
|
|
50997
50510
|
var init_skyBuy2 = __esm(() => {
|
|
50998
50511
|
init_skyBuy();
|
|
50999
50512
|
init_components();
|
|
51000
50513
|
init_tools();
|
|
51001
|
-
|
|
50514
|
+
args47 = {
|
|
51002
50515
|
request: SkyBuyRequest$inboundSchema
|
|
51003
50516
|
};
|
|
51004
50517
|
tool$skyBuy = {
|
|
@@ -51020,9 +50533,9 @@ If buying with USDC, user will need to set an allowance on the USDC contract for
|
|
|
51020
50533
|
- \`SkyUsdcUsdsConverter\`
|
|
51021
50534
|
</Info>
|
|
51022
50535
|
`,
|
|
51023
|
-
args:
|
|
51024
|
-
tool: async (client,
|
|
51025
|
-
const [result, apiCall] = await skyBuy(client,
|
|
50536
|
+
args: args47,
|
|
50537
|
+
tool: async (client, args48, ctx) => {
|
|
50538
|
+
const [result, apiCall] = await skyBuy(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51026
50539
|
if (!result.ok) {
|
|
51027
50540
|
return {
|
|
51028
50541
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51110,12 +50623,12 @@ var init_skyDeposit = __esm(() => {
|
|
|
51110
50623
|
});
|
|
51111
50624
|
|
|
51112
50625
|
// src/mcp-server/tools/skyDeposit.ts
|
|
51113
|
-
var
|
|
50626
|
+
var args48, tool$skyDeposit;
|
|
51114
50627
|
var init_skyDeposit2 = __esm(() => {
|
|
51115
50628
|
init_skyDeposit();
|
|
51116
50629
|
init_components();
|
|
51117
50630
|
init_tools();
|
|
51118
|
-
|
|
50631
|
+
args48 = {
|
|
51119
50632
|
request: SkyDepositRequest$inboundSchema
|
|
51120
50633
|
};
|
|
51121
50634
|
tool$skyDeposit = {
|
|
@@ -51135,9 +50648,9 @@ There are no fees.
|
|
|
51135
50648
|
- \`SkyUsdsVault\`
|
|
51136
50649
|
</Info>
|
|
51137
50650
|
`,
|
|
51138
|
-
args:
|
|
51139
|
-
tool: async (client,
|
|
51140
|
-
const [result, apiCall] = await skyDeposit(client,
|
|
50651
|
+
args: args48,
|
|
50652
|
+
tool: async (client, args49, ctx) => {
|
|
50653
|
+
const [result, apiCall] = await skyDeposit(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51141
50654
|
if (!result.ok) {
|
|
51142
50655
|
return {
|
|
51143
50656
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51230,12 +50743,12 @@ var init_skyPosition = __esm(() => {
|
|
|
51230
50743
|
});
|
|
51231
50744
|
|
|
51232
50745
|
// src/mcp-server/tools/skyPosition.ts
|
|
51233
|
-
var
|
|
50746
|
+
var args49, tool$skyPosition;
|
|
51234
50747
|
var init_skyPosition2 = __esm(() => {
|
|
51235
50748
|
init_skyPosition();
|
|
51236
50749
|
init_operations();
|
|
51237
50750
|
init_tools();
|
|
51238
|
-
|
|
50751
|
+
args49 = {
|
|
51239
50752
|
request: SkyPositionRequest$inboundSchema
|
|
51240
50753
|
};
|
|
51241
50754
|
tool$skyPosition = {
|
|
@@ -51243,9 +50756,9 @@ var init_skyPosition2 = __esm(() => {
|
|
|
51243
50756
|
description: `Check USDS Position
|
|
51244
50757
|
|
|
51245
50758
|
Check the USDS overall position.`,
|
|
51246
|
-
args:
|
|
51247
|
-
tool: async (client,
|
|
51248
|
-
const [result, apiCall] = await skyPosition(client,
|
|
50759
|
+
args: args49,
|
|
50760
|
+
tool: async (client, args50, ctx) => {
|
|
50761
|
+
const [result, apiCall] = await skyPosition(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51249
50762
|
if (!result.ok) {
|
|
51250
50763
|
return {
|
|
51251
50764
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51333,12 +50846,12 @@ var init_skySell = __esm(() => {
|
|
|
51333
50846
|
});
|
|
51334
50847
|
|
|
51335
50848
|
// src/mcp-server/tools/skySell.ts
|
|
51336
|
-
var
|
|
50849
|
+
var args50, tool$skySell;
|
|
51337
50850
|
var init_skySell2 = __esm(() => {
|
|
51338
50851
|
init_skySell();
|
|
51339
50852
|
init_components();
|
|
51340
50853
|
init_tools();
|
|
51341
|
-
|
|
50854
|
+
args50 = {
|
|
51342
50855
|
request: SkySellRequest$inboundSchema
|
|
51343
50856
|
};
|
|
51344
50857
|
tool$skySell = {
|
|
@@ -51360,9 +50873,9 @@ If swapping to USDC, user will need to set an allowance on the USDS contract for
|
|
|
51360
50873
|
- \`SkyUsdcUsdsConverter\`
|
|
51361
50874
|
</Info>
|
|
51362
50875
|
`,
|
|
51363
|
-
args:
|
|
51364
|
-
tool: async (client,
|
|
51365
|
-
const [result, apiCall] = await skySell(client,
|
|
50876
|
+
args: args50,
|
|
50877
|
+
tool: async (client, args51, ctx) => {
|
|
50878
|
+
const [result, apiCall] = await skySell(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51366
50879
|
if (!result.ok) {
|
|
51367
50880
|
return {
|
|
51368
50881
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51450,12 +50963,12 @@ var init_skyWithdraw = __esm(() => {
|
|
|
51450
50963
|
});
|
|
51451
50964
|
|
|
51452
50965
|
// src/mcp-server/tools/skyWithdraw.ts
|
|
51453
|
-
var
|
|
50966
|
+
var args51, tool$skyWithdraw;
|
|
51454
50967
|
var init_skyWithdraw2 = __esm(() => {
|
|
51455
50968
|
init_skyWithdraw();
|
|
51456
50969
|
init_components();
|
|
51457
50970
|
init_tools();
|
|
51458
|
-
|
|
50971
|
+
args51 = {
|
|
51459
50972
|
request: SkyWithdrawRequest$inboundSchema
|
|
51460
50973
|
};
|
|
51461
50974
|
tool$skyWithdraw = {
|
|
@@ -51476,9 +50989,9 @@ There are no fees.
|
|
|
51476
50989
|
- \`SkyUsdsVault\`
|
|
51477
50990
|
</Info>
|
|
51478
50991
|
`,
|
|
51479
|
-
args:
|
|
51480
|
-
tool: async (client,
|
|
51481
|
-
const [result, apiCall] = await skyWithdraw(client,
|
|
50992
|
+
args: args51,
|
|
50993
|
+
tool: async (client, args52, ctx) => {
|
|
50994
|
+
const [result, apiCall] = await skyWithdraw(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51482
50995
|
if (!result.ok) {
|
|
51483
50996
|
return {
|
|
51484
50997
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51566,12 +51079,12 @@ var init_smartAccountAccountBatchedUserOperations = __esm(() => {
|
|
|
51566
51079
|
});
|
|
51567
51080
|
|
|
51568
51081
|
// src/mcp-server/tools/smartAccountAccountBatchedUserOperations.ts
|
|
51569
|
-
var
|
|
51082
|
+
var args52, tool$smartAccountAccountBatchedUserOperations;
|
|
51570
51083
|
var init_smartAccountAccountBatchedUserOperations2 = __esm(() => {
|
|
51571
51084
|
init_smartAccountAccountBatchedUserOperations();
|
|
51572
51085
|
init_components();
|
|
51573
51086
|
init_tools();
|
|
51574
|
-
|
|
51087
|
+
args52 = {
|
|
51575
51088
|
request: BatchedUserOperationsRequest$inboundSchema
|
|
51576
51089
|
};
|
|
51577
51090
|
tool$smartAccountAccountBatchedUserOperations = {
|
|
@@ -51579,9 +51092,9 @@ var init_smartAccountAccountBatchedUserOperations2 = __esm(() => {
|
|
|
51579
51092
|
description: `Get Smart Account Batched User Operations
|
|
51580
51093
|
|
|
51581
51094
|
Generate a list of user operations for smart account batching.`,
|
|
51582
|
-
args:
|
|
51583
|
-
tool: async (client,
|
|
51584
|
-
const [result, apiCall] = await smartAccountAccountBatchedUserOperations(client,
|
|
51095
|
+
args: args52,
|
|
51096
|
+
tool: async (client, args53, ctx) => {
|
|
51097
|
+
const [result, apiCall] = await smartAccountAccountBatchedUserOperations(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51585
51098
|
if (!result.ok) {
|
|
51586
51099
|
return {
|
|
51587
51100
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51669,12 +51182,12 @@ var init_swapOdos = __esm(() => {
|
|
|
51669
51182
|
});
|
|
51670
51183
|
|
|
51671
51184
|
// src/mcp-server/tools/swapOdos.ts
|
|
51672
|
-
var
|
|
51185
|
+
var args53, tool$swapOdos;
|
|
51673
51186
|
var init_swapOdos2 = __esm(() => {
|
|
51674
51187
|
init_swapOdos();
|
|
51675
51188
|
init_components();
|
|
51676
51189
|
init_tools();
|
|
51677
|
-
|
|
51190
|
+
args53 = {
|
|
51678
51191
|
request: OdosSwapRequest$inboundSchema
|
|
51679
51192
|
};
|
|
51680
51193
|
tool$swapOdos = {
|
|
@@ -51690,9 +51203,9 @@ Swap between two tokens using Odos Smart Order Routing.
|
|
|
51690
51203
|
- \`OdosRouter\`
|
|
51691
51204
|
</Info>
|
|
51692
51205
|
`,
|
|
51693
|
-
args:
|
|
51694
|
-
tool: async (client,
|
|
51695
|
-
const [result, apiCall] = await swapOdos(client,
|
|
51206
|
+
args: args53,
|
|
51207
|
+
tool: async (client, args54, ctx) => {
|
|
51208
|
+
const [result, apiCall] = await swapOdos(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51696
51209
|
if (!result.ok) {
|
|
51697
51210
|
return {
|
|
51698
51211
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51785,12 +51298,12 @@ var init_tokenAddress = __esm(() => {
|
|
|
51785
51298
|
});
|
|
51786
51299
|
|
|
51787
51300
|
// src/mcp-server/tools/tokenAddress.ts
|
|
51788
|
-
var
|
|
51301
|
+
var args54, tool$tokenAddress;
|
|
51789
51302
|
var init_tokenAddress2 = __esm(() => {
|
|
51790
51303
|
init_tokenAddress();
|
|
51791
51304
|
init_operations();
|
|
51792
51305
|
init_tools();
|
|
51793
|
-
|
|
51306
|
+
args54 = {
|
|
51794
51307
|
request: TokenAddressRequest$inboundSchema
|
|
51795
51308
|
};
|
|
51796
51309
|
tool$tokenAddress = {
|
|
@@ -51798,9 +51311,9 @@ var init_tokenAddress2 = __esm(() => {
|
|
|
51798
51311
|
description: `Token Address
|
|
51799
51312
|
|
|
51800
51313
|
This endpoint retrieves the address for a token supported by us.`,
|
|
51801
|
-
args:
|
|
51802
|
-
tool: async (client,
|
|
51803
|
-
const [result, apiCall] = await tokenAddress(client,
|
|
51314
|
+
args: args54,
|
|
51315
|
+
tool: async (client, args55, ctx) => {
|
|
51316
|
+
const [result, apiCall] = await tokenAddress(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51804
51317
|
if (!result.ok) {
|
|
51805
51318
|
return {
|
|
51806
51319
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51894,12 +51407,12 @@ var init_tokenBalance = __esm(() => {
|
|
|
51894
51407
|
});
|
|
51895
51408
|
|
|
51896
51409
|
// src/mcp-server/tools/tokenBalance.ts
|
|
51897
|
-
var
|
|
51410
|
+
var args55, tool$tokenBalance;
|
|
51898
51411
|
var init_tokenBalance2 = __esm(() => {
|
|
51899
51412
|
init_tokenBalance();
|
|
51900
51413
|
init_operations();
|
|
51901
51414
|
init_tools();
|
|
51902
|
-
|
|
51415
|
+
args55 = {
|
|
51903
51416
|
request: TokenBalanceRequest$inboundSchema
|
|
51904
51417
|
};
|
|
51905
51418
|
tool$tokenBalance = {
|
|
@@ -51907,9 +51420,9 @@ var init_tokenBalance2 = __esm(() => {
|
|
|
51907
51420
|
description: `Token Balance
|
|
51908
51421
|
|
|
51909
51422
|
Returns the balance of a specific ERC20 token for a given user address.`,
|
|
51910
|
-
args:
|
|
51911
|
-
tool: async (client,
|
|
51912
|
-
const [result, apiCall] = await tokenBalance(client,
|
|
51423
|
+
args: args55,
|
|
51424
|
+
tool: async (client, args56, ctx) => {
|
|
51425
|
+
const [result, apiCall] = await tokenBalance(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51913
51426
|
if (!result.ok) {
|
|
51914
51427
|
return {
|
|
51915
51428
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52003,12 +51516,12 @@ var init_tokenPrice = __esm(() => {
|
|
|
52003
51516
|
});
|
|
52004
51517
|
|
|
52005
51518
|
// src/mcp-server/tools/tokenPrice.ts
|
|
52006
|
-
var
|
|
51519
|
+
var args56, tool$tokenPrice;
|
|
52007
51520
|
var init_tokenPrice2 = __esm(() => {
|
|
52008
51521
|
init_tokenPrice();
|
|
52009
51522
|
init_operations();
|
|
52010
51523
|
init_tools();
|
|
52011
|
-
|
|
51524
|
+
args56 = {
|
|
52012
51525
|
request: TokenPriceRequest$inboundSchema
|
|
52013
51526
|
};
|
|
52014
51527
|
tool$tokenPrice = {
|
|
@@ -52020,9 +51533,9 @@ Retrieves the price of a token in USD using Chainlink's on-chain price feeds.
|
|
|
52020
51533
|
Chainlink is a decentralized oracle that aggregates price data from off-chain
|
|
52021
51534
|
sources. This ensures the price is tamper-resistant but the price might be stale
|
|
52022
51535
|
with the update frequency of the oracle.`,
|
|
52023
|
-
args:
|
|
52024
|
-
tool: async (client,
|
|
52025
|
-
const [result, apiCall] = await tokenPrice(client,
|
|
51536
|
+
args: args56,
|
|
51537
|
+
tool: async (client, args57, ctx) => {
|
|
51538
|
+
const [result, apiCall] = await tokenPrice(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52026
51539
|
if (!result.ok) {
|
|
52027
51540
|
return {
|
|
52028
51541
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52110,12 +51623,12 @@ var init_tokenTransfer = __esm(() => {
|
|
|
52110
51623
|
});
|
|
52111
51624
|
|
|
52112
51625
|
// src/mcp-server/tools/tokenTransfer.ts
|
|
52113
|
-
var
|
|
51626
|
+
var args57, tool$tokenTransfer;
|
|
52114
51627
|
var init_tokenTransfer2 = __esm(() => {
|
|
52115
51628
|
init_tokenTransfer();
|
|
52116
51629
|
init_components();
|
|
52117
51630
|
init_tools();
|
|
52118
|
-
|
|
51631
|
+
args57 = {
|
|
52119
51632
|
request: TokenTransferRequest$inboundSchema
|
|
52120
51633
|
};
|
|
52121
51634
|
tool$tokenTransfer = {
|
|
@@ -52123,9 +51636,9 @@ var init_tokenTransfer2 = __esm(() => {
|
|
|
52123
51636
|
description: `Transfer ETH or ERC20 Tokens
|
|
52124
51637
|
|
|
52125
51638
|
Sends native ETH or ERC20 tokens from the sender's address to another address.`,
|
|
52126
|
-
args:
|
|
52127
|
-
tool: async (client,
|
|
52128
|
-
const [result, apiCall] = await tokenTransfer(client,
|
|
51639
|
+
args: args57,
|
|
51640
|
+
tool: async (client, args58, ctx) => {
|
|
51641
|
+
const [result, apiCall] = await tokenTransfer(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52129
51642
|
if (!result.ok) {
|
|
52130
51643
|
return {
|
|
52131
51644
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52213,12 +51726,12 @@ var init_transactionBundlerBundlerAaveLoop = __esm(() => {
|
|
|
52213
51726
|
});
|
|
52214
51727
|
|
|
52215
51728
|
// src/mcp-server/tools/transactionBundlerBundlerAaveLoop.ts
|
|
52216
|
-
var
|
|
51729
|
+
var args58, tool$transactionBundlerBundlerAaveLoop;
|
|
52217
51730
|
var init_transactionBundlerBundlerAaveLoop2 = __esm(() => {
|
|
52218
51731
|
init_transactionBundlerBundlerAaveLoop();
|
|
52219
51732
|
init_components();
|
|
52220
51733
|
init_tools();
|
|
52221
|
-
|
|
51734
|
+
args58 = {
|
|
52222
51735
|
request: AaveLoopRequest$inboundSchema
|
|
52223
51736
|
};
|
|
52224
51737
|
tool$transactionBundlerBundlerAaveLoop = {
|
|
@@ -52236,9 +51749,9 @@ This endpoint creates a multicall transaction that performs a series of operatio
|
|
|
52236
51749
|
- Supplies the swapped tokens
|
|
52237
51750
|
|
|
52238
51751
|
The transaction must be authorized using the /authorization endpoint to prevent replay attacks.`,
|
|
52239
|
-
args:
|
|
52240
|
-
tool: async (client,
|
|
52241
|
-
const [result, apiCall] = await transactionBundlerBundlerAaveLoop(client,
|
|
51752
|
+
args: args58,
|
|
51753
|
+
tool: async (client, args59, ctx) => {
|
|
51754
|
+
const [result, apiCall] = await transactionBundlerBundlerAaveLoop(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52242
51755
|
if (!result.ok) {
|
|
52243
51756
|
return {
|
|
52244
51757
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52326,12 +51839,12 @@ var init_transactionBundlerBundlerAuthorization = __esm(() => {
|
|
|
52326
51839
|
});
|
|
52327
51840
|
|
|
52328
51841
|
// src/mcp-server/tools/transactionBundlerBundlerAuthorization.ts
|
|
52329
|
-
var
|
|
51842
|
+
var args59, tool$transactionBundlerBundlerAuthorization;
|
|
52330
51843
|
var init_transactionBundlerBundlerAuthorization2 = __esm(() => {
|
|
52331
51844
|
init_transactionBundlerBundlerAuthorization();
|
|
52332
51845
|
init_components();
|
|
52333
51846
|
init_tools();
|
|
52334
|
-
|
|
51847
|
+
args59 = {
|
|
52335
51848
|
request: MulticallAuthorizationRequest$inboundSchema
|
|
52336
51849
|
};
|
|
52337
51850
|
tool$transactionBundlerBundlerAuthorization = {
|
|
@@ -52344,9 +51857,9 @@ Currently this is required for every transaction bundle to prevent replay attack
|
|
|
52344
51857
|
and ensure transaction ordering when batching multiple actions into a single
|
|
52345
51858
|
transaction. The authorization includes a nonce and chain ID to guarantee
|
|
52346
51859
|
transaction uniqueness and proper network targeting.`,
|
|
52347
|
-
args:
|
|
52348
|
-
tool: async (client,
|
|
52349
|
-
const [result, apiCall] = await transactionBundlerBundlerAuthorization(client,
|
|
51860
|
+
args: args59,
|
|
51861
|
+
tool: async (client, args60, ctx) => {
|
|
51862
|
+
const [result, apiCall] = await transactionBundlerBundlerAuthorization(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52350
51863
|
if (!result.ok) {
|
|
52351
51864
|
return {
|
|
52352
51865
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52434,12 +51947,12 @@ var init_transactionBundlerBundlerExecute = __esm(() => {
|
|
|
52434
51947
|
});
|
|
52435
51948
|
|
|
52436
51949
|
// src/mcp-server/tools/transactionBundlerBundlerExecute.ts
|
|
52437
|
-
var
|
|
51950
|
+
var args60, tool$transactionBundlerBundlerExecute;
|
|
52438
51951
|
var init_transactionBundlerBundlerExecute2 = __esm(() => {
|
|
52439
51952
|
init_transactionBundlerBundlerExecute();
|
|
52440
51953
|
init_components();
|
|
52441
51954
|
init_tools();
|
|
52442
|
-
|
|
51955
|
+
args60 = {
|
|
52443
51956
|
request: MulticallExecuteRequest$inboundSchema
|
|
52444
51957
|
};
|
|
52445
51958
|
tool$transactionBundlerBundlerExecute = {
|
|
@@ -52453,9 +51966,9 @@ This endpoint allows bundling multiple contract calls into a single atomic
|
|
|
52453
51966
|
transaction, reducing gas costs and ensuring all operations succeed or fail
|
|
52454
51967
|
together. The transaction must be authorized using the /authorization endpoint to
|
|
52455
51968
|
prevent replay attacks.`,
|
|
52456
|
-
args:
|
|
52457
|
-
tool: async (client,
|
|
52458
|
-
const [result, apiCall] = await transactionBundlerBundlerExecute(client,
|
|
51969
|
+
args: args60,
|
|
51970
|
+
tool: async (client, args61, ctx) => {
|
|
51971
|
+
const [result, apiCall] = await transactionBundlerBundlerExecute(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52459
51972
|
if (!result.ok) {
|
|
52460
51973
|
return {
|
|
52461
51974
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52543,12 +52056,12 @@ var init_uniswapV3LiquidityProvisionIncrease = __esm(() => {
|
|
|
52543
52056
|
});
|
|
52544
52057
|
|
|
52545
52058
|
// src/mcp-server/tools/uniswapV3LiquidityProvisionIncrease.ts
|
|
52546
|
-
var
|
|
52059
|
+
var args61, tool$uniswapV3LiquidityProvisionIncrease;
|
|
52547
52060
|
var init_uniswapV3LiquidityProvisionIncrease2 = __esm(() => {
|
|
52548
52061
|
init_uniswapV3LiquidityProvisionIncrease();
|
|
52549
52062
|
init_components();
|
|
52550
52063
|
init_tools();
|
|
52551
|
-
|
|
52064
|
+
args61 = {
|
|
52552
52065
|
request: UniswapIncreaseLiquidityProvisionRequest$inboundSchema
|
|
52553
52066
|
};
|
|
52554
52067
|
tool$uniswapV3LiquidityProvisionIncrease = {
|
|
@@ -52572,9 +52085,9 @@ process.
|
|
|
52572
52085
|
- \`AerodromeSlipstreamRouter\`
|
|
52573
52086
|
</Info>
|
|
52574
52087
|
`,
|
|
52575
|
-
args:
|
|
52576
|
-
tool: async (client,
|
|
52577
|
-
const [result, apiCall] = await uniswapV3LiquidityProvisionIncrease(client,
|
|
52088
|
+
args: args61,
|
|
52089
|
+
tool: async (client, args62, ctx) => {
|
|
52090
|
+
const [result, apiCall] = await uniswapV3LiquidityProvisionIncrease(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52578
52091
|
if (!result.ok) {
|
|
52579
52092
|
return {
|
|
52580
52093
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52667,12 +52180,12 @@ var init_uniswapV3LiquidityProvisionInRange = __esm(() => {
|
|
|
52667
52180
|
});
|
|
52668
52181
|
|
|
52669
52182
|
// src/mcp-server/tools/uniswapV3LiquidityProvisionInRange.ts
|
|
52670
|
-
var
|
|
52183
|
+
var args62, tool$uniswapV3LiquidityProvisionInRange;
|
|
52671
52184
|
var init_uniswapV3LiquidityProvisionInRange2 = __esm(() => {
|
|
52672
52185
|
init_uniswapV3LiquidityProvisionInRange();
|
|
52673
52186
|
init_operations();
|
|
52674
52187
|
init_tools();
|
|
52675
|
-
|
|
52188
|
+
args62 = {
|
|
52676
52189
|
request: UniswapLiquidityProvisionInRangeRequest$inboundSchema
|
|
52677
52190
|
};
|
|
52678
52191
|
tool$uniswapV3LiquidityProvisionInRange = {
|
|
@@ -52687,9 +52200,9 @@ position is currently within the tick range where trading occurs. this informati
|
|
|
52687
52200
|
is essential for users to monitor the status of their lp positions and ensure that
|
|
52688
52201
|
they are actively participating in the trading activities within the liquidity pool
|
|
52689
52202
|
and earning trading fees.`,
|
|
52690
|
-
args:
|
|
52691
|
-
tool: async (client,
|
|
52692
|
-
const [result, apiCall] = await uniswapV3LiquidityProvisionInRange(client,
|
|
52203
|
+
args: args62,
|
|
52204
|
+
tool: async (client, args63, ctx) => {
|
|
52205
|
+
const [result, apiCall] = await uniswapV3LiquidityProvisionInRange(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52693
52206
|
if (!result.ok) {
|
|
52694
52207
|
return {
|
|
52695
52208
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52777,12 +52290,12 @@ var init_uniswapV3LiquidityProvisionMint = __esm(() => {
|
|
|
52777
52290
|
});
|
|
52778
52291
|
|
|
52779
52292
|
// src/mcp-server/tools/uniswapV3LiquidityProvisionMint.ts
|
|
52780
|
-
var
|
|
52293
|
+
var args63, tool$uniswapV3LiquidityProvisionMint;
|
|
52781
52294
|
var init_uniswapV3LiquidityProvisionMint2 = __esm(() => {
|
|
52782
52295
|
init_uniswapV3LiquidityProvisionMint();
|
|
52783
52296
|
init_components();
|
|
52784
52297
|
init_tools();
|
|
52785
|
-
|
|
52298
|
+
args63 = {
|
|
52786
52299
|
request: UniswapMintLiquidityProvisionRequest$inboundSchema
|
|
52787
52300
|
};
|
|
52788
52301
|
tool$uniswapV3LiquidityProvisionMint = {
|
|
@@ -52806,9 +52319,9 @@ needed for the minting process.
|
|
|
52806
52319
|
- \`UniswapV3NFTPositionManager\`
|
|
52807
52320
|
</Info>
|
|
52808
52321
|
`,
|
|
52809
|
-
args:
|
|
52810
|
-
tool: async (client,
|
|
52811
|
-
const [result, apiCall] = await uniswapV3LiquidityProvisionMint(client,
|
|
52322
|
+
args: args63,
|
|
52323
|
+
tool: async (client, args64, ctx) => {
|
|
52324
|
+
const [result, apiCall] = await uniswapV3LiquidityProvisionMint(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52812
52325
|
if (!result.ok) {
|
|
52813
52326
|
return {
|
|
52814
52327
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52901,12 +52414,12 @@ var init_uniswapV3LiquidityProvisionPositions = __esm(() => {
|
|
|
52901
52414
|
});
|
|
52902
52415
|
|
|
52903
52416
|
// src/mcp-server/tools/uniswapV3LiquidityProvisionPositions.ts
|
|
52904
|
-
var
|
|
52417
|
+
var args64, tool$uniswapV3LiquidityProvisionPositions;
|
|
52905
52418
|
var init_uniswapV3LiquidityProvisionPositions2 = __esm(() => {
|
|
52906
52419
|
init_uniswapV3LiquidityProvisionPositions();
|
|
52907
52420
|
init_operations();
|
|
52908
52421
|
init_tools();
|
|
52909
|
-
|
|
52422
|
+
args64 = {
|
|
52910
52423
|
request: UniswapLiquidityProvisionPositionsRequest$inboundSchema
|
|
52911
52424
|
};
|
|
52912
52425
|
tool$uniswapV3LiquidityProvisionPositions = {
|
|
@@ -52920,9 +52433,9 @@ Users can query this endpoint to obtain detailed information about their LP
|
|
|
52920
52433
|
positions, including the total number of positions and relevant metadata. This
|
|
52921
52434
|
information is crucial for users to manage and analyze their liquidity provision
|
|
52922
52435
|
activities effectively.`,
|
|
52923
|
-
args:
|
|
52924
|
-
tool: async (client,
|
|
52925
|
-
const [result, apiCall] = await uniswapV3LiquidityProvisionPositions(client,
|
|
52436
|
+
args: args64,
|
|
52437
|
+
tool: async (client, args65, ctx) => {
|
|
52438
|
+
const [result, apiCall] = await uniswapV3LiquidityProvisionPositions(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52926
52439
|
if (!result.ok) {
|
|
52927
52440
|
return {
|
|
52928
52441
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53010,12 +52523,12 @@ var init_uniswapV3LiquidityProvisionWithdraw = __esm(() => {
|
|
|
53010
52523
|
});
|
|
53011
52524
|
|
|
53012
52525
|
// src/mcp-server/tools/uniswapV3LiquidityProvisionWithdraw.ts
|
|
53013
|
-
var
|
|
52526
|
+
var args65, tool$uniswapV3LiquidityProvisionWithdraw;
|
|
53014
52527
|
var init_uniswapV3LiquidityProvisionWithdraw2 = __esm(() => {
|
|
53015
52528
|
init_uniswapV3LiquidityProvisionWithdraw();
|
|
53016
52529
|
init_components();
|
|
53017
52530
|
init_tools();
|
|
53018
|
-
|
|
52531
|
+
args65 = {
|
|
53019
52532
|
request: UniswapWithdrawLiquidityProvisionRequest$inboundSchema
|
|
53020
52533
|
};
|
|
53021
52534
|
tool$uniswapV3LiquidityProvisionWithdraw = {
|
|
@@ -53040,9 +52553,9 @@ before initiating a withdrawal to avoid potential issues or penalties.
|
|
|
53040
52553
|
- \`UniswapV3NFTPositionManager\`
|
|
53041
52554
|
</Info>
|
|
53042
52555
|
`,
|
|
53043
|
-
args:
|
|
53044
|
-
tool: async (client,
|
|
53045
|
-
const [result, apiCall] = await uniswapV3LiquidityProvisionWithdraw(client,
|
|
52556
|
+
args: args65,
|
|
52557
|
+
tool: async (client, args66, ctx) => {
|
|
52558
|
+
const [result, apiCall] = await uniswapV3LiquidityProvisionWithdraw(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53046
52559
|
if (!result.ok) {
|
|
53047
52560
|
return {
|
|
53048
52561
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53137,12 +52650,12 @@ var init_uniswapV3PoolPrice = __esm(() => {
|
|
|
53137
52650
|
});
|
|
53138
52651
|
|
|
53139
52652
|
// src/mcp-server/tools/uniswapV3PoolPrice.ts
|
|
53140
|
-
var
|
|
52653
|
+
var args66, tool$uniswapV3PoolPrice;
|
|
53141
52654
|
var init_uniswapV3PoolPrice2 = __esm(() => {
|
|
53142
52655
|
init_uniswapV3PoolPrice();
|
|
53143
52656
|
init_operations();
|
|
53144
52657
|
init_tools();
|
|
53145
|
-
|
|
52658
|
+
args66 = {
|
|
53146
52659
|
request: UniswapPoolPriceRequest$inboundSchema
|
|
53147
52660
|
};
|
|
53148
52661
|
tool$uniswapV3PoolPrice = {
|
|
@@ -53152,9 +52665,9 @@ var init_uniswapV3PoolPrice2 = __esm(() => {
|
|
|
53152
52665
|
This endpoint calculates the price of a token in a Uniswap pool.
|
|
53153
52666
|
|
|
53154
52667
|
The price is calculated based on the current pool state and the specified fee tier.`,
|
|
53155
|
-
args:
|
|
53156
|
-
tool: async (client,
|
|
53157
|
-
const [result, apiCall] = await uniswapV3PoolPrice(client,
|
|
52668
|
+
args: args66,
|
|
52669
|
+
tool: async (client, args67, ctx) => {
|
|
52670
|
+
const [result, apiCall] = await uniswapV3PoolPrice(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53158
52671
|
if (!result.ok) {
|
|
53159
52672
|
return {
|
|
53160
52673
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53250,12 +52763,12 @@ var init_uniswapV3QuoteBuyExactly = __esm(() => {
|
|
|
53250
52763
|
});
|
|
53251
52764
|
|
|
53252
52765
|
// src/mcp-server/tools/uniswapV3QuoteBuyExactly.ts
|
|
53253
|
-
var
|
|
52766
|
+
var args67, tool$uniswapV3QuoteBuyExactly;
|
|
53254
52767
|
var init_uniswapV3QuoteBuyExactly2 = __esm(() => {
|
|
53255
52768
|
init_uniswapV3QuoteBuyExactly();
|
|
53256
52769
|
init_operations();
|
|
53257
52770
|
init_tools();
|
|
53258
|
-
|
|
52771
|
+
args67 = {
|
|
53259
52772
|
request: UniswapQuoteBuyExactlyRequest$inboundSchema
|
|
53260
52773
|
};
|
|
53261
52774
|
tool$uniswapV3QuoteBuyExactly = {
|
|
@@ -53267,9 +52780,9 @@ specified amount of output tokens from a Uniswap pool.
|
|
|
53267
52780
|
|
|
53268
52781
|
It also provides the resulting price after the transaction. The calculation takes
|
|
53269
52782
|
into account the current pool state and the specified fee tier.`,
|
|
53270
|
-
args:
|
|
53271
|
-
tool: async (client,
|
|
53272
|
-
const [result, apiCall] = await uniswapV3QuoteBuyExactly(client,
|
|
52783
|
+
args: args67,
|
|
52784
|
+
tool: async (client, args68, ctx) => {
|
|
52785
|
+
const [result, apiCall] = await uniswapV3QuoteBuyExactly(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53273
52786
|
if (!result.ok) {
|
|
53274
52787
|
return {
|
|
53275
52788
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53365,12 +52878,12 @@ var init_uniswapV3QuoteSellExactly = __esm(() => {
|
|
|
53365
52878
|
});
|
|
53366
52879
|
|
|
53367
52880
|
// src/mcp-server/tools/uniswapV3QuoteSellExactly.ts
|
|
53368
|
-
var
|
|
52881
|
+
var args68, tool$uniswapV3QuoteSellExactly;
|
|
53369
52882
|
var init_uniswapV3QuoteSellExactly2 = __esm(() => {
|
|
53370
52883
|
init_uniswapV3QuoteSellExactly();
|
|
53371
52884
|
init_operations();
|
|
53372
52885
|
init_tools();
|
|
53373
|
-
|
|
52886
|
+
args68 = {
|
|
53374
52887
|
request: UniswapQuoteSellExactlyRequest$inboundSchema
|
|
53375
52888
|
};
|
|
53376
52889
|
tool$uniswapV3QuoteSellExactly = {
|
|
@@ -53382,9 +52895,9 @@ specified amount of output tokens from a Uniswap pool.
|
|
|
53382
52895
|
|
|
53383
52896
|
It also provides the resulting price after the transaction. The calculation takes
|
|
53384
52897
|
into account the current pool state and the specified fee tier.`,
|
|
53385
|
-
args:
|
|
53386
|
-
tool: async (client,
|
|
53387
|
-
const [result, apiCall] = await uniswapV3QuoteSellExactly(client,
|
|
52898
|
+
args: args68,
|
|
52899
|
+
tool: async (client, args69, ctx) => {
|
|
52900
|
+
const [result, apiCall] = await uniswapV3QuoteSellExactly(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53388
52901
|
if (!result.ok) {
|
|
53389
52902
|
return {
|
|
53390
52903
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53472,12 +52985,12 @@ var init_uniswapV3SwapBuyExactly = __esm(() => {
|
|
|
53472
52985
|
});
|
|
53473
52986
|
|
|
53474
52987
|
// src/mcp-server/tools/uniswapV3SwapBuyExactly.ts
|
|
53475
|
-
var
|
|
52988
|
+
var args69, tool$uniswapV3SwapBuyExactly;
|
|
53476
52989
|
var init_uniswapV3SwapBuyExactly2 = __esm(() => {
|
|
53477
52990
|
init_uniswapV3SwapBuyExactly();
|
|
53478
52991
|
init_components();
|
|
53479
52992
|
init_tools();
|
|
53480
|
-
|
|
52993
|
+
args69 = {
|
|
53481
52994
|
request: UniswapBuyExactlyRequest$inboundSchema
|
|
53482
52995
|
};
|
|
53483
52996
|
tool$uniswapV3SwapBuyExactly = {
|
|
@@ -53499,9 +53012,9 @@ needs to be wrapped, the appropriate amount will be wrapped automatically.
|
|
|
53499
53012
|
- \`UniswapV3Router\`
|
|
53500
53013
|
</Info>
|
|
53501
53014
|
`,
|
|
53502
|
-
args:
|
|
53503
|
-
tool: async (client,
|
|
53504
|
-
const [result, apiCall] = await uniswapV3SwapBuyExactly(client,
|
|
53015
|
+
args: args69,
|
|
53016
|
+
tool: async (client, args70, ctx) => {
|
|
53017
|
+
const [result, apiCall] = await uniswapV3SwapBuyExactly(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53505
53018
|
if (!result.ok) {
|
|
53506
53019
|
return {
|
|
53507
53020
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53589,12 +53102,12 @@ var init_uniswapV3SwapSellExactly = __esm(() => {
|
|
|
53589
53102
|
});
|
|
53590
53103
|
|
|
53591
53104
|
// src/mcp-server/tools/uniswapV3SwapSellExactly.ts
|
|
53592
|
-
var
|
|
53105
|
+
var args70, tool$uniswapV3SwapSellExactly;
|
|
53593
53106
|
var init_uniswapV3SwapSellExactly2 = __esm(() => {
|
|
53594
53107
|
init_uniswapV3SwapSellExactly();
|
|
53595
53108
|
init_components();
|
|
53596
53109
|
init_tools();
|
|
53597
|
-
|
|
53110
|
+
args70 = {
|
|
53598
53111
|
request: UniswapSellExactlyRequest$inboundSchema
|
|
53599
53112
|
};
|
|
53600
53113
|
tool$uniswapV3SwapSellExactly = {
|
|
@@ -53616,9 +53129,9 @@ wrapped, the appropriate amount will be wrapped automatically.
|
|
|
53616
53129
|
- \`UniswapV3Router\`
|
|
53617
53130
|
</Info>
|
|
53618
53131
|
`,
|
|
53619
|
-
args:
|
|
53620
|
-
tool: async (client,
|
|
53621
|
-
const [result, apiCall] = await uniswapV3SwapSellExactly(client,
|
|
53132
|
+
args: args70,
|
|
53133
|
+
tool: async (client, args71, ctx) => {
|
|
53134
|
+
const [result, apiCall] = await uniswapV3SwapSellExactly(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53622
53135
|
if (!result.ok) {
|
|
53623
53136
|
return {
|
|
53624
53137
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53713,12 +53226,12 @@ var init_universalAllowance = __esm(() => {
|
|
|
53713
53226
|
});
|
|
53714
53227
|
|
|
53715
53228
|
// src/mcp-server/tools/universalAllowance.ts
|
|
53716
|
-
var
|
|
53229
|
+
var args71, tool$universalAllowance;
|
|
53717
53230
|
var init_universalAllowance2 = __esm(() => {
|
|
53718
53231
|
init_universalAllowance();
|
|
53719
53232
|
init_operations();
|
|
53720
53233
|
init_tools();
|
|
53721
|
-
|
|
53234
|
+
args71 = {
|
|
53722
53235
|
request: GenericAllowanceRequest$inboundSchema
|
|
53723
53236
|
};
|
|
53724
53237
|
tool$universalAllowance = {
|
|
@@ -53732,9 +53245,9 @@ tokens on their behalf.
|
|
|
53732
53245
|
This is a crucial step before engaging in any transactions or operations within
|
|
53733
53246
|
these protocols, ensuring that the protocol has the necessary permissions to manage
|
|
53734
53247
|
the user's tokens securely and efficiently.`,
|
|
53735
|
-
args:
|
|
53736
|
-
tool: async (client,
|
|
53737
|
-
const [result, apiCall] = await universalAllowance(client,
|
|
53248
|
+
args: args71,
|
|
53249
|
+
tool: async (client, args72, ctx) => {
|
|
53250
|
+
const [result, apiCall] = await universalAllowance(client, args72.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53738
53251
|
if (!result.ok) {
|
|
53739
53252
|
return {
|
|
53740
53253
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53822,12 +53335,12 @@ var init_universalAllowanceSet = __esm(() => {
|
|
|
53822
53335
|
});
|
|
53823
53336
|
|
|
53824
53337
|
// src/mcp-server/tools/universalAllowanceSet.ts
|
|
53825
|
-
var
|
|
53338
|
+
var args72, tool$universalAllowanceSet;
|
|
53826
53339
|
var init_universalAllowanceSet2 = __esm(() => {
|
|
53827
53340
|
init_universalAllowanceSet();
|
|
53828
53341
|
init_components();
|
|
53829
53342
|
init_tools();
|
|
53830
|
-
|
|
53343
|
+
args72 = {
|
|
53831
53344
|
request: SetAllowanceRequest$inboundSchema
|
|
53832
53345
|
};
|
|
53833
53346
|
tool$universalAllowanceSet = {
|
|
@@ -53842,9 +53355,9 @@ authorize a protocol to spend a specified amount of tokens on behalf of the user
|
|
|
53842
53355
|
This operation is crucial for ensuring that the protocol can manage the user's
|
|
53843
53356
|
tokens securely and efficiently, enabling seamless transactions and operations
|
|
53844
53357
|
within the DeFi ecosystem.`,
|
|
53845
|
-
args:
|
|
53846
|
-
tool: async (client,
|
|
53847
|
-
const [result, apiCall] = await universalAllowanceSet(client,
|
|
53358
|
+
args: args72,
|
|
53359
|
+
tool: async (client, args73, ctx) => {
|
|
53360
|
+
const [result, apiCall] = await universalAllowanceSet(client, args73.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53848
53361
|
if (!result.ok) {
|
|
53849
53362
|
return {
|
|
53850
53363
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53937,12 +53450,12 @@ var init_universalEns = __esm(() => {
|
|
|
53937
53450
|
});
|
|
53938
53451
|
|
|
53939
53452
|
// src/mcp-server/tools/universalEns.ts
|
|
53940
|
-
var
|
|
53453
|
+
var args73, tool$universalEns;
|
|
53941
53454
|
var init_universalEns2 = __esm(() => {
|
|
53942
53455
|
init_universalEns();
|
|
53943
53456
|
init_operations();
|
|
53944
53457
|
init_tools();
|
|
53945
|
-
|
|
53458
|
+
args73 = {
|
|
53946
53459
|
request: GenericEnsRequest$inboundSchema
|
|
53947
53460
|
};
|
|
53948
53461
|
tool$universalEns = {
|
|
@@ -53953,9 +53466,9 @@ An ENS name is a string ending in \`.eth\`.
|
|
|
53953
53466
|
|
|
53954
53467
|
E.g. \`vitalik.eth\`. This endpoint can be used to
|
|
53955
53468
|
query the actual ethereum wallet address behind the ENS name.`,
|
|
53956
|
-
args:
|
|
53957
|
-
tool: async (client,
|
|
53958
|
-
const [result, apiCall] = await universalEns(client,
|
|
53469
|
+
args: args73,
|
|
53470
|
+
tool: async (client, args74, ctx) => {
|
|
53471
|
+
const [result, apiCall] = await universalEns(client, args74.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53959
53472
|
if (!result.ok) {
|
|
53960
53473
|
return {
|
|
53961
53474
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54048,12 +53561,12 @@ var init_universalPortfolio = __esm(() => {
|
|
|
54048
53561
|
});
|
|
54049
53562
|
|
|
54050
53563
|
// src/mcp-server/tools/universalPortfolio.ts
|
|
54051
|
-
var
|
|
53564
|
+
var args74, tool$universalPortfolio;
|
|
54052
53565
|
var init_universalPortfolio2 = __esm(() => {
|
|
54053
53566
|
init_universalPortfolio();
|
|
54054
53567
|
init_operations();
|
|
54055
53568
|
init_tools();
|
|
54056
|
-
|
|
53569
|
+
args74 = {
|
|
54057
53570
|
request: GenericPortfolioRequest$inboundSchema
|
|
54058
53571
|
};
|
|
54059
53572
|
tool$universalPortfolio = {
|
|
@@ -54064,9 +53577,9 @@ Fetch the detailed portfolio of a specific wallet address on a given blockchain.
|
|
|
54064
53577
|
|
|
54065
53578
|
This includes the total value of the portfolio in USD and a breakdown of token
|
|
54066
53579
|
balances, including their respective values and quantities.`,
|
|
54067
|
-
args:
|
|
54068
|
-
tool: async (client,
|
|
54069
|
-
const [result, apiCall] = await universalPortfolio(client,
|
|
53580
|
+
args: args74,
|
|
53581
|
+
tool: async (client, args75, ctx) => {
|
|
53582
|
+
const [result, apiCall] = await universalPortfolio(client, args75.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54070
53583
|
if (!result.ok) {
|
|
54071
53584
|
return {
|
|
54072
53585
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54158,12 +53671,12 @@ var init_universalSupportedChains = __esm(() => {
|
|
|
54158
53671
|
});
|
|
54159
53672
|
|
|
54160
53673
|
// src/mcp-server/tools/universalSupportedChains.ts
|
|
54161
|
-
var
|
|
53674
|
+
var args75, tool$universalSupportedChains;
|
|
54162
53675
|
var init_universalSupportedChains2 = __esm(() => {
|
|
54163
53676
|
init_universalSupportedChains();
|
|
54164
53677
|
init_operations();
|
|
54165
53678
|
init_tools();
|
|
54166
|
-
|
|
53679
|
+
args75 = {
|
|
54167
53680
|
request: GenericSupportedChainsRequest$inboundSchema
|
|
54168
53681
|
};
|
|
54169
53682
|
tool$universalSupportedChains = {
|
|
@@ -54171,9 +53684,9 @@ var init_universalSupportedChains2 = __esm(() => {
|
|
|
54171
53684
|
description: `List Supported Chains
|
|
54172
53685
|
|
|
54173
53686
|
Get the list of supported chains by the Compass API.`,
|
|
54174
|
-
args:
|
|
54175
|
-
tool: async (client,
|
|
54176
|
-
const [result, apiCall] = await universalSupportedChains(client,
|
|
53687
|
+
args: args75,
|
|
53688
|
+
tool: async (client, args76, ctx) => {
|
|
53689
|
+
const [result, apiCall] = await universalSupportedChains(client, args76.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54177
53690
|
if (!result.ok) {
|
|
54178
53691
|
return {
|
|
54179
53692
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54187,11 +53700,12 @@ Get the list of supported chains by the Compass API.`,
|
|
|
54187
53700
|
});
|
|
54188
53701
|
|
|
54189
53702
|
// src/funcs/universalSupportedTokens.ts
|
|
54190
|
-
function universalSupportedTokens(client,
|
|
54191
|
-
return new APIPromise($do77(client,
|
|
53703
|
+
function universalSupportedTokens(client, options) {
|
|
53704
|
+
return new APIPromise($do77(client, options));
|
|
54192
53705
|
}
|
|
54193
|
-
async function $do77(client,
|
|
54194
|
-
const
|
|
53706
|
+
async function $do77(client, options) {
|
|
53707
|
+
const input = {};
|
|
53708
|
+
const parsed = safeParse(input, (value) => GenericSupportedTokensRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54195
53709
|
if (!parsed.ok) {
|
|
54196
53710
|
return [parsed, { status: "invalid" }];
|
|
54197
53711
|
}
|
|
@@ -54265,22 +53779,17 @@ var init_universalSupportedTokens = __esm(() => {
|
|
|
54265
53779
|
});
|
|
54266
53780
|
|
|
54267
53781
|
// src/mcp-server/tools/universalSupportedTokens.ts
|
|
54268
|
-
var
|
|
53782
|
+
var tool$universalSupportedTokens;
|
|
54269
53783
|
var init_universalSupportedTokens2 = __esm(() => {
|
|
54270
53784
|
init_universalSupportedTokens();
|
|
54271
|
-
init_operations();
|
|
54272
53785
|
init_tools();
|
|
54273
|
-
args77 = {
|
|
54274
|
-
request: GenericSupportedTokensRequest$inboundSchema
|
|
54275
|
-
};
|
|
54276
53786
|
tool$universalSupportedTokens = {
|
|
54277
53787
|
name: "universal-supported-tokens",
|
|
54278
53788
|
description: `List Supported Tokens
|
|
54279
53789
|
|
|
54280
53790
|
Get the list of supported tokens on a chain by the Compass API.`,
|
|
54281
|
-
|
|
54282
|
-
|
|
54283
|
-
const [result, apiCall] = await universalSupportedTokens(client, args78.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53791
|
+
tool: async (client, ctx) => {
|
|
53792
|
+
const [result, apiCall] = await universalSupportedTokens(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54284
53793
|
if (!result.ok) {
|
|
54285
53794
|
return {
|
|
54286
53795
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54368,12 +53877,12 @@ var init_universalUnwrapWeth = __esm(() => {
|
|
|
54368
53877
|
});
|
|
54369
53878
|
|
|
54370
53879
|
// src/mcp-server/tools/universalUnwrapWeth.ts
|
|
54371
|
-
var
|
|
53880
|
+
var args76, tool$universalUnwrapWeth;
|
|
54372
53881
|
var init_universalUnwrapWeth2 = __esm(() => {
|
|
54373
53882
|
init_universalUnwrapWeth();
|
|
54374
53883
|
init_components();
|
|
54375
53884
|
init_tools();
|
|
54376
|
-
|
|
53885
|
+
args76 = {
|
|
54377
53886
|
request: UnwrapWethRequest$inboundSchema
|
|
54378
53887
|
};
|
|
54379
53888
|
tool$universalUnwrapWeth = {
|
|
@@ -54382,9 +53891,9 @@ var init_universalUnwrapWeth2 = __esm(() => {
|
|
|
54382
53891
|
|
|
54383
53892
|
Unwrapping WETH converts the ERC-20 compliant form of ETH back to native ETH that
|
|
54384
53893
|
can be used for gas and other native purposes.`,
|
|
54385
|
-
args:
|
|
54386
|
-
tool: async (client,
|
|
54387
|
-
const [result, apiCall] = await universalUnwrapWeth(client,
|
|
53894
|
+
args: args76,
|
|
53895
|
+
tool: async (client, args77, ctx) => {
|
|
53896
|
+
const [result, apiCall] = await universalUnwrapWeth(client, args77.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54388
53897
|
if (!result.ok) {
|
|
54389
53898
|
return {
|
|
54390
53899
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54477,12 +53986,12 @@ var init_universalVisualizePortfolio = __esm(() => {
|
|
|
54477
53986
|
});
|
|
54478
53987
|
|
|
54479
53988
|
// src/mcp-server/tools/universalVisualizePortfolio.ts
|
|
54480
|
-
var
|
|
53989
|
+
var args77, tool$universalVisualizePortfolio;
|
|
54481
53990
|
var init_universalVisualizePortfolio2 = __esm(() => {
|
|
54482
53991
|
init_universalVisualizePortfolio();
|
|
54483
53992
|
init_operations();
|
|
54484
53993
|
init_tools();
|
|
54485
|
-
|
|
53994
|
+
args77 = {
|
|
54486
53995
|
request: GenericVisualizePortfolioRequest$inboundSchema
|
|
54487
53996
|
};
|
|
54488
53997
|
tool$universalVisualizePortfolio = {
|
|
@@ -54494,9 +54003,9 @@ Generate a visual representation of the token portfolio for a wallet address.
|
|
|
54494
54003
|
The response is an SVG image of a pie chart depicting the relative distribution of
|
|
54495
54004
|
tokens held, colored and labeled with token symbols, percentages and token values in
|
|
54496
54005
|
USD.`,
|
|
54497
|
-
args:
|
|
54498
|
-
tool: async (client,
|
|
54499
|
-
const [result, apiCall] = await universalVisualizePortfolio(client,
|
|
54006
|
+
args: args77,
|
|
54007
|
+
tool: async (client, args78, ctx) => {
|
|
54008
|
+
const [result, apiCall] = await universalVisualizePortfolio(client, args78.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54500
54009
|
if (!result.ok) {
|
|
54501
54010
|
return {
|
|
54502
54011
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54584,12 +54093,12 @@ var init_universalWrapEth = __esm(() => {
|
|
|
54584
54093
|
});
|
|
54585
54094
|
|
|
54586
54095
|
// src/mcp-server/tools/universalWrapEth.ts
|
|
54587
|
-
var
|
|
54096
|
+
var args78, tool$universalWrapEth;
|
|
54588
54097
|
var init_universalWrapEth2 = __esm(() => {
|
|
54589
54098
|
init_universalWrapEth();
|
|
54590
54099
|
init_components();
|
|
54591
54100
|
init_tools();
|
|
54592
|
-
|
|
54101
|
+
args78 = {
|
|
54593
54102
|
request: WrapEthRequest$inboundSchema
|
|
54594
54103
|
};
|
|
54595
54104
|
tool$universalWrapEth = {
|
|
@@ -54598,9 +54107,9 @@ var init_universalWrapEth2 = __esm(() => {
|
|
|
54598
54107
|
|
|
54599
54108
|
Wrapping ETH creates an ERC20 compliant form of ETH that is typically needed for
|
|
54600
54109
|
it to be traded on DeFi protocols.`,
|
|
54601
|
-
args:
|
|
54602
|
-
tool: async (client,
|
|
54603
|
-
const [result, apiCall] = await universalWrapEth(client,
|
|
54110
|
+
args: args78,
|
|
54111
|
+
tool: async (client, args79, ctx) => {
|
|
54112
|
+
const [result, apiCall] = await universalWrapEth(client, args79.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54604
54113
|
if (!result.ok) {
|
|
54605
54114
|
return {
|
|
54606
54115
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54617,7 +54126,7 @@ it to be traded on DeFi protocols.`,
|
|
|
54617
54126
|
function createMCPServer(deps) {
|
|
54618
54127
|
const server = new McpServer({
|
|
54619
54128
|
name: "CompassApiSDK",
|
|
54620
|
-
version: "0.5.
|
|
54129
|
+
version: "0.5.53"
|
|
54621
54130
|
});
|
|
54622
54131
|
const client = new CompassApiSDKCore({
|
|
54623
54132
|
apiKeyAuth: deps.apiKeyAuth,
|
|
@@ -55993,7 +55502,7 @@ var routes = ln({
|
|
|
55993
55502
|
var app = _e(routes, {
|
|
55994
55503
|
name: "mcp",
|
|
55995
55504
|
versionInfo: {
|
|
55996
|
-
currentVersion: "0.5.
|
|
55505
|
+
currentVersion: "0.5.53"
|
|
55997
55506
|
}
|
|
55998
55507
|
});
|
|
55999
55508
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -56001,5 +55510,5 @@ export {
|
|
|
56001
55510
|
app
|
|
56002
55511
|
};
|
|
56003
55512
|
|
|
56004
|
-
//# debugId=
|
|
55513
|
+
//# debugId=07A2CAED9414997864756E2164756E21
|
|
56005
55514
|
//# sourceMappingURL=mcp-server.js.map
|