-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Renames in preparation for eip-1271 signatures
- Loading branch information
1 parent
cdc04f2
commit 93df3fa
Showing
5 changed files
with
17 additions
and
17 deletions.
There are no files selected for viewing
This file contains 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
12 changes: 6 additions & 6 deletions
12
contracts/signature/Eip712Signature.sol → contracts/signature/SignatureChecker.sol
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
// SPDX-License-Identifier: LGPL-3.0-only | ||
pragma solidity >=0.8.0; | ||
|
||
import "../signature/EIP712Signature.sol"; | ||
import "../signature/SignatureChecker.sol"; | ||
|
||
contract TestSignature is EIP712Signature { | ||
contract TestSignature is SignatureChecker { | ||
event Hello(address signer); | ||
|
||
event Goodbye(address signer); | ||
|
||
function hello() public { | ||
emit Hello(eip712SignedBy()); | ||
emit Hello(moduleTxSignedBy()); | ||
} | ||
|
||
function goodbye(uint256, bytes memory) public { | ||
emit Goodbye(eip712SignedBy()); | ||
emit Goodbye(moduleTxSignedBy()); | ||
} | ||
} |
This file contains 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
This file contains 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