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.
- compass_api_sdk/_version.py +3 -3
- compass_api_sdk/aave_v3.py +8 -0
- compass_api_sdk/ethena.py +864 -0
- compass_api_sdk/models/__init__.py +140 -28
- compass_api_sdk/models/bundlertransactionresponse.py +17 -0
- compass_api_sdk/models/compass_api_backend_models_vaults_read_response_vault_userposition.py +8 -4
- compass_api_sdk/models/cooldownposition.py +35 -0
- compass_api_sdk/models/ethenadepositparams.py +82 -0
- compass_api_sdk/models/ethenadepositrequest.py +95 -0
- compass_api_sdk/models/ethenagetvaultresponse.py +109 -0
- compass_api_sdk/models/ethenarequesttowithdrawparams.py +28 -0
- compass_api_sdk/models/ethenarequesttowithdrawrequest.py +41 -0
- compass_api_sdk/models/ethenarequesttowithdrawtransactionresponse.py +37 -0
- compass_api_sdk/models/ethenaunstakeparams.py +65 -0
- compass_api_sdk/models/ethenaunstakerequest.py +78 -0
- compass_api_sdk/models/odostransactionresponse.py +37 -0
- compass_api_sdk/models/pendletxresponse.py +2 -11
- compass_api_sdk/models/setallowanceparams.py +1 -0
- compass_api_sdk/models/setallowancerequest.py +1 -0
- compass_api_sdk/models/token_enum.py +31 -25
- compass_api_sdk/models/tokentransferparams.py +21 -21
- compass_api_sdk/models/tokentransferrequest.py +21 -21
- compass_api_sdk/models/transactionresponse.py +2 -11
- compass_api_sdk/models/{compass_api_backend_models_vaults_read_response_vault_asset.py → underlyingtoken.py} +2 -2
- compass_api_sdk/models/uniswapbuyexactlytransactionresponse.py +2 -10
- compass_api_sdk/models/uniswapsellexactlytransactionresponse.py +2 -10
- compass_api_sdk/models/unsignedmulticalltransaction.py +12 -12
- compass_api_sdk/models/unsignedtransaction.py +12 -12
- compass_api_sdk/models/useroperation.py +29 -23
- compass_api_sdk/models/useroperationresponse.py +2 -2
- compass_api_sdk/models/v1_aave_avg_rateop.py +31 -25
- compass_api_sdk/models/v1_aave_liquidity_changeop.py +31 -25
- compass_api_sdk/models/v1_aave_rateop.py +31 -25
- compass_api_sdk/models/v1_aave_reserve_overviewop.py +31 -25
- compass_api_sdk/models/v1_aave_std_rateop.py +31 -25
- compass_api_sdk/models/v1_aave_token_priceop.py +31 -25
- compass_api_sdk/models/v1_aave_user_position_per_tokenop.py +31 -25
- compass_api_sdk/models/v1_aerodrome_slipstream_pool_priceop.py +62 -50
- compass_api_sdk/models/v1_ethena_vaultop.py +75 -0
- compass_api_sdk/models/v1_generic_allowanceop.py +1 -0
- compass_api_sdk/models/v1_sky_positionop.py +2 -2
- compass_api_sdk/models/v1_token_addressop.py +31 -25
- compass_api_sdk/models/v1_token_priceop.py +4 -16
- compass_api_sdk/models/v1_transaction_bundler_aave_loopop.py +6 -3
- compass_api_sdk/models/v1_uniswap_pool_priceop.py +62 -50
- compass_api_sdk/models/v1_uniswap_quote_buy_exactlyop.py +62 -50
- compass_api_sdk/models/v1_uniswap_quote_sell_exactlyop.py +62 -50
- compass_api_sdk/models/vaultgetvaultresponse.py +3 -6
- compass_api_sdk/sdk.py +3 -0
- compass_api_sdk/sky.py +2 -2
- compass_api_sdk/swap.py +4 -4
- compass_api_sdk/token_sdk.py +20 -20
- compass_api_sdk/transaction_bundler.py +4 -4
- {compass_api_sdk-1.0.0.dist-info → compass_api_sdk-1.0.2.dist-info}/METADATA +150 -135
- {compass_api_sdk-1.0.0.dist-info → compass_api_sdk-1.0.2.dist-info}/RECORD +56 -44
- compass_api_sdk/models/tokentransfererc20params.py +0 -63
- {compass_api_sdk-1.0.0.dist-info → compass_api_sdk-1.0.2.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from compass_api_sdk.types import (
|
|
5
|
+
BaseModel,
|
|
6
|
+
Nullable,
|
|
7
|
+
OptionalNullable,
|
|
8
|
+
UNSET,
|
|
9
|
+
UNSET_SENTINEL,
|
|
10
|
+
)
|
|
11
|
+
from compass_api_sdk.utils import FieldMetadata, QueryParamMetadata
|
|
12
|
+
from enum import Enum
|
|
13
|
+
from pydantic import model_serializer
|
|
14
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class V1EthenaVaultChain(str, Enum):
|
|
18
|
+
ETHEREUM = "ethereum"
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class V1EthenaVaultRequestTypedDict(TypedDict):
|
|
22
|
+
chain: V1EthenaVaultChain
|
|
23
|
+
block: NotRequired[Nullable[int]]
|
|
24
|
+
r"""Optional block number (defaults to latest)."""
|
|
25
|
+
user_address: NotRequired[Nullable[str]]
|
|
26
|
+
r"""The user address of the desired vault position. Only include if you would like the user position included in the response. Defaults to `None`."""
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class V1EthenaVaultRequest(BaseModel):
|
|
30
|
+
chain: Annotated[
|
|
31
|
+
V1EthenaVaultChain,
|
|
32
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
33
|
+
] = V1EthenaVaultChain.ETHEREUM
|
|
34
|
+
|
|
35
|
+
block: Annotated[
|
|
36
|
+
OptionalNullable[int],
|
|
37
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
38
|
+
] = UNSET
|
|
39
|
+
r"""Optional block number (defaults to latest)."""
|
|
40
|
+
|
|
41
|
+
user_address: Annotated[
|
|
42
|
+
OptionalNullable[str],
|
|
43
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
44
|
+
] = UNSET
|
|
45
|
+
r"""The user address of the desired vault position. Only include if you would like the user position included in the response. Defaults to `None`."""
|
|
46
|
+
|
|
47
|
+
@model_serializer(mode="wrap")
|
|
48
|
+
def serialize_model(self, handler):
|
|
49
|
+
optional_fields = ["block", "user_address"]
|
|
50
|
+
nullable_fields = ["block", "user_address"]
|
|
51
|
+
null_default_fields = []
|
|
52
|
+
|
|
53
|
+
serialized = handler(self)
|
|
54
|
+
|
|
55
|
+
m = {}
|
|
56
|
+
|
|
57
|
+
for n, f in type(self).model_fields.items():
|
|
58
|
+
k = f.alias or n
|
|
59
|
+
val = serialized.get(k)
|
|
60
|
+
serialized.pop(k, None)
|
|
61
|
+
|
|
62
|
+
optional_nullable = k in optional_fields and k in nullable_fields
|
|
63
|
+
is_set = (
|
|
64
|
+
self.__pydantic_fields_set__.intersection({n})
|
|
65
|
+
or k in null_default_fields
|
|
66
|
+
) # pylint: disable=no-member
|
|
67
|
+
|
|
68
|
+
if val is not None and val != UNSET_SENTINEL:
|
|
69
|
+
m[k] = val
|
|
70
|
+
elif val != UNSET_SENTINEL and (
|
|
71
|
+
not k in optional_fields or (optional_nullable and is_set)
|
|
72
|
+
):
|
|
73
|
+
m[k] = val
|
|
74
|
+
|
|
75
|
+
return m
|
|
@@ -15,7 +15,7 @@ class V1SkyPositionChain(str, Enum):
|
|
|
15
15
|
class V1SkyPositionRequestTypedDict(TypedDict):
|
|
16
16
|
chain: NotRequired[V1SkyPositionChain]
|
|
17
17
|
user_address: str
|
|
18
|
-
r"""The user
|
|
18
|
+
r"""The user-address of the desired position."""
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
class V1SkyPositionRequest(BaseModel):
|
|
@@ -27,4 +27,4 @@ class V1SkyPositionRequest(BaseModel):
|
|
|
27
27
|
user_address: Annotated[
|
|
28
28
|
str, FieldMetadata(query=QueryParamMetadata(style="form", explode=True))
|
|
29
29
|
] = "0xa829B388A3DF7f581cE957a95edbe419dd146d1B"
|
|
30
|
-
r"""The user
|
|
30
|
+
r"""The user-address of the desired position."""
|
|
@@ -22,25 +22,50 @@ class V1TokenAddressToken(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 V1TokenAddressToken(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
|
-
|
|
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 V1TokenAddressRequestTypedDict(TypedDict):
|
|
@@ -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,
|
|
@@ -12,8 +11,8 @@ from compass_api_sdk.types import (
|
|
|
12
11
|
from compass_api_sdk.utils import FieldMetadata, QueryParamMetadata
|
|
13
12
|
from enum import Enum
|
|
14
13
|
from pydantic import model_serializer
|
|
15
|
-
from typing import
|
|
16
|
-
from typing_extensions import Annotated, NotRequired,
|
|
14
|
+
from typing import Any
|
|
15
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
17
16
|
|
|
18
17
|
|
|
19
18
|
class V1TokenPriceChain(str, Enum):
|
|
@@ -22,18 +21,8 @@ class V1TokenPriceChain(str, Enum):
|
|
|
22
21
|
ETHEREUM = "ethereum"
|
|
23
22
|
|
|
24
23
|
|
|
25
|
-
V1TokenPriceTokenTypedDict = TypeAliasType(
|
|
26
|
-
"V1TokenPriceTokenTypedDict", Union[TokenEnum, str]
|
|
27
|
-
)
|
|
28
|
-
r"""The symbol or address of the token for which to get the price."""
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
V1TokenPriceToken = TypeAliasType("V1TokenPriceToken", Union[TokenEnum, str])
|
|
32
|
-
r"""The symbol or address of the token for which to get the price."""
|
|
33
|
-
|
|
34
|
-
|
|
35
24
|
class V1TokenPriceRequestTypedDict(TypedDict):
|
|
36
|
-
token:
|
|
25
|
+
token: Any
|
|
37
26
|
r"""The symbol or address of the token for which to get the price."""
|
|
38
27
|
chain: V1TokenPriceChain
|
|
39
28
|
block: NotRequired[Nullable[int]]
|
|
@@ -42,8 +31,7 @@ class V1TokenPriceRequestTypedDict(TypedDict):
|
|
|
42
31
|
|
|
43
32
|
class V1TokenPriceRequest(BaseModel):
|
|
44
33
|
token: Annotated[
|
|
45
|
-
|
|
46
|
-
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
34
|
+
Any, FieldMetadata(query=QueryParamMetadata(style="form", explode=True))
|
|
47
35
|
]
|
|
48
36
|
r"""The symbol or address of the token for which to get the price."""
|
|
49
37
|
|
|
@@ -5,20 +5,23 @@ from .batcheduseroperationsresponse import (
|
|
|
5
5
|
BatchedUserOperationsResponse,
|
|
6
6
|
BatchedUserOperationsResponseTypedDict,
|
|
7
7
|
)
|
|
8
|
-
from .
|
|
8
|
+
from .bundlertransactionresponse import (
|
|
9
|
+
BundlerTransactionResponse,
|
|
10
|
+
BundlerTransactionResponseTypedDict,
|
|
11
|
+
)
|
|
9
12
|
from typing import Union
|
|
10
13
|
from typing_extensions import TypeAliasType
|
|
11
14
|
|
|
12
15
|
|
|
13
16
|
ResponseV1TransactionBundlerAaveLoopTypedDict = TypeAliasType(
|
|
14
17
|
"ResponseV1TransactionBundlerAaveLoopTypedDict",
|
|
15
|
-
Union[
|
|
18
|
+
Union[BundlerTransactionResponseTypedDict, BatchedUserOperationsResponseTypedDict],
|
|
16
19
|
)
|
|
17
20
|
r"""Successful Response"""
|
|
18
21
|
|
|
19
22
|
|
|
20
23
|
ResponseV1TransactionBundlerAaveLoop = TypeAliasType(
|
|
21
24
|
"ResponseV1TransactionBundlerAaveLoop",
|
|
22
|
-
Union[
|
|
25
|
+
Union[BundlerTransactionResponse, BatchedUserOperationsResponse],
|
|
23
26
|
)
|
|
24
27
|
r"""Successful Response"""
|
|
@@ -22,25 +22,50 @@ class V1UniswapPoolPriceTokenInToken(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 V1UniswapPoolPriceTokenInToken(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
|
-
|
|
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 V1UniswapPoolPriceTokenOutToken(str, Enum):
|
|
@@ -93,25 +99,50 @@ class V1UniswapPoolPriceTokenOutToken(str, Enum):
|
|
|
93
99
|
|
|
94
100
|
ONE_INCH = "1INCH"
|
|
95
101
|
AAVE = "AAVE"
|
|
102
|
+
AERO = "AERO"
|
|
103
|
+
ARB = "ARB"
|
|
96
104
|
BAL = "BAL"
|
|
105
|
+
BNKR = "BNKR"
|
|
97
106
|
CB_BTC = "cbBTC"
|
|
98
107
|
CB_ETH = "cbETH"
|
|
108
|
+
CLANKER = "CLANKER"
|
|
109
|
+
COPI = "COPI"
|
|
99
110
|
CRV = "CRV"
|
|
100
111
|
CRV_USD = "crvUSD"
|
|
112
|
+
CYBER = "CYBER"
|
|
101
113
|
DAI = "DAI"
|
|
114
|
+
DOGINME = "DOGINME"
|
|
115
|
+
E_BTC = "eBTC"
|
|
102
116
|
ENS = "ENS"
|
|
117
|
+
ETH = "ETH"
|
|
118
|
+
ETHFI = "ETHFI"
|
|
103
119
|
ET_HX = "ETHx"
|
|
120
|
+
EURC = "EURC"
|
|
121
|
+
EUR = "EUR"
|
|
122
|
+
EURS = "EURS"
|
|
123
|
+
E_US_DE = "eUSDe"
|
|
124
|
+
EZ_ETH = "ezETH"
|
|
125
|
+
FBTC = "FBTC"
|
|
104
126
|
FRAX = "FRAX"
|
|
105
127
|
FXS = "FXS"
|
|
106
128
|
GHO = "GHO"
|
|
107
129
|
KNC = "KNC"
|
|
130
|
+
LBTC = "LBTC"
|
|
108
131
|
LDO = "LDO"
|
|
109
132
|
LINK = "LINK"
|
|
133
|
+
LS_ETH = "LsETH"
|
|
110
134
|
LUSD = "LUSD"
|
|
135
|
+
MAI = "MAI"
|
|
111
136
|
MKR = "MKR"
|
|
112
137
|
OS_ETH = "osETH"
|
|
138
|
+
PT_E_USDE_14_AUG2025 = "PT-eUSDE-14AUG2025"
|
|
139
|
+
PT_E_USDE_29_MAY2025 = "PT-eUSDE-29MAY2025"
|
|
140
|
+
PT_S_USDE_25_SEP2025 = "PT-sUSDE-25SEP2025"
|
|
141
|
+
PT_S_USDE_31_JUL2025 = "PT-sUSDE-31JUL2025"
|
|
142
|
+
PT_US_DE_31_JUL2025 = "PT-USDe-31JUL2025"
|
|
113
143
|
PYUSD = "PYUSD"
|
|
114
144
|
R_ETH = "rETH"
|
|
145
|
+
RLUSD = "RLUSD"
|
|
115
146
|
RPL = "RPL"
|
|
116
147
|
RS_ETH = "rsETH"
|
|
117
148
|
S_DAI = "sDAI"
|
|
@@ -120,39 +151,20 @@ class V1UniswapPoolPriceTokenOutToken(str, Enum):
|
|
|
120
151
|
S_US_DE = "sUSDe"
|
|
121
152
|
T_BTC = "tBTC"
|
|
122
153
|
UNI = "UNI"
|
|
154
|
+
US_DB_C = "USDbC"
|
|
155
|
+
USD_CE = "USDCe"
|
|
123
156
|
USDC = "USDC"
|
|
124
157
|
US_DE = "USDe"
|
|
125
158
|
USDS = "USDS"
|
|
159
|
+
US_DTB = "USDtb"
|
|
126
160
|
USDT = "USDT"
|
|
161
|
+
VIRTUAL = "VIRTUAL"
|
|
127
162
|
WBTC = "WBTC"
|
|
128
163
|
WE_ETH = "weETH"
|
|
164
|
+
WELL = "WELL"
|
|
129
165
|
WETH = "WETH"
|
|
130
|
-
WST_ETH = "wstETH"
|
|
131
|
-
ARB = "ARB"
|
|
132
|
-
EURS = "EURS"
|
|
133
|
-
MAI = "MAI"
|
|
134
|
-
USD_CE = "USDCe"
|
|
135
|
-
ETH = "ETH"
|
|
136
|
-
AERO = "AERO"
|
|
137
|
-
EUR = "EUR"
|
|
138
|
-
VIRTUAL = "VIRTUAL"
|
|
139
|
-
EZ_ETH = "ezETH"
|
|
140
|
-
CYBER = "CYBER"
|
|
141
166
|
WRS_ETH = "wrsETH"
|
|
142
|
-
|
|
143
|
-
EURC = "EURC"
|
|
144
|
-
E_US_DE = "eUSDe"
|
|
145
|
-
FBTC = "FBTC"
|
|
146
|
-
LBTC = "LBTC"
|
|
147
|
-
PT_E_USDE_14_AUG2025 = "PT-eUSDE-14AUG2025"
|
|
148
|
-
PT_E_USDE_29_MAY2025 = "PT-eUSDE-29MAY2025"
|
|
149
|
-
PT_S_USDE_25_SEP2025 = "PT-sUSDE-25SEP2025"
|
|
150
|
-
PT_S_USDE_31_JUL2025 = "PT-sUSDE-31JUL2025"
|
|
151
|
-
PT_US_DE_31_JUL2025 = "PT-USDe-31JUL2025"
|
|
152
|
-
RLUSD = "RLUSD"
|
|
153
|
-
USD_0 = "USD₮0"
|
|
154
|
-
US_DB_C = "USDbC"
|
|
155
|
-
US_DTB = "USDtb"
|
|
167
|
+
WST_ETH = "wstETH"
|
|
156
168
|
|
|
157
169
|
|
|
158
170
|
class V1UniswapPoolPriceFeeEnum(str, Enum):
|
|
@@ -23,25 +23,50 @@ class V1UniswapQuoteBuyExactlyTokenInToken(str, Enum):
|
|
|
23
23
|
|
|
24
24
|
ONE_INCH = "1INCH"
|
|
25
25
|
AAVE = "AAVE"
|
|
26
|
+
AERO = "AERO"
|
|
27
|
+
ARB = "ARB"
|
|
26
28
|
BAL = "BAL"
|
|
29
|
+
BNKR = "BNKR"
|
|
27
30
|
CB_BTC = "cbBTC"
|
|
28
31
|
CB_ETH = "cbETH"
|
|
32
|
+
CLANKER = "CLANKER"
|
|
33
|
+
COPI = "COPI"
|
|
29
34
|
CRV = "CRV"
|
|
30
35
|
CRV_USD = "crvUSD"
|
|
36
|
+
CYBER = "CYBER"
|
|
31
37
|
DAI = "DAI"
|
|
38
|
+
DOGINME = "DOGINME"
|
|
39
|
+
E_BTC = "eBTC"
|
|
32
40
|
ENS = "ENS"
|
|
41
|
+
ETH = "ETH"
|
|
42
|
+
ETHFI = "ETHFI"
|
|
33
43
|
ET_HX = "ETHx"
|
|
44
|
+
EURC = "EURC"
|
|
45
|
+
EUR = "EUR"
|
|
46
|
+
EURS = "EURS"
|
|
47
|
+
E_US_DE = "eUSDe"
|
|
48
|
+
EZ_ETH = "ezETH"
|
|
49
|
+
FBTC = "FBTC"
|
|
34
50
|
FRAX = "FRAX"
|
|
35
51
|
FXS = "FXS"
|
|
36
52
|
GHO = "GHO"
|
|
37
53
|
KNC = "KNC"
|
|
54
|
+
LBTC = "LBTC"
|
|
38
55
|
LDO = "LDO"
|
|
39
56
|
LINK = "LINK"
|
|
57
|
+
LS_ETH = "LsETH"
|
|
40
58
|
LUSD = "LUSD"
|
|
59
|
+
MAI = "MAI"
|
|
41
60
|
MKR = "MKR"
|
|
42
61
|
OS_ETH = "osETH"
|
|
62
|
+
PT_E_USDE_14_AUG2025 = "PT-eUSDE-14AUG2025"
|
|
63
|
+
PT_E_USDE_29_MAY2025 = "PT-eUSDE-29MAY2025"
|
|
64
|
+
PT_S_USDE_25_SEP2025 = "PT-sUSDE-25SEP2025"
|
|
65
|
+
PT_S_USDE_31_JUL2025 = "PT-sUSDE-31JUL2025"
|
|
66
|
+
PT_US_DE_31_JUL2025 = "PT-USDe-31JUL2025"
|
|
43
67
|
PYUSD = "PYUSD"
|
|
44
68
|
R_ETH = "rETH"
|
|
69
|
+
RLUSD = "RLUSD"
|
|
45
70
|
RPL = "RPL"
|
|
46
71
|
RS_ETH = "rsETH"
|
|
47
72
|
S_DAI = "sDAI"
|
|
@@ -50,39 +75,20 @@ class V1UniswapQuoteBuyExactlyTokenInToken(str, Enum):
|
|
|
50
75
|
S_US_DE = "sUSDe"
|
|
51
76
|
T_BTC = "tBTC"
|
|
52
77
|
UNI = "UNI"
|
|
78
|
+
US_DB_C = "USDbC"
|
|
79
|
+
USD_CE = "USDCe"
|
|
53
80
|
USDC = "USDC"
|
|
54
81
|
US_DE = "USDe"
|
|
55
82
|
USDS = "USDS"
|
|
83
|
+
US_DTB = "USDtb"
|
|
56
84
|
USDT = "USDT"
|
|
85
|
+
VIRTUAL = "VIRTUAL"
|
|
57
86
|
WBTC = "WBTC"
|
|
58
87
|
WE_ETH = "weETH"
|
|
88
|
+
WELL = "WELL"
|
|
59
89
|
WETH = "WETH"
|
|
60
|
-
WST_ETH = "wstETH"
|
|
61
|
-
ARB = "ARB"
|
|
62
|
-
EURS = "EURS"
|
|
63
|
-
MAI = "MAI"
|
|
64
|
-
USD_CE = "USDCe"
|
|
65
|
-
ETH = "ETH"
|
|
66
|
-
AERO = "AERO"
|
|
67
|
-
EUR = "EUR"
|
|
68
|
-
VIRTUAL = "VIRTUAL"
|
|
69
|
-
EZ_ETH = "ezETH"
|
|
70
|
-
CYBER = "CYBER"
|
|
71
90
|
WRS_ETH = "wrsETH"
|
|
72
|
-
|
|
73
|
-
EURC = "EURC"
|
|
74
|
-
E_US_DE = "eUSDe"
|
|
75
|
-
FBTC = "FBTC"
|
|
76
|
-
LBTC = "LBTC"
|
|
77
|
-
PT_E_USDE_14_AUG2025 = "PT-eUSDE-14AUG2025"
|
|
78
|
-
PT_E_USDE_29_MAY2025 = "PT-eUSDE-29MAY2025"
|
|
79
|
-
PT_S_USDE_25_SEP2025 = "PT-sUSDE-25SEP2025"
|
|
80
|
-
PT_S_USDE_31_JUL2025 = "PT-sUSDE-31JUL2025"
|
|
81
|
-
PT_US_DE_31_JUL2025 = "PT-USDe-31JUL2025"
|
|
82
|
-
RLUSD = "RLUSD"
|
|
83
|
-
USD_0 = "USD₮0"
|
|
84
|
-
US_DB_C = "USDbC"
|
|
85
|
-
US_DTB = "USDtb"
|
|
91
|
+
WST_ETH = "wstETH"
|
|
86
92
|
|
|
87
93
|
|
|
88
94
|
class V1UniswapQuoteBuyExactlyTokenOutToken(str, Enum):
|
|
@@ -94,25 +100,50 @@ class V1UniswapQuoteBuyExactlyTokenOutToken(str, Enum):
|
|
|
94
100
|
|
|
95
101
|
ONE_INCH = "1INCH"
|
|
96
102
|
AAVE = "AAVE"
|
|
103
|
+
AERO = "AERO"
|
|
104
|
+
ARB = "ARB"
|
|
97
105
|
BAL = "BAL"
|
|
106
|
+
BNKR = "BNKR"
|
|
98
107
|
CB_BTC = "cbBTC"
|
|
99
108
|
CB_ETH = "cbETH"
|
|
109
|
+
CLANKER = "CLANKER"
|
|
110
|
+
COPI = "COPI"
|
|
100
111
|
CRV = "CRV"
|
|
101
112
|
CRV_USD = "crvUSD"
|
|
113
|
+
CYBER = "CYBER"
|
|
102
114
|
DAI = "DAI"
|
|
115
|
+
DOGINME = "DOGINME"
|
|
116
|
+
E_BTC = "eBTC"
|
|
103
117
|
ENS = "ENS"
|
|
118
|
+
ETH = "ETH"
|
|
119
|
+
ETHFI = "ETHFI"
|
|
104
120
|
ET_HX = "ETHx"
|
|
121
|
+
EURC = "EURC"
|
|
122
|
+
EUR = "EUR"
|
|
123
|
+
EURS = "EURS"
|
|
124
|
+
E_US_DE = "eUSDe"
|
|
125
|
+
EZ_ETH = "ezETH"
|
|
126
|
+
FBTC = "FBTC"
|
|
105
127
|
FRAX = "FRAX"
|
|
106
128
|
FXS = "FXS"
|
|
107
129
|
GHO = "GHO"
|
|
108
130
|
KNC = "KNC"
|
|
131
|
+
LBTC = "LBTC"
|
|
109
132
|
LDO = "LDO"
|
|
110
133
|
LINK = "LINK"
|
|
134
|
+
LS_ETH = "LsETH"
|
|
111
135
|
LUSD = "LUSD"
|
|
136
|
+
MAI = "MAI"
|
|
112
137
|
MKR = "MKR"
|
|
113
138
|
OS_ETH = "osETH"
|
|
139
|
+
PT_E_USDE_14_AUG2025 = "PT-eUSDE-14AUG2025"
|
|
140
|
+
PT_E_USDE_29_MAY2025 = "PT-eUSDE-29MAY2025"
|
|
141
|
+
PT_S_USDE_25_SEP2025 = "PT-sUSDE-25SEP2025"
|
|
142
|
+
PT_S_USDE_31_JUL2025 = "PT-sUSDE-31JUL2025"
|
|
143
|
+
PT_US_DE_31_JUL2025 = "PT-USDe-31JUL2025"
|
|
114
144
|
PYUSD = "PYUSD"
|
|
115
145
|
R_ETH = "rETH"
|
|
146
|
+
RLUSD = "RLUSD"
|
|
116
147
|
RPL = "RPL"
|
|
117
148
|
RS_ETH = "rsETH"
|
|
118
149
|
S_DAI = "sDAI"
|
|
@@ -121,39 +152,20 @@ class V1UniswapQuoteBuyExactlyTokenOutToken(str, Enum):
|
|
|
121
152
|
S_US_DE = "sUSDe"
|
|
122
153
|
T_BTC = "tBTC"
|
|
123
154
|
UNI = "UNI"
|
|
155
|
+
US_DB_C = "USDbC"
|
|
156
|
+
USD_CE = "USDCe"
|
|
124
157
|
USDC = "USDC"
|
|
125
158
|
US_DE = "USDe"
|
|
126
159
|
USDS = "USDS"
|
|
160
|
+
US_DTB = "USDtb"
|
|
127
161
|
USDT = "USDT"
|
|
162
|
+
VIRTUAL = "VIRTUAL"
|
|
128
163
|
WBTC = "WBTC"
|
|
129
164
|
WE_ETH = "weETH"
|
|
165
|
+
WELL = "WELL"
|
|
130
166
|
WETH = "WETH"
|
|
131
|
-
WST_ETH = "wstETH"
|
|
132
|
-
ARB = "ARB"
|
|
133
|
-
EURS = "EURS"
|
|
134
|
-
MAI = "MAI"
|
|
135
|
-
USD_CE = "USDCe"
|
|
136
|
-
ETH = "ETH"
|
|
137
|
-
AERO = "AERO"
|
|
138
|
-
EUR = "EUR"
|
|
139
|
-
VIRTUAL = "VIRTUAL"
|
|
140
|
-
EZ_ETH = "ezETH"
|
|
141
|
-
CYBER = "CYBER"
|
|
142
167
|
WRS_ETH = "wrsETH"
|
|
143
|
-
|
|
144
|
-
EURC = "EURC"
|
|
145
|
-
E_US_DE = "eUSDe"
|
|
146
|
-
FBTC = "FBTC"
|
|
147
|
-
LBTC = "LBTC"
|
|
148
|
-
PT_E_USDE_14_AUG2025 = "PT-eUSDE-14AUG2025"
|
|
149
|
-
PT_E_USDE_29_MAY2025 = "PT-eUSDE-29MAY2025"
|
|
150
|
-
PT_S_USDE_25_SEP2025 = "PT-sUSDE-25SEP2025"
|
|
151
|
-
PT_S_USDE_31_JUL2025 = "PT-sUSDE-31JUL2025"
|
|
152
|
-
PT_US_DE_31_JUL2025 = "PT-USDe-31JUL2025"
|
|
153
|
-
RLUSD = "RLUSD"
|
|
154
|
-
USD_0 = "USD₮0"
|
|
155
|
-
US_DB_C = "USDbC"
|
|
156
|
-
US_DTB = "USDtb"
|
|
168
|
+
WST_ETH = "wstETH"
|
|
157
169
|
|
|
158
170
|
|
|
159
171
|
class V1UniswapQuoteBuyExactlyFeeEnum(str, Enum):
|