compass_api_sdk 1.0.0__py3-none-any.whl → 1.0.2__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 (57) hide show
  1. compass_api_sdk/_version.py +3 -3
  2. compass_api_sdk/aave_v3.py +8 -0
  3. compass_api_sdk/ethena.py +864 -0
  4. compass_api_sdk/models/__init__.py +140 -28
  5. compass_api_sdk/models/bundlertransactionresponse.py +17 -0
  6. compass_api_sdk/models/compass_api_backend_models_vaults_read_response_vault_userposition.py +8 -4
  7. compass_api_sdk/models/cooldownposition.py +35 -0
  8. compass_api_sdk/models/ethenadepositparams.py +82 -0
  9. compass_api_sdk/models/ethenadepositrequest.py +95 -0
  10. compass_api_sdk/models/ethenagetvaultresponse.py +109 -0
  11. compass_api_sdk/models/ethenarequesttowithdrawparams.py +28 -0
  12. compass_api_sdk/models/ethenarequesttowithdrawrequest.py +41 -0
  13. compass_api_sdk/models/ethenarequesttowithdrawtransactionresponse.py +37 -0
  14. compass_api_sdk/models/ethenaunstakeparams.py +65 -0
  15. compass_api_sdk/models/ethenaunstakerequest.py +78 -0
  16. compass_api_sdk/models/odostransactionresponse.py +37 -0
  17. compass_api_sdk/models/pendletxresponse.py +2 -11
  18. compass_api_sdk/models/setallowanceparams.py +1 -0
  19. compass_api_sdk/models/setallowancerequest.py +1 -0
  20. compass_api_sdk/models/token_enum.py +31 -25
  21. compass_api_sdk/models/tokentransferparams.py +21 -21
  22. compass_api_sdk/models/tokentransferrequest.py +21 -21
  23. compass_api_sdk/models/transactionresponse.py +2 -11
  24. compass_api_sdk/models/{compass_api_backend_models_vaults_read_response_vault_asset.py → underlyingtoken.py} +2 -2
  25. compass_api_sdk/models/uniswapbuyexactlytransactionresponse.py +2 -10
  26. compass_api_sdk/models/uniswapsellexactlytransactionresponse.py +2 -10
  27. compass_api_sdk/models/unsignedmulticalltransaction.py +12 -12
  28. compass_api_sdk/models/unsignedtransaction.py +12 -12
  29. compass_api_sdk/models/useroperation.py +29 -23
  30. compass_api_sdk/models/useroperationresponse.py +2 -2
  31. compass_api_sdk/models/v1_aave_avg_rateop.py +31 -25
  32. compass_api_sdk/models/v1_aave_liquidity_changeop.py +31 -25
  33. compass_api_sdk/models/v1_aave_rateop.py +31 -25
  34. compass_api_sdk/models/v1_aave_reserve_overviewop.py +31 -25
  35. compass_api_sdk/models/v1_aave_std_rateop.py +31 -25
  36. compass_api_sdk/models/v1_aave_token_priceop.py +31 -25
  37. compass_api_sdk/models/v1_aave_user_position_per_tokenop.py +31 -25
  38. compass_api_sdk/models/v1_aerodrome_slipstream_pool_priceop.py +62 -50
  39. compass_api_sdk/models/v1_ethena_vaultop.py +75 -0
  40. compass_api_sdk/models/v1_generic_allowanceop.py +1 -0
  41. compass_api_sdk/models/v1_sky_positionop.py +2 -2
  42. compass_api_sdk/models/v1_token_addressop.py +31 -25
  43. compass_api_sdk/models/v1_token_priceop.py +4 -16
  44. compass_api_sdk/models/v1_transaction_bundler_aave_loopop.py +6 -3
  45. compass_api_sdk/models/v1_uniswap_pool_priceop.py +62 -50
  46. compass_api_sdk/models/v1_uniswap_quote_buy_exactlyop.py +62 -50
  47. compass_api_sdk/models/v1_uniswap_quote_sell_exactlyop.py +62 -50
  48. compass_api_sdk/models/vaultgetvaultresponse.py +3 -6
  49. compass_api_sdk/sdk.py +3 -0
  50. compass_api_sdk/sky.py +2 -2
  51. compass_api_sdk/swap.py +4 -4
  52. compass_api_sdk/token_sdk.py +20 -20
  53. compass_api_sdk/transaction_bundler.py +4 -4
  54. {compass_api_sdk-1.0.0.dist-info → compass_api_sdk-1.0.2.dist-info}/METADATA +150 -135
  55. {compass_api_sdk-1.0.0.dist-info → compass_api_sdk-1.0.2.dist-info}/RECORD +56 -44
  56. compass_api_sdk/models/tokentransfererc20params.py +0 -63
  57. {compass_api_sdk-1.0.0.dist-info → compass_api_sdk-1.0.2.dist-info}/WHEEL +0 -0
@@ -11,28 +11,28 @@ from typing import Literal, Optional, Union
11
11
  from typing_extensions import Annotated, TypeAliasType, TypedDict
12
12
 
13
13
 
14
- TokenTransferRequestAmountTypedDict = TypeAliasType(
15
- "TokenTransferRequestAmountTypedDict", Union[float, str]
14
+ TokenTransferRequestTokenTypedDict = TypeAliasType(
15
+ "TokenTransferRequestTokenTypedDict", Union[TokenEnum, str]
16
16
  )
17
- r"""Amount of token to transfer"""
17
+ r"""The symbol or address of the token to transfer."""
18
18
 
19
19
 
20
- TokenTransferRequestAmount = TypeAliasType(
21
- "TokenTransferRequestAmount", Union[float, str]
20
+ TokenTransferRequestToken = TypeAliasType(
21
+ "TokenTransferRequestToken", Union[TokenEnum, str]
22
22
  )
23
- r"""Amount of token to transfer"""
23
+ r"""The symbol or address of the token to transfer."""
24
24
 
25
25
 
26
- TokenTransferRequestTokenTypedDict = TypeAliasType(
27
- "TokenTransferRequestTokenTypedDict", Union[TokenEnum, str]
26
+ TokenTransferRequestAmountTypedDict = TypeAliasType(
27
+ "TokenTransferRequestAmountTypedDict", Union[float, str]
28
28
  )
29
- r"""The symbol of the token to transfer.."""
29
+ r"""Amount of token to transfer"""
30
30
 
31
31
 
32
- TokenTransferRequestToken = TypeAliasType(
33
- "TokenTransferRequestToken", Union[TokenEnum, str]
32
+ TokenTransferRequestAmount = TypeAliasType(
33
+ "TokenTransferRequestAmount", Union[float, str]
34
34
  )
35
- r"""The symbol of the token to transfer.."""
35
+ r"""Amount of token to transfer"""
36
36
 
37
37
 
38
38
  class TokenTransferRequestChain(str, Enum):
@@ -44,12 +44,12 @@ class TokenTransferRequestChain(str, Enum):
44
44
  class TokenTransferRequestTypedDict(TypedDict):
45
45
  r"""Request model for transferring ETH or ERC20 tokens."""
46
46
 
47
- amount: TokenTransferRequestAmountTypedDict
48
- r"""Amount of token to transfer"""
49
- token: TokenTransferRequestTokenTypedDict
50
- r"""The symbol of the token to transfer.."""
51
47
  to: str
52
48
  r"""The recipient of the tokens."""
49
+ token: TokenTransferRequestTokenTypedDict
50
+ r"""The symbol or address of the token to transfer."""
51
+ amount: TokenTransferRequestAmountTypedDict
52
+ r"""Amount of token to transfer"""
53
53
  chain: TokenTransferRequestChain
54
54
  sender: str
55
55
  r"""The address of the transaction sender."""
@@ -59,14 +59,14 @@ class TokenTransferRequestTypedDict(TypedDict):
59
59
  class TokenTransferRequest(BaseModel):
60
60
  r"""Request model for transferring ETH or ERC20 tokens."""
61
61
 
62
- amount: TokenTransferRequestAmount
63
- r"""Amount of token to transfer"""
62
+ to: str
63
+ r"""The recipient of the tokens."""
64
64
 
65
65
  token: TokenTransferRequestToken
66
- r"""The symbol of the token to transfer.."""
66
+ r"""The symbol or address of the token to transfer."""
67
67
 
68
- to: str
69
- r"""The recipient of the tokens."""
68
+ amount: TokenTransferRequestAmount
69
+ r"""Amount of token to transfer"""
70
70
 
71
71
  chain: TokenTransferRequestChain
72
72
 
@@ -1,10 +1,6 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from .unsignedmulticalltransaction import (
5
- UnsignedMulticallTransaction,
6
- UnsignedMulticallTransactionTypedDict,
7
- )
8
4
  from .unsignedtransaction import UnsignedTransaction, UnsignedTransactionTypedDict
9
5
  from .useroperationresponse import UserOperationResponse, UserOperationResponseTypedDict
10
6
  from compass_api_sdk.types import BaseModel
@@ -14,18 +10,13 @@ from typing_extensions import TypeAliasType, TypedDict
14
10
 
15
11
  TransactionResponseTransactionTypedDict = TypeAliasType(
16
12
  "TransactionResponseTransactionTypedDict",
17
- Union[
18
- UserOperationResponseTypedDict,
19
- UnsignedTransactionTypedDict,
20
- UnsignedMulticallTransactionTypedDict,
21
- ],
13
+ Union[UserOperationResponseTypedDict, UnsignedTransactionTypedDict],
22
14
  )
23
15
  r"""The unsigned transaction data. User must sign and broadcast to network."""
24
16
 
25
17
 
26
18
  TransactionResponseTransaction = TypeAliasType(
27
- "TransactionResponseTransaction",
28
- Union[UserOperationResponse, UnsignedTransaction, UnsignedMulticallTransaction],
19
+ "TransactionResponseTransaction", Union[UserOperationResponse, UnsignedTransaction]
29
20
  )
30
21
  r"""The unsigned transaction data. User must sign and broadcast to network."""
31
22
 
@@ -5,14 +5,14 @@ from compass_api_sdk.types import BaseModel
5
5
  from typing_extensions import TypedDict
6
6
 
7
7
 
8
- class CompassAPIBackendModelsVaultsReadResponseVaultAssetTypedDict(TypedDict):
8
+ class UnderlyingTokenTypedDict(TypedDict):
9
9
  address: str
10
10
  name: str
11
11
  symbol: str
12
12
  decimals: int
13
13
 
14
14
 
15
- class CompassAPIBackendModelsVaultsReadResponseVaultAsset(BaseModel):
15
+ class UnderlyingToken(BaseModel):
16
16
  address: str
17
17
 
18
18
  name: str
@@ -1,10 +1,6 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from .unsignedmulticalltransaction import (
5
- UnsignedMulticallTransaction,
6
- UnsignedMulticallTransactionTypedDict,
7
- )
8
4
  from .unsignedtransaction import UnsignedTransaction, UnsignedTransactionTypedDict
9
5
  from .useroperationresponse import UserOperationResponse, UserOperationResponseTypedDict
10
6
  from compass_api_sdk.types import BaseModel
@@ -14,18 +10,14 @@ from typing_extensions import TypeAliasType, TypedDict
14
10
 
15
11
  UniswapBuyExactlyTransactionResponseTransactionTypedDict = TypeAliasType(
16
12
  "UniswapBuyExactlyTransactionResponseTransactionTypedDict",
17
- Union[
18
- UserOperationResponseTypedDict,
19
- UnsignedTransactionTypedDict,
20
- UnsignedMulticallTransactionTypedDict,
21
- ],
13
+ Union[UserOperationResponseTypedDict, UnsignedTransactionTypedDict],
22
14
  )
23
15
  r"""The unsigned transaction data. User must sign and broadcast to network."""
24
16
 
25
17
 
26
18
  UniswapBuyExactlyTransactionResponseTransaction = TypeAliasType(
27
19
  "UniswapBuyExactlyTransactionResponseTransaction",
28
- Union[UserOperationResponse, UnsignedTransaction, UnsignedMulticallTransaction],
20
+ Union[UserOperationResponse, UnsignedTransaction],
29
21
  )
30
22
  r"""The unsigned transaction data. User must sign and broadcast to network."""
31
23
 
@@ -1,10 +1,6 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from .unsignedmulticalltransaction import (
5
- UnsignedMulticallTransaction,
6
- UnsignedMulticallTransactionTypedDict,
7
- )
8
4
  from .unsignedtransaction import UnsignedTransaction, UnsignedTransactionTypedDict
9
5
  from .useroperationresponse import UserOperationResponse, UserOperationResponseTypedDict
10
6
  from compass_api_sdk.types import BaseModel
@@ -14,18 +10,14 @@ from typing_extensions import TypeAliasType, TypedDict
14
10
 
15
11
  UniswapSellExactlyTransactionResponseTransactionTypedDict = TypeAliasType(
16
12
  "UniswapSellExactlyTransactionResponseTransactionTypedDict",
17
- Union[
18
- UserOperationResponseTypedDict,
19
- UnsignedTransactionTypedDict,
20
- UnsignedMulticallTransactionTypedDict,
21
- ],
13
+ Union[UserOperationResponseTypedDict, UnsignedTransactionTypedDict],
22
14
  )
23
15
  r"""The unsigned transaction data. User must sign and broadcast to network."""
24
16
 
25
17
 
26
18
  UniswapSellExactlyTransactionResponseTransaction = TypeAliasType(
27
19
  "UniswapSellExactlyTransactionResponseTransaction",
28
- Union[UserOperationResponse, UnsignedTransaction, UnsignedMulticallTransaction],
20
+ Union[UserOperationResponse, UnsignedTransaction],
29
21
  )
30
22
  r"""The unsigned transaction data. User must sign and broadcast to network."""
31
23
 
@@ -9,30 +9,30 @@ from typing_extensions import Annotated, NotRequired, TypedDict
9
9
 
10
10
 
11
11
  class UnsignedMulticallTransactionTypedDict(TypedDict):
12
- chain_id: int
12
+ chain_id: str
13
13
  r"""The chain id of the transaction"""
14
14
  data: str
15
15
  r"""The data of the transaction"""
16
16
  from_: str
17
17
  r"""The sender of the transaction"""
18
- gas: int
18
+ gas: str
19
19
  r"""The gas of the transaction"""
20
20
  to: str
21
21
  r"""The recipient of the transaction"""
22
- value: int
22
+ value: str
23
23
  r"""The value of the transaction"""
24
- nonce: int
24
+ nonce: str
25
25
  r"""The nonce of the address"""
26
- max_fee_per_gas: int
26
+ max_fee_per_gas: str
27
27
  r"""The max fee per gas of the transaction"""
28
- max_priority_fee_per_gas: int
28
+ max_priority_fee_per_gas: str
29
29
  r"""The max priority fee per gas of the transaction"""
30
30
  authorization_list: NotRequired[List[SignedAuthorizationTypedDict]]
31
31
  r"""EIP-7702 authorization"""
32
32
 
33
33
 
34
34
  class UnsignedMulticallTransaction(BaseModel):
35
- chain_id: Annotated[int, pydantic.Field(alias="chainId")]
35
+ chain_id: Annotated[str, pydantic.Field(alias="chainId")]
36
36
  r"""The chain id of the transaction"""
37
37
 
38
38
  data: str
@@ -41,23 +41,23 @@ class UnsignedMulticallTransaction(BaseModel):
41
41
  from_: Annotated[str, pydantic.Field(alias="from")]
42
42
  r"""The sender of the transaction"""
43
43
 
44
- gas: int
44
+ gas: str
45
45
  r"""The gas of the transaction"""
46
46
 
47
47
  to: str
48
48
  r"""The recipient of the transaction"""
49
49
 
50
- value: int
50
+ value: str
51
51
  r"""The value of the transaction"""
52
52
 
53
- nonce: int
53
+ nonce: str
54
54
  r"""The nonce of the address"""
55
55
 
56
- max_fee_per_gas: Annotated[int, pydantic.Field(alias="maxFeePerGas")]
56
+ max_fee_per_gas: Annotated[str, pydantic.Field(alias="maxFeePerGas")]
57
57
  r"""The max fee per gas of the transaction"""
58
58
 
59
59
  max_priority_fee_per_gas: Annotated[
60
- int, pydantic.Field(alias="maxPriorityFeePerGas")
60
+ str, pydantic.Field(alias="maxPriorityFeePerGas")
61
61
  ]
62
62
  r"""The max priority fee per gas of the transaction"""
63
63
 
@@ -7,28 +7,28 @@ from typing_extensions import Annotated, TypedDict
7
7
 
8
8
 
9
9
  class UnsignedTransactionTypedDict(TypedDict):
10
- chain_id: int
10
+ chain_id: str
11
11
  r"""The chain id of the transaction"""
12
12
  data: str
13
13
  r"""The data of the transaction"""
14
14
  from_: str
15
15
  r"""The sender of the transaction"""
16
- gas: int
16
+ gas: str
17
17
  r"""The gas of the transaction"""
18
18
  to: str
19
19
  r"""The recipient of the transaction"""
20
- value: int
20
+ value: str
21
21
  r"""The value of the transaction"""
22
- nonce: int
22
+ nonce: str
23
23
  r"""The nonce of the address"""
24
- max_fee_per_gas: int
24
+ max_fee_per_gas: str
25
25
  r"""The max fee per gas of the transaction"""
26
- max_priority_fee_per_gas: int
26
+ max_priority_fee_per_gas: str
27
27
  r"""The max priority fee per gas of the transaction"""
28
28
 
29
29
 
30
30
  class UnsignedTransaction(BaseModel):
31
- chain_id: Annotated[int, pydantic.Field(alias="chainId")]
31
+ chain_id: Annotated[str, pydantic.Field(alias="chainId")]
32
32
  r"""The chain id of the transaction"""
33
33
 
34
34
  data: str
@@ -37,22 +37,22 @@ class UnsignedTransaction(BaseModel):
37
37
  from_: Annotated[str, pydantic.Field(alias="from")]
38
38
  r"""The sender of the transaction"""
39
39
 
40
- gas: int
40
+ gas: str
41
41
  r"""The gas of the transaction"""
42
42
 
43
43
  to: str
44
44
  r"""The recipient of the transaction"""
45
45
 
46
- value: int
46
+ value: str
47
47
  r"""The value of the transaction"""
48
48
 
49
- nonce: int
49
+ nonce: str
50
50
  r"""The nonce of the address"""
51
51
 
52
- max_fee_per_gas: Annotated[int, pydantic.Field(alias="maxFeePerGas")]
52
+ max_fee_per_gas: Annotated[str, pydantic.Field(alias="maxFeePerGas")]
53
53
  r"""The max fee per gas of the transaction"""
54
54
 
55
55
  max_priority_fee_per_gas: Annotated[
56
- int, pydantic.Field(alias="maxPriorityFeePerGas")
56
+ str, pydantic.Field(alias="maxPriorityFeePerGas")
57
57
  ]
58
58
  r"""The max priority fee per gas of the transaction"""
@@ -25,6 +25,12 @@ from .aerodromeslipstreamwithdrawliquidityprovisionparams import (
25
25
  AerodromeSlipstreamWithdrawLiquidityProvisionParams,
26
26
  AerodromeSlipstreamWithdrawLiquidityProvisionParamsTypedDict,
27
27
  )
28
+ from .ethenadepositparams import EthenaDepositParams, EthenaDepositParamsTypedDict
29
+ from .ethenarequesttowithdrawparams import (
30
+ EthenaRequestToWithdrawParams,
31
+ EthenaRequestToWithdrawParamsTypedDict,
32
+ )
33
+ from .ethenaunstakeparams import EthenaUnstakeParams, EthenaUnstakeParamsTypedDict
28
34
  from .morphoborrowparams import MorphoBorrowParams, MorphoBorrowParamsTypedDict
29
35
  from .morphodepositparams import MorphoDepositParams, MorphoDepositParamsTypedDict
30
36
  from .morphorepayparams import MorphoRepayParams, MorphoRepayParamsTypedDict
@@ -53,10 +59,6 @@ from .skybuyparams import SkyBuyParams, SkyBuyParamsTypedDict
53
59
  from .skydepositparams import SkyDepositParams, SkyDepositParamsTypedDict
54
60
  from .skysellparams import SkySellParams, SkySellParamsTypedDict
55
61
  from .skywithdrawparams import SkyWithdrawParams, SkyWithdrawParamsTypedDict
56
- from .tokentransfererc20params import (
57
- TokenTransferErc20Params,
58
- TokenTransferErc20ParamsTypedDict,
59
- )
60
62
  from .tokentransferparams import TokenTransferParams, TokenTransferParamsTypedDict
61
63
  from .uniswapbuyexactlyparams import (
62
64
  UniswapBuyExactlyParams,
@@ -92,42 +94,44 @@ from typing_extensions import Annotated, TypeAliasType, TypedDict
92
94
  BodyTypedDict = TypeAliasType(
93
95
  "BodyTypedDict",
94
96
  Union[
97
+ EthenaRequestToWithdrawParamsTypedDict,
95
98
  WrapEthParamsTypedDict,
96
- PendleRedeemYieldParamsTypedDict,
97
99
  UnwrapWethParamsTypedDict,
98
- AerodromeSlipstreamWithdrawLiquidityProvisionParamsTypedDict,
99
- SkySellParamsTypedDict,
100
+ PendleRedeemYieldParamsTypedDict,
101
+ EthenaUnstakeParamsTypedDict,
100
102
  SkyWithdrawParamsTypedDict,
101
103
  UniswapWithdrawLiquidityProvisionParamsTypedDict,
102
- SkyBuyParamsTypedDict,
104
+ SkySellParamsTypedDict,
105
+ AerodromeSlipstreamWithdrawLiquidityProvisionParamsTypedDict,
106
+ EthenaDepositParamsTypedDict,
103
107
  SkyDepositParamsTypedDict,
104
- MorphoDepositParamsTypedDict,
105
- AaveWithdrawParamsTypedDict,
106
- TokenTransferErc20ParamsTypedDict,
107
- TokenTransferParamsTypedDict,
108
- MorphoWithdrawParamsTypedDict,
109
- AaveSupplyParamsTypedDict,
110
- SetAllowanceParamsTypedDict,
108
+ SkyBuyParamsTypedDict,
111
109
  VaultDepositParamsTypedDict,
110
+ AaveSupplyParamsTypedDict,
112
111
  VaultWithdrawParamsTypedDict,
113
- MorphoSupplyCollateralParamsTypedDict,
114
- AaveBorrowParamsTypedDict,
112
+ SetAllowanceParamsTypedDict,
113
+ MorphoWithdrawParamsTypedDict,
114
+ TokenTransferParamsTypedDict,
115
+ AaveWithdrawParamsTypedDict,
116
+ MorphoDepositParamsTypedDict,
115
117
  OdosSwapParamsTypedDict,
118
+ MorphoBorrowParamsTypedDict,
116
119
  MorphoWithdrawCollateralParamsTypedDict,
120
+ MorphoSupplyCollateralParamsTypedDict,
121
+ AaveBorrowParamsTypedDict,
117
122
  MorphoRepayParamsTypedDict,
118
- MorphoBorrowParamsTypedDict,
119
123
  AaveRepayParamsTypedDict,
120
- PendleTradePtParamsTypedDict,
121
124
  PendleTradeYtParamsTypedDict,
122
125
  UniswapIncreaseLiquidityProvisionParamsTypedDict,
123
126
  UniswapBuyExactlyParamsTypedDict,
124
127
  UniswapSellExactlyParamsTypedDict,
128
+ PendleTradePtParamsTypedDict,
125
129
  PendleManageLiquidityParamsTypedDict,
126
- AerodromeSlipstreamSellExactlyParamsTypedDict,
127
- AerodromeSlipstreamIncreaseLiquidityProvisionParamsTypedDict,
128
130
  AerodromeSlipstreamBuyExactlyParamsTypedDict,
129
- UniswapMintLiquidityProvisionParamsTypedDict,
131
+ AerodromeSlipstreamIncreaseLiquidityProvisionParamsTypedDict,
132
+ AerodromeSlipstreamSellExactlyParamsTypedDict,
130
133
  AerodromeSlipstreamMintLiquidityProvisionParamsTypedDict,
134
+ UniswapMintLiquidityProvisionParamsTypedDict,
131
135
  ],
132
136
  )
133
137
 
@@ -157,6 +161,9 @@ Body = Annotated[
157
161
  AerodromeSlipstreamWithdrawLiquidityProvisionParams,
158
162
  Tag("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY_PROVISION"),
159
163
  ],
164
+ Annotated[EthenaDepositParams, Tag("ETHENA_DEPOSIT")],
165
+ Annotated[EthenaRequestToWithdrawParams, Tag("ETHENA_REQUEST_WITHDRAW")],
166
+ Annotated[EthenaUnstakeParams, Tag("ETHENA_UNSTAKE")],
160
167
  Annotated[MorphoBorrowParams, Tag("MORPHO_BORROW")],
161
168
  Annotated[MorphoDepositParams, Tag("MORPHO_DEPOSIT")],
162
169
  Annotated[MorphoRepayParams, Tag("MORPHO_REPAY")],
@@ -174,7 +181,6 @@ Body = Annotated[
174
181
  Annotated[SkySellParams, Tag("SKY_SELL")],
175
182
  Annotated[SkyWithdrawParams, Tag("SKY_WITHDRAW")],
176
183
  Annotated[TokenTransferParams, Tag("TOKEN_TRANSFER")],
177
- Annotated[TokenTransferErc20Params, Tag("TOKEN_TRANSFER_ERC20")],
178
184
  Annotated[
179
185
  UniswapIncreaseLiquidityProvisionParams, Tag("UNISWAP_ADD_LIQUIDITY")
180
186
  ],
@@ -10,7 +10,7 @@ class UserOperationResponseTypedDict(TypedDict):
10
10
  r"""The target contract address for the operation"""
11
11
  data: str
12
12
  r"""The calldata for the operation"""
13
- value: int
13
+ value: str
14
14
  r"""The ETH value to send with the operation"""
15
15
 
16
16
 
@@ -21,5 +21,5 @@ class UserOperationResponse(BaseModel):
21
21
  data: str
22
22
  r"""The calldata for the operation"""
23
23
 
24
- value: int
24
+ value: str
25
25
  r"""The ETH value to send with the operation"""
@@ -29,25 +29,50 @@ class V1AaveAvgRateToken(str, Enum):
29
29
 
30
30
  ONE_INCH = "1INCH"
31
31
  AAVE = "AAVE"
32
+ AERO = "AERO"
33
+ ARB = "ARB"
32
34
  BAL = "BAL"
35
+ BNKR = "BNKR"
33
36
  CB_BTC = "cbBTC"
34
37
  CB_ETH = "cbETH"
38
+ CLANKER = "CLANKER"
39
+ COPI = "COPI"
35
40
  CRV = "CRV"
36
41
  CRV_USD = "crvUSD"
42
+ CYBER = "CYBER"
37
43
  DAI = "DAI"
44
+ DOGINME = "DOGINME"
45
+ E_BTC = "eBTC"
38
46
  ENS = "ENS"
47
+ ETH = "ETH"
48
+ ETHFI = "ETHFI"
39
49
  ET_HX = "ETHx"
50
+ EURC = "EURC"
51
+ EUR = "EUR"
52
+ EURS = "EURS"
53
+ E_US_DE = "eUSDe"
54
+ EZ_ETH = "ezETH"
55
+ FBTC = "FBTC"
40
56
  FRAX = "FRAX"
41
57
  FXS = "FXS"
42
58
  GHO = "GHO"
43
59
  KNC = "KNC"
60
+ LBTC = "LBTC"
44
61
  LDO = "LDO"
45
62
  LINK = "LINK"
63
+ LS_ETH = "LsETH"
46
64
  LUSD = "LUSD"
65
+ MAI = "MAI"
47
66
  MKR = "MKR"
48
67
  OS_ETH = "osETH"
68
+ PT_E_USDE_14_AUG2025 = "PT-eUSDE-14AUG2025"
69
+ PT_E_USDE_29_MAY2025 = "PT-eUSDE-29MAY2025"
70
+ PT_S_USDE_25_SEP2025 = "PT-sUSDE-25SEP2025"
71
+ PT_S_USDE_31_JUL2025 = "PT-sUSDE-31JUL2025"
72
+ PT_US_DE_31_JUL2025 = "PT-USDe-31JUL2025"
49
73
  PYUSD = "PYUSD"
50
74
  R_ETH = "rETH"
75
+ RLUSD = "RLUSD"
51
76
  RPL = "RPL"
52
77
  RS_ETH = "rsETH"
53
78
  S_DAI = "sDAI"
@@ -56,39 +81,20 @@ class V1AaveAvgRateToken(str, Enum):
56
81
  S_US_DE = "sUSDe"
57
82
  T_BTC = "tBTC"
58
83
  UNI = "UNI"
84
+ US_DB_C = "USDbC"
85
+ USD_CE = "USDCe"
59
86
  USDC = "USDC"
60
87
  US_DE = "USDe"
61
88
  USDS = "USDS"
89
+ US_DTB = "USDtb"
62
90
  USDT = "USDT"
91
+ VIRTUAL = "VIRTUAL"
63
92
  WBTC = "WBTC"
64
93
  WE_ETH = "weETH"
94
+ WELL = "WELL"
65
95
  WETH = "WETH"
66
- WST_ETH = "wstETH"
67
- ARB = "ARB"
68
- EURS = "EURS"
69
- MAI = "MAI"
70
- USD_CE = "USDCe"
71
- ETH = "ETH"
72
- AERO = "AERO"
73
- EUR = "EUR"
74
- VIRTUAL = "VIRTUAL"
75
- EZ_ETH = "ezETH"
76
- CYBER = "CYBER"
77
96
  WRS_ETH = "wrsETH"
78
- E_BTC = "eBTC"
79
- EURC = "EURC"
80
- E_US_DE = "eUSDe"
81
- FBTC = "FBTC"
82
- LBTC = "LBTC"
83
- PT_E_USDE_14_AUG2025 = "PT-eUSDE-14AUG2025"
84
- PT_E_USDE_29_MAY2025 = "PT-eUSDE-29MAY2025"
85
- PT_S_USDE_25_SEP2025 = "PT-sUSDE-25SEP2025"
86
- PT_S_USDE_31_JUL2025 = "PT-sUSDE-31JUL2025"
87
- PT_US_DE_31_JUL2025 = "PT-USDe-31JUL2025"
88
- RLUSD = "RLUSD"
89
- USD_0 = "USD₮0"
90
- US_DB_C = "USDbC"
91
- US_DTB = "USDtb"
97
+ WST_ETH = "wstETH"
92
98
 
93
99
 
94
100
  class V1AaveAvgRateRequestTypedDict(TypedDict):
@@ -22,25 +22,50 @@ class V1AaveLiquidityChangeToken(str, Enum):
22
22
 
23
23
  ONE_INCH = "1INCH"
24
24
  AAVE = "AAVE"
25
+ AERO = "AERO"
26
+ ARB = "ARB"
25
27
  BAL = "BAL"
28
+ BNKR = "BNKR"
26
29
  CB_BTC = "cbBTC"
27
30
  CB_ETH = "cbETH"
31
+ CLANKER = "CLANKER"
32
+ COPI = "COPI"
28
33
  CRV = "CRV"
29
34
  CRV_USD = "crvUSD"
35
+ CYBER = "CYBER"
30
36
  DAI = "DAI"
37
+ DOGINME = "DOGINME"
38
+ E_BTC = "eBTC"
31
39
  ENS = "ENS"
40
+ ETH = "ETH"
41
+ ETHFI = "ETHFI"
32
42
  ET_HX = "ETHx"
43
+ EURC = "EURC"
44
+ EUR = "EUR"
45
+ EURS = "EURS"
46
+ E_US_DE = "eUSDe"
47
+ EZ_ETH = "ezETH"
48
+ FBTC = "FBTC"
33
49
  FRAX = "FRAX"
34
50
  FXS = "FXS"
35
51
  GHO = "GHO"
36
52
  KNC = "KNC"
53
+ LBTC = "LBTC"
37
54
  LDO = "LDO"
38
55
  LINK = "LINK"
56
+ LS_ETH = "LsETH"
39
57
  LUSD = "LUSD"
58
+ MAI = "MAI"
40
59
  MKR = "MKR"
41
60
  OS_ETH = "osETH"
61
+ PT_E_USDE_14_AUG2025 = "PT-eUSDE-14AUG2025"
62
+ PT_E_USDE_29_MAY2025 = "PT-eUSDE-29MAY2025"
63
+ PT_S_USDE_25_SEP2025 = "PT-sUSDE-25SEP2025"
64
+ PT_S_USDE_31_JUL2025 = "PT-sUSDE-31JUL2025"
65
+ PT_US_DE_31_JUL2025 = "PT-USDe-31JUL2025"
42
66
  PYUSD = "PYUSD"
43
67
  R_ETH = "rETH"
68
+ RLUSD = "RLUSD"
44
69
  RPL = "RPL"
45
70
  RS_ETH = "rsETH"
46
71
  S_DAI = "sDAI"
@@ -49,39 +74,20 @@ class V1AaveLiquidityChangeToken(str, Enum):
49
74
  S_US_DE = "sUSDe"
50
75
  T_BTC = "tBTC"
51
76
  UNI = "UNI"
77
+ US_DB_C = "USDbC"
78
+ USD_CE = "USDCe"
52
79
  USDC = "USDC"
53
80
  US_DE = "USDe"
54
81
  USDS = "USDS"
82
+ US_DTB = "USDtb"
55
83
  USDT = "USDT"
84
+ VIRTUAL = "VIRTUAL"
56
85
  WBTC = "WBTC"
57
86
  WE_ETH = "weETH"
87
+ WELL = "WELL"
58
88
  WETH = "WETH"
59
- WST_ETH = "wstETH"
60
- ARB = "ARB"
61
- EURS = "EURS"
62
- MAI = "MAI"
63
- USD_CE = "USDCe"
64
- ETH = "ETH"
65
- AERO = "AERO"
66
- EUR = "EUR"
67
- VIRTUAL = "VIRTUAL"
68
- EZ_ETH = "ezETH"
69
- CYBER = "CYBER"
70
89
  WRS_ETH = "wrsETH"
71
- E_BTC = "eBTC"
72
- EURC = "EURC"
73
- E_US_DE = "eUSDe"
74
- FBTC = "FBTC"
75
- LBTC = "LBTC"
76
- PT_E_USDE_14_AUG2025 = "PT-eUSDE-14AUG2025"
77
- PT_E_USDE_29_MAY2025 = "PT-eUSDE-29MAY2025"
78
- PT_S_USDE_25_SEP2025 = "PT-sUSDE-25SEP2025"
79
- PT_S_USDE_31_JUL2025 = "PT-sUSDE-31JUL2025"
80
- PT_US_DE_31_JUL2025 = "PT-USDe-31JUL2025"
81
- RLUSD = "RLUSD"
82
- USD_0 = "USD₮0"
83
- US_DB_C = "USDbC"
84
- US_DTB = "USDtb"
90
+ WST_ETH = "wstETH"
85
91
 
86
92
 
87
93
  class V1AaveLiquidityChangeRequestTypedDict(TypedDict):