domain
Returns the Gnosis Protocol v2 domain used for signing orders.The EIP-155 chain ID where the contract is deployed.
The address of the GPv2Settlement contract that will verify the signature.
An EIP-712 compatible typed domain data structure containing:
name: “Gnosis Protocol”version: “v2”chainId: The provided chain IDverifyingContract: The settlement contract address
Example
The domain is used throughout the SDK to ensure orders cannot be replayed across different chains or contract deployments. It’s mixed into all EIP-712 signatures.
TypedDataDomain
EIP-712 typed data domain structure.The user-readable name of the signing domain.
The current version of the signing domain.
The EIP-155 chain ID.
The address of the contract that will verify the signature.
A disambiguating salt for the protocol.
