aboutsummaryrefslogtreecommitdiffstats
path: root/packages/utils/src
Commit message (Collapse)AuthorAgeFilesLines
* chore: tslint fixFabio Berger2018-10-181-0/+1
|
* chore: Re-cast to EventAbi after checking the the type is set to 'event'Fabio Berger2018-10-181-3/+4
|
* Stop accesing ethers private methodsLeonid Logvinov2018-10-091-3/+2
|
* Fix ethers build issueLeonid Logvinov2018-10-091-3/+4
|
* Throw and handle errors from Providers.Jacob Evans2018-10-091-3/+3
| | | | | | | In web3 wrapper when a response contains an error field we throw this rather than return response.result which is often undefined. In Signature Utils we handle the error thrown when a user rejects the signing dialogue to prevent double signing. Exposed the ZeroExTransaction JSON schema. In Website only use the MetamaskSubprovider if we can detect the provider is Metamask
* Return SignedOrder from signing utils.Jacob Evans2018-10-051-10/+19
| | | | | Create a helper back in EIP712Utils for code cleanup. Moved constants in order-utils into the constants object
* Add eth_signTypedData support to our wallet subprovidersJacob Evans2018-10-051-34/+26
|
* Move SignTypedData to utils packageJacob Evans2018-10-052-0/+82
|
* Remove unused importLeonid Logvinov2018-09-211-1/+0
|
* Fixes for the breaking changes in ethersLeonid Logvinov2018-09-192-6/+12
|
* Merge development branchFabio Berger2018-08-223-6/+10
|\
| * Fix file name from camel to snake caseFabio Berger2018-08-212-1/+1
| |
| * Store methodId and number of indexed args in AbiDecoder to differentiate ↵Amir Bandeali2018-08-171-5/+9
| | | | | | | | between events with same function signature
* | Add doc comments to AbiDecoderFabio Berger2018-08-221-1/+18
| |
* | Merge developmentFabio Berger2018-08-151-0/+153
|\|
| * Update comment about ethers checksummed address behaviorAlex Browne2018-08-091-3/+3
| |
| * Move some ethers-related types to typescript-typings/ethersAlex Browne2018-08-091-12/+6
| |
| * Apply prettierAlex Browne2018-08-091-4/+10
| |
| * Add strictArgumentEncodingCheck to BaseContract and use it in contract templatesAlex Browne2018-08-091-0/+153
| |
* | Remove all in-package monorepo-scripts by adding doc gen/upload and ↵Fabio Berger2018-07-301-8/+0
|/ | | | aggregate release note publishing to publish script
* Add combinatorial tests for internal Exchange functions (#807)Alex Browne2018-07-271-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * WIP add combinatorial tests for internal Exchange functions * Change combinitorial testing strategy based on feedback * Check value of filled[orderHash] in updateFilledState tests * Add combinatorial tests for addFillResults * Add combinatorial tests for getPartialAmount * Implement generic `testWithReferenceFuncAsync` * Implement generic `testCombinatoriallyWithReferenceFuncAsync` * Add combinatorial tests for isRoundingError * Add combinatorial tests for calculateFillResults * Add support for Geth in internal contract tests * Fix contract artifacts * Change DECIMAL_PLACES to 78 and add a note. * Document new functions in utils * Optimize tests by only reseting state when needed * Rename/move some files * Print parameter names on failure in testWithReferenceFuncAsync * Add to changelog for utils package * Appease various linters * Rename some more things related to FillOrderCombinatorialUtils * Remove .only from test/exchange/internal.ts * Remove old test for isRoundingError and getPartialAmount * Appease linters again * Remove old todos * Fix typos, add comments, rename some things * Re-add some LibMath tests * Update contract internal tests to use new SafeMath revert reasons * Apply PR feedback from Amir * Apply PR feedback from Remco * Re-add networks to ZRXToken artifact * Remove duplicate Whitelist in compiler.json
* Add AbortController polyfill to fetchAsync in utilsBrandon Millman2018-07-211-0/+3
|
* Fix tslint issuesLeonid Logvinov2018-07-172-4/+4
|
* Fix linterFabio Berger2018-07-141-1/+3
|
* Add assertion to make sure caller to fetchAsync isn't trying to set timeout ↵Fabio Berger2018-07-141-0/+3
| | | | in a context-specific way
* Switch conditionalFabio Berger2018-07-131-1/+1
|
* Move type defs to typescript-typingsdFabio Berger2018-07-131-4/+0
|
* Replace process.browser with detect-node libraryFabio Berger2018-07-132-1/+6
|
* -fetch';Fabio Berger2018-07-132-8/+9
|
* Add fetchAsync util and RPCSubproviderFabio Berger2018-07-132-0/+31
|
* Remove unused code/variables from abi-decoderLeonid Logvinov2018-06-291-2/+0
|
* Run prettierBryce2018-06-261-10/+10
|
* Typings and commentBryce2018-06-231-0/+5
|
* Update at abi_decoderBryce2018-06-231-1/+9
|
* Merge branch 'v2-prototype' into refactor/move-spawn-switch-to-utilsFabio Berger2018-06-073-6/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * v2-prototype: (66 commits) Run prettier Remove unused variable Fix linting issues Change shouldRenderHeader prop to shouldHideHeader Get build and tests to pass typo Apply prettier Update contracts tests after rebase Apply various fixes based on PR feedback Document debug_increaseTime method and fix typo in devnet README Use an enum for ProviderType in contracts/src/utils/web3_wrapper Update contracts package README Update relevant changelogs Remove global gas estimate buffer Add Async suffix to relevant assertions Fix linter errors Update package.json and yarn.lock Update more things to work with both Geth and Ganache Small fixes and cleanup Add additional gas to calls to fillOrderNoThrow ... # Conflicts: # packages/order-watcher/src/order_watcher/order_watcher.ts # packages/react-docs/src/components/type.tsx # packages/website/ts/components/ui/lifecycle_raised_button.tsx # packages/website/ts/components/wallet/wallet.tsx
| * Run prettierfragosti2018-06-071-1/+0
| |
| * Try enabling no-unused-variable...fragosti2018-06-053-5/+1
| |
* | Move spawnSwitchErr to @0xproject/utilsFabio Berger2018-06-062-0/+6
|/
* Introduce ethereum-types packageLeonid Logvinov2018-06-012-3/+3
|
* Fix linter issuesLeonid Logvinov2018-05-241-3/+3
|
* Address feedbackLeonid Logvinov2018-05-232-11/+7
|
* Support all opcodes in a trace parserLeonid Logvinov2018-05-231-0/+3
|
* Improve namingFabio Berger2018-05-171-2/+2
|
* Fix TSLint rulesFabio Berger2018-05-163-12/+19
|
* Add missing type definitionsLeonid Logvinov2018-05-142-3/+7
|
* Interface for EventDescription renamed topicsJacob Evans2018-04-191-1/+1
|
* Use ethers in abi_decoder utilsJacob Evans2018-04-191-3/+3
|
* Add ony abi-gen changes from Greg's PRLeonid Logvinov2018-04-122-0/+72
|
* Revert "Merge pull request #493 from ↵Leonid Logvinov2018-04-122-73/+0
| | | | | | | hysz/features/deployer/multipleCodebaseSupport" This reverts commit 70d403e6f8c56bc70e6d3471a770b9bbff5d72e7, reversing changes made to 073bf738ddb271b6b4158798baf4cac3cb0608e9.
* Move NULL_BYTES to @0xproject/utilsFabio Berger2018-04-112-0/+3
|
* Added a detailed description of `renameOverloadedMethods` (special thanks to ↵Greg Hysen2018-04-101-44/+41
| | | | @fabioberger). Updated Javascript styles in the Abi-Gen and Utils packages, around support for function overloading.
* Updated deployer to accept a list of contract directories as input. Contract ↵Greg Hysen2018-04-102-0/+75
| | | | directories are namespaced to a void clashes. Also in this commit is a fix for overloading contract functions.
* Add metacoin example projectLeonid Logvinov2018-04-021-2/+2
|
* Move common types out of web3 typesLeonid Logvinov2018-03-271-9/+18
|
* Merge branch 'development' into feature/utils/console-logBrandon Millman2018-03-152-0/+14
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: (25 commits) Enable coverage for all other packages with tests Fix parallel coverage results reporting Fix linter issuesx Remove outdated comment Add script copying to build command Add postpublish script to sol-cov Move configuration into package.json configs section Transform input data before encoding for callAsync and getABIEncodedTransactionData Consolidate docs generation and uploading logic Use async/await instead of promise syntax Move changelog entry remove unneeded include remove unused dep Fix lint issues Re-add linter to monorepo-scripts but with tslint-config dep at earlier version to avoid cyclical dependency small fixes move scripts to monorepro-scripts Fix gitignore Move abi-gen scripts to src Add missing dep ...
| * Move configuration into package.json configs sectionFabio Berger2018-03-141-2/+3
| |
| * Fix lint issuesFabio Berger2018-03-131-0/+1
| |
| * move scripts to monorepro-scriptsFabio Berger2018-03-132-0/+12
| |
* | Consolidate all console.log into the @0xproject/utils packageBrandon Millman2018-03-142-0/+6
|/
* Rename idx to iLeonid Logvinov2018-02-281-2/+2
|
* Create ethers-typescript-typingsLeonid Logvinov2018-02-281-28/+0
|
* Use as a backend to decode event argsLeonid Logvinov2018-02-282-15/+41
|
* Use forEach instead of mapLeonid Logvinov2018-02-051-2/+2
|
* Fix an exception when a signature collision happensLeonid Logvinov2018-02-051-5/+14
|
* Fix tslint issuesLeonid Logvinov2018-01-301-2/+1
|
* Normalize the dependenciesLeonid Logvinov2018-01-301-0/+1
|
* Remove duplicate codeLeonid Logvinov2018-01-302-55/+0
|
* Remove truffle from testsLeonid Logvinov2018-01-305-0/+129
|
* Add an error handler parameter to intervalsLeonid Logvinov2018-01-111-2/+19
|
* Use configured version of bignumber in all packagesLeonid Logvinov2018-01-043-12/+10
|
* Apply prettier configLeonid Logvinov2018-01-033-15/+12
|
* Move more shared utils into utils package and reuse themLeonid Logvinov2017-12-144-0/+52
|
* Move isAddress to shared utils and remove all dependencies on ethereum-addressLeonid Logvinov2017-12-112-0/+35
|
* Refactor web3Wrapper to a separate packageLeonid Logvinov2017-12-072-0/+25