typed-hyperliquid 2.3.1__tar.gz → 2.5.0__tar.gz

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 (196) hide show
  1. {typed_hyperliquid-2.3.1/src/typed_hyperliquid.egg-info → typed_hyperliquid-2.5.0}/PKG-INFO +2 -2
  2. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/pyproject.toml +2 -2
  3. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/agent_send_asset.py +3 -3
  4. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/modify_order.py +4 -4
  5. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/modify_orders.py +4 -3
  6. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/order.py +4 -3
  7. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/outcome_deployer/register_question_from_template.py +2 -2
  8. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/outcome_deployer/settle_question2.py +2 -2
  9. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/perp_deploy/register_asset.py +2 -2
  10. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/perp_deploy/register_asset2.py +2 -2
  11. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/perp_deploy/set_deployer_fees.py +2 -2
  12. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/perp_deploy/set_funding_interest_rates.py +3 -3
  13. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/perp_deploy/set_funding_multipliers.py +3 -3
  14. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/perp_deploy/set_oracle.py +7 -7
  15. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/send_asset.py +3 -3
  16. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/send_to_evm_with_data.py +3 -3
  17. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/spot_transfer.py +3 -3
  18. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/twap_order.py +2 -2
  19. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/usd_class_transfer.py +3 -3
  20. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/usdc_transfer.py +3 -3
  21. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/user_outcome/merge_outcome.py +3 -3
  22. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/user_outcome/merge_question.py +3 -3
  23. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/user_outcome/negate_outcome.py +3 -3
  24. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/user_outcome/split_outcome.py +3 -3
  25. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/withdraw3.py +3 -3
  26. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/all_perp_metas.py +5 -1
  27. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/perp_dexs.py +2 -2
  28. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/perp_meta.py +9 -0
  29. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/perp_meta_and_asset_ctxs.py +9 -0
  30. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0/src/typed_hyperliquid.egg-info}/PKG-INFO +2 -2
  31. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid.egg-info/requires.txt +1 -1
  32. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/LICENSE +0 -0
  33. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/README.md +0 -0
  34. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/setup.cfg +0 -0
  35. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/__init__.py +0 -0
  36. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/__init__.pyi +0 -0
  37. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/core/__init__.py +0 -0
  38. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/core/__init__.pyi +0 -0
  39. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/core/base.py +0 -0
  40. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/core/endpoint/__init__.py +0 -0
  41. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/core/endpoint/rpc.py +0 -0
  42. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/core/endpoint/stream.py +0 -0
  43. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/core/exc.py +0 -0
  44. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/core/types.py +0 -0
  45. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/core/urls.py +0 -0
  46. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/core/wire.py +0 -0
  47. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/core/ws/__init__.py +0 -0
  48. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/core/ws/client.py +0 -0
  49. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/__init__.py +0 -0
  50. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/agent_enable_dex_abstraction.py +0 -0
  51. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/agent_set_abstraction.py +0 -0
  52. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/approve_agent.py +0 -0
  53. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/approve_builder_fee.py +0 -0
  54. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/authorize_aqav2_role.py +0 -0
  55. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/cancel.py +0 -0
  56. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/cancel_by_cloid.py +0 -0
  57. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/claim_rewards.py +0 -0
  58. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/core/__init__.py +0 -0
  59. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/core/auth.py +0 -0
  60. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/core/envelope.py +0 -0
  61. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/core/transport/__init__.py +0 -0
  62. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/core/transport/http.py +0 -0
  63. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/core/transport/ws.py +0 -0
  64. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/gossip_priority_bid.py +0 -0
  65. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/hip3_liquidator_transfer.py +0 -0
  66. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/noop.py +0 -0
  67. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/outcome_deployer/__init__.py +0 -0
  68. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/outcome_deployer/activate_outcome_deployer.py +0 -0
  69. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/outcome_deployer/register_and_associate_named_outcome_from_template.py +0 -0
  70. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/outcome_deployer/register_standalone_outcome_from_template.py +0 -0
  71. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/outcome_deployer/settle_outcome.py +0 -0
  72. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/perp_deploy/__init__.py +0 -0
  73. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/perp_deploy/disable_dex.py +0 -0
  74. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/perp_deploy/halt_trading.py +0 -0
  75. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/perp_deploy/set_fee_recipient.py +0 -0
  76. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/perp_deploy/set_margin_modes.py +0 -0
  77. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/perp_deploy/set_margin_table_ids.py +0 -0
  78. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/perp_deploy/set_open_interest_caps.py +0 -0
  79. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/perp_deploy/set_perp_annotation.py +0 -0
  80. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/perp_deploy/set_sub_deployers.py +0 -0
  81. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/reserve_request_weight.py +0 -0
  82. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/schedule_cancel.py +0 -0
  83. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/spot_deploy/__init__.py +0 -0
  84. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/spot_deploy/disable_aligned_quote_token.py +0 -0
  85. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/spot_deploy/disable_quote_token.py +0 -0
  86. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/spot_deploy/enable_aligned_quote_token.py +0 -0
  87. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/spot_deploy/enable_quote_token.py +0 -0
  88. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/spot_deploy/genesis.py +0 -0
  89. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/spot_deploy/register_hyperliquidity.py +0 -0
  90. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/spot_deploy/register_spot.py +0 -0
  91. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/spot_deploy/register_token2.py +0 -0
  92. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/spot_deploy/set_deployer_trading_fee_share.py +0 -0
  93. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/spot_deploy/user_genesis.py +0 -0
  94. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/staking_deposit.py +0 -0
  95. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/staking_withdraw.py +0 -0
  96. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/token_delegate.py +0 -0
  97. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/top_up_isolated_only_margin.py +0 -0
  98. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/twap_cancel.py +0 -0
  99. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/update_isolated_margin.py +0 -0
  100. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/update_leverage.py +0 -0
  101. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/user_dex_abstraction.py +0 -0
  102. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/user_outcome/__init__.py +0 -0
  103. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/user_set_abstraction.py +0 -0
  104. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/validator_l1_stream.py +0 -0
  105. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/exchange/vault_transfer.py +0 -0
  106. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/__init__.py +0 -0
  107. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/active_asset_data.py +0 -0
  108. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/aligned_quote_token_info.py +0 -0
  109. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/all_borrow_lend_reserve_states.py +0 -0
  110. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/all_mids.py +0 -0
  111. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/approved_builders.py +0 -0
  112. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/borrow_lend_reserve_state.py +0 -0
  113. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/borrow_lend_user_state.py +0 -0
  114. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/builder_fee_approved.py +0 -0
  115. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/candle_snapshot.py +0 -0
  116. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/clearinghouse_state.py +0 -0
  117. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/core/__init__.py +0 -0
  118. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/core/transport/__init__.py +0 -0
  119. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/core/transport/http.py +0 -0
  120. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/core/transport/ws.py +0 -0
  121. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/exchange_status.py +0 -0
  122. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/frontend_open_orders.py +0 -0
  123. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/funding_history.py +0 -0
  124. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/gossip_priority_auction_status.py +0 -0
  125. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/l2_book.py +0 -0
  126. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/open_orders.py +0 -0
  127. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/order_status.py +0 -0
  128. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/outcome_meta.py +0 -0
  129. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/outcome_templates.py +0 -0
  130. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/perp_annotation.py +0 -0
  131. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/perp_categories.py +0 -0
  132. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/perp_concise_annotations.py +0 -0
  133. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/perp_deploy_auction_status.py +0 -0
  134. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/perp_dex_limits.py +0 -0
  135. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/perp_dex_status.py +0 -0
  136. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/perps_at_open_interest_cap.py +0 -0
  137. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/predicted_fundings.py +0 -0
  138. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/settled_outcome.py +0 -0
  139. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/spot_clearinghouse_state.py +0 -0
  140. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/spot_deploy_state.py +0 -0
  141. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/spot_meta.py +0 -0
  142. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/spot_meta_and_asset_ctxs.py +0 -0
  143. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/spot_pair_deploy_auction_status.py +0 -0
  144. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/staking_delegations.py +0 -0
  145. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/staking_history.py +0 -0
  146. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/staking_rewards.py +0 -0
  147. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/staking_summary.py +0 -0
  148. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/sub_accounts.py +0 -0
  149. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/token_details.py +0 -0
  150. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/user_abstraction.py +0 -0
  151. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/user_dex_abstraction.py +0 -0
  152. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/user_fees.py +0 -0
  153. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/user_fills.py +0 -0
  154. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/user_fills_by_time.py +0 -0
  155. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/user_funding.py +0 -0
  156. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/user_historical_orders.py +0 -0
  157. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/user_non_funding_ledger_updates.py +0 -0
  158. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/user_portfolio.py +0 -0
  159. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/user_rate_limit.py +0 -0
  160. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/user_referral.py +0 -0
  161. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/user_role.py +0 -0
  162. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/user_twap_slice_fills.py +0 -0
  163. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/user_vault_equities.py +0 -0
  164. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/info/vault_details.py +0 -0
  165. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/main.py +0 -0
  166. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/py.typed +0 -0
  167. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/schemas.py +0 -0
  168. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/streams/__init__.py +0 -0
  169. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/streams/active_asset_ctx.py +0 -0
  170. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/streams/active_asset_data.py +0 -0
  171. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/streams/all_dexs_asset_ctxs.py +0 -0
  172. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/streams/all_dexs_clearinghouse_state.py +0 -0
  173. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/streams/all_mids.py +0 -0
  174. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/streams/bbo.py +0 -0
  175. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/streams/candle.py +0 -0
  176. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/streams/clearinghouse_state.py +0 -0
  177. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/streams/core.py +0 -0
  178. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/streams/fast_asset_ctxs.py +0 -0
  179. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/streams/l2_book.py +0 -0
  180. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/streams/notification.py +0 -0
  181. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/streams/open_orders.py +0 -0
  182. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/streams/order_updates.py +0 -0
  183. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/streams/outcome_meta_updates.py +0 -0
  184. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/streams/spot_state.py +0 -0
  185. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/streams/trades.py +0 -0
  186. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/streams/twap_states.py +0 -0
  187. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/streams/user_events.py +0 -0
  188. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/streams/user_fills.py +0 -0
  189. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/streams/user_fundings.py +0 -0
  190. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/streams/user_non_funding_ledger_updates.py +0 -0
  191. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/streams/user_twap_history.py +0 -0
  192. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/streams/user_twap_slice_fills.py +0 -0
  193. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid/streams/web_data3.py +0 -0
  194. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid.egg-info/SOURCES.txt +0 -0
  195. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid.egg-info/dependency_links.txt +0 -0
  196. {typed_hyperliquid-2.3.1 → typed_hyperliquid-2.5.0}/src/typed_hyperliquid.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: typed-hyperliquid
3
- Version: 2.3.1
3
+ Version: 2.5.0
4
4
  Summary: A fully typed, validated async client for the Hyperliquid API.
5
5
  Author-email: Marcel Claramunt <marcel@tribulnation.com>
6
6
  License-Expression: MIT
@@ -14,7 +14,7 @@ Classifier: Typing :: Typed
14
14
  Requires-Python: >=3.10
15
15
  Description-Content-Type: text/markdown
16
16
  License-File: LICENSE
17
- Requires-Dist: typed-core>=0.9.0
17
+ Requires-Dist: typed-core>=0.10.0
18
18
  Requires-Dist: lazy-loader
19
19
  Requires-Dist: eth-account
20
20
  Requires-Dist: msgpack
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "typed-hyperliquid"
7
- version = "2.3.1"
7
+ version = "2.5.0"
8
8
  authors = [
9
9
  {name="Marcel Claramunt", email="marcel@tribulnation.com"}
10
10
  ]
@@ -18,7 +18,7 @@ classifiers = [
18
18
  "Typing :: Typed",
19
19
  ]
20
20
  dependencies = [
21
- "typed-core>=0.9.0",
21
+ "typed-core>=0.10.0",
22
22
  "lazy-loader",
23
23
  "eth-account",
24
24
  "msgpack"
@@ -1,5 +1,5 @@
1
1
  # Generated by typed-dev — see CONTRIBUTING.md.
2
- from decimal import Decimal
2
+ from typed_core.decimals import PlainDecimal
3
3
  from typing_extensions import Literal, NotRequired, TypedDict
4
4
  from typed_hyperliquid.exchange.core import ExchangeCore
5
5
 
@@ -20,7 +20,7 @@ class Request(TypedDict):
20
20
  """Destination perp DEX name. Empty string for the default USDC perp DEX, or `"spot"` for spot balance."""
21
21
  token: str
22
22
  """Token identifier as `tokenName:tokenId` (e.g. `"PURR:0xc4bf3f870c0e9465323c0b6ed28096c2"`). Only the collateral token can be transferred to or from a perp DEX."""
23
- amount: Decimal
23
+ amount: PlainDecimal | str
24
24
  """Decimal amount of `token` to send, as a string (e.g. `"0.01"`)."""
25
25
  fromSubAccount: str
26
26
  """Source subaccount address in hexadecimal format, or an empty string to send from the main account."""
@@ -40,7 +40,7 @@ class AgentSendAsset(ExchangeCore):
40
40
  source_dex: str,
41
41
  destination_dex: str,
42
42
  token: str,
43
- amount: Decimal,
43
+ amount: PlainDecimal | str,
44
44
  from_sub_account: str,
45
45
  signature_chain_id: str,
46
46
  nonce: int | None = None,
@@ -1,5 +1,5 @@
1
1
  # Generated by typed-dev — see CONTRIBUTING.md.
2
- from decimal import Decimal
2
+ from typed_core.decimals import PlainDecimal
3
3
  from typing_extensions import Literal, NotRequired, TypedDict
4
4
  from typed_hyperliquid.core import TimestampMillis
5
5
  from typed_hyperliquid.exchange.core import ExchangeCore
@@ -24,7 +24,7 @@ class TriggerOrderParams(TypedDict):
24
24
 
25
25
  isMarket: bool
26
26
  """True if the trigger fires a market order; false if it fires a limit order at the order's own price."""
27
- triggerPx: Decimal
27
+ triggerPx: PlainDecimal | str
28
28
  """Mark price at which the trigger fires, as a decimal string."""
29
29
  tpsl: Literal['tp', 'sl']
30
30
  """Whether this trigger order closes the position as a take-profit (`tp`) or a stop-loss (`sl`)."""
@@ -49,9 +49,9 @@ class HyperliquidOrder(TypedDict):
49
49
  """Asset index this order trades, per `info.meta`'s `universe` ordering."""
50
50
  b: bool
51
51
  """True to buy, false to sell."""
52
- p: Decimal
52
+ p: PlainDecimal | str
53
53
  """Limit price, as a decimal string."""
54
- s: Decimal
54
+ s: PlainDecimal | str
55
55
  """Order size, as a decimal string."""
56
56
  r: bool
57
57
  """True to mark this order reduce-only."""
@@ -1,5 +1,6 @@
1
1
  # Generated by typed-dev — see CONTRIBUTING.md.
2
2
  from decimal import Decimal
3
+ from typed_core.decimals import PlainDecimal
3
4
  from typing_extensions import Literal, NotRequired, TypedDict
4
5
  from typed_hyperliquid.core import TimestampMillis
5
6
  from typed_hyperliquid.exchange.core import ExchangeCore
@@ -45,7 +46,7 @@ class TriggerOrderParams(TypedDict):
45
46
 
46
47
  isMarket: bool
47
48
  """True if the trigger fires a market order; false if it fires a limit order at the order's own price."""
48
- triggerPx: Decimal
49
+ triggerPx: PlainDecimal | str
49
50
  """Mark price at which the trigger fires, as a decimal string."""
50
51
  tpsl: Literal['tp', 'sl']
51
52
  """Whether this trigger order closes the position as a take-profit (`tp`) or a stop-loss (`sl`)."""
@@ -89,9 +90,9 @@ class HyperliquidOrder(TypedDict):
89
90
  """Asset index this order trades, per `info.meta`'s `universe` ordering."""
90
91
  b: bool
91
92
  """True to buy, false to sell."""
92
- p: Decimal
93
+ p: PlainDecimal | str
93
94
  """Limit price, as a decimal string."""
94
- s: Decimal
95
+ s: PlainDecimal | str
95
96
  """Order size, as a decimal string."""
96
97
  r: bool
97
98
  """True to mark this order reduce-only."""
@@ -1,5 +1,6 @@
1
1
  # Generated by typed-dev — see CONTRIBUTING.md.
2
2
  from decimal import Decimal
3
+ from typed_core.decimals import PlainDecimal
3
4
  from typing_extensions import Literal, NotRequired, TypedDict
4
5
  from typed_hyperliquid.core import TimestampMillis
5
6
  from typed_hyperliquid.exchange.core import ExchangeCore
@@ -61,7 +62,7 @@ class TriggerOrderParams(TypedDict):
61
62
 
62
63
  isMarket: bool
63
64
  """True if the trigger fires a market order; false if it fires a limit order at the order's own price."""
64
- triggerPx: Decimal
65
+ triggerPx: PlainDecimal | str
65
66
  """Mark price at which the trigger fires, as a decimal string."""
66
67
  tpsl: Literal['tp', 'sl']
67
68
  """Whether this trigger order closes the position as a take-profit (`tp`) or a stop-loss (`sl`)."""
@@ -98,9 +99,9 @@ class HyperliquidOrder(TypedDict):
98
99
  """Asset index this order trades, per `info.meta`'s `universe` ordering."""
99
100
  b: bool
100
101
  """True to buy, false to sell."""
101
- p: Decimal
102
+ p: PlainDecimal | str
102
103
  """Limit price, as a decimal string."""
103
- s: Decimal
104
+ s: PlainDecimal | str
104
105
  """Order size, as a decimal string."""
105
106
  r: bool
106
107
  """True to mark this order reduce-only."""
@@ -1,5 +1,5 @@
1
1
  # Generated by typed-dev — see CONTRIBUTING.md.
2
- from decimal import Decimal
2
+ from typed_core.decimals import PlainDecimal
3
3
  from typing_extensions import Any, Literal, NotRequired, TypedDict
4
4
  from typed_hyperliquid.core import TimestampMillis
5
5
  from typed_hyperliquid.exchange.core import ExchangeCore
@@ -21,7 +21,7 @@ class QuestionTemplateInstance(TypedDict):
21
21
  """Question template id to instantiate, e.g. `"abc"`."""
22
22
  keyword_to_value: list[tuple[str, str]]
23
23
  """Lexicographically-sorted list of `[keyword, value]` pairs, one per the template's declared keywords."""
24
- deployer_fee_scale: Decimal
24
+ deployer_fee_scale: PlainDecimal | str
25
25
  """Decimal string in `[0, 10]` controlling the deployer fee share for this question's fallback and every associated question outcome. Users pay the base outcome trading fee rate times `scale + max(scale, 1)`: the deployer receives the `scale` component and the protocol the rest, e.g. `"1"` doubles the total fee and splits it evenly. Cannot be negative or greater than `10`."""
26
26
 
27
27
 
@@ -1,5 +1,5 @@
1
1
  # Generated by typed-dev — see CONTRIBUTING.md.
2
- from decimal import Decimal
2
+ from typed_core.decimals import PlainDecimal
3
3
  from typing_extensions import Any, Literal, NotRequired, TypedDict
4
4
  from typed_hyperliquid.core import TimestampMillis
5
5
  from typed_hyperliquid.exchange.core import ExchangeCore
@@ -10,7 +10,7 @@ class OutcomeSettlement(TypedDict):
10
10
 
11
11
  outcome: int
12
12
  """Numeric index of the question outcome being settled."""
13
- settle_fraction: Decimal
13
+ settle_fraction: PlainDecimal | str
14
14
  """Decimal string, exactly `"0"` or `"1"` for a question outcome: `outcomeSettlements` must cover exactly the remaining active question outcomes of the question, with exactly one settling to `"1"` and all others to `"0"`."""
15
15
  details: Literal['']
16
16
  """Must be the empty string."""
@@ -1,5 +1,5 @@
1
1
  # Generated by typed-dev — see CONTRIBUTING.md.
2
- from decimal import Decimal
2
+ from typed_core.decimals import PlainDecimal
3
3
  from typing_extensions import Literal, NotRequired, TypedDict
4
4
  from typed_hyperliquid.core import TimestampMillis
5
5
  from typed_hyperliquid.exchange.core import ExchangeCore
@@ -30,7 +30,7 @@ class PerpDeployRegisterAssetRequestFields(TypedDict):
30
30
  """Ticker of the new asset."""
31
31
  sz_decimals: int
32
32
  """Number of decimals used for order/position size on this asset."""
33
- oracle_px: Decimal
33
+ oracle_px: PlainDecimal | str
34
34
  """Initial oracle price for the asset, as a decimal string."""
35
35
  margin_table_id: int
36
36
  """Margin table id to apply to the asset. Must be non-zero."""
@@ -1,5 +1,5 @@
1
1
  # Generated by typed-dev — see CONTRIBUTING.md.
2
- from decimal import Decimal
2
+ from typed_core.decimals import PlainDecimal
3
3
  from typing_extensions import Literal, NotRequired, TypedDict
4
4
  from typed_hyperliquid.core import TimestampMillis
5
5
  from typed_hyperliquid.exchange.core import ExchangeCore
@@ -30,7 +30,7 @@ class PerpDeployRegisterAssetRequest2(TypedDict):
30
30
  """Ticker of the new asset."""
31
31
  sz_decimals: int
32
32
  """Number of decimals used for order/position size on this asset."""
33
- oracle_px: Decimal
33
+ oracle_px: PlainDecimal | str
34
34
  """Initial oracle price for the asset, as a decimal string."""
35
35
  margin_table_id: int
36
36
  """Margin table id to apply to the asset. Must be non-zero."""
@@ -1,5 +1,5 @@
1
1
  # Generated by typed-dev — see CONTRIBUTING.md.
2
- from decimal import Decimal
2
+ from typed_core.decimals import PlainDecimal
3
3
  from typing_extensions import Literal, NotRequired, TypedDict
4
4
  from typed_hyperliquid.core import TimestampMillis
5
5
  from typed_hyperliquid.exchange.core import ExchangeCore
@@ -15,7 +15,7 @@ class PerpDeployDefaultResponse(TypedDict):
15
15
  class PerpDeployFeeScale(TypedDict):
16
16
  """Deployer fee scale settings for one asset."""
17
17
 
18
- scale: Decimal
18
+ scale: PlainDecimal | str
19
19
  """Fee scale, as a decimal string in `[0.0, 3.0]`, or `[0.0, 10.0)` when `growth_mode` is `true`. Scales the portion of the user fee routed to the protocol versus the deployer; see upstream docs for the exact split formula."""
20
20
  growth_mode: bool
21
21
  """Whether growth-mode fee scaling applies for this asset."""
@@ -1,5 +1,5 @@
1
1
  # Generated by typed-dev — see CONTRIBUTING.md.
2
- from decimal import Decimal
2
+ from typed_core.decimals import PlainDecimal
3
3
  from typing_extensions import Literal, NotRequired, TypedDict
4
4
  from typed_hyperliquid.core import TimestampMillis
5
5
  from typed_hyperliquid.exchange.core import ExchangeCore
@@ -13,7 +13,7 @@ class PerpDeployDefaultResponse(TypedDict):
13
13
 
14
14
 
15
15
  class Request(TypedDict):
16
- fundingInterestRates: list[tuple[str, Decimal]]
16
+ fundingInterestRates: list[tuple[str, PlainDecimal | str]]
17
17
  """A list, sorted by asset, of (asset, 8-hour interest rate) pairs."""
18
18
  expiresAfter: NotRequired[TimestampMillis]
19
19
  """Optional expiration timestamp for the signed action."""
@@ -24,7 +24,7 @@ class SetFundingInterestRates(ExchangeCore):
24
24
 
25
25
  async def set_funding_interest_rates(
26
26
  self,
27
- funding_interest_rates: list[tuple[str, Decimal]],
27
+ funding_interest_rates: list[tuple[str, PlainDecimal | str]],
28
28
  *,
29
29
  expires_after: TimestampMillis | None = None,
30
30
  validate: bool | None = None,
@@ -1,5 +1,5 @@
1
1
  # Generated by typed-dev — see CONTRIBUTING.md.
2
- from decimal import Decimal
2
+ from typed_core.decimals import PlainDecimal
3
3
  from typing_extensions import Literal, NotRequired, TypedDict
4
4
  from typed_hyperliquid.core import TimestampMillis
5
5
  from typed_hyperliquid.exchange.core import ExchangeCore
@@ -13,7 +13,7 @@ class PerpDeployDefaultResponse(TypedDict):
13
13
 
14
14
 
15
15
  class Request(TypedDict):
16
- fundingMultipliers: list[tuple[str, Decimal]]
16
+ fundingMultipliers: list[tuple[str, PlainDecimal | str]]
17
17
  """A list, sorted by asset, of (asset, funding multiplier) pairs."""
18
18
  expiresAfter: NotRequired[TimestampMillis]
19
19
  """Optional expiration timestamp for the signed action."""
@@ -24,7 +24,7 @@ class SetFundingMultipliers(ExchangeCore):
24
24
 
25
25
  async def set_funding_multipliers(
26
26
  self,
27
- funding_multipliers: list[tuple[str, Decimal]],
27
+ funding_multipliers: list[tuple[str, PlainDecimal | str]],
28
28
  *,
29
29
  expires_after: TimestampMillis | None = None,
30
30
  validate: bool | None = None,
@@ -1,5 +1,5 @@
1
1
  # Generated by typed-dev — see CONTRIBUTING.md.
2
- from decimal import Decimal
2
+ from typed_core.decimals import PlainDecimal
3
3
  from typing_extensions import Literal, NotRequired, TypedDict
4
4
  from typed_hyperliquid.core import TimestampMillis
5
5
  from typed_hyperliquid.exchange.core import ExchangeCore
@@ -15,11 +15,11 @@ class PerpDeployDefaultResponse(TypedDict):
15
15
  class Request(TypedDict):
16
16
  dex: str
17
17
  """Name of the perp dex."""
18
- oraclePxs: list[tuple[str, Decimal]]
18
+ oraclePxs: list[tuple[str, PlainDecimal | str]]
19
19
  """A list, sorted by asset, of (asset, oracle price) pairs."""
20
- markPxs: list[list[tuple[str, Decimal]]]
20
+ markPxs: list[list[tuple[str, PlainDecimal | str]]]
21
21
  """An outer list, of length 0, 1, or 2, of inner (asset, mark price) lists."""
22
- externalPerpPxs: list[tuple[str, Decimal]]
22
+ externalPerpPxs: list[tuple[str, PlainDecimal | str]]
23
23
  """A list, sorted by asset, of (asset, external price) pairs that guard against sudden mark price deviations. Must include every asset on the dex. Ideally sourced externally by the deployer, but may fall back to an EMA of recent mark prices."""
24
24
  expiresAfter: NotRequired[TimestampMillis]
25
25
  """Optional expiration timestamp for the signed action."""
@@ -32,9 +32,9 @@ class SetOracle(ExchangeCore):
32
32
  self,
33
33
  dex: str,
34
34
  *,
35
- oracle_pxs: list[tuple[str, Decimal]],
36
- mark_pxs: list[list[tuple[str, Decimal]]],
37
- external_perp_pxs: list[tuple[str, Decimal]],
35
+ oracle_pxs: list[tuple[str, PlainDecimal | str]],
36
+ mark_pxs: list[list[tuple[str, PlainDecimal | str]]],
37
+ external_perp_pxs: list[tuple[str, PlainDecimal | str]],
38
38
  expires_after: TimestampMillis | None = None,
39
39
  validate: bool | None = None,
40
40
  transport: Literal['http', 'ws'] = 'http',
@@ -1,5 +1,5 @@
1
1
  # Generated by typed-dev — see CONTRIBUTING.md.
2
- from decimal import Decimal
2
+ from typed_core.decimals import PlainDecimal
3
3
  from typing_extensions import Literal, NotRequired, TypedDict
4
4
  from typed_hyperliquid.exchange.core import ExchangeCore
5
5
 
@@ -13,7 +13,7 @@ class Request(TypedDict):
13
13
  """Name of the perp DEX to transfer to. Use an empty string for the default USDC perp DEX."""
14
14
  token: str
15
15
  """Token to send, in `tokenName:tokenId` format (e.g. "PURR:0xc4bf3f870c0e9465323c0b6ed28096c2")."""
16
- amount: Decimal
16
+ amount: PlainDecimal | str
17
17
  """Token amount to send, as a decimal string (e.g. "0.01")."""
18
18
  fromSubAccount: str
19
19
  """Source subaccount address, 42-character hexadecimal, or an empty string when not sending from a subaccount."""
@@ -38,7 +38,7 @@ class SendAsset(ExchangeCore):
38
38
  source_dex: str,
39
39
  destination_dex: str,
40
40
  token: str,
41
- amount: Decimal,
41
+ amount: PlainDecimal | str,
42
42
  from_sub_account: str,
43
43
  signature_chain_id: str,
44
44
  nonce: int | None = None,
@@ -1,5 +1,5 @@
1
1
  # Generated by typed-dev — see CONTRIBUTING.md.
2
- from decimal import Decimal
2
+ from typed_core.decimals import PlainDecimal
3
3
  from typing_extensions import Literal, NotRequired, TypedDict
4
4
  from typed_hyperliquid.exchange.core import ExchangeCore
5
5
 
@@ -7,7 +7,7 @@ from typed_hyperliquid.exchange.core import ExchangeCore
7
7
  class Request(TypedDict):
8
8
  token: str
9
9
  """Token to send, in `tokenName:tokenId` format (e.g. "PURR:0xc4bf3f870c0e9465323c0b6ed28096c2")."""
10
- amount: Decimal
10
+ amount: PlainDecimal | str
11
11
  """Token amount to send, as a decimal string (e.g. "0.01")."""
12
12
  sourceDex: str
13
13
  """Name of the perp DEX to transfer from. Use an empty string for the default USDC perp DEX."""
@@ -39,7 +39,7 @@ class SendToEvmWithData(ExchangeCore):
39
39
  self,
40
40
  *,
41
41
  token: str,
42
- amount: Decimal,
42
+ amount: PlainDecimal | str,
43
43
  source_dex: str,
44
44
  destination_recipient: str,
45
45
  address_encoding: Literal['hex', 'base58'],
@@ -1,5 +1,5 @@
1
1
  # Generated by typed-dev — see CONTRIBUTING.md.
2
- from decimal import Decimal
2
+ from typed_core.decimals import PlainDecimal
3
3
  from typing_extensions import Literal, NotRequired, TypedDict
4
4
  from typed_hyperliquid.core import TimestampMillis
5
5
  from typed_hyperliquid.exchange.core import ExchangeCore
@@ -10,7 +10,7 @@ class Request(TypedDict):
10
10
  """Destination address, 42-character hexadecimal (e.g. "0x0000000000000000000000000000000000000000")."""
11
11
  token: str
12
12
  """Spot token to send, in `tokenName:tokenId` format (e.g. "PURR:0xc4bf3f870c0e9465323c0b6ed28096c2")."""
13
- amount: Decimal
13
+ amount: PlainDecimal | str
14
14
  """Token amount to send, as a decimal string (e.g. "0.01")."""
15
15
  signatureChainId: str
16
16
  """Hex-encoded chain id used when signing the action, e.g. "0xa4b1" for Arbitrum."""
@@ -33,7 +33,7 @@ class SpotTransfer(ExchangeCore):
33
33
  *,
34
34
  destination: str,
35
35
  token: str,
36
- amount: Decimal,
36
+ amount: PlainDecimal | str,
37
37
  signature_chain_id: str,
38
38
  time: TimestampMillis | None = None,
39
39
  nonce: int | None = None,
@@ -1,5 +1,5 @@
1
1
  # Generated by typed-dev — see CONTRIBUTING.md.
2
- from decimal import Decimal
2
+ from typed_core.decimals import PlainDecimal
3
3
  from typing_extensions import Literal, NotRequired, TypedDict
4
4
  from typed_hyperliquid.core import TimestampMillis
5
5
  from typed_hyperliquid.exchange.core import ExchangeCore
@@ -12,7 +12,7 @@ class TwapOrderParams(TypedDict):
12
12
  """Asset index this TWAP trades, per `info.meta`'s `universe` ordering."""
13
13
  b: bool
14
14
  """True to buy, false to sell."""
15
- s: Decimal
15
+ s: PlainDecimal | str
16
16
  """Total size to execute over the TWAP duration, as a decimal string."""
17
17
  r: bool
18
18
  """True to mark this TWAP reduce-only."""
@@ -1,11 +1,11 @@
1
1
  # Generated by typed-dev — see CONTRIBUTING.md.
2
- from decimal import Decimal
2
+ from typed_core.decimals import PlainDecimal
3
3
  from typing_extensions import Literal, NotRequired, TypedDict
4
4
  from typed_hyperliquid.exchange.core import ExchangeCore
5
5
 
6
6
 
7
7
  class Request(TypedDict):
8
- amount: Decimal
8
+ amount: PlainDecimal | str
9
9
  """USDC amount to transfer, as a decimal string (e.g. "1" for 1 USDC)."""
10
10
  toPerp: bool
11
11
  """Whether to transfer from the spot wallet to the perp wallet (`true`), or from perp to spot (`false`)."""
@@ -27,7 +27,7 @@ class UsdClassTransfer(ExchangeCore):
27
27
 
28
28
  async def usd_class_transfer(
29
29
  self,
30
- amount: Decimal,
30
+ amount: PlainDecimal | str,
31
31
  *,
32
32
  to_perp: bool,
33
33
  signature_chain_id: str,
@@ -1,5 +1,5 @@
1
1
  # Generated by typed-dev — see CONTRIBUTING.md.
2
- from decimal import Decimal
2
+ from typed_core.decimals import PlainDecimal
3
3
  from typing_extensions import Literal, NotRequired, TypedDict
4
4
  from typed_hyperliquid.core import TimestampMillis
5
5
  from typed_hyperliquid.exchange.core import ExchangeCore
@@ -8,7 +8,7 @@ from typed_hyperliquid.exchange.core import ExchangeCore
8
8
  class Request(TypedDict):
9
9
  destination: str
10
10
  """Destination address, 42-character hexadecimal (e.g. "0x0000000000000000000000000000000000000000")."""
11
- amount: Decimal
11
+ amount: PlainDecimal | str
12
12
  """USDC amount to send, as a decimal string (e.g. "1" for 1 USDC)."""
13
13
  signatureChainId: str
14
14
  """Hex-encoded chain id used when signing the action, e.g. "0xa4b1" for Arbitrum."""
@@ -30,7 +30,7 @@ class UsdcTransfer(ExchangeCore):
30
30
  self,
31
31
  *,
32
32
  destination: str,
33
- amount: Decimal,
33
+ amount: PlainDecimal | str,
34
34
  signature_chain_id: str,
35
35
  time: TimestampMillis | None = None,
36
36
  nonce: int | None = None,
@@ -1,5 +1,5 @@
1
1
  # Generated by typed-dev — see CONTRIBUTING.md.
2
- from decimal import Decimal
2
+ from typed_core.decimals import PlainDecimal
3
3
  from typing_extensions import Literal, NotRequired, TypedDict
4
4
  from typed_hyperliquid.core import TimestampMillis
5
5
  from typed_hyperliquid.exchange.core import ExchangeCore
@@ -13,7 +13,7 @@ class MergeOutcomeResult(TypedDict):
13
13
  class Request(TypedDict):
14
14
  outcome: int
15
15
  """Numeric index of the HIP-4 outcome to merge, assigned when it was created."""
16
- amount: Decimal | None
16
+ amount: PlainDecimal | str | None
17
17
  """Decimal string amount of Yes and No shares to merge back into quote token, e.g. "123.0". Null merges the caller's full matched Yes/No balance for this outcome."""
18
18
  expiresAfter: NotRequired[TimestampMillis]
19
19
  """Optional expiration timestamp for the signed action."""
@@ -26,7 +26,7 @@ class MergeOutcome(ExchangeCore):
26
26
  self,
27
27
  outcome: int,
28
28
  *,
29
- amount: Decimal | None,
29
+ amount: PlainDecimal | str | None,
30
30
  expires_after: TimestampMillis | None = None,
31
31
  validate: bool | None = None,
32
32
  transport: Literal['http', 'ws'] = 'http',
@@ -1,5 +1,5 @@
1
1
  # Generated by typed-dev — see CONTRIBUTING.md.
2
- from decimal import Decimal
2
+ from typed_core.decimals import PlainDecimal
3
3
  from typing_extensions import Literal, NotRequired, TypedDict
4
4
  from typed_hyperliquid.core import TimestampMillis
5
5
  from typed_hyperliquid.exchange.core import ExchangeCore
@@ -13,7 +13,7 @@ class MergeQuestionResult(TypedDict):
13
13
  class Request(TypedDict):
14
14
  question: int
15
15
  """Numeric index of the HIP-4 question to merge, assigned when it was created."""
16
- amount: Decimal | None
16
+ amount: PlainDecimal | str | None
17
17
  """Decimal string amount of Yes shares to merge from each of the question's outcomes into quote token, e.g. "123.0". Null merges the caller's full matched Yes-share balance across the question's outcomes."""
18
18
  expiresAfter: NotRequired[TimestampMillis]
19
19
  """Optional expiration timestamp for the signed action."""
@@ -26,7 +26,7 @@ class MergeQuestion(ExchangeCore):
26
26
  self,
27
27
  question: int,
28
28
  *,
29
- amount: Decimal | None,
29
+ amount: PlainDecimal | str | None,
30
30
  expires_after: TimestampMillis | None = None,
31
31
  validate: bool | None = None,
32
32
  transport: Literal['http', 'ws'] = 'http',
@@ -1,5 +1,5 @@
1
1
  # Generated by typed-dev — see CONTRIBUTING.md.
2
- from decimal import Decimal
2
+ from typed_core.decimals import PlainDecimal
3
3
  from typing_extensions import Literal, NotRequired, TypedDict
4
4
  from typed_hyperliquid.core import TimestampMillis
5
5
  from typed_hyperliquid.exchange.core import ExchangeCore
@@ -15,7 +15,7 @@ class Request(TypedDict):
15
15
  """Numeric index of the HIP-4 question that both the source outcome and its siblings belong to."""
16
16
  outcome: int
17
17
  """Numeric index of the HIP-4 outcome whose No shares are being converted."""
18
- amount: Decimal
18
+ amount: PlainDecimal | str
19
19
  """Decimal string amount of No shares to convert, e.g. "123.0". Produces an equal amount of Yes shares on every other outcome associated with `question`."""
20
20
  expiresAfter: NotRequired[TimestampMillis]
21
21
  """Optional expiration timestamp for the signed action."""
@@ -29,7 +29,7 @@ class NegateOutcome(ExchangeCore):
29
29
  *,
30
30
  question: int,
31
31
  outcome: int,
32
- amount: Decimal,
32
+ amount: PlainDecimal | str,
33
33
  expires_after: TimestampMillis | None = None,
34
34
  validate: bool | None = None,
35
35
  transport: Literal['http', 'ws'] = 'http',
@@ -1,5 +1,5 @@
1
1
  # Generated by typed-dev — see CONTRIBUTING.md.
2
- from decimal import Decimal
2
+ from typed_core.decimals import PlainDecimal
3
3
  from typing_extensions import Literal, NotRequired, TypedDict
4
4
  from typed_hyperliquid.core import TimestampMillis
5
5
  from typed_hyperliquid.exchange.core import ExchangeCore
@@ -8,7 +8,7 @@ from typed_hyperliquid.exchange.core import ExchangeCore
8
8
  class Request(TypedDict):
9
9
  outcome: int
10
10
  """Numeric index of the HIP-4 outcome to split, assigned when it was created."""
11
- amount: Decimal
11
+ amount: PlainDecimal | str
12
12
  """Decimal string amount of quote token to split, e.g. "123.0". Produces an equal amount of Yes and No shares."""
13
13
  expiresAfter: NotRequired[TimestampMillis]
14
14
  """Optional expiration timestamp for the signed action."""
@@ -26,7 +26,7 @@ class SplitOutcome(ExchangeCore):
26
26
  self,
27
27
  outcome: int,
28
28
  *,
29
- amount: Decimal,
29
+ amount: PlainDecimal | str,
30
30
  expires_after: TimestampMillis | None = None,
31
31
  validate: bool | None = None,
32
32
  transport: Literal['http', 'ws'] = 'http',
@@ -1,12 +1,12 @@
1
1
  # Generated by typed-dev — see CONTRIBUTING.md.
2
- from decimal import Decimal
2
+ from typed_core.decimals import PlainDecimal
3
3
  from typing_extensions import Literal, NotRequired, TypedDict
4
4
  from typed_hyperliquid.core import TimestampMillis
5
5
  from typed_hyperliquid.exchange.core import ExchangeCore
6
6
 
7
7
 
8
8
  class Request(TypedDict):
9
- amount: Decimal
9
+ amount: PlainDecimal | str
10
10
  """USDC amount to withdraw, as a decimal string (e.g. "1" for 1 USDC)."""
11
11
  destination: str
12
12
  """Destination address, 42-character hexadecimal (e.g. "0x0000000000000000000000000000000000000000")."""
@@ -28,7 +28,7 @@ class Withdraw3(ExchangeCore):
28
28
 
29
29
  async def withdraw3(
30
30
  self,
31
- amount: Decimal,
31
+ amount: PlainDecimal | str,
32
32
  *,
33
33
  destination: str,
34
34
  signature_chain_id: str,
@@ -13,10 +13,14 @@ class PerpMarginTier(TypedDict):
13
13
 
14
14
 
15
15
  class PerpUniverseAsset(TypedDict):
16
+ deployerFeeScale: NotRequired[Decimal]
17
+ """HIP-3 deployer fee scale for this asset, as a decimal string (e.g. "1.0"). Scales the protocol fee by `1 + s` when below 1 and by `2s` otherwise, and sets the deployer's share of fees. Present on builder-deployed (HIP-3) dex assets; omitted on Hyperliquid's own dex. This per-asset value is authoritative; `perpDexs` does not report a dex-level scale."""
16
18
  growthMode: NotRequired[Literal['enabled']]
17
- """Present and set to "enabled" when this asset participates in the HIP-3 growth-mode fee schedule (`SetGrowthModes`); omitted otherwise."""
19
+ """Present and set to "enabled" when this asset participates in the HIP-3 growth-mode fee schedule (`SetGrowthModes`), which scales its protocol fees by 0.1; omitted otherwise."""
18
20
  isDelisted: NotRequired[bool]
19
21
  """Whether this asset has been delisted; delisted assets no longer accept new positions."""
22
+ lastFeeScaleChangeTime: NotRequired[TimestampIso]
23
+ """ISO-8601 timestamp of the most recent `deployerFeeScale` change for this asset."""
20
24
  lastGrowthModeChangeTime: NotRequired[TimestampIso]
21
25
  """ISO-8601 timestamp of the most recent `growthMode` change for this asset."""
22
26
  marginMode: NotRequired[Literal['strictIsolated', 'noCross', 'normal']]
@@ -26,13 +26,13 @@ class PerpDex(TypedDict):
26
26
  deployer: str
27
27
  """Address that deployed this perp dex."""
28
28
  deployerFeeScale: NotRequired[Decimal]
29
- """Fee scale factor applied to the deployer's share of trading fees, as a decimal string."""
29
+ """Dex-level deployer fee scale, as a decimal string. Not observed in live `perpDexs` responses on any dex; the per-asset `deployerFeeScale` in `meta`/`allPerpMetas` is authoritative and should be used instead."""
30
30
  feeRecipient: str | None
31
31
  """Address receiving the deployer's fee share, or `null` if unset."""
32
32
  fullName: str
33
33
  """Full display name of the perp dex."""
34
34
  lastDeployerFeeScaleChangeTime: NotRequired[TimestampIso]
35
- """ISO 8601 timestamp of the last change to `deployerFeeScale`."""
35
+ """ISO 8601 timestamp of the last change to the dex-level `deployerFeeScale`. Not observed live; see the per-asset `lastFeeScaleChangeTime` in `meta`."""
36
36
  name: str
37
37
  """Short name of the perp dex."""
38
38
  oracleUpdater: str | None