compass_api_sdk 0.1.14__py3-none-any.whl → 0.2.1__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/_version.py +3 -3
- compass_api_sdk/aave_v3.py +214 -0
- compass_api_sdk/models/__init__.py +62 -25
- compass_api_sdk/models/aave_reserve_overviewop.py +97 -0
- compass_api_sdk/models/aavehistoricaltransactionsresponse.py +45 -11
- compass_api_sdk/models/aavelooprequest.py +87 -0
- compass_api_sdk/models/aavereserveoverviewresponse.py +25 -0
- compass_api_sdk/models/borrow.py +46 -12
- compass_api_sdk/models/liquidationcall.py +45 -18
- compass_api_sdk/models/morpho_market_positionop.py +5 -9
- compass_api_sdk/models/morpho_marketsop.py +5 -9
- compass_api_sdk/models/morpho_vault_positionop.py +5 -9
- compass_api_sdk/models/morpho_vaultsop.py +19 -17
- compass_api_sdk/models/morphoborrowrequest.py +8 -5
- compass_api_sdk/models/morphodepositrequest.py +8 -5
- compass_api_sdk/models/morphorepayrequest.py +8 -5
- compass_api_sdk/models/morphosetvaultallowancerequest.py +8 -5
- compass_api_sdk/models/morphosupplycollateralrequest.py +8 -5
- compass_api_sdk/models/morphowithdrawcollateralrequest.py +8 -5
- compass_api_sdk/models/morphowithdrawrequest.py +8 -5
- compass_api_sdk/models/redeemunderlying.py +31 -4
- compass_api_sdk/models/repay.py +35 -4
- compass_api_sdk/models/reserve.py +67 -6
- compass_api_sdk/models/supply.py +37 -4
- compass_api_sdk/models/swapborrowrate.py +37 -8
- compass_api_sdk/models/uniswapbuyexactlyparams.py +6 -6
- compass_api_sdk/models/uniswapbuyexactlyrequest.py +6 -6
- compass_api_sdk/models/usageascollateral.py +36 -4
- compass_api_sdk/morpho.py +63 -47
- compass_api_sdk/transaction_batching.py +284 -0
- compass_api_sdk/uniswap_v3.py +10 -10
- {compass_api_sdk-0.1.14.dist-info → compass_api_sdk-0.2.1.dist-info}/METADATA +12 -11
- {compass_api_sdk-0.1.14.dist-info → compass_api_sdk-0.2.1.dist-info}/RECORD +34 -35
- compass_api_sdk/models/aavehistoricaltransactionbase.py +0 -113
- compass_api_sdk/models/action.py +0 -14
- compass_api_sdk/models/collateralreserve.py +0 -16
- compass_api_sdk/models/principalreserve.py +0 -16
- {compass_api_sdk-0.1.14.dist-info → compass_api_sdk-0.2.1.dist-info}/WHEEL +0 -0
|
@@ -471,3 +471,287 @@ class TransactionBatching(BaseSDK):
|
|
|
471
471
|
http_res_text,
|
|
472
472
|
http_res,
|
|
473
473
|
)
|
|
474
|
+
|
|
475
|
+
def aave_loop(
|
|
476
|
+
self,
|
|
477
|
+
*,
|
|
478
|
+
chain: models.Chain,
|
|
479
|
+
sender: str,
|
|
480
|
+
signed_authorization: Union[
|
|
481
|
+
models.SignedAuthorization, models.SignedAuthorizationTypedDict
|
|
482
|
+
],
|
|
483
|
+
collateral_token: models.TokenEnum,
|
|
484
|
+
borrow_token: models.TokenEnum,
|
|
485
|
+
collateral_amount: Union[
|
|
486
|
+
models.CollateralAmount, models.CollateralAmountTypedDict
|
|
487
|
+
],
|
|
488
|
+
loop_count: int,
|
|
489
|
+
max_slippage_percent: float,
|
|
490
|
+
loan_to_value: float,
|
|
491
|
+
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
492
|
+
server_url: Optional[str] = None,
|
|
493
|
+
timeout_ms: Optional[int] = None,
|
|
494
|
+
http_headers: Optional[Mapping[str, str]] = None,
|
|
495
|
+
) -> models.UnsignedMulticallTransaction:
|
|
496
|
+
r"""Execute Aave Loop Strategy
|
|
497
|
+
|
|
498
|
+
Execute an Aave looping strategy that involves repeated supply and borrow
|
|
499
|
+
operations.
|
|
500
|
+
|
|
501
|
+
This endpoint creates a multicall transaction that performs a series of operations:
|
|
502
|
+
1. Approves and supplies initial token
|
|
503
|
+
2. For each loop:
|
|
504
|
+
- Borrows another token
|
|
505
|
+
- Swaps borrowed token back to supply token
|
|
506
|
+
- Supplies the swapped tokens
|
|
507
|
+
|
|
508
|
+
The transaction must be authorized using the /authorization endpoint to prevent replay attacks.
|
|
509
|
+
|
|
510
|
+
:param chain: The chain to use.
|
|
511
|
+
:param sender: The address of the transaction sender.
|
|
512
|
+
:param signed_authorization:
|
|
513
|
+
:param collateral_token: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
|
|
514
|
+
:param borrow_token: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
|
|
515
|
+
:param collateral_amount: Amount of collateral token to supply to Aave
|
|
516
|
+
:param loop_count: Number of times to perform the supply-borrow loop
|
|
517
|
+
:param max_slippage_percent: Maximum allowed slippage for token swaps in percentage
|
|
518
|
+
:param loan_to_value: Loan To Value percentage of the loop
|
|
519
|
+
:param retries: Override the default retry configuration for this method
|
|
520
|
+
:param server_url: Override the default server URL for this method
|
|
521
|
+
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
522
|
+
:param http_headers: Additional headers to set or replace on requests.
|
|
523
|
+
"""
|
|
524
|
+
base_url = None
|
|
525
|
+
url_variables = None
|
|
526
|
+
if timeout_ms is None:
|
|
527
|
+
timeout_ms = self.sdk_configuration.timeout_ms
|
|
528
|
+
|
|
529
|
+
if server_url is not None:
|
|
530
|
+
base_url = server_url
|
|
531
|
+
else:
|
|
532
|
+
base_url = self._get_url(base_url, url_variables)
|
|
533
|
+
|
|
534
|
+
request = models.AaveLoopRequest(
|
|
535
|
+
chain=chain,
|
|
536
|
+
sender=sender,
|
|
537
|
+
signed_authorization=utils.get_pydantic_model(
|
|
538
|
+
signed_authorization, models.SignedAuthorization
|
|
539
|
+
),
|
|
540
|
+
collateral_token=collateral_token,
|
|
541
|
+
borrow_token=borrow_token,
|
|
542
|
+
collateral_amount=collateral_amount,
|
|
543
|
+
loop_count=loop_count,
|
|
544
|
+
max_slippage_percent=max_slippage_percent,
|
|
545
|
+
loan_to_value=loan_to_value,
|
|
546
|
+
)
|
|
547
|
+
|
|
548
|
+
req = self._build_request(
|
|
549
|
+
method="POST",
|
|
550
|
+
path="/v0/multicall/aave/loop",
|
|
551
|
+
base_url=base_url,
|
|
552
|
+
url_variables=url_variables,
|
|
553
|
+
request=request,
|
|
554
|
+
request_body_required=True,
|
|
555
|
+
request_has_path_params=False,
|
|
556
|
+
request_has_query_params=True,
|
|
557
|
+
user_agent_header="user-agent",
|
|
558
|
+
accept_header_value="application/json",
|
|
559
|
+
http_headers=http_headers,
|
|
560
|
+
security=self.sdk_configuration.security,
|
|
561
|
+
get_serialized_body=lambda: utils.serialize_request_body(
|
|
562
|
+
request, False, False, "json", models.AaveLoopRequest
|
|
563
|
+
),
|
|
564
|
+
timeout_ms=timeout_ms,
|
|
565
|
+
)
|
|
566
|
+
|
|
567
|
+
if retries == UNSET:
|
|
568
|
+
if self.sdk_configuration.retry_config is not UNSET:
|
|
569
|
+
retries = self.sdk_configuration.retry_config
|
|
570
|
+
|
|
571
|
+
retry_config = None
|
|
572
|
+
if isinstance(retries, utils.RetryConfig):
|
|
573
|
+
retry_config = (retries, ["429", "500", "502", "503", "504"])
|
|
574
|
+
|
|
575
|
+
http_res = self.do_request(
|
|
576
|
+
hook_ctx=HookContext(
|
|
577
|
+
base_url=base_url or "",
|
|
578
|
+
operation_id="multicall_aave_loop",
|
|
579
|
+
oauth2_scopes=[],
|
|
580
|
+
security_source=self.sdk_configuration.security,
|
|
581
|
+
),
|
|
582
|
+
request=req,
|
|
583
|
+
error_status_codes=["422", "4XX", "5XX"],
|
|
584
|
+
retry_config=retry_config,
|
|
585
|
+
)
|
|
586
|
+
|
|
587
|
+
response_data: Any = None
|
|
588
|
+
if utils.match_response(http_res, "200", "application/json"):
|
|
589
|
+
return utils.unmarshal_json(
|
|
590
|
+
http_res.text, models.UnsignedMulticallTransaction
|
|
591
|
+
)
|
|
592
|
+
if utils.match_response(http_res, "422", "application/json"):
|
|
593
|
+
response_data = utils.unmarshal_json(
|
|
594
|
+
http_res.text, errors.HTTPValidationErrorData
|
|
595
|
+
)
|
|
596
|
+
raise errors.HTTPValidationError(data=response_data)
|
|
597
|
+
if utils.match_response(http_res, "4XX", "*"):
|
|
598
|
+
http_res_text = utils.stream_to_text(http_res)
|
|
599
|
+
raise errors.APIError(
|
|
600
|
+
"API error occurred", http_res.status_code, http_res_text, http_res
|
|
601
|
+
)
|
|
602
|
+
if utils.match_response(http_res, "5XX", "*"):
|
|
603
|
+
http_res_text = utils.stream_to_text(http_res)
|
|
604
|
+
raise errors.APIError(
|
|
605
|
+
"API error occurred", http_res.status_code, http_res_text, http_res
|
|
606
|
+
)
|
|
607
|
+
|
|
608
|
+
content_type = http_res.headers.get("Content-Type")
|
|
609
|
+
http_res_text = utils.stream_to_text(http_res)
|
|
610
|
+
raise errors.APIError(
|
|
611
|
+
f"Unexpected response received (code: {http_res.status_code}, type: {content_type})",
|
|
612
|
+
http_res.status_code,
|
|
613
|
+
http_res_text,
|
|
614
|
+
http_res,
|
|
615
|
+
)
|
|
616
|
+
|
|
617
|
+
async def aave_loop_async(
|
|
618
|
+
self,
|
|
619
|
+
*,
|
|
620
|
+
chain: models.Chain,
|
|
621
|
+
sender: str,
|
|
622
|
+
signed_authorization: Union[
|
|
623
|
+
models.SignedAuthorization, models.SignedAuthorizationTypedDict
|
|
624
|
+
],
|
|
625
|
+
collateral_token: models.TokenEnum,
|
|
626
|
+
borrow_token: models.TokenEnum,
|
|
627
|
+
collateral_amount: Union[
|
|
628
|
+
models.CollateralAmount, models.CollateralAmountTypedDict
|
|
629
|
+
],
|
|
630
|
+
loop_count: int,
|
|
631
|
+
max_slippage_percent: float,
|
|
632
|
+
loan_to_value: float,
|
|
633
|
+
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
634
|
+
server_url: Optional[str] = None,
|
|
635
|
+
timeout_ms: Optional[int] = None,
|
|
636
|
+
http_headers: Optional[Mapping[str, str]] = None,
|
|
637
|
+
) -> models.UnsignedMulticallTransaction:
|
|
638
|
+
r"""Execute Aave Loop Strategy
|
|
639
|
+
|
|
640
|
+
Execute an Aave looping strategy that involves repeated supply and borrow
|
|
641
|
+
operations.
|
|
642
|
+
|
|
643
|
+
This endpoint creates a multicall transaction that performs a series of operations:
|
|
644
|
+
1. Approves and supplies initial token
|
|
645
|
+
2. For each loop:
|
|
646
|
+
- Borrows another token
|
|
647
|
+
- Swaps borrowed token back to supply token
|
|
648
|
+
- Supplies the swapped tokens
|
|
649
|
+
|
|
650
|
+
The transaction must be authorized using the /authorization endpoint to prevent replay attacks.
|
|
651
|
+
|
|
652
|
+
:param chain: The chain to use.
|
|
653
|
+
:param sender: The address of the transaction sender.
|
|
654
|
+
:param signed_authorization:
|
|
655
|
+
:param collateral_token: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
|
|
656
|
+
:param borrow_token: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
|
|
657
|
+
:param collateral_amount: Amount of collateral token to supply to Aave
|
|
658
|
+
:param loop_count: Number of times to perform the supply-borrow loop
|
|
659
|
+
:param max_slippage_percent: Maximum allowed slippage for token swaps in percentage
|
|
660
|
+
:param loan_to_value: Loan To Value percentage of the loop
|
|
661
|
+
:param retries: Override the default retry configuration for this method
|
|
662
|
+
:param server_url: Override the default server URL for this method
|
|
663
|
+
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
664
|
+
:param http_headers: Additional headers to set or replace on requests.
|
|
665
|
+
"""
|
|
666
|
+
base_url = None
|
|
667
|
+
url_variables = None
|
|
668
|
+
if timeout_ms is None:
|
|
669
|
+
timeout_ms = self.sdk_configuration.timeout_ms
|
|
670
|
+
|
|
671
|
+
if server_url is not None:
|
|
672
|
+
base_url = server_url
|
|
673
|
+
else:
|
|
674
|
+
base_url = self._get_url(base_url, url_variables)
|
|
675
|
+
|
|
676
|
+
request = models.AaveLoopRequest(
|
|
677
|
+
chain=chain,
|
|
678
|
+
sender=sender,
|
|
679
|
+
signed_authorization=utils.get_pydantic_model(
|
|
680
|
+
signed_authorization, models.SignedAuthorization
|
|
681
|
+
),
|
|
682
|
+
collateral_token=collateral_token,
|
|
683
|
+
borrow_token=borrow_token,
|
|
684
|
+
collateral_amount=collateral_amount,
|
|
685
|
+
loop_count=loop_count,
|
|
686
|
+
max_slippage_percent=max_slippage_percent,
|
|
687
|
+
loan_to_value=loan_to_value,
|
|
688
|
+
)
|
|
689
|
+
|
|
690
|
+
req = self._build_request_async(
|
|
691
|
+
method="POST",
|
|
692
|
+
path="/v0/multicall/aave/loop",
|
|
693
|
+
base_url=base_url,
|
|
694
|
+
url_variables=url_variables,
|
|
695
|
+
request=request,
|
|
696
|
+
request_body_required=True,
|
|
697
|
+
request_has_path_params=False,
|
|
698
|
+
request_has_query_params=True,
|
|
699
|
+
user_agent_header="user-agent",
|
|
700
|
+
accept_header_value="application/json",
|
|
701
|
+
http_headers=http_headers,
|
|
702
|
+
security=self.sdk_configuration.security,
|
|
703
|
+
get_serialized_body=lambda: utils.serialize_request_body(
|
|
704
|
+
request, False, False, "json", models.AaveLoopRequest
|
|
705
|
+
),
|
|
706
|
+
timeout_ms=timeout_ms,
|
|
707
|
+
)
|
|
708
|
+
|
|
709
|
+
if retries == UNSET:
|
|
710
|
+
if self.sdk_configuration.retry_config is not UNSET:
|
|
711
|
+
retries = self.sdk_configuration.retry_config
|
|
712
|
+
|
|
713
|
+
retry_config = None
|
|
714
|
+
if isinstance(retries, utils.RetryConfig):
|
|
715
|
+
retry_config = (retries, ["429", "500", "502", "503", "504"])
|
|
716
|
+
|
|
717
|
+
http_res = await self.do_request_async(
|
|
718
|
+
hook_ctx=HookContext(
|
|
719
|
+
base_url=base_url or "",
|
|
720
|
+
operation_id="multicall_aave_loop",
|
|
721
|
+
oauth2_scopes=[],
|
|
722
|
+
security_source=self.sdk_configuration.security,
|
|
723
|
+
),
|
|
724
|
+
request=req,
|
|
725
|
+
error_status_codes=["422", "4XX", "5XX"],
|
|
726
|
+
retry_config=retry_config,
|
|
727
|
+
)
|
|
728
|
+
|
|
729
|
+
response_data: Any = None
|
|
730
|
+
if utils.match_response(http_res, "200", "application/json"):
|
|
731
|
+
return utils.unmarshal_json(
|
|
732
|
+
http_res.text, models.UnsignedMulticallTransaction
|
|
733
|
+
)
|
|
734
|
+
if utils.match_response(http_res, "422", "application/json"):
|
|
735
|
+
response_data = utils.unmarshal_json(
|
|
736
|
+
http_res.text, errors.HTTPValidationErrorData
|
|
737
|
+
)
|
|
738
|
+
raise errors.HTTPValidationError(data=response_data)
|
|
739
|
+
if utils.match_response(http_res, "4XX", "*"):
|
|
740
|
+
http_res_text = await utils.stream_to_text_async(http_res)
|
|
741
|
+
raise errors.APIError(
|
|
742
|
+
"API error occurred", http_res.status_code, http_res_text, http_res
|
|
743
|
+
)
|
|
744
|
+
if utils.match_response(http_res, "5XX", "*"):
|
|
745
|
+
http_res_text = await utils.stream_to_text_async(http_res)
|
|
746
|
+
raise errors.APIError(
|
|
747
|
+
"API error occurred", http_res.status_code, http_res_text, http_res
|
|
748
|
+
)
|
|
749
|
+
|
|
750
|
+
content_type = http_res.headers.get("Content-Type")
|
|
751
|
+
http_res_text = await utils.stream_to_text_async(http_res)
|
|
752
|
+
raise errors.APIError(
|
|
753
|
+
f"Unexpected response received (code: {http_res.status_code}, type: {content_type})",
|
|
754
|
+
http_res.status_code,
|
|
755
|
+
http_res_text,
|
|
756
|
+
http_res,
|
|
757
|
+
)
|
compass_api_sdk/uniswap_v3.py
CHANGED
|
@@ -1136,9 +1136,9 @@ class UniswapV3(BaseSDK):
|
|
|
1136
1136
|
token_in: models.TokenEnum,
|
|
1137
1137
|
token_out: models.TokenEnum,
|
|
1138
1138
|
fee: models.FeeEnum,
|
|
1139
|
-
|
|
1140
|
-
models.
|
|
1141
|
-
models.
|
|
1139
|
+
amount: Union[
|
|
1140
|
+
models.UniswapBuyExactlyRequestAmount,
|
|
1141
|
+
models.UniswapBuyExactlyRequestAmountTypedDict,
|
|
1142
1142
|
],
|
|
1143
1143
|
max_slippage_percent: float,
|
|
1144
1144
|
chain: models.Chain,
|
|
@@ -1162,7 +1162,7 @@ class UniswapV3(BaseSDK):
|
|
|
1162
1162
|
:param token_in: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
|
|
1163
1163
|
:param token_out: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
|
|
1164
1164
|
:param fee: The transaction fee of a Uniswap pool in bips. Uniswap supports 4 different fee levels.
|
|
1165
|
-
:param
|
|
1165
|
+
:param amount: The amount of the token to swap to
|
|
1166
1166
|
:param max_slippage_percent: The maximum slippage allowed in percent. e.g. `1` means `1 %` slippage allowed.
|
|
1167
1167
|
:param chain: The chain to use.
|
|
1168
1168
|
:param sender: The address of the transaction sender.
|
|
@@ -1186,7 +1186,7 @@ class UniswapV3(BaseSDK):
|
|
|
1186
1186
|
token_in=token_in,
|
|
1187
1187
|
token_out=token_out,
|
|
1188
1188
|
fee=fee,
|
|
1189
|
-
|
|
1189
|
+
amount=amount,
|
|
1190
1190
|
max_slippage_percent=max_slippage_percent,
|
|
1191
1191
|
wrap_eth=wrap_eth,
|
|
1192
1192
|
chain=chain,
|
|
@@ -1266,9 +1266,9 @@ class UniswapV3(BaseSDK):
|
|
|
1266
1266
|
token_in: models.TokenEnum,
|
|
1267
1267
|
token_out: models.TokenEnum,
|
|
1268
1268
|
fee: models.FeeEnum,
|
|
1269
|
-
|
|
1270
|
-
models.
|
|
1271
|
-
models.
|
|
1269
|
+
amount: Union[
|
|
1270
|
+
models.UniswapBuyExactlyRequestAmount,
|
|
1271
|
+
models.UniswapBuyExactlyRequestAmountTypedDict,
|
|
1272
1272
|
],
|
|
1273
1273
|
max_slippage_percent: float,
|
|
1274
1274
|
chain: models.Chain,
|
|
@@ -1292,7 +1292,7 @@ class UniswapV3(BaseSDK):
|
|
|
1292
1292
|
:param token_in: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
|
|
1293
1293
|
:param token_out: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
|
|
1294
1294
|
:param fee: The transaction fee of a Uniswap pool in bips. Uniswap supports 4 different fee levels.
|
|
1295
|
-
:param
|
|
1295
|
+
:param amount: The amount of the token to swap to
|
|
1296
1296
|
:param max_slippage_percent: The maximum slippage allowed in percent. e.g. `1` means `1 %` slippage allowed.
|
|
1297
1297
|
:param chain: The chain to use.
|
|
1298
1298
|
:param sender: The address of the transaction sender.
|
|
@@ -1316,7 +1316,7 @@ class UniswapV3(BaseSDK):
|
|
|
1316
1316
|
token_in=token_in,
|
|
1317
1317
|
token_out=token_out,
|
|
1318
1318
|
fee=fee,
|
|
1319
|
-
|
|
1319
|
+
amount=amount,
|
|
1320
1320
|
max_slippage_percent=max_slippage_percent,
|
|
1321
1321
|
wrap_eth=wrap_eth,
|
|
1322
1322
|
chain=chain,
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: compass_api_sdk
|
|
3
|
-
Version: 0.1
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: Compass API Python SDK
|
|
5
5
|
Author: royalnine
|
|
6
|
-
Requires-Python: >=3.9
|
|
6
|
+
Requires-Python: >=3.9.2
|
|
7
7
|
Classifier: Programming Language :: Python :: 3
|
|
8
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
9
8
|
Classifier: Programming Language :: Python :: 3.10
|
|
10
9
|
Classifier: Programming Language :: Python :: 3.11
|
|
11
10
|
Classifier: Programming Language :: Python :: 3.12
|
|
@@ -135,7 +134,7 @@ with CompassAPISDK(
|
|
|
135
134
|
api_key_auth="<YOUR_API_KEY_HERE>",
|
|
136
135
|
) as cas_client:
|
|
137
136
|
|
|
138
|
-
res = cas_client.aave_v3.
|
|
137
|
+
res = cas_client.aave_v3.reserve_overview(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC)
|
|
139
138
|
|
|
140
139
|
# Handle response
|
|
141
140
|
print(res)
|
|
@@ -155,7 +154,7 @@ async def main():
|
|
|
155
154
|
api_key_auth="<YOUR_API_KEY_HERE>",
|
|
156
155
|
) as cas_client:
|
|
157
156
|
|
|
158
|
-
res = await cas_client.aave_v3.
|
|
157
|
+
res = await cas_client.aave_v3.reserve_overview_async(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC)
|
|
159
158
|
|
|
160
159
|
# Handle response
|
|
161
160
|
print(res)
|
|
@@ -184,7 +183,7 @@ with CompassAPISDK(
|
|
|
184
183
|
api_key_auth="<YOUR_API_KEY_HERE>",
|
|
185
184
|
) as cas_client:
|
|
186
185
|
|
|
187
|
-
res = cas_client.aave_v3.
|
|
186
|
+
res = cas_client.aave_v3.reserve_overview(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC)
|
|
188
187
|
|
|
189
188
|
# Handle response
|
|
190
189
|
print(res)
|
|
@@ -200,6 +199,7 @@ with CompassAPISDK(
|
|
|
200
199
|
|
|
201
200
|
### [aave_v3](https://github.com/CompassLabs/mono/blob/master/docs/sdks/aavev3/README.md)
|
|
202
201
|
|
|
202
|
+
* [reserve_overview](https://github.com/CompassLabs/mono/blob/master/docs/sdks/aavev3/README.md#reserve_overview) - Reserve overview
|
|
203
203
|
* [rate](https://github.com/CompassLabs/mono/blob/master/docs/sdks/aavev3/README.md#rate) - Interest rates
|
|
204
204
|
* [token_price](https://github.com/CompassLabs/mono/blob/master/docs/sdks/aavev3/README.md#token_price) - Token prices
|
|
205
205
|
* [liquidity_change](https://github.com/CompassLabs/mono/blob/master/docs/sdks/aavev3/README.md#liquidity_change) - Liquidity index
|
|
@@ -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
|
|
|
@@ -298,7 +299,7 @@ with CompassAPISDK(
|
|
|
298
299
|
api_key_auth="<YOUR_API_KEY_HERE>",
|
|
299
300
|
) as cas_client:
|
|
300
301
|
|
|
301
|
-
res = cas_client.aave_v3.
|
|
302
|
+
res = cas_client.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
|
|
@@ -317,7 +318,7 @@ with CompassAPISDK(
|
|
|
317
318
|
api_key_auth="<YOUR_API_KEY_HERE>",
|
|
318
319
|
) as cas_client:
|
|
319
320
|
|
|
320
|
-
res = cas_client.aave_v3.
|
|
321
|
+
res = cas_client.aave_v3.reserve_overview(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC)
|
|
321
322
|
|
|
322
323
|
# Handle response
|
|
323
324
|
print(res)
|
|
@@ -339,7 +340,7 @@ By default, an API error will raise a errors.APIError exception, which has the f
|
|
|
339
340
|
| `.raw_response` | *httpx.Response* | The raw HTTP response |
|
|
340
341
|
| `.body` | *str* | The response content |
|
|
341
342
|
|
|
342
|
-
When custom error responses are specified for an operation, the SDK may also raise their associated exceptions. You can refer to respective *Errors* tables in SDK docs for more details on possible exception types for each operation. For example, the `
|
|
343
|
+
When custom error responses are specified for an operation, the SDK may also raise their associated exceptions. You can refer to respective *Errors* tables in SDK docs for more details on possible exception types for each operation. For example, the `reserve_overview_async` method may raise the following exceptions:
|
|
343
344
|
|
|
344
345
|
| Error Type | Status Code | Content Type |
|
|
345
346
|
| -------------------------- | ----------- | ---------------- |
|
|
@@ -358,7 +359,7 @@ with CompassAPISDK(
|
|
|
358
359
|
res = None
|
|
359
360
|
try:
|
|
360
361
|
|
|
361
|
-
res = cas_client.aave_v3.
|
|
362
|
+
res = cas_client.aave_v3.reserve_overview(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC)
|
|
362
363
|
|
|
363
364
|
# Handle response
|
|
364
365
|
print(res)
|
|
@@ -387,7 +388,7 @@ with CompassAPISDK(
|
|
|
387
388
|
api_key_auth="<YOUR_API_KEY_HERE>",
|
|
388
389
|
) as cas_client:
|
|
389
390
|
|
|
390
|
-
res = cas_client.aave_v3.
|
|
391
|
+
res = cas_client.aave_v3.reserve_overview(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC)
|
|
391
392
|
|
|
392
393
|
# Handle response
|
|
393
394
|
print(res)
|
|
@@ -3,29 +3,31 @@ compass_api_sdk/_hooks/__init__.py,sha256=p5J13DeYuISQyQWirjJAObHIf2VtIlOtFqnIpv
|
|
|
3
3
|
compass_api_sdk/_hooks/registration.py,sha256=1QZB41w6If7I9dXiOSQx6dhSc6BPWrnI5Q5bMOr4iVA,624
|
|
4
4
|
compass_api_sdk/_hooks/sdkhooks.py,sha256=eVxHB2Q_JG6zZx5xn74i208ij-fpTHqq2jod6fbghRQ,2503
|
|
5
5
|
compass_api_sdk/_hooks/types.py,sha256=VC7TZz0BiM721MghXneEovG3UkaktRkt1OhMY3iLmZM,2818
|
|
6
|
-
compass_api_sdk/_version.py,sha256=
|
|
7
|
-
compass_api_sdk/aave_v3.py,sha256=
|
|
6
|
+
compass_api_sdk/_version.py,sha256=N8dsYq8a1M4kYDWmFaLuBwtWpxbHlHO-77czuALryfk,472
|
|
7
|
+
compass_api_sdk/aave_v3.py,sha256=JoHxEHy1c9ofvvCzTxp6S7qNz51_eW9clpVfMQI1xSo,107332
|
|
8
8
|
compass_api_sdk/aerodrome_slipstream.py,sha256=iZLOFguQiZD8eMNIxV_4h8JSr9P-V4gISxNCXisVYN8,83389
|
|
9
9
|
compass_api_sdk/basesdk.py,sha256=29RfgnfgQq_cRx8OHdQEdJuJ2DrgRZlzGIPC-_6-2bM,12136
|
|
10
10
|
compass_api_sdk/errors/__init__.py,sha256=f8nyj2IhW5h_xtEeg6cfKgByLkqowLv0Fxm0hUofQPs,257
|
|
11
11
|
compass_api_sdk/errors/apierror.py,sha256=9mTyJSyvUAOnSfW_1HWt9dGl8IDlpQ68DebwYsDNdug,528
|
|
12
12
|
compass_api_sdk/errors/httpvalidationerror.py,sha256=KBdpK3fYQoeMB-3m9dLKiMYimFN7B9VLma6YqMKX5k0,671
|
|
13
13
|
compass_api_sdk/httpclient.py,sha256=xAUX3nxG-fwYAE9lfv9uaspYKMFRJf5NM79mV2HKb1I,5486
|
|
14
|
-
compass_api_sdk/models/__init__.py,sha256=
|
|
14
|
+
compass_api_sdk/models/__init__.py,sha256=I7a0PurKVgZ_qd0ufkhIqnvaFoGxp0Ay3OpRuxMrbgU,45426
|
|
15
15
|
compass_api_sdk/models/aave_historical_transactionsop.py,sha256=ruwlHogJUn6HGWtoRNwEmoA6kXdu8rbDrxzJo-e9UmA,1461
|
|
16
16
|
compass_api_sdk/models/aave_liquidity_changeop.py,sha256=tR_nsySpTiXHxIreoDJ-Bk07wZgTLGLM05oWxsfpbrM,2801
|
|
17
17
|
compass_api_sdk/models/aave_rateop.py,sha256=kJgtnlxry6YRxLZvCNV4kKhHOT2Y5duKt-ADyh2NrNg,2405
|
|
18
|
+
compass_api_sdk/models/aave_reserve_overviewop.py,sha256=9Lfch89ugS8mXZKTQ-YBJqVxRkCHx_UFNlKgTHwTDvo,2515
|
|
18
19
|
compass_api_sdk/models/aave_token_priceop.py,sha256=RsaN0gHPtm8o5fdE_1T_ZZjvXADapfZR8YLjEGE_1VA,2465
|
|
19
20
|
compass_api_sdk/models/aave_user_position_per_tokenop.py,sha256=MF_eaxTQkK4sC7ONiVHOcb0PJJBnrAh1j1_XredC3aU,2735
|
|
20
21
|
compass_api_sdk/models/aave_user_position_summaryop.py,sha256=IreTBDQ92L3CVsTQD_Bc50yt6m5ZM2yuUEYMFhrFkJQ,1060
|
|
21
22
|
compass_api_sdk/models/aaveborrowparams.py,sha256=7zEf7JdDcnYaU6p6ShzOG25HgRJZoX_B5hQPPDVCu0I,2870
|
|
22
23
|
compass_api_sdk/models/aaveborrowrequest.py,sha256=pVu6tIgYojyv2mF0_adDX1LM2uvMaUI8j6It2oCV4Q0,3129
|
|
23
|
-
compass_api_sdk/models/
|
|
24
|
-
compass_api_sdk/models/aavehistoricaltransactionsresponse.py,sha256=UmZGngGfIm0WNWHOmPS9zFy5X6-AJmcyyvnhJEJ7VQk,811
|
|
24
|
+
compass_api_sdk/models/aavehistoricaltransactionsresponse.py,sha256=G9yw8V7UHQL9m8mJZgHSqhvdymo5mJbJoIKtbtRSzlg,2504
|
|
25
25
|
compass_api_sdk/models/aaveliquiditychangeresponse.py,sha256=G_fjNFMMAViJVXUejTdqNDyNrv-BieQDDpT6iwtwCwg,811
|
|
26
|
+
compass_api_sdk/models/aavelooprequest.py,sha256=OsW1Sv7WjhRvb4_TSSB5ofArK52vM6eIdMFBAzOM9V8,2801
|
|
26
27
|
compass_api_sdk/models/aaverateresponse.py,sha256=7Ra_FKYbGrm7ZqzNi8-1T0v2xDAGyZf6Iw5Juh1bXBI,1156
|
|
27
28
|
compass_api_sdk/models/aaverepayparams.py,sha256=ZQLgjGCZUK20dZ7UgrT3j4c6jn2Sq41M15riWbYh-ss,2858
|
|
28
29
|
compass_api_sdk/models/aaverepayrequest.py,sha256=ZIvYL0pamDkJDJjCRrLZ5Q6e2vQp-wptob9wGCAQS0g,3117
|
|
30
|
+
compass_api_sdk/models/aavereserveoverviewresponse.py,sha256=PaGkkZK3alCnkd4ss2-LR4dKGzKX0P8Fkj_cz3U61ko,1213
|
|
29
31
|
compass_api_sdk/models/aavesupplyparams.py,sha256=0ZntRNtspIaXs09S1ckA8jL3xKbBL-SApMZNkuE76Ks,2564
|
|
30
32
|
compass_api_sdk/models/aavesupplyrequest.py,sha256=KyQ995EhhSTAkA7OWKftzyzaQ3cJviBg-RzlR8AnTCA,2823
|
|
31
33
|
compass_api_sdk/models/aavetokenpriceresponse.py,sha256=LZTNIuSn_PHY5Im9e6ZF9CWnFM6O01kHBwHjTiQypqI,401
|
|
@@ -33,7 +35,6 @@ compass_api_sdk/models/aaveuserpositionpertokenresponse.py,sha256=XfFYVzO3Ep9wHD
|
|
|
33
35
|
compass_api_sdk/models/aaveuserpositionsummaryresponse.py,sha256=_m2f4XkNQnaftbJOwdCsacPByGNDlz83gg0oPjuUbKQ,1656
|
|
34
36
|
compass_api_sdk/models/aavewithdrawparams.py,sha256=vvkC67hmflh4I_sm5oj4JFcqhjJVo5mMX1a7dq4gTFs,1420
|
|
35
37
|
compass_api_sdk/models/aavewithdrawrequest.py,sha256=gl9qAknwFkrHB6HwecaZrjV4z92Kk4Uh1XZkQTMYH8o,1685
|
|
36
|
-
compass_api_sdk/models/action.py,sha256=LxhxMxM1if4CGM_GJF-mGYwBnQOlkCaczSuGCp3oGTs,391
|
|
37
38
|
compass_api_sdk/models/aerodrome_slipstream_liquidity_provision_positionsop.py,sha256=4at6KH--Cw5G6QasipHEuBBbNdPSaO4PCaVS22Krujw,1267
|
|
38
39
|
compass_api_sdk/models/aerodrome_slipstream_pool_priceop.py,sha256=6n7rv1pcMve_3chQvgLT1vBKeimp-XPNK7-mCfv9Dwc,4578
|
|
39
40
|
compass_api_sdk/models/aerodromelppositionsresponse.py,sha256=FpFiz78711CsO1r3lLo-YaPldHL6UTVruNxhWlXkhOY,861
|
|
@@ -50,10 +51,9 @@ compass_api_sdk/models/aerodromeslipstreamsellexactlyrequest.py,sha256=PO94biGAB
|
|
|
50
51
|
compass_api_sdk/models/aerodromeslipstreamwithdrawliquidityprovisionparams.py,sha256=DQKPJCyd66mFq6irFqMh7wvAQyF_HniRxoASPmmsvcQ,2265
|
|
51
52
|
compass_api_sdk/models/aerodromeslipstreamwithdrawliquidityprovisionrequest.py,sha256=DXbQqFH6qRyrnqQ61y8O7regkqgu_kqY0yY1AamZXTs,1738
|
|
52
53
|
compass_api_sdk/models/allowanceinforesponse.py,sha256=OIvJVxMrRNBay8DIeqlwGBFQ1fbaGVWlaGsOZpo40fY,1393
|
|
53
|
-
compass_api_sdk/models/borrow.py,sha256=
|
|
54
|
+
compass_api_sdk/models/borrow.py,sha256=YQxBejrFjAvfjrYC7kmQRsQL2q6bb6MZxLzFuVHZEFg,2140
|
|
54
55
|
compass_api_sdk/models/chain.py,sha256=TzxP0Ujy0L-o3__gggsKeJIWMaflQTNnNSEaXBnSlGU,304
|
|
55
56
|
compass_api_sdk/models/chaininfo.py,sha256=XUUk-Nfz8-S9uOD4d9QVm_gsRIEXyIgeBGCS3dcFTmc,1406
|
|
56
|
-
compass_api_sdk/models/collateralreserve.py,sha256=mWwKlKXQu5t4Ud6k7D3E-zEx5eeB_xJAhmhW_fWGHUs,346
|
|
57
57
|
compass_api_sdk/models/compass_api_backend_models_morpho_read_response_get_markets_asset.py,sha256=pMWAh-oYo4YBmeVpoh2XoPn8PmFWSrvRH0Gg7sPT8xQ,488
|
|
58
58
|
compass_api_sdk/models/compass_api_backend_models_morpho_read_response_get_vaults_asset.py,sha256=zlxZwigsUocOnYo2Q43JLDSiFL6w26r-jaqcy4Ds2NU,562
|
|
59
59
|
compass_api_sdk/models/contractname.py,sha256=DJHzH2A2fydQrhrQIg9JzrNY7r7BfH_qwZfV6bpbNe4,1395
|
|
@@ -69,35 +69,34 @@ compass_api_sdk/models/increaseallowanceanyparams.py,sha256=-gkNR5_GEuwSg97toDSX
|
|
|
69
69
|
compass_api_sdk/models/increaseallowanceparams.py,sha256=NSwwJkLSgBGbstNKB3xGIb5TiMMCFA3qKiFYn_HAAOE,2428
|
|
70
70
|
compass_api_sdk/models/increaseallowancerequest.py,sha256=TxqyUxnXrFmQfBYFcQBziYbUhjObB6gkpuqW6fHyeIE,2684
|
|
71
71
|
compass_api_sdk/models/interestratemode.py,sha256=OmOKBSJD0y9O9LuA0rajVkvxiEuU-xiQAuoiHYFmp5s,341
|
|
72
|
-
compass_api_sdk/models/liquidationcall.py,sha256
|
|
72
|
+
compass_api_sdk/models/liquidationcall.py,sha256=-HEwFMuiD2p8x04VQHlnYqlOdvhr0jXrZ6ksmxlffUw,2019
|
|
73
73
|
compass_api_sdk/models/marketstate.py,sha256=0fOSCqc8H0A4qGRBIOT7HtVG7XPVkgk9HRz6EfV-gCU,965
|
|
74
|
-
compass_api_sdk/models/morpho_market_positionop.py,sha256=
|
|
75
|
-
compass_api_sdk/models/morpho_marketsop.py,sha256=
|
|
76
|
-
compass_api_sdk/models/morpho_vault_positionop.py,sha256=
|
|
77
|
-
compass_api_sdk/models/morpho_vaultsop.py,sha256=
|
|
78
|
-
compass_api_sdk/models/morphoborrowrequest.py,sha256=
|
|
74
|
+
compass_api_sdk/models/morpho_market_positionop.py,sha256=OHO3bJyMc8JXRt0dbdL9VVytWEhqYtrWqjIQzsnOlTs,1212
|
|
75
|
+
compass_api_sdk/models/morpho_marketsop.py,sha256=dMpe1pTg6NmcCyhOaCrikevKQ3F-Xs4DjLRKnXHgbHg,2241
|
|
76
|
+
compass_api_sdk/models/morpho_vault_positionop.py,sha256=CY2qoaXO4WJ9_B_DlSkTuHcTy4RboA6hTEEYcd14MS8,1174
|
|
77
|
+
compass_api_sdk/models/morpho_vaultsop.py,sha256=foXoiAbJLq3_yGQt6k8c5uIMeO-eLbM9O5BG-_bjE54,2002
|
|
78
|
+
compass_api_sdk/models/morphoborrowrequest.py,sha256=K1BvgURcKQS-JHzymDoKtU-AH8UJVSYOFCR9FfzXzp0,3083
|
|
79
79
|
compass_api_sdk/models/morphocheckmarketpositionresponse.py,sha256=Dp_q2q0sDKFTnv1ETp6pp-7TaII8oeZ_hQWtGcGbfHA,1665
|
|
80
80
|
compass_api_sdk/models/morphocheckvaultpositionresponse.py,sha256=a4F-IH0I7A90tk-UYYqzU74LKk7s6nH9tDa-TM7xTyQ,604
|
|
81
|
-
compass_api_sdk/models/morphodepositrequest.py,sha256=
|
|
81
|
+
compass_api_sdk/models/morphodepositrequest.py,sha256=CP1x0F-_wkLxZqan2zsoKy2XptvPZAduxSrI9cWsseY,2798
|
|
82
82
|
compass_api_sdk/models/morphogetmarketsresponse.py,sha256=Tz4syoRzijBGd4eB8Ly0zg6ozwqfeUI4dyTex9Tkr0w,548
|
|
83
83
|
compass_api_sdk/models/morphogetvaultsresponse.py,sha256=b5LuGh9anPCWX8GJb6N0SQGoXRTNBWheSTewZD_jrrM,537
|
|
84
84
|
compass_api_sdk/models/morphomarket.py,sha256=mopmr634ZnV8seyE98rmmMqHOIqHy-h2e9xB1iWiZV4,2573
|
|
85
|
-
compass_api_sdk/models/morphorepayrequest.py,sha256=
|
|
86
|
-
compass_api_sdk/models/morphosetvaultallowancerequest.py,sha256=
|
|
87
|
-
compass_api_sdk/models/morphosupplycollateralrequest.py,sha256=
|
|
85
|
+
compass_api_sdk/models/morphorepayrequest.py,sha256=s-nvi4C0bAErOi3BtbH3LnQVmiEuq83qVeyBEcZMtOg,2958
|
|
86
|
+
compass_api_sdk/models/morphosetvaultallowancerequest.py,sha256=4Rn3U_N8fnYivJPByyNwR243mbn_0sK3b4lR-KoXnOk,1511
|
|
87
|
+
compass_api_sdk/models/morphosupplycollateralrequest.py,sha256=0uOaBvtVKeDbbX7MemRNybdXCzQRPOYpg7VZ7YSzA20,3317
|
|
88
88
|
compass_api_sdk/models/morphovault.py,sha256=hlBsWy_9G7dtwBooeSEVhz-OVTjyzl1SSqarqRq1ph8,1337
|
|
89
|
-
compass_api_sdk/models/morphowithdrawcollateralrequest.py,sha256=
|
|
90
|
-
compass_api_sdk/models/morphowithdrawrequest.py,sha256=
|
|
89
|
+
compass_api_sdk/models/morphowithdrawcollateralrequest.py,sha256=AXjtL47SbwhjoT2WtYy0V94sUAwRLDw-czAPg2ePidA,3245
|
|
90
|
+
compass_api_sdk/models/morphowithdrawrequest.py,sha256=hV8recUvGxYTTpWT3FyCLYefeWYIibIFtfIu_IAvtE4,2413
|
|
91
91
|
compass_api_sdk/models/multicallaction.py,sha256=l3HyRN2OIiBWGSVexXZCdce8IOvdbwisUwydvoP3UeM,4559
|
|
92
92
|
compass_api_sdk/models/multicallactiontype.py,sha256=8vkak6f6uslIgD8DG8UnynCI9GhU69sIxk6Fm9pLT-4,1168
|
|
93
93
|
compass_api_sdk/models/multicallauthorizationrequest.py,sha256=h5-2acLlhV9assgIIHyVIgTak1IJathqa-viS-PkvMA,1155
|
|
94
94
|
compass_api_sdk/models/multicallauthorizationresponse.py,sha256=3jjdz9Mz-tKjhBzZbVaJW51no58HSqcxfHJwuZsgnhg,914
|
|
95
95
|
compass_api_sdk/models/multicallexecuterequest.py,sha256=ST9BeTeptLKi6UO7lWH4-mYiYuG7t5scF1CLnb4Sbd0,1105
|
|
96
96
|
compass_api_sdk/models/portfolio.py,sha256=Ey2gbh7ZqSWIMmfLrflpZS7QzvCR8QMp5bHx6-BMEp4,687
|
|
97
|
-
compass_api_sdk/models/
|
|
98
|
-
compass_api_sdk/models/
|
|
99
|
-
compass_api_sdk/models/
|
|
100
|
-
compass_api_sdk/models/reserve.py,sha256=0ayYwOc7fvwNeZoWlJTWzQ9BQkERncVC1Wd1eKELVJU,326
|
|
97
|
+
compass_api_sdk/models/redeemunderlying.py,sha256=YK6I29RAeIgE4gfxyjgoUiktxqFAnJfvNv4qz1QvmTU,1282
|
|
98
|
+
compass_api_sdk/models/repay.py,sha256=dCDDG9BvJOnT-OgEs013t7l5xG0r-5M_BUxal4cfU0I,1482
|
|
99
|
+
compass_api_sdk/models/reserve.py,sha256=AScfYjYx6PYkgxF2zTr-BrzsGx8ZQl3SV27bZ_xGNro,2217
|
|
101
100
|
compass_api_sdk/models/security.py,sha256=BasQuckaYjsfuGyucbeYAKSDcEuhcvoNT8ZkUsi48Sk,635
|
|
102
101
|
compass_api_sdk/models/signedauthorization.py,sha256=UT7Zozfqm8DQ66RAdYPm44vEhBJUGf4SZtdvDzz1nc0,1459
|
|
103
102
|
compass_api_sdk/models/sky_positionop.py,sha256=nncJwlRVZLACGUwP2qWh07NTvmsE_6TcFBdG57dHJoQ,1020
|
|
@@ -106,8 +105,8 @@ compass_api_sdk/models/skycheckpositionresponse.py,sha256=7SBappsIXvdaNCwxbMb-wo
|
|
|
106
105
|
compass_api_sdk/models/skydepositrequest.py,sha256=P8GJ4yrCUerSpMxouOn26QviMmiJKUq2aCRD2UGIj4Y,2761
|
|
107
106
|
compass_api_sdk/models/skysellrequest.py,sha256=n00jeeVVGiYbuL3_fkZctWstIzhTWHmS-DaNwLy_aZI,1808
|
|
108
107
|
compass_api_sdk/models/skywithdrawrequest.py,sha256=yTmxcLNQFnXocXubBhHkNi9CSQL8o7ZQuOseNvt9oOA,2453
|
|
109
|
-
compass_api_sdk/models/supply.py,sha256=
|
|
110
|
-
compass_api_sdk/models/swapborrowrate.py,sha256=
|
|
108
|
+
compass_api_sdk/models/supply.py,sha256=uH7dvmTkDtSU9btasJNbdFmesF2AdJc-Yoxusz7rYf8,1554
|
|
109
|
+
compass_api_sdk/models/swapborrowrate.py,sha256=RhZtLKwlDEMiHLdkvD3_URREdcBBbaFk95NN2QZug5g,1744
|
|
111
110
|
compass_api_sdk/models/token_addressop.py,sha256=MtHBJ5qQvsqrFzRldlExImMqLGMgbdQyCKvZgl1HL00,2445
|
|
112
111
|
compass_api_sdk/models/token_balanceop.py,sha256=3XpBsA5uKnysAULwxl8bf3J2x7Ryhm8cvf9gfpBtKMk,1423
|
|
113
112
|
compass_api_sdk/models/token_enum.py,sha256=klu_nFSPn35oWFaduBEjRQm5WjkNOpZztRVj0FucuK4,1166
|
|
@@ -124,8 +123,8 @@ compass_api_sdk/models/uniswap_liquidity_provision_positionsop.py,sha256=nJ3qe3v
|
|
|
124
123
|
compass_api_sdk/models/uniswap_pool_priceop.py,sha256=n_G0ws0sbdccAFSt5ks96kySFQT_q82SobEss7ES-2Y,4871
|
|
125
124
|
compass_api_sdk/models/uniswap_quote_buy_exactlyop.py,sha256=abGdO6h4PkfUlN2KF_t-jkgDitFmmtt-7iez_PDCgnY,5466
|
|
126
125
|
compass_api_sdk/models/uniswap_quote_sell_exactlyop.py,sha256=hEXFoobY7Zwe36VA118bUoLm0MlvjE3SN2L4mHHKr98,5482
|
|
127
|
-
compass_api_sdk/models/uniswapbuyexactlyparams.py,sha256=
|
|
128
|
-
compass_api_sdk/models/uniswapbuyexactlyrequest.py,sha256=
|
|
126
|
+
compass_api_sdk/models/uniswapbuyexactlyparams.py,sha256=mjEX5PCDnQWvs3pXknjlIAYs76kAFD4YB4b-ad2sYAM,2530
|
|
127
|
+
compass_api_sdk/models/uniswapbuyexactlyrequest.py,sha256=YdVrjNgdC-WZpaDdrPxxjnZGFo8oGHaImWCV2TgSZIk,2921
|
|
129
128
|
compass_api_sdk/models/uniswapbuyquoteinforesponse.py,sha256=9vhkblgXbV_2wrAMZXv2iswxl7TxzlUMrMNLTUvCeeI,734
|
|
130
129
|
compass_api_sdk/models/uniswapcheckinrangeresponse.py,sha256=UoDUtm0AjXLnuPfL1odBsmrh6Z19EniwUTlUKTe5N7w,581
|
|
131
130
|
compass_api_sdk/models/uniswapincreaseliquidityprovisionparams.py,sha256=loKiJj_6KQPz4cF_NK2amskD0fKhK5yF2rXo-rG0wlw,3373
|
|
@@ -144,22 +143,22 @@ compass_api_sdk/models/unsignedmulticalltransaction.py,sha256=Tc1-HidPiy8oY4A7qU
|
|
|
144
143
|
compass_api_sdk/models/unsignedtransaction.py,sha256=DHPEOKI-xgmu7tLiVxsv4JJp93krKMjNOqn0dBYkVbw,1623
|
|
145
144
|
compass_api_sdk/models/unwrapwethparams.py,sha256=nBbf-Z2z8-yYPWuNqpESpxRsssJ1PPu4jLRZ2iwBGfk,884
|
|
146
145
|
compass_api_sdk/models/unwrapwethrequest.py,sha256=LaeHJHs6YZ24HLfUunvybNsLJ9uiQ-v_meEk_VyQo4Y,1137
|
|
147
|
-
compass_api_sdk/models/usageascollateral.py,sha256=
|
|
146
|
+
compass_api_sdk/models/usageascollateral.py,sha256=hHBgh83BO9WA6u-9xzTvBlPOLoiYV1N21G6vDeo_b30,1561
|
|
148
147
|
compass_api_sdk/models/validationerror.py,sha256=01WnpU7Tgin0B_poO97_hl6b5CNJ_9VGzpcmoeJs4GU,532
|
|
149
148
|
compass_api_sdk/models/vaultstate.py,sha256=tQ_aXZR6a6e8erj12hloto7kY79IVSgzmHNCBU-Ps-g,696
|
|
150
149
|
compass_api_sdk/models/weeklyapys.py,sha256=AaGjDD4NeGsZQBwdRW1G09Pmx17pLPe2oUA9M21jQgY,675
|
|
151
150
|
compass_api_sdk/models/wrapethparams.py,sha256=eMIOqxDM3hCwMJiJsMdnO6ZsMXg1K-_E3S5OIi8XGEI,824
|
|
152
151
|
compass_api_sdk/models/wrapethrequest.py,sha256=aJBhcooob-etvReQEjNdC8HOUQ7oUNkOPYr6A4a3BFE,1077
|
|
153
|
-
compass_api_sdk/morpho.py,sha256=
|
|
152
|
+
compass_api_sdk/morpho.py,sha256=3pRwKrPZ0018BBTOU86zjXgHbmsUO0nAljRoOTlbnN0,107274
|
|
154
153
|
compass_api_sdk/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
|
155
154
|
compass_api_sdk/sdk.py,sha256=ivTdGJ_eI9K0k5ZuJWPhhCiHwZ0vHB-VgyiILFTjEeA,6101
|
|
156
155
|
compass_api_sdk/sdkconfiguration.py,sha256=K-B67o2xftk7Rh5z59xBL0TcCn_XhX0Yh_JePPegvvU,1764
|
|
157
156
|
compass_api_sdk/sky.py,sha256=rjtLEHGEFqd4bIkXAUmcut_JlsQqUjH1LDfZ63PqGk8,43557
|
|
158
157
|
compass_api_sdk/token_sdk.py,sha256=dRB0-HHsHma1Q9O6gKuBSaTGIVd9LBCqE5opq7F2RZE,34562
|
|
159
|
-
compass_api_sdk/transaction_batching.py,sha256=
|
|
158
|
+
compass_api_sdk/transaction_batching.py,sha256=5Zh0cg0P9-iLCxuXRgaS9dlAc1ZL5EpDQf8PFT-Kzt4,31371
|
|
160
159
|
compass_api_sdk/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
|
|
161
160
|
compass_api_sdk/types/basemodel.py,sha256=L79WXvTECbSqaJzs8D3ud_KdIWkU7Cx2wbohDAktE9E,1127
|
|
162
|
-
compass_api_sdk/uniswap_v3.py,sha256=
|
|
161
|
+
compass_api_sdk/uniswap_v3.py,sha256=sknDJ_PniUa1dya_giaxFGwUvTMZTFwy-aNshHasuok,109985
|
|
163
162
|
compass_api_sdk/universal.py,sha256=FiylakhHQi0_yEatvNLO1tLywkdViQYAd8FF8Us6yh8,70047
|
|
164
163
|
compass_api_sdk/utils/__init__.py,sha256=srwCxQa-o7LVSIbziUI2u9_LMEEvJNBU0I14OEQUOpA,2441
|
|
165
164
|
compass_api_sdk/utils/annotations.py,sha256=aR7mZG34FzgRdew7WZPYEu9QGBerpuKxCF4sek5Z_5Y,1699
|
|
@@ -177,6 +176,6 @@ compass_api_sdk/utils/security.py,sha256=ktep3HKwbFs-MLxUYTM8Jd4v-ZBum5_Z0u1PFId
|
|
|
177
176
|
compass_api_sdk/utils/serializers.py,sha256=hiHBXM1AY8_N2Z_rvFfNSYwvLBkSQlPGFp8poasdU4s,5986
|
|
178
177
|
compass_api_sdk/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
|
179
178
|
compass_api_sdk/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
|
|
180
|
-
compass_api_sdk-0.1.
|
|
181
|
-
compass_api_sdk-0.1.
|
|
182
|
-
compass_api_sdk-0.1.
|
|
179
|
+
compass_api_sdk-0.2.1.dist-info/METADATA,sha256=pvaKpc0w7cldxuOfWiqyEBQhSWPdf-V8QOdGo1KW7rA,24778
|
|
180
|
+
compass_api_sdk-0.2.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
181
|
+
compass_api_sdk-0.2.1.dist-info/RECORD,,
|