IStatefulERC712

Git Source

Inherits: IERC712Extended

Author: M^0 Labs

Functions

nonces

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

function nonces(address account) external view returns (uint256 nonce);

Parameters

Name
Type
Description

account

address

The address of some account.

Returns

Name
Type
Description

nonce

uint256

The next nonce to be used in a signature by account.

Errors

InvalidAccountNonce

Revert message when a signing account's nonce is not the expected current nonce.

error InvalidAccountNonce(uint256 nonce, uint256 expectedNonce);

Parameters

Name
Type
Description

nonce

uint256

The nonce used in the signature.

expectedNonce

uint256

The expected nonce to be used in a signature by the signing account.

Copyright 2024 M^0 Foundation