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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.union.finance/developers/union-contracts-overview.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
