VulpeFI Docs
  • Whitepaper
  • VulpeFI Overview
  • Wallet VulpeFI
    • Wallet auto-connect
  • Aggregation Protocol
    • Introduction
    • Guide
      • Quick start
    • API
      • Swagger
        • Binance Smart Chain
        • Ethereum Network
        • BASE
        • Arbitrum
        • Polygon
      • Swap params
      • Quote params
    • Smart contracts
      • Aggregation VulpeFI
      • ClipperRouter
      • LimitOrderProtocol
      • UnoswapRouter
    • Limit order protocol
      • Introduction
      • Limit vs. RFQ Orders
      • Smart contracts
        • LimitOrderProtocol
        • LimitOrderProtocolPro
        • OrderLib
        • OrderMixin
        • OrderRFQMixin
        • helpers
          • AmountCalculator
          • ChainlinkCalculator
          • ERC1155Proxy
          • ERC721Proxy
          • ERC721ProxySafe
          • ImmutableOwner
          • NonceManager
          • PredicateHelper
          • SeriesNonceManager
          • WethUnwrapper
        • Interfaces
          • IDaiLikePermit
          • IWithdrawable
          • Interaction
          • PostInteraction
          • PreInteraction
      • Liquidity Source and API
        • Ethereum Network
        • Binance Smart Chain
        • Polygon
        • Avalanche
        • Gnosis Chain
    • Spot Price aggregator
      • Examples
      • Spot Price Aggregator
Powered by GitBook
On this page
  • Functions​
  • increaseNonce​
  • advanceNonce​
  • nonceEquals​
  • Events​
  • NonceIncreased​
  1. Aggregation Protocol
  2. Limit order protocol
  3. Smart contracts
  4. helpers

NonceManager

PreviousImmutableOwnerNextPredicateHelper

Last updated 1 year ago

A helper contract for managing nonce of tx sender

Functions

increaseNonce

function increaseNonce(
) external

Advances nonce by one

advanceNonce

function advanceNonce(
  uint8 amount
) public

Advances nonce by specified amount

Parameters:

Name
Type
Description

amount

uint8

nonceEquals

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

Checks if makerAddress has specified makerNonce

Name
Type
Description

makerAddress

address

makerNonce

uint256

Name
Type
Description

Result

bool

True if makerAddress has specified nonce. Otherwise, false

event NonceIncreased(
  address maker,
  uint256 newNonce
)
Name
Type
Description

maker

address

newNonce

uint256

Parameters:

Return Values:

Events

NonceIncreased

Parameters:

​
​
​
​
​
​
​
​
​
​