aboutsummaryrefslogtreecommitdiffstats
path: root/packages/types/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge developmentLeonid Logvinov2019-02-071-9/+24
|\
| * Allow custom domains in eip712UtilsAmir Bandeali2019-02-061-0/+6
| |
| * Update ZeroExTransactionSchemaAmir Bandeali2019-02-061-0/+5
| |
* | TempLeonid Logvinov2019-02-041-0/+20
|/
* Dutch Auction Contract WrapperGreg Hysen2019-01-081-0/+9
|
* Update CHANGELOGsAmir Bandeali2019-01-081-0/+2
|
* Add recursive MultiAsset decoding, store first address in pipelineAmir Bandeali2019-01-081-1/+7
|
* feat: Add fields to OrderRelevantState and change AssetData to SingleAssetDataAmir Bandeali2019-01-081-1/+3
|
* feat: Add MultiAsset typesAmir Bandeali2019-01-081-1/+8
|
* Prettier / Linter fixes for TSGreg Hysen2018-12-191-1/+1
|
* Revert reasons for balance threshold filterGreg Hysen2018-12-191-3/+4
|
* generalized KYC extension passing all testsGreg Hysen2018-12-191-0/+1
|
* More tests + require instead of revert in compliance contractGreg Hysen2018-12-191-0/+2
|
* chore: Add RevertReasons for DutchAuction. Test revert reasonsJacob Evans2018-12-041-0/+6
|
* feat: Add and revert reasonsAmir Bandeali2018-11-281-0/+2
|
* Fix prettierFabio Berger2018-11-211-1/+1
|
* Fix `SimpleContractArtifact` typeFabio Berger2018-11-211-2/+16
|
* Allow a `SimpleContractArtifact` to be passed into `deployFrom0xArtifactAsync`Fabio Berger2018-11-211-1/+8
|
* fix: dont use enum string as type as typedoc gets confusedfragosti2018-10-171-2/+2
|
* Merge branch 'development' of https://github.com/0xProject/0x-monorepo into ↵fragosti2018-10-161-0/+4
|\ | | | | | | feature/instant/move-features-over-from-zrx-buyer
| * Merge branch 'development' into developmentAndrew Maurer2018-10-131-10/+31
| |\
| * | Fixes per converstaion, stats interface to pubamaurer2018-10-121-0/+4
| | |
| * | Fixed accidental carriage return removal in index.tsamaurer2018-10-081-1/+1
| | |
| * | Changed getWatchedOrders to getStats and returns Stats objectamaurer2018-10-081-1/+1
| | |
* | | feat: Add AssetData type as union of ERC721AssetData and ERC20AssetDatafragosti2018-10-131-2/+4
| |/ |/|
* | Return SignedOrder from signing utils.Jacob Evans2018-10-051-2/+18
| | | | | | | | | | 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-0/+15
| |
* | Introduce Metamask Subprovider.Jacob Evans2018-10-051-10/+0
|/ | | | MM has a number of inconsistencies with other providers when implementing the JSON RPC interface. This subprovider wraps those nuances so they do not leak into the rest of our code
* Split _genMethodDoc into it and _genFallbackDoc for clarity. Add isFallback ↵Fabio Berger2018-09-271-0/+1
| | | | boolean
* fix: disable tslint max-file-line-count...F. Eugene Aumson2018-09-261-0/+2
| | | | | | | | | | before, tslint was saying "ERROR: /home/gene/0x-monorepo/packages/types/src/index.ts[598, 2]: This file has 599 lines, which exceeds the maximum of 500 lines allowed. Consider breaking this file up into smaller parts." https://github.com/0xProject/0x-monorepo/pull/1004#issuecomment-424704651 https://github.com/0xProject/0x-monorepo/pull/1004
* Merge remote-tracking branch 'upstream/development' into sol-docF. Eugene Aumson2018-09-261-0/+130
|\
| * Add transactionHash to OrderState and emit it from OrderWatcher subscriptionFabio Berger2018-09-251-0/+2
| |
| * Move SRA types from @0xproject/connect to @0xproject/sra-typesLeonid Logvinov2018-09-251-0/+128
| |
* | Merge remote-tracking branch 'upstream/development' into sol-docF. Eugene Aumson2018-09-251-0/+4
|\|
| * Move ObjectMap to shared typesfragosti2018-09-191-0/+4
| |
* | Merge branch 'development' into sol-docF. Eugene Aumson2018-09-121-0/+3
|\|
| * Add MultiSigWalletWithTimeLock revert reasons to testsAmir Bandeali2018-09-041-0/+3
| |
* | Merge remote-tracking branch 'upstream/development' into sol-docF. Eugene Aumson2018-08-311-0/+3
|\|
| * Fix geth testsAmir Bandeali2018-08-301-0/+3
| |
* | move shared doc types from react-docs to @0x/typesF. Eugene Aumson2018-08-301-0/+223
|/
* Merge branch 'fix/contracts/robustMatching' of github.com:0xProject/0x.js ↵Remco Bloemen2018-08-251-0/+1
|\ | | | | | | into fix/contracts/robustMatching
| * Merge pull request #1003 from 0xProject/feature/contracts/roundupAmir Bandeali2018-08-251-0/+1
| |\ | | | | | | [contracts] Add getPartialAmountCeil and isRoundingErrorCeil
| | * Update testsRemco Bloemen2018-08-251-0/+1
| | |
* | | Fix double definition of errorRemco Bloemen2018-08-251-1/+0
| | |
* | | Add revert reasons to typesRemco Bloemen2018-08-251-0/+5
|/ /
* | Remove remaining Trezor referencesAmir Bandeali2018-08-251-2/+1
| |
* | Remove Trezor SignatureTypeAmir Bandeali2018-08-251-1/+0
| |
* | Remove SignatureType.CallerAmir Bandeali2018-08-251-1/+0
| |
* | Rethrow Wallet and Validator errorsAmir Bandeali2018-08-251-0/+2
|/
* Fix many linter errors that showed up upon upgrading tsutilFabio Berger2018-08-231-9/+0
|
* Merge development branchFabio Berger2018-08-221-0/+5
|\
| * Add ERC721 revert reasons to typesAmir Bandeali2018-08-171-0/+5
| |
* | Merge developmentFabio Berger2018-08-171-2/+1
|\|
| * Rename OrderAlreadyCancelledOrFilled -> OrderCancelled.Jacob Evans2018-08-161-2/+1
| | | | | | | | Remove try catch of throwing errors in favour of returning the Errors in a OrderValidationResult
* | Merge developmentFabio Berger2018-08-151-0/+11
|\|
| * Rename from SignerProviderType.EthSign to SignerType.DefaultJacob Evans2018-08-111-4/+4
| |
| * Update Changelogs. Rebased from developmentJacob Evans2018-08-091-2/+3
| |
| * Introduce SignerProviderTypeJacob Evans2018-08-091-0/+10
| | | | | | | | This allows the developer to indicate the nuanced signer provider. Some have different implementations (trezor, ledger) and others have different implementations (metamask). Breaking the abstraction of eth_sign. EthSign assumes a spec compliant implementation and can be used as a default
* | 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-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Merge v2-prototypeFabio Berger2018-07-241-4/+3
|\
| * Add more tests and fixesAmir Bandeali2018-07-231-1/+1
| |
| * Fix minimal testsAmir Bandeali2018-07-231-1/+1
| |
| * Removed receiverData from ERC721 Proxy Id generationGreg Hysen2018-07-181-2/+1
| |
* | Move ECSignature type from types package into eth-light-wallet type dec ↵Fabio Berger2018-07-221-6/+0
|/ | | | since only used there
* -fetch';Fabio Berger2018-07-131-4/+0
|
* Add fetchAsync util and RPCSubproviderFabio Berger2018-07-131-0/+12
|
* Dedupe AssetProxyId typesLeonid Logvinov2018-07-091-1/+0
|
* Types: Move Forwarder Revert Reason into types packageJacob Evans2018-07-061-0/+4
|
* Merge branch 'v2-prototype' into eth-lightwallet-subprovider-finalJacob Evans2018-07-021-5/+49
|\
| * Make registerAssetProxy append onlyAmir Bandeali2018-06-301-2/+1
| |
| * Add more revert reasons to testsAmir Bandeali2018-06-271-0/+1
| |
| * Rename RevertReasons to RevertReason since singular enum names are more commonFabio Berger2018-06-261-1/+1
| |
| * Merge branch 'v2-prototype' into refactor/check-revert-reasonsFabio Berger2018-06-261-5/+5
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| | * WIPRemco Bloemen2018-06-261-5/+5
| | |
| * | Move RevertReasons to @0xproject/types packageFabio Berger2018-06-251-0/+44
| |/
* / Move eth-lightwallet declaration to typingsCavan2018-06-261-0/+6
|/
* Twenty new tests for MixinSignatureValidator. Fixed handling of unsupported ↵Greg Hysen2018-06-211-0/+1
| | | | types. Fixed trezor prefix.
* Union types for generalized decodeAssetDataGreg Hysen2018-06-081-6/+0
|
* Fixes after rebasingGreg Hysen2018-06-081-3/+4
|
* Update naming in orderStateUtils to use asset over token, also removed ↵Fabio Berger2018-06-081-4/+3
| | | | cancelledAmount since in V2 it's binary.
* Try enabling no-unused-variable...fragosti2018-06-051-1/+1
|
* Improve comments and remove unused importsFabio Berger2018-06-021-0/+3
|
* Merge branch 'v2-prototype' into refactor/order-utils/for-v2Fabio Berger2018-06-021-281/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * v2-prototype: (33 commits) Only show ProviderDisplay in portal Improve sol-cov docs Remove old parse code Refactor order parser and add shared order support to new portal Add generate and fill order routes Address feedback Override ethereumjs-tx version Fix missing key Update placeholder param ordering Change userEtherBalanceInWei to optional so we can know if its loading Add loading state to ProviderDisplay Tweaks Add Placeholder component Add StandardIconRow Split render into loading and loaaded Fix linter errors Fix linter errors Add ethereum-types to extraFileIncludes Introduce ethereum-types package Remove merge conflicts from yarn.lock ... # Conflicts: # packages/contracts/src/utils/exchange_wrapper.ts # packages/contracts/src/utils/match_order_tester.ts # packages/contracts/src/utils/types.ts # packages/contracts/test/exchange/core.ts # packages/contracts/test/exchange/match_orders.ts # packages/contracts/test/libraries/lib_bytes.ts # packages/sol-cov/package.json
| * Introduce ethereum-types packageLeonid Logvinov2018-06-011-281/+1
| |
* | Add signature specific validation methods, and other refactorsFabio Berger2018-06-021-0/+8
| |
* | Merge branch 'v2-prototype' into refactor/order-utils/for-v2Fabio Berger2018-06-011-4/+5
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * v2-prototype: (45 commits) Check length before accessing indices, add awaitTransactionSuccess where needed, and rename function Add back before/after snapshots for each test Rename Signer to Wallet, rename GAS_ESTIMATE to GAS_LIMIT Make preSigned and allowedValidators mappings public Change names of signature types Fix formatting and tests Make AssetProxyId last byte of assetData Add signer to txHash, allow approveValidator to be used with executeTransaction Update Whitelist Fix Exchange interface Increase block gas limit Use last byte of signature as signature type Remove TxOrigin signature type, modify whitelist to use Validator signature type Update Whitelist contract with comments, also require maker to be whitelisted Fix build Add example whitelist contract and minimum tests Add sample whitelist contract Add TxOrigin signature type and rearrange order of types Add approveValidator function Add Validator signature type ... # Conflicts: # packages/contracts/src/contracts/current/protocol/Exchange/MixinSignatureValidator.sol # packages/contracts/src/utils/types.ts # packages/contracts/test/exchange/transactions.ts # packages/order-utils/src/asset_proxy_utils.ts
* | Introduce OrderWithoutExchangeAddress type since this is what get's sent to ↵Fabio Berger2018-05-311-0/+15
| | | | | | | | the smart contracts
* | Initial refactor of order-utils. Move many utils from contracts into this ↵Fabio Berger2018-05-301-5/+45
|/ | | | package.
* Migrate migrations to v2Leonid Logvinov2018-05-251-15/+15
|
* Support all opcodes in a trace parserLeonid Logvinov2018-05-231-1/+12
|
* Add comment to TransactionReceiptWithDecodedLogs explaining that it doesn't ↵Fabio Berger2018-05-111-0/+5
| | | | always return "decodedLogs"
* Split 0x.js into contract-wrappers, order-watcher but keep 0x.js as a ↵Fabio Berger2018-05-101-0/+78
| | | | unifying library with the same interface
* Add comment about Provider typeFabio Berger2018-04-111-0/+4
|
* Introduce type JSONRpcErrorCallbackFabio Berger2018-04-111-1/+3
|
* Move our contract templates to accept Provider instead of Web3WrapperLeonid Logvinov2018-04-041-0/+4
|
* Add metacoin example projectLeonid Logvinov2018-04-021-1/+1
|
* Move common types out of web3 typesLeonid Logvinov2018-03-271-10/+191
|
* Add SignedOrder, Order, and ECSignature types to the types packageBrandon Millman2018-03-151-0/+28
|
* Merge branch 'development' into convertScriptsToTsFabio Berger2018-03-141-5/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: (71 commits) Transform input data before encoding for callAsync and getABIEncodedTransactionData Update coverage badge to show development coverage Configure post build hook Notify coveralls after all tasks have finished Address feedback Revert "Report all coverage reports together" Separate published packages and typescript typings on README Report all coverage reports together Add other statement types Properly and consistently parse ENV vars Add forgotten file Start using solidity-parser-antlr Fix the default always overriding to address Submit a TD PR Add an explanatory comment for making ranges unique Fix a typo in handling env variables Introduce TESTRPC_FIRST_ADDRESS Make BlockchainLifecycle accept only web3Wrapper Fix comments Fix deployer CHANGELOG ... # Conflicts: # README.md # packages/deployer/package.json # packages/subproviders/src/globals.d.ts # yarn.lock
| * Add sol-cover implementationLeonid Logvinov2018-03-121-5/+0
| |
* | 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
|/
* Move RawLogEntry to types packageFabio Berger2018-03-071-0/+11
|
* Add as an option toLeonid Logvinov2018-02-281-1/+1
|
* Add data to TxDataLeonid Logvinov2018-02-281-0/+1
|
* Move BlockParam and BlockParamLiteral to shared typesJacob Evans2018-02-071-0/+10
|
* Make awaitTransactionMinedAsync non-generic againLeonid Logvinov2018-01-301-2/+2
|
* Remove truffle from testsLeonid Logvinov2018-01-301-1/+27
|
* Refactor contracts tests to not use injected web3 instanceLeonid Logvinov2018-01-301-0/+5
|
* Use configured version of bignumber in all packagesLeonid Logvinov2018-01-041-1/+1
|
* Apply prettier configLeonid Logvinov2018-01-031-3/+3
|
* Move more shared utils into utils package and reuse themLeonid Logvinov2017-12-141-0/+4
|
* Refactor web3Wrapper to a separate packageLeonid Logvinov2017-12-071-0/+23