ReentrancyGuardTransient
Last updated
_Variant of {ReentrancyGuard} that uses transient storage.
NOTE: This variant only works on networks where EIP-1153 is available.
Available since v5.1._
error ReentrancyGuardReentrantCall()Unauthorized reentrant call.
modifier nonReentrant()Prevents a contract from calling itself, directly or indirectly. Calling a nonReentrant function from another nonReentrant function is not supported. It is possible to prevent this from happening by making the nonReentrant function external, and making it call a private function that does the actual work.
function _reentrancyGuardEntered() internal view returns (bool)Returns true if the reentrancy guard is currently set to "entered", which indicates there is a nonReentrant function in the call stack.
Last updated