@compass-labs/api-sdk 0.5.53 → 0.5.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/bin/mcp-server.js +1400 -508
- package/bin/mcp-server.js.map +93 -93
- package/dist/commonjs/funcs/morphoVault.d.ts +1 -1
- package/dist/commonjs/funcs/morphoVault.js +1 -1
- package/dist/commonjs/funcs/pendleMarkets.d.ts +2 -1
- package/dist/commonjs/funcs/pendleMarkets.d.ts.map +1 -1
- package/dist/commonjs/funcs/pendleMarkets.js +4 -5
- package/dist/commonjs/funcs/pendleMarkets.js.map +1 -1
- package/dist/commonjs/funcs/universalSupportedTokens.d.ts +2 -1
- package/dist/commonjs/funcs/universalSupportedTokens.d.ts.map +1 -1
- package/dist/commonjs/funcs/universalSupportedTokens.js +4 -5
- 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/morphoVault.js +1 -1
- package/dist/commonjs/mcp-server/tools/pendleMarkets.d.ts +6 -1
- package/dist/commonjs/mcp-server/tools/pendleMarkets.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/pendleMarkets.js +40 -2
- package/dist/commonjs/mcp-server/tools/pendleMarkets.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/universalSupportedTokens.d.ts +6 -1
- package/dist/commonjs/mcp-server/tools/universalSupportedTokens.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/universalSupportedTokens.js +40 -2
- package/dist/commonjs/mcp-server/tools/universalSupportedTokens.js.map +1 -1
- package/dist/commonjs/models/components/aaveborrowrequest.d.ts +31 -2
- package/dist/commonjs/models/components/aaveborrowrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/aaveborrowrequest.js +23 -3
- package/dist/commonjs/models/components/aaveborrowrequest.js.map +1 -1
- package/dist/commonjs/models/components/aavelooprequest.d.ts +31 -2
- package/dist/commonjs/models/components/aavelooprequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/aavelooprequest.js +23 -3
- package/dist/commonjs/models/components/aavelooprequest.js.map +1 -1
- package/dist/commonjs/models/components/aaverepayrequest.d.ts +31 -2
- package/dist/commonjs/models/components/aaverepayrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/aaverepayrequest.js +23 -3
- package/dist/commonjs/models/components/aaverepayrequest.js.map +1 -1
- package/dist/commonjs/models/components/aavesupplyrequest.d.ts +31 -2
- package/dist/commonjs/models/components/aavesupplyrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/aavesupplyrequest.js +23 -3
- package/dist/commonjs/models/components/aavesupplyrequest.js.map +1 -1
- package/dist/commonjs/models/components/aavewithdrawrequest.d.ts +31 -2
- package/dist/commonjs/models/components/aavewithdrawrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/aavewithdrawrequest.js +23 -3
- package/dist/commonjs/models/components/aavewithdrawrequest.js.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyrequest.d.ts +25 -2
- package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyrequest.js +22 -3
- package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyrequest.js.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.d.ts +25 -2
- package/dist/commonjs/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.js +21 -3
- package/dist/commonjs/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.js.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionrequest.d.ts +25 -2
- package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionrequest.js +21 -3
- package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionrequest.js.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyrequest.d.ts +25 -2
- package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyrequest.js +22 -3
- package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyrequest.js.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.d.ts +25 -2
- package/dist/commonjs/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.js +21 -3
- package/dist/commonjs/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.js.map +1 -1
- package/dist/commonjs/models/components/batcheduseroperationsrequest.d.ts +31 -2
- package/dist/commonjs/models/components/batcheduseroperationsrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/batcheduseroperationsrequest.js +23 -3
- package/dist/commonjs/models/components/batcheduseroperationsrequest.js.map +1 -1
- package/dist/commonjs/models/components/morphoborrowrequest.d.ts +28 -2
- package/dist/commonjs/models/components/morphoborrowrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/morphoborrowrequest.js +22 -3
- package/dist/commonjs/models/components/morphoborrowrequest.js.map +1 -1
- package/dist/commonjs/models/components/morphodepositrequest.d.ts +28 -2
- package/dist/commonjs/models/components/morphodepositrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/morphodepositrequest.js +22 -3
- package/dist/commonjs/models/components/morphodepositrequest.js.map +1 -1
- package/dist/commonjs/models/components/morphorepayrequest.d.ts +28 -2
- package/dist/commonjs/models/components/morphorepayrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/morphorepayrequest.js +22 -3
- package/dist/commonjs/models/components/morphorepayrequest.js.map +1 -1
- package/dist/commonjs/models/components/morphosupplycollateralrequest.d.ts +28 -2
- package/dist/commonjs/models/components/morphosupplycollateralrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/morphosupplycollateralrequest.js +22 -3
- package/dist/commonjs/models/components/morphosupplycollateralrequest.js.map +1 -1
- package/dist/commonjs/models/components/morphowithdrawcollateralrequest.d.ts +28 -2
- package/dist/commonjs/models/components/morphowithdrawcollateralrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/morphowithdrawcollateralrequest.js +22 -3
- package/dist/commonjs/models/components/morphowithdrawcollateralrequest.js.map +1 -1
- package/dist/commonjs/models/components/morphowithdrawrequest.d.ts +28 -2
- package/dist/commonjs/models/components/morphowithdrawrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/morphowithdrawrequest.js +22 -3
- package/dist/commonjs/models/components/morphowithdrawrequest.js.map +1 -1
- package/dist/commonjs/models/components/multicallauthorizationrequest.d.ts +31 -2
- package/dist/commonjs/models/components/multicallauthorizationrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/multicallauthorizationrequest.js +23 -3
- package/dist/commonjs/models/components/multicallauthorizationrequest.js.map +1 -1
- package/dist/commonjs/models/components/multicallexecuterequest.d.ts +31 -2
- package/dist/commonjs/models/components/multicallexecuterequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/multicallexecuterequest.js +23 -3
- package/dist/commonjs/models/components/multicallexecuterequest.js.map +1 -1
- package/dist/commonjs/models/components/odosswaprequest.d.ts +31 -2
- package/dist/commonjs/models/components/odosswaprequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/odosswaprequest.js +23 -3
- package/dist/commonjs/models/components/odosswaprequest.js.map +1 -1
- package/dist/commonjs/models/components/pendleaddliquidityrequest.d.ts +31 -2
- package/dist/commonjs/models/components/pendleaddliquidityrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendleaddliquidityrequest.js +23 -3
- package/dist/commonjs/models/components/pendleaddliquidityrequest.js.map +1 -1
- package/dist/commonjs/models/components/pendlebuyptparams.d.ts +47 -17
- package/dist/commonjs/models/components/pendlebuyptparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendlebuyptparams.js +48 -18
- package/dist/commonjs/models/components/pendlebuyptparams.js.map +1 -1
- package/dist/commonjs/models/components/pendlebuyptrequest.d.ts +78 -19
- package/dist/commonjs/models/components/pendlebuyptrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendlebuyptrequest.js +70 -20
- package/dist/commonjs/models/components/pendlebuyptrequest.js.map +1 -1
- package/dist/commonjs/models/components/pendlebuyytparams.d.ts +47 -17
- package/dist/commonjs/models/components/pendlebuyytparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendlebuyytparams.js +48 -18
- package/dist/commonjs/models/components/pendlebuyytparams.js.map +1 -1
- package/dist/commonjs/models/components/pendlebuyytrequest.d.ts +78 -19
- package/dist/commonjs/models/components/pendlebuyytrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendlebuyytrequest.js +70 -20
- package/dist/commonjs/models/components/pendlebuyytrequest.js.map +1 -1
- package/dist/commonjs/models/components/pendleredeemyieldrequest.d.ts +31 -2
- package/dist/commonjs/models/components/pendleredeemyieldrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendleredeemyieldrequest.js +23 -3
- package/dist/commonjs/models/components/pendleredeemyieldrequest.js.map +1 -1
- package/dist/commonjs/models/components/pendleremoveliquidityrequest.d.ts +31 -2
- package/dist/commonjs/models/components/pendleremoveliquidityrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendleremoveliquidityrequest.js +23 -3
- package/dist/commonjs/models/components/pendleremoveliquidityrequest.js.map +1 -1
- package/dist/commonjs/models/components/pendlesellptrequest.d.ts +31 -2
- package/dist/commonjs/models/components/pendlesellptrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendlesellptrequest.js +23 -3
- package/dist/commonjs/models/components/pendlesellptrequest.js.map +1 -1
- package/dist/commonjs/models/components/pendlesellytrequest.d.ts +31 -2
- package/dist/commonjs/models/components/pendlesellytrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendlesellytrequest.js +23 -3
- package/dist/commonjs/models/components/pendlesellytrequest.js.map +1 -1
- package/dist/commonjs/models/components/setallowancerequest.d.ts +30 -2
- package/dist/commonjs/models/components/setallowancerequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/setallowancerequest.js +23 -3
- package/dist/commonjs/models/components/setallowancerequest.js.map +1 -1
- package/dist/commonjs/models/components/skybuyrequest.d.ts +24 -2
- package/dist/commonjs/models/components/skybuyrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/skybuyrequest.js +21 -3
- package/dist/commonjs/models/components/skybuyrequest.js.map +1 -1
- package/dist/commonjs/models/components/skydepositrequest.d.ts +25 -2
- package/dist/commonjs/models/components/skydepositrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/skydepositrequest.js +21 -3
- package/dist/commonjs/models/components/skydepositrequest.js.map +1 -1
- package/dist/commonjs/models/components/skysellrequest.d.ts +24 -2
- package/dist/commonjs/models/components/skysellrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/skysellrequest.js +21 -3
- package/dist/commonjs/models/components/skysellrequest.js.map +1 -1
- package/dist/commonjs/models/components/skywithdrawrequest.d.ts +25 -2
- package/dist/commonjs/models/components/skywithdrawrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/skywithdrawrequest.js +21 -3
- package/dist/commonjs/models/components/skywithdrawrequest.js.map +1 -1
- package/dist/commonjs/models/components/tokentransferrequest.d.ts +31 -2
- package/dist/commonjs/models/components/tokentransferrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/tokentransferrequest.js +23 -3
- package/dist/commonjs/models/components/tokentransferrequest.js.map +1 -1
- package/dist/commonjs/models/components/uniswapbuyexactlyrequest.d.ts +31 -2
- package/dist/commonjs/models/components/uniswapbuyexactlyrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/uniswapbuyexactlyrequest.js +23 -3
- package/dist/commonjs/models/components/uniswapbuyexactlyrequest.js.map +1 -1
- package/dist/commonjs/models/components/uniswapincreaseliquidityprovisionrequest.d.ts +31 -2
- package/dist/commonjs/models/components/uniswapincreaseliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/uniswapincreaseliquidityprovisionrequest.js +24 -3
- package/dist/commonjs/models/components/uniswapincreaseliquidityprovisionrequest.js.map +1 -1
- package/dist/commonjs/models/components/uniswapmintliquidityprovisionrequest.d.ts +31 -2
- package/dist/commonjs/models/components/uniswapmintliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/uniswapmintliquidityprovisionrequest.js +24 -3
- package/dist/commonjs/models/components/uniswapmintliquidityprovisionrequest.js.map +1 -1
- package/dist/commonjs/models/components/uniswapsellexactlyrequest.d.ts +31 -2
- package/dist/commonjs/models/components/uniswapsellexactlyrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/uniswapsellexactlyrequest.js +23 -3
- package/dist/commonjs/models/components/uniswapsellexactlyrequest.js.map +1 -1
- package/dist/commonjs/models/components/uniswapwithdrawliquidityprovisionrequest.d.ts +31 -2
- package/dist/commonjs/models/components/uniswapwithdrawliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/uniswapwithdrawliquidityprovisionrequest.js +24 -3
- package/dist/commonjs/models/components/uniswapwithdrawliquidityprovisionrequest.js.map +1 -1
- package/dist/commonjs/models/components/unwrapwethrequest.d.ts +31 -2
- package/dist/commonjs/models/components/unwrapwethrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/unwrapwethrequest.js +23 -3
- package/dist/commonjs/models/components/unwrapwethrequest.js.map +1 -1
- package/dist/commonjs/models/components/useroperation.d.ts +16 -16
- package/dist/commonjs/models/components/useroperation.d.ts.map +1 -1
- package/dist/commonjs/models/components/useroperation.js +24 -24
- package/dist/commonjs/models/components/useroperation.js.map +1 -1
- package/dist/commonjs/models/components/vaultdepositrequest.d.ts +31 -2
- package/dist/commonjs/models/components/vaultdepositrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/vaultdepositrequest.js +23 -3
- package/dist/commonjs/models/components/vaultdepositrequest.js.map +1 -1
- package/dist/commonjs/models/components/vaultwithdrawrequest.d.ts +31 -2
- package/dist/commonjs/models/components/vaultwithdrawrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/vaultwithdrawrequest.js +23 -3
- package/dist/commonjs/models/components/vaultwithdrawrequest.js.map +1 -1
- package/dist/commonjs/models/components/wrapethrequest.d.ts +31 -2
- package/dist/commonjs/models/components/wrapethrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/wrapethrequest.js +23 -3
- package/dist/commonjs/models/components/wrapethrequest.js.map +1 -1
- package/dist/commonjs/models/operations/aaveaavesupportedtokens.d.ts +31 -2
- package/dist/commonjs/models/operations/aaveaavesupportedtokens.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aaveaavesupportedtokens.js +23 -3
- package/dist/commonjs/models/operations/aaveaavesupportedtokens.js.map +1 -1
- package/dist/commonjs/models/operations/aaveavgrate.d.ts +30 -2
- package/dist/commonjs/models/operations/aaveavgrate.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aaveavgrate.js +23 -3
- package/dist/commonjs/models/operations/aaveavgrate.js.map +1 -1
- package/dist/commonjs/models/operations/aavehistoricaltransactions.d.ts +31 -2
- package/dist/commonjs/models/operations/aavehistoricaltransactions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aavehistoricaltransactions.js +23 -3
- package/dist/commonjs/models/operations/aavehistoricaltransactions.js.map +1 -1
- package/dist/commonjs/models/operations/aaveliquiditychange.d.ts +30 -2
- package/dist/commonjs/models/operations/aaveliquiditychange.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aaveliquiditychange.js +23 -3
- package/dist/commonjs/models/operations/aaveliquiditychange.js.map +1 -1
- package/dist/commonjs/models/operations/aaverate.d.ts +30 -2
- package/dist/commonjs/models/operations/aaverate.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aaverate.js +23 -3
- package/dist/commonjs/models/operations/aaverate.js.map +1 -1
- package/dist/commonjs/models/operations/aavereserveoverview.d.ts +30 -2
- package/dist/commonjs/models/operations/aavereserveoverview.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aavereserveoverview.js +23 -3
- package/dist/commonjs/models/operations/aavereserveoverview.js.map +1 -1
- package/dist/commonjs/models/operations/aavestdrate.d.ts +30 -2
- package/dist/commonjs/models/operations/aavestdrate.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aavestdrate.js +23 -3
- package/dist/commonjs/models/operations/aavestdrate.js.map +1 -1
- package/dist/commonjs/models/operations/aavetokenprice.d.ts +30 -2
- package/dist/commonjs/models/operations/aavetokenprice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aavetokenprice.js +23 -3
- package/dist/commonjs/models/operations/aavetokenprice.js.map +1 -1
- package/dist/commonjs/models/operations/aaveuserpositionpertoken.d.ts +30 -2
- package/dist/commonjs/models/operations/aaveuserpositionpertoken.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aaveuserpositionpertoken.js +23 -3
- package/dist/commonjs/models/operations/aaveuserpositionpertoken.js.map +1 -1
- package/dist/commonjs/models/operations/aaveuserpositionsummary.d.ts +31 -2
- package/dist/commonjs/models/operations/aaveuserpositionsummary.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aaveuserpositionsummary.js +23 -3
- package/dist/commonjs/models/operations/aaveuserpositionsummary.js.map +1 -1
- package/dist/commonjs/models/operations/aerodromeslipstreamliquidityprovisionpositions.d.ts +25 -2
- package/dist/commonjs/models/operations/aerodromeslipstreamliquidityprovisionpositions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aerodromeslipstreamliquidityprovisionpositions.js +23 -3
- package/dist/commonjs/models/operations/aerodromeslipstreamliquidityprovisionpositions.js.map +1 -1
- package/dist/commonjs/models/operations/aerodromeslipstreampoolprice.d.ts +24 -2
- package/dist/commonjs/models/operations/aerodromeslipstreampoolprice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aerodromeslipstreampoolprice.js +21 -3
- package/dist/commonjs/models/operations/aerodromeslipstreampoolprice.js.map +1 -1
- package/dist/commonjs/models/operations/genericallowance.d.ts +30 -2
- package/dist/commonjs/models/operations/genericallowance.d.ts.map +1 -1
- package/dist/commonjs/models/operations/genericallowance.js +23 -3
- package/dist/commonjs/models/operations/genericallowance.js.map +1 -1
- package/dist/commonjs/models/operations/genericens.d.ts +25 -2
- package/dist/commonjs/models/operations/genericens.d.ts.map +1 -1
- package/dist/commonjs/models/operations/genericens.js +21 -3
- package/dist/commonjs/models/operations/genericens.js.map +1 -1
- package/dist/commonjs/models/operations/genericportfolio.d.ts +31 -2
- package/dist/commonjs/models/operations/genericportfolio.d.ts.map +1 -1
- package/dist/commonjs/models/operations/genericportfolio.js +23 -3
- package/dist/commonjs/models/operations/genericportfolio.js.map +1 -1
- package/dist/commonjs/models/operations/genericsupportedtokens.d.ts +31 -2
- package/dist/commonjs/models/operations/genericsupportedtokens.d.ts.map +1 -1
- package/dist/commonjs/models/operations/genericsupportedtokens.js +23 -3
- package/dist/commonjs/models/operations/genericsupportedtokens.js.map +1 -1
- package/dist/commonjs/models/operations/genericvisualizeportfolio.d.ts +31 -2
- package/dist/commonjs/models/operations/genericvisualizeportfolio.d.ts.map +1 -1
- package/dist/commonjs/models/operations/genericvisualizeportfolio.js +23 -3
- package/dist/commonjs/models/operations/genericvisualizeportfolio.js.map +1 -1
- package/dist/commonjs/models/operations/morphomarket.d.ts +28 -2
- package/dist/commonjs/models/operations/morphomarket.d.ts.map +1 -1
- package/dist/commonjs/models/operations/morphomarket.js +22 -3
- package/dist/commonjs/models/operations/morphomarket.js.map +1 -1
- package/dist/commonjs/models/operations/morphomarketposition.d.ts +28 -2
- package/dist/commonjs/models/operations/morphomarketposition.d.ts.map +1 -1
- package/dist/commonjs/models/operations/morphomarketposition.js +22 -3
- package/dist/commonjs/models/operations/morphomarketposition.js.map +1 -1
- package/dist/commonjs/models/operations/morphomarkets.d.ts +28 -2
- package/dist/commonjs/models/operations/morphomarkets.d.ts.map +1 -1
- package/dist/commonjs/models/operations/morphomarkets.js +22 -3
- package/dist/commonjs/models/operations/morphomarkets.js.map +1 -1
- package/dist/commonjs/models/operations/morphouserposition.d.ts +28 -2
- package/dist/commonjs/models/operations/morphouserposition.d.ts.map +1 -1
- package/dist/commonjs/models/operations/morphouserposition.js +22 -3
- package/dist/commonjs/models/operations/morphouserposition.js.map +1 -1
- package/dist/commonjs/models/operations/morphovault.d.ts +31 -2
- package/dist/commonjs/models/operations/morphovault.d.ts.map +1 -1
- package/dist/commonjs/models/operations/morphovault.js +23 -3
- package/dist/commonjs/models/operations/morphovault.js.map +1 -1
- package/dist/commonjs/models/operations/morphovaults.d.ts +28 -2
- package/dist/commonjs/models/operations/morphovaults.d.ts.map +1 -1
- package/dist/commonjs/models/operations/morphovaults.js +22 -3
- package/dist/commonjs/models/operations/morphovaults.js.map +1 -1
- package/dist/commonjs/models/operations/pendlemarket.d.ts +31 -2
- package/dist/commonjs/models/operations/pendlemarket.d.ts.map +1 -1
- package/dist/commonjs/models/operations/pendlemarket.js +23 -3
- package/dist/commonjs/models/operations/pendlemarket.js.map +1 -1
- package/dist/commonjs/models/operations/pendlemarkets.d.ts +31 -2
- package/dist/commonjs/models/operations/pendlemarkets.d.ts.map +1 -1
- package/dist/commonjs/models/operations/pendlemarkets.js +23 -3
- package/dist/commonjs/models/operations/pendlemarkets.js.map +1 -1
- package/dist/commonjs/models/operations/pendlepositions.d.ts +31 -2
- package/dist/commonjs/models/operations/pendlepositions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/pendlepositions.js +23 -3
- package/dist/commonjs/models/operations/pendlepositions.js.map +1 -1
- package/dist/commonjs/models/operations/pendlequote.d.ts +30 -2
- package/dist/commonjs/models/operations/pendlequote.d.ts.map +1 -1
- package/dist/commonjs/models/operations/pendlequote.js +23 -3
- package/dist/commonjs/models/operations/pendlequote.js.map +1 -1
- package/dist/commonjs/models/operations/skyposition.d.ts +25 -2
- package/dist/commonjs/models/operations/skyposition.d.ts.map +1 -1
- package/dist/commonjs/models/operations/skyposition.js +21 -3
- package/dist/commonjs/models/operations/skyposition.js.map +1 -1
- package/dist/commonjs/models/operations/tokenaddress.d.ts +30 -2
- package/dist/commonjs/models/operations/tokenaddress.d.ts.map +1 -1
- package/dist/commonjs/models/operations/tokenaddress.js +23 -3
- package/dist/commonjs/models/operations/tokenaddress.js.map +1 -1
- package/dist/commonjs/models/operations/tokenbalance.d.ts +31 -2
- package/dist/commonjs/models/operations/tokenbalance.d.ts.map +1 -1
- package/dist/commonjs/models/operations/tokenbalance.js +23 -3
- package/dist/commonjs/models/operations/tokenbalance.js.map +1 -1
- package/dist/commonjs/models/operations/tokenprice.d.ts +31 -2
- package/dist/commonjs/models/operations/tokenprice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/tokenprice.js +23 -3
- package/dist/commonjs/models/operations/tokenprice.js.map +1 -1
- package/dist/commonjs/models/operations/uniswapliquidityprovisioninrange.d.ts +31 -2
- package/dist/commonjs/models/operations/uniswapliquidityprovisioninrange.d.ts.map +1 -1
- package/dist/commonjs/models/operations/uniswapliquidityprovisioninrange.js +23 -3
- package/dist/commonjs/models/operations/uniswapliquidityprovisioninrange.js.map +1 -1
- package/dist/commonjs/models/operations/uniswapliquidityprovisionpositions.d.ts +31 -2
- package/dist/commonjs/models/operations/uniswapliquidityprovisionpositions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/uniswapliquidityprovisionpositions.js +24 -3
- package/dist/commonjs/models/operations/uniswapliquidityprovisionpositions.js.map +1 -1
- package/dist/commonjs/models/operations/uniswappoolprice.d.ts +30 -2
- package/dist/commonjs/models/operations/uniswappoolprice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/uniswappoolprice.js +23 -3
- package/dist/commonjs/models/operations/uniswappoolprice.js.map +1 -1
- package/dist/commonjs/models/operations/uniswapquotebuyexactly.d.ts +30 -2
- package/dist/commonjs/models/operations/uniswapquotebuyexactly.d.ts.map +1 -1
- package/dist/commonjs/models/operations/uniswapquotebuyexactly.js +23 -3
- package/dist/commonjs/models/operations/uniswapquotebuyexactly.js.map +1 -1
- package/dist/commonjs/models/operations/uniswapquotesellexactly.d.ts +30 -2
- package/dist/commonjs/models/operations/uniswapquotesellexactly.d.ts.map +1 -1
- package/dist/commonjs/models/operations/uniswapquotesellexactly.js +23 -3
- package/dist/commonjs/models/operations/uniswapquotesellexactly.js.map +1 -1
- package/dist/commonjs/models/operations/vaultsvault.d.ts +31 -2
- package/dist/commonjs/models/operations/vaultsvault.d.ts.map +1 -1
- package/dist/commonjs/models/operations/vaultsvault.js +23 -3
- package/dist/commonjs/models/operations/vaultsvault.js.map +1 -1
- package/dist/commonjs/sdk/morpho.d.ts +1 -1
- package/dist/commonjs/sdk/morpho.js +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/morphoVault.d.ts +1 -1
- package/dist/esm/funcs/morphoVault.js +1 -1
- package/dist/esm/funcs/pendleMarkets.d.ts +2 -1
- package/dist/esm/funcs/pendleMarkets.d.ts.map +1 -1
- package/dist/esm/funcs/pendleMarkets.js +4 -5
- package/dist/esm/funcs/pendleMarkets.js.map +1 -1
- package/dist/esm/funcs/universalSupportedTokens.d.ts +2 -1
- package/dist/esm/funcs/universalSupportedTokens.d.ts.map +1 -1
- package/dist/esm/funcs/universalSupportedTokens.js +4 -5
- 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/morphoVault.js +1 -1
- package/dist/esm/mcp-server/tools/pendleMarkets.d.ts +6 -1
- package/dist/esm/mcp-server/tools/pendleMarkets.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/pendleMarkets.js +7 -2
- package/dist/esm/mcp-server/tools/pendleMarkets.js.map +1 -1
- package/dist/esm/mcp-server/tools/universalSupportedTokens.d.ts +6 -1
- package/dist/esm/mcp-server/tools/universalSupportedTokens.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/universalSupportedTokens.js +7 -2
- package/dist/esm/mcp-server/tools/universalSupportedTokens.js.map +1 -1
- package/dist/esm/models/components/aaveborrowrequest.d.ts +31 -2
- package/dist/esm/models/components/aaveborrowrequest.d.ts.map +1 -1
- package/dist/esm/models/components/aaveborrowrequest.js +22 -2
- package/dist/esm/models/components/aaveborrowrequest.js.map +1 -1
- package/dist/esm/models/components/aavelooprequest.d.ts +31 -2
- package/dist/esm/models/components/aavelooprequest.d.ts.map +1 -1
- package/dist/esm/models/components/aavelooprequest.js +22 -2
- package/dist/esm/models/components/aavelooprequest.js.map +1 -1
- package/dist/esm/models/components/aaverepayrequest.d.ts +31 -2
- package/dist/esm/models/components/aaverepayrequest.d.ts.map +1 -1
- package/dist/esm/models/components/aaverepayrequest.js +22 -2
- package/dist/esm/models/components/aaverepayrequest.js.map +1 -1
- package/dist/esm/models/components/aavesupplyrequest.d.ts +31 -2
- package/dist/esm/models/components/aavesupplyrequest.d.ts.map +1 -1
- package/dist/esm/models/components/aavesupplyrequest.js +22 -2
- package/dist/esm/models/components/aavesupplyrequest.js.map +1 -1
- package/dist/esm/models/components/aavewithdrawrequest.d.ts +31 -2
- package/dist/esm/models/components/aavewithdrawrequest.d.ts.map +1 -1
- package/dist/esm/models/components/aavewithdrawrequest.js +22 -2
- package/dist/esm/models/components/aavewithdrawrequest.js.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreambuyexactlyrequest.d.ts +25 -2
- package/dist/esm/models/components/aerodromeslipstreambuyexactlyrequest.d.ts.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreambuyexactlyrequest.js +21 -2
- package/dist/esm/models/components/aerodromeslipstreambuyexactlyrequest.js.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.d.ts +25 -2
- package/dist/esm/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.js +20 -2
- package/dist/esm/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.js.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionrequest.d.ts +25 -2
- package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionrequest.js +20 -2
- package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionrequest.js.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreamsellexactlyrequest.d.ts +25 -2
- package/dist/esm/models/components/aerodromeslipstreamsellexactlyrequest.d.ts.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreamsellexactlyrequest.js +21 -2
- package/dist/esm/models/components/aerodromeslipstreamsellexactlyrequest.js.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.d.ts +25 -2
- package/dist/esm/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.js +20 -2
- package/dist/esm/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.js.map +1 -1
- package/dist/esm/models/components/batcheduseroperationsrequest.d.ts +31 -2
- package/dist/esm/models/components/batcheduseroperationsrequest.d.ts.map +1 -1
- package/dist/esm/models/components/batcheduseroperationsrequest.js +22 -2
- package/dist/esm/models/components/batcheduseroperationsrequest.js.map +1 -1
- package/dist/esm/models/components/morphoborrowrequest.d.ts +28 -2
- package/dist/esm/models/components/morphoborrowrequest.d.ts.map +1 -1
- package/dist/esm/models/components/morphoborrowrequest.js +21 -2
- package/dist/esm/models/components/morphoborrowrequest.js.map +1 -1
- package/dist/esm/models/components/morphodepositrequest.d.ts +28 -2
- package/dist/esm/models/components/morphodepositrequest.d.ts.map +1 -1
- package/dist/esm/models/components/morphodepositrequest.js +21 -2
- package/dist/esm/models/components/morphodepositrequest.js.map +1 -1
- package/dist/esm/models/components/morphorepayrequest.d.ts +28 -2
- package/dist/esm/models/components/morphorepayrequest.d.ts.map +1 -1
- package/dist/esm/models/components/morphorepayrequest.js +21 -2
- package/dist/esm/models/components/morphorepayrequest.js.map +1 -1
- package/dist/esm/models/components/morphosupplycollateralrequest.d.ts +28 -2
- package/dist/esm/models/components/morphosupplycollateralrequest.d.ts.map +1 -1
- package/dist/esm/models/components/morphosupplycollateralrequest.js +21 -2
- package/dist/esm/models/components/morphosupplycollateralrequest.js.map +1 -1
- package/dist/esm/models/components/morphowithdrawcollateralrequest.d.ts +28 -2
- package/dist/esm/models/components/morphowithdrawcollateralrequest.d.ts.map +1 -1
- package/dist/esm/models/components/morphowithdrawcollateralrequest.js +21 -2
- package/dist/esm/models/components/morphowithdrawcollateralrequest.js.map +1 -1
- package/dist/esm/models/components/morphowithdrawrequest.d.ts +28 -2
- package/dist/esm/models/components/morphowithdrawrequest.d.ts.map +1 -1
- package/dist/esm/models/components/morphowithdrawrequest.js +21 -2
- package/dist/esm/models/components/morphowithdrawrequest.js.map +1 -1
- package/dist/esm/models/components/multicallauthorizationrequest.d.ts +31 -2
- package/dist/esm/models/components/multicallauthorizationrequest.d.ts.map +1 -1
- package/dist/esm/models/components/multicallauthorizationrequest.js +22 -2
- package/dist/esm/models/components/multicallauthorizationrequest.js.map +1 -1
- package/dist/esm/models/components/multicallexecuterequest.d.ts +31 -2
- package/dist/esm/models/components/multicallexecuterequest.d.ts.map +1 -1
- package/dist/esm/models/components/multicallexecuterequest.js +22 -2
- package/dist/esm/models/components/multicallexecuterequest.js.map +1 -1
- package/dist/esm/models/components/odosswaprequest.d.ts +31 -2
- package/dist/esm/models/components/odosswaprequest.d.ts.map +1 -1
- package/dist/esm/models/components/odosswaprequest.js +22 -2
- package/dist/esm/models/components/odosswaprequest.js.map +1 -1
- package/dist/esm/models/components/pendleaddliquidityrequest.d.ts +31 -2
- package/dist/esm/models/components/pendleaddliquidityrequest.d.ts.map +1 -1
- package/dist/esm/models/components/pendleaddliquidityrequest.js +22 -2
- package/dist/esm/models/components/pendleaddliquidityrequest.js.map +1 -1
- package/dist/esm/models/components/pendlebuyptparams.d.ts +47 -17
- package/dist/esm/models/components/pendlebuyptparams.d.ts.map +1 -1
- package/dist/esm/models/components/pendlebuyptparams.js +43 -15
- package/dist/esm/models/components/pendlebuyptparams.js.map +1 -1
- package/dist/esm/models/components/pendlebuyptrequest.d.ts +78 -19
- package/dist/esm/models/components/pendlebuyptrequest.d.ts.map +1 -1
- package/dist/esm/models/components/pendlebuyptrequest.js +65 -17
- package/dist/esm/models/components/pendlebuyptrequest.js.map +1 -1
- package/dist/esm/models/components/pendlebuyytparams.d.ts +47 -17
- package/dist/esm/models/components/pendlebuyytparams.d.ts.map +1 -1
- package/dist/esm/models/components/pendlebuyytparams.js +43 -15
- package/dist/esm/models/components/pendlebuyytparams.js.map +1 -1
- package/dist/esm/models/components/pendlebuyytrequest.d.ts +78 -19
- package/dist/esm/models/components/pendlebuyytrequest.d.ts.map +1 -1
- package/dist/esm/models/components/pendlebuyytrequest.js +65 -17
- package/dist/esm/models/components/pendlebuyytrequest.js.map +1 -1
- package/dist/esm/models/components/pendleredeemyieldrequest.d.ts +31 -2
- package/dist/esm/models/components/pendleredeemyieldrequest.d.ts.map +1 -1
- package/dist/esm/models/components/pendleredeemyieldrequest.js +22 -2
- package/dist/esm/models/components/pendleredeemyieldrequest.js.map +1 -1
- package/dist/esm/models/components/pendleremoveliquidityrequest.d.ts +31 -2
- package/dist/esm/models/components/pendleremoveliquidityrequest.d.ts.map +1 -1
- package/dist/esm/models/components/pendleremoveliquidityrequest.js +22 -2
- package/dist/esm/models/components/pendleremoveliquidityrequest.js.map +1 -1
- package/dist/esm/models/components/pendlesellptrequest.d.ts +31 -2
- package/dist/esm/models/components/pendlesellptrequest.d.ts.map +1 -1
- package/dist/esm/models/components/pendlesellptrequest.js +22 -2
- package/dist/esm/models/components/pendlesellptrequest.js.map +1 -1
- package/dist/esm/models/components/pendlesellytrequest.d.ts +31 -2
- package/dist/esm/models/components/pendlesellytrequest.d.ts.map +1 -1
- package/dist/esm/models/components/pendlesellytrequest.js +22 -2
- package/dist/esm/models/components/pendlesellytrequest.js.map +1 -1
- package/dist/esm/models/components/setallowancerequest.d.ts +30 -2
- package/dist/esm/models/components/setallowancerequest.d.ts.map +1 -1
- package/dist/esm/models/components/setallowancerequest.js +22 -2
- package/dist/esm/models/components/setallowancerequest.js.map +1 -1
- package/dist/esm/models/components/skybuyrequest.d.ts +24 -2
- package/dist/esm/models/components/skybuyrequest.d.ts.map +1 -1
- package/dist/esm/models/components/skybuyrequest.js +20 -2
- package/dist/esm/models/components/skybuyrequest.js.map +1 -1
- package/dist/esm/models/components/skydepositrequest.d.ts +25 -2
- package/dist/esm/models/components/skydepositrequest.d.ts.map +1 -1
- package/dist/esm/models/components/skydepositrequest.js +20 -2
- package/dist/esm/models/components/skydepositrequest.js.map +1 -1
- package/dist/esm/models/components/skysellrequest.d.ts +24 -2
- package/dist/esm/models/components/skysellrequest.d.ts.map +1 -1
- package/dist/esm/models/components/skysellrequest.js +20 -2
- package/dist/esm/models/components/skysellrequest.js.map +1 -1
- package/dist/esm/models/components/skywithdrawrequest.d.ts +25 -2
- package/dist/esm/models/components/skywithdrawrequest.d.ts.map +1 -1
- package/dist/esm/models/components/skywithdrawrequest.js +20 -2
- package/dist/esm/models/components/skywithdrawrequest.js.map +1 -1
- package/dist/esm/models/components/tokentransferrequest.d.ts +31 -2
- package/dist/esm/models/components/tokentransferrequest.d.ts.map +1 -1
- package/dist/esm/models/components/tokentransferrequest.js +22 -2
- package/dist/esm/models/components/tokentransferrequest.js.map +1 -1
- package/dist/esm/models/components/uniswapbuyexactlyrequest.d.ts +31 -2
- package/dist/esm/models/components/uniswapbuyexactlyrequest.d.ts.map +1 -1
- package/dist/esm/models/components/uniswapbuyexactlyrequest.js +22 -2
- package/dist/esm/models/components/uniswapbuyexactlyrequest.js.map +1 -1
- package/dist/esm/models/components/uniswapincreaseliquidityprovisionrequest.d.ts +31 -2
- package/dist/esm/models/components/uniswapincreaseliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/esm/models/components/uniswapincreaseliquidityprovisionrequest.js +23 -2
- package/dist/esm/models/components/uniswapincreaseliquidityprovisionrequest.js.map +1 -1
- package/dist/esm/models/components/uniswapmintliquidityprovisionrequest.d.ts +31 -2
- package/dist/esm/models/components/uniswapmintliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/esm/models/components/uniswapmintliquidityprovisionrequest.js +23 -2
- package/dist/esm/models/components/uniswapmintliquidityprovisionrequest.js.map +1 -1
- package/dist/esm/models/components/uniswapsellexactlyrequest.d.ts +31 -2
- package/dist/esm/models/components/uniswapsellexactlyrequest.d.ts.map +1 -1
- package/dist/esm/models/components/uniswapsellexactlyrequest.js +22 -2
- package/dist/esm/models/components/uniswapsellexactlyrequest.js.map +1 -1
- package/dist/esm/models/components/uniswapwithdrawliquidityprovisionrequest.d.ts +31 -2
- package/dist/esm/models/components/uniswapwithdrawliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/esm/models/components/uniswapwithdrawliquidityprovisionrequest.js +23 -2
- package/dist/esm/models/components/uniswapwithdrawliquidityprovisionrequest.js.map +1 -1
- package/dist/esm/models/components/unwrapwethrequest.d.ts +31 -2
- package/dist/esm/models/components/unwrapwethrequest.d.ts.map +1 -1
- package/dist/esm/models/components/unwrapwethrequest.js +22 -2
- package/dist/esm/models/components/unwrapwethrequest.js.map +1 -1
- package/dist/esm/models/components/useroperation.d.ts +16 -16
- package/dist/esm/models/components/useroperation.d.ts.map +1 -1
- package/dist/esm/models/components/useroperation.js +24 -24
- package/dist/esm/models/components/useroperation.js.map +1 -1
- package/dist/esm/models/components/vaultdepositrequest.d.ts +31 -2
- package/dist/esm/models/components/vaultdepositrequest.d.ts.map +1 -1
- package/dist/esm/models/components/vaultdepositrequest.js +22 -2
- package/dist/esm/models/components/vaultdepositrequest.js.map +1 -1
- package/dist/esm/models/components/vaultwithdrawrequest.d.ts +31 -2
- package/dist/esm/models/components/vaultwithdrawrequest.d.ts.map +1 -1
- package/dist/esm/models/components/vaultwithdrawrequest.js +22 -2
- package/dist/esm/models/components/vaultwithdrawrequest.js.map +1 -1
- package/dist/esm/models/components/wrapethrequest.d.ts +31 -2
- package/dist/esm/models/components/wrapethrequest.d.ts.map +1 -1
- package/dist/esm/models/components/wrapethrequest.js +22 -2
- package/dist/esm/models/components/wrapethrequest.js.map +1 -1
- package/dist/esm/models/operations/aaveaavesupportedtokens.d.ts +31 -2
- package/dist/esm/models/operations/aaveaavesupportedtokens.d.ts.map +1 -1
- package/dist/esm/models/operations/aaveaavesupportedtokens.js +22 -2
- package/dist/esm/models/operations/aaveaavesupportedtokens.js.map +1 -1
- package/dist/esm/models/operations/aaveavgrate.d.ts +30 -2
- package/dist/esm/models/operations/aaveavgrate.d.ts.map +1 -1
- package/dist/esm/models/operations/aaveavgrate.js +22 -2
- package/dist/esm/models/operations/aaveavgrate.js.map +1 -1
- package/dist/esm/models/operations/aavehistoricaltransactions.d.ts +31 -2
- package/dist/esm/models/operations/aavehistoricaltransactions.d.ts.map +1 -1
- package/dist/esm/models/operations/aavehistoricaltransactions.js +22 -2
- package/dist/esm/models/operations/aavehistoricaltransactions.js.map +1 -1
- package/dist/esm/models/operations/aaveliquiditychange.d.ts +30 -2
- package/dist/esm/models/operations/aaveliquiditychange.d.ts.map +1 -1
- package/dist/esm/models/operations/aaveliquiditychange.js +22 -2
- package/dist/esm/models/operations/aaveliquiditychange.js.map +1 -1
- package/dist/esm/models/operations/aaverate.d.ts +30 -2
- package/dist/esm/models/operations/aaverate.d.ts.map +1 -1
- package/dist/esm/models/operations/aaverate.js +22 -2
- package/dist/esm/models/operations/aaverate.js.map +1 -1
- package/dist/esm/models/operations/aavereserveoverview.d.ts +30 -2
- package/dist/esm/models/operations/aavereserveoverview.d.ts.map +1 -1
- package/dist/esm/models/operations/aavereserveoverview.js +22 -2
- package/dist/esm/models/operations/aavereserveoverview.js.map +1 -1
- package/dist/esm/models/operations/aavestdrate.d.ts +30 -2
- package/dist/esm/models/operations/aavestdrate.d.ts.map +1 -1
- package/dist/esm/models/operations/aavestdrate.js +22 -2
- package/dist/esm/models/operations/aavestdrate.js.map +1 -1
- package/dist/esm/models/operations/aavetokenprice.d.ts +30 -2
- package/dist/esm/models/operations/aavetokenprice.d.ts.map +1 -1
- package/dist/esm/models/operations/aavetokenprice.js +22 -2
- package/dist/esm/models/operations/aavetokenprice.js.map +1 -1
- package/dist/esm/models/operations/aaveuserpositionpertoken.d.ts +30 -2
- package/dist/esm/models/operations/aaveuserpositionpertoken.d.ts.map +1 -1
- package/dist/esm/models/operations/aaveuserpositionpertoken.js +22 -2
- package/dist/esm/models/operations/aaveuserpositionpertoken.js.map +1 -1
- package/dist/esm/models/operations/aaveuserpositionsummary.d.ts +31 -2
- package/dist/esm/models/operations/aaveuserpositionsummary.d.ts.map +1 -1
- package/dist/esm/models/operations/aaveuserpositionsummary.js +22 -2
- package/dist/esm/models/operations/aaveuserpositionsummary.js.map +1 -1
- package/dist/esm/models/operations/aerodromeslipstreamliquidityprovisionpositions.d.ts +25 -2
- package/dist/esm/models/operations/aerodromeslipstreamliquidityprovisionpositions.d.ts.map +1 -1
- package/dist/esm/models/operations/aerodromeslipstreamliquidityprovisionpositions.js +22 -2
- package/dist/esm/models/operations/aerodromeslipstreamliquidityprovisionpositions.js.map +1 -1
- package/dist/esm/models/operations/aerodromeslipstreampoolprice.d.ts +24 -2
- package/dist/esm/models/operations/aerodromeslipstreampoolprice.d.ts.map +1 -1
- package/dist/esm/models/operations/aerodromeslipstreampoolprice.js +20 -2
- package/dist/esm/models/operations/aerodromeslipstreampoolprice.js.map +1 -1
- package/dist/esm/models/operations/genericallowance.d.ts +30 -2
- package/dist/esm/models/operations/genericallowance.d.ts.map +1 -1
- package/dist/esm/models/operations/genericallowance.js +22 -2
- package/dist/esm/models/operations/genericallowance.js.map +1 -1
- package/dist/esm/models/operations/genericens.d.ts +25 -2
- package/dist/esm/models/operations/genericens.d.ts.map +1 -1
- package/dist/esm/models/operations/genericens.js +20 -2
- package/dist/esm/models/operations/genericens.js.map +1 -1
- package/dist/esm/models/operations/genericportfolio.d.ts +31 -2
- package/dist/esm/models/operations/genericportfolio.d.ts.map +1 -1
- package/dist/esm/models/operations/genericportfolio.js +22 -2
- package/dist/esm/models/operations/genericportfolio.js.map +1 -1
- package/dist/esm/models/operations/genericsupportedtokens.d.ts +31 -2
- package/dist/esm/models/operations/genericsupportedtokens.d.ts.map +1 -1
- package/dist/esm/models/operations/genericsupportedtokens.js +22 -2
- package/dist/esm/models/operations/genericsupportedtokens.js.map +1 -1
- package/dist/esm/models/operations/genericvisualizeportfolio.d.ts +31 -2
- package/dist/esm/models/operations/genericvisualizeportfolio.d.ts.map +1 -1
- package/dist/esm/models/operations/genericvisualizeportfolio.js +22 -2
- package/dist/esm/models/operations/genericvisualizeportfolio.js.map +1 -1
- package/dist/esm/models/operations/morphomarket.d.ts +28 -2
- package/dist/esm/models/operations/morphomarket.d.ts.map +1 -1
- package/dist/esm/models/operations/morphomarket.js +21 -2
- package/dist/esm/models/operations/morphomarket.js.map +1 -1
- package/dist/esm/models/operations/morphomarketposition.d.ts +28 -2
- package/dist/esm/models/operations/morphomarketposition.d.ts.map +1 -1
- package/dist/esm/models/operations/morphomarketposition.js +21 -2
- package/dist/esm/models/operations/morphomarketposition.js.map +1 -1
- package/dist/esm/models/operations/morphomarkets.d.ts +28 -2
- package/dist/esm/models/operations/morphomarkets.d.ts.map +1 -1
- package/dist/esm/models/operations/morphomarkets.js +21 -2
- package/dist/esm/models/operations/morphomarkets.js.map +1 -1
- package/dist/esm/models/operations/morphouserposition.d.ts +28 -2
- package/dist/esm/models/operations/morphouserposition.d.ts.map +1 -1
- package/dist/esm/models/operations/morphouserposition.js +21 -2
- package/dist/esm/models/operations/morphouserposition.js.map +1 -1
- package/dist/esm/models/operations/morphovault.d.ts +31 -2
- package/dist/esm/models/operations/morphovault.d.ts.map +1 -1
- package/dist/esm/models/operations/morphovault.js +22 -2
- package/dist/esm/models/operations/morphovault.js.map +1 -1
- package/dist/esm/models/operations/morphovaults.d.ts +28 -2
- package/dist/esm/models/operations/morphovaults.d.ts.map +1 -1
- package/dist/esm/models/operations/morphovaults.js +21 -2
- package/dist/esm/models/operations/morphovaults.js.map +1 -1
- package/dist/esm/models/operations/pendlemarket.d.ts +31 -2
- package/dist/esm/models/operations/pendlemarket.d.ts.map +1 -1
- package/dist/esm/models/operations/pendlemarket.js +22 -2
- package/dist/esm/models/operations/pendlemarket.js.map +1 -1
- package/dist/esm/models/operations/pendlemarkets.d.ts +31 -2
- package/dist/esm/models/operations/pendlemarkets.d.ts.map +1 -1
- package/dist/esm/models/operations/pendlemarkets.js +22 -2
- package/dist/esm/models/operations/pendlemarkets.js.map +1 -1
- package/dist/esm/models/operations/pendlepositions.d.ts +31 -2
- package/dist/esm/models/operations/pendlepositions.d.ts.map +1 -1
- package/dist/esm/models/operations/pendlepositions.js +22 -2
- package/dist/esm/models/operations/pendlepositions.js.map +1 -1
- package/dist/esm/models/operations/pendlequote.d.ts +30 -2
- package/dist/esm/models/operations/pendlequote.d.ts.map +1 -1
- package/dist/esm/models/operations/pendlequote.js +22 -2
- package/dist/esm/models/operations/pendlequote.js.map +1 -1
- package/dist/esm/models/operations/skyposition.d.ts +25 -2
- package/dist/esm/models/operations/skyposition.d.ts.map +1 -1
- package/dist/esm/models/operations/skyposition.js +20 -2
- package/dist/esm/models/operations/skyposition.js.map +1 -1
- package/dist/esm/models/operations/tokenaddress.d.ts +30 -2
- package/dist/esm/models/operations/tokenaddress.d.ts.map +1 -1
- package/dist/esm/models/operations/tokenaddress.js +22 -2
- package/dist/esm/models/operations/tokenaddress.js.map +1 -1
- package/dist/esm/models/operations/tokenbalance.d.ts +31 -2
- package/dist/esm/models/operations/tokenbalance.d.ts.map +1 -1
- package/dist/esm/models/operations/tokenbalance.js +22 -2
- package/dist/esm/models/operations/tokenbalance.js.map +1 -1
- package/dist/esm/models/operations/tokenprice.d.ts +31 -2
- package/dist/esm/models/operations/tokenprice.d.ts.map +1 -1
- package/dist/esm/models/operations/tokenprice.js +22 -2
- package/dist/esm/models/operations/tokenprice.js.map +1 -1
- package/dist/esm/models/operations/uniswapliquidityprovisioninrange.d.ts +31 -2
- package/dist/esm/models/operations/uniswapliquidityprovisioninrange.d.ts.map +1 -1
- package/dist/esm/models/operations/uniswapliquidityprovisioninrange.js +22 -2
- package/dist/esm/models/operations/uniswapliquidityprovisioninrange.js.map +1 -1
- package/dist/esm/models/operations/uniswapliquidityprovisionpositions.d.ts +31 -2
- package/dist/esm/models/operations/uniswapliquidityprovisionpositions.d.ts.map +1 -1
- package/dist/esm/models/operations/uniswapliquidityprovisionpositions.js +23 -2
- package/dist/esm/models/operations/uniswapliquidityprovisionpositions.js.map +1 -1
- package/dist/esm/models/operations/uniswappoolprice.d.ts +30 -2
- package/dist/esm/models/operations/uniswappoolprice.d.ts.map +1 -1
- package/dist/esm/models/operations/uniswappoolprice.js +22 -2
- package/dist/esm/models/operations/uniswappoolprice.js.map +1 -1
- package/dist/esm/models/operations/uniswapquotebuyexactly.d.ts +30 -2
- package/dist/esm/models/operations/uniswapquotebuyexactly.d.ts.map +1 -1
- package/dist/esm/models/operations/uniswapquotebuyexactly.js +22 -2
- package/dist/esm/models/operations/uniswapquotebuyexactly.js.map +1 -1
- package/dist/esm/models/operations/uniswapquotesellexactly.d.ts +30 -2
- package/dist/esm/models/operations/uniswapquotesellexactly.d.ts.map +1 -1
- package/dist/esm/models/operations/uniswapquotesellexactly.js +22 -2
- package/dist/esm/models/operations/uniswapquotesellexactly.js.map +1 -1
- package/dist/esm/models/operations/vaultsvault.d.ts +31 -2
- package/dist/esm/models/operations/vaultsvault.d.ts.map +1 -1
- package/dist/esm/models/operations/vaultsvault.js +22 -2
- package/dist/esm/models/operations/vaultsvault.js.map +1 -1
- package/dist/esm/sdk/morpho.d.ts +1 -1
- package/dist/esm/sdk/morpho.js +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 +8 -0
- package/docs/sdks/aerodromeslipstream/README.md +10 -0
- package/docs/sdks/erc4626vaults/README.md +4 -0
- package/docs/sdks/morpho/README.md +13 -1
- package/docs/sdks/pendle/README.md +24 -6
- package/docs/sdks/sky/README.md +2 -0
- package/docs/sdks/smartaccount/README.md +2 -0
- package/docs/sdks/swap/README.md +2 -0
- package/docs/sdks/token/README.md +2 -0
- package/docs/sdks/transactionbundler/README.md +6 -0
- package/docs/sdks/uniswapv3/README.md +10 -0
- package/docs/sdks/universal/README.md +8 -2
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/morphoVault.ts +1 -1
- package/src/funcs/pendleMarkets.ts +4 -3
- package/src/funcs/universalSupportedTokens.ts +4 -3
- 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/morphoVault.ts +1 -1
- package/src/mcp-server/tools/pendleMarkets.ts +9 -2
- package/src/mcp-server/tools/universalSupportedTokens.ts +9 -2
- package/src/models/components/aaveborrowrequest.ts +33 -4
- package/src/models/components/aavelooprequest.ts +33 -4
- package/src/models/components/aaverepayrequest.ts +33 -4
- package/src/models/components/aavesupplyrequest.ts +33 -4
- package/src/models/components/aavewithdrawrequest.ts +35 -4
- package/src/models/components/aerodromeslipstreambuyexactlyrequest.ts +35 -4
- package/src/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.ts +38 -4
- package/src/models/components/aerodromeslipstreammintliquidityprovisionrequest.ts +37 -4
- package/src/models/components/aerodromeslipstreamsellexactlyrequest.ts +35 -4
- package/src/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.ts +38 -4
- package/src/models/components/batcheduseroperationsrequest.ts +36 -4
- package/src/models/components/morphoborrowrequest.ts +34 -4
- package/src/models/components/morphodepositrequest.ts +34 -4
- package/src/models/components/morphorepayrequest.ts +34 -4
- package/src/models/components/morphosupplycollateralrequest.ts +35 -4
- package/src/models/components/morphowithdrawcollateralrequest.ts +37 -4
- package/src/models/components/morphowithdrawrequest.ts +34 -4
- package/src/models/components/multicallauthorizationrequest.ts +36 -4
- package/src/models/components/multicallexecuterequest.ts +35 -4
- package/src/models/components/odosswaprequest.ts +33 -4
- package/src/models/components/pendleaddliquidityrequest.ts +35 -4
- package/src/models/components/pendlebuyptparams.ts +96 -27
- package/src/models/components/pendlebuyptrequest.ts +131 -31
- package/src/models/components/pendlebuyytparams.ts +96 -27
- package/src/models/components/pendlebuyytrequest.ts +131 -31
- package/src/models/components/pendleredeemyieldrequest.ts +35 -4
- package/src/models/components/pendleremoveliquidityrequest.ts +36 -4
- package/src/models/components/pendlesellptrequest.ts +35 -4
- package/src/models/components/pendlesellytrequest.ts +35 -4
- package/src/models/components/setallowancerequest.ts +34 -4
- package/src/models/components/skybuyrequest.ts +30 -4
- package/src/models/components/skydepositrequest.ts +31 -4
- package/src/models/components/skysellrequest.ts +30 -4
- package/src/models/components/skywithdrawrequest.ts +33 -4
- package/src/models/components/tokentransferrequest.ts +35 -4
- package/src/models/components/uniswapbuyexactlyrequest.ts +35 -4
- package/src/models/components/uniswapincreaseliquidityprovisionrequest.ts +37 -4
- package/src/models/components/uniswapmintliquidityprovisionrequest.ts +37 -4
- package/src/models/components/uniswapsellexactlyrequest.ts +35 -4
- package/src/models/components/uniswapwithdrawliquidityprovisionrequest.ts +37 -4
- package/src/models/components/unwrapwethrequest.ts +33 -4
- package/src/models/components/useroperation.ts +48 -48
- package/src/models/components/vaultdepositrequest.ts +35 -4
- package/src/models/components/vaultwithdrawrequest.ts +35 -4
- package/src/models/components/wrapethrequest.ts +33 -4
- package/src/models/operations/aaveaavesupportedtokens.ts +37 -4
- package/src/models/operations/aaveavgrate.ts +32 -4
- package/src/models/operations/aavehistoricaltransactions.ts +35 -4
- package/src/models/operations/aaveliquiditychange.ts +34 -4
- package/src/models/operations/aaverate.ts +32 -4
- package/src/models/operations/aavereserveoverview.ts +34 -4
- package/src/models/operations/aavestdrate.ts +32 -4
- package/src/models/operations/aavetokenprice.ts +32 -4
- package/src/models/operations/aaveuserpositionpertoken.ts +34 -4
- package/src/models/operations/aaveuserpositionsummary.ts +35 -4
- package/src/models/operations/aerodromeslipstreamliquidityprovisionpositions.ts +37 -4
- package/src/models/operations/aerodromeslipstreampoolprice.ts +37 -4
- package/src/models/operations/genericallowance.ts +32 -4
- package/src/models/operations/genericens.ts +31 -4
- package/src/models/operations/genericportfolio.ts +33 -4
- package/src/models/operations/genericsupportedtokens.ts +35 -4
- package/src/models/operations/genericvisualizeportfolio.ts +39 -4
- package/src/models/operations/morphomarket.ts +32 -4
- package/src/models/operations/morphomarketposition.ts +34 -4
- package/src/models/operations/morphomarkets.ts +32 -4
- package/src/models/operations/morphouserposition.ts +34 -4
- package/src/models/operations/morphovault.ts +33 -4
- package/src/models/operations/morphovaults.ts +32 -4
- package/src/models/operations/pendlemarket.ts +33 -4
- package/src/models/operations/pendlemarkets.ts +33 -4
- package/src/models/operations/pendlepositions.ts +33 -4
- package/src/models/operations/pendlequote.ts +32 -4
- package/src/models/operations/skyposition.ts +31 -4
- package/src/models/operations/tokenaddress.ts +32 -4
- package/src/models/operations/tokenbalance.ts +33 -4
- package/src/models/operations/tokenprice.ts +33 -4
- package/src/models/operations/uniswapliquidityprovisioninrange.ts +42 -4
- package/src/models/operations/uniswapliquidityprovisionpositions.ts +41 -4
- package/src/models/operations/uniswappoolprice.ts +32 -4
- package/src/models/operations/uniswapquotebuyexactly.ts +34 -4
- package/src/models/operations/uniswapquotesellexactly.ts +36 -4
- package/src/models/operations/vaultsvault.ts +33 -4
- package/src/sdk/morpho.ts +1 -1
- package/src/sdk/pendle.ts +2 -0
- package/src/sdk/universal.ts +2 -0
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.54",
|
|
34268
|
+
genVersion: "2.662.0",
|
|
34269
|
+
userAgent: "speakeasy-sdk/typescript 0.5.54 2.662.0 0.0.1 @compass-labs/api-sdk"
|
|
34270
34270
|
};
|
|
34271
34271
|
});
|
|
34272
34272
|
|
|
@@ -35833,25 +35833,36 @@ var init_aaveborrowparams = __esm(() => {
|
|
|
35833
35833
|
});
|
|
35834
35834
|
|
|
35835
35835
|
// src/models/components/aaveborrowrequest.ts
|
|
35836
|
-
var AaveBorrowRequestAmount$inboundSchema, AaveBorrowRequestAmount$outboundSchema, AaveBorrowRequestAmount$, AaveBorrowRequest$inboundSchema, AaveBorrowRequest$outboundSchema, AaveBorrowRequest$;
|
|
35836
|
+
var AaveBorrowRequestChain, AaveBorrowRequestAmount$inboundSchema, AaveBorrowRequestAmount$outboundSchema, AaveBorrowRequestAmount$, AaveBorrowRequestChain$inboundSchema, AaveBorrowRequestChain$outboundSchema, AaveBorrowRequestChain$, AaveBorrowRequest$inboundSchema, AaveBorrowRequest$outboundSchema, AaveBorrowRequest$;
|
|
35837
35837
|
var init_aaveborrowrequest = __esm(() => {
|
|
35838
35838
|
init_zod();
|
|
35839
35839
|
init_primitives();
|
|
35840
35840
|
init_interestratemode();
|
|
35841
35841
|
init_tokenenum();
|
|
35842
|
+
AaveBorrowRequestChain = {
|
|
35843
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
35844
|
+
BaseMainnet: "base:mainnet",
|
|
35845
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
35846
|
+
};
|
|
35842
35847
|
AaveBorrowRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
35843
35848
|
AaveBorrowRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
35844
35849
|
((AaveBorrowRequestAmount$) => {
|
|
35845
35850
|
AaveBorrowRequestAmount$.inboundSchema = AaveBorrowRequestAmount$inboundSchema;
|
|
35846
35851
|
AaveBorrowRequestAmount$.outboundSchema = AaveBorrowRequestAmount$outboundSchema;
|
|
35847
35852
|
})(AaveBorrowRequestAmount$ ||= {});
|
|
35853
|
+
AaveBorrowRequestChain$inboundSchema = nativeEnumType(AaveBorrowRequestChain);
|
|
35854
|
+
AaveBorrowRequestChain$outboundSchema = AaveBorrowRequestChain$inboundSchema;
|
|
35855
|
+
((AaveBorrowRequestChain$) => {
|
|
35856
|
+
AaveBorrowRequestChain$.inboundSchema = AaveBorrowRequestChain$inboundSchema;
|
|
35857
|
+
AaveBorrowRequestChain$.outboundSchema = AaveBorrowRequestChain$outboundSchema;
|
|
35858
|
+
})(AaveBorrowRequestChain$ ||= {});
|
|
35848
35859
|
AaveBorrowRequest$inboundSchema = objectType({
|
|
35849
35860
|
action_type: literalType("AAVE_BORROW").default("AAVE_BORROW"),
|
|
35850
35861
|
token: TokenEnum$inboundSchema,
|
|
35851
35862
|
amount: unionType([numberType(), stringType()]),
|
|
35852
35863
|
interest_rate_mode: InterestRateMode$inboundSchema,
|
|
35853
35864
|
on_behalf_of: nullableType(stringType()).optional(),
|
|
35854
|
-
chain:
|
|
35865
|
+
chain: AaveBorrowRequestChain$inboundSchema,
|
|
35855
35866
|
sender: stringType()
|
|
35856
35867
|
}).transform((v2) => {
|
|
35857
35868
|
return remap(v2, {
|
|
@@ -35866,7 +35877,7 @@ var init_aaveborrowrequest = __esm(() => {
|
|
|
35866
35877
|
amount: unionType([numberType(), stringType()]),
|
|
35867
35878
|
interestRateMode: InterestRateMode$outboundSchema,
|
|
35868
35879
|
onBehalfOf: nullableType(stringType()).optional(),
|
|
35869
|
-
chain:
|
|
35880
|
+
chain: AaveBorrowRequestChain$outboundSchema,
|
|
35870
35881
|
sender: stringType()
|
|
35871
35882
|
}).transform((v2) => {
|
|
35872
35883
|
return remap(v2, {
|
|
@@ -36342,12 +36353,23 @@ var init_signedauthorization = __esm(() => {
|
|
|
36342
36353
|
});
|
|
36343
36354
|
|
|
36344
36355
|
// src/models/components/aavelooprequest.ts
|
|
36345
|
-
var InitialCollateralAmount$inboundSchema, InitialCollateralAmount$outboundSchema, InitialCollateralAmount$, Multiplier$inboundSchema, Multiplier$outboundSchema, Multiplier$, MaxSlippagePercent$inboundSchema, MaxSlippagePercent$outboundSchema, MaxSlippagePercent$, LoanToValue$inboundSchema, LoanToValue$outboundSchema, LoanToValue$, AaveLoopRequest$inboundSchema, AaveLoopRequest$outboundSchema, AaveLoopRequest$;
|
|
36356
|
+
var AaveLoopRequestChain, AaveLoopRequestChain$inboundSchema, AaveLoopRequestChain$outboundSchema, AaveLoopRequestChain$, InitialCollateralAmount$inboundSchema, InitialCollateralAmount$outboundSchema, InitialCollateralAmount$, Multiplier$inboundSchema, Multiplier$outboundSchema, Multiplier$, MaxSlippagePercent$inboundSchema, MaxSlippagePercent$outboundSchema, MaxSlippagePercent$, LoanToValue$inboundSchema, LoanToValue$outboundSchema, LoanToValue$, AaveLoopRequest$inboundSchema, AaveLoopRequest$outboundSchema, AaveLoopRequest$;
|
|
36346
36357
|
var init_aavelooprequest = __esm(() => {
|
|
36347
36358
|
init_zod();
|
|
36348
36359
|
init_primitives();
|
|
36349
36360
|
init_signedauthorization();
|
|
36350
36361
|
init_tokenenum();
|
|
36362
|
+
AaveLoopRequestChain = {
|
|
36363
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
36364
|
+
BaseMainnet: "base:mainnet",
|
|
36365
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
36366
|
+
};
|
|
36367
|
+
AaveLoopRequestChain$inboundSchema = nativeEnumType(AaveLoopRequestChain);
|
|
36368
|
+
AaveLoopRequestChain$outboundSchema = AaveLoopRequestChain$inboundSchema;
|
|
36369
|
+
((AaveLoopRequestChain$) => {
|
|
36370
|
+
AaveLoopRequestChain$.inboundSchema = AaveLoopRequestChain$inboundSchema;
|
|
36371
|
+
AaveLoopRequestChain$.outboundSchema = AaveLoopRequestChain$outboundSchema;
|
|
36372
|
+
})(AaveLoopRequestChain$ ||= {});
|
|
36351
36373
|
InitialCollateralAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
36352
36374
|
InitialCollateralAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
36353
36375
|
((InitialCollateralAmount$) => {
|
|
@@ -36373,7 +36395,7 @@ var init_aavelooprequest = __esm(() => {
|
|
|
36373
36395
|
LoanToValue$.outboundSchema = LoanToValue$outboundSchema;
|
|
36374
36396
|
})(LoanToValue$ ||= {});
|
|
36375
36397
|
AaveLoopRequest$inboundSchema = objectType({
|
|
36376
|
-
chain:
|
|
36398
|
+
chain: AaveLoopRequestChain$inboundSchema,
|
|
36377
36399
|
sender: stringType(),
|
|
36378
36400
|
signed_authorization: SignedAuthorization$inboundSchema,
|
|
36379
36401
|
collateral_token: TokenEnum$inboundSchema,
|
|
@@ -36393,7 +36415,7 @@ var init_aavelooprequest = __esm(() => {
|
|
|
36393
36415
|
});
|
|
36394
36416
|
});
|
|
36395
36417
|
AaveLoopRequest$outboundSchema = objectType({
|
|
36396
|
-
chain:
|
|
36418
|
+
chain: AaveLoopRequestChain$outboundSchema,
|
|
36397
36419
|
sender: stringType(),
|
|
36398
36420
|
signedAuthorization: SignedAuthorization$outboundSchema,
|
|
36399
36421
|
collateralToken: TokenEnum$outboundSchema,
|
|
@@ -36509,25 +36531,36 @@ var init_aaverepayparams = __esm(() => {
|
|
|
36509
36531
|
});
|
|
36510
36532
|
|
|
36511
36533
|
// src/models/components/aaverepayrequest.ts
|
|
36512
|
-
var AaveRepayRequestAmount$inboundSchema, AaveRepayRequestAmount$outboundSchema, AaveRepayRequestAmount$, AaveRepayRequest$inboundSchema, AaveRepayRequest$outboundSchema, AaveRepayRequest$;
|
|
36534
|
+
var AaveRepayRequestChain, AaveRepayRequestAmount$inboundSchema, AaveRepayRequestAmount$outboundSchema, AaveRepayRequestAmount$, AaveRepayRequestChain$inboundSchema, AaveRepayRequestChain$outboundSchema, AaveRepayRequestChain$, AaveRepayRequest$inboundSchema, AaveRepayRequest$outboundSchema, AaveRepayRequest$;
|
|
36513
36535
|
var init_aaverepayrequest = __esm(() => {
|
|
36514
36536
|
init_zod();
|
|
36515
36537
|
init_primitives();
|
|
36516
36538
|
init_interestratemode();
|
|
36517
36539
|
init_tokenenum();
|
|
36540
|
+
AaveRepayRequestChain = {
|
|
36541
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
36542
|
+
BaseMainnet: "base:mainnet",
|
|
36543
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
36544
|
+
};
|
|
36518
36545
|
AaveRepayRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
36519
36546
|
AaveRepayRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
36520
36547
|
((AaveRepayRequestAmount$) => {
|
|
36521
36548
|
AaveRepayRequestAmount$.inboundSchema = AaveRepayRequestAmount$inboundSchema;
|
|
36522
36549
|
AaveRepayRequestAmount$.outboundSchema = AaveRepayRequestAmount$outboundSchema;
|
|
36523
36550
|
})(AaveRepayRequestAmount$ ||= {});
|
|
36551
|
+
AaveRepayRequestChain$inboundSchema = nativeEnumType(AaveRepayRequestChain);
|
|
36552
|
+
AaveRepayRequestChain$outboundSchema = AaveRepayRequestChain$inboundSchema;
|
|
36553
|
+
((AaveRepayRequestChain$) => {
|
|
36554
|
+
AaveRepayRequestChain$.inboundSchema = AaveRepayRequestChain$inboundSchema;
|
|
36555
|
+
AaveRepayRequestChain$.outboundSchema = AaveRepayRequestChain$outboundSchema;
|
|
36556
|
+
})(AaveRepayRequestChain$ ||= {});
|
|
36524
36557
|
AaveRepayRequest$inboundSchema = objectType({
|
|
36525
36558
|
action_type: literalType("AAVE_REPAY").default("AAVE_REPAY"),
|
|
36526
36559
|
token: TokenEnum$inboundSchema,
|
|
36527
36560
|
amount: unionType([numberType(), stringType()]),
|
|
36528
36561
|
interest_rate_mode: InterestRateMode$inboundSchema,
|
|
36529
36562
|
on_behalf_of: nullableType(stringType()).optional(),
|
|
36530
|
-
chain:
|
|
36563
|
+
chain: AaveRepayRequestChain$inboundSchema,
|
|
36531
36564
|
sender: stringType()
|
|
36532
36565
|
}).transform((v2) => {
|
|
36533
36566
|
return remap(v2, {
|
|
@@ -36542,7 +36575,7 @@ var init_aaverepayrequest = __esm(() => {
|
|
|
36542
36575
|
amount: unionType([numberType(), stringType()]),
|
|
36543
36576
|
interestRateMode: InterestRateMode$outboundSchema,
|
|
36544
36577
|
onBehalfOf: nullableType(stringType()).optional(),
|
|
36545
|
-
chain:
|
|
36578
|
+
chain: AaveRepayRequestChain$outboundSchema,
|
|
36546
36579
|
sender: stringType()
|
|
36547
36580
|
}).transform((v2) => {
|
|
36548
36581
|
return remap(v2, {
|
|
@@ -36674,23 +36707,34 @@ var init_aavesupplyparams = __esm(() => {
|
|
|
36674
36707
|
});
|
|
36675
36708
|
|
|
36676
36709
|
// src/models/components/aavesupplyrequest.ts
|
|
36677
|
-
var AaveSupplyRequestAmount$inboundSchema, AaveSupplyRequestAmount$outboundSchema, AaveSupplyRequestAmount$, AaveSupplyRequest$inboundSchema, AaveSupplyRequest$outboundSchema, AaveSupplyRequest$;
|
|
36710
|
+
var AaveSupplyRequestChain, AaveSupplyRequestAmount$inboundSchema, AaveSupplyRequestAmount$outboundSchema, AaveSupplyRequestAmount$, AaveSupplyRequestChain$inboundSchema, AaveSupplyRequestChain$outboundSchema, AaveSupplyRequestChain$, AaveSupplyRequest$inboundSchema, AaveSupplyRequest$outboundSchema, AaveSupplyRequest$;
|
|
36678
36711
|
var init_aavesupplyrequest = __esm(() => {
|
|
36679
36712
|
init_zod();
|
|
36680
36713
|
init_primitives();
|
|
36681
36714
|
init_tokenenum();
|
|
36715
|
+
AaveSupplyRequestChain = {
|
|
36716
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
36717
|
+
BaseMainnet: "base:mainnet",
|
|
36718
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
36719
|
+
};
|
|
36682
36720
|
AaveSupplyRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
36683
36721
|
AaveSupplyRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
36684
36722
|
((AaveSupplyRequestAmount$) => {
|
|
36685
36723
|
AaveSupplyRequestAmount$.inboundSchema = AaveSupplyRequestAmount$inboundSchema;
|
|
36686
36724
|
AaveSupplyRequestAmount$.outboundSchema = AaveSupplyRequestAmount$outboundSchema;
|
|
36687
36725
|
})(AaveSupplyRequestAmount$ ||= {});
|
|
36726
|
+
AaveSupplyRequestChain$inboundSchema = nativeEnumType(AaveSupplyRequestChain);
|
|
36727
|
+
AaveSupplyRequestChain$outboundSchema = AaveSupplyRequestChain$inboundSchema;
|
|
36728
|
+
((AaveSupplyRequestChain$) => {
|
|
36729
|
+
AaveSupplyRequestChain$.inboundSchema = AaveSupplyRequestChain$inboundSchema;
|
|
36730
|
+
AaveSupplyRequestChain$.outboundSchema = AaveSupplyRequestChain$outboundSchema;
|
|
36731
|
+
})(AaveSupplyRequestChain$ ||= {});
|
|
36688
36732
|
AaveSupplyRequest$inboundSchema = objectType({
|
|
36689
36733
|
action_type: literalType("AAVE_SUPPLY").default("AAVE_SUPPLY"),
|
|
36690
36734
|
token: TokenEnum$inboundSchema,
|
|
36691
36735
|
amount: unionType([numberType(), stringType()]),
|
|
36692
36736
|
on_behalf_of: nullableType(stringType()).optional(),
|
|
36693
|
-
chain:
|
|
36737
|
+
chain: AaveSupplyRequestChain$inboundSchema,
|
|
36694
36738
|
sender: stringType()
|
|
36695
36739
|
}).transform((v2) => {
|
|
36696
36740
|
return remap(v2, {
|
|
@@ -36703,7 +36747,7 @@ var init_aavesupplyrequest = __esm(() => {
|
|
|
36703
36747
|
token: TokenEnum$outboundSchema,
|
|
36704
36748
|
amount: unionType([numberType(), stringType()]),
|
|
36705
36749
|
onBehalfOf: nullableType(stringType()).optional(),
|
|
36706
|
-
chain:
|
|
36750
|
+
chain: AaveSupplyRequestChain$outboundSchema,
|
|
36707
36751
|
sender: stringType()
|
|
36708
36752
|
}).transform((v2) => {
|
|
36709
36753
|
return remap(v2, {
|
|
@@ -36924,23 +36968,34 @@ var init_aavewithdrawparams = __esm(() => {
|
|
|
36924
36968
|
});
|
|
36925
36969
|
|
|
36926
36970
|
// src/models/components/aavewithdrawrequest.ts
|
|
36927
|
-
var AaveWithdrawRequestAmount$inboundSchema, AaveWithdrawRequestAmount$outboundSchema, AaveWithdrawRequestAmount$, AaveWithdrawRequest$inboundSchema, AaveWithdrawRequest$outboundSchema, AaveWithdrawRequest$;
|
|
36971
|
+
var AaveWithdrawRequestChain, AaveWithdrawRequestAmount$inboundSchema, AaveWithdrawRequestAmount$outboundSchema, AaveWithdrawRequestAmount$, AaveWithdrawRequestChain$inboundSchema, AaveWithdrawRequestChain$outboundSchema, AaveWithdrawRequestChain$, AaveWithdrawRequest$inboundSchema, AaveWithdrawRequest$outboundSchema, AaveWithdrawRequest$;
|
|
36928
36972
|
var init_aavewithdrawrequest = __esm(() => {
|
|
36929
36973
|
init_zod();
|
|
36930
36974
|
init_primitives();
|
|
36931
36975
|
init_tokenenum();
|
|
36976
|
+
AaveWithdrawRequestChain = {
|
|
36977
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
36978
|
+
BaseMainnet: "base:mainnet",
|
|
36979
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
36980
|
+
};
|
|
36932
36981
|
AaveWithdrawRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
36933
36982
|
AaveWithdrawRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
36934
36983
|
((AaveWithdrawRequestAmount$) => {
|
|
36935
36984
|
AaveWithdrawRequestAmount$.inboundSchema = AaveWithdrawRequestAmount$inboundSchema;
|
|
36936
36985
|
AaveWithdrawRequestAmount$.outboundSchema = AaveWithdrawRequestAmount$outboundSchema;
|
|
36937
36986
|
})(AaveWithdrawRequestAmount$ ||= {});
|
|
36987
|
+
AaveWithdrawRequestChain$inboundSchema = nativeEnumType(AaveWithdrawRequestChain);
|
|
36988
|
+
AaveWithdrawRequestChain$outboundSchema = AaveWithdrawRequestChain$inboundSchema;
|
|
36989
|
+
((AaveWithdrawRequestChain$) => {
|
|
36990
|
+
AaveWithdrawRequestChain$.inboundSchema = AaveWithdrawRequestChain$inboundSchema;
|
|
36991
|
+
AaveWithdrawRequestChain$.outboundSchema = AaveWithdrawRequestChain$outboundSchema;
|
|
36992
|
+
})(AaveWithdrawRequestChain$ ||= {});
|
|
36938
36993
|
AaveWithdrawRequest$inboundSchema = objectType({
|
|
36939
36994
|
action_type: literalType("AAVE_WITHDRAW").default("AAVE_WITHDRAW"),
|
|
36940
36995
|
token: TokenEnum$inboundSchema,
|
|
36941
36996
|
amount: unionType([numberType(), stringType()]),
|
|
36942
36997
|
recipient: stringType(),
|
|
36943
|
-
chain:
|
|
36998
|
+
chain: AaveWithdrawRequestChain$inboundSchema,
|
|
36944
36999
|
sender: stringType()
|
|
36945
37000
|
}).transform((v2) => {
|
|
36946
37001
|
return remap(v2, {
|
|
@@ -36952,7 +37007,7 @@ var init_aavewithdrawrequest = __esm(() => {
|
|
|
36952
37007
|
token: TokenEnum$outboundSchema,
|
|
36953
37008
|
amount: unionType([numberType(), stringType()]),
|
|
36954
37009
|
recipient: stringType(),
|
|
36955
|
-
chain:
|
|
37010
|
+
chain: AaveWithdrawRequestChain$outboundSchema,
|
|
36956
37011
|
sender: stringType()
|
|
36957
37012
|
}).transform((v2) => {
|
|
36958
37013
|
return remap(v2, {
|
|
@@ -37105,11 +37160,14 @@ var init_aerodromeslipstreambuyexactlyparams = __esm(() => {
|
|
|
37105
37160
|
});
|
|
37106
37161
|
|
|
37107
37162
|
// src/models/components/aerodromeslipstreambuyexactlyrequest.ts
|
|
37108
|
-
var AerodromeSlipstreamBuyExactlyRequestAmountOut$inboundSchema, AerodromeSlipstreamBuyExactlyRequestAmountOut$outboundSchema, AerodromeSlipstreamBuyExactlyRequestAmountOut$, AerodromeSlipstreamBuyExactlyRequestAmountInMaximum$inboundSchema, AerodromeSlipstreamBuyExactlyRequestAmountInMaximum$outboundSchema, AerodromeSlipstreamBuyExactlyRequestAmountInMaximum$, AerodromeSlipstreamBuyExactlyRequest$inboundSchema, AerodromeSlipstreamBuyExactlyRequest$outboundSchema, AerodromeSlipstreamBuyExactlyRequest$;
|
|
37163
|
+
var AerodromeSlipstreamBuyExactlyRequestChain, AerodromeSlipstreamBuyExactlyRequestAmountOut$inboundSchema, AerodromeSlipstreamBuyExactlyRequestAmountOut$outboundSchema, AerodromeSlipstreamBuyExactlyRequestAmountOut$, AerodromeSlipstreamBuyExactlyRequestAmountInMaximum$inboundSchema, AerodromeSlipstreamBuyExactlyRequestAmountInMaximum$outboundSchema, AerodromeSlipstreamBuyExactlyRequestAmountInMaximum$, AerodromeSlipstreamBuyExactlyRequestChain$inboundSchema, AerodromeSlipstreamBuyExactlyRequestChain$outboundSchema, AerodromeSlipstreamBuyExactlyRequestChain$, AerodromeSlipstreamBuyExactlyRequest$inboundSchema, AerodromeSlipstreamBuyExactlyRequest$outboundSchema, AerodromeSlipstreamBuyExactlyRequest$;
|
|
37109
37164
|
var init_aerodromeslipstreambuyexactlyrequest = __esm(() => {
|
|
37110
37165
|
init_zod();
|
|
37111
37166
|
init_primitives();
|
|
37112
37167
|
init_tokenenum();
|
|
37168
|
+
AerodromeSlipstreamBuyExactlyRequestChain = {
|
|
37169
|
+
BaseMainnet: "base:mainnet"
|
|
37170
|
+
};
|
|
37113
37171
|
AerodromeSlipstreamBuyExactlyRequestAmountOut$inboundSchema = unionType([numberType(), stringType()]);
|
|
37114
37172
|
AerodromeSlipstreamBuyExactlyRequestAmountOut$outboundSchema = unionType([numberType(), stringType()]);
|
|
37115
37173
|
((AerodromeSlipstreamBuyExactlyRequestAmountOut$) => {
|
|
@@ -37122,6 +37180,12 @@ var init_aerodromeslipstreambuyexactlyrequest = __esm(() => {
|
|
|
37122
37180
|
AerodromeSlipstreamBuyExactlyRequestAmountInMaximum$.inboundSchema = AerodromeSlipstreamBuyExactlyRequestAmountInMaximum$inboundSchema;
|
|
37123
37181
|
AerodromeSlipstreamBuyExactlyRequestAmountInMaximum$.outboundSchema = AerodromeSlipstreamBuyExactlyRequestAmountInMaximum$outboundSchema;
|
|
37124
37182
|
})(AerodromeSlipstreamBuyExactlyRequestAmountInMaximum$ ||= {});
|
|
37183
|
+
AerodromeSlipstreamBuyExactlyRequestChain$inboundSchema = nativeEnumType(AerodromeSlipstreamBuyExactlyRequestChain);
|
|
37184
|
+
AerodromeSlipstreamBuyExactlyRequestChain$outboundSchema = AerodromeSlipstreamBuyExactlyRequestChain$inboundSchema;
|
|
37185
|
+
((AerodromeSlipstreamBuyExactlyRequestChain$) => {
|
|
37186
|
+
AerodromeSlipstreamBuyExactlyRequestChain$.inboundSchema = AerodromeSlipstreamBuyExactlyRequestChain$inboundSchema;
|
|
37187
|
+
AerodromeSlipstreamBuyExactlyRequestChain$.outboundSchema = AerodromeSlipstreamBuyExactlyRequestChain$outboundSchema;
|
|
37188
|
+
})(AerodromeSlipstreamBuyExactlyRequestChain$ ||= {});
|
|
37125
37189
|
AerodromeSlipstreamBuyExactlyRequest$inboundSchema = objectType({
|
|
37126
37190
|
action_type: literalType("AERODROME_SLIPSTREAM_BUY_EXACTLY").default("AERODROME_SLIPSTREAM_BUY_EXACTLY"),
|
|
37127
37191
|
token_in: TokenEnum$inboundSchema,
|
|
@@ -37129,7 +37193,7 @@ var init_aerodromeslipstreambuyexactlyrequest = __esm(() => {
|
|
|
37129
37193
|
tick_spacing: numberType().int(),
|
|
37130
37194
|
amount_out: unionType([numberType(), stringType()]),
|
|
37131
37195
|
amount_in_maximum: unionType([numberType(), stringType()]),
|
|
37132
|
-
chain:
|
|
37196
|
+
chain: AerodromeSlipstreamBuyExactlyRequestChain$inboundSchema,
|
|
37133
37197
|
sender: stringType()
|
|
37134
37198
|
}).transform((v2) => {
|
|
37135
37199
|
return remap(v2, {
|
|
@@ -37148,7 +37212,7 @@ var init_aerodromeslipstreambuyexactlyrequest = __esm(() => {
|
|
|
37148
37212
|
tickSpacing: numberType().int(),
|
|
37149
37213
|
amountOut: unionType([numberType(), stringType()]),
|
|
37150
37214
|
amountInMaximum: unionType([numberType(), stringType()]),
|
|
37151
|
-
chain:
|
|
37215
|
+
chain: AerodromeSlipstreamBuyExactlyRequestChain$outboundSchema,
|
|
37152
37216
|
sender: stringType()
|
|
37153
37217
|
}).transform((v2) => {
|
|
37154
37218
|
return remap(v2, {
|
|
@@ -37236,10 +37300,13 @@ var init_aerodromeslipstreamincreaseliquidityprovisionparams = __esm(() => {
|
|
|
37236
37300
|
});
|
|
37237
37301
|
|
|
37238
37302
|
// src/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.ts
|
|
37239
|
-
var AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0Desired$inboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0Desired$outboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0Desired$, AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Desired$inboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Desired$outboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Desired$, AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0Min$inboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0Min$outboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0Min$, AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Min$inboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Min$outboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Min$, AerodromeSlipstreamIncreaseLiquidityProvisionRequest$inboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionRequest$outboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionRequest$;
|
|
37303
|
+
var AerodromeSlipstreamIncreaseLiquidityProvisionRequestChain, AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0Desired$inboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0Desired$outboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0Desired$, AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Desired$inboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Desired$outboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Desired$, AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0Min$inboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0Min$outboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0Min$, AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Min$inboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Min$outboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Min$, AerodromeSlipstreamIncreaseLiquidityProvisionRequestChain$inboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionRequestChain$outboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionRequestChain$, AerodromeSlipstreamIncreaseLiquidityProvisionRequest$inboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionRequest$outboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionRequest$;
|
|
37240
37304
|
var init_aerodromeslipstreamincreaseliquidityprovisionrequest = __esm(() => {
|
|
37241
37305
|
init_zod();
|
|
37242
37306
|
init_primitives();
|
|
37307
|
+
AerodromeSlipstreamIncreaseLiquidityProvisionRequestChain = {
|
|
37308
|
+
BaseMainnet: "base:mainnet"
|
|
37309
|
+
};
|
|
37243
37310
|
AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0Desired$inboundSchema = unionType([numberType(), stringType()]);
|
|
37244
37311
|
AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0Desired$outboundSchema = unionType([numberType(), stringType()]);
|
|
37245
37312
|
((AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0Desired$) => {
|
|
@@ -37264,6 +37331,12 @@ var init_aerodromeslipstreamincreaseliquidityprovisionrequest = __esm(() => {
|
|
|
37264
37331
|
AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Min$.inboundSchema = AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Min$inboundSchema;
|
|
37265
37332
|
AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Min$.outboundSchema = AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Min$outboundSchema;
|
|
37266
37333
|
})(AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Min$ ||= {});
|
|
37334
|
+
AerodromeSlipstreamIncreaseLiquidityProvisionRequestChain$inboundSchema = nativeEnumType(AerodromeSlipstreamIncreaseLiquidityProvisionRequestChain);
|
|
37335
|
+
AerodromeSlipstreamIncreaseLiquidityProvisionRequestChain$outboundSchema = AerodromeSlipstreamIncreaseLiquidityProvisionRequestChain$inboundSchema;
|
|
37336
|
+
((AerodromeSlipstreamIncreaseLiquidityProvisionRequestChain$) => {
|
|
37337
|
+
AerodromeSlipstreamIncreaseLiquidityProvisionRequestChain$.inboundSchema = AerodromeSlipstreamIncreaseLiquidityProvisionRequestChain$inboundSchema;
|
|
37338
|
+
AerodromeSlipstreamIncreaseLiquidityProvisionRequestChain$.outboundSchema = AerodromeSlipstreamIncreaseLiquidityProvisionRequestChain$outboundSchema;
|
|
37339
|
+
})(AerodromeSlipstreamIncreaseLiquidityProvisionRequestChain$ ||= {});
|
|
37267
37340
|
AerodromeSlipstreamIncreaseLiquidityProvisionRequest$inboundSchema = objectType({
|
|
37268
37341
|
action_type: literalType("AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY_PROVISION").default("AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY_PROVISION"),
|
|
37269
37342
|
token_id: numberType().int(),
|
|
@@ -37271,7 +37344,7 @@ var init_aerodromeslipstreamincreaseliquidityprovisionrequest = __esm(() => {
|
|
|
37271
37344
|
amount1_desired: unionType([numberType(), stringType()]),
|
|
37272
37345
|
amount0_min: unionType([numberType(), stringType()]),
|
|
37273
37346
|
amount1_min: unionType([numberType(), stringType()]),
|
|
37274
|
-
chain:
|
|
37347
|
+
chain: AerodromeSlipstreamIncreaseLiquidityProvisionRequestChain$inboundSchema,
|
|
37275
37348
|
sender: stringType()
|
|
37276
37349
|
}).transform((v2) => {
|
|
37277
37350
|
return remap(v2, {
|
|
@@ -37290,7 +37363,7 @@ var init_aerodromeslipstreamincreaseliquidityprovisionrequest = __esm(() => {
|
|
|
37290
37363
|
amount1Desired: unionType([numberType(), stringType()]),
|
|
37291
37364
|
amount0Min: unionType([numberType(), stringType()]),
|
|
37292
37365
|
amount1Min: unionType([numberType(), stringType()]),
|
|
37293
|
-
chain:
|
|
37366
|
+
chain: AerodromeSlipstreamIncreaseLiquidityProvisionRequestChain$outboundSchema,
|
|
37294
37367
|
sender: stringType()
|
|
37295
37368
|
}).transform((v2) => {
|
|
37296
37369
|
return remap(v2, {
|
|
@@ -37393,11 +37466,14 @@ var init_aerodromeslipstreammintliquidityprovisionparams = __esm(() => {
|
|
|
37393
37466
|
});
|
|
37394
37467
|
|
|
37395
37468
|
// src/models/components/aerodromeslipstreammintliquidityprovisionrequest.ts
|
|
37396
|
-
var AerodromeSlipstreamMintLiquidityProvisionRequestAmount0Desired$inboundSchema, AerodromeSlipstreamMintLiquidityProvisionRequestAmount0Desired$outboundSchema, AerodromeSlipstreamMintLiquidityProvisionRequestAmount0Desired$, AerodromeSlipstreamMintLiquidityProvisionRequestAmount1Desired$inboundSchema, AerodromeSlipstreamMintLiquidityProvisionRequestAmount1Desired$outboundSchema, AerodromeSlipstreamMintLiquidityProvisionRequestAmount1Desired$, AerodromeSlipstreamMintLiquidityProvisionRequestAmount0Min$inboundSchema, AerodromeSlipstreamMintLiquidityProvisionRequestAmount0Min$outboundSchema, AerodromeSlipstreamMintLiquidityProvisionRequestAmount0Min$, AerodromeSlipstreamMintLiquidityProvisionRequestAmount1Min$inboundSchema, AerodromeSlipstreamMintLiquidityProvisionRequestAmount1Min$outboundSchema, AerodromeSlipstreamMintLiquidityProvisionRequestAmount1Min$, AerodromeSlipstreamMintLiquidityProvisionRequest$inboundSchema, AerodromeSlipstreamMintLiquidityProvisionRequest$outboundSchema, AerodromeSlipstreamMintLiquidityProvisionRequest$;
|
|
37469
|
+
var AerodromeSlipstreamMintLiquidityProvisionRequestChain, AerodromeSlipstreamMintLiquidityProvisionRequestAmount0Desired$inboundSchema, AerodromeSlipstreamMintLiquidityProvisionRequestAmount0Desired$outboundSchema, AerodromeSlipstreamMintLiquidityProvisionRequestAmount0Desired$, AerodromeSlipstreamMintLiquidityProvisionRequestAmount1Desired$inboundSchema, AerodromeSlipstreamMintLiquidityProvisionRequestAmount1Desired$outboundSchema, AerodromeSlipstreamMintLiquidityProvisionRequestAmount1Desired$, AerodromeSlipstreamMintLiquidityProvisionRequestAmount0Min$inboundSchema, AerodromeSlipstreamMintLiquidityProvisionRequestAmount0Min$outboundSchema, AerodromeSlipstreamMintLiquidityProvisionRequestAmount0Min$, AerodromeSlipstreamMintLiquidityProvisionRequestAmount1Min$inboundSchema, AerodromeSlipstreamMintLiquidityProvisionRequestAmount1Min$outboundSchema, AerodromeSlipstreamMintLiquidityProvisionRequestAmount1Min$, AerodromeSlipstreamMintLiquidityProvisionRequestChain$inboundSchema, AerodromeSlipstreamMintLiquidityProvisionRequestChain$outboundSchema, AerodromeSlipstreamMintLiquidityProvisionRequestChain$, AerodromeSlipstreamMintLiquidityProvisionRequest$inboundSchema, AerodromeSlipstreamMintLiquidityProvisionRequest$outboundSchema, AerodromeSlipstreamMintLiquidityProvisionRequest$;
|
|
37397
37470
|
var init_aerodromeslipstreammintliquidityprovisionrequest = __esm(() => {
|
|
37398
37471
|
init_zod();
|
|
37399
37472
|
init_primitives();
|
|
37400
37473
|
init_tokenenum();
|
|
37474
|
+
AerodromeSlipstreamMintLiquidityProvisionRequestChain = {
|
|
37475
|
+
BaseMainnet: "base:mainnet"
|
|
37476
|
+
};
|
|
37401
37477
|
AerodromeSlipstreamMintLiquidityProvisionRequestAmount0Desired$inboundSchema = unionType([numberType(), stringType()]);
|
|
37402
37478
|
AerodromeSlipstreamMintLiquidityProvisionRequestAmount0Desired$outboundSchema = unionType([numberType(), stringType()]);
|
|
37403
37479
|
((AerodromeSlipstreamMintLiquidityProvisionRequestAmount0Desired$) => {
|
|
@@ -37422,6 +37498,12 @@ var init_aerodromeslipstreammintliquidityprovisionrequest = __esm(() => {
|
|
|
37422
37498
|
AerodromeSlipstreamMintLiquidityProvisionRequestAmount1Min$.inboundSchema = AerodromeSlipstreamMintLiquidityProvisionRequestAmount1Min$inboundSchema;
|
|
37423
37499
|
AerodromeSlipstreamMintLiquidityProvisionRequestAmount1Min$.outboundSchema = AerodromeSlipstreamMintLiquidityProvisionRequestAmount1Min$outboundSchema;
|
|
37424
37500
|
})(AerodromeSlipstreamMintLiquidityProvisionRequestAmount1Min$ ||= {});
|
|
37501
|
+
AerodromeSlipstreamMintLiquidityProvisionRequestChain$inboundSchema = nativeEnumType(AerodromeSlipstreamMintLiquidityProvisionRequestChain);
|
|
37502
|
+
AerodromeSlipstreamMintLiquidityProvisionRequestChain$outboundSchema = AerodromeSlipstreamMintLiquidityProvisionRequestChain$inboundSchema;
|
|
37503
|
+
((AerodromeSlipstreamMintLiquidityProvisionRequestChain$) => {
|
|
37504
|
+
AerodromeSlipstreamMintLiquidityProvisionRequestChain$.inboundSchema = AerodromeSlipstreamMintLiquidityProvisionRequestChain$inboundSchema;
|
|
37505
|
+
AerodromeSlipstreamMintLiquidityProvisionRequestChain$.outboundSchema = AerodromeSlipstreamMintLiquidityProvisionRequestChain$outboundSchema;
|
|
37506
|
+
})(AerodromeSlipstreamMintLiquidityProvisionRequestChain$ ||= {});
|
|
37425
37507
|
AerodromeSlipstreamMintLiquidityProvisionRequest$inboundSchema = objectType({
|
|
37426
37508
|
action_type: literalType("AERODROME_SLIPSTREAM_MINT_LIQUIDITY_PROVISION").default("AERODROME_SLIPSTREAM_MINT_LIQUIDITY_PROVISION"),
|
|
37427
37509
|
token0: TokenEnum$inboundSchema,
|
|
@@ -37434,7 +37516,7 @@ var init_aerodromeslipstreammintliquidityprovisionrequest = __esm(() => {
|
|
|
37434
37516
|
amount0_min: unionType([numberType(), stringType()]),
|
|
37435
37517
|
amount1_min: unionType([numberType(), stringType()]),
|
|
37436
37518
|
recipient: nullableType(stringType()).optional(),
|
|
37437
|
-
chain:
|
|
37519
|
+
chain: AerodromeSlipstreamMintLiquidityProvisionRequestChain$inboundSchema,
|
|
37438
37520
|
sender: stringType()
|
|
37439
37521
|
}).transform((v2) => {
|
|
37440
37522
|
return remap(v2, {
|
|
@@ -37460,7 +37542,7 @@ var init_aerodromeslipstreammintliquidityprovisionrequest = __esm(() => {
|
|
|
37460
37542
|
amount0Min: unionType([numberType(), stringType()]),
|
|
37461
37543
|
amount1Min: unionType([numberType(), stringType()]),
|
|
37462
37544
|
recipient: nullableType(stringType()).optional(),
|
|
37463
|
-
chain:
|
|
37545
|
+
chain: AerodromeSlipstreamMintLiquidityProvisionRequestChain$outboundSchema,
|
|
37464
37546
|
sender: stringType()
|
|
37465
37547
|
}).transform((v2) => {
|
|
37466
37548
|
return remap(v2, {
|
|
@@ -37573,11 +37655,14 @@ var init_aerodromeslipstreamsellexactlyparams = __esm(() => {
|
|
|
37573
37655
|
});
|
|
37574
37656
|
|
|
37575
37657
|
// src/models/components/aerodromeslipstreamsellexactlyrequest.ts
|
|
37576
|
-
var AerodromeSlipstreamSellExactlyRequestAmountIn$inboundSchema, AerodromeSlipstreamSellExactlyRequestAmountIn$outboundSchema, AerodromeSlipstreamSellExactlyRequestAmountIn$, AerodromeSlipstreamSellExactlyRequestAmountOutMinimum$inboundSchema, AerodromeSlipstreamSellExactlyRequestAmountOutMinimum$outboundSchema, AerodromeSlipstreamSellExactlyRequestAmountOutMinimum$, AerodromeSlipstreamSellExactlyRequest$inboundSchema, AerodromeSlipstreamSellExactlyRequest$outboundSchema, AerodromeSlipstreamSellExactlyRequest$;
|
|
37658
|
+
var AerodromeSlipstreamSellExactlyRequestChain, AerodromeSlipstreamSellExactlyRequestAmountIn$inboundSchema, AerodromeSlipstreamSellExactlyRequestAmountIn$outboundSchema, AerodromeSlipstreamSellExactlyRequestAmountIn$, AerodromeSlipstreamSellExactlyRequestAmountOutMinimum$inboundSchema, AerodromeSlipstreamSellExactlyRequestAmountOutMinimum$outboundSchema, AerodromeSlipstreamSellExactlyRequestAmountOutMinimum$, AerodromeSlipstreamSellExactlyRequestChain$inboundSchema, AerodromeSlipstreamSellExactlyRequestChain$outboundSchema, AerodromeSlipstreamSellExactlyRequestChain$, AerodromeSlipstreamSellExactlyRequest$inboundSchema, AerodromeSlipstreamSellExactlyRequest$outboundSchema, AerodromeSlipstreamSellExactlyRequest$;
|
|
37577
37659
|
var init_aerodromeslipstreamsellexactlyrequest = __esm(() => {
|
|
37578
37660
|
init_zod();
|
|
37579
37661
|
init_primitives();
|
|
37580
37662
|
init_tokenenum();
|
|
37663
|
+
AerodromeSlipstreamSellExactlyRequestChain = {
|
|
37664
|
+
BaseMainnet: "base:mainnet"
|
|
37665
|
+
};
|
|
37581
37666
|
AerodromeSlipstreamSellExactlyRequestAmountIn$inboundSchema = unionType([numberType(), stringType()]);
|
|
37582
37667
|
AerodromeSlipstreamSellExactlyRequestAmountIn$outboundSchema = unionType([numberType(), stringType()]);
|
|
37583
37668
|
((AerodromeSlipstreamSellExactlyRequestAmountIn$) => {
|
|
@@ -37590,6 +37675,12 @@ var init_aerodromeslipstreamsellexactlyrequest = __esm(() => {
|
|
|
37590
37675
|
AerodromeSlipstreamSellExactlyRequestAmountOutMinimum$.inboundSchema = AerodromeSlipstreamSellExactlyRequestAmountOutMinimum$inboundSchema;
|
|
37591
37676
|
AerodromeSlipstreamSellExactlyRequestAmountOutMinimum$.outboundSchema = AerodromeSlipstreamSellExactlyRequestAmountOutMinimum$outboundSchema;
|
|
37592
37677
|
})(AerodromeSlipstreamSellExactlyRequestAmountOutMinimum$ ||= {});
|
|
37678
|
+
AerodromeSlipstreamSellExactlyRequestChain$inboundSchema = nativeEnumType(AerodromeSlipstreamSellExactlyRequestChain);
|
|
37679
|
+
AerodromeSlipstreamSellExactlyRequestChain$outboundSchema = AerodromeSlipstreamSellExactlyRequestChain$inboundSchema;
|
|
37680
|
+
((AerodromeSlipstreamSellExactlyRequestChain$) => {
|
|
37681
|
+
AerodromeSlipstreamSellExactlyRequestChain$.inboundSchema = AerodromeSlipstreamSellExactlyRequestChain$inboundSchema;
|
|
37682
|
+
AerodromeSlipstreamSellExactlyRequestChain$.outboundSchema = AerodromeSlipstreamSellExactlyRequestChain$outboundSchema;
|
|
37683
|
+
})(AerodromeSlipstreamSellExactlyRequestChain$ ||= {});
|
|
37593
37684
|
AerodromeSlipstreamSellExactlyRequest$inboundSchema = objectType({
|
|
37594
37685
|
action_type: literalType("AERODROME_SLIPSTREAM_SELL_EXACTLY").default("AERODROME_SLIPSTREAM_SELL_EXACTLY"),
|
|
37595
37686
|
token_in: TokenEnum$inboundSchema,
|
|
@@ -37597,7 +37688,7 @@ var init_aerodromeslipstreamsellexactlyrequest = __esm(() => {
|
|
|
37597
37688
|
tick_spacing: numberType().int(),
|
|
37598
37689
|
amount_in: unionType([numberType(), stringType()]),
|
|
37599
37690
|
amount_out_minimum: unionType([numberType(), stringType()]).optional(),
|
|
37600
|
-
chain:
|
|
37691
|
+
chain: AerodromeSlipstreamSellExactlyRequestChain$inboundSchema,
|
|
37601
37692
|
sender: stringType()
|
|
37602
37693
|
}).transform((v2) => {
|
|
37603
37694
|
return remap(v2, {
|
|
@@ -37616,7 +37707,7 @@ var init_aerodromeslipstreamsellexactlyrequest = __esm(() => {
|
|
|
37616
37707
|
tickSpacing: numberType().int(),
|
|
37617
37708
|
amountIn: unionType([numberType(), stringType()]),
|
|
37618
37709
|
amountOutMinimum: unionType([numberType(), stringType()]).optional(),
|
|
37619
|
-
chain:
|
|
37710
|
+
chain: AerodromeSlipstreamSellExactlyRequestChain$outboundSchema,
|
|
37620
37711
|
sender: stringType()
|
|
37621
37712
|
}).transform((v2) => {
|
|
37622
37713
|
return remap(v2, {
|
|
@@ -37674,21 +37765,30 @@ var init_aerodromeslipstreamwithdrawliquidityprovisionparams = __esm(() => {
|
|
|
37674
37765
|
});
|
|
37675
37766
|
|
|
37676
37767
|
// src/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.ts
|
|
37677
|
-
var AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal$inboundSchema, AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal$outboundSchema, AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal$, AerodromeSlipstreamWithdrawLiquidityProvisionRequest$inboundSchema, AerodromeSlipstreamWithdrawLiquidityProvisionRequest$outboundSchema, AerodromeSlipstreamWithdrawLiquidityProvisionRequest$;
|
|
37768
|
+
var AerodromeSlipstreamWithdrawLiquidityProvisionRequestChain, AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal$inboundSchema, AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal$outboundSchema, AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal$, AerodromeSlipstreamWithdrawLiquidityProvisionRequestChain$inboundSchema, AerodromeSlipstreamWithdrawLiquidityProvisionRequestChain$outboundSchema, AerodromeSlipstreamWithdrawLiquidityProvisionRequestChain$, AerodromeSlipstreamWithdrawLiquidityProvisionRequest$inboundSchema, AerodromeSlipstreamWithdrawLiquidityProvisionRequest$outboundSchema, AerodromeSlipstreamWithdrawLiquidityProvisionRequest$;
|
|
37678
37769
|
var init_aerodromeslipstreamwithdrawliquidityprovisionrequest = __esm(() => {
|
|
37679
37770
|
init_zod();
|
|
37680
37771
|
init_primitives();
|
|
37772
|
+
AerodromeSlipstreamWithdrawLiquidityProvisionRequestChain = {
|
|
37773
|
+
BaseMainnet: "base:mainnet"
|
|
37774
|
+
};
|
|
37681
37775
|
AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal$inboundSchema = unionType([numberType(), stringType()]);
|
|
37682
37776
|
AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal$outboundSchema = unionType([numberType(), stringType()]);
|
|
37683
37777
|
((AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal$) => {
|
|
37684
37778
|
AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal$.inboundSchema = AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal$inboundSchema;
|
|
37685
37779
|
AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal$.outboundSchema = AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal$outboundSchema;
|
|
37686
37780
|
})(AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal$ ||= {});
|
|
37781
|
+
AerodromeSlipstreamWithdrawLiquidityProvisionRequestChain$inboundSchema = nativeEnumType(AerodromeSlipstreamWithdrawLiquidityProvisionRequestChain);
|
|
37782
|
+
AerodromeSlipstreamWithdrawLiquidityProvisionRequestChain$outboundSchema = AerodromeSlipstreamWithdrawLiquidityProvisionRequestChain$inboundSchema;
|
|
37783
|
+
((AerodromeSlipstreamWithdrawLiquidityProvisionRequestChain$) => {
|
|
37784
|
+
AerodromeSlipstreamWithdrawLiquidityProvisionRequestChain$.inboundSchema = AerodromeSlipstreamWithdrawLiquidityProvisionRequestChain$inboundSchema;
|
|
37785
|
+
AerodromeSlipstreamWithdrawLiquidityProvisionRequestChain$.outboundSchema = AerodromeSlipstreamWithdrawLiquidityProvisionRequestChain$outboundSchema;
|
|
37786
|
+
})(AerodromeSlipstreamWithdrawLiquidityProvisionRequestChain$ ||= {});
|
|
37687
37787
|
AerodromeSlipstreamWithdrawLiquidityProvisionRequest$inboundSchema = objectType({
|
|
37688
37788
|
action_type: literalType("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY_PROVISION").default("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY_PROVISION"),
|
|
37689
37789
|
token_id: numberType().int(),
|
|
37690
37790
|
percentage_for_withdrawal: unionType([numberType(), stringType()]),
|
|
37691
|
-
chain:
|
|
37791
|
+
chain: AerodromeSlipstreamWithdrawLiquidityProvisionRequestChain$inboundSchema,
|
|
37692
37792
|
sender: stringType()
|
|
37693
37793
|
}).transform((v2) => {
|
|
37694
37794
|
return remap(v2, {
|
|
@@ -37701,7 +37801,7 @@ var init_aerodromeslipstreamwithdrawliquidityprovisionrequest = __esm(() => {
|
|
|
37701
37801
|
actionType: literalType("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY_PROVISION").default("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY_PROVISION"),
|
|
37702
37802
|
tokenId: numberType().int(),
|
|
37703
37803
|
percentageForWithdrawal: unionType([numberType(), stringType()]),
|
|
37704
|
-
chain:
|
|
37804
|
+
chain: AerodromeSlipstreamWithdrawLiquidityProvisionRequestChain$outboundSchema,
|
|
37705
37805
|
sender: stringType()
|
|
37706
37806
|
}).transform((v2) => {
|
|
37707
37807
|
return remap(v2, {
|
|
@@ -38132,37 +38232,50 @@ var init_pendleaddliquidityparams = __esm(() => {
|
|
|
38132
38232
|
});
|
|
38133
38233
|
|
|
38134
38234
|
// src/models/components/pendlebuyptparams.ts
|
|
38135
|
-
var
|
|
38235
|
+
var PendleBuyPtParamsTokenIn$inboundSchema, PendleBuyPtParamsTokenIn$outboundSchema, PendleBuyPtParamsTokenIn$, PendleBuyPtParamsAmountIn$inboundSchema, PendleBuyPtParamsAmountIn$outboundSchema, PendleBuyPtParamsAmountIn$, PendleBuyPtParams$inboundSchema, PendleBuyPtParams$outboundSchema, PendleBuyPtParams$;
|
|
38136
38236
|
var init_pendlebuyptparams = __esm(() => {
|
|
38137
38237
|
init_zod();
|
|
38138
38238
|
init_primitives();
|
|
38139
|
-
|
|
38140
|
-
|
|
38141
|
-
((
|
|
38142
|
-
|
|
38143
|
-
|
|
38144
|
-
|
|
38239
|
+
init_tokenenum();
|
|
38240
|
+
PendleBuyPtParamsTokenIn$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
38241
|
+
PendleBuyPtParamsTokenIn$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
|
|
38242
|
+
((PendleBuyPtParamsTokenIn$) => {
|
|
38243
|
+
PendleBuyPtParamsTokenIn$.inboundSchema = PendleBuyPtParamsTokenIn$inboundSchema;
|
|
38244
|
+
PendleBuyPtParamsTokenIn$.outboundSchema = PendleBuyPtParamsTokenIn$outboundSchema;
|
|
38245
|
+
})(PendleBuyPtParamsTokenIn$ ||= {});
|
|
38246
|
+
PendleBuyPtParamsAmountIn$inboundSchema = unionType([numberType(), stringType()]);
|
|
38247
|
+
PendleBuyPtParamsAmountIn$outboundSchema = unionType([numberType(), stringType()]);
|
|
38248
|
+
((PendleBuyPtParamsAmountIn$) => {
|
|
38249
|
+
PendleBuyPtParamsAmountIn$.inboundSchema = PendleBuyPtParamsAmountIn$inboundSchema;
|
|
38250
|
+
PendleBuyPtParamsAmountIn$.outboundSchema = PendleBuyPtParamsAmountIn$outboundSchema;
|
|
38251
|
+
})(PendleBuyPtParamsAmountIn$ ||= {});
|
|
38145
38252
|
PendleBuyPtParams$inboundSchema = objectType({
|
|
38146
38253
|
action_type: literalType("PENDLE_BUY_PT").default("PENDLE_BUY_PT"),
|
|
38147
38254
|
market_address: stringType(),
|
|
38148
|
-
|
|
38255
|
+
token_in: unionType([TokenEnum$inboundSchema, stringType()]),
|
|
38256
|
+
amount_in: unionType([numberType(), stringType()]),
|
|
38149
38257
|
max_slippage_percent: numberType()
|
|
38150
38258
|
}).transform((v2) => {
|
|
38151
38259
|
return remap(v2, {
|
|
38152
38260
|
action_type: "actionType",
|
|
38153
38261
|
market_address: "marketAddress",
|
|
38262
|
+
token_in: "tokenIn",
|
|
38263
|
+
amount_in: "amountIn",
|
|
38154
38264
|
max_slippage_percent: "maxSlippagePercent"
|
|
38155
38265
|
});
|
|
38156
38266
|
});
|
|
38157
38267
|
PendleBuyPtParams$outboundSchema = objectType({
|
|
38158
38268
|
actionType: literalType("PENDLE_BUY_PT").default("PENDLE_BUY_PT"),
|
|
38159
38269
|
marketAddress: stringType(),
|
|
38160
|
-
|
|
38270
|
+
tokenIn: unionType([TokenEnum$outboundSchema, stringType()]),
|
|
38271
|
+
amountIn: unionType([numberType(), stringType()]),
|
|
38161
38272
|
maxSlippagePercent: numberType()
|
|
38162
38273
|
}).transform((v2) => {
|
|
38163
38274
|
return remap(v2, {
|
|
38164
38275
|
actionType: "action_type",
|
|
38165
38276
|
marketAddress: "market_address",
|
|
38277
|
+
tokenIn: "token_in",
|
|
38278
|
+
amountIn: "amount_in",
|
|
38166
38279
|
maxSlippagePercent: "max_slippage_percent"
|
|
38167
38280
|
});
|
|
38168
38281
|
});
|
|
@@ -38173,37 +38286,50 @@ var init_pendlebuyptparams = __esm(() => {
|
|
|
38173
38286
|
});
|
|
38174
38287
|
|
|
38175
38288
|
// src/models/components/pendlebuyytparams.ts
|
|
38176
|
-
var
|
|
38289
|
+
var PendleBuyYtParamsTokenIn$inboundSchema, PendleBuyYtParamsTokenIn$outboundSchema, PendleBuyYtParamsTokenIn$, PendleBuyYtParamsAmountIn$inboundSchema, PendleBuyYtParamsAmountIn$outboundSchema, PendleBuyYtParamsAmountIn$, PendleBuyYtParams$inboundSchema, PendleBuyYtParams$outboundSchema, PendleBuyYtParams$;
|
|
38177
38290
|
var init_pendlebuyytparams = __esm(() => {
|
|
38178
38291
|
init_zod();
|
|
38179
38292
|
init_primitives();
|
|
38180
|
-
|
|
38181
|
-
|
|
38182
|
-
((
|
|
38183
|
-
|
|
38184
|
-
|
|
38185
|
-
|
|
38293
|
+
init_tokenenum();
|
|
38294
|
+
PendleBuyYtParamsTokenIn$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
38295
|
+
PendleBuyYtParamsTokenIn$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
|
|
38296
|
+
((PendleBuyYtParamsTokenIn$) => {
|
|
38297
|
+
PendleBuyYtParamsTokenIn$.inboundSchema = PendleBuyYtParamsTokenIn$inboundSchema;
|
|
38298
|
+
PendleBuyYtParamsTokenIn$.outboundSchema = PendleBuyYtParamsTokenIn$outboundSchema;
|
|
38299
|
+
})(PendleBuyYtParamsTokenIn$ ||= {});
|
|
38300
|
+
PendleBuyYtParamsAmountIn$inboundSchema = unionType([numberType(), stringType()]);
|
|
38301
|
+
PendleBuyYtParamsAmountIn$outboundSchema = unionType([numberType(), stringType()]);
|
|
38302
|
+
((PendleBuyYtParamsAmountIn$) => {
|
|
38303
|
+
PendleBuyYtParamsAmountIn$.inboundSchema = PendleBuyYtParamsAmountIn$inboundSchema;
|
|
38304
|
+
PendleBuyYtParamsAmountIn$.outboundSchema = PendleBuyYtParamsAmountIn$outboundSchema;
|
|
38305
|
+
})(PendleBuyYtParamsAmountIn$ ||= {});
|
|
38186
38306
|
PendleBuyYtParams$inboundSchema = objectType({
|
|
38187
38307
|
action_type: literalType("PENDLE_BUY_YT").default("PENDLE_BUY_YT"),
|
|
38188
38308
|
market_address: stringType(),
|
|
38189
|
-
|
|
38309
|
+
token_in: unionType([TokenEnum$inboundSchema, stringType()]),
|
|
38310
|
+
amount_in: unionType([numberType(), stringType()]),
|
|
38190
38311
|
max_slippage_percent: numberType()
|
|
38191
38312
|
}).transform((v2) => {
|
|
38192
38313
|
return remap(v2, {
|
|
38193
38314
|
action_type: "actionType",
|
|
38194
38315
|
market_address: "marketAddress",
|
|
38316
|
+
token_in: "tokenIn",
|
|
38317
|
+
amount_in: "amountIn",
|
|
38195
38318
|
max_slippage_percent: "maxSlippagePercent"
|
|
38196
38319
|
});
|
|
38197
38320
|
});
|
|
38198
38321
|
PendleBuyYtParams$outboundSchema = objectType({
|
|
38199
38322
|
actionType: literalType("PENDLE_BUY_YT").default("PENDLE_BUY_YT"),
|
|
38200
38323
|
marketAddress: stringType(),
|
|
38201
|
-
|
|
38324
|
+
tokenIn: unionType([TokenEnum$outboundSchema, stringType()]),
|
|
38325
|
+
amountIn: unionType([numberType(), stringType()]),
|
|
38202
38326
|
maxSlippagePercent: numberType()
|
|
38203
38327
|
}).transform((v2) => {
|
|
38204
38328
|
return remap(v2, {
|
|
38205
38329
|
actionType: "action_type",
|
|
38206
38330
|
marketAddress: "market_address",
|
|
38331
|
+
tokenIn: "token_in",
|
|
38332
|
+
amountIn: "amount_in",
|
|
38207
38333
|
maxSlippagePercent: "max_slippage_percent"
|
|
38208
38334
|
});
|
|
38209
38335
|
});
|
|
@@ -38635,11 +38761,16 @@ var init_tokentransfererc20params = __esm(() => {
|
|
|
38635
38761
|
});
|
|
38636
38762
|
|
|
38637
38763
|
// src/models/components/tokentransferrequest.ts
|
|
38638
|
-
var TokenTransferRequestAmount$inboundSchema, TokenTransferRequestAmount$outboundSchema, TokenTransferRequestAmount$, TokenTransferRequestToken$inboundSchema, TokenTransferRequestToken$outboundSchema, TokenTransferRequestToken$, TokenTransferRequest$inboundSchema, TokenTransferRequest$outboundSchema, TokenTransferRequest$;
|
|
38764
|
+
var TokenTransferRequestChain, TokenTransferRequestAmount$inboundSchema, TokenTransferRequestAmount$outboundSchema, TokenTransferRequestAmount$, TokenTransferRequestToken$inboundSchema, TokenTransferRequestToken$outboundSchema, TokenTransferRequestToken$, TokenTransferRequestChain$inboundSchema, TokenTransferRequestChain$outboundSchema, TokenTransferRequestChain$, TokenTransferRequest$inboundSchema, TokenTransferRequest$outboundSchema, TokenTransferRequest$;
|
|
38639
38765
|
var init_tokentransferrequest = __esm(() => {
|
|
38640
38766
|
init_zod();
|
|
38641
38767
|
init_primitives();
|
|
38642
38768
|
init_tokenenum();
|
|
38769
|
+
TokenTransferRequestChain = {
|
|
38770
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
38771
|
+
BaseMainnet: "base:mainnet",
|
|
38772
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
38773
|
+
};
|
|
38643
38774
|
TokenTransferRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
38644
38775
|
TokenTransferRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
38645
38776
|
((TokenTransferRequestAmount$) => {
|
|
@@ -38652,12 +38783,18 @@ var init_tokentransferrequest = __esm(() => {
|
|
|
38652
38783
|
TokenTransferRequestToken$.inboundSchema = TokenTransferRequestToken$inboundSchema;
|
|
38653
38784
|
TokenTransferRequestToken$.outboundSchema = TokenTransferRequestToken$outboundSchema;
|
|
38654
38785
|
})(TokenTransferRequestToken$ ||= {});
|
|
38786
|
+
TokenTransferRequestChain$inboundSchema = nativeEnumType(TokenTransferRequestChain);
|
|
38787
|
+
TokenTransferRequestChain$outboundSchema = TokenTransferRequestChain$inboundSchema;
|
|
38788
|
+
((TokenTransferRequestChain$) => {
|
|
38789
|
+
TokenTransferRequestChain$.inboundSchema = TokenTransferRequestChain$inboundSchema;
|
|
38790
|
+
TokenTransferRequestChain$.outboundSchema = TokenTransferRequestChain$outboundSchema;
|
|
38791
|
+
})(TokenTransferRequestChain$ ||= {});
|
|
38655
38792
|
TokenTransferRequest$inboundSchema = objectType({
|
|
38656
38793
|
action_type: literalType("TOKEN_TRANSFER").default("TOKEN_TRANSFER"),
|
|
38657
38794
|
amount: unionType([numberType(), stringType()]),
|
|
38658
38795
|
token: unionType([TokenEnum$inboundSchema, stringType()]),
|
|
38659
38796
|
to: stringType(),
|
|
38660
|
-
chain:
|
|
38797
|
+
chain: TokenTransferRequestChain$inboundSchema,
|
|
38661
38798
|
sender: stringType()
|
|
38662
38799
|
}).transform((v2) => {
|
|
38663
38800
|
return remap(v2, {
|
|
@@ -38669,7 +38806,7 @@ var init_tokentransferrequest = __esm(() => {
|
|
|
38669
38806
|
amount: unionType([numberType(), stringType()]),
|
|
38670
38807
|
token: unionType([TokenEnum$outboundSchema, stringType()]),
|
|
38671
38808
|
to: stringType(),
|
|
38672
|
-
chain:
|
|
38809
|
+
chain: TokenTransferRequestChain$outboundSchema,
|
|
38673
38810
|
sender: stringType()
|
|
38674
38811
|
}).transform((v2) => {
|
|
38675
38812
|
return remap(v2, {
|
|
@@ -39135,22 +39272,22 @@ var init_useroperation = __esm(() => {
|
|
|
39135
39272
|
OdosSwapParams$inboundSchema.and(objectType({ action_type: literalType("ODOS_SWAP") }).transform((v2) => ({
|
|
39136
39273
|
actionType: v2.action_type
|
|
39137
39274
|
}))),
|
|
39138
|
-
|
|
39275
|
+
PendleBuyPtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_BUY_PT") }).transform((v2) => ({
|
|
39139
39276
|
actionType: v2.action_type
|
|
39140
39277
|
}))),
|
|
39141
|
-
|
|
39278
|
+
PendleBuyYtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_BUY_YT") }).transform((v2) => ({
|
|
39142
39279
|
actionType: v2.action_type
|
|
39143
39280
|
}))),
|
|
39144
|
-
|
|
39281
|
+
AaveBorrowParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_BORROW") }).transform((v2) => ({
|
|
39145
39282
|
actionType: v2.action_type
|
|
39146
39283
|
}))),
|
|
39147
|
-
|
|
39148
|
-
PendleBuyPtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_BUY_PT") }).transform((v2) => ({
|
|
39284
|
+
AaveRepayParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_REPAY") }).transform((v2) => ({
|
|
39149
39285
|
actionType: v2.action_type
|
|
39150
39286
|
}))),
|
|
39151
|
-
|
|
39287
|
+
AaveWithdrawParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_WITHDRAW") }).transform((v2) => ({
|
|
39152
39288
|
actionType: v2.action_type
|
|
39153
39289
|
}))),
|
|
39290
|
+
PendleAddLiquidityParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_ADD_LIQUIDITY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39154
39291
|
PendleRemoveLiquidityParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_REMOVE_LIQUIDITY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39155
39292
|
PendleSellPtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_SELL_PT") }).transform((v2) => ({
|
|
39156
39293
|
actionType: v2.action_type
|
|
@@ -39222,22 +39359,22 @@ var init_useroperation = __esm(() => {
|
|
|
39222
39359
|
OdosSwapParams$outboundSchema.and(objectType({ actionType: literalType("ODOS_SWAP") }).transform((v2) => ({
|
|
39223
39360
|
action_type: v2.actionType
|
|
39224
39361
|
}))),
|
|
39225
|
-
|
|
39362
|
+
PendleBuyPtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_BUY_PT") }).transform((v2) => ({
|
|
39226
39363
|
action_type: v2.actionType
|
|
39227
39364
|
}))),
|
|
39228
|
-
|
|
39365
|
+
PendleBuyYtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_BUY_YT") }).transform((v2) => ({
|
|
39229
39366
|
action_type: v2.actionType
|
|
39230
39367
|
}))),
|
|
39231
|
-
|
|
39368
|
+
AaveBorrowParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_BORROW") }).transform((v2) => ({
|
|
39232
39369
|
action_type: v2.actionType
|
|
39233
39370
|
}))),
|
|
39234
|
-
|
|
39235
|
-
PendleBuyPtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_BUY_PT") }).transform((v2) => ({
|
|
39371
|
+
AaveRepayParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_REPAY") }).transform((v2) => ({
|
|
39236
39372
|
action_type: v2.actionType
|
|
39237
39373
|
}))),
|
|
39238
|
-
|
|
39374
|
+
AaveWithdrawParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_WITHDRAW") }).transform((v2) => ({
|
|
39239
39375
|
action_type: v2.actionType
|
|
39240
39376
|
}))),
|
|
39377
|
+
PendleAddLiquidityParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_ADD_LIQUIDITY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39241
39378
|
PendleRemoveLiquidityParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_REMOVE_LIQUIDITY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39242
39379
|
PendleSellPtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_SELL_PT") }).transform((v2) => ({
|
|
39243
39380
|
action_type: v2.actionType
|
|
@@ -39316,22 +39453,22 @@ var init_useroperation = __esm(() => {
|
|
|
39316
39453
|
OdosSwapParams$inboundSchema.and(objectType({ action_type: literalType("ODOS_SWAP") }).transform((v2) => ({
|
|
39317
39454
|
actionType: v2.action_type
|
|
39318
39455
|
}))),
|
|
39319
|
-
|
|
39456
|
+
PendleBuyPtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_BUY_PT") }).transform((v2) => ({
|
|
39320
39457
|
actionType: v2.action_type
|
|
39321
39458
|
}))),
|
|
39322
|
-
|
|
39459
|
+
PendleBuyYtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_BUY_YT") }).transform((v2) => ({
|
|
39323
39460
|
actionType: v2.action_type
|
|
39324
39461
|
}))),
|
|
39325
|
-
|
|
39462
|
+
AaveBorrowParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_BORROW") }).transform((v2) => ({
|
|
39326
39463
|
actionType: v2.action_type
|
|
39327
39464
|
}))),
|
|
39328
|
-
|
|
39329
|
-
PendleBuyPtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_BUY_PT") }).transform((v2) => ({
|
|
39465
|
+
AaveRepayParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_REPAY") }).transform((v2) => ({
|
|
39330
39466
|
actionType: v2.action_type
|
|
39331
39467
|
}))),
|
|
39332
|
-
|
|
39468
|
+
AaveWithdrawParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_WITHDRAW") }).transform((v2) => ({
|
|
39333
39469
|
actionType: v2.action_type
|
|
39334
39470
|
}))),
|
|
39471
|
+
PendleAddLiquidityParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_ADD_LIQUIDITY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39335
39472
|
PendleRemoveLiquidityParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_REMOVE_LIQUIDITY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39336
39473
|
PendleSellPtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_SELL_PT") }).transform((v2) => ({
|
|
39337
39474
|
actionType: v2.action_type
|
|
@@ -39405,22 +39542,22 @@ var init_useroperation = __esm(() => {
|
|
|
39405
39542
|
OdosSwapParams$outboundSchema.and(objectType({ actionType: literalType("ODOS_SWAP") }).transform((v2) => ({
|
|
39406
39543
|
action_type: v2.actionType
|
|
39407
39544
|
}))),
|
|
39408
|
-
|
|
39545
|
+
PendleBuyPtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_BUY_PT") }).transform((v2) => ({
|
|
39409
39546
|
action_type: v2.actionType
|
|
39410
39547
|
}))),
|
|
39411
|
-
|
|
39548
|
+
PendleBuyYtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_BUY_YT") }).transform((v2) => ({
|
|
39412
39549
|
action_type: v2.actionType
|
|
39413
39550
|
}))),
|
|
39414
|
-
|
|
39551
|
+
AaveBorrowParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_BORROW") }).transform((v2) => ({
|
|
39415
39552
|
action_type: v2.actionType
|
|
39416
39553
|
}))),
|
|
39417
|
-
|
|
39418
|
-
PendleBuyPtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_BUY_PT") }).transform((v2) => ({
|
|
39554
|
+
AaveRepayParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_REPAY") }).transform((v2) => ({
|
|
39419
39555
|
action_type: v2.actionType
|
|
39420
39556
|
}))),
|
|
39421
|
-
|
|
39557
|
+
AaveWithdrawParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_WITHDRAW") }).transform((v2) => ({
|
|
39422
39558
|
action_type: v2.actionType
|
|
39423
39559
|
}))),
|
|
39560
|
+
PendleAddLiquidityParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_ADD_LIQUIDITY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39424
39561
|
PendleRemoveLiquidityParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_REMOVE_LIQUIDITY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39425
39562
|
PendleSellPtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_SELL_PT") }).transform((v2) => ({
|
|
39426
39563
|
action_type: v2.actionType
|
|
@@ -39483,17 +39620,28 @@ var init_useroperation = __esm(() => {
|
|
|
39483
39620
|
});
|
|
39484
39621
|
|
|
39485
39622
|
// src/models/components/batcheduseroperationsrequest.ts
|
|
39486
|
-
var BatchedUserOperationsRequest$inboundSchema, BatchedUserOperationsRequest$outboundSchema, BatchedUserOperationsRequest$;
|
|
39623
|
+
var BatchedUserOperationsRequestChain, BatchedUserOperationsRequestChain$inboundSchema, BatchedUserOperationsRequestChain$outboundSchema, BatchedUserOperationsRequestChain$, BatchedUserOperationsRequest$inboundSchema, BatchedUserOperationsRequest$outboundSchema, BatchedUserOperationsRequest$;
|
|
39487
39624
|
var init_batcheduseroperationsrequest = __esm(() => {
|
|
39488
39625
|
init_zod();
|
|
39489
39626
|
init_useroperation();
|
|
39627
|
+
BatchedUserOperationsRequestChain = {
|
|
39628
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
39629
|
+
BaseMainnet: "base:mainnet",
|
|
39630
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
39631
|
+
};
|
|
39632
|
+
BatchedUserOperationsRequestChain$inboundSchema = nativeEnumType(BatchedUserOperationsRequestChain);
|
|
39633
|
+
BatchedUserOperationsRequestChain$outboundSchema = BatchedUserOperationsRequestChain$inboundSchema;
|
|
39634
|
+
((BatchedUserOperationsRequestChain$) => {
|
|
39635
|
+
BatchedUserOperationsRequestChain$.inboundSchema = BatchedUserOperationsRequestChain$inboundSchema;
|
|
39636
|
+
BatchedUserOperationsRequestChain$.outboundSchema = BatchedUserOperationsRequestChain$outboundSchema;
|
|
39637
|
+
})(BatchedUserOperationsRequestChain$ ||= {});
|
|
39490
39638
|
BatchedUserOperationsRequest$inboundSchema = objectType({
|
|
39491
|
-
chain:
|
|
39639
|
+
chain: BatchedUserOperationsRequestChain$inboundSchema,
|
|
39492
39640
|
sender: stringType(),
|
|
39493
39641
|
operations: arrayType(UserOperation$inboundSchema)
|
|
39494
39642
|
});
|
|
39495
39643
|
BatchedUserOperationsRequest$outboundSchema = objectType({
|
|
39496
|
-
chain:
|
|
39644
|
+
chain: BatchedUserOperationsRequestChain$outboundSchema,
|
|
39497
39645
|
sender: stringType(),
|
|
39498
39646
|
operations: arrayType(UserOperation$outboundSchema)
|
|
39499
39647
|
});
|
|
@@ -40246,23 +40394,33 @@ var init_markettokens = __esm(() => {
|
|
|
40246
40394
|
});
|
|
40247
40395
|
|
|
40248
40396
|
// src/models/components/morphoborrowrequest.ts
|
|
40249
|
-
var MorphoBorrowRequestAmount$inboundSchema, MorphoBorrowRequestAmount$outboundSchema, MorphoBorrowRequestAmount$, MorphoBorrowRequest$inboundSchema, MorphoBorrowRequest$outboundSchema, MorphoBorrowRequest$;
|
|
40397
|
+
var MorphoBorrowRequestChain, MorphoBorrowRequestAmount$inboundSchema, MorphoBorrowRequestAmount$outboundSchema, MorphoBorrowRequestAmount$, MorphoBorrowRequestChain$inboundSchema, MorphoBorrowRequestChain$outboundSchema, MorphoBorrowRequestChain$, MorphoBorrowRequest$inboundSchema, MorphoBorrowRequest$outboundSchema, MorphoBorrowRequest$;
|
|
40250
40398
|
var init_morphoborrowrequest = __esm(() => {
|
|
40251
40399
|
init_zod();
|
|
40252
40400
|
init_primitives();
|
|
40401
|
+
MorphoBorrowRequestChain = {
|
|
40402
|
+
BaseMainnet: "base:mainnet",
|
|
40403
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
40404
|
+
};
|
|
40253
40405
|
MorphoBorrowRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
40254
40406
|
MorphoBorrowRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
40255
40407
|
((MorphoBorrowRequestAmount$) => {
|
|
40256
40408
|
MorphoBorrowRequestAmount$.inboundSchema = MorphoBorrowRequestAmount$inboundSchema;
|
|
40257
40409
|
MorphoBorrowRequestAmount$.outboundSchema = MorphoBorrowRequestAmount$outboundSchema;
|
|
40258
40410
|
})(MorphoBorrowRequestAmount$ ||= {});
|
|
40411
|
+
MorphoBorrowRequestChain$inboundSchema = nativeEnumType(MorphoBorrowRequestChain);
|
|
40412
|
+
MorphoBorrowRequestChain$outboundSchema = MorphoBorrowRequestChain$inboundSchema;
|
|
40413
|
+
((MorphoBorrowRequestChain$) => {
|
|
40414
|
+
MorphoBorrowRequestChain$.inboundSchema = MorphoBorrowRequestChain$inboundSchema;
|
|
40415
|
+
MorphoBorrowRequestChain$.outboundSchema = MorphoBorrowRequestChain$outboundSchema;
|
|
40416
|
+
})(MorphoBorrowRequestChain$ ||= {});
|
|
40259
40417
|
MorphoBorrowRequest$inboundSchema = objectType({
|
|
40260
40418
|
action_type: literalType("MORPHO_BORROW").default("MORPHO_BORROW"),
|
|
40261
40419
|
amount: unionType([numberType(), stringType()]),
|
|
40262
40420
|
unique_market_key: stringType(),
|
|
40263
40421
|
on_behalf_of: nullableType(stringType()).optional(),
|
|
40264
40422
|
receiver: nullableType(stringType()).optional(),
|
|
40265
|
-
chain:
|
|
40423
|
+
chain: MorphoBorrowRequestChain$inboundSchema,
|
|
40266
40424
|
sender: stringType()
|
|
40267
40425
|
}).transform((v2) => {
|
|
40268
40426
|
return remap(v2, {
|
|
@@ -40277,7 +40435,7 @@ var init_morphoborrowrequest = __esm(() => {
|
|
|
40277
40435
|
uniqueMarketKey: stringType(),
|
|
40278
40436
|
onBehalfOf: nullableType(stringType()).optional(),
|
|
40279
40437
|
receiver: nullableType(stringType()).optional(),
|
|
40280
|
-
chain:
|
|
40438
|
+
chain: MorphoBorrowRequestChain$outboundSchema,
|
|
40281
40439
|
sender: stringType()
|
|
40282
40440
|
}).transform((v2) => {
|
|
40283
40441
|
return remap(v2, {
|
|
@@ -40437,22 +40595,32 @@ var init_morphocheckuserpositionresponse = __esm(() => {
|
|
|
40437
40595
|
});
|
|
40438
40596
|
|
|
40439
40597
|
// src/models/components/morphodepositrequest.ts
|
|
40440
|
-
var MorphoDepositRequestAmount$inboundSchema, MorphoDepositRequestAmount$outboundSchema, MorphoDepositRequestAmount$, MorphoDepositRequest$inboundSchema, MorphoDepositRequest$outboundSchema, MorphoDepositRequest$;
|
|
40598
|
+
var MorphoDepositRequestChain, MorphoDepositRequestAmount$inboundSchema, MorphoDepositRequestAmount$outboundSchema, MorphoDepositRequestAmount$, MorphoDepositRequestChain$inboundSchema, MorphoDepositRequestChain$outboundSchema, MorphoDepositRequestChain$, MorphoDepositRequest$inboundSchema, MorphoDepositRequest$outboundSchema, MorphoDepositRequest$;
|
|
40441
40599
|
var init_morphodepositrequest = __esm(() => {
|
|
40442
40600
|
init_zod();
|
|
40443
40601
|
init_primitives();
|
|
40602
|
+
MorphoDepositRequestChain = {
|
|
40603
|
+
BaseMainnet: "base:mainnet",
|
|
40604
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
40605
|
+
};
|
|
40444
40606
|
MorphoDepositRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
40445
40607
|
MorphoDepositRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
40446
40608
|
((MorphoDepositRequestAmount$) => {
|
|
40447
40609
|
MorphoDepositRequestAmount$.inboundSchema = MorphoDepositRequestAmount$inboundSchema;
|
|
40448
40610
|
MorphoDepositRequestAmount$.outboundSchema = MorphoDepositRequestAmount$outboundSchema;
|
|
40449
40611
|
})(MorphoDepositRequestAmount$ ||= {});
|
|
40612
|
+
MorphoDepositRequestChain$inboundSchema = nativeEnumType(MorphoDepositRequestChain);
|
|
40613
|
+
MorphoDepositRequestChain$outboundSchema = MorphoDepositRequestChain$inboundSchema;
|
|
40614
|
+
((MorphoDepositRequestChain$) => {
|
|
40615
|
+
MorphoDepositRequestChain$.inboundSchema = MorphoDepositRequestChain$inboundSchema;
|
|
40616
|
+
MorphoDepositRequestChain$.outboundSchema = MorphoDepositRequestChain$outboundSchema;
|
|
40617
|
+
})(MorphoDepositRequestChain$ ||= {});
|
|
40450
40618
|
MorphoDepositRequest$inboundSchema = objectType({
|
|
40451
40619
|
action_type: literalType("MORPHO_DEPOSIT").default("MORPHO_DEPOSIT"),
|
|
40452
40620
|
vault_address: stringType(),
|
|
40453
40621
|
amount: unionType([numberType(), stringType()]),
|
|
40454
40622
|
receiver: nullableType(stringType()).optional(),
|
|
40455
|
-
chain:
|
|
40623
|
+
chain: MorphoDepositRequestChain$inboundSchema,
|
|
40456
40624
|
sender: stringType()
|
|
40457
40625
|
}).transform((v2) => {
|
|
40458
40626
|
return remap(v2, {
|
|
@@ -40465,7 +40633,7 @@ var init_morphodepositrequest = __esm(() => {
|
|
|
40465
40633
|
vaultAddress: stringType(),
|
|
40466
40634
|
amount: unionType([numberType(), stringType()]),
|
|
40467
40635
|
receiver: nullableType(stringType()).optional(),
|
|
40468
|
-
chain:
|
|
40636
|
+
chain: MorphoDepositRequestChain$outboundSchema,
|
|
40469
40637
|
sender: stringType()
|
|
40470
40638
|
}).transform((v2) => {
|
|
40471
40639
|
return remap(v2, {
|
|
@@ -40643,18 +40811,28 @@ var init_morphogetvaultsresponse = __esm(() => {
|
|
|
40643
40811
|
});
|
|
40644
40812
|
|
|
40645
40813
|
// src/models/components/morphorepayrequest.ts
|
|
40646
|
-
var MorphoRepayRequest$inboundSchema, MorphoRepayRequest$outboundSchema, MorphoRepayRequest$;
|
|
40814
|
+
var MorphoRepayRequestChain, MorphoRepayRequestChain$inboundSchema, MorphoRepayRequestChain$outboundSchema, MorphoRepayRequestChain$, MorphoRepayRequest$inboundSchema, MorphoRepayRequest$outboundSchema, MorphoRepayRequest$;
|
|
40647
40815
|
var init_morphorepayrequest = __esm(() => {
|
|
40648
40816
|
init_zod();
|
|
40649
40817
|
init_base64();
|
|
40650
40818
|
init_primitives();
|
|
40819
|
+
MorphoRepayRequestChain = {
|
|
40820
|
+
BaseMainnet: "base:mainnet",
|
|
40821
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
40822
|
+
};
|
|
40823
|
+
MorphoRepayRequestChain$inboundSchema = nativeEnumType(MorphoRepayRequestChain);
|
|
40824
|
+
MorphoRepayRequestChain$outboundSchema = MorphoRepayRequestChain$inboundSchema;
|
|
40825
|
+
((MorphoRepayRequestChain$) => {
|
|
40826
|
+
MorphoRepayRequestChain$.inboundSchema = MorphoRepayRequestChain$inboundSchema;
|
|
40827
|
+
MorphoRepayRequestChain$.outboundSchema = MorphoRepayRequestChain$outboundSchema;
|
|
40828
|
+
})(MorphoRepayRequestChain$ ||= {});
|
|
40651
40829
|
MorphoRepayRequest$inboundSchema = objectType({
|
|
40652
40830
|
action_type: literalType("MORPHO_REPAY").default("MORPHO_REPAY"),
|
|
40653
40831
|
amount: anyType().optional(),
|
|
40654
40832
|
unique_market_key: stringType(),
|
|
40655
40833
|
on_behalf_of: nullableType(stringType()).optional(),
|
|
40656
40834
|
callback_data: nullableType(zodInbound).optional(),
|
|
40657
|
-
chain:
|
|
40835
|
+
chain: MorphoRepayRequestChain$inboundSchema,
|
|
40658
40836
|
sender: stringType()
|
|
40659
40837
|
}).transform((v2) => {
|
|
40660
40838
|
return remap(v2, {
|
|
@@ -40670,7 +40848,7 @@ var init_morphorepayrequest = __esm(() => {
|
|
|
40670
40848
|
uniqueMarketKey: stringType(),
|
|
40671
40849
|
onBehalfOf: nullableType(stringType()).optional(),
|
|
40672
40850
|
callbackData: nullableType(zodOutbound).optional(),
|
|
40673
|
-
chain:
|
|
40851
|
+
chain: MorphoRepayRequestChain$outboundSchema,
|
|
40674
40852
|
sender: stringType()
|
|
40675
40853
|
}).transform((v2) => {
|
|
40676
40854
|
return remap(v2, {
|
|
@@ -40687,24 +40865,34 @@ var init_morphorepayrequest = __esm(() => {
|
|
|
40687
40865
|
});
|
|
40688
40866
|
|
|
40689
40867
|
// src/models/components/morphosupplycollateralrequest.ts
|
|
40690
|
-
var MorphoSupplyCollateralRequestAmount$inboundSchema, MorphoSupplyCollateralRequestAmount$outboundSchema, MorphoSupplyCollateralRequestAmount$, MorphoSupplyCollateralRequest$inboundSchema, MorphoSupplyCollateralRequest$outboundSchema, MorphoSupplyCollateralRequest$;
|
|
40868
|
+
var MorphoSupplyCollateralRequestChain, MorphoSupplyCollateralRequestAmount$inboundSchema, MorphoSupplyCollateralRequestAmount$outboundSchema, MorphoSupplyCollateralRequestAmount$, MorphoSupplyCollateralRequestChain$inboundSchema, MorphoSupplyCollateralRequestChain$outboundSchema, MorphoSupplyCollateralRequestChain$, MorphoSupplyCollateralRequest$inboundSchema, MorphoSupplyCollateralRequest$outboundSchema, MorphoSupplyCollateralRequest$;
|
|
40691
40869
|
var init_morphosupplycollateralrequest = __esm(() => {
|
|
40692
40870
|
init_zod();
|
|
40693
40871
|
init_base64();
|
|
40694
40872
|
init_primitives();
|
|
40873
|
+
MorphoSupplyCollateralRequestChain = {
|
|
40874
|
+
BaseMainnet: "base:mainnet",
|
|
40875
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
40876
|
+
};
|
|
40695
40877
|
MorphoSupplyCollateralRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
40696
40878
|
MorphoSupplyCollateralRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
40697
40879
|
((MorphoSupplyCollateralRequestAmount$) => {
|
|
40698
40880
|
MorphoSupplyCollateralRequestAmount$.inboundSchema = MorphoSupplyCollateralRequestAmount$inboundSchema;
|
|
40699
40881
|
MorphoSupplyCollateralRequestAmount$.outboundSchema = MorphoSupplyCollateralRequestAmount$outboundSchema;
|
|
40700
40882
|
})(MorphoSupplyCollateralRequestAmount$ ||= {});
|
|
40883
|
+
MorphoSupplyCollateralRequestChain$inboundSchema = nativeEnumType(MorphoSupplyCollateralRequestChain);
|
|
40884
|
+
MorphoSupplyCollateralRequestChain$outboundSchema = MorphoSupplyCollateralRequestChain$inboundSchema;
|
|
40885
|
+
((MorphoSupplyCollateralRequestChain$) => {
|
|
40886
|
+
MorphoSupplyCollateralRequestChain$.inboundSchema = MorphoSupplyCollateralRequestChain$inboundSchema;
|
|
40887
|
+
MorphoSupplyCollateralRequestChain$.outboundSchema = MorphoSupplyCollateralRequestChain$outboundSchema;
|
|
40888
|
+
})(MorphoSupplyCollateralRequestChain$ ||= {});
|
|
40701
40889
|
MorphoSupplyCollateralRequest$inboundSchema = objectType({
|
|
40702
40890
|
action_type: literalType("MORPHO_SUPPLY_COLLATERAL").default("MORPHO_SUPPLY_COLLATERAL"),
|
|
40703
40891
|
amount: unionType([numberType(), stringType()]),
|
|
40704
40892
|
unique_market_key: stringType(),
|
|
40705
40893
|
on_behalf_of: nullableType(stringType()).optional(),
|
|
40706
40894
|
callback_data: nullableType(zodInbound).optional(),
|
|
40707
|
-
chain:
|
|
40895
|
+
chain: MorphoSupplyCollateralRequestChain$inboundSchema,
|
|
40708
40896
|
sender: stringType()
|
|
40709
40897
|
}).transform((v2) => {
|
|
40710
40898
|
return remap(v2, {
|
|
@@ -40720,7 +40908,7 @@ var init_morphosupplycollateralrequest = __esm(() => {
|
|
|
40720
40908
|
uniqueMarketKey: stringType(),
|
|
40721
40909
|
onBehalfOf: nullableType(stringType()).optional(),
|
|
40722
40910
|
callbackData: nullableType(zodOutbound).optional(),
|
|
40723
|
-
chain:
|
|
40911
|
+
chain: MorphoSupplyCollateralRequestChain$outboundSchema,
|
|
40724
40912
|
sender: stringType()
|
|
40725
40913
|
}).transform((v2) => {
|
|
40726
40914
|
return remap(v2, {
|
|
@@ -40737,23 +40925,33 @@ var init_morphosupplycollateralrequest = __esm(() => {
|
|
|
40737
40925
|
});
|
|
40738
40926
|
|
|
40739
40927
|
// src/models/components/morphowithdrawcollateralrequest.ts
|
|
40740
|
-
var MorphoWithdrawCollateralRequestAmount$inboundSchema, MorphoWithdrawCollateralRequestAmount$outboundSchema, MorphoWithdrawCollateralRequestAmount$, MorphoWithdrawCollateralRequest$inboundSchema, MorphoWithdrawCollateralRequest$outboundSchema, MorphoWithdrawCollateralRequest$;
|
|
40928
|
+
var MorphoWithdrawCollateralRequestChain, MorphoWithdrawCollateralRequestAmount$inboundSchema, MorphoWithdrawCollateralRequestAmount$outboundSchema, MorphoWithdrawCollateralRequestAmount$, MorphoWithdrawCollateralRequestChain$inboundSchema, MorphoWithdrawCollateralRequestChain$outboundSchema, MorphoWithdrawCollateralRequestChain$, MorphoWithdrawCollateralRequest$inboundSchema, MorphoWithdrawCollateralRequest$outboundSchema, MorphoWithdrawCollateralRequest$;
|
|
40741
40929
|
var init_morphowithdrawcollateralrequest = __esm(() => {
|
|
40742
40930
|
init_zod();
|
|
40743
40931
|
init_primitives();
|
|
40932
|
+
MorphoWithdrawCollateralRequestChain = {
|
|
40933
|
+
BaseMainnet: "base:mainnet",
|
|
40934
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
40935
|
+
};
|
|
40744
40936
|
MorphoWithdrawCollateralRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
40745
40937
|
MorphoWithdrawCollateralRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
40746
40938
|
((MorphoWithdrawCollateralRequestAmount$) => {
|
|
40747
40939
|
MorphoWithdrawCollateralRequestAmount$.inboundSchema = MorphoWithdrawCollateralRequestAmount$inboundSchema;
|
|
40748
40940
|
MorphoWithdrawCollateralRequestAmount$.outboundSchema = MorphoWithdrawCollateralRequestAmount$outboundSchema;
|
|
40749
40941
|
})(MorphoWithdrawCollateralRequestAmount$ ||= {});
|
|
40942
|
+
MorphoWithdrawCollateralRequestChain$inboundSchema = nativeEnumType(MorphoWithdrawCollateralRequestChain);
|
|
40943
|
+
MorphoWithdrawCollateralRequestChain$outboundSchema = MorphoWithdrawCollateralRequestChain$inboundSchema;
|
|
40944
|
+
((MorphoWithdrawCollateralRequestChain$) => {
|
|
40945
|
+
MorphoWithdrawCollateralRequestChain$.inboundSchema = MorphoWithdrawCollateralRequestChain$inboundSchema;
|
|
40946
|
+
MorphoWithdrawCollateralRequestChain$.outboundSchema = MorphoWithdrawCollateralRequestChain$outboundSchema;
|
|
40947
|
+
})(MorphoWithdrawCollateralRequestChain$ ||= {});
|
|
40750
40948
|
MorphoWithdrawCollateralRequest$inboundSchema = objectType({
|
|
40751
40949
|
action_type: literalType("MORPHO_WITHDRAW_COLLATERAL").default("MORPHO_WITHDRAW_COLLATERAL"),
|
|
40752
40950
|
amount: unionType([numberType(), stringType()]),
|
|
40753
40951
|
unique_market_key: stringType(),
|
|
40754
40952
|
on_behalf_of: nullableType(stringType()).optional(),
|
|
40755
40953
|
receiver: nullableType(stringType()).optional(),
|
|
40756
|
-
chain:
|
|
40954
|
+
chain: MorphoWithdrawCollateralRequestChain$inboundSchema,
|
|
40757
40955
|
sender: stringType()
|
|
40758
40956
|
}).transform((v2) => {
|
|
40759
40957
|
return remap(v2, {
|
|
@@ -40768,7 +40966,7 @@ var init_morphowithdrawcollateralrequest = __esm(() => {
|
|
|
40768
40966
|
uniqueMarketKey: stringType(),
|
|
40769
40967
|
onBehalfOf: nullableType(stringType()).optional(),
|
|
40770
40968
|
receiver: nullableType(stringType()).optional(),
|
|
40771
|
-
chain:
|
|
40969
|
+
chain: MorphoWithdrawCollateralRequestChain$outboundSchema,
|
|
40772
40970
|
sender: stringType()
|
|
40773
40971
|
}).transform((v2) => {
|
|
40774
40972
|
return remap(v2, {
|
|
@@ -40784,16 +40982,26 @@ var init_morphowithdrawcollateralrequest = __esm(() => {
|
|
|
40784
40982
|
});
|
|
40785
40983
|
|
|
40786
40984
|
// src/models/components/morphowithdrawrequest.ts
|
|
40787
|
-
var MorphoWithdrawRequest$inboundSchema, MorphoWithdrawRequest$outboundSchema, MorphoWithdrawRequest$;
|
|
40985
|
+
var MorphoWithdrawRequestChain, MorphoWithdrawRequestChain$inboundSchema, MorphoWithdrawRequestChain$outboundSchema, MorphoWithdrawRequestChain$, MorphoWithdrawRequest$inboundSchema, MorphoWithdrawRequest$outboundSchema, MorphoWithdrawRequest$;
|
|
40788
40986
|
var init_morphowithdrawrequest = __esm(() => {
|
|
40789
40987
|
init_zod();
|
|
40790
40988
|
init_primitives();
|
|
40989
|
+
MorphoWithdrawRequestChain = {
|
|
40990
|
+
BaseMainnet: "base:mainnet",
|
|
40991
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
40992
|
+
};
|
|
40993
|
+
MorphoWithdrawRequestChain$inboundSchema = nativeEnumType(MorphoWithdrawRequestChain);
|
|
40994
|
+
MorphoWithdrawRequestChain$outboundSchema = MorphoWithdrawRequestChain$inboundSchema;
|
|
40995
|
+
((MorphoWithdrawRequestChain$) => {
|
|
40996
|
+
MorphoWithdrawRequestChain$.inboundSchema = MorphoWithdrawRequestChain$inboundSchema;
|
|
40997
|
+
MorphoWithdrawRequestChain$.outboundSchema = MorphoWithdrawRequestChain$outboundSchema;
|
|
40998
|
+
})(MorphoWithdrawRequestChain$ ||= {});
|
|
40791
40999
|
MorphoWithdrawRequest$inboundSchema = objectType({
|
|
40792
41000
|
action_type: literalType("MORPHO_WITHDRAW").default("MORPHO_WITHDRAW"),
|
|
40793
41001
|
vault_address: stringType(),
|
|
40794
41002
|
amount: anyType().optional(),
|
|
40795
41003
|
receiver: nullableType(stringType()).optional(),
|
|
40796
|
-
chain:
|
|
41004
|
+
chain: MorphoWithdrawRequestChain$inboundSchema,
|
|
40797
41005
|
sender: stringType()
|
|
40798
41006
|
}).transform((v2) => {
|
|
40799
41007
|
return remap(v2, {
|
|
@@ -40806,7 +41014,7 @@ var init_morphowithdrawrequest = __esm(() => {
|
|
|
40806
41014
|
vaultAddress: stringType(),
|
|
40807
41015
|
amount: anyType().optional(),
|
|
40808
41016
|
receiver: nullableType(stringType()).optional(),
|
|
40809
|
-
chain:
|
|
41017
|
+
chain: MorphoWithdrawRequestChain$outboundSchema,
|
|
40810
41018
|
sender: stringType()
|
|
40811
41019
|
}).transform((v2) => {
|
|
40812
41020
|
return remap(v2, {
|
|
@@ -40821,15 +41029,26 @@ var init_morphowithdrawrequest = __esm(() => {
|
|
|
40821
41029
|
});
|
|
40822
41030
|
|
|
40823
41031
|
// src/models/components/multicallauthorizationrequest.ts
|
|
40824
|
-
var MulticallAuthorizationRequest$inboundSchema, MulticallAuthorizationRequest$outboundSchema, MulticallAuthorizationRequest$;
|
|
41032
|
+
var MulticallAuthorizationRequestChain, MulticallAuthorizationRequestChain$inboundSchema, MulticallAuthorizationRequestChain$outboundSchema, MulticallAuthorizationRequestChain$, MulticallAuthorizationRequest$inboundSchema, MulticallAuthorizationRequest$outboundSchema, MulticallAuthorizationRequest$;
|
|
40825
41033
|
var init_multicallauthorizationrequest = __esm(() => {
|
|
40826
41034
|
init_zod();
|
|
41035
|
+
MulticallAuthorizationRequestChain = {
|
|
41036
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
41037
|
+
BaseMainnet: "base:mainnet",
|
|
41038
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
41039
|
+
};
|
|
41040
|
+
MulticallAuthorizationRequestChain$inboundSchema = nativeEnumType(MulticallAuthorizationRequestChain);
|
|
41041
|
+
MulticallAuthorizationRequestChain$outboundSchema = MulticallAuthorizationRequestChain$inboundSchema;
|
|
41042
|
+
((MulticallAuthorizationRequestChain$) => {
|
|
41043
|
+
MulticallAuthorizationRequestChain$.inboundSchema = MulticallAuthorizationRequestChain$inboundSchema;
|
|
41044
|
+
MulticallAuthorizationRequestChain$.outboundSchema = MulticallAuthorizationRequestChain$outboundSchema;
|
|
41045
|
+
})(MulticallAuthorizationRequestChain$ ||= {});
|
|
40827
41046
|
MulticallAuthorizationRequest$inboundSchema = objectType({
|
|
40828
|
-
chain:
|
|
41047
|
+
chain: MulticallAuthorizationRequestChain$inboundSchema,
|
|
40829
41048
|
sender: stringType()
|
|
40830
41049
|
});
|
|
40831
41050
|
MulticallAuthorizationRequest$outboundSchema = objectType({
|
|
40832
|
-
chain:
|
|
41051
|
+
chain: MulticallAuthorizationRequestChain$outboundSchema,
|
|
40833
41052
|
sender: stringType()
|
|
40834
41053
|
});
|
|
40835
41054
|
((MulticallAuthorizationRequest$) => {
|
|
@@ -40859,14 +41078,25 @@ var init_multicallauthorizationresponse = __esm(() => {
|
|
|
40859
41078
|
});
|
|
40860
41079
|
|
|
40861
41080
|
// src/models/components/multicallexecuterequest.ts
|
|
40862
|
-
var MulticallExecuteRequest$inboundSchema, MulticallExecuteRequest$outboundSchema, MulticallExecuteRequest$;
|
|
41081
|
+
var MulticallExecuteRequestChain, MulticallExecuteRequestChain$inboundSchema, MulticallExecuteRequestChain$outboundSchema, MulticallExecuteRequestChain$, MulticallExecuteRequest$inboundSchema, MulticallExecuteRequest$outboundSchema, MulticallExecuteRequest$;
|
|
40863
41082
|
var init_multicallexecuterequest = __esm(() => {
|
|
40864
41083
|
init_zod();
|
|
40865
41084
|
init_primitives();
|
|
40866
41085
|
init_signedauthorization();
|
|
40867
41086
|
init_useroperation();
|
|
41087
|
+
MulticallExecuteRequestChain = {
|
|
41088
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
41089
|
+
BaseMainnet: "base:mainnet",
|
|
41090
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
41091
|
+
};
|
|
41092
|
+
MulticallExecuteRequestChain$inboundSchema = nativeEnumType(MulticallExecuteRequestChain);
|
|
41093
|
+
MulticallExecuteRequestChain$outboundSchema = MulticallExecuteRequestChain$inboundSchema;
|
|
41094
|
+
((MulticallExecuteRequestChain$) => {
|
|
41095
|
+
MulticallExecuteRequestChain$.inboundSchema = MulticallExecuteRequestChain$inboundSchema;
|
|
41096
|
+
MulticallExecuteRequestChain$.outboundSchema = MulticallExecuteRequestChain$outboundSchema;
|
|
41097
|
+
})(MulticallExecuteRequestChain$ ||= {});
|
|
40868
41098
|
MulticallExecuteRequest$inboundSchema = objectType({
|
|
40869
|
-
chain:
|
|
41099
|
+
chain: MulticallExecuteRequestChain$inboundSchema,
|
|
40870
41100
|
sender: stringType(),
|
|
40871
41101
|
signed_authorization: SignedAuthorization$inboundSchema,
|
|
40872
41102
|
actions: arrayType(UserOperation$inboundSchema)
|
|
@@ -40876,7 +41106,7 @@ var init_multicallexecuterequest = __esm(() => {
|
|
|
40876
41106
|
});
|
|
40877
41107
|
});
|
|
40878
41108
|
MulticallExecuteRequest$outboundSchema = objectType({
|
|
40879
|
-
chain:
|
|
41109
|
+
chain: MulticallExecuteRequestChain$outboundSchema,
|
|
40880
41110
|
sender: stringType(),
|
|
40881
41111
|
signedAuthorization: SignedAuthorization$outboundSchema,
|
|
40882
41112
|
actions: arrayType(UserOperation$outboundSchema)
|
|
@@ -40892,11 +41122,16 @@ var init_multicallexecuterequest = __esm(() => {
|
|
|
40892
41122
|
});
|
|
40893
41123
|
|
|
40894
41124
|
// src/models/components/odosswaprequest.ts
|
|
40895
|
-
var OdosSwapRequestTokenIn$inboundSchema, OdosSwapRequestTokenIn$outboundSchema, OdosSwapRequestTokenIn$, OdosSwapRequestTokenOut$inboundSchema, OdosSwapRequestTokenOut$outboundSchema, OdosSwapRequestTokenOut$, OdosSwapRequestAmount$inboundSchema, OdosSwapRequestAmount$outboundSchema, OdosSwapRequestAmount$, OdosSwapRequest$inboundSchema, OdosSwapRequest$outboundSchema, OdosSwapRequest$;
|
|
41125
|
+
var OdosSwapRequestChain, OdosSwapRequestTokenIn$inboundSchema, OdosSwapRequestTokenIn$outboundSchema, OdosSwapRequestTokenIn$, OdosSwapRequestTokenOut$inboundSchema, OdosSwapRequestTokenOut$outboundSchema, OdosSwapRequestTokenOut$, OdosSwapRequestAmount$inboundSchema, OdosSwapRequestAmount$outboundSchema, OdosSwapRequestAmount$, OdosSwapRequestChain$inboundSchema, OdosSwapRequestChain$outboundSchema, OdosSwapRequestChain$, OdosSwapRequest$inboundSchema, OdosSwapRequest$outboundSchema, OdosSwapRequest$;
|
|
40896
41126
|
var init_odosswaprequest = __esm(() => {
|
|
40897
41127
|
init_zod();
|
|
40898
41128
|
init_primitives();
|
|
40899
41129
|
init_tokenenum();
|
|
41130
|
+
OdosSwapRequestChain = {
|
|
41131
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
41132
|
+
BaseMainnet: "base:mainnet",
|
|
41133
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
41134
|
+
};
|
|
40900
41135
|
OdosSwapRequestTokenIn$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
40901
41136
|
OdosSwapRequestTokenIn$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
|
|
40902
41137
|
((OdosSwapRequestTokenIn$) => {
|
|
@@ -40915,13 +41150,19 @@ var init_odosswaprequest = __esm(() => {
|
|
|
40915
41150
|
OdosSwapRequestAmount$.inboundSchema = OdosSwapRequestAmount$inboundSchema;
|
|
40916
41151
|
OdosSwapRequestAmount$.outboundSchema = OdosSwapRequestAmount$outboundSchema;
|
|
40917
41152
|
})(OdosSwapRequestAmount$ ||= {});
|
|
41153
|
+
OdosSwapRequestChain$inboundSchema = nativeEnumType(OdosSwapRequestChain);
|
|
41154
|
+
OdosSwapRequestChain$outboundSchema = OdosSwapRequestChain$inboundSchema;
|
|
41155
|
+
((OdosSwapRequestChain$) => {
|
|
41156
|
+
OdosSwapRequestChain$.inboundSchema = OdosSwapRequestChain$inboundSchema;
|
|
41157
|
+
OdosSwapRequestChain$.outboundSchema = OdosSwapRequestChain$outboundSchema;
|
|
41158
|
+
})(OdosSwapRequestChain$ ||= {});
|
|
40918
41159
|
OdosSwapRequest$inboundSchema = objectType({
|
|
40919
41160
|
action_type: literalType("ODOS_SWAP").default("ODOS_SWAP"),
|
|
40920
41161
|
token_in: unionType([TokenEnum$inboundSchema, stringType()]),
|
|
40921
41162
|
token_out: unionType([TokenEnum$inboundSchema, stringType()]),
|
|
40922
41163
|
amount: unionType([numberType(), stringType()]),
|
|
40923
41164
|
max_slippage_percent: numberType(),
|
|
40924
|
-
chain:
|
|
41165
|
+
chain: OdosSwapRequestChain$inboundSchema,
|
|
40925
41166
|
sender: stringType()
|
|
40926
41167
|
}).transform((v2) => {
|
|
40927
41168
|
return remap(v2, {
|
|
@@ -40937,7 +41178,7 @@ var init_odosswaprequest = __esm(() => {
|
|
|
40937
41178
|
tokenOut: unionType([TokenEnum$outboundSchema, stringType()]),
|
|
40938
41179
|
amount: unionType([numberType(), stringType()]),
|
|
40939
41180
|
maxSlippagePercent: numberType(),
|
|
40940
|
-
chain:
|
|
41181
|
+
chain: OdosSwapRequestChain$outboundSchema,
|
|
40941
41182
|
sender: stringType()
|
|
40942
41183
|
}).transform((v2) => {
|
|
40943
41184
|
return remap(v2, {
|
|
@@ -40978,22 +41219,33 @@ var init_openposition = __esm(() => {
|
|
|
40978
41219
|
});
|
|
40979
41220
|
|
|
40980
41221
|
// src/models/components/pendleaddliquidityrequest.ts
|
|
40981
|
-
var PendleAddLiquidityRequestAmount$inboundSchema, PendleAddLiquidityRequestAmount$outboundSchema, PendleAddLiquidityRequestAmount$, PendleAddLiquidityRequest$inboundSchema, PendleAddLiquidityRequest$outboundSchema, PendleAddLiquidityRequest$;
|
|
41222
|
+
var PendleAddLiquidityRequestChain, PendleAddLiquidityRequestAmount$inboundSchema, PendleAddLiquidityRequestAmount$outboundSchema, PendleAddLiquidityRequestAmount$, PendleAddLiquidityRequestChain$inboundSchema, PendleAddLiquidityRequestChain$outboundSchema, PendleAddLiquidityRequestChain$, PendleAddLiquidityRequest$inboundSchema, PendleAddLiquidityRequest$outboundSchema, PendleAddLiquidityRequest$;
|
|
40982
41223
|
var init_pendleaddliquidityrequest = __esm(() => {
|
|
40983
41224
|
init_zod();
|
|
40984
41225
|
init_primitives();
|
|
41226
|
+
PendleAddLiquidityRequestChain = {
|
|
41227
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
41228
|
+
BaseMainnet: "base:mainnet",
|
|
41229
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
41230
|
+
};
|
|
40985
41231
|
PendleAddLiquidityRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
40986
41232
|
PendleAddLiquidityRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
40987
41233
|
((PendleAddLiquidityRequestAmount$) => {
|
|
40988
41234
|
PendleAddLiquidityRequestAmount$.inboundSchema = PendleAddLiquidityRequestAmount$inboundSchema;
|
|
40989
41235
|
PendleAddLiquidityRequestAmount$.outboundSchema = PendleAddLiquidityRequestAmount$outboundSchema;
|
|
40990
41236
|
})(PendleAddLiquidityRequestAmount$ ||= {});
|
|
41237
|
+
PendleAddLiquidityRequestChain$inboundSchema = nativeEnumType(PendleAddLiquidityRequestChain);
|
|
41238
|
+
PendleAddLiquidityRequestChain$outboundSchema = PendleAddLiquidityRequestChain$inboundSchema;
|
|
41239
|
+
((PendleAddLiquidityRequestChain$) => {
|
|
41240
|
+
PendleAddLiquidityRequestChain$.inboundSchema = PendleAddLiquidityRequestChain$inboundSchema;
|
|
41241
|
+
PendleAddLiquidityRequestChain$.outboundSchema = PendleAddLiquidityRequestChain$outboundSchema;
|
|
41242
|
+
})(PendleAddLiquidityRequestChain$ ||= {});
|
|
40991
41243
|
PendleAddLiquidityRequest$inboundSchema = objectType({
|
|
40992
41244
|
action_type: literalType("PENDLE_ADD_LIQUIDITY").default("PENDLE_ADD_LIQUIDITY"),
|
|
40993
41245
|
market_address: stringType(),
|
|
40994
41246
|
amount: unionType([numberType(), stringType()]),
|
|
40995
41247
|
max_slippage_percent: numberType(),
|
|
40996
|
-
chain:
|
|
41248
|
+
chain: PendleAddLiquidityRequestChain$inboundSchema,
|
|
40997
41249
|
sender: stringType()
|
|
40998
41250
|
}).transform((v2) => {
|
|
40999
41251
|
return remap(v2, {
|
|
@@ -41007,7 +41259,7 @@ var init_pendleaddliquidityrequest = __esm(() => {
|
|
|
41007
41259
|
marketAddress: stringType(),
|
|
41008
41260
|
amount: unionType([numberType(), stringType()]),
|
|
41009
41261
|
maxSlippagePercent: numberType(),
|
|
41010
|
-
chain:
|
|
41262
|
+
chain: PendleAddLiquidityRequestChain$outboundSchema,
|
|
41011
41263
|
sender: stringType()
|
|
41012
41264
|
}).transform((v2) => {
|
|
41013
41265
|
return remap(v2, {
|
|
@@ -41023,41 +41275,65 @@ var init_pendleaddliquidityrequest = __esm(() => {
|
|
|
41023
41275
|
});
|
|
41024
41276
|
|
|
41025
41277
|
// src/models/components/pendlebuyptrequest.ts
|
|
41026
|
-
var
|
|
41278
|
+
var PendleBuyPtRequestChain, PendleBuyPtRequestTokenIn$inboundSchema, PendleBuyPtRequestTokenIn$outboundSchema, PendleBuyPtRequestTokenIn$, PendleBuyPtRequestAmountIn$inboundSchema, PendleBuyPtRequestAmountIn$outboundSchema, PendleBuyPtRequestAmountIn$, PendleBuyPtRequestChain$inboundSchema, PendleBuyPtRequestChain$outboundSchema, PendleBuyPtRequestChain$, PendleBuyPtRequest$inboundSchema, PendleBuyPtRequest$outboundSchema, PendleBuyPtRequest$;
|
|
41027
41279
|
var init_pendlebuyptrequest = __esm(() => {
|
|
41028
41280
|
init_zod();
|
|
41029
41281
|
init_primitives();
|
|
41030
|
-
|
|
41031
|
-
|
|
41032
|
-
|
|
41033
|
-
|
|
41034
|
-
|
|
41035
|
-
}
|
|
41282
|
+
init_tokenenum();
|
|
41283
|
+
PendleBuyPtRequestChain = {
|
|
41284
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
41285
|
+
BaseMainnet: "base:mainnet",
|
|
41286
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
41287
|
+
};
|
|
41288
|
+
PendleBuyPtRequestTokenIn$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
41289
|
+
PendleBuyPtRequestTokenIn$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
|
|
41290
|
+
((PendleBuyPtRequestTokenIn$) => {
|
|
41291
|
+
PendleBuyPtRequestTokenIn$.inboundSchema = PendleBuyPtRequestTokenIn$inboundSchema;
|
|
41292
|
+
PendleBuyPtRequestTokenIn$.outboundSchema = PendleBuyPtRequestTokenIn$outboundSchema;
|
|
41293
|
+
})(PendleBuyPtRequestTokenIn$ ||= {});
|
|
41294
|
+
PendleBuyPtRequestAmountIn$inboundSchema = unionType([numberType(), stringType()]);
|
|
41295
|
+
PendleBuyPtRequestAmountIn$outboundSchema = unionType([numberType(), stringType()]);
|
|
41296
|
+
((PendleBuyPtRequestAmountIn$) => {
|
|
41297
|
+
PendleBuyPtRequestAmountIn$.inboundSchema = PendleBuyPtRequestAmountIn$inboundSchema;
|
|
41298
|
+
PendleBuyPtRequestAmountIn$.outboundSchema = PendleBuyPtRequestAmountIn$outboundSchema;
|
|
41299
|
+
})(PendleBuyPtRequestAmountIn$ ||= {});
|
|
41300
|
+
PendleBuyPtRequestChain$inboundSchema = nativeEnumType(PendleBuyPtRequestChain);
|
|
41301
|
+
PendleBuyPtRequestChain$outboundSchema = PendleBuyPtRequestChain$inboundSchema;
|
|
41302
|
+
((PendleBuyPtRequestChain$) => {
|
|
41303
|
+
PendleBuyPtRequestChain$.inboundSchema = PendleBuyPtRequestChain$inboundSchema;
|
|
41304
|
+
PendleBuyPtRequestChain$.outboundSchema = PendleBuyPtRequestChain$outboundSchema;
|
|
41305
|
+
})(PendleBuyPtRequestChain$ ||= {});
|
|
41036
41306
|
PendleBuyPtRequest$inboundSchema = objectType({
|
|
41037
41307
|
action_type: literalType("PENDLE_BUY_PT").default("PENDLE_BUY_PT"),
|
|
41038
41308
|
market_address: stringType(),
|
|
41039
|
-
|
|
41309
|
+
token_in: unionType([TokenEnum$inboundSchema, stringType()]),
|
|
41310
|
+
amount_in: unionType([numberType(), stringType()]),
|
|
41040
41311
|
max_slippage_percent: numberType(),
|
|
41041
|
-
chain:
|
|
41312
|
+
chain: PendleBuyPtRequestChain$inboundSchema,
|
|
41042
41313
|
sender: stringType()
|
|
41043
41314
|
}).transform((v2) => {
|
|
41044
41315
|
return remap(v2, {
|
|
41045
41316
|
action_type: "actionType",
|
|
41046
41317
|
market_address: "marketAddress",
|
|
41318
|
+
token_in: "tokenIn",
|
|
41319
|
+
amount_in: "amountIn",
|
|
41047
41320
|
max_slippage_percent: "maxSlippagePercent"
|
|
41048
41321
|
});
|
|
41049
41322
|
});
|
|
41050
41323
|
PendleBuyPtRequest$outboundSchema = objectType({
|
|
41051
41324
|
actionType: literalType("PENDLE_BUY_PT").default("PENDLE_BUY_PT"),
|
|
41052
41325
|
marketAddress: stringType(),
|
|
41053
|
-
|
|
41326
|
+
tokenIn: unionType([TokenEnum$outboundSchema, stringType()]),
|
|
41327
|
+
amountIn: unionType([numberType(), stringType()]),
|
|
41054
41328
|
maxSlippagePercent: numberType(),
|
|
41055
|
-
chain:
|
|
41329
|
+
chain: PendleBuyPtRequestChain$outboundSchema,
|
|
41056
41330
|
sender: stringType()
|
|
41057
41331
|
}).transform((v2) => {
|
|
41058
41332
|
return remap(v2, {
|
|
41059
41333
|
actionType: "action_type",
|
|
41060
41334
|
marketAddress: "market_address",
|
|
41335
|
+
tokenIn: "token_in",
|
|
41336
|
+
amountIn: "amount_in",
|
|
41061
41337
|
maxSlippagePercent: "max_slippage_percent"
|
|
41062
41338
|
});
|
|
41063
41339
|
});
|
|
@@ -41068,41 +41344,65 @@ var init_pendlebuyptrequest = __esm(() => {
|
|
|
41068
41344
|
});
|
|
41069
41345
|
|
|
41070
41346
|
// src/models/components/pendlebuyytrequest.ts
|
|
41071
|
-
var
|
|
41347
|
+
var PendleBuyYtRequestChain, PendleBuyYtRequestTokenIn$inboundSchema, PendleBuyYtRequestTokenIn$outboundSchema, PendleBuyYtRequestTokenIn$, PendleBuyYtRequestAmountIn$inboundSchema, PendleBuyYtRequestAmountIn$outboundSchema, PendleBuyYtRequestAmountIn$, PendleBuyYtRequestChain$inboundSchema, PendleBuyYtRequestChain$outboundSchema, PendleBuyYtRequestChain$, PendleBuyYtRequest$inboundSchema, PendleBuyYtRequest$outboundSchema, PendleBuyYtRequest$;
|
|
41072
41348
|
var init_pendlebuyytrequest = __esm(() => {
|
|
41073
41349
|
init_zod();
|
|
41074
41350
|
init_primitives();
|
|
41075
|
-
|
|
41076
|
-
|
|
41077
|
-
|
|
41078
|
-
|
|
41079
|
-
|
|
41080
|
-
}
|
|
41351
|
+
init_tokenenum();
|
|
41352
|
+
PendleBuyYtRequestChain = {
|
|
41353
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
41354
|
+
BaseMainnet: "base:mainnet",
|
|
41355
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
41356
|
+
};
|
|
41357
|
+
PendleBuyYtRequestTokenIn$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
41358
|
+
PendleBuyYtRequestTokenIn$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
|
|
41359
|
+
((PendleBuyYtRequestTokenIn$) => {
|
|
41360
|
+
PendleBuyYtRequestTokenIn$.inboundSchema = PendleBuyYtRequestTokenIn$inboundSchema;
|
|
41361
|
+
PendleBuyYtRequestTokenIn$.outboundSchema = PendleBuyYtRequestTokenIn$outboundSchema;
|
|
41362
|
+
})(PendleBuyYtRequestTokenIn$ ||= {});
|
|
41363
|
+
PendleBuyYtRequestAmountIn$inboundSchema = unionType([numberType(), stringType()]);
|
|
41364
|
+
PendleBuyYtRequestAmountIn$outboundSchema = unionType([numberType(), stringType()]);
|
|
41365
|
+
((PendleBuyYtRequestAmountIn$) => {
|
|
41366
|
+
PendleBuyYtRequestAmountIn$.inboundSchema = PendleBuyYtRequestAmountIn$inboundSchema;
|
|
41367
|
+
PendleBuyYtRequestAmountIn$.outboundSchema = PendleBuyYtRequestAmountIn$outboundSchema;
|
|
41368
|
+
})(PendleBuyYtRequestAmountIn$ ||= {});
|
|
41369
|
+
PendleBuyYtRequestChain$inboundSchema = nativeEnumType(PendleBuyYtRequestChain);
|
|
41370
|
+
PendleBuyYtRequestChain$outboundSchema = PendleBuyYtRequestChain$inboundSchema;
|
|
41371
|
+
((PendleBuyYtRequestChain$) => {
|
|
41372
|
+
PendleBuyYtRequestChain$.inboundSchema = PendleBuyYtRequestChain$inboundSchema;
|
|
41373
|
+
PendleBuyYtRequestChain$.outboundSchema = PendleBuyYtRequestChain$outboundSchema;
|
|
41374
|
+
})(PendleBuyYtRequestChain$ ||= {});
|
|
41081
41375
|
PendleBuyYtRequest$inboundSchema = objectType({
|
|
41082
41376
|
action_type: literalType("PENDLE_BUY_YT").default("PENDLE_BUY_YT"),
|
|
41083
41377
|
market_address: stringType(),
|
|
41084
|
-
|
|
41378
|
+
token_in: unionType([TokenEnum$inboundSchema, stringType()]),
|
|
41379
|
+
amount_in: unionType([numberType(), stringType()]),
|
|
41085
41380
|
max_slippage_percent: numberType(),
|
|
41086
|
-
chain:
|
|
41381
|
+
chain: PendleBuyYtRequestChain$inboundSchema,
|
|
41087
41382
|
sender: stringType()
|
|
41088
41383
|
}).transform((v2) => {
|
|
41089
41384
|
return remap(v2, {
|
|
41090
41385
|
action_type: "actionType",
|
|
41091
41386
|
market_address: "marketAddress",
|
|
41387
|
+
token_in: "tokenIn",
|
|
41388
|
+
amount_in: "amountIn",
|
|
41092
41389
|
max_slippage_percent: "maxSlippagePercent"
|
|
41093
41390
|
});
|
|
41094
41391
|
});
|
|
41095
41392
|
PendleBuyYtRequest$outboundSchema = objectType({
|
|
41096
41393
|
actionType: literalType("PENDLE_BUY_YT").default("PENDLE_BUY_YT"),
|
|
41097
41394
|
marketAddress: stringType(),
|
|
41098
|
-
|
|
41395
|
+
tokenIn: unionType([TokenEnum$outboundSchema, stringType()]),
|
|
41396
|
+
amountIn: unionType([numberType(), stringType()]),
|
|
41099
41397
|
maxSlippagePercent: numberType(),
|
|
41100
|
-
chain:
|
|
41398
|
+
chain: PendleBuyYtRequestChain$outboundSchema,
|
|
41101
41399
|
sender: stringType()
|
|
41102
41400
|
}).transform((v2) => {
|
|
41103
41401
|
return remap(v2, {
|
|
41104
41402
|
actionType: "action_type",
|
|
41105
41403
|
marketAddress: "market_address",
|
|
41404
|
+
tokenIn: "token_in",
|
|
41405
|
+
amountIn: "amount_in",
|
|
41106
41406
|
maxSlippagePercent: "max_slippage_percent"
|
|
41107
41407
|
});
|
|
41108
41408
|
});
|
|
@@ -41291,14 +41591,25 @@ var init_pendlelistuserpositionsresponse = __esm(() => {
|
|
|
41291
41591
|
});
|
|
41292
41592
|
|
|
41293
41593
|
// src/models/components/pendleredeemyieldrequest.ts
|
|
41294
|
-
var PendleRedeemYieldRequest$inboundSchema, PendleRedeemYieldRequest$outboundSchema, PendleRedeemYieldRequest$;
|
|
41594
|
+
var PendleRedeemYieldRequestChain, PendleRedeemYieldRequestChain$inboundSchema, PendleRedeemYieldRequestChain$outboundSchema, PendleRedeemYieldRequestChain$, PendleRedeemYieldRequest$inboundSchema, PendleRedeemYieldRequest$outboundSchema, PendleRedeemYieldRequest$;
|
|
41295
41595
|
var init_pendleredeemyieldrequest = __esm(() => {
|
|
41296
41596
|
init_zod();
|
|
41297
41597
|
init_primitives();
|
|
41598
|
+
PendleRedeemYieldRequestChain = {
|
|
41599
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
41600
|
+
BaseMainnet: "base:mainnet",
|
|
41601
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
41602
|
+
};
|
|
41603
|
+
PendleRedeemYieldRequestChain$inboundSchema = nativeEnumType(PendleRedeemYieldRequestChain);
|
|
41604
|
+
PendleRedeemYieldRequestChain$outboundSchema = PendleRedeemYieldRequestChain$inboundSchema;
|
|
41605
|
+
((PendleRedeemYieldRequestChain$) => {
|
|
41606
|
+
PendleRedeemYieldRequestChain$.inboundSchema = PendleRedeemYieldRequestChain$inboundSchema;
|
|
41607
|
+
PendleRedeemYieldRequestChain$.outboundSchema = PendleRedeemYieldRequestChain$outboundSchema;
|
|
41608
|
+
})(PendleRedeemYieldRequestChain$ ||= {});
|
|
41298
41609
|
PendleRedeemYieldRequest$inboundSchema = objectType({
|
|
41299
41610
|
action_type: literalType("PENDLE_REDEEM_YIELD").default("PENDLE_REDEEM_YIELD"),
|
|
41300
41611
|
market_address: stringType(),
|
|
41301
|
-
chain:
|
|
41612
|
+
chain: PendleRedeemYieldRequestChain$inboundSchema,
|
|
41302
41613
|
sender: stringType()
|
|
41303
41614
|
}).transform((v2) => {
|
|
41304
41615
|
return remap(v2, {
|
|
@@ -41309,7 +41620,7 @@ var init_pendleredeemyieldrequest = __esm(() => {
|
|
|
41309
41620
|
PendleRedeemYieldRequest$outboundSchema = objectType({
|
|
41310
41621
|
actionType: literalType("PENDLE_REDEEM_YIELD").default("PENDLE_REDEEM_YIELD"),
|
|
41311
41622
|
marketAddress: stringType(),
|
|
41312
|
-
chain:
|
|
41623
|
+
chain: PendleRedeemYieldRequestChain$outboundSchema,
|
|
41313
41624
|
sender: stringType()
|
|
41314
41625
|
}).transform((v2) => {
|
|
41315
41626
|
return remap(v2, {
|
|
@@ -41324,22 +41635,33 @@ var init_pendleredeemyieldrequest = __esm(() => {
|
|
|
41324
41635
|
});
|
|
41325
41636
|
|
|
41326
41637
|
// src/models/components/pendleremoveliquidityrequest.ts
|
|
41327
|
-
var PendleRemoveLiquidityRequestAmount$inboundSchema, PendleRemoveLiquidityRequestAmount$outboundSchema, PendleRemoveLiquidityRequestAmount$, PendleRemoveLiquidityRequest$inboundSchema, PendleRemoveLiquidityRequest$outboundSchema, PendleRemoveLiquidityRequest$;
|
|
41638
|
+
var PendleRemoveLiquidityRequestChain, PendleRemoveLiquidityRequestAmount$inboundSchema, PendleRemoveLiquidityRequestAmount$outboundSchema, PendleRemoveLiquidityRequestAmount$, PendleRemoveLiquidityRequestChain$inboundSchema, PendleRemoveLiquidityRequestChain$outboundSchema, PendleRemoveLiquidityRequestChain$, PendleRemoveLiquidityRequest$inboundSchema, PendleRemoveLiquidityRequest$outboundSchema, PendleRemoveLiquidityRequest$;
|
|
41328
41639
|
var init_pendleremoveliquidityrequest = __esm(() => {
|
|
41329
41640
|
init_zod();
|
|
41330
41641
|
init_primitives();
|
|
41642
|
+
PendleRemoveLiquidityRequestChain = {
|
|
41643
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
41644
|
+
BaseMainnet: "base:mainnet",
|
|
41645
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
41646
|
+
};
|
|
41331
41647
|
PendleRemoveLiquidityRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
41332
41648
|
PendleRemoveLiquidityRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
41333
41649
|
((PendleRemoveLiquidityRequestAmount$) => {
|
|
41334
41650
|
PendleRemoveLiquidityRequestAmount$.inboundSchema = PendleRemoveLiquidityRequestAmount$inboundSchema;
|
|
41335
41651
|
PendleRemoveLiquidityRequestAmount$.outboundSchema = PendleRemoveLiquidityRequestAmount$outboundSchema;
|
|
41336
41652
|
})(PendleRemoveLiquidityRequestAmount$ ||= {});
|
|
41653
|
+
PendleRemoveLiquidityRequestChain$inboundSchema = nativeEnumType(PendleRemoveLiquidityRequestChain);
|
|
41654
|
+
PendleRemoveLiquidityRequestChain$outboundSchema = PendleRemoveLiquidityRequestChain$inboundSchema;
|
|
41655
|
+
((PendleRemoveLiquidityRequestChain$) => {
|
|
41656
|
+
PendleRemoveLiquidityRequestChain$.inboundSchema = PendleRemoveLiquidityRequestChain$inboundSchema;
|
|
41657
|
+
PendleRemoveLiquidityRequestChain$.outboundSchema = PendleRemoveLiquidityRequestChain$outboundSchema;
|
|
41658
|
+
})(PendleRemoveLiquidityRequestChain$ ||= {});
|
|
41337
41659
|
PendleRemoveLiquidityRequest$inboundSchema = objectType({
|
|
41338
41660
|
action_type: literalType("PENDLE_REMOVE_LIQUIDITY").default("PENDLE_REMOVE_LIQUIDITY"),
|
|
41339
41661
|
market_address: stringType(),
|
|
41340
41662
|
amount: unionType([numberType(), stringType()]),
|
|
41341
41663
|
max_slippage_percent: numberType(),
|
|
41342
|
-
chain:
|
|
41664
|
+
chain: PendleRemoveLiquidityRequestChain$inboundSchema,
|
|
41343
41665
|
sender: stringType()
|
|
41344
41666
|
}).transform((v2) => {
|
|
41345
41667
|
return remap(v2, {
|
|
@@ -41353,7 +41675,7 @@ var init_pendleremoveliquidityrequest = __esm(() => {
|
|
|
41353
41675
|
marketAddress: stringType(),
|
|
41354
41676
|
amount: unionType([numberType(), stringType()]),
|
|
41355
41677
|
maxSlippagePercent: numberType(),
|
|
41356
|
-
chain:
|
|
41678
|
+
chain: PendleRemoveLiquidityRequestChain$outboundSchema,
|
|
41357
41679
|
sender: stringType()
|
|
41358
41680
|
}).transform((v2) => {
|
|
41359
41681
|
return remap(v2, {
|
|
@@ -41369,22 +41691,33 @@ var init_pendleremoveliquidityrequest = __esm(() => {
|
|
|
41369
41691
|
});
|
|
41370
41692
|
|
|
41371
41693
|
// src/models/components/pendlesellptrequest.ts
|
|
41372
|
-
var PendleSellPtRequestAmount$inboundSchema, PendleSellPtRequestAmount$outboundSchema, PendleSellPtRequestAmount$, PendleSellPtRequest$inboundSchema, PendleSellPtRequest$outboundSchema, PendleSellPtRequest$;
|
|
41694
|
+
var PendleSellPtRequestChain, PendleSellPtRequestAmount$inboundSchema, PendleSellPtRequestAmount$outboundSchema, PendleSellPtRequestAmount$, PendleSellPtRequestChain$inboundSchema, PendleSellPtRequestChain$outboundSchema, PendleSellPtRequestChain$, PendleSellPtRequest$inboundSchema, PendleSellPtRequest$outboundSchema, PendleSellPtRequest$;
|
|
41373
41695
|
var init_pendlesellptrequest = __esm(() => {
|
|
41374
41696
|
init_zod();
|
|
41375
41697
|
init_primitives();
|
|
41698
|
+
PendleSellPtRequestChain = {
|
|
41699
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
41700
|
+
BaseMainnet: "base:mainnet",
|
|
41701
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
41702
|
+
};
|
|
41376
41703
|
PendleSellPtRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
41377
41704
|
PendleSellPtRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
41378
41705
|
((PendleSellPtRequestAmount$) => {
|
|
41379
41706
|
PendleSellPtRequestAmount$.inboundSchema = PendleSellPtRequestAmount$inboundSchema;
|
|
41380
41707
|
PendleSellPtRequestAmount$.outboundSchema = PendleSellPtRequestAmount$outboundSchema;
|
|
41381
41708
|
})(PendleSellPtRequestAmount$ ||= {});
|
|
41709
|
+
PendleSellPtRequestChain$inboundSchema = nativeEnumType(PendleSellPtRequestChain);
|
|
41710
|
+
PendleSellPtRequestChain$outboundSchema = PendleSellPtRequestChain$inboundSchema;
|
|
41711
|
+
((PendleSellPtRequestChain$) => {
|
|
41712
|
+
PendleSellPtRequestChain$.inboundSchema = PendleSellPtRequestChain$inboundSchema;
|
|
41713
|
+
PendleSellPtRequestChain$.outboundSchema = PendleSellPtRequestChain$outboundSchema;
|
|
41714
|
+
})(PendleSellPtRequestChain$ ||= {});
|
|
41382
41715
|
PendleSellPtRequest$inboundSchema = objectType({
|
|
41383
41716
|
action_type: literalType("PENDLE_SELL_PT").default("PENDLE_SELL_PT"),
|
|
41384
41717
|
market_address: stringType(),
|
|
41385
41718
|
amount: unionType([numberType(), stringType()]),
|
|
41386
41719
|
max_slippage_percent: numberType(),
|
|
41387
|
-
chain:
|
|
41720
|
+
chain: PendleSellPtRequestChain$inboundSchema,
|
|
41388
41721
|
sender: stringType()
|
|
41389
41722
|
}).transform((v2) => {
|
|
41390
41723
|
return remap(v2, {
|
|
@@ -41398,7 +41731,7 @@ var init_pendlesellptrequest = __esm(() => {
|
|
|
41398
41731
|
marketAddress: stringType(),
|
|
41399
41732
|
amount: unionType([numberType(), stringType()]),
|
|
41400
41733
|
maxSlippagePercent: numberType(),
|
|
41401
|
-
chain:
|
|
41734
|
+
chain: PendleSellPtRequestChain$outboundSchema,
|
|
41402
41735
|
sender: stringType()
|
|
41403
41736
|
}).transform((v2) => {
|
|
41404
41737
|
return remap(v2, {
|
|
@@ -41414,22 +41747,33 @@ var init_pendlesellptrequest = __esm(() => {
|
|
|
41414
41747
|
});
|
|
41415
41748
|
|
|
41416
41749
|
// src/models/components/pendlesellytrequest.ts
|
|
41417
|
-
var PendleSellYtRequestAmount$inboundSchema, PendleSellYtRequestAmount$outboundSchema, PendleSellYtRequestAmount$, PendleSellYtRequest$inboundSchema, PendleSellYtRequest$outboundSchema, PendleSellYtRequest$;
|
|
41750
|
+
var PendleSellYtRequestChain, PendleSellYtRequestAmount$inboundSchema, PendleSellYtRequestAmount$outboundSchema, PendleSellYtRequestAmount$, PendleSellYtRequestChain$inboundSchema, PendleSellYtRequestChain$outboundSchema, PendleSellYtRequestChain$, PendleSellYtRequest$inboundSchema, PendleSellYtRequest$outboundSchema, PendleSellYtRequest$;
|
|
41418
41751
|
var init_pendlesellytrequest = __esm(() => {
|
|
41419
41752
|
init_zod();
|
|
41420
41753
|
init_primitives();
|
|
41754
|
+
PendleSellYtRequestChain = {
|
|
41755
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
41756
|
+
BaseMainnet: "base:mainnet",
|
|
41757
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
41758
|
+
};
|
|
41421
41759
|
PendleSellYtRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
41422
41760
|
PendleSellYtRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
41423
41761
|
((PendleSellYtRequestAmount$) => {
|
|
41424
41762
|
PendleSellYtRequestAmount$.inboundSchema = PendleSellYtRequestAmount$inboundSchema;
|
|
41425
41763
|
PendleSellYtRequestAmount$.outboundSchema = PendleSellYtRequestAmount$outboundSchema;
|
|
41426
41764
|
})(PendleSellYtRequestAmount$ ||= {});
|
|
41765
|
+
PendleSellYtRequestChain$inboundSchema = nativeEnumType(PendleSellYtRequestChain);
|
|
41766
|
+
PendleSellYtRequestChain$outboundSchema = PendleSellYtRequestChain$inboundSchema;
|
|
41767
|
+
((PendleSellYtRequestChain$) => {
|
|
41768
|
+
PendleSellYtRequestChain$.inboundSchema = PendleSellYtRequestChain$inboundSchema;
|
|
41769
|
+
PendleSellYtRequestChain$.outboundSchema = PendleSellYtRequestChain$outboundSchema;
|
|
41770
|
+
})(PendleSellYtRequestChain$ ||= {});
|
|
41427
41771
|
PendleSellYtRequest$inboundSchema = objectType({
|
|
41428
41772
|
action_type: literalType("PENDLE_SELL_YT").default("PENDLE_SELL_YT"),
|
|
41429
41773
|
market_address: stringType(),
|
|
41430
41774
|
amount: unionType([numberType(), stringType()]),
|
|
41431
41775
|
max_slippage_percent: numberType(),
|
|
41432
|
-
chain:
|
|
41776
|
+
chain: PendleSellYtRequestChain$inboundSchema,
|
|
41433
41777
|
sender: stringType()
|
|
41434
41778
|
}).transform((v2) => {
|
|
41435
41779
|
return remap(v2, {
|
|
@@ -41443,7 +41787,7 @@ var init_pendlesellytrequest = __esm(() => {
|
|
|
41443
41787
|
marketAddress: stringType(),
|
|
41444
41788
|
amount: unionType([numberType(), stringType()]),
|
|
41445
41789
|
maxSlippagePercent: numberType(),
|
|
41446
|
-
chain:
|
|
41790
|
+
chain: PendleSellYtRequestChain$outboundSchema,
|
|
41447
41791
|
sender: stringType()
|
|
41448
41792
|
}).transform((v2) => {
|
|
41449
41793
|
return remap(v2, {
|
|
@@ -41534,7 +41878,7 @@ var init_security2 = __esm(() => {
|
|
|
41534
41878
|
});
|
|
41535
41879
|
|
|
41536
41880
|
// src/models/components/setallowancerequest.ts
|
|
41537
|
-
var SetAllowanceRequestContractEnum, SetAllowanceRequestToken$inboundSchema, SetAllowanceRequestToken$outboundSchema, SetAllowanceRequestToken$, SetAllowanceRequestContractEnum$inboundSchema, SetAllowanceRequestContractEnum$outboundSchema, SetAllowanceRequestContractEnum$, SetAllowanceRequestContractUnion$inboundSchema, SetAllowanceRequestContractUnion$outboundSchema, SetAllowanceRequestContractUnion$, SetAllowanceRequestAmount$inboundSchema, SetAllowanceRequestAmount$outboundSchema, SetAllowanceRequestAmount$, SetAllowanceRequest$inboundSchema, SetAllowanceRequest$outboundSchema, SetAllowanceRequest$;
|
|
41881
|
+
var SetAllowanceRequestContractEnum, SetAllowanceRequestChain, SetAllowanceRequestToken$inboundSchema, SetAllowanceRequestToken$outboundSchema, SetAllowanceRequestToken$, SetAllowanceRequestContractEnum$inboundSchema, SetAllowanceRequestContractEnum$outboundSchema, SetAllowanceRequestContractEnum$, SetAllowanceRequestContractUnion$inboundSchema, SetAllowanceRequestContractUnion$outboundSchema, SetAllowanceRequestContractUnion$, SetAllowanceRequestAmount$inboundSchema, SetAllowanceRequestAmount$outboundSchema, SetAllowanceRequestAmount$, SetAllowanceRequestChain$inboundSchema, SetAllowanceRequestChain$outboundSchema, SetAllowanceRequestChain$, SetAllowanceRequest$inboundSchema, SetAllowanceRequest$outboundSchema, SetAllowanceRequest$;
|
|
41538
41882
|
var init_setallowancerequest = __esm(() => {
|
|
41539
41883
|
init_zod();
|
|
41540
41884
|
init_primitives();
|
|
@@ -41553,6 +41897,11 @@ var init_setallowancerequest = __esm(() => {
|
|
|
41553
41897
|
PendleRouter: "PendleRouter",
|
|
41554
41898
|
OdosRouter: "OdosRouter"
|
|
41555
41899
|
};
|
|
41900
|
+
SetAllowanceRequestChain = {
|
|
41901
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
41902
|
+
BaseMainnet: "base:mainnet",
|
|
41903
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
41904
|
+
};
|
|
41556
41905
|
SetAllowanceRequestToken$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
41557
41906
|
SetAllowanceRequestToken$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
|
|
41558
41907
|
((SetAllowanceRequestToken$) => {
|
|
@@ -41577,6 +41926,12 @@ var init_setallowancerequest = __esm(() => {
|
|
|
41577
41926
|
SetAllowanceRequestAmount$.inboundSchema = SetAllowanceRequestAmount$inboundSchema;
|
|
41578
41927
|
SetAllowanceRequestAmount$.outboundSchema = SetAllowanceRequestAmount$outboundSchema;
|
|
41579
41928
|
})(SetAllowanceRequestAmount$ ||= {});
|
|
41929
|
+
SetAllowanceRequestChain$inboundSchema = nativeEnumType(SetAllowanceRequestChain);
|
|
41930
|
+
SetAllowanceRequestChain$outboundSchema = SetAllowanceRequestChain$inboundSchema;
|
|
41931
|
+
((SetAllowanceRequestChain$) => {
|
|
41932
|
+
SetAllowanceRequestChain$.inboundSchema = SetAllowanceRequestChain$inboundSchema;
|
|
41933
|
+
SetAllowanceRequestChain$.outboundSchema = SetAllowanceRequestChain$outboundSchema;
|
|
41934
|
+
})(SetAllowanceRequestChain$ ||= {});
|
|
41580
41935
|
SetAllowanceRequest$inboundSchema = objectType({
|
|
41581
41936
|
action_type: literalType("SET_ALLOWANCE").default("SET_ALLOWANCE"),
|
|
41582
41937
|
token: unionType([TokenEnum$inboundSchema, stringType()]),
|
|
@@ -41585,7 +41940,7 @@ var init_setallowancerequest = __esm(() => {
|
|
|
41585
41940
|
stringType()
|
|
41586
41941
|
]),
|
|
41587
41942
|
amount: unionType([numberType(), stringType()]),
|
|
41588
|
-
chain:
|
|
41943
|
+
chain: SetAllowanceRequestChain$inboundSchema,
|
|
41589
41944
|
sender: stringType()
|
|
41590
41945
|
}).transform((v2) => {
|
|
41591
41946
|
return remap(v2, {
|
|
@@ -41600,7 +41955,7 @@ var init_setallowancerequest = __esm(() => {
|
|
|
41600
41955
|
stringType()
|
|
41601
41956
|
]),
|
|
41602
41957
|
amount: unionType([numberType(), stringType()]),
|
|
41603
|
-
chain:
|
|
41958
|
+
chain: SetAllowanceRequestChain$outboundSchema,
|
|
41604
41959
|
sender: stringType()
|
|
41605
41960
|
}).transform((v2) => {
|
|
41606
41961
|
return remap(v2, {
|
|
@@ -41614,7 +41969,7 @@ var init_setallowancerequest = __esm(() => {
|
|
|
41614
41969
|
});
|
|
41615
41970
|
|
|
41616
41971
|
// src/models/components/skybuyrequest.ts
|
|
41617
|
-
var SkyBuyRequestTokenIn, SkyBuyRequestTokenIn$inboundSchema, SkyBuyRequestTokenIn$outboundSchema, SkyBuyRequestTokenIn$, SkyBuyRequestAmount$inboundSchema, SkyBuyRequestAmount$outboundSchema, SkyBuyRequestAmount$, SkyBuyRequest$inboundSchema, SkyBuyRequest$outboundSchema, SkyBuyRequest$;
|
|
41972
|
+
var SkyBuyRequestTokenIn, SkyBuyRequestChain, SkyBuyRequestTokenIn$inboundSchema, SkyBuyRequestTokenIn$outboundSchema, SkyBuyRequestTokenIn$, SkyBuyRequestAmount$inboundSchema, SkyBuyRequestAmount$outboundSchema, SkyBuyRequestAmount$, SkyBuyRequestChain$inboundSchema, SkyBuyRequestChain$outboundSchema, SkyBuyRequestChain$, SkyBuyRequest$inboundSchema, SkyBuyRequest$outboundSchema, SkyBuyRequest$;
|
|
41618
41973
|
var init_skybuyrequest = __esm(() => {
|
|
41619
41974
|
init_zod();
|
|
41620
41975
|
init_primitives();
|
|
@@ -41622,6 +41977,9 @@ var init_skybuyrequest = __esm(() => {
|
|
|
41622
41977
|
Dai: "DAI",
|
|
41623
41978
|
Usdc: "USDC"
|
|
41624
41979
|
};
|
|
41980
|
+
SkyBuyRequestChain = {
|
|
41981
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
41982
|
+
};
|
|
41625
41983
|
SkyBuyRequestTokenIn$inboundSchema = nativeEnumType(SkyBuyRequestTokenIn);
|
|
41626
41984
|
SkyBuyRequestTokenIn$outboundSchema = SkyBuyRequestTokenIn$inboundSchema;
|
|
41627
41985
|
((SkyBuyRequestTokenIn$) => {
|
|
@@ -41634,11 +41992,17 @@ var init_skybuyrequest = __esm(() => {
|
|
|
41634
41992
|
SkyBuyRequestAmount$.inboundSchema = SkyBuyRequestAmount$inboundSchema;
|
|
41635
41993
|
SkyBuyRequestAmount$.outboundSchema = SkyBuyRequestAmount$outboundSchema;
|
|
41636
41994
|
})(SkyBuyRequestAmount$ ||= {});
|
|
41995
|
+
SkyBuyRequestChain$inboundSchema = nativeEnumType(SkyBuyRequestChain);
|
|
41996
|
+
SkyBuyRequestChain$outboundSchema = SkyBuyRequestChain$inboundSchema;
|
|
41997
|
+
((SkyBuyRequestChain$) => {
|
|
41998
|
+
SkyBuyRequestChain$.inboundSchema = SkyBuyRequestChain$inboundSchema;
|
|
41999
|
+
SkyBuyRequestChain$.outboundSchema = SkyBuyRequestChain$outboundSchema;
|
|
42000
|
+
})(SkyBuyRequestChain$ ||= {});
|
|
41637
42001
|
SkyBuyRequest$inboundSchema = objectType({
|
|
41638
42002
|
action_type: literalType("SKY_BUY").default("SKY_BUY"),
|
|
41639
42003
|
token_in: SkyBuyRequestTokenIn$inboundSchema,
|
|
41640
42004
|
amount: unionType([numberType(), stringType()]),
|
|
41641
|
-
chain:
|
|
42005
|
+
chain: SkyBuyRequestChain$inboundSchema,
|
|
41642
42006
|
sender: stringType()
|
|
41643
42007
|
}).transform((v2) => {
|
|
41644
42008
|
return remap(v2, {
|
|
@@ -41650,7 +42014,7 @@ var init_skybuyrequest = __esm(() => {
|
|
|
41650
42014
|
actionType: literalType("SKY_BUY").default("SKY_BUY"),
|
|
41651
42015
|
tokenIn: SkyBuyRequestTokenIn$outboundSchema,
|
|
41652
42016
|
amount: unionType([numberType(), stringType()]),
|
|
41653
|
-
chain:
|
|
42017
|
+
chain: SkyBuyRequestChain$outboundSchema,
|
|
41654
42018
|
sender: stringType()
|
|
41655
42019
|
}).transform((v2) => {
|
|
41656
42020
|
return remap(v2, {
|
|
@@ -41692,21 +42056,30 @@ var init_skycheckpositionresponse = __esm(() => {
|
|
|
41692
42056
|
});
|
|
41693
42057
|
|
|
41694
42058
|
// src/models/components/skydepositrequest.ts
|
|
41695
|
-
var SkyDepositRequestAmount$inboundSchema, SkyDepositRequestAmount$outboundSchema, SkyDepositRequestAmount$, SkyDepositRequest$inboundSchema, SkyDepositRequest$outboundSchema, SkyDepositRequest$;
|
|
42059
|
+
var SkyDepositRequestChain, SkyDepositRequestAmount$inboundSchema, SkyDepositRequestAmount$outboundSchema, SkyDepositRequestAmount$, SkyDepositRequestChain$inboundSchema, SkyDepositRequestChain$outboundSchema, SkyDepositRequestChain$, SkyDepositRequest$inboundSchema, SkyDepositRequest$outboundSchema, SkyDepositRequest$;
|
|
41696
42060
|
var init_skydepositrequest = __esm(() => {
|
|
41697
42061
|
init_zod();
|
|
41698
42062
|
init_primitives();
|
|
42063
|
+
SkyDepositRequestChain = {
|
|
42064
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
42065
|
+
};
|
|
41699
42066
|
SkyDepositRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
41700
42067
|
SkyDepositRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
41701
42068
|
((SkyDepositRequestAmount$) => {
|
|
41702
42069
|
SkyDepositRequestAmount$.inboundSchema = SkyDepositRequestAmount$inboundSchema;
|
|
41703
42070
|
SkyDepositRequestAmount$.outboundSchema = SkyDepositRequestAmount$outboundSchema;
|
|
41704
42071
|
})(SkyDepositRequestAmount$ ||= {});
|
|
42072
|
+
SkyDepositRequestChain$inboundSchema = nativeEnumType(SkyDepositRequestChain);
|
|
42073
|
+
SkyDepositRequestChain$outboundSchema = SkyDepositRequestChain$inboundSchema;
|
|
42074
|
+
((SkyDepositRequestChain$) => {
|
|
42075
|
+
SkyDepositRequestChain$.inboundSchema = SkyDepositRequestChain$inboundSchema;
|
|
42076
|
+
SkyDepositRequestChain$.outboundSchema = SkyDepositRequestChain$outboundSchema;
|
|
42077
|
+
})(SkyDepositRequestChain$ ||= {});
|
|
41705
42078
|
SkyDepositRequest$inboundSchema = objectType({
|
|
41706
42079
|
action_type: literalType("SKY_DEPOSIT").default("SKY_DEPOSIT"),
|
|
41707
42080
|
amount: unionType([numberType(), stringType()]),
|
|
41708
42081
|
receiver: nullableType(stringType()).optional(),
|
|
41709
|
-
chain:
|
|
42082
|
+
chain: SkyDepositRequestChain$inboundSchema.default("ethereum:mainnet"),
|
|
41710
42083
|
sender: stringType()
|
|
41711
42084
|
}).transform((v2) => {
|
|
41712
42085
|
return remap(v2, {
|
|
@@ -41717,7 +42090,7 @@ var init_skydepositrequest = __esm(() => {
|
|
|
41717
42090
|
actionType: literalType("SKY_DEPOSIT").default("SKY_DEPOSIT"),
|
|
41718
42091
|
amount: unionType([numberType(), stringType()]),
|
|
41719
42092
|
receiver: nullableType(stringType()).optional(),
|
|
41720
|
-
chain:
|
|
42093
|
+
chain: SkyDepositRequestChain$outboundSchema.default("ethereum:mainnet"),
|
|
41721
42094
|
sender: stringType()
|
|
41722
42095
|
}).transform((v2) => {
|
|
41723
42096
|
return remap(v2, {
|
|
@@ -41731,7 +42104,7 @@ var init_skydepositrequest = __esm(() => {
|
|
|
41731
42104
|
});
|
|
41732
42105
|
|
|
41733
42106
|
// src/models/components/skysellrequest.ts
|
|
41734
|
-
var SkySellRequestTokenOut, SkySellRequestTokenOut$inboundSchema, SkySellRequestTokenOut$outboundSchema, SkySellRequestTokenOut$, SkySellRequestAmount$inboundSchema, SkySellRequestAmount$outboundSchema, SkySellRequestAmount$, SkySellRequest$inboundSchema, SkySellRequest$outboundSchema, SkySellRequest$;
|
|
42107
|
+
var SkySellRequestTokenOut, SkySellRequestChain, SkySellRequestTokenOut$inboundSchema, SkySellRequestTokenOut$outboundSchema, SkySellRequestTokenOut$, SkySellRequestAmount$inboundSchema, SkySellRequestAmount$outboundSchema, SkySellRequestAmount$, SkySellRequestChain$inboundSchema, SkySellRequestChain$outboundSchema, SkySellRequestChain$, SkySellRequest$inboundSchema, SkySellRequest$outboundSchema, SkySellRequest$;
|
|
41735
42108
|
var init_skysellrequest = __esm(() => {
|
|
41736
42109
|
init_zod();
|
|
41737
42110
|
init_primitives();
|
|
@@ -41739,6 +42112,9 @@ var init_skysellrequest = __esm(() => {
|
|
|
41739
42112
|
Dai: "DAI",
|
|
41740
42113
|
Usdc: "USDC"
|
|
41741
42114
|
};
|
|
42115
|
+
SkySellRequestChain = {
|
|
42116
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
42117
|
+
};
|
|
41742
42118
|
SkySellRequestTokenOut$inboundSchema = nativeEnumType(SkySellRequestTokenOut);
|
|
41743
42119
|
SkySellRequestTokenOut$outboundSchema = SkySellRequestTokenOut$inboundSchema;
|
|
41744
42120
|
((SkySellRequestTokenOut$) => {
|
|
@@ -41751,11 +42127,17 @@ var init_skysellrequest = __esm(() => {
|
|
|
41751
42127
|
SkySellRequestAmount$.inboundSchema = SkySellRequestAmount$inboundSchema;
|
|
41752
42128
|
SkySellRequestAmount$.outboundSchema = SkySellRequestAmount$outboundSchema;
|
|
41753
42129
|
})(SkySellRequestAmount$ ||= {});
|
|
42130
|
+
SkySellRequestChain$inboundSchema = nativeEnumType(SkySellRequestChain);
|
|
42131
|
+
SkySellRequestChain$outboundSchema = SkySellRequestChain$inboundSchema;
|
|
42132
|
+
((SkySellRequestChain$) => {
|
|
42133
|
+
SkySellRequestChain$.inboundSchema = SkySellRequestChain$inboundSchema;
|
|
42134
|
+
SkySellRequestChain$.outboundSchema = SkySellRequestChain$outboundSchema;
|
|
42135
|
+
})(SkySellRequestChain$ ||= {});
|
|
41754
42136
|
SkySellRequest$inboundSchema = objectType({
|
|
41755
42137
|
action_type: literalType("SKY_SELL").default("SKY_SELL"),
|
|
41756
42138
|
token_out: SkySellRequestTokenOut$inboundSchema,
|
|
41757
42139
|
amount: unionType([numberType(), stringType()]),
|
|
41758
|
-
chain:
|
|
42140
|
+
chain: SkySellRequestChain$inboundSchema.default("ethereum:mainnet"),
|
|
41759
42141
|
sender: stringType()
|
|
41760
42142
|
}).transform((v2) => {
|
|
41761
42143
|
return remap(v2, {
|
|
@@ -41767,7 +42149,7 @@ var init_skysellrequest = __esm(() => {
|
|
|
41767
42149
|
actionType: literalType("SKY_SELL").default("SKY_SELL"),
|
|
41768
42150
|
tokenOut: SkySellRequestTokenOut$outboundSchema,
|
|
41769
42151
|
amount: unionType([numberType(), stringType()]),
|
|
41770
|
-
chain:
|
|
42152
|
+
chain: SkySellRequestChain$outboundSchema.default("ethereum:mainnet"),
|
|
41771
42153
|
sender: stringType()
|
|
41772
42154
|
}).transform((v2) => {
|
|
41773
42155
|
return remap(v2, {
|
|
@@ -41782,15 +42164,24 @@ var init_skysellrequest = __esm(() => {
|
|
|
41782
42164
|
});
|
|
41783
42165
|
|
|
41784
42166
|
// src/models/components/skywithdrawrequest.ts
|
|
41785
|
-
var SkyWithdrawRequest$inboundSchema, SkyWithdrawRequest$outboundSchema, SkyWithdrawRequest$;
|
|
42167
|
+
var SkyWithdrawRequestChain, SkyWithdrawRequestChain$inboundSchema, SkyWithdrawRequestChain$outboundSchema, SkyWithdrawRequestChain$, SkyWithdrawRequest$inboundSchema, SkyWithdrawRequest$outboundSchema, SkyWithdrawRequest$;
|
|
41786
42168
|
var init_skywithdrawrequest = __esm(() => {
|
|
41787
42169
|
init_zod();
|
|
41788
42170
|
init_primitives();
|
|
42171
|
+
SkyWithdrawRequestChain = {
|
|
42172
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
42173
|
+
};
|
|
42174
|
+
SkyWithdrawRequestChain$inboundSchema = nativeEnumType(SkyWithdrawRequestChain);
|
|
42175
|
+
SkyWithdrawRequestChain$outboundSchema = SkyWithdrawRequestChain$inboundSchema;
|
|
42176
|
+
((SkyWithdrawRequestChain$) => {
|
|
42177
|
+
SkyWithdrawRequestChain$.inboundSchema = SkyWithdrawRequestChain$inboundSchema;
|
|
42178
|
+
SkyWithdrawRequestChain$.outboundSchema = SkyWithdrawRequestChain$outboundSchema;
|
|
42179
|
+
})(SkyWithdrawRequestChain$ ||= {});
|
|
41789
42180
|
SkyWithdrawRequest$inboundSchema = objectType({
|
|
41790
42181
|
action_type: literalType("SKY_WITHDRAW").default("SKY_WITHDRAW"),
|
|
41791
42182
|
amount: anyType().optional(),
|
|
41792
42183
|
receiver: nullableType(stringType()).optional(),
|
|
41793
|
-
chain:
|
|
42184
|
+
chain: SkyWithdrawRequestChain$inboundSchema.default("ethereum:mainnet"),
|
|
41794
42185
|
sender: stringType()
|
|
41795
42186
|
}).transform((v2) => {
|
|
41796
42187
|
return remap(v2, {
|
|
@@ -41801,7 +42192,7 @@ var init_skywithdrawrequest = __esm(() => {
|
|
|
41801
42192
|
actionType: literalType("SKY_WITHDRAW").default("SKY_WITHDRAW"),
|
|
41802
42193
|
amount: anyType().optional(),
|
|
41803
42194
|
receiver: nullableType(stringType()).optional(),
|
|
41804
|
-
chain:
|
|
42195
|
+
chain: SkyWithdrawRequestChain$outboundSchema.default("ethereum:mainnet"),
|
|
41805
42196
|
sender: stringType()
|
|
41806
42197
|
}).transform((v2) => {
|
|
41807
42198
|
return remap(v2, {
|
|
@@ -42011,12 +42402,17 @@ var init_txresponse = __esm(() => {
|
|
|
42011
42402
|
});
|
|
42012
42403
|
|
|
42013
42404
|
// src/models/components/uniswapbuyexactlyrequest.ts
|
|
42014
|
-
var UniswapBuyExactlyRequestTokenIn$inboundSchema, UniswapBuyExactlyRequestTokenIn$outboundSchema, UniswapBuyExactlyRequestTokenIn$, UniswapBuyExactlyRequestTokenOut$inboundSchema, UniswapBuyExactlyRequestTokenOut$outboundSchema, UniswapBuyExactlyRequestTokenOut$, UniswapBuyExactlyRequestAmount$inboundSchema, UniswapBuyExactlyRequestAmount$outboundSchema, UniswapBuyExactlyRequestAmount$, UniswapBuyExactlyRequest$inboundSchema, UniswapBuyExactlyRequest$outboundSchema, UniswapBuyExactlyRequest$;
|
|
42405
|
+
var UniswapBuyExactlyRequestChain, UniswapBuyExactlyRequestTokenIn$inboundSchema, UniswapBuyExactlyRequestTokenIn$outboundSchema, UniswapBuyExactlyRequestTokenIn$, UniswapBuyExactlyRequestTokenOut$inboundSchema, UniswapBuyExactlyRequestTokenOut$outboundSchema, UniswapBuyExactlyRequestTokenOut$, UniswapBuyExactlyRequestAmount$inboundSchema, UniswapBuyExactlyRequestAmount$outboundSchema, UniswapBuyExactlyRequestAmount$, UniswapBuyExactlyRequestChain$inboundSchema, UniswapBuyExactlyRequestChain$outboundSchema, UniswapBuyExactlyRequestChain$, UniswapBuyExactlyRequest$inboundSchema, UniswapBuyExactlyRequest$outboundSchema, UniswapBuyExactlyRequest$;
|
|
42015
42406
|
var init_uniswapbuyexactlyrequest = __esm(() => {
|
|
42016
42407
|
init_zod();
|
|
42017
42408
|
init_primitives();
|
|
42018
42409
|
init_feeenum();
|
|
42019
42410
|
init_tokenenum();
|
|
42411
|
+
UniswapBuyExactlyRequestChain = {
|
|
42412
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
42413
|
+
BaseMainnet: "base:mainnet",
|
|
42414
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
42415
|
+
};
|
|
42020
42416
|
UniswapBuyExactlyRequestTokenIn$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
42021
42417
|
UniswapBuyExactlyRequestTokenIn$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
|
|
42022
42418
|
((UniswapBuyExactlyRequestTokenIn$) => {
|
|
@@ -42035,6 +42431,12 @@ var init_uniswapbuyexactlyrequest = __esm(() => {
|
|
|
42035
42431
|
UniswapBuyExactlyRequestAmount$.inboundSchema = UniswapBuyExactlyRequestAmount$inboundSchema;
|
|
42036
42432
|
UniswapBuyExactlyRequestAmount$.outboundSchema = UniswapBuyExactlyRequestAmount$outboundSchema;
|
|
42037
42433
|
})(UniswapBuyExactlyRequestAmount$ ||= {});
|
|
42434
|
+
UniswapBuyExactlyRequestChain$inboundSchema = nativeEnumType(UniswapBuyExactlyRequestChain);
|
|
42435
|
+
UniswapBuyExactlyRequestChain$outboundSchema = UniswapBuyExactlyRequestChain$inboundSchema;
|
|
42436
|
+
((UniswapBuyExactlyRequestChain$) => {
|
|
42437
|
+
UniswapBuyExactlyRequestChain$.inboundSchema = UniswapBuyExactlyRequestChain$inboundSchema;
|
|
42438
|
+
UniswapBuyExactlyRequestChain$.outboundSchema = UniswapBuyExactlyRequestChain$outboundSchema;
|
|
42439
|
+
})(UniswapBuyExactlyRequestChain$ ||= {});
|
|
42038
42440
|
UniswapBuyExactlyRequest$inboundSchema = objectType({
|
|
42039
42441
|
action_type: literalType("UNISWAP_BUY_EXACTLY").default("UNISWAP_BUY_EXACTLY"),
|
|
42040
42442
|
token_in: unionType([TokenEnum$inboundSchema, stringType()]),
|
|
@@ -42043,7 +42445,7 @@ var init_uniswapbuyexactlyrequest = __esm(() => {
|
|
|
42043
42445
|
amount: unionType([numberType(), stringType()]),
|
|
42044
42446
|
max_slippage_percent: numberType(),
|
|
42045
42447
|
wrap_eth: booleanType().default(false),
|
|
42046
|
-
chain:
|
|
42448
|
+
chain: UniswapBuyExactlyRequestChain$inboundSchema,
|
|
42047
42449
|
sender: stringType()
|
|
42048
42450
|
}).transform((v2) => {
|
|
42049
42451
|
return remap(v2, {
|
|
@@ -42062,7 +42464,7 @@ var init_uniswapbuyexactlyrequest = __esm(() => {
|
|
|
42062
42464
|
amount: unionType([numberType(), stringType()]),
|
|
42063
42465
|
maxSlippagePercent: numberType(),
|
|
42064
42466
|
wrapEth: booleanType().default(false),
|
|
42065
|
-
chain:
|
|
42467
|
+
chain: UniswapBuyExactlyRequestChain$outboundSchema,
|
|
42066
42468
|
sender: stringType()
|
|
42067
42469
|
}).transform((v2) => {
|
|
42068
42470
|
return remap(v2, {
|
|
@@ -42134,10 +42536,15 @@ var init_uniswapcheckinrangeresponse = __esm(() => {
|
|
|
42134
42536
|
});
|
|
42135
42537
|
|
|
42136
42538
|
// src/models/components/uniswapincreaseliquidityprovisionrequest.ts
|
|
42137
|
-
var UniswapIncreaseLiquidityProvisionRequestAmount0Desired$inboundSchema, UniswapIncreaseLiquidityProvisionRequestAmount0Desired$outboundSchema, UniswapIncreaseLiquidityProvisionRequestAmount0Desired$, UniswapIncreaseLiquidityProvisionRequestAmount1Desired$inboundSchema, UniswapIncreaseLiquidityProvisionRequestAmount1Desired$outboundSchema, UniswapIncreaseLiquidityProvisionRequestAmount1Desired$, UniswapIncreaseLiquidityProvisionRequestAmount0Min$inboundSchema, UniswapIncreaseLiquidityProvisionRequestAmount0Min$outboundSchema, UniswapIncreaseLiquidityProvisionRequestAmount0Min$, UniswapIncreaseLiquidityProvisionRequestAmount1Min$inboundSchema, UniswapIncreaseLiquidityProvisionRequestAmount1Min$outboundSchema, UniswapIncreaseLiquidityProvisionRequestAmount1Min$, UniswapIncreaseLiquidityProvisionRequest$inboundSchema, UniswapIncreaseLiquidityProvisionRequest$outboundSchema, UniswapIncreaseLiquidityProvisionRequest$;
|
|
42539
|
+
var UniswapIncreaseLiquidityProvisionRequestChain, UniswapIncreaseLiquidityProvisionRequestAmount0Desired$inboundSchema, UniswapIncreaseLiquidityProvisionRequestAmount0Desired$outboundSchema, UniswapIncreaseLiquidityProvisionRequestAmount0Desired$, UniswapIncreaseLiquidityProvisionRequestAmount1Desired$inboundSchema, UniswapIncreaseLiquidityProvisionRequestAmount1Desired$outboundSchema, UniswapIncreaseLiquidityProvisionRequestAmount1Desired$, UniswapIncreaseLiquidityProvisionRequestAmount0Min$inboundSchema, UniswapIncreaseLiquidityProvisionRequestAmount0Min$outboundSchema, UniswapIncreaseLiquidityProvisionRequestAmount0Min$, UniswapIncreaseLiquidityProvisionRequestAmount1Min$inboundSchema, UniswapIncreaseLiquidityProvisionRequestAmount1Min$outboundSchema, UniswapIncreaseLiquidityProvisionRequestAmount1Min$, UniswapIncreaseLiquidityProvisionRequestChain$inboundSchema, UniswapIncreaseLiquidityProvisionRequestChain$outboundSchema, UniswapIncreaseLiquidityProvisionRequestChain$, UniswapIncreaseLiquidityProvisionRequest$inboundSchema, UniswapIncreaseLiquidityProvisionRequest$outboundSchema, UniswapIncreaseLiquidityProvisionRequest$;
|
|
42138
42540
|
var init_uniswapincreaseliquidityprovisionrequest = __esm(() => {
|
|
42139
42541
|
init_zod();
|
|
42140
42542
|
init_primitives();
|
|
42543
|
+
UniswapIncreaseLiquidityProvisionRequestChain = {
|
|
42544
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
42545
|
+
BaseMainnet: "base:mainnet",
|
|
42546
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
42547
|
+
};
|
|
42141
42548
|
UniswapIncreaseLiquidityProvisionRequestAmount0Desired$inboundSchema = unionType([numberType(), stringType()]);
|
|
42142
42549
|
UniswapIncreaseLiquidityProvisionRequestAmount0Desired$outboundSchema = unionType([numberType(), stringType()]);
|
|
42143
42550
|
((UniswapIncreaseLiquidityProvisionRequestAmount0Desired$) => {
|
|
@@ -42162,6 +42569,12 @@ var init_uniswapincreaseliquidityprovisionrequest = __esm(() => {
|
|
|
42162
42569
|
UniswapIncreaseLiquidityProvisionRequestAmount1Min$.inboundSchema = UniswapIncreaseLiquidityProvisionRequestAmount1Min$inboundSchema;
|
|
42163
42570
|
UniswapIncreaseLiquidityProvisionRequestAmount1Min$.outboundSchema = UniswapIncreaseLiquidityProvisionRequestAmount1Min$outboundSchema;
|
|
42164
42571
|
})(UniswapIncreaseLiquidityProvisionRequestAmount1Min$ ||= {});
|
|
42572
|
+
UniswapIncreaseLiquidityProvisionRequestChain$inboundSchema = nativeEnumType(UniswapIncreaseLiquidityProvisionRequestChain);
|
|
42573
|
+
UniswapIncreaseLiquidityProvisionRequestChain$outboundSchema = UniswapIncreaseLiquidityProvisionRequestChain$inboundSchema;
|
|
42574
|
+
((UniswapIncreaseLiquidityProvisionRequestChain$) => {
|
|
42575
|
+
UniswapIncreaseLiquidityProvisionRequestChain$.inboundSchema = UniswapIncreaseLiquidityProvisionRequestChain$inboundSchema;
|
|
42576
|
+
UniswapIncreaseLiquidityProvisionRequestChain$.outboundSchema = UniswapIncreaseLiquidityProvisionRequestChain$outboundSchema;
|
|
42577
|
+
})(UniswapIncreaseLiquidityProvisionRequestChain$ ||= {});
|
|
42165
42578
|
UniswapIncreaseLiquidityProvisionRequest$inboundSchema = objectType({
|
|
42166
42579
|
action_type: literalType("UNISWAP_ADD_LIQUIDITY").default("UNISWAP_ADD_LIQUIDITY"),
|
|
42167
42580
|
token_id: numberType().int(),
|
|
@@ -42169,7 +42582,7 @@ var init_uniswapincreaseliquidityprovisionrequest = __esm(() => {
|
|
|
42169
42582
|
amount1_desired: unionType([numberType(), stringType()]),
|
|
42170
42583
|
amount0_min: unionType([numberType(), stringType()]),
|
|
42171
42584
|
amount1_min: unionType([numberType(), stringType()]),
|
|
42172
|
-
chain:
|
|
42585
|
+
chain: UniswapIncreaseLiquidityProvisionRequestChain$inboundSchema,
|
|
42173
42586
|
sender: stringType()
|
|
42174
42587
|
}).transform((v2) => {
|
|
42175
42588
|
return remap(v2, {
|
|
@@ -42188,7 +42601,7 @@ var init_uniswapincreaseliquidityprovisionrequest = __esm(() => {
|
|
|
42188
42601
|
amount1Desired: unionType([numberType(), stringType()]),
|
|
42189
42602
|
amount0Min: unionType([numberType(), stringType()]),
|
|
42190
42603
|
amount1Min: unionType([numberType(), stringType()]),
|
|
42191
|
-
chain:
|
|
42604
|
+
chain: UniswapIncreaseLiquidityProvisionRequestChain$outboundSchema,
|
|
42192
42605
|
sender: stringType()
|
|
42193
42606
|
}).transform((v2) => {
|
|
42194
42607
|
return remap(v2, {
|
|
@@ -42285,12 +42698,17 @@ var init_uniswaplppositionsinforesponse = __esm(() => {
|
|
|
42285
42698
|
});
|
|
42286
42699
|
|
|
42287
42700
|
// src/models/components/uniswapmintliquidityprovisionrequest.ts
|
|
42288
|
-
var UniswapMintLiquidityProvisionRequestAmount0Desired$inboundSchema, UniswapMintLiquidityProvisionRequestAmount0Desired$outboundSchema, UniswapMintLiquidityProvisionRequestAmount0Desired$, UniswapMintLiquidityProvisionRequestAmount1Desired$inboundSchema, UniswapMintLiquidityProvisionRequestAmount1Desired$outboundSchema, UniswapMintLiquidityProvisionRequestAmount1Desired$, UniswapMintLiquidityProvisionRequestAmount0Min$inboundSchema, UniswapMintLiquidityProvisionRequestAmount0Min$outboundSchema, UniswapMintLiquidityProvisionRequestAmount0Min$, UniswapMintLiquidityProvisionRequestAmount1Min$inboundSchema, UniswapMintLiquidityProvisionRequestAmount1Min$outboundSchema, UniswapMintLiquidityProvisionRequestAmount1Min$, UniswapMintLiquidityProvisionRequest$inboundSchema, UniswapMintLiquidityProvisionRequest$outboundSchema, UniswapMintLiquidityProvisionRequest$;
|
|
42701
|
+
var UniswapMintLiquidityProvisionRequestChain, UniswapMintLiquidityProvisionRequestAmount0Desired$inboundSchema, UniswapMintLiquidityProvisionRequestAmount0Desired$outboundSchema, UniswapMintLiquidityProvisionRequestAmount0Desired$, UniswapMintLiquidityProvisionRequestAmount1Desired$inboundSchema, UniswapMintLiquidityProvisionRequestAmount1Desired$outboundSchema, UniswapMintLiquidityProvisionRequestAmount1Desired$, UniswapMintLiquidityProvisionRequestAmount0Min$inboundSchema, UniswapMintLiquidityProvisionRequestAmount0Min$outboundSchema, UniswapMintLiquidityProvisionRequestAmount0Min$, UniswapMintLiquidityProvisionRequestAmount1Min$inboundSchema, UniswapMintLiquidityProvisionRequestAmount1Min$outboundSchema, UniswapMintLiquidityProvisionRequestAmount1Min$, UniswapMintLiquidityProvisionRequestChain$inboundSchema, UniswapMintLiquidityProvisionRequestChain$outboundSchema, UniswapMintLiquidityProvisionRequestChain$, UniswapMintLiquidityProvisionRequest$inboundSchema, UniswapMintLiquidityProvisionRequest$outboundSchema, UniswapMintLiquidityProvisionRequest$;
|
|
42289
42702
|
var init_uniswapmintliquidityprovisionrequest = __esm(() => {
|
|
42290
42703
|
init_zod();
|
|
42291
42704
|
init_primitives();
|
|
42292
42705
|
init_feeenum();
|
|
42293
42706
|
init_tokenenum();
|
|
42707
|
+
UniswapMintLiquidityProvisionRequestChain = {
|
|
42708
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
42709
|
+
BaseMainnet: "base:mainnet",
|
|
42710
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
42711
|
+
};
|
|
42294
42712
|
UniswapMintLiquidityProvisionRequestAmount0Desired$inboundSchema = unionType([numberType(), stringType()]);
|
|
42295
42713
|
UniswapMintLiquidityProvisionRequestAmount0Desired$outboundSchema = unionType([numberType(), stringType()]);
|
|
42296
42714
|
((UniswapMintLiquidityProvisionRequestAmount0Desired$) => {
|
|
@@ -42315,6 +42733,12 @@ var init_uniswapmintliquidityprovisionrequest = __esm(() => {
|
|
|
42315
42733
|
UniswapMintLiquidityProvisionRequestAmount1Min$.inboundSchema = UniswapMintLiquidityProvisionRequestAmount1Min$inboundSchema;
|
|
42316
42734
|
UniswapMintLiquidityProvisionRequestAmount1Min$.outboundSchema = UniswapMintLiquidityProvisionRequestAmount1Min$outboundSchema;
|
|
42317
42735
|
})(UniswapMintLiquidityProvisionRequestAmount1Min$ ||= {});
|
|
42736
|
+
UniswapMintLiquidityProvisionRequestChain$inboundSchema = nativeEnumType(UniswapMintLiquidityProvisionRequestChain);
|
|
42737
|
+
UniswapMintLiquidityProvisionRequestChain$outboundSchema = UniswapMintLiquidityProvisionRequestChain$inboundSchema;
|
|
42738
|
+
((UniswapMintLiquidityProvisionRequestChain$) => {
|
|
42739
|
+
UniswapMintLiquidityProvisionRequestChain$.inboundSchema = UniswapMintLiquidityProvisionRequestChain$inboundSchema;
|
|
42740
|
+
UniswapMintLiquidityProvisionRequestChain$.outboundSchema = UniswapMintLiquidityProvisionRequestChain$outboundSchema;
|
|
42741
|
+
})(UniswapMintLiquidityProvisionRequestChain$ ||= {});
|
|
42318
42742
|
UniswapMintLiquidityProvisionRequest$inboundSchema = objectType({
|
|
42319
42743
|
action_type: literalType("UNISWAP_MINT_LIQUIDITY_PROVISION").default("UNISWAP_MINT_LIQUIDITY_PROVISION"),
|
|
42320
42744
|
token0: TokenEnum$inboundSchema,
|
|
@@ -42327,7 +42751,7 @@ var init_uniswapmintliquidityprovisionrequest = __esm(() => {
|
|
|
42327
42751
|
amount0_min: unionType([numberType(), stringType()]),
|
|
42328
42752
|
amount1_min: unionType([numberType(), stringType()]),
|
|
42329
42753
|
recipient: nullableType(stringType()).optional(),
|
|
42330
|
-
chain:
|
|
42754
|
+
chain: UniswapMintLiquidityProvisionRequestChain$inboundSchema,
|
|
42331
42755
|
sender: stringType()
|
|
42332
42756
|
}).transform((v2) => {
|
|
42333
42757
|
return remap(v2, {
|
|
@@ -42352,7 +42776,7 @@ var init_uniswapmintliquidityprovisionrequest = __esm(() => {
|
|
|
42352
42776
|
amount0Min: unionType([numberType(), stringType()]),
|
|
42353
42777
|
amount1Min: unionType([numberType(), stringType()]),
|
|
42354
42778
|
recipient: nullableType(stringType()).optional(),
|
|
42355
|
-
chain:
|
|
42779
|
+
chain: UniswapMintLiquidityProvisionRequestChain$outboundSchema,
|
|
42356
42780
|
sender: stringType()
|
|
42357
42781
|
}).transform((v2) => {
|
|
42358
42782
|
return remap(v2, {
|
|
@@ -42406,18 +42830,29 @@ var init_uniswappoolpriceresponse = __esm(() => {
|
|
|
42406
42830
|
});
|
|
42407
42831
|
|
|
42408
42832
|
// src/models/components/uniswapsellexactlyrequest.ts
|
|
42409
|
-
var UniswapSellExactlyRequestAmount$inboundSchema, UniswapSellExactlyRequestAmount$outboundSchema, UniswapSellExactlyRequestAmount$, UniswapSellExactlyRequest$inboundSchema, UniswapSellExactlyRequest$outboundSchema, UniswapSellExactlyRequest$;
|
|
42833
|
+
var UniswapSellExactlyRequestChain, UniswapSellExactlyRequestAmount$inboundSchema, UniswapSellExactlyRequestAmount$outboundSchema, UniswapSellExactlyRequestAmount$, UniswapSellExactlyRequestChain$inboundSchema, UniswapSellExactlyRequestChain$outboundSchema, UniswapSellExactlyRequestChain$, UniswapSellExactlyRequest$inboundSchema, UniswapSellExactlyRequest$outboundSchema, UniswapSellExactlyRequest$;
|
|
42410
42834
|
var init_uniswapsellexactlyrequest = __esm(() => {
|
|
42411
42835
|
init_zod();
|
|
42412
42836
|
init_primitives();
|
|
42413
42837
|
init_feeenum();
|
|
42414
42838
|
init_tokenenum();
|
|
42839
|
+
UniswapSellExactlyRequestChain = {
|
|
42840
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
42841
|
+
BaseMainnet: "base:mainnet",
|
|
42842
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
42843
|
+
};
|
|
42415
42844
|
UniswapSellExactlyRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
42416
42845
|
UniswapSellExactlyRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
42417
42846
|
((UniswapSellExactlyRequestAmount$) => {
|
|
42418
42847
|
UniswapSellExactlyRequestAmount$.inboundSchema = UniswapSellExactlyRequestAmount$inboundSchema;
|
|
42419
42848
|
UniswapSellExactlyRequestAmount$.outboundSchema = UniswapSellExactlyRequestAmount$outboundSchema;
|
|
42420
42849
|
})(UniswapSellExactlyRequestAmount$ ||= {});
|
|
42850
|
+
UniswapSellExactlyRequestChain$inboundSchema = nativeEnumType(UniswapSellExactlyRequestChain);
|
|
42851
|
+
UniswapSellExactlyRequestChain$outboundSchema = UniswapSellExactlyRequestChain$inboundSchema;
|
|
42852
|
+
((UniswapSellExactlyRequestChain$) => {
|
|
42853
|
+
UniswapSellExactlyRequestChain$.inboundSchema = UniswapSellExactlyRequestChain$inboundSchema;
|
|
42854
|
+
UniswapSellExactlyRequestChain$.outboundSchema = UniswapSellExactlyRequestChain$outboundSchema;
|
|
42855
|
+
})(UniswapSellExactlyRequestChain$ ||= {});
|
|
42421
42856
|
UniswapSellExactlyRequest$inboundSchema = objectType({
|
|
42422
42857
|
action_type: literalType("UNISWAP_SELL_EXACTLY").default("UNISWAP_SELL_EXACTLY"),
|
|
42423
42858
|
token_in: TokenEnum$inboundSchema,
|
|
@@ -42426,7 +42861,7 @@ var init_uniswapsellexactlyrequest = __esm(() => {
|
|
|
42426
42861
|
amount: unionType([numberType(), stringType()]),
|
|
42427
42862
|
max_slippage_percent: numberType(),
|
|
42428
42863
|
wrap_eth: booleanType().default(false),
|
|
42429
|
-
chain:
|
|
42864
|
+
chain: UniswapSellExactlyRequestChain$inboundSchema,
|
|
42430
42865
|
sender: stringType()
|
|
42431
42866
|
}).transform((v2) => {
|
|
42432
42867
|
return remap(v2, {
|
|
@@ -42445,7 +42880,7 @@ var init_uniswapsellexactlyrequest = __esm(() => {
|
|
|
42445
42880
|
amount: unionType([numberType(), stringType()]),
|
|
42446
42881
|
maxSlippagePercent: numberType(),
|
|
42447
42882
|
wrapEth: booleanType().default(false),
|
|
42448
|
-
chain:
|
|
42883
|
+
chain: UniswapSellExactlyRequestChain$outboundSchema,
|
|
42449
42884
|
sender: stringType()
|
|
42450
42885
|
}).transform((v2) => {
|
|
42451
42886
|
return remap(v2, {
|
|
@@ -42492,21 +42927,32 @@ var init_uniswapsellquoteinforesponse = __esm(() => {
|
|
|
42492
42927
|
});
|
|
42493
42928
|
|
|
42494
42929
|
// src/models/components/uniswapwithdrawliquidityprovisionrequest.ts
|
|
42495
|
-
var UniswapWithdrawLiquidityProvisionRequestPercentageForWithdrawal$inboundSchema, UniswapWithdrawLiquidityProvisionRequestPercentageForWithdrawal$outboundSchema, UniswapWithdrawLiquidityProvisionRequestPercentageForWithdrawal$, UniswapWithdrawLiquidityProvisionRequest$inboundSchema, UniswapWithdrawLiquidityProvisionRequest$outboundSchema, UniswapWithdrawLiquidityProvisionRequest$;
|
|
42930
|
+
var UniswapWithdrawLiquidityProvisionRequestChain, UniswapWithdrawLiquidityProvisionRequestPercentageForWithdrawal$inboundSchema, UniswapWithdrawLiquidityProvisionRequestPercentageForWithdrawal$outboundSchema, UniswapWithdrawLiquidityProvisionRequestPercentageForWithdrawal$, UniswapWithdrawLiquidityProvisionRequestChain$inboundSchema, UniswapWithdrawLiquidityProvisionRequestChain$outboundSchema, UniswapWithdrawLiquidityProvisionRequestChain$, UniswapWithdrawLiquidityProvisionRequest$inboundSchema, UniswapWithdrawLiquidityProvisionRequest$outboundSchema, UniswapWithdrawLiquidityProvisionRequest$;
|
|
42496
42931
|
var init_uniswapwithdrawliquidityprovisionrequest = __esm(() => {
|
|
42497
42932
|
init_zod();
|
|
42498
42933
|
init_primitives();
|
|
42934
|
+
UniswapWithdrawLiquidityProvisionRequestChain = {
|
|
42935
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
42936
|
+
BaseMainnet: "base:mainnet",
|
|
42937
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
42938
|
+
};
|
|
42499
42939
|
UniswapWithdrawLiquidityProvisionRequestPercentageForWithdrawal$inboundSchema = unionType([numberType(), stringType()]);
|
|
42500
42940
|
UniswapWithdrawLiquidityProvisionRequestPercentageForWithdrawal$outboundSchema = unionType([numberType(), stringType()]);
|
|
42501
42941
|
((UniswapWithdrawLiquidityProvisionRequestPercentageForWithdrawal$) => {
|
|
42502
42942
|
UniswapWithdrawLiquidityProvisionRequestPercentageForWithdrawal$.inboundSchema = UniswapWithdrawLiquidityProvisionRequestPercentageForWithdrawal$inboundSchema;
|
|
42503
42943
|
UniswapWithdrawLiquidityProvisionRequestPercentageForWithdrawal$.outboundSchema = UniswapWithdrawLiquidityProvisionRequestPercentageForWithdrawal$outboundSchema;
|
|
42504
42944
|
})(UniswapWithdrawLiquidityProvisionRequestPercentageForWithdrawal$ ||= {});
|
|
42945
|
+
UniswapWithdrawLiquidityProvisionRequestChain$inboundSchema = nativeEnumType(UniswapWithdrawLiquidityProvisionRequestChain);
|
|
42946
|
+
UniswapWithdrawLiquidityProvisionRequestChain$outboundSchema = UniswapWithdrawLiquidityProvisionRequestChain$inboundSchema;
|
|
42947
|
+
((UniswapWithdrawLiquidityProvisionRequestChain$) => {
|
|
42948
|
+
UniswapWithdrawLiquidityProvisionRequestChain$.inboundSchema = UniswapWithdrawLiquidityProvisionRequestChain$inboundSchema;
|
|
42949
|
+
UniswapWithdrawLiquidityProvisionRequestChain$.outboundSchema = UniswapWithdrawLiquidityProvisionRequestChain$outboundSchema;
|
|
42950
|
+
})(UniswapWithdrawLiquidityProvisionRequestChain$ ||= {});
|
|
42505
42951
|
UniswapWithdrawLiquidityProvisionRequest$inboundSchema = objectType({
|
|
42506
42952
|
action_type: literalType("UNISWAP_WITHDRAW_LIQUIDITY_PROVISION").default("UNISWAP_WITHDRAW_LIQUIDITY_PROVISION"),
|
|
42507
42953
|
token_id: numberType().int(),
|
|
42508
42954
|
percentage_for_withdrawal: unionType([numberType(), stringType()]),
|
|
42509
|
-
chain:
|
|
42955
|
+
chain: UniswapWithdrawLiquidityProvisionRequestChain$inboundSchema,
|
|
42510
42956
|
sender: stringType()
|
|
42511
42957
|
}).transform((v2) => {
|
|
42512
42958
|
return remap(v2, {
|
|
@@ -42519,7 +42965,7 @@ var init_uniswapwithdrawliquidityprovisionrequest = __esm(() => {
|
|
|
42519
42965
|
actionType: literalType("UNISWAP_WITHDRAW_LIQUIDITY_PROVISION").default("UNISWAP_WITHDRAW_LIQUIDITY_PROVISION"),
|
|
42520
42966
|
tokenId: numberType().int(),
|
|
42521
42967
|
percentageForWithdrawal: unionType([numberType(), stringType()]),
|
|
42522
|
-
chain:
|
|
42968
|
+
chain: UniswapWithdrawLiquidityProvisionRequestChain$outboundSchema,
|
|
42523
42969
|
sender: stringType()
|
|
42524
42970
|
}).transform((v2) => {
|
|
42525
42971
|
return remap(v2, {
|
|
@@ -42535,20 +42981,31 @@ var init_uniswapwithdrawliquidityprovisionrequest = __esm(() => {
|
|
|
42535
42981
|
});
|
|
42536
42982
|
|
|
42537
42983
|
// src/models/components/unwrapwethrequest.ts
|
|
42538
|
-
var UnwrapWethRequestAmount$inboundSchema, UnwrapWethRequestAmount$outboundSchema, UnwrapWethRequestAmount$, UnwrapWethRequest$inboundSchema, UnwrapWethRequest$outboundSchema, UnwrapWethRequest$;
|
|
42984
|
+
var UnwrapWethRequestChain, UnwrapWethRequestAmount$inboundSchema, UnwrapWethRequestAmount$outboundSchema, UnwrapWethRequestAmount$, UnwrapWethRequestChain$inboundSchema, UnwrapWethRequestChain$outboundSchema, UnwrapWethRequestChain$, UnwrapWethRequest$inboundSchema, UnwrapWethRequest$outboundSchema, UnwrapWethRequest$;
|
|
42539
42985
|
var init_unwrapwethrequest = __esm(() => {
|
|
42540
42986
|
init_zod();
|
|
42541
42987
|
init_primitives();
|
|
42988
|
+
UnwrapWethRequestChain = {
|
|
42989
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
42990
|
+
BaseMainnet: "base:mainnet",
|
|
42991
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
42992
|
+
};
|
|
42542
42993
|
UnwrapWethRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
42543
42994
|
UnwrapWethRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
42544
42995
|
((UnwrapWethRequestAmount$) => {
|
|
42545
42996
|
UnwrapWethRequestAmount$.inboundSchema = UnwrapWethRequestAmount$inboundSchema;
|
|
42546
42997
|
UnwrapWethRequestAmount$.outboundSchema = UnwrapWethRequestAmount$outboundSchema;
|
|
42547
42998
|
})(UnwrapWethRequestAmount$ ||= {});
|
|
42999
|
+
UnwrapWethRequestChain$inboundSchema = nativeEnumType(UnwrapWethRequestChain);
|
|
43000
|
+
UnwrapWethRequestChain$outboundSchema = UnwrapWethRequestChain$inboundSchema;
|
|
43001
|
+
((UnwrapWethRequestChain$) => {
|
|
43002
|
+
UnwrapWethRequestChain$.inboundSchema = UnwrapWethRequestChain$inboundSchema;
|
|
43003
|
+
UnwrapWethRequestChain$.outboundSchema = UnwrapWethRequestChain$outboundSchema;
|
|
43004
|
+
})(UnwrapWethRequestChain$ ||= {});
|
|
42548
43005
|
UnwrapWethRequest$inboundSchema = objectType({
|
|
42549
43006
|
action_type: literalType("UNWRAP_WETH").default("UNWRAP_WETH"),
|
|
42550
43007
|
amount: unionType([numberType(), stringType()]),
|
|
42551
|
-
chain:
|
|
43008
|
+
chain: UnwrapWethRequestChain$inboundSchema,
|
|
42552
43009
|
sender: stringType()
|
|
42553
43010
|
}).transform((v2) => {
|
|
42554
43011
|
return remap(v2, {
|
|
@@ -42558,7 +43015,7 @@ var init_unwrapwethrequest = __esm(() => {
|
|
|
42558
43015
|
UnwrapWethRequest$outboundSchema = objectType({
|
|
42559
43016
|
actionType: literalType("UNWRAP_WETH").default("UNWRAP_WETH"),
|
|
42560
43017
|
amount: unionType([numberType(), stringType()]),
|
|
42561
|
-
chain:
|
|
43018
|
+
chain: UnwrapWethRequestChain$outboundSchema,
|
|
42562
43019
|
sender: stringType()
|
|
42563
43020
|
}).transform((v2) => {
|
|
42564
43021
|
return remap(v2, {
|
|
@@ -42598,22 +43055,33 @@ var init_validationerror = __esm(() => {
|
|
|
42598
43055
|
});
|
|
42599
43056
|
|
|
42600
43057
|
// src/models/components/vaultdepositrequest.ts
|
|
42601
|
-
var VaultDepositRequestAmount$inboundSchema, VaultDepositRequestAmount$outboundSchema, VaultDepositRequestAmount$, VaultDepositRequest$inboundSchema, VaultDepositRequest$outboundSchema, VaultDepositRequest$;
|
|
43058
|
+
var VaultDepositRequestChain, VaultDepositRequestAmount$inboundSchema, VaultDepositRequestAmount$outboundSchema, VaultDepositRequestAmount$, VaultDepositRequestChain$inboundSchema, VaultDepositRequestChain$outboundSchema, VaultDepositRequestChain$, VaultDepositRequest$inboundSchema, VaultDepositRequest$outboundSchema, VaultDepositRequest$;
|
|
42602
43059
|
var init_vaultdepositrequest = __esm(() => {
|
|
42603
43060
|
init_zod();
|
|
42604
43061
|
init_primitives();
|
|
43062
|
+
VaultDepositRequestChain = {
|
|
43063
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
43064
|
+
BaseMainnet: "base:mainnet",
|
|
43065
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
43066
|
+
};
|
|
42605
43067
|
VaultDepositRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
42606
43068
|
VaultDepositRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
42607
43069
|
((VaultDepositRequestAmount$) => {
|
|
42608
43070
|
VaultDepositRequestAmount$.inboundSchema = VaultDepositRequestAmount$inboundSchema;
|
|
42609
43071
|
VaultDepositRequestAmount$.outboundSchema = VaultDepositRequestAmount$outboundSchema;
|
|
42610
43072
|
})(VaultDepositRequestAmount$ ||= {});
|
|
43073
|
+
VaultDepositRequestChain$inboundSchema = nativeEnumType(VaultDepositRequestChain);
|
|
43074
|
+
VaultDepositRequestChain$outboundSchema = VaultDepositRequestChain$inboundSchema;
|
|
43075
|
+
((VaultDepositRequestChain$) => {
|
|
43076
|
+
VaultDepositRequestChain$.inboundSchema = VaultDepositRequestChain$inboundSchema;
|
|
43077
|
+
VaultDepositRequestChain$.outboundSchema = VaultDepositRequestChain$outboundSchema;
|
|
43078
|
+
})(VaultDepositRequestChain$ ||= {});
|
|
42611
43079
|
VaultDepositRequest$inboundSchema = objectType({
|
|
42612
43080
|
action_type: literalType("VAULT_DEPOSIT").default("VAULT_DEPOSIT"),
|
|
42613
43081
|
vault_address: stringType(),
|
|
42614
43082
|
amount: unionType([numberType(), stringType()]),
|
|
42615
43083
|
receiver: nullableType(stringType()).optional(),
|
|
42616
|
-
chain:
|
|
43084
|
+
chain: VaultDepositRequestChain$inboundSchema,
|
|
42617
43085
|
sender: stringType()
|
|
42618
43086
|
}).transform((v2) => {
|
|
42619
43087
|
return remap(v2, {
|
|
@@ -42626,7 +43094,7 @@ var init_vaultdepositrequest = __esm(() => {
|
|
|
42626
43094
|
vaultAddress: stringType(),
|
|
42627
43095
|
amount: unionType([numberType(), stringType()]),
|
|
42628
43096
|
receiver: nullableType(stringType()).optional(),
|
|
42629
|
-
chain:
|
|
43097
|
+
chain: VaultDepositRequestChain$outboundSchema,
|
|
42630
43098
|
sender: stringType()
|
|
42631
43099
|
}).transform((v2) => {
|
|
42632
43100
|
return remap(v2, {
|
|
@@ -42691,16 +43159,27 @@ var init_vaultgetvaultresponse = __esm(() => {
|
|
|
42691
43159
|
});
|
|
42692
43160
|
|
|
42693
43161
|
// src/models/components/vaultwithdrawrequest.ts
|
|
42694
|
-
var VaultWithdrawRequest$inboundSchema, VaultWithdrawRequest$outboundSchema, VaultWithdrawRequest$;
|
|
43162
|
+
var VaultWithdrawRequestChain, VaultWithdrawRequestChain$inboundSchema, VaultWithdrawRequestChain$outboundSchema, VaultWithdrawRequestChain$, VaultWithdrawRequest$inboundSchema, VaultWithdrawRequest$outboundSchema, VaultWithdrawRequest$;
|
|
42695
43163
|
var init_vaultwithdrawrequest = __esm(() => {
|
|
42696
43164
|
init_zod();
|
|
42697
43165
|
init_primitives();
|
|
43166
|
+
VaultWithdrawRequestChain = {
|
|
43167
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
43168
|
+
BaseMainnet: "base:mainnet",
|
|
43169
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
43170
|
+
};
|
|
43171
|
+
VaultWithdrawRequestChain$inboundSchema = nativeEnumType(VaultWithdrawRequestChain);
|
|
43172
|
+
VaultWithdrawRequestChain$outboundSchema = VaultWithdrawRequestChain$inboundSchema;
|
|
43173
|
+
((VaultWithdrawRequestChain$) => {
|
|
43174
|
+
VaultWithdrawRequestChain$.inboundSchema = VaultWithdrawRequestChain$inboundSchema;
|
|
43175
|
+
VaultWithdrawRequestChain$.outboundSchema = VaultWithdrawRequestChain$outboundSchema;
|
|
43176
|
+
})(VaultWithdrawRequestChain$ ||= {});
|
|
42698
43177
|
VaultWithdrawRequest$inboundSchema = objectType({
|
|
42699
43178
|
action_type: literalType("VAULT_WITHDRAW").default("VAULT_WITHDRAW"),
|
|
42700
43179
|
vault_address: stringType(),
|
|
42701
43180
|
amount: anyType().optional(),
|
|
42702
43181
|
receiver: nullableType(stringType()).optional(),
|
|
42703
|
-
chain:
|
|
43182
|
+
chain: VaultWithdrawRequestChain$inboundSchema,
|
|
42704
43183
|
sender: stringType()
|
|
42705
43184
|
}).transform((v2) => {
|
|
42706
43185
|
return remap(v2, {
|
|
@@ -42713,7 +43192,7 @@ var init_vaultwithdrawrequest = __esm(() => {
|
|
|
42713
43192
|
vaultAddress: stringType(),
|
|
42714
43193
|
amount: anyType().optional(),
|
|
42715
43194
|
receiver: nullableType(stringType()).optional(),
|
|
42716
|
-
chain:
|
|
43195
|
+
chain: VaultWithdrawRequestChain$outboundSchema,
|
|
42717
43196
|
sender: stringType()
|
|
42718
43197
|
}).transform((v2) => {
|
|
42719
43198
|
return remap(v2, {
|
|
@@ -42728,20 +43207,31 @@ var init_vaultwithdrawrequest = __esm(() => {
|
|
|
42728
43207
|
});
|
|
42729
43208
|
|
|
42730
43209
|
// src/models/components/wrapethrequest.ts
|
|
42731
|
-
var WrapEthRequestAmount$inboundSchema, WrapEthRequestAmount$outboundSchema, WrapEthRequestAmount$, WrapEthRequest$inboundSchema, WrapEthRequest$outboundSchema, WrapEthRequest$;
|
|
43210
|
+
var WrapEthRequestChain, WrapEthRequestAmount$inboundSchema, WrapEthRequestAmount$outboundSchema, WrapEthRequestAmount$, WrapEthRequestChain$inboundSchema, WrapEthRequestChain$outboundSchema, WrapEthRequestChain$, WrapEthRequest$inboundSchema, WrapEthRequest$outboundSchema, WrapEthRequest$;
|
|
42732
43211
|
var init_wrapethrequest = __esm(() => {
|
|
42733
43212
|
init_zod();
|
|
42734
43213
|
init_primitives();
|
|
43214
|
+
WrapEthRequestChain = {
|
|
43215
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
43216
|
+
BaseMainnet: "base:mainnet",
|
|
43217
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
43218
|
+
};
|
|
42735
43219
|
WrapEthRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
42736
43220
|
WrapEthRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
42737
43221
|
((WrapEthRequestAmount$) => {
|
|
42738
43222
|
WrapEthRequestAmount$.inboundSchema = WrapEthRequestAmount$inboundSchema;
|
|
42739
43223
|
WrapEthRequestAmount$.outboundSchema = WrapEthRequestAmount$outboundSchema;
|
|
42740
43224
|
})(WrapEthRequestAmount$ ||= {});
|
|
43225
|
+
WrapEthRequestChain$inboundSchema = nativeEnumType(WrapEthRequestChain);
|
|
43226
|
+
WrapEthRequestChain$outboundSchema = WrapEthRequestChain$inboundSchema;
|
|
43227
|
+
((WrapEthRequestChain$) => {
|
|
43228
|
+
WrapEthRequestChain$.inboundSchema = WrapEthRequestChain$inboundSchema;
|
|
43229
|
+
WrapEthRequestChain$.outboundSchema = WrapEthRequestChain$outboundSchema;
|
|
43230
|
+
})(WrapEthRequestChain$ ||= {});
|
|
42741
43231
|
WrapEthRequest$inboundSchema = objectType({
|
|
42742
43232
|
action_type: literalType("WRAP_ETH").default("WRAP_ETH"),
|
|
42743
43233
|
amount: unionType([numberType(), stringType()]),
|
|
42744
|
-
chain:
|
|
43234
|
+
chain: WrapEthRequestChain$inboundSchema,
|
|
42745
43235
|
sender: stringType()
|
|
42746
43236
|
}).transform((v2) => {
|
|
42747
43237
|
return remap(v2, {
|
|
@@ -42751,7 +43241,7 @@ var init_wrapethrequest = __esm(() => {
|
|
|
42751
43241
|
WrapEthRequest$outboundSchema = objectType({
|
|
42752
43242
|
actionType: literalType("WRAP_ETH").default("WRAP_ETH"),
|
|
42753
43243
|
amount: unionType([numberType(), stringType()]),
|
|
42754
|
-
chain:
|
|
43244
|
+
chain: WrapEthRequestChain$outboundSchema,
|
|
42755
43245
|
sender: stringType()
|
|
42756
43246
|
}).transform((v2) => {
|
|
42757
43247
|
return remap(v2, {
|
|
@@ -42994,15 +43484,26 @@ var init_errors2 = __esm(() => {
|
|
|
42994
43484
|
});
|
|
42995
43485
|
|
|
42996
43486
|
// src/models/operations/aaveaavesupportedtokens.ts
|
|
42997
|
-
var AaveAaveSupportedTokensRequest$inboundSchema, AaveAaveSupportedTokensRequest$outboundSchema, AaveAaveSupportedTokensRequest$;
|
|
43487
|
+
var AaveAaveSupportedTokensChain, AaveAaveSupportedTokensChain$inboundSchema, AaveAaveSupportedTokensChain$outboundSchema, AaveAaveSupportedTokensChain$, AaveAaveSupportedTokensRequest$inboundSchema, AaveAaveSupportedTokensRequest$outboundSchema, AaveAaveSupportedTokensRequest$;
|
|
42998
43488
|
var init_aaveaavesupportedtokens = __esm(() => {
|
|
42999
43489
|
init_zod();
|
|
43490
|
+
AaveAaveSupportedTokensChain = {
|
|
43491
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
43492
|
+
BaseMainnet: "base:mainnet",
|
|
43493
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
43494
|
+
};
|
|
43495
|
+
AaveAaveSupportedTokensChain$inboundSchema = nativeEnumType(AaveAaveSupportedTokensChain);
|
|
43496
|
+
AaveAaveSupportedTokensChain$outboundSchema = AaveAaveSupportedTokensChain$inboundSchema;
|
|
43497
|
+
((AaveAaveSupportedTokensChain$) => {
|
|
43498
|
+
AaveAaveSupportedTokensChain$.inboundSchema = AaveAaveSupportedTokensChain$inboundSchema;
|
|
43499
|
+
AaveAaveSupportedTokensChain$.outboundSchema = AaveAaveSupportedTokensChain$outboundSchema;
|
|
43500
|
+
})(AaveAaveSupportedTokensChain$ ||= {});
|
|
43000
43501
|
AaveAaveSupportedTokensRequest$inboundSchema = objectType({
|
|
43001
|
-
chain:
|
|
43502
|
+
chain: AaveAaveSupportedTokensChain$inboundSchema.default("arbitrum:mainnet"),
|
|
43002
43503
|
block: nullableType(numberType().int()).optional()
|
|
43003
43504
|
});
|
|
43004
43505
|
AaveAaveSupportedTokensRequest$outboundSchema = objectType({
|
|
43005
|
-
chain:
|
|
43506
|
+
chain: AaveAaveSupportedTokensChain$outboundSchema.default("arbitrum:mainnet"),
|
|
43006
43507
|
block: nullableType(numberType().int()).optional()
|
|
43007
43508
|
});
|
|
43008
43509
|
((AaveAaveSupportedTokensRequest$) => {
|
|
@@ -43012,9 +43513,14 @@ var init_aaveaavesupportedtokens = __esm(() => {
|
|
|
43012
43513
|
});
|
|
43013
43514
|
|
|
43014
43515
|
// src/models/operations/aaveavgrate.ts
|
|
43015
|
-
var AaveAvgRateToken, AaveAvgRateToken$inboundSchema, AaveAvgRateToken$outboundSchema, AaveAvgRateToken$, AaveAvgRateRequest$inboundSchema, AaveAvgRateRequest$outboundSchema, AaveAvgRateRequest$;
|
|
43516
|
+
var AaveAvgRateChain, AaveAvgRateToken, AaveAvgRateChain$inboundSchema, AaveAvgRateChain$outboundSchema, AaveAvgRateChain$, AaveAvgRateToken$inboundSchema, AaveAvgRateToken$outboundSchema, AaveAvgRateToken$, AaveAvgRateRequest$inboundSchema, AaveAvgRateRequest$outboundSchema, AaveAvgRateRequest$;
|
|
43016
43517
|
var init_aaveavgrate = __esm(() => {
|
|
43017
43518
|
init_zod();
|
|
43519
|
+
AaveAvgRateChain = {
|
|
43520
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
43521
|
+
BaseMainnet: "base:mainnet",
|
|
43522
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
43523
|
+
};
|
|
43018
43524
|
AaveAvgRateToken = {
|
|
43019
43525
|
OneINCH: "1INCH",
|
|
43020
43526
|
Aave: "AAVE",
|
|
@@ -43063,6 +43569,12 @@ var init_aaveavgrate = __esm(() => {
|
|
|
43063
43569
|
EzETH: "ezETH",
|
|
43064
43570
|
Cyber: "CYBER"
|
|
43065
43571
|
};
|
|
43572
|
+
AaveAvgRateChain$inboundSchema = nativeEnumType(AaveAvgRateChain);
|
|
43573
|
+
AaveAvgRateChain$outboundSchema = AaveAvgRateChain$inboundSchema;
|
|
43574
|
+
((AaveAvgRateChain$) => {
|
|
43575
|
+
AaveAvgRateChain$.inboundSchema = AaveAvgRateChain$inboundSchema;
|
|
43576
|
+
AaveAvgRateChain$.outboundSchema = AaveAvgRateChain$outboundSchema;
|
|
43577
|
+
})(AaveAvgRateChain$ ||= {});
|
|
43066
43578
|
AaveAvgRateToken$inboundSchema = nativeEnumType(AaveAvgRateToken);
|
|
43067
43579
|
AaveAvgRateToken$outboundSchema = AaveAvgRateToken$inboundSchema;
|
|
43068
43580
|
((AaveAvgRateToken$) => {
|
|
@@ -43070,13 +43582,13 @@ var init_aaveavgrate = __esm(() => {
|
|
|
43070
43582
|
AaveAvgRateToken$.outboundSchema = AaveAvgRateToken$outboundSchema;
|
|
43071
43583
|
})(AaveAvgRateToken$ ||= {});
|
|
43072
43584
|
AaveAvgRateRequest$inboundSchema = objectType({
|
|
43073
|
-
chain:
|
|
43585
|
+
chain: AaveAvgRateChain$inboundSchema.default("ethereum:mainnet"),
|
|
43074
43586
|
block: nullableType(numberType().int()).optional(),
|
|
43075
43587
|
token: AaveAvgRateToken$inboundSchema.default("USDC"),
|
|
43076
43588
|
days: numberType().int().default(2)
|
|
43077
43589
|
});
|
|
43078
43590
|
AaveAvgRateRequest$outboundSchema = objectType({
|
|
43079
|
-
chain:
|
|
43591
|
+
chain: AaveAvgRateChain$outboundSchema.default("ethereum:mainnet"),
|
|
43080
43592
|
block: nullableType(numberType().int()).optional(),
|
|
43081
43593
|
token: AaveAvgRateToken$outboundSchema.default("USDC"),
|
|
43082
43594
|
days: numberType().int().default(2)
|
|
@@ -43088,14 +43600,25 @@ var init_aaveavgrate = __esm(() => {
|
|
|
43088
43600
|
});
|
|
43089
43601
|
|
|
43090
43602
|
// src/models/operations/aavehistoricaltransactions.ts
|
|
43091
|
-
var AaveHistoricalTransactionsRequest$inboundSchema, AaveHistoricalTransactionsRequest$outboundSchema, AaveHistoricalTransactionsRequest$;
|
|
43603
|
+
var AaveHistoricalTransactionsChain, AaveHistoricalTransactionsChain$inboundSchema, AaveHistoricalTransactionsChain$outboundSchema, AaveHistoricalTransactionsChain$, AaveHistoricalTransactionsRequest$inboundSchema, AaveHistoricalTransactionsRequest$outboundSchema, AaveHistoricalTransactionsRequest$;
|
|
43092
43604
|
var init_aavehistoricaltransactions = __esm(() => {
|
|
43093
43605
|
init_zod();
|
|
43094
43606
|
init_primitives();
|
|
43607
|
+
AaveHistoricalTransactionsChain = {
|
|
43608
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
43609
|
+
BaseMainnet: "base:mainnet",
|
|
43610
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
43611
|
+
};
|
|
43612
|
+
AaveHistoricalTransactionsChain$inboundSchema = nativeEnumType(AaveHistoricalTransactionsChain);
|
|
43613
|
+
AaveHistoricalTransactionsChain$outboundSchema = AaveHistoricalTransactionsChain$inboundSchema;
|
|
43614
|
+
((AaveHistoricalTransactionsChain$) => {
|
|
43615
|
+
AaveHistoricalTransactionsChain$.inboundSchema = AaveHistoricalTransactionsChain$inboundSchema;
|
|
43616
|
+
AaveHistoricalTransactionsChain$.outboundSchema = AaveHistoricalTransactionsChain$outboundSchema;
|
|
43617
|
+
})(AaveHistoricalTransactionsChain$ ||= {});
|
|
43095
43618
|
AaveHistoricalTransactionsRequest$inboundSchema = objectType({
|
|
43096
43619
|
offset: numberType().int().default(0),
|
|
43097
43620
|
limit: numberType().int().default(100),
|
|
43098
|
-
chain:
|
|
43621
|
+
chain: AaveHistoricalTransactionsChain$inboundSchema.default("base:mainnet"),
|
|
43099
43622
|
user_address: stringType().default("0x3254f3b1918637ba924e3F18968Cb74219974b63")
|
|
43100
43623
|
}).transform((v2) => {
|
|
43101
43624
|
return remap(v2, {
|
|
@@ -43105,7 +43628,7 @@ var init_aavehistoricaltransactions = __esm(() => {
|
|
|
43105
43628
|
AaveHistoricalTransactionsRequest$outboundSchema = objectType({
|
|
43106
43629
|
offset: numberType().int().default(0),
|
|
43107
43630
|
limit: numberType().int().default(100),
|
|
43108
|
-
chain:
|
|
43631
|
+
chain: AaveHistoricalTransactionsChain$outboundSchema.default("base:mainnet"),
|
|
43109
43632
|
userAddress: stringType().default("0x3254f3b1918637ba924e3F18968Cb74219974b63")
|
|
43110
43633
|
}).transform((v2) => {
|
|
43111
43634
|
return remap(v2, {
|
|
@@ -43119,10 +43642,15 @@ var init_aavehistoricaltransactions = __esm(() => {
|
|
|
43119
43642
|
});
|
|
43120
43643
|
|
|
43121
43644
|
// src/models/operations/aaveliquiditychange.ts
|
|
43122
|
-
var AaveLiquidityChangeToken, AaveLiquidityChangeToken$inboundSchema, AaveLiquidityChangeToken$outboundSchema, AaveLiquidityChangeToken$, AaveLiquidityChangeRequest$inboundSchema, AaveLiquidityChangeRequest$outboundSchema, AaveLiquidityChangeRequest$;
|
|
43645
|
+
var AaveLiquidityChangeChain, AaveLiquidityChangeToken, AaveLiquidityChangeChain$inboundSchema, AaveLiquidityChangeChain$outboundSchema, AaveLiquidityChangeChain$, AaveLiquidityChangeToken$inboundSchema, AaveLiquidityChangeToken$outboundSchema, AaveLiquidityChangeToken$, AaveLiquidityChangeRequest$inboundSchema, AaveLiquidityChangeRequest$outboundSchema, AaveLiquidityChangeRequest$;
|
|
43123
43646
|
var init_aaveliquiditychange = __esm(() => {
|
|
43124
43647
|
init_zod();
|
|
43125
43648
|
init_primitives();
|
|
43649
|
+
AaveLiquidityChangeChain = {
|
|
43650
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
43651
|
+
BaseMainnet: "base:mainnet",
|
|
43652
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
43653
|
+
};
|
|
43126
43654
|
AaveLiquidityChangeToken = {
|
|
43127
43655
|
OneINCH: "1INCH",
|
|
43128
43656
|
Aave: "AAVE",
|
|
@@ -43171,6 +43699,12 @@ var init_aaveliquiditychange = __esm(() => {
|
|
|
43171
43699
|
EzETH: "ezETH",
|
|
43172
43700
|
Cyber: "CYBER"
|
|
43173
43701
|
};
|
|
43702
|
+
AaveLiquidityChangeChain$inboundSchema = nativeEnumType(AaveLiquidityChangeChain);
|
|
43703
|
+
AaveLiquidityChangeChain$outboundSchema = AaveLiquidityChangeChain$inboundSchema;
|
|
43704
|
+
((AaveLiquidityChangeChain$) => {
|
|
43705
|
+
AaveLiquidityChangeChain$.inboundSchema = AaveLiquidityChangeChain$inboundSchema;
|
|
43706
|
+
AaveLiquidityChangeChain$.outboundSchema = AaveLiquidityChangeChain$outboundSchema;
|
|
43707
|
+
})(AaveLiquidityChangeChain$ ||= {});
|
|
43174
43708
|
AaveLiquidityChangeToken$inboundSchema = nativeEnumType(AaveLiquidityChangeToken);
|
|
43175
43709
|
AaveLiquidityChangeToken$outboundSchema = AaveLiquidityChangeToken$inboundSchema;
|
|
43176
43710
|
((AaveLiquidityChangeToken$) => {
|
|
@@ -43178,7 +43712,7 @@ var init_aaveliquiditychange = __esm(() => {
|
|
|
43178
43712
|
AaveLiquidityChangeToken$.outboundSchema = AaveLiquidityChangeToken$outboundSchema;
|
|
43179
43713
|
})(AaveLiquidityChangeToken$ ||= {});
|
|
43180
43714
|
AaveLiquidityChangeRequest$inboundSchema = objectType({
|
|
43181
|
-
chain:
|
|
43715
|
+
chain: AaveLiquidityChangeChain$inboundSchema.default("arbitrum:mainnet"),
|
|
43182
43716
|
token: AaveLiquidityChangeToken$inboundSchema.default("USDC"),
|
|
43183
43717
|
start_block: numberType().int().default(0),
|
|
43184
43718
|
end_block: numberType().int().default(319407231)
|
|
@@ -43189,7 +43723,7 @@ var init_aaveliquiditychange = __esm(() => {
|
|
|
43189
43723
|
});
|
|
43190
43724
|
});
|
|
43191
43725
|
AaveLiquidityChangeRequest$outboundSchema = objectType({
|
|
43192
|
-
chain:
|
|
43726
|
+
chain: AaveLiquidityChangeChain$outboundSchema.default("arbitrum:mainnet"),
|
|
43193
43727
|
token: AaveLiquidityChangeToken$outboundSchema.default("USDC"),
|
|
43194
43728
|
startBlock: numberType().int().default(0),
|
|
43195
43729
|
endBlock: numberType().int().default(319407231)
|
|
@@ -43206,9 +43740,14 @@ var init_aaveliquiditychange = __esm(() => {
|
|
|
43206
43740
|
});
|
|
43207
43741
|
|
|
43208
43742
|
// src/models/operations/aaverate.ts
|
|
43209
|
-
var AaveRateToken, AaveRateToken$inboundSchema, AaveRateToken$outboundSchema, AaveRateToken$, AaveRateRequest$inboundSchema, AaveRateRequest$outboundSchema, AaveRateRequest$;
|
|
43743
|
+
var AaveRateChain, AaveRateToken, AaveRateChain$inboundSchema, AaveRateChain$outboundSchema, AaveRateChain$, AaveRateToken$inboundSchema, AaveRateToken$outboundSchema, AaveRateToken$, AaveRateRequest$inboundSchema, AaveRateRequest$outboundSchema, AaveRateRequest$;
|
|
43210
43744
|
var init_aaverate = __esm(() => {
|
|
43211
43745
|
init_zod();
|
|
43746
|
+
AaveRateChain = {
|
|
43747
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
43748
|
+
BaseMainnet: "base:mainnet",
|
|
43749
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
43750
|
+
};
|
|
43212
43751
|
AaveRateToken = {
|
|
43213
43752
|
OneINCH: "1INCH",
|
|
43214
43753
|
Aave: "AAVE",
|
|
@@ -43257,6 +43796,12 @@ var init_aaverate = __esm(() => {
|
|
|
43257
43796
|
EzETH: "ezETH",
|
|
43258
43797
|
Cyber: "CYBER"
|
|
43259
43798
|
};
|
|
43799
|
+
AaveRateChain$inboundSchema = nativeEnumType(AaveRateChain);
|
|
43800
|
+
AaveRateChain$outboundSchema = AaveRateChain$inboundSchema;
|
|
43801
|
+
((AaveRateChain$) => {
|
|
43802
|
+
AaveRateChain$.inboundSchema = AaveRateChain$inboundSchema;
|
|
43803
|
+
AaveRateChain$.outboundSchema = AaveRateChain$outboundSchema;
|
|
43804
|
+
})(AaveRateChain$ ||= {});
|
|
43260
43805
|
AaveRateToken$inboundSchema = nativeEnumType(AaveRateToken);
|
|
43261
43806
|
AaveRateToken$outboundSchema = AaveRateToken$inboundSchema;
|
|
43262
43807
|
((AaveRateToken$) => {
|
|
@@ -43264,12 +43809,12 @@ var init_aaverate = __esm(() => {
|
|
|
43264
43809
|
AaveRateToken$.outboundSchema = AaveRateToken$outboundSchema;
|
|
43265
43810
|
})(AaveRateToken$ ||= {});
|
|
43266
43811
|
AaveRateRequest$inboundSchema = objectType({
|
|
43267
|
-
chain:
|
|
43812
|
+
chain: AaveRateChain$inboundSchema.default("arbitrum:mainnet"),
|
|
43268
43813
|
block: nullableType(numberType().int()).optional(),
|
|
43269
43814
|
token: AaveRateToken$inboundSchema.default("USDC")
|
|
43270
43815
|
});
|
|
43271
43816
|
AaveRateRequest$outboundSchema = objectType({
|
|
43272
|
-
chain:
|
|
43817
|
+
chain: AaveRateChain$outboundSchema.default("arbitrum:mainnet"),
|
|
43273
43818
|
block: nullableType(numberType().int()).optional(),
|
|
43274
43819
|
token: AaveRateToken$outboundSchema.default("USDC")
|
|
43275
43820
|
});
|
|
@@ -43280,9 +43825,14 @@ var init_aaverate = __esm(() => {
|
|
|
43280
43825
|
});
|
|
43281
43826
|
|
|
43282
43827
|
// src/models/operations/aavereserveoverview.ts
|
|
43283
|
-
var AaveReserveOverviewToken, AaveReserveOverviewToken$inboundSchema, AaveReserveOverviewToken$outboundSchema, AaveReserveOverviewToken$, AaveReserveOverviewRequest$inboundSchema, AaveReserveOverviewRequest$outboundSchema, AaveReserveOverviewRequest$;
|
|
43828
|
+
var AaveReserveOverviewChain, AaveReserveOverviewToken, AaveReserveOverviewChain$inboundSchema, AaveReserveOverviewChain$outboundSchema, AaveReserveOverviewChain$, AaveReserveOverviewToken$inboundSchema, AaveReserveOverviewToken$outboundSchema, AaveReserveOverviewToken$, AaveReserveOverviewRequest$inboundSchema, AaveReserveOverviewRequest$outboundSchema, AaveReserveOverviewRequest$;
|
|
43284
43829
|
var init_aavereserveoverview = __esm(() => {
|
|
43285
43830
|
init_zod();
|
|
43831
|
+
AaveReserveOverviewChain = {
|
|
43832
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
43833
|
+
BaseMainnet: "base:mainnet",
|
|
43834
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
43835
|
+
};
|
|
43286
43836
|
AaveReserveOverviewToken = {
|
|
43287
43837
|
OneINCH: "1INCH",
|
|
43288
43838
|
Aave: "AAVE",
|
|
@@ -43331,6 +43881,12 @@ var init_aavereserveoverview = __esm(() => {
|
|
|
43331
43881
|
EzETH: "ezETH",
|
|
43332
43882
|
Cyber: "CYBER"
|
|
43333
43883
|
};
|
|
43884
|
+
AaveReserveOverviewChain$inboundSchema = nativeEnumType(AaveReserveOverviewChain);
|
|
43885
|
+
AaveReserveOverviewChain$outboundSchema = AaveReserveOverviewChain$inboundSchema;
|
|
43886
|
+
((AaveReserveOverviewChain$) => {
|
|
43887
|
+
AaveReserveOverviewChain$.inboundSchema = AaveReserveOverviewChain$inboundSchema;
|
|
43888
|
+
AaveReserveOverviewChain$.outboundSchema = AaveReserveOverviewChain$outboundSchema;
|
|
43889
|
+
})(AaveReserveOverviewChain$ ||= {});
|
|
43334
43890
|
AaveReserveOverviewToken$inboundSchema = nativeEnumType(AaveReserveOverviewToken);
|
|
43335
43891
|
AaveReserveOverviewToken$outboundSchema = AaveReserveOverviewToken$inboundSchema;
|
|
43336
43892
|
((AaveReserveOverviewToken$) => {
|
|
@@ -43338,12 +43894,12 @@ var init_aavereserveoverview = __esm(() => {
|
|
|
43338
43894
|
AaveReserveOverviewToken$.outboundSchema = AaveReserveOverviewToken$outboundSchema;
|
|
43339
43895
|
})(AaveReserveOverviewToken$ ||= {});
|
|
43340
43896
|
AaveReserveOverviewRequest$inboundSchema = objectType({
|
|
43341
|
-
chain:
|
|
43897
|
+
chain: AaveReserveOverviewChain$inboundSchema.default("arbitrum:mainnet"),
|
|
43342
43898
|
block: nullableType(numberType().int()).optional(),
|
|
43343
43899
|
token: AaveReserveOverviewToken$inboundSchema.default("USDC")
|
|
43344
43900
|
});
|
|
43345
43901
|
AaveReserveOverviewRequest$outboundSchema = objectType({
|
|
43346
|
-
chain:
|
|
43902
|
+
chain: AaveReserveOverviewChain$outboundSchema.default("arbitrum:mainnet"),
|
|
43347
43903
|
block: nullableType(numberType().int()).optional(),
|
|
43348
43904
|
token: AaveReserveOverviewToken$outboundSchema.default("USDC")
|
|
43349
43905
|
});
|
|
@@ -43354,9 +43910,14 @@ var init_aavereserveoverview = __esm(() => {
|
|
|
43354
43910
|
});
|
|
43355
43911
|
|
|
43356
43912
|
// src/models/operations/aavestdrate.ts
|
|
43357
|
-
var AaveStdRateToken, AaveStdRateToken$inboundSchema, AaveStdRateToken$outboundSchema, AaveStdRateToken$, AaveStdRateRequest$inboundSchema, AaveStdRateRequest$outboundSchema, AaveStdRateRequest$;
|
|
43913
|
+
var AaveStdRateChain, AaveStdRateToken, AaveStdRateChain$inboundSchema, AaveStdRateChain$outboundSchema, AaveStdRateChain$, AaveStdRateToken$inboundSchema, AaveStdRateToken$outboundSchema, AaveStdRateToken$, AaveStdRateRequest$inboundSchema, AaveStdRateRequest$outboundSchema, AaveStdRateRequest$;
|
|
43358
43914
|
var init_aavestdrate = __esm(() => {
|
|
43359
43915
|
init_zod();
|
|
43916
|
+
AaveStdRateChain = {
|
|
43917
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
43918
|
+
BaseMainnet: "base:mainnet",
|
|
43919
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
43920
|
+
};
|
|
43360
43921
|
AaveStdRateToken = {
|
|
43361
43922
|
OneINCH: "1INCH",
|
|
43362
43923
|
Aave: "AAVE",
|
|
@@ -43405,6 +43966,12 @@ var init_aavestdrate = __esm(() => {
|
|
|
43405
43966
|
EzETH: "ezETH",
|
|
43406
43967
|
Cyber: "CYBER"
|
|
43407
43968
|
};
|
|
43969
|
+
AaveStdRateChain$inboundSchema = nativeEnumType(AaveStdRateChain);
|
|
43970
|
+
AaveStdRateChain$outboundSchema = AaveStdRateChain$inboundSchema;
|
|
43971
|
+
((AaveStdRateChain$) => {
|
|
43972
|
+
AaveStdRateChain$.inboundSchema = AaveStdRateChain$inboundSchema;
|
|
43973
|
+
AaveStdRateChain$.outboundSchema = AaveStdRateChain$outboundSchema;
|
|
43974
|
+
})(AaveStdRateChain$ ||= {});
|
|
43408
43975
|
AaveStdRateToken$inboundSchema = nativeEnumType(AaveStdRateToken);
|
|
43409
43976
|
AaveStdRateToken$outboundSchema = AaveStdRateToken$inboundSchema;
|
|
43410
43977
|
((AaveStdRateToken$) => {
|
|
@@ -43412,13 +43979,13 @@ var init_aavestdrate = __esm(() => {
|
|
|
43412
43979
|
AaveStdRateToken$.outboundSchema = AaveStdRateToken$outboundSchema;
|
|
43413
43980
|
})(AaveStdRateToken$ ||= {});
|
|
43414
43981
|
AaveStdRateRequest$inboundSchema = objectType({
|
|
43415
|
-
chain:
|
|
43982
|
+
chain: AaveStdRateChain$inboundSchema.default("ethereum:mainnet"),
|
|
43416
43983
|
block: nullableType(numberType().int()).optional(),
|
|
43417
43984
|
token: AaveStdRateToken$inboundSchema.default("USDC"),
|
|
43418
43985
|
days: numberType().int().default(7)
|
|
43419
43986
|
});
|
|
43420
43987
|
AaveStdRateRequest$outboundSchema = objectType({
|
|
43421
|
-
chain:
|
|
43988
|
+
chain: AaveStdRateChain$outboundSchema.default("ethereum:mainnet"),
|
|
43422
43989
|
block: nullableType(numberType().int()).optional(),
|
|
43423
43990
|
token: AaveStdRateToken$outboundSchema.default("USDC"),
|
|
43424
43991
|
days: numberType().int().default(7)
|
|
@@ -43430,9 +43997,14 @@ var init_aavestdrate = __esm(() => {
|
|
|
43430
43997
|
});
|
|
43431
43998
|
|
|
43432
43999
|
// src/models/operations/aavetokenprice.ts
|
|
43433
|
-
var AaveTokenPriceToken, AaveTokenPriceToken$inboundSchema, AaveTokenPriceToken$outboundSchema, AaveTokenPriceToken$, AaveTokenPriceRequest$inboundSchema, AaveTokenPriceRequest$outboundSchema, AaveTokenPriceRequest$;
|
|
44000
|
+
var AaveTokenPriceChain, AaveTokenPriceToken, AaveTokenPriceChain$inboundSchema, AaveTokenPriceChain$outboundSchema, AaveTokenPriceChain$, AaveTokenPriceToken$inboundSchema, AaveTokenPriceToken$outboundSchema, AaveTokenPriceToken$, AaveTokenPriceRequest$inboundSchema, AaveTokenPriceRequest$outboundSchema, AaveTokenPriceRequest$;
|
|
43434
44001
|
var init_aavetokenprice = __esm(() => {
|
|
43435
44002
|
init_zod();
|
|
44003
|
+
AaveTokenPriceChain = {
|
|
44004
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
44005
|
+
BaseMainnet: "base:mainnet",
|
|
44006
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
44007
|
+
};
|
|
43436
44008
|
AaveTokenPriceToken = {
|
|
43437
44009
|
OneINCH: "1INCH",
|
|
43438
44010
|
Aave: "AAVE",
|
|
@@ -43481,6 +44053,12 @@ var init_aavetokenprice = __esm(() => {
|
|
|
43481
44053
|
EzETH: "ezETH",
|
|
43482
44054
|
Cyber: "CYBER"
|
|
43483
44055
|
};
|
|
44056
|
+
AaveTokenPriceChain$inboundSchema = nativeEnumType(AaveTokenPriceChain);
|
|
44057
|
+
AaveTokenPriceChain$outboundSchema = AaveTokenPriceChain$inboundSchema;
|
|
44058
|
+
((AaveTokenPriceChain$) => {
|
|
44059
|
+
AaveTokenPriceChain$.inboundSchema = AaveTokenPriceChain$inboundSchema;
|
|
44060
|
+
AaveTokenPriceChain$.outboundSchema = AaveTokenPriceChain$outboundSchema;
|
|
44061
|
+
})(AaveTokenPriceChain$ ||= {});
|
|
43484
44062
|
AaveTokenPriceToken$inboundSchema = nativeEnumType(AaveTokenPriceToken);
|
|
43485
44063
|
AaveTokenPriceToken$outboundSchema = AaveTokenPriceToken$inboundSchema;
|
|
43486
44064
|
((AaveTokenPriceToken$) => {
|
|
@@ -43488,12 +44066,12 @@ var init_aavetokenprice = __esm(() => {
|
|
|
43488
44066
|
AaveTokenPriceToken$.outboundSchema = AaveTokenPriceToken$outboundSchema;
|
|
43489
44067
|
})(AaveTokenPriceToken$ ||= {});
|
|
43490
44068
|
AaveTokenPriceRequest$inboundSchema = objectType({
|
|
43491
|
-
chain:
|
|
44069
|
+
chain: AaveTokenPriceChain$inboundSchema.default("arbitrum:mainnet"),
|
|
43492
44070
|
block: nullableType(numberType().int()).optional(),
|
|
43493
44071
|
token: AaveTokenPriceToken$inboundSchema.default("USDC")
|
|
43494
44072
|
});
|
|
43495
44073
|
AaveTokenPriceRequest$outboundSchema = objectType({
|
|
43496
|
-
chain:
|
|
44074
|
+
chain: AaveTokenPriceChain$outboundSchema.default("arbitrum:mainnet"),
|
|
43497
44075
|
block: nullableType(numberType().int()).optional(),
|
|
43498
44076
|
token: AaveTokenPriceToken$outboundSchema.default("USDC")
|
|
43499
44077
|
});
|
|
@@ -43504,9 +44082,14 @@ var init_aavetokenprice = __esm(() => {
|
|
|
43504
44082
|
});
|
|
43505
44083
|
|
|
43506
44084
|
// src/models/operations/aaveuserpositionpertoken.ts
|
|
43507
|
-
var AaveUserPositionPerTokenToken, AaveUserPositionPerTokenToken$inboundSchema, AaveUserPositionPerTokenToken$outboundSchema, AaveUserPositionPerTokenToken$, AaveUserPositionPerTokenRequest$inboundSchema, AaveUserPositionPerTokenRequest$outboundSchema, AaveUserPositionPerTokenRequest$;
|
|
44085
|
+
var AaveUserPositionPerTokenChain, AaveUserPositionPerTokenToken, AaveUserPositionPerTokenChain$inboundSchema, AaveUserPositionPerTokenChain$outboundSchema, AaveUserPositionPerTokenChain$, AaveUserPositionPerTokenToken$inboundSchema, AaveUserPositionPerTokenToken$outboundSchema, AaveUserPositionPerTokenToken$, AaveUserPositionPerTokenRequest$inboundSchema, AaveUserPositionPerTokenRequest$outboundSchema, AaveUserPositionPerTokenRequest$;
|
|
43508
44086
|
var init_aaveuserpositionpertoken = __esm(() => {
|
|
43509
44087
|
init_zod();
|
|
44088
|
+
AaveUserPositionPerTokenChain = {
|
|
44089
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
44090
|
+
BaseMainnet: "base:mainnet",
|
|
44091
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
44092
|
+
};
|
|
43510
44093
|
AaveUserPositionPerTokenToken = {
|
|
43511
44094
|
OneINCH: "1INCH",
|
|
43512
44095
|
Aave: "AAVE",
|
|
@@ -43555,6 +44138,12 @@ var init_aaveuserpositionpertoken = __esm(() => {
|
|
|
43555
44138
|
EzETH: "ezETH",
|
|
43556
44139
|
Cyber: "CYBER"
|
|
43557
44140
|
};
|
|
44141
|
+
AaveUserPositionPerTokenChain$inboundSchema = nativeEnumType(AaveUserPositionPerTokenChain);
|
|
44142
|
+
AaveUserPositionPerTokenChain$outboundSchema = AaveUserPositionPerTokenChain$inboundSchema;
|
|
44143
|
+
((AaveUserPositionPerTokenChain$) => {
|
|
44144
|
+
AaveUserPositionPerTokenChain$.inboundSchema = AaveUserPositionPerTokenChain$inboundSchema;
|
|
44145
|
+
AaveUserPositionPerTokenChain$.outboundSchema = AaveUserPositionPerTokenChain$outboundSchema;
|
|
44146
|
+
})(AaveUserPositionPerTokenChain$ ||= {});
|
|
43558
44147
|
AaveUserPositionPerTokenToken$inboundSchema = nativeEnumType(AaveUserPositionPerTokenToken);
|
|
43559
44148
|
AaveUserPositionPerTokenToken$outboundSchema = AaveUserPositionPerTokenToken$inboundSchema;
|
|
43560
44149
|
((AaveUserPositionPerTokenToken$) => {
|
|
@@ -43562,13 +44151,13 @@ var init_aaveuserpositionpertoken = __esm(() => {
|
|
|
43562
44151
|
AaveUserPositionPerTokenToken$.outboundSchema = AaveUserPositionPerTokenToken$outboundSchema;
|
|
43563
44152
|
})(AaveUserPositionPerTokenToken$ ||= {});
|
|
43564
44153
|
AaveUserPositionPerTokenRequest$inboundSchema = objectType({
|
|
43565
|
-
chain:
|
|
44154
|
+
chain: AaveUserPositionPerTokenChain$inboundSchema.default("base:mainnet"),
|
|
43566
44155
|
block: nullableType(numberType().int()).optional(),
|
|
43567
44156
|
user: stringType().default("0x3254f3b1918637ba924e3F18968Cb74219974b63"),
|
|
43568
44157
|
token: AaveUserPositionPerTokenToken$inboundSchema.default("USDC")
|
|
43569
44158
|
});
|
|
43570
44159
|
AaveUserPositionPerTokenRequest$outboundSchema = objectType({
|
|
43571
|
-
chain:
|
|
44160
|
+
chain: AaveUserPositionPerTokenChain$outboundSchema.default("base:mainnet"),
|
|
43572
44161
|
block: nullableType(numberType().int()).optional(),
|
|
43573
44162
|
user: stringType().default("0x3254f3b1918637ba924e3F18968Cb74219974b63"),
|
|
43574
44163
|
token: AaveUserPositionPerTokenToken$outboundSchema.default("USDC")
|
|
@@ -43580,16 +44169,27 @@ var init_aaveuserpositionpertoken = __esm(() => {
|
|
|
43580
44169
|
});
|
|
43581
44170
|
|
|
43582
44171
|
// src/models/operations/aaveuserpositionsummary.ts
|
|
43583
|
-
var AaveUserPositionSummaryRequest$inboundSchema, AaveUserPositionSummaryRequest$outboundSchema, AaveUserPositionSummaryRequest$;
|
|
44172
|
+
var AaveUserPositionSummaryChain, AaveUserPositionSummaryChain$inboundSchema, AaveUserPositionSummaryChain$outboundSchema, AaveUserPositionSummaryChain$, AaveUserPositionSummaryRequest$inboundSchema, AaveUserPositionSummaryRequest$outboundSchema, AaveUserPositionSummaryRequest$;
|
|
43584
44173
|
var init_aaveuserpositionsummary = __esm(() => {
|
|
43585
44174
|
init_zod();
|
|
44175
|
+
AaveUserPositionSummaryChain = {
|
|
44176
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
44177
|
+
BaseMainnet: "base:mainnet",
|
|
44178
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
44179
|
+
};
|
|
44180
|
+
AaveUserPositionSummaryChain$inboundSchema = nativeEnumType(AaveUserPositionSummaryChain);
|
|
44181
|
+
AaveUserPositionSummaryChain$outboundSchema = AaveUserPositionSummaryChain$inboundSchema;
|
|
44182
|
+
((AaveUserPositionSummaryChain$) => {
|
|
44183
|
+
AaveUserPositionSummaryChain$.inboundSchema = AaveUserPositionSummaryChain$inboundSchema;
|
|
44184
|
+
AaveUserPositionSummaryChain$.outboundSchema = AaveUserPositionSummaryChain$outboundSchema;
|
|
44185
|
+
})(AaveUserPositionSummaryChain$ ||= {});
|
|
43586
44186
|
AaveUserPositionSummaryRequest$inboundSchema = objectType({
|
|
43587
|
-
chain:
|
|
44187
|
+
chain: AaveUserPositionSummaryChain$inboundSchema.default("base:mainnet"),
|
|
43588
44188
|
block: nullableType(numberType().int()).optional(),
|
|
43589
44189
|
user: stringType().default("0x3254f3b1918637ba924e3F18968Cb74219974b63")
|
|
43590
44190
|
});
|
|
43591
44191
|
AaveUserPositionSummaryRequest$outboundSchema = objectType({
|
|
43592
|
-
chain:
|
|
44192
|
+
chain: AaveUserPositionSummaryChain$outboundSchema.default("base:mainnet"),
|
|
43593
44193
|
block: nullableType(numberType().int()).optional(),
|
|
43594
44194
|
user: stringType().default("0x3254f3b1918637ba924e3F18968Cb74219974b63")
|
|
43595
44195
|
});
|
|
@@ -43600,15 +44200,24 @@ var init_aaveuserpositionsummary = __esm(() => {
|
|
|
43600
44200
|
});
|
|
43601
44201
|
|
|
43602
44202
|
// src/models/operations/aerodromeslipstreamliquidityprovisionpositions.ts
|
|
43603
|
-
var AerodromeSlipstreamLiquidityProvisionPositionsRequest$inboundSchema, AerodromeSlipstreamLiquidityProvisionPositionsRequest$outboundSchema, AerodromeSlipstreamLiquidityProvisionPositionsRequest$;
|
|
44203
|
+
var AerodromeSlipstreamLiquidityProvisionPositionsChain, AerodromeSlipstreamLiquidityProvisionPositionsChain$inboundSchema, AerodromeSlipstreamLiquidityProvisionPositionsChain$outboundSchema, AerodromeSlipstreamLiquidityProvisionPositionsChain$, AerodromeSlipstreamLiquidityProvisionPositionsRequest$inboundSchema, AerodromeSlipstreamLiquidityProvisionPositionsRequest$outboundSchema, AerodromeSlipstreamLiquidityProvisionPositionsRequest$;
|
|
43604
44204
|
var init_aerodromeslipstreamliquidityprovisionpositions = __esm(() => {
|
|
43605
44205
|
init_zod();
|
|
44206
|
+
AerodromeSlipstreamLiquidityProvisionPositionsChain = {
|
|
44207
|
+
BaseMainnet: "base:mainnet"
|
|
44208
|
+
};
|
|
44209
|
+
AerodromeSlipstreamLiquidityProvisionPositionsChain$inboundSchema = nativeEnumType(AerodromeSlipstreamLiquidityProvisionPositionsChain);
|
|
44210
|
+
AerodromeSlipstreamLiquidityProvisionPositionsChain$outboundSchema = AerodromeSlipstreamLiquidityProvisionPositionsChain$inboundSchema;
|
|
44211
|
+
((AerodromeSlipstreamLiquidityProvisionPositionsChain$) => {
|
|
44212
|
+
AerodromeSlipstreamLiquidityProvisionPositionsChain$.inboundSchema = AerodromeSlipstreamLiquidityProvisionPositionsChain$inboundSchema;
|
|
44213
|
+
AerodromeSlipstreamLiquidityProvisionPositionsChain$.outboundSchema = AerodromeSlipstreamLiquidityProvisionPositionsChain$outboundSchema;
|
|
44214
|
+
})(AerodromeSlipstreamLiquidityProvisionPositionsChain$ ||= {});
|
|
43606
44215
|
AerodromeSlipstreamLiquidityProvisionPositionsRequest$inboundSchema = objectType({
|
|
43607
|
-
chain:
|
|
44216
|
+
chain: AerodromeSlipstreamLiquidityProvisionPositionsChain$inboundSchema.default("base:mainnet"),
|
|
43608
44217
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B")
|
|
43609
44218
|
});
|
|
43610
44219
|
AerodromeSlipstreamLiquidityProvisionPositionsRequest$outboundSchema = objectType({
|
|
43611
|
-
chain:
|
|
44220
|
+
chain: AerodromeSlipstreamLiquidityProvisionPositionsChain$outboundSchema.default("base:mainnet"),
|
|
43612
44221
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B")
|
|
43613
44222
|
});
|
|
43614
44223
|
((AerodromeSlipstreamLiquidityProvisionPositionsRequest$) => {
|
|
@@ -43618,10 +44227,13 @@ var init_aerodromeslipstreamliquidityprovisionpositions = __esm(() => {
|
|
|
43618
44227
|
});
|
|
43619
44228
|
|
|
43620
44229
|
// src/models/operations/aerodromeslipstreampoolprice.ts
|
|
43621
|
-
var AerodromeSlipstreamPoolPriceTokenInToken, AerodromeSlipstreamPoolPriceTokenOutToken, AerodromeSlipstreamPoolPriceTokenInToken$inboundSchema, AerodromeSlipstreamPoolPriceTokenInToken$outboundSchema, AerodromeSlipstreamPoolPriceTokenInToken$, AerodromeSlipstreamPoolPriceTokenOutToken$inboundSchema, AerodromeSlipstreamPoolPriceTokenOutToken$outboundSchema, AerodromeSlipstreamPoolPriceTokenOutToken$, AerodromeSlipstreamPoolPriceRequest$inboundSchema, AerodromeSlipstreamPoolPriceRequest$outboundSchema, AerodromeSlipstreamPoolPriceRequest$;
|
|
44230
|
+
var AerodromeSlipstreamPoolPriceChain, AerodromeSlipstreamPoolPriceTokenInToken, AerodromeSlipstreamPoolPriceTokenOutToken, AerodromeSlipstreamPoolPriceChain$inboundSchema, AerodromeSlipstreamPoolPriceChain$outboundSchema, AerodromeSlipstreamPoolPriceChain$, AerodromeSlipstreamPoolPriceTokenInToken$inboundSchema, AerodromeSlipstreamPoolPriceTokenInToken$outboundSchema, AerodromeSlipstreamPoolPriceTokenInToken$, AerodromeSlipstreamPoolPriceTokenOutToken$inboundSchema, AerodromeSlipstreamPoolPriceTokenOutToken$outboundSchema, AerodromeSlipstreamPoolPriceTokenOutToken$, AerodromeSlipstreamPoolPriceRequest$inboundSchema, AerodromeSlipstreamPoolPriceRequest$outboundSchema, AerodromeSlipstreamPoolPriceRequest$;
|
|
43622
44231
|
var init_aerodromeslipstreampoolprice = __esm(() => {
|
|
43623
44232
|
init_zod();
|
|
43624
44233
|
init_primitives();
|
|
44234
|
+
AerodromeSlipstreamPoolPriceChain = {
|
|
44235
|
+
BaseMainnet: "base:mainnet"
|
|
44236
|
+
};
|
|
43625
44237
|
AerodromeSlipstreamPoolPriceTokenInToken = {
|
|
43626
44238
|
OneINCH: "1INCH",
|
|
43627
44239
|
Aave: "AAVE",
|
|
@@ -43718,6 +44330,12 @@ var init_aerodromeslipstreampoolprice = __esm(() => {
|
|
|
43718
44330
|
EzETH: "ezETH",
|
|
43719
44331
|
Cyber: "CYBER"
|
|
43720
44332
|
};
|
|
44333
|
+
AerodromeSlipstreamPoolPriceChain$inboundSchema = nativeEnumType(AerodromeSlipstreamPoolPriceChain);
|
|
44334
|
+
AerodromeSlipstreamPoolPriceChain$outboundSchema = AerodromeSlipstreamPoolPriceChain$inboundSchema;
|
|
44335
|
+
((AerodromeSlipstreamPoolPriceChain$) => {
|
|
44336
|
+
AerodromeSlipstreamPoolPriceChain$.inboundSchema = AerodromeSlipstreamPoolPriceChain$inboundSchema;
|
|
44337
|
+
AerodromeSlipstreamPoolPriceChain$.outboundSchema = AerodromeSlipstreamPoolPriceChain$outboundSchema;
|
|
44338
|
+
})(AerodromeSlipstreamPoolPriceChain$ ||= {});
|
|
43721
44339
|
AerodromeSlipstreamPoolPriceTokenInToken$inboundSchema = nativeEnumType(AerodromeSlipstreamPoolPriceTokenInToken);
|
|
43722
44340
|
AerodromeSlipstreamPoolPriceTokenInToken$outboundSchema = AerodromeSlipstreamPoolPriceTokenInToken$inboundSchema;
|
|
43723
44341
|
((AerodromeSlipstreamPoolPriceTokenInToken$) => {
|
|
@@ -43731,7 +44349,7 @@ var init_aerodromeslipstreampoolprice = __esm(() => {
|
|
|
43731
44349
|
AerodromeSlipstreamPoolPriceTokenOutToken$.outboundSchema = AerodromeSlipstreamPoolPriceTokenOutToken$outboundSchema;
|
|
43732
44350
|
})(AerodromeSlipstreamPoolPriceTokenOutToken$ ||= {});
|
|
43733
44351
|
AerodromeSlipstreamPoolPriceRequest$inboundSchema = objectType({
|
|
43734
|
-
chain:
|
|
44352
|
+
chain: AerodromeSlipstreamPoolPriceChain$inboundSchema.default("base:mainnet"),
|
|
43735
44353
|
token_in: AerodromeSlipstreamPoolPriceTokenInToken$inboundSchema.default("USDC"),
|
|
43736
44354
|
token_out: AerodromeSlipstreamPoolPriceTokenOutToken$inboundSchema.default("WETH"),
|
|
43737
44355
|
tick_spacing: numberType().int().default(100)
|
|
@@ -43743,7 +44361,7 @@ var init_aerodromeslipstreampoolprice = __esm(() => {
|
|
|
43743
44361
|
});
|
|
43744
44362
|
});
|
|
43745
44363
|
AerodromeSlipstreamPoolPriceRequest$outboundSchema = objectType({
|
|
43746
|
-
chain:
|
|
44364
|
+
chain: AerodromeSlipstreamPoolPriceChain$outboundSchema.default("base:mainnet"),
|
|
43747
44365
|
tokenIn: AerodromeSlipstreamPoolPriceTokenInToken$outboundSchema.default("USDC"),
|
|
43748
44366
|
tokenOut: AerodromeSlipstreamPoolPriceTokenOutToken$outboundSchema.default("WETH"),
|
|
43749
44367
|
tickSpacing: numberType().int().default(100)
|
|
@@ -43761,10 +44379,15 @@ var init_aerodromeslipstreampoolprice = __esm(() => {
|
|
|
43761
44379
|
});
|
|
43762
44380
|
|
|
43763
44381
|
// src/models/operations/genericallowance.ts
|
|
43764
|
-
var ContractEnum, GenericAllowanceToken$inboundSchema, GenericAllowanceToken$outboundSchema, GenericAllowanceToken$, ContractEnum$inboundSchema, ContractEnum$outboundSchema, ContractEnum$, Contract$inboundSchema, Contract$outboundSchema, Contract$, GenericAllowanceRequest$inboundSchema, GenericAllowanceRequest$outboundSchema, GenericAllowanceRequest$;
|
|
44382
|
+
var GenericAllowanceChain, ContractEnum, GenericAllowanceChain$inboundSchema, GenericAllowanceChain$outboundSchema, GenericAllowanceChain$, GenericAllowanceToken$inboundSchema, GenericAllowanceToken$outboundSchema, GenericAllowanceToken$, ContractEnum$inboundSchema, ContractEnum$outboundSchema, ContractEnum$, Contract$inboundSchema, Contract$outboundSchema, Contract$, GenericAllowanceRequest$inboundSchema, GenericAllowanceRequest$outboundSchema, GenericAllowanceRequest$;
|
|
43765
44383
|
var init_genericallowance = __esm(() => {
|
|
43766
44384
|
init_zod();
|
|
43767
44385
|
init_components();
|
|
44386
|
+
GenericAllowanceChain = {
|
|
44387
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
44388
|
+
BaseMainnet: "base:mainnet",
|
|
44389
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
44390
|
+
};
|
|
43768
44391
|
ContractEnum = {
|
|
43769
44392
|
AaveV3Pool: "AaveV3Pool",
|
|
43770
44393
|
AerodromeBasicRouter: "AerodromeBasicRouter",
|
|
@@ -43779,6 +44402,12 @@ var init_genericallowance = __esm(() => {
|
|
|
43779
44402
|
PendleRouter: "PendleRouter",
|
|
43780
44403
|
OdosRouter: "OdosRouter"
|
|
43781
44404
|
};
|
|
44405
|
+
GenericAllowanceChain$inboundSchema = nativeEnumType(GenericAllowanceChain);
|
|
44406
|
+
GenericAllowanceChain$outboundSchema = GenericAllowanceChain$inboundSchema;
|
|
44407
|
+
((GenericAllowanceChain$) => {
|
|
44408
|
+
GenericAllowanceChain$.inboundSchema = GenericAllowanceChain$inboundSchema;
|
|
44409
|
+
GenericAllowanceChain$.outboundSchema = GenericAllowanceChain$outboundSchema;
|
|
44410
|
+
})(GenericAllowanceChain$ ||= {});
|
|
43782
44411
|
GenericAllowanceToken$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
43783
44412
|
GenericAllowanceToken$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
|
|
43784
44413
|
((GenericAllowanceToken$) => {
|
|
@@ -43798,13 +44427,13 @@ var init_genericallowance = __esm(() => {
|
|
|
43798
44427
|
Contract$.outboundSchema = Contract$outboundSchema;
|
|
43799
44428
|
})(Contract$ ||= {});
|
|
43800
44429
|
GenericAllowanceRequest$inboundSchema = objectType({
|
|
43801
|
-
chain:
|
|
44430
|
+
chain: GenericAllowanceChain$inboundSchema.default("arbitrum:mainnet"),
|
|
43802
44431
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B"),
|
|
43803
44432
|
token: unionType([TokenEnum$inboundSchema, stringType()]),
|
|
43804
44433
|
contract: unionType([ContractEnum$inboundSchema, stringType()])
|
|
43805
44434
|
});
|
|
43806
44435
|
GenericAllowanceRequest$outboundSchema = objectType({
|
|
43807
|
-
chain:
|
|
44436
|
+
chain: GenericAllowanceChain$outboundSchema.default("arbitrum:mainnet"),
|
|
43808
44437
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B"),
|
|
43809
44438
|
token: unionType([TokenEnum$outboundSchema, stringType()]),
|
|
43810
44439
|
contract: unionType([ContractEnum$outboundSchema, stringType()])
|
|
@@ -43816,12 +44445,21 @@ var init_genericallowance = __esm(() => {
|
|
|
43816
44445
|
});
|
|
43817
44446
|
|
|
43818
44447
|
// src/models/operations/genericens.ts
|
|
43819
|
-
var GenericEnsRequest$inboundSchema, GenericEnsRequest$outboundSchema, GenericEnsRequest$;
|
|
44448
|
+
var GenericEnsChain, GenericEnsChain$inboundSchema, GenericEnsChain$outboundSchema, GenericEnsChain$, GenericEnsRequest$inboundSchema, GenericEnsRequest$outboundSchema, GenericEnsRequest$;
|
|
43820
44449
|
var init_genericens = __esm(() => {
|
|
43821
44450
|
init_zod();
|
|
43822
44451
|
init_primitives();
|
|
44452
|
+
GenericEnsChain = {
|
|
44453
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
44454
|
+
};
|
|
44455
|
+
GenericEnsChain$inboundSchema = nativeEnumType(GenericEnsChain);
|
|
44456
|
+
GenericEnsChain$outboundSchema = GenericEnsChain$inboundSchema;
|
|
44457
|
+
((GenericEnsChain$) => {
|
|
44458
|
+
GenericEnsChain$.inboundSchema = GenericEnsChain$inboundSchema;
|
|
44459
|
+
GenericEnsChain$.outboundSchema = GenericEnsChain$outboundSchema;
|
|
44460
|
+
})(GenericEnsChain$ ||= {});
|
|
43823
44461
|
GenericEnsRequest$inboundSchema = objectType({
|
|
43824
|
-
chain:
|
|
44462
|
+
chain: GenericEnsChain$inboundSchema.default("ethereum:mainnet"),
|
|
43825
44463
|
ens_name: stringType().default("vitalik.eth")
|
|
43826
44464
|
}).transform((v2) => {
|
|
43827
44465
|
return remap(v2, {
|
|
@@ -43829,7 +44467,7 @@ var init_genericens = __esm(() => {
|
|
|
43829
44467
|
});
|
|
43830
44468
|
});
|
|
43831
44469
|
GenericEnsRequest$outboundSchema = objectType({
|
|
43832
|
-
chain:
|
|
44470
|
+
chain: GenericEnsChain$outboundSchema.default("ethereum:mainnet"),
|
|
43833
44471
|
ensName: stringType().default("vitalik.eth")
|
|
43834
44472
|
}).transform((v2) => {
|
|
43835
44473
|
return remap(v2, {
|
|
@@ -43843,15 +44481,26 @@ var init_genericens = __esm(() => {
|
|
|
43843
44481
|
});
|
|
43844
44482
|
|
|
43845
44483
|
// src/models/operations/genericportfolio.ts
|
|
43846
|
-
var GenericPortfolioRequest$inboundSchema, GenericPortfolioRequest$outboundSchema, GenericPortfolioRequest$;
|
|
44484
|
+
var GenericPortfolioChain, GenericPortfolioChain$inboundSchema, GenericPortfolioChain$outboundSchema, GenericPortfolioChain$, GenericPortfolioRequest$inboundSchema, GenericPortfolioRequest$outboundSchema, GenericPortfolioRequest$;
|
|
43847
44485
|
var init_genericportfolio = __esm(() => {
|
|
43848
44486
|
init_zod();
|
|
44487
|
+
GenericPortfolioChain = {
|
|
44488
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
44489
|
+
BaseMainnet: "base:mainnet",
|
|
44490
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
44491
|
+
};
|
|
44492
|
+
GenericPortfolioChain$inboundSchema = nativeEnumType(GenericPortfolioChain);
|
|
44493
|
+
GenericPortfolioChain$outboundSchema = GenericPortfolioChain$inboundSchema;
|
|
44494
|
+
((GenericPortfolioChain$) => {
|
|
44495
|
+
GenericPortfolioChain$.inboundSchema = GenericPortfolioChain$inboundSchema;
|
|
44496
|
+
GenericPortfolioChain$.outboundSchema = GenericPortfolioChain$outboundSchema;
|
|
44497
|
+
})(GenericPortfolioChain$ ||= {});
|
|
43849
44498
|
GenericPortfolioRequest$inboundSchema = objectType({
|
|
43850
|
-
chain:
|
|
44499
|
+
chain: GenericPortfolioChain$inboundSchema.default("arbitrum:mainnet"),
|
|
43851
44500
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B")
|
|
43852
44501
|
});
|
|
43853
44502
|
GenericPortfolioRequest$outboundSchema = objectType({
|
|
43854
|
-
chain:
|
|
44503
|
+
chain: GenericPortfolioChain$outboundSchema.default("arbitrum:mainnet"),
|
|
43855
44504
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B")
|
|
43856
44505
|
});
|
|
43857
44506
|
((GenericPortfolioRequest$) => {
|
|
@@ -43878,14 +44527,25 @@ var init_genericsupportedchains = __esm(() => {
|
|
|
43878
44527
|
});
|
|
43879
44528
|
|
|
43880
44529
|
// src/models/operations/genericsupportedtokens.ts
|
|
43881
|
-
var GenericSupportedTokensRequest$inboundSchema, GenericSupportedTokensRequest$outboundSchema, GenericSupportedTokensRequest$;
|
|
44530
|
+
var GenericSupportedTokensChain, GenericSupportedTokensChain$inboundSchema, GenericSupportedTokensChain$outboundSchema, GenericSupportedTokensChain$, GenericSupportedTokensRequest$inboundSchema, GenericSupportedTokensRequest$outboundSchema, GenericSupportedTokensRequest$;
|
|
43882
44531
|
var init_genericsupportedtokens = __esm(() => {
|
|
43883
44532
|
init_zod();
|
|
44533
|
+
GenericSupportedTokensChain = {
|
|
44534
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
44535
|
+
BaseMainnet: "base:mainnet",
|
|
44536
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
44537
|
+
};
|
|
44538
|
+
GenericSupportedTokensChain$inboundSchema = nativeEnumType(GenericSupportedTokensChain);
|
|
44539
|
+
GenericSupportedTokensChain$outboundSchema = GenericSupportedTokensChain$inboundSchema;
|
|
44540
|
+
((GenericSupportedTokensChain$) => {
|
|
44541
|
+
GenericSupportedTokensChain$.inboundSchema = GenericSupportedTokensChain$inboundSchema;
|
|
44542
|
+
GenericSupportedTokensChain$.outboundSchema = GenericSupportedTokensChain$outboundSchema;
|
|
44543
|
+
})(GenericSupportedTokensChain$ ||= {});
|
|
43884
44544
|
GenericSupportedTokensRequest$inboundSchema = objectType({
|
|
43885
|
-
chain:
|
|
44545
|
+
chain: GenericSupportedTokensChain$inboundSchema.default("arbitrum:mainnet")
|
|
43886
44546
|
});
|
|
43887
44547
|
GenericSupportedTokensRequest$outboundSchema = objectType({
|
|
43888
|
-
chain:
|
|
44548
|
+
chain: GenericSupportedTokensChain$outboundSchema.default("arbitrum:mainnet")
|
|
43889
44549
|
});
|
|
43890
44550
|
((GenericSupportedTokensRequest$) => {
|
|
43891
44551
|
GenericSupportedTokensRequest$.inboundSchema = GenericSupportedTokensRequest$inboundSchema;
|
|
@@ -43894,15 +44554,26 @@ var init_genericsupportedtokens = __esm(() => {
|
|
|
43894
44554
|
});
|
|
43895
44555
|
|
|
43896
44556
|
// src/models/operations/genericvisualizeportfolio.ts
|
|
43897
|
-
var GenericVisualizePortfolioRequest$inboundSchema, GenericVisualizePortfolioRequest$outboundSchema, GenericVisualizePortfolioRequest$;
|
|
44557
|
+
var GenericVisualizePortfolioChain, GenericVisualizePortfolioChain$inboundSchema, GenericVisualizePortfolioChain$outboundSchema, GenericVisualizePortfolioChain$, GenericVisualizePortfolioRequest$inboundSchema, GenericVisualizePortfolioRequest$outboundSchema, GenericVisualizePortfolioRequest$;
|
|
43898
44558
|
var init_genericvisualizeportfolio = __esm(() => {
|
|
43899
44559
|
init_zod();
|
|
44560
|
+
GenericVisualizePortfolioChain = {
|
|
44561
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
44562
|
+
BaseMainnet: "base:mainnet",
|
|
44563
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
44564
|
+
};
|
|
44565
|
+
GenericVisualizePortfolioChain$inboundSchema = nativeEnumType(GenericVisualizePortfolioChain);
|
|
44566
|
+
GenericVisualizePortfolioChain$outboundSchema = GenericVisualizePortfolioChain$inboundSchema;
|
|
44567
|
+
((GenericVisualizePortfolioChain$) => {
|
|
44568
|
+
GenericVisualizePortfolioChain$.inboundSchema = GenericVisualizePortfolioChain$inboundSchema;
|
|
44569
|
+
GenericVisualizePortfolioChain$.outboundSchema = GenericVisualizePortfolioChain$outboundSchema;
|
|
44570
|
+
})(GenericVisualizePortfolioChain$ ||= {});
|
|
43900
44571
|
GenericVisualizePortfolioRequest$inboundSchema = objectType({
|
|
43901
|
-
chain:
|
|
44572
|
+
chain: GenericVisualizePortfolioChain$inboundSchema.default("arbitrum:mainnet"),
|
|
43902
44573
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B")
|
|
43903
44574
|
});
|
|
43904
44575
|
GenericVisualizePortfolioRequest$outboundSchema = objectType({
|
|
43905
|
-
chain:
|
|
44576
|
+
chain: GenericVisualizePortfolioChain$outboundSchema.default("arbitrum:mainnet"),
|
|
43906
44577
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B")
|
|
43907
44578
|
});
|
|
43908
44579
|
((GenericVisualizePortfolioRequest$) => {
|
|
@@ -43912,12 +44583,22 @@ var init_genericvisualizeportfolio = __esm(() => {
|
|
|
43912
44583
|
});
|
|
43913
44584
|
|
|
43914
44585
|
// src/models/operations/morphomarket.ts
|
|
43915
|
-
var MorphoMarketRequest$inboundSchema, MorphoMarketRequest$outboundSchema, MorphoMarketRequest$;
|
|
44586
|
+
var MorphoMarketChain, MorphoMarketChain$inboundSchema, MorphoMarketChain$outboundSchema, MorphoMarketChain$, MorphoMarketRequest$inboundSchema, MorphoMarketRequest$outboundSchema, MorphoMarketRequest$;
|
|
43916
44587
|
var init_morphomarket2 = __esm(() => {
|
|
43917
44588
|
init_zod();
|
|
43918
44589
|
init_primitives();
|
|
44590
|
+
MorphoMarketChain = {
|
|
44591
|
+
BaseMainnet: "base:mainnet",
|
|
44592
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
44593
|
+
};
|
|
44594
|
+
MorphoMarketChain$inboundSchema = nativeEnumType(MorphoMarketChain);
|
|
44595
|
+
MorphoMarketChain$outboundSchema = MorphoMarketChain$inboundSchema;
|
|
44596
|
+
((MorphoMarketChain$) => {
|
|
44597
|
+
MorphoMarketChain$.inboundSchema = MorphoMarketChain$inboundSchema;
|
|
44598
|
+
MorphoMarketChain$.outboundSchema = MorphoMarketChain$outboundSchema;
|
|
44599
|
+
})(MorphoMarketChain$ ||= {});
|
|
43919
44600
|
MorphoMarketRequest$inboundSchema = objectType({
|
|
43920
|
-
chain:
|
|
44601
|
+
chain: MorphoMarketChain$inboundSchema.default("base:mainnet"),
|
|
43921
44602
|
unique_market_key: stringType().default("0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5")
|
|
43922
44603
|
}).transform((v2) => {
|
|
43923
44604
|
return remap(v2, {
|
|
@@ -43925,7 +44606,7 @@ var init_morphomarket2 = __esm(() => {
|
|
|
43925
44606
|
});
|
|
43926
44607
|
});
|
|
43927
44608
|
MorphoMarketRequest$outboundSchema = objectType({
|
|
43928
|
-
chain:
|
|
44609
|
+
chain: MorphoMarketChain$outboundSchema.default("base:mainnet"),
|
|
43929
44610
|
uniqueMarketKey: stringType().default("0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5")
|
|
43930
44611
|
}).transform((v2) => {
|
|
43931
44612
|
return remap(v2, {
|
|
@@ -43939,12 +44620,22 @@ var init_morphomarket2 = __esm(() => {
|
|
|
43939
44620
|
});
|
|
43940
44621
|
|
|
43941
44622
|
// src/models/operations/morphomarketposition.ts
|
|
43942
|
-
var MorphoMarketPositionRequest$inboundSchema, MorphoMarketPositionRequest$outboundSchema, MorphoMarketPositionRequest$;
|
|
44623
|
+
var MorphoMarketPositionChain, MorphoMarketPositionChain$inboundSchema, MorphoMarketPositionChain$outboundSchema, MorphoMarketPositionChain$, MorphoMarketPositionRequest$inboundSchema, MorphoMarketPositionRequest$outboundSchema, MorphoMarketPositionRequest$;
|
|
43943
44624
|
var init_morphomarketposition = __esm(() => {
|
|
43944
44625
|
init_zod();
|
|
43945
44626
|
init_primitives();
|
|
44627
|
+
MorphoMarketPositionChain = {
|
|
44628
|
+
BaseMainnet: "base:mainnet",
|
|
44629
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
44630
|
+
};
|
|
44631
|
+
MorphoMarketPositionChain$inboundSchema = nativeEnumType(MorphoMarketPositionChain);
|
|
44632
|
+
MorphoMarketPositionChain$outboundSchema = MorphoMarketPositionChain$inboundSchema;
|
|
44633
|
+
((MorphoMarketPositionChain$) => {
|
|
44634
|
+
MorphoMarketPositionChain$.inboundSchema = MorphoMarketPositionChain$inboundSchema;
|
|
44635
|
+
MorphoMarketPositionChain$.outboundSchema = MorphoMarketPositionChain$outboundSchema;
|
|
44636
|
+
})(MorphoMarketPositionChain$ ||= {});
|
|
43946
44637
|
MorphoMarketPositionRequest$inboundSchema = objectType({
|
|
43947
|
-
chain:
|
|
44638
|
+
chain: MorphoMarketPositionChain$inboundSchema.default("base:mainnet"),
|
|
43948
44639
|
user_address: stringType().default("0x81d310Eb515E05EB26322e2DeDE9e75b754885A4"),
|
|
43949
44640
|
unique_market_key: stringType().default("0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5")
|
|
43950
44641
|
}).transform((v2) => {
|
|
@@ -43954,7 +44645,7 @@ var init_morphomarketposition = __esm(() => {
|
|
|
43954
44645
|
});
|
|
43955
44646
|
});
|
|
43956
44647
|
MorphoMarketPositionRequest$outboundSchema = objectType({
|
|
43957
|
-
chain:
|
|
44648
|
+
chain: MorphoMarketPositionChain$outboundSchema.default("base:mainnet"),
|
|
43958
44649
|
userAddress: stringType().default("0x81d310Eb515E05EB26322e2DeDE9e75b754885A4"),
|
|
43959
44650
|
uniqueMarketKey: stringType().default("0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5")
|
|
43960
44651
|
}).transform((v2) => {
|
|
@@ -43970,11 +44661,21 @@ var init_morphomarketposition = __esm(() => {
|
|
|
43970
44661
|
});
|
|
43971
44662
|
|
|
43972
44663
|
// src/models/operations/morphomarkets.ts
|
|
43973
|
-
var CollateralToken$inboundSchema, CollateralToken$outboundSchema, CollateralToken$, LoanToken$inboundSchema, LoanToken$outboundSchema, LoanToken$, MorphoMarketsRequest$inboundSchema, MorphoMarketsRequest$outboundSchema, MorphoMarketsRequest$;
|
|
44664
|
+
var MorphoMarketsChain, MorphoMarketsChain$inboundSchema, MorphoMarketsChain$outboundSchema, MorphoMarketsChain$, CollateralToken$inboundSchema, CollateralToken$outboundSchema, CollateralToken$, LoanToken$inboundSchema, LoanToken$outboundSchema, LoanToken$, MorphoMarketsRequest$inboundSchema, MorphoMarketsRequest$outboundSchema, MorphoMarketsRequest$;
|
|
43974
44665
|
var init_morphomarkets = __esm(() => {
|
|
43975
44666
|
init_zod();
|
|
43976
44667
|
init_primitives();
|
|
43977
44668
|
init_components();
|
|
44669
|
+
MorphoMarketsChain = {
|
|
44670
|
+
BaseMainnet: "base:mainnet",
|
|
44671
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
44672
|
+
};
|
|
44673
|
+
MorphoMarketsChain$inboundSchema = nativeEnumType(MorphoMarketsChain);
|
|
44674
|
+
MorphoMarketsChain$outboundSchema = MorphoMarketsChain$inboundSchema;
|
|
44675
|
+
((MorphoMarketsChain$) => {
|
|
44676
|
+
MorphoMarketsChain$.inboundSchema = MorphoMarketsChain$inboundSchema;
|
|
44677
|
+
MorphoMarketsChain$.outboundSchema = MorphoMarketsChain$outboundSchema;
|
|
44678
|
+
})(MorphoMarketsChain$ ||= {});
|
|
43978
44679
|
CollateralToken$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
43979
44680
|
CollateralToken$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
|
|
43980
44681
|
((CollateralToken$) => {
|
|
@@ -43988,7 +44689,7 @@ var init_morphomarkets = __esm(() => {
|
|
|
43988
44689
|
LoanToken$.outboundSchema = LoanToken$outboundSchema;
|
|
43989
44690
|
})(LoanToken$ ||= {});
|
|
43990
44691
|
MorphoMarketsRequest$inboundSchema = objectType({
|
|
43991
|
-
chain:
|
|
44692
|
+
chain: MorphoMarketsChain$inboundSchema.default("base:mainnet"),
|
|
43992
44693
|
collateral_token: nullableType(unionType([TokenEnum$inboundSchema, stringType()])).optional(),
|
|
43993
44694
|
loan_token: nullableType(unionType([TokenEnum$inboundSchema, stringType()])).optional()
|
|
43994
44695
|
}).transform((v2) => {
|
|
@@ -43998,7 +44699,7 @@ var init_morphomarkets = __esm(() => {
|
|
|
43998
44699
|
});
|
|
43999
44700
|
});
|
|
44000
44701
|
MorphoMarketsRequest$outboundSchema = objectType({
|
|
44001
|
-
chain:
|
|
44702
|
+
chain: MorphoMarketsChain$outboundSchema.default("base:mainnet"),
|
|
44002
44703
|
collateralToken: nullableType(unionType([TokenEnum$outboundSchema, stringType()])).optional(),
|
|
44003
44704
|
loanToken: nullableType(unionType([TokenEnum$outboundSchema, stringType()])).optional()
|
|
44004
44705
|
}).transform((v2) => {
|
|
@@ -44014,12 +44715,22 @@ var init_morphomarkets = __esm(() => {
|
|
|
44014
44715
|
});
|
|
44015
44716
|
|
|
44016
44717
|
// src/models/operations/morphouserposition.ts
|
|
44017
|
-
var MorphoUserPositionRequest$inboundSchema, MorphoUserPositionRequest$outboundSchema, MorphoUserPositionRequest$;
|
|
44718
|
+
var MorphoUserPositionChain, MorphoUserPositionChain$inboundSchema, MorphoUserPositionChain$outboundSchema, MorphoUserPositionChain$, MorphoUserPositionRequest$inboundSchema, MorphoUserPositionRequest$outboundSchema, MorphoUserPositionRequest$;
|
|
44018
44719
|
var init_morphouserposition = __esm(() => {
|
|
44019
44720
|
init_zod();
|
|
44020
44721
|
init_primitives();
|
|
44722
|
+
MorphoUserPositionChain = {
|
|
44723
|
+
BaseMainnet: "base:mainnet",
|
|
44724
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
44725
|
+
};
|
|
44726
|
+
MorphoUserPositionChain$inboundSchema = nativeEnumType(MorphoUserPositionChain);
|
|
44727
|
+
MorphoUserPositionChain$outboundSchema = MorphoUserPositionChain$inboundSchema;
|
|
44728
|
+
((MorphoUserPositionChain$) => {
|
|
44729
|
+
MorphoUserPositionChain$.inboundSchema = MorphoUserPositionChain$inboundSchema;
|
|
44730
|
+
MorphoUserPositionChain$.outboundSchema = MorphoUserPositionChain$outboundSchema;
|
|
44731
|
+
})(MorphoUserPositionChain$ ||= {});
|
|
44021
44732
|
MorphoUserPositionRequest$inboundSchema = objectType({
|
|
44022
|
-
chain:
|
|
44733
|
+
chain: MorphoUserPositionChain$inboundSchema.default("base:mainnet"),
|
|
44023
44734
|
user_address: stringType().default("0x81d310Eb515E05EB26322e2DeDE9e75b754885A4")
|
|
44024
44735
|
}).transform((v2) => {
|
|
44025
44736
|
return remap(v2, {
|
|
@@ -44027,7 +44738,7 @@ var init_morphouserposition = __esm(() => {
|
|
|
44027
44738
|
});
|
|
44028
44739
|
});
|
|
44029
44740
|
MorphoUserPositionRequest$outboundSchema = objectType({
|
|
44030
|
-
chain:
|
|
44741
|
+
chain: MorphoUserPositionChain$outboundSchema.default("base:mainnet"),
|
|
44031
44742
|
userAddress: stringType().default("0x81d310Eb515E05EB26322e2DeDE9e75b754885A4")
|
|
44032
44743
|
}).transform((v2) => {
|
|
44033
44744
|
return remap(v2, {
|
|
@@ -44041,12 +44752,23 @@ var init_morphouserposition = __esm(() => {
|
|
|
44041
44752
|
});
|
|
44042
44753
|
|
|
44043
44754
|
// src/models/operations/morphovault.ts
|
|
44044
|
-
var MorphoVaultRequest$inboundSchema, MorphoVaultRequest$outboundSchema, MorphoVaultRequest$;
|
|
44755
|
+
var MorphoVaultChain, MorphoVaultChain$inboundSchema, MorphoVaultChain$outboundSchema, MorphoVaultChain$, MorphoVaultRequest$inboundSchema, MorphoVaultRequest$outboundSchema, MorphoVaultRequest$;
|
|
44045
44756
|
var init_morphovault2 = __esm(() => {
|
|
44046
44757
|
init_zod();
|
|
44047
44758
|
init_primitives();
|
|
44759
|
+
MorphoVaultChain = {
|
|
44760
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
44761
|
+
BaseMainnet: "base:mainnet",
|
|
44762
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
44763
|
+
};
|
|
44764
|
+
MorphoVaultChain$inboundSchema = nativeEnumType(MorphoVaultChain);
|
|
44765
|
+
MorphoVaultChain$outboundSchema = MorphoVaultChain$inboundSchema;
|
|
44766
|
+
((MorphoVaultChain$) => {
|
|
44767
|
+
MorphoVaultChain$.inboundSchema = MorphoVaultChain$inboundSchema;
|
|
44768
|
+
MorphoVaultChain$.outboundSchema = MorphoVaultChain$outboundSchema;
|
|
44769
|
+
})(MorphoVaultChain$ ||= {});
|
|
44048
44770
|
MorphoVaultRequest$inboundSchema = objectType({
|
|
44049
|
-
chain:
|
|
44771
|
+
chain: MorphoVaultChain$inboundSchema.default("ethereum:mainnet"),
|
|
44050
44772
|
block: nullableType(numberType().int()).optional(),
|
|
44051
44773
|
vault_address: stringType().default("0x182863131F9a4630fF9E27830d945B1413e347E8"),
|
|
44052
44774
|
user_address: nullableType(stringType()).optional()
|
|
@@ -44057,7 +44779,7 @@ var init_morphovault2 = __esm(() => {
|
|
|
44057
44779
|
});
|
|
44058
44780
|
});
|
|
44059
44781
|
MorphoVaultRequest$outboundSchema = objectType({
|
|
44060
|
-
chain:
|
|
44782
|
+
chain: MorphoVaultChain$outboundSchema.default("ethereum:mainnet"),
|
|
44061
44783
|
block: nullableType(numberType().int()).optional(),
|
|
44062
44784
|
vaultAddress: stringType().default("0x182863131F9a4630fF9E27830d945B1413e347E8"),
|
|
44063
44785
|
userAddress: nullableType(stringType()).optional()
|
|
@@ -44074,11 +44796,21 @@ var init_morphovault2 = __esm(() => {
|
|
|
44074
44796
|
});
|
|
44075
44797
|
|
|
44076
44798
|
// src/models/operations/morphovaults.ts
|
|
44077
|
-
var DepositToken$inboundSchema, DepositToken$outboundSchema, DepositToken$, MorphoVaultsRequest$inboundSchema, MorphoVaultsRequest$outboundSchema, MorphoVaultsRequest$;
|
|
44799
|
+
var MorphoVaultsChain, MorphoVaultsChain$inboundSchema, MorphoVaultsChain$outboundSchema, MorphoVaultsChain$, DepositToken$inboundSchema, DepositToken$outboundSchema, DepositToken$, MorphoVaultsRequest$inboundSchema, MorphoVaultsRequest$outboundSchema, MorphoVaultsRequest$;
|
|
44078
44800
|
var init_morphovaults = __esm(() => {
|
|
44079
44801
|
init_zod();
|
|
44080
44802
|
init_primitives();
|
|
44081
44803
|
init_components();
|
|
44804
|
+
MorphoVaultsChain = {
|
|
44805
|
+
BaseMainnet: "base:mainnet",
|
|
44806
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
44807
|
+
};
|
|
44808
|
+
MorphoVaultsChain$inboundSchema = nativeEnumType(MorphoVaultsChain);
|
|
44809
|
+
MorphoVaultsChain$outboundSchema = MorphoVaultsChain$inboundSchema;
|
|
44810
|
+
((MorphoVaultsChain$) => {
|
|
44811
|
+
MorphoVaultsChain$.inboundSchema = MorphoVaultsChain$inboundSchema;
|
|
44812
|
+
MorphoVaultsChain$.outboundSchema = MorphoVaultsChain$outboundSchema;
|
|
44813
|
+
})(MorphoVaultsChain$ ||= {});
|
|
44082
44814
|
DepositToken$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
44083
44815
|
DepositToken$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
|
|
44084
44816
|
((DepositToken$) => {
|
|
@@ -44086,7 +44818,7 @@ var init_morphovaults = __esm(() => {
|
|
|
44086
44818
|
DepositToken$.outboundSchema = DepositToken$outboundSchema;
|
|
44087
44819
|
})(DepositToken$ ||= {});
|
|
44088
44820
|
MorphoVaultsRequest$inboundSchema = objectType({
|
|
44089
|
-
chain:
|
|
44821
|
+
chain: MorphoVaultsChain$inboundSchema.default("base:mainnet"),
|
|
44090
44822
|
deposit_token: nullableType(unionType([TokenEnum$inboundSchema, stringType()])).optional()
|
|
44091
44823
|
}).transform((v2) => {
|
|
44092
44824
|
return remap(v2, {
|
|
@@ -44094,7 +44826,7 @@ var init_morphovaults = __esm(() => {
|
|
|
44094
44826
|
});
|
|
44095
44827
|
});
|
|
44096
44828
|
MorphoVaultsRequest$outboundSchema = objectType({
|
|
44097
|
-
chain:
|
|
44829
|
+
chain: MorphoVaultsChain$outboundSchema.default("base:mainnet"),
|
|
44098
44830
|
depositToken: nullableType(unionType([TokenEnum$outboundSchema, stringType()])).optional()
|
|
44099
44831
|
}).transform((v2) => {
|
|
44100
44832
|
return remap(v2, {
|
|
@@ -44108,12 +44840,23 @@ var init_morphovaults = __esm(() => {
|
|
|
44108
44840
|
});
|
|
44109
44841
|
|
|
44110
44842
|
// src/models/operations/pendlemarket.ts
|
|
44111
|
-
var PendleMarketRequest$inboundSchema, PendleMarketRequest$outboundSchema, PendleMarketRequest$;
|
|
44843
|
+
var PendleMarketChain, PendleMarketChain$inboundSchema, PendleMarketChain$outboundSchema, PendleMarketChain$, PendleMarketRequest$inboundSchema, PendleMarketRequest$outboundSchema, PendleMarketRequest$;
|
|
44112
44844
|
var init_pendlemarket2 = __esm(() => {
|
|
44113
44845
|
init_zod();
|
|
44114
44846
|
init_primitives();
|
|
44847
|
+
PendleMarketChain = {
|
|
44848
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
44849
|
+
BaseMainnet: "base:mainnet",
|
|
44850
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
44851
|
+
};
|
|
44852
|
+
PendleMarketChain$inboundSchema = nativeEnumType(PendleMarketChain);
|
|
44853
|
+
PendleMarketChain$outboundSchema = PendleMarketChain$inboundSchema;
|
|
44854
|
+
((PendleMarketChain$) => {
|
|
44855
|
+
PendleMarketChain$.inboundSchema = PendleMarketChain$inboundSchema;
|
|
44856
|
+
PendleMarketChain$.outboundSchema = PendleMarketChain$outboundSchema;
|
|
44857
|
+
})(PendleMarketChain$ ||= {});
|
|
44115
44858
|
PendleMarketRequest$inboundSchema = objectType({
|
|
44116
|
-
chain:
|
|
44859
|
+
chain: PendleMarketChain$inboundSchema.default("arbitrum:mainnet"),
|
|
44117
44860
|
block: nullableType(numberType().int()).optional(),
|
|
44118
44861
|
market_address: stringType().default("0x46d62a8dede1bf2d0de04f2ed863245cbba5e538"),
|
|
44119
44862
|
user_address: nullableType(stringType()).optional()
|
|
@@ -44124,7 +44867,7 @@ var init_pendlemarket2 = __esm(() => {
|
|
|
44124
44867
|
});
|
|
44125
44868
|
});
|
|
44126
44869
|
PendleMarketRequest$outboundSchema = objectType({
|
|
44127
|
-
chain:
|
|
44870
|
+
chain: PendleMarketChain$outboundSchema.default("arbitrum:mainnet"),
|
|
44128
44871
|
block: nullableType(numberType().int()).optional(),
|
|
44129
44872
|
marketAddress: stringType().default("0x46d62a8dede1bf2d0de04f2ed863245cbba5e538"),
|
|
44130
44873
|
userAddress: nullableType(stringType()).optional()
|
|
@@ -44141,14 +44884,25 @@ var init_pendlemarket2 = __esm(() => {
|
|
|
44141
44884
|
});
|
|
44142
44885
|
|
|
44143
44886
|
// src/models/operations/pendlemarkets.ts
|
|
44144
|
-
var PendleMarketsRequest$inboundSchema, PendleMarketsRequest$outboundSchema, PendleMarketsRequest$;
|
|
44887
|
+
var PendleMarketsChain, PendleMarketsChain$inboundSchema, PendleMarketsChain$outboundSchema, PendleMarketsChain$, PendleMarketsRequest$inboundSchema, PendleMarketsRequest$outboundSchema, PendleMarketsRequest$;
|
|
44145
44888
|
var init_pendlemarkets = __esm(() => {
|
|
44146
44889
|
init_zod();
|
|
44890
|
+
PendleMarketsChain = {
|
|
44891
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
44892
|
+
BaseMainnet: "base:mainnet",
|
|
44893
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
44894
|
+
};
|
|
44895
|
+
PendleMarketsChain$inboundSchema = nativeEnumType(PendleMarketsChain);
|
|
44896
|
+
PendleMarketsChain$outboundSchema = PendleMarketsChain$inboundSchema;
|
|
44897
|
+
((PendleMarketsChain$) => {
|
|
44898
|
+
PendleMarketsChain$.inboundSchema = PendleMarketsChain$inboundSchema;
|
|
44899
|
+
PendleMarketsChain$.outboundSchema = PendleMarketsChain$outboundSchema;
|
|
44900
|
+
})(PendleMarketsChain$ ||= {});
|
|
44147
44901
|
PendleMarketsRequest$inboundSchema = objectType({
|
|
44148
|
-
chain:
|
|
44902
|
+
chain: PendleMarketsChain$inboundSchema.default("arbitrum:mainnet")
|
|
44149
44903
|
});
|
|
44150
44904
|
PendleMarketsRequest$outboundSchema = objectType({
|
|
44151
|
-
chain:
|
|
44905
|
+
chain: PendleMarketsChain$outboundSchema.default("arbitrum:mainnet")
|
|
44152
44906
|
});
|
|
44153
44907
|
((PendleMarketsRequest$) => {
|
|
44154
44908
|
PendleMarketsRequest$.inboundSchema = PendleMarketsRequest$inboundSchema;
|
|
@@ -44157,12 +44911,23 @@ var init_pendlemarkets = __esm(() => {
|
|
|
44157
44911
|
});
|
|
44158
44912
|
|
|
44159
44913
|
// src/models/operations/pendlepositions.ts
|
|
44160
|
-
var PendlePositionsRequest$inboundSchema, PendlePositionsRequest$outboundSchema, PendlePositionsRequest$;
|
|
44914
|
+
var PendlePositionsChain, PendlePositionsChain$inboundSchema, PendlePositionsChain$outboundSchema, PendlePositionsChain$, PendlePositionsRequest$inboundSchema, PendlePositionsRequest$outboundSchema, PendlePositionsRequest$;
|
|
44161
44915
|
var init_pendlepositions = __esm(() => {
|
|
44162
44916
|
init_zod();
|
|
44163
44917
|
init_primitives();
|
|
44918
|
+
PendlePositionsChain = {
|
|
44919
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
44920
|
+
BaseMainnet: "base:mainnet",
|
|
44921
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
44922
|
+
};
|
|
44923
|
+
PendlePositionsChain$inboundSchema = nativeEnumType(PendlePositionsChain);
|
|
44924
|
+
PendlePositionsChain$outboundSchema = PendlePositionsChain$inboundSchema;
|
|
44925
|
+
((PendlePositionsChain$) => {
|
|
44926
|
+
PendlePositionsChain$.inboundSchema = PendlePositionsChain$inboundSchema;
|
|
44927
|
+
PendlePositionsChain$.outboundSchema = PendlePositionsChain$outboundSchema;
|
|
44928
|
+
})(PendlePositionsChain$ ||= {});
|
|
44164
44929
|
PendlePositionsRequest$inboundSchema = objectType({
|
|
44165
|
-
chain:
|
|
44930
|
+
chain: PendlePositionsChain$inboundSchema.default("arbitrum:mainnet"),
|
|
44166
44931
|
user_address: stringType().default("0xB7954A07213413b2ec6Faa1360f56a498eACe10b")
|
|
44167
44932
|
}).transform((v2) => {
|
|
44168
44933
|
return remap(v2, {
|
|
@@ -44170,7 +44935,7 @@ var init_pendlepositions = __esm(() => {
|
|
|
44170
44935
|
});
|
|
44171
44936
|
});
|
|
44172
44937
|
PendlePositionsRequest$outboundSchema = objectType({
|
|
44173
|
-
chain:
|
|
44938
|
+
chain: PendlePositionsChain$outboundSchema.default("arbitrum:mainnet"),
|
|
44174
44939
|
userAddress: stringType().default("0xB7954A07213413b2ec6Faa1360f56a498eACe10b")
|
|
44175
44940
|
}).transform((v2) => {
|
|
44176
44941
|
return remap(v2, {
|
|
@@ -44184,10 +44949,15 @@ var init_pendlepositions = __esm(() => {
|
|
|
44184
44949
|
});
|
|
44185
44950
|
|
|
44186
44951
|
// src/models/operations/pendlequote.ts
|
|
44187
|
-
var TokenType, TradeType, Amount$inboundSchema, Amount$outboundSchema, Amount$, TokenType$inboundSchema, TokenType$outboundSchema, TokenType$, TradeType$inboundSchema, TradeType$outboundSchema, TradeType$, PendleQuoteRequest$inboundSchema, PendleQuoteRequest$outboundSchema, PendleQuoteRequest$;
|
|
44952
|
+
var PendleQuoteChain, TokenType, TradeType, PendleQuoteChain$inboundSchema, PendleQuoteChain$outboundSchema, PendleQuoteChain$, Amount$inboundSchema, Amount$outboundSchema, Amount$, TokenType$inboundSchema, TokenType$outboundSchema, TokenType$, TradeType$inboundSchema, TradeType$outboundSchema, TradeType$, PendleQuoteRequest$inboundSchema, PendleQuoteRequest$outboundSchema, PendleQuoteRequest$;
|
|
44188
44953
|
var init_pendlequote = __esm(() => {
|
|
44189
44954
|
init_zod();
|
|
44190
44955
|
init_primitives();
|
|
44956
|
+
PendleQuoteChain = {
|
|
44957
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
44958
|
+
BaseMainnet: "base:mainnet",
|
|
44959
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
44960
|
+
};
|
|
44191
44961
|
TokenType = {
|
|
44192
44962
|
Pt: "PT",
|
|
44193
44963
|
Yt: "YT",
|
|
@@ -44197,6 +44967,12 @@ var init_pendlequote = __esm(() => {
|
|
|
44197
44967
|
Buy: "BUY",
|
|
44198
44968
|
Sell: "SELL"
|
|
44199
44969
|
};
|
|
44970
|
+
PendleQuoteChain$inboundSchema = nativeEnumType(PendleQuoteChain);
|
|
44971
|
+
PendleQuoteChain$outboundSchema = PendleQuoteChain$inboundSchema;
|
|
44972
|
+
((PendleQuoteChain$) => {
|
|
44973
|
+
PendleQuoteChain$.inboundSchema = PendleQuoteChain$inboundSchema;
|
|
44974
|
+
PendleQuoteChain$.outboundSchema = PendleQuoteChain$outboundSchema;
|
|
44975
|
+
})(PendleQuoteChain$ ||= {});
|
|
44200
44976
|
Amount$inboundSchema = unionType([numberType(), stringType()]);
|
|
44201
44977
|
Amount$outboundSchema = unionType([numberType(), stringType()]);
|
|
44202
44978
|
((Amount$) => {
|
|
@@ -44216,7 +44992,7 @@ var init_pendlequote = __esm(() => {
|
|
|
44216
44992
|
TradeType$.outboundSchema = TradeType$outboundSchema;
|
|
44217
44993
|
})(TradeType$ ||= {});
|
|
44218
44994
|
PendleQuoteRequest$inboundSchema = objectType({
|
|
44219
|
-
chain:
|
|
44995
|
+
chain: PendleQuoteChain$inboundSchema.default("arbitrum:mainnet"),
|
|
44220
44996
|
block: nullableType(numberType().int()).optional(),
|
|
44221
44997
|
market_address: stringType().default("0x46d62a8dede1bf2d0de04f2ed863245cbba5e538"),
|
|
44222
44998
|
amount: unionType([numberType(), stringType()]),
|
|
@@ -44230,7 +45006,7 @@ var init_pendlequote = __esm(() => {
|
|
|
44230
45006
|
});
|
|
44231
45007
|
});
|
|
44232
45008
|
PendleQuoteRequest$outboundSchema = objectType({
|
|
44233
|
-
chain:
|
|
45009
|
+
chain: PendleQuoteChain$outboundSchema.default("arbitrum:mainnet"),
|
|
44234
45010
|
block: nullableType(numberType().int()).optional(),
|
|
44235
45011
|
marketAddress: stringType().default("0x46d62a8dede1bf2d0de04f2ed863245cbba5e538"),
|
|
44236
45012
|
amount: unionType([numberType(), stringType()]),
|
|
@@ -44250,12 +45026,21 @@ var init_pendlequote = __esm(() => {
|
|
|
44250
45026
|
});
|
|
44251
45027
|
|
|
44252
45028
|
// src/models/operations/skyposition.ts
|
|
44253
|
-
var SkyPositionRequest$inboundSchema, SkyPositionRequest$outboundSchema, SkyPositionRequest$;
|
|
45029
|
+
var SkyPositionChain, SkyPositionChain$inboundSchema, SkyPositionChain$outboundSchema, SkyPositionChain$, SkyPositionRequest$inboundSchema, SkyPositionRequest$outboundSchema, SkyPositionRequest$;
|
|
44254
45030
|
var init_skyposition = __esm(() => {
|
|
44255
45031
|
init_zod();
|
|
44256
45032
|
init_primitives();
|
|
45033
|
+
SkyPositionChain = {
|
|
45034
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
45035
|
+
};
|
|
45036
|
+
SkyPositionChain$inboundSchema = nativeEnumType(SkyPositionChain);
|
|
45037
|
+
SkyPositionChain$outboundSchema = SkyPositionChain$inboundSchema;
|
|
45038
|
+
((SkyPositionChain$) => {
|
|
45039
|
+
SkyPositionChain$.inboundSchema = SkyPositionChain$inboundSchema;
|
|
45040
|
+
SkyPositionChain$.outboundSchema = SkyPositionChain$outboundSchema;
|
|
45041
|
+
})(SkyPositionChain$ ||= {});
|
|
44257
45042
|
SkyPositionRequest$inboundSchema = objectType({
|
|
44258
|
-
chain:
|
|
45043
|
+
chain: SkyPositionChain$inboundSchema.default("ethereum:mainnet"),
|
|
44259
45044
|
user_address: stringType().default("0xa829B388A3DF7f581cE957a95edbe419dd146d1B")
|
|
44260
45045
|
}).transform((v2) => {
|
|
44261
45046
|
return remap(v2, {
|
|
@@ -44263,7 +45048,7 @@ var init_skyposition = __esm(() => {
|
|
|
44263
45048
|
});
|
|
44264
45049
|
});
|
|
44265
45050
|
SkyPositionRequest$outboundSchema = objectType({
|
|
44266
|
-
chain:
|
|
45051
|
+
chain: SkyPositionChain$outboundSchema.default("ethereum:mainnet"),
|
|
44267
45052
|
userAddress: stringType().default("0xa829B388A3DF7f581cE957a95edbe419dd146d1B")
|
|
44268
45053
|
}).transform((v2) => {
|
|
44269
45054
|
return remap(v2, {
|
|
@@ -44277,9 +45062,14 @@ var init_skyposition = __esm(() => {
|
|
|
44277
45062
|
});
|
|
44278
45063
|
|
|
44279
45064
|
// src/models/operations/tokenaddress.ts
|
|
44280
|
-
var TokenAddressToken, TokenAddressToken$inboundSchema, TokenAddressToken$outboundSchema, TokenAddressToken$, TokenAddressRequest$inboundSchema, TokenAddressRequest$outboundSchema, TokenAddressRequest$;
|
|
45065
|
+
var TokenAddressChain, TokenAddressToken, TokenAddressChain$inboundSchema, TokenAddressChain$outboundSchema, TokenAddressChain$, TokenAddressToken$inboundSchema, TokenAddressToken$outboundSchema, TokenAddressToken$, TokenAddressRequest$inboundSchema, TokenAddressRequest$outboundSchema, TokenAddressRequest$;
|
|
44281
45066
|
var init_tokenaddress = __esm(() => {
|
|
44282
45067
|
init_zod();
|
|
45068
|
+
TokenAddressChain = {
|
|
45069
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
45070
|
+
BaseMainnet: "base:mainnet",
|
|
45071
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
45072
|
+
};
|
|
44283
45073
|
TokenAddressToken = {
|
|
44284
45074
|
OneINCH: "1INCH",
|
|
44285
45075
|
Aave: "AAVE",
|
|
@@ -44328,6 +45118,12 @@ var init_tokenaddress = __esm(() => {
|
|
|
44328
45118
|
EzETH: "ezETH",
|
|
44329
45119
|
Cyber: "CYBER"
|
|
44330
45120
|
};
|
|
45121
|
+
TokenAddressChain$inboundSchema = nativeEnumType(TokenAddressChain);
|
|
45122
|
+
TokenAddressChain$outboundSchema = TokenAddressChain$inboundSchema;
|
|
45123
|
+
((TokenAddressChain$) => {
|
|
45124
|
+
TokenAddressChain$.inboundSchema = TokenAddressChain$inboundSchema;
|
|
45125
|
+
TokenAddressChain$.outboundSchema = TokenAddressChain$outboundSchema;
|
|
45126
|
+
})(TokenAddressChain$ ||= {});
|
|
44331
45127
|
TokenAddressToken$inboundSchema = nativeEnumType(TokenAddressToken);
|
|
44332
45128
|
TokenAddressToken$outboundSchema = TokenAddressToken$inboundSchema;
|
|
44333
45129
|
((TokenAddressToken$) => {
|
|
@@ -44335,11 +45131,11 @@ var init_tokenaddress = __esm(() => {
|
|
|
44335
45131
|
TokenAddressToken$.outboundSchema = TokenAddressToken$outboundSchema;
|
|
44336
45132
|
})(TokenAddressToken$ ||= {});
|
|
44337
45133
|
TokenAddressRequest$inboundSchema = objectType({
|
|
44338
|
-
chain:
|
|
45134
|
+
chain: TokenAddressChain$inboundSchema.default("arbitrum:mainnet"),
|
|
44339
45135
|
token: TokenAddressToken$inboundSchema.default("WETH")
|
|
44340
45136
|
});
|
|
44341
45137
|
TokenAddressRequest$outboundSchema = objectType({
|
|
44342
|
-
chain:
|
|
45138
|
+
chain: TokenAddressChain$outboundSchema.default("arbitrum:mainnet"),
|
|
44343
45139
|
token: TokenAddressToken$outboundSchema.default("WETH")
|
|
44344
45140
|
});
|
|
44345
45141
|
((TokenAddressRequest$) => {
|
|
@@ -44349,10 +45145,21 @@ var init_tokenaddress = __esm(() => {
|
|
|
44349
45145
|
});
|
|
44350
45146
|
|
|
44351
45147
|
// src/models/operations/tokenbalance.ts
|
|
44352
|
-
var TokenBalanceToken$inboundSchema, TokenBalanceToken$outboundSchema, TokenBalanceToken$, TokenBalanceRequest$inboundSchema, TokenBalanceRequest$outboundSchema, TokenBalanceRequest$;
|
|
45148
|
+
var TokenBalanceChain, TokenBalanceChain$inboundSchema, TokenBalanceChain$outboundSchema, TokenBalanceChain$, TokenBalanceToken$inboundSchema, TokenBalanceToken$outboundSchema, TokenBalanceToken$, TokenBalanceRequest$inboundSchema, TokenBalanceRequest$outboundSchema, TokenBalanceRequest$;
|
|
44353
45149
|
var init_tokenbalance = __esm(() => {
|
|
44354
45150
|
init_zod();
|
|
44355
45151
|
init_components();
|
|
45152
|
+
TokenBalanceChain = {
|
|
45153
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
45154
|
+
BaseMainnet: "base:mainnet",
|
|
45155
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
45156
|
+
};
|
|
45157
|
+
TokenBalanceChain$inboundSchema = nativeEnumType(TokenBalanceChain);
|
|
45158
|
+
TokenBalanceChain$outboundSchema = TokenBalanceChain$inboundSchema;
|
|
45159
|
+
((TokenBalanceChain$) => {
|
|
45160
|
+
TokenBalanceChain$.inboundSchema = TokenBalanceChain$inboundSchema;
|
|
45161
|
+
TokenBalanceChain$.outboundSchema = TokenBalanceChain$outboundSchema;
|
|
45162
|
+
})(TokenBalanceChain$ ||= {});
|
|
44356
45163
|
TokenBalanceToken$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
44357
45164
|
TokenBalanceToken$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
|
|
44358
45165
|
((TokenBalanceToken$) => {
|
|
@@ -44360,12 +45167,12 @@ var init_tokenbalance = __esm(() => {
|
|
|
44360
45167
|
TokenBalanceToken$.outboundSchema = TokenBalanceToken$outboundSchema;
|
|
44361
45168
|
})(TokenBalanceToken$ ||= {});
|
|
44362
45169
|
TokenBalanceRequest$inboundSchema = objectType({
|
|
44363
|
-
chain:
|
|
45170
|
+
chain: TokenBalanceChain$inboundSchema.default("arbitrum:mainnet"),
|
|
44364
45171
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B"),
|
|
44365
45172
|
token: unionType([TokenEnum$inboundSchema, stringType()])
|
|
44366
45173
|
});
|
|
44367
45174
|
TokenBalanceRequest$outboundSchema = objectType({
|
|
44368
|
-
chain:
|
|
45175
|
+
chain: TokenBalanceChain$outboundSchema.default("arbitrum:mainnet"),
|
|
44369
45176
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B"),
|
|
44370
45177
|
token: unionType([TokenEnum$outboundSchema, stringType()])
|
|
44371
45178
|
});
|
|
@@ -44376,10 +45183,21 @@ var init_tokenbalance = __esm(() => {
|
|
|
44376
45183
|
});
|
|
44377
45184
|
|
|
44378
45185
|
// src/models/operations/tokenprice.ts
|
|
44379
|
-
var TokenPriceToken$inboundSchema, TokenPriceToken$outboundSchema, TokenPriceToken$, TokenPriceRequest$inboundSchema, TokenPriceRequest$outboundSchema, TokenPriceRequest$;
|
|
45186
|
+
var TokenPriceChain, TokenPriceChain$inboundSchema, TokenPriceChain$outboundSchema, TokenPriceChain$, TokenPriceToken$inboundSchema, TokenPriceToken$outboundSchema, TokenPriceToken$, TokenPriceRequest$inboundSchema, TokenPriceRequest$outboundSchema, TokenPriceRequest$;
|
|
44380
45187
|
var init_tokenprice = __esm(() => {
|
|
44381
45188
|
init_zod();
|
|
44382
45189
|
init_components();
|
|
45190
|
+
TokenPriceChain = {
|
|
45191
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
45192
|
+
BaseMainnet: "base:mainnet",
|
|
45193
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
45194
|
+
};
|
|
45195
|
+
TokenPriceChain$inboundSchema = nativeEnumType(TokenPriceChain);
|
|
45196
|
+
TokenPriceChain$outboundSchema = TokenPriceChain$inboundSchema;
|
|
45197
|
+
((TokenPriceChain$) => {
|
|
45198
|
+
TokenPriceChain$.inboundSchema = TokenPriceChain$inboundSchema;
|
|
45199
|
+
TokenPriceChain$.outboundSchema = TokenPriceChain$outboundSchema;
|
|
45200
|
+
})(TokenPriceChain$ ||= {});
|
|
44383
45201
|
TokenPriceToken$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
44384
45202
|
TokenPriceToken$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
|
|
44385
45203
|
((TokenPriceToken$) => {
|
|
@@ -44387,12 +45205,12 @@ var init_tokenprice = __esm(() => {
|
|
|
44387
45205
|
TokenPriceToken$.outboundSchema = TokenPriceToken$outboundSchema;
|
|
44388
45206
|
})(TokenPriceToken$ ||= {});
|
|
44389
45207
|
TokenPriceRequest$inboundSchema = objectType({
|
|
44390
|
-
chain:
|
|
45208
|
+
chain: TokenPriceChain$inboundSchema.default("ethereum:mainnet"),
|
|
44391
45209
|
block: nullableType(numberType().int()).optional(),
|
|
44392
45210
|
token: unionType([TokenEnum$inboundSchema, stringType()])
|
|
44393
45211
|
});
|
|
44394
45212
|
TokenPriceRequest$outboundSchema = objectType({
|
|
44395
|
-
chain:
|
|
45213
|
+
chain: TokenPriceChain$outboundSchema.default("ethereum:mainnet"),
|
|
44396
45214
|
block: nullableType(numberType().int()).optional(),
|
|
44397
45215
|
token: unionType([TokenEnum$outboundSchema, stringType()])
|
|
44398
45216
|
});
|
|
@@ -44403,12 +45221,23 @@ var init_tokenprice = __esm(() => {
|
|
|
44403
45221
|
});
|
|
44404
45222
|
|
|
44405
45223
|
// src/models/operations/uniswapliquidityprovisioninrange.ts
|
|
44406
|
-
var UniswapLiquidityProvisionInRangeRequest$inboundSchema, UniswapLiquidityProvisionInRangeRequest$outboundSchema, UniswapLiquidityProvisionInRangeRequest$;
|
|
45224
|
+
var UniswapLiquidityProvisionInRangeChain, UniswapLiquidityProvisionInRangeChain$inboundSchema, UniswapLiquidityProvisionInRangeChain$outboundSchema, UniswapLiquidityProvisionInRangeChain$, UniswapLiquidityProvisionInRangeRequest$inboundSchema, UniswapLiquidityProvisionInRangeRequest$outboundSchema, UniswapLiquidityProvisionInRangeRequest$;
|
|
44407
45225
|
var init_uniswapliquidityprovisioninrange = __esm(() => {
|
|
44408
45226
|
init_zod();
|
|
44409
45227
|
init_primitives();
|
|
45228
|
+
UniswapLiquidityProvisionInRangeChain = {
|
|
45229
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
45230
|
+
BaseMainnet: "base:mainnet",
|
|
45231
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
45232
|
+
};
|
|
45233
|
+
UniswapLiquidityProvisionInRangeChain$inboundSchema = nativeEnumType(UniswapLiquidityProvisionInRangeChain);
|
|
45234
|
+
UniswapLiquidityProvisionInRangeChain$outboundSchema = UniswapLiquidityProvisionInRangeChain$inboundSchema;
|
|
45235
|
+
((UniswapLiquidityProvisionInRangeChain$) => {
|
|
45236
|
+
UniswapLiquidityProvisionInRangeChain$.inboundSchema = UniswapLiquidityProvisionInRangeChain$inboundSchema;
|
|
45237
|
+
UniswapLiquidityProvisionInRangeChain$.outboundSchema = UniswapLiquidityProvisionInRangeChain$outboundSchema;
|
|
45238
|
+
})(UniswapLiquidityProvisionInRangeChain$ ||= {});
|
|
44410
45239
|
UniswapLiquidityProvisionInRangeRequest$inboundSchema = objectType({
|
|
44411
|
-
chain:
|
|
45240
|
+
chain: UniswapLiquidityProvisionInRangeChain$inboundSchema.default("arbitrum:mainnet"),
|
|
44412
45241
|
token_id: numberType().int().default(4318185)
|
|
44413
45242
|
}).transform((v2) => {
|
|
44414
45243
|
return remap(v2, {
|
|
@@ -44416,7 +45245,7 @@ var init_uniswapliquidityprovisioninrange = __esm(() => {
|
|
|
44416
45245
|
});
|
|
44417
45246
|
});
|
|
44418
45247
|
UniswapLiquidityProvisionInRangeRequest$outboundSchema = objectType({
|
|
44419
|
-
chain:
|
|
45248
|
+
chain: UniswapLiquidityProvisionInRangeChain$outboundSchema.default("arbitrum:mainnet"),
|
|
44420
45249
|
tokenId: numberType().int().default(4318185)
|
|
44421
45250
|
}).transform((v2) => {
|
|
44422
45251
|
return remap(v2, {
|
|
@@ -44430,15 +45259,26 @@ var init_uniswapliquidityprovisioninrange = __esm(() => {
|
|
|
44430
45259
|
});
|
|
44431
45260
|
|
|
44432
45261
|
// src/models/operations/uniswapliquidityprovisionpositions.ts
|
|
44433
|
-
var UniswapLiquidityProvisionPositionsRequest$inboundSchema, UniswapLiquidityProvisionPositionsRequest$outboundSchema, UniswapLiquidityProvisionPositionsRequest$;
|
|
45262
|
+
var UniswapLiquidityProvisionPositionsChain, UniswapLiquidityProvisionPositionsChain$inboundSchema, UniswapLiquidityProvisionPositionsChain$outboundSchema, UniswapLiquidityProvisionPositionsChain$, UniswapLiquidityProvisionPositionsRequest$inboundSchema, UniswapLiquidityProvisionPositionsRequest$outboundSchema, UniswapLiquidityProvisionPositionsRequest$;
|
|
44434
45263
|
var init_uniswapliquidityprovisionpositions = __esm(() => {
|
|
44435
45264
|
init_zod();
|
|
45265
|
+
UniswapLiquidityProvisionPositionsChain = {
|
|
45266
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
45267
|
+
BaseMainnet: "base:mainnet",
|
|
45268
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
45269
|
+
};
|
|
45270
|
+
UniswapLiquidityProvisionPositionsChain$inboundSchema = nativeEnumType(UniswapLiquidityProvisionPositionsChain);
|
|
45271
|
+
UniswapLiquidityProvisionPositionsChain$outboundSchema = UniswapLiquidityProvisionPositionsChain$inboundSchema;
|
|
45272
|
+
((UniswapLiquidityProvisionPositionsChain$) => {
|
|
45273
|
+
UniswapLiquidityProvisionPositionsChain$.inboundSchema = UniswapLiquidityProvisionPositionsChain$inboundSchema;
|
|
45274
|
+
UniswapLiquidityProvisionPositionsChain$.outboundSchema = UniswapLiquidityProvisionPositionsChain$outboundSchema;
|
|
45275
|
+
})(UniswapLiquidityProvisionPositionsChain$ ||= {});
|
|
44436
45276
|
UniswapLiquidityProvisionPositionsRequest$inboundSchema = objectType({
|
|
44437
|
-
chain:
|
|
45277
|
+
chain: UniswapLiquidityProvisionPositionsChain$inboundSchema.default("arbitrum:mainnet"),
|
|
44438
45278
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B")
|
|
44439
45279
|
});
|
|
44440
45280
|
UniswapLiquidityProvisionPositionsRequest$outboundSchema = objectType({
|
|
44441
|
-
chain:
|
|
45281
|
+
chain: UniswapLiquidityProvisionPositionsChain$outboundSchema.default("arbitrum:mainnet"),
|
|
44442
45282
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B")
|
|
44443
45283
|
});
|
|
44444
45284
|
((UniswapLiquidityProvisionPositionsRequest$) => {
|
|
@@ -44448,10 +45288,15 @@ var init_uniswapliquidityprovisionpositions = __esm(() => {
|
|
|
44448
45288
|
});
|
|
44449
45289
|
|
|
44450
45290
|
// src/models/operations/uniswappoolprice.ts
|
|
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$;
|
|
45291
|
+
var UniswapPoolPriceChain, UniswapPoolPriceTokenInToken, UniswapPoolPriceTokenOutToken, UniswapPoolPriceFeeEnum, UniswapPoolPriceChain$inboundSchema, UniswapPoolPriceChain$outboundSchema, UniswapPoolPriceChain$, UniswapPoolPriceTokenInToken$inboundSchema, UniswapPoolPriceTokenInToken$outboundSchema, UniswapPoolPriceTokenInToken$, UniswapPoolPriceTokenOutToken$inboundSchema, UniswapPoolPriceTokenOutToken$outboundSchema, UniswapPoolPriceTokenOutToken$, UniswapPoolPriceFeeEnum$inboundSchema, UniswapPoolPriceFeeEnum$outboundSchema, UniswapPoolPriceFeeEnum$, UniswapPoolPriceRequest$inboundSchema, UniswapPoolPriceRequest$outboundSchema, UniswapPoolPriceRequest$;
|
|
44452
45292
|
var init_uniswappoolprice = __esm(() => {
|
|
44453
45293
|
init_zod();
|
|
44454
45294
|
init_primitives();
|
|
45295
|
+
UniswapPoolPriceChain = {
|
|
45296
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
45297
|
+
BaseMainnet: "base:mainnet",
|
|
45298
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
45299
|
+
};
|
|
44455
45300
|
UniswapPoolPriceTokenInToken = {
|
|
44456
45301
|
OneINCH: "1INCH",
|
|
44457
45302
|
Aave: "AAVE",
|
|
@@ -44554,6 +45399,12 @@ var init_uniswappoolprice = __esm(() => {
|
|
|
44554
45399
|
ZeroDot3: "0.3",
|
|
44555
45400
|
OneDot0: "1.0"
|
|
44556
45401
|
};
|
|
45402
|
+
UniswapPoolPriceChain$inboundSchema = nativeEnumType(UniswapPoolPriceChain);
|
|
45403
|
+
UniswapPoolPriceChain$outboundSchema = UniswapPoolPriceChain$inboundSchema;
|
|
45404
|
+
((UniswapPoolPriceChain$) => {
|
|
45405
|
+
UniswapPoolPriceChain$.inboundSchema = UniswapPoolPriceChain$inboundSchema;
|
|
45406
|
+
UniswapPoolPriceChain$.outboundSchema = UniswapPoolPriceChain$outboundSchema;
|
|
45407
|
+
})(UniswapPoolPriceChain$ ||= {});
|
|
44557
45408
|
UniswapPoolPriceTokenInToken$inboundSchema = nativeEnumType(UniswapPoolPriceTokenInToken);
|
|
44558
45409
|
UniswapPoolPriceTokenInToken$outboundSchema = UniswapPoolPriceTokenInToken$inboundSchema;
|
|
44559
45410
|
((UniswapPoolPriceTokenInToken$) => {
|
|
@@ -44573,7 +45424,7 @@ var init_uniswappoolprice = __esm(() => {
|
|
|
44573
45424
|
UniswapPoolPriceFeeEnum$.outboundSchema = UniswapPoolPriceFeeEnum$outboundSchema;
|
|
44574
45425
|
})(UniswapPoolPriceFeeEnum$ ||= {});
|
|
44575
45426
|
UniswapPoolPriceRequest$inboundSchema = objectType({
|
|
44576
|
-
chain:
|
|
45427
|
+
chain: UniswapPoolPriceChain$inboundSchema.default("arbitrum:mainnet"),
|
|
44577
45428
|
token_in: UniswapPoolPriceTokenInToken$inboundSchema.default("USDC"),
|
|
44578
45429
|
token_out: UniswapPoolPriceTokenOutToken$inboundSchema.default("USDT"),
|
|
44579
45430
|
fee: UniswapPoolPriceFeeEnum$inboundSchema.default("0.01")
|
|
@@ -44584,7 +45435,7 @@ var init_uniswappoolprice = __esm(() => {
|
|
|
44584
45435
|
});
|
|
44585
45436
|
});
|
|
44586
45437
|
UniswapPoolPriceRequest$outboundSchema = objectType({
|
|
44587
|
-
chain:
|
|
45438
|
+
chain: UniswapPoolPriceChain$outboundSchema.default("arbitrum:mainnet"),
|
|
44588
45439
|
tokenIn: UniswapPoolPriceTokenInToken$outboundSchema.default("USDC"),
|
|
44589
45440
|
tokenOut: UniswapPoolPriceTokenOutToken$outboundSchema.default("USDT"),
|
|
44590
45441
|
fee: UniswapPoolPriceFeeEnum$outboundSchema.default("0.01")
|
|
@@ -44601,10 +45452,15 @@ var init_uniswappoolprice = __esm(() => {
|
|
|
44601
45452
|
});
|
|
44602
45453
|
|
|
44603
45454
|
// src/models/operations/uniswapquotebuyexactly.ts
|
|
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$;
|
|
45455
|
+
var UniswapQuoteBuyExactlyChain, UniswapQuoteBuyExactlyTokenInToken, UniswapQuoteBuyExactlyTokenOutToken, UniswapQuoteBuyExactlyFeeEnum, UniswapQuoteBuyExactlyChain$inboundSchema, UniswapQuoteBuyExactlyChain$outboundSchema, UniswapQuoteBuyExactlyChain$, 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$;
|
|
44605
45456
|
var init_uniswapquotebuyexactly = __esm(() => {
|
|
44606
45457
|
init_zod();
|
|
44607
45458
|
init_primitives();
|
|
45459
|
+
UniswapQuoteBuyExactlyChain = {
|
|
45460
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
45461
|
+
BaseMainnet: "base:mainnet",
|
|
45462
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
45463
|
+
};
|
|
44608
45464
|
UniswapQuoteBuyExactlyTokenInToken = {
|
|
44609
45465
|
OneINCH: "1INCH",
|
|
44610
45466
|
Aave: "AAVE",
|
|
@@ -44707,6 +45563,12 @@ var init_uniswapquotebuyexactly = __esm(() => {
|
|
|
44707
45563
|
ZeroDot3: "0.3",
|
|
44708
45564
|
OneDot0: "1.0"
|
|
44709
45565
|
};
|
|
45566
|
+
UniswapQuoteBuyExactlyChain$inboundSchema = nativeEnumType(UniswapQuoteBuyExactlyChain);
|
|
45567
|
+
UniswapQuoteBuyExactlyChain$outboundSchema = UniswapQuoteBuyExactlyChain$inboundSchema;
|
|
45568
|
+
((UniswapQuoteBuyExactlyChain$) => {
|
|
45569
|
+
UniswapQuoteBuyExactlyChain$.inboundSchema = UniswapQuoteBuyExactlyChain$inboundSchema;
|
|
45570
|
+
UniswapQuoteBuyExactlyChain$.outboundSchema = UniswapQuoteBuyExactlyChain$outboundSchema;
|
|
45571
|
+
})(UniswapQuoteBuyExactlyChain$ ||= {});
|
|
44710
45572
|
UniswapQuoteBuyExactlyTokenInToken$inboundSchema = nativeEnumType(UniswapQuoteBuyExactlyTokenInToken);
|
|
44711
45573
|
UniswapQuoteBuyExactlyTokenInToken$outboundSchema = UniswapQuoteBuyExactlyTokenInToken$inboundSchema;
|
|
44712
45574
|
((UniswapQuoteBuyExactlyTokenInToken$) => {
|
|
@@ -44732,7 +45594,7 @@ var init_uniswapquotebuyexactly = __esm(() => {
|
|
|
44732
45594
|
AmountOut$.outboundSchema = AmountOut$outboundSchema;
|
|
44733
45595
|
})(AmountOut$ ||= {});
|
|
44734
45596
|
UniswapQuoteBuyExactlyRequest$inboundSchema = objectType({
|
|
44735
|
-
chain:
|
|
45597
|
+
chain: UniswapQuoteBuyExactlyChain$inboundSchema.default("arbitrum:mainnet"),
|
|
44736
45598
|
token_in: UniswapQuoteBuyExactlyTokenInToken$inboundSchema.default("USDC"),
|
|
44737
45599
|
token_out: UniswapQuoteBuyExactlyTokenOutToken$inboundSchema.default("USDT"),
|
|
44738
45600
|
fee: UniswapQuoteBuyExactlyFeeEnum$inboundSchema.default("0.01"),
|
|
@@ -44745,7 +45607,7 @@ var init_uniswapquotebuyexactly = __esm(() => {
|
|
|
44745
45607
|
});
|
|
44746
45608
|
});
|
|
44747
45609
|
UniswapQuoteBuyExactlyRequest$outboundSchema = objectType({
|
|
44748
|
-
chain:
|
|
45610
|
+
chain: UniswapQuoteBuyExactlyChain$outboundSchema.default("arbitrum:mainnet"),
|
|
44749
45611
|
tokenIn: UniswapQuoteBuyExactlyTokenInToken$outboundSchema.default("USDC"),
|
|
44750
45612
|
tokenOut: UniswapQuoteBuyExactlyTokenOutToken$outboundSchema.default("USDT"),
|
|
44751
45613
|
fee: UniswapQuoteBuyExactlyFeeEnum$outboundSchema.default("0.01"),
|
|
@@ -44764,10 +45626,15 @@ var init_uniswapquotebuyexactly = __esm(() => {
|
|
|
44764
45626
|
});
|
|
44765
45627
|
|
|
44766
45628
|
// src/models/operations/uniswapquotesellexactly.ts
|
|
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$;
|
|
45629
|
+
var UniswapQuoteSellExactlyChain, UniswapQuoteSellExactlyTokenInToken, UniswapQuoteSellExactlyTokenOutToken, UniswapQuoteSellExactlyFeeEnum, UniswapQuoteSellExactlyChain$inboundSchema, UniswapQuoteSellExactlyChain$outboundSchema, UniswapQuoteSellExactlyChain$, 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$;
|
|
44768
45630
|
var init_uniswapquotesellexactly = __esm(() => {
|
|
44769
45631
|
init_zod();
|
|
44770
45632
|
init_primitives();
|
|
45633
|
+
UniswapQuoteSellExactlyChain = {
|
|
45634
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
45635
|
+
BaseMainnet: "base:mainnet",
|
|
45636
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
45637
|
+
};
|
|
44771
45638
|
UniswapQuoteSellExactlyTokenInToken = {
|
|
44772
45639
|
OneINCH: "1INCH",
|
|
44773
45640
|
Aave: "AAVE",
|
|
@@ -44870,6 +45737,12 @@ var init_uniswapquotesellexactly = __esm(() => {
|
|
|
44870
45737
|
ZeroDot3: "0.3",
|
|
44871
45738
|
OneDot0: "1.0"
|
|
44872
45739
|
};
|
|
45740
|
+
UniswapQuoteSellExactlyChain$inboundSchema = nativeEnumType(UniswapQuoteSellExactlyChain);
|
|
45741
|
+
UniswapQuoteSellExactlyChain$outboundSchema = UniswapQuoteSellExactlyChain$inboundSchema;
|
|
45742
|
+
((UniswapQuoteSellExactlyChain$) => {
|
|
45743
|
+
UniswapQuoteSellExactlyChain$.inboundSchema = UniswapQuoteSellExactlyChain$inboundSchema;
|
|
45744
|
+
UniswapQuoteSellExactlyChain$.outboundSchema = UniswapQuoteSellExactlyChain$outboundSchema;
|
|
45745
|
+
})(UniswapQuoteSellExactlyChain$ ||= {});
|
|
44873
45746
|
UniswapQuoteSellExactlyTokenInToken$inboundSchema = nativeEnumType(UniswapQuoteSellExactlyTokenInToken);
|
|
44874
45747
|
UniswapQuoteSellExactlyTokenInToken$outboundSchema = UniswapQuoteSellExactlyTokenInToken$inboundSchema;
|
|
44875
45748
|
((UniswapQuoteSellExactlyTokenInToken$) => {
|
|
@@ -44895,7 +45768,7 @@ var init_uniswapquotesellexactly = __esm(() => {
|
|
|
44895
45768
|
AmountIn$.outboundSchema = AmountIn$outboundSchema;
|
|
44896
45769
|
})(AmountIn$ ||= {});
|
|
44897
45770
|
UniswapQuoteSellExactlyRequest$inboundSchema = objectType({
|
|
44898
|
-
chain:
|
|
45771
|
+
chain: UniswapQuoteSellExactlyChain$inboundSchema.default("arbitrum:mainnet"),
|
|
44899
45772
|
token_in: UniswapQuoteSellExactlyTokenInToken$inboundSchema.default("USDC"),
|
|
44900
45773
|
token_out: UniswapQuoteSellExactlyTokenOutToken$inboundSchema.default("USDT"),
|
|
44901
45774
|
fee: UniswapQuoteSellExactlyFeeEnum$inboundSchema.default("0.01"),
|
|
@@ -44908,7 +45781,7 @@ var init_uniswapquotesellexactly = __esm(() => {
|
|
|
44908
45781
|
});
|
|
44909
45782
|
});
|
|
44910
45783
|
UniswapQuoteSellExactlyRequest$outboundSchema = objectType({
|
|
44911
|
-
chain:
|
|
45784
|
+
chain: UniswapQuoteSellExactlyChain$outboundSchema.default("arbitrum:mainnet"),
|
|
44912
45785
|
tokenIn: UniswapQuoteSellExactlyTokenInToken$outboundSchema.default("USDC"),
|
|
44913
45786
|
tokenOut: UniswapQuoteSellExactlyTokenOutToken$outboundSchema.default("USDT"),
|
|
44914
45787
|
fee: UniswapQuoteSellExactlyFeeEnum$outboundSchema.default("0.01"),
|
|
@@ -44927,12 +45800,23 @@ var init_uniswapquotesellexactly = __esm(() => {
|
|
|
44927
45800
|
});
|
|
44928
45801
|
|
|
44929
45802
|
// src/models/operations/vaultsvault.ts
|
|
44930
|
-
var VaultsVaultRequest$inboundSchema, VaultsVaultRequest$outboundSchema, VaultsVaultRequest$;
|
|
45803
|
+
var VaultsVaultChain, VaultsVaultChain$inboundSchema, VaultsVaultChain$outboundSchema, VaultsVaultChain$, VaultsVaultRequest$inboundSchema, VaultsVaultRequest$outboundSchema, VaultsVaultRequest$;
|
|
44931
45804
|
var init_vaultsvault = __esm(() => {
|
|
44932
45805
|
init_zod();
|
|
44933
45806
|
init_primitives();
|
|
45807
|
+
VaultsVaultChain = {
|
|
45808
|
+
ArbitrumMainnet: "arbitrum:mainnet",
|
|
45809
|
+
BaseMainnet: "base:mainnet",
|
|
45810
|
+
EthereumMainnet: "ethereum:mainnet"
|
|
45811
|
+
};
|
|
45812
|
+
VaultsVaultChain$inboundSchema = nativeEnumType(VaultsVaultChain);
|
|
45813
|
+
VaultsVaultChain$outboundSchema = VaultsVaultChain$inboundSchema;
|
|
45814
|
+
((VaultsVaultChain$) => {
|
|
45815
|
+
VaultsVaultChain$.inboundSchema = VaultsVaultChain$inboundSchema;
|
|
45816
|
+
VaultsVaultChain$.outboundSchema = VaultsVaultChain$outboundSchema;
|
|
45817
|
+
})(VaultsVaultChain$ ||= {});
|
|
44934
45818
|
VaultsVaultRequest$inboundSchema = objectType({
|
|
44935
|
-
chain:
|
|
45819
|
+
chain: VaultsVaultChain$inboundSchema.default("ethereum:mainnet"),
|
|
44936
45820
|
block: nullableType(numberType().int()).optional(),
|
|
44937
45821
|
vault_address: stringType().default("0x182863131F9a4630fF9E27830d945B1413e347E8"),
|
|
44938
45822
|
user_address: nullableType(stringType()).optional()
|
|
@@ -44943,7 +45827,7 @@ var init_vaultsvault = __esm(() => {
|
|
|
44943
45827
|
});
|
|
44944
45828
|
});
|
|
44945
45829
|
VaultsVaultRequest$outboundSchema = objectType({
|
|
44946
|
-
chain:
|
|
45830
|
+
chain: VaultsVaultChain$outboundSchema.default("ethereum:mainnet"),
|
|
44947
45831
|
block: nullableType(numberType().int()).optional(),
|
|
44948
45832
|
vaultAddress: stringType().default("0x182863131F9a4630fF9E27830d945B1413e347E8"),
|
|
44949
45833
|
userAddress: nullableType(stringType()).optional()
|
|
@@ -48838,7 +49722,7 @@ var init_morphoVault2 = __esm(() => {
|
|
|
48838
49722
|
};
|
|
48839
49723
|
tool$morphoVault = {
|
|
48840
49724
|
name: "morpho-vault",
|
|
48841
|
-
description: `Get Vault
|
|
49725
|
+
description: `Get Vault & User Position
|
|
48842
49726
|
|
|
48843
49727
|
Get Vault data & User Position.
|
|
48844
49728
|
|
|
@@ -49656,12 +50540,11 @@ The user position is only included if 'user_address' parameter is included.`,
|
|
|
49656
50540
|
});
|
|
49657
50541
|
|
|
49658
50542
|
// src/funcs/pendleMarkets.ts
|
|
49659
|
-
function pendleMarkets(client, options) {
|
|
49660
|
-
return new APIPromise($do41(client, options));
|
|
50543
|
+
function pendleMarkets(client, request, options) {
|
|
50544
|
+
return new APIPromise($do41(client, request, options));
|
|
49661
50545
|
}
|
|
49662
|
-
async function $do41(client, options) {
|
|
49663
|
-
const
|
|
49664
|
-
const parsed = safeParse(input, (value) => PendleMarketsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50546
|
+
async function $do41(client, request, options) {
|
|
50547
|
+
const parsed = safeParse(request, (value) => PendleMarketsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49665
50548
|
if (!parsed.ok) {
|
|
49666
50549
|
return [parsed, { status: "invalid" }];
|
|
49667
50550
|
}
|
|
@@ -49735,17 +50618,22 @@ var init_pendleMarkets = __esm(() => {
|
|
|
49735
50618
|
});
|
|
49736
50619
|
|
|
49737
50620
|
// src/mcp-server/tools/pendleMarkets.ts
|
|
49738
|
-
var tool$pendleMarkets;
|
|
50621
|
+
var args41, tool$pendleMarkets;
|
|
49739
50622
|
var init_pendleMarkets2 = __esm(() => {
|
|
49740
50623
|
init_pendleMarkets();
|
|
50624
|
+
init_operations();
|
|
49741
50625
|
init_tools();
|
|
50626
|
+
args41 = {
|
|
50627
|
+
request: PendleMarketsRequest$inboundSchema
|
|
50628
|
+
};
|
|
49742
50629
|
tool$pendleMarkets = {
|
|
49743
50630
|
name: "pendle-markets",
|
|
49744
50631
|
description: `List Market Data
|
|
49745
50632
|
|
|
49746
50633
|
Get a list of active markets.`,
|
|
49747
|
-
|
|
49748
|
-
|
|
50634
|
+
args: args41,
|
|
50635
|
+
tool: async (client, args42, ctx) => {
|
|
50636
|
+
const [result, apiCall] = await pendleMarkets(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49749
50637
|
if (!result.ok) {
|
|
49750
50638
|
return {
|
|
49751
50639
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49838,12 +50726,12 @@ var init_pendlePositions = __esm(() => {
|
|
|
49838
50726
|
});
|
|
49839
50727
|
|
|
49840
50728
|
// src/mcp-server/tools/pendlePositions.ts
|
|
49841
|
-
var
|
|
50729
|
+
var args42, tool$pendlePositions;
|
|
49842
50730
|
var init_pendlePositions2 = __esm(() => {
|
|
49843
50731
|
init_pendlePositions();
|
|
49844
50732
|
init_operations();
|
|
49845
50733
|
init_tools();
|
|
49846
|
-
|
|
50734
|
+
args42 = {
|
|
49847
50735
|
request: PendlePositionsRequest$inboundSchema
|
|
49848
50736
|
};
|
|
49849
50737
|
tool$pendlePositions = {
|
|
@@ -49851,9 +50739,9 @@ var init_pendlePositions2 = __esm(() => {
|
|
|
49851
50739
|
description: `List User's Market Positions
|
|
49852
50740
|
|
|
49853
50741
|
List the user's SY, PT, YT and LP positions for all markets on a given chain.`,
|
|
49854
|
-
args:
|
|
49855
|
-
tool: async (client,
|
|
49856
|
-
const [result, apiCall] = await pendlePositions(client,
|
|
50742
|
+
args: args42,
|
|
50743
|
+
tool: async (client, args43, ctx) => {
|
|
50744
|
+
const [result, apiCall] = await pendlePositions(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49857
50745
|
if (!result.ok) {
|
|
49858
50746
|
return {
|
|
49859
50747
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49950,12 +50838,12 @@ var init_pendleQuote = __esm(() => {
|
|
|
49950
50838
|
});
|
|
49951
50839
|
|
|
49952
50840
|
// src/mcp-server/tools/pendleQuote.ts
|
|
49953
|
-
var
|
|
50841
|
+
var args43, tool$pendleQuote;
|
|
49954
50842
|
var init_pendleQuote2 = __esm(() => {
|
|
49955
50843
|
init_pendleQuote();
|
|
49956
50844
|
init_operations();
|
|
49957
50845
|
init_tools();
|
|
49958
|
-
|
|
50846
|
+
args43 = {
|
|
49959
50847
|
request: PendleQuoteRequest$inboundSchema
|
|
49960
50848
|
};
|
|
49961
50849
|
tool$pendleQuote = {
|
|
@@ -49968,9 +50856,9 @@ Provider Token (LP) on Pendle.
|
|
|
49968
50856
|
For \`BUY\`, \`amount\` is the quantity of the Underlying Token to spend, and the quote returns the amount of \`token_type\` received.
|
|
49969
50857
|
|
|
49970
50858
|
For \`SELL\`, \`amount\` is the quantity of \`token_type\` to sell, and the quote returns the amount of Underlying Token received.`,
|
|
49971
|
-
args:
|
|
49972
|
-
tool: async (client,
|
|
49973
|
-
const [result, apiCall] = await pendleQuote(client,
|
|
50859
|
+
args: args43,
|
|
50860
|
+
tool: async (client, args44, ctx) => {
|
|
50861
|
+
const [result, apiCall] = await pendleQuote(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49974
50862
|
if (!result.ok) {
|
|
49975
50863
|
return {
|
|
49976
50864
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50058,12 +50946,12 @@ var init_pendleRedeemYield = __esm(() => {
|
|
|
50058
50946
|
});
|
|
50059
50947
|
|
|
50060
50948
|
// src/mcp-server/tools/pendleRedeemYield.ts
|
|
50061
|
-
var
|
|
50949
|
+
var args44, tool$pendleRedeemYield;
|
|
50062
50950
|
var init_pendleRedeemYield2 = __esm(() => {
|
|
50063
50951
|
init_pendleRedeemYield();
|
|
50064
50952
|
init_components();
|
|
50065
50953
|
init_tools();
|
|
50066
|
-
|
|
50954
|
+
args44 = {
|
|
50067
50955
|
request: PendleRedeemYieldRequest$inboundSchema
|
|
50068
50956
|
};
|
|
50069
50957
|
tool$pendleRedeemYield = {
|
|
@@ -50079,9 +50967,9 @@ Redeem claimable yield from the market's associated Yield Token (YT).
|
|
|
50079
50967
|
- \`PendleRouter\`
|
|
50080
50968
|
</Info>
|
|
50081
50969
|
`,
|
|
50082
|
-
args:
|
|
50083
|
-
tool: async (client,
|
|
50084
|
-
const [result, apiCall] = await pendleRedeemYield(client,
|
|
50970
|
+
args: args44,
|
|
50971
|
+
tool: async (client, args45, ctx) => {
|
|
50972
|
+
const [result, apiCall] = await pendleRedeemYield(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50085
50973
|
if (!result.ok) {
|
|
50086
50974
|
return {
|
|
50087
50975
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50169,12 +51057,12 @@ var init_pendleRemoveLiquidity = __esm(() => {
|
|
|
50169
51057
|
});
|
|
50170
51058
|
|
|
50171
51059
|
// src/mcp-server/tools/pendleRemoveLiquidity.ts
|
|
50172
|
-
var
|
|
51060
|
+
var args45, tool$pendleRemoveLiquidity;
|
|
50173
51061
|
var init_pendleRemoveLiquidity2 = __esm(() => {
|
|
50174
51062
|
init_pendleRemoveLiquidity();
|
|
50175
51063
|
init_components();
|
|
50176
51064
|
init_tools();
|
|
50177
|
-
|
|
51065
|
+
args45 = {
|
|
50178
51066
|
request: PendleRemoveLiquidityRequest$inboundSchema
|
|
50179
51067
|
};
|
|
50180
51068
|
tool$pendleRemoveLiquidity = {
|
|
@@ -50194,9 +51082,9 @@ market contract must be set beforehand
|
|
|
50194
51082
|
- \`PendleRouter\`
|
|
50195
51083
|
</Info>
|
|
50196
51084
|
`,
|
|
50197
|
-
args:
|
|
50198
|
-
tool: async (client,
|
|
50199
|
-
const [result, apiCall] = await pendleRemoveLiquidity(client,
|
|
51085
|
+
args: args45,
|
|
51086
|
+
tool: async (client, args46, ctx) => {
|
|
51087
|
+
const [result, apiCall] = await pendleRemoveLiquidity(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50200
51088
|
if (!result.ok) {
|
|
50201
51089
|
return {
|
|
50202
51090
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50284,12 +51172,12 @@ var init_pendleSellPt = __esm(() => {
|
|
|
50284
51172
|
});
|
|
50285
51173
|
|
|
50286
51174
|
// src/mcp-server/tools/pendleSellPt.ts
|
|
50287
|
-
var
|
|
51175
|
+
var args46, tool$pendleSellPt;
|
|
50288
51176
|
var init_pendleSellPt2 = __esm(() => {
|
|
50289
51177
|
init_pendleSellPt();
|
|
50290
51178
|
init_components();
|
|
50291
51179
|
init_tools();
|
|
50292
|
-
|
|
51180
|
+
args46 = {
|
|
50293
51181
|
request: PendleSellPtRequest$inboundSchema
|
|
50294
51182
|
};
|
|
50295
51183
|
tool$pendleSellPt = {
|
|
@@ -50305,9 +51193,9 @@ Sell Principal Token (PT) for the market's Underlying Token.
|
|
|
50305
51193
|
- \`PendleRouter\`
|
|
50306
51194
|
</Info>
|
|
50307
51195
|
`,
|
|
50308
|
-
args:
|
|
50309
|
-
tool: async (client,
|
|
50310
|
-
const [result, apiCall] = await pendleSellPt(client,
|
|
51196
|
+
args: args46,
|
|
51197
|
+
tool: async (client, args47, ctx) => {
|
|
51198
|
+
const [result, apiCall] = await pendleSellPt(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50311
51199
|
if (!result.ok) {
|
|
50312
51200
|
return {
|
|
50313
51201
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50395,12 +51283,12 @@ var init_pendleSellYt = __esm(() => {
|
|
|
50395
51283
|
});
|
|
50396
51284
|
|
|
50397
51285
|
// src/mcp-server/tools/pendleSellYt.ts
|
|
50398
|
-
var
|
|
51286
|
+
var args47, tool$pendleSellYt;
|
|
50399
51287
|
var init_pendleSellYt2 = __esm(() => {
|
|
50400
51288
|
init_pendleSellYt();
|
|
50401
51289
|
init_components();
|
|
50402
51290
|
init_tools();
|
|
50403
|
-
|
|
51291
|
+
args47 = {
|
|
50404
51292
|
request: PendleSellYtRequest$inboundSchema
|
|
50405
51293
|
};
|
|
50406
51294
|
tool$pendleSellYt = {
|
|
@@ -50416,9 +51304,9 @@ Sell Yield Token (YT) for the market's Underlying Token.
|
|
|
50416
51304
|
- \`PendleRouter\`
|
|
50417
51305
|
</Info>
|
|
50418
51306
|
`,
|
|
50419
|
-
args:
|
|
50420
|
-
tool: async (client,
|
|
50421
|
-
const [result, apiCall] = await pendleSellYt(client,
|
|
51307
|
+
args: args47,
|
|
51308
|
+
tool: async (client, args48, ctx) => {
|
|
51309
|
+
const [result, apiCall] = await pendleSellYt(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50422
51310
|
if (!result.ok) {
|
|
50423
51311
|
return {
|
|
50424
51312
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50506,12 +51394,12 @@ var init_skyBuy = __esm(() => {
|
|
|
50506
51394
|
});
|
|
50507
51395
|
|
|
50508
51396
|
// src/mcp-server/tools/skyBuy.ts
|
|
50509
|
-
var
|
|
51397
|
+
var args48, tool$skyBuy;
|
|
50510
51398
|
var init_skyBuy2 = __esm(() => {
|
|
50511
51399
|
init_skyBuy();
|
|
50512
51400
|
init_components();
|
|
50513
51401
|
init_tools();
|
|
50514
|
-
|
|
51402
|
+
args48 = {
|
|
50515
51403
|
request: SkyBuyRequest$inboundSchema
|
|
50516
51404
|
};
|
|
50517
51405
|
tool$skyBuy = {
|
|
@@ -50533,9 +51421,9 @@ If buying with USDC, user will need to set an allowance on the USDC contract for
|
|
|
50533
51421
|
- \`SkyUsdcUsdsConverter\`
|
|
50534
51422
|
</Info>
|
|
50535
51423
|
`,
|
|
50536
|
-
args:
|
|
50537
|
-
tool: async (client,
|
|
50538
|
-
const [result, apiCall] = await skyBuy(client,
|
|
51424
|
+
args: args48,
|
|
51425
|
+
tool: async (client, args49, ctx) => {
|
|
51426
|
+
const [result, apiCall] = await skyBuy(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50539
51427
|
if (!result.ok) {
|
|
50540
51428
|
return {
|
|
50541
51429
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50623,12 +51511,12 @@ var init_skyDeposit = __esm(() => {
|
|
|
50623
51511
|
});
|
|
50624
51512
|
|
|
50625
51513
|
// src/mcp-server/tools/skyDeposit.ts
|
|
50626
|
-
var
|
|
51514
|
+
var args49, tool$skyDeposit;
|
|
50627
51515
|
var init_skyDeposit2 = __esm(() => {
|
|
50628
51516
|
init_skyDeposit();
|
|
50629
51517
|
init_components();
|
|
50630
51518
|
init_tools();
|
|
50631
|
-
|
|
51519
|
+
args49 = {
|
|
50632
51520
|
request: SkyDepositRequest$inboundSchema
|
|
50633
51521
|
};
|
|
50634
51522
|
tool$skyDeposit = {
|
|
@@ -50648,9 +51536,9 @@ There are no fees.
|
|
|
50648
51536
|
- \`SkyUsdsVault\`
|
|
50649
51537
|
</Info>
|
|
50650
51538
|
`,
|
|
50651
|
-
args:
|
|
50652
|
-
tool: async (client,
|
|
50653
|
-
const [result, apiCall] = await skyDeposit(client,
|
|
51539
|
+
args: args49,
|
|
51540
|
+
tool: async (client, args50, ctx) => {
|
|
51541
|
+
const [result, apiCall] = await skyDeposit(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50654
51542
|
if (!result.ok) {
|
|
50655
51543
|
return {
|
|
50656
51544
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50743,12 +51631,12 @@ var init_skyPosition = __esm(() => {
|
|
|
50743
51631
|
});
|
|
50744
51632
|
|
|
50745
51633
|
// src/mcp-server/tools/skyPosition.ts
|
|
50746
|
-
var
|
|
51634
|
+
var args50, tool$skyPosition;
|
|
50747
51635
|
var init_skyPosition2 = __esm(() => {
|
|
50748
51636
|
init_skyPosition();
|
|
50749
51637
|
init_operations();
|
|
50750
51638
|
init_tools();
|
|
50751
|
-
|
|
51639
|
+
args50 = {
|
|
50752
51640
|
request: SkyPositionRequest$inboundSchema
|
|
50753
51641
|
};
|
|
50754
51642
|
tool$skyPosition = {
|
|
@@ -50756,9 +51644,9 @@ var init_skyPosition2 = __esm(() => {
|
|
|
50756
51644
|
description: `Check USDS Position
|
|
50757
51645
|
|
|
50758
51646
|
Check the USDS overall position.`,
|
|
50759
|
-
args:
|
|
50760
|
-
tool: async (client,
|
|
50761
|
-
const [result, apiCall] = await skyPosition(client,
|
|
51647
|
+
args: args50,
|
|
51648
|
+
tool: async (client, args51, ctx) => {
|
|
51649
|
+
const [result, apiCall] = await skyPosition(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50762
51650
|
if (!result.ok) {
|
|
50763
51651
|
return {
|
|
50764
51652
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50846,12 +51734,12 @@ var init_skySell = __esm(() => {
|
|
|
50846
51734
|
});
|
|
50847
51735
|
|
|
50848
51736
|
// src/mcp-server/tools/skySell.ts
|
|
50849
|
-
var
|
|
51737
|
+
var args51, tool$skySell;
|
|
50850
51738
|
var init_skySell2 = __esm(() => {
|
|
50851
51739
|
init_skySell();
|
|
50852
51740
|
init_components();
|
|
50853
51741
|
init_tools();
|
|
50854
|
-
|
|
51742
|
+
args51 = {
|
|
50855
51743
|
request: SkySellRequest$inboundSchema
|
|
50856
51744
|
};
|
|
50857
51745
|
tool$skySell = {
|
|
@@ -50873,9 +51761,9 @@ If swapping to USDC, user will need to set an allowance on the USDS contract for
|
|
|
50873
51761
|
- \`SkyUsdcUsdsConverter\`
|
|
50874
51762
|
</Info>
|
|
50875
51763
|
`,
|
|
50876
|
-
args:
|
|
50877
|
-
tool: async (client,
|
|
50878
|
-
const [result, apiCall] = await skySell(client,
|
|
51764
|
+
args: args51,
|
|
51765
|
+
tool: async (client, args52, ctx) => {
|
|
51766
|
+
const [result, apiCall] = await skySell(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50879
51767
|
if (!result.ok) {
|
|
50880
51768
|
return {
|
|
50881
51769
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50963,12 +51851,12 @@ var init_skyWithdraw = __esm(() => {
|
|
|
50963
51851
|
});
|
|
50964
51852
|
|
|
50965
51853
|
// src/mcp-server/tools/skyWithdraw.ts
|
|
50966
|
-
var
|
|
51854
|
+
var args52, tool$skyWithdraw;
|
|
50967
51855
|
var init_skyWithdraw2 = __esm(() => {
|
|
50968
51856
|
init_skyWithdraw();
|
|
50969
51857
|
init_components();
|
|
50970
51858
|
init_tools();
|
|
50971
|
-
|
|
51859
|
+
args52 = {
|
|
50972
51860
|
request: SkyWithdrawRequest$inboundSchema
|
|
50973
51861
|
};
|
|
50974
51862
|
tool$skyWithdraw = {
|
|
@@ -50989,9 +51877,9 @@ There are no fees.
|
|
|
50989
51877
|
- \`SkyUsdsVault\`
|
|
50990
51878
|
</Info>
|
|
50991
51879
|
`,
|
|
50992
|
-
args:
|
|
50993
|
-
tool: async (client,
|
|
50994
|
-
const [result, apiCall] = await skyWithdraw(client,
|
|
51880
|
+
args: args52,
|
|
51881
|
+
tool: async (client, args53, ctx) => {
|
|
51882
|
+
const [result, apiCall] = await skyWithdraw(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50995
51883
|
if (!result.ok) {
|
|
50996
51884
|
return {
|
|
50997
51885
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51079,12 +51967,12 @@ var init_smartAccountAccountBatchedUserOperations = __esm(() => {
|
|
|
51079
51967
|
});
|
|
51080
51968
|
|
|
51081
51969
|
// src/mcp-server/tools/smartAccountAccountBatchedUserOperations.ts
|
|
51082
|
-
var
|
|
51970
|
+
var args53, tool$smartAccountAccountBatchedUserOperations;
|
|
51083
51971
|
var init_smartAccountAccountBatchedUserOperations2 = __esm(() => {
|
|
51084
51972
|
init_smartAccountAccountBatchedUserOperations();
|
|
51085
51973
|
init_components();
|
|
51086
51974
|
init_tools();
|
|
51087
|
-
|
|
51975
|
+
args53 = {
|
|
51088
51976
|
request: BatchedUserOperationsRequest$inboundSchema
|
|
51089
51977
|
};
|
|
51090
51978
|
tool$smartAccountAccountBatchedUserOperations = {
|
|
@@ -51092,9 +51980,9 @@ var init_smartAccountAccountBatchedUserOperations2 = __esm(() => {
|
|
|
51092
51980
|
description: `Get Smart Account Batched User Operations
|
|
51093
51981
|
|
|
51094
51982
|
Generate a list of user operations for smart account batching.`,
|
|
51095
|
-
args:
|
|
51096
|
-
tool: async (client,
|
|
51097
|
-
const [result, apiCall] = await smartAccountAccountBatchedUserOperations(client,
|
|
51983
|
+
args: args53,
|
|
51984
|
+
tool: async (client, args54, ctx) => {
|
|
51985
|
+
const [result, apiCall] = await smartAccountAccountBatchedUserOperations(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51098
51986
|
if (!result.ok) {
|
|
51099
51987
|
return {
|
|
51100
51988
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51182,12 +52070,12 @@ var init_swapOdos = __esm(() => {
|
|
|
51182
52070
|
});
|
|
51183
52071
|
|
|
51184
52072
|
// src/mcp-server/tools/swapOdos.ts
|
|
51185
|
-
var
|
|
52073
|
+
var args54, tool$swapOdos;
|
|
51186
52074
|
var init_swapOdos2 = __esm(() => {
|
|
51187
52075
|
init_swapOdos();
|
|
51188
52076
|
init_components();
|
|
51189
52077
|
init_tools();
|
|
51190
|
-
|
|
52078
|
+
args54 = {
|
|
51191
52079
|
request: OdosSwapRequest$inboundSchema
|
|
51192
52080
|
};
|
|
51193
52081
|
tool$swapOdos = {
|
|
@@ -51203,9 +52091,9 @@ Swap between two tokens using Odos Smart Order Routing.
|
|
|
51203
52091
|
- \`OdosRouter\`
|
|
51204
52092
|
</Info>
|
|
51205
52093
|
`,
|
|
51206
|
-
args:
|
|
51207
|
-
tool: async (client,
|
|
51208
|
-
const [result, apiCall] = await swapOdos(client,
|
|
52094
|
+
args: args54,
|
|
52095
|
+
tool: async (client, args55, ctx) => {
|
|
52096
|
+
const [result, apiCall] = await swapOdos(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51209
52097
|
if (!result.ok) {
|
|
51210
52098
|
return {
|
|
51211
52099
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51298,12 +52186,12 @@ var init_tokenAddress = __esm(() => {
|
|
|
51298
52186
|
});
|
|
51299
52187
|
|
|
51300
52188
|
// src/mcp-server/tools/tokenAddress.ts
|
|
51301
|
-
var
|
|
52189
|
+
var args55, tool$tokenAddress;
|
|
51302
52190
|
var init_tokenAddress2 = __esm(() => {
|
|
51303
52191
|
init_tokenAddress();
|
|
51304
52192
|
init_operations();
|
|
51305
52193
|
init_tools();
|
|
51306
|
-
|
|
52194
|
+
args55 = {
|
|
51307
52195
|
request: TokenAddressRequest$inboundSchema
|
|
51308
52196
|
};
|
|
51309
52197
|
tool$tokenAddress = {
|
|
@@ -51311,9 +52199,9 @@ var init_tokenAddress2 = __esm(() => {
|
|
|
51311
52199
|
description: `Token Address
|
|
51312
52200
|
|
|
51313
52201
|
This endpoint retrieves the address for a token supported by us.`,
|
|
51314
|
-
args:
|
|
51315
|
-
tool: async (client,
|
|
51316
|
-
const [result, apiCall] = await tokenAddress(client,
|
|
52202
|
+
args: args55,
|
|
52203
|
+
tool: async (client, args56, ctx) => {
|
|
52204
|
+
const [result, apiCall] = await tokenAddress(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51317
52205
|
if (!result.ok) {
|
|
51318
52206
|
return {
|
|
51319
52207
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51407,12 +52295,12 @@ var init_tokenBalance = __esm(() => {
|
|
|
51407
52295
|
});
|
|
51408
52296
|
|
|
51409
52297
|
// src/mcp-server/tools/tokenBalance.ts
|
|
51410
|
-
var
|
|
52298
|
+
var args56, tool$tokenBalance;
|
|
51411
52299
|
var init_tokenBalance2 = __esm(() => {
|
|
51412
52300
|
init_tokenBalance();
|
|
51413
52301
|
init_operations();
|
|
51414
52302
|
init_tools();
|
|
51415
|
-
|
|
52303
|
+
args56 = {
|
|
51416
52304
|
request: TokenBalanceRequest$inboundSchema
|
|
51417
52305
|
};
|
|
51418
52306
|
tool$tokenBalance = {
|
|
@@ -51420,9 +52308,9 @@ var init_tokenBalance2 = __esm(() => {
|
|
|
51420
52308
|
description: `Token Balance
|
|
51421
52309
|
|
|
51422
52310
|
Returns the balance of a specific ERC20 token for a given user address.`,
|
|
51423
|
-
args:
|
|
51424
|
-
tool: async (client,
|
|
51425
|
-
const [result, apiCall] = await tokenBalance(client,
|
|
52311
|
+
args: args56,
|
|
52312
|
+
tool: async (client, args57, ctx) => {
|
|
52313
|
+
const [result, apiCall] = await tokenBalance(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51426
52314
|
if (!result.ok) {
|
|
51427
52315
|
return {
|
|
51428
52316
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51516,12 +52404,12 @@ var init_tokenPrice = __esm(() => {
|
|
|
51516
52404
|
});
|
|
51517
52405
|
|
|
51518
52406
|
// src/mcp-server/tools/tokenPrice.ts
|
|
51519
|
-
var
|
|
52407
|
+
var args57, tool$tokenPrice;
|
|
51520
52408
|
var init_tokenPrice2 = __esm(() => {
|
|
51521
52409
|
init_tokenPrice();
|
|
51522
52410
|
init_operations();
|
|
51523
52411
|
init_tools();
|
|
51524
|
-
|
|
52412
|
+
args57 = {
|
|
51525
52413
|
request: TokenPriceRequest$inboundSchema
|
|
51526
52414
|
};
|
|
51527
52415
|
tool$tokenPrice = {
|
|
@@ -51533,9 +52421,9 @@ Retrieves the price of a token in USD using Chainlink's on-chain price feeds.
|
|
|
51533
52421
|
Chainlink is a decentralized oracle that aggregates price data from off-chain
|
|
51534
52422
|
sources. This ensures the price is tamper-resistant but the price might be stale
|
|
51535
52423
|
with the update frequency of the oracle.`,
|
|
51536
|
-
args:
|
|
51537
|
-
tool: async (client,
|
|
51538
|
-
const [result, apiCall] = await tokenPrice(client,
|
|
52424
|
+
args: args57,
|
|
52425
|
+
tool: async (client, args58, ctx) => {
|
|
52426
|
+
const [result, apiCall] = await tokenPrice(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51539
52427
|
if (!result.ok) {
|
|
51540
52428
|
return {
|
|
51541
52429
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51623,12 +52511,12 @@ var init_tokenTransfer = __esm(() => {
|
|
|
51623
52511
|
});
|
|
51624
52512
|
|
|
51625
52513
|
// src/mcp-server/tools/tokenTransfer.ts
|
|
51626
|
-
var
|
|
52514
|
+
var args58, tool$tokenTransfer;
|
|
51627
52515
|
var init_tokenTransfer2 = __esm(() => {
|
|
51628
52516
|
init_tokenTransfer();
|
|
51629
52517
|
init_components();
|
|
51630
52518
|
init_tools();
|
|
51631
|
-
|
|
52519
|
+
args58 = {
|
|
51632
52520
|
request: TokenTransferRequest$inboundSchema
|
|
51633
52521
|
};
|
|
51634
52522
|
tool$tokenTransfer = {
|
|
@@ -51636,9 +52524,9 @@ var init_tokenTransfer2 = __esm(() => {
|
|
|
51636
52524
|
description: `Transfer ETH or ERC20 Tokens
|
|
51637
52525
|
|
|
51638
52526
|
Sends native ETH or ERC20 tokens from the sender's address to another address.`,
|
|
51639
|
-
args:
|
|
51640
|
-
tool: async (client,
|
|
51641
|
-
const [result, apiCall] = await tokenTransfer(client,
|
|
52527
|
+
args: args58,
|
|
52528
|
+
tool: async (client, args59, ctx) => {
|
|
52529
|
+
const [result, apiCall] = await tokenTransfer(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51642
52530
|
if (!result.ok) {
|
|
51643
52531
|
return {
|
|
51644
52532
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51726,12 +52614,12 @@ var init_transactionBundlerBundlerAaveLoop = __esm(() => {
|
|
|
51726
52614
|
});
|
|
51727
52615
|
|
|
51728
52616
|
// src/mcp-server/tools/transactionBundlerBundlerAaveLoop.ts
|
|
51729
|
-
var
|
|
52617
|
+
var args59, tool$transactionBundlerBundlerAaveLoop;
|
|
51730
52618
|
var init_transactionBundlerBundlerAaveLoop2 = __esm(() => {
|
|
51731
52619
|
init_transactionBundlerBundlerAaveLoop();
|
|
51732
52620
|
init_components();
|
|
51733
52621
|
init_tools();
|
|
51734
|
-
|
|
52622
|
+
args59 = {
|
|
51735
52623
|
request: AaveLoopRequest$inboundSchema
|
|
51736
52624
|
};
|
|
51737
52625
|
tool$transactionBundlerBundlerAaveLoop = {
|
|
@@ -51749,9 +52637,9 @@ This endpoint creates a multicall transaction that performs a series of operatio
|
|
|
51749
52637
|
- Supplies the swapped tokens
|
|
51750
52638
|
|
|
51751
52639
|
The transaction must be authorized using the /authorization endpoint to prevent replay attacks.`,
|
|
51752
|
-
args:
|
|
51753
|
-
tool: async (client,
|
|
51754
|
-
const [result, apiCall] = await transactionBundlerBundlerAaveLoop(client,
|
|
52640
|
+
args: args59,
|
|
52641
|
+
tool: async (client, args60, ctx) => {
|
|
52642
|
+
const [result, apiCall] = await transactionBundlerBundlerAaveLoop(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51755
52643
|
if (!result.ok) {
|
|
51756
52644
|
return {
|
|
51757
52645
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51839,12 +52727,12 @@ var init_transactionBundlerBundlerAuthorization = __esm(() => {
|
|
|
51839
52727
|
});
|
|
51840
52728
|
|
|
51841
52729
|
// src/mcp-server/tools/transactionBundlerBundlerAuthorization.ts
|
|
51842
|
-
var
|
|
52730
|
+
var args60, tool$transactionBundlerBundlerAuthorization;
|
|
51843
52731
|
var init_transactionBundlerBundlerAuthorization2 = __esm(() => {
|
|
51844
52732
|
init_transactionBundlerBundlerAuthorization();
|
|
51845
52733
|
init_components();
|
|
51846
52734
|
init_tools();
|
|
51847
|
-
|
|
52735
|
+
args60 = {
|
|
51848
52736
|
request: MulticallAuthorizationRequest$inboundSchema
|
|
51849
52737
|
};
|
|
51850
52738
|
tool$transactionBundlerBundlerAuthorization = {
|
|
@@ -51857,9 +52745,9 @@ Currently this is required for every transaction bundle to prevent replay attack
|
|
|
51857
52745
|
and ensure transaction ordering when batching multiple actions into a single
|
|
51858
52746
|
transaction. The authorization includes a nonce and chain ID to guarantee
|
|
51859
52747
|
transaction uniqueness and proper network targeting.`,
|
|
51860
|
-
args:
|
|
51861
|
-
tool: async (client,
|
|
51862
|
-
const [result, apiCall] = await transactionBundlerBundlerAuthorization(client,
|
|
52748
|
+
args: args60,
|
|
52749
|
+
tool: async (client, args61, ctx) => {
|
|
52750
|
+
const [result, apiCall] = await transactionBundlerBundlerAuthorization(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51863
52751
|
if (!result.ok) {
|
|
51864
52752
|
return {
|
|
51865
52753
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51947,12 +52835,12 @@ var init_transactionBundlerBundlerExecute = __esm(() => {
|
|
|
51947
52835
|
});
|
|
51948
52836
|
|
|
51949
52837
|
// src/mcp-server/tools/transactionBundlerBundlerExecute.ts
|
|
51950
|
-
var
|
|
52838
|
+
var args61, tool$transactionBundlerBundlerExecute;
|
|
51951
52839
|
var init_transactionBundlerBundlerExecute2 = __esm(() => {
|
|
51952
52840
|
init_transactionBundlerBundlerExecute();
|
|
51953
52841
|
init_components();
|
|
51954
52842
|
init_tools();
|
|
51955
|
-
|
|
52843
|
+
args61 = {
|
|
51956
52844
|
request: MulticallExecuteRequest$inboundSchema
|
|
51957
52845
|
};
|
|
51958
52846
|
tool$transactionBundlerBundlerExecute = {
|
|
@@ -51966,9 +52854,9 @@ This endpoint allows bundling multiple contract calls into a single atomic
|
|
|
51966
52854
|
transaction, reducing gas costs and ensuring all operations succeed or fail
|
|
51967
52855
|
together. The transaction must be authorized using the /authorization endpoint to
|
|
51968
52856
|
prevent replay attacks.`,
|
|
51969
|
-
args:
|
|
51970
|
-
tool: async (client,
|
|
51971
|
-
const [result, apiCall] = await transactionBundlerBundlerExecute(client,
|
|
52857
|
+
args: args61,
|
|
52858
|
+
tool: async (client, args62, ctx) => {
|
|
52859
|
+
const [result, apiCall] = await transactionBundlerBundlerExecute(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51972
52860
|
if (!result.ok) {
|
|
51973
52861
|
return {
|
|
51974
52862
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52056,12 +52944,12 @@ var init_uniswapV3LiquidityProvisionIncrease = __esm(() => {
|
|
|
52056
52944
|
});
|
|
52057
52945
|
|
|
52058
52946
|
// src/mcp-server/tools/uniswapV3LiquidityProvisionIncrease.ts
|
|
52059
|
-
var
|
|
52947
|
+
var args62, tool$uniswapV3LiquidityProvisionIncrease;
|
|
52060
52948
|
var init_uniswapV3LiquidityProvisionIncrease2 = __esm(() => {
|
|
52061
52949
|
init_uniswapV3LiquidityProvisionIncrease();
|
|
52062
52950
|
init_components();
|
|
52063
52951
|
init_tools();
|
|
52064
|
-
|
|
52952
|
+
args62 = {
|
|
52065
52953
|
request: UniswapIncreaseLiquidityProvisionRequest$inboundSchema
|
|
52066
52954
|
};
|
|
52067
52955
|
tool$uniswapV3LiquidityProvisionIncrease = {
|
|
@@ -52085,9 +52973,9 @@ process.
|
|
|
52085
52973
|
- \`AerodromeSlipstreamRouter\`
|
|
52086
52974
|
</Info>
|
|
52087
52975
|
`,
|
|
52088
|
-
args:
|
|
52089
|
-
tool: async (client,
|
|
52090
|
-
const [result, apiCall] = await uniswapV3LiquidityProvisionIncrease(client,
|
|
52976
|
+
args: args62,
|
|
52977
|
+
tool: async (client, args63, ctx) => {
|
|
52978
|
+
const [result, apiCall] = await uniswapV3LiquidityProvisionIncrease(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52091
52979
|
if (!result.ok) {
|
|
52092
52980
|
return {
|
|
52093
52981
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52180,12 +53068,12 @@ var init_uniswapV3LiquidityProvisionInRange = __esm(() => {
|
|
|
52180
53068
|
});
|
|
52181
53069
|
|
|
52182
53070
|
// src/mcp-server/tools/uniswapV3LiquidityProvisionInRange.ts
|
|
52183
|
-
var
|
|
53071
|
+
var args63, tool$uniswapV3LiquidityProvisionInRange;
|
|
52184
53072
|
var init_uniswapV3LiquidityProvisionInRange2 = __esm(() => {
|
|
52185
53073
|
init_uniswapV3LiquidityProvisionInRange();
|
|
52186
53074
|
init_operations();
|
|
52187
53075
|
init_tools();
|
|
52188
|
-
|
|
53076
|
+
args63 = {
|
|
52189
53077
|
request: UniswapLiquidityProvisionInRangeRequest$inboundSchema
|
|
52190
53078
|
};
|
|
52191
53079
|
tool$uniswapV3LiquidityProvisionInRange = {
|
|
@@ -52200,9 +53088,9 @@ position is currently within the tick range where trading occurs. this informati
|
|
|
52200
53088
|
is essential for users to monitor the status of their lp positions and ensure that
|
|
52201
53089
|
they are actively participating in the trading activities within the liquidity pool
|
|
52202
53090
|
and earning trading fees.`,
|
|
52203
|
-
args:
|
|
52204
|
-
tool: async (client,
|
|
52205
|
-
const [result, apiCall] = await uniswapV3LiquidityProvisionInRange(client,
|
|
53091
|
+
args: args63,
|
|
53092
|
+
tool: async (client, args64, ctx) => {
|
|
53093
|
+
const [result, apiCall] = await uniswapV3LiquidityProvisionInRange(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52206
53094
|
if (!result.ok) {
|
|
52207
53095
|
return {
|
|
52208
53096
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52290,12 +53178,12 @@ var init_uniswapV3LiquidityProvisionMint = __esm(() => {
|
|
|
52290
53178
|
});
|
|
52291
53179
|
|
|
52292
53180
|
// src/mcp-server/tools/uniswapV3LiquidityProvisionMint.ts
|
|
52293
|
-
var
|
|
53181
|
+
var args64, tool$uniswapV3LiquidityProvisionMint;
|
|
52294
53182
|
var init_uniswapV3LiquidityProvisionMint2 = __esm(() => {
|
|
52295
53183
|
init_uniswapV3LiquidityProvisionMint();
|
|
52296
53184
|
init_components();
|
|
52297
53185
|
init_tools();
|
|
52298
|
-
|
|
53186
|
+
args64 = {
|
|
52299
53187
|
request: UniswapMintLiquidityProvisionRequest$inboundSchema
|
|
52300
53188
|
};
|
|
52301
53189
|
tool$uniswapV3LiquidityProvisionMint = {
|
|
@@ -52319,9 +53207,9 @@ needed for the minting process.
|
|
|
52319
53207
|
- \`UniswapV3NFTPositionManager\`
|
|
52320
53208
|
</Info>
|
|
52321
53209
|
`,
|
|
52322
|
-
args:
|
|
52323
|
-
tool: async (client,
|
|
52324
|
-
const [result, apiCall] = await uniswapV3LiquidityProvisionMint(client,
|
|
53210
|
+
args: args64,
|
|
53211
|
+
tool: async (client, args65, ctx) => {
|
|
53212
|
+
const [result, apiCall] = await uniswapV3LiquidityProvisionMint(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52325
53213
|
if (!result.ok) {
|
|
52326
53214
|
return {
|
|
52327
53215
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52414,12 +53302,12 @@ var init_uniswapV3LiquidityProvisionPositions = __esm(() => {
|
|
|
52414
53302
|
});
|
|
52415
53303
|
|
|
52416
53304
|
// src/mcp-server/tools/uniswapV3LiquidityProvisionPositions.ts
|
|
52417
|
-
var
|
|
53305
|
+
var args65, tool$uniswapV3LiquidityProvisionPositions;
|
|
52418
53306
|
var init_uniswapV3LiquidityProvisionPositions2 = __esm(() => {
|
|
52419
53307
|
init_uniswapV3LiquidityProvisionPositions();
|
|
52420
53308
|
init_operations();
|
|
52421
53309
|
init_tools();
|
|
52422
|
-
|
|
53310
|
+
args65 = {
|
|
52423
53311
|
request: UniswapLiquidityProvisionPositionsRequest$inboundSchema
|
|
52424
53312
|
};
|
|
52425
53313
|
tool$uniswapV3LiquidityProvisionPositions = {
|
|
@@ -52433,9 +53321,9 @@ Users can query this endpoint to obtain detailed information about their LP
|
|
|
52433
53321
|
positions, including the total number of positions and relevant metadata. This
|
|
52434
53322
|
information is crucial for users to manage and analyze their liquidity provision
|
|
52435
53323
|
activities effectively.`,
|
|
52436
|
-
args:
|
|
52437
|
-
tool: async (client,
|
|
52438
|
-
const [result, apiCall] = await uniswapV3LiquidityProvisionPositions(client,
|
|
53324
|
+
args: args65,
|
|
53325
|
+
tool: async (client, args66, ctx) => {
|
|
53326
|
+
const [result, apiCall] = await uniswapV3LiquidityProvisionPositions(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52439
53327
|
if (!result.ok) {
|
|
52440
53328
|
return {
|
|
52441
53329
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52523,12 +53411,12 @@ var init_uniswapV3LiquidityProvisionWithdraw = __esm(() => {
|
|
|
52523
53411
|
});
|
|
52524
53412
|
|
|
52525
53413
|
// src/mcp-server/tools/uniswapV3LiquidityProvisionWithdraw.ts
|
|
52526
|
-
var
|
|
53414
|
+
var args66, tool$uniswapV3LiquidityProvisionWithdraw;
|
|
52527
53415
|
var init_uniswapV3LiquidityProvisionWithdraw2 = __esm(() => {
|
|
52528
53416
|
init_uniswapV3LiquidityProvisionWithdraw();
|
|
52529
53417
|
init_components();
|
|
52530
53418
|
init_tools();
|
|
52531
|
-
|
|
53419
|
+
args66 = {
|
|
52532
53420
|
request: UniswapWithdrawLiquidityProvisionRequest$inboundSchema
|
|
52533
53421
|
};
|
|
52534
53422
|
tool$uniswapV3LiquidityProvisionWithdraw = {
|
|
@@ -52553,9 +53441,9 @@ before initiating a withdrawal to avoid potential issues or penalties.
|
|
|
52553
53441
|
- \`UniswapV3NFTPositionManager\`
|
|
52554
53442
|
</Info>
|
|
52555
53443
|
`,
|
|
52556
|
-
args:
|
|
52557
|
-
tool: async (client,
|
|
52558
|
-
const [result, apiCall] = await uniswapV3LiquidityProvisionWithdraw(client,
|
|
53444
|
+
args: args66,
|
|
53445
|
+
tool: async (client, args67, ctx) => {
|
|
53446
|
+
const [result, apiCall] = await uniswapV3LiquidityProvisionWithdraw(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52559
53447
|
if (!result.ok) {
|
|
52560
53448
|
return {
|
|
52561
53449
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52650,12 +53538,12 @@ var init_uniswapV3PoolPrice = __esm(() => {
|
|
|
52650
53538
|
});
|
|
52651
53539
|
|
|
52652
53540
|
// src/mcp-server/tools/uniswapV3PoolPrice.ts
|
|
52653
|
-
var
|
|
53541
|
+
var args67, tool$uniswapV3PoolPrice;
|
|
52654
53542
|
var init_uniswapV3PoolPrice2 = __esm(() => {
|
|
52655
53543
|
init_uniswapV3PoolPrice();
|
|
52656
53544
|
init_operations();
|
|
52657
53545
|
init_tools();
|
|
52658
|
-
|
|
53546
|
+
args67 = {
|
|
52659
53547
|
request: UniswapPoolPriceRequest$inboundSchema
|
|
52660
53548
|
};
|
|
52661
53549
|
tool$uniswapV3PoolPrice = {
|
|
@@ -52665,9 +53553,9 @@ var init_uniswapV3PoolPrice2 = __esm(() => {
|
|
|
52665
53553
|
This endpoint calculates the price of a token in a Uniswap pool.
|
|
52666
53554
|
|
|
52667
53555
|
The price is calculated based on the current pool state and the specified fee tier.`,
|
|
52668
|
-
args:
|
|
52669
|
-
tool: async (client,
|
|
52670
|
-
const [result, apiCall] = await uniswapV3PoolPrice(client,
|
|
53556
|
+
args: args67,
|
|
53557
|
+
tool: async (client, args68, ctx) => {
|
|
53558
|
+
const [result, apiCall] = await uniswapV3PoolPrice(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52671
53559
|
if (!result.ok) {
|
|
52672
53560
|
return {
|
|
52673
53561
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52763,12 +53651,12 @@ var init_uniswapV3QuoteBuyExactly = __esm(() => {
|
|
|
52763
53651
|
});
|
|
52764
53652
|
|
|
52765
53653
|
// src/mcp-server/tools/uniswapV3QuoteBuyExactly.ts
|
|
52766
|
-
var
|
|
53654
|
+
var args68, tool$uniswapV3QuoteBuyExactly;
|
|
52767
53655
|
var init_uniswapV3QuoteBuyExactly2 = __esm(() => {
|
|
52768
53656
|
init_uniswapV3QuoteBuyExactly();
|
|
52769
53657
|
init_operations();
|
|
52770
53658
|
init_tools();
|
|
52771
|
-
|
|
53659
|
+
args68 = {
|
|
52772
53660
|
request: UniswapQuoteBuyExactlyRequest$inboundSchema
|
|
52773
53661
|
};
|
|
52774
53662
|
tool$uniswapV3QuoteBuyExactly = {
|
|
@@ -52780,9 +53668,9 @@ specified amount of output tokens from a Uniswap pool.
|
|
|
52780
53668
|
|
|
52781
53669
|
It also provides the resulting price after the transaction. The calculation takes
|
|
52782
53670
|
into account the current pool state and the specified fee tier.`,
|
|
52783
|
-
args:
|
|
52784
|
-
tool: async (client,
|
|
52785
|
-
const [result, apiCall] = await uniswapV3QuoteBuyExactly(client,
|
|
53671
|
+
args: args68,
|
|
53672
|
+
tool: async (client, args69, ctx) => {
|
|
53673
|
+
const [result, apiCall] = await uniswapV3QuoteBuyExactly(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52786
53674
|
if (!result.ok) {
|
|
52787
53675
|
return {
|
|
52788
53676
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52878,12 +53766,12 @@ var init_uniswapV3QuoteSellExactly = __esm(() => {
|
|
|
52878
53766
|
});
|
|
52879
53767
|
|
|
52880
53768
|
// src/mcp-server/tools/uniswapV3QuoteSellExactly.ts
|
|
52881
|
-
var
|
|
53769
|
+
var args69, tool$uniswapV3QuoteSellExactly;
|
|
52882
53770
|
var init_uniswapV3QuoteSellExactly2 = __esm(() => {
|
|
52883
53771
|
init_uniswapV3QuoteSellExactly();
|
|
52884
53772
|
init_operations();
|
|
52885
53773
|
init_tools();
|
|
52886
|
-
|
|
53774
|
+
args69 = {
|
|
52887
53775
|
request: UniswapQuoteSellExactlyRequest$inboundSchema
|
|
52888
53776
|
};
|
|
52889
53777
|
tool$uniswapV3QuoteSellExactly = {
|
|
@@ -52895,9 +53783,9 @@ specified amount of output tokens from a Uniswap pool.
|
|
|
52895
53783
|
|
|
52896
53784
|
It also provides the resulting price after the transaction. The calculation takes
|
|
52897
53785
|
into account the current pool state and the specified fee tier.`,
|
|
52898
|
-
args:
|
|
52899
|
-
tool: async (client,
|
|
52900
|
-
const [result, apiCall] = await uniswapV3QuoteSellExactly(client,
|
|
53786
|
+
args: args69,
|
|
53787
|
+
tool: async (client, args70, ctx) => {
|
|
53788
|
+
const [result, apiCall] = await uniswapV3QuoteSellExactly(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52901
53789
|
if (!result.ok) {
|
|
52902
53790
|
return {
|
|
52903
53791
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52985,12 +53873,12 @@ var init_uniswapV3SwapBuyExactly = __esm(() => {
|
|
|
52985
53873
|
});
|
|
52986
53874
|
|
|
52987
53875
|
// src/mcp-server/tools/uniswapV3SwapBuyExactly.ts
|
|
52988
|
-
var
|
|
53876
|
+
var args70, tool$uniswapV3SwapBuyExactly;
|
|
52989
53877
|
var init_uniswapV3SwapBuyExactly2 = __esm(() => {
|
|
52990
53878
|
init_uniswapV3SwapBuyExactly();
|
|
52991
53879
|
init_components();
|
|
52992
53880
|
init_tools();
|
|
52993
|
-
|
|
53881
|
+
args70 = {
|
|
52994
53882
|
request: UniswapBuyExactlyRequest$inboundSchema
|
|
52995
53883
|
};
|
|
52996
53884
|
tool$uniswapV3SwapBuyExactly = {
|
|
@@ -53012,9 +53900,9 @@ needs to be wrapped, the appropriate amount will be wrapped automatically.
|
|
|
53012
53900
|
- \`UniswapV3Router\`
|
|
53013
53901
|
</Info>
|
|
53014
53902
|
`,
|
|
53015
|
-
args:
|
|
53016
|
-
tool: async (client,
|
|
53017
|
-
const [result, apiCall] = await uniswapV3SwapBuyExactly(client,
|
|
53903
|
+
args: args70,
|
|
53904
|
+
tool: async (client, args71, ctx) => {
|
|
53905
|
+
const [result, apiCall] = await uniswapV3SwapBuyExactly(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53018
53906
|
if (!result.ok) {
|
|
53019
53907
|
return {
|
|
53020
53908
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53102,12 +53990,12 @@ var init_uniswapV3SwapSellExactly = __esm(() => {
|
|
|
53102
53990
|
});
|
|
53103
53991
|
|
|
53104
53992
|
// src/mcp-server/tools/uniswapV3SwapSellExactly.ts
|
|
53105
|
-
var
|
|
53993
|
+
var args71, tool$uniswapV3SwapSellExactly;
|
|
53106
53994
|
var init_uniswapV3SwapSellExactly2 = __esm(() => {
|
|
53107
53995
|
init_uniswapV3SwapSellExactly();
|
|
53108
53996
|
init_components();
|
|
53109
53997
|
init_tools();
|
|
53110
|
-
|
|
53998
|
+
args71 = {
|
|
53111
53999
|
request: UniswapSellExactlyRequest$inboundSchema
|
|
53112
54000
|
};
|
|
53113
54001
|
tool$uniswapV3SwapSellExactly = {
|
|
@@ -53129,9 +54017,9 @@ wrapped, the appropriate amount will be wrapped automatically.
|
|
|
53129
54017
|
- \`UniswapV3Router\`
|
|
53130
54018
|
</Info>
|
|
53131
54019
|
`,
|
|
53132
|
-
args:
|
|
53133
|
-
tool: async (client,
|
|
53134
|
-
const [result, apiCall] = await uniswapV3SwapSellExactly(client,
|
|
54020
|
+
args: args71,
|
|
54021
|
+
tool: async (client, args72, ctx) => {
|
|
54022
|
+
const [result, apiCall] = await uniswapV3SwapSellExactly(client, args72.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53135
54023
|
if (!result.ok) {
|
|
53136
54024
|
return {
|
|
53137
54025
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53226,12 +54114,12 @@ var init_universalAllowance = __esm(() => {
|
|
|
53226
54114
|
});
|
|
53227
54115
|
|
|
53228
54116
|
// src/mcp-server/tools/universalAllowance.ts
|
|
53229
|
-
var
|
|
54117
|
+
var args72, tool$universalAllowance;
|
|
53230
54118
|
var init_universalAllowance2 = __esm(() => {
|
|
53231
54119
|
init_universalAllowance();
|
|
53232
54120
|
init_operations();
|
|
53233
54121
|
init_tools();
|
|
53234
|
-
|
|
54122
|
+
args72 = {
|
|
53235
54123
|
request: GenericAllowanceRequest$inboundSchema
|
|
53236
54124
|
};
|
|
53237
54125
|
tool$universalAllowance = {
|
|
@@ -53245,9 +54133,9 @@ tokens on their behalf.
|
|
|
53245
54133
|
This is a crucial step before engaging in any transactions or operations within
|
|
53246
54134
|
these protocols, ensuring that the protocol has the necessary permissions to manage
|
|
53247
54135
|
the user's tokens securely and efficiently.`,
|
|
53248
|
-
args:
|
|
53249
|
-
tool: async (client,
|
|
53250
|
-
const [result, apiCall] = await universalAllowance(client,
|
|
54136
|
+
args: args72,
|
|
54137
|
+
tool: async (client, args73, ctx) => {
|
|
54138
|
+
const [result, apiCall] = await universalAllowance(client, args73.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53251
54139
|
if (!result.ok) {
|
|
53252
54140
|
return {
|
|
53253
54141
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53335,12 +54223,12 @@ var init_universalAllowanceSet = __esm(() => {
|
|
|
53335
54223
|
});
|
|
53336
54224
|
|
|
53337
54225
|
// src/mcp-server/tools/universalAllowanceSet.ts
|
|
53338
|
-
var
|
|
54226
|
+
var args73, tool$universalAllowanceSet;
|
|
53339
54227
|
var init_universalAllowanceSet2 = __esm(() => {
|
|
53340
54228
|
init_universalAllowanceSet();
|
|
53341
54229
|
init_components();
|
|
53342
54230
|
init_tools();
|
|
53343
|
-
|
|
54231
|
+
args73 = {
|
|
53344
54232
|
request: SetAllowanceRequest$inboundSchema
|
|
53345
54233
|
};
|
|
53346
54234
|
tool$universalAllowanceSet = {
|
|
@@ -53355,9 +54243,9 @@ authorize a protocol to spend a specified amount of tokens on behalf of the user
|
|
|
53355
54243
|
This operation is crucial for ensuring that the protocol can manage the user's
|
|
53356
54244
|
tokens securely and efficiently, enabling seamless transactions and operations
|
|
53357
54245
|
within the DeFi ecosystem.`,
|
|
53358
|
-
args:
|
|
53359
|
-
tool: async (client,
|
|
53360
|
-
const [result, apiCall] = await universalAllowanceSet(client,
|
|
54246
|
+
args: args73,
|
|
54247
|
+
tool: async (client, args74, ctx) => {
|
|
54248
|
+
const [result, apiCall] = await universalAllowanceSet(client, args74.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53361
54249
|
if (!result.ok) {
|
|
53362
54250
|
return {
|
|
53363
54251
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53450,12 +54338,12 @@ var init_universalEns = __esm(() => {
|
|
|
53450
54338
|
});
|
|
53451
54339
|
|
|
53452
54340
|
// src/mcp-server/tools/universalEns.ts
|
|
53453
|
-
var
|
|
54341
|
+
var args74, tool$universalEns;
|
|
53454
54342
|
var init_universalEns2 = __esm(() => {
|
|
53455
54343
|
init_universalEns();
|
|
53456
54344
|
init_operations();
|
|
53457
54345
|
init_tools();
|
|
53458
|
-
|
|
54346
|
+
args74 = {
|
|
53459
54347
|
request: GenericEnsRequest$inboundSchema
|
|
53460
54348
|
};
|
|
53461
54349
|
tool$universalEns = {
|
|
@@ -53466,9 +54354,9 @@ An ENS name is a string ending in \`.eth\`.
|
|
|
53466
54354
|
|
|
53467
54355
|
E.g. \`vitalik.eth\`. This endpoint can be used to
|
|
53468
54356
|
query the actual ethereum wallet address behind the ENS name.`,
|
|
53469
|
-
args:
|
|
53470
|
-
tool: async (client,
|
|
53471
|
-
const [result, apiCall] = await universalEns(client,
|
|
54357
|
+
args: args74,
|
|
54358
|
+
tool: async (client, args75, ctx) => {
|
|
54359
|
+
const [result, apiCall] = await universalEns(client, args75.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53472
54360
|
if (!result.ok) {
|
|
53473
54361
|
return {
|
|
53474
54362
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53561,12 +54449,12 @@ var init_universalPortfolio = __esm(() => {
|
|
|
53561
54449
|
});
|
|
53562
54450
|
|
|
53563
54451
|
// src/mcp-server/tools/universalPortfolio.ts
|
|
53564
|
-
var
|
|
54452
|
+
var args75, tool$universalPortfolio;
|
|
53565
54453
|
var init_universalPortfolio2 = __esm(() => {
|
|
53566
54454
|
init_universalPortfolio();
|
|
53567
54455
|
init_operations();
|
|
53568
54456
|
init_tools();
|
|
53569
|
-
|
|
54457
|
+
args75 = {
|
|
53570
54458
|
request: GenericPortfolioRequest$inboundSchema
|
|
53571
54459
|
};
|
|
53572
54460
|
tool$universalPortfolio = {
|
|
@@ -53577,9 +54465,9 @@ Fetch the detailed portfolio of a specific wallet address on a given blockchain.
|
|
|
53577
54465
|
|
|
53578
54466
|
This includes the total value of the portfolio in USD and a breakdown of token
|
|
53579
54467
|
balances, including their respective values and quantities.`,
|
|
53580
|
-
args:
|
|
53581
|
-
tool: async (client,
|
|
53582
|
-
const [result, apiCall] = await universalPortfolio(client,
|
|
54468
|
+
args: args75,
|
|
54469
|
+
tool: async (client, args76, ctx) => {
|
|
54470
|
+
const [result, apiCall] = await universalPortfolio(client, args76.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53583
54471
|
if (!result.ok) {
|
|
53584
54472
|
return {
|
|
53585
54473
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53671,12 +54559,12 @@ var init_universalSupportedChains = __esm(() => {
|
|
|
53671
54559
|
});
|
|
53672
54560
|
|
|
53673
54561
|
// src/mcp-server/tools/universalSupportedChains.ts
|
|
53674
|
-
var
|
|
54562
|
+
var args76, tool$universalSupportedChains;
|
|
53675
54563
|
var init_universalSupportedChains2 = __esm(() => {
|
|
53676
54564
|
init_universalSupportedChains();
|
|
53677
54565
|
init_operations();
|
|
53678
54566
|
init_tools();
|
|
53679
|
-
|
|
54567
|
+
args76 = {
|
|
53680
54568
|
request: GenericSupportedChainsRequest$inboundSchema
|
|
53681
54569
|
};
|
|
53682
54570
|
tool$universalSupportedChains = {
|
|
@@ -53684,9 +54572,9 @@ var init_universalSupportedChains2 = __esm(() => {
|
|
|
53684
54572
|
description: `List Supported Chains
|
|
53685
54573
|
|
|
53686
54574
|
Get the list of supported chains by the Compass API.`,
|
|
53687
|
-
args:
|
|
53688
|
-
tool: async (client,
|
|
53689
|
-
const [result, apiCall] = await universalSupportedChains(client,
|
|
54575
|
+
args: args76,
|
|
54576
|
+
tool: async (client, args77, ctx) => {
|
|
54577
|
+
const [result, apiCall] = await universalSupportedChains(client, args77.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53690
54578
|
if (!result.ok) {
|
|
53691
54579
|
return {
|
|
53692
54580
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53700,12 +54588,11 @@ Get the list of supported chains by the Compass API.`,
|
|
|
53700
54588
|
});
|
|
53701
54589
|
|
|
53702
54590
|
// src/funcs/universalSupportedTokens.ts
|
|
53703
|
-
function universalSupportedTokens(client, options) {
|
|
53704
|
-
return new APIPromise($do77(client, options));
|
|
54591
|
+
function universalSupportedTokens(client, request, options) {
|
|
54592
|
+
return new APIPromise($do77(client, request, options));
|
|
53705
54593
|
}
|
|
53706
|
-
async function $do77(client, options) {
|
|
53707
|
-
const
|
|
53708
|
-
const parsed = safeParse(input, (value) => GenericSupportedTokensRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54594
|
+
async function $do77(client, request, options) {
|
|
54595
|
+
const parsed = safeParse(request, (value) => GenericSupportedTokensRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53709
54596
|
if (!parsed.ok) {
|
|
53710
54597
|
return [parsed, { status: "invalid" }];
|
|
53711
54598
|
}
|
|
@@ -53779,17 +54666,22 @@ var init_universalSupportedTokens = __esm(() => {
|
|
|
53779
54666
|
});
|
|
53780
54667
|
|
|
53781
54668
|
// src/mcp-server/tools/universalSupportedTokens.ts
|
|
53782
|
-
var tool$universalSupportedTokens;
|
|
54669
|
+
var args77, tool$universalSupportedTokens;
|
|
53783
54670
|
var init_universalSupportedTokens2 = __esm(() => {
|
|
53784
54671
|
init_universalSupportedTokens();
|
|
54672
|
+
init_operations();
|
|
53785
54673
|
init_tools();
|
|
54674
|
+
args77 = {
|
|
54675
|
+
request: GenericSupportedTokensRequest$inboundSchema
|
|
54676
|
+
};
|
|
53786
54677
|
tool$universalSupportedTokens = {
|
|
53787
54678
|
name: "universal-supported-tokens",
|
|
53788
54679
|
description: `List Supported Tokens
|
|
53789
54680
|
|
|
53790
54681
|
Get the list of supported tokens on a chain by the Compass API.`,
|
|
53791
|
-
|
|
53792
|
-
|
|
54682
|
+
args: args77,
|
|
54683
|
+
tool: async (client, args78, ctx) => {
|
|
54684
|
+
const [result, apiCall] = await universalSupportedTokens(client, args78.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53793
54685
|
if (!result.ok) {
|
|
53794
54686
|
return {
|
|
53795
54687
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53877,12 +54769,12 @@ var init_universalUnwrapWeth = __esm(() => {
|
|
|
53877
54769
|
});
|
|
53878
54770
|
|
|
53879
54771
|
// src/mcp-server/tools/universalUnwrapWeth.ts
|
|
53880
|
-
var
|
|
54772
|
+
var args78, tool$universalUnwrapWeth;
|
|
53881
54773
|
var init_universalUnwrapWeth2 = __esm(() => {
|
|
53882
54774
|
init_universalUnwrapWeth();
|
|
53883
54775
|
init_components();
|
|
53884
54776
|
init_tools();
|
|
53885
|
-
|
|
54777
|
+
args78 = {
|
|
53886
54778
|
request: UnwrapWethRequest$inboundSchema
|
|
53887
54779
|
};
|
|
53888
54780
|
tool$universalUnwrapWeth = {
|
|
@@ -53891,9 +54783,9 @@ var init_universalUnwrapWeth2 = __esm(() => {
|
|
|
53891
54783
|
|
|
53892
54784
|
Unwrapping WETH converts the ERC-20 compliant form of ETH back to native ETH that
|
|
53893
54785
|
can be used for gas and other native purposes.`,
|
|
53894
|
-
args:
|
|
53895
|
-
tool: async (client,
|
|
53896
|
-
const [result, apiCall] = await universalUnwrapWeth(client,
|
|
54786
|
+
args: args78,
|
|
54787
|
+
tool: async (client, args79, ctx) => {
|
|
54788
|
+
const [result, apiCall] = await universalUnwrapWeth(client, args79.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53897
54789
|
if (!result.ok) {
|
|
53898
54790
|
return {
|
|
53899
54791
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53986,12 +54878,12 @@ var init_universalVisualizePortfolio = __esm(() => {
|
|
|
53986
54878
|
});
|
|
53987
54879
|
|
|
53988
54880
|
// src/mcp-server/tools/universalVisualizePortfolio.ts
|
|
53989
|
-
var
|
|
54881
|
+
var args79, tool$universalVisualizePortfolio;
|
|
53990
54882
|
var init_universalVisualizePortfolio2 = __esm(() => {
|
|
53991
54883
|
init_universalVisualizePortfolio();
|
|
53992
54884
|
init_operations();
|
|
53993
54885
|
init_tools();
|
|
53994
|
-
|
|
54886
|
+
args79 = {
|
|
53995
54887
|
request: GenericVisualizePortfolioRequest$inboundSchema
|
|
53996
54888
|
};
|
|
53997
54889
|
tool$universalVisualizePortfolio = {
|
|
@@ -54003,9 +54895,9 @@ Generate a visual representation of the token portfolio for a wallet address.
|
|
|
54003
54895
|
The response is an SVG image of a pie chart depicting the relative distribution of
|
|
54004
54896
|
tokens held, colored and labeled with token symbols, percentages and token values in
|
|
54005
54897
|
USD.`,
|
|
54006
|
-
args:
|
|
54007
|
-
tool: async (client,
|
|
54008
|
-
const [result, apiCall] = await universalVisualizePortfolio(client,
|
|
54898
|
+
args: args79,
|
|
54899
|
+
tool: async (client, args80, ctx) => {
|
|
54900
|
+
const [result, apiCall] = await universalVisualizePortfolio(client, args80.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54009
54901
|
if (!result.ok) {
|
|
54010
54902
|
return {
|
|
54011
54903
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54093,12 +54985,12 @@ var init_universalWrapEth = __esm(() => {
|
|
|
54093
54985
|
});
|
|
54094
54986
|
|
|
54095
54987
|
// src/mcp-server/tools/universalWrapEth.ts
|
|
54096
|
-
var
|
|
54988
|
+
var args80, tool$universalWrapEth;
|
|
54097
54989
|
var init_universalWrapEth2 = __esm(() => {
|
|
54098
54990
|
init_universalWrapEth();
|
|
54099
54991
|
init_components();
|
|
54100
54992
|
init_tools();
|
|
54101
|
-
|
|
54993
|
+
args80 = {
|
|
54102
54994
|
request: WrapEthRequest$inboundSchema
|
|
54103
54995
|
};
|
|
54104
54996
|
tool$universalWrapEth = {
|
|
@@ -54107,9 +54999,9 @@ var init_universalWrapEth2 = __esm(() => {
|
|
|
54107
54999
|
|
|
54108
55000
|
Wrapping ETH creates an ERC20 compliant form of ETH that is typically needed for
|
|
54109
55001
|
it to be traded on DeFi protocols.`,
|
|
54110
|
-
args:
|
|
54111
|
-
tool: async (client,
|
|
54112
|
-
const [result, apiCall] = await universalWrapEth(client,
|
|
55002
|
+
args: args80,
|
|
55003
|
+
tool: async (client, args81, ctx) => {
|
|
55004
|
+
const [result, apiCall] = await universalWrapEth(client, args81.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54113
55005
|
if (!result.ok) {
|
|
54114
55006
|
return {
|
|
54115
55007
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54126,7 +55018,7 @@ it to be traded on DeFi protocols.`,
|
|
|
54126
55018
|
function createMCPServer(deps) {
|
|
54127
55019
|
const server = new McpServer({
|
|
54128
55020
|
name: "CompassApiSDK",
|
|
54129
|
-
version: "0.5.
|
|
55021
|
+
version: "0.5.54"
|
|
54130
55022
|
});
|
|
54131
55023
|
const client = new CompassApiSDKCore({
|
|
54132
55024
|
apiKeyAuth: deps.apiKeyAuth,
|
|
@@ -55502,7 +56394,7 @@ var routes = ln({
|
|
|
55502
56394
|
var app = _e(routes, {
|
|
55503
56395
|
name: "mcp",
|
|
55504
56396
|
versionInfo: {
|
|
55505
|
-
currentVersion: "0.5.
|
|
56397
|
+
currentVersion: "0.5.54"
|
|
55506
56398
|
}
|
|
55507
56399
|
});
|
|
55508
56400
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -55510,5 +56402,5 @@ export {
|
|
|
55510
56402
|
app
|
|
55511
56403
|
};
|
|
55512
56404
|
|
|
55513
|
-
//# debugId=
|
|
56405
|
+
//# debugId=490253A154AD3A9B64756E2164756E21
|
|
55514
56406
|
//# sourceMappingURL=mcp-server.js.map
|