compass_api_sdk 1.0.1__py3-none-any.whl → 1.0.2__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.

@@ -3,10 +3,10 @@
3
3
  import importlib.metadata
4
4
 
5
5
  __title__: str = "compass_api_sdk"
6
- __version__: str = "1.0.1"
6
+ __version__: str = "1.0.2"
7
7
  __openapi_doc_version__: str = "0.0.1"
8
8
  __gen_version__: str = "2.684.0"
9
- __user_agent__: str = "speakeasy-sdk/python 1.0.1 2.684.0 0.0.1 compass_api_sdk"
9
+ __user_agent__: str = "speakeasy-sdk/python 1.0.2 2.684.0 0.0.1 compass_api_sdk"
10
10
 
11
11
  try:
12
12
  if __package__ is not None:
compass_api_sdk/ethena.py CHANGED
@@ -427,38 +427,35 @@ class Ethena(BaseSDK):
427
427
 
428
428
  raise errors.APIError("Unexpected response received", http_res)
429
429
 
430
- def ethena_withdraw(
430
+ def ethena_request(
431
431
  self,
432
432
  *,
433
433
  amount: Any,
434
- chain: models.EthenaWithdrawRequestChain,
434
+ chain: models.EthenaRequestToWithdrawRequestChain,
435
435
  sender: str,
436
- receiver: OptionalNullable[str] = UNSET,
437
436
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
438
437
  server_url: Optional[str] = None,
439
438
  timeout_ms: Optional[int] = None,
440
439
  http_headers: Optional[Mapping[str, str]] = None,
441
- ) -> models.TransactionResponse:
442
- r"""Withdraw USDe
440
+ ) -> models.EthenaRequestToWithdrawTransactionResponse:
441
+ r"""Request to Withdraw USDe
443
442
 
444
- Withdraw deposited USDe from Ethena's vault and cease earning passive yield.
443
+ Request to withdraw deposited USDe from Ethena's vault.
445
444
 
446
- The passive yield earned on USDe deposits is represented by the increased value of
447
- the shares received (sUSDe) upon depositing USDe. Trade in these shares in exchange
448
- for the intial USDe deposited and any accrued yield since depositing.
449
- <Info>
450
- **Required Allowances**
445
+ The Ethena vault requires a cooldown period. Once a request to withdraw a specified
446
+ amount of USDe has been submitted, the alloted cooldown period must pass before the
447
+ withdraw USDe transaction can be submitted.
451
448
 
452
- In order to make this transaction, token allowances need to be set for the following contracts.
449
+ If an additional amount of USDe is requested to be withdrawn anytime before
450
+ withdrawing the originally requested amount, the cooldown period restarts.
453
451
 
454
- - `EthenaVault`
455
- </Info>
452
+ Yield is not earned on USDe while in its cooldown period.
456
453
 
454
+ An allowance does not have to be set to initiate the cooldown period.
457
455
 
458
- :param amount: The amount of USDe to withdraw from Ethena's vault. If set to 'ALL', your total deposited USDe amount will be withdrawn.
456
+ :param amount: The amount of USDe to request to withdraw from Ethena's vault. If set to 'ALL', your total deposited USDe amount will be requested to be withdrawn.
459
457
  :param chain:
460
458
  :param sender: The address of the transaction sender.
461
- :param receiver: The address which will receive the USDe withdrawn. Defaults to the sender.
462
459
  :param retries: Override the default retry configuration for this method
463
460
  :param server_url: Override the default server URL for this method
464
461
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -474,16 +471,15 @@ class Ethena(BaseSDK):
474
471
  else:
475
472
  base_url = self._get_url(base_url, url_variables)
476
473
 
477
- request = models.EthenaWithdrawRequest(
474
+ request = models.EthenaRequestToWithdrawRequest(
478
475
  amount=amount,
479
- receiver=receiver,
480
476
  chain=chain,
481
477
  sender=sender,
482
478
  )
483
479
 
484
480
  req = self._build_request(
485
481
  method="POST",
486
- path="/v1/ethena/withdraw",
482
+ path="/v1/ethena/request",
487
483
  base_url=base_url,
488
484
  url_variables=url_variables,
489
485
  request=request,
@@ -495,7 +491,7 @@ class Ethena(BaseSDK):
495
491
  http_headers=http_headers,
496
492
  security=self.sdk_configuration.security,
497
493
  get_serialized_body=lambda: utils.serialize_request_body(
498
- request, False, False, "json", models.EthenaWithdrawRequest
494
+ request, False, False, "json", models.EthenaRequestToWithdrawRequest
499
495
  ),
500
496
  timeout_ms=timeout_ms,
501
497
  )
@@ -512,7 +508,7 @@ class Ethena(BaseSDK):
512
508
  hook_ctx=HookContext(
513
509
  config=self.sdk_configuration,
514
510
  base_url=base_url or "",
515
- operation_id="v1_ethena_withdraw",
511
+ operation_id="v1_ethena_request",
516
512
  oauth2_scopes=[],
517
513
  security_source=self.sdk_configuration.security,
518
514
  ),
@@ -523,7 +519,9 @@ class Ethena(BaseSDK):
523
519
 
524
520
  response_data: Any = None
525
521
  if utils.match_response(http_res, "200", "application/json"):
526
- return unmarshal_json_response(models.TransactionResponse, http_res)
522
+ return unmarshal_json_response(
523
+ models.EthenaRequestToWithdrawTransactionResponse, http_res
524
+ )
527
525
  if utils.match_response(http_res, "422", "application/json"):
528
526
  response_data = unmarshal_json_response(
529
527
  errors.HTTPValidationErrorData, http_res
@@ -538,38 +536,35 @@ class Ethena(BaseSDK):
538
536
 
539
537
  raise errors.APIError("Unexpected response received", http_res)
540
538
 
541
- async def ethena_withdraw_async(
539
+ async def ethena_request_async(
542
540
  self,
543
541
  *,
544
542
  amount: Any,
545
- chain: models.EthenaWithdrawRequestChain,
543
+ chain: models.EthenaRequestToWithdrawRequestChain,
546
544
  sender: str,
547
- receiver: OptionalNullable[str] = UNSET,
548
545
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
549
546
  server_url: Optional[str] = None,
550
547
  timeout_ms: Optional[int] = None,
551
548
  http_headers: Optional[Mapping[str, str]] = None,
552
- ) -> models.TransactionResponse:
553
- r"""Withdraw USDe
549
+ ) -> models.EthenaRequestToWithdrawTransactionResponse:
550
+ r"""Request to Withdraw USDe
554
551
 
555
- Withdraw deposited USDe from Ethena's vault and cease earning passive yield.
552
+ Request to withdraw deposited USDe from Ethena's vault.
556
553
 
557
- The passive yield earned on USDe deposits is represented by the increased value of
558
- the shares received (sUSDe) upon depositing USDe. Trade in these shares in exchange
559
- for the intial USDe deposited and any accrued yield since depositing.
560
- <Info>
561
- **Required Allowances**
554
+ The Ethena vault requires a cooldown period. Once a request to withdraw a specified
555
+ amount of USDe has been submitted, the alloted cooldown period must pass before the
556
+ withdraw USDe transaction can be submitted.
562
557
 
563
- In order to make this transaction, token allowances need to be set for the following contracts.
558
+ If an additional amount of USDe is requested to be withdrawn anytime before
559
+ withdrawing the originally requested amount, the cooldown period restarts.
564
560
 
565
- - `EthenaVault`
566
- </Info>
561
+ Yield is not earned on USDe while in its cooldown period.
567
562
 
563
+ An allowance does not have to be set to initiate the cooldown period.
568
564
 
569
- :param amount: The amount of USDe to withdraw from Ethena's vault. If set to 'ALL', your total deposited USDe amount will be withdrawn.
565
+ :param amount: The amount of USDe to request to withdraw from Ethena's vault. If set to 'ALL', your total deposited USDe amount will be requested to be withdrawn.
570
566
  :param chain:
571
567
  :param sender: The address of the transaction sender.
572
- :param receiver: The address which will receive the USDe withdrawn. Defaults to the sender.
573
568
  :param retries: Override the default retry configuration for this method
574
569
  :param server_url: Override the default server URL for this method
575
570
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -585,16 +580,15 @@ class Ethena(BaseSDK):
585
580
  else:
586
581
  base_url = self._get_url(base_url, url_variables)
587
582
 
588
- request = models.EthenaWithdrawRequest(
583
+ request = models.EthenaRequestToWithdrawRequest(
589
584
  amount=amount,
590
- receiver=receiver,
591
585
  chain=chain,
592
586
  sender=sender,
593
587
  )
594
588
 
595
589
  req = self._build_request_async(
596
590
  method="POST",
597
- path="/v1/ethena/withdraw",
591
+ path="/v1/ethena/request",
598
592
  base_url=base_url,
599
593
  url_variables=url_variables,
600
594
  request=request,
@@ -606,7 +600,7 @@ class Ethena(BaseSDK):
606
600
  http_headers=http_headers,
607
601
  security=self.sdk_configuration.security,
608
602
  get_serialized_body=lambda: utils.serialize_request_body(
609
- request, False, False, "json", models.EthenaWithdrawRequest
603
+ request, False, False, "json", models.EthenaRequestToWithdrawRequest
610
604
  ),
611
605
  timeout_ms=timeout_ms,
612
606
  )
@@ -623,7 +617,7 @@ class Ethena(BaseSDK):
623
617
  hook_ctx=HookContext(
624
618
  config=self.sdk_configuration,
625
619
  base_url=base_url or "",
626
- operation_id="v1_ethena_withdraw",
620
+ operation_id="v1_ethena_request",
627
621
  oauth2_scopes=[],
628
622
  security_source=self.sdk_configuration.security,
629
623
  ),
@@ -634,7 +628,9 @@ class Ethena(BaseSDK):
634
628
 
635
629
  response_data: Any = None
636
630
  if utils.match_response(http_res, "200", "application/json"):
637
- return unmarshal_json_response(models.TransactionResponse, http_res)
631
+ return unmarshal_json_response(
632
+ models.EthenaRequestToWithdrawTransactionResponse, http_res
633
+ )
638
634
  if utils.match_response(http_res, "422", "application/json"):
639
635
  response_data = unmarshal_json_response(
640
636
  errors.HTTPValidationErrorData, http_res
@@ -649,41 +645,37 @@ class Ethena(BaseSDK):
649
645
 
650
646
  raise errors.APIError("Unexpected response received", http_res)
651
647
 
652
- def ethena_request(
648
+ def ethena_unstake(
653
649
  self,
654
650
  *,
655
- amount: Any,
656
- chain: models.EthenaRequestToWithdrawRequestChain,
651
+ chain: models.EthenaUnstakeRequestChain,
657
652
  sender: str,
653
+ receiver: OptionalNullable[str] = UNSET,
658
654
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
659
655
  server_url: Optional[str] = None,
660
656
  timeout_ms: Optional[int] = None,
661
657
  http_headers: Optional[Mapping[str, str]] = None,
662
- ) -> models.EthenaRequestToWithdrawTransactionResponse:
663
- r"""Request to Withdraw USDe
658
+ ) -> models.TransactionResponse:
659
+ r"""Unstake USDe
664
660
 
665
- Request to withdraw deposited USDe from Ethena's vault.
661
+ Unstake deposited USDe from Ethena's vault.
666
662
 
667
- The Ethena vault requires a cooldown period. Once a request to withdraw a specified
668
- amount of USDe has been submitted, the alloted cooldown period must pass before the
669
- withdraw USDe transaction can be submitted.
663
+ Verify that the USDe being unstaked has completed its mandatory cooldown period
664
+ using the Ethena 'Get Vault & User Position' endpoint.
670
665
 
671
- If an additional amount of USDe is requested to be withdrawn anytime before
672
- withdrawing the originally requested amount, the cooldown period restarts.
666
+ This is an all or nothing action. All of the USDe that has completed its cooldown
667
+ period must be withdrawn.
673
668
 
674
- Yield is not earned on USDe while in its cooldown period.
675
- <Info>
676
- **Required Allowances**
677
-
678
- In order to make this transaction, token allowances need to be set for the following contracts.
679
-
680
- - `EthenaVault`
681
- </Info>
669
+ The passive yield earned on USDe deposits is represented by the increased value of
670
+ the shares received (sUSDe) upon depositing USDe. Trade in these shares in exchange
671
+ for the intial USDe deposited and any accrued yield since depositing.
682
672
 
673
+ An allowance does not have to be set to unstake USDe that has completed its cooldown
674
+ period.
683
675
 
684
- :param amount: The amount of USDe to request to withdraw from Ethena's vault. If set to 'ALL', your total deposited USDe amount will be requested to be withdrawn.
685
676
  :param chain:
686
677
  :param sender: The address of the transaction sender.
678
+ :param receiver: The address which will receive the unstaked USDe. Defaults to the sender.
687
679
  :param retries: Override the default retry configuration for this method
688
680
  :param server_url: Override the default server URL for this method
689
681
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -699,15 +691,15 @@ class Ethena(BaseSDK):
699
691
  else:
700
692
  base_url = self._get_url(base_url, url_variables)
701
693
 
702
- request = models.EthenaRequestToWithdrawRequest(
703
- amount=amount,
694
+ request = models.EthenaUnstakeRequest(
695
+ receiver=receiver,
704
696
  chain=chain,
705
697
  sender=sender,
706
698
  )
707
699
 
708
700
  req = self._build_request(
709
701
  method="POST",
710
- path="/v1/ethena/request",
702
+ path="/v1/ethena/unstake",
711
703
  base_url=base_url,
712
704
  url_variables=url_variables,
713
705
  request=request,
@@ -719,7 +711,7 @@ class Ethena(BaseSDK):
719
711
  http_headers=http_headers,
720
712
  security=self.sdk_configuration.security,
721
713
  get_serialized_body=lambda: utils.serialize_request_body(
722
- request, False, False, "json", models.EthenaRequestToWithdrawRequest
714
+ request, False, False, "json", models.EthenaUnstakeRequest
723
715
  ),
724
716
  timeout_ms=timeout_ms,
725
717
  )
@@ -736,7 +728,7 @@ class Ethena(BaseSDK):
736
728
  hook_ctx=HookContext(
737
729
  config=self.sdk_configuration,
738
730
  base_url=base_url or "",
739
- operation_id="v1_ethena_request",
731
+ operation_id="v1_ethena_unstake",
740
732
  oauth2_scopes=[],
741
733
  security_source=self.sdk_configuration.security,
742
734
  ),
@@ -747,9 +739,7 @@ class Ethena(BaseSDK):
747
739
 
748
740
  response_data: Any = None
749
741
  if utils.match_response(http_res, "200", "application/json"):
750
- return unmarshal_json_response(
751
- models.EthenaRequestToWithdrawTransactionResponse, http_res
752
- )
742
+ return unmarshal_json_response(models.TransactionResponse, http_res)
753
743
  if utils.match_response(http_res, "422", "application/json"):
754
744
  response_data = unmarshal_json_response(
755
745
  errors.HTTPValidationErrorData, http_res
@@ -764,41 +754,37 @@ class Ethena(BaseSDK):
764
754
 
765
755
  raise errors.APIError("Unexpected response received", http_res)
766
756
 
767
- async def ethena_request_async(
757
+ async def ethena_unstake_async(
768
758
  self,
769
759
  *,
770
- amount: Any,
771
- chain: models.EthenaRequestToWithdrawRequestChain,
760
+ chain: models.EthenaUnstakeRequestChain,
772
761
  sender: str,
762
+ receiver: OptionalNullable[str] = UNSET,
773
763
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
774
764
  server_url: Optional[str] = None,
775
765
  timeout_ms: Optional[int] = None,
776
766
  http_headers: Optional[Mapping[str, str]] = None,
777
- ) -> models.EthenaRequestToWithdrawTransactionResponse:
778
- r"""Request to Withdraw USDe
779
-
780
- Request to withdraw deposited USDe from Ethena's vault.
781
-
782
- The Ethena vault requires a cooldown period. Once a request to withdraw a specified
783
- amount of USDe has been submitted, the alloted cooldown period must pass before the
784
- withdraw USDe transaction can be submitted.
767
+ ) -> models.TransactionResponse:
768
+ r"""Unstake USDe
785
769
 
786
- If an additional amount of USDe is requested to be withdrawn anytime before
787
- withdrawing the originally requested amount, the cooldown period restarts.
770
+ Unstake deposited USDe from Ethena's vault.
788
771
 
789
- Yield is not earned on USDe while in its cooldown period.
790
- <Info>
791
- **Required Allowances**
772
+ Verify that the USDe being unstaked has completed its mandatory cooldown period
773
+ using the Ethena 'Get Vault & User Position' endpoint.
792
774
 
793
- In order to make this transaction, token allowances need to be set for the following contracts.
775
+ This is an all or nothing action. All of the USDe that has completed its cooldown
776
+ period must be withdrawn.
794
777
 
795
- - `EthenaVault`
796
- </Info>
778
+ The passive yield earned on USDe deposits is represented by the increased value of
779
+ the shares received (sUSDe) upon depositing USDe. Trade in these shares in exchange
780
+ for the intial USDe deposited and any accrued yield since depositing.
797
781
 
782
+ An allowance does not have to be set to unstake USDe that has completed its cooldown
783
+ period.
798
784
 
799
- :param amount: The amount of USDe to request to withdraw from Ethena's vault. If set to 'ALL', your total deposited USDe amount will be requested to be withdrawn.
800
785
  :param chain:
801
786
  :param sender: The address of the transaction sender.
787
+ :param receiver: The address which will receive the unstaked USDe. Defaults to the sender.
802
788
  :param retries: Override the default retry configuration for this method
803
789
  :param server_url: Override the default server URL for this method
804
790
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -814,15 +800,15 @@ class Ethena(BaseSDK):
814
800
  else:
815
801
  base_url = self._get_url(base_url, url_variables)
816
802
 
817
- request = models.EthenaRequestToWithdrawRequest(
818
- amount=amount,
803
+ request = models.EthenaUnstakeRequest(
804
+ receiver=receiver,
819
805
  chain=chain,
820
806
  sender=sender,
821
807
  )
822
808
 
823
809
  req = self._build_request_async(
824
810
  method="POST",
825
- path="/v1/ethena/request",
811
+ path="/v1/ethena/unstake",
826
812
  base_url=base_url,
827
813
  url_variables=url_variables,
828
814
  request=request,
@@ -834,7 +820,7 @@ class Ethena(BaseSDK):
834
820
  http_headers=http_headers,
835
821
  security=self.sdk_configuration.security,
836
822
  get_serialized_body=lambda: utils.serialize_request_body(
837
- request, False, False, "json", models.EthenaRequestToWithdrawRequest
823
+ request, False, False, "json", models.EthenaUnstakeRequest
838
824
  ),
839
825
  timeout_ms=timeout_ms,
840
826
  )
@@ -851,7 +837,7 @@ class Ethena(BaseSDK):
851
837
  hook_ctx=HookContext(
852
838
  config=self.sdk_configuration,
853
839
  base_url=base_url or "",
854
- operation_id="v1_ethena_request",
840
+ operation_id="v1_ethena_unstake",
855
841
  oauth2_scopes=[],
856
842
  security_source=self.sdk_configuration.security,
857
843
  ),
@@ -862,9 +848,7 @@ class Ethena(BaseSDK):
862
848
 
863
849
  response_data: Any = None
864
850
  if utils.match_response(http_res, "200", "application/json"):
865
- return unmarshal_json_response(
866
- models.EthenaRequestToWithdrawTransactionResponse, http_res
867
- )
851
+ return unmarshal_json_response(models.TransactionResponse, http_res)
868
852
  if utils.match_response(http_res, "422", "application/json"):
869
853
  response_data = unmarshal_json_response(
870
854
  errors.HTTPValidationErrorData, http_res
@@ -335,14 +335,11 @@ if TYPE_CHECKING:
335
335
  EthenaRequestToWithdrawTransactionResponseTransactionTypedDict,
336
336
  EthenaRequestToWithdrawTransactionResponseTypedDict,
337
337
  )
338
- from .ethenawithdrawparams import (
339
- EthenaWithdrawParams,
340
- EthenaWithdrawParamsTypedDict,
341
- )
342
- from .ethenawithdrawrequest import (
343
- EthenaWithdrawRequest,
344
- EthenaWithdrawRequestChain,
345
- EthenaWithdrawRequestTypedDict,
338
+ from .ethenaunstakeparams import EthenaUnstakeParams, EthenaUnstakeParamsTypedDict
339
+ from .ethenaunstakerequest import (
340
+ EthenaUnstakeRequest,
341
+ EthenaUnstakeRequestChain,
342
+ EthenaUnstakeRequestTypedDict,
346
343
  )
347
344
  from .feeenum import FeeEnum
348
345
  from .interestratemode import InterestRateMode
@@ -1372,11 +1369,11 @@ __all__ = [
1372
1369
  "EthenaRequestToWithdrawTransactionResponseTransaction",
1373
1370
  "EthenaRequestToWithdrawTransactionResponseTransactionTypedDict",
1374
1371
  "EthenaRequestToWithdrawTransactionResponseTypedDict",
1375
- "EthenaWithdrawParams",
1376
- "EthenaWithdrawParamsTypedDict",
1377
- "EthenaWithdrawRequest",
1378
- "EthenaWithdrawRequestChain",
1379
- "EthenaWithdrawRequestTypedDict",
1372
+ "EthenaUnstakeParams",
1373
+ "EthenaUnstakeParamsTypedDict",
1374
+ "EthenaUnstakeRequest",
1375
+ "EthenaUnstakeRequestChain",
1376
+ "EthenaUnstakeRequestTypedDict",
1380
1377
  "FeeEnum",
1381
1378
  "InitialCollateralAmount",
1382
1379
  "InitialCollateralAmountTypedDict",
@@ -2207,11 +2204,11 @@ _dynamic_imports: dict[str, str] = {
2207
2204
  "EthenaRequestToWithdrawTransactionResponseTransaction": ".ethenarequesttowithdrawtransactionresponse",
2208
2205
  "EthenaRequestToWithdrawTransactionResponseTransactionTypedDict": ".ethenarequesttowithdrawtransactionresponse",
2209
2206
  "EthenaRequestToWithdrawTransactionResponseTypedDict": ".ethenarequesttowithdrawtransactionresponse",
2210
- "EthenaWithdrawParams": ".ethenawithdrawparams",
2211
- "EthenaWithdrawParamsTypedDict": ".ethenawithdrawparams",
2212
- "EthenaWithdrawRequest": ".ethenawithdrawrequest",
2213
- "EthenaWithdrawRequestChain": ".ethenawithdrawrequest",
2214
- "EthenaWithdrawRequestTypedDict": ".ethenawithdrawrequest",
2207
+ "EthenaUnstakeParams": ".ethenaunstakeparams",
2208
+ "EthenaUnstakeParamsTypedDict": ".ethenaunstakeparams",
2209
+ "EthenaUnstakeRequest": ".ethenaunstakerequest",
2210
+ "EthenaUnstakeRequestChain": ".ethenaunstakerequest",
2211
+ "EthenaUnstakeRequestTypedDict": ".ethenaunstakerequest",
2215
2212
  "FeeEnum": ".feeenum",
2216
2213
  "InterestRateMode": ".interestratemode",
2217
2214
  "LiquidationCall": ".liquidationcall",
@@ -9,48 +9,30 @@ from compass_api_sdk.types import (
9
9
  UNSET_SENTINEL,
10
10
  )
11
11
  from compass_api_sdk.utils import validate_const
12
- from enum import Enum
13
12
  import pydantic
14
13
  from pydantic import model_serializer
15
14
  from pydantic.functional_validators import AfterValidator
16
- from typing import Any, Literal, Optional
15
+ from typing import Literal, Optional
17
16
  from typing_extensions import Annotated, NotRequired, TypedDict
18
17
 
19
18
 
20
- class EthenaWithdrawRequestChain(str, Enum):
21
- ETHEREUM = "ethereum"
22
-
23
-
24
- class EthenaWithdrawRequestTypedDict(TypedDict):
25
- amount: Any
26
- r"""The amount of USDe to withdraw from Ethena's vault. If set to 'ALL', your total deposited USDe amount will be withdrawn."""
27
- chain: EthenaWithdrawRequestChain
28
- sender: str
29
- r"""The address of the transaction sender."""
30
- action_type: Literal["ETHENA_WITHDRAW"]
19
+ class EthenaUnstakeParamsTypedDict(TypedDict):
20
+ action_type: Literal["ETHENA_UNSTAKE"]
31
21
  receiver: NotRequired[Nullable[str]]
32
- r"""The address which will receive the USDe withdrawn. Defaults to the sender."""
33
-
34
-
35
- class EthenaWithdrawRequest(BaseModel):
36
- amount: Any
37
- r"""The amount of USDe to withdraw from Ethena's vault. If set to 'ALL', your total deposited USDe amount will be withdrawn."""
38
-
39
- chain: EthenaWithdrawRequestChain
22
+ r"""The address which will receive the unstaked USDe. Defaults to the sender."""
40
23
 
41
- sender: str
42
- r"""The address of the transaction sender."""
43
24
 
25
+ class EthenaUnstakeParams(BaseModel):
44
26
  ACTION_TYPE: Annotated[
45
27
  Annotated[
46
- Optional[Literal["ETHENA_WITHDRAW"]],
47
- AfterValidator(validate_const("ETHENA_WITHDRAW")),
28
+ Optional[Literal["ETHENA_UNSTAKE"]],
29
+ AfterValidator(validate_const("ETHENA_UNSTAKE")),
48
30
  ],
49
31
  pydantic.Field(alias="action_type"),
50
- ] = "ETHENA_WITHDRAW"
32
+ ] = "ETHENA_UNSTAKE"
51
33
 
52
34
  receiver: OptionalNullable[str] = UNSET
53
- r"""The address which will receive the USDe withdrawn. Defaults to the sender."""
35
+ r"""The address which will receive the unstaked USDe. Defaults to the sender."""
54
36
 
55
37
  @model_serializer(mode="wrap")
56
38
  def serialize_model(self, handler):
@@ -9,35 +9,43 @@ from compass_api_sdk.types import (
9
9
  UNSET_SENTINEL,
10
10
  )
11
11
  from compass_api_sdk.utils import validate_const
12
+ from enum import Enum
12
13
  import pydantic
13
14
  from pydantic import model_serializer
14
15
  from pydantic.functional_validators import AfterValidator
15
- from typing import Any, Literal, Optional
16
+ from typing import Literal, Optional
16
17
  from typing_extensions import Annotated, NotRequired, TypedDict
17
18
 
18
19
 
19
- class EthenaWithdrawParamsTypedDict(TypedDict):
20
- amount: Any
21
- r"""The amount of USDe to withdraw from Ethena's vault. If set to 'ALL', your total deposited USDe amount will be withdrawn."""
22
- action_type: Literal["ETHENA_WITHDRAW"]
20
+ class EthenaUnstakeRequestChain(str, Enum):
21
+ ETHEREUM = "ethereum"
22
+
23
+
24
+ class EthenaUnstakeRequestTypedDict(TypedDict):
25
+ chain: EthenaUnstakeRequestChain
26
+ sender: str
27
+ r"""The address of the transaction sender."""
28
+ action_type: Literal["ETHENA_UNSTAKE"]
23
29
  receiver: NotRequired[Nullable[str]]
24
- r"""The address which will receive the USDe withdrawn. Defaults to the sender."""
30
+ r"""The address which will receive the unstaked USDe. Defaults to the sender."""
31
+
25
32
 
33
+ class EthenaUnstakeRequest(BaseModel):
34
+ chain: EthenaUnstakeRequestChain
26
35
 
27
- class EthenaWithdrawParams(BaseModel):
28
- amount: Any
29
- r"""The amount of USDe to withdraw from Ethena's vault. If set to 'ALL', your total deposited USDe amount will be withdrawn."""
36
+ sender: str
37
+ r"""The address of the transaction sender."""
30
38
 
31
39
  ACTION_TYPE: Annotated[
32
40
  Annotated[
33
- Optional[Literal["ETHENA_WITHDRAW"]],
34
- AfterValidator(validate_const("ETHENA_WITHDRAW")),
41
+ Optional[Literal["ETHENA_UNSTAKE"]],
42
+ AfterValidator(validate_const("ETHENA_UNSTAKE")),
35
43
  ],
36
44
  pydantic.Field(alias="action_type"),
37
- ] = "ETHENA_WITHDRAW"
45
+ ] = "ETHENA_UNSTAKE"
38
46
 
39
47
  receiver: OptionalNullable[str] = UNSET
40
- r"""The address which will receive the USDe withdrawn. Defaults to the sender."""
48
+ r"""The address which will receive the unstaked USDe. Defaults to the sender."""
41
49
 
42
50
  @model_serializer(mode="wrap")
43
51
  def serialize_model(self, handler):
@@ -9,30 +9,30 @@ from typing_extensions import Annotated, NotRequired, TypedDict
9
9
 
10
10
 
11
11
  class UnsignedMulticallTransactionTypedDict(TypedDict):
12
- chain_id: int
12
+ chain_id: str
13
13
  r"""The chain id of the transaction"""
14
14
  data: str
15
15
  r"""The data of the transaction"""
16
16
  from_: str
17
17
  r"""The sender of the transaction"""
18
- gas: int
18
+ gas: str
19
19
  r"""The gas of the transaction"""
20
20
  to: str
21
21
  r"""The recipient of the transaction"""
22
- value: int
22
+ value: str
23
23
  r"""The value of the transaction"""
24
- nonce: int
24
+ nonce: str
25
25
  r"""The nonce of the address"""
26
- max_fee_per_gas: int
26
+ max_fee_per_gas: str
27
27
  r"""The max fee per gas of the transaction"""
28
- max_priority_fee_per_gas: int
28
+ max_priority_fee_per_gas: str
29
29
  r"""The max priority fee per gas of the transaction"""
30
30
  authorization_list: NotRequired[List[SignedAuthorizationTypedDict]]
31
31
  r"""EIP-7702 authorization"""
32
32
 
33
33
 
34
34
  class UnsignedMulticallTransaction(BaseModel):
35
- chain_id: Annotated[int, pydantic.Field(alias="chainId")]
35
+ chain_id: Annotated[str, pydantic.Field(alias="chainId")]
36
36
  r"""The chain id of the transaction"""
37
37
 
38
38
  data: str
@@ -41,23 +41,23 @@ class UnsignedMulticallTransaction(BaseModel):
41
41
  from_: Annotated[str, pydantic.Field(alias="from")]
42
42
  r"""The sender of the transaction"""
43
43
 
44
- gas: int
44
+ gas: str
45
45
  r"""The gas of the transaction"""
46
46
 
47
47
  to: str
48
48
  r"""The recipient of the transaction"""
49
49
 
50
- value: int
50
+ value: str
51
51
  r"""The value of the transaction"""
52
52
 
53
- nonce: int
53
+ nonce: str
54
54
  r"""The nonce of the address"""
55
55
 
56
- max_fee_per_gas: Annotated[int, pydantic.Field(alias="maxFeePerGas")]
56
+ max_fee_per_gas: Annotated[str, pydantic.Field(alias="maxFeePerGas")]
57
57
  r"""The max fee per gas of the transaction"""
58
58
 
59
59
  max_priority_fee_per_gas: Annotated[
60
- int, pydantic.Field(alias="maxPriorityFeePerGas")
60
+ str, pydantic.Field(alias="maxPriorityFeePerGas")
61
61
  ]
62
62
  r"""The max priority fee per gas of the transaction"""
63
63
 
@@ -7,28 +7,28 @@ from typing_extensions import Annotated, TypedDict
7
7
 
8
8
 
9
9
  class UnsignedTransactionTypedDict(TypedDict):
10
- chain_id: int
10
+ chain_id: str
11
11
  r"""The chain id of the transaction"""
12
12
  data: str
13
13
  r"""The data of the transaction"""
14
14
  from_: str
15
15
  r"""The sender of the transaction"""
16
- gas: int
16
+ gas: str
17
17
  r"""The gas of the transaction"""
18
18
  to: str
19
19
  r"""The recipient of the transaction"""
20
- value: int
20
+ value: str
21
21
  r"""The value of the transaction"""
22
- nonce: int
22
+ nonce: str
23
23
  r"""The nonce of the address"""
24
- max_fee_per_gas: int
24
+ max_fee_per_gas: str
25
25
  r"""The max fee per gas of the transaction"""
26
- max_priority_fee_per_gas: int
26
+ max_priority_fee_per_gas: str
27
27
  r"""The max priority fee per gas of the transaction"""
28
28
 
29
29
 
30
30
  class UnsignedTransaction(BaseModel):
31
- chain_id: Annotated[int, pydantic.Field(alias="chainId")]
31
+ chain_id: Annotated[str, pydantic.Field(alias="chainId")]
32
32
  r"""The chain id of the transaction"""
33
33
 
34
34
  data: str
@@ -37,22 +37,22 @@ class UnsignedTransaction(BaseModel):
37
37
  from_: Annotated[str, pydantic.Field(alias="from")]
38
38
  r"""The sender of the transaction"""
39
39
 
40
- gas: int
40
+ gas: str
41
41
  r"""The gas of the transaction"""
42
42
 
43
43
  to: str
44
44
  r"""The recipient of the transaction"""
45
45
 
46
- value: int
46
+ value: str
47
47
  r"""The value of the transaction"""
48
48
 
49
- nonce: int
49
+ nonce: str
50
50
  r"""The nonce of the address"""
51
51
 
52
- max_fee_per_gas: Annotated[int, pydantic.Field(alias="maxFeePerGas")]
52
+ max_fee_per_gas: Annotated[str, pydantic.Field(alias="maxFeePerGas")]
53
53
  r"""The max fee per gas of the transaction"""
54
54
 
55
55
  max_priority_fee_per_gas: Annotated[
56
- int, pydantic.Field(alias="maxPriorityFeePerGas")
56
+ str, pydantic.Field(alias="maxPriorityFeePerGas")
57
57
  ]
58
58
  r"""The max priority fee per gas of the transaction"""
@@ -30,7 +30,7 @@ from .ethenarequesttowithdrawparams import (
30
30
  EthenaRequestToWithdrawParams,
31
31
  EthenaRequestToWithdrawParamsTypedDict,
32
32
  )
33
- from .ethenawithdrawparams import EthenaWithdrawParams, EthenaWithdrawParamsTypedDict
33
+ from .ethenaunstakeparams import EthenaUnstakeParams, EthenaUnstakeParamsTypedDict
34
34
  from .morphoborrowparams import MorphoBorrowParams, MorphoBorrowParamsTypedDict
35
35
  from .morphodepositparams import MorphoDepositParams, MorphoDepositParamsTypedDict
36
36
  from .morphorepayparams import MorphoRepayParams, MorphoRepayParamsTypedDict
@@ -98,40 +98,40 @@ BodyTypedDict = TypeAliasType(
98
98
  WrapEthParamsTypedDict,
99
99
  UnwrapWethParamsTypedDict,
100
100
  PendleRedeemYieldParamsTypedDict,
101
+ EthenaUnstakeParamsTypedDict,
101
102
  SkyWithdrawParamsTypedDict,
102
103
  UniswapWithdrawLiquidityProvisionParamsTypedDict,
103
104
  SkySellParamsTypedDict,
104
- SkyDepositParamsTypedDict,
105
105
  AerodromeSlipstreamWithdrawLiquidityProvisionParamsTypedDict,
106
106
  EthenaDepositParamsTypedDict,
107
+ SkyDepositParamsTypedDict,
107
108
  SkyBuyParamsTypedDict,
108
- EthenaWithdrawParamsTypedDict,
109
- AaveWithdrawParamsTypedDict,
109
+ VaultDepositParamsTypedDict,
110
110
  AaveSupplyParamsTypedDict,
111
111
  VaultWithdrawParamsTypedDict,
112
- VaultDepositParamsTypedDict,
113
- MorphoWithdrawParamsTypedDict,
114
112
  SetAllowanceParamsTypedDict,
113
+ MorphoWithdrawParamsTypedDict,
115
114
  TokenTransferParamsTypedDict,
115
+ AaveWithdrawParamsTypedDict,
116
116
  MorphoDepositParamsTypedDict,
117
- AaveBorrowParamsTypedDict,
118
- MorphoBorrowParamsTypedDict,
119
117
  OdosSwapParamsTypedDict,
118
+ MorphoBorrowParamsTypedDict,
120
119
  MorphoWithdrawCollateralParamsTypedDict,
121
120
  MorphoSupplyCollateralParamsTypedDict,
121
+ AaveBorrowParamsTypedDict,
122
122
  MorphoRepayParamsTypedDict,
123
123
  AaveRepayParamsTypedDict,
124
- PendleTradePtParamsTypedDict,
125
124
  PendleTradeYtParamsTypedDict,
126
125
  UniswapIncreaseLiquidityProvisionParamsTypedDict,
127
126
  UniswapBuyExactlyParamsTypedDict,
128
127
  UniswapSellExactlyParamsTypedDict,
129
- AerodromeSlipstreamIncreaseLiquidityProvisionParamsTypedDict,
128
+ PendleTradePtParamsTypedDict,
130
129
  PendleManageLiquidityParamsTypedDict,
131
130
  AerodromeSlipstreamBuyExactlyParamsTypedDict,
131
+ AerodromeSlipstreamIncreaseLiquidityProvisionParamsTypedDict,
132
132
  AerodromeSlipstreamSellExactlyParamsTypedDict,
133
- UniswapMintLiquidityProvisionParamsTypedDict,
134
133
  AerodromeSlipstreamMintLiquidityProvisionParamsTypedDict,
134
+ UniswapMintLiquidityProvisionParamsTypedDict,
135
135
  ],
136
136
  )
137
137
 
@@ -163,7 +163,7 @@ Body = Annotated[
163
163
  ],
164
164
  Annotated[EthenaDepositParams, Tag("ETHENA_DEPOSIT")],
165
165
  Annotated[EthenaRequestToWithdrawParams, Tag("ETHENA_REQUEST_WITHDRAW")],
166
- Annotated[EthenaWithdrawParams, Tag("ETHENA_WITHDRAW")],
166
+ Annotated[EthenaUnstakeParams, Tag("ETHENA_UNSTAKE")],
167
167
  Annotated[MorphoBorrowParams, Tag("MORPHO_BORROW")],
168
168
  Annotated[MorphoDepositParams, Tag("MORPHO_DEPOSIT")],
169
169
  Annotated[MorphoRepayParams, Tag("MORPHO_REPAY")],
@@ -10,7 +10,7 @@ class UserOperationResponseTypedDict(TypedDict):
10
10
  r"""The target contract address for the operation"""
11
11
  data: str
12
12
  r"""The calldata for the operation"""
13
- value: int
13
+ value: str
14
14
  r"""The ETH value to send with the operation"""
15
15
 
16
16
 
@@ -21,5 +21,5 @@ class UserOperationResponse(BaseModel):
21
21
  data: str
22
22
  r"""The calldata for the operation"""
23
23
 
24
- value: int
24
+ value: str
25
25
  r"""The ETH value to send with the operation"""
@@ -15,7 +15,7 @@ class V1SkyPositionChain(str, Enum):
15
15
  class V1SkyPositionRequestTypedDict(TypedDict):
16
16
  chain: NotRequired[V1SkyPositionChain]
17
17
  user_address: str
18
- r"""The user address of the desired position."""
18
+ r"""The user-address of the desired position."""
19
19
 
20
20
 
21
21
  class V1SkyPositionRequest(BaseModel):
@@ -27,4 +27,4 @@ class V1SkyPositionRequest(BaseModel):
27
27
  user_address: Annotated[
28
28
  str, FieldMetadata(query=QueryParamMetadata(style="form", explode=True))
29
29
  ] = "0xa829B388A3DF7f581cE957a95edbe419dd146d1B"
30
- r"""The user address of the desired position."""
30
+ r"""The user-address of the desired position."""
compass_api_sdk/sky.py CHANGED
@@ -23,7 +23,7 @@ class Sky(BaseSDK):
23
23
 
24
24
  Check the USDS overall position.
25
25
 
26
- :param user_address: The user address of the desired position.
26
+ :param user_address: The user-address of the desired position.
27
27
  :param chain:
28
28
  :param retries: Override the default retry configuration for this method
29
29
  :param server_url: Override the default server URL for this method
@@ -113,7 +113,7 @@ class Sky(BaseSDK):
113
113
 
114
114
  Check the USDS overall position.
115
115
 
116
- :param user_address: The user address of the desired position.
116
+ :param user_address: The user-address of the desired position.
117
117
  :param chain:
118
118
  :param retries: Override the default retry configuration for this method
119
119
  :param server_url: Override the default server URL for this method
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: compass_api_sdk
3
- Version: 1.0.1
3
+ Version: 1.0.2
4
4
  Summary: Compass API SDK.
5
5
  Author: royalnine
6
6
  Requires-Python: >=3.9.2
@@ -237,8 +237,8 @@ with CompassAPI(
237
237
 
238
238
  * [ethena_vault](https://github.com/CompassLabs/mono/blob/master/python-sdk/docs/sdks/ethena/README.md#ethena_vault) - Get Vault & User Position
239
239
  * [ethena_deposit](https://github.com/CompassLabs/mono/blob/master/python-sdk/docs/sdks/ethena/README.md#ethena_deposit) - Deposit USDe
240
- * [ethena_withdraw](https://github.com/CompassLabs/mono/blob/master/python-sdk/docs/sdks/ethena/README.md#ethena_withdraw) - Withdraw USDe
241
240
  * [ethena_request](https://github.com/CompassLabs/mono/blob/master/python-sdk/docs/sdks/ethena/README.md#ethena_request) - Request to Withdraw USDe
241
+ * [ethena_unstake](https://github.com/CompassLabs/mono/blob/master/python-sdk/docs/sdks/ethena/README.md#ethena_unstake) - Unstake USDe
242
242
 
243
243
  ### [morpho](https://github.com/CompassLabs/mono/blob/master/python-sdk/docs/sdks/morpho/README.md)
244
244
 
@@ -2,7 +2,7 @@ compass_api_sdk/__init__.py,sha256=w2u919V3Tzv4zEPQ-OYJ79gQ_4_SyW7GOFFoHtqXDFA,4
2
2
  compass_api_sdk/_hooks/__init__.py,sha256=p5J13DeYuISQyQWirjJAObHIf2VtIlOtFqnIpvjjVwk,118
3
3
  compass_api_sdk/_hooks/sdkhooks.py,sha256=eVxHB2Q_JG6zZx5xn74i208ij-fpTHqq2jod6fbghRQ,2503
4
4
  compass_api_sdk/_hooks/types.py,sha256=4qXm6dEntJOC2QeOdTklcc53oFzTU3HBb1xGdZ-kBXY,3059
5
- compass_api_sdk/_version.py,sha256=vAyWcg-Sr2qXl98y_6DdL9p49ID1218Bx0WM0dLgcWA,472
5
+ compass_api_sdk/_version.py,sha256=IsB76S0k2ZCvTnJ1XipViQDjtHHl1HGV26GmYgdDEHk,472
6
6
  compass_api_sdk/aave_v3.py,sha256=ELmjKLULQBr_FuyrQiynCl2J4VybHVM52HN8pULHio4,126496
7
7
  compass_api_sdk/aerodrome_slipstream.py,sha256=wJ7fIDjWkn7h3sg1-_rzvttgl3IuZVWkgKQ8V5tIJLg,81001
8
8
  compass_api_sdk/basesdk.py,sha256=PQNcMD7BiLruZwOuU2TeWIE_zQ0iO--XYUFmIDr5zX0,11844
@@ -13,9 +13,9 @@ compass_api_sdk/errors/compassapierror.py,sha256=VqVzBWmwoS3OvoKbgBNh2WFFhrM3K5K
13
13
  compass_api_sdk/errors/httpvalidationerror.py,sha256=ebdzfILwY0BltW3MqxCpHipluRS1eOe5R_dYrBKVZ-k,801
14
14
  compass_api_sdk/errors/no_response_error.py,sha256=FQG44Lq6uF7uUlzbUYfM3dJon6sbqXzJ0Ri6YrDdsEs,380
15
15
  compass_api_sdk/errors/responsevalidationerror.py,sha256=baMAkfmUhcPt_cxzyOCBCGBOzlXAeTHwcn5AUCsAgOw,702
16
- compass_api_sdk/ethena.py,sha256=hVazNbjebARTCSq0WJHMOtSdLNOX7Z_UCYkHWl6YZOE,36102
16
+ compass_api_sdk/ethena.py,sha256=7FTFurIyrCzmsRjyLrOnabIS5zsq2qASgT9WMb_x0bM,35792
17
17
  compass_api_sdk/httpclient.py,sha256=Eu73urOAiZQtdUIyOUnPccxCiBbWEKrXG-JrRG3SLM4,3946
18
- compass_api_sdk/models/__init__.py,sha256=TC4PyHLgLv26c8BvNA_8fNTDJpPL5oSD_d-90Oh1y30,139529
18
+ compass_api_sdk/models/__init__.py,sha256=_atzfZO59YZbTj5r8vxGCfh-sUEIhvjPgqDI3LPIM-E,139482
19
19
  compass_api_sdk/models/aaveavgrateresponse.py,sha256=q_MArkpvKD2WdjxV7fljIHfnCbBytjddcj4m6UUGkR0,1330
20
20
  compass_api_sdk/models/aaveborrowparams.py,sha256=Sb_i4KtK1ZVGGzkt7WU391cJzCryRpPp2m6vg7Du9Z8,3309
21
21
  compass_api_sdk/models/aaveborrowrequest.py,sha256=TLEE-DxLqgLT4joybOZ1ete5Edld7poYv6LXi7egIzM,3654
@@ -82,8 +82,8 @@ compass_api_sdk/models/ethenagetvaultresponse.py,sha256=M5d2j9SYB9b6qUufLLwUa4EV
82
82
  compass_api_sdk/models/ethenarequesttowithdrawparams.py,sha256=Z_WVVYJK0w7HwVv8-WnycYJiN-n-FAEPGMUk9TWqkO4,1146
83
83
  compass_api_sdk/models/ethenarequesttowithdrawrequest.py,sha256=fhkunJpXYms8gE3S1-o5BRVIDJGEvQ2bOomfunVZ1ds,1480
84
84
  compass_api_sdk/models/ethenarequesttowithdrawtransactionresponse.py,sha256=tMLSmrDKRVXWprnX-P0sSFEhkbEE2e7M09Si-Z4w3A0,1791
85
- compass_api_sdk/models/ethenawithdrawparams.py,sha256=LMFynIbtTRF0o-MTCSyw6hyjMJksK6O-hpmrmCNdiKs,2354
86
- compass_api_sdk/models/ethenawithdrawrequest.py,sha256=va_mZ0ot0SlVWy5uUuGcyakMkN9TkyIigZhhUWNLUBw,2661
85
+ compass_api_sdk/models/ethenaunstakeparams.py,sha256=nS9YVNfQjKzwf3P9USpE7UHB6F8GpGr_OdAOYFoqzSY,2044
86
+ compass_api_sdk/models/ethenaunstakerequest.py,sha256=BqlWzfHmaf7hBXFM8qreO3s62MM0SZlfktPrJtozCn8,2348
87
87
  compass_api_sdk/models/feeenum.py,sha256=TIYaeNWCG9KFGV7CZeXHvZ_4tmlqdlk-Pcg04pc7ynM,363
88
88
  compass_api_sdk/models/interestratemode.py,sha256=OmOKBSJD0y9O9LuA0rajVkvxiEuU-xiQAuoiHYFmp5s,341
89
89
  compass_api_sdk/models/liquidationcall.py,sha256=-HEwFMuiD2p8x04VQHlnYqlOdvhr0jXrZ6ksmxlffUw,2019
@@ -181,13 +181,13 @@ compass_api_sdk/models/uniswapsellexactlytransactionresponse.py,sha256=UCy2iileh
181
181
  compass_api_sdk/models/uniswapsellquoteinforesponse.py,sha256=Eyf9p6RUu5HBgeutCzbYketAesTEUcAHDC6-_NCq68A,734
182
182
  compass_api_sdk/models/uniswapwithdrawliquidityprovisionparams.py,sha256=Dz78op6DL5mIQ3yzncQmHUvZE4zUtAsAqPpFRRVj4fo,2640
183
183
  compass_api_sdk/models/uniswapwithdrawliquidityprovisionrequest.py,sha256=u9dGDA-HCFkziMTOtI2-OlhTt2W5g7KjZtbHHSGJ41o,2332
184
- compass_api_sdk/models/unsignedmulticalltransaction.py,sha256=Tc1-HidPiy8oY4A7qUsm6CkRZo2xlxw_jJkKkGAhj1U,2047
185
- compass_api_sdk/models/unsignedtransaction.py,sha256=DHPEOKI-xgmu7tLiVxsv4JJp93krKMjNOqn0dBYkVbw,1623
184
+ compass_api_sdk/models/unsignedmulticalltransaction.py,sha256=GzJR5oOawvWq96fTXCGquqkGXenVXZWGajewEJr4oNg,2047
185
+ compass_api_sdk/models/unsignedtransaction.py,sha256=fIZxyICqS3wNQTI0nx0Szrs7wpx9W2GnHdWs50OGZRE,1623
186
186
  compass_api_sdk/models/unwrapwethparams.py,sha256=ChsTqUYi88jHqkeRVIskzfBHAPyI_J2fBJqR81Qc6dg,1308
187
187
  compass_api_sdk/models/unwrapwethrequest.py,sha256=Oii56WqSsMHbFIRCZhEBmWxabewifBVhCjN5N-S4tEg,1647
188
188
  compass_api_sdk/models/usageascollateral.py,sha256=hHBgh83BO9WA6u-9xzTvBlPOLoiYV1N21G6vDeo_b30,1561
189
- compass_api_sdk/models/useroperation.py,sha256=RAyqIkJuGB7CNuhLRhpXYdlId6Q731RgeHTuNahFivc,9201
190
- compass_api_sdk/models/useroperationresponse.py,sha256=z0o0N-EC30XlrkFiR3vLO_EXbpXojUCJlWQxuOir5VM,671
189
+ compass_api_sdk/models/useroperation.py,sha256=ZPYLUXuaMQqB5QnWccN-AXZsyHSwXKoAlkDMIqq0W-s,9195
190
+ compass_api_sdk/models/useroperationresponse.py,sha256=N3ZXdUIl_9CAOKW0b8JWfQdzFkdf8S8gVd68uyYo-9Q,671
191
191
  compass_api_sdk/models/userstate.py,sha256=HEqGwHADb8CpyndUO_WoirFfeDXbDrG-k7u4GaV-_hE,2030
192
192
  compass_api_sdk/models/v1_aave_aave_supported_tokensop.py,sha256=Lig4itxG77jn9TBd8w8vorr9AupsiDDuLBpZxVO6SxM,2084
193
193
  compass_api_sdk/models/v1_aave_avg_rateop.py,sha256=YtedhJun--Sa36Xr42Fdft2TiD_hK3N9ormtN-X9_EE,4213
@@ -216,7 +216,7 @@ compass_api_sdk/models/v1_morpho_vaultsop.py,sha256=g0IDMeZTqQ-gQzfLLAz8BwrkA4SU
216
216
  compass_api_sdk/models/v1_pendle_marketop.py,sha256=kdl3yQ2TsLMg6pEt9Ge4DD676DeDtZej0Qn_iK0hNpU,2857
217
217
  compass_api_sdk/models/v1_pendle_marketsop.py,sha256=y0NVomgmU6MNyZe1T8dXzA63h1LRLCXgdFeN_U_jaoQ,698
218
218
  compass_api_sdk/models/v1_pendle_positionsop.py,sha256=m_8p3T_tiMEOX61WdEK0LqLRk5eGmnGAgRr40wa7YGU,1002
219
- compass_api_sdk/models/v1_sky_positionop.py,sha256=FTBvVvcDZfFTZcxTpy2FjG6KFiRNjzccQkwrdow9l6A,998
219
+ compass_api_sdk/models/v1_sky_positionop.py,sha256=Z0kvKd6E5rE7icP0ASDzjtffBNjiINU8Y0YrV-xHiE4,998
220
220
  compass_api_sdk/models/v1_token_addressop.py,sha256=xP6VMymtCrBtrVO_MViPpmTZKvZqAx5LFOcgqnLAfQQ,2656
221
221
  compass_api_sdk/models/v1_token_balanceop.py,sha256=VPImmqCSA_iLCeA4no4QlhGBqd_HsNslIIMJTx0f0RA,1673
222
222
  compass_api_sdk/models/v1_token_priceop.py,sha256=vvrTw-krmH8TaLGntTcXiNdLrjU6Zm6mg1Ra0NuCRzM,2302
@@ -244,7 +244,7 @@ compass_api_sdk/pendle.py,sha256=gpEo4DpvbLxIRN8U1EZAlKPFfe1mfgSradsFZmeH754,653
244
244
  compass_api_sdk/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
245
245
  compass_api_sdk/sdk.py,sha256=qW0Rfwcvl5Q7JupjYUly-fiHKMSFh4yrrcxW517maqc,8097
246
246
  compass_api_sdk/sdkconfiguration.py,sha256=5nec4ViMLCsNWBd3DyEv8zWqU5Z77YZfzwX69jkdSnM,1607
247
- compass_api_sdk/sky.py,sha256=Cicmtx1me3yjasHxqWpFaZ6-il_X-H4e2YemVTxgNuM,44005
247
+ compass_api_sdk/sky.py,sha256=0JTj3XYSIe2rwBg4Kx1qOPKZhVXRp-Kbsfes-Jh38TA,44005
248
248
  compass_api_sdk/smart_account.py,sha256=l1ZsrQv4Mak1SlnPWbo1OuyNm9VPOZxD_YigugsG2ao,8742
249
249
  compass_api_sdk/swap.py,sha256=rL8KkafEsLp_7gk2LuM9D34kHbxUZ8V1jZQGRmlDnnw,9926
250
250
  compass_api_sdk/token_sdk.py,sha256=o9apl1E3-wa5Zq4gVfrQadSP0BuaiDeKZYsumkn5zto,31866
@@ -270,6 +270,6 @@ compass_api_sdk/utils/serializers.py,sha256=Hndks5M_rJXVub_N5lu0gKZQUoEmWrn6PN7R
270
270
  compass_api_sdk/utils/unmarshal_json_response.py,sha256=GI4Cw4JB6H2qNkqbOuBiUcxtEOJhRm2bz3qfer9KmoE,591
271
271
  compass_api_sdk/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
272
272
  compass_api_sdk/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
273
- compass_api_sdk-1.0.1.dist-info/METADATA,sha256=C04mvkoz9rvRuK-JAx_9AHeZJx6aZ-kzjt4BGKkbWYo,31472
274
- compass_api_sdk-1.0.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
275
- compass_api_sdk-1.0.1.dist-info/RECORD,,
273
+ compass_api_sdk-1.0.2.dist-info/METADATA,sha256=w31LgA0u5LJLOrfI1TazPFWWv5J3HPipZXHbb8J5xvM,31469
274
+ compass_api_sdk-1.0.2.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
275
+ compass_api_sdk-1.0.2.dist-info/RECORD,,