For the complete documentation index, see llms.txt. This page is also available as Markdown.

ReentrancyGuardTransient

ReentrancyGuardTransient

_Variant of {ReentrancyGuard} that uses transient storage.

NOTE: This variant only works on networks where EIP-1153 is available.

Available since v5.1._

ReentrancyGuardReentrantCall

error ReentrancyGuardReentrantCall()

Unauthorized reentrant call.

nonReentrant

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.

_reentrancyGuardEntered

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