Michael Zhu
52fc7517f9
Remove approval expirations, address other comments
2019-10-06 12:45:48 -07:00
Michael Zhu
9b922f746b
Update coordinator tests
2019-10-06 12:44:58 -07:00
fragosti
a2d105593e
Add to orderTypedData comment
2019-09-27 12:49:01 -07:00
fragosti
efd5eff22c
Fix tests
2019-09-27 12:46:20 -07:00
fragosti
9870f55d24
Remove domain from Order type
2019-09-25 18:44:19 -07:00
Amir Bandeali
ae75aed55e
Change verifyingContractAddress -> verifyingContract everywhere
2019-09-23 16:00:37 -07:00
Michael Zhu
86a28f0d19
New logic for makers joining pools
2019-09-06 16:09:35 -07:00
Greg Hysen
a02f96c913
ran prettier
2019-08-21 13:04:16 -07:00
Greg Hysen
36b76550e0
Working towards maker signature validation
2019-08-21 13:04:14 -07:00
Lawrence Forman
61bdbd2d74
Rebased against 3.0
.
...
Run prettier/linter.
2019-07-23 15:21:14 -07:00
Lawrence Forman
0cb8586f68
Unpin coordinator deps.
...
Update coordinator tests for new tooling.
Remove unecessary `chainId` parameter in `eip712_utils.createCoordinatorApprovalTypeData`
2019-07-23 15:21:14 -07:00
Lawrence Forman
665942a8c9
Update order-utils
package for new Order
structure
2019-07-23 15:04:46 -07:00
Lawrence Forman
3688956ee5
Switch eip712 domain field verifyingContract
to verifyingContractAddress
2019-07-23 15:04:46 -07:00
Lawrence Forman
e51b425200
Unpin coordinator deps.
...
Update coordinator tests for new tooling.
Remove unecessary `chainId` parameter in `eip712_utils.createCoordinatorApprovalTypeData`
2019-07-23 14:58:00 -07:00
Lawrence Forman
2d28fde24d
Migrate all contract-related tooling and tests to accept a chain ID in domain separators.
2019-07-23 14:58:00 -07:00
Lawrence Forman
4bbaa6b41c
Update tooling/types to incorporate chainID in domain separators.
2019-07-23 14:58:00 -07:00
Xianny
7423028fea
Replace lodash with built-ins where possible to reduce bundle size ( #1766 )
...
* add tslint rule to disallow lodash.isUndefined
* add tslint rule to disallow lodash.isNull
* apply fixes
2019-04-10 09:36:32 -07:00
Fabio Berger
44eef5b0e0
Fix comment
2019-03-20 14:31:10 +01:00
Fabio Berger
d4187dffa3
Add createCoordinatorApprovalTypedData
method to order-utils and use in Coordinator tests
2019-03-18 17:20:51 +01:00
Fabio Berger
b883b183a6
Stop exporting EIP712 schemas
2019-02-07 01:03:43 +00:00
Amir Bandeali
9abd6f5695
Allow custom domains in eip712Utils
2019-02-05 09:23:09 -08:00
Amir Bandeali
c7c4cb9bc6
Add transaction hash utils
2019-02-05 09:23:09 -08:00
Amir Bandeali
1ada679663
Update ZeroExTransactionSchema
2019-02-05 09:23:09 -08:00
Jacob Evans
9f924e459c
chore: change package org from 0xproject to 0x
2018-10-18 22:27:31 +11:00
Jacob Evans
9e8031d5e3
Throw and handle errors from Providers.
...
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
2018-10-09 19:01:36 +11:00
Jacob Evans
75d274f330
Return SignedOrder from signing utils.
...
Create a helper back in EIP712Utils for code cleanup.
Moved constants in order-utils into the constants object
2018-10-05 17:12:17 +10:00
Jacob Evans
2a82ff48c0
Move SignTypedData to utils package
2018-10-05 12:00:41 +10:00
Jacob Evans
adcfaa2e80
Expose eth_signTypedData functionality for order signing
2018-10-05 11:59:24 +10:00
Fabio Berger
7759e67a5a
Rename EIP712Utils to eip712Utils since objectLiterals shouldn't start with caps
2018-08-04 10:09:08 +02:00
Fabio Berger
343cd05363
Add missing comments
2018-08-03 21:27:01 +02:00
Jacob Evans
560a55bfd1
Optimize and remove redundant encodePacked
2018-06-19 17:32:17 +10:00
Jacob Evans
d4ee0e8622
Rebase and update feedback
...
Cache the domain separator data with address this
Use the EIP712Types enum for types everywhere
Rename EIP712 struct ExecuteTransaction to ZeroExTransaction
2018-06-18 21:46:05 +10:00
Jacob Evans
a8d328bfc9
Basic EIP712 encoder
2018-06-07 16:09:30 -07:00
Jacob Evans
a59e9f024e
Update Order utils to use eip712
2018-06-05 14:08:04 -07:00