@compass-labs/api-sdk 0.2.0 → 0.2.2
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 +6 -2
- package/bin/mcp-server.js +990 -642
- package/bin/mcp-server.js.map +63 -46
- package/dist/commonjs/funcs/aaveV3Rate.d.ts +1 -1
- package/dist/commonjs/funcs/aaveV3Rate.js +1 -1
- package/dist/commonjs/funcs/pendleMarkets.d.ts +18 -0
- package/dist/commonjs/funcs/pendleMarkets.d.ts.map +1 -0
- package/dist/commonjs/funcs/pendleMarkets.js +121 -0
- package/dist/commonjs/funcs/pendleMarkets.js.map +1 -0
- package/dist/commonjs/funcs/pendlePositions.d.ts +18 -0
- package/dist/commonjs/funcs/pendlePositions.d.ts.map +1 -0
- package/dist/commonjs/funcs/pendlePositions.js +122 -0
- package/dist/commonjs/funcs/pendlePositions.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/server.js +5 -1
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/aaveV3Rate.js +1 -1
- package/dist/commonjs/mcp-server/tools/pendleMarkets.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/pendleMarkets.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/pendleMarkets.js +64 -0
- package/dist/commonjs/mcp-server/tools/pendleMarkets.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/pendlePositions.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/pendlePositions.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/pendlePositions.js +64 -0
- package/dist/commonjs/mcp-server/tools/pendlePositions.js.map +1 -0
- package/dist/commonjs/models/components/compassapibackendmodelsgenericreadresponseportfoliotokenbalance.d.ts +63 -0
- package/dist/commonjs/models/components/compassapibackendmodelsgenericreadresponseportfoliotokenbalance.d.ts.map +1 -0
- package/dist/commonjs/models/components/{tokenbalance.js → compassapibackendmodelsgenericreadresponseportfoliotokenbalance.js} +19 -17
- package/dist/commonjs/models/components/compassapibackendmodelsgenericreadresponseportfoliotokenbalance.js.map +1 -0
- package/dist/commonjs/models/components/compassapibackendmodelspendlereadresponsepositionstokenbalance.d.ts +31 -0
- package/dist/commonjs/models/components/compassapibackendmodelspendlereadresponsepositionstokenbalance.d.ts.map +1 -0
- package/dist/commonjs/models/components/compassapibackendmodelspendlereadresponsepositionstokenbalance.js +73 -0
- package/dist/commonjs/models/components/compassapibackendmodelspendlereadresponsepositionstokenbalance.js.map +1 -0
- package/dist/commonjs/models/components/details.d.ts +45 -0
- package/dist/commonjs/models/components/details.d.ts.map +1 -0
- package/dist/commonjs/models/components/details.js +85 -0
- package/dist/commonjs/models/components/details.js.map +1 -0
- package/dist/commonjs/models/components/index.d.ts +12 -1
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +12 -1
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/lpbalance.d.ts +33 -0
- package/dist/commonjs/models/components/lpbalance.d.ts.map +1 -0
- package/dist/commonjs/models/components/lpbalance.js +73 -0
- package/dist/commonjs/models/components/lpbalance.js.map +1 -0
- package/dist/commonjs/models/components/movement10percent.d.ts +35 -0
- package/dist/commonjs/models/components/movement10percent.d.ts.map +1 -0
- package/dist/commonjs/models/components/movement10percent.js +75 -0
- package/dist/commonjs/models/components/movement10percent.js.map +1 -0
- package/dist/commonjs/models/components/multicallauthorizationrequest.d.ts +0 -29
- package/dist/commonjs/models/components/multicallauthorizationrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/multicallauthorizationrequest.js +1 -27
- package/dist/commonjs/models/components/multicallauthorizationrequest.js.map +1 -1
- package/dist/commonjs/models/components/openposition.d.ts +37 -0
- package/dist/commonjs/models/components/openposition.d.ts.map +1 -0
- package/dist/commonjs/models/components/openposition.js +77 -0
- package/dist/commonjs/models/components/openposition.js.map +1 -0
- package/dist/commonjs/models/components/pendlelistmarketsresponse.d.ts +33 -0
- package/dist/commonjs/models/components/pendlelistmarketsresponse.d.ts.map +1 -0
- package/dist/commonjs/models/components/pendlelistmarketsresponse.js +70 -0
- package/dist/commonjs/models/components/pendlelistmarketsresponse.js.map +1 -0
- package/dist/commonjs/models/components/pendlelistuserpositionsresponse.d.ts +33 -0
- package/dist/commonjs/models/components/pendlelistuserpositionsresponse.d.ts.map +1 -0
- package/dist/commonjs/models/components/pendlelistuserpositionsresponse.js +70 -0
- package/dist/commonjs/models/components/pendlelistuserpositionsresponse.js.map +1 -0
- package/dist/commonjs/models/components/pendlemarket.d.ts +50 -0
- package/dist/commonjs/models/components/pendlemarket.d.ts.map +1 -0
- package/dist/commonjs/models/components/pendlemarket.js +90 -0
- package/dist/commonjs/models/components/pendlemarket.js.map +1 -0
- package/dist/commonjs/models/components/portfolio.d.ts +3 -3
- package/dist/commonjs/models/components/portfolio.d.ts.map +1 -1
- package/dist/commonjs/models/components/portfolio.js +3 -3
- package/dist/commonjs/models/components/portfolio.js.map +1 -1
- package/dist/commonjs/models/components/position.d.ts +45 -0
- package/dist/commonjs/models/components/position.d.ts.map +1 -0
- package/dist/commonjs/models/components/position.js +85 -0
- package/dist/commonjs/models/components/position.js.map +1 -0
- package/dist/commonjs/models/components/syposition.d.ts +31 -0
- package/dist/commonjs/models/components/syposition.d.ts.map +1 -0
- package/dist/commonjs/models/components/syposition.js +71 -0
- package/dist/commonjs/models/components/syposition.js.map +1 -0
- package/dist/commonjs/models/components/yieldrange.d.ts +31 -0
- package/dist/commonjs/models/components/yieldrange.d.ts.map +1 -0
- package/dist/commonjs/models/components/yieldrange.js +71 -0
- package/dist/commonjs/models/components/yieldrange.js.map +1 -0
- package/dist/commonjs/models/operations/aaveavgrate.d.ts +3 -27
- package/dist/commonjs/models/operations/aaveavgrate.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aaveavgrate.js +3 -26
- package/dist/commonjs/models/operations/aaveavgrate.js.map +1 -1
- package/dist/commonjs/models/operations/aavehistoricaltransactions.d.ts +3 -27
- package/dist/commonjs/models/operations/aavehistoricaltransactions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aavehistoricaltransactions.js +3 -26
- package/dist/commonjs/models/operations/aavehistoricaltransactions.js.map +1 -1
- package/dist/commonjs/models/operations/aaveliquiditychange.d.ts +3 -27
- package/dist/commonjs/models/operations/aaveliquiditychange.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aaveliquiditychange.js +3 -26
- package/dist/commonjs/models/operations/aaveliquiditychange.js.map +1 -1
- package/dist/commonjs/models/operations/aaverate.d.ts +3 -27
- package/dist/commonjs/models/operations/aaverate.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aaverate.js +3 -26
- package/dist/commonjs/models/operations/aaverate.js.map +1 -1
- package/dist/commonjs/models/operations/aavereserveoverview.d.ts +3 -27
- package/dist/commonjs/models/operations/aavereserveoverview.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aavereserveoverview.js +3 -26
- package/dist/commonjs/models/operations/aavereserveoverview.js.map +1 -1
- package/dist/commonjs/models/operations/aavestdrate.d.ts +3 -27
- package/dist/commonjs/models/operations/aavestdrate.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aavestdrate.js +3 -26
- package/dist/commonjs/models/operations/aavestdrate.js.map +1 -1
- package/dist/commonjs/models/operations/aavetokenprice.d.ts +3 -27
- package/dist/commonjs/models/operations/aavetokenprice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aavetokenprice.js +3 -26
- package/dist/commonjs/models/operations/aavetokenprice.js.map +1 -1
- package/dist/commonjs/models/operations/aaveuserpositionpertoken.d.ts +3 -27
- package/dist/commonjs/models/operations/aaveuserpositionpertoken.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aaveuserpositionpertoken.js +3 -26
- package/dist/commonjs/models/operations/aaveuserpositionpertoken.js.map +1 -1
- package/dist/commonjs/models/operations/aaveuserpositionsummary.d.ts +3 -27
- package/dist/commonjs/models/operations/aaveuserpositionsummary.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aaveuserpositionsummary.js +3 -26
- package/dist/commonjs/models/operations/aaveuserpositionsummary.js.map +1 -1
- package/dist/commonjs/models/operations/aerodromeslipstreamliquidityprovisionpositions.d.ts +3 -27
- package/dist/commonjs/models/operations/aerodromeslipstreamliquidityprovisionpositions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aerodromeslipstreamliquidityprovisionpositions.js +3 -26
- package/dist/commonjs/models/operations/aerodromeslipstreamliquidityprovisionpositions.js.map +1 -1
- package/dist/commonjs/models/operations/aerodromeslipstreampoolprice.d.ts +3 -27
- package/dist/commonjs/models/operations/aerodromeslipstreampoolprice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aerodromeslipstreampoolprice.js +3 -26
- package/dist/commonjs/models/operations/aerodromeslipstreampoolprice.js.map +1 -1
- package/dist/commonjs/models/operations/genericallowance.d.ts +3 -27
- package/dist/commonjs/models/operations/genericallowance.d.ts.map +1 -1
- package/dist/commonjs/models/operations/genericallowance.js +3 -26
- package/dist/commonjs/models/operations/genericallowance.js.map +1 -1
- package/dist/commonjs/models/operations/genericens.d.ts +3 -27
- package/dist/commonjs/models/operations/genericens.d.ts.map +1 -1
- package/dist/commonjs/models/operations/genericens.js +3 -26
- package/dist/commonjs/models/operations/genericens.js.map +1 -1
- package/dist/commonjs/models/operations/genericportfolio.d.ts +3 -27
- package/dist/commonjs/models/operations/genericportfolio.d.ts.map +1 -1
- package/dist/commonjs/models/operations/genericportfolio.js +3 -26
- package/dist/commonjs/models/operations/genericportfolio.js.map +1 -1
- package/dist/commonjs/models/operations/genericsupportedtokens.d.ts +3 -27
- package/dist/commonjs/models/operations/genericsupportedtokens.d.ts.map +1 -1
- package/dist/commonjs/models/operations/genericsupportedtokens.js +3 -26
- package/dist/commonjs/models/operations/genericsupportedtokens.js.map +1 -1
- package/dist/commonjs/models/operations/genericvisualizeportfolio.d.ts +3 -27
- package/dist/commonjs/models/operations/genericvisualizeportfolio.d.ts.map +1 -1
- package/dist/commonjs/models/operations/genericvisualizeportfolio.js +3 -26
- package/dist/commonjs/models/operations/genericvisualizeportfolio.js.map +1 -1
- package/dist/commonjs/models/operations/index.d.ts +2 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +2 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/morphomarket.d.ts +3 -27
- package/dist/commonjs/models/operations/morphomarket.d.ts.map +1 -1
- package/dist/commonjs/models/operations/morphomarket.js +3 -26
- package/dist/commonjs/models/operations/morphomarket.js.map +1 -1
- package/dist/commonjs/models/operations/morphomarketposition.d.ts +3 -27
- package/dist/commonjs/models/operations/morphomarketposition.d.ts.map +1 -1
- package/dist/commonjs/models/operations/morphomarketposition.js +3 -26
- package/dist/commonjs/models/operations/morphomarketposition.js.map +1 -1
- package/dist/commonjs/models/operations/morphomarkets.d.ts +3 -27
- package/dist/commonjs/models/operations/morphomarkets.d.ts.map +1 -1
- package/dist/commonjs/models/operations/morphomarkets.js +3 -26
- package/dist/commonjs/models/operations/morphomarkets.js.map +1 -1
- package/dist/commonjs/models/operations/morphouserposition.d.ts +3 -27
- package/dist/commonjs/models/operations/morphouserposition.d.ts.map +1 -1
- package/dist/commonjs/models/operations/morphouserposition.js +3 -26
- package/dist/commonjs/models/operations/morphouserposition.js.map +1 -1
- package/dist/commonjs/models/operations/morphovault.d.ts +3 -27
- package/dist/commonjs/models/operations/morphovault.d.ts.map +1 -1
- package/dist/commonjs/models/operations/morphovault.js +3 -26
- package/dist/commonjs/models/operations/morphovault.js.map +1 -1
- package/dist/commonjs/models/operations/morphovaultposition.d.ts +3 -27
- package/dist/commonjs/models/operations/morphovaultposition.d.ts.map +1 -1
- package/dist/commonjs/models/operations/morphovaultposition.js +3 -26
- package/dist/commonjs/models/operations/morphovaultposition.js.map +1 -1
- package/dist/commonjs/models/operations/morphovaults.d.ts +3 -27
- package/dist/commonjs/models/operations/morphovaults.d.ts.map +1 -1
- package/dist/commonjs/models/operations/morphovaults.js +3 -26
- package/dist/commonjs/models/operations/morphovaults.js.map +1 -1
- package/dist/commonjs/models/operations/pendlemarket.d.ts +3 -27
- package/dist/commonjs/models/operations/pendlemarket.d.ts.map +1 -1
- package/dist/commonjs/models/operations/pendlemarket.js +5 -28
- package/dist/commonjs/models/operations/pendlemarket.js.map +1 -1
- package/dist/commonjs/models/operations/pendlemarkets.d.ts +72 -0
- package/dist/commonjs/models/operations/pendlemarkets.d.ts.map +1 -0
- package/dist/commonjs/models/operations/pendlemarkets.js +94 -0
- package/dist/commonjs/models/operations/pendlemarkets.js.map +1 -0
- package/dist/commonjs/models/operations/pendleposition.d.ts +3 -27
- package/dist/commonjs/models/operations/pendleposition.d.ts.map +1 -1
- package/dist/commonjs/models/operations/pendleposition.js +5 -28
- package/dist/commonjs/models/operations/pendleposition.js.map +1 -1
- package/dist/commonjs/models/operations/pendlepositions.d.ts +77 -0
- package/dist/commonjs/models/operations/pendlepositions.d.ts.map +1 -0
- package/dist/commonjs/models/operations/pendlepositions.js +105 -0
- package/dist/commonjs/models/operations/pendlepositions.js.map +1 -0
- package/dist/commonjs/models/operations/skyposition.d.ts +3 -27
- package/dist/commonjs/models/operations/skyposition.d.ts.map +1 -1
- package/dist/commonjs/models/operations/skyposition.js +3 -26
- package/dist/commonjs/models/operations/skyposition.js.map +1 -1
- package/dist/commonjs/models/operations/tokenaddress.d.ts +3 -27
- package/dist/commonjs/models/operations/tokenaddress.d.ts.map +1 -1
- package/dist/commonjs/models/operations/tokenaddress.js +3 -26
- package/dist/commonjs/models/operations/tokenaddress.js.map +1 -1
- package/dist/commonjs/models/operations/tokenbalance.d.ts +3 -27
- package/dist/commonjs/models/operations/tokenbalance.d.ts.map +1 -1
- package/dist/commonjs/models/operations/tokenbalance.js +3 -26
- package/dist/commonjs/models/operations/tokenbalance.js.map +1 -1
- package/dist/commonjs/models/operations/uniswapliquidityprovisioninrange.d.ts +3 -27
- package/dist/commonjs/models/operations/uniswapliquidityprovisioninrange.d.ts.map +1 -1
- package/dist/commonjs/models/operations/uniswapliquidityprovisioninrange.js +3 -26
- package/dist/commonjs/models/operations/uniswapliquidityprovisioninrange.js.map +1 -1
- package/dist/commonjs/models/operations/uniswapliquidityprovisionpositions.d.ts +3 -27
- package/dist/commonjs/models/operations/uniswapliquidityprovisionpositions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/uniswapliquidityprovisionpositions.js +3 -26
- package/dist/commonjs/models/operations/uniswapliquidityprovisionpositions.js.map +1 -1
- package/dist/commonjs/models/operations/uniswappoolprice.d.ts +3 -27
- package/dist/commonjs/models/operations/uniswappoolprice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/uniswappoolprice.js +3 -26
- package/dist/commonjs/models/operations/uniswappoolprice.js.map +1 -1
- package/dist/commonjs/models/operations/uniswapquotebuyexactly.d.ts +3 -27
- package/dist/commonjs/models/operations/uniswapquotebuyexactly.d.ts.map +1 -1
- package/dist/commonjs/models/operations/uniswapquotebuyexactly.js +3 -26
- package/dist/commonjs/models/operations/uniswapquotebuyexactly.js.map +1 -1
- package/dist/commonjs/models/operations/uniswapquotesellexactly.d.ts +3 -27
- package/dist/commonjs/models/operations/uniswapquotesellexactly.d.ts.map +1 -1
- package/dist/commonjs/models/operations/uniswapquotesellexactly.js +3 -26
- package/dist/commonjs/models/operations/uniswapquotesellexactly.js.map +1 -1
- package/dist/commonjs/sdk/aavev3.d.ts +1 -1
- package/dist/commonjs/sdk/aavev3.js +1 -1
- package/dist/commonjs/sdk/pendle.d.ts +14 -0
- package/dist/commonjs/sdk/pendle.d.ts.map +1 -1
- package/dist/commonjs/sdk/pendle.js +20 -0
- package/dist/commonjs/sdk/pendle.js.map +1 -1
- package/dist/esm/funcs/aaveV3Rate.d.ts +1 -1
- package/dist/esm/funcs/aaveV3Rate.js +1 -1
- package/dist/esm/funcs/pendleMarkets.d.ts +18 -0
- package/dist/esm/funcs/pendleMarkets.d.ts.map +1 -0
- package/dist/esm/funcs/pendleMarkets.js +85 -0
- package/dist/esm/funcs/pendleMarkets.js.map +1 -0
- package/dist/esm/funcs/pendlePositions.d.ts +18 -0
- package/dist/esm/funcs/pendlePositions.d.ts.map +1 -0
- package/dist/esm/funcs/pendlePositions.js +86 -0
- package/dist/esm/funcs/pendlePositions.js.map +1 -0
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.d.ts.map +1 -1
- package/dist/esm/mcp-server/server.js +5 -1
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/aaveV3Rate.js +1 -1
- package/dist/esm/mcp-server/tools/pendleMarkets.d.ts +8 -0
- package/dist/esm/mcp-server/tools/pendleMarkets.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/pendleMarkets.js +28 -0
- package/dist/esm/mcp-server/tools/pendleMarkets.js.map +1 -0
- package/dist/esm/mcp-server/tools/pendlePositions.d.ts +8 -0
- package/dist/esm/mcp-server/tools/pendlePositions.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/pendlePositions.js +28 -0
- package/dist/esm/mcp-server/tools/pendlePositions.js.map +1 -0
- package/dist/esm/models/components/compassapibackendmodelsgenericreadresponseportfoliotokenbalance.d.ts +63 -0
- package/dist/esm/models/components/compassapibackendmodelsgenericreadresponseportfoliotokenbalance.d.ts.map +1 -0
- package/dist/esm/models/components/compassapibackendmodelsgenericreadresponseportfoliotokenbalance.js +57 -0
- package/dist/esm/models/components/compassapibackendmodelsgenericreadresponseportfoliotokenbalance.js.map +1 -0
- package/dist/esm/models/components/compassapibackendmodelspendlereadresponsepositionstokenbalance.d.ts +31 -0
- package/dist/esm/models/components/compassapibackendmodelspendlereadresponsepositionstokenbalance.d.ts.map +1 -0
- package/dist/esm/models/components/compassapibackendmodelspendlereadresponsepositionstokenbalance.js +35 -0
- package/dist/esm/models/components/compassapibackendmodelspendlereadresponsepositionstokenbalance.js.map +1 -0
- package/dist/esm/models/components/details.d.ts +45 -0
- package/dist/esm/models/components/details.d.ts.map +1 -0
- package/dist/esm/models/components/details.js +47 -0
- package/dist/esm/models/components/details.js.map +1 -0
- package/dist/esm/models/components/index.d.ts +12 -1
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +12 -1
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/lpbalance.d.ts +33 -0
- package/dist/esm/models/components/lpbalance.d.ts.map +1 -0
- package/dist/esm/models/components/lpbalance.js +35 -0
- package/dist/esm/models/components/lpbalance.js.map +1 -0
- package/dist/esm/models/components/movement10percent.d.ts +35 -0
- package/dist/esm/models/components/movement10percent.d.ts.map +1 -0
- package/dist/esm/models/components/movement10percent.js +37 -0
- package/dist/esm/models/components/movement10percent.js.map +1 -0
- package/dist/esm/models/components/multicallauthorizationrequest.d.ts +0 -29
- package/dist/esm/models/components/multicallauthorizationrequest.d.ts.map +1 -1
- package/dist/esm/models/components/multicallauthorizationrequest.js +0 -24
- package/dist/esm/models/components/multicallauthorizationrequest.js.map +1 -1
- package/dist/esm/models/components/openposition.d.ts +37 -0
- package/dist/esm/models/components/openposition.d.ts.map +1 -0
- package/dist/esm/models/components/openposition.js +39 -0
- package/dist/esm/models/components/openposition.js.map +1 -0
- package/dist/esm/models/components/pendlelistmarketsresponse.d.ts +33 -0
- package/dist/esm/models/components/pendlelistmarketsresponse.d.ts.map +1 -0
- package/dist/esm/models/components/pendlelistmarketsresponse.js +32 -0
- package/dist/esm/models/components/pendlelistmarketsresponse.js.map +1 -0
- package/dist/esm/models/components/pendlelistuserpositionsresponse.d.ts +33 -0
- package/dist/esm/models/components/pendlelistuserpositionsresponse.d.ts.map +1 -0
- package/dist/esm/models/components/pendlelistuserpositionsresponse.js +32 -0
- package/dist/esm/models/components/pendlelistuserpositionsresponse.js.map +1 -0
- package/dist/esm/models/components/pendlemarket.d.ts +50 -0
- package/dist/esm/models/components/pendlemarket.d.ts.map +1 -0
- package/dist/esm/models/components/pendlemarket.js +52 -0
- package/dist/esm/models/components/pendlemarket.js.map +1 -0
- package/dist/esm/models/components/portfolio.d.ts +3 -3
- package/dist/esm/models/components/portfolio.d.ts.map +1 -1
- package/dist/esm/models/components/portfolio.js +3 -3
- package/dist/esm/models/components/portfolio.js.map +1 -1
- package/dist/esm/models/components/position.d.ts +45 -0
- package/dist/esm/models/components/position.d.ts.map +1 -0
- package/dist/esm/models/components/position.js +47 -0
- package/dist/esm/models/components/position.js.map +1 -0
- package/dist/esm/models/components/syposition.d.ts +31 -0
- package/dist/esm/models/components/syposition.d.ts.map +1 -0
- package/dist/esm/models/components/syposition.js +33 -0
- package/dist/esm/models/components/syposition.js.map +1 -0
- package/dist/esm/models/components/yieldrange.d.ts +31 -0
- package/dist/esm/models/components/yieldrange.d.ts.map +1 -0
- package/dist/esm/models/components/yieldrange.js +33 -0
- package/dist/esm/models/components/yieldrange.js.map +1 -0
- package/dist/esm/models/operations/aaveavgrate.d.ts +3 -27
- package/dist/esm/models/operations/aaveavgrate.d.ts.map +1 -1
- package/dist/esm/models/operations/aaveavgrate.js +2 -23
- package/dist/esm/models/operations/aaveavgrate.js.map +1 -1
- package/dist/esm/models/operations/aavehistoricaltransactions.d.ts +3 -27
- package/dist/esm/models/operations/aavehistoricaltransactions.d.ts.map +1 -1
- package/dist/esm/models/operations/aavehistoricaltransactions.js +2 -23
- package/dist/esm/models/operations/aavehistoricaltransactions.js.map +1 -1
- package/dist/esm/models/operations/aaveliquiditychange.d.ts +3 -27
- package/dist/esm/models/operations/aaveliquiditychange.d.ts.map +1 -1
- package/dist/esm/models/operations/aaveliquiditychange.js +2 -23
- package/dist/esm/models/operations/aaveliquiditychange.js.map +1 -1
- package/dist/esm/models/operations/aaverate.d.ts +3 -27
- package/dist/esm/models/operations/aaverate.d.ts.map +1 -1
- package/dist/esm/models/operations/aaverate.js +2 -23
- package/dist/esm/models/operations/aaverate.js.map +1 -1
- package/dist/esm/models/operations/aavereserveoverview.d.ts +3 -27
- package/dist/esm/models/operations/aavereserveoverview.d.ts.map +1 -1
- package/dist/esm/models/operations/aavereserveoverview.js +2 -23
- package/dist/esm/models/operations/aavereserveoverview.js.map +1 -1
- package/dist/esm/models/operations/aavestdrate.d.ts +3 -27
- package/dist/esm/models/operations/aavestdrate.d.ts.map +1 -1
- package/dist/esm/models/operations/aavestdrate.js +2 -23
- package/dist/esm/models/operations/aavestdrate.js.map +1 -1
- package/dist/esm/models/operations/aavetokenprice.d.ts +3 -27
- package/dist/esm/models/operations/aavetokenprice.d.ts.map +1 -1
- package/dist/esm/models/operations/aavetokenprice.js +2 -23
- package/dist/esm/models/operations/aavetokenprice.js.map +1 -1
- package/dist/esm/models/operations/aaveuserpositionpertoken.d.ts +3 -27
- package/dist/esm/models/operations/aaveuserpositionpertoken.d.ts.map +1 -1
- package/dist/esm/models/operations/aaveuserpositionpertoken.js +2 -23
- package/dist/esm/models/operations/aaveuserpositionpertoken.js.map +1 -1
- package/dist/esm/models/operations/aaveuserpositionsummary.d.ts +3 -27
- package/dist/esm/models/operations/aaveuserpositionsummary.d.ts.map +1 -1
- package/dist/esm/models/operations/aaveuserpositionsummary.js +2 -23
- package/dist/esm/models/operations/aaveuserpositionsummary.js.map +1 -1
- package/dist/esm/models/operations/aerodromeslipstreamliquidityprovisionpositions.d.ts +3 -27
- package/dist/esm/models/operations/aerodromeslipstreamliquidityprovisionpositions.d.ts.map +1 -1
- package/dist/esm/models/operations/aerodromeslipstreamliquidityprovisionpositions.js +2 -23
- package/dist/esm/models/operations/aerodromeslipstreamliquidityprovisionpositions.js.map +1 -1
- package/dist/esm/models/operations/aerodromeslipstreampoolprice.d.ts +3 -27
- package/dist/esm/models/operations/aerodromeslipstreampoolprice.d.ts.map +1 -1
- package/dist/esm/models/operations/aerodromeslipstreampoolprice.js +2 -23
- package/dist/esm/models/operations/aerodromeslipstreampoolprice.js.map +1 -1
- package/dist/esm/models/operations/genericallowance.d.ts +3 -27
- package/dist/esm/models/operations/genericallowance.d.ts.map +1 -1
- package/dist/esm/models/operations/genericallowance.js +2 -23
- package/dist/esm/models/operations/genericallowance.js.map +1 -1
- package/dist/esm/models/operations/genericens.d.ts +3 -27
- package/dist/esm/models/operations/genericens.d.ts.map +1 -1
- package/dist/esm/models/operations/genericens.js +2 -23
- package/dist/esm/models/operations/genericens.js.map +1 -1
- package/dist/esm/models/operations/genericportfolio.d.ts +3 -27
- package/dist/esm/models/operations/genericportfolio.d.ts.map +1 -1
- package/dist/esm/models/operations/genericportfolio.js +2 -23
- package/dist/esm/models/operations/genericportfolio.js.map +1 -1
- package/dist/esm/models/operations/genericsupportedtokens.d.ts +3 -27
- package/dist/esm/models/operations/genericsupportedtokens.d.ts.map +1 -1
- package/dist/esm/models/operations/genericsupportedtokens.js +2 -23
- package/dist/esm/models/operations/genericsupportedtokens.js.map +1 -1
- package/dist/esm/models/operations/genericvisualizeportfolio.d.ts +3 -27
- package/dist/esm/models/operations/genericvisualizeportfolio.d.ts.map +1 -1
- package/dist/esm/models/operations/genericvisualizeportfolio.js +2 -23
- package/dist/esm/models/operations/genericvisualizeportfolio.js.map +1 -1
- package/dist/esm/models/operations/index.d.ts +2 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +2 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/morphomarket.d.ts +3 -27
- package/dist/esm/models/operations/morphomarket.d.ts.map +1 -1
- package/dist/esm/models/operations/morphomarket.js +2 -23
- package/dist/esm/models/operations/morphomarket.js.map +1 -1
- package/dist/esm/models/operations/morphomarketposition.d.ts +3 -27
- package/dist/esm/models/operations/morphomarketposition.d.ts.map +1 -1
- package/dist/esm/models/operations/morphomarketposition.js +2 -23
- package/dist/esm/models/operations/morphomarketposition.js.map +1 -1
- package/dist/esm/models/operations/morphomarkets.d.ts +3 -27
- package/dist/esm/models/operations/morphomarkets.d.ts.map +1 -1
- package/dist/esm/models/operations/morphomarkets.js +2 -23
- package/dist/esm/models/operations/morphomarkets.js.map +1 -1
- package/dist/esm/models/operations/morphouserposition.d.ts +3 -27
- package/dist/esm/models/operations/morphouserposition.d.ts.map +1 -1
- package/dist/esm/models/operations/morphouserposition.js +2 -23
- package/dist/esm/models/operations/morphouserposition.js.map +1 -1
- package/dist/esm/models/operations/morphovault.d.ts +3 -27
- package/dist/esm/models/operations/morphovault.d.ts.map +1 -1
- package/dist/esm/models/operations/morphovault.js +2 -23
- package/dist/esm/models/operations/morphovault.js.map +1 -1
- package/dist/esm/models/operations/morphovaultposition.d.ts +3 -27
- package/dist/esm/models/operations/morphovaultposition.d.ts.map +1 -1
- package/dist/esm/models/operations/morphovaultposition.js +2 -23
- package/dist/esm/models/operations/morphovaultposition.js.map +1 -1
- package/dist/esm/models/operations/morphovaults.d.ts +3 -27
- package/dist/esm/models/operations/morphovaults.d.ts.map +1 -1
- package/dist/esm/models/operations/morphovaults.js +2 -23
- package/dist/esm/models/operations/morphovaults.js.map +1 -1
- package/dist/esm/models/operations/pendlemarket.d.ts +3 -27
- package/dist/esm/models/operations/pendlemarket.d.ts.map +1 -1
- package/dist/esm/models/operations/pendlemarket.js +4 -25
- package/dist/esm/models/operations/pendlemarket.js.map +1 -1
- package/dist/esm/models/operations/pendlemarkets.d.ts +72 -0
- package/dist/esm/models/operations/pendlemarkets.d.ts.map +1 -0
- package/dist/esm/models/operations/pendlemarkets.js +56 -0
- package/dist/esm/models/operations/pendlemarkets.js.map +1 -0
- package/dist/esm/models/operations/pendleposition.d.ts +3 -27
- package/dist/esm/models/operations/pendleposition.d.ts.map +1 -1
- package/dist/esm/models/operations/pendleposition.js +4 -25
- package/dist/esm/models/operations/pendleposition.js.map +1 -1
- package/dist/esm/models/operations/pendlepositions.d.ts +77 -0
- package/dist/esm/models/operations/pendlepositions.d.ts.map +1 -0
- package/dist/esm/models/operations/pendlepositions.js +67 -0
- package/dist/esm/models/operations/pendlepositions.js.map +1 -0
- package/dist/esm/models/operations/skyposition.d.ts +3 -27
- package/dist/esm/models/operations/skyposition.d.ts.map +1 -1
- package/dist/esm/models/operations/skyposition.js +2 -23
- package/dist/esm/models/operations/skyposition.js.map +1 -1
- package/dist/esm/models/operations/tokenaddress.d.ts +3 -27
- package/dist/esm/models/operations/tokenaddress.d.ts.map +1 -1
- package/dist/esm/models/operations/tokenaddress.js +2 -23
- package/dist/esm/models/operations/tokenaddress.js.map +1 -1
- package/dist/esm/models/operations/tokenbalance.d.ts +3 -27
- package/dist/esm/models/operations/tokenbalance.d.ts.map +1 -1
- package/dist/esm/models/operations/tokenbalance.js +2 -23
- package/dist/esm/models/operations/tokenbalance.js.map +1 -1
- package/dist/esm/models/operations/uniswapliquidityprovisioninrange.d.ts +3 -27
- package/dist/esm/models/operations/uniswapliquidityprovisioninrange.d.ts.map +1 -1
- package/dist/esm/models/operations/uniswapliquidityprovisioninrange.js +2 -23
- package/dist/esm/models/operations/uniswapliquidityprovisioninrange.js.map +1 -1
- package/dist/esm/models/operations/uniswapliquidityprovisionpositions.d.ts +3 -27
- package/dist/esm/models/operations/uniswapliquidityprovisionpositions.d.ts.map +1 -1
- package/dist/esm/models/operations/uniswapliquidityprovisionpositions.js +2 -23
- package/dist/esm/models/operations/uniswapliquidityprovisionpositions.js.map +1 -1
- package/dist/esm/models/operations/uniswappoolprice.d.ts +3 -27
- package/dist/esm/models/operations/uniswappoolprice.d.ts.map +1 -1
- package/dist/esm/models/operations/uniswappoolprice.js +2 -23
- package/dist/esm/models/operations/uniswappoolprice.js.map +1 -1
- package/dist/esm/models/operations/uniswapquotebuyexactly.d.ts +3 -27
- package/dist/esm/models/operations/uniswapquotebuyexactly.d.ts.map +1 -1
- package/dist/esm/models/operations/uniswapquotebuyexactly.js +2 -23
- package/dist/esm/models/operations/uniswapquotebuyexactly.js.map +1 -1
- package/dist/esm/models/operations/uniswapquotesellexactly.d.ts +3 -27
- package/dist/esm/models/operations/uniswapquotesellexactly.d.ts.map +1 -1
- package/dist/esm/models/operations/uniswapquotesellexactly.js +2 -23
- package/dist/esm/models/operations/uniswapquotesellexactly.js.map +1 -1
- package/dist/esm/sdk/aavev3.d.ts +1 -1
- package/dist/esm/sdk/aavev3.js +1 -1
- package/dist/esm/sdk/pendle.d.ts +14 -0
- package/dist/esm/sdk/pendle.d.ts.map +1 -1
- package/dist/esm/sdk/pendle.js +20 -0
- package/dist/esm/sdk/pendle.js.map +1 -1
- package/docs/sdks/aavev3/README.md +1 -1
- package/docs/sdks/pendle/README.md +162 -4
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/aaveV3Rate.ts +1 -1
- package/src/funcs/pendleMarkets.ts +169 -0
- package/src/funcs/pendlePositions.ts +170 -0
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +5 -1
- package/src/mcp-server/tools/aaveV3Rate.ts +1 -1
- package/src/mcp-server/tools/pendleMarkets.ts +37 -0
- package/src/mcp-server/tools/pendlePositions.ts +37 -0
- package/src/models/components/compassapibackendmodelsgenericreadresponseportfoliotokenbalance.ts +140 -0
- package/src/models/components/compassapibackendmodelspendlereadresponsepositionstokenbalance.ts +83 -0
- package/src/models/components/details.ts +99 -0
- package/src/models/components/index.ts +12 -1
- package/src/models/components/lpbalance.ts +70 -0
- package/src/models/components/movement10percent.ts +78 -0
- package/src/models/components/multicallauthorizationrequest.ts +0 -53
- package/src/models/components/openposition.ts +90 -0
- package/src/models/components/pendlelistmarketsresponse.ts +75 -0
- package/src/models/components/pendlelistuserpositionsresponse.ts +77 -0
- package/src/models/components/pendlemarket.ts +108 -0
- package/src/models/components/portfolio.ts +17 -9
- package/src/models/components/position.ts +102 -0
- package/src/models/components/syposition.ts +66 -0
- package/src/models/components/yieldrange.ts +66 -0
- package/src/models/operations/aaveavgrate.ts +5 -58
- package/src/models/operations/aavehistoricaltransactions.ts +5 -60
- package/src/models/operations/aaveliquiditychange.ts +5 -58
- package/src/models/operations/aaverate.ts +5 -54
- package/src/models/operations/aavereserveoverview.ts +5 -58
- package/src/models/operations/aavestdrate.ts +5 -58
- package/src/models/operations/aavetokenprice.ts +5 -58
- package/src/models/operations/aaveuserpositionpertoken.ts +5 -60
- package/src/models/operations/aaveuserpositionsummary.ts +5 -60
- package/src/models/operations/aerodromeslipstreamliquidityprovisionpositions.ts +5 -76
- package/src/models/operations/aerodromeslipstreampoolprice.ts +5 -61
- package/src/models/operations/genericallowance.ts +5 -58
- package/src/models/operations/genericens.ts +5 -56
- package/src/models/operations/genericportfolio.ts +5 -58
- package/src/models/operations/genericsupportedtokens.ts +5 -60
- package/src/models/operations/genericvisualizeportfolio.ts +5 -60
- package/src/models/operations/index.ts +2 -0
- package/src/models/operations/morphomarket.ts +5 -58
- package/src/models/operations/morphomarketposition.ts +5 -58
- package/src/models/operations/morphomarkets.ts +5 -58
- package/src/models/operations/morphouserposition.ts +5 -58
- package/src/models/operations/morphovault.ts +5 -58
- package/src/models/operations/morphovaultposition.ts +5 -58
- package/src/models/operations/morphovaults.ts +5 -58
- package/src/models/operations/pendlemarket.ts +7 -60
- package/src/models/operations/pendlemarkets.ts +111 -0
- package/src/models/operations/pendleposition.ts +7 -60
- package/src/models/operations/pendlepositions.ts +129 -0
- package/src/models/operations/skyposition.ts +5 -58
- package/src/models/operations/tokenaddress.ts +5 -58
- package/src/models/operations/tokenbalance.ts +5 -58
- package/src/models/operations/uniswapliquidityprovisioninrange.ts +5 -63
- package/src/models/operations/uniswapliquidityprovisionpositions.ts +5 -69
- package/src/models/operations/uniswappoolprice.ts +5 -58
- package/src/models/operations/uniswapquotebuyexactly.ts +5 -60
- package/src/models/operations/uniswapquotesellexactly.ts +5 -60
- package/src/sdk/aavev3.ts +1 -1
- package/src/sdk/pendle.ts +36 -0
- package/dist/commonjs/models/components/tokenbalance.d.ts +0 -63
- package/dist/commonjs/models/components/tokenbalance.d.ts.map +0 -1
- package/dist/commonjs/models/components/tokenbalance.js.map +0 -1
- package/dist/esm/models/components/tokenbalance.d.ts +0 -63
- package/dist/esm/models/components/tokenbalance.d.ts.map +0 -1
- package/dist/esm/models/components/tokenbalance.js +0 -55
- package/dist/esm/models/components/tokenbalance.js.map +0 -1
- package/src/models/components/tokenbalance.ts +0 -123
package/bin/mcp-server.js
CHANGED
|
@@ -34205,9 +34205,9 @@ var init_config = __esm(() => {
|
|
|
34205
34205
|
SDK_METADATA = {
|
|
34206
34206
|
language: "typescript",
|
|
34207
34207
|
openapiDocVersion: "0.0.1",
|
|
34208
|
-
sdkVersion: "0.2.
|
|
34208
|
+
sdkVersion: "0.2.2",
|
|
34209
34209
|
genVersion: "2.610.0",
|
|
34210
|
-
userAgent: "speakeasy-sdk/typescript 0.2.
|
|
34210
|
+
userAgent: "speakeasy-sdk/typescript 0.2.2 2.610.0 0.0.1 @compass-labs/api-sdk"
|
|
34211
34211
|
};
|
|
34212
34212
|
});
|
|
34213
34213
|
|
|
@@ -38678,6 +38678,46 @@ var init_chaininfo = __esm(() => {
|
|
|
38678
38678
|
})(ChainInfo$ ||= {});
|
|
38679
38679
|
});
|
|
38680
38680
|
|
|
38681
|
+
// src/models/components/compassapibackendmodelsgenericreadresponseportfoliotokenbalance.ts
|
|
38682
|
+
var CompassApiBackendModelsGenericReadResponsePortfolioTokenBalance$inboundSchema, CompassApiBackendModelsGenericReadResponsePortfolioTokenBalance$outboundSchema, CompassApiBackendModelsGenericReadResponsePortfolioTokenBalance$;
|
|
38683
|
+
var init_compassapibackendmodelsgenericreadresponseportfoliotokenbalance = __esm(() => {
|
|
38684
|
+
init_esm();
|
|
38685
|
+
init_primitives();
|
|
38686
|
+
init_tokenenum();
|
|
38687
|
+
CompassApiBackendModelsGenericReadResponsePortfolioTokenBalance$inboundSchema = objectType({
|
|
38688
|
+
amount: stringType(),
|
|
38689
|
+
decimals: numberType().int(),
|
|
38690
|
+
token_symbol: TokenEnum$inboundSchema,
|
|
38691
|
+
token_address: stringType(),
|
|
38692
|
+
price: stringType(),
|
|
38693
|
+
token_value_in_usd: stringType()
|
|
38694
|
+
}).transform((v2) => {
|
|
38695
|
+
return remap(v2, {
|
|
38696
|
+
token_symbol: "tokenSymbol",
|
|
38697
|
+
token_address: "tokenAddress",
|
|
38698
|
+
token_value_in_usd: "tokenValueInUsd"
|
|
38699
|
+
});
|
|
38700
|
+
});
|
|
38701
|
+
CompassApiBackendModelsGenericReadResponsePortfolioTokenBalance$outboundSchema = objectType({
|
|
38702
|
+
amount: stringType(),
|
|
38703
|
+
decimals: numberType().int(),
|
|
38704
|
+
tokenSymbol: TokenEnum$outboundSchema,
|
|
38705
|
+
tokenAddress: stringType(),
|
|
38706
|
+
price: stringType(),
|
|
38707
|
+
tokenValueInUsd: stringType()
|
|
38708
|
+
}).transform((v2) => {
|
|
38709
|
+
return remap(v2, {
|
|
38710
|
+
tokenSymbol: "token_symbol",
|
|
38711
|
+
tokenAddress: "token_address",
|
|
38712
|
+
tokenValueInUsd: "token_value_in_usd"
|
|
38713
|
+
});
|
|
38714
|
+
});
|
|
38715
|
+
((CompassApiBackendModelsGenericReadResponsePortfolioTokenBalance$) => {
|
|
38716
|
+
CompassApiBackendModelsGenericReadResponsePortfolioTokenBalance$.inboundSchema = CompassApiBackendModelsGenericReadResponsePortfolioTokenBalance$inboundSchema;
|
|
38717
|
+
CompassApiBackendModelsGenericReadResponsePortfolioTokenBalance$.outboundSchema = CompassApiBackendModelsGenericReadResponsePortfolioTokenBalance$outboundSchema;
|
|
38718
|
+
})(CompassApiBackendModelsGenericReadResponsePortfolioTokenBalance$ ||= {});
|
|
38719
|
+
});
|
|
38720
|
+
|
|
38681
38721
|
// src/models/components/compassapibackendmodelsmorphoreadresponsecheckuserpositionapydata.ts
|
|
38682
38722
|
var CompassApiBackendModelsMorphoReadResponseCheckUserPositionApyData$inboundSchema, CompassApiBackendModelsMorphoReadResponseCheckUserPositionApyData$outboundSchema, CompassApiBackendModelsMorphoReadResponseCheckUserPositionApyData$;
|
|
38683
38723
|
var init_compassapibackendmodelsmorphoreadresponsecheckuserpositionapydata = __esm(() => {
|
|
@@ -39027,6 +39067,24 @@ var init_compassapibackendmodelsmorphoreadresponsegetvaultvaultstate = __esm(()
|
|
|
39027
39067
|
})(CompassApiBackendModelsMorphoReadResponseGetVaultVaultState$ ||= {});
|
|
39028
39068
|
});
|
|
39029
39069
|
|
|
39070
|
+
// src/models/components/compassapibackendmodelspendlereadresponsepositionstokenbalance.ts
|
|
39071
|
+
var CompassApiBackendModelsPendleReadResponsePositionsTokenBalance$inboundSchema, CompassApiBackendModelsPendleReadResponsePositionsTokenBalance$outboundSchema, CompassApiBackendModelsPendleReadResponsePositionsTokenBalance$;
|
|
39072
|
+
var init_compassapibackendmodelspendlereadresponsepositionstokenbalance = __esm(() => {
|
|
39073
|
+
init_esm();
|
|
39074
|
+
CompassApiBackendModelsPendleReadResponsePositionsTokenBalance$inboundSchema = objectType({
|
|
39075
|
+
valuation: numberType(),
|
|
39076
|
+
balance: stringType()
|
|
39077
|
+
});
|
|
39078
|
+
CompassApiBackendModelsPendleReadResponsePositionsTokenBalance$outboundSchema = objectType({
|
|
39079
|
+
valuation: numberType(),
|
|
39080
|
+
balance: stringType()
|
|
39081
|
+
});
|
|
39082
|
+
((CompassApiBackendModelsPendleReadResponsePositionsTokenBalance$) => {
|
|
39083
|
+
CompassApiBackendModelsPendleReadResponsePositionsTokenBalance$.inboundSchema = CompassApiBackendModelsPendleReadResponsePositionsTokenBalance$inboundSchema;
|
|
39084
|
+
CompassApiBackendModelsPendleReadResponsePositionsTokenBalance$.outboundSchema = CompassApiBackendModelsPendleReadResponsePositionsTokenBalance$outboundSchema;
|
|
39085
|
+
})(CompassApiBackendModelsPendleReadResponsePositionsTokenBalance$ ||= {});
|
|
39086
|
+
});
|
|
39087
|
+
|
|
39030
39088
|
// src/models/components/curator.ts
|
|
39031
39089
|
var Curator$inboundSchema, Curator$outboundSchema, Curator$;
|
|
39032
39090
|
var init_curator = __esm(() => {
|
|
@@ -39049,6 +39107,78 @@ var init_curator = __esm(() => {
|
|
|
39049
39107
|
})(Curator$ ||= {});
|
|
39050
39108
|
});
|
|
39051
39109
|
|
|
39110
|
+
// src/models/components/movement10percent.ts
|
|
39111
|
+
var Movement10Percent$inboundSchema, Movement10Percent$outboundSchema, Movement10Percent$;
|
|
39112
|
+
var init_movement10percent = __esm(() => {
|
|
39113
|
+
init_esm();
|
|
39114
|
+
Movement10Percent$inboundSchema = objectType({
|
|
39115
|
+
ptMovementUpUsd: numberType(),
|
|
39116
|
+
ptMovementDownUsd: numberType(),
|
|
39117
|
+
ytMovementUpUsd: numberType(),
|
|
39118
|
+
ytMovementDownUsd: numberType()
|
|
39119
|
+
});
|
|
39120
|
+
Movement10Percent$outboundSchema = objectType({
|
|
39121
|
+
ptMovementUpUsd: numberType(),
|
|
39122
|
+
ptMovementDownUsd: numberType(),
|
|
39123
|
+
ytMovementUpUsd: numberType(),
|
|
39124
|
+
ytMovementDownUsd: numberType()
|
|
39125
|
+
});
|
|
39126
|
+
((Movement10Percent$) => {
|
|
39127
|
+
Movement10Percent$.inboundSchema = Movement10Percent$inboundSchema;
|
|
39128
|
+
Movement10Percent$.outboundSchema = Movement10Percent$outboundSchema;
|
|
39129
|
+
})(Movement10Percent$ ||= {});
|
|
39130
|
+
});
|
|
39131
|
+
|
|
39132
|
+
// src/models/components/yieldrange.ts
|
|
39133
|
+
var YieldRange$inboundSchema, YieldRange$outboundSchema, YieldRange$;
|
|
39134
|
+
var init_yieldrange = __esm(() => {
|
|
39135
|
+
init_esm();
|
|
39136
|
+
YieldRange$inboundSchema = objectType({
|
|
39137
|
+
min: numberType(),
|
|
39138
|
+
max: numberType()
|
|
39139
|
+
});
|
|
39140
|
+
YieldRange$outboundSchema = objectType({
|
|
39141
|
+
min: numberType(),
|
|
39142
|
+
max: numberType()
|
|
39143
|
+
});
|
|
39144
|
+
((YieldRange$) => {
|
|
39145
|
+
YieldRange$.inboundSchema = YieldRange$inboundSchema;
|
|
39146
|
+
YieldRange$.outboundSchema = YieldRange$outboundSchema;
|
|
39147
|
+
})(YieldRange$ ||= {});
|
|
39148
|
+
});
|
|
39149
|
+
|
|
39150
|
+
// src/models/components/details.ts
|
|
39151
|
+
var Details$inboundSchema, Details$outboundSchema, Details$;
|
|
39152
|
+
var init_details = __esm(() => {
|
|
39153
|
+
init_esm();
|
|
39154
|
+
init_movement10percent();
|
|
39155
|
+
init_yieldrange();
|
|
39156
|
+
Details$inboundSchema = objectType({
|
|
39157
|
+
liquidity: numberType(),
|
|
39158
|
+
pendleApy: numberType(),
|
|
39159
|
+
impliedApy: numberType(),
|
|
39160
|
+
feeRate: numberType(),
|
|
39161
|
+
movement10Percent: Movement10Percent$inboundSchema,
|
|
39162
|
+
yieldRange: YieldRange$inboundSchema,
|
|
39163
|
+
aggregatedApy: numberType(),
|
|
39164
|
+
maxBoostedApy: numberType()
|
|
39165
|
+
});
|
|
39166
|
+
Details$outboundSchema = objectType({
|
|
39167
|
+
liquidity: numberType(),
|
|
39168
|
+
pendleApy: numberType(),
|
|
39169
|
+
impliedApy: numberType(),
|
|
39170
|
+
feeRate: numberType(),
|
|
39171
|
+
movement10Percent: Movement10Percent$outboundSchema,
|
|
39172
|
+
yieldRange: YieldRange$outboundSchema,
|
|
39173
|
+
aggregatedApy: numberType(),
|
|
39174
|
+
maxBoostedApy: numberType()
|
|
39175
|
+
});
|
|
39176
|
+
((Details$) => {
|
|
39177
|
+
Details$.inboundSchema = Details$inboundSchema;
|
|
39178
|
+
Details$.outboundSchema = Details$outboundSchema;
|
|
39179
|
+
})(Details$ ||= {});
|
|
39180
|
+
});
|
|
39181
|
+
|
|
39052
39182
|
// src/models/components/ensnameinforesponse.ts
|
|
39053
39183
|
var EnsNameInfoResponse$inboundSchema, EnsNameInfoResponse$outboundSchema, EnsNameInfoResponse$;
|
|
39054
39184
|
var init_ensnameinforesponse = __esm(() => {
|
|
@@ -39190,6 +39320,26 @@ var init_liquidity = __esm(() => {
|
|
|
39190
39320
|
})(Liquidity$ ||= {});
|
|
39191
39321
|
});
|
|
39192
39322
|
|
|
39323
|
+
// src/models/components/lpbalance.ts
|
|
39324
|
+
var LpBalance$inboundSchema, LpBalance$outboundSchema, LpBalance$;
|
|
39325
|
+
var init_lpbalance = __esm(() => {
|
|
39326
|
+
init_esm();
|
|
39327
|
+
LpBalance$inboundSchema = objectType({
|
|
39328
|
+
valuation: numberType(),
|
|
39329
|
+
balance: stringType(),
|
|
39330
|
+
activeBalance: stringType()
|
|
39331
|
+
});
|
|
39332
|
+
LpBalance$outboundSchema = objectType({
|
|
39333
|
+
valuation: numberType(),
|
|
39334
|
+
balance: stringType(),
|
|
39335
|
+
activeBalance: stringType()
|
|
39336
|
+
});
|
|
39337
|
+
((LpBalance$) => {
|
|
39338
|
+
LpBalance$.inboundSchema = LpBalance$inboundSchema;
|
|
39339
|
+
LpBalance$.outboundSchema = LpBalance$outboundSchema;
|
|
39340
|
+
})(LpBalance$ ||= {});
|
|
39341
|
+
});
|
|
39342
|
+
|
|
39193
39343
|
// src/models/components/market.ts
|
|
39194
39344
|
var Market$inboundSchema, Market$outboundSchema, Market$;
|
|
39195
39345
|
var init_market = __esm(() => {
|
|
@@ -39971,24 +40121,16 @@ var init_morphowithdrawrequest = __esm(() => {
|
|
|
39971
40121
|
});
|
|
39972
40122
|
|
|
39973
40123
|
// src/models/components/multicallauthorizationrequest.ts
|
|
39974
|
-
var
|
|
40124
|
+
var MulticallAuthorizationRequest$inboundSchema, MulticallAuthorizationRequest$outboundSchema, MulticallAuthorizationRequest$;
|
|
39975
40125
|
var init_multicallauthorizationrequest = __esm(() => {
|
|
39976
40126
|
init_esm();
|
|
39977
40127
|
init_chain();
|
|
39978
|
-
Block$inboundSchema = unionType([numberType().int(), stringType()]);
|
|
39979
|
-
Block$outboundSchema = unionType([numberType().int(), stringType()]);
|
|
39980
|
-
((Block$) => {
|
|
39981
|
-
Block$.inboundSchema = Block$inboundSchema;
|
|
39982
|
-
Block$.outboundSchema = Block$outboundSchema;
|
|
39983
|
-
})(Block$ ||= {});
|
|
39984
40128
|
MulticallAuthorizationRequest$inboundSchema = objectType({
|
|
39985
40129
|
chain: Chain$inboundSchema,
|
|
39986
|
-
block: unionType([numberType().int(), stringType()]).optional(),
|
|
39987
40130
|
sender: stringType()
|
|
39988
40131
|
});
|
|
39989
40132
|
MulticallAuthorizationRequest$outboundSchema = objectType({
|
|
39990
40133
|
chain: Chain$outboundSchema,
|
|
39991
|
-
block: unionType([numberType().int(), stringType()]).optional(),
|
|
39992
40134
|
sender: stringType()
|
|
39993
40135
|
});
|
|
39994
40136
|
((MulticallAuthorizationRequest$) => {
|
|
@@ -40051,6 +40193,30 @@ var init_multicallexecuterequest = __esm(() => {
|
|
|
40051
40193
|
})(MulticallExecuteRequest$ ||= {});
|
|
40052
40194
|
});
|
|
40053
40195
|
|
|
40196
|
+
// src/models/components/openposition.ts
|
|
40197
|
+
var OpenPosition$inboundSchema, OpenPosition$outboundSchema, OpenPosition$;
|
|
40198
|
+
var init_openposition = __esm(() => {
|
|
40199
|
+
init_esm();
|
|
40200
|
+
init_compassapibackendmodelspendlereadresponsepositionstokenbalance();
|
|
40201
|
+
init_lpbalance();
|
|
40202
|
+
OpenPosition$inboundSchema = objectType({
|
|
40203
|
+
marketId: stringType(),
|
|
40204
|
+
pt: CompassApiBackendModelsPendleReadResponsePositionsTokenBalance$inboundSchema,
|
|
40205
|
+
yt: CompassApiBackendModelsPendleReadResponsePositionsTokenBalance$inboundSchema,
|
|
40206
|
+
lp: LpBalance$inboundSchema
|
|
40207
|
+
});
|
|
40208
|
+
OpenPosition$outboundSchema = objectType({
|
|
40209
|
+
marketId: stringType(),
|
|
40210
|
+
pt: CompassApiBackendModelsPendleReadResponsePositionsTokenBalance$outboundSchema,
|
|
40211
|
+
yt: CompassApiBackendModelsPendleReadResponsePositionsTokenBalance$outboundSchema,
|
|
40212
|
+
lp: LpBalance$outboundSchema
|
|
40213
|
+
});
|
|
40214
|
+
((OpenPosition$) => {
|
|
40215
|
+
OpenPosition$.inboundSchema = OpenPosition$inboundSchema;
|
|
40216
|
+
OpenPosition$.outboundSchema = OpenPosition$outboundSchema;
|
|
40217
|
+
})(OpenPosition$ ||= {});
|
|
40218
|
+
});
|
|
40219
|
+
|
|
40054
40220
|
// src/models/components/pendlegetmarketresponse.ts
|
|
40055
40221
|
var PendleGetMarketResponse$inboundSchema, PendleGetMarketResponse$outboundSchema, PendleGetMarketResponse$;
|
|
40056
40222
|
var init_pendlegetmarketresponse = __esm(() => {
|
|
@@ -40144,44 +40310,125 @@ var init_pendlegetuserpositionresponse = __esm(() => {
|
|
|
40144
40310
|
})(PendleGetUserPositionResponse$ ||= {});
|
|
40145
40311
|
});
|
|
40146
40312
|
|
|
40147
|
-
// src/models/components/
|
|
40148
|
-
var
|
|
40149
|
-
var
|
|
40313
|
+
// src/models/components/pendlemarket.ts
|
|
40314
|
+
var PendleMarket$inboundSchema, PendleMarket$outboundSchema, PendleMarket$;
|
|
40315
|
+
var init_pendlemarket = __esm(() => {
|
|
40150
40316
|
init_esm();
|
|
40151
|
-
|
|
40152
|
-
|
|
40153
|
-
|
|
40154
|
-
|
|
40155
|
-
|
|
40156
|
-
|
|
40157
|
-
|
|
40158
|
-
|
|
40159
|
-
|
|
40160
|
-
|
|
40161
|
-
|
|
40162
|
-
|
|
40163
|
-
|
|
40164
|
-
|
|
40165
|
-
|
|
40317
|
+
init_details();
|
|
40318
|
+
PendleMarket$inboundSchema = objectType({
|
|
40319
|
+
name: stringType(),
|
|
40320
|
+
address: stringType(),
|
|
40321
|
+
expiry: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
40322
|
+
pt: stringType(),
|
|
40323
|
+
yt: stringType(),
|
|
40324
|
+
sy: stringType(),
|
|
40325
|
+
underlyingAsset: stringType(),
|
|
40326
|
+
details: Details$inboundSchema,
|
|
40327
|
+
isNew: booleanType(),
|
|
40328
|
+
isPrime: booleanType(),
|
|
40329
|
+
timestamp: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
|
|
40330
|
+
});
|
|
40331
|
+
PendleMarket$outboundSchema = objectType({
|
|
40332
|
+
name: stringType(),
|
|
40333
|
+
address: stringType(),
|
|
40334
|
+
expiry: dateType().transform((v2) => v2.toISOString()),
|
|
40335
|
+
pt: stringType(),
|
|
40336
|
+
yt: stringType(),
|
|
40337
|
+
sy: stringType(),
|
|
40338
|
+
underlyingAsset: stringType(),
|
|
40339
|
+
details: Details$outboundSchema,
|
|
40340
|
+
isNew: booleanType(),
|
|
40341
|
+
isPrime: booleanType(),
|
|
40342
|
+
timestamp: dateType().transform((v2) => v2.toISOString())
|
|
40343
|
+
});
|
|
40344
|
+
((PendleMarket$) => {
|
|
40345
|
+
PendleMarket$.inboundSchema = PendleMarket$inboundSchema;
|
|
40346
|
+
PendleMarket$.outboundSchema = PendleMarket$outboundSchema;
|
|
40347
|
+
})(PendleMarket$ ||= {});
|
|
40348
|
+
});
|
|
40349
|
+
|
|
40350
|
+
// src/models/components/pendlelistmarketsresponse.ts
|
|
40351
|
+
var PendleListMarketsResponse$inboundSchema, PendleListMarketsResponse$outboundSchema, PendleListMarketsResponse$;
|
|
40352
|
+
var init_pendlelistmarketsresponse = __esm(() => {
|
|
40353
|
+
init_esm();
|
|
40354
|
+
init_pendlemarket();
|
|
40355
|
+
PendleListMarketsResponse$inboundSchema = objectType({
|
|
40356
|
+
markets: arrayType(PendleMarket$inboundSchema)
|
|
40166
40357
|
});
|
|
40167
|
-
|
|
40168
|
-
|
|
40169
|
-
|
|
40170
|
-
|
|
40171
|
-
|
|
40172
|
-
|
|
40173
|
-
|
|
40174
|
-
|
|
40175
|
-
|
|
40176
|
-
|
|
40177
|
-
|
|
40178
|
-
|
|
40179
|
-
|
|
40358
|
+
PendleListMarketsResponse$outboundSchema = objectType({
|
|
40359
|
+
markets: arrayType(PendleMarket$outboundSchema)
|
|
40360
|
+
});
|
|
40361
|
+
((PendleListMarketsResponse$) => {
|
|
40362
|
+
PendleListMarketsResponse$.inboundSchema = PendleListMarketsResponse$inboundSchema;
|
|
40363
|
+
PendleListMarketsResponse$.outboundSchema = PendleListMarketsResponse$outboundSchema;
|
|
40364
|
+
})(PendleListMarketsResponse$ ||= {});
|
|
40365
|
+
});
|
|
40366
|
+
|
|
40367
|
+
// src/models/components/syposition.ts
|
|
40368
|
+
var SyPosition$inboundSchema, SyPosition$outboundSchema, SyPosition$;
|
|
40369
|
+
var init_syposition = __esm(() => {
|
|
40370
|
+
init_esm();
|
|
40371
|
+
SyPosition$inboundSchema = objectType({
|
|
40372
|
+
syId: stringType(),
|
|
40373
|
+
balance: stringType()
|
|
40374
|
+
});
|
|
40375
|
+
SyPosition$outboundSchema = objectType({
|
|
40376
|
+
syId: stringType(),
|
|
40377
|
+
balance: stringType()
|
|
40378
|
+
});
|
|
40379
|
+
((SyPosition$) => {
|
|
40380
|
+
SyPosition$.inboundSchema = SyPosition$inboundSchema;
|
|
40381
|
+
SyPosition$.outboundSchema = SyPosition$outboundSchema;
|
|
40382
|
+
})(SyPosition$ ||= {});
|
|
40383
|
+
});
|
|
40384
|
+
|
|
40385
|
+
// src/models/components/position.ts
|
|
40386
|
+
var Position$inboundSchema, Position$outboundSchema, Position$;
|
|
40387
|
+
var init_position = __esm(() => {
|
|
40388
|
+
init_esm();
|
|
40389
|
+
init_openposition();
|
|
40390
|
+
init_syposition();
|
|
40391
|
+
Position$inboundSchema = objectType({
|
|
40392
|
+
chainId: numberType().int(),
|
|
40393
|
+
totalOpen: numberType().int(),
|
|
40394
|
+
totalClosed: numberType().int(),
|
|
40395
|
+
totalSy: numberType().int(),
|
|
40396
|
+
openPositions: arrayType(OpenPosition$inboundSchema),
|
|
40397
|
+
closedPositions: arrayType(OpenPosition$inboundSchema),
|
|
40398
|
+
syPositions: arrayType(SyPosition$inboundSchema),
|
|
40399
|
+
updatedAt: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
|
|
40400
|
+
});
|
|
40401
|
+
Position$outboundSchema = objectType({
|
|
40402
|
+
chainId: numberType().int(),
|
|
40403
|
+
totalOpen: numberType().int(),
|
|
40404
|
+
totalClosed: numberType().int(),
|
|
40405
|
+
totalSy: numberType().int(),
|
|
40406
|
+
openPositions: arrayType(OpenPosition$outboundSchema),
|
|
40407
|
+
closedPositions: arrayType(OpenPosition$outboundSchema),
|
|
40408
|
+
syPositions: arrayType(SyPosition$outboundSchema),
|
|
40409
|
+
updatedAt: dateType().transform((v2) => v2.toISOString())
|
|
40410
|
+
});
|
|
40411
|
+
((Position$) => {
|
|
40412
|
+
Position$.inboundSchema = Position$inboundSchema;
|
|
40413
|
+
Position$.outboundSchema = Position$outboundSchema;
|
|
40414
|
+
})(Position$ ||= {});
|
|
40415
|
+
});
|
|
40416
|
+
|
|
40417
|
+
// src/models/components/pendlelistuserpositionsresponse.ts
|
|
40418
|
+
var PendleListUserPositionsResponse$inboundSchema, PendleListUserPositionsResponse$outboundSchema, PendleListUserPositionsResponse$;
|
|
40419
|
+
var init_pendlelistuserpositionsresponse = __esm(() => {
|
|
40420
|
+
init_esm();
|
|
40421
|
+
init_position();
|
|
40422
|
+
PendleListUserPositionsResponse$inboundSchema = objectType({
|
|
40423
|
+
positions: arrayType(Position$inboundSchema)
|
|
40424
|
+
});
|
|
40425
|
+
PendleListUserPositionsResponse$outboundSchema = objectType({
|
|
40426
|
+
positions: arrayType(Position$outboundSchema)
|
|
40180
40427
|
});
|
|
40181
|
-
((
|
|
40182
|
-
|
|
40183
|
-
|
|
40184
|
-
})(
|
|
40428
|
+
((PendleListUserPositionsResponse$) => {
|
|
40429
|
+
PendleListUserPositionsResponse$.inboundSchema = PendleListUserPositionsResponse$inboundSchema;
|
|
40430
|
+
PendleListUserPositionsResponse$.outboundSchema = PendleListUserPositionsResponse$outboundSchema;
|
|
40431
|
+
})(PendleListUserPositionsResponse$ ||= {});
|
|
40185
40432
|
});
|
|
40186
40433
|
|
|
40187
40434
|
// src/models/components/portfolio.ts
|
|
@@ -40189,10 +40436,10 @@ var Portfolio$inboundSchema, Portfolio$outboundSchema, Portfolio$;
|
|
|
40189
40436
|
var init_portfolio = __esm(() => {
|
|
40190
40437
|
init_esm();
|
|
40191
40438
|
init_primitives();
|
|
40192
|
-
|
|
40439
|
+
init_compassapibackendmodelsgenericreadresponseportfoliotokenbalance();
|
|
40193
40440
|
Portfolio$inboundSchema = objectType({
|
|
40194
40441
|
total_value_in_usd: stringType(),
|
|
40195
|
-
token_balances: arrayType(
|
|
40442
|
+
token_balances: arrayType(CompassApiBackendModelsGenericReadResponsePortfolioTokenBalance$inboundSchema)
|
|
40196
40443
|
}).transform((v2) => {
|
|
40197
40444
|
return remap(v2, {
|
|
40198
40445
|
total_value_in_usd: "totalValueInUsd",
|
|
@@ -40201,7 +40448,7 @@ var init_portfolio = __esm(() => {
|
|
|
40201
40448
|
});
|
|
40202
40449
|
Portfolio$outboundSchema = objectType({
|
|
40203
40450
|
totalValueInUsd: stringType(),
|
|
40204
|
-
tokenBalances: arrayType(
|
|
40451
|
+
tokenBalances: arrayType(CompassApiBackendModelsGenericReadResponsePortfolioTokenBalance$outboundSchema)
|
|
40205
40452
|
}).transform((v2) => {
|
|
40206
40453
|
return remap(v2, {
|
|
40207
40454
|
totalValueInUsd: "total_value_in_usd",
|
|
@@ -41239,6 +41486,7 @@ var init_components = __esm(() => {
|
|
|
41239
41486
|
init_borrow();
|
|
41240
41487
|
init_chain();
|
|
41241
41488
|
init_chaininfo();
|
|
41489
|
+
init_compassapibackendmodelsgenericreadresponseportfoliotokenbalance();
|
|
41242
41490
|
init_compassapibackendmodelsmorphoreadresponsecheckuserpositionapydata();
|
|
41243
41491
|
init_compassapibackendmodelsmorphoreadresponsecheckuserpositionasset();
|
|
41244
41492
|
init_compassapibackendmodelsmorphoreadresponsecheckuserpositionmarketstate();
|
|
@@ -41252,8 +41500,10 @@ var init_components = __esm(() => {
|
|
|
41252
41500
|
init_compassapibackendmodelsmorphoreadresponsegetvaultsasset();
|
|
41253
41501
|
init_compassapibackendmodelsmorphoreadresponsegetvaultsvaultstate();
|
|
41254
41502
|
init_compassapibackendmodelsmorphoreadresponsegetvaultvaultstate();
|
|
41503
|
+
init_compassapibackendmodelspendlereadresponsepositionstokenbalance();
|
|
41255
41504
|
init_contractname();
|
|
41256
41505
|
init_curator();
|
|
41506
|
+
init_details();
|
|
41257
41507
|
init_ensnameinforesponse();
|
|
41258
41508
|
init_erc20data();
|
|
41259
41509
|
init_feeenum();
|
|
@@ -41264,6 +41514,7 @@ var init_components = __esm(() => {
|
|
|
41264
41514
|
init_interestratemode();
|
|
41265
41515
|
init_liquidationcall();
|
|
41266
41516
|
init_liquidity();
|
|
41517
|
+
init_lpbalance();
|
|
41267
41518
|
init_market();
|
|
41268
41519
|
init_marketposition();
|
|
41269
41520
|
init_metadata();
|
|
@@ -41290,13 +41541,19 @@ var init_components = __esm(() => {
|
|
|
41290
41541
|
init_morphowithdrawcollateralrequest();
|
|
41291
41542
|
init_morphowithdrawparams();
|
|
41292
41543
|
init_morphowithdrawrequest();
|
|
41544
|
+
init_movement10percent();
|
|
41293
41545
|
init_multicallactiontype();
|
|
41294
41546
|
init_multicallauthorizationrequest();
|
|
41295
41547
|
init_multicallauthorizationresponse();
|
|
41296
41548
|
init_multicallexecuterequest();
|
|
41549
|
+
init_openposition();
|
|
41297
41550
|
init_pendlegetmarketresponse();
|
|
41298
41551
|
init_pendlegetuserpositionresponse();
|
|
41552
|
+
init_pendlelistmarketsresponse();
|
|
41553
|
+
init_pendlelistuserpositionsresponse();
|
|
41554
|
+
init_pendlemarket();
|
|
41299
41555
|
init_portfolio();
|
|
41556
|
+
init_position();
|
|
41300
41557
|
init_redeemunderlying();
|
|
41301
41558
|
init_repay();
|
|
41302
41559
|
init_reserve();
|
|
@@ -41313,8 +41570,8 @@ var init_components = __esm(() => {
|
|
|
41313
41570
|
init_skywithdrawrequest();
|
|
41314
41571
|
init_supply();
|
|
41315
41572
|
init_swapborrowrate();
|
|
41573
|
+
init_syposition();
|
|
41316
41574
|
init_tokenaddressresponse();
|
|
41317
|
-
init_tokenbalance();
|
|
41318
41575
|
init_tokenbalanceresponse();
|
|
41319
41576
|
init_tokenenum();
|
|
41320
41577
|
init_tokeninfo();
|
|
@@ -41352,6 +41609,7 @@ var init_components = __esm(() => {
|
|
|
41352
41609
|
init_weeklyapys();
|
|
41353
41610
|
init_wrapethparams();
|
|
41354
41611
|
init_wrapethrequest();
|
|
41612
|
+
init_yieldrange();
|
|
41355
41613
|
});
|
|
41356
41614
|
|
|
41357
41615
|
// src/models/errors/httpvalidationerror.ts
|
|
@@ -41394,7 +41652,7 @@ var init_errors2 = __esm(() => {
|
|
|
41394
41652
|
});
|
|
41395
41653
|
|
|
41396
41654
|
// src/models/operations/aaveavgrate.ts
|
|
41397
|
-
var AaveAvgRateChain, AaveAvgRateToken, AaveAvgRateChain$inboundSchema, AaveAvgRateChain$outboundSchema, AaveAvgRateChain$,
|
|
41655
|
+
var AaveAvgRateChain, AaveAvgRateToken, AaveAvgRateChain$inboundSchema, AaveAvgRateChain$outboundSchema, AaveAvgRateChain$, AaveAvgRateToken$inboundSchema, AaveAvgRateToken$outboundSchema, AaveAvgRateToken$, AaveAvgRateRequest$inboundSchema, AaveAvgRateRequest$outboundSchema, AaveAvgRateRequest$;
|
|
41398
41656
|
var init_aaveavgrate = __esm(() => {
|
|
41399
41657
|
init_esm();
|
|
41400
41658
|
AaveAvgRateChain = {
|
|
@@ -41454,12 +41712,6 @@ var init_aaveavgrate = __esm(() => {
|
|
|
41454
41712
|
AaveAvgRateChain$.inboundSchema = AaveAvgRateChain$inboundSchema;
|
|
41455
41713
|
AaveAvgRateChain$.outboundSchema = AaveAvgRateChain$outboundSchema;
|
|
41456
41714
|
})(AaveAvgRateChain$ ||= {});
|
|
41457
|
-
AaveAvgRateBlock$inboundSchema = unionType([numberType().int(), stringType()]);
|
|
41458
|
-
AaveAvgRateBlock$outboundSchema = unionType([numberType().int(), stringType()]);
|
|
41459
|
-
((AaveAvgRateBlock$) => {
|
|
41460
|
-
AaveAvgRateBlock$.inboundSchema = AaveAvgRateBlock$inboundSchema;
|
|
41461
|
-
AaveAvgRateBlock$.outboundSchema = AaveAvgRateBlock$outboundSchema;
|
|
41462
|
-
})(AaveAvgRateBlock$ ||= {});
|
|
41463
41715
|
AaveAvgRateToken$inboundSchema = nativeEnumType(AaveAvgRateToken);
|
|
41464
41716
|
AaveAvgRateToken$outboundSchema = AaveAvgRateToken$inboundSchema;
|
|
41465
41717
|
((AaveAvgRateToken$) => {
|
|
@@ -41468,13 +41720,13 @@ var init_aaveavgrate = __esm(() => {
|
|
|
41468
41720
|
})(AaveAvgRateToken$ ||= {});
|
|
41469
41721
|
AaveAvgRateRequest$inboundSchema = objectType({
|
|
41470
41722
|
chain: AaveAvgRateChain$inboundSchema.default("ethereum:mainnet"),
|
|
41471
|
-
block:
|
|
41723
|
+
block: nullableType(numberType().int()).optional(),
|
|
41472
41724
|
token: AaveAvgRateToken$inboundSchema.default("USDC"),
|
|
41473
41725
|
days: numberType().int().default(7)
|
|
41474
41726
|
});
|
|
41475
41727
|
AaveAvgRateRequest$outboundSchema = objectType({
|
|
41476
41728
|
chain: AaveAvgRateChain$outboundSchema.default("ethereum:mainnet"),
|
|
41477
|
-
block:
|
|
41729
|
+
block: nullableType(numberType().int()).optional(),
|
|
41478
41730
|
token: AaveAvgRateToken$outboundSchema.default("USDC"),
|
|
41479
41731
|
days: numberType().int().default(7)
|
|
41480
41732
|
});
|
|
@@ -41485,7 +41737,7 @@ var init_aaveavgrate = __esm(() => {
|
|
|
41485
41737
|
});
|
|
41486
41738
|
|
|
41487
41739
|
// src/models/operations/aavehistoricaltransactions.ts
|
|
41488
|
-
var AaveHistoricalTransactionsChain, AaveHistoricalTransactionsChain$inboundSchema, AaveHistoricalTransactionsChain$outboundSchema, AaveHistoricalTransactionsChain$,
|
|
41740
|
+
var AaveHistoricalTransactionsChain, AaveHistoricalTransactionsChain$inboundSchema, AaveHistoricalTransactionsChain$outboundSchema, AaveHistoricalTransactionsChain$, AaveHistoricalTransactionsRequest$inboundSchema, AaveHistoricalTransactionsRequest$outboundSchema, AaveHistoricalTransactionsRequest$;
|
|
41489
41741
|
var init_aavehistoricaltransactions = __esm(() => {
|
|
41490
41742
|
init_esm();
|
|
41491
41743
|
init_primitives();
|
|
@@ -41500,17 +41752,11 @@ var init_aavehistoricaltransactions = __esm(() => {
|
|
|
41500
41752
|
AaveHistoricalTransactionsChain$.inboundSchema = AaveHistoricalTransactionsChain$inboundSchema;
|
|
41501
41753
|
AaveHistoricalTransactionsChain$.outboundSchema = AaveHistoricalTransactionsChain$outboundSchema;
|
|
41502
41754
|
})(AaveHistoricalTransactionsChain$ ||= {});
|
|
41503
|
-
AaveHistoricalTransactionsBlock$inboundSchema = unionType([numberType().int(), stringType()]);
|
|
41504
|
-
AaveHistoricalTransactionsBlock$outboundSchema = unionType([numberType().int(), stringType()]);
|
|
41505
|
-
((AaveHistoricalTransactionsBlock$) => {
|
|
41506
|
-
AaveHistoricalTransactionsBlock$.inboundSchema = AaveHistoricalTransactionsBlock$inboundSchema;
|
|
41507
|
-
AaveHistoricalTransactionsBlock$.outboundSchema = AaveHistoricalTransactionsBlock$outboundSchema;
|
|
41508
|
-
})(AaveHistoricalTransactionsBlock$ ||= {});
|
|
41509
41755
|
AaveHistoricalTransactionsRequest$inboundSchema = objectType({
|
|
41510
41756
|
offset: numberType().int().default(0),
|
|
41511
41757
|
limit: numberType().int().default(100),
|
|
41512
41758
|
chain: AaveHistoricalTransactionsChain$inboundSchema.default("arbitrum:mainnet"),
|
|
41513
|
-
block:
|
|
41759
|
+
block: nullableType(numberType().int()).optional(),
|
|
41514
41760
|
user_address: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B")
|
|
41515
41761
|
}).transform((v2) => {
|
|
41516
41762
|
return remap(v2, {
|
|
@@ -41521,7 +41767,7 @@ var init_aavehistoricaltransactions = __esm(() => {
|
|
|
41521
41767
|
offset: numberType().int().default(0),
|
|
41522
41768
|
limit: numberType().int().default(100),
|
|
41523
41769
|
chain: AaveHistoricalTransactionsChain$outboundSchema.default("arbitrum:mainnet"),
|
|
41524
|
-
block:
|
|
41770
|
+
block: nullableType(numberType().int()).optional(),
|
|
41525
41771
|
userAddress: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B")
|
|
41526
41772
|
}).transform((v2) => {
|
|
41527
41773
|
return remap(v2, {
|
|
@@ -41535,7 +41781,7 @@ var init_aavehistoricaltransactions = __esm(() => {
|
|
|
41535
41781
|
});
|
|
41536
41782
|
|
|
41537
41783
|
// src/models/operations/aaveliquiditychange.ts
|
|
41538
|
-
var AaveLiquidityChangeChain, AaveLiquidityChangeToken, AaveLiquidityChangeChain$inboundSchema, AaveLiquidityChangeChain$outboundSchema, AaveLiquidityChangeChain$,
|
|
41784
|
+
var AaveLiquidityChangeChain, AaveLiquidityChangeToken, AaveLiquidityChangeChain$inboundSchema, AaveLiquidityChangeChain$outboundSchema, AaveLiquidityChangeChain$, AaveLiquidityChangeToken$inboundSchema, AaveLiquidityChangeToken$outboundSchema, AaveLiquidityChangeToken$, AaveLiquidityChangeRequest$inboundSchema, AaveLiquidityChangeRequest$outboundSchema, AaveLiquidityChangeRequest$;
|
|
41539
41785
|
var init_aaveliquiditychange = __esm(() => {
|
|
41540
41786
|
init_esm();
|
|
41541
41787
|
init_primitives();
|
|
@@ -41596,12 +41842,6 @@ var init_aaveliquiditychange = __esm(() => {
|
|
|
41596
41842
|
AaveLiquidityChangeChain$.inboundSchema = AaveLiquidityChangeChain$inboundSchema;
|
|
41597
41843
|
AaveLiquidityChangeChain$.outboundSchema = AaveLiquidityChangeChain$outboundSchema;
|
|
41598
41844
|
})(AaveLiquidityChangeChain$ ||= {});
|
|
41599
|
-
AaveLiquidityChangeBlock$inboundSchema = unionType([numberType().int(), stringType()]);
|
|
41600
|
-
AaveLiquidityChangeBlock$outboundSchema = unionType([numberType().int(), stringType()]);
|
|
41601
|
-
((AaveLiquidityChangeBlock$) => {
|
|
41602
|
-
AaveLiquidityChangeBlock$.inboundSchema = AaveLiquidityChangeBlock$inboundSchema;
|
|
41603
|
-
AaveLiquidityChangeBlock$.outboundSchema = AaveLiquidityChangeBlock$outboundSchema;
|
|
41604
|
-
})(AaveLiquidityChangeBlock$ ||= {});
|
|
41605
41845
|
AaveLiquidityChangeToken$inboundSchema = nativeEnumType(AaveLiquidityChangeToken);
|
|
41606
41846
|
AaveLiquidityChangeToken$outboundSchema = AaveLiquidityChangeToken$inboundSchema;
|
|
41607
41847
|
((AaveLiquidityChangeToken$) => {
|
|
@@ -41610,7 +41850,7 @@ var init_aaveliquiditychange = __esm(() => {
|
|
|
41610
41850
|
})(AaveLiquidityChangeToken$ ||= {});
|
|
41611
41851
|
AaveLiquidityChangeRequest$inboundSchema = objectType({
|
|
41612
41852
|
chain: AaveLiquidityChangeChain$inboundSchema.default("arbitrum:mainnet"),
|
|
41613
|
-
block:
|
|
41853
|
+
block: nullableType(numberType().int()).optional(),
|
|
41614
41854
|
token: AaveLiquidityChangeToken$inboundSchema.default("USDC"),
|
|
41615
41855
|
start_block: numberType().int().default(0),
|
|
41616
41856
|
end_block: numberType().int().default(319407231)
|
|
@@ -41622,7 +41862,7 @@ var init_aaveliquiditychange = __esm(() => {
|
|
|
41622
41862
|
});
|
|
41623
41863
|
AaveLiquidityChangeRequest$outboundSchema = objectType({
|
|
41624
41864
|
chain: AaveLiquidityChangeChain$outboundSchema.default("arbitrum:mainnet"),
|
|
41625
|
-
block:
|
|
41865
|
+
block: nullableType(numberType().int()).optional(),
|
|
41626
41866
|
token: AaveLiquidityChangeToken$outboundSchema.default("USDC"),
|
|
41627
41867
|
startBlock: numberType().int().default(0),
|
|
41628
41868
|
endBlock: numberType().int().default(319407231)
|
|
@@ -41639,7 +41879,7 @@ var init_aaveliquiditychange = __esm(() => {
|
|
|
41639
41879
|
});
|
|
41640
41880
|
|
|
41641
41881
|
// src/models/operations/aaverate.ts
|
|
41642
|
-
var AaveRateChain, AaveRateToken, AaveRateChain$inboundSchema, AaveRateChain$outboundSchema, AaveRateChain$,
|
|
41882
|
+
var AaveRateChain, AaveRateToken, AaveRateChain$inboundSchema, AaveRateChain$outboundSchema, AaveRateChain$, AaveRateToken$inboundSchema, AaveRateToken$outboundSchema, AaveRateToken$, AaveRateRequest$inboundSchema, AaveRateRequest$outboundSchema, AaveRateRequest$;
|
|
41643
41883
|
var init_aaverate = __esm(() => {
|
|
41644
41884
|
init_esm();
|
|
41645
41885
|
AaveRateChain = {
|
|
@@ -41699,12 +41939,6 @@ var init_aaverate = __esm(() => {
|
|
|
41699
41939
|
AaveRateChain$.inboundSchema = AaveRateChain$inboundSchema;
|
|
41700
41940
|
AaveRateChain$.outboundSchema = AaveRateChain$outboundSchema;
|
|
41701
41941
|
})(AaveRateChain$ ||= {});
|
|
41702
|
-
AaveRateBlock$inboundSchema = unionType([numberType().int(), stringType()]);
|
|
41703
|
-
AaveRateBlock$outboundSchema = unionType([numberType().int(), stringType()]);
|
|
41704
|
-
((AaveRateBlock$) => {
|
|
41705
|
-
AaveRateBlock$.inboundSchema = AaveRateBlock$inboundSchema;
|
|
41706
|
-
AaveRateBlock$.outboundSchema = AaveRateBlock$outboundSchema;
|
|
41707
|
-
})(AaveRateBlock$ ||= {});
|
|
41708
41942
|
AaveRateToken$inboundSchema = nativeEnumType(AaveRateToken);
|
|
41709
41943
|
AaveRateToken$outboundSchema = AaveRateToken$inboundSchema;
|
|
41710
41944
|
((AaveRateToken$) => {
|
|
@@ -41713,12 +41947,12 @@ var init_aaverate = __esm(() => {
|
|
|
41713
41947
|
})(AaveRateToken$ ||= {});
|
|
41714
41948
|
AaveRateRequest$inboundSchema = objectType({
|
|
41715
41949
|
chain: AaveRateChain$inboundSchema.default("arbitrum:mainnet"),
|
|
41716
|
-
block:
|
|
41950
|
+
block: nullableType(numberType().int()).optional(),
|
|
41717
41951
|
token: AaveRateToken$inboundSchema.default("USDC")
|
|
41718
41952
|
});
|
|
41719
41953
|
AaveRateRequest$outboundSchema = objectType({
|
|
41720
41954
|
chain: AaveRateChain$outboundSchema.default("arbitrum:mainnet"),
|
|
41721
|
-
block:
|
|
41955
|
+
block: nullableType(numberType().int()).optional(),
|
|
41722
41956
|
token: AaveRateToken$outboundSchema.default("USDC")
|
|
41723
41957
|
});
|
|
41724
41958
|
((AaveRateRequest$) => {
|
|
@@ -41728,7 +41962,7 @@ var init_aaverate = __esm(() => {
|
|
|
41728
41962
|
});
|
|
41729
41963
|
|
|
41730
41964
|
// src/models/operations/aavereserveoverview.ts
|
|
41731
|
-
var AaveReserveOverviewChain, AaveReserveOverviewToken, AaveReserveOverviewChain$inboundSchema, AaveReserveOverviewChain$outboundSchema, AaveReserveOverviewChain$,
|
|
41965
|
+
var AaveReserveOverviewChain, AaveReserveOverviewToken, AaveReserveOverviewChain$inboundSchema, AaveReserveOverviewChain$outboundSchema, AaveReserveOverviewChain$, AaveReserveOverviewToken$inboundSchema, AaveReserveOverviewToken$outboundSchema, AaveReserveOverviewToken$, AaveReserveOverviewRequest$inboundSchema, AaveReserveOverviewRequest$outboundSchema, AaveReserveOverviewRequest$;
|
|
41732
41966
|
var init_aavereserveoverview = __esm(() => {
|
|
41733
41967
|
init_esm();
|
|
41734
41968
|
AaveReserveOverviewChain = {
|
|
@@ -41788,12 +42022,6 @@ var init_aavereserveoverview = __esm(() => {
|
|
|
41788
42022
|
AaveReserveOverviewChain$.inboundSchema = AaveReserveOverviewChain$inboundSchema;
|
|
41789
42023
|
AaveReserveOverviewChain$.outboundSchema = AaveReserveOverviewChain$outboundSchema;
|
|
41790
42024
|
})(AaveReserveOverviewChain$ ||= {});
|
|
41791
|
-
AaveReserveOverviewBlock$inboundSchema = unionType([numberType().int(), stringType()]);
|
|
41792
|
-
AaveReserveOverviewBlock$outboundSchema = unionType([numberType().int(), stringType()]);
|
|
41793
|
-
((AaveReserveOverviewBlock$) => {
|
|
41794
|
-
AaveReserveOverviewBlock$.inboundSchema = AaveReserveOverviewBlock$inboundSchema;
|
|
41795
|
-
AaveReserveOverviewBlock$.outboundSchema = AaveReserveOverviewBlock$outboundSchema;
|
|
41796
|
-
})(AaveReserveOverviewBlock$ ||= {});
|
|
41797
42025
|
AaveReserveOverviewToken$inboundSchema = nativeEnumType(AaveReserveOverviewToken);
|
|
41798
42026
|
AaveReserveOverviewToken$outboundSchema = AaveReserveOverviewToken$inboundSchema;
|
|
41799
42027
|
((AaveReserveOverviewToken$) => {
|
|
@@ -41802,12 +42030,12 @@ var init_aavereserveoverview = __esm(() => {
|
|
|
41802
42030
|
})(AaveReserveOverviewToken$ ||= {});
|
|
41803
42031
|
AaveReserveOverviewRequest$inboundSchema = objectType({
|
|
41804
42032
|
chain: AaveReserveOverviewChain$inboundSchema.default("arbitrum:mainnet"),
|
|
41805
|
-
block:
|
|
42033
|
+
block: nullableType(numberType().int()).optional(),
|
|
41806
42034
|
token: AaveReserveOverviewToken$inboundSchema.default("USDC")
|
|
41807
42035
|
});
|
|
41808
42036
|
AaveReserveOverviewRequest$outboundSchema = objectType({
|
|
41809
42037
|
chain: AaveReserveOverviewChain$outboundSchema.default("arbitrum:mainnet"),
|
|
41810
|
-
block:
|
|
42038
|
+
block: nullableType(numberType().int()).optional(),
|
|
41811
42039
|
token: AaveReserveOverviewToken$outboundSchema.default("USDC")
|
|
41812
42040
|
});
|
|
41813
42041
|
((AaveReserveOverviewRequest$) => {
|
|
@@ -41817,7 +42045,7 @@ var init_aavereserveoverview = __esm(() => {
|
|
|
41817
42045
|
});
|
|
41818
42046
|
|
|
41819
42047
|
// src/models/operations/aavestdrate.ts
|
|
41820
|
-
var AaveStdRateChain, AaveStdRateToken, AaveStdRateChain$inboundSchema, AaveStdRateChain$outboundSchema, AaveStdRateChain$,
|
|
42048
|
+
var AaveStdRateChain, AaveStdRateToken, AaveStdRateChain$inboundSchema, AaveStdRateChain$outboundSchema, AaveStdRateChain$, AaveStdRateToken$inboundSchema, AaveStdRateToken$outboundSchema, AaveStdRateToken$, AaveStdRateRequest$inboundSchema, AaveStdRateRequest$outboundSchema, AaveStdRateRequest$;
|
|
41821
42049
|
var init_aavestdrate = __esm(() => {
|
|
41822
42050
|
init_esm();
|
|
41823
42051
|
AaveStdRateChain = {
|
|
@@ -41877,12 +42105,6 @@ var init_aavestdrate = __esm(() => {
|
|
|
41877
42105
|
AaveStdRateChain$.inboundSchema = AaveStdRateChain$inboundSchema;
|
|
41878
42106
|
AaveStdRateChain$.outboundSchema = AaveStdRateChain$outboundSchema;
|
|
41879
42107
|
})(AaveStdRateChain$ ||= {});
|
|
41880
|
-
AaveStdRateBlock$inboundSchema = unionType([numberType().int(), stringType()]);
|
|
41881
|
-
AaveStdRateBlock$outboundSchema = unionType([numberType().int(), stringType()]);
|
|
41882
|
-
((AaveStdRateBlock$) => {
|
|
41883
|
-
AaveStdRateBlock$.inboundSchema = AaveStdRateBlock$inboundSchema;
|
|
41884
|
-
AaveStdRateBlock$.outboundSchema = AaveStdRateBlock$outboundSchema;
|
|
41885
|
-
})(AaveStdRateBlock$ ||= {});
|
|
41886
42108
|
AaveStdRateToken$inboundSchema = nativeEnumType(AaveStdRateToken);
|
|
41887
42109
|
AaveStdRateToken$outboundSchema = AaveStdRateToken$inboundSchema;
|
|
41888
42110
|
((AaveStdRateToken$) => {
|
|
@@ -41891,13 +42113,13 @@ var init_aavestdrate = __esm(() => {
|
|
|
41891
42113
|
})(AaveStdRateToken$ ||= {});
|
|
41892
42114
|
AaveStdRateRequest$inboundSchema = objectType({
|
|
41893
42115
|
chain: AaveStdRateChain$inboundSchema.default("ethereum:mainnet"),
|
|
41894
|
-
block:
|
|
42116
|
+
block: nullableType(numberType().int()).optional(),
|
|
41895
42117
|
token: AaveStdRateToken$inboundSchema.default("USDC"),
|
|
41896
42118
|
days: numberType().int().default(7)
|
|
41897
42119
|
});
|
|
41898
42120
|
AaveStdRateRequest$outboundSchema = objectType({
|
|
41899
42121
|
chain: AaveStdRateChain$outboundSchema.default("ethereum:mainnet"),
|
|
41900
|
-
block:
|
|
42122
|
+
block: nullableType(numberType().int()).optional(),
|
|
41901
42123
|
token: AaveStdRateToken$outboundSchema.default("USDC"),
|
|
41902
42124
|
days: numberType().int().default(7)
|
|
41903
42125
|
});
|
|
@@ -41908,7 +42130,7 @@ var init_aavestdrate = __esm(() => {
|
|
|
41908
42130
|
});
|
|
41909
42131
|
|
|
41910
42132
|
// src/models/operations/aavetokenprice.ts
|
|
41911
|
-
var AaveTokenPriceChain, AaveTokenPriceToken, AaveTokenPriceChain$inboundSchema, AaveTokenPriceChain$outboundSchema, AaveTokenPriceChain$,
|
|
42133
|
+
var AaveTokenPriceChain, AaveTokenPriceToken, AaveTokenPriceChain$inboundSchema, AaveTokenPriceChain$outboundSchema, AaveTokenPriceChain$, AaveTokenPriceToken$inboundSchema, AaveTokenPriceToken$outboundSchema, AaveTokenPriceToken$, AaveTokenPriceRequest$inboundSchema, AaveTokenPriceRequest$outboundSchema, AaveTokenPriceRequest$;
|
|
41912
42134
|
var init_aavetokenprice = __esm(() => {
|
|
41913
42135
|
init_esm();
|
|
41914
42136
|
AaveTokenPriceChain = {
|
|
@@ -41968,12 +42190,6 @@ var init_aavetokenprice = __esm(() => {
|
|
|
41968
42190
|
AaveTokenPriceChain$.inboundSchema = AaveTokenPriceChain$inboundSchema;
|
|
41969
42191
|
AaveTokenPriceChain$.outboundSchema = AaveTokenPriceChain$outboundSchema;
|
|
41970
42192
|
})(AaveTokenPriceChain$ ||= {});
|
|
41971
|
-
AaveTokenPriceBlock$inboundSchema = unionType([numberType().int(), stringType()]);
|
|
41972
|
-
AaveTokenPriceBlock$outboundSchema = unionType([numberType().int(), stringType()]);
|
|
41973
|
-
((AaveTokenPriceBlock$) => {
|
|
41974
|
-
AaveTokenPriceBlock$.inboundSchema = AaveTokenPriceBlock$inboundSchema;
|
|
41975
|
-
AaveTokenPriceBlock$.outboundSchema = AaveTokenPriceBlock$outboundSchema;
|
|
41976
|
-
})(AaveTokenPriceBlock$ ||= {});
|
|
41977
42193
|
AaveTokenPriceToken$inboundSchema = nativeEnumType(AaveTokenPriceToken);
|
|
41978
42194
|
AaveTokenPriceToken$outboundSchema = AaveTokenPriceToken$inboundSchema;
|
|
41979
42195
|
((AaveTokenPriceToken$) => {
|
|
@@ -41982,12 +42198,12 @@ var init_aavetokenprice = __esm(() => {
|
|
|
41982
42198
|
})(AaveTokenPriceToken$ ||= {});
|
|
41983
42199
|
AaveTokenPriceRequest$inboundSchema = objectType({
|
|
41984
42200
|
chain: AaveTokenPriceChain$inboundSchema.default("arbitrum:mainnet"),
|
|
41985
|
-
block:
|
|
42201
|
+
block: nullableType(numberType().int()).optional(),
|
|
41986
42202
|
token: AaveTokenPriceToken$inboundSchema.default("USDC")
|
|
41987
42203
|
});
|
|
41988
42204
|
AaveTokenPriceRequest$outboundSchema = objectType({
|
|
41989
42205
|
chain: AaveTokenPriceChain$outboundSchema.default("arbitrum:mainnet"),
|
|
41990
|
-
block:
|
|
42206
|
+
block: nullableType(numberType().int()).optional(),
|
|
41991
42207
|
token: AaveTokenPriceToken$outboundSchema.default("USDC")
|
|
41992
42208
|
});
|
|
41993
42209
|
((AaveTokenPriceRequest$) => {
|
|
@@ -41997,7 +42213,7 @@ var init_aavetokenprice = __esm(() => {
|
|
|
41997
42213
|
});
|
|
41998
42214
|
|
|
41999
42215
|
// src/models/operations/aaveuserpositionpertoken.ts
|
|
42000
|
-
var AaveUserPositionPerTokenChain, AaveUserPositionPerTokenToken, AaveUserPositionPerTokenChain$inboundSchema, AaveUserPositionPerTokenChain$outboundSchema, AaveUserPositionPerTokenChain$,
|
|
42216
|
+
var AaveUserPositionPerTokenChain, AaveUserPositionPerTokenToken, AaveUserPositionPerTokenChain$inboundSchema, AaveUserPositionPerTokenChain$outboundSchema, AaveUserPositionPerTokenChain$, AaveUserPositionPerTokenToken$inboundSchema, AaveUserPositionPerTokenToken$outboundSchema, AaveUserPositionPerTokenToken$, AaveUserPositionPerTokenRequest$inboundSchema, AaveUserPositionPerTokenRequest$outboundSchema, AaveUserPositionPerTokenRequest$;
|
|
42001
42217
|
var init_aaveuserpositionpertoken = __esm(() => {
|
|
42002
42218
|
init_esm();
|
|
42003
42219
|
AaveUserPositionPerTokenChain = {
|
|
@@ -42057,12 +42273,6 @@ var init_aaveuserpositionpertoken = __esm(() => {
|
|
|
42057
42273
|
AaveUserPositionPerTokenChain$.inboundSchema = AaveUserPositionPerTokenChain$inboundSchema;
|
|
42058
42274
|
AaveUserPositionPerTokenChain$.outboundSchema = AaveUserPositionPerTokenChain$outboundSchema;
|
|
42059
42275
|
})(AaveUserPositionPerTokenChain$ ||= {});
|
|
42060
|
-
AaveUserPositionPerTokenBlock$inboundSchema = unionType([numberType().int(), stringType()]);
|
|
42061
|
-
AaveUserPositionPerTokenBlock$outboundSchema = unionType([numberType().int(), stringType()]);
|
|
42062
|
-
((AaveUserPositionPerTokenBlock$) => {
|
|
42063
|
-
AaveUserPositionPerTokenBlock$.inboundSchema = AaveUserPositionPerTokenBlock$inboundSchema;
|
|
42064
|
-
AaveUserPositionPerTokenBlock$.outboundSchema = AaveUserPositionPerTokenBlock$outboundSchema;
|
|
42065
|
-
})(AaveUserPositionPerTokenBlock$ ||= {});
|
|
42066
42276
|
AaveUserPositionPerTokenToken$inboundSchema = nativeEnumType(AaveUserPositionPerTokenToken);
|
|
42067
42277
|
AaveUserPositionPerTokenToken$outboundSchema = AaveUserPositionPerTokenToken$inboundSchema;
|
|
42068
42278
|
((AaveUserPositionPerTokenToken$) => {
|
|
@@ -42071,13 +42281,13 @@ var init_aaveuserpositionpertoken = __esm(() => {
|
|
|
42071
42281
|
})(AaveUserPositionPerTokenToken$ ||= {});
|
|
42072
42282
|
AaveUserPositionPerTokenRequest$inboundSchema = objectType({
|
|
42073
42283
|
chain: AaveUserPositionPerTokenChain$inboundSchema.default("arbitrum:mainnet"),
|
|
42074
|
-
block:
|
|
42284
|
+
block: nullableType(numberType().int()).optional(),
|
|
42075
42285
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B"),
|
|
42076
42286
|
token: AaveUserPositionPerTokenToken$inboundSchema.default("USDC")
|
|
42077
42287
|
});
|
|
42078
42288
|
AaveUserPositionPerTokenRequest$outboundSchema = objectType({
|
|
42079
42289
|
chain: AaveUserPositionPerTokenChain$outboundSchema.default("arbitrum:mainnet"),
|
|
42080
|
-
block:
|
|
42290
|
+
block: nullableType(numberType().int()).optional(),
|
|
42081
42291
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B"),
|
|
42082
42292
|
token: AaveUserPositionPerTokenToken$outboundSchema.default("USDC")
|
|
42083
42293
|
});
|
|
@@ -42088,7 +42298,7 @@ var init_aaveuserpositionpertoken = __esm(() => {
|
|
|
42088
42298
|
});
|
|
42089
42299
|
|
|
42090
42300
|
// src/models/operations/aaveuserpositionsummary.ts
|
|
42091
|
-
var AaveUserPositionSummaryChain, AaveUserPositionSummaryChain$inboundSchema, AaveUserPositionSummaryChain$outboundSchema, AaveUserPositionSummaryChain$,
|
|
42301
|
+
var AaveUserPositionSummaryChain, AaveUserPositionSummaryChain$inboundSchema, AaveUserPositionSummaryChain$outboundSchema, AaveUserPositionSummaryChain$, AaveUserPositionSummaryRequest$inboundSchema, AaveUserPositionSummaryRequest$outboundSchema, AaveUserPositionSummaryRequest$;
|
|
42092
42302
|
var init_aaveuserpositionsummary = __esm(() => {
|
|
42093
42303
|
init_esm();
|
|
42094
42304
|
AaveUserPositionSummaryChain = {
|
|
@@ -42102,20 +42312,14 @@ var init_aaveuserpositionsummary = __esm(() => {
|
|
|
42102
42312
|
AaveUserPositionSummaryChain$.inboundSchema = AaveUserPositionSummaryChain$inboundSchema;
|
|
42103
42313
|
AaveUserPositionSummaryChain$.outboundSchema = AaveUserPositionSummaryChain$outboundSchema;
|
|
42104
42314
|
})(AaveUserPositionSummaryChain$ ||= {});
|
|
42105
|
-
AaveUserPositionSummaryBlock$inboundSchema = unionType([numberType().int(), stringType()]);
|
|
42106
|
-
AaveUserPositionSummaryBlock$outboundSchema = unionType([numberType().int(), stringType()]);
|
|
42107
|
-
((AaveUserPositionSummaryBlock$) => {
|
|
42108
|
-
AaveUserPositionSummaryBlock$.inboundSchema = AaveUserPositionSummaryBlock$inboundSchema;
|
|
42109
|
-
AaveUserPositionSummaryBlock$.outboundSchema = AaveUserPositionSummaryBlock$outboundSchema;
|
|
42110
|
-
})(AaveUserPositionSummaryBlock$ ||= {});
|
|
42111
42315
|
AaveUserPositionSummaryRequest$inboundSchema = objectType({
|
|
42112
42316
|
chain: AaveUserPositionSummaryChain$inboundSchema.default("arbitrum:mainnet"),
|
|
42113
|
-
block:
|
|
42317
|
+
block: nullableType(numberType().int()).optional(),
|
|
42114
42318
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B")
|
|
42115
42319
|
});
|
|
42116
42320
|
AaveUserPositionSummaryRequest$outboundSchema = objectType({
|
|
42117
42321
|
chain: AaveUserPositionSummaryChain$outboundSchema.default("arbitrum:mainnet"),
|
|
42118
|
-
block:
|
|
42322
|
+
block: nullableType(numberType().int()).optional(),
|
|
42119
42323
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B")
|
|
42120
42324
|
});
|
|
42121
42325
|
((AaveUserPositionSummaryRequest$) => {
|
|
@@ -42125,7 +42329,7 @@ var init_aaveuserpositionsummary = __esm(() => {
|
|
|
42125
42329
|
});
|
|
42126
42330
|
|
|
42127
42331
|
// src/models/operations/aerodromeslipstreamliquidityprovisionpositions.ts
|
|
42128
|
-
var AerodromeSlipstreamLiquidityProvisionPositionsChain, AerodromeSlipstreamLiquidityProvisionPositionsChain$inboundSchema, AerodromeSlipstreamLiquidityProvisionPositionsChain$outboundSchema, AerodromeSlipstreamLiquidityProvisionPositionsChain$,
|
|
42332
|
+
var AerodromeSlipstreamLiquidityProvisionPositionsChain, AerodromeSlipstreamLiquidityProvisionPositionsChain$inboundSchema, AerodromeSlipstreamLiquidityProvisionPositionsChain$outboundSchema, AerodromeSlipstreamLiquidityProvisionPositionsChain$, AerodromeSlipstreamLiquidityProvisionPositionsRequest$inboundSchema, AerodromeSlipstreamLiquidityProvisionPositionsRequest$outboundSchema, AerodromeSlipstreamLiquidityProvisionPositionsRequest$;
|
|
42129
42333
|
var init_aerodromeslipstreamliquidityprovisionpositions = __esm(() => {
|
|
42130
42334
|
init_esm();
|
|
42131
42335
|
AerodromeSlipstreamLiquidityProvisionPositionsChain = {
|
|
@@ -42139,20 +42343,14 @@ var init_aerodromeslipstreamliquidityprovisionpositions = __esm(() => {
|
|
|
42139
42343
|
AerodromeSlipstreamLiquidityProvisionPositionsChain$.inboundSchema = AerodromeSlipstreamLiquidityProvisionPositionsChain$inboundSchema;
|
|
42140
42344
|
AerodromeSlipstreamLiquidityProvisionPositionsChain$.outboundSchema = AerodromeSlipstreamLiquidityProvisionPositionsChain$outboundSchema;
|
|
42141
42345
|
})(AerodromeSlipstreamLiquidityProvisionPositionsChain$ ||= {});
|
|
42142
|
-
AerodromeSlipstreamLiquidityProvisionPositionsBlock$inboundSchema = unionType([numberType().int(), stringType()]);
|
|
42143
|
-
AerodromeSlipstreamLiquidityProvisionPositionsBlock$outboundSchema = unionType([numberType().int(), stringType()]);
|
|
42144
|
-
((AerodromeSlipstreamLiquidityProvisionPositionsBlock$) => {
|
|
42145
|
-
AerodromeSlipstreamLiquidityProvisionPositionsBlock$.inboundSchema = AerodromeSlipstreamLiquidityProvisionPositionsBlock$inboundSchema;
|
|
42146
|
-
AerodromeSlipstreamLiquidityProvisionPositionsBlock$.outboundSchema = AerodromeSlipstreamLiquidityProvisionPositionsBlock$outboundSchema;
|
|
42147
|
-
})(AerodromeSlipstreamLiquidityProvisionPositionsBlock$ ||= {});
|
|
42148
42346
|
AerodromeSlipstreamLiquidityProvisionPositionsRequest$inboundSchema = objectType({
|
|
42149
42347
|
chain: AerodromeSlipstreamLiquidityProvisionPositionsChain$inboundSchema.default("base:mainnet"),
|
|
42150
|
-
block:
|
|
42348
|
+
block: nullableType(numberType().int()).optional(),
|
|
42151
42349
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B")
|
|
42152
42350
|
});
|
|
42153
42351
|
AerodromeSlipstreamLiquidityProvisionPositionsRequest$outboundSchema = objectType({
|
|
42154
42352
|
chain: AerodromeSlipstreamLiquidityProvisionPositionsChain$outboundSchema.default("base:mainnet"),
|
|
42155
|
-
block:
|
|
42353
|
+
block: nullableType(numberType().int()).optional(),
|
|
42156
42354
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B")
|
|
42157
42355
|
});
|
|
42158
42356
|
((AerodromeSlipstreamLiquidityProvisionPositionsRequest$) => {
|
|
@@ -42162,7 +42360,7 @@ var init_aerodromeslipstreamliquidityprovisionpositions = __esm(() => {
|
|
|
42162
42360
|
});
|
|
42163
42361
|
|
|
42164
42362
|
// src/models/operations/aerodromeslipstreampoolprice.ts
|
|
42165
|
-
var AerodromeSlipstreamPoolPriceChain, AerodromeSlipstreamPoolPriceTokenInToken, AerodromeSlipstreamPoolPriceTokenOutToken, AerodromeSlipstreamPoolPriceChain$inboundSchema, AerodromeSlipstreamPoolPriceChain$outboundSchema, AerodromeSlipstreamPoolPriceChain$,
|
|
42363
|
+
var AerodromeSlipstreamPoolPriceChain, AerodromeSlipstreamPoolPriceTokenInToken, AerodromeSlipstreamPoolPriceTokenOutToken, AerodromeSlipstreamPoolPriceChain$inboundSchema, AerodromeSlipstreamPoolPriceChain$outboundSchema, AerodromeSlipstreamPoolPriceChain$, AerodromeSlipstreamPoolPriceTokenInToken$inboundSchema, AerodromeSlipstreamPoolPriceTokenInToken$outboundSchema, AerodromeSlipstreamPoolPriceTokenInToken$, AerodromeSlipstreamPoolPriceTokenOutToken$inboundSchema, AerodromeSlipstreamPoolPriceTokenOutToken$outboundSchema, AerodromeSlipstreamPoolPriceTokenOutToken$, AerodromeSlipstreamPoolPriceRequest$inboundSchema, AerodromeSlipstreamPoolPriceRequest$outboundSchema, AerodromeSlipstreamPoolPriceRequest$;
|
|
42166
42364
|
var init_aerodromeslipstreampoolprice = __esm(() => {
|
|
42167
42365
|
init_esm();
|
|
42168
42366
|
init_primitives();
|
|
@@ -42269,12 +42467,6 @@ var init_aerodromeslipstreampoolprice = __esm(() => {
|
|
|
42269
42467
|
AerodromeSlipstreamPoolPriceChain$.inboundSchema = AerodromeSlipstreamPoolPriceChain$inboundSchema;
|
|
42270
42468
|
AerodromeSlipstreamPoolPriceChain$.outboundSchema = AerodromeSlipstreamPoolPriceChain$outboundSchema;
|
|
42271
42469
|
})(AerodromeSlipstreamPoolPriceChain$ ||= {});
|
|
42272
|
-
AerodromeSlipstreamPoolPriceBlock$inboundSchema = unionType([numberType().int(), stringType()]);
|
|
42273
|
-
AerodromeSlipstreamPoolPriceBlock$outboundSchema = unionType([numberType().int(), stringType()]);
|
|
42274
|
-
((AerodromeSlipstreamPoolPriceBlock$) => {
|
|
42275
|
-
AerodromeSlipstreamPoolPriceBlock$.inboundSchema = AerodromeSlipstreamPoolPriceBlock$inboundSchema;
|
|
42276
|
-
AerodromeSlipstreamPoolPriceBlock$.outboundSchema = AerodromeSlipstreamPoolPriceBlock$outboundSchema;
|
|
42277
|
-
})(AerodromeSlipstreamPoolPriceBlock$ ||= {});
|
|
42278
42470
|
AerodromeSlipstreamPoolPriceTokenInToken$inboundSchema = nativeEnumType(AerodromeSlipstreamPoolPriceTokenInToken);
|
|
42279
42471
|
AerodromeSlipstreamPoolPriceTokenInToken$outboundSchema = AerodromeSlipstreamPoolPriceTokenInToken$inboundSchema;
|
|
42280
42472
|
((AerodromeSlipstreamPoolPriceTokenInToken$) => {
|
|
@@ -42289,7 +42481,7 @@ var init_aerodromeslipstreampoolprice = __esm(() => {
|
|
|
42289
42481
|
})(AerodromeSlipstreamPoolPriceTokenOutToken$ ||= {});
|
|
42290
42482
|
AerodromeSlipstreamPoolPriceRequest$inboundSchema = objectType({
|
|
42291
42483
|
chain: AerodromeSlipstreamPoolPriceChain$inboundSchema.default("base:mainnet"),
|
|
42292
|
-
block:
|
|
42484
|
+
block: nullableType(numberType().int()).optional(),
|
|
42293
42485
|
token_in: AerodromeSlipstreamPoolPriceTokenInToken$inboundSchema.default("USDC"),
|
|
42294
42486
|
token_out: AerodromeSlipstreamPoolPriceTokenOutToken$inboundSchema.default("WETH"),
|
|
42295
42487
|
tick_spacing: numberType().int().default(100)
|
|
@@ -42302,7 +42494,7 @@ var init_aerodromeslipstreampoolprice = __esm(() => {
|
|
|
42302
42494
|
});
|
|
42303
42495
|
AerodromeSlipstreamPoolPriceRequest$outboundSchema = objectType({
|
|
42304
42496
|
chain: AerodromeSlipstreamPoolPriceChain$outboundSchema.default("base:mainnet"),
|
|
42305
|
-
block:
|
|
42497
|
+
block: nullableType(numberType().int()).optional(),
|
|
42306
42498
|
tokenIn: AerodromeSlipstreamPoolPriceTokenInToken$outboundSchema.default("USDC"),
|
|
42307
42499
|
tokenOut: AerodromeSlipstreamPoolPriceTokenOutToken$outboundSchema.default("WETH"),
|
|
42308
42500
|
tickSpacing: numberType().int().default(100)
|
|
@@ -42320,7 +42512,7 @@ var init_aerodromeslipstreampoolprice = __esm(() => {
|
|
|
42320
42512
|
});
|
|
42321
42513
|
|
|
42322
42514
|
// src/models/operations/genericallowance.ts
|
|
42323
|
-
var GenericAllowanceChain, GenericAllowanceToken, ContractName3, GenericAllowanceChain$inboundSchema, GenericAllowanceChain$outboundSchema, GenericAllowanceChain$,
|
|
42515
|
+
var GenericAllowanceChain, GenericAllowanceToken, ContractName3, GenericAllowanceChain$inboundSchema, GenericAllowanceChain$outboundSchema, GenericAllowanceChain$, GenericAllowanceToken$inboundSchema, GenericAllowanceToken$outboundSchema, GenericAllowanceToken$, ContractName$inboundSchema2, ContractName$outboundSchema2, ContractName$2, GenericAllowanceRequest$inboundSchema, GenericAllowanceRequest$outboundSchema, GenericAllowanceRequest$;
|
|
42324
42516
|
var init_genericallowance = __esm(() => {
|
|
42325
42517
|
init_esm();
|
|
42326
42518
|
init_primitives();
|
|
@@ -42394,12 +42586,6 @@ var init_genericallowance = __esm(() => {
|
|
|
42394
42586
|
GenericAllowanceChain$.inboundSchema = GenericAllowanceChain$inboundSchema;
|
|
42395
42587
|
GenericAllowanceChain$.outboundSchema = GenericAllowanceChain$outboundSchema;
|
|
42396
42588
|
})(GenericAllowanceChain$ ||= {});
|
|
42397
|
-
GenericAllowanceBlock$inboundSchema = unionType([numberType().int(), stringType()]);
|
|
42398
|
-
GenericAllowanceBlock$outboundSchema = unionType([numberType().int(), stringType()]);
|
|
42399
|
-
((GenericAllowanceBlock$) => {
|
|
42400
|
-
GenericAllowanceBlock$.inboundSchema = GenericAllowanceBlock$inboundSchema;
|
|
42401
|
-
GenericAllowanceBlock$.outboundSchema = GenericAllowanceBlock$outboundSchema;
|
|
42402
|
-
})(GenericAllowanceBlock$ ||= {});
|
|
42403
42589
|
GenericAllowanceToken$inboundSchema = nativeEnumType(GenericAllowanceToken);
|
|
42404
42590
|
GenericAllowanceToken$outboundSchema = GenericAllowanceToken$inboundSchema;
|
|
42405
42591
|
((GenericAllowanceToken$) => {
|
|
@@ -42414,7 +42600,7 @@ var init_genericallowance = __esm(() => {
|
|
|
42414
42600
|
})(ContractName$2 ||= {});
|
|
42415
42601
|
GenericAllowanceRequest$inboundSchema = objectType({
|
|
42416
42602
|
chain: GenericAllowanceChain$inboundSchema.default("arbitrum:mainnet"),
|
|
42417
|
-
block:
|
|
42603
|
+
block: nullableType(numberType().int()).optional(),
|
|
42418
42604
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B"),
|
|
42419
42605
|
token: GenericAllowanceToken$inboundSchema.default("USDC"),
|
|
42420
42606
|
contract_name: ContractName$inboundSchema2.default("AaveV3Pool")
|
|
@@ -42425,7 +42611,7 @@ var init_genericallowance = __esm(() => {
|
|
|
42425
42611
|
});
|
|
42426
42612
|
GenericAllowanceRequest$outboundSchema = objectType({
|
|
42427
42613
|
chain: GenericAllowanceChain$outboundSchema.default("arbitrum:mainnet"),
|
|
42428
|
-
block:
|
|
42614
|
+
block: nullableType(numberType().int()).optional(),
|
|
42429
42615
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B"),
|
|
42430
42616
|
token: GenericAllowanceToken$outboundSchema.default("USDC"),
|
|
42431
42617
|
contractName: ContractName$outboundSchema2.default("AaveV3Pool")
|
|
@@ -42441,7 +42627,7 @@ var init_genericallowance = __esm(() => {
|
|
|
42441
42627
|
});
|
|
42442
42628
|
|
|
42443
42629
|
// src/models/operations/genericens.ts
|
|
42444
|
-
var GenericEnsChain, GenericEnsChain$inboundSchema, GenericEnsChain$outboundSchema, GenericEnsChain$,
|
|
42630
|
+
var GenericEnsChain, GenericEnsChain$inboundSchema, GenericEnsChain$outboundSchema, GenericEnsChain$, GenericEnsRequest$inboundSchema, GenericEnsRequest$outboundSchema, GenericEnsRequest$;
|
|
42445
42631
|
var init_genericens = __esm(() => {
|
|
42446
42632
|
init_esm();
|
|
42447
42633
|
init_primitives();
|
|
@@ -42456,15 +42642,9 @@ var init_genericens = __esm(() => {
|
|
|
42456
42642
|
GenericEnsChain$.inboundSchema = GenericEnsChain$inboundSchema;
|
|
42457
42643
|
GenericEnsChain$.outboundSchema = GenericEnsChain$outboundSchema;
|
|
42458
42644
|
})(GenericEnsChain$ ||= {});
|
|
42459
|
-
GenericEnsBlock$inboundSchema = unionType([numberType().int(), stringType()]);
|
|
42460
|
-
GenericEnsBlock$outboundSchema = unionType([numberType().int(), stringType()]);
|
|
42461
|
-
((GenericEnsBlock$) => {
|
|
42462
|
-
GenericEnsBlock$.inboundSchema = GenericEnsBlock$inboundSchema;
|
|
42463
|
-
GenericEnsBlock$.outboundSchema = GenericEnsBlock$outboundSchema;
|
|
42464
|
-
})(GenericEnsBlock$ ||= {});
|
|
42465
42645
|
GenericEnsRequest$inboundSchema = objectType({
|
|
42466
42646
|
chain: GenericEnsChain$inboundSchema.default("ethereum:mainnet"),
|
|
42467
|
-
block:
|
|
42647
|
+
block: nullableType(numberType().int()).optional(),
|
|
42468
42648
|
ens_name: stringType().default("vitalik.eth")
|
|
42469
42649
|
}).transform((v2) => {
|
|
42470
42650
|
return remap(v2, {
|
|
@@ -42473,7 +42653,7 @@ var init_genericens = __esm(() => {
|
|
|
42473
42653
|
});
|
|
42474
42654
|
GenericEnsRequest$outboundSchema = objectType({
|
|
42475
42655
|
chain: GenericEnsChain$outboundSchema.default("ethereum:mainnet"),
|
|
42476
|
-
block:
|
|
42656
|
+
block: nullableType(numberType().int()).optional(),
|
|
42477
42657
|
ensName: stringType().default("vitalik.eth")
|
|
42478
42658
|
}).transform((v2) => {
|
|
42479
42659
|
return remap(v2, {
|
|
@@ -42487,7 +42667,7 @@ var init_genericens = __esm(() => {
|
|
|
42487
42667
|
});
|
|
42488
42668
|
|
|
42489
42669
|
// src/models/operations/genericportfolio.ts
|
|
42490
|
-
var GenericPortfolioChain, GenericPortfolioChain$inboundSchema, GenericPortfolioChain$outboundSchema, GenericPortfolioChain$,
|
|
42670
|
+
var GenericPortfolioChain, GenericPortfolioChain$inboundSchema, GenericPortfolioChain$outboundSchema, GenericPortfolioChain$, GenericPortfolioRequest$inboundSchema, GenericPortfolioRequest$outboundSchema, GenericPortfolioRequest$;
|
|
42491
42671
|
var init_genericportfolio = __esm(() => {
|
|
42492
42672
|
init_esm();
|
|
42493
42673
|
GenericPortfolioChain = {
|
|
@@ -42501,20 +42681,14 @@ var init_genericportfolio = __esm(() => {
|
|
|
42501
42681
|
GenericPortfolioChain$.inboundSchema = GenericPortfolioChain$inboundSchema;
|
|
42502
42682
|
GenericPortfolioChain$.outboundSchema = GenericPortfolioChain$outboundSchema;
|
|
42503
42683
|
})(GenericPortfolioChain$ ||= {});
|
|
42504
|
-
GenericPortfolioBlock$inboundSchema = unionType([numberType().int(), stringType()]);
|
|
42505
|
-
GenericPortfolioBlock$outboundSchema = unionType([numberType().int(), stringType()]);
|
|
42506
|
-
((GenericPortfolioBlock$) => {
|
|
42507
|
-
GenericPortfolioBlock$.inboundSchema = GenericPortfolioBlock$inboundSchema;
|
|
42508
|
-
GenericPortfolioBlock$.outboundSchema = GenericPortfolioBlock$outboundSchema;
|
|
42509
|
-
})(GenericPortfolioBlock$ ||= {});
|
|
42510
42684
|
GenericPortfolioRequest$inboundSchema = objectType({
|
|
42511
42685
|
chain: GenericPortfolioChain$inboundSchema.default("arbitrum:mainnet"),
|
|
42512
|
-
block:
|
|
42686
|
+
block: nullableType(numberType().int()).optional(),
|
|
42513
42687
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B")
|
|
42514
42688
|
});
|
|
42515
42689
|
GenericPortfolioRequest$outboundSchema = objectType({
|
|
42516
42690
|
chain: GenericPortfolioChain$outboundSchema.default("arbitrum:mainnet"),
|
|
42517
|
-
block:
|
|
42691
|
+
block: nullableType(numberType().int()).optional(),
|
|
42518
42692
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B")
|
|
42519
42693
|
});
|
|
42520
42694
|
((GenericPortfolioRequest$) => {
|
|
@@ -42524,7 +42698,7 @@ var init_genericportfolio = __esm(() => {
|
|
|
42524
42698
|
});
|
|
42525
42699
|
|
|
42526
42700
|
// src/models/operations/genericsupportedtokens.ts
|
|
42527
|
-
var GenericSupportedTokensChain, GenericSupportedTokensChain$inboundSchema, GenericSupportedTokensChain$outboundSchema, GenericSupportedTokensChain$,
|
|
42701
|
+
var GenericSupportedTokensChain, GenericSupportedTokensChain$inboundSchema, GenericSupportedTokensChain$outboundSchema, GenericSupportedTokensChain$, GenericSupportedTokensRequest$inboundSchema, GenericSupportedTokensRequest$outboundSchema, GenericSupportedTokensRequest$;
|
|
42528
42702
|
var init_genericsupportedtokens = __esm(() => {
|
|
42529
42703
|
init_esm();
|
|
42530
42704
|
GenericSupportedTokensChain = {
|
|
@@ -42538,19 +42712,13 @@ var init_genericsupportedtokens = __esm(() => {
|
|
|
42538
42712
|
GenericSupportedTokensChain$.inboundSchema = GenericSupportedTokensChain$inboundSchema;
|
|
42539
42713
|
GenericSupportedTokensChain$.outboundSchema = GenericSupportedTokensChain$outboundSchema;
|
|
42540
42714
|
})(GenericSupportedTokensChain$ ||= {});
|
|
42541
|
-
GenericSupportedTokensBlock$inboundSchema = unionType([numberType().int(), stringType()]);
|
|
42542
|
-
GenericSupportedTokensBlock$outboundSchema = unionType([numberType().int(), stringType()]);
|
|
42543
|
-
((GenericSupportedTokensBlock$) => {
|
|
42544
|
-
GenericSupportedTokensBlock$.inboundSchema = GenericSupportedTokensBlock$inboundSchema;
|
|
42545
|
-
GenericSupportedTokensBlock$.outboundSchema = GenericSupportedTokensBlock$outboundSchema;
|
|
42546
|
-
})(GenericSupportedTokensBlock$ ||= {});
|
|
42547
42715
|
GenericSupportedTokensRequest$inboundSchema = objectType({
|
|
42548
42716
|
chain: GenericSupportedTokensChain$inboundSchema.default("arbitrum:mainnet"),
|
|
42549
|
-
block:
|
|
42717
|
+
block: nullableType(numberType().int()).optional()
|
|
42550
42718
|
});
|
|
42551
42719
|
GenericSupportedTokensRequest$outboundSchema = objectType({
|
|
42552
42720
|
chain: GenericSupportedTokensChain$outboundSchema.default("arbitrum:mainnet"),
|
|
42553
|
-
block:
|
|
42721
|
+
block: nullableType(numberType().int()).optional()
|
|
42554
42722
|
});
|
|
42555
42723
|
((GenericSupportedTokensRequest$) => {
|
|
42556
42724
|
GenericSupportedTokensRequest$.inboundSchema = GenericSupportedTokensRequest$inboundSchema;
|
|
@@ -42559,7 +42727,7 @@ var init_genericsupportedtokens = __esm(() => {
|
|
|
42559
42727
|
});
|
|
42560
42728
|
|
|
42561
42729
|
// src/models/operations/genericvisualizeportfolio.ts
|
|
42562
|
-
var GenericVisualizePortfolioChain, GenericVisualizePortfolioChain$inboundSchema, GenericVisualizePortfolioChain$outboundSchema, GenericVisualizePortfolioChain$,
|
|
42730
|
+
var GenericVisualizePortfolioChain, GenericVisualizePortfolioChain$inboundSchema, GenericVisualizePortfolioChain$outboundSchema, GenericVisualizePortfolioChain$, GenericVisualizePortfolioRequest$inboundSchema, GenericVisualizePortfolioRequest$outboundSchema, GenericVisualizePortfolioRequest$;
|
|
42563
42731
|
var init_genericvisualizeportfolio = __esm(() => {
|
|
42564
42732
|
init_esm();
|
|
42565
42733
|
GenericVisualizePortfolioChain = {
|
|
@@ -42573,20 +42741,14 @@ var init_genericvisualizeportfolio = __esm(() => {
|
|
|
42573
42741
|
GenericVisualizePortfolioChain$.inboundSchema = GenericVisualizePortfolioChain$inboundSchema;
|
|
42574
42742
|
GenericVisualizePortfolioChain$.outboundSchema = GenericVisualizePortfolioChain$outboundSchema;
|
|
42575
42743
|
})(GenericVisualizePortfolioChain$ ||= {});
|
|
42576
|
-
GenericVisualizePortfolioBlock$inboundSchema = unionType([numberType().int(), stringType()]);
|
|
42577
|
-
GenericVisualizePortfolioBlock$outboundSchema = unionType([numberType().int(), stringType()]);
|
|
42578
|
-
((GenericVisualizePortfolioBlock$) => {
|
|
42579
|
-
GenericVisualizePortfolioBlock$.inboundSchema = GenericVisualizePortfolioBlock$inboundSchema;
|
|
42580
|
-
GenericVisualizePortfolioBlock$.outboundSchema = GenericVisualizePortfolioBlock$outboundSchema;
|
|
42581
|
-
})(GenericVisualizePortfolioBlock$ ||= {});
|
|
42582
42744
|
GenericVisualizePortfolioRequest$inboundSchema = objectType({
|
|
42583
42745
|
chain: GenericVisualizePortfolioChain$inboundSchema.default("arbitrum:mainnet"),
|
|
42584
|
-
block:
|
|
42746
|
+
block: nullableType(numberType().int()).optional(),
|
|
42585
42747
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B")
|
|
42586
42748
|
});
|
|
42587
42749
|
GenericVisualizePortfolioRequest$outboundSchema = objectType({
|
|
42588
42750
|
chain: GenericVisualizePortfolioChain$outboundSchema.default("arbitrum:mainnet"),
|
|
42589
|
-
block:
|
|
42751
|
+
block: nullableType(numberType().int()).optional(),
|
|
42590
42752
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B")
|
|
42591
42753
|
});
|
|
42592
42754
|
((GenericVisualizePortfolioRequest$) => {
|
|
@@ -42596,7 +42758,7 @@ var init_genericvisualizeportfolio = __esm(() => {
|
|
|
42596
42758
|
});
|
|
42597
42759
|
|
|
42598
42760
|
// src/models/operations/morphomarket.ts
|
|
42599
|
-
var MorphoMarketChain, MorphoMarketChain$inboundSchema, MorphoMarketChain$outboundSchema, MorphoMarketChain$,
|
|
42761
|
+
var MorphoMarketChain, MorphoMarketChain$inboundSchema, MorphoMarketChain$outboundSchema, MorphoMarketChain$, MorphoMarketRequest$inboundSchema, MorphoMarketRequest$outboundSchema, MorphoMarketRequest$;
|
|
42600
42762
|
var init_morphomarket2 = __esm(() => {
|
|
42601
42763
|
init_esm();
|
|
42602
42764
|
init_primitives();
|
|
@@ -42610,15 +42772,9 @@ var init_morphomarket2 = __esm(() => {
|
|
|
42610
42772
|
MorphoMarketChain$.inboundSchema = MorphoMarketChain$inboundSchema;
|
|
42611
42773
|
MorphoMarketChain$.outboundSchema = MorphoMarketChain$outboundSchema;
|
|
42612
42774
|
})(MorphoMarketChain$ ||= {});
|
|
42613
|
-
MorphoMarketBlock$inboundSchema = unionType([numberType().int(), stringType()]);
|
|
42614
|
-
MorphoMarketBlock$outboundSchema = unionType([numberType().int(), stringType()]);
|
|
42615
|
-
((MorphoMarketBlock$) => {
|
|
42616
|
-
MorphoMarketBlock$.inboundSchema = MorphoMarketBlock$inboundSchema;
|
|
42617
|
-
MorphoMarketBlock$.outboundSchema = MorphoMarketBlock$outboundSchema;
|
|
42618
|
-
})(MorphoMarketBlock$ ||= {});
|
|
42619
42775
|
MorphoMarketRequest$inboundSchema = objectType({
|
|
42620
42776
|
chain: MorphoMarketChain$inboundSchema.default("ethereum:mainnet"),
|
|
42621
|
-
block:
|
|
42777
|
+
block: nullableType(numberType().int()).optional(),
|
|
42622
42778
|
unique_market_key: stringType().default("0x83b7ad16905809ea36482f4fbf6cfee9c9f316d128de9a5da1952607d5e4df5e")
|
|
42623
42779
|
}).transform((v2) => {
|
|
42624
42780
|
return remap(v2, {
|
|
@@ -42627,7 +42783,7 @@ var init_morphomarket2 = __esm(() => {
|
|
|
42627
42783
|
});
|
|
42628
42784
|
MorphoMarketRequest$outboundSchema = objectType({
|
|
42629
42785
|
chain: MorphoMarketChain$outboundSchema.default("ethereum:mainnet"),
|
|
42630
|
-
block:
|
|
42786
|
+
block: nullableType(numberType().int()).optional(),
|
|
42631
42787
|
uniqueMarketKey: stringType().default("0x83b7ad16905809ea36482f4fbf6cfee9c9f316d128de9a5da1952607d5e4df5e")
|
|
42632
42788
|
}).transform((v2) => {
|
|
42633
42789
|
return remap(v2, {
|
|
@@ -42641,7 +42797,7 @@ var init_morphomarket2 = __esm(() => {
|
|
|
42641
42797
|
});
|
|
42642
42798
|
|
|
42643
42799
|
// src/models/operations/morphomarketposition.ts
|
|
42644
|
-
var MorphoMarketPositionChain, MorphoMarketPositionChain$inboundSchema, MorphoMarketPositionChain$outboundSchema, MorphoMarketPositionChain$,
|
|
42800
|
+
var MorphoMarketPositionChain, MorphoMarketPositionChain$inboundSchema, MorphoMarketPositionChain$outboundSchema, MorphoMarketPositionChain$, MorphoMarketPositionRequest$inboundSchema, MorphoMarketPositionRequest$outboundSchema, MorphoMarketPositionRequest$;
|
|
42645
42801
|
var init_morphomarketposition = __esm(() => {
|
|
42646
42802
|
init_esm();
|
|
42647
42803
|
init_primitives();
|
|
@@ -42655,15 +42811,9 @@ var init_morphomarketposition = __esm(() => {
|
|
|
42655
42811
|
MorphoMarketPositionChain$.inboundSchema = MorphoMarketPositionChain$inboundSchema;
|
|
42656
42812
|
MorphoMarketPositionChain$.outboundSchema = MorphoMarketPositionChain$outboundSchema;
|
|
42657
42813
|
})(MorphoMarketPositionChain$ ||= {});
|
|
42658
|
-
MorphoMarketPositionBlock$inboundSchema = unionType([numberType().int(), stringType()]);
|
|
42659
|
-
MorphoMarketPositionBlock$outboundSchema = unionType([numberType().int(), stringType()]);
|
|
42660
|
-
((MorphoMarketPositionBlock$) => {
|
|
42661
|
-
MorphoMarketPositionBlock$.inboundSchema = MorphoMarketPositionBlock$inboundSchema;
|
|
42662
|
-
MorphoMarketPositionBlock$.outboundSchema = MorphoMarketPositionBlock$outboundSchema;
|
|
42663
|
-
})(MorphoMarketPositionBlock$ ||= {});
|
|
42664
42814
|
MorphoMarketPositionRequest$inboundSchema = objectType({
|
|
42665
42815
|
chain: MorphoMarketPositionChain$inboundSchema.default("ethereum:mainnet"),
|
|
42666
|
-
block:
|
|
42816
|
+
block: nullableType(numberType().int()).optional(),
|
|
42667
42817
|
user_address: stringType().default("0xa829B388A3DF7f581cE957a95edbe419dd146d1B"),
|
|
42668
42818
|
unique_market_key: stringType().default("0xe7399fdebc318d76dfec7356caafcf8cd4b91287e139a3ec423f09aeeb656fc4")
|
|
42669
42819
|
}).transform((v2) => {
|
|
@@ -42674,7 +42824,7 @@ var init_morphomarketposition = __esm(() => {
|
|
|
42674
42824
|
});
|
|
42675
42825
|
MorphoMarketPositionRequest$outboundSchema = objectType({
|
|
42676
42826
|
chain: MorphoMarketPositionChain$outboundSchema.default("ethereum:mainnet"),
|
|
42677
|
-
block:
|
|
42827
|
+
block: nullableType(numberType().int()).optional(),
|
|
42678
42828
|
userAddress: stringType().default("0xa829B388A3DF7f581cE957a95edbe419dd146d1B"),
|
|
42679
42829
|
uniqueMarketKey: stringType().default("0xe7399fdebc318d76dfec7356caafcf8cd4b91287e139a3ec423f09aeeb656fc4")
|
|
42680
42830
|
}).transform((v2) => {
|
|
@@ -42690,7 +42840,7 @@ var init_morphomarketposition = __esm(() => {
|
|
|
42690
42840
|
});
|
|
42691
42841
|
|
|
42692
42842
|
// src/models/operations/morphomarkets.ts
|
|
42693
|
-
var MorphoMarketsChain, MorphoMarketsChain$inboundSchema, MorphoMarketsChain$outboundSchema, MorphoMarketsChain$,
|
|
42843
|
+
var MorphoMarketsChain, MorphoMarketsChain$inboundSchema, MorphoMarketsChain$outboundSchema, MorphoMarketsChain$, MorphoMarketsRequest$inboundSchema, MorphoMarketsRequest$outboundSchema, MorphoMarketsRequest$;
|
|
42694
42844
|
var init_morphomarkets = __esm(() => {
|
|
42695
42845
|
init_esm();
|
|
42696
42846
|
init_primitives();
|
|
@@ -42704,15 +42854,9 @@ var init_morphomarkets = __esm(() => {
|
|
|
42704
42854
|
MorphoMarketsChain$.inboundSchema = MorphoMarketsChain$inboundSchema;
|
|
42705
42855
|
MorphoMarketsChain$.outboundSchema = MorphoMarketsChain$outboundSchema;
|
|
42706
42856
|
})(MorphoMarketsChain$ ||= {});
|
|
42707
|
-
MorphoMarketsBlock$inboundSchema = unionType([numberType().int(), stringType()]);
|
|
42708
|
-
MorphoMarketsBlock$outboundSchema = unionType([numberType().int(), stringType()]);
|
|
42709
|
-
((MorphoMarketsBlock$) => {
|
|
42710
|
-
MorphoMarketsBlock$.inboundSchema = MorphoMarketsBlock$inboundSchema;
|
|
42711
|
-
MorphoMarketsBlock$.outboundSchema = MorphoMarketsBlock$outboundSchema;
|
|
42712
|
-
})(MorphoMarketsBlock$ ||= {});
|
|
42713
42857
|
MorphoMarketsRequest$inboundSchema = objectType({
|
|
42714
42858
|
chain: MorphoMarketsChain$inboundSchema.default("ethereum:mainnet"),
|
|
42715
|
-
block:
|
|
42859
|
+
block: nullableType(numberType().int()).optional(),
|
|
42716
42860
|
collateral_token: nullableType(stringType()).optional(),
|
|
42717
42861
|
loan_token: nullableType(stringType()).optional()
|
|
42718
42862
|
}).transform((v2) => {
|
|
@@ -42723,7 +42867,7 @@ var init_morphomarkets = __esm(() => {
|
|
|
42723
42867
|
});
|
|
42724
42868
|
MorphoMarketsRequest$outboundSchema = objectType({
|
|
42725
42869
|
chain: MorphoMarketsChain$outboundSchema.default("ethereum:mainnet"),
|
|
42726
|
-
block:
|
|
42870
|
+
block: nullableType(numberType().int()).optional(),
|
|
42727
42871
|
collateralToken: nullableType(stringType()).optional(),
|
|
42728
42872
|
loanToken: nullableType(stringType()).optional()
|
|
42729
42873
|
}).transform((v2) => {
|
|
@@ -42739,7 +42883,7 @@ var init_morphomarkets = __esm(() => {
|
|
|
42739
42883
|
});
|
|
42740
42884
|
|
|
42741
42885
|
// src/models/operations/morphouserposition.ts
|
|
42742
|
-
var MorphoUserPositionChain, MorphoUserPositionChain$inboundSchema, MorphoUserPositionChain$outboundSchema, MorphoUserPositionChain$,
|
|
42886
|
+
var MorphoUserPositionChain, MorphoUserPositionChain$inboundSchema, MorphoUserPositionChain$outboundSchema, MorphoUserPositionChain$, MorphoUserPositionRequest$inboundSchema, MorphoUserPositionRequest$outboundSchema, MorphoUserPositionRequest$;
|
|
42743
42887
|
var init_morphouserposition = __esm(() => {
|
|
42744
42888
|
init_esm();
|
|
42745
42889
|
init_primitives();
|
|
@@ -42753,15 +42897,9 @@ var init_morphouserposition = __esm(() => {
|
|
|
42753
42897
|
MorphoUserPositionChain$.inboundSchema = MorphoUserPositionChain$inboundSchema;
|
|
42754
42898
|
MorphoUserPositionChain$.outboundSchema = MorphoUserPositionChain$outboundSchema;
|
|
42755
42899
|
})(MorphoUserPositionChain$ ||= {});
|
|
42756
|
-
MorphoUserPositionBlock$inboundSchema = unionType([numberType().int(), stringType()]);
|
|
42757
|
-
MorphoUserPositionBlock$outboundSchema = unionType([numberType().int(), stringType()]);
|
|
42758
|
-
((MorphoUserPositionBlock$) => {
|
|
42759
|
-
MorphoUserPositionBlock$.inboundSchema = MorphoUserPositionBlock$inboundSchema;
|
|
42760
|
-
MorphoUserPositionBlock$.outboundSchema = MorphoUserPositionBlock$outboundSchema;
|
|
42761
|
-
})(MorphoUserPositionBlock$ ||= {});
|
|
42762
42900
|
MorphoUserPositionRequest$inboundSchema = objectType({
|
|
42763
42901
|
chain: MorphoUserPositionChain$inboundSchema.default("ethereum:mainnet"),
|
|
42764
|
-
block:
|
|
42902
|
+
block: nullableType(numberType().int()).optional(),
|
|
42765
42903
|
user_address: stringType().default("0xa829B388A3DF7f581cE957a95edbe419dd146d1B")
|
|
42766
42904
|
}).transform((v2) => {
|
|
42767
42905
|
return remap(v2, {
|
|
@@ -42770,7 +42908,7 @@ var init_morphouserposition = __esm(() => {
|
|
|
42770
42908
|
});
|
|
42771
42909
|
MorphoUserPositionRequest$outboundSchema = objectType({
|
|
42772
42910
|
chain: MorphoUserPositionChain$outboundSchema.default("ethereum:mainnet"),
|
|
42773
|
-
block:
|
|
42911
|
+
block: nullableType(numberType().int()).optional(),
|
|
42774
42912
|
userAddress: stringType().default("0xa829B388A3DF7f581cE957a95edbe419dd146d1B")
|
|
42775
42913
|
}).transform((v2) => {
|
|
42776
42914
|
return remap(v2, {
|
|
@@ -42784,7 +42922,7 @@ var init_morphouserposition = __esm(() => {
|
|
|
42784
42922
|
});
|
|
42785
42923
|
|
|
42786
42924
|
// src/models/operations/morphovault.ts
|
|
42787
|
-
var MorphoVaultChain, MorphoVaultChain$inboundSchema, MorphoVaultChain$outboundSchema, MorphoVaultChain$,
|
|
42925
|
+
var MorphoVaultChain, MorphoVaultChain$inboundSchema, MorphoVaultChain$outboundSchema, MorphoVaultChain$, MorphoVaultRequest$inboundSchema, MorphoVaultRequest$outboundSchema, MorphoVaultRequest$;
|
|
42788
42926
|
var init_morphovault2 = __esm(() => {
|
|
42789
42927
|
init_esm();
|
|
42790
42928
|
init_primitives();
|
|
@@ -42798,15 +42936,9 @@ var init_morphovault2 = __esm(() => {
|
|
|
42798
42936
|
MorphoVaultChain$.inboundSchema = MorphoVaultChain$inboundSchema;
|
|
42799
42937
|
MorphoVaultChain$.outboundSchema = MorphoVaultChain$outboundSchema;
|
|
42800
42938
|
})(MorphoVaultChain$ ||= {});
|
|
42801
|
-
MorphoVaultBlock$inboundSchema = unionType([numberType().int(), stringType()]);
|
|
42802
|
-
MorphoVaultBlock$outboundSchema = unionType([numberType().int(), stringType()]);
|
|
42803
|
-
((MorphoVaultBlock$) => {
|
|
42804
|
-
MorphoVaultBlock$.inboundSchema = MorphoVaultBlock$inboundSchema;
|
|
42805
|
-
MorphoVaultBlock$.outboundSchema = MorphoVaultBlock$outboundSchema;
|
|
42806
|
-
})(MorphoVaultBlock$ ||= {});
|
|
42807
42939
|
MorphoVaultRequest$inboundSchema = objectType({
|
|
42808
42940
|
chain: MorphoVaultChain$inboundSchema.default("ethereum:mainnet"),
|
|
42809
|
-
block:
|
|
42941
|
+
block: nullableType(numberType().int()).optional(),
|
|
42810
42942
|
vault_address: stringType().default("0xbEef047a543E45807105E51A8BBEFCc5950fcfBa")
|
|
42811
42943
|
}).transform((v2) => {
|
|
42812
42944
|
return remap(v2, {
|
|
@@ -42815,7 +42947,7 @@ var init_morphovault2 = __esm(() => {
|
|
|
42815
42947
|
});
|
|
42816
42948
|
MorphoVaultRequest$outboundSchema = objectType({
|
|
42817
42949
|
chain: MorphoVaultChain$outboundSchema.default("ethereum:mainnet"),
|
|
42818
|
-
block:
|
|
42950
|
+
block: nullableType(numberType().int()).optional(),
|
|
42819
42951
|
vaultAddress: stringType().default("0xbEef047a543E45807105E51A8BBEFCc5950fcfBa")
|
|
42820
42952
|
}).transform((v2) => {
|
|
42821
42953
|
return remap(v2, {
|
|
@@ -42829,7 +42961,7 @@ var init_morphovault2 = __esm(() => {
|
|
|
42829
42961
|
});
|
|
42830
42962
|
|
|
42831
42963
|
// src/models/operations/morphovaultposition.ts
|
|
42832
|
-
var MorphoVaultPositionChain, MorphoVaultPositionChain$inboundSchema, MorphoVaultPositionChain$outboundSchema, MorphoVaultPositionChain$,
|
|
42964
|
+
var MorphoVaultPositionChain, MorphoVaultPositionChain$inboundSchema, MorphoVaultPositionChain$outboundSchema, MorphoVaultPositionChain$, MorphoVaultPositionRequest$inboundSchema, MorphoVaultPositionRequest$outboundSchema, MorphoVaultPositionRequest$;
|
|
42833
42965
|
var init_morphovaultposition = __esm(() => {
|
|
42834
42966
|
init_esm();
|
|
42835
42967
|
init_primitives();
|
|
@@ -42843,15 +42975,9 @@ var init_morphovaultposition = __esm(() => {
|
|
|
42843
42975
|
MorphoVaultPositionChain$.inboundSchema = MorphoVaultPositionChain$inboundSchema;
|
|
42844
42976
|
MorphoVaultPositionChain$.outboundSchema = MorphoVaultPositionChain$outboundSchema;
|
|
42845
42977
|
})(MorphoVaultPositionChain$ ||= {});
|
|
42846
|
-
MorphoVaultPositionBlock$inboundSchema = unionType([numberType().int(), stringType()]);
|
|
42847
|
-
MorphoVaultPositionBlock$outboundSchema = unionType([numberType().int(), stringType()]);
|
|
42848
|
-
((MorphoVaultPositionBlock$) => {
|
|
42849
|
-
MorphoVaultPositionBlock$.inboundSchema = MorphoVaultPositionBlock$inboundSchema;
|
|
42850
|
-
MorphoVaultPositionBlock$.outboundSchema = MorphoVaultPositionBlock$outboundSchema;
|
|
42851
|
-
})(MorphoVaultPositionBlock$ ||= {});
|
|
42852
42978
|
MorphoVaultPositionRequest$inboundSchema = objectType({
|
|
42853
42979
|
chain: MorphoVaultPositionChain$inboundSchema.default("ethereum:mainnet"),
|
|
42854
|
-
block:
|
|
42980
|
+
block: nullableType(numberType().int()).optional(),
|
|
42855
42981
|
user_address: stringType().default("0xa829B388A3DF7f581cE957a95edbe419dd146d1B"),
|
|
42856
42982
|
vault_address: stringType().default("0xbEef047a543E45807105E51A8BBEFCc5950fcfBa")
|
|
42857
42983
|
}).transform((v2) => {
|
|
@@ -42862,7 +42988,7 @@ var init_morphovaultposition = __esm(() => {
|
|
|
42862
42988
|
});
|
|
42863
42989
|
MorphoVaultPositionRequest$outboundSchema = objectType({
|
|
42864
42990
|
chain: MorphoVaultPositionChain$outboundSchema.default("ethereum:mainnet"),
|
|
42865
|
-
block:
|
|
42991
|
+
block: nullableType(numberType().int()).optional(),
|
|
42866
42992
|
userAddress: stringType().default("0xa829B388A3DF7f581cE957a95edbe419dd146d1B"),
|
|
42867
42993
|
vaultAddress: stringType().default("0xbEef047a543E45807105E51A8BBEFCc5950fcfBa")
|
|
42868
42994
|
}).transform((v2) => {
|
|
@@ -42878,7 +43004,7 @@ var init_morphovaultposition = __esm(() => {
|
|
|
42878
43004
|
});
|
|
42879
43005
|
|
|
42880
43006
|
// src/models/operations/morphovaults.ts
|
|
42881
|
-
var MorphoVaultsChain, MorphoVaultsChain$inboundSchema, MorphoVaultsChain$outboundSchema, MorphoVaultsChain$,
|
|
43007
|
+
var MorphoVaultsChain, MorphoVaultsChain$inboundSchema, MorphoVaultsChain$outboundSchema, MorphoVaultsChain$, MorphoVaultsRequest$inboundSchema, MorphoVaultsRequest$outboundSchema, MorphoVaultsRequest$;
|
|
42882
43008
|
var init_morphovaults = __esm(() => {
|
|
42883
43009
|
init_esm();
|
|
42884
43010
|
init_primitives();
|
|
@@ -42892,15 +43018,9 @@ var init_morphovaults = __esm(() => {
|
|
|
42892
43018
|
MorphoVaultsChain$.inboundSchema = MorphoVaultsChain$inboundSchema;
|
|
42893
43019
|
MorphoVaultsChain$.outboundSchema = MorphoVaultsChain$outboundSchema;
|
|
42894
43020
|
})(MorphoVaultsChain$ ||= {});
|
|
42895
|
-
MorphoVaultsBlock$inboundSchema = unionType([numberType().int(), stringType()]);
|
|
42896
|
-
MorphoVaultsBlock$outboundSchema = unionType([numberType().int(), stringType()]);
|
|
42897
|
-
((MorphoVaultsBlock$) => {
|
|
42898
|
-
MorphoVaultsBlock$.inboundSchema = MorphoVaultsBlock$inboundSchema;
|
|
42899
|
-
MorphoVaultsBlock$.outboundSchema = MorphoVaultsBlock$outboundSchema;
|
|
42900
|
-
})(MorphoVaultsBlock$ ||= {});
|
|
42901
43021
|
MorphoVaultsRequest$inboundSchema = objectType({
|
|
42902
43022
|
chain: MorphoVaultsChain$inboundSchema.default("ethereum:mainnet"),
|
|
42903
|
-
block:
|
|
43023
|
+
block: nullableType(numberType().int()).optional(),
|
|
42904
43024
|
deposit_token: nullableType(stringType()).optional()
|
|
42905
43025
|
}).transform((v2) => {
|
|
42906
43026
|
return remap(v2, {
|
|
@@ -42909,7 +43029,7 @@ var init_morphovaults = __esm(() => {
|
|
|
42909
43029
|
});
|
|
42910
43030
|
MorphoVaultsRequest$outboundSchema = objectType({
|
|
42911
43031
|
chain: MorphoVaultsChain$outboundSchema.default("ethereum:mainnet"),
|
|
42912
|
-
block:
|
|
43032
|
+
block: nullableType(numberType().int()).optional(),
|
|
42913
43033
|
depositToken: nullableType(stringType()).optional()
|
|
42914
43034
|
}).transform((v2) => {
|
|
42915
43035
|
return remap(v2, {
|
|
@@ -42923,8 +43043,8 @@ var init_morphovaults = __esm(() => {
|
|
|
42923
43043
|
});
|
|
42924
43044
|
|
|
42925
43045
|
// src/models/operations/pendlemarket.ts
|
|
42926
|
-
var PendleMarketChain, PendleMarketChain$inboundSchema, PendleMarketChain$outboundSchema, PendleMarketChain$,
|
|
42927
|
-
var
|
|
43046
|
+
var PendleMarketChain, PendleMarketChain$inboundSchema, PendleMarketChain$outboundSchema, PendleMarketChain$, PendleMarketRequest$inboundSchema, PendleMarketRequest$outboundSchema, PendleMarketRequest$;
|
|
43047
|
+
var init_pendlemarket2 = __esm(() => {
|
|
42928
43048
|
init_esm();
|
|
42929
43049
|
init_primitives();
|
|
42930
43050
|
PendleMarketChain = {
|
|
@@ -42938,17 +43058,11 @@ var init_pendlemarket = __esm(() => {
|
|
|
42938
43058
|
PendleMarketChain$.inboundSchema = PendleMarketChain$inboundSchema;
|
|
42939
43059
|
PendleMarketChain$.outboundSchema = PendleMarketChain$outboundSchema;
|
|
42940
43060
|
})(PendleMarketChain$ ||= {});
|
|
42941
|
-
PendleMarketBlock$inboundSchema = unionType([numberType().int(), stringType()]);
|
|
42942
|
-
PendleMarketBlock$outboundSchema = unionType([numberType().int(), stringType()]);
|
|
42943
|
-
((PendleMarketBlock$) => {
|
|
42944
|
-
PendleMarketBlock$.inboundSchema = PendleMarketBlock$inboundSchema;
|
|
42945
|
-
PendleMarketBlock$.outboundSchema = PendleMarketBlock$outboundSchema;
|
|
42946
|
-
})(PendleMarketBlock$ ||= {});
|
|
42947
43061
|
PendleMarketRequest$inboundSchema = objectType({
|
|
42948
43062
|
chain: PendleMarketChain$inboundSchema.default("ethereum:mainnet"),
|
|
42949
|
-
block:
|
|
43063
|
+
block: nullableType(numberType().int()).optional(),
|
|
42950
43064
|
user_address: stringType().default("0xa829B388A3DF7f581cE957a95edbe419dd146d1B"),
|
|
42951
|
-
market_address: stringType().default("
|
|
43065
|
+
market_address: stringType().default("0xc374f7ec85f8c7de3207a10bb1978ba104bda3b2")
|
|
42952
43066
|
}).transform((v2) => {
|
|
42953
43067
|
return remap(v2, {
|
|
42954
43068
|
user_address: "userAddress",
|
|
@@ -42957,9 +43071,9 @@ var init_pendlemarket = __esm(() => {
|
|
|
42957
43071
|
});
|
|
42958
43072
|
PendleMarketRequest$outboundSchema = objectType({
|
|
42959
43073
|
chain: PendleMarketChain$outboundSchema.default("ethereum:mainnet"),
|
|
42960
|
-
block:
|
|
43074
|
+
block: nullableType(numberType().int()).optional(),
|
|
42961
43075
|
userAddress: stringType().default("0xa829B388A3DF7f581cE957a95edbe419dd146d1B"),
|
|
42962
|
-
marketAddress: stringType().default("
|
|
43076
|
+
marketAddress: stringType().default("0xc374f7ec85f8c7de3207a10bb1978ba104bda3b2")
|
|
42963
43077
|
}).transform((v2) => {
|
|
42964
43078
|
return remap(v2, {
|
|
42965
43079
|
userAddress: "user_address",
|
|
@@ -42972,8 +43086,37 @@ var init_pendlemarket = __esm(() => {
|
|
|
42972
43086
|
})(PendleMarketRequest$ ||= {});
|
|
42973
43087
|
});
|
|
42974
43088
|
|
|
43089
|
+
// src/models/operations/pendlemarkets.ts
|
|
43090
|
+
var PendleMarketsChain, PendleMarketsChain$inboundSchema, PendleMarketsChain$outboundSchema, PendleMarketsChain$, PendleMarketsRequest$inboundSchema, PendleMarketsRequest$outboundSchema, PendleMarketsRequest$;
|
|
43091
|
+
var init_pendlemarkets = __esm(() => {
|
|
43092
|
+
init_esm();
|
|
43093
|
+
PendleMarketsChain = {
|
|
43094
|
+
BaseMainnet: "base:mainnet",
|
|
43095
|
+
EthereumMainnet: "ethereum:mainnet",
|
|
43096
|
+
ArbitrumMainnet: "arbitrum:mainnet"
|
|
43097
|
+
};
|
|
43098
|
+
PendleMarketsChain$inboundSchema = nativeEnumType(PendleMarketsChain);
|
|
43099
|
+
PendleMarketsChain$outboundSchema = PendleMarketsChain$inboundSchema;
|
|
43100
|
+
((PendleMarketsChain$) => {
|
|
43101
|
+
PendleMarketsChain$.inboundSchema = PendleMarketsChain$inboundSchema;
|
|
43102
|
+
PendleMarketsChain$.outboundSchema = PendleMarketsChain$outboundSchema;
|
|
43103
|
+
})(PendleMarketsChain$ ||= {});
|
|
43104
|
+
PendleMarketsRequest$inboundSchema = objectType({
|
|
43105
|
+
chain: PendleMarketsChain$inboundSchema.default("ethereum:mainnet"),
|
|
43106
|
+
block: nullableType(numberType().int()).optional()
|
|
43107
|
+
});
|
|
43108
|
+
PendleMarketsRequest$outboundSchema = objectType({
|
|
43109
|
+
chain: PendleMarketsChain$outboundSchema.default("ethereum:mainnet"),
|
|
43110
|
+
block: nullableType(numberType().int()).optional()
|
|
43111
|
+
});
|
|
43112
|
+
((PendleMarketsRequest$) => {
|
|
43113
|
+
PendleMarketsRequest$.inboundSchema = PendleMarketsRequest$inboundSchema;
|
|
43114
|
+
PendleMarketsRequest$.outboundSchema = PendleMarketsRequest$outboundSchema;
|
|
43115
|
+
})(PendleMarketsRequest$ ||= {});
|
|
43116
|
+
});
|
|
43117
|
+
|
|
42975
43118
|
// src/models/operations/pendleposition.ts
|
|
42976
|
-
var PendlePositionChain, PendlePositionChain$inboundSchema, PendlePositionChain$outboundSchema, PendlePositionChain$,
|
|
43119
|
+
var PendlePositionChain, PendlePositionChain$inboundSchema, PendlePositionChain$outboundSchema, PendlePositionChain$, PendlePositionRequest$inboundSchema, PendlePositionRequest$outboundSchema, PendlePositionRequest$;
|
|
42977
43120
|
var init_pendleposition = __esm(() => {
|
|
42978
43121
|
init_esm();
|
|
42979
43122
|
init_primitives();
|
|
@@ -42988,17 +43131,11 @@ var init_pendleposition = __esm(() => {
|
|
|
42988
43131
|
PendlePositionChain$.inboundSchema = PendlePositionChain$inboundSchema;
|
|
42989
43132
|
PendlePositionChain$.outboundSchema = PendlePositionChain$outboundSchema;
|
|
42990
43133
|
})(PendlePositionChain$ ||= {});
|
|
42991
|
-
PendlePositionBlock$inboundSchema = unionType([numberType().int(), stringType()]);
|
|
42992
|
-
PendlePositionBlock$outboundSchema = unionType([numberType().int(), stringType()]);
|
|
42993
|
-
((PendlePositionBlock$) => {
|
|
42994
|
-
PendlePositionBlock$.inboundSchema = PendlePositionBlock$inboundSchema;
|
|
42995
|
-
PendlePositionBlock$.outboundSchema = PendlePositionBlock$outboundSchema;
|
|
42996
|
-
})(PendlePositionBlock$ ||= {});
|
|
42997
43134
|
PendlePositionRequest$inboundSchema = objectType({
|
|
42998
43135
|
chain: PendlePositionChain$inboundSchema.default("ethereum:mainnet"),
|
|
42999
|
-
block:
|
|
43136
|
+
block: nullableType(numberType().int()).optional(),
|
|
43000
43137
|
user_address: stringType().default("0xa829B388A3DF7f581cE957a95edbe419dd146d1B"),
|
|
43001
|
-
market_address: stringType().default("
|
|
43138
|
+
market_address: stringType().default("0xc374f7ec85f8c7de3207a10bb1978ba104bda3b2")
|
|
43002
43139
|
}).transform((v2) => {
|
|
43003
43140
|
return remap(v2, {
|
|
43004
43141
|
user_address: "userAddress",
|
|
@@ -43007,9 +43144,9 @@ var init_pendleposition = __esm(() => {
|
|
|
43007
43144
|
});
|
|
43008
43145
|
PendlePositionRequest$outboundSchema = objectType({
|
|
43009
43146
|
chain: PendlePositionChain$outboundSchema.default("ethereum:mainnet"),
|
|
43010
|
-
block:
|
|
43147
|
+
block: nullableType(numberType().int()).optional(),
|
|
43011
43148
|
userAddress: stringType().default("0xa829B388A3DF7f581cE957a95edbe419dd146d1B"),
|
|
43012
|
-
marketAddress: stringType().default("
|
|
43149
|
+
marketAddress: stringType().default("0xc374f7ec85f8c7de3207a10bb1978ba104bda3b2")
|
|
43013
43150
|
}).transform((v2) => {
|
|
43014
43151
|
return remap(v2, {
|
|
43015
43152
|
userAddress: "user_address",
|
|
@@ -43022,20 +43159,54 @@ var init_pendleposition = __esm(() => {
|
|
|
43022
43159
|
})(PendlePositionRequest$ ||= {});
|
|
43023
43160
|
});
|
|
43024
43161
|
|
|
43162
|
+
// src/models/operations/pendlepositions.ts
|
|
43163
|
+
var PendlePositionsChain, PendlePositionsChain$inboundSchema, PendlePositionsChain$outboundSchema, PendlePositionsChain$, PendlePositionsRequest$inboundSchema, PendlePositionsRequest$outboundSchema, PendlePositionsRequest$;
|
|
43164
|
+
var init_pendlepositions = __esm(() => {
|
|
43165
|
+
init_esm();
|
|
43166
|
+
init_primitives();
|
|
43167
|
+
PendlePositionsChain = {
|
|
43168
|
+
BaseMainnet: "base:mainnet",
|
|
43169
|
+
EthereumMainnet: "ethereum:mainnet",
|
|
43170
|
+
ArbitrumMainnet: "arbitrum:mainnet"
|
|
43171
|
+
};
|
|
43172
|
+
PendlePositionsChain$inboundSchema = nativeEnumType(PendlePositionsChain);
|
|
43173
|
+
PendlePositionsChain$outboundSchema = PendlePositionsChain$inboundSchema;
|
|
43174
|
+
((PendlePositionsChain$) => {
|
|
43175
|
+
PendlePositionsChain$.inboundSchema = PendlePositionsChain$inboundSchema;
|
|
43176
|
+
PendlePositionsChain$.outboundSchema = PendlePositionsChain$outboundSchema;
|
|
43177
|
+
})(PendlePositionsChain$ ||= {});
|
|
43178
|
+
PendlePositionsRequest$inboundSchema = objectType({
|
|
43179
|
+
chain: PendlePositionsChain$inboundSchema.default("ethereum:mainnet"),
|
|
43180
|
+
block: nullableType(numberType().int()).optional(),
|
|
43181
|
+
user_address: stringType().default("0xa829B388A3DF7f581cE957a95edbe419dd146d1B")
|
|
43182
|
+
}).transform((v2) => {
|
|
43183
|
+
return remap(v2, {
|
|
43184
|
+
user_address: "userAddress"
|
|
43185
|
+
});
|
|
43186
|
+
});
|
|
43187
|
+
PendlePositionsRequest$outboundSchema = objectType({
|
|
43188
|
+
chain: PendlePositionsChain$outboundSchema.default("ethereum:mainnet"),
|
|
43189
|
+
block: nullableType(numberType().int()).optional(),
|
|
43190
|
+
userAddress: stringType().default("0xa829B388A3DF7f581cE957a95edbe419dd146d1B")
|
|
43191
|
+
}).transform((v2) => {
|
|
43192
|
+
return remap(v2, {
|
|
43193
|
+
userAddress: "user_address"
|
|
43194
|
+
});
|
|
43195
|
+
});
|
|
43196
|
+
((PendlePositionsRequest$) => {
|
|
43197
|
+
PendlePositionsRequest$.inboundSchema = PendlePositionsRequest$inboundSchema;
|
|
43198
|
+
PendlePositionsRequest$.outboundSchema = PendlePositionsRequest$outboundSchema;
|
|
43199
|
+
})(PendlePositionsRequest$ ||= {});
|
|
43200
|
+
});
|
|
43201
|
+
|
|
43025
43202
|
// src/models/operations/skyposition.ts
|
|
43026
|
-
var
|
|
43203
|
+
var SkyPositionRequest$inboundSchema, SkyPositionRequest$outboundSchema, SkyPositionRequest$;
|
|
43027
43204
|
var init_skyposition = __esm(() => {
|
|
43028
43205
|
init_esm();
|
|
43029
43206
|
init_primitives();
|
|
43030
|
-
SkyPositionBlock$inboundSchema = unionType([numberType().int(), stringType()]);
|
|
43031
|
-
SkyPositionBlock$outboundSchema = unionType([numberType().int(), stringType()]);
|
|
43032
|
-
((SkyPositionBlock$) => {
|
|
43033
|
-
SkyPositionBlock$.inboundSchema = SkyPositionBlock$inboundSchema;
|
|
43034
|
-
SkyPositionBlock$.outboundSchema = SkyPositionBlock$outboundSchema;
|
|
43035
|
-
})(SkyPositionBlock$ ||= {});
|
|
43036
43207
|
SkyPositionRequest$inboundSchema = objectType({
|
|
43037
43208
|
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
43038
|
-
block:
|
|
43209
|
+
block: nullableType(numberType().int()).optional(),
|
|
43039
43210
|
user_address: stringType().default("0xa829B388A3DF7f581cE957a95edbe419dd146d1B")
|
|
43040
43211
|
}).transform((v2) => {
|
|
43041
43212
|
return remap(v2, {
|
|
@@ -43044,7 +43215,7 @@ var init_skyposition = __esm(() => {
|
|
|
43044
43215
|
});
|
|
43045
43216
|
SkyPositionRequest$outboundSchema = objectType({
|
|
43046
43217
|
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
43047
|
-
block:
|
|
43218
|
+
block: nullableType(numberType().int()).optional(),
|
|
43048
43219
|
userAddress: stringType().default("0xa829B388A3DF7f581cE957a95edbe419dd146d1B")
|
|
43049
43220
|
}).transform((v2) => {
|
|
43050
43221
|
return remap(v2, {
|
|
@@ -43058,7 +43229,7 @@ var init_skyposition = __esm(() => {
|
|
|
43058
43229
|
});
|
|
43059
43230
|
|
|
43060
43231
|
// src/models/operations/tokenaddress.ts
|
|
43061
|
-
var TokenAddressChain, TokenAddressToken, TokenAddressChain$inboundSchema, TokenAddressChain$outboundSchema, TokenAddressChain$,
|
|
43232
|
+
var TokenAddressChain, TokenAddressToken, TokenAddressChain$inboundSchema, TokenAddressChain$outboundSchema, TokenAddressChain$, TokenAddressToken$inboundSchema, TokenAddressToken$outboundSchema, TokenAddressToken$, TokenAddressRequest$inboundSchema, TokenAddressRequest$outboundSchema, TokenAddressRequest$;
|
|
43062
43233
|
var init_tokenaddress = __esm(() => {
|
|
43063
43234
|
init_esm();
|
|
43064
43235
|
TokenAddressChain = {
|
|
@@ -43118,12 +43289,6 @@ var init_tokenaddress = __esm(() => {
|
|
|
43118
43289
|
TokenAddressChain$.inboundSchema = TokenAddressChain$inboundSchema;
|
|
43119
43290
|
TokenAddressChain$.outboundSchema = TokenAddressChain$outboundSchema;
|
|
43120
43291
|
})(TokenAddressChain$ ||= {});
|
|
43121
|
-
TokenAddressBlock$inboundSchema = unionType([numberType().int(), stringType()]);
|
|
43122
|
-
TokenAddressBlock$outboundSchema = unionType([numberType().int(), stringType()]);
|
|
43123
|
-
((TokenAddressBlock$) => {
|
|
43124
|
-
TokenAddressBlock$.inboundSchema = TokenAddressBlock$inboundSchema;
|
|
43125
|
-
TokenAddressBlock$.outboundSchema = TokenAddressBlock$outboundSchema;
|
|
43126
|
-
})(TokenAddressBlock$ ||= {});
|
|
43127
43292
|
TokenAddressToken$inboundSchema = nativeEnumType(TokenAddressToken);
|
|
43128
43293
|
TokenAddressToken$outboundSchema = TokenAddressToken$inboundSchema;
|
|
43129
43294
|
((TokenAddressToken$) => {
|
|
@@ -43132,12 +43297,12 @@ var init_tokenaddress = __esm(() => {
|
|
|
43132
43297
|
})(TokenAddressToken$ ||= {});
|
|
43133
43298
|
TokenAddressRequest$inboundSchema = objectType({
|
|
43134
43299
|
chain: TokenAddressChain$inboundSchema.default("arbitrum:mainnet"),
|
|
43135
|
-
block:
|
|
43300
|
+
block: nullableType(numberType().int()).optional(),
|
|
43136
43301
|
token: TokenAddressToken$inboundSchema.default("WETH")
|
|
43137
43302
|
});
|
|
43138
43303
|
TokenAddressRequest$outboundSchema = objectType({
|
|
43139
43304
|
chain: TokenAddressChain$outboundSchema.default("arbitrum:mainnet"),
|
|
43140
|
-
block:
|
|
43305
|
+
block: nullableType(numberType().int()).optional(),
|
|
43141
43306
|
token: TokenAddressToken$outboundSchema.default("WETH")
|
|
43142
43307
|
});
|
|
43143
43308
|
((TokenAddressRequest$) => {
|
|
@@ -43147,8 +43312,8 @@ var init_tokenaddress = __esm(() => {
|
|
|
43147
43312
|
});
|
|
43148
43313
|
|
|
43149
43314
|
// src/models/operations/tokenbalance.ts
|
|
43150
|
-
var TokenBalanceChain, TokenBalanceChain$inboundSchema, TokenBalanceChain$outboundSchema, TokenBalanceChain$,
|
|
43151
|
-
var
|
|
43315
|
+
var TokenBalanceChain, TokenBalanceChain$inboundSchema, TokenBalanceChain$outboundSchema, TokenBalanceChain$, TokenBalanceToken$inboundSchema, TokenBalanceToken$outboundSchema, TokenBalanceToken$, TokenBalanceRequest$inboundSchema, TokenBalanceRequest$outboundSchema, TokenBalanceRequest$;
|
|
43316
|
+
var init_tokenbalance = __esm(() => {
|
|
43152
43317
|
init_esm();
|
|
43153
43318
|
init_components();
|
|
43154
43319
|
TokenBalanceChain = {
|
|
@@ -43162,12 +43327,6 @@ var init_tokenbalance2 = __esm(() => {
|
|
|
43162
43327
|
TokenBalanceChain$.inboundSchema = TokenBalanceChain$inboundSchema;
|
|
43163
43328
|
TokenBalanceChain$.outboundSchema = TokenBalanceChain$outboundSchema;
|
|
43164
43329
|
})(TokenBalanceChain$ ||= {});
|
|
43165
|
-
TokenBalanceBlock$inboundSchema = unionType([numberType().int(), stringType()]);
|
|
43166
|
-
TokenBalanceBlock$outboundSchema = unionType([numberType().int(), stringType()]);
|
|
43167
|
-
((TokenBalanceBlock$) => {
|
|
43168
|
-
TokenBalanceBlock$.inboundSchema = TokenBalanceBlock$inboundSchema;
|
|
43169
|
-
TokenBalanceBlock$.outboundSchema = TokenBalanceBlock$outboundSchema;
|
|
43170
|
-
})(TokenBalanceBlock$ ||= {});
|
|
43171
43330
|
TokenBalanceToken$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
43172
43331
|
TokenBalanceToken$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
|
|
43173
43332
|
((TokenBalanceToken$) => {
|
|
@@ -43176,13 +43335,13 @@ var init_tokenbalance2 = __esm(() => {
|
|
|
43176
43335
|
})(TokenBalanceToken$ ||= {});
|
|
43177
43336
|
TokenBalanceRequest$inboundSchema = objectType({
|
|
43178
43337
|
chain: TokenBalanceChain$inboundSchema.default("arbitrum:mainnet"),
|
|
43179
|
-
block:
|
|
43338
|
+
block: nullableType(numberType().int()).optional(),
|
|
43180
43339
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B"),
|
|
43181
43340
|
token: unionType([TokenEnum$inboundSchema, stringType()])
|
|
43182
43341
|
});
|
|
43183
43342
|
TokenBalanceRequest$outboundSchema = objectType({
|
|
43184
43343
|
chain: TokenBalanceChain$outboundSchema.default("arbitrum:mainnet"),
|
|
43185
|
-
block:
|
|
43344
|
+
block: nullableType(numberType().int()).optional(),
|
|
43186
43345
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B"),
|
|
43187
43346
|
token: unionType([TokenEnum$outboundSchema, stringType()])
|
|
43188
43347
|
});
|
|
@@ -43274,7 +43433,7 @@ var init_tokenprice = __esm(() => {
|
|
|
43274
43433
|
});
|
|
43275
43434
|
|
|
43276
43435
|
// src/models/operations/uniswapliquidityprovisioninrange.ts
|
|
43277
|
-
var UniswapLiquidityProvisionInRangeChain, UniswapLiquidityProvisionInRangeChain$inboundSchema, UniswapLiquidityProvisionInRangeChain$outboundSchema, UniswapLiquidityProvisionInRangeChain$,
|
|
43436
|
+
var UniswapLiquidityProvisionInRangeChain, UniswapLiquidityProvisionInRangeChain$inboundSchema, UniswapLiquidityProvisionInRangeChain$outboundSchema, UniswapLiquidityProvisionInRangeChain$, UniswapLiquidityProvisionInRangeRequest$inboundSchema, UniswapLiquidityProvisionInRangeRequest$outboundSchema, UniswapLiquidityProvisionInRangeRequest$;
|
|
43278
43437
|
var init_uniswapliquidityprovisioninrange = __esm(() => {
|
|
43279
43438
|
init_esm();
|
|
43280
43439
|
init_primitives();
|
|
@@ -43289,15 +43448,9 @@ var init_uniswapliquidityprovisioninrange = __esm(() => {
|
|
|
43289
43448
|
UniswapLiquidityProvisionInRangeChain$.inboundSchema = UniswapLiquidityProvisionInRangeChain$inboundSchema;
|
|
43290
43449
|
UniswapLiquidityProvisionInRangeChain$.outboundSchema = UniswapLiquidityProvisionInRangeChain$outboundSchema;
|
|
43291
43450
|
})(UniswapLiquidityProvisionInRangeChain$ ||= {});
|
|
43292
|
-
UniswapLiquidityProvisionInRangeBlock$inboundSchema = unionType([numberType().int(), stringType()]);
|
|
43293
|
-
UniswapLiquidityProvisionInRangeBlock$outboundSchema = unionType([numberType().int(), stringType()]);
|
|
43294
|
-
((UniswapLiquidityProvisionInRangeBlock$) => {
|
|
43295
|
-
UniswapLiquidityProvisionInRangeBlock$.inboundSchema = UniswapLiquidityProvisionInRangeBlock$inboundSchema;
|
|
43296
|
-
UniswapLiquidityProvisionInRangeBlock$.outboundSchema = UniswapLiquidityProvisionInRangeBlock$outboundSchema;
|
|
43297
|
-
})(UniswapLiquidityProvisionInRangeBlock$ ||= {});
|
|
43298
43451
|
UniswapLiquidityProvisionInRangeRequest$inboundSchema = objectType({
|
|
43299
43452
|
chain: UniswapLiquidityProvisionInRangeChain$inboundSchema.default("arbitrum:mainnet"),
|
|
43300
|
-
block:
|
|
43453
|
+
block: nullableType(numberType().int()).optional(),
|
|
43301
43454
|
token_id: numberType().int().default(4318185)
|
|
43302
43455
|
}).transform((v2) => {
|
|
43303
43456
|
return remap(v2, {
|
|
@@ -43306,7 +43459,7 @@ var init_uniswapliquidityprovisioninrange = __esm(() => {
|
|
|
43306
43459
|
});
|
|
43307
43460
|
UniswapLiquidityProvisionInRangeRequest$outboundSchema = objectType({
|
|
43308
43461
|
chain: UniswapLiquidityProvisionInRangeChain$outboundSchema.default("arbitrum:mainnet"),
|
|
43309
|
-
block:
|
|
43462
|
+
block: nullableType(numberType().int()).optional(),
|
|
43310
43463
|
tokenId: numberType().int().default(4318185)
|
|
43311
43464
|
}).transform((v2) => {
|
|
43312
43465
|
return remap(v2, {
|
|
@@ -43320,7 +43473,7 @@ var init_uniswapliquidityprovisioninrange = __esm(() => {
|
|
|
43320
43473
|
});
|
|
43321
43474
|
|
|
43322
43475
|
// src/models/operations/uniswapliquidityprovisionpositions.ts
|
|
43323
|
-
var UniswapLiquidityProvisionPositionsChain, UniswapLiquidityProvisionPositionsChain$inboundSchema, UniswapLiquidityProvisionPositionsChain$outboundSchema, UniswapLiquidityProvisionPositionsChain$,
|
|
43476
|
+
var UniswapLiquidityProvisionPositionsChain, UniswapLiquidityProvisionPositionsChain$inboundSchema, UniswapLiquidityProvisionPositionsChain$outboundSchema, UniswapLiquidityProvisionPositionsChain$, UniswapLiquidityProvisionPositionsRequest$inboundSchema, UniswapLiquidityProvisionPositionsRequest$outboundSchema, UniswapLiquidityProvisionPositionsRequest$;
|
|
43324
43477
|
var init_uniswapliquidityprovisionpositions = __esm(() => {
|
|
43325
43478
|
init_esm();
|
|
43326
43479
|
UniswapLiquidityProvisionPositionsChain = {
|
|
@@ -43334,20 +43487,14 @@ var init_uniswapliquidityprovisionpositions = __esm(() => {
|
|
|
43334
43487
|
UniswapLiquidityProvisionPositionsChain$.inboundSchema = UniswapLiquidityProvisionPositionsChain$inboundSchema;
|
|
43335
43488
|
UniswapLiquidityProvisionPositionsChain$.outboundSchema = UniswapLiquidityProvisionPositionsChain$outboundSchema;
|
|
43336
43489
|
})(UniswapLiquidityProvisionPositionsChain$ ||= {});
|
|
43337
|
-
UniswapLiquidityProvisionPositionsBlock$inboundSchema = unionType([numberType().int(), stringType()]);
|
|
43338
|
-
UniswapLiquidityProvisionPositionsBlock$outboundSchema = unionType([numberType().int(), stringType()]);
|
|
43339
|
-
((UniswapLiquidityProvisionPositionsBlock$) => {
|
|
43340
|
-
UniswapLiquidityProvisionPositionsBlock$.inboundSchema = UniswapLiquidityProvisionPositionsBlock$inboundSchema;
|
|
43341
|
-
UniswapLiquidityProvisionPositionsBlock$.outboundSchema = UniswapLiquidityProvisionPositionsBlock$outboundSchema;
|
|
43342
|
-
})(UniswapLiquidityProvisionPositionsBlock$ ||= {});
|
|
43343
43490
|
UniswapLiquidityProvisionPositionsRequest$inboundSchema = objectType({
|
|
43344
43491
|
chain: UniswapLiquidityProvisionPositionsChain$inboundSchema.default("arbitrum:mainnet"),
|
|
43345
|
-
block:
|
|
43492
|
+
block: nullableType(numberType().int()).optional(),
|
|
43346
43493
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B")
|
|
43347
43494
|
});
|
|
43348
43495
|
UniswapLiquidityProvisionPositionsRequest$outboundSchema = objectType({
|
|
43349
43496
|
chain: UniswapLiquidityProvisionPositionsChain$outboundSchema.default("arbitrum:mainnet"),
|
|
43350
|
-
block:
|
|
43497
|
+
block: nullableType(numberType().int()).optional(),
|
|
43351
43498
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B")
|
|
43352
43499
|
});
|
|
43353
43500
|
((UniswapLiquidityProvisionPositionsRequest$) => {
|
|
@@ -43357,7 +43504,7 @@ var init_uniswapliquidityprovisionpositions = __esm(() => {
|
|
|
43357
43504
|
});
|
|
43358
43505
|
|
|
43359
43506
|
// src/models/operations/uniswappoolprice.ts
|
|
43360
|
-
var UniswapPoolPriceChain, UniswapPoolPriceTokenInToken, UniswapPoolPriceTokenOutToken, UniswapPoolPriceFeeEnum, UniswapPoolPriceChain$inboundSchema, UniswapPoolPriceChain$outboundSchema, UniswapPoolPriceChain$,
|
|
43507
|
+
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$;
|
|
43361
43508
|
var init_uniswappoolprice = __esm(() => {
|
|
43362
43509
|
init_esm();
|
|
43363
43510
|
init_primitives();
|
|
@@ -43470,12 +43617,6 @@ var init_uniswappoolprice = __esm(() => {
|
|
|
43470
43617
|
UniswapPoolPriceChain$.inboundSchema = UniswapPoolPriceChain$inboundSchema;
|
|
43471
43618
|
UniswapPoolPriceChain$.outboundSchema = UniswapPoolPriceChain$outboundSchema;
|
|
43472
43619
|
})(UniswapPoolPriceChain$ ||= {});
|
|
43473
|
-
UniswapPoolPriceBlock$inboundSchema = unionType([numberType().int(), stringType()]);
|
|
43474
|
-
UniswapPoolPriceBlock$outboundSchema = unionType([numberType().int(), stringType()]);
|
|
43475
|
-
((UniswapPoolPriceBlock$) => {
|
|
43476
|
-
UniswapPoolPriceBlock$.inboundSchema = UniswapPoolPriceBlock$inboundSchema;
|
|
43477
|
-
UniswapPoolPriceBlock$.outboundSchema = UniswapPoolPriceBlock$outboundSchema;
|
|
43478
|
-
})(UniswapPoolPriceBlock$ ||= {});
|
|
43479
43620
|
UniswapPoolPriceTokenInToken$inboundSchema = nativeEnumType(UniswapPoolPriceTokenInToken);
|
|
43480
43621
|
UniswapPoolPriceTokenInToken$outboundSchema = UniswapPoolPriceTokenInToken$inboundSchema;
|
|
43481
43622
|
((UniswapPoolPriceTokenInToken$) => {
|
|
@@ -43496,7 +43637,7 @@ var init_uniswappoolprice = __esm(() => {
|
|
|
43496
43637
|
})(UniswapPoolPriceFeeEnum$ ||= {});
|
|
43497
43638
|
UniswapPoolPriceRequest$inboundSchema = objectType({
|
|
43498
43639
|
chain: UniswapPoolPriceChain$inboundSchema.default("arbitrum:mainnet"),
|
|
43499
|
-
block:
|
|
43640
|
+
block: nullableType(numberType().int()).optional(),
|
|
43500
43641
|
token_in: UniswapPoolPriceTokenInToken$inboundSchema.default("USDC"),
|
|
43501
43642
|
token_out: UniswapPoolPriceTokenOutToken$inboundSchema.default("USDT"),
|
|
43502
43643
|
fee: UniswapPoolPriceFeeEnum$inboundSchema.default("0.01")
|
|
@@ -43508,7 +43649,7 @@ var init_uniswappoolprice = __esm(() => {
|
|
|
43508
43649
|
});
|
|
43509
43650
|
UniswapPoolPriceRequest$outboundSchema = objectType({
|
|
43510
43651
|
chain: UniswapPoolPriceChain$outboundSchema.default("arbitrum:mainnet"),
|
|
43511
|
-
block:
|
|
43652
|
+
block: nullableType(numberType().int()).optional(),
|
|
43512
43653
|
tokenIn: UniswapPoolPriceTokenInToken$outboundSchema.default("USDC"),
|
|
43513
43654
|
tokenOut: UniswapPoolPriceTokenOutToken$outboundSchema.default("USDT"),
|
|
43514
43655
|
fee: UniswapPoolPriceFeeEnum$outboundSchema.default("0.01")
|
|
@@ -43525,7 +43666,7 @@ var init_uniswappoolprice = __esm(() => {
|
|
|
43525
43666
|
});
|
|
43526
43667
|
|
|
43527
43668
|
// src/models/operations/uniswapquotebuyexactly.ts
|
|
43528
|
-
var UniswapQuoteBuyExactlyChain, UniswapQuoteBuyExactlyTokenInToken, UniswapQuoteBuyExactlyTokenOutToken, UniswapQuoteBuyExactlyFeeEnum, UniswapQuoteBuyExactlyChain$inboundSchema, UniswapQuoteBuyExactlyChain$outboundSchema, UniswapQuoteBuyExactlyChain$,
|
|
43669
|
+
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$;
|
|
43529
43670
|
var init_uniswapquotebuyexactly = __esm(() => {
|
|
43530
43671
|
init_esm();
|
|
43531
43672
|
init_primitives();
|
|
@@ -43638,12 +43779,6 @@ var init_uniswapquotebuyexactly = __esm(() => {
|
|
|
43638
43779
|
UniswapQuoteBuyExactlyChain$.inboundSchema = UniswapQuoteBuyExactlyChain$inboundSchema;
|
|
43639
43780
|
UniswapQuoteBuyExactlyChain$.outboundSchema = UniswapQuoteBuyExactlyChain$outboundSchema;
|
|
43640
43781
|
})(UniswapQuoteBuyExactlyChain$ ||= {});
|
|
43641
|
-
UniswapQuoteBuyExactlyBlock$inboundSchema = unionType([numberType().int(), stringType()]);
|
|
43642
|
-
UniswapQuoteBuyExactlyBlock$outboundSchema = unionType([numberType().int(), stringType()]);
|
|
43643
|
-
((UniswapQuoteBuyExactlyBlock$) => {
|
|
43644
|
-
UniswapQuoteBuyExactlyBlock$.inboundSchema = UniswapQuoteBuyExactlyBlock$inboundSchema;
|
|
43645
|
-
UniswapQuoteBuyExactlyBlock$.outboundSchema = UniswapQuoteBuyExactlyBlock$outboundSchema;
|
|
43646
|
-
})(UniswapQuoteBuyExactlyBlock$ ||= {});
|
|
43647
43782
|
UniswapQuoteBuyExactlyTokenInToken$inboundSchema = nativeEnumType(UniswapQuoteBuyExactlyTokenInToken);
|
|
43648
43783
|
UniswapQuoteBuyExactlyTokenInToken$outboundSchema = UniswapQuoteBuyExactlyTokenInToken$inboundSchema;
|
|
43649
43784
|
((UniswapQuoteBuyExactlyTokenInToken$) => {
|
|
@@ -43670,7 +43805,7 @@ var init_uniswapquotebuyexactly = __esm(() => {
|
|
|
43670
43805
|
})(AmountOut$ ||= {});
|
|
43671
43806
|
UniswapQuoteBuyExactlyRequest$inboundSchema = objectType({
|
|
43672
43807
|
chain: UniswapQuoteBuyExactlyChain$inboundSchema.default("arbitrum:mainnet"),
|
|
43673
|
-
block:
|
|
43808
|
+
block: nullableType(numberType().int()).optional(),
|
|
43674
43809
|
token_in: UniswapQuoteBuyExactlyTokenInToken$inboundSchema.default("USDC"),
|
|
43675
43810
|
token_out: UniswapQuoteBuyExactlyTokenOutToken$inboundSchema.default("USDT"),
|
|
43676
43811
|
fee: UniswapQuoteBuyExactlyFeeEnum$inboundSchema.default("0.01"),
|
|
@@ -43684,7 +43819,7 @@ var init_uniswapquotebuyexactly = __esm(() => {
|
|
|
43684
43819
|
});
|
|
43685
43820
|
UniswapQuoteBuyExactlyRequest$outboundSchema = objectType({
|
|
43686
43821
|
chain: UniswapQuoteBuyExactlyChain$outboundSchema.default("arbitrum:mainnet"),
|
|
43687
|
-
block:
|
|
43822
|
+
block: nullableType(numberType().int()).optional(),
|
|
43688
43823
|
tokenIn: UniswapQuoteBuyExactlyTokenInToken$outboundSchema.default("USDC"),
|
|
43689
43824
|
tokenOut: UniswapQuoteBuyExactlyTokenOutToken$outboundSchema.default("USDT"),
|
|
43690
43825
|
fee: UniswapQuoteBuyExactlyFeeEnum$outboundSchema.default("0.01"),
|
|
@@ -43703,7 +43838,7 @@ var init_uniswapquotebuyexactly = __esm(() => {
|
|
|
43703
43838
|
});
|
|
43704
43839
|
|
|
43705
43840
|
// src/models/operations/uniswapquotesellexactly.ts
|
|
43706
|
-
var UniswapQuoteSellExactlyChain, UniswapQuoteSellExactlyTokenInToken, UniswapQuoteSellExactlyTokenOutToken, UniswapQuoteSellExactlyFeeEnum, UniswapQuoteSellExactlyChain$inboundSchema, UniswapQuoteSellExactlyChain$outboundSchema, UniswapQuoteSellExactlyChain$,
|
|
43841
|
+
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$;
|
|
43707
43842
|
var init_uniswapquotesellexactly = __esm(() => {
|
|
43708
43843
|
init_esm();
|
|
43709
43844
|
init_primitives();
|
|
@@ -43816,12 +43951,6 @@ var init_uniswapquotesellexactly = __esm(() => {
|
|
|
43816
43951
|
UniswapQuoteSellExactlyChain$.inboundSchema = UniswapQuoteSellExactlyChain$inboundSchema;
|
|
43817
43952
|
UniswapQuoteSellExactlyChain$.outboundSchema = UniswapQuoteSellExactlyChain$outboundSchema;
|
|
43818
43953
|
})(UniswapQuoteSellExactlyChain$ ||= {});
|
|
43819
|
-
UniswapQuoteSellExactlyBlock$inboundSchema = unionType([numberType().int(), stringType()]);
|
|
43820
|
-
UniswapQuoteSellExactlyBlock$outboundSchema = unionType([numberType().int(), stringType()]);
|
|
43821
|
-
((UniswapQuoteSellExactlyBlock$) => {
|
|
43822
|
-
UniswapQuoteSellExactlyBlock$.inboundSchema = UniswapQuoteSellExactlyBlock$inboundSchema;
|
|
43823
|
-
UniswapQuoteSellExactlyBlock$.outboundSchema = UniswapQuoteSellExactlyBlock$outboundSchema;
|
|
43824
|
-
})(UniswapQuoteSellExactlyBlock$ ||= {});
|
|
43825
43954
|
UniswapQuoteSellExactlyTokenInToken$inboundSchema = nativeEnumType(UniswapQuoteSellExactlyTokenInToken);
|
|
43826
43955
|
UniswapQuoteSellExactlyTokenInToken$outboundSchema = UniswapQuoteSellExactlyTokenInToken$inboundSchema;
|
|
43827
43956
|
((UniswapQuoteSellExactlyTokenInToken$) => {
|
|
@@ -43848,7 +43977,7 @@ var init_uniswapquotesellexactly = __esm(() => {
|
|
|
43848
43977
|
})(AmountIn$ ||= {});
|
|
43849
43978
|
UniswapQuoteSellExactlyRequest$inboundSchema = objectType({
|
|
43850
43979
|
chain: UniswapQuoteSellExactlyChain$inboundSchema.default("arbitrum:mainnet"),
|
|
43851
|
-
block:
|
|
43980
|
+
block: nullableType(numberType().int()).optional(),
|
|
43852
43981
|
token_in: UniswapQuoteSellExactlyTokenInToken$inboundSchema.default("USDC"),
|
|
43853
43982
|
token_out: UniswapQuoteSellExactlyTokenOutToken$inboundSchema.default("USDT"),
|
|
43854
43983
|
fee: UniswapQuoteSellExactlyFeeEnum$inboundSchema.default("0.01"),
|
|
@@ -43862,7 +43991,7 @@ var init_uniswapquotesellexactly = __esm(() => {
|
|
|
43862
43991
|
});
|
|
43863
43992
|
UniswapQuoteSellExactlyRequest$outboundSchema = objectType({
|
|
43864
43993
|
chain: UniswapQuoteSellExactlyChain$outboundSchema.default("arbitrum:mainnet"),
|
|
43865
|
-
block:
|
|
43994
|
+
block: nullableType(numberType().int()).optional(),
|
|
43866
43995
|
tokenIn: UniswapQuoteSellExactlyTokenInToken$outboundSchema.default("USDC"),
|
|
43867
43996
|
tokenOut: UniswapQuoteSellExactlyTokenOutToken$outboundSchema.default("USDT"),
|
|
43868
43997
|
fee: UniswapQuoteSellExactlyFeeEnum$outboundSchema.default("0.01"),
|
|
@@ -43905,11 +44034,13 @@ var init_operations = __esm(() => {
|
|
|
43905
44034
|
init_morphovault2();
|
|
43906
44035
|
init_morphovaultposition();
|
|
43907
44036
|
init_morphovaults();
|
|
43908
|
-
|
|
44037
|
+
init_pendlemarket2();
|
|
44038
|
+
init_pendlemarkets();
|
|
43909
44039
|
init_pendleposition();
|
|
44040
|
+
init_pendlepositions();
|
|
43910
44041
|
init_skyposition();
|
|
43911
44042
|
init_tokenaddress();
|
|
43912
|
-
|
|
44043
|
+
init_tokenbalance();
|
|
43913
44044
|
init_tokenprice();
|
|
43914
44045
|
init_uniswapliquidityprovisioninrange();
|
|
43915
44046
|
init_uniswapliquidityprovisionpositions();
|
|
@@ -44478,7 +44609,7 @@ var init_aaveV3Rate2 = __esm(() => {
|
|
|
44478
44609
|
};
|
|
44479
44610
|
tool$aaveV3Rate = {
|
|
44480
44611
|
name: "aave-v3-rate",
|
|
44481
|
-
description: `Interest Rates
|
|
44612
|
+
description: `Interest Rates
|
|
44482
44613
|
|
|
44483
44614
|
Returns the latest APY and APR rates for a specified token on Aave, for both
|
|
44484
44615
|
deposits and loans.
|
|
@@ -47821,23 +47952,21 @@ Get the market's implied APY, maturity date and the associated token data.`,
|
|
|
47821
47952
|
};
|
|
47822
47953
|
});
|
|
47823
47954
|
|
|
47824
|
-
// src/funcs/
|
|
47825
|
-
function
|
|
47955
|
+
// src/funcs/pendleMarkets.ts
|
|
47956
|
+
function pendleMarkets(client, request, options) {
|
|
47826
47957
|
return new APIPromise($do36(client, request, options));
|
|
47827
47958
|
}
|
|
47828
47959
|
async function $do36(client, request, options) {
|
|
47829
|
-
const parsed = safeParse(request, (value) =>
|
|
47960
|
+
const parsed = safeParse(request, (value) => PendleMarketsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
47830
47961
|
if (!parsed.ok) {
|
|
47831
47962
|
return [parsed, { status: "invalid" }];
|
|
47832
47963
|
}
|
|
47833
47964
|
const payload = parsed.value;
|
|
47834
47965
|
const body = null;
|
|
47835
|
-
const path = pathToFunc("/v0/pendle/
|
|
47966
|
+
const path = pathToFunc("/v0/pendle/markets")();
|
|
47836
47967
|
const query = encodeFormQuery({
|
|
47837
47968
|
block: payload.block,
|
|
47838
|
-
chain: payload.chain
|
|
47839
|
-
market_address: payload.market_address,
|
|
47840
|
-
user_address: payload.user_address
|
|
47969
|
+
chain: payload.chain
|
|
47841
47970
|
});
|
|
47842
47971
|
const headers = new Headers(compactMap({
|
|
47843
47972
|
Accept: "application/json"
|
|
@@ -47847,7 +47976,7 @@ async function $do36(client, request, options) {
|
|
|
47847
47976
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
47848
47977
|
const context = {
|
|
47849
47978
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
47850
|
-
operationID: "
|
|
47979
|
+
operationID: "pendle_markets",
|
|
47851
47980
|
oAuth2Scopes: [],
|
|
47852
47981
|
resolvedSecurity: requestSecurity,
|
|
47853
47982
|
securitySource: client._options.apiKeyAuth,
|
|
@@ -47881,13 +48010,13 @@ async function $do36(client, request, options) {
|
|
|
47881
48010
|
const responseFields = {
|
|
47882
48011
|
HttpMeta: { Response: response, Request: req }
|
|
47883
48012
|
};
|
|
47884
|
-
const [result] = await match(json(200,
|
|
48013
|
+
const [result] = await match(json(200, PendleListMarketsResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
47885
48014
|
if (!result.ok) {
|
|
47886
48015
|
return [result, { status: "complete", request: req, response }];
|
|
47887
48016
|
}
|
|
47888
48017
|
return [result, { status: "complete", request: req, response }];
|
|
47889
48018
|
}
|
|
47890
|
-
var
|
|
48019
|
+
var init_pendleMarkets = __esm(() => {
|
|
47891
48020
|
init_encodings();
|
|
47892
48021
|
init_matchers();
|
|
47893
48022
|
init_primitives();
|
|
@@ -47900,23 +48029,23 @@ var init_pendlePosition = __esm(() => {
|
|
|
47900
48029
|
init_async();
|
|
47901
48030
|
});
|
|
47902
48031
|
|
|
47903
|
-
// src/mcp-server/tools/
|
|
47904
|
-
var args36, tool$
|
|
47905
|
-
var
|
|
47906
|
-
|
|
48032
|
+
// src/mcp-server/tools/pendleMarkets.ts
|
|
48033
|
+
var args36, tool$pendleMarkets;
|
|
48034
|
+
var init_pendleMarkets2 = __esm(() => {
|
|
48035
|
+
init_pendleMarkets();
|
|
47907
48036
|
init_operations();
|
|
47908
48037
|
init_tools();
|
|
47909
48038
|
args36 = {
|
|
47910
|
-
request:
|
|
48039
|
+
request: PendleMarketsRequest$inboundSchema
|
|
47911
48040
|
};
|
|
47912
|
-
tool$
|
|
47913
|
-
name: "pendle-
|
|
47914
|
-
description: `
|
|
48041
|
+
tool$pendleMarkets = {
|
|
48042
|
+
name: "pendle-markets",
|
|
48043
|
+
description: `List Market Data
|
|
47915
48044
|
|
|
47916
|
-
|
|
48045
|
+
Get a list of active markets.`,
|
|
47917
48046
|
args: args36,
|
|
47918
48047
|
tool: async (client, args37, ctx) => {
|
|
47919
|
-
const [result, apiCall] = await
|
|
48048
|
+
const [result, apiCall] = await pendleMarkets(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
47920
48049
|
if (!result.ok) {
|
|
47921
48050
|
return {
|
|
47922
48051
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -47929,20 +48058,25 @@ Check the SY, PT, YT and Underlying Token positions for a given market.`,
|
|
|
47929
48058
|
};
|
|
47930
48059
|
});
|
|
47931
48060
|
|
|
47932
|
-
// src/funcs/
|
|
47933
|
-
function
|
|
48061
|
+
// src/funcs/pendlePosition.ts
|
|
48062
|
+
function pendlePosition(client, request, options) {
|
|
47934
48063
|
return new APIPromise($do37(client, request, options));
|
|
47935
48064
|
}
|
|
47936
48065
|
async function $do37(client, request, options) {
|
|
47937
|
-
const parsed = safeParse(request, (value) =>
|
|
48066
|
+
const parsed = safeParse(request, (value) => PendlePositionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
47938
48067
|
if (!parsed.ok) {
|
|
47939
48068
|
return [parsed, { status: "invalid" }];
|
|
47940
48069
|
}
|
|
47941
48070
|
const payload = parsed.value;
|
|
47942
|
-
const body =
|
|
47943
|
-
const path = pathToFunc("/v0/
|
|
48071
|
+
const body = null;
|
|
48072
|
+
const path = pathToFunc("/v0/pendle/position")();
|
|
48073
|
+
const query = encodeFormQuery({
|
|
48074
|
+
block: payload.block,
|
|
48075
|
+
chain: payload.chain,
|
|
48076
|
+
market_address: payload.market_address,
|
|
48077
|
+
user_address: payload.user_address
|
|
48078
|
+
});
|
|
47944
48079
|
const headers = new Headers(compactMap({
|
|
47945
|
-
"Content-Type": "application/json",
|
|
47946
48080
|
Accept: "application/json"
|
|
47947
48081
|
}));
|
|
47948
48082
|
const secConfig = await extractSecurity(client._options.apiKeyAuth);
|
|
@@ -47950,7 +48084,7 @@ async function $do37(client, request, options) {
|
|
|
47950
48084
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
47951
48085
|
const context = {
|
|
47952
48086
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
47953
|
-
operationID: "
|
|
48087
|
+
operationID: "pendle_position",
|
|
47954
48088
|
oAuth2Scopes: [],
|
|
47955
48089
|
resolvedSecurity: requestSecurity,
|
|
47956
48090
|
securitySource: client._options.apiKeyAuth,
|
|
@@ -47959,10 +48093,11 @@ async function $do37(client, request, options) {
|
|
|
47959
48093
|
};
|
|
47960
48094
|
const requestRes = client._createRequest(context, {
|
|
47961
48095
|
security: requestSecurity,
|
|
47962
|
-
method: "
|
|
48096
|
+
method: "GET",
|
|
47963
48097
|
baseURL: options?.serverURL,
|
|
47964
48098
|
path,
|
|
47965
48099
|
headers,
|
|
48100
|
+
query,
|
|
47966
48101
|
body,
|
|
47967
48102
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
47968
48103
|
}, options);
|
|
@@ -47983,13 +48118,13 @@ async function $do37(client, request, options) {
|
|
|
47983
48118
|
const responseFields = {
|
|
47984
48119
|
HttpMeta: { Response: response, Request: req }
|
|
47985
48120
|
};
|
|
47986
|
-
const [result] = await match(json(200,
|
|
48121
|
+
const [result] = await match(json(200, PendleGetUserPositionResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
47987
48122
|
if (!result.ok) {
|
|
47988
48123
|
return [result, { status: "complete", request: req, response }];
|
|
47989
48124
|
}
|
|
47990
48125
|
return [result, { status: "complete", request: req, response }];
|
|
47991
48126
|
}
|
|
47992
|
-
var
|
|
48127
|
+
var init_pendlePosition = __esm(() => {
|
|
47993
48128
|
init_encodings();
|
|
47994
48129
|
init_matchers();
|
|
47995
48130
|
init_primitives();
|
|
@@ -47998,32 +48133,27 @@ var init_skyBuy = __esm(() => {
|
|
|
47998
48133
|
init_url();
|
|
47999
48134
|
init_components();
|
|
48000
48135
|
init_errors2();
|
|
48136
|
+
init_operations();
|
|
48001
48137
|
init_async();
|
|
48002
48138
|
});
|
|
48003
48139
|
|
|
48004
|
-
// src/mcp-server/tools/
|
|
48005
|
-
var args37, tool$
|
|
48006
|
-
var
|
|
48007
|
-
|
|
48008
|
-
|
|
48140
|
+
// src/mcp-server/tools/pendlePosition.ts
|
|
48141
|
+
var args37, tool$pendlePosition;
|
|
48142
|
+
var init_pendlePosition2 = __esm(() => {
|
|
48143
|
+
init_pendlePosition();
|
|
48144
|
+
init_operations();
|
|
48009
48145
|
init_tools();
|
|
48010
48146
|
args37 = {
|
|
48011
|
-
request:
|
|
48147
|
+
request: PendlePositionRequest$inboundSchema
|
|
48012
48148
|
};
|
|
48013
|
-
tool$
|
|
48014
|
-
name: "
|
|
48015
|
-
description: `
|
|
48016
|
-
|
|
48017
|
-
Buy USDS with DAI or USDC on a 1:1 basis. There are no fees.
|
|
48018
|
-
|
|
48019
|
-
If buying with DAI, user will need to set an allowance on the DAI contract for the
|
|
48020
|
-
'SkyDaiUsdsConverter' contract beforehand.
|
|
48149
|
+
tool$pendlePosition = {
|
|
48150
|
+
name: "pendle-position",
|
|
48151
|
+
description: `Check User's Market Position
|
|
48021
48152
|
|
|
48022
|
-
|
|
48023
|
-
'SkyDaiUsdsConverter' contract beforehand.`,
|
|
48153
|
+
Check the SY, PT, YT and Underlying Token positions for a given market.`,
|
|
48024
48154
|
args: args37,
|
|
48025
48155
|
tool: async (client, args38, ctx) => {
|
|
48026
|
-
const [result, apiCall] = await
|
|
48156
|
+
const [result, apiCall] = await pendlePosition(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48027
48157
|
if (!result.ok) {
|
|
48028
48158
|
return {
|
|
48029
48159
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48036,20 +48166,24 @@ If buying with USDC, user will need to set an allowance on the USDC contract for
|
|
|
48036
48166
|
};
|
|
48037
48167
|
});
|
|
48038
48168
|
|
|
48039
|
-
// src/funcs/
|
|
48040
|
-
function
|
|
48169
|
+
// src/funcs/pendlePositions.ts
|
|
48170
|
+
function pendlePositions(client, request, options) {
|
|
48041
48171
|
return new APIPromise($do38(client, request, options));
|
|
48042
48172
|
}
|
|
48043
48173
|
async function $do38(client, request, options) {
|
|
48044
|
-
const parsed = safeParse(request, (value) =>
|
|
48174
|
+
const parsed = safeParse(request, (value) => PendlePositionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48045
48175
|
if (!parsed.ok) {
|
|
48046
48176
|
return [parsed, { status: "invalid" }];
|
|
48047
48177
|
}
|
|
48048
48178
|
const payload = parsed.value;
|
|
48049
|
-
const body =
|
|
48050
|
-
const path = pathToFunc("/v0/
|
|
48179
|
+
const body = null;
|
|
48180
|
+
const path = pathToFunc("/v0/pendle/positions")();
|
|
48181
|
+
const query = encodeFormQuery({
|
|
48182
|
+
block: payload.block,
|
|
48183
|
+
chain: payload.chain,
|
|
48184
|
+
user_address: payload.user_address
|
|
48185
|
+
});
|
|
48051
48186
|
const headers = new Headers(compactMap({
|
|
48052
|
-
"Content-Type": "application/json",
|
|
48053
48187
|
Accept: "application/json"
|
|
48054
48188
|
}));
|
|
48055
48189
|
const secConfig = await extractSecurity(client._options.apiKeyAuth);
|
|
@@ -48057,7 +48191,7 @@ async function $do38(client, request, options) {
|
|
|
48057
48191
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
48058
48192
|
const context = {
|
|
48059
48193
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
48060
|
-
operationID: "
|
|
48194
|
+
operationID: "pendle_positions",
|
|
48061
48195
|
oAuth2Scopes: [],
|
|
48062
48196
|
resolvedSecurity: requestSecurity,
|
|
48063
48197
|
securitySource: client._options.apiKeyAuth,
|
|
@@ -48066,10 +48200,11 @@ async function $do38(client, request, options) {
|
|
|
48066
48200
|
};
|
|
48067
48201
|
const requestRes = client._createRequest(context, {
|
|
48068
48202
|
security: requestSecurity,
|
|
48069
|
-
method: "
|
|
48203
|
+
method: "GET",
|
|
48070
48204
|
baseURL: options?.serverURL,
|
|
48071
48205
|
path,
|
|
48072
48206
|
headers,
|
|
48207
|
+
query,
|
|
48073
48208
|
body,
|
|
48074
48209
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
48075
48210
|
}, options);
|
|
@@ -48090,13 +48225,13 @@ async function $do38(client, request, options) {
|
|
|
48090
48225
|
const responseFields = {
|
|
48091
48226
|
HttpMeta: { Response: response, Request: req }
|
|
48092
48227
|
};
|
|
48093
|
-
const [result] = await match(json(200,
|
|
48228
|
+
const [result] = await match(json(200, PendleListUserPositionsResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
48094
48229
|
if (!result.ok) {
|
|
48095
48230
|
return [result, { status: "complete", request: req, response }];
|
|
48096
48231
|
}
|
|
48097
48232
|
return [result, { status: "complete", request: req, response }];
|
|
48098
48233
|
}
|
|
48099
|
-
var
|
|
48234
|
+
var init_pendlePositions = __esm(() => {
|
|
48100
48235
|
init_encodings();
|
|
48101
48236
|
init_matchers();
|
|
48102
48237
|
init_primitives();
|
|
@@ -48105,28 +48240,27 @@ var init_skyDeposit = __esm(() => {
|
|
|
48105
48240
|
init_url();
|
|
48106
48241
|
init_components();
|
|
48107
48242
|
init_errors2();
|
|
48243
|
+
init_operations();
|
|
48108
48244
|
init_async();
|
|
48109
48245
|
});
|
|
48110
48246
|
|
|
48111
|
-
// src/mcp-server/tools/
|
|
48112
|
-
var args38, tool$
|
|
48113
|
-
var
|
|
48114
|
-
|
|
48115
|
-
|
|
48247
|
+
// src/mcp-server/tools/pendlePositions.ts
|
|
48248
|
+
var args38, tool$pendlePositions;
|
|
48249
|
+
var init_pendlePositions2 = __esm(() => {
|
|
48250
|
+
init_pendlePositions();
|
|
48251
|
+
init_operations();
|
|
48116
48252
|
init_tools();
|
|
48117
48253
|
args38 = {
|
|
48118
|
-
request:
|
|
48254
|
+
request: PendlePositionsRequest$inboundSchema
|
|
48119
48255
|
};
|
|
48120
|
-
tool$
|
|
48121
|
-
name: "
|
|
48122
|
-
description: `
|
|
48123
|
-
|
|
48124
|
-
Deposit USDS for sUSDS to earn yield.
|
|
48256
|
+
tool$pendlePositions = {
|
|
48257
|
+
name: "pendle-positions",
|
|
48258
|
+
description: `List User's Market Positions
|
|
48125
48259
|
|
|
48126
|
-
|
|
48260
|
+
List the user's SY, PT, YT and LP positions for all markets on a given chain.`,
|
|
48127
48261
|
args: args38,
|
|
48128
48262
|
tool: async (client, args39, ctx) => {
|
|
48129
|
-
const [result, apiCall] = await
|
|
48263
|
+
const [result, apiCall] = await pendlePositions(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48130
48264
|
if (!result.ok) {
|
|
48131
48265
|
return {
|
|
48132
48266
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48139,24 +48273,20 @@ There are no fees.`,
|
|
|
48139
48273
|
};
|
|
48140
48274
|
});
|
|
48141
48275
|
|
|
48142
|
-
// src/funcs/
|
|
48143
|
-
function
|
|
48276
|
+
// src/funcs/skyBuy.ts
|
|
48277
|
+
function skyBuy(client, request, options) {
|
|
48144
48278
|
return new APIPromise($do39(client, request, options));
|
|
48145
48279
|
}
|
|
48146
48280
|
async function $do39(client, request, options) {
|
|
48147
|
-
const parsed = safeParse(request, (value) =>
|
|
48281
|
+
const parsed = safeParse(request, (value) => SkyBuyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48148
48282
|
if (!parsed.ok) {
|
|
48149
48283
|
return [parsed, { status: "invalid" }];
|
|
48150
48284
|
}
|
|
48151
48285
|
const payload = parsed.value;
|
|
48152
|
-
const body =
|
|
48153
|
-
const path = pathToFunc("/v0/sky/
|
|
48154
|
-
const query = encodeFormQuery({
|
|
48155
|
-
block: payload.block,
|
|
48156
|
-
chain: payload.chain,
|
|
48157
|
-
user_address: payload.user_address
|
|
48158
|
-
});
|
|
48286
|
+
const body = encodeJSON("body", payload, { explode: true });
|
|
48287
|
+
const path = pathToFunc("/v0/sky/buy")();
|
|
48159
48288
|
const headers = new Headers(compactMap({
|
|
48289
|
+
"Content-Type": "application/json",
|
|
48160
48290
|
Accept: "application/json"
|
|
48161
48291
|
}));
|
|
48162
48292
|
const secConfig = await extractSecurity(client._options.apiKeyAuth);
|
|
@@ -48164,7 +48294,7 @@ async function $do39(client, request, options) {
|
|
|
48164
48294
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
48165
48295
|
const context = {
|
|
48166
48296
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
48167
|
-
operationID: "
|
|
48297
|
+
operationID: "sky_buy",
|
|
48168
48298
|
oAuth2Scopes: [],
|
|
48169
48299
|
resolvedSecurity: requestSecurity,
|
|
48170
48300
|
securitySource: client._options.apiKeyAuth,
|
|
@@ -48173,7 +48303,221 @@ async function $do39(client, request, options) {
|
|
|
48173
48303
|
};
|
|
48174
48304
|
const requestRes = client._createRequest(context, {
|
|
48175
48305
|
security: requestSecurity,
|
|
48176
|
-
method: "
|
|
48306
|
+
method: "POST",
|
|
48307
|
+
baseURL: options?.serverURL,
|
|
48308
|
+
path,
|
|
48309
|
+
headers,
|
|
48310
|
+
body,
|
|
48311
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
48312
|
+
}, options);
|
|
48313
|
+
if (!requestRes.ok) {
|
|
48314
|
+
return [requestRes, { status: "invalid" }];
|
|
48315
|
+
}
|
|
48316
|
+
const req = requestRes.value;
|
|
48317
|
+
const doResult = await client._do(req, {
|
|
48318
|
+
context,
|
|
48319
|
+
errorCodes: ["422", "4XX", "5XX"],
|
|
48320
|
+
retryConfig: context.retryConfig,
|
|
48321
|
+
retryCodes: context.retryCodes
|
|
48322
|
+
});
|
|
48323
|
+
if (!doResult.ok) {
|
|
48324
|
+
return [doResult, { status: "request-error", request: req }];
|
|
48325
|
+
}
|
|
48326
|
+
const response = doResult.value;
|
|
48327
|
+
const responseFields = {
|
|
48328
|
+
HttpMeta: { Response: response, Request: req }
|
|
48329
|
+
};
|
|
48330
|
+
const [result] = await match(json(200, TxResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
48331
|
+
if (!result.ok) {
|
|
48332
|
+
return [result, { status: "complete", request: req, response }];
|
|
48333
|
+
}
|
|
48334
|
+
return [result, { status: "complete", request: req, response }];
|
|
48335
|
+
}
|
|
48336
|
+
var init_skyBuy = __esm(() => {
|
|
48337
|
+
init_encodings();
|
|
48338
|
+
init_matchers();
|
|
48339
|
+
init_primitives();
|
|
48340
|
+
init_schemas();
|
|
48341
|
+
init_security();
|
|
48342
|
+
init_url();
|
|
48343
|
+
init_components();
|
|
48344
|
+
init_errors2();
|
|
48345
|
+
init_async();
|
|
48346
|
+
});
|
|
48347
|
+
|
|
48348
|
+
// src/mcp-server/tools/skyBuy.ts
|
|
48349
|
+
var args39, tool$skyBuy;
|
|
48350
|
+
var init_skyBuy2 = __esm(() => {
|
|
48351
|
+
init_skyBuy();
|
|
48352
|
+
init_components();
|
|
48353
|
+
init_tools();
|
|
48354
|
+
args39 = {
|
|
48355
|
+
request: SkyBuyRequest$inboundSchema
|
|
48356
|
+
};
|
|
48357
|
+
tool$skyBuy = {
|
|
48358
|
+
name: "sky-buy",
|
|
48359
|
+
description: `Buy USDS
|
|
48360
|
+
|
|
48361
|
+
Buy USDS with DAI or USDC on a 1:1 basis. There are no fees.
|
|
48362
|
+
|
|
48363
|
+
If buying with DAI, user will need to set an allowance on the DAI contract for the
|
|
48364
|
+
'SkyDaiUsdsConverter' contract beforehand.
|
|
48365
|
+
|
|
48366
|
+
If buying with USDC, user will need to set an allowance on the USDC contract for the
|
|
48367
|
+
'SkyDaiUsdsConverter' contract beforehand.`,
|
|
48368
|
+
args: args39,
|
|
48369
|
+
tool: async (client, args40, ctx) => {
|
|
48370
|
+
const [result, apiCall] = await skyBuy(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48371
|
+
if (!result.ok) {
|
|
48372
|
+
return {
|
|
48373
|
+
content: [{ type: "text", text: result.error.message }],
|
|
48374
|
+
isError: true
|
|
48375
|
+
};
|
|
48376
|
+
}
|
|
48377
|
+
const value = result.value;
|
|
48378
|
+
return formatResult(value, apiCall);
|
|
48379
|
+
}
|
|
48380
|
+
};
|
|
48381
|
+
});
|
|
48382
|
+
|
|
48383
|
+
// src/funcs/skyDeposit.ts
|
|
48384
|
+
function skyDeposit(client, request, options) {
|
|
48385
|
+
return new APIPromise($do40(client, request, options));
|
|
48386
|
+
}
|
|
48387
|
+
async function $do40(client, request, options) {
|
|
48388
|
+
const parsed = safeParse(request, (value) => SkyDepositRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48389
|
+
if (!parsed.ok) {
|
|
48390
|
+
return [parsed, { status: "invalid" }];
|
|
48391
|
+
}
|
|
48392
|
+
const payload = parsed.value;
|
|
48393
|
+
const body = encodeJSON("body", payload, { explode: true });
|
|
48394
|
+
const path = pathToFunc("/v0/sky/deposit")();
|
|
48395
|
+
const headers = new Headers(compactMap({
|
|
48396
|
+
"Content-Type": "application/json",
|
|
48397
|
+
Accept: "application/json"
|
|
48398
|
+
}));
|
|
48399
|
+
const secConfig = await extractSecurity(client._options.apiKeyAuth);
|
|
48400
|
+
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
48401
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
48402
|
+
const context = {
|
|
48403
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
48404
|
+
operationID: "sky_deposit",
|
|
48405
|
+
oAuth2Scopes: [],
|
|
48406
|
+
resolvedSecurity: requestSecurity,
|
|
48407
|
+
securitySource: client._options.apiKeyAuth,
|
|
48408
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
48409
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
48410
|
+
};
|
|
48411
|
+
const requestRes = client._createRequest(context, {
|
|
48412
|
+
security: requestSecurity,
|
|
48413
|
+
method: "POST",
|
|
48414
|
+
baseURL: options?.serverURL,
|
|
48415
|
+
path,
|
|
48416
|
+
headers,
|
|
48417
|
+
body,
|
|
48418
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
48419
|
+
}, options);
|
|
48420
|
+
if (!requestRes.ok) {
|
|
48421
|
+
return [requestRes, { status: "invalid" }];
|
|
48422
|
+
}
|
|
48423
|
+
const req = requestRes.value;
|
|
48424
|
+
const doResult = await client._do(req, {
|
|
48425
|
+
context,
|
|
48426
|
+
errorCodes: ["422", "4XX", "5XX"],
|
|
48427
|
+
retryConfig: context.retryConfig,
|
|
48428
|
+
retryCodes: context.retryCodes
|
|
48429
|
+
});
|
|
48430
|
+
if (!doResult.ok) {
|
|
48431
|
+
return [doResult, { status: "request-error", request: req }];
|
|
48432
|
+
}
|
|
48433
|
+
const response = doResult.value;
|
|
48434
|
+
const responseFields = {
|
|
48435
|
+
HttpMeta: { Response: response, Request: req }
|
|
48436
|
+
};
|
|
48437
|
+
const [result] = await match(json(200, TxResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
48438
|
+
if (!result.ok) {
|
|
48439
|
+
return [result, { status: "complete", request: req, response }];
|
|
48440
|
+
}
|
|
48441
|
+
return [result, { status: "complete", request: req, response }];
|
|
48442
|
+
}
|
|
48443
|
+
var init_skyDeposit = __esm(() => {
|
|
48444
|
+
init_encodings();
|
|
48445
|
+
init_matchers();
|
|
48446
|
+
init_primitives();
|
|
48447
|
+
init_schemas();
|
|
48448
|
+
init_security();
|
|
48449
|
+
init_url();
|
|
48450
|
+
init_components();
|
|
48451
|
+
init_errors2();
|
|
48452
|
+
init_async();
|
|
48453
|
+
});
|
|
48454
|
+
|
|
48455
|
+
// src/mcp-server/tools/skyDeposit.ts
|
|
48456
|
+
var args40, tool$skyDeposit;
|
|
48457
|
+
var init_skyDeposit2 = __esm(() => {
|
|
48458
|
+
init_skyDeposit();
|
|
48459
|
+
init_components();
|
|
48460
|
+
init_tools();
|
|
48461
|
+
args40 = {
|
|
48462
|
+
request: SkyDepositRequest$inboundSchema
|
|
48463
|
+
};
|
|
48464
|
+
tool$skyDeposit = {
|
|
48465
|
+
name: "sky-deposit",
|
|
48466
|
+
description: `Deposit USDS
|
|
48467
|
+
|
|
48468
|
+
Deposit USDS for sUSDS to earn yield.
|
|
48469
|
+
|
|
48470
|
+
There are no fees.`,
|
|
48471
|
+
args: args40,
|
|
48472
|
+
tool: async (client, args41, ctx) => {
|
|
48473
|
+
const [result, apiCall] = await skyDeposit(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48474
|
+
if (!result.ok) {
|
|
48475
|
+
return {
|
|
48476
|
+
content: [{ type: "text", text: result.error.message }],
|
|
48477
|
+
isError: true
|
|
48478
|
+
};
|
|
48479
|
+
}
|
|
48480
|
+
const value = result.value;
|
|
48481
|
+
return formatResult(value, apiCall);
|
|
48482
|
+
}
|
|
48483
|
+
};
|
|
48484
|
+
});
|
|
48485
|
+
|
|
48486
|
+
// src/funcs/skyPosition.ts
|
|
48487
|
+
function skyPosition(client, request, options) {
|
|
48488
|
+
return new APIPromise($do41(client, request, options));
|
|
48489
|
+
}
|
|
48490
|
+
async function $do41(client, request, options) {
|
|
48491
|
+
const parsed = safeParse(request, (value) => SkyPositionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48492
|
+
if (!parsed.ok) {
|
|
48493
|
+
return [parsed, { status: "invalid" }];
|
|
48494
|
+
}
|
|
48495
|
+
const payload = parsed.value;
|
|
48496
|
+
const body = null;
|
|
48497
|
+
const path = pathToFunc("/v0/sky/position")();
|
|
48498
|
+
const query = encodeFormQuery({
|
|
48499
|
+
block: payload.block,
|
|
48500
|
+
chain: payload.chain,
|
|
48501
|
+
user_address: payload.user_address
|
|
48502
|
+
});
|
|
48503
|
+
const headers = new Headers(compactMap({
|
|
48504
|
+
Accept: "application/json"
|
|
48505
|
+
}));
|
|
48506
|
+
const secConfig = await extractSecurity(client._options.apiKeyAuth);
|
|
48507
|
+
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
48508
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
48509
|
+
const context = {
|
|
48510
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
48511
|
+
operationID: "sky_position",
|
|
48512
|
+
oAuth2Scopes: [],
|
|
48513
|
+
resolvedSecurity: requestSecurity,
|
|
48514
|
+
securitySource: client._options.apiKeyAuth,
|
|
48515
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
48516
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
48517
|
+
};
|
|
48518
|
+
const requestRes = client._createRequest(context, {
|
|
48519
|
+
security: requestSecurity,
|
|
48520
|
+
method: "GET",
|
|
48177
48521
|
baseURL: options?.serverURL,
|
|
48178
48522
|
path,
|
|
48179
48523
|
headers,
|
|
@@ -48218,12 +48562,12 @@ var init_skyPosition = __esm(() => {
|
|
|
48218
48562
|
});
|
|
48219
48563
|
|
|
48220
48564
|
// src/mcp-server/tools/skyPosition.ts
|
|
48221
|
-
var
|
|
48565
|
+
var args41, tool$skyPosition;
|
|
48222
48566
|
var init_skyPosition2 = __esm(() => {
|
|
48223
48567
|
init_skyPosition();
|
|
48224
48568
|
init_operations();
|
|
48225
48569
|
init_tools();
|
|
48226
|
-
|
|
48570
|
+
args41 = {
|
|
48227
48571
|
request: SkyPositionRequest$inboundSchema
|
|
48228
48572
|
};
|
|
48229
48573
|
tool$skyPosition = {
|
|
@@ -48231,9 +48575,9 @@ var init_skyPosition2 = __esm(() => {
|
|
|
48231
48575
|
description: `Check USDS Position
|
|
48232
48576
|
|
|
48233
48577
|
Check the USDS overall position.`,
|
|
48234
|
-
args:
|
|
48235
|
-
tool: async (client,
|
|
48236
|
-
const [result, apiCall] = await skyPosition(client,
|
|
48578
|
+
args: args41,
|
|
48579
|
+
tool: async (client, args42, ctx) => {
|
|
48580
|
+
const [result, apiCall] = await skyPosition(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48237
48581
|
if (!result.ok) {
|
|
48238
48582
|
return {
|
|
48239
48583
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48248,9 +48592,9 @@ Check the USDS overall position.`,
|
|
|
48248
48592
|
|
|
48249
48593
|
// src/funcs/skySell.ts
|
|
48250
48594
|
function skySell(client, request, options) {
|
|
48251
|
-
return new APIPromise($
|
|
48595
|
+
return new APIPromise($do42(client, request, options));
|
|
48252
48596
|
}
|
|
48253
|
-
async function $
|
|
48597
|
+
async function $do42(client, request, options) {
|
|
48254
48598
|
const parsed = safeParse(request, (value) => SkySellRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48255
48599
|
if (!parsed.ok) {
|
|
48256
48600
|
return [parsed, { status: "invalid" }];
|
|
@@ -48319,12 +48663,12 @@ var init_skySell = __esm(() => {
|
|
|
48319
48663
|
});
|
|
48320
48664
|
|
|
48321
48665
|
// src/mcp-server/tools/skySell.ts
|
|
48322
|
-
var
|
|
48666
|
+
var args42, tool$skySell;
|
|
48323
48667
|
var init_skySell2 = __esm(() => {
|
|
48324
48668
|
init_skySell();
|
|
48325
48669
|
init_components();
|
|
48326
48670
|
init_tools();
|
|
48327
|
-
|
|
48671
|
+
args42 = {
|
|
48328
48672
|
request: SkySellRequest$inboundSchema
|
|
48329
48673
|
};
|
|
48330
48674
|
tool$skySell = {
|
|
@@ -48338,9 +48682,9 @@ If swapping to DAI, user will need to set an allowance on the USDS contract for
|
|
|
48338
48682
|
|
|
48339
48683
|
If swapping to USDC, user will need to set an allowance on the USDS contract for the
|
|
48340
48684
|
'SkyUsdcUsdsConverter' contract beforehand.`,
|
|
48341
|
-
args:
|
|
48342
|
-
tool: async (client,
|
|
48343
|
-
const [result, apiCall] = await skySell(client,
|
|
48685
|
+
args: args42,
|
|
48686
|
+
tool: async (client, args43, ctx) => {
|
|
48687
|
+
const [result, apiCall] = await skySell(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48344
48688
|
if (!result.ok) {
|
|
48345
48689
|
return {
|
|
48346
48690
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48355,9 +48699,9 @@ If swapping to USDC, user will need to set an allowance on the USDS contract for
|
|
|
48355
48699
|
|
|
48356
48700
|
// src/funcs/skyWithdraw.ts
|
|
48357
48701
|
function skyWithdraw(client, request, options) {
|
|
48358
|
-
return new APIPromise($
|
|
48702
|
+
return new APIPromise($do43(client, request, options));
|
|
48359
48703
|
}
|
|
48360
|
-
async function $
|
|
48704
|
+
async function $do43(client, request, options) {
|
|
48361
48705
|
const parsed = safeParse(request, (value) => SkyWithdrawRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48362
48706
|
if (!parsed.ok) {
|
|
48363
48707
|
return [parsed, { status: "invalid" }];
|
|
@@ -48426,12 +48770,12 @@ var init_skyWithdraw = __esm(() => {
|
|
|
48426
48770
|
});
|
|
48427
48771
|
|
|
48428
48772
|
// src/mcp-server/tools/skyWithdraw.ts
|
|
48429
|
-
var
|
|
48773
|
+
var args43, tool$skyWithdraw;
|
|
48430
48774
|
var init_skyWithdraw2 = __esm(() => {
|
|
48431
48775
|
init_skyWithdraw();
|
|
48432
48776
|
init_components();
|
|
48433
48777
|
init_tools();
|
|
48434
|
-
|
|
48778
|
+
args43 = {
|
|
48435
48779
|
request: SkyWithdrawRequest$inboundSchema
|
|
48436
48780
|
};
|
|
48437
48781
|
tool$skyWithdraw = {
|
|
@@ -48439,9 +48783,9 @@ var init_skyWithdraw2 = __esm(() => {
|
|
|
48439
48783
|
description: `Withdraw USDS
|
|
48440
48784
|
|
|
48441
48785
|
Withdraw USDS for sUSDS to stop earning yield.`,
|
|
48442
|
-
args:
|
|
48443
|
-
tool: async (client,
|
|
48444
|
-
const [result, apiCall] = await skyWithdraw(client,
|
|
48786
|
+
args: args43,
|
|
48787
|
+
tool: async (client, args44, ctx) => {
|
|
48788
|
+
const [result, apiCall] = await skyWithdraw(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48445
48789
|
if (!result.ok) {
|
|
48446
48790
|
return {
|
|
48447
48791
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48456,9 +48800,9 @@ Withdraw USDS for sUSDS to stop earning yield.`,
|
|
|
48456
48800
|
|
|
48457
48801
|
// src/funcs/smartAccountAccountBatchedUserOperations.ts
|
|
48458
48802
|
function smartAccountAccountBatchedUserOperations(client, request, options) {
|
|
48459
|
-
return new APIPromise($
|
|
48803
|
+
return new APIPromise($do44(client, request, options));
|
|
48460
48804
|
}
|
|
48461
|
-
async function $
|
|
48805
|
+
async function $do44(client, request, options) {
|
|
48462
48806
|
const parsed = safeParse(request, (value) => BatchedUserOperationsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48463
48807
|
if (!parsed.ok) {
|
|
48464
48808
|
return [parsed, { status: "invalid" }];
|
|
@@ -48527,12 +48871,12 @@ var init_smartAccountAccountBatchedUserOperations = __esm(() => {
|
|
|
48527
48871
|
});
|
|
48528
48872
|
|
|
48529
48873
|
// src/mcp-server/tools/smartAccountAccountBatchedUserOperations.ts
|
|
48530
|
-
var
|
|
48874
|
+
var args44, tool$smartAccountAccountBatchedUserOperations;
|
|
48531
48875
|
var init_smartAccountAccountBatchedUserOperations2 = __esm(() => {
|
|
48532
48876
|
init_smartAccountAccountBatchedUserOperations();
|
|
48533
48877
|
init_components();
|
|
48534
48878
|
init_tools();
|
|
48535
|
-
|
|
48879
|
+
args44 = {
|
|
48536
48880
|
request: BatchedUserOperationsRequest$inboundSchema
|
|
48537
48881
|
};
|
|
48538
48882
|
tool$smartAccountAccountBatchedUserOperations = {
|
|
@@ -48540,9 +48884,9 @@ var init_smartAccountAccountBatchedUserOperations2 = __esm(() => {
|
|
|
48540
48884
|
description: `Get Smart Account Batched User Operations
|
|
48541
48885
|
|
|
48542
48886
|
Generate a list of user operations for smart account batching.`,
|
|
48543
|
-
args:
|
|
48544
|
-
tool: async (client,
|
|
48545
|
-
const [result, apiCall] = await smartAccountAccountBatchedUserOperations(client,
|
|
48887
|
+
args: args44,
|
|
48888
|
+
tool: async (client, args45, ctx) => {
|
|
48889
|
+
const [result, apiCall] = await smartAccountAccountBatchedUserOperations(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48546
48890
|
if (!result.ok) {
|
|
48547
48891
|
return {
|
|
48548
48892
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48557,9 +48901,9 @@ Generate a list of user operations for smart account batching.`,
|
|
|
48557
48901
|
|
|
48558
48902
|
// src/funcs/tokenAddress.ts
|
|
48559
48903
|
function tokenAddress(client, request, options) {
|
|
48560
|
-
return new APIPromise($
|
|
48904
|
+
return new APIPromise($do45(client, request, options));
|
|
48561
48905
|
}
|
|
48562
|
-
async function $
|
|
48906
|
+
async function $do45(client, request, options) {
|
|
48563
48907
|
const parsed = safeParse(request, (value) => TokenAddressRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48564
48908
|
if (!parsed.ok) {
|
|
48565
48909
|
return [parsed, { status: "invalid" }];
|
|
@@ -48634,12 +48978,12 @@ var init_tokenAddress = __esm(() => {
|
|
|
48634
48978
|
});
|
|
48635
48979
|
|
|
48636
48980
|
// src/mcp-server/tools/tokenAddress.ts
|
|
48637
|
-
var
|
|
48981
|
+
var args45, tool$tokenAddress;
|
|
48638
48982
|
var init_tokenAddress2 = __esm(() => {
|
|
48639
48983
|
init_tokenAddress();
|
|
48640
48984
|
init_operations();
|
|
48641
48985
|
init_tools();
|
|
48642
|
-
|
|
48986
|
+
args45 = {
|
|
48643
48987
|
request: TokenAddressRequest$inboundSchema
|
|
48644
48988
|
};
|
|
48645
48989
|
tool$tokenAddress = {
|
|
@@ -48647,9 +48991,9 @@ var init_tokenAddress2 = __esm(() => {
|
|
|
48647
48991
|
description: `Token Address
|
|
48648
48992
|
|
|
48649
48993
|
This endpoint retrieves the address for a token supported by us.`,
|
|
48650
|
-
args:
|
|
48651
|
-
tool: async (client,
|
|
48652
|
-
const [result, apiCall] = await tokenAddress(client,
|
|
48994
|
+
args: args45,
|
|
48995
|
+
tool: async (client, args46, ctx) => {
|
|
48996
|
+
const [result, apiCall] = await tokenAddress(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48653
48997
|
if (!result.ok) {
|
|
48654
48998
|
return {
|
|
48655
48999
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48664,9 +49008,9 @@ This endpoint retrieves the address for a token supported by us.`,
|
|
|
48664
49008
|
|
|
48665
49009
|
// src/funcs/tokenBalance.ts
|
|
48666
49010
|
function tokenBalance(client, request, options) {
|
|
48667
|
-
return new APIPromise($
|
|
49011
|
+
return new APIPromise($do46(client, request, options));
|
|
48668
49012
|
}
|
|
48669
|
-
async function $
|
|
49013
|
+
async function $do46(client, request, options) {
|
|
48670
49014
|
const parsed = safeParse(request, (value) => TokenBalanceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48671
49015
|
if (!parsed.ok) {
|
|
48672
49016
|
return [parsed, { status: "invalid" }];
|
|
@@ -48742,12 +49086,12 @@ var init_tokenBalance = __esm(() => {
|
|
|
48742
49086
|
});
|
|
48743
49087
|
|
|
48744
49088
|
// src/mcp-server/tools/tokenBalance.ts
|
|
48745
|
-
var
|
|
49089
|
+
var args46, tool$tokenBalance;
|
|
48746
49090
|
var init_tokenBalance2 = __esm(() => {
|
|
48747
49091
|
init_tokenBalance();
|
|
48748
49092
|
init_operations();
|
|
48749
49093
|
init_tools();
|
|
48750
|
-
|
|
49094
|
+
args46 = {
|
|
48751
49095
|
request: TokenBalanceRequest$inboundSchema
|
|
48752
49096
|
};
|
|
48753
49097
|
tool$tokenBalance = {
|
|
@@ -48755,9 +49099,9 @@ var init_tokenBalance2 = __esm(() => {
|
|
|
48755
49099
|
description: `Token Balance
|
|
48756
49100
|
|
|
48757
49101
|
Returns the balance of a specific ERC20 token for a given user address.`,
|
|
48758
|
-
args:
|
|
48759
|
-
tool: async (client,
|
|
48760
|
-
const [result, apiCall] = await tokenBalance(client,
|
|
49102
|
+
args: args46,
|
|
49103
|
+
tool: async (client, args47, ctx) => {
|
|
49104
|
+
const [result, apiCall] = await tokenBalance(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48761
49105
|
if (!result.ok) {
|
|
48762
49106
|
return {
|
|
48763
49107
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48772,9 +49116,9 @@ Returns the balance of a specific ERC20 token for a given user address.`,
|
|
|
48772
49116
|
|
|
48773
49117
|
// src/funcs/tokenPrice.ts
|
|
48774
49118
|
function tokenPrice(client, request, options) {
|
|
48775
|
-
return new APIPromise($
|
|
49119
|
+
return new APIPromise($do47(client, request, options));
|
|
48776
49120
|
}
|
|
48777
|
-
async function $
|
|
49121
|
+
async function $do47(client, request, options) {
|
|
48778
49122
|
const parsed = safeParse(request, (value) => TokenPriceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48779
49123
|
if (!parsed.ok) {
|
|
48780
49124
|
return [parsed, { status: "invalid" }];
|
|
@@ -48848,12 +49192,12 @@ var init_tokenPrice = __esm(() => {
|
|
|
48848
49192
|
});
|
|
48849
49193
|
|
|
48850
49194
|
// src/mcp-server/tools/tokenPrice.ts
|
|
48851
|
-
var
|
|
49195
|
+
var args47, tool$tokenPrice;
|
|
48852
49196
|
var init_tokenPrice2 = __esm(() => {
|
|
48853
49197
|
init_tokenPrice();
|
|
48854
49198
|
init_operations();
|
|
48855
49199
|
init_tools();
|
|
48856
|
-
|
|
49200
|
+
args47 = {
|
|
48857
49201
|
request: TokenPriceRequest$inboundSchema
|
|
48858
49202
|
};
|
|
48859
49203
|
tool$tokenPrice = {
|
|
@@ -48865,9 +49209,9 @@ Retrieves the price of a token in USD using Chainlink's on-chain price feeds.
|
|
|
48865
49209
|
Chainlink is a decentralized oracle that aggregates price data from off-chain
|
|
48866
49210
|
sources. This ensures the price is tamper-resistant but the price might be stale
|
|
48867
49211
|
with the update frequency of the oracle.`,
|
|
48868
|
-
args:
|
|
48869
|
-
tool: async (client,
|
|
48870
|
-
const [result, apiCall] = await tokenPrice(client,
|
|
49212
|
+
args: args47,
|
|
49213
|
+
tool: async (client, args48, ctx) => {
|
|
49214
|
+
const [result, apiCall] = await tokenPrice(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48871
49215
|
if (!result.ok) {
|
|
48872
49216
|
return {
|
|
48873
49217
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48882,9 +49226,9 @@ with the update frequency of the oracle.`,
|
|
|
48882
49226
|
|
|
48883
49227
|
// src/funcs/tokenTransfer.ts
|
|
48884
49228
|
function tokenTransfer(client, request, options) {
|
|
48885
|
-
return new APIPromise($
|
|
49229
|
+
return new APIPromise($do48(client, request, options));
|
|
48886
49230
|
}
|
|
48887
|
-
async function $
|
|
49231
|
+
async function $do48(client, request, options) {
|
|
48888
49232
|
const parsed = safeParse(request, (value) => TokenTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48889
49233
|
if (!parsed.ok) {
|
|
48890
49234
|
return [parsed, { status: "invalid" }];
|
|
@@ -48953,12 +49297,12 @@ var init_tokenTransfer = __esm(() => {
|
|
|
48953
49297
|
});
|
|
48954
49298
|
|
|
48955
49299
|
// src/mcp-server/tools/tokenTransfer.ts
|
|
48956
|
-
var
|
|
49300
|
+
var args48, tool$tokenTransfer;
|
|
48957
49301
|
var init_tokenTransfer2 = __esm(() => {
|
|
48958
49302
|
init_tokenTransfer();
|
|
48959
49303
|
init_components();
|
|
48960
49304
|
init_tools();
|
|
48961
|
-
|
|
49305
|
+
args48 = {
|
|
48962
49306
|
request: TokenTransferRequest$inboundSchema
|
|
48963
49307
|
};
|
|
48964
49308
|
tool$tokenTransfer = {
|
|
@@ -48966,9 +49310,9 @@ var init_tokenTransfer2 = __esm(() => {
|
|
|
48966
49310
|
description: `Transfer ETH or ERC20 Tokens.
|
|
48967
49311
|
|
|
48968
49312
|
Sends native ETH or ERC20 tokens from the sender's address to another address.`,
|
|
48969
|
-
args:
|
|
48970
|
-
tool: async (client,
|
|
48971
|
-
const [result, apiCall] = await tokenTransfer(client,
|
|
49313
|
+
args: args48,
|
|
49314
|
+
tool: async (client, args49, ctx) => {
|
|
49315
|
+
const [result, apiCall] = await tokenTransfer(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48972
49316
|
if (!result.ok) {
|
|
48973
49317
|
return {
|
|
48974
49318
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48983,9 +49327,9 @@ Sends native ETH or ERC20 tokens from the sender's address to another address.`,
|
|
|
48983
49327
|
|
|
48984
49328
|
// src/funcs/transactionBatchingAaveLoop.ts
|
|
48985
49329
|
function transactionBatchingAaveLoop(client, request, options) {
|
|
48986
|
-
return new APIPromise($
|
|
49330
|
+
return new APIPromise($do49(client, request, options));
|
|
48987
49331
|
}
|
|
48988
|
-
async function $
|
|
49332
|
+
async function $do49(client, request, options) {
|
|
48989
49333
|
const parsed = safeParse(request, (value) => AaveLoopRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48990
49334
|
if (!parsed.ok) {
|
|
48991
49335
|
return [parsed, { status: "invalid" }];
|
|
@@ -49054,12 +49398,12 @@ var init_transactionBatchingAaveLoop = __esm(() => {
|
|
|
49054
49398
|
});
|
|
49055
49399
|
|
|
49056
49400
|
// src/mcp-server/tools/transactionBatchingAaveLoop.ts
|
|
49057
|
-
var
|
|
49401
|
+
var args49, tool$transactionBatchingAaveLoop;
|
|
49058
49402
|
var init_transactionBatchingAaveLoop2 = __esm(() => {
|
|
49059
49403
|
init_transactionBatchingAaveLoop();
|
|
49060
49404
|
init_components();
|
|
49061
49405
|
init_tools();
|
|
49062
|
-
|
|
49406
|
+
args49 = {
|
|
49063
49407
|
request: AaveLoopRequest$inboundSchema
|
|
49064
49408
|
};
|
|
49065
49409
|
tool$transactionBatchingAaveLoop = {
|
|
@@ -49077,9 +49421,9 @@ This endpoint creates a multicall transaction that performs a series of operatio
|
|
|
49077
49421
|
- Supplies the swapped tokens
|
|
49078
49422
|
|
|
49079
49423
|
The transaction must be authorized using the /authorization endpoint to prevent replay attacks.`,
|
|
49080
|
-
args:
|
|
49081
|
-
tool: async (client,
|
|
49082
|
-
const [result, apiCall] = await transactionBatchingAaveLoop(client,
|
|
49424
|
+
args: args49,
|
|
49425
|
+
tool: async (client, args50, ctx) => {
|
|
49426
|
+
const [result, apiCall] = await transactionBatchingAaveLoop(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49083
49427
|
if (!result.ok) {
|
|
49084
49428
|
return {
|
|
49085
49429
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49094,9 +49438,9 @@ The transaction must be authorized using the /authorization endpoint to prevent
|
|
|
49094
49438
|
|
|
49095
49439
|
// src/funcs/transactionBatchingAuthorization.ts
|
|
49096
49440
|
function transactionBatchingAuthorization(client, request, options) {
|
|
49097
|
-
return new APIPromise($
|
|
49441
|
+
return new APIPromise($do50(client, request, options));
|
|
49098
49442
|
}
|
|
49099
|
-
async function $
|
|
49443
|
+
async function $do50(client, request, options) {
|
|
49100
49444
|
const parsed = safeParse(request, (value) => MulticallAuthorizationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49101
49445
|
if (!parsed.ok) {
|
|
49102
49446
|
return [parsed, { status: "invalid" }];
|
|
@@ -49165,12 +49509,12 @@ var init_transactionBatchingAuthorization = __esm(() => {
|
|
|
49165
49509
|
});
|
|
49166
49510
|
|
|
49167
49511
|
// src/mcp-server/tools/transactionBatchingAuthorization.ts
|
|
49168
|
-
var
|
|
49512
|
+
var args50, tool$transactionBatchingAuthorization;
|
|
49169
49513
|
var init_transactionBatchingAuthorization2 = __esm(() => {
|
|
49170
49514
|
init_transactionBatchingAuthorization();
|
|
49171
49515
|
init_components();
|
|
49172
49516
|
init_tools();
|
|
49173
|
-
|
|
49517
|
+
args50 = {
|
|
49174
49518
|
request: MulticallAuthorizationRequest$inboundSchema
|
|
49175
49519
|
};
|
|
49176
49520
|
tool$transactionBatchingAuthorization = {
|
|
@@ -49183,9 +49527,9 @@ This authorization is required to prevent replay attacks and ensure transaction
|
|
|
49183
49527
|
ordering when batching multiple actions into a single transaction. The authorization
|
|
49184
49528
|
includes a nonce and chain ID to guarantee transaction uniqueness and proper network
|
|
49185
49529
|
targeting.`,
|
|
49186
|
-
args:
|
|
49187
|
-
tool: async (client,
|
|
49188
|
-
const [result, apiCall] = await transactionBatchingAuthorization(client,
|
|
49530
|
+
args: args50,
|
|
49531
|
+
tool: async (client, args51, ctx) => {
|
|
49532
|
+
const [result, apiCall] = await transactionBatchingAuthorization(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49189
49533
|
if (!result.ok) {
|
|
49190
49534
|
return {
|
|
49191
49535
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49200,9 +49544,9 @@ targeting.`,
|
|
|
49200
49544
|
|
|
49201
49545
|
// src/funcs/transactionBatchingExecute.ts
|
|
49202
49546
|
function transactionBatchingExecute(client, request, options) {
|
|
49203
|
-
return new APIPromise($
|
|
49547
|
+
return new APIPromise($do51(client, request, options));
|
|
49204
49548
|
}
|
|
49205
|
-
async function $
|
|
49549
|
+
async function $do51(client, request, options) {
|
|
49206
49550
|
const parsed = safeParse(request, (value) => MulticallExecuteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49207
49551
|
if (!parsed.ok) {
|
|
49208
49552
|
return [parsed, { status: "invalid" }];
|
|
@@ -49271,12 +49615,12 @@ var init_transactionBatchingExecute = __esm(() => {
|
|
|
49271
49615
|
});
|
|
49272
49616
|
|
|
49273
49617
|
// src/mcp-server/tools/transactionBatchingExecute.ts
|
|
49274
|
-
var
|
|
49618
|
+
var args51, tool$transactionBatchingExecute;
|
|
49275
49619
|
var init_transactionBatchingExecute2 = __esm(() => {
|
|
49276
49620
|
init_transactionBatchingExecute();
|
|
49277
49621
|
init_components();
|
|
49278
49622
|
init_tools();
|
|
49279
|
-
|
|
49623
|
+
args51 = {
|
|
49280
49624
|
request: MulticallExecuteRequest$inboundSchema
|
|
49281
49625
|
};
|
|
49282
49626
|
tool$transactionBatchingExecute = {
|
|
@@ -49289,9 +49633,9 @@ This endpoint allows bundling multiple contract calls into a single atomic
|
|
|
49289
49633
|
transaction, reducing gas costs and ensuring all operations succeed or fail
|
|
49290
49634
|
together. The transaction must be authorized using the /authorization endpoint to
|
|
49291
49635
|
prevent replay attacks.`,
|
|
49292
|
-
args:
|
|
49293
|
-
tool: async (client,
|
|
49294
|
-
const [result, apiCall] = await transactionBatchingExecute(client,
|
|
49636
|
+
args: args51,
|
|
49637
|
+
tool: async (client, args52, ctx) => {
|
|
49638
|
+
const [result, apiCall] = await transactionBatchingExecute(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49295
49639
|
if (!result.ok) {
|
|
49296
49640
|
return {
|
|
49297
49641
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49306,9 +49650,9 @@ prevent replay attacks.`,
|
|
|
49306
49650
|
|
|
49307
49651
|
// src/funcs/uniswapV3LiquidityProvisionIncrease.ts
|
|
49308
49652
|
function uniswapV3LiquidityProvisionIncrease(client, request, options) {
|
|
49309
|
-
return new APIPromise($
|
|
49653
|
+
return new APIPromise($do52(client, request, options));
|
|
49310
49654
|
}
|
|
49311
|
-
async function $
|
|
49655
|
+
async function $do52(client, request, options) {
|
|
49312
49656
|
const parsed = safeParse(request, (value) => UniswapIncreaseLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49313
49657
|
if (!parsed.ok) {
|
|
49314
49658
|
return [parsed, { status: "invalid" }];
|
|
@@ -49377,12 +49721,12 @@ var init_uniswapV3LiquidityProvisionIncrease = __esm(() => {
|
|
|
49377
49721
|
});
|
|
49378
49722
|
|
|
49379
49723
|
// src/mcp-server/tools/uniswapV3LiquidityProvisionIncrease.ts
|
|
49380
|
-
var
|
|
49724
|
+
var args52, tool$uniswapV3LiquidityProvisionIncrease;
|
|
49381
49725
|
var init_uniswapV3LiquidityProvisionIncrease2 = __esm(() => {
|
|
49382
49726
|
init_uniswapV3LiquidityProvisionIncrease();
|
|
49383
49727
|
init_components();
|
|
49384
49728
|
init_tools();
|
|
49385
|
-
|
|
49729
|
+
args52 = {
|
|
49386
49730
|
request: UniswapIncreaseLiquidityProvisionRequest$inboundSchema
|
|
49387
49731
|
};
|
|
49388
49732
|
tool$uniswapV3LiquidityProvisionIncrease = {
|
|
@@ -49398,9 +49742,9 @@ beneficial for users who wish to enhance their potential earnings from trading f
|
|
|
49398
49742
|
within the pool. The endpoint requires details such as the token pair, additional
|
|
49399
49743
|
amount to be added, and any other parameters necessary for the liquidity increase
|
|
49400
49744
|
process.`,
|
|
49401
|
-
args:
|
|
49402
|
-
tool: async (client,
|
|
49403
|
-
const [result, apiCall] = await uniswapV3LiquidityProvisionIncrease(client,
|
|
49745
|
+
args: args52,
|
|
49746
|
+
tool: async (client, args53, ctx) => {
|
|
49747
|
+
const [result, apiCall] = await uniswapV3LiquidityProvisionIncrease(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49404
49748
|
if (!result.ok) {
|
|
49405
49749
|
return {
|
|
49406
49750
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49415,9 +49759,9 @@ process.`,
|
|
|
49415
49759
|
|
|
49416
49760
|
// src/funcs/uniswapV3LiquidityProvisionInRange.ts
|
|
49417
49761
|
function uniswapV3LiquidityProvisionInRange(client, request, options) {
|
|
49418
|
-
return new APIPromise($
|
|
49762
|
+
return new APIPromise($do53(client, request, options));
|
|
49419
49763
|
}
|
|
49420
|
-
async function $
|
|
49764
|
+
async function $do53(client, request, options) {
|
|
49421
49765
|
const parsed = safeParse(request, (value) => UniswapLiquidityProvisionInRangeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49422
49766
|
if (!parsed.ok) {
|
|
49423
49767
|
return [parsed, { status: "invalid" }];
|
|
@@ -49492,12 +49836,12 @@ var init_uniswapV3LiquidityProvisionInRange = __esm(() => {
|
|
|
49492
49836
|
});
|
|
49493
49837
|
|
|
49494
49838
|
// src/mcp-server/tools/uniswapV3LiquidityProvisionInRange.ts
|
|
49495
|
-
var
|
|
49839
|
+
var args53, tool$uniswapV3LiquidityProvisionInRange;
|
|
49496
49840
|
var init_uniswapV3LiquidityProvisionInRange2 = __esm(() => {
|
|
49497
49841
|
init_uniswapV3LiquidityProvisionInRange();
|
|
49498
49842
|
init_operations();
|
|
49499
49843
|
init_tools();
|
|
49500
|
-
|
|
49844
|
+
args53 = {
|
|
49501
49845
|
request: UniswapLiquidityProvisionInRangeRequest$inboundSchema
|
|
49502
49846
|
};
|
|
49503
49847
|
tool$uniswapV3LiquidityProvisionInRange = {
|
|
@@ -49512,9 +49856,9 @@ position is currently within the tick range where trading occurs. this informati
|
|
|
49512
49856
|
is essential for users to monitor the status of their lp positions and ensure that
|
|
49513
49857
|
they are actively participating in the trading activities within the liquidity pool
|
|
49514
49858
|
and earning trading fees.`,
|
|
49515
|
-
args:
|
|
49516
|
-
tool: async (client,
|
|
49517
|
-
const [result, apiCall] = await uniswapV3LiquidityProvisionInRange(client,
|
|
49859
|
+
args: args53,
|
|
49860
|
+
tool: async (client, args54, ctx) => {
|
|
49861
|
+
const [result, apiCall] = await uniswapV3LiquidityProvisionInRange(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49518
49862
|
if (!result.ok) {
|
|
49519
49863
|
return {
|
|
49520
49864
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49529,9 +49873,9 @@ and earning trading fees.`,
|
|
|
49529
49873
|
|
|
49530
49874
|
// src/funcs/uniswapV3LiquidityProvisionMint.ts
|
|
49531
49875
|
function uniswapV3LiquidityProvisionMint(client, request, options) {
|
|
49532
|
-
return new APIPromise($
|
|
49876
|
+
return new APIPromise($do54(client, request, options));
|
|
49533
49877
|
}
|
|
49534
|
-
async function $
|
|
49878
|
+
async function $do54(client, request, options) {
|
|
49535
49879
|
const parsed = safeParse(request, (value) => UniswapMintLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49536
49880
|
if (!parsed.ok) {
|
|
49537
49881
|
return [parsed, { status: "invalid" }];
|
|
@@ -49600,12 +49944,12 @@ var init_uniswapV3LiquidityProvisionMint = __esm(() => {
|
|
|
49600
49944
|
});
|
|
49601
49945
|
|
|
49602
49946
|
// src/mcp-server/tools/uniswapV3LiquidityProvisionMint.ts
|
|
49603
|
-
var
|
|
49947
|
+
var args54, tool$uniswapV3LiquidityProvisionMint;
|
|
49604
49948
|
var init_uniswapV3LiquidityProvisionMint2 = __esm(() => {
|
|
49605
49949
|
init_uniswapV3LiquidityProvisionMint();
|
|
49606
49950
|
init_components();
|
|
49607
49951
|
init_tools();
|
|
49608
|
-
|
|
49952
|
+
args54 = {
|
|
49609
49953
|
request: UniswapMintLiquidityProvisionRequest$inboundSchema
|
|
49610
49954
|
};
|
|
49611
49955
|
tool$uniswapV3LiquidityProvisionMint = {
|
|
@@ -49621,9 +49965,9 @@ This operation is essential for users looking to participate in liquidity provis
|
|
|
49621
49965
|
enabling them to earn fees from trades that occur within the pool. The endpoint
|
|
49622
49966
|
requires details such as the token pair, amount, and any additional parameters
|
|
49623
49967
|
needed for the minting process.`,
|
|
49624
|
-
args:
|
|
49625
|
-
tool: async (client,
|
|
49626
|
-
const [result, apiCall] = await uniswapV3LiquidityProvisionMint(client,
|
|
49968
|
+
args: args54,
|
|
49969
|
+
tool: async (client, args55, ctx) => {
|
|
49970
|
+
const [result, apiCall] = await uniswapV3LiquidityProvisionMint(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49627
49971
|
if (!result.ok) {
|
|
49628
49972
|
return {
|
|
49629
49973
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49638,9 +49982,9 @@ needed for the minting process.`,
|
|
|
49638
49982
|
|
|
49639
49983
|
// src/funcs/uniswapV3LiquidityProvisionPositions.ts
|
|
49640
49984
|
function uniswapV3LiquidityProvisionPositions(client, request, options) {
|
|
49641
|
-
return new APIPromise($
|
|
49985
|
+
return new APIPromise($do55(client, request, options));
|
|
49642
49986
|
}
|
|
49643
|
-
async function $
|
|
49987
|
+
async function $do55(client, request, options) {
|
|
49644
49988
|
const parsed = safeParse(request, (value) => UniswapLiquidityProvisionPositionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49645
49989
|
if (!parsed.ok) {
|
|
49646
49990
|
return [parsed, { status: "invalid" }];
|
|
@@ -49715,12 +50059,12 @@ var init_uniswapV3LiquidityProvisionPositions = __esm(() => {
|
|
|
49715
50059
|
});
|
|
49716
50060
|
|
|
49717
50061
|
// src/mcp-server/tools/uniswapV3LiquidityProvisionPositions.ts
|
|
49718
|
-
var
|
|
50062
|
+
var args55, tool$uniswapV3LiquidityProvisionPositions;
|
|
49719
50063
|
var init_uniswapV3LiquidityProvisionPositions2 = __esm(() => {
|
|
49720
50064
|
init_uniswapV3LiquidityProvisionPositions();
|
|
49721
50065
|
init_operations();
|
|
49722
50066
|
init_tools();
|
|
49723
|
-
|
|
50067
|
+
args55 = {
|
|
49724
50068
|
request: UniswapLiquidityProvisionPositionsRequest$inboundSchema
|
|
49725
50069
|
};
|
|
49726
50070
|
tool$uniswapV3LiquidityProvisionPositions = {
|
|
@@ -49734,9 +50078,9 @@ Users can query this endpoint to obtain detailed information about their LP
|
|
|
49734
50078
|
positions, including the total number of positions and relevant metadata. This
|
|
49735
50079
|
information is crucial for users to manage and analyze their liquidity provision
|
|
49736
50080
|
activities effectively.`,
|
|
49737
|
-
args:
|
|
49738
|
-
tool: async (client,
|
|
49739
|
-
const [result, apiCall] = await uniswapV3LiquidityProvisionPositions(client,
|
|
50081
|
+
args: args55,
|
|
50082
|
+
tool: async (client, args56, ctx) => {
|
|
50083
|
+
const [result, apiCall] = await uniswapV3LiquidityProvisionPositions(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49740
50084
|
if (!result.ok) {
|
|
49741
50085
|
return {
|
|
49742
50086
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49751,9 +50095,9 @@ activities effectively.`,
|
|
|
49751
50095
|
|
|
49752
50096
|
// src/funcs/uniswapV3LiquidityProvisionWithdraw.ts
|
|
49753
50097
|
function uniswapV3LiquidityProvisionWithdraw(client, request, options) {
|
|
49754
|
-
return new APIPromise($
|
|
50098
|
+
return new APIPromise($do56(client, request, options));
|
|
49755
50099
|
}
|
|
49756
|
-
async function $
|
|
50100
|
+
async function $do56(client, request, options) {
|
|
49757
50101
|
const parsed = safeParse(request, (value) => UniswapWithdrawLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49758
50102
|
if (!parsed.ok) {
|
|
49759
50103
|
return [parsed, { status: "invalid" }];
|
|
@@ -49822,12 +50166,12 @@ var init_uniswapV3LiquidityProvisionWithdraw = __esm(() => {
|
|
|
49822
50166
|
});
|
|
49823
50167
|
|
|
49824
50168
|
// src/mcp-server/tools/uniswapV3LiquidityProvisionWithdraw.ts
|
|
49825
|
-
var
|
|
50169
|
+
var args56, tool$uniswapV3LiquidityProvisionWithdraw;
|
|
49826
50170
|
var init_uniswapV3LiquidityProvisionWithdraw2 = __esm(() => {
|
|
49827
50171
|
init_uniswapV3LiquidityProvisionWithdraw();
|
|
49828
50172
|
init_components();
|
|
49829
50173
|
init_tools();
|
|
49830
|
-
|
|
50174
|
+
args56 = {
|
|
49831
50175
|
request: UniswapWithdrawLiquidityProvisionRequest$inboundSchema
|
|
49832
50176
|
};
|
|
49833
50177
|
tool$uniswapV3LiquidityProvisionWithdraw = {
|
|
@@ -49844,9 +50188,9 @@ pools or investments. The endpoint requires details such as the token pair, the
|
|
|
49844
50188
|
amount to be withdrawn, and any additional parameters needed for the withdrawal
|
|
49845
50189
|
process. Users should ensure they meet any protocol requirements or conditions
|
|
49846
50190
|
before initiating a withdrawal to avoid potential issues or penalties.`,
|
|
49847
|
-
args:
|
|
49848
|
-
tool: async (client,
|
|
49849
|
-
const [result, apiCall] = await uniswapV3LiquidityProvisionWithdraw(client,
|
|
50191
|
+
args: args56,
|
|
50192
|
+
tool: async (client, args57, ctx) => {
|
|
50193
|
+
const [result, apiCall] = await uniswapV3LiquidityProvisionWithdraw(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49850
50194
|
if (!result.ok) {
|
|
49851
50195
|
return {
|
|
49852
50196
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49861,9 +50205,9 @@ before initiating a withdrawal to avoid potential issues or penalties.`,
|
|
|
49861
50205
|
|
|
49862
50206
|
// src/funcs/uniswapV3PoolPrice.ts
|
|
49863
50207
|
function uniswapV3PoolPrice(client, request, options) {
|
|
49864
|
-
return new APIPromise($
|
|
50208
|
+
return new APIPromise($do57(client, request, options));
|
|
49865
50209
|
}
|
|
49866
|
-
async function $
|
|
50210
|
+
async function $do57(client, request, options) {
|
|
49867
50211
|
const parsed = safeParse(request, (value) => UniswapPoolPriceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49868
50212
|
if (!parsed.ok) {
|
|
49869
50213
|
return [parsed, { status: "invalid" }];
|
|
@@ -49940,12 +50284,12 @@ var init_uniswapV3PoolPrice = __esm(() => {
|
|
|
49940
50284
|
});
|
|
49941
50285
|
|
|
49942
50286
|
// src/mcp-server/tools/uniswapV3PoolPrice.ts
|
|
49943
|
-
var
|
|
50287
|
+
var args57, tool$uniswapV3PoolPrice;
|
|
49944
50288
|
var init_uniswapV3PoolPrice2 = __esm(() => {
|
|
49945
50289
|
init_uniswapV3PoolPrice();
|
|
49946
50290
|
init_operations();
|
|
49947
50291
|
init_tools();
|
|
49948
|
-
|
|
50292
|
+
args57 = {
|
|
49949
50293
|
request: UniswapPoolPriceRequest$inboundSchema
|
|
49950
50294
|
};
|
|
49951
50295
|
tool$uniswapV3PoolPrice = {
|
|
@@ -49955,9 +50299,9 @@ var init_uniswapV3PoolPrice2 = __esm(() => {
|
|
|
49955
50299
|
This endpoint calculates the price of a token in a Uniswap pool.
|
|
49956
50300
|
|
|
49957
50301
|
The price is calculated based on the current pool state and the specified fee tier.`,
|
|
49958
|
-
args:
|
|
49959
|
-
tool: async (client,
|
|
49960
|
-
const [result, apiCall] = await uniswapV3PoolPrice(client,
|
|
50302
|
+
args: args57,
|
|
50303
|
+
tool: async (client, args58, ctx) => {
|
|
50304
|
+
const [result, apiCall] = await uniswapV3PoolPrice(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49961
50305
|
if (!result.ok) {
|
|
49962
50306
|
return {
|
|
49963
50307
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49972,9 +50316,9 @@ The price is calculated based on the current pool state and the specified fee ti
|
|
|
49972
50316
|
|
|
49973
50317
|
// src/funcs/uniswapV3QuoteBuyExactly.ts
|
|
49974
50318
|
function uniswapV3QuoteBuyExactly(client, request, options) {
|
|
49975
|
-
return new APIPromise($
|
|
50319
|
+
return new APIPromise($do58(client, request, options));
|
|
49976
50320
|
}
|
|
49977
|
-
async function $
|
|
50321
|
+
async function $do58(client, request, options) {
|
|
49978
50322
|
const parsed = safeParse(request, (value) => UniswapQuoteBuyExactlyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49979
50323
|
if (!parsed.ok) {
|
|
49980
50324
|
return [parsed, { status: "invalid" }];
|
|
@@ -50052,12 +50396,12 @@ var init_uniswapV3QuoteBuyExactly = __esm(() => {
|
|
|
50052
50396
|
});
|
|
50053
50397
|
|
|
50054
50398
|
// src/mcp-server/tools/uniswapV3QuoteBuyExactly.ts
|
|
50055
|
-
var
|
|
50399
|
+
var args58, tool$uniswapV3QuoteBuyExactly;
|
|
50056
50400
|
var init_uniswapV3QuoteBuyExactly2 = __esm(() => {
|
|
50057
50401
|
init_uniswapV3QuoteBuyExactly();
|
|
50058
50402
|
init_operations();
|
|
50059
50403
|
init_tools();
|
|
50060
|
-
|
|
50404
|
+
args58 = {
|
|
50061
50405
|
request: UniswapQuoteBuyExactlyRequest$inboundSchema
|
|
50062
50406
|
};
|
|
50063
50407
|
tool$uniswapV3QuoteBuyExactly = {
|
|
@@ -50069,9 +50413,9 @@ specified amount of output tokens from a Uniswap pool.
|
|
|
50069
50413
|
|
|
50070
50414
|
It also provides the resulting price after the transaction. The calculation takes
|
|
50071
50415
|
into account the current pool state and the specified fee tier.`,
|
|
50072
|
-
args:
|
|
50073
|
-
tool: async (client,
|
|
50074
|
-
const [result, apiCall] = await uniswapV3QuoteBuyExactly(client,
|
|
50416
|
+
args: args58,
|
|
50417
|
+
tool: async (client, args59, ctx) => {
|
|
50418
|
+
const [result, apiCall] = await uniswapV3QuoteBuyExactly(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50075
50419
|
if (!result.ok) {
|
|
50076
50420
|
return {
|
|
50077
50421
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50086,9 +50430,9 @@ into account the current pool state and the specified fee tier.`,
|
|
|
50086
50430
|
|
|
50087
50431
|
// src/funcs/uniswapV3QuoteSellExactly.ts
|
|
50088
50432
|
function uniswapV3QuoteSellExactly(client, request, options) {
|
|
50089
|
-
return new APIPromise($
|
|
50433
|
+
return new APIPromise($do59(client, request, options));
|
|
50090
50434
|
}
|
|
50091
|
-
async function $
|
|
50435
|
+
async function $do59(client, request, options) {
|
|
50092
50436
|
const parsed = safeParse(request, (value) => UniswapQuoteSellExactlyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50093
50437
|
if (!parsed.ok) {
|
|
50094
50438
|
return [parsed, { status: "invalid" }];
|
|
@@ -50166,12 +50510,12 @@ var init_uniswapV3QuoteSellExactly = __esm(() => {
|
|
|
50166
50510
|
});
|
|
50167
50511
|
|
|
50168
50512
|
// src/mcp-server/tools/uniswapV3QuoteSellExactly.ts
|
|
50169
|
-
var
|
|
50513
|
+
var args59, tool$uniswapV3QuoteSellExactly;
|
|
50170
50514
|
var init_uniswapV3QuoteSellExactly2 = __esm(() => {
|
|
50171
50515
|
init_uniswapV3QuoteSellExactly();
|
|
50172
50516
|
init_operations();
|
|
50173
50517
|
init_tools();
|
|
50174
|
-
|
|
50518
|
+
args59 = {
|
|
50175
50519
|
request: UniswapQuoteSellExactlyRequest$inboundSchema
|
|
50176
50520
|
};
|
|
50177
50521
|
tool$uniswapV3QuoteSellExactly = {
|
|
@@ -50183,9 +50527,9 @@ specified amount of output tokens from a Uniswap pool.
|
|
|
50183
50527
|
|
|
50184
50528
|
It also provides the resulting price after the transaction. The calculation takes
|
|
50185
50529
|
into account the current pool state and the specified fee tier.`,
|
|
50186
|
-
args:
|
|
50187
|
-
tool: async (client,
|
|
50188
|
-
const [result, apiCall] = await uniswapV3QuoteSellExactly(client,
|
|
50530
|
+
args: args59,
|
|
50531
|
+
tool: async (client, args60, ctx) => {
|
|
50532
|
+
const [result, apiCall] = await uniswapV3QuoteSellExactly(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50189
50533
|
if (!result.ok) {
|
|
50190
50534
|
return {
|
|
50191
50535
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50200,9 +50544,9 @@ into account the current pool state and the specified fee tier.`,
|
|
|
50200
50544
|
|
|
50201
50545
|
// src/funcs/uniswapV3SwapBuyExactly.ts
|
|
50202
50546
|
function uniswapV3SwapBuyExactly(client, request, options) {
|
|
50203
|
-
return new APIPromise($
|
|
50547
|
+
return new APIPromise($do60(client, request, options));
|
|
50204
50548
|
}
|
|
50205
|
-
async function $
|
|
50549
|
+
async function $do60(client, request, options) {
|
|
50206
50550
|
const parsed = safeParse(request, (value) => UniswapBuyExactlyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50207
50551
|
if (!parsed.ok) {
|
|
50208
50552
|
return [parsed, { status: "invalid" }];
|
|
@@ -50271,12 +50615,12 @@ var init_uniswapV3SwapBuyExactly = __esm(() => {
|
|
|
50271
50615
|
});
|
|
50272
50616
|
|
|
50273
50617
|
// src/mcp-server/tools/uniswapV3SwapBuyExactly.ts
|
|
50274
|
-
var
|
|
50618
|
+
var args60, tool$uniswapV3SwapBuyExactly;
|
|
50275
50619
|
var init_uniswapV3SwapBuyExactly2 = __esm(() => {
|
|
50276
50620
|
init_uniswapV3SwapBuyExactly();
|
|
50277
50621
|
init_components();
|
|
50278
50622
|
init_tools();
|
|
50279
|
-
|
|
50623
|
+
args60 = {
|
|
50280
50624
|
request: UniswapBuyExactlyRequest$inboundSchema
|
|
50281
50625
|
};
|
|
50282
50626
|
tool$uniswapV3SwapBuyExactly = {
|
|
@@ -50290,9 +50634,9 @@ The transaction is executed on the specified blockchain network, and the user mu
|
|
|
50290
50634
|
provide the necessary transaction details, including the token to buy, the token to
|
|
50291
50635
|
pay with, and the exact amount to receive. If the token being paid with is WETH and
|
|
50292
50636
|
needs to be wrapped, the appropriate amount will be wrapped automatically.`,
|
|
50293
|
-
args:
|
|
50294
|
-
tool: async (client,
|
|
50295
|
-
const [result, apiCall] = await uniswapV3SwapBuyExactly(client,
|
|
50637
|
+
args: args60,
|
|
50638
|
+
tool: async (client, args61, ctx) => {
|
|
50639
|
+
const [result, apiCall] = await uniswapV3SwapBuyExactly(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50296
50640
|
if (!result.ok) {
|
|
50297
50641
|
return {
|
|
50298
50642
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50307,9 +50651,9 @@ needs to be wrapped, the appropriate amount will be wrapped automatically.`,
|
|
|
50307
50651
|
|
|
50308
50652
|
// src/funcs/uniswapV3SwapSellExactly.ts
|
|
50309
50653
|
function uniswapV3SwapSellExactly(client, request, options) {
|
|
50310
|
-
return new APIPromise($
|
|
50654
|
+
return new APIPromise($do61(client, request, options));
|
|
50311
50655
|
}
|
|
50312
|
-
async function $
|
|
50656
|
+
async function $do61(client, request, options) {
|
|
50313
50657
|
const parsed = safeParse(request, (value) => UniswapSellExactlyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50314
50658
|
if (!parsed.ok) {
|
|
50315
50659
|
return [parsed, { status: "invalid" }];
|
|
@@ -50378,12 +50722,12 @@ var init_uniswapV3SwapSellExactly = __esm(() => {
|
|
|
50378
50722
|
});
|
|
50379
50723
|
|
|
50380
50724
|
// src/mcp-server/tools/uniswapV3SwapSellExactly.ts
|
|
50381
|
-
var
|
|
50725
|
+
var args61, tool$uniswapV3SwapSellExactly;
|
|
50382
50726
|
var init_uniswapV3SwapSellExactly2 = __esm(() => {
|
|
50383
50727
|
init_uniswapV3SwapSellExactly();
|
|
50384
50728
|
init_components();
|
|
50385
50729
|
init_tools();
|
|
50386
|
-
|
|
50730
|
+
args61 = {
|
|
50387
50731
|
request: UniswapSellExactlyRequest$inboundSchema
|
|
50388
50732
|
};
|
|
50389
50733
|
tool$uniswapV3SwapSellExactly = {
|
|
@@ -50397,9 +50741,9 @@ The transaction is executed on the specified blockchain network, and the user mu
|
|
|
50397
50741
|
provide the necessary transaction details, including the token to sell, the token to
|
|
50398
50742
|
receive, and the amount to sell. If the token being sold is WETH and needs to be
|
|
50399
50743
|
wrapped, the appropriate amount will be wrapped automatically.`,
|
|
50400
|
-
args:
|
|
50401
|
-
tool: async (client,
|
|
50402
|
-
const [result, apiCall] = await uniswapV3SwapSellExactly(client,
|
|
50744
|
+
args: args61,
|
|
50745
|
+
tool: async (client, args62, ctx) => {
|
|
50746
|
+
const [result, apiCall] = await uniswapV3SwapSellExactly(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50403
50747
|
if (!result.ok) {
|
|
50404
50748
|
return {
|
|
50405
50749
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50414,9 +50758,9 @@ wrapped, the appropriate amount will be wrapped automatically.`,
|
|
|
50414
50758
|
|
|
50415
50759
|
// src/funcs/universalAllowance.ts
|
|
50416
50760
|
function universalAllowance(client, request, options) {
|
|
50417
|
-
return new APIPromise($
|
|
50761
|
+
return new APIPromise($do62(client, request, options));
|
|
50418
50762
|
}
|
|
50419
|
-
async function $
|
|
50763
|
+
async function $do62(client, request, options) {
|
|
50420
50764
|
const parsed = safeParse(request, (value) => GenericAllowanceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50421
50765
|
if (!parsed.ok) {
|
|
50422
50766
|
return [parsed, { status: "invalid" }];
|
|
@@ -50493,12 +50837,12 @@ var init_universalAllowance = __esm(() => {
|
|
|
50493
50837
|
});
|
|
50494
50838
|
|
|
50495
50839
|
// src/mcp-server/tools/universalAllowance.ts
|
|
50496
|
-
var
|
|
50840
|
+
var args62, tool$universalAllowance;
|
|
50497
50841
|
var init_universalAllowance2 = __esm(() => {
|
|
50498
50842
|
init_universalAllowance();
|
|
50499
50843
|
init_operations();
|
|
50500
50844
|
init_tools();
|
|
50501
|
-
|
|
50845
|
+
args62 = {
|
|
50502
50846
|
request: GenericAllowanceRequest$inboundSchema
|
|
50503
50847
|
};
|
|
50504
50848
|
tool$universalAllowance = {
|
|
@@ -50512,9 +50856,9 @@ tokens on their behalf.
|
|
|
50512
50856
|
This is a crucial step before engaging in any transactions or operations within
|
|
50513
50857
|
these protocols, ensuring that the protocol has the necessary permissions to manage
|
|
50514
50858
|
the user's tokens securely and efficiently.`,
|
|
50515
|
-
args:
|
|
50516
|
-
tool: async (client,
|
|
50517
|
-
const [result, apiCall] = await universalAllowance(client,
|
|
50859
|
+
args: args62,
|
|
50860
|
+
tool: async (client, args63, ctx) => {
|
|
50861
|
+
const [result, apiCall] = await universalAllowance(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50518
50862
|
if (!result.ok) {
|
|
50519
50863
|
return {
|
|
50520
50864
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50529,9 +50873,9 @@ the user's tokens securely and efficiently.`,
|
|
|
50529
50873
|
|
|
50530
50874
|
// src/funcs/universalAllowanceSet.ts
|
|
50531
50875
|
function universalAllowanceSet(client, request, options) {
|
|
50532
|
-
return new APIPromise($
|
|
50876
|
+
return new APIPromise($do63(client, request, options));
|
|
50533
50877
|
}
|
|
50534
|
-
async function $
|
|
50878
|
+
async function $do63(client, request, options) {
|
|
50535
50879
|
const parsed = safeParse(request, (value) => IncreaseAllowanceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50536
50880
|
if (!parsed.ok) {
|
|
50537
50881
|
return [parsed, { status: "invalid" }];
|
|
@@ -50600,12 +50944,12 @@ var init_universalAllowanceSet = __esm(() => {
|
|
|
50600
50944
|
});
|
|
50601
50945
|
|
|
50602
50946
|
// src/mcp-server/tools/universalAllowanceSet.ts
|
|
50603
|
-
var
|
|
50947
|
+
var args63, tool$universalAllowanceSet;
|
|
50604
50948
|
var init_universalAllowanceSet2 = __esm(() => {
|
|
50605
50949
|
init_universalAllowanceSet();
|
|
50606
50950
|
init_components();
|
|
50607
50951
|
init_tools();
|
|
50608
|
-
|
|
50952
|
+
args63 = {
|
|
50609
50953
|
request: IncreaseAllowanceRequest$inboundSchema
|
|
50610
50954
|
};
|
|
50611
50955
|
tool$universalAllowanceSet = {
|
|
@@ -50619,9 +50963,9 @@ authorize a protocol to spend a specified amount of tokens on behalf of the user
|
|
|
50619
50963
|
This operation is crucial for ensuring that the protocol can manage the user's
|
|
50620
50964
|
tokens securely and efficiently, enabling seamless transactions and operations
|
|
50621
50965
|
within the DeFi ecosystem.`,
|
|
50622
|
-
args:
|
|
50623
|
-
tool: async (client,
|
|
50624
|
-
const [result, apiCall] = await universalAllowanceSet(client,
|
|
50966
|
+
args: args63,
|
|
50967
|
+
tool: async (client, args64, ctx) => {
|
|
50968
|
+
const [result, apiCall] = await universalAllowanceSet(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50625
50969
|
if (!result.ok) {
|
|
50626
50970
|
return {
|
|
50627
50971
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50636,9 +50980,9 @@ within the DeFi ecosystem.`,
|
|
|
50636
50980
|
|
|
50637
50981
|
// src/funcs/universalEns.ts
|
|
50638
50982
|
function universalEns(client, request, options) {
|
|
50639
|
-
return new APIPromise($
|
|
50983
|
+
return new APIPromise($do64(client, request, options));
|
|
50640
50984
|
}
|
|
50641
|
-
async function $
|
|
50985
|
+
async function $do64(client, request, options) {
|
|
50642
50986
|
const parsed = safeParse(request, (value) => GenericEnsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50643
50987
|
if (!parsed.ok) {
|
|
50644
50988
|
return [parsed, { status: "invalid" }];
|
|
@@ -50713,12 +51057,12 @@ var init_universalEns = __esm(() => {
|
|
|
50713
51057
|
});
|
|
50714
51058
|
|
|
50715
51059
|
// src/mcp-server/tools/universalEns.ts
|
|
50716
|
-
var
|
|
51060
|
+
var args64, tool$universalEns;
|
|
50717
51061
|
var init_universalEns2 = __esm(() => {
|
|
50718
51062
|
init_universalEns();
|
|
50719
51063
|
init_operations();
|
|
50720
51064
|
init_tools();
|
|
50721
|
-
|
|
51065
|
+
args64 = {
|
|
50722
51066
|
request: GenericEnsRequest$inboundSchema
|
|
50723
51067
|
};
|
|
50724
51068
|
tool$universalEns = {
|
|
@@ -50729,9 +51073,9 @@ An ENS name is a string ending in \`.eth\`.
|
|
|
50729
51073
|
|
|
50730
51074
|
E.g. \`vitalik.eth\`. This endpoint can be used to
|
|
50731
51075
|
query the actual ethereum wallet address behind the ENS name.`,
|
|
50732
|
-
args:
|
|
50733
|
-
tool: async (client,
|
|
50734
|
-
const [result, apiCall] = await universalEns(client,
|
|
51076
|
+
args: args64,
|
|
51077
|
+
tool: async (client, args65, ctx) => {
|
|
51078
|
+
const [result, apiCall] = await universalEns(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50735
51079
|
if (!result.ok) {
|
|
50736
51080
|
return {
|
|
50737
51081
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50746,9 +51090,9 @@ query the actual ethereum wallet address behind the ENS name.`,
|
|
|
50746
51090
|
|
|
50747
51091
|
// src/funcs/universalPortfolio.ts
|
|
50748
51092
|
function universalPortfolio(client, request, options) {
|
|
50749
|
-
return new APIPromise($
|
|
51093
|
+
return new APIPromise($do65(client, request, options));
|
|
50750
51094
|
}
|
|
50751
|
-
async function $
|
|
51095
|
+
async function $do65(client, request, options) {
|
|
50752
51096
|
const parsed = safeParse(request, (value) => GenericPortfolioRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50753
51097
|
if (!parsed.ok) {
|
|
50754
51098
|
return [parsed, { status: "invalid" }];
|
|
@@ -50823,12 +51167,12 @@ var init_universalPortfolio = __esm(() => {
|
|
|
50823
51167
|
});
|
|
50824
51168
|
|
|
50825
51169
|
// src/mcp-server/tools/universalPortfolio.ts
|
|
50826
|
-
var
|
|
51170
|
+
var args65, tool$universalPortfolio;
|
|
50827
51171
|
var init_universalPortfolio2 = __esm(() => {
|
|
50828
51172
|
init_universalPortfolio();
|
|
50829
51173
|
init_operations();
|
|
50830
51174
|
init_tools();
|
|
50831
|
-
|
|
51175
|
+
args65 = {
|
|
50832
51176
|
request: GenericPortfolioRequest$inboundSchema
|
|
50833
51177
|
};
|
|
50834
51178
|
tool$universalPortfolio = {
|
|
@@ -50839,9 +51183,9 @@ Fetch the detailed portfolio of a specific wallet address on a given blockchain.
|
|
|
50839
51183
|
|
|
50840
51184
|
This includes the total value of the portfolio in USD and a breakdown of token
|
|
50841
51185
|
balances, including their respective values and quantities.`,
|
|
50842
|
-
args:
|
|
50843
|
-
tool: async (client,
|
|
50844
|
-
const [result, apiCall] = await universalPortfolio(client,
|
|
51186
|
+
args: args65,
|
|
51187
|
+
tool: async (client, args66, ctx) => {
|
|
51188
|
+
const [result, apiCall] = await universalPortfolio(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50845
51189
|
if (!result.ok) {
|
|
50846
51190
|
return {
|
|
50847
51191
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50856,9 +51200,9 @@ balances, including their respective values and quantities.`,
|
|
|
50856
51200
|
|
|
50857
51201
|
// src/funcs/universalSupportedTokens.ts
|
|
50858
51202
|
function universalSupportedTokens(client, request, options) {
|
|
50859
|
-
return new APIPromise($
|
|
51203
|
+
return new APIPromise($do66(client, request, options));
|
|
50860
51204
|
}
|
|
50861
|
-
async function $
|
|
51205
|
+
async function $do66(client, request, options) {
|
|
50862
51206
|
const parsed = safeParse(request, (value) => GenericSupportedTokensRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50863
51207
|
if (!parsed.ok) {
|
|
50864
51208
|
return [parsed, { status: "invalid" }];
|
|
@@ -50932,12 +51276,12 @@ var init_universalSupportedTokens = __esm(() => {
|
|
|
50932
51276
|
});
|
|
50933
51277
|
|
|
50934
51278
|
// src/mcp-server/tools/universalSupportedTokens.ts
|
|
50935
|
-
var
|
|
51279
|
+
var args66, tool$universalSupportedTokens;
|
|
50936
51280
|
var init_universalSupportedTokens2 = __esm(() => {
|
|
50937
51281
|
init_universalSupportedTokens();
|
|
50938
51282
|
init_operations();
|
|
50939
51283
|
init_tools();
|
|
50940
|
-
|
|
51284
|
+
args66 = {
|
|
50941
51285
|
request: GenericSupportedTokensRequest$inboundSchema
|
|
50942
51286
|
};
|
|
50943
51287
|
tool$universalSupportedTokens = {
|
|
@@ -50945,9 +51289,9 @@ var init_universalSupportedTokens2 = __esm(() => {
|
|
|
50945
51289
|
description: `List supported tokens
|
|
50946
51290
|
|
|
50947
51291
|
Get the list of supported tokens on a chain by the Compass API.`,
|
|
50948
|
-
args:
|
|
50949
|
-
tool: async (client,
|
|
50950
|
-
const [result, apiCall] = await universalSupportedTokens(client,
|
|
51292
|
+
args: args66,
|
|
51293
|
+
tool: async (client, args67, ctx) => {
|
|
51294
|
+
const [result, apiCall] = await universalSupportedTokens(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50951
51295
|
if (!result.ok) {
|
|
50952
51296
|
return {
|
|
50953
51297
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50962,9 +51306,9 @@ Get the list of supported tokens on a chain by the Compass API.`,
|
|
|
50962
51306
|
|
|
50963
51307
|
// src/funcs/universalUnwrapWeth.ts
|
|
50964
51308
|
function universalUnwrapWeth(client, request, options) {
|
|
50965
|
-
return new APIPromise($
|
|
51309
|
+
return new APIPromise($do67(client, request, options));
|
|
50966
51310
|
}
|
|
50967
|
-
async function $
|
|
51311
|
+
async function $do67(client, request, options) {
|
|
50968
51312
|
const parsed = safeParse(request, (value) => UnwrapWethRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50969
51313
|
if (!parsed.ok) {
|
|
50970
51314
|
return [parsed, { status: "invalid" }];
|
|
@@ -51033,12 +51377,12 @@ var init_universalUnwrapWeth = __esm(() => {
|
|
|
51033
51377
|
});
|
|
51034
51378
|
|
|
51035
51379
|
// src/mcp-server/tools/universalUnwrapWeth.ts
|
|
51036
|
-
var
|
|
51380
|
+
var args67, tool$universalUnwrapWeth;
|
|
51037
51381
|
var init_universalUnwrapWeth2 = __esm(() => {
|
|
51038
51382
|
init_universalUnwrapWeth();
|
|
51039
51383
|
init_components();
|
|
51040
51384
|
init_tools();
|
|
51041
|
-
|
|
51385
|
+
args67 = {
|
|
51042
51386
|
request: UnwrapWethRequest$inboundSchema
|
|
51043
51387
|
};
|
|
51044
51388
|
tool$universalUnwrapWeth = {
|
|
@@ -51047,9 +51391,9 @@ var init_universalUnwrapWeth2 = __esm(() => {
|
|
|
51047
51391
|
|
|
51048
51392
|
Unwrapping WETH converts the ERC-20 compliant form of ETH back to native ETH that
|
|
51049
51393
|
can be used for gas and other native purposes.`,
|
|
51050
|
-
args:
|
|
51051
|
-
tool: async (client,
|
|
51052
|
-
const [result, apiCall] = await universalUnwrapWeth(client,
|
|
51394
|
+
args: args67,
|
|
51395
|
+
tool: async (client, args68, ctx) => {
|
|
51396
|
+
const [result, apiCall] = await universalUnwrapWeth(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51053
51397
|
if (!result.ok) {
|
|
51054
51398
|
return {
|
|
51055
51399
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51064,9 +51408,9 @@ can be used for gas and other native purposes.`,
|
|
|
51064
51408
|
|
|
51065
51409
|
// src/funcs/universalVisualizePortfolio.ts
|
|
51066
51410
|
function universalVisualizePortfolio(client, request, options) {
|
|
51067
|
-
return new APIPromise($
|
|
51411
|
+
return new APIPromise($do68(client, request, options));
|
|
51068
51412
|
}
|
|
51069
|
-
async function $
|
|
51413
|
+
async function $do68(client, request, options) {
|
|
51070
51414
|
const parsed = safeParse(request, (value) => GenericVisualizePortfolioRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51071
51415
|
if (!parsed.ok) {
|
|
51072
51416
|
return [parsed, { status: "invalid" }];
|
|
@@ -51141,12 +51485,12 @@ var init_universalVisualizePortfolio = __esm(() => {
|
|
|
51141
51485
|
});
|
|
51142
51486
|
|
|
51143
51487
|
// src/mcp-server/tools/universalVisualizePortfolio.ts
|
|
51144
|
-
var
|
|
51488
|
+
var args68, tool$universalVisualizePortfolio;
|
|
51145
51489
|
var init_universalVisualizePortfolio2 = __esm(() => {
|
|
51146
51490
|
init_universalVisualizePortfolio();
|
|
51147
51491
|
init_operations();
|
|
51148
51492
|
init_tools();
|
|
51149
|
-
|
|
51493
|
+
args68 = {
|
|
51150
51494
|
request: GenericVisualizePortfolioRequest$inboundSchema
|
|
51151
51495
|
};
|
|
51152
51496
|
tool$universalVisualizePortfolio = {
|
|
@@ -51158,9 +51502,9 @@ Generate a visual representation of the token portfolio for a wallet address.
|
|
|
51158
51502
|
The response is an SVG image of a pie chart depicting the relative distribution of
|
|
51159
51503
|
tokens held, colored and labeled with token symbols, percentages and token values in
|
|
51160
51504
|
USD.`,
|
|
51161
|
-
args:
|
|
51162
|
-
tool: async (client,
|
|
51163
|
-
const [result, apiCall] = await universalVisualizePortfolio(client,
|
|
51505
|
+
args: args68,
|
|
51506
|
+
tool: async (client, args69, ctx) => {
|
|
51507
|
+
const [result, apiCall] = await universalVisualizePortfolio(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51164
51508
|
if (!result.ok) {
|
|
51165
51509
|
return {
|
|
51166
51510
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51175,9 +51519,9 @@ USD.`,
|
|
|
51175
51519
|
|
|
51176
51520
|
// src/funcs/universalWrapEth.ts
|
|
51177
51521
|
function universalWrapEth(client, request, options) {
|
|
51178
|
-
return new APIPromise($
|
|
51522
|
+
return new APIPromise($do69(client, request, options));
|
|
51179
51523
|
}
|
|
51180
|
-
async function $
|
|
51524
|
+
async function $do69(client, request, options) {
|
|
51181
51525
|
const parsed = safeParse(request, (value) => WrapEthRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51182
51526
|
if (!parsed.ok) {
|
|
51183
51527
|
return [parsed, { status: "invalid" }];
|
|
@@ -51246,12 +51590,12 @@ var init_universalWrapEth = __esm(() => {
|
|
|
51246
51590
|
});
|
|
51247
51591
|
|
|
51248
51592
|
// src/mcp-server/tools/universalWrapEth.ts
|
|
51249
|
-
var
|
|
51593
|
+
var args69, tool$universalWrapEth;
|
|
51250
51594
|
var init_universalWrapEth2 = __esm(() => {
|
|
51251
51595
|
init_universalWrapEth();
|
|
51252
51596
|
init_components();
|
|
51253
51597
|
init_tools();
|
|
51254
|
-
|
|
51598
|
+
args69 = {
|
|
51255
51599
|
request: WrapEthRequest$inboundSchema
|
|
51256
51600
|
};
|
|
51257
51601
|
tool$universalWrapEth = {
|
|
@@ -51260,9 +51604,9 @@ var init_universalWrapEth2 = __esm(() => {
|
|
|
51260
51604
|
|
|
51261
51605
|
Wrapping ETH creates an ERC20 compliant form of ETH that is typically needed for
|
|
51262
51606
|
it to be traded on DeFi protocols.`,
|
|
51263
|
-
args:
|
|
51264
|
-
tool: async (client,
|
|
51265
|
-
const [result, apiCall] = await universalWrapEth(client,
|
|
51607
|
+
args: args69,
|
|
51608
|
+
tool: async (client, args70, ctx) => {
|
|
51609
|
+
const [result, apiCall] = await universalWrapEth(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51266
51610
|
if (!result.ok) {
|
|
51267
51611
|
return {
|
|
51268
51612
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51279,7 +51623,7 @@ it to be traded on DeFi protocols.`,
|
|
|
51279
51623
|
function createMCPServer(deps) {
|
|
51280
51624
|
const server = new McpServer({
|
|
51281
51625
|
name: "CompassApiSDK",
|
|
51282
|
-
version: "0.2.
|
|
51626
|
+
version: "0.2.2"
|
|
51283
51627
|
});
|
|
51284
51628
|
const client = new CompassApiSDKCore({
|
|
51285
51629
|
apiKeyAuth: deps.apiKeyAuth,
|
|
@@ -51355,6 +51699,8 @@ function createMCPServer(deps) {
|
|
|
51355
51699
|
tool(tool$universalUnwrapWeth);
|
|
51356
51700
|
tool(tool$universalAllowanceSet);
|
|
51357
51701
|
tool(tool$pendlePosition);
|
|
51702
|
+
tool(tool$pendlePositions);
|
|
51703
|
+
tool(tool$pendleMarkets);
|
|
51358
51704
|
tool(tool$pendleMarket);
|
|
51359
51705
|
tool(tool$transactionBatchingAuthorization);
|
|
51360
51706
|
tool(tool$transactionBatchingExecute);
|
|
@@ -51402,7 +51748,9 @@ var init_server2 = __esm(() => {
|
|
|
51402
51748
|
init_morphoWithdraw2();
|
|
51403
51749
|
init_morphoWithdrawCollateral2();
|
|
51404
51750
|
init_pendleMarket2();
|
|
51751
|
+
init_pendleMarkets2();
|
|
51405
51752
|
init_pendlePosition2();
|
|
51753
|
+
init_pendlePositions2();
|
|
51406
51754
|
init_skyBuy2();
|
|
51407
51755
|
init_skyDeposit2();
|
|
51408
51756
|
init_skyPosition2();
|
|
@@ -52624,7 +52972,7 @@ var routes = an({
|
|
|
52624
52972
|
var app = He(routes, {
|
|
52625
52973
|
name: "mcp",
|
|
52626
52974
|
versionInfo: {
|
|
52627
|
-
currentVersion: "0.2.
|
|
52975
|
+
currentVersion: "0.2.2"
|
|
52628
52976
|
}
|
|
52629
52977
|
});
|
|
52630
52978
|
zt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -52632,5 +52980,5 @@ export {
|
|
|
52632
52980
|
app
|
|
52633
52981
|
};
|
|
52634
52982
|
|
|
52635
|
-
//# debugId=
|
|
52983
|
+
//# debugId=B8AE0993EC2B030F64756E2164756E21
|
|
52636
52984
|
//# sourceMappingURL=mcp-server.js.map
|