Skip to content
Lattice

IReentrancyGuard

Git Source

Title: IReentrancyGuard

Author: Modified from OpenZeppelin (https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/ReentrancyGuard.sol)

Interface for the ReentrancyGuard module.

This interface defines the error used to guard against reentrant calls. ReentrancyGuard exposes no external functions — protection comes from the ReentrancyGuard mixin's modifiers over ReentrancyGuardLib. There is no init and no ERC-165 registration (an error-only interfaceId would be 0x00000000).

Errors

ReentrancyGuardReentrantCall

Thrown when a reentrant call is detected.

error ReentrancyGuardReentrantCall();