aboutsummaryrefslogtreecommitdiffstats
path: root/packages/order-utils
Commit message (Collapse)AuthorAgeFilesLines
* Fix no-unused-variable tslint rule to include parameters and fix issuesFabio Berger2018-06-122-13/+4
|
* Validate all signature types rather then only ECSignaturesFabio Berger2018-06-121-4/+12
|
* Remove global hooks from tests and deploy contracts from within the specific ↵Fabio Berger2018-06-122-54/+32
| | | | tests
* Merge branch 'v2-prototype' into fix/contract-wrappers/exchangeTransferSimulatorFabio Berger2018-06-121-1/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * v2-prototype: Fix a bug in SolCompilerArtifacts adapter config overriding Increase timeout for contract migrations Remove some copy-paste code Await transactions in migrations Fix typos Await transactions in migrations Await fake transactions Fix a typo Implement SolidityProfiler & adapt sol-cov to work with Geth # Conflicts: # packages/migrations/CHANGELOG.json
* | Fix tslint issuesFabio Berger2018-06-125-8/+5
| |
* | Move OrderValidationUtils (+ tests) and ExchangeTransferSimulator to order-utilsFabio Berger2018-06-1216-18/+786
| |
* | export parseECSignature methodFabio Berger2018-06-122-0/+8
|/
* 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
|
* Merge pull request #678 from 0xProject/fix/order-utils/remaining-v2-changesFabio Berger2018-06-084-101/+336
|\ | | | | Remaining Order-utils V2 Changes
| * Fix tslint failureFabio Berger2018-06-081-1/+1
| |
| * Pass in fee and assetAmount rather then the whole signedOrderFabio Berger2018-06-083-45/+26
| |
| * 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-082-58/+314
| | | | | | | | | | | | | | 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.
* | Merge pull request #676 from 0xProject/feature/mocha-source-mapsAlex Browne2018-06-081-1/+1
|\ \ | |/ |/| Use source-map-support package to include correct line numbers in mocha
| * Use source-map-support package to include correct line numbers in mochaAlex Browne2018-06-071-1/+1
| |
* | Get build and tests to passfragosti2018-06-071-2/+3
| |
* | Merge branch 'v2-prototype' of https://github.com/0xProject/0x-monorepo into ↵fragosti2018-06-071-1/+1
|\| | | | | | | feature/improve-linting
| * Stop running prettier on generated filesLeonid Logvinov2018-06-071-1/+1
| |
* | Merge branch 'v2-prototype' of https://github.com/0xProject/0x-monorepo into ↵fragosti2018-06-071-2/+3
|\| | | | | | | feature/improve-linting
| * Merge v2-prototypeFabio Berger2018-06-061-1/+1
| |\
| * | - Rename watch to watch_without_deps in sub-packages, so dev's don't confuse ↵Fabio Berger2018-06-051-2/+3
| | | | | | | | | | | | | | | | | | | | | running watch from root dir, with sub-package dir - stop using special prebuild script name and run pre_build steps for `watch` and `build` commands - Remove `clean` step from `build`/`watch`
* | | merge v2-prototypeFabio Berger2018-06-0610-1847/+20
|\ \ \ | | |/ | |/|
| * | Replace `-` with `_` in yarn script name so that we are consistent across ↵Fabio Berger2018-06-051-1/+1
| |/ | | | | | | yarn script names
| * Merge pull request #656 from 0xProject/refactor/fill-scenarios/for-v2Fabio Berger2018-06-059-1846/+18
| |\ | | | | | | Refactor fill-scenarios for v2
| | * Remove unused compact artifacts from order-utilsFabio Berger2018-06-057-1845/+0
| | |
| | * Add missing exports to order-utils and add CHANGELOG entryFabio Berger2018-06-052-1/+18
| | |
| * | Don't automatically rebuild when running yarn testAlex Browne2018-06-051-1/+2
| |/
* | Exclude generate contract wrappers from tslintFabio Berger2018-06-061-1/+1
| |
* | Try enabling no-unused-variable...fragosti2018-06-058-12/+2
|/
* Improve comments and remove unused importsFabio Berger2018-06-022-3/+3
|
* Add comment to exported methodFabio Berger2018-06-021-0/+7
|
* Add missing depFabio Berger2018-06-021-0/+1
|
* Remove usage of `prebuild` since it doesn't run on `watch`Fabio Berger2018-06-021-2/+3
|
* Fix type importsFabio Berger2018-06-025-5/+8
|
* Merge branch 'v2-prototype' into refactor/order-utils/for-v2Fabio Berger2018-06-021-1/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * v2-prototype: (33 commits) Only show ProviderDisplay in portal Improve sol-cov docs Remove old parse code Refactor order parser and add shared order support to new portal Add generate and fill order routes Address feedback Override ethereumjs-tx version Fix missing key Update placeholder param ordering Change userEtherBalanceInWei to optional so we can know if its loading Add loading state to ProviderDisplay Tweaks Add Placeholder component Add StandardIconRow Split render into loading and loaaded Fix linter errors Fix linter errors Add ethereum-types to extraFileIncludes Introduce ethereum-types package Remove merge conflicts from yarn.lock ... # Conflicts: # packages/contracts/src/utils/exchange_wrapper.ts # packages/contracts/src/utils/match_order_tester.ts # packages/contracts/src/utils/types.ts # packages/contracts/test/exchange/core.ts # packages/contracts/test/exchange/match_orders.ts # packages/contracts/test/libraries/lib_bytes.ts # packages/sol-cov/package.json
| * Add ethereum-types to extraFileIncludesLeonid Logvinov2018-06-011-1/+2
| |
| * Remove some typesLeonid Logvinov2018-06-011-0/+2
| |
* | Update json-schemas version to 1.0.0 to avoid possible conflictsFabio Berger2018-06-021-1/+1
| |
* | Add signature specific validation methods, and other refactorsFabio Berger2018-06-024-55/+90
| |
* | Fix TODOsFabio Berger2018-06-011-2/+1
| |
* | Rename ISigner to IWallet and implement SignatureType.ValidatorFabio Berger2018-06-013-7/+45
| |
* | Bump types to a major version to avoid the caretFabio Berger2018-06-011-1/+1
| |
* | Fix metadata offsetsFabio Berger2018-06-011-5/+7
| |
* | Merge branch 'v2-prototype' into refactor/order-utils/for-v2Fabio Berger2018-06-013-33/+34
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| |
* | Move isValidOrderHash to the order_hash_test fileFabio Berger2018-05-312-15/+15
| |
* | Decide to throw for Caller signature type for nowFabio Berger2018-05-311-2/+3
| |
* | Fix order-utils testsFabio Berger2018-05-317-81/+123
| |
* | Initial refactor of order-utils. Move many utils from contracts into this ↵Fabio Berger2018-05-3014-192/+574
| | | | | | | | package.
* | Freeze order-utils at 0.0.5 for all packages except contractsFabio Berger2018-05-301-1/+1
|/
* Migrate migrations to v2Leonid Logvinov2018-05-251-1/+1
|
* Revert to an earlier version that worksFabio Berger2018-05-241-1/+1
|
* Remove the caret so it actually installs this versionFabio Berger2018-05-241-1/+1
|
* Bump all dependencies on json-schemas down a patch version so that they ↵Fabio Berger2018-05-241-1/+1
| | | | don't auto-magically get upgraded to the next version during the next publish
* Merge branch 'v2-prototype' into feature/truffle-sol-covLeonid Logvinov2018-05-241-1/+1
|\
| * Fix small bug in order-utilsAlex Browne2018-05-231-1/+1
| |
| * PublishLeonid Logvinov2018-05-231-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 0x.js@0.38.0 - @0xproject/abi-gen@0.3.0 - @0xproject/assert@0.2.10 - @0xproject/base-contract@0.3.2 - @0xproject/connect@0.6.13 - @0xproject/contract-wrappers@0.0.2 - contracts@2.1.29 - @0xproject/dev-utils@0.4.2 - @0xproject/fill-scenarios@0.0.2 - @0xproject/json-schemas@0.7.24 - @0xproject/metacoin@0.0.7 - @0xproject/migrations@0.0.6 - @0xproject/monorepo-scripts@0.1.20 - @0xproject/order-utils@0.0.5 - @0xproject/order-watcher@0.0.2 - @0xproject/react-docs-example@0.0.12 - @0xproject/react-docs@0.0.12 - @0xproject/react-shared@0.1.7 - @0xproject/sol-compiler@0.5.0 - @0xproject/sol-cov@0.0.11 - @0xproject/sol-resolver@0.0.5 - @0xproject/sra-report@0.1.0 - @0xproject/subproviders@0.10.2 - @0xproject/testnet-faucets@1.0.30 - @0xproject/tslint-config@0.4.18 - @0xproject/types@0.7.0 - @0xproject/typescript-typings@0.3.2 - @0xproject/utils@0.6.2 - @0xproject/web3-wrapper@0.6.4 - @0xproject/website@0.0.33
| * Updated CHANGELOGSLeonid Logvinov2018-05-232-5/+7
| |
* | PublishLeonid Logvinov2018-05-231-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 0x.js@0.38.0 - @0xproject/abi-gen@0.3.0 - @0xproject/assert@0.2.10 - @0xproject/base-contract@0.3.2 - @0xproject/connect@0.6.13 - @0xproject/contract-wrappers@0.0.2 - contracts@2.1.29 - @0xproject/dev-utils@0.4.2 - @0xproject/fill-scenarios@0.0.2 - @0xproject/json-schemas@0.7.24 - @0xproject/metacoin@0.0.7 - @0xproject/migrations@0.0.6 - @0xproject/monorepo-scripts@0.1.20 - @0xproject/order-utils@0.0.5 - @0xproject/order-watcher@0.0.2 - @0xproject/react-docs-example@0.0.12 - @0xproject/react-docs@0.0.12 - @0xproject/react-shared@0.1.7 - @0xproject/sol-compiler@0.5.0 - @0xproject/sol-cov@0.0.11 - @0xproject/sol-resolver@0.0.5 - @0xproject/sra-report@0.1.0 - @0xproject/subproviders@0.10.2 - @0xproject/testnet-faucets@1.0.30 - @0xproject/tslint-config@0.4.18 - @0xproject/types@0.7.0 - @0xproject/typescript-typings@0.3.2 - @0xproject/utils@0.6.2 - @0xproject/web3-wrapper@0.6.4 - @0xproject/website@0.0.33
* | Updated CHANGELOGSLeonid Logvinov2018-05-232-5/+7
| |
* | Remove web3Factory.create and remove dev-tools dependency on sol-covLeonid Logvinov2018-05-231-3/+2
|/
* Merge pull request #594 from 0xProject/improvement/addCustomTslintRulesFabio Berger2018-05-233-9/+23
|\ | | | | Add more tslint rules
| * Merge branch 'development' into improvement/addCustomTslintRulesFabio Berger2018-05-161-0/+3
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: fix style errors Fix circular dependency Add my profile image to images Add myself to about page Add dogfood configs to website Change minimum Node version to 6.12 Document Node.js version requirement and add it to package.json
| * | Fix TSLint rulesFabio Berger2018-05-163-9/+23
| | |
* | | Use make-promises-safe to catch unhandled rejections in testsAlex Browne2018-05-174-1/+5
| |/ |/|
* | Merge pull request #578 from 0xProject/document-node-versionAlex Browne2018-05-161-0/+3
|\ \ | |/ |/| Document Node.js version requirement and add it to package.json
| * Change minimum Node version to 6.12Alex Browne2018-05-151-1/+1
| |
| * Document Node.js version requirement and add it to package.jsonAlex Browne2018-05-151-0/+3
| |
* | Remove build from docs:stage commandsFabio Berger2018-05-151-1/+1
| |
* | Move from using lerna multi-package commands to wsrun, update README's ↵Fabio Berger2018-05-152-16/+4
|/ | | | accordingly
* Add missing type definitionsLeonid Logvinov2018-05-143-4/+4
|
* Revert "Remove gitkeeps"Fabio Berger2018-05-121-0/+0
| | | | This reverts commit 3f6876c4199353b597e1b0ebcf3907d6b8cce284.
* Remove gitkeepsFabio Berger2018-05-111-0/+0
|
* Split 0x.js into contract-wrappers, order-watcher but keep 0x.js as a ↵Fabio Berger2018-05-1014-0/+2134
| | | | unifying library with the same interface
* PublishLeonid Logvinov2018-05-051-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - 0x.js@0.37.2 - @0xproject/abi-gen@0.2.13 - @0xproject/assert@0.2.9 - @0xproject/base-contract@0.3.1 - @0xproject/connect@0.6.12 - contracts@2.1.28 - @0xproject/deployer@0.4.3 - @0xproject/dev-utils@0.4.1 - @0xproject/json-schemas@0.7.23 - @0xproject/metacoin@0.0.6 - @0xproject/migrations@0.0.5 - @0xproject/order-utils@0.0.4 - @0xproject/react-docs-example@0.0.11 - @0xproject/react-docs@0.0.11 - @0xproject/react-shared@0.1.6 - @0xproject/sol-cov@0.0.10 - @0xproject/sol-resolver@0.0.4 - @0xproject/sra-report@0.0.14 - @0xproject/subproviders@0.10.1 - @0xproject/testnet-faucets@1.0.29 - @0xproject/types@0.6.3 - @0xproject/typescript-typings@0.3.1 - @0xproject/utils@0.6.1 - @0xproject/web3-wrapper@0.6.3 - @0xproject/website@0.0.32
* Updated CHANGELOGSLeonid Logvinov2018-05-052-0/+13
|
* PublishLeonid Logvinov2018-05-051-1/+1
| | | | | | | | | - 0x.js@0.37.1 - contracts@2.1.27 - @0xproject/order-utils@0.0.3 - @0xproject/sra-report@0.0.13 - @0xproject/testnet-faucets@1.0.28 - @0xproject/website@0.0.30
* Updated CHANGELOGSLeonid Logvinov2018-05-052-0/+13
|
* Make a negligible change to order-utils to publish a new versionLeonid Logvinov2018-05-051-1/+1
|
* PublishLeonid Logvinov2018-05-041-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 0x.js@0.37.0 - @0xproject/abi-gen@0.2.12 - @0xproject/assert@0.2.8 - @0xproject/base-contract@0.3.0 - @0xproject/connect@0.6.11 - contracts@2.1.26 - @0xproject/deployer@0.4.2 - @0xproject/dev-utils@0.4.0 - @0xproject/json-schemas@0.7.22 - @0xproject/metacoin@0.0.5 - @0xproject/migrations@0.0.4 - @0xproject/monorepo-scripts@0.1.19 - @0xproject/order-utils@0.0.2 - @0xproject/react-docs-example@0.0.9 - @0xproject/react-docs@0.0.9 - @0xproject/react-shared@0.1.4 - @0xproject/sol-cov@0.0.9 - @0xproject/sol-resolver@0.0.3 - @0xproject/sra-report@0.0.12 - @0xproject/subproviders@0.10.0 - @0xproject/testnet-faucets@1.0.27 - @0xproject/tslint-config@0.4.17 - @0xproject/types@0.6.2 - @0xproject/typescript-typings@0.3.0 - @0xproject/utils@0.6.0 - @0xproject/web3-wrapper@0.6.2 - @0xproject/website@0.0.29
* Updated CHANGELOGSLeonid Logvinov2018-05-042-1/+21
|
* Fix signature utils testsLeonid Logvinov2018-05-031-15/+22
|
* Stop exporting assertions from order-utilsLeonid Logvinov2018-05-022-9/+0
|
* Create wrapper functions so that docs render properlyLeonid Logvinov2018-05-021-0/+1
|
* Move order utils to @0xproject/order-utilsLeonid Logvinov2018-05-0223-0/+775