💜
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
  3. Contract Reference
  4. Address Provider Registry

IAddressProviderRegistry

// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.16;

/**
 * @title IAddressProviderRegistry contract
 * @dev Main registry of AddressProvider of multiple FluidNFT protocol's markets
 * - Used for indexing purposes of FluidNFT protocol's markets
 * - The id assigned to a AddressProvider refers to the market it is connected with,
 *   for example with `1` for the FluidNFT main market and `2` for the next created
 * @author FluidNFT
 **/
interface IAddressProviderRegistry {
    event AddressProviderRegistered(address indexed newAddress);
    event AddressProviderUnregistered(address indexed newAddress);

    function getAddressProvidersList() external view returns (address[] memory);

    function getAddressProviderIdByAddress(address addressesProvider) external view returns (uint256);

    function registerAddressProvider(address provider, uint256 id) external;

    function unregisterAddressProvider(address provider) external;
}
PreviousAddress Provider RegistryNextExecution Manager

Last updated 1 year ago

👩‍💻
📚