compass_api_sdk 1.1.2__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 (106) hide show
  1. compass_api_sdk/_version.py +3 -3
  2. compass_api_sdk/aave_v3.py +68 -44
  3. compass_api_sdk/aerodrome_slipstream.py +62 -32
  4. compass_api_sdk/erc_4626_vaults.py +12 -0
  5. compass_api_sdk/ethena.py +18 -0
  6. compass_api_sdk/models/__init__.py +0 -254
  7. compass_api_sdk/models/aaveborrowparams.py +4 -13
  8. compass_api_sdk/models/aaveborrowrequest.py +10 -14
  9. compass_api_sdk/models/aavelooprequest.py +18 -26
  10. compass_api_sdk/models/aaverepayparams.py +4 -13
  11. compass_api_sdk/models/aaverepayrequest.py +10 -14
  12. compass_api_sdk/models/aavesupplyparams.py +4 -13
  13. compass_api_sdk/models/aavesupplyrequest.py +10 -14
  14. compass_api_sdk/models/aavewithdrawparams.py +4 -13
  15. compass_api_sdk/models/aavewithdrawrequest.py +10 -14
  16. compass_api_sdk/models/aerodromeposition.py +4 -25
  17. compass_api_sdk/models/aerodromeslipstreambuyexactlyparams.py +8 -25
  18. compass_api_sdk/models/aerodromeslipstreambuyexactlyrequest.py +14 -26
  19. compass_api_sdk/models/aerodromeslipstreamincreaseliquidityprovisionrequest.py +6 -1
  20. compass_api_sdk/models/aerodromeslipstreammintliquidityprovisionparams.py +8 -25
  21. compass_api_sdk/models/aerodromeslipstreammintliquidityprovisionrequest.py +14 -26
  22. compass_api_sdk/models/aerodromeslipstreampoolpriceresponse.py +8 -25
  23. compass_api_sdk/models/aerodromeslipstreamsellexactlyparams.py +8 -25
  24. compass_api_sdk/models/aerodromeslipstreamsellexactlyrequest.py +13 -25
  25. compass_api_sdk/models/aerodromeslipstreamwithdrawliquidityprovisionrequest.py +6 -1
  26. compass_api_sdk/models/batcheduseroperationsrequest.py +15 -4
  27. compass_api_sdk/models/compass_api_backend_models_generic_read_response_portfolio_tokenbalance.py +4 -13
  28. compass_api_sdk/models/ethenadepositrequest.py +6 -1
  29. compass_api_sdk/models/ethenarequesttowithdrawrequest.py +6 -1
  30. compass_api_sdk/models/ethenaunstakerequest.py +6 -1
  31. compass_api_sdk/models/morphoborrowrequest.py +6 -1
  32. compass_api_sdk/models/morphodepositrequest.py +6 -1
  33. compass_api_sdk/models/morphorepayrequest.py +11 -1
  34. compass_api_sdk/models/morphosupplycollateralrequest.py +11 -1
  35. compass_api_sdk/models/morphowithdrawcollateralrequest.py +6 -1
  36. compass_api_sdk/models/morphowithdrawrequest.py +6 -1
  37. compass_api_sdk/models/multicallexecuterequest.py +7 -2
  38. compass_api_sdk/models/odosswapparams.py +4 -25
  39. compass_api_sdk/models/odosswaprequest.py +10 -28
  40. compass_api_sdk/models/pendlemanageliquidityparams.py +2 -15
  41. compass_api_sdk/models/pendlemanageliquidityrequest.py +8 -16
  42. compass_api_sdk/models/pendleredeemyieldrequest.py +6 -1
  43. compass_api_sdk/models/pendletradeptparams.py +2 -15
  44. compass_api_sdk/models/pendletradeptrequest.py +8 -16
  45. compass_api_sdk/models/pendletradeytparams.py +2 -15
  46. compass_api_sdk/models/pendletradeytrequest.py +8 -16
  47. compass_api_sdk/models/reserve.py +6 -15
  48. compass_api_sdk/models/setallowanceparams.py +2 -15
  49. compass_api_sdk/models/setallowancerequest.py +8 -16
  50. compass_api_sdk/models/skybuyrequest.py +6 -1
  51. compass_api_sdk/models/skydepositrequest.py +6 -1
  52. compass_api_sdk/models/skysellrequest.py +7 -2
  53. compass_api_sdk/models/skywithdrawrequest.py +6 -1
  54. compass_api_sdk/models/tokenbalanceresponse.py +5 -15
  55. compass_api_sdk/models/tokentransferparams.py +2 -15
  56. compass_api_sdk/models/tokentransferrequest.py +8 -16
  57. compass_api_sdk/models/uniswapbuyexactlyparams.py +8 -33
  58. compass_api_sdk/models/uniswapbuyexactlyrequest.py +14 -34
  59. compass_api_sdk/models/uniswapincreaseliquidityprovisionrequest.py +6 -1
  60. compass_api_sdk/models/uniswapmintliquidityprovisionparams.py +8 -25
  61. compass_api_sdk/models/uniswapmintliquidityprovisionrequest.py +14 -26
  62. compass_api_sdk/models/uniswappoolpriceresponse.py +8 -25
  63. compass_api_sdk/models/uniswapsellexactlyparams.py +4 -29
  64. compass_api_sdk/models/uniswapsellexactlyrequest.py +10 -30
  65. compass_api_sdk/models/uniswapwithdrawliquidityprovisionrequest.py +6 -1
  66. compass_api_sdk/models/unsignedmulticalltransaction.py +34 -3
  67. compass_api_sdk/models/unsignedtransaction.py +34 -3
  68. compass_api_sdk/models/unwrapwethrequest.py +6 -1
  69. compass_api_sdk/models/v1_aave_avg_rateop.py +5 -83
  70. compass_api_sdk/models/v1_aave_liquidity_changeop.py +5 -83
  71. compass_api_sdk/models/v1_aave_rateop.py +5 -83
  72. compass_api_sdk/models/v1_aave_reserve_overviewop.py +5 -83
  73. compass_api_sdk/models/v1_aave_std_rateop.py +5 -83
  74. compass_api_sdk/models/v1_aave_token_priceop.py +5 -83
  75. compass_api_sdk/models/v1_aave_user_position_per_tokenop.py +5 -83
  76. compass_api_sdk/models/v1_aerodrome_slipstream_pool_priceop.py +10 -166
  77. compass_api_sdk/models/v1_generic_allowanceop.py +7 -21
  78. compass_api_sdk/models/v1_morpho_marketsop.py +9 -29
  79. compass_api_sdk/models/v1_morpho_vaultsop.py +5 -15
  80. compass_api_sdk/models/v1_sky_positionop.py +4 -5
  81. compass_api_sdk/models/v1_token_balanceop.py +10 -23
  82. compass_api_sdk/models/v1_token_priceop.py +7 -8
  83. compass_api_sdk/models/v1_uniswap_pool_priceop.py +10 -166
  84. compass_api_sdk/models/v1_uniswap_quote_buy_exactlyop.py +10 -166
  85. compass_api_sdk/models/v1_uniswap_quote_sell_exactlyop.py +10 -166
  86. compass_api_sdk/models/vaultdepositrequest.py +6 -1
  87. compass_api_sdk/models/vaultwithdrawrequest.py +6 -1
  88. compass_api_sdk/models/wrapethrequest.py +6 -1
  89. compass_api_sdk/morpho.py +48 -24
  90. compass_api_sdk/pendle.py +30 -20
  91. compass_api_sdk/sdk.py +3 -3
  92. compass_api_sdk/sky.py +38 -16
  93. compass_api_sdk/smart_account.py +6 -0
  94. compass_api_sdk/swap.py +10 -12
  95. compass_api_sdk/{token_sdk.py → token.py} +19 -197
  96. compass_api_sdk/transaction_bundler.py +20 -8
  97. compass_api_sdk/uniswap_v3.py +74 -68
  98. compass_api_sdk/universal.py +24 -188
  99. {compass_api_sdk-1.1.2.dist-info → compass_api_sdk-1.1.3rc1.dist-info}/METADATA +5 -7
  100. {compass_api_sdk-1.1.2.dist-info → compass_api_sdk-1.1.3rc1.dist-info}/RECORD +101 -106
  101. compass_api_sdk/models/token_enum.py +0 -81
  102. compass_api_sdk/models/tokenaddressresponse.py +0 -15
  103. compass_api_sdk/models/tokeninfo.py +0 -17
  104. compass_api_sdk/models/v1_generic_supported_tokensop.py +0 -24
  105. compass_api_sdk/models/v1_token_addressop.py +0 -109
  106. {compass_api_sdk-1.1.2.dist-info → compass_api_sdk-1.1.3rc1.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.2"
6
+ __version__: str = "1.1.3rc1"
7
7
  __openapi_doc_version__: str = "0.0.1"
8
- __gen_version__: str = "2.701.8"
9
- __user_agent__: str = "speakeasy-sdk/python 1.1.2 2.701.8 0.0.1 compass_api_sdk"
8
+ __gen_version__: str = "2.702.0"
9
+ __user_agent__: str = "speakeasy-sdk/python 1.1.3rc1 2.702.0 0.0.1 compass_api_sdk"
10
10
 
11
11
  try:
12
12
  if __package__ is not None:
@@ -205,7 +205,7 @@ class AaveV3(BaseSDK):
205
205
  self,
206
206
  *,
207
207
  chain: models.V1AaveRateChain = models.V1AaveRateChain.ARBITRUM,
208
- token: models.V1AaveRateToken = models.V1AaveRateToken.USDC,
208
+ token: str = "USDC",
209
209
  block: OptionalNullable[int] = UNSET,
210
210
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
211
211
  server_url: Optional[str] = None,
@@ -230,7 +230,7 @@ class AaveV3(BaseSDK):
230
230
  For APY/APR on loans Aave offers both stable and fixed rates on certain tokens.
231
231
 
232
232
  :param chain:
233
- :param token: The symbol of the asset to fetch the users' position on..
233
+ :param token: The symbol or address of the token to fetch the user's position on..
234
234
  :param block: Optional block number (defaults to latest).
235
235
  :param retries: Override the default retry configuration for this method
236
236
  :param server_url: Override the default server URL for this method
@@ -311,7 +311,7 @@ class AaveV3(BaseSDK):
311
311
  self,
312
312
  *,
313
313
  chain: models.V1AaveRateChain = models.V1AaveRateChain.ARBITRUM,
314
- token: models.V1AaveRateToken = models.V1AaveRateToken.USDC,
314
+ token: str = "USDC",
315
315
  block: OptionalNullable[int] = UNSET,
316
316
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
317
317
  server_url: Optional[str] = None,
@@ -336,7 +336,7 @@ class AaveV3(BaseSDK):
336
336
  For APY/APR on loans Aave offers both stable and fixed rates on certain tokens.
337
337
 
338
338
  :param chain:
339
- :param token: The symbol of the asset to fetch the users' position on..
339
+ :param token: The symbol or address of the token to fetch the user's position on..
340
340
  :param block: Optional block number (defaults to latest).
341
341
  :param retries: Override the default retry configuration for this method
342
342
  :param server_url: Override the default server URL for this method
@@ -417,7 +417,7 @@ class AaveV3(BaseSDK):
417
417
  self,
418
418
  *,
419
419
  chain: models.V1AaveAvgRateChain = models.V1AaveAvgRateChain.ETHEREUM,
420
- token: models.V1AaveAvgRateToken = models.V1AaveAvgRateToken.USDC,
420
+ token: str = "USDC",
421
421
  days: int = 2,
422
422
  block: OptionalNullable[int] = UNSET,
423
423
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
@@ -430,7 +430,7 @@ class AaveV3(BaseSDK):
430
430
  Provides time-weighted averages of deposit and borrow rates for Aave reserves.
431
431
 
432
432
  :param chain:
433
- :param token: The symbol of the token..
433
+ :param token: The symbol or address of the token..
434
434
  :param days: The number of days for which the average shall be calculated.
435
435
  :param block: Optional block number (defaults to latest).
436
436
  :param retries: Override the default retry configuration for this method
@@ -513,7 +513,7 @@ class AaveV3(BaseSDK):
513
513
  self,
514
514
  *,
515
515
  chain: models.V1AaveAvgRateChain = models.V1AaveAvgRateChain.ETHEREUM,
516
- token: models.V1AaveAvgRateToken = models.V1AaveAvgRateToken.USDC,
516
+ token: str = "USDC",
517
517
  days: int = 2,
518
518
  block: OptionalNullable[int] = UNSET,
519
519
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
@@ -526,7 +526,7 @@ class AaveV3(BaseSDK):
526
526
  Provides time-weighted averages of deposit and borrow rates for Aave reserves.
527
527
 
528
528
  :param chain:
529
- :param token: The symbol of the token..
529
+ :param token: The symbol or address of the token..
530
530
  :param days: The number of days for which the average shall be calculated.
531
531
  :param block: Optional block number (defaults to latest).
532
532
  :param retries: Override the default retry configuration for this method
@@ -609,7 +609,7 @@ class AaveV3(BaseSDK):
609
609
  self,
610
610
  *,
611
611
  chain: models.V1AaveStdRateChain = models.V1AaveStdRateChain.ETHEREUM,
612
- token: models.V1AaveStdRateToken = models.V1AaveStdRateToken.USDC,
612
+ token: str = "USDC",
613
613
  days: int = 7,
614
614
  block: OptionalNullable[int] = UNSET,
615
615
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
@@ -623,7 +623,7 @@ class AaveV3(BaseSDK):
623
623
  reserves, illustrating market volatility.
624
624
 
625
625
  :param chain:
626
- :param token: The symbol of the tokenn..
626
+ :param token: The symbol or address of the token..
627
627
  :param days: The number of days for which the standard deviation shall be calculated.
628
628
  :param block: Optional block number (defaults to latest).
629
629
  :param retries: Override the default retry configuration for this method
@@ -706,7 +706,7 @@ class AaveV3(BaseSDK):
706
706
  self,
707
707
  *,
708
708
  chain: models.V1AaveStdRateChain = models.V1AaveStdRateChain.ETHEREUM,
709
- token: models.V1AaveStdRateToken = models.V1AaveStdRateToken.USDC,
709
+ token: str = "USDC",
710
710
  days: int = 7,
711
711
  block: OptionalNullable[int] = UNSET,
712
712
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
@@ -720,7 +720,7 @@ class AaveV3(BaseSDK):
720
720
  reserves, illustrating market volatility.
721
721
 
722
722
  :param chain:
723
- :param token: The symbol of the tokenn..
723
+ :param token: The symbol or address of the token..
724
724
  :param days: The number of days for which the standard deviation shall be calculated.
725
725
  :param block: Optional block number (defaults to latest).
726
726
  :param retries: Override the default retry configuration for this method
@@ -803,7 +803,7 @@ class AaveV3(BaseSDK):
803
803
  self,
804
804
  *,
805
805
  chain: models.V1AaveReserveOverviewChain = models.V1AaveReserveOverviewChain.ARBITRUM,
806
- token: models.V1AaveReserveOverviewToken = models.V1AaveReserveOverviewToken.USDC,
806
+ token: str = "USDC",
807
807
  block: OptionalNullable[int] = UNSET,
808
808
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
809
809
  server_url: Optional[str] = None,
@@ -820,7 +820,7 @@ class AaveV3(BaseSDK):
820
820
  See below for more info:
821
821
 
822
822
  :param chain:
823
- :param token: The symbol of the asset..
823
+ :param token: The symbol or address of the asset..
824
824
  :param block: Optional block number (defaults to latest).
825
825
  :param retries: Override the default retry configuration for this method
826
826
  :param server_url: Override the default server URL for this method
@@ -901,7 +901,7 @@ class AaveV3(BaseSDK):
901
901
  self,
902
902
  *,
903
903
  chain: models.V1AaveReserveOverviewChain = models.V1AaveReserveOverviewChain.ARBITRUM,
904
- token: models.V1AaveReserveOverviewToken = models.V1AaveReserveOverviewToken.USDC,
904
+ token: str = "USDC",
905
905
  block: OptionalNullable[int] = UNSET,
906
906
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
907
907
  server_url: Optional[str] = None,
@@ -918,7 +918,7 @@ class AaveV3(BaseSDK):
918
918
  See below for more info:
919
919
 
920
920
  :param chain:
921
- :param token: The symbol of the asset..
921
+ :param token: The symbol or address of the asset..
922
922
  :param block: Optional block number (defaults to latest).
923
923
  :param retries: Override the default retry configuration for this method
924
924
  :param server_url: Override the default server URL for this method
@@ -999,7 +999,7 @@ class AaveV3(BaseSDK):
999
999
  self,
1000
1000
  *,
1001
1001
  chain: models.V1AaveTokenPriceChain = models.V1AaveTokenPriceChain.ARBITRUM,
1002
- token: models.V1AaveTokenPriceToken = models.V1AaveTokenPriceToken.USDC,
1002
+ token: str = "USDC",
1003
1003
  block: OptionalNullable[int] = UNSET,
1004
1004
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
1005
1005
  server_url: Optional[str] = None,
@@ -1018,7 +1018,7 @@ class AaveV3(BaseSDK):
1018
1018
  Aave.
1019
1019
 
1020
1020
  :param chain:
1021
- :param token: The symbol of the asset whose price you want..
1021
+ :param token: The symbol or address of the asset whose price you want..
1022
1022
  :param block: Optional block number (defaults to latest).
1023
1023
  :param retries: Override the default retry configuration for this method
1024
1024
  :param server_url: Override the default server URL for this method
@@ -1099,7 +1099,7 @@ class AaveV3(BaseSDK):
1099
1099
  self,
1100
1100
  *,
1101
1101
  chain: models.V1AaveTokenPriceChain = models.V1AaveTokenPriceChain.ARBITRUM,
1102
- token: models.V1AaveTokenPriceToken = models.V1AaveTokenPriceToken.USDC,
1102
+ token: str = "USDC",
1103
1103
  block: OptionalNullable[int] = UNSET,
1104
1104
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
1105
1105
  server_url: Optional[str] = None,
@@ -1118,7 +1118,7 @@ class AaveV3(BaseSDK):
1118
1118
  Aave.
1119
1119
 
1120
1120
  :param chain:
1121
- :param token: The symbol of the asset whose price you want..
1121
+ :param token: The symbol or address of the asset whose price you want..
1122
1122
  :param block: Optional block number (defaults to latest).
1123
1123
  :param retries: Override the default retry configuration for this method
1124
1124
  :param server_url: Override the default server URL for this method
@@ -1199,7 +1199,7 @@ class AaveV3(BaseSDK):
1199
1199
  self,
1200
1200
  *,
1201
1201
  chain: models.V1AaveLiquidityChangeChain = models.V1AaveLiquidityChangeChain.ARBITRUM,
1202
- token: models.V1AaveLiquidityChangeToken = models.V1AaveLiquidityChangeToken.USDC,
1202
+ token: str = "USDC",
1203
1203
  start_block: int = 0,
1204
1204
  end_block: int = 319407231,
1205
1205
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
@@ -1222,7 +1222,7 @@ class AaveV3(BaseSDK):
1222
1222
  true if the liquidity index is negative.
1223
1223
 
1224
1224
  :param chain:
1225
- :param token: The symbol of the asset to get liquidity change for..
1225
+ :param token: The symbol or address of the asset to get liquidity change for..
1226
1226
  :param start_block: The start block to calculate liquidity change from.
1227
1227
  :param end_block: The end block to calculate liquidity change to.
1228
1228
  :param retries: Override the default retry configuration for this method
@@ -1305,7 +1305,7 @@ class AaveV3(BaseSDK):
1305
1305
  self,
1306
1306
  *,
1307
1307
  chain: models.V1AaveLiquidityChangeChain = models.V1AaveLiquidityChangeChain.ARBITRUM,
1308
- token: models.V1AaveLiquidityChangeToken = models.V1AaveLiquidityChangeToken.USDC,
1308
+ token: str = "USDC",
1309
1309
  start_block: int = 0,
1310
1310
  end_block: int = 319407231,
1311
1311
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
@@ -1328,7 +1328,7 @@ class AaveV3(BaseSDK):
1328
1328
  true if the liquidity index is negative.
1329
1329
 
1330
1330
  :param chain:
1331
- :param token: The symbol of the asset to get liquidity change for..
1331
+ :param token: The symbol or address of the asset to get liquidity change for..
1332
1332
  :param start_block: The start block to calculate liquidity change from.
1333
1333
  :param end_block: The end block to calculate liquidity change to.
1334
1334
  :param retries: Override the default retry configuration for this method
@@ -1616,7 +1616,7 @@ class AaveV3(BaseSDK):
1616
1616
  *,
1617
1617
  chain: models.V1AaveUserPositionPerTokenChain = models.V1AaveUserPositionPerTokenChain.BASE,
1618
1618
  user: str = "0x3254f3b1918637ba924e3F18968Cb74219974b63",
1619
- token: models.V1AaveUserPositionPerTokenToken = models.V1AaveUserPositionPerTokenToken.USDC,
1619
+ token: str = "USDC",
1620
1620
  block: OptionalNullable[int] = UNSET,
1621
1621
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
1622
1622
  server_url: Optional[str] = None,
@@ -1637,7 +1637,7 @@ class AaveV3(BaseSDK):
1637
1637
 
1638
1638
  :param chain:
1639
1639
  :param user: The user to fetch the token-specific position of.
1640
- :param token: The symbol of the asset to fetch the user's position on..
1640
+ :param token: The symbol or address of the asset to fetch the user's position on..
1641
1641
  :param block: Optional block number (defaults to latest).
1642
1642
  :param retries: Override the default retry configuration for this method
1643
1643
  :param server_url: Override the default server URL for this method
@@ -1722,7 +1722,7 @@ class AaveV3(BaseSDK):
1722
1722
  *,
1723
1723
  chain: models.V1AaveUserPositionPerTokenChain = models.V1AaveUserPositionPerTokenChain.BASE,
1724
1724
  user: str = "0x3254f3b1918637ba924e3F18968Cb74219974b63",
1725
- token: models.V1AaveUserPositionPerTokenToken = models.V1AaveUserPositionPerTokenToken.USDC,
1725
+ token: str = "USDC",
1726
1726
  block: OptionalNullable[int] = UNSET,
1727
1727
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
1728
1728
  server_url: Optional[str] = None,
@@ -1743,7 +1743,7 @@ class AaveV3(BaseSDK):
1743
1743
 
1744
1744
  :param chain:
1745
1745
  :param user: The user to fetch the token-specific position of.
1746
- :param token: The symbol of the asset to fetch the user's position on..
1746
+ :param token: The symbol or address of the asset to fetch the user's position on..
1747
1747
  :param block: Optional block number (defaults to latest).
1748
1748
  :param retries: Override the default retry configuration for this method
1749
1749
  :param server_url: Override the default server URL for this method
@@ -2040,13 +2040,14 @@ class AaveV3(BaseSDK):
2040
2040
  def aave_supply(
2041
2041
  self,
2042
2042
  *,
2043
- token: models.TokenEnum,
2043
+ token: str,
2044
2044
  amount: Union[
2045
2045
  models.AaveSupplyRequestAmount, models.AaveSupplyRequestAmountTypedDict
2046
2046
  ],
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,
@@ -2072,11 +2073,12 @@ class AaveV3(BaseSDK):
2072
2073
  </Info>
2073
2074
 
2074
2075
 
2075
- :param token: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
2076
+ :param token: The symbol or address of the underlying asset to supply as collateral. You can borrow against it..
2076
2077
  :param amount: The amount of the asset to supply
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(
@@ -2160,13 +2163,14 @@ class AaveV3(BaseSDK):
2160
2163
  async def aave_supply_async(
2161
2164
  self,
2162
2165
  *,
2163
- token: models.TokenEnum,
2166
+ token: str,
2164
2167
  amount: Union[
2165
2168
  models.AaveSupplyRequestAmount, models.AaveSupplyRequestAmountTypedDict
2166
2169
  ],
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,
@@ -2192,11 +2196,12 @@ class AaveV3(BaseSDK):
2192
2196
  </Info>
2193
2197
 
2194
2198
 
2195
- :param token: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
2199
+ :param token: The symbol or address of the underlying asset to supply as collateral. You can borrow against it..
2196
2200
  :param amount: The amount of the asset to supply
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(
@@ -2280,7 +2286,7 @@ class AaveV3(BaseSDK):
2280
2286
  def aave_borrow(
2281
2287
  self,
2282
2288
  *,
2283
- token: models.TokenEnum,
2289
+ token: str,
2284
2290
  amount: Union[
2285
2291
  models.AaveBorrowRequestAmount, models.AaveBorrowRequestAmountTypedDict
2286
2292
  ],
@@ -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,
@@ -2308,12 +2315,13 @@ class AaveV3(BaseSDK):
2308
2315
  </Info>
2309
2316
 
2310
2317
 
2311
- :param token: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
2318
+ :param token: The symbol or address of the underlying asset to borrow..
2312
2319
  :param amount: The amount of the asset to borrow
2313
2320
  :param interest_rate_mode: On AAVE there are 2 different interest modes. A stable (but typically higher rate), or a variable rate.
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(
@@ -2398,7 +2407,7 @@ class AaveV3(BaseSDK):
2398
2407
  async def aave_borrow_async(
2399
2408
  self,
2400
2409
  *,
2401
- token: models.TokenEnum,
2410
+ token: str,
2402
2411
  amount: Union[
2403
2412
  models.AaveBorrowRequestAmount, models.AaveBorrowRequestAmountTypedDict
2404
2413
  ],
@@ -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,
@@ -2426,12 +2436,13 @@ class AaveV3(BaseSDK):
2426
2436
  </Info>
2427
2437
 
2428
2438
 
2429
- :param token: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
2439
+ :param token: The symbol or address of the underlying asset to borrow..
2430
2440
  :param amount: The amount of the asset to borrow
2431
2441
  :param interest_rate_mode: On AAVE there are 2 different interest modes. A stable (but typically higher rate), or a variable rate.
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(
@@ -2516,7 +2528,7 @@ class AaveV3(BaseSDK):
2516
2528
  def aave_repay(
2517
2529
  self,
2518
2530
  *,
2519
- token: models.TokenEnum,
2531
+ token: str,
2520
2532
  amount: Union[
2521
2533
  models.AaveRepayRequestAmount, models.AaveRepayRequestAmountTypedDict
2522
2534
  ],
@@ -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,
@@ -2548,12 +2561,13 @@ class AaveV3(BaseSDK):
2548
2561
  </Info>
2549
2562
 
2550
2563
 
2551
- :param token: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
2564
+ :param token: The symbol of the underlying asset to repay..
2552
2565
  :param amount: The amount of the asset to repay
2553
2566
  :param interest_rate_mode: On AAVE there are 2 different interest modes. A stable (but typically higher rate), or a variable rate.
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(
@@ -2638,7 +2653,7 @@ class AaveV3(BaseSDK):
2638
2653
  async def aave_repay_async(
2639
2654
  self,
2640
2655
  *,
2641
- token: models.TokenEnum,
2656
+ token: str,
2642
2657
  amount: Union[
2643
2658
  models.AaveRepayRequestAmount, models.AaveRepayRequestAmountTypedDict
2644
2659
  ],
@@ -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,
@@ -2670,12 +2686,13 @@ class AaveV3(BaseSDK):
2670
2686
  </Info>
2671
2687
 
2672
2688
 
2673
- :param token: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
2689
+ :param token: The symbol of the underlying asset to repay..
2674
2690
  :param amount: The amount of the asset to repay
2675
2691
  :param interest_rate_mode: On AAVE there are 2 different interest modes. A stable (but typically higher rate), or a variable rate.
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(
@@ -2760,13 +2778,14 @@ class AaveV3(BaseSDK):
2760
2778
  def aave_withdraw(
2761
2779
  self,
2762
2780
  *,
2763
- token: models.TokenEnum,
2781
+ token: str,
2764
2782
  amount: Union[
2765
2783
  models.AaveWithdrawRequestAmount, models.AaveWithdrawRequestAmountTypedDict
2766
2784
  ],
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,
@@ -2792,11 +2811,12 @@ class AaveV3(BaseSDK):
2792
2811
  </Info>
2793
2812
 
2794
2813
 
2795
- :param token: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
2814
+ :param token: The symbol of the underlying asset to withdraw..
2796
2815
  :param amount: The amount of the asset to withdraw
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(
@@ -2880,13 +2901,14 @@ class AaveV3(BaseSDK):
2880
2901
  async def aave_withdraw_async(
2881
2902
  self,
2882
2903
  *,
2883
- token: models.TokenEnum,
2904
+ token: str,
2884
2905
  amount: Union[
2885
2906
  models.AaveWithdrawRequestAmount, models.AaveWithdrawRequestAmountTypedDict
2886
2907
  ],
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,
@@ -2912,11 +2934,12 @@ class AaveV3(BaseSDK):
2912
2934
  </Info>
2913
2935
 
2914
2936
 
2915
- :param token: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
2937
+ :param token: The symbol of the underlying asset to withdraw..
2916
2938
  :param amount: The amount of the asset to withdraw
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(