compass_api_sdk 0.9.51__py3-none-any.whl → 0.9.52__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.

Files changed (181) hide show
  1. compass_api_sdk/_version.py +3 -3
  2. compass_api_sdk/aave_v3.py +314 -260
  3. compass_api_sdk/aerodrome_slipstream.py +186 -184
  4. compass_api_sdk/erc_4626_vaults.py +82 -58
  5. compass_api_sdk/errors/__init__.py +3 -2
  6. compass_api_sdk/models/__init__.py +1736 -1528
  7. compass_api_sdk/models/aavereserveoverviewresponse.py +34 -3
  8. compass_api_sdk/models/{chain.py → compass_api_backend_config_chain_chain.py} +4 -4
  9. compass_api_sdk/models/compass_api_backend_models_aave_read_response_historical_transactions_aavehistoricaltransactionsresponse.py +115 -0
  10. compass_api_sdk/models/{borrow.py → compass_api_backend_models_aave_read_response_historical_transactions_borrow.py} +4 -2
  11. compass_api_sdk/models/{liquidationcall.py → compass_api_backend_models_aave_read_response_historical_transactions_liquidationcall.py} +6 -2
  12. compass_api_sdk/models/{redeemunderlying.py → compass_api_backend_models_aave_read_response_historical_transactions_redeemunderlying.py} +6 -2
  13. compass_api_sdk/models/{repay.py → compass_api_backend_models_aave_read_response_historical_transactions_repay.py} +4 -2
  14. compass_api_sdk/models/{supply.py → compass_api_backend_models_aave_read_response_historical_transactions_supply.py} +4 -2
  15. compass_api_sdk/models/{swapborrowrate.py → compass_api_backend_models_aave_read_response_historical_transactions_swapborrowrate.py} +6 -2
  16. compass_api_sdk/models/{usageascollateral.py → compass_api_backend_models_aave_read_response_historical_transactions_usageascollateral.py} +6 -2
  17. compass_api_sdk/models/{aaveborrowrequest.py → compass_api_backend_models_aave_transact_request_borrow_aaveborrowrequest.py} +24 -12
  18. compass_api_sdk/models/{aaverepayrequest.py → compass_api_backend_models_aave_transact_request_repay_aaverepayrequest.py} +24 -12
  19. compass_api_sdk/models/{aavesupplyrequest.py → compass_api_backend_models_aave_transact_request_supply_aavesupplyrequest.py} +24 -12
  20. compass_api_sdk/models/{aavewithdrawrequest.py → compass_api_backend_models_aave_transact_request_withdraw_aavewithdrawrequest.py} +25 -13
  21. compass_api_sdk/models/{aerodromelppositionsresponse.py → compass_api_backend_models_aerodrome_slipstream_read_response_positions_aerodromelppositionsresponse.py} +6 -2
  22. compass_api_sdk/models/compass_api_backend_models_aerodrome_slipstream_transact_request_liquidity_provision_increase_aerodromeslipstreamincreaseliquidityprovisionrequest.py +125 -0
  23. compass_api_sdk/models/{aerodromeslipstreammintliquidityprovisionrequest.py → compass_api_backend_models_aerodrome_slipstream_transact_request_liquidity_provision_mint_aerodromeslipstreammintliquidityprovisionrequest.py} +43 -35
  24. compass_api_sdk/models/compass_api_backend_models_aerodrome_slipstream_transact_request_liquidity_provision_withdraw_aerodromeslipstreamwithdrawliquidityprovisionrequest.py +68 -0
  25. compass_api_sdk/models/compass_api_backend_models_aerodrome_slipstream_transact_request_swap_buy_exactly_aerodromeslipstreambuyexactlyrequest.py +116 -0
  26. compass_api_sdk/models/{aerodromeslipstreamsellexactlyrequest.py → compass_api_backend_models_aerodrome_slipstream_transact_request_swap_sell_exactly_aerodromeslipstreamsellexactlyrequest.py} +31 -19
  27. compass_api_sdk/models/compass_api_backend_models_generic_read_response_chains_supportedchaininfo.py +21 -0
  28. compass_api_sdk/models/{portfolio.py → compass_api_backend_models_generic_read_response_portfolio_portfolio.py} +2 -2
  29. compass_api_sdk/models/compass_api_backend_models_generic_transact_request_allowance_setallowancerequest.py +139 -0
  30. compass_api_sdk/models/compass_api_backend_models_generic_transact_request_unwrap_weth_unwrapwethrequest.py +69 -0
  31. compass_api_sdk/models/compass_api_backend_models_generic_transact_request_wrap_eth_wrapethrequest.py +66 -0
  32. compass_api_sdk/models/{marketposition.py → compass_api_backend_models_morpho_read_response_check_user_position_marketposition.py} +6 -2
  33. compass_api_sdk/models/compass_api_backend_models_morpho_read_response_check_user_position_morphocheckuserpositionresponse.py +48 -0
  34. compass_api_sdk/models/{vault.py → compass_api_backend_models_morpho_read_response_check_user_position_vault.py} +4 -2
  35. compass_api_sdk/models/{vaultposition.py → compass_api_backend_models_morpho_read_response_check_user_position_vaultposition.py} +12 -5
  36. compass_api_sdk/models/{morphogetmarketresponse.py → compass_api_backend_models_morpho_read_response_get_market_morphogetmarketresponse.py} +6 -2
  37. compass_api_sdk/models/compass_api_backend_models_morpho_read_response_get_markets_morphogetmarketsresponse.py +26 -0
  38. compass_api_sdk/models/{morphomarket.py → compass_api_backend_models_morpho_read_response_get_markets_morphomarket.py} +4 -2
  39. compass_api_sdk/models/compass_api_backend_models_morpho_read_response_get_vaults_morphogetvaultsresponse.py +24 -0
  40. compass_api_sdk/models/{morphovault.py → compass_api_backend_models_morpho_read_response_get_vaults_morphovault.py} +2 -2
  41. compass_api_sdk/models/{morphoborrowrequest.py → compass_api_backend_models_morpho_transact_request_borrow_morphoborrowrequest.py} +22 -13
  42. compass_api_sdk/models/{morphodepositrequest.py → compass_api_backend_models_morpho_transact_request_deposit_morphodepositrequest.py} +26 -13
  43. compass_api_sdk/models/{morphorepayrequest.py → compass_api_backend_models_morpho_transact_request_repay_morphorepayrequest.py} +12 -7
  44. compass_api_sdk/models/{morphosupplycollateralrequest.py → compass_api_backend_models_morpho_transact_request_supply_collateral_morphosupplycollateralrequest.py} +22 -13
  45. compass_api_sdk/models/{morphowithdrawcollateralrequest.py → compass_api_backend_models_morpho_transact_request_withdraw_collateral_morphowithdrawcollateralrequest.py} +22 -13
  46. compass_api_sdk/models/{morphowithdrawrequest.py → compass_api_backend_models_morpho_transact_request_withdraw_morphowithdrawrequest.py} +18 -7
  47. compass_api_sdk/models/{multicallauthorizationrequest.py → compass_api_backend_models_multicall_read_request_get_authorization_multicallauthorizationrequest.py} +17 -7
  48. compass_api_sdk/models/{aavelooprequest.py → compass_api_backend_models_multicall_transact_request_aave_loop_request_aavelooprequest.py} +67 -13
  49. compass_api_sdk/models/compass_api_backend_models_multicall_transact_request_multicall_execution_request_multicallexecuterequest.py +92 -0
  50. compass_api_sdk/models/{useroperation.py → compass_api_backend_models_multicall_transact_request_multicall_execution_request_useroperation.py} +40 -42
  51. compass_api_sdk/models/{pendlegetmarketresponse.py → compass_api_backend_models_pendle_read_response_market_pendlegetmarketresponse.py} +4 -2
  52. compass_api_sdk/models/compass_api_backend_models_pendle_read_response_markets_pendlelistmarketsresponse.py +24 -0
  53. compass_api_sdk/models/{pendlemarket.py → compass_api_backend_models_pendle_read_response_markets_pendlemarket.py} +2 -2
  54. compass_api_sdk/models/{openposition.py → compass_api_backend_models_pendle_read_response_positions_openposition.py} +4 -2
  55. compass_api_sdk/models/compass_api_backend_models_pendle_read_response_positions_pendlelistuserpositionsresponse.py +24 -0
  56. compass_api_sdk/models/{position.py → compass_api_backend_models_pendle_read_response_positions_position.py} +18 -7
  57. compass_api_sdk/models/{pendleredeemyieldrequest.py → compass_api_backend_models_pendle_transact_request_redeem_yield_pendleredeemyieldrequest.py} +17 -7
  58. compass_api_sdk/models/{skybuyrequest.py → compass_api_backend_models_sky_transact_request_buy_skybuyrequest.py} +22 -19
  59. compass_api_sdk/models/{skydepositrequest.py → compass_api_backend_models_sky_transact_request_deposit_skydepositrequest.py} +26 -15
  60. compass_api_sdk/models/compass_api_backend_models_sky_transact_request_sell_skysellrequest.py +70 -0
  61. compass_api_sdk/models/{skywithdrawrequest.py → compass_api_backend_models_sky_transact_request_withdraw_skywithdrawrequest.py} +17 -10
  62. compass_api_sdk/models/compass_api_backend_models_smart_account_transact_request_user_operations_batcheduseroperationsrequest.py +49 -0
  63. compass_api_sdk/models/compass_api_backend_models_swap_transact_request_odos_odosswaprequest.py +108 -0
  64. compass_api_sdk/models/compass_api_backend_models_token_transact_request_transfer_tokentransferrequest.py +98 -0
  65. compass_api_sdk/models/compass_api_backend_models_uniswap_transact_liquidity_provision_request_increase_uniswapincreaseliquidityprovisionrequest.py +129 -0
  66. compass_api_sdk/models/{uniswapmintliquidityprovisionrequest.py → compass_api_backend_models_uniswap_transact_liquidity_provision_request_mint_uniswapmintliquidityprovisionrequest.py} +49 -31
  67. compass_api_sdk/models/compass_api_backend_models_uniswap_transact_liquidity_provision_request_withdraw_uniswapwithdrawliquidityprovisionrequest.py +68 -0
  68. compass_api_sdk/models/compass_api_backend_models_uniswap_transact_swap_request_buy_exactly_uniswapbuyexactlyrequest.py +123 -0
  69. compass_api_sdk/models/compass_api_backend_models_uniswap_transact_swap_request_sell_exactly_uniswapsellexactlyrequest.py +123 -0
  70. compass_api_sdk/models/{vaultgetvaultresponse.py → compass_api_backend_models_vaults_read_response_vault_vaultgetvaultresponse.py} +4 -2
  71. compass_api_sdk/models/compass_api_backend_models_vaults_transact_request_deposit_vaultdepositrequest.py +110 -0
  72. compass_api_sdk/models/compass_api_backend_models_vaults_transact_request_withdraw_vaultwithdrawrequest.py +96 -0
  73. compass_api_sdk/models/details.py +44 -7
  74. compass_api_sdk/models/movement10percent.py +65 -10
  75. compass_api_sdk/models/pendlemanageliquidityparams.py +81 -0
  76. compass_api_sdk/models/pendlemanageliquidityrequest.py +95 -0
  77. compass_api_sdk/models/pendletradeptparams.py +81 -0
  78. compass_api_sdk/models/pendletradeptrequest.py +95 -0
  79. compass_api_sdk/models/pendletradeytparams.py +81 -0
  80. compass_api_sdk/models/pendletradeytrequest.py +95 -0
  81. compass_api_sdk/models/pendletxresponse.py +45 -0
  82. compass_api_sdk/models/token_enum.py +17 -0
  83. compass_api_sdk/models/{tokentransferrequest.py → tokentransferparams.py} +16 -27
  84. compass_api_sdk/models/transactionresponse.py +40 -0
  85. compass_api_sdk/models/uniswapbuyexactlyparams.py +19 -24
  86. compass_api_sdk/models/uniswapbuyexactlytransactionresponse.py +45 -0
  87. compass_api_sdk/models/uniswapsellexactlyparams.py +43 -40
  88. compass_api_sdk/models/uniswapsellexactlytransactionresponse.py +45 -0
  89. compass_api_sdk/models/{aave_aave_supported_tokensop.py → v1_aave_aave_supported_tokensop.py} +9 -13
  90. compass_api_sdk/models/{aave_avg_rateop.py → v1_aave_avg_rateop.py} +32 -19
  91. compass_api_sdk/models/{aave_historical_transactionsop.py → v1_aave_historical_transactionsop.py} +9 -13
  92. compass_api_sdk/models/{aave_liquidity_changeop.py → v1_aave_liquidity_changeop.py} +30 -17
  93. compass_api_sdk/models/{aave_rateop.py → v1_aave_rateop.py} +32 -19
  94. compass_api_sdk/models/{aave_reserve_overviewop.py → v1_aave_reserve_overviewop.py} +32 -19
  95. compass_api_sdk/models/{aave_std_rateop.py → v1_aave_std_rateop.py} +32 -19
  96. compass_api_sdk/models/{aave_token_priceop.py → v1_aave_token_priceop.py} +32 -19
  97. compass_api_sdk/models/{aave_user_position_per_tokenop.py → v1_aave_user_position_per_tokenop.py} +32 -19
  98. compass_api_sdk/models/{aave_user_position_summaryop.py → v1_aave_user_position_summaryop.py} +9 -13
  99. compass_api_sdk/models/{uniswap_liquidity_provision_positionsop.py → v1_aerodrome_slipstream_liquidity_provision_positionsop.py} +7 -13
  100. compass_api_sdk/models/{aerodrome_slipstream_pool_priceop.py → v1_aerodrome_slipstream_pool_priceop.py} +53 -25
  101. compass_api_sdk/models/{generic_allowanceop.py → v1_generic_allowanceop.py} +24 -25
  102. compass_api_sdk/models/{generic_ensop.py → v1_generic_ensop.py} +7 -13
  103. compass_api_sdk/models/{generic_portfolioop.py → v1_generic_portfolioop.py} +9 -13
  104. compass_api_sdk/models/{generic_supported_chainsop.py → v1_generic_supported_chainsop.py} +2 -2
  105. compass_api_sdk/models/v1_generic_supported_tokensop.py +24 -0
  106. compass_api_sdk/models/{morpho_market_positionop.py → v1_morpho_market_positionop.py} +9 -8
  107. compass_api_sdk/models/{morpho_marketop.py → v1_morpho_marketop.py} +9 -8
  108. compass_api_sdk/models/{morpho_marketsop.py → v1_morpho_marketsop.py} +9 -8
  109. compass_api_sdk/models/{morpho_user_positionop.py → v1_morpho_user_positionop.py} +9 -8
  110. compass_api_sdk/models/{morpho_vaultop.py → v1_morpho_vaultop.py} +9 -13
  111. compass_api_sdk/models/{morpho_vaultsop.py → v1_morpho_vaultsop.py} +9 -8
  112. compass_api_sdk/models/{pendle_marketop.py → v1_pendle_marketop.py} +9 -13
  113. compass_api_sdk/models/v1_pendle_marketsop.py +24 -0
  114. compass_api_sdk/models/{pendle_positionsop.py → v1_pendle_positionsop.py} +10 -14
  115. compass_api_sdk/models/{sky_positionop.py → v1_sky_positionop.py} +14 -15
  116. compass_api_sdk/models/{token_addressop.py → v1_token_addressop.py} +30 -17
  117. compass_api_sdk/models/{token_balanceop.py → v1_token_balanceop.py} +14 -18
  118. compass_api_sdk/models/{token_priceop.py → v1_token_priceop.py} +14 -18
  119. compass_api_sdk/models/v1_transaction_bundler_aave_loopop.py +24 -0
  120. compass_api_sdk/models/{uniswap_liquidity_provision_in_rangeop.py → v1_uniswap_liquidity_provision_in_rangeop.py} +9 -13
  121. compass_api_sdk/models/{aerodrome_slipstream_liquidity_provision_positionsop.py → v1_uniswap_liquidity_provision_positionsop.py} +9 -13
  122. compass_api_sdk/models/{uniswap_pool_priceop.py → v1_uniswap_pool_priceop.py} +59 -29
  123. compass_api_sdk/models/{uniswap_quote_buy_exactlyop.py → v1_uniswap_quote_buy_exactlyop.py} +65 -35
  124. compass_api_sdk/models/{uniswap_quote_sell_exactlyop.py → v1_uniswap_quote_sell_exactlyop.py} +65 -35
  125. compass_api_sdk/models/{vaults_vaultop.py → v1_vaults_vaultop.py} +9 -13
  126. compass_api_sdk/models/{vaultdepositrequest.py → vaultdepositparams.py} +7 -20
  127. compass_api_sdk/models/{vaultwithdrawrequest.py → vaultwithdrawparams.py} +2 -13
  128. compass_api_sdk/morpho.py +310 -222
  129. compass_api_sdk/pendle.py +307 -1081
  130. compass_api_sdk/sky.py +186 -94
  131. compass_api_sdk/smart_account.py +46 -18
  132. compass_api_sdk/swap.py +40 -26
  133. compass_api_sdk/token_sdk.py +76 -66
  134. compass_api_sdk/transaction_bundler.py +126 -76
  135. compass_api_sdk/uniswap_v3.py +302 -278
  136. compass_api_sdk/universal.py +189 -329
  137. compass_api_sdk/utils/__init__.py +3 -2
  138. {compass_api_sdk-0.9.51.dist-info → compass_api_sdk-0.9.52.dist-info}/METADATA +83 -88
  139. compass_api_sdk-0.9.52.dist-info/RECORD +263 -0
  140. compass_api_sdk/models/aavehistoricaltransactionsresponse.py +0 -65
  141. compass_api_sdk/models/aerodromeslipstreambuyexactlyrequest.py +0 -104
  142. compass_api_sdk/models/aerodromeslipstreamincreaseliquidityprovisionrequest.py +0 -123
  143. compass_api_sdk/models/aerodromeslipstreamwithdrawliquidityprovisionrequest.py +0 -64
  144. compass_api_sdk/models/batcheduseroperationsrequest.py +0 -32
  145. compass_api_sdk/models/generic_supported_tokensop.py +0 -28
  146. compass_api_sdk/models/generic_visualize_portfolioop.py +0 -37
  147. compass_api_sdk/models/image.py +0 -15
  148. compass_api_sdk/models/morphocheckuserpositionresponse.py +0 -32
  149. compass_api_sdk/models/morphogetmarketsresponse.py +0 -17
  150. compass_api_sdk/models/morphogetvaultsresponse.py +0 -17
  151. compass_api_sdk/models/multicallexecuterequest.py +0 -36
  152. compass_api_sdk/models/odosswaprequest.py +0 -86
  153. compass_api_sdk/models/pendle_marketsop.py +0 -28
  154. compass_api_sdk/models/pendle_quoteop.py +0 -128
  155. compass_api_sdk/models/pendleaddliquidityparams.py +0 -50
  156. compass_api_sdk/models/pendleaddliquidityrequest.py +0 -61
  157. compass_api_sdk/models/pendlebuyptparams.py +0 -48
  158. compass_api_sdk/models/pendlebuyptrequest.py +0 -59
  159. compass_api_sdk/models/pendlebuyytparams.py +0 -48
  160. compass_api_sdk/models/pendlebuyytrequest.py +0 -59
  161. compass_api_sdk/models/pendlegetquoteresponse.py +0 -15
  162. compass_api_sdk/models/pendlelistmarketsresponse.py +0 -17
  163. compass_api_sdk/models/pendlelistuserpositionsresponse.py +0 -17
  164. compass_api_sdk/models/pendleremoveliquidityparams.py +0 -50
  165. compass_api_sdk/models/pendleremoveliquidityrequest.py +0 -61
  166. compass_api_sdk/models/pendlesellptparams.py +0 -48
  167. compass_api_sdk/models/pendlesellptrequest.py +0 -61
  168. compass_api_sdk/models/pendlesellytparams.py +0 -48
  169. compass_api_sdk/models/pendlesellytrequest.py +0 -61
  170. compass_api_sdk/models/setallowancerequest.py +0 -109
  171. compass_api_sdk/models/skysellrequest.py +0 -64
  172. compass_api_sdk/models/supportedchaininfo.py +0 -19
  173. compass_api_sdk/models/txresponse.py +0 -27
  174. compass_api_sdk/models/uniswapbuyexactlyrequest.py +0 -112
  175. compass_api_sdk/models/uniswapincreaseliquidityprovisionrequest.py +0 -111
  176. compass_api_sdk/models/uniswapsellexactlyrequest.py +0 -104
  177. compass_api_sdk/models/uniswapwithdrawliquidityprovisionrequest.py +0 -63
  178. compass_api_sdk/models/unwrapwethrequest.py +0 -53
  179. compass_api_sdk/models/wrapethrequest.py +0 -52
  180. compass_api_sdk-0.9.51.dist-info/RECORD +0 -266
  181. {compass_api_sdk-0.9.51.dist-info → compass_api_sdk-0.9.52.dist-info}/WHEEL +0 -0
@@ -1,28 +0,0 @@
1
- """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
-
3
- from __future__ import annotations
4
- from compass_api_sdk.types import BaseModel
5
- from compass_api_sdk.utils import FieldMetadata, QueryParamMetadata
6
- from enum import Enum
7
- from typing_extensions import Annotated, TypedDict
8
-
9
-
10
- class PendleMarketsChain(str, Enum):
11
- r"""The chain to use."""
12
-
13
- BASE_MAINNET = "base:mainnet"
14
- ETHEREUM_MAINNET = "ethereum:mainnet"
15
- ARBITRUM_MAINNET = "arbitrum:mainnet"
16
-
17
-
18
- class PendleMarketsRequestTypedDict(TypedDict):
19
- chain: PendleMarketsChain
20
- r"""The chain to use."""
21
-
22
-
23
- class PendleMarketsRequest(BaseModel):
24
- chain: Annotated[
25
- PendleMarketsChain,
26
- FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
27
- ] = PendleMarketsChain.ARBITRUM_MAINNET
28
- r"""The chain to use."""
@@ -1,128 +0,0 @@
1
- """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
-
3
- from __future__ import annotations
4
- from compass_api_sdk.types import (
5
- BaseModel,
6
- Nullable,
7
- OptionalNullable,
8
- UNSET,
9
- UNSET_SENTINEL,
10
- )
11
- from compass_api_sdk.utils import FieldMetadata, QueryParamMetadata
12
- from enum import Enum
13
- from pydantic import model_serializer
14
- from typing import Union
15
- from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict
16
-
17
-
18
- class PendleQuoteChain(str, Enum):
19
- r"""The chain to use."""
20
-
21
- BASE_MAINNET = "base:mainnet"
22
- ETHEREUM_MAINNET = "ethereum:mainnet"
23
- ARBITRUM_MAINNET = "arbitrum:mainnet"
24
-
25
-
26
- PendleQuoteAmountTypedDict = TypeAliasType(
27
- "PendleQuoteAmountTypedDict", Union[float, str]
28
- )
29
- r"""The quantity to trade."""
30
-
31
-
32
- PendleQuoteAmount = TypeAliasType("PendleQuoteAmount", Union[float, str])
33
- r"""The quantity to trade."""
34
-
35
-
36
- class TokenType(str, Enum):
37
- r"""Specifies the token to quote (`PT`, `YT`, or `LP`)"""
38
-
39
- PT = "PT"
40
- YT = "YT"
41
- LP = "LP"
42
-
43
-
44
- class TradeType(str, Enum):
45
- r"""Specifies the trade direction (`BUY` or `SELL`)"""
46
-
47
- BUY = "BUY"
48
- SELL = "SELL"
49
-
50
-
51
- class PendleQuoteRequestTypedDict(TypedDict):
52
- amount: PendleQuoteAmountTypedDict
53
- r"""The quantity to trade."""
54
- chain: PendleQuoteChain
55
- r"""The chain to use."""
56
- block: NotRequired[Nullable[int]]
57
- r"""Optional block number (defaults to latest)."""
58
- market_address: str
59
- r"""The market address of the desired position."""
60
- token_type: TokenType
61
- r"""Specifies the token to quote (`PT`, `YT`, or `LP`)"""
62
- trade_type: TradeType
63
- r"""Specifies the trade direction (`BUY` or `SELL`)"""
64
-
65
-
66
- class PendleQuoteRequest(BaseModel):
67
- amount: Annotated[
68
- PendleQuoteAmount,
69
- FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
70
- ]
71
- r"""The quantity to trade."""
72
-
73
- chain: Annotated[
74
- PendleQuoteChain,
75
- FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
76
- ] = PendleQuoteChain.ARBITRUM_MAINNET
77
- r"""The chain to use."""
78
-
79
- block: Annotated[
80
- OptionalNullable[int],
81
- FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
82
- ] = UNSET
83
- r"""Optional block number (defaults to latest)."""
84
-
85
- market_address: Annotated[
86
- str, FieldMetadata(query=QueryParamMetadata(style="form", explode=True))
87
- ] = "0x46d62a8dede1bf2d0de04f2ed863245cbba5e538"
88
- r"""The market address of the desired position."""
89
-
90
- token_type: Annotated[
91
- TokenType, FieldMetadata(query=QueryParamMetadata(style="form", explode=True))
92
- ] = TokenType.PT
93
- r"""Specifies the token to quote (`PT`, `YT`, or `LP`)"""
94
-
95
- trade_type: Annotated[
96
- TradeType, FieldMetadata(query=QueryParamMetadata(style="form", explode=True))
97
- ] = TradeType.BUY
98
- r"""Specifies the trade direction (`BUY` or `SELL`)"""
99
-
100
- @model_serializer(mode="wrap")
101
- def serialize_model(self, handler):
102
- optional_fields = ["block"]
103
- nullable_fields = ["block"]
104
- null_default_fields = []
105
-
106
- serialized = handler(self)
107
-
108
- m = {}
109
-
110
- for n, f in type(self).model_fields.items():
111
- k = f.alias or n
112
- val = serialized.get(k)
113
- serialized.pop(k, None)
114
-
115
- optional_nullable = k in optional_fields and k in nullable_fields
116
- is_set = (
117
- self.__pydantic_fields_set__.intersection({n})
118
- or k in null_default_fields
119
- ) # pylint: disable=no-member
120
-
121
- if val is not None and val != UNSET_SENTINEL:
122
- m[k] = val
123
- elif val != UNSET_SENTINEL and (
124
- not k in optional_fields or (optional_nullable and is_set)
125
- ):
126
- m[k] = val
127
-
128
- return m
@@ -1,50 +0,0 @@
1
- """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
-
3
- from __future__ import annotations
4
- from compass_api_sdk.types import BaseModel
5
- from compass_api_sdk.utils import validate_const
6
- import pydantic
7
- from pydantic.functional_validators import AfterValidator
8
- from typing import Literal, Optional, Union
9
- from typing_extensions import Annotated, TypeAliasType, TypedDict
10
-
11
-
12
- PendleAddLiquidityParamsAmountTypedDict = TypeAliasType(
13
- "PendleAddLiquidityParamsAmountTypedDict", Union[float, str]
14
- )
15
- r"""The amount of liquidity you would like to add to the market denominated in the market's Underlying Token."""
16
-
17
-
18
- PendleAddLiquidityParamsAmount = TypeAliasType(
19
- "PendleAddLiquidityParamsAmount", Union[float, str]
20
- )
21
- r"""The amount of liquidity you would like to add to the market denominated in the market's Underlying Token."""
22
-
23
-
24
- class PendleAddLiquidityParamsTypedDict(TypedDict):
25
- market_address: str
26
- r"""The address identifying which Pendle Market you would like to add liquidity to."""
27
- amount: PendleAddLiquidityParamsAmountTypedDict
28
- r"""The amount of liquidity you would like to add to the market denominated in the market's Underlying Token."""
29
- max_slippage_percent: float
30
- r"""The maximum slippage allowed in percent. e.g. `1` means `1%` slippage allowed."""
31
- action_type: Literal["PENDLE_ADD_LIQUIDITY"]
32
-
33
-
34
- class PendleAddLiquidityParams(BaseModel):
35
- market_address: str
36
- r"""The address identifying which Pendle Market you would like to add liquidity to."""
37
-
38
- amount: PendleAddLiquidityParamsAmount
39
- r"""The amount of liquidity you would like to add to the market denominated in the market's Underlying Token."""
40
-
41
- max_slippage_percent: float
42
- r"""The maximum slippage allowed in percent. e.g. `1` means `1%` slippage allowed."""
43
-
44
- ACTION_TYPE: Annotated[
45
- Annotated[
46
- Optional[Literal["PENDLE_ADD_LIQUIDITY"]],
47
- AfterValidator(validate_const("PENDLE_ADD_LIQUIDITY")),
48
- ],
49
- pydantic.Field(alias="action_type"),
50
- ] = "PENDLE_ADD_LIQUIDITY"
@@ -1,61 +0,0 @@
1
- """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
-
3
- from __future__ import annotations
4
- from .chain import Chain
5
- from compass_api_sdk.types import BaseModel
6
- from compass_api_sdk.utils import validate_const
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
- PendleAddLiquidityRequestAmountTypedDict = TypeAliasType(
14
- "PendleAddLiquidityRequestAmountTypedDict", Union[float, str]
15
- )
16
- r"""The amount of liquidity you would like to add to the market denominated in the market's Underlying Token."""
17
-
18
-
19
- PendleAddLiquidityRequestAmount = TypeAliasType(
20
- "PendleAddLiquidityRequestAmount", Union[float, str]
21
- )
22
- r"""The amount of liquidity you would like to add to the market denominated in the market's Underlying Token."""
23
-
24
-
25
- class PendleAddLiquidityRequestTypedDict(TypedDict):
26
- market_address: str
27
- r"""The address identifying which Pendle Market you would like to add liquidity to."""
28
- amount: PendleAddLiquidityRequestAmountTypedDict
29
- r"""The amount of liquidity you would like to add to the market denominated in the market's Underlying Token."""
30
- max_slippage_percent: float
31
- r"""The maximum slippage allowed in percent. e.g. `1` means `1%` slippage allowed."""
32
- chain: Chain
33
- r"""The chain to use."""
34
- sender: str
35
- r"""The address of the transaction sender."""
36
- action_type: Literal["PENDLE_ADD_LIQUIDITY"]
37
-
38
-
39
- class PendleAddLiquidityRequest(BaseModel):
40
- market_address: str
41
- r"""The address identifying which Pendle Market you would like to add liquidity to."""
42
-
43
- amount: PendleAddLiquidityRequestAmount
44
- r"""The amount of liquidity you would like to add to the market denominated in the market's Underlying Token."""
45
-
46
- max_slippage_percent: float
47
- r"""The maximum slippage allowed in percent. e.g. `1` means `1%` slippage allowed."""
48
-
49
- chain: Chain
50
- r"""The chain to use."""
51
-
52
- sender: str
53
- r"""The address of the transaction sender."""
54
-
55
- ACTION_TYPE: Annotated[
56
- Annotated[
57
- Optional[Literal["PENDLE_ADD_LIQUIDITY"]],
58
- AfterValidator(validate_const("PENDLE_ADD_LIQUIDITY")),
59
- ],
60
- pydantic.Field(alias="action_type"),
61
- ] = "PENDLE_ADD_LIQUIDITY"
@@ -1,48 +0,0 @@
1
- """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
-
3
- from __future__ import annotations
4
- from compass_api_sdk.types import BaseModel
5
- from compass_api_sdk.utils import validate_const
6
- import pydantic
7
- from pydantic.functional_validators import AfterValidator
8
- from typing import Literal, Optional, Union
9
- from typing_extensions import Annotated, TypeAliasType, TypedDict
10
-
11
-
12
- PendleBuyPtParamsAmountTypedDict = TypeAliasType(
13
- "PendleBuyPtParamsAmountTypedDict", Union[float, str]
14
- )
15
- r"""The amount of market's Underlying Token you would like to sell for market's Principal Token (PT)."""
16
-
17
-
18
- PendleBuyPtParamsAmount = TypeAliasType("PendleBuyPtParamsAmount", Union[float, str])
19
- r"""The amount of market's Underlying Token you would like to sell for market's Principal Token (PT)."""
20
-
21
-
22
- class PendleBuyPtParamsTypedDict(TypedDict):
23
- market_address: str
24
- r"""The address of the market identifying which Principal Token (PT) you would like to buy."""
25
- amount: PendleBuyPtParamsAmountTypedDict
26
- r"""The amount of market's Underlying Token you would like to sell for market's Principal Token (PT)."""
27
- max_slippage_percent: float
28
- r"""The maximum slippage allowed in percent. e.g. `1` means `1%` slippage allowed."""
29
- action_type: Literal["PENDLE_BUY_PT"]
30
-
31
-
32
- class PendleBuyPtParams(BaseModel):
33
- market_address: str
34
- r"""The address of the market identifying which Principal Token (PT) you would like to buy."""
35
-
36
- amount: PendleBuyPtParamsAmount
37
- r"""The amount of market's Underlying Token you would like to sell for market's Principal Token (PT)."""
38
-
39
- max_slippage_percent: float
40
- r"""The maximum slippage allowed in percent. e.g. `1` means `1%` slippage allowed."""
41
-
42
- ACTION_TYPE: Annotated[
43
- Annotated[
44
- Optional[Literal["PENDLE_BUY_PT"]],
45
- AfterValidator(validate_const("PENDLE_BUY_PT")),
46
- ],
47
- pydantic.Field(alias="action_type"),
48
- ] = "PENDLE_BUY_PT"
@@ -1,59 +0,0 @@
1
- """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
-
3
- from __future__ import annotations
4
- from .chain import Chain
5
- from compass_api_sdk.types import BaseModel
6
- from compass_api_sdk.utils import validate_const
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
- PendleBuyPtRequestAmountTypedDict = TypeAliasType(
14
- "PendleBuyPtRequestAmountTypedDict", Union[float, str]
15
- )
16
- r"""The amount of market's Underlying Token you would like to sell for market's Principal Token (PT)."""
17
-
18
-
19
- PendleBuyPtRequestAmount = TypeAliasType("PendleBuyPtRequestAmount", Union[float, str])
20
- r"""The amount of market's Underlying Token you would like to sell for market's Principal Token (PT)."""
21
-
22
-
23
- class PendleBuyPtRequestTypedDict(TypedDict):
24
- market_address: str
25
- r"""The address of the market identifying which Principal Token (PT) you would like to buy."""
26
- amount: PendleBuyPtRequestAmountTypedDict
27
- r"""The amount of market's Underlying Token you would like to sell for market's Principal Token (PT)."""
28
- max_slippage_percent: float
29
- r"""The maximum slippage allowed in percent. e.g. `1` means `1%` slippage allowed."""
30
- chain: Chain
31
- r"""The chain to use."""
32
- sender: str
33
- r"""The address of the transaction sender."""
34
- action_type: Literal["PENDLE_BUY_PT"]
35
-
36
-
37
- class PendleBuyPtRequest(BaseModel):
38
- market_address: str
39
- r"""The address of the market identifying which Principal Token (PT) you would like to buy."""
40
-
41
- amount: PendleBuyPtRequestAmount
42
- r"""The amount of market's Underlying Token you would like to sell for market's Principal Token (PT)."""
43
-
44
- max_slippage_percent: float
45
- r"""The maximum slippage allowed in percent. e.g. `1` means `1%` slippage allowed."""
46
-
47
- chain: Chain
48
- r"""The chain to use."""
49
-
50
- sender: str
51
- r"""The address of the transaction sender."""
52
-
53
- ACTION_TYPE: Annotated[
54
- Annotated[
55
- Optional[Literal["PENDLE_BUY_PT"]],
56
- AfterValidator(validate_const("PENDLE_BUY_PT")),
57
- ],
58
- pydantic.Field(alias="action_type"),
59
- ] = "PENDLE_BUY_PT"
@@ -1,48 +0,0 @@
1
- """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
-
3
- from __future__ import annotations
4
- from compass_api_sdk.types import BaseModel
5
- from compass_api_sdk.utils import validate_const
6
- import pydantic
7
- from pydantic.functional_validators import AfterValidator
8
- from typing import Literal, Optional, Union
9
- from typing_extensions import Annotated, TypeAliasType, TypedDict
10
-
11
-
12
- PendleBuyYtParamsAmountTypedDict = TypeAliasType(
13
- "PendleBuyYtParamsAmountTypedDict", Union[float, str]
14
- )
15
- r"""The amount of market's Underlying Token you would like to sell for market's Yield Token (YT)."""
16
-
17
-
18
- PendleBuyYtParamsAmount = TypeAliasType("PendleBuyYtParamsAmount", Union[float, str])
19
- r"""The amount of market's Underlying Token you would like to sell for market's Yield Token (YT)."""
20
-
21
-
22
- class PendleBuyYtParamsTypedDict(TypedDict):
23
- market_address: str
24
- r"""The address of the market identifying which Yield Token (YT) you would like to buy."""
25
- amount: PendleBuyYtParamsAmountTypedDict
26
- r"""The amount of market's Underlying Token you would like to sell for market's Yield Token (YT)."""
27
- max_slippage_percent: float
28
- r"""The maximum slippage allowed in percent. e.g. `1` means `1%` slippage allowed."""
29
- action_type: Literal["PENDLE_BUY_YT"]
30
-
31
-
32
- class PendleBuyYtParams(BaseModel):
33
- market_address: str
34
- r"""The address of the market identifying which Yield Token (YT) you would like to buy."""
35
-
36
- amount: PendleBuyYtParamsAmount
37
- r"""The amount of market's Underlying Token you would like to sell for market's Yield Token (YT)."""
38
-
39
- max_slippage_percent: float
40
- r"""The maximum slippage allowed in percent. e.g. `1` means `1%` slippage allowed."""
41
-
42
- ACTION_TYPE: Annotated[
43
- Annotated[
44
- Optional[Literal["PENDLE_BUY_YT"]],
45
- AfterValidator(validate_const("PENDLE_BUY_YT")),
46
- ],
47
- pydantic.Field(alias="action_type"),
48
- ] = "PENDLE_BUY_YT"
@@ -1,59 +0,0 @@
1
- """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
-
3
- from __future__ import annotations
4
- from .chain import Chain
5
- from compass_api_sdk.types import BaseModel
6
- from compass_api_sdk.utils import validate_const
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
- PendleBuyYtRequestAmountTypedDict = TypeAliasType(
14
- "PendleBuyYtRequestAmountTypedDict", Union[float, str]
15
- )
16
- r"""The amount of market's Underlying Token you would like to sell for market's Yield Token (YT)."""
17
-
18
-
19
- PendleBuyYtRequestAmount = TypeAliasType("PendleBuyYtRequestAmount", Union[float, str])
20
- r"""The amount of market's Underlying Token you would like to sell for market's Yield Token (YT)."""
21
-
22
-
23
- class PendleBuyYtRequestTypedDict(TypedDict):
24
- market_address: str
25
- r"""The address of the market identifying which Yield Token (YT) you would like to buy."""
26
- amount: PendleBuyYtRequestAmountTypedDict
27
- r"""The amount of market's Underlying Token you would like to sell for market's Yield Token (YT)."""
28
- max_slippage_percent: float
29
- r"""The maximum slippage allowed in percent. e.g. `1` means `1%` slippage allowed."""
30
- chain: Chain
31
- r"""The chain to use."""
32
- sender: str
33
- r"""The address of the transaction sender."""
34
- action_type: Literal["PENDLE_BUY_YT"]
35
-
36
-
37
- class PendleBuyYtRequest(BaseModel):
38
- market_address: str
39
- r"""The address of the market identifying which Yield Token (YT) you would like to buy."""
40
-
41
- amount: PendleBuyYtRequestAmount
42
- r"""The amount of market's Underlying Token you would like to sell for market's Yield Token (YT)."""
43
-
44
- max_slippage_percent: float
45
- r"""The maximum slippage allowed in percent. e.g. `1` means `1%` slippage allowed."""
46
-
47
- chain: Chain
48
- r"""The chain to use."""
49
-
50
- sender: str
51
- r"""The address of the transaction sender."""
52
-
53
- ACTION_TYPE: Annotated[
54
- Annotated[
55
- Optional[Literal["PENDLE_BUY_YT"]],
56
- AfterValidator(validate_const("PENDLE_BUY_YT")),
57
- ],
58
- pydantic.Field(alias="action_type"),
59
- ] = "PENDLE_BUY_YT"
@@ -1,15 +0,0 @@
1
- """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
-
3
- from __future__ import annotations
4
- from compass_api_sdk.types import BaseModel
5
- from typing_extensions import TypedDict
6
-
7
-
8
- class PendleGetQuoteResponseTypedDict(TypedDict):
9
- quote: str
10
- r"""A quote for the specified trade, detailing the expected amount of tokens received based on the `trade_type` and `token_type`."""
11
-
12
-
13
- class PendleGetQuoteResponse(BaseModel):
14
- quote: str
15
- r"""A quote for the specified trade, detailing the expected amount of tokens received based on the `trade_type` and `token_type`."""
@@ -1,17 +0,0 @@
1
- """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
-
3
- from __future__ import annotations
4
- from .pendlemarket import PendleMarket, PendleMarketTypedDict
5
- from compass_api_sdk.types import BaseModel
6
- from typing import List
7
- from typing_extensions import TypedDict
8
-
9
-
10
- class PendleListMarketsResponseTypedDict(TypedDict):
11
- markets: List[PendleMarketTypedDict]
12
- r"""A list of active markets on the inputted chain."""
13
-
14
-
15
- class PendleListMarketsResponse(BaseModel):
16
- markets: List[PendleMarket]
17
- r"""A list of active markets on the inputted chain."""
@@ -1,17 +0,0 @@
1
- """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
-
3
- from __future__ import annotations
4
- from .position import Position, PositionTypedDict
5
- from compass_api_sdk.types import BaseModel
6
- from typing import List
7
- from typing_extensions import TypedDict
8
-
9
-
10
- class PendleListUserPositionsResponseTypedDict(TypedDict):
11
- positions: List[PositionTypedDict]
12
- r"""A list of the user's positions on the given chain."""
13
-
14
-
15
- class PendleListUserPositionsResponse(BaseModel):
16
- positions: List[Position]
17
- r"""A list of the user's positions on the given chain."""
@@ -1,50 +0,0 @@
1
- """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
-
3
- from __future__ import annotations
4
- from compass_api_sdk.types import BaseModel
5
- from compass_api_sdk.utils import validate_const
6
- import pydantic
7
- from pydantic.functional_validators import AfterValidator
8
- from typing import Literal, Optional, Union
9
- from typing_extensions import Annotated, TypeAliasType, TypedDict
10
-
11
-
12
- PendleRemoveLiquidityParamsAmountTypedDict = TypeAliasType(
13
- "PendleRemoveLiquidityParamsAmountTypedDict", Union[float, str]
14
- )
15
- r"""The amount of liquidity you would like to remove from the market denominated in the market's Liquidity Provider Token (LP)."""
16
-
17
-
18
- PendleRemoveLiquidityParamsAmount = TypeAliasType(
19
- "PendleRemoveLiquidityParamsAmount", Union[float, str]
20
- )
21
- r"""The amount of liquidity you would like to remove from the market denominated in the market's Liquidity Provider Token (LP)."""
22
-
23
-
24
- class PendleRemoveLiquidityParamsTypedDict(TypedDict):
25
- market_address: str
26
- r"""The address identifying which Pendle Market you would like to remove liquidity from."""
27
- amount: PendleRemoveLiquidityParamsAmountTypedDict
28
- r"""The amount of liquidity you would like to remove from the market denominated in the market's Liquidity Provider Token (LP)."""
29
- max_slippage_percent: float
30
- r"""The maximum slippage allowed in percent. e.g. `1` means `1%` slippage allowed."""
31
- action_type: Literal["PENDLE_REMOVE_LIQUIDITY"]
32
-
33
-
34
- class PendleRemoveLiquidityParams(BaseModel):
35
- market_address: str
36
- r"""The address identifying which Pendle Market you would like to remove liquidity from."""
37
-
38
- amount: PendleRemoveLiquidityParamsAmount
39
- r"""The amount of liquidity you would like to remove from the market denominated in the market's Liquidity Provider Token (LP)."""
40
-
41
- max_slippage_percent: float
42
- r"""The maximum slippage allowed in percent. e.g. `1` means `1%` slippage allowed."""
43
-
44
- ACTION_TYPE: Annotated[
45
- Annotated[
46
- Optional[Literal["PENDLE_REMOVE_LIQUIDITY"]],
47
- AfterValidator(validate_const("PENDLE_REMOVE_LIQUIDITY")),
48
- ],
49
- pydantic.Field(alias="action_type"),
50
- ] = "PENDLE_REMOVE_LIQUIDITY"
@@ -1,61 +0,0 @@
1
- """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
-
3
- from __future__ import annotations
4
- from .chain import Chain
5
- from compass_api_sdk.types import BaseModel
6
- from compass_api_sdk.utils import validate_const
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
- PendleRemoveLiquidityRequestAmountTypedDict = TypeAliasType(
14
- "PendleRemoveLiquidityRequestAmountTypedDict", Union[float, str]
15
- )
16
- r"""The amount of liquidity you would like to remove from the market denominated in the market's Liquidity Provider Token (LP)."""
17
-
18
-
19
- PendleRemoveLiquidityRequestAmount = TypeAliasType(
20
- "PendleRemoveLiquidityRequestAmount", Union[float, str]
21
- )
22
- r"""The amount of liquidity you would like to remove from the market denominated in the market's Liquidity Provider Token (LP)."""
23
-
24
-
25
- class PendleRemoveLiquidityRequestTypedDict(TypedDict):
26
- market_address: str
27
- r"""The address identifying which Pendle Market you would like to remove liquidity from."""
28
- amount: PendleRemoveLiquidityRequestAmountTypedDict
29
- r"""The amount of liquidity you would like to remove from the market denominated in the market's Liquidity Provider Token (LP)."""
30
- max_slippage_percent: float
31
- r"""The maximum slippage allowed in percent. e.g. `1` means `1%` slippage allowed."""
32
- chain: Chain
33
- r"""The chain to use."""
34
- sender: str
35
- r"""The address of the transaction sender."""
36
- action_type: Literal["PENDLE_REMOVE_LIQUIDITY"]
37
-
38
-
39
- class PendleRemoveLiquidityRequest(BaseModel):
40
- market_address: str
41
- r"""The address identifying which Pendle Market you would like to remove liquidity from."""
42
-
43
- amount: PendleRemoveLiquidityRequestAmount
44
- r"""The amount of liquidity you would like to remove from the market denominated in the market's Liquidity Provider Token (LP)."""
45
-
46
- max_slippage_percent: float
47
- r"""The maximum slippage allowed in percent. e.g. `1` means `1%` slippage allowed."""
48
-
49
- chain: Chain
50
- r"""The chain to use."""
51
-
52
- sender: str
53
- r"""The address of the transaction sender."""
54
-
55
- ACTION_TYPE: Annotated[
56
- Annotated[
57
- Optional[Literal["PENDLE_REMOVE_LIQUIDITY"]],
58
- AfterValidator(validate_const("PENDLE_REMOVE_LIQUIDITY")),
59
- ],
60
- pydantic.Field(alias="action_type"),
61
- ] = "PENDLE_REMOVE_LIQUIDITY"