checkSignatures
Checks whether the signature provided is valid for the provided data and hash. Reverts otherwise.
Usage
_15interface ISafe {_15 function checkSignatures(_15 bytes32 dataHash,_15 bytes signatures_15 ) external view;_15}_15_15contract Example {_15 function example() ... {_15 (ISafe safe).checkSignatures(_15 "0x...",_15 "0x..."_15 );_15 }_15}
Parameters
dataHash
- Type:
bytes32
Hash of the data (could be either a message hash or transaction hash).
_10(ISafe safe).checkSignatures(_10 "0x...",_10 "0x..."_10);
signatures
- Type:
bytes
Signature data that should be verified. Can be packed ECDSA signature ((bytes32 r)(bytes32 s)(uint8 v))
, contract signature (EIP-1271), or approved hash.
_10(ISafe safe).checkSignatures(_10 "0x...",_10 "0x..."_10);