@compass-labs/api-sdk 0.2.2 → 0.3.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/README.md +2 -2
- package/bin/mcp-server.js +183 -124
- package/bin/mcp-server.js.map +84 -86
- package/dist/commonjs/funcs/aaveV3AvgRate.js +2 -0
- package/dist/commonjs/funcs/aaveV3AvgRate.js.map +1 -1
- package/dist/commonjs/funcs/aaveV3Borrow.js +2 -0
- package/dist/commonjs/funcs/aaveV3Borrow.js.map +1 -1
- package/dist/commonjs/funcs/aaveV3HistoricalTransactions.js +2 -0
- package/dist/commonjs/funcs/aaveV3HistoricalTransactions.js.map +1 -1
- package/dist/commonjs/funcs/aaveV3LiquidityChange.js +2 -0
- package/dist/commonjs/funcs/aaveV3LiquidityChange.js.map +1 -1
- package/dist/commonjs/funcs/aaveV3Rate.js +2 -0
- package/dist/commonjs/funcs/aaveV3Rate.js.map +1 -1
- package/dist/commonjs/funcs/aaveV3Repay.js +2 -0
- package/dist/commonjs/funcs/aaveV3Repay.js.map +1 -1
- package/dist/commonjs/funcs/aaveV3ReserveOverview.js +2 -0
- package/dist/commonjs/funcs/aaveV3ReserveOverview.js.map +1 -1
- package/dist/commonjs/funcs/aaveV3StdRate.js +2 -0
- package/dist/commonjs/funcs/aaveV3StdRate.js.map +1 -1
- package/dist/commonjs/funcs/aaveV3Supply.js +2 -0
- package/dist/commonjs/funcs/aaveV3Supply.js.map +1 -1
- package/dist/commonjs/funcs/aaveV3TokenPrice.js +2 -0
- package/dist/commonjs/funcs/aaveV3TokenPrice.js.map +1 -1
- package/dist/commonjs/funcs/aaveV3UserPositionPerToken.js +2 -0
- package/dist/commonjs/funcs/aaveV3UserPositionPerToken.js.map +1 -1
- package/dist/commonjs/funcs/aaveV3UserPositionSummary.js +2 -0
- package/dist/commonjs/funcs/aaveV3UserPositionSummary.js.map +1 -1
- package/dist/commonjs/funcs/aaveV3Withdraw.js +2 -0
- package/dist/commonjs/funcs/aaveV3Withdraw.js.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.js +2 -0
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.js.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.js +2 -0
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.js.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionPositions.js +2 -0
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionPositions.js.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.js +2 -0
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.js.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamPoolPrice.js +2 -0
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamPoolPrice.js.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamSwapBuyExactly.js +2 -0
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamSwapBuyExactly.js.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamSwapSellExactly.js +2 -0
- package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamSwapSellExactly.js.map +1 -1
- package/dist/commonjs/funcs/morphoAllowance.js +2 -0
- package/dist/commonjs/funcs/morphoAllowance.js.map +1 -1
- package/dist/commonjs/funcs/morphoBorrow.js +2 -0
- package/dist/commonjs/funcs/morphoBorrow.js.map +1 -1
- package/dist/commonjs/funcs/morphoDeposit.js +2 -0
- package/dist/commonjs/funcs/morphoDeposit.js.map +1 -1
- package/dist/commonjs/funcs/morphoMarket.js +2 -0
- package/dist/commonjs/funcs/morphoMarket.js.map +1 -1
- package/dist/commonjs/funcs/morphoMarketPosition.js +2 -0
- package/dist/commonjs/funcs/morphoMarketPosition.js.map +1 -1
- package/dist/commonjs/funcs/morphoMarkets.js +2 -0
- package/dist/commonjs/funcs/morphoMarkets.js.map +1 -1
- package/dist/commonjs/funcs/morphoRepay.js +2 -0
- package/dist/commonjs/funcs/morphoRepay.js.map +1 -1
- package/dist/commonjs/funcs/morphoSupplyCollateral.js +2 -0
- package/dist/commonjs/funcs/morphoSupplyCollateral.js.map +1 -1
- package/dist/commonjs/funcs/morphoUserPosition.js +2 -0
- package/dist/commonjs/funcs/morphoUserPosition.js.map +1 -1
- package/dist/commonjs/funcs/morphoVault.js +2 -0
- package/dist/commonjs/funcs/morphoVault.js.map +1 -1
- package/dist/commonjs/funcs/morphoVaultPosition.js +2 -0
- package/dist/commonjs/funcs/morphoVaultPosition.js.map +1 -1
- package/dist/commonjs/funcs/morphoVaults.js +2 -0
- package/dist/commonjs/funcs/morphoVaults.js.map +1 -1
- package/dist/commonjs/funcs/morphoWithdraw.js +2 -0
- package/dist/commonjs/funcs/morphoWithdraw.js.map +1 -1
- package/dist/commonjs/funcs/morphoWithdrawCollateral.js +2 -0
- package/dist/commonjs/funcs/morphoWithdrawCollateral.js.map +1 -1
- package/dist/commonjs/funcs/pendleMarket.js +2 -1
- package/dist/commonjs/funcs/pendleMarket.js.map +1 -1
- package/dist/commonjs/funcs/pendleMarkets.js +2 -0
- package/dist/commonjs/funcs/pendleMarkets.js.map +1 -1
- package/dist/commonjs/funcs/pendlePosition.js +2 -0
- package/dist/commonjs/funcs/pendlePosition.js.map +1 -1
- package/dist/commonjs/funcs/pendlePositions.js +2 -0
- package/dist/commonjs/funcs/pendlePositions.js.map +1 -1
- package/dist/commonjs/funcs/skyBuy.js +2 -0
- package/dist/commonjs/funcs/skyBuy.js.map +1 -1
- package/dist/commonjs/funcs/skyDeposit.js +2 -0
- package/dist/commonjs/funcs/skyDeposit.js.map +1 -1
- package/dist/commonjs/funcs/skyPosition.js +2 -0
- package/dist/commonjs/funcs/skyPosition.js.map +1 -1
- package/dist/commonjs/funcs/skySell.js +2 -0
- package/dist/commonjs/funcs/skySell.js.map +1 -1
- package/dist/commonjs/funcs/skyWithdraw.js +2 -0
- package/dist/commonjs/funcs/skyWithdraw.js.map +1 -1
- package/dist/commonjs/funcs/smartAccountAccountBatchedUserOperations.js +2 -0
- package/dist/commonjs/funcs/smartAccountAccountBatchedUserOperations.js.map +1 -1
- package/dist/commonjs/funcs/tokenAddress.js +2 -0
- package/dist/commonjs/funcs/tokenAddress.js.map +1 -1
- package/dist/commonjs/funcs/tokenBalance.js +2 -0
- package/dist/commonjs/funcs/tokenBalance.js.map +1 -1
- package/dist/commonjs/funcs/tokenPrice.js +2 -0
- package/dist/commonjs/funcs/tokenPrice.js.map +1 -1
- package/dist/commonjs/funcs/tokenTransfer.js +2 -0
- package/dist/commonjs/funcs/tokenTransfer.js.map +1 -1
- package/dist/commonjs/funcs/transactionBatchingAaveLoop.js +2 -0
- package/dist/commonjs/funcs/transactionBatchingAaveLoop.js.map +1 -1
- package/dist/commonjs/funcs/transactionBatchingAuthorization.js +2 -0
- package/dist/commonjs/funcs/transactionBatchingAuthorization.js.map +1 -1
- package/dist/commonjs/funcs/transactionBatchingExecute.js +2 -0
- package/dist/commonjs/funcs/transactionBatchingExecute.js.map +1 -1
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionInRange.js +2 -0
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionInRange.js.map +1 -1
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionIncrease.js +2 -0
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionIncrease.js.map +1 -1
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionMint.js +2 -0
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionMint.js.map +1 -1
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionPositions.js +2 -0
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionPositions.js.map +1 -1
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionWithdraw.js +2 -0
- package/dist/commonjs/funcs/uniswapV3LiquidityProvisionWithdraw.js.map +1 -1
- package/dist/commonjs/funcs/uniswapV3PoolPrice.js +2 -0
- package/dist/commonjs/funcs/uniswapV3PoolPrice.js.map +1 -1
- package/dist/commonjs/funcs/uniswapV3QuoteBuyExactly.js +2 -0
- package/dist/commonjs/funcs/uniswapV3QuoteBuyExactly.js.map +1 -1
- package/dist/commonjs/funcs/uniswapV3QuoteSellExactly.js +2 -0
- package/dist/commonjs/funcs/uniswapV3QuoteSellExactly.js.map +1 -1
- package/dist/commonjs/funcs/uniswapV3SwapBuyExactly.js +2 -0
- package/dist/commonjs/funcs/uniswapV3SwapBuyExactly.js.map +1 -1
- package/dist/commonjs/funcs/uniswapV3SwapSellExactly.js +2 -0
- package/dist/commonjs/funcs/uniswapV3SwapSellExactly.js.map +1 -1
- package/dist/commonjs/funcs/universalAllowance.js +2 -0
- package/dist/commonjs/funcs/universalAllowance.js.map +1 -1
- package/dist/commonjs/funcs/universalAllowanceSet.d.ts +1 -1
- package/dist/commonjs/funcs/universalAllowanceSet.js +3 -1
- package/dist/commonjs/funcs/universalAllowanceSet.js.map +1 -1
- package/dist/commonjs/funcs/universalEns.js +2 -0
- package/dist/commonjs/funcs/universalEns.js.map +1 -1
- package/dist/commonjs/funcs/universalPortfolio.js +2 -0
- package/dist/commonjs/funcs/universalPortfolio.js.map +1 -1
- package/dist/commonjs/funcs/universalSupportedTokens.js +2 -0
- package/dist/commonjs/funcs/universalSupportedTokens.js.map +1 -1
- package/dist/commonjs/funcs/universalUnwrapWeth.js +2 -0
- package/dist/commonjs/funcs/universalUnwrapWeth.js.map +1 -1
- package/dist/commonjs/funcs/universalVisualizePortfolio.js +2 -0
- package/dist/commonjs/funcs/universalVisualizePortfolio.js.map +1 -1
- package/dist/commonjs/funcs/universalWrapEth.js +2 -0
- package/dist/commonjs/funcs/universalWrapEth.js.map +1 -1
- package/dist/commonjs/hooks/types.d.ts +2 -0
- package/dist/commonjs/hooks/types.d.ts.map +1 -1
- package/dist/commonjs/lib/config.d.ts +7 -3
- package/dist/commonjs/lib/config.d.ts.map +1 -1
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/lib/sdks.d.ts +1 -0
- package/dist/commonjs/lib/sdks.d.ts.map +1 -1
- package/dist/commonjs/lib/sdks.js +3 -3
- package/dist/commonjs/lib/sdks.js.map +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/mcp-server/tools/universalAllowanceSet.js +1 -1
- package/dist/commonjs/models/components/increaseallowanceparams.d.ts +29 -10
- package/dist/commonjs/models/components/increaseallowanceparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/increaseallowanceparams.js +26 -3
- package/dist/commonjs/models/components/increaseallowanceparams.js.map +1 -1
- package/dist/commonjs/models/components/increaseallowancerequest.d.ts +29 -10
- package/dist/commonjs/models/components/increaseallowancerequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/increaseallowancerequest.js +26 -3
- package/dist/commonjs/models/components/increaseallowancerequest.js.map +1 -1
- package/dist/commonjs/models/components/index.d.ts +0 -2
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +0 -2
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/multicallactiontype.d.ts +0 -3
- package/dist/commonjs/models/components/multicallactiontype.d.ts.map +1 -1
- package/dist/commonjs/models/components/multicallactiontype.js +0 -1
- package/dist/commonjs/models/components/multicallactiontype.js.map +1 -1
- package/dist/commonjs/models/components/tokentransferrequest.d.ts +11 -11
- package/dist/commonjs/models/components/tokentransferrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/tokentransferrequest.js +16 -17
- package/dist/commonjs/models/components/tokentransferrequest.js.map +1 -1
- package/dist/commonjs/models/components/useroperation.d.ts +4 -5
- package/dist/commonjs/models/components/useroperation.d.ts.map +1 -1
- package/dist/commonjs/models/components/useroperation.js +0 -5
- package/dist/commonjs/models/components/useroperation.js.map +1 -1
- package/dist/commonjs/models/operations/pendlemarket.d.ts +0 -5
- package/dist/commonjs/models/operations/pendlemarket.d.ts.map +1 -1
- package/dist/commonjs/models/operations/pendlemarket.js +0 -4
- package/dist/commonjs/models/operations/pendlemarket.js.map +1 -1
- package/dist/commonjs/sdk/universal.d.ts +1 -1
- package/dist/commonjs/sdk/universal.js +1 -1
- package/dist/esm/funcs/aaveV3AvgRate.js +2 -0
- package/dist/esm/funcs/aaveV3AvgRate.js.map +1 -1
- package/dist/esm/funcs/aaveV3Borrow.js +2 -0
- package/dist/esm/funcs/aaveV3Borrow.js.map +1 -1
- package/dist/esm/funcs/aaveV3HistoricalTransactions.js +2 -0
- package/dist/esm/funcs/aaveV3HistoricalTransactions.js.map +1 -1
- package/dist/esm/funcs/aaveV3LiquidityChange.js +2 -0
- package/dist/esm/funcs/aaveV3LiquidityChange.js.map +1 -1
- package/dist/esm/funcs/aaveV3Rate.js +2 -0
- package/dist/esm/funcs/aaveV3Rate.js.map +1 -1
- package/dist/esm/funcs/aaveV3Repay.js +2 -0
- package/dist/esm/funcs/aaveV3Repay.js.map +1 -1
- package/dist/esm/funcs/aaveV3ReserveOverview.js +2 -0
- package/dist/esm/funcs/aaveV3ReserveOverview.js.map +1 -1
- package/dist/esm/funcs/aaveV3StdRate.js +2 -0
- package/dist/esm/funcs/aaveV3StdRate.js.map +1 -1
- package/dist/esm/funcs/aaveV3Supply.js +2 -0
- package/dist/esm/funcs/aaveV3Supply.js.map +1 -1
- package/dist/esm/funcs/aaveV3TokenPrice.js +2 -0
- package/dist/esm/funcs/aaveV3TokenPrice.js.map +1 -1
- package/dist/esm/funcs/aaveV3UserPositionPerToken.js +2 -0
- package/dist/esm/funcs/aaveV3UserPositionPerToken.js.map +1 -1
- package/dist/esm/funcs/aaveV3UserPositionSummary.js +2 -0
- package/dist/esm/funcs/aaveV3UserPositionSummary.js.map +1 -1
- package/dist/esm/funcs/aaveV3Withdraw.js +2 -0
- package/dist/esm/funcs/aaveV3Withdraw.js.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.js +2 -0
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.js.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.js +2 -0
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.js.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionPositions.js +2 -0
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionPositions.js.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.js +2 -0
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.js.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamPoolPrice.js +2 -0
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamPoolPrice.js.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamSwapBuyExactly.js +2 -0
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamSwapBuyExactly.js.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamSwapSellExactly.js +2 -0
- package/dist/esm/funcs/aerodromeSlipstreamSlipstreamSwapSellExactly.js.map +1 -1
- package/dist/esm/funcs/morphoAllowance.js +2 -0
- package/dist/esm/funcs/morphoAllowance.js.map +1 -1
- package/dist/esm/funcs/morphoBorrow.js +2 -0
- package/dist/esm/funcs/morphoBorrow.js.map +1 -1
- package/dist/esm/funcs/morphoDeposit.js +2 -0
- package/dist/esm/funcs/morphoDeposit.js.map +1 -1
- package/dist/esm/funcs/morphoMarket.js +2 -0
- package/dist/esm/funcs/morphoMarket.js.map +1 -1
- package/dist/esm/funcs/morphoMarketPosition.js +2 -0
- package/dist/esm/funcs/morphoMarketPosition.js.map +1 -1
- package/dist/esm/funcs/morphoMarkets.js +2 -0
- package/dist/esm/funcs/morphoMarkets.js.map +1 -1
- package/dist/esm/funcs/morphoRepay.js +2 -0
- package/dist/esm/funcs/morphoRepay.js.map +1 -1
- package/dist/esm/funcs/morphoSupplyCollateral.js +2 -0
- package/dist/esm/funcs/morphoSupplyCollateral.js.map +1 -1
- package/dist/esm/funcs/morphoUserPosition.js +2 -0
- package/dist/esm/funcs/morphoUserPosition.js.map +1 -1
- package/dist/esm/funcs/morphoVault.js +2 -0
- package/dist/esm/funcs/morphoVault.js.map +1 -1
- package/dist/esm/funcs/morphoVaultPosition.js +2 -0
- package/dist/esm/funcs/morphoVaultPosition.js.map +1 -1
- package/dist/esm/funcs/morphoVaults.js +2 -0
- package/dist/esm/funcs/morphoVaults.js.map +1 -1
- package/dist/esm/funcs/morphoWithdraw.js +2 -0
- package/dist/esm/funcs/morphoWithdraw.js.map +1 -1
- package/dist/esm/funcs/morphoWithdrawCollateral.js +2 -0
- package/dist/esm/funcs/morphoWithdrawCollateral.js.map +1 -1
- package/dist/esm/funcs/pendleMarket.js +2 -1
- package/dist/esm/funcs/pendleMarket.js.map +1 -1
- package/dist/esm/funcs/pendleMarkets.js +2 -0
- package/dist/esm/funcs/pendleMarkets.js.map +1 -1
- package/dist/esm/funcs/pendlePosition.js +2 -0
- package/dist/esm/funcs/pendlePosition.js.map +1 -1
- package/dist/esm/funcs/pendlePositions.js +2 -0
- package/dist/esm/funcs/pendlePositions.js.map +1 -1
- package/dist/esm/funcs/skyBuy.js +2 -0
- package/dist/esm/funcs/skyBuy.js.map +1 -1
- package/dist/esm/funcs/skyDeposit.js +2 -0
- package/dist/esm/funcs/skyDeposit.js.map +1 -1
- package/dist/esm/funcs/skyPosition.js +2 -0
- package/dist/esm/funcs/skyPosition.js.map +1 -1
- package/dist/esm/funcs/skySell.js +2 -0
- package/dist/esm/funcs/skySell.js.map +1 -1
- package/dist/esm/funcs/skyWithdraw.js +2 -0
- package/dist/esm/funcs/skyWithdraw.js.map +1 -1
- package/dist/esm/funcs/smartAccountAccountBatchedUserOperations.js +2 -0
- package/dist/esm/funcs/smartAccountAccountBatchedUserOperations.js.map +1 -1
- package/dist/esm/funcs/tokenAddress.js +2 -0
- package/dist/esm/funcs/tokenAddress.js.map +1 -1
- package/dist/esm/funcs/tokenBalance.js +2 -0
- package/dist/esm/funcs/tokenBalance.js.map +1 -1
- package/dist/esm/funcs/tokenPrice.js +2 -0
- package/dist/esm/funcs/tokenPrice.js.map +1 -1
- package/dist/esm/funcs/tokenTransfer.js +2 -0
- package/dist/esm/funcs/tokenTransfer.js.map +1 -1
- package/dist/esm/funcs/transactionBatchingAaveLoop.js +2 -0
- package/dist/esm/funcs/transactionBatchingAaveLoop.js.map +1 -1
- package/dist/esm/funcs/transactionBatchingAuthorization.js +2 -0
- package/dist/esm/funcs/transactionBatchingAuthorization.js.map +1 -1
- package/dist/esm/funcs/transactionBatchingExecute.js +2 -0
- package/dist/esm/funcs/transactionBatchingExecute.js.map +1 -1
- package/dist/esm/funcs/uniswapV3LiquidityProvisionInRange.js +2 -0
- package/dist/esm/funcs/uniswapV3LiquidityProvisionInRange.js.map +1 -1
- package/dist/esm/funcs/uniswapV3LiquidityProvisionIncrease.js +2 -0
- package/dist/esm/funcs/uniswapV3LiquidityProvisionIncrease.js.map +1 -1
- package/dist/esm/funcs/uniswapV3LiquidityProvisionMint.js +2 -0
- package/dist/esm/funcs/uniswapV3LiquidityProvisionMint.js.map +1 -1
- package/dist/esm/funcs/uniswapV3LiquidityProvisionPositions.js +2 -0
- package/dist/esm/funcs/uniswapV3LiquidityProvisionPositions.js.map +1 -1
- package/dist/esm/funcs/uniswapV3LiquidityProvisionWithdraw.js +2 -0
- package/dist/esm/funcs/uniswapV3LiquidityProvisionWithdraw.js.map +1 -1
- package/dist/esm/funcs/uniswapV3PoolPrice.js +2 -0
- package/dist/esm/funcs/uniswapV3PoolPrice.js.map +1 -1
- package/dist/esm/funcs/uniswapV3QuoteBuyExactly.js +2 -0
- package/dist/esm/funcs/uniswapV3QuoteBuyExactly.js.map +1 -1
- package/dist/esm/funcs/uniswapV3QuoteSellExactly.js +2 -0
- package/dist/esm/funcs/uniswapV3QuoteSellExactly.js.map +1 -1
- package/dist/esm/funcs/uniswapV3SwapBuyExactly.js +2 -0
- package/dist/esm/funcs/uniswapV3SwapBuyExactly.js.map +1 -1
- package/dist/esm/funcs/uniswapV3SwapSellExactly.js +2 -0
- package/dist/esm/funcs/uniswapV3SwapSellExactly.js.map +1 -1
- package/dist/esm/funcs/universalAllowance.js +2 -0
- package/dist/esm/funcs/universalAllowance.js.map +1 -1
- package/dist/esm/funcs/universalAllowanceSet.d.ts +1 -1
- package/dist/esm/funcs/universalAllowanceSet.js +3 -1
- package/dist/esm/funcs/universalAllowanceSet.js.map +1 -1
- package/dist/esm/funcs/universalEns.js +2 -0
- package/dist/esm/funcs/universalEns.js.map +1 -1
- package/dist/esm/funcs/universalPortfolio.js +2 -0
- package/dist/esm/funcs/universalPortfolio.js.map +1 -1
- package/dist/esm/funcs/universalSupportedTokens.js +2 -0
- package/dist/esm/funcs/universalSupportedTokens.js.map +1 -1
- package/dist/esm/funcs/universalUnwrapWeth.js +2 -0
- package/dist/esm/funcs/universalUnwrapWeth.js.map +1 -1
- package/dist/esm/funcs/universalVisualizePortfolio.js +2 -0
- package/dist/esm/funcs/universalVisualizePortfolio.js.map +1 -1
- package/dist/esm/funcs/universalWrapEth.js +2 -0
- package/dist/esm/funcs/universalWrapEth.js.map +1 -1
- package/dist/esm/hooks/types.d.ts +2 -0
- package/dist/esm/hooks/types.d.ts.map +1 -1
- package/dist/esm/lib/config.d.ts +7 -3
- package/dist/esm/lib/config.d.ts.map +1 -1
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/lib/sdks.d.ts +1 -0
- package/dist/esm/lib/sdks.d.ts.map +1 -1
- package/dist/esm/lib/sdks.js +3 -3
- package/dist/esm/lib/sdks.js.map +1 -1
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/mcp-server/tools/universalAllowanceSet.js +1 -1
- package/dist/esm/models/components/increaseallowanceparams.d.ts +29 -10
- package/dist/esm/models/components/increaseallowanceparams.d.ts.map +1 -1
- package/dist/esm/models/components/increaseallowanceparams.js +23 -2
- package/dist/esm/models/components/increaseallowanceparams.js.map +1 -1
- package/dist/esm/models/components/increaseallowancerequest.d.ts +29 -10
- package/dist/esm/models/components/increaseallowancerequest.d.ts.map +1 -1
- package/dist/esm/models/components/increaseallowancerequest.js +23 -2
- package/dist/esm/models/components/increaseallowancerequest.js.map +1 -1
- package/dist/esm/models/components/index.d.ts +0 -2
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +0 -2
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/multicallactiontype.d.ts +0 -3
- package/dist/esm/models/components/multicallactiontype.d.ts.map +1 -1
- package/dist/esm/models/components/multicallactiontype.js +0 -1
- package/dist/esm/models/components/multicallactiontype.js.map +1 -1
- package/dist/esm/models/components/tokentransferrequest.d.ts +11 -11
- package/dist/esm/models/components/tokentransferrequest.d.ts.map +1 -1
- package/dist/esm/models/components/tokentransferrequest.js +13 -14
- package/dist/esm/models/components/tokentransferrequest.js.map +1 -1
- package/dist/esm/models/components/useroperation.d.ts +4 -5
- package/dist/esm/models/components/useroperation.d.ts.map +1 -1
- package/dist/esm/models/components/useroperation.js +0 -5
- package/dist/esm/models/components/useroperation.js.map +1 -1
- package/dist/esm/models/operations/pendlemarket.d.ts +0 -5
- package/dist/esm/models/operations/pendlemarket.d.ts.map +1 -1
- package/dist/esm/models/operations/pendlemarket.js +0 -4
- package/dist/esm/models/operations/pendlemarket.js.map +1 -1
- package/dist/esm/sdk/universal.d.ts +1 -1
- package/dist/esm/sdk/universal.js +1 -1
- package/docs/sdks/pendle/README.md +0 -2
- package/docs/sdks/universal/README.md +3 -3
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/aaveV3AvgRate.ts +2 -0
- package/src/funcs/aaveV3Borrow.ts +2 -0
- package/src/funcs/aaveV3HistoricalTransactions.ts +2 -0
- package/src/funcs/aaveV3LiquidityChange.ts +2 -0
- package/src/funcs/aaveV3Rate.ts +2 -0
- package/src/funcs/aaveV3Repay.ts +2 -0
- package/src/funcs/aaveV3ReserveOverview.ts +2 -0
- package/src/funcs/aaveV3StdRate.ts +2 -0
- package/src/funcs/aaveV3Supply.ts +2 -0
- package/src/funcs/aaveV3TokenPrice.ts +2 -0
- package/src/funcs/aaveV3UserPositionPerToken.ts +2 -0
- package/src/funcs/aaveV3UserPositionSummary.ts +2 -0
- package/src/funcs/aaveV3Withdraw.ts +2 -0
- package/src/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.ts +2 -0
- package/src/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.ts +2 -0
- package/src/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionPositions.ts +2 -0
- package/src/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.ts +2 -0
- package/src/funcs/aerodromeSlipstreamSlipstreamPoolPrice.ts +2 -0
- package/src/funcs/aerodromeSlipstreamSlipstreamSwapBuyExactly.ts +2 -0
- package/src/funcs/aerodromeSlipstreamSlipstreamSwapSellExactly.ts +2 -0
- package/src/funcs/morphoAllowance.ts +2 -0
- package/src/funcs/morphoBorrow.ts +2 -0
- package/src/funcs/morphoDeposit.ts +2 -0
- package/src/funcs/morphoMarket.ts +2 -0
- package/src/funcs/morphoMarketPosition.ts +2 -0
- package/src/funcs/morphoMarkets.ts +2 -0
- package/src/funcs/morphoRepay.ts +2 -0
- package/src/funcs/morphoSupplyCollateral.ts +2 -0
- package/src/funcs/morphoUserPosition.ts +2 -0
- package/src/funcs/morphoVault.ts +2 -0
- package/src/funcs/morphoVaultPosition.ts +2 -0
- package/src/funcs/morphoVaults.ts +2 -0
- package/src/funcs/morphoWithdraw.ts +2 -0
- package/src/funcs/morphoWithdrawCollateral.ts +2 -0
- package/src/funcs/pendleMarket.ts +2 -1
- package/src/funcs/pendleMarkets.ts +2 -0
- package/src/funcs/pendlePosition.ts +2 -0
- package/src/funcs/pendlePositions.ts +2 -0
- package/src/funcs/skyBuy.ts +2 -0
- package/src/funcs/skyDeposit.ts +2 -0
- package/src/funcs/skyPosition.ts +2 -0
- package/src/funcs/skySell.ts +2 -0
- package/src/funcs/skyWithdraw.ts +2 -0
- package/src/funcs/smartAccountAccountBatchedUserOperations.ts +2 -0
- package/src/funcs/tokenAddress.ts +2 -0
- package/src/funcs/tokenBalance.ts +2 -0
- package/src/funcs/tokenPrice.ts +2 -0
- package/src/funcs/tokenTransfer.ts +2 -0
- package/src/funcs/transactionBatchingAaveLoop.ts +2 -0
- package/src/funcs/transactionBatchingAuthorization.ts +2 -0
- package/src/funcs/transactionBatchingExecute.ts +2 -0
- package/src/funcs/uniswapV3LiquidityProvisionInRange.ts +2 -0
- package/src/funcs/uniswapV3LiquidityProvisionIncrease.ts +2 -0
- package/src/funcs/uniswapV3LiquidityProvisionMint.ts +2 -0
- package/src/funcs/uniswapV3LiquidityProvisionPositions.ts +2 -0
- package/src/funcs/uniswapV3LiquidityProvisionWithdraw.ts +2 -0
- package/src/funcs/uniswapV3PoolPrice.ts +2 -0
- package/src/funcs/uniswapV3QuoteBuyExactly.ts +2 -0
- package/src/funcs/uniswapV3QuoteSellExactly.ts +2 -0
- package/src/funcs/uniswapV3SwapBuyExactly.ts +2 -0
- package/src/funcs/uniswapV3SwapSellExactly.ts +2 -0
- package/src/funcs/universalAllowance.ts +2 -0
- package/src/funcs/universalAllowanceSet.ts +3 -1
- package/src/funcs/universalEns.ts +2 -0
- package/src/funcs/universalPortfolio.ts +2 -0
- package/src/funcs/universalSupportedTokens.ts +2 -0
- package/src/funcs/universalUnwrapWeth.ts +2 -0
- package/src/funcs/universalVisualizePortfolio.ts +2 -0
- package/src/funcs/universalWrapEth.ts +2 -0
- package/src/hooks/types.ts +2 -0
- package/src/lib/config.ts +7 -3
- package/src/lib/sdks.ts +10 -4
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/universalAllowanceSet.ts +1 -1
- package/src/models/components/increaseallowanceparams.ts +62 -12
- package/src/models/components/increaseallowancerequest.ts +62 -12
- package/src/models/components/index.ts +0 -2
- package/src/models/components/multicallactiontype.ts +0 -1
- package/src/models/components/tokentransferrequest.ts +27 -20
- package/src/models/components/useroperation.ts +0 -14
- package/src/models/operations/pendlemarket.ts +0 -11
- package/src/sdk/universal.ts +1 -1
- package/dist/commonjs/models/components/contractname.d.ts +0 -117
- package/dist/commonjs/models/components/contractname.d.ts.map +0 -1
- package/dist/commonjs/models/components/contractname.js +0 -92
- package/dist/commonjs/models/components/contractname.js.map +0 -1
- package/dist/commonjs/models/components/increaseallowanceanyparams.d.ts +0 -80
- package/dist/commonjs/models/components/increaseallowanceanyparams.d.ts.map +0 -1
- package/dist/commonjs/models/components/increaseallowanceanyparams.js +0 -107
- package/dist/commonjs/models/components/increaseallowanceanyparams.js.map +0 -1
- package/dist/esm/models/components/contractname.d.ts +0 -117
- package/dist/esm/models/components/contractname.d.ts.map +0 -1
- package/dist/esm/models/components/contractname.js +0 -56
- package/dist/esm/models/components/contractname.js.map +0 -1
- package/dist/esm/models/components/increaseallowanceanyparams.d.ts +0 -80
- package/dist/esm/models/components/increaseallowanceanyparams.d.ts.map +0 -1
- package/dist/esm/models/components/increaseallowanceanyparams.js +0 -67
- package/dist/esm/models/components/increaseallowanceanyparams.js.map +0 -1
- package/src/models/components/contractname.ts +0 -71
- package/src/models/components/increaseallowanceanyparams.ts +0 -169
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.
|
|
34209
|
-
genVersion: "2.
|
|
34210
|
-
userAgent: "speakeasy-sdk/typescript 0.
|
|
34208
|
+
sdkVersion: "0.3.0",
|
|
34209
|
+
genVersion: "2.616.1",
|
|
34210
|
+
userAgent: "speakeasy-sdk/typescript 0.3.0 2.616.1 0.0.1 @compass-labs/api-sdk"
|
|
34211
34211
|
};
|
|
34212
34212
|
});
|
|
34213
34213
|
|
|
@@ -34717,7 +34717,6 @@ class ClientSDK {
|
|
|
34717
34717
|
} else {
|
|
34718
34718
|
this.#hooks = new SDKHooks;
|
|
34719
34719
|
}
|
|
34720
|
-
this._options = { ...options, hooks: this.#hooks };
|
|
34721
34720
|
const url = serverURLFromOptions(options);
|
|
34722
34721
|
if (url) {
|
|
34723
34722
|
url.pathname = url.pathname.replace(/\/+$/, "") + "/";
|
|
@@ -34728,7 +34727,8 @@ class ClientSDK {
|
|
|
34728
34727
|
});
|
|
34729
34728
|
this._baseURL = baseURL;
|
|
34730
34729
|
this.#httpClient = client;
|
|
34731
|
-
this
|
|
34730
|
+
this._options = { ...options, hooks: this.#hooks };
|
|
34731
|
+
this.#logger = this._options.debugLogger;
|
|
34732
34732
|
}
|
|
34733
34733
|
_createRequest(context, conf, options) {
|
|
34734
34734
|
const { method, path, query, headers: opHeaders, security } = conf;
|
|
@@ -34779,7 +34779,7 @@ class ClientSDK {
|
|
|
34779
34779
|
headers.set(k2, v2);
|
|
34780
34780
|
}
|
|
34781
34781
|
if (!isBrowserLike) {
|
|
34782
|
-
headers.set(conf.uaHeader ?? "user-agent", SDK_METADATA.userAgent);
|
|
34782
|
+
headers.set(conf.uaHeader ?? "user-agent", conf.userAgent ?? SDK_METADATA.userAgent);
|
|
34783
34783
|
}
|
|
34784
34784
|
const fetchOptions = {
|
|
34785
34785
|
...options?.fetchOptions,
|
|
@@ -37491,86 +37491,8 @@ var init_allowanceinforesponse = __esm(() => {
|
|
|
37491
37491
|
})(AllowanceInfoResponse$ ||= {});
|
|
37492
37492
|
});
|
|
37493
37493
|
|
|
37494
|
-
// src/models/components/contractname.ts
|
|
37495
|
-
var ContractName, ContractName$inboundSchema, ContractName$outboundSchema, ContractName$;
|
|
37496
|
-
var init_contractname = __esm(() => {
|
|
37497
|
-
init_esm();
|
|
37498
|
-
ContractName = {
|
|
37499
|
-
AaveV3Pool: "AaveV3Pool",
|
|
37500
|
-
AaveV3Oracle: "AaveV3Oracle",
|
|
37501
|
-
AaveV3ProtocolDataProvider: "AaveV3ProtocolDataProvider",
|
|
37502
|
-
AerodromeBasicFactory: "AerodromeBasicFactory",
|
|
37503
|
-
AerodromeSlipstreamFactory: "AerodromeSlipstreamFactory",
|
|
37504
|
-
AerodromeBasicRouter: "AerodromeBasicRouter",
|
|
37505
|
-
AerodromeSlipstreamRouter: "AerodromeSlipstreamRouter",
|
|
37506
|
-
AerodromeBasicPool: "AerodromeBasicPool",
|
|
37507
|
-
AerodromeSlipstreamPool: "AerodromeSlipstreamPool",
|
|
37508
|
-
AerodromeSlipstreamNonfungiblePositionManager: "AerodromeSlipstreamNonfungiblePositionManager",
|
|
37509
|
-
UniswapV3Pool: "UniswapV3Pool",
|
|
37510
|
-
UniswapV3Router: "UniswapV3Router",
|
|
37511
|
-
UniswapV3Factory: "UniswapV3Factory",
|
|
37512
|
-
UniswapV3NFTPositionManager: "UniswapV3NFTPositionManager",
|
|
37513
|
-
UniswapV3Quoter: "UniswapV3Quoter",
|
|
37514
|
-
ChainlinkEACAggregatorProxy: "ChainlinkEACAggregatorProxy",
|
|
37515
|
-
Morpho: "Morpho",
|
|
37516
|
-
MorphoVault: "MorphoVault",
|
|
37517
|
-
MorphoOracle: "MorphoOracle",
|
|
37518
|
-
SkyDaiUsdsConverter: "SkyDaiUsdsConverter",
|
|
37519
|
-
SkyUsdcUsdsConverter: "SkyUsdcUsdsConverter",
|
|
37520
|
-
SkyUsdsVault: "SkyUsdsVault",
|
|
37521
|
-
PendleRouter: "PendleRouter",
|
|
37522
|
-
PendleMarket: "PendleMarket",
|
|
37523
|
-
PendleSy: "PendleSy",
|
|
37524
|
-
PendleYt: "PendleYt",
|
|
37525
|
-
Multicall: "Multicall"
|
|
37526
|
-
};
|
|
37527
|
-
ContractName$inboundSchema = nativeEnumType(ContractName);
|
|
37528
|
-
ContractName$outboundSchema = ContractName$inboundSchema;
|
|
37529
|
-
((ContractName$) => {
|
|
37530
|
-
ContractName$.inboundSchema = ContractName$inboundSchema;
|
|
37531
|
-
ContractName$.outboundSchema = ContractName$outboundSchema;
|
|
37532
|
-
})(ContractName$ ||= {});
|
|
37533
|
-
});
|
|
37534
|
-
|
|
37535
|
-
// src/models/components/increaseallowanceanyparams.ts
|
|
37536
|
-
var IncreaseAllowanceAnyParamsAmount$inboundSchema, IncreaseAllowanceAnyParamsAmount$outboundSchema, IncreaseAllowanceAnyParamsAmount$, IncreaseAllowanceAnyParams$inboundSchema, IncreaseAllowanceAnyParams$outboundSchema, IncreaseAllowanceAnyParams$;
|
|
37537
|
-
var init_increaseallowanceanyparams = __esm(() => {
|
|
37538
|
-
init_esm();
|
|
37539
|
-
init_primitives();
|
|
37540
|
-
init_contractname();
|
|
37541
|
-
init_tokenenum();
|
|
37542
|
-
IncreaseAllowanceAnyParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
37543
|
-
IncreaseAllowanceAnyParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
37544
|
-
((IncreaseAllowanceAnyParamsAmount$) => {
|
|
37545
|
-
IncreaseAllowanceAnyParamsAmount$.inboundSchema = IncreaseAllowanceAnyParamsAmount$inboundSchema;
|
|
37546
|
-
IncreaseAllowanceAnyParamsAmount$.outboundSchema = IncreaseAllowanceAnyParamsAmount$outboundSchema;
|
|
37547
|
-
})(IncreaseAllowanceAnyParamsAmount$ ||= {});
|
|
37548
|
-
IncreaseAllowanceAnyParams$inboundSchema = objectType({
|
|
37549
|
-
token: TokenEnum$inboundSchema,
|
|
37550
|
-
contract_name: ContractName$inboundSchema,
|
|
37551
|
-
amount: unionType([numberType(), stringType()])
|
|
37552
|
-
}).transform((v2) => {
|
|
37553
|
-
return remap(v2, {
|
|
37554
|
-
contract_name: "contractName"
|
|
37555
|
-
});
|
|
37556
|
-
});
|
|
37557
|
-
IncreaseAllowanceAnyParams$outboundSchema = objectType({
|
|
37558
|
-
token: TokenEnum$outboundSchema,
|
|
37559
|
-
contractName: ContractName$outboundSchema,
|
|
37560
|
-
amount: unionType([numberType(), stringType()])
|
|
37561
|
-
}).transform((v2) => {
|
|
37562
|
-
return remap(v2, {
|
|
37563
|
-
contractName: "contract_name"
|
|
37564
|
-
});
|
|
37565
|
-
});
|
|
37566
|
-
((IncreaseAllowanceAnyParams$) => {
|
|
37567
|
-
IncreaseAllowanceAnyParams$.inboundSchema = IncreaseAllowanceAnyParams$inboundSchema;
|
|
37568
|
-
IncreaseAllowanceAnyParams$.outboundSchema = IncreaseAllowanceAnyParams$outboundSchema;
|
|
37569
|
-
})(IncreaseAllowanceAnyParams$ ||= {});
|
|
37570
|
-
});
|
|
37571
|
-
|
|
37572
37494
|
// src/models/components/increaseallowanceparams.ts
|
|
37573
|
-
var IncreaseAllowanceParamsContractName, IncreaseAllowanceParamsContractName$inboundSchema, IncreaseAllowanceParamsContractName$outboundSchema, IncreaseAllowanceParamsContractName$, IncreaseAllowanceParamsAmount$inboundSchema, IncreaseAllowanceParamsAmount$outboundSchema, IncreaseAllowanceParamsAmount$, IncreaseAllowanceParams$inboundSchema, IncreaseAllowanceParams$outboundSchema, IncreaseAllowanceParams$;
|
|
37495
|
+
var IncreaseAllowanceParamsContractName, IncreaseAllowanceParamsToken$inboundSchema, IncreaseAllowanceParamsToken$outboundSchema, IncreaseAllowanceParamsToken$, IncreaseAllowanceParamsContractName$inboundSchema, IncreaseAllowanceParamsContractName$outboundSchema, IncreaseAllowanceParamsContractName$, IncreaseAllowanceParamsAmount$inboundSchema, IncreaseAllowanceParamsAmount$outboundSchema, IncreaseAllowanceParamsAmount$, IncreaseAllowanceParams$inboundSchema, IncreaseAllowanceParams$outboundSchema, IncreaseAllowanceParams$;
|
|
37574
37496
|
var init_increaseallowanceparams = __esm(() => {
|
|
37575
37497
|
init_esm();
|
|
37576
37498
|
init_primitives();
|
|
@@ -37588,6 +37510,12 @@ var init_increaseallowanceparams = __esm(() => {
|
|
|
37588
37510
|
SkyUsdsVault: "SkyUsdsVault",
|
|
37589
37511
|
PendleRouter: "PendleRouter"
|
|
37590
37512
|
};
|
|
37513
|
+
IncreaseAllowanceParamsToken$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
37514
|
+
IncreaseAllowanceParamsToken$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
|
|
37515
|
+
((IncreaseAllowanceParamsToken$) => {
|
|
37516
|
+
IncreaseAllowanceParamsToken$.inboundSchema = IncreaseAllowanceParamsToken$inboundSchema;
|
|
37517
|
+
IncreaseAllowanceParamsToken$.outboundSchema = IncreaseAllowanceParamsToken$outboundSchema;
|
|
37518
|
+
})(IncreaseAllowanceParamsToken$ ||= {});
|
|
37591
37519
|
IncreaseAllowanceParamsContractName$inboundSchema = nativeEnumType(IncreaseAllowanceParamsContractName);
|
|
37592
37520
|
IncreaseAllowanceParamsContractName$outboundSchema = IncreaseAllowanceParamsContractName$inboundSchema;
|
|
37593
37521
|
((IncreaseAllowanceParamsContractName$) => {
|
|
@@ -37601,7 +37529,7 @@ var init_increaseallowanceparams = __esm(() => {
|
|
|
37601
37529
|
IncreaseAllowanceParamsAmount$.outboundSchema = IncreaseAllowanceParamsAmount$outboundSchema;
|
|
37602
37530
|
})(IncreaseAllowanceParamsAmount$ ||= {});
|
|
37603
37531
|
IncreaseAllowanceParams$inboundSchema = objectType({
|
|
37604
|
-
token: TokenEnum$inboundSchema,
|
|
37532
|
+
token: unionType([TokenEnum$inboundSchema, stringType()]),
|
|
37605
37533
|
contract_name: IncreaseAllowanceParamsContractName$inboundSchema,
|
|
37606
37534
|
amount: unionType([numberType(), stringType()])
|
|
37607
37535
|
}).transform((v2) => {
|
|
@@ -37610,7 +37538,7 @@ var init_increaseallowanceparams = __esm(() => {
|
|
|
37610
37538
|
});
|
|
37611
37539
|
});
|
|
37612
37540
|
IncreaseAllowanceParams$outboundSchema = objectType({
|
|
37613
|
-
token: TokenEnum$outboundSchema,
|
|
37541
|
+
token: unionType([TokenEnum$outboundSchema, stringType()]),
|
|
37614
37542
|
contractName: IncreaseAllowanceParamsContractName$outboundSchema,
|
|
37615
37543
|
amount: unionType([numberType(), stringType()])
|
|
37616
37544
|
}).transform((v2) => {
|
|
@@ -37892,7 +37820,6 @@ var init_multicallactiontype = __esm(() => {
|
|
|
37892
37820
|
AerodromeSlipstreamSellExactly: "AERODROME_SLIPSTREAM_SELL_EXACTLY",
|
|
37893
37821
|
AerodromeSlipstreamWithdrawLiquidity: "AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY",
|
|
37894
37822
|
AllowanceIncrease: "ALLOWANCE_INCREASE",
|
|
37895
|
-
AllowanceIncreaseAny: "ALLOWANCE_INCREASE_ANY",
|
|
37896
37823
|
MorphoBorrow: "MORPHO_BORROW",
|
|
37897
37824
|
MorphoDeposit: "MORPHO_DEPOSIT",
|
|
37898
37825
|
MorphoRepay: "MORPHO_REPAY",
|
|
@@ -38429,7 +38356,6 @@ var init_useroperation = __esm(() => {
|
|
|
38429
38356
|
init_aerodromeslipstreammintliquidityprovisionparams();
|
|
38430
38357
|
init_aerodromeslipstreamsellexactlyparams();
|
|
38431
38358
|
init_aerodromeslipstreamwithdrawliquidityprovisionparams();
|
|
38432
|
-
init_increaseallowanceanyparams();
|
|
38433
38359
|
init_increaseallowanceparams();
|
|
38434
38360
|
init_morphoborrowparams();
|
|
38435
38361
|
init_morphodepositparams();
|
|
@@ -38467,7 +38393,6 @@ var init_useroperation = __esm(() => {
|
|
|
38467
38393
|
MorphoWithdrawParams$inboundSchema,
|
|
38468
38394
|
TokenTransferErc20Params$inboundSchema,
|
|
38469
38395
|
IncreaseAllowanceParams$inboundSchema,
|
|
38470
|
-
IncreaseAllowanceAnyParams$inboundSchema,
|
|
38471
38396
|
AaveBorrowParams$inboundSchema,
|
|
38472
38397
|
AaveRepayParams$inboundSchema,
|
|
38473
38398
|
MorphoBorrowParams$inboundSchema,
|
|
@@ -38499,7 +38424,6 @@ var init_useroperation = __esm(() => {
|
|
|
38499
38424
|
MorphoWithdrawParams$outboundSchema,
|
|
38500
38425
|
TokenTransferErc20Params$outboundSchema,
|
|
38501
38426
|
IncreaseAllowanceParams$outboundSchema,
|
|
38502
|
-
IncreaseAllowanceAnyParams$outboundSchema,
|
|
38503
38427
|
AaveBorrowParams$outboundSchema,
|
|
38504
38428
|
AaveRepayParams$outboundSchema,
|
|
38505
38429
|
MorphoBorrowParams$outboundSchema,
|
|
@@ -38537,7 +38461,6 @@ var init_useroperation = __esm(() => {
|
|
|
38537
38461
|
MorphoWithdrawParams$inboundSchema,
|
|
38538
38462
|
TokenTransferErc20Params$inboundSchema,
|
|
38539
38463
|
IncreaseAllowanceParams$inboundSchema,
|
|
38540
|
-
IncreaseAllowanceAnyParams$inboundSchema,
|
|
38541
38464
|
AaveBorrowParams$inboundSchema,
|
|
38542
38465
|
AaveRepayParams$inboundSchema,
|
|
38543
38466
|
MorphoBorrowParams$inboundSchema,
|
|
@@ -38576,7 +38499,6 @@ var init_useroperation = __esm(() => {
|
|
|
38576
38499
|
MorphoWithdrawParams$outboundSchema,
|
|
38577
38500
|
TokenTransferErc20Params$outboundSchema,
|
|
38578
38501
|
IncreaseAllowanceParams$outboundSchema,
|
|
38579
|
-
IncreaseAllowanceAnyParams$outboundSchema,
|
|
38580
38502
|
AaveBorrowParams$outboundSchema,
|
|
38581
38503
|
AaveRepayParams$outboundSchema,
|
|
38582
38504
|
MorphoBorrowParams$outboundSchema,
|
|
@@ -39243,7 +39165,7 @@ var init_image = __esm(() => {
|
|
|
39243
39165
|
});
|
|
39244
39166
|
|
|
39245
39167
|
// src/models/components/increaseallowancerequest.ts
|
|
39246
|
-
var IncreaseAllowanceRequestContractName, IncreaseAllowanceRequestContractName$inboundSchema, IncreaseAllowanceRequestContractName$outboundSchema, IncreaseAllowanceRequestContractName$, IncreaseAllowanceRequestAmount$inboundSchema, IncreaseAllowanceRequestAmount$outboundSchema, IncreaseAllowanceRequestAmount$, IncreaseAllowanceRequest$inboundSchema, IncreaseAllowanceRequest$outboundSchema, IncreaseAllowanceRequest$;
|
|
39168
|
+
var IncreaseAllowanceRequestContractName, IncreaseAllowanceRequestToken$inboundSchema, IncreaseAllowanceRequestToken$outboundSchema, IncreaseAllowanceRequestToken$, IncreaseAllowanceRequestContractName$inboundSchema, IncreaseAllowanceRequestContractName$outboundSchema, IncreaseAllowanceRequestContractName$, IncreaseAllowanceRequestAmount$inboundSchema, IncreaseAllowanceRequestAmount$outboundSchema, IncreaseAllowanceRequestAmount$, IncreaseAllowanceRequest$inboundSchema, IncreaseAllowanceRequest$outboundSchema, IncreaseAllowanceRequest$;
|
|
39247
39169
|
var init_increaseallowancerequest = __esm(() => {
|
|
39248
39170
|
init_esm();
|
|
39249
39171
|
init_primitives();
|
|
@@ -39262,6 +39184,12 @@ var init_increaseallowancerequest = __esm(() => {
|
|
|
39262
39184
|
SkyUsdsVault: "SkyUsdsVault",
|
|
39263
39185
|
PendleRouter: "PendleRouter"
|
|
39264
39186
|
};
|
|
39187
|
+
IncreaseAllowanceRequestToken$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
39188
|
+
IncreaseAllowanceRequestToken$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
|
|
39189
|
+
((IncreaseAllowanceRequestToken$) => {
|
|
39190
|
+
IncreaseAllowanceRequestToken$.inboundSchema = IncreaseAllowanceRequestToken$inboundSchema;
|
|
39191
|
+
IncreaseAllowanceRequestToken$.outboundSchema = IncreaseAllowanceRequestToken$outboundSchema;
|
|
39192
|
+
})(IncreaseAllowanceRequestToken$ ||= {});
|
|
39265
39193
|
IncreaseAllowanceRequestContractName$inboundSchema = nativeEnumType(IncreaseAllowanceRequestContractName);
|
|
39266
39194
|
IncreaseAllowanceRequestContractName$outboundSchema = IncreaseAllowanceRequestContractName$inboundSchema;
|
|
39267
39195
|
((IncreaseAllowanceRequestContractName$) => {
|
|
@@ -39275,7 +39203,7 @@ var init_increaseallowancerequest = __esm(() => {
|
|
|
39275
39203
|
IncreaseAllowanceRequestAmount$.outboundSchema = IncreaseAllowanceRequestAmount$outboundSchema;
|
|
39276
39204
|
})(IncreaseAllowanceRequestAmount$ ||= {});
|
|
39277
39205
|
IncreaseAllowanceRequest$inboundSchema = objectType({
|
|
39278
|
-
token: TokenEnum$inboundSchema,
|
|
39206
|
+
token: unionType([TokenEnum$inboundSchema, stringType()]),
|
|
39279
39207
|
contract_name: IncreaseAllowanceRequestContractName$inboundSchema,
|
|
39280
39208
|
amount: unionType([numberType(), stringType()]),
|
|
39281
39209
|
chain: Chain$inboundSchema,
|
|
@@ -39286,7 +39214,7 @@ var init_increaseallowancerequest = __esm(() => {
|
|
|
39286
39214
|
});
|
|
39287
39215
|
});
|
|
39288
39216
|
IncreaseAllowanceRequest$outboundSchema = objectType({
|
|
39289
|
-
token: TokenEnum$outboundSchema,
|
|
39217
|
+
token: unionType([TokenEnum$outboundSchema, stringType()]),
|
|
39290
39218
|
contractName: IncreaseAllowanceRequestContractName$outboundSchema,
|
|
39291
39219
|
amount: unionType([numberType(), stringType()]),
|
|
39292
39220
|
chain: Chain$outboundSchema,
|
|
@@ -40747,7 +40675,7 @@ var init_tokenpriceresponse = __esm(() => {
|
|
|
40747
40675
|
});
|
|
40748
40676
|
|
|
40749
40677
|
// src/models/components/tokentransferrequest.ts
|
|
40750
|
-
var TokenTransferRequestAmount$inboundSchema, TokenTransferRequestAmount$outboundSchema, TokenTransferRequestAmount$,
|
|
40678
|
+
var TokenTransferRequestAmount$inboundSchema, TokenTransferRequestAmount$outboundSchema, TokenTransferRequestAmount$, TokenTransferRequestToken$inboundSchema, TokenTransferRequestToken$outboundSchema, TokenTransferRequestToken$, TokenTransferRequest$inboundSchema, TokenTransferRequest$outboundSchema, TokenTransferRequest$;
|
|
40751
40679
|
var init_tokentransferrequest = __esm(() => {
|
|
40752
40680
|
init_esm();
|
|
40753
40681
|
init_chain();
|
|
@@ -40758,12 +40686,12 @@ var init_tokentransferrequest = __esm(() => {
|
|
|
40758
40686
|
TokenTransferRequestAmount$.inboundSchema = TokenTransferRequestAmount$inboundSchema;
|
|
40759
40687
|
TokenTransferRequestAmount$.outboundSchema = TokenTransferRequestAmount$outboundSchema;
|
|
40760
40688
|
})(TokenTransferRequestAmount$ ||= {});
|
|
40761
|
-
|
|
40762
|
-
|
|
40763
|
-
((
|
|
40764
|
-
|
|
40765
|
-
|
|
40766
|
-
})(
|
|
40689
|
+
TokenTransferRequestToken$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
40690
|
+
TokenTransferRequestToken$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
|
|
40691
|
+
((TokenTransferRequestToken$) => {
|
|
40692
|
+
TokenTransferRequestToken$.inboundSchema = TokenTransferRequestToken$inboundSchema;
|
|
40693
|
+
TokenTransferRequestToken$.outboundSchema = TokenTransferRequestToken$outboundSchema;
|
|
40694
|
+
})(TokenTransferRequestToken$ ||= {});
|
|
40767
40695
|
TokenTransferRequest$inboundSchema = objectType({
|
|
40768
40696
|
amount: unionType([numberType(), stringType()]),
|
|
40769
40697
|
token: unionType([TokenEnum$inboundSchema, stringType()]),
|
|
@@ -41501,14 +41429,12 @@ var init_components = __esm(() => {
|
|
|
41501
41429
|
init_compassapibackendmodelsmorphoreadresponsegetvaultsvaultstate();
|
|
41502
41430
|
init_compassapibackendmodelsmorphoreadresponsegetvaultvaultstate();
|
|
41503
41431
|
init_compassapibackendmodelspendlereadresponsepositionstokenbalance();
|
|
41504
|
-
init_contractname();
|
|
41505
41432
|
init_curator();
|
|
41506
41433
|
init_details();
|
|
41507
41434
|
init_ensnameinforesponse();
|
|
41508
41435
|
init_erc20data();
|
|
41509
41436
|
init_feeenum();
|
|
41510
41437
|
init_image();
|
|
41511
|
-
init_increaseallowanceanyparams();
|
|
41512
41438
|
init_increaseallowanceparams();
|
|
41513
41439
|
init_increaseallowancerequest();
|
|
41514
41440
|
init_interestratemode();
|
|
@@ -42512,7 +42438,7 @@ var init_aerodromeslipstreampoolprice = __esm(() => {
|
|
|
42512
42438
|
});
|
|
42513
42439
|
|
|
42514
42440
|
// src/models/operations/genericallowance.ts
|
|
42515
|
-
var GenericAllowanceChain, GenericAllowanceToken,
|
|
42441
|
+
var GenericAllowanceChain, GenericAllowanceToken, ContractName, GenericAllowanceChain$inboundSchema, GenericAllowanceChain$outboundSchema, GenericAllowanceChain$, GenericAllowanceToken$inboundSchema, GenericAllowanceToken$outboundSchema, GenericAllowanceToken$, ContractName$inboundSchema, ContractName$outboundSchema, ContractName$, GenericAllowanceRequest$inboundSchema, GenericAllowanceRequest$outboundSchema, GenericAllowanceRequest$;
|
|
42516
42442
|
var init_genericallowance = __esm(() => {
|
|
42517
42443
|
init_esm();
|
|
42518
42444
|
init_primitives();
|
|
@@ -42567,7 +42493,7 @@ var init_genericallowance = __esm(() => {
|
|
|
42567
42493
|
Eur: "EUR",
|
|
42568
42494
|
Virtual: "VIRTUAL"
|
|
42569
42495
|
};
|
|
42570
|
-
|
|
42496
|
+
ContractName = {
|
|
42571
42497
|
AaveV3Pool: "AaveV3Pool",
|
|
42572
42498
|
AerodromeBasicRouter: "AerodromeBasicRouter",
|
|
42573
42499
|
AerodromeSlipstreamRouter: "AerodromeSlipstreamRouter",
|
|
@@ -42592,18 +42518,18 @@ var init_genericallowance = __esm(() => {
|
|
|
42592
42518
|
GenericAllowanceToken$.inboundSchema = GenericAllowanceToken$inboundSchema;
|
|
42593
42519
|
GenericAllowanceToken$.outboundSchema = GenericAllowanceToken$outboundSchema;
|
|
42594
42520
|
})(GenericAllowanceToken$ ||= {});
|
|
42595
|
-
ContractName$
|
|
42596
|
-
ContractName$
|
|
42521
|
+
ContractName$inboundSchema = nativeEnumType(ContractName);
|
|
42522
|
+
ContractName$outboundSchema = ContractName$inboundSchema;
|
|
42597
42523
|
((ContractName$) => {
|
|
42598
|
-
ContractName$.inboundSchema = ContractName$
|
|
42599
|
-
ContractName$.outboundSchema = ContractName$
|
|
42600
|
-
})(ContractName$
|
|
42524
|
+
ContractName$.inboundSchema = ContractName$inboundSchema;
|
|
42525
|
+
ContractName$.outboundSchema = ContractName$outboundSchema;
|
|
42526
|
+
})(ContractName$ ||= {});
|
|
42601
42527
|
GenericAllowanceRequest$inboundSchema = objectType({
|
|
42602
42528
|
chain: GenericAllowanceChain$inboundSchema.default("arbitrum:mainnet"),
|
|
42603
42529
|
block: nullableType(numberType().int()).optional(),
|
|
42604
42530
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B"),
|
|
42605
42531
|
token: GenericAllowanceToken$inboundSchema.default("USDC"),
|
|
42606
|
-
contract_name: ContractName$
|
|
42532
|
+
contract_name: ContractName$inboundSchema.default("AaveV3Pool")
|
|
42607
42533
|
}).transform((v2) => {
|
|
42608
42534
|
return remap(v2, {
|
|
42609
42535
|
contract_name: "contractName"
|
|
@@ -42614,7 +42540,7 @@ var init_genericallowance = __esm(() => {
|
|
|
42614
42540
|
block: nullableType(numberType().int()).optional(),
|
|
42615
42541
|
user: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B"),
|
|
42616
42542
|
token: GenericAllowanceToken$outboundSchema.default("USDC"),
|
|
42617
|
-
contractName: ContractName$
|
|
42543
|
+
contractName: ContractName$outboundSchema.default("AaveV3Pool")
|
|
42618
42544
|
}).transform((v2) => {
|
|
42619
42545
|
return remap(v2, {
|
|
42620
42546
|
contractName: "contract_name"
|
|
@@ -43061,22 +42987,18 @@ var init_pendlemarket2 = __esm(() => {
|
|
|
43061
42987
|
PendleMarketRequest$inboundSchema = objectType({
|
|
43062
42988
|
chain: PendleMarketChain$inboundSchema.default("ethereum:mainnet"),
|
|
43063
42989
|
block: nullableType(numberType().int()).optional(),
|
|
43064
|
-
user_address: stringType().default("0xa829B388A3DF7f581cE957a95edbe419dd146d1B"),
|
|
43065
42990
|
market_address: stringType().default("0xc374f7ec85f8c7de3207a10bb1978ba104bda3b2")
|
|
43066
42991
|
}).transform((v2) => {
|
|
43067
42992
|
return remap(v2, {
|
|
43068
|
-
user_address: "userAddress",
|
|
43069
42993
|
market_address: "marketAddress"
|
|
43070
42994
|
});
|
|
43071
42995
|
});
|
|
43072
42996
|
PendleMarketRequest$outboundSchema = objectType({
|
|
43073
42997
|
chain: PendleMarketChain$outboundSchema.default("ethereum:mainnet"),
|
|
43074
42998
|
block: nullableType(numberType().int()).optional(),
|
|
43075
|
-
userAddress: stringType().default("0xa829B388A3DF7f581cE957a95edbe419dd146d1B"),
|
|
43076
42999
|
marketAddress: stringType().default("0xc374f7ec85f8c7de3207a10bb1978ba104bda3b2")
|
|
43077
43000
|
}).transform((v2) => {
|
|
43078
43001
|
return remap(v2, {
|
|
43079
|
-
userAddress: "user_address",
|
|
43080
43002
|
marketAddress: "market_address"
|
|
43081
43003
|
});
|
|
43082
43004
|
});
|
|
@@ -44100,6 +44022,7 @@ async function $do(client, request, options) {
|
|
|
44100
44022
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
44101
44023
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
44102
44024
|
const context = {
|
|
44025
|
+
options: client._options,
|
|
44103
44026
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
44104
44027
|
operationID: "aave_avg_rate",
|
|
44105
44028
|
oAuth2Scopes: [],
|
|
@@ -44116,6 +44039,7 @@ async function $do(client, request, options) {
|
|
|
44116
44039
|
headers,
|
|
44117
44040
|
query,
|
|
44118
44041
|
body,
|
|
44042
|
+
userAgent: client._options.userAgent,
|
|
44119
44043
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
44120
44044
|
}, options);
|
|
44121
44045
|
if (!requestRes.ok) {
|
|
@@ -44203,6 +44127,7 @@ async function $do2(client, request, options) {
|
|
|
44203
44127
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
44204
44128
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
44205
44129
|
const context = {
|
|
44130
|
+
options: client._options,
|
|
44206
44131
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
44207
44132
|
operationID: "aave_borrow",
|
|
44208
44133
|
oAuth2Scopes: [],
|
|
@@ -44218,6 +44143,7 @@ async function $do2(client, request, options) {
|
|
|
44218
44143
|
path,
|
|
44219
44144
|
headers,
|
|
44220
44145
|
body,
|
|
44146
|
+
userAgent: client._options.userAgent,
|
|
44221
44147
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
44222
44148
|
}, options);
|
|
44223
44149
|
if (!requestRes.ok) {
|
|
@@ -44313,6 +44239,7 @@ async function $do3(client, request, options) {
|
|
|
44313
44239
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
44314
44240
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
44315
44241
|
const context = {
|
|
44242
|
+
options: client._options,
|
|
44316
44243
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
44317
44244
|
operationID: "aave_historical_transactions",
|
|
44318
44245
|
oAuth2Scopes: [],
|
|
@@ -44329,6 +44256,7 @@ async function $do3(client, request, options) {
|
|
|
44329
44256
|
headers,
|
|
44330
44257
|
query,
|
|
44331
44258
|
body,
|
|
44259
|
+
userAgent: client._options.userAgent,
|
|
44332
44260
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
44333
44261
|
}, options);
|
|
44334
44262
|
if (!requestRes.ok) {
|
|
@@ -44427,6 +44355,7 @@ async function $do4(client, request, options) {
|
|
|
44427
44355
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
44428
44356
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
44429
44357
|
const context = {
|
|
44358
|
+
options: client._options,
|
|
44430
44359
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
44431
44360
|
operationID: "aave_liquidity_change",
|
|
44432
44361
|
oAuth2Scopes: [],
|
|
@@ -44443,6 +44372,7 @@ async function $do4(client, request, options) {
|
|
|
44443
44372
|
headers,
|
|
44444
44373
|
query,
|
|
44445
44374
|
body,
|
|
44375
|
+
userAgent: client._options.userAgent,
|
|
44446
44376
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
44447
44377
|
}, options);
|
|
44448
44378
|
if (!requestRes.ok) {
|
|
@@ -44544,6 +44474,7 @@ async function $do5(client, request, options) {
|
|
|
44544
44474
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
44545
44475
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
44546
44476
|
const context = {
|
|
44477
|
+
options: client._options,
|
|
44547
44478
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
44548
44479
|
operationID: "aave_rate",
|
|
44549
44480
|
oAuth2Scopes: [],
|
|
@@ -44560,6 +44491,7 @@ async function $do5(client, request, options) {
|
|
|
44560
44491
|
headers,
|
|
44561
44492
|
query,
|
|
44562
44493
|
body,
|
|
44494
|
+
userAgent: client._options.userAgent,
|
|
44563
44495
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
44564
44496
|
}, options);
|
|
44565
44497
|
if (!requestRes.ok) {
|
|
@@ -44660,6 +44592,7 @@ async function $do6(client, request, options) {
|
|
|
44660
44592
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
44661
44593
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
44662
44594
|
const context = {
|
|
44595
|
+
options: client._options,
|
|
44663
44596
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
44664
44597
|
operationID: "aave_repay",
|
|
44665
44598
|
oAuth2Scopes: [],
|
|
@@ -44675,6 +44608,7 @@ async function $do6(client, request, options) {
|
|
|
44675
44608
|
path,
|
|
44676
44609
|
headers,
|
|
44677
44610
|
body,
|
|
44611
|
+
userAgent: client._options.userAgent,
|
|
44678
44612
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
44679
44613
|
}, options);
|
|
44680
44614
|
if (!requestRes.ok) {
|
|
@@ -44772,6 +44706,7 @@ async function $do7(client, request, options) {
|
|
|
44772
44706
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
44773
44707
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
44774
44708
|
const context = {
|
|
44709
|
+
options: client._options,
|
|
44775
44710
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
44776
44711
|
operationID: "aave_reserve_overview",
|
|
44777
44712
|
oAuth2Scopes: [],
|
|
@@ -44788,6 +44723,7 @@ async function $do7(client, request, options) {
|
|
|
44788
44723
|
headers,
|
|
44789
44724
|
query,
|
|
44790
44725
|
body,
|
|
44726
|
+
userAgent: client._options.userAgent,
|
|
44791
44727
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
44792
44728
|
}, options);
|
|
44793
44729
|
if (!requestRes.ok) {
|
|
@@ -44885,6 +44821,7 @@ async function $do8(client, request, options) {
|
|
|
44885
44821
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
44886
44822
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
44887
44823
|
const context = {
|
|
44824
|
+
options: client._options,
|
|
44888
44825
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
44889
44826
|
operationID: "aave_std_rate",
|
|
44890
44827
|
oAuth2Scopes: [],
|
|
@@ -44901,6 +44838,7 @@ async function $do8(client, request, options) {
|
|
|
44901
44838
|
headers,
|
|
44902
44839
|
query,
|
|
44903
44840
|
body,
|
|
44841
|
+
userAgent: client._options.userAgent,
|
|
44904
44842
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
44905
44843
|
}, options);
|
|
44906
44844
|
if (!requestRes.ok) {
|
|
@@ -44989,6 +44927,7 @@ async function $do9(client, request, options) {
|
|
|
44989
44927
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
44990
44928
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
44991
44929
|
const context = {
|
|
44930
|
+
options: client._options,
|
|
44992
44931
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
44993
44932
|
operationID: "aave_supply",
|
|
44994
44933
|
oAuth2Scopes: [],
|
|
@@ -45004,6 +44943,7 @@ async function $do9(client, request, options) {
|
|
|
45004
44943
|
path,
|
|
45005
44944
|
headers,
|
|
45006
44945
|
body,
|
|
44946
|
+
userAgent: client._options.userAgent,
|
|
45007
44947
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
45008
44948
|
}, options);
|
|
45009
44949
|
if (!requestRes.ok) {
|
|
@@ -45102,6 +45042,7 @@ async function $do10(client, request, options) {
|
|
|
45102
45042
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
45103
45043
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
45104
45044
|
const context = {
|
|
45045
|
+
options: client._options,
|
|
45105
45046
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
45106
45047
|
operationID: "aave_token_price",
|
|
45107
45048
|
oAuth2Scopes: [],
|
|
@@ -45118,6 +45059,7 @@ async function $do10(client, request, options) {
|
|
|
45118
45059
|
headers,
|
|
45119
45060
|
query,
|
|
45120
45061
|
body,
|
|
45062
|
+
userAgent: client._options.userAgent,
|
|
45121
45063
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
45122
45064
|
}, options);
|
|
45123
45065
|
if (!requestRes.ok) {
|
|
@@ -45217,6 +45159,7 @@ async function $do11(client, request, options) {
|
|
|
45217
45159
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
45218
45160
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
45219
45161
|
const context = {
|
|
45162
|
+
options: client._options,
|
|
45220
45163
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
45221
45164
|
operationID: "aave_user_position_per_token",
|
|
45222
45165
|
oAuth2Scopes: [],
|
|
@@ -45233,6 +45176,7 @@ async function $do11(client, request, options) {
|
|
|
45233
45176
|
headers,
|
|
45234
45177
|
query,
|
|
45235
45178
|
body,
|
|
45179
|
+
userAgent: client._options.userAgent,
|
|
45236
45180
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
45237
45181
|
}, options);
|
|
45238
45182
|
if (!requestRes.ok) {
|
|
@@ -45332,6 +45276,7 @@ async function $do12(client, request, options) {
|
|
|
45332
45276
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
45333
45277
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
45334
45278
|
const context = {
|
|
45279
|
+
options: client._options,
|
|
45335
45280
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
45336
45281
|
operationID: "aave_user_position_summary",
|
|
45337
45282
|
oAuth2Scopes: [],
|
|
@@ -45348,6 +45293,7 @@ async function $do12(client, request, options) {
|
|
|
45348
45293
|
headers,
|
|
45349
45294
|
query,
|
|
45350
45295
|
body,
|
|
45296
|
+
userAgent: client._options.userAgent,
|
|
45351
45297
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
45352
45298
|
}, options);
|
|
45353
45299
|
if (!requestRes.ok) {
|
|
@@ -45442,6 +45388,7 @@ async function $do13(client, request, options) {
|
|
|
45442
45388
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
45443
45389
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
45444
45390
|
const context = {
|
|
45391
|
+
options: client._options,
|
|
45445
45392
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
45446
45393
|
operationID: "aave_withdraw",
|
|
45447
45394
|
oAuth2Scopes: [],
|
|
@@ -45457,6 +45404,7 @@ async function $do13(client, request, options) {
|
|
|
45457
45404
|
path,
|
|
45458
45405
|
headers,
|
|
45459
45406
|
body,
|
|
45407
|
+
userAgent: client._options.userAgent,
|
|
45460
45408
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
45461
45409
|
}, options);
|
|
45462
45410
|
if (!requestRes.ok) {
|
|
@@ -45551,6 +45499,7 @@ async function $do14(client, request, options) {
|
|
|
45551
45499
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
45552
45500
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
45553
45501
|
const context = {
|
|
45502
|
+
options: client._options,
|
|
45554
45503
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
45555
45504
|
operationID: "aerodrome_slipstream_liquidity_provision_increase",
|
|
45556
45505
|
oAuth2Scopes: [],
|
|
@@ -45566,6 +45515,7 @@ async function $do14(client, request, options) {
|
|
|
45566
45515
|
path,
|
|
45567
45516
|
headers,
|
|
45568
45517
|
body,
|
|
45518
|
+
userAgent: client._options.userAgent,
|
|
45569
45519
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
45570
45520
|
}, options);
|
|
45571
45521
|
if (!requestRes.ok) {
|
|
@@ -45662,6 +45612,7 @@ async function $do15(client, request, options) {
|
|
|
45662
45612
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
45663
45613
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
45664
45614
|
const context = {
|
|
45615
|
+
options: client._options,
|
|
45665
45616
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
45666
45617
|
operationID: "aerodrome_slipstream_liquidity_provision_mint",
|
|
45667
45618
|
oAuth2Scopes: [],
|
|
@@ -45677,6 +45628,7 @@ async function $do15(client, request, options) {
|
|
|
45677
45628
|
path,
|
|
45678
45629
|
headers,
|
|
45679
45630
|
body,
|
|
45631
|
+
userAgent: client._options.userAgent,
|
|
45680
45632
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
45681
45633
|
}, options);
|
|
45682
45634
|
if (!requestRes.ok) {
|
|
@@ -45775,6 +45727,7 @@ async function $do16(client, request, options) {
|
|
|
45775
45727
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
45776
45728
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
45777
45729
|
const context = {
|
|
45730
|
+
options: client._options,
|
|
45778
45731
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
45779
45732
|
operationID: "aerodrome_slipstream_liquidity_provision_positions",
|
|
45780
45733
|
oAuth2Scopes: [],
|
|
@@ -45791,6 +45744,7 @@ async function $do16(client, request, options) {
|
|
|
45791
45744
|
headers,
|
|
45792
45745
|
query,
|
|
45793
45746
|
body,
|
|
45747
|
+
userAgent: client._options.userAgent,
|
|
45794
45748
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
45795
45749
|
}, options);
|
|
45796
45750
|
if (!requestRes.ok) {
|
|
@@ -45886,6 +45840,7 @@ async function $do17(client, request, options) {
|
|
|
45886
45840
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
45887
45841
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
45888
45842
|
const context = {
|
|
45843
|
+
options: client._options,
|
|
45889
45844
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
45890
45845
|
operationID: "aerodrome_slipstream_liquidity_provision_withdraw",
|
|
45891
45846
|
oAuth2Scopes: [],
|
|
@@ -45901,6 +45856,7 @@ async function $do17(client, request, options) {
|
|
|
45901
45856
|
path,
|
|
45902
45857
|
headers,
|
|
45903
45858
|
body,
|
|
45859
|
+
userAgent: client._options.userAgent,
|
|
45904
45860
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
45905
45861
|
}, options);
|
|
45906
45862
|
if (!requestRes.ok) {
|
|
@@ -46003,6 +45959,7 @@ async function $do18(client, request, options) {
|
|
|
46003
45959
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
46004
45960
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
46005
45961
|
const context = {
|
|
45962
|
+
options: client._options,
|
|
46006
45963
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
46007
45964
|
operationID: "aerodrome_slipstream_pool_price",
|
|
46008
45965
|
oAuth2Scopes: [],
|
|
@@ -46019,6 +45976,7 @@ async function $do18(client, request, options) {
|
|
|
46019
45976
|
headers,
|
|
46020
45977
|
query,
|
|
46021
45978
|
body,
|
|
45979
|
+
userAgent: client._options.userAgent,
|
|
46022
45980
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
46023
45981
|
}, options);
|
|
46024
45982
|
if (!requestRes.ok) {
|
|
@@ -46111,6 +46069,7 @@ async function $do19(client, request, options) {
|
|
|
46111
46069
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
46112
46070
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
46113
46071
|
const context = {
|
|
46072
|
+
options: client._options,
|
|
46114
46073
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
46115
46074
|
operationID: "aerodrome_slipstream_swap_buy_exactly",
|
|
46116
46075
|
oAuth2Scopes: [],
|
|
@@ -46126,6 +46085,7 @@ async function $do19(client, request, options) {
|
|
|
46126
46085
|
path,
|
|
46127
46086
|
headers,
|
|
46128
46087
|
body,
|
|
46088
|
+
userAgent: client._options.userAgent,
|
|
46129
46089
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
46130
46090
|
}, options);
|
|
46131
46091
|
if (!requestRes.ok) {
|
|
@@ -46221,6 +46181,7 @@ async function $do20(client, request, options) {
|
|
|
46221
46181
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
46222
46182
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
46223
46183
|
const context = {
|
|
46184
|
+
options: client._options,
|
|
46224
46185
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
46225
46186
|
operationID: "aerodrome_slipstream_swap_sell_exactly",
|
|
46226
46187
|
oAuth2Scopes: [],
|
|
@@ -46236,6 +46197,7 @@ async function $do20(client, request, options) {
|
|
|
46236
46197
|
path,
|
|
46237
46198
|
headers,
|
|
46238
46199
|
body,
|
|
46200
|
+
userAgent: client._options.userAgent,
|
|
46239
46201
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
46240
46202
|
}, options);
|
|
46241
46203
|
if (!requestRes.ok) {
|
|
@@ -46330,6 +46292,7 @@ async function $do21(client, request, options) {
|
|
|
46330
46292
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
46331
46293
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
46332
46294
|
const context = {
|
|
46295
|
+
options: client._options,
|
|
46333
46296
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
46334
46297
|
operationID: "morpho_allowance",
|
|
46335
46298
|
oAuth2Scopes: [],
|
|
@@ -46345,6 +46308,7 @@ async function $do21(client, request, options) {
|
|
|
46345
46308
|
path,
|
|
46346
46309
|
headers,
|
|
46347
46310
|
body,
|
|
46311
|
+
userAgent: client._options.userAgent,
|
|
46348
46312
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
46349
46313
|
}, options);
|
|
46350
46314
|
if (!requestRes.ok) {
|
|
@@ -46435,6 +46399,7 @@ async function $do22(client, request, options) {
|
|
|
46435
46399
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
46436
46400
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
46437
46401
|
const context = {
|
|
46402
|
+
options: client._options,
|
|
46438
46403
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
46439
46404
|
operationID: "morpho_borrow",
|
|
46440
46405
|
oAuth2Scopes: [],
|
|
@@ -46450,6 +46415,7 @@ async function $do22(client, request, options) {
|
|
|
46450
46415
|
path,
|
|
46451
46416
|
headers,
|
|
46452
46417
|
body,
|
|
46418
|
+
userAgent: client._options.userAgent,
|
|
46453
46419
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
46454
46420
|
}, options);
|
|
46455
46421
|
if (!requestRes.ok) {
|
|
@@ -46544,6 +46510,7 @@ async function $do23(client, request, options) {
|
|
|
46544
46510
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
46545
46511
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
46546
46512
|
const context = {
|
|
46513
|
+
options: client._options,
|
|
46547
46514
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
46548
46515
|
operationID: "morpho_deposit",
|
|
46549
46516
|
oAuth2Scopes: [],
|
|
@@ -46559,6 +46526,7 @@ async function $do23(client, request, options) {
|
|
|
46559
46526
|
path,
|
|
46560
46527
|
headers,
|
|
46561
46528
|
body,
|
|
46529
|
+
userAgent: client._options.userAgent,
|
|
46562
46530
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
46563
46531
|
}, options);
|
|
46564
46532
|
if (!requestRes.ok) {
|
|
@@ -46659,6 +46627,7 @@ async function $do24(client, request, options) {
|
|
|
46659
46627
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
46660
46628
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
46661
46629
|
const context = {
|
|
46630
|
+
options: client._options,
|
|
46662
46631
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
46663
46632
|
operationID: "morpho_market",
|
|
46664
46633
|
oAuth2Scopes: [],
|
|
@@ -46675,6 +46644,7 @@ async function $do24(client, request, options) {
|
|
|
46675
46644
|
headers,
|
|
46676
46645
|
query,
|
|
46677
46646
|
body,
|
|
46647
|
+
userAgent: client._options.userAgent,
|
|
46678
46648
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
46679
46649
|
}, options);
|
|
46680
46650
|
if (!requestRes.ok) {
|
|
@@ -46776,6 +46746,7 @@ async function $do25(client, request, options) {
|
|
|
46776
46746
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
46777
46747
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
46778
46748
|
const context = {
|
|
46749
|
+
options: client._options,
|
|
46779
46750
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
46780
46751
|
operationID: "morpho_market_position",
|
|
46781
46752
|
oAuth2Scopes: [],
|
|
@@ -46792,6 +46763,7 @@ async function $do25(client, request, options) {
|
|
|
46792
46763
|
headers,
|
|
46793
46764
|
query,
|
|
46794
46765
|
body,
|
|
46766
|
+
userAgent: client._options.userAgent,
|
|
46795
46767
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
46796
46768
|
}, options);
|
|
46797
46769
|
if (!requestRes.ok) {
|
|
@@ -46885,6 +46857,7 @@ async function $do26(client, request, options) {
|
|
|
46885
46857
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
46886
46858
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
46887
46859
|
const context = {
|
|
46860
|
+
options: client._options,
|
|
46888
46861
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
46889
46862
|
operationID: "morpho_markets",
|
|
46890
46863
|
oAuth2Scopes: [],
|
|
@@ -46901,6 +46874,7 @@ async function $do26(client, request, options) {
|
|
|
46901
46874
|
headers,
|
|
46902
46875
|
query,
|
|
46903
46876
|
body,
|
|
46877
|
+
userAgent: client._options.userAgent,
|
|
46904
46878
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
46905
46879
|
}, options);
|
|
46906
46880
|
if (!requestRes.ok) {
|
|
@@ -46991,6 +46965,7 @@ async function $do27(client, request, options) {
|
|
|
46991
46965
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
46992
46966
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
46993
46967
|
const context = {
|
|
46968
|
+
options: client._options,
|
|
46994
46969
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
46995
46970
|
operationID: "morpho_repay",
|
|
46996
46971
|
oAuth2Scopes: [],
|
|
@@ -47006,6 +46981,7 @@ async function $do27(client, request, options) {
|
|
|
47006
46981
|
path,
|
|
47007
46982
|
headers,
|
|
47008
46983
|
body,
|
|
46984
|
+
userAgent: client._options.userAgent,
|
|
47009
46985
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
47010
46986
|
}, options);
|
|
47011
46987
|
if (!requestRes.ok) {
|
|
@@ -47097,6 +47073,7 @@ async function $do28(client, request, options) {
|
|
|
47097
47073
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
47098
47074
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
47099
47075
|
const context = {
|
|
47076
|
+
options: client._options,
|
|
47100
47077
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
47101
47078
|
operationID: "morpho_supply_collateral",
|
|
47102
47079
|
oAuth2Scopes: [],
|
|
@@ -47112,6 +47089,7 @@ async function $do28(client, request, options) {
|
|
|
47112
47089
|
path,
|
|
47113
47090
|
headers,
|
|
47114
47091
|
body,
|
|
47092
|
+
userAgent: client._options.userAgent,
|
|
47115
47093
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
47116
47094
|
}, options);
|
|
47117
47095
|
if (!requestRes.ok) {
|
|
@@ -47207,6 +47185,7 @@ async function $do29(client, request, options) {
|
|
|
47207
47185
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
47208
47186
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
47209
47187
|
const context = {
|
|
47188
|
+
options: client._options,
|
|
47210
47189
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
47211
47190
|
operationID: "morpho_user_position",
|
|
47212
47191
|
oAuth2Scopes: [],
|
|
@@ -47223,6 +47202,7 @@ async function $do29(client, request, options) {
|
|
|
47223
47202
|
headers,
|
|
47224
47203
|
query,
|
|
47225
47204
|
body,
|
|
47205
|
+
userAgent: client._options.userAgent,
|
|
47226
47206
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
47227
47207
|
}, options);
|
|
47228
47208
|
if (!requestRes.ok) {
|
|
@@ -47317,6 +47297,7 @@ async function $do30(client, request, options) {
|
|
|
47317
47297
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
47318
47298
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
47319
47299
|
const context = {
|
|
47300
|
+
options: client._options,
|
|
47320
47301
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
47321
47302
|
operationID: "morpho_vault",
|
|
47322
47303
|
oAuth2Scopes: [],
|
|
@@ -47333,6 +47314,7 @@ async function $do30(client, request, options) {
|
|
|
47333
47314
|
headers,
|
|
47334
47315
|
query,
|
|
47335
47316
|
body,
|
|
47317
|
+
userAgent: client._options.userAgent,
|
|
47336
47318
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
47337
47319
|
}, options);
|
|
47338
47320
|
if (!requestRes.ok) {
|
|
@@ -47432,6 +47414,7 @@ async function $do31(client, request, options) {
|
|
|
47432
47414
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
47433
47415
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
47434
47416
|
const context = {
|
|
47417
|
+
options: client._options,
|
|
47435
47418
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
47436
47419
|
operationID: "morpho_vault_position",
|
|
47437
47420
|
oAuth2Scopes: [],
|
|
@@ -47448,6 +47431,7 @@ async function $do31(client, request, options) {
|
|
|
47448
47431
|
headers,
|
|
47449
47432
|
query,
|
|
47450
47433
|
body,
|
|
47434
|
+
userAgent: client._options.userAgent,
|
|
47451
47435
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
47452
47436
|
}, options);
|
|
47453
47437
|
if (!requestRes.ok) {
|
|
@@ -47540,6 +47524,7 @@ async function $do32(client, request, options) {
|
|
|
47540
47524
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
47541
47525
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
47542
47526
|
const context = {
|
|
47527
|
+
options: client._options,
|
|
47543
47528
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
47544
47529
|
operationID: "morpho_vaults",
|
|
47545
47530
|
oAuth2Scopes: [],
|
|
@@ -47556,6 +47541,7 @@ async function $do32(client, request, options) {
|
|
|
47556
47541
|
headers,
|
|
47557
47542
|
query,
|
|
47558
47543
|
body,
|
|
47544
|
+
userAgent: client._options.userAgent,
|
|
47559
47545
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
47560
47546
|
}, options);
|
|
47561
47547
|
if (!requestRes.ok) {
|
|
@@ -47647,6 +47633,7 @@ async function $do33(client, request, options) {
|
|
|
47647
47633
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
47648
47634
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
47649
47635
|
const context = {
|
|
47636
|
+
options: client._options,
|
|
47650
47637
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
47651
47638
|
operationID: "morpho_withdraw",
|
|
47652
47639
|
oAuth2Scopes: [],
|
|
@@ -47662,6 +47649,7 @@ async function $do33(client, request, options) {
|
|
|
47662
47649
|
path,
|
|
47663
47650
|
headers,
|
|
47664
47651
|
body,
|
|
47652
|
+
userAgent: client._options.userAgent,
|
|
47665
47653
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
47666
47654
|
}, options);
|
|
47667
47655
|
if (!requestRes.ok) {
|
|
@@ -47758,6 +47746,7 @@ async function $do34(client, request, options) {
|
|
|
47758
47746
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
47759
47747
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
47760
47748
|
const context = {
|
|
47749
|
+
options: client._options,
|
|
47761
47750
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
47762
47751
|
operationID: "morpho_withdraw_collateral",
|
|
47763
47752
|
oAuth2Scopes: [],
|
|
@@ -47773,6 +47762,7 @@ async function $do34(client, request, options) {
|
|
|
47773
47762
|
path,
|
|
47774
47763
|
headers,
|
|
47775
47764
|
body,
|
|
47765
|
+
userAgent: client._options.userAgent,
|
|
47776
47766
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
47777
47767
|
}, options);
|
|
47778
47768
|
if (!requestRes.ok) {
|
|
@@ -47859,8 +47849,7 @@ async function $do35(client, request, options) {
|
|
|
47859
47849
|
const query = encodeFormQuery({
|
|
47860
47850
|
block: payload.block,
|
|
47861
47851
|
chain: payload.chain,
|
|
47862
|
-
market_address: payload.market_address
|
|
47863
|
-
user_address: payload.user_address
|
|
47852
|
+
market_address: payload.market_address
|
|
47864
47853
|
});
|
|
47865
47854
|
const headers = new Headers(compactMap({
|
|
47866
47855
|
Accept: "application/json"
|
|
@@ -47869,6 +47858,7 @@ async function $do35(client, request, options) {
|
|
|
47869
47858
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
47870
47859
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
47871
47860
|
const context = {
|
|
47861
|
+
options: client._options,
|
|
47872
47862
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
47873
47863
|
operationID: "pendle_market",
|
|
47874
47864
|
oAuth2Scopes: [],
|
|
@@ -47885,6 +47875,7 @@ async function $do35(client, request, options) {
|
|
|
47885
47875
|
headers,
|
|
47886
47876
|
query,
|
|
47887
47877
|
body,
|
|
47878
|
+
userAgent: client._options.userAgent,
|
|
47888
47879
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
47889
47880
|
}, options);
|
|
47890
47881
|
if (!requestRes.ok) {
|
|
@@ -47975,6 +47966,7 @@ async function $do36(client, request, options) {
|
|
|
47975
47966
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
47976
47967
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
47977
47968
|
const context = {
|
|
47969
|
+
options: client._options,
|
|
47978
47970
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
47979
47971
|
operationID: "pendle_markets",
|
|
47980
47972
|
oAuth2Scopes: [],
|
|
@@ -47991,6 +47983,7 @@ async function $do36(client, request, options) {
|
|
|
47991
47983
|
headers,
|
|
47992
47984
|
query,
|
|
47993
47985
|
body,
|
|
47986
|
+
userAgent: client._options.userAgent,
|
|
47994
47987
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
47995
47988
|
}, options);
|
|
47996
47989
|
if (!requestRes.ok) {
|
|
@@ -48083,6 +48076,7 @@ async function $do37(client, request, options) {
|
|
|
48083
48076
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
48084
48077
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
48085
48078
|
const context = {
|
|
48079
|
+
options: client._options,
|
|
48086
48080
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
48087
48081
|
operationID: "pendle_position",
|
|
48088
48082
|
oAuth2Scopes: [],
|
|
@@ -48099,6 +48093,7 @@ async function $do37(client, request, options) {
|
|
|
48099
48093
|
headers,
|
|
48100
48094
|
query,
|
|
48101
48095
|
body,
|
|
48096
|
+
userAgent: client._options.userAgent,
|
|
48102
48097
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
48103
48098
|
}, options);
|
|
48104
48099
|
if (!requestRes.ok) {
|
|
@@ -48190,6 +48185,7 @@ async function $do38(client, request, options) {
|
|
|
48190
48185
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
48191
48186
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
48192
48187
|
const context = {
|
|
48188
|
+
options: client._options,
|
|
48193
48189
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
48194
48190
|
operationID: "pendle_positions",
|
|
48195
48191
|
oAuth2Scopes: [],
|
|
@@ -48206,6 +48202,7 @@ async function $do38(client, request, options) {
|
|
|
48206
48202
|
headers,
|
|
48207
48203
|
query,
|
|
48208
48204
|
body,
|
|
48205
|
+
userAgent: client._options.userAgent,
|
|
48209
48206
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
48210
48207
|
}, options);
|
|
48211
48208
|
if (!requestRes.ok) {
|
|
@@ -48293,6 +48290,7 @@ async function $do39(client, request, options) {
|
|
|
48293
48290
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
48294
48291
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
48295
48292
|
const context = {
|
|
48293
|
+
options: client._options,
|
|
48296
48294
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
48297
48295
|
operationID: "sky_buy",
|
|
48298
48296
|
oAuth2Scopes: [],
|
|
@@ -48308,6 +48306,7 @@ async function $do39(client, request, options) {
|
|
|
48308
48306
|
path,
|
|
48309
48307
|
headers,
|
|
48310
48308
|
body,
|
|
48309
|
+
userAgent: client._options.userAgent,
|
|
48311
48310
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
48312
48311
|
}, options);
|
|
48313
48312
|
if (!requestRes.ok) {
|
|
@@ -48400,6 +48399,7 @@ async function $do40(client, request, options) {
|
|
|
48400
48399
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
48401
48400
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
48402
48401
|
const context = {
|
|
48402
|
+
options: client._options,
|
|
48403
48403
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
48404
48404
|
operationID: "sky_deposit",
|
|
48405
48405
|
oAuth2Scopes: [],
|
|
@@ -48415,6 +48415,7 @@ async function $do40(client, request, options) {
|
|
|
48415
48415
|
path,
|
|
48416
48416
|
headers,
|
|
48417
48417
|
body,
|
|
48418
|
+
userAgent: client._options.userAgent,
|
|
48418
48419
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
48419
48420
|
}, options);
|
|
48420
48421
|
if (!requestRes.ok) {
|
|
@@ -48507,6 +48508,7 @@ async function $do41(client, request, options) {
|
|
|
48507
48508
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
48508
48509
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
48509
48510
|
const context = {
|
|
48511
|
+
options: client._options,
|
|
48510
48512
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
48511
48513
|
operationID: "sky_position",
|
|
48512
48514
|
oAuth2Scopes: [],
|
|
@@ -48523,6 +48525,7 @@ async function $do41(client, request, options) {
|
|
|
48523
48525
|
headers,
|
|
48524
48526
|
query,
|
|
48525
48527
|
body,
|
|
48528
|
+
userAgent: client._options.userAgent,
|
|
48526
48529
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
48527
48530
|
}, options);
|
|
48528
48531
|
if (!requestRes.ok) {
|
|
@@ -48610,6 +48613,7 @@ async function $do42(client, request, options) {
|
|
|
48610
48613
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
48611
48614
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
48612
48615
|
const context = {
|
|
48616
|
+
options: client._options,
|
|
48613
48617
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
48614
48618
|
operationID: "sky_sell",
|
|
48615
48619
|
oAuth2Scopes: [],
|
|
@@ -48625,6 +48629,7 @@ async function $do42(client, request, options) {
|
|
|
48625
48629
|
path,
|
|
48626
48630
|
headers,
|
|
48627
48631
|
body,
|
|
48632
|
+
userAgent: client._options.userAgent,
|
|
48628
48633
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
48629
48634
|
}, options);
|
|
48630
48635
|
if (!requestRes.ok) {
|
|
@@ -48717,6 +48722,7 @@ async function $do43(client, request, options) {
|
|
|
48717
48722
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
48718
48723
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
48719
48724
|
const context = {
|
|
48725
|
+
options: client._options,
|
|
48720
48726
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
48721
48727
|
operationID: "sky_withdraw",
|
|
48722
48728
|
oAuth2Scopes: [],
|
|
@@ -48732,6 +48738,7 @@ async function $do43(client, request, options) {
|
|
|
48732
48738
|
path,
|
|
48733
48739
|
headers,
|
|
48734
48740
|
body,
|
|
48741
|
+
userAgent: client._options.userAgent,
|
|
48735
48742
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
48736
48743
|
}, options);
|
|
48737
48744
|
if (!requestRes.ok) {
|
|
@@ -48818,6 +48825,7 @@ async function $do44(client, request, options) {
|
|
|
48818
48825
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
48819
48826
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
48820
48827
|
const context = {
|
|
48828
|
+
options: client._options,
|
|
48821
48829
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
48822
48830
|
operationID: "smart_account_batched_user_operations",
|
|
48823
48831
|
oAuth2Scopes: [],
|
|
@@ -48833,6 +48841,7 @@ async function $do44(client, request, options) {
|
|
|
48833
48841
|
path,
|
|
48834
48842
|
headers,
|
|
48835
48843
|
body,
|
|
48844
|
+
userAgent: client._options.userAgent,
|
|
48836
48845
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
48837
48846
|
}, options);
|
|
48838
48847
|
if (!requestRes.ok) {
|
|
@@ -48923,6 +48932,7 @@ async function $do45(client, request, options) {
|
|
|
48923
48932
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
48924
48933
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
48925
48934
|
const context = {
|
|
48935
|
+
options: client._options,
|
|
48926
48936
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
48927
48937
|
operationID: "token_address",
|
|
48928
48938
|
oAuth2Scopes: [],
|
|
@@ -48939,6 +48949,7 @@ async function $do45(client, request, options) {
|
|
|
48939
48949
|
headers,
|
|
48940
48950
|
query,
|
|
48941
48951
|
body,
|
|
48952
|
+
userAgent: client._options.userAgent,
|
|
48942
48953
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
48943
48954
|
}, options);
|
|
48944
48955
|
if (!requestRes.ok) {
|
|
@@ -49031,6 +49042,7 @@ async function $do46(client, request, options) {
|
|
|
49031
49042
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
49032
49043
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
49033
49044
|
const context = {
|
|
49045
|
+
options: client._options,
|
|
49034
49046
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
49035
49047
|
operationID: "token_balance",
|
|
49036
49048
|
oAuth2Scopes: [],
|
|
@@ -49047,6 +49059,7 @@ async function $do46(client, request, options) {
|
|
|
49047
49059
|
headers,
|
|
49048
49060
|
query,
|
|
49049
49061
|
body,
|
|
49062
|
+
userAgent: client._options.userAgent,
|
|
49050
49063
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
49051
49064
|
}, options);
|
|
49052
49065
|
if (!requestRes.ok) {
|
|
@@ -49137,6 +49150,7 @@ async function $do47(client, request, options) {
|
|
|
49137
49150
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
49138
49151
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
49139
49152
|
const context = {
|
|
49153
|
+
options: client._options,
|
|
49140
49154
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
49141
49155
|
operationID: "token_price",
|
|
49142
49156
|
oAuth2Scopes: [],
|
|
@@ -49153,6 +49167,7 @@ async function $do47(client, request, options) {
|
|
|
49153
49167
|
headers,
|
|
49154
49168
|
query,
|
|
49155
49169
|
body,
|
|
49170
|
+
userAgent: client._options.userAgent,
|
|
49156
49171
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
49157
49172
|
}, options);
|
|
49158
49173
|
if (!requestRes.ok) {
|
|
@@ -49244,6 +49259,7 @@ async function $do48(client, request, options) {
|
|
|
49244
49259
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
49245
49260
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
49246
49261
|
const context = {
|
|
49262
|
+
options: client._options,
|
|
49247
49263
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
49248
49264
|
operationID: "token_transfer",
|
|
49249
49265
|
oAuth2Scopes: [],
|
|
@@ -49259,6 +49275,7 @@ async function $do48(client, request, options) {
|
|
|
49259
49275
|
path,
|
|
49260
49276
|
headers,
|
|
49261
49277
|
body,
|
|
49278
|
+
userAgent: client._options.userAgent,
|
|
49262
49279
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
49263
49280
|
}, options);
|
|
49264
49281
|
if (!requestRes.ok) {
|
|
@@ -49345,6 +49362,7 @@ async function $do49(client, request, options) {
|
|
|
49345
49362
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
49346
49363
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
49347
49364
|
const context = {
|
|
49365
|
+
options: client._options,
|
|
49348
49366
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
49349
49367
|
operationID: "multicall_aave_loop",
|
|
49350
49368
|
oAuth2Scopes: [],
|
|
@@ -49360,6 +49378,7 @@ async function $do49(client, request, options) {
|
|
|
49360
49378
|
path,
|
|
49361
49379
|
headers,
|
|
49362
49380
|
body,
|
|
49381
|
+
userAgent: client._options.userAgent,
|
|
49363
49382
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
49364
49383
|
}, options);
|
|
49365
49384
|
if (!requestRes.ok) {
|
|
@@ -49456,6 +49475,7 @@ async function $do50(client, request, options) {
|
|
|
49456
49475
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
49457
49476
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
49458
49477
|
const context = {
|
|
49478
|
+
options: client._options,
|
|
49459
49479
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
49460
49480
|
operationID: "multicall_authorization",
|
|
49461
49481
|
oAuth2Scopes: [],
|
|
@@ -49471,6 +49491,7 @@ async function $do50(client, request, options) {
|
|
|
49471
49491
|
path,
|
|
49472
49492
|
headers,
|
|
49473
49493
|
body,
|
|
49494
|
+
userAgent: client._options.userAgent,
|
|
49474
49495
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
49475
49496
|
}, options);
|
|
49476
49497
|
if (!requestRes.ok) {
|
|
@@ -49562,6 +49583,7 @@ async function $do51(client, request, options) {
|
|
|
49562
49583
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
49563
49584
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
49564
49585
|
const context = {
|
|
49586
|
+
options: client._options,
|
|
49565
49587
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
49566
49588
|
operationID: "multicall_execute",
|
|
49567
49589
|
oAuth2Scopes: [],
|
|
@@ -49577,6 +49599,7 @@ async function $do51(client, request, options) {
|
|
|
49577
49599
|
path,
|
|
49578
49600
|
headers,
|
|
49579
49601
|
body,
|
|
49602
|
+
userAgent: client._options.userAgent,
|
|
49580
49603
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
49581
49604
|
}, options);
|
|
49582
49605
|
if (!requestRes.ok) {
|
|
@@ -49668,6 +49691,7 @@ async function $do52(client, request, options) {
|
|
|
49668
49691
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
49669
49692
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
49670
49693
|
const context = {
|
|
49694
|
+
options: client._options,
|
|
49671
49695
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
49672
49696
|
operationID: "uniswap_liquidity_provision_increase",
|
|
49673
49697
|
oAuth2Scopes: [],
|
|
@@ -49683,6 +49707,7 @@ async function $do52(client, request, options) {
|
|
|
49683
49707
|
path,
|
|
49684
49708
|
headers,
|
|
49685
49709
|
body,
|
|
49710
|
+
userAgent: client._options.userAgent,
|
|
49686
49711
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
49687
49712
|
}, options);
|
|
49688
49713
|
if (!requestRes.ok) {
|
|
@@ -49781,6 +49806,7 @@ async function $do53(client, request, options) {
|
|
|
49781
49806
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
49782
49807
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
49783
49808
|
const context = {
|
|
49809
|
+
options: client._options,
|
|
49784
49810
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
49785
49811
|
operationID: "uniswap_liquidity_provision_in_range",
|
|
49786
49812
|
oAuth2Scopes: [],
|
|
@@ -49797,6 +49823,7 @@ async function $do53(client, request, options) {
|
|
|
49797
49823
|
headers,
|
|
49798
49824
|
query,
|
|
49799
49825
|
body,
|
|
49826
|
+
userAgent: client._options.userAgent,
|
|
49800
49827
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
49801
49828
|
}, options);
|
|
49802
49829
|
if (!requestRes.ok) {
|
|
@@ -49891,6 +49918,7 @@ async function $do54(client, request, options) {
|
|
|
49891
49918
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
49892
49919
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
49893
49920
|
const context = {
|
|
49921
|
+
options: client._options,
|
|
49894
49922
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
49895
49923
|
operationID: "uniswap_liquidity_provision_mint",
|
|
49896
49924
|
oAuth2Scopes: [],
|
|
@@ -49906,6 +49934,7 @@ async function $do54(client, request, options) {
|
|
|
49906
49934
|
path,
|
|
49907
49935
|
headers,
|
|
49908
49936
|
body,
|
|
49937
|
+
userAgent: client._options.userAgent,
|
|
49909
49938
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
49910
49939
|
}, options);
|
|
49911
49940
|
if (!requestRes.ok) {
|
|
@@ -50004,6 +50033,7 @@ async function $do55(client, request, options) {
|
|
|
50004
50033
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
50005
50034
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
50006
50035
|
const context = {
|
|
50036
|
+
options: client._options,
|
|
50007
50037
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
50008
50038
|
operationID: "uniswap_liquidity_provision_positions",
|
|
50009
50039
|
oAuth2Scopes: [],
|
|
@@ -50020,6 +50050,7 @@ async function $do55(client, request, options) {
|
|
|
50020
50050
|
headers,
|
|
50021
50051
|
query,
|
|
50022
50052
|
body,
|
|
50053
|
+
userAgent: client._options.userAgent,
|
|
50023
50054
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
50024
50055
|
}, options);
|
|
50025
50056
|
if (!requestRes.ok) {
|
|
@@ -50113,6 +50144,7 @@ async function $do56(client, request, options) {
|
|
|
50113
50144
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
50114
50145
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
50115
50146
|
const context = {
|
|
50147
|
+
options: client._options,
|
|
50116
50148
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
50117
50149
|
operationID: "uniswap_liquidity_provision_withdraw",
|
|
50118
50150
|
oAuth2Scopes: [],
|
|
@@ -50128,6 +50160,7 @@ async function $do56(client, request, options) {
|
|
|
50128
50160
|
path,
|
|
50129
50161
|
headers,
|
|
50130
50162
|
body,
|
|
50163
|
+
userAgent: client._options.userAgent,
|
|
50131
50164
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
50132
50165
|
}, options);
|
|
50133
50166
|
if (!requestRes.ok) {
|
|
@@ -50229,6 +50262,7 @@ async function $do57(client, request, options) {
|
|
|
50229
50262
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
50230
50263
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
50231
50264
|
const context = {
|
|
50265
|
+
options: client._options,
|
|
50232
50266
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
50233
50267
|
operationID: "uniswap_pool_price",
|
|
50234
50268
|
oAuth2Scopes: [],
|
|
@@ -50245,6 +50279,7 @@ async function $do57(client, request, options) {
|
|
|
50245
50279
|
headers,
|
|
50246
50280
|
query,
|
|
50247
50281
|
body,
|
|
50282
|
+
userAgent: client._options.userAgent,
|
|
50248
50283
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
50249
50284
|
}, options);
|
|
50250
50285
|
if (!requestRes.ok) {
|
|
@@ -50341,6 +50376,7 @@ async function $do58(client, request, options) {
|
|
|
50341
50376
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
50342
50377
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
50343
50378
|
const context = {
|
|
50379
|
+
options: client._options,
|
|
50344
50380
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
50345
50381
|
operationID: "uniswap_quote_buy_exactly",
|
|
50346
50382
|
oAuth2Scopes: [],
|
|
@@ -50357,6 +50393,7 @@ async function $do58(client, request, options) {
|
|
|
50357
50393
|
headers,
|
|
50358
50394
|
query,
|
|
50359
50395
|
body,
|
|
50396
|
+
userAgent: client._options.userAgent,
|
|
50360
50397
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
50361
50398
|
}, options);
|
|
50362
50399
|
if (!requestRes.ok) {
|
|
@@ -50455,6 +50492,7 @@ async function $do59(client, request, options) {
|
|
|
50455
50492
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
50456
50493
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
50457
50494
|
const context = {
|
|
50495
|
+
options: client._options,
|
|
50458
50496
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
50459
50497
|
operationID: "uniswap_quote_sell_exactly",
|
|
50460
50498
|
oAuth2Scopes: [],
|
|
@@ -50471,6 +50509,7 @@ async function $do59(client, request, options) {
|
|
|
50471
50509
|
headers,
|
|
50472
50510
|
query,
|
|
50473
50511
|
body,
|
|
50512
|
+
userAgent: client._options.userAgent,
|
|
50474
50513
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
50475
50514
|
}, options);
|
|
50476
50515
|
if (!requestRes.ok) {
|
|
@@ -50562,6 +50601,7 @@ async function $do60(client, request, options) {
|
|
|
50562
50601
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
50563
50602
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
50564
50603
|
const context = {
|
|
50604
|
+
options: client._options,
|
|
50565
50605
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
50566
50606
|
operationID: "uniswap_swap_buy_exactly",
|
|
50567
50607
|
oAuth2Scopes: [],
|
|
@@ -50577,6 +50617,7 @@ async function $do60(client, request, options) {
|
|
|
50577
50617
|
path,
|
|
50578
50618
|
headers,
|
|
50579
50619
|
body,
|
|
50620
|
+
userAgent: client._options.userAgent,
|
|
50580
50621
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
50581
50622
|
}, options);
|
|
50582
50623
|
if (!requestRes.ok) {
|
|
@@ -50669,6 +50710,7 @@ async function $do61(client, request, options) {
|
|
|
50669
50710
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
50670
50711
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
50671
50712
|
const context = {
|
|
50713
|
+
options: client._options,
|
|
50672
50714
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
50673
50715
|
operationID: "uniswap_swap_sell_exactly",
|
|
50674
50716
|
oAuth2Scopes: [],
|
|
@@ -50684,6 +50726,7 @@ async function $do61(client, request, options) {
|
|
|
50684
50726
|
path,
|
|
50685
50727
|
headers,
|
|
50686
50728
|
body,
|
|
50729
|
+
userAgent: client._options.userAgent,
|
|
50687
50730
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
50688
50731
|
}, options);
|
|
50689
50732
|
if (!requestRes.ok) {
|
|
@@ -50782,6 +50825,7 @@ async function $do62(client, request, options) {
|
|
|
50782
50825
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
50783
50826
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
50784
50827
|
const context = {
|
|
50828
|
+
options: client._options,
|
|
50785
50829
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
50786
50830
|
operationID: "generic_allowance",
|
|
50787
50831
|
oAuth2Scopes: [],
|
|
@@ -50798,6 +50842,7 @@ async function $do62(client, request, options) {
|
|
|
50798
50842
|
headers,
|
|
50799
50843
|
query,
|
|
50800
50844
|
body,
|
|
50845
|
+
userAgent: client._options.userAgent,
|
|
50801
50846
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
50802
50847
|
}, options);
|
|
50803
50848
|
if (!requestRes.ok) {
|
|
@@ -50891,6 +50936,7 @@ async function $do63(client, request, options) {
|
|
|
50891
50936
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
50892
50937
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
50893
50938
|
const context = {
|
|
50939
|
+
options: client._options,
|
|
50894
50940
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
50895
50941
|
operationID: "generic_allowance_set",
|
|
50896
50942
|
oAuth2Scopes: [],
|
|
@@ -50906,6 +50952,7 @@ async function $do63(client, request, options) {
|
|
|
50906
50952
|
path,
|
|
50907
50953
|
headers,
|
|
50908
50954
|
body,
|
|
50955
|
+
userAgent: client._options.userAgent,
|
|
50909
50956
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
50910
50957
|
}, options);
|
|
50911
50958
|
if (!requestRes.ok) {
|
|
@@ -50954,7 +51001,7 @@ var init_universalAllowanceSet2 = __esm(() => {
|
|
|
50954
51001
|
};
|
|
50955
51002
|
tool$universalAllowanceSet = {
|
|
50956
51003
|
name: "universal-allowance-set",
|
|
50957
|
-
description: `Set Allowance
|
|
51004
|
+
description: `Set Allowance (symbol)
|
|
50958
51005
|
|
|
50959
51006
|
This endpoint allows users to modify the token allowance for a specific protocol.
|
|
50960
51007
|
|
|
@@ -51002,6 +51049,7 @@ async function $do64(client, request, options) {
|
|
|
51002
51049
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
51003
51050
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
51004
51051
|
const context = {
|
|
51052
|
+
options: client._options,
|
|
51005
51053
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
51006
51054
|
operationID: "generic_ens",
|
|
51007
51055
|
oAuth2Scopes: [],
|
|
@@ -51018,6 +51066,7 @@ async function $do64(client, request, options) {
|
|
|
51018
51066
|
headers,
|
|
51019
51067
|
query,
|
|
51020
51068
|
body,
|
|
51069
|
+
userAgent: client._options.userAgent,
|
|
51021
51070
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
51022
51071
|
}, options);
|
|
51023
51072
|
if (!requestRes.ok) {
|
|
@@ -51112,6 +51161,7 @@ async function $do65(client, request, options) {
|
|
|
51112
51161
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
51113
51162
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
51114
51163
|
const context = {
|
|
51164
|
+
options: client._options,
|
|
51115
51165
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
51116
51166
|
operationID: "generic_portfolio",
|
|
51117
51167
|
oAuth2Scopes: [],
|
|
@@ -51128,6 +51178,7 @@ async function $do65(client, request, options) {
|
|
|
51128
51178
|
headers,
|
|
51129
51179
|
query,
|
|
51130
51180
|
body,
|
|
51181
|
+
userAgent: client._options.userAgent,
|
|
51131
51182
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
51132
51183
|
}, options);
|
|
51133
51184
|
if (!requestRes.ok) {
|
|
@@ -51221,6 +51272,7 @@ async function $do66(client, request, options) {
|
|
|
51221
51272
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
51222
51273
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
51223
51274
|
const context = {
|
|
51275
|
+
options: client._options,
|
|
51224
51276
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
51225
51277
|
operationID: "generic_supported_tokens",
|
|
51226
51278
|
oAuth2Scopes: [],
|
|
@@ -51237,6 +51289,7 @@ async function $do66(client, request, options) {
|
|
|
51237
51289
|
headers,
|
|
51238
51290
|
query,
|
|
51239
51291
|
body,
|
|
51292
|
+
userAgent: client._options.userAgent,
|
|
51240
51293
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
51241
51294
|
}, options);
|
|
51242
51295
|
if (!requestRes.ok) {
|
|
@@ -51324,6 +51377,7 @@ async function $do67(client, request, options) {
|
|
|
51324
51377
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
51325
51378
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
51326
51379
|
const context = {
|
|
51380
|
+
options: client._options,
|
|
51327
51381
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
51328
51382
|
operationID: "generic_unwrap_weth",
|
|
51329
51383
|
oAuth2Scopes: [],
|
|
@@ -51339,6 +51393,7 @@ async function $do67(client, request, options) {
|
|
|
51339
51393
|
path,
|
|
51340
51394
|
headers,
|
|
51341
51395
|
body,
|
|
51396
|
+
userAgent: client._options.userAgent,
|
|
51342
51397
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
51343
51398
|
}, options);
|
|
51344
51399
|
if (!requestRes.ok) {
|
|
@@ -51430,6 +51485,7 @@ async function $do68(client, request, options) {
|
|
|
51430
51485
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
51431
51486
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
51432
51487
|
const context = {
|
|
51488
|
+
options: client._options,
|
|
51433
51489
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
51434
51490
|
operationID: "generic_visualize_portfolio",
|
|
51435
51491
|
oAuth2Scopes: [],
|
|
@@ -51446,6 +51502,7 @@ async function $do68(client, request, options) {
|
|
|
51446
51502
|
headers,
|
|
51447
51503
|
query,
|
|
51448
51504
|
body,
|
|
51505
|
+
userAgent: client._options.userAgent,
|
|
51449
51506
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
51450
51507
|
}, options);
|
|
51451
51508
|
if (!requestRes.ok) {
|
|
@@ -51537,6 +51594,7 @@ async function $do69(client, request, options) {
|
|
|
51537
51594
|
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
51538
51595
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
51539
51596
|
const context = {
|
|
51597
|
+
options: client._options,
|
|
51540
51598
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
51541
51599
|
operationID: "generic_wrap_eth",
|
|
51542
51600
|
oAuth2Scopes: [],
|
|
@@ -51552,6 +51610,7 @@ async function $do69(client, request, options) {
|
|
|
51552
51610
|
path,
|
|
51553
51611
|
headers,
|
|
51554
51612
|
body,
|
|
51613
|
+
userAgent: client._options.userAgent,
|
|
51555
51614
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
51556
51615
|
}, options);
|
|
51557
51616
|
if (!requestRes.ok) {
|
|
@@ -51623,7 +51682,7 @@ it to be traded on DeFi protocols.`,
|
|
|
51623
51682
|
function createMCPServer(deps) {
|
|
51624
51683
|
const server = new McpServer({
|
|
51625
51684
|
name: "CompassApiSDK",
|
|
51626
|
-
version: "0.
|
|
51685
|
+
version: "0.3.0"
|
|
51627
51686
|
});
|
|
51628
51687
|
const client = new CompassApiSDKCore({
|
|
51629
51688
|
apiKeyAuth: deps.apiKeyAuth,
|
|
@@ -52972,7 +53031,7 @@ var routes = an({
|
|
|
52972
53031
|
var app = He(routes, {
|
|
52973
53032
|
name: "mcp",
|
|
52974
53033
|
versionInfo: {
|
|
52975
|
-
currentVersion: "0.
|
|
53034
|
+
currentVersion: "0.3.0"
|
|
52976
53035
|
}
|
|
52977
53036
|
});
|
|
52978
53037
|
zt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -52980,5 +53039,5 @@ export {
|
|
|
52980
53039
|
app
|
|
52981
53040
|
};
|
|
52982
53041
|
|
|
52983
|
-
//# debugId=
|
|
53042
|
+
//# debugId=D69703958E100F5564756E2164756E21
|
|
52984
53043
|
//# sourceMappingURL=mcp-server.js.map
|