compass_api_sdk 1.1.1__py3-none-any.whl → 2.2.1rc3__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.
Files changed (263) hide show
  1. compass_api_sdk/_hooks/sdkhooks.py +4 -4
  2. compass_api_sdk/_hooks/types.py +1 -2
  3. compass_api_sdk/_version.py +3 -3
  4. compass_api_sdk/aave_v3.py +386 -114
  5. compass_api_sdk/aerodrome_slipstream.py +104 -54
  6. compass_api_sdk/basesdk.py +6 -0
  7. compass_api_sdk/bridge.py +536 -0
  8. compass_api_sdk/earn.py +2026 -0
  9. compass_api_sdk/erc_4626_vaults.py +28 -10
  10. compass_api_sdk/errors/__init__.py +8 -0
  11. compass_api_sdk/errors/apierror.py +1 -1
  12. compass_api_sdk/errors/compassapierror.py +1 -1
  13. compass_api_sdk/errors/httpvalidationerror.py +1 -1
  14. compass_api_sdk/errors/mintpreparenotfoundresponse_error.py +49 -0
  15. compass_api_sdk/errors/no_response_error.py +1 -1
  16. compass_api_sdk/errors/responsevalidationerror.py +1 -1
  17. compass_api_sdk/ethena.py +36 -10
  18. compass_api_sdk/gas_sponsorship.py +458 -0
  19. compass_api_sdk/httpclient.py +0 -1
  20. compass_api_sdk/models/__init__.py +820 -392
  21. compass_api_sdk/models/aaveborrowparams.py +4 -13
  22. compass_api_sdk/models/aaveborrowrequest.py +10 -14
  23. compass_api_sdk/models/aavehistoricaltransactionsresponse.py +3 -3
  24. compass_api_sdk/models/aavelooprequest.py +32 -28
  25. compass_api_sdk/models/aaveposition.py +104 -0
  26. compass_api_sdk/models/aaverepayparams.py +4 -13
  27. compass_api_sdk/models/aaverepayrequest.py +10 -14
  28. compass_api_sdk/models/aavesetuseremodeparams.py +28 -0
  29. compass_api_sdk/models/aavesetuseremoderequest.py +48 -0
  30. compass_api_sdk/models/aavesupplyparams.py +4 -13
  31. compass_api_sdk/models/aavesupplyrequest.py +10 -14
  32. compass_api_sdk/models/aavevenue.py +27 -0
  33. compass_api_sdk/models/aavewithdrawparams.py +4 -13
  34. compass_api_sdk/models/aavewithdrawrequest.py +10 -14
  35. compass_api_sdk/models/aerodromeenrichedposition.py +109 -0
  36. compass_api_sdk/models/aerodromelppositionsresponse.py +10 -7
  37. compass_api_sdk/models/aerodromeslipstreambuyexactlyparams.py +8 -25
  38. compass_api_sdk/models/aerodromeslipstreambuyexactlyrequest.py +14 -26
  39. compass_api_sdk/models/aerodromeslipstreamincreaseliquidityprovisionrequest.py +6 -1
  40. compass_api_sdk/models/aerodromeslipstreammintliquidityprovisionparams.py +8 -25
  41. compass_api_sdk/models/aerodromeslipstreammintliquidityprovisionrequest.py +14 -26
  42. compass_api_sdk/models/aerodromeslipstreampoolpriceresponse.py +8 -25
  43. compass_api_sdk/models/aerodromeslipstreamsellexactlyparams.py +8 -25
  44. compass_api_sdk/models/aerodromeslipstreamsellexactlyrequest.py +13 -25
  45. compass_api_sdk/models/aerodromeslipstreamwithdrawliquidityprovisionrequest.py +6 -1
  46. compass_api_sdk/models/approvetransferrequest.py +32 -0
  47. compass_api_sdk/models/approvetransferresponse.py +52 -0
  48. compass_api_sdk/models/batchedsafeoperationsresponse_input.py +52 -0
  49. compass_api_sdk/models/batchedsafeoperationsresponse_output.py +52 -0
  50. compass_api_sdk/models/batcheduseroperationsrequest.py +15 -4
  51. compass_api_sdk/models/chainmarketinfo.py +29 -0
  52. compass_api_sdk/models/{compass_api_backend_models_generic_read_response_portfolio_tokenbalance.py → compass_api_backend_v1_models_generic_read_response_portfolio_tokenbalance.py} +6 -15
  53. compass_api_sdk/models/{compass_api_backend_models_morpho_read_response_check_user_position_apydata.py → compass_api_backend_v1_models_morpho_read_response_check_user_position_apydata.py} +2 -2
  54. compass_api_sdk/models/{compass_api_backend_models_morpho_read_response_check_user_position_asset.py → compass_api_backend_v1_models_morpho_read_response_check_user_position_asset.py} +2 -2
  55. compass_api_sdk/models/{compass_api_backend_models_morpho_read_response_check_user_position_marketstate.py → compass_api_backend_v1_models_morpho_read_response_check_user_position_marketstate.py} +4 -2
  56. compass_api_sdk/models/compass_api_backend_v1_models_morpho_read_response_check_user_position_vaultposition.py +30 -0
  57. compass_api_sdk/models/{compass_api_backend_models_morpho_read_response_check_user_position_vaultstate.py → compass_api_backend_v1_models_morpho_read_response_check_user_position_vaultstate.py} +2 -2
  58. compass_api_sdk/models/{compass_api_backend_models_morpho_read_response_get_market_apydata.py → compass_api_backend_v1_models_morpho_read_response_get_market_apydata.py} +2 -2
  59. compass_api_sdk/models/{compass_api_backend_models_morpho_read_response_get_market_asset.py → compass_api_backend_v1_models_morpho_read_response_get_market_asset.py} +5 -5
  60. compass_api_sdk/models/{compass_api_backend_models_morpho_read_response_get_market_marketstate.py → compass_api_backend_v1_models_morpho_read_response_get_market_marketstate.py} +4 -2
  61. compass_api_sdk/models/{compass_api_backend_models_morpho_read_response_get_markets_asset.py → compass_api_backend_v1_models_morpho_read_response_get_markets_asset.py} +2 -2
  62. compass_api_sdk/models/{compass_api_backend_models_morpho_read_response_get_markets_marketstate.py → compass_api_backend_v1_models_morpho_read_response_get_markets_marketstate.py} +2 -2
  63. compass_api_sdk/models/{compass_api_backend_models_morpho_read_response_get_vaults_asset.py → compass_api_backend_v1_models_morpho_read_response_get_vaults_asset.py} +2 -2
  64. compass_api_sdk/models/{compass_api_backend_models_morpho_read_response_get_vaults_vaultstate.py → compass_api_backend_v1_models_morpho_read_response_get_vaults_vaultstate.py} +4 -2
  65. compass_api_sdk/models/{compass_api_backend_models_pendle_read_response_market_userposition.py → compass_api_backend_v1_models_pendle_read_response_market_userposition.py} +2 -2
  66. compass_api_sdk/models/{compass_api_backend_models_pendle_read_response_positions_tokenbalance.py → compass_api_backend_v1_models_pendle_read_response_positions_tokenbalance.py} +2 -2
  67. compass_api_sdk/models/{compass_api_backend_models_vaults_read_response_vault_userposition.py → compass_api_backend_v1_models_vaults_read_response_vault_userposition.py} +2 -2
  68. compass_api_sdk/models/compass_api_backend_v1_models_wildcat_read_response_market_userposition.py +22 -0
  69. compass_api_sdk/models/compass_api_backend_v2_models_earn_read_response_positions_vaultposition.py +103 -0
  70. compass_api_sdk/models/compass_api_backend_v2_models_gas_sponsorship_permit_2_typed_data_eip712domain.py +36 -0
  71. compass_api_sdk/models/compass_api_backend_v2_models_gas_sponsorship_permit_2_typed_data_eip712types.py +36 -0
  72. compass_api_sdk/models/compass_api_backend_v2_models_gas_sponsorship_permit_typed_data_eip712domain.py +37 -0
  73. compass_api_sdk/models/compass_api_backend_v2_models_gas_sponsorship_permit_typed_data_eip712types.py +32 -0
  74. compass_api_sdk/models/compass_api_backend_v2_models_safe_transact_response_batched_safe_operations_eip712domain.py +29 -0
  75. compass_api_sdk/models/compass_api_backend_v2_models_safe_transact_response_batched_safe_operations_eip712types.py +34 -0
  76. compass_api_sdk/models/createaccountrequest.py +40 -0
  77. compass_api_sdk/models/createaccountresponse.py +56 -0
  78. compass_api_sdk/models/depositevent.py +61 -0
  79. compass_api_sdk/models/depositforburnrequest.py +77 -0
  80. compass_api_sdk/models/depositforburnresponse.py +100 -0
  81. compass_api_sdk/models/earnmanageparams.py +76 -0
  82. compass_api_sdk/models/earnmanagerequest.py +132 -0
  83. compass_api_sdk/models/earnmanageresponse.py +52 -0
  84. compass_api_sdk/models/earnpositionsresponse.py +48 -0
  85. compass_api_sdk/models/earnswapparams.py +74 -0
  86. compass_api_sdk/models/earnswaprequest.py +90 -0
  87. compass_api_sdk/models/earnswapresponse.py +55 -0
  88. compass_api_sdk/models/earntransferrequest.py +104 -0
  89. compass_api_sdk/models/earntransferresponse.py +71 -0
  90. compass_api_sdk/models/eip712domainfield.py +20 -0
  91. compass_api_sdk/models/eip712field.py +20 -0
  92. compass_api_sdk/models/ethenadepositrequest.py +6 -1
  93. compass_api_sdk/models/ethenagetvaultresponse.py +5 -5
  94. compass_api_sdk/models/ethenarequesttowithdrawrequest.py +6 -1
  95. compass_api_sdk/models/ethenaunstakerequest.py +6 -1
  96. compass_api_sdk/models/fee.py +43 -0
  97. compass_api_sdk/models/listaavemarketsresponse.py +21 -0
  98. compass_api_sdk/models/marketposition.py +5 -5
  99. compass_api_sdk/models/maxsupplyapyinfo.py +34 -0
  100. compass_api_sdk/models/mintpreparecompletedresponse.py +46 -0
  101. compass_api_sdk/models/mintpreparependingresponse.py +65 -0
  102. compass_api_sdk/models/mintpreparereadyresponse.py +43 -0
  103. compass_api_sdk/models/mintpreparerequest.py +25 -0
  104. compass_api_sdk/models/morphoborrowrequest.py +6 -1
  105. compass_api_sdk/models/morphocheckuserpositionresponse.py +9 -3
  106. compass_api_sdk/models/morphodepositrequest.py +6 -1
  107. compass_api_sdk/models/morphogetmarketresponse.py +72 -31
  108. compass_api_sdk/models/morphomarket.py +26 -20
  109. compass_api_sdk/models/morphorepayrequest.py +11 -1
  110. compass_api_sdk/models/morphosupplycollateralrequest.py +11 -1
  111. compass_api_sdk/models/morphovault.py +10 -10
  112. compass_api_sdk/models/morphowithdrawcollateralrequest.py +6 -1
  113. compass_api_sdk/models/morphowithdrawrequest.py +6 -1
  114. compass_api_sdk/models/multicallexecuterequest.py +7 -2
  115. compass_api_sdk/models/odosswapparams.py +9 -30
  116. compass_api_sdk/models/odosswaprequest.py +15 -33
  117. compass_api_sdk/models/oneinchswapparams.py +59 -0
  118. compass_api_sdk/models/openposition.py +7 -7
  119. compass_api_sdk/models/operationtype.py +11 -0
  120. compass_api_sdk/models/pendledepositevent.py +49 -0
  121. compass_api_sdk/models/pendlegetmarketresponse.py +5 -5
  122. compass_api_sdk/models/pendlemanageliquidityparams.py +2 -15
  123. compass_api_sdk/models/pendlemanageliquidityrequest.py +8 -16
  124. compass_api_sdk/models/pendlemarketinfo.py +138 -0
  125. compass_api_sdk/models/pendlemarketsresponse.py +30 -0
  126. compass_api_sdk/models/pendleptposition.py +111 -0
  127. compass_api_sdk/models/pendleptvenue.py +78 -0
  128. compass_api_sdk/models/pendleredeemyieldrequest.py +6 -1
  129. compass_api_sdk/models/pendletradeptparams.py +2 -15
  130. compass_api_sdk/models/pendletradeptrequest.py +8 -16
  131. compass_api_sdk/models/pendletradeytparams.py +2 -15
  132. compass_api_sdk/models/pendletradeytrequest.py +8 -16
  133. compass_api_sdk/models/pendlewithdrawalevent.py +54 -0
  134. compass_api_sdk/models/permit2typeddata_input.py +46 -0
  135. compass_api_sdk/models/permit2typeddata_output.py +46 -0
  136. compass_api_sdk/models/permitfield.py +20 -0
  137. compass_api_sdk/models/permitmessage.py +39 -0
  138. compass_api_sdk/models/permittransferfrommessage.py +29 -0
  139. compass_api_sdk/models/permittypeddataresponse_input.py +50 -0
  140. compass_api_sdk/models/permittypeddataresponse_output.py +50 -0
  141. compass_api_sdk/models/portfolio.py +5 -5
  142. compass_api_sdk/models/positionpnl.py +52 -0
  143. compass_api_sdk/models/reserve.py +6 -15
  144. compass_api_sdk/models/safetransactionparams.py +78 -0
  145. compass_api_sdk/models/safetransactionresponse.py +28 -0
  146. compass_api_sdk/models/safetxfield.py +20 -0
  147. compass_api_sdk/models/safetxmessage.py +66 -0
  148. compass_api_sdk/models/setallowanceparams.py +3 -16
  149. compass_api_sdk/models/setallowancerequest.py +9 -17
  150. compass_api_sdk/models/skybuyrequest.py +6 -1
  151. compass_api_sdk/models/skydepositrequest.py +7 -2
  152. compass_api_sdk/models/skysellrequest.py +7 -2
  153. compass_api_sdk/models/skywithdrawrequest.py +7 -2
  154. compass_api_sdk/models/sponsorgasrequest.py +71 -0
  155. compass_api_sdk/models/sponsorgasresponse.py +14 -0
  156. compass_api_sdk/models/tokenbalanceresponse.py +5 -15
  157. compass_api_sdk/models/tokenconfig.py +30 -0
  158. compass_api_sdk/models/tokenlistresponse.py +21 -0
  159. compass_api_sdk/models/tokenmarketdata.py +27 -0
  160. compass_api_sdk/models/tokenpermissions.py +20 -0
  161. compass_api_sdk/models/tokentransferparams.py +2 -15
  162. compass_api_sdk/models/tokentransferrequest.py +8 -16
  163. compass_api_sdk/models/uniswapbuyexactlyparams.py +8 -33
  164. compass_api_sdk/models/uniswapbuyexactlyrequest.py +14 -34
  165. compass_api_sdk/models/uniswapincreaseliquidityprovisionrequest.py +6 -1
  166. compass_api_sdk/models/uniswapmintliquidityprovisionparams.py +8 -25
  167. compass_api_sdk/models/uniswapmintliquidityprovisionrequest.py +14 -26
  168. compass_api_sdk/models/uniswappoolpriceresponse.py +8 -25
  169. compass_api_sdk/models/uniswapsellexactlyparams.py +4 -29
  170. compass_api_sdk/models/uniswapsellexactlyrequest.py +10 -30
  171. compass_api_sdk/models/uniswapwithdrawliquidityprovisionrequest.py +6 -1
  172. compass_api_sdk/models/unsignedmulticalltransaction.py +34 -3
  173. compass_api_sdk/models/unsignedtransaction.py +34 -3
  174. compass_api_sdk/models/unwrapwethrequest.py +6 -1
  175. compass_api_sdk/models/useroperation.py +33 -24
  176. compass_api_sdk/models/v1_aave_aave_supported_tokensop.py +1 -1
  177. compass_api_sdk/models/v1_aave_avg_rateop.py +15 -93
  178. compass_api_sdk/models/v1_aave_historical_transactionsop.py +15 -15
  179. compass_api_sdk/models/v1_aave_liquidity_changeop.py +8 -86
  180. compass_api_sdk/models/v1_aave_rateop.py +8 -86
  181. compass_api_sdk/models/v1_aave_reserve_overviewop.py +8 -86
  182. compass_api_sdk/models/v1_aave_std_rateop.py +15 -93
  183. compass_api_sdk/models/v1_aave_token_priceop.py +8 -86
  184. compass_api_sdk/models/v1_aave_user_position_per_tokenop.py +14 -92
  185. compass_api_sdk/models/v1_aave_user_position_summaryop.py +8 -8
  186. compass_api_sdk/models/v1_aerodrome_slipstream_liquidity_provision_positionsop.py +48 -3
  187. compass_api_sdk/models/v1_aerodrome_slipstream_pool_priceop.py +12 -168
  188. compass_api_sdk/models/v1_ethena_vaultop.py +1 -1
  189. compass_api_sdk/models/v1_generic_allowanceop.py +12 -26
  190. compass_api_sdk/models/v1_generic_ensop.py +2 -2
  191. compass_api_sdk/models/v1_generic_portfolioop.py +2 -2
  192. compass_api_sdk/models/v1_morpho_market_positionop.py +3 -3
  193. compass_api_sdk/models/v1_morpho_marketop.py +2 -2
  194. compass_api_sdk/models/v1_morpho_marketsop.py +10 -30
  195. compass_api_sdk/models/v1_morpho_user_positionop.py +2 -2
  196. compass_api_sdk/models/v1_morpho_vaultop.py +8 -8
  197. compass_api_sdk/models/v1_morpho_vaultsop.py +6 -16
  198. compass_api_sdk/models/v1_pendle_marketop.py +8 -8
  199. compass_api_sdk/models/v1_pendle_marketsop.py +1 -1
  200. compass_api_sdk/models/v1_pendle_positionsop.py +2 -2
  201. compass_api_sdk/models/v1_sky_positionop.py +5 -6
  202. compass_api_sdk/models/v1_token_balanceop.py +12 -25
  203. compass_api_sdk/models/{v1_generic_supported_tokensop.py → v1_token_listop.py} +6 -6
  204. compass_api_sdk/models/v1_token_priceop.py +8 -9
  205. compass_api_sdk/models/v1_transaction_bundler_aave_loopop.py +6 -6
  206. compass_api_sdk/models/v1_uniswap_liquidity_provision_in_rangeop.py +2 -2
  207. compass_api_sdk/models/v1_uniswap_liquidity_provision_positionsop.py +2 -2
  208. compass_api_sdk/models/v1_uniswap_pool_priceop.py +12 -168
  209. compass_api_sdk/models/v1_uniswap_quote_buy_exactlyop.py +20 -176
  210. compass_api_sdk/models/v1_uniswap_quote_sell_exactlyop.py +20 -176
  211. compass_api_sdk/models/v1_vaults_vaultop.py +8 -8
  212. compass_api_sdk/models/v1_wildcat_marketop.py +82 -0
  213. compass_api_sdk/models/v2_cctp_mintop.py +47 -0
  214. compass_api_sdk/models/v2_earn_aave_marketsop.py +57 -0
  215. compass_api_sdk/models/v2_earn_pendle_marketsop.py +105 -0
  216. compass_api_sdk/models/v2_earn_positionsop.py +31 -0
  217. compass_api_sdk/models/v2_earn_vaultsop.py +105 -0
  218. compass_api_sdk/models/v2bundlerequest.py +33 -0
  219. compass_api_sdk/models/v2bundleresponse.py +67 -0
  220. compass_api_sdk/models/v2useroperation.py +37 -0
  221. compass_api_sdk/models/vault.py +14 -14
  222. compass_api_sdk/models/vaultdepositrequest.py +6 -1
  223. compass_api_sdk/models/vaultgetvaultresponse.py +5 -5
  224. compass_api_sdk/models/vaultinfo.py +129 -0
  225. compass_api_sdk/models/vaultsresponse.py +30 -0
  226. compass_api_sdk/models/vaultvenue.py +27 -0
  227. compass_api_sdk/models/vaultwithdrawrequest.py +6 -1
  228. compass_api_sdk/models/wildcatgetmarketresponse.py +151 -0
  229. compass_api_sdk/models/{redeemunderlying.py → withdraw.py} +2 -2
  230. compass_api_sdk/models/withdrawalevent.py +61 -0
  231. compass_api_sdk/models/wrapethrequest.py +6 -1
  232. compass_api_sdk/morpho.py +126 -78
  233. compass_api_sdk/pendle.py +68 -44
  234. compass_api_sdk/sdk.py +18 -11
  235. compass_api_sdk/sky.py +62 -38
  236. compass_api_sdk/smart_account.py +10 -2
  237. compass_api_sdk/swap.py +22 -22
  238. compass_api_sdk/{token_sdk.py → token.py} +511 -103
  239. compass_api_sdk/transaction_bundler.py +46 -16
  240. compass_api_sdk/types/basemodel.py +41 -3
  241. compass_api_sdk/uniswap_v3.py +152 -114
  242. compass_api_sdk/universal.py +44 -606
  243. compass_api_sdk/utils/__init__.py +0 -3
  244. compass_api_sdk/utils/annotations.py +32 -8
  245. compass_api_sdk/utils/enums.py +60 -0
  246. compass_api_sdk/utils/forms.py +21 -10
  247. compass_api_sdk/utils/queryparams.py +14 -2
  248. compass_api_sdk/utils/requestbodies.py +3 -3
  249. compass_api_sdk/utils/retries.py +69 -5
  250. compass_api_sdk/utils/serializers.py +0 -20
  251. compass_api_sdk/utils/unmarshal_json_response.py +15 -1
  252. compass_api_sdk/wildcat.py +208 -0
  253. compass_api_sdk-2.2.1rc3.dist-info/METADATA +624 -0
  254. compass_api_sdk-2.2.1rc3.dist-info/RECORD +356 -0
  255. {compass_api_sdk-1.1.1.dist-info → compass_api_sdk-2.2.1rc3.dist-info}/WHEEL +1 -1
  256. compass_api_sdk/models/aerodromeposition.py +0 -70
  257. compass_api_sdk/models/token_enum.py +0 -81
  258. compass_api_sdk/models/tokenaddressresponse.py +0 -15
  259. compass_api_sdk/models/tokeninfo.py +0 -17
  260. compass_api_sdk/models/v1_token_addressop.py +0 -109
  261. compass_api_sdk/models/vaultposition.py +0 -24
  262. compass_api_sdk-1.1.1.dist-info/METADATA +0 -592
  263. compass_api_sdk-1.1.1.dist-info/RECORD +0 -275
@@ -4,8 +4,7 @@ from __future__ import annotations
4
4
  from compass_api_sdk.types import BaseModel
5
5
  from compass_api_sdk.utils import FieldMetadata, QueryParamMetadata
6
6
  from enum import Enum
7
- from typing import Optional
8
- from typing_extensions import Annotated, NotRequired, TypedDict
7
+ from typing_extensions import Annotated, TypedDict
9
8
 
10
9
 
11
10
  class V1SkyPositionChain(str, Enum):
@@ -13,18 +12,18 @@ class V1SkyPositionChain(str, Enum):
13
12
 
14
13
 
15
14
  class V1SkyPositionRequestTypedDict(TypedDict):
16
- chain: NotRequired[V1SkyPositionChain]
15
+ chain: V1SkyPositionChain
17
16
  user_address: str
18
17
  r"""The user-address of the desired position."""
19
18
 
20
19
 
21
20
  class V1SkyPositionRequest(BaseModel):
22
21
  chain: Annotated[
23
- Optional[V1SkyPositionChain],
22
+ V1SkyPositionChain,
24
23
  FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
25
- ] = V1SkyPositionChain.ETHEREUM
24
+ ]
26
25
 
27
26
  user_address: Annotated[
28
27
  str, FieldMetadata(query=QueryParamMetadata(style="form", explode=True))
29
- ] = "0xa829B388A3DF7f581cE957a95edbe419dd146d1B"
28
+ ]
30
29
  r"""The user-address of the desired position."""
@@ -1,12 +1,10 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from .token_enum import TokenEnum
5
4
  from compass_api_sdk.types import BaseModel
6
5
  from compass_api_sdk.utils import FieldMetadata, QueryParamMetadata
7
6
  from enum import Enum
8
- from typing import Union
9
- from typing_extensions import Annotated, TypeAliasType, TypedDict
7
+ from typing_extensions import Annotated, TypedDict
10
8
 
11
9
 
12
10
  class V1TokenBalanceChain(str, Enum):
@@ -15,37 +13,26 @@ class V1TokenBalanceChain(str, Enum):
15
13
  ETHEREUM = "ethereum"
16
14
 
17
15
 
18
- V1TokenBalanceTokenTypedDict = TypeAliasType(
19
- "V1TokenBalanceTokenTypedDict", Union[TokenEnum, str]
20
- )
21
- r"""The symbol of the token for which the balance is checked.."""
22
-
23
-
24
- V1TokenBalanceToken = TypeAliasType("V1TokenBalanceToken", Union[TokenEnum, str])
25
- r"""The symbol of the token for which the balance is checked.."""
26
-
27
-
28
16
  class V1TokenBalanceRequestTypedDict(TypedDict):
29
- token: V1TokenBalanceTokenTypedDict
30
- r"""The symbol of the token for which the balance is checked.."""
31
17
  chain: V1TokenBalanceChain
32
18
  user: str
33
- r"""The user to get the ERC20 balance of."""
19
+ r"""The user to get the token balance of."""
20
+ token: str
21
+ r"""The symbol or address of the token for which the balance is checked."""
34
22
 
35
23
 
36
24
  class V1TokenBalanceRequest(BaseModel):
37
- token: Annotated[
38
- V1TokenBalanceToken,
39
- FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
40
- ]
41
- r"""The symbol of the token for which the balance is checked.."""
42
-
43
25
  chain: Annotated[
44
26
  V1TokenBalanceChain,
45
27
  FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
46
- ] = V1TokenBalanceChain.ARBITRUM
28
+ ]
47
29
 
48
30
  user: Annotated[
49
31
  str, FieldMetadata(query=QueryParamMetadata(style="form", explode=True))
50
- ] = "0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B"
51
- r"""The user to get the ERC20 balance of."""
32
+ ]
33
+ r"""The user to get the token balance of."""
34
+
35
+ token: Annotated[
36
+ str, FieldMetadata(query=QueryParamMetadata(style="form", explode=True))
37
+ ]
38
+ r"""The symbol or address of the token for which the balance is checked."""
@@ -7,18 +7,18 @@ from enum import Enum
7
7
  from typing_extensions import Annotated, TypedDict
8
8
 
9
9
 
10
- class V1GenericSupportedTokensChain(str, Enum):
10
+ class V1TokenListChain(str, Enum):
11
11
  ARBITRUM = "arbitrum"
12
12
  BASE = "base"
13
13
  ETHEREUM = "ethereum"
14
14
 
15
15
 
16
- class V1GenericSupportedTokensRequestTypedDict(TypedDict):
17
- chain: V1GenericSupportedTokensChain
16
+ class V1TokenListRequestTypedDict(TypedDict):
17
+ chain: V1TokenListChain
18
18
 
19
19
 
20
- class V1GenericSupportedTokensRequest(BaseModel):
20
+ class V1TokenListRequest(BaseModel):
21
21
  chain: Annotated[
22
- V1GenericSupportedTokensChain,
22
+ V1TokenListChain,
23
23
  FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
24
- ] = V1GenericSupportedTokensChain.ARBITRUM
24
+ ]
@@ -11,7 +11,6 @@ from compass_api_sdk.types import (
11
11
  from compass_api_sdk.utils import FieldMetadata, QueryParamMetadata
12
12
  from enum import Enum
13
13
  from pydantic import model_serializer
14
- from typing import Any
15
14
  from typing_extensions import Annotated, NotRequired, TypedDict
16
15
 
17
16
 
@@ -22,23 +21,23 @@ class V1TokenPriceChain(str, Enum):
22
21
 
23
22
 
24
23
  class V1TokenPriceRequestTypedDict(TypedDict):
25
- token: Any
26
- r"""The symbol or address of the token for which to get the price."""
27
24
  chain: V1TokenPriceChain
25
+ token: str
26
+ r"""The symbol or address of the token for which to get the price.."""
28
27
  block: NotRequired[Nullable[int]]
29
28
  r"""Optional block number (defaults to latest)."""
30
29
 
31
30
 
32
31
  class V1TokenPriceRequest(BaseModel):
33
- token: Annotated[
34
- Any, FieldMetadata(query=QueryParamMetadata(style="form", explode=True))
35
- ]
36
- r"""The symbol or address of the token for which to get the price."""
37
-
38
32
  chain: Annotated[
39
33
  V1TokenPriceChain,
40
34
  FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
41
- ] = V1TokenPriceChain.ETHEREUM
35
+ ]
36
+
37
+ token: Annotated[
38
+ str, FieldMetadata(query=QueryParamMetadata(style="form", explode=True))
39
+ ]
40
+ r"""The symbol or address of the token for which to get the price.."""
42
41
 
43
42
  block: Annotated[
44
43
  OptionalNullable[int],
@@ -1,27 +1,27 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from .batcheduseroperationsresponse import (
5
- BatchedUserOperationsResponse,
6
- BatchedUserOperationsResponseTypedDict,
7
- )
8
4
  from .bundlertransactionresponse import (
9
5
  BundlerTransactionResponse,
10
6
  BundlerTransactionResponseTypedDict,
11
7
  )
8
+ from .safetransactionresponse import (
9
+ SafeTransactionResponse,
10
+ SafeTransactionResponseTypedDict,
11
+ )
12
12
  from typing import Union
13
13
  from typing_extensions import TypeAliasType
14
14
 
15
15
 
16
16
  ResponseV1TransactionBundlerAaveLoopTypedDict = TypeAliasType(
17
17
  "ResponseV1TransactionBundlerAaveLoopTypedDict",
18
- Union[BundlerTransactionResponseTypedDict, BatchedUserOperationsResponseTypedDict],
18
+ Union[BundlerTransactionResponseTypedDict, SafeTransactionResponseTypedDict],
19
19
  )
20
20
  r"""Successful Response"""
21
21
 
22
22
 
23
23
  ResponseV1TransactionBundlerAaveLoop = TypeAliasType(
24
24
  "ResponseV1TransactionBundlerAaveLoop",
25
- Union[BundlerTransactionResponse, BatchedUserOperationsResponse],
25
+ Union[BundlerTransactionResponse, SafeTransactionResponse],
26
26
  )
27
27
  r"""Successful Response"""
@@ -23,9 +23,9 @@ class V1UniswapLiquidityProvisionInRangeRequest(BaseModel):
23
23
  chain: Annotated[
24
24
  V1UniswapLiquidityProvisionInRangeChain,
25
25
  FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
26
- ] = V1UniswapLiquidityProvisionInRangeChain.ARBITRUM
26
+ ]
27
27
 
28
28
  token_id: Annotated[
29
29
  int, FieldMetadata(query=QueryParamMetadata(style="form", explode=True))
30
- ] = 4318185
30
+ ]
31
31
  r"""Token ID of the NFT representing the liquidity provisioned position."""
@@ -24,10 +24,10 @@ class V1UniswapLiquidityProvisionPositionsRequest(BaseModel):
24
24
  chain: Annotated[
25
25
  V1UniswapLiquidityProvisionPositionsChain,
26
26
  FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
27
- ] = V1UniswapLiquidityProvisionPositionsChain.ARBITRUM
27
+ ]
28
28
 
29
29
  user: Annotated[
30
30
  Optional[str],
31
31
  FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
32
- ] = "0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B"
32
+ ] = None
33
33
  r"""The user to get positions for."""
@@ -13,160 +13,6 @@ class V1UniswapPoolPriceChain(str, Enum):
13
13
  ETHEREUM = "ethereum"
14
14
 
15
15
 
16
- class V1UniswapPoolPriceTokenInToken(str, Enum):
17
- r"""A class representing the token.
18
-
19
- This class is used to represent the token in the system. Notice individual
20
- endpoints' documentation where per chain tokens are presented.
21
- """
22
-
23
- ONE_INCH = "1INCH"
24
- AAVE = "AAVE"
25
- AERO = "AERO"
26
- ARB = "ARB"
27
- BAL = "BAL"
28
- BNKR = "BNKR"
29
- CB_BTC = "cbBTC"
30
- CB_ETH = "cbETH"
31
- CLANKER = "CLANKER"
32
- COPI = "COPI"
33
- CRV = "CRV"
34
- CRV_USD = "crvUSD"
35
- CYBER = "CYBER"
36
- DAI = "DAI"
37
- DOGINME = "DOGINME"
38
- E_BTC = "eBTC"
39
- ENS = "ENS"
40
- ETH = "ETH"
41
- ETHFI = "ETHFI"
42
- ET_HX = "ETHx"
43
- EURC = "EURC"
44
- EUR = "EUR"
45
- EURS = "EURS"
46
- E_US_DE = "eUSDe"
47
- EZ_ETH = "ezETH"
48
- FBTC = "FBTC"
49
- FRAX = "FRAX"
50
- FXS = "FXS"
51
- GHO = "GHO"
52
- KNC = "KNC"
53
- LBTC = "LBTC"
54
- LDO = "LDO"
55
- LINK = "LINK"
56
- LS_ETH = "LsETH"
57
- LUSD = "LUSD"
58
- MAI = "MAI"
59
- MKR = "MKR"
60
- OS_ETH = "osETH"
61
- PT_E_USDE_14_AUG2025 = "PT-eUSDE-14AUG2025"
62
- PT_E_USDE_29_MAY2025 = "PT-eUSDE-29MAY2025"
63
- PT_S_USDE_25_SEP2025 = "PT-sUSDE-25SEP2025"
64
- PT_S_USDE_31_JUL2025 = "PT-sUSDE-31JUL2025"
65
- PT_US_DE_31_JUL2025 = "PT-USDe-31JUL2025"
66
- PYUSD = "PYUSD"
67
- R_ETH = "rETH"
68
- RLUSD = "RLUSD"
69
- RPL = "RPL"
70
- RS_ETH = "rsETH"
71
- S_DAI = "sDAI"
72
- SNX = "SNX"
73
- STG = "STG"
74
- S_US_DE = "sUSDe"
75
- T_BTC = "tBTC"
76
- UNI = "UNI"
77
- US_DB_C = "USDbC"
78
- USD_CE = "USDCe"
79
- USDC = "USDC"
80
- US_DE = "USDe"
81
- USDS = "USDS"
82
- US_DTB = "USDtb"
83
- USDT = "USDT"
84
- VIRTUAL = "VIRTUAL"
85
- WBTC = "WBTC"
86
- WE_ETH = "weETH"
87
- WELL = "WELL"
88
- WETH = "WETH"
89
- WRS_ETH = "wrsETH"
90
- WST_ETH = "wstETH"
91
-
92
-
93
- class V1UniswapPoolPriceTokenOutToken(str, Enum):
94
- r"""A class representing the token.
95
-
96
- This class is used to represent the token in the system. Notice individual
97
- endpoints' documentation where per chain tokens are presented.
98
- """
99
-
100
- ONE_INCH = "1INCH"
101
- AAVE = "AAVE"
102
- AERO = "AERO"
103
- ARB = "ARB"
104
- BAL = "BAL"
105
- BNKR = "BNKR"
106
- CB_BTC = "cbBTC"
107
- CB_ETH = "cbETH"
108
- CLANKER = "CLANKER"
109
- COPI = "COPI"
110
- CRV = "CRV"
111
- CRV_USD = "crvUSD"
112
- CYBER = "CYBER"
113
- DAI = "DAI"
114
- DOGINME = "DOGINME"
115
- E_BTC = "eBTC"
116
- ENS = "ENS"
117
- ETH = "ETH"
118
- ETHFI = "ETHFI"
119
- ET_HX = "ETHx"
120
- EURC = "EURC"
121
- EUR = "EUR"
122
- EURS = "EURS"
123
- E_US_DE = "eUSDe"
124
- EZ_ETH = "ezETH"
125
- FBTC = "FBTC"
126
- FRAX = "FRAX"
127
- FXS = "FXS"
128
- GHO = "GHO"
129
- KNC = "KNC"
130
- LBTC = "LBTC"
131
- LDO = "LDO"
132
- LINK = "LINK"
133
- LS_ETH = "LsETH"
134
- LUSD = "LUSD"
135
- MAI = "MAI"
136
- MKR = "MKR"
137
- OS_ETH = "osETH"
138
- PT_E_USDE_14_AUG2025 = "PT-eUSDE-14AUG2025"
139
- PT_E_USDE_29_MAY2025 = "PT-eUSDE-29MAY2025"
140
- PT_S_USDE_25_SEP2025 = "PT-sUSDE-25SEP2025"
141
- PT_S_USDE_31_JUL2025 = "PT-sUSDE-31JUL2025"
142
- PT_US_DE_31_JUL2025 = "PT-USDe-31JUL2025"
143
- PYUSD = "PYUSD"
144
- R_ETH = "rETH"
145
- RLUSD = "RLUSD"
146
- RPL = "RPL"
147
- RS_ETH = "rsETH"
148
- S_DAI = "sDAI"
149
- SNX = "SNX"
150
- STG = "STG"
151
- S_US_DE = "sUSDe"
152
- T_BTC = "tBTC"
153
- UNI = "UNI"
154
- US_DB_C = "USDbC"
155
- USD_CE = "USDCe"
156
- USDC = "USDC"
157
- US_DE = "USDe"
158
- USDS = "USDS"
159
- US_DTB = "USDtb"
160
- USDT = "USDT"
161
- VIRTUAL = "VIRTUAL"
162
- WBTC = "WBTC"
163
- WE_ETH = "weETH"
164
- WELL = "WELL"
165
- WETH = "WETH"
166
- WRS_ETH = "wrsETH"
167
- WST_ETH = "wstETH"
168
-
169
-
170
16
  class V1UniswapPoolPriceFeeEnum(str, Enum):
171
17
  r"""The transaction fee of a Uniswap pool in bips.
172
18
 
@@ -181,10 +27,10 @@ class V1UniswapPoolPriceFeeEnum(str, Enum):
181
27
 
182
28
  class V1UniswapPoolPriceRequestTypedDict(TypedDict):
183
29
  chain: V1UniswapPoolPriceChain
184
- token_in: V1UniswapPoolPriceTokenInToken
185
- r"""The symbol of a token in the pool"""
186
- token_out: V1UniswapPoolPriceTokenOutToken
187
- r"""The symbol of a token in the pool"""
30
+ token_in: str
31
+ r"""The symbol or address of a token in the pool"""
32
+ token_out: str
33
+ r"""The symbol or address of a token in the pool"""
188
34
  fee: V1UniswapPoolPriceFeeEnum
189
35
  r"""The fee of the pool"""
190
36
 
@@ -193,22 +39,20 @@ class V1UniswapPoolPriceRequest(BaseModel):
193
39
  chain: Annotated[
194
40
  V1UniswapPoolPriceChain,
195
41
  FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
196
- ] = V1UniswapPoolPriceChain.ARBITRUM
42
+ ]
197
43
 
198
44
  token_in: Annotated[
199
- V1UniswapPoolPriceTokenInToken,
200
- FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
201
- ] = V1UniswapPoolPriceTokenInToken.USDC
202
- r"""The symbol of a token in the pool"""
45
+ str, FieldMetadata(query=QueryParamMetadata(style="form", explode=True))
46
+ ]
47
+ r"""The symbol or address of a token in the pool"""
203
48
 
204
49
  token_out: Annotated[
205
- V1UniswapPoolPriceTokenOutToken,
206
- FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
207
- ] = V1UniswapPoolPriceTokenOutToken.USDT
208
- r"""The symbol of a token in the pool"""
50
+ str, FieldMetadata(query=QueryParamMetadata(style="form", explode=True))
51
+ ]
52
+ r"""The symbol or address of a token in the pool"""
209
53
 
210
54
  fee: Annotated[
211
55
  V1UniswapPoolPriceFeeEnum,
212
56
  FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
213
- ] = V1UniswapPoolPriceFeeEnum.ZERO_DOT_01
57
+ ]
214
58
  r"""The fee of the pool"""
@@ -14,160 +14,6 @@ class V1UniswapQuoteBuyExactlyChain(str, Enum):
14
14
  ETHEREUM = "ethereum"
15
15
 
16
16
 
17
- class V1UniswapQuoteBuyExactlyTokenInToken(str, Enum):
18
- r"""A class representing the token.
19
-
20
- This class is used to represent the token in the system. Notice individual
21
- endpoints' documentation where per chain tokens are presented.
22
- """
23
-
24
- ONE_INCH = "1INCH"
25
- AAVE = "AAVE"
26
- AERO = "AERO"
27
- ARB = "ARB"
28
- BAL = "BAL"
29
- BNKR = "BNKR"
30
- CB_BTC = "cbBTC"
31
- CB_ETH = "cbETH"
32
- CLANKER = "CLANKER"
33
- COPI = "COPI"
34
- CRV = "CRV"
35
- CRV_USD = "crvUSD"
36
- CYBER = "CYBER"
37
- DAI = "DAI"
38
- DOGINME = "DOGINME"
39
- E_BTC = "eBTC"
40
- ENS = "ENS"
41
- ETH = "ETH"
42
- ETHFI = "ETHFI"
43
- ET_HX = "ETHx"
44
- EURC = "EURC"
45
- EUR = "EUR"
46
- EURS = "EURS"
47
- E_US_DE = "eUSDe"
48
- EZ_ETH = "ezETH"
49
- FBTC = "FBTC"
50
- FRAX = "FRAX"
51
- FXS = "FXS"
52
- GHO = "GHO"
53
- KNC = "KNC"
54
- LBTC = "LBTC"
55
- LDO = "LDO"
56
- LINK = "LINK"
57
- LS_ETH = "LsETH"
58
- LUSD = "LUSD"
59
- MAI = "MAI"
60
- MKR = "MKR"
61
- OS_ETH = "osETH"
62
- PT_E_USDE_14_AUG2025 = "PT-eUSDE-14AUG2025"
63
- PT_E_USDE_29_MAY2025 = "PT-eUSDE-29MAY2025"
64
- PT_S_USDE_25_SEP2025 = "PT-sUSDE-25SEP2025"
65
- PT_S_USDE_31_JUL2025 = "PT-sUSDE-31JUL2025"
66
- PT_US_DE_31_JUL2025 = "PT-USDe-31JUL2025"
67
- PYUSD = "PYUSD"
68
- R_ETH = "rETH"
69
- RLUSD = "RLUSD"
70
- RPL = "RPL"
71
- RS_ETH = "rsETH"
72
- S_DAI = "sDAI"
73
- SNX = "SNX"
74
- STG = "STG"
75
- S_US_DE = "sUSDe"
76
- T_BTC = "tBTC"
77
- UNI = "UNI"
78
- US_DB_C = "USDbC"
79
- USD_CE = "USDCe"
80
- USDC = "USDC"
81
- US_DE = "USDe"
82
- USDS = "USDS"
83
- US_DTB = "USDtb"
84
- USDT = "USDT"
85
- VIRTUAL = "VIRTUAL"
86
- WBTC = "WBTC"
87
- WE_ETH = "weETH"
88
- WELL = "WELL"
89
- WETH = "WETH"
90
- WRS_ETH = "wrsETH"
91
- WST_ETH = "wstETH"
92
-
93
-
94
- class V1UniswapQuoteBuyExactlyTokenOutToken(str, Enum):
95
- r"""A class representing the token.
96
-
97
- This class is used to represent the token in the system. Notice individual
98
- endpoints' documentation where per chain tokens are presented.
99
- """
100
-
101
- ONE_INCH = "1INCH"
102
- AAVE = "AAVE"
103
- AERO = "AERO"
104
- ARB = "ARB"
105
- BAL = "BAL"
106
- BNKR = "BNKR"
107
- CB_BTC = "cbBTC"
108
- CB_ETH = "cbETH"
109
- CLANKER = "CLANKER"
110
- COPI = "COPI"
111
- CRV = "CRV"
112
- CRV_USD = "crvUSD"
113
- CYBER = "CYBER"
114
- DAI = "DAI"
115
- DOGINME = "DOGINME"
116
- E_BTC = "eBTC"
117
- ENS = "ENS"
118
- ETH = "ETH"
119
- ETHFI = "ETHFI"
120
- ET_HX = "ETHx"
121
- EURC = "EURC"
122
- EUR = "EUR"
123
- EURS = "EURS"
124
- E_US_DE = "eUSDe"
125
- EZ_ETH = "ezETH"
126
- FBTC = "FBTC"
127
- FRAX = "FRAX"
128
- FXS = "FXS"
129
- GHO = "GHO"
130
- KNC = "KNC"
131
- LBTC = "LBTC"
132
- LDO = "LDO"
133
- LINK = "LINK"
134
- LS_ETH = "LsETH"
135
- LUSD = "LUSD"
136
- MAI = "MAI"
137
- MKR = "MKR"
138
- OS_ETH = "osETH"
139
- PT_E_USDE_14_AUG2025 = "PT-eUSDE-14AUG2025"
140
- PT_E_USDE_29_MAY2025 = "PT-eUSDE-29MAY2025"
141
- PT_S_USDE_25_SEP2025 = "PT-sUSDE-25SEP2025"
142
- PT_S_USDE_31_JUL2025 = "PT-sUSDE-31JUL2025"
143
- PT_US_DE_31_JUL2025 = "PT-USDe-31JUL2025"
144
- PYUSD = "PYUSD"
145
- R_ETH = "rETH"
146
- RLUSD = "RLUSD"
147
- RPL = "RPL"
148
- RS_ETH = "rsETH"
149
- S_DAI = "sDAI"
150
- SNX = "SNX"
151
- STG = "STG"
152
- S_US_DE = "sUSDe"
153
- T_BTC = "tBTC"
154
- UNI = "UNI"
155
- US_DB_C = "USDbC"
156
- USD_CE = "USDCe"
157
- USDC = "USDC"
158
- US_DE = "USDe"
159
- USDS = "USDS"
160
- US_DTB = "USDtb"
161
- USDT = "USDT"
162
- VIRTUAL = "VIRTUAL"
163
- WBTC = "WBTC"
164
- WE_ETH = "weETH"
165
- WELL = "WELL"
166
- WETH = "WETH"
167
- WRS_ETH = "wrsETH"
168
- WST_ETH = "wstETH"
169
-
170
-
171
17
  class V1UniswapQuoteBuyExactlyFeeEnum(str, Enum):
172
18
  r"""The transaction fee of a Uniswap pool in bips.
173
19
 
@@ -193,43 +39,41 @@ r"""The amount of the token to swap to"""
193
39
 
194
40
 
195
41
  class V1UniswapQuoteBuyExactlyRequestTypedDict(TypedDict):
196
- amount_out: V1UniswapQuoteBuyExactlyAmountOutTypedDict
197
- r"""The amount of the token to swap to"""
198
42
  chain: V1UniswapQuoteBuyExactlyChain
199
- token_in: V1UniswapQuoteBuyExactlyTokenInToken
200
- r"""The symbol of the token to swap from."""
201
- token_out: V1UniswapQuoteBuyExactlyTokenOutToken
202
- r"""The symbol of the token to swap to."""
43
+ token_in: str
44
+ r"""The symbol or address of the token to swap from."""
45
+ token_out: str
46
+ r"""The symbol or address of the token to swap to."""
203
47
  fee: V1UniswapQuoteBuyExactlyFeeEnum
204
48
  r"""The fee to pay for the swap"""
49
+ amount_out: V1UniswapQuoteBuyExactlyAmountOutTypedDict
50
+ r"""The amount of the token to swap to"""
205
51
 
206
52
 
207
53
  class V1UniswapQuoteBuyExactlyRequest(BaseModel):
208
- amount_out: Annotated[
209
- V1UniswapQuoteBuyExactlyAmountOut,
210
- FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
211
- ]
212
- r"""The amount of the token to swap to"""
213
-
214
54
  chain: Annotated[
215
55
  V1UniswapQuoteBuyExactlyChain,
216
56
  FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
217
- ] = V1UniswapQuoteBuyExactlyChain.ARBITRUM
57
+ ]
218
58
 
219
59
  token_in: Annotated[
220
- V1UniswapQuoteBuyExactlyTokenInToken,
221
- FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
222
- ] = V1UniswapQuoteBuyExactlyTokenInToken.USDC
223
- r"""The symbol of the token to swap from."""
60
+ str, FieldMetadata(query=QueryParamMetadata(style="form", explode=True))
61
+ ]
62
+ r"""The symbol or address of the token to swap from."""
224
63
 
225
64
  token_out: Annotated[
226
- V1UniswapQuoteBuyExactlyTokenOutToken,
227
- FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
228
- ] = V1UniswapQuoteBuyExactlyTokenOutToken.USDT
229
- r"""The symbol of the token to swap to."""
65
+ str, FieldMetadata(query=QueryParamMetadata(style="form", explode=True))
66
+ ]
67
+ r"""The symbol or address of the token to swap to."""
230
68
 
231
69
  fee: Annotated[
232
70
  V1UniswapQuoteBuyExactlyFeeEnum,
233
71
  FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
234
- ] = V1UniswapQuoteBuyExactlyFeeEnum.ZERO_DOT_01
72
+ ]
235
73
  r"""The fee to pay for the swap"""
74
+
75
+ amount_out: Annotated[
76
+ V1UniswapQuoteBuyExactlyAmountOut,
77
+ FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
78
+ ]
79
+ r"""The amount of the token to swap to"""