ddx-python 0.2.1__tar.gz → 0.2.6__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 (116) hide show
  1. {ddx_python-0.2.1 → ddx_python-0.2.6}/Cargo.lock +2172 -1285
  2. {ddx_python-0.2.1 → ddx_python-0.2.6}/PKG-INFO +2 -2
  3. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/Cargo.toml +80 -33
  4. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/macros/src/lib.rs +3 -22
  5. ddx_python-0.2.6/ddx-common/src/attestation.rs +230 -0
  6. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/constants.rs +85 -16
  7. ddx_python-0.2.6/ddx-common/src/copy_trading/auth.rs +116 -0
  8. ddx_python-0.2.6/ddx-common/src/copy_trading/execution.rs +489 -0
  9. ddx_python-0.2.6/ddx-common/src/copy_trading/mod.rs +133 -0
  10. ddx_python-0.2.6/ddx-common/src/copy_trading/strategy.rs +252 -0
  11. ddx_python-0.2.6/ddx-common/src/copy_trading/subscribe.rs +73 -0
  12. ddx_python-0.2.6/ddx-common/src/copy_trading/test_account.rs +43 -0
  13. ddx_python-0.2.6/ddx-common/src/core/runner.rs +323 -0
  14. ddx_python-0.2.6/ddx-common/src/core/services.rs +223 -0
  15. ddx_python-0.2.6/ddx-common/src/core.rs +9 -0
  16. ddx_python-0.2.6/ddx-common/src/crypto/encryption.rs +92 -0
  17. ddx_python-0.2.6/ddx-common/src/crypto/signing.rs +64 -0
  18. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/crypto.rs +75 -140
  19. ddx_python-0.2.6/ddx-common/src/db/admin.rs +68 -0
  20. ddx_python-0.2.6/ddx-common/src/db/mod.rs +24 -0
  21. ddx_python-0.2.6/ddx-common/src/db/txn_like.rs +140 -0
  22. ddx_python-0.2.6/ddx-common/src/enclave/ecall.rs +47 -0
  23. ddx_python-0.2.6/ddx-common/src/enclave/ocall_impl.rs +31 -0
  24. ddx_python-0.2.6/ddx-common/src/enclave/runtime.rs +10 -0
  25. ddx_python-0.2.6/ddx-common/src/enclave.rs +578 -0
  26. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/error.rs +6 -0
  27. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/execution/accounting.rs +7 -7
  28. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/execution/error.rs +5 -75
  29. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/execution/mod.rs +2 -0
  30. ddx_python-0.2.6/ddx-common/src/execution/test_accounts.rs +34 -0
  31. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/execution/test_utils.rs +143 -70
  32. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/execution/validation.rs +43 -28
  33. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/global.rs +6 -39
  34. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/lib.rs +29 -6
  35. ddx_python-0.2.6/ddx-common/src/node/api.rs +87 -0
  36. ddx_python-0.2.6/ddx-common/src/node/db.rs +28 -0
  37. ddx_python-0.2.6/ddx-common/src/node/errors.rs +102 -0
  38. ddx_python-0.2.6/ddx-common/src/node/mod.rs +5 -0
  39. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/specs/eval.rs +18 -8
  40. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/specs/float_parser.rs +3 -3
  41. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/specs/index_fund.rs +26 -8
  42. ddx_python-0.2.6/ddx-common/src/specs/quarterly_expiry_future.rs +324 -0
  43. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/specs/types.rs +145 -75
  44. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/specs.rs +221 -35
  45. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/tree/shared_smt.rs +161 -96
  46. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/tree/shared_store.rs +3 -3
  47. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/types/accounting/balance.rs +28 -66
  48. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/types/accounting.rs +142 -88
  49. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/types/checkpoint.rs +12 -3
  50. ddx_python-0.2.6/ddx-common/src/types/clock.rs +6 -0
  51. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/types/contract_events.rs +116 -9
  52. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/types/ethereum.rs +64 -21
  53. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/types/identifiers.rs +63 -100
  54. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/types/mod.rs +43 -3
  55. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/types/primitives/numbers.rs +52 -23
  56. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/types/primitives.rs +377 -124
  57. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/types/request.rs +509 -93
  58. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/types/state/exported.rs +834 -178
  59. ddx_python-0.2.6/ddx-common/src/types/state/tradable_product.rs +224 -0
  60. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/types/state/trader.rs +35 -28
  61. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/types/state.rs +314 -151
  62. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/types/transaction.rs +447 -272
  63. ddx_python-0.2.6/ddx-common/src/util/eip712.rs +463 -0
  64. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/util/env.rs +11 -3
  65. ddx_python-0.2.6/ddx-common/src/util/mem.rs +87 -0
  66. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/util/mod.rs +4 -1
  67. ddx_python-0.2.6/ddx-common/src/util/node.rs +62 -0
  68. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/util/serde.rs +6 -4
  69. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/util/tokenize.rs +22 -16
  70. ddx_python-0.2.6/ddx-common/src/util/tracing.rs +91 -0
  71. ddx_python-0.2.6/ddx-python/Cargo.toml +21 -0
  72. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-python/src/ddx_common.rs +55 -24
  73. {ddx_python-0.2.1 → ddx_python-0.2.6}/pyproject.toml +0 -1
  74. ddx_python-0.2.1/ddx-common/src/ffi.rs +0 -229
  75. ddx_python-0.2.1/ddx-common/src/types/clock.rs +0 -6
  76. ddx_python-0.2.1/ddx-common/src/types/execution.rs +0 -43
  77. ddx_python-0.2.1/ddx-common/src/util/eip712.rs +0 -355
  78. ddx_python-0.2.1/ddx-common/src/util/mem.rs +0 -18
  79. ddx_python-0.2.1/ddx-python/Cargo.toml +0 -15
  80. {ddx_python-0.2.1 → ddx_python-0.2.6}/Cargo.toml +0 -0
  81. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/macros/Cargo.toml +0 -0
  82. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/pkg/ddx_common.d.ts +0 -0
  83. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/specs/constants.rs +0 -0
  84. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/specs/str_parser.rs +1 -1
  85. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/tree/README.md +0 -0
  86. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/tree/mod.rs +1 -1
  87. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/trusted_settings.rs +0 -0
  88. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/types/contract.rs +0 -0
  89. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/util/backoff.rs +0 -0
  90. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/util/convert.rs +0 -0
  91. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-common/src/util/enclave.rs +0 -0
  92. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-python/README.md +0 -0
  93. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-python/src/decimal.rs +0 -0
  94. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-python/src/h256.rs +0 -0
  95. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-python/src/lib.rs +0 -0
  96. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-python/tests/__init__.py +0 -0
  97. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-python/tests/decimal/Add_000_001.csv +0 -0
  98. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-python/tests/decimal/Add_100_100.csv +0 -0
  99. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-python/tests/decimal/Add_111_111.csv +0 -0
  100. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-python/tests/decimal/Div_100_100.csv +0 -0
  101. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-python/tests/decimal/Div_101_010.csv +0 -0
  102. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-python/tests/decimal/Div_110_000.csv +0 -0
  103. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-python/tests/decimal/Div_111_110.csv +0 -0
  104. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-python/tests/decimal/Div_111_111.csv +0 -0
  105. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-python/tests/decimal/Mul_001_000.csv +0 -0
  106. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-python/tests/decimal/Mul_010_111.csv +0 -0
  107. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-python/tests/decimal/Mul_100_101.csv +0 -0
  108. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-python/tests/decimal/Mul_110_001.csv +0 -0
  109. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-python/tests/decimal/Mul_111_111.csv +0 -0
  110. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-python/tests/decimal/Rem_101_101.csv +0 -0
  111. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-python/tests/decimal/Rem_111_000.csv +0 -0
  112. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-python/tests/decimal/Rem_111_110.csv +0 -0
  113. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-python/tests/decimal/Sub_101_110.csv +0 -0
  114. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-python/tests/decimal/Sub_110_011.csv +0 -0
  115. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-python/tests/decimal/Sub_111_111.csv +0 -0
  116. {ddx_python-0.2.1 → ddx_python-0.2.6}/ddx-python/tests/decimal_test.py +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.