aboutsummaryrefslogtreecommitdiffstats
path: root/packages/order-utils/src
Commit message (Collapse)AuthorAgeFilesLines
* Stop exporting EIP712 schemasFabio Berger2019-02-072-21/+8
|
* Fix outdated comments and make verifyingContractAddress a required part of ↵Amir Bandeali2019-02-061-4/+7
| | | | the 0x tx schema
* Allow custom domains in eip712UtilsAmir Bandeali2019-02-064-21/+47
|
* Add transaction hash utilsAmir Bandeali2019-02-063-5/+52
|
* Update ZeroExTransactionSchemaAmir Bandeali2019-02-061-6/+3
|
* Add schema validation to getOrderHashBuffAmir Bandeali2019-02-061-0/+11
|
* Fix bug where passing in signerAddress instead of exchangeAddressFabio Berger2019-02-051-1/+9
|
* Use new check for isBigNumberLeonid Logvinov2019-01-151-1/+2
|
* Upgrade bignumber.js versionLeonid Logvinov2019-01-158-24/+24
|
* Use enums in pipelineAmir Bandeali2019-01-081-1/+1
|
* Minimize unnecessary type assertionsAmir Bandeali2019-01-084-97/+109
|
* Fix linting errorsAmir Bandeali2019-01-082-0/+2
|
* Add tests for recursive MAP decodingAmir Bandeali2019-01-082-7/+24
|
* Add recursive MultiAsset decoding, store first address in pipelineAmir Bandeali2019-01-083-2/+30
|
* Add individual balances and allowances to OrderRelevantStateAmir Bandeali2019-01-083-3/+74
|
* Fix transferFrom to work with MAPAmir Bandeali2019-01-081-18/+46
|
* Rename functionsAmir Bandeali2019-01-081-14/+14
|
* feat: Export MultiAssetData in typesAmir Bandeali2019-01-081-0/+1
|
* Fix decoding and add testsAmir Bandeali2019-01-081-6/+11
|
* Add length check to MultiAsset encodingAmir Bandeali2019-01-082-1/+8
|
* Use new AbiEncoder, add logic for encoding/decoding MultiAsset assetDataAmir Bandeali2019-01-083-70/+213
|
* Actually pass the signature, not the signature index to a wallet contract's ↵Fabio Berger2018-12-111-1/+1
| | | | `isValidSignature` call
* Use RevertReason when possibleFabio Berger2018-11-121-1/+1
|
* Move signature validation into ↵Fabio Berger2018-11-101-1/+13
| | | | OrderValidationUtils.validateOrderFillableOrThrowAsync
* Revert comment changeFabio Berger2018-11-101-1/+1
|
* Keep more helpful error messages, and stop swallowing errors when returning ↵Fabio Berger2018-11-101-59/+72
| | | | contract error
* Remove unused validateFillOrKill methodFabio Berger2018-11-091-30/+1
|
* Fix validateOrderFillableOrThrowAsync method so it also checks order ↵Fabio Berger2018-11-095-23/+29
| | | | signature, cancelled, cancelledUpTo, and throws helpful error messages
* chore: change package org from 0xproject to 0xJacob Evans2018-10-1825-53/+53
|
* fix(order-utils): remove constants exportJacob Evans2018-10-181-1/+0
|
* feat: export AssetData from order-utilsfragosti2018-10-171-0/+1
|
* Merge branch 'development' of https://github.com/0xProject/0x-monorepo into ↵fragosti2018-10-173-24/+2
|\ | | | | | | feature/instant/move-features-over-from-zrx-buyer
| * update order-utils to use new artifacts and abi-gen wrappers packagesAlex Browne2018-10-163-24/+2
| |
* | feat: use new AssetData type from types packagefragosti2018-10-131-2/+2
|/
* Move Metamask Error to OrderErrorsJacob Evans2018-10-092-7/+5
|
* Update the exported types for the packages which touch RPC providersJacob Evans2018-10-091-1/+8
|
* Throw and handle errors from Providers.Jacob Evans2018-10-093-8/+28
| | | | | | | 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
* Detect MM on signature validation failure.Jacob Evans2018-10-081-24/+28
| | | | Report a developer friendly error in this event to educate them on the compatability wrapper MetamaskSubprovider
* Return SignedOrder from signing utils.Jacob Evans2018-10-055-84/+154
| | | | | 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-052-1/+3
|
* Move SignTypedData to utils packageJacob Evans2018-10-056-152/+45
|
* Introduce Metamask Subprovider.Jacob Evans2018-10-053-82/+48
| | | | 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
* Expose eth_signTypedData functionality for order signingJacob Evans2018-10-053-5/+53
|
* Add additional order factory methods and refactor test to use themBrandon Millman2018-10-041-1/+38
|
* Add address normalization to isValidECSignature methodFabio Berger2018-09-271-1/+3
|
* Add transactionHash to OrderState and emit it from OrderWatcher subscriptionFabio Berger2018-09-251-1/+3
|
* Calculate min and max rates in buy quotefragosti2018-09-192-14/+27
|
* Use order parser utils from order utilsfragosti2018-09-052-3/+3
|
* Add order parsers to order-utilfragosti2018-09-052-1/+29
|
* Merge pull request #1003 from 0xProject/feature/contracts/roundupAmir Bandeali2018-08-253-8/+8
|\ | | | | [contracts] Add getPartialAmountCeil and isRoundingErrorCeil
| * Append -Floor to getPartialAmount and isRoundingErrorRemco Bloemen2018-08-253-8/+8
| |
* | Remove remaining Trezor referencesAmir Bandeali2018-08-251-12/+1
| |
* | Fixed linter in signatureUtilsGreg Hysen2018-08-251-1/+1
| |
* | Fixed trezor personal message in client+contracts; added a test using ↵Greg Hysen2018-08-251-1/+1
| | | | | | | | message signed by Trezor One (firmware v1.6.2)
* | Remove Trezor SignatureTypeAmir Bandeali2018-08-251-11/+1
| |
* | Remove SigntureType.Caller from signingUtilsAmir Bandeali2018-08-251-5/+0
|/
* Merge branch 'development' into feature/forwarder-helper/initBrandon Millman2018-08-2417-392/+635
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: (187 commits) Remove trailing slash Fix linter Stop nesting interfaces and add necessary type exports Remove duplicate type and remove nested interface Add support for rending the Tuple type Add missing keyu Remove excessive timestamp Improve doc commebnt Remove docs catch-all endpoint Fix comments Look for all TS mapped types Add catch and exit with non-zero Remove superfluous dep Fix CHANGELOG entry Fix double assignment Upgrade Typedoc to 0.12.0, which works with TS 3.x Fix prettier issues Enable dry run of release publishing and handle git tags existing update yarn.lock Missing/superfluous type exports from connect ...
| * Fix many linter errors that showed up upon upgrading tsutilFabio Berger2018-08-233-3/+3
| |
| * Move types from sol-compiler to types so they can be used in other places ↵Fabio Berger2018-08-221-1/+1
| | | | | | | | without requiring sol-compiler as a dep
| * Fix up order-utilsFabio Berger2018-08-213-5/+30
| |
| * Merge developmentFabio Berger2018-08-176-104/+252
| |\
| * | Fix additional merge conflictsFabio Berger2018-08-151-1/+1
| | |
| * | Merge developmentFabio Berger2018-08-156-106/+293
| |\ \
| * | | Rename EIP712Utils to eip712Utils since objectLiterals shouldn't start with capsFabio Berger2018-08-043-15/+15
| | | |
| * | | Re-order index.ts and add missing typesFabio Berger2018-08-041-12/+23
| | | |
| * | | Add missing commentsFabio Berger2018-08-048-32/+228
| | | |
| * | | Stop exporting constants from order-utilsFabio Berger2018-08-041-1/+0
| | | |
| * | | Stop exporting cryptoFabio Berger2018-08-031-1/+0
| | | |
| * | | Make signature_util into an object literal so related functions are rendered ↵Fabio Berger2018-08-034-285/+299
| | | | | | | | | | | | | | | | together in the docs
| * | | Add missing exports discovered by generating compact typedoc JSONFabio Berger2018-07-301-1/+12
| | | |
| * | | Remove all in-package monorepo-scripts by adding doc gen/upload and ↵Fabio Berger2018-07-302-16/+0
| | | | | | | | | | | | | | | | aggregate release note publishing to publish script
* | | | Fix rounding bug in marketUtilsBrandon Millman2018-08-231-1/+1
| | | |
* | | | Add ForwarderHelperImplConfigBrandon Millman2018-08-231-1/+1
| | | |
* | | | Remove marketSell and add to marketBuy implementationBrandon Millman2018-08-231-2/+2
| |_|/ |/| |
* | | Rename OrderAlreadyCancelledOrFilled -> OrderCancelled.Jacob Evans2018-08-161-28/+33
| | | | | | | | | | | | Remove try catch of throwing errors in favour of returning the Errors in a OrderValidationResult
* | | [Order-utils] Order is valid when maker amount is very smallJacob Evans2018-08-151-19/+17
| | | | | | | | | | | | | | | | | | | | | Previously our min fillable calculation would throw a rounding error when encountering a valid order (with a small maker amount). This was inconsistent with the on-chain logic which allowed this order to be filled.
* | | Merge branch 'development' into refactor/order-utils/market-utils-apiBrandon Millman2018-08-153-0/+104
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: feat: Upgrade TypeScript to 3.0.1 Add defaults for networkId and pagination Update sortingUtils to support Order and SignedOrder Change rateUtils to use Order Updated CHANGELOG Fix lint errors Update tests for optional feeRate Make feeRate optional with a default of 0 Add tests for sortingUtils Implement sorting utils Add tests for rateUtils Implement rate utils
| * \ \ Merge pull request #953 from 0xProject/feature/order-utils/order-sorting-utilsBrandon Millman2018-08-153-0/+104
| |\ \ \ | | |_|/ | |/| | [order-utils] Add rate and sorting utilities
| | * | Update sortingUtils to support Order and SignedOrderBrandon Millman2018-08-141-44/+26
| | | |
| | * | Change rateUtils to use OrderBrandon Millman2018-08-141-20/+20
| | | |
| | * | Fix lint errorsBrandon Millman2018-08-102-2/+1
| | | |
| | * | Make feeRate optional with a default of 0Brandon Millman2018-08-102-3/+12
| | | |
| | * | Add tests for sortingUtilsBrandon Millman2018-08-101-1/+0
| | | |
| | * | Implement sorting utilsBrandon Millman2018-08-102-0/+70
| | | |
| | * | Implement rate utilsBrandon Millman2018-08-102-0/+45
| | | |
* | | | Make marketUtils interface compatible with Order and SignedOrderBrandon Millman2018-08-142-42/+42
| | | |
* | | | Update marketUtils apiBrandon Millman2018-08-142-40/+81
|/ / /
* | | Update version numbers.Jacob Evans2018-08-141-6/+8
| | | | | | | | | | | | | | | Add source for Metamask future fix. Consolidate switch statement to one return
* | | Rename from SignerProviderType.EthSign to SignerType.DefaultJacob Evans2018-08-112-55/+48
| | |
* | | Update Changelogs. Rebased from developmentJacob Evans2018-08-091-3/+4
| | |
* | | Update jsdocJacob Evans2018-08-091-5/+4
| | |
* | | Introduce SignerProviderTypeJacob Evans2018-08-094-65/+62
|/ / | | | | | | 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 assertion commentsBrandon Millman2018-08-071-4/+0
| |
* | Add tests for findFeeOrdersThatCoverFeesForTargetOrdersBrandon Millman2018-08-062-6/+10
| |
* | Change orderStates param name to remaingFillableMakerAssetAmountsBrandon Millman2018-08-061-30/+55
| |
* | Implement first round of tests for findOrdersThatCoverMakerAssetFillAmountBrandon Millman2018-08-063-12/+13
| |
* | Move helper functions into order-utilsBrandon Millman2018-08-062-1/+110
| |
* | Move CreateOrderOpts into shared typesBrandon Millman2018-08-063-12/+22
| |
* | Update createFactory to accept one createOrderOpts param to encompass all ↵Brandon Millman2018-08-061-28/+42
| | | | | | | | optional params
* | Update orderFactory interfaceBrandon Millman2018-08-042-21/+22
| |
* | Add createOrder with no signing to orderFactoryBrandon Millman2018-08-022-6/+37
|/
* Merge pull request #877 from 0xProject/feature/contracts/removeERC721CallbackAmir Bandeali2018-07-231-8/+3
|\ | | | | Removed receiverData and `onReceive` callback from ERC721 proxy.
| * Ran prettierGreg Hysen2018-07-181-4/+1
| |
| * Removed receiverData from ERC721 Proxy Id generationGreg Hysen2018-07-181-6/+4
| |
* | Rename call data schema id to CallData.Jacob Evans2018-07-191-1/+1
| | | | | | | | Check for TypedArray when hashing data in order-utils crypto
* | Fix a bad mergeLeonid Logvinov2018-07-182-3/+3
| |
* | Merge branch 'v2-prototype' into feature/order-watcher-v2Leonid Logvinov2018-07-183-60/+53
|\|
| * Merge pull request #884 from 0xProject/export-more-0x.jsFabio Berger2018-07-183-60/+53
| |\ | | | | | | Export missing V2 pieces from 0x.js
| | * Fix linterFabio Berger2018-07-181-1/+0
| | |
| | * Rename decodeAssetDataId to decodeAssetProxyId for consistencyFabio Berger2018-07-181-2/+2
| | |
| | * Add java doc comments to assetDataUtilsFabio Berger2018-07-181-1/+34
| | |
| | * Move encodeUint256 & decodeUint256 out of assetDataUtils since we don't want ↵Fabio Berger2018-07-182-25/+12
| | | | | | | | | | | | them exported
| | * Move type decl. to typescript-typingsFabio Berger2018-07-171-8/+1
| | |
| | * Rename assetProxyUtils to assetDataUtilsFabio Berger2018-07-172-35/+16
| | |
* | | MergeLeonid Logvinov2018-07-182-2/+2
| | |
* | | Merge branch 'v2-prototype' into feature/order-watcher-v2Leonid Logvinov2018-07-185-12/+12
|\| |
| * | Fix tslint issuesLeonid Logvinov2018-07-175-12/+12
| |/
* | Export newly created store from order-utilsLeonid Logvinov2018-07-132-0/+17
| |
* | Add OrderFilledCancelledLazyStoreLeonid Logvinov2018-07-131-0/+65
| |
* | Add AbstractOrderFilledCancelledLazyStoreLeonid Logvinov2018-07-131-0/+12
|/
* Merge pull request #863 from 0xProject/refactor/0x.jsFabio Berger2018-07-121-0/+20
|\ | | | | Refactor 0x.js
| * Add assertions to SignatureUtils exported methodsFabio Berger2018-07-121-0/+20
| |
* | Fix lint for order-utilsBrandon Millman2018-07-121-1/+1
| |
* | Add explicit HACK comment when we import assertBrandon Millman2018-07-121-2/+2
|/
* Fix VRS signature generation in order-utilsLeonid Logvinov2018-07-051-2/+3
|
* Fix validation logic by checking for 0 maker/taker amount before 0 ↵Fabio Berger2018-07-021-3/+3
| | | | fillTakerAssetAmount since one causes the other during combinatorial testing
* Fix enum nameFabio Berger2018-06-271-9/+9
|
* Merge branch 'v2-prototype' into feature/combinatorial-testingFabio Berger2018-06-262-93/+67
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * Run prettier and fix linting errorsAmir Bandeali2018-06-262-37/+48
| |
| * Fix AssetProxyUtilsRemco Bloemen2018-06-261-1/+1
| |
| * Update AssetProxyUtilsRemco Bloemen2018-06-261-90/+41
| |
| * WIPRemco Bloemen2018-06-261-16/+28
| |
* | Fix inconsistency between contract and reference implementation of order ↵Fabio Berger2018-06-261-0/+3
| | | | | | | | validation logic
* | Fix tslint issuesFabio Berger2018-06-262-2/+0
| |
* | Fix lint errorsFabio Berger2018-06-263-5/+2
| |
* | Fix revertReasonFabio Berger2018-06-251-1/+1
| |
* | Remove no longer used methodFabio Berger2018-06-251-16/+0
| |
* | Check revert reasons in declarative and combinatorial testsFabio Berger2018-06-251-54/+59
| |
* | Merge branch 'v2-prototype' into feature/combinatorial-testingFabio Berger2018-06-251-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * v2-prototype: (97 commits) Fix typos in comments Add modifier and tests for removeAuthorizedAddressAtIndex Update and add tests Change removeAuthorizedAddress => removeAuthorizedAddressAtIndex Move isFunctionRemoveAuthorizedAddress to test Fix usage of `popLastByte` Fix LibBytes is a library Remove `areBytesEqual` Fix usage of `contentAddress()` Clean low bits in bytes4 Clean high bits in address Refactor LibBytes.readBytes4 for consistency Fix LibBytes.equals Add trailing garbage testcase for LibBytes.equals Rename bytes.equals Add slice and sliceDestructive Rename bytes.rawAddress and add bytes.contentAddress Rename read/writeBytesWithLength Using LibBytes for bytes Make LibBytes a library ... # Conflicts: # packages/contracts/src/utils/constants.ts # packages/contracts/test/exchange/core.ts
| * Fixed how trezor messages are signed in `signature_utils`. Now uses ↵Greg Hysen2018-06-211-1/+1
| | | | | | | | `byteLength` instead of `length`.
* | Fix orderValidationUtils where was confusing a makerAssetAmount as a ↵Fabio Berger2018-06-213-11/+18
| | | | | | | | takerAssetAmount
* | Merge branch 'v2-prototype' into feature/combinatorial-testingFabio Berger2018-06-204-62/+139
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * v2-prototype: (22 commits) Fix closing parens in liborder Update after rebase ERC721Proxy Always call safeTransferFrom Rename makerEpoch => orderEpoch Make cancelOrdersUpTo compatible with sender abstraction Update PR template Use Image component instead of img tag Assembler orderHash function Optimize and remove redundant encodePacked Fix linting issue Fix bug where we do fetch balances on wallet login Check network state immediately instead of waiting for delay Fix onboarding persisting when changing routes Consolidate account state messaging logic Only elevate wallet zIndex when onboarding is in progress Rebase and update feedback Run linter Add Portal v2 logging Simplified handling of source < 32 edge case Basic EIP712 encoder ...
| * Optimize and remove redundant encodePackedJacob Evans2018-06-192-5/+0
| |
| * Merge branch 'v2-prototype' into bug/contracts/eip712-191-prefixJacob Evans2018-06-1824-2026/+672
| |\
| * | Rebase and update feedbackJacob Evans2018-06-184-33/+29
| | | | | | | | | | | | | | | | | | Cache the domain separator data with address this Use the EIP712Types enum for types everywhere Rename EIP712 struct ExecuteTransaction to ZeroExTransaction
| * | Basic EIP712 encoderJacob Evans2018-06-082-30/+50
| | |
| * | Update Order utils to use eip712Jacob Evans2018-06-064-46/+112
| | |
* | | - Refactor assetWrapper to contain more of the normalizing logic instead of ↵Fabio Berger2018-06-151-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | erc20Wrapper and erc721Wrapper - Add burn method to DummyERC721Token - Add additional methods to assetWrapper to set balance/allowances on ERC20 and ERC721 tokens - Use approve instead of approveAll for ERC721 tokens
* | | Fix divide by zero bugFabio Berger2018-06-141-3/+3
| | |
* | | Implement initial set of orderFill combinatorial testsFabio Berger2018-06-132-63/+209
| | |
* | | Remaining refactors of order-utils components for V2Fabio Berger2018-06-134-34/+35
| | |
* | | Remove comment since we have added the testsFabio Berger2018-06-131-5/+0
| |/ |/|
* | Validate all signature types rather then only ECSignaturesFabio Berger2018-06-121-4/+12
| |
* | Fix tslint issuesFabio Berger2018-06-123-3/+1
| |
* | Move OrderValidationUtils (+ tests) and ExchangeTransferSimulator to order-utilsFabio Berger2018-06-1211-16/+478
| |
* | export parseECSignature methodFabio Berger2018-06-121-0/+1
| |
* | Fixed assetProxyUtils for linterGreg Hysen2018-06-091-2/+2
| |
* | Cleanup after last rebaseGreg Hysen2018-06-081-2/+2
| |
* | Camelcase in memCopyGreg Hysen2018-06-081-2/+2
| |
* | Moved some constants to global scope in assetProxyUtilsGreg Hysen2018-06-081-18/+26
| |
* | Style updates to contractsGreg Hysen2018-06-081-2/+3
| |
* | Union types for generalized decodeAssetDataGreg Hysen2018-06-081-13/+4
| |
* | Style updates to ERC721 onReceiverGreg Hysen2018-06-081-4/+6
| |
* | Fixes after rebasingGreg Hysen2018-06-082-38/+44
| |
* | Fixed up after rebasing. Contracts build and tests passGreg Hysen2018-06-081-3/+4
| |
* | Converged on naming scheme for asset data: renamed all instances of ↵Greg Hysen2018-06-081-33/+33
| | | | | | | | assetMetadata, proxyData, proxyMetadata to assetData
* | Tons of tests around nested byte arrays and ERC721 receiverGreg Hysen2018-06-081-4/+26
| |
* | Pass in fee and assetAmount rather then the whole signedOrderFabio Berger2018-06-082-15/+6
| |
* | Revert to returning orderState on invalid orderFabio Berger2018-06-081-1/+6
| |
* | - Refactor remainingFillableCalculator so it can be used for the maker and ↵Fabio Berger2018-06-081-58/+57
| | | | | | | | | | | | | | taker side - Moved the tests over from order-watcher - Did some token -> asset renaming
* | Update naming in orderStateUtils to use asset over token, also removed ↵Fabio Berger2018-06-082-44/+37
| | | | | | | | cancelledAmount since in V2 it's binary.
* | Get build and tests to passfragosti2018-06-071-2/+3
| |
* | merge v2-prototypeFabio Berger2018-06-068-1846/+9
|\ \
| * | Remove unused compact artifacts from order-utilsFabio Berger2018-06-057-1845/+0
| | |
| * | Add missing exports to order-utils and add CHANGELOG entryFabio Berger2018-06-051-1/+9
| |/
* / Try enabling no-unused-variable...fragosti2018-06-054-6/+0
|/
* Improve comments and remove unused importsFabio Berger2018-06-022-3/+3
|
* Add comment to exported methodFabio Berger2018-06-021-0/+7
|
* Fix type importsFabio Berger2018-06-023-3/+6
|
* Add signature specific validation methods, and other refactorsFabio Berger2018-06-023-53/+90
|
* Rename ISigner to IWallet and implement SignatureType.ValidatorFabio Berger2018-06-012-5/+43
|
* Fix metadata offsetsFabio Berger2018-06-011-5/+7
|
* Merge branch 'v2-prototype' into refactor/order-utils/for-v2Fabio Berger2018-06-012-30/+31
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | Expose isValidPresignedSignatureAsync methodFabio Berger2018-05-311-3/+19
| |
* | Decide to throw for Caller signature type for nowFabio Berger2018-05-311-2/+3
| |
* | Fix order-utils testsFabio Berger2018-05-315-48/+95
| |
* | Initial refactor of order-utils. Move many utils from contracts into this ↵Fabio Berger2018-05-3011-160/+478
|/ | | | package.
* Fix small bug in order-utilsAlex Browne2018-05-231-1/+1
|
* Fix TSLint rulesFabio Berger2018-05-162-5/+15
|
* Add missing type definitionsLeonid Logvinov2018-05-141-1/+1
|
* Split 0x.js into contract-wrappers, order-watcher but keep 0x.js as a ↵Fabio Berger2018-05-1013-0/+2122
| | | | unifying library with the same interface
* Make a negligible change to order-utils to publish a new versionLeonid Logvinov2018-05-051-1/+1
|
* Stop exporting assertions from order-utilsLeonid Logvinov2018-05-022-9/+0
|
* Move order utils to @0xproject/order-utilsLeonid Logvinov2018-05-0211-0/+345