aboutsummaryrefslogtreecommitdiffstats
path: root/packages/order-utils/src
Commit message (Collapse)AuthorAgeFilesLines
* Run prettier and fix linting errorsAmir Bandeali2018-06-262-37/+48
|
* Fix AssetProxyUtilsRemco Bloemen2018-06-261-1/+1
|
* Update AssetProxyUtilsRemco Bloemen2018-06-261-90/+41
|
* WIPRemco Bloemen2018-06-261-16/+28
|
* Fixed how trezor messages are signed in `signature_utils`. Now uses ↵Greg Hysen2018-06-211-1/+1
| | | | `byteLength` instead of `length`.
* Optimize and remove redundant encodePackedJacob Evans2018-06-192-5/+0
|
* Merge branch 'v2-prototype' into bug/contracts/eip712-191-prefixJacob Evans2018-06-1824-2026/+672
|\
| * Validate all signature types rather then only ECSignaturesFabio Berger2018-06-121-4/+12
| |
| * Fix tslint issuesFabio Berger2018-06-123-3/+1
| |
| * Move OrderValidationUtils (+ tests) and ExchangeTransferSimulator to order-utilsFabio Berger2018-06-1211-16/+478
| |
| * export parseECSignature methodFabio Berger2018-06-121-0/+1
| |
| * Fixed assetProxyUtils for linterGreg Hysen2018-06-091-2/+2
| |
| * Cleanup after last rebaseGreg Hysen2018-06-081-2/+2
| |
| * Camelcase in memCopyGreg Hysen2018-06-081-2/+2
| |
| * Moved some constants to global scope in assetProxyUtilsGreg Hysen2018-06-081-18/+26
| |
| * Style updates to contractsGreg Hysen2018-06-081-2/+3
| |
| * Union types for generalized decodeAssetDataGreg Hysen2018-06-081-13/+4
| |
| * Style updates to ERC721 onReceiverGreg Hysen2018-06-081-4/+6
| |
| * Fixes after rebasingGreg Hysen2018-06-082-38/+44
| |
| * Fixed up after rebasing. Contracts build and tests passGreg Hysen2018-06-081-3/+4
| |
| * Converged on naming scheme for asset data: renamed all instances of ↵Greg Hysen2018-06-081-33/+33
| | | | | | | | assetMetadata, proxyData, proxyMetadata to assetData
| * Tons of tests around nested byte arrays and ERC721 receiverGreg Hysen2018-06-081-4/+26
| |
| * Pass in fee and assetAmount rather then the whole signedOrderFabio Berger2018-06-082-15/+6
| |
| * Revert to returning orderState on invalid orderFabio Berger2018-06-081-1/+6
| |
| * - Refactor remainingFillableCalculator so it can be used for the maker and ↵Fabio Berger2018-06-081-58/+57
| | | | | | | | | | | | | | taker side - Moved the tests over from order-watcher - Did some token -> asset renaming
| * Update naming in orderStateUtils to use asset over token, also removed ↵Fabio Berger2018-06-082-44/+37
| | | | | | | | cancelledAmount since in V2 it's binary.
| * Get build and tests to passfragosti2018-06-071-2/+3
| |
| * merge v2-prototypeFabio Berger2018-06-068-1846/+9
| |\
| | * Remove unused compact artifacts from order-utilsFabio Berger2018-06-057-1845/+0
| | |
| | * Add missing exports to order-utils and add CHANGELOG entryFabio Berger2018-06-051-1/+9
| | |
| * | Try enabling no-unused-variable...fragosti2018-06-054-6/+0
| |/
* | Rebase and update feedbackJacob Evans2018-06-184-33/+29
| | | | | | | | | | | | Cache the domain separator data with address this Use the EIP712Types enum for types everywhere Rename EIP712 struct ExecuteTransaction to ZeroExTransaction
* | Basic EIP712 encoderJacob Evans2018-06-082-30/+50
| |
* | Update Order utils to use eip712Jacob Evans2018-06-064-46/+112
|/
* Improve comments and remove unused importsFabio Berger2018-06-022-3/+3
|
* Add comment to exported methodFabio Berger2018-06-021-0/+7
|
* Fix type importsFabio Berger2018-06-023-3/+6
|
* Add signature specific validation methods, and other refactorsFabio Berger2018-06-023-53/+90
|
* Rename ISigner to IWallet and implement SignatureType.ValidatorFabio Berger2018-06-012-5/+43
|
* Fix metadata offsetsFabio Berger2018-06-011-5/+7
|
* Merge branch 'v2-prototype' into refactor/order-utils/for-v2Fabio Berger2018-06-012-30/+31
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * v2-prototype: (45 commits) Check length before accessing indices, add awaitTransactionSuccess where needed, and rename function Add back before/after snapshots for each test Rename Signer to Wallet, rename GAS_ESTIMATE to GAS_LIMIT Make preSigned and allowedValidators mappings public Change names of signature types Fix formatting and tests Make AssetProxyId last byte of assetData Add signer to txHash, allow approveValidator to be used with executeTransaction Update Whitelist Fix Exchange interface Increase block gas limit Use last byte of signature as signature type Remove TxOrigin signature type, modify whitelist to use Validator signature type Update Whitelist contract with comments, also require maker to be whitelisted Fix build Add example whitelist contract and minimum tests Add sample whitelist contract Add TxOrigin signature type and rearrange order of types Add approveValidator function Add Validator signature type ... # Conflicts: # packages/contracts/src/contracts/current/protocol/Exchange/MixinSignatureValidator.sol # packages/contracts/src/utils/types.ts # packages/contracts/test/exchange/transactions.ts # packages/order-utils/src/asset_proxy_utils.ts
* | Expose isValidPresignedSignatureAsync methodFabio Berger2018-05-311-3/+19
| |
* | Decide to throw for Caller signature type for nowFabio Berger2018-05-311-2/+3
| |
* | Fix order-utils testsFabio Berger2018-05-315-48/+95
| |
* | Initial refactor of order-utils. Move many utils from contracts into this ↵Fabio Berger2018-05-3011-160/+478
|/ | | | package.
* Fix small bug in order-utilsAlex Browne2018-05-231-1/+1
|
* Fix TSLint rulesFabio Berger2018-05-162-5/+15
|
* Add missing type definitionsLeonid Logvinov2018-05-141-1/+1
|
* Split 0x.js into contract-wrappers, order-watcher but keep 0x.js as a ↵Fabio Berger2018-05-1013-0/+2122
| | | | unifying library with the same interface
* Make a negligible change to order-utils to publish a new versionLeonid Logvinov2018-05-051-1/+1
|
* Stop exporting assertions from order-utilsLeonid Logvinov2018-05-022-9/+0
|
* Move order utils to @0xproject/order-utilsLeonid Logvinov2018-05-0211-0/+345