compass_api_sdk 0.2.0__py3-none-any.whl → 0.3.0__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.
- {compass_api_sdk-0.2.0.dist-info → compass_api_sdk-0.3.0.dist-info}/METADATA +34 -33
- compass_api_sdk-0.3.0.dist-info/RECORD +180 -0
- {compass_api_sdk → compassapisdk}/_hooks/sdkhooks.py +1 -1
- {compass_api_sdk → compassapisdk}/_hooks/types.py +1 -1
- {compass_api_sdk → compassapisdk}/_version.py +3 -3
- {compass_api_sdk → compassapisdk}/aave_v3.py +27 -27
- {compass_api_sdk → compassapisdk}/aerodrome_slipstream.py +11 -11
- {compass_api_sdk → compassapisdk}/basesdk.py +3 -3
- {compass_api_sdk → compassapisdk}/errors/httpvalidationerror.py +3 -3
- {compass_api_sdk → compassapisdk}/httpclient.py +7 -37
- {compass_api_sdk → compassapisdk}/models/__init__.py +46 -25
- {compass_api_sdk → compassapisdk}/models/aave_historical_transactionsop.py +8 -2
- {compass_api_sdk → compassapisdk}/models/aave_liquidity_changeop.py +8 -12
- {compass_api_sdk → compassapisdk}/models/aave_rateop.py +4 -12
- {compass_api_sdk → compassapisdk}/models/aave_reserve_overviewop.py +4 -12
- {compass_api_sdk → compassapisdk}/models/aave_token_priceop.py +4 -12
- {compass_api_sdk → compassapisdk}/models/aave_user_position_per_tokenop.py +6 -12
- {compass_api_sdk → compassapisdk}/models/aave_user_position_summaryop.py +4 -2
- {compass_api_sdk → compassapisdk}/models/aaveborrowparams.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aaveborrowrequest.py +1 -1
- compassapisdk/models/aavehistoricaltransactionsresponse.py +65 -0
- {compass_api_sdk → compassapisdk}/models/aaveliquiditychangeresponse.py +1 -1
- compassapisdk/models/aavelooprequest.py +87 -0
- {compass_api_sdk → compassapisdk}/models/aaverateresponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aaverepayparams.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aaverepayrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aavereserveoverviewresponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aavesupplyparams.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aavesupplyrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aavetokenpriceresponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aaveuserpositionpertokenresponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aaveuserpositionsummaryresponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aavewithdrawparams.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aavewithdrawrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aerodrome_slipstream_liquidity_provision_positionsop.py +4 -2
- {compass_api_sdk → compassapisdk}/models/aerodrome_slipstream_pool_priceop.py +8 -22
- {compass_api_sdk → compassapisdk}/models/aerodromelppositionsresponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aerodromeposition.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aerodromeslipstreambuyexactlyparams.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aerodromeslipstreambuyexactlyrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aerodromeslipstreamincreaseliquidityprovisionparams.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aerodromeslipstreamincreaseliquidityprovisionrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aerodromeslipstreammintliquidityprovisionparams.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aerodromeslipstreammintliquidityprovisionrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aerodromeslipstreampoolpriceresponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aerodromeslipstreamsellexactlyparams.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aerodromeslipstreamsellexactlyrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aerodromeslipstreamwithdrawliquidityprovisionparams.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aerodromeslipstreamwithdrawliquidityprovisionrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/allowanceinforesponse.py +1 -1
- compassapisdk/models/borrow.py +67 -0
- {compass_api_sdk → compassapisdk}/models/chaininfo.py +1 -1
- {compass_api_sdk → compassapisdk}/models/compass_api_backend_models_morpho_read_response_get_markets_asset.py +1 -1
- {compass_api_sdk → compassapisdk}/models/compass_api_backend_models_morpho_read_response_get_vaults_asset.py +1 -1
- {compass_api_sdk → compassapisdk}/models/ensnameinforesponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/generic_allowanceop.py +10 -12
- {compass_api_sdk → compassapisdk}/models/generic_ensop.py +4 -2
- {compass_api_sdk → compassapisdk}/models/generic_portfolioop.py +4 -2
- {compass_api_sdk → compassapisdk}/models/generic_supported_tokensop.py +2 -2
- {compass_api_sdk → compassapisdk}/models/generic_visualize_portfolioop.py +4 -2
- {compass_api_sdk → compassapisdk}/models/image.py +1 -1
- {compass_api_sdk → compassapisdk}/models/increaseallowanceanyparams.py +1 -1
- {compass_api_sdk → compassapisdk}/models/increaseallowanceparams.py +1 -1
- {compass_api_sdk → compassapisdk}/models/increaseallowancerequest.py +1 -1
- compassapisdk/models/liquidationcall.py +64 -0
- {compass_api_sdk → compassapisdk}/models/marketstate.py +1 -1
- {compass_api_sdk → compassapisdk}/models/morpho_market_positionop.py +11 -11
- {compass_api_sdk → compassapisdk}/models/morpho_marketsop.py +11 -11
- {compass_api_sdk → compassapisdk}/models/morpho_vault_positionop.py +11 -11
- {compass_api_sdk → compassapisdk}/models/morpho_vaultsop.py +22 -18
- {compass_api_sdk → compassapisdk}/models/morphoborrowrequest.py +9 -6
- {compass_api_sdk → compassapisdk}/models/morphocheckmarketpositionresponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/morphocheckvaultpositionresponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/morphodepositrequest.py +9 -6
- {compass_api_sdk → compassapisdk}/models/morphogetmarketsresponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/morphogetvaultsresponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/morphomarket.py +1 -1
- {compass_api_sdk → compassapisdk}/models/morphorepayrequest.py +9 -6
- {compass_api_sdk → compassapisdk}/models/morphosetvaultallowancerequest.py +9 -6
- {compass_api_sdk → compassapisdk}/models/morphosupplycollateralrequest.py +9 -6
- {compass_api_sdk → compassapisdk}/models/morphovault.py +1 -1
- {compass_api_sdk → compassapisdk}/models/morphowithdrawcollateralrequest.py +9 -6
- {compass_api_sdk → compassapisdk}/models/morphowithdrawrequest.py +9 -6
- {compass_api_sdk → compassapisdk}/models/multicallaction.py +1 -1
- {compass_api_sdk → compassapisdk}/models/multicallauthorizationrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/multicallauthorizationresponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/multicallexecuterequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/portfolio.py +1 -1
- compassapisdk/models/redeemunderlying.py +48 -0
- compassapisdk/models/repay.py +52 -0
- compassapisdk/models/reserve.py +77 -0
- {compass_api_sdk → compassapisdk}/models/security.py +2 -2
- {compass_api_sdk → compassapisdk}/models/signedauthorization.py +1 -1
- {compass_api_sdk → compassapisdk}/models/sky_positionop.py +4 -2
- {compass_api_sdk → compassapisdk}/models/skybuyrequest.py +2 -2
- {compass_api_sdk → compassapisdk}/models/skycheckpositionresponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/skydepositrequest.py +2 -2
- {compass_api_sdk → compassapisdk}/models/skysellrequest.py +2 -2
- {compass_api_sdk → compassapisdk}/models/skywithdrawrequest.py +2 -2
- compassapisdk/models/supply.py +54 -0
- compassapisdk/models/swapborrowrate.py +56 -0
- {compass_api_sdk → compassapisdk}/models/token_addressop.py +4 -12
- {compass_api_sdk → compassapisdk}/models/token_balanceop.py +8 -2
- {compass_api_sdk → compassapisdk}/models/token_priceop.py +4 -12
- {compass_api_sdk → compassapisdk}/models/tokenaddressresponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/tokenbalance.py +1 -1
- {compass_api_sdk → compassapisdk}/models/tokenbalanceresponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/tokeninfo.py +1 -1
- {compass_api_sdk → compassapisdk}/models/tokenpriceresponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/tokentransfererc20params.py +1 -1
- {compass_api_sdk → compassapisdk}/models/tokentransferrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/uniswap_liquidity_provision_in_rangeop.py +4 -2
- {compass_api_sdk → compassapisdk}/models/uniswap_liquidity_provision_positionsop.py +4 -2
- {compass_api_sdk → compassapisdk}/models/uniswap_pool_priceop.py +8 -30
- {compass_api_sdk → compassapisdk}/models/uniswap_quote_buy_exactlyop.py +12 -30
- {compass_api_sdk → compassapisdk}/models/uniswap_quote_sell_exactlyop.py +12 -30
- {compass_api_sdk → compassapisdk}/models/uniswapbuyexactlyparams.py +7 -7
- {compass_api_sdk → compassapisdk}/models/uniswapbuyexactlyrequest.py +7 -7
- {compass_api_sdk → compassapisdk}/models/uniswapbuyquoteinforesponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/uniswapcheckinrangeresponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/uniswapincreaseliquidityprovisionparams.py +1 -1
- {compass_api_sdk → compassapisdk}/models/uniswapincreaseliquidityprovisionrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/uniswaplppositionsinforesponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/uniswapmintliquidityprovisionparams.py +1 -1
- {compass_api_sdk → compassapisdk}/models/uniswapmintliquidityprovisionrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/uniswappoolpriceresponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/uniswappositionssolidityresponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/uniswapsellexactlyparams.py +1 -1
- {compass_api_sdk → compassapisdk}/models/uniswapsellexactlyrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/uniswapsellquoteinforesponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/uniswapwithdrawliquidityprovisionparams.py +1 -1
- {compass_api_sdk → compassapisdk}/models/uniswapwithdrawliquidityprovisionrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/unsignedmulticalltransaction.py +1 -1
- {compass_api_sdk → compassapisdk}/models/unsignedtransaction.py +1 -1
- {compass_api_sdk → compassapisdk}/models/unwrapwethparams.py +1 -1
- {compass_api_sdk → compassapisdk}/models/unwrapwethrequest.py +1 -1
- compassapisdk/models/usageascollateral.py +53 -0
- {compass_api_sdk → compassapisdk}/models/validationerror.py +1 -1
- {compass_api_sdk → compassapisdk}/models/vaultstate.py +1 -1
- {compass_api_sdk → compassapisdk}/models/weeklyapys.py +1 -1
- {compass_api_sdk → compassapisdk}/models/wrapethparams.py +1 -1
- {compass_api_sdk → compassapisdk}/models/wrapethrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/morpho.py +79 -63
- {compass_api_sdk → compassapisdk}/sdk.py +11 -11
- {compass_api_sdk → compassapisdk}/sdkconfiguration.py +2 -2
- {compass_api_sdk → compassapisdk}/sky.py +5 -5
- {compass_api_sdk → compassapisdk}/token_sdk.py +11 -11
- {compass_api_sdk → compassapisdk}/transaction_batching.py +287 -3
- {compass_api_sdk → compassapisdk}/uniswap_v3.py +39 -39
- {compass_api_sdk → compassapisdk}/universal.py +15 -15
- compass_api_sdk/_hooks/registration.py +0 -13
- compass_api_sdk/models/aavehistoricaltransactionbase.py +0 -113
- compass_api_sdk/models/aavehistoricaltransactionsresponse.py +0 -31
- compass_api_sdk/models/action.py +0 -14
- compass_api_sdk/models/borrow.py +0 -33
- compass_api_sdk/models/collateralreserve.py +0 -16
- compass_api_sdk/models/liquidationcall.py +0 -37
- compass_api_sdk/models/principalreserve.py +0 -16
- compass_api_sdk/models/redeemunderlying.py +0 -21
- compass_api_sdk/models/repay.py +0 -21
- compass_api_sdk/models/reserve.py +0 -16
- compass_api_sdk/models/supply.py +0 -21
- compass_api_sdk/models/swapborrowrate.py +0 -27
- compass_api_sdk/models/usageascollateral.py +0 -21
- compass_api_sdk-0.2.0.dist-info/RECORD +0 -184
- {compass_api_sdk-0.2.0.dist-info → compass_api_sdk-0.3.0.dist-info}/WHEEL +0 -0
- {compass_api_sdk → compassapisdk}/__init__.py +0 -0
- {compass_api_sdk → compassapisdk}/_hooks/__init__.py +0 -0
- {compass_api_sdk → compassapisdk}/errors/__init__.py +0 -0
- {compass_api_sdk → compassapisdk}/errors/apierror.py +0 -0
- {compass_api_sdk → compassapisdk}/models/chain.py +0 -0
- {compass_api_sdk → compassapisdk}/models/contractname.py +0 -0
- {compass_api_sdk → compassapisdk}/models/feeenum.py +0 -0
- {compass_api_sdk → compassapisdk}/models/interestratemode.py +0 -0
- {compass_api_sdk → compassapisdk}/models/multicallactiontype.py +0 -0
- {compass_api_sdk → compassapisdk}/models/token_enum.py +0 -0
- {compass_api_sdk → compassapisdk}/py.typed +0 -0
- {compass_api_sdk → compassapisdk}/types/__init__.py +0 -0
- {compass_api_sdk → compassapisdk}/types/basemodel.py +0 -0
- {compass_api_sdk → compassapisdk}/utils/__init__.py +0 -0
- {compass_api_sdk → compassapisdk}/utils/annotations.py +0 -0
- {compass_api_sdk → compassapisdk}/utils/datetimes.py +0 -0
- {compass_api_sdk → compassapisdk}/utils/enums.py +0 -0
- {compass_api_sdk → compassapisdk}/utils/eventstreaming.py +0 -0
- {compass_api_sdk → compassapisdk}/utils/forms.py +0 -0
- {compass_api_sdk → compassapisdk}/utils/headers.py +0 -0
- {compass_api_sdk → compassapisdk}/utils/logger.py +0 -0
- {compass_api_sdk → compassapisdk}/utils/metadata.py +0 -0
- {compass_api_sdk → compassapisdk}/utils/queryparams.py +0 -0
- {compass_api_sdk → compassapisdk}/utils/requestbodies.py +0 -0
- {compass_api_sdk → compassapisdk}/utils/retries.py +0 -0
- {compass_api_sdk → compassapisdk}/utils/security.py +0 -0
- {compass_api_sdk → compassapisdk}/utils/serializers.py +0 -0
- {compass_api_sdk → compassapisdk}/utils/url.py +0 -0
- {compass_api_sdk → compassapisdk}/utils/values.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: compass_api_sdk
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: Compass API Python SDK
|
|
5
5
|
Author: royalnine
|
|
6
6
|
Requires-Python: >=3.9.2
|
|
@@ -97,7 +97,7 @@ It's also possible to write a standalone Python script without needing to set up
|
|
|
97
97
|
# ]
|
|
98
98
|
# ///
|
|
99
99
|
|
|
100
|
-
from
|
|
100
|
+
from compassapisdk import CompassAPISDK
|
|
101
101
|
|
|
102
102
|
sdk = CompassAPISDK(
|
|
103
103
|
# SDK arguments
|
|
@@ -127,14 +127,14 @@ Generally, the SDK will work well with most IDEs out of the box. However, when u
|
|
|
127
127
|
|
|
128
128
|
```python
|
|
129
129
|
# Synchronous Example
|
|
130
|
-
from
|
|
130
|
+
from compassapisdk import CompassAPISDK, models
|
|
131
131
|
|
|
132
132
|
|
|
133
133
|
with CompassAPISDK(
|
|
134
134
|
api_key_auth="<YOUR_API_KEY_HERE>",
|
|
135
|
-
) as
|
|
135
|
+
) as compass_api_sdk:
|
|
136
136
|
|
|
137
|
-
res =
|
|
137
|
+
res = compass_api_sdk.aave_v3.reserve_overview(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC)
|
|
138
138
|
|
|
139
139
|
# Handle response
|
|
140
140
|
print(res)
|
|
@@ -146,15 +146,15 @@ The same SDK client can also be used to make asychronous requests by importing a
|
|
|
146
146
|
```python
|
|
147
147
|
# Asynchronous Example
|
|
148
148
|
import asyncio
|
|
149
|
-
from
|
|
149
|
+
from compassapisdk import CompassAPISDK, models
|
|
150
150
|
|
|
151
151
|
async def main():
|
|
152
152
|
|
|
153
153
|
async with CompassAPISDK(
|
|
154
154
|
api_key_auth="<YOUR_API_KEY_HERE>",
|
|
155
|
-
) as
|
|
155
|
+
) as compass_api_sdk:
|
|
156
156
|
|
|
157
|
-
res = await
|
|
157
|
+
res = await compass_api_sdk.aave_v3.reserve_overview_async(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC)
|
|
158
158
|
|
|
159
159
|
# Handle response
|
|
160
160
|
print(res)
|
|
@@ -176,14 +176,14 @@ This SDK supports the following security scheme globally:
|
|
|
176
176
|
|
|
177
177
|
To authenticate with the API the `api_key_auth` parameter must be set when initializing the SDK client instance. For example:
|
|
178
178
|
```python
|
|
179
|
-
from
|
|
179
|
+
from compassapisdk import CompassAPISDK, models
|
|
180
180
|
|
|
181
181
|
|
|
182
182
|
with CompassAPISDK(
|
|
183
183
|
api_key_auth="<YOUR_API_KEY_HERE>",
|
|
184
|
-
) as
|
|
184
|
+
) as compass_api_sdk:
|
|
185
185
|
|
|
186
|
-
res =
|
|
186
|
+
res = compass_api_sdk.aave_v3.reserve_overview(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC)
|
|
187
187
|
|
|
188
188
|
# Handle response
|
|
189
189
|
print(res)
|
|
@@ -255,6 +255,7 @@ with CompassAPISDK(
|
|
|
255
255
|
|
|
256
256
|
* [authorization](https://github.com/CompassLabs/mono/blob/master/docs/sdks/transactionbatching/README.md#authorization) - Get EIP-7702 Authorization
|
|
257
257
|
* [execute](https://github.com/CompassLabs/mono/blob/master/docs/sdks/transactionbatching/README.md#execute) - Execute Tx Batching
|
|
258
|
+
* [aave_loop](https://github.com/CompassLabs/mono/blob/master/docs/sdks/transactionbatching/README.md#aave_loop) - Execute Aave Loop Strategy
|
|
258
259
|
|
|
259
260
|
### [uniswap_v3](https://github.com/CompassLabs/mono/blob/master/docs/sdks/uniswapv3/README.md)
|
|
260
261
|
|
|
@@ -290,15 +291,15 @@ Some of the endpoints in this SDK support retries. If you use the SDK without an
|
|
|
290
291
|
|
|
291
292
|
To change the default retry strategy for a single API call, simply provide a `RetryConfig` object to the call:
|
|
292
293
|
```python
|
|
293
|
-
from
|
|
294
|
-
from
|
|
294
|
+
from compassapisdk import CompassAPISDK, models
|
|
295
|
+
from compassapisdk.utils import BackoffStrategy, RetryConfig
|
|
295
296
|
|
|
296
297
|
|
|
297
298
|
with CompassAPISDK(
|
|
298
299
|
api_key_auth="<YOUR_API_KEY_HERE>",
|
|
299
|
-
) as
|
|
300
|
+
) as compass_api_sdk:
|
|
300
301
|
|
|
301
|
-
res =
|
|
302
|
+
res = compass_api_sdk.aave_v3.reserve_overview(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC,
|
|
302
303
|
RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False))
|
|
303
304
|
|
|
304
305
|
# Handle response
|
|
@@ -308,16 +309,16 @@ with CompassAPISDK(
|
|
|
308
309
|
|
|
309
310
|
If you'd like to override the default retry strategy for all operations that support retries, you can use the `retry_config` optional parameter when initializing the SDK:
|
|
310
311
|
```python
|
|
311
|
-
from
|
|
312
|
-
from
|
|
312
|
+
from compassapisdk import CompassAPISDK, models
|
|
313
|
+
from compassapisdk.utils import BackoffStrategy, RetryConfig
|
|
313
314
|
|
|
314
315
|
|
|
315
316
|
with CompassAPISDK(
|
|
316
317
|
retry_config=RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False),
|
|
317
318
|
api_key_auth="<YOUR_API_KEY_HERE>",
|
|
318
|
-
) as
|
|
319
|
+
) as compass_api_sdk:
|
|
319
320
|
|
|
320
|
-
res =
|
|
321
|
+
res = compass_api_sdk.aave_v3.reserve_overview(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC)
|
|
321
322
|
|
|
322
323
|
# Handle response
|
|
323
324
|
print(res)
|
|
@@ -349,16 +350,16 @@ When custom error responses are specified for an operation, the SDK may also rai
|
|
|
349
350
|
### Example
|
|
350
351
|
|
|
351
352
|
```python
|
|
352
|
-
from
|
|
353
|
+
from compassapisdk import CompassAPISDK, errors, models
|
|
353
354
|
|
|
354
355
|
|
|
355
356
|
with CompassAPISDK(
|
|
356
357
|
api_key_auth="<YOUR_API_KEY_HERE>",
|
|
357
|
-
) as
|
|
358
|
+
) as compass_api_sdk:
|
|
358
359
|
res = None
|
|
359
360
|
try:
|
|
360
361
|
|
|
361
|
-
res =
|
|
362
|
+
res = compass_api_sdk.aave_v3.reserve_overview(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC)
|
|
362
363
|
|
|
363
364
|
# Handle response
|
|
364
365
|
print(res)
|
|
@@ -379,15 +380,15 @@ with CompassAPISDK(
|
|
|
379
380
|
|
|
380
381
|
The default server can be overridden globally by passing a URL to the `server_url: str` optional parameter when initializing the SDK client instance. For example:
|
|
381
382
|
```python
|
|
382
|
-
from
|
|
383
|
+
from compassapisdk import CompassAPISDK, models
|
|
383
384
|
|
|
384
385
|
|
|
385
386
|
with CompassAPISDK(
|
|
386
387
|
server_url="https://api.compasslabs.ai",
|
|
387
388
|
api_key_auth="<YOUR_API_KEY_HERE>",
|
|
388
|
-
) as
|
|
389
|
+
) as compass_api_sdk:
|
|
389
390
|
|
|
390
|
-
res =
|
|
391
|
+
res = compass_api_sdk.aave_v3.reserve_overview(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC)
|
|
391
392
|
|
|
392
393
|
# Handle response
|
|
393
394
|
print(res)
|
|
@@ -404,7 +405,7 @@ This allows you to wrap the client with your own custom logic, such as adding cu
|
|
|
404
405
|
|
|
405
406
|
For example, you could specify a header for every request that this sdk makes as follows:
|
|
406
407
|
```python
|
|
407
|
-
from
|
|
408
|
+
from compassapisdk import CompassAPISDK
|
|
408
409
|
import httpx
|
|
409
410
|
|
|
410
411
|
http_client = httpx.Client(headers={"x-custom-header": "someValue"})
|
|
@@ -413,8 +414,8 @@ s = CompassAPISDK(client=http_client)
|
|
|
413
414
|
|
|
414
415
|
or you could wrap the client with your own custom logic:
|
|
415
416
|
```python
|
|
416
|
-
from
|
|
417
|
-
from
|
|
417
|
+
from compassapisdk import CompassAPISDK
|
|
418
|
+
from compassapisdk.httpclient import AsyncHttpClient
|
|
418
419
|
import httpx
|
|
419
420
|
|
|
420
421
|
class CustomClient(AsyncHttpClient):
|
|
@@ -484,12 +485,12 @@ The `CompassAPISDK` class implements the context manager protocol and registers
|
|
|
484
485
|
[context-manager]: https://docs.python.org/3/reference/datamodel.html#context-managers
|
|
485
486
|
|
|
486
487
|
```python
|
|
487
|
-
from
|
|
488
|
+
from compassapisdk import CompassAPISDK
|
|
488
489
|
def main():
|
|
489
490
|
|
|
490
491
|
with CompassAPISDK(
|
|
491
492
|
api_key_auth="<YOUR_API_KEY_HERE>",
|
|
492
|
-
) as
|
|
493
|
+
) as compass_api_sdk:
|
|
493
494
|
# Rest of application here...
|
|
494
495
|
|
|
495
496
|
|
|
@@ -498,7 +499,7 @@ async def amain():
|
|
|
498
499
|
|
|
499
500
|
async with CompassAPISDK(
|
|
500
501
|
api_key_auth="<YOUR_API_KEY_HERE>",
|
|
501
|
-
) as
|
|
502
|
+
) as compass_api_sdk:
|
|
502
503
|
# Rest of application here...
|
|
503
504
|
```
|
|
504
505
|
<!-- End Resource Management [resource-management] -->
|
|
@@ -510,11 +511,11 @@ You can setup your SDK to emit debug logs for SDK requests and responses.
|
|
|
510
511
|
|
|
511
512
|
You can pass your own logger class directly into your SDK.
|
|
512
513
|
```python
|
|
513
|
-
from
|
|
514
|
+
from compassapisdk import CompassAPISDK
|
|
514
515
|
import logging
|
|
515
516
|
|
|
516
517
|
logging.basicConfig(level=logging.DEBUG)
|
|
517
|
-
s = CompassAPISDK(debug_logger=logging.getLogger("
|
|
518
|
+
s = CompassAPISDK(debug_logger=logging.getLogger("compassapisdk"))
|
|
518
519
|
```
|
|
519
520
|
<!-- End Debugging [debug] -->
|
|
520
521
|
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
compassapisdk/__init__.py,sha256=w2u919V3Tzv4zEPQ-OYJ79gQ_4_SyW7GOFFoHtqXDFA,401
|
|
2
|
+
compassapisdk/_hooks/__init__.py,sha256=p5J13DeYuISQyQWirjJAObHIf2VtIlOtFqnIpvjjVwk,118
|
|
3
|
+
compassapisdk/_hooks/sdkhooks.py,sha256=kiWg7ywp9SXriA5uvAnxmFLFcDREJjDWtccd7Fo6LJI,2501
|
|
4
|
+
compassapisdk/_hooks/types.py,sha256=vkJdvFkHgRiCPz2IDtGma15FzU2YxIlrqxk1zWUDJTM,2816
|
|
5
|
+
compassapisdk/_version.py,sha256=vzbMO2MILQQfWd1bKRZvxIedbQ5sjyhq7V4wsl1efMk,472
|
|
6
|
+
compassapisdk/aave_v3.py,sha256=xxPi6z_3ZahRtNI6rKWU-uH1YMZk1Xdu0tAqOTBtCYw,106740
|
|
7
|
+
compassapisdk/aerodrome_slipstream.py,sha256=0Vw7syYZGOl8rXOD6pjiZx0PIsZRDkMk6_BxQp1jG5I,82959
|
|
8
|
+
compassapisdk/basesdk.py,sha256=jeaXGkGBhWBQ288Xjctv30WbB5pxBCYgb42Ezyj6GgU,12130
|
|
9
|
+
compassapisdk/errors/__init__.py,sha256=f8nyj2IhW5h_xtEeg6cfKgByLkqowLv0Fxm0hUofQPs,257
|
|
10
|
+
compassapisdk/errors/apierror.py,sha256=9mTyJSyvUAOnSfW_1HWt9dGl8IDlpQ68DebwYsDNdug,528
|
|
11
|
+
compassapisdk/errors/httpvalidationerror.py,sha256=04VFnAPBDed4UQh3ar7i7PoqLXppLpv57B8Uv8SPRs0,665
|
|
12
|
+
compassapisdk/httpclient.py,sha256=Eu73urOAiZQtdUIyOUnPccxCiBbWEKrXG-JrRG3SLM4,3946
|
|
13
|
+
compassapisdk/models/__init__.py,sha256=I7a0PurKVgZ_qd0ufkhIqnvaFoGxp0Ay3OpRuxMrbgU,45426
|
|
14
|
+
compassapisdk/models/aave_historical_transactionsop.py,sha256=pDjCayatpXSc7HzT0xirwowecGTFCUoNMoR0VC8n_m8,1785
|
|
15
|
+
compassapisdk/models/aave_liquidity_changeop.py,sha256=GMvgWl55yL_VCfOCHTQ4gPIasFEsEYXl5UrJzcMJtSM,2781
|
|
16
|
+
compassapisdk/models/aave_rateop.py,sha256=mST4ddicQ1D_mblAuh2TSeJOnLYyD7gKAy8yZaMUXio,2149
|
|
17
|
+
compassapisdk/models/aave_reserve_overviewop.py,sha256=23_Vxc-VxplznUlyxS5z3XnPv7HeJwh6EUgG2sOX_gE,2195
|
|
18
|
+
compassapisdk/models/aave_token_priceop.py,sha256=xj9nMlHOpV52jIn1aXar2k9ToAm3AX6ZNYp0tyFi9bo,2187
|
|
19
|
+
compassapisdk/models/aave_user_position_per_tokenop.py,sha256=2tXIQaXYdjW-pQl3SslC6f9DykKL8DQ2kJ1ZKafHnpU,2601
|
|
20
|
+
compassapisdk/models/aave_user_position_summaryop.py,sha256=2mQZSABiymK3DBKZswyAJLGT6lxEm521-g7CIGXIV_o,1154
|
|
21
|
+
compassapisdk/models/aaveborrowparams.py,sha256=xqhJBwkYSOpnAqbeuh4LUp8dyW2GBH18XjdlbCBpq2Q,2868
|
|
22
|
+
compassapisdk/models/aaveborrowrequest.py,sha256=EDcVWuBUTlse0W_SlLAmlk06iDsqRSGD3a4uND7FS4U,3127
|
|
23
|
+
compassapisdk/models/aavehistoricaltransactionsresponse.py,sha256=NNbc0_LpuXlL3sJcwvD1Zp2rPZkJ35cP_KuIFCmda_s,2500
|
|
24
|
+
compassapisdk/models/aaveliquiditychangeresponse.py,sha256=Q_Z_cxLKI78WtjCEeq6EzOCQd2hKxi0DwMknabCbW1w,809
|
|
25
|
+
compassapisdk/models/aavelooprequest.py,sha256=Fe9TLbE3HFtTpMQq-yOLwt20qzzETa_RYAMyi8uVFR8,2799
|
|
26
|
+
compassapisdk/models/aaverateresponse.py,sha256=vag9BK7tx5HHyZfk3jdTFdXJv-OCGq_jp_-McS2ehwg,1154
|
|
27
|
+
compassapisdk/models/aaverepayparams.py,sha256=h11eYnzwMZLclcrSui-LibrMitFpZRyYlAVePEstgUM,2856
|
|
28
|
+
compassapisdk/models/aaverepayrequest.py,sha256=AtGiwrrEAmWbeILdlLMKY8-ALiXWgIJto2fAgTpTMFs,3115
|
|
29
|
+
compassapisdk/models/aavereserveoverviewresponse.py,sha256=cEoJaVLHFU2MX1aEjoi41_iNhmvBlmml9BgG63R7PCM,1211
|
|
30
|
+
compassapisdk/models/aavesupplyparams.py,sha256=8aYauQJ0gWYTlpW6mX2nQNJN5al7-h-uy4k41PZ1EZM,2562
|
|
31
|
+
compassapisdk/models/aavesupplyrequest.py,sha256=4zQWQnCK3ZbRElW29MFdaEz4GHFmImVAUrCp7Y6P35Y,2821
|
|
32
|
+
compassapisdk/models/aavetokenpriceresponse.py,sha256=o0vhHgO6jPfXYBP0KKief7wGz1m8NWWY4kaoYDs_Xgg,399
|
|
33
|
+
compassapisdk/models/aaveuserpositionpertokenresponse.py,sha256=tX9UAnZfDVd3ahyIx2306Ei7-rBUUPXzuke4AfK8g-w,2837
|
|
34
|
+
compassapisdk/models/aaveuserpositionsummaryresponse.py,sha256=zfvGnzs9jAc3xmYzDJa39doy2RxeTf6td6ZQMhcElT0,1654
|
|
35
|
+
compassapisdk/models/aavewithdrawparams.py,sha256=O5wkBFbGUUyxRf1JTaI0_cglFu9oziNEOQYejyGMaHY,1418
|
|
36
|
+
compassapisdk/models/aavewithdrawrequest.py,sha256=4ec8SXUkXNu5rBDqBC8cFjhi7Ikkzti95_aWK5WF8t4,1683
|
|
37
|
+
compassapisdk/models/aerodrome_slipstream_liquidity_provision_positionsop.py,sha256=Ql4aAN9Rzmcr7CawBaqsLv8Sfc37y3kZNM_MBXU3P1c,1347
|
|
38
|
+
compassapisdk/models/aerodrome_slipstream_pool_priceop.py,sha256=sMv1nLtUPeW2m58U830Sh9Z-e2_-QBXFdo0R5Ofe9hk,4058
|
|
39
|
+
compassapisdk/models/aerodromelppositionsresponse.py,sha256=hBfa6UtD7tEZ82p9MGNvuvdO3KTcf3nn14LBvKpXgP4,859
|
|
40
|
+
compassapisdk/models/aerodromeposition.py,sha256=8Qcb64O1mLjZDWePZYkQr4LrrpS_tVnRFtzlg50-8SA,1693
|
|
41
|
+
compassapisdk/models/aerodromeslipstreambuyexactlyparams.py,sha256=k5d6naVWQAYVO9FpOHLd8oZUVJCpREIPq3TT39jr-qg,2813
|
|
42
|
+
compassapisdk/models/aerodromeslipstreambuyexactlyrequest.py,sha256=PHqLelMM389oyD275sXSSM35QvzXl3HnD3yK57r_Z8c,3072
|
|
43
|
+
compassapisdk/models/aerodromeslipstreamincreaseliquidityprovisionparams.py,sha256=Yu0CJnZt_thOapnemcO35OsbjbcVT3tzaRyV8mIAHKk,4219
|
|
44
|
+
compassapisdk/models/aerodromeslipstreamincreaseliquidityprovisionrequest.py,sha256=pT9Mkey6C8k_ETe_QuK4pYOArflnzOHjp7AFnKNqdB4,4062
|
|
45
|
+
compassapisdk/models/aerodromeslipstreammintliquidityprovisionparams.py,sha256=2TdJZMsDRpKr6v00CtBtqxHMeunidiJKBVQmPZl2kVE,6170
|
|
46
|
+
compassapisdk/models/aerodromeslipstreammintliquidityprovisionrequest.py,sha256=XPzcOw5czRTRzXv7_0Sw3uaIHL6CmauWaYWsmG5rNus,6441
|
|
47
|
+
compassapisdk/models/aerodromeslipstreampoolpriceresponse.py,sha256=2X10JhuzgptPWmyq3I_NqoeVQaxOZL-6P6OAmDs3bBg,2158
|
|
48
|
+
compassapisdk/models/aerodromeslipstreamsellexactlyparams.py,sha256=wP4cyaI7-PtNbutcDYwRT4u2rEWyxBoU9HIgKbO3_0k,2970
|
|
49
|
+
compassapisdk/models/aerodromeslipstreamsellexactlyrequest.py,sha256=1YWJYkbu3cqSQc02WIglQ3m256b5WGyeNAciRvjGVBQ,3229
|
|
50
|
+
compassapisdk/models/aerodromeslipstreamwithdrawliquidityprovisionparams.py,sha256=YXvVCJf1PK55ArZclke7MlG5dLWjSJLMUDvN9FOVUb8,2263
|
|
51
|
+
compassapisdk/models/aerodromeslipstreamwithdrawliquidityprovisionrequest.py,sha256=FdxV5s-OEMLeYi-DANngw_B1P5nZnXFhTpXs89MLr9o,1736
|
|
52
|
+
compassapisdk/models/allowanceinforesponse.py,sha256=cTVWtVlHkgH6I7rjNgeN-kJ017u3HBHQfHm3biwIaho,1391
|
|
53
|
+
compassapisdk/models/borrow.py,sha256=DMHZTvjvMe8ziVXtciXo0QdqjqgQixqikaXBYM4fxTo,2136
|
|
54
|
+
compassapisdk/models/chain.py,sha256=TzxP0Ujy0L-o3__gggsKeJIWMaflQTNnNSEaXBnSlGU,304
|
|
55
|
+
compassapisdk/models/chaininfo.py,sha256=E3wFVYtfZPOm-piSp53cpAkSpwEdeMhQmcWp2_ngNyA,1404
|
|
56
|
+
compassapisdk/models/compass_api_backend_models_morpho_read_response_get_markets_asset.py,sha256=OofYMiP2ReY-MJlPbpL6Gz77qgjYrQU6ZOmImzP83Kk,486
|
|
57
|
+
compassapisdk/models/compass_api_backend_models_morpho_read_response_get_vaults_asset.py,sha256=aejg8IwbRjhzx_zCYDXfH1aew24f6uePg1tZUMcNYfk,560
|
|
58
|
+
compassapisdk/models/contractname.py,sha256=DJHzH2A2fydQrhrQIg9JzrNY7r7BfH_qwZfV6bpbNe4,1395
|
|
59
|
+
compassapisdk/models/ensnameinforesponse.py,sha256=yDo15mrFR69Sc8SOQYuaWtgH-8rvXuNopToyHWZ80Iw,624
|
|
60
|
+
compassapisdk/models/feeenum.py,sha256=TIYaeNWCG9KFGV7CZeXHvZ_4tmlqdlk-Pcg04pc7ynM,363
|
|
61
|
+
compassapisdk/models/generic_allowanceop.py,sha256=34ef15anqshrpbVsHatvbPCq5zksf8DPO7xuYFsPPhA,3592
|
|
62
|
+
compassapisdk/models/generic_ensop.py,sha256=JxXqYwnEmwSOz-ETqcw2sRmNXcItGdoUf-qNL7sxwhY,1100
|
|
63
|
+
compassapisdk/models/generic_portfolioop.py,sha256=WrIo_rwtgLCffs_vb8OPkFsy1q8cCj52vkSvPhwF3EA,1171
|
|
64
|
+
compassapisdk/models/generic_supported_tokensop.py,sha256=3vqMM89Z-GXWZfsmNwcKbyqQbjYfsFobdJIt9ExvbCo,880
|
|
65
|
+
compassapisdk/models/generic_visualize_portfolioop.py,sha256=FoVwSwa33i83VdvcJ3F95_6U0T7YZlS832mtpoAUgwc,1225
|
|
66
|
+
compassapisdk/models/image.py,sha256=LAyCDYZQPmAdUxMzoABbB38ww5QmQb_qsXHSak9kBY0,353
|
|
67
|
+
compassapisdk/models/increaseallowanceanyparams.py,sha256=F79UZ43SIIbuSJR0CayxEAEWD4O4Vh5pvCHlsYFQRR4,1849
|
|
68
|
+
compassapisdk/models/increaseallowanceparams.py,sha256=fwIxNByJa-vSoe0b-EqyPDuo5k_awsWe1-t20NhU4OE,2426
|
|
69
|
+
compassapisdk/models/increaseallowancerequest.py,sha256=X9bSpRdrJcZdiTUgjXfiMkhFcVgP4BN5LNsON07ZuyI,2682
|
|
70
|
+
compassapisdk/models/interestratemode.py,sha256=OmOKBSJD0y9O9LuA0rajVkvxiEuU-xiQAuoiHYFmp5s,341
|
|
71
|
+
compassapisdk/models/liquidationcall.py,sha256=pzKPY5qd1EeIQ8Eec3yNMmEfFqUDxmF2rRU7u7IpLQM,2015
|
|
72
|
+
compassapisdk/models/marketstate.py,sha256=5AUQoipevX6QpvA7oC4eifRWhh5H6JAqCa1hGM7QSeU,963
|
|
73
|
+
compassapisdk/models/morpho_market_positionop.py,sha256=LMDcajTr1LZdp5UJWqll8Xf64KbJfaUsS5-Ow_0lrT0,1544
|
|
74
|
+
compassapisdk/models/morpho_marketsop.py,sha256=k5qKjdNskgXNUTDFF2itK3xwUmobisc2_ODXpTWcT0U,2433
|
|
75
|
+
compassapisdk/models/morpho_vault_positionop.py,sha256=oqeKhMSXvSS8GAzciWjpxF7nFeQuFZT_CGxL1-XREEY,1408
|
|
76
|
+
compassapisdk/models/morpho_vaultsop.py,sha256=etFfJXNHCPVPdSvmO3B0SAsmqH49oxU8r-Y7He68psE,2142
|
|
77
|
+
compassapisdk/models/morphoborrowrequest.py,sha256=zf3pXasnoDbHGMtdvXrTEyYzwFjLEqeCWaE1jBA56gc,3081
|
|
78
|
+
compassapisdk/models/morphocheckmarketpositionresponse.py,sha256=21qC_C_-_zRkBcv4xV-EfFXZF5d1iifGyTaEVCa2iyU,1663
|
|
79
|
+
compassapisdk/models/morphocheckvaultpositionresponse.py,sha256=Zk57Ll0bKyTQXshY5wQzC_X87e3UmZKWBCOcgP_iL7U,602
|
|
80
|
+
compassapisdk/models/morphodepositrequest.py,sha256=Pd-6t7KtSZpJeKyoahCzE-kBnG7dWYsOYZcjkavCf98,2796
|
|
81
|
+
compassapisdk/models/morphogetmarketsresponse.py,sha256=cTtoT2bBYKEvGUOXB74aDZmB02hxjj2KT8kMH_rwI7Q,546
|
|
82
|
+
compassapisdk/models/morphogetvaultsresponse.py,sha256=nnJSeaj14T6hM5neAj77xkrEW_PlxxSv71nPB_TGzQY,535
|
|
83
|
+
compassapisdk/models/morphomarket.py,sha256=8Ac1cKCHs09p0YQ1fw_-0WqvkQEJROEijqSToQvXZLU,2571
|
|
84
|
+
compassapisdk/models/morphorepayrequest.py,sha256=x_spwoVZoxwycpgIkLWRZ6YipTAAAZL3ramzjawsv9w,2956
|
|
85
|
+
compassapisdk/models/morphosetvaultallowancerequest.py,sha256=GK4Vtfy6bEuWf8fYfYyxN6Bg6PB-EZEQqYxMetaGRg4,1509
|
|
86
|
+
compassapisdk/models/morphosupplycollateralrequest.py,sha256=u6chm-qyyZynxtzCjsqRQ6h0Lwkid2QhMxpxi7UfUnI,3315
|
|
87
|
+
compassapisdk/models/morphovault.py,sha256=fNQC_pO_AYr9xqWPpwXuNIA8u4QoyQyc8Jrw_iI11P8,1335
|
|
88
|
+
compassapisdk/models/morphowithdrawcollateralrequest.py,sha256=qaTJdsESJo0bh_7RsApsvR4gUdBBhuzdzu8JH6b-iNs,3243
|
|
89
|
+
compassapisdk/models/morphowithdrawrequest.py,sha256=mUwpIwrSqNdz4VscpwXP3JNNUScig4txUvb0qGNi44I,2411
|
|
90
|
+
compassapisdk/models/multicallaction.py,sha256=MSNlDPBjyloXQ5aI5p1d40gxTrhxSzo2ceTFUzprSno,4557
|
|
91
|
+
compassapisdk/models/multicallactiontype.py,sha256=8vkak6f6uslIgD8DG8UnynCI9GhU69sIxk6Fm9pLT-4,1168
|
|
92
|
+
compassapisdk/models/multicallauthorizationrequest.py,sha256=XjmDuVsZYRYOxJoEV_JaCF0UHzTL7nq-FtVHNnq9Xeg,1153
|
|
93
|
+
compassapisdk/models/multicallauthorizationresponse.py,sha256=1dqpVqEn8w3SHOa7Cbcxxrg51SZIOh5eiEvOPAigeUk,912
|
|
94
|
+
compassapisdk/models/multicallexecuterequest.py,sha256=mo64ndwPS_rqKef5AqfmJSvDUk00TXSokzm-Re6VsIQ,1103
|
|
95
|
+
compassapisdk/models/portfolio.py,sha256=9DLJngi8giXW-JdqyiYM-2OT4KKe2qbzw6A0zW23YCI,685
|
|
96
|
+
compassapisdk/models/redeemunderlying.py,sha256=HPVQ0evepQBH2DSDa0VVWvJsr0NJq-w7DXnr7TO5adY,1280
|
|
97
|
+
compassapisdk/models/repay.py,sha256=WkFr2xVNNkEYu_p_7tJO3QF7zjd1wUnj9QK6PwIwVh8,1478
|
|
98
|
+
compassapisdk/models/reserve.py,sha256=6rTm7QAPIqwwx0nbZ6tx6hdcDejzHkWtYbry8-uXNB0,2215
|
|
99
|
+
compassapisdk/models/security.py,sha256=lYtADQ6XmY_YcTSJ_JWdRMk-dUhKH-7d2Bw61iCmrOk,631
|
|
100
|
+
compassapisdk/models/signedauthorization.py,sha256=3CxjKIUCYxkX8alcbrFUipz5R2mnTGpTUwyZeik3Fl4,1457
|
|
101
|
+
compassapisdk/models/sky_positionop.py,sha256=OKkVpeNHJ_AKJgjhCnLwsfu0NXb60dUx509n-NDAphc,1122
|
|
102
|
+
compassapisdk/models/skybuyrequest.py,sha256=cJdVuDeTXeXC_4wys9s3CDbflbWuzw2DJIXMtzTL4UQ,1784
|
|
103
|
+
compassapisdk/models/skycheckpositionresponse.py,sha256=m7K-48h8bzzfxhzojDzFCI9bWU4wjDjj_5fmjgMBzVI,566
|
|
104
|
+
compassapisdk/models/skydepositrequest.py,sha256=BnAKDDcRwUAn5JrvLbvl9isJcphHXX3R-acIxBaL5o4,2757
|
|
105
|
+
compassapisdk/models/skysellrequest.py,sha256=mmNfpAPVgYtiFDV842LwhuTp2yBnYc-AoojI7WMDvTE,1804
|
|
106
|
+
compassapisdk/models/skywithdrawrequest.py,sha256=uB0gW6580RDGAS4Bz9tPkJXfqYCUcuJJWG_WnhF8a5s,2449
|
|
107
|
+
compassapisdk/models/supply.py,sha256=VckGKt7UhsnQiIErtVSoUn9xWqF4HsrBvehUIZ5fs_k,1550
|
|
108
|
+
compassapisdk/models/swapborrowrate.py,sha256=wg3ZDH6g3SSP5zwm_1ep3JaWMyY6JkM8h8V2S6dpWso,1740
|
|
109
|
+
compassapisdk/models/token_addressop.py,sha256=VyhhrkSSf_SonCX_X8Qzv5MEi-XOo8keontkNfNM9iU,2157
|
|
110
|
+
compassapisdk/models/token_balanceop.py,sha256=YhxwsxSMaWbJHtsFohCQgel5IksZeopZCXdKghJcG-o,1789
|
|
111
|
+
compassapisdk/models/token_enum.py,sha256=klu_nFSPn35oWFaduBEjRQm5WjkNOpZztRVj0FucuK4,1166
|
|
112
|
+
compassapisdk/models/token_priceop.py,sha256=blm8YCAm0u5qWgxEZlPBEY5kZokW6l57ZG6DDtwuDrY,2157
|
|
113
|
+
compassapisdk/models/tokenaddressresponse.py,sha256=FNCGFsm5kjBSqFnQtmql-AR4nMXDNWoNyEO1fPkyCyg,397
|
|
114
|
+
compassapisdk/models/tokenbalance.py,sha256=3cKVrBG6vZmEvz3gQ8TldrVMHSXqsim8dkw-CF5ptyc,1374
|
|
115
|
+
compassapisdk/models/tokenbalanceresponse.py,sha256=wPQqSqhFE85yG_F8E3gAINK93GP3Us5nZ9bGEOoWZGg,1191
|
|
116
|
+
compassapisdk/models/tokeninfo.py,sha256=9U73ypzxNzuhFtRWWQE7WeiQZMc-XZXggXCEO1cwun0,481
|
|
117
|
+
compassapisdk/models/tokenpriceresponse.py,sha256=kDdPlWGLiDAyc3ruGCv9mssA-xsMRzaokFqu3y4mKIk,381
|
|
118
|
+
compassapisdk/models/tokentransfererc20params.py,sha256=fozI2btlDnXegnH262OPSThKVFDRTsrm3gB9GZg1zCo,1498
|
|
119
|
+
compassapisdk/models/tokentransferrequest.py,sha256=PcwKhJfnIzdWxsorBdpBfbJc59sn7DXxgSIeyeIjZyA,1786
|
|
120
|
+
compassapisdk/models/uniswap_liquidity_provision_in_rangeop.py,sha256=9UjnoHyMZRDmzjgNRtGpLSIPxJjLJ-FftpWZeEU7kN0,1241
|
|
121
|
+
compassapisdk/models/uniswap_liquidity_provision_positionsop.py,sha256=hzJbAnRDwccKgYCJN-v8SK4NJRZU7TnZLxon8Rr4XhE,1279
|
|
122
|
+
compassapisdk/models/uniswap_pool_priceop.py,sha256=a5dxv-iKBEEzd1oAO7I9O7SgE7bkVcfTC0DmX3gvGW0,4111
|
|
123
|
+
compassapisdk/models/uniswap_quote_buy_exactlyop.py,sha256=usmAT5zWDuEG0Fsi5-9gvdsS4JvV1Hk6GeFY1A673T8,4910
|
|
124
|
+
compassapisdk/models/uniswap_quote_sell_exactlyop.py,sha256=4rypvUtck8vYw9jKYW3Ct8PL6GdMylytbrTabqJ1840,4934
|
|
125
|
+
compassapisdk/models/uniswapbuyexactlyparams.py,sha256=cNvEkaEspWr-zykTKqIR_xg5dLsOl8ZDNE9PzuDEiJY,2528
|
|
126
|
+
compassapisdk/models/uniswapbuyexactlyrequest.py,sha256=BYj1wSAqATN_rno6td-RkXtPPqUeKOnLSWrs5iZJklc,2919
|
|
127
|
+
compassapisdk/models/uniswapbuyquoteinforesponse.py,sha256=jaupVkpyzYaYFKywnKpk8FZFAKgtnqOacv1IJNQxgQk,732
|
|
128
|
+
compassapisdk/models/uniswapcheckinrangeresponse.py,sha256=IlXey0GggVIKReco7kY57jno3xz3uSEbWNMg1IUZDus,579
|
|
129
|
+
compassapisdk/models/uniswapincreaseliquidityprovisionparams.py,sha256=qz2N13hM79GH7-Y-t0MYkJEXs3fOFMIJT4wkCcohDBc,3371
|
|
130
|
+
compassapisdk/models/uniswapincreaseliquidityprovisionrequest.py,sha256=g86qA2hCExOO2ewkpAEjKvOYlDovgpWKsjyCOQtKGxk,3800
|
|
131
|
+
compassapisdk/models/uniswaplppositionsinforesponse.py,sha256=12y2h3tmE0ZdDtgH-IFt1fVKgY_ttuLkvzd8SBJre7U,851
|
|
132
|
+
compassapisdk/models/uniswapmintliquidityprovisionparams.py,sha256=PDgkAzqH-2zc0mKBvWZt-nWAHHKkKoFE94mDbNIu7OE,5829
|
|
133
|
+
compassapisdk/models/uniswapmintliquidityprovisionrequest.py,sha256=3hH9VOohIyhSwPo4ZSIljiom6B2wmbnNwfj7yZcUxOc,6234
|
|
134
|
+
compassapisdk/models/uniswappoolpriceresponse.py,sha256=oFqbYRvlLzIm14ujutLwtKKW-P1zkQjmSOSo6ZgKZ5E,2066
|
|
135
|
+
compassapisdk/models/uniswappositionssolidityresponse.py,sha256=YRAbZ0wZWWGfRBipcHLbFatA5qH0wi166cHnrq4Aw_E,830
|
|
136
|
+
compassapisdk/models/uniswapsellexactlyparams.py,sha256=rhlGzw5bQHA36EPuQoJDH4-CJRjFxkcqeTfRCPgSZiE,2684
|
|
137
|
+
compassapisdk/models/uniswapsellexactlyrequest.py,sha256=_43gQjNn_8M8PxJBRONgjhSKg2AHPfBu2_ZfP-GM7ac,2937
|
|
138
|
+
compassapisdk/models/uniswapsellquoteinforesponse.py,sha256=g25tuJmvqtCFEDMgYUa4iyYxMjzvoNl4hvGaMfzCss4,732
|
|
139
|
+
compassapisdk/models/uniswapwithdrawliquidityprovisionparams.py,sha256=cZiu6-tgGrdpS1yhGtooYUjHy7_9BfT_RWcHk9oLw9s,2114
|
|
140
|
+
compassapisdk/models/uniswapwithdrawliquidityprovisionrequest.py,sha256=o440k5IcHYsSctSRNjLpFGnZl9C7XuYl9xpMzSNDC2I,1651
|
|
141
|
+
compassapisdk/models/unsignedmulticalltransaction.py,sha256=K6sRZTHohkRxuufiY94H0g3tPgberGdksLIeSqPkhqM,2045
|
|
142
|
+
compassapisdk/models/unsignedtransaction.py,sha256=w4clEebrshTQDO8SmIuOZXnhmucQRyaTyrG3CncHQl8,1621
|
|
143
|
+
compassapisdk/models/unwrapwethparams.py,sha256=XxMLwmFMXG7OI0Y9cW4raIR02XlOs7DfRngIDaX2bfE,882
|
|
144
|
+
compassapisdk/models/unwrapwethrequest.py,sha256=JoMifLWT21JLodajj54UoFnvFFd9lrqt2gJSUcKzZQI,1135
|
|
145
|
+
compassapisdk/models/usageascollateral.py,sha256=MpuAyXvI23x0FhTQa86pykGgEmn6M_mZS6pqrsJgm20,1557
|
|
146
|
+
compassapisdk/models/validationerror.py,sha256=UdELVQT2MxC-P_UJ1t8pSRZ7r-7r5YGIYIrCkjyq-zM,530
|
|
147
|
+
compassapisdk/models/vaultstate.py,sha256=KEJx6v0-OTFy7U8vXyrCsbdQNh19eEVvWRZnl6gIGPY,694
|
|
148
|
+
compassapisdk/models/weeklyapys.py,sha256=JRycSFxP8JfeOkh0C2-bRIc4yr72h6GKbJ0guJTmaz0,673
|
|
149
|
+
compassapisdk/models/wrapethparams.py,sha256=b6bTGS0yl-hdjFL7Zkvr6gn43pbRA4rXKKyZsF_tFkk,822
|
|
150
|
+
compassapisdk/models/wrapethrequest.py,sha256=VPi4k2ux_vKBMSQ4WSIsebGCvD-L-x5pc0bxeGTu2Ho,1075
|
|
151
|
+
compassapisdk/morpho.py,sha256=oVW0yWcj4j9wQYluGDJtgXqpzsrfCgFwLdigrTQ8tAA,108028
|
|
152
|
+
compassapisdk/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
|
153
|
+
compassapisdk/sdk.py,sha256=Ep8fR0FgKCm3fJuhP-9AQTE7SINVZf90c1ZsgajwuGQ,6079
|
|
154
|
+
compassapisdk/sdkconfiguration.py,sha256=pruE3w60JmjxI3yq2dw3lbxuY3_BPlFzDDBZZKULADs,1760
|
|
155
|
+
compassapisdk/sky.py,sha256=63wu2nBjtiEnULAZAYdMZxvXnwFXNilWKl_BmLI6mVg,43635
|
|
156
|
+
compassapisdk/token_sdk.py,sha256=l4IugAow6anTtZnT2jVpNpUujLanf22Aj1ye_I_0NxM,34254
|
|
157
|
+
compassapisdk/transaction_batching.py,sha256=mHjLuk8aUDhOe-eZ6hrMwuGBKaoaFZIFuxOrHZYzAOE,31365
|
|
158
|
+
compassapisdk/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
|
|
159
|
+
compassapisdk/types/basemodel.py,sha256=L79WXvTECbSqaJzs8D3ud_KdIWkU7Cx2wbohDAktE9E,1127
|
|
160
|
+
compassapisdk/uniswap_v3.py,sha256=Pyr6skYGJd-f-HYxA8JY8sUhfTNlK-Eg02hCo8Bw0W4,108321
|
|
161
|
+
compassapisdk/universal.py,sha256=MVdlh6iGiJoVkQZmSMo2ddaqrUxpo0Gnw2i14Oe9AbI,70173
|
|
162
|
+
compassapisdk/utils/__init__.py,sha256=srwCxQa-o7LVSIbziUI2u9_LMEEvJNBU0I14OEQUOpA,2441
|
|
163
|
+
compassapisdk/utils/annotations.py,sha256=aR7mZG34FzgRdew7WZPYEu9QGBerpuKxCF4sek5Z_5Y,1699
|
|
164
|
+
compassapisdk/utils/datetimes.py,sha256=oppAA5e3V35pQov1-FNLKxAaNF1_XWi-bQtyjjql3H8,855
|
|
165
|
+
compassapisdk/utils/enums.py,sha256=REU6ydF8gsVL3xaeGX4sMNyiL3q5P9h29-f6Sa6luAE,2633
|
|
166
|
+
compassapisdk/utils/eventstreaming.py,sha256=LtcrfJYw4nP2Oe4Wl0-cEURLzRGYReRGWNFY5wYECIE,6186
|
|
167
|
+
compassapisdk/utils/forms.py,sha256=YSSijXrsM2nfrRHlPQejh1uRRKfoILomHL3d9xpJiy8,6058
|
|
168
|
+
compassapisdk/utils/headers.py,sha256=cPxWSmUILrefTGDzTH1Hdj7_Hlsj-EY6K5Tyc4iH4dk,3663
|
|
169
|
+
compassapisdk/utils/logger.py,sha256=9nUtlKHo3RFsIVyMw5jq3wEKZMVwHnZMSc6xLp-otC0,520
|
|
170
|
+
compassapisdk/utils/metadata.py,sha256=Per2KFXXOqOtoUWXrlIfjrSrBg199KrRW0nKQDgHIBU,3136
|
|
171
|
+
compassapisdk/utils/queryparams.py,sha256=MTK6inMS1_WwjmMJEJmAn67tSHHJyarpdGRlorRHEtI,5899
|
|
172
|
+
compassapisdk/utils/requestbodies.py,sha256=ySjEyjcLi731LNUahWvLOrES2HihuA8VrOJx4eQ7Qzg,2101
|
|
173
|
+
compassapisdk/utils/retries.py,sha256=6yhfZifqIat9i76xF0lTR2jLj1IN9BNGyqqxATlEFPU,6348
|
|
174
|
+
compassapisdk/utils/security.py,sha256=ktep3HKwbFs-MLxUYTM8Jd4v-ZBum5_Z0u1PFIdYBX0,5516
|
|
175
|
+
compassapisdk/utils/serializers.py,sha256=hiHBXM1AY8_N2Z_rvFfNSYwvLBkSQlPGFp8poasdU4s,5986
|
|
176
|
+
compassapisdk/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
|
177
|
+
compassapisdk/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
|
|
178
|
+
compass_api_sdk-0.3.0.dist-info/METADATA,sha256=EPkHmctZUcbbMfD4UqWxL5iuYkUiN8_NYHy-c17btz0,24826
|
|
179
|
+
compass_api_sdk-0.3.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
180
|
+
compass_api_sdk-0.3.0.dist-info/RECORD,,
|
|
@@ -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 compassapisdk.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.
|
|
6
|
+
__version__: str = "0.3.0"
|
|
7
7
|
__openapi_doc_version__: str = "0.0.1"
|
|
8
|
-
__gen_version__: str = "2.
|
|
9
|
-
__user_agent__: str = "speakeasy-sdk/python 0.
|
|
8
|
+
__gen_version__: str = "2.603.1"
|
|
9
|
+
__user_agent__: str = "speakeasy-sdk/python 0.3.0 2.603.1 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 compassapisdk import errors, models, utils
|
|
5
|
+
from compassapisdk._hooks import HookContext
|
|
6
|
+
from compassapisdk.types import OptionalNullable, UNSET
|
|
7
7
|
from typing import Any, Mapping, Optional, Union
|
|
8
8
|
|
|
9
9
|
|
|
@@ -28,7 +28,7 @@ class AaveV3(BaseSDK):
|
|
|
28
28
|
See below for more info:
|
|
29
29
|
|
|
30
30
|
:param chain: The chain to use.
|
|
31
|
-
:param token:
|
|
31
|
+
:param token: The symbol of the asset..
|
|
32
32
|
:param retries: Override the default retry configuration for this method
|
|
33
33
|
:param server_url: Override the default server URL for this method
|
|
34
34
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -135,7 +135,7 @@ class AaveV3(BaseSDK):
|
|
|
135
135
|
See below for more info:
|
|
136
136
|
|
|
137
137
|
:param chain: The chain to use.
|
|
138
|
-
:param token:
|
|
138
|
+
:param token: The symbol of the asset..
|
|
139
139
|
:param retries: Override the default retry configuration for this method
|
|
140
140
|
:param server_url: Override the default server URL for this method
|
|
141
141
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -250,7 +250,7 @@ class AaveV3(BaseSDK):
|
|
|
250
250
|
For APY/APR on loans Aave offers both stable and fixed rates on certain tokens.
|
|
251
251
|
|
|
252
252
|
:param chain: The chain to use.
|
|
253
|
-
:param token:
|
|
253
|
+
:param token: The symbol of the asset to fetch the users' position on..
|
|
254
254
|
:param retries: Override the default retry configuration for this method
|
|
255
255
|
:param server_url: Override the default server URL for this method
|
|
256
256
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -363,7 +363,7 @@ class AaveV3(BaseSDK):
|
|
|
363
363
|
For APY/APR on loans Aave offers both stable and fixed rates on certain tokens.
|
|
364
364
|
|
|
365
365
|
:param chain: The chain to use.
|
|
366
|
-
:param token:
|
|
366
|
+
:param token: The symbol of the asset to fetch the users' position on..
|
|
367
367
|
:param retries: Override the default retry configuration for this method
|
|
368
368
|
:param server_url: Override the default server URL for this method
|
|
369
369
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -470,7 +470,7 @@ class AaveV3(BaseSDK):
|
|
|
470
470
|
Aave.
|
|
471
471
|
|
|
472
472
|
:param chain: The chain to use.
|
|
473
|
-
:param token:
|
|
473
|
+
:param token: The symbol of the asset whose price you want..
|
|
474
474
|
:param retries: Override the default retry configuration for this method
|
|
475
475
|
:param server_url: Override the default server URL for this method
|
|
476
476
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -577,7 +577,7 @@ class AaveV3(BaseSDK):
|
|
|
577
577
|
Aave.
|
|
578
578
|
|
|
579
579
|
:param chain: The chain to use.
|
|
580
|
-
:param token:
|
|
580
|
+
:param token: The symbol of the asset whose price you want..
|
|
581
581
|
:param retries: Override the default retry configuration for this method
|
|
582
582
|
:param server_url: Override the default server URL for this method
|
|
583
583
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -689,9 +689,9 @@ class AaveV3(BaseSDK):
|
|
|
689
689
|
true if the liquidity index is negative.
|
|
690
690
|
|
|
691
691
|
:param chain: The chain to use.
|
|
692
|
-
:param token:
|
|
693
|
-
:param start_block:
|
|
694
|
-
:param end_block:
|
|
692
|
+
:param token: The symbol of the asset to get liquidity change for..
|
|
693
|
+
:param start_block: The start block to calculate liquidity change from.
|
|
694
|
+
:param end_block: The end block to calculate liquidity change to.
|
|
695
695
|
:param retries: Override the default retry configuration for this method
|
|
696
696
|
:param server_url: Override the default server URL for this method
|
|
697
697
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -807,9 +807,9 @@ class AaveV3(BaseSDK):
|
|
|
807
807
|
true if the liquidity index is negative.
|
|
808
808
|
|
|
809
809
|
:param chain: The chain to use.
|
|
810
|
-
:param token:
|
|
811
|
-
:param start_block:
|
|
812
|
-
:param end_block:
|
|
810
|
+
:param token: The symbol of the asset to get liquidity change for..
|
|
811
|
+
:param start_block: The start block to calculate liquidity change from.
|
|
812
|
+
:param end_block: The end block to calculate liquidity change to.
|
|
813
813
|
:param retries: Override the default retry configuration for this method
|
|
814
814
|
:param server_url: Override the default server URL for this method
|
|
815
815
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -920,7 +920,7 @@ class AaveV3(BaseSDK):
|
|
|
920
920
|
a holistic view of their financial standing within the AAVE ecosystem.
|
|
921
921
|
|
|
922
922
|
:param chain: The chain to use.
|
|
923
|
-
:param user:
|
|
923
|
+
:param user: The user to get position summary for.
|
|
924
924
|
:param retries: Override the default retry configuration for this method
|
|
925
925
|
:param server_url: Override the default server URL for this method
|
|
926
926
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -1029,7 +1029,7 @@ class AaveV3(BaseSDK):
|
|
|
1029
1029
|
a holistic view of their financial standing within the AAVE ecosystem.
|
|
1030
1030
|
|
|
1031
1031
|
:param chain: The chain to use.
|
|
1032
|
-
:param user:
|
|
1032
|
+
:param user: The user to get position summary for.
|
|
1033
1033
|
:param retries: Override the default retry configuration for this method
|
|
1034
1034
|
:param server_url: Override the default server URL for this method
|
|
1035
1035
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -1140,8 +1140,8 @@ class AaveV3(BaseSDK):
|
|
|
1140
1140
|
their financial standing within the AAVE ecosystem.
|
|
1141
1141
|
|
|
1142
1142
|
:param chain: The chain to use.
|
|
1143
|
-
:param user:
|
|
1144
|
-
:param token:
|
|
1143
|
+
:param user: The user to fetch the token-specific position of.
|
|
1144
|
+
:param token: The symbol of the asset to fetch the user's position on..
|
|
1145
1145
|
:param retries: Override the default retry configuration for this method
|
|
1146
1146
|
:param server_url: Override the default server URL for this method
|
|
1147
1147
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -1253,8 +1253,8 @@ class AaveV3(BaseSDK):
|
|
|
1253
1253
|
their financial standing within the AAVE ecosystem.
|
|
1254
1254
|
|
|
1255
1255
|
:param chain: The chain to use.
|
|
1256
|
-
:param user:
|
|
1257
|
-
:param token:
|
|
1256
|
+
:param user: The user to fetch the token-specific position of.
|
|
1257
|
+
:param token: The symbol of the asset to fetch the user's position on..
|
|
1258
1258
|
:param retries: Override the default retry configuration for this method
|
|
1259
1259
|
:param server_url: Override the default server URL for this method
|
|
1260
1260
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -1364,9 +1364,9 @@ class AaveV3(BaseSDK):
|
|
|
1364
1364
|
activity within the AAVE protocol.
|
|
1365
1365
|
|
|
1366
1366
|
:param chain: The chain to use.
|
|
1367
|
-
:param user_address:
|
|
1368
|
-
:param offset:
|
|
1369
|
-
:param limit:
|
|
1367
|
+
:param user_address: The address of the user to get historical transactions for.
|
|
1368
|
+
:param offset: The offset of the first item to return.
|
|
1369
|
+
:param limit: The number of items to return.
|
|
1370
1370
|
:param retries: Override the default retry configuration for this method
|
|
1371
1371
|
:param server_url: Override the default server URL for this method
|
|
1372
1372
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -1477,9 +1477,9 @@ class AaveV3(BaseSDK):
|
|
|
1477
1477
|
activity within the AAVE protocol.
|
|
1478
1478
|
|
|
1479
1479
|
:param chain: The chain to use.
|
|
1480
|
-
:param user_address:
|
|
1481
|
-
:param offset:
|
|
1482
|
-
:param limit:
|
|
1480
|
+
:param user_address: The address of the user to get historical transactions for.
|
|
1481
|
+
:param offset: The offset of the first item to return.
|
|
1482
|
+
:param limit: The number of items to return.
|
|
1483
1483
|
:param retries: Override the default retry configuration for this method
|
|
1484
1484
|
:param server_url: Override the default server URL for this method
|
|
1485
1485
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|