aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test
Commit message (Collapse)AuthorAgeFilesLines
* Rebased against v2-prototypeGreg Hysen2018-05-193-11/+13
|
* Moved feeTokenAddress to MatchOrderTester constructor. Since it is constant, ↵Greg Hysen2018-05-192-138/+126
| | | | we dont need to pass it in on each call.
* Cleaned up interface for decoding proxy data. Added a general decoder, which ↵Greg Hysen2018-05-191-12/+10
| | | | should be useful for the forwarding contract code.
* Style improvements to the match orders typescript test classGreg Hysen2018-05-191-18/+14
|
* The OrderInfo struct is now returned by the getOrderInfo functionGreg Hysen2018-05-191-64/+41
|
* Throw if the left or right orders do not compute the correct fill results. I ↵Greg Hysen2018-05-191-10/+8
| | | | like this better than just logging an error and failing silently.
* Style changes to atomic order matchingGreg Hysen2018-05-192-2/+1
|
* Atomic Order Matching - TestsGreg Hysen2018-05-194-17/+1243
|
* Merge branch 'development' into v2-prototypeAmir Bandeali2018-05-1619-267/+250
|\
| * Merge branch 'development' into breakUp0xjsFabio Berger2018-05-1114-159/+285
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: Fix ganache subprovider config Fix a bug in compiler config precedence Fix linter errors Fix templates Remove unused deployer docs configs Add a legacy endpoint for the deployer Add a check for compiler output Add a comment Put ARTIFACTS_VERSION in a config Improve a comment Remove _applyDefaultsToDeployTxDataAsync Add a HACK comment Fix linter issues Rename deployer to sol-compiler Remove deployer Remove deployer from 0x.js and migrations Configure migrations with a compiler.json Remove deployer from metacoin and contract tests Update wallet footer and add remove token functionality # Conflicts: # .gitignore # packages/0x.js/package.json # packages/0x.js/src/0x.ts # packages/contracts/package.json # packages/contracts/test/multi_sig_with_time_lock.ts # packages/contracts/test/multi_sig_with_time_lock_except_remove_auth_addr.ts # packages/contracts/util/artifacts.ts # packages/deployer/test/deployer_test.ts # packages/migrations/package.json
| | * Fix linter errorsLeonid Logvinov2018-05-1112-12/+12
| | |
| | * Remove unused deployer docs configsLeonid Logvinov2018-05-1013-50/+50
| | |
| | * Fix linter issuesLeonid Logvinov2018-05-1012-49/+53
| | |
| | * Remove deployer from metacoin and contract testsLeonid Logvinov2018-05-1014-150/+271
| | |
| * | Fix tslint errorsFabio Berger2018-05-101-1/+1
| | |
| * | Merge branch 'development' into breakUp0xjsFabio Berger2018-05-102-4/+3
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: (38 commits) Add fallback image support to relayer grid tile Clear relayer grid state when fetching Configure the compiler to generate artifacts with deployedBytecode Implement loading and error state for relayer grid Fallback image for relayer grid tile Change relayer grid tile to link on header Display top tokens from backend Remove overflowZ property from portal Suggestions and fix bad merge Fix typo Only show untracked tokens Make wallet scrollable Add token flow Update The Ocean logo Fix artifacts paths Create an artifacts folder Introduce a var Add removeHexPrefix util method CHeck if ABI exists Improve the readability of the check for should compile ... # Conflicts: # .gitignore # packages/contracts/test/multi_sig_with_time_lock.ts # packages/contracts/test/multi_sig_with_time_lock_except_remove_auth_addr.ts # packages/contracts/util/artifacts.ts
| | * Implement new artifacts formatLeonid Logvinov2018-05-072-4/+3
| | |
| * | Split 0x.js into contract-wrappers, order-watcher but keep 0x.js as a ↵Fabio Berger2018-05-104-7/+8
| |/ | | | | | | unifying library with the same interface
* | Move Authorizable to AssetProxy dir, rename to MixinAuthorizableAmir Bandeali2018-05-081-3/+3
| |
* | Make LibBytes methods internal, add TestLibBytesAmir Bandeali2018-05-051-22/+30
| |
* | Add tests for batchTransferFromAmir Bandeali2018-05-021-151/+296
| |
* | Add hard coded proxyId into each AssetProxyAmir Bandeali2018-05-012-0/+22
| |
* | Make all lib functions internal, add contracts for testingAmir Bandeali2018-04-273-178/+248
| |
* | Add tests and commentsAmir Bandeali2018-04-271-15/+25
| |
* | Add testsAmir Bandeali2018-04-271-4/+38
| |
* | Update tests and utilsAmir Bandeali2018-04-271-0/+161
| |
* | Fix prettierFabio Berger2018-04-251-3/+9
| |
* | Fix merge conflict issuesFabio Berger2018-04-242-2/+0
| |
* | merge v2-prototypeFabio Berger2018-04-245-188/+213
|\ \
| * | Rename variables, create private validation methods in token wrappersAmir Bandeali2018-04-245-189/+212
| | |
* | | Fix testsAmir Bandeali2018-04-246-175/+59
|/ /
* | Fix and cleanup testsAmir Bandeali2018-04-246-672/+574
| |
* | Rename proxyUtils => assetProxyUtilsAmir Bandeali2018-04-235-51/+51
| |
* | Rename missed variablesAmir Bandeali2018-04-233-254/+254
| |
* | Add missing async suffixAmir Bandeali2018-04-221-11/+11
| |
* | Rename token => assetAmir Bandeali2018-04-224-453/+453
| |
* | Rename DummyToken => DummyERC20TokenAmir Bandeali2018-04-227-37/+37
| |
* | export proxyUtils instead of individual functionsAmir Bandeali2018-04-225-51/+51
| |
* | Remove unused constructor argumentsAmir Bandeali2018-04-223-6/+3
| |
* | Added tests for (most functions in) LibBytes. The write methods are not ↵Greg Hysen2018-04-211-0/+238
| | | | | | | | currently compatible with our generated contract wrappers.
* | Renamed addAssetProxy back to registerAssetProxy; this seemed to cause less ↵Greg Hysen2018-04-213-18/+18
| | | | | | | | confusion. Also updated the function description.
* | Inlined decodeMetadata in the proxies and removed encodeMetadata (already ↵Greg Hysen2018-04-211-60/+0
| | | | | | | | exists in Typescript). This simplifies the code.
* | Miscellaneous style changes to the contracts package; specifically testsGreg Hysen2018-04-215-19/+34
| |
* | Ran prettierGreg Hysen2018-04-214-58/+15
| |
* | renaming after tokenTransferProxy was removedGreg Hysen2018-04-214-127/+127
| |
* | Removed ERC20 V1 Proxy + TokenTransferProxyGreg Hysen2018-04-217-333/+80
| |
* | switched to constants in default order params.Greg Hysen2018-04-212-4/+4
| |
* | Reverted change that allowed ERC721 transfer proxy to be called with amount ↵Greg Hysen2018-04-211-11/+10
| | | | | | | | 0. This now throws.
* | Removed takerTokenAddress and makerTokenAddress from Order struct.Greg Hysen2018-04-213-176/+159
| |
* | Added clarity to not-authorized test case in dispatcherGreg Hysen2018-04-211-3/+4
| |
* | More testing of common functionality across proxiesGreg Hysen2018-04-211-19/+58
| |
* | Updates to proxy tests.Greg Hysen2018-04-211-13/+13
| |
* | More authorized -> owner in test commentsGreg Hysen2018-04-211-3/+3
| |
* | Removed unnecessary deployments in testGreg Hysen2018-04-211-17/+1
| |
* | Moved ERC721 FillOrderNoThrow tests into wrapperGreg Hysen2018-04-212-45/+60
| |
* | Style improvements to the Asset Proxy testsGreg Hysen2018-04-212-134/+140
| |
* | Replaced instances of `accounts[0]` with `owner` in contracts test casesGreg Hysen2018-04-215-23/+26
| |
* | Minor changes to typescript testsGreg Hysen2018-04-211-4/+4
| |
* | Updated ERC20 v1 proxy names in testsGreg Hysen2018-04-213-7/+7
| |
* | Ran prettier/linter on new contract testsGreg Hysen2018-04-213-4/+0
| |
* | Added comments around deploying contracts to helper/wrapper testsGreg Hysen2018-04-212-65/+34
| |
* | TS styles in core contract testsGreg Hysen2018-04-211-91/+38
| |
* | Added more comments to proxy testsGreg Hysen2018-04-211-52/+25
| |
* | Cleaned up TS in dispatcher testsGreg Hysen2018-04-211-44/+36
| |
* | Removed some unused ERC721 tokensGreg Hysen2018-04-211-62/+13
| |
* | Minor style improvements to asset proxy utilsGreg Hysen2018-04-215-62/+62
| |
* | makerAssetProxyData/takerAssetProxyData -> makerAssetData/takerAssetDataGreg Hysen2018-04-213-28/+28
| |
* | nilAddress to ZeroEx.NULL_ADDRESSGreg Hysen2018-04-215-27/+22
| |
* | Removed unnecessary assetProxyManagerAddressGreg Hysen2018-04-215-29/+17
| |
* | setAssetProxy to addAssetProxyGreg Hysen2018-04-214-21/+21
| |
* | Renamed TransferProxy to ProxyGreg Hysen2018-04-214-11/+13
| |
* | Renaming TransferProxy to ProxyGreg Hysen2018-04-215-48/+48
| |
* | Asset Proxy DispatcherGreg Hysen2018-04-215-20/+1366
| |
* | Add back require statements and tests (will move to another PR)Amir Bandeali2018-04-211-0/+42
| |
* | Revert variable namingAmir Bandeali2018-04-213-303/+313
| |
* | Update Solidity syntax and commentsAmir Bandeali2018-04-212-20/+15
| |
* | Add tests for marketBuyOrdersAmir Bandeali2018-04-211-2/+172
| |
* | Add marketBuyOrders, rename variables, and fx old testsAmir Bandeali2018-04-213-419/+355
| |
* | Fix build errorsAmir Bandeali2018-04-211-13/+21
| |
* | Separate filled/cancelled errorsAmir Bandeali2018-04-211-2/+2
| |
* | Remove partial cancelsAmir Bandeali2018-04-212-69/+4
| |
* | updated test name to reflect smart contractsGreg Hysen2018-04-211-1/+1
| |
* | Change from cancelOrdersBefore to cancelOrdersUpTo. The effect is that ↵Greg Hysen2018-04-211-23/+27
| | | | | | | | orders with salt <= to maker epoch will be cancelled (previously, it was salt < maker epoch)
* | Renamed all instances of timestamp to salt. Clarified test case wording.Greg Hysen2018-04-211-15/+15
| |
* | Fixed spacingGreg Hysen2018-04-211-51/+51
| |
* | Implementation and tests in the protocol for cancelling all orders up to a ↵Greg Hysen2018-04-211-0/+67
| | | | | | | | specific time
* | Add private keys for testrpc mnemonicAmir Bandeali2018-04-213-6/+6
| |
* | Address feedback and lintAmir Bandeali2018-04-212-6/+3
| |
* | Add tests for fillOrderNoThrow based functionsAmir Bandeali2018-04-212-130/+302
| |
* | Fix package.jsonAmir Bandeali2018-04-211-1/+0
| |
* | Add fillOrderNoThrow to exchange wrapper and add testAmir Bandeali2018-04-211-6/+48
| |
* | Modify tests to work with new utilsAmir Bandeali2018-04-214-584/+632
| |
* | Fix log decodingAmir Bandeali2018-04-211-13/+13
| |
* | Add logDecoder, remove outdated testsAmir Bandeali2018-04-211-13/+14
| |
* | Fix compile errorsAmir Bandeali2018-04-212-10/+10
| |
* | Move log decoding logic to exchange wrapperAmir Bandeali2018-04-211-10/+9
| |
* | Add logDecoder, remove outdated testsAmir Bandeali2018-04-211-124/+124
| |
* | Move utils dir into srcAmir Bandeali2018-04-2112-45/+40
| |
* | Merge developmentAmir Bandeali2018-04-211-10/+7
| |
* | Run prettierAmir Bandeali2018-04-211-11/+3
| |
* | Get tests to buildAmir Bandeali2018-04-212-173/+150
|/
* Move NULL_BYTES to @0xproject/utilsFabio Berger2018-04-111-3/+3
|
* Simplify the testsFabio Berger2018-04-111-1/+1
|
* Move migrations into separate monorepo subpackage and hook it up to 0x.js ↵Fabio Berger2018-04-091-1/+1
| | | | and contracts
* Move away from using web3 directly in 0x.js testsFabio Berger2018-04-061-3/+4
|
* Merge branch 'development' into removeMigrateStepFabio Berger2018-04-0514-55/+51
|\ | | | | | | | | | | | | | | * development: Fix tests Call static functions as static Address feedback Move our contract templates to accept Provider instead of Web3Wrapper
| * Fix testsLeonid Logvinov2018-04-052-3/+1
| |
| * Move our contract templates to accept Provider instead of Web3WrapperLeonid Logvinov2018-04-0413-53/+51
| |
* | Fix typosFabio Berger2018-04-041-2/+2
|/
* Properly and consistently parse ENV varsLeonid Logvinov2018-03-131-2/+2
|
* Make Deployer configurable by jsonrpcUrl instead of jsonrpcPortLeonid Logvinov2018-03-121-1/+1
|
* Add support for async calls under coverageLeonid Logvinov2018-03-121-4/+8
|
* Fix a typo in testsLeonid Logvinov2018-03-121-2/+2
|
* Don't do parallel callsLeonid Logvinov2018-03-121-8/+4
|
* Rename useInProcessGanache to shouldUseInProcessGanacheLeonid Logvinov2018-03-121-1/+1
|
* Make coverage a module instead of a functionLeonid Logvinov2018-03-121-2/+2
|
* Rename COVERAGE to SOLIDITY_COVERAGSLeonid Logvinov2018-03-121-1/+1
|
* Rename getCoverageSubprovider to getCoverageSubproviderSingletonLeonid Logvinov2018-03-121-2/+2
|
* Use in-process Ganache in contractsLeonid Logvinov2018-03-121-1/+2
|
* Add sol-cover implementationLeonid Logvinov2018-03-1215-44/+42
|
* Fix tests by passing DummyToken argsLeonid Logvinov2018-03-091-2/+2
|
* Merge pull request #419 from 0xProject/fix/deployer-argsLeonid Logvinov2018-03-085-11/+11
|\ | | | | Improve an error message when an incorrect number of constructor param…
| * Remove onlyLeonid Logvinov2018-02-281-1/+1
| |
| * Fix a typoLeonid Logvinov2018-02-281-1/+1
| |
| * Improve an error message when an inorrect number of constructor params is passedLeonid Logvinov2018-02-285-12/+12
| |
* | Adjust the testsLeonid Logvinov2018-03-021-37/+47
| |
* | Make tests slightly nicerLeonid Logvinov2018-03-021-16/+23
| |
* | Remove onlyLeonid Logvinov2018-03-021-1/+1
| |
* | Don't pass tokenGet and tokenGive because we can get them from 0x orderLeonid Logvinov2018-03-021-3/+1
| |
* | Fix a typoLeonid Logvinov2018-03-021-2/+2
| |
* | Fix the commentLeonid Logvinov2018-03-021-1/+1
| |
* | Remove false-positive linter failure because of chai-as-pronmised incorrect ↵Leonid Logvinov2018-03-021-0/+1
| | | | | | | | types
* | Assert that the balances don't change if arbitrage failsLeonid Logvinov2018-03-021-4/+7
| |
* | Initial implementation of Arbitrage contract with testsLeonid Logvinov2018-03-021-0/+207
|/
* Change backend for contracts contractsLeonid Logvinov2018-02-281-4/+4
|
* Fix namingsLeonid Logvinov2018-02-281-2/+2
|
* Use the same templates as 0x.jsLeonid Logvinov2018-02-2810-47/+85
|
* Fix build by using local events typesLeonid Logvinov2018-02-283-12/+19
|
* Fix namingsLeonid Logvinov2018-02-091-84/+90
|
* Use Order and SignedOrder type from 0x.jsLeonid Logvinov2018-02-073-241/+233
|
* Introduce SignedOrder class and remove type assertionsLeonid Logvinov2018-02-073-220/+223
|
* Make orderHashHex a getter instead of a propertyLeonid Logvinov2018-02-072-26/+37
|
* Special-case ZRXToken snake case conversionLeonid Logvinov2018-02-071-1/+1
|
* Change testsLeonid Logvinov2018-02-0710-207/+275
|
* Fix artifacts pathAmir Bandeali2018-02-071-1/+1
|
* Update contract versions, fix testsAmir Bandeali2018-02-031-1/+1
|
* Rename directoriesAmir Bandeali2018-02-031-1/+1
|
* Get rid of suffixed contract versioning and replace it with a poor-mans ↵Fabio Berger2018-02-032-158/+20
| | | | package manager. Versions are stored locally, and are generated in a copy-on-write basis as required
* Remove authorized address magic from testsLeonid Logvinov2018-01-301-8/+1
|
* Remove accounts magic from testsLeonid Logvinov2018-01-303-8/+4
|
* Make an RPC constructor param implicitLeonid Logvinov2018-01-3012-14/+14
|
* Use an enum for contract nameLeonid Logvinov2018-01-3012-35/+47
|
* Remove promisified web3 functions from testsLeonid Logvinov2018-01-301-14/+8
|
* Normalize the dependenciesLeonid Logvinov2018-01-302-37/+26
|
* Remove truffle from testsLeonid Logvinov2018-01-3013-276/+374
|
* Refactor contracts tests to not use injected web3 instanceLeonid Logvinov2018-01-3012-81/+46
|
* Remove truffle from Exchange testsLeonid Logvinov2018-01-303-20/+65
|
* Remove truffle from ZRXToken testsLeonid Logvinov2018-01-301-11/+19
|
* Remove truffle from UnlimitedAllowanceToken testsLeonid Logvinov2018-01-302-5/+26
|
* Remove truffle from UnlimitedAllowanceTokenV2 testsLeonid Logvinov2018-01-305-14/+22
|
* Remove truffle from TokenRegistry testsLeonid Logvinov2018-01-301-12/+28
|
* Remove truffle from MultiSigWalletWithTimeLock testsLeonid Logvinov2018-01-301-4/+10
|
* Remove truffle from MultiSigWalletWithTimeLockExceptRemoveAuthAddr testsLeonid Logvinov2018-01-302-14/+32
|
* Remove truffle from Ether Token testsLeonid Logvinov2018-01-301-12/+24
|
* Remove truffle from tokenTransferProxy testsLeonid Logvinov2018-01-302-39/+37
|
* Remove truffle from tokenTransferProxy testsLeonid Logvinov2018-01-3013-54/+75
|
* Fix linter errorsLeonid Logvinov2018-01-042-4/+2
|
* Use configured version of bignumber in all packagesLeonid Logvinov2018-01-048-8/+8
|
* Apply prettier configLeonid Logvinov2018-01-0312-530/+715
|
* Replace our EtherTokens with WETH9 from makerLeonid Logvinov2017-12-201-166/+0
|
* Remove reliance on testrpc snapshot in ZRX testsAmir Bandeali2017-12-201-20/+18
|
* Fix tests in contractsFabio Berger2017-12-172-13/+11
|
* Fix connect unused varsLeonid Logvinov2017-12-153-7/+3
|
* Move more shared utils into utils package and reuse themLeonid Logvinov2017-12-141-2/+4
|
* Formatting fixesAmir Bandeali2017-12-134-18/+27
|
* fix tests after merging with developmentAmir Bandeali2017-12-131-3/+3
|
* Add gas limits to failing testsAmir Bandeali2017-12-135-14/+28
|
* Refactor unlimited allowance logic out of ERC20TokenAmir Bandeali2017-12-133-1/+1
|
* Update 0x.js version, fix build errorsAmir Bandeali2017-12-136-10/+25
|
* Add updated contracts, reorganize contract file structureAmir Bandeali2017-12-132-4/+4
|
* Add tests for ERC20Token and EtherToken_v2Amir Bandeali2017-12-132-4/+171
|
* Fix errors with new testrpc versionAmir Bandeali2017-12-137-44/+44
|
* Add version to new EtherToken, fix typosAmir Bandeali2017-12-131-0/+118
|
* Refactor web3Wrapper to a separate packageLeonid Logvinov2017-12-072-6/+6
|
* Fix linter errorLeonid Logvinov2017-12-021-1/+1
|
* Make class methods that don't use 'this' staticAmir Bandeali2017-12-011-2/+2
|
* Fix indentationsAmir Bandeali2017-11-3011-1844/+1873
|
* Add contracts to packages, fix most linting errorsAmir Bandeali2017-11-3012-0/+2255