@compass-labs/api-sdk 1.0.27 → 1.0.28-rc0
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 +0 -4
- package/bin/mcp-server.js +362 -2183
- package/bin/mcp-server.js.map +72 -81
- package/dist/commonjs/funcs/skySkyBuy.d.ts +1 -0
- package/dist/commonjs/funcs/skySkyBuy.d.ts.map +1 -1
- package/dist/commonjs/funcs/skySkyBuy.js +1 -0
- package/dist/commonjs/funcs/skySkyBuy.js.map +1 -1
- package/dist/commonjs/funcs/skySkySell.d.ts +1 -0
- package/dist/commonjs/funcs/skySkySell.d.ts.map +1 -1
- package/dist/commonjs/funcs/skySkySell.js +1 -0
- package/dist/commonjs/funcs/skySkySell.js.map +1 -1
- package/dist/commonjs/funcs/skySkyWithdraw.d.ts +1 -2
- package/dist/commonjs/funcs/skySkyWithdraw.d.ts.map +1 -1
- package/dist/commonjs/funcs/skySkyWithdraw.js +1 -2
- package/dist/commonjs/funcs/skySkyWithdraw.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js.map +1 -1
- package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -5
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/skySkyBuy.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/skySkyBuy.js +1 -0
- package/dist/commonjs/mcp-server/tools/skySkyBuy.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/skySkySell.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/skySkySell.js +1 -0
- package/dist/commonjs/mcp-server/tools/skySkySell.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/skySkyWithdraw.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/skySkyWithdraw.js +1 -2
- package/dist/commonjs/mcp-server/tools/skySkyWithdraw.js.map +1 -1
- package/dist/commonjs/models/components/aaveborrowparams.d.ts +2 -8
- package/dist/commonjs/models/components/aaveborrowparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/aaveborrowparams.js +2 -3
- package/dist/commonjs/models/components/aaveborrowparams.js.map +1 -1
- package/dist/commonjs/models/components/aaveborrowrequest.d.ts +2 -8
- package/dist/commonjs/models/components/aaveborrowrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/aaveborrowrequest.js +2 -3
- package/dist/commonjs/models/components/aaveborrowrequest.js.map +1 -1
- package/dist/commonjs/models/components/aavelooprequest.d.ts +4 -15
- package/dist/commonjs/models/components/aavelooprequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/aavelooprequest.js +4 -5
- package/dist/commonjs/models/components/aavelooprequest.js.map +1 -1
- package/dist/commonjs/models/components/aaverepayparams.d.ts +2 -8
- package/dist/commonjs/models/components/aaverepayparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/aaverepayparams.js +2 -3
- package/dist/commonjs/models/components/aaverepayparams.js.map +1 -1
- package/dist/commonjs/models/components/aaverepayrequest.d.ts +2 -8
- package/dist/commonjs/models/components/aaverepayrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/aaverepayrequest.js +2 -3
- package/dist/commonjs/models/components/aaverepayrequest.js.map +1 -1
- package/dist/commonjs/models/components/aavesupplyparams.d.ts +2 -8
- package/dist/commonjs/models/components/aavesupplyparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/aavesupplyparams.js +2 -3
- package/dist/commonjs/models/components/aavesupplyparams.js.map +1 -1
- package/dist/commonjs/models/components/aavesupplyrequest.d.ts +2 -8
- package/dist/commonjs/models/components/aavesupplyrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/aavesupplyrequest.js +2 -3
- package/dist/commonjs/models/components/aavesupplyrequest.js.map +1 -1
- package/dist/commonjs/models/components/aavewithdrawparams.d.ts +2 -8
- package/dist/commonjs/models/components/aavewithdrawparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/aavewithdrawparams.js +2 -3
- package/dist/commonjs/models/components/aavewithdrawparams.js.map +1 -1
- package/dist/commonjs/models/components/aavewithdrawrequest.d.ts +2 -8
- package/dist/commonjs/models/components/aavewithdrawrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/aavewithdrawrequest.js +2 -3
- package/dist/commonjs/models/components/aavewithdrawrequest.js.map +1 -1
- package/dist/commonjs/models/components/aerodromeposition.d.ts +2 -19
- package/dist/commonjs/models/components/aerodromeposition.d.ts.map +1 -1
- package/dist/commonjs/models/components/aerodromeposition.js +4 -5
- package/dist/commonjs/models/components/aerodromeposition.js.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyparams.d.ts +4 -15
- package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyparams.js +4 -5
- package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyparams.js.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyrequest.d.ts +4 -15
- package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyrequest.js +4 -5
- package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyrequest.js.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionparams.d.ts +4 -15
- package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionparams.js +4 -5
- package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionparams.js.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionrequest.d.ts +4 -15
- package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionrequest.js +4 -5
- package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionrequest.js.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreampoolpriceresponse.d.ts +4 -15
- package/dist/commonjs/models/components/aerodromeslipstreampoolpriceresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreampoolpriceresponse.js +4 -5
- package/dist/commonjs/models/components/aerodromeslipstreampoolpriceresponse.js.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyparams.d.ts +4 -15
- package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyparams.js +4 -5
- package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyparams.js.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyrequest.d.ts +4 -15
- package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyrequest.js +4 -5
- package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyrequest.js.map +1 -1
- package/dist/commonjs/models/components/batcheduseroperationsrequest.d.ts +4 -0
- package/dist/commonjs/models/components/batcheduseroperationsrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/batcheduseroperationsrequest.js.map +1 -1
- package/dist/commonjs/models/components/compassapibackendmodelsgenericreadresponseportfoliotokenbalance.d.ts +2 -8
- package/dist/commonjs/models/components/compassapibackendmodelsgenericreadresponseportfoliotokenbalance.d.ts.map +1 -1
- package/dist/commonjs/models/components/compassapibackendmodelsgenericreadresponseportfoliotokenbalance.js +2 -3
- package/dist/commonjs/models/components/compassapibackendmodelsgenericreadresponseportfoliotokenbalance.js.map +1 -1
- package/dist/commonjs/models/components/index.d.ts +0 -3
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +0 -3
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/odosswapparams.d.ts +4 -53
- package/dist/commonjs/models/components/odosswapparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/odosswapparams.js +5 -52
- package/dist/commonjs/models/components/odosswapparams.js.map +1 -1
- package/dist/commonjs/models/components/odosswaprequest.d.ts +4 -53
- package/dist/commonjs/models/components/odosswaprequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/odosswaprequest.js +5 -52
- package/dist/commonjs/models/components/odosswaprequest.js.map +1 -1
- package/dist/commonjs/models/components/pendlemanageliquidityparams.d.ts +2 -27
- package/dist/commonjs/models/components/pendlemanageliquidityparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendlemanageliquidityparams.js +3 -27
- package/dist/commonjs/models/components/pendlemanageliquidityparams.js.map +1 -1
- package/dist/commonjs/models/components/pendlemanageliquidityrequest.d.ts +2 -27
- package/dist/commonjs/models/components/pendlemanageliquidityrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendlemanageliquidityrequest.js +3 -27
- package/dist/commonjs/models/components/pendlemanageliquidityrequest.js.map +1 -1
- package/dist/commonjs/models/components/pendletradeptparams.d.ts +2 -27
- package/dist/commonjs/models/components/pendletradeptparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendletradeptparams.js +3 -27
- package/dist/commonjs/models/components/pendletradeptparams.js.map +1 -1
- package/dist/commonjs/models/components/pendletradeptrequest.d.ts +2 -27
- package/dist/commonjs/models/components/pendletradeptrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendletradeptrequest.js +3 -27
- package/dist/commonjs/models/components/pendletradeptrequest.js.map +1 -1
- package/dist/commonjs/models/components/pendletradeytparams.d.ts +2 -27
- package/dist/commonjs/models/components/pendletradeytparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendletradeytparams.js +3 -27
- package/dist/commonjs/models/components/pendletradeytparams.js.map +1 -1
- package/dist/commonjs/models/components/pendletradeytrequest.d.ts +2 -27
- package/dist/commonjs/models/components/pendletradeytrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendletradeytrequest.js +3 -27
- package/dist/commonjs/models/components/pendletradeytrequest.js.map +1 -1
- package/dist/commonjs/models/components/reserve.d.ts +3 -9
- package/dist/commonjs/models/components/reserve.d.ts.map +1 -1
- package/dist/commonjs/models/components/reserve.js +2 -3
- package/dist/commonjs/models/components/reserve.js.map +1 -1
- package/dist/commonjs/models/components/setallowanceparams.d.ts +2 -27
- package/dist/commonjs/models/components/setallowanceparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/setallowanceparams.js +3 -27
- package/dist/commonjs/models/components/setallowanceparams.js.map +1 -1
- package/dist/commonjs/models/components/setallowancerequest.d.ts +2 -27
- package/dist/commonjs/models/components/setallowancerequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/setallowancerequest.js +3 -27
- package/dist/commonjs/models/components/setallowancerequest.js.map +1 -1
- package/dist/commonjs/models/components/skysellrequest.d.ts +1 -1
- package/dist/commonjs/models/components/skysellrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/skysellrequest.js +2 -2
- package/dist/commonjs/models/components/skysellrequest.js.map +1 -1
- package/dist/commonjs/models/components/tokenbalanceresponse.d.ts +3 -28
- package/dist/commonjs/models/components/tokenbalanceresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/tokenbalanceresponse.js +3 -27
- package/dist/commonjs/models/components/tokenbalanceresponse.js.map +1 -1
- package/dist/commonjs/models/components/tokentransferparams.d.ts +2 -27
- package/dist/commonjs/models/components/tokentransferparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/tokentransferparams.js +3 -27
- package/dist/commonjs/models/components/tokentransferparams.js.map +1 -1
- package/dist/commonjs/models/components/tokentransferrequest.d.ts +2 -27
- package/dist/commonjs/models/components/tokentransferrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/tokentransferrequest.js +3 -27
- package/dist/commonjs/models/components/tokentransferrequest.js.map +1 -1
- package/dist/commonjs/models/components/uniswapbuyexactlyparams.d.ts +6 -55
- package/dist/commonjs/models/components/uniswapbuyexactlyparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/uniswapbuyexactlyparams.js +5 -52
- package/dist/commonjs/models/components/uniswapbuyexactlyparams.js.map +1 -1
- package/dist/commonjs/models/components/uniswapbuyexactlyrequest.d.ts +6 -55
- package/dist/commonjs/models/components/uniswapbuyexactlyrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/uniswapbuyexactlyrequest.js +5 -52
- package/dist/commonjs/models/components/uniswapbuyexactlyrequest.js.map +1 -1
- package/dist/commonjs/models/components/uniswapmintliquidityprovisionparams.d.ts +4 -15
- package/dist/commonjs/models/components/uniswapmintliquidityprovisionparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/uniswapmintliquidityprovisionparams.js +4 -5
- package/dist/commonjs/models/components/uniswapmintliquidityprovisionparams.js.map +1 -1
- package/dist/commonjs/models/components/uniswapmintliquidityprovisionrequest.d.ts +4 -15
- package/dist/commonjs/models/components/uniswapmintliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/uniswapmintliquidityprovisionrequest.js +4 -5
- package/dist/commonjs/models/components/uniswapmintliquidityprovisionrequest.js.map +1 -1
- package/dist/commonjs/models/components/uniswappoolpriceresponse.d.ts +4 -15
- package/dist/commonjs/models/components/uniswappoolpriceresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/uniswappoolpriceresponse.js +4 -5
- package/dist/commonjs/models/components/uniswappoolpriceresponse.js.map +1 -1
- package/dist/commonjs/models/components/uniswapsellexactlyparams.d.ts +4 -53
- package/dist/commonjs/models/components/uniswapsellexactlyparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/uniswapsellexactlyparams.js +5 -52
- package/dist/commonjs/models/components/uniswapsellexactlyparams.js.map +1 -1
- package/dist/commonjs/models/components/uniswapsellexactlyrequest.d.ts +4 -53
- package/dist/commonjs/models/components/uniswapsellexactlyrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/uniswapsellexactlyrequest.js +5 -52
- package/dist/commonjs/models/components/uniswapsellexactlyrequest.js.map +1 -1
- package/dist/commonjs/models/operations/index.d.ts +0 -2
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +0 -2
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/v1aaveavgrate.d.ts +2 -241
- package/dist/commonjs/models/operations/v1aaveavgrate.d.ts.map +1 -1
- package/dist/commonjs/models/operations/v1aaveavgrate.js +3 -96
- package/dist/commonjs/models/operations/v1aaveavgrate.js.map +1 -1
- package/dist/commonjs/models/operations/v1aaveliquiditychange.d.ts +2 -241
- package/dist/commonjs/models/operations/v1aaveliquiditychange.d.ts.map +1 -1
- package/dist/commonjs/models/operations/v1aaveliquiditychange.js +3 -96
- package/dist/commonjs/models/operations/v1aaveliquiditychange.js.map +1 -1
- package/dist/commonjs/models/operations/v1aaverate.d.ts +2 -241
- package/dist/commonjs/models/operations/v1aaverate.d.ts.map +1 -1
- package/dist/commonjs/models/operations/v1aaverate.js +3 -96
- package/dist/commonjs/models/operations/v1aaverate.js.map +1 -1
- package/dist/commonjs/models/operations/v1aavereserveoverview.d.ts +2 -241
- package/dist/commonjs/models/operations/v1aavereserveoverview.d.ts.map +1 -1
- package/dist/commonjs/models/operations/v1aavereserveoverview.js +3 -96
- package/dist/commonjs/models/operations/v1aavereserveoverview.js.map +1 -1
- package/dist/commonjs/models/operations/v1aavestdrate.d.ts +2 -241
- package/dist/commonjs/models/operations/v1aavestdrate.d.ts.map +1 -1
- package/dist/commonjs/models/operations/v1aavestdrate.js +3 -96
- package/dist/commonjs/models/operations/v1aavestdrate.js.map +1 -1
- package/dist/commonjs/models/operations/v1aavetokenprice.d.ts +2 -241
- package/dist/commonjs/models/operations/v1aavetokenprice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/v1aavetokenprice.js +3 -96
- package/dist/commonjs/models/operations/v1aavetokenprice.js.map +1 -1
- package/dist/commonjs/models/operations/v1aaveuserpositionpertoken.d.ts +2 -241
- package/dist/commonjs/models/operations/v1aaveuserpositionpertoken.d.ts.map +1 -1
- package/dist/commonjs/models/operations/v1aaveuserpositionpertoken.js +3 -96
- package/dist/commonjs/models/operations/v1aaveuserpositionpertoken.js.map +1 -1
- package/dist/commonjs/models/operations/v1aerodromeslipstreampoolprice.d.ts +4 -482
- package/dist/commonjs/models/operations/v1aerodromeslipstreampoolprice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/v1aerodromeslipstreampoolprice.js +5 -193
- package/dist/commonjs/models/operations/v1aerodromeslipstreampoolprice.js.map +1 -1
- package/dist/commonjs/models/operations/v1genericallowance.d.ts +3 -28
- package/dist/commonjs/models/operations/v1genericallowance.d.ts.map +1 -1
- package/dist/commonjs/models/operations/v1genericallowance.js +3 -27
- package/dist/commonjs/models/operations/v1genericallowance.js.map +1 -1
- package/dist/commonjs/models/operations/v1morphomarkets.d.ts +6 -55
- package/dist/commonjs/models/operations/v1morphomarkets.d.ts.map +1 -1
- package/dist/commonjs/models/operations/v1morphomarkets.js +5 -52
- package/dist/commonjs/models/operations/v1morphomarkets.js.map +1 -1
- package/dist/commonjs/models/operations/v1morphovaults.d.ts +3 -28
- package/dist/commonjs/models/operations/v1morphovaults.d.ts.map +1 -1
- package/dist/commonjs/models/operations/v1morphovaults.js +3 -27
- package/dist/commonjs/models/operations/v1morphovaults.js.map +1 -1
- package/dist/commonjs/models/operations/v1skyposition.js +2 -2
- package/dist/commonjs/models/operations/v1tokenbalance.d.ts +4 -29
- package/dist/commonjs/models/operations/v1tokenbalance.d.ts.map +1 -1
- package/dist/commonjs/models/operations/v1tokenbalance.js +3 -27
- package/dist/commonjs/models/operations/v1tokenbalance.js.map +1 -1
- package/dist/commonjs/models/operations/v1tokenprice.d.ts +3 -3
- package/dist/commonjs/models/operations/v1tokenprice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/v1tokenprice.js +2 -2
- package/dist/commonjs/models/operations/v1tokenprice.js.map +1 -1
- package/dist/commonjs/models/operations/v1uniswappoolprice.d.ts +4 -482
- package/dist/commonjs/models/operations/v1uniswappoolprice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/v1uniswappoolprice.js +5 -191
- package/dist/commonjs/models/operations/v1uniswappoolprice.js.map +1 -1
- package/dist/commonjs/models/operations/v1uniswapquotebuyexactly.d.ts +4 -482
- package/dist/commonjs/models/operations/v1uniswapquotebuyexactly.d.ts.map +1 -1
- package/dist/commonjs/models/operations/v1uniswapquotebuyexactly.js +5 -191
- package/dist/commonjs/models/operations/v1uniswapquotebuyexactly.js.map +1 -1
- package/dist/commonjs/models/operations/v1uniswapquotesellexactly.d.ts +4 -482
- package/dist/commonjs/models/operations/v1uniswapquotesellexactly.d.ts.map +1 -1
- package/dist/commonjs/models/operations/v1uniswapquotesellexactly.js +5 -191
- package/dist/commonjs/models/operations/v1uniswapquotesellexactly.js.map +1 -1
- package/dist/commonjs/sdk/sky.d.ts +3 -2
- package/dist/commonjs/sdk/sky.d.ts.map +1 -1
- package/dist/commonjs/sdk/sky.js +3 -2
- package/dist/commonjs/sdk/sky.js.map +1 -1
- package/dist/commonjs/sdk/token.d.ts +0 -7
- package/dist/commonjs/sdk/token.d.ts.map +1 -1
- package/dist/commonjs/sdk/token.js +0 -10
- package/dist/commonjs/sdk/token.js.map +1 -1
- package/dist/commonjs/sdk/universal.d.ts +0 -7
- package/dist/commonjs/sdk/universal.d.ts.map +1 -1
- package/dist/commonjs/sdk/universal.js +0 -10
- package/dist/commonjs/sdk/universal.js.map +1 -1
- package/dist/esm/funcs/skySkyBuy.d.ts +1 -0
- package/dist/esm/funcs/skySkyBuy.d.ts.map +1 -1
- package/dist/esm/funcs/skySkyBuy.js +1 -0
- package/dist/esm/funcs/skySkyBuy.js.map +1 -1
- package/dist/esm/funcs/skySkySell.d.ts +1 -0
- package/dist/esm/funcs/skySkySell.d.ts.map +1 -1
- package/dist/esm/funcs/skySkySell.js +1 -0
- package/dist/esm/funcs/skySkySell.js.map +1 -1
- package/dist/esm/funcs/skySkyWithdraw.d.ts +1 -2
- package/dist/esm/funcs/skySkyWithdraw.d.ts.map +1 -1
- package/dist/esm/funcs/skySkyWithdraw.js +1 -2
- package/dist/esm/funcs/skySkyWithdraw.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/mcp-server.js.map +1 -1
- package/dist/esm/mcp-server/server.d.ts.map +1 -1
- package/dist/esm/mcp-server/server.js +1 -5
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/skySkyBuy.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/skySkyBuy.js +1 -0
- package/dist/esm/mcp-server/tools/skySkyBuy.js.map +1 -1
- package/dist/esm/mcp-server/tools/skySkySell.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/skySkySell.js +1 -0
- package/dist/esm/mcp-server/tools/skySkySell.js.map +1 -1
- package/dist/esm/mcp-server/tools/skySkyWithdraw.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/skySkyWithdraw.js +1 -2
- package/dist/esm/mcp-server/tools/skySkyWithdraw.js.map +1 -1
- package/dist/esm/models/components/aaveborrowparams.d.ts +2 -8
- package/dist/esm/models/components/aaveborrowparams.d.ts.map +1 -1
- package/dist/esm/models/components/aaveborrowparams.js +2 -3
- package/dist/esm/models/components/aaveborrowparams.js.map +1 -1
- package/dist/esm/models/components/aaveborrowrequest.d.ts +2 -8
- package/dist/esm/models/components/aaveborrowrequest.d.ts.map +1 -1
- package/dist/esm/models/components/aaveborrowrequest.js +2 -3
- package/dist/esm/models/components/aaveborrowrequest.js.map +1 -1
- package/dist/esm/models/components/aavelooprequest.d.ts +4 -15
- package/dist/esm/models/components/aavelooprequest.d.ts.map +1 -1
- package/dist/esm/models/components/aavelooprequest.js +4 -5
- package/dist/esm/models/components/aavelooprequest.js.map +1 -1
- package/dist/esm/models/components/aaverepayparams.d.ts +2 -8
- package/dist/esm/models/components/aaverepayparams.d.ts.map +1 -1
- package/dist/esm/models/components/aaverepayparams.js +2 -3
- package/dist/esm/models/components/aaverepayparams.js.map +1 -1
- package/dist/esm/models/components/aaverepayrequest.d.ts +2 -8
- package/dist/esm/models/components/aaverepayrequest.d.ts.map +1 -1
- package/dist/esm/models/components/aaverepayrequest.js +2 -3
- package/dist/esm/models/components/aaverepayrequest.js.map +1 -1
- package/dist/esm/models/components/aavesupplyparams.d.ts +2 -8
- package/dist/esm/models/components/aavesupplyparams.d.ts.map +1 -1
- package/dist/esm/models/components/aavesupplyparams.js +2 -3
- package/dist/esm/models/components/aavesupplyparams.js.map +1 -1
- package/dist/esm/models/components/aavesupplyrequest.d.ts +2 -8
- package/dist/esm/models/components/aavesupplyrequest.d.ts.map +1 -1
- package/dist/esm/models/components/aavesupplyrequest.js +2 -3
- package/dist/esm/models/components/aavesupplyrequest.js.map +1 -1
- package/dist/esm/models/components/aavewithdrawparams.d.ts +2 -8
- package/dist/esm/models/components/aavewithdrawparams.d.ts.map +1 -1
- package/dist/esm/models/components/aavewithdrawparams.js +2 -3
- package/dist/esm/models/components/aavewithdrawparams.js.map +1 -1
- package/dist/esm/models/components/aavewithdrawrequest.d.ts +2 -8
- package/dist/esm/models/components/aavewithdrawrequest.d.ts.map +1 -1
- package/dist/esm/models/components/aavewithdrawrequest.js +2 -3
- package/dist/esm/models/components/aavewithdrawrequest.js.map +1 -1
- package/dist/esm/models/components/aerodromeposition.d.ts +2 -19
- package/dist/esm/models/components/aerodromeposition.d.ts.map +1 -1
- package/dist/esm/models/components/aerodromeposition.js +4 -5
- package/dist/esm/models/components/aerodromeposition.js.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreambuyexactlyparams.d.ts +4 -15
- package/dist/esm/models/components/aerodromeslipstreambuyexactlyparams.d.ts.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreambuyexactlyparams.js +4 -5
- package/dist/esm/models/components/aerodromeslipstreambuyexactlyparams.js.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreambuyexactlyrequest.d.ts +4 -15
- package/dist/esm/models/components/aerodromeslipstreambuyexactlyrequest.d.ts.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreambuyexactlyrequest.js +4 -5
- package/dist/esm/models/components/aerodromeslipstreambuyexactlyrequest.js.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionparams.d.ts +4 -15
- package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionparams.d.ts.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionparams.js +4 -5
- package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionparams.js.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionrequest.d.ts +4 -15
- package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionrequest.js +4 -5
- package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionrequest.js.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreampoolpriceresponse.d.ts +4 -15
- package/dist/esm/models/components/aerodromeslipstreampoolpriceresponse.d.ts.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreampoolpriceresponse.js +4 -5
- package/dist/esm/models/components/aerodromeslipstreampoolpriceresponse.js.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreamsellexactlyparams.d.ts +4 -15
- package/dist/esm/models/components/aerodromeslipstreamsellexactlyparams.d.ts.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreamsellexactlyparams.js +4 -5
- package/dist/esm/models/components/aerodromeslipstreamsellexactlyparams.js.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreamsellexactlyrequest.d.ts +4 -15
- package/dist/esm/models/components/aerodromeslipstreamsellexactlyrequest.d.ts.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreamsellexactlyrequest.js +4 -5
- package/dist/esm/models/components/aerodromeslipstreamsellexactlyrequest.js.map +1 -1
- package/dist/esm/models/components/batcheduseroperationsrequest.d.ts +4 -0
- package/dist/esm/models/components/batcheduseroperationsrequest.d.ts.map +1 -1
- package/dist/esm/models/components/batcheduseroperationsrequest.js.map +1 -1
- package/dist/esm/models/components/compassapibackendmodelsgenericreadresponseportfoliotokenbalance.d.ts +2 -8
- package/dist/esm/models/components/compassapibackendmodelsgenericreadresponseportfoliotokenbalance.d.ts.map +1 -1
- package/dist/esm/models/components/compassapibackendmodelsgenericreadresponseportfoliotokenbalance.js +2 -3
- package/dist/esm/models/components/compassapibackendmodelsgenericreadresponseportfoliotokenbalance.js.map +1 -1
- package/dist/esm/models/components/index.d.ts +0 -3
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +0 -3
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/odosswapparams.d.ts +4 -53
- package/dist/esm/models/components/odosswapparams.d.ts.map +1 -1
- package/dist/esm/models/components/odosswapparams.js +4 -47
- package/dist/esm/models/components/odosswapparams.js.map +1 -1
- package/dist/esm/models/components/odosswaprequest.d.ts +4 -53
- package/dist/esm/models/components/odosswaprequest.d.ts.map +1 -1
- package/dist/esm/models/components/odosswaprequest.js +4 -47
- package/dist/esm/models/components/odosswaprequest.js.map +1 -1
- package/dist/esm/models/components/pendlemanageliquidityparams.d.ts +2 -27
- package/dist/esm/models/components/pendlemanageliquidityparams.d.ts.map +1 -1
- package/dist/esm/models/components/pendlemanageliquidityparams.js +2 -24
- package/dist/esm/models/components/pendlemanageliquidityparams.js.map +1 -1
- package/dist/esm/models/components/pendlemanageliquidityrequest.d.ts +2 -27
- package/dist/esm/models/components/pendlemanageliquidityrequest.d.ts.map +1 -1
- package/dist/esm/models/components/pendlemanageliquidityrequest.js +2 -24
- package/dist/esm/models/components/pendlemanageliquidityrequest.js.map +1 -1
- package/dist/esm/models/components/pendletradeptparams.d.ts +2 -27
- package/dist/esm/models/components/pendletradeptparams.d.ts.map +1 -1
- package/dist/esm/models/components/pendletradeptparams.js +2 -24
- package/dist/esm/models/components/pendletradeptparams.js.map +1 -1
- package/dist/esm/models/components/pendletradeptrequest.d.ts +2 -27
- package/dist/esm/models/components/pendletradeptrequest.d.ts.map +1 -1
- package/dist/esm/models/components/pendletradeptrequest.js +2 -24
- package/dist/esm/models/components/pendletradeptrequest.js.map +1 -1
- package/dist/esm/models/components/pendletradeytparams.d.ts +2 -27
- package/dist/esm/models/components/pendletradeytparams.d.ts.map +1 -1
- package/dist/esm/models/components/pendletradeytparams.js +2 -24
- package/dist/esm/models/components/pendletradeytparams.js.map +1 -1
- package/dist/esm/models/components/pendletradeytrequest.d.ts +2 -27
- package/dist/esm/models/components/pendletradeytrequest.d.ts.map +1 -1
- package/dist/esm/models/components/pendletradeytrequest.js +2 -24
- package/dist/esm/models/components/pendletradeytrequest.js.map +1 -1
- package/dist/esm/models/components/reserve.d.ts +3 -9
- package/dist/esm/models/components/reserve.d.ts.map +1 -1
- package/dist/esm/models/components/reserve.js +2 -3
- package/dist/esm/models/components/reserve.js.map +1 -1
- package/dist/esm/models/components/setallowanceparams.d.ts +2 -27
- package/dist/esm/models/components/setallowanceparams.d.ts.map +1 -1
- package/dist/esm/models/components/setallowanceparams.js +2 -24
- package/dist/esm/models/components/setallowanceparams.js.map +1 -1
- package/dist/esm/models/components/setallowancerequest.d.ts +2 -27
- package/dist/esm/models/components/setallowancerequest.d.ts.map +1 -1
- package/dist/esm/models/components/setallowancerequest.js +2 -24
- package/dist/esm/models/components/setallowancerequest.js.map +1 -1
- package/dist/esm/models/components/skysellrequest.d.ts +1 -1
- package/dist/esm/models/components/skysellrequest.d.ts.map +1 -1
- package/dist/esm/models/components/skysellrequest.js +2 -2
- package/dist/esm/models/components/skysellrequest.js.map +1 -1
- package/dist/esm/models/components/tokenbalanceresponse.d.ts +3 -28
- package/dist/esm/models/components/tokenbalanceresponse.d.ts.map +1 -1
- package/dist/esm/models/components/tokenbalanceresponse.js +2 -24
- package/dist/esm/models/components/tokenbalanceresponse.js.map +1 -1
- package/dist/esm/models/components/tokentransferparams.d.ts +2 -27
- package/dist/esm/models/components/tokentransferparams.d.ts.map +1 -1
- package/dist/esm/models/components/tokentransferparams.js +2 -24
- package/dist/esm/models/components/tokentransferparams.js.map +1 -1
- package/dist/esm/models/components/tokentransferrequest.d.ts +2 -27
- package/dist/esm/models/components/tokentransferrequest.d.ts.map +1 -1
- package/dist/esm/models/components/tokentransferrequest.js +2 -24
- package/dist/esm/models/components/tokentransferrequest.js.map +1 -1
- package/dist/esm/models/components/uniswapbuyexactlyparams.d.ts +6 -55
- package/dist/esm/models/components/uniswapbuyexactlyparams.d.ts.map +1 -1
- package/dist/esm/models/components/uniswapbuyexactlyparams.js +4 -47
- package/dist/esm/models/components/uniswapbuyexactlyparams.js.map +1 -1
- package/dist/esm/models/components/uniswapbuyexactlyrequest.d.ts +6 -55
- package/dist/esm/models/components/uniswapbuyexactlyrequest.d.ts.map +1 -1
- package/dist/esm/models/components/uniswapbuyexactlyrequest.js +4 -47
- package/dist/esm/models/components/uniswapbuyexactlyrequest.js.map +1 -1
- package/dist/esm/models/components/uniswapmintliquidityprovisionparams.d.ts +4 -15
- package/dist/esm/models/components/uniswapmintliquidityprovisionparams.d.ts.map +1 -1
- package/dist/esm/models/components/uniswapmintliquidityprovisionparams.js +4 -5
- package/dist/esm/models/components/uniswapmintliquidityprovisionparams.js.map +1 -1
- package/dist/esm/models/components/uniswapmintliquidityprovisionrequest.d.ts +4 -15
- package/dist/esm/models/components/uniswapmintliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/esm/models/components/uniswapmintliquidityprovisionrequest.js +4 -5
- package/dist/esm/models/components/uniswapmintliquidityprovisionrequest.js.map +1 -1
- package/dist/esm/models/components/uniswappoolpriceresponse.d.ts +4 -15
- package/dist/esm/models/components/uniswappoolpriceresponse.d.ts.map +1 -1
- package/dist/esm/models/components/uniswappoolpriceresponse.js +4 -5
- package/dist/esm/models/components/uniswappoolpriceresponse.js.map +1 -1
- package/dist/esm/models/components/uniswapsellexactlyparams.d.ts +4 -53
- package/dist/esm/models/components/uniswapsellexactlyparams.d.ts.map +1 -1
- package/dist/esm/models/components/uniswapsellexactlyparams.js +4 -47
- package/dist/esm/models/components/uniswapsellexactlyparams.js.map +1 -1
- package/dist/esm/models/components/uniswapsellexactlyrequest.d.ts +4 -53
- package/dist/esm/models/components/uniswapsellexactlyrequest.d.ts.map +1 -1
- package/dist/esm/models/components/uniswapsellexactlyrequest.js +4 -47
- package/dist/esm/models/components/uniswapsellexactlyrequest.js.map +1 -1
- package/dist/esm/models/operations/index.d.ts +0 -2
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +0 -2
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/v1aaveavgrate.d.ts +2 -241
- package/dist/esm/models/operations/v1aaveavgrate.d.ts.map +1 -1
- package/dist/esm/models/operations/v1aaveavgrate.js +2 -95
- package/dist/esm/models/operations/v1aaveavgrate.js.map +1 -1
- package/dist/esm/models/operations/v1aaveliquiditychange.d.ts +2 -241
- package/dist/esm/models/operations/v1aaveliquiditychange.d.ts.map +1 -1
- package/dist/esm/models/operations/v1aaveliquiditychange.js +2 -95
- package/dist/esm/models/operations/v1aaveliquiditychange.js.map +1 -1
- package/dist/esm/models/operations/v1aaverate.d.ts +2 -241
- package/dist/esm/models/operations/v1aaverate.d.ts.map +1 -1
- package/dist/esm/models/operations/v1aaverate.js +2 -95
- package/dist/esm/models/operations/v1aaverate.js.map +1 -1
- package/dist/esm/models/operations/v1aavereserveoverview.d.ts +2 -241
- package/dist/esm/models/operations/v1aavereserveoverview.d.ts.map +1 -1
- package/dist/esm/models/operations/v1aavereserveoverview.js +2 -95
- package/dist/esm/models/operations/v1aavereserveoverview.js.map +1 -1
- package/dist/esm/models/operations/v1aavestdrate.d.ts +2 -241
- package/dist/esm/models/operations/v1aavestdrate.d.ts.map +1 -1
- package/dist/esm/models/operations/v1aavestdrate.js +2 -95
- package/dist/esm/models/operations/v1aavestdrate.js.map +1 -1
- package/dist/esm/models/operations/v1aavetokenprice.d.ts +2 -241
- package/dist/esm/models/operations/v1aavetokenprice.d.ts.map +1 -1
- package/dist/esm/models/operations/v1aavetokenprice.js +2 -95
- package/dist/esm/models/operations/v1aavetokenprice.js.map +1 -1
- package/dist/esm/models/operations/v1aaveuserpositionpertoken.d.ts +2 -241
- package/dist/esm/models/operations/v1aaveuserpositionpertoken.d.ts.map +1 -1
- package/dist/esm/models/operations/v1aaveuserpositionpertoken.js +2 -95
- package/dist/esm/models/operations/v1aaveuserpositionpertoken.js.map +1 -1
- package/dist/esm/models/operations/v1aerodromeslipstreampoolprice.d.ts +4 -482
- package/dist/esm/models/operations/v1aerodromeslipstreampoolprice.d.ts.map +1 -1
- package/dist/esm/models/operations/v1aerodromeslipstreampoolprice.js +4 -192
- package/dist/esm/models/operations/v1aerodromeslipstreampoolprice.js.map +1 -1
- package/dist/esm/models/operations/v1genericallowance.d.ts +3 -28
- package/dist/esm/models/operations/v1genericallowance.d.ts.map +1 -1
- package/dist/esm/models/operations/v1genericallowance.js +2 -24
- package/dist/esm/models/operations/v1genericallowance.js.map +1 -1
- package/dist/esm/models/operations/v1morphomarkets.d.ts +6 -55
- package/dist/esm/models/operations/v1morphomarkets.d.ts.map +1 -1
- package/dist/esm/models/operations/v1morphomarkets.js +4 -47
- package/dist/esm/models/operations/v1morphomarkets.js.map +1 -1
- package/dist/esm/models/operations/v1morphovaults.d.ts +3 -28
- package/dist/esm/models/operations/v1morphovaults.d.ts.map +1 -1
- package/dist/esm/models/operations/v1morphovaults.js +2 -24
- package/dist/esm/models/operations/v1morphovaults.js.map +1 -1
- package/dist/esm/models/operations/v1skyposition.js +2 -2
- package/dist/esm/models/operations/v1tokenbalance.d.ts +4 -29
- package/dist/esm/models/operations/v1tokenbalance.d.ts.map +1 -1
- package/dist/esm/models/operations/v1tokenbalance.js +2 -24
- package/dist/esm/models/operations/v1tokenbalance.js.map +1 -1
- package/dist/esm/models/operations/v1tokenprice.d.ts +3 -3
- package/dist/esm/models/operations/v1tokenprice.d.ts.map +1 -1
- package/dist/esm/models/operations/v1tokenprice.js +2 -2
- package/dist/esm/models/operations/v1tokenprice.js.map +1 -1
- package/dist/esm/models/operations/v1uniswappoolprice.d.ts +4 -482
- package/dist/esm/models/operations/v1uniswappoolprice.d.ts.map +1 -1
- package/dist/esm/models/operations/v1uniswappoolprice.js +4 -190
- package/dist/esm/models/operations/v1uniswappoolprice.js.map +1 -1
- package/dist/esm/models/operations/v1uniswapquotebuyexactly.d.ts +4 -482
- package/dist/esm/models/operations/v1uniswapquotebuyexactly.d.ts.map +1 -1
- package/dist/esm/models/operations/v1uniswapquotebuyexactly.js +4 -190
- package/dist/esm/models/operations/v1uniswapquotebuyexactly.js.map +1 -1
- package/dist/esm/models/operations/v1uniswapquotesellexactly.d.ts +4 -482
- package/dist/esm/models/operations/v1uniswapquotesellexactly.d.ts.map +1 -1
- package/dist/esm/models/operations/v1uniswapquotesellexactly.js +4 -190
- package/dist/esm/models/operations/v1uniswapquotesellexactly.js.map +1 -1
- package/dist/esm/sdk/sky.d.ts +3 -2
- package/dist/esm/sdk/sky.d.ts.map +1 -1
- package/dist/esm/sdk/sky.js +3 -2
- package/dist/esm/sdk/sky.js.map +1 -1
- package/dist/esm/sdk/token.d.ts +0 -7
- package/dist/esm/sdk/token.d.ts.map +1 -1
- package/dist/esm/sdk/token.js +0 -10
- package/dist/esm/sdk/token.js.map +1 -1
- package/dist/esm/sdk/universal.d.ts +0 -7
- package/dist/esm/sdk/universal.d.ts.map +1 -1
- package/dist/esm/sdk/universal.js +0 -10
- package/dist/esm/sdk/universal.js.map +1 -1
- package/docs/sdks/aavev3/README.md +8 -8
- package/docs/sdks/aerodromeslipstream/README.md +18 -14
- package/docs/sdks/morpho/README.md +14 -4
- package/docs/sdks/sky/README.md +5 -2
- package/docs/sdks/smartaccount/README.md +2 -2
- package/docs/sdks/token/README.md +6 -81
- package/docs/sdks/transactionbundler/README.md +4 -4
- package/docs/sdks/uniswapv3/README.md +14 -6
- package/docs/sdks/universal/README.md +0 -73
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/skySkyBuy.ts +1 -0
- package/src/funcs/skySkySell.ts +1 -0
- package/src/funcs/skySkyWithdraw.ts +1 -2
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -5
- package/src/mcp-server/tools/skySkyBuy.ts +1 -0
- package/src/mcp-server/tools/skySkySell.ts +1 -0
- package/src/mcp-server/tools/skySkyWithdraw.ts +1 -2
- package/src/models/components/aaveborrowparams.ts +4 -14
- package/src/models/components/aaveborrowrequest.ts +4 -14
- package/src/models/components/aavelooprequest.ts +8 -23
- package/src/models/components/aaverepayparams.ts +4 -14
- package/src/models/components/aaverepayrequest.ts +4 -14
- package/src/models/components/aavesupplyparams.ts +4 -14
- package/src/models/components/aavesupplyrequest.ts +4 -14
- package/src/models/components/aavewithdrawparams.ts +4 -14
- package/src/models/components/aavewithdrawrequest.ts +4 -14
- package/src/models/components/aerodromeposition.ts +6 -27
- package/src/models/components/aerodromeslipstreambuyexactlyparams.ts +8 -23
- package/src/models/components/aerodromeslipstreambuyexactlyrequest.ts +8 -23
- package/src/models/components/aerodromeslipstreammintliquidityprovisionparams.ts +8 -23
- package/src/models/components/aerodromeslipstreammintliquidityprovisionrequest.ts +8 -23
- package/src/models/components/aerodromeslipstreampoolpriceresponse.ts +8 -23
- package/src/models/components/aerodromeslipstreamsellexactlyparams.ts +8 -23
- package/src/models/components/aerodromeslipstreamsellexactlyrequest.ts +8 -23
- package/src/models/components/batcheduseroperationsrequest.ts +4 -0
- package/src/models/components/compassapibackendmodelsgenericreadresponseportfoliotokenbalance.ts +4 -14
- package/src/models/components/index.ts +0 -3
- package/src/models/components/odosswapparams.ts +8 -119
- package/src/models/components/odosswaprequest.ts +8 -119
- package/src/models/components/pendlemanageliquidityparams.ts +4 -64
- package/src/models/components/pendlemanageliquidityrequest.ts +4 -65
- package/src/models/components/pendletradeptparams.ts +4 -62
- package/src/models/components/pendletradeptrequest.ts +4 -62
- package/src/models/components/pendletradeytparams.ts +4 -62
- package/src/models/components/pendletradeytrequest.ts +4 -62
- package/src/models/components/reserve.ts +5 -15
- package/src/models/components/setallowanceparams.ts +4 -62
- package/src/models/components/setallowancerequest.ts +4 -62
- package/src/models/components/skysellrequest.ts +3 -3
- package/src/models/components/tokenbalanceresponse.ts +5 -59
- package/src/models/components/tokentransferparams.ts +4 -62
- package/src/models/components/tokentransferrequest.ts +4 -62
- package/src/models/components/uniswapbuyexactlyparams.ts +10 -125
- package/src/models/components/uniswapbuyexactlyrequest.ts +10 -125
- package/src/models/components/uniswapmintliquidityprovisionparams.ts +8 -23
- package/src/models/components/uniswapmintliquidityprovisionrequest.ts +8 -23
- package/src/models/components/uniswappoolpriceresponse.ts +8 -23
- package/src/models/components/uniswapsellexactlyparams.ts +8 -123
- package/src/models/components/uniswapsellexactlyrequest.ts +8 -124
- package/src/models/operations/index.ts +0 -2
- package/src/models/operations/v1aaveavgrate.ts +4 -113
- package/src/models/operations/v1aaveliquiditychange.ts +4 -115
- package/src/models/operations/v1aaverate.ts +4 -113
- package/src/models/operations/v1aavereserveoverview.ts +4 -115
- package/src/models/operations/v1aavestdrate.ts +4 -113
- package/src/models/operations/v1aavetokenprice.ts +4 -113
- package/src/models/operations/v1aaveuserpositionpertoken.ts +4 -115
- package/src/models/operations/v1aerodromeslipstreampoolprice.ts +8 -242
- package/src/models/operations/v1genericallowance.ts +5 -59
- package/src/models/operations/v1morphomarkets.ts +10 -119
- package/src/models/operations/v1morphovaults.ts +5 -59
- package/src/models/operations/v1skyposition.ts +2 -2
- package/src/models/operations/v1tokenbalance.ts +6 -60
- package/src/models/operations/v1tokenprice.ts +5 -5
- package/src/models/operations/v1uniswappoolprice.ts +8 -230
- package/src/models/operations/v1uniswapquotebuyexactly.ts +8 -240
- package/src/models/operations/v1uniswapquotesellexactly.ts +8 -240
- package/src/sdk/sky.ts +3 -2
- package/src/sdk/token.ts +0 -18
- package/src/sdk/universal.ts +0 -18
- package/dist/commonjs/funcs/tokenTokenAddress.d.ts +0 -19
- package/dist/commonjs/funcs/tokenTokenAddress.d.ts.map +0 -1
- package/dist/commonjs/funcs/tokenTokenAddress.js +0 -123
- package/dist/commonjs/funcs/tokenTokenAddress.js.map +0 -1
- package/dist/commonjs/funcs/universalGenericSupportedTokens.d.ts +0 -19
- package/dist/commonjs/funcs/universalGenericSupportedTokens.d.ts.map +0 -1
- package/dist/commonjs/funcs/universalGenericSupportedTokens.js +0 -122
- package/dist/commonjs/funcs/universalGenericSupportedTokens.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/tokenTokenAddress.d.ts +0 -8
- package/dist/commonjs/mcp-server/tools/tokenTokenAddress.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/tokenTokenAddress.js +0 -64
- package/dist/commonjs/mcp-server/tools/tokenTokenAddress.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/universalGenericSupportedTokens.d.ts +0 -8
- package/dist/commonjs/mcp-server/tools/universalGenericSupportedTokens.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/universalGenericSupportedTokens.js +0 -64
- package/dist/commonjs/mcp-server/tools/universalGenericSupportedTokens.js.map +0 -1
- package/dist/commonjs/models/components/tokenaddressresponse.d.ts +0 -32
- package/dist/commonjs/models/components/tokenaddressresponse.d.ts.map +0 -1
- package/dist/commonjs/models/components/tokenaddressresponse.js +0 -69
- package/dist/commonjs/models/components/tokenaddressresponse.js.map +0 -1
- package/dist/commonjs/models/components/tokenenum.d.ts +0 -242
- package/dist/commonjs/models/components/tokenenum.d.ts.map +0 -1
- package/dist/commonjs/models/components/tokenenum.js +0 -135
- package/dist/commonjs/models/components/tokenenum.js.map +0 -1
- package/dist/commonjs/models/components/tokeninfo.d.ts +0 -33
- package/dist/commonjs/models/components/tokeninfo.d.ts.map +0 -1
- package/dist/commonjs/models/components/tokeninfo.js +0 -70
- package/dist/commonjs/models/components/tokeninfo.js.map +0 -1
- package/dist/commonjs/models/operations/v1genericsupportedtokens.d.ts +0 -58
- package/dist/commonjs/models/operations/v1genericsupportedtokens.d.ts.map +0 -1
- package/dist/commonjs/models/operations/v1genericsupportedtokens.js +0 -89
- package/dist/commonjs/models/operations/v1genericsupportedtokens.js.map +0 -1
- package/dist/commonjs/models/operations/v1tokenaddress.d.ts +0 -302
- package/dist/commonjs/models/operations/v1tokenaddress.d.ts.map +0 -1
- package/dist/commonjs/models/operations/v1tokenaddress.js +0 -184
- package/dist/commonjs/models/operations/v1tokenaddress.js.map +0 -1
- package/dist/esm/funcs/tokenTokenAddress.d.ts +0 -19
- package/dist/esm/funcs/tokenTokenAddress.d.ts.map +0 -1
- package/dist/esm/funcs/tokenTokenAddress.js +0 -87
- package/dist/esm/funcs/tokenTokenAddress.js.map +0 -1
- package/dist/esm/funcs/universalGenericSupportedTokens.d.ts +0 -19
- package/dist/esm/funcs/universalGenericSupportedTokens.d.ts.map +0 -1
- package/dist/esm/funcs/universalGenericSupportedTokens.js +0 -86
- package/dist/esm/funcs/universalGenericSupportedTokens.js.map +0 -1
- package/dist/esm/mcp-server/tools/tokenTokenAddress.d.ts +0 -8
- package/dist/esm/mcp-server/tools/tokenTokenAddress.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/tokenTokenAddress.js +0 -28
- package/dist/esm/mcp-server/tools/tokenTokenAddress.js.map +0 -1
- package/dist/esm/mcp-server/tools/universalGenericSupportedTokens.d.ts +0 -8
- package/dist/esm/mcp-server/tools/universalGenericSupportedTokens.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/universalGenericSupportedTokens.js +0 -28
- package/dist/esm/mcp-server/tools/universalGenericSupportedTokens.js.map +0 -1
- package/dist/esm/models/components/tokenaddressresponse.d.ts +0 -32
- package/dist/esm/models/components/tokenaddressresponse.d.ts.map +0 -1
- package/dist/esm/models/components/tokenaddressresponse.js +0 -31
- package/dist/esm/models/components/tokenaddressresponse.js.map +0 -1
- package/dist/esm/models/components/tokenenum.d.ts +0 -242
- package/dist/esm/models/components/tokenenum.d.ts.map +0 -1
- package/dist/esm/models/components/tokenenum.js +0 -99
- package/dist/esm/models/components/tokenenum.js.map +0 -1
- package/dist/esm/models/components/tokeninfo.d.ts +0 -33
- package/dist/esm/models/components/tokeninfo.d.ts.map +0 -1
- package/dist/esm/models/components/tokeninfo.js +0 -32
- package/dist/esm/models/components/tokeninfo.js.map +0 -1
- package/dist/esm/models/operations/v1genericsupportedtokens.d.ts +0 -58
- package/dist/esm/models/operations/v1genericsupportedtokens.d.ts.map +0 -1
- package/dist/esm/models/operations/v1genericsupportedtokens.js +0 -51
- package/dist/esm/models/operations/v1genericsupportedtokens.js.map +0 -1
- package/dist/esm/models/operations/v1tokenaddress.d.ts +0 -302
- package/dist/esm/models/operations/v1tokenaddress.d.ts.map +0 -1
- package/dist/esm/models/operations/v1tokenaddress.js +0 -146
- package/dist/esm/models/operations/v1tokenaddress.js.map +0 -1
- package/src/funcs/tokenTokenAddress.ts +0 -175
- package/src/funcs/universalGenericSupportedTokens.ts +0 -175
- package/src/mcp-server/tools/tokenTokenAddress.ts +0 -37
- package/src/mcp-server/tools/universalGenericSupportedTokens.ts +0 -38
- package/src/models/components/tokenaddressresponse.ts +0 -69
- package/src/models/components/tokenenum.ts +0 -113
- package/src/models/components/tokeninfo.ts +0 -70
- package/src/models/operations/v1genericsupportedtokens.ts +0 -99
- package/src/models/operations/v1tokenaddress.ts +0 -211
|
@@ -12,21 +12,6 @@ import {
|
|
|
12
12
|
FeeEnum$inboundSchema,
|
|
13
13
|
FeeEnum$outboundSchema,
|
|
14
14
|
} from "./feeenum.js";
|
|
15
|
-
import {
|
|
16
|
-
TokenEnum,
|
|
17
|
-
TokenEnum$inboundSchema,
|
|
18
|
-
TokenEnum$outboundSchema,
|
|
19
|
-
} from "./tokenenum.js";
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* The symbol or address of the token to swap from.
|
|
23
|
-
*/
|
|
24
|
-
export type UniswapBuyExactlyParamsTokenIn = TokenEnum | string;
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* The symbol or address of the token to swap to.
|
|
28
|
-
*/
|
|
29
|
-
export type UniswapBuyExactlyParamsTokenOut = TokenEnum | string;
|
|
30
15
|
|
|
31
16
|
/**
|
|
32
17
|
* The amount of 'token_out' to buy.
|
|
@@ -36,13 +21,13 @@ export type UniswapBuyExactlyParamsAmountOut = number | string;
|
|
|
36
21
|
export type UniswapBuyExactlyParams = {
|
|
37
22
|
actionType?: "UNISWAP_BUY_EXACTLY" | undefined;
|
|
38
23
|
/**
|
|
39
|
-
* The symbol or address of the token to swap from
|
|
24
|
+
* The symbol or address of the token to swap from..
|
|
40
25
|
*/
|
|
41
|
-
tokenIn:
|
|
26
|
+
tokenIn: string;
|
|
42
27
|
/**
|
|
43
|
-
* The symbol or address of the token to swap to
|
|
28
|
+
* The symbol or address of the token to swap to..
|
|
44
29
|
*/
|
|
45
|
-
tokenOut:
|
|
30
|
+
tokenOut: string;
|
|
46
31
|
/**
|
|
47
32
|
* The transaction fee of a Uniswap pool in bips.
|
|
48
33
|
*
|
|
@@ -61,106 +46,6 @@ export type UniswapBuyExactlyParams = {
|
|
|
61
46
|
maxSlippagePercent: number;
|
|
62
47
|
};
|
|
63
48
|
|
|
64
|
-
/** @internal */
|
|
65
|
-
export const UniswapBuyExactlyParamsTokenIn$inboundSchema: z.ZodType<
|
|
66
|
-
UniswapBuyExactlyParamsTokenIn,
|
|
67
|
-
z.ZodTypeDef,
|
|
68
|
-
unknown
|
|
69
|
-
> = z.union([TokenEnum$inboundSchema, z.string()]);
|
|
70
|
-
|
|
71
|
-
/** @internal */
|
|
72
|
-
export type UniswapBuyExactlyParamsTokenIn$Outbound = string | string;
|
|
73
|
-
|
|
74
|
-
/** @internal */
|
|
75
|
-
export const UniswapBuyExactlyParamsTokenIn$outboundSchema: z.ZodType<
|
|
76
|
-
UniswapBuyExactlyParamsTokenIn$Outbound,
|
|
77
|
-
z.ZodTypeDef,
|
|
78
|
-
UniswapBuyExactlyParamsTokenIn
|
|
79
|
-
> = z.union([TokenEnum$outboundSchema, z.string()]);
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* @internal
|
|
83
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
84
|
-
*/
|
|
85
|
-
export namespace UniswapBuyExactlyParamsTokenIn$ {
|
|
86
|
-
/** @deprecated use `UniswapBuyExactlyParamsTokenIn$inboundSchema` instead. */
|
|
87
|
-
export const inboundSchema = UniswapBuyExactlyParamsTokenIn$inboundSchema;
|
|
88
|
-
/** @deprecated use `UniswapBuyExactlyParamsTokenIn$outboundSchema` instead. */
|
|
89
|
-
export const outboundSchema = UniswapBuyExactlyParamsTokenIn$outboundSchema;
|
|
90
|
-
/** @deprecated use `UniswapBuyExactlyParamsTokenIn$Outbound` instead. */
|
|
91
|
-
export type Outbound = UniswapBuyExactlyParamsTokenIn$Outbound;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
export function uniswapBuyExactlyParamsTokenInToJSON(
|
|
95
|
-
uniswapBuyExactlyParamsTokenIn: UniswapBuyExactlyParamsTokenIn,
|
|
96
|
-
): string {
|
|
97
|
-
return JSON.stringify(
|
|
98
|
-
UniswapBuyExactlyParamsTokenIn$outboundSchema.parse(
|
|
99
|
-
uniswapBuyExactlyParamsTokenIn,
|
|
100
|
-
),
|
|
101
|
-
);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
export function uniswapBuyExactlyParamsTokenInFromJSON(
|
|
105
|
-
jsonString: string,
|
|
106
|
-
): SafeParseResult<UniswapBuyExactlyParamsTokenIn, SDKValidationError> {
|
|
107
|
-
return safeParse(
|
|
108
|
-
jsonString,
|
|
109
|
-
(x) => UniswapBuyExactlyParamsTokenIn$inboundSchema.parse(JSON.parse(x)),
|
|
110
|
-
`Failed to parse 'UniswapBuyExactlyParamsTokenIn' from JSON`,
|
|
111
|
-
);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
/** @internal */
|
|
115
|
-
export const UniswapBuyExactlyParamsTokenOut$inboundSchema: z.ZodType<
|
|
116
|
-
UniswapBuyExactlyParamsTokenOut,
|
|
117
|
-
z.ZodTypeDef,
|
|
118
|
-
unknown
|
|
119
|
-
> = z.union([TokenEnum$inboundSchema, z.string()]);
|
|
120
|
-
|
|
121
|
-
/** @internal */
|
|
122
|
-
export type UniswapBuyExactlyParamsTokenOut$Outbound = string | string;
|
|
123
|
-
|
|
124
|
-
/** @internal */
|
|
125
|
-
export const UniswapBuyExactlyParamsTokenOut$outboundSchema: z.ZodType<
|
|
126
|
-
UniswapBuyExactlyParamsTokenOut$Outbound,
|
|
127
|
-
z.ZodTypeDef,
|
|
128
|
-
UniswapBuyExactlyParamsTokenOut
|
|
129
|
-
> = z.union([TokenEnum$outboundSchema, z.string()]);
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* @internal
|
|
133
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
134
|
-
*/
|
|
135
|
-
export namespace UniswapBuyExactlyParamsTokenOut$ {
|
|
136
|
-
/** @deprecated use `UniswapBuyExactlyParamsTokenOut$inboundSchema` instead. */
|
|
137
|
-
export const inboundSchema = UniswapBuyExactlyParamsTokenOut$inboundSchema;
|
|
138
|
-
/** @deprecated use `UniswapBuyExactlyParamsTokenOut$outboundSchema` instead. */
|
|
139
|
-
export const outboundSchema = UniswapBuyExactlyParamsTokenOut$outboundSchema;
|
|
140
|
-
/** @deprecated use `UniswapBuyExactlyParamsTokenOut$Outbound` instead. */
|
|
141
|
-
export type Outbound = UniswapBuyExactlyParamsTokenOut$Outbound;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
export function uniswapBuyExactlyParamsTokenOutToJSON(
|
|
145
|
-
uniswapBuyExactlyParamsTokenOut: UniswapBuyExactlyParamsTokenOut,
|
|
146
|
-
): string {
|
|
147
|
-
return JSON.stringify(
|
|
148
|
-
UniswapBuyExactlyParamsTokenOut$outboundSchema.parse(
|
|
149
|
-
uniswapBuyExactlyParamsTokenOut,
|
|
150
|
-
),
|
|
151
|
-
);
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
export function uniswapBuyExactlyParamsTokenOutFromJSON(
|
|
155
|
-
jsonString: string,
|
|
156
|
-
): SafeParseResult<UniswapBuyExactlyParamsTokenOut, SDKValidationError> {
|
|
157
|
-
return safeParse(
|
|
158
|
-
jsonString,
|
|
159
|
-
(x) => UniswapBuyExactlyParamsTokenOut$inboundSchema.parse(JSON.parse(x)),
|
|
160
|
-
`Failed to parse 'UniswapBuyExactlyParamsTokenOut' from JSON`,
|
|
161
|
-
);
|
|
162
|
-
}
|
|
163
|
-
|
|
164
49
|
/** @internal */
|
|
165
50
|
export const UniswapBuyExactlyParamsAmountOut$inboundSchema: z.ZodType<
|
|
166
51
|
UniswapBuyExactlyParamsAmountOut,
|
|
@@ -218,8 +103,8 @@ export const UniswapBuyExactlyParams$inboundSchema: z.ZodType<
|
|
|
218
103
|
unknown
|
|
219
104
|
> = z.object({
|
|
220
105
|
action_type: z.literal("UNISWAP_BUY_EXACTLY").default("UNISWAP_BUY_EXACTLY"),
|
|
221
|
-
token_in: z.
|
|
222
|
-
token_out: z.
|
|
106
|
+
token_in: z.string(),
|
|
107
|
+
token_out: z.string(),
|
|
223
108
|
fee: FeeEnum$inboundSchema,
|
|
224
109
|
amount_out: z.union([z.number(), z.string()]),
|
|
225
110
|
max_slippage_percent: z.number(),
|
|
@@ -236,8 +121,8 @@ export const UniswapBuyExactlyParams$inboundSchema: z.ZodType<
|
|
|
236
121
|
/** @internal */
|
|
237
122
|
export type UniswapBuyExactlyParams$Outbound = {
|
|
238
123
|
action_type: "UNISWAP_BUY_EXACTLY";
|
|
239
|
-
token_in: string
|
|
240
|
-
token_out: string
|
|
124
|
+
token_in: string;
|
|
125
|
+
token_out: string;
|
|
241
126
|
fee: string;
|
|
242
127
|
amount_out: number | string;
|
|
243
128
|
max_slippage_percent: number;
|
|
@@ -252,8 +137,8 @@ export const UniswapBuyExactlyParams$outboundSchema: z.ZodType<
|
|
|
252
137
|
actionType: z.literal("UNISWAP_BUY_EXACTLY").default(
|
|
253
138
|
"UNISWAP_BUY_EXACTLY" as const,
|
|
254
139
|
),
|
|
255
|
-
tokenIn: z.
|
|
256
|
-
tokenOut: z.
|
|
140
|
+
tokenIn: z.string(),
|
|
141
|
+
tokenOut: z.string(),
|
|
257
142
|
fee: FeeEnum$outboundSchema,
|
|
258
143
|
amountOut: z.union([z.number(), z.string()]),
|
|
259
144
|
maxSlippagePercent: z.number(),
|
|
@@ -13,21 +13,6 @@ import {
|
|
|
13
13
|
FeeEnum$inboundSchema,
|
|
14
14
|
FeeEnum$outboundSchema,
|
|
15
15
|
} from "./feeenum.js";
|
|
16
|
-
import {
|
|
17
|
-
TokenEnum,
|
|
18
|
-
TokenEnum$inboundSchema,
|
|
19
|
-
TokenEnum$outboundSchema,
|
|
20
|
-
} from "./tokenenum.js";
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* The symbol or address of the token to swap from.
|
|
24
|
-
*/
|
|
25
|
-
export type UniswapBuyExactlyRequestTokenIn = TokenEnum | string;
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* The symbol or address of the token to swap to.
|
|
29
|
-
*/
|
|
30
|
-
export type UniswapBuyExactlyRequestTokenOut = TokenEnum | string;
|
|
31
16
|
|
|
32
17
|
/**
|
|
33
18
|
* The amount of 'token_out' to buy.
|
|
@@ -49,13 +34,13 @@ export type UniswapBuyExactlyRequestChain = ClosedEnum<
|
|
|
49
34
|
export type UniswapBuyExactlyRequest = {
|
|
50
35
|
actionType?: "UNISWAP_BUY_EXACTLY" | undefined;
|
|
51
36
|
/**
|
|
52
|
-
* The symbol or address of the token to swap from
|
|
37
|
+
* The symbol or address of the token to swap from..
|
|
53
38
|
*/
|
|
54
|
-
tokenIn:
|
|
39
|
+
tokenIn: string;
|
|
55
40
|
/**
|
|
56
|
-
* The symbol or address of the token to swap to
|
|
41
|
+
* The symbol or address of the token to swap to..
|
|
57
42
|
*/
|
|
58
|
-
tokenOut:
|
|
43
|
+
tokenOut: string;
|
|
59
44
|
/**
|
|
60
45
|
* The transaction fee of a Uniswap pool in bips.
|
|
61
46
|
*
|
|
@@ -79,106 +64,6 @@ export type UniswapBuyExactlyRequest = {
|
|
|
79
64
|
sender: string;
|
|
80
65
|
};
|
|
81
66
|
|
|
82
|
-
/** @internal */
|
|
83
|
-
export const UniswapBuyExactlyRequestTokenIn$inboundSchema: z.ZodType<
|
|
84
|
-
UniswapBuyExactlyRequestTokenIn,
|
|
85
|
-
z.ZodTypeDef,
|
|
86
|
-
unknown
|
|
87
|
-
> = z.union([TokenEnum$inboundSchema, z.string()]);
|
|
88
|
-
|
|
89
|
-
/** @internal */
|
|
90
|
-
export type UniswapBuyExactlyRequestTokenIn$Outbound = string | string;
|
|
91
|
-
|
|
92
|
-
/** @internal */
|
|
93
|
-
export const UniswapBuyExactlyRequestTokenIn$outboundSchema: z.ZodType<
|
|
94
|
-
UniswapBuyExactlyRequestTokenIn$Outbound,
|
|
95
|
-
z.ZodTypeDef,
|
|
96
|
-
UniswapBuyExactlyRequestTokenIn
|
|
97
|
-
> = z.union([TokenEnum$outboundSchema, z.string()]);
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* @internal
|
|
101
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
102
|
-
*/
|
|
103
|
-
export namespace UniswapBuyExactlyRequestTokenIn$ {
|
|
104
|
-
/** @deprecated use `UniswapBuyExactlyRequestTokenIn$inboundSchema` instead. */
|
|
105
|
-
export const inboundSchema = UniswapBuyExactlyRequestTokenIn$inboundSchema;
|
|
106
|
-
/** @deprecated use `UniswapBuyExactlyRequestTokenIn$outboundSchema` instead. */
|
|
107
|
-
export const outboundSchema = UniswapBuyExactlyRequestTokenIn$outboundSchema;
|
|
108
|
-
/** @deprecated use `UniswapBuyExactlyRequestTokenIn$Outbound` instead. */
|
|
109
|
-
export type Outbound = UniswapBuyExactlyRequestTokenIn$Outbound;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
export function uniswapBuyExactlyRequestTokenInToJSON(
|
|
113
|
-
uniswapBuyExactlyRequestTokenIn: UniswapBuyExactlyRequestTokenIn,
|
|
114
|
-
): string {
|
|
115
|
-
return JSON.stringify(
|
|
116
|
-
UniswapBuyExactlyRequestTokenIn$outboundSchema.parse(
|
|
117
|
-
uniswapBuyExactlyRequestTokenIn,
|
|
118
|
-
),
|
|
119
|
-
);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
export function uniswapBuyExactlyRequestTokenInFromJSON(
|
|
123
|
-
jsonString: string,
|
|
124
|
-
): SafeParseResult<UniswapBuyExactlyRequestTokenIn, SDKValidationError> {
|
|
125
|
-
return safeParse(
|
|
126
|
-
jsonString,
|
|
127
|
-
(x) => UniswapBuyExactlyRequestTokenIn$inboundSchema.parse(JSON.parse(x)),
|
|
128
|
-
`Failed to parse 'UniswapBuyExactlyRequestTokenIn' from JSON`,
|
|
129
|
-
);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
/** @internal */
|
|
133
|
-
export const UniswapBuyExactlyRequestTokenOut$inboundSchema: z.ZodType<
|
|
134
|
-
UniswapBuyExactlyRequestTokenOut,
|
|
135
|
-
z.ZodTypeDef,
|
|
136
|
-
unknown
|
|
137
|
-
> = z.union([TokenEnum$inboundSchema, z.string()]);
|
|
138
|
-
|
|
139
|
-
/** @internal */
|
|
140
|
-
export type UniswapBuyExactlyRequestTokenOut$Outbound = string | string;
|
|
141
|
-
|
|
142
|
-
/** @internal */
|
|
143
|
-
export const UniswapBuyExactlyRequestTokenOut$outboundSchema: z.ZodType<
|
|
144
|
-
UniswapBuyExactlyRequestTokenOut$Outbound,
|
|
145
|
-
z.ZodTypeDef,
|
|
146
|
-
UniswapBuyExactlyRequestTokenOut
|
|
147
|
-
> = z.union([TokenEnum$outboundSchema, z.string()]);
|
|
148
|
-
|
|
149
|
-
/**
|
|
150
|
-
* @internal
|
|
151
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
152
|
-
*/
|
|
153
|
-
export namespace UniswapBuyExactlyRequestTokenOut$ {
|
|
154
|
-
/** @deprecated use `UniswapBuyExactlyRequestTokenOut$inboundSchema` instead. */
|
|
155
|
-
export const inboundSchema = UniswapBuyExactlyRequestTokenOut$inboundSchema;
|
|
156
|
-
/** @deprecated use `UniswapBuyExactlyRequestTokenOut$outboundSchema` instead. */
|
|
157
|
-
export const outboundSchema = UniswapBuyExactlyRequestTokenOut$outboundSchema;
|
|
158
|
-
/** @deprecated use `UniswapBuyExactlyRequestTokenOut$Outbound` instead. */
|
|
159
|
-
export type Outbound = UniswapBuyExactlyRequestTokenOut$Outbound;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
export function uniswapBuyExactlyRequestTokenOutToJSON(
|
|
163
|
-
uniswapBuyExactlyRequestTokenOut: UniswapBuyExactlyRequestTokenOut,
|
|
164
|
-
): string {
|
|
165
|
-
return JSON.stringify(
|
|
166
|
-
UniswapBuyExactlyRequestTokenOut$outboundSchema.parse(
|
|
167
|
-
uniswapBuyExactlyRequestTokenOut,
|
|
168
|
-
),
|
|
169
|
-
);
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
export function uniswapBuyExactlyRequestTokenOutFromJSON(
|
|
173
|
-
jsonString: string,
|
|
174
|
-
): SafeParseResult<UniswapBuyExactlyRequestTokenOut, SDKValidationError> {
|
|
175
|
-
return safeParse(
|
|
176
|
-
jsonString,
|
|
177
|
-
(x) => UniswapBuyExactlyRequestTokenOut$inboundSchema.parse(JSON.parse(x)),
|
|
178
|
-
`Failed to parse 'UniswapBuyExactlyRequestTokenOut' from JSON`,
|
|
179
|
-
);
|
|
180
|
-
}
|
|
181
|
-
|
|
182
67
|
/** @internal */
|
|
183
68
|
export const UniswapBuyExactlyRequestAmountOut$inboundSchema: z.ZodType<
|
|
184
69
|
UniswapBuyExactlyRequestAmountOut,
|
|
@@ -258,8 +143,8 @@ export const UniswapBuyExactlyRequest$inboundSchema: z.ZodType<
|
|
|
258
143
|
unknown
|
|
259
144
|
> = z.object({
|
|
260
145
|
action_type: z.literal("UNISWAP_BUY_EXACTLY").default("UNISWAP_BUY_EXACTLY"),
|
|
261
|
-
token_in: z.
|
|
262
|
-
token_out: z.
|
|
146
|
+
token_in: z.string(),
|
|
147
|
+
token_out: z.string(),
|
|
263
148
|
fee: FeeEnum$inboundSchema,
|
|
264
149
|
amount_out: z.union([z.number(), z.string()]),
|
|
265
150
|
max_slippage_percent: z.number(),
|
|
@@ -278,8 +163,8 @@ export const UniswapBuyExactlyRequest$inboundSchema: z.ZodType<
|
|
|
278
163
|
/** @internal */
|
|
279
164
|
export type UniswapBuyExactlyRequest$Outbound = {
|
|
280
165
|
action_type: "UNISWAP_BUY_EXACTLY";
|
|
281
|
-
token_in: string
|
|
282
|
-
token_out: string
|
|
166
|
+
token_in: string;
|
|
167
|
+
token_out: string;
|
|
283
168
|
fee: string;
|
|
284
169
|
amount_out: number | string;
|
|
285
170
|
max_slippage_percent: number;
|
|
@@ -296,8 +181,8 @@ export const UniswapBuyExactlyRequest$outboundSchema: z.ZodType<
|
|
|
296
181
|
actionType: z.literal("UNISWAP_BUY_EXACTLY").default(
|
|
297
182
|
"UNISWAP_BUY_EXACTLY" as const,
|
|
298
183
|
),
|
|
299
|
-
tokenIn: z.
|
|
300
|
-
tokenOut: z.
|
|
184
|
+
tokenIn: z.string(),
|
|
185
|
+
tokenOut: z.string(),
|
|
301
186
|
fee: FeeEnum$outboundSchema,
|
|
302
187
|
amountOut: z.union([z.number(), z.string()]),
|
|
303
188
|
maxSlippagePercent: z.number(),
|
|
@@ -12,11 +12,6 @@ import {
|
|
|
12
12
|
FeeEnum$inboundSchema,
|
|
13
13
|
FeeEnum$outboundSchema,
|
|
14
14
|
} from "./feeenum.js";
|
|
15
|
-
import {
|
|
16
|
-
TokenEnum,
|
|
17
|
-
TokenEnum$inboundSchema,
|
|
18
|
-
TokenEnum$outboundSchema,
|
|
19
|
-
} from "./tokenenum.js";
|
|
20
15
|
|
|
21
16
|
/**
|
|
22
17
|
* The desired amount of the first token to deposit
|
|
@@ -41,23 +36,13 @@ export type UniswapMintLiquidityProvisionParamsAmount1Min = number | string;
|
|
|
41
36
|
export type UniswapMintLiquidityProvisionParams = {
|
|
42
37
|
actionType?: "UNISWAP_MINT_LIQUIDITY_PROVISION" | undefined;
|
|
43
38
|
/**
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
* @remarks
|
|
47
|
-
*
|
|
48
|
-
* This class is used to represent the token in the system. Notice individual
|
|
49
|
-
* endpoints' documentation where per chain tokens are presented.
|
|
39
|
+
* The symbol or address of the first token in the pair.
|
|
50
40
|
*/
|
|
51
|
-
token0:
|
|
41
|
+
token0: string;
|
|
52
42
|
/**
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
* @remarks
|
|
56
|
-
*
|
|
57
|
-
* This class is used to represent the token in the system. Notice individual
|
|
58
|
-
* endpoints' documentation where per chain tokens are presented.
|
|
43
|
+
* The symbol or address of the second token in the pair.
|
|
59
44
|
*/
|
|
60
|
-
token1:
|
|
45
|
+
token1: string;
|
|
61
46
|
/**
|
|
62
47
|
* The transaction fee of a Uniswap pool in bips.
|
|
63
48
|
*
|
|
@@ -359,8 +344,8 @@ export const UniswapMintLiquidityProvisionParams$inboundSchema: z.ZodType<
|
|
|
359
344
|
action_type: z.literal("UNISWAP_MINT_LIQUIDITY_PROVISION").default(
|
|
360
345
|
"UNISWAP_MINT_LIQUIDITY_PROVISION",
|
|
361
346
|
),
|
|
362
|
-
token0:
|
|
363
|
-
token1:
|
|
347
|
+
token0: z.string(),
|
|
348
|
+
token1: z.string(),
|
|
364
349
|
fee: FeeEnum$inboundSchema,
|
|
365
350
|
tick_lower: z.number().int(),
|
|
366
351
|
tick_upper: z.number().int(),
|
|
@@ -405,8 +390,8 @@ export const UniswapMintLiquidityProvisionParams$outboundSchema: z.ZodType<
|
|
|
405
390
|
actionType: z.literal("UNISWAP_MINT_LIQUIDITY_PROVISION").default(
|
|
406
391
|
"UNISWAP_MINT_LIQUIDITY_PROVISION" as const,
|
|
407
392
|
),
|
|
408
|
-
token0:
|
|
409
|
-
token1:
|
|
393
|
+
token0: z.string(),
|
|
394
|
+
token1: z.string(),
|
|
410
395
|
fee: FeeEnum$outboundSchema,
|
|
411
396
|
tickLower: z.number().int(),
|
|
412
397
|
tickUpper: z.number().int(),
|
|
@@ -13,11 +13,6 @@ import {
|
|
|
13
13
|
FeeEnum$inboundSchema,
|
|
14
14
|
FeeEnum$outboundSchema,
|
|
15
15
|
} from "./feeenum.js";
|
|
16
|
-
import {
|
|
17
|
-
TokenEnum,
|
|
18
|
-
TokenEnum$inboundSchema,
|
|
19
|
-
TokenEnum$outboundSchema,
|
|
20
|
-
} from "./tokenenum.js";
|
|
21
16
|
|
|
22
17
|
/**
|
|
23
18
|
* The desired amount of the first token to deposit
|
|
@@ -58,23 +53,13 @@ export type UniswapMintLiquidityProvisionRequestChain = ClosedEnum<
|
|
|
58
53
|
export type UniswapMintLiquidityProvisionRequest = {
|
|
59
54
|
actionType?: "UNISWAP_MINT_LIQUIDITY_PROVISION" | undefined;
|
|
60
55
|
/**
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
* @remarks
|
|
64
|
-
*
|
|
65
|
-
* This class is used to represent the token in the system. Notice individual
|
|
66
|
-
* endpoints' documentation where per chain tokens are presented.
|
|
56
|
+
* The symbol or address of the first token in the pair.
|
|
67
57
|
*/
|
|
68
|
-
token0:
|
|
58
|
+
token0: string;
|
|
69
59
|
/**
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
* @remarks
|
|
73
|
-
*
|
|
74
|
-
* This class is used to represent the token in the system. Notice individual
|
|
75
|
-
* endpoints' documentation where per chain tokens are presented.
|
|
60
|
+
* The symbol or address of the second token in the pair.
|
|
76
61
|
*/
|
|
77
|
-
token1:
|
|
62
|
+
token1: string;
|
|
78
63
|
/**
|
|
79
64
|
* The transaction fee of a Uniswap pool in bips.
|
|
80
65
|
*
|
|
@@ -406,8 +391,8 @@ export const UniswapMintLiquidityProvisionRequest$inboundSchema: z.ZodType<
|
|
|
406
391
|
action_type: z.literal("UNISWAP_MINT_LIQUIDITY_PROVISION").default(
|
|
407
392
|
"UNISWAP_MINT_LIQUIDITY_PROVISION",
|
|
408
393
|
),
|
|
409
|
-
token0:
|
|
410
|
-
token1:
|
|
394
|
+
token0: z.string(),
|
|
395
|
+
token1: z.string(),
|
|
411
396
|
fee: FeeEnum$inboundSchema,
|
|
412
397
|
tick_lower: z.number().int(),
|
|
413
398
|
tick_upper: z.number().int(),
|
|
@@ -456,8 +441,8 @@ export const UniswapMintLiquidityProvisionRequest$outboundSchema: z.ZodType<
|
|
|
456
441
|
actionType: z.literal("UNISWAP_MINT_LIQUIDITY_PROVISION").default(
|
|
457
442
|
"UNISWAP_MINT_LIQUIDITY_PROVISION" as const,
|
|
458
443
|
),
|
|
459
|
-
token0:
|
|
460
|
-
token1:
|
|
444
|
+
token0: z.string(),
|
|
445
|
+
token1: z.string(),
|
|
461
446
|
fee: FeeEnum$outboundSchema,
|
|
462
447
|
tickLower: z.number().int(),
|
|
463
448
|
tickUpper: z.number().int(),
|
|
@@ -7,31 +7,16 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
-
import {
|
|
11
|
-
TokenEnum,
|
|
12
|
-
TokenEnum$inboundSchema,
|
|
13
|
-
TokenEnum$outboundSchema,
|
|
14
|
-
} from "./tokenenum.js";
|
|
15
10
|
|
|
16
11
|
export type UniswapPoolPriceResponse = {
|
|
17
12
|
/**
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
* @remarks
|
|
21
|
-
*
|
|
22
|
-
* This class is used to represent the token in the system. Notice individual
|
|
23
|
-
* endpoints' documentation where per chain tokens are presented.
|
|
13
|
+
* The first token in the pool
|
|
24
14
|
*/
|
|
25
|
-
tokenIn:
|
|
15
|
+
tokenIn: string;
|
|
26
16
|
/**
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
* @remarks
|
|
30
|
-
*
|
|
31
|
-
* This class is used to represent the token in the system. Notice individual
|
|
32
|
-
* endpoints' documentation where per chain tokens are presented.
|
|
17
|
+
* The second token in the pool
|
|
33
18
|
*/
|
|
34
|
-
tokenOut:
|
|
19
|
+
tokenOut: string;
|
|
35
20
|
/**
|
|
36
21
|
* The price of the pool. This is expressed as an instantanteous amount of how many token0 you need to buy 1 token1. In any swap this will not change during the trade; use the quote endpoint to get a better idea of how much you will pay!
|
|
37
22
|
*/
|
|
@@ -48,8 +33,8 @@ export const UniswapPoolPriceResponse$inboundSchema: z.ZodType<
|
|
|
48
33
|
z.ZodTypeDef,
|
|
49
34
|
unknown
|
|
50
35
|
> = z.object({
|
|
51
|
-
token_in:
|
|
52
|
-
token_out:
|
|
36
|
+
token_in: z.string(),
|
|
37
|
+
token_out: z.string(),
|
|
53
38
|
price: z.string(),
|
|
54
39
|
tick: z.number().int(),
|
|
55
40
|
}).transform((v) => {
|
|
@@ -73,8 +58,8 @@ export const UniswapPoolPriceResponse$outboundSchema: z.ZodType<
|
|
|
73
58
|
z.ZodTypeDef,
|
|
74
59
|
UniswapPoolPriceResponse
|
|
75
60
|
> = z.object({
|
|
76
|
-
tokenIn:
|
|
77
|
-
tokenOut:
|
|
61
|
+
tokenIn: z.string(),
|
|
62
|
+
tokenOut: z.string(),
|
|
78
63
|
price: z.string(),
|
|
79
64
|
tick: z.number().int(),
|
|
80
65
|
}).transform((v) => {
|