# StorageUtils

\_Internal library to manage storage slots of GNSMultiCollatDiamond contract diamond storage structs.

BE EXTREMELY CAREFUL, DO NOT EDIT THIS WITHOUT A GOOD REASON\_

## GLOBAL\_ADDRESSES\_SLOT

```solidity
uint256 GLOBAL_ADDRESSES_SLOT
```

## GLOBAL\_PAIRS\_STORAGE\_SLOT

```solidity
uint256 GLOBAL_PAIRS_STORAGE_SLOT
```

## GLOBAL\_REFERRALS\_SLOT

```solidity
uint256 GLOBAL_REFERRALS_SLOT
```

## GLOBAL\_FEE\_TIERS\_SLOT

```solidity
uint256 GLOBAL_FEE_TIERS_SLOT
```

## GLOBAL\_PRICE\_IMPACT\_SLOT

```solidity
uint256 GLOBAL_PRICE_IMPACT_SLOT
```

## GLOBAL\_DIAMOND\_SLOT

```solidity
uint256 GLOBAL_DIAMOND_SLOT
```

## GLOBAL\_TRADING\_STORAGE\_SLOT

```solidity
uint256 GLOBAL_TRADING_STORAGE_SLOT
```

## GLOBAL\_TRIGGER\_REWARDS\_SLOT

```solidity
uint256 GLOBAL_TRIGGER_REWARDS_SLOT
```

## GLOBAL\_TRADING\_SLOT

```solidity
uint256 GLOBAL_TRADING_SLOT
```

## GLOBAL\_TRADING\_CALLBACKS\_SLOT

```solidity
uint256 GLOBAL_TRADING_CALLBACKS_SLOT
```

## GLOBAL\_BORROWING\_FEES\_SLOT

```solidity
uint256 GLOBAL_BORROWING_FEES_SLOT
```

## GLOBAL\_PRICE\_AGGREGATOR\_SLOT

```solidity
uint256 GLOBAL_PRICE_AGGREGATOR_SLOT
```

## GLOBAL\_OTC\_SLOT

```solidity
uint256 GLOBAL_OTC_SLOT
```


---

# Agent Instructions: 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.gains.trade/developer/technical-reference/contracts/libraries/storageutils.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.
