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:
@@ -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' },
|
||||
],
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user