Comment on page

Union Contracts Overview

Core Components

  1. 1.
    uToken: Manages the Union members credit lines, and their vouchees and borrowers info.
  2. 2.
    CreditLimitModel: Calculate the user's credit line based on the trust he receives from the vouchees.
  3. 3.
    MarketRegistry: Registering and managing all the lending markets.
  4. 4.
    LendingMarket: Union members can borrow and repay thru this component.
  5. 5.
    ‌AssetManager: Manage the token balances staked by the users and deposited by admins, and invest tokens to the integrated underlying lending protocols.
  6. 6.
    UserManager: Manages all the stakers deposited, locked, and frozen stakings
  7. 7.
    InterestRateModel: Calculate the borrowers' interest rate.
  8. 8.
    MoneyMarketAdaptor: Working with AssetManager to support external money markets, like Compound etc.