aboutsummaryrefslogtreecommitdiffstats
path: root/packages/utils/src
Commit message (Collapse)AuthorAgeFilesLines
* Implement prefer-template tslint rulekao2018-12-081-2/+2
|
* Fix import export so that it works with doc genFabio Berger2018-11-301-2/+1
|
* Linter / PrettierGreg Hysen2018-11-293-13/+13
|
* Explicit imports for calldataGreg Hysen2018-11-2919-43/+46
|
* Explicit imports for abstract data types.Greg Hysen2018-11-2917-35/+42
|
* Explicit imports for EVM Data TypesGreg Hysen2018-11-2914-77/+88
|
* Optimize calldata by default.Greg Hysen2018-11-291-1/+1
|
* Changed constants to an exported enum; this is 0x conventionGreg Hysen2018-11-2917-73/+75
|
* Use SolidityTypes from `ethereum-types` package.Greg Hysen2018-11-298-20/+20
|
* Use ethUti.isValidAddress in encoderGreg Hysen2018-11-291-7/+2
|
* Fixed build error: was using `this` instead of class name to reference a ↵Greg Hysen2018-11-291-1/+1
| | | | static function that used to be an instance method.
* Style cleanup. Improved wording of some error messages.Greg Hysen2018-11-2911-36/+43
|
* Changed remaining instances of implicit `bool` casts to explicit lodash callsGreg Hysen2018-11-293-5/+6
|
* Changed from <string>.startsWith to _.startsWithGreg Hysen2018-11-297-7/+7
|
* Switched implicit conversions to explicit lodash callsGreg Hysen2018-11-294-9/+9
|
* Replaced null/undefined checks with lodashGreg Hysen2018-11-299-28/+33
|
* Ran prettierGreg Hysen2018-11-295-12/+23
|
* Comments to Set datatypeGreg Hysen2018-11-291-42/+35
|
* Linter on CalldataGreg Hysen2018-11-291-20/+19
|
* Moved some consts outside of a loopGreg Hysen2018-11-291-5/+6
|
* Added inline documentation for Calldata classGreg Hysen2018-11-292-84/+147
|
* Linter for Calldata Block IteratorGreg Hysen2018-11-292-13/+26
|
* Moved calldata iterator logic into its own iterator clasGreg Hysen2018-11-295-62/+119
|
* Payload -> Blob, Dependent -> Pointer, Member -> SetGreg Hysen2018-11-2925-132/+130
|
* Comments for AddressGreg Hysen2018-11-291-5/+5
|
* Comments for ArrayGreg Hysen2018-11-291-16/+23
|
* Comments and inline documentation for dynamic bytesGreg Hysen2018-11-293-28/+39
|
* Removed abstract Number class.Greg Hysen2018-11-293-59/+67
|
* Abstracted out encoding/decoding of numeric values into its own utility. ↵Greg Hysen2018-11-299-81/+125
| | | | Could be useful elsewhere.
* Final rounds on evm data typesGreg Hysen2018-11-294-42/+59
|
* Moved encoder selector check into DataTypeGreg Hysen2018-11-292-14/+10
|
* Made default encoding/decoding rules global to all modules in encoderGreg Hysen2018-11-293-16/+18
|
* Removed mapDataItemToDataType from Factory. Now its just ::create()Greg Hysen2018-11-294-42/+25
|
* Some minor cleanup in ABI EncoderGreg Hysen2018-11-295-25/+26
|
* Prepended `front` to function names in QueueGreg Hysen2018-11-293-14/+14
|
* Ran prettierGreg Hysen2018-11-292-2/+2
|
* moved abi encoder constants into utils dirGreg Hysen2018-11-2914-15/+15
|
* Split ABI Encoder/Decoder tests into separate filesGreg Hysen2018-11-292-2/+2
|
* Merge aboveGreg Hysen2018-11-296-0/+390
|
* Ran prettierGreg Hysen2018-11-2914-376/+15
|
* Ran prettierGreg Hysen2018-11-2911-11/+10
|
* Split Calldata into multiple files - 1 class per fileGreg Hysen2018-11-2914-535/+571
|
* Split EVM data types and factory into separate filesGreg Hysen2018-11-2918-587/+769
|
* Renaming some EVM data types for clarityGreg Hysen2018-11-291-47/+47
|
* Fixed linter errors on evm_data_typesGreg Hysen2018-11-292-194/+190
|
* Fixed linter errors on data_type.tsGreg Hysen2018-11-294-162/+171
|
* Ran prettier on utilsGreg Hysen2018-11-294-34/+24
|
* Moved global constants to separate fileGreg Hysen2018-11-291-0/+6
|
* Ran linter on CalldataGreg Hysen2018-11-292-275/+241
|
* Tests for decoding return values + Ability to encode return valuesGreg Hysen2018-11-291-9/+10
|
* Cleaning up optimizer testsGreg Hysen2018-11-294-36/+98
|
* All 71 tests passing. Both for function encoding and individual types.Greg Hysen2018-11-292-3/+4
|
* Temporary change for testing functionsGreg Hysen2018-11-291-1/+1
|
* tests for StringGreg Hysen2018-11-291-2/+2
|
* Tests for Static BytesGreg Hysen2018-11-291-0/+4
|
* Tests for Integer (tested 256 / 32 bit integers)Greg Hysen2018-11-291-2/+2
|
* Tests for AddressGreg Hysen2018-11-293-6/+24
|
* Tests - Encode/Decode ArrayGreg Hysen2018-11-291-3/+1
|
* Fixed issue with decoding negative ints with width < 256Greg Hysen2018-11-292-4/+5
|
* Use new ABI Encoder for contractsGreg Hysen2018-11-293-7/+39
|
* Exports AbiEncoder as 1 unitGreg Hysen2018-11-291-1/+3
|
* Removed unnecessary imports from abi encoder tetsGreg Hysen2018-11-291-2/+1
|
* Moved Abi Encoder into utils packageGreg Hysen2018-11-295-0/+1395
|
* Added more commentsRemco Bloemen2018-11-091-0/+5
|
* Merge remote-tracking branch 'origin/development' into ↵Remco Bloemen2018-11-095-20/+119
|\ | | | | | | feature/utils/prettybignum
| * chore: update ethers import in utilsJacob Evans2018-10-181-1/+1
| |
| * chore: change package org from 0xproject to 0xJacob Evans2018-10-181-1/+1
| |
| * 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
| |\
| * | Add doc comments to AbiDecoderFabio Berger2018-08-221-1/+18
| | |
| * | Merge developmentFabio Berger2018-08-151-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
* | | | Fix isNodeRemco Bloemen2018-11-091-1/+1
| | | |
* | | | Add upstream issueRemco Bloemen2018-08-221-0/+1
| | | |
* | | | Use const require instead of importRemco Bloemen2018-08-221-1/+5
| | | |
* | | | Fix tslint issuesRemco Bloemen2018-08-221-2/+3
| | | |
* | | | Use detect-nodeRemco Bloemen2018-08-221-1/+2
| | | |
* | | | Set curstom inspect printer in BigNumberRemco Bloemen2018-08-221-0/+11
| |_|/ |/| |
* | | 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
* | 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
|/
* 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