SignatureVerification
State Variables
UPPER_BIT_MASK
bytes32 constant UPPER_BIT_MASK = (0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
Functions
verify
function verify(bytes calldata signature, bytes32 hash, address claimedSigner) internal view;
Errors
InvalidSignatureLength
Thrown when the passed in signature is not a valid length
error InvalidSignatureLength();
InvalidSignature
Thrown when the recovered signer is equal to the zero address
error InvalidSignature();
InvalidSigner
Thrown when the recovered signer does not equal the claimedSigner
error InvalidSigner();
InvalidContractSignature
Thrown when the recovered contract signature is incorrect
error InvalidContractSignature();