# FARM

***

<figure><img src="https://3929583681-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZMFlZVOVNoxO9RHoyGXt%2Fuploads%2FZXNM8d71sikYMaQdo0vz%2Ftrade.png?alt=media&#x26;token=4fd1b6c7-d16b-474c-8460-c61c7e1e70de" alt="" width="563"><figcaption></figcaption></figure>

## Overview

Libertum's Yield Farming application is a core component designed to incentivize and reward investors for staking their tokens. This platform feature allows users to earn returns from their investments in tokenized real-world assets (RWAs), enhancing the value proposition of holding and investing in tokenized assets.

Libertum's yield farming presents a unique opportunity for users to stake stable tokens, unlocking high yields from income-generating assets linked to real-world physical assets. Real-world assets yield farming allows users to lock stable tokens, much like Aerodrome. The dashboard should feature a variable annual percentage rate (vAPR), which begins high and gradually decreases as more participants engage in the farming process for the same yield.

### &#x20;Functional Description

🔸 Stake and Earn: Users can stake their Libertum tokens to earn yields based on the performance and revenue generated from the underlying real-world assets.

🔸 Flexible Staking Options: Offers various staking options with different terms and reward structures to accommodate diverse investor preferences and risk appetites.

🔸 Automated Yield Distribution: Utilizes smart contracts to calculate and distribute yields automatically, ensuring transparency and fairness in reward allocation.

### &#x20;Key Features

🔸 **Access to Yield Farming Pool:** Users should be able to navigate to the "Yield Farming" section within the platform, which provides an overview of various pools available for staking stable tokens.

🔸 **Overview of vAPR and Staking Information:**

* Display the current vAPR of the pool and how it changes based on the number of staked tokens.
* Indicate pool saturation thresholds at which vAPR gradually decreases to incentivize early adoption.

🔸 **Locking & Unstaking Mechanism:**

* Allow users to lock their stable tokens into the farming pool for a specified duration.
* Show rewards calculated in real-time based on current vAPR, user’s staked amount, and total amount staked.

🔸 **Reward Calculation & Distribution:**

* Reward users proportionally based on the locked amount and time period of staking.
* Distribute rewards in stable tokens or native platform tokens, which can also be staked for compound rewards.

🔸 **Yield Curve Visualization:**

* Display a yield curve indicating the trend of vAPR as more users join the pool. This helps users understand how their potential earnings might change with pool saturation.

🔸 **Automated vAPR Adjustment:**

* The platform should have a smart contract that automatically adjusts the vAPR based on the number of tokens locked by all users.

### &#x20;Technical Specifications

🔸 Smart Contract Implementation: Deployed on the Ethereum blockchain, utilizing smart contracts to manage all aspects of yield farming, from staking to yield calculation and distribution.

🔸 Security Protocols: Implements rigorous security measures to protect the integrity of staked assets and distributed yields.

🔸 Integration with DeFi Protocols: Interfaces with various decentralized finance protocols to ensure optimal yield generation and asset liquidity.v

### Process Flow

1️⃣ *Token Staking:* Investors stake their Libertum tokens through a user-friendly interface on the Libertum dashboard.

2️⃣ *Yield Calculation:* The platform calculates yields based on pre-determined formulas that consider the asset's performance, market conditions, and the amount of tokens staked.

3️⃣ Y*ield Distribution:* Yields are distributed to stakers at regular intervals, directly to their wallets, in a transparent and automated manner.

4️⃣ Unstaking and Liquidity: Provides options for unstaking tokens, allowing investors to reclaim their tokens along with the accrued yields after the staking period ends, maintaining liquidity and flexibility.

### &#x20;Conclusion

The Yield Farming application is an essential mechanism within the Libertum ecosystem, designed to foster a robust investment environment by rewarding long-term token holders. It not only drives platform engagement and token utility but also aligns the interests of the investors with the performance of the underlying assets, creating a community-driven investment model that is sustainable and profitable.
