> For the complete documentation index, see [llms.txt](https://docs.union.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.union.finance/developers/union-contracts-overview.md).

# Union Contracts Overview

![](https://lh4.googleusercontent.com/PWOH67yPs-tqU1SwHSdPvqfUJ1JCbAxTCGdBQRMONQ4shcJjSv1ZM9p2u_MKR7ed_-Gbn4UHOQsGO6dBaBFkINtNyG6PcmzjZb2HNnCc0oAH_4LnNqn3aIgu7fUPmZYFHAHUwdM4gWxFidC-_A)

### 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.
