Skip to main content

Module INonceManager

Module INonceManager 

Source
Available on crate feature base only.
Expand description

Mirror of base_common_precompiles::INonceManager.

interface INonceManager {
    error DelegateCallNotAllowed();
    error NonPayable();
    error ProtocolNonceNotSupported();
    error InvalidNonceKey();
    error NonceOverflow();
    error InvalidExpiringNonceExpiry();
    error ExpiringNonceReplay();
    error ExpiringNonceSetFull();
    event NonceIncremented(address indexed account, uint256 indexed nonceKey, uint64 newNonce);
    function getNonce(address account, uint256 nonceKey) external view returns (uint64);
}

Modules§

abi
Contains dynamic ABI definitions for this contract.

Structs§

DelegateCallNotAllowed
Custom error with signature DelegateCallNotAllowed() and selector 0x0d89438e.
ExpiringNonceReplay
Custom error with signature ExpiringNonceReplay() and selector 0x4ba8e2af.
ExpiringNonceSetFull
Custom error with signature ExpiringNonceSetFull() and selector 0x4adf682a.
InvalidExpiringNonceExpiry
Custom error with signature InvalidExpiringNonceExpiry() and selector 0xd54ed552.
InvalidNonceKey
Custom error with signature InvalidNonceKey() and selector 0xdf9b1c41.
NonPayable
Custom error with signature NonPayable() and selector 0x6fb1b0e9.
NonceIncremented
Event with signature NonceIncremented(address,uint256,uint64) and selector 0x42d98041765078b1557c6a9fe7e4a27230ca413fc141df57d89acd6cc68ffb45.
NonceOverflow
Custom error with signature NonceOverflow() and selector 0xadc15572.
ProtocolNonceNotSupported
Custom error with signature ProtocolNonceNotSupported() and selector 0x1bc81ca9.
getNonceCall
Function with signature getNonce(address,uint256) and selector 0x89535803.
getNonceReturn
Container type for the return parameters of the getNonce(address,uint256) function.

Enums§

INonceManagerCalls
Container for all the INonceManager function calls.
INonceManagerErrors
Container for all the INonceManager custom errors.
INonceManagerEvents
Container for all the INonceManager events.