Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix validation logic by checking for 0 maker/taker amount before 0 ↵ | Fabio Berger | 2018-07-02 | 1 | -3/+3 |
| | | | | fillTakerAssetAmount since one causes the other during combinatorial testing | ||||
* | Fix enum name | Fabio Berger | 2018-06-27 | 1 | -9/+9 |
| | |||||
* | Merge branch 'v2-prototype' into feature/combinatorial-testing | Fabio Berger | 2018-06-26 | 2 | -93/+67 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * v2-prototype: (21 commits) Don't use variables for revert reasons Add comments to dispatchTransferFrom Document IAssetData Compute bytes4 proxyid constants Return inplace bytes in LibBytes.readBytesWithLength Add Greg's documentation to MixinErc721Transfer Add Greg's documentation to MixinErc20Transfer Gas golf the transfer success logic Optimize like in PR #767 Run prettier and fix linting errors Fix tests Update tests Fix AssetProxyUtils Update tests Fix ERC721Proxy TokenId Update AssetProxyUtils Add IAssetData WIP ABI encoded asset data Remove proxyId argument from dispatchTransferFrom ... # Conflicts: # packages/contracts/test/asset_proxy/proxies.ts | ||||
| * | Run prettier and fix linting errors | Amir Bandeali | 2018-06-26 | 2 | -37/+48 |
| | | |||||
| * | Fix AssetProxyUtils | Remco Bloemen | 2018-06-26 | 1 | -1/+1 |
| | | |||||
| * | Update AssetProxyUtils | Remco Bloemen | 2018-06-26 | 1 | -90/+41 |
| | | |||||
| * | WIP | Remco Bloemen | 2018-06-26 | 1 | -16/+28 |
| | | |||||
* | | Fix inconsistency between contract and reference implementation of order ↵ | Fabio Berger | 2018-06-26 | 1 | -0/+3 |
| | | | | | | | | validation logic | ||||
* | | Fix tslint issues | Fabio Berger | 2018-06-26 | 2 | -2/+0 |
| | | |||||
* | | Fix lint errors | Fabio Berger | 2018-06-26 | 3 | -5/+2 |
| | | |||||
* | | Fix revertReason | Fabio Berger | 2018-06-25 | 1 | -1/+1 |
| | | |||||
* | | Remove no longer used method | Fabio Berger | 2018-06-25 | 1 | -16/+0 |
| | | |||||
* | | Check revert reasons in declarative and combinatorial tests | Fabio Berger | 2018-06-25 | 1 | -54/+59 |
| | | |||||
* | | Merge branch 'v2-prototype' into feature/combinatorial-testing | Fabio Berger | 2018-06-25 | 1 | -1/+1 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
| * | Fixed how trezor messages are signed in `signature_utils`. Now uses ↵ | Greg Hysen | 2018-06-21 | 1 | -1/+1 |
| | | | | | | | | `byteLength` instead of `length`. | ||||
* | | Fix orderValidationUtils where was confusing a makerAssetAmount as a ↵ | Fabio Berger | 2018-06-21 | 3 | -11/+18 |
| | | | | | | | | takerAssetAmount | ||||
* | | Merge branch 'v2-prototype' into feature/combinatorial-testing | Fabio Berger | 2018-06-20 | 4 | -62/+139 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * v2-prototype: (22 commits) Fix closing parens in liborder Update after rebase ERC721Proxy Always call safeTransferFrom Rename makerEpoch => orderEpoch Make cancelOrdersUpTo compatible with sender abstraction Update PR template Use Image component instead of img tag Assembler orderHash function Optimize and remove redundant encodePacked Fix linting issue Fix bug where we do fetch balances on wallet login Check network state immediately instead of waiting for delay Fix onboarding persisting when changing routes Consolidate account state messaging logic Only elevate wallet zIndex when onboarding is in progress Rebase and update feedback Run linter Add Portal v2 logging Simplified handling of source < 32 edge case Basic EIP712 encoder ... | ||||
| * | Optimize and remove redundant encodePacked | Jacob Evans | 2018-06-19 | 2 | -5/+0 |
| | | |||||
| * | Merge branch 'v2-prototype' into bug/contracts/eip712-191-prefix | Jacob Evans | 2018-06-18 | 24 | -2026/+672 |
| |\ | |||||
| * | | Rebase and update feedback | Jacob Evans | 2018-06-18 | 4 | -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 encoder | Jacob Evans | 2018-06-08 | 2 | -30/+50 |
| | | | |||||
| * | | Update Order utils to use eip712 | Jacob Evans | 2018-06-06 | 4 | -46/+112 |
| | | | |||||
* | | | - Refactor assetWrapper to contain more of the normalizing logic instead of ↵ | Fabio Berger | 2018-06-15 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | erc20Wrapper and erc721Wrapper - Add burn method to DummyERC721Token - Add additional methods to assetWrapper to set balance/allowances on ERC20 and ERC721 tokens - Use approve instead of approveAll for ERC721 tokens | ||||
* | | | Fix divide by zero bug | Fabio Berger | 2018-06-14 | 1 | -3/+3 |
| | | | |||||
* | | | Implement initial set of orderFill combinatorial tests | Fabio Berger | 2018-06-13 | 2 | -63/+209 |
| | | | |||||
* | | | Remaining refactors of order-utils components for V2 | Fabio Berger | 2018-06-13 | 4 | -34/+35 |
| | | | |||||
* | | | Remove comment since we have added the tests | Fabio Berger | 2018-06-13 | 1 | -5/+0 |
| |/ |/| | |||||
* | | Validate all signature types rather then only ECSignatures | Fabio Berger | 2018-06-12 | 1 | -4/+12 |
| | | |||||
* | | Fix tslint issues | Fabio Berger | 2018-06-12 | 3 | -3/+1 |
| | | |||||
* | | Move OrderValidationUtils (+ tests) and ExchangeTransferSimulator to order-utils | Fabio Berger | 2018-06-12 | 11 | -16/+478 |
| | | |||||
* | | export parseECSignature method | Fabio Berger | 2018-06-12 | 1 | -0/+1 |
| | | |||||
* | | Fixed assetProxyUtils for linter | Greg Hysen | 2018-06-09 | 1 | -2/+2 |
| | | |||||
* | | Cleanup after last rebase | Greg Hysen | 2018-06-08 | 1 | -2/+2 |
| | | |||||
* | | Camelcase in memCopy | Greg Hysen | 2018-06-08 | 1 | -2/+2 |
| | | |||||
* | | Moved some constants to global scope in assetProxyUtils | Greg Hysen | 2018-06-08 | 1 | -18/+26 |
| | | |||||
* | | Style updates to contracts | Greg Hysen | 2018-06-08 | 1 | -2/+3 |
| | | |||||
* | | Union types for generalized decodeAssetData | Greg Hysen | 2018-06-08 | 1 | -13/+4 |
| | | |||||
* | | Style updates to ERC721 onReceiver | Greg Hysen | 2018-06-08 | 1 | -4/+6 |
| | | |||||
* | | Fixes after rebasing | Greg Hysen | 2018-06-08 | 2 | -38/+44 |
| | | |||||
* | | Fixed up after rebasing. Contracts build and tests pass | Greg Hysen | 2018-06-08 | 1 | -3/+4 |
| | | |||||
* | | Converged on naming scheme for asset data: renamed all instances of ↵ | Greg Hysen | 2018-06-08 | 1 | -33/+33 |
| | | | | | | | | assetMetadata, proxyData, proxyMetadata to assetData | ||||
* | | Tons of tests around nested byte arrays and ERC721 receiver | Greg Hysen | 2018-06-08 | 1 | -4/+26 |
| | | |||||
* | | Pass in fee and assetAmount rather then the whole signedOrder | Fabio Berger | 2018-06-08 | 2 | -15/+6 |
| | | |||||
* | | Revert to returning orderState on invalid order | Fabio Berger | 2018-06-08 | 1 | -1/+6 |
| | | |||||
* | | - Refactor remainingFillableCalculator so it can be used for the maker and ↵ | Fabio Berger | 2018-06-08 | 1 | -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 Berger | 2018-06-08 | 2 | -44/+37 |
| | | | | | | | | cancelledAmount since in V2 it's binary. | ||||
* | | Get build and tests to pass | fragosti | 2018-06-07 | 1 | -2/+3 |
| | | |||||
* | | merge v2-prototype | Fabio Berger | 2018-06-06 | 8 | -1846/+9 |
|\ \ | |||||
| * | | Remove unused compact artifacts from order-utils | Fabio Berger | 2018-06-05 | 7 | -1845/+0 |
| | | | |||||
| * | | Add missing exports to order-utils and add CHANGELOG entry | Fabio Berger | 2018-06-05 | 1 | -1/+9 |
| |/ | |||||
* / | Try enabling no-unused-variable... | fragosti | 2018-06-05 | 4 | -6/+0 |
|/ | |||||
* | Improve comments and remove unused imports | Fabio Berger | 2018-06-02 | 2 | -3/+3 |
| | |||||
* | Add comment to exported method | Fabio Berger | 2018-06-02 | 1 | -0/+7 |
| | |||||
* | Fix type imports | Fabio Berger | 2018-06-02 | 3 | -3/+6 |
| | |||||
* | Add signature specific validation methods, and other refactors | Fabio Berger | 2018-06-02 | 3 | -53/+90 |
| | |||||
* | Rename ISigner to IWallet and implement SignatureType.Validator | Fabio Berger | 2018-06-01 | 2 | -5/+43 |
| | |||||
* | Fix metadata offsets | Fabio Berger | 2018-06-01 | 1 | -5/+7 |
| | |||||
* | Merge branch 'v2-prototype' into refactor/order-utils/for-v2 | Fabio Berger | 2018-06-01 | 2 | -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 method | Fabio Berger | 2018-05-31 | 1 | -3/+19 |
| | | |||||
* | | Decide to throw for Caller signature type for now | Fabio Berger | 2018-05-31 | 1 | -2/+3 |
| | | |||||
* | | Fix order-utils tests | Fabio Berger | 2018-05-31 | 5 | -48/+95 |
| | | |||||
* | | Initial refactor of order-utils. Move many utils from contracts into this ↵ | Fabio Berger | 2018-05-30 | 11 | -160/+478 |
|/ | | | | package. | ||||
* | Fix small bug in order-utils | Alex Browne | 2018-05-23 | 1 | -1/+1 |
| | |||||
* | Fix TSLint rules | Fabio Berger | 2018-05-16 | 2 | -5/+15 |
| | |||||
* | Add missing type definitions | Leonid Logvinov | 2018-05-14 | 1 | -1/+1 |
| | |||||
* | Split 0x.js into contract-wrappers, order-watcher but keep 0x.js as a ↵ | Fabio Berger | 2018-05-10 | 13 | -0/+2122 |
| | | | | unifying library with the same interface | ||||
* | Make a negligible change to order-utils to publish a new version | Leonid Logvinov | 2018-05-05 | 1 | -1/+1 |
| | |||||
* | Stop exporting assertions from order-utils | Leonid Logvinov | 2018-05-02 | 2 | -9/+0 |
| | |||||
* | Move order utils to @0xproject/order-utils | Leonid Logvinov | 2018-05-02 | 11 | -0/+345 |