Smart Account Reference
Setup
domainSeparator

domainSeparator

Returns the domain separator for this contract, as defined in the EIP-712 standard.

Usage


_10
interface ISafe {
_10
function domainSeparator() external view returns (bytes32);
_10
}
_10
_10
contract Example {
_10
function example() … {
_10
(ISafe safe).domainSeparator();
_10
}
_10
}

Returns

  • Type: bytes32

The domain separator hash.

Was this page helpful?