We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e87299 commit da74666Copy full SHA for da74666
contracts/abstracts/EIP712.sol
@@ -46,6 +46,9 @@ abstract contract EIP712 {
46
47
digest = _getDomainSeparator();
48
49
+ // reference:
50
+ // 1. solady: https://github.com/Vectorized/solady/blob/main/src/utils/EIP712.sol#L138-L147
51
+ // 2. 1inch: https://etherscan.io/address/0x111111125421cA6dc452d289314280a0f8842A65#code (line 1204~1209)
52
// solhint-disable no-inline-assembly
53
assembly {
54
// Compute the digest.
0 commit comments