compass_api_sdk 0.9.44__tar.gz → 0.9.46__tar.gz
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.
Potentially problematic release.
This version of compass_api_sdk might be problematic. Click here for more details.
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/PKG-INFO +1 -1
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/pyproject.toml +1 -1
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/_version.py +2 -2
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/aave_v3.py +64 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/aerodrome_slipstream.py +80 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/erc_4626_vaults.py +32 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/__init__.py +3 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/token_priceop.py +19 -60
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/morpho.py +96 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/pendle.py +112 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/sky.py +84 -6
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/token_sdk.py +4 -4
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/uniswap_v3.py +80 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/README-PYPI.md +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/py.typed +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/__init__.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/_hooks/__init__.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/_hooks/sdkhooks.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/_hooks/types.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/basesdk.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/errors/__init__.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/errors/apierror.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/errors/compassapierror.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/errors/httpvalidationerror.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/errors/no_response_error.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/errors/responsevalidationerror.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/httpclient.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aave_avg_rateop.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aave_historical_transactionsop.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aave_liquidity_changeop.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aave_rateop.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aave_reserve_overviewop.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aave_std_rateop.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aave_token_priceop.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aave_user_position_per_tokenop.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aave_user_position_summaryop.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aaveavgrateresponse.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aaveborrowparams.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aaveborrowrequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aavehistoricaltransactionsresponse.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aaveliquiditychangeresponse.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aavelooprequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aaverateresponse.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aaverepayparams.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aaverepayrequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aavereserveoverviewresponse.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aavestdrateresponse.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aavesupplyparams.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aavesupplyrequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aavetokenpriceresponse.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aaveuserpositionpertokenresponse.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aaveuserpositionsummaryresponse.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aavewithdrawparams.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aavewithdrawrequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aerodrome_slipstream_liquidity_provision_positionsop.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aerodrome_slipstream_pool_priceop.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aerodromelppositionsresponse.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aerodromeposition.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aerodromeslipstreambuyexactlyparams.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aerodromeslipstreambuyexactlyrequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aerodromeslipstreamincreaseliquidityprovisionparams.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aerodromeslipstreamincreaseliquidityprovisionrequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aerodromeslipstreammintliquidityprovisionparams.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aerodromeslipstreammintliquidityprovisionrequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aerodromeslipstreampoolpriceresponse.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aerodromeslipstreamsellexactlyparams.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aerodromeslipstreamsellexactlyrequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aerodromeslipstreamwithdrawliquidityprovisionparams.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/aerodromeslipstreamwithdrawliquidityprovisionrequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/allowanceinforesponse.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/apy.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/batcheduseroperationsrequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/batcheduseroperationsresponse.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/borrow.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/chain.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/chaininfo.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/compass_api_backend_models_generic_read_response_portfolio_tokenbalance.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/compass_api_backend_models_morpho_read_response_check_user_position_apydata.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/compass_api_backend_models_morpho_read_response_check_user_position_asset.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/compass_api_backend_models_morpho_read_response_check_user_position_marketstate.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/compass_api_backend_models_morpho_read_response_check_user_position_vaultstate.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/compass_api_backend_models_morpho_read_response_get_market_apydata.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/compass_api_backend_models_morpho_read_response_get_market_asset.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/compass_api_backend_models_morpho_read_response_get_market_marketstate.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/compass_api_backend_models_morpho_read_response_get_markets_asset.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/compass_api_backend_models_morpho_read_response_get_markets_marketstate.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/compass_api_backend_models_morpho_read_response_get_vaults_asset.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/compass_api_backend_models_morpho_read_response_get_vaults_vaultstate.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/compass_api_backend_models_pendle_read_response_market_userposition.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/compass_api_backend_models_pendle_read_response_positions_tokenbalance.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/compass_api_backend_models_vaults_read_response_vault_asset.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/compass_api_backend_models_vaults_read_response_vault_userposition.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/details.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/ensnameinforesponse.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/erc20data.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/feeenum.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/generic_allowanceop.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/generic_ensop.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/generic_portfolioop.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/generic_supported_tokensop.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/generic_visualize_portfolioop.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/image.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/interestratemode.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/liquidationcall.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/lpbalance.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/market.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/marketposition.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/markettokens.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/morpho_market_positionop.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/morpho_marketop.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/morpho_marketsop.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/morpho_user_positionop.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/morpho_vaultop.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/morpho_vaultsop.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/morphoborrowparams.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/morphoborrowrequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/morphocheckmarketpositionresponse.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/morphocheckuserpositionresponse.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/morphodepositparams.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/morphodepositrequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/morphogetmarketresponse.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/morphogetmarketsresponse.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/morphogetvaultsresponse.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/morphomarket.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/morphorepayparams.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/morphorepayrequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/morphosupplycollateralparams.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/morphosupplycollateralrequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/morphovault.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/morphowithdrawcollateralparams.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/morphowithdrawcollateralrequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/morphowithdrawparams.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/morphowithdrawrequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/movement10percent.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/multicallauthorizationrequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/multicallauthorizationresponse.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/multicallexecuterequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/openposition.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/pendle_marketop.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/pendle_marketsop.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/pendle_positionsop.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/pendle_quoteop.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/pendleaddliquidityparams.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/pendleaddliquidityrequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/pendlebuyptparams.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/pendlebuyptrequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/pendlebuyytparams.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/pendlebuyytrequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/pendlegetmarketresponse.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/pendlegetquoteresponse.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/pendlelistmarketsresponse.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/pendlelistuserpositionsresponse.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/pendlemarket.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/pendleredeemyieldparams.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/pendleredeemyieldrequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/pendleremoveliquidityparams.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/pendleremoveliquidityrequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/pendlesellptparams.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/pendlesellptrequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/pendlesellytparams.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/pendlesellytrequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/portfolio.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/position.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/redeemunderlying.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/repay.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/reserve.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/security.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/setallowanceparams.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/setallowancerequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/signedauthorization.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/sky_positionop.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/skybuyparams.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/skybuyrequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/skycheckpositionresponse.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/skydepositparams.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/skydepositrequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/skysellparams.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/skysellrequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/skywithdrawparams.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/skywithdrawrequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/supply.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/swapborrowrate.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/syposition.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/token_addressop.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/token_balanceop.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/token_enum.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/tokenaddressresponse.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/tokenbalanceresponse.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/tokeninfo.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/tokenpriceresponse.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/tokentransfererc20params.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/tokentransferrequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/txresponse.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/uniswap_liquidity_provision_in_rangeop.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/uniswap_liquidity_provision_positionsop.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/uniswap_pool_priceop.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/uniswap_quote_buy_exactlyop.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/uniswap_quote_sell_exactlyop.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/uniswapbuyexactlyparams.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/uniswapbuyexactlyrequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/uniswapbuyquoteinforesponse.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/uniswapcheckinrangeresponse.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/uniswapincreaseliquidityprovisionparams.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/uniswapincreaseliquidityprovisionrequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/uniswaplppositionsinforesponse.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/uniswapmintliquidityprovisionparams.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/uniswapmintliquidityprovisionrequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/uniswappoolpriceresponse.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/uniswappositionssolidityresponse.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/uniswapsellexactlyparams.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/uniswapsellexactlyrequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/uniswapsellquoteinforesponse.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/uniswapwithdrawliquidityprovisionparams.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/uniswapwithdrawliquidityprovisionrequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/unsignedmulticalltransaction.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/unsignedtransaction.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/unwrapwethparams.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/unwrapwethrequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/usageascollateral.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/useroperation.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/useroperationresponse.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/userstate.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/validationerror.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/vault.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/vaultdepositrequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/vaultgetvaultresponse.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/vaultposition.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/vaults_vaultop.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/vaultwithdrawrequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/weeklyapys.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/wrapethparams.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/wrapethrequest.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/yieldrange.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/py.typed +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/sdk.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/sdkconfiguration.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/smart_account.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/transaction_bundler.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/types/__init__.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/types/basemodel.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/universal.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/utils/__init__.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/utils/annotations.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/utils/datetimes.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/utils/enums.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/utils/eventstreaming.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/utils/forms.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/utils/headers.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/utils/logger.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/utils/metadata.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/utils/queryparams.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/utils/requestbodies.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/utils/retries.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/utils/security.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/utils/serializers.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/utils/unmarshal_json_response.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/utils/url.py +0 -0
- {compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/utils/values.py +0 -0
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import importlib.metadata
|
|
4
4
|
|
|
5
5
|
__title__: str = "compass_api_sdk"
|
|
6
|
-
__version__: str = "0.9.
|
|
6
|
+
__version__: str = "0.9.46"
|
|
7
7
|
__openapi_doc_version__: str = "0.0.1"
|
|
8
8
|
__gen_version__: str = "2.656.5"
|
|
9
|
-
__user_agent__: str = "speakeasy-sdk/python 0.9.
|
|
9
|
+
__user_agent__: str = "speakeasy-sdk/python 0.9.46 2.656.5 0.0.1 compass_api_sdk"
|
|
10
10
|
|
|
11
11
|
try:
|
|
12
12
|
if __package__ is not None:
|
|
@@ -1863,6 +1863,14 @@ class AaveV3(BaseSDK):
|
|
|
1863
1863
|
Overall, this endpoint is a critical component for users looking to maximize their
|
|
1864
1864
|
asset utility within the AAVEv3 ecosystem, providing both earning potential and
|
|
1865
1865
|
borrowing flexibility.
|
|
1866
|
+
<Info>
|
|
1867
|
+
**Required Allowances**
|
|
1868
|
+
|
|
1869
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
1870
|
+
|
|
1871
|
+
- `AaveV3Pool`
|
|
1872
|
+
</Info>
|
|
1873
|
+
|
|
1866
1874
|
|
|
1867
1875
|
:param token: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
|
|
1868
1876
|
:param amount: The amount of the asset to supply
|
|
@@ -1975,6 +1983,14 @@ class AaveV3(BaseSDK):
|
|
|
1975
1983
|
Overall, this endpoint is a critical component for users looking to maximize their
|
|
1976
1984
|
asset utility within the AAVEv3 ecosystem, providing both earning potential and
|
|
1977
1985
|
borrowing flexibility.
|
|
1986
|
+
<Info>
|
|
1987
|
+
**Required Allowances**
|
|
1988
|
+
|
|
1989
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
1990
|
+
|
|
1991
|
+
- `AaveV3Pool`
|
|
1992
|
+
</Info>
|
|
1993
|
+
|
|
1978
1994
|
|
|
1979
1995
|
:param token: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
|
|
1980
1996
|
:param amount: The amount of the asset to supply
|
|
@@ -2083,6 +2099,14 @@ class AaveV3(BaseSDK):
|
|
|
2083
2099
|
|
|
2084
2100
|
Price changes in the assets may lead to some or all of your collateral being
|
|
2085
2101
|
liquidated, if the borrow position becomes unhealthy.
|
|
2102
|
+
<Info>
|
|
2103
|
+
**Required Allowances**
|
|
2104
|
+
|
|
2105
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
2106
|
+
|
|
2107
|
+
- `AaveV3Pool`
|
|
2108
|
+
</Info>
|
|
2109
|
+
|
|
2086
2110
|
|
|
2087
2111
|
:param token: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
|
|
2088
2112
|
:param amount: The amount of the asset to borrow
|
|
@@ -2193,6 +2217,14 @@ class AaveV3(BaseSDK):
|
|
|
2193
2217
|
|
|
2194
2218
|
Price changes in the assets may lead to some or all of your collateral being
|
|
2195
2219
|
liquidated, if the borrow position becomes unhealthy.
|
|
2220
|
+
<Info>
|
|
2221
|
+
**Required Allowances**
|
|
2222
|
+
|
|
2223
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
2224
|
+
|
|
2225
|
+
- `AaveV3Pool`
|
|
2226
|
+
</Info>
|
|
2227
|
+
|
|
2196
2228
|
|
|
2197
2229
|
:param token: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
|
|
2198
2230
|
:param amount: The amount of the asset to borrow
|
|
@@ -2307,6 +2339,14 @@ class AaveV3(BaseSDK):
|
|
|
2307
2339
|
risk of liquidation, ensuring a more secure borrowing experience. The endpoint
|
|
2308
2340
|
requires specifying the chain and the details of the repayment transaction,
|
|
2309
2341
|
including the amount and the asset to be repaid.
|
|
2342
|
+
<Info>
|
|
2343
|
+
**Required Allowances**
|
|
2344
|
+
|
|
2345
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
2346
|
+
|
|
2347
|
+
- `AaveV3Pool`
|
|
2348
|
+
</Info>
|
|
2349
|
+
|
|
2310
2350
|
|
|
2311
2351
|
:param token: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
|
|
2312
2352
|
:param amount: The amount of the asset to repay
|
|
@@ -2421,6 +2461,14 @@ class AaveV3(BaseSDK):
|
|
|
2421
2461
|
risk of liquidation, ensuring a more secure borrowing experience. The endpoint
|
|
2422
2462
|
requires specifying the chain and the details of the repayment transaction,
|
|
2423
2463
|
including the amount and the asset to be repaid.
|
|
2464
|
+
<Info>
|
|
2465
|
+
**Required Allowances**
|
|
2466
|
+
|
|
2467
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
2468
|
+
|
|
2469
|
+
- `AaveV3Pool`
|
|
2470
|
+
</Info>
|
|
2471
|
+
|
|
2424
2472
|
|
|
2425
2473
|
:param token: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
|
|
2426
2474
|
:param amount: The amount of the asset to repay
|
|
@@ -2535,6 +2583,14 @@ class AaveV3(BaseSDK):
|
|
|
2535
2583
|
their liquidation threshold before proceeding with a withdrawal. This endpoint is
|
|
2536
2584
|
designed to provide a seamless and efficient way to manage your collateral within
|
|
2537
2585
|
the Aave ecosystem.
|
|
2586
|
+
<Info>
|
|
2587
|
+
**Required Allowances**
|
|
2588
|
+
|
|
2589
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
2590
|
+
|
|
2591
|
+
- `AaveV3Pool`
|
|
2592
|
+
</Info>
|
|
2593
|
+
|
|
2538
2594
|
|
|
2539
2595
|
:param token: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
|
|
2540
2596
|
:param amount: The amount of the asset to withdraw
|
|
@@ -2647,6 +2703,14 @@ class AaveV3(BaseSDK):
|
|
|
2647
2703
|
their liquidation threshold before proceeding with a withdrawal. This endpoint is
|
|
2648
2704
|
designed to provide a seamless and efficient way to manage your collateral within
|
|
2649
2705
|
the Aave ecosystem.
|
|
2706
|
+
<Info>
|
|
2707
|
+
**Required Allowances**
|
|
2708
|
+
|
|
2709
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
2710
|
+
|
|
2711
|
+
- `AaveV3Pool`
|
|
2712
|
+
</Info>
|
|
2713
|
+
|
|
2650
2714
|
|
|
2651
2715
|
:param token: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
|
|
2652
2716
|
:param amount: The amount of the asset to withdraw
|
{compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/aerodrome_slipstream.py
RENAMED
|
@@ -449,6 +449,14 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
449
449
|
of the current market conditions, taking into account the liquidity and price
|
|
450
450
|
impact. This endpoint is suitable for users who want to sell a precise quantity of a
|
|
451
451
|
token and are willing to accept the resulting amount of the other token.
|
|
452
|
+
<Info>
|
|
453
|
+
**Required Allowances**
|
|
454
|
+
|
|
455
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
456
|
+
|
|
457
|
+
- `AerodromeSlipstreamRouter`
|
|
458
|
+
</Info>
|
|
459
|
+
|
|
452
460
|
|
|
453
461
|
:param token_in: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
|
|
454
462
|
:param token_out: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
|
|
@@ -577,6 +585,14 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
577
585
|
of the current market conditions, taking into account the liquidity and price
|
|
578
586
|
impact. This endpoint is suitable for users who want to sell a precise quantity of a
|
|
579
587
|
token and are willing to accept the resulting amount of the other token.
|
|
588
|
+
<Info>
|
|
589
|
+
**Required Allowances**
|
|
590
|
+
|
|
591
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
592
|
+
|
|
593
|
+
- `AerodromeSlipstreamRouter`
|
|
594
|
+
</Info>
|
|
595
|
+
|
|
580
596
|
|
|
581
597
|
:param token_in: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
|
|
582
598
|
:param token_out: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
|
|
@@ -704,6 +720,14 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
704
720
|
transaction is executed with consideration of current market conditions, including
|
|
705
721
|
liquidity and price impact, ensuring that the trade is completed efficiently and
|
|
706
722
|
effectively.
|
|
723
|
+
<Info>
|
|
724
|
+
**Required Allowances**
|
|
725
|
+
|
|
726
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
727
|
+
|
|
728
|
+
- `AerodromeSlipstreamRouter`
|
|
729
|
+
</Info>
|
|
730
|
+
|
|
707
731
|
|
|
708
732
|
:param token_in: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
|
|
709
733
|
:param token_out: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
|
|
@@ -831,6 +855,14 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
831
855
|
transaction is executed with consideration of current market conditions, including
|
|
832
856
|
liquidity and price impact, ensuring that the trade is completed efficiently and
|
|
833
857
|
effectively.
|
|
858
|
+
<Info>
|
|
859
|
+
**Required Allowances**
|
|
860
|
+
|
|
861
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
862
|
+
|
|
863
|
+
- `AerodromeSlipstreamRouter`
|
|
864
|
+
</Info>
|
|
865
|
+
|
|
834
866
|
|
|
835
867
|
:param token_in: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
|
|
836
868
|
:param token_out: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
|
|
@@ -968,6 +1000,14 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
968
1000
|
necessary information to manage their newly minted position. This functionality is
|
|
969
1001
|
crucial for users looking to expand their liquidity provision activities, offering
|
|
970
1002
|
them the opportunity to engage in decentralized finance (DeFi) markets effectively.
|
|
1003
|
+
<Info>
|
|
1004
|
+
**Required Allowances**
|
|
1005
|
+
|
|
1006
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
1007
|
+
|
|
1008
|
+
- `AerodromeSlipstreamNonfungiblePositionManager`
|
|
1009
|
+
</Info>
|
|
1010
|
+
|
|
971
1011
|
|
|
972
1012
|
:param token0: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
|
|
973
1013
|
:param token1: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
|
|
@@ -1115,6 +1155,14 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
1115
1155
|
necessary information to manage their newly minted position. This functionality is
|
|
1116
1156
|
crucial for users looking to expand their liquidity provision activities, offering
|
|
1117
1157
|
them the opportunity to engage in decentralized finance (DeFi) markets effectively.
|
|
1158
|
+
<Info>
|
|
1159
|
+
**Required Allowances**
|
|
1160
|
+
|
|
1161
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
1162
|
+
|
|
1163
|
+
- `AerodromeSlipstreamNonfungiblePositionManager`
|
|
1164
|
+
</Info>
|
|
1165
|
+
|
|
1118
1166
|
|
|
1119
1167
|
:param token0: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
|
|
1120
1168
|
:param token1: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
|
|
@@ -1259,6 +1307,14 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
1259
1307
|
vital for users aiming to optimize their liquidity provision strategy, enabling them
|
|
1260
1308
|
to adapt to market conditions and maximize their returns in decentralized finance
|
|
1261
1309
|
(DeFi) markets.
|
|
1310
|
+
<Info>
|
|
1311
|
+
**Required Allowances**
|
|
1312
|
+
|
|
1313
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
1314
|
+
|
|
1315
|
+
- `AerodromeSlipstreamRouter`
|
|
1316
|
+
</Info>
|
|
1317
|
+
|
|
1262
1318
|
|
|
1263
1319
|
:param token_id: Token ID of the NFT representing the liquidity provisioned position.
|
|
1264
1320
|
:param amount0_desired: The desired amount of the first token to deposit
|
|
@@ -1393,6 +1449,14 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
1393
1449
|
vital for users aiming to optimize their liquidity provision strategy, enabling them
|
|
1394
1450
|
to adapt to market conditions and maximize their returns in decentralized finance
|
|
1395
1451
|
(DeFi) markets.
|
|
1452
|
+
<Info>
|
|
1453
|
+
**Required Allowances**
|
|
1454
|
+
|
|
1455
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
1456
|
+
|
|
1457
|
+
- `AerodromeSlipstreamRouter`
|
|
1458
|
+
</Info>
|
|
1459
|
+
|
|
1396
1460
|
|
|
1397
1461
|
:param token_id: Token ID of the NFT representing the liquidity provisioned position.
|
|
1398
1462
|
:param amount0_desired: The desired amount of the first token to deposit
|
|
@@ -1515,6 +1579,14 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
1515
1579
|
assets and potentially reallocate them to other investment opportunities. The
|
|
1516
1580
|
endpoint ensures a smooth and secure withdrawal process, facilitating users'
|
|
1517
1581
|
strategic management of their decentralized finance (DeFi) portfolios.
|
|
1582
|
+
<Info>
|
|
1583
|
+
**Required Allowances**
|
|
1584
|
+
|
|
1585
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
1586
|
+
|
|
1587
|
+
- `AerodromeSlipstreamNonfungiblePositionManager`
|
|
1588
|
+
</Info>
|
|
1589
|
+
|
|
1518
1590
|
|
|
1519
1591
|
:param token_id: Token ID of the NFT representing the liquidity provisioned position.
|
|
1520
1592
|
:param percentage_for_withdrawal: How much liquidity to take out in percentage.
|
|
@@ -1631,6 +1703,14 @@ class AerodromeSlipstream(BaseSDK):
|
|
|
1631
1703
|
assets and potentially reallocate them to other investment opportunities. The
|
|
1632
1704
|
endpoint ensures a smooth and secure withdrawal process, facilitating users'
|
|
1633
1705
|
strategic management of their decentralized finance (DeFi) portfolios.
|
|
1706
|
+
<Info>
|
|
1707
|
+
**Required Allowances**
|
|
1708
|
+
|
|
1709
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
1710
|
+
|
|
1711
|
+
- `AerodromeSlipstreamNonfungiblePositionManager`
|
|
1712
|
+
</Info>
|
|
1713
|
+
|
|
1634
1714
|
|
|
1635
1715
|
:param token_id: Token ID of the NFT representing the liquidity provisioned position.
|
|
1636
1716
|
:param percentage_for_withdrawal: How much liquidity to take out in percentage.
|
|
@@ -225,6 +225,14 @@ class ERC4626Vaults(BaseSDK):
|
|
|
225
225
|
Deposit tokens into a Vault (ERC-4626 Standard) to earn passive yield.
|
|
226
226
|
|
|
227
227
|
Each vault accepts one unique token that can be deposited.
|
|
228
|
+
<Info>
|
|
229
|
+
**Required Allowances**
|
|
230
|
+
|
|
231
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
232
|
+
|
|
233
|
+
- `<vault_address>`
|
|
234
|
+
</Info>
|
|
235
|
+
|
|
228
236
|
|
|
229
237
|
:param vault_address: The vault address you are depositing to.
|
|
230
238
|
:param amount: The amount of tokens to deposit into the vault.
|
|
@@ -331,6 +339,14 @@ class ERC4626Vaults(BaseSDK):
|
|
|
331
339
|
Deposit tokens into a Vault (ERC-4626 Standard) to earn passive yield.
|
|
332
340
|
|
|
333
341
|
Each vault accepts one unique token that can be deposited.
|
|
342
|
+
<Info>
|
|
343
|
+
**Required Allowances**
|
|
344
|
+
|
|
345
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
346
|
+
|
|
347
|
+
- `<vault_address>`
|
|
348
|
+
</Info>
|
|
349
|
+
|
|
334
350
|
|
|
335
351
|
:param vault_address: The vault address you are depositing to.
|
|
336
352
|
:param amount: The amount of tokens to deposit into the vault.
|
|
@@ -437,6 +453,14 @@ class ERC4626Vaults(BaseSDK):
|
|
|
437
453
|
The passive yield earned on token deposits is represented by the increased value of
|
|
438
454
|
the shares received upon depositing tokens. Trade in these shares for the tokens you
|
|
439
455
|
deposited plus any accrued yield.
|
|
456
|
+
<Info>
|
|
457
|
+
**Required Allowances**
|
|
458
|
+
|
|
459
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
460
|
+
|
|
461
|
+
- `<vault address>`
|
|
462
|
+
</Info>
|
|
463
|
+
|
|
440
464
|
|
|
441
465
|
:param vault_address: The vault address you are withdrawing from.
|
|
442
466
|
:param amount: The amount of tokens to withdraw from the vault. If set to 'ALL', your total deposited token amount will be withdrawn.
|
|
@@ -543,6 +567,14 @@ class ERC4626Vaults(BaseSDK):
|
|
|
543
567
|
The passive yield earned on token deposits is represented by the increased value of
|
|
544
568
|
the shares received upon depositing tokens. Trade in these shares for the tokens you
|
|
545
569
|
deposited plus any accrued yield.
|
|
570
|
+
<Info>
|
|
571
|
+
**Required Allowances**
|
|
572
|
+
|
|
573
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
574
|
+
|
|
575
|
+
- `<vault address>`
|
|
576
|
+
</Info>
|
|
577
|
+
|
|
546
578
|
|
|
547
579
|
:param vault_address: The vault address you are withdrawing from.
|
|
548
580
|
:param amount: The amount of tokens to withdraw from the vault. If set to 'ALL', your total deposited token amount will be withdrawn.
|
|
@@ -738,6 +738,7 @@ if TYPE_CHECKING:
|
|
|
738
738
|
TokenPriceRequest,
|
|
739
739
|
TokenPriceRequestTypedDict,
|
|
740
740
|
TokenPriceToken,
|
|
741
|
+
TokenPriceTokenTypedDict,
|
|
741
742
|
)
|
|
742
743
|
from .tokenaddressresponse import (
|
|
743
744
|
TokenAddressResponse,
|
|
@@ -1526,6 +1527,7 @@ __all__ = [
|
|
|
1526
1527
|
"TokenPriceResponse",
|
|
1527
1528
|
"TokenPriceResponseTypedDict",
|
|
1528
1529
|
"TokenPriceToken",
|
|
1530
|
+
"TokenPriceTokenTypedDict",
|
|
1529
1531
|
"TokenSymbol",
|
|
1530
1532
|
"TokenSymbolTypedDict",
|
|
1531
1533
|
"TokenTransferErc20Params",
|
|
@@ -2234,6 +2236,7 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2234
2236
|
"TokenPriceRequest": ".token_priceop",
|
|
2235
2237
|
"TokenPriceRequestTypedDict": ".token_priceop",
|
|
2236
2238
|
"TokenPriceToken": ".token_priceop",
|
|
2239
|
+
"TokenPriceTokenTypedDict": ".token_priceop",
|
|
2237
2240
|
"TokenAddressResponse": ".tokenaddressresponse",
|
|
2238
2241
|
"TokenAddressResponseTypedDict": ".tokenaddressresponse",
|
|
2239
2242
|
"TokenBalanceResponse": ".tokenbalanceresponse",
|
{compass_api_sdk-0.9.44 → compass_api_sdk-0.9.46}/src/compass_api_sdk/models/token_priceop.py
RENAMED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
+
from .token_enum import TokenEnum
|
|
4
5
|
from compass_api_sdk.types import (
|
|
5
6
|
BaseModel,
|
|
6
7
|
Nullable,
|
|
@@ -11,7 +12,8 @@ from compass_api_sdk.types import (
|
|
|
11
12
|
from compass_api_sdk.utils import FieldMetadata, QueryParamMetadata
|
|
12
13
|
from enum import Enum
|
|
13
14
|
from pydantic import model_serializer
|
|
14
|
-
from
|
|
15
|
+
from typing import Union
|
|
16
|
+
from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict
|
|
15
17
|
|
|
16
18
|
|
|
17
19
|
class TokenPriceChain(str, Enum):
|
|
@@ -22,69 +24,32 @@ class TokenPriceChain(str, Enum):
|
|
|
22
24
|
ARBITRUM_MAINNET = "arbitrum:mainnet"
|
|
23
25
|
|
|
24
26
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
AAVE = "AAVE"
|
|
34
|
-
BAL = "BAL"
|
|
35
|
-
CB_BTC = "cbBTC"
|
|
36
|
-
CB_ETH = "cbETH"
|
|
37
|
-
CRV = "CRV"
|
|
38
|
-
CRV_USD = "crvUSD"
|
|
39
|
-
DAI = "DAI"
|
|
40
|
-
ENS = "ENS"
|
|
41
|
-
ET_HX = "ETHx"
|
|
42
|
-
FRAX = "FRAX"
|
|
43
|
-
FXS = "FXS"
|
|
44
|
-
GHO = "GHO"
|
|
45
|
-
KNC = "KNC"
|
|
46
|
-
LDO = "LDO"
|
|
47
|
-
LINK = "LINK"
|
|
48
|
-
LUSD = "LUSD"
|
|
49
|
-
MKR = "MKR"
|
|
50
|
-
OS_ETH = "osETH"
|
|
51
|
-
PYUSD = "PYUSD"
|
|
52
|
-
R_ETH = "rETH"
|
|
53
|
-
RPL = "RPL"
|
|
54
|
-
RS_ETH = "rsETH"
|
|
55
|
-
S_DAI = "sDAI"
|
|
56
|
-
SNX = "SNX"
|
|
57
|
-
STG = "STG"
|
|
58
|
-
S_US_DE = "sUSDe"
|
|
59
|
-
T_BTC = "tBTC"
|
|
60
|
-
UNI = "UNI"
|
|
61
|
-
USDC = "USDC"
|
|
62
|
-
US_DE = "USDe"
|
|
63
|
-
USDS = "USDS"
|
|
64
|
-
USDT = "USDT"
|
|
65
|
-
WBTC = "WBTC"
|
|
66
|
-
WE_ETH = "weETH"
|
|
67
|
-
WETH = "WETH"
|
|
68
|
-
WST_ETH = "wstETH"
|
|
69
|
-
ARB = "ARB"
|
|
70
|
-
EURS = "EURS"
|
|
71
|
-
MAI = "MAI"
|
|
72
|
-
USD_CE = "USDCe"
|
|
73
|
-
AERO = "AERO"
|
|
74
|
-
EUR = "EUR"
|
|
75
|
-
VIRTUAL = "VIRTUAL"
|
|
27
|
+
TokenPriceTokenTypedDict = TypeAliasType(
|
|
28
|
+
"TokenPriceTokenTypedDict", Union[TokenEnum, str]
|
|
29
|
+
)
|
|
30
|
+
r"""The symbol or address of the token for which to get the price."""
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
TokenPriceToken = TypeAliasType("TokenPriceToken", Union[TokenEnum, str])
|
|
34
|
+
r"""The symbol or address of the token for which to get the price."""
|
|
76
35
|
|
|
77
36
|
|
|
78
37
|
class TokenPriceRequestTypedDict(TypedDict):
|
|
38
|
+
token: TokenPriceTokenTypedDict
|
|
39
|
+
r"""The symbol or address of the token for which to get the price."""
|
|
79
40
|
chain: TokenPriceChain
|
|
80
41
|
r"""The chain to use."""
|
|
81
42
|
block: NotRequired[Nullable[int]]
|
|
82
43
|
r"""Optional block number (defaults to latest)."""
|
|
83
|
-
token: TokenPriceToken
|
|
84
|
-
r"""The symbol of the token for which to get the price."""
|
|
85
44
|
|
|
86
45
|
|
|
87
46
|
class TokenPriceRequest(BaseModel):
|
|
47
|
+
token: Annotated[
|
|
48
|
+
TokenPriceToken,
|
|
49
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
50
|
+
]
|
|
51
|
+
r"""The symbol or address of the token for which to get the price."""
|
|
52
|
+
|
|
88
53
|
chain: Annotated[
|
|
89
54
|
TokenPriceChain,
|
|
90
55
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
@@ -97,12 +62,6 @@ class TokenPriceRequest(BaseModel):
|
|
|
97
62
|
] = UNSET
|
|
98
63
|
r"""Optional block number (defaults to latest)."""
|
|
99
64
|
|
|
100
|
-
token: Annotated[
|
|
101
|
-
TokenPriceToken,
|
|
102
|
-
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
103
|
-
] = TokenPriceToken.AAVE
|
|
104
|
-
r"""The symbol of the token for which to get the price."""
|
|
105
|
-
|
|
106
65
|
@model_serializer(mode="wrap")
|
|
107
66
|
def serialize_model(self, handler):
|
|
108
67
|
optional_fields = ["block"]
|
|
@@ -1194,6 +1194,14 @@ class Morpho(BaseSDK):
|
|
|
1194
1194
|
exposure for all deposited assets so users don't need to make these decisions
|
|
1195
1195
|
themselves. Users maintain full control over their assets, can monitor the vault's
|
|
1196
1196
|
state at any time, and withdraw their liquidity at their discretion.
|
|
1197
|
+
<Info>
|
|
1198
|
+
**Required Allowances**
|
|
1199
|
+
|
|
1200
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
1201
|
+
|
|
1202
|
+
- `USDC`
|
|
1203
|
+
</Info>
|
|
1204
|
+
|
|
1197
1205
|
|
|
1198
1206
|
:param vault_address: The vault address you are depositing to.
|
|
1199
1207
|
:param amount: The amount of tokens to deposit into the vault.
|
|
@@ -1309,6 +1317,14 @@ class Morpho(BaseSDK):
|
|
|
1309
1317
|
exposure for all deposited assets so users don't need to make these decisions
|
|
1310
1318
|
themselves. Users maintain full control over their assets, can monitor the vault's
|
|
1311
1319
|
state at any time, and withdraw their liquidity at their discretion.
|
|
1320
|
+
<Info>
|
|
1321
|
+
**Required Allowances**
|
|
1322
|
+
|
|
1323
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
1324
|
+
|
|
1325
|
+
- `USDC`
|
|
1326
|
+
</Info>
|
|
1327
|
+
|
|
1312
1328
|
|
|
1313
1329
|
:param vault_address: The vault address you are depositing to.
|
|
1314
1330
|
:param amount: The amount of tokens to deposit into the vault.
|
|
@@ -1421,6 +1437,14 @@ class Morpho(BaseSDK):
|
|
|
1421
1437
|
exposure for all deposited assets so users don't need to make these decisions
|
|
1422
1438
|
themselves. Users maintain full control over their assets, can monitor the vault's
|
|
1423
1439
|
state at any time, and withdraw their liquidity at their discretion.
|
|
1440
|
+
<Info>
|
|
1441
|
+
**Required Allowances**
|
|
1442
|
+
|
|
1443
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
1444
|
+
|
|
1445
|
+
- `<token address>`
|
|
1446
|
+
</Info>
|
|
1447
|
+
|
|
1424
1448
|
|
|
1425
1449
|
:param vault_address: The vault address you are withdrawing from.
|
|
1426
1450
|
:param amount: The amount of tokens to withdraw from the vault. If set to 'ALL', your total deposited token amount will be withdrawn.
|
|
@@ -1533,6 +1557,14 @@ class Morpho(BaseSDK):
|
|
|
1533
1557
|
exposure for all deposited assets so users don't need to make these decisions
|
|
1534
1558
|
themselves. Users maintain full control over their assets, can monitor the vault's
|
|
1535
1559
|
state at any time, and withdraw their liquidity at their discretion.
|
|
1560
|
+
<Info>
|
|
1561
|
+
**Required Allowances**
|
|
1562
|
+
|
|
1563
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
1564
|
+
|
|
1565
|
+
- `<token address>`
|
|
1566
|
+
</Info>
|
|
1567
|
+
|
|
1536
1568
|
|
|
1537
1569
|
:param vault_address: The vault address you are withdrawing from.
|
|
1538
1570
|
:param amount: The amount of tokens to withdraw from the vault. If set to 'ALL', your total deposited token amount will be withdrawn.
|
|
@@ -1644,6 +1676,14 @@ class Morpho(BaseSDK):
|
|
|
1644
1676
|
loan asset. Each market is isolated (meaning risks are contained within each
|
|
1645
1677
|
individual market), immutable (cannot be changed after deployment), and will persist
|
|
1646
1678
|
as long as the blockchain it is deployed on is live.
|
|
1679
|
+
<Info>
|
|
1680
|
+
**Required Allowances**
|
|
1681
|
+
|
|
1682
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
1683
|
+
|
|
1684
|
+
- `Morpho`
|
|
1685
|
+
</Info>
|
|
1686
|
+
|
|
1647
1687
|
|
|
1648
1688
|
:param amount: Amount of the token to supply to the market as collateral.
|
|
1649
1689
|
:param unique_market_key: The key that uniquely identifies the market. This can be found using the 'Get Markets' endpoint.
|
|
@@ -1757,6 +1797,14 @@ class Morpho(BaseSDK):
|
|
|
1757
1797
|
loan asset. Each market is isolated (meaning risks are contained within each
|
|
1758
1798
|
individual market), immutable (cannot be changed after deployment), and will persist
|
|
1759
1799
|
as long as the blockchain it is deployed on is live.
|
|
1800
|
+
<Info>
|
|
1801
|
+
**Required Allowances**
|
|
1802
|
+
|
|
1803
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
1804
|
+
|
|
1805
|
+
- `Morpho`
|
|
1806
|
+
</Info>
|
|
1807
|
+
|
|
1760
1808
|
|
|
1761
1809
|
:param amount: Amount of the token to supply to the market as collateral.
|
|
1762
1810
|
:param unique_market_key: The key that uniquely identifies the market. This can be found using the 'Get Markets' endpoint.
|
|
@@ -1870,6 +1918,14 @@ class Morpho(BaseSDK):
|
|
|
1870
1918
|
loan asset. Each market is isolated (meaning risks are contained within each
|
|
1871
1919
|
individual market), immutable (cannot be changed after deployment), and will persist
|
|
1872
1920
|
as long as the blockchain it is deployed on is live.
|
|
1921
|
+
<Info>
|
|
1922
|
+
**Required Allowances**
|
|
1923
|
+
|
|
1924
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
1925
|
+
|
|
1926
|
+
- `Morpho`
|
|
1927
|
+
</Info>
|
|
1928
|
+
|
|
1873
1929
|
|
|
1874
1930
|
:param amount: Amount of the token to supply to the market as collateral.
|
|
1875
1931
|
:param unique_market_key: The key that uniquely identifies the market. This can be found using the 'Get Markets' endpoint.
|
|
@@ -1983,6 +2039,14 @@ class Morpho(BaseSDK):
|
|
|
1983
2039
|
loan asset. Each market is isolated (meaning risks are contained within each
|
|
1984
2040
|
individual market), immutable (cannot be changed after deployment), and will persist
|
|
1985
2041
|
as long as the blockchain it is deployed on is live.
|
|
2042
|
+
<Info>
|
|
2043
|
+
**Required Allowances**
|
|
2044
|
+
|
|
2045
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
2046
|
+
|
|
2047
|
+
- `Morpho`
|
|
2048
|
+
</Info>
|
|
2049
|
+
|
|
1986
2050
|
|
|
1987
2051
|
:param amount: Amount of the token to supply to the market as collateral.
|
|
1988
2052
|
:param unique_market_key: The key that uniquely identifies the market. This can be found using the 'Get Markets' endpoint.
|
|
@@ -2098,6 +2162,14 @@ class Morpho(BaseSDK):
|
|
|
2098
2162
|
loan asset. Each market is isolated (meaning risks are contained within each
|
|
2099
2163
|
individual market), immutable (cannot be changed after deployment), and will persist
|
|
2100
2164
|
as long as the blockchain it is deployed on is live.
|
|
2165
|
+
<Info>
|
|
2166
|
+
**Required Allowances**
|
|
2167
|
+
|
|
2168
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
2169
|
+
|
|
2170
|
+
- `Morpho`
|
|
2171
|
+
</Info>
|
|
2172
|
+
|
|
2101
2173
|
|
|
2102
2174
|
:param amount: Amount of the token to borrow from the market.
|
|
2103
2175
|
:param unique_market_key: The key that uniquely identifies the market. This can be found using the 'Get Markets' endpoint.
|
|
@@ -2213,6 +2285,14 @@ class Morpho(BaseSDK):
|
|
|
2213
2285
|
loan asset. Each market is isolated (meaning risks are contained within each
|
|
2214
2286
|
individual market), immutable (cannot be changed after deployment), and will persist
|
|
2215
2287
|
as long as the blockchain it is deployed on is live.
|
|
2288
|
+
<Info>
|
|
2289
|
+
**Required Allowances**
|
|
2290
|
+
|
|
2291
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
2292
|
+
|
|
2293
|
+
- `Morpho`
|
|
2294
|
+
</Info>
|
|
2295
|
+
|
|
2216
2296
|
|
|
2217
2297
|
:param amount: Amount of the token to borrow from the market.
|
|
2218
2298
|
:param unique_market_key: The key that uniquely identifies the market. This can be found using the 'Get Markets' endpoint.
|
|
@@ -2323,6 +2403,14 @@ class Morpho(BaseSDK):
|
|
|
2323
2403
|
loan asset. Each market is isolated (meaning risks are contained within each
|
|
2324
2404
|
individual market), immutable (cannot be changed after deployment), and will persist
|
|
2325
2405
|
as long as the blockchain it is deployed on is live.
|
|
2406
|
+
<Info>
|
|
2407
|
+
**Required Allowances**
|
|
2408
|
+
|
|
2409
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
2410
|
+
|
|
2411
|
+
- `Morpho`
|
|
2412
|
+
</Info>
|
|
2413
|
+
|
|
2326
2414
|
|
|
2327
2415
|
:param amount: Amount of the token to repay to the market. If set to 'ALL', all debt plus interest will be paid back if the user has a sufficient token balance in their wallet.
|
|
2328
2416
|
:param unique_market_key: The key that uniquely identifies the market. This can be found using the 'Get Markets' endpoint.
|
|
@@ -2433,6 +2521,14 @@ class Morpho(BaseSDK):
|
|
|
2433
2521
|
loan asset. Each market is isolated (meaning risks are contained within each
|
|
2434
2522
|
individual market), immutable (cannot be changed after deployment), and will persist
|
|
2435
2523
|
as long as the blockchain it is deployed on is live.
|
|
2524
|
+
<Info>
|
|
2525
|
+
**Required Allowances**
|
|
2526
|
+
|
|
2527
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
2528
|
+
|
|
2529
|
+
- `Morpho`
|
|
2530
|
+
</Info>
|
|
2531
|
+
|
|
2436
2532
|
|
|
2437
2533
|
:param amount: Amount of the token to repay to the market. If set to 'ALL', all debt plus interest will be paid back if the user has a sufficient token balance in their wallet.
|
|
2438
2534
|
:param unique_market_key: The key that uniquely identifies the market. This can be found using the 'Get Markets' endpoint.
|