💜
FluidNFT Docs
  • 👋Welcome to Fluid!
  • Overview
    • 🌊What we do
    • ✨Our Features
    • 🤩About Us
  • Product Guides
    • 💜For Borrowers
      • Get a Loan
      • Repay a Loan
      • Refinance a Loan
      • Get Help Repaying
    • 🖼️For Creators
      • Add a Collection
      • Deposit ETH / Tokens
      • Withdraw ETH / Tokens
    • 💫For the Community
      • Trigger an Auction
      • Purchase NFTs at Auction
  • Risk Management
    • ✳️Risk Framework
      • 👩‍🏫Data
      • 👩‍🔬Methodology
      • ⚙️Risk Parameters
      • 🛰️Risk Monitoring
      • 📊Price Discovery
      • 🔃Recovery / Liquidation
  • Technical Resources
    • 🤖Protocol Overview
      • 📝Whitepaper
    • 🔐Security
      • 🔎Audits
      • 📗Test Report
    • 👩‍💻Developers
      • 🎊Contract Integration
        • ⛓️Deployed Contracts
      • 📚Contract Reference
        • Collateral Manager
          • ICollateralManager
        • LendingPool
          • ILendingPool
        • Address Provider
          • IAddressProvider
        • Address Provider Registry
          • IAddressProviderRegistry
        • Execution Manager
          • IExecutionManager
        • Execution Delegate
          • IExecutionDelegate
        • Configurator
          • IConfigurator
        • Interest Rate Strategy
          • IInterestRateStrategy
        • Lending Rate Manager
          • ILendingRateManager
        • F Tokens
          • IFToken
        • Debt Tokens
          • IStableDebtToken
          • IVariableDebtToken
        • Obligation Receipt
          • IObligationReceipt
        • WETH Gateway
          • IWETHGateway
      • 🛠️SDK
      • 📡Subgraph
Powered by GitBook
On this page
  1. Technical Resources
  2. Developers

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  
PreviousDeployed ContractsNextCollateral Manager

Last updated 1 year ago

👩‍💻
📚