157 - OZ ReentrancyGuard
OpenZeppelin ReentrancyGuard: prevents reentrant calls to a function.
Inheriting from ReentrancyGuard will make the nonReentrant
modifier available, which can be applied to functions to make sure there are no nested (reentrant) calls to them.
- Reentrancy Vulnerabilities
- Unique & Dangerous
- External & Untrusted
- Calls -> Reenter & Exploit
- Modifier: nonReentrant
- Prevents: Reentrancy
- Best Practice