IEIP712
Asset Tokenization Studio Team
IEIP712
Exposes the EIP-712 typed-data domain separator for this contract.
The domain separator encodes the token name, resolver-proxy version, chain ID, and diamond address. It is consumed by off-chain signers and by permit-style operations to produce typed-data hashes that are bound to this deployment.
Methods
DOMAIN_SEPARATOR
function DOMAIN_SEPARATOR() external view returns (bytes32 domainSeparator_)
Returns the EIP-712 domain separator for this contract.
Computed from the token name, resolver-proxy version, chain ID, and the diamond address. The value changes when any of those inputs change (e.g. after a chain fork or a proxy version upgrade).
Returns
| Name | Type | Description |
|---|---|---|
| domainSeparator_ | bytes32 | The EIP-712 domain separator hash. |
initializeEIP712
function initializeEIP712() external nonpayable
Initialises the EIP-712 capability on the token.
Callable once; subsequent calls revert with FacetAlreadyRegistered. Requires DEFAULT_ADMIN_ROLE. Called by the factory during deployment.
Events
EIP712Initialized
event EIP712Initialized()
Emitted once when the EIP-712 capability is initialised on a token.
Fires exclusively from initializeEIP712.