# GsnEip712Library

The ERC-712 Library for GSN

Bridge Library to convert a GSN RelayRequest into a valid ForwardRequest for a Forwarder.

# Functions

# splitRequest(struct GsnTypes.RelayRequest req)

→ bytes suffixData (internal)


# verifyForwarderTrusted(struct GsnTypes.RelayRequest relayRequest)

(internal)


# verifySignature(string domainSeparatorName, struct GsnTypes.RelayRequest relayRequest, bytes signature)

(internal)


# verify(string domainSeparatorName, struct GsnTypes.RelayRequest relayRequest, bytes signature)

(internal)


# execute(string domainSeparatorName, struct GsnTypes.RelayRequest relayRequest, bytes signature)

→ bool forwarderSuccess, bool callSuccess, bytes ret (internal)


# truncateInPlace(bytes data)

(internal)


# domainSeparator(string name, address forwarder)

→ bytes32 (internal)


# getChainID()

→ uint256 id (internal)


# hashDomain(struct GsnEip712Library.EIP712Domain req)

→ bytes32 (internal)


# hashRelayData(struct GsnTypes.RelayData req)

→ bytes32 (internal)


# Structs

# EIP712Domain

string name

string version

uint256 chainId

address verifyingContract