Smart Account Reference
Signatures
signedMessages

signedMessages

Returns a uint256 if the messageHash is signed by the owner.

Usage


_10
interface ISafe {
_10
function signedMessages(bytes32 messageHash) external view returns (uint256);
_10
}
_10
_10
contract Example {
_10
function example() ... {
_10
(ISafe safe).signedMessages("0x...");
_10
}
_10
}

Parameters

messageHash

  • Type: bytes32

Hash of message that should be checked.

Returns

  • Type: uint256

Number denoting if an owner signed the hash.

Events

SignMsg


_10
event SignMsg(bytes32 msgHash);

Emitted when a message is signed by an owner.

Was this page helpful?