compass_api_sdk 0.1.4__py3-none-any.whl → 0.1.5__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.4.dist-info → compass_api_sdk-0.1.5.dist-info}/METADATA +9 -1
- {compass_api_sdk-0.1.4.dist-info → compass_api_sdk-0.1.5.dist-info}/RECORD +18 -11
- compassapisdk/_version.py +2 -2
- compassapisdk/models/__init__.py +46 -0
- compassapisdk/models/contractname.py +3 -0
- compassapisdk/models/generic_allowanceop.py +3 -0
- compassapisdk/models/increaseallowanceparams.py +3 -0
- compassapisdk/models/increaseallowancerequest.py +3 -0
- compassapisdk/models/multicallactiontype.py +17 -17
- compassapisdk/models/sky_positionop.py +29 -0
- compassapisdk/models/skybuyrequest.py +56 -0
- compassapisdk/models/skycheckpositionresponse.py +18 -0
- compassapisdk/models/skydepositrequest.py +85 -0
- compassapisdk/models/skysellrequest.py +56 -0
- compassapisdk/models/skywithdrawrequest.py +75 -0
- compassapisdk/sdk.py +3 -0
- compassapisdk/sky.py +1075 -0
- {compass_api_sdk-0.1.4.dist-info → compass_api_sdk-0.1.5.dist-info}/WHEEL +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: compass_api_sdk
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.5
|
|
4
4
|
Summary: Compass API Python SDK
|
|
5
5
|
Author: royalnine
|
|
6
6
|
Requires-Python: >=3.9
|
|
@@ -234,6 +234,14 @@ with CompassAPISDK(
|
|
|
234
234
|
* [borrow](https://github.com/CompassLabs/mono/blob/master/docs/sdks/morpho/README.md#borrow) - Borrow from Market
|
|
235
235
|
* [repay](https://github.com/CompassLabs/mono/blob/master/docs/sdks/morpho/README.md#repay) - Repay to Market
|
|
236
236
|
|
|
237
|
+
### [sky](https://github.com/CompassLabs/mono/blob/master/docs/sdks/sky/README.md)
|
|
238
|
+
|
|
239
|
+
* [position](https://github.com/CompassLabs/mono/blob/master/docs/sdks/sky/README.md#position) - Check USDS Position
|
|
240
|
+
* [buy](https://github.com/CompassLabs/mono/blob/master/docs/sdks/sky/README.md#buy) - Buy USDS
|
|
241
|
+
* [sell](https://github.com/CompassLabs/mono/blob/master/docs/sdks/sky/README.md#sell) - Sell USDS
|
|
242
|
+
* [deposit](https://github.com/CompassLabs/mono/blob/master/docs/sdks/sky/README.md#deposit) - Deposit USDS
|
|
243
|
+
* [withdraw](https://github.com/CompassLabs/mono/blob/master/docs/sdks/sky/README.md#withdraw) - Withdraw USDS
|
|
244
|
+
|
|
237
245
|
### [token](https://github.com/CompassLabs/mono/blob/master/docs/sdks/tokensdk/README.md)
|
|
238
246
|
|
|
239
247
|
* [address](https://github.com/CompassLabs/mono/blob/master/docs/sdks/tokensdk/README.md#address) - Token Address
|
|
@@ -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=JFBTtEHhyBwGpX4WP15iln5fH6M2QTOrkPE4bD5L9ZQ,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
|
|
@@ -10,7 +10,7 @@ compassapisdk/errors/__init__.py,sha256=f8nyj2IhW5h_xtEeg6cfKgByLkqowLv0Fxm0hUof
|
|
|
10
10
|
compassapisdk/errors/apierror.py,sha256=9mTyJSyvUAOnSfW_1HWt9dGl8IDlpQ68DebwYsDNdug,528
|
|
11
11
|
compassapisdk/errors/httpvalidationerror.py,sha256=04VFnAPBDed4UQh3ar7i7PoqLXppLpv57B8Uv8SPRs0,665
|
|
12
12
|
compassapisdk/httpclient.py,sha256=lC-YQ7q4yiJGKElxBeb3aZnr-4aYxjgEpZ6roeXYlyg,4318
|
|
13
|
-
compassapisdk/models/__init__.py,sha256=
|
|
13
|
+
compassapisdk/models/__init__.py,sha256=0vzQ9ZsC1ZGzqvzz3EBv7-ByEatcwGzmBG4fGS86LT0,48388
|
|
14
14
|
compassapisdk/models/aave_liquidity_changeop.py,sha256=AXBq7EV4uVuOwR-aILqjm7ZiqHAsCKzHCQH67hGlIhc,2903
|
|
15
15
|
compassapisdk/models/aave_token_priceop.py,sha256=VaDm3W3eDRi4iDbHQGSX0sRKBA3_yFZNkv6r02x5P7k,2567
|
|
16
16
|
compassapisdk/models/aave_user_position_per_tokenop.py,sha256=pCo2os4NrJL94XXDDmw2HI-oDjjHqoOs2pYZZwWqDZQ,2837
|
|
@@ -54,18 +54,18 @@ compassapisdk/models/chain.py,sha256=4Nz8cgyDVSE-qV7YgJv1Qo8_ZRXOWW3e6KvBdqYqhO0
|
|
|
54
54
|
compassapisdk/models/chaininfo.py,sha256=E3wFVYtfZPOm-piSp53cpAkSpwEdeMhQmcWp2_ngNyA,1404
|
|
55
55
|
compassapisdk/models/compass_api_backend_models_morpho_read_response_get_markets_asset.py,sha256=OofYMiP2ReY-MJlPbpL6Gz77qgjYrQU6ZOmImzP83Kk,486
|
|
56
56
|
compassapisdk/models/compass_api_backend_models_morpho_read_response_get_vaults_asset.py,sha256=aejg8IwbRjhzx_zCYDXfH1aew24f6uePg1tZUMcNYfk,560
|
|
57
|
-
compassapisdk/models/contractname.py,sha256=
|
|
57
|
+
compassapisdk/models/contractname.py,sha256=DJHzH2A2fydQrhrQIg9JzrNY7r7BfH_qwZfV6bpbNe4,1395
|
|
58
58
|
compassapisdk/models/ensnameinforesponse.py,sha256=yDo15mrFR69Sc8SOQYuaWtgH-8rvXuNopToyHWZ80Iw,624
|
|
59
59
|
compassapisdk/models/feeenum.py,sha256=TIYaeNWCG9KFGV7CZeXHvZ_4tmlqdlk-Pcg04pc7ynM,363
|
|
60
|
-
compassapisdk/models/generic_allowanceop.py,sha256=
|
|
60
|
+
compassapisdk/models/generic_allowanceop.py,sha256=pZZq_Ysz81Uht7PCAZwffpzmZNbEOIxKFO1e3HuESxQ,3661
|
|
61
61
|
compassapisdk/models/generic_ensop.py,sha256=amD90QfMshWIkNR7hLt1GLzkSS5mhItt1gEghxjCJ80,1134
|
|
62
62
|
compassapisdk/models/generic_portfolioop.py,sha256=14hiv83wTip8HuJzzBJv8s7nToiiJQEs0A8RdxmoZQs,1193
|
|
63
63
|
compassapisdk/models/generic_supported_tokensop.py,sha256=GWziJWcG0d5yaiurdbsQ5WsjUNEeMSfY-Th9U1tvAoM,986
|
|
64
64
|
compassapisdk/models/generic_visualize_portfolioop.py,sha256=1j7Jxok9JceFK7mLnbLhxJ7f121LSYN_skpvs_RPy5E,1247
|
|
65
65
|
compassapisdk/models/image.py,sha256=LAyCDYZQPmAdUxMzoABbB38ww5QmQb_qsXHSak9kBY0,353
|
|
66
66
|
compassapisdk/models/increaseallowanceanyparams.py,sha256=F79UZ43SIIbuSJR0CayxEAEWD4O4Vh5pvCHlsYFQRR4,1849
|
|
67
|
-
compassapisdk/models/increaseallowanceparams.py,sha256=
|
|
68
|
-
compassapisdk/models/increaseallowancerequest.py,sha256=
|
|
67
|
+
compassapisdk/models/increaseallowanceparams.py,sha256=fwIxNByJa-vSoe0b-EqyPDuo5k_awsWe1-t20NhU4OE,2426
|
|
68
|
+
compassapisdk/models/increaseallowancerequest.py,sha256=X9bSpRdrJcZdiTUgjXfiMkhFcVgP4BN5LNsON07ZuyI,2682
|
|
69
69
|
compassapisdk/models/interestratemode.py,sha256=OmOKBSJD0y9O9LuA0rajVkvxiEuU-xiQAuoiHYFmp5s,341
|
|
70
70
|
compassapisdk/models/marketstate.py,sha256=5AUQoipevX6QpvA7oC4eifRWhh5H6JAqCa1hGM7QSeU,963
|
|
71
71
|
compassapisdk/models/morpho_market_positionop.py,sha256=eQzsG0qX8-a2UELamTWY-Rm47fLUfrC3-4YM5Xvwj2E,1380
|
|
@@ -86,13 +86,19 @@ 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=jDAhBR5OwLavsNeCFVxqavVwQrcJNYfs_1FdAGz05-o,1686
|
|
90
90
|
compassapisdk/models/multicallauthorizationrequest.py,sha256=XS9woPTOv-BpcAI9gTPQH7FccPQFTbYpaXYFlmHyc5U,1065
|
|
91
91
|
compassapisdk/models/multicallauthorizationresponse.py,sha256=1dqpVqEn8w3SHOa7Cbcxxrg51SZIOh5eiEvOPAigeUk,912
|
|
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
95
|
compassapisdk/models/signedauthorization.py,sha256=3CxjKIUCYxkX8alcbrFUipz5R2mnTGpTUwyZeik3Fl4,1457
|
|
96
|
+
compassapisdk/models/sky_positionop.py,sha256=GP2D9jnEPDCbmrjXG9XV9EenniCBg2AgoqDmVg8QQEQ,1016
|
|
97
|
+
compassapisdk/models/skybuyrequest.py,sha256=cJdVuDeTXeXC_4wys9s3CDbflbWuzw2DJIXMtzTL4UQ,1784
|
|
98
|
+
compassapisdk/models/skycheckpositionresponse.py,sha256=m7K-48h8bzzfxhzojDzFCI9bWU4wjDjj_5fmjgMBzVI,566
|
|
99
|
+
compassapisdk/models/skydepositrequest.py,sha256=BnAKDDcRwUAn5JrvLbvl9isJcphHXX3R-acIxBaL5o4,2757
|
|
100
|
+
compassapisdk/models/skysellrequest.py,sha256=mmNfpAPVgYtiFDV842LwhuTp2yBnYc-AoojI7WMDvTE,1804
|
|
101
|
+
compassapisdk/models/skywithdrawrequest.py,sha256=uB0gW6580RDGAS4Bz9tPkJXfqYCUcuJJWG_WnhF8a5s,2449
|
|
96
102
|
compassapisdk/models/token_addressop.py,sha256=X42WBSj8_qr8ziqt8x5nCk7qPuL191QnUVJP1qvuOlA,2547
|
|
97
103
|
compassapisdk/models/token_balanceop.py,sha256=FahoWzzIWH88VNH0EvlT8dFE10yQLs5RNkIffY5i3X0,1525
|
|
98
104
|
compassapisdk/models/token_enum.py,sha256=klu_nFSPn35oWFaduBEjRQm5WjkNOpZztRVj0FucuK4,1166
|
|
@@ -136,8 +142,9 @@ compassapisdk/models/wrapethparams.py,sha256=b6bTGS0yl-hdjFL7Zkvr6gn43pbRA4rXKKy
|
|
|
136
142
|
compassapisdk/models/wrapethrequest.py,sha256=VPi4k2ux_vKBMSQ4WSIsebGCvD-L-x5pc0bxeGTu2Ho,1075
|
|
137
143
|
compassapisdk/morpho.py,sha256=QNciVFYk1cOZKk1vVQWFsSiCyLPdwqR2BUYO8kc23RA,107050
|
|
138
144
|
compassapisdk/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
|
139
|
-
compassapisdk/sdk.py,sha256=
|
|
145
|
+
compassapisdk/sdk.py,sha256=Ep8fR0FgKCm3fJuhP-9AQTE7SINVZf90c1ZsgajwuGQ,6079
|
|
140
146
|
compassapisdk/sdkconfiguration.py,sha256=7E5phJ61y6iIyIoiUbGUHPPdXWHJLU--SR2U2CDVDcU,1752
|
|
147
|
+
compassapisdk/sky.py,sha256=T8UFAP1BZpQnLeJC8rwrgwxHOkYkOXM6Iut-U92Op14,42431
|
|
141
148
|
compassapisdk/token_sdk.py,sha256=qMofaYnyFVJKwmcIvDuUWg101GEytJ9AmQ1Dh_FeugI,34556
|
|
142
149
|
compassapisdk/transaction_batching.py,sha256=g0iARmcZdaz3d-dnRz6Y2aSFbGOoa21wmRWiwZiLdzo,19159
|
|
143
150
|
compassapisdk/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
|
|
@@ -160,6 +167,6 @@ compassapisdk/utils/security.py,sha256=ktep3HKwbFs-MLxUYTM8Jd4v-ZBum5_Z0u1PFIdYB
|
|
|
160
167
|
compassapisdk/utils/serializers.py,sha256=hiHBXM1AY8_N2Z_rvFfNSYwvLBkSQlPGFp8poasdU4s,5986
|
|
161
168
|
compassapisdk/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
|
162
169
|
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.
|
|
170
|
+
compass_api_sdk-0.1.5.dist-info/METADATA,sha256=P6ANDz9GJJw0G0zNRAf77ORSqiJnClPJx8YH3g6v8aU,24219
|
|
171
|
+
compass_api_sdk-0.1.5.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
|
172
|
+
compass_api_sdk-0.1.5.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.5"
|
|
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.5 2.596.2 0.0.1 compass_api_sdk"
|
|
10
10
|
|
|
11
11
|
try:
|
|
12
12
|
if __package__ is not None:
|
compassapisdk/models/__init__.py
CHANGED
|
@@ -431,6 +431,32 @@ from .signedauthorization import (
|
|
|
431
431
|
SignedAuthorization,
|
|
432
432
|
SignedAuthorizationTypedDict,
|
|
433
433
|
)
|
|
434
|
+
from .sky_positionop import SkyPositionRequest, SkyPositionRequestTypedDict
|
|
435
|
+
from .skybuyrequest import (
|
|
436
|
+
SkyBuyRequest,
|
|
437
|
+
SkyBuyRequestAmount,
|
|
438
|
+
SkyBuyRequestAmountTypedDict,
|
|
439
|
+
SkyBuyRequestTypedDict,
|
|
440
|
+
TokenIn,
|
|
441
|
+
)
|
|
442
|
+
from .skycheckpositionresponse import (
|
|
443
|
+
SkyCheckPositionResponse,
|
|
444
|
+
SkyCheckPositionResponseTypedDict,
|
|
445
|
+
)
|
|
446
|
+
from .skydepositrequest import (
|
|
447
|
+
SkyDepositRequest,
|
|
448
|
+
SkyDepositRequestAmount,
|
|
449
|
+
SkyDepositRequestAmountTypedDict,
|
|
450
|
+
SkyDepositRequestTypedDict,
|
|
451
|
+
)
|
|
452
|
+
from .skysellrequest import (
|
|
453
|
+
SkySellRequest,
|
|
454
|
+
SkySellRequestAmount,
|
|
455
|
+
SkySellRequestAmountTypedDict,
|
|
456
|
+
SkySellRequestTypedDict,
|
|
457
|
+
TokenOut,
|
|
458
|
+
)
|
|
459
|
+
from .skywithdrawrequest import SkyWithdrawRequest, SkyWithdrawRequestTypedDict
|
|
434
460
|
from .token_addressop import (
|
|
435
461
|
TokenAddressChain,
|
|
436
462
|
TokenAddressRequest,
|
|
@@ -984,6 +1010,24 @@ __all__ = [
|
|
|
984
1010
|
"SecurityTypedDict",
|
|
985
1011
|
"SignedAuthorization",
|
|
986
1012
|
"SignedAuthorizationTypedDict",
|
|
1013
|
+
"SkyBuyRequest",
|
|
1014
|
+
"SkyBuyRequestAmount",
|
|
1015
|
+
"SkyBuyRequestAmountTypedDict",
|
|
1016
|
+
"SkyBuyRequestTypedDict",
|
|
1017
|
+
"SkyCheckPositionResponse",
|
|
1018
|
+
"SkyCheckPositionResponseTypedDict",
|
|
1019
|
+
"SkyDepositRequest",
|
|
1020
|
+
"SkyDepositRequestAmount",
|
|
1021
|
+
"SkyDepositRequestAmountTypedDict",
|
|
1022
|
+
"SkyDepositRequestTypedDict",
|
|
1023
|
+
"SkyPositionRequest",
|
|
1024
|
+
"SkyPositionRequestTypedDict",
|
|
1025
|
+
"SkySellRequest",
|
|
1026
|
+
"SkySellRequestAmount",
|
|
1027
|
+
"SkySellRequestAmountTypedDict",
|
|
1028
|
+
"SkySellRequestTypedDict",
|
|
1029
|
+
"SkyWithdrawRequest",
|
|
1030
|
+
"SkyWithdrawRequestTypedDict",
|
|
987
1031
|
"TokenAddressChain",
|
|
988
1032
|
"TokenAddressRequest",
|
|
989
1033
|
"TokenAddressRequestTypedDict",
|
|
@@ -1000,8 +1044,10 @@ __all__ = [
|
|
|
1000
1044
|
"TokenBalanceTokenTypedDict",
|
|
1001
1045
|
"TokenBalanceTypedDict",
|
|
1002
1046
|
"TokenEnum",
|
|
1047
|
+
"TokenIn",
|
|
1003
1048
|
"TokenInfo",
|
|
1004
1049
|
"TokenInfoTypedDict",
|
|
1050
|
+
"TokenOut",
|
|
1005
1051
|
"TokenPriceChain",
|
|
1006
1052
|
"TokenPriceRequest",
|
|
1007
1053
|
"TokenPriceRequestTypedDict",
|
|
@@ -31,4 +31,7 @@ class ContractName(str, Enum):
|
|
|
31
31
|
MORPHO = "Morpho"
|
|
32
32
|
MORPHO_VAULT = "MorphoVault"
|
|
33
33
|
MORPHO_ORACLE = "MorphoOracle"
|
|
34
|
+
SKY_DAI_USDS_CONVERTER = "SkyDaiUsdsConverter"
|
|
35
|
+
SKY_USDC_USDS_CONVERTER = "SkyUsdcUsdsConverter"
|
|
36
|
+
SKY_USDS_VAULT = "SkyUsdsVault"
|
|
34
37
|
MULTICALL = "Multicall"
|
|
@@ -82,6 +82,9 @@ class GenericAllowanceContractName(str, Enum):
|
|
|
82
82
|
UNISWAP_V3_ROUTER = "UniswapV3Router"
|
|
83
83
|
UNISWAP_V3_NFT_POSITION_MANAGER = "UniswapV3NFTPositionManager"
|
|
84
84
|
MORPHO = "Morpho"
|
|
85
|
+
SKY_DAI_USDS_CONVERTER = "SkyDaiUsdsConverter"
|
|
86
|
+
SKY_USDC_USDS_CONVERTER = "SkyUsdcUsdsConverter"
|
|
87
|
+
SKY_USDS_VAULT = "SkyUsdsVault"
|
|
85
88
|
|
|
86
89
|
|
|
87
90
|
class GenericAllowanceRequestTypedDict(TypedDict):
|
|
@@ -20,6 +20,9 @@ class IncreaseAllowanceParamsContractName(str, Enum):
|
|
|
20
20
|
UNISWAP_V3_ROUTER = "UniswapV3Router"
|
|
21
21
|
UNISWAP_V3_NFT_POSITION_MANAGER = "UniswapV3NFTPositionManager"
|
|
22
22
|
MORPHO = "Morpho"
|
|
23
|
+
SKY_DAI_USDS_CONVERTER = "SkyDaiUsdsConverter"
|
|
24
|
+
SKY_USDC_USDS_CONVERTER = "SkyUsdcUsdsConverter"
|
|
25
|
+
SKY_USDS_VAULT = "SkyUsdsVault"
|
|
23
26
|
|
|
24
27
|
|
|
25
28
|
IncreaseAllowanceParamsAmountTypedDict = TypeAliasType(
|
|
@@ -21,6 +21,9 @@ class IncreaseAllowanceRequestContractName(str, Enum):
|
|
|
21
21
|
UNISWAP_V3_ROUTER = "UniswapV3Router"
|
|
22
22
|
UNISWAP_V3_NFT_POSITION_MANAGER = "UniswapV3NFTPositionManager"
|
|
23
23
|
MORPHO = "Morpho"
|
|
24
|
+
SKY_DAI_USDS_CONVERTER = "SkyDaiUsdsConverter"
|
|
25
|
+
SKY_USDC_USDS_CONVERTER = "SkyUsdcUsdsConverter"
|
|
26
|
+
SKY_USDS_VAULT = "SkyUsdsVault"
|
|
24
27
|
|
|
25
28
|
|
|
26
29
|
IncreaseAllowanceRequestAmountTypedDict = TypeAliasType(
|
|
@@ -5,29 +5,29 @@ from enum import Enum
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
class MulticallActionType(str, Enum):
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
WRAP_ETH = "WRAP_ETH"
|
|
9
|
+
AERODROME_BASIC_SWAP_ETH_FOR_TOKEN = "AERODROME_BASIC_SWAP_ETH_FOR_TOKEN"
|
|
10
10
|
ALLOWANCE_INCREASE_ANY = "ALLOWANCE_INCREASE_ANY"
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
UNISWAP_WITHDRAW_LIQUIDITY = "UNISWAP_WITHDRAW_LIQUIDITY"
|
|
12
|
+
AERODROME_BASIC_REMOVE_LIQUIDITY = "AERODROME_BASIC_REMOVE_LIQUIDITY"
|
|
13
|
+
AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY = "AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY"
|
|
14
|
+
AERODROME_SLIPSTREAM_SELL_EXACTLY = "AERODROME_SLIPSTREAM_SELL_EXACTLY"
|
|
13
15
|
UNISWAP_BUY_EXACTLY = "UNISWAP_BUY_EXACTLY"
|
|
14
|
-
AERODROME_BASIC_ADD_LIQUIDITY = "AERODROME_BASIC_ADD_LIQUIDITY"
|
|
15
|
-
AERODROME_BASIC_REMOVE_LIQUIDITY_ETH = "AERODROME_BASIC_REMOVE_LIQUIDITY_ETH"
|
|
16
|
-
AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY = "AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY"
|
|
17
16
|
AAVE_WITHDRAW = "AAVE_WITHDRAW"
|
|
18
|
-
AERODROME_BASIC_REMOVE_LIQUIDITY = "AERODROME_BASIC_REMOVE_LIQUIDITY"
|
|
19
|
-
AERODROME_BASIC_SWAP_TOKEN_FOR_ETH = "AERODROME_BASIC_SWAP_TOKEN_FOR_ETH"
|
|
20
|
-
ALLOWANCE_INCREASE = "ALLOWANCE_INCREASE"
|
|
21
|
-
WRAP_ETH = "WRAP_ETH"
|
|
22
17
|
UNISWAP_MINT_LIQUIDITY = "UNISWAP_MINT_LIQUIDITY"
|
|
23
|
-
|
|
24
|
-
AERODROME_BASIC_SWAP_ETH_FOR_TOKEN = "AERODROME_BASIC_SWAP_ETH_FOR_TOKEN"
|
|
25
|
-
AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY = "AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY"
|
|
26
|
-
AERODROME_BASIC_ADD_LIQUIDITY_ETH = "AERODROME_BASIC_ADD_LIQUIDITY_ETH"
|
|
18
|
+
AERODROME_BASIC_SWAP_TOKEN_FOR_ETH = "AERODROME_BASIC_SWAP_TOKEN_FOR_ETH"
|
|
27
19
|
AERODROME_SLIPSTREAM_MINT_LIQUIDITY = "AERODROME_SLIPSTREAM_MINT_LIQUIDITY"
|
|
20
|
+
UNISWAP_SELL_EXACTLY = "UNISWAP_SELL_EXACTLY"
|
|
21
|
+
AAVE_BORROW = "AAVE_BORROW"
|
|
22
|
+
AAVE_SUPPLY = "AAVE_SUPPLY"
|
|
28
23
|
AERODROME_SLIPSTREAM_BUY_EXACTLY = "AERODROME_SLIPSTREAM_BUY_EXACTLY"
|
|
29
24
|
TRANSFER_ERC20 = "TRANSFER_ERC20"
|
|
30
|
-
|
|
25
|
+
ALLOWANCE_INCREASE = "ALLOWANCE_INCREASE"
|
|
26
|
+
AERODROME_BASIC_REMOVE_LIQUIDITY_ETH = "AERODROME_BASIC_REMOVE_LIQUIDITY_ETH"
|
|
27
|
+
AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY = "AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY"
|
|
31
28
|
UNWRAP_WETH = "UNWRAP_WETH"
|
|
32
|
-
|
|
29
|
+
AERODROME_BASIC_SWAP_TOKEN = "AERODROME_BASIC_SWAP_TOKEN"
|
|
30
|
+
AERODROME_BASIC_ADD_LIQUIDITY_ETH = "AERODROME_BASIC_ADD_LIQUIDITY_ETH"
|
|
31
|
+
AERODROME_BASIC_ADD_LIQUIDITY = "AERODROME_BASIC_ADD_LIQUIDITY"
|
|
33
32
|
UNISWAP_ADD_LIQUIDITY = "UNISWAP_ADD_LIQUIDITY"
|
|
33
|
+
AAVE_REPAY = "AAVE_REPAY"
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from compassapisdk.types import BaseModel
|
|
5
|
+
from compassapisdk.utils import FieldMetadata, QueryParamMetadata, validate_const
|
|
6
|
+
import pydantic
|
|
7
|
+
from pydantic.functional_validators import AfterValidator
|
|
8
|
+
from typing import Literal, Optional
|
|
9
|
+
from typing_extensions import Annotated, TypedDict
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class SkyPositionRequestTypedDict(TypedDict):
|
|
13
|
+
chain: Literal["ethereum:mainnet"]
|
|
14
|
+
user_address: str
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class SkyPositionRequest(BaseModel):
|
|
18
|
+
CHAIN: Annotated[
|
|
19
|
+
Annotated[
|
|
20
|
+
Optional[Literal["ethereum:mainnet"]],
|
|
21
|
+
AfterValidator(validate_const("ethereum:mainnet")),
|
|
22
|
+
],
|
|
23
|
+
pydantic.Field(alias="chain"),
|
|
24
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
25
|
+
] = "ethereum:mainnet"
|
|
26
|
+
|
|
27
|
+
user_address: Annotated[
|
|
28
|
+
str, FieldMetadata(query=QueryParamMetadata(style="form", explode=True))
|
|
29
|
+
] = "0xa829B388A3DF7f581cE957a95edbe419dd146d1B"
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from compassapisdk.types import BaseModel
|
|
5
|
+
from compassapisdk.utils import validate_const
|
|
6
|
+
from enum import Enum
|
|
7
|
+
import pydantic
|
|
8
|
+
from pydantic.functional_validators import AfterValidator
|
|
9
|
+
from typing import Literal, Optional, Union
|
|
10
|
+
from typing_extensions import Annotated, TypeAliasType, TypedDict
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class TokenIn(str, Enum):
|
|
14
|
+
r"""The token you would like to swap 1:1 for USDS. Choose from DAI or USDC."""
|
|
15
|
+
|
|
16
|
+
DAI = "DAI"
|
|
17
|
+
USDC = "USDC"
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
SkyBuyRequestAmountTypedDict = TypeAliasType(
|
|
21
|
+
"SkyBuyRequestAmountTypedDict", Union[float, str]
|
|
22
|
+
)
|
|
23
|
+
r"""The amount of USDS you would like to buy 1:1 with 'token_in'."""
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
SkyBuyRequestAmount = TypeAliasType("SkyBuyRequestAmount", Union[float, str])
|
|
27
|
+
r"""The amount of USDS you would like to buy 1:1 with 'token_in'."""
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
class SkyBuyRequestTypedDict(TypedDict):
|
|
31
|
+
token_in: TokenIn
|
|
32
|
+
r"""The token you would like to swap 1:1 for USDS. Choose from DAI or USDC."""
|
|
33
|
+
amount: SkyBuyRequestAmountTypedDict
|
|
34
|
+
r"""The amount of USDS you would like to buy 1:1 with 'token_in'."""
|
|
35
|
+
sender: str
|
|
36
|
+
r"""The address of the transaction sender."""
|
|
37
|
+
chain: Literal["ethereum:mainnet"]
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
class SkyBuyRequest(BaseModel):
|
|
41
|
+
token_in: TokenIn
|
|
42
|
+
r"""The token you would like to swap 1:1 for USDS. Choose from DAI or USDC."""
|
|
43
|
+
|
|
44
|
+
amount: SkyBuyRequestAmount
|
|
45
|
+
r"""The amount of USDS you would like to buy 1:1 with 'token_in'."""
|
|
46
|
+
|
|
47
|
+
sender: str
|
|
48
|
+
r"""The address of the transaction sender."""
|
|
49
|
+
|
|
50
|
+
CHAIN: Annotated[
|
|
51
|
+
Annotated[
|
|
52
|
+
Optional[Literal["ethereum:mainnet"]],
|
|
53
|
+
AfterValidator(validate_const("ethereum:mainnet")),
|
|
54
|
+
],
|
|
55
|
+
pydantic.Field(alias="chain"),
|
|
56
|
+
] = "ethereum:mainnet"
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from compassapisdk.types import BaseModel
|
|
5
|
+
from typing_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class SkyCheckPositionResponseTypedDict(TypedDict):
|
|
9
|
+
usds_value_of_deposits: str
|
|
10
|
+
r"""The USDS equivalent value of the user's deposits thus far (principal + yield)."""
|
|
11
|
+
shares: int
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class SkyCheckPositionResponse(BaseModel):
|
|
15
|
+
usds_value_of_deposits: str
|
|
16
|
+
r"""The USDS equivalent value of the user's deposits thus far (principal + yield)."""
|
|
17
|
+
|
|
18
|
+
shares: int
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from compassapisdk.types import (
|
|
5
|
+
BaseModel,
|
|
6
|
+
Nullable,
|
|
7
|
+
OptionalNullable,
|
|
8
|
+
UNSET,
|
|
9
|
+
UNSET_SENTINEL,
|
|
10
|
+
)
|
|
11
|
+
from compassapisdk.utils import validate_const
|
|
12
|
+
import pydantic
|
|
13
|
+
from pydantic import model_serializer
|
|
14
|
+
from pydantic.functional_validators import AfterValidator
|
|
15
|
+
from typing import Literal, Optional, Union
|
|
16
|
+
from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
SkyDepositRequestAmountTypedDict = TypeAliasType(
|
|
20
|
+
"SkyDepositRequestAmountTypedDict", Union[float, str]
|
|
21
|
+
)
|
|
22
|
+
r"""The amount of USDS you would like to deposit for sUSDS to earn yield."""
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
SkyDepositRequestAmount = TypeAliasType("SkyDepositRequestAmount", Union[float, str])
|
|
26
|
+
r"""The amount of USDS you would like to deposit for sUSDS to earn yield."""
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class SkyDepositRequestTypedDict(TypedDict):
|
|
30
|
+
amount: SkyDepositRequestAmountTypedDict
|
|
31
|
+
r"""The amount of USDS you would like to deposit for sUSDS to earn yield."""
|
|
32
|
+
sender: str
|
|
33
|
+
r"""The address of the transaction sender."""
|
|
34
|
+
receiver: NotRequired[Nullable[str]]
|
|
35
|
+
r"""The address which will receive the sUSDS. Defaults to the sender."""
|
|
36
|
+
chain: Literal["ethereum:mainnet"]
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
class SkyDepositRequest(BaseModel):
|
|
40
|
+
amount: SkyDepositRequestAmount
|
|
41
|
+
r"""The amount of USDS you would like to deposit for sUSDS to earn yield."""
|
|
42
|
+
|
|
43
|
+
sender: str
|
|
44
|
+
r"""The address of the transaction sender."""
|
|
45
|
+
|
|
46
|
+
receiver: OptionalNullable[str] = UNSET
|
|
47
|
+
r"""The address which will receive the sUSDS. Defaults to the sender."""
|
|
48
|
+
|
|
49
|
+
CHAIN: Annotated[
|
|
50
|
+
Annotated[
|
|
51
|
+
Optional[Literal["ethereum:mainnet"]],
|
|
52
|
+
AfterValidator(validate_const("ethereum:mainnet")),
|
|
53
|
+
],
|
|
54
|
+
pydantic.Field(alias="chain"),
|
|
55
|
+
] = "ethereum:mainnet"
|
|
56
|
+
|
|
57
|
+
@model_serializer(mode="wrap")
|
|
58
|
+
def serialize_model(self, handler):
|
|
59
|
+
optional_fields = ["receiver", "chain"]
|
|
60
|
+
nullable_fields = ["receiver"]
|
|
61
|
+
null_default_fields = []
|
|
62
|
+
|
|
63
|
+
serialized = handler(self)
|
|
64
|
+
|
|
65
|
+
m = {}
|
|
66
|
+
|
|
67
|
+
for n, f in type(self).model_fields.items():
|
|
68
|
+
k = f.alias or n
|
|
69
|
+
val = serialized.get(k)
|
|
70
|
+
serialized.pop(k, None)
|
|
71
|
+
|
|
72
|
+
optional_nullable = k in optional_fields and k in nullable_fields
|
|
73
|
+
is_set = (
|
|
74
|
+
self.__pydantic_fields_set__.intersection({n})
|
|
75
|
+
or k in null_default_fields
|
|
76
|
+
) # pylint: disable=no-member
|
|
77
|
+
|
|
78
|
+
if val is not None and val != UNSET_SENTINEL:
|
|
79
|
+
m[k] = val
|
|
80
|
+
elif val != UNSET_SENTINEL and (
|
|
81
|
+
not k in optional_fields or (optional_nullable and is_set)
|
|
82
|
+
):
|
|
83
|
+
m[k] = val
|
|
84
|
+
|
|
85
|
+
return m
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from compassapisdk.types import BaseModel
|
|
5
|
+
from compassapisdk.utils import validate_const
|
|
6
|
+
from enum import Enum
|
|
7
|
+
import pydantic
|
|
8
|
+
from pydantic.functional_validators import AfterValidator
|
|
9
|
+
from typing import Literal, Optional, Union
|
|
10
|
+
from typing_extensions import Annotated, TypeAliasType, TypedDict
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class TokenOut(str, Enum):
|
|
14
|
+
r"""The token you would like to swap 1:1 with USDS. Choose from DAI or USDC."""
|
|
15
|
+
|
|
16
|
+
DAI = "DAI"
|
|
17
|
+
USDC = "USDC"
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
SkySellRequestAmountTypedDict = TypeAliasType(
|
|
21
|
+
"SkySellRequestAmountTypedDict", Union[float, str]
|
|
22
|
+
)
|
|
23
|
+
r"""The amount of USDS you would like to sell 1:1 for 'token_out'."""
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
SkySellRequestAmount = TypeAliasType("SkySellRequestAmount", Union[float, str])
|
|
27
|
+
r"""The amount of USDS you would like to sell 1:1 for 'token_out'."""
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
class SkySellRequestTypedDict(TypedDict):
|
|
31
|
+
token_out: TokenOut
|
|
32
|
+
r"""The token you would like to swap 1:1 with USDS. Choose from DAI or USDC."""
|
|
33
|
+
amount: SkySellRequestAmountTypedDict
|
|
34
|
+
r"""The amount of USDS you would like to sell 1:1 for 'token_out'."""
|
|
35
|
+
sender: str
|
|
36
|
+
r"""The address of the transaction sender."""
|
|
37
|
+
chain: Literal["ethereum:mainnet"]
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
class SkySellRequest(BaseModel):
|
|
41
|
+
token_out: TokenOut
|
|
42
|
+
r"""The token you would like to swap 1:1 with USDS. Choose from DAI or USDC."""
|
|
43
|
+
|
|
44
|
+
amount: SkySellRequestAmount
|
|
45
|
+
r"""The amount of USDS you would like to sell 1:1 for 'token_out'."""
|
|
46
|
+
|
|
47
|
+
sender: str
|
|
48
|
+
r"""The address of the transaction sender."""
|
|
49
|
+
|
|
50
|
+
CHAIN: Annotated[
|
|
51
|
+
Annotated[
|
|
52
|
+
Optional[Literal["ethereum:mainnet"]],
|
|
53
|
+
AfterValidator(validate_const("ethereum:mainnet")),
|
|
54
|
+
],
|
|
55
|
+
pydantic.Field(alias="chain"),
|
|
56
|
+
] = "ethereum:mainnet"
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from compassapisdk.types import (
|
|
5
|
+
BaseModel,
|
|
6
|
+
Nullable,
|
|
7
|
+
OptionalNullable,
|
|
8
|
+
UNSET,
|
|
9
|
+
UNSET_SENTINEL,
|
|
10
|
+
)
|
|
11
|
+
from compassapisdk.utils import validate_const
|
|
12
|
+
import pydantic
|
|
13
|
+
from pydantic import model_serializer
|
|
14
|
+
from pydantic.functional_validators import AfterValidator
|
|
15
|
+
from typing import Any, Literal, Optional
|
|
16
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class SkyWithdrawRequestTypedDict(TypedDict):
|
|
20
|
+
amount: Any
|
|
21
|
+
r"""The amount of USDS you would like to withdraw. If set to 'ALL', your total deposited USDS amount will be withdrawn."""
|
|
22
|
+
sender: str
|
|
23
|
+
r"""The address of the transaction sender."""
|
|
24
|
+
receiver: NotRequired[Nullable[str]]
|
|
25
|
+
r"""The address which will receive the withdrawn USDS. Defaults to the sender."""
|
|
26
|
+
chain: Literal["ethereum:mainnet"]
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class SkyWithdrawRequest(BaseModel):
|
|
30
|
+
amount: Any
|
|
31
|
+
r"""The amount of USDS you would like to withdraw. If set to 'ALL', your total deposited USDS amount will be withdrawn."""
|
|
32
|
+
|
|
33
|
+
sender: str
|
|
34
|
+
r"""The address of the transaction sender."""
|
|
35
|
+
|
|
36
|
+
receiver: OptionalNullable[str] = UNSET
|
|
37
|
+
r"""The address which will receive the withdrawn USDS. Defaults to the sender."""
|
|
38
|
+
|
|
39
|
+
CHAIN: Annotated[
|
|
40
|
+
Annotated[
|
|
41
|
+
Optional[Literal["ethereum:mainnet"]],
|
|
42
|
+
AfterValidator(validate_const("ethereum:mainnet")),
|
|
43
|
+
],
|
|
44
|
+
pydantic.Field(alias="chain"),
|
|
45
|
+
] = "ethereum:mainnet"
|
|
46
|
+
|
|
47
|
+
@model_serializer(mode="wrap")
|
|
48
|
+
def serialize_model(self, handler):
|
|
49
|
+
optional_fields = ["receiver", "chain"]
|
|
50
|
+
nullable_fields = ["receiver"]
|
|
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
|
compassapisdk/sdk.py
CHANGED
|
@@ -10,6 +10,7 @@ from compassapisdk._hooks import SDKHooks
|
|
|
10
10
|
from compassapisdk.aave_v3 import AaveV3
|
|
11
11
|
from compassapisdk.aerodrome_slipstream import AerodromeSlipstream
|
|
12
12
|
from compassapisdk.morpho import Morpho
|
|
13
|
+
from compassapisdk.sky import Sky
|
|
13
14
|
from compassapisdk.token_sdk import TokenSDK
|
|
14
15
|
from compassapisdk.transaction_batching import TransactionBatching
|
|
15
16
|
from compassapisdk.types import OptionalNullable, UNSET
|
|
@@ -26,6 +27,7 @@ class CompassAPISDK(BaseSDK):
|
|
|
26
27
|
aave_v3: AaveV3
|
|
27
28
|
aerodrome_slipstream: AerodromeSlipstream
|
|
28
29
|
morpho: Morpho
|
|
30
|
+
sky: Sky
|
|
29
31
|
token: TokenSDK
|
|
30
32
|
uniswap_v3: UniswapV3
|
|
31
33
|
universal: Universal
|
|
@@ -130,6 +132,7 @@ class CompassAPISDK(BaseSDK):
|
|
|
130
132
|
self.aave_v3 = AaveV3(self.sdk_configuration)
|
|
131
133
|
self.aerodrome_slipstream = AerodromeSlipstream(self.sdk_configuration)
|
|
132
134
|
self.morpho = Morpho(self.sdk_configuration)
|
|
135
|
+
self.sky = Sky(self.sdk_configuration)
|
|
133
136
|
self.token = TokenSDK(self.sdk_configuration)
|
|
134
137
|
self.uniswap_v3 = UniswapV3(self.sdk_configuration)
|
|
135
138
|
self.universal = Universal(self.sdk_configuration)
|