You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/interfaces/IERC1271.sol
+3
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,9 @@ interface IERC1271 {
6
6
/// @notice Sets whether the caller is considered safe to skip the nested EIP-712 workflow
7
7
function setERC1271CallerIsSafe(addresscaller, boolisSafe) external;
8
8
9
+
/// @notice Returns whether the caller is considered safe to skip the nested EIP-712 workflow
10
+
function isSafeERC1271Caller(addresscaller) externalviewreturns (bool);
11
+
9
12
/// @notice Validates the `signature` against the given `hash`.
10
13
/// @dev Wraps the given `hash` in a EIP-712 compliant struct along with the domain separator to be replay safe. Then validates the signature against it.
11
14
/// @return result `0x1626ba7e` if validation succeeded, else `0xffffffff`.
0 commit comments