ReentrancyGuard

Git Source

Inherits:Variables, Error

ReentrancyGuard based on OpenZeppelin implementation. https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v4.8/contracts/security/ReentrancyGuard.sol

State Variables

REENTRANCY_NOT_ENTERED

uint8 internal constant REENTRANCY_NOT_ENTERED = 1;

REENTRANCY_ENTERED

uint8 internal constant REENTRANCY_ENTERED = 2;

Functions

constructor

constructor();

reentrancy

Prevents a contract from calling itself, directly or indirectly. See OpenZeppelin implementation for more info

modifier reentrancy();