compass_api_sdk 0.2.0__py3-none-any.whl → 0.3.0__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.2.0.dist-info → compass_api_sdk-0.3.0.dist-info}/METADATA +34 -33
- compass_api_sdk-0.3.0.dist-info/RECORD +180 -0
- {compass_api_sdk → compassapisdk}/_hooks/sdkhooks.py +1 -1
- {compass_api_sdk → compassapisdk}/_hooks/types.py +1 -1
- {compass_api_sdk → compassapisdk}/_version.py +3 -3
- {compass_api_sdk → compassapisdk}/aave_v3.py +27 -27
- {compass_api_sdk → compassapisdk}/aerodrome_slipstream.py +11 -11
- {compass_api_sdk → compassapisdk}/basesdk.py +3 -3
- {compass_api_sdk → compassapisdk}/errors/httpvalidationerror.py +3 -3
- {compass_api_sdk → compassapisdk}/httpclient.py +7 -37
- {compass_api_sdk → compassapisdk}/models/__init__.py +46 -25
- {compass_api_sdk → compassapisdk}/models/aave_historical_transactionsop.py +8 -2
- {compass_api_sdk → compassapisdk}/models/aave_liquidity_changeop.py +8 -12
- {compass_api_sdk → compassapisdk}/models/aave_rateop.py +4 -12
- {compass_api_sdk → compassapisdk}/models/aave_reserve_overviewop.py +4 -12
- {compass_api_sdk → compassapisdk}/models/aave_token_priceop.py +4 -12
- {compass_api_sdk → compassapisdk}/models/aave_user_position_per_tokenop.py +6 -12
- {compass_api_sdk → compassapisdk}/models/aave_user_position_summaryop.py +4 -2
- {compass_api_sdk → compassapisdk}/models/aaveborrowparams.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aaveborrowrequest.py +1 -1
- compassapisdk/models/aavehistoricaltransactionsresponse.py +65 -0
- {compass_api_sdk → compassapisdk}/models/aaveliquiditychangeresponse.py +1 -1
- compassapisdk/models/aavelooprequest.py +87 -0
- {compass_api_sdk → compassapisdk}/models/aaverateresponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aaverepayparams.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aaverepayrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aavereserveoverviewresponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aavesupplyparams.py +1 -1
- {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
- {compass_api_sdk → compassapisdk}/models/aavewithdrawparams.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aavewithdrawrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aerodrome_slipstream_liquidity_provision_positionsop.py +4 -2
- {compass_api_sdk → compassapisdk}/models/aerodrome_slipstream_pool_priceop.py +8 -22
- {compass_api_sdk → compassapisdk}/models/aerodromelppositionsresponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aerodromeposition.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aerodromeslipstreambuyexactlyparams.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aerodromeslipstreambuyexactlyrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aerodromeslipstreamincreaseliquidityprovisionparams.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aerodromeslipstreamincreaseliquidityprovisionrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aerodromeslipstreammintliquidityprovisionparams.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aerodromeslipstreammintliquidityprovisionrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aerodromeslipstreampoolpriceresponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aerodromeslipstreamsellexactlyparams.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aerodromeslipstreamsellexactlyrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aerodromeslipstreamwithdrawliquidityprovisionparams.py +1 -1
- {compass_api_sdk → compassapisdk}/models/aerodromeslipstreamwithdrawliquidityprovisionrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/allowanceinforesponse.py +1 -1
- compassapisdk/models/borrow.py +67 -0
- {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
- {compass_api_sdk → compassapisdk}/models/ensnameinforesponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/generic_allowanceop.py +10 -12
- {compass_api_sdk → compassapisdk}/models/generic_ensop.py +4 -2
- {compass_api_sdk → compassapisdk}/models/generic_portfolioop.py +4 -2
- {compass_api_sdk → compassapisdk}/models/generic_supported_tokensop.py +2 -2
- {compass_api_sdk → compassapisdk}/models/generic_visualize_portfolioop.py +4 -2
- {compass_api_sdk → compassapisdk}/models/image.py +1 -1
- {compass_api_sdk → compassapisdk}/models/increaseallowanceanyparams.py +1 -1
- {compass_api_sdk → compassapisdk}/models/increaseallowanceparams.py +1 -1
- {compass_api_sdk → compassapisdk}/models/increaseallowancerequest.py +1 -1
- compassapisdk/models/liquidationcall.py +64 -0
- {compass_api_sdk → compassapisdk}/models/marketstate.py +1 -1
- {compass_api_sdk → compassapisdk}/models/morpho_market_positionop.py +11 -11
- {compass_api_sdk → compassapisdk}/models/morpho_marketsop.py +11 -11
- {compass_api_sdk → compassapisdk}/models/morpho_vault_positionop.py +11 -11
- {compass_api_sdk → compassapisdk}/models/morpho_vaultsop.py +22 -18
- {compass_api_sdk → compassapisdk}/models/morphoborrowrequest.py +9 -6
- {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 +9 -6
- {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 +9 -6
- {compass_api_sdk → compassapisdk}/models/morphosetvaultallowancerequest.py +9 -6
- {compass_api_sdk → compassapisdk}/models/morphosupplycollateralrequest.py +9 -6
- {compass_api_sdk → compassapisdk}/models/morphovault.py +1 -1
- {compass_api_sdk → compassapisdk}/models/morphowithdrawcollateralrequest.py +9 -6
- {compass_api_sdk → compassapisdk}/models/morphowithdrawrequest.py +9 -6
- {compass_api_sdk → compassapisdk}/models/multicallaction.py +1 -1
- {compass_api_sdk → compassapisdk}/models/multicallauthorizationrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/multicallauthorizationresponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/multicallexecuterequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/portfolio.py +1 -1
- compassapisdk/models/redeemunderlying.py +48 -0
- compassapisdk/models/repay.py +52 -0
- compassapisdk/models/reserve.py +77 -0
- {compass_api_sdk → compassapisdk}/models/security.py +2 -2
- {compass_api_sdk → compassapisdk}/models/signedauthorization.py +1 -1
- {compass_api_sdk → compassapisdk}/models/sky_positionop.py +4 -2
- {compass_api_sdk → compassapisdk}/models/skybuyrequest.py +2 -2
- {compass_api_sdk → compassapisdk}/models/skycheckpositionresponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/skydepositrequest.py +2 -2
- {compass_api_sdk → compassapisdk}/models/skysellrequest.py +2 -2
- {compass_api_sdk → compassapisdk}/models/skywithdrawrequest.py +2 -2
- compassapisdk/models/supply.py +54 -0
- compassapisdk/models/swapborrowrate.py +56 -0
- {compass_api_sdk → compassapisdk}/models/token_addressop.py +4 -12
- {compass_api_sdk → compassapisdk}/models/token_balanceop.py +8 -2
- {compass_api_sdk → compassapisdk}/models/token_priceop.py +4 -12
- {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 → compassapisdk}/models/tokentransfererc20params.py +1 -1
- {compass_api_sdk → compassapisdk}/models/tokentransferrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/uniswap_liquidity_provision_in_rangeop.py +4 -2
- {compass_api_sdk → compassapisdk}/models/uniswap_liquidity_provision_positionsop.py +4 -2
- {compass_api_sdk → compassapisdk}/models/uniswap_pool_priceop.py +8 -30
- {compass_api_sdk → compassapisdk}/models/uniswap_quote_buy_exactlyop.py +12 -30
- {compass_api_sdk → compassapisdk}/models/uniswap_quote_sell_exactlyop.py +12 -30
- {compass_api_sdk → compassapisdk}/models/uniswapbuyexactlyparams.py +7 -7
- {compass_api_sdk → compassapisdk}/models/uniswapbuyexactlyrequest.py +7 -7
- {compass_api_sdk → compassapisdk}/models/uniswapbuyquoteinforesponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/uniswapcheckinrangeresponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/uniswapincreaseliquidityprovisionparams.py +1 -1
- {compass_api_sdk → compassapisdk}/models/uniswapincreaseliquidityprovisionrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/uniswaplppositionsinforesponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/uniswapmintliquidityprovisionparams.py +1 -1
- {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
- {compass_api_sdk → compassapisdk}/models/uniswapsellexactlyparams.py +1 -1
- {compass_api_sdk → compassapisdk}/models/uniswapsellexactlyrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/uniswapsellquoteinforesponse.py +1 -1
- {compass_api_sdk → compassapisdk}/models/uniswapwithdrawliquidityprovisionparams.py +1 -1
- {compass_api_sdk → compassapisdk}/models/uniswapwithdrawliquidityprovisionrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/models/unsignedmulticalltransaction.py +1 -1
- {compass_api_sdk → compassapisdk}/models/unsignedtransaction.py +1 -1
- {compass_api_sdk → compassapisdk}/models/unwrapwethparams.py +1 -1
- {compass_api_sdk → compassapisdk}/models/unwrapwethrequest.py +1 -1
- compassapisdk/models/usageascollateral.py +53 -0
- {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
- {compass_api_sdk → compassapisdk}/models/wrapethparams.py +1 -1
- {compass_api_sdk → compassapisdk}/models/wrapethrequest.py +1 -1
- {compass_api_sdk → compassapisdk}/morpho.py +79 -63
- {compass_api_sdk → compassapisdk}/sdk.py +11 -11
- {compass_api_sdk → compassapisdk}/sdkconfiguration.py +2 -2
- {compass_api_sdk → compassapisdk}/sky.py +5 -5
- {compass_api_sdk → compassapisdk}/token_sdk.py +11 -11
- {compass_api_sdk → compassapisdk}/transaction_batching.py +287 -3
- {compass_api_sdk → compassapisdk}/uniswap_v3.py +39 -39
- {compass_api_sdk → compassapisdk}/universal.py +15 -15
- compass_api_sdk/_hooks/registration.py +0 -13
- compass_api_sdk/models/aavehistoricaltransactionbase.py +0 -113
- compass_api_sdk/models/aavehistoricaltransactionsresponse.py +0 -31
- compass_api_sdk/models/action.py +0 -14
- compass_api_sdk/models/borrow.py +0 -33
- compass_api_sdk/models/collateralreserve.py +0 -16
- compass_api_sdk/models/liquidationcall.py +0 -37
- compass_api_sdk/models/principalreserve.py +0 -16
- compass_api_sdk/models/redeemunderlying.py +0 -21
- compass_api_sdk/models/repay.py +0 -21
- compass_api_sdk/models/reserve.py +0 -16
- compass_api_sdk/models/supply.py +0 -21
- compass_api_sdk/models/swapborrowrate.py +0 -27
- compass_api_sdk/models/usageascollateral.py +0 -21
- compass_api_sdk-0.2.0.dist-info/RECORD +0 -184
- {compass_api_sdk-0.2.0.dist-info → compass_api_sdk-0.3.0.dist-info}/WHEEL +0 -0
- {compass_api_sdk → compassapisdk}/__init__.py +0 -0
- {compass_api_sdk → compassapisdk}/_hooks/__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}/models/chain.py +0 -0
- {compass_api_sdk → compassapisdk}/models/contractname.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/multicallactiontype.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
|
@@ -1,26 +1,30 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from .
|
|
5
|
-
from compass_api_sdk.types import (
|
|
4
|
+
from compassapisdk.types import (
|
|
6
5
|
BaseModel,
|
|
7
6
|
Nullable,
|
|
8
7
|
OptionalNullable,
|
|
9
8
|
UNSET,
|
|
10
9
|
UNSET_SENTINEL,
|
|
11
10
|
)
|
|
11
|
+
from enum import Enum
|
|
12
12
|
from pydantic import model_serializer
|
|
13
13
|
from typing import Any
|
|
14
14
|
from typing_extensions import NotRequired, TypedDict
|
|
15
15
|
|
|
16
16
|
|
|
17
|
+
class MorphoRepayRequestChain(str, Enum):
|
|
18
|
+
ETHEREUM_MAINNET = "ethereum:mainnet"
|
|
19
|
+
BASE_MAINNET = "base:mainnet"
|
|
20
|
+
|
|
21
|
+
|
|
17
22
|
class MorphoRepayRequestTypedDict(TypedDict):
|
|
18
23
|
amount: Any
|
|
19
24
|
r"""Amount of the token to repay to the market. If set to 'ALL', all debt plus interest will be paid back if the user has a sufficient token balance in their wallet."""
|
|
20
25
|
unique_market_key: str
|
|
21
26
|
r"""The key that uniquely identifies the market. This can be found using the 'Get Markets' endpoint."""
|
|
22
|
-
chain:
|
|
23
|
-
r"""The chain to use."""
|
|
27
|
+
chain: MorphoRepayRequestChain
|
|
24
28
|
sender: str
|
|
25
29
|
r"""The address of the transaction sender."""
|
|
26
30
|
on_behalf_of: NotRequired[Nullable[str]]
|
|
@@ -36,8 +40,7 @@ class MorphoRepayRequest(BaseModel):
|
|
|
36
40
|
unique_market_key: str
|
|
37
41
|
r"""The key that uniquely identifies the market. This can be found using the 'Get Markets' endpoint."""
|
|
38
42
|
|
|
39
|
-
chain:
|
|
40
|
-
r"""The chain to use."""
|
|
43
|
+
chain: MorphoRepayRequestChain
|
|
41
44
|
|
|
42
45
|
sender: str
|
|
43
46
|
r"""The address of the transaction sender."""
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from .
|
|
5
|
-
from
|
|
4
|
+
from compassapisdk.types import BaseModel
|
|
5
|
+
from enum import Enum
|
|
6
6
|
from typing import Union
|
|
7
7
|
from typing_extensions import TypeAliasType, TypedDict
|
|
8
8
|
|
|
@@ -19,13 +19,17 @@ MorphoSetVaultAllowanceRequestAmount = TypeAliasType(
|
|
|
19
19
|
r"""The amount of tokens to increase the allowance by."""
|
|
20
20
|
|
|
21
21
|
|
|
22
|
+
class MorphoSetVaultAllowanceRequestChain(str, Enum):
|
|
23
|
+
ETHEREUM_MAINNET = "ethereum:mainnet"
|
|
24
|
+
BASE_MAINNET = "base:mainnet"
|
|
25
|
+
|
|
26
|
+
|
|
22
27
|
class MorphoSetVaultAllowanceRequestTypedDict(TypedDict):
|
|
23
28
|
vault_address: str
|
|
24
29
|
r"""The vault address you are increasing the allowance for."""
|
|
25
30
|
amount: MorphoSetVaultAllowanceRequestAmountTypedDict
|
|
26
31
|
r"""The amount of tokens to increase the allowance by."""
|
|
27
|
-
chain:
|
|
28
|
-
r"""The chain to use."""
|
|
32
|
+
chain: MorphoSetVaultAllowanceRequestChain
|
|
29
33
|
sender: str
|
|
30
34
|
r"""The address of the transaction sender."""
|
|
31
35
|
|
|
@@ -37,8 +41,7 @@ class MorphoSetVaultAllowanceRequest(BaseModel):
|
|
|
37
41
|
amount: MorphoSetVaultAllowanceRequestAmount
|
|
38
42
|
r"""The amount of tokens to increase the allowance by."""
|
|
39
43
|
|
|
40
|
-
chain:
|
|
41
|
-
r"""The chain to use."""
|
|
44
|
+
chain: MorphoSetVaultAllowanceRequestChain
|
|
42
45
|
|
|
43
46
|
sender: str
|
|
44
47
|
r"""The address of the transaction sender."""
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from .
|
|
5
|
-
from compass_api_sdk.types import (
|
|
4
|
+
from compassapisdk.types import (
|
|
6
5
|
BaseModel,
|
|
7
6
|
Nullable,
|
|
8
7
|
OptionalNullable,
|
|
9
8
|
UNSET,
|
|
10
9
|
UNSET_SENTINEL,
|
|
11
10
|
)
|
|
11
|
+
from enum import Enum
|
|
12
12
|
from pydantic import model_serializer
|
|
13
13
|
from typing import Union
|
|
14
14
|
from typing_extensions import NotRequired, TypeAliasType, TypedDict
|
|
@@ -26,13 +26,17 @@ MorphoSupplyCollateralRequestAmount = TypeAliasType(
|
|
|
26
26
|
r"""Amount of the token to supply to the market as collateral."""
|
|
27
27
|
|
|
28
28
|
|
|
29
|
+
class MorphoSupplyCollateralRequestChain(str, Enum):
|
|
30
|
+
ETHEREUM_MAINNET = "ethereum:mainnet"
|
|
31
|
+
BASE_MAINNET = "base:mainnet"
|
|
32
|
+
|
|
33
|
+
|
|
29
34
|
class MorphoSupplyCollateralRequestTypedDict(TypedDict):
|
|
30
35
|
amount: MorphoSupplyCollateralRequestAmountTypedDict
|
|
31
36
|
r"""Amount of the token to supply to the market as collateral."""
|
|
32
37
|
unique_market_key: str
|
|
33
38
|
r"""The key that uniquely identifies the market. This can be found using the 'Get Markets' endpoint."""
|
|
34
|
-
chain:
|
|
35
|
-
r"""The chain to use."""
|
|
39
|
+
chain: MorphoSupplyCollateralRequestChain
|
|
36
40
|
sender: str
|
|
37
41
|
r"""The address of the transaction sender."""
|
|
38
42
|
on_behalf_of: NotRequired[Nullable[str]]
|
|
@@ -48,8 +52,7 @@ class MorphoSupplyCollateralRequest(BaseModel):
|
|
|
48
52
|
unique_market_key: str
|
|
49
53
|
r"""The key that uniquely identifies the market. This can be found using the 'Get Markets' endpoint."""
|
|
50
54
|
|
|
51
|
-
chain:
|
|
52
|
-
r"""The chain to use."""
|
|
55
|
+
chain: MorphoSupplyCollateralRequestChain
|
|
53
56
|
|
|
54
57
|
sender: str
|
|
55
58
|
r"""The address of the transaction sender."""
|
|
@@ -7,7 +7,7 @@ from .compass_api_backend_models_morpho_read_response_get_vaults_asset import (
|
|
|
7
7
|
CompassAPIBackendModelsMorphoReadResponseGetVaultsAssetTypedDict,
|
|
8
8
|
)
|
|
9
9
|
from .vaultstate import VaultState, VaultStateTypedDict
|
|
10
|
-
from
|
|
10
|
+
from compassapisdk.types import BaseModel
|
|
11
11
|
import pydantic
|
|
12
12
|
from typing_extensions import Annotated, TypedDict
|
|
13
13
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from .
|
|
5
|
-
from compass_api_sdk.types import (
|
|
4
|
+
from compassapisdk.types import (
|
|
6
5
|
BaseModel,
|
|
7
6
|
Nullable,
|
|
8
7
|
OptionalNullable,
|
|
9
8
|
UNSET,
|
|
10
9
|
UNSET_SENTINEL,
|
|
11
10
|
)
|
|
11
|
+
from enum import Enum
|
|
12
12
|
from pydantic import model_serializer
|
|
13
13
|
from typing import Union
|
|
14
14
|
from typing_extensions import NotRequired, TypeAliasType, TypedDict
|
|
@@ -26,13 +26,17 @@ MorphoWithdrawCollateralRequestAmount = TypeAliasType(
|
|
|
26
26
|
r"""Amount of the token to supply to the market as collateral."""
|
|
27
27
|
|
|
28
28
|
|
|
29
|
+
class MorphoWithdrawCollateralRequestChain(str, Enum):
|
|
30
|
+
ETHEREUM_MAINNET = "ethereum:mainnet"
|
|
31
|
+
BASE_MAINNET = "base:mainnet"
|
|
32
|
+
|
|
33
|
+
|
|
29
34
|
class MorphoWithdrawCollateralRequestTypedDict(TypedDict):
|
|
30
35
|
amount: MorphoWithdrawCollateralRequestAmountTypedDict
|
|
31
36
|
r"""Amount of the token to supply to the market as collateral."""
|
|
32
37
|
unique_market_key: str
|
|
33
38
|
r"""The key that uniquely identifies the market. This can be found using the 'Get Markets' endpoint."""
|
|
34
|
-
chain:
|
|
35
|
-
r"""The chain to use."""
|
|
39
|
+
chain: MorphoWithdrawCollateralRequestChain
|
|
36
40
|
sender: str
|
|
37
41
|
r"""The address of the transaction sender."""
|
|
38
42
|
on_behalf_of: NotRequired[Nullable[str]]
|
|
@@ -48,8 +52,7 @@ class MorphoWithdrawCollateralRequest(BaseModel):
|
|
|
48
52
|
unique_market_key: str
|
|
49
53
|
r"""The key that uniquely identifies the market. This can be found using the 'Get Markets' endpoint."""
|
|
50
54
|
|
|
51
|
-
chain:
|
|
52
|
-
r"""The chain to use."""
|
|
55
|
+
chain: MorphoWithdrawCollateralRequestChain
|
|
53
56
|
|
|
54
57
|
sender: str
|
|
55
58
|
r"""The address of the transaction sender."""
|
|
@@ -1,26 +1,30 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from .
|
|
5
|
-
from compass_api_sdk.types import (
|
|
4
|
+
from compassapisdk.types import (
|
|
6
5
|
BaseModel,
|
|
7
6
|
Nullable,
|
|
8
7
|
OptionalNullable,
|
|
9
8
|
UNSET,
|
|
10
9
|
UNSET_SENTINEL,
|
|
11
10
|
)
|
|
11
|
+
from enum import Enum
|
|
12
12
|
from pydantic import model_serializer
|
|
13
13
|
from typing import Any
|
|
14
14
|
from typing_extensions import NotRequired, TypedDict
|
|
15
15
|
|
|
16
16
|
|
|
17
|
+
class MorphoWithdrawRequestChain(str, Enum):
|
|
18
|
+
ETHEREUM_MAINNET = "ethereum:mainnet"
|
|
19
|
+
BASE_MAINNET = "base:mainnet"
|
|
20
|
+
|
|
21
|
+
|
|
17
22
|
class MorphoWithdrawRequestTypedDict(TypedDict):
|
|
18
23
|
vault_address: str
|
|
19
24
|
r"""The vault address you are withdrawing from."""
|
|
20
25
|
amount: Any
|
|
21
26
|
r"""The amount of tokens to withdraw from the vault. If set to 'ALL', your total deposited token amount will be withdrawn."""
|
|
22
|
-
chain:
|
|
23
|
-
r"""The chain to use."""
|
|
27
|
+
chain: MorphoWithdrawRequestChain
|
|
24
28
|
sender: str
|
|
25
29
|
r"""The address of the transaction sender."""
|
|
26
30
|
receiver: NotRequired[Nullable[str]]
|
|
@@ -34,8 +38,7 @@ class MorphoWithdrawRequest(BaseModel):
|
|
|
34
38
|
amount: Any
|
|
35
39
|
r"""The amount of tokens to withdraw from the vault. If set to 'ALL', your total deposited token amount will be withdrawn."""
|
|
36
40
|
|
|
37
|
-
chain:
|
|
38
|
-
r"""The chain to use."""
|
|
41
|
+
chain: MorphoWithdrawRequestChain
|
|
39
42
|
|
|
40
43
|
sender: str
|
|
41
44
|
r"""The address of the transaction sender."""
|
|
@@ -60,7 +60,7 @@ from .uniswapwithdrawliquidityprovisionparams import (
|
|
|
60
60
|
)
|
|
61
61
|
from .unwrapwethparams import UnwrapWethParams, UnwrapWethParamsTypedDict
|
|
62
62
|
from .wrapethparams import WrapEthParams, WrapEthParamsTypedDict
|
|
63
|
-
from
|
|
63
|
+
from compassapisdk.types import BaseModel
|
|
64
64
|
from typing import Union
|
|
65
65
|
from typing_extensions import TypeAliasType, TypedDict
|
|
66
66
|
|
|
@@ -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
|
|
|
@@ -4,7 +4,7 @@ from __future__ import annotations
|
|
|
4
4
|
from .chain import Chain
|
|
5
5
|
from .multicallaction import MulticallAction, MulticallActionTypedDict
|
|
6
6
|
from .signedauthorization import SignedAuthorization, SignedAuthorizationTypedDict
|
|
7
|
-
from
|
|
7
|
+
from compassapisdk.types import BaseModel
|
|
8
8
|
from typing import List
|
|
9
9
|
from typing_extensions import TypedDict
|
|
10
10
|
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .reserve import Reserve, ReserveTypedDict
|
|
5
|
+
from compassapisdk.types import BaseModel
|
|
6
|
+
import pydantic
|
|
7
|
+
from typing_extensions import Annotated, TypedDict
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class RedeemUnderlyingTypedDict(TypedDict):
|
|
11
|
+
id: str
|
|
12
|
+
r"""The id of a historical transaction on aave"""
|
|
13
|
+
timestamp: int
|
|
14
|
+
r"""Timestamp in unix time"""
|
|
15
|
+
tx_hash: str
|
|
16
|
+
r"""Transaction hash. You can paste these into the search bar on etherscan"""
|
|
17
|
+
amount: float
|
|
18
|
+
r"""Quantity of token"""
|
|
19
|
+
reserve: ReserveTypedDict
|
|
20
|
+
asset_price_usd: float
|
|
21
|
+
r"""Price of token in USD"""
|
|
22
|
+
action: str
|
|
23
|
+
r"""The type of transaction"""
|
|
24
|
+
block: int
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
class RedeemUnderlying(BaseModel):
|
|
28
|
+
id: str
|
|
29
|
+
r"""The id of a historical transaction on aave"""
|
|
30
|
+
|
|
31
|
+
timestamp: int
|
|
32
|
+
r"""Timestamp in unix time"""
|
|
33
|
+
|
|
34
|
+
tx_hash: Annotated[str, pydantic.Field(alias="txHash")]
|
|
35
|
+
r"""Transaction hash. You can paste these into the search bar on etherscan"""
|
|
36
|
+
|
|
37
|
+
amount: float
|
|
38
|
+
r"""Quantity of token"""
|
|
39
|
+
|
|
40
|
+
reserve: Reserve
|
|
41
|
+
|
|
42
|
+
asset_price_usd: Annotated[float, pydantic.Field(alias="assetPriceUSD")]
|
|
43
|
+
r"""Price of token in USD"""
|
|
44
|
+
|
|
45
|
+
action: str
|
|
46
|
+
r"""The type of transaction"""
|
|
47
|
+
|
|
48
|
+
block: int
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .reserve import Reserve, ReserveTypedDict
|
|
5
|
+
from compassapisdk.types import BaseModel
|
|
6
|
+
from compassapisdk.utils import validate_const
|
|
7
|
+
import pydantic
|
|
8
|
+
from pydantic.functional_validators import AfterValidator
|
|
9
|
+
from typing import Literal
|
|
10
|
+
from typing_extensions import Annotated, TypedDict
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class RepayTypedDict(TypedDict):
|
|
14
|
+
id: str
|
|
15
|
+
r"""The id of a historical transaction on aave"""
|
|
16
|
+
timestamp: int
|
|
17
|
+
r"""Timestamp in unix time"""
|
|
18
|
+
tx_hash: str
|
|
19
|
+
r"""Transaction hash. You can paste these into the search bar on etherscan"""
|
|
20
|
+
amount: float
|
|
21
|
+
r"""Quantity of token"""
|
|
22
|
+
reserve: ReserveTypedDict
|
|
23
|
+
asset_price_usd: float
|
|
24
|
+
block: int
|
|
25
|
+
action: Literal["Repay"]
|
|
26
|
+
r"""The type of transaction"""
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class Repay(BaseModel):
|
|
30
|
+
id: str
|
|
31
|
+
r"""The id of a historical transaction on aave"""
|
|
32
|
+
|
|
33
|
+
timestamp: int
|
|
34
|
+
r"""Timestamp in unix time"""
|
|
35
|
+
|
|
36
|
+
tx_hash: Annotated[str, pydantic.Field(alias="txHash")]
|
|
37
|
+
r"""Transaction hash. You can paste these into the search bar on etherscan"""
|
|
38
|
+
|
|
39
|
+
amount: float
|
|
40
|
+
r"""Quantity of token"""
|
|
41
|
+
|
|
42
|
+
reserve: Reserve
|
|
43
|
+
|
|
44
|
+
asset_price_usd: Annotated[float, pydantic.Field(alias="assetPriceUSD")]
|
|
45
|
+
|
|
46
|
+
block: int
|
|
47
|
+
|
|
48
|
+
ACTION: Annotated[
|
|
49
|
+
Annotated[Literal["Repay"], AfterValidator(validate_const("Repay"))],
|
|
50
|
+
pydantic.Field(alias="action"),
|
|
51
|
+
] = "Repay"
|
|
52
|
+
r"""The type of transaction"""
|
|
@@ -0,0 +1,77 @@
|
|
|
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 compassapisdk.types import (
|
|
6
|
+
BaseModel,
|
|
7
|
+
Nullable,
|
|
8
|
+
OptionalNullable,
|
|
9
|
+
UNSET,
|
|
10
|
+
UNSET_SENTINEL,
|
|
11
|
+
)
|
|
12
|
+
import pydantic
|
|
13
|
+
from pydantic import model_serializer
|
|
14
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class ReserveTypedDict(TypedDict):
|
|
18
|
+
symbol: TokenEnum
|
|
19
|
+
r"""A class representing the token.
|
|
20
|
+
|
|
21
|
+
This class is used to represent the token in the system. Notice individual
|
|
22
|
+
endpoints' documentation where per chain tokens are presented.
|
|
23
|
+
"""
|
|
24
|
+
name: str
|
|
25
|
+
r"""Name of Token"""
|
|
26
|
+
underlying_asset: str
|
|
27
|
+
r"""Checksum address of Token."""
|
|
28
|
+
decimals: NotRequired[Nullable[int]]
|
|
29
|
+
r"""Number of decimals of token."""
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
class Reserve(BaseModel):
|
|
33
|
+
symbol: TokenEnum
|
|
34
|
+
r"""A class representing the token.
|
|
35
|
+
|
|
36
|
+
This class is used to represent the token in the system. Notice individual
|
|
37
|
+
endpoints' documentation where per chain tokens are presented.
|
|
38
|
+
"""
|
|
39
|
+
|
|
40
|
+
name: str
|
|
41
|
+
r"""Name of Token"""
|
|
42
|
+
|
|
43
|
+
underlying_asset: Annotated[str, pydantic.Field(alias="underlyingAsset")]
|
|
44
|
+
r"""Checksum address of Token."""
|
|
45
|
+
|
|
46
|
+
decimals: OptionalNullable[int] = UNSET
|
|
47
|
+
r"""Number of decimals of token."""
|
|
48
|
+
|
|
49
|
+
@model_serializer(mode="wrap")
|
|
50
|
+
def serialize_model(self, handler):
|
|
51
|
+
optional_fields = ["decimals"]
|
|
52
|
+
nullable_fields = ["decimals"]
|
|
53
|
+
null_default_fields = []
|
|
54
|
+
|
|
55
|
+
serialized = handler(self)
|
|
56
|
+
|
|
57
|
+
m = {}
|
|
58
|
+
|
|
59
|
+
for n, f in type(self).model_fields.items():
|
|
60
|
+
k = f.alias or n
|
|
61
|
+
val = serialized.get(k)
|
|
62
|
+
serialized.pop(k, None)
|
|
63
|
+
|
|
64
|
+
optional_nullable = k in optional_fields and k in nullable_fields
|
|
65
|
+
is_set = (
|
|
66
|
+
self.__pydantic_fields_set__.intersection({n})
|
|
67
|
+
or k in null_default_fields
|
|
68
|
+
) # pylint: disable=no-member
|
|
69
|
+
|
|
70
|
+
if val is not None and val != UNSET_SENTINEL:
|
|
71
|
+
m[k] = val
|
|
72
|
+
elif val != UNSET_SENTINEL and (
|
|
73
|
+
not k in optional_fields or (optional_nullable and is_set)
|
|
74
|
+
):
|
|
75
|
+
m[k] = val
|
|
76
|
+
|
|
77
|
+
return m
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from
|
|
5
|
-
from
|
|
4
|
+
from compassapisdk.types import BaseModel
|
|
5
|
+
from compassapisdk.utils import FieldMetadata, SecurityMetadata
|
|
6
6
|
from typing_extensions import Annotated, TypedDict
|
|
7
7
|
|
|
8
8
|
|
|
@@ -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 import Union
|
|
7
7
|
from typing_extensions import Annotated, TypeAliasType, TypedDict
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from
|
|
5
|
-
from
|
|
4
|
+
from compassapisdk.types import BaseModel
|
|
5
|
+
from compassapisdk.utils import FieldMetadata, QueryParamMetadata, validate_const
|
|
6
6
|
import pydantic
|
|
7
7
|
from pydantic.functional_validators import AfterValidator
|
|
8
8
|
from typing import Literal, Optional
|
|
@@ -12,6 +12,7 @@ from typing_extensions import Annotated, TypedDict
|
|
|
12
12
|
class SkyPositionRequestTypedDict(TypedDict):
|
|
13
13
|
chain: Literal["ethereum:mainnet"]
|
|
14
14
|
user_address: str
|
|
15
|
+
r"""The user address of the desired position."""
|
|
15
16
|
|
|
16
17
|
|
|
17
18
|
class SkyPositionRequest(BaseModel):
|
|
@@ -27,3 +28,4 @@ class SkyPositionRequest(BaseModel):
|
|
|
27
28
|
user_address: Annotated[
|
|
28
29
|
str, FieldMetadata(query=QueryParamMetadata(style="form", explode=True))
|
|
29
30
|
] = "0xa829B388A3DF7f581cE957a95edbe419dd146d1B"
|
|
31
|
+
r"""The user address of the desired position."""
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from
|
|
5
|
-
from
|
|
4
|
+
from compassapisdk.types import BaseModel
|
|
5
|
+
from compassapisdk.utils import validate_const
|
|
6
6
|
from enum import Enum
|
|
7
7
|
import pydantic
|
|
8
8
|
from pydantic.functional_validators import AfterValidator
|
|
@@ -1,14 +1,14 @@
|
|
|
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 (
|
|
5
5
|
BaseModel,
|
|
6
6
|
Nullable,
|
|
7
7
|
OptionalNullable,
|
|
8
8
|
UNSET,
|
|
9
9
|
UNSET_SENTINEL,
|
|
10
10
|
)
|
|
11
|
-
from
|
|
11
|
+
from compassapisdk.utils import validate_const
|
|
12
12
|
import pydantic
|
|
13
13
|
from pydantic import model_serializer
|
|
14
14
|
from pydantic.functional_validators import AfterValidator
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from
|
|
5
|
-
from
|
|
4
|
+
from compassapisdk.types import BaseModel
|
|
5
|
+
from compassapisdk.utils import validate_const
|
|
6
6
|
from enum import Enum
|
|
7
7
|
import pydantic
|
|
8
8
|
from pydantic.functional_validators import AfterValidator
|
|
@@ -1,14 +1,14 @@
|
|
|
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 (
|
|
5
5
|
BaseModel,
|
|
6
6
|
Nullable,
|
|
7
7
|
OptionalNullable,
|
|
8
8
|
UNSET,
|
|
9
9
|
UNSET_SENTINEL,
|
|
10
10
|
)
|
|
11
|
-
from
|
|
11
|
+
from compassapisdk.utils import validate_const
|
|
12
12
|
import pydantic
|
|
13
13
|
from pydantic import model_serializer
|
|
14
14
|
from pydantic.functional_validators import AfterValidator
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .reserve import Reserve, ReserveTypedDict
|
|
5
|
+
from compassapisdk.types import BaseModel
|
|
6
|
+
from compassapisdk.utils import validate_const
|
|
7
|
+
import pydantic
|
|
8
|
+
from pydantic.functional_validators import AfterValidator
|
|
9
|
+
from typing import Literal
|
|
10
|
+
from typing_extensions import Annotated, TypedDict
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class SupplyTypedDict(TypedDict):
|
|
14
|
+
id: str
|
|
15
|
+
r"""The id of a historical transaction on aave"""
|
|
16
|
+
timestamp: int
|
|
17
|
+
r"""Timestamp in unix time"""
|
|
18
|
+
tx_hash: str
|
|
19
|
+
r"""Transaction hash. You can paste these into the search bar on etherscan"""
|
|
20
|
+
amount: float
|
|
21
|
+
r"""Quantity of token"""
|
|
22
|
+
reserve: ReserveTypedDict
|
|
23
|
+
asset_price_usd: float
|
|
24
|
+
r"""Price of token in USD"""
|
|
25
|
+
block: int
|
|
26
|
+
action: Literal["Supply"]
|
|
27
|
+
r"""The type of transaction"""
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
class Supply(BaseModel):
|
|
31
|
+
id: str
|
|
32
|
+
r"""The id of a historical transaction on aave"""
|
|
33
|
+
|
|
34
|
+
timestamp: int
|
|
35
|
+
r"""Timestamp in unix time"""
|
|
36
|
+
|
|
37
|
+
tx_hash: Annotated[str, pydantic.Field(alias="txHash")]
|
|
38
|
+
r"""Transaction hash. You can paste these into the search bar on etherscan"""
|
|
39
|
+
|
|
40
|
+
amount: float
|
|
41
|
+
r"""Quantity of token"""
|
|
42
|
+
|
|
43
|
+
reserve: Reserve
|
|
44
|
+
|
|
45
|
+
asset_price_usd: Annotated[float, pydantic.Field(alias="assetPriceUSD")]
|
|
46
|
+
r"""Price of token in USD"""
|
|
47
|
+
|
|
48
|
+
block: int
|
|
49
|
+
|
|
50
|
+
ACTION: Annotated[
|
|
51
|
+
Annotated[Literal["Supply"], AfterValidator(validate_const("Supply"))],
|
|
52
|
+
pydantic.Field(alias="action"),
|
|
53
|
+
] = "Supply"
|
|
54
|
+
r"""The type of transaction"""
|