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