# Liquidity Mining

The liquidity mining contract holds LP tokens and distributes rewards to the token owners for the duration the tokens stay in the contract. The actual value of the rewards depends on the configuration, which is updated weekly.

The accumulated rewards can be immediately liquid or deposited into a vesting contract, where an equal amount becomes liquid every four weeks over a period of 40 weeks. It is also possible for rewards to be partially liquid and partially vesting.

The source code resides in our [GitHub](https://github.com/DistributedCollective/Sovryn-smart-contracts/) repo.

This Builder Portal focuses on the most relevant functionality. A complete documentation of all functions can be found [here](https://github.com/DistributedCollective/Sovryn-smart-contracts/blob/development/docs/LiquidityMining.md).&#x20;


---

# 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://build.sovryn.com/builder-portal/smart-contracts/liquidity-mining.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.
