Search
K

ReentrancyGuard

Authors: Modified Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/utils/ReentrancyGuard.sol), Modified from OpenZeppelin (https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/security/ReentrancyGuard.sol)
Gas optimized reentrancy protection for smart contracts.

State Variables

reentrancyStatus

uint256 private reentrancyStatus;

Functions

__initReentrancyGuard

function __initReentrancyGuard() internal;

nonReentrant

modifier nonReentrant();

Errors

Reentrancy

error Reentrancy();