Union Contracts Overview

Core Components

  1. uToken: Manages the Union members credit lines, and their vouchees and borrowers info.

  2. CreditLimitModel: Calculate the user's credit line based on the trust he receives from the vouchees.

  3. MarketRegistry: Registering and managing all the lending markets.

  4. LendingMarket: Union members can borrow and repay thru this component.

  5. ‌AssetManager: Manage the token balances staked by the users and deposited by admins, and invest tokens to the integrated underlying lending protocols.

  6. UserManager: Manages all the stakers deposited, locked, and frozen stakings

  7. InterestRateModel: Calculate the borrowers' interest rate.

  8. MoneyMarketAdaptor: Working with AssetManager to support external money markets, like Compound etc.

Last updated