NonceManager

A helper contract for managing nonce of tx sender

increaseNoncearrow-up-right

function increaseNonce(
) external

Advances nonce by one

advanceNoncearrow-up-right

function advanceNonce(
  uint8 amount
) public

Advances nonce by specified amount

Parameters:arrow-up-right

Name
Type
Description

amount

uint8

function nonceEquals(
  address makerAddress,
  uint256 makerNonce
) external returns (bool)

Checks if makerAddress has specified makerNonce

Parameters:arrow-up-right

Name
Type
Description

makerAddress

address

makerNonce

uint256

Return Values:arrow-up-right

Name
Type
Description

Result

bool

True if makerAddress has specified nonce. Otherwise, false

NonceIncreasedarrow-up-right

Parameters:arrow-up-right

Name
Type
Description

maker

address

newNonce

uint256

Last updated