# Interfaces

- [Libraries](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/libraries.md)
- [IBorrowingFeesUtils](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/libraries/iborrowingfeesutils.md)
- [IOtcUtils](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/libraries/iotcutils.md)
- [IPriceAggregatorUtils](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/libraries/ipriceaggregatorutils.md)
- [ITriggerRewardsUtils](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/libraries/itriggerrewardsutils.md)
- [IFeeTiersUtils](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/libraries/ifeetiersutils.md)
- [IPairsStorageUtils](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/libraries/ipairsstorageutils.md)
- [IPriceImpactUtils](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/libraries/ipriceimpactutils.md)
- [IReferralsUtils](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/libraries/ireferralsutils.md)
- [ITradingCallbacksUtils](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/libraries/itradingcallbacksutils.md)
- [ITradingCommonUtils](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/libraries/itradingcommonutils.md)
- [ITradingInteractionsUtils](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/libraries/itradinginteractionsutils.md)
- [ITradingStorageUtils](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/libraries/itradingstorageutils.md)
- [IUpdateLeverageUtils](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/libraries/iupdateleverageutils.md)
- [IUpdatePositionSizeUtils](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/libraries/iupdatepositionsizeutils.md)
- [Types](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/types.md)
- [IAddressStore](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/types/iaddressstore.md)
- [IBorrowingFees](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/types/iborrowingfees.md)
- [IDiamondStorage](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/types/idiamondstorage.md)
- [IOtc](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/types/iotc.md)
- [IPriceAggregator](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/types/ipriceaggregator.md)
- [ITradingStorage](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/types/itradingstorage.md)
- [ITradingInteractions](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/types/itradinginteractions.md)
- [ITriggerRewards](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/types/itriggerrewards.md)
- [ITypes](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/types/itypes.md)
- [IUpdateLeverage](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/types/iupdateleverage.md)
- [IPairsStorage](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/types/ipairsstorage.md)
- [IFeeTiers](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/types/ifeetiers.md)
- [IPriceImpact](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/types/ipriceimpact.md)
- [IReferrals](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/types/ireferrals.md)
- [ITradingCallbacks](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/types/itradingcallbacks.md)
- [IUpdatePositionSize](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/types/iupdatepositionsize.md)
- [IChainlinkFeed](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/ichainlinkfeed.md)
- [IArbSys](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/iarbsys.md)
- [IChainlinkOracle](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/ichainlinkoracle.md)
- [IERC20](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/ierc20.md)
- [IERC721](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/ierc721.md)
- [IERC721Design](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/ierc721design.md)
- [IGeneralErrors](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/igeneralerrors.md)
- [IGNSAddressStore](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/ignsaddressstore.md)
- [IGNSDiamond](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/ignsdiamond.md)
- [IGNSDiamondCut](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/ignsdiamondcut.md)
- [IGNSMultiCollatDiamond](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/ignsmulticollatdiamond.md)
- [IGNSDiamondLoupe](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/ignsdiamondloupe.md)
- [IGNSStaking](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/ignsstaking.md)
- [IGToken](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/igtoken.md)
- [IGTokenLockedDepositNft](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/igtokenlockeddepositnft.md)
- [IGTokenOpenPnlFeed](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/igtokenopenpnlfeed.md)
- [IGTokenLockedDepositNftDesign](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/igtokenlockeddepositnftdesign.md)
- [ILiquidityPool](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/iliquiditypool.md)
- [IRateProvider](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/irateprovider.md)
- [IOwnable](https://docs.gains.trade/developer/technical-reference/contracts/interfaces/iownable.md)


---

# 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/interfaces.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.
