compass_api_sdk 1.1.3rc0__py3-none-any.whl → 1.1.3rc1__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 +2 -2
  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.3rc1.dist-info}/METADATA +1 -1
  59. {compass_api_sdk-1.1.3rc0.dist-info → compass_api_sdk-1.1.3rc1.dist-info}/RECORD +60 -60
  60. {compass_api_sdk-1.1.3rc0.dist-info → compass_api_sdk-1.1.3rc1.dist-info}/WHEEL +0 -0
compass_api_sdk/morpho.py CHANGED
@@ -1176,6 +1176,7 @@ class Morpho(BaseSDK):
1176
1176
  chain: models.MorphoDepositRequestChain,
1177
1177
  sender: str,
1178
1178
  receiver: OptionalNullable[str] = UNSET,
1179
+ estimate_gas: Optional[bool] = True,
1179
1180
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
1180
1181
  server_url: Optional[str] = None,
1181
1182
  timeout_ms: Optional[int] = None,
@@ -1208,6 +1209,7 @@ class Morpho(BaseSDK):
1208
1209
  :param chain:
1209
1210
  :param sender: The address of the transaction sender.
1210
1211
  :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.
1212
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
1211
1213
  :param retries: Override the default retry configuration for this method
1212
1214
  :param server_url: Override the default server URL for this method
1213
1215
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -1229,6 +1231,7 @@ class Morpho(BaseSDK):
1229
1231
  receiver=receiver,
1230
1232
  chain=chain,
1231
1233
  sender=sender,
1234
+ estimate_gas=estimate_gas,
1232
1235
  )
1233
1236
 
1234
1237
  req = self._build_request(
@@ -1299,6 +1302,7 @@ class Morpho(BaseSDK):
1299
1302
  chain: models.MorphoDepositRequestChain,
1300
1303
  sender: str,
1301
1304
  receiver: OptionalNullable[str] = UNSET,
1305
+ estimate_gas: Optional[bool] = True,
1302
1306
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
1303
1307
  server_url: Optional[str] = None,
1304
1308
  timeout_ms: Optional[int] = None,
@@ -1331,6 +1335,7 @@ class Morpho(BaseSDK):
1331
1335
  :param chain:
1332
1336
  :param sender: The address of the transaction sender.
1333
1337
  :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.
1338
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
1334
1339
  :param retries: Override the default retry configuration for this method
1335
1340
  :param server_url: Override the default server URL for this method
1336
1341
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -1352,6 +1357,7 @@ class Morpho(BaseSDK):
1352
1357
  receiver=receiver,
1353
1358
  chain=chain,
1354
1359
  sender=sender,
1360
+ estimate_gas=estimate_gas,
1355
1361
  )
1356
1362
 
1357
1363
  req = self._build_request_async(
@@ -1419,6 +1425,7 @@ class Morpho(BaseSDK):
1419
1425
  chain: models.MorphoWithdrawRequestChain,
1420
1426
  sender: str,
1421
1427
  receiver: OptionalNullable[str] = UNSET,
1428
+ estimate_gas: Optional[bool] = True,
1422
1429
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
1423
1430
  server_url: Optional[str] = None,
1424
1431
  timeout_ms: Optional[int] = None,
@@ -1443,6 +1450,7 @@ class Morpho(BaseSDK):
1443
1450
  :param chain:
1444
1451
  :param sender: The address of the transaction sender.
1445
1452
  :param receiver: The address which will receive the tokens withdrawn. Defaults to the sender.
1453
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
1446
1454
  :param retries: Override the default retry configuration for this method
1447
1455
  :param server_url: Override the default server URL for this method
1448
1456
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -1464,6 +1472,7 @@ class Morpho(BaseSDK):
1464
1472
  receiver=receiver,
1465
1473
  chain=chain,
1466
1474
  sender=sender,
1475
+ estimate_gas=estimate_gas,
1467
1476
  )
1468
1477
 
1469
1478
  req = self._build_request(
@@ -1531,6 +1540,7 @@ class Morpho(BaseSDK):
1531
1540
  chain: models.MorphoWithdrawRequestChain,
1532
1541
  sender: str,
1533
1542
  receiver: OptionalNullable[str] = UNSET,
1543
+ estimate_gas: Optional[bool] = True,
1534
1544
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
1535
1545
  server_url: Optional[str] = None,
1536
1546
  timeout_ms: Optional[int] = None,
@@ -1555,6 +1565,7 @@ class Morpho(BaseSDK):
1555
1565
  :param chain:
1556
1566
  :param sender: The address of the transaction sender.
1557
1567
  :param receiver: The address which will receive the tokens withdrawn. Defaults to the sender.
1568
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
1558
1569
  :param retries: Override the default retry configuration for this method
1559
1570
  :param server_url: Override the default server URL for this method
1560
1571
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -1576,6 +1587,7 @@ class Morpho(BaseSDK):
1576
1587
  receiver=receiver,
1577
1588
  chain=chain,
1578
1589
  sender=sender,
1590
+ estimate_gas=estimate_gas,
1579
1591
  )
1580
1592
 
1581
1593
  req = self._build_request_async(
@@ -1647,6 +1659,7 @@ class Morpho(BaseSDK):
1647
1659
  sender: str,
1648
1660
  on_behalf_of: OptionalNullable[str] = UNSET,
1649
1661
  callback_data: OptionalNullable[bytes] = UNSET,
1662
+ estimate_gas: Optional[bool] = True,
1650
1663
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
1651
1664
  server_url: Optional[str] = None,
1652
1665
  timeout_ms: Optional[int] = None,
@@ -1675,6 +1688,7 @@ class Morpho(BaseSDK):
1675
1688
  :param sender: The address of the transaction sender.
1676
1689
  :param on_behalf_of: The address on behalf of whom the supplied collateral is made. Defaults to sender.
1677
1690
  :param callback_data: An optional field for callback byte data that will be triggered upon successful supplying of collateral.
1691
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
1678
1692
  :param retries: Override the default retry configuration for this method
1679
1693
  :param server_url: Override the default server URL for this method
1680
1694
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -1697,6 +1711,7 @@ class Morpho(BaseSDK):
1697
1711
  callback_data=callback_data,
1698
1712
  chain=chain,
1699
1713
  sender=sender,
1714
+ estimate_gas=estimate_gas,
1700
1715
  )
1701
1716
 
1702
1717
  req = self._build_request(
@@ -1768,6 +1783,7 @@ class Morpho(BaseSDK):
1768
1783
  sender: str,
1769
1784
  on_behalf_of: OptionalNullable[str] = UNSET,
1770
1785
  callback_data: OptionalNullable[bytes] = UNSET,
1786
+ estimate_gas: Optional[bool] = True,
1771
1787
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
1772
1788
  server_url: Optional[str] = None,
1773
1789
  timeout_ms: Optional[int] = None,
@@ -1796,6 +1812,7 @@ class Morpho(BaseSDK):
1796
1812
  :param sender: The address of the transaction sender.
1797
1813
  :param on_behalf_of: The address on behalf of whom the supplied collateral is made. Defaults to sender.
1798
1814
  :param callback_data: An optional field for callback byte data that will be triggered upon successful supplying of collateral.
1815
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
1799
1816
  :param retries: Override the default retry configuration for this method
1800
1817
  :param server_url: Override the default server URL for this method
1801
1818
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -1818,6 +1835,7 @@ class Morpho(BaseSDK):
1818
1835
  callback_data=callback_data,
1819
1836
  chain=chain,
1820
1837
  sender=sender,
1838
+ estimate_gas=estimate_gas,
1821
1839
  )
1822
1840
 
1823
1841
  req = self._build_request_async(
@@ -1889,6 +1907,7 @@ class Morpho(BaseSDK):
1889
1907
  sender: str,
1890
1908
  on_behalf_of: OptionalNullable[str] = UNSET,
1891
1909
  receiver: OptionalNullable[str] = UNSET,
1910
+ estimate_gas: Optional[bool] = True,
1892
1911
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
1893
1912
  server_url: Optional[str] = None,
1894
1913
  timeout_ms: Optional[int] = None,
@@ -1917,6 +1936,7 @@ class Morpho(BaseSDK):
1917
1936
  :param sender: The address of the transaction sender.
1918
1937
  :param on_behalf_of: The address on behalf of whom the withdraw is made. Defaults to sender.
1919
1938
  :param receiver: The address where the withdrawn collateral will be received. Defaults to sender.
1939
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
1920
1940
  :param retries: Override the default retry configuration for this method
1921
1941
  :param server_url: Override the default server URL for this method
1922
1942
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -1939,6 +1959,7 @@ class Morpho(BaseSDK):
1939
1959
  receiver=receiver,
1940
1960
  chain=chain,
1941
1961
  sender=sender,
1962
+ estimate_gas=estimate_gas,
1942
1963
  )
1943
1964
 
1944
1965
  req = self._build_request(
@@ -2010,6 +2031,7 @@ class Morpho(BaseSDK):
2010
2031
  sender: str,
2011
2032
  on_behalf_of: OptionalNullable[str] = UNSET,
2012
2033
  receiver: OptionalNullable[str] = UNSET,
2034
+ estimate_gas: Optional[bool] = True,
2013
2035
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
2014
2036
  server_url: Optional[str] = None,
2015
2037
  timeout_ms: Optional[int] = None,
@@ -2038,6 +2060,7 @@ class Morpho(BaseSDK):
2038
2060
  :param sender: The address of the transaction sender.
2039
2061
  :param on_behalf_of: The address on behalf of whom the withdraw is made. Defaults to sender.
2040
2062
  :param receiver: The address where the withdrawn collateral will be received. Defaults to sender.
2063
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
2041
2064
  :param retries: Override the default retry configuration for this method
2042
2065
  :param server_url: Override the default server URL for this method
2043
2066
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -2060,6 +2083,7 @@ class Morpho(BaseSDK):
2060
2083
  receiver=receiver,
2061
2084
  chain=chain,
2062
2085
  sender=sender,
2086
+ estimate_gas=estimate_gas,
2063
2087
  )
2064
2088
 
2065
2089
  req = self._build_request_async(
@@ -2130,6 +2154,7 @@ class Morpho(BaseSDK):
2130
2154
  sender: str,
2131
2155
  on_behalf_of: OptionalNullable[str] = UNSET,
2132
2156
  receiver: OptionalNullable[str] = UNSET,
2157
+ estimate_gas: Optional[bool] = True,
2133
2158
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
2134
2159
  server_url: Optional[str] = None,
2135
2160
  timeout_ms: Optional[int] = None,
@@ -2161,6 +2186,7 @@ class Morpho(BaseSDK):
2161
2186
  :param sender: The address of the transaction sender.
2162
2187
  :param on_behalf_of: The address where the collateral is borrowed against. Defaults to sender.
2163
2188
  :param receiver: The address of the receiver of the tokens borrowed. Defaults to the transaction sender.
2189
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
2164
2190
  :param retries: Override the default retry configuration for this method
2165
2191
  :param server_url: Override the default server URL for this method
2166
2192
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -2183,6 +2209,7 @@ class Morpho(BaseSDK):
2183
2209
  receiver=receiver,
2184
2210
  chain=chain,
2185
2211
  sender=sender,
2212
+ estimate_gas=estimate_gas,
2186
2213
  )
2187
2214
 
2188
2215
  req = self._build_request(
@@ -2253,6 +2280,7 @@ class Morpho(BaseSDK):
2253
2280
  sender: str,
2254
2281
  on_behalf_of: OptionalNullable[str] = UNSET,
2255
2282
  receiver: OptionalNullable[str] = UNSET,
2283
+ estimate_gas: Optional[bool] = True,
2256
2284
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
2257
2285
  server_url: Optional[str] = None,
2258
2286
  timeout_ms: Optional[int] = None,
@@ -2284,6 +2312,7 @@ class Morpho(BaseSDK):
2284
2312
  :param sender: The address of the transaction sender.
2285
2313
  :param on_behalf_of: The address where the collateral is borrowed against. Defaults to sender.
2286
2314
  :param receiver: The address of the receiver of the tokens borrowed. Defaults to the transaction sender.
2315
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
2287
2316
  :param retries: Override the default retry configuration for this method
2288
2317
  :param server_url: Override the default server URL for this method
2289
2318
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -2306,6 +2335,7 @@ class Morpho(BaseSDK):
2306
2335
  receiver=receiver,
2307
2336
  chain=chain,
2308
2337
  sender=sender,
2338
+ estimate_gas=estimate_gas,
2309
2339
  )
2310
2340
 
2311
2341
  req = self._build_request_async(
@@ -2374,6 +2404,7 @@ class Morpho(BaseSDK):
2374
2404
  sender: str,
2375
2405
  on_behalf_of: OptionalNullable[str] = UNSET,
2376
2406
  callback_data: OptionalNullable[bytes] = UNSET,
2407
+ estimate_gas: Optional[bool] = True,
2377
2408
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
2378
2409
  server_url: Optional[str] = None,
2379
2410
  timeout_ms: Optional[int] = None,
@@ -2402,6 +2433,7 @@ class Morpho(BaseSDK):
2402
2433
  :param sender: The address of the transaction sender.
2403
2434
  :param on_behalf_of: The address on behalf of whom the repayment is made. Defaults to sender.
2404
2435
  :param callback_data: An optional field for callback byte data that will be triggered upon successful repaying of debt.
2436
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
2405
2437
  :param retries: Override the default retry configuration for this method
2406
2438
  :param server_url: Override the default server URL for this method
2407
2439
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -2424,6 +2456,7 @@ class Morpho(BaseSDK):
2424
2456
  callback_data=callback_data,
2425
2457
  chain=chain,
2426
2458
  sender=sender,
2459
+ estimate_gas=estimate_gas,
2427
2460
  )
2428
2461
 
2429
2462
  req = self._build_request(
@@ -2492,6 +2525,7 @@ class Morpho(BaseSDK):
2492
2525
  sender: str,
2493
2526
  on_behalf_of: OptionalNullable[str] = UNSET,
2494
2527
  callback_data: OptionalNullable[bytes] = UNSET,
2528
+ estimate_gas: Optional[bool] = True,
2495
2529
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
2496
2530
  server_url: Optional[str] = None,
2497
2531
  timeout_ms: Optional[int] = None,
@@ -2520,6 +2554,7 @@ class Morpho(BaseSDK):
2520
2554
  :param sender: The address of the transaction sender.
2521
2555
  :param on_behalf_of: The address on behalf of whom the repayment is made. Defaults to sender.
2522
2556
  :param callback_data: An optional field for callback byte data that will be triggered upon successful repaying of debt.
2557
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
2523
2558
  :param retries: Override the default retry configuration for this method
2524
2559
  :param server_url: Override the default server URL for this method
2525
2560
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -2542,6 +2577,7 @@ class Morpho(BaseSDK):
2542
2577
  callback_data=callback_data,
2543
2578
  chain=chain,
2544
2579
  sender=sender,
2580
+ estimate_gas=estimate_gas,
2545
2581
  )
2546
2582
 
2547
2583
  req = self._build_request_async(
compass_api_sdk/pendle.py CHANGED
@@ -576,6 +576,7 @@ class Pendle(BaseSDK):
576
576
  max_slippage_percent: float,
577
577
  chain: models.PendleTradePtRequestChain,
578
578
  sender: str,
579
+ estimate_gas: Optional[bool] = True,
579
580
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
580
581
  server_url: Optional[str] = None,
581
582
  timeout_ms: Optional[int] = None,
@@ -605,6 +606,7 @@ class Pendle(BaseSDK):
605
606
  :param max_slippage_percent: The maximum slippage allowed in percent. e.g. `1` means `1%` slippage allowed.
606
607
  :param chain:
607
608
  :param sender: The address of the transaction sender.
609
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
608
610
  :param retries: Override the default retry configuration for this method
609
611
  :param server_url: Override the default server URL for this method
610
612
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -628,6 +630,7 @@ class Pendle(BaseSDK):
628
630
  max_slippage_percent=max_slippage_percent,
629
631
  chain=chain,
630
632
  sender=sender,
633
+ estimate_gas=estimate_gas,
631
634
  )
632
635
 
633
636
  req = self._build_request(
@@ -700,6 +703,7 @@ class Pendle(BaseSDK):
700
703
  max_slippage_percent: float,
701
704
  chain: models.PendleTradePtRequestChain,
702
705
  sender: str,
706
+ estimate_gas: Optional[bool] = True,
703
707
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
704
708
  server_url: Optional[str] = None,
705
709
  timeout_ms: Optional[int] = None,
@@ -729,6 +733,7 @@ class Pendle(BaseSDK):
729
733
  :param max_slippage_percent: The maximum slippage allowed in percent. e.g. `1` means `1%` slippage allowed.
730
734
  :param chain:
731
735
  :param sender: The address of the transaction sender.
736
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
732
737
  :param retries: Override the default retry configuration for this method
733
738
  :param server_url: Override the default server URL for this method
734
739
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -752,6 +757,7 @@ class Pendle(BaseSDK):
752
757
  max_slippage_percent=max_slippage_percent,
753
758
  chain=chain,
754
759
  sender=sender,
760
+ estimate_gas=estimate_gas,
755
761
  )
756
762
 
757
763
  req = self._build_request_async(
@@ -824,6 +830,7 @@ class Pendle(BaseSDK):
824
830
  max_slippage_percent: float,
825
831
  chain: models.PendleTradeYtRequestChain,
826
832
  sender: str,
833
+ estimate_gas: Optional[bool] = True,
827
834
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
828
835
  server_url: Optional[str] = None,
829
836
  timeout_ms: Optional[int] = None,
@@ -853,6 +860,7 @@ class Pendle(BaseSDK):
853
860
  :param max_slippage_percent: The maximum slippage allowed in percent. e.g. `1` means `1%` slippage allowed.
854
861
  :param chain:
855
862
  :param sender: The address of the transaction sender.
863
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
856
864
  :param retries: Override the default retry configuration for this method
857
865
  :param server_url: Override the default server URL for this method
858
866
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -876,6 +884,7 @@ class Pendle(BaseSDK):
876
884
  max_slippage_percent=max_slippage_percent,
877
885
  chain=chain,
878
886
  sender=sender,
887
+ estimate_gas=estimate_gas,
879
888
  )
880
889
 
881
890
  req = self._build_request(
@@ -948,6 +957,7 @@ class Pendle(BaseSDK):
948
957
  max_slippage_percent: float,
949
958
  chain: models.PendleTradeYtRequestChain,
950
959
  sender: str,
960
+ estimate_gas: Optional[bool] = True,
951
961
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
952
962
  server_url: Optional[str] = None,
953
963
  timeout_ms: Optional[int] = None,
@@ -977,6 +987,7 @@ class Pendle(BaseSDK):
977
987
  :param max_slippage_percent: The maximum slippage allowed in percent. e.g. `1` means `1%` slippage allowed.
978
988
  :param chain:
979
989
  :param sender: The address of the transaction sender.
990
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
980
991
  :param retries: Override the default retry configuration for this method
981
992
  :param server_url: Override the default server URL for this method
982
993
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -1000,6 +1011,7 @@ class Pendle(BaseSDK):
1000
1011
  max_slippage_percent=max_slippage_percent,
1001
1012
  chain=chain,
1002
1013
  sender=sender,
1014
+ estimate_gas=estimate_gas,
1003
1015
  )
1004
1016
 
1005
1017
  req = self._build_request_async(
@@ -1072,6 +1084,7 @@ class Pendle(BaseSDK):
1072
1084
  max_slippage_percent: float,
1073
1085
  chain: models.PendleManageLiquidityRequestChain,
1074
1086
  sender: str,
1087
+ estimate_gas: Optional[bool] = True,
1075
1088
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
1076
1089
  server_url: Optional[str] = None,
1077
1090
  timeout_ms: Optional[int] = None,
@@ -1104,6 +1117,7 @@ class Pendle(BaseSDK):
1104
1117
  :param max_slippage_percent: The maximum slippage allowed in percent. e.g. `1` means `1%` slippage allowed.
1105
1118
  :param chain:
1106
1119
  :param sender: The address of the transaction sender.
1120
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
1107
1121
  :param retries: Override the default retry configuration for this method
1108
1122
  :param server_url: Override the default server URL for this method
1109
1123
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -1127,6 +1141,7 @@ class Pendle(BaseSDK):
1127
1141
  max_slippage_percent=max_slippage_percent,
1128
1142
  chain=chain,
1129
1143
  sender=sender,
1144
+ estimate_gas=estimate_gas,
1130
1145
  )
1131
1146
 
1132
1147
  req = self._build_request(
@@ -1199,6 +1214,7 @@ class Pendle(BaseSDK):
1199
1214
  max_slippage_percent: float,
1200
1215
  chain: models.PendleManageLiquidityRequestChain,
1201
1216
  sender: str,
1217
+ estimate_gas: Optional[bool] = True,
1202
1218
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
1203
1219
  server_url: Optional[str] = None,
1204
1220
  timeout_ms: Optional[int] = None,
@@ -1231,6 +1247,7 @@ class Pendle(BaseSDK):
1231
1247
  :param max_slippage_percent: The maximum slippage allowed in percent. e.g. `1` means `1%` slippage allowed.
1232
1248
  :param chain:
1233
1249
  :param sender: The address of the transaction sender.
1250
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
1234
1251
  :param retries: Override the default retry configuration for this method
1235
1252
  :param server_url: Override the default server URL for this method
1236
1253
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -1254,6 +1271,7 @@ class Pendle(BaseSDK):
1254
1271
  max_slippage_percent=max_slippage_percent,
1255
1272
  chain=chain,
1256
1273
  sender=sender,
1274
+ estimate_gas=estimate_gas,
1257
1275
  )
1258
1276
 
1259
1277
  req = self._build_request_async(
@@ -1319,6 +1337,7 @@ class Pendle(BaseSDK):
1319
1337
  market_address: str,
1320
1338
  chain: models.PendleRedeemYieldRequestChain,
1321
1339
  sender: str,
1340
+ estimate_gas: Optional[bool] = True,
1322
1341
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
1323
1342
  server_url: Optional[str] = None,
1324
1343
  timeout_ms: Optional[int] = None,
@@ -1339,6 +1358,7 @@ class Pendle(BaseSDK):
1339
1358
  :param market_address: The address of the market identifying which Yield Token (YT) you would like to claim yield from.
1340
1359
  :param chain:
1341
1360
  :param sender: The address of the transaction sender.
1361
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
1342
1362
  :param retries: Override the default retry configuration for this method
1343
1363
  :param server_url: Override the default server URL for this method
1344
1364
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -1358,6 +1378,7 @@ class Pendle(BaseSDK):
1358
1378
  market_address=market_address,
1359
1379
  chain=chain,
1360
1380
  sender=sender,
1381
+ estimate_gas=estimate_gas,
1361
1382
  )
1362
1383
 
1363
1384
  req = self._build_request(
@@ -1423,6 +1444,7 @@ class Pendle(BaseSDK):
1423
1444
  market_address: str,
1424
1445
  chain: models.PendleRedeemYieldRequestChain,
1425
1446
  sender: str,
1447
+ estimate_gas: Optional[bool] = True,
1426
1448
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
1427
1449
  server_url: Optional[str] = None,
1428
1450
  timeout_ms: Optional[int] = None,
@@ -1443,6 +1465,7 @@ class Pendle(BaseSDK):
1443
1465
  :param market_address: The address of the market identifying which Yield Token (YT) you would like to claim yield from.
1444
1466
  :param chain:
1445
1467
  :param sender: The address of the transaction sender.
1468
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
1446
1469
  :param retries: Override the default retry configuration for this method
1447
1470
  :param server_url: Override the default server URL for this method
1448
1471
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -1462,6 +1485,7 @@ class Pendle(BaseSDK):
1462
1485
  market_address=market_address,
1463
1486
  chain=chain,
1464
1487
  sender=sender,
1488
+ estimate_gas=estimate_gas,
1465
1489
  )
1466
1490
 
1467
1491
  req = self._build_request_async(
compass_api_sdk/sky.py CHANGED
@@ -196,6 +196,7 @@ class Sky(BaseSDK):
196
196
  amount: Union[models.SkyBuyRequestAmount, models.SkyBuyRequestAmountTypedDict],
197
197
  chain: models.SkyBuyRequestChain,
198
198
  sender: str,
199
+ estimate_gas: Optional[bool] = True,
199
200
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
200
201
  server_url: Optional[str] = None,
201
202
  timeout_ms: Optional[int] = None,
@@ -224,6 +225,7 @@ class Sky(BaseSDK):
224
225
  :param amount: The amount of USDS you would like to buy 1:1 with 'token_in'.
225
226
  :param chain:
226
227
  :param sender: The address of the transaction sender.
228
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
227
229
  :param retries: Override the default retry configuration for this method
228
230
  :param server_url: Override the default server URL for this method
229
231
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -244,6 +246,7 @@ class Sky(BaseSDK):
244
246
  amount=amount,
245
247
  chain=chain,
246
248
  sender=sender,
249
+ estimate_gas=estimate_gas,
247
250
  )
248
251
 
249
252
  req = self._build_request(
@@ -310,6 +313,7 @@ class Sky(BaseSDK):
310
313
  amount: Union[models.SkyBuyRequestAmount, models.SkyBuyRequestAmountTypedDict],
311
314
  chain: models.SkyBuyRequestChain,
312
315
  sender: str,
316
+ estimate_gas: Optional[bool] = True,
313
317
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
314
318
  server_url: Optional[str] = None,
315
319
  timeout_ms: Optional[int] = None,
@@ -338,6 +342,7 @@ class Sky(BaseSDK):
338
342
  :param amount: The amount of USDS you would like to buy 1:1 with 'token_in'.
339
343
  :param chain:
340
344
  :param sender: The address of the transaction sender.
345
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
341
346
  :param retries: Override the default retry configuration for this method
342
347
  :param server_url: Override the default server URL for this method
343
348
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -358,6 +363,7 @@ class Sky(BaseSDK):
358
363
  amount=amount,
359
364
  chain=chain,
360
365
  sender=sender,
366
+ estimate_gas=estimate_gas,
361
367
  )
362
368
 
363
369
  req = self._build_request_async(
@@ -426,6 +432,7 @@ class Sky(BaseSDK):
426
432
  ],
427
433
  chain: models.SkySellRequestChain,
428
434
  sender: str,
435
+ estimate_gas: Optional[bool] = True,
429
436
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
430
437
  server_url: Optional[str] = None,
431
438
  timeout_ms: Optional[int] = None,
@@ -454,6 +461,7 @@ class Sky(BaseSDK):
454
461
  :param amount: The amount of USDS you would like to sell 1:1 for 'token_out'.
455
462
  :param chain:
456
463
  :param sender: The address of the transaction sender.
464
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
457
465
  :param retries: Override the default retry configuration for this method
458
466
  :param server_url: Override the default server URL for this method
459
467
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -474,6 +482,7 @@ class Sky(BaseSDK):
474
482
  amount=amount,
475
483
  chain=chain,
476
484
  sender=sender,
485
+ estimate_gas=estimate_gas,
477
486
  )
478
487
 
479
488
  req = self._build_request(
@@ -542,6 +551,7 @@ class Sky(BaseSDK):
542
551
  ],
543
552
  chain: models.SkySellRequestChain,
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,
@@ -570,6 +580,7 @@ class Sky(BaseSDK):
570
580
  :param amount: The amount of USDS you would like to sell 1:1 for 'token_out'.
571
581
  :param chain:
572
582
  :param sender: The address of the transaction sender.
583
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
573
584
  :param retries: Override the default retry configuration for this method
574
585
  :param server_url: Override the default server URL for this method
575
586
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -590,6 +601,7 @@ class Sky(BaseSDK):
590
601
  amount=amount,
591
602
  chain=chain,
592
603
  sender=sender,
604
+ estimate_gas=estimate_gas,
593
605
  )
594
606
 
595
607
  req = self._build_request_async(
@@ -660,6 +672,7 @@ class Sky(BaseSDK):
660
672
  chain: Optional[
661
673
  models.SkyDepositRequestChain
662
674
  ] = models.SkyDepositRequestChain.ETHEREUM,
675
+ estimate_gas: Optional[bool] = True,
663
676
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
664
677
  server_url: Optional[str] = None,
665
678
  timeout_ms: Optional[int] = None,
@@ -685,6 +698,7 @@ class Sky(BaseSDK):
685
698
  :param sender: The address of the transaction sender.
686
699
  :param receiver: The address which will receive the sUSDS. Defaults to the sender.
687
700
  :param chain:
701
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
688
702
  :param retries: Override the default retry configuration for this method
689
703
  :param server_url: Override the default server URL for this method
690
704
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -705,6 +719,7 @@ class Sky(BaseSDK):
705
719
  receiver=receiver,
706
720
  chain=chain,
707
721
  sender=sender,
722
+ estimate_gas=estimate_gas,
708
723
  )
709
724
 
710
725
  req = self._build_request(
@@ -775,6 +790,7 @@ class Sky(BaseSDK):
775
790
  chain: Optional[
776
791
  models.SkyDepositRequestChain
777
792
  ] = models.SkyDepositRequestChain.ETHEREUM,
793
+ estimate_gas: Optional[bool] = True,
778
794
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
779
795
  server_url: Optional[str] = None,
780
796
  timeout_ms: Optional[int] = None,
@@ -800,6 +816,7 @@ class Sky(BaseSDK):
800
816
  :param sender: The address of the transaction sender.
801
817
  :param receiver: The address which will receive the sUSDS. Defaults to the sender.
802
818
  :param chain:
819
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
803
820
  :param retries: Override the default retry configuration for this method
804
821
  :param server_url: Override the default server URL for this method
805
822
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -820,6 +837,7 @@ class Sky(BaseSDK):
820
837
  receiver=receiver,
821
838
  chain=chain,
822
839
  sender=sender,
840
+ estimate_gas=estimate_gas,
823
841
  )
824
842
 
825
843
  req = self._build_request_async(
@@ -888,6 +906,7 @@ class Sky(BaseSDK):
888
906
  chain: Optional[
889
907
  models.SkyWithdrawRequestChain
890
908
  ] = models.SkyWithdrawRequestChain.ETHEREUM,
909
+ estimate_gas: Optional[bool] = True,
891
910
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
892
911
  server_url: Optional[str] = None,
893
912
  timeout_ms: Optional[int] = None,
@@ -913,6 +932,7 @@ class Sky(BaseSDK):
913
932
  :param sender: The address of the transaction sender.
914
933
  :param receiver: The address which will receive the withdrawn USDS. Defaults to the sender.
915
934
  :param chain:
935
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
916
936
  :param retries: Override the default retry configuration for this method
917
937
  :param server_url: Override the default server URL for this method
918
938
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -933,6 +953,7 @@ class Sky(BaseSDK):
933
953
  receiver=receiver,
934
954
  chain=chain,
935
955
  sender=sender,
956
+ estimate_gas=estimate_gas,
936
957
  )
937
958
 
938
959
  req = self._build_request(
@@ -1001,6 +1022,7 @@ class Sky(BaseSDK):
1001
1022
  chain: Optional[
1002
1023
  models.SkyWithdrawRequestChain
1003
1024
  ] = models.SkyWithdrawRequestChain.ETHEREUM,
1025
+ estimate_gas: Optional[bool] = True,
1004
1026
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
1005
1027
  server_url: Optional[str] = None,
1006
1028
  timeout_ms: Optional[int] = None,
@@ -1026,6 +1048,7 @@ class Sky(BaseSDK):
1026
1048
  :param sender: The address of the transaction sender.
1027
1049
  :param receiver: The address which will receive the withdrawn USDS. Defaults to the sender.
1028
1050
  :param chain:
1051
+ :param estimate_gas: Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
1029
1052
  :param retries: Override the default retry configuration for this method
1030
1053
  :param server_url: Override the default server URL for this method
1031
1054
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -1046,6 +1069,7 @@ class Sky(BaseSDK):
1046
1069
  receiver=receiver,
1047
1070
  chain=chain,
1048
1071
  sender=sender,
1072
+ estimate_gas=estimate_gas,
1049
1073
  )
1050
1074
 
1051
1075
  req = self._build_request_async(