docs: Fix EIP712 hashing docs for limit and RFQ orders (#173)

This commit is contained in:
Lawrence Forman 2021-03-16 15:09:00 -04:00 committed by GitHub
parent dabe6fd793
commit 22e1ed35d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -254,8 +254,8 @@ The hash can be manually generated using the following code:
'address verifyingContract)'
)),
// The EIP712 domain separator values.
'ZeroEx',
'1.0.0',
keccak256('ZeroEx'),
keccak256('1.0.0'),
1, // For mainnet
0xDef1C0ded9bec7F1a1670819833240f027b25EfF, // Address of the Exchange Proxy
)),
@ -269,8 +269,8 @@ The hash can be manually generated using the following code:
'uint128 makerAmount,',
'uint128 takerAmount,',
'uint128 takerTokenFeeAmount,',
'address taker,',
'address maker,',
'address taker,',
'address sender,',
'address feeRecipient,',
'bytes32 pool,',
@ -492,8 +492,8 @@ The hash can be manually generated using the following code:
'address verifyingContract)'
)),
// The EIP712 domain separator values.
'ZeroEx',
'1.0.0',
keccak256('ZeroEx'),
keccak256('1.0.0'),
1, // For mainnet
0xDef1C0ded9bec7F1a1670819833240f027b25EfF, // Address of the Exchange Proxy
)),