compass_api_sdk 0.1.1__py3-none-any.whl → 0.1.3__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-0.1.1.dist-info → compass_api_sdk-0.1.3.dist-info}/METADATA +1 -1
- {compass_api_sdk-0.1.1.dist-info → compass_api_sdk-0.1.3.dist-info}/RECORD +6 -6
- compassapisdk/_version.py +2 -2
- compassapisdk/models/multicallactiontype.py +19 -19
- compassapisdk/models/signedauthorization.py +16 -0
- {compass_api_sdk-0.1.1.dist-info → compass_api_sdk-0.1.3.dist-info}/WHEEL +0 -0
|
@@ -2,7 +2,7 @@ compassapisdk/__init__.py,sha256=w2u919V3Tzv4zEPQ-OYJ79gQ_4_SyW7GOFFoHtqXDFA,401
|
|
|
2
2
|
compassapisdk/_hooks/__init__.py,sha256=p5J13DeYuISQyQWirjJAObHIf2VtIlOtFqnIpvjjVwk,118
|
|
3
3
|
compassapisdk/_hooks/sdkhooks.py,sha256=kiWg7ywp9SXriA5uvAnxmFLFcDREJjDWtccd7Fo6LJI,2501
|
|
4
4
|
compassapisdk/_hooks/types.py,sha256=vkJdvFkHgRiCPz2IDtGma15FzU2YxIlrqxk1zWUDJTM,2816
|
|
5
|
-
compassapisdk/_version.py,sha256=
|
|
5
|
+
compassapisdk/_version.py,sha256=RJOrnw8njPGDowObVsa_EBoiA4QZX7wOiH0cVDpOXi8,472
|
|
6
6
|
compassapisdk/aave_v3.py,sha256=XmyB77MKR5aF83ng0q5LzxsHSJTYSE_dFSuSP-6JEjg,80048
|
|
7
7
|
compassapisdk/aerodrome_slipstream.py,sha256=cyZ0k6FhI8MRboXDPL2QV7T8SVyiaWYzCKFaAGqeiJE,83383
|
|
8
8
|
compassapisdk/basesdk.py,sha256=jeaXGkGBhWBQ288Xjctv30WbB5pxBCYgb42Ezyj6GgU,12130
|
|
@@ -86,13 +86,13 @@ compassapisdk/models/morphovault.py,sha256=fNQC_pO_AYr9xqWPpwXuNIA8u4QoyQyc8Jrw_
|
|
|
86
86
|
compassapisdk/models/morphowithdrawcollateralrequest.py,sha256=pjvLW17QosvVz-piRg5FK20VNs38PZOM0Jg4ET3vD40,3109
|
|
87
87
|
compassapisdk/models/morphowithdrawrequest.py,sha256=M0pNwAFEO4jp2sZN14a8E0VF89JXQYLeWncFuEwsC6s,2307
|
|
88
88
|
compassapisdk/models/multicallaction.py,sha256=kgdxYUmremPPiu4qeTOV7vWGKuXuv6cpzA67fIkaLVg,6068
|
|
89
|
-
compassapisdk/models/multicallactiontype.py,sha256=
|
|
89
|
+
compassapisdk/models/multicallactiontype.py,sha256=iuvAMgWsitTGrNqtfak3XyHJiymhlw0jsJ-WFn0dmvE,1686
|
|
90
90
|
compassapisdk/models/multicallauthorizationrequest.py,sha256=XS9woPTOv-BpcAI9gTPQH7FccPQFTbYpaXYFlmHyc5U,1065
|
|
91
91
|
compassapisdk/models/multicallauthorizationresponse.py,sha256=-6neACVx94wNTkILp_tsJEvmklT5AbNLaPKi-xovgAs,1023
|
|
92
92
|
compassapisdk/models/multicallexecuterequest.py,sha256=mo64ndwPS_rqKef5AqfmJSvDUk00TXSokzm-Re6VsIQ,1103
|
|
93
93
|
compassapisdk/models/portfolio.py,sha256=9DLJngi8giXW-JdqyiYM-2OT4KKe2qbzw6A0zW23YCI,685
|
|
94
94
|
compassapisdk/models/security.py,sha256=lYtADQ6XmY_YcTSJ_JWdRMk-dUhKH-7d2Bw61iCmrOk,631
|
|
95
|
-
compassapisdk/models/signedauthorization.py,sha256=
|
|
95
|
+
compassapisdk/models/signedauthorization.py,sha256=3CxjKIUCYxkX8alcbrFUipz5R2mnTGpTUwyZeik3Fl4,1457
|
|
96
96
|
compassapisdk/models/token_addressop.py,sha256=lr8Z4iIHc_oLbikAAtstTks1J-K9jWiHuQVodj67HaE,2441
|
|
97
97
|
compassapisdk/models/token_balanceop.py,sha256=4-d6bsQp4WU5lHnXZ2FgfbFoynBkwcfHOsaVkNe-6BI,1419
|
|
98
98
|
compassapisdk/models/token_enum.py,sha256=klu_nFSPn35oWFaduBEjRQm5WjkNOpZztRVj0FucuK4,1166
|
|
@@ -160,6 +160,6 @@ compassapisdk/utils/security.py,sha256=ktep3HKwbFs-MLxUYTM8Jd4v-ZBum5_Z0u1PFIdYB
|
|
|
160
160
|
compassapisdk/utils/serializers.py,sha256=hiHBXM1AY8_N2Z_rvFfNSYwvLBkSQlPGFp8poasdU4s,5986
|
|
161
161
|
compassapisdk/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
|
162
162
|
compassapisdk/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
|
|
163
|
-
compass_api_sdk-0.1.
|
|
164
|
-
compass_api_sdk-0.1.
|
|
165
|
-
compass_api_sdk-0.1.
|
|
163
|
+
compass_api_sdk-0.1.3.dist-info/METADATA,sha256=AzKWnE0BtubGGY0UE3IStKTkOeP1sJp6cJ1aSPamqfk,23612
|
|
164
|
+
compass_api_sdk-0.1.3.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
|
165
|
+
compass_api_sdk-0.1.3.dist-info/RECORD,,
|
compassapisdk/_version.py
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import importlib.metadata
|
|
4
4
|
|
|
5
5
|
__title__: str = "compass_api_sdk"
|
|
6
|
-
__version__: str = "0.1.
|
|
6
|
+
__version__: str = "0.1.3"
|
|
7
7
|
__openapi_doc_version__: str = "0.0.1"
|
|
8
8
|
__gen_version__: str = "2.596.2"
|
|
9
|
-
__user_agent__: str = "speakeasy-sdk/python 0.1.
|
|
9
|
+
__user_agent__: str = "speakeasy-sdk/python 0.1.3 2.596.2 0.0.1 compass_api_sdk"
|
|
10
10
|
|
|
11
11
|
try:
|
|
12
12
|
if __package__ is not None:
|
|
@@ -5,29 +5,29 @@ from enum import Enum
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
class MulticallActionType(str, Enum):
|
|
8
|
-
|
|
8
|
+
ALLOWANCE_INCREASE_ANY = "ALLOWANCE_INCREASE_ANY"
|
|
9
9
|
TRANSFER_ERC20 = "TRANSFER_ERC20"
|
|
10
|
-
|
|
11
|
-
UNISWAP_ADD_LIQUIDITY = "UNISWAP_ADD_LIQUIDITY"
|
|
12
|
-
AERODROME_BASIC_SWAP_ETH_FOR_TOKEN = "AERODROME_BASIC_SWAP_ETH_FOR_TOKEN"
|
|
13
|
-
AERODROME_BASIC_ADD_LIQUIDITY = "AERODROME_BASIC_ADD_LIQUIDITY"
|
|
14
|
-
ALLOWANCE_INCREASE = "ALLOWANCE_INCREASE"
|
|
15
|
-
UNISWAP_SELL_EXACTLY = "UNISWAP_SELL_EXACTLY"
|
|
16
|
-
AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY = "AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY"
|
|
17
|
-
AERODROME_BASIC_ADD_LIQUIDITY_ETH = "AERODROME_BASIC_ADD_LIQUIDITY_ETH"
|
|
18
|
-
AERODROME_BASIC_REMOVE_LIQUIDITY = "AERODROME_BASIC_REMOVE_LIQUIDITY"
|
|
19
|
-
AAVE_SUPPLY = "AAVE_SUPPLY"
|
|
20
|
-
UNISWAP_WITHDRAW_LIQUIDITY = "UNISWAP_WITHDRAW_LIQUIDITY"
|
|
10
|
+
UNISWAP_MINT_LIQUIDITY = "UNISWAP_MINT_LIQUIDITY"
|
|
21
11
|
AAVE_BORROW = "AAVE_BORROW"
|
|
12
|
+
AERODROME_BASIC_REMOVE_LIQUIDITY = "AERODROME_BASIC_REMOVE_LIQUIDITY"
|
|
22
13
|
AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY = "AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY"
|
|
23
|
-
|
|
24
|
-
UNISWAP_MINT_LIQUIDITY = "UNISWAP_MINT_LIQUIDITY"
|
|
25
|
-
ALLOWANCE_INCREASE_ANY = "ALLOWANCE_INCREASE_ANY"
|
|
14
|
+
UNISWAP_WITHDRAW_LIQUIDITY = "UNISWAP_WITHDRAW_LIQUIDITY"
|
|
26
15
|
UNISWAP_BUY_EXACTLY = "UNISWAP_BUY_EXACTLY"
|
|
27
|
-
|
|
28
|
-
|
|
16
|
+
AERODROME_SLIPSTREAM_BUY_EXACTLY = "AERODROME_SLIPSTREAM_BUY_EXACTLY"
|
|
17
|
+
AAVE_SUPPLY = "AAVE_SUPPLY"
|
|
18
|
+
AERODROME_BASIC_ADD_LIQUIDITY = "AERODROME_BASIC_ADD_LIQUIDITY"
|
|
29
19
|
AAVE_REPAY = "AAVE_REPAY"
|
|
30
|
-
AAVE_WITHDRAW = "AAVE_WITHDRAW"
|
|
31
20
|
UNWRAP_WETH = "UNWRAP_WETH"
|
|
32
|
-
|
|
21
|
+
UNISWAP_SELL_EXACTLY = "UNISWAP_SELL_EXACTLY"
|
|
22
|
+
AERODROME_BASIC_REMOVE_LIQUIDITY_ETH = "AERODROME_BASIC_REMOVE_LIQUIDITY_ETH"
|
|
23
|
+
UNISWAP_ADD_LIQUIDITY = "UNISWAP_ADD_LIQUIDITY"
|
|
24
|
+
AERODROME_BASIC_SWAP_TOKEN = "AERODROME_BASIC_SWAP_TOKEN"
|
|
25
|
+
AAVE_WITHDRAW = "AAVE_WITHDRAW"
|
|
26
|
+
AERODROME_BASIC_ADD_LIQUIDITY_ETH = "AERODROME_BASIC_ADD_LIQUIDITY_ETH"
|
|
33
27
|
AERODROME_SLIPSTREAM_SELL_EXACTLY = "AERODROME_SLIPSTREAM_SELL_EXACTLY"
|
|
28
|
+
AERODROME_BASIC_SWAP_TOKEN_FOR_ETH = "AERODROME_BASIC_SWAP_TOKEN_FOR_ETH"
|
|
29
|
+
ALLOWANCE_INCREASE = "ALLOWANCE_INCREASE"
|
|
30
|
+
AERODROME_BASIC_SWAP_ETH_FOR_TOKEN = "AERODROME_BASIC_SWAP_ETH_FOR_TOKEN"
|
|
31
|
+
AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY = "AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY"
|
|
32
|
+
WRAP_ETH = "WRAP_ETH"
|
|
33
|
+
AERODROME_SLIPSTREAM_MINT_LIQUIDITY = "AERODROME_SLIPSTREAM_MINT_LIQUIDITY"
|
|
@@ -8,35 +8,51 @@ from typing_extensions import Annotated, TypeAliasType, TypedDict
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
RTypedDict = TypeAliasType("RTypedDict", Union[int, str])
|
|
11
|
+
r"""The r value of the signature"""
|
|
11
12
|
|
|
12
13
|
|
|
13
14
|
R = TypeAliasType("R", Union[int, str])
|
|
15
|
+
r"""The r value of the signature"""
|
|
14
16
|
|
|
15
17
|
|
|
16
18
|
STypedDict = TypeAliasType("STypedDict", Union[int, str])
|
|
19
|
+
r"""The s value of the signature"""
|
|
17
20
|
|
|
18
21
|
|
|
19
22
|
S = TypeAliasType("S", Union[int, str])
|
|
23
|
+
r"""The s value of the signature"""
|
|
20
24
|
|
|
21
25
|
|
|
22
26
|
class SignedAuthorizationTypedDict(TypedDict):
|
|
23
27
|
nonce: int
|
|
28
|
+
r"""The nonce of the authorization"""
|
|
24
29
|
address: str
|
|
30
|
+
r"""The address of the authorization"""
|
|
25
31
|
chain_id: int
|
|
32
|
+
r"""The chain ID"""
|
|
26
33
|
r: RTypedDict
|
|
34
|
+
r"""The r value of the signature"""
|
|
27
35
|
s: STypedDict
|
|
36
|
+
r"""The s value of the signature"""
|
|
28
37
|
y_parity: int
|
|
38
|
+
r"""The y-parity of the signature (0 or 1)"""
|
|
29
39
|
|
|
30
40
|
|
|
31
41
|
class SignedAuthorization(BaseModel):
|
|
32
42
|
nonce: int
|
|
43
|
+
r"""The nonce of the authorization"""
|
|
33
44
|
|
|
34
45
|
address: str
|
|
46
|
+
r"""The address of the authorization"""
|
|
35
47
|
|
|
36
48
|
chain_id: Annotated[int, pydantic.Field(alias="chainId")]
|
|
49
|
+
r"""The chain ID"""
|
|
37
50
|
|
|
38
51
|
r: R
|
|
52
|
+
r"""The r value of the signature"""
|
|
39
53
|
|
|
40
54
|
s: S
|
|
55
|
+
r"""The s value of the signature"""
|
|
41
56
|
|
|
42
57
|
y_parity: Annotated[int, pydantic.Field(alias="yParity")]
|
|
58
|
+
r"""The y-parity of the signature (0 or 1)"""
|
|
File without changes
|