add Available since 4.1 comments

(cherry picked from commit 9a698e6b7b)
This commit is contained in:
Hadrien Croubois
2021-04-19 20:55:16 +02:00
parent 915109b2c4
commit df7996b671
13 changed files with 24 additions and 2 deletions

View File

@ -13,6 +13,8 @@ import "../../interfaces/IERC1271.sol";
*
* Note: unlike ECDSA signatures, contract signature's are revocable, and the outcome of this function can thus change
* through time. It could return true at block N and false at block N+1 (or the opposite).
*
* _Available since v4.1._
*/
library SignatureChecker {
function isValidSignatureNow(address signer, bytes32 hash, bytes memory signature) internal view returns (bool) {