aboutsummaryrefslogtreecommitdiffstats
path: root/packages/order-utils/src/signature_utils.ts
Commit message (Collapse)AuthorAgeFilesLines
* Merge developmentFabio Berger2018-08-151-41/+87
|\
| * 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-111-37/+46
| |
| * Update Changelogs. Rebased from developmentJacob Evans2018-08-091-3/+4
| |
| * Update jsdocJacob Evans2018-08-091-5/+4
| |
| * Introduce SignerProviderTypeJacob Evans2018-08-091-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 Berger2018-08-031-270/+289
|/ | | | together in the docs
* Add assertions to SignatureUtils exported methodsFabio Berger2018-07-121-0/+20
|
* Fixed how trezor messages are signed in `signature_utils`. Now uses ↵Greg Hysen2018-06-211-1/+1
| | | | `byteLength` instead of `length`.
* Move OrderValidationUtils (+ tests) and ExchangeTransferSimulator to order-utilsFabio Berger2018-06-121-10/+15
|
* Try enabling no-unused-variable...fragosti2018-06-051-1/+0
|
* Improve comments and remove unused importsFabio Berger2018-06-021-2/+2
|
* Add comment to exported methodFabio Berger2018-06-021-0/+7
|
* Fix type importsFabio Berger2018-06-021-1/+2
|
* Add signature specific validation methods, and other refactorsFabio Berger2018-06-021-52/+68
|
* Rename ISigner to IWallet and implement SignatureType.ValidatorFabio Berger2018-06-011-3/+39
|
* Merge branch 'v2-prototype' into refactor/order-utils/for-v2Fabio Berger2018-06-011-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 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-311-34/+48
| |
* | Initial refactor of order-utils. Move many utils from contracts into this ↵Fabio Berger2018-05-301-9/+112
|/ | | | package.
* Fix small bug in order-utilsAlex Browne2018-05-231-1/+1
|
* Fix TSLint rulesFabio Berger2018-05-161-4/+13
|
* Move order utils to @0xproject/order-utilsLeonid Logvinov2018-05-021-0/+119