View Source: openzeppelin-solidity/contracts/utils/ReentrancyGuard.sol
↘ Derived Contracts: CappedSTO, CappedSTOProxy, DummySTOProxy, GeneralPermissionManagerProxy, PreSaleSTOProxy, SecurityToken, USDTieredSTOProxy
ReentrancyGuard
If you mark a function nonReentrant
, you should also mark it external
.
Constants & Variables
uint256 private _guardCounter;
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 make it call a private
function that does the actual work.
modifier nonReentrant() internal
Arguments
Name | Type | Description |
()
function () internal nonpayable
Arguments
Name | Type | Description |