aboutsummaryrefslogtreecommitdiffstats
path: root/python-packages/order_utils
Commit message (Collapse)AuthorAgeFilesLines
* Clean up docs before publishF. Eugene Aumson2019-01-105-20/+69
|
* Python contract demo, with lots of refactoring (#1485)F. Eugene Aumson2019-01-096-88/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Merge pull request #1439 from 0xProject/migrations/docker-imageJacob Evans2019-01-091-7/+1
|\ | | | | Add Docker image and Snapshot commands for migrations
| * chore(python-packages): Change docker command in setup.pyJacob Evans2019-01-021-7/+1
| |
* | Move zero_ex.json_schemas to its own packageF. Eugene Aumson2018-12-158-114/+27
|/
* fix(order_utils.py): Remove stale commentF. Eugene Aumson2018-12-121-2/+0
|
* feat(order_utils.py): schema resolver cache (#1317)Daniel Pyrathon2018-12-014-38/+81
| | | | | * 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): unpin pylint version (#1337)F. Eugene Aumson2018-11-281-2/+1
| | | | The version was pinned in order to work around a bug in pylint. That bug has been fixed and released.
* fix(order_utils.py): work aroud pylint bug (#1322)F. Eugene Aumson2018-11-261-1/+2
|
* fix(order_utils.py): publish docs to S3, not RTD (#1264)F. Eugene Aumson2018-11-173-2/+29
| | | | | Publishing to readthedocs.io (RTD) wasn't working, for various reasons. Changed to publish docs to S3.
* 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-158-61/+130
|
* feat(order_utils.py): sign_hash() (#1254)F. Eugene Aumson2018-11-1414-110/+286
| | | | | | | 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-146-20/+185
|
* [order_utils.py] is_signature_valid, via Exchange contract (#1216)F. Eugene Aumson2018-11-0817-33/+323
| | | | 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-275-6/+131
|
* fix(order_utils.py): tweaks for first publish (#1185)F. Eugene Aumson2018-10-279-17/+129
|
* feat(order_utils.py): ERC20 asset data encoding and decodingF. Eugene Aumson2018-10-2421-37/+378
| | | | | | | | | | 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
* fix: linterF. Eugene Aumson2018-10-131-1/+1
|
* fix: use python's extsplit, not manual splicingF. Eugene Aumson2018-10-131-1/+2
|
* feat: project stub for python order utilitiesF. Eugene Aumson2018-10-1312-0/+262
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