aboutsummaryrefslogtreecommitdiffstats
path: root/python-packages/order_utils/src
Commit message (Collapse)AuthorAgeFilesLines
* Deploy @dexon-foundation/0x.jsstableHsuan Lee2019-03-0611-958/+0
|
* Clean up docs before publishF. Eugene Aumson2019-01-104-20/+68
|
* Python contract demo, with lots of refactoring (#1485)F. Eugene Aumson2019-01-093-64/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Refine Order for Web3 compat. & add conversions Changed some of the fields in the Order class so that it can be passed to our contracts via Web3. Added conversion utilities so that an Order can be easily converted to and from a JSON-compatible dict (specifically by encoding/decoding the `bytes` fields), to facilitate validation against the JSON schema. Also modified JSON order schema to accept integers in addition to stringified integers. * Fixes for json_schemas Has-types indicator file, py.typed, was not being included in package. Schemas were not being properly gathered into package installation. * Add test/demo of Exchange.getOrderInfo() * web3 bug workaround * Fix problem packaging contract artifacts * Move contract addresses to their own package * Move contract artifacts to their own package * Add scripts to install, test & lint all components * prettierignore files in local python dev env * Correct missing coverage analysis for sra_client * CI cache lint: don't save, re-use from test-python * tag hacks as hacks * correct merge mistake * remove local strip_0x() in favor of eth_utils * remove json schemas from old order_utils location * correct merge mistake * doctest json schemas via command-line, not code
* Move zero_ex.json_schemas to its own packageF. Eugene Aumson2018-12-153-78/+0
|
* fix(order_utils.py): Remove stale commentF. Eugene Aumson2018-12-121-2/+0
|
* feat(order_utils.py): schema resolver cache (#1317)Daniel Pyrathon2018-12-011-34/+47
| | | | | * Implemented basic functionality for using cache layer of LocalRefResolver * Use `importlib` instead of `imp`, since it's been deprecated. Legacy `load_module()` reloads modules even if they are already imported, causing tests to fail when run in non-deterministic ordering, so we replace it with `import_module()`
* fix(order_utils.py): lazy load contract artifacts (#1262)F. Eugene Aumson2018-11-151-8/+21
|
* fix(order_utils.py): validate order w/json schema (#1260)F. Eugene Aumson2018-11-154-52/+121
|
* feat(order_utils.py): sign_hash() (#1254)F. Eugene Aumson2018-11-146-100/+274
| | | | | | | Also moved is_valid_signature() into main package module, for simplicity. Also consolidated a handul of in-line pylint disable directives into the .pylintrc config file.
* feat(order_utils.py) generate_order_hash_hex() (#1234)F. Eugene Aumson2018-11-143-19/+160
|
* [order_utils.py] is_signature_valid, via Exchange contract (#1216)F. Eugene Aumson2018-11-088-2/+116
| | | | First support for signature validation, done via Exchange contract's isValidSignature() method.
* feat(order_utils.py): ERC721 asset data codec (#1186)F. Eugene Aumson2018-10-273-4/+92
|
* fix(order_utils.py): tweaks for first publish (#1185)F. Eugene Aumson2018-10-275-4/+5
|
* feat(order_utils.py): ERC20 asset data encoding and decodingF. Eugene Aumson2018-10-247-15/+216
| | | | | | | | | | In addition to the ERC20 codec, also: Stopped ignoring type errors on 3rd party imports, by including interface stubs for them; Removed the unimplemented signature-utils module, which was just a stand-in when the python project support was first put in place. https://github.com/0xProject/0x-monorepo/pull/1144
* feat: project stub for python order utilitiesF. Eugene Aumson2018-10-136-0/+87
An empty project, with respect to functionality, but one configured with a test framework, linters, CI integration, etc. https://app.asana.com/0/836857747873847/839549782781239/f