> For the complete documentation index, see [llms.txt](https://docs.isle.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.isle.finance/contract-documentation/libraries/reentrancyguardupgradeable.md).

# ReentrancyGuardUpgradeable

[Git Source](https://github.com/isle-labs/isle-contract/blob/main/contracts/libraries/ReentrancyGuard.sol)

**Inherits:** [VersionedInitializable](/contract-documentation/libraries/upgradability/versionedinitializable.md)

## State Variables

### NOT\_ENTERED

```solidity
uint256 private constant NOT_ENTERED = 1;
```

### ENTERED

```solidity
uint256 private constant ENTERED = 2;
```

### ReentrancyGuardStorageLocation

```solidity
bytes32 private constant ReentrancyGuardStorageLocation =
    0x9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00;
```

## Functions

### \_getReentrancyGuardStorage

```solidity
function _getReentrancyGuardStorage() private pure returns (ReentrancyGuardStorage storage $);
```

### \_\_ReentrancyGuard\_init

```solidity
function __ReentrancyGuard_init() internal onlyInitializing;
```

### nonReentrant

```solidity
modifier nonReentrant();
```

## Structs

### ReentrancyGuardStorage

```solidity
struct ReentrancyGuardStorage {
    uint256 _status;
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.isle.finance/contract-documentation/libraries/reentrancyguardupgradeable.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
