compass_api_sdk 0.9.52__py3-none-any.whl → 1.0.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/_version.py +3 -3
- compass_api_sdk/aave_v3.py +70 -124
- compass_api_sdk/aerodrome_slipstream.py +86 -88
- compass_api_sdk/erc_4626_vaults.py +18 -42
- compass_api_sdk/models/__init__.py +908 -962
- compass_api_sdk/models/{compass_api_backend_models_aave_transact_request_borrow_aaveborrowrequest.py → aaveborrowrequest.py} +10 -18
- compass_api_sdk/models/aavehistoricaltransactionsresponse.py +65 -0
- compass_api_sdk/models/{compass_api_backend_models_multicall_transact_request_aave_loop_request_aavelooprequest.py → aavelooprequest.py} +5 -11
- compass_api_sdk/models/{compass_api_backend_models_aave_transact_request_repay_aaverepayrequest.py → aaverepayrequest.py} +10 -18
- compass_api_sdk/models/{compass_api_backend_models_aave_transact_request_supply_aavesupplyrequest.py → aavesupplyrequest.py} +10 -18
- compass_api_sdk/models/{compass_api_backend_models_aave_transact_request_withdraw_aavewithdrawrequest.py → aavewithdrawrequest.py} +11 -19
- compass_api_sdk/models/{compass_api_backend_models_aerodrome_slipstream_read_response_positions_aerodromelppositionsresponse.py → aerodromelppositionsresponse.py} +2 -6
- compass_api_sdk/models/{compass_api_backend_models_aerodrome_slipstream_transact_request_swap_buy_exactly_aerodromeslipstreambuyexactlyrequest.py → aerodromeslipstreambuyexactlyrequest.py} +17 -27
- compass_api_sdk/models/aerodromeslipstreamincreaseliquidityprovisionrequest.py +125 -0
- compass_api_sdk/models/{compass_api_backend_models_aerodrome_slipstream_transact_request_liquidity_provision_mint_aerodromeslipstreammintliquidityprovisionrequest.py → aerodromeslipstreammintliquidityprovisionrequest.py} +33 -39
- compass_api_sdk/models/{compass_api_backend_models_aerodrome_slipstream_transact_request_swap_sell_exactly_aerodromeslipstreamsellexactlyrequest.py → aerodromeslipstreamsellexactlyrequest.py} +17 -27
- compass_api_sdk/models/aerodromeslipstreamwithdrawliquidityprovisionrequest.py +66 -0
- compass_api_sdk/models/batcheduseroperationsrequest.py +36 -0
- compass_api_sdk/models/{compass_api_backend_models_aave_read_response_historical_transactions_borrow.py → borrow.py} +2 -4
- compass_api_sdk/models/{compass_api_backend_config_chain_chain.py → chain.py} +1 -1
- compass_api_sdk/models/{compass_api_backend_models_aave_read_response_historical_transactions_liquidationcall.py → liquidationcall.py} +2 -6
- compass_api_sdk/models/{compass_api_backend_models_morpho_read_response_check_user_position_marketposition.py → marketposition.py} +2 -6
- compass_api_sdk/models/{compass_api_backend_models_morpho_transact_request_borrow_morphoborrowrequest.py → morphoborrowrequest.py} +11 -19
- compass_api_sdk/models/morphocheckuserpositionresponse.py +32 -0
- compass_api_sdk/models/{compass_api_backend_models_morpho_transact_request_deposit_morphodepositrequest.py → morphodepositrequest.py} +11 -23
- compass_api_sdk/models/{compass_api_backend_models_morpho_read_response_get_market_morphogetmarketresponse.py → morphogetmarketresponse.py} +2 -6
- compass_api_sdk/models/morphogetmarketsresponse.py +17 -0
- compass_api_sdk/models/morphogetvaultsresponse.py +17 -0
- compass_api_sdk/models/{compass_api_backend_models_morpho_read_response_get_markets_morphomarket.py → morphomarket.py} +2 -4
- compass_api_sdk/models/{compass_api_backend_models_morpho_transact_request_repay_morphorepayrequest.py → morphorepayrequest.py} +5 -9
- compass_api_sdk/models/{compass_api_backend_models_morpho_transact_request_supply_collateral_morphosupplycollateralrequest.py → morphosupplycollateralrequest.py} +11 -19
- compass_api_sdk/models/{compass_api_backend_models_morpho_read_response_get_vaults_morphovault.py → morphovault.py} +2 -2
- compass_api_sdk/models/{compass_api_backend_models_morpho_transact_request_withdraw_collateral_morphowithdrawcollateralrequest.py → morphowithdrawcollateralrequest.py} +11 -19
- compass_api_sdk/models/{compass_api_backend_models_morpho_transact_request_withdraw_morphowithdrawrequest.py → morphowithdrawrequest.py} +5 -15
- compass_api_sdk/models/{compass_api_backend_models_multicall_read_request_get_authorization_multicallauthorizationrequest.py → multicallauthorizationrequest.py} +5 -11
- compass_api_sdk/models/{compass_api_backend_models_multicall_transact_request_multicall_execution_request_multicallexecuterequest.py → multicallexecuterequest.py} +8 -21
- compass_api_sdk/models/odosswaprequest.py +90 -0
- compass_api_sdk/models/{compass_api_backend_models_pendle_read_response_positions_openposition.py → openposition.py} +2 -4
- compass_api_sdk/models/{compass_api_backend_models_pendle_read_response_market_pendlegetmarketresponse.py → pendlegetmarketresponse.py} +2 -4
- compass_api_sdk/models/pendlelistmarketsresponse.py +17 -0
- compass_api_sdk/models/pendlelistuserpositionsresponse.py +17 -0
- compass_api_sdk/models/{compass_api_backend_models_pendle_read_response_markets_pendlemarket.py → pendlemarket.py} +2 -2
- compass_api_sdk/models/{compass_api_backend_models_pendle_transact_request_redeem_yield_pendleredeemyieldrequest.py → pendleredeemyieldrequest.py} +5 -11
- compass_api_sdk/models/{compass_api_backend_models_generic_read_response_portfolio_portfolio.py → portfolio.py} +2 -2
- compass_api_sdk/models/{compass_api_backend_models_pendle_read_response_positions_position.py → position.py} +7 -18
- compass_api_sdk/models/{compass_api_backend_models_aave_read_response_historical_transactions_redeemunderlying.py → redeemunderlying.py} +2 -6
- compass_api_sdk/models/{compass_api_backend_models_aave_read_response_historical_transactions_repay.py → repay.py} +2 -4
- compass_api_sdk/models/setallowancerequest.py +112 -0
- compass_api_sdk/models/{compass_api_backend_models_sky_transact_request_buy_skybuyrequest.py → skybuyrequest.py} +13 -18
- compass_api_sdk/models/{compass_api_backend_models_sky_transact_request_deposit_skydepositrequest.py → skydepositrequest.py} +10 -22
- compass_api_sdk/models/{compass_api_backend_models_sky_transact_request_sell_skysellrequest.py → skysellrequest.py} +13 -21
- compass_api_sdk/models/{compass_api_backend_models_sky_transact_request_withdraw_skywithdrawrequest.py → skywithdrawrequest.py} +5 -13
- compass_api_sdk/models/{compass_api_backend_models_aave_read_response_historical_transactions_supply.py → supply.py} +2 -4
- compass_api_sdk/models/supportedchaininfo.py +19 -0
- compass_api_sdk/models/{compass_api_backend_models_aave_read_response_historical_transactions_swapborrowrate.py → swapborrowrate.py} +2 -6
- compass_api_sdk/models/tokentransferrequest.py +82 -0
- compass_api_sdk/models/uniswapbuyexactlyrequest.py +111 -0
- compass_api_sdk/models/uniswapincreaseliquidityprovisionrequest.py +115 -0
- compass_api_sdk/models/{compass_api_backend_models_uniswap_transact_liquidity_provision_request_mint_uniswapmintliquidityprovisionrequest.py → uniswapmintliquidityprovisionrequest.py} +29 -43
- compass_api_sdk/models/uniswapsellexactlyrequest.py +111 -0
- compass_api_sdk/models/uniswapwithdrawliquidityprovisionrequest.py +67 -0
- compass_api_sdk/models/{compass_api_backend_models_generic_transact_request_unwrap_weth_unwrapwethrequest.py → unwrapwethrequest.py} +10 -22
- compass_api_sdk/models/{compass_api_backend_models_aave_read_response_historical_transactions_usageascollateral.py → usageascollateral.py} +2 -6
- compass_api_sdk/models/{compass_api_backend_models_multicall_transact_request_multicall_execution_request_useroperation.py → useroperation.py} +2 -6
- compass_api_sdk/models/{compass_api_backend_models_morpho_read_response_check_user_position_vault.py → vault.py} +2 -4
- compass_api_sdk/models/{compass_api_backend_models_vaults_transact_request_deposit_vaultdepositrequest.py → vaultdepositrequest.py} +11 -19
- compass_api_sdk/models/{compass_api_backend_models_vaults_read_response_vault_vaultgetvaultresponse.py → vaultgetvaultresponse.py} +2 -4
- compass_api_sdk/models/{compass_api_backend_models_morpho_read_response_check_user_position_vaultposition.py → vaultposition.py} +5 -12
- compass_api_sdk/models/{compass_api_backend_models_vaults_transact_request_withdraw_vaultwithdrawrequest.py → vaultwithdrawrequest.py} +5 -11
- compass_api_sdk/models/{compass_api_backend_models_generic_transact_request_wrap_eth_wrapethrequest.py → wrapethrequest.py} +10 -20
- compass_api_sdk/morpho.py +82 -170
- compass_api_sdk/pendle.py +18 -56
- compass_api_sdk/sky.py +56 -106
- compass_api_sdk/smart_account.py +10 -38
- compass_api_sdk/swap.py +12 -26
- compass_api_sdk/token_sdk.py +12 -22
- compass_api_sdk/transaction_bundler.py +22 -70
- compass_api_sdk/uniswap_v3.py +90 -106
- compass_api_sdk/universal.py +44 -92
- {compass_api_sdk-0.9.52.dist-info → compass_api_sdk-1.0.0.dist-info}/METADATA +1 -1
- {compass_api_sdk-0.9.52.dist-info → compass_api_sdk-1.0.0.dist-info}/RECORD +82 -82
- compass_api_sdk/models/compass_api_backend_models_aave_read_response_historical_transactions_aavehistoricaltransactionsresponse.py +0 -115
- compass_api_sdk/models/compass_api_backend_models_aerodrome_slipstream_transact_request_liquidity_provision_increase_aerodromeslipstreamincreaseliquidityprovisionrequest.py +0 -125
- compass_api_sdk/models/compass_api_backend_models_aerodrome_slipstream_transact_request_liquidity_provision_withdraw_aerodromeslipstreamwithdrawliquidityprovisionrequest.py +0 -68
- compass_api_sdk/models/compass_api_backend_models_generic_read_response_chains_supportedchaininfo.py +0 -21
- compass_api_sdk/models/compass_api_backend_models_generic_transact_request_allowance_setallowancerequest.py +0 -139
- compass_api_sdk/models/compass_api_backend_models_morpho_read_response_check_user_position_morphocheckuserpositionresponse.py +0 -48
- compass_api_sdk/models/compass_api_backend_models_morpho_read_response_get_markets_morphogetmarketsresponse.py +0 -26
- compass_api_sdk/models/compass_api_backend_models_morpho_read_response_get_vaults_morphogetvaultsresponse.py +0 -24
- compass_api_sdk/models/compass_api_backend_models_pendle_read_response_markets_pendlelistmarketsresponse.py +0 -24
- compass_api_sdk/models/compass_api_backend_models_pendle_read_response_positions_pendlelistuserpositionsresponse.py +0 -24
- compass_api_sdk/models/compass_api_backend_models_smart_account_transact_request_user_operations_batcheduseroperationsrequest.py +0 -49
- compass_api_sdk/models/compass_api_backend_models_swap_transact_request_odos_odosswaprequest.py +0 -108
- compass_api_sdk/models/compass_api_backend_models_token_transact_request_transfer_tokentransferrequest.py +0 -98
- compass_api_sdk/models/compass_api_backend_models_uniswap_transact_liquidity_provision_request_increase_uniswapincreaseliquidityprovisionrequest.py +0 -129
- compass_api_sdk/models/compass_api_backend_models_uniswap_transact_liquidity_provision_request_withdraw_uniswapwithdrawliquidityprovisionrequest.py +0 -68
- compass_api_sdk/models/compass_api_backend_models_uniswap_transact_swap_request_buy_exactly_uniswapbuyexactlyrequest.py +0 -123
- compass_api_sdk/models/compass_api_backend_models_uniswap_transact_swap_request_sell_exactly_uniswapsellexactlyrequest.py +0 -123
- {compass_api_sdk-0.9.52.dist-info → compass_api_sdk-1.0.0.dist-info}/WHEEL +0 -0
|
@@ -19,45 +19,37 @@ from typing import Literal, Optional, Union
|
|
|
19
19
|
from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
"
|
|
24
|
-
Union[float, str],
|
|
22
|
+
AaveBorrowRequestAmountTypedDict = TypeAliasType(
|
|
23
|
+
"AaveBorrowRequestAmountTypedDict", Union[float, str]
|
|
25
24
|
)
|
|
26
25
|
r"""The amount of the asset to borrow"""
|
|
27
26
|
|
|
28
27
|
|
|
29
|
-
|
|
30
|
-
"CompassAPIBackendModelsAaveTransactRequestBorrowAaveBorrowRequestAmount",
|
|
31
|
-
Union[float, str],
|
|
32
|
-
)
|
|
28
|
+
AaveBorrowRequestAmount = TypeAliasType("AaveBorrowRequestAmount", Union[float, str])
|
|
33
29
|
r"""The amount of the asset to borrow"""
|
|
34
30
|
|
|
35
31
|
|
|
36
|
-
class
|
|
32
|
+
class AaveBorrowRequestChain(str, Enum):
|
|
37
33
|
ARBITRUM = "arbitrum"
|
|
38
34
|
BASE = "base"
|
|
39
35
|
ETHEREUM = "ethereum"
|
|
40
36
|
|
|
41
37
|
|
|
42
|
-
class
|
|
43
|
-
TypedDict
|
|
44
|
-
):
|
|
38
|
+
class AaveBorrowRequestTypedDict(TypedDict):
|
|
45
39
|
token: TokenEnum
|
|
46
40
|
r"""A class representing the token.
|
|
47
41
|
|
|
48
42
|
This class is used to represent the token in the system. Notice individual
|
|
49
43
|
endpoints' documentation where per chain tokens are presented.
|
|
50
44
|
"""
|
|
51
|
-
amount:
|
|
52
|
-
CompassAPIBackendModelsAaveTransactRequestBorrowAaveBorrowRequestAmountTypedDict
|
|
53
|
-
)
|
|
45
|
+
amount: AaveBorrowRequestAmountTypedDict
|
|
54
46
|
r"""The amount of the asset to borrow"""
|
|
55
47
|
interest_rate_mode: InterestRateMode
|
|
56
48
|
r"""On AAVE there are 2 different interest modes.
|
|
57
49
|
|
|
58
50
|
A stable (but typically higher rate), or a variable rate.
|
|
59
51
|
"""
|
|
60
|
-
chain:
|
|
52
|
+
chain: AaveBorrowRequestChain
|
|
61
53
|
sender: str
|
|
62
54
|
r"""The address of the transaction sender."""
|
|
63
55
|
action_type: Literal["AAVE_BORROW"]
|
|
@@ -65,7 +57,7 @@ class CompassAPIBackendModelsAaveTransactRequestBorrowAaveBorrowRequestTypedDict
|
|
|
65
57
|
r"""The address on behalf of whom the supply is made"""
|
|
66
58
|
|
|
67
59
|
|
|
68
|
-
class
|
|
60
|
+
class AaveBorrowRequest(BaseModel):
|
|
69
61
|
token: TokenEnum
|
|
70
62
|
r"""A class representing the token.
|
|
71
63
|
|
|
@@ -73,7 +65,7 @@ class CompassAPIBackendModelsAaveTransactRequestBorrowAaveBorrowRequest(BaseMode
|
|
|
73
65
|
endpoints' documentation where per chain tokens are presented.
|
|
74
66
|
"""
|
|
75
67
|
|
|
76
|
-
amount:
|
|
68
|
+
amount: AaveBorrowRequestAmount
|
|
77
69
|
r"""The amount of the asset to borrow"""
|
|
78
70
|
|
|
79
71
|
interest_rate_mode: InterestRateMode
|
|
@@ -82,7 +74,7 @@ class CompassAPIBackendModelsAaveTransactRequestBorrowAaveBorrowRequest(BaseMode
|
|
|
82
74
|
A stable (but typically higher rate), or a variable rate.
|
|
83
75
|
"""
|
|
84
76
|
|
|
85
|
-
chain:
|
|
77
|
+
chain: AaveBorrowRequestChain
|
|
86
78
|
|
|
87
79
|
sender: str
|
|
88
80
|
r"""The address of the transaction sender."""
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .borrow import Borrow, BorrowTypedDict
|
|
5
|
+
from .liquidationcall import LiquidationCall, LiquidationCallTypedDict
|
|
6
|
+
from .redeemunderlying import RedeemUnderlying, RedeemUnderlyingTypedDict
|
|
7
|
+
from .repay import Repay, RepayTypedDict
|
|
8
|
+
from .supply import Supply, SupplyTypedDict
|
|
9
|
+
from .swapborrowrate import SwapBorrowRate, SwapBorrowRateTypedDict
|
|
10
|
+
from .usageascollateral import UsageAsCollateral, UsageAsCollateralTypedDict
|
|
11
|
+
from compass_api_sdk.types import BaseModel
|
|
12
|
+
from compass_api_sdk.utils import get_discriminator
|
|
13
|
+
from pydantic import Discriminator, Tag
|
|
14
|
+
from typing import List, Union
|
|
15
|
+
from typing_extensions import Annotated, TypeAliasType, TypedDict
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
AaveHistoricalTransactionsResponseTransactionTypedDict = TypeAliasType(
|
|
19
|
+
"AaveHistoricalTransactionsResponseTransactionTypedDict",
|
|
20
|
+
Union[
|
|
21
|
+
RedeemUnderlyingTypedDict,
|
|
22
|
+
RepayTypedDict,
|
|
23
|
+
SupplyTypedDict,
|
|
24
|
+
UsageAsCollateralTypedDict,
|
|
25
|
+
BorrowTypedDict,
|
|
26
|
+
SwapBorrowRateTypedDict,
|
|
27
|
+
LiquidationCallTypedDict,
|
|
28
|
+
],
|
|
29
|
+
)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
AaveHistoricalTransactionsResponseTransaction = Annotated[
|
|
33
|
+
Union[
|
|
34
|
+
Annotated[Borrow, Tag("Borrow")],
|
|
35
|
+
Annotated[LiquidationCall, Tag("LiquidationCall")],
|
|
36
|
+
Annotated[RedeemUnderlying, Tag("RedeemUnderlying")],
|
|
37
|
+
Annotated[Repay, Tag("Repay")],
|
|
38
|
+
Annotated[Supply, Tag("Supply")],
|
|
39
|
+
Annotated[SwapBorrowRate, Tag("SwapBorrowRate")],
|
|
40
|
+
Annotated[UsageAsCollateral, Tag("UsageAsCollateral")],
|
|
41
|
+
],
|
|
42
|
+
Discriminator(lambda m: get_discriminator(m, "action", "action")),
|
|
43
|
+
]
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
class AaveHistoricalTransactionsResponseTypedDict(TypedDict):
|
|
47
|
+
r"""Response model for getting Aave historical transactions."""
|
|
48
|
+
|
|
49
|
+
offset: int
|
|
50
|
+
r"""Specifies how many transactions to skip before returning results, letting you choose the starting point for the data you want to receive."""
|
|
51
|
+
limit: int
|
|
52
|
+
r"""Sets the maximum number of transactions to include in the response, helping control the size of the returned dataset."""
|
|
53
|
+
transactions: List[AaveHistoricalTransactionsResponseTransactionTypedDict]
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
class AaveHistoricalTransactionsResponse(BaseModel):
|
|
57
|
+
r"""Response model for getting Aave historical transactions."""
|
|
58
|
+
|
|
59
|
+
offset: int
|
|
60
|
+
r"""Specifies how many transactions to skip before returning results, letting you choose the starting point for the data you want to receive."""
|
|
61
|
+
|
|
62
|
+
limit: int
|
|
63
|
+
r"""Sets the maximum number of transactions to include in the response, helping control the size of the returned dataset."""
|
|
64
|
+
|
|
65
|
+
transactions: List[AaveHistoricalTransactionsResponseTransaction]
|
|
@@ -16,9 +16,7 @@ from typing import Optional, Union
|
|
|
16
16
|
from typing_extensions import NotRequired, TypeAliasType, TypedDict
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
class
|
|
20
|
-
str, Enum
|
|
21
|
-
):
|
|
19
|
+
class AaveLoopRequestChain(str, Enum):
|
|
22
20
|
ARBITRUM = "arbitrum"
|
|
23
21
|
BASE = "base"
|
|
24
22
|
ETHEREUM = "ethereum"
|
|
@@ -60,12 +58,10 @@ LoanToValue = TypeAliasType("LoanToValue", Union[float, str])
|
|
|
60
58
|
r"""Loan To Value percentage of the loop"""
|
|
61
59
|
|
|
62
60
|
|
|
63
|
-
class
|
|
64
|
-
TypedDict
|
|
65
|
-
):
|
|
61
|
+
class AaveLoopRequestTypedDict(TypedDict):
|
|
66
62
|
r"""Request model for executing an Aave loop strategy."""
|
|
67
63
|
|
|
68
|
-
chain:
|
|
64
|
+
chain: AaveLoopRequestChain
|
|
69
65
|
sender: str
|
|
70
66
|
r"""The address of the transaction sender."""
|
|
71
67
|
collateral_token: TokenEnum
|
|
@@ -94,12 +90,10 @@ class CompassAPIBackendModelsMulticallTransactRequestAaveLoopRequestAaveLoopRequ
|
|
|
94
90
|
r"""Whether to use account abstraction for the transaction."""
|
|
95
91
|
|
|
96
92
|
|
|
97
|
-
class
|
|
98
|
-
BaseModel
|
|
99
|
-
):
|
|
93
|
+
class AaveLoopRequest(BaseModel):
|
|
100
94
|
r"""Request model for executing an Aave loop strategy."""
|
|
101
95
|
|
|
102
|
-
chain:
|
|
96
|
+
chain: AaveLoopRequestChain
|
|
103
97
|
|
|
104
98
|
sender: str
|
|
105
99
|
r"""The address of the transaction sender."""
|
|
@@ -19,45 +19,37 @@ from typing import Literal, Optional, Union
|
|
|
19
19
|
from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
"
|
|
24
|
-
Union[float, str],
|
|
22
|
+
AaveRepayRequestAmountTypedDict = TypeAliasType(
|
|
23
|
+
"AaveRepayRequestAmountTypedDict", Union[float, str]
|
|
25
24
|
)
|
|
26
25
|
r"""The amount of the asset to repay"""
|
|
27
26
|
|
|
28
27
|
|
|
29
|
-
|
|
30
|
-
"CompassAPIBackendModelsAaveTransactRequestRepayAaveRepayRequestAmount",
|
|
31
|
-
Union[float, str],
|
|
32
|
-
)
|
|
28
|
+
AaveRepayRequestAmount = TypeAliasType("AaveRepayRequestAmount", Union[float, str])
|
|
33
29
|
r"""The amount of the asset to repay"""
|
|
34
30
|
|
|
35
31
|
|
|
36
|
-
class
|
|
32
|
+
class AaveRepayRequestChain(str, Enum):
|
|
37
33
|
ARBITRUM = "arbitrum"
|
|
38
34
|
BASE = "base"
|
|
39
35
|
ETHEREUM = "ethereum"
|
|
40
36
|
|
|
41
37
|
|
|
42
|
-
class
|
|
43
|
-
TypedDict
|
|
44
|
-
):
|
|
38
|
+
class AaveRepayRequestTypedDict(TypedDict):
|
|
45
39
|
token: TokenEnum
|
|
46
40
|
r"""A class representing the token.
|
|
47
41
|
|
|
48
42
|
This class is used to represent the token in the system. Notice individual
|
|
49
43
|
endpoints' documentation where per chain tokens are presented.
|
|
50
44
|
"""
|
|
51
|
-
amount:
|
|
52
|
-
CompassAPIBackendModelsAaveTransactRequestRepayAaveRepayRequestAmountTypedDict
|
|
53
|
-
)
|
|
45
|
+
amount: AaveRepayRequestAmountTypedDict
|
|
54
46
|
r"""The amount of the asset to repay"""
|
|
55
47
|
interest_rate_mode: InterestRateMode
|
|
56
48
|
r"""On AAVE there are 2 different interest modes.
|
|
57
49
|
|
|
58
50
|
A stable (but typically higher rate), or a variable rate.
|
|
59
51
|
"""
|
|
60
|
-
chain:
|
|
52
|
+
chain: AaveRepayRequestChain
|
|
61
53
|
sender: str
|
|
62
54
|
r"""The address of the transaction sender."""
|
|
63
55
|
action_type: Literal["AAVE_REPAY"]
|
|
@@ -65,7 +57,7 @@ class CompassAPIBackendModelsAaveTransactRequestRepayAaveRepayRequestTypedDict(
|
|
|
65
57
|
r"""The address on behalf of whom the supply is made"""
|
|
66
58
|
|
|
67
59
|
|
|
68
|
-
class
|
|
60
|
+
class AaveRepayRequest(BaseModel):
|
|
69
61
|
token: TokenEnum
|
|
70
62
|
r"""A class representing the token.
|
|
71
63
|
|
|
@@ -73,7 +65,7 @@ class CompassAPIBackendModelsAaveTransactRequestRepayAaveRepayRequest(BaseModel)
|
|
|
73
65
|
endpoints' documentation where per chain tokens are presented.
|
|
74
66
|
"""
|
|
75
67
|
|
|
76
|
-
amount:
|
|
68
|
+
amount: AaveRepayRequestAmount
|
|
77
69
|
r"""The amount of the asset to repay"""
|
|
78
70
|
|
|
79
71
|
interest_rate_mode: InterestRateMode
|
|
@@ -82,7 +74,7 @@ class CompassAPIBackendModelsAaveTransactRequestRepayAaveRepayRequest(BaseModel)
|
|
|
82
74
|
A stable (but typically higher rate), or a variable rate.
|
|
83
75
|
"""
|
|
84
76
|
|
|
85
|
-
chain:
|
|
77
|
+
chain: AaveRepayRequestChain
|
|
86
78
|
|
|
87
79
|
sender: str
|
|
88
80
|
r"""The address of the transaction sender."""
|
|
@@ -18,40 +18,32 @@ from typing import Literal, Optional, Union
|
|
|
18
18
|
from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
Union[float, str],
|
|
21
|
+
AaveSupplyRequestAmountTypedDict = TypeAliasType(
|
|
22
|
+
"AaveSupplyRequestAmountTypedDict", Union[float, str]
|
|
24
23
|
)
|
|
25
24
|
r"""The amount of the asset to supply"""
|
|
26
25
|
|
|
27
26
|
|
|
28
|
-
|
|
29
|
-
"CompassAPIBackendModelsAaveTransactRequestSupplyAaveSupplyRequestAmount",
|
|
30
|
-
Union[float, str],
|
|
31
|
-
)
|
|
27
|
+
AaveSupplyRequestAmount = TypeAliasType("AaveSupplyRequestAmount", Union[float, str])
|
|
32
28
|
r"""The amount of the asset to supply"""
|
|
33
29
|
|
|
34
30
|
|
|
35
|
-
class
|
|
31
|
+
class AaveSupplyRequestChain(str, Enum):
|
|
36
32
|
ARBITRUM = "arbitrum"
|
|
37
33
|
BASE = "base"
|
|
38
34
|
ETHEREUM = "ethereum"
|
|
39
35
|
|
|
40
36
|
|
|
41
|
-
class
|
|
42
|
-
TypedDict
|
|
43
|
-
):
|
|
37
|
+
class AaveSupplyRequestTypedDict(TypedDict):
|
|
44
38
|
token: TokenEnum
|
|
45
39
|
r"""A class representing the token.
|
|
46
40
|
|
|
47
41
|
This class is used to represent the token in the system. Notice individual
|
|
48
42
|
endpoints' documentation where per chain tokens are presented.
|
|
49
43
|
"""
|
|
50
|
-
amount:
|
|
51
|
-
CompassAPIBackendModelsAaveTransactRequestSupplyAaveSupplyRequestAmountTypedDict
|
|
52
|
-
)
|
|
44
|
+
amount: AaveSupplyRequestAmountTypedDict
|
|
53
45
|
r"""The amount of the asset to supply"""
|
|
54
|
-
chain:
|
|
46
|
+
chain: AaveSupplyRequestChain
|
|
55
47
|
sender: str
|
|
56
48
|
r"""The address of the transaction sender."""
|
|
57
49
|
action_type: Literal["AAVE_SUPPLY"]
|
|
@@ -59,7 +51,7 @@ class CompassAPIBackendModelsAaveTransactRequestSupplyAaveSupplyRequestTypedDict
|
|
|
59
51
|
r"""The address on behalf of whom the supply is made. Defaults to the transaction sender."""
|
|
60
52
|
|
|
61
53
|
|
|
62
|
-
class
|
|
54
|
+
class AaveSupplyRequest(BaseModel):
|
|
63
55
|
token: TokenEnum
|
|
64
56
|
r"""A class representing the token.
|
|
65
57
|
|
|
@@ -67,10 +59,10 @@ class CompassAPIBackendModelsAaveTransactRequestSupplyAaveSupplyRequest(BaseMode
|
|
|
67
59
|
endpoints' documentation where per chain tokens are presented.
|
|
68
60
|
"""
|
|
69
61
|
|
|
70
|
-
amount:
|
|
62
|
+
amount: AaveSupplyRequestAmount
|
|
71
63
|
r"""The amount of the asset to supply"""
|
|
72
64
|
|
|
73
|
-
chain:
|
|
65
|
+
chain: AaveSupplyRequestChain
|
|
74
66
|
|
|
75
67
|
sender: str
|
|
76
68
|
r"""The address of the transaction sender."""
|
|
@@ -11,50 +11,42 @@ from typing import Literal, Optional, Union
|
|
|
11
11
|
from typing_extensions import Annotated, TypeAliasType, TypedDict
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
"
|
|
16
|
-
Union[float, str],
|
|
14
|
+
AaveWithdrawRequestAmountTypedDict = TypeAliasType(
|
|
15
|
+
"AaveWithdrawRequestAmountTypedDict", Union[float, str]
|
|
17
16
|
)
|
|
18
17
|
r"""The amount of the asset to withdraw"""
|
|
19
18
|
|
|
20
19
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"CompassAPIBackendModelsAaveTransactRequestWithdrawAaveWithdrawRequestAmount",
|
|
24
|
-
Union[float, str],
|
|
25
|
-
)
|
|
20
|
+
AaveWithdrawRequestAmount = TypeAliasType(
|
|
21
|
+
"AaveWithdrawRequestAmount", Union[float, str]
|
|
26
22
|
)
|
|
27
23
|
r"""The amount of the asset to withdraw"""
|
|
28
24
|
|
|
29
25
|
|
|
30
|
-
class
|
|
31
|
-
str, Enum
|
|
32
|
-
):
|
|
26
|
+
class AaveWithdrawRequestChain(str, Enum):
|
|
33
27
|
ARBITRUM = "arbitrum"
|
|
34
28
|
BASE = "base"
|
|
35
29
|
ETHEREUM = "ethereum"
|
|
36
30
|
|
|
37
31
|
|
|
38
|
-
class
|
|
39
|
-
TypedDict
|
|
40
|
-
):
|
|
32
|
+
class AaveWithdrawRequestTypedDict(TypedDict):
|
|
41
33
|
token: TokenEnum
|
|
42
34
|
r"""A class representing the token.
|
|
43
35
|
|
|
44
36
|
This class is used to represent the token in the system. Notice individual
|
|
45
37
|
endpoints' documentation where per chain tokens are presented.
|
|
46
38
|
"""
|
|
47
|
-
amount:
|
|
39
|
+
amount: AaveWithdrawRequestAmountTypedDict
|
|
48
40
|
r"""The amount of the asset to withdraw"""
|
|
49
41
|
recipient: str
|
|
50
42
|
r"""The address of the recipient of the withdrawn funds."""
|
|
51
|
-
chain:
|
|
43
|
+
chain: AaveWithdrawRequestChain
|
|
52
44
|
sender: str
|
|
53
45
|
r"""The address of the transaction sender."""
|
|
54
46
|
action_type: Literal["AAVE_WITHDRAW"]
|
|
55
47
|
|
|
56
48
|
|
|
57
|
-
class
|
|
49
|
+
class AaveWithdrawRequest(BaseModel):
|
|
58
50
|
token: TokenEnum
|
|
59
51
|
r"""A class representing the token.
|
|
60
52
|
|
|
@@ -62,13 +54,13 @@ class CompassAPIBackendModelsAaveTransactRequestWithdrawAaveWithdrawRequest(Base
|
|
|
62
54
|
endpoints' documentation where per chain tokens are presented.
|
|
63
55
|
"""
|
|
64
56
|
|
|
65
|
-
amount:
|
|
57
|
+
amount: AaveWithdrawRequestAmount
|
|
66
58
|
r"""The amount of the asset to withdraw"""
|
|
67
59
|
|
|
68
60
|
recipient: str
|
|
69
61
|
r"""The address of the recipient of the withdrawn funds."""
|
|
70
62
|
|
|
71
|
-
chain:
|
|
63
|
+
chain: AaveWithdrawRequestChain
|
|
72
64
|
|
|
73
65
|
sender: str
|
|
74
66
|
r"""The address of the transaction sender."""
|
|
@@ -7,18 +7,14 @@ from typing import Dict
|
|
|
7
7
|
from typing_extensions import TypedDict
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class
|
|
11
|
-
TypedDict
|
|
12
|
-
):
|
|
10
|
+
class AerodromeLPPositionsResponseTypedDict(TypedDict):
|
|
13
11
|
positions: Dict[str, AerodromePositionTypedDict]
|
|
14
12
|
r"""Liquidity provision positions belonging to a particular user. The key is a
|
|
15
13
|
tuple of the token0, token1, tick_spacing, tick_lower, and tick_upper of the position.
|
|
16
14
|
"""
|
|
17
15
|
|
|
18
16
|
|
|
19
|
-
class
|
|
20
|
-
BaseModel
|
|
21
|
-
):
|
|
17
|
+
class AerodromeLPPositionsResponse(BaseModel):
|
|
22
18
|
positions: Dict[str, AerodromePosition]
|
|
23
19
|
r"""Liquidity provision positions belonging to a particular user. The key is a
|
|
24
20
|
tuple of the token0, token1, tick_spacing, tick_lower, and tick_upper of the position.
|
|
@@ -11,43 +11,35 @@ from typing import Literal, Optional, Union
|
|
|
11
11
|
from typing_extensions import Annotated, TypeAliasType, TypedDict
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
"
|
|
16
|
-
Union[float, str],
|
|
14
|
+
AerodromeSlipstreamBuyExactlyRequestAmountOutTypedDict = TypeAliasType(
|
|
15
|
+
"AerodromeSlipstreamBuyExactlyRequestAmountOutTypedDict", Union[float, str]
|
|
17
16
|
)
|
|
18
17
|
r"""The amount of the token to swap to"""
|
|
19
18
|
|
|
20
19
|
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
Union[float, str],
|
|
20
|
+
AerodromeSlipstreamBuyExactlyRequestAmountOut = TypeAliasType(
|
|
21
|
+
"AerodromeSlipstreamBuyExactlyRequestAmountOut", Union[float, str]
|
|
24
22
|
)
|
|
25
23
|
r"""The amount of the token to swap to"""
|
|
26
24
|
|
|
27
25
|
|
|
28
|
-
|
|
29
|
-
"
|
|
30
|
-
Union[float, str],
|
|
26
|
+
AerodromeSlipstreamBuyExactlyRequestAmountInMaximumTypedDict = TypeAliasType(
|
|
27
|
+
"AerodromeSlipstreamBuyExactlyRequestAmountInMaximumTypedDict", Union[float, str]
|
|
31
28
|
)
|
|
32
29
|
r"""The maximum amount of the token to swap from"""
|
|
33
30
|
|
|
34
31
|
|
|
35
|
-
|
|
36
|
-
"
|
|
37
|
-
Union[float, str],
|
|
32
|
+
AerodromeSlipstreamBuyExactlyRequestAmountInMaximum = TypeAliasType(
|
|
33
|
+
"AerodromeSlipstreamBuyExactlyRequestAmountInMaximum", Union[float, str]
|
|
38
34
|
)
|
|
39
35
|
r"""The maximum amount of the token to swap from"""
|
|
40
36
|
|
|
41
37
|
|
|
42
|
-
class
|
|
43
|
-
str, Enum
|
|
44
|
-
):
|
|
38
|
+
class AerodromeSlipstreamBuyExactlyRequestChain(str, Enum):
|
|
45
39
|
BASE = "base"
|
|
46
40
|
|
|
47
41
|
|
|
48
|
-
class
|
|
49
|
-
TypedDict
|
|
50
|
-
):
|
|
42
|
+
class AerodromeSlipstreamBuyExactlyRequestTypedDict(TypedDict):
|
|
51
43
|
r"""Request model for buying exactly an amount of tokens."""
|
|
52
44
|
|
|
53
45
|
token_in: TokenEnum
|
|
@@ -64,19 +56,17 @@ class CompassAPIBackendModelsAerodromeSlipstreamTransactRequestSwapBuyExactlyAer
|
|
|
64
56
|
"""
|
|
65
57
|
tick_spacing: int
|
|
66
58
|
r"""The tick spacing of the pool"""
|
|
67
|
-
amount_out:
|
|
59
|
+
amount_out: AerodromeSlipstreamBuyExactlyRequestAmountOutTypedDict
|
|
68
60
|
r"""The amount of the token to swap to"""
|
|
69
|
-
amount_in_maximum:
|
|
61
|
+
amount_in_maximum: AerodromeSlipstreamBuyExactlyRequestAmountInMaximumTypedDict
|
|
70
62
|
r"""The maximum amount of the token to swap from"""
|
|
71
|
-
chain:
|
|
63
|
+
chain: AerodromeSlipstreamBuyExactlyRequestChain
|
|
72
64
|
sender: str
|
|
73
65
|
r"""The address of the transaction sender."""
|
|
74
66
|
action_type: Literal["AERODROME_SLIPSTREAM_BUY_EXACTLY"]
|
|
75
67
|
|
|
76
68
|
|
|
77
|
-
class
|
|
78
|
-
BaseModel
|
|
79
|
-
):
|
|
69
|
+
class AerodromeSlipstreamBuyExactlyRequest(BaseModel):
|
|
80
70
|
r"""Request model for buying exactly an amount of tokens."""
|
|
81
71
|
|
|
82
72
|
token_in: TokenEnum
|
|
@@ -96,13 +86,13 @@ class CompassAPIBackendModelsAerodromeSlipstreamTransactRequestSwapBuyExactlyAer
|
|
|
96
86
|
tick_spacing: int
|
|
97
87
|
r"""The tick spacing of the pool"""
|
|
98
88
|
|
|
99
|
-
amount_out:
|
|
89
|
+
amount_out: AerodromeSlipstreamBuyExactlyRequestAmountOut
|
|
100
90
|
r"""The amount of the token to swap to"""
|
|
101
91
|
|
|
102
|
-
amount_in_maximum:
|
|
92
|
+
amount_in_maximum: AerodromeSlipstreamBuyExactlyRequestAmountInMaximum
|
|
103
93
|
r"""The maximum amount of the token to swap from"""
|
|
104
94
|
|
|
105
|
-
chain:
|
|
95
|
+
chain: AerodromeSlipstreamBuyExactlyRequestChain
|
|
106
96
|
|
|
107
97
|
sender: str
|
|
108
98
|
r"""The address of the transaction sender."""
|
|
@@ -0,0 +1,125 @@
|
|
|
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
|
+
AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0DesiredTypedDict = (
|
|
14
|
+
TypeAliasType(
|
|
15
|
+
"AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0DesiredTypedDict",
|
|
16
|
+
Union[float, str],
|
|
17
|
+
)
|
|
18
|
+
)
|
|
19
|
+
r"""The desired amount of the first token to deposit"""
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0Desired = TypeAliasType(
|
|
23
|
+
"AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0Desired",
|
|
24
|
+
Union[float, str],
|
|
25
|
+
)
|
|
26
|
+
r"""The desired amount of the first token to deposit"""
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1DesiredTypedDict = (
|
|
30
|
+
TypeAliasType(
|
|
31
|
+
"AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1DesiredTypedDict",
|
|
32
|
+
Union[float, str],
|
|
33
|
+
)
|
|
34
|
+
)
|
|
35
|
+
r"""The desired amount of the second token to deposit"""
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Desired = TypeAliasType(
|
|
39
|
+
"AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Desired",
|
|
40
|
+
Union[float, str],
|
|
41
|
+
)
|
|
42
|
+
r"""The desired amount of the second token to deposit"""
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0MinTypedDict = TypeAliasType(
|
|
46
|
+
"AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0MinTypedDict",
|
|
47
|
+
Union[float, str],
|
|
48
|
+
)
|
|
49
|
+
r"""The minimum amount of the first token to deposit"""
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0Min = TypeAliasType(
|
|
53
|
+
"AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0Min", Union[float, str]
|
|
54
|
+
)
|
|
55
|
+
r"""The minimum amount of the first token to deposit"""
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1MinTypedDict = TypeAliasType(
|
|
59
|
+
"AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1MinTypedDict",
|
|
60
|
+
Union[float, str],
|
|
61
|
+
)
|
|
62
|
+
r"""The minimum amount of the second token to deposit"""
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Min = TypeAliasType(
|
|
66
|
+
"AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Min", Union[float, str]
|
|
67
|
+
)
|
|
68
|
+
r"""The minimum amount of the second token to deposit"""
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
class AerodromeSlipstreamIncreaseLiquidityProvisionRequestChain(str, Enum):
|
|
72
|
+
BASE = "base"
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
class AerodromeSlipstreamIncreaseLiquidityProvisionRequestTypedDict(TypedDict):
|
|
76
|
+
token_id: int
|
|
77
|
+
r"""Token ID of the NFT representing the liquidity provisioned position."""
|
|
78
|
+
amount0_desired: (
|
|
79
|
+
AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0DesiredTypedDict
|
|
80
|
+
)
|
|
81
|
+
r"""The desired amount of the first token to deposit"""
|
|
82
|
+
amount1_desired: (
|
|
83
|
+
AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1DesiredTypedDict
|
|
84
|
+
)
|
|
85
|
+
r"""The desired amount of the second token to deposit"""
|
|
86
|
+
amount0_min: AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0MinTypedDict
|
|
87
|
+
r"""The minimum amount of the first token to deposit"""
|
|
88
|
+
amount1_min: AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1MinTypedDict
|
|
89
|
+
r"""The minimum amount of the second token to deposit"""
|
|
90
|
+
chain: AerodromeSlipstreamIncreaseLiquidityProvisionRequestChain
|
|
91
|
+
sender: str
|
|
92
|
+
r"""The address of the transaction sender."""
|
|
93
|
+
action_type: Literal["AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY_PROVISION"]
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
class AerodromeSlipstreamIncreaseLiquidityProvisionRequest(BaseModel):
|
|
97
|
+
token_id: int
|
|
98
|
+
r"""Token ID of the NFT representing the liquidity provisioned position."""
|
|
99
|
+
|
|
100
|
+
amount0_desired: AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0Desired
|
|
101
|
+
r"""The desired amount of the first token to deposit"""
|
|
102
|
+
|
|
103
|
+
amount1_desired: AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Desired
|
|
104
|
+
r"""The desired amount of the second token to deposit"""
|
|
105
|
+
|
|
106
|
+
amount0_min: AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0Min
|
|
107
|
+
r"""The minimum amount of the first token to deposit"""
|
|
108
|
+
|
|
109
|
+
amount1_min: AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Min
|
|
110
|
+
r"""The minimum amount of the second token to deposit"""
|
|
111
|
+
|
|
112
|
+
chain: AerodromeSlipstreamIncreaseLiquidityProvisionRequestChain
|
|
113
|
+
|
|
114
|
+
sender: str
|
|
115
|
+
r"""The address of the transaction sender."""
|
|
116
|
+
|
|
117
|
+
ACTION_TYPE: Annotated[
|
|
118
|
+
Annotated[
|
|
119
|
+
Optional[Literal["AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY_PROVISION"]],
|
|
120
|
+
AfterValidator(
|
|
121
|
+
validate_const("AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY_PROVISION")
|
|
122
|
+
),
|
|
123
|
+
],
|
|
124
|
+
pydantic.Field(alias="action_type"),
|
|
125
|
+
] = "AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY_PROVISION"
|