aboutsummaryrefslogtreecommitdiffstats
path: root/packages/json-schemas/schemas
Commit message (Collapse)AuthorAgeFilesLines
* Update dependency packagesHsuan Lee2019-01-1946-603/+0
|
* Python contract demo, with lots of refactoring (#1485)F. Eugene Aumson2019-01-091-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 Aumson2019-01-0910-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 namesF. Eugene Aumson2018-12-2910-15/+15
| | | | | | | | In both ref ID's and file names.
* | Fix schemas and testsFabio Berger2018-12-171-3/+3
| |
* | Move OrderWatcher Websocket schemas to json-schemas and convert to JSON so ↵Fabio Berger2018-12-172-0/+62
|/ | | | that they are language agnostic
* Move connect schemas to JSON SchemasLeonid Logvinov2018-11-126-0/+75
|
* fix: improve schemas by enforcing that amounts that must be whole numbers ↵Fabio Berger2018-10-228-17/+17
| | | | (e.g Order asset amounts) no longer allow decimal numbers
* chore: add whole number schemaFabio Berger2018-10-221-0/+5
|
* Convert all schemas to json files, so it's easier for devs in other ↵Fabio Berger2018-10-1765-463/+454
| | | | languages to use it
* Throw and handle errors from Providers.Jacob Evans2018-10-092-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 Evans2018-10-051-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 signingJacob Evans2018-10-051-0/+28
|
* Remove superflous id from relayer api fee recipients json schemafragosti2018-08-241-1/+0
|
* Run prettierfragosti2018-08-211-1/+1
|
* Remove default query parametersfragosti2018-08-181-8/+6
|
* Add fee recipients testfragosti2018-08-161-1/+7
|
* Merge pull request #938 from 0xProject/sol-cov-fixesFabio Berger2018-08-141-1/+0
|\ | | | | Sol cov fixes
| * Merge branch 'development' into sol-cov-fixesLeonid Logvinov2018-08-091-1/+1
| |\
| * | Alow additional properties in txData json-schemaLeonid Logvinov2018-08-031-1/+0
| | |
* | | Correct orderbook typofragosti2018-08-091-2/+2
| | |
* | | Enforce that error code are ints not numberfragosti2018-08-091-2/+2
| | |
* | | Change remainingFillableAmount to metaDatafragosti2018-08-091-2/+2
| | |
* | | Add GET fee_recipientsfragosti2018-08-081-0/+13
| | |
* | | Merge branch 'development' of https://github.com/0xProject/0x-monorepo into ↵fragosti2018-08-081-1/+1
|\ \ \ | | |/ | |/| | | | feature/sra/add-sra-package
| * | Update hex schema to match 0xBrandon Millman2018-08-061-1/+1
| |/
* | Limit error codes with rangesfragosti2018-08-031-2/+2
| |
* | Enforce stronger naming convention for json schema idsfragosti2018-08-0325-107/+107
| |
* | update orders channel subscribe schemafragosti2018-08-021-2/+2
| |
* | Add test for relayerApiOrderSchemafragosti2018-08-013-3/+3
| |
* | Add paginated collection test casefragosti2018-08-011-3/+3
| |
* | Get schema tests running (not crashiing)fragosti2018-08-011-2/+2
| |
* | Update json-schemas for SRA v1fragosti2018-07-3116-115/+149
|/
* Rename call data schema id to CallData.Jacob Evans2018-07-191-1/+1
| | | | Check for TypedArray when hashing data in order-utils crypto
* Merge branch 'v2-prototype' into v2-contract-wrappers-WIPLeonid Logvinov2018-07-051-0/+27
|\
| * Add CallData schema to json-schemasFabio Berger2018-07-051-0/+27
| |
* | Add ordersSchema to json-schemasLeonid Logvinov2018-07-051-0/+5
|/
* Revivie the ECSignatureSchemaFabio Berger2018-05-311-0/+20
|
* Initial refactor of order-utils. Move many utils from contracts into this ↵Fabio Berger2018-05-301-0/+2
| | | | package.
* Add senderAddress to order schemaFabio Berger2018-05-251-0/+2
|
* Force hex to have at least two hex values after the prefix, but it could be ↵Fabio Berger2018-05-241-1/+1
| | | | two zeros
* Fix Hex regex and testsFabio Berger2018-05-241-1/+1
|
* Updated Order, SignedOrder schemas, removed ECSignature schema types and ↵Fabio Berger2018-05-243-38/+24
| | | | added Hex basic type
* Apply prettier configLeonid Logvinov2018-01-0318-94/+94
|
* Rename SubscriptionOpts to BlockRangeLeonid Logvinov2017-12-191-2/+2
|
* Add requestId to subscription messages and update json-schemasBrandon Millman2017-12-063-5/+6
|
* Add json-schemas package to mono repoBrandon Millman2017-11-1420-0/+333