ddx-python 0.0.0__tar.gz → 0.0.8__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 (168) hide show
  1. {ddx_python-0.0.0 → ddx_python-0.0.8}/Cargo.lock +4556 -1938
  2. {ddx_python-0.0.0 → ddx_python-0.0.8}/Cargo.toml +0 -2
  3. {ddx_python-0.0.0 → ddx_python-0.0.8}/PKG-INFO +3 -3
  4. ddx_python-0.0.8/core/common/Cargo.toml +67 -0
  5. ddx_python-0.0.8/core/common/src/constants.rs +47 -0
  6. ddx_python-0.0.8/core/common/src/error.rs +115 -0
  7. ddx_python-0.0.8/core/common/src/global.rs +121 -0
  8. ddx_python-0.0.8/core/common/src/lib.rs +21 -0
  9. ddx_python-0.0.8/core/common/src/types/accounting.rs +222 -0
  10. ddx_python-0.0.8/core/common/src/types/contract.rs +84 -0
  11. ddx_python-0.0.8/core/common/src/types/exported.rs +39 -0
  12. ddx_python-0.0.8/core/common/src/types/global.rs +144 -0
  13. ddx_python-0.0.8/core/common/src/types/identifiers.rs +156 -0
  14. ddx_python-0.0.8/core/common/src/types/mod.rs +121 -0
  15. ddx_python-0.0.8/core/common/src/types/node.rs +358 -0
  16. ddx_python-0.0.8/core/common/src/types/primitives/numbers.rs +754 -0
  17. ddx_python-0.0.8/core/common/src/types/primitives.rs +1108 -0
  18. ddx_python-0.0.8/core/common/src/types/state.rs +239 -0
  19. ddx_python-0.0.8/core/common/src/types/transaction.rs +54 -0
  20. ddx_python-0.0.8/core/common/src/util/backoff.rs +13 -0
  21. ddx_python-0.0.8/core/common/src/util/mem.rs +22 -0
  22. ddx_python-0.0.8/core/common/src/util/mod.rs +14 -0
  23. ddx_python-0.0.8/core/common/src/util/tokenize.rs +466 -0
  24. ddx_python-0.0.8/core/common/src/util/tracing.rs +91 -0
  25. ddx_python-0.0.8/core/crypto/Cargo.toml +39 -0
  26. ddx_python-0.0.8/core/crypto/src/eip712.rs +149 -0
  27. ddx_python-0.0.8/core/crypto/src/encryption.rs +83 -0
  28. ddx_python-0.0.8/core/crypto/src/lib.rs +554 -0
  29. ddx_python-0.0.8/core/crypto/src/signing.rs +64 -0
  30. ddx_python-0.0.8/core/crypto/src/test_accounts.rs +35 -0
  31. ddx_python-0.0.8/core/macros/Cargo.toml +21 -0
  32. ddx_python-0.0.8/core/macros/src/lib.rs +653 -0
  33. ddx_python-0.0.8/core/specs/Cargo.toml +21 -0
  34. ddx_python-0.0.8/core/specs/src/eval.rs +982 -0
  35. ddx_python-0.0.8/core/specs/src/float_parser.rs +46 -0
  36. ddx_python-0.0.8/core/specs/src/lib.rs +69 -0
  37. ddx_python-0.0.8/core/specs/src/str_parser.rs +155 -0
  38. ddx_python-0.0.8/ddx-operator/core/Cargo.toml +110 -0
  39. ddx_python-0.0.8/ddx-operator/core/src/constants.rs +302 -0
  40. ddx_python-0.0.8/ddx-operator/core/src/execution/accounting.rs +290 -0
  41. ddx_python-0.0.8/ddx-operator/core/src/execution/error.rs +198 -0
  42. ddx_python-0.0.8/ddx-operator/core/src/execution/mod.rs +7 -0
  43. ddx_python-0.0.8/ddx-operator/core/src/execution/test_utils.rs +780 -0
  44. ddx_python-0.0.8/ddx-operator/core/src/execution/validation.rs +3131 -0
  45. ddx_python-0.0.8/ddx-operator/core/src/lib.rs +26 -0
  46. ddx_python-0.0.8/ddx-operator/core/src/specs/index_fund.rs +109 -0
  47. ddx_python-0.0.8/ddx-operator/core/src/specs/quarterly_expiry_future.rs +309 -0
  48. ddx_python-0.0.8/ddx-operator/core/src/specs/types.rs +405 -0
  49. ddx_python-0.0.8/ddx-operator/core/src/specs.rs +677 -0
  50. ddx_python-0.0.8/ddx-operator/core/src/tree/README.md +179 -0
  51. ddx_python-0.0.8/ddx-operator/core/src/tree/mod.rs +57 -0
  52. ddx_python-0.0.8/ddx-operator/core/src/tree/shared_smt.rs +900 -0
  53. ddx_python-0.0.8/ddx-operator/core/src/tree/shared_store.rs +102 -0
  54. ddx_python-0.0.8/ddx-operator/core/src/trusted_settings.rs +26 -0
  55. ddx_python-0.0.8/ddx-operator/core/src/types/accounting/balance.rs +260 -0
  56. ddx_python-0.0.8/ddx-operator/core/src/types/accounting.rs +811 -0
  57. ddx_python-0.0.8/ddx-operator/core/src/types/checkpoint.rs +130 -0
  58. ddx_python-0.0.8/ddx-operator/core/src/types/clock.rs +35 -0
  59. ddx_python-0.0.8/ddx-operator/core/src/types/contract_events.rs +308 -0
  60. ddx_python-0.0.8/ddx-operator/core/src/types/ethereum.rs +615 -0
  61. ddx_python-0.0.8/ddx-operator/core/src/types/identifiers.rs +1085 -0
  62. ddx_python-0.0.8/ddx-operator/core/src/types/mod.rs +24 -0
  63. ddx_python-0.0.8/ddx-operator/core/src/types/primitives.rs +834 -0
  64. ddx_python-0.0.8/ddx-operator/core/src/types/request.rs +1752 -0
  65. ddx_python-0.0.8/ddx-operator/core/src/types/state/exported.rs +2168 -0
  66. ddx_python-0.0.8/ddx-operator/core/src/types/state/tradable_product.rs +274 -0
  67. ddx_python-0.0.8/ddx-operator/core/src/types/state/trader.rs +639 -0
  68. ddx_python-0.0.8/ddx-operator/core/src/types/state.rs +1152 -0
  69. ddx_python-0.0.8/ddx-operator/core/src/types/transaction.rs +1976 -0
  70. ddx_python-0.0.8/ddx-operator/core/src/util/convert.rs +6 -0
  71. ddx_python-0.0.8/ddx-operator/core/src/util/eip712.rs +313 -0
  72. ddx_python-0.0.8/ddx-operator/core/src/util/env.rs +127 -0
  73. ddx_python-0.0.8/ddx-operator/core/src/util/mod.rs +268 -0
  74. ddx_python-0.0.8/ddx-operator/core/src/util/serde.rs +127 -0
  75. ddx_python-0.0.8/ddx-python/Cargo.toml +27 -0
  76. ddx_python-0.0.8/ddx-python/python/ddx_python/__init__.py +16 -0
  77. ddx_python-0.0.8/ddx-python/python/ddx_python/app_config/certs/Intel_ITA_MAA_public.pem +11 -0
  78. ddx_python-0.0.8/ddx-python/python/ddx_python/app_config/certs/copytrading/testnet/binance/binance_m1fCDJhzjYXzHWGDmAGaivgrnXT9vfAwRpELCF3vwSJNKyaxdIArgJXPaumuMVWT_private.pem +3 -0
  79. ddx_python-0.0.8/ddx-python/python/ddx_python/app_config/certs/copytrading/testnet/binance/binance_m1fCDJhzjYXzHWGDmAGaivgrnXT9vfAwRpELCF3vwSJNKyaxdIArgJXPaumuMVWT_public.pem +3 -0
  80. ddx_python-0.0.8/ddx-python/python/ddx_python/app_config/certs/pricefeedfuzzer.crt +19 -0
  81. ddx_python-0.0.8/ddx-python/python/ddx_python/app_config/certs/test_kyc.crt +19 -0
  82. ddx_python-0.0.8/ddx-python/python/ddx_python/app_config/copytrading/copy-trading-addresses.json +14 -0
  83. ddx_python-0.0.8/ddx-python/python/ddx_python/app_config/ethereum/addresses.json +497 -0
  84. ddx_python-0.0.8/ddx-python/python/ddx_python/app_config/scripts/copy-trading-node-devnet.bash +19 -0
  85. ddx_python-0.0.8/ddx-python/python/ddx_python/app_config/scripts/copy-trading-proposer.bash +24 -0
  86. ddx_python-0.0.8/ddx-python/python/ddx_python/app_config/scripts/cypress.bash +24 -0
  87. ddx_python-0.0.8/ddx-python/python/ddx_python/app_config/scripts/ddx-proposer.bash +24 -0
  88. ddx_python-0.0.8/ddx-python/python/ddx_python/app_config/scripts/entry-profiler.bash +13 -0
  89. ddx_python-0.0.8/ddx-python/python/ddx_python/app_config/scripts/entry-ts.bash +9 -0
  90. ddx_python-0.0.8/ddx-python/python/ddx_python/app_config/scripts/jupyter.bash +14 -0
  91. ddx_python-0.0.8/ddx-python/python/ddx_python/app_config/scripts/kyc-node-devnet.bash +17 -0
  92. ddx_python-0.0.8/ddx-python/python/ddx_python/app_config/scripts/kyc-proposer.bash +24 -0
  93. ddx_python-0.0.8/ddx-python/python/ddx_python/app_config/scripts/maturin.bash +7 -0
  94. ddx_python-0.0.8/ddx-python/python/ddx_python/app_config/scripts/operator-build.bash +172 -0
  95. ddx_python-0.0.8/ddx-python/python/ddx_python/app_config/scripts/operator-eth-bridge.bash +7 -0
  96. ddx_python-0.0.8/ddx-python/python/ddx_python/app_config/scripts/operator-init.bash +86 -0
  97. ddx_python-0.0.8/ddx-python/python/ddx_python/app_config/scripts/operator-node-devnet.bash +30 -0
  98. ddx_python-0.0.8/ddx-python/python/ddx_python/app_config/scripts/operator-run.bash +30 -0
  99. ddx_python-0.0.8/ddx-python/python/ddx_python/app_config/scripts/operator-setup-build.bash +42 -0
  100. ddx_python-0.0.8/ddx-python/python/ddx_python/app_config/scripts/rust-sgx-sdk.bash +22 -0
  101. ddx_python-0.0.8/ddx-python/python/ddx_python/app_config/scripts/tokio-console.bash +5 -0
  102. ddx_python-0.0.8/ddx-python/python/ddx_python/app_config/sql/copy-trading.sql +33 -0
  103. ddx_python-0.0.8/ddx-python/python/ddx_python/app_config/sql/kyc.sql +75 -0
  104. ddx_python-0.0.8/ddx-python/python/ddx_python/app_config/sql/migrations.sql +869 -0
  105. ddx_python-0.0.8/ddx-python/python/ddx_python/app_config/test-accounts.json +128 -0
  106. ddx_python-0.0.8/ddx-python/python/ddx_python/config.py +15 -0
  107. ddx_python-0.0.8/ddx-python/python/tests/test_ddx_common.py +19 -0
  108. ddx_python-0.0.0/ddx-python/tests/decimal_test.py → ddx_python-0.0.8/ddx-python/python/tests/test_decimal.py +5 -3
  109. ddx_python-0.0.8/ddx-python/src/ddx.rs +187 -0
  110. ddx_python-0.0.8/ddx-python/src/decimal.rs +30 -0
  111. ddx_python-0.0.8/ddx-python/src/h256.rs +30 -0
  112. ddx_python-0.0.8/ddx-python/src/lib.rs +32 -0
  113. {ddx_python-0.0.0 → ddx_python-0.0.8}/pyproject.toml +8 -4
  114. ddx_python-0.0.8/python/ddx_python/__init__.py +16 -0
  115. ddx_python-0.0.8/python/ddx_python/app_config/certs/Intel_ITA_MAA_public.pem +11 -0
  116. ddx_python-0.0.8/python/ddx_python/app_config/certs/copytrading/testnet/binance/binance_m1fCDJhzjYXzHWGDmAGaivgrnXT9vfAwRpELCF3vwSJNKyaxdIArgJXPaumuMVWT_private.pem +3 -0
  117. ddx_python-0.0.8/python/ddx_python/app_config/certs/copytrading/testnet/binance/binance_m1fCDJhzjYXzHWGDmAGaivgrnXT9vfAwRpELCF3vwSJNKyaxdIArgJXPaumuMVWT_public.pem +3 -0
  118. ddx_python-0.0.8/python/ddx_python/app_config/certs/pricefeedfuzzer.crt +19 -0
  119. ddx_python-0.0.8/python/ddx_python/app_config/certs/test_kyc.crt +19 -0
  120. ddx_python-0.0.8/python/ddx_python/app_config/copytrading/copy-trading-addresses.json +14 -0
  121. ddx_python-0.0.8/python/ddx_python/app_config/ethereum/addresses.json +497 -0
  122. ddx_python-0.0.8/python/ddx_python/app_config/scripts/copy-trading-node-devnet.bash +19 -0
  123. ddx_python-0.0.8/python/ddx_python/app_config/scripts/copy-trading-proposer.bash +24 -0
  124. ddx_python-0.0.8/python/ddx_python/app_config/scripts/cypress.bash +24 -0
  125. ddx_python-0.0.8/python/ddx_python/app_config/scripts/ddx-proposer.bash +24 -0
  126. ddx_python-0.0.8/python/ddx_python/app_config/scripts/entry-profiler.bash +13 -0
  127. ddx_python-0.0.8/python/ddx_python/app_config/scripts/entry-ts.bash +9 -0
  128. ddx_python-0.0.8/python/ddx_python/app_config/scripts/jupyter.bash +14 -0
  129. ddx_python-0.0.8/python/ddx_python/app_config/scripts/kyc-node-devnet.bash +17 -0
  130. ddx_python-0.0.8/python/ddx_python/app_config/scripts/kyc-proposer.bash +24 -0
  131. ddx_python-0.0.8/python/ddx_python/app_config/scripts/maturin.bash +7 -0
  132. ddx_python-0.0.8/python/ddx_python/app_config/scripts/operator-build.bash +172 -0
  133. ddx_python-0.0.8/python/ddx_python/app_config/scripts/operator-eth-bridge.bash +7 -0
  134. ddx_python-0.0.8/python/ddx_python/app_config/scripts/operator-init.bash +86 -0
  135. ddx_python-0.0.8/python/ddx_python/app_config/scripts/operator-node-devnet.bash +30 -0
  136. ddx_python-0.0.8/python/ddx_python/app_config/scripts/operator-run.bash +30 -0
  137. ddx_python-0.0.8/python/ddx_python/app_config/scripts/operator-setup-build.bash +42 -0
  138. ddx_python-0.0.8/python/ddx_python/app_config/scripts/rust-sgx-sdk.bash +22 -0
  139. ddx_python-0.0.8/python/ddx_python/app_config/scripts/tokio-console.bash +5 -0
  140. ddx_python-0.0.8/python/ddx_python/app_config/sql/copy-trading.sql +33 -0
  141. ddx_python-0.0.8/python/ddx_python/app_config/sql/kyc.sql +75 -0
  142. ddx_python-0.0.8/python/ddx_python/app_config/sql/migrations.sql +869 -0
  143. ddx_python-0.0.8/python/ddx_python/app_config/test-accounts.json +128 -0
  144. ddx_python-0.0.8/python/ddx_python/config.py +15 -0
  145. ddx_python-0.0.0/ddx-python/Cargo.toml +0 -12
  146. ddx_python-0.0.0/ddx-python/src/decimal.rs +0 -262
  147. ddx_python-0.0.0/ddx-python/src/lib.rs +0 -19
  148. {ddx_python-0.0.0 → ddx_python-0.0.8}/ddx-python/README.md +0 -0
  149. {ddx_python-0.0.0/ddx-python → ddx_python-0.0.8/ddx-python/python}/tests/__init__.py +0 -0
  150. {ddx_python-0.0.0/ddx-python → ddx_python-0.0.8/ddx-python/python}/tests/decimal/Add_000_001.csv +0 -0
  151. {ddx_python-0.0.0/ddx-python → ddx_python-0.0.8/ddx-python/python}/tests/decimal/Add_100_100.csv +0 -0
  152. {ddx_python-0.0.0/ddx-python → ddx_python-0.0.8/ddx-python/python}/tests/decimal/Add_111_111.csv +0 -0
  153. {ddx_python-0.0.0/ddx-python → ddx_python-0.0.8/ddx-python/python}/tests/decimal/Div_100_100.csv +0 -0
  154. {ddx_python-0.0.0/ddx-python → ddx_python-0.0.8/ddx-python/python}/tests/decimal/Div_101_010.csv +0 -0
  155. {ddx_python-0.0.0/ddx-python → ddx_python-0.0.8/ddx-python/python}/tests/decimal/Div_110_000.csv +0 -0
  156. {ddx_python-0.0.0/ddx-python → ddx_python-0.0.8/ddx-python/python}/tests/decimal/Div_111_110.csv +0 -0
  157. {ddx_python-0.0.0/ddx-python → ddx_python-0.0.8/ddx-python/python}/tests/decimal/Div_111_111.csv +0 -0
  158. {ddx_python-0.0.0/ddx-python → ddx_python-0.0.8/ddx-python/python}/tests/decimal/Mul_001_000.csv +0 -0
  159. {ddx_python-0.0.0/ddx-python → ddx_python-0.0.8/ddx-python/python}/tests/decimal/Mul_010_111.csv +0 -0
  160. {ddx_python-0.0.0/ddx-python → ddx_python-0.0.8/ddx-python/python}/tests/decimal/Mul_100_101.csv +0 -0
  161. {ddx_python-0.0.0/ddx-python → ddx_python-0.0.8/ddx-python/python}/tests/decimal/Mul_110_001.csv +0 -0
  162. {ddx_python-0.0.0/ddx-python → ddx_python-0.0.8/ddx-python/python}/tests/decimal/Mul_111_111.csv +0 -0
  163. {ddx_python-0.0.0/ddx-python → ddx_python-0.0.8/ddx-python/python}/tests/decimal/Rem_101_101.csv +0 -0
  164. {ddx_python-0.0.0/ddx-python → ddx_python-0.0.8/ddx-python/python}/tests/decimal/Rem_111_000.csv +0 -0
  165. {ddx_python-0.0.0/ddx-python → ddx_python-0.0.8/ddx-python/python}/tests/decimal/Rem_111_110.csv +0 -0
  166. {ddx_python-0.0.0/ddx-python → ddx_python-0.0.8/ddx-python/python}/tests/decimal/Sub_101_110.csv +0 -0
  167. {ddx_python-0.0.0/ddx-python → ddx_python-0.0.8/ddx-python/python}/tests/decimal/Sub_110_011.csv +0 -0
  168. {ddx_python-0.0.0/ddx-python → ddx_python-0.0.8/ddx-python/python}/tests/decimal/Sub_111_111.csv +0 -0

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.