@compass-labs/api-sdk 0.4.2 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mcp-server.js +457 -928
- package/bin/mcp-server.js.map +72 -72
- 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.js +1 -1
- package/dist/commonjs/models/components/aaveborrowparams.d.ts +0 -4
- package/dist/commonjs/models/components/aaveborrowparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/aaveborrowparams.js +6 -11
- package/dist/commonjs/models/components/aaveborrowparams.js.map +1 -1
- package/dist/commonjs/models/components/aaveborrowrequest.d.ts +0 -4
- package/dist/commonjs/models/components/aaveborrowrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/aaveborrowrequest.js +6 -11
- package/dist/commonjs/models/components/aaveborrowrequest.js.map +1 -1
- package/dist/commonjs/models/components/aaverepayparams.d.ts +0 -4
- package/dist/commonjs/models/components/aaverepayparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/aaverepayparams.js +6 -11
- package/dist/commonjs/models/components/aaverepayparams.js.map +1 -1
- package/dist/commonjs/models/components/aaverepayrequest.d.ts +0 -4
- package/dist/commonjs/models/components/aaverepayrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/aaverepayrequest.js +6 -11
- package/dist/commonjs/models/components/aaverepayrequest.js.map +1 -1
- package/dist/commonjs/models/components/aavesupplyparams.d.ts +0 -4
- package/dist/commonjs/models/components/aavesupplyparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/aavesupplyparams.js +5 -10
- package/dist/commonjs/models/components/aavesupplyparams.js.map +1 -1
- package/dist/commonjs/models/components/aavesupplyrequest.d.ts +0 -4
- package/dist/commonjs/models/components/aavesupplyrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/aavesupplyrequest.js +5 -10
- package/dist/commonjs/models/components/aavesupplyrequest.js.map +1 -1
- package/dist/commonjs/models/components/aavewithdrawparams.d.ts +0 -4
- package/dist/commonjs/models/components/aavewithdrawparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/aavewithdrawparams.js +2 -11
- package/dist/commonjs/models/components/aavewithdrawparams.js.map +1 -1
- package/dist/commonjs/models/components/aavewithdrawrequest.d.ts +0 -4
- package/dist/commonjs/models/components/aavewithdrawrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/aavewithdrawrequest.js +2 -11
- package/dist/commonjs/models/components/aavewithdrawrequest.js.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyparams.d.ts +0 -4
- package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyparams.js +9 -14
- package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyparams.js.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyrequest.d.ts +0 -4
- package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyrequest.js +9 -14
- package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyrequest.js.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreamincreaseliquidityprovisionparams.d.ts +0 -4
- package/dist/commonjs/models/components/aerodromeslipstreamincreaseliquidityprovisionparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreamincreaseliquidityprovisionparams.js +9 -14
- package/dist/commonjs/models/components/aerodromeslipstreamincreaseliquidityprovisionparams.js.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.d.ts +0 -4
- package/dist/commonjs/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.js +9 -14
- package/dist/commonjs/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.js.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionparams.d.ts +0 -4
- package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionparams.js +11 -16
- package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionparams.js.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionrequest.d.ts +0 -4
- package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionrequest.js +11 -16
- package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionrequest.js.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyparams.d.ts +0 -4
- package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyparams.js +9 -14
- package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyparams.js.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyrequest.d.ts +0 -4
- package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyrequest.js +9 -14
- package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyrequest.js.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreamwithdrawliquidityprovisionparams.d.ts +0 -4
- package/dist/commonjs/models/components/aerodromeslipstreamwithdrawliquidityprovisionparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreamwithdrawliquidityprovisionparams.js +6 -11
- package/dist/commonjs/models/components/aerodromeslipstreamwithdrawliquidityprovisionparams.js.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.d.ts +0 -4
- package/dist/commonjs/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.js +6 -11
- package/dist/commonjs/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.js.map +1 -1
- package/dist/commonjs/models/components/increaseallowanceparams.d.ts +0 -4
- package/dist/commonjs/models/components/increaseallowanceparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/increaseallowanceparams.js +5 -10
- package/dist/commonjs/models/components/increaseallowanceparams.js.map +1 -1
- package/dist/commonjs/models/components/increaseallowancerequest.d.ts +0 -4
- package/dist/commonjs/models/components/increaseallowancerequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/increaseallowancerequest.js +5 -10
- package/dist/commonjs/models/components/increaseallowancerequest.js.map +1 -1
- package/dist/commonjs/models/components/morphoborrowparams.d.ts +0 -4
- package/dist/commonjs/models/components/morphoborrowparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/morphoborrowparams.js +6 -11
- package/dist/commonjs/models/components/morphoborrowparams.js.map +1 -1
- package/dist/commonjs/models/components/morphoborrowrequest.d.ts +0 -4
- package/dist/commonjs/models/components/morphoborrowrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/morphoborrowrequest.js +6 -11
- package/dist/commonjs/models/components/morphoborrowrequest.js.map +1 -1
- package/dist/commonjs/models/components/morphodepositparams.d.ts +0 -4
- package/dist/commonjs/models/components/morphodepositparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/morphodepositparams.js +5 -10
- package/dist/commonjs/models/components/morphodepositparams.js.map +1 -1
- package/dist/commonjs/models/components/morphodepositrequest.d.ts +0 -4
- package/dist/commonjs/models/components/morphodepositrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/morphodepositrequest.js +5 -10
- package/dist/commonjs/models/components/morphodepositrequest.js.map +1 -1
- package/dist/commonjs/models/components/morphorepayparams.d.ts +0 -4
- package/dist/commonjs/models/components/morphorepayparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/morphorepayparams.js +7 -12
- package/dist/commonjs/models/components/morphorepayparams.js.map +1 -1
- package/dist/commonjs/models/components/morphorepayrequest.d.ts +0 -4
- package/dist/commonjs/models/components/morphorepayrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/morphorepayrequest.js +7 -12
- package/dist/commonjs/models/components/morphorepayrequest.js.map +1 -1
- package/dist/commonjs/models/components/morphosetvaultallowanceparams.d.ts +0 -4
- package/dist/commonjs/models/components/morphosetvaultallowanceparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/morphosetvaultallowanceparams.js +5 -10
- package/dist/commonjs/models/components/morphosetvaultallowanceparams.js.map +1 -1
- package/dist/commonjs/models/components/morphosetvaultallowancerequest.d.ts +0 -4
- package/dist/commonjs/models/components/morphosetvaultallowancerequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/morphosetvaultallowancerequest.js +5 -10
- package/dist/commonjs/models/components/morphosetvaultallowancerequest.js.map +1 -1
- package/dist/commonjs/models/components/morphosupplycollateralparams.d.ts +0 -4
- package/dist/commonjs/models/components/morphosupplycollateralparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/morphosupplycollateralparams.js +7 -12
- package/dist/commonjs/models/components/morphosupplycollateralparams.js.map +1 -1
- package/dist/commonjs/models/components/morphosupplycollateralrequest.d.ts +0 -4
- package/dist/commonjs/models/components/morphosupplycollateralrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/morphosupplycollateralrequest.js +7 -12
- package/dist/commonjs/models/components/morphosupplycollateralrequest.js.map +1 -1
- package/dist/commonjs/models/components/morphowithdrawcollateralparams.d.ts +0 -4
- package/dist/commonjs/models/components/morphowithdrawcollateralparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/morphowithdrawcollateralparams.js +6 -11
- package/dist/commonjs/models/components/morphowithdrawcollateralparams.js.map +1 -1
- package/dist/commonjs/models/components/morphowithdrawcollateralrequest.d.ts +0 -4
- package/dist/commonjs/models/components/morphowithdrawcollateralrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/morphowithdrawcollateralrequest.js +6 -11
- package/dist/commonjs/models/components/morphowithdrawcollateralrequest.js.map +1 -1
- package/dist/commonjs/models/components/morphowithdrawparams.d.ts +0 -4
- package/dist/commonjs/models/components/morphowithdrawparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/morphowithdrawparams.js +5 -10
- package/dist/commonjs/models/components/morphowithdrawparams.js.map +1 -1
- package/dist/commonjs/models/components/morphowithdrawrequest.d.ts +0 -4
- package/dist/commonjs/models/components/morphowithdrawrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/morphowithdrawrequest.js +5 -10
- package/dist/commonjs/models/components/morphowithdrawrequest.js.map +1 -1
- package/dist/commonjs/models/components/pendlebuyptparams.d.ts +0 -4
- package/dist/commonjs/models/components/pendlebuyptparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendlebuyptparams.js +5 -10
- package/dist/commonjs/models/components/pendlebuyptparams.js.map +1 -1
- package/dist/commonjs/models/components/pendlebuyptrequest.d.ts +0 -4
- package/dist/commonjs/models/components/pendlebuyptrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendlebuyptrequest.js +5 -10
- package/dist/commonjs/models/components/pendlebuyptrequest.js.map +1 -1
- package/dist/commonjs/models/components/pendlebuyytparams.d.ts +0 -4
- package/dist/commonjs/models/components/pendlebuyytparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendlebuyytparams.js +5 -10
- package/dist/commonjs/models/components/pendlebuyytparams.js.map +1 -1
- package/dist/commonjs/models/components/pendlebuyytrequest.d.ts +0 -4
- package/dist/commonjs/models/components/pendlebuyytrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendlebuyytrequest.js +5 -10
- package/dist/commonjs/models/components/pendlebuyytrequest.js.map +1 -1
- package/dist/commonjs/models/components/pendlesellptparams.d.ts +0 -4
- package/dist/commonjs/models/components/pendlesellptparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendlesellptparams.js +5 -10
- package/dist/commonjs/models/components/pendlesellptparams.js.map +1 -1
- package/dist/commonjs/models/components/pendlesellptrequest.d.ts +0 -4
- package/dist/commonjs/models/components/pendlesellptrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendlesellptrequest.js +5 -10
- package/dist/commonjs/models/components/pendlesellptrequest.js.map +1 -1
- package/dist/commonjs/models/components/pendlesellytparams.d.ts +0 -4
- package/dist/commonjs/models/components/pendlesellytparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendlesellytparams.js +5 -10
- package/dist/commonjs/models/components/pendlesellytparams.js.map +1 -1
- package/dist/commonjs/models/components/pendlesellytrequest.d.ts +0 -4
- package/dist/commonjs/models/components/pendlesellytrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendlesellytrequest.js +5 -10
- package/dist/commonjs/models/components/pendlesellytrequest.js.map +1 -1
- package/dist/commonjs/models/components/skybuyparams.d.ts +0 -4
- package/dist/commonjs/models/components/skybuyparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/skybuyparams.js +5 -10
- package/dist/commonjs/models/components/skybuyparams.js.map +1 -1
- package/dist/commonjs/models/components/skybuyrequest.d.ts +0 -4
- package/dist/commonjs/models/components/skybuyrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/skybuyrequest.js +5 -10
- package/dist/commonjs/models/components/skybuyrequest.js.map +1 -1
- package/dist/commonjs/models/components/skydepositparams.d.ts +0 -4
- package/dist/commonjs/models/components/skydepositparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/skydepositparams.js +2 -11
- package/dist/commonjs/models/components/skydepositparams.js.map +1 -1
- package/dist/commonjs/models/components/skydepositrequest.d.ts +0 -4
- package/dist/commonjs/models/components/skydepositrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/skydepositrequest.js +2 -11
- package/dist/commonjs/models/components/skydepositrequest.js.map +1 -1
- package/dist/commonjs/models/components/skysellparams.d.ts +0 -4
- package/dist/commonjs/models/components/skysellparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/skysellparams.js +5 -10
- package/dist/commonjs/models/components/skysellparams.js.map +1 -1
- package/dist/commonjs/models/components/skysellrequest.d.ts +0 -4
- package/dist/commonjs/models/components/skysellrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/skysellrequest.js +5 -10
- package/dist/commonjs/models/components/skysellrequest.js.map +1 -1
- package/dist/commonjs/models/components/skywithdrawparams.d.ts +0 -4
- package/dist/commonjs/models/components/skywithdrawparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/skywithdrawparams.js +2 -11
- package/dist/commonjs/models/components/skywithdrawparams.js.map +1 -1
- package/dist/commonjs/models/components/skywithdrawrequest.d.ts +0 -4
- package/dist/commonjs/models/components/skywithdrawrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/skywithdrawrequest.js +2 -11
- package/dist/commonjs/models/components/skywithdrawrequest.js.map +1 -1
- package/dist/commonjs/models/components/tokentransfererc20params.d.ts +0 -4
- package/dist/commonjs/models/components/tokentransfererc20params.d.ts.map +1 -1
- package/dist/commonjs/models/components/tokentransfererc20params.js +2 -11
- package/dist/commonjs/models/components/tokentransfererc20params.js.map +1 -1
- package/dist/commonjs/models/components/tokentransferrequest.d.ts +0 -4
- package/dist/commonjs/models/components/tokentransferrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/tokentransferrequest.js +2 -11
- package/dist/commonjs/models/components/tokentransferrequest.js.map +1 -1
- package/dist/commonjs/models/components/uniswapbuyexactlyparams.d.ts +0 -4
- package/dist/commonjs/models/components/uniswapbuyexactlyparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/uniswapbuyexactlyparams.js +8 -13
- package/dist/commonjs/models/components/uniswapbuyexactlyparams.js.map +1 -1
- package/dist/commonjs/models/components/uniswapbuyexactlyrequest.d.ts +0 -4
- package/dist/commonjs/models/components/uniswapbuyexactlyrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/uniswapbuyexactlyrequest.js +8 -13
- package/dist/commonjs/models/components/uniswapbuyexactlyrequest.js.map +1 -1
- package/dist/commonjs/models/components/uniswapincreaseliquidityprovisionparams.d.ts +0 -4
- package/dist/commonjs/models/components/uniswapincreaseliquidityprovisionparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/uniswapincreaseliquidityprovisionparams.js +9 -14
- package/dist/commonjs/models/components/uniswapincreaseliquidityprovisionparams.js.map +1 -1
- package/dist/commonjs/models/components/uniswapincreaseliquidityprovisionrequest.d.ts +0 -4
- package/dist/commonjs/models/components/uniswapincreaseliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/uniswapincreaseliquidityprovisionrequest.js +9 -14
- package/dist/commonjs/models/components/uniswapincreaseliquidityprovisionrequest.js.map +1 -1
- package/dist/commonjs/models/components/uniswapmintliquidityprovisionparams.d.ts +0 -4
- package/dist/commonjs/models/components/uniswapmintliquidityprovisionparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/uniswapmintliquidityprovisionparams.js +10 -15
- package/dist/commonjs/models/components/uniswapmintliquidityprovisionparams.js.map +1 -1
- package/dist/commonjs/models/components/uniswapmintliquidityprovisionrequest.d.ts +0 -4
- package/dist/commonjs/models/components/uniswapmintliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/uniswapmintliquidityprovisionrequest.js +10 -15
- package/dist/commonjs/models/components/uniswapmintliquidityprovisionrequest.js.map +1 -1
- package/dist/commonjs/models/components/uniswapsellexactlyparams.d.ts +0 -4
- package/dist/commonjs/models/components/uniswapsellexactlyparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/uniswapsellexactlyparams.js +8 -13
- package/dist/commonjs/models/components/uniswapsellexactlyparams.js.map +1 -1
- package/dist/commonjs/models/components/uniswapsellexactlyrequest.d.ts +0 -4
- package/dist/commonjs/models/components/uniswapsellexactlyrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/uniswapsellexactlyrequest.js +8 -13
- package/dist/commonjs/models/components/uniswapsellexactlyrequest.js.map +1 -1
- package/dist/commonjs/models/components/uniswapwithdrawliquidityprovisionparams.d.ts +0 -4
- package/dist/commonjs/models/components/uniswapwithdrawliquidityprovisionparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/uniswapwithdrawliquidityprovisionparams.js +6 -11
- package/dist/commonjs/models/components/uniswapwithdrawliquidityprovisionparams.js.map +1 -1
- package/dist/commonjs/models/components/uniswapwithdrawliquidityprovisionrequest.d.ts +0 -4
- package/dist/commonjs/models/components/uniswapwithdrawliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/uniswapwithdrawliquidityprovisionrequest.js +6 -11
- package/dist/commonjs/models/components/uniswapwithdrawliquidityprovisionrequest.js.map +1 -1
- package/dist/commonjs/models/components/unwrapwethparams.d.ts +0 -4
- package/dist/commonjs/models/components/unwrapwethparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/unwrapwethparams.js +2 -11
- package/dist/commonjs/models/components/unwrapwethparams.js.map +1 -1
- package/dist/commonjs/models/components/unwrapwethrequest.d.ts +0 -4
- package/dist/commonjs/models/components/unwrapwethrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/unwrapwethrequest.js +2 -11
- package/dist/commonjs/models/components/unwrapwethrequest.js.map +1 -1
- package/dist/commonjs/models/components/useroperation.d.ts +0 -4
- package/dist/commonjs/models/components/useroperation.d.ts.map +1 -1
- package/dist/commonjs/models/components/useroperation.js +5 -10
- package/dist/commonjs/models/components/useroperation.js.map +1 -1
- package/dist/commonjs/models/components/wrapethparams.d.ts +0 -4
- package/dist/commonjs/models/components/wrapethparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/wrapethparams.js +2 -11
- package/dist/commonjs/models/components/wrapethparams.js.map +1 -1
- package/dist/commonjs/models/components/wrapethrequest.d.ts +0 -4
- package/dist/commonjs/models/components/wrapethrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/wrapethrequest.js +2 -11
- package/dist/commonjs/models/components/wrapethrequest.js.map +1 -1
- 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.js +1 -1
- package/dist/esm/models/components/aaveborrowparams.d.ts +0 -4
- package/dist/esm/models/components/aaveborrowparams.d.ts.map +1 -1
- package/dist/esm/models/components/aaveborrowparams.js +7 -12
- package/dist/esm/models/components/aaveborrowparams.js.map +1 -1
- package/dist/esm/models/components/aaveborrowrequest.d.ts +0 -4
- package/dist/esm/models/components/aaveborrowrequest.d.ts.map +1 -1
- package/dist/esm/models/components/aaveborrowrequest.js +7 -12
- package/dist/esm/models/components/aaveborrowrequest.js.map +1 -1
- package/dist/esm/models/components/aaverepayparams.d.ts +0 -4
- package/dist/esm/models/components/aaverepayparams.d.ts.map +1 -1
- package/dist/esm/models/components/aaverepayparams.js +7 -12
- package/dist/esm/models/components/aaverepayparams.js.map +1 -1
- package/dist/esm/models/components/aaverepayrequest.d.ts +0 -4
- package/dist/esm/models/components/aaverepayrequest.d.ts.map +1 -1
- package/dist/esm/models/components/aaverepayrequest.js +7 -12
- package/dist/esm/models/components/aaverepayrequest.js.map +1 -1
- package/dist/esm/models/components/aavesupplyparams.d.ts +0 -4
- package/dist/esm/models/components/aavesupplyparams.d.ts.map +1 -1
- package/dist/esm/models/components/aavesupplyparams.js +6 -11
- package/dist/esm/models/components/aavesupplyparams.js.map +1 -1
- package/dist/esm/models/components/aavesupplyrequest.d.ts +0 -4
- package/dist/esm/models/components/aavesupplyrequest.d.ts.map +1 -1
- package/dist/esm/models/components/aavesupplyrequest.js +6 -11
- package/dist/esm/models/components/aavesupplyrequest.js.map +1 -1
- package/dist/esm/models/components/aavewithdrawparams.d.ts +0 -4
- package/dist/esm/models/components/aavewithdrawparams.d.ts.map +1 -1
- package/dist/esm/models/components/aavewithdrawparams.js +3 -12
- package/dist/esm/models/components/aavewithdrawparams.js.map +1 -1
- package/dist/esm/models/components/aavewithdrawrequest.d.ts +0 -4
- package/dist/esm/models/components/aavewithdrawrequest.d.ts.map +1 -1
- package/dist/esm/models/components/aavewithdrawrequest.js +3 -12
- package/dist/esm/models/components/aavewithdrawrequest.js.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreambuyexactlyparams.d.ts +0 -4
- package/dist/esm/models/components/aerodromeslipstreambuyexactlyparams.d.ts.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreambuyexactlyparams.js +10 -15
- package/dist/esm/models/components/aerodromeslipstreambuyexactlyparams.js.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreambuyexactlyrequest.d.ts +0 -4
- package/dist/esm/models/components/aerodromeslipstreambuyexactlyrequest.d.ts.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreambuyexactlyrequest.js +10 -15
- package/dist/esm/models/components/aerodromeslipstreambuyexactlyrequest.js.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreamincreaseliquidityprovisionparams.d.ts +0 -4
- package/dist/esm/models/components/aerodromeslipstreamincreaseliquidityprovisionparams.d.ts.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreamincreaseliquidityprovisionparams.js +10 -15
- package/dist/esm/models/components/aerodromeslipstreamincreaseliquidityprovisionparams.js.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.d.ts +0 -4
- package/dist/esm/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.js +10 -15
- package/dist/esm/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.js.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionparams.d.ts +0 -4
- package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionparams.d.ts.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionparams.js +12 -17
- package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionparams.js.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionrequest.d.ts +0 -4
- package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionrequest.js +12 -17
- package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionrequest.js.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreamsellexactlyparams.d.ts +0 -4
- package/dist/esm/models/components/aerodromeslipstreamsellexactlyparams.d.ts.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreamsellexactlyparams.js +10 -15
- package/dist/esm/models/components/aerodromeslipstreamsellexactlyparams.js.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreamsellexactlyrequest.d.ts +0 -4
- package/dist/esm/models/components/aerodromeslipstreamsellexactlyrequest.d.ts.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreamsellexactlyrequest.js +10 -15
- package/dist/esm/models/components/aerodromeslipstreamsellexactlyrequest.js.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreamwithdrawliquidityprovisionparams.d.ts +0 -4
- package/dist/esm/models/components/aerodromeslipstreamwithdrawliquidityprovisionparams.d.ts.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreamwithdrawliquidityprovisionparams.js +7 -12
- package/dist/esm/models/components/aerodromeslipstreamwithdrawliquidityprovisionparams.js.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.d.ts +0 -4
- package/dist/esm/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/esm/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.js +7 -12
- package/dist/esm/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.js.map +1 -1
- package/dist/esm/models/components/increaseallowanceparams.d.ts +0 -4
- package/dist/esm/models/components/increaseallowanceparams.d.ts.map +1 -1
- package/dist/esm/models/components/increaseallowanceparams.js +6 -11
- package/dist/esm/models/components/increaseallowanceparams.js.map +1 -1
- package/dist/esm/models/components/increaseallowancerequest.d.ts +0 -4
- package/dist/esm/models/components/increaseallowancerequest.d.ts.map +1 -1
- package/dist/esm/models/components/increaseallowancerequest.js +6 -11
- package/dist/esm/models/components/increaseallowancerequest.js.map +1 -1
- package/dist/esm/models/components/morphoborrowparams.d.ts +0 -4
- package/dist/esm/models/components/morphoborrowparams.d.ts.map +1 -1
- package/dist/esm/models/components/morphoborrowparams.js +7 -12
- package/dist/esm/models/components/morphoborrowparams.js.map +1 -1
- package/dist/esm/models/components/morphoborrowrequest.d.ts +0 -4
- package/dist/esm/models/components/morphoborrowrequest.d.ts.map +1 -1
- package/dist/esm/models/components/morphoborrowrequest.js +7 -12
- package/dist/esm/models/components/morphoborrowrequest.js.map +1 -1
- package/dist/esm/models/components/morphodepositparams.d.ts +0 -4
- package/dist/esm/models/components/morphodepositparams.d.ts.map +1 -1
- package/dist/esm/models/components/morphodepositparams.js +6 -11
- package/dist/esm/models/components/morphodepositparams.js.map +1 -1
- package/dist/esm/models/components/morphodepositrequest.d.ts +0 -4
- package/dist/esm/models/components/morphodepositrequest.d.ts.map +1 -1
- package/dist/esm/models/components/morphodepositrequest.js +6 -11
- package/dist/esm/models/components/morphodepositrequest.js.map +1 -1
- package/dist/esm/models/components/morphorepayparams.d.ts +0 -4
- package/dist/esm/models/components/morphorepayparams.d.ts.map +1 -1
- package/dist/esm/models/components/morphorepayparams.js +8 -13
- package/dist/esm/models/components/morphorepayparams.js.map +1 -1
- package/dist/esm/models/components/morphorepayrequest.d.ts +0 -4
- package/dist/esm/models/components/morphorepayrequest.d.ts.map +1 -1
- package/dist/esm/models/components/morphorepayrequest.js +8 -13
- package/dist/esm/models/components/morphorepayrequest.js.map +1 -1
- package/dist/esm/models/components/morphosetvaultallowanceparams.d.ts +0 -4
- package/dist/esm/models/components/morphosetvaultallowanceparams.d.ts.map +1 -1
- package/dist/esm/models/components/morphosetvaultallowanceparams.js +6 -11
- package/dist/esm/models/components/morphosetvaultallowanceparams.js.map +1 -1
- package/dist/esm/models/components/morphosetvaultallowancerequest.d.ts +0 -4
- package/dist/esm/models/components/morphosetvaultallowancerequest.d.ts.map +1 -1
- package/dist/esm/models/components/morphosetvaultallowancerequest.js +6 -11
- package/dist/esm/models/components/morphosetvaultallowancerequest.js.map +1 -1
- package/dist/esm/models/components/morphosupplycollateralparams.d.ts +0 -4
- package/dist/esm/models/components/morphosupplycollateralparams.d.ts.map +1 -1
- package/dist/esm/models/components/morphosupplycollateralparams.js +8 -13
- package/dist/esm/models/components/morphosupplycollateralparams.js.map +1 -1
- package/dist/esm/models/components/morphosupplycollateralrequest.d.ts +0 -4
- package/dist/esm/models/components/morphosupplycollateralrequest.d.ts.map +1 -1
- package/dist/esm/models/components/morphosupplycollateralrequest.js +8 -13
- package/dist/esm/models/components/morphosupplycollateralrequest.js.map +1 -1
- package/dist/esm/models/components/morphowithdrawcollateralparams.d.ts +0 -4
- package/dist/esm/models/components/morphowithdrawcollateralparams.d.ts.map +1 -1
- package/dist/esm/models/components/morphowithdrawcollateralparams.js +7 -12
- package/dist/esm/models/components/morphowithdrawcollateralparams.js.map +1 -1
- package/dist/esm/models/components/morphowithdrawcollateralrequest.d.ts +0 -4
- package/dist/esm/models/components/morphowithdrawcollateralrequest.d.ts.map +1 -1
- package/dist/esm/models/components/morphowithdrawcollateralrequest.js +7 -12
- package/dist/esm/models/components/morphowithdrawcollateralrequest.js.map +1 -1
- package/dist/esm/models/components/morphowithdrawparams.d.ts +0 -4
- package/dist/esm/models/components/morphowithdrawparams.d.ts.map +1 -1
- package/dist/esm/models/components/morphowithdrawparams.js +6 -11
- package/dist/esm/models/components/morphowithdrawparams.js.map +1 -1
- package/dist/esm/models/components/morphowithdrawrequest.d.ts +0 -4
- package/dist/esm/models/components/morphowithdrawrequest.d.ts.map +1 -1
- package/dist/esm/models/components/morphowithdrawrequest.js +6 -11
- package/dist/esm/models/components/morphowithdrawrequest.js.map +1 -1
- package/dist/esm/models/components/pendlebuyptparams.d.ts +0 -4
- package/dist/esm/models/components/pendlebuyptparams.d.ts.map +1 -1
- package/dist/esm/models/components/pendlebuyptparams.js +6 -11
- package/dist/esm/models/components/pendlebuyptparams.js.map +1 -1
- package/dist/esm/models/components/pendlebuyptrequest.d.ts +0 -4
- package/dist/esm/models/components/pendlebuyptrequest.d.ts.map +1 -1
- package/dist/esm/models/components/pendlebuyptrequest.js +6 -11
- package/dist/esm/models/components/pendlebuyptrequest.js.map +1 -1
- package/dist/esm/models/components/pendlebuyytparams.d.ts +0 -4
- package/dist/esm/models/components/pendlebuyytparams.d.ts.map +1 -1
- package/dist/esm/models/components/pendlebuyytparams.js +6 -11
- package/dist/esm/models/components/pendlebuyytparams.js.map +1 -1
- package/dist/esm/models/components/pendlebuyytrequest.d.ts +0 -4
- package/dist/esm/models/components/pendlebuyytrequest.d.ts.map +1 -1
- package/dist/esm/models/components/pendlebuyytrequest.js +6 -11
- package/dist/esm/models/components/pendlebuyytrequest.js.map +1 -1
- package/dist/esm/models/components/pendlesellptparams.d.ts +0 -4
- package/dist/esm/models/components/pendlesellptparams.d.ts.map +1 -1
- package/dist/esm/models/components/pendlesellptparams.js +6 -11
- package/dist/esm/models/components/pendlesellptparams.js.map +1 -1
- package/dist/esm/models/components/pendlesellptrequest.d.ts +0 -4
- package/dist/esm/models/components/pendlesellptrequest.d.ts.map +1 -1
- package/dist/esm/models/components/pendlesellptrequest.js +6 -11
- package/dist/esm/models/components/pendlesellptrequest.js.map +1 -1
- package/dist/esm/models/components/pendlesellytparams.d.ts +0 -4
- package/dist/esm/models/components/pendlesellytparams.d.ts.map +1 -1
- package/dist/esm/models/components/pendlesellytparams.js +6 -11
- package/dist/esm/models/components/pendlesellytparams.js.map +1 -1
- package/dist/esm/models/components/pendlesellytrequest.d.ts +0 -4
- package/dist/esm/models/components/pendlesellytrequest.d.ts.map +1 -1
- package/dist/esm/models/components/pendlesellytrequest.js +6 -11
- package/dist/esm/models/components/pendlesellytrequest.js.map +1 -1
- package/dist/esm/models/components/skybuyparams.d.ts +0 -4
- package/dist/esm/models/components/skybuyparams.d.ts.map +1 -1
- package/dist/esm/models/components/skybuyparams.js +6 -11
- package/dist/esm/models/components/skybuyparams.js.map +1 -1
- package/dist/esm/models/components/skybuyrequest.d.ts +0 -4
- package/dist/esm/models/components/skybuyrequest.d.ts.map +1 -1
- package/dist/esm/models/components/skybuyrequest.js +6 -11
- package/dist/esm/models/components/skybuyrequest.js.map +1 -1
- package/dist/esm/models/components/skydepositparams.d.ts +0 -4
- package/dist/esm/models/components/skydepositparams.d.ts.map +1 -1
- package/dist/esm/models/components/skydepositparams.js +3 -12
- package/dist/esm/models/components/skydepositparams.js.map +1 -1
- package/dist/esm/models/components/skydepositrequest.d.ts +0 -4
- package/dist/esm/models/components/skydepositrequest.d.ts.map +1 -1
- package/dist/esm/models/components/skydepositrequest.js +3 -12
- package/dist/esm/models/components/skydepositrequest.js.map +1 -1
- package/dist/esm/models/components/skysellparams.d.ts +0 -4
- package/dist/esm/models/components/skysellparams.d.ts.map +1 -1
- package/dist/esm/models/components/skysellparams.js +6 -11
- package/dist/esm/models/components/skysellparams.js.map +1 -1
- package/dist/esm/models/components/skysellrequest.d.ts +0 -4
- package/dist/esm/models/components/skysellrequest.d.ts.map +1 -1
- package/dist/esm/models/components/skysellrequest.js +6 -11
- package/dist/esm/models/components/skysellrequest.js.map +1 -1
- package/dist/esm/models/components/skywithdrawparams.d.ts +0 -4
- package/dist/esm/models/components/skywithdrawparams.d.ts.map +1 -1
- package/dist/esm/models/components/skywithdrawparams.js +3 -12
- package/dist/esm/models/components/skywithdrawparams.js.map +1 -1
- package/dist/esm/models/components/skywithdrawrequest.d.ts +0 -4
- package/dist/esm/models/components/skywithdrawrequest.d.ts.map +1 -1
- package/dist/esm/models/components/skywithdrawrequest.js +3 -12
- package/dist/esm/models/components/skywithdrawrequest.js.map +1 -1
- package/dist/esm/models/components/tokentransfererc20params.d.ts +0 -4
- package/dist/esm/models/components/tokentransfererc20params.d.ts.map +1 -1
- package/dist/esm/models/components/tokentransfererc20params.js +3 -12
- package/dist/esm/models/components/tokentransfererc20params.js.map +1 -1
- package/dist/esm/models/components/tokentransferrequest.d.ts +0 -4
- package/dist/esm/models/components/tokentransferrequest.d.ts.map +1 -1
- package/dist/esm/models/components/tokentransferrequest.js +3 -12
- package/dist/esm/models/components/tokentransferrequest.js.map +1 -1
- package/dist/esm/models/components/uniswapbuyexactlyparams.d.ts +0 -4
- package/dist/esm/models/components/uniswapbuyexactlyparams.d.ts.map +1 -1
- package/dist/esm/models/components/uniswapbuyexactlyparams.js +9 -14
- package/dist/esm/models/components/uniswapbuyexactlyparams.js.map +1 -1
- package/dist/esm/models/components/uniswapbuyexactlyrequest.d.ts +0 -4
- package/dist/esm/models/components/uniswapbuyexactlyrequest.d.ts.map +1 -1
- package/dist/esm/models/components/uniswapbuyexactlyrequest.js +9 -14
- package/dist/esm/models/components/uniswapbuyexactlyrequest.js.map +1 -1
- package/dist/esm/models/components/uniswapincreaseliquidityprovisionparams.d.ts +0 -4
- package/dist/esm/models/components/uniswapincreaseliquidityprovisionparams.d.ts.map +1 -1
- package/dist/esm/models/components/uniswapincreaseliquidityprovisionparams.js +10 -15
- package/dist/esm/models/components/uniswapincreaseliquidityprovisionparams.js.map +1 -1
- package/dist/esm/models/components/uniswapincreaseliquidityprovisionrequest.d.ts +0 -4
- package/dist/esm/models/components/uniswapincreaseliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/esm/models/components/uniswapincreaseliquidityprovisionrequest.js +10 -15
- package/dist/esm/models/components/uniswapincreaseliquidityprovisionrequest.js.map +1 -1
- package/dist/esm/models/components/uniswapmintliquidityprovisionparams.d.ts +0 -4
- package/dist/esm/models/components/uniswapmintliquidityprovisionparams.d.ts.map +1 -1
- package/dist/esm/models/components/uniswapmintliquidityprovisionparams.js +11 -16
- package/dist/esm/models/components/uniswapmintliquidityprovisionparams.js.map +1 -1
- package/dist/esm/models/components/uniswapmintliquidityprovisionrequest.d.ts +0 -4
- package/dist/esm/models/components/uniswapmintliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/esm/models/components/uniswapmintliquidityprovisionrequest.js +11 -16
- package/dist/esm/models/components/uniswapmintliquidityprovisionrequest.js.map +1 -1
- package/dist/esm/models/components/uniswapsellexactlyparams.d.ts +0 -4
- package/dist/esm/models/components/uniswapsellexactlyparams.d.ts.map +1 -1
- package/dist/esm/models/components/uniswapsellexactlyparams.js +9 -14
- package/dist/esm/models/components/uniswapsellexactlyparams.js.map +1 -1
- package/dist/esm/models/components/uniswapsellexactlyrequest.d.ts +0 -4
- package/dist/esm/models/components/uniswapsellexactlyrequest.d.ts.map +1 -1
- package/dist/esm/models/components/uniswapsellexactlyrequest.js +9 -14
- package/dist/esm/models/components/uniswapsellexactlyrequest.js.map +1 -1
- package/dist/esm/models/components/uniswapwithdrawliquidityprovisionparams.d.ts +0 -4
- package/dist/esm/models/components/uniswapwithdrawliquidityprovisionparams.d.ts.map +1 -1
- package/dist/esm/models/components/uniswapwithdrawliquidityprovisionparams.js +7 -12
- package/dist/esm/models/components/uniswapwithdrawliquidityprovisionparams.js.map +1 -1
- package/dist/esm/models/components/uniswapwithdrawliquidityprovisionrequest.d.ts +0 -4
- package/dist/esm/models/components/uniswapwithdrawliquidityprovisionrequest.d.ts.map +1 -1
- package/dist/esm/models/components/uniswapwithdrawliquidityprovisionrequest.js +7 -12
- package/dist/esm/models/components/uniswapwithdrawliquidityprovisionrequest.js.map +1 -1
- package/dist/esm/models/components/unwrapwethparams.d.ts +0 -4
- package/dist/esm/models/components/unwrapwethparams.d.ts.map +1 -1
- package/dist/esm/models/components/unwrapwethparams.js +3 -12
- package/dist/esm/models/components/unwrapwethparams.js.map +1 -1
- package/dist/esm/models/components/unwrapwethrequest.d.ts +0 -4
- package/dist/esm/models/components/unwrapwethrequest.d.ts.map +1 -1
- package/dist/esm/models/components/unwrapwethrequest.js +3 -12
- package/dist/esm/models/components/unwrapwethrequest.js.map +1 -1
- package/dist/esm/models/components/useroperation.d.ts +0 -4
- package/dist/esm/models/components/useroperation.d.ts.map +1 -1
- package/dist/esm/models/components/useroperation.js +6 -11
- package/dist/esm/models/components/useroperation.js.map +1 -1
- package/dist/esm/models/components/wrapethparams.d.ts +0 -4
- package/dist/esm/models/components/wrapethparams.d.ts.map +1 -1
- package/dist/esm/models/components/wrapethparams.js +3 -12
- package/dist/esm/models/components/wrapethparams.js.map +1 -1
- package/dist/esm/models/components/wrapethrequest.d.ts +0 -4
- package/dist/esm/models/components/wrapethrequest.d.ts.map +1 -1
- package/dist/esm/models/components/wrapethrequest.js +3 -12
- package/dist/esm/models/components/wrapethrequest.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/aaveborrowparams.ts +11 -25
- package/src/models/components/aaveborrowrequest.ts +13 -27
- package/src/models/components/aaverepayparams.ts +11 -25
- package/src/models/components/aaverepayrequest.ts +13 -27
- package/src/models/components/aavesupplyparams.ts +9 -23
- package/src/models/components/aavesupplyrequest.ts +11 -25
- package/src/models/components/aavewithdrawparams.ts +6 -24
- package/src/models/components/aavewithdrawrequest.ts +8 -26
- package/src/models/components/aerodromeslipstreambuyexactlyparams.ts +15 -29
- package/src/models/components/aerodromeslipstreambuyexactlyrequest.ts +17 -31
- package/src/models/components/aerodromeslipstreamincreaseliquidityprovisionparams.ts +15 -29
- package/src/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.ts +17 -31
- package/src/models/components/aerodromeslipstreammintliquidityprovisionparams.ts +22 -36
- package/src/models/components/aerodromeslipstreammintliquidityprovisionrequest.ts +24 -38
- package/src/models/components/aerodromeslipstreamsellexactlyparams.ts +15 -29
- package/src/models/components/aerodromeslipstreamsellexactlyrequest.ts +17 -31
- package/src/models/components/aerodromeslipstreamwithdrawliquidityprovisionparams.ts +9 -23
- package/src/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.ts +11 -25
- package/src/models/components/increaseallowanceparams.ts +9 -23
- package/src/models/components/increaseallowancerequest.ts +11 -25
- package/src/models/components/morphoborrowparams.ts +11 -25
- package/src/models/components/morphoborrowrequest.ts +13 -27
- package/src/models/components/morphodepositparams.ts +9 -23
- package/src/models/components/morphodepositrequest.ts +11 -25
- package/src/models/components/morphorepayparams.ts +12 -26
- package/src/models/components/morphorepayrequest.ts +14 -28
- package/src/models/components/morphosetvaultallowanceparams.ts +8 -22
- package/src/models/components/morphosetvaultallowancerequest.ts +10 -24
- package/src/models/components/morphosupplycollateralparams.ts +12 -26
- package/src/models/components/morphosupplycollateralrequest.ts +14 -28
- package/src/models/components/morphowithdrawcollateralparams.ts +11 -25
- package/src/models/components/morphowithdrawcollateralrequest.ts +13 -27
- package/src/models/components/morphowithdrawparams.ts +9 -23
- package/src/models/components/morphowithdrawrequest.ts +11 -25
- package/src/models/components/pendlebuyptparams.ts +8 -22
- package/src/models/components/pendlebuyptrequest.ts +10 -24
- package/src/models/components/pendlebuyytparams.ts +8 -22
- package/src/models/components/pendlebuyytrequest.ts +10 -24
- package/src/models/components/pendlesellptparams.ts +8 -22
- package/src/models/components/pendlesellptrequest.ts +10 -24
- package/src/models/components/pendlesellytparams.ts +8 -22
- package/src/models/components/pendlesellytrequest.ts +10 -24
- package/src/models/components/skybuyparams.ts +8 -22
- package/src/models/components/skybuyrequest.ts +10 -24
- package/src/models/components/skydepositparams.ts +5 -23
- package/src/models/components/skydepositrequest.ts +7 -25
- package/src/models/components/skysellparams.ts +8 -22
- package/src/models/components/skysellrequest.ts +10 -24
- package/src/models/components/skywithdrawparams.ts +5 -23
- package/src/models/components/skywithdrawrequest.ts +7 -25
- package/src/models/components/tokentransfererc20params.ts +6 -24
- package/src/models/components/tokentransferrequest.ts +8 -26
- package/src/models/components/uniswapbuyexactlyparams.ts +15 -29
- package/src/models/components/uniswapbuyexactlyrequest.ts +17 -31
- package/src/models/components/uniswapincreaseliquidityprovisionparams.ts +15 -29
- package/src/models/components/uniswapincreaseliquidityprovisionrequest.ts +17 -31
- package/src/models/components/uniswapmintliquidityprovisionparams.ts +21 -35
- package/src/models/components/uniswapmintliquidityprovisionrequest.ts +23 -37
- package/src/models/components/uniswapsellexactlyparams.ts +15 -29
- package/src/models/components/uniswapsellexactlyrequest.ts +17 -31
- package/src/models/components/uniswapwithdrawliquidityprovisionparams.ts +9 -23
- package/src/models/components/uniswapwithdrawliquidityprovisionrequest.ts +11 -25
- package/src/models/components/unwrapwethparams.ts +4 -22
- package/src/models/components/unwrapwethrequest.ts +6 -24
- package/src/models/components/useroperation.ts +42 -56
- package/src/models/components/wrapethparams.ts +4 -22
- package/src/models/components/wrapethrequest.ts +6 -24
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.
|
|
34208
|
+
sdkVersion: "0.5.0",
|
|
34209
34209
|
genVersion: "2.616.1",
|
|
34210
|
-
userAgent: "speakeasy-sdk/typescript 0.
|
|
34210
|
+
userAgent: "speakeasy-sdk/typescript 0.5.0 2.616.1 0.0.1 @compass-labs/api-sdk"
|
|
34211
34211
|
};
|
|
34212
34212
|
});
|
|
34213
34213
|
|
|
@@ -35233,27 +35233,6 @@ function safeParse(rawValue, fn, errorMessage) {
|
|
|
35233
35233
|
return ERR(new SDKValidationError(errorMessage, err, rawValue));
|
|
35234
35234
|
}
|
|
35235
35235
|
}
|
|
35236
|
-
function collectExtraKeys(obj, extrasKey, optional2) {
|
|
35237
|
-
return obj.transform((val) => {
|
|
35238
|
-
const extras = {};
|
|
35239
|
-
const { shape } = obj;
|
|
35240
|
-
for (const [key] of Object.entries(val)) {
|
|
35241
|
-
if (key in shape) {
|
|
35242
|
-
continue;
|
|
35243
|
-
}
|
|
35244
|
-
const v2 = val[key];
|
|
35245
|
-
if (typeof v2 === "undefined") {
|
|
35246
|
-
continue;
|
|
35247
|
-
}
|
|
35248
|
-
extras[key] = v2;
|
|
35249
|
-
delete val[key];
|
|
35250
|
-
}
|
|
35251
|
-
if (optional2 && Object.keys(extras).length === 0) {
|
|
35252
|
-
return val;
|
|
35253
|
-
}
|
|
35254
|
-
return { ...val, [extrasKey]: extras };
|
|
35255
|
-
});
|
|
35256
|
-
}
|
|
35257
35236
|
var init_schemas = __esm(() => {
|
|
35258
35237
|
init_sdkvalidationerror();
|
|
35259
35238
|
});
|
|
@@ -35675,7 +35654,6 @@ var AaveBorrowParamsAmount$inboundSchema, AaveBorrowParamsAmount$outboundSchema,
|
|
|
35675
35654
|
var init_aaveborrowparams = __esm(() => {
|
|
35676
35655
|
init_esm();
|
|
35677
35656
|
init_primitives();
|
|
35678
|
-
init_schemas();
|
|
35679
35657
|
init_interestratemode();
|
|
35680
35658
|
init_tokenenum();
|
|
35681
35659
|
AaveBorrowParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -35684,12 +35662,12 @@ var init_aaveborrowparams = __esm(() => {
|
|
|
35684
35662
|
AaveBorrowParamsAmount$.inboundSchema = AaveBorrowParamsAmount$inboundSchema;
|
|
35685
35663
|
AaveBorrowParamsAmount$.outboundSchema = AaveBorrowParamsAmount$outboundSchema;
|
|
35686
35664
|
})(AaveBorrowParamsAmount$ ||= {});
|
|
35687
|
-
AaveBorrowParams$inboundSchema =
|
|
35665
|
+
AaveBorrowParams$inboundSchema = objectType({
|
|
35688
35666
|
token: TokenEnum$inboundSchema,
|
|
35689
35667
|
amount: unionType([numberType(), stringType()]),
|
|
35690
35668
|
interest_rate_mode: InterestRateMode$inboundSchema,
|
|
35691
35669
|
on_behalf_of: nullableType(stringType()).optional()
|
|
35692
|
-
}).
|
|
35670
|
+
}).transform((v2) => {
|
|
35693
35671
|
return remap(v2, {
|
|
35694
35672
|
interest_rate_mode: "interestRateMode",
|
|
35695
35673
|
on_behalf_of: "onBehalfOf"
|
|
@@ -35699,17 +35677,12 @@ var init_aaveborrowparams = __esm(() => {
|
|
|
35699
35677
|
token: TokenEnum$outboundSchema,
|
|
35700
35678
|
amount: unionType([numberType(), stringType()]),
|
|
35701
35679
|
interestRateMode: InterestRateMode$outboundSchema,
|
|
35702
|
-
onBehalfOf: nullableType(stringType()).optional()
|
|
35703
|
-
additionalProperties: recordType(anyType())
|
|
35680
|
+
onBehalfOf: nullableType(stringType()).optional()
|
|
35704
35681
|
}).transform((v2) => {
|
|
35705
|
-
return {
|
|
35706
|
-
|
|
35707
|
-
|
|
35708
|
-
|
|
35709
|
-
onBehalfOf: "on_behalf_of",
|
|
35710
|
-
additionalProperties: null
|
|
35711
|
-
})
|
|
35712
|
-
};
|
|
35682
|
+
return remap(v2, {
|
|
35683
|
+
interestRateMode: "interest_rate_mode",
|
|
35684
|
+
onBehalfOf: "on_behalf_of"
|
|
35685
|
+
});
|
|
35713
35686
|
});
|
|
35714
35687
|
((AaveBorrowParams$) => {
|
|
35715
35688
|
AaveBorrowParams$.inboundSchema = AaveBorrowParams$inboundSchema;
|
|
@@ -35739,7 +35712,6 @@ var AaveBorrowRequestAmount$inboundSchema, AaveBorrowRequestAmount$outboundSchem
|
|
|
35739
35712
|
var init_aaveborrowrequest = __esm(() => {
|
|
35740
35713
|
init_esm();
|
|
35741
35714
|
init_primitives();
|
|
35742
|
-
init_schemas();
|
|
35743
35715
|
init_chain();
|
|
35744
35716
|
init_interestratemode();
|
|
35745
35717
|
init_tokenenum();
|
|
@@ -35749,14 +35721,14 @@ var init_aaveborrowrequest = __esm(() => {
|
|
|
35749
35721
|
AaveBorrowRequestAmount$.inboundSchema = AaveBorrowRequestAmount$inboundSchema;
|
|
35750
35722
|
AaveBorrowRequestAmount$.outboundSchema = AaveBorrowRequestAmount$outboundSchema;
|
|
35751
35723
|
})(AaveBorrowRequestAmount$ ||= {});
|
|
35752
|
-
AaveBorrowRequest$inboundSchema =
|
|
35724
|
+
AaveBorrowRequest$inboundSchema = objectType({
|
|
35753
35725
|
token: TokenEnum$inboundSchema,
|
|
35754
35726
|
amount: unionType([numberType(), stringType()]),
|
|
35755
35727
|
interest_rate_mode: InterestRateMode$inboundSchema,
|
|
35756
35728
|
on_behalf_of: nullableType(stringType()).optional(),
|
|
35757
35729
|
chain: Chain$inboundSchema,
|
|
35758
35730
|
sender: stringType()
|
|
35759
|
-
}).
|
|
35731
|
+
}).transform((v2) => {
|
|
35760
35732
|
return remap(v2, {
|
|
35761
35733
|
interest_rate_mode: "interestRateMode",
|
|
35762
35734
|
on_behalf_of: "onBehalfOf"
|
|
@@ -35768,17 +35740,12 @@ var init_aaveborrowrequest = __esm(() => {
|
|
|
35768
35740
|
interestRateMode: InterestRateMode$outboundSchema,
|
|
35769
35741
|
onBehalfOf: nullableType(stringType()).optional(),
|
|
35770
35742
|
chain: Chain$outboundSchema,
|
|
35771
|
-
sender: stringType()
|
|
35772
|
-
additionalProperties: recordType(anyType())
|
|
35743
|
+
sender: stringType()
|
|
35773
35744
|
}).transform((v2) => {
|
|
35774
|
-
return {
|
|
35775
|
-
|
|
35776
|
-
|
|
35777
|
-
|
|
35778
|
-
onBehalfOf: "on_behalf_of",
|
|
35779
|
-
additionalProperties: null
|
|
35780
|
-
})
|
|
35781
|
-
};
|
|
35745
|
+
return remap(v2, {
|
|
35746
|
+
interestRateMode: "interest_rate_mode",
|
|
35747
|
+
onBehalfOf: "on_behalf_of"
|
|
35748
|
+
});
|
|
35782
35749
|
});
|
|
35783
35750
|
((AaveBorrowRequest$) => {
|
|
35784
35751
|
AaveBorrowRequest$.inboundSchema = AaveBorrowRequest$inboundSchema;
|
|
@@ -36358,7 +36325,6 @@ var AaveRepayParamsAmount$inboundSchema, AaveRepayParamsAmount$outboundSchema, A
|
|
|
36358
36325
|
var init_aaverepayparams = __esm(() => {
|
|
36359
36326
|
init_esm();
|
|
36360
36327
|
init_primitives();
|
|
36361
|
-
init_schemas();
|
|
36362
36328
|
init_interestratemode();
|
|
36363
36329
|
init_tokenenum();
|
|
36364
36330
|
AaveRepayParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -36367,12 +36333,12 @@ var init_aaverepayparams = __esm(() => {
|
|
|
36367
36333
|
AaveRepayParamsAmount$.inboundSchema = AaveRepayParamsAmount$inboundSchema;
|
|
36368
36334
|
AaveRepayParamsAmount$.outboundSchema = AaveRepayParamsAmount$outboundSchema;
|
|
36369
36335
|
})(AaveRepayParamsAmount$ ||= {});
|
|
36370
|
-
AaveRepayParams$inboundSchema =
|
|
36336
|
+
AaveRepayParams$inboundSchema = objectType({
|
|
36371
36337
|
token: TokenEnum$inboundSchema,
|
|
36372
36338
|
amount: unionType([numberType(), stringType()]),
|
|
36373
36339
|
interest_rate_mode: InterestRateMode$inboundSchema,
|
|
36374
36340
|
on_behalf_of: nullableType(stringType()).optional()
|
|
36375
|
-
}).
|
|
36341
|
+
}).transform((v2) => {
|
|
36376
36342
|
return remap(v2, {
|
|
36377
36343
|
interest_rate_mode: "interestRateMode",
|
|
36378
36344
|
on_behalf_of: "onBehalfOf"
|
|
@@ -36382,17 +36348,12 @@ var init_aaverepayparams = __esm(() => {
|
|
|
36382
36348
|
token: TokenEnum$outboundSchema,
|
|
36383
36349
|
amount: unionType([numberType(), stringType()]),
|
|
36384
36350
|
interestRateMode: InterestRateMode$outboundSchema,
|
|
36385
|
-
onBehalfOf: nullableType(stringType()).optional()
|
|
36386
|
-
additionalProperties: recordType(anyType())
|
|
36351
|
+
onBehalfOf: nullableType(stringType()).optional()
|
|
36387
36352
|
}).transform((v2) => {
|
|
36388
|
-
return {
|
|
36389
|
-
|
|
36390
|
-
|
|
36391
|
-
|
|
36392
|
-
onBehalfOf: "on_behalf_of",
|
|
36393
|
-
additionalProperties: null
|
|
36394
|
-
})
|
|
36395
|
-
};
|
|
36353
|
+
return remap(v2, {
|
|
36354
|
+
interestRateMode: "interest_rate_mode",
|
|
36355
|
+
onBehalfOf: "on_behalf_of"
|
|
36356
|
+
});
|
|
36396
36357
|
});
|
|
36397
36358
|
((AaveRepayParams$) => {
|
|
36398
36359
|
AaveRepayParams$.inboundSchema = AaveRepayParams$inboundSchema;
|
|
@@ -36405,7 +36366,6 @@ var AaveRepayRequestAmount$inboundSchema, AaveRepayRequestAmount$outboundSchema,
|
|
|
36405
36366
|
var init_aaverepayrequest = __esm(() => {
|
|
36406
36367
|
init_esm();
|
|
36407
36368
|
init_primitives();
|
|
36408
|
-
init_schemas();
|
|
36409
36369
|
init_chain();
|
|
36410
36370
|
init_interestratemode();
|
|
36411
36371
|
init_tokenenum();
|
|
@@ -36415,14 +36375,14 @@ var init_aaverepayrequest = __esm(() => {
|
|
|
36415
36375
|
AaveRepayRequestAmount$.inboundSchema = AaveRepayRequestAmount$inboundSchema;
|
|
36416
36376
|
AaveRepayRequestAmount$.outboundSchema = AaveRepayRequestAmount$outboundSchema;
|
|
36417
36377
|
})(AaveRepayRequestAmount$ ||= {});
|
|
36418
|
-
AaveRepayRequest$inboundSchema =
|
|
36378
|
+
AaveRepayRequest$inboundSchema = objectType({
|
|
36419
36379
|
token: TokenEnum$inboundSchema,
|
|
36420
36380
|
amount: unionType([numberType(), stringType()]),
|
|
36421
36381
|
interest_rate_mode: InterestRateMode$inboundSchema,
|
|
36422
36382
|
on_behalf_of: nullableType(stringType()).optional(),
|
|
36423
36383
|
chain: Chain$inboundSchema,
|
|
36424
36384
|
sender: stringType()
|
|
36425
|
-
}).
|
|
36385
|
+
}).transform((v2) => {
|
|
36426
36386
|
return remap(v2, {
|
|
36427
36387
|
interest_rate_mode: "interestRateMode",
|
|
36428
36388
|
on_behalf_of: "onBehalfOf"
|
|
@@ -36434,17 +36394,12 @@ var init_aaverepayrequest = __esm(() => {
|
|
|
36434
36394
|
interestRateMode: InterestRateMode$outboundSchema,
|
|
36435
36395
|
onBehalfOf: nullableType(stringType()).optional(),
|
|
36436
36396
|
chain: Chain$outboundSchema,
|
|
36437
|
-
sender: stringType()
|
|
36438
|
-
additionalProperties: recordType(anyType())
|
|
36397
|
+
sender: stringType()
|
|
36439
36398
|
}).transform((v2) => {
|
|
36440
|
-
return {
|
|
36441
|
-
|
|
36442
|
-
|
|
36443
|
-
|
|
36444
|
-
onBehalfOf: "on_behalf_of",
|
|
36445
|
-
additionalProperties: null
|
|
36446
|
-
})
|
|
36447
|
-
};
|
|
36399
|
+
return remap(v2, {
|
|
36400
|
+
interestRateMode: "interest_rate_mode",
|
|
36401
|
+
onBehalfOf: "on_behalf_of"
|
|
36402
|
+
});
|
|
36448
36403
|
});
|
|
36449
36404
|
((AaveRepayRequest$) => {
|
|
36450
36405
|
AaveRepayRequest$.inboundSchema = AaveRepayRequest$inboundSchema;
|
|
@@ -36533,7 +36488,6 @@ var AaveSupplyParamsAmount$inboundSchema, AaveSupplyParamsAmount$outboundSchema,
|
|
|
36533
36488
|
var init_aavesupplyparams = __esm(() => {
|
|
36534
36489
|
init_esm();
|
|
36535
36490
|
init_primitives();
|
|
36536
|
-
init_schemas();
|
|
36537
36491
|
init_tokenenum();
|
|
36538
36492
|
AaveSupplyParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
36539
36493
|
AaveSupplyParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -36541,11 +36495,11 @@ var init_aavesupplyparams = __esm(() => {
|
|
|
36541
36495
|
AaveSupplyParamsAmount$.inboundSchema = AaveSupplyParamsAmount$inboundSchema;
|
|
36542
36496
|
AaveSupplyParamsAmount$.outboundSchema = AaveSupplyParamsAmount$outboundSchema;
|
|
36543
36497
|
})(AaveSupplyParamsAmount$ ||= {});
|
|
36544
|
-
AaveSupplyParams$inboundSchema =
|
|
36498
|
+
AaveSupplyParams$inboundSchema = objectType({
|
|
36545
36499
|
token: TokenEnum$inboundSchema,
|
|
36546
36500
|
amount: unionType([numberType(), stringType()]),
|
|
36547
36501
|
on_behalf_of: nullableType(stringType()).optional()
|
|
36548
|
-
}).
|
|
36502
|
+
}).transform((v2) => {
|
|
36549
36503
|
return remap(v2, {
|
|
36550
36504
|
on_behalf_of: "onBehalfOf"
|
|
36551
36505
|
});
|
|
@@ -36553,16 +36507,11 @@ var init_aavesupplyparams = __esm(() => {
|
|
|
36553
36507
|
AaveSupplyParams$outboundSchema = objectType({
|
|
36554
36508
|
token: TokenEnum$outboundSchema,
|
|
36555
36509
|
amount: unionType([numberType(), stringType()]),
|
|
36556
|
-
onBehalfOf: nullableType(stringType()).optional()
|
|
36557
|
-
additionalProperties: recordType(anyType())
|
|
36510
|
+
onBehalfOf: nullableType(stringType()).optional()
|
|
36558
36511
|
}).transform((v2) => {
|
|
36559
|
-
return {
|
|
36560
|
-
|
|
36561
|
-
|
|
36562
|
-
onBehalfOf: "on_behalf_of",
|
|
36563
|
-
additionalProperties: null
|
|
36564
|
-
})
|
|
36565
|
-
};
|
|
36512
|
+
return remap(v2, {
|
|
36513
|
+
onBehalfOf: "on_behalf_of"
|
|
36514
|
+
});
|
|
36566
36515
|
});
|
|
36567
36516
|
((AaveSupplyParams$) => {
|
|
36568
36517
|
AaveSupplyParams$.inboundSchema = AaveSupplyParams$inboundSchema;
|
|
@@ -36575,7 +36524,6 @@ var AaveSupplyRequestAmount$inboundSchema, AaveSupplyRequestAmount$outboundSchem
|
|
|
36575
36524
|
var init_aavesupplyrequest = __esm(() => {
|
|
36576
36525
|
init_esm();
|
|
36577
36526
|
init_primitives();
|
|
36578
|
-
init_schemas();
|
|
36579
36527
|
init_chain();
|
|
36580
36528
|
init_tokenenum();
|
|
36581
36529
|
AaveSupplyRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -36584,13 +36532,13 @@ var init_aavesupplyrequest = __esm(() => {
|
|
|
36584
36532
|
AaveSupplyRequestAmount$.inboundSchema = AaveSupplyRequestAmount$inboundSchema;
|
|
36585
36533
|
AaveSupplyRequestAmount$.outboundSchema = AaveSupplyRequestAmount$outboundSchema;
|
|
36586
36534
|
})(AaveSupplyRequestAmount$ ||= {});
|
|
36587
|
-
AaveSupplyRequest$inboundSchema =
|
|
36535
|
+
AaveSupplyRequest$inboundSchema = objectType({
|
|
36588
36536
|
token: TokenEnum$inboundSchema,
|
|
36589
36537
|
amount: unionType([numberType(), stringType()]),
|
|
36590
36538
|
on_behalf_of: nullableType(stringType()).optional(),
|
|
36591
36539
|
chain: Chain$inboundSchema,
|
|
36592
36540
|
sender: stringType()
|
|
36593
|
-
}).
|
|
36541
|
+
}).transform((v2) => {
|
|
36594
36542
|
return remap(v2, {
|
|
36595
36543
|
on_behalf_of: "onBehalfOf"
|
|
36596
36544
|
});
|
|
@@ -36600,16 +36548,11 @@ var init_aavesupplyrequest = __esm(() => {
|
|
|
36600
36548
|
amount: unionType([numberType(), stringType()]),
|
|
36601
36549
|
onBehalfOf: nullableType(stringType()).optional(),
|
|
36602
36550
|
chain: Chain$outboundSchema,
|
|
36603
|
-
sender: stringType()
|
|
36604
|
-
additionalProperties: recordType(anyType())
|
|
36551
|
+
sender: stringType()
|
|
36605
36552
|
}).transform((v2) => {
|
|
36606
|
-
return {
|
|
36607
|
-
|
|
36608
|
-
|
|
36609
|
-
onBehalfOf: "on_behalf_of",
|
|
36610
|
-
additionalProperties: null
|
|
36611
|
-
})
|
|
36612
|
-
};
|
|
36553
|
+
return remap(v2, {
|
|
36554
|
+
onBehalfOf: "on_behalf_of"
|
|
36555
|
+
});
|
|
36613
36556
|
});
|
|
36614
36557
|
((AaveSupplyRequest$) => {
|
|
36615
36558
|
AaveSupplyRequest$.inboundSchema = AaveSupplyRequest$inboundSchema;
|
|
@@ -36739,8 +36682,6 @@ var init_aaveuserpositionsummaryresponse = __esm(() => {
|
|
|
36739
36682
|
var AaveWithdrawParamsAmount$inboundSchema, AaveWithdrawParamsAmount$outboundSchema, AaveWithdrawParamsAmount$, AaveWithdrawParams$inboundSchema, AaveWithdrawParams$outboundSchema, AaveWithdrawParams$;
|
|
36740
36683
|
var init_aavewithdrawparams = __esm(() => {
|
|
36741
36684
|
init_esm();
|
|
36742
|
-
init_primitives();
|
|
36743
|
-
init_schemas();
|
|
36744
36685
|
init_tokenenum();
|
|
36745
36686
|
AaveWithdrawParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
36746
36687
|
AaveWithdrawParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -36748,23 +36689,15 @@ var init_aavewithdrawparams = __esm(() => {
|
|
|
36748
36689
|
AaveWithdrawParamsAmount$.inboundSchema = AaveWithdrawParamsAmount$inboundSchema;
|
|
36749
36690
|
AaveWithdrawParamsAmount$.outboundSchema = AaveWithdrawParamsAmount$outboundSchema;
|
|
36750
36691
|
})(AaveWithdrawParamsAmount$ ||= {});
|
|
36751
|
-
AaveWithdrawParams$inboundSchema =
|
|
36692
|
+
AaveWithdrawParams$inboundSchema = objectType({
|
|
36752
36693
|
token: TokenEnum$inboundSchema,
|
|
36753
36694
|
amount: unionType([numberType(), stringType()]),
|
|
36754
36695
|
recipient: stringType()
|
|
36755
|
-
})
|
|
36696
|
+
});
|
|
36756
36697
|
AaveWithdrawParams$outboundSchema = objectType({
|
|
36757
36698
|
token: TokenEnum$outboundSchema,
|
|
36758
36699
|
amount: unionType([numberType(), stringType()]),
|
|
36759
|
-
recipient: stringType()
|
|
36760
|
-
additionalProperties: recordType(anyType())
|
|
36761
|
-
}).transform((v2) => {
|
|
36762
|
-
return {
|
|
36763
|
-
...v2.additionalProperties,
|
|
36764
|
-
...remap(v2, {
|
|
36765
|
-
additionalProperties: null
|
|
36766
|
-
})
|
|
36767
|
-
};
|
|
36700
|
+
recipient: stringType()
|
|
36768
36701
|
});
|
|
36769
36702
|
((AaveWithdrawParams$) => {
|
|
36770
36703
|
AaveWithdrawParams$.inboundSchema = AaveWithdrawParams$inboundSchema;
|
|
@@ -36776,8 +36709,6 @@ var init_aavewithdrawparams = __esm(() => {
|
|
|
36776
36709
|
var AaveWithdrawRequestAmount$inboundSchema, AaveWithdrawRequestAmount$outboundSchema, AaveWithdrawRequestAmount$, AaveWithdrawRequest$inboundSchema, AaveWithdrawRequest$outboundSchema, AaveWithdrawRequest$;
|
|
36777
36710
|
var init_aavewithdrawrequest = __esm(() => {
|
|
36778
36711
|
init_esm();
|
|
36779
|
-
init_primitives();
|
|
36780
|
-
init_schemas();
|
|
36781
36712
|
init_chain();
|
|
36782
36713
|
init_tokenenum();
|
|
36783
36714
|
AaveWithdrawRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -36786,27 +36717,19 @@ var init_aavewithdrawrequest = __esm(() => {
|
|
|
36786
36717
|
AaveWithdrawRequestAmount$.inboundSchema = AaveWithdrawRequestAmount$inboundSchema;
|
|
36787
36718
|
AaveWithdrawRequestAmount$.outboundSchema = AaveWithdrawRequestAmount$outboundSchema;
|
|
36788
36719
|
})(AaveWithdrawRequestAmount$ ||= {});
|
|
36789
|
-
AaveWithdrawRequest$inboundSchema =
|
|
36720
|
+
AaveWithdrawRequest$inboundSchema = objectType({
|
|
36790
36721
|
token: TokenEnum$inboundSchema,
|
|
36791
36722
|
amount: unionType([numberType(), stringType()]),
|
|
36792
36723
|
recipient: stringType(),
|
|
36793
36724
|
chain: Chain$inboundSchema,
|
|
36794
36725
|
sender: stringType()
|
|
36795
|
-
})
|
|
36726
|
+
});
|
|
36796
36727
|
AaveWithdrawRequest$outboundSchema = objectType({
|
|
36797
36728
|
token: TokenEnum$outboundSchema,
|
|
36798
36729
|
amount: unionType([numberType(), stringType()]),
|
|
36799
36730
|
recipient: stringType(),
|
|
36800
36731
|
chain: Chain$outboundSchema,
|
|
36801
|
-
sender: stringType()
|
|
36802
|
-
additionalProperties: recordType(anyType())
|
|
36803
|
-
}).transform((v2) => {
|
|
36804
|
-
return {
|
|
36805
|
-
...v2.additionalProperties,
|
|
36806
|
-
...remap(v2, {
|
|
36807
|
-
additionalProperties: null
|
|
36808
|
-
})
|
|
36809
|
-
};
|
|
36732
|
+
sender: stringType()
|
|
36810
36733
|
});
|
|
36811
36734
|
((AaveWithdrawRequest$) => {
|
|
36812
36735
|
AaveWithdrawRequest$.inboundSchema = AaveWithdrawRequest$inboundSchema;
|
|
@@ -36900,7 +36823,6 @@ var AerodromeSlipstreamBuyExactlyParamsAmountOut$inboundSchema, AerodromeSlipstr
|
|
|
36900
36823
|
var init_aerodromeslipstreambuyexactlyparams = __esm(() => {
|
|
36901
36824
|
init_esm();
|
|
36902
36825
|
init_primitives();
|
|
36903
|
-
init_schemas();
|
|
36904
36826
|
init_tokenenum();
|
|
36905
36827
|
AerodromeSlipstreamBuyExactlyParamsAmountOut$inboundSchema = unionType([numberType(), stringType()]);
|
|
36906
36828
|
AerodromeSlipstreamBuyExactlyParamsAmountOut$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -36914,13 +36836,13 @@ var init_aerodromeslipstreambuyexactlyparams = __esm(() => {
|
|
|
36914
36836
|
AerodromeSlipstreamBuyExactlyParamsAmountInMaximum$.inboundSchema = AerodromeSlipstreamBuyExactlyParamsAmountInMaximum$inboundSchema;
|
|
36915
36837
|
AerodromeSlipstreamBuyExactlyParamsAmountInMaximum$.outboundSchema = AerodromeSlipstreamBuyExactlyParamsAmountInMaximum$outboundSchema;
|
|
36916
36838
|
})(AerodromeSlipstreamBuyExactlyParamsAmountInMaximum$ ||= {});
|
|
36917
|
-
AerodromeSlipstreamBuyExactlyParams$inboundSchema =
|
|
36839
|
+
AerodromeSlipstreamBuyExactlyParams$inboundSchema = objectType({
|
|
36918
36840
|
token_in: TokenEnum$inboundSchema,
|
|
36919
36841
|
token_out: TokenEnum$inboundSchema,
|
|
36920
36842
|
tick_spacing: numberType().int(),
|
|
36921
36843
|
amount_out: unionType([numberType(), stringType()]),
|
|
36922
36844
|
amount_in_maximum: unionType([numberType(), stringType()])
|
|
36923
|
-
}).
|
|
36845
|
+
}).transform((v2) => {
|
|
36924
36846
|
return remap(v2, {
|
|
36925
36847
|
token_in: "tokenIn",
|
|
36926
36848
|
token_out: "tokenOut",
|
|
@@ -36934,20 +36856,15 @@ var init_aerodromeslipstreambuyexactlyparams = __esm(() => {
|
|
|
36934
36856
|
tokenOut: TokenEnum$outboundSchema,
|
|
36935
36857
|
tickSpacing: numberType().int(),
|
|
36936
36858
|
amountOut: unionType([numberType(), stringType()]),
|
|
36937
|
-
amountInMaximum: unionType([numberType(), stringType()])
|
|
36938
|
-
additionalProperties: recordType(anyType())
|
|
36859
|
+
amountInMaximum: unionType([numberType(), stringType()])
|
|
36939
36860
|
}).transform((v2) => {
|
|
36940
|
-
return {
|
|
36941
|
-
|
|
36942
|
-
|
|
36943
|
-
|
|
36944
|
-
|
|
36945
|
-
|
|
36946
|
-
|
|
36947
|
-
amountInMaximum: "amount_in_maximum",
|
|
36948
|
-
additionalProperties: null
|
|
36949
|
-
})
|
|
36950
|
-
};
|
|
36861
|
+
return remap(v2, {
|
|
36862
|
+
tokenIn: "token_in",
|
|
36863
|
+
tokenOut: "token_out",
|
|
36864
|
+
tickSpacing: "tick_spacing",
|
|
36865
|
+
amountOut: "amount_out",
|
|
36866
|
+
amountInMaximum: "amount_in_maximum"
|
|
36867
|
+
});
|
|
36951
36868
|
});
|
|
36952
36869
|
((AerodromeSlipstreamBuyExactlyParams$) => {
|
|
36953
36870
|
AerodromeSlipstreamBuyExactlyParams$.inboundSchema = AerodromeSlipstreamBuyExactlyParams$inboundSchema;
|
|
@@ -36960,7 +36877,6 @@ var AerodromeSlipstreamBuyExactlyRequestAmountOut$inboundSchema, AerodromeSlipst
|
|
|
36960
36877
|
var init_aerodromeslipstreambuyexactlyrequest = __esm(() => {
|
|
36961
36878
|
init_esm();
|
|
36962
36879
|
init_primitives();
|
|
36963
|
-
init_schemas();
|
|
36964
36880
|
init_chain();
|
|
36965
36881
|
init_tokenenum();
|
|
36966
36882
|
AerodromeSlipstreamBuyExactlyRequestAmountOut$inboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -36975,7 +36891,7 @@ var init_aerodromeslipstreambuyexactlyrequest = __esm(() => {
|
|
|
36975
36891
|
AerodromeSlipstreamBuyExactlyRequestAmountInMaximum$.inboundSchema = AerodromeSlipstreamBuyExactlyRequestAmountInMaximum$inboundSchema;
|
|
36976
36892
|
AerodromeSlipstreamBuyExactlyRequestAmountInMaximum$.outboundSchema = AerodromeSlipstreamBuyExactlyRequestAmountInMaximum$outboundSchema;
|
|
36977
36893
|
})(AerodromeSlipstreamBuyExactlyRequestAmountInMaximum$ ||= {});
|
|
36978
|
-
AerodromeSlipstreamBuyExactlyRequest$inboundSchema =
|
|
36894
|
+
AerodromeSlipstreamBuyExactlyRequest$inboundSchema = objectType({
|
|
36979
36895
|
token_in: TokenEnum$inboundSchema,
|
|
36980
36896
|
token_out: TokenEnum$inboundSchema,
|
|
36981
36897
|
tick_spacing: numberType().int(),
|
|
@@ -36983,7 +36899,7 @@ var init_aerodromeslipstreambuyexactlyrequest = __esm(() => {
|
|
|
36983
36899
|
amount_in_maximum: unionType([numberType(), stringType()]),
|
|
36984
36900
|
chain: Chain$inboundSchema,
|
|
36985
36901
|
sender: stringType()
|
|
36986
|
-
}).
|
|
36902
|
+
}).transform((v2) => {
|
|
36987
36903
|
return remap(v2, {
|
|
36988
36904
|
token_in: "tokenIn",
|
|
36989
36905
|
token_out: "tokenOut",
|
|
@@ -36999,20 +36915,15 @@ var init_aerodromeslipstreambuyexactlyrequest = __esm(() => {
|
|
|
36999
36915
|
amountOut: unionType([numberType(), stringType()]),
|
|
37000
36916
|
amountInMaximum: unionType([numberType(), stringType()]),
|
|
37001
36917
|
chain: Chain$outboundSchema,
|
|
37002
|
-
sender: stringType()
|
|
37003
|
-
additionalProperties: recordType(anyType())
|
|
36918
|
+
sender: stringType()
|
|
37004
36919
|
}).transform((v2) => {
|
|
37005
|
-
return {
|
|
37006
|
-
|
|
37007
|
-
|
|
37008
|
-
|
|
37009
|
-
|
|
37010
|
-
|
|
37011
|
-
|
|
37012
|
-
amountInMaximum: "amount_in_maximum",
|
|
37013
|
-
additionalProperties: null
|
|
37014
|
-
})
|
|
37015
|
-
};
|
|
36920
|
+
return remap(v2, {
|
|
36921
|
+
tokenIn: "token_in",
|
|
36922
|
+
tokenOut: "token_out",
|
|
36923
|
+
tickSpacing: "tick_spacing",
|
|
36924
|
+
amountOut: "amount_out",
|
|
36925
|
+
amountInMaximum: "amount_in_maximum"
|
|
36926
|
+
});
|
|
37016
36927
|
});
|
|
37017
36928
|
((AerodromeSlipstreamBuyExactlyRequest$) => {
|
|
37018
36929
|
AerodromeSlipstreamBuyExactlyRequest$.inboundSchema = AerodromeSlipstreamBuyExactlyRequest$inboundSchema;
|
|
@@ -37025,7 +36936,6 @@ var AerodromeSlipstreamIncreaseLiquidityProvisionParamsAmount0Desired$inboundSch
|
|
|
37025
36936
|
var init_aerodromeslipstreamincreaseliquidityprovisionparams = __esm(() => {
|
|
37026
36937
|
init_esm();
|
|
37027
36938
|
init_primitives();
|
|
37028
|
-
init_schemas();
|
|
37029
36939
|
AerodromeSlipstreamIncreaseLiquidityProvisionParamsAmount0Desired$inboundSchema = unionType([numberType(), stringType()]);
|
|
37030
36940
|
AerodromeSlipstreamIncreaseLiquidityProvisionParamsAmount0Desired$outboundSchema = unionType([numberType(), stringType()]);
|
|
37031
36941
|
((AerodromeSlipstreamIncreaseLiquidityProvisionParamsAmount0Desired$) => {
|
|
@@ -37050,13 +36960,13 @@ var init_aerodromeslipstreamincreaseliquidityprovisionparams = __esm(() => {
|
|
|
37050
36960
|
AerodromeSlipstreamIncreaseLiquidityProvisionParamsAmount1Min$.inboundSchema = AerodromeSlipstreamIncreaseLiquidityProvisionParamsAmount1Min$inboundSchema;
|
|
37051
36961
|
AerodromeSlipstreamIncreaseLiquidityProvisionParamsAmount1Min$.outboundSchema = AerodromeSlipstreamIncreaseLiquidityProvisionParamsAmount1Min$outboundSchema;
|
|
37052
36962
|
})(AerodromeSlipstreamIncreaseLiquidityProvisionParamsAmount1Min$ ||= {});
|
|
37053
|
-
AerodromeSlipstreamIncreaseLiquidityProvisionParams$inboundSchema =
|
|
36963
|
+
AerodromeSlipstreamIncreaseLiquidityProvisionParams$inboundSchema = objectType({
|
|
37054
36964
|
token_id: numberType().int(),
|
|
37055
36965
|
amount0_desired: unionType([numberType(), stringType()]),
|
|
37056
36966
|
amount1_desired: unionType([numberType(), stringType()]),
|
|
37057
36967
|
amount0_min: unionType([numberType(), stringType()]),
|
|
37058
36968
|
amount1_min: unionType([numberType(), stringType()])
|
|
37059
|
-
}).
|
|
36969
|
+
}).transform((v2) => {
|
|
37060
36970
|
return remap(v2, {
|
|
37061
36971
|
token_id: "tokenId",
|
|
37062
36972
|
amount0_desired: "amount0Desired",
|
|
@@ -37070,20 +36980,15 @@ var init_aerodromeslipstreamincreaseliquidityprovisionparams = __esm(() => {
|
|
|
37070
36980
|
amount0Desired: unionType([numberType(), stringType()]),
|
|
37071
36981
|
amount1Desired: unionType([numberType(), stringType()]),
|
|
37072
36982
|
amount0Min: unionType([numberType(), stringType()]),
|
|
37073
|
-
amount1Min: unionType([numberType(), stringType()])
|
|
37074
|
-
additionalProperties: recordType(anyType())
|
|
36983
|
+
amount1Min: unionType([numberType(), stringType()])
|
|
37075
36984
|
}).transform((v2) => {
|
|
37076
|
-
return {
|
|
37077
|
-
|
|
37078
|
-
|
|
37079
|
-
|
|
37080
|
-
|
|
37081
|
-
|
|
37082
|
-
|
|
37083
|
-
amount1Min: "amount1_min",
|
|
37084
|
-
additionalProperties: null
|
|
37085
|
-
})
|
|
37086
|
-
};
|
|
36985
|
+
return remap(v2, {
|
|
36986
|
+
tokenId: "token_id",
|
|
36987
|
+
amount0Desired: "amount0_desired",
|
|
36988
|
+
amount1Desired: "amount1_desired",
|
|
36989
|
+
amount0Min: "amount0_min",
|
|
36990
|
+
amount1Min: "amount1_min"
|
|
36991
|
+
});
|
|
37087
36992
|
});
|
|
37088
36993
|
((AerodromeSlipstreamIncreaseLiquidityProvisionParams$) => {
|
|
37089
36994
|
AerodromeSlipstreamIncreaseLiquidityProvisionParams$.inboundSchema = AerodromeSlipstreamIncreaseLiquidityProvisionParams$inboundSchema;
|
|
@@ -37096,7 +37001,6 @@ var AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0Desired$inboundSc
|
|
|
37096
37001
|
var init_aerodromeslipstreamincreaseliquidityprovisionrequest = __esm(() => {
|
|
37097
37002
|
init_esm();
|
|
37098
37003
|
init_primitives();
|
|
37099
|
-
init_schemas();
|
|
37100
37004
|
init_chain();
|
|
37101
37005
|
AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0Desired$inboundSchema = unionType([numberType(), stringType()]);
|
|
37102
37006
|
AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0Desired$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -37122,7 +37026,7 @@ var init_aerodromeslipstreamincreaseliquidityprovisionrequest = __esm(() => {
|
|
|
37122
37026
|
AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Min$.inboundSchema = AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Min$inboundSchema;
|
|
37123
37027
|
AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Min$.outboundSchema = AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Min$outboundSchema;
|
|
37124
37028
|
})(AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Min$ ||= {});
|
|
37125
|
-
AerodromeSlipstreamIncreaseLiquidityProvisionRequest$inboundSchema =
|
|
37029
|
+
AerodromeSlipstreamIncreaseLiquidityProvisionRequest$inboundSchema = objectType({
|
|
37126
37030
|
token_id: numberType().int(),
|
|
37127
37031
|
amount0_desired: unionType([numberType(), stringType()]),
|
|
37128
37032
|
amount1_desired: unionType([numberType(), stringType()]),
|
|
@@ -37130,7 +37034,7 @@ var init_aerodromeslipstreamincreaseliquidityprovisionrequest = __esm(() => {
|
|
|
37130
37034
|
amount1_min: unionType([numberType(), stringType()]),
|
|
37131
37035
|
chain: Chain$inboundSchema,
|
|
37132
37036
|
sender: stringType()
|
|
37133
|
-
}).
|
|
37037
|
+
}).transform((v2) => {
|
|
37134
37038
|
return remap(v2, {
|
|
37135
37039
|
token_id: "tokenId",
|
|
37136
37040
|
amount0_desired: "amount0Desired",
|
|
@@ -37146,20 +37050,15 @@ var init_aerodromeslipstreamincreaseliquidityprovisionrequest = __esm(() => {
|
|
|
37146
37050
|
amount0Min: unionType([numberType(), stringType()]),
|
|
37147
37051
|
amount1Min: unionType([numberType(), stringType()]),
|
|
37148
37052
|
chain: Chain$outboundSchema,
|
|
37149
|
-
sender: stringType()
|
|
37150
|
-
additionalProperties: recordType(anyType())
|
|
37053
|
+
sender: stringType()
|
|
37151
37054
|
}).transform((v2) => {
|
|
37152
|
-
return {
|
|
37153
|
-
|
|
37154
|
-
|
|
37155
|
-
|
|
37156
|
-
|
|
37157
|
-
|
|
37158
|
-
|
|
37159
|
-
amount1Min: "amount1_min",
|
|
37160
|
-
additionalProperties: null
|
|
37161
|
-
})
|
|
37162
|
-
};
|
|
37055
|
+
return remap(v2, {
|
|
37056
|
+
tokenId: "token_id",
|
|
37057
|
+
amount0Desired: "amount0_desired",
|
|
37058
|
+
amount1Desired: "amount1_desired",
|
|
37059
|
+
amount0Min: "amount0_min",
|
|
37060
|
+
amount1Min: "amount1_min"
|
|
37061
|
+
});
|
|
37163
37062
|
});
|
|
37164
37063
|
((AerodromeSlipstreamIncreaseLiquidityProvisionRequest$) => {
|
|
37165
37064
|
AerodromeSlipstreamIncreaseLiquidityProvisionRequest$.inboundSchema = AerodromeSlipstreamIncreaseLiquidityProvisionRequest$inboundSchema;
|
|
@@ -37172,7 +37071,6 @@ var AerodromeSlipstreamMintLiquidityProvisionParamsAmount0Desired$inboundSchema,
|
|
|
37172
37071
|
var init_aerodromeslipstreammintliquidityprovisionparams = __esm(() => {
|
|
37173
37072
|
init_esm();
|
|
37174
37073
|
init_primitives();
|
|
37175
|
-
init_schemas();
|
|
37176
37074
|
init_tokenenum();
|
|
37177
37075
|
AerodromeSlipstreamMintLiquidityProvisionParamsAmount0Desired$inboundSchema = unionType([numberType(), stringType()]);
|
|
37178
37076
|
AerodromeSlipstreamMintLiquidityProvisionParamsAmount0Desired$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -37198,7 +37096,7 @@ var init_aerodromeslipstreammintliquidityprovisionparams = __esm(() => {
|
|
|
37198
37096
|
AerodromeSlipstreamMintLiquidityProvisionParamsAmount1Min$.inboundSchema = AerodromeSlipstreamMintLiquidityProvisionParamsAmount1Min$inboundSchema;
|
|
37199
37097
|
AerodromeSlipstreamMintLiquidityProvisionParamsAmount1Min$.outboundSchema = AerodromeSlipstreamMintLiquidityProvisionParamsAmount1Min$outboundSchema;
|
|
37200
37098
|
})(AerodromeSlipstreamMintLiquidityProvisionParamsAmount1Min$ ||= {});
|
|
37201
|
-
AerodromeSlipstreamMintLiquidityProvisionParams$inboundSchema =
|
|
37099
|
+
AerodromeSlipstreamMintLiquidityProvisionParams$inboundSchema = objectType({
|
|
37202
37100
|
token0: TokenEnum$inboundSchema,
|
|
37203
37101
|
token1: TokenEnum$inboundSchema,
|
|
37204
37102
|
tick_spacing: numberType().int(),
|
|
@@ -37209,7 +37107,7 @@ var init_aerodromeslipstreammintliquidityprovisionparams = __esm(() => {
|
|
|
37209
37107
|
amount0_min: unionType([numberType(), stringType()]),
|
|
37210
37108
|
amount1_min: unionType([numberType(), stringType()]),
|
|
37211
37109
|
recipient: nullableType(stringType()).optional()
|
|
37212
|
-
}).
|
|
37110
|
+
}).transform((v2) => {
|
|
37213
37111
|
return remap(v2, {
|
|
37214
37112
|
tick_spacing: "tickSpacing",
|
|
37215
37113
|
tick_lower: "tickLower",
|
|
@@ -37230,22 +37128,17 @@ var init_aerodromeslipstreammintliquidityprovisionparams = __esm(() => {
|
|
|
37230
37128
|
amount1Desired: unionType([numberType(), stringType()]),
|
|
37231
37129
|
amount0Min: unionType([numberType(), stringType()]),
|
|
37232
37130
|
amount1Min: unionType([numberType(), stringType()]),
|
|
37233
|
-
recipient: nullableType(stringType()).optional()
|
|
37234
|
-
additionalProperties: recordType(anyType())
|
|
37131
|
+
recipient: nullableType(stringType()).optional()
|
|
37235
37132
|
}).transform((v2) => {
|
|
37236
|
-
return {
|
|
37237
|
-
|
|
37238
|
-
|
|
37239
|
-
|
|
37240
|
-
|
|
37241
|
-
|
|
37242
|
-
|
|
37243
|
-
|
|
37244
|
-
|
|
37245
|
-
amount1Min: "amount1_min",
|
|
37246
|
-
additionalProperties: null
|
|
37247
|
-
})
|
|
37248
|
-
};
|
|
37133
|
+
return remap(v2, {
|
|
37134
|
+
tickSpacing: "tick_spacing",
|
|
37135
|
+
tickLower: "tick_lower",
|
|
37136
|
+
tickUpper: "tick_upper",
|
|
37137
|
+
amount0Desired: "amount0_desired",
|
|
37138
|
+
amount1Desired: "amount1_desired",
|
|
37139
|
+
amount0Min: "amount0_min",
|
|
37140
|
+
amount1Min: "amount1_min"
|
|
37141
|
+
});
|
|
37249
37142
|
});
|
|
37250
37143
|
((AerodromeSlipstreamMintLiquidityProvisionParams$) => {
|
|
37251
37144
|
AerodromeSlipstreamMintLiquidityProvisionParams$.inboundSchema = AerodromeSlipstreamMintLiquidityProvisionParams$inboundSchema;
|
|
@@ -37258,7 +37151,6 @@ var AerodromeSlipstreamMintLiquidityProvisionRequestAmount0Desired$inboundSchema
|
|
|
37258
37151
|
var init_aerodromeslipstreammintliquidityprovisionrequest = __esm(() => {
|
|
37259
37152
|
init_esm();
|
|
37260
37153
|
init_primitives();
|
|
37261
|
-
init_schemas();
|
|
37262
37154
|
init_chain();
|
|
37263
37155
|
init_tokenenum();
|
|
37264
37156
|
AerodromeSlipstreamMintLiquidityProvisionRequestAmount0Desired$inboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -37285,7 +37177,7 @@ var init_aerodromeslipstreammintliquidityprovisionrequest = __esm(() => {
|
|
|
37285
37177
|
AerodromeSlipstreamMintLiquidityProvisionRequestAmount1Min$.inboundSchema = AerodromeSlipstreamMintLiquidityProvisionRequestAmount1Min$inboundSchema;
|
|
37286
37178
|
AerodromeSlipstreamMintLiquidityProvisionRequestAmount1Min$.outboundSchema = AerodromeSlipstreamMintLiquidityProvisionRequestAmount1Min$outboundSchema;
|
|
37287
37179
|
})(AerodromeSlipstreamMintLiquidityProvisionRequestAmount1Min$ ||= {});
|
|
37288
|
-
AerodromeSlipstreamMintLiquidityProvisionRequest$inboundSchema =
|
|
37180
|
+
AerodromeSlipstreamMintLiquidityProvisionRequest$inboundSchema = objectType({
|
|
37289
37181
|
token0: TokenEnum$inboundSchema,
|
|
37290
37182
|
token1: TokenEnum$inboundSchema,
|
|
37291
37183
|
tick_spacing: numberType().int(),
|
|
@@ -37298,7 +37190,7 @@ var init_aerodromeslipstreammintliquidityprovisionrequest = __esm(() => {
|
|
|
37298
37190
|
recipient: nullableType(stringType()).optional(),
|
|
37299
37191
|
chain: Chain$inboundSchema,
|
|
37300
37192
|
sender: stringType()
|
|
37301
|
-
}).
|
|
37193
|
+
}).transform((v2) => {
|
|
37302
37194
|
return remap(v2, {
|
|
37303
37195
|
tick_spacing: "tickSpacing",
|
|
37304
37196
|
tick_lower: "tickLower",
|
|
@@ -37321,22 +37213,17 @@ var init_aerodromeslipstreammintliquidityprovisionrequest = __esm(() => {
|
|
|
37321
37213
|
amount1Min: unionType([numberType(), stringType()]),
|
|
37322
37214
|
recipient: nullableType(stringType()).optional(),
|
|
37323
37215
|
chain: Chain$outboundSchema,
|
|
37324
|
-
sender: stringType()
|
|
37325
|
-
additionalProperties: recordType(anyType())
|
|
37216
|
+
sender: stringType()
|
|
37326
37217
|
}).transform((v2) => {
|
|
37327
|
-
return {
|
|
37328
|
-
|
|
37329
|
-
|
|
37330
|
-
|
|
37331
|
-
|
|
37332
|
-
|
|
37333
|
-
|
|
37334
|
-
|
|
37335
|
-
|
|
37336
|
-
amount1Min: "amount1_min",
|
|
37337
|
-
additionalProperties: null
|
|
37338
|
-
})
|
|
37339
|
-
};
|
|
37218
|
+
return remap(v2, {
|
|
37219
|
+
tickSpacing: "tick_spacing",
|
|
37220
|
+
tickLower: "tick_lower",
|
|
37221
|
+
tickUpper: "tick_upper",
|
|
37222
|
+
amount0Desired: "amount0_desired",
|
|
37223
|
+
amount1Desired: "amount1_desired",
|
|
37224
|
+
amount0Min: "amount0_min",
|
|
37225
|
+
amount1Min: "amount1_min"
|
|
37226
|
+
});
|
|
37340
37227
|
});
|
|
37341
37228
|
((AerodromeSlipstreamMintLiquidityProvisionRequest$) => {
|
|
37342
37229
|
AerodromeSlipstreamMintLiquidityProvisionRequest$.inboundSchema = AerodromeSlipstreamMintLiquidityProvisionRequest$inboundSchema;
|
|
@@ -37383,7 +37270,6 @@ var AerodromeSlipstreamSellExactlyParamsAmountIn$inboundSchema, AerodromeSlipstr
|
|
|
37383
37270
|
var init_aerodromeslipstreamsellexactlyparams = __esm(() => {
|
|
37384
37271
|
init_esm();
|
|
37385
37272
|
init_primitives();
|
|
37386
|
-
init_schemas();
|
|
37387
37273
|
init_tokenenum();
|
|
37388
37274
|
AerodromeSlipstreamSellExactlyParamsAmountIn$inboundSchema = unionType([numberType(), stringType()]);
|
|
37389
37275
|
AerodromeSlipstreamSellExactlyParamsAmountIn$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -37397,13 +37283,13 @@ var init_aerodromeslipstreamsellexactlyparams = __esm(() => {
|
|
|
37397
37283
|
AerodromeSlipstreamSellExactlyParamsAmountOutMinimum$.inboundSchema = AerodromeSlipstreamSellExactlyParamsAmountOutMinimum$inboundSchema;
|
|
37398
37284
|
AerodromeSlipstreamSellExactlyParamsAmountOutMinimum$.outboundSchema = AerodromeSlipstreamSellExactlyParamsAmountOutMinimum$outboundSchema;
|
|
37399
37285
|
})(AerodromeSlipstreamSellExactlyParamsAmountOutMinimum$ ||= {});
|
|
37400
|
-
AerodromeSlipstreamSellExactlyParams$inboundSchema =
|
|
37286
|
+
AerodromeSlipstreamSellExactlyParams$inboundSchema = objectType({
|
|
37401
37287
|
token_in: TokenEnum$inboundSchema,
|
|
37402
37288
|
token_out: TokenEnum$inboundSchema,
|
|
37403
37289
|
tick_spacing: numberType().int(),
|
|
37404
37290
|
amount_in: unionType([numberType(), stringType()]),
|
|
37405
37291
|
amount_out_minimum: unionType([numberType(), stringType()]).optional()
|
|
37406
|
-
}).
|
|
37292
|
+
}).transform((v2) => {
|
|
37407
37293
|
return remap(v2, {
|
|
37408
37294
|
token_in: "tokenIn",
|
|
37409
37295
|
token_out: "tokenOut",
|
|
@@ -37417,20 +37303,15 @@ var init_aerodromeslipstreamsellexactlyparams = __esm(() => {
|
|
|
37417
37303
|
tokenOut: TokenEnum$outboundSchema,
|
|
37418
37304
|
tickSpacing: numberType().int(),
|
|
37419
37305
|
amountIn: unionType([numberType(), stringType()]),
|
|
37420
|
-
amountOutMinimum: unionType([numberType(), stringType()]).optional()
|
|
37421
|
-
additionalProperties: recordType(anyType())
|
|
37306
|
+
amountOutMinimum: unionType([numberType(), stringType()]).optional()
|
|
37422
37307
|
}).transform((v2) => {
|
|
37423
|
-
return {
|
|
37424
|
-
|
|
37425
|
-
|
|
37426
|
-
|
|
37427
|
-
|
|
37428
|
-
|
|
37429
|
-
|
|
37430
|
-
amountOutMinimum: "amount_out_minimum",
|
|
37431
|
-
additionalProperties: null
|
|
37432
|
-
})
|
|
37433
|
-
};
|
|
37308
|
+
return remap(v2, {
|
|
37309
|
+
tokenIn: "token_in",
|
|
37310
|
+
tokenOut: "token_out",
|
|
37311
|
+
tickSpacing: "tick_spacing",
|
|
37312
|
+
amountIn: "amount_in",
|
|
37313
|
+
amountOutMinimum: "amount_out_minimum"
|
|
37314
|
+
});
|
|
37434
37315
|
});
|
|
37435
37316
|
((AerodromeSlipstreamSellExactlyParams$) => {
|
|
37436
37317
|
AerodromeSlipstreamSellExactlyParams$.inboundSchema = AerodromeSlipstreamSellExactlyParams$inboundSchema;
|
|
@@ -37443,7 +37324,6 @@ var AerodromeSlipstreamSellExactlyRequestAmountIn$inboundSchema, AerodromeSlipst
|
|
|
37443
37324
|
var init_aerodromeslipstreamsellexactlyrequest = __esm(() => {
|
|
37444
37325
|
init_esm();
|
|
37445
37326
|
init_primitives();
|
|
37446
|
-
init_schemas();
|
|
37447
37327
|
init_chain();
|
|
37448
37328
|
init_tokenenum();
|
|
37449
37329
|
AerodromeSlipstreamSellExactlyRequestAmountIn$inboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -37458,7 +37338,7 @@ var init_aerodromeslipstreamsellexactlyrequest = __esm(() => {
|
|
|
37458
37338
|
AerodromeSlipstreamSellExactlyRequestAmountOutMinimum$.inboundSchema = AerodromeSlipstreamSellExactlyRequestAmountOutMinimum$inboundSchema;
|
|
37459
37339
|
AerodromeSlipstreamSellExactlyRequestAmountOutMinimum$.outboundSchema = AerodromeSlipstreamSellExactlyRequestAmountOutMinimum$outboundSchema;
|
|
37460
37340
|
})(AerodromeSlipstreamSellExactlyRequestAmountOutMinimum$ ||= {});
|
|
37461
|
-
AerodromeSlipstreamSellExactlyRequest$inboundSchema =
|
|
37341
|
+
AerodromeSlipstreamSellExactlyRequest$inboundSchema = objectType({
|
|
37462
37342
|
token_in: TokenEnum$inboundSchema,
|
|
37463
37343
|
token_out: TokenEnum$inboundSchema,
|
|
37464
37344
|
tick_spacing: numberType().int(),
|
|
@@ -37466,7 +37346,7 @@ var init_aerodromeslipstreamsellexactlyrequest = __esm(() => {
|
|
|
37466
37346
|
amount_out_minimum: unionType([numberType(), stringType()]).optional(),
|
|
37467
37347
|
chain: Chain$inboundSchema,
|
|
37468
37348
|
sender: stringType()
|
|
37469
|
-
}).
|
|
37349
|
+
}).transform((v2) => {
|
|
37470
37350
|
return remap(v2, {
|
|
37471
37351
|
token_in: "tokenIn",
|
|
37472
37352
|
token_out: "tokenOut",
|
|
@@ -37482,20 +37362,15 @@ var init_aerodromeslipstreamsellexactlyrequest = __esm(() => {
|
|
|
37482
37362
|
amountIn: unionType([numberType(), stringType()]),
|
|
37483
37363
|
amountOutMinimum: unionType([numberType(), stringType()]).optional(),
|
|
37484
37364
|
chain: Chain$outboundSchema,
|
|
37485
|
-
sender: stringType()
|
|
37486
|
-
additionalProperties: recordType(anyType())
|
|
37365
|
+
sender: stringType()
|
|
37487
37366
|
}).transform((v2) => {
|
|
37488
|
-
return {
|
|
37489
|
-
|
|
37490
|
-
|
|
37491
|
-
|
|
37492
|
-
|
|
37493
|
-
|
|
37494
|
-
|
|
37495
|
-
amountOutMinimum: "amount_out_minimum",
|
|
37496
|
-
additionalProperties: null
|
|
37497
|
-
})
|
|
37498
|
-
};
|
|
37367
|
+
return remap(v2, {
|
|
37368
|
+
tokenIn: "token_in",
|
|
37369
|
+
tokenOut: "token_out",
|
|
37370
|
+
tickSpacing: "tick_spacing",
|
|
37371
|
+
amountIn: "amount_in",
|
|
37372
|
+
amountOutMinimum: "amount_out_minimum"
|
|
37373
|
+
});
|
|
37499
37374
|
});
|
|
37500
37375
|
((AerodromeSlipstreamSellExactlyRequest$) => {
|
|
37501
37376
|
AerodromeSlipstreamSellExactlyRequest$.inboundSchema = AerodromeSlipstreamSellExactlyRequest$inboundSchema;
|
|
@@ -37508,17 +37383,16 @@ var AerodromeSlipstreamWithdrawLiquidityProvisionParamsPercentageForWithdrawal$i
|
|
|
37508
37383
|
var init_aerodromeslipstreamwithdrawliquidityprovisionparams = __esm(() => {
|
|
37509
37384
|
init_esm();
|
|
37510
37385
|
init_primitives();
|
|
37511
|
-
init_schemas();
|
|
37512
37386
|
AerodromeSlipstreamWithdrawLiquidityProvisionParamsPercentageForWithdrawal$inboundSchema = unionType([numberType(), stringType()]);
|
|
37513
37387
|
AerodromeSlipstreamWithdrawLiquidityProvisionParamsPercentageForWithdrawal$outboundSchema = unionType([numberType(), stringType()]);
|
|
37514
37388
|
((AerodromeSlipstreamWithdrawLiquidityProvisionParamsPercentageForWithdrawal$) => {
|
|
37515
37389
|
AerodromeSlipstreamWithdrawLiquidityProvisionParamsPercentageForWithdrawal$.inboundSchema = AerodromeSlipstreamWithdrawLiquidityProvisionParamsPercentageForWithdrawal$inboundSchema;
|
|
37516
37390
|
AerodromeSlipstreamWithdrawLiquidityProvisionParamsPercentageForWithdrawal$.outboundSchema = AerodromeSlipstreamWithdrawLiquidityProvisionParamsPercentageForWithdrawal$outboundSchema;
|
|
37517
37391
|
})(AerodromeSlipstreamWithdrawLiquidityProvisionParamsPercentageForWithdrawal$ ||= {});
|
|
37518
|
-
AerodromeSlipstreamWithdrawLiquidityProvisionParams$inboundSchema =
|
|
37392
|
+
AerodromeSlipstreamWithdrawLiquidityProvisionParams$inboundSchema = objectType({
|
|
37519
37393
|
token_id: numberType().int(),
|
|
37520
37394
|
percentage_for_withdrawal: unionType([numberType(), stringType()])
|
|
37521
|
-
}).
|
|
37395
|
+
}).transform((v2) => {
|
|
37522
37396
|
return remap(v2, {
|
|
37523
37397
|
token_id: "tokenId",
|
|
37524
37398
|
percentage_for_withdrawal: "percentageForWithdrawal"
|
|
@@ -37526,17 +37400,12 @@ var init_aerodromeslipstreamwithdrawliquidityprovisionparams = __esm(() => {
|
|
|
37526
37400
|
});
|
|
37527
37401
|
AerodromeSlipstreamWithdrawLiquidityProvisionParams$outboundSchema = objectType({
|
|
37528
37402
|
tokenId: numberType().int(),
|
|
37529
|
-
percentageForWithdrawal: unionType([numberType(), stringType()])
|
|
37530
|
-
additionalProperties: recordType(anyType())
|
|
37403
|
+
percentageForWithdrawal: unionType([numberType(), stringType()])
|
|
37531
37404
|
}).transform((v2) => {
|
|
37532
|
-
return {
|
|
37533
|
-
|
|
37534
|
-
|
|
37535
|
-
|
|
37536
|
-
percentageForWithdrawal: "percentage_for_withdrawal",
|
|
37537
|
-
additionalProperties: null
|
|
37538
|
-
})
|
|
37539
|
-
};
|
|
37405
|
+
return remap(v2, {
|
|
37406
|
+
tokenId: "token_id",
|
|
37407
|
+
percentageForWithdrawal: "percentage_for_withdrawal"
|
|
37408
|
+
});
|
|
37540
37409
|
});
|
|
37541
37410
|
((AerodromeSlipstreamWithdrawLiquidityProvisionParams$) => {
|
|
37542
37411
|
AerodromeSlipstreamWithdrawLiquidityProvisionParams$.inboundSchema = AerodromeSlipstreamWithdrawLiquidityProvisionParams$inboundSchema;
|
|
@@ -37549,7 +37418,6 @@ var AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal$
|
|
|
37549
37418
|
var init_aerodromeslipstreamwithdrawliquidityprovisionrequest = __esm(() => {
|
|
37550
37419
|
init_esm();
|
|
37551
37420
|
init_primitives();
|
|
37552
|
-
init_schemas();
|
|
37553
37421
|
init_chain();
|
|
37554
37422
|
AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal$inboundSchema = unionType([numberType(), stringType()]);
|
|
37555
37423
|
AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -37557,12 +37425,12 @@ var init_aerodromeslipstreamwithdrawliquidityprovisionrequest = __esm(() => {
|
|
|
37557
37425
|
AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal$.inboundSchema = AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal$inboundSchema;
|
|
37558
37426
|
AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal$.outboundSchema = AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal$outboundSchema;
|
|
37559
37427
|
})(AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal$ ||= {});
|
|
37560
|
-
AerodromeSlipstreamWithdrawLiquidityProvisionRequest$inboundSchema =
|
|
37428
|
+
AerodromeSlipstreamWithdrawLiquidityProvisionRequest$inboundSchema = objectType({
|
|
37561
37429
|
token_id: numberType().int(),
|
|
37562
37430
|
percentage_for_withdrawal: unionType([numberType(), stringType()]),
|
|
37563
37431
|
chain: Chain$inboundSchema,
|
|
37564
37432
|
sender: stringType()
|
|
37565
|
-
}).
|
|
37433
|
+
}).transform((v2) => {
|
|
37566
37434
|
return remap(v2, {
|
|
37567
37435
|
token_id: "tokenId",
|
|
37568
37436
|
percentage_for_withdrawal: "percentageForWithdrawal"
|
|
@@ -37572,17 +37440,12 @@ var init_aerodromeslipstreamwithdrawliquidityprovisionrequest = __esm(() => {
|
|
|
37572
37440
|
tokenId: numberType().int(),
|
|
37573
37441
|
percentageForWithdrawal: unionType([numberType(), stringType()]),
|
|
37574
37442
|
chain: Chain$outboundSchema,
|
|
37575
|
-
sender: stringType()
|
|
37576
|
-
additionalProperties: recordType(anyType())
|
|
37443
|
+
sender: stringType()
|
|
37577
37444
|
}).transform((v2) => {
|
|
37578
|
-
return {
|
|
37579
|
-
|
|
37580
|
-
|
|
37581
|
-
|
|
37582
|
-
percentageForWithdrawal: "percentage_for_withdrawal",
|
|
37583
|
-
additionalProperties: null
|
|
37584
|
-
})
|
|
37585
|
-
};
|
|
37445
|
+
return remap(v2, {
|
|
37446
|
+
tokenId: "token_id",
|
|
37447
|
+
percentageForWithdrawal: "percentage_for_withdrawal"
|
|
37448
|
+
});
|
|
37586
37449
|
});
|
|
37587
37450
|
((AerodromeSlipstreamWithdrawLiquidityProvisionRequest$) => {
|
|
37588
37451
|
AerodromeSlipstreamWithdrawLiquidityProvisionRequest$.inboundSchema = AerodromeSlipstreamWithdrawLiquidityProvisionRequest$inboundSchema;
|
|
@@ -37633,7 +37496,6 @@ var IncreaseAllowanceParamsContractName, IncreaseAllowanceParamsToken$inboundSch
|
|
|
37633
37496
|
var init_increaseallowanceparams = __esm(() => {
|
|
37634
37497
|
init_esm();
|
|
37635
37498
|
init_primitives();
|
|
37636
|
-
init_schemas();
|
|
37637
37499
|
init_tokenenum();
|
|
37638
37500
|
IncreaseAllowanceParamsContractName = {
|
|
37639
37501
|
AaveV3Pool: "AaveV3Pool",
|
|
@@ -37666,11 +37528,11 @@ var init_increaseallowanceparams = __esm(() => {
|
|
|
37666
37528
|
IncreaseAllowanceParamsAmount$.inboundSchema = IncreaseAllowanceParamsAmount$inboundSchema;
|
|
37667
37529
|
IncreaseAllowanceParamsAmount$.outboundSchema = IncreaseAllowanceParamsAmount$outboundSchema;
|
|
37668
37530
|
})(IncreaseAllowanceParamsAmount$ ||= {});
|
|
37669
|
-
IncreaseAllowanceParams$inboundSchema =
|
|
37531
|
+
IncreaseAllowanceParams$inboundSchema = objectType({
|
|
37670
37532
|
token: unionType([TokenEnum$inboundSchema, stringType()]),
|
|
37671
37533
|
contract_name: IncreaseAllowanceParamsContractName$inboundSchema,
|
|
37672
37534
|
amount: unionType([numberType(), stringType()])
|
|
37673
|
-
}).
|
|
37535
|
+
}).transform((v2) => {
|
|
37674
37536
|
return remap(v2, {
|
|
37675
37537
|
contract_name: "contractName"
|
|
37676
37538
|
});
|
|
@@ -37678,16 +37540,11 @@ var init_increaseallowanceparams = __esm(() => {
|
|
|
37678
37540
|
IncreaseAllowanceParams$outboundSchema = objectType({
|
|
37679
37541
|
token: unionType([TokenEnum$outboundSchema, stringType()]),
|
|
37680
37542
|
contractName: IncreaseAllowanceParamsContractName$outboundSchema,
|
|
37681
|
-
amount: unionType([numberType(), stringType()])
|
|
37682
|
-
additionalProperties: recordType(anyType())
|
|
37543
|
+
amount: unionType([numberType(), stringType()])
|
|
37683
37544
|
}).transform((v2) => {
|
|
37684
|
-
return {
|
|
37685
|
-
|
|
37686
|
-
|
|
37687
|
-
contractName: "contract_name",
|
|
37688
|
-
additionalProperties: null
|
|
37689
|
-
})
|
|
37690
|
-
};
|
|
37545
|
+
return remap(v2, {
|
|
37546
|
+
contractName: "contract_name"
|
|
37547
|
+
});
|
|
37691
37548
|
});
|
|
37692
37549
|
((IncreaseAllowanceParams$) => {
|
|
37693
37550
|
IncreaseAllowanceParams$.inboundSchema = IncreaseAllowanceParams$inboundSchema;
|
|
@@ -37700,19 +37557,18 @@ var MorphoBorrowParamsAmount$inboundSchema, MorphoBorrowParamsAmount$outboundSch
|
|
|
37700
37557
|
var init_morphoborrowparams = __esm(() => {
|
|
37701
37558
|
init_esm();
|
|
37702
37559
|
init_primitives();
|
|
37703
|
-
init_schemas();
|
|
37704
37560
|
MorphoBorrowParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
37705
37561
|
MorphoBorrowParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
37706
37562
|
((MorphoBorrowParamsAmount$) => {
|
|
37707
37563
|
MorphoBorrowParamsAmount$.inboundSchema = MorphoBorrowParamsAmount$inboundSchema;
|
|
37708
37564
|
MorphoBorrowParamsAmount$.outboundSchema = MorphoBorrowParamsAmount$outboundSchema;
|
|
37709
37565
|
})(MorphoBorrowParamsAmount$ ||= {});
|
|
37710
|
-
MorphoBorrowParams$inboundSchema =
|
|
37566
|
+
MorphoBorrowParams$inboundSchema = objectType({
|
|
37711
37567
|
amount: unionType([numberType(), stringType()]),
|
|
37712
37568
|
unique_market_key: stringType(),
|
|
37713
37569
|
on_behalf_of: nullableType(stringType()).optional(),
|
|
37714
37570
|
receiver: nullableType(stringType()).optional()
|
|
37715
|
-
}).
|
|
37571
|
+
}).transform((v2) => {
|
|
37716
37572
|
return remap(v2, {
|
|
37717
37573
|
unique_market_key: "uniqueMarketKey",
|
|
37718
37574
|
on_behalf_of: "onBehalfOf"
|
|
@@ -37722,17 +37578,12 @@ var init_morphoborrowparams = __esm(() => {
|
|
|
37722
37578
|
amount: unionType([numberType(), stringType()]),
|
|
37723
37579
|
uniqueMarketKey: stringType(),
|
|
37724
37580
|
onBehalfOf: nullableType(stringType()).optional(),
|
|
37725
|
-
receiver: nullableType(stringType()).optional()
|
|
37726
|
-
additionalProperties: recordType(anyType())
|
|
37581
|
+
receiver: nullableType(stringType()).optional()
|
|
37727
37582
|
}).transform((v2) => {
|
|
37728
|
-
return {
|
|
37729
|
-
|
|
37730
|
-
|
|
37731
|
-
|
|
37732
|
-
onBehalfOf: "on_behalf_of",
|
|
37733
|
-
additionalProperties: null
|
|
37734
|
-
})
|
|
37735
|
-
};
|
|
37583
|
+
return remap(v2, {
|
|
37584
|
+
uniqueMarketKey: "unique_market_key",
|
|
37585
|
+
onBehalfOf: "on_behalf_of"
|
|
37586
|
+
});
|
|
37736
37587
|
});
|
|
37737
37588
|
((MorphoBorrowParams$) => {
|
|
37738
37589
|
MorphoBorrowParams$.inboundSchema = MorphoBorrowParams$inboundSchema;
|
|
@@ -37745,18 +37596,17 @@ var MorphoDepositParamsAmount$inboundSchema, MorphoDepositParamsAmount$outboundS
|
|
|
37745
37596
|
var init_morphodepositparams = __esm(() => {
|
|
37746
37597
|
init_esm();
|
|
37747
37598
|
init_primitives();
|
|
37748
|
-
init_schemas();
|
|
37749
37599
|
MorphoDepositParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
37750
37600
|
MorphoDepositParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
37751
37601
|
((MorphoDepositParamsAmount$) => {
|
|
37752
37602
|
MorphoDepositParamsAmount$.inboundSchema = MorphoDepositParamsAmount$inboundSchema;
|
|
37753
37603
|
MorphoDepositParamsAmount$.outboundSchema = MorphoDepositParamsAmount$outboundSchema;
|
|
37754
37604
|
})(MorphoDepositParamsAmount$ ||= {});
|
|
37755
|
-
MorphoDepositParams$inboundSchema =
|
|
37605
|
+
MorphoDepositParams$inboundSchema = objectType({
|
|
37756
37606
|
vault_address: stringType(),
|
|
37757
37607
|
amount: unionType([numberType(), stringType()]),
|
|
37758
37608
|
receiver: nullableType(stringType()).optional()
|
|
37759
|
-
}).
|
|
37609
|
+
}).transform((v2) => {
|
|
37760
37610
|
return remap(v2, {
|
|
37761
37611
|
vault_address: "vaultAddress"
|
|
37762
37612
|
});
|
|
@@ -37764,16 +37614,11 @@ var init_morphodepositparams = __esm(() => {
|
|
|
37764
37614
|
MorphoDepositParams$outboundSchema = objectType({
|
|
37765
37615
|
vaultAddress: stringType(),
|
|
37766
37616
|
amount: unionType([numberType(), stringType()]),
|
|
37767
|
-
receiver: nullableType(stringType()).optional()
|
|
37768
|
-
additionalProperties: recordType(anyType())
|
|
37617
|
+
receiver: nullableType(stringType()).optional()
|
|
37769
37618
|
}).transform((v2) => {
|
|
37770
|
-
return {
|
|
37771
|
-
|
|
37772
|
-
|
|
37773
|
-
vaultAddress: "vault_address",
|
|
37774
|
-
additionalProperties: null
|
|
37775
|
-
})
|
|
37776
|
-
};
|
|
37619
|
+
return remap(v2, {
|
|
37620
|
+
vaultAddress: "vault_address"
|
|
37621
|
+
});
|
|
37777
37622
|
});
|
|
37778
37623
|
((MorphoDepositParams$) => {
|
|
37779
37624
|
MorphoDepositParams$.inboundSchema = MorphoDepositParams$inboundSchema;
|
|
@@ -37787,13 +37632,12 @@ var init_morphorepayparams = __esm(() => {
|
|
|
37787
37632
|
init_esm();
|
|
37788
37633
|
init_base64();
|
|
37789
37634
|
init_primitives();
|
|
37790
|
-
|
|
37791
|
-
MorphoRepayParams$inboundSchema = collectExtraKeys(objectType({
|
|
37635
|
+
MorphoRepayParams$inboundSchema = objectType({
|
|
37792
37636
|
amount: anyType().optional(),
|
|
37793
37637
|
unique_market_key: stringType(),
|
|
37794
37638
|
on_behalf_of: nullableType(stringType()).optional(),
|
|
37795
37639
|
callback_data: nullableType(zodInbound).optional()
|
|
37796
|
-
}).
|
|
37640
|
+
}).transform((v2) => {
|
|
37797
37641
|
return remap(v2, {
|
|
37798
37642
|
unique_market_key: "uniqueMarketKey",
|
|
37799
37643
|
on_behalf_of: "onBehalfOf",
|
|
@@ -37804,18 +37648,13 @@ var init_morphorepayparams = __esm(() => {
|
|
|
37804
37648
|
amount: anyType().optional(),
|
|
37805
37649
|
uniqueMarketKey: stringType(),
|
|
37806
37650
|
onBehalfOf: nullableType(stringType()).optional(),
|
|
37807
|
-
callbackData: nullableType(zodOutbound).optional()
|
|
37808
|
-
additionalProperties: recordType(anyType())
|
|
37651
|
+
callbackData: nullableType(zodOutbound).optional()
|
|
37809
37652
|
}).transform((v2) => {
|
|
37810
|
-
return {
|
|
37811
|
-
|
|
37812
|
-
|
|
37813
|
-
|
|
37814
|
-
|
|
37815
|
-
callbackData: "callback_data",
|
|
37816
|
-
additionalProperties: null
|
|
37817
|
-
})
|
|
37818
|
-
};
|
|
37653
|
+
return remap(v2, {
|
|
37654
|
+
uniqueMarketKey: "unique_market_key",
|
|
37655
|
+
onBehalfOf: "on_behalf_of",
|
|
37656
|
+
callbackData: "callback_data"
|
|
37657
|
+
});
|
|
37819
37658
|
});
|
|
37820
37659
|
((MorphoRepayParams$) => {
|
|
37821
37660
|
MorphoRepayParams$.inboundSchema = MorphoRepayParams$inboundSchema;
|
|
@@ -37828,33 +37667,27 @@ var MorphoSetVaultAllowanceParamsAmount$inboundSchema, MorphoSetVaultAllowancePa
|
|
|
37828
37667
|
var init_morphosetvaultallowanceparams = __esm(() => {
|
|
37829
37668
|
init_esm();
|
|
37830
37669
|
init_primitives();
|
|
37831
|
-
init_schemas();
|
|
37832
37670
|
MorphoSetVaultAllowanceParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
37833
37671
|
MorphoSetVaultAllowanceParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
37834
37672
|
((MorphoSetVaultAllowanceParamsAmount$) => {
|
|
37835
37673
|
MorphoSetVaultAllowanceParamsAmount$.inboundSchema = MorphoSetVaultAllowanceParamsAmount$inboundSchema;
|
|
37836
37674
|
MorphoSetVaultAllowanceParamsAmount$.outboundSchema = MorphoSetVaultAllowanceParamsAmount$outboundSchema;
|
|
37837
37675
|
})(MorphoSetVaultAllowanceParamsAmount$ ||= {});
|
|
37838
|
-
MorphoSetVaultAllowanceParams$inboundSchema =
|
|
37676
|
+
MorphoSetVaultAllowanceParams$inboundSchema = objectType({
|
|
37839
37677
|
vault_address: stringType(),
|
|
37840
37678
|
amount: unionType([numberType(), stringType()])
|
|
37841
|
-
}).
|
|
37679
|
+
}).transform((v2) => {
|
|
37842
37680
|
return remap(v2, {
|
|
37843
37681
|
vault_address: "vaultAddress"
|
|
37844
37682
|
});
|
|
37845
37683
|
});
|
|
37846
37684
|
MorphoSetVaultAllowanceParams$outboundSchema = objectType({
|
|
37847
37685
|
vaultAddress: stringType(),
|
|
37848
|
-
amount: unionType([numberType(), stringType()])
|
|
37849
|
-
additionalProperties: recordType(anyType())
|
|
37686
|
+
amount: unionType([numberType(), stringType()])
|
|
37850
37687
|
}).transform((v2) => {
|
|
37851
|
-
return {
|
|
37852
|
-
|
|
37853
|
-
|
|
37854
|
-
vaultAddress: "vault_address",
|
|
37855
|
-
additionalProperties: null
|
|
37856
|
-
})
|
|
37857
|
-
};
|
|
37688
|
+
return remap(v2, {
|
|
37689
|
+
vaultAddress: "vault_address"
|
|
37690
|
+
});
|
|
37858
37691
|
});
|
|
37859
37692
|
((MorphoSetVaultAllowanceParams$) => {
|
|
37860
37693
|
MorphoSetVaultAllowanceParams$.inboundSchema = MorphoSetVaultAllowanceParams$inboundSchema;
|
|
@@ -37868,19 +37701,18 @@ var init_morphosupplycollateralparams = __esm(() => {
|
|
|
37868
37701
|
init_esm();
|
|
37869
37702
|
init_base64();
|
|
37870
37703
|
init_primitives();
|
|
37871
|
-
init_schemas();
|
|
37872
37704
|
MorphoSupplyCollateralParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
37873
37705
|
MorphoSupplyCollateralParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
37874
37706
|
((MorphoSupplyCollateralParamsAmount$) => {
|
|
37875
37707
|
MorphoSupplyCollateralParamsAmount$.inboundSchema = MorphoSupplyCollateralParamsAmount$inboundSchema;
|
|
37876
37708
|
MorphoSupplyCollateralParamsAmount$.outboundSchema = MorphoSupplyCollateralParamsAmount$outboundSchema;
|
|
37877
37709
|
})(MorphoSupplyCollateralParamsAmount$ ||= {});
|
|
37878
|
-
MorphoSupplyCollateralParams$inboundSchema =
|
|
37710
|
+
MorphoSupplyCollateralParams$inboundSchema = objectType({
|
|
37879
37711
|
amount: unionType([numberType(), stringType()]),
|
|
37880
37712
|
unique_market_key: stringType(),
|
|
37881
37713
|
on_behalf_of: nullableType(stringType()).optional(),
|
|
37882
37714
|
callback_data: nullableType(zodInbound).optional()
|
|
37883
|
-
}).
|
|
37715
|
+
}).transform((v2) => {
|
|
37884
37716
|
return remap(v2, {
|
|
37885
37717
|
unique_market_key: "uniqueMarketKey",
|
|
37886
37718
|
on_behalf_of: "onBehalfOf",
|
|
@@ -37891,18 +37723,13 @@ var init_morphosupplycollateralparams = __esm(() => {
|
|
|
37891
37723
|
amount: unionType([numberType(), stringType()]),
|
|
37892
37724
|
uniqueMarketKey: stringType(),
|
|
37893
37725
|
onBehalfOf: nullableType(stringType()).optional(),
|
|
37894
|
-
callbackData: nullableType(zodOutbound).optional()
|
|
37895
|
-
additionalProperties: recordType(anyType())
|
|
37726
|
+
callbackData: nullableType(zodOutbound).optional()
|
|
37896
37727
|
}).transform((v2) => {
|
|
37897
|
-
return {
|
|
37898
|
-
|
|
37899
|
-
|
|
37900
|
-
|
|
37901
|
-
|
|
37902
|
-
callbackData: "callback_data",
|
|
37903
|
-
additionalProperties: null
|
|
37904
|
-
})
|
|
37905
|
-
};
|
|
37728
|
+
return remap(v2, {
|
|
37729
|
+
uniqueMarketKey: "unique_market_key",
|
|
37730
|
+
onBehalfOf: "on_behalf_of",
|
|
37731
|
+
callbackData: "callback_data"
|
|
37732
|
+
});
|
|
37906
37733
|
});
|
|
37907
37734
|
((MorphoSupplyCollateralParams$) => {
|
|
37908
37735
|
MorphoSupplyCollateralParams$.inboundSchema = MorphoSupplyCollateralParams$inboundSchema;
|
|
@@ -37915,19 +37742,18 @@ var MorphoWithdrawCollateralParamsAmount$inboundSchema, MorphoWithdrawCollateral
|
|
|
37915
37742
|
var init_morphowithdrawcollateralparams = __esm(() => {
|
|
37916
37743
|
init_esm();
|
|
37917
37744
|
init_primitives();
|
|
37918
|
-
init_schemas();
|
|
37919
37745
|
MorphoWithdrawCollateralParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
37920
37746
|
MorphoWithdrawCollateralParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
37921
37747
|
((MorphoWithdrawCollateralParamsAmount$) => {
|
|
37922
37748
|
MorphoWithdrawCollateralParamsAmount$.inboundSchema = MorphoWithdrawCollateralParamsAmount$inboundSchema;
|
|
37923
37749
|
MorphoWithdrawCollateralParamsAmount$.outboundSchema = MorphoWithdrawCollateralParamsAmount$outboundSchema;
|
|
37924
37750
|
})(MorphoWithdrawCollateralParamsAmount$ ||= {});
|
|
37925
|
-
MorphoWithdrawCollateralParams$inboundSchema =
|
|
37751
|
+
MorphoWithdrawCollateralParams$inboundSchema = objectType({
|
|
37926
37752
|
amount: unionType([numberType(), stringType()]),
|
|
37927
37753
|
unique_market_key: stringType(),
|
|
37928
37754
|
on_behalf_of: nullableType(stringType()).optional(),
|
|
37929
37755
|
receiver: nullableType(stringType()).optional()
|
|
37930
|
-
}).
|
|
37756
|
+
}).transform((v2) => {
|
|
37931
37757
|
return remap(v2, {
|
|
37932
37758
|
unique_market_key: "uniqueMarketKey",
|
|
37933
37759
|
on_behalf_of: "onBehalfOf"
|
|
@@ -37937,17 +37763,12 @@ var init_morphowithdrawcollateralparams = __esm(() => {
|
|
|
37937
37763
|
amount: unionType([numberType(), stringType()]),
|
|
37938
37764
|
uniqueMarketKey: stringType(),
|
|
37939
37765
|
onBehalfOf: nullableType(stringType()).optional(),
|
|
37940
|
-
receiver: nullableType(stringType()).optional()
|
|
37941
|
-
additionalProperties: recordType(anyType())
|
|
37766
|
+
receiver: nullableType(stringType()).optional()
|
|
37942
37767
|
}).transform((v2) => {
|
|
37943
|
-
return {
|
|
37944
|
-
|
|
37945
|
-
|
|
37946
|
-
|
|
37947
|
-
onBehalfOf: "on_behalf_of",
|
|
37948
|
-
additionalProperties: null
|
|
37949
|
-
})
|
|
37950
|
-
};
|
|
37768
|
+
return remap(v2, {
|
|
37769
|
+
uniqueMarketKey: "unique_market_key",
|
|
37770
|
+
onBehalfOf: "on_behalf_of"
|
|
37771
|
+
});
|
|
37951
37772
|
});
|
|
37952
37773
|
((MorphoWithdrawCollateralParams$) => {
|
|
37953
37774
|
MorphoWithdrawCollateralParams$.inboundSchema = MorphoWithdrawCollateralParams$inboundSchema;
|
|
@@ -37960,12 +37781,11 @@ var MorphoWithdrawParams$inboundSchema, MorphoWithdrawParams$outboundSchema, Mor
|
|
|
37960
37781
|
var init_morphowithdrawparams = __esm(() => {
|
|
37961
37782
|
init_esm();
|
|
37962
37783
|
init_primitives();
|
|
37963
|
-
|
|
37964
|
-
MorphoWithdrawParams$inboundSchema = collectExtraKeys(objectType({
|
|
37784
|
+
MorphoWithdrawParams$inboundSchema = objectType({
|
|
37965
37785
|
vault_address: stringType(),
|
|
37966
37786
|
amount: anyType().optional(),
|
|
37967
37787
|
receiver: nullableType(stringType()).optional()
|
|
37968
|
-
}).
|
|
37788
|
+
}).transform((v2) => {
|
|
37969
37789
|
return remap(v2, {
|
|
37970
37790
|
vault_address: "vaultAddress"
|
|
37971
37791
|
});
|
|
@@ -37973,16 +37793,11 @@ var init_morphowithdrawparams = __esm(() => {
|
|
|
37973
37793
|
MorphoWithdrawParams$outboundSchema = objectType({
|
|
37974
37794
|
vaultAddress: stringType(),
|
|
37975
37795
|
amount: anyType().optional(),
|
|
37976
|
-
receiver: nullableType(stringType()).optional()
|
|
37977
|
-
additionalProperties: recordType(anyType())
|
|
37796
|
+
receiver: nullableType(stringType()).optional()
|
|
37978
37797
|
}).transform((v2) => {
|
|
37979
|
-
return {
|
|
37980
|
-
|
|
37981
|
-
|
|
37982
|
-
vaultAddress: "vault_address",
|
|
37983
|
-
additionalProperties: null
|
|
37984
|
-
})
|
|
37985
|
-
};
|
|
37798
|
+
return remap(v2, {
|
|
37799
|
+
vaultAddress: "vault_address"
|
|
37800
|
+
});
|
|
37986
37801
|
});
|
|
37987
37802
|
((MorphoWithdrawParams$) => {
|
|
37988
37803
|
MorphoWithdrawParams$.inboundSchema = MorphoWithdrawParams$inboundSchema;
|
|
@@ -38042,33 +37857,27 @@ var PendleBuyPtParamsAmount$inboundSchema, PendleBuyPtParamsAmount$outboundSchem
|
|
|
38042
37857
|
var init_pendlebuyptparams = __esm(() => {
|
|
38043
37858
|
init_esm();
|
|
38044
37859
|
init_primitives();
|
|
38045
|
-
init_schemas();
|
|
38046
37860
|
PendleBuyPtParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
38047
37861
|
PendleBuyPtParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
38048
37862
|
((PendleBuyPtParamsAmount$) => {
|
|
38049
37863
|
PendleBuyPtParamsAmount$.inboundSchema = PendleBuyPtParamsAmount$inboundSchema;
|
|
38050
37864
|
PendleBuyPtParamsAmount$.outboundSchema = PendleBuyPtParamsAmount$outboundSchema;
|
|
38051
37865
|
})(PendleBuyPtParamsAmount$ ||= {});
|
|
38052
|
-
PendleBuyPtParams$inboundSchema =
|
|
37866
|
+
PendleBuyPtParams$inboundSchema = objectType({
|
|
38053
37867
|
market_address: stringType(),
|
|
38054
37868
|
amount: unionType([numberType(), stringType()])
|
|
38055
|
-
}).
|
|
37869
|
+
}).transform((v2) => {
|
|
38056
37870
|
return remap(v2, {
|
|
38057
37871
|
market_address: "marketAddress"
|
|
38058
37872
|
});
|
|
38059
37873
|
});
|
|
38060
37874
|
PendleBuyPtParams$outboundSchema = objectType({
|
|
38061
37875
|
marketAddress: stringType(),
|
|
38062
|
-
amount: unionType([numberType(), stringType()])
|
|
38063
|
-
additionalProperties: recordType(anyType())
|
|
37876
|
+
amount: unionType([numberType(), stringType()])
|
|
38064
37877
|
}).transform((v2) => {
|
|
38065
|
-
return {
|
|
38066
|
-
|
|
38067
|
-
|
|
38068
|
-
marketAddress: "market_address",
|
|
38069
|
-
additionalProperties: null
|
|
38070
|
-
})
|
|
38071
|
-
};
|
|
37878
|
+
return remap(v2, {
|
|
37879
|
+
marketAddress: "market_address"
|
|
37880
|
+
});
|
|
38072
37881
|
});
|
|
38073
37882
|
((PendleBuyPtParams$) => {
|
|
38074
37883
|
PendleBuyPtParams$.inboundSchema = PendleBuyPtParams$inboundSchema;
|
|
@@ -38081,33 +37890,27 @@ var PendleBuyYtParamsAmount$inboundSchema, PendleBuyYtParamsAmount$outboundSchem
|
|
|
38081
37890
|
var init_pendlebuyytparams = __esm(() => {
|
|
38082
37891
|
init_esm();
|
|
38083
37892
|
init_primitives();
|
|
38084
|
-
init_schemas();
|
|
38085
37893
|
PendleBuyYtParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
38086
37894
|
PendleBuyYtParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
38087
37895
|
((PendleBuyYtParamsAmount$) => {
|
|
38088
37896
|
PendleBuyYtParamsAmount$.inboundSchema = PendleBuyYtParamsAmount$inboundSchema;
|
|
38089
37897
|
PendleBuyYtParamsAmount$.outboundSchema = PendleBuyYtParamsAmount$outboundSchema;
|
|
38090
37898
|
})(PendleBuyYtParamsAmount$ ||= {});
|
|
38091
|
-
PendleBuyYtParams$inboundSchema =
|
|
37899
|
+
PendleBuyYtParams$inboundSchema = objectType({
|
|
38092
37900
|
market_address: stringType(),
|
|
38093
37901
|
amount: unionType([numberType(), stringType()])
|
|
38094
|
-
}).
|
|
37902
|
+
}).transform((v2) => {
|
|
38095
37903
|
return remap(v2, {
|
|
38096
37904
|
market_address: "marketAddress"
|
|
38097
37905
|
});
|
|
38098
37906
|
});
|
|
38099
37907
|
PendleBuyYtParams$outboundSchema = objectType({
|
|
38100
37908
|
marketAddress: stringType(),
|
|
38101
|
-
amount: unionType([numberType(), stringType()])
|
|
38102
|
-
additionalProperties: recordType(anyType())
|
|
37909
|
+
amount: unionType([numberType(), stringType()])
|
|
38103
37910
|
}).transform((v2) => {
|
|
38104
|
-
return {
|
|
38105
|
-
|
|
38106
|
-
|
|
38107
|
-
marketAddress: "market_address",
|
|
38108
|
-
additionalProperties: null
|
|
38109
|
-
})
|
|
38110
|
-
};
|
|
37911
|
+
return remap(v2, {
|
|
37912
|
+
marketAddress: "market_address"
|
|
37913
|
+
});
|
|
38111
37914
|
});
|
|
38112
37915
|
((PendleBuyYtParams$) => {
|
|
38113
37916
|
PendleBuyYtParams$.inboundSchema = PendleBuyYtParams$inboundSchema;
|
|
@@ -38120,33 +37923,27 @@ var PendleSellPtParamsAmount$inboundSchema, PendleSellPtParamsAmount$outboundSch
|
|
|
38120
37923
|
var init_pendlesellptparams = __esm(() => {
|
|
38121
37924
|
init_esm();
|
|
38122
37925
|
init_primitives();
|
|
38123
|
-
init_schemas();
|
|
38124
37926
|
PendleSellPtParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
38125
37927
|
PendleSellPtParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
38126
37928
|
((PendleSellPtParamsAmount$) => {
|
|
38127
37929
|
PendleSellPtParamsAmount$.inboundSchema = PendleSellPtParamsAmount$inboundSchema;
|
|
38128
37930
|
PendleSellPtParamsAmount$.outboundSchema = PendleSellPtParamsAmount$outboundSchema;
|
|
38129
37931
|
})(PendleSellPtParamsAmount$ ||= {});
|
|
38130
|
-
PendleSellPtParams$inboundSchema =
|
|
37932
|
+
PendleSellPtParams$inboundSchema = objectType({
|
|
38131
37933
|
market_address: stringType(),
|
|
38132
37934
|
amount: unionType([numberType(), stringType()])
|
|
38133
|
-
}).
|
|
37935
|
+
}).transform((v2) => {
|
|
38134
37936
|
return remap(v2, {
|
|
38135
37937
|
market_address: "marketAddress"
|
|
38136
37938
|
});
|
|
38137
37939
|
});
|
|
38138
37940
|
PendleSellPtParams$outboundSchema = objectType({
|
|
38139
37941
|
marketAddress: stringType(),
|
|
38140
|
-
amount: unionType([numberType(), stringType()])
|
|
38141
|
-
additionalProperties: recordType(anyType())
|
|
37942
|
+
amount: unionType([numberType(), stringType()])
|
|
38142
37943
|
}).transform((v2) => {
|
|
38143
|
-
return {
|
|
38144
|
-
|
|
38145
|
-
|
|
38146
|
-
marketAddress: "market_address",
|
|
38147
|
-
additionalProperties: null
|
|
38148
|
-
})
|
|
38149
|
-
};
|
|
37944
|
+
return remap(v2, {
|
|
37945
|
+
marketAddress: "market_address"
|
|
37946
|
+
});
|
|
38150
37947
|
});
|
|
38151
37948
|
((PendleSellPtParams$) => {
|
|
38152
37949
|
PendleSellPtParams$.inboundSchema = PendleSellPtParams$inboundSchema;
|
|
@@ -38159,33 +37956,27 @@ var PendleSellYtParamsAmount$inboundSchema, PendleSellYtParamsAmount$outboundSch
|
|
|
38159
37956
|
var init_pendlesellytparams = __esm(() => {
|
|
38160
37957
|
init_esm();
|
|
38161
37958
|
init_primitives();
|
|
38162
|
-
init_schemas();
|
|
38163
37959
|
PendleSellYtParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
38164
37960
|
PendleSellYtParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
38165
37961
|
((PendleSellYtParamsAmount$) => {
|
|
38166
37962
|
PendleSellYtParamsAmount$.inboundSchema = PendleSellYtParamsAmount$inboundSchema;
|
|
38167
37963
|
PendleSellYtParamsAmount$.outboundSchema = PendleSellYtParamsAmount$outboundSchema;
|
|
38168
37964
|
})(PendleSellYtParamsAmount$ ||= {});
|
|
38169
|
-
PendleSellYtParams$inboundSchema =
|
|
37965
|
+
PendleSellYtParams$inboundSchema = objectType({
|
|
38170
37966
|
market_address: stringType(),
|
|
38171
37967
|
amount: unionType([numberType(), stringType()])
|
|
38172
|
-
}).
|
|
37968
|
+
}).transform((v2) => {
|
|
38173
37969
|
return remap(v2, {
|
|
38174
37970
|
market_address: "marketAddress"
|
|
38175
37971
|
});
|
|
38176
37972
|
});
|
|
38177
37973
|
PendleSellYtParams$outboundSchema = objectType({
|
|
38178
37974
|
marketAddress: stringType(),
|
|
38179
|
-
amount: unionType([numberType(), stringType()])
|
|
38180
|
-
additionalProperties: recordType(anyType())
|
|
37975
|
+
amount: unionType([numberType(), stringType()])
|
|
38181
37976
|
}).transform((v2) => {
|
|
38182
|
-
return {
|
|
38183
|
-
|
|
38184
|
-
|
|
38185
|
-
marketAddress: "market_address",
|
|
38186
|
-
additionalProperties: null
|
|
38187
|
-
})
|
|
38188
|
-
};
|
|
37977
|
+
return remap(v2, {
|
|
37978
|
+
marketAddress: "market_address"
|
|
37979
|
+
});
|
|
38189
37980
|
});
|
|
38190
37981
|
((PendleSellYtParams$) => {
|
|
38191
37982
|
PendleSellYtParams$.inboundSchema = PendleSellYtParams$inboundSchema;
|
|
@@ -38198,7 +37989,6 @@ var SkyBuyParamsTokenIn, SkyBuyParamsTokenIn$inboundSchema, SkyBuyParamsTokenIn$
|
|
|
38198
37989
|
var init_skybuyparams = __esm(() => {
|
|
38199
37990
|
init_esm();
|
|
38200
37991
|
init_primitives();
|
|
38201
|
-
init_schemas();
|
|
38202
37992
|
SkyBuyParamsTokenIn = {
|
|
38203
37993
|
Dai: "DAI",
|
|
38204
37994
|
Usdc: "USDC"
|
|
@@ -38215,26 +38005,21 @@ var init_skybuyparams = __esm(() => {
|
|
|
38215
38005
|
SkyBuyParamsAmount$.inboundSchema = SkyBuyParamsAmount$inboundSchema;
|
|
38216
38006
|
SkyBuyParamsAmount$.outboundSchema = SkyBuyParamsAmount$outboundSchema;
|
|
38217
38007
|
})(SkyBuyParamsAmount$ ||= {});
|
|
38218
|
-
SkyBuyParams$inboundSchema =
|
|
38008
|
+
SkyBuyParams$inboundSchema = objectType({
|
|
38219
38009
|
token_in: SkyBuyParamsTokenIn$inboundSchema,
|
|
38220
38010
|
amount: unionType([numberType(), stringType()])
|
|
38221
|
-
}).
|
|
38011
|
+
}).transform((v2) => {
|
|
38222
38012
|
return remap(v2, {
|
|
38223
38013
|
token_in: "tokenIn"
|
|
38224
38014
|
});
|
|
38225
38015
|
});
|
|
38226
38016
|
SkyBuyParams$outboundSchema = objectType({
|
|
38227
38017
|
tokenIn: SkyBuyParamsTokenIn$outboundSchema,
|
|
38228
|
-
amount: unionType([numberType(), stringType()])
|
|
38229
|
-
additionalProperties: recordType(anyType())
|
|
38018
|
+
amount: unionType([numberType(), stringType()])
|
|
38230
38019
|
}).transform((v2) => {
|
|
38231
|
-
return {
|
|
38232
|
-
|
|
38233
|
-
|
|
38234
|
-
tokenIn: "token_in",
|
|
38235
|
-
additionalProperties: null
|
|
38236
|
-
})
|
|
38237
|
-
};
|
|
38020
|
+
return remap(v2, {
|
|
38021
|
+
tokenIn: "token_in"
|
|
38022
|
+
});
|
|
38238
38023
|
});
|
|
38239
38024
|
((SkyBuyParams$) => {
|
|
38240
38025
|
SkyBuyParams$.inboundSchema = SkyBuyParams$inboundSchema;
|
|
@@ -38246,29 +38031,19 @@ var init_skybuyparams = __esm(() => {
|
|
|
38246
38031
|
var SkyDepositParamsAmount$inboundSchema, SkyDepositParamsAmount$outboundSchema, SkyDepositParamsAmount$, SkyDepositParams$inboundSchema, SkyDepositParams$outboundSchema, SkyDepositParams$;
|
|
38247
38032
|
var init_skydepositparams = __esm(() => {
|
|
38248
38033
|
init_esm();
|
|
38249
|
-
init_primitives();
|
|
38250
|
-
init_schemas();
|
|
38251
38034
|
SkyDepositParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
38252
38035
|
SkyDepositParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
38253
38036
|
((SkyDepositParamsAmount$) => {
|
|
38254
38037
|
SkyDepositParamsAmount$.inboundSchema = SkyDepositParamsAmount$inboundSchema;
|
|
38255
38038
|
SkyDepositParamsAmount$.outboundSchema = SkyDepositParamsAmount$outboundSchema;
|
|
38256
38039
|
})(SkyDepositParamsAmount$ ||= {});
|
|
38257
|
-
SkyDepositParams$inboundSchema =
|
|
38040
|
+
SkyDepositParams$inboundSchema = objectType({
|
|
38258
38041
|
amount: unionType([numberType(), stringType()]),
|
|
38259
38042
|
receiver: nullableType(stringType()).optional()
|
|
38260
|
-
})
|
|
38043
|
+
});
|
|
38261
38044
|
SkyDepositParams$outboundSchema = objectType({
|
|
38262
38045
|
amount: unionType([numberType(), stringType()]),
|
|
38263
|
-
receiver: nullableType(stringType()).optional()
|
|
38264
|
-
additionalProperties: recordType(anyType())
|
|
38265
|
-
}).transform((v2) => {
|
|
38266
|
-
return {
|
|
38267
|
-
...v2.additionalProperties,
|
|
38268
|
-
...remap(v2, {
|
|
38269
|
-
additionalProperties: null
|
|
38270
|
-
})
|
|
38271
|
-
};
|
|
38046
|
+
receiver: nullableType(stringType()).optional()
|
|
38272
38047
|
});
|
|
38273
38048
|
((SkyDepositParams$) => {
|
|
38274
38049
|
SkyDepositParams$.inboundSchema = SkyDepositParams$inboundSchema;
|
|
@@ -38281,7 +38056,6 @@ var SkySellParamsTokenOut, SkySellParamsTokenOut$inboundSchema, SkySellParamsTok
|
|
|
38281
38056
|
var init_skysellparams = __esm(() => {
|
|
38282
38057
|
init_esm();
|
|
38283
38058
|
init_primitives();
|
|
38284
|
-
init_schemas();
|
|
38285
38059
|
SkySellParamsTokenOut = {
|
|
38286
38060
|
Dai: "DAI",
|
|
38287
38061
|
Usdc: "USDC"
|
|
@@ -38298,26 +38072,21 @@ var init_skysellparams = __esm(() => {
|
|
|
38298
38072
|
SkySellParamsAmount$.inboundSchema = SkySellParamsAmount$inboundSchema;
|
|
38299
38073
|
SkySellParamsAmount$.outboundSchema = SkySellParamsAmount$outboundSchema;
|
|
38300
38074
|
})(SkySellParamsAmount$ ||= {});
|
|
38301
|
-
SkySellParams$inboundSchema =
|
|
38075
|
+
SkySellParams$inboundSchema = objectType({
|
|
38302
38076
|
token_out: SkySellParamsTokenOut$inboundSchema,
|
|
38303
38077
|
amount: unionType([numberType(), stringType()])
|
|
38304
|
-
}).
|
|
38078
|
+
}).transform((v2) => {
|
|
38305
38079
|
return remap(v2, {
|
|
38306
38080
|
token_out: "tokenOut"
|
|
38307
38081
|
});
|
|
38308
38082
|
});
|
|
38309
38083
|
SkySellParams$outboundSchema = objectType({
|
|
38310
38084
|
tokenOut: SkySellParamsTokenOut$outboundSchema,
|
|
38311
|
-
amount: unionType([numberType(), stringType()])
|
|
38312
|
-
additionalProperties: recordType(anyType())
|
|
38085
|
+
amount: unionType([numberType(), stringType()])
|
|
38313
38086
|
}).transform((v2) => {
|
|
38314
|
-
return {
|
|
38315
|
-
|
|
38316
|
-
|
|
38317
|
-
tokenOut: "token_out",
|
|
38318
|
-
additionalProperties: null
|
|
38319
|
-
})
|
|
38320
|
-
};
|
|
38087
|
+
return remap(v2, {
|
|
38088
|
+
tokenOut: "token_out"
|
|
38089
|
+
});
|
|
38321
38090
|
});
|
|
38322
38091
|
((SkySellParams$) => {
|
|
38323
38092
|
SkySellParams$.inboundSchema = SkySellParams$inboundSchema;
|
|
@@ -38329,23 +38098,13 @@ var init_skysellparams = __esm(() => {
|
|
|
38329
38098
|
var SkyWithdrawParams$inboundSchema, SkyWithdrawParams$outboundSchema, SkyWithdrawParams$;
|
|
38330
38099
|
var init_skywithdrawparams = __esm(() => {
|
|
38331
38100
|
init_esm();
|
|
38332
|
-
|
|
38333
|
-
init_schemas();
|
|
38334
|
-
SkyWithdrawParams$inboundSchema = collectExtraKeys(objectType({
|
|
38101
|
+
SkyWithdrawParams$inboundSchema = objectType({
|
|
38335
38102
|
amount: anyType().optional(),
|
|
38336
38103
|
receiver: nullableType(stringType()).optional()
|
|
38337
|
-
})
|
|
38104
|
+
});
|
|
38338
38105
|
SkyWithdrawParams$outboundSchema = objectType({
|
|
38339
38106
|
amount: anyType().optional(),
|
|
38340
|
-
receiver: nullableType(stringType()).optional()
|
|
38341
|
-
additionalProperties: recordType(anyType())
|
|
38342
|
-
}).transform((v2) => {
|
|
38343
|
-
return {
|
|
38344
|
-
...v2.additionalProperties,
|
|
38345
|
-
...remap(v2, {
|
|
38346
|
-
additionalProperties: null
|
|
38347
|
-
})
|
|
38348
|
-
};
|
|
38107
|
+
receiver: nullableType(stringType()).optional()
|
|
38349
38108
|
});
|
|
38350
38109
|
((SkyWithdrawParams$) => {
|
|
38351
38110
|
SkyWithdrawParams$.inboundSchema = SkyWithdrawParams$inboundSchema;
|
|
@@ -38357,8 +38116,6 @@ var init_skywithdrawparams = __esm(() => {
|
|
|
38357
38116
|
var TokenTransferErc20ParamsAmount$inboundSchema, TokenTransferErc20ParamsAmount$outboundSchema, TokenTransferErc20ParamsAmount$, TokenTransferErc20Params$inboundSchema, TokenTransferErc20Params$outboundSchema, TokenTransferErc20Params$;
|
|
38358
38117
|
var init_tokentransfererc20params = __esm(() => {
|
|
38359
38118
|
init_esm();
|
|
38360
|
-
init_primitives();
|
|
38361
|
-
init_schemas();
|
|
38362
38119
|
init_tokenenum();
|
|
38363
38120
|
TokenTransferErc20ParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
38364
38121
|
TokenTransferErc20ParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -38366,23 +38123,15 @@ var init_tokentransfererc20params = __esm(() => {
|
|
|
38366
38123
|
TokenTransferErc20ParamsAmount$.inboundSchema = TokenTransferErc20ParamsAmount$inboundSchema;
|
|
38367
38124
|
TokenTransferErc20ParamsAmount$.outboundSchema = TokenTransferErc20ParamsAmount$outboundSchema;
|
|
38368
38125
|
})(TokenTransferErc20ParamsAmount$ ||= {});
|
|
38369
|
-
TokenTransferErc20Params$inboundSchema =
|
|
38126
|
+
TokenTransferErc20Params$inboundSchema = objectType({
|
|
38370
38127
|
amount: unionType([numberType(), stringType()]),
|
|
38371
38128
|
token: TokenEnum$inboundSchema,
|
|
38372
38129
|
to: stringType()
|
|
38373
|
-
})
|
|
38130
|
+
});
|
|
38374
38131
|
TokenTransferErc20Params$outboundSchema = objectType({
|
|
38375
38132
|
amount: unionType([numberType(), stringType()]),
|
|
38376
38133
|
token: TokenEnum$outboundSchema,
|
|
38377
|
-
to: stringType()
|
|
38378
|
-
additionalProperties: recordType(anyType())
|
|
38379
|
-
}).transform((v2) => {
|
|
38380
|
-
return {
|
|
38381
|
-
...v2.additionalProperties,
|
|
38382
|
-
...remap(v2, {
|
|
38383
|
-
additionalProperties: null
|
|
38384
|
-
})
|
|
38385
|
-
};
|
|
38134
|
+
to: stringType()
|
|
38386
38135
|
});
|
|
38387
38136
|
((TokenTransferErc20Params$) => {
|
|
38388
38137
|
TokenTransferErc20Params$.inboundSchema = TokenTransferErc20Params$inboundSchema;
|
|
@@ -38413,7 +38162,6 @@ var UniswapBuyExactlyParamsAmount$inboundSchema, UniswapBuyExactlyParamsAmount$o
|
|
|
38413
38162
|
var init_uniswapbuyexactlyparams = __esm(() => {
|
|
38414
38163
|
init_esm();
|
|
38415
38164
|
init_primitives();
|
|
38416
|
-
init_schemas();
|
|
38417
38165
|
init_feeenum();
|
|
38418
38166
|
init_tokenenum();
|
|
38419
38167
|
UniswapBuyExactlyParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -38422,14 +38170,14 @@ var init_uniswapbuyexactlyparams = __esm(() => {
|
|
|
38422
38170
|
UniswapBuyExactlyParamsAmount$.inboundSchema = UniswapBuyExactlyParamsAmount$inboundSchema;
|
|
38423
38171
|
UniswapBuyExactlyParamsAmount$.outboundSchema = UniswapBuyExactlyParamsAmount$outboundSchema;
|
|
38424
38172
|
})(UniswapBuyExactlyParamsAmount$ ||= {});
|
|
38425
|
-
UniswapBuyExactlyParams$inboundSchema =
|
|
38173
|
+
UniswapBuyExactlyParams$inboundSchema = objectType({
|
|
38426
38174
|
token_in: TokenEnum$inboundSchema,
|
|
38427
38175
|
token_out: TokenEnum$inboundSchema,
|
|
38428
38176
|
fee: FeeEnum$inboundSchema,
|
|
38429
38177
|
amount: unionType([numberType(), stringType()]),
|
|
38430
38178
|
max_slippage_percent: numberType(),
|
|
38431
38179
|
wrap_eth: booleanType().default(false)
|
|
38432
|
-
}).
|
|
38180
|
+
}).transform((v2) => {
|
|
38433
38181
|
return remap(v2, {
|
|
38434
38182
|
token_in: "tokenIn",
|
|
38435
38183
|
token_out: "tokenOut",
|
|
@@ -38443,19 +38191,14 @@ var init_uniswapbuyexactlyparams = __esm(() => {
|
|
|
38443
38191
|
fee: FeeEnum$outboundSchema,
|
|
38444
38192
|
amount: unionType([numberType(), stringType()]),
|
|
38445
38193
|
maxSlippagePercent: numberType(),
|
|
38446
|
-
wrapEth: booleanType().default(false)
|
|
38447
|
-
additionalProperties: recordType(anyType())
|
|
38194
|
+
wrapEth: booleanType().default(false)
|
|
38448
38195
|
}).transform((v2) => {
|
|
38449
|
-
return {
|
|
38450
|
-
|
|
38451
|
-
|
|
38452
|
-
|
|
38453
|
-
|
|
38454
|
-
|
|
38455
|
-
wrapEth: "wrap_eth",
|
|
38456
|
-
additionalProperties: null
|
|
38457
|
-
})
|
|
38458
|
-
};
|
|
38196
|
+
return remap(v2, {
|
|
38197
|
+
tokenIn: "token_in",
|
|
38198
|
+
tokenOut: "token_out",
|
|
38199
|
+
maxSlippagePercent: "max_slippage_percent",
|
|
38200
|
+
wrapEth: "wrap_eth"
|
|
38201
|
+
});
|
|
38459
38202
|
});
|
|
38460
38203
|
((UniswapBuyExactlyParams$) => {
|
|
38461
38204
|
UniswapBuyExactlyParams$.inboundSchema = UniswapBuyExactlyParams$inboundSchema;
|
|
@@ -38468,7 +38211,6 @@ var UniswapIncreaseLiquidityProvisionParamsAmount0Desired$inboundSchema, Uniswap
|
|
|
38468
38211
|
var init_uniswapincreaseliquidityprovisionparams = __esm(() => {
|
|
38469
38212
|
init_esm();
|
|
38470
38213
|
init_primitives();
|
|
38471
|
-
init_schemas();
|
|
38472
38214
|
UniswapIncreaseLiquidityProvisionParamsAmount0Desired$inboundSchema = unionType([numberType(), stringType()]);
|
|
38473
38215
|
UniswapIncreaseLiquidityProvisionParamsAmount0Desired$outboundSchema = unionType([numberType(), stringType()]);
|
|
38474
38216
|
((UniswapIncreaseLiquidityProvisionParamsAmount0Desired$) => {
|
|
@@ -38493,13 +38235,13 @@ var init_uniswapincreaseliquidityprovisionparams = __esm(() => {
|
|
|
38493
38235
|
UniswapIncreaseLiquidityProvisionParamsAmount1Min$.inboundSchema = UniswapIncreaseLiquidityProvisionParamsAmount1Min$inboundSchema;
|
|
38494
38236
|
UniswapIncreaseLiquidityProvisionParamsAmount1Min$.outboundSchema = UniswapIncreaseLiquidityProvisionParamsAmount1Min$outboundSchema;
|
|
38495
38237
|
})(UniswapIncreaseLiquidityProvisionParamsAmount1Min$ ||= {});
|
|
38496
|
-
UniswapIncreaseLiquidityProvisionParams$inboundSchema =
|
|
38238
|
+
UniswapIncreaseLiquidityProvisionParams$inboundSchema = objectType({
|
|
38497
38239
|
token_id: numberType().int(),
|
|
38498
38240
|
amount0_desired: unionType([numberType(), stringType()]),
|
|
38499
38241
|
amount1_desired: unionType([numberType(), stringType()]),
|
|
38500
38242
|
amount0_min: unionType([numberType(), stringType()]),
|
|
38501
38243
|
amount1_min: unionType([numberType(), stringType()])
|
|
38502
|
-
}).
|
|
38244
|
+
}).transform((v2) => {
|
|
38503
38245
|
return remap(v2, {
|
|
38504
38246
|
token_id: "tokenId",
|
|
38505
38247
|
amount0_desired: "amount0Desired",
|
|
@@ -38513,20 +38255,15 @@ var init_uniswapincreaseliquidityprovisionparams = __esm(() => {
|
|
|
38513
38255
|
amount0Desired: unionType([numberType(), stringType()]),
|
|
38514
38256
|
amount1Desired: unionType([numberType(), stringType()]),
|
|
38515
38257
|
amount0Min: unionType([numberType(), stringType()]),
|
|
38516
|
-
amount1Min: unionType([numberType(), stringType()])
|
|
38517
|
-
additionalProperties: recordType(anyType())
|
|
38258
|
+
amount1Min: unionType([numberType(), stringType()])
|
|
38518
38259
|
}).transform((v2) => {
|
|
38519
|
-
return {
|
|
38520
|
-
|
|
38521
|
-
|
|
38522
|
-
|
|
38523
|
-
|
|
38524
|
-
|
|
38525
|
-
|
|
38526
|
-
amount1Min: "amount1_min",
|
|
38527
|
-
additionalProperties: null
|
|
38528
|
-
})
|
|
38529
|
-
};
|
|
38260
|
+
return remap(v2, {
|
|
38261
|
+
tokenId: "token_id",
|
|
38262
|
+
amount0Desired: "amount0_desired",
|
|
38263
|
+
amount1Desired: "amount1_desired",
|
|
38264
|
+
amount0Min: "amount0_min",
|
|
38265
|
+
amount1Min: "amount1_min"
|
|
38266
|
+
});
|
|
38530
38267
|
});
|
|
38531
38268
|
((UniswapIncreaseLiquidityProvisionParams$) => {
|
|
38532
38269
|
UniswapIncreaseLiquidityProvisionParams$.inboundSchema = UniswapIncreaseLiquidityProvisionParams$inboundSchema;
|
|
@@ -38539,7 +38276,6 @@ var UniswapMintLiquidityProvisionParamsAmount0Desired$inboundSchema, UniswapMint
|
|
|
38539
38276
|
var init_uniswapmintliquidityprovisionparams = __esm(() => {
|
|
38540
38277
|
init_esm();
|
|
38541
38278
|
init_primitives();
|
|
38542
|
-
init_schemas();
|
|
38543
38279
|
init_feeenum();
|
|
38544
38280
|
init_tokenenum();
|
|
38545
38281
|
UniswapMintLiquidityProvisionParamsAmount0Desired$inboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -38566,7 +38302,7 @@ var init_uniswapmintliquidityprovisionparams = __esm(() => {
|
|
|
38566
38302
|
UniswapMintLiquidityProvisionParamsAmount1Min$.inboundSchema = UniswapMintLiquidityProvisionParamsAmount1Min$inboundSchema;
|
|
38567
38303
|
UniswapMintLiquidityProvisionParamsAmount1Min$.outboundSchema = UniswapMintLiquidityProvisionParamsAmount1Min$outboundSchema;
|
|
38568
38304
|
})(UniswapMintLiquidityProvisionParamsAmount1Min$ ||= {});
|
|
38569
|
-
UniswapMintLiquidityProvisionParams$inboundSchema =
|
|
38305
|
+
UniswapMintLiquidityProvisionParams$inboundSchema = objectType({
|
|
38570
38306
|
token0: TokenEnum$inboundSchema,
|
|
38571
38307
|
token1: TokenEnum$inboundSchema,
|
|
38572
38308
|
fee: FeeEnum$inboundSchema,
|
|
@@ -38577,7 +38313,7 @@ var init_uniswapmintliquidityprovisionparams = __esm(() => {
|
|
|
38577
38313
|
amount0_min: unionType([numberType(), stringType()]),
|
|
38578
38314
|
amount1_min: unionType([numberType(), stringType()]),
|
|
38579
38315
|
recipient: nullableType(stringType()).optional()
|
|
38580
|
-
}).
|
|
38316
|
+
}).transform((v2) => {
|
|
38581
38317
|
return remap(v2, {
|
|
38582
38318
|
tick_lower: "tickLower",
|
|
38583
38319
|
tick_upper: "tickUpper",
|
|
@@ -38597,21 +38333,16 @@ var init_uniswapmintliquidityprovisionparams = __esm(() => {
|
|
|
38597
38333
|
amount1Desired: unionType([numberType(), stringType()]),
|
|
38598
38334
|
amount0Min: unionType([numberType(), stringType()]),
|
|
38599
38335
|
amount1Min: unionType([numberType(), stringType()]),
|
|
38600
|
-
recipient: nullableType(stringType()).optional()
|
|
38601
|
-
additionalProperties: recordType(anyType())
|
|
38336
|
+
recipient: nullableType(stringType()).optional()
|
|
38602
38337
|
}).transform((v2) => {
|
|
38603
|
-
return {
|
|
38604
|
-
|
|
38605
|
-
|
|
38606
|
-
|
|
38607
|
-
|
|
38608
|
-
|
|
38609
|
-
|
|
38610
|
-
|
|
38611
|
-
amount1Min: "amount1_min",
|
|
38612
|
-
additionalProperties: null
|
|
38613
|
-
})
|
|
38614
|
-
};
|
|
38338
|
+
return remap(v2, {
|
|
38339
|
+
tickLower: "tick_lower",
|
|
38340
|
+
tickUpper: "tick_upper",
|
|
38341
|
+
amount0Desired: "amount0_desired",
|
|
38342
|
+
amount1Desired: "amount1_desired",
|
|
38343
|
+
amount0Min: "amount0_min",
|
|
38344
|
+
amount1Min: "amount1_min"
|
|
38345
|
+
});
|
|
38615
38346
|
});
|
|
38616
38347
|
((UniswapMintLiquidityProvisionParams$) => {
|
|
38617
38348
|
UniswapMintLiquidityProvisionParams$.inboundSchema = UniswapMintLiquidityProvisionParams$inboundSchema;
|
|
@@ -38624,7 +38355,6 @@ var UniswapSellExactlyParamsAmount$inboundSchema, UniswapSellExactlyParamsAmount
|
|
|
38624
38355
|
var init_uniswapsellexactlyparams = __esm(() => {
|
|
38625
38356
|
init_esm();
|
|
38626
38357
|
init_primitives();
|
|
38627
|
-
init_schemas();
|
|
38628
38358
|
init_feeenum();
|
|
38629
38359
|
init_tokenenum();
|
|
38630
38360
|
UniswapSellExactlyParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -38633,14 +38363,14 @@ var init_uniswapsellexactlyparams = __esm(() => {
|
|
|
38633
38363
|
UniswapSellExactlyParamsAmount$.inboundSchema = UniswapSellExactlyParamsAmount$inboundSchema;
|
|
38634
38364
|
UniswapSellExactlyParamsAmount$.outboundSchema = UniswapSellExactlyParamsAmount$outboundSchema;
|
|
38635
38365
|
})(UniswapSellExactlyParamsAmount$ ||= {});
|
|
38636
|
-
UniswapSellExactlyParams$inboundSchema =
|
|
38366
|
+
UniswapSellExactlyParams$inboundSchema = objectType({
|
|
38637
38367
|
token_in: TokenEnum$inboundSchema,
|
|
38638
38368
|
token_out: TokenEnum$inboundSchema,
|
|
38639
38369
|
fee: FeeEnum$inboundSchema,
|
|
38640
38370
|
amount: unionType([numberType(), stringType()]),
|
|
38641
38371
|
max_slippage_percent: numberType(),
|
|
38642
38372
|
wrap_eth: booleanType().default(false)
|
|
38643
|
-
}).
|
|
38373
|
+
}).transform((v2) => {
|
|
38644
38374
|
return remap(v2, {
|
|
38645
38375
|
token_in: "tokenIn",
|
|
38646
38376
|
token_out: "tokenOut",
|
|
@@ -38654,19 +38384,14 @@ var init_uniswapsellexactlyparams = __esm(() => {
|
|
|
38654
38384
|
fee: FeeEnum$outboundSchema,
|
|
38655
38385
|
amount: unionType([numberType(), stringType()]),
|
|
38656
38386
|
maxSlippagePercent: numberType(),
|
|
38657
|
-
wrapEth: booleanType().default(false)
|
|
38658
|
-
additionalProperties: recordType(anyType())
|
|
38387
|
+
wrapEth: booleanType().default(false)
|
|
38659
38388
|
}).transform((v2) => {
|
|
38660
|
-
return {
|
|
38661
|
-
|
|
38662
|
-
|
|
38663
|
-
|
|
38664
|
-
|
|
38665
|
-
|
|
38666
|
-
wrapEth: "wrap_eth",
|
|
38667
|
-
additionalProperties: null
|
|
38668
|
-
})
|
|
38669
|
-
};
|
|
38389
|
+
return remap(v2, {
|
|
38390
|
+
tokenIn: "token_in",
|
|
38391
|
+
tokenOut: "token_out",
|
|
38392
|
+
maxSlippagePercent: "max_slippage_percent",
|
|
38393
|
+
wrapEth: "wrap_eth"
|
|
38394
|
+
});
|
|
38670
38395
|
});
|
|
38671
38396
|
((UniswapSellExactlyParams$) => {
|
|
38672
38397
|
UniswapSellExactlyParams$.inboundSchema = UniswapSellExactlyParams$inboundSchema;
|
|
@@ -38679,17 +38404,16 @@ var UniswapWithdrawLiquidityProvisionParamsPercentageForWithdrawal$inboundSchema
|
|
|
38679
38404
|
var init_uniswapwithdrawliquidityprovisionparams = __esm(() => {
|
|
38680
38405
|
init_esm();
|
|
38681
38406
|
init_primitives();
|
|
38682
|
-
init_schemas();
|
|
38683
38407
|
UniswapWithdrawLiquidityProvisionParamsPercentageForWithdrawal$inboundSchema = unionType([numberType(), stringType()]);
|
|
38684
38408
|
UniswapWithdrawLiquidityProvisionParamsPercentageForWithdrawal$outboundSchema = unionType([numberType(), stringType()]);
|
|
38685
38409
|
((UniswapWithdrawLiquidityProvisionParamsPercentageForWithdrawal$) => {
|
|
38686
38410
|
UniswapWithdrawLiquidityProvisionParamsPercentageForWithdrawal$.inboundSchema = UniswapWithdrawLiquidityProvisionParamsPercentageForWithdrawal$inboundSchema;
|
|
38687
38411
|
UniswapWithdrawLiquidityProvisionParamsPercentageForWithdrawal$.outboundSchema = UniswapWithdrawLiquidityProvisionParamsPercentageForWithdrawal$outboundSchema;
|
|
38688
38412
|
})(UniswapWithdrawLiquidityProvisionParamsPercentageForWithdrawal$ ||= {});
|
|
38689
|
-
UniswapWithdrawLiquidityProvisionParams$inboundSchema =
|
|
38413
|
+
UniswapWithdrawLiquidityProvisionParams$inboundSchema = objectType({
|
|
38690
38414
|
token_id: numberType().int(),
|
|
38691
38415
|
percentage_for_withdrawal: unionType([numberType(), stringType()])
|
|
38692
|
-
}).
|
|
38416
|
+
}).transform((v2) => {
|
|
38693
38417
|
return remap(v2, {
|
|
38694
38418
|
token_id: "tokenId",
|
|
38695
38419
|
percentage_for_withdrawal: "percentageForWithdrawal"
|
|
@@ -38697,17 +38421,12 @@ var init_uniswapwithdrawliquidityprovisionparams = __esm(() => {
|
|
|
38697
38421
|
});
|
|
38698
38422
|
UniswapWithdrawLiquidityProvisionParams$outboundSchema = objectType({
|
|
38699
38423
|
tokenId: numberType().int(),
|
|
38700
|
-
percentageForWithdrawal: unionType([numberType(), stringType()])
|
|
38701
|
-
additionalProperties: recordType(anyType())
|
|
38424
|
+
percentageForWithdrawal: unionType([numberType(), stringType()])
|
|
38702
38425
|
}).transform((v2) => {
|
|
38703
|
-
return {
|
|
38704
|
-
|
|
38705
|
-
|
|
38706
|
-
|
|
38707
|
-
percentageForWithdrawal: "percentage_for_withdrawal",
|
|
38708
|
-
additionalProperties: null
|
|
38709
|
-
})
|
|
38710
|
-
};
|
|
38426
|
+
return remap(v2, {
|
|
38427
|
+
tokenId: "token_id",
|
|
38428
|
+
percentageForWithdrawal: "percentage_for_withdrawal"
|
|
38429
|
+
});
|
|
38711
38430
|
});
|
|
38712
38431
|
((UniswapWithdrawLiquidityProvisionParams$) => {
|
|
38713
38432
|
UniswapWithdrawLiquidityProvisionParams$.inboundSchema = UniswapWithdrawLiquidityProvisionParams$inboundSchema;
|
|
@@ -38719,27 +38438,17 @@ var init_uniswapwithdrawliquidityprovisionparams = __esm(() => {
|
|
|
38719
38438
|
var UnwrapWethParamsAmount$inboundSchema, UnwrapWethParamsAmount$outboundSchema, UnwrapWethParamsAmount$, UnwrapWethParams$inboundSchema, UnwrapWethParams$outboundSchema, UnwrapWethParams$;
|
|
38720
38439
|
var init_unwrapwethparams = __esm(() => {
|
|
38721
38440
|
init_esm();
|
|
38722
|
-
init_primitives();
|
|
38723
|
-
init_schemas();
|
|
38724
38441
|
UnwrapWethParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
38725
38442
|
UnwrapWethParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
38726
38443
|
((UnwrapWethParamsAmount$) => {
|
|
38727
38444
|
UnwrapWethParamsAmount$.inboundSchema = UnwrapWethParamsAmount$inboundSchema;
|
|
38728
38445
|
UnwrapWethParamsAmount$.outboundSchema = UnwrapWethParamsAmount$outboundSchema;
|
|
38729
38446
|
})(UnwrapWethParamsAmount$ ||= {});
|
|
38730
|
-
UnwrapWethParams$inboundSchema =
|
|
38447
|
+
UnwrapWethParams$inboundSchema = objectType({
|
|
38731
38448
|
amount: unionType([numberType(), stringType()])
|
|
38732
|
-
})
|
|
38449
|
+
});
|
|
38733
38450
|
UnwrapWethParams$outboundSchema = objectType({
|
|
38734
|
-
amount: unionType([numberType(), stringType()])
|
|
38735
|
-
additionalProperties: recordType(anyType())
|
|
38736
|
-
}).transform((v2) => {
|
|
38737
|
-
return {
|
|
38738
|
-
...v2.additionalProperties,
|
|
38739
|
-
...remap(v2, {
|
|
38740
|
-
additionalProperties: null
|
|
38741
|
-
})
|
|
38742
|
-
};
|
|
38451
|
+
amount: unionType([numberType(), stringType()])
|
|
38743
38452
|
});
|
|
38744
38453
|
((UnwrapWethParams$) => {
|
|
38745
38454
|
UnwrapWethParams$.inboundSchema = UnwrapWethParams$inboundSchema;
|
|
@@ -38751,27 +38460,17 @@ var init_unwrapwethparams = __esm(() => {
|
|
|
38751
38460
|
var WrapEthParamsAmount$inboundSchema, WrapEthParamsAmount$outboundSchema, WrapEthParamsAmount$, WrapEthParams$inboundSchema, WrapEthParams$outboundSchema, WrapEthParams$;
|
|
38752
38461
|
var init_wrapethparams = __esm(() => {
|
|
38753
38462
|
init_esm();
|
|
38754
|
-
init_primitives();
|
|
38755
|
-
init_schemas();
|
|
38756
38463
|
WrapEthParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
38757
38464
|
WrapEthParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
38758
38465
|
((WrapEthParamsAmount$) => {
|
|
38759
38466
|
WrapEthParamsAmount$.inboundSchema = WrapEthParamsAmount$inboundSchema;
|
|
38760
38467
|
WrapEthParamsAmount$.outboundSchema = WrapEthParamsAmount$outboundSchema;
|
|
38761
38468
|
})(WrapEthParamsAmount$ ||= {});
|
|
38762
|
-
WrapEthParams$inboundSchema =
|
|
38469
|
+
WrapEthParams$inboundSchema = objectType({
|
|
38763
38470
|
amount: unionType([numberType(), stringType()])
|
|
38764
|
-
})
|
|
38471
|
+
});
|
|
38765
38472
|
WrapEthParams$outboundSchema = objectType({
|
|
38766
|
-
amount: unionType([numberType(), stringType()])
|
|
38767
|
-
additionalProperties: recordType(anyType())
|
|
38768
|
-
}).transform((v2) => {
|
|
38769
|
-
return {
|
|
38770
|
-
...v2.additionalProperties,
|
|
38771
|
-
...remap(v2, {
|
|
38772
|
-
additionalProperties: null
|
|
38773
|
-
})
|
|
38774
|
-
};
|
|
38473
|
+
amount: unionType([numberType(), stringType()])
|
|
38775
38474
|
});
|
|
38776
38475
|
((WrapEthParams$) => {
|
|
38777
38476
|
WrapEthParams$.inboundSchema = WrapEthParams$inboundSchema;
|
|
@@ -38784,7 +38483,6 @@ var Body$inboundSchema, Body$outboundSchema, Body$, UserOperation$inboundSchema,
|
|
|
38784
38483
|
var init_useroperation = __esm(() => {
|
|
38785
38484
|
init_esm();
|
|
38786
38485
|
init_primitives();
|
|
38787
|
-
init_schemas();
|
|
38788
38486
|
init_aaveborrowparams();
|
|
38789
38487
|
init_aaverepayparams();
|
|
38790
38488
|
init_aavesupplyparams();
|
|
@@ -38893,7 +38591,7 @@ var init_useroperation = __esm(() => {
|
|
|
38893
38591
|
Body$.inboundSchema = Body$inboundSchema;
|
|
38894
38592
|
Body$.outboundSchema = Body$outboundSchema;
|
|
38895
38593
|
})(Body$ ||= {});
|
|
38896
|
-
UserOperation$inboundSchema =
|
|
38594
|
+
UserOperation$inboundSchema = objectType({
|
|
38897
38595
|
action_type: MulticallActionType$inboundSchema,
|
|
38898
38596
|
body: unionType([
|
|
38899
38597
|
UnwrapWethParams$inboundSchema,
|
|
@@ -38930,7 +38628,7 @@ var init_useroperation = __esm(() => {
|
|
|
38930
38628
|
AerodromeSlipstreamMintLiquidityProvisionParams$inboundSchema,
|
|
38931
38629
|
UniswapMintLiquidityProvisionParams$inboundSchema
|
|
38932
38630
|
])
|
|
38933
|
-
}).
|
|
38631
|
+
}).transform((v2) => {
|
|
38934
38632
|
return remap(v2, {
|
|
38935
38633
|
action_type: "actionType"
|
|
38936
38634
|
});
|
|
@@ -38971,16 +38669,11 @@ var init_useroperation = __esm(() => {
|
|
|
38971
38669
|
UniswapSellExactlyParams$outboundSchema,
|
|
38972
38670
|
AerodromeSlipstreamMintLiquidityProvisionParams$outboundSchema,
|
|
38973
38671
|
UniswapMintLiquidityProvisionParams$outboundSchema
|
|
38974
|
-
])
|
|
38975
|
-
additionalProperties: recordType(anyType())
|
|
38672
|
+
])
|
|
38976
38673
|
}).transform((v2) => {
|
|
38977
|
-
return {
|
|
38978
|
-
|
|
38979
|
-
|
|
38980
|
-
actionType: "action_type",
|
|
38981
|
-
additionalProperties: null
|
|
38982
|
-
})
|
|
38983
|
-
};
|
|
38674
|
+
return remap(v2, {
|
|
38675
|
+
actionType: "action_type"
|
|
38676
|
+
});
|
|
38984
38677
|
});
|
|
38985
38678
|
((UserOperation$) => {
|
|
38986
38679
|
UserOperation$.inboundSchema = UserOperation$inboundSchema;
|
|
@@ -39632,7 +39325,6 @@ var IncreaseAllowanceRequestContractName, IncreaseAllowanceRequestToken$inboundS
|
|
|
39632
39325
|
var init_increaseallowancerequest = __esm(() => {
|
|
39633
39326
|
init_esm();
|
|
39634
39327
|
init_primitives();
|
|
39635
|
-
init_schemas();
|
|
39636
39328
|
init_chain();
|
|
39637
39329
|
init_tokenenum();
|
|
39638
39330
|
IncreaseAllowanceRequestContractName = {
|
|
@@ -39666,13 +39358,13 @@ var init_increaseallowancerequest = __esm(() => {
|
|
|
39666
39358
|
IncreaseAllowanceRequestAmount$.inboundSchema = IncreaseAllowanceRequestAmount$inboundSchema;
|
|
39667
39359
|
IncreaseAllowanceRequestAmount$.outboundSchema = IncreaseAllowanceRequestAmount$outboundSchema;
|
|
39668
39360
|
})(IncreaseAllowanceRequestAmount$ ||= {});
|
|
39669
|
-
IncreaseAllowanceRequest$inboundSchema =
|
|
39361
|
+
IncreaseAllowanceRequest$inboundSchema = objectType({
|
|
39670
39362
|
token: unionType([TokenEnum$inboundSchema, stringType()]),
|
|
39671
39363
|
contract_name: IncreaseAllowanceRequestContractName$inboundSchema,
|
|
39672
39364
|
amount: unionType([numberType(), stringType()]),
|
|
39673
39365
|
chain: Chain$inboundSchema,
|
|
39674
39366
|
sender: stringType()
|
|
39675
|
-
}).
|
|
39367
|
+
}).transform((v2) => {
|
|
39676
39368
|
return remap(v2, {
|
|
39677
39369
|
contract_name: "contractName"
|
|
39678
39370
|
});
|
|
@@ -39682,16 +39374,11 @@ var init_increaseallowancerequest = __esm(() => {
|
|
|
39682
39374
|
contractName: IncreaseAllowanceRequestContractName$outboundSchema,
|
|
39683
39375
|
amount: unionType([numberType(), stringType()]),
|
|
39684
39376
|
chain: Chain$outboundSchema,
|
|
39685
|
-
sender: stringType()
|
|
39686
|
-
additionalProperties: recordType(anyType())
|
|
39377
|
+
sender: stringType()
|
|
39687
39378
|
}).transform((v2) => {
|
|
39688
|
-
return {
|
|
39689
|
-
|
|
39690
|
-
|
|
39691
|
-
contractName: "contract_name",
|
|
39692
|
-
additionalProperties: null
|
|
39693
|
-
})
|
|
39694
|
-
};
|
|
39379
|
+
return remap(v2, {
|
|
39380
|
+
contractName: "contract_name"
|
|
39381
|
+
});
|
|
39695
39382
|
});
|
|
39696
39383
|
((IncreaseAllowanceRequest$) => {
|
|
39697
39384
|
IncreaseAllowanceRequest$.inboundSchema = IncreaseAllowanceRequest$inboundSchema;
|
|
@@ -39805,7 +39492,6 @@ var MorphoBorrowRequestChain, MorphoBorrowRequestAmount$inboundSchema, MorphoBor
|
|
|
39805
39492
|
var init_morphoborrowrequest = __esm(() => {
|
|
39806
39493
|
init_esm();
|
|
39807
39494
|
init_primitives();
|
|
39808
|
-
init_schemas();
|
|
39809
39495
|
MorphoBorrowRequestChain = {
|
|
39810
39496
|
EthereumMainnet: "ethereum:mainnet",
|
|
39811
39497
|
BaseMainnet: "base:mainnet"
|
|
@@ -39822,14 +39508,14 @@ var init_morphoborrowrequest = __esm(() => {
|
|
|
39822
39508
|
MorphoBorrowRequestChain$.inboundSchema = MorphoBorrowRequestChain$inboundSchema;
|
|
39823
39509
|
MorphoBorrowRequestChain$.outboundSchema = MorphoBorrowRequestChain$outboundSchema;
|
|
39824
39510
|
})(MorphoBorrowRequestChain$ ||= {});
|
|
39825
|
-
MorphoBorrowRequest$inboundSchema =
|
|
39511
|
+
MorphoBorrowRequest$inboundSchema = objectType({
|
|
39826
39512
|
amount: unionType([numberType(), stringType()]),
|
|
39827
39513
|
unique_market_key: stringType(),
|
|
39828
39514
|
on_behalf_of: nullableType(stringType()).optional(),
|
|
39829
39515
|
receiver: nullableType(stringType()).optional(),
|
|
39830
39516
|
chain: MorphoBorrowRequestChain$inboundSchema,
|
|
39831
39517
|
sender: stringType()
|
|
39832
|
-
}).
|
|
39518
|
+
}).transform((v2) => {
|
|
39833
39519
|
return remap(v2, {
|
|
39834
39520
|
unique_market_key: "uniqueMarketKey",
|
|
39835
39521
|
on_behalf_of: "onBehalfOf"
|
|
@@ -39841,17 +39527,12 @@ var init_morphoborrowrequest = __esm(() => {
|
|
|
39841
39527
|
onBehalfOf: nullableType(stringType()).optional(),
|
|
39842
39528
|
receiver: nullableType(stringType()).optional(),
|
|
39843
39529
|
chain: MorphoBorrowRequestChain$outboundSchema,
|
|
39844
|
-
sender: stringType()
|
|
39845
|
-
additionalProperties: recordType(anyType())
|
|
39530
|
+
sender: stringType()
|
|
39846
39531
|
}).transform((v2) => {
|
|
39847
|
-
return {
|
|
39848
|
-
|
|
39849
|
-
|
|
39850
|
-
|
|
39851
|
-
onBehalfOf: "on_behalf_of",
|
|
39852
|
-
additionalProperties: null
|
|
39853
|
-
})
|
|
39854
|
-
};
|
|
39532
|
+
return remap(v2, {
|
|
39533
|
+
uniqueMarketKey: "unique_market_key",
|
|
39534
|
+
onBehalfOf: "on_behalf_of"
|
|
39535
|
+
});
|
|
39855
39536
|
});
|
|
39856
39537
|
((MorphoBorrowRequest$) => {
|
|
39857
39538
|
MorphoBorrowRequest$.inboundSchema = MorphoBorrowRequest$inboundSchema;
|
|
@@ -40035,7 +39716,6 @@ var MorphoDepositRequestChain, MorphoDepositRequestAmount$inboundSchema, MorphoD
|
|
|
40035
39716
|
var init_morphodepositrequest = __esm(() => {
|
|
40036
39717
|
init_esm();
|
|
40037
39718
|
init_primitives();
|
|
40038
|
-
init_schemas();
|
|
40039
39719
|
MorphoDepositRequestChain = {
|
|
40040
39720
|
EthereumMainnet: "ethereum:mainnet",
|
|
40041
39721
|
BaseMainnet: "base:mainnet"
|
|
@@ -40052,13 +39732,13 @@ var init_morphodepositrequest = __esm(() => {
|
|
|
40052
39732
|
MorphoDepositRequestChain$.inboundSchema = MorphoDepositRequestChain$inboundSchema;
|
|
40053
39733
|
MorphoDepositRequestChain$.outboundSchema = MorphoDepositRequestChain$outboundSchema;
|
|
40054
39734
|
})(MorphoDepositRequestChain$ ||= {});
|
|
40055
|
-
MorphoDepositRequest$inboundSchema =
|
|
39735
|
+
MorphoDepositRequest$inboundSchema = objectType({
|
|
40056
39736
|
vault_address: stringType(),
|
|
40057
39737
|
amount: unionType([numberType(), stringType()]),
|
|
40058
39738
|
receiver: nullableType(stringType()).optional(),
|
|
40059
39739
|
chain: MorphoDepositRequestChain$inboundSchema,
|
|
40060
39740
|
sender: stringType()
|
|
40061
|
-
}).
|
|
39741
|
+
}).transform((v2) => {
|
|
40062
39742
|
return remap(v2, {
|
|
40063
39743
|
vault_address: "vaultAddress"
|
|
40064
39744
|
});
|
|
@@ -40068,16 +39748,11 @@ var init_morphodepositrequest = __esm(() => {
|
|
|
40068
39748
|
amount: unionType([numberType(), stringType()]),
|
|
40069
39749
|
receiver: nullableType(stringType()).optional(),
|
|
40070
39750
|
chain: MorphoDepositRequestChain$outboundSchema,
|
|
40071
|
-
sender: stringType()
|
|
40072
|
-
additionalProperties: recordType(anyType())
|
|
39751
|
+
sender: stringType()
|
|
40073
39752
|
}).transform((v2) => {
|
|
40074
|
-
return {
|
|
40075
|
-
|
|
40076
|
-
|
|
40077
|
-
vaultAddress: "vault_address",
|
|
40078
|
-
additionalProperties: null
|
|
40079
|
-
})
|
|
40080
|
-
};
|
|
39753
|
+
return remap(v2, {
|
|
39754
|
+
vaultAddress: "vault_address"
|
|
39755
|
+
});
|
|
40081
39756
|
});
|
|
40082
39757
|
((MorphoDepositRequest$) => {
|
|
40083
39758
|
MorphoDepositRequest$.inboundSchema = MorphoDepositRequest$inboundSchema;
|
|
@@ -40286,7 +39961,6 @@ var init_morphorepayrequest = __esm(() => {
|
|
|
40286
39961
|
init_esm();
|
|
40287
39962
|
init_base64();
|
|
40288
39963
|
init_primitives();
|
|
40289
|
-
init_schemas();
|
|
40290
39964
|
MorphoRepayRequestChain = {
|
|
40291
39965
|
EthereumMainnet: "ethereum:mainnet",
|
|
40292
39966
|
BaseMainnet: "base:mainnet"
|
|
@@ -40297,14 +39971,14 @@ var init_morphorepayrequest = __esm(() => {
|
|
|
40297
39971
|
MorphoRepayRequestChain$.inboundSchema = MorphoRepayRequestChain$inboundSchema;
|
|
40298
39972
|
MorphoRepayRequestChain$.outboundSchema = MorphoRepayRequestChain$outboundSchema;
|
|
40299
39973
|
})(MorphoRepayRequestChain$ ||= {});
|
|
40300
|
-
MorphoRepayRequest$inboundSchema =
|
|
39974
|
+
MorphoRepayRequest$inboundSchema = objectType({
|
|
40301
39975
|
amount: anyType().optional(),
|
|
40302
39976
|
unique_market_key: stringType(),
|
|
40303
39977
|
on_behalf_of: nullableType(stringType()).optional(),
|
|
40304
39978
|
callback_data: nullableType(zodInbound).optional(),
|
|
40305
39979
|
chain: MorphoRepayRequestChain$inboundSchema,
|
|
40306
39980
|
sender: stringType()
|
|
40307
|
-
}).
|
|
39981
|
+
}).transform((v2) => {
|
|
40308
39982
|
return remap(v2, {
|
|
40309
39983
|
unique_market_key: "uniqueMarketKey",
|
|
40310
39984
|
on_behalf_of: "onBehalfOf",
|
|
@@ -40317,18 +39991,13 @@ var init_morphorepayrequest = __esm(() => {
|
|
|
40317
39991
|
onBehalfOf: nullableType(stringType()).optional(),
|
|
40318
39992
|
callbackData: nullableType(zodOutbound).optional(),
|
|
40319
39993
|
chain: MorphoRepayRequestChain$outboundSchema,
|
|
40320
|
-
sender: stringType()
|
|
40321
|
-
additionalProperties: recordType(anyType())
|
|
39994
|
+
sender: stringType()
|
|
40322
39995
|
}).transform((v2) => {
|
|
40323
|
-
return {
|
|
40324
|
-
|
|
40325
|
-
|
|
40326
|
-
|
|
40327
|
-
|
|
40328
|
-
callbackData: "callback_data",
|
|
40329
|
-
additionalProperties: null
|
|
40330
|
-
})
|
|
40331
|
-
};
|
|
39996
|
+
return remap(v2, {
|
|
39997
|
+
uniqueMarketKey: "unique_market_key",
|
|
39998
|
+
onBehalfOf: "on_behalf_of",
|
|
39999
|
+
callbackData: "callback_data"
|
|
40000
|
+
});
|
|
40332
40001
|
});
|
|
40333
40002
|
((MorphoRepayRequest$) => {
|
|
40334
40003
|
MorphoRepayRequest$.inboundSchema = MorphoRepayRequest$inboundSchema;
|
|
@@ -40341,7 +40010,6 @@ var MorphoSetVaultAllowanceRequestChain, MorphoSetVaultAllowanceRequestAmount$in
|
|
|
40341
40010
|
var init_morphosetvaultallowancerequest = __esm(() => {
|
|
40342
40011
|
init_esm();
|
|
40343
40012
|
init_primitives();
|
|
40344
|
-
init_schemas();
|
|
40345
40013
|
MorphoSetVaultAllowanceRequestChain = {
|
|
40346
40014
|
EthereumMainnet: "ethereum:mainnet",
|
|
40347
40015
|
BaseMainnet: "base:mainnet"
|
|
@@ -40358,12 +40026,12 @@ var init_morphosetvaultallowancerequest = __esm(() => {
|
|
|
40358
40026
|
MorphoSetVaultAllowanceRequestChain$.inboundSchema = MorphoSetVaultAllowanceRequestChain$inboundSchema;
|
|
40359
40027
|
MorphoSetVaultAllowanceRequestChain$.outboundSchema = MorphoSetVaultAllowanceRequestChain$outboundSchema;
|
|
40360
40028
|
})(MorphoSetVaultAllowanceRequestChain$ ||= {});
|
|
40361
|
-
MorphoSetVaultAllowanceRequest$inboundSchema =
|
|
40029
|
+
MorphoSetVaultAllowanceRequest$inboundSchema = objectType({
|
|
40362
40030
|
vault_address: stringType(),
|
|
40363
40031
|
amount: unionType([numberType(), stringType()]),
|
|
40364
40032
|
chain: MorphoSetVaultAllowanceRequestChain$inboundSchema,
|
|
40365
40033
|
sender: stringType()
|
|
40366
|
-
}).
|
|
40034
|
+
}).transform((v2) => {
|
|
40367
40035
|
return remap(v2, {
|
|
40368
40036
|
vault_address: "vaultAddress"
|
|
40369
40037
|
});
|
|
@@ -40372,16 +40040,11 @@ var init_morphosetvaultallowancerequest = __esm(() => {
|
|
|
40372
40040
|
vaultAddress: stringType(),
|
|
40373
40041
|
amount: unionType([numberType(), stringType()]),
|
|
40374
40042
|
chain: MorphoSetVaultAllowanceRequestChain$outboundSchema,
|
|
40375
|
-
sender: stringType()
|
|
40376
|
-
additionalProperties: recordType(anyType())
|
|
40043
|
+
sender: stringType()
|
|
40377
40044
|
}).transform((v2) => {
|
|
40378
|
-
return {
|
|
40379
|
-
|
|
40380
|
-
|
|
40381
|
-
vaultAddress: "vault_address",
|
|
40382
|
-
additionalProperties: null
|
|
40383
|
-
})
|
|
40384
|
-
};
|
|
40045
|
+
return remap(v2, {
|
|
40046
|
+
vaultAddress: "vault_address"
|
|
40047
|
+
});
|
|
40385
40048
|
});
|
|
40386
40049
|
((MorphoSetVaultAllowanceRequest$) => {
|
|
40387
40050
|
MorphoSetVaultAllowanceRequest$.inboundSchema = MorphoSetVaultAllowanceRequest$inboundSchema;
|
|
@@ -40395,7 +40058,6 @@ var init_morphosupplycollateralrequest = __esm(() => {
|
|
|
40395
40058
|
init_esm();
|
|
40396
40059
|
init_base64();
|
|
40397
40060
|
init_primitives();
|
|
40398
|
-
init_schemas();
|
|
40399
40061
|
MorphoSupplyCollateralRequestChain = {
|
|
40400
40062
|
EthereumMainnet: "ethereum:mainnet",
|
|
40401
40063
|
BaseMainnet: "base:mainnet"
|
|
@@ -40412,14 +40074,14 @@ var init_morphosupplycollateralrequest = __esm(() => {
|
|
|
40412
40074
|
MorphoSupplyCollateralRequestChain$.inboundSchema = MorphoSupplyCollateralRequestChain$inboundSchema;
|
|
40413
40075
|
MorphoSupplyCollateralRequestChain$.outboundSchema = MorphoSupplyCollateralRequestChain$outboundSchema;
|
|
40414
40076
|
})(MorphoSupplyCollateralRequestChain$ ||= {});
|
|
40415
|
-
MorphoSupplyCollateralRequest$inboundSchema =
|
|
40077
|
+
MorphoSupplyCollateralRequest$inboundSchema = objectType({
|
|
40416
40078
|
amount: unionType([numberType(), stringType()]),
|
|
40417
40079
|
unique_market_key: stringType(),
|
|
40418
40080
|
on_behalf_of: nullableType(stringType()).optional(),
|
|
40419
40081
|
callback_data: nullableType(zodInbound).optional(),
|
|
40420
40082
|
chain: MorphoSupplyCollateralRequestChain$inboundSchema,
|
|
40421
40083
|
sender: stringType()
|
|
40422
|
-
}).
|
|
40084
|
+
}).transform((v2) => {
|
|
40423
40085
|
return remap(v2, {
|
|
40424
40086
|
unique_market_key: "uniqueMarketKey",
|
|
40425
40087
|
on_behalf_of: "onBehalfOf",
|
|
@@ -40432,18 +40094,13 @@ var init_morphosupplycollateralrequest = __esm(() => {
|
|
|
40432
40094
|
onBehalfOf: nullableType(stringType()).optional(),
|
|
40433
40095
|
callbackData: nullableType(zodOutbound).optional(),
|
|
40434
40096
|
chain: MorphoSupplyCollateralRequestChain$outboundSchema,
|
|
40435
|
-
sender: stringType()
|
|
40436
|
-
additionalProperties: recordType(anyType())
|
|
40097
|
+
sender: stringType()
|
|
40437
40098
|
}).transform((v2) => {
|
|
40438
|
-
return {
|
|
40439
|
-
|
|
40440
|
-
|
|
40441
|
-
|
|
40442
|
-
|
|
40443
|
-
callbackData: "callback_data",
|
|
40444
|
-
additionalProperties: null
|
|
40445
|
-
})
|
|
40446
|
-
};
|
|
40099
|
+
return remap(v2, {
|
|
40100
|
+
uniqueMarketKey: "unique_market_key",
|
|
40101
|
+
onBehalfOf: "on_behalf_of",
|
|
40102
|
+
callbackData: "callback_data"
|
|
40103
|
+
});
|
|
40447
40104
|
});
|
|
40448
40105
|
((MorphoSupplyCollateralRequest$) => {
|
|
40449
40106
|
MorphoSupplyCollateralRequest$.inboundSchema = MorphoSupplyCollateralRequest$inboundSchema;
|
|
@@ -40456,7 +40113,6 @@ var MorphoWithdrawCollateralRequestChain, MorphoWithdrawCollateralRequestAmount$
|
|
|
40456
40113
|
var init_morphowithdrawcollateralrequest = __esm(() => {
|
|
40457
40114
|
init_esm();
|
|
40458
40115
|
init_primitives();
|
|
40459
|
-
init_schemas();
|
|
40460
40116
|
MorphoWithdrawCollateralRequestChain = {
|
|
40461
40117
|
EthereumMainnet: "ethereum:mainnet",
|
|
40462
40118
|
BaseMainnet: "base:mainnet"
|
|
@@ -40473,14 +40129,14 @@ var init_morphowithdrawcollateralrequest = __esm(() => {
|
|
|
40473
40129
|
MorphoWithdrawCollateralRequestChain$.inboundSchema = MorphoWithdrawCollateralRequestChain$inboundSchema;
|
|
40474
40130
|
MorphoWithdrawCollateralRequestChain$.outboundSchema = MorphoWithdrawCollateralRequestChain$outboundSchema;
|
|
40475
40131
|
})(MorphoWithdrawCollateralRequestChain$ ||= {});
|
|
40476
|
-
MorphoWithdrawCollateralRequest$inboundSchema =
|
|
40132
|
+
MorphoWithdrawCollateralRequest$inboundSchema = objectType({
|
|
40477
40133
|
amount: unionType([numberType(), stringType()]),
|
|
40478
40134
|
unique_market_key: stringType(),
|
|
40479
40135
|
on_behalf_of: nullableType(stringType()).optional(),
|
|
40480
40136
|
receiver: nullableType(stringType()).optional(),
|
|
40481
40137
|
chain: MorphoWithdrawCollateralRequestChain$inboundSchema,
|
|
40482
40138
|
sender: stringType()
|
|
40483
|
-
}).
|
|
40139
|
+
}).transform((v2) => {
|
|
40484
40140
|
return remap(v2, {
|
|
40485
40141
|
unique_market_key: "uniqueMarketKey",
|
|
40486
40142
|
on_behalf_of: "onBehalfOf"
|
|
@@ -40492,17 +40148,12 @@ var init_morphowithdrawcollateralrequest = __esm(() => {
|
|
|
40492
40148
|
onBehalfOf: nullableType(stringType()).optional(),
|
|
40493
40149
|
receiver: nullableType(stringType()).optional(),
|
|
40494
40150
|
chain: MorphoWithdrawCollateralRequestChain$outboundSchema,
|
|
40495
|
-
sender: stringType()
|
|
40496
|
-
additionalProperties: recordType(anyType())
|
|
40151
|
+
sender: stringType()
|
|
40497
40152
|
}).transform((v2) => {
|
|
40498
|
-
return {
|
|
40499
|
-
|
|
40500
|
-
|
|
40501
|
-
|
|
40502
|
-
onBehalfOf: "on_behalf_of",
|
|
40503
|
-
additionalProperties: null
|
|
40504
|
-
})
|
|
40505
|
-
};
|
|
40153
|
+
return remap(v2, {
|
|
40154
|
+
uniqueMarketKey: "unique_market_key",
|
|
40155
|
+
onBehalfOf: "on_behalf_of"
|
|
40156
|
+
});
|
|
40506
40157
|
});
|
|
40507
40158
|
((MorphoWithdrawCollateralRequest$) => {
|
|
40508
40159
|
MorphoWithdrawCollateralRequest$.inboundSchema = MorphoWithdrawCollateralRequest$inboundSchema;
|
|
@@ -40515,7 +40166,6 @@ var MorphoWithdrawRequestChain, MorphoWithdrawRequestChain$inboundSchema, Morpho
|
|
|
40515
40166
|
var init_morphowithdrawrequest = __esm(() => {
|
|
40516
40167
|
init_esm();
|
|
40517
40168
|
init_primitives();
|
|
40518
|
-
init_schemas();
|
|
40519
40169
|
MorphoWithdrawRequestChain = {
|
|
40520
40170
|
EthereumMainnet: "ethereum:mainnet",
|
|
40521
40171
|
BaseMainnet: "base:mainnet"
|
|
@@ -40526,13 +40176,13 @@ var init_morphowithdrawrequest = __esm(() => {
|
|
|
40526
40176
|
MorphoWithdrawRequestChain$.inboundSchema = MorphoWithdrawRequestChain$inboundSchema;
|
|
40527
40177
|
MorphoWithdrawRequestChain$.outboundSchema = MorphoWithdrawRequestChain$outboundSchema;
|
|
40528
40178
|
})(MorphoWithdrawRequestChain$ ||= {});
|
|
40529
|
-
MorphoWithdrawRequest$inboundSchema =
|
|
40179
|
+
MorphoWithdrawRequest$inboundSchema = objectType({
|
|
40530
40180
|
vault_address: stringType(),
|
|
40531
40181
|
amount: anyType().optional(),
|
|
40532
40182
|
receiver: nullableType(stringType()).optional(),
|
|
40533
40183
|
chain: MorphoWithdrawRequestChain$inboundSchema,
|
|
40534
40184
|
sender: stringType()
|
|
40535
|
-
}).
|
|
40185
|
+
}).transform((v2) => {
|
|
40536
40186
|
return remap(v2, {
|
|
40537
40187
|
vault_address: "vaultAddress"
|
|
40538
40188
|
});
|
|
@@ -40542,16 +40192,11 @@ var init_morphowithdrawrequest = __esm(() => {
|
|
|
40542
40192
|
amount: anyType().optional(),
|
|
40543
40193
|
receiver: nullableType(stringType()).optional(),
|
|
40544
40194
|
chain: MorphoWithdrawRequestChain$outboundSchema,
|
|
40545
|
-
sender: stringType()
|
|
40546
|
-
additionalProperties: recordType(anyType())
|
|
40195
|
+
sender: stringType()
|
|
40547
40196
|
}).transform((v2) => {
|
|
40548
|
-
return {
|
|
40549
|
-
|
|
40550
|
-
|
|
40551
|
-
vaultAddress: "vault_address",
|
|
40552
|
-
additionalProperties: null
|
|
40553
|
-
})
|
|
40554
|
-
};
|
|
40197
|
+
return remap(v2, {
|
|
40198
|
+
vaultAddress: "vault_address"
|
|
40199
|
+
});
|
|
40555
40200
|
});
|
|
40556
40201
|
((MorphoWithdrawRequest$) => {
|
|
40557
40202
|
MorphoWithdrawRequest$.inboundSchema = MorphoWithdrawRequest$inboundSchema;
|
|
@@ -40661,7 +40306,6 @@ var PendleBuyPtRequestAmount$inboundSchema, PendleBuyPtRequestAmount$outboundSch
|
|
|
40661
40306
|
var init_pendlebuyptrequest = __esm(() => {
|
|
40662
40307
|
init_esm();
|
|
40663
40308
|
init_primitives();
|
|
40664
|
-
init_schemas();
|
|
40665
40309
|
init_chain();
|
|
40666
40310
|
PendleBuyPtRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
40667
40311
|
PendleBuyPtRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -40669,12 +40313,12 @@ var init_pendlebuyptrequest = __esm(() => {
|
|
|
40669
40313
|
PendleBuyPtRequestAmount$.inboundSchema = PendleBuyPtRequestAmount$inboundSchema;
|
|
40670
40314
|
PendleBuyPtRequestAmount$.outboundSchema = PendleBuyPtRequestAmount$outboundSchema;
|
|
40671
40315
|
})(PendleBuyPtRequestAmount$ ||= {});
|
|
40672
|
-
PendleBuyPtRequest$inboundSchema =
|
|
40316
|
+
PendleBuyPtRequest$inboundSchema = objectType({
|
|
40673
40317
|
market_address: stringType(),
|
|
40674
40318
|
amount: unionType([numberType(), stringType()]),
|
|
40675
40319
|
chain: Chain$inboundSchema,
|
|
40676
40320
|
sender: stringType()
|
|
40677
|
-
}).
|
|
40321
|
+
}).transform((v2) => {
|
|
40678
40322
|
return remap(v2, {
|
|
40679
40323
|
market_address: "marketAddress"
|
|
40680
40324
|
});
|
|
@@ -40683,16 +40327,11 @@ var init_pendlebuyptrequest = __esm(() => {
|
|
|
40683
40327
|
marketAddress: stringType(),
|
|
40684
40328
|
amount: unionType([numberType(), stringType()]),
|
|
40685
40329
|
chain: Chain$outboundSchema,
|
|
40686
|
-
sender: stringType()
|
|
40687
|
-
additionalProperties: recordType(anyType())
|
|
40330
|
+
sender: stringType()
|
|
40688
40331
|
}).transform((v2) => {
|
|
40689
|
-
return {
|
|
40690
|
-
|
|
40691
|
-
|
|
40692
|
-
marketAddress: "market_address",
|
|
40693
|
-
additionalProperties: null
|
|
40694
|
-
})
|
|
40695
|
-
};
|
|
40332
|
+
return remap(v2, {
|
|
40333
|
+
marketAddress: "market_address"
|
|
40334
|
+
});
|
|
40696
40335
|
});
|
|
40697
40336
|
((PendleBuyPtRequest$) => {
|
|
40698
40337
|
PendleBuyPtRequest$.inboundSchema = PendleBuyPtRequest$inboundSchema;
|
|
@@ -40705,7 +40344,6 @@ var PendleBuyYtRequestAmount$inboundSchema, PendleBuyYtRequestAmount$outboundSch
|
|
|
40705
40344
|
var init_pendlebuyytrequest = __esm(() => {
|
|
40706
40345
|
init_esm();
|
|
40707
40346
|
init_primitives();
|
|
40708
|
-
init_schemas();
|
|
40709
40347
|
init_chain();
|
|
40710
40348
|
PendleBuyYtRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
40711
40349
|
PendleBuyYtRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -40713,12 +40351,12 @@ var init_pendlebuyytrequest = __esm(() => {
|
|
|
40713
40351
|
PendleBuyYtRequestAmount$.inboundSchema = PendleBuyYtRequestAmount$inboundSchema;
|
|
40714
40352
|
PendleBuyYtRequestAmount$.outboundSchema = PendleBuyYtRequestAmount$outboundSchema;
|
|
40715
40353
|
})(PendleBuyYtRequestAmount$ ||= {});
|
|
40716
|
-
PendleBuyYtRequest$inboundSchema =
|
|
40354
|
+
PendleBuyYtRequest$inboundSchema = objectType({
|
|
40717
40355
|
market_address: stringType(),
|
|
40718
40356
|
amount: unionType([numberType(), stringType()]),
|
|
40719
40357
|
chain: Chain$inboundSchema,
|
|
40720
40358
|
sender: stringType()
|
|
40721
|
-
}).
|
|
40359
|
+
}).transform((v2) => {
|
|
40722
40360
|
return remap(v2, {
|
|
40723
40361
|
market_address: "marketAddress"
|
|
40724
40362
|
});
|
|
@@ -40727,16 +40365,11 @@ var init_pendlebuyytrequest = __esm(() => {
|
|
|
40727
40365
|
marketAddress: stringType(),
|
|
40728
40366
|
amount: unionType([numberType(), stringType()]),
|
|
40729
40367
|
chain: Chain$outboundSchema,
|
|
40730
|
-
sender: stringType()
|
|
40731
|
-
additionalProperties: recordType(anyType())
|
|
40368
|
+
sender: stringType()
|
|
40732
40369
|
}).transform((v2) => {
|
|
40733
|
-
return {
|
|
40734
|
-
|
|
40735
|
-
|
|
40736
|
-
marketAddress: "market_address",
|
|
40737
|
-
additionalProperties: null
|
|
40738
|
-
})
|
|
40739
|
-
};
|
|
40370
|
+
return remap(v2, {
|
|
40371
|
+
marketAddress: "market_address"
|
|
40372
|
+
});
|
|
40740
40373
|
});
|
|
40741
40374
|
((PendleBuyYtRequest$) => {
|
|
40742
40375
|
PendleBuyYtRequest$.inboundSchema = PendleBuyYtRequest$inboundSchema;
|
|
@@ -40963,7 +40596,6 @@ var PendleSellPtRequestAmount$inboundSchema, PendleSellPtRequestAmount$outboundS
|
|
|
40963
40596
|
var init_pendlesellptrequest = __esm(() => {
|
|
40964
40597
|
init_esm();
|
|
40965
40598
|
init_primitives();
|
|
40966
|
-
init_schemas();
|
|
40967
40599
|
init_chain();
|
|
40968
40600
|
PendleSellPtRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
40969
40601
|
PendleSellPtRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -40971,12 +40603,12 @@ var init_pendlesellptrequest = __esm(() => {
|
|
|
40971
40603
|
PendleSellPtRequestAmount$.inboundSchema = PendleSellPtRequestAmount$inboundSchema;
|
|
40972
40604
|
PendleSellPtRequestAmount$.outboundSchema = PendleSellPtRequestAmount$outboundSchema;
|
|
40973
40605
|
})(PendleSellPtRequestAmount$ ||= {});
|
|
40974
|
-
PendleSellPtRequest$inboundSchema =
|
|
40606
|
+
PendleSellPtRequest$inboundSchema = objectType({
|
|
40975
40607
|
market_address: stringType(),
|
|
40976
40608
|
amount: unionType([numberType(), stringType()]),
|
|
40977
40609
|
chain: Chain$inboundSchema,
|
|
40978
40610
|
sender: stringType()
|
|
40979
|
-
}).
|
|
40611
|
+
}).transform((v2) => {
|
|
40980
40612
|
return remap(v2, {
|
|
40981
40613
|
market_address: "marketAddress"
|
|
40982
40614
|
});
|
|
@@ -40985,16 +40617,11 @@ var init_pendlesellptrequest = __esm(() => {
|
|
|
40985
40617
|
marketAddress: stringType(),
|
|
40986
40618
|
amount: unionType([numberType(), stringType()]),
|
|
40987
40619
|
chain: Chain$outboundSchema,
|
|
40988
|
-
sender: stringType()
|
|
40989
|
-
additionalProperties: recordType(anyType())
|
|
40620
|
+
sender: stringType()
|
|
40990
40621
|
}).transform((v2) => {
|
|
40991
|
-
return {
|
|
40992
|
-
|
|
40993
|
-
|
|
40994
|
-
marketAddress: "market_address",
|
|
40995
|
-
additionalProperties: null
|
|
40996
|
-
})
|
|
40997
|
-
};
|
|
40622
|
+
return remap(v2, {
|
|
40623
|
+
marketAddress: "market_address"
|
|
40624
|
+
});
|
|
40998
40625
|
});
|
|
40999
40626
|
((PendleSellPtRequest$) => {
|
|
41000
40627
|
PendleSellPtRequest$.inboundSchema = PendleSellPtRequest$inboundSchema;
|
|
@@ -41007,7 +40634,6 @@ var PendleSellYtRequestAmount$inboundSchema, PendleSellYtRequestAmount$outboundS
|
|
|
41007
40634
|
var init_pendlesellytrequest = __esm(() => {
|
|
41008
40635
|
init_esm();
|
|
41009
40636
|
init_primitives();
|
|
41010
|
-
init_schemas();
|
|
41011
40637
|
init_chain();
|
|
41012
40638
|
PendleSellYtRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
41013
40639
|
PendleSellYtRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -41015,12 +40641,12 @@ var init_pendlesellytrequest = __esm(() => {
|
|
|
41015
40641
|
PendleSellYtRequestAmount$.inboundSchema = PendleSellYtRequestAmount$inboundSchema;
|
|
41016
40642
|
PendleSellYtRequestAmount$.outboundSchema = PendleSellYtRequestAmount$outboundSchema;
|
|
41017
40643
|
})(PendleSellYtRequestAmount$ ||= {});
|
|
41018
|
-
PendleSellYtRequest$inboundSchema =
|
|
40644
|
+
PendleSellYtRequest$inboundSchema = objectType({
|
|
41019
40645
|
market_address: stringType(),
|
|
41020
40646
|
amount: unionType([numberType(), stringType()]),
|
|
41021
40647
|
chain: Chain$inboundSchema,
|
|
41022
40648
|
sender: stringType()
|
|
41023
|
-
}).
|
|
40649
|
+
}).transform((v2) => {
|
|
41024
40650
|
return remap(v2, {
|
|
41025
40651
|
market_address: "marketAddress"
|
|
41026
40652
|
});
|
|
@@ -41029,16 +40655,11 @@ var init_pendlesellytrequest = __esm(() => {
|
|
|
41029
40655
|
marketAddress: stringType(),
|
|
41030
40656
|
amount: unionType([numberType(), stringType()]),
|
|
41031
40657
|
chain: Chain$outboundSchema,
|
|
41032
|
-
sender: stringType()
|
|
41033
|
-
additionalProperties: recordType(anyType())
|
|
40658
|
+
sender: stringType()
|
|
41034
40659
|
}).transform((v2) => {
|
|
41035
|
-
return {
|
|
41036
|
-
|
|
41037
|
-
|
|
41038
|
-
marketAddress: "market_address",
|
|
41039
|
-
additionalProperties: null
|
|
41040
|
-
})
|
|
41041
|
-
};
|
|
40660
|
+
return remap(v2, {
|
|
40661
|
+
marketAddress: "market_address"
|
|
40662
|
+
});
|
|
41042
40663
|
});
|
|
41043
40664
|
((PendleSellYtRequest$) => {
|
|
41044
40665
|
PendleSellYtRequest$.inboundSchema = PendleSellYtRequest$inboundSchema;
|
|
@@ -41106,7 +40727,6 @@ var SkyBuyRequestTokenIn, SkyBuyRequestTokenIn$inboundSchema, SkyBuyRequestToken
|
|
|
41106
40727
|
var init_skybuyrequest = __esm(() => {
|
|
41107
40728
|
init_esm();
|
|
41108
40729
|
init_primitives();
|
|
41109
|
-
init_schemas();
|
|
41110
40730
|
SkyBuyRequestTokenIn = {
|
|
41111
40731
|
Dai: "DAI",
|
|
41112
40732
|
Usdc: "USDC"
|
|
@@ -41123,12 +40743,12 @@ var init_skybuyrequest = __esm(() => {
|
|
|
41123
40743
|
SkyBuyRequestAmount$.inboundSchema = SkyBuyRequestAmount$inboundSchema;
|
|
41124
40744
|
SkyBuyRequestAmount$.outboundSchema = SkyBuyRequestAmount$outboundSchema;
|
|
41125
40745
|
})(SkyBuyRequestAmount$ ||= {});
|
|
41126
|
-
SkyBuyRequest$inboundSchema =
|
|
40746
|
+
SkyBuyRequest$inboundSchema = objectType({
|
|
41127
40747
|
token_in: SkyBuyRequestTokenIn$inboundSchema,
|
|
41128
40748
|
amount: unionType([numberType(), stringType()]),
|
|
41129
40749
|
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
41130
40750
|
sender: stringType()
|
|
41131
|
-
}).
|
|
40751
|
+
}).transform((v2) => {
|
|
41132
40752
|
return remap(v2, {
|
|
41133
40753
|
token_in: "tokenIn"
|
|
41134
40754
|
});
|
|
@@ -41137,16 +40757,11 @@ var init_skybuyrequest = __esm(() => {
|
|
|
41137
40757
|
tokenIn: SkyBuyRequestTokenIn$outboundSchema,
|
|
41138
40758
|
amount: unionType([numberType(), stringType()]),
|
|
41139
40759
|
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
41140
|
-
sender: stringType()
|
|
41141
|
-
additionalProperties: recordType(anyType())
|
|
40760
|
+
sender: stringType()
|
|
41142
40761
|
}).transform((v2) => {
|
|
41143
|
-
return {
|
|
41144
|
-
|
|
41145
|
-
|
|
41146
|
-
tokenIn: "token_in",
|
|
41147
|
-
additionalProperties: null
|
|
41148
|
-
})
|
|
41149
|
-
};
|
|
40762
|
+
return remap(v2, {
|
|
40763
|
+
tokenIn: "token_in"
|
|
40764
|
+
});
|
|
41150
40765
|
});
|
|
41151
40766
|
((SkyBuyRequest$) => {
|
|
41152
40767
|
SkyBuyRequest$.inboundSchema = SkyBuyRequest$inboundSchema;
|
|
@@ -41185,33 +40800,23 @@ var init_skycheckpositionresponse = __esm(() => {
|
|
|
41185
40800
|
var SkyDepositRequestAmount$inboundSchema, SkyDepositRequestAmount$outboundSchema, SkyDepositRequestAmount$, SkyDepositRequest$inboundSchema, SkyDepositRequest$outboundSchema, SkyDepositRequest$;
|
|
41186
40801
|
var init_skydepositrequest = __esm(() => {
|
|
41187
40802
|
init_esm();
|
|
41188
|
-
init_primitives();
|
|
41189
|
-
init_schemas();
|
|
41190
40803
|
SkyDepositRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
41191
40804
|
SkyDepositRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
41192
40805
|
((SkyDepositRequestAmount$) => {
|
|
41193
40806
|
SkyDepositRequestAmount$.inboundSchema = SkyDepositRequestAmount$inboundSchema;
|
|
41194
40807
|
SkyDepositRequestAmount$.outboundSchema = SkyDepositRequestAmount$outboundSchema;
|
|
41195
40808
|
})(SkyDepositRequestAmount$ ||= {});
|
|
41196
|
-
SkyDepositRequest$inboundSchema =
|
|
40809
|
+
SkyDepositRequest$inboundSchema = objectType({
|
|
41197
40810
|
amount: unionType([numberType(), stringType()]),
|
|
41198
40811
|
receiver: nullableType(stringType()).optional(),
|
|
41199
40812
|
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
41200
40813
|
sender: stringType()
|
|
41201
|
-
})
|
|
40814
|
+
});
|
|
41202
40815
|
SkyDepositRequest$outboundSchema = objectType({
|
|
41203
40816
|
amount: unionType([numberType(), stringType()]),
|
|
41204
40817
|
receiver: nullableType(stringType()).optional(),
|
|
41205
40818
|
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
41206
|
-
sender: stringType()
|
|
41207
|
-
additionalProperties: recordType(anyType())
|
|
41208
|
-
}).transform((v2) => {
|
|
41209
|
-
return {
|
|
41210
|
-
...v2.additionalProperties,
|
|
41211
|
-
...remap(v2, {
|
|
41212
|
-
additionalProperties: null
|
|
41213
|
-
})
|
|
41214
|
-
};
|
|
40819
|
+
sender: stringType()
|
|
41215
40820
|
});
|
|
41216
40821
|
((SkyDepositRequest$) => {
|
|
41217
40822
|
SkyDepositRequest$.inboundSchema = SkyDepositRequest$inboundSchema;
|
|
@@ -41224,7 +40829,6 @@ var SkySellRequestTokenOut, SkySellRequestTokenOut$inboundSchema, SkySellRequest
|
|
|
41224
40829
|
var init_skysellrequest = __esm(() => {
|
|
41225
40830
|
init_esm();
|
|
41226
40831
|
init_primitives();
|
|
41227
|
-
init_schemas();
|
|
41228
40832
|
SkySellRequestTokenOut = {
|
|
41229
40833
|
Dai: "DAI",
|
|
41230
40834
|
Usdc: "USDC"
|
|
@@ -41241,12 +40845,12 @@ var init_skysellrequest = __esm(() => {
|
|
|
41241
40845
|
SkySellRequestAmount$.inboundSchema = SkySellRequestAmount$inboundSchema;
|
|
41242
40846
|
SkySellRequestAmount$.outboundSchema = SkySellRequestAmount$outboundSchema;
|
|
41243
40847
|
})(SkySellRequestAmount$ ||= {});
|
|
41244
|
-
SkySellRequest$inboundSchema =
|
|
40848
|
+
SkySellRequest$inboundSchema = objectType({
|
|
41245
40849
|
token_out: SkySellRequestTokenOut$inboundSchema,
|
|
41246
40850
|
amount: unionType([numberType(), stringType()]),
|
|
41247
40851
|
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
41248
40852
|
sender: stringType()
|
|
41249
|
-
}).
|
|
40853
|
+
}).transform((v2) => {
|
|
41250
40854
|
return remap(v2, {
|
|
41251
40855
|
token_out: "tokenOut"
|
|
41252
40856
|
});
|
|
@@ -41255,16 +40859,11 @@ var init_skysellrequest = __esm(() => {
|
|
|
41255
40859
|
tokenOut: SkySellRequestTokenOut$outboundSchema,
|
|
41256
40860
|
amount: unionType([numberType(), stringType()]),
|
|
41257
40861
|
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
41258
|
-
sender: stringType()
|
|
41259
|
-
additionalProperties: recordType(anyType())
|
|
40862
|
+
sender: stringType()
|
|
41260
40863
|
}).transform((v2) => {
|
|
41261
|
-
return {
|
|
41262
|
-
|
|
41263
|
-
|
|
41264
|
-
tokenOut: "token_out",
|
|
41265
|
-
additionalProperties: null
|
|
41266
|
-
})
|
|
41267
|
-
};
|
|
40864
|
+
return remap(v2, {
|
|
40865
|
+
tokenOut: "token_out"
|
|
40866
|
+
});
|
|
41268
40867
|
});
|
|
41269
40868
|
((SkySellRequest$) => {
|
|
41270
40869
|
SkySellRequest$.inboundSchema = SkySellRequest$inboundSchema;
|
|
@@ -41276,27 +40875,17 @@ var init_skysellrequest = __esm(() => {
|
|
|
41276
40875
|
var SkyWithdrawRequest$inboundSchema, SkyWithdrawRequest$outboundSchema, SkyWithdrawRequest$;
|
|
41277
40876
|
var init_skywithdrawrequest = __esm(() => {
|
|
41278
40877
|
init_esm();
|
|
41279
|
-
|
|
41280
|
-
init_schemas();
|
|
41281
|
-
SkyWithdrawRequest$inboundSchema = collectExtraKeys(objectType({
|
|
40878
|
+
SkyWithdrawRequest$inboundSchema = objectType({
|
|
41282
40879
|
amount: anyType().optional(),
|
|
41283
40880
|
receiver: nullableType(stringType()).optional(),
|
|
41284
40881
|
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
41285
40882
|
sender: stringType()
|
|
41286
|
-
})
|
|
40883
|
+
});
|
|
41287
40884
|
SkyWithdrawRequest$outboundSchema = objectType({
|
|
41288
40885
|
amount: anyType().optional(),
|
|
41289
40886
|
receiver: nullableType(stringType()).optional(),
|
|
41290
40887
|
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
41291
|
-
sender: stringType()
|
|
41292
|
-
additionalProperties: recordType(anyType())
|
|
41293
|
-
}).transform((v2) => {
|
|
41294
|
-
return {
|
|
41295
|
-
...v2.additionalProperties,
|
|
41296
|
-
...remap(v2, {
|
|
41297
|
-
additionalProperties: null
|
|
41298
|
-
})
|
|
41299
|
-
};
|
|
40888
|
+
sender: stringType()
|
|
41300
40889
|
});
|
|
41301
40890
|
((SkyWithdrawRequest$) => {
|
|
41302
40891
|
SkyWithdrawRequest$.inboundSchema = SkyWithdrawRequest$inboundSchema;
|
|
@@ -41397,8 +40986,6 @@ var init_tokenpriceresponse = __esm(() => {
|
|
|
41397
40986
|
var TokenTransferRequestAmount$inboundSchema, TokenTransferRequestAmount$outboundSchema, TokenTransferRequestAmount$, TokenTransferRequestToken$inboundSchema, TokenTransferRequestToken$outboundSchema, TokenTransferRequestToken$, TokenTransferRequest$inboundSchema, TokenTransferRequest$outboundSchema, TokenTransferRequest$;
|
|
41398
40987
|
var init_tokentransferrequest = __esm(() => {
|
|
41399
40988
|
init_esm();
|
|
41400
|
-
init_primitives();
|
|
41401
|
-
init_schemas();
|
|
41402
40989
|
init_chain();
|
|
41403
40990
|
init_tokenenum();
|
|
41404
40991
|
TokenTransferRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -41413,27 +41000,19 @@ var init_tokentransferrequest = __esm(() => {
|
|
|
41413
41000
|
TokenTransferRequestToken$.inboundSchema = TokenTransferRequestToken$inboundSchema;
|
|
41414
41001
|
TokenTransferRequestToken$.outboundSchema = TokenTransferRequestToken$outboundSchema;
|
|
41415
41002
|
})(TokenTransferRequestToken$ ||= {});
|
|
41416
|
-
TokenTransferRequest$inboundSchema =
|
|
41003
|
+
TokenTransferRequest$inboundSchema = objectType({
|
|
41417
41004
|
amount: unionType([numberType(), stringType()]),
|
|
41418
41005
|
token: unionType([TokenEnum$inboundSchema, stringType()]),
|
|
41419
41006
|
to: stringType(),
|
|
41420
41007
|
chain: Chain$inboundSchema,
|
|
41421
41008
|
sender: stringType()
|
|
41422
|
-
})
|
|
41009
|
+
});
|
|
41423
41010
|
TokenTransferRequest$outboundSchema = objectType({
|
|
41424
41011
|
amount: unionType([numberType(), stringType()]),
|
|
41425
41012
|
token: unionType([TokenEnum$outboundSchema, stringType()]),
|
|
41426
41013
|
to: stringType(),
|
|
41427
41014
|
chain: Chain$outboundSchema,
|
|
41428
|
-
sender: stringType()
|
|
41429
|
-
additionalProperties: recordType(anyType())
|
|
41430
|
-
}).transform((v2) => {
|
|
41431
|
-
return {
|
|
41432
|
-
...v2.additionalProperties,
|
|
41433
|
-
...remap(v2, {
|
|
41434
|
-
additionalProperties: null
|
|
41435
|
-
})
|
|
41436
|
-
};
|
|
41015
|
+
sender: stringType()
|
|
41437
41016
|
});
|
|
41438
41017
|
((TokenTransferRequest$) => {
|
|
41439
41018
|
TokenTransferRequest$.inboundSchema = TokenTransferRequest$inboundSchema;
|
|
@@ -41536,7 +41115,6 @@ var UniswapBuyExactlyRequestAmount$inboundSchema, UniswapBuyExactlyRequestAmount
|
|
|
41536
41115
|
var init_uniswapbuyexactlyrequest = __esm(() => {
|
|
41537
41116
|
init_esm();
|
|
41538
41117
|
init_primitives();
|
|
41539
|
-
init_schemas();
|
|
41540
41118
|
init_chain();
|
|
41541
41119
|
init_feeenum();
|
|
41542
41120
|
init_tokenenum();
|
|
@@ -41546,7 +41124,7 @@ var init_uniswapbuyexactlyrequest = __esm(() => {
|
|
|
41546
41124
|
UniswapBuyExactlyRequestAmount$.inboundSchema = UniswapBuyExactlyRequestAmount$inboundSchema;
|
|
41547
41125
|
UniswapBuyExactlyRequestAmount$.outboundSchema = UniswapBuyExactlyRequestAmount$outboundSchema;
|
|
41548
41126
|
})(UniswapBuyExactlyRequestAmount$ ||= {});
|
|
41549
|
-
UniswapBuyExactlyRequest$inboundSchema =
|
|
41127
|
+
UniswapBuyExactlyRequest$inboundSchema = objectType({
|
|
41550
41128
|
token_in: TokenEnum$inboundSchema,
|
|
41551
41129
|
token_out: TokenEnum$inboundSchema,
|
|
41552
41130
|
fee: FeeEnum$inboundSchema,
|
|
@@ -41555,7 +41133,7 @@ var init_uniswapbuyexactlyrequest = __esm(() => {
|
|
|
41555
41133
|
wrap_eth: booleanType().default(false),
|
|
41556
41134
|
chain: Chain$inboundSchema,
|
|
41557
41135
|
sender: stringType()
|
|
41558
|
-
}).
|
|
41136
|
+
}).transform((v2) => {
|
|
41559
41137
|
return remap(v2, {
|
|
41560
41138
|
token_in: "tokenIn",
|
|
41561
41139
|
token_out: "tokenOut",
|
|
@@ -41571,19 +41149,14 @@ var init_uniswapbuyexactlyrequest = __esm(() => {
|
|
|
41571
41149
|
maxSlippagePercent: numberType(),
|
|
41572
41150
|
wrapEth: booleanType().default(false),
|
|
41573
41151
|
chain: Chain$outboundSchema,
|
|
41574
|
-
sender: stringType()
|
|
41575
|
-
additionalProperties: recordType(anyType())
|
|
41152
|
+
sender: stringType()
|
|
41576
41153
|
}).transform((v2) => {
|
|
41577
|
-
return {
|
|
41578
|
-
|
|
41579
|
-
|
|
41580
|
-
|
|
41581
|
-
|
|
41582
|
-
|
|
41583
|
-
wrapEth: "wrap_eth",
|
|
41584
|
-
additionalProperties: null
|
|
41585
|
-
})
|
|
41586
|
-
};
|
|
41154
|
+
return remap(v2, {
|
|
41155
|
+
tokenIn: "token_in",
|
|
41156
|
+
tokenOut: "token_out",
|
|
41157
|
+
maxSlippagePercent: "max_slippage_percent",
|
|
41158
|
+
wrapEth: "wrap_eth"
|
|
41159
|
+
});
|
|
41587
41160
|
});
|
|
41588
41161
|
((UniswapBuyExactlyRequest$) => {
|
|
41589
41162
|
UniswapBuyExactlyRequest$.inboundSchema = UniswapBuyExactlyRequest$inboundSchema;
|
|
@@ -41650,7 +41223,6 @@ var UniswapIncreaseLiquidityProvisionRequestAmount0Desired$inboundSchema, Uniswa
|
|
|
41650
41223
|
var init_uniswapincreaseliquidityprovisionrequest = __esm(() => {
|
|
41651
41224
|
init_esm();
|
|
41652
41225
|
init_primitives();
|
|
41653
|
-
init_schemas();
|
|
41654
41226
|
init_chain();
|
|
41655
41227
|
UniswapIncreaseLiquidityProvisionRequestAmount0Desired$inboundSchema = unionType([numberType(), stringType()]);
|
|
41656
41228
|
UniswapIncreaseLiquidityProvisionRequestAmount0Desired$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -41676,7 +41248,7 @@ var init_uniswapincreaseliquidityprovisionrequest = __esm(() => {
|
|
|
41676
41248
|
UniswapIncreaseLiquidityProvisionRequestAmount1Min$.inboundSchema = UniswapIncreaseLiquidityProvisionRequestAmount1Min$inboundSchema;
|
|
41677
41249
|
UniswapIncreaseLiquidityProvisionRequestAmount1Min$.outboundSchema = UniswapIncreaseLiquidityProvisionRequestAmount1Min$outboundSchema;
|
|
41678
41250
|
})(UniswapIncreaseLiquidityProvisionRequestAmount1Min$ ||= {});
|
|
41679
|
-
UniswapIncreaseLiquidityProvisionRequest$inboundSchema =
|
|
41251
|
+
UniswapIncreaseLiquidityProvisionRequest$inboundSchema = objectType({
|
|
41680
41252
|
token_id: numberType().int(),
|
|
41681
41253
|
amount0_desired: unionType([numberType(), stringType()]),
|
|
41682
41254
|
amount1_desired: unionType([numberType(), stringType()]),
|
|
@@ -41684,7 +41256,7 @@ var init_uniswapincreaseliquidityprovisionrequest = __esm(() => {
|
|
|
41684
41256
|
amount1_min: unionType([numberType(), stringType()]),
|
|
41685
41257
|
chain: Chain$inboundSchema,
|
|
41686
41258
|
sender: stringType()
|
|
41687
|
-
}).
|
|
41259
|
+
}).transform((v2) => {
|
|
41688
41260
|
return remap(v2, {
|
|
41689
41261
|
token_id: "tokenId",
|
|
41690
41262
|
amount0_desired: "amount0Desired",
|
|
@@ -41700,20 +41272,15 @@ var init_uniswapincreaseliquidityprovisionrequest = __esm(() => {
|
|
|
41700
41272
|
amount0Min: unionType([numberType(), stringType()]),
|
|
41701
41273
|
amount1Min: unionType([numberType(), stringType()]),
|
|
41702
41274
|
chain: Chain$outboundSchema,
|
|
41703
|
-
sender: stringType()
|
|
41704
|
-
additionalProperties: recordType(anyType())
|
|
41275
|
+
sender: stringType()
|
|
41705
41276
|
}).transform((v2) => {
|
|
41706
|
-
return {
|
|
41707
|
-
|
|
41708
|
-
|
|
41709
|
-
|
|
41710
|
-
|
|
41711
|
-
|
|
41712
|
-
|
|
41713
|
-
amount1Min: "amount1_min",
|
|
41714
|
-
additionalProperties: null
|
|
41715
|
-
})
|
|
41716
|
-
};
|
|
41277
|
+
return remap(v2, {
|
|
41278
|
+
tokenId: "token_id",
|
|
41279
|
+
amount0Desired: "amount0_desired",
|
|
41280
|
+
amount1Desired: "amount1_desired",
|
|
41281
|
+
amount0Min: "amount0_min",
|
|
41282
|
+
amount1Min: "amount1_min"
|
|
41283
|
+
});
|
|
41717
41284
|
});
|
|
41718
41285
|
((UniswapIncreaseLiquidityProvisionRequest$) => {
|
|
41719
41286
|
UniswapIncreaseLiquidityProvisionRequest$.inboundSchema = UniswapIncreaseLiquidityProvisionRequest$inboundSchema;
|
|
@@ -41800,7 +41367,6 @@ var UniswapMintLiquidityProvisionRequestAmount0Desired$inboundSchema, UniswapMin
|
|
|
41800
41367
|
var init_uniswapmintliquidityprovisionrequest = __esm(() => {
|
|
41801
41368
|
init_esm();
|
|
41802
41369
|
init_primitives();
|
|
41803
|
-
init_schemas();
|
|
41804
41370
|
init_chain();
|
|
41805
41371
|
init_feeenum();
|
|
41806
41372
|
init_tokenenum();
|
|
@@ -41828,7 +41394,7 @@ var init_uniswapmintliquidityprovisionrequest = __esm(() => {
|
|
|
41828
41394
|
UniswapMintLiquidityProvisionRequestAmount1Min$.inboundSchema = UniswapMintLiquidityProvisionRequestAmount1Min$inboundSchema;
|
|
41829
41395
|
UniswapMintLiquidityProvisionRequestAmount1Min$.outboundSchema = UniswapMintLiquidityProvisionRequestAmount1Min$outboundSchema;
|
|
41830
41396
|
})(UniswapMintLiquidityProvisionRequestAmount1Min$ ||= {});
|
|
41831
|
-
UniswapMintLiquidityProvisionRequest$inboundSchema =
|
|
41397
|
+
UniswapMintLiquidityProvisionRequest$inboundSchema = objectType({
|
|
41832
41398
|
token0: TokenEnum$inboundSchema,
|
|
41833
41399
|
token1: TokenEnum$inboundSchema,
|
|
41834
41400
|
fee: FeeEnum$inboundSchema,
|
|
@@ -41841,7 +41407,7 @@ var init_uniswapmintliquidityprovisionrequest = __esm(() => {
|
|
|
41841
41407
|
recipient: nullableType(stringType()).optional(),
|
|
41842
41408
|
chain: Chain$inboundSchema,
|
|
41843
41409
|
sender: stringType()
|
|
41844
|
-
}).
|
|
41410
|
+
}).transform((v2) => {
|
|
41845
41411
|
return remap(v2, {
|
|
41846
41412
|
tick_lower: "tickLower",
|
|
41847
41413
|
tick_upper: "tickUpper",
|
|
@@ -41863,21 +41429,16 @@ var init_uniswapmintliquidityprovisionrequest = __esm(() => {
|
|
|
41863
41429
|
amount1Min: unionType([numberType(), stringType()]),
|
|
41864
41430
|
recipient: nullableType(stringType()).optional(),
|
|
41865
41431
|
chain: Chain$outboundSchema,
|
|
41866
|
-
sender: stringType()
|
|
41867
|
-
additionalProperties: recordType(anyType())
|
|
41432
|
+
sender: stringType()
|
|
41868
41433
|
}).transform((v2) => {
|
|
41869
|
-
return {
|
|
41870
|
-
|
|
41871
|
-
|
|
41872
|
-
|
|
41873
|
-
|
|
41874
|
-
|
|
41875
|
-
|
|
41876
|
-
|
|
41877
|
-
amount1Min: "amount1_min",
|
|
41878
|
-
additionalProperties: null
|
|
41879
|
-
})
|
|
41880
|
-
};
|
|
41434
|
+
return remap(v2, {
|
|
41435
|
+
tickLower: "tick_lower",
|
|
41436
|
+
tickUpper: "tick_upper",
|
|
41437
|
+
amount0Desired: "amount0_desired",
|
|
41438
|
+
amount1Desired: "amount1_desired",
|
|
41439
|
+
amount0Min: "amount0_min",
|
|
41440
|
+
amount1Min: "amount1_min"
|
|
41441
|
+
});
|
|
41881
41442
|
});
|
|
41882
41443
|
((UniswapMintLiquidityProvisionRequest$) => {
|
|
41883
41444
|
UniswapMintLiquidityProvisionRequest$.inboundSchema = UniswapMintLiquidityProvisionRequest$inboundSchema;
|
|
@@ -41924,7 +41485,6 @@ var UniswapSellExactlyRequestAmount$inboundSchema, UniswapSellExactlyRequestAmou
|
|
|
41924
41485
|
var init_uniswapsellexactlyrequest = __esm(() => {
|
|
41925
41486
|
init_esm();
|
|
41926
41487
|
init_primitives();
|
|
41927
|
-
init_schemas();
|
|
41928
41488
|
init_chain();
|
|
41929
41489
|
init_feeenum();
|
|
41930
41490
|
init_tokenenum();
|
|
@@ -41934,7 +41494,7 @@ var init_uniswapsellexactlyrequest = __esm(() => {
|
|
|
41934
41494
|
UniswapSellExactlyRequestAmount$.inboundSchema = UniswapSellExactlyRequestAmount$inboundSchema;
|
|
41935
41495
|
UniswapSellExactlyRequestAmount$.outboundSchema = UniswapSellExactlyRequestAmount$outboundSchema;
|
|
41936
41496
|
})(UniswapSellExactlyRequestAmount$ ||= {});
|
|
41937
|
-
UniswapSellExactlyRequest$inboundSchema =
|
|
41497
|
+
UniswapSellExactlyRequest$inboundSchema = objectType({
|
|
41938
41498
|
token_in: TokenEnum$inboundSchema,
|
|
41939
41499
|
token_out: TokenEnum$inboundSchema,
|
|
41940
41500
|
fee: FeeEnum$inboundSchema,
|
|
@@ -41943,7 +41503,7 @@ var init_uniswapsellexactlyrequest = __esm(() => {
|
|
|
41943
41503
|
wrap_eth: booleanType().default(false),
|
|
41944
41504
|
chain: Chain$inboundSchema,
|
|
41945
41505
|
sender: stringType()
|
|
41946
|
-
}).
|
|
41506
|
+
}).transform((v2) => {
|
|
41947
41507
|
return remap(v2, {
|
|
41948
41508
|
token_in: "tokenIn",
|
|
41949
41509
|
token_out: "tokenOut",
|
|
@@ -41959,19 +41519,14 @@ var init_uniswapsellexactlyrequest = __esm(() => {
|
|
|
41959
41519
|
maxSlippagePercent: numberType(),
|
|
41960
41520
|
wrapEth: booleanType().default(false),
|
|
41961
41521
|
chain: Chain$outboundSchema,
|
|
41962
|
-
sender: stringType()
|
|
41963
|
-
additionalProperties: recordType(anyType())
|
|
41522
|
+
sender: stringType()
|
|
41964
41523
|
}).transform((v2) => {
|
|
41965
|
-
return {
|
|
41966
|
-
|
|
41967
|
-
|
|
41968
|
-
|
|
41969
|
-
|
|
41970
|
-
|
|
41971
|
-
wrapEth: "wrap_eth",
|
|
41972
|
-
additionalProperties: null
|
|
41973
|
-
})
|
|
41974
|
-
};
|
|
41524
|
+
return remap(v2, {
|
|
41525
|
+
tokenIn: "token_in",
|
|
41526
|
+
tokenOut: "token_out",
|
|
41527
|
+
maxSlippagePercent: "max_slippage_percent",
|
|
41528
|
+
wrapEth: "wrap_eth"
|
|
41529
|
+
});
|
|
41975
41530
|
});
|
|
41976
41531
|
((UniswapSellExactlyRequest$) => {
|
|
41977
41532
|
UniswapSellExactlyRequest$.inboundSchema = UniswapSellExactlyRequest$inboundSchema;
|
|
@@ -42013,7 +41568,6 @@ var UniswapWithdrawLiquidityProvisionRequestPercentageForWithdrawal$inboundSchem
|
|
|
42013
41568
|
var init_uniswapwithdrawliquidityprovisionrequest = __esm(() => {
|
|
42014
41569
|
init_esm();
|
|
42015
41570
|
init_primitives();
|
|
42016
|
-
init_schemas();
|
|
42017
41571
|
init_chain();
|
|
42018
41572
|
UniswapWithdrawLiquidityProvisionRequestPercentageForWithdrawal$inboundSchema = unionType([numberType(), stringType()]);
|
|
42019
41573
|
UniswapWithdrawLiquidityProvisionRequestPercentageForWithdrawal$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -42021,12 +41575,12 @@ var init_uniswapwithdrawliquidityprovisionrequest = __esm(() => {
|
|
|
42021
41575
|
UniswapWithdrawLiquidityProvisionRequestPercentageForWithdrawal$.inboundSchema = UniswapWithdrawLiquidityProvisionRequestPercentageForWithdrawal$inboundSchema;
|
|
42022
41576
|
UniswapWithdrawLiquidityProvisionRequestPercentageForWithdrawal$.outboundSchema = UniswapWithdrawLiquidityProvisionRequestPercentageForWithdrawal$outboundSchema;
|
|
42023
41577
|
})(UniswapWithdrawLiquidityProvisionRequestPercentageForWithdrawal$ ||= {});
|
|
42024
|
-
UniswapWithdrawLiquidityProvisionRequest$inboundSchema =
|
|
41578
|
+
UniswapWithdrawLiquidityProvisionRequest$inboundSchema = objectType({
|
|
42025
41579
|
token_id: numberType().int(),
|
|
42026
41580
|
percentage_for_withdrawal: unionType([numberType(), stringType()]),
|
|
42027
41581
|
chain: Chain$inboundSchema,
|
|
42028
41582
|
sender: stringType()
|
|
42029
|
-
}).
|
|
41583
|
+
}).transform((v2) => {
|
|
42030
41584
|
return remap(v2, {
|
|
42031
41585
|
token_id: "tokenId",
|
|
42032
41586
|
percentage_for_withdrawal: "percentageForWithdrawal"
|
|
@@ -42036,17 +41590,12 @@ var init_uniswapwithdrawliquidityprovisionrequest = __esm(() => {
|
|
|
42036
41590
|
tokenId: numberType().int(),
|
|
42037
41591
|
percentageForWithdrawal: unionType([numberType(), stringType()]),
|
|
42038
41592
|
chain: Chain$outboundSchema,
|
|
42039
|
-
sender: stringType()
|
|
42040
|
-
additionalProperties: recordType(anyType())
|
|
41593
|
+
sender: stringType()
|
|
42041
41594
|
}).transform((v2) => {
|
|
42042
|
-
return {
|
|
42043
|
-
|
|
42044
|
-
|
|
42045
|
-
|
|
42046
|
-
percentageForWithdrawal: "percentage_for_withdrawal",
|
|
42047
|
-
additionalProperties: null
|
|
42048
|
-
})
|
|
42049
|
-
};
|
|
41595
|
+
return remap(v2, {
|
|
41596
|
+
tokenId: "token_id",
|
|
41597
|
+
percentageForWithdrawal: "percentage_for_withdrawal"
|
|
41598
|
+
});
|
|
42050
41599
|
});
|
|
42051
41600
|
((UniswapWithdrawLiquidityProvisionRequest$) => {
|
|
42052
41601
|
UniswapWithdrawLiquidityProvisionRequest$.inboundSchema = UniswapWithdrawLiquidityProvisionRequest$inboundSchema;
|
|
@@ -42058,8 +41607,6 @@ var init_uniswapwithdrawliquidityprovisionrequest = __esm(() => {
|
|
|
42058
41607
|
var UnwrapWethRequestAmount$inboundSchema, UnwrapWethRequestAmount$outboundSchema, UnwrapWethRequestAmount$, UnwrapWethRequest$inboundSchema, UnwrapWethRequest$outboundSchema, UnwrapWethRequest$;
|
|
42059
41608
|
var init_unwrapwethrequest = __esm(() => {
|
|
42060
41609
|
init_esm();
|
|
42061
|
-
init_primitives();
|
|
42062
|
-
init_schemas();
|
|
42063
41610
|
init_chain();
|
|
42064
41611
|
UnwrapWethRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
42065
41612
|
UnwrapWethRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -42067,23 +41614,15 @@ var init_unwrapwethrequest = __esm(() => {
|
|
|
42067
41614
|
UnwrapWethRequestAmount$.inboundSchema = UnwrapWethRequestAmount$inboundSchema;
|
|
42068
41615
|
UnwrapWethRequestAmount$.outboundSchema = UnwrapWethRequestAmount$outboundSchema;
|
|
42069
41616
|
})(UnwrapWethRequestAmount$ ||= {});
|
|
42070
|
-
UnwrapWethRequest$inboundSchema =
|
|
41617
|
+
UnwrapWethRequest$inboundSchema = objectType({
|
|
42071
41618
|
amount: unionType([numberType(), stringType()]),
|
|
42072
41619
|
chain: Chain$inboundSchema,
|
|
42073
41620
|
sender: stringType()
|
|
42074
|
-
})
|
|
41621
|
+
});
|
|
42075
41622
|
UnwrapWethRequest$outboundSchema = objectType({
|
|
42076
41623
|
amount: unionType([numberType(), stringType()]),
|
|
42077
41624
|
chain: Chain$outboundSchema,
|
|
42078
|
-
sender: stringType()
|
|
42079
|
-
additionalProperties: recordType(anyType())
|
|
42080
|
-
}).transform((v2) => {
|
|
42081
|
-
return {
|
|
42082
|
-
...v2.additionalProperties,
|
|
42083
|
-
...remap(v2, {
|
|
42084
|
-
additionalProperties: null
|
|
42085
|
-
})
|
|
42086
|
-
};
|
|
41625
|
+
sender: stringType()
|
|
42087
41626
|
});
|
|
42088
41627
|
((UnwrapWethRequest$) => {
|
|
42089
41628
|
UnwrapWethRequest$.inboundSchema = UnwrapWethRequest$inboundSchema;
|
|
@@ -42121,8 +41660,6 @@ var init_validationerror = __esm(() => {
|
|
|
42121
41660
|
var WrapEthRequestAmount$inboundSchema, WrapEthRequestAmount$outboundSchema, WrapEthRequestAmount$, WrapEthRequest$inboundSchema, WrapEthRequest$outboundSchema, WrapEthRequest$;
|
|
42122
41661
|
var init_wrapethrequest = __esm(() => {
|
|
42123
41662
|
init_esm();
|
|
42124
|
-
init_primitives();
|
|
42125
|
-
init_schemas();
|
|
42126
41663
|
init_chain();
|
|
42127
41664
|
WrapEthRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
42128
41665
|
WrapEthRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -42130,23 +41667,15 @@ var init_wrapethrequest = __esm(() => {
|
|
|
42130
41667
|
WrapEthRequestAmount$.inboundSchema = WrapEthRequestAmount$inboundSchema;
|
|
42131
41668
|
WrapEthRequestAmount$.outboundSchema = WrapEthRequestAmount$outboundSchema;
|
|
42132
41669
|
})(WrapEthRequestAmount$ ||= {});
|
|
42133
|
-
WrapEthRequest$inboundSchema =
|
|
41670
|
+
WrapEthRequest$inboundSchema = objectType({
|
|
42134
41671
|
amount: unionType([numberType(), stringType()]),
|
|
42135
41672
|
chain: Chain$inboundSchema,
|
|
42136
41673
|
sender: stringType()
|
|
42137
|
-
})
|
|
41674
|
+
});
|
|
42138
41675
|
WrapEthRequest$outboundSchema = objectType({
|
|
42139
41676
|
amount: unionType([numberType(), stringType()]),
|
|
42140
41677
|
chain: Chain$outboundSchema,
|
|
42141
|
-
sender: stringType()
|
|
42142
|
-
additionalProperties: recordType(anyType())
|
|
42143
|
-
}).transform((v2) => {
|
|
42144
|
-
return {
|
|
42145
|
-
...v2.additionalProperties,
|
|
42146
|
-
...remap(v2, {
|
|
42147
|
-
additionalProperties: null
|
|
42148
|
-
})
|
|
42149
|
-
};
|
|
41678
|
+
sender: stringType()
|
|
42150
41679
|
});
|
|
42151
41680
|
((WrapEthRequest$) => {
|
|
42152
41681
|
WrapEthRequest$.inboundSchema = WrapEthRequest$inboundSchema;
|
|
@@ -52881,7 +52410,7 @@ it to be traded on DeFi protocols.`,
|
|
|
52881
52410
|
function createMCPServer(deps) {
|
|
52882
52411
|
const server = new McpServer({
|
|
52883
52412
|
name: "CompassApiSDK",
|
|
52884
|
-
version: "0.
|
|
52413
|
+
version: "0.5.0"
|
|
52885
52414
|
});
|
|
52886
52415
|
const client = new CompassApiSDKCore({
|
|
52887
52416
|
apiKeyAuth: deps.apiKeyAuth,
|
|
@@ -54238,7 +53767,7 @@ var routes = an({
|
|
|
54238
53767
|
var app = He(routes, {
|
|
54239
53768
|
name: "mcp",
|
|
54240
53769
|
versionInfo: {
|
|
54241
|
-
currentVersion: "0.
|
|
53770
|
+
currentVersion: "0.5.0"
|
|
54242
53771
|
}
|
|
54243
53772
|
});
|
|
54244
53773
|
zt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -54246,5 +53775,5 @@ export {
|
|
|
54246
53775
|
app
|
|
54247
53776
|
};
|
|
54248
53777
|
|
|
54249
|
-
//# debugId=
|
|
53778
|
+
//# debugId=2E10AC24E4E4078264756E2164756E21
|
|
54250
53779
|
//# sourceMappingURL=mcp-server.js.map
|