Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Python contract demo, with lots of refactoring (#1485) | F. Eugene Aumson | 2019-01-09 | 1 | -2/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 json_schemas to its own package (#1435) | F. Eugene Aumson | 2019-01-09 | 10 | -15/+15 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move zero_ex.json_schemas to its own package * Support ALL the schemas * Stop installing packages as editable * HACK: cp files because CircleCI isn't * Add example usage to sra_client README * Tweak special case: only strip Schema as suffix * Correct doc titles * Clarify what kind of support ticket was raised. * Correct inconsistencies in JSON schema names In both ref ID's and file names. * Add entry point for validation of JSON strings | ||||
| * | Correct inconsistencies in JSON schema names | F. Eugene Aumson | 2018-12-29 | 10 | -15/+15 |
| | | | | | | | | In both ref ID's and file names. | ||||
* | | Fix schemas and tests | Fabio Berger | 2018-12-17 | 1 | -3/+3 |
| | | |||||
* | | Move OrderWatcher Websocket schemas to json-schemas and convert to JSON so ↵ | Fabio Berger | 2018-12-17 | 2 | -0/+62 |
|/ | | | | that they are language agnostic | ||||
* | Move connect schemas to JSON Schemas | Leonid Logvinov | 2018-11-12 | 6 | -0/+75 |
| | |||||
* | fix: improve schemas by enforcing that amounts that must be whole numbers ↵ | Fabio Berger | 2018-10-22 | 8 | -17/+17 |
| | | | | (e.g Order asset amounts) no longer allow decimal numbers | ||||
* | chore: add whole number schema | Fabio Berger | 2018-10-22 | 1 | -0/+5 |
| | |||||
* | Convert all schemas to json files, so it's easier for devs in other ↵ | Fabio Berger | 2018-10-17 | 65 | -463/+454 |
| | | | | languages to use it | ||||
* | Throw and handle errors from Providers. | Jacob Evans | 2018-10-09 | 2 | -1/+11 |
| | | | | | | | In web3 wrapper when a response contains an error field we throw this rather than return response.result which is often undefined. In Signature Utils we handle the error thrown when a user rejects the signing dialogue to prevent double signing. Exposed the ZeroExTransaction JSON schema. In Website only use the MetamaskSubprovider if we can detect the provider is Metamask | ||||
* | Return SignedOrder from signing utils. | Jacob Evans | 2018-10-05 | 1 | -1/+1 |
| | | | | | Create a helper back in EIP712Utils for code cleanup. Moved constants in order-utils into the constants object | ||||
* | Expose eth_signTypedData functionality for order signing | Jacob Evans | 2018-10-05 | 1 | -0/+28 |
| | |||||
* | Remove superflous id from relayer api fee recipients json schema | fragosti | 2018-08-24 | 1 | -1/+0 |
| | |||||
* | Run prettier | fragosti | 2018-08-21 | 1 | -1/+1 |
| | |||||
* | Remove default query parameters | fragosti | 2018-08-18 | 1 | -8/+6 |
| | |||||
* | Add fee recipients test | fragosti | 2018-08-16 | 1 | -1/+7 |
| | |||||
* | Merge pull request #938 from 0xProject/sol-cov-fixes | Fabio Berger | 2018-08-14 | 1 | -1/+0 |
|\ | | | | | Sol cov fixes | ||||
| * | Merge branch 'development' into sol-cov-fixes | Leonid Logvinov | 2018-08-09 | 1 | -1/+1 |
| |\ | |||||
| * | | Alow additional properties in txData json-schema | Leonid Logvinov | 2018-08-03 | 1 | -1/+0 |
| | | | |||||
* | | | Correct orderbook typo | fragosti | 2018-08-09 | 1 | -2/+2 |
| | | | |||||
* | | | Enforce that error code are ints not number | fragosti | 2018-08-09 | 1 | -2/+2 |
| | | | |||||
* | | | Change remainingFillableAmount to metaData | fragosti | 2018-08-09 | 1 | -2/+2 |
| | | | |||||
* | | | Add GET fee_recipients | fragosti | 2018-08-08 | 1 | -0/+13 |
| | | | |||||
* | | | Merge branch 'development' of https://github.com/0xProject/0x-monorepo into ↵ | fragosti | 2018-08-08 | 1 | -1/+1 |
|\ \ \ | | |/ | |/| | | | | feature/sra/add-sra-package | ||||
| * | | Update hex schema to match 0x | Brandon Millman | 2018-08-06 | 1 | -1/+1 |
| |/ | |||||
* | | Limit error codes with ranges | fragosti | 2018-08-03 | 1 | -2/+2 |
| | | |||||
* | | Enforce stronger naming convention for json schema ids | fragosti | 2018-08-03 | 25 | -107/+107 |
| | | |||||
* | | update orders channel subscribe schema | fragosti | 2018-08-02 | 1 | -2/+2 |
| | | |||||
* | | Add test for relayerApiOrderSchema | fragosti | 2018-08-01 | 3 | -3/+3 |
| | | |||||
* | | Add paginated collection test case | fragosti | 2018-08-01 | 1 | -3/+3 |
| | | |||||
* | | Get schema tests running (not crashiing) | fragosti | 2018-08-01 | 1 | -2/+2 |
| | | |||||
* | | Update json-schemas for SRA v1 | fragosti | 2018-07-31 | 16 | -115/+149 |
|/ | |||||
* | Rename call data schema id to CallData. | Jacob Evans | 2018-07-19 | 1 | -1/+1 |
| | | | | Check for TypedArray when hashing data in order-utils crypto | ||||
* | Merge branch 'v2-prototype' into v2-contract-wrappers-WIP | Leonid Logvinov | 2018-07-05 | 1 | -0/+27 |
|\ | |||||
| * | Add CallData schema to json-schemas | Fabio Berger | 2018-07-05 | 1 | -0/+27 |
| | | |||||
* | | Add ordersSchema to json-schemas | Leonid Logvinov | 2018-07-05 | 1 | -0/+5 |
|/ | |||||
* | Revivie the ECSignatureSchema | Fabio Berger | 2018-05-31 | 1 | -0/+20 |
| | |||||
* | Initial refactor of order-utils. Move many utils from contracts into this ↵ | Fabio Berger | 2018-05-30 | 1 | -0/+2 |
| | | | | package. | ||||
* | Add senderAddress to order schema | Fabio Berger | 2018-05-25 | 1 | -0/+2 |
| | |||||
* | Force hex to have at least two hex values after the prefix, but it could be ↵ | Fabio Berger | 2018-05-24 | 1 | -1/+1 |
| | | | | two zeros | ||||
* | Fix Hex regex and tests | Fabio Berger | 2018-05-24 | 1 | -1/+1 |
| | |||||
* | Updated Order, SignedOrder schemas, removed ECSignature schema types and ↵ | Fabio Berger | 2018-05-24 | 3 | -38/+24 |
| | | | | added Hex basic type | ||||
* | Apply prettier config | Leonid Logvinov | 2018-01-03 | 18 | -94/+94 |
| | |||||
* | Rename SubscriptionOpts to BlockRange | Leonid Logvinov | 2017-12-19 | 1 | -2/+2 |
| | |||||
* | Add requestId to subscription messages and update json-schemas | Brandon Millman | 2017-12-06 | 3 | -5/+6 |
| | |||||
* | Add json-schemas package to mono repo | Brandon Millman | 2017-11-14 | 20 | -0/+333 |