compass_api_sdk 1.1.2__py3-none-any.whl → 1.1.3rc0__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 (79) hide show
  1. compass_api_sdk/_version.py +3 -3
  2. compass_api_sdk/aave_v3.py +44 -44
  3. compass_api_sdk/aerodrome_slipstream.py +32 -32
  4. compass_api_sdk/models/__init__.py +0 -254
  5. compass_api_sdk/models/aaveborrowparams.py +4 -13
  6. compass_api_sdk/models/aaveborrowrequest.py +4 -13
  7. compass_api_sdk/models/aavelooprequest.py +8 -25
  8. compass_api_sdk/models/aaverepayparams.py +4 -13
  9. compass_api_sdk/models/aaverepayrequest.py +4 -13
  10. compass_api_sdk/models/aavesupplyparams.py +4 -13
  11. compass_api_sdk/models/aavesupplyrequest.py +4 -13
  12. compass_api_sdk/models/aavewithdrawparams.py +4 -13
  13. compass_api_sdk/models/aavewithdrawrequest.py +4 -13
  14. compass_api_sdk/models/aerodromeposition.py +4 -25
  15. compass_api_sdk/models/aerodromeslipstreambuyexactlyparams.py +8 -25
  16. compass_api_sdk/models/aerodromeslipstreambuyexactlyrequest.py +8 -25
  17. compass_api_sdk/models/aerodromeslipstreammintliquidityprovisionparams.py +8 -25
  18. compass_api_sdk/models/aerodromeslipstreammintliquidityprovisionrequest.py +8 -25
  19. compass_api_sdk/models/aerodromeslipstreampoolpriceresponse.py +8 -25
  20. compass_api_sdk/models/aerodromeslipstreamsellexactlyparams.py +8 -25
  21. compass_api_sdk/models/aerodromeslipstreamsellexactlyrequest.py +8 -25
  22. compass_api_sdk/models/batcheduseroperationsrequest.py +8 -2
  23. compass_api_sdk/models/compass_api_backend_models_generic_read_response_portfolio_tokenbalance.py +4 -13
  24. compass_api_sdk/models/odosswapparams.py +4 -25
  25. compass_api_sdk/models/odosswaprequest.py +4 -27
  26. compass_api_sdk/models/pendlemanageliquidityparams.py +2 -15
  27. compass_api_sdk/models/pendlemanageliquidityrequest.py +2 -15
  28. compass_api_sdk/models/pendletradeptparams.py +2 -15
  29. compass_api_sdk/models/pendletradeptrequest.py +2 -15
  30. compass_api_sdk/models/pendletradeytparams.py +2 -15
  31. compass_api_sdk/models/pendletradeytrequest.py +2 -15
  32. compass_api_sdk/models/reserve.py +6 -15
  33. compass_api_sdk/models/setallowanceparams.py +2 -15
  34. compass_api_sdk/models/setallowancerequest.py +2 -15
  35. compass_api_sdk/models/skysellrequest.py +4 -4
  36. compass_api_sdk/models/tokenbalanceresponse.py +5 -15
  37. compass_api_sdk/models/tokentransferparams.py +2 -15
  38. compass_api_sdk/models/tokentransferrequest.py +2 -15
  39. compass_api_sdk/models/uniswapbuyexactlyparams.py +8 -33
  40. compass_api_sdk/models/uniswapbuyexactlyrequest.py +8 -33
  41. compass_api_sdk/models/uniswapmintliquidityprovisionparams.py +8 -25
  42. compass_api_sdk/models/uniswapmintliquidityprovisionrequest.py +8 -25
  43. compass_api_sdk/models/uniswappoolpriceresponse.py +8 -25
  44. compass_api_sdk/models/uniswapsellexactlyparams.py +4 -29
  45. compass_api_sdk/models/uniswapsellexactlyrequest.py +4 -29
  46. compass_api_sdk/models/v1_aave_avg_rateop.py +5 -83
  47. compass_api_sdk/models/v1_aave_liquidity_changeop.py +5 -83
  48. compass_api_sdk/models/v1_aave_rateop.py +5 -83
  49. compass_api_sdk/models/v1_aave_reserve_overviewop.py +5 -83
  50. compass_api_sdk/models/v1_aave_std_rateop.py +5 -83
  51. compass_api_sdk/models/v1_aave_token_priceop.py +5 -83
  52. compass_api_sdk/models/v1_aave_user_position_per_tokenop.py +5 -83
  53. compass_api_sdk/models/v1_aerodrome_slipstream_pool_priceop.py +10 -166
  54. compass_api_sdk/models/v1_generic_allowanceop.py +7 -21
  55. compass_api_sdk/models/v1_morpho_marketsop.py +9 -29
  56. compass_api_sdk/models/v1_morpho_vaultsop.py +5 -15
  57. compass_api_sdk/models/v1_sky_positionop.py +4 -5
  58. compass_api_sdk/models/v1_token_balanceop.py +10 -23
  59. compass_api_sdk/models/v1_token_priceop.py +7 -8
  60. compass_api_sdk/models/v1_uniswap_pool_priceop.py +10 -166
  61. compass_api_sdk/models/v1_uniswap_quote_buy_exactlyop.py +10 -166
  62. compass_api_sdk/models/v1_uniswap_quote_sell_exactlyop.py +10 -166
  63. compass_api_sdk/morpho.py +12 -24
  64. compass_api_sdk/pendle.py +6 -20
  65. compass_api_sdk/sdk.py +3 -3
  66. compass_api_sdk/sky.py +14 -16
  67. compass_api_sdk/swap.py +4 -12
  68. compass_api_sdk/{token_sdk.py → token.py} +13 -197
  69. compass_api_sdk/transaction_bundler.py +8 -8
  70. compass_api_sdk/uniswap_v3.py +44 -68
  71. compass_api_sdk/universal.py +6 -188
  72. {compass_api_sdk-1.1.2.dist-info → compass_api_sdk-1.1.3rc0.dist-info}/METADATA +5 -7
  73. {compass_api_sdk-1.1.2.dist-info → compass_api_sdk-1.1.3rc0.dist-info}/RECORD +74 -79
  74. compass_api_sdk/models/token_enum.py +0 -81
  75. compass_api_sdk/models/tokenaddressresponse.py +0 -15
  76. compass_api_sdk/models/tokeninfo.py +0 -17
  77. compass_api_sdk/models/v1_generic_supported_tokensop.py +0 -24
  78. compass_api_sdk/models/v1_token_addressop.py +0 -109
  79. {compass_api_sdk-1.1.2.dist-info → compass_api_sdk-1.1.3rc0.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.3rc0"
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.3rc0 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,7 +2040,7 @@ 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
  ],
@@ -2072,7 +2072,7 @@ class AaveV3(BaseSDK):
2072
2072
  </Info>
2073
2073
 
2074
2074
 
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.
2075
+ :param token: The symbol or address of the underlying asset to supply as collateral. You can borrow against it..
2076
2076
  :param amount: The amount of the asset to supply
2077
2077
  :param chain:
2078
2078
  :param sender: The address of the transaction sender.
@@ -2160,7 +2160,7 @@ class AaveV3(BaseSDK):
2160
2160
  async def aave_supply_async(
2161
2161
  self,
2162
2162
  *,
2163
- token: models.TokenEnum,
2163
+ token: str,
2164
2164
  amount: Union[
2165
2165
  models.AaveSupplyRequestAmount, models.AaveSupplyRequestAmountTypedDict
2166
2166
  ],
@@ -2192,7 +2192,7 @@ class AaveV3(BaseSDK):
2192
2192
  </Info>
2193
2193
 
2194
2194
 
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.
2195
+ :param token: The symbol or address of the underlying asset to supply as collateral. You can borrow against it..
2196
2196
  :param amount: The amount of the asset to supply
2197
2197
  :param chain:
2198
2198
  :param sender: The address of the transaction sender.
@@ -2280,7 +2280,7 @@ class AaveV3(BaseSDK):
2280
2280
  def aave_borrow(
2281
2281
  self,
2282
2282
  *,
2283
- token: models.TokenEnum,
2283
+ token: str,
2284
2284
  amount: Union[
2285
2285
  models.AaveBorrowRequestAmount, models.AaveBorrowRequestAmountTypedDict
2286
2286
  ],
@@ -2308,7 +2308,7 @@ class AaveV3(BaseSDK):
2308
2308
  </Info>
2309
2309
 
2310
2310
 
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.
2311
+ :param token: The symbol or address of the underlying asset to borrow..
2312
2312
  :param amount: The amount of the asset to borrow
2313
2313
  :param interest_rate_mode: On AAVE there are 2 different interest modes. A stable (but typically higher rate), or a variable rate.
2314
2314
  :param chain:
@@ -2398,7 +2398,7 @@ class AaveV3(BaseSDK):
2398
2398
  async def aave_borrow_async(
2399
2399
  self,
2400
2400
  *,
2401
- token: models.TokenEnum,
2401
+ token: str,
2402
2402
  amount: Union[
2403
2403
  models.AaveBorrowRequestAmount, models.AaveBorrowRequestAmountTypedDict
2404
2404
  ],
@@ -2426,7 +2426,7 @@ class AaveV3(BaseSDK):
2426
2426
  </Info>
2427
2427
 
2428
2428
 
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.
2429
+ :param token: The symbol or address of the underlying asset to borrow..
2430
2430
  :param amount: The amount of the asset to borrow
2431
2431
  :param interest_rate_mode: On AAVE there are 2 different interest modes. A stable (but typically higher rate), or a variable rate.
2432
2432
  :param chain:
@@ -2516,7 +2516,7 @@ class AaveV3(BaseSDK):
2516
2516
  def aave_repay(
2517
2517
  self,
2518
2518
  *,
2519
- token: models.TokenEnum,
2519
+ token: str,
2520
2520
  amount: Union[
2521
2521
  models.AaveRepayRequestAmount, models.AaveRepayRequestAmountTypedDict
2522
2522
  ],
@@ -2548,7 +2548,7 @@ class AaveV3(BaseSDK):
2548
2548
  </Info>
2549
2549
 
2550
2550
 
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.
2551
+ :param token: The symbol of the underlying asset to repay..
2552
2552
  :param amount: The amount of the asset to repay
2553
2553
  :param interest_rate_mode: On AAVE there are 2 different interest modes. A stable (but typically higher rate), or a variable rate.
2554
2554
  :param chain:
@@ -2638,7 +2638,7 @@ class AaveV3(BaseSDK):
2638
2638
  async def aave_repay_async(
2639
2639
  self,
2640
2640
  *,
2641
- token: models.TokenEnum,
2641
+ token: str,
2642
2642
  amount: Union[
2643
2643
  models.AaveRepayRequestAmount, models.AaveRepayRequestAmountTypedDict
2644
2644
  ],
@@ -2670,7 +2670,7 @@ class AaveV3(BaseSDK):
2670
2670
  </Info>
2671
2671
 
2672
2672
 
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.
2673
+ :param token: The symbol of the underlying asset to repay..
2674
2674
  :param amount: The amount of the asset to repay
2675
2675
  :param interest_rate_mode: On AAVE there are 2 different interest modes. A stable (but typically higher rate), or a variable rate.
2676
2676
  :param chain:
@@ -2760,7 +2760,7 @@ class AaveV3(BaseSDK):
2760
2760
  def aave_withdraw(
2761
2761
  self,
2762
2762
  *,
2763
- token: models.TokenEnum,
2763
+ token: str,
2764
2764
  amount: Union[
2765
2765
  models.AaveWithdrawRequestAmount, models.AaveWithdrawRequestAmountTypedDict
2766
2766
  ],
@@ -2792,7 +2792,7 @@ class AaveV3(BaseSDK):
2792
2792
  </Info>
2793
2793
 
2794
2794
 
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.
2795
+ :param token: The symbol of the underlying asset to withdraw..
2796
2796
  :param amount: The amount of the asset to withdraw
2797
2797
  :param recipient: The address of the recipient of the withdrawn funds.
2798
2798
  :param chain:
@@ -2880,7 +2880,7 @@ class AaveV3(BaseSDK):
2880
2880
  async def aave_withdraw_async(
2881
2881
  self,
2882
2882
  *,
2883
- token: models.TokenEnum,
2883
+ token: str,
2884
2884
  amount: Union[
2885
2885
  models.AaveWithdrawRequestAmount, models.AaveWithdrawRequestAmountTypedDict
2886
2886
  ],
@@ -2912,7 +2912,7 @@ class AaveV3(BaseSDK):
2912
2912
  </Info>
2913
2913
 
2914
2914
 
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.
2915
+ :param token: The symbol of the underlying asset to withdraw..
2916
2916
  :param amount: The amount of the asset to withdraw
2917
2917
  :param recipient: The address of the recipient of the withdrawn funds.
2918
2918
  :param chain:
@@ -213,8 +213,8 @@ class AerodromeSlipstream(BaseSDK):
213
213
  self,
214
214
  *,
215
215
  chain: models.V1AerodromeSlipstreamPoolPriceChain = models.V1AerodromeSlipstreamPoolPriceChain.BASE,
216
- token_in: models.V1AerodromeSlipstreamPoolPriceTokenInToken = models.V1AerodromeSlipstreamPoolPriceTokenInToken.USDC,
217
- token_out: models.V1AerodromeSlipstreamPoolPriceTokenOutToken = models.V1AerodromeSlipstreamPoolPriceTokenOutToken.WETH,
216
+ token_in: str = "USDC",
217
+ token_out: str = "WETH",
218
218
  tick_spacing: Optional[int] = 100,
219
219
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
220
220
  server_url: Optional[str] = None,
@@ -231,8 +231,8 @@ class AerodromeSlipstream(BaseSDK):
231
231
  the quote endpoint.
232
232
 
233
233
  :param chain:
234
- :param token_in: The symbol of a token in the pool.
235
- :param token_out: The symbol of a token in the pool.
234
+ :param token_in: The symbol or address of a token in the pool.
235
+ :param token_out: The symbol or address of a token in the pool.
236
236
  :param tick_spacing: The tick spacing of the pool
237
237
  :param retries: Override the default retry configuration for this method
238
238
  :param server_url: Override the default server URL for this method
@@ -316,8 +316,8 @@ class AerodromeSlipstream(BaseSDK):
316
316
  self,
317
317
  *,
318
318
  chain: models.V1AerodromeSlipstreamPoolPriceChain = models.V1AerodromeSlipstreamPoolPriceChain.BASE,
319
- token_in: models.V1AerodromeSlipstreamPoolPriceTokenInToken = models.V1AerodromeSlipstreamPoolPriceTokenInToken.USDC,
320
- token_out: models.V1AerodromeSlipstreamPoolPriceTokenOutToken = models.V1AerodromeSlipstreamPoolPriceTokenOutToken.WETH,
319
+ token_in: str = "USDC",
320
+ token_out: str = "WETH",
321
321
  tick_spacing: Optional[int] = 100,
322
322
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
323
323
  server_url: Optional[str] = None,
@@ -334,8 +334,8 @@ class AerodromeSlipstream(BaseSDK):
334
334
  the quote endpoint.
335
335
 
336
336
  :param chain:
337
- :param token_in: The symbol of a token in the pool.
338
- :param token_out: The symbol of a token in the pool.
337
+ :param token_in: The symbol or address of a token in the pool.
338
+ :param token_out: The symbol or address of a token in the pool.
339
339
  :param tick_spacing: The tick spacing of the pool
340
340
  :param retries: Override the default retry configuration for this method
341
341
  :param server_url: Override the default server URL for this method
@@ -418,8 +418,8 @@ class AerodromeSlipstream(BaseSDK):
418
418
  def aerodrome_slipstream_swap_sell_exactly(
419
419
  self,
420
420
  *,
421
- token_in: models.TokenEnum,
422
- token_out: models.TokenEnum,
421
+ token_in: str,
422
+ token_out: str,
423
423
  tick_spacing: int,
424
424
  amount_in: Union[
425
425
  models.AerodromeSlipstreamSellExactlyRequestAmountIn,
@@ -458,8 +458,8 @@ class AerodromeSlipstream(BaseSDK):
458
458
  </Info>
459
459
 
460
460
 
461
- :param token_in: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
462
- :param token_out: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
461
+ :param token_in: The symbol or address of the token to swap from.
462
+ :param token_out: The symbol or address of the token to swap to.
463
463
  :param tick_spacing: The tick spacing of the pool
464
464
  :param amount_in: The amount of the token to swap from
465
465
  :param chain:
@@ -554,8 +554,8 @@ class AerodromeSlipstream(BaseSDK):
554
554
  async def aerodrome_slipstream_swap_sell_exactly_async(
555
555
  self,
556
556
  *,
557
- token_in: models.TokenEnum,
558
- token_out: models.TokenEnum,
557
+ token_in: str,
558
+ token_out: str,
559
559
  tick_spacing: int,
560
560
  amount_in: Union[
561
561
  models.AerodromeSlipstreamSellExactlyRequestAmountIn,
@@ -594,8 +594,8 @@ class AerodromeSlipstream(BaseSDK):
594
594
  </Info>
595
595
 
596
596
 
597
- :param token_in: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
598
- :param token_out: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
597
+ :param token_in: The symbol or address of the token to swap from.
598
+ :param token_out: The symbol or address of the token to swap to.
599
599
  :param tick_spacing: The tick spacing of the pool
600
600
  :param amount_in: The amount of the token to swap from
601
601
  :param chain:
@@ -690,8 +690,8 @@ class AerodromeSlipstream(BaseSDK):
690
690
  def aerodrome_slipstream_swap_buy_exactly(
691
691
  self,
692
692
  *,
693
- token_in: models.TokenEnum,
694
- token_out: models.TokenEnum,
693
+ token_in: str,
694
+ token_out: str,
695
695
  tick_spacing: int,
696
696
  amount_out: Union[
697
697
  models.AerodromeSlipstreamBuyExactlyRequestAmountOut,
@@ -729,8 +729,8 @@ class AerodromeSlipstream(BaseSDK):
729
729
  </Info>
730
730
 
731
731
 
732
- :param token_in: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
733
- :param token_out: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
732
+ :param token_in: The symbol of the token to swap from.
733
+ :param token_out: The symbol of the token to swap to.
734
734
  :param tick_spacing: The tick spacing of the pool
735
735
  :param amount_out: The amount of the token to swap to
736
736
  :param amount_in_maximum: The maximum amount of the token to swap from
@@ -825,8 +825,8 @@ class AerodromeSlipstream(BaseSDK):
825
825
  async def aerodrome_slipstream_swap_buy_exactly_async(
826
826
  self,
827
827
  *,
828
- token_in: models.TokenEnum,
829
- token_out: models.TokenEnum,
828
+ token_in: str,
829
+ token_out: str,
830
830
  tick_spacing: int,
831
831
  amount_out: Union[
832
832
  models.AerodromeSlipstreamBuyExactlyRequestAmountOut,
@@ -864,8 +864,8 @@ class AerodromeSlipstream(BaseSDK):
864
864
  </Info>
865
865
 
866
866
 
867
- :param token_in: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
868
- :param token_out: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
867
+ :param token_in: The symbol of the token to swap from.
868
+ :param token_out: The symbol of the token to swap to.
869
869
  :param tick_spacing: The tick spacing of the pool
870
870
  :param amount_out: The amount of the token to swap to
871
871
  :param amount_in_maximum: The maximum amount of the token to swap from
@@ -960,8 +960,8 @@ class AerodromeSlipstream(BaseSDK):
960
960
  def aerodrome_slipstream_liquidity_provision_mint(
961
961
  self,
962
962
  *,
963
- token0: models.TokenEnum,
964
- token1: models.TokenEnum,
963
+ token0: str,
964
+ token1: str,
965
965
  tick_spacing: int,
966
966
  tick_lower: int,
967
967
  tick_upper: int,
@@ -1009,8 +1009,8 @@ class AerodromeSlipstream(BaseSDK):
1009
1009
  </Info>
1010
1010
 
1011
1011
 
1012
- :param token0: 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.
1013
- :param token1: 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.
1012
+ :param token0: The symbol or address of the first token in the pair.
1013
+ :param token1: The symbol or address of the second token in the pair.
1014
1014
  :param tick_spacing: The tick spacing of the pool
1015
1015
  :param tick_lower: The lower tick of the range to mint the position in
1016
1016
  :param tick_upper: The upper tick of the range to mint the position in
@@ -1115,8 +1115,8 @@ class AerodromeSlipstream(BaseSDK):
1115
1115
  async def aerodrome_slipstream_liquidity_provision_mint_async(
1116
1116
  self,
1117
1117
  *,
1118
- token0: models.TokenEnum,
1119
- token1: models.TokenEnum,
1118
+ token0: str,
1119
+ token1: str,
1120
1120
  tick_spacing: int,
1121
1121
  tick_lower: int,
1122
1122
  tick_upper: int,
@@ -1164,8 +1164,8 @@ class AerodromeSlipstream(BaseSDK):
1164
1164
  </Info>
1165
1165
 
1166
1166
 
1167
- :param token0: 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.
1168
- :param token1: 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.
1167
+ :param token0: The symbol or address of the first token in the pair.
1168
+ :param token1: The symbol or address of the second token in the pair.
1169
1169
  :param tick_spacing: The tick spacing of the pool
1170
1170
  :param tick_lower: The lower tick of the range to mint the position in
1171
1171
  :param tick_upper: The upper tick of the range to mint the position in