compass_api_sdk 1.1.3rc0__py3-none-any.whl → 1.1.4__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.

Files changed (60) hide show
  1. compass_api_sdk/_version.py +3 -3
  2. compass_api_sdk/aave_v3.py +24 -0
  3. compass_api_sdk/aerodrome_slipstream.py +30 -0
  4. compass_api_sdk/erc_4626_vaults.py +12 -0
  5. compass_api_sdk/ethena.py +18 -0
  6. compass_api_sdk/models/aaveborrowrequest.py +6 -1
  7. compass_api_sdk/models/aavelooprequest.py +10 -1
  8. compass_api_sdk/models/aaverepayrequest.py +6 -1
  9. compass_api_sdk/models/aavesupplyrequest.py +6 -1
  10. compass_api_sdk/models/aavewithdrawrequest.py +6 -1
  11. compass_api_sdk/models/aerodromeslipstreambuyexactlyrequest.py +6 -1
  12. compass_api_sdk/models/aerodromeslipstreamincreaseliquidityprovisionrequest.py +6 -1
  13. compass_api_sdk/models/aerodromeslipstreammintliquidityprovisionrequest.py +6 -1
  14. compass_api_sdk/models/aerodromeslipstreamsellexactlyrequest.py +5 -0
  15. compass_api_sdk/models/aerodromeslipstreamwithdrawliquidityprovisionrequest.py +6 -1
  16. compass_api_sdk/models/batcheduseroperationsrequest.py +7 -2
  17. compass_api_sdk/models/ethenadepositrequest.py +6 -1
  18. compass_api_sdk/models/ethenarequesttowithdrawrequest.py +6 -1
  19. compass_api_sdk/models/ethenaunstakerequest.py +6 -1
  20. compass_api_sdk/models/morphoborrowrequest.py +6 -1
  21. compass_api_sdk/models/morphodepositrequest.py +6 -1
  22. compass_api_sdk/models/morphorepayrequest.py +11 -1
  23. compass_api_sdk/models/morphosupplycollateralrequest.py +11 -1
  24. compass_api_sdk/models/morphowithdrawcollateralrequest.py +6 -1
  25. compass_api_sdk/models/morphowithdrawrequest.py +6 -1
  26. compass_api_sdk/models/multicallexecuterequest.py +7 -2
  27. compass_api_sdk/models/odosswaprequest.py +6 -1
  28. compass_api_sdk/models/pendlemanageliquidityrequest.py +6 -1
  29. compass_api_sdk/models/pendleredeemyieldrequest.py +6 -1
  30. compass_api_sdk/models/pendletradeptrequest.py +6 -1
  31. compass_api_sdk/models/pendletradeytrequest.py +6 -1
  32. compass_api_sdk/models/setallowancerequest.py +6 -1
  33. compass_api_sdk/models/skybuyrequest.py +6 -1
  34. compass_api_sdk/models/skydepositrequest.py +6 -1
  35. compass_api_sdk/models/skysellrequest.py +6 -1
  36. compass_api_sdk/models/skywithdrawrequest.py +6 -1
  37. compass_api_sdk/models/tokentransferrequest.py +6 -1
  38. compass_api_sdk/models/uniswapbuyexactlyrequest.py +6 -1
  39. compass_api_sdk/models/uniswapincreaseliquidityprovisionrequest.py +6 -1
  40. compass_api_sdk/models/uniswapmintliquidityprovisionrequest.py +6 -1
  41. compass_api_sdk/models/uniswapsellexactlyrequest.py +6 -1
  42. compass_api_sdk/models/uniswapwithdrawliquidityprovisionrequest.py +6 -1
  43. compass_api_sdk/models/unsignedmulticalltransaction.py +34 -3
  44. compass_api_sdk/models/unsignedtransaction.py +34 -3
  45. compass_api_sdk/models/unwrapwethrequest.py +6 -1
  46. compass_api_sdk/models/vaultdepositrequest.py +6 -1
  47. compass_api_sdk/models/vaultwithdrawrequest.py +6 -1
  48. compass_api_sdk/models/wrapethrequest.py +6 -1
  49. compass_api_sdk/morpho.py +36 -0
  50. compass_api_sdk/pendle.py +24 -0
  51. compass_api_sdk/sky.py +24 -0
  52. compass_api_sdk/smart_account.py +6 -0
  53. compass_api_sdk/swap.py +6 -0
  54. compass_api_sdk/token.py +6 -0
  55. compass_api_sdk/transaction_bundler.py +12 -0
  56. compass_api_sdk/uniswap_v3.py +30 -0
  57. compass_api_sdk/universal.py +18 -0
  58. {compass_api_sdk-1.1.3rc0.dist-info → compass_api_sdk-1.1.4.dist-info}/METADATA +1 -1
  59. {compass_api_sdk-1.1.3rc0.dist-info → compass_api_sdk-1.1.4.dist-info}/RECORD +60 -60
  60. {compass_api_sdk-1.1.3rc0.dist-info → compass_api_sdk-1.1.4.dist-info}/WHEEL +0 -0
@@ -3,10 +3,10 @@
3
3
  import importlib.metadata
4
4
 
5
5
  __title__: str = "compass_api_sdk"
6
- __version__: str = "1.1.3rc0"
6
+ __version__: str = "1.1.4"
7
7
  __openapi_doc_version__: str = "0.0.1"
8
- __gen_version__: str = "2.702.0"
9
- __user_agent__: str = "speakeasy-sdk/python 1.1.3rc0 2.702.0 0.0.1 compass_api_sdk"
8
+ __gen_version__: str = "2.707.0"
9
+ __user_agent__: str = "speakeasy-sdk/python 1.1.4 2.707.0 0.0.1 compass_api_sdk"
10
10
 
11
11
  try:
12
12
  if __package__ is not None:
@@ -2047,6 +2047,7 @@ class AaveV3(BaseSDK):
2047
2047
  chain: models.AaveSupplyRequestChain,
2048
2048
  sender: str,
2049
2049
  on_behalf_of: OptionalNullable[str] = UNSET,
2050
+ estimate_gas: Optional[bool] = True,
2050
2051
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
2051
2052
  server_url: Optional[str] = None,
2052
2053
  timeout_ms: Optional[int] = None,
@@ -2077,6 +2078,7 @@ class AaveV3(BaseSDK):
2077
2078
  :param chain:
2078
2079
  :param sender: The address of the transaction sender.
2079
2080
  :param on_behalf_of: The address on behalf of whom the supply is made. Defaults to the transaction sender.
2081
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
2080
2082
  :param retries: Override the default retry configuration for this method
2081
2083
  :param server_url: Override the default server URL for this method
2082
2084
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -2098,6 +2100,7 @@ class AaveV3(BaseSDK):
2098
2100
  on_behalf_of=on_behalf_of,
2099
2101
  chain=chain,
2100
2102
  sender=sender,
2103
+ estimate_gas=estimate_gas,
2101
2104
  )
2102
2105
 
2103
2106
  req = self._build_request(
@@ -2167,6 +2170,7 @@ class AaveV3(BaseSDK):
2167
2170
  chain: models.AaveSupplyRequestChain,
2168
2171
  sender: str,
2169
2172
  on_behalf_of: OptionalNullable[str] = UNSET,
2173
+ estimate_gas: Optional[bool] = True,
2170
2174
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
2171
2175
  server_url: Optional[str] = None,
2172
2176
  timeout_ms: Optional[int] = None,
@@ -2197,6 +2201,7 @@ class AaveV3(BaseSDK):
2197
2201
  :param chain:
2198
2202
  :param sender: The address of the transaction sender.
2199
2203
  :param on_behalf_of: The address on behalf of whom the supply is made. Defaults to the transaction sender.
2204
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
2200
2205
  :param retries: Override the default retry configuration for this method
2201
2206
  :param server_url: Override the default server URL for this method
2202
2207
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -2218,6 +2223,7 @@ class AaveV3(BaseSDK):
2218
2223
  on_behalf_of=on_behalf_of,
2219
2224
  chain=chain,
2220
2225
  sender=sender,
2226
+ estimate_gas=estimate_gas,
2221
2227
  )
2222
2228
 
2223
2229
  req = self._build_request_async(
@@ -2288,6 +2294,7 @@ class AaveV3(BaseSDK):
2288
2294
  chain: models.AaveBorrowRequestChain,
2289
2295
  sender: str,
2290
2296
  on_behalf_of: OptionalNullable[str] = UNSET,
2297
+ estimate_gas: Optional[bool] = True,
2291
2298
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
2292
2299
  server_url: Optional[str] = None,
2293
2300
  timeout_ms: Optional[int] = None,
@@ -2314,6 +2321,7 @@ class AaveV3(BaseSDK):
2314
2321
  :param chain:
2315
2322
  :param sender: The address of the transaction sender.
2316
2323
  :param on_behalf_of: The address on behalf of whom the supply is made
2324
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
2317
2325
  :param retries: Override the default retry configuration for this method
2318
2326
  :param server_url: Override the default server URL for this method
2319
2327
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -2336,6 +2344,7 @@ class AaveV3(BaseSDK):
2336
2344
  on_behalf_of=on_behalf_of,
2337
2345
  chain=chain,
2338
2346
  sender=sender,
2347
+ estimate_gas=estimate_gas,
2339
2348
  )
2340
2349
 
2341
2350
  req = self._build_request(
@@ -2406,6 +2415,7 @@ class AaveV3(BaseSDK):
2406
2415
  chain: models.AaveBorrowRequestChain,
2407
2416
  sender: str,
2408
2417
  on_behalf_of: OptionalNullable[str] = UNSET,
2418
+ estimate_gas: Optional[bool] = True,
2409
2419
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
2410
2420
  server_url: Optional[str] = None,
2411
2421
  timeout_ms: Optional[int] = None,
@@ -2432,6 +2442,7 @@ class AaveV3(BaseSDK):
2432
2442
  :param chain:
2433
2443
  :param sender: The address of the transaction sender.
2434
2444
  :param on_behalf_of: The address on behalf of whom the supply is made
2445
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
2435
2446
  :param retries: Override the default retry configuration for this method
2436
2447
  :param server_url: Override the default server URL for this method
2437
2448
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -2454,6 +2465,7 @@ class AaveV3(BaseSDK):
2454
2465
  on_behalf_of=on_behalf_of,
2455
2466
  chain=chain,
2456
2467
  sender=sender,
2468
+ estimate_gas=estimate_gas,
2457
2469
  )
2458
2470
 
2459
2471
  req = self._build_request_async(
@@ -2524,6 +2536,7 @@ class AaveV3(BaseSDK):
2524
2536
  chain: models.AaveRepayRequestChain,
2525
2537
  sender: str,
2526
2538
  on_behalf_of: OptionalNullable[str] = UNSET,
2539
+ estimate_gas: Optional[bool] = True,
2527
2540
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
2528
2541
  server_url: Optional[str] = None,
2529
2542
  timeout_ms: Optional[int] = None,
@@ -2554,6 +2567,7 @@ class AaveV3(BaseSDK):
2554
2567
  :param chain:
2555
2568
  :param sender: The address of the transaction sender.
2556
2569
  :param on_behalf_of: The address on behalf of whom the supply is made
2570
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
2557
2571
  :param retries: Override the default retry configuration for this method
2558
2572
  :param server_url: Override the default server URL for this method
2559
2573
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -2576,6 +2590,7 @@ class AaveV3(BaseSDK):
2576
2590
  on_behalf_of=on_behalf_of,
2577
2591
  chain=chain,
2578
2592
  sender=sender,
2593
+ estimate_gas=estimate_gas,
2579
2594
  )
2580
2595
 
2581
2596
  req = self._build_request(
@@ -2646,6 +2661,7 @@ class AaveV3(BaseSDK):
2646
2661
  chain: models.AaveRepayRequestChain,
2647
2662
  sender: str,
2648
2663
  on_behalf_of: OptionalNullable[str] = UNSET,
2664
+ estimate_gas: Optional[bool] = True,
2649
2665
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
2650
2666
  server_url: Optional[str] = None,
2651
2667
  timeout_ms: Optional[int] = None,
@@ -2676,6 +2692,7 @@ class AaveV3(BaseSDK):
2676
2692
  :param chain:
2677
2693
  :param sender: The address of the transaction sender.
2678
2694
  :param on_behalf_of: The address on behalf of whom the supply is made
2695
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
2679
2696
  :param retries: Override the default retry configuration for this method
2680
2697
  :param server_url: Override the default server URL for this method
2681
2698
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -2698,6 +2715,7 @@ class AaveV3(BaseSDK):
2698
2715
  on_behalf_of=on_behalf_of,
2699
2716
  chain=chain,
2700
2717
  sender=sender,
2718
+ estimate_gas=estimate_gas,
2701
2719
  )
2702
2720
 
2703
2721
  req = self._build_request_async(
@@ -2767,6 +2785,7 @@ class AaveV3(BaseSDK):
2767
2785
  recipient: str,
2768
2786
  chain: models.AaveWithdrawRequestChain,
2769
2787
  sender: str,
2788
+ estimate_gas: Optional[bool] = True,
2770
2789
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
2771
2790
  server_url: Optional[str] = None,
2772
2791
  timeout_ms: Optional[int] = None,
@@ -2797,6 +2816,7 @@ class AaveV3(BaseSDK):
2797
2816
  :param recipient: The address of the recipient of the withdrawn funds.
2798
2817
  :param chain:
2799
2818
  :param sender: The address of the transaction sender.
2819
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
2800
2820
  :param retries: Override the default retry configuration for this method
2801
2821
  :param server_url: Override the default server URL for this method
2802
2822
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -2818,6 +2838,7 @@ class AaveV3(BaseSDK):
2818
2838
  recipient=recipient,
2819
2839
  chain=chain,
2820
2840
  sender=sender,
2841
+ estimate_gas=estimate_gas,
2821
2842
  )
2822
2843
 
2823
2844
  req = self._build_request(
@@ -2887,6 +2908,7 @@ class AaveV3(BaseSDK):
2887
2908
  recipient: str,
2888
2909
  chain: models.AaveWithdrawRequestChain,
2889
2910
  sender: str,
2911
+ estimate_gas: Optional[bool] = True,
2890
2912
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
2891
2913
  server_url: Optional[str] = None,
2892
2914
  timeout_ms: Optional[int] = None,
@@ -2917,6 +2939,7 @@ class AaveV3(BaseSDK):
2917
2939
  :param recipient: The address of the recipient of the withdrawn funds.
2918
2940
  :param chain:
2919
2941
  :param sender: The address of the transaction sender.
2942
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
2920
2943
  :param retries: Override the default retry configuration for this method
2921
2944
  :param server_url: Override the default server URL for this method
2922
2945
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -2938,6 +2961,7 @@ class AaveV3(BaseSDK):
2938
2961
  recipient=recipient,
2939
2962
  chain=chain,
2940
2963
  sender=sender,
2964
+ estimate_gas=estimate_gas,
2941
2965
  )
2942
2966
 
2943
2967
  req = self._build_request_async(
@@ -433,6 +433,7 @@ class AerodromeSlipstream(BaseSDK):
433
433
  models.AerodromeSlipstreamSellExactlyRequestAmountOutMinimumTypedDict,
434
434
  ]
435
435
  ] = None,
436
+ estimate_gas: Optional[bool] = True,
436
437
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
437
438
  server_url: Optional[str] = None,
438
439
  timeout_ms: Optional[int] = None,
@@ -465,6 +466,7 @@ class AerodromeSlipstream(BaseSDK):
465
466
  :param chain:
466
467
  :param sender: The address of the transaction sender.
467
468
  :param amount_out_minimum: The minimum amount of the token to swap to, defaults to 0
469
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
468
470
  :param retries: Override the default retry configuration for this method
469
471
  :param server_url: Override the default server URL for this method
470
472
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -488,6 +490,7 @@ class AerodromeSlipstream(BaseSDK):
488
490
  amount_out_minimum=amount_out_minimum,
489
491
  chain=chain,
490
492
  sender=sender,
493
+ estimate_gas=estimate_gas,
491
494
  )
492
495
 
493
496
  req = self._build_request(
@@ -569,6 +572,7 @@ class AerodromeSlipstream(BaseSDK):
569
572
  models.AerodromeSlipstreamSellExactlyRequestAmountOutMinimumTypedDict,
570
573
  ]
571
574
  ] = None,
575
+ estimate_gas: Optional[bool] = True,
572
576
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
573
577
  server_url: Optional[str] = None,
574
578
  timeout_ms: Optional[int] = None,
@@ -601,6 +605,7 @@ class AerodromeSlipstream(BaseSDK):
601
605
  :param chain:
602
606
  :param sender: The address of the transaction sender.
603
607
  :param amount_out_minimum: The minimum amount of the token to swap to, defaults to 0
608
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
604
609
  :param retries: Override the default retry configuration for this method
605
610
  :param server_url: Override the default server URL for this method
606
611
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -624,6 +629,7 @@ class AerodromeSlipstream(BaseSDK):
624
629
  amount_out_minimum=amount_out_minimum,
625
630
  chain=chain,
626
631
  sender=sender,
632
+ estimate_gas=estimate_gas,
627
633
  )
628
634
 
629
635
  req = self._build_request_async(
@@ -703,6 +709,7 @@ class AerodromeSlipstream(BaseSDK):
703
709
  ],
704
710
  chain: models.AerodromeSlipstreamBuyExactlyRequestChain,
705
711
  sender: str,
712
+ estimate_gas: Optional[bool] = True,
706
713
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
707
714
  server_url: Optional[str] = None,
708
715
  timeout_ms: Optional[int] = None,
@@ -736,6 +743,7 @@ class AerodromeSlipstream(BaseSDK):
736
743
  :param amount_in_maximum: The maximum amount of the token to swap from
737
744
  :param chain:
738
745
  :param sender: The address of the transaction sender.
746
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
739
747
  :param retries: Override the default retry configuration for this method
740
748
  :param server_url: Override the default server URL for this method
741
749
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -759,6 +767,7 @@ class AerodromeSlipstream(BaseSDK):
759
767
  amount_in_maximum=amount_in_maximum,
760
768
  chain=chain,
761
769
  sender=sender,
770
+ estimate_gas=estimate_gas,
762
771
  )
763
772
 
764
773
  req = self._build_request(
@@ -838,6 +847,7 @@ class AerodromeSlipstream(BaseSDK):
838
847
  ],
839
848
  chain: models.AerodromeSlipstreamBuyExactlyRequestChain,
840
849
  sender: str,
850
+ estimate_gas: Optional[bool] = True,
841
851
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
842
852
  server_url: Optional[str] = None,
843
853
  timeout_ms: Optional[int] = None,
@@ -871,6 +881,7 @@ class AerodromeSlipstream(BaseSDK):
871
881
  :param amount_in_maximum: The maximum amount of the token to swap from
872
882
  :param chain:
873
883
  :param sender: The address of the transaction sender.
884
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
874
885
  :param retries: Override the default retry configuration for this method
875
886
  :param server_url: Override the default server URL for this method
876
887
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -894,6 +905,7 @@ class AerodromeSlipstream(BaseSDK):
894
905
  amount_in_maximum=amount_in_maximum,
895
906
  chain=chain,
896
907
  sender=sender,
908
+ estimate_gas=estimate_gas,
897
909
  )
898
910
 
899
911
  req = self._build_request_async(
@@ -984,6 +996,7 @@ class AerodromeSlipstream(BaseSDK):
984
996
  chain: models.AerodromeSlipstreamMintLiquidityProvisionRequestChain,
985
997
  sender: str,
986
998
  recipient: OptionalNullable[str] = UNSET,
999
+ estimate_gas: Optional[bool] = True,
987
1000
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
988
1001
  server_url: Optional[str] = None,
989
1002
  timeout_ms: Optional[int] = None,
@@ -1021,6 +1034,7 @@ class AerodromeSlipstream(BaseSDK):
1021
1034
  :param chain:
1022
1035
  :param sender: The address of the transaction sender.
1023
1036
  :param recipient: The address that will receive the LP tokens
1037
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
1024
1038
  :param retries: Override the default retry configuration for this method
1025
1039
  :param server_url: Override the default server URL for this method
1026
1040
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -1049,6 +1063,7 @@ class AerodromeSlipstream(BaseSDK):
1049
1063
  recipient=recipient,
1050
1064
  chain=chain,
1051
1065
  sender=sender,
1066
+ estimate_gas=estimate_gas,
1052
1067
  )
1053
1068
 
1054
1069
  req = self._build_request(
@@ -1139,6 +1154,7 @@ class AerodromeSlipstream(BaseSDK):
1139
1154
  chain: models.AerodromeSlipstreamMintLiquidityProvisionRequestChain,
1140
1155
  sender: str,
1141
1156
  recipient: OptionalNullable[str] = UNSET,
1157
+ estimate_gas: Optional[bool] = True,
1142
1158
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
1143
1159
  server_url: Optional[str] = None,
1144
1160
  timeout_ms: Optional[int] = None,
@@ -1176,6 +1192,7 @@ class AerodromeSlipstream(BaseSDK):
1176
1192
  :param chain:
1177
1193
  :param sender: The address of the transaction sender.
1178
1194
  :param recipient: The address that will receive the LP tokens
1195
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
1179
1196
  :param retries: Override the default retry configuration for this method
1180
1197
  :param server_url: Override the default server URL for this method
1181
1198
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -1204,6 +1221,7 @@ class AerodromeSlipstream(BaseSDK):
1204
1221
  recipient=recipient,
1205
1222
  chain=chain,
1206
1223
  sender=sender,
1224
+ estimate_gas=estimate_gas,
1207
1225
  )
1208
1226
 
1209
1227
  req = self._build_request_async(
@@ -1289,6 +1307,7 @@ class AerodromeSlipstream(BaseSDK):
1289
1307
  ],
1290
1308
  chain: models.AerodromeSlipstreamIncreaseLiquidityProvisionRequestChain,
1291
1309
  sender: str,
1310
+ estimate_gas: Optional[bool] = True,
1292
1311
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
1293
1312
  server_url: Optional[str] = None,
1294
1313
  timeout_ms: Optional[int] = None,
@@ -1323,6 +1342,7 @@ class AerodromeSlipstream(BaseSDK):
1323
1342
  :param amount1_min: The minimum amount of the second token to deposit
1324
1343
  :param chain:
1325
1344
  :param sender: The address of the transaction sender.
1345
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
1326
1346
  :param retries: Override the default retry configuration for this method
1327
1347
  :param server_url: Override the default server URL for this method
1328
1348
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -1346,6 +1366,7 @@ class AerodromeSlipstream(BaseSDK):
1346
1366
  amount1_min=amount1_min,
1347
1367
  chain=chain,
1348
1368
  sender=sender,
1369
+ estimate_gas=estimate_gas,
1349
1370
  )
1350
1371
 
1351
1372
  req = self._build_request(
@@ -1431,6 +1452,7 @@ class AerodromeSlipstream(BaseSDK):
1431
1452
  ],
1432
1453
  chain: models.AerodromeSlipstreamIncreaseLiquidityProvisionRequestChain,
1433
1454
  sender: str,
1455
+ estimate_gas: Optional[bool] = True,
1434
1456
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
1435
1457
  server_url: Optional[str] = None,
1436
1458
  timeout_ms: Optional[int] = None,
@@ -1465,6 +1487,7 @@ class AerodromeSlipstream(BaseSDK):
1465
1487
  :param amount1_min: The minimum amount of the second token to deposit
1466
1488
  :param chain:
1467
1489
  :param sender: The address of the transaction sender.
1490
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
1468
1491
  :param retries: Override the default retry configuration for this method
1469
1492
  :param server_url: Override the default server URL for this method
1470
1493
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -1488,6 +1511,7 @@ class AerodromeSlipstream(BaseSDK):
1488
1511
  amount1_min=amount1_min,
1489
1512
  chain=chain,
1490
1513
  sender=sender,
1514
+ estimate_gas=estimate_gas,
1491
1515
  )
1492
1516
 
1493
1517
  req = self._build_request_async(
@@ -1561,6 +1585,7 @@ class AerodromeSlipstream(BaseSDK):
1561
1585
  ],
1562
1586
  chain: models.AerodromeSlipstreamWithdrawLiquidityProvisionRequestChain,
1563
1587
  sender: str,
1588
+ estimate_gas: Optional[bool] = True,
1564
1589
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
1565
1590
  server_url: Optional[str] = None,
1566
1591
  timeout_ms: Optional[int] = None,
@@ -1592,6 +1617,7 @@ class AerodromeSlipstream(BaseSDK):
1592
1617
  :param percentage_for_withdrawal: How much liquidity to take out in percentage.
1593
1618
  :param chain:
1594
1619
  :param sender: The address of the transaction sender.
1620
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
1595
1621
  :param retries: Override the default retry configuration for this method
1596
1622
  :param server_url: Override the default server URL for this method
1597
1623
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -1612,6 +1638,7 @@ class AerodromeSlipstream(BaseSDK):
1612
1638
  percentage_for_withdrawal=percentage_for_withdrawal,
1613
1639
  chain=chain,
1614
1640
  sender=sender,
1641
+ estimate_gas=estimate_gas,
1615
1642
  )
1616
1643
 
1617
1644
  req = self._build_request(
@@ -1685,6 +1712,7 @@ class AerodromeSlipstream(BaseSDK):
1685
1712
  ],
1686
1713
  chain: models.AerodromeSlipstreamWithdrawLiquidityProvisionRequestChain,
1687
1714
  sender: str,
1715
+ estimate_gas: Optional[bool] = True,
1688
1716
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
1689
1717
  server_url: Optional[str] = None,
1690
1718
  timeout_ms: Optional[int] = None,
@@ -1716,6 +1744,7 @@ class AerodromeSlipstream(BaseSDK):
1716
1744
  :param percentage_for_withdrawal: How much liquidity to take out in percentage.
1717
1745
  :param chain:
1718
1746
  :param sender: The address of the transaction sender.
1747
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
1719
1748
  :param retries: Override the default retry configuration for this method
1720
1749
  :param server_url: Override the default server URL for this method
1721
1750
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -1736,6 +1765,7 @@ class AerodromeSlipstream(BaseSDK):
1736
1765
  percentage_for_withdrawal=percentage_for_withdrawal,
1737
1766
  chain=chain,
1738
1767
  sender=sender,
1768
+ estimate_gas=estimate_gas,
1739
1769
  )
1740
1770
 
1741
1771
  req = self._build_request_async(
@@ -215,6 +215,7 @@ class ERC4626Vaults(BaseSDK):
215
215
  chain: models.VaultDepositRequestChain,
216
216
  sender: str,
217
217
  receiver: OptionalNullable[str] = UNSET,
218
+ estimate_gas: Optional[bool] = True,
218
219
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
219
220
  server_url: Optional[str] = None,
220
221
  timeout_ms: Optional[int] = None,
@@ -239,6 +240,7 @@ class ERC4626Vaults(BaseSDK):
239
240
  :param chain:
240
241
  :param sender: The address of the transaction sender.
241
242
  :param receiver: The address which will receive the shares from the vault representing their proportional ownership of the vault's assets. Defaults to the sender.
243
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
242
244
  :param retries: Override the default retry configuration for this method
243
245
  :param server_url: Override the default server URL for this method
244
246
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -260,6 +262,7 @@ class ERC4626Vaults(BaseSDK):
260
262
  receiver=receiver,
261
263
  chain=chain,
262
264
  sender=sender,
265
+ estimate_gas=estimate_gas,
263
266
  )
264
267
 
265
268
  req = self._build_request(
@@ -329,6 +332,7 @@ class ERC4626Vaults(BaseSDK):
329
332
  chain: models.VaultDepositRequestChain,
330
333
  sender: str,
331
334
  receiver: OptionalNullable[str] = UNSET,
335
+ estimate_gas: Optional[bool] = True,
332
336
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
333
337
  server_url: Optional[str] = None,
334
338
  timeout_ms: Optional[int] = None,
@@ -353,6 +357,7 @@ class ERC4626Vaults(BaseSDK):
353
357
  :param chain:
354
358
  :param sender: The address of the transaction sender.
355
359
  :param receiver: The address which will receive the shares from the vault representing their proportional ownership of the vault's assets. Defaults to the sender.
360
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
356
361
  :param retries: Override the default retry configuration for this method
357
362
  :param server_url: Override the default server URL for this method
358
363
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -374,6 +379,7 @@ class ERC4626Vaults(BaseSDK):
374
379
  receiver=receiver,
375
380
  chain=chain,
376
381
  sender=sender,
382
+ estimate_gas=estimate_gas,
377
383
  )
378
384
 
379
385
  req = self._build_request_async(
@@ -441,6 +447,7 @@ class ERC4626Vaults(BaseSDK):
441
447
  chain: models.VaultWithdrawRequestChain,
442
448
  sender: str,
443
449
  receiver: OptionalNullable[str] = UNSET,
450
+ estimate_gas: Optional[bool] = True,
444
451
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
445
452
  server_url: Optional[str] = None,
446
453
  timeout_ms: Optional[int] = None,
@@ -459,6 +466,7 @@ class ERC4626Vaults(BaseSDK):
459
466
  :param chain:
460
467
  :param sender: The address of the transaction sender.
461
468
  :param receiver: The address which will receive the tokens withdrawn. Defaults to the sender.
469
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
462
470
  :param retries: Override the default retry configuration for this method
463
471
  :param server_url: Override the default server URL for this method
464
472
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -480,6 +488,7 @@ class ERC4626Vaults(BaseSDK):
480
488
  receiver=receiver,
481
489
  chain=chain,
482
490
  sender=sender,
491
+ estimate_gas=estimate_gas,
483
492
  )
484
493
 
485
494
  req = self._build_request(
@@ -547,6 +556,7 @@ class ERC4626Vaults(BaseSDK):
547
556
  chain: models.VaultWithdrawRequestChain,
548
557
  sender: str,
549
558
  receiver: OptionalNullable[str] = UNSET,
559
+ estimate_gas: Optional[bool] = True,
550
560
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
551
561
  server_url: Optional[str] = None,
552
562
  timeout_ms: Optional[int] = None,
@@ -565,6 +575,7 @@ class ERC4626Vaults(BaseSDK):
565
575
  :param chain:
566
576
  :param sender: The address of the transaction sender.
567
577
  :param receiver: The address which will receive the tokens withdrawn. Defaults to the sender.
578
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
568
579
  :param retries: Override the default retry configuration for this method
569
580
  :param server_url: Override the default server URL for this method
570
581
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -586,6 +597,7 @@ class ERC4626Vaults(BaseSDK):
586
597
  receiver=receiver,
587
598
  chain=chain,
588
599
  sender=sender,
600
+ estimate_gas=estimate_gas,
589
601
  )
590
602
 
591
603
  req = self._build_request_async(
compass_api_sdk/ethena.py CHANGED
@@ -213,6 +213,7 @@ class Ethena(BaseSDK):
213
213
  chain: models.EthenaDepositRequestChain,
214
214
  sender: str,
215
215
  receiver: OptionalNullable[str] = UNSET,
216
+ estimate_gas: Optional[bool] = True,
216
217
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
217
218
  server_url: Optional[str] = None,
218
219
  timeout_ms: Optional[int] = None,
@@ -236,6 +237,7 @@ class Ethena(BaseSDK):
236
237
  :param chain:
237
238
  :param sender: The address of the transaction sender.
238
239
  :param receiver: The address which will receive the shares (sUSDe) from Ethena's vault representing their proportional ownership of the vault's assets. Defaults to the sender.
240
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
239
241
  :param retries: Override the default retry configuration for this method
240
242
  :param server_url: Override the default server URL for this method
241
243
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -256,6 +258,7 @@ class Ethena(BaseSDK):
256
258
  receiver=receiver,
257
259
  chain=chain,
258
260
  sender=sender,
261
+ estimate_gas=estimate_gas,
259
262
  )
260
263
 
261
264
  req = self._build_request(
@@ -325,6 +328,7 @@ class Ethena(BaseSDK):
325
328
  chain: models.EthenaDepositRequestChain,
326
329
  sender: str,
327
330
  receiver: OptionalNullable[str] = UNSET,
331
+ estimate_gas: Optional[bool] = True,
328
332
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
329
333
  server_url: Optional[str] = None,
330
334
  timeout_ms: Optional[int] = None,
@@ -348,6 +352,7 @@ class Ethena(BaseSDK):
348
352
  :param chain:
349
353
  :param sender: The address of the transaction sender.
350
354
  :param receiver: The address which will receive the shares (sUSDe) from Ethena's vault representing their proportional ownership of the vault's assets. Defaults to the sender.
355
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
351
356
  :param retries: Override the default retry configuration for this method
352
357
  :param server_url: Override the default server URL for this method
353
358
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -368,6 +373,7 @@ class Ethena(BaseSDK):
368
373
  receiver=receiver,
369
374
  chain=chain,
370
375
  sender=sender,
376
+ estimate_gas=estimate_gas,
371
377
  )
372
378
 
373
379
  req = self._build_request_async(
@@ -433,6 +439,7 @@ class Ethena(BaseSDK):
433
439
  amount: Any,
434
440
  chain: models.EthenaRequestToWithdrawRequestChain,
435
441
  sender: str,
442
+ estimate_gas: Optional[bool] = True,
436
443
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
437
444
  server_url: Optional[str] = None,
438
445
  timeout_ms: Optional[int] = None,
@@ -456,6 +463,7 @@ class Ethena(BaseSDK):
456
463
  :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.
457
464
  :param chain:
458
465
  :param sender: The address of the transaction sender.
466
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
459
467
  :param retries: Override the default retry configuration for this method
460
468
  :param server_url: Override the default server URL for this method
461
469
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -475,6 +483,7 @@ class Ethena(BaseSDK):
475
483
  amount=amount,
476
484
  chain=chain,
477
485
  sender=sender,
486
+ estimate_gas=estimate_gas,
478
487
  )
479
488
 
480
489
  req = self._build_request(
@@ -542,6 +551,7 @@ class Ethena(BaseSDK):
542
551
  amount: Any,
543
552
  chain: models.EthenaRequestToWithdrawRequestChain,
544
553
  sender: str,
554
+ estimate_gas: Optional[bool] = True,
545
555
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
546
556
  server_url: Optional[str] = None,
547
557
  timeout_ms: Optional[int] = None,
@@ -565,6 +575,7 @@ class Ethena(BaseSDK):
565
575
  :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.
566
576
  :param chain:
567
577
  :param sender: The address of the transaction sender.
578
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
568
579
  :param retries: Override the default retry configuration for this method
569
580
  :param server_url: Override the default server URL for this method
570
581
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -584,6 +595,7 @@ class Ethena(BaseSDK):
584
595
  amount=amount,
585
596
  chain=chain,
586
597
  sender=sender,
598
+ estimate_gas=estimate_gas,
587
599
  )
588
600
 
589
601
  req = self._build_request_async(
@@ -651,6 +663,7 @@ class Ethena(BaseSDK):
651
663
  chain: models.EthenaUnstakeRequestChain,
652
664
  sender: str,
653
665
  receiver: OptionalNullable[str] = UNSET,
666
+ estimate_gas: Optional[bool] = True,
654
667
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
655
668
  server_url: Optional[str] = None,
656
669
  timeout_ms: Optional[int] = None,
@@ -676,6 +689,7 @@ class Ethena(BaseSDK):
676
689
  :param chain:
677
690
  :param sender: The address of the transaction sender.
678
691
  :param receiver: The address which will receive the unstaked USDe. Defaults to the sender.
692
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
679
693
  :param retries: Override the default retry configuration for this method
680
694
  :param server_url: Override the default server URL for this method
681
695
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -695,6 +709,7 @@ class Ethena(BaseSDK):
695
709
  receiver=receiver,
696
710
  chain=chain,
697
711
  sender=sender,
712
+ estimate_gas=estimate_gas,
698
713
  )
699
714
 
700
715
  req = self._build_request(
@@ -760,6 +775,7 @@ class Ethena(BaseSDK):
760
775
  chain: models.EthenaUnstakeRequestChain,
761
776
  sender: str,
762
777
  receiver: OptionalNullable[str] = UNSET,
778
+ estimate_gas: Optional[bool] = True,
763
779
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
764
780
  server_url: Optional[str] = None,
765
781
  timeout_ms: Optional[int] = None,
@@ -785,6 +801,7 @@ class Ethena(BaseSDK):
785
801
  :param chain:
786
802
  :param sender: The address of the transaction sender.
787
803
  :param receiver: The address which will receive the unstaked USDe. Defaults to the sender.
804
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
788
805
  :param retries: Override the default retry configuration for this method
789
806
  :param server_url: Override the default server URL for this method
790
807
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -804,6 +821,7 @@ class Ethena(BaseSDK):
804
821
  receiver=receiver,
805
822
  chain=chain,
806
823
  sender=sender,
824
+ estimate_gas=estimate_gas,
807
825
  )
808
826
 
809
827
  req = self._build_request_async(