StatefulERC712

Git Source

Inherits: IStatefulERC712, ERC712Extended

Author: M^0 Labs

An abstract implementation to satisfy stateful EIP-712 with nonces.

State Variables

nonces

Returns the next nonce to be used in a signature by account.

mapping(address account => uint256 nonce) public nonces;

Functions

constructor

Construct the StatefulERC712 contract.

constructor(string memory name_) ERC712Extended(name_);

Parameters

Name
Type
Description

name_

string

The name of the contract.

Copyright 2024 M^0 Foundation