Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Actually pass the signature, not the signature index to a wallet contract's ↵ | Fabio Berger | 2018-12-11 | 1 | -1/+1 |
| | | | | `isValidSignature` call | ||||
* | chore: change package org from 0xproject to 0x | Jacob Evans | 2018-10-18 | 1 | -5/+5 |
| | |||||
* | update order-utils to use new artifacts and abi-gen wrappers packages | Alex Browne | 2018-10-16 | 1 | -4/+2 |
| | |||||
* | Move Metamask Error to OrderErrors | Jacob Evans | 2018-10-09 | 1 | -7/+4 |
| | |||||
* | Throw and handle errors from Providers. | Jacob Evans | 2018-10-09 | 1 | -7/+19 |
| | | | | | | | 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 Evans | 2018-10-08 | 1 | -24/+28 |
| | | | | Report a developer friendly error in this event to educate them on the compatability wrapper MetamaskSubprovider | ||||
* | Return SignedOrder from signing utils. | Jacob Evans | 2018-10-05 | 1 | -33/+31 |
| | | | | | Create a helper back in EIP712Utils for code cleanup. Moved constants in order-utils into the constants object | ||||
* | Move SignTypedData to utils package | Jacob Evans | 2018-10-05 | 1 | -1/+1 |
| | |||||
* | Introduce Metamask Subprovider. | Jacob Evans | 2018-10-05 | 1 | -74/+46 |
| | | | | 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 signing | Jacob Evans | 2018-10-05 | 1 | -1/+49 |
| | |||||
* | Add address normalization to isValidECSignature method | Fabio Berger | 2018-09-27 | 1 | -1/+3 |
| | |||||
* | Remove remaining Trezor references | Amir Bandeali | 2018-08-25 | 1 | -12/+1 |
| | |||||
* | Fixed linter in signatureUtils | Greg Hysen | 2018-08-25 | 1 | -1/+1 |
| | |||||
* | Fixed trezor personal message in client+contracts; added a test using ↵ | Greg Hysen | 2018-08-25 | 1 | -1/+1 |
| | | | | message signed by Trezor One (firmware v1.6.2) | ||||
* | Remove Trezor SignatureType | Amir Bandeali | 2018-08-25 | 1 | -11/+1 |
| | |||||
* | Remove SigntureType.Caller from signingUtils | Amir Bandeali | 2018-08-25 | 1 | -5/+0 |
| | |||||
* | Fix additional merge conflicts | Fabio Berger | 2018-08-15 | 1 | -1/+1 |
| | |||||
* | Merge development | Fabio Berger | 2018-08-15 | 1 | -41/+87 |
|\ | |||||
| * | Update version numbers. | Jacob Evans | 2018-08-14 | 1 | -6/+8 |
| | | | | | | | | | | Add source for Metamask future fix. Consolidate switch statement to one return | ||||
| * | Rename from SignerProviderType.EthSign to SignerType.Default | Jacob Evans | 2018-08-11 | 1 | -37/+46 |
| | | |||||
| * | Update Changelogs. Rebased from development | Jacob Evans | 2018-08-09 | 1 | -3/+4 |
| | | |||||
| * | Update jsdoc | Jacob Evans | 2018-08-09 | 1 | -5/+4 |
| | | |||||
| * | Introduce SignerProviderType | Jacob Evans | 2018-08-09 | 1 | -25/+55 |
| | | | | | | | | 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 | ||||
* | | Make signature_util into an object literal so related functions are rendered ↵ | Fabio Berger | 2018-08-03 | 1 | -270/+289 |
|/ | | | | together in the docs | ||||
* | Add assertions to SignatureUtils exported methods | Fabio Berger | 2018-07-12 | 1 | -0/+20 |
| | |||||
* | Fixed how trezor messages are signed in `signature_utils`. Now uses ↵ | Greg Hysen | 2018-06-21 | 1 | -1/+1 |
| | | | | `byteLength` instead of `length`. | ||||
* | Move OrderValidationUtils (+ tests) and ExchangeTransferSimulator to order-utils | Fabio Berger | 2018-06-12 | 1 | -10/+15 |
| | |||||
* | Try enabling no-unused-variable... | fragosti | 2018-06-05 | 1 | -1/+0 |
| | |||||
* | Improve comments and remove unused imports | Fabio Berger | 2018-06-02 | 1 | -2/+2 |
| | |||||
* | Add comment to exported method | Fabio Berger | 2018-06-02 | 1 | -0/+7 |
| | |||||
* | Fix type imports | Fabio Berger | 2018-06-02 | 1 | -1/+2 |
| | |||||
* | Add signature specific validation methods, and other refactors | Fabio Berger | 2018-06-02 | 1 | -52/+68 |
| | |||||
* | Rename ISigner to IWallet and implement SignatureType.Validator | Fabio Berger | 2018-06-01 | 1 | -3/+39 |
| | |||||
* | Merge branch 'v2-prototype' into refactor/order-utils/for-v2 | Fabio Berger | 2018-06-01 | 1 | -20/+21 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 method | Fabio Berger | 2018-05-31 | 1 | -3/+19 |
| | | |||||
* | | Decide to throw for Caller signature type for now | Fabio Berger | 2018-05-31 | 1 | -2/+3 |
| | | |||||
* | | Fix order-utils tests | Fabio Berger | 2018-05-31 | 1 | -34/+48 |
| | | |||||
* | | Initial refactor of order-utils. Move many utils from contracts into this ↵ | Fabio Berger | 2018-05-30 | 1 | -9/+112 |
|/ | | | | package. | ||||
* | Fix small bug in order-utils | Alex Browne | 2018-05-23 | 1 | -1/+1 |
| | |||||
* | Fix TSLint rules | Fabio Berger | 2018-05-16 | 1 | -4/+13 |
| | |||||
* | Move order utils to @0xproject/order-utils | Leonid Logvinov | 2018-05-02 | 1 | -0/+119 |