compass_api_sdk 0.9.35__py3-none-any.whl → 2.0.21rc1__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 (322) 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 +971 -728
  5. compass_api_sdk/aerodrome_slipstream.py +367 -390
  6. compass_api_sdk/basesdk.py +21 -5
  7. compass_api_sdk/bridge.py +536 -0
  8. compass_api_sdk/earn.py +1780 -0
  9. compass_api_sdk/erc_4626_vaults.py +127 -154
  10. compass_api_sdk/errors/__init__.py +38 -4
  11. compass_api_sdk/errors/apierror.py +32 -14
  12. compass_api_sdk/errors/compassapierror.py +30 -0
  13. compass_api_sdk/errors/httpvalidationerror.py +15 -8
  14. compass_api_sdk/errors/mintpreparenotfoundresponse_error.py +49 -0
  15. compass_api_sdk/errors/no_response_error.py +17 -0
  16. compass_api_sdk/errors/responsevalidationerror.py +27 -0
  17. compass_api_sdk/{token_sdk.py → ethena.py} +318 -293
  18. compass_api_sdk/gas_sponsorship.py +446 -0
  19. compass_api_sdk/httpclient.py +0 -1
  20. compass_api_sdk/models/__init__.py +1701 -945
  21. compass_api_sdk/models/aaveborrowparams.py +4 -13
  22. compass_api_sdk/models/aaveborrowrequest.py +19 -19
  23. compass_api_sdk/models/aavehistoricaltransactionsresponse.py +8 -8
  24. compass_api_sdk/models/aavelooprequest.py +88 -36
  25. compass_api_sdk/models/aaveposition.py +49 -0
  26. compass_api_sdk/models/aaverepayparams.py +4 -13
  27. compass_api_sdk/models/aaverepayrequest.py +19 -19
  28. compass_api_sdk/models/aavereserveoverviewresponse.py +34 -3
  29. compass_api_sdk/models/aavesetuseremodeparams.py +28 -0
  30. compass_api_sdk/models/aavesetuseremoderequest.py +48 -0
  31. compass_api_sdk/models/aavesupplyparams.py +4 -13
  32. compass_api_sdk/models/aavesupplyrequest.py +19 -19
  33. compass_api_sdk/models/aavesupportedtokenmetadata.py +30 -0
  34. compass_api_sdk/models/aavesupportedtokensresponse.py +20 -0
  35. compass_api_sdk/models/aavevenue.py +27 -0
  36. compass_api_sdk/models/aavewithdrawparams.py +4 -13
  37. compass_api_sdk/models/aavewithdrawrequest.py +19 -19
  38. compass_api_sdk/models/aerodromeenrichedposition.py +109 -0
  39. compass_api_sdk/models/aerodromelppositionsresponse.py +10 -7
  40. compass_api_sdk/models/aerodromeslipstreambuyexactlyparams.py +8 -25
  41. compass_api_sdk/models/aerodromeslipstreambuyexactlyrequest.py +21 -31
  42. compass_api_sdk/models/aerodromeslipstreamincreaseliquidityprovisionrequest.py +13 -6
  43. compass_api_sdk/models/aerodromeslipstreammintliquidityprovisionparams.py +8 -25
  44. compass_api_sdk/models/aerodromeslipstreammintliquidityprovisionrequest.py +21 -31
  45. compass_api_sdk/models/aerodromeslipstreampoolpriceresponse.py +8 -25
  46. compass_api_sdk/models/aerodromeslipstreamsellexactlyparams.py +8 -25
  47. compass_api_sdk/models/aerodromeslipstreamsellexactlyrequest.py +20 -30
  48. compass_api_sdk/models/aerodromeslipstreamwithdrawliquidityprovisionrequest.py +13 -6
  49. compass_api_sdk/models/approvetransferrequest.py +32 -0
  50. compass_api_sdk/models/{curator.py → approvetransferresponse.py} +12 -13
  51. compass_api_sdk/models/apy.py +3 -0
  52. compass_api_sdk/models/batchedsafeoperationsresponse_input.py +52 -0
  53. compass_api_sdk/models/batchedsafeoperationsresponse_output.py +52 -0
  54. compass_api_sdk/models/batcheduseroperationsrequest.py +24 -9
  55. compass_api_sdk/models/bundlertransactionresponse.py +17 -0
  56. compass_api_sdk/models/chain.py +3 -3
  57. compass_api_sdk/models/chainmarketinfo.py +29 -0
  58. 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
  59. 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
  60. 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
  61. 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
  62. compass_api_sdk/models/compass_api_backend_v1_models_morpho_read_response_check_user_position_vaultposition.py +30 -0
  63. 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
  64. 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
  65. compass_api_sdk/models/{compass_api_backend_models_morpho_read_response_get_vault_asset.py → compass_api_backend_v1_models_morpho_read_response_get_market_asset.py} +5 -5
  66. 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
  67. 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
  68. 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
  69. 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
  70. compass_api_sdk/models/compass_api_backend_v1_models_morpho_read_response_get_vaults_vaultstate.py +73 -0
  71. compass_api_sdk/models/compass_api_backend_v1_models_pendle_read_response_market_userposition.py +82 -0
  72. 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
  73. compass_api_sdk/models/compass_api_backend_v1_models_vaults_read_response_vault_userposition.py +20 -0
  74. compass_api_sdk/models/compass_api_backend_v1_models_wildcat_read_response_market_userposition.py +22 -0
  75. compass_api_sdk/models/compass_api_backend_v2_models_earn_read_response_positions_vaultposition.py +49 -0
  76. compass_api_sdk/models/compass_api_backend_v2_models_gas_sponsorship_permit_2_typed_data_eip712domain.py +36 -0
  77. compass_api_sdk/models/compass_api_backend_v2_models_gas_sponsorship_permit_2_typed_data_eip712types.py +36 -0
  78. compass_api_sdk/models/compass_api_backend_v2_models_gas_sponsorship_permit_typed_data_eip712domain.py +37 -0
  79. compass_api_sdk/models/compass_api_backend_v2_models_gas_sponsorship_permit_typed_data_eip712types.py +32 -0
  80. compass_api_sdk/models/compass_api_backend_v2_models_safe_transact_response_batched_safe_operations_eip712domain.py +29 -0
  81. compass_api_sdk/models/compass_api_backend_v2_models_safe_transact_response_batched_safe_operations_eip712types.py +34 -0
  82. compass_api_sdk/models/cooldownposition.py +35 -0
  83. compass_api_sdk/models/createaccountrequest.py +40 -0
  84. compass_api_sdk/models/createaccountresponse.py +56 -0
  85. compass_api_sdk/models/depositforburnrequest.py +77 -0
  86. compass_api_sdk/models/depositforburnresponse.py +100 -0
  87. compass_api_sdk/models/details.py +44 -7
  88. compass_api_sdk/models/earnmanageparams.py +74 -0
  89. compass_api_sdk/models/earnmanagerequest.py +130 -0
  90. compass_api_sdk/models/{compass_api_backend_models_morpho_read_response_get_market_asset.py → earnmanageresponse.py} +13 -21
  91. compass_api_sdk/models/earnpositionsresponse.py +39 -0
  92. compass_api_sdk/models/earnswapparams.py +74 -0
  93. compass_api_sdk/models/earnswaprequest.py +90 -0
  94. compass_api_sdk/models/earnswapresponse.py +55 -0
  95. compass_api_sdk/models/earntransferrequest.py +104 -0
  96. compass_api_sdk/models/earntransferresponse.py +71 -0
  97. compass_api_sdk/models/eip712domainfield.py +20 -0
  98. compass_api_sdk/models/eip712field.py +20 -0
  99. compass_api_sdk/models/ethenadepositparams.py +82 -0
  100. compass_api_sdk/models/ethenadepositrequest.py +100 -0
  101. compass_api_sdk/models/ethenagetvaultresponse.py +109 -0
  102. compass_api_sdk/models/ethenarequesttowithdrawparams.py +28 -0
  103. compass_api_sdk/models/ethenarequesttowithdrawrequest.py +46 -0
  104. compass_api_sdk/models/ethenarequesttowithdrawtransactionresponse.py +37 -0
  105. compass_api_sdk/models/ethenaunstakeparams.py +65 -0
  106. compass_api_sdk/models/ethenaunstakerequest.py +83 -0
  107. compass_api_sdk/models/fee.py +42 -0
  108. compass_api_sdk/models/listaavemarketsresponse.py +21 -0
  109. compass_api_sdk/models/marketposition.py +5 -5
  110. compass_api_sdk/models/maxsupplyapyinfo.py +34 -0
  111. compass_api_sdk/models/mintpreparecompletedresponse.py +46 -0
  112. compass_api_sdk/models/mintpreparependingresponse.py +65 -0
  113. compass_api_sdk/models/mintpreparereadyresponse.py +43 -0
  114. compass_api_sdk/models/mintpreparerequest.py +25 -0
  115. compass_api_sdk/models/morphoborrowrequest.py +9 -3
  116. compass_api_sdk/models/morphocheckuserpositionresponse.py +9 -3
  117. compass_api_sdk/models/morphodepositrequest.py +9 -3
  118. compass_api_sdk/models/morphogetmarketresponse.py +72 -31
  119. compass_api_sdk/models/morphomarket.py +26 -20
  120. compass_api_sdk/models/morphorepayrequest.py +14 -3
  121. compass_api_sdk/models/morphosupplycollateralrequest.py +14 -3
  122. compass_api_sdk/models/morphovault.py +10 -10
  123. compass_api_sdk/models/morphowithdrawcollateralrequest.py +9 -3
  124. compass_api_sdk/models/morphowithdrawrequest.py +9 -3
  125. compass_api_sdk/models/movement10percent.py +65 -10
  126. compass_api_sdk/models/multicallauthorizationrequest.py +9 -9
  127. compass_api_sdk/models/multicallexecuterequest.py +59 -11
  128. compass_api_sdk/models/odosswapparams.py +52 -0
  129. compass_api_sdk/models/odosswaprequest.py +72 -0
  130. compass_api_sdk/models/odostransactionresponse.py +37 -0
  131. compass_api_sdk/models/oneinchswapparams.py +59 -0
  132. compass_api_sdk/models/openposition.py +7 -7
  133. compass_api_sdk/models/operationtype.py +11 -0
  134. compass_api_sdk/models/pendlegetmarketresponse.py +52 -2
  135. compass_api_sdk/models/pendlemanageliquidityparams.py +68 -0
  136. compass_api_sdk/models/pendlemanageliquidityrequest.py +87 -0
  137. compass_api_sdk/models/pendleredeemyieldrequest.py +15 -6
  138. compass_api_sdk/models/pendletradeptparams.py +68 -0
  139. compass_api_sdk/models/pendletradeptrequest.py +87 -0
  140. compass_api_sdk/models/pendletradeytparams.py +68 -0
  141. compass_api_sdk/models/pendletradeytrequest.py +87 -0
  142. compass_api_sdk/models/pendletxresponse.py +36 -0
  143. compass_api_sdk/models/permit2typeddata_input.py +46 -0
  144. compass_api_sdk/models/permit2typeddata_output.py +46 -0
  145. compass_api_sdk/models/permitfield.py +20 -0
  146. compass_api_sdk/models/permitmessage.py +39 -0
  147. compass_api_sdk/models/permittransferfrommessage.py +29 -0
  148. compass_api_sdk/models/permittypeddataresponse_input.py +50 -0
  149. compass_api_sdk/models/permittypeddataresponse_output.py +50 -0
  150. compass_api_sdk/models/portfolio.py +5 -5
  151. compass_api_sdk/models/protocol.py +13 -0
  152. compass_api_sdk/models/reserve.py +6 -15
  153. compass_api_sdk/models/safetransactionparams.py +78 -0
  154. compass_api_sdk/models/safetransactionresponse.py +28 -0
  155. compass_api_sdk/models/safetxfield.py +20 -0
  156. compass_api_sdk/models/safetxmessage.py +66 -0
  157. compass_api_sdk/models/setallowanceparams.py +5 -16
  158. compass_api_sdk/models/setallowancerequest.py +19 -22
  159. compass_api_sdk/models/skybuyrequest.py +12 -9
  160. compass_api_sdk/models/skydepositrequest.py +13 -9
  161. compass_api_sdk/models/skysellrequest.py +12 -9
  162. compass_api_sdk/models/skywithdrawrequest.py +13 -9
  163. compass_api_sdk/models/sponsorgasrequest.py +71 -0
  164. compass_api_sdk/models/sponsorgasresponse.py +14 -0
  165. compass_api_sdk/models/supportedchaininfo.py +19 -0
  166. compass_api_sdk/models/tokenbalanceresponse.py +5 -15
  167. compass_api_sdk/models/tokenconfig.py +30 -0
  168. compass_api_sdk/models/tokenlistresponse.py +21 -0
  169. compass_api_sdk/models/tokenmarketdata.py +27 -0
  170. compass_api_sdk/models/tokenpermissions.py +20 -0
  171. compass_api_sdk/models/tokentransferparams.py +54 -0
  172. compass_api_sdk/models/tokentransferrequest.py +23 -27
  173. compass_api_sdk/models/transactionresponse.py +31 -0
  174. compass_api_sdk/models/{compass_api_backend_models_vaults_read_response_vault_asset.py → underlyingtoken.py} +2 -2
  175. compass_api_sdk/models/uniswapbuyexactlyparams.py +19 -41
  176. compass_api_sdk/models/uniswapbuyexactlyrequest.py +31 -44
  177. compass_api_sdk/models/uniswapbuyexactlytransactionresponse.py +37 -0
  178. compass_api_sdk/models/uniswapincreaseliquidityprovisionrequest.py +15 -6
  179. compass_api_sdk/models/uniswapmintliquidityprovisionparams.py +8 -25
  180. compass_api_sdk/models/uniswapmintliquidityprovisionrequest.py +23 -31
  181. compass_api_sdk/models/uniswappoolpriceresponse.py +8 -25
  182. compass_api_sdk/models/uniswappositionssolidityresponse.py +42 -2
  183. compass_api_sdk/models/uniswapsellexactlyparams.py +19 -41
  184. compass_api_sdk/models/uniswapsellexactlyrequest.py +31 -44
  185. compass_api_sdk/models/uniswapsellexactlytransactionresponse.py +37 -0
  186. compass_api_sdk/models/uniswapwithdrawliquidityprovisionrequest.py +15 -6
  187. compass_api_sdk/models/unsignedmulticalltransaction.py +44 -13
  188. compass_api_sdk/models/unsignedtransaction.py +44 -13
  189. compass_api_sdk/models/unwrapwethrequest.py +15 -6
  190. compass_api_sdk/models/useroperation.py +61 -49
  191. compass_api_sdk/models/useroperationresponse.py +2 -2
  192. compass_api_sdk/models/userstate.py +3 -3
  193. compass_api_sdk/models/v1_aave_aave_supported_tokensop.py +69 -0
  194. compass_api_sdk/models/v1_aave_avg_rateop.py +83 -0
  195. compass_api_sdk/models/{aave_historical_transactionsop.py → v1_aave_historical_transactionsop.py} +21 -25
  196. compass_api_sdk/models/v1_aave_liquidity_changeop.py +45 -0
  197. compass_api_sdk/models/{pendle_marketop.py → v1_aave_rateop.py} +16 -20
  198. compass_api_sdk/models/v1_aave_reserve_overviewop.py +76 -0
  199. compass_api_sdk/models/v1_aave_std_rateop.py +83 -0
  200. compass_api_sdk/models/v1_aave_token_priceop.py +76 -0
  201. compass_api_sdk/models/v1_aave_user_position_per_tokenop.py +83 -0
  202. compass_api_sdk/models/{aave_user_position_summaryop.py → v1_aave_user_position_summaryop.py} +16 -20
  203. compass_api_sdk/models/v1_aerodrome_slipstream_liquidity_provision_positionsop.py +76 -0
  204. compass_api_sdk/models/v1_aerodrome_slipstream_pool_priceop.py +45 -0
  205. compass_api_sdk/models/v1_ethena_vaultop.py +75 -0
  206. compass_api_sdk/models/{generic_allowanceop.py → v1_generic_allowanceop.py} +28 -41
  207. compass_api_sdk/models/{generic_ensop.py → v1_generic_ensop.py} +8 -14
  208. compass_api_sdk/models/{generic_portfolioop.py → v1_generic_portfolioop.py} +10 -14
  209. compass_api_sdk/models/v1_generic_supported_chainsop.py +57 -0
  210. compass_api_sdk/models/{morpho_market_positionop.py → v1_morpho_market_positionop.py} +11 -10
  211. compass_api_sdk/models/{morpho_marketop.py → v1_morpho_marketop.py} +10 -9
  212. compass_api_sdk/models/{morpho_marketsop.py → v1_morpho_marketsop.py} +13 -12
  213. compass_api_sdk/models/{morpho_user_positionop.py → v1_morpho_user_positionop.py} +10 -9
  214. compass_api_sdk/models/{vaults_vaultop.py → v1_morpho_vaultop.py} +16 -20
  215. compass_api_sdk/models/{morpho_vaultsop.py → v1_morpho_vaultsop.py} +11 -10
  216. compass_api_sdk/models/{pendle_positionop.py → v1_pendle_marketop.py} +24 -27
  217. compass_api_sdk/models/v1_pendle_marketsop.py +24 -0
  218. compass_api_sdk/models/{pendle_positionsop.py → v1_pendle_positionsop.py} +10 -14
  219. compass_api_sdk/models/v1_sky_positionop.py +29 -0
  220. compass_api_sdk/models/v1_token_balanceop.py +38 -0
  221. compass_api_sdk/models/v1_token_listop.py +24 -0
  222. compass_api_sdk/models/v1_token_priceop.py +76 -0
  223. compass_api_sdk/models/v1_transaction_bundler_aave_loopop.py +27 -0
  224. compass_api_sdk/models/{uniswap_liquidity_provision_in_rangeop.py → v1_uniswap_liquidity_provision_in_rangeop.py} +10 -14
  225. compass_api_sdk/models/{uniswap_liquidity_provision_positionsop.py → v1_uniswap_liquidity_provision_positionsop.py} +10 -14
  226. compass_api_sdk/models/v1_uniswap_pool_priceop.py +58 -0
  227. compass_api_sdk/models/v1_uniswap_quote_buy_exactlyop.py +79 -0
  228. compass_api_sdk/models/v1_uniswap_quote_sell_exactlyop.py +79 -0
  229. compass_api_sdk/models/v1_vaults_vaultop.py +84 -0
  230. compass_api_sdk/models/v1_wildcat_marketop.py +82 -0
  231. compass_api_sdk/models/v2_cctp_mintop.py +47 -0
  232. compass_api_sdk/models/v2_earn_aave_marketsop.py +57 -0
  233. compass_api_sdk/models/v2_earn_positionsop.py +56 -0
  234. compass_api_sdk/models/v2_earn_vaultsop.py +105 -0
  235. compass_api_sdk/models/v2bundlerequest.py +33 -0
  236. compass_api_sdk/models/v2bundleresponse.py +67 -0
  237. compass_api_sdk/models/v2useroperation.py +37 -0
  238. compass_api_sdk/models/vault.py +14 -14
  239. compass_api_sdk/models/vaultdepositparams.py +85 -0
  240. compass_api_sdk/models/vaultdepositrequest.py +15 -6
  241. compass_api_sdk/models/vaultgetvaultresponse.py +21 -11
  242. compass_api_sdk/models/vaultinfo.py +129 -0
  243. compass_api_sdk/models/vaultsresponse.py +30 -0
  244. compass_api_sdk/models/vaultvenue.py +27 -0
  245. compass_api_sdk/models/vaultwithdrawparams.py +75 -0
  246. compass_api_sdk/models/vaultwithdrawrequest.py +15 -6
  247. compass_api_sdk/models/wildcatgetmarketresponse.py +151 -0
  248. compass_api_sdk/models/{redeemunderlying.py → withdraw.py} +2 -2
  249. compass_api_sdk/models/wrapethrequest.py +15 -6
  250. compass_api_sdk/morpho.py +481 -816
  251. compass_api_sdk/pendle.py +495 -1384
  252. compass_api_sdk/sdk.py +39 -13
  253. compass_api_sdk/sky.py +275 -240
  254. compass_api_sdk/smart_account.py +37 -50
  255. compass_api_sdk/swap.py +248 -0
  256. compass_api_sdk/token.py +1192 -0
  257. compass_api_sdk/transaction_bundler.py +151 -184
  258. compass_api_sdk/uniswap_v3.py +531 -620
  259. compass_api_sdk/universal.py +181 -932
  260. compass_api_sdk/utils/__init__.py +18 -5
  261. compass_api_sdk/utils/annotations.py +32 -8
  262. compass_api_sdk/utils/eventstreaming.py +10 -0
  263. compass_api_sdk/utils/forms.py +21 -10
  264. compass_api_sdk/utils/queryparams.py +14 -2
  265. compass_api_sdk/utils/retries.py +69 -5
  266. compass_api_sdk/utils/serializers.py +3 -2
  267. compass_api_sdk/utils/unmarshal_json_response.py +38 -0
  268. compass_api_sdk/wildcat.py +208 -0
  269. compass_api_sdk-2.0.21rc1.dist-info/METADATA +623 -0
  270. compass_api_sdk-2.0.21rc1.dist-info/RECORD +346 -0
  271. {compass_api_sdk-0.9.35.dist-info → compass_api_sdk-2.0.21rc1.dist-info}/WHEEL +1 -1
  272. compass_api_sdk/models/aave_avg_rateop.py +0 -141
  273. compass_api_sdk/models/aave_liquidity_changeop.py +0 -103
  274. compass_api_sdk/models/aave_rateop.py +0 -134
  275. compass_api_sdk/models/aave_reserve_overviewop.py +0 -134
  276. compass_api_sdk/models/aave_std_rateop.py +0 -141
  277. compass_api_sdk/models/aave_token_priceop.py +0 -134
  278. compass_api_sdk/models/aave_user_position_per_tokenop.py +0 -141
  279. compass_api_sdk/models/aerodrome_slipstream_liquidity_provision_positionsop.py +0 -37
  280. compass_api_sdk/models/aerodrome_slipstream_pool_priceop.py +0 -159
  281. compass_api_sdk/models/aerodromeposition.py +0 -70
  282. compass_api_sdk/models/compass_api_backend_models_morpho_read_response_get_vault_vaultstate.py +0 -53
  283. compass_api_sdk/models/compass_api_backend_models_morpho_read_response_get_vaults_vaultstate.py +0 -32
  284. compass_api_sdk/models/generic_supported_tokensop.py +0 -28
  285. compass_api_sdk/models/generic_visualize_portfolioop.py +0 -37
  286. compass_api_sdk/models/image.py +0 -15
  287. compass_api_sdk/models/liquidity.py +0 -16
  288. compass_api_sdk/models/metadata.py +0 -50
  289. compass_api_sdk/models/morpho_vault_positionop.py +0 -37
  290. compass_api_sdk/models/morpho_vaultop.py +0 -30
  291. compass_api_sdk/models/morphocheckvaultpositionresponse.py +0 -20
  292. compass_api_sdk/models/morphogetvaultresponse.py +0 -86
  293. compass_api_sdk/models/pendle_marketsop.py +0 -28
  294. compass_api_sdk/models/pendleaddliquidityparams.py +0 -50
  295. compass_api_sdk/models/pendleaddliquidityrequest.py +0 -61
  296. compass_api_sdk/models/pendlebuyptparams.py +0 -48
  297. compass_api_sdk/models/pendlebuyptrequest.py +0 -59
  298. compass_api_sdk/models/pendlebuyytparams.py +0 -48
  299. compass_api_sdk/models/pendlebuyytrequest.py +0 -59
  300. compass_api_sdk/models/pendlegetuserpositionresponse.py +0 -56
  301. compass_api_sdk/models/pendleremoveliquidityparams.py +0 -50
  302. compass_api_sdk/models/pendleremoveliquidityrequest.py +0 -61
  303. compass_api_sdk/models/pendlesellptparams.py +0 -48
  304. compass_api_sdk/models/pendlesellptrequest.py +0 -61
  305. compass_api_sdk/models/pendlesellytparams.py +0 -48
  306. compass_api_sdk/models/pendlesellytrequest.py +0 -61
  307. compass_api_sdk/models/sky_positionop.py +0 -31
  308. compass_api_sdk/models/token_addressop.py +0 -89
  309. compass_api_sdk/models/token_balanceop.py +0 -55
  310. compass_api_sdk/models/token_enum.py +0 -57
  311. compass_api_sdk/models/token_priceop.py +0 -89
  312. compass_api_sdk/models/tokenaddressresponse.py +0 -15
  313. compass_api_sdk/models/tokeninfo.py +0 -17
  314. compass_api_sdk/models/tokentransfererc20params.py +0 -63
  315. compass_api_sdk/models/txresponse.py +0 -27
  316. compass_api_sdk/models/uniswap_pool_priceop.py +0 -170
  317. compass_api_sdk/models/uniswap_quote_buy_exactlyop.py +0 -191
  318. compass_api_sdk/models/uniswap_quote_sell_exactlyop.py +0 -191
  319. compass_api_sdk/models/userposition.py +0 -16
  320. compass_api_sdk/models/vaultposition.py +0 -24
  321. compass_api_sdk-0.9.35.dist-info/METADATA +0 -558
  322. compass_api_sdk-0.9.35.dist-info/RECORD +0 -260
@@ -1,170 +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 UniswapPoolPriceChain(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 UniswapPoolPriceTokenInToken(str, Enum):
19
- r"""A class representing the token.
20
-
21
- This class is used to represent the token in the system. Notice individual
22
- endpoints' documentation where per chain tokens are presented.
23
- """
24
-
25
- ONE_INCH = "1INCH"
26
- AAVE = "AAVE"
27
- BAL = "BAL"
28
- CB_BTC = "cbBTC"
29
- CB_ETH = "cbETH"
30
- CRV = "CRV"
31
- CRV_USD = "crvUSD"
32
- DAI = "DAI"
33
- ENS = "ENS"
34
- ET_HX = "ETHx"
35
- FRAX = "FRAX"
36
- FXS = "FXS"
37
- GHO = "GHO"
38
- KNC = "KNC"
39
- LDO = "LDO"
40
- LINK = "LINK"
41
- LUSD = "LUSD"
42
- MKR = "MKR"
43
- OS_ETH = "osETH"
44
- PYUSD = "PYUSD"
45
- R_ETH = "rETH"
46
- RPL = "RPL"
47
- RS_ETH = "rsETH"
48
- S_DAI = "sDAI"
49
- SNX = "SNX"
50
- STG = "STG"
51
- S_US_DE = "sUSDe"
52
- T_BTC = "tBTC"
53
- UNI = "UNI"
54
- USDC = "USDC"
55
- US_DE = "USDe"
56
- USDS = "USDS"
57
- USDT = "USDT"
58
- WBTC = "WBTC"
59
- WE_ETH = "weETH"
60
- WETH = "WETH"
61
- WST_ETH = "wstETH"
62
- ARB = "ARB"
63
- EURS = "EURS"
64
- MAI = "MAI"
65
- USD_CE = "USDCe"
66
- AERO = "AERO"
67
- EUR = "EUR"
68
- VIRTUAL = "VIRTUAL"
69
-
70
-
71
- class UniswapPoolPriceTokenOutToken(str, Enum):
72
- r"""A class representing the token.
73
-
74
- This class is used to represent the token in the system. Notice individual
75
- endpoints' documentation where per chain tokens are presented.
76
- """
77
-
78
- ONE_INCH = "1INCH"
79
- AAVE = "AAVE"
80
- BAL = "BAL"
81
- CB_BTC = "cbBTC"
82
- CB_ETH = "cbETH"
83
- CRV = "CRV"
84
- CRV_USD = "crvUSD"
85
- DAI = "DAI"
86
- ENS = "ENS"
87
- ET_HX = "ETHx"
88
- FRAX = "FRAX"
89
- FXS = "FXS"
90
- GHO = "GHO"
91
- KNC = "KNC"
92
- LDO = "LDO"
93
- LINK = "LINK"
94
- LUSD = "LUSD"
95
- MKR = "MKR"
96
- OS_ETH = "osETH"
97
- PYUSD = "PYUSD"
98
- R_ETH = "rETH"
99
- RPL = "RPL"
100
- RS_ETH = "rsETH"
101
- S_DAI = "sDAI"
102
- SNX = "SNX"
103
- STG = "STG"
104
- S_US_DE = "sUSDe"
105
- T_BTC = "tBTC"
106
- UNI = "UNI"
107
- USDC = "USDC"
108
- US_DE = "USDe"
109
- USDS = "USDS"
110
- USDT = "USDT"
111
- WBTC = "WBTC"
112
- WE_ETH = "weETH"
113
- WETH = "WETH"
114
- WST_ETH = "wstETH"
115
- ARB = "ARB"
116
- EURS = "EURS"
117
- MAI = "MAI"
118
- USD_CE = "USDCe"
119
- AERO = "AERO"
120
- EUR = "EUR"
121
- VIRTUAL = "VIRTUAL"
122
-
123
-
124
- class UniswapPoolPriceFeeEnum(str, Enum):
125
- r"""The transaction fee of a Uniswap pool in bips.
126
-
127
- Uniswap supports 4 different fee levels.
128
- """
129
-
130
- ZERO_DOT_01 = "0.01"
131
- ZERO_DOT_05 = "0.05"
132
- ZERO_DOT_3 = "0.3"
133
- ONE_DOT_0 = "1.0"
134
-
135
-
136
- class UniswapPoolPriceRequestTypedDict(TypedDict):
137
- chain: UniswapPoolPriceChain
138
- r"""The chain to use."""
139
- token_in: UniswapPoolPriceTokenInToken
140
- r"""The symbol of a token in the pool"""
141
- token_out: UniswapPoolPriceTokenOutToken
142
- r"""The symbol of a token in the pool"""
143
- fee: UniswapPoolPriceFeeEnum
144
- r"""The fee of the pool"""
145
-
146
-
147
- class UniswapPoolPriceRequest(BaseModel):
148
- chain: Annotated[
149
- UniswapPoolPriceChain,
150
- FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
151
- ] = UniswapPoolPriceChain.ARBITRUM_MAINNET
152
- r"""The chain to use."""
153
-
154
- token_in: Annotated[
155
- UniswapPoolPriceTokenInToken,
156
- FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
157
- ] = UniswapPoolPriceTokenInToken.USDC
158
- r"""The symbol of a token in the pool"""
159
-
160
- token_out: Annotated[
161
- UniswapPoolPriceTokenOutToken,
162
- FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
163
- ] = UniswapPoolPriceTokenOutToken.USDT
164
- r"""The symbol of a token in the pool"""
165
-
166
- fee: Annotated[
167
- UniswapPoolPriceFeeEnum,
168
- FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
169
- ] = UniswapPoolPriceFeeEnum.ZERO_DOT_01
170
- r"""The fee of the pool"""
@@ -1,191 +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 import Union
8
- from typing_extensions import Annotated, TypeAliasType, TypedDict
9
-
10
-
11
- class UniswapQuoteBuyExactlyChain(str, Enum):
12
- r"""The chain to use."""
13
-
14
- BASE_MAINNET = "base:mainnet"
15
- ETHEREUM_MAINNET = "ethereum:mainnet"
16
- ARBITRUM_MAINNET = "arbitrum:mainnet"
17
-
18
-
19
- class UniswapQuoteBuyExactlyTokenInToken(str, Enum):
20
- r"""A class representing the token.
21
-
22
- This class is used to represent the token in the system. Notice individual
23
- endpoints' documentation where per chain tokens are presented.
24
- """
25
-
26
- ONE_INCH = "1INCH"
27
- AAVE = "AAVE"
28
- BAL = "BAL"
29
- CB_BTC = "cbBTC"
30
- CB_ETH = "cbETH"
31
- CRV = "CRV"
32
- CRV_USD = "crvUSD"
33
- DAI = "DAI"
34
- ENS = "ENS"
35
- ET_HX = "ETHx"
36
- FRAX = "FRAX"
37
- FXS = "FXS"
38
- GHO = "GHO"
39
- KNC = "KNC"
40
- LDO = "LDO"
41
- LINK = "LINK"
42
- LUSD = "LUSD"
43
- MKR = "MKR"
44
- OS_ETH = "osETH"
45
- PYUSD = "PYUSD"
46
- R_ETH = "rETH"
47
- RPL = "RPL"
48
- RS_ETH = "rsETH"
49
- S_DAI = "sDAI"
50
- SNX = "SNX"
51
- STG = "STG"
52
- S_US_DE = "sUSDe"
53
- T_BTC = "tBTC"
54
- UNI = "UNI"
55
- USDC = "USDC"
56
- US_DE = "USDe"
57
- USDS = "USDS"
58
- USDT = "USDT"
59
- WBTC = "WBTC"
60
- WE_ETH = "weETH"
61
- WETH = "WETH"
62
- WST_ETH = "wstETH"
63
- ARB = "ARB"
64
- EURS = "EURS"
65
- MAI = "MAI"
66
- USD_CE = "USDCe"
67
- AERO = "AERO"
68
- EUR = "EUR"
69
- VIRTUAL = "VIRTUAL"
70
-
71
-
72
- class UniswapQuoteBuyExactlyTokenOutToken(str, Enum):
73
- r"""A class representing the token.
74
-
75
- This class is used to represent the token in the system. Notice individual
76
- endpoints' documentation where per chain tokens are presented.
77
- """
78
-
79
- ONE_INCH = "1INCH"
80
- AAVE = "AAVE"
81
- BAL = "BAL"
82
- CB_BTC = "cbBTC"
83
- CB_ETH = "cbETH"
84
- CRV = "CRV"
85
- CRV_USD = "crvUSD"
86
- DAI = "DAI"
87
- ENS = "ENS"
88
- ET_HX = "ETHx"
89
- FRAX = "FRAX"
90
- FXS = "FXS"
91
- GHO = "GHO"
92
- KNC = "KNC"
93
- LDO = "LDO"
94
- LINK = "LINK"
95
- LUSD = "LUSD"
96
- MKR = "MKR"
97
- OS_ETH = "osETH"
98
- PYUSD = "PYUSD"
99
- R_ETH = "rETH"
100
- RPL = "RPL"
101
- RS_ETH = "rsETH"
102
- S_DAI = "sDAI"
103
- SNX = "SNX"
104
- STG = "STG"
105
- S_US_DE = "sUSDe"
106
- T_BTC = "tBTC"
107
- UNI = "UNI"
108
- USDC = "USDC"
109
- US_DE = "USDe"
110
- USDS = "USDS"
111
- USDT = "USDT"
112
- WBTC = "WBTC"
113
- WE_ETH = "weETH"
114
- WETH = "WETH"
115
- WST_ETH = "wstETH"
116
- ARB = "ARB"
117
- EURS = "EURS"
118
- MAI = "MAI"
119
- USD_CE = "USDCe"
120
- AERO = "AERO"
121
- EUR = "EUR"
122
- VIRTUAL = "VIRTUAL"
123
-
124
-
125
- class UniswapQuoteBuyExactlyFeeEnum(str, Enum):
126
- r"""The transaction fee of a Uniswap pool in bips.
127
-
128
- Uniswap supports 4 different fee levels.
129
- """
130
-
131
- ZERO_DOT_01 = "0.01"
132
- ZERO_DOT_05 = "0.05"
133
- ZERO_DOT_3 = "0.3"
134
- ONE_DOT_0 = "1.0"
135
-
136
-
137
- UniswapQuoteBuyExactlyAmountOutTypedDict = TypeAliasType(
138
- "UniswapQuoteBuyExactlyAmountOutTypedDict", Union[float, str]
139
- )
140
- r"""The amount of the token to swap to"""
141
-
142
-
143
- UniswapQuoteBuyExactlyAmountOut = TypeAliasType(
144
- "UniswapQuoteBuyExactlyAmountOut", Union[float, str]
145
- )
146
- r"""The amount of the token to swap to"""
147
-
148
-
149
- class UniswapQuoteBuyExactlyRequestTypedDict(TypedDict):
150
- amount_out: UniswapQuoteBuyExactlyAmountOutTypedDict
151
- r"""The amount of the token to swap to"""
152
- chain: UniswapQuoteBuyExactlyChain
153
- r"""The chain to use."""
154
- token_in: UniswapQuoteBuyExactlyTokenInToken
155
- r"""The symbol of the token to swap from."""
156
- token_out: UniswapQuoteBuyExactlyTokenOutToken
157
- r"""The symbol of the token to swap to."""
158
- fee: UniswapQuoteBuyExactlyFeeEnum
159
- r"""The fee to pay for the swap"""
160
-
161
-
162
- class UniswapQuoteBuyExactlyRequest(BaseModel):
163
- amount_out: Annotated[
164
- UniswapQuoteBuyExactlyAmountOut,
165
- FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
166
- ]
167
- r"""The amount of the token to swap to"""
168
-
169
- chain: Annotated[
170
- UniswapQuoteBuyExactlyChain,
171
- FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
172
- ] = UniswapQuoteBuyExactlyChain.ARBITRUM_MAINNET
173
- r"""The chain to use."""
174
-
175
- token_in: Annotated[
176
- UniswapQuoteBuyExactlyTokenInToken,
177
- FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
178
- ] = UniswapQuoteBuyExactlyTokenInToken.USDC
179
- r"""The symbol of the token to swap from."""
180
-
181
- token_out: Annotated[
182
- UniswapQuoteBuyExactlyTokenOutToken,
183
- FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
184
- ] = UniswapQuoteBuyExactlyTokenOutToken.USDT
185
- r"""The symbol of the token to swap to."""
186
-
187
- fee: Annotated[
188
- UniswapQuoteBuyExactlyFeeEnum,
189
- FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
190
- ] = UniswapQuoteBuyExactlyFeeEnum.ZERO_DOT_01
191
- r"""The fee to pay for the swap"""
@@ -1,191 +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 import Union
8
- from typing_extensions import Annotated, TypeAliasType, TypedDict
9
-
10
-
11
- class UniswapQuoteSellExactlyChain(str, Enum):
12
- r"""The chain to use."""
13
-
14
- BASE_MAINNET = "base:mainnet"
15
- ETHEREUM_MAINNET = "ethereum:mainnet"
16
- ARBITRUM_MAINNET = "arbitrum:mainnet"
17
-
18
-
19
- class UniswapQuoteSellExactlyTokenInToken(str, Enum):
20
- r"""A class representing the token.
21
-
22
- This class is used to represent the token in the system. Notice individual
23
- endpoints' documentation where per chain tokens are presented.
24
- """
25
-
26
- ONE_INCH = "1INCH"
27
- AAVE = "AAVE"
28
- BAL = "BAL"
29
- CB_BTC = "cbBTC"
30
- CB_ETH = "cbETH"
31
- CRV = "CRV"
32
- CRV_USD = "crvUSD"
33
- DAI = "DAI"
34
- ENS = "ENS"
35
- ET_HX = "ETHx"
36
- FRAX = "FRAX"
37
- FXS = "FXS"
38
- GHO = "GHO"
39
- KNC = "KNC"
40
- LDO = "LDO"
41
- LINK = "LINK"
42
- LUSD = "LUSD"
43
- MKR = "MKR"
44
- OS_ETH = "osETH"
45
- PYUSD = "PYUSD"
46
- R_ETH = "rETH"
47
- RPL = "RPL"
48
- RS_ETH = "rsETH"
49
- S_DAI = "sDAI"
50
- SNX = "SNX"
51
- STG = "STG"
52
- S_US_DE = "sUSDe"
53
- T_BTC = "tBTC"
54
- UNI = "UNI"
55
- USDC = "USDC"
56
- US_DE = "USDe"
57
- USDS = "USDS"
58
- USDT = "USDT"
59
- WBTC = "WBTC"
60
- WE_ETH = "weETH"
61
- WETH = "WETH"
62
- WST_ETH = "wstETH"
63
- ARB = "ARB"
64
- EURS = "EURS"
65
- MAI = "MAI"
66
- USD_CE = "USDCe"
67
- AERO = "AERO"
68
- EUR = "EUR"
69
- VIRTUAL = "VIRTUAL"
70
-
71
-
72
- class UniswapQuoteSellExactlyTokenOutToken(str, Enum):
73
- r"""A class representing the token.
74
-
75
- This class is used to represent the token in the system. Notice individual
76
- endpoints' documentation where per chain tokens are presented.
77
- """
78
-
79
- ONE_INCH = "1INCH"
80
- AAVE = "AAVE"
81
- BAL = "BAL"
82
- CB_BTC = "cbBTC"
83
- CB_ETH = "cbETH"
84
- CRV = "CRV"
85
- CRV_USD = "crvUSD"
86
- DAI = "DAI"
87
- ENS = "ENS"
88
- ET_HX = "ETHx"
89
- FRAX = "FRAX"
90
- FXS = "FXS"
91
- GHO = "GHO"
92
- KNC = "KNC"
93
- LDO = "LDO"
94
- LINK = "LINK"
95
- LUSD = "LUSD"
96
- MKR = "MKR"
97
- OS_ETH = "osETH"
98
- PYUSD = "PYUSD"
99
- R_ETH = "rETH"
100
- RPL = "RPL"
101
- RS_ETH = "rsETH"
102
- S_DAI = "sDAI"
103
- SNX = "SNX"
104
- STG = "STG"
105
- S_US_DE = "sUSDe"
106
- T_BTC = "tBTC"
107
- UNI = "UNI"
108
- USDC = "USDC"
109
- US_DE = "USDe"
110
- USDS = "USDS"
111
- USDT = "USDT"
112
- WBTC = "WBTC"
113
- WE_ETH = "weETH"
114
- WETH = "WETH"
115
- WST_ETH = "wstETH"
116
- ARB = "ARB"
117
- EURS = "EURS"
118
- MAI = "MAI"
119
- USD_CE = "USDCe"
120
- AERO = "AERO"
121
- EUR = "EUR"
122
- VIRTUAL = "VIRTUAL"
123
-
124
-
125
- class UniswapQuoteSellExactlyFeeEnum(str, Enum):
126
- r"""The transaction fee of a Uniswap pool in bips.
127
-
128
- Uniswap supports 4 different fee levels.
129
- """
130
-
131
- ZERO_DOT_01 = "0.01"
132
- ZERO_DOT_05 = "0.05"
133
- ZERO_DOT_3 = "0.3"
134
- ONE_DOT_0 = "1.0"
135
-
136
-
137
- UniswapQuoteSellExactlyAmountInTypedDict = TypeAliasType(
138
- "UniswapQuoteSellExactlyAmountInTypedDict", Union[float, str]
139
- )
140
- r"""The amount of the token to swap from"""
141
-
142
-
143
- UniswapQuoteSellExactlyAmountIn = TypeAliasType(
144
- "UniswapQuoteSellExactlyAmountIn", Union[float, str]
145
- )
146
- r"""The amount of the token to swap from"""
147
-
148
-
149
- class UniswapQuoteSellExactlyRequestTypedDict(TypedDict):
150
- amount_in: UniswapQuoteSellExactlyAmountInTypedDict
151
- r"""The amount of the token to swap from"""
152
- chain: UniswapQuoteSellExactlyChain
153
- r"""The chain to use."""
154
- token_in: UniswapQuoteSellExactlyTokenInToken
155
- r"""The symbol of the token to swap from."""
156
- token_out: UniswapQuoteSellExactlyTokenOutToken
157
- r"""The symbol of the token to swap to."""
158
- fee: UniswapQuoteSellExactlyFeeEnum
159
- r"""The fee to pay for the swap"""
160
-
161
-
162
- class UniswapQuoteSellExactlyRequest(BaseModel):
163
- amount_in: Annotated[
164
- UniswapQuoteSellExactlyAmountIn,
165
- FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
166
- ]
167
- r"""The amount of the token to swap from"""
168
-
169
- chain: Annotated[
170
- UniswapQuoteSellExactlyChain,
171
- FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
172
- ] = UniswapQuoteSellExactlyChain.ARBITRUM_MAINNET
173
- r"""The chain to use."""
174
-
175
- token_in: Annotated[
176
- UniswapQuoteSellExactlyTokenInToken,
177
- FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
178
- ] = UniswapQuoteSellExactlyTokenInToken.USDC
179
- r"""The symbol of the token to swap from."""
180
-
181
- token_out: Annotated[
182
- UniswapQuoteSellExactlyTokenOutToken,
183
- FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
184
- ] = UniswapQuoteSellExactlyTokenOutToken.USDT
185
- r"""The symbol of the token to swap to."""
186
-
187
- fee: Annotated[
188
- UniswapQuoteSellExactlyFeeEnum,
189
- FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
190
- ] = UniswapQuoteSellExactlyFeeEnum.ZERO_DOT_01
191
- r"""The fee to pay for the swap"""
@@ -1,16 +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 UserPositionTypedDict(TypedDict):
9
- shares: int
10
- token_amount: str
11
-
12
-
13
- class UserPosition(BaseModel):
14
- shares: int
15
-
16
- token_amount: str
@@ -1,24 +0,0 @@
1
- """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
-
3
- from __future__ import annotations
4
- from .compass_api_backend_models_morpho_read_response_check_user_position_vaultstate import (
5
- CompassAPIBackendModelsMorphoReadResponseCheckUserPositionVaultState,
6
- CompassAPIBackendModelsMorphoReadResponseCheckUserPositionVaultStateTypedDict,
7
- )
8
- from .vault import Vault, VaultTypedDict
9
- from compass_api_sdk.types import BaseModel
10
- from typing_extensions import TypedDict
11
-
12
-
13
- class VaultPositionTypedDict(TypedDict):
14
- id: str
15
- state: CompassAPIBackendModelsMorphoReadResponseCheckUserPositionVaultStateTypedDict
16
- vault: VaultTypedDict
17
-
18
-
19
- class VaultPosition(BaseModel):
20
- id: str
21
-
22
- state: CompassAPIBackendModelsMorphoReadResponseCheckUserPositionVaultState
23
-
24
- vault: Vault