Types

EIP712 Package

Domain

Represents the domain parameters used for EIP-712 signing.

type Domain struct {
    Name              string          `json:"name"`    // Name of the domain.
    Version           string          `json:"version"` // Version of the domain.
    ChainId           *big.Int        `json:"chainId"` // Chain ID associated with the domain.
    VerifyingContract *common.Address `json:"verifyingContract"` // Address of the verifying contract for the domain.
}

Made with ❤️ by the ZKsync Community