> For the complete documentation index, see [llms.txt](https://docs.fluidnft.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fluidnft.org/technical-resources/developers/contract-reference.md).

# Contract Reference

The FluidNFT protocol is composed of interconnected smart contracts organised in a modular system. Each module is responsible for specific aspects of the protocol. Therefore, depending on your desired actions, you will interact with multiple contract addresses to access the different functionalities.

```
 src
 └─ protocol
    └─ collateral
       └─ CollateralManager.sol
       └─ CollateralManagerStorage.sol
    └─ execution
       └─ ExecutionDelegate.sol
       └─ ExecutionManager.sol
    └─ gateways
       └─ WETHGateway.sol
    └─ governance
       └─ AddressProvider.sol
       └─ AddressProviderRegistry.sol
       └─ Configurator.sol
    └─ libraries
       └─ configuration
          └─ NFTPriceGroupConfiguration.sol
          └─ ReserveConfiguration.sol
       └─ helpers
          └─ Errors.sol
          └─ Helpers.sol
       └─ logic
          └─ BorrowLogic.sol
          └─ ConfigurationLogic.sol
          └─ GenericLogic.sol
          └─ LiquidateLogic.sol
          └─ OracleLogic.sol
          └─ ReserveLogic.sol
          └─ SupplyLogic.sol
          └─ ValidationLogic.sol
       └─ math
          └─ MathUtils.sol
          └─ PercentageMath.sol
          └─ WadRayMath.sol
       └─ proxy
          └─ FluidProxyAdmin.sol
          └─ FluidUpgradeableProxy.sol
       └─ types
          └─ ConfigTypes.sol
          └─ DataTypes.sol
    └─ oracle
       └─ NFTPriceOracle.sol
       └─ NFTPriceOracleStorage.sol
       └─ PriceConsumerV3.sol
       └─ Trustus.sol
    └─ p2pool
       └─ LendingPool.sol
       └─ LendingPoolStorage.sol
    └─ risk      
       └─ InterestRateStrategy.sol 
       └─ LendingRateManager.sol 
    └─ tokenization
       └─ base
           └─ DebtTokenBase.sol
           └─ IncentivizedERC20.sol
           └─ Redeemable.sol
       └─ FToken.sol
       └─ ObligationReceipt.sol  
       └─ StableDebtToken.sol  
       └─ VariableDebtToken.sol  
```
