@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
|
@@ -111,6 +111,7 @@ async function $do(
|
|
|
111
111
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
112
112
|
|
|
113
113
|
const context = {
|
|
114
|
+
options: client._options,
|
|
114
115
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
115
116
|
operationID: "aave_historical_transactions",
|
|
116
117
|
oAuth2Scopes: [],
|
|
@@ -132,6 +133,7 @@ async function $do(
|
|
|
132
133
|
headers: headers,
|
|
133
134
|
query: query,
|
|
134
135
|
body: body,
|
|
136
|
+
userAgent: client._options.userAgent,
|
|
135
137
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
136
138
|
}, options);
|
|
137
139
|
if (!requestRes.ok) {
|
|
@@ -116,6 +116,7 @@ async function $do(
|
|
|
116
116
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
117
117
|
|
|
118
118
|
const context = {
|
|
119
|
+
options: client._options,
|
|
119
120
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
120
121
|
operationID: "aave_liquidity_change",
|
|
121
122
|
oAuth2Scopes: [],
|
|
@@ -137,6 +138,7 @@ async function $do(
|
|
|
137
138
|
headers: headers,
|
|
138
139
|
query: query,
|
|
139
140
|
body: body,
|
|
141
|
+
userAgent: client._options.userAgent,
|
|
140
142
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
141
143
|
}, options);
|
|
142
144
|
if (!requestRes.ok) {
|
package/src/funcs/aaveV3Rate.ts
CHANGED
|
@@ -116,6 +116,7 @@ async function $do(
|
|
|
116
116
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
117
117
|
|
|
118
118
|
const context = {
|
|
119
|
+
options: client._options,
|
|
119
120
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
120
121
|
operationID: "aave_rate",
|
|
121
122
|
oAuth2Scopes: [],
|
|
@@ -137,6 +138,7 @@ async function $do(
|
|
|
137
138
|
headers: headers,
|
|
138
139
|
query: query,
|
|
139
140
|
body: body,
|
|
141
|
+
userAgent: client._options.userAgent,
|
|
140
142
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
141
143
|
}, options);
|
|
142
144
|
if (!requestRes.ok) {
|
package/src/funcs/aaveV3Repay.ts
CHANGED
|
@@ -104,6 +104,7 @@ async function $do(
|
|
|
104
104
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
105
105
|
|
|
106
106
|
const context = {
|
|
107
|
+
options: client._options,
|
|
107
108
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
108
109
|
operationID: "aave_repay",
|
|
109
110
|
oAuth2Scopes: [],
|
|
@@ -124,6 +125,7 @@ async function $do(
|
|
|
124
125
|
path: path,
|
|
125
126
|
headers: headers,
|
|
126
127
|
body: body,
|
|
128
|
+
userAgent: client._options.userAgent,
|
|
127
129
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
128
130
|
}, options);
|
|
129
131
|
if (!requestRes.ok) {
|
|
@@ -109,6 +109,7 @@ async function $do(
|
|
|
109
109
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
110
110
|
|
|
111
111
|
const context = {
|
|
112
|
+
options: client._options,
|
|
112
113
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
113
114
|
operationID: "aave_reserve_overview",
|
|
114
115
|
oAuth2Scopes: [],
|
|
@@ -130,6 +131,7 @@ async function $do(
|
|
|
130
131
|
headers: headers,
|
|
131
132
|
query: query,
|
|
132
133
|
body: body,
|
|
134
|
+
userAgent: client._options.userAgent,
|
|
133
135
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
134
136
|
}, options);
|
|
135
137
|
if (!requestRes.ok) {
|
|
@@ -105,6 +105,7 @@ async function $do(
|
|
|
105
105
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
106
106
|
|
|
107
107
|
const context = {
|
|
108
|
+
options: client._options,
|
|
108
109
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
109
110
|
operationID: "aave_std_rate",
|
|
110
111
|
oAuth2Scopes: [],
|
|
@@ -126,6 +127,7 @@ async function $do(
|
|
|
126
127
|
headers: headers,
|
|
127
128
|
query: query,
|
|
128
129
|
body: body,
|
|
130
|
+
userAgent: client._options.userAgent,
|
|
129
131
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
130
132
|
}, options);
|
|
131
133
|
if (!requestRes.ok) {
|
|
@@ -105,6 +105,7 @@ async function $do(
|
|
|
105
105
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
106
106
|
|
|
107
107
|
const context = {
|
|
108
|
+
options: client._options,
|
|
108
109
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
109
110
|
operationID: "aave_supply",
|
|
110
111
|
oAuth2Scopes: [],
|
|
@@ -125,6 +126,7 @@ async function $do(
|
|
|
125
126
|
path: path,
|
|
126
127
|
headers: headers,
|
|
127
128
|
body: body,
|
|
129
|
+
userAgent: client._options.userAgent,
|
|
128
130
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
129
131
|
}, options);
|
|
130
132
|
if (!requestRes.ok) {
|
|
@@ -110,6 +110,7 @@ async function $do(
|
|
|
110
110
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
111
111
|
|
|
112
112
|
const context = {
|
|
113
|
+
options: client._options,
|
|
113
114
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
114
115
|
operationID: "aave_token_price",
|
|
115
116
|
oAuth2Scopes: [],
|
|
@@ -131,6 +132,7 @@ async function $do(
|
|
|
131
132
|
headers: headers,
|
|
132
133
|
query: query,
|
|
133
134
|
body: body,
|
|
135
|
+
userAgent: client._options.userAgent,
|
|
134
136
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
135
137
|
}, options);
|
|
136
138
|
if (!requestRes.ok) {
|
|
@@ -113,6 +113,7 @@ async function $do(
|
|
|
113
113
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
114
114
|
|
|
115
115
|
const context = {
|
|
116
|
+
options: client._options,
|
|
116
117
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
117
118
|
operationID: "aave_user_position_per_token",
|
|
118
119
|
oAuth2Scopes: [],
|
|
@@ -134,6 +135,7 @@ async function $do(
|
|
|
134
135
|
headers: headers,
|
|
135
136
|
query: query,
|
|
136
137
|
body: body,
|
|
138
|
+
userAgent: client._options.userAgent,
|
|
137
139
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
138
140
|
}, options);
|
|
139
141
|
if (!requestRes.ok) {
|
|
@@ -111,6 +111,7 @@ async function $do(
|
|
|
111
111
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
112
112
|
|
|
113
113
|
const context = {
|
|
114
|
+
options: client._options,
|
|
114
115
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
115
116
|
operationID: "aave_user_position_summary",
|
|
116
117
|
oAuth2Scopes: [],
|
|
@@ -132,6 +133,7 @@ async function $do(
|
|
|
132
133
|
headers: headers,
|
|
133
134
|
query: query,
|
|
134
135
|
body: body,
|
|
136
|
+
userAgent: client._options.userAgent,
|
|
135
137
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
136
138
|
}, options);
|
|
137
139
|
if (!requestRes.ok) {
|
|
@@ -105,6 +105,7 @@ async function $do(
|
|
|
105
105
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
106
106
|
|
|
107
107
|
const context = {
|
|
108
|
+
options: client._options,
|
|
108
109
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
109
110
|
operationID: "aave_withdraw",
|
|
110
111
|
oAuth2Scopes: [],
|
|
@@ -125,6 +126,7 @@ async function $do(
|
|
|
125
126
|
path: path,
|
|
126
127
|
headers: headers,
|
|
127
128
|
body: body,
|
|
129
|
+
userAgent: client._options.userAgent,
|
|
128
130
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
129
131
|
}, options);
|
|
130
132
|
if (!requestRes.ok) {
|
|
@@ -112,6 +112,7 @@ async function $do(
|
|
|
112
112
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
113
113
|
|
|
114
114
|
const context = {
|
|
115
|
+
options: client._options,
|
|
115
116
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
116
117
|
operationID: "aerodrome_slipstream_liquidity_provision_increase",
|
|
117
118
|
oAuth2Scopes: [],
|
|
@@ -132,6 +133,7 @@ async function $do(
|
|
|
132
133
|
path: path,
|
|
133
134
|
headers: headers,
|
|
134
135
|
body: body,
|
|
136
|
+
userAgent: client._options.userAgent,
|
|
135
137
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
136
138
|
}, options);
|
|
137
139
|
if (!requestRes.ok) {
|
|
@@ -109,6 +109,7 @@ async function $do(
|
|
|
109
109
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
110
110
|
|
|
111
111
|
const context = {
|
|
112
|
+
options: client._options,
|
|
112
113
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
113
114
|
operationID: "aerodrome_slipstream_liquidity_provision_mint",
|
|
114
115
|
oAuth2Scopes: [],
|
|
@@ -129,6 +130,7 @@ async function $do(
|
|
|
129
130
|
path: path,
|
|
130
131
|
headers: headers,
|
|
131
132
|
body: body,
|
|
133
|
+
userAgent: client._options.userAgent,
|
|
132
134
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
133
135
|
}, options);
|
|
134
136
|
if (!requestRes.ok) {
|
|
@@ -116,6 +116,7 @@ async function $do(
|
|
|
116
116
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
117
117
|
|
|
118
118
|
const context = {
|
|
119
|
+
options: client._options,
|
|
119
120
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
120
121
|
operationID: "aerodrome_slipstream_liquidity_provision_positions",
|
|
121
122
|
oAuth2Scopes: [],
|
|
@@ -137,6 +138,7 @@ async function $do(
|
|
|
137
138
|
headers: headers,
|
|
138
139
|
query: query,
|
|
139
140
|
body: body,
|
|
141
|
+
userAgent: client._options.userAgent,
|
|
140
142
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
141
143
|
}, options);
|
|
142
144
|
if (!requestRes.ok) {
|
|
@@ -112,6 +112,7 @@ async function $do(
|
|
|
112
112
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
113
113
|
|
|
114
114
|
const context = {
|
|
115
|
+
options: client._options,
|
|
115
116
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
116
117
|
operationID: "aerodrome_slipstream_liquidity_provision_withdraw",
|
|
117
118
|
oAuth2Scopes: [],
|
|
@@ -132,6 +133,7 @@ async function $do(
|
|
|
132
133
|
path: path,
|
|
133
134
|
headers: headers,
|
|
134
135
|
body: body,
|
|
136
|
+
userAgent: client._options.userAgent,
|
|
135
137
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
136
138
|
}, options);
|
|
137
139
|
if (!requestRes.ok) {
|
|
@@ -113,6 +113,7 @@ async function $do(
|
|
|
113
113
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
114
114
|
|
|
115
115
|
const context = {
|
|
116
|
+
options: client._options,
|
|
116
117
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
117
118
|
operationID: "aerodrome_slipstream_pool_price",
|
|
118
119
|
oAuth2Scopes: [],
|
|
@@ -134,6 +135,7 @@ async function $do(
|
|
|
134
135
|
headers: headers,
|
|
135
136
|
query: query,
|
|
136
137
|
body: body,
|
|
138
|
+
userAgent: client._options.userAgent,
|
|
137
139
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
138
140
|
}, options);
|
|
139
141
|
if (!requestRes.ok) {
|
|
@@ -109,6 +109,7 @@ async function $do(
|
|
|
109
109
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
110
110
|
|
|
111
111
|
const context = {
|
|
112
|
+
options: client._options,
|
|
112
113
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
113
114
|
operationID: "aerodrome_slipstream_swap_buy_exactly",
|
|
114
115
|
oAuth2Scopes: [],
|
|
@@ -129,6 +130,7 @@ async function $do(
|
|
|
129
130
|
path: path,
|
|
130
131
|
headers: headers,
|
|
131
132
|
body: body,
|
|
133
|
+
userAgent: client._options.userAgent,
|
|
132
134
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
133
135
|
}, options);
|
|
134
136
|
if (!requestRes.ok) {
|
|
@@ -108,6 +108,7 @@ async function $do(
|
|
|
108
108
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
109
109
|
|
|
110
110
|
const context = {
|
|
111
|
+
options: client._options,
|
|
111
112
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
112
113
|
operationID: "aerodrome_slipstream_swap_sell_exactly",
|
|
113
114
|
oAuth2Scopes: [],
|
|
@@ -128,6 +129,7 @@ async function $do(
|
|
|
128
129
|
path: path,
|
|
129
130
|
headers: headers,
|
|
130
131
|
body: body,
|
|
132
|
+
userAgent: client._options.userAgent,
|
|
131
133
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
132
134
|
}, options);
|
|
133
135
|
if (!requestRes.ok) {
|
|
@@ -102,6 +102,7 @@ async function $do(
|
|
|
102
102
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
103
103
|
|
|
104
104
|
const context = {
|
|
105
|
+
options: client._options,
|
|
105
106
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
106
107
|
operationID: "morpho_allowance",
|
|
107
108
|
oAuth2Scopes: [],
|
|
@@ -122,6 +123,7 @@ async function $do(
|
|
|
122
123
|
path: path,
|
|
123
124
|
headers: headers,
|
|
124
125
|
body: body,
|
|
126
|
+
userAgent: client._options.userAgent,
|
|
125
127
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
126
128
|
}, options);
|
|
127
129
|
if (!requestRes.ok) {
|
|
@@ -105,6 +105,7 @@ async function $do(
|
|
|
105
105
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
106
106
|
|
|
107
107
|
const context = {
|
|
108
|
+
options: client._options,
|
|
108
109
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
109
110
|
operationID: "morpho_borrow",
|
|
110
111
|
oAuth2Scopes: [],
|
|
@@ -125,6 +126,7 @@ async function $do(
|
|
|
125
126
|
path: path,
|
|
126
127
|
headers: headers,
|
|
127
128
|
body: body,
|
|
129
|
+
userAgent: client._options.userAgent,
|
|
128
130
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
129
131
|
}, options);
|
|
130
132
|
if (!requestRes.ok) {
|
|
@@ -107,6 +107,7 @@ async function $do(
|
|
|
107
107
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
108
108
|
|
|
109
109
|
const context = {
|
|
110
|
+
options: client._options,
|
|
110
111
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
111
112
|
operationID: "morpho_deposit",
|
|
112
113
|
oAuth2Scopes: [],
|
|
@@ -127,6 +128,7 @@ async function $do(
|
|
|
127
128
|
path: path,
|
|
128
129
|
headers: headers,
|
|
129
130
|
body: body,
|
|
131
|
+
userAgent: client._options.userAgent,
|
|
130
132
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
131
133
|
}, options);
|
|
132
134
|
if (!requestRes.ok) {
|
|
@@ -112,6 +112,7 @@ async function $do(
|
|
|
112
112
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
113
113
|
|
|
114
114
|
const context = {
|
|
115
|
+
options: client._options,
|
|
115
116
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
116
117
|
operationID: "morpho_market",
|
|
117
118
|
oAuth2Scopes: [],
|
|
@@ -133,6 +134,7 @@ async function $do(
|
|
|
133
134
|
headers: headers,
|
|
134
135
|
query: query,
|
|
135
136
|
body: body,
|
|
137
|
+
userAgent: client._options.userAgent,
|
|
136
138
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
137
139
|
}, options);
|
|
138
140
|
if (!requestRes.ok) {
|
|
@@ -106,6 +106,7 @@ async function $do(
|
|
|
106
106
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
107
107
|
|
|
108
108
|
const context = {
|
|
109
|
+
options: client._options,
|
|
109
110
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
110
111
|
operationID: "morpho_market_position",
|
|
111
112
|
oAuth2Scopes: [],
|
|
@@ -127,6 +128,7 @@ async function $do(
|
|
|
127
128
|
headers: headers,
|
|
128
129
|
query: query,
|
|
129
130
|
body: body,
|
|
131
|
+
userAgent: client._options.userAgent,
|
|
130
132
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
131
133
|
}, options);
|
|
132
134
|
if (!requestRes.ok) {
|
|
@@ -107,6 +107,7 @@ async function $do(
|
|
|
107
107
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
108
108
|
|
|
109
109
|
const context = {
|
|
110
|
+
options: client._options,
|
|
110
111
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
111
112
|
operationID: "morpho_markets",
|
|
112
113
|
oAuth2Scopes: [],
|
|
@@ -128,6 +129,7 @@ async function $do(
|
|
|
128
129
|
headers: headers,
|
|
129
130
|
query: query,
|
|
130
131
|
body: body,
|
|
132
|
+
userAgent: client._options.userAgent,
|
|
131
133
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
132
134
|
}, options);
|
|
133
135
|
if (!requestRes.ok) {
|
package/src/funcs/morphoRepay.ts
CHANGED
|
@@ -102,6 +102,7 @@ async function $do(
|
|
|
102
102
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
103
103
|
|
|
104
104
|
const context = {
|
|
105
|
+
options: client._options,
|
|
105
106
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
106
107
|
operationID: "morpho_repay",
|
|
107
108
|
oAuth2Scopes: [],
|
|
@@ -122,6 +123,7 @@ async function $do(
|
|
|
122
123
|
path: path,
|
|
123
124
|
headers: headers,
|
|
124
125
|
body: body,
|
|
126
|
+
userAgent: client._options.userAgent,
|
|
125
127
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
126
128
|
}, options);
|
|
127
129
|
if (!requestRes.ok) {
|
|
@@ -103,6 +103,7 @@ async function $do(
|
|
|
103
103
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
104
104
|
|
|
105
105
|
const context = {
|
|
106
|
+
options: client._options,
|
|
106
107
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
107
108
|
operationID: "morpho_supply_collateral",
|
|
108
109
|
oAuth2Scopes: [],
|
|
@@ -123,6 +124,7 @@ async function $do(
|
|
|
123
124
|
path: path,
|
|
124
125
|
headers: headers,
|
|
125
126
|
body: body,
|
|
127
|
+
userAgent: client._options.userAgent,
|
|
126
128
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
127
129
|
}, options);
|
|
128
130
|
if (!requestRes.ok) {
|
|
@@ -106,6 +106,7 @@ async function $do(
|
|
|
106
106
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
107
107
|
|
|
108
108
|
const context = {
|
|
109
|
+
options: client._options,
|
|
109
110
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
110
111
|
operationID: "morpho_user_position",
|
|
111
112
|
oAuth2Scopes: [],
|
|
@@ -127,6 +128,7 @@ async function $do(
|
|
|
127
128
|
headers: headers,
|
|
128
129
|
query: query,
|
|
129
130
|
body: body,
|
|
131
|
+
userAgent: client._options.userAgent,
|
|
130
132
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
131
133
|
}, options);
|
|
132
134
|
if (!requestRes.ok) {
|
package/src/funcs/morphoVault.ts
CHANGED
|
@@ -110,6 +110,7 @@ async function $do(
|
|
|
110
110
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
111
111
|
|
|
112
112
|
const context = {
|
|
113
|
+
options: client._options,
|
|
113
114
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
114
115
|
operationID: "morpho_vault",
|
|
115
116
|
oAuth2Scopes: [],
|
|
@@ -131,6 +132,7 @@ async function $do(
|
|
|
131
132
|
headers: headers,
|
|
132
133
|
query: query,
|
|
133
134
|
body: body,
|
|
135
|
+
userAgent: client._options.userAgent,
|
|
134
136
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
135
137
|
}, options);
|
|
136
138
|
if (!requestRes.ok) {
|
|
@@ -106,6 +106,7 @@ async function $do(
|
|
|
106
106
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
107
107
|
|
|
108
108
|
const context = {
|
|
109
|
+
options: client._options,
|
|
109
110
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
110
111
|
operationID: "morpho_vault_position",
|
|
111
112
|
oAuth2Scopes: [],
|
|
@@ -127,6 +128,7 @@ async function $do(
|
|
|
127
128
|
headers: headers,
|
|
128
129
|
query: query,
|
|
129
130
|
body: body,
|
|
131
|
+
userAgent: client._options.userAgent,
|
|
130
132
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
131
133
|
}, options);
|
|
132
134
|
if (!requestRes.ok) {
|
|
@@ -107,6 +107,7 @@ async function $do(
|
|
|
107
107
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
108
108
|
|
|
109
109
|
const context = {
|
|
110
|
+
options: client._options,
|
|
110
111
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
111
112
|
operationID: "morpho_vaults",
|
|
112
113
|
oAuth2Scopes: [],
|
|
@@ -128,6 +129,7 @@ async function $do(
|
|
|
128
129
|
headers: headers,
|
|
129
130
|
query: query,
|
|
130
131
|
body: body,
|
|
132
|
+
userAgent: client._options.userAgent,
|
|
131
133
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
132
134
|
}, options);
|
|
133
135
|
if (!requestRes.ok) {
|
|
@@ -107,6 +107,7 @@ async function $do(
|
|
|
107
107
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
108
108
|
|
|
109
109
|
const context = {
|
|
110
|
+
options: client._options,
|
|
110
111
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
111
112
|
operationID: "morpho_withdraw",
|
|
112
113
|
oAuth2Scopes: [],
|
|
@@ -127,6 +128,7 @@ async function $do(
|
|
|
127
128
|
path: path,
|
|
128
129
|
headers: headers,
|
|
129
130
|
body: body,
|
|
131
|
+
userAgent: client._options.userAgent,
|
|
130
132
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
131
133
|
}, options);
|
|
132
134
|
if (!requestRes.ok) {
|
|
@@ -103,6 +103,7 @@ async function $do(
|
|
|
103
103
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
104
104
|
|
|
105
105
|
const context = {
|
|
106
|
+
options: client._options,
|
|
106
107
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
107
108
|
operationID: "morpho_withdraw_collateral",
|
|
108
109
|
oAuth2Scopes: [],
|
|
@@ -123,6 +124,7 @@ async function $do(
|
|
|
123
124
|
path: path,
|
|
124
125
|
headers: headers,
|
|
125
126
|
body: body,
|
|
127
|
+
userAgent: client._options.userAgent,
|
|
126
128
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
127
129
|
}, options);
|
|
128
130
|
if (!requestRes.ok) {
|
|
@@ -92,7 +92,6 @@ async function $do(
|
|
|
92
92
|
"block": payload.block,
|
|
93
93
|
"chain": payload.chain,
|
|
94
94
|
"market_address": payload.market_address,
|
|
95
|
-
"user_address": payload.user_address,
|
|
96
95
|
});
|
|
97
96
|
|
|
98
97
|
const headers = new Headers(compactMap({
|
|
@@ -104,6 +103,7 @@ async function $do(
|
|
|
104
103
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
105
104
|
|
|
106
105
|
const context = {
|
|
106
|
+
options: client._options,
|
|
107
107
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
108
108
|
operationID: "pendle_market",
|
|
109
109
|
oAuth2Scopes: [],
|
|
@@ -125,6 +125,7 @@ async function $do(
|
|
|
125
125
|
headers: headers,
|
|
126
126
|
query: query,
|
|
127
127
|
body: body,
|
|
128
|
+
userAgent: client._options.userAgent,
|
|
128
129
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
129
130
|
}, options);
|
|
130
131
|
if (!requestRes.ok) {
|
|
@@ -102,6 +102,7 @@ async function $do(
|
|
|
102
102
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
103
103
|
|
|
104
104
|
const context = {
|
|
105
|
+
options: client._options,
|
|
105
106
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
106
107
|
operationID: "pendle_markets",
|
|
107
108
|
oAuth2Scopes: [],
|
|
@@ -123,6 +124,7 @@ async function $do(
|
|
|
123
124
|
headers: headers,
|
|
124
125
|
query: query,
|
|
125
126
|
body: body,
|
|
127
|
+
userAgent: client._options.userAgent,
|
|
126
128
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
127
129
|
}, options);
|
|
128
130
|
if (!requestRes.ok) {
|
|
@@ -104,6 +104,7 @@ async function $do(
|
|
|
104
104
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
105
105
|
|
|
106
106
|
const context = {
|
|
107
|
+
options: client._options,
|
|
107
108
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
108
109
|
operationID: "pendle_position",
|
|
109
110
|
oAuth2Scopes: [],
|
|
@@ -125,6 +126,7 @@ async function $do(
|
|
|
125
126
|
headers: headers,
|
|
126
127
|
query: query,
|
|
127
128
|
body: body,
|
|
129
|
+
userAgent: client._options.userAgent,
|
|
128
130
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
129
131
|
}, options);
|
|
130
132
|
if (!requestRes.ok) {
|
|
@@ -103,6 +103,7 @@ async function $do(
|
|
|
103
103
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
104
104
|
|
|
105
105
|
const context = {
|
|
106
|
+
options: client._options,
|
|
106
107
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
107
108
|
operationID: "pendle_positions",
|
|
108
109
|
oAuth2Scopes: [],
|
|
@@ -124,6 +125,7 @@ async function $do(
|
|
|
124
125
|
headers: headers,
|
|
125
126
|
query: query,
|
|
126
127
|
body: body,
|
|
128
|
+
userAgent: client._options.userAgent,
|
|
127
129
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
128
130
|
}, options);
|
|
129
131
|
if (!requestRes.ok) {
|
package/src/funcs/skyBuy.ts
CHANGED
|
@@ -103,6 +103,7 @@ async function $do(
|
|
|
103
103
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
104
104
|
|
|
105
105
|
const context = {
|
|
106
|
+
options: client._options,
|
|
106
107
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
107
108
|
operationID: "sky_buy",
|
|
108
109
|
oAuth2Scopes: [],
|
|
@@ -123,6 +124,7 @@ async function $do(
|
|
|
123
124
|
path: path,
|
|
124
125
|
headers: headers,
|
|
125
126
|
body: body,
|
|
127
|
+
userAgent: client._options.userAgent,
|
|
126
128
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
127
129
|
}, options);
|
|
128
130
|
if (!requestRes.ok) {
|
package/src/funcs/skyDeposit.ts
CHANGED
|
@@ -99,6 +99,7 @@ async function $do(
|
|
|
99
99
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
100
100
|
|
|
101
101
|
const context = {
|
|
102
|
+
options: client._options,
|
|
102
103
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
103
104
|
operationID: "sky_deposit",
|
|
104
105
|
oAuth2Scopes: [],
|
|
@@ -119,6 +120,7 @@ async function $do(
|
|
|
119
120
|
path: path,
|
|
120
121
|
headers: headers,
|
|
121
122
|
body: body,
|
|
123
|
+
userAgent: client._options.userAgent,
|
|
122
124
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
123
125
|
}, options);
|
|
124
126
|
if (!requestRes.ok) {
|
package/src/funcs/skyPosition.ts
CHANGED
|
@@ -103,6 +103,7 @@ async function $do(
|
|
|
103
103
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
104
104
|
|
|
105
105
|
const context = {
|
|
106
|
+
options: client._options,
|
|
106
107
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
107
108
|
operationID: "sky_position",
|
|
108
109
|
oAuth2Scopes: [],
|
|
@@ -124,6 +125,7 @@ async function $do(
|
|
|
124
125
|
headers: headers,
|
|
125
126
|
query: query,
|
|
126
127
|
body: body,
|
|
128
|
+
userAgent: client._options.userAgent,
|
|
127
129
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
128
130
|
}, options);
|
|
129
131
|
if (!requestRes.ok) {
|