compass_api_sdk 0.9.21__py3-none-any.whl → 0.9.23__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 +2 -2
- compass_api_sdk/aave_v3.py +12 -12
- compass_api_sdk/models/__init__.py +89 -80
- compass_api_sdk/models/aave_historical_transactionsop.py +2 -2
- compass_api_sdk/models/aave_user_position_per_tokenop.py +2 -2
- compass_api_sdk/models/aave_user_position_summaryop.py +2 -2
- compass_api_sdk/models/generic_allowanceop.py +21 -11
- compass_api_sdk/models/setallowanceparams.py +95 -0
- compass_api_sdk/models/setallowancerequest.py +108 -0
- compass_api_sdk/models/useroperation.py +19 -25
- compass_api_sdk/models/vaultdepositrequest.py +98 -0
- compass_api_sdk/models/vaultwithdrawrequest.py +86 -0
- compass_api_sdk/morpho.py +0 -234
- compass_api_sdk/sdk.py +3 -0
- compass_api_sdk/universal.py +36 -28
- compass_api_sdk/vaults_erc_4626_.py +477 -0
- {compass_api_sdk-0.9.21.dist-info → compass_api_sdk-0.9.23.dist-info}/METADATA +6 -2
- {compass_api_sdk-0.9.21.dist-info → compass_api_sdk-0.9.23.dist-info}/RECORD +19 -18
- compass_api_sdk/models/increaseallowanceparams.py +0 -86
- compass_api_sdk/models/increaseallowancerequest.py +0 -97
- compass_api_sdk/models/morphosetvaultallowanceparams.py +0 -45
- compass_api_sdk/models/morphosetvaultallowancerequest.py +0 -59
- {compass_api_sdk-0.9.21.dist-info → compass_api_sdk-0.9.23.dist-info}/WHEEL +0 -0
|
@@ -2,24 +2,24 @@ compass_api_sdk/__init__.py,sha256=w2u919V3Tzv4zEPQ-OYJ79gQ_4_SyW7GOFFoHtqXDFA,4
|
|
|
2
2
|
compass_api_sdk/_hooks/__init__.py,sha256=p5J13DeYuISQyQWirjJAObHIf2VtIlOtFqnIpvjjVwk,118
|
|
3
3
|
compass_api_sdk/_hooks/sdkhooks.py,sha256=eVxHB2Q_JG6zZx5xn74i208ij-fpTHqq2jod6fbghRQ,2503
|
|
4
4
|
compass_api_sdk/_hooks/types.py,sha256=4qXm6dEntJOC2QeOdTklcc53oFzTU3HBb1xGdZ-kBXY,3059
|
|
5
|
-
compass_api_sdk/_version.py,sha256=
|
|
6
|
-
compass_api_sdk/aave_v3.py,sha256=
|
|
5
|
+
compass_api_sdk/_version.py,sha256=HVVIbm37_crehadja8tVNP6rtt8V8oWfkZDkgJX4j9I,474
|
|
6
|
+
compass_api_sdk/aave_v3.py,sha256=Poen4EBbCJPpYeOKXIt0L14yuOyPg029S0zoLl5goG8,126376
|
|
7
7
|
compass_api_sdk/aerodrome_slipstream.py,sha256=xGt8wnAItW8w6kgnqfwDrsX24qw8TIhsD8fRhxta7Bs,83443
|
|
8
8
|
compass_api_sdk/basesdk.py,sha256=xDxC-X-LHCwtVy8SPM6nckSu1NmF8uKhHUUQd3X-syo,11810
|
|
9
9
|
compass_api_sdk/errors/__init__.py,sha256=V3vSSmUvxXtgwHL60IBI0MzLWll8h373LvT3el17p5Q,1289
|
|
10
10
|
compass_api_sdk/errors/apierror.py,sha256=9mTyJSyvUAOnSfW_1HWt9dGl8IDlpQ68DebwYsDNdug,528
|
|
11
11
|
compass_api_sdk/errors/httpvalidationerror.py,sha256=KBdpK3fYQoeMB-3m9dLKiMYimFN7B9VLma6YqMKX5k0,671
|
|
12
12
|
compass_api_sdk/httpclient.py,sha256=Eu73urOAiZQtdUIyOUnPccxCiBbWEKrXG-JrRG3SLM4,3946
|
|
13
|
-
compass_api_sdk/models/__init__.py,sha256=
|
|
13
|
+
compass_api_sdk/models/__init__.py,sha256=RzfA7qGaQPtpQ1xa-Qe0DqblMvWe_vFjQPSnfq3RZKg,118265
|
|
14
14
|
compass_api_sdk/models/aave_avg_rateop.py,sha256=Qn7IkBwZv5zY_L15V_LONkANzQPTbtmK2Wwhc2iqYz8,3718
|
|
15
|
-
compass_api_sdk/models/aave_historical_transactionsop.py,sha256=
|
|
15
|
+
compass_api_sdk/models/aave_historical_transactionsop.py,sha256=pbxL9xGpxTowN2bS_sqHL0dOUHtMGx03jp-xN16LoDI,1785
|
|
16
16
|
compass_api_sdk/models/aave_liquidity_changeop.py,sha256=o9G4dD2foyhbunziTv_177Qr2AK37KTIQsQfvPxo5Fs,2785
|
|
17
17
|
compass_api_sdk/models/aave_rateop.py,sha256=XXSijtbokJT2U1rOoqjLr80Sff8ttbUmzv4GsU6XogY,3479
|
|
18
18
|
compass_api_sdk/models/aave_reserve_overviewop.py,sha256=aVsX994CYVHFxhCkNC4nXezjaPA5GfKTkKrgCWITXR4,3525
|
|
19
19
|
compass_api_sdk/models/aave_std_rateop.py,sha256=H7D_0KPFWPUXksWnAE75ZqMzPh_cAlgCA5QbXcNcy-Y,3742
|
|
20
20
|
compass_api_sdk/models/aave_token_priceop.py,sha256=VoybSuyqgeXfU08dvKwlXLj559jckT770zAuWmgMu3A,3517
|
|
21
|
-
compass_api_sdk/models/aave_user_position_per_tokenop.py,sha256=
|
|
22
|
-
compass_api_sdk/models/aave_user_position_summaryop.py,sha256=
|
|
21
|
+
compass_api_sdk/models/aave_user_position_per_tokenop.py,sha256=qXHygjZTN-fMFGUGvITj7_GZVGw4TFv0I0sn-XPQEFY,3927
|
|
22
|
+
compass_api_sdk/models/aave_user_position_summaryop.py,sha256=iwpJgUadi-q_X-i2gyHEhQwILf_PgoiYwHkRRzET0DA,2480
|
|
23
23
|
compass_api_sdk/models/aaveavgrateresponse.py,sha256=q_MArkpvKD2WdjxV7fljIHfnCbBytjddcj4m6UUGkR0,1330
|
|
24
24
|
compass_api_sdk/models/aaveborrowparams.py,sha256=Sb_i4KtK1ZVGGzkt7WU391cJzCryRpPp2m6vg7Du9Z8,3309
|
|
25
25
|
compass_api_sdk/models/aaveborrowrequest.py,sha256=IUHTHTa3icfr9esg4owq98SyckK2rzOX-odpVFn6l8w,3568
|
|
@@ -79,14 +79,12 @@ compass_api_sdk/models/details.py,sha256=3nlDe5Po20HFWWc31iX-6wOfMdveE76JpNf-Kp9
|
|
|
79
79
|
compass_api_sdk/models/ensnameinforesponse.py,sha256=p7y3TYD3lApa8hzHTCKDUEmSpmH2QmJAHG7wzef9rLk,626
|
|
80
80
|
compass_api_sdk/models/erc20data.py,sha256=u-Ln_Wj4mpuW5sk1Ull0ir8dJwYRU4Ij7C75R51pZmY,357
|
|
81
81
|
compass_api_sdk/models/feeenum.py,sha256=TIYaeNWCG9KFGV7CZeXHvZ_4tmlqdlk-Pcg04pc7ynM,363
|
|
82
|
-
compass_api_sdk/models/generic_allowanceop.py,sha256=
|
|
82
|
+
compass_api_sdk/models/generic_allowanceop.py,sha256=EVcwAOVm-VhTHxJYHlgmQkGrsF30b_fEJh8VNI-boOw,3327
|
|
83
83
|
compass_api_sdk/models/generic_ensop.py,sha256=xH9v260Dw_eF_IAlQqO7eqOKRDNDNV2519ze7VO31CM,1104
|
|
84
84
|
compass_api_sdk/models/generic_portfolioop.py,sha256=jtsFkKQCYx2cbhK1LKtMB5RjVAAeRhVF2K5CpgoM74U,1175
|
|
85
85
|
compass_api_sdk/models/generic_supported_tokensop.py,sha256=5ZNzAxmcnaxpGqAn2AoIqdGx0LDF4EnU102mVOXxlO4,884
|
|
86
86
|
compass_api_sdk/models/generic_visualize_portfolioop.py,sha256=FGVWUHvzG8GODN2OFE6yP7ppRLa4H7hclfz00l72sKE,1229
|
|
87
87
|
compass_api_sdk/models/image.py,sha256=-qB_S9WX6YZYVKVqTdnB79f57zjrO2G-hYwBxp-KJDQ,355
|
|
88
|
-
compass_api_sdk/models/increaseallowanceparams.py,sha256=U_kSWJZi4th3MGC-q2q0p6qbCqsuHjjzKjMX7aV8rbY,3098
|
|
89
|
-
compass_api_sdk/models/increaseallowancerequest.py,sha256=6HIxKQJSCQa0vIP0GIclxIsAnvdHjbxoH3O6WYeYmZk,3360
|
|
90
88
|
compass_api_sdk/models/interestratemode.py,sha256=OmOKBSJD0y9O9LuA0rajVkvxiEuU-xiQAuoiHYFmp5s,341
|
|
91
89
|
compass_api_sdk/models/liquidationcall.py,sha256=-HEwFMuiD2p8x04VQHlnYqlOdvhr0jXrZ6ksmxlffUw,2019
|
|
92
90
|
compass_api_sdk/models/liquidity.py,sha256=WOPaK4SXj2C5TBLZlfoaQbcnzhcmFCEUFz59mOw1KeM,328
|
|
@@ -115,8 +113,6 @@ compass_api_sdk/models/morphogetvaultsresponse.py,sha256=b5LuGh9anPCWX8GJb6N0SQG
|
|
|
115
113
|
compass_api_sdk/models/morphomarket.py,sha256=APfUKsnjZ6x8KvNY8P1PJ7h-AKgFWTMBeYeGAM58Yac,2850
|
|
116
114
|
compass_api_sdk/models/morphorepayparams.py,sha256=n5VPRyJVcckqXrM92NhfccZuHltoj3xCMpJ7hLzjBzM,3053
|
|
117
115
|
compass_api_sdk/models/morphorepayrequest.py,sha256=Zd6FXTKAoM-6eILpEKECYbVDdovfchqXBSnuc-UcvWI,3401
|
|
118
|
-
compass_api_sdk/models/morphosetvaultallowanceparams.py,sha256=L7z9eTPqeUc4b4lbc1D0ZMEXzV1GjgiLtrzsWfxMkwk,1605
|
|
119
|
-
compass_api_sdk/models/morphosetvaultallowancerequest.py,sha256=qyOg86T7Xa3_CaFeVhHHHuSHGfDsSzOm-hHe0G-Z2Y0,1995
|
|
120
116
|
compass_api_sdk/models/morphosupplycollateralparams.py,sha256=rR0OQ2BHsadGVFK5lYCLTLn-jzwQvjaPGog9uGu9pa8,3421
|
|
121
117
|
compass_api_sdk/models/morphosupplycollateralrequest.py,sha256=n6pXX1ZBmyxKcn22q3Uw52TBeFqFNVbiF6aQXFDYXrg,3808
|
|
122
118
|
compass_api_sdk/models/morphovault.py,sha256=OGcgGuVw8YFbakjyXu_nly9MoL9C0OwYg0a1LXnEQrM,1609
|
|
@@ -158,6 +154,8 @@ compass_api_sdk/models/redeemunderlying.py,sha256=YK6I29RAeIgE4gfxyjgoUiktxqFAnJ
|
|
|
158
154
|
compass_api_sdk/models/repay.py,sha256=dCDDG9BvJOnT-OgEs013t7l5xG0r-5M_BUxal4cfU0I,1482
|
|
159
155
|
compass_api_sdk/models/reserve.py,sha256=AScfYjYx6PYkgxF2zTr-BrzsGx8ZQl3SV27bZ_xGNro,2217
|
|
160
156
|
compass_api_sdk/models/security.py,sha256=BasQuckaYjsfuGyucbeYAKSDcEuhcvoNT8ZkUsi48Sk,635
|
|
157
|
+
compass_api_sdk/models/setallowanceparams.py,sha256=O_yMvJlMbbuWfYGMeDKwHVGbhHvKeT7tr1uT_NoPPGw,3365
|
|
158
|
+
compass_api_sdk/models/setallowancerequest.py,sha256=e5Ped7YbICPdl-A4s3S_E66Z0NhioY4KxbAcTUNbsNc,3625
|
|
161
159
|
compass_api_sdk/models/signedauthorization.py,sha256=UT7Zozfqm8DQ66RAdYPm44vEhBJUGf4SZtdvDzz1nc0,1459
|
|
162
160
|
compass_api_sdk/models/sky_positionop.py,sha256=q1hxWCM3WfLfzX4C5o9ur2KchlHC0ZJgO9iDok2Tz3U,1126
|
|
163
161
|
compass_api_sdk/models/skybuyparams.py,sha256=LazlLKy3a5XoWT6vDVBLJwfv6bagyh9e3y7ffv6ApdQ,1652
|
|
@@ -209,20 +207,22 @@ compass_api_sdk/models/unsignedtransaction.py,sha256=DHPEOKI-xgmu7tLiVxsv4JJp93k
|
|
|
209
207
|
compass_api_sdk/models/unwrapwethparams.py,sha256=ChsTqUYi88jHqkeRVIskzfBHAPyI_J2fBJqR81Qc6dg,1308
|
|
210
208
|
compass_api_sdk/models/unwrapwethrequest.py,sha256=pt-eqvKWN6qir5bN6d9EWBZIDrXs_51z7X8ODoFzLWU,1561
|
|
211
209
|
compass_api_sdk/models/usageascollateral.py,sha256=hHBgh83BO9WA6u-9xzTvBlPOLoiYV1N21G6vDeo_b30,1561
|
|
212
|
-
compass_api_sdk/models/useroperation.py,sha256=
|
|
210
|
+
compass_api_sdk/models/useroperation.py,sha256=oxm4nj0hIhGE821-MTBoQ6x3DrLOi1XbzVXJtrOpaLw,8850
|
|
213
211
|
compass_api_sdk/models/useroperationresponse.py,sha256=z0o0N-EC30XlrkFiR3vLO_EXbpXojUCJlWQxuOir5VM,671
|
|
214
212
|
compass_api_sdk/models/userstate.py,sha256=xK6ZrhqogPE32JH7J4i1_oK7KxYkmebJU-jfcBp8FOo,1003
|
|
215
213
|
compass_api_sdk/models/validationerror.py,sha256=01WnpU7Tgin0B_poO97_hl6b5CNJ_9VGzpcmoeJs4GU,532
|
|
216
214
|
compass_api_sdk/models/vault.py,sha256=ttepBiKO4o7-C97oALWOYAcN7ALDXmBFBcbQV_nfwO4,1849
|
|
215
|
+
compass_api_sdk/models/vaultdepositrequest.py,sha256=GXYfXNlMmExOxjgabMDFjRS4kjHovuofGNz9DHO1TDQ,3136
|
|
217
216
|
compass_api_sdk/models/vaultposition.py,sha256=o_Nyjc7GB5lLi11yCO6cp8nZpIvJcZzGB1iL_oCJUA0,801
|
|
217
|
+
compass_api_sdk/models/vaultwithdrawrequest.py,sha256=w4STTo4hqAZ6OtCgflHlaKquFCDWyTEa399tURyFgTo,2758
|
|
218
218
|
compass_api_sdk/models/weeklyapys.py,sha256=AaGjDD4NeGsZQBwdRW1G09Pmx17pLPe2oUA9M21jQgY,675
|
|
219
219
|
compass_api_sdk/models/wrapethparams.py,sha256=nw1fZiDrj5wZnI25Vmg0DcNI01k-uhot68lG1_H7xrY,1223
|
|
220
220
|
compass_api_sdk/models/wrapethrequest.py,sha256=pjo0BZtzdOZKuwgnc05LsCWO1A6ZAGLwFixLuXQNKDg,1476
|
|
221
221
|
compass_api_sdk/models/yieldrange.py,sha256=WEpZR24JddnCS1_13y2P1CdD0lBi6dPktysCNu3TUic,324
|
|
222
|
-
compass_api_sdk/morpho.py,sha256=
|
|
222
|
+
compass_api_sdk/morpho.py,sha256=VicnfLvVR2L8tMh3NIE4c1ozN1YtbJ1TaD-1CN9l04s,124858
|
|
223
223
|
compass_api_sdk/pendle.py,sha256=CJSKzhNdsItMkYdzz9c2HLg455BYlePvk-TWC90qvxc,99652
|
|
224
224
|
compass_api_sdk/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
|
225
|
-
compass_api_sdk/sdk.py,sha256=
|
|
225
|
+
compass_api_sdk/sdk.py,sha256=7MlpimDy9F7Yalkcn_PyjViVn8AKvu1gQLAQU0UROZY,7867
|
|
226
226
|
compass_api_sdk/sdkconfiguration.py,sha256=5nec4ViMLCsNWBd3DyEv8zWqU5Z77YZfzwX69jkdSnM,1607
|
|
227
227
|
compass_api_sdk/sky.py,sha256=oZcj2VX26yc-nMTo5WIktz97mAjZT1J0K2IHvi_m3oM,43965
|
|
228
228
|
compass_api_sdk/smart_account.py,sha256=-uMbE_v4WvnqGGj2ZKsJrBBByV904qm37l5spUa2OxE,9370
|
|
@@ -231,7 +231,7 @@ compass_api_sdk/transaction_bundler.py,sha256=e5pDqD6ZIw9wmxilgvqt8--evS7o9bCx1I
|
|
|
231
231
|
compass_api_sdk/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
|
|
232
232
|
compass_api_sdk/types/basemodel.py,sha256=L79WXvTECbSqaJzs8D3ud_KdIWkU7Cx2wbohDAktE9E,1127
|
|
233
233
|
compass_api_sdk/uniswap_v3.py,sha256=qRCWOkXbpHKWMHpgvXlioflGog4L5TIUWY5F456bpi4,109087
|
|
234
|
-
compass_api_sdk/universal.py,sha256=
|
|
234
|
+
compass_api_sdk/universal.py,sha256=wsCKlFtrA0UNEe8ATv5cX1icLV6XmfwVpIbYNEqNsIs,71015
|
|
235
235
|
compass_api_sdk/utils/__init__.py,sha256=811KKdkxMaWDfz2lMohUWqrR4JnIWxqeNQ1lRGQU4DM,5341
|
|
236
236
|
compass_api_sdk/utils/annotations.py,sha256=aR7mZG34FzgRdew7WZPYEu9QGBerpuKxCF4sek5Z_5Y,1699
|
|
237
237
|
compass_api_sdk/utils/datetimes.py,sha256=oppAA5e3V35pQov1-FNLKxAaNF1_XWi-bQtyjjql3H8,855
|
|
@@ -248,6 +248,7 @@ compass_api_sdk/utils/security.py,sha256=ktep3HKwbFs-MLxUYTM8Jd4v-ZBum5_Z0u1PFId
|
|
|
248
248
|
compass_api_sdk/utils/serializers.py,sha256=hiHBXM1AY8_N2Z_rvFfNSYwvLBkSQlPGFp8poasdU4s,5986
|
|
249
249
|
compass_api_sdk/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
|
250
250
|
compass_api_sdk/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
|
|
251
|
-
compass_api_sdk
|
|
252
|
-
compass_api_sdk-0.9.
|
|
253
|
-
compass_api_sdk-0.9.
|
|
251
|
+
compass_api_sdk/vaults_erc_4626_.py,sha256=TEAtjcyVn6IWC4rs89VLLp4L99K7aCIm5irNH3y-8So,19487
|
|
252
|
+
compass_api_sdk-0.9.23.dist-info/METADATA,sha256=g1RMGxeAilVlzKSzREmoubyhvxrtHduLcFob_Pt9NpU,26910
|
|
253
|
+
compass_api_sdk-0.9.23.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
254
|
+
compass_api_sdk-0.9.23.dist-info/RECORD,,
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
from .token_enum import TokenEnum
|
|
5
|
-
from compass_api_sdk.types import BaseModel
|
|
6
|
-
from compass_api_sdk.utils import validate_const
|
|
7
|
-
from enum import Enum
|
|
8
|
-
import pydantic
|
|
9
|
-
from pydantic.functional_validators import AfterValidator
|
|
10
|
-
from typing import Literal, Optional, Union
|
|
11
|
-
from typing_extensions import Annotated, TypeAliasType, TypedDict
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
IncreaseAllowanceParamsTokenTypedDict = TypeAliasType(
|
|
15
|
-
"IncreaseAllowanceParamsTokenTypedDict", Union[TokenEnum, str]
|
|
16
|
-
)
|
|
17
|
-
r"""The symbol or address of the token for which the allowance is increased.."""
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
IncreaseAllowanceParamsToken = TypeAliasType(
|
|
21
|
-
"IncreaseAllowanceParamsToken", Union[TokenEnum, str]
|
|
22
|
-
)
|
|
23
|
-
r"""The symbol or address of the token for which the allowance is increased.."""
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
class IncreaseAllowanceParamsContractName(str, Enum):
|
|
27
|
-
r"""The name of the contract to increase allowance for."""
|
|
28
|
-
|
|
29
|
-
AAVE_V3_POOL = "AaveV3Pool"
|
|
30
|
-
AERODROME_BASIC_ROUTER = "AerodromeBasicRouter"
|
|
31
|
-
AERODROME_SLIPSTREAM_ROUTER = "AerodromeSlipstreamRouter"
|
|
32
|
-
AERODROME_SLIPSTREAM_NONFUNGIBLE_POSITION_MANAGER = (
|
|
33
|
-
"AerodromeSlipstreamNonfungiblePositionManager"
|
|
34
|
-
)
|
|
35
|
-
UNISWAP_V3_ROUTER = "UniswapV3Router"
|
|
36
|
-
UNISWAP_V3_NFT_POSITION_MANAGER = "UniswapV3NFTPositionManager"
|
|
37
|
-
MORPHO = "Morpho"
|
|
38
|
-
SKY_DAI_USDS_CONVERTER = "SkyDaiUsdsConverter"
|
|
39
|
-
SKY_USDC_USDS_CONVERTER = "SkyUsdcUsdsConverter"
|
|
40
|
-
SKY_USDS_VAULT = "SkyUsdsVault"
|
|
41
|
-
PENDLE_ROUTER = "PendleRouter"
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
IncreaseAllowanceParamsAmountTypedDict = TypeAliasType(
|
|
45
|
-
"IncreaseAllowanceParamsAmountTypedDict", Union[float, str]
|
|
46
|
-
)
|
|
47
|
-
r"""The amount to increase the allowance to."""
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
IncreaseAllowanceParamsAmount = TypeAliasType(
|
|
51
|
-
"IncreaseAllowanceParamsAmount", Union[float, str]
|
|
52
|
-
)
|
|
53
|
-
r"""The amount to increase the allowance to."""
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
class IncreaseAllowanceParamsTypedDict(TypedDict):
|
|
57
|
-
r"""Parameters model for increasing token allowance for a contract."""
|
|
58
|
-
|
|
59
|
-
token: IncreaseAllowanceParamsTokenTypedDict
|
|
60
|
-
r"""The symbol or address of the token for which the allowance is increased.."""
|
|
61
|
-
contract_name: IncreaseAllowanceParamsContractName
|
|
62
|
-
r"""The name of the contract to increase allowance for."""
|
|
63
|
-
amount: IncreaseAllowanceParamsAmountTypedDict
|
|
64
|
-
r"""The amount to increase the allowance to."""
|
|
65
|
-
action_type: Literal["ALLOWANCE_INCREASE"]
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
class IncreaseAllowanceParams(BaseModel):
|
|
69
|
-
r"""Parameters model for increasing token allowance for a contract."""
|
|
70
|
-
|
|
71
|
-
token: IncreaseAllowanceParamsToken
|
|
72
|
-
r"""The symbol or address of the token for which the allowance is increased.."""
|
|
73
|
-
|
|
74
|
-
contract_name: IncreaseAllowanceParamsContractName
|
|
75
|
-
r"""The name of the contract to increase allowance for."""
|
|
76
|
-
|
|
77
|
-
amount: IncreaseAllowanceParamsAmount
|
|
78
|
-
r"""The amount to increase the allowance to."""
|
|
79
|
-
|
|
80
|
-
ACTION_TYPE: Annotated[
|
|
81
|
-
Annotated[
|
|
82
|
-
Optional[Literal["ALLOWANCE_INCREASE"]],
|
|
83
|
-
AfterValidator(validate_const("ALLOWANCE_INCREASE")),
|
|
84
|
-
],
|
|
85
|
-
pydantic.Field(alias="action_type"),
|
|
86
|
-
] = "ALLOWANCE_INCREASE"
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
from .chain import Chain
|
|
5
|
-
from .token_enum import TokenEnum
|
|
6
|
-
from compass_api_sdk.types import BaseModel
|
|
7
|
-
from compass_api_sdk.utils import validate_const
|
|
8
|
-
from enum import Enum
|
|
9
|
-
import pydantic
|
|
10
|
-
from pydantic.functional_validators import AfterValidator
|
|
11
|
-
from typing import Literal, Optional, Union
|
|
12
|
-
from typing_extensions import Annotated, TypeAliasType, TypedDict
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
IncreaseAllowanceRequestTokenTypedDict = TypeAliasType(
|
|
16
|
-
"IncreaseAllowanceRequestTokenTypedDict", Union[TokenEnum, str]
|
|
17
|
-
)
|
|
18
|
-
r"""The symbol or address of the token for which the allowance is increased.."""
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
IncreaseAllowanceRequestToken = TypeAliasType(
|
|
22
|
-
"IncreaseAllowanceRequestToken", Union[TokenEnum, str]
|
|
23
|
-
)
|
|
24
|
-
r"""The symbol or address of the token for which the allowance is increased.."""
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
class IncreaseAllowanceRequestContractName(str, Enum):
|
|
28
|
-
r"""The name of the contract to increase allowance for."""
|
|
29
|
-
|
|
30
|
-
AAVE_V3_POOL = "AaveV3Pool"
|
|
31
|
-
AERODROME_BASIC_ROUTER = "AerodromeBasicRouter"
|
|
32
|
-
AERODROME_SLIPSTREAM_ROUTER = "AerodromeSlipstreamRouter"
|
|
33
|
-
AERODROME_SLIPSTREAM_NONFUNGIBLE_POSITION_MANAGER = (
|
|
34
|
-
"AerodromeSlipstreamNonfungiblePositionManager"
|
|
35
|
-
)
|
|
36
|
-
UNISWAP_V3_ROUTER = "UniswapV3Router"
|
|
37
|
-
UNISWAP_V3_NFT_POSITION_MANAGER = "UniswapV3NFTPositionManager"
|
|
38
|
-
MORPHO = "Morpho"
|
|
39
|
-
SKY_DAI_USDS_CONVERTER = "SkyDaiUsdsConverter"
|
|
40
|
-
SKY_USDC_USDS_CONVERTER = "SkyUsdcUsdsConverter"
|
|
41
|
-
SKY_USDS_VAULT = "SkyUsdsVault"
|
|
42
|
-
PENDLE_ROUTER = "PendleRouter"
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
IncreaseAllowanceRequestAmountTypedDict = TypeAliasType(
|
|
46
|
-
"IncreaseAllowanceRequestAmountTypedDict", Union[float, str]
|
|
47
|
-
)
|
|
48
|
-
r"""The amount to increase the allowance to."""
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
IncreaseAllowanceRequestAmount = TypeAliasType(
|
|
52
|
-
"IncreaseAllowanceRequestAmount", Union[float, str]
|
|
53
|
-
)
|
|
54
|
-
r"""The amount to increase the allowance to."""
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
class IncreaseAllowanceRequestTypedDict(TypedDict):
|
|
58
|
-
r"""Request model for increasing token allowance for a contract."""
|
|
59
|
-
|
|
60
|
-
token: IncreaseAllowanceRequestTokenTypedDict
|
|
61
|
-
r"""The symbol or address of the token for which the allowance is increased.."""
|
|
62
|
-
contract_name: IncreaseAllowanceRequestContractName
|
|
63
|
-
r"""The name of the contract to increase allowance for."""
|
|
64
|
-
amount: IncreaseAllowanceRequestAmountTypedDict
|
|
65
|
-
r"""The amount to increase the allowance to."""
|
|
66
|
-
chain: Chain
|
|
67
|
-
r"""The chain to use."""
|
|
68
|
-
sender: str
|
|
69
|
-
r"""The address of the transaction sender."""
|
|
70
|
-
action_type: Literal["ALLOWANCE_INCREASE"]
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
class IncreaseAllowanceRequest(BaseModel):
|
|
74
|
-
r"""Request model for increasing token allowance for a contract."""
|
|
75
|
-
|
|
76
|
-
token: IncreaseAllowanceRequestToken
|
|
77
|
-
r"""The symbol or address of the token for which the allowance is increased.."""
|
|
78
|
-
|
|
79
|
-
contract_name: IncreaseAllowanceRequestContractName
|
|
80
|
-
r"""The name of the contract to increase allowance for."""
|
|
81
|
-
|
|
82
|
-
amount: IncreaseAllowanceRequestAmount
|
|
83
|
-
r"""The amount to increase the allowance to."""
|
|
84
|
-
|
|
85
|
-
chain: Chain
|
|
86
|
-
r"""The chain to use."""
|
|
87
|
-
|
|
88
|
-
sender: str
|
|
89
|
-
r"""The address of the transaction sender."""
|
|
90
|
-
|
|
91
|
-
ACTION_TYPE: Annotated[
|
|
92
|
-
Annotated[
|
|
93
|
-
Optional[Literal["ALLOWANCE_INCREASE"]],
|
|
94
|
-
AfterValidator(validate_const("ALLOWANCE_INCREASE")),
|
|
95
|
-
],
|
|
96
|
-
pydantic.Field(alias="action_type"),
|
|
97
|
-
] = "ALLOWANCE_INCREASE"
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
from compass_api_sdk.types import BaseModel
|
|
5
|
-
from compass_api_sdk.utils import validate_const
|
|
6
|
-
import pydantic
|
|
7
|
-
from pydantic.functional_validators import AfterValidator
|
|
8
|
-
from typing import Literal, Optional, Union
|
|
9
|
-
from typing_extensions import Annotated, TypeAliasType, TypedDict
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
MorphoSetVaultAllowanceParamsAmountTypedDict = TypeAliasType(
|
|
13
|
-
"MorphoSetVaultAllowanceParamsAmountTypedDict", Union[float, str]
|
|
14
|
-
)
|
|
15
|
-
r"""The amount of tokens to increase the allowance by."""
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
MorphoSetVaultAllowanceParamsAmount = TypeAliasType(
|
|
19
|
-
"MorphoSetVaultAllowanceParamsAmount", Union[float, str]
|
|
20
|
-
)
|
|
21
|
-
r"""The amount of tokens to increase the allowance by."""
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
class MorphoSetVaultAllowanceParamsTypedDict(TypedDict):
|
|
25
|
-
vault_address: str
|
|
26
|
-
r"""The vault address you are increasing the allowance for."""
|
|
27
|
-
amount: MorphoSetVaultAllowanceParamsAmountTypedDict
|
|
28
|
-
r"""The amount of tokens to increase the allowance by."""
|
|
29
|
-
action_type: Literal["MORPHO_SET_VAULT_ALLOWANCE"]
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
class MorphoSetVaultAllowanceParams(BaseModel):
|
|
33
|
-
vault_address: str
|
|
34
|
-
r"""The vault address you are increasing the allowance for."""
|
|
35
|
-
|
|
36
|
-
amount: MorphoSetVaultAllowanceParamsAmount
|
|
37
|
-
r"""The amount of tokens to increase the allowance by."""
|
|
38
|
-
|
|
39
|
-
ACTION_TYPE: Annotated[
|
|
40
|
-
Annotated[
|
|
41
|
-
Optional[Literal["MORPHO_SET_VAULT_ALLOWANCE"]],
|
|
42
|
-
AfterValidator(validate_const("MORPHO_SET_VAULT_ALLOWANCE")),
|
|
43
|
-
],
|
|
44
|
-
pydantic.Field(alias="action_type"),
|
|
45
|
-
] = "MORPHO_SET_VAULT_ALLOWANCE"
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
from compass_api_sdk.types import BaseModel
|
|
5
|
-
from compass_api_sdk.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
|
-
MorphoSetVaultAllowanceRequestAmountTypedDict = TypeAliasType(
|
|
14
|
-
"MorphoSetVaultAllowanceRequestAmountTypedDict", Union[float, str]
|
|
15
|
-
)
|
|
16
|
-
r"""The amount of tokens to increase the allowance by."""
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
MorphoSetVaultAllowanceRequestAmount = TypeAliasType(
|
|
20
|
-
"MorphoSetVaultAllowanceRequestAmount", Union[float, str]
|
|
21
|
-
)
|
|
22
|
-
r"""The amount of tokens to increase the allowance by."""
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
class MorphoSetVaultAllowanceRequestChain(str, Enum):
|
|
26
|
-
ETHEREUM_MAINNET = "ethereum:mainnet"
|
|
27
|
-
BASE_MAINNET = "base:mainnet"
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
class MorphoSetVaultAllowanceRequestTypedDict(TypedDict):
|
|
31
|
-
vault_address: str
|
|
32
|
-
r"""The vault address you are increasing the allowance for."""
|
|
33
|
-
amount: MorphoSetVaultAllowanceRequestAmountTypedDict
|
|
34
|
-
r"""The amount of tokens to increase the allowance by."""
|
|
35
|
-
chain: MorphoSetVaultAllowanceRequestChain
|
|
36
|
-
sender: str
|
|
37
|
-
r"""The address of the transaction sender."""
|
|
38
|
-
action_type: Literal["MORPHO_SET_VAULT_ALLOWANCE"]
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
class MorphoSetVaultAllowanceRequest(BaseModel):
|
|
42
|
-
vault_address: str
|
|
43
|
-
r"""The vault address you are increasing the allowance for."""
|
|
44
|
-
|
|
45
|
-
amount: MorphoSetVaultAllowanceRequestAmount
|
|
46
|
-
r"""The amount of tokens to increase the allowance by."""
|
|
47
|
-
|
|
48
|
-
chain: MorphoSetVaultAllowanceRequestChain
|
|
49
|
-
|
|
50
|
-
sender: str
|
|
51
|
-
r"""The address of the transaction sender."""
|
|
52
|
-
|
|
53
|
-
ACTION_TYPE: Annotated[
|
|
54
|
-
Annotated[
|
|
55
|
-
Optional[Literal["MORPHO_SET_VAULT_ALLOWANCE"]],
|
|
56
|
-
AfterValidator(validate_const("MORPHO_SET_VAULT_ALLOWANCE")),
|
|
57
|
-
],
|
|
58
|
-
pydantic.Field(alias="action_type"),
|
|
59
|
-
] = "MORPHO_SET_VAULT_ALLOWANCE"
|
|
File without changes
|