compass_api_sdk 0.2.0__py3-none-any.whl → 0.3.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of compass_api_sdk might be problematic. Click here for more details.

Files changed (195) hide show
  1. {compass_api_sdk-0.2.0.dist-info → compass_api_sdk-0.3.0.dist-info}/METADATA +34 -33
  2. compass_api_sdk-0.3.0.dist-info/RECORD +180 -0
  3. {compass_api_sdk → compassapisdk}/_hooks/sdkhooks.py +1 -1
  4. {compass_api_sdk → compassapisdk}/_hooks/types.py +1 -1
  5. {compass_api_sdk → compassapisdk}/_version.py +3 -3
  6. {compass_api_sdk → compassapisdk}/aave_v3.py +27 -27
  7. {compass_api_sdk → compassapisdk}/aerodrome_slipstream.py +11 -11
  8. {compass_api_sdk → compassapisdk}/basesdk.py +3 -3
  9. {compass_api_sdk → compassapisdk}/errors/httpvalidationerror.py +3 -3
  10. {compass_api_sdk → compassapisdk}/httpclient.py +7 -37
  11. {compass_api_sdk → compassapisdk}/models/__init__.py +46 -25
  12. {compass_api_sdk → compassapisdk}/models/aave_historical_transactionsop.py +8 -2
  13. {compass_api_sdk → compassapisdk}/models/aave_liquidity_changeop.py +8 -12
  14. {compass_api_sdk → compassapisdk}/models/aave_rateop.py +4 -12
  15. {compass_api_sdk → compassapisdk}/models/aave_reserve_overviewop.py +4 -12
  16. {compass_api_sdk → compassapisdk}/models/aave_token_priceop.py +4 -12
  17. {compass_api_sdk → compassapisdk}/models/aave_user_position_per_tokenop.py +6 -12
  18. {compass_api_sdk → compassapisdk}/models/aave_user_position_summaryop.py +4 -2
  19. {compass_api_sdk → compassapisdk}/models/aaveborrowparams.py +1 -1
  20. {compass_api_sdk → compassapisdk}/models/aaveborrowrequest.py +1 -1
  21. compassapisdk/models/aavehistoricaltransactionsresponse.py +65 -0
  22. {compass_api_sdk → compassapisdk}/models/aaveliquiditychangeresponse.py +1 -1
  23. compassapisdk/models/aavelooprequest.py +87 -0
  24. {compass_api_sdk → compassapisdk}/models/aaverateresponse.py +1 -1
  25. {compass_api_sdk → compassapisdk}/models/aaverepayparams.py +1 -1
  26. {compass_api_sdk → compassapisdk}/models/aaverepayrequest.py +1 -1
  27. {compass_api_sdk → compassapisdk}/models/aavereserveoverviewresponse.py +1 -1
  28. {compass_api_sdk → compassapisdk}/models/aavesupplyparams.py +1 -1
  29. {compass_api_sdk → compassapisdk}/models/aavesupplyrequest.py +1 -1
  30. {compass_api_sdk → compassapisdk}/models/aavetokenpriceresponse.py +1 -1
  31. {compass_api_sdk → compassapisdk}/models/aaveuserpositionpertokenresponse.py +1 -1
  32. {compass_api_sdk → compassapisdk}/models/aaveuserpositionsummaryresponse.py +1 -1
  33. {compass_api_sdk → compassapisdk}/models/aavewithdrawparams.py +1 -1
  34. {compass_api_sdk → compassapisdk}/models/aavewithdrawrequest.py +1 -1
  35. {compass_api_sdk → compassapisdk}/models/aerodrome_slipstream_liquidity_provision_positionsop.py +4 -2
  36. {compass_api_sdk → compassapisdk}/models/aerodrome_slipstream_pool_priceop.py +8 -22
  37. {compass_api_sdk → compassapisdk}/models/aerodromelppositionsresponse.py +1 -1
  38. {compass_api_sdk → compassapisdk}/models/aerodromeposition.py +1 -1
  39. {compass_api_sdk → compassapisdk}/models/aerodromeslipstreambuyexactlyparams.py +1 -1
  40. {compass_api_sdk → compassapisdk}/models/aerodromeslipstreambuyexactlyrequest.py +1 -1
  41. {compass_api_sdk → compassapisdk}/models/aerodromeslipstreamincreaseliquidityprovisionparams.py +1 -1
  42. {compass_api_sdk → compassapisdk}/models/aerodromeslipstreamincreaseliquidityprovisionrequest.py +1 -1
  43. {compass_api_sdk → compassapisdk}/models/aerodromeslipstreammintliquidityprovisionparams.py +1 -1
  44. {compass_api_sdk → compassapisdk}/models/aerodromeslipstreammintliquidityprovisionrequest.py +1 -1
  45. {compass_api_sdk → compassapisdk}/models/aerodromeslipstreampoolpriceresponse.py +1 -1
  46. {compass_api_sdk → compassapisdk}/models/aerodromeslipstreamsellexactlyparams.py +1 -1
  47. {compass_api_sdk → compassapisdk}/models/aerodromeslipstreamsellexactlyrequest.py +1 -1
  48. {compass_api_sdk → compassapisdk}/models/aerodromeslipstreamwithdrawliquidityprovisionparams.py +1 -1
  49. {compass_api_sdk → compassapisdk}/models/aerodromeslipstreamwithdrawliquidityprovisionrequest.py +1 -1
  50. {compass_api_sdk → compassapisdk}/models/allowanceinforesponse.py +1 -1
  51. compassapisdk/models/borrow.py +67 -0
  52. {compass_api_sdk → compassapisdk}/models/chaininfo.py +1 -1
  53. {compass_api_sdk → compassapisdk}/models/compass_api_backend_models_morpho_read_response_get_markets_asset.py +1 -1
  54. {compass_api_sdk → compassapisdk}/models/compass_api_backend_models_morpho_read_response_get_vaults_asset.py +1 -1
  55. {compass_api_sdk → compassapisdk}/models/ensnameinforesponse.py +1 -1
  56. {compass_api_sdk → compassapisdk}/models/generic_allowanceop.py +10 -12
  57. {compass_api_sdk → compassapisdk}/models/generic_ensop.py +4 -2
  58. {compass_api_sdk → compassapisdk}/models/generic_portfolioop.py +4 -2
  59. {compass_api_sdk → compassapisdk}/models/generic_supported_tokensop.py +2 -2
  60. {compass_api_sdk → compassapisdk}/models/generic_visualize_portfolioop.py +4 -2
  61. {compass_api_sdk → compassapisdk}/models/image.py +1 -1
  62. {compass_api_sdk → compassapisdk}/models/increaseallowanceanyparams.py +1 -1
  63. {compass_api_sdk → compassapisdk}/models/increaseallowanceparams.py +1 -1
  64. {compass_api_sdk → compassapisdk}/models/increaseallowancerequest.py +1 -1
  65. compassapisdk/models/liquidationcall.py +64 -0
  66. {compass_api_sdk → compassapisdk}/models/marketstate.py +1 -1
  67. {compass_api_sdk → compassapisdk}/models/morpho_market_positionop.py +11 -11
  68. {compass_api_sdk → compassapisdk}/models/morpho_marketsop.py +11 -11
  69. {compass_api_sdk → compassapisdk}/models/morpho_vault_positionop.py +11 -11
  70. {compass_api_sdk → compassapisdk}/models/morpho_vaultsop.py +22 -18
  71. {compass_api_sdk → compassapisdk}/models/morphoborrowrequest.py +9 -6
  72. {compass_api_sdk → compassapisdk}/models/morphocheckmarketpositionresponse.py +1 -1
  73. {compass_api_sdk → compassapisdk}/models/morphocheckvaultpositionresponse.py +1 -1
  74. {compass_api_sdk → compassapisdk}/models/morphodepositrequest.py +9 -6
  75. {compass_api_sdk → compassapisdk}/models/morphogetmarketsresponse.py +1 -1
  76. {compass_api_sdk → compassapisdk}/models/morphogetvaultsresponse.py +1 -1
  77. {compass_api_sdk → compassapisdk}/models/morphomarket.py +1 -1
  78. {compass_api_sdk → compassapisdk}/models/morphorepayrequest.py +9 -6
  79. {compass_api_sdk → compassapisdk}/models/morphosetvaultallowancerequest.py +9 -6
  80. {compass_api_sdk → compassapisdk}/models/morphosupplycollateralrequest.py +9 -6
  81. {compass_api_sdk → compassapisdk}/models/morphovault.py +1 -1
  82. {compass_api_sdk → compassapisdk}/models/morphowithdrawcollateralrequest.py +9 -6
  83. {compass_api_sdk → compassapisdk}/models/morphowithdrawrequest.py +9 -6
  84. {compass_api_sdk → compassapisdk}/models/multicallaction.py +1 -1
  85. {compass_api_sdk → compassapisdk}/models/multicallauthorizationrequest.py +1 -1
  86. {compass_api_sdk → compassapisdk}/models/multicallauthorizationresponse.py +1 -1
  87. {compass_api_sdk → compassapisdk}/models/multicallexecuterequest.py +1 -1
  88. {compass_api_sdk → compassapisdk}/models/portfolio.py +1 -1
  89. compassapisdk/models/redeemunderlying.py +48 -0
  90. compassapisdk/models/repay.py +52 -0
  91. compassapisdk/models/reserve.py +77 -0
  92. {compass_api_sdk → compassapisdk}/models/security.py +2 -2
  93. {compass_api_sdk → compassapisdk}/models/signedauthorization.py +1 -1
  94. {compass_api_sdk → compassapisdk}/models/sky_positionop.py +4 -2
  95. {compass_api_sdk → compassapisdk}/models/skybuyrequest.py +2 -2
  96. {compass_api_sdk → compassapisdk}/models/skycheckpositionresponse.py +1 -1
  97. {compass_api_sdk → compassapisdk}/models/skydepositrequest.py +2 -2
  98. {compass_api_sdk → compassapisdk}/models/skysellrequest.py +2 -2
  99. {compass_api_sdk → compassapisdk}/models/skywithdrawrequest.py +2 -2
  100. compassapisdk/models/supply.py +54 -0
  101. compassapisdk/models/swapborrowrate.py +56 -0
  102. {compass_api_sdk → compassapisdk}/models/token_addressop.py +4 -12
  103. {compass_api_sdk → compassapisdk}/models/token_balanceop.py +8 -2
  104. {compass_api_sdk → compassapisdk}/models/token_priceop.py +4 -12
  105. {compass_api_sdk → compassapisdk}/models/tokenaddressresponse.py +1 -1
  106. {compass_api_sdk → compassapisdk}/models/tokenbalance.py +1 -1
  107. {compass_api_sdk → compassapisdk}/models/tokenbalanceresponse.py +1 -1
  108. {compass_api_sdk → compassapisdk}/models/tokeninfo.py +1 -1
  109. {compass_api_sdk → compassapisdk}/models/tokenpriceresponse.py +1 -1
  110. {compass_api_sdk → compassapisdk}/models/tokentransfererc20params.py +1 -1
  111. {compass_api_sdk → compassapisdk}/models/tokentransferrequest.py +1 -1
  112. {compass_api_sdk → compassapisdk}/models/uniswap_liquidity_provision_in_rangeop.py +4 -2
  113. {compass_api_sdk → compassapisdk}/models/uniswap_liquidity_provision_positionsop.py +4 -2
  114. {compass_api_sdk → compassapisdk}/models/uniswap_pool_priceop.py +8 -30
  115. {compass_api_sdk → compassapisdk}/models/uniswap_quote_buy_exactlyop.py +12 -30
  116. {compass_api_sdk → compassapisdk}/models/uniswap_quote_sell_exactlyop.py +12 -30
  117. {compass_api_sdk → compassapisdk}/models/uniswapbuyexactlyparams.py +7 -7
  118. {compass_api_sdk → compassapisdk}/models/uniswapbuyexactlyrequest.py +7 -7
  119. {compass_api_sdk → compassapisdk}/models/uniswapbuyquoteinforesponse.py +1 -1
  120. {compass_api_sdk → compassapisdk}/models/uniswapcheckinrangeresponse.py +1 -1
  121. {compass_api_sdk → compassapisdk}/models/uniswapincreaseliquidityprovisionparams.py +1 -1
  122. {compass_api_sdk → compassapisdk}/models/uniswapincreaseliquidityprovisionrequest.py +1 -1
  123. {compass_api_sdk → compassapisdk}/models/uniswaplppositionsinforesponse.py +1 -1
  124. {compass_api_sdk → compassapisdk}/models/uniswapmintliquidityprovisionparams.py +1 -1
  125. {compass_api_sdk → compassapisdk}/models/uniswapmintliquidityprovisionrequest.py +1 -1
  126. {compass_api_sdk → compassapisdk}/models/uniswappoolpriceresponse.py +1 -1
  127. {compass_api_sdk → compassapisdk}/models/uniswappositionssolidityresponse.py +1 -1
  128. {compass_api_sdk → compassapisdk}/models/uniswapsellexactlyparams.py +1 -1
  129. {compass_api_sdk → compassapisdk}/models/uniswapsellexactlyrequest.py +1 -1
  130. {compass_api_sdk → compassapisdk}/models/uniswapsellquoteinforesponse.py +1 -1
  131. {compass_api_sdk → compassapisdk}/models/uniswapwithdrawliquidityprovisionparams.py +1 -1
  132. {compass_api_sdk → compassapisdk}/models/uniswapwithdrawliquidityprovisionrequest.py +1 -1
  133. {compass_api_sdk → compassapisdk}/models/unsignedmulticalltransaction.py +1 -1
  134. {compass_api_sdk → compassapisdk}/models/unsignedtransaction.py +1 -1
  135. {compass_api_sdk → compassapisdk}/models/unwrapwethparams.py +1 -1
  136. {compass_api_sdk → compassapisdk}/models/unwrapwethrequest.py +1 -1
  137. compassapisdk/models/usageascollateral.py +53 -0
  138. {compass_api_sdk → compassapisdk}/models/validationerror.py +1 -1
  139. {compass_api_sdk → compassapisdk}/models/vaultstate.py +1 -1
  140. {compass_api_sdk → compassapisdk}/models/weeklyapys.py +1 -1
  141. {compass_api_sdk → compassapisdk}/models/wrapethparams.py +1 -1
  142. {compass_api_sdk → compassapisdk}/models/wrapethrequest.py +1 -1
  143. {compass_api_sdk → compassapisdk}/morpho.py +79 -63
  144. {compass_api_sdk → compassapisdk}/sdk.py +11 -11
  145. {compass_api_sdk → compassapisdk}/sdkconfiguration.py +2 -2
  146. {compass_api_sdk → compassapisdk}/sky.py +5 -5
  147. {compass_api_sdk → compassapisdk}/token_sdk.py +11 -11
  148. {compass_api_sdk → compassapisdk}/transaction_batching.py +287 -3
  149. {compass_api_sdk → compassapisdk}/uniswap_v3.py +39 -39
  150. {compass_api_sdk → compassapisdk}/universal.py +15 -15
  151. compass_api_sdk/_hooks/registration.py +0 -13
  152. compass_api_sdk/models/aavehistoricaltransactionbase.py +0 -113
  153. compass_api_sdk/models/aavehistoricaltransactionsresponse.py +0 -31
  154. compass_api_sdk/models/action.py +0 -14
  155. compass_api_sdk/models/borrow.py +0 -33
  156. compass_api_sdk/models/collateralreserve.py +0 -16
  157. compass_api_sdk/models/liquidationcall.py +0 -37
  158. compass_api_sdk/models/principalreserve.py +0 -16
  159. compass_api_sdk/models/redeemunderlying.py +0 -21
  160. compass_api_sdk/models/repay.py +0 -21
  161. compass_api_sdk/models/reserve.py +0 -16
  162. compass_api_sdk/models/supply.py +0 -21
  163. compass_api_sdk/models/swapborrowrate.py +0 -27
  164. compass_api_sdk/models/usageascollateral.py +0 -21
  165. compass_api_sdk-0.2.0.dist-info/RECORD +0 -184
  166. {compass_api_sdk-0.2.0.dist-info → compass_api_sdk-0.3.0.dist-info}/WHEEL +0 -0
  167. {compass_api_sdk → compassapisdk}/__init__.py +0 -0
  168. {compass_api_sdk → compassapisdk}/_hooks/__init__.py +0 -0
  169. {compass_api_sdk → compassapisdk}/errors/__init__.py +0 -0
  170. {compass_api_sdk → compassapisdk}/errors/apierror.py +0 -0
  171. {compass_api_sdk → compassapisdk}/models/chain.py +0 -0
  172. {compass_api_sdk → compassapisdk}/models/contractname.py +0 -0
  173. {compass_api_sdk → compassapisdk}/models/feeenum.py +0 -0
  174. {compass_api_sdk → compassapisdk}/models/interestratemode.py +0 -0
  175. {compass_api_sdk → compassapisdk}/models/multicallactiontype.py +0 -0
  176. {compass_api_sdk → compassapisdk}/models/token_enum.py +0 -0
  177. {compass_api_sdk → compassapisdk}/py.typed +0 -0
  178. {compass_api_sdk → compassapisdk}/types/__init__.py +0 -0
  179. {compass_api_sdk → compassapisdk}/types/basemodel.py +0 -0
  180. {compass_api_sdk → compassapisdk}/utils/__init__.py +0 -0
  181. {compass_api_sdk → compassapisdk}/utils/annotations.py +0 -0
  182. {compass_api_sdk → compassapisdk}/utils/datetimes.py +0 -0
  183. {compass_api_sdk → compassapisdk}/utils/enums.py +0 -0
  184. {compass_api_sdk → compassapisdk}/utils/eventstreaming.py +0 -0
  185. {compass_api_sdk → compassapisdk}/utils/forms.py +0 -0
  186. {compass_api_sdk → compassapisdk}/utils/headers.py +0 -0
  187. {compass_api_sdk → compassapisdk}/utils/logger.py +0 -0
  188. {compass_api_sdk → compassapisdk}/utils/metadata.py +0 -0
  189. {compass_api_sdk → compassapisdk}/utils/queryparams.py +0 -0
  190. {compass_api_sdk → compassapisdk}/utils/requestbodies.py +0 -0
  191. {compass_api_sdk → compassapisdk}/utils/retries.py +0 -0
  192. {compass_api_sdk → compassapisdk}/utils/security.py +0 -0
  193. {compass_api_sdk → compassapisdk}/utils/serializers.py +0 -0
  194. {compass_api_sdk → compassapisdk}/utils/url.py +0 -0
  195. {compass_api_sdk → compassapisdk}/utils/values.py +0 -0
@@ -1,9 +1,9 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from .basesdk import BaseSDK
4
- from compass_api_sdk import errors, models, utils
5
- from compass_api_sdk._hooks import HookContext
6
- from compass_api_sdk.types import Nullable, OptionalNullable, UNSET
4
+ from compassapisdk import errors, models, utils
5
+ from compassapisdk._hooks import HookContext
6
+ from compassapisdk.types import OptionalNullable, UNSET
7
7
  from typing import Any, Mapping, Optional, Union
8
8
 
9
9
 
@@ -11,8 +11,10 @@ class Morpho(BaseSDK):
11
11
  def vaults(
12
12
  self,
13
13
  *,
14
- chain: models.MorphoVaultsChain = models.MorphoVaultsChain.ETHEREUM_MAINNET,
15
- deposit_token: Nullable[str],
14
+ chain: Optional[
15
+ models.MorphoVaultsChain
16
+ ] = models.MorphoVaultsChain.ETHEREUM_MAINNET,
17
+ deposit_token: OptionalNullable[str] = UNSET,
16
18
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
17
19
  server_url: Optional[str] = None,
18
20
  timeout_ms: Optional[int] = None,
@@ -26,8 +28,8 @@ class Morpho(BaseSDK):
26
28
  tokens into a vault you receive shares. You earn yield on these shares by their
27
29
  exchange value increasing over time.
28
30
 
29
- :param chain: The chain to use.
30
- :param deposit_token:
31
+ :param chain:
32
+ :param deposit_token: Token address that will filter vaults by this deposit token.
31
33
  :param retries: Override the default retry configuration for this method
32
34
  :param server_url: Override the default server URL for this method
33
35
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -115,8 +117,10 @@ class Morpho(BaseSDK):
115
117
  async def vaults_async(
116
118
  self,
117
119
  *,
118
- chain: models.MorphoVaultsChain = models.MorphoVaultsChain.ETHEREUM_MAINNET,
119
- deposit_token: Nullable[str],
120
+ chain: Optional[
121
+ models.MorphoVaultsChain
122
+ ] = models.MorphoVaultsChain.ETHEREUM_MAINNET,
123
+ deposit_token: OptionalNullable[str] = UNSET,
120
124
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
121
125
  server_url: Optional[str] = None,
122
126
  timeout_ms: Optional[int] = None,
@@ -130,8 +134,8 @@ class Morpho(BaseSDK):
130
134
  tokens into a vault you receive shares. You earn yield on these shares by their
131
135
  exchange value increasing over time.
132
136
 
133
- :param chain: The chain to use.
134
- :param deposit_token:
137
+ :param chain:
138
+ :param deposit_token: Token address that will filter vaults by this deposit token.
135
139
  :param retries: Override the default retry configuration for this method
136
140
  :param server_url: Override the default server URL for this method
137
141
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -219,9 +223,11 @@ class Morpho(BaseSDK):
219
223
  def vault_position(
220
224
  self,
221
225
  *,
222
- chain: models.MorphoVaultPositionChain = models.MorphoVaultPositionChain.ETHEREUM_MAINNET,
223
226
  user_address: str = "0xa829B388A3DF7f581cE957a95edbe419dd146d1B",
224
227
  vault_address: str = "0xbEef047a543E45807105E51A8BBEFCc5950fcfBa",
228
+ chain: Optional[
229
+ models.MorphoVaultPositionChain
230
+ ] = models.MorphoVaultPositionChain.ETHEREUM_MAINNET,
225
231
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
226
232
  server_url: Optional[str] = None,
227
233
  timeout_ms: Optional[int] = None,
@@ -232,9 +238,9 @@ class Morpho(BaseSDK):
232
238
  Check how many shares you own and the equivalent token amount of a given
233
239
  vault.
234
240
 
235
- :param chain: The chain to use.
236
- :param user_address:
237
- :param vault_address:
241
+ :param user_address: The user address of the desired vault position.
242
+ :param vault_address: The vault address of the desired vault position.
243
+ :param chain:
238
244
  :param retries: Override the default retry configuration for this method
239
245
  :param server_url: Override the default server URL for this method
240
246
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -325,9 +331,11 @@ class Morpho(BaseSDK):
325
331
  async def vault_position_async(
326
332
  self,
327
333
  *,
328
- chain: models.MorphoVaultPositionChain = models.MorphoVaultPositionChain.ETHEREUM_MAINNET,
329
334
  user_address: str = "0xa829B388A3DF7f581cE957a95edbe419dd146d1B",
330
335
  vault_address: str = "0xbEef047a543E45807105E51A8BBEFCc5950fcfBa",
336
+ chain: Optional[
337
+ models.MorphoVaultPositionChain
338
+ ] = models.MorphoVaultPositionChain.ETHEREUM_MAINNET,
331
339
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
332
340
  server_url: Optional[str] = None,
333
341
  timeout_ms: Optional[int] = None,
@@ -338,9 +346,9 @@ class Morpho(BaseSDK):
338
346
  Check how many shares you own and the equivalent token amount of a given
339
347
  vault.
340
348
 
341
- :param chain: The chain to use.
342
- :param user_address:
343
- :param vault_address:
349
+ :param user_address: The user address of the desired vault position.
350
+ :param vault_address: The vault address of the desired vault position.
351
+ :param chain:
344
352
  :param retries: Override the default retry configuration for this method
345
353
  :param server_url: Override the default server URL for this method
346
354
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -431,7 +439,9 @@ class Morpho(BaseSDK):
431
439
  def markets(
432
440
  self,
433
441
  *,
434
- chain: models.MorphoMarketsChain = models.MorphoMarketsChain.ETHEREUM_MAINNET,
442
+ chain: Optional[
443
+ models.MorphoMarketsChain
444
+ ] = models.MorphoMarketsChain.ETHEREUM_MAINNET,
435
445
  collateral_token: OptionalNullable[str] = UNSET,
436
446
  loan_token: OptionalNullable[str] = UNSET,
437
447
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
@@ -446,9 +456,9 @@ class Morpho(BaseSDK):
446
456
  Each market has one unique token that can be borrowed against one unique token that
447
457
  can be used as collateral.
448
458
 
449
- :param chain: The chain to use.
450
- :param collateral_token:
451
- :param loan_token:
459
+ :param chain:
460
+ :param collateral_token: Collateral token to identify the market.
461
+ :param loan_token: Loan token to identify the market.
452
462
  :param retries: Override the default retry configuration for this method
453
463
  :param server_url: Override the default server URL for this method
454
464
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -537,7 +547,9 @@ class Morpho(BaseSDK):
537
547
  async def markets_async(
538
548
  self,
539
549
  *,
540
- chain: models.MorphoMarketsChain = models.MorphoMarketsChain.ETHEREUM_MAINNET,
550
+ chain: Optional[
551
+ models.MorphoMarketsChain
552
+ ] = models.MorphoMarketsChain.ETHEREUM_MAINNET,
541
553
  collateral_token: OptionalNullable[str] = UNSET,
542
554
  loan_token: OptionalNullable[str] = UNSET,
543
555
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
@@ -552,9 +564,9 @@ class Morpho(BaseSDK):
552
564
  Each market has one unique token that can be borrowed against one unique token that
553
565
  can be used as collateral.
554
566
 
555
- :param chain: The chain to use.
556
- :param collateral_token:
557
- :param loan_token:
567
+ :param chain:
568
+ :param collateral_token: Collateral token to identify the market.
569
+ :param loan_token: Loan token to identify the market.
558
570
  :param retries: Override the default retry configuration for this method
559
571
  :param server_url: Override the default server URL for this method
560
572
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -643,9 +655,11 @@ class Morpho(BaseSDK):
643
655
  def market_position(
644
656
  self,
645
657
  *,
646
- chain: models.MorphoMarketPositionChain = models.MorphoMarketPositionChain.ETHEREUM_MAINNET,
647
658
  user_address: str = "0xa829B388A3DF7f581cE957a95edbe419dd146d1B",
648
659
  unique_market_key: str = "0xe7399fdebc318d76dfec7356caafcf8cd4b91287e139a3ec423f09aeeb656fc4",
660
+ chain: Optional[
661
+ models.MorphoMarketPositionChain
662
+ ] = models.MorphoMarketPositionChain.ETHEREUM_MAINNET,
649
663
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
650
664
  server_url: Optional[str] = None,
651
665
  timeout_ms: Optional[int] = None,
@@ -656,9 +670,9 @@ class Morpho(BaseSDK):
656
670
  Check how many shares you've borrowed and the equivalent token amount of a given
657
671
  market.
658
672
 
659
- :param chain: The chain to use.
660
- :param user_address:
661
- :param unique_market_key:
673
+ :param user_address: The user address of the desired market position.
674
+ :param unique_market_key: The key that uniquely identifies the market. This can be found using the 'Get Markets' endpoint.
675
+ :param chain:
662
676
  :param retries: Override the default retry configuration for this method
663
677
  :param server_url: Override the default server URL for this method
664
678
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -749,9 +763,11 @@ class Morpho(BaseSDK):
749
763
  async def market_position_async(
750
764
  self,
751
765
  *,
752
- chain: models.MorphoMarketPositionChain = models.MorphoMarketPositionChain.ETHEREUM_MAINNET,
753
766
  user_address: str = "0xa829B388A3DF7f581cE957a95edbe419dd146d1B",
754
767
  unique_market_key: str = "0xe7399fdebc318d76dfec7356caafcf8cd4b91287e139a3ec423f09aeeb656fc4",
768
+ chain: Optional[
769
+ models.MorphoMarketPositionChain
770
+ ] = models.MorphoMarketPositionChain.ETHEREUM_MAINNET,
755
771
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
756
772
  server_url: Optional[str] = None,
757
773
  timeout_ms: Optional[int] = None,
@@ -762,9 +778,9 @@ class Morpho(BaseSDK):
762
778
  Check how many shares you've borrowed and the equivalent token amount of a given
763
779
  market.
764
780
 
765
- :param chain: The chain to use.
766
- :param user_address:
767
- :param unique_market_key:
781
+ :param user_address: The user address of the desired market position.
782
+ :param unique_market_key: The key that uniquely identifies the market. This can be found using the 'Get Markets' endpoint.
783
+ :param chain:
768
784
  :param retries: Override the default retry configuration for this method
769
785
  :param server_url: Override the default server URL for this method
770
786
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -860,7 +876,7 @@ class Morpho(BaseSDK):
860
876
  models.MorphoSetVaultAllowanceRequestAmount,
861
877
  models.MorphoSetVaultAllowanceRequestAmountTypedDict,
862
878
  ],
863
- chain: models.Chain,
879
+ chain: models.MorphoSetVaultAllowanceRequestChain,
864
880
  sender: str,
865
881
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
866
882
  server_url: Optional[str] = None,
@@ -877,7 +893,7 @@ class Morpho(BaseSDK):
877
893
 
878
894
  :param vault_address: The vault address you are increasing the allowance for.
879
895
  :param amount: The amount of tokens to increase the allowance by.
880
- :param chain: The chain to use.
896
+ :param chain:
881
897
  :param sender: The address of the transaction sender.
882
898
  :param retries: Override the default retry configuration for this method
883
899
  :param server_url: Override the default server URL for this method
@@ -976,7 +992,7 @@ class Morpho(BaseSDK):
976
992
  models.MorphoSetVaultAllowanceRequestAmount,
977
993
  models.MorphoSetVaultAllowanceRequestAmountTypedDict,
978
994
  ],
979
- chain: models.Chain,
995
+ chain: models.MorphoSetVaultAllowanceRequestChain,
980
996
  sender: str,
981
997
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
982
998
  server_url: Optional[str] = None,
@@ -993,7 +1009,7 @@ class Morpho(BaseSDK):
993
1009
 
994
1010
  :param vault_address: The vault address you are increasing the allowance for.
995
1011
  :param amount: The amount of tokens to increase the allowance by.
996
- :param chain: The chain to use.
1012
+ :param chain:
997
1013
  :param sender: The address of the transaction sender.
998
1014
  :param retries: Override the default retry configuration for this method
999
1015
  :param server_url: Override the default server URL for this method
@@ -1092,7 +1108,7 @@ class Morpho(BaseSDK):
1092
1108
  models.MorphoDepositRequestAmount,
1093
1109
  models.MorphoDepositRequestAmountTypedDict,
1094
1110
  ],
1095
- chain: models.Chain,
1111
+ chain: models.MorphoDepositRequestChain,
1096
1112
  sender: str,
1097
1113
  receiver: OptionalNullable[str] = UNSET,
1098
1114
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
@@ -1116,7 +1132,7 @@ class Morpho(BaseSDK):
1116
1132
 
1117
1133
  :param vault_address: The vault address you are depositing to.
1118
1134
  :param amount: The amount of tokens to deposit into the vault.
1119
- :param chain: The chain to use.
1135
+ :param chain:
1120
1136
  :param sender: The address of the transaction sender.
1121
1137
  :param receiver: The address which will receive the shares from the vault representing their proportional ownership of the vault's assets. Defaults to the sender.
1122
1138
  :param retries: Override the default retry configuration for this method
@@ -1217,7 +1233,7 @@ class Morpho(BaseSDK):
1217
1233
  models.MorphoDepositRequestAmount,
1218
1234
  models.MorphoDepositRequestAmountTypedDict,
1219
1235
  ],
1220
- chain: models.Chain,
1236
+ chain: models.MorphoDepositRequestChain,
1221
1237
  sender: str,
1222
1238
  receiver: OptionalNullable[str] = UNSET,
1223
1239
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
@@ -1241,7 +1257,7 @@ class Morpho(BaseSDK):
1241
1257
 
1242
1258
  :param vault_address: The vault address you are depositing to.
1243
1259
  :param amount: The amount of tokens to deposit into the vault.
1244
- :param chain: The chain to use.
1260
+ :param chain:
1245
1261
  :param sender: The address of the transaction sender.
1246
1262
  :param receiver: The address which will receive the shares from the vault representing their proportional ownership of the vault's assets. Defaults to the sender.
1247
1263
  :param retries: Override the default retry configuration for this method
@@ -1339,7 +1355,7 @@ class Morpho(BaseSDK):
1339
1355
  *,
1340
1356
  vault_address: str,
1341
1357
  amount: Any,
1342
- chain: models.Chain,
1358
+ chain: models.MorphoWithdrawRequestChain,
1343
1359
  sender: str,
1344
1360
  receiver: OptionalNullable[str] = UNSET,
1345
1361
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
@@ -1363,7 +1379,7 @@ class Morpho(BaseSDK):
1363
1379
 
1364
1380
  :param vault_address: The vault address you are withdrawing from.
1365
1381
  :param amount: The amount of tokens to withdraw from the vault. If set to 'ALL', your total deposited token amount will be withdrawn.
1366
- :param chain: The chain to use.
1382
+ :param chain:
1367
1383
  :param sender: The address of the transaction sender.
1368
1384
  :param receiver: The address which will receive the tokens withdrawn. Defaults to the sender.
1369
1385
  :param retries: Override the default retry configuration for this method
@@ -1461,7 +1477,7 @@ class Morpho(BaseSDK):
1461
1477
  *,
1462
1478
  vault_address: str,
1463
1479
  amount: Any,
1464
- chain: models.Chain,
1480
+ chain: models.MorphoWithdrawRequestChain,
1465
1481
  sender: str,
1466
1482
  receiver: OptionalNullable[str] = UNSET,
1467
1483
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
@@ -1485,7 +1501,7 @@ class Morpho(BaseSDK):
1485
1501
 
1486
1502
  :param vault_address: The vault address you are withdrawing from.
1487
1503
  :param amount: The amount of tokens to withdraw from the vault. If set to 'ALL', your total deposited token amount will be withdrawn.
1488
- :param chain: The chain to use.
1504
+ :param chain:
1489
1505
  :param sender: The address of the transaction sender.
1490
1506
  :param receiver: The address which will receive the tokens withdrawn. Defaults to the sender.
1491
1507
  :param retries: Override the default retry configuration for this method
@@ -1586,7 +1602,7 @@ class Morpho(BaseSDK):
1586
1602
  models.MorphoSupplyCollateralRequestAmountTypedDict,
1587
1603
  ],
1588
1604
  unique_market_key: str,
1589
- chain: models.Chain,
1605
+ chain: models.MorphoSupplyCollateralRequestChain,
1590
1606
  sender: str,
1591
1607
  on_behalf_of: OptionalNullable[str] = UNSET,
1592
1608
  callback_data: OptionalNullable[bytes] = UNSET,
@@ -1606,7 +1622,7 @@ class Morpho(BaseSDK):
1606
1622
 
1607
1623
  :param amount: Amount of the token to supply to the market as collateral.
1608
1624
  :param unique_market_key: The key that uniquely identifies the market. This can be found using the 'Get Markets' endpoint.
1609
- :param chain: The chain to use.
1625
+ :param chain:
1610
1626
  :param sender: The address of the transaction sender.
1611
1627
  :param on_behalf_of: The address on behalf of whom the supplied collateral is made. Defaults to sender.
1612
1628
  :param callback_data: An optional field for callback byte data that will be triggered upon successful supplying of collateral.
@@ -1709,7 +1725,7 @@ class Morpho(BaseSDK):
1709
1725
  models.MorphoSupplyCollateralRequestAmountTypedDict,
1710
1726
  ],
1711
1727
  unique_market_key: str,
1712
- chain: models.Chain,
1728
+ chain: models.MorphoSupplyCollateralRequestChain,
1713
1729
  sender: str,
1714
1730
  on_behalf_of: OptionalNullable[str] = UNSET,
1715
1731
  callback_data: OptionalNullable[bytes] = UNSET,
@@ -1729,7 +1745,7 @@ class Morpho(BaseSDK):
1729
1745
 
1730
1746
  :param amount: Amount of the token to supply to the market as collateral.
1731
1747
  :param unique_market_key: The key that uniquely identifies the market. This can be found using the 'Get Markets' endpoint.
1732
- :param chain: The chain to use.
1748
+ :param chain:
1733
1749
  :param sender: The address of the transaction sender.
1734
1750
  :param on_behalf_of: The address on behalf of whom the supplied collateral is made. Defaults to sender.
1735
1751
  :param callback_data: An optional field for callback byte data that will be triggered upon successful supplying of collateral.
@@ -1832,7 +1848,7 @@ class Morpho(BaseSDK):
1832
1848
  models.MorphoWithdrawCollateralRequestAmountTypedDict,
1833
1849
  ],
1834
1850
  unique_market_key: str,
1835
- chain: models.Chain,
1851
+ chain: models.MorphoWithdrawCollateralRequestChain,
1836
1852
  sender: str,
1837
1853
  on_behalf_of: OptionalNullable[str] = UNSET,
1838
1854
  receiver: OptionalNullable[str] = UNSET,
@@ -1852,7 +1868,7 @@ class Morpho(BaseSDK):
1852
1868
 
1853
1869
  :param amount: Amount of the token to supply to the market as collateral.
1854
1870
  :param unique_market_key: The key that uniquely identifies the market. This can be found using the 'Get Markets' endpoint.
1855
- :param chain: The chain to use.
1871
+ :param chain:
1856
1872
  :param sender: The address of the transaction sender.
1857
1873
  :param on_behalf_of: The address on behalf of whom the withdraw is made. Defaults to sender.
1858
1874
  :param receiver: The address where the withdrawn collateral will be received. Defaults to sender.
@@ -1955,7 +1971,7 @@ class Morpho(BaseSDK):
1955
1971
  models.MorphoWithdrawCollateralRequestAmountTypedDict,
1956
1972
  ],
1957
1973
  unique_market_key: str,
1958
- chain: models.Chain,
1974
+ chain: models.MorphoWithdrawCollateralRequestChain,
1959
1975
  sender: str,
1960
1976
  on_behalf_of: OptionalNullable[str] = UNSET,
1961
1977
  receiver: OptionalNullable[str] = UNSET,
@@ -1975,7 +1991,7 @@ class Morpho(BaseSDK):
1975
1991
 
1976
1992
  :param amount: Amount of the token to supply to the market as collateral.
1977
1993
  :param unique_market_key: The key that uniquely identifies the market. This can be found using the 'Get Markets' endpoint.
1978
- :param chain: The chain to use.
1994
+ :param chain:
1979
1995
  :param sender: The address of the transaction sender.
1980
1996
  :param on_behalf_of: The address on behalf of whom the withdraw is made. Defaults to sender.
1981
1997
  :param receiver: The address where the withdrawn collateral will be received. Defaults to sender.
@@ -2077,7 +2093,7 @@ class Morpho(BaseSDK):
2077
2093
  models.MorphoBorrowRequestAmount, models.MorphoBorrowRequestAmountTypedDict
2078
2094
  ],
2079
2095
  unique_market_key: str,
2080
- chain: models.Chain,
2096
+ chain: models.MorphoBorrowRequestChain,
2081
2097
  sender: str,
2082
2098
  on_behalf_of: OptionalNullable[str] = UNSET,
2083
2099
  receiver: OptionalNullable[str] = UNSET,
@@ -2100,7 +2116,7 @@ class Morpho(BaseSDK):
2100
2116
 
2101
2117
  :param amount: Amount of the token to borrow from the market.
2102
2118
  :param unique_market_key: The key that uniquely identifies the market. This can be found using the 'Get Markets' endpoint.
2103
- :param chain: The chain to use.
2119
+ :param chain:
2104
2120
  :param sender: The address of the transaction sender.
2105
2121
  :param on_behalf_of: The address where the collateral is borrowed against. Defaults to sender.
2106
2122
  :param receiver: The address of the receiver of the tokens borrowed. Defaults to the transaction sender.
@@ -2202,7 +2218,7 @@ class Morpho(BaseSDK):
2202
2218
  models.MorphoBorrowRequestAmount, models.MorphoBorrowRequestAmountTypedDict
2203
2219
  ],
2204
2220
  unique_market_key: str,
2205
- chain: models.Chain,
2221
+ chain: models.MorphoBorrowRequestChain,
2206
2222
  sender: str,
2207
2223
  on_behalf_of: OptionalNullable[str] = UNSET,
2208
2224
  receiver: OptionalNullable[str] = UNSET,
@@ -2225,7 +2241,7 @@ class Morpho(BaseSDK):
2225
2241
 
2226
2242
  :param amount: Amount of the token to borrow from the market.
2227
2243
  :param unique_market_key: The key that uniquely identifies the market. This can be found using the 'Get Markets' endpoint.
2228
- :param chain: The chain to use.
2244
+ :param chain:
2229
2245
  :param sender: The address of the transaction sender.
2230
2246
  :param on_behalf_of: The address where the collateral is borrowed against. Defaults to sender.
2231
2247
  :param receiver: The address of the receiver of the tokens borrowed. Defaults to the transaction sender.
@@ -2325,7 +2341,7 @@ class Morpho(BaseSDK):
2325
2341
  *,
2326
2342
  amount: Any,
2327
2343
  unique_market_key: str,
2328
- chain: models.Chain,
2344
+ chain: models.MorphoRepayRequestChain,
2329
2345
  sender: str,
2330
2346
  on_behalf_of: OptionalNullable[str] = UNSET,
2331
2347
  callback_data: OptionalNullable[bytes] = UNSET,
@@ -2345,7 +2361,7 @@ class Morpho(BaseSDK):
2345
2361
 
2346
2362
  :param amount: Amount of the token to repay to the market. If set to 'ALL', all debt plus interest will be paid back if the user has a sufficient token balance in their wallet.
2347
2363
  :param unique_market_key: The key that uniquely identifies the market. This can be found using the 'Get Markets' endpoint.
2348
- :param chain: The chain to use.
2364
+ :param chain:
2349
2365
  :param sender: The address of the transaction sender.
2350
2366
  :param on_behalf_of: The address on behalf of whom the repayment is made. Defaults to sender.
2351
2367
  :param callback_data: An optional field for callback byte data that will be triggered upon successful repaying of debt.
@@ -2445,7 +2461,7 @@ class Morpho(BaseSDK):
2445
2461
  *,
2446
2462
  amount: Any,
2447
2463
  unique_market_key: str,
2448
- chain: models.Chain,
2464
+ chain: models.MorphoRepayRequestChain,
2449
2465
  sender: str,
2450
2466
  on_behalf_of: OptionalNullable[str] = UNSET,
2451
2467
  callback_data: OptionalNullable[bytes] = UNSET,
@@ -2465,7 +2481,7 @@ class Morpho(BaseSDK):
2465
2481
 
2466
2482
  :param amount: Amount of the token to repay to the market. If set to 'ALL', all debt plus interest will be paid back if the user has a sufficient token balance in their wallet.
2467
2483
  :param unique_market_key: The key that uniquely identifies the market. This can be found using the 'Get Markets' endpoint.
2468
- :param chain: The chain to use.
2484
+ :param chain:
2469
2485
  :param sender: The address of the transaction sender.
2470
2486
  :param on_behalf_of: The address on behalf of whom the repayment is made. Defaults to sender.
2471
2487
  :param callback_data: An optional field for callback byte data that will be triggered upon successful repaying of debt.
@@ -5,17 +5,17 @@ from .httpclient import AsyncHttpClient, ClientOwner, HttpClient, close_clients
5
5
  from .sdkconfiguration import SDKConfiguration
6
6
  from .utils.logger import Logger, get_default_logger
7
7
  from .utils.retries import RetryConfig
8
- from compass_api_sdk import models, utils
9
- from compass_api_sdk._hooks import SDKHooks
10
- from compass_api_sdk.aave_v3 import AaveV3
11
- from compass_api_sdk.aerodrome_slipstream import AerodromeSlipstream
12
- from compass_api_sdk.morpho import Morpho
13
- from compass_api_sdk.sky import Sky
14
- from compass_api_sdk.token_sdk import TokenSDK
15
- from compass_api_sdk.transaction_batching import TransactionBatching
16
- from compass_api_sdk.types import OptionalNullable, UNSET
17
- from compass_api_sdk.uniswap_v3 import UniswapV3
18
- from compass_api_sdk.universal import Universal
8
+ from compassapisdk import models, utils
9
+ from compassapisdk._hooks import SDKHooks
10
+ from compassapisdk.aave_v3 import AaveV3
11
+ from compassapisdk.aerodrome_slipstream import AerodromeSlipstream
12
+ from compassapisdk.morpho import Morpho
13
+ from compassapisdk.sky import Sky
14
+ from compassapisdk.token_sdk import TokenSDK
15
+ from compassapisdk.transaction_batching import TransactionBatching
16
+ from compassapisdk.types import OptionalNullable, UNSET
17
+ from compassapisdk.uniswap_v3 import UniswapV3
18
+ from compassapisdk.universal import Universal
19
19
  import httpx
20
20
  from typing import Any, Callable, Dict, Optional, Union, cast
21
21
  import weakref
@@ -9,8 +9,8 @@ from ._version import (
9
9
  )
10
10
  from .httpclient import AsyncHttpClient, HttpClient
11
11
  from .utils import Logger, RetryConfig, remove_suffix
12
- from compass_api_sdk import models
13
- from compass_api_sdk.types import OptionalNullable, UNSET
12
+ from compassapisdk import models
13
+ from compassapisdk.types import OptionalNullable, UNSET
14
14
  from dataclasses import dataclass
15
15
  from pydantic import Field
16
16
  from typing import Callable, Dict, Optional, Tuple, Union
@@ -1,9 +1,9 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from .basesdk import BaseSDK
4
- from compass_api_sdk import errors, models, utils
5
- from compass_api_sdk._hooks import HookContext
6
- from compass_api_sdk.types import OptionalNullable, UNSET
4
+ from compassapisdk import errors, models, utils
5
+ from compassapisdk._hooks import HookContext
6
+ from compassapisdk.types import OptionalNullable, UNSET
7
7
  from typing import Any, Mapping, Optional, Union
8
8
 
9
9
 
@@ -21,7 +21,7 @@ class Sky(BaseSDK):
21
21
 
22
22
  Check the USDS overall position.
23
23
 
24
- :param user_address:
24
+ :param user_address: The user address of the desired position.
25
25
  :param retries: Override the default retry configuration for this method
26
26
  :param server_url: Override the default server URL for this method
27
27
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -118,7 +118,7 @@ class Sky(BaseSDK):
118
118
 
119
119
  Check the USDS overall position.
120
120
 
121
- :param user_address:
121
+ :param user_address: The user address of the desired position.
122
122
  :param retries: Override the default retry configuration for this method
123
123
  :param server_url: Override the default server URL for this method
124
124
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -1,9 +1,9 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from .basesdk import BaseSDK
4
- from compass_api_sdk import errors, models, utils
5
- from compass_api_sdk._hooks import HookContext
6
- from compass_api_sdk.types import OptionalNullable, UNSET
4
+ from compassapisdk import errors, models, utils
5
+ from compassapisdk._hooks import HookContext
6
+ from compassapisdk.types import OptionalNullable, UNSET
7
7
  from typing import Any, Mapping, Optional, Union
8
8
 
9
9
 
@@ -23,7 +23,7 @@ class TokenSDK(BaseSDK):
23
23
  This endpoint retrieves the address for a token supported by us.
24
24
 
25
25
  :param chain: The chain to use.
26
- :param token: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
26
+ :param token: The token symbol to get the address for..
27
27
  :param retries: Override the default retry configuration for this method
28
28
  :param server_url: Override the default server URL for this method
29
29
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -123,7 +123,7 @@ class TokenSDK(BaseSDK):
123
123
  This endpoint retrieves the address for a token supported by us.
124
124
 
125
125
  :param chain: The chain to use.
126
- :param token: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
126
+ :param token: The token symbol to get the address for..
127
127
  :param retries: Override the default retry configuration for this method
128
128
  :param server_url: Override the default server URL for this method
129
129
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -227,7 +227,7 @@ class TokenSDK(BaseSDK):
227
227
  with the update frequency of the oracle.
228
228
 
229
229
  :param chain: The chain to use.
230
- :param token: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
230
+ :param token: The symbol of the token for which to get the price.
231
231
  :param retries: Override the default retry configuration for this method
232
232
  :param server_url: Override the default server URL for this method
233
233
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -331,7 +331,7 @@ class TokenSDK(BaseSDK):
331
331
  with the update frequency of the oracle.
332
332
 
333
333
  :param chain: The chain to use.
334
- :param token: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
334
+ :param token: The symbol of the token for which to get the price.
335
335
  :param retries: Override the default retry configuration for this method
336
336
  :param server_url: Override the default server URL for this method
337
337
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -432,8 +432,8 @@ class TokenSDK(BaseSDK):
432
432
  Returns the balance of a specific ERC20 token for a given user address.
433
433
 
434
434
  :param chain: The chain to use.
435
- :param user:
436
- :param token:
435
+ :param user: The user to get the ERC20 balance of.
436
+ :param token: The symbol of the token for which the balance is checked..
437
437
  :param retries: Override the default retry configuration for this method
438
438
  :param server_url: Override the default server URL for this method
439
439
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -535,8 +535,8 @@ class TokenSDK(BaseSDK):
535
535
  Returns the balance of a specific ERC20 token for a given user address.
536
536
 
537
537
  :param chain: The chain to use.
538
- :param user:
539
- :param token:
538
+ :param user: The user to get the ERC20 balance of.
539
+ :param token: The symbol of the token for which the balance is checked..
540
540
  :param retries: Override the default retry configuration for this method
541
541
  :param server_url: Override the default server URL for this method
542
542
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds