aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/test
Commit message (Collapse)AuthorAgeFilesLines
* Refactor 0x.js to simply re-export it's own sub-dependencies rather then ↵Fabio Berger2018-08-146-210/+0
| | | | wrapping them in a ZeroEx object
* Apply prettierAlex Browne2018-08-091-3/+3
|
* Add strictArgumentEncodingCheck to BaseContract and use it in contract templatesAlex Browne2018-08-091-1/+2
|
* Fix tslint issuesLeonid Logvinov2018-07-171-1/+1
|
* Fix linter issuesFabio Berger2018-07-122-4/+0
|
* Refactor 0x.js to V2Fabio Berger2018-07-124-76/+48
|
* Remove artifact tests since no testnet deployments are finalizedFabio Berger2018-07-121-48/+0
|
* Remove TokenRegistry from 0x.jsFabio Berger2018-07-121-5/+0
|
* Use make-promises-safe as a preloader instead of manually importingAlex Browne2018-06-222-2/+0
|
* Fix linting issuesfragosti2018-06-071-1/+1
|
* Get build and tests to passfragosti2018-06-071-1/+1
|
* remove unused imports from 0x.js testFabio Berger2018-06-061-1/+1
|
* Try enabling no-unused-variable...fragosti2018-06-054-8/+4
|
* Rename Signer to Wallet, rename GAS_ESTIMATE to GAS_LIMITAmir Bandeali2018-05-311-1/+1
|
* Migrate migrations to v2Leonid Logvinov2018-05-251-2/+2
|
* Suppport subcalls in constructorLeonid Logvinov2018-05-231-2/+2
|
* 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-231-1/+2
|\ | | | | Add more tslint rules
| * Fix TSLint rulesFabio Berger2018-05-161-1/+2
| |
* | Use make-promises-safe to catch unhandled rejections in testsAlex Browne2018-05-172-0/+2
|/
* Add missing type definitionsLeonid Logvinov2018-05-142-2/+2
|
* Merge branch 'development' into breakUp0xjsFabio Berger2018-05-112-21/+14
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * Remove unused deployer docs configsLeonid Logvinov2018-05-102-3/+2
| |
| * Add a check for compiler outputLeonid Logvinov2018-05-102-2/+1
| |
| * Put ARTIFACTS_VERSION in a configLeonid Logvinov2018-05-102-1/+2
| |
| * Add a HACK commentLeonid Logvinov2018-05-101-0/+2
| |
| * Rename deployer to sol-compilerLeonid Logvinov2018-05-101-1/+1
| |
| * Remove deployer from 0x.js and migrationsLeonid Logvinov2018-05-102-21/+12
| |
* | Fix type error for latched on propertyFabio Berger2018-05-101-1/+1
| |
* | Fix no-any-propagationFabio Berger2018-05-101-1/+2
| |
* | Split 0x.js into contract-wrappers, order-watcher but keep 0x.js as a ↵Fabio Berger2018-05-1017-4362/+4
|/ | | | unifying library with the same interface
* Move order utils to @0xproject/order-utilsLeonid Logvinov2018-05-026-228/+4
|
* Execute taker side in trade simulationJacob Evans2018-05-011-1/+35
| | | | Fill if the taker address is open
* Remove hack above migrations packageFabio Berger2018-04-191-3/+0
|
* Fix expiration watcher comparatorLeonid Logvinov2018-04-183-7/+49
|
* Merge pull request #510 from avonian/developmentFabio Berger2018-04-171-0/+38
|\ | | | | Implement `zeroEx.exchange.getOrderStateAsync`
| * Lint/PrettifyAra Kevonian2018-04-091-2/+3
| |
| * Implement `zeroEx.exchange.getOrderStateAsync`Ara Kevonian2018-04-091-1/+38
| |
* | Remove truffle-hdwallet from 0x.js testsJacob Evans2018-04-131-9/+3
| |
* | Fix lint issueFabio Berger2018-04-111-2/+2
| |
* | Move NULL_BYTES to @0xproject/utilsFabio Berger2018-04-111-1/+0
| |
* | Simplify the testsFabio Berger2018-04-114-9/+5
| |
* | Remove 0x.js test artifactsFabio Berger2018-04-0914-5555/+0
| |
* | Move migrations into separate monorepo subpackage and hook it up to 0x.js ↵Fabio Berger2018-04-094-169/+4
| | | | | | | | and contracts
* | Remove unused varFabio Berger2018-04-071-1/+0
| |
* | Move away from using web3 directly in 0x.js testsFabio Berger2018-04-0616-72/+71
| |
* | Merge branch 'development' into removeMigrateStepFabio Berger2018-04-052-3/+9
|\| | | | | | | | | | | | | | | * development: Fix tests Call static functions as static Address feedback Move our contract templates to accept Provider instead of Web3Wrapper
| * Fix testsLeonid Logvinov2018-04-051-1/+2
| |
| * Call static functions as staticLeonid Logvinov2018-04-051-2/+2
| |
| * Move our contract templates to accept Provider instead of Web3WrapperLeonid Logvinov2018-04-041-1/+6
| |
* | Move migrations over from contracts to 0x.jsFabio Berger2018-04-043-0/+168
| |
* | Add contract artifacts to 0x.js testsFabio Berger2018-04-0414-0/+5555
| |
* | Update 0x.js to run tests against in-process ganacheFabio Berger2018-04-0410-17/+55
|/
* Run prettier, update deployer CHANGELOGAmir Bandeali2018-04-021-3/+1
|
* Monitor different state layers with OrderWatcherAra Kevonian2018-03-301-42/+47
| | | | | | Allow instantiation of stand-alone OrderWatchers that can monitor different blockchain state layers (e.g. pending or latest)
* Fix stubbing of a non-existent propertyLeonid Logvinov2018-03-281-1/+1
|
* Move common types out of web3 typesLeonid Logvinov2018-03-271-6/+7
|
* Add clean-state testsLeonid Logvinov2018-03-271-1/+1
|
* Fix typosFabio Berger2018-03-231-1/+1
|
* Merge branch 'development' into addExtraDocsFabio Berger2018-03-221-0/+13
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | * development: Change blockchain prop to not optional Other style changes Updated padding and colors Refactor TokenState type Fix a bug causing fillOrdersUpTo validation to fail because of some extra orders being passed Implement initial wallet interface # Conflicts: # packages/react-shared/CHANGELOG.md # packages/website/ts/types.ts
| * Fix a bug causing fillOrdersUpTo validation to fail because of some extra ↵Leonid Logvinov2018-03-211-0/+13
| | | | | | | | orders being passed
* | Remove duplicate methodFabio Berger2018-03-211-3/+3
|/
* Add SignedOrder, Order, and ECSignature types to the types packageBrandon Millman2018-03-151-1/+1
|
* Add forgotten fileLeonid Logvinov2018-03-131-0/+6
|
* Make BlockchainLifecycle accept only web3WrapperLeonid Logvinov2018-03-1210-28/+26
|
* Add sol-cover implementationLeonid Logvinov2018-03-1211-30/+23
|
* Allow users to specify the contracts backend in abi-genLeonid Logvinov2018-02-281-5/+1
|
* Rename _unsubscribeAll to unsubscribeAllLeonid Logvinov2018-02-274-5/+5
|
* Remove type-level validationLeonid Logvinov2018-02-152-4/+3
|
* Fix testsLeonid Logvinov2018-02-154-8/+12
|
* Move BlockParamLiteral to shared types packageJacob Evans2018-02-073-3/+6
| | | | Also BlockParam
* Merge branch 'development' into fix/ether_token_addressLeonid2018-02-0517-144/+28
|\
| * Fix lint errorsBrandon Millman2018-01-314-5/+5
| |
| * Make an RPC constructor param implicitLeonid Logvinov2018-01-3010-10/+10
| |
| * Refactor contracts tests to not use injected web3 instanceLeonid Logvinov2018-01-3017-139/+23
| |
* | Add regression testsLeonid Logvinov2018-02-051-0/+12
| |
* | Fix linter errorsLeonid Logvinov2018-01-301-1/+0
| |
* | Add zeroEx.etherToken.getContractAddressifExistsLeonid Logvinov2018-01-301-1/+1
|/
* Add config file specifically in prettier command and fix filesFabio Berger2018-01-3024-4370/+4370
|
* Fix prettierFabio Berger2018-01-3024-4370/+4370
|
* Add shouldAddPersonalMessagePrefix param to signOrderHashAsync instead of ↵Fabio Berger2018-01-302-4/+20
| | | | trying to infer whether to add it or not from the nodeVersion
* Reject negative amounts in isValidBaseUnitAmountJacob Evans2018-01-191-0/+47
|
* Merge pull request #322 from 0xProject/fix/ci-timeLeonid2018-01-181-1/+1
|\ | | | | Speed-up CI
| * Remove trailing slashLeonid Logvinov2018-01-171-1/+1
| |
* | Fix the typosLeonid Logvinov2018-01-171-3/+3
| |
* | Fix fillOrdersUpTo balances validationLeonid Logvinov2018-01-161-0/+14
| |
* | Add a regression test for fillUpToValidationLeonid Logvinov2018-01-161-1/+18
|/
* Make some callbacks failable and add error handlingLeonid Logvinov2018-01-113-22/+27
|
* Fix linter issuesLeonid Logvinov2018-01-103-10/+1
|
* Fix callback typesLeonid Logvinov2018-01-107-155/+201
|
* Fix linter errorsLeonid Logvinov2018-01-042-2/+2
|
* Use configured version of bignumber in all packagesLeonid Logvinov2018-01-0412-12/+12
|
* Fix formattingLeonid Logvinov2018-01-031-3/+0
|
* Apply prettier configLeonid Logvinov2018-01-0322-704/+1400
|
* Merge pull request #285 from 0xProject/fix/underscorePrivateBrandon Millman2017-12-224-46/+46
|\ | | | | Add new underscore-privates rule to @0xproject/tslint-config and fix …
| * Add some missed underscores, update changelog and commentsBrandon Millman2017-12-212-3/+3
| |
| * Merge branch 'development' into fix/underscorePrivateBrandon Millman2017-12-214-5/+240
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: (29 commits) Move call to error reporter to end of handler so that even if reporting the error takes a while, it doesn't block the UI Update outdated WETH ranges Fix conditional Fix top-padding Publish Update CHANGELOGs Add slashes to base URLs Fix linter issue Fix WETH symbol Update snapshot and artifacts Replace our EtherTokens with WETH9 from maker Fix test description Fix a typo Add err==null assertions Add WETH9 tests Use the new snapshot including WETH9 and it's artifacts Add WETH9 and mirations Fix WETH events watching Fix a typo Init the _etherTokenContractsByAddress ...
| * | Add new underscore-privates rule to @0xproject/tslint-config and fix lint errorsBrandon Millman2017-12-203-43/+43
| | |
* | | Refactor toBaseUnitAmount so that it throws if user supplies unitAmount with ↵Fabio Berger2017-12-211-0/+6
| | | | | | | | | | | | too many decimals
* | | Make assertion stricter so that one cannot submit invalid baseUnit amounts ↵Fabio Berger2017-12-211-0/+6
| |/ |/| | | | | to `toUnitAmount`
* | Add slashes to base URLsLeonid Logvinov2017-12-201-3/+3
| |
* | Fix WETH symbolLeonid Logvinov2017-12-201-1/+1
| |
* | Fix test descriptionLeonid Logvinov2017-12-201-1/+1
| |
* | Fix a typoLeonid Logvinov2017-12-201-1/+1
| |
* | Add err==null assertionsLeonid Logvinov2017-12-201-0/+4
| |
* | Add WETH9 testsLeonid Logvinov2017-12-202-3/+57
| |
* | Fix a typoLeonid Logvinov2017-12-201-1/+1
| |
* | Add etherToken.getLogsAsync and etherToken.subscribe with testsLeonid Logvinov2017-12-203-2/+179
|/
* Throw a better error message when taker is null|undefined or anything but ↵Leonid Logvinov2017-12-191-0/+9
| | | | not a string
* Fix linter issuesLeonid Logvinov2017-12-192-2/+2
|
* Rename SubscriptionOpts to BlockRangeLeonid Logvinov2017-12-192-10/+10
|
* Merge pull request #267 from 0xProject/refactor/passInEtherTokenAddressFabio Berger2017-12-192-14/+7
|\ | | | | Refactor EtherToken wrapper to accept address in method args
| * Modify the etherToken wrapper methods to accept an etherTokenAddress as the ↵Fabio Berger2017-12-172-14/+7
| | | | | | | | first arg. Since it is becoming apparent we will be updating the canonical WETH contract, we want users of 0x.js to be able to interact with n number of etherTokens without re-instantiating for each one.
* | Move web3 import after subprovider imports in test web3_factoryBrandon Millman2017-12-182-4/+10
|/
* Fix redundant spacesLeonid Logvinov2017-12-162-6/+6
|
* Fix testsLeonid Logvinov2017-12-151-0/+1
|
* Fix 0x.js unused varsLeonid Logvinov2017-12-1511-59/+3
|
* Name a variableLeonid Logvinov2017-12-151-1/+2
|
* Fix a conditionalLeonid Logvinov2017-12-151-5/+1
|
* Fix linter errorsLeonid Logvinov2017-12-142-2/+2
|
* Add a function to init token balancesLeonid Logvinov2017-12-142-4/+30
|
* Rename tokenUtils.getNonProtocolTokens to tokenUtils.getDummyTokensLeonid Logvinov2017-12-144-11/+14
|
* Move more shared utils into utils package and reuse themLeonid Logvinov2017-12-1414-108/+23
|
* Refactor networkId out of web3WrapperLeonid Logvinov2017-12-082-2/+2
|
* Refactor web3Wrapper to a separate packageLeonid Logvinov2017-12-074-5/+5
|
* Use our promisifyLeonid Logvinov2017-12-022-6/+12
|
* Merge pull request #235 from 0xProject/feature/gasPriceGasLimitLeonid2017-11-295-3/+67
|\ | | | | Add optional config for gasPrice and gasLimit for every transaction sending method
| * Add a HACK commentLeonid Logvinov2017-11-291-0/+3
| |
| * Normalise subprovider namesLeonid Logvinov2017-11-293-6/+6
| |
| * Remove gas params from testsLeonid Logvinov2017-11-291-6/+0
| |
| * Add fake gas estimate suprovider for testsLeonid Logvinov2017-11-294-1/+62
| |
| * Fix testsLeonid Logvinov2017-11-281-0/+5
| |
| * Fix testsLeonid Logvinov2017-11-281-0/+1
| |
| * Update MAX_REASONABLE_GAS_COST_IN_WEILeonid Logvinov2017-11-281-1/+1
| |
* | Last remaining website fixesFabio Berger2017-11-282-2/+2
|/
* Fix testsLeonid Logvinov2017-11-281-13/+18
|
* Fix merge conflictsLeonid Logvinov2017-11-282-12/+2
|
* Merge branch 'development' into feature/passNetworkIdLeonid2017-11-285-19/+17
|\
| * Fix tests now that we no longer fire duplicate orderWatcher eventsFabio Berger2017-11-241-15/+3
| |
| * Add missing typeFabio Berger2017-11-241-1/+1
| |
| * Merge branch 'development' into validateOrdersAgainstLatestBlockFabio Berger2017-11-242-8/+10
| |\ | | | | | | | | | | | | | | | | | | * development: Rename removed to isRemoved Add CHANGELOG entry Make DecodedLogEvent contain web3 log under a log subkey
| * | Pass 'latest' to ExchangeTransferSimulator when used for validating orders, ↵Fabio Berger2017-11-244-5/+5
| | | | | | | | | | | | and pass 'pending' when used in the order watcher.
* | | Remove ContractDoesNotExist error and replace it with more specific errorsLeonid Logvinov2017-11-241-3/+3
| | |
* | | Add a regression testLeonid Logvinov2017-11-241-5/+23
| | |
* | | Pass networkId on provider updateLeonid Logvinov2017-11-243-3/+3
| | |
* | | Fix rebasing issuesLeonid Logvinov2017-11-242-9/+11
| | |
* | | Remove unused asyncsLeonid Logvinov2017-11-241-2/+2
| | |
* | | Fix the imports orderLeonid Logvinov2017-11-2413-104/+130
| | |
* | | Enable some new linter rules and fix the issuesLeonid Logvinov2017-11-241-5/+5
| | |
* | | Auto-fix linter errorsLeonid Logvinov2017-11-247-24/+33
| | |
* | | Don't reassign the parameterLeonid Logvinov2017-11-241-3/+3
| | |
* | | Remove even more asyncsLeonid Logvinov2017-11-243-8/+7
| | |
* | | Make exchange subscriptions non-asyncLeonid Logvinov2017-11-241-6/+6
| | |
* | | Cleanup order watcher from redundant asyncsLeonid Logvinov2017-11-243-19/+23
| | |
* | | Make zeroEx.exchange.getContractAddress non-asyncLeonid Logvinov2017-11-244-6/+5
| | |
* | | Make getZRXTokenAddress non asyncLeonid Logvinov2017-11-245-38/+11
| | |
* | | Adjust the testsLeonid Logvinov2017-11-2414-29/+73
| | |
* | | Fix CI testsLeonid Logvinov2017-11-241-1/+7
| |/ |/|
* | Rename removed to isRemovedLeonid Logvinov2017-11-241-2/+2
| |
* | Make DecodedLogEvent contain web3 log under a log subkeyLeonid Logvinov2017-11-242-8/+10
|/
* Update to Async callJacob Evans2017-11-231-3/+4
|
* Fix nitsJacob Evans2017-11-231-1/+1
|
* Merge branch 'development' into feature/calculate-remaining-proportionsJacob Evans2017-11-234-18/+175
|\
| * Add blockchainLifecycle management to the ExpirationWatcher testBrandon Millman2017-11-231-2/+6
| |
| * Merge branch 'development' into feature/orderExpiredLeonid2017-11-231-0/+3
| |\
| | * Fix testsLeonid Logvinov2017-11-221-1/+1
| | |
| | * Add instanceOf assertionLeonid Logvinov2017-11-221-0/+1
| | |
| | * Add postFormatter for logsLeonid Logvinov2017-11-221-0/+2
| | |
| * | Fix testsLeonid Logvinov2017-11-221-5/+5
| | |
| * | Address nitsLeonid Logvinov2017-11-211-7/+7
| | |
| * | Fix async callbacksLeonid Logvinov2017-11-212-13/+12
| | |
| * | Merge branch 'development' into feature/orderExpiredLeonid2017-11-212-85/+139
| |\|
| | * Fix nitsJacob Evans2017-11-161-3/+1
| | |
| | * Change to Async suffix conventionJacob Evans2017-11-161-16/+16
| | |
| | * test wordingJacob Evans2017-11-161-1/+1
| | |
| | * Add and Remove Fee Token with Maker TokenJacob Evans2017-11-161-15/+33
| | |
| * | Fix typosLeonid Logvinov2017-11-211-1/+1
| | |
| * | Rename orderLifetime to orderLifetimeSLeonid Logvinov2017-11-211-6/+6
| | |
| * | Reference types directlyLeonid Logvinov2017-11-211-4/+2
| | |
| * | Add tests for expirationWatcherLeonid Logvinov2017-11-181-0/+137
| | |
* | | add a test constant for ZRX decimalsJacob Evans2017-11-222-25/+29
| | |
* | | Add a test for when the ratio is < 1Jacob Evans2017-11-221-9/+49
| | |
* | | Remove onlyJacob Evans2017-11-221-1/+1
| | |
* | | calculatedFillableAmountPlusFeesJacob Evans2017-11-211-7/+7
| | |
* | | Unit test edge case for ZRX and ZRX partial fillJacob Evans2017-11-211-33/+44
| | |
* | | setting a failed testJacob Evans2017-11-211-11/+46
| | |
* | | Move to base unitsJacob Evans2017-11-211-9/+10
| | |
* | | Added unit test for calculatorJacob Evans2017-11-211-0/+89
| | |
* | | fix bug when fees and partial asymmetricJacob Evans2017-11-201-0/+26
| | |
* | | Remove onlyJacob Evans2017-11-201-1/+1
| | |
* | | refactor upJacob Evans2017-11-161-1/+1
| | |
* | | Use 18 decimal place unitsJacob Evans2017-11-161-1/+1
| | |
* | | Shortcut if everything satisfies in the non dependent use caseJacob Evans2017-11-161-2/+26
| | |
* | | Fix testJacob Evans2017-11-161-7/+5
| | |
* | | Initial testsJacob Evans2017-11-161-1/+34
| |/ |/|
* | Merge pull request #219 from 0xProject/feature/rounding-validationBrandon Millman2017-11-151-73/+105
|\ \ | | | | | | Rounding validation
| * | Fix testsLeonid Logvinov2017-11-141-12/+11
| | |
| * | Add a test for rounding errorLeonid Logvinov2017-11-141-0/+23
| | |
| * | Add assertions for fillableTakerAmountLeonid Logvinov2017-11-141-72/+82
| | |
* | | Merge branch 'development' into feature/addJsonSchemasBrandon Millman2017-11-152-9/+15
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: Improve description Alphabetize Add exit 0 to 0x.js build command Add snapshot save and revert to order_state_watcher_test.ts Fix changelog Use tslint v5.8.0 everywhere and use the tslint-config sub-package instead of the old repo as a dep. in the rest of the sub-packages. Add tslint-config sub-package Fix tslint issue Public interface has changed, moved to minor version Update changelog Renamed canceled to cancelled
| * | | Add snapshot save and revert to order_state_watcher_test.tsBrandon Millman2017-11-151-0/+6
| | |/ | |/|
| * | Renamed canceled to cancelledJacob Evans2017-11-142-9/+9
| |/
* / Add json-schemas package to mono repoBrandon Millman2017-11-141-1/+1
|/
* Fix lint and ts issuesFabio Berger2017-11-141-9/+9
|
* Switch over to Lerna + Yarn Workspaces setup for a mono-repo approachFabio Berger2017-11-1323-0/+3258