Move Coordinator EIP712 constants from contracts/test-utils to packages/order-utils.

Export `constants` from `packages/types`.
Add `SignatureInvalid` to `RevertReason` in `packages/types`.
This commit is contained in:
Lawrence Forman
2019-03-15 16:41:41 -04:00
parent 1c1f625352
commit afaabb3673
4 changed files with 15 additions and 10 deletions

View File

@@ -65,14 +65,4 @@ export const constants = {
'CANCEL_ORDERS_UP_TO',
'SET_SIGNATURE_VALIDATOR_APPROVAL',
],
COORDINATOR_DOMAIN_NAME: '0x Protocol Trade Execution Coordinator',
COORDINATOR_DOMAIN_VERSION: '1.0.0',
COORDINATOR_APPROVAL_SCHEMA: {
name: 'COORDINATORApproval',
parameters: [
{ name: 'transactionHash', type: 'bytes32' },
{ name: 'transactionSignature', type: 'bytes' },
{ name: 'approvalExpirationTimeSeconds', type: 'uint256' },
],
},
};