Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename OrderAlreadyCancelledOrFilled -> OrderCancelled. | Jacob Evans | 2018-08-16 | 1 | -1/+3 |
| | | | | Remove try catch of throwing errors in favour of returning the Errors in a OrderValidationResult | ||||
* | [Order-utils] Order is valid when maker amount is very small | Jacob Evans | 2018-08-15 | 1 | -0/+122 |
| | | | | | | | Previously our min fillable calculation would throw a rounding error when encountering a valid order (with a small maker amount). This was inconsistent with the on-chain logic which allowed this order to be filled. | ||||
* | Merge branch 'development' into refactor/order-utils/market-utils-api | Brandon Millman | 2018-08-15 | 2 | -0/+122 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: feat: Upgrade TypeScript to 3.0.1 Add defaults for networkId and pagination Update sortingUtils to support Order and SignedOrder Change rateUtils to use Order Updated CHANGELOG Fix lint errors Update tests for optional feeRate Make feeRate optional with a default of 0 Add tests for sortingUtils Implement sorting utils Add tests for rateUtils Implement rate utils | ||||
| * | Merge pull request #953 from 0xProject/feature/order-utils/order-sorting-utils | Brandon Millman | 2018-08-15 | 2 | -0/+122 |
| |\ | | | | | | | [order-utils] Add rate and sorting utilities | ||||
| | * | Fix lint errors | Brandon Millman | 2018-08-10 | 2 | -9/+5 |
| | | | |||||
| | * | Update tests for optional feeRate | Brandon Millman | 2018-08-10 | 2 | -3/+14 |
| | | | |||||
| | * | Make feeRate optional with a default of 0 | Brandon Millman | 2018-08-10 | 1 | -7/+1 |
| | | | |||||
| | * | Add tests for sortingUtils | Brandon Millman | 2018-08-10 | 1 | -0/+66 |
| | | | |||||
| | * | Add tests for rateUtils | Brandon Millman | 2018-08-10 | 1 | -0/+55 |
| | | | |||||
* | | | Remove remaining amounts that are now defaults in tests | Brandon Millman | 2018-08-14 | 1 | -36/+1 |
| | | | |||||
* | | | Update marketUtils api | Brandon Millman | 2018-08-14 | 1 | -23/+44 |
|/ / | |||||
* | | Rename from SignerProviderType.EthSign to SignerType.Default | Jacob Evans | 2018-08-11 | 1 | -37/+50 |
| | | |||||
* | | Update jsdoc | Jacob Evans | 2018-08-09 | 1 | -0/+1 |
| | | |||||
* | | Introduce SignerProviderType | Jacob Evans | 2018-08-09 | 1 | -39/+78 |
|/ | | | | This allows the developer to indicate the nuanced signer provider. Some have different implementations (trezor, ledger) and others have different implementations (metamask). Breaking the abstraction of eth_sign. EthSign assumes a spec compliant implementation and can be used as a default | ||||
* | Add strictArgumentEncodingCheck to BaseContract and use it in contract templates | Alex Browne | 2018-08-09 | 1 | -1/+2 |
| | |||||
* | Add some test cases that stress slippageBufferAmount param | Brandon Millman | 2018-08-06 | 1 | -6/+15 |
| | |||||
* | Add tests for findFeeOrdersThatCoverFeesForTargetOrders | Brandon Millman | 2018-08-06 | 2 | -14/+155 |
| | |||||
* | Change orderStates param name to remaingFillableMakerAssetAmounts | Brandon Millman | 2018-08-06 | 2 | -61/+14 |
| | |||||
* | Implement first round of tests for findOrdersThatCoverMakerAssetFillAmount | Brandon Millman | 2018-08-06 | 2 | -0/+209 |
| | |||||
* | Merge pull request #884 from 0xProject/export-more-0x.js | Fabio Berger | 2018-07-18 | 1 | -2/+2 |
|\ | | | | | Export missing V2 pieces from 0x.js | ||||
| * | Rename assetProxyUtils to assetDataUtils | Fabio Berger | 2018-07-17 | 1 | -2/+2 |
| | | |||||
* | | Fix tslint issues | Leonid Logvinov | 2018-07-17 | 2 | -5/+4 |
|/ | |||||
* | Change import paths from z_r_x and e_r_c to zrx and erc | Leonid Logvinov | 2018-06-29 | 2 | -4/+4 |
| | |||||
* | Merge branch 'v2-prototype' into feature/combinatorial-testing | Fabio Berger | 2018-06-25 | 5 | -7/+2 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * v2-prototype: (97 commits) Fix typos in comments Add modifier and tests for removeAuthorizedAddressAtIndex Update and add tests Change removeAuthorizedAddress => removeAuthorizedAddressAtIndex Move isFunctionRemoveAuthorizedAddress to test Fix usage of `popLastByte` Fix LibBytes is a library Remove `areBytesEqual` Fix usage of `contentAddress()` Clean low bits in bytes4 Clean high bits in address Refactor LibBytes.readBytes4 for consistency Fix LibBytes.equals Add trailing garbage testcase for LibBytes.equals Rename bytes.equals Add slice and sliceDestructive Rename bytes.rawAddress and add bytes.contentAddress Rename read/writeBytesWithLength Using LibBytes for bytes Make LibBytes a library ... # Conflicts: # packages/contracts/src/utils/constants.ts # packages/contracts/test/exchange/core.ts | ||||
| * | Fix known order hash value test | Jacob Evans | 2018-06-22 | 1 | -8/+4 |
| | | |||||
| * | Skip failing tests temporarily | Fabio Berger | 2018-06-22 | 1 | -2/+6 |
| | | |||||
| * | Use make-promises-safe as a preloader instead of manually importing | Alex Browne | 2018-06-22 | 5 | -5/+0 |
| | | |||||
* | | Remaining refactors of order-utils components for V2 | Fabio Berger | 2018-06-13 | 1 | -12/+13 |
|/ | |||||
* | Fix no-unused-variable tslint rule to include parameters and fix issues | Fabio Berger | 2018-06-12 | 2 | -13/+4 |
| | |||||
* | Remove global hooks from tests and deploy contracts from within the specific ↵ | Fabio Berger | 2018-06-12 | 2 | -54/+32 |
| | | | | tests | ||||
* | Fix tslint issues | Fabio Berger | 2018-06-12 | 1 | -3/+2 |
| | |||||
* | Move OrderValidationUtils (+ tests) and ExchangeTransferSimulator to order-utils | Fabio Berger | 2018-06-12 | 4 | -0/+305 |
| | |||||
* | Fix tslint failure | Fabio Berger | 2018-06-08 | 1 | -1/+1 |
| | |||||
* | Pass in fee and assetAmount rather then the whole signedOrder | Fabio Berger | 2018-06-08 | 1 | -30/+20 |
| | |||||
* | - Refactor remainingFillableCalculator so it can be used for the maker and ↵ | Fabio Berger | 2018-06-08 | 1 | -0/+257 |
| | | | | | | | taker side - Moved the tests over from order-watcher - Did some token -> asset renaming | ||||
* | Try enabling no-unused-variable... | fragosti | 2018-06-05 | 4 | -6/+2 |
| | |||||
* | Fix type imports | Fabio Berger | 2018-06-02 | 2 | -2/+2 |
| | |||||
* | Add signature specific validation methods, and other refactors | Fabio Berger | 2018-06-02 | 1 | -2/+0 |
| | |||||
* | Fix TODOs | Fabio Berger | 2018-06-01 | 1 | -2/+1 |
| | |||||
* | Merge branch 'v2-prototype' into refactor/order-utils/for-v2 | Fabio Berger | 2018-06-01 | 1 | -3/+3 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | | Move isValidOrderHash to the order_hash_test file | Fabio Berger | 2018-05-31 | 2 | -15/+15 |
| | | |||||
* | | Fix order-utils tests | Fabio Berger | 2018-05-31 | 2 | -33/+28 |
| | | |||||
* | | Initial refactor of order-utils. Move many utils from contracts into this ↵ | Fabio Berger | 2018-05-30 | 2 | -28/+85 |
|/ | | | | package. | ||||
* | Remove web3Factory.create and remove dev-tools dependency on sol-cov | Leonid Logvinov | 2018-05-23 | 1 | -3/+2 |
| | |||||
* | Merge pull request #594 from 0xProject/improvement/addCustomTslintRules | Fabio Berger | 2018-05-23 | 1 | -4/+8 |
|\ | | | | | Add more tslint rules | ||||
| * | Fix TSLint rules | Fabio Berger | 2018-05-16 | 1 | -4/+8 |
| | | |||||
* | | Use make-promises-safe to catch unhandled rejections in tests | Alex Browne | 2018-05-17 | 3 | -0/+3 |
|/ | |||||
* | Add missing type definitions | Leonid Logvinov | 2018-05-14 | 2 | -3/+3 |
| | |||||
* | Fix signature utils tests | Leonid Logvinov | 2018-05-03 | 1 | -15/+22 |
| | |||||
* | Move order utils to @0xproject/order-utils | Leonid Logvinov | 2018-05-02 | 5 | -0/+260 |