This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity 0.8.4; | |
/* | |
for later: | |
function _verify(bytes32 data, address account) pure returns (bool) { | |
return keccack256(data) | |
.toEthSignedMessageHash() | |
.recover(signature) == account; |