You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
399 B
17 lines
399 B
// SPDX-License-Identifier: MIT
|
|
|
|
pragma solidity ^0.8.0;
|
|
|
|
import "../utils/cryptography/SignatureChecker.sol";
|
|
|
|
contract SignatureCheckerMock {
|
|
using SignatureChecker for address;
|
|
|
|
function isValidSignatureNow(
|
|
address signer,
|
|
bytes32 hash,
|
|
bytes memory signature
|
|
) public view returns (bool) {
|
|
return signer.isValidSignatureNow(hash, signature);
|
|
}
|
|
}
|
|
|