compass_api_sdk 0.3.5__py3-none-any.whl → 0.3.7__py3-none-any.whl
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.
- {compassapisdk → compass_api_sdk}/_hooks/sdkhooks.py +1 -1
- {compassapisdk → compass_api_sdk}/_hooks/types.py +1 -1
- {compassapisdk → compass_api_sdk}/_version.py +3 -3
- {compassapisdk → compass_api_sdk}/aave_v3.py +15 -15
- {compassapisdk → compass_api_sdk}/aerodrome_slipstream.py +3 -3
- {compassapisdk → compass_api_sdk}/basesdk.py +3 -3
- {compassapisdk → compass_api_sdk}/errors/httpvalidationerror.py +3 -3
- {compassapisdk → compass_api_sdk}/models/__init__.py +132 -6
- {compassapisdk → compass_api_sdk}/models/aave_avg_rateop.py +6 -6
- {compassapisdk → compass_api_sdk}/models/aave_historical_transactionsop.py +2 -2
- {compassapisdk → compass_api_sdk}/models/aave_liquidity_changeop.py +2 -2
- {compassapisdk → compass_api_sdk}/models/aave_rateop.py +2 -2
- {compassapisdk → compass_api_sdk}/models/aave_reserve_overviewop.py +2 -2
- {compassapisdk → compass_api_sdk}/models/aave_std_rateop.py +6 -6
- {compassapisdk → compass_api_sdk}/models/aave_token_priceop.py +2 -2
- {compassapisdk → compass_api_sdk}/models/aave_user_position_per_tokenop.py +2 -2
- {compassapisdk → compass_api_sdk}/models/aave_user_position_summaryop.py +2 -2
- {compassapisdk → compass_api_sdk}/models/aaveavgrateresponse.py +1 -1
- {compassapisdk → compass_api_sdk}/models/aaveborrowparams.py +1 -1
- {compassapisdk → compass_api_sdk}/models/aaveborrowrequest.py +1 -1
- {compassapisdk → compass_api_sdk}/models/aavehistoricaltransactionsresponse.py +2 -2
- {compassapisdk → compass_api_sdk}/models/aaveliquiditychangeresponse.py +1 -1
- {compassapisdk → compass_api_sdk}/models/aavelooprequest.py +3 -3
- {compassapisdk → compass_api_sdk}/models/aaverateresponse.py +1 -1
- {compassapisdk → compass_api_sdk}/models/aaverepayparams.py +1 -1
- {compassapisdk → compass_api_sdk}/models/aaverepayrequest.py +1 -1
- {compassapisdk → compass_api_sdk}/models/aavereserveoverviewresponse.py +1 -1
- {compassapisdk → compass_api_sdk}/models/aavestdrateresponse.py +1 -1
- {compassapisdk → compass_api_sdk}/models/aavesupplyparams.py +1 -1
- {compassapisdk → compass_api_sdk}/models/aavesupplyrequest.py +1 -1
- {compassapisdk → compass_api_sdk}/models/aavetokenpriceresponse.py +1 -1
- {compassapisdk → compass_api_sdk}/models/aaveuserpositionpertokenresponse.py +1 -1
- {compassapisdk → compass_api_sdk}/models/aaveuserpositionsummaryresponse.py +1 -1
- {compassapisdk → compass_api_sdk}/models/aavewithdrawparams.py +1 -1
- {compassapisdk → compass_api_sdk}/models/aavewithdrawrequest.py +1 -1
- {compassapisdk → compass_api_sdk}/models/aerodrome_slipstream_liquidity_provision_positionsop.py +2 -2
- {compassapisdk → compass_api_sdk}/models/aerodrome_slipstream_pool_priceop.py +2 -2
- {compassapisdk → compass_api_sdk}/models/aerodromelppositionsresponse.py +1 -1
- {compassapisdk → compass_api_sdk}/models/aerodromeposition.py +1 -1
- {compassapisdk → compass_api_sdk}/models/aerodromeslipstreambuyexactlyparams.py +1 -1
- {compassapisdk → compass_api_sdk}/models/aerodromeslipstreambuyexactlyrequest.py +1 -1
- {compassapisdk → compass_api_sdk}/models/aerodromeslipstreamincreaseliquidityprovisionparams.py +1 -1
- {compassapisdk → compass_api_sdk}/models/aerodromeslipstreamincreaseliquidityprovisionrequest.py +1 -1
- {compassapisdk → compass_api_sdk}/models/aerodromeslipstreammintliquidityprovisionparams.py +1 -1
- {compassapisdk → compass_api_sdk}/models/aerodromeslipstreammintliquidityprovisionrequest.py +1 -1
- {compassapisdk → compass_api_sdk}/models/aerodromeslipstreampoolpriceresponse.py +1 -1
- {compassapisdk → compass_api_sdk}/models/aerodromeslipstreamsellexactlyparams.py +1 -1
- {compassapisdk → compass_api_sdk}/models/aerodromeslipstreamsellexactlyrequest.py +1 -1
- {compassapisdk → compass_api_sdk}/models/aerodromeslipstreamwithdrawliquidityprovisionparams.py +1 -1
- {compassapisdk → compass_api_sdk}/models/aerodromeslipstreamwithdrawliquidityprovisionrequest.py +1 -1
- {compassapisdk → compass_api_sdk}/models/allowanceinforesponse.py +1 -1
- {compassapisdk → compass_api_sdk}/models/borrow.py +2 -2
- {compassapisdk → compass_api_sdk}/models/chaininfo.py +1 -1
- compass_api_sdk/models/compass_api_backend_models_morpho_read_response_check_user_position_apydata.py +19 -0
- compass_api_sdk/models/compass_api_backend_models_morpho_read_response_check_user_position_asset.py +62 -0
- compass_api_sdk/models/compass_api_backend_models_morpho_read_response_check_user_position_marketstate.py +40 -0
- compass_api_sdk/models/compass_api_backend_models_morpho_read_response_check_user_position_vaultstate.py +25 -0
- compass_api_sdk/models/compass_api_backend_models_morpho_read_response_get_market_apydata.py +23 -0
- compass_api_sdk/models/compass_api_backend_models_morpho_read_response_get_market_asset.py +60 -0
- compass_api_sdk/models/compass_api_backend_models_morpho_read_response_get_market_marketstate.py +38 -0
- {compassapisdk → compass_api_sdk}/models/compass_api_backend_models_morpho_read_response_get_markets_asset.py +1 -1
- compass_api_sdk/models/compass_api_backend_models_morpho_read_response_get_markets_marketstate.py +72 -0
- compass_api_sdk/models/compass_api_backend_models_morpho_read_response_get_vault_asset.py +60 -0
- compass_api_sdk/models/compass_api_backend_models_morpho_read_response_get_vault_vaultstate.py +53 -0
- {compassapisdk → compass_api_sdk}/models/compass_api_backend_models_morpho_read_response_get_vaults_asset.py +1 -1
- compassapisdk/models/vaultstate.py → compass_api_sdk/models/compass_api_backend_models_morpho_read_response_get_vaults_vaultstate.py +3 -3
- compass_api_sdk/models/curator.py +53 -0
- {compassapisdk → compass_api_sdk}/models/ensnameinforesponse.py +1 -1
- {compassapisdk → compass_api_sdk}/models/generic_allowanceop.py +2 -2
- {compassapisdk → compass_api_sdk}/models/generic_ensop.py +2 -2
- {compassapisdk → compass_api_sdk}/models/generic_portfolioop.py +2 -2
- {compassapisdk → compass_api_sdk}/models/generic_supported_tokensop.py +2 -2
- {compassapisdk → compass_api_sdk}/models/generic_visualize_portfolioop.py +2 -2
- {compassapisdk → compass_api_sdk}/models/image.py +1 -1
- {compassapisdk → compass_api_sdk}/models/increaseallowanceanyparams.py +3 -7
- {compassapisdk → compass_api_sdk}/models/increaseallowanceparams.py +1 -1
- {compassapisdk → compass_api_sdk}/models/increaseallowancerequest.py +1 -1
- {compassapisdk → compass_api_sdk}/models/liquidationcall.py +2 -2
- compass_api_sdk/models/liquidity.py +16 -0
- compass_api_sdk/models/market.py +14 -0
- compass_api_sdk/models/marketposition.py +63 -0
- compass_api_sdk/models/metadata.py +56 -0
- {compassapisdk → compass_api_sdk}/models/morpho_market_positionop.py +2 -2
- compass_api_sdk/models/morpho_marketop.py +30 -0
- {compassapisdk → compass_api_sdk}/models/morpho_marketsop.py +22 -16
- compass_api_sdk/models/morpho_user_positionop.py +30 -0
- {compassapisdk → compass_api_sdk}/models/morpho_vault_positionop.py +2 -2
- compass_api_sdk/models/morpho_vaultop.py +30 -0
- {compassapisdk → compass_api_sdk}/models/morpho_vaultsop.py +18 -12
- {compassapisdk → compass_api_sdk}/models/morphoborrowparams.py +1 -1
- {compassapisdk → compass_api_sdk}/models/morphoborrowrequest.py +1 -1
- {compassapisdk → compass_api_sdk}/models/morphocheckmarketpositionresponse.py +1 -1
- compass_api_sdk/models/morphocheckuserpositionresponse.py +32 -0
- {compassapisdk → compass_api_sdk}/models/morphocheckvaultpositionresponse.py +3 -3
- {compassapisdk → compass_api_sdk}/models/morphodepositparams.py +1 -1
- {compassapisdk → compass_api_sdk}/models/morphodepositrequest.py +1 -1
- compass_api_sdk/models/morphogetmarketresponse.py +78 -0
- {compassapisdk → compass_api_sdk}/models/morphogetmarketsresponse.py +1 -1
- compass_api_sdk/models/morphogetvaultresponse.py +47 -0
- {compassapisdk → compass_api_sdk}/models/morphogetvaultsresponse.py +1 -1
- {compassapisdk → compass_api_sdk}/models/morphomarket.py +7 -4
- {compassapisdk → compass_api_sdk}/models/morphorepayparams.py +1 -1
- {compassapisdk → compass_api_sdk}/models/morphorepayrequest.py +1 -1
- {compassapisdk → compass_api_sdk}/models/morphosetvaultallowanceparams.py +1 -1
- {compassapisdk → compass_api_sdk}/models/morphosetvaultallowancerequest.py +1 -1
- {compassapisdk → compass_api_sdk}/models/morphosupplycollateralparams.py +1 -1
- {compassapisdk → compass_api_sdk}/models/morphosupplycollateralrequest.py +1 -1
- {compassapisdk → compass_api_sdk}/models/morphovault.py +7 -4
- {compassapisdk → compass_api_sdk}/models/morphowithdrawcollateralparams.py +1 -1
- {compassapisdk → compass_api_sdk}/models/morphowithdrawcollateralrequest.py +1 -1
- {compassapisdk → compass_api_sdk}/models/morphowithdrawparams.py +1 -1
- {compassapisdk → compass_api_sdk}/models/morphowithdrawrequest.py +1 -1
- {compassapisdk → compass_api_sdk}/models/multicallaction.py +1 -1
- {compassapisdk → compass_api_sdk}/models/multicallauthorizationrequest.py +1 -1
- {compassapisdk → compass_api_sdk}/models/multicallauthorizationresponse.py +1 -1
- {compassapisdk → compass_api_sdk}/models/multicallexecuterequest.py +1 -1
- {compassapisdk → compass_api_sdk}/models/portfolio.py +1 -1
- {compassapisdk → compass_api_sdk}/models/redeemunderlying.py +1 -1
- {compassapisdk → compass_api_sdk}/models/repay.py +2 -2
- {compassapisdk → compass_api_sdk}/models/reserve.py +1 -1
- {compassapisdk → compass_api_sdk}/models/security.py +2 -2
- {compassapisdk → compass_api_sdk}/models/signedauthorization.py +1 -1
- {compassapisdk → compass_api_sdk}/models/sky_positionop.py +2 -2
- {compassapisdk → compass_api_sdk}/models/skybuyparams.py +1 -1
- {compassapisdk → compass_api_sdk}/models/skybuyrequest.py +2 -2
- {compassapisdk → compass_api_sdk}/models/skycheckpositionresponse.py +1 -1
- {compassapisdk → compass_api_sdk}/models/skydepositparams.py +1 -1
- {compassapisdk → compass_api_sdk}/models/skydepositrequest.py +2 -2
- {compassapisdk → compass_api_sdk}/models/skysellparams.py +1 -1
- {compassapisdk → compass_api_sdk}/models/skysellrequest.py +2 -2
- {compassapisdk → compass_api_sdk}/models/skywithdrawparams.py +1 -1
- {compassapisdk → compass_api_sdk}/models/skywithdrawrequest.py +2 -2
- {compassapisdk → compass_api_sdk}/models/supply.py +2 -2
- {compassapisdk → compass_api_sdk}/models/swapborrowrate.py +2 -2
- {compassapisdk → compass_api_sdk}/models/token_addressop.py +2 -2
- {compassapisdk → compass_api_sdk}/models/token_balanceop.py +2 -2
- {compassapisdk → compass_api_sdk}/models/token_priceop.py +2 -2
- {compassapisdk → compass_api_sdk}/models/tokenaddressresponse.py +1 -1
- {compassapisdk → compass_api_sdk}/models/tokenbalance.py +1 -1
- {compassapisdk → compass_api_sdk}/models/tokenbalanceresponse.py +1 -1
- {compassapisdk → compass_api_sdk}/models/tokeninfo.py +1 -1
- {compassapisdk → compass_api_sdk}/models/tokenpriceresponse.py +1 -1
- {compassapisdk → compass_api_sdk}/models/tokentransfererc20params.py +1 -1
- {compassapisdk → compass_api_sdk}/models/tokentransferrequest.py +1 -1
- {compassapisdk → compass_api_sdk}/models/uniswap_liquidity_provision_in_rangeop.py +2 -2
- {compassapisdk → compass_api_sdk}/models/uniswap_liquidity_provision_positionsop.py +2 -2
- {compassapisdk → compass_api_sdk}/models/uniswap_pool_priceop.py +2 -2
- {compassapisdk → compass_api_sdk}/models/uniswap_quote_buy_exactlyop.py +2 -2
- {compassapisdk → compass_api_sdk}/models/uniswap_quote_sell_exactlyop.py +2 -2
- {compassapisdk → compass_api_sdk}/models/uniswapbuyexactlyparams.py +1 -1
- {compassapisdk → compass_api_sdk}/models/uniswapbuyexactlyrequest.py +3 -3
- {compassapisdk → compass_api_sdk}/models/uniswapbuyquoteinforesponse.py +1 -1
- {compassapisdk → compass_api_sdk}/models/uniswapcheckinrangeresponse.py +1 -1
- {compassapisdk → compass_api_sdk}/models/uniswapincreaseliquidityprovisionparams.py +1 -1
- {compassapisdk → compass_api_sdk}/models/uniswapincreaseliquidityprovisionrequest.py +1 -1
- {compassapisdk → compass_api_sdk}/models/uniswaplppositionsinforesponse.py +1 -1
- {compassapisdk → compass_api_sdk}/models/uniswapmintliquidityprovisionparams.py +1 -1
- {compassapisdk → compass_api_sdk}/models/uniswapmintliquidityprovisionrequest.py +1 -1
- {compassapisdk → compass_api_sdk}/models/uniswappoolpriceresponse.py +1 -1
- {compassapisdk → compass_api_sdk}/models/uniswappositionssolidityresponse.py +1 -1
- {compassapisdk → compass_api_sdk}/models/uniswapsellexactlyparams.py +1 -1
- {compassapisdk → compass_api_sdk}/models/uniswapsellexactlyrequest.py +1 -1
- {compassapisdk → compass_api_sdk}/models/uniswapsellquoteinforesponse.py +1 -1
- {compassapisdk → compass_api_sdk}/models/uniswapwithdrawliquidityprovisionparams.py +1 -1
- {compassapisdk → compass_api_sdk}/models/uniswapwithdrawliquidityprovisionrequest.py +1 -1
- {compassapisdk → compass_api_sdk}/models/unsignedmulticalltransaction.py +1 -1
- {compassapisdk → compass_api_sdk}/models/unsignedtransaction.py +1 -1
- {compassapisdk → compass_api_sdk}/models/unwrapwethparams.py +1 -1
- {compassapisdk → compass_api_sdk}/models/unwrapwethrequest.py +1 -1
- {compassapisdk → compass_api_sdk}/models/usageascollateral.py +2 -2
- compass_api_sdk/models/userstate.py +33 -0
- {compassapisdk → compass_api_sdk}/models/validationerror.py +1 -1
- compass_api_sdk/models/vault.py +58 -0
- compass_api_sdk/models/vaultposition.py +24 -0
- {compassapisdk → compass_api_sdk}/models/weeklyapys.py +1 -1
- {compassapisdk → compass_api_sdk}/models/wrapethparams.py +1 -1
- {compassapisdk → compass_api_sdk}/models/wrapethrequest.py +1 -1
- {compassapisdk → compass_api_sdk}/morpho.py +646 -42
- {compassapisdk → compass_api_sdk}/sdk.py +12 -12
- {compassapisdk → compass_api_sdk}/sdkconfiguration.py +2 -2
- {compassapisdk → compass_api_sdk}/sky.py +3 -7
- {compassapisdk → compass_api_sdk}/token_sdk.py +5 -5
- {compassapisdk → compass_api_sdk}/transaction_batching.py +3 -3
- {compassapisdk → compass_api_sdk}/uniswap_v3.py +3 -3
- {compassapisdk → compass_api_sdk}/universal.py +5 -5
- {compass_api_sdk-0.3.5.dist-info → compass_api_sdk-0.3.7.dist-info}/METADATA +53 -57
- compass_api_sdk-0.3.7.dist-info/RECORD +218 -0
- compass_api_sdk-0.3.5.dist-info/RECORD +0 -195
- compassapisdk/models/marketstate.py +0 -35
- {compassapisdk → compass_api_sdk}/__init__.py +0 -0
- {compassapisdk → compass_api_sdk}/_hooks/__init__.py +0 -0
- {compassapisdk → compass_api_sdk}/errors/__init__.py +0 -0
- {compassapisdk → compass_api_sdk}/errors/apierror.py +0 -0
- {compassapisdk → compass_api_sdk}/httpclient.py +0 -0
- {compassapisdk → compass_api_sdk}/models/chain.py +0 -0
- {compassapisdk → compass_api_sdk}/models/contractname.py +0 -0
- {compassapisdk → compass_api_sdk}/models/feeenum.py +0 -0
- {compassapisdk → compass_api_sdk}/models/interestratemode.py +0 -0
- {compassapisdk → compass_api_sdk}/models/multicallactiontype.py +0 -0
- {compassapisdk → compass_api_sdk}/models/token_enum.py +0 -0
- {compassapisdk → compass_api_sdk}/py.typed +0 -0
- {compassapisdk → compass_api_sdk}/types/__init__.py +0 -0
- {compassapisdk → compass_api_sdk}/types/basemodel.py +0 -0
- {compassapisdk → compass_api_sdk}/utils/__init__.py +0 -0
- {compassapisdk → compass_api_sdk}/utils/annotations.py +0 -0
- {compassapisdk → compass_api_sdk}/utils/datetimes.py +0 -0
- {compassapisdk → compass_api_sdk}/utils/enums.py +0 -0
- {compassapisdk → compass_api_sdk}/utils/eventstreaming.py +0 -0
- {compassapisdk → compass_api_sdk}/utils/forms.py +0 -0
- {compassapisdk → compass_api_sdk}/utils/headers.py +0 -0
- {compassapisdk → compass_api_sdk}/utils/logger.py +0 -0
- {compassapisdk → compass_api_sdk}/utils/metadata.py +0 -0
- {compassapisdk → compass_api_sdk}/utils/queryparams.py +0 -0
- {compassapisdk → compass_api_sdk}/utils/requestbodies.py +0 -0
- {compassapisdk → compass_api_sdk}/utils/retries.py +0 -0
- {compassapisdk → compass_api_sdk}/utils/security.py +0 -0
- {compassapisdk → compass_api_sdk}/utils/serializers.py +0 -0
- {compassapisdk → compass_api_sdk}/utils/url.py +0 -0
- {compassapisdk → compass_api_sdk}/utils/values.py +0 -0
- {compass_api_sdk-0.3.5.dist-info → compass_api_sdk-0.3.7.dist-info}/WHEEL +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from abc import ABC, abstractmethod
|
|
4
|
-
from
|
|
4
|
+
from compass_api_sdk.httpclient import HttpClient
|
|
5
5
|
import httpx
|
|
6
6
|
from typing import Any, Callable, List, Optional, Tuple, Union
|
|
7
7
|
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import importlib.metadata
|
|
4
4
|
|
|
5
5
|
__title__: str = "compass_api_sdk"
|
|
6
|
-
__version__: str = "0.3.
|
|
6
|
+
__version__: str = "0.3.7"
|
|
7
7
|
__openapi_doc_version__: str = "0.0.1"
|
|
8
|
-
__gen_version__: str = "2.604.
|
|
9
|
-
__user_agent__: str = "speakeasy-sdk/python 0.3.
|
|
8
|
+
__gen_version__: str = "2.604.4"
|
|
9
|
+
__user_agent__: str = "speakeasy-sdk/python 0.3.7 2.604.4 0.0.1 compass_api_sdk"
|
|
10
10
|
|
|
11
11
|
try:
|
|
12
12
|
if __package__ is not None:
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from .basesdk import BaseSDK
|
|
4
|
-
from
|
|
5
|
-
from
|
|
6
|
-
from
|
|
4
|
+
from compass_api_sdk import errors, models, utils
|
|
5
|
+
from compass_api_sdk._hooks import HookContext
|
|
6
|
+
from compass_api_sdk.types import OptionalNullable, UNSET
|
|
7
7
|
from typing import Any, Mapping, Optional, Union
|
|
8
8
|
|
|
9
9
|
|
|
@@ -21,11 +21,11 @@ class AaveV3(BaseSDK):
|
|
|
21
21
|
) -> models.AaveSTDRateResponse:
|
|
22
22
|
r"""Standard deviation of interest rates
|
|
23
23
|
|
|
24
|
-
Returns the standard deviation of Interest Rates for Aave Reserves over time
|
|
24
|
+
Returns the standard deviation of Interest Rates for Aave Reserves over time.
|
|
25
25
|
|
|
26
26
|
:param chain: The chain to use.
|
|
27
|
-
:param token: The symbol of the
|
|
28
|
-
:param days: The number of days
|
|
27
|
+
:param token: The symbol of the tokenn..
|
|
28
|
+
:param days: The number of days for which the standard deviation shall be calculated.
|
|
29
29
|
:param retries: Override the default retry configuration for this method
|
|
30
30
|
:param server_url: Override the default server URL for this method
|
|
31
31
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -124,11 +124,11 @@ class AaveV3(BaseSDK):
|
|
|
124
124
|
) -> models.AaveSTDRateResponse:
|
|
125
125
|
r"""Standard deviation of interest rates
|
|
126
126
|
|
|
127
|
-
Returns the standard deviation of Interest Rates for Aave Reserves over time
|
|
127
|
+
Returns the standard deviation of Interest Rates for Aave Reserves over time.
|
|
128
128
|
|
|
129
129
|
:param chain: The chain to use.
|
|
130
|
-
:param token: The symbol of the
|
|
131
|
-
:param days: The number of days
|
|
130
|
+
:param token: The symbol of the tokenn..
|
|
131
|
+
:param days: The number of days for which the standard deviation shall be calculated.
|
|
132
132
|
:param retries: Override the default retry configuration for this method
|
|
133
133
|
:param server_url: Override the default server URL for this method
|
|
134
134
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -227,11 +227,11 @@ class AaveV3(BaseSDK):
|
|
|
227
227
|
) -> models.AaveAvgRateResponse:
|
|
228
228
|
r"""Average interest rates
|
|
229
229
|
|
|
230
|
-
Returns time averaged Interest Rates for Aave Reserves
|
|
230
|
+
Returns time averaged Interest Rates for Aave Reserves.
|
|
231
231
|
|
|
232
232
|
:param chain: The chain to use.
|
|
233
|
-
:param token: The symbol of the
|
|
234
|
-
:param days: The number of days
|
|
233
|
+
:param token: The symbol of the token..
|
|
234
|
+
:param days: The number of days for which the average shall be calculated.
|
|
235
235
|
:param retries: Override the default retry configuration for this method
|
|
236
236
|
:param server_url: Override the default server URL for this method
|
|
237
237
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -330,11 +330,11 @@ class AaveV3(BaseSDK):
|
|
|
330
330
|
) -> models.AaveAvgRateResponse:
|
|
331
331
|
r"""Average interest rates
|
|
332
332
|
|
|
333
|
-
Returns time averaged Interest Rates for Aave Reserves
|
|
333
|
+
Returns time averaged Interest Rates for Aave Reserves.
|
|
334
334
|
|
|
335
335
|
:param chain: The chain to use.
|
|
336
|
-
:param token: The symbol of the
|
|
337
|
-
:param days: The number of days
|
|
336
|
+
:param token: The symbol of the token..
|
|
337
|
+
:param days: The number of days for which the average shall be calculated.
|
|
338
338
|
:param retries: Override the default retry configuration for this method
|
|
339
339
|
:param server_url: Override the default server URL for this method
|
|
340
340
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from .basesdk import BaseSDK
|
|
4
|
-
from
|
|
5
|
-
from
|
|
6
|
-
from
|
|
4
|
+
from compass_api_sdk import errors, models, utils
|
|
5
|
+
from compass_api_sdk._hooks import HookContext
|
|
6
|
+
from compass_api_sdk.types import OptionalNullable, UNSET
|
|
7
7
|
from typing import Any, Mapping, Optional, Union
|
|
8
8
|
|
|
9
9
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from .sdkconfiguration import SDKConfiguration
|
|
4
|
-
from
|
|
5
|
-
from
|
|
4
|
+
from compass_api_sdk import errors, utils
|
|
5
|
+
from compass_api_sdk._hooks import (
|
|
6
6
|
AfterErrorContext,
|
|
7
7
|
AfterSuccessContext,
|
|
8
8
|
BeforeRequestContext,
|
|
9
9
|
)
|
|
10
|
-
from
|
|
10
|
+
from compass_api_sdk.utils import RetryConfig, SerializedRequestBody, get_body_content
|
|
11
11
|
import httpx
|
|
12
12
|
from typing import Callable, List, Mapping, Optional, Tuple
|
|
13
13
|
from urllib.parse import parse_qs, urlparse
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from
|
|
5
|
-
from
|
|
6
|
-
from
|
|
4
|
+
from compass_api_sdk import utils
|
|
5
|
+
from compass_api_sdk.models import validationerror as models_validationerror
|
|
6
|
+
from compass_api_sdk.types import BaseModel
|
|
7
7
|
from typing import List, Optional
|
|
8
8
|
|
|
9
9
|
|
|
@@ -252,15 +252,60 @@ from .allowanceinforesponse import AllowanceInfoResponse, AllowanceInfoResponseT
|
|
|
252
252
|
from .borrow import Borrow, BorrowTypedDict, Borrowratemode
|
|
253
253
|
from .chain import Chain
|
|
254
254
|
from .chaininfo import ChainInfo, ChainInfoTypedDict
|
|
255
|
+
from .compass_api_backend_models_morpho_read_response_check_user_position_apydata import (
|
|
256
|
+
CompassAPIBackendModelsMorphoReadResponseCheckUserPositionApyData,
|
|
257
|
+
CompassAPIBackendModelsMorphoReadResponseCheckUserPositionApyDataTypedDict,
|
|
258
|
+
)
|
|
259
|
+
from .compass_api_backend_models_morpho_read_response_check_user_position_asset import (
|
|
260
|
+
CompassAPIBackendModelsMorphoReadResponseCheckUserPositionAsset,
|
|
261
|
+
CompassAPIBackendModelsMorphoReadResponseCheckUserPositionAssetTypedDict,
|
|
262
|
+
)
|
|
263
|
+
from .compass_api_backend_models_morpho_read_response_check_user_position_marketstate import (
|
|
264
|
+
CompassAPIBackendModelsMorphoReadResponseCheckUserPositionMarketState,
|
|
265
|
+
CompassAPIBackendModelsMorphoReadResponseCheckUserPositionMarketStateTypedDict,
|
|
266
|
+
)
|
|
267
|
+
from .compass_api_backend_models_morpho_read_response_check_user_position_vaultstate import (
|
|
268
|
+
CompassAPIBackendModelsMorphoReadResponseCheckUserPositionVaultState,
|
|
269
|
+
CompassAPIBackendModelsMorphoReadResponseCheckUserPositionVaultStateTypedDict,
|
|
270
|
+
)
|
|
271
|
+
from .compass_api_backend_models_morpho_read_response_get_market_apydata import (
|
|
272
|
+
CompassAPIBackendModelsMorphoReadResponseGetMarketApyData,
|
|
273
|
+
CompassAPIBackendModelsMorphoReadResponseGetMarketApyDataTypedDict,
|
|
274
|
+
)
|
|
275
|
+
from .compass_api_backend_models_morpho_read_response_get_market_asset import (
|
|
276
|
+
CompassAPIBackendModelsMorphoReadResponseGetMarketAsset,
|
|
277
|
+
CompassAPIBackendModelsMorphoReadResponseGetMarketAssetTypedDict,
|
|
278
|
+
)
|
|
279
|
+
from .compass_api_backend_models_morpho_read_response_get_market_marketstate import (
|
|
280
|
+
CompassAPIBackendModelsMorphoReadResponseGetMarketMarketState,
|
|
281
|
+
CompassAPIBackendModelsMorphoReadResponseGetMarketMarketStateTypedDict,
|
|
282
|
+
)
|
|
255
283
|
from .compass_api_backend_models_morpho_read_response_get_markets_asset import (
|
|
256
284
|
CompassAPIBackendModelsMorphoReadResponseGetMarketsAsset,
|
|
257
285
|
CompassAPIBackendModelsMorphoReadResponseGetMarketsAssetTypedDict,
|
|
258
286
|
)
|
|
287
|
+
from .compass_api_backend_models_morpho_read_response_get_markets_marketstate import (
|
|
288
|
+
CompassAPIBackendModelsMorphoReadResponseGetMarketsMarketState,
|
|
289
|
+
CompassAPIBackendModelsMorphoReadResponseGetMarketsMarketStateTypedDict,
|
|
290
|
+
)
|
|
291
|
+
from .compass_api_backend_models_morpho_read_response_get_vault_asset import (
|
|
292
|
+
CompassAPIBackendModelsMorphoReadResponseGetVaultAsset,
|
|
293
|
+
CompassAPIBackendModelsMorphoReadResponseGetVaultAssetTypedDict,
|
|
294
|
+
)
|
|
295
|
+
from .compass_api_backend_models_morpho_read_response_get_vault_vaultstate import (
|
|
296
|
+
CompassAPIBackendModelsMorphoReadResponseGetVaultVaultState,
|
|
297
|
+
CompassAPIBackendModelsMorphoReadResponseGetVaultVaultStateTypedDict,
|
|
298
|
+
)
|
|
259
299
|
from .compass_api_backend_models_morpho_read_response_get_vaults_asset import (
|
|
260
300
|
CompassAPIBackendModelsMorphoReadResponseGetVaultsAsset,
|
|
261
301
|
CompassAPIBackendModelsMorphoReadResponseGetVaultsAssetTypedDict,
|
|
262
302
|
)
|
|
303
|
+
from .compass_api_backend_models_morpho_read_response_get_vaults_vaultstate import (
|
|
304
|
+
CompassAPIBackendModelsMorphoReadResponseGetVaultsVaultState,
|
|
305
|
+
CompassAPIBackendModelsMorphoReadResponseGetVaultsVaultStateTypedDict,
|
|
306
|
+
)
|
|
263
307
|
from .contractname import ContractName
|
|
308
|
+
from .curator import Curator, CuratorTypedDict
|
|
264
309
|
from .ensnameinforesponse import EnsNameInfoResponse, EnsNameInfoResponseTypedDict
|
|
265
310
|
from .feeenum import FeeEnum
|
|
266
311
|
from .generic_allowanceop import (
|
|
@@ -313,22 +358,40 @@ from .increaseallowancerequest import (
|
|
|
313
358
|
)
|
|
314
359
|
from .interestratemode import InterestRateMode
|
|
315
360
|
from .liquidationcall import LiquidationCall, LiquidationCallTypedDict
|
|
316
|
-
from .
|
|
361
|
+
from .liquidity import Liquidity, LiquidityTypedDict
|
|
362
|
+
from .market import Market, MarketTypedDict
|
|
363
|
+
from .marketposition import MarketPosition, MarketPositionTypedDict
|
|
364
|
+
from .metadata import Metadata, MetadataTypedDict
|
|
317
365
|
from .morpho_market_positionop import (
|
|
318
366
|
MorphoMarketPositionChain,
|
|
319
367
|
MorphoMarketPositionRequest,
|
|
320
368
|
MorphoMarketPositionRequestTypedDict,
|
|
321
369
|
)
|
|
370
|
+
from .morpho_marketop import (
|
|
371
|
+
MorphoMarketChain,
|
|
372
|
+
MorphoMarketRequest,
|
|
373
|
+
MorphoMarketRequestTypedDict,
|
|
374
|
+
)
|
|
322
375
|
from .morpho_marketsop import (
|
|
323
376
|
MorphoMarketsChain,
|
|
324
377
|
MorphoMarketsRequest,
|
|
325
378
|
MorphoMarketsRequestTypedDict,
|
|
326
379
|
)
|
|
380
|
+
from .morpho_user_positionop import (
|
|
381
|
+
MorphoUserPositionChain,
|
|
382
|
+
MorphoUserPositionRequest,
|
|
383
|
+
MorphoUserPositionRequestTypedDict,
|
|
384
|
+
)
|
|
327
385
|
from .morpho_vault_positionop import (
|
|
328
386
|
MorphoVaultPositionChain,
|
|
329
387
|
MorphoVaultPositionRequest,
|
|
330
388
|
MorphoVaultPositionRequestTypedDict,
|
|
331
389
|
)
|
|
390
|
+
from .morpho_vaultop import (
|
|
391
|
+
MorphoVaultChain,
|
|
392
|
+
MorphoVaultRequest,
|
|
393
|
+
MorphoVaultRequestTypedDict,
|
|
394
|
+
)
|
|
332
395
|
from .morpho_vaultsop import (
|
|
333
396
|
MorphoVaultsChain,
|
|
334
397
|
MorphoVaultsRequest,
|
|
@@ -351,6 +414,10 @@ from .morphocheckmarketpositionresponse import (
|
|
|
351
414
|
MorphoCheckMarketPositionResponse,
|
|
352
415
|
MorphoCheckMarketPositionResponseTypedDict,
|
|
353
416
|
)
|
|
417
|
+
from .morphocheckuserpositionresponse import (
|
|
418
|
+
MorphoCheckUserPositionResponse,
|
|
419
|
+
MorphoCheckUserPositionResponseTypedDict,
|
|
420
|
+
)
|
|
354
421
|
from .morphocheckvaultpositionresponse import (
|
|
355
422
|
MorphoCheckVaultPositionResponse,
|
|
356
423
|
MorphoCheckVaultPositionResponseTypedDict,
|
|
@@ -368,10 +435,18 @@ from .morphodepositrequest import (
|
|
|
368
435
|
MorphoDepositRequestChain,
|
|
369
436
|
MorphoDepositRequestTypedDict,
|
|
370
437
|
)
|
|
438
|
+
from .morphogetmarketresponse import (
|
|
439
|
+
MorphoGetMarketResponse,
|
|
440
|
+
MorphoGetMarketResponseTypedDict,
|
|
441
|
+
)
|
|
371
442
|
from .morphogetmarketsresponse import (
|
|
372
443
|
MorphoGetMarketsResponse,
|
|
373
444
|
MorphoGetMarketsResponseTypedDict,
|
|
374
445
|
)
|
|
446
|
+
from .morphogetvaultresponse import (
|
|
447
|
+
MorphoGetVaultResponse,
|
|
448
|
+
MorphoGetVaultResponseTypedDict,
|
|
449
|
+
)
|
|
375
450
|
from .morphogetvaultsresponse import (
|
|
376
451
|
MorphoGetVaultsResponse,
|
|
377
452
|
MorphoGetVaultsResponseTypedDict,
|
|
@@ -718,13 +793,15 @@ from .unwrapwethrequest import (
|
|
|
718
793
|
UnwrapWethRequestTypedDict,
|
|
719
794
|
)
|
|
720
795
|
from .usageascollateral import UsageAsCollateral, UsageAsCollateralTypedDict
|
|
796
|
+
from .userstate import UserState, UserStateTypedDict
|
|
721
797
|
from .validationerror import (
|
|
722
798
|
Loc,
|
|
723
799
|
LocTypedDict,
|
|
724
800
|
ValidationError,
|
|
725
801
|
ValidationErrorTypedDict,
|
|
726
802
|
)
|
|
727
|
-
from .
|
|
803
|
+
from .vault import Vault, VaultTypedDict
|
|
804
|
+
from .vaultposition import VaultPosition, VaultPositionTypedDict
|
|
728
805
|
from .weeklyapys import WeeklyApys, WeeklyApysTypedDict
|
|
729
806
|
from .wrapethparams import (
|
|
730
807
|
WrapEthParams,
|
|
@@ -925,11 +1002,35 @@ __all__ = [
|
|
|
925
1002
|
"ChainInfoTypedDict",
|
|
926
1003
|
"CollateralAmount",
|
|
927
1004
|
"CollateralAmountTypedDict",
|
|
1005
|
+
"CompassAPIBackendModelsMorphoReadResponseCheckUserPositionApyData",
|
|
1006
|
+
"CompassAPIBackendModelsMorphoReadResponseCheckUserPositionApyDataTypedDict",
|
|
1007
|
+
"CompassAPIBackendModelsMorphoReadResponseCheckUserPositionAsset",
|
|
1008
|
+
"CompassAPIBackendModelsMorphoReadResponseCheckUserPositionAssetTypedDict",
|
|
1009
|
+
"CompassAPIBackendModelsMorphoReadResponseCheckUserPositionMarketState",
|
|
1010
|
+
"CompassAPIBackendModelsMorphoReadResponseCheckUserPositionMarketStateTypedDict",
|
|
1011
|
+
"CompassAPIBackendModelsMorphoReadResponseCheckUserPositionVaultState",
|
|
1012
|
+
"CompassAPIBackendModelsMorphoReadResponseCheckUserPositionVaultStateTypedDict",
|
|
1013
|
+
"CompassAPIBackendModelsMorphoReadResponseGetMarketApyData",
|
|
1014
|
+
"CompassAPIBackendModelsMorphoReadResponseGetMarketApyDataTypedDict",
|
|
1015
|
+
"CompassAPIBackendModelsMorphoReadResponseGetMarketAsset",
|
|
1016
|
+
"CompassAPIBackendModelsMorphoReadResponseGetMarketAssetTypedDict",
|
|
1017
|
+
"CompassAPIBackendModelsMorphoReadResponseGetMarketMarketState",
|
|
1018
|
+
"CompassAPIBackendModelsMorphoReadResponseGetMarketMarketStateTypedDict",
|
|
928
1019
|
"CompassAPIBackendModelsMorphoReadResponseGetMarketsAsset",
|
|
929
1020
|
"CompassAPIBackendModelsMorphoReadResponseGetMarketsAssetTypedDict",
|
|
1021
|
+
"CompassAPIBackendModelsMorphoReadResponseGetMarketsMarketState",
|
|
1022
|
+
"CompassAPIBackendModelsMorphoReadResponseGetMarketsMarketStateTypedDict",
|
|
1023
|
+
"CompassAPIBackendModelsMorphoReadResponseGetVaultAsset",
|
|
1024
|
+
"CompassAPIBackendModelsMorphoReadResponseGetVaultAssetTypedDict",
|
|
1025
|
+
"CompassAPIBackendModelsMorphoReadResponseGetVaultVaultState",
|
|
1026
|
+
"CompassAPIBackendModelsMorphoReadResponseGetVaultVaultStateTypedDict",
|
|
930
1027
|
"CompassAPIBackendModelsMorphoReadResponseGetVaultsAsset",
|
|
931
1028
|
"CompassAPIBackendModelsMorphoReadResponseGetVaultsAssetTypedDict",
|
|
1029
|
+
"CompassAPIBackendModelsMorphoReadResponseGetVaultsVaultState",
|
|
1030
|
+
"CompassAPIBackendModelsMorphoReadResponseGetVaultsVaultStateTypedDict",
|
|
932
1031
|
"ContractName",
|
|
1032
|
+
"Curator",
|
|
1033
|
+
"CuratorTypedDict",
|
|
933
1034
|
"EnsNameInfoResponse",
|
|
934
1035
|
"EnsNameInfoResponseTypedDict",
|
|
935
1036
|
"FeeEnum",
|
|
@@ -969,10 +1070,16 @@ __all__ = [
|
|
|
969
1070
|
"InterestRateMode",
|
|
970
1071
|
"LiquidationCall",
|
|
971
1072
|
"LiquidationCallTypedDict",
|
|
1073
|
+
"Liquidity",
|
|
1074
|
+
"LiquidityTypedDict",
|
|
972
1075
|
"Loc",
|
|
973
1076
|
"LocTypedDict",
|
|
974
|
-
"
|
|
975
|
-
"
|
|
1077
|
+
"Market",
|
|
1078
|
+
"MarketPosition",
|
|
1079
|
+
"MarketPositionTypedDict",
|
|
1080
|
+
"MarketTypedDict",
|
|
1081
|
+
"Metadata",
|
|
1082
|
+
"MetadataTypedDict",
|
|
976
1083
|
"MorphoBorrowParams",
|
|
977
1084
|
"MorphoBorrowParamsAmount",
|
|
978
1085
|
"MorphoBorrowParamsAmountTypedDict",
|
|
@@ -984,6 +1091,8 @@ __all__ = [
|
|
|
984
1091
|
"MorphoBorrowRequestTypedDict",
|
|
985
1092
|
"MorphoCheckMarketPositionResponse",
|
|
986
1093
|
"MorphoCheckMarketPositionResponseTypedDict",
|
|
1094
|
+
"MorphoCheckUserPositionResponse",
|
|
1095
|
+
"MorphoCheckUserPositionResponseTypedDict",
|
|
987
1096
|
"MorphoCheckVaultPositionResponse",
|
|
988
1097
|
"MorphoCheckVaultPositionResponseTypedDict",
|
|
989
1098
|
"MorphoDepositParams",
|
|
@@ -995,14 +1104,21 @@ __all__ = [
|
|
|
995
1104
|
"MorphoDepositRequestAmountTypedDict",
|
|
996
1105
|
"MorphoDepositRequestChain",
|
|
997
1106
|
"MorphoDepositRequestTypedDict",
|
|
1107
|
+
"MorphoGetMarketResponse",
|
|
1108
|
+
"MorphoGetMarketResponseTypedDict",
|
|
998
1109
|
"MorphoGetMarketsResponse",
|
|
999
1110
|
"MorphoGetMarketsResponseTypedDict",
|
|
1111
|
+
"MorphoGetVaultResponse",
|
|
1112
|
+
"MorphoGetVaultResponseTypedDict",
|
|
1000
1113
|
"MorphoGetVaultsResponse",
|
|
1001
1114
|
"MorphoGetVaultsResponseTypedDict",
|
|
1002
1115
|
"MorphoMarket",
|
|
1116
|
+
"MorphoMarketChain",
|
|
1003
1117
|
"MorphoMarketPositionChain",
|
|
1004
1118
|
"MorphoMarketPositionRequest",
|
|
1005
1119
|
"MorphoMarketPositionRequestTypedDict",
|
|
1120
|
+
"MorphoMarketRequest",
|
|
1121
|
+
"MorphoMarketRequestTypedDict",
|
|
1006
1122
|
"MorphoMarketTypedDict",
|
|
1007
1123
|
"MorphoMarketsChain",
|
|
1008
1124
|
"MorphoMarketsRequest",
|
|
@@ -1030,10 +1146,16 @@ __all__ = [
|
|
|
1030
1146
|
"MorphoSupplyCollateralRequestAmountTypedDict",
|
|
1031
1147
|
"MorphoSupplyCollateralRequestChain",
|
|
1032
1148
|
"MorphoSupplyCollateralRequestTypedDict",
|
|
1149
|
+
"MorphoUserPositionChain",
|
|
1150
|
+
"MorphoUserPositionRequest",
|
|
1151
|
+
"MorphoUserPositionRequestTypedDict",
|
|
1033
1152
|
"MorphoVault",
|
|
1153
|
+
"MorphoVaultChain",
|
|
1034
1154
|
"MorphoVaultPositionChain",
|
|
1035
1155
|
"MorphoVaultPositionRequest",
|
|
1036
1156
|
"MorphoVaultPositionRequestTypedDict",
|
|
1157
|
+
"MorphoVaultRequest",
|
|
1158
|
+
"MorphoVaultRequestTypedDict",
|
|
1037
1159
|
"MorphoVaultTypedDict",
|
|
1038
1160
|
"MorphoVaultsChain",
|
|
1039
1161
|
"MorphoVaultsRequest",
|
|
@@ -1273,10 +1395,14 @@ __all__ = [
|
|
|
1273
1395
|
"UnwrapWethRequestTypedDict",
|
|
1274
1396
|
"UsageAsCollateral",
|
|
1275
1397
|
"UsageAsCollateralTypedDict",
|
|
1398
|
+
"UserState",
|
|
1399
|
+
"UserStateTypedDict",
|
|
1276
1400
|
"ValidationError",
|
|
1277
1401
|
"ValidationErrorTypedDict",
|
|
1278
|
-
"
|
|
1279
|
-
"
|
|
1402
|
+
"Vault",
|
|
1403
|
+
"VaultPosition",
|
|
1404
|
+
"VaultPositionTypedDict",
|
|
1405
|
+
"VaultTypedDict",
|
|
1280
1406
|
"WeeklyApys",
|
|
1281
1407
|
"WeeklyApysTypedDict",
|
|
1282
1408
|
"WrapEthParams",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from
|
|
5
|
-
from
|
|
4
|
+
from compass_api_sdk.types import BaseModel
|
|
5
|
+
from compass_api_sdk.utils import FieldMetadata, QueryParamMetadata
|
|
6
6
|
from enum import Enum
|
|
7
7
|
from typing_extensions import Annotated, TypedDict
|
|
8
8
|
|
|
@@ -72,9 +72,9 @@ class AaveAvgRateRequestTypedDict(TypedDict):
|
|
|
72
72
|
chain: AaveAvgRateChain
|
|
73
73
|
r"""The chain to use."""
|
|
74
74
|
token: AaveAvgRateToken
|
|
75
|
-
r"""The symbol of the
|
|
75
|
+
r"""The symbol of the token.."""
|
|
76
76
|
days: int
|
|
77
|
-
r"""The number of days
|
|
77
|
+
r"""The number of days for which the average shall be calculated."""
|
|
78
78
|
|
|
79
79
|
|
|
80
80
|
class AaveAvgRateRequest(BaseModel):
|
|
@@ -88,9 +88,9 @@ class AaveAvgRateRequest(BaseModel):
|
|
|
88
88
|
AaveAvgRateToken,
|
|
89
89
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
90
90
|
] = AaveAvgRateToken.USDC
|
|
91
|
-
r"""The symbol of the
|
|
91
|
+
r"""The symbol of the token.."""
|
|
92
92
|
|
|
93
93
|
days: Annotated[
|
|
94
94
|
int, FieldMetadata(query=QueryParamMetadata(style="form", explode=True))
|
|
95
95
|
] = 7
|
|
96
|
-
r"""The number of days
|
|
96
|
+
r"""The number of days for which the average shall be calculated."""
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from
|
|
5
|
-
from
|
|
4
|
+
from compass_api_sdk.types import BaseModel
|
|
5
|
+
from compass_api_sdk.utils import FieldMetadata, QueryParamMetadata
|
|
6
6
|
from enum import Enum
|
|
7
7
|
from typing import Optional
|
|
8
8
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from
|
|
5
|
-
from
|
|
4
|
+
from compass_api_sdk.types import BaseModel
|
|
5
|
+
from compass_api_sdk.utils import FieldMetadata, QueryParamMetadata
|
|
6
6
|
from enum import Enum
|
|
7
7
|
from typing_extensions import Annotated, TypedDict
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from
|
|
5
|
-
from
|
|
4
|
+
from compass_api_sdk.types import BaseModel
|
|
5
|
+
from compass_api_sdk.utils import FieldMetadata, QueryParamMetadata
|
|
6
6
|
from enum import Enum
|
|
7
7
|
from typing_extensions import Annotated, TypedDict
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from
|
|
5
|
-
from
|
|
4
|
+
from compass_api_sdk.types import BaseModel
|
|
5
|
+
from compass_api_sdk.utils import FieldMetadata, QueryParamMetadata
|
|
6
6
|
from enum import Enum
|
|
7
7
|
from typing_extensions import Annotated, TypedDict
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from
|
|
5
|
-
from
|
|
4
|
+
from compass_api_sdk.types import BaseModel
|
|
5
|
+
from compass_api_sdk.utils import FieldMetadata, QueryParamMetadata
|
|
6
6
|
from enum import Enum
|
|
7
7
|
from typing_extensions import Annotated, TypedDict
|
|
8
8
|
|
|
@@ -72,9 +72,9 @@ class AaveStdRateRequestTypedDict(TypedDict):
|
|
|
72
72
|
chain: AaveStdRateChain
|
|
73
73
|
r"""The chain to use."""
|
|
74
74
|
token: AaveStdRateToken
|
|
75
|
-
r"""The symbol of the
|
|
75
|
+
r"""The symbol of the tokenn.."""
|
|
76
76
|
days: int
|
|
77
|
-
r"""The number of days
|
|
77
|
+
r"""The number of days for which the standard deviation shall be calculated."""
|
|
78
78
|
|
|
79
79
|
|
|
80
80
|
class AaveStdRateRequest(BaseModel):
|
|
@@ -88,9 +88,9 @@ class AaveStdRateRequest(BaseModel):
|
|
|
88
88
|
AaveStdRateToken,
|
|
89
89
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
90
90
|
] = AaveStdRateToken.USDC
|
|
91
|
-
r"""The symbol of the
|
|
91
|
+
r"""The symbol of the tokenn.."""
|
|
92
92
|
|
|
93
93
|
days: Annotated[
|
|
94
94
|
int, FieldMetadata(query=QueryParamMetadata(style="form", explode=True))
|
|
95
95
|
] = 7
|
|
96
|
-
r"""The number of days
|
|
96
|
+
r"""The number of days for which the standard deviation shall be calculated."""
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from
|
|
5
|
-
from
|
|
4
|
+
from compass_api_sdk.types import BaseModel
|
|
5
|
+
from compass_api_sdk.utils import FieldMetadata, QueryParamMetadata
|
|
6
6
|
from enum import Enum
|
|
7
7
|
from typing_extensions import Annotated, TypedDict
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from
|
|
5
|
-
from
|
|
4
|
+
from compass_api_sdk.types import BaseModel
|
|
5
|
+
from compass_api_sdk.utils import FieldMetadata, QueryParamMetadata
|
|
6
6
|
from enum import Enum
|
|
7
7
|
from typing_extensions import Annotated, TypedDict
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from
|
|
5
|
-
from
|
|
4
|
+
from compass_api_sdk.types import BaseModel
|
|
5
|
+
from compass_api_sdk.utils import FieldMetadata, QueryParamMetadata
|
|
6
6
|
from enum import Enum
|
|
7
7
|
from typing_extensions import Annotated, TypedDict
|
|
8
8
|
|
|
@@ -8,8 +8,8 @@ from .repay import Repay, RepayTypedDict
|
|
|
8
8
|
from .supply import Supply, SupplyTypedDict
|
|
9
9
|
from .swapborrowrate import SwapBorrowRate, SwapBorrowRateTypedDict
|
|
10
10
|
from .usageascollateral import UsageAsCollateral, UsageAsCollateralTypedDict
|
|
11
|
-
from
|
|
12
|
-
from
|
|
11
|
+
from compass_api_sdk.types import BaseModel
|
|
12
|
+
from compass_api_sdk.utils import get_discriminator
|
|
13
13
|
from pydantic import Discriminator, Tag
|
|
14
14
|
from typing import List, Union
|
|
15
15
|
from typing_extensions import Annotated, TypeAliasType, TypedDict
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from
|
|
4
|
+
from compass_api_sdk.types import BaseModel
|
|
5
5
|
from datetime import datetime
|
|
6
6
|
from typing_extensions import TypedDict
|
|
7
7
|
|
|
@@ -4,7 +4,7 @@ from __future__ import annotations
|
|
|
4
4
|
from .chain import Chain
|
|
5
5
|
from .signedauthorization import SignedAuthorization, SignedAuthorizationTypedDict
|
|
6
6
|
from .token_enum import TokenEnum
|
|
7
|
-
from
|
|
7
|
+
from compass_api_sdk.types import BaseModel
|
|
8
8
|
from typing import Union
|
|
9
9
|
from typing_extensions import TypeAliasType, TypedDict
|
|
10
10
|
|
|
@@ -20,7 +20,7 @@ r"""Amount of collateral token to supply to Aave"""
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
class AaveLoopRequestTypedDict(TypedDict):
|
|
23
|
-
r"""Request model for executing an Aave loop
|
|
23
|
+
r"""Request model for executing an Aave loop strategy."""
|
|
24
24
|
|
|
25
25
|
chain: Chain
|
|
26
26
|
r"""The chain to use."""
|
|
@@ -50,7 +50,7 @@ class AaveLoopRequestTypedDict(TypedDict):
|
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
class AaveLoopRequest(BaseModel):
|
|
53
|
-
r"""Request model for executing an Aave loop
|
|
53
|
+
r"""Request model for executing an Aave loop strategy."""
|
|
54
54
|
|
|
55
55
|
chain: Chain
|
|
56
56
|
r"""The chain to use."""
|