Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move packages/contracts to contracts/core | Leonid Logvinov | 2018-12-03 | 1 | -1452/+0 |
| | |||||
* | chore: change package org from 0xproject to 0x | Jacob Evans | 2018-10-18 | 1 | -5/+5 |
| | |||||
* | Move generated contract wrappers and artifacts into contracts package | Alex Browne | 2018-10-16 | 1 | -7/+7 |
| | |||||
* | Add reentrancy tests for fillOrder and wrapper functions | Amir Bandeali | 2018-08-25 | 1 | -0/+193 |
| | |||||
* | merge v2-prototype | Fabio Berger | 2018-07-18 | 1 | -31/+217 |
|\ | |||||
| * | Add tests for getOrderInfo and getOrdersInfo | Amir Bandeali | 2018-07-18 | 1 | -3/+187 |
| | | |||||
| * | Fix bugs having to do with block timestamps and order expirationTimes | Alex Browne | 2018-07-17 | 1 | -29/+31 |
| | | |||||
* | | Rename assetProxyUtils to assetDataUtils | Fabio Berger | 2018-07-17 | 1 | -14/+14 |
|/ | |||||
* | Make it possible to configure block polling interval in base contract wrapper | Leonid Logvinov | 2018-07-05 | 1 | -4/+4 |
| | |||||
* | Improve robustness of revert reason assertions | Alex Browne | 2018-07-03 | 1 | -6/+6 |
| | |||||
* | Update file structure | Amir Bandeali | 2018-06-30 | 1 | -15/+15 |
| | |||||
* | Make registerAssetProxy append only | Amir Bandeali | 2018-06-30 | 1 | -3/+3 |
| | |||||
* | Reduce the userAddresses to the individual addresses actually used by tests, ↵ | Fabio Berger | 2018-06-28 | 1 | -2/+3 |
| | | | | as well as only deploy the number of ERC20 tokens needed for each test suite | ||||
* | Merge branch 'refactor/check-revert-reasons' into feature/combinatorial-testing | Fabio Berger | 2018-06-27 | 1 | -6/+6 |
|\ | | | | | | | | | | | | | | | | | | | | | * refactor/check-revert-reasons: Temporarily switch revert reasons to `TransferFailed`. Should be `InvalidAmount` but because of an oversight in the assembly implementation of `dispatchTransferFrom`, it always throws `TransferFailed` Expect RevertReason be passed in, not string Rename RevertReasons to RevertReason since singular enum names are more common # Conflicts: # packages/contracts/test/asset_proxy/proxies.ts # packages/contracts/test/exchange/core.ts | ||||
| * | Rename RevertReasons to RevertReason since singular enum names are more common | Fabio Berger | 2018-06-26 | 1 | -6/+6 |
| | | |||||
| * | Merge branch 'v2-prototype' into refactor/check-revert-reasons | Fabio Berger | 2018-06-26 | 1 | -1/+1 |
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | \ | Merge branch 'v2-prototype' into feature/combinatorial-testing | Fabio Berger | 2018-06-26 | 1 | -1/+1 |
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
| * | | Fix tests | Amir Bandeali | 2018-06-26 | 1 | -1/+1 |
| | | | |||||
* | | | merge check-revert-reasons | Fabio Berger | 2018-06-25 | 1 | -2/+2 |
|\ \ \ | | |/ | |/| | |||||
| * | | Move RevertReasons to @0xproject/types package | Fabio Berger | 2018-06-25 | 1 | -2/+2 |
| | | | |||||
* | | | merge check-revert-reasons | Fabio Berger | 2018-06-25 | 1 | -10/+17 |
|\| | | |||||
| * | | Fix tslint | Fabio Berger | 2018-06-23 | 1 | -1/+1 |
| | | | |||||
| * | | Fix prettier | Fabio Berger | 2018-06-23 | 1 | -3/+1 |
| | | | |||||
| * | | Rename ContractLibErrors to RevertReasons | Fabio Berger | 2018-06-23 | 1 | -6/+6 |
| | | | |||||
| * | | Add revert reason checks to wrapper tests | Fabio Berger | 2018-06-22 | 1 | -10/+19 |
| |/ | |||||
* | | Merge branch 'v2-prototype' into feature/combinatorial-testing | Fabio Berger | 2018-06-25 | 1 | -1/+0 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
| * | Use make-promises-safe as a preloader instead of manually importing | Alex Browne | 2018-06-22 | 1 | -1/+0 |
| | | |||||
* | | Remove hack in ERC20Wrapper | Fabio Berger | 2018-06-19 | 1 | -1/+4 |
| | | |||||
* | | - Refactor assetWrapper to contain more of the normalizing logic instead of ↵ | Fabio Berger | 2018-06-15 | 1 | -1/+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 | ||||
* | Unpop byte rather than making deep copy | Amir Bandeali | 2018-06-13 | 1 | -0/+4 |
| | |||||
* | Make ZRX_PROXY_ID constant rather than popping it from ZRX_ASSET_DATA | Amir Bandeali | 2018-06-13 | 1 | -1/+1 |
| | |||||
* | Pop id from assetData before dispatching to AssetProxies | Amir Bandeali | 2018-06-13 | 1 | -18/+81 |
| | |||||
* | Converged on naming scheme for asset data: renamed all instances of ↵ | Greg Hysen | 2018-06-08 | 1 | -13/+13 |
| | | | | assetMetadata, proxyData, proxyMetadata to assetData | ||||
* | Fixed path | Fabio Berger | 2018-06-07 | 1 | -5/+5 |
| | |||||
* | merge v2-prototype | Fabio Berger | 2018-06-07 | 1 | -25/+51 |
|\ | |||||
| * | Merge branch 'v2-prototype' of https://github.com/0xProject/0x-monorepo into ↵ | fragosti | 2018-06-07 | 1 | -16/+44 |
| |\ | | | | | | | | | | feature/improve-linting | ||||
| | * | Apply various fixes based on PR feedback | Alex Browne | 2018-06-07 | 1 | -0/+18 |
| | | | |||||
| | * | Add Async suffix to relevant assertions | Alex Browne | 2018-06-07 | 1 | -8/+8 |
| | | | |||||
| | * | Add additional gas to calls to fillOrderNoThrow | Alex Browne | 2018-06-07 | 1 | -137/+45 |
| | | | |||||
| | * | Fix some more test cases, especially those that call increaseTime | Alex Browne | 2018-06-07 | 1 | -36/+47 |
| | | | |||||
| | * | Add more transactions to Geth on init. Skip tests that are failing. | Alex Browne | 2018-06-07 | 1 | -7/+97 |
| | | | |||||
| | * | Replace constant.REVERT test assertions with ↵ | Alex Browne | 2018-06-07 | 1 | -14/+15 |
| | | | | | | | | | | | | expectRevertOrAlwaysFailingTransaction | ||||
| * | | Linter now passes | fragosti | 2018-06-06 | 1 | -3/+1 |
| |/ | |||||
* / | move generated contract wrappers from `contract_wrappers/generated/` to ↵ | Fabio Berger | 2018-06-06 | 1 | -6/+6 |
|/ | | | | `generated_contract_wrappers` in package with no non-generated contract wrappers | ||||
* | Update Exchange statuses, revert instead of emmitting event on fill/cancel ↵ | Amir Bandeali | 2018-06-05 | 1 | -1/+1 |
| | | | | failures, and remove redundant logic in matchOrders | ||||
* | Fix tslint issues | Fabio Berger | 2018-06-02 | 1 | -1/+1 |
| | |||||
* | Initial refactor of order-utils. Move many utils from contracts into this ↵ | Fabio Berger | 2018-05-30 | 1 | -3/+3 |
| | | | | package. | ||||
* | Migrate migrations to v2 | Leonid Logvinov | 2018-05-25 | 1 | -1/+2 |
| | |||||
* | Check transaction receipt status codes where applicable | Alex Browne | 2018-05-24 | 1 | -6/+6 |
| | |||||
* | Fix ExchangeWrapper | Fabio Berger | 2018-05-23 | 1 | -1/+1 |
| | |||||
* | Merge branch 'v2-prototype' into refactor/contracts/remove0xjsDep | Fabio Berger | 2018-05-23 | 1 | -18/+42 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * v2-prototype: Fix tslint issues Add `are` to boolean naming conventions Fix tslint Fix the tsutils version, fixing ts typings issue Rename some variables in multi_sig_with_time_lock.ts Remove extra awaitTransactionMinedAsync calls Update artifacts Update yarn.lock Fix warnings in Metacoin Upgrade UglifyJS to include ES6 support Add CancelOrder and MatchOrder types Add missing return types Ignore classnames linter rule Apply changes to test/exchange/match_orders.ts Fix some unhandled promise rejections Add awaitTransactionMinedAsync after every sent transaction Add missing blockchainLifecycle calls to contracts tests # Conflicts: # packages/contracts/src/utils/exchange_wrapper.ts # packages/contracts/test/asset_proxy/proxies.ts # packages/contracts/test/exchange/dispatcher.ts # packages/contracts/test/multi_sig_with_time_lock.ts | ||||
| * | Add awaitTransactionMinedAsync after every sent transaction | Alex Browne | 2018-05-22 | 1 | -18/+36 |
| | | |||||
| * | Add missing blockchainLifecycle calls to contracts tests | Alex Browne | 2018-05-22 | 1 | -0/+6 |
| | | |||||
* | | Remove 0x.js dep from contracts | Fabio Berger | 2018-05-23 | 1 | -22/+15 |
|/ | |||||
* | merge development | Fabio Berger | 2018-05-22 | 1 | -0/+1 |
|\ | |||||
| * | Use make-promises-safe to catch unhandled rejections in tests | Alex Browne | 2018-05-17 | 1 | -0/+1 |
| | | |||||
* | | Merge branch 'development' into v2-prototype | Amir Bandeali | 2018-05-16 | 1 | -9/+11 |
|\| | |||||
| * | Fix linter errors | Leonid Logvinov | 2018-05-11 | 1 | -1/+1 |
| | | |||||
| * | Remove unused deployer docs configs | Leonid Logvinov | 2018-05-10 | 1 | -7/+7 |
| | | |||||
| * | Fix linter issues | Leonid Logvinov | 2018-05-10 | 1 | -6/+10 |
| | | |||||
| * | Remove deployer from metacoin and contract tests | Leonid Logvinov | 2018-05-10 | 1 | -18/+40 |
| | | |||||
* | | Fix merge conflict issues | Fabio Berger | 2018-04-24 | 1 | -1/+0 |
| | | |||||
* | | merge v2-prototype | Fabio Berger | 2018-04-24 | 1 | -93/+112 |
|\ \ | |||||
| * | | Rename variables, create private validation methods in token wrappers | Amir Bandeali | 2018-04-24 | 1 | -93/+111 |
| | | | |||||
* | | | Fix tests | Amir Bandeali | 2018-04-24 | 1 | -31/+9 |
|/ / | |||||
* | | Fix and cleanup tests | Amir Bandeali | 2018-04-24 | 1 | -305/+280 |
| | | |||||
* | | Rename proxyUtils => assetProxyUtils | Amir Bandeali | 2018-04-23 | 1 | -14/+14 |
| | | |||||
* | | Rename missed variables | Amir Bandeali | 2018-04-23 | 1 | -100/+100 |
| | | |||||
* | | Rename token => asset | Amir Bandeali | 2018-04-22 | 1 | -219/+219 |
| | | |||||
* | | Rename DummyToken => DummyERC20Token | Amir Bandeali | 2018-04-22 | 1 | -10/+10 |
| | | |||||
* | | export proxyUtils instead of individual functions | Amir Bandeali | 2018-04-22 | 1 | -14/+14 |
| | | |||||
* | | Remove unused constructor arguments | Amir Bandeali | 2018-04-22 | 1 | -2/+1 |
| | | |||||
* | | Renamed addAssetProxy back to registerAssetProxy; this seemed to cause less ↵ | Greg Hysen | 2018-04-21 | 1 | -2/+2 |
| | | | | | | | | confusion. Also updated the function description. | ||||
* | | Miscellaneous style changes to the contracts package; specifically tests | Greg Hysen | 2018-04-21 | 1 | -2/+4 |
| | | |||||
* | | Ran prettier | Greg Hysen | 2018-04-21 | 1 | -10/+2 |
| | | |||||
* | | renaming after tokenTransferProxy was removed | Greg Hysen | 2018-04-21 | 1 | -28/+28 |
| | | |||||
* | | switched to constants in default order params. | Greg Hysen | 2018-04-21 | 1 | -2/+2 |
| | | |||||
* | | Removed takerTokenAddress and makerTokenAddress from Order struct. | Greg Hysen | 2018-04-21 | 1 | -92/+89 |
| | | |||||
* | | Moved ERC721 FillOrderNoThrow tests into wrapper | Greg Hysen | 2018-04-21 | 1 | -17/+60 |
| | | |||||
* | | Replaced instances of `accounts[0]` with `owner` in contracts test cases | Greg Hysen | 2018-04-21 | 1 | -3/+4 |
| | | |||||
* | | Ran prettier/linter on new contract tests | Greg Hysen | 2018-04-21 | 1 | -1/+0 |
| | | |||||
* | | Added comments around deploying contracts to helper/wrapper tests | Greg Hysen | 2018-04-21 | 1 | -36/+16 |
| | | |||||
* | | Minor style improvements to asset proxy utils | Greg Hysen | 2018-04-21 | 1 | -10/+10 |
| | | |||||
* | | makerAssetProxyData/takerAssetProxyData -> makerAssetData/takerAssetData | Greg Hysen | 2018-04-21 | 1 | -6/+6 |
| | | |||||
* | | nilAddress to ZeroEx.NULL_ADDRESS | Greg Hysen | 2018-04-21 | 1 | -3/+2 |
| | | |||||
* | | Removed unnecessary assetProxyManagerAddress | Greg Hysen | 2018-04-21 | 1 | -5/+1 |
| | | |||||
* | | setAssetProxy to addAssetProxy | Greg Hysen | 2018-04-21 | 1 | -2/+2 |
| | | |||||
* | | Renamed TransferProxy to Proxy | Greg Hysen | 2018-04-21 | 1 | -2/+4 |
| | | |||||
* | | Renaming TransferProxy to Proxy | Greg Hysen | 2018-04-21 | 1 | -8/+8 |
| | | |||||
* | | Asset Proxy Dispatcher | Greg Hysen | 2018-04-21 | 1 | -10/+80 |
| | | |||||
* | | Revert variable naming | Amir Bandeali | 2018-04-21 | 1 | -175/+183 |
| | | |||||
* | | Update Solidity syntax and comments | Amir Bandeali | 2018-04-21 | 1 | -6/+1 |
| | | |||||
* | | Add tests for marketBuyOrders | Amir Bandeali | 2018-04-21 | 1 | -2/+172 |
| | | |||||
* | | Add marketBuyOrders, rename variables, and fx old tests | Amir Bandeali | 2018-04-21 | 1 | -206/+194 |
| | | |||||
* | | Remove partial cancels | Amir Bandeali | 2018-04-21 | 1 | -3/+1 |
| | | |||||
* | | Add private keys for testrpc mnemonic | Amir Bandeali | 2018-04-21 | 1 | -2/+2 |
| | | |||||
* | | Address feedback and lint | Amir Bandeali | 2018-04-21 | 1 | -1/+1 |
| | | |||||
* | | Add tests for fillOrderNoThrow based functions | Amir Bandeali | 2018-04-21 | 1 | -18/+302 |
| | | |||||
* | | Add fillOrderNoThrow to exchange wrapper and add test | Amir Bandeali | 2018-04-21 | 1 | -6/+48 |
| | | |||||
* | | Modify tests to work with new utils | Amir Bandeali | 2018-04-21 | 1 | -113/+145 |
| | | |||||
* | | Move utils dir into src | Amir Bandeali | 2018-04-21 | 1 | -5/+5 |
| | | |||||
* | | Get tests to build | Amir Bandeali | 2018-04-21 | 1 | -55/+55 |
|/ | |||||
* | Fix tests | Leonid Logvinov | 2018-04-05 | 1 | -1/+0 |
| | |||||
* | Move our contract templates to accept Provider instead of Web3Wrapper | Leonid Logvinov | 2018-04-04 | 1 | -12/+9 |
| | |||||
* | Add sol-cover implementation | Leonid Logvinov | 2018-03-12 | 1 | -3/+2 |
| | |||||
* | Improve an error message when an inorrect number of constructor params is passed | Leonid Logvinov | 2018-02-28 | 1 | -3/+3 |
| | |||||
* | Use the same templates as 0x.js | Leonid Logvinov | 2018-02-28 | 1 | -6/+14 |
| | |||||
* | Fix build by using local events types | Leonid Logvinov | 2018-02-28 | 1 | -1/+6 |
| | |||||
* | Fix namings | Leonid Logvinov | 2018-02-09 | 1 | -84/+90 |
| | |||||
* | Use Order and SignedOrder type from 0x.js | Leonid Logvinov | 2018-02-07 | 1 | -81/+73 |
| | |||||
* | Introduce SignedOrder class and remove type assertions | Leonid Logvinov | 2018-02-07 | 1 | -1/+2 |
| | |||||
* | Change tests | Leonid Logvinov | 2018-02-07 | 1 | -23/+36 |
| | |||||
* | Remove accounts magic from tests | Leonid Logvinov | 2018-01-30 | 1 | -3/+2 |
| | |||||
* | Make an RPC constructor param implicit | Leonid Logvinov | 2018-01-30 | 1 | -1/+1 |
| | |||||
* | Use an enum for contract name | Leonid Logvinov | 2018-01-30 | 1 | -7/+7 |
| | |||||
* | Remove truffle from tests | Leonid Logvinov | 2018-01-30 | 1 | -30/+30 |
| | |||||
* | Refactor contracts tests to not use injected web3 instance | Leonid Logvinov | 2018-01-30 | 1 | -6/+3 |
| | |||||
* | Remove truffle from Exchange tests | Leonid Logvinov | 2018-01-30 | 1 | -7/+24 |
| | |||||
* | Remove truffle from tokenTransferProxy tests | Leonid Logvinov | 2018-01-30 | 1 | -0/+348 |