> For the complete documentation index, see [llms.txt](https://docs.rigoblock.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rigoblock.com/solidity-api-reference/protocol/libraries/transientstorage.md).

# TransientStorage

## Int256

## TransientStorage

### \_TRANSIENT\_BALANCE\_SLOT

```solidity
bytes32 _TRANSIENT_BALANCE_SLOT
```

### \_TRANSIENT\_TWAP\_TICK\_SLOT

```solidity
bytes32 _TRANSIENT_TWAP_TICK_SLOT
```

### \_STORED\_NAV\_SLOT

```solidity
bytes32 _STORED_NAV_SLOT
```

### \_STORED\_ASSETS\_SLOT

```solidity
bytes32 _STORED_ASSETS_SLOT
```

### \_TEMP\_BALANCE\_SLOT

```solidity
bytes32 _TEMP_BALANCE_SLOT
```

### \_DONATION\_LOCK\_SLOT

```solidity
bytes32 _DONATION_LOCK_SLOT
```

### store

```solidity
function store(Int256 slot, address token, int256 value) internal
```

Stores a mapping of token addresses to int256 values

### get

```solidity
function get(Int256 slot, address token) internal view returns (int256)
```

### storeBalance

```solidity
function storeBalance(address token, int256 balance) internal
```

### getBalance

```solidity
function getBalance(address token) internal view returns (int256)
```

### storeTwap

```solidity
function storeTwap(address token, int24 twap) internal
```

### getTwap

```solidity
function getTwap(address token) internal view returns (int24)
```

### setDonationLock

```solidity
function setDonationLock(address token, uint256 balance) internal
```

### getDonationLock

```solidity
function getDonationLock() internal view returns (bool)
```

### getTemporaryBalance

```solidity
function getTemporaryBalance(address token) internal view returns (uint256, bool)
```

### storeNav

```solidity
function storeNav(uint256 nav) internal
```

### storeAssets

```solidity
function storeAssets(uint256 assets) internal
```

### getStoredNav

```solidity
function getStoredNav() internal view returns (uint256)
```

### getStoredAssets

```solidity
function getStoredAssets() internal view returns (uint256)
```
