compass_api_sdk 0.0.3__py3-none-any.whl → 0.1.1__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.0.3.dist-info → compass_api_sdk-0.1.1.dist-info}/METADATA +40 -46
- compass_api_sdk-0.1.1.dist-info/RECORD +165 -0
- {compass_api_sdk → compassapisdk}/_hooks/__init__.py +0 -1
- {compass_api_sdk → compassapisdk}/_hooks/sdkhooks.py +1 -3
- {compass_api_sdk → compassapisdk}/_hooks/types.py +1 -1
- {compass_api_sdk → compassapisdk}/_version.py +3 -3
- {compass_api_sdk → compassapisdk}/aave_v3.py +9 -9
- {compass_api_sdk → compassapisdk}/aerodrome_slipstream.py +3 -3
- {compass_api_sdk → compassapisdk}/basesdk.py +3 -3
- {compass_api_sdk → compassapisdk}/errors/httpvalidationerror.py +3 -3
- {compass_api_sdk → compassapisdk}/models/__init__.py +431 -47
- {compass_api_sdk → compassapisdk}/models/aave_liquidity_changeop.py +2 -2
- {compass_api_sdk → compassapisdk}/models/aave_token_priceop.py +2 -2
- {compass_api_sdk → compassapisdk}/models/aave_user_position_per_tokenop.py +5 -7
- {compass_api_sdk → compassapisdk}/models/aave_user_position_summaryop.py +5 -7
- compassapisdk/models/aaveborrowparams.py +94 -0
- {compass_api_sdk → compassapisdk}/models/aaveborrowrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aaveliquiditychangeresponse.py +1 -1
- compassapisdk/models/aaverepayparams.py +94 -0
- {compass_api_sdk → compassapisdk}/models/aaverepayrequest.py +1 -1
- compassapisdk/models/aavesupplyparams.py +82 -0
- {compass_api_sdk → compassapisdk}/models/aavesupplyrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aavetokenpriceresponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aaveuserpositionpertokenresponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aaveuserpositionsummaryresponse.py +1 -1
- compassapisdk/models/aavewithdrawparams.py +45 -0
- {compass_api_sdk → compassapisdk}/models/aavewithdrawrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aerodrome_slipstream_liquidity_provision_positionsop.py +2 -2
- {compass_api_sdk → compassapisdk}/models/aerodrome_slipstream_pool_priceop.py +2 -2
- compassapisdk/models/aerodromeaddliquidityethparams.py +153 -0
- compassapisdk/models/aerodromeaddliquidityparams.py +160 -0
- {compass_api_sdk → compassapisdk}/models/aerodromelppositionsresponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aerodromeposition.py +1 -1
- compassapisdk/models/aerodromeremoveliquidityethrequest.py +139 -0
- compassapisdk/models/aerodromeremoveliquidityrequest.py +152 -0
- compassapisdk/models/aerodromeslipstreambuyexactlyparams.py +81 -0
- {compass_api_sdk → compassapisdk}/models/aerodromeslipstreambuyexactlyrequest.py +1 -1
- compassapisdk/models/aerodromeslipstreamincreaseliquidityprovisionparams.py +110 -0
- {compass_api_sdk → compassapisdk}/models/aerodromeslipstreamincreaseliquidityprovisionrequest.py +1 -1
- compassapisdk/models/aerodromeslipstreammintliquidityprovisionparams.py +175 -0
- {compass_api_sdk → compassapisdk}/models/aerodromeslipstreammintliquidityprovisionrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aerodromeslipstreampoolpriceresponse.py +1 -1
- compassapisdk/models/aerodromeslipstreamsellexactlyparams.py +85 -0
- {compass_api_sdk → compassapisdk}/models/aerodromeslipstreamsellexactlyrequest.py +1 -1
- compassapisdk/models/aerodromeslipstreamwithdrawliquidityprovisionparams.py +51 -0
- {compass_api_sdk → compassapisdk}/models/aerodromeslipstreamwithdrawliquidityprovisionrequest.py +1 -1
- compassapisdk/models/aerodromeswapethfortokenparams.py +110 -0
- compassapisdk/models/aerodromeswaptokenforethparams.py +110 -0
- compassapisdk/models/aerodromeswaptokensparams.py +135 -0
- {compass_api_sdk → compassapisdk}/models/allowanceinforesponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/chaininfo.py +1 -1
- {compass_api_sdk → compassapisdk}/models/compass_api_backend_models_morpho_read_response_get_markets_asset.py +1 -1
- {compass_api_sdk → compassapisdk}/models/compass_api_backend_models_morpho_read_response_get_vaults_asset.py +1 -1
- compassapisdk/models/contractname.py +34 -0
- {compass_api_sdk → compassapisdk}/models/ensnameinforesponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/generic_allowanceop.py +2 -2
- {compass_api_sdk → compassapisdk}/models/generic_ensop.py +2 -2
- {compass_api_sdk → compassapisdk}/models/generic_portfolioop.py +2 -2
- {compass_api_sdk → compassapisdk}/models/generic_supported_tokensop.py +2 -2
- {compass_api_sdk → compassapisdk}/models/generic_visualize_portfolioop.py +2 -2
- {compass_api_sdk → compassapisdk}/models/image.py +1 -1
- compassapisdk/models/increaseallowanceanyparams.py +62 -0
- compassapisdk/models/increaseallowanceparams.py +66 -0
- {compass_api_sdk → compassapisdk}/models/increaseallowancerequest.py +4 -4
- {compass_api_sdk → compassapisdk}/models/marketstate.py +1 -1
- {compass_api_sdk → compassapisdk}/models/morpho_market_positionop.py +2 -2
- {compass_api_sdk → compassapisdk}/models/morpho_marketsop.py +2 -2
- {compass_api_sdk → compassapisdk}/models/morpho_vault_positionop.py +2 -2
- {compass_api_sdk → compassapisdk}/models/morpho_vaultsop.py +2 -2
- {compass_api_sdk → compassapisdk}/models/morphoborrowrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/morphocheckmarketpositionresponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/morphocheckvaultpositionresponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/morphodepositrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/morphogetmarketsresponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/morphogetvaultsresponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/morphomarket.py +1 -1
- {compass_api_sdk → compassapisdk}/models/morphorepayrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/morphosetvaultallowancerequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/morphosupplycollateralrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/morphovault.py +1 -1
- {compass_api_sdk → compassapisdk}/models/morphowithdrawcollateralrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/morphowithdrawrequest.py +1 -1
- compassapisdk/models/multicallaction.py +170 -0
- compassapisdk/models/multicallactiontype.py +33 -0
- compassapisdk/models/multicallauthorizationrequest.py +35 -0
- compassapisdk/models/multicallauthorizationresponse.py +31 -0
- compassapisdk/models/multicallexecuterequest.py +36 -0
- {compass_api_sdk → compassapisdk}/models/portfolio.py +1 -1
- {compass_api_sdk → compassapisdk}/models/security.py +2 -2
- compassapisdk/models/signedauthorization.py +42 -0
- {compass_api_sdk → compassapisdk}/models/token_addressop.py +2 -2
- {compass_api_sdk → compassapisdk}/models/token_balanceop.py +2 -2
- {compass_api_sdk → compassapisdk}/models/token_priceop.py +2 -2
- {compass_api_sdk → compassapisdk}/models/tokenaddressresponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/tokenbalance.py +1 -1
- {compass_api_sdk → compassapisdk}/models/tokenbalanceresponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/tokeninfo.py +1 -1
- {compass_api_sdk → compassapisdk}/models/tokenpriceresponse.py +1 -1
- compass_api_sdk/models/transfererc20request.py → compassapisdk/models/tokentransfererc20params.py +11 -22
- {compass_api_sdk → compassapisdk}/models/tokentransferrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/uniswap_liquidity_provision_in_rangeop.py +2 -2
- {compass_api_sdk → compassapisdk}/models/uniswap_liquidity_provision_positionsop.py +2 -2
- {compass_api_sdk → compassapisdk}/models/uniswap_pool_priceop.py +2 -2
- {compass_api_sdk → compassapisdk}/models/uniswap_quote_buy_exactlyop.py +2 -2
- {compass_api_sdk → compassapisdk}/models/uniswap_quote_sell_exactlyop.py +2 -2
- compassapisdk/models/uniswapbuyexactlyparams.py +89 -0
- {compass_api_sdk → compassapisdk}/models/uniswapbuyexactlyrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/uniswapbuyquoteinforesponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/uniswapcheckinrangeresponse.py +1 -1
- compassapisdk/models/uniswapincreaseliquidityprovisionparams.py +84 -0
- {compass_api_sdk → compassapisdk}/models/uniswapincreaseliquidityprovisionrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/uniswaplppositionsinforesponse.py +1 -1
- compassapisdk/models/uniswapmintliquidityprovisionparams.py +170 -0
- {compass_api_sdk → compassapisdk}/models/uniswapmintliquidityprovisionrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/uniswappoolpriceresponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/uniswappositionssolidityresponse.py +1 -1
- compassapisdk/models/uniswapsellexactlyparams.py +93 -0
- {compass_api_sdk → compassapisdk}/models/uniswapsellexactlyrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/uniswapsellquoteinforesponse.py +1 -1
- compassapisdk/models/uniswapwithdrawliquidityprovisionparams.py +50 -0
- {compass_api_sdk → compassapisdk}/models/uniswapwithdrawliquidityprovisionrequest.py +1 -1
- compassapisdk/models/unsignedmulticalltransaction.py +67 -0
- {compass_api_sdk → compassapisdk}/models/unsignedtransaction.py +1 -1
- compassapisdk/models/unwrapwethparams.py +30 -0
- {compass_api_sdk → compassapisdk}/models/unwrapwethrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/validationerror.py +1 -1
- {compass_api_sdk → compassapisdk}/models/vaultstate.py +1 -1
- {compass_api_sdk → compassapisdk}/models/weeklyapys.py +1 -1
- compassapisdk/models/wrapethparams.py +30 -0
- {compass_api_sdk → compassapisdk}/models/wrapethrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/morpho.py +3 -3
- {compass_api_sdk → compassapisdk}/sdk.py +12 -9
- {compass_api_sdk → compassapisdk}/sdkconfiguration.py +2 -2
- {compass_api_sdk → compassapisdk}/token_sdk.py +3 -3
- compassapisdk/transaction_batching.py +473 -0
- {compass_api_sdk → compassapisdk}/uniswap_v3.py +3 -3
- {compass_api_sdk → compassapisdk}/universal.py +144 -1012
- compass_api_sdk/_hooks/registration.py +0 -13
- compass_api_sdk/models/balanceinforesponse.py +0 -43
- compass_api_sdk/models/generic_balanceop.py +0 -104
- compass_api_sdk/models/generic_price_usdop.py +0 -97
- compass_api_sdk/models/priceresponse.py +0 -15
- compass_api_sdk/models/transferethrequest.py +0 -46
- compass_api_sdk-0.0.3.dist-info/RECORD +0 -137
- {compass_api_sdk-0.0.3.dist-info → compass_api_sdk-0.1.1.dist-info}/WHEEL +0 -0
- {compass_api_sdk → compassapisdk}/__init__.py +0 -0
- {compass_api_sdk → compassapisdk}/errors/__init__.py +0 -0
- {compass_api_sdk → compassapisdk}/errors/apierror.py +0 -0
- {compass_api_sdk → compassapisdk}/httpclient.py +0 -0
- {compass_api_sdk → compassapisdk}/models/chain.py +0 -0
- {compass_api_sdk → compassapisdk}/models/feeenum.py +0 -0
- {compass_api_sdk → compassapisdk}/models/interestratemode.py +0 -0
- {compass_api_sdk → compassapisdk}/models/token_enum.py +0 -0
- {compass_api_sdk → compassapisdk}/py.typed +0 -0
- {compass_api_sdk → compassapisdk}/types/__init__.py +0 -0
- {compass_api_sdk → compassapisdk}/types/basemodel.py +0 -0
- {compass_api_sdk → compassapisdk}/utils/__init__.py +0 -0
- {compass_api_sdk → compassapisdk}/utils/annotations.py +0 -0
- {compass_api_sdk → compassapisdk}/utils/datetimes.py +0 -0
- {compass_api_sdk → compassapisdk}/utils/enums.py +0 -0
- {compass_api_sdk → compassapisdk}/utils/eventstreaming.py +0 -0
- {compass_api_sdk → compassapisdk}/utils/forms.py +0 -0
- {compass_api_sdk → compassapisdk}/utils/headers.py +0 -0
- {compass_api_sdk → compassapisdk}/utils/logger.py +0 -0
- {compass_api_sdk → compassapisdk}/utils/metadata.py +0 -0
- {compass_api_sdk → compassapisdk}/utils/queryparams.py +0 -0
- {compass_api_sdk → compassapisdk}/utils/requestbodies.py +0 -0
- {compass_api_sdk → compassapisdk}/utils/retries.py +0 -0
- {compass_api_sdk → compassapisdk}/utils/security.py +0 -0
- {compass_api_sdk → compassapisdk}/utils/serializers.py +0 -0
- {compass_api_sdk → compassapisdk}/utils/url.py +0 -0
- {compass_api_sdk → compassapisdk}/utils/values.py +0 -0
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .feeenum import FeeEnum
|
|
5
|
+
from .token_enum import TokenEnum
|
|
6
|
+
from compassapisdk.types import BaseModel
|
|
7
|
+
from typing import Optional, Union
|
|
8
|
+
from typing_extensions import NotRequired, TypeAliasType, TypedDict
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
UniswapBuyExactlyParamsAmountOutTypedDict = TypeAliasType(
|
|
12
|
+
"UniswapBuyExactlyParamsAmountOutTypedDict", Union[float, str]
|
|
13
|
+
)
|
|
14
|
+
r"""The amount of the token to swap to"""
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
UniswapBuyExactlyParamsAmountOut = TypeAliasType(
|
|
18
|
+
"UniswapBuyExactlyParamsAmountOut", Union[float, str]
|
|
19
|
+
)
|
|
20
|
+
r"""The amount of the token to swap to"""
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
UniswapBuyExactlyParamsAmountInMaximumTypedDict = TypeAliasType(
|
|
24
|
+
"UniswapBuyExactlyParamsAmountInMaximumTypedDict", Union[float, str]
|
|
25
|
+
)
|
|
26
|
+
r"""The maximum amount of the token to swap from"""
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
UniswapBuyExactlyParamsAmountInMaximum = TypeAliasType(
|
|
30
|
+
"UniswapBuyExactlyParamsAmountInMaximum", Union[float, str]
|
|
31
|
+
)
|
|
32
|
+
r"""The maximum amount of the token to swap from"""
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
class UniswapBuyExactlyParamsTypedDict(TypedDict):
|
|
36
|
+
token_in: TokenEnum
|
|
37
|
+
r"""A class representing the token.
|
|
38
|
+
|
|
39
|
+
This class is used to represent the token in the system. Notice individual
|
|
40
|
+
endpoints' documentation where per chain tokens are presented.
|
|
41
|
+
"""
|
|
42
|
+
token_out: TokenEnum
|
|
43
|
+
r"""A class representing the token.
|
|
44
|
+
|
|
45
|
+
This class is used to represent the token in the system. Notice individual
|
|
46
|
+
endpoints' documentation where per chain tokens are presented.
|
|
47
|
+
"""
|
|
48
|
+
fee: FeeEnum
|
|
49
|
+
r"""The transaction fee of a Uniswap pool in bips.
|
|
50
|
+
|
|
51
|
+
Uniswap supports 4 different fee levels.
|
|
52
|
+
"""
|
|
53
|
+
amount_out: UniswapBuyExactlyParamsAmountOutTypedDict
|
|
54
|
+
r"""The amount of the token to swap to"""
|
|
55
|
+
amount_in_maximum: UniswapBuyExactlyParamsAmountInMaximumTypedDict
|
|
56
|
+
r"""The maximum amount of the token to swap from"""
|
|
57
|
+
wrap_eth: NotRequired[bool]
|
|
58
|
+
r"""Whether to wrap ETH to WETH, only use when swapping WETH into something"""
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
class UniswapBuyExactlyParams(BaseModel):
|
|
62
|
+
token_in: TokenEnum
|
|
63
|
+
r"""A class representing the token.
|
|
64
|
+
|
|
65
|
+
This class is used to represent the token in the system. Notice individual
|
|
66
|
+
endpoints' documentation where per chain tokens are presented.
|
|
67
|
+
"""
|
|
68
|
+
|
|
69
|
+
token_out: TokenEnum
|
|
70
|
+
r"""A class representing the token.
|
|
71
|
+
|
|
72
|
+
This class is used to represent the token in the system. Notice individual
|
|
73
|
+
endpoints' documentation where per chain tokens are presented.
|
|
74
|
+
"""
|
|
75
|
+
|
|
76
|
+
fee: FeeEnum
|
|
77
|
+
r"""The transaction fee of a Uniswap pool in bips.
|
|
78
|
+
|
|
79
|
+
Uniswap supports 4 different fee levels.
|
|
80
|
+
"""
|
|
81
|
+
|
|
82
|
+
amount_out: UniswapBuyExactlyParamsAmountOut
|
|
83
|
+
r"""The amount of the token to swap to"""
|
|
84
|
+
|
|
85
|
+
amount_in_maximum: UniswapBuyExactlyParamsAmountInMaximum
|
|
86
|
+
r"""The maximum amount of the token to swap from"""
|
|
87
|
+
|
|
88
|
+
wrap_eth: Optional[bool] = False
|
|
89
|
+
r"""Whether to wrap ETH to WETH, only use when swapping WETH into something"""
|
|
@@ -4,7 +4,7 @@ from __future__ import annotations
|
|
|
4
4
|
from .chain import Chain
|
|
5
5
|
from .feeenum import FeeEnum
|
|
6
6
|
from .token_enum import TokenEnum
|
|
7
|
-
from
|
|
7
|
+
from compassapisdk.types import BaseModel
|
|
8
8
|
from typing import Optional, Union
|
|
9
9
|
from typing_extensions import NotRequired, TypeAliasType, TypedDict
|
|
10
10
|
|
|
@@ -0,0 +1,84 @@
|
|
|
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 import Union
|
|
6
|
+
from typing_extensions import TypeAliasType, TypedDict
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
UniswapIncreaseLiquidityProvisionParamsAmount0DesiredTypedDict = TypeAliasType(
|
|
10
|
+
"UniswapIncreaseLiquidityProvisionParamsAmount0DesiredTypedDict", Union[float, str]
|
|
11
|
+
)
|
|
12
|
+
r"""The desired amount of the first token to deposit"""
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
UniswapIncreaseLiquidityProvisionParamsAmount0Desired = TypeAliasType(
|
|
16
|
+
"UniswapIncreaseLiquidityProvisionParamsAmount0Desired", Union[float, str]
|
|
17
|
+
)
|
|
18
|
+
r"""The desired amount of the first token to deposit"""
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
UniswapIncreaseLiquidityProvisionParamsAmount1DesiredTypedDict = TypeAliasType(
|
|
22
|
+
"UniswapIncreaseLiquidityProvisionParamsAmount1DesiredTypedDict", Union[float, str]
|
|
23
|
+
)
|
|
24
|
+
r"""The desired amount of the second token to deposit"""
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
UniswapIncreaseLiquidityProvisionParamsAmount1Desired = TypeAliasType(
|
|
28
|
+
"UniswapIncreaseLiquidityProvisionParamsAmount1Desired", Union[float, str]
|
|
29
|
+
)
|
|
30
|
+
r"""The desired amount of the second token to deposit"""
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
UniswapIncreaseLiquidityProvisionParamsAmount0MinTypedDict = TypeAliasType(
|
|
34
|
+
"UniswapIncreaseLiquidityProvisionParamsAmount0MinTypedDict", Union[float, str]
|
|
35
|
+
)
|
|
36
|
+
r"""The minimum amount of the first token to deposit"""
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
UniswapIncreaseLiquidityProvisionParamsAmount0Min = TypeAliasType(
|
|
40
|
+
"UniswapIncreaseLiquidityProvisionParamsAmount0Min", Union[float, str]
|
|
41
|
+
)
|
|
42
|
+
r"""The minimum amount of the first token to deposit"""
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
UniswapIncreaseLiquidityProvisionParamsAmount1MinTypedDict = TypeAliasType(
|
|
46
|
+
"UniswapIncreaseLiquidityProvisionParamsAmount1MinTypedDict", Union[float, str]
|
|
47
|
+
)
|
|
48
|
+
r"""The minimum amount of the second token to deposit"""
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
UniswapIncreaseLiquidityProvisionParamsAmount1Min = TypeAliasType(
|
|
52
|
+
"UniswapIncreaseLiquidityProvisionParamsAmount1Min", Union[float, str]
|
|
53
|
+
)
|
|
54
|
+
r"""The minimum amount of the second token to deposit"""
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
class UniswapIncreaseLiquidityProvisionParamsTypedDict(TypedDict):
|
|
58
|
+
token_id: int
|
|
59
|
+
r"""Token ID of the NFT representing the liquidity provisioned position."""
|
|
60
|
+
amount0_desired: UniswapIncreaseLiquidityProvisionParamsAmount0DesiredTypedDict
|
|
61
|
+
r"""The desired amount of the first token to deposit"""
|
|
62
|
+
amount1_desired: UniswapIncreaseLiquidityProvisionParamsAmount1DesiredTypedDict
|
|
63
|
+
r"""The desired amount of the second token to deposit"""
|
|
64
|
+
amount0_min: UniswapIncreaseLiquidityProvisionParamsAmount0MinTypedDict
|
|
65
|
+
r"""The minimum amount of the first token to deposit"""
|
|
66
|
+
amount1_min: UniswapIncreaseLiquidityProvisionParamsAmount1MinTypedDict
|
|
67
|
+
r"""The minimum amount of the second token to deposit"""
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
class UniswapIncreaseLiquidityProvisionParams(BaseModel):
|
|
71
|
+
token_id: int
|
|
72
|
+
r"""Token ID of the NFT representing the liquidity provisioned position."""
|
|
73
|
+
|
|
74
|
+
amount0_desired: UniswapIncreaseLiquidityProvisionParamsAmount0Desired
|
|
75
|
+
r"""The desired amount of the first token to deposit"""
|
|
76
|
+
|
|
77
|
+
amount1_desired: UniswapIncreaseLiquidityProvisionParamsAmount1Desired
|
|
78
|
+
r"""The desired amount of the second token to deposit"""
|
|
79
|
+
|
|
80
|
+
amount0_min: UniswapIncreaseLiquidityProvisionParamsAmount0Min
|
|
81
|
+
r"""The minimum amount of the first token to deposit"""
|
|
82
|
+
|
|
83
|
+
amount1_min: UniswapIncreaseLiquidityProvisionParamsAmount1Min
|
|
84
|
+
r"""The minimum amount of the second token to deposit"""
|
|
@@ -5,7 +5,7 @@ from .uniswappositionssolidityresponse import (
|
|
|
5
5
|
UniswapPositionsSolidityResponse,
|
|
6
6
|
UniswapPositionsSolidityResponseTypedDict,
|
|
7
7
|
)
|
|
8
|
-
from
|
|
8
|
+
from compassapisdk.types import BaseModel
|
|
9
9
|
from typing import Dict
|
|
10
10
|
from typing_extensions import TypedDict
|
|
11
11
|
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .feeenum import FeeEnum
|
|
5
|
+
from .token_enum import TokenEnum
|
|
6
|
+
from compassapisdk.types import (
|
|
7
|
+
BaseModel,
|
|
8
|
+
Nullable,
|
|
9
|
+
OptionalNullable,
|
|
10
|
+
UNSET,
|
|
11
|
+
UNSET_SENTINEL,
|
|
12
|
+
)
|
|
13
|
+
from pydantic import model_serializer
|
|
14
|
+
from typing import Union
|
|
15
|
+
from typing_extensions import NotRequired, TypeAliasType, TypedDict
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
UniswapMintLiquidityProvisionParamsAmount0DesiredTypedDict = TypeAliasType(
|
|
19
|
+
"UniswapMintLiquidityProvisionParamsAmount0DesiredTypedDict", Union[float, str]
|
|
20
|
+
)
|
|
21
|
+
r"""The desired amount of the first token to deposit"""
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
UniswapMintLiquidityProvisionParamsAmount0Desired = TypeAliasType(
|
|
25
|
+
"UniswapMintLiquidityProvisionParamsAmount0Desired", Union[float, str]
|
|
26
|
+
)
|
|
27
|
+
r"""The desired amount of the first token to deposit"""
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
UniswapMintLiquidityProvisionParamsAmount1DesiredTypedDict = TypeAliasType(
|
|
31
|
+
"UniswapMintLiquidityProvisionParamsAmount1DesiredTypedDict", Union[float, str]
|
|
32
|
+
)
|
|
33
|
+
r"""The desired amount of the second token to deposit"""
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
UniswapMintLiquidityProvisionParamsAmount1Desired = TypeAliasType(
|
|
37
|
+
"UniswapMintLiquidityProvisionParamsAmount1Desired", Union[float, str]
|
|
38
|
+
)
|
|
39
|
+
r"""The desired amount of the second token to deposit"""
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
UniswapMintLiquidityProvisionParamsAmount0MinTypedDict = TypeAliasType(
|
|
43
|
+
"UniswapMintLiquidityProvisionParamsAmount0MinTypedDict", Union[float, str]
|
|
44
|
+
)
|
|
45
|
+
r"""The minimum amount of the first token to deposit"""
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
UniswapMintLiquidityProvisionParamsAmount0Min = TypeAliasType(
|
|
49
|
+
"UniswapMintLiquidityProvisionParamsAmount0Min", Union[float, str]
|
|
50
|
+
)
|
|
51
|
+
r"""The minimum amount of the first token to deposit"""
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
UniswapMintLiquidityProvisionParamsAmount1MinTypedDict = TypeAliasType(
|
|
55
|
+
"UniswapMintLiquidityProvisionParamsAmount1MinTypedDict", Union[float, str]
|
|
56
|
+
)
|
|
57
|
+
r"""The minimum amount of the second token to deposit"""
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
UniswapMintLiquidityProvisionParamsAmount1Min = TypeAliasType(
|
|
61
|
+
"UniswapMintLiquidityProvisionParamsAmount1Min", Union[float, str]
|
|
62
|
+
)
|
|
63
|
+
r"""The minimum amount of the second token to deposit"""
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
class UniswapMintLiquidityProvisionParamsTypedDict(TypedDict):
|
|
67
|
+
token0: TokenEnum
|
|
68
|
+
r"""A class representing the token.
|
|
69
|
+
|
|
70
|
+
This class is used to represent the token in the system. Notice individual
|
|
71
|
+
endpoints' documentation where per chain tokens are presented.
|
|
72
|
+
"""
|
|
73
|
+
token1: TokenEnum
|
|
74
|
+
r"""A class representing the token.
|
|
75
|
+
|
|
76
|
+
This class is used to represent the token in the system. Notice individual
|
|
77
|
+
endpoints' documentation where per chain tokens are presented.
|
|
78
|
+
"""
|
|
79
|
+
fee: FeeEnum
|
|
80
|
+
r"""The transaction fee of a Uniswap pool in bips.
|
|
81
|
+
|
|
82
|
+
Uniswap supports 4 different fee levels.
|
|
83
|
+
"""
|
|
84
|
+
tick_lower: int
|
|
85
|
+
r"""The lower tick of the range to mint the position in"""
|
|
86
|
+
tick_upper: int
|
|
87
|
+
r"""The upper tick of the range to mint the position in"""
|
|
88
|
+
amount0_desired: UniswapMintLiquidityProvisionParamsAmount0DesiredTypedDict
|
|
89
|
+
r"""The desired amount of the first token to deposit"""
|
|
90
|
+
amount1_desired: UniswapMintLiquidityProvisionParamsAmount1DesiredTypedDict
|
|
91
|
+
r"""The desired amount of the second token to deposit"""
|
|
92
|
+
amount0_min: UniswapMintLiquidityProvisionParamsAmount0MinTypedDict
|
|
93
|
+
r"""The minimum amount of the first token to deposit"""
|
|
94
|
+
amount1_min: UniswapMintLiquidityProvisionParamsAmount1MinTypedDict
|
|
95
|
+
r"""The minimum amount of the second token to deposit"""
|
|
96
|
+
recipient: NotRequired[Nullable[str]]
|
|
97
|
+
r"""The address that will receive the LP tokens"""
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
class UniswapMintLiquidityProvisionParams(BaseModel):
|
|
101
|
+
token0: TokenEnum
|
|
102
|
+
r"""A class representing the token.
|
|
103
|
+
|
|
104
|
+
This class is used to represent the token in the system. Notice individual
|
|
105
|
+
endpoints' documentation where per chain tokens are presented.
|
|
106
|
+
"""
|
|
107
|
+
|
|
108
|
+
token1: TokenEnum
|
|
109
|
+
r"""A class representing the token.
|
|
110
|
+
|
|
111
|
+
This class is used to represent the token in the system. Notice individual
|
|
112
|
+
endpoints' documentation where per chain tokens are presented.
|
|
113
|
+
"""
|
|
114
|
+
|
|
115
|
+
fee: FeeEnum
|
|
116
|
+
r"""The transaction fee of a Uniswap pool in bips.
|
|
117
|
+
|
|
118
|
+
Uniswap supports 4 different fee levels.
|
|
119
|
+
"""
|
|
120
|
+
|
|
121
|
+
tick_lower: int
|
|
122
|
+
r"""The lower tick of the range to mint the position in"""
|
|
123
|
+
|
|
124
|
+
tick_upper: int
|
|
125
|
+
r"""The upper tick of the range to mint the position in"""
|
|
126
|
+
|
|
127
|
+
amount0_desired: UniswapMintLiquidityProvisionParamsAmount0Desired
|
|
128
|
+
r"""The desired amount of the first token to deposit"""
|
|
129
|
+
|
|
130
|
+
amount1_desired: UniswapMintLiquidityProvisionParamsAmount1Desired
|
|
131
|
+
r"""The desired amount of the second token to deposit"""
|
|
132
|
+
|
|
133
|
+
amount0_min: UniswapMintLiquidityProvisionParamsAmount0Min
|
|
134
|
+
r"""The minimum amount of the first token to deposit"""
|
|
135
|
+
|
|
136
|
+
amount1_min: UniswapMintLiquidityProvisionParamsAmount1Min
|
|
137
|
+
r"""The minimum amount of the second token to deposit"""
|
|
138
|
+
|
|
139
|
+
recipient: OptionalNullable[str] = UNSET
|
|
140
|
+
r"""The address that will receive the LP tokens"""
|
|
141
|
+
|
|
142
|
+
@model_serializer(mode="wrap")
|
|
143
|
+
def serialize_model(self, handler):
|
|
144
|
+
optional_fields = ["recipient"]
|
|
145
|
+
nullable_fields = ["recipient"]
|
|
146
|
+
null_default_fields = []
|
|
147
|
+
|
|
148
|
+
serialized = handler(self)
|
|
149
|
+
|
|
150
|
+
m = {}
|
|
151
|
+
|
|
152
|
+
for n, f in type(self).model_fields.items():
|
|
153
|
+
k = f.alias or n
|
|
154
|
+
val = serialized.get(k)
|
|
155
|
+
serialized.pop(k, None)
|
|
156
|
+
|
|
157
|
+
optional_nullable = k in optional_fields and k in nullable_fields
|
|
158
|
+
is_set = (
|
|
159
|
+
self.__pydantic_fields_set__.intersection({n})
|
|
160
|
+
or k in null_default_fields
|
|
161
|
+
) # pylint: disable=no-member
|
|
162
|
+
|
|
163
|
+
if val is not None and val != UNSET_SENTINEL:
|
|
164
|
+
m[k] = val
|
|
165
|
+
elif val != UNSET_SENTINEL and (
|
|
166
|
+
not k in optional_fields or (optional_nullable and is_set)
|
|
167
|
+
):
|
|
168
|
+
m[k] = val
|
|
169
|
+
|
|
170
|
+
return m
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .feeenum import FeeEnum
|
|
5
|
+
from .token_enum import TokenEnum
|
|
6
|
+
from compassapisdk.types import BaseModel
|
|
7
|
+
from typing import Optional, Union
|
|
8
|
+
from typing_extensions import NotRequired, TypeAliasType, TypedDict
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
UniswapSellExactlyParamsAmountInTypedDict = TypeAliasType(
|
|
12
|
+
"UniswapSellExactlyParamsAmountInTypedDict", Union[float, str]
|
|
13
|
+
)
|
|
14
|
+
r"""The amount of the token to swap from"""
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
UniswapSellExactlyParamsAmountIn = TypeAliasType(
|
|
18
|
+
"UniswapSellExactlyParamsAmountIn", Union[float, str]
|
|
19
|
+
)
|
|
20
|
+
r"""The amount of the token to swap from"""
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
UniswapSellExactlyParamsAmountOutMinimumTypedDict = TypeAliasType(
|
|
24
|
+
"UniswapSellExactlyParamsAmountOutMinimumTypedDict", Union[float, str]
|
|
25
|
+
)
|
|
26
|
+
r"""The minimum amount of the token to swap to, defaults to 0"""
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
UniswapSellExactlyParamsAmountOutMinimum = TypeAliasType(
|
|
30
|
+
"UniswapSellExactlyParamsAmountOutMinimum", Union[float, str]
|
|
31
|
+
)
|
|
32
|
+
r"""The minimum amount of the token to swap to, defaults to 0"""
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
class UniswapSellExactlyParamsTypedDict(TypedDict):
|
|
36
|
+
r"""Parameters model for selling exactly an amount of tokens."""
|
|
37
|
+
|
|
38
|
+
token_in: TokenEnum
|
|
39
|
+
r"""A class representing the token.
|
|
40
|
+
|
|
41
|
+
This class is used to represent the token in the system. Notice individual
|
|
42
|
+
endpoints' documentation where per chain tokens are presented.
|
|
43
|
+
"""
|
|
44
|
+
token_out: TokenEnum
|
|
45
|
+
r"""A class representing the token.
|
|
46
|
+
|
|
47
|
+
This class is used to represent the token in the system. Notice individual
|
|
48
|
+
endpoints' documentation where per chain tokens are presented.
|
|
49
|
+
"""
|
|
50
|
+
fee: FeeEnum
|
|
51
|
+
r"""The transaction fee of a Uniswap pool in bips.
|
|
52
|
+
|
|
53
|
+
Uniswap supports 4 different fee levels.
|
|
54
|
+
"""
|
|
55
|
+
amount_in: UniswapSellExactlyParamsAmountInTypedDict
|
|
56
|
+
r"""The amount of the token to swap from"""
|
|
57
|
+
amount_out_minimum: NotRequired[UniswapSellExactlyParamsAmountOutMinimumTypedDict]
|
|
58
|
+
r"""The minimum amount of the token to swap to, defaults to 0"""
|
|
59
|
+
wrap_eth: NotRequired[bool]
|
|
60
|
+
r"""Whether to wrap ETH to WETH, only use when swapping WETH into something"""
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
class UniswapSellExactlyParams(BaseModel):
|
|
64
|
+
r"""Parameters model for selling exactly an amount of tokens."""
|
|
65
|
+
|
|
66
|
+
token_in: TokenEnum
|
|
67
|
+
r"""A class representing the token.
|
|
68
|
+
|
|
69
|
+
This class is used to represent the token in the system. Notice individual
|
|
70
|
+
endpoints' documentation where per chain tokens are presented.
|
|
71
|
+
"""
|
|
72
|
+
|
|
73
|
+
token_out: TokenEnum
|
|
74
|
+
r"""A class representing the token.
|
|
75
|
+
|
|
76
|
+
This class is used to represent the token in the system. Notice individual
|
|
77
|
+
endpoints' documentation where per chain tokens are presented.
|
|
78
|
+
"""
|
|
79
|
+
|
|
80
|
+
fee: FeeEnum
|
|
81
|
+
r"""The transaction fee of a Uniswap pool in bips.
|
|
82
|
+
|
|
83
|
+
Uniswap supports 4 different fee levels.
|
|
84
|
+
"""
|
|
85
|
+
|
|
86
|
+
amount_in: UniswapSellExactlyParamsAmountIn
|
|
87
|
+
r"""The amount of the token to swap from"""
|
|
88
|
+
|
|
89
|
+
amount_out_minimum: Optional[UniswapSellExactlyParamsAmountOutMinimum] = None
|
|
90
|
+
r"""The minimum amount of the token to swap to, defaults to 0"""
|
|
91
|
+
|
|
92
|
+
wrap_eth: Optional[bool] = False
|
|
93
|
+
r"""Whether to wrap ETH to WETH, only use when swapping WETH into something"""
|
|
@@ -4,7 +4,7 @@ from __future__ import annotations
|
|
|
4
4
|
from .chain import Chain
|
|
5
5
|
from .feeenum import FeeEnum
|
|
6
6
|
from .token_enum import TokenEnum
|
|
7
|
-
from
|
|
7
|
+
from compassapisdk.types import BaseModel
|
|
8
8
|
from typing import Optional, Union
|
|
9
9
|
from typing_extensions import NotRequired, TypeAliasType, TypedDict
|
|
10
10
|
|
|
@@ -0,0 +1,50 @@
|
|
|
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 import Union
|
|
6
|
+
from typing_extensions import TypeAliasType, TypedDict
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
UniswapWithdrawLiquidityProvisionParamsPercentageForWithdrawalTypedDict = TypeAliasType(
|
|
10
|
+
"UniswapWithdrawLiquidityProvisionParamsPercentageForWithdrawalTypedDict",
|
|
11
|
+
Union[float, str],
|
|
12
|
+
)
|
|
13
|
+
r"""How much liquidity to take out in percentage."""
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
UniswapWithdrawLiquidityProvisionParamsPercentageForWithdrawal = TypeAliasType(
|
|
17
|
+
"UniswapWithdrawLiquidityProvisionParamsPercentageForWithdrawal", Union[float, str]
|
|
18
|
+
)
|
|
19
|
+
r"""How much liquidity to take out in percentage."""
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class UniswapWithdrawLiquidityProvisionParamsTypedDict(TypedDict):
|
|
23
|
+
r"""Endpoint parameters for liquidity provision withdrawal on uniswap v3.
|
|
24
|
+
|
|
25
|
+
This action is performed in a multicall on the NonfungiblePosition Manager: https://github.com/Uniswap/v3-periphery/blob/0682387198a24c7cd63566a2c58398533860a5d1/contracts/base/Multicall.sol#L11-L27
|
|
26
|
+
First, we call decrease liquidity then collect the tokens owed to the user.
|
|
27
|
+
"""
|
|
28
|
+
|
|
29
|
+
token_id: int
|
|
30
|
+
r"""Token ID of the NFT representing the liquidity provisioned position."""
|
|
31
|
+
percentage_for_withdrawal: (
|
|
32
|
+
UniswapWithdrawLiquidityProvisionParamsPercentageForWithdrawalTypedDict
|
|
33
|
+
)
|
|
34
|
+
r"""How much liquidity to take out in percentage."""
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
class UniswapWithdrawLiquidityProvisionParams(BaseModel):
|
|
38
|
+
r"""Endpoint parameters for liquidity provision withdrawal on uniswap v3.
|
|
39
|
+
|
|
40
|
+
This action is performed in a multicall on the NonfungiblePosition Manager: https://github.com/Uniswap/v3-periphery/blob/0682387198a24c7cd63566a2c58398533860a5d1/contracts/base/Multicall.sol#L11-L27
|
|
41
|
+
First, we call decrease liquidity then collect the tokens owed to the user.
|
|
42
|
+
"""
|
|
43
|
+
|
|
44
|
+
token_id: int
|
|
45
|
+
r"""Token ID of the NFT representing the liquidity provisioned position."""
|
|
46
|
+
|
|
47
|
+
percentage_for_withdrawal: (
|
|
48
|
+
UniswapWithdrawLiquidityProvisionParamsPercentageForWithdrawal
|
|
49
|
+
)
|
|
50
|
+
r"""How much liquidity to take out in percentage."""
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .signedauthorization import SignedAuthorization, SignedAuthorizationTypedDict
|
|
5
|
+
from compassapisdk.types import BaseModel
|
|
6
|
+
import pydantic
|
|
7
|
+
from typing import List, Optional
|
|
8
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class UnsignedMulticallTransactionTypedDict(TypedDict):
|
|
12
|
+
chain_id: int
|
|
13
|
+
r"""The chain id of the transaction"""
|
|
14
|
+
data: str
|
|
15
|
+
r"""The data of the transaction"""
|
|
16
|
+
from_: str
|
|
17
|
+
r"""The sender of the transaction"""
|
|
18
|
+
gas: int
|
|
19
|
+
r"""The gas of the transaction"""
|
|
20
|
+
to: str
|
|
21
|
+
r"""The recipient of the transaction"""
|
|
22
|
+
value: int
|
|
23
|
+
r"""The value of the transaction"""
|
|
24
|
+
nonce: int
|
|
25
|
+
r"""The nonce of the address"""
|
|
26
|
+
max_fee_per_gas: int
|
|
27
|
+
r"""The max fee per gas of the transaction"""
|
|
28
|
+
max_priority_fee_per_gas: int
|
|
29
|
+
r"""The max priority fee per gas of the transaction"""
|
|
30
|
+
authorization_list: NotRequired[List[SignedAuthorizationTypedDict]]
|
|
31
|
+
r"""EIP-7702 authorization"""
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
class UnsignedMulticallTransaction(BaseModel):
|
|
35
|
+
chain_id: Annotated[int, pydantic.Field(alias="chainId")]
|
|
36
|
+
r"""The chain id of the transaction"""
|
|
37
|
+
|
|
38
|
+
data: str
|
|
39
|
+
r"""The data of the transaction"""
|
|
40
|
+
|
|
41
|
+
from_: Annotated[str, pydantic.Field(alias="from")]
|
|
42
|
+
r"""The sender of the transaction"""
|
|
43
|
+
|
|
44
|
+
gas: int
|
|
45
|
+
r"""The gas of the transaction"""
|
|
46
|
+
|
|
47
|
+
to: str
|
|
48
|
+
r"""The recipient of the transaction"""
|
|
49
|
+
|
|
50
|
+
value: int
|
|
51
|
+
r"""The value of the transaction"""
|
|
52
|
+
|
|
53
|
+
nonce: int
|
|
54
|
+
r"""The nonce of the address"""
|
|
55
|
+
|
|
56
|
+
max_fee_per_gas: Annotated[int, pydantic.Field(alias="maxFeePerGas")]
|
|
57
|
+
r"""The max fee per gas of the transaction"""
|
|
58
|
+
|
|
59
|
+
max_priority_fee_per_gas: Annotated[
|
|
60
|
+
int, pydantic.Field(alias="maxPriorityFeePerGas")
|
|
61
|
+
]
|
|
62
|
+
r"""The max priority fee per gas of the transaction"""
|
|
63
|
+
|
|
64
|
+
authorization_list: Annotated[
|
|
65
|
+
Optional[List[SignedAuthorization]], pydantic.Field(alias="authorizationList")
|
|
66
|
+
] = None
|
|
67
|
+
r"""EIP-7702 authorization"""
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from
|
|
4
|
+
from compassapisdk.types import BaseModel
|
|
5
5
|
import pydantic
|
|
6
6
|
from typing_extensions import Annotated, TypedDict
|
|
7
7
|
|