PausableNonReentrant

Git Source

Inherits: Ownable

State Variables

_UNLOCKED

uint256 private constant _UNLOCKED = 0x1;

_LOCKED

uint256 private constant _LOCKED = 0x2;

_PAUSED

uint256 private constant _PAUSED = 0x3;

_state

uint256 private _state = _UNLOCKED;

Functions

pausableNonReentrant

modifier pausableNonReentrant();

pause

function pause() external onlyOwner;

unpause

function unpause() external onlyOwner;

paused

function paused() external view returns (bool);

Events

Paused

event Paused();

Unpaused

event Unpaused();

Errors

IsPaused

error IsPaused();

IsLocked

error IsLocked();

NotPaused

error NotPaused();