Merge pull request #1545 from 0xProject/feat/contracts/tec

TEC MVP
This commit is contained in:
Amir Bandeali
2019-02-26 14:24:30 -08:00
committed by GitHub
66 changed files with 2918 additions and 149 deletions

View File

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