aboutsummaryrefslogtreecommitdiffstats
path: root/packages/order-utils
Commit message (Expand)AuthorAgeFilesLines
* Bump copyfiles from 1.2.0 to 2.0.0dependabot[bot]2018-08-151-1/+1
* Merge pull request #953 from 0xProject/feature/order-utils/order-sorting-utilsBrandon Millman2018-08-156-0/+230
|\
| * Update sortingUtils to support Order and SignedOrderBrandon Millman2018-08-141-44/+26
| * Change rateUtils to use OrderBrandon Millman2018-08-141-20/+20
| * Updated CHANGELOGBrandon Millman2018-08-101-0/+4
| * Fix lint errorsBrandon Millman2018-08-104-11/+6
| * Update tests for optional feeRateBrandon Millman2018-08-102-3/+14
| * Make feeRate optional with a default of 0Brandon Millman2018-08-103-10/+13
| * Add tests for sortingUtilsBrandon Millman2018-08-102-1/+66
| * Implement sorting utilsBrandon Millman2018-08-102-0/+70
| * Add tests for rateUtilsBrandon Millman2018-08-101-0/+55
| * Implement rate utilsBrandon Millman2018-08-102-0/+45
* | feat: Upgrade TypeScript to 3.0.1Alex Browne2018-08-151-1/+1
* | PublishAlex Browne2018-08-141-13/+13
* | Updated CHANGELOGSAlex Browne2018-08-142-3/+11
* | fix(0x.js, order-utils): Fix CHANGELOG.json versionsAlex Browne2018-08-141-7/+2
* | Merge pull request #914 from 0xProject/feature/0x.js/ec-signature-stringJacob Evans2018-08-146-125/+180
|\ \ | |/ |/|
| * Update version numbers.Jacob Evans2018-08-142-7/+9
| * Rename from SignerProviderType.EthSign to SignerType.DefaultJacob Evans2018-08-113-92/+98
| * Update Changelogs. Rebased from developmentJacob Evans2018-08-092-6/+14
| * Update jsdocJacob Evans2018-08-092-5/+5
| * Introduce SignerProviderTypeJacob Evans2018-08-096-104/+143
* | fix: Update dependenciesAlex Browne2018-08-101-2/+2
|/
* Update remaining CHANGELOG.json filesAlex Browne2018-08-091-0/+3
* Add strictArgumentEncodingCheck to BaseContract and use it in contract templatesAlex Browne2018-08-091-1/+2
* Update TypeScript to version 2.9.2Alex Browne2018-08-091-1/+1
* Remove assertion commentsBrandon Millman2018-08-071-4/+0
* Update CHANGELOGsBrandon Millman2018-08-061-0/+4
* Add some test cases that stress slippageBufferAmount paramBrandon Millman2018-08-061-6/+15
* Add tests for findFeeOrdersThatCoverFeesForTargetOrdersBrandon Millman2018-08-064-20/+165
* Change orderStates param name to remaingFillableMakerAssetAmountsBrandon Millman2018-08-063-91/+69
* Implement first round of tests for findOrdersThatCoverMakerAssetFillAmountBrandon Millman2018-08-065-12/+222
* Move helper functions into order-utilsBrandon Millman2018-08-062-1/+110
* Move CreateOrderOpts into shared typesBrandon Millman2018-08-063-12/+22
* Update createFactory to accept one createOrderOpts param to encompass all opt...Brandon Millman2018-08-062-29/+44
* Fix CHANGELOGsBrandon Millman2018-08-041-2/+2
* Update orderFactory interfaceBrandon Millman2018-08-042-21/+22
* Add missing PR numbersBrandon Millman2018-08-031-1/+2
* Add createOrder with no signing to orderFactoryBrandon Millman2018-08-023-6/+45
* PublishFabio Berger2018-07-261-9/+9
* Updated CHANGELOGSFabio Berger2018-07-261-1/+2
* Point to actual current versionFabio Berger2018-07-261-1/+1
* Fix changelogs and package versions for ones that weren't publishedFabio Berger2018-07-262-3/+2
* PublishFabio Berger2018-07-261-13/+13
* Updated CHANGELOGSFabio Berger2018-07-262-1/+6
* Add changelog entries for next RC publishFabio Berger2018-07-261-0/+8
* PublishFabio Berger2018-07-261-13/+13
* Updated CHANGELOGSFabio Berger2018-07-262-1/+10
* Revert to publishing ethereum-typesFabio Berger2018-07-261-1/+1
* Temporarily have all packages depend on an older, published version of ethere...Fabio Berger2018-07-261-1/+1
* Update order-utils to use 2.0.0-beta-testnet artifactsFabio Berger2018-07-261-3/+5
* Revert "Temporarily add changelog & package.json version changes"Fabio Berger2018-07-252-10/+1
* Temporarily add changelog & package.json version changesFabio Berger2018-07-242-1/+10
* Add new RC versions to changelog so that these packages are publised as RC'sFabio Berger2018-07-241-0/+17
* Revert "Revert "Publish""Fabio Berger2018-07-241-13/+13
* Revert "Publish"Leonid Logvinov2018-07-231-13/+13
* PublishLeonid Logvinov2018-07-231-13/+13
* Updated CHANGELOGSLeonid Logvinov2018-07-232-2/+13
* Merge pull request #877 from 0xProject/feature/contracts/removeERC721CallbackAmir Bandeali2018-07-231-8/+3
|\
| * Ran prettierGreg Hysen2018-07-181-4/+1
| * Removed receiverData from ERC721 Proxy Id generationGreg Hysen2018-07-181-6/+4
* | Fix version of ethereumjs-abi to 0.6.5 to fix decoding bugFabio Berger2018-07-222-1/+10
* | Merge pull request #904 from lukeautry/luke/leading_zero_encodeFabio Berger2018-07-221-1/+1
|\ \
| * | fix decodeAssetData for addresses starting in 0Luke Autry2018-07-221-1/+1
* | | Add missing timestamp to CHANGELOG entriesFabio Berger2018-07-211-0/+1
|/ /
* | FIx a typoLeonid Logvinov2018-07-201-1/+1
* | @0xproject/order-utils@1.0.0-rc.1Leonid Logvinov2018-07-202-2/+2
* | Change all package to depend on the new @0xproject/sol-compiler@1.0.0Leonid Logvinov2018-07-201-1/+1
* | Change all package to depend on the new @0xproject/dev-utils@1.0.0Leonid Logvinov2018-07-201-1/+1
* | Change all package to depend on the new @0xproject/base-contract@1.0.0Leonid Logvinov2018-07-201-1/+1
* | Change all package to depend on the new @0xproject/web3-wrapper@1.0.0Leonid Logvinov2018-07-201-1/+1
* | Change all package to depend on the new @0xproject/assert@1.0.0Leonid Logvinov2018-07-201-1/+1
* | Change all package to depend on the new @0xproject/json-schemas@1.0.0-rc.1Leonid Logvinov2018-07-201-1/+1
* | Change all package to depend on the new @0xproject/utils@1.0.0Leonid Logvinov2018-07-201-1/+1
* | Change all package to depend on the new @0xproject/types@1.0.0-rc.1Leonid Logvinov2018-07-201-1/+1
* | Change all package to depend on the new @0xproject/tslint-config@1.0.0Leonid Logvinov2018-07-201-1/+1
* | Change all package to depend on the new @0xproject/typescript-typings@1.0.0Leonid Logvinov2018-07-201-1/+1
* | Change all package to depend on the new @0xproject/monorepo-scripts@1.0.0Leonid Logvinov2018-07-201-1/+1
* | Change all package to depend on the new ethereum-types@1.0.0Leonid Logvinov2018-07-201-1/+1
* | Update CHANGELOGJacob Evans2018-07-191-0/+4
* | Rename call data schema id to CallData.Jacob Evans2018-07-191-1/+1
* | merge v2-prototypeFabio Berger2018-07-185-1/+95
|\ \
| * | Fix a bad mergeLeonid Logvinov2018-07-182-3/+3
| * | Merge branch 'v2-prototype' into feature/order-watcher-v2Leonid Logvinov2018-07-185-63/+55
| |\|
| * | MergeLeonid Logvinov2018-07-182-2/+2
| * | Merge branch 'v2-prototype' into feature/order-watcher-v2Leonid Logvinov2018-07-188-18/+17
| |\ \
| * | | Export newly created store from order-utilsLeonid Logvinov2018-07-132-0/+17
| * | | Add OrderFilledCancelledLazyStoreLeonid Logvinov2018-07-131-0/+65
| * | | Add AbstractOrderFilledCancelledLazyStoreLeonid Logvinov2018-07-131-0/+12
| * | | Upgrade tslint to use prefer-readonlyLeonid Logvinov2018-07-131-1/+1
* | | | Update package versionsFabio Berger2018-07-181-6/+6
* | | | Update changelogsFabio Berger2018-07-182-0/+13
| |_|/ |/| |
* | | Merge pull request #884 from 0xProject/export-more-0x.jsFabio Berger2018-07-185-63/+55
|\ \ \ | |_|/ |/| |
| * | Fix linterFabio Berger2018-07-181-1/+0
| * | Rename decodeAssetDataId to decodeAssetProxyId for consistencyFabio Berger2018-07-181-2/+2
| * | Add java doc comments to assetDataUtilsFabio Berger2018-07-181-1/+34
| * | Move encodeUint256 & decodeUint256 out of assetDataUtils since we don't want ...Fabio Berger2018-07-182-25/+12
| * | Remove unused depFabio Berger2018-07-171-1/+0
| * | Move type decl. to typescript-typingsFabio Berger2018-07-171-8/+1
| * | Rename assetProxyUtils to assetDataUtilsFabio Berger2018-07-173-37/+18
| |/
* | Fix tslint issuesLeonid Logvinov2018-07-177-17/+16
* | Upgrade tslint to the newest versionLeonid Logvinov2018-07-171-1/+1
|/
* Merge pull request #863 from 0xProject/refactor/0x.jsFabio Berger2018-07-121-0/+20
|\
| * Add assertions to SignatureUtils exported methodsFabio Berger2018-07-121-0/+20
* | Fix lint for order-utilsBrandon Millman2018-07-121-1/+1
* | Add explicit HACK comment when we import assertBrandon Millman2018-07-121-2/+2
|/
* Fix changelogsFabio Berger2018-07-101-0/+2
* Update package versionsFabio Berger2018-07-101-8/+8
* Update changelogsFabio Berger2018-07-092-0/+11
* Fix VRS signature generation in order-utilsLeonid Logvinov2018-07-051-2/+3
* Merge branch 'v2-prototype' into v2-contract-wrappers-WIPLeonid Logvinov2018-07-053-5/+9
|\
| * Update incorrect versions of depsFabio Berger2018-07-021-1/+1
| * Update outdated changelogsFabio Berger2018-07-021-1/+5
| * Fix validation logic by checking for 0 maker/taker amount before 0 fillTakerA...Fabio Berger2018-07-021-3/+3
* | Dump assert version and make the order-watcher depend on the old assert versionLeonid Logvinov2018-06-291-1/+1
* | Change import paths from z_r_x and e_r_c to zrx and ercLeonid Logvinov2018-06-292-4/+4
|/
* Merge v2-prototypeFabio Berger2018-06-299-186/+322
|\
| * Fix enum nameFabio Berger2018-06-271-9/+9
| * Merge branch 'v2-prototype' into feature/combinatorial-testingFabio Berger2018-06-262-93/+67
| |\
| * | Fix inconsistency between contract and reference implementation of order vali...Fabio Berger2018-06-261-0/+3
| * | Fix tslint issuesFabio Berger2018-06-262-2/+0
| * | Fix lint errorsFabio Berger2018-06-263-5/+2
| * | Fix revertReasonFabio Berger2018-06-251-1/+1
| * | Remove no longer used methodFabio Berger2018-06-251-16/+0
| * | Check revert reasons in declarative and combinatorial testsFabio Berger2018-06-251-54/+59
| * | Merge branch 'v2-prototype' into feature/combinatorial-testingFabio Berger2018-06-258-9/+13
| |\ \
| * | | Fix orderValidationUtils where was confusing a makerAssetAmount as a takerAss...Fabio Berger2018-06-213-11/+18
| * | | Merge branch 'v2-prototype' into feature/combinatorial-testingFabio Berger2018-06-204-62/+139
| |\ \ \
| * \ \ \ Merge branch 'v2-prototype' into feature/combinatorial-testingFabio Berger2018-06-193-18/+27
| |\ \ \ \
| * | | | | - Refactor assetWrapper to contain more of the normalizing logic instead of e...Fabio Berger2018-06-151-2/+1
| * | | | | Fix divide by zero bugFabio Berger2018-06-141-3/+3
| * | | | | Implement initial set of orderFill combinatorial testsFabio Berger2018-06-132-63/+209
| * | | | | Remaining refactors of order-utils components for V2Fabio Berger2018-06-135-46/+48
| * | | | | Remove comment since we have added the testsFabio Berger2018-06-131-5/+0
* | | | | | Encode ZRX address as needed.Fabio Berger2018-06-281-1/+0
| |_|_|_|/ |/| | | |
* | | | | 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
| |_|_|/ |/| | |
* | | | Fix known order hash value testJacob Evans2018-06-221-8/+4
* | | | Skip failing tests temporarilyFabio Berger2018-06-221-2/+6
* | | | Use make-promises-safe as a preloader instead of manually importingAlex Browne2018-06-226-6/+1
* | | | Fixed how trezor messages are signed in `signature_utils`. Now uses `byteLeng...Greg Hysen2018-06-211-1/+1
* | | | Fix CHANGELOG entries changed during incorrect merge (2a4456b)Fabio Berger2018-06-211-0/+9
| |_|/ |/| |
* | | Merge pull request #637 from 0xProject/bug/contracts/eip712-191-prefixJacob Evans2018-06-204-62/+139
|\ \ \ | |_|/ |/| |
| * | Optimize and remove redundant encodePackedJacob Evans2018-06-192-5/+0
| * | Merge branch 'v2-prototype' into bug/contracts/eip712-191-prefixJacob Evans2018-06-1834-2039/+1221
| |\|
| * | Rebase and update feedbackJacob Evans2018-06-184-33/+29
| * | Basic EIP712 encoderJacob Evans2018-06-082-30/+50
| * | Update Order utils to use eip712Jacob Evans2018-06-064-46/+112
* | | Fix additional versions and update yarn.lockFabio Berger2018-06-191-1/+1
* | | Update all package versions to match latest published to NPMFabio Berger2018-06-191-12/+12
* | | Update CHANGELOG's with publishes performed on development branchFabio Berger2018-06-192-6/+15
| |/ |/|
* | 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
* | Merge branch 'v2-prototype' into fix/contract-wrappers/exchangeTransferSimulatorFabio Berger2018-06-121-1/+2
|\ \
* | | 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 assetMeta...Greg Hysen2018-06-081-33/+33
* | 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
|\ \
| * | 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 ta...Fabio Berger2018-06-082-58/+314
| * | Update naming in orderStateUtils to use asset over token, also removed cancel...Fabio Berger2018-06-082-44/+37
* | | 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 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
|\| |
| * | 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
|\| |
| * | 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
* | | | merge v2-prototypeFabio Berger2018-06-0610-1847/+20
|\ \ \ \ | | |/ / | |/| |
| * | | Replace `-` with `_` in yarn script name so that we are consistent across yar...Fabio Berger2018-06-051-1/+1
| |/ /
| * | Merge pull request #656 from 0xProject/refactor/fill-scenarios/for-v2Fabio Berger2018-06-059-1846/+18
| |\ \
| | * | 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
|\
| * 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
|\|
* | 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 pac...Fabio Berger2018-05-3014-192/+574
* | 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 don't...Fabio Berger2018-05-241-1/+1
* 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
| * Updated CHANGELOGSLeonid Logvinov2018-05-232-5/+7
* | PublishLeonid Logvinov2018-05-231-10/+10
* | 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
|\
| * Merge branch 'development' into improvement/addCustomTslintRulesFabio Berger2018-05-161-0/+3
| |\
| * | 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
|\ \ | |/ |/|
| * 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 accord...Fabio Berger2018-05-152-16/+4
|/
* Add missing type definitionsLeonid Logvinov2018-05-143-4/+4
* Revert "Remove gitkeeps"Fabio Berger2018-05-121-0/+0
* Remove gitkeepsFabio Berger2018-05-111-0/+0
* Split 0x.js into contract-wrappers, order-watcher but keep 0x.js as a unifyin...Fabio Berger2018-05-1014-0/+2134
* PublishLeonid Logvinov2018-05-051-8/+8
* Updated CHANGELOGSLeonid Logvinov2018-05-052-0/+13
* PublishLeonid Logvinov2018-05-051-1/+1
* 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
* 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