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
@@ -2,7 +2,6 @@
2
2
 
3
3
  from __future__ import annotations
4
4
  from .interestratemode import InterestRateMode
5
- from .token_enum import TokenEnum
6
5
  from compass_api_sdk.types import (
7
6
  BaseModel,
8
7
  Nullable,
@@ -29,12 +28,8 @@ r"""The amount of the asset to borrow"""
29
28
 
30
29
 
31
30
  class AaveBorrowParamsTypedDict(TypedDict):
32
- token: TokenEnum
33
- r"""A class representing the token.
34
-
35
- This class is used to represent the token in the system. Notice individual
36
- endpoints' documentation where per chain tokens are presented.
37
- """
31
+ token: str
32
+ r"""The symbol or address of the underlying asset to borrow.."""
38
33
  amount: AaveBorrowParamsAmountTypedDict
39
34
  r"""The amount of the asset to borrow"""
40
35
  interest_rate_mode: InterestRateMode
@@ -48,12 +43,8 @@ class AaveBorrowParamsTypedDict(TypedDict):
48
43
 
49
44
 
50
45
  class AaveBorrowParams(BaseModel):
51
- token: TokenEnum
52
- r"""A class representing the token.
53
-
54
- This class is used to represent the token in the system. Notice individual
55
- endpoints' documentation where per chain tokens are presented.
56
- """
46
+ token: str
47
+ r"""The symbol or address of the underlying asset to borrow.."""
57
48
 
58
49
  amount: AaveBorrowParamsAmount
59
50
  r"""The amount of the asset to borrow"""
@@ -2,7 +2,6 @@
2
2
 
3
3
  from __future__ import annotations
4
4
  from .interestratemode import InterestRateMode
5
- from .token_enum import TokenEnum
6
5
  from compass_api_sdk.types import (
7
6
  BaseModel,
8
7
  Nullable,
@@ -36,12 +35,8 @@ class AaveBorrowRequestChain(str, Enum):
36
35
 
37
36
 
38
37
  class AaveBorrowRequestTypedDict(TypedDict):
39
- token: TokenEnum
40
- r"""A class representing the token.
41
-
42
- This class is used to represent the token in the system. Notice individual
43
- endpoints' documentation where per chain tokens are presented.
44
- """
38
+ token: str
39
+ r"""The symbol or address of the underlying asset to borrow.."""
45
40
  amount: AaveBorrowRequestAmountTypedDict
46
41
  r"""The amount of the asset to borrow"""
47
42
  interest_rate_mode: InterestRateMode
@@ -58,12 +53,8 @@ class AaveBorrowRequestTypedDict(TypedDict):
58
53
 
59
54
 
60
55
  class AaveBorrowRequest(BaseModel):
61
- token: TokenEnum
62
- r"""A class representing the token.
63
-
64
- This class is used to represent the token in the system. Notice individual
65
- endpoints' documentation where per chain tokens are presented.
66
- """
56
+ token: str
57
+ r"""The symbol or address of the underlying asset to borrow.."""
67
58
 
68
59
  amount: AaveBorrowRequestAmount
69
60
  r"""The amount of the asset to borrow"""
@@ -2,7 +2,6 @@
2
2
 
3
3
  from __future__ import annotations
4
4
  from .signedauthorization import SignedAuthorization, SignedAuthorizationTypedDict
5
- from .token_enum import TokenEnum
6
5
  from compass_api_sdk.types import (
7
6
  BaseModel,
8
7
  Nullable,
@@ -64,18 +63,10 @@ class AaveLoopRequestTypedDict(TypedDict):
64
63
  chain: AaveLoopRequestChain
65
64
  sender: str
66
65
  r"""The address of the transaction sender."""
67
- collateral_token: TokenEnum
68
- r"""A class representing the token.
69
-
70
- This class is used to represent the token in the system. Notice individual
71
- endpoints' documentation where per chain tokens are presented.
72
- """
73
- borrow_token: TokenEnum
74
- r"""A class representing the token.
75
-
76
- This class is used to represent the token in the system. Notice individual
77
- endpoints' documentation where per chain tokens are presented.
78
- """
66
+ collateral_token: str
67
+ r"""Symbol or address of token to supply to Aave.."""
68
+ borrow_token: str
69
+ r"""Symbol or address of token to borrow from Aave.."""
79
70
  initial_collateral_amount: InitialCollateralAmountTypedDict
80
71
  r"""Amount of collateral token to supply to Aave"""
81
72
  multiplier: MultiplierTypedDict
@@ -98,19 +89,11 @@ class AaveLoopRequest(BaseModel):
98
89
  sender: str
99
90
  r"""The address of the transaction sender."""
100
91
 
101
- collateral_token: TokenEnum
102
- r"""A class representing the token.
92
+ collateral_token: str
93
+ r"""Symbol or address of token to supply to Aave.."""
103
94
 
104
- This class is used to represent the token in the system. Notice individual
105
- endpoints' documentation where per chain tokens are presented.
106
- """
107
-
108
- borrow_token: TokenEnum
109
- r"""A class representing the token.
110
-
111
- This class is used to represent the token in the system. Notice individual
112
- endpoints' documentation where per chain tokens are presented.
113
- """
95
+ borrow_token: str
96
+ r"""Symbol or address of token to borrow from Aave.."""
114
97
 
115
98
  initial_collateral_amount: InitialCollateralAmount
116
99
  r"""Amount of collateral token to supply to Aave"""
@@ -2,7 +2,6 @@
2
2
 
3
3
  from __future__ import annotations
4
4
  from .interestratemode import InterestRateMode
5
- from .token_enum import TokenEnum
6
5
  from compass_api_sdk.types import (
7
6
  BaseModel,
8
7
  Nullable,
@@ -29,12 +28,8 @@ r"""The amount of the asset to repay"""
29
28
 
30
29
 
31
30
  class AaveRepayParamsTypedDict(TypedDict):
32
- token: TokenEnum
33
- r"""A class representing the token.
34
-
35
- This class is used to represent the token in the system. Notice individual
36
- endpoints' documentation where per chain tokens are presented.
37
- """
31
+ token: str
32
+ r"""The symbol of the underlying asset to repay.."""
38
33
  amount: AaveRepayParamsAmountTypedDict
39
34
  r"""The amount of the asset to repay"""
40
35
  interest_rate_mode: InterestRateMode
@@ -48,12 +43,8 @@ class AaveRepayParamsTypedDict(TypedDict):
48
43
 
49
44
 
50
45
  class AaveRepayParams(BaseModel):
51
- token: TokenEnum
52
- r"""A class representing the token.
53
-
54
- This class is used to represent the token in the system. Notice individual
55
- endpoints' documentation where per chain tokens are presented.
56
- """
46
+ token: str
47
+ r"""The symbol of the underlying asset to repay.."""
57
48
 
58
49
  amount: AaveRepayParamsAmount
59
50
  r"""The amount of the asset to repay"""
@@ -2,7 +2,6 @@
2
2
 
3
3
  from __future__ import annotations
4
4
  from .interestratemode import InterestRateMode
5
- from .token_enum import TokenEnum
6
5
  from compass_api_sdk.types import (
7
6
  BaseModel,
8
7
  Nullable,
@@ -36,12 +35,8 @@ class AaveRepayRequestChain(str, Enum):
36
35
 
37
36
 
38
37
  class AaveRepayRequestTypedDict(TypedDict):
39
- token: TokenEnum
40
- r"""A class representing the token.
41
-
42
- This class is used to represent the token in the system. Notice individual
43
- endpoints' documentation where per chain tokens are presented.
44
- """
38
+ token: str
39
+ r"""The symbol of the underlying asset to repay.."""
45
40
  amount: AaveRepayRequestAmountTypedDict
46
41
  r"""The amount of the asset to repay"""
47
42
  interest_rate_mode: InterestRateMode
@@ -58,12 +53,8 @@ class AaveRepayRequestTypedDict(TypedDict):
58
53
 
59
54
 
60
55
  class AaveRepayRequest(BaseModel):
61
- token: TokenEnum
62
- r"""A class representing the token.
63
-
64
- This class is used to represent the token in the system. Notice individual
65
- endpoints' documentation where per chain tokens are presented.
66
- """
56
+ token: str
57
+ r"""The symbol of the underlying asset to repay.."""
67
58
 
68
59
  amount: AaveRepayRequestAmount
69
60
  r"""The amount of the asset to repay"""
@@ -1,7 +1,6 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from .token_enum import TokenEnum
5
4
  from compass_api_sdk.types import (
6
5
  BaseModel,
7
6
  Nullable,
@@ -28,12 +27,8 @@ r"""The amount of the asset to supply"""
28
27
 
29
28
 
30
29
  class AaveSupplyParamsTypedDict(TypedDict):
31
- token: TokenEnum
32
- r"""A class representing the token.
33
-
34
- This class is used to represent the token in the system. Notice individual
35
- endpoints' documentation where per chain tokens are presented.
36
- """
30
+ token: str
31
+ r"""The symbol or address of the underlying asset to supply as collateral. You can borrow against it.."""
37
32
  amount: AaveSupplyParamsAmountTypedDict
38
33
  r"""The amount of the asset to supply"""
39
34
  action_type: Literal["AAVE_SUPPLY"]
@@ -42,12 +37,8 @@ class AaveSupplyParamsTypedDict(TypedDict):
42
37
 
43
38
 
44
39
  class AaveSupplyParams(BaseModel):
45
- token: TokenEnum
46
- r"""A class representing the token.
47
-
48
- This class is used to represent the token in the system. Notice individual
49
- endpoints' documentation where per chain tokens are presented.
50
- """
40
+ token: str
41
+ r"""The symbol or address of the underlying asset to supply as collateral. You can borrow against it.."""
51
42
 
52
43
  amount: AaveSupplyParamsAmount
53
44
  r"""The amount of the asset to supply"""
@@ -1,7 +1,6 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from .token_enum import TokenEnum
5
4
  from compass_api_sdk.types import (
6
5
  BaseModel,
7
6
  Nullable,
@@ -35,12 +34,8 @@ class AaveSupplyRequestChain(str, Enum):
35
34
 
36
35
 
37
36
  class AaveSupplyRequestTypedDict(TypedDict):
38
- token: TokenEnum
39
- r"""A class representing the token.
40
-
41
- This class is used to represent the token in the system. Notice individual
42
- endpoints' documentation where per chain tokens are presented.
43
- """
37
+ token: str
38
+ r"""The symbol or address of the underlying asset to supply as collateral. You can borrow against it.."""
44
39
  amount: AaveSupplyRequestAmountTypedDict
45
40
  r"""The amount of the asset to supply"""
46
41
  chain: AaveSupplyRequestChain
@@ -52,12 +47,8 @@ class AaveSupplyRequestTypedDict(TypedDict):
52
47
 
53
48
 
54
49
  class AaveSupplyRequest(BaseModel):
55
- token: TokenEnum
56
- r"""A class representing the token.
57
-
58
- This class is used to represent the token in the system. Notice individual
59
- endpoints' documentation where per chain tokens are presented.
60
- """
50
+ token: str
51
+ r"""The symbol or address of the underlying asset to supply as collateral. You can borrow against it.."""
61
52
 
62
53
  amount: AaveSupplyRequestAmount
63
54
  r"""The amount of the asset to supply"""
@@ -1,7 +1,6 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from .token_enum import TokenEnum
5
4
  from compass_api_sdk.types import BaseModel
6
5
  from compass_api_sdk.utils import validate_const
7
6
  import pydantic
@@ -21,12 +20,8 @@ r"""The amount of the asset to withdraw"""
21
20
 
22
21
 
23
22
  class AaveWithdrawParamsTypedDict(TypedDict):
24
- token: TokenEnum
25
- r"""A class representing the token.
26
-
27
- This class is used to represent the token in the system. Notice individual
28
- endpoints' documentation where per chain tokens are presented.
29
- """
23
+ token: str
24
+ r"""The symbol of the underlying asset to withdraw.."""
30
25
  amount: AaveWithdrawParamsAmountTypedDict
31
26
  r"""The amount of the asset to withdraw"""
32
27
  recipient: str
@@ -35,12 +30,8 @@ class AaveWithdrawParamsTypedDict(TypedDict):
35
30
 
36
31
 
37
32
  class AaveWithdrawParams(BaseModel):
38
- token: TokenEnum
39
- r"""A class representing the token.
40
-
41
- This class is used to represent the token in the system. Notice individual
42
- endpoints' documentation where per chain tokens are presented.
43
- """
33
+ token: str
34
+ r"""The symbol of the underlying asset to withdraw.."""
44
35
 
45
36
  amount: AaveWithdrawParamsAmount
46
37
  r"""The amount of the asset to withdraw"""
@@ -1,7 +1,6 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from .token_enum import TokenEnum
5
4
  from compass_api_sdk.types import BaseModel
6
5
  from compass_api_sdk.utils import validate_const
7
6
  from enum import Enum
@@ -30,12 +29,8 @@ class AaveWithdrawRequestChain(str, Enum):
30
29
 
31
30
 
32
31
  class AaveWithdrawRequestTypedDict(TypedDict):
33
- token: TokenEnum
34
- r"""A class representing the token.
35
-
36
- This class is used to represent the token in the system. Notice individual
37
- endpoints' documentation where per chain tokens are presented.
38
- """
32
+ token: str
33
+ r"""The symbol of the underlying asset to withdraw.."""
39
34
  amount: AaveWithdrawRequestAmountTypedDict
40
35
  r"""The amount of the asset to withdraw"""
41
36
  recipient: str
@@ -47,12 +42,8 @@ class AaveWithdrawRequestTypedDict(TypedDict):
47
42
 
48
43
 
49
44
  class AaveWithdrawRequest(BaseModel):
50
- token: TokenEnum
51
- r"""A class representing the token.
52
-
53
- This class is used to represent the token in the system. Notice individual
54
- endpoints' documentation where per chain tokens are presented.
55
- """
45
+ token: str
46
+ r"""The symbol of the underlying asset to withdraw.."""
56
47
 
57
48
  amount: AaveWithdrawRequestAmount
58
49
  r"""The amount of the asset to withdraw"""
@@ -1,7 +1,6 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from .token_enum import TokenEnum
5
4
  from compass_api_sdk.types import BaseModel
6
5
  from typing_extensions import TypedDict
7
6
 
@@ -9,18 +8,8 @@ from typing_extensions import TypedDict
9
8
  class AerodromePositionTypedDict(TypedDict):
10
9
  nonce: int
11
10
  operator: str
12
- token0: TokenEnum
13
- r"""A class representing the token.
14
-
15
- This class is used to represent the token in the system. Notice individual
16
- endpoints' documentation where per chain tokens are presented.
17
- """
18
- token1: TokenEnum
19
- r"""A class representing the token.
20
-
21
- This class is used to represent the token in the system. Notice individual
22
- endpoints' documentation where per chain tokens are presented.
23
- """
11
+ token0: str
12
+ token1: str
24
13
  tick_spacing: int
25
14
  tick_lower: int
26
15
  tick_upper: int
@@ -37,19 +26,9 @@ class AerodromePosition(BaseModel):
37
26
 
38
27
  operator: str
39
28
 
40
- token0: TokenEnum
41
- r"""A class representing the token.
29
+ token0: str
42
30
 
43
- This class is used to represent the token in the system. Notice individual
44
- endpoints' documentation where per chain tokens are presented.
45
- """
46
-
47
- token1: TokenEnum
48
- r"""A class representing the token.
49
-
50
- This class is used to represent the token in the system. Notice individual
51
- endpoints' documentation where per chain tokens are presented.
52
- """
31
+ token1: str
53
32
 
54
33
  tick_spacing: int
55
34
 
@@ -1,7 +1,6 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from .token_enum import TokenEnum
5
4
  from compass_api_sdk.types import BaseModel
6
5
  from compass_api_sdk.utils import validate_const
7
6
  import pydantic
@@ -37,18 +36,10 @@ r"""The maximum amount of the token to swap from"""
37
36
  class AerodromeSlipstreamBuyExactlyParamsTypedDict(TypedDict):
38
37
  r"""Parameters model for buying exactly an amount of tokens."""
39
38
 
40
- token_in: TokenEnum
41
- r"""A class representing the token.
42
-
43
- This class is used to represent the token in the system. Notice individual
44
- endpoints' documentation where per chain tokens are presented.
45
- """
46
- token_out: TokenEnum
47
- r"""A class representing the token.
48
-
49
- This class is used to represent the token in the system. Notice individual
50
- endpoints' documentation where per chain tokens are presented.
51
- """
39
+ token_in: str
40
+ r"""The symbol of the token to swap from."""
41
+ token_out: str
42
+ r"""The symbol of the token to swap to."""
52
43
  tick_spacing: int
53
44
  r"""The tick spacing of the pool"""
54
45
  amount_out: AerodromeSlipstreamBuyExactlyParamsAmountOutTypedDict
@@ -61,19 +52,11 @@ class AerodromeSlipstreamBuyExactlyParamsTypedDict(TypedDict):
61
52
  class AerodromeSlipstreamBuyExactlyParams(BaseModel):
62
53
  r"""Parameters model for buying exactly an amount of tokens."""
63
54
 
64
- token_in: TokenEnum
65
- r"""A class representing the token.
66
-
67
- This class is used to represent the token in the system. Notice individual
68
- endpoints' documentation where per chain tokens are presented.
69
- """
70
-
71
- token_out: TokenEnum
72
- r"""A class representing the token.
55
+ token_in: str
56
+ r"""The symbol of the token to swap from."""
73
57
 
74
- This class is used to represent the token in the system. Notice individual
75
- endpoints' documentation where per chain tokens are presented.
76
- """
58
+ token_out: str
59
+ r"""The symbol of the token to swap to."""
77
60
 
78
61
  tick_spacing: int
79
62
  r"""The tick spacing of the pool"""
@@ -1,7 +1,6 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from .token_enum import TokenEnum
5
4
  from compass_api_sdk.types import BaseModel
6
5
  from compass_api_sdk.utils import validate_const
7
6
  from enum import Enum
@@ -42,18 +41,10 @@ class AerodromeSlipstreamBuyExactlyRequestChain(str, Enum):
42
41
  class AerodromeSlipstreamBuyExactlyRequestTypedDict(TypedDict):
43
42
  r"""Request model for buying exactly an amount of tokens."""
44
43
 
45
- token_in: TokenEnum
46
- r"""A class representing the token.
47
-
48
- This class is used to represent the token in the system. Notice individual
49
- endpoints' documentation where per chain tokens are presented.
50
- """
51
- token_out: TokenEnum
52
- r"""A class representing the token.
53
-
54
- This class is used to represent the token in the system. Notice individual
55
- endpoints' documentation where per chain tokens are presented.
56
- """
44
+ token_in: str
45
+ r"""The symbol of the token to swap from."""
46
+ token_out: str
47
+ r"""The symbol of the token to swap to."""
57
48
  tick_spacing: int
58
49
  r"""The tick spacing of the pool"""
59
50
  amount_out: AerodromeSlipstreamBuyExactlyRequestAmountOutTypedDict
@@ -69,19 +60,11 @@ class AerodromeSlipstreamBuyExactlyRequestTypedDict(TypedDict):
69
60
  class AerodromeSlipstreamBuyExactlyRequest(BaseModel):
70
61
  r"""Request model for buying exactly an amount of tokens."""
71
62
 
72
- token_in: TokenEnum
73
- r"""A class representing the token.
74
-
75
- This class is used to represent the token in the system. Notice individual
76
- endpoints' documentation where per chain tokens are presented.
77
- """
78
-
79
- token_out: TokenEnum
80
- r"""A class representing the token.
63
+ token_in: str
64
+ r"""The symbol of the token to swap from."""
81
65
 
82
- This class is used to represent the token in the system. Notice individual
83
- endpoints' documentation where per chain tokens are presented.
84
- """
66
+ token_out: str
67
+ r"""The symbol of the token to swap to."""
85
68
 
86
69
  tick_spacing: int
87
70
  r"""The tick spacing of the pool"""
@@ -1,7 +1,6 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from .token_enum import TokenEnum
5
4
  from compass_api_sdk.types import (
6
5
  BaseModel,
7
6
  Nullable,
@@ -72,18 +71,10 @@ r"""The minimum amount of the second token to deposit"""
72
71
  class AerodromeSlipstreamMintLiquidityProvisionParamsTypedDict(TypedDict):
73
72
  r"""Parameters model for minting a new liquidity position."""
74
73
 
75
- token0: TokenEnum
76
- r"""A class representing the token.
77
-
78
- This class is used to represent the token in the system. Notice individual
79
- endpoints' documentation where per chain tokens are presented.
80
- """
81
- token1: TokenEnum
82
- r"""A class representing the token.
83
-
84
- This class is used to represent the token in the system. Notice individual
85
- endpoints' documentation where per chain tokens are presented.
86
- """
74
+ token0: str
75
+ r"""The symbol or address of the first token in the pair."""
76
+ token1: str
77
+ r"""The symbol or address of the second token in the pair."""
87
78
  tick_spacing: int
88
79
  r"""The tick spacing of the pool"""
89
80
  tick_lower: int
@@ -110,19 +101,11 @@ class AerodromeSlipstreamMintLiquidityProvisionParamsTypedDict(TypedDict):
110
101
  class AerodromeSlipstreamMintLiquidityProvisionParams(BaseModel):
111
102
  r"""Parameters model for minting a new liquidity position."""
112
103
 
113
- token0: TokenEnum
114
- r"""A class representing the token.
115
-
116
- This class is used to represent the token in the system. Notice individual
117
- endpoints' documentation where per chain tokens are presented.
118
- """
119
-
120
- token1: TokenEnum
121
- r"""A class representing the token.
104
+ token0: str
105
+ r"""The symbol or address of the first token in the pair."""
122
106
 
123
- This class is used to represent the token in the system. Notice individual
124
- endpoints' documentation where per chain tokens are presented.
125
- """
107
+ token1: str
108
+ r"""The symbol or address of the second token in the pair."""
126
109
 
127
110
  tick_spacing: int
128
111
  r"""The tick spacing of the pool"""
@@ -1,7 +1,6 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from .token_enum import TokenEnum
5
4
  from compass_api_sdk.types import (
6
5
  BaseModel,
7
6
  Nullable,
@@ -77,18 +76,10 @@ class AerodromeSlipstreamMintLiquidityProvisionRequestChain(str, Enum):
77
76
  class AerodromeSlipstreamMintLiquidityProvisionRequestTypedDict(TypedDict):
78
77
  r"""Request model for minting a new liquidity position."""
79
78
 
80
- token0: TokenEnum
81
- r"""A class representing the token.
82
-
83
- This class is used to represent the token in the system. Notice individual
84
- endpoints' documentation where per chain tokens are presented.
85
- """
86
- token1: TokenEnum
87
- r"""A class representing the token.
88
-
89
- This class is used to represent the token in the system. Notice individual
90
- endpoints' documentation where per chain tokens are presented.
91
- """
79
+ token0: str
80
+ r"""The symbol or address of the first token in the pair."""
81
+ token1: str
82
+ r"""The symbol or address of the second token in the pair."""
92
83
  tick_spacing: int
93
84
  r"""The tick spacing of the pool"""
94
85
  tick_lower: int
@@ -118,19 +109,11 @@ class AerodromeSlipstreamMintLiquidityProvisionRequestTypedDict(TypedDict):
118
109
  class AerodromeSlipstreamMintLiquidityProvisionRequest(BaseModel):
119
110
  r"""Request model for minting a new liquidity position."""
120
111
 
121
- token0: TokenEnum
122
- r"""A class representing the token.
123
-
124
- This class is used to represent the token in the system. Notice individual
125
- endpoints' documentation where per chain tokens are presented.
126
- """
127
-
128
- token1: TokenEnum
129
- r"""A class representing the token.
112
+ token0: str
113
+ r"""The symbol or address of the first token in the pair."""
130
114
 
131
- This class is used to represent the token in the system. Notice individual
132
- endpoints' documentation where per chain tokens are presented.
133
- """
115
+ token1: str
116
+ r"""The symbol or address of the second token in the pair."""
134
117
 
135
118
  tick_spacing: int
136
119
  r"""The tick spacing of the pool"""