# Introduction

Welcome to Lif3, part of the Lif3 Ecosystem.

![](/files/sZS8WmzhddYWXs4EP1rX)

## Lif3.com

Our in-house Decentralized Exchange (DEX), LIF3 Swap, acts as the heart of Lif3. The protocol consists of a variety of DeFi products, where users of all types can enjoy participating in the Game of Lif3 and utilize the different yield options and products to make the most of what this platform offers.

Lif3 began with a 90-Day Genesis that was hosted on[ Tomb.com](https://tomb.com/). During the 90-Day[ Genesis](https://tomb.com/genesis), the Lif3 protocol was launched and created the ability to make swaps on Tomb Chain.


# About

Lif3 Swap is the premier DEX on Tomb Chain.

Decentralized Exchanges (DEXes) are the primary marketplace in DeFi, hosted on the blockchain. They allow users to perform swaps of their favorite tokens on a peer-to-peer (P2P) basis.&#x20;

On Tomb Chain, Lif3 Swap is the premier DEX where users can perform their swaps and trading operations on-chain.


# Modes

## Simple Mode

The Simple Mode on Lif3 Swap is the default setting when you first enter the site. In basic terms, you will be able to swap one asset for another just by filling in the asset to sell and the asset to buy from the drop-down menus and adding an amount to swap.

{% content-ref url="/pages/AoJB5ylGcGf1ICGWJw9Q" %}
[Simple Mode](/swap/modes/simple-mode)
{% endcontent-ref %}

## Advanced Mode

To enter Advanced Mode, toggle the Advanced Mode toggle switch. Advanced Mode shows a live display of the token pair's chart, trade history, and liquidity history with an option to see the user's personal trade/liquidity history as well.

{% content-ref url="/pages/k58p8bXrLBtoRPTf8G3g" %}
[Advanced Mode](/swap/modes/advanced-mode)
{% endcontent-ref %}


# Simple Mode

<figure><img src="/files/YWrarrm6qiHgbe9dE7y5" alt=""><figcaption></figcaption></figure>

### To Make a Swap:

1. Connect your wallet
2. Choose the asset that you want to **sell** from the drop-down menu in the **FROM** box
3. Choose the asset that you want to **buy** from the drop-down menu in the **TO** box
4. Input token amount to *"*&#x53;ELL"
5. Complete the Approval transaction that allows Metamask to withdraw the specified asset from your wallet
6. Adjust the slippage as needed from 0.1% to 1%
7. Click the **SWAP** button
8. Confirm the swap transaction in your wallet

*Note:* Since $TOMB is the gas token on Tomb Chain, remember to keep enough gas to make transactions on-chain.

*Note:* Every swap will incur a 0.5% fee.


# Advanced Mode

<figure><img src="/files/mZN8gtLlj4rWRJdVdjoQ" alt=""><figcaption><p>Click the toggle switch to enter Advanced Mode</p></figcaption></figure>

<figure><img src="/files/UFfqYMo6y4Leib3t156N" alt=""><figcaption><p>Advanced Mode</p></figcaption></figure>

Refer to [Simple Mode](/swap/modes/simple-mode) Instructions to make a swap while on Advanced Mode


# Available Tokens

![](/files/xMAxgx8No3vwmMRaJETy) TOMB

![](/files/razBM0OmBvkuEgx40nmQ) LIF3

![](/files/bO8hev8T2gSW3wuRDW6n) LSHARE

![](/files/nfS8mY9wRhdZot4BSeP2) TSHARE

![](/files/L1Nxlh7Wl3uf6t5ixx4p) TBOND

![](/files/AolTROPGWOAqO32J8hbv) FTM

![](/files/6rpm7Q6cx28BL5IgdePA) USDC

![](/files/99FqBcyCgPIZgyUDADuu) BTC

![](/files/2K8DIlb6F2YsaSZrMlZu) ETH

![](/files/33iIKoQGnSc5ac8tqoui) ZOO

![](/files/Fn4G2DfynsJgIWBKJOlA) BNB

![](/files/2Y0TWBivHiLgYQaeZ6RP) AVAX

![](/files/GT3Y6R26qcUdbfYC3DMl) CRV

![](/files/0KewF6qyjdbqlbEHSapC) LINK

![](/files/uIoXyQLE7sLcowgeHPgV) DAI

![](/files/EXb7OrndGpRhmgP4yp8t) USDT

![](/files/qIUuxGKa3CrlPPfwBH8c) MIM


# V3

Swap v3 is the latest version of Lif3 Swap, which aims to improve capital efficiency for liquidity providers (LPs) and provide better execution for traders.

Introducing features as:

**Concentrated liquidity**, this allows LPs to concentrate their liquidity into specific price ranges, which can significantly increase their returns.\
Individual positions are aggregated together into a single pool, forming one combined curve for users to trade against

**Multiple fee tiers**, allowing LPs to choose the level of risk they are comfortable with and be compensated accordingly.&#x20;

Overall, Swap v3 is a significant improvement over our previous versions of the swap. It is more capital efficient, and provides better execution for traders.

*LPs can significantly increase their exposure to preferred assets and reduce their downside risk.*

<br>


# Add liquidity to Swap v3

Swap v3 allows you to concentrate your liquidity position within a custom price range.

To add liquidity to Swap v3:

1. Open the Lif3 website. Next, select “Liquidity” to open the Liquidity page.
2. Select “New position”.
3. Select the token drop-down.
4. Select the token you want to add liquidity for.
5. After selecting the first token, now select the second token. Select the token drop-down.
6. Select the second token you want to add liquidity for.
7. Select the fee tier for your pool. Each pair of tokens offers 4 fee tiers: 0.01%, 0.05%, 0.3%, 1%.
8. Set the Price Range in which to provide liquidity.
9. Enter the amount of tokens you want to deposit into the liquidity pool, or select “Max” for the maximum amount of tokens.
10. Select “Approve”, then in your wallet allow your tokens to be used for providing liquidity. This transaction has network costs.
11. Select “Preview”.
12. Review the liquidity position details, then select “Add”.
13. In your wallet, confirm the transaction. This transaction has network costs.
14. To view the pending transaction select “View on Etherscan”. Otherwise, select “Close”.
15. A confirmation notification will appear once the transaction is complete.
16. Once completed, you can view and manage your liquidity position from the V3 Pool page.

Additional information regarding Swap v3 LPs:

* You can enter a specific range, or provide liquidity for the full price range.
* If the price moves out of your set range, then your liquidity position will be concentrated into one of the two assets and not earn fees.
* A liquidity pool may or may not exist at the fee tier selected. If the pool already exists, then your liquidity position will be added to the pool.
* When adding liquidity, you can select any pair of ERC-20 tokens.


# Remove liquidity from Swap v3

When removing liquidity from Swap v3, you will remove your liquidity position and collect earned fees.

1. Open the Lif3 website. Next, select “Liquidity” to open the Liquidity page.
2. Select the pool you want to remove liquidity from.
3. Select “Remove liquidity”.
4. Review the details of your liquidity position. Then enter the percentage amount that you would like to remove.
5. Select “Remove”.
6. Review the token amounts you are removing. Then, select “Remove”.
7. In your wallet, confirm the transaction. This transaction has network costs.
8. To view the pending transaction select “View on Scan”. Otherwise, select “Close”.
9. A confirmation notification will appear once the transaction is complete.


# How to collect fees from a liquidity pool on Swap v3

You can collect your earned fees without removing your liquidity.

To collect fees from a liquidity pool on Swap v3:

1. Open the Lif3 website. Next, select “Liquidity” to open the Liquidity page.
2. Select the position you want to collect fees from.
3. Select “Collect fees”.
4. Review details and then select “Collect”.
5. In your wallet, confirm the transaction. This has network costs.
6. To view the pending transaction select “View on Scan”. Otherwise, select “Close”.
7. A notification will appear once the transaction is complete.


# Inactive positions and Ratio

**What happens when my position goes out of the range? Do I get liquidated?**&#x20;

**No, you do not get liquidated if your price goes outside of your range.**

When your position leaves your price range, your position will be "inactive". This means your position will not earn fees until the price comes back in range.

However, when the price goes outside your range, the ratio of your position will change.

Here is an example of how a position changes:

A liquidity provider has a price range of 0.25 to 5 for an LIF3/L3USD pool.

* If LIF3 falls to 0.20, then your balance will be 100% in LIF3.
* If LIF3 goes up to 5, then your balance will be 100% in L3USD.

<br>


# Change the price range of my LP

To change the price range of a position you must remove the liquidity position, then create a new position with the desired price range.

To learn more about removing liquidity and creating a position, see the following:

1. [Remove liquidity from Swap v3](/liquidity/v3/remove-liquidity-from-swap-v3)
2. [Add liquidity to Swap v3](/liquidity/v3/add-liquidity-to-swap-v3)


# Fee Tiers

A fee tier is the percentage of the liquidity provider fee that swaps pay when swapping.

When providing liquidity you will receive your share of the collected fees. These get shared equally with all the liquidity providers in the pool.

Swap v3 protocol has the 1%, 0.3%, 0.05%, and 0.01% fee tiers.

When providing liquidity on Swap v3:

* In v3 the fees get collected and stored, but these fees do not get added back into the pool.
* The liquidity provider has the ability to collect these fees. They have the choice of adding the fees back into the pool or keeping the fees.
* When removing Swap v3 liquidity positions, all the fees will be removed along with the liquidity amount chosen to remove.

<br>


# Want to provide liquidity on a Full Range?

You can provide liquidity over the full price range. Your rate of return may be lower than a similar position with a more narrow price range.

Full Range in Swap v3

When providing liquidity using Lif v3, liquidity can be added over any price range, or the full price range.

This means that you can add liquidity to a specific price range, which may result in greater fees earned and a position that is closer to the current price.

To add liquidity over the full range in Swap v3 select the ‘Full Range’ icon when you are setting the price range.

*This will set your minimum price to 0 and your maximum price to infinity. Once you have selected the full range, you can enter your token amounts and add liquidity.*&#x20;

<br>


# LP Ownership represented by NFTs

Swap v3 represents liquidity positions using an NFT, in order to store all of the liquidity position data. This NFT is deposited in your wallet when you add v3 liquidity.

The full data that is stored in this NFT is:

* Nonce (used for tracking permit nonces)
* The operator (normally a 0 address, unless you have given permission to another to manage the liquidity)
* Token0 address (address of the first token in the pool)
* Token1 address (address of the second token in the pool)
* The pools fee tier (the chosen fee tier of your pool)
* The Lower Tick (the low price boundary of the position)
* The Upper Tick (the upper price boundary of the position)
* Your liquidity value (the value of the liquidity in the position)
* feeGrowthInside0LastX128 (used for Fee tracking on token0)
* feeGrowthInside1LastX128 (used for Fee tracking on token1)
* tokensOwed0 (only used as a temporary value)
* tokensOwed1 (only used as a temporary value)


# Contracts Swap v3

**Etheruem**

<table><thead><tr><th width="280">V3 Factory</th><th>0x129538ee65a692fa041e107921d716c31d186803</th></tr></thead><tbody><tr><td>weth-usdc-0.3%</td><td>0xA70E93C5eb55a88b191a732e14189AD3d2DF38F2</td></tr><tr><td>Nonfungible Token Position Descriptor</td><td>0xdD8A6d3d6507ca5cd350cA2C2B31EDCdB79Ff053</td></tr><tr><td>NonfungiblePositionManager</td><td>0x15823A4Df9967d0b4440e4183b4c931AfD85DAce</td></tr><tr><td>QuoterV2</td><td>0x8973670CC2DcBC5A03C8Ae373d9d3754b13faf69</td></tr><tr><td>swapRouter</td><td>0x4638B34955c66E28C8261b23d38BC125d24a4E1B</td></tr></tbody></table>

**Fantom**

<table><thead><tr><th width="280">V3 Factory</th><th>0x5Af34712aE630b7754764a81D815A56963e6214a</th></tr></thead><tbody><tr><td>wftm-usdc (0.3%)</td><td>0xD37c343143372d2B0d95EdF533627D904CC42675</td></tr><tr><td>Nonfungible Token Position Descriptor</td><td>0x95A4C0736CFC7030Da2170A68b5802BaCc061183</td></tr><tr><td>NonfungiblePositionManager</td><td>0xaF46F3b96ae15c96B76369e27d5380A844d4e407</td></tr><tr><td>QuoterV2</td><td>0x93C5d13D2D13A56b4055C6D6D2851d784e94E22B</td></tr><tr><td>swapRouter</td><td>0xe46eAb896b120Ea257B7950e40e363ef9e7EE2B7</td></tr></tbody></table>

<br>

**Polygon**

<table><thead><tr><th width="279">V3 Factory</th><th>0x3BBCCA7B3eE96718ADF6178bF17d90684ee14745</th></tr></thead><tbody><tr><td>wmatic-usdc-0.3%</td><td>0x6D1FaFAc82298C3a0e25E9f061A6105e00ca5956</td></tr><tr><td>Nonfungible Token Position Descriptor</td><td>0xC85Dbd62CA780193C5b26a32c1fc551D7B5facf7</td></tr><tr><td>NonfungiblePositionManager</td><td>0x08bfC5452e7141590073002a66EE6a1fF6B06Fe0</td></tr><tr><td>QuoterV2</td><td>0x43642b6866f0daB10910a8A123Be4393F8B72baa</td></tr><tr><td>swapRouter</td><td>0xB8Dbad148f205260eDF71Ba86FBa50b9619D8Eef</td></tr></tbody></table>

**BNB Chain**

<table><thead><tr><th width="278">V3 Factory</th><th>0xc84ab9ABCCc3F35D5F8bDD328ed7e20Bc5b81ce4</th></tr></thead><tbody><tr><td>wbnb-usdc-0.3%</td><td>0x5d434352DDA054A8c9dB51cFFAE99239f2610781</td></tr><tr><td>Nonfungible Token Position Descriptor</td><td>0x06E82600828621aBCdF109698CD8542FDE578D58</td></tr><tr><td>NonfungiblePositionManager</td><td>0x486F754E3640c4b39E7EcB21356eD34cFF4808ba</td></tr><tr><td>QuoterV2</td><td>0x64563052C9A81d3D9F5475bcC60fbC24FA0F042c</td></tr><tr><td>swapRouter</td><td>0xFB4d913C87e08Df47e35586c714F5afD4785539c</td></tr></tbody></table>


# v2


# Providing Liquidity


# APR

The APR represents the yield you accrue by adding liquidity to a pool. You earn fees for all trades on this pair proportional to your share of the pool.

Fees added back into the pool, accrue in real-time, and can be claimed when you withdraw your liquidity.


# Adding/Removing Liquidity

Lif3 Swap is the premiere DEX on Tomb Chain.

{% content-ref url="/pages/dL5w5gnYpPhZP2yX1wZr" %}
[Adding Liquidity](/liquidity/v2/adding-removing-liquidity/adding-liquidity)
{% endcontent-ref %}

{% content-ref url="/pages/LlLfuPgfkIRJuX91rmHz" %}
[Removing Liquidity](/liquidity/v2/adding-removing-liquidity/removing-liquidity)
{% endcontent-ref %}


# Adding Liquidity

How to add liquidity to Lif3 Swap

<figure><img src="/files/kfwv7smat6JIxF21IwID" alt=""><figcaption></figcaption></figure>

1. Have your tokens in your wallet and head to the Liquidity tab
2. Pick which tokens you want to add to the liquidity pool and make the approval transactions, if needed
3. Press Supply button
4. Done! You are now providing liquidity and earning swap fees generated by the pool.


# Removing Liquidity

How to remove liquidity from Lif3 Swap

<figure><img src="/files/zctNzHdLgVEiVyqsp0LV" alt=""><figcaption></figcaption></figure>

1. Head to the Liquidity tab
2. Select “My positions” tab
3. Search for the pair you want to remove, and select the 'Manage' dropdown\*
4. Press 'Remove'
5. Select the amount of LPs you want to remove
6. Press 'Remove'

Removing pool tokens converts your position back into underlying tokens at the current rate, proportional to your share of the pool. Accrued fees are included in the amounts you receive.

*\*Click the 'Import it' link to find pairs that don't automatically appear in the interface.*


# About

Dexes incentivize certain LP pairs to deepen their liquidity, allowing investors to earn additional yield (typically in the form of house/native/DEX tokens) on top of the swap fees by staking LP tokens in 'farms.' This allows for capital efficiency by utilizing the LP tokens, which otherwise may sit idle in the wallet. As of January 2023, the Garden became available on Tomb Chain, Fantom Opera, Polygon, and BNB Chain.

<figure><img src="/files/sIVGxtCzVJG4afr437xH" alt=""><figcaption></figcaption></figure>


# Pools

<figure><img src="/files/urh6wx4Z0CHfs35F7Xeg" alt=""><figcaption><p>Garden on Tomb Chain</p></figcaption></figure>

Active pools can be seen on the Garden tab in the Lif3 protocol. These pools reflect the Lif3 ecosystem tokens (LIF3 & LSHARE) coupled with the gas token coinciding with the chain you're on.

* Tomb Chain - <img src="/files/xMAxgx8No3vwmMRaJETy" alt="" data-size="line"> TOMB
* Fantom Opera - <img src="/files/AolTROPGWOAqO32J8hbv" alt="" data-size="line"> FTM
* Polygon - <img src="/files/LGpU7tJ3qQAf4mm5CgDG" alt="" data-size="line"> MATIC
* BNB Chain - <img src="/files/Fn4G2DfynsJgIWBKJOlA" alt="" data-size="line"> BNB

APR

APRs for every pool can be seen on the [Garden](https://lif3.com/garden) page in the second column from the left. APRs can be rebalanced at any time at the discretion of the team.

#### TVL

TVL for each pool can be seen in the third column from the left and is a continuous count of the total amount of value, in US dollars, of the asset in the representative pool that is currently staked.

#### Deposited

The total amount, in USD, a user has deposited in each pool can be shown on the fourth column from the left. This value will change as the value of the tokens changes in the market.&#x20;

#### Earnings

The final column on the [Garden](https://lif3.com/garden) page is “Earnings,” and this column shows the current amount of $LSHARE tokens rewarded to a user in that particular pool as well as the current USD value of those unharvested tokens.

#### Fees

There is a 0.25% deposit fee for staking in any pool.


# Rewards

**Yield Farming benefits for investors**

* Yield Farming can be a lucrative way to earn extra rewards, such as Trading Fees or Tokens
* Improve your assets capital efficiency by utilizing idle Tokens sitting in your wallet
* By Yield Farming you are also supporting the DeFi Ecosystem you are participating in

Users providing liquidity on the “Garden” tab of Lif3 will earn $LSHARE tokens as a reward as well as the trading fees generated by people swapping in that liquidity pool.


# Depositing LPs

<figure><img src="/files/egNpSXAOjDPac3j2AokD" alt=""><figcaption></figcaption></figure>

1. Head to the "[Garden](https://lif3.com/garden)**"** tab
2. Choose the right farm (the one you created LPs for) and deposit them there
3. Done! You now are earning Trading Fees + Yield from the protocol rewards!


# Withdrawing LPs

<figure><img src="/files/ZR9UO0CS6wjX2jlefiHO" alt=""><figcaption></figcaption></figure>

1. Choose the farm you want to withdraw from, select the amount of LPs you want to withdraw, and confirm the tx
2. Head to the "Liquidity" tab
3. Select “My positions” tab
4. Search for the pair you want to remove, and select the option “Manage”
5. Select the amount you want to remove, and press the “Remove” option
6. Confirm the tx and the assets will be in your wallet again!


# About

Lif3 is deployed as a collection of smart contracts on the Tomb Chain network. These smart contracts make possible decentralized lending and leveraged yield farming by enabling non-custodial, permissionless markets. Lif3 offers a new DeFi experience and is inspired by ground-breaking initiatives such as Aave, Compound, Impermax, and Uniswap.

The Liquidity tab on Lif3.com makes up the basic Terrace contracts. Anyone can establish a loan pool, and each lending pool is independent. Other lending pools are unaffected if a borrower is ultimately liquidated in one of them.

Users can communicate with the core contracts through the Lif3 Protocol's periphery contracts. These peripheral contracts enable performing particular tasks like depositing LP tokens, giving specified tokens to a lending pool, and establishing a leveraged position.


# Markets

<figure><img src="/files/o8gem1IRu9JCwfh2gUjh" alt=""><figcaption></figcaption></figure>

The Terrace is a Tomb Chain-based decentralised lending/borrowing and leverage farming protocol that allows users to participate as lenders or borrowers in isolated lending pools. Users can deposit LP tokens in their respective vaults, which act as autocompounders, automating the process of depositing LPs in the Garden, selling farm rewards to buy more of the underlying assets, and compound LPs back into their position.

Optional: For additional risk and reward, users can also leverage their LP positions by borrowing the underlying assets and creating LPs to amplify their LP farming positions and earn increased rewards. This requires taking on loans and can result in liquidation, so proceed with caution, especially if you are new to leverage.

Lenders can supply single assets in individual vaults or in the Mausoleum to earn interest from the borrowers.

The following sections will contain an overview of the mechanics of leveraged LP farming.<br>


# Lending Pools

Each lending pool in Lif3 has a DEX and token pair. For each loan pool, the following summaries are given:

Total Supply — The total amount of tokens supplied to the lending pool Total Borrowed — The total amount of tokens borrowed from the lending pool Utilization — The ratio between Total Borrowed and Total Supply Supply APR — The current effective APR earned by lenders for supplying tokens Borrow APR — The current effective APR paid by borrowers for borrowing tokens Leveraged LP APY — The estimated APY for a leveraged yield farming position, based on trading fees and farming rewards (if applicable)

<figure><img src="/files/56aCfKCXZxUcEse2gqpg" alt=""><figcaption></figcaption></figure>


# Borrowing

Borrowers can add LP tokens to the Collateral contract as collateral. If there is enough liquidity in both Borrowable contracts to form the loan, a borrower can use this collateral to create a loan that needs a specific number of the underlying tokens. The Lif3 Protocol uses tokens from Borrowable0 and Borrowable1 to add liquidity to the DEX for the token pair to enable leveraged yield farming.

<figure><img src="/files/8EY1aooTAazb6F6ImTiD" alt=""><figcaption></figcaption></figure>

###


# Interest Rate Model

The borrow and supply APRs for each loan pool are determined by the Terraces adaptive interest rate model. Each borrowable pool has its interest rate model that operates separately from all other borrowable pools, and all lending pools are isolated.

Lif3 uses a "kinked" interest rate model with a single variable parameter (kinkUtilizationRate, ranging from 70% to 90%).

The percentage of tokens provided by lenders to a lending pool that borrowers currently use in existing loans is known as the utilization rate. The borrowing rate (borrowRate), which is based on the borrowable pool's current usage rate (utilizationRate), is established by the following factors:

utilizationRate = 0 implies borrowRate = 0; utilizationRate = kinkUtilizationRate implies borrowRate = kinkBorrowRate; utilizationRate = 100% implies borrowRate = 5 \* kinkBorrowRate.

The previous borrowRate for the borrowable pool is used to update the kinkBorrowRate on a per-second basis between blocks. Doing this ensures that the borrow and supply APRs are calculated in accordance with the supply and demand equilibrium for each loan pool.


# Fees

### **Borrowing**

The Lif3 Protocol charges borrowers and lenders two different fees. Every time a borrower takes out a new loan, there is a fixed, one-time borrow cost of 0.1 percent. The interest rate model also predicts the accruing interest on loaned tokens over time.

The Lif3 Protocol reserves a portion of the costs (now 10%, ranging from 0% to 20%) paid by borrowers to lenders.

### **Lending (Single-Sided)**

Lenders will only pay a 0.5% deposit fee when supplying tokens to an individual lending pool, but they won't have to pay withdrawal fees.

* Deposit fee: 0.5%
* Withdrawal fee: 0%

### **Liquidations**

If their borrow positions are liquidated, borrowers pay liquidators a liquidation incentive (now 4% and ranging from 1% to 5%) on the borrowed amount.

These costs are given to the liquidator as symbols of collateral:

* 4% liquidation incentive


# Risks

The protocol Lif3 and its Terrace is experimental. You should only take risks you can afford to lose with any DeFi protocol. Your invested tokens could be completely lost.

Please make sure you are aware of these hazards before moving forward. You accept responsibility for the risks associated and acknowledge your eligibility to use the Terrace by utilizing it.

Among these dangers are the inability to access or use the Lif3 Terrace interface offered at Lif3.com; delays in deposits, withdrawals, or other transaction errors brought on by the interface and/or the Tomb Chain network being unresponsive or offline; an inaccurate display of information on the interface caused by the server or third-party API errors; and errors or omissions in, or loss or damage incurred from the use of, any information displayed on the interface.

The only function of the information shown on the interface is informational. Any decision you make regarding whether to act or not act should not be based on information provided on the interface.

{% content-ref url="/pages/ZWbQE8GkKefnxTuORQsw" %}
[Borrowing](/terrace/risks/borrowing)
{% endcontent-ref %}

{% content-ref url="/pages/Sa606VPpLgQghkY2hceP" %}
[Lending](/terrace/risks/lending)
{% endcontent-ref %}


# Borrowing

Your collateral is always at risk when you use your LP tokens as security to obtain a loan or to start a leverage yield farming position; under some circumstances, it might even be liquidated.

Leveraged yield farming increases the danger of impermanent loss. A leveraged investment may be liquidated as a result of an impermanent loss. A liquidation is always an option with borrowed money or leveraged bets in the Terrace.

Lif3 provides you with an estimation of the range of the liquidation price before you take out a loan. When the relative price for the token pair moves outside of this range, a leveraged position becomes liquidatable since higher leverage indicates a smaller range. In this case, your collateral might be sold to pay off the loan and an additional incentive for selling it for cash.

Since liquidation prices are not set in stone, they could alter as the cost of your borrowing does. Prices are determined using the token pair's time-weighted average price (TWAP) from the Lif3 Price Oracle.


# Lending

One approach to earn interest on tokens without running the risk of temporary loss is to supply assets on the Terrace. It is not, however, without risk.

You might momentarily be unable to withdraw your tokens as a lender. This may occur if the loan pool has a high utilization rate (token consumption rate) and insufficient liquidity for the given token. It's possible that lenders won't be able to withdraw all of their tokens at once. The Terrace employs a dynamic interest rate model to repeatedly lessen this possibility.

Lenders rely on liquidators to pay back liquidatable loans and maintain the protocol's stability. But if it doesn't, a loan can end up being undercollateralized, which would mean a loss for the lenders. Lif3 combines model parameters and incentives to lessen the possibility of undercollateralized loans.


# Liquidation

To guarantee the stability of loans, almost every decentralized lending protocol, including the Lif3 Protocol, depends on prompt and efficient liquidations. A procedure often sells some of the underlying collateral and pays back the loan if a borrower's loan is not properly collateralized for the borrowed amount.

### **Borrowers**

For outstanding leveraged situations, borrowers should frequently check their Current Leverage and Liquidation Prices to ensure they are adequately collateralized.

Liquidation does not always imply complete loss of the initial collateral. The borrower pays a liquidation incentive on the borrowed amount, subtracted from the initial collateral when the borrower's position is liquidated. The borrower retains any residual collateral for the following liquidation. This procedure aids in ensuring that borrowers maintain positions with enough collateral to avoid penalties.

### **Avoiding Liquidation**

Borrowers may choose from several strategies to avoid liquidation:

Choose lending pools with more stability. Token pairs with higher volatility have a greater chance of going above or below the range of Liquidation Prices.

When you open a new leveraged position, choose a smaller amount of leverage with a wider range of Liquidation Prices.

Monitor your leveraged positions, especially during periods of high volatility, and decide whether you want to deleverage.

Finally, you have the option of providing tokens rather than borrowing. The risk of impermanent loss or liquidation does not exist for provided tokens. For any lending pool, you can supply tokens via the Lending tab.


# Collateralization Model

An LP token's value is always supported equally by each of the underlying tokens in the token pair. The Lif3 Protocol needs to accurately assess the value of LP tokens to establish the amount of collateral required for borrowing and guarantee that borrowers cannot borrow more money than the value of their collateral.

The safety margin and liquidation incentive parameters for the lending pool are inputs into the Lif3 collateralization model, which calculates the collateral required for a loan.

This safety margin and liquidation incentive criteria make sure that there will always be enough collateral to pay back the loan and pay a liquidator in the event of liquidation, regardless of how much the price of the underlying tokens fluctuates.


# User Guide

Before you begin, please review the Risks section and make sure you understand the terms and risks of using the Terrace. You can navigate to the Terrace interface here: <https://Lif3.com/terrace>

Connect your wallet to Lif3 if you haven't already. You'll see a market list with all the available lending pools. (You can sort the lending pool list by the token symbol.)

<figure><img src="/files/o8gem1IRu9JCwfh2gUjh" alt=""><figcaption></figcaption></figure>


# Lending

The following will be found under the "Terrace" tab on Lif3.com

<figure><img src="/files/bkCzNQ45P1PkX8tQ1YRU" alt=""><figcaption><p>Lending Tab</p></figcaption></figure>

{% content-ref url="/pages/YoDPAlsap22xVxonelii" %}
[How to supply tokens for lending](/terrace/user-guide/lending/how-to-supply-tokens-for-lending)
{% endcontent-ref %}

{% content-ref url="/pages/iRmOmjjPRc0ZpElsLBhI" %}
[How to withdraw supplied tokens](/terrace/user-guide/lending/how-to-withdraw-supplied-tokens)
{% endcontent-ref %}


# How to supply tokens for lending

1.) Choose the lending pool that matches the tokens you wish to offer. Make sure that these tokens are in your wallet. If not, visit Lif3.com's Swap and exchange the necessary tokens there. (<https://lif3.com/swap>)

<figure><img src="/files/cEekjpgjwrWDIPGOuLK9" alt=""><figcaption><p>Step 1</p></figcaption></figure>

2.) Click on any pool in the Terrace to open the dialog box specific to that pool.

<figure><img src="/files/iwVlVw5IUopxUajYKFWY" alt=""><figcaption><p>Step 2</p></figcaption></figure>

3.) Click Lending to access the Supply dialog for the token you want to supply.

<figure><img src="/files/Gddbth9CzdVpl6oPorzQ" alt=""><figcaption><p>Step 3</p></figcaption></figure>

4.) Click on the Supply button for the token that you wish to supply.

5.) Use the slider or type the desired number of tokens in the Supply dialog. To input the maximum amount allowed, click MAX as well. (Remember that you shouldn't use the MAX function for $TOMB since you'll need it for gas on the Tomb Chain.) The Supply APR for the tokens you supplied will be displayed.

<figure><img src="/files/R6DoitIytl6SVIFnVF2e" alt=""><figcaption><p>Step 5</p></figcaption></figure>

6.) Click Approve if necessary to accept the given sum and confirm the transaction in your wallet. The update can take a few seconds.

7.) To supply these tokens and confirm the transaction in your wallet, click Supply in the dialog box last.


# How to withdraw supplied tokens

1.) Select the lending pool that you selected when you supplied your tokens. You can only withdraw tokens you supplied for lending.

<figure><img src="/files/4J0CoXITMVPPdDaiiced" alt=""><figcaption></figcaption></figure>

2.) Once the pool has opened, click on Lending.

<figure><img src="/files/bkCzNQ45P1PkX8tQ1YRU" alt=""><figcaption></figcaption></figure>

3.) To access the Withdraw dialog for the token you wish to withdraw, click Withdraw.

<figure><img src="/files/iC0BlSkEmH2UYx6RnEZ6" alt=""><figcaption></figcaption></figure>

4.) Use the slider or enter the desired withdrawal amount in the Withdraw dialog box. To input the maximum amount allowed, click MAX as well.

5.) Click on Approve and confirm the transaction in your wallet. The update can take a few seconds.

6.) To withdraw these tokens with accumulated interest, click Withdraw in the dialog and then click Confirm in your wallet.

Please be aware that you, as a lender, might momentarily be unable to withdraw your tokens. This may occur if a lending pool's use of supplied tokens is excessive and the pool's liquidity for the token is insufficient. It's possible that lenders won't be able to withdraw all of their tokens at once.


# Borrowing

The following will be found under the "Terrace" tab on Lif3.com

<figure><img src="/files/FfQme5rWAGevUc9cDJnw" alt=""><figcaption><p>Borrow Tab</p></figcaption></figure>

{% content-ref url="/pages/xrJVDgGOYgIYs93F5idC" %}
[How to deposit LP tokens](/terrace/user-guide/borrowing/how-to-deposit-lp-tokens)
{% endcontent-ref %}

{% content-ref url="/pages/FSA0czek1gbgJLYbMfKp" %}
[How to leverage LP tokens](/terrace/user-guide/borrowing/how-to-leverage-lp-tokens)
{% endcontent-ref %}

{% content-ref url="/pages/s4x3WrcbrNHJ749DtMXb" %}
[How to deleverage LP tokens](/terrace/user-guide/borrowing/how-to-deleverage-lp-tokens)
{% endcontent-ref %}

{% content-ref url="/pages/BsF33vp5pq2EapZgmoKR" %}
[How to withdraw LP tokens](/terrace/user-guide/borrowing/how-to-withdraw-lp-tokens)
{% endcontent-ref %}

{% content-ref url="/pages/jiKA98Tenz2G68RbK0cL" %}
[How to borrow tokens using LP tokens as collateral](/terrace/user-guide/borrowing/how-to-borrow-tokens-using-lp-tokens-as-collateral)
{% endcontent-ref %}

{% content-ref url="/pages/2wsmY8wX5hLjyx27aHHo" %}
[How to repay borrowed tokens](/terrace/user-guide/borrowing/how-to-repay-borrowed-tokens)
{% endcontent-ref %}


# How to deposit LP tokens

The loan pool you select should match the LP tokens you wish to deposit. You must have LP tokens in your wallet for the lending pool. To add liquidity for the token pair, go to Lif3.com and then click on the [Liquidity](https://lif3.com/pool/add?inputCurrency=TOMB\&outputCurrency=0x4200000000000000000000000000000000000108) tab.

You will see a summary of the data for each borrowable token in the lending pool, including the total supply, total borrowed amount, utilization, supply annual percentage rate, and borrow annual percentage rate.

<figure><img src="/files/6SAEfTy3BNAZoB0zTYDt" alt=""><figcaption></figcaption></figure>

1.) To access the Deposit dialog for LP tokens, click Deposit.

![Step 1](/files/kE5Y6VtvvnB2KlRtXYoV)

2.) Use the slider or manually type the number of LP tokens you want to deposit in the Deposit dialog. To input the maximum amount allowed, click MAX as well.

3.) If this is your first time contributing LP tokens to this lending pool, click Approve to confirm the transaction in your wallet and to approve the amount contributed. The update can take a few seconds. Try refreshing the page if the button isn't updated after a few seconds.

4.) To deposit your LP tokens, click Deposit in the dialog box and confirm the transaction in your wallet.


# How to leverage LP tokens

1.) Select the lending pool corresponding to the leveraged LP tokens, as stated in How to deposit LP tokens, and confirm that you have already deposited LP tokens.

<figure><img src="/files/Zgmlm4TG1qIXlBuNoAnU" alt=""><figcaption></figcaption></figure>

2.) To access the leverage dialog for LP tokens, click Leverage.

<figure><img src="/files/zS4ZaAu1oV74fDAFOR1D" alt=""><figcaption></figcaption></figure>

3.) Use the slider or type the required leverage amount in the Leverage dialog. You will see a summary of your leveraged position's New Leverage, New Liquidation Prices, Borrow Fees, Trading APR, Reward APR (if any), Borrow APR, and Estimated APR.

4.) If necessary, click Approve and confirm the transactions in your wallet. The update can take a few seconds.

5.) To leverage your LP tokens, click Leverage in the dialog box and confirm the transaction in your wallet.


# How to deleverage LP tokens

1.) Select the lending pool that matches the LP tokens you wish to deleverage. You can only deleverage LPs if you have leveraged LP in the first place, as described in How to leverage LP tokens.

<figure><img src="/files/uncGDZG5GoqERPg5kNHG" alt=""><figcaption></figcaption></figure>

2.) To access the Deleverage dialog for LP tokens, click Deleverage.

<figure><img src="/files/zKhKY9NmhqvxIhqGyBkw" alt=""><figcaption></figcaption></figure>

3.) Use the slider or enter the number of LP tokens you want to deleverage in the Deleverage window. Click MAX if you want to deleverage all. For your deleveraged position, you will see a summary of the New Leverage, New Liquidation Prices, Repay and Receive Amounts, and the Estimated APR.

4.) To authorize the deleveraged amount and confirm the transaction in your wallet, if necessary, click Approve. The update can take a few seconds.

5.) To deleverage your LP tokens and confirm the transaction in your wallet, click Deleverage in the dialog box.

Be aware that during deleveraging, the LP token collateral is broken down into component tokens and used to pay off the outstanding debt. The remaining tokens are not returned to your wallet as LP tokens but as single tokens in the token pair. Select a lower sum that still falls within the "0 - Infinity" range for Liquidation Prices if you prefer to deleverage and maintain the remaining collateral as LP tokens.


# How to withdraw LP tokens

1.) Select the lending pool whose LP tokens match the ones you want to withdraw. Only those who have deposited LP tokens as described in How to deposit LP tokens are eligible to withdraw. If you have a leveraged position, you can only withdraw as much money as is necessary to keep your position adequately collateralized, which is the available LP tokens.

<figure><img src="/files/8fiaaL0b4uuCpvdr2Wls" alt=""><figcaption></figcaption></figure>

2.) To access the Withdraw dialog for LP tokens, click Withdraw.

<figure><img src="/files/ENRMTlwzCuOseVsPbJyH" alt=""><figcaption></figcaption></figure>

3.) Use the slider or enter the number of LP tokens you want to withdraw in the Withdraw dialog. Click MAX if you want to withdraw all available LPs. You will see a summary of your leveraged position's new leverage and new liquidation prices, as well as the transaction amount (in the token pair) for your withdrawal.

4.) If you need to approve this LP, click Approve and confirm the transaction in your wallet. The update can take a few seconds.

5.) To withdraw the LP tokens and confirm the transaction in your wallet, click Withdraw in the dialog box last.


# How to borrow tokens using LP tokens as collateral

1.) Determine the lending pool based on the tokens you wish to borrow. Only those who have deposited LP tokens, as described in How to deposit LP tokens, are eligible to borrow tokens.

<figure><img src="/files/8fiaaL0b4uuCpvdr2Wls" alt=""><figcaption></figcaption></figure>

2.) Once you have selected the pool, the pool will open and default to the Borrow side. Now select the single asset you want and click "Borrow".

<figure><img src="/files/gkWqtRkNSMxnZePf4hd3" alt=""><figcaption></figcaption></figure>

3.) Use the slider or enter the number of tokens you want to borrow in the Borrow dialog after selecting the specific token you want to borrow. Click MAX if you want to enter the maximum allowed with one click. You will see a summary of your leveraged position's New Leverage, New Liquidation Prices, Borrow Fee, and Borrow APY.

4.) Click Approve if necessary to accept the borrowed sum and confirm the transaction in your wallet. The update can take a few seconds.

5.) To borrow the tokens and confirm the transaction in your wallet, click Borrow at the end of the window.


# How to repay borrowed tokens

1.) Select the lending pool that matches the lent tokens you want to return. As explained in How to leverage LP tokens and borrow tokens using LP tokens as collateral, you can only repay if you have borrowed tokens.

<figure><img src="/files/JTlRc1TtmAd1H1iecw9R" alt=""><figcaption></figcaption></figure>

2.) To see the Repay dialog for the borrowed tokens you want to return, click Repay.

<figure><img src="/files/Tj01HrjorZL475zavSg6" alt=""><figcaption></figcaption></figure>

3.) Use the slider or enter the number of tokens you want to reimburse in the Repay dialog. Click MAX if you want to enter the most possible. You will obtain a summary of your leveraged position's New Leverage and New Liquidation Prices.

4.) To approve the reimbursement amount and confirm the transaction in your wallet, if necessary, click Approve. The update can take a few seconds.

5.) To return the borrowed tokens and confirm the transaction in your wallet, click Repay in the dialog box.


# Dashboard

The Dashboard section shows a comprehensive overview of each account:

Total Value Locked, Total Supplied, and Total Borrowed amounts Borrow Positions for each lending pool Supply Positions for each lending pool

<figure><img src="/files/2AbUo1kmvXEi4NzZPEsQ" alt=""><figcaption></figcaption></figure>


# About

The Lif3 protocol's Greenhouse is the product that lets users stake a token and get a receipt token that represents their share of the pool. The Greenhouse also serves as an auto compounder and a mechanic for Fountain rewards, as rewards from the Fountain are automatically staked in the Greenhouse.


# Pools

##


# Tomb Chain

<figure><img src="/files/KhBa85PTXksSnCxnvpl1" alt=""><figcaption></figcaption></figure>

The main view of the Greenhouse shows the available pools for staking in their minimalist form. As of January 1, 2023, the currently available pools are the following:

### <img src="/files/razBM0OmBvkuEgx40nmQ" alt="" data-size="line"> LIF3

### <img src="/files/bO8hev8T2gSW3wuRDW6n" alt="" data-size="line"> LSHARE

### <img src="/files/xMAxgx8No3vwmMRaJETy" alt="" data-size="line"> TOMB

### <img src="/files/6rpm7Q6cx28BL5IgdePA" alt="" data-size="line"> USDC

### <img src="/files/ynQeBbF3pp0omYT7beP9" alt="" data-size="line"> L3USD

## Rewards and “st” tokens

The “stl” tokens are the receipt tokens that represent the users' share of the pool after depositing.&#x20;

Deposit <img src="/files/razBM0OmBvkuEgx40nmQ" alt="" data-size="line"> **LIF3** and receive <img src="/files/Jx1ZP6Z23fm46aWxvoOZ" alt="" data-size="line"> **stlLIF3** as a receipt token, which earns <img src="/files/razBM0OmBvkuEgx40nmQ" alt="" data-size="line"> **LIF3**

Deposit <img src="/files/bO8hev8T2gSW3wuRDW6n" alt="" data-size="line"> **LSHARE** and receive <img src="/files/6lzT6fy8vychdeayxOsu" alt="" data-size="line"> **stlLSHARE**as a receipt token, which earns <img src="/files/bO8hev8T2gSW3wuRDW6n" alt="" data-size="line"> **LSHARE**

Deposit <img src="/files/xMAxgx8No3vwmMRaJETy" alt="" data-size="line"> **TOMB** and receive <img src="/files/50cl9QL5NQW0i1Btcj82" alt="" data-size="line"> **stlTOMB** as a receipt token, which earns <img src="/files/xMAxgx8No3vwmMRaJETy" alt="" data-size="line"> **TOMB**

Deposit <img src="/files/6rpm7Q6cx28BL5IgdePA" alt="" data-size="line"> **USDC** and receive <img src="/files/IwlHHxq3s8IvUkOX5OWM" alt="" data-size="line"> **stlUSDC** as a receipt token, which earns <img src="/files/6rpm7Q6cx28BL5IgdePA" alt="" data-size="line"> **USDC**

Deposit <img src="/files/ynQeBbF3pp0omYT7beP9" alt="" data-size="line"> **L3USD** and receive <img src="/files/vGcYY2snMitqOc8n2hDX" alt="" data-size="line"> **stlL3USD** as a receipt token, which earns <img src="/files/ynQeBbF3pp0omYT7beP9" alt="" data-size="line"> **L3USD**


# Fantom

<figure><img src="/files/WvRpYEqo5FtC7BHIqZE4" alt=""><figcaption></figcaption></figure>

The main view of the Greenhouse shows the available pools for staking in their minimalist form. As of January 1, 2023, the currently available pools are the following:

### <img src="/files/razBM0OmBvkuEgx40nmQ" alt="" data-size="line"> LIF3

### <img src="/files/bO8hev8T2gSW3wuRDW6n" alt="" data-size="line"> LSHARE

### <img src="/files/AolTROPGWOAqO32J8hbv" alt="" data-size="line"> FTM

### <img src="/files/6rpm7Q6cx28BL5IgdePA" alt="" data-size="line"> USDC

### <img src="/files/ynQeBbF3pp0omYT7beP9" alt="" data-size="line"> L3USD

## Rewards and “st” tokens

The “stl” tokens are the receipt tokens that represent the users' share of the pool after depositing.&#x20;

Deposit <img src="/files/razBM0OmBvkuEgx40nmQ" alt="" data-size="line"> **LIF3** and receive <img src="/files/Jx1ZP6Z23fm46aWxvoOZ" alt="" data-size="line"> **stlLIF3** as a receipt token, which earns <img src="/files/razBM0OmBvkuEgx40nmQ" alt="" data-size="line"> **LIF3**

Deposit <img src="/files/bO8hev8T2gSW3wuRDW6n" alt="" data-size="line"> **LSHARE** and receive <img src="/files/6lzT6fy8vychdeayxOsu" alt="" data-size="line"> **stlLSHARE**as a receipt token, which earns <img src="/files/bO8hev8T2gSW3wuRDW6n" alt="" data-size="line"> **LSHARE**

Deposit <img src="/files/AolTROPGWOAqO32J8hbv" alt="" data-size="line"> **FTM** and receive <img src="/files/RzE9hjYrG0Dp80KDLqTP" alt="" data-size="line"> **stlFTM** as a receipt token, which earns <img src="/files/AolTROPGWOAqO32J8hbv" alt="" data-size="line"> **FTM**

Deposit <img src="/files/6rpm7Q6cx28BL5IgdePA" alt="" data-size="line"> **USDC** and receive <img src="/files/IwlHHxq3s8IvUkOX5OWM" alt="" data-size="line"> **stlUSDC** as a receipt token, which earns <img src="/files/6rpm7Q6cx28BL5IgdePA" alt="" data-size="line"> **USDC**

Deposit <img src="/files/ynQeBbF3pp0omYT7beP9" alt="" data-size="line"> **L3USD** and receive <img src="/files/vGcYY2snMitqOc8n2hDX" alt="" data-size="line"> **stlL3USD** as a receipt token, which earns <img src="/files/ynQeBbF3pp0omYT7beP9" alt="" data-size="line"> **L3USD**


# BNB Chain

<figure><img src="/files/1M3DLYqUtUZfz4wKCFMK" alt=""><figcaption></figcaption></figure>

The main view of the Greenhouse shows the available pools for staking in their minimalist form. As of January 1, 2023, the currently available pools are the following:

### <img src="/files/razBM0OmBvkuEgx40nmQ" alt="" data-size="line"> LIF3

### <img src="/files/bO8hev8T2gSW3wuRDW6n" alt="" data-size="line"> LSHARE

### <img src="/files/Fn4G2DfynsJgIWBKJOlA" alt="" data-size="line"> BNB

## Rewards and “st” tokens

The “stl” tokens are the receipt tokens that represent the users' share of the pool after depositing.&#x20;

Deposit <img src="/files/razBM0OmBvkuEgx40nmQ" alt="" data-size="line"> **LIF3** and receive <img src="/files/Jx1ZP6Z23fm46aWxvoOZ" alt="" data-size="line"> **stlLIF3** as a receipt token, which earns <img src="/files/razBM0OmBvkuEgx40nmQ" alt="" data-size="line"> **LIF3**

Deposit <img src="/files/bO8hev8T2gSW3wuRDW6n" alt="" data-size="line"> **LSHARE** and receive <img src="/files/6lzT6fy8vychdeayxOsu" alt="" data-size="line"> **stlLSHARE**as a receipt token, which earns <img src="/files/bO8hev8T2gSW3wuRDW6n" alt="" data-size="line"> **LSHARE**

Deposit <img src="/files/Fn4G2DfynsJgIWBKJOlA" alt="" data-size="line"> **BNB** and receive <img src="/files/8bRIcuUAbcH89rdnpR9z" alt="" data-size="line"> **stlBNB** as a receipt token, which earns <img src="/files/Fn4G2DfynsJgIWBKJOlA" alt="" data-size="line"> **BNB**


# Polygon

<figure><img src="/files/iTt2Ncmm4Jqkd3JLSutj" alt=""><figcaption></figcaption></figure>

The main view of the Greenhouse shows the available pools for staking in their minimalist form. As of January 1, 2023, the currently available pools are the following:

### <img src="/files/razBM0OmBvkuEgx40nmQ" alt="" data-size="line"> LIF3

### <img src="/files/bO8hev8T2gSW3wuRDW6n" alt="" data-size="line"> LSHARE

### <img src="/files/AolTROPGWOAqO32J8hbv" alt="" data-size="line"> FTM

## Rewards and “st” tokens

The “stl” tokens are the receipt tokens that represent the users' share of the pool after depositing.&#x20;

Deposit <img src="/files/razBM0OmBvkuEgx40nmQ" alt="" data-size="line"> **LIF3** and receive <img src="/files/Jx1ZP6Z23fm46aWxvoOZ" alt="" data-size="line"> **stlLIF3** as a receipt token, which earns <img src="/files/razBM0OmBvkuEgx40nmQ" alt="" data-size="line"> **LIF3**

Deposit <img src="/files/bO8hev8T2gSW3wuRDW6n" alt="" data-size="line"> **LSHARE** and receive <img src="/files/6lzT6fy8vychdeayxOsu" alt="" data-size="line"> **stlLSHARE**as a receipt token, which earns <img src="/files/bO8hev8T2gSW3wuRDW6n" alt="" data-size="line"> **LSHARE**

Deposit <img src="/files/H8GDmBuu7pyPFKquerQr" alt="" data-size="line"> **MATIC** and receive <img src="/files/113nFwxr3zn282E9MZWj" alt="" data-size="line"> **stlMATIC** as a receipt token, which earns <img src="/files/H8GDmBuu7pyPFKquerQr" alt="" data-size="line"> **MATIC**


# User Guide

<figure><img src="/files/FlJ9XUqFyyk25kcQdsFw" alt=""><figcaption></figcaption></figure>

## Staking

1. Select the pool that matches the token you want to stake
2. Enter the amount of tokens you wish to stake
3. Click on the “Approve” button and approve the transaction in your wallet
4. Click on the “Stake” button and approve the transaction in your wallet

## Unstaking

1. Select the pool that has the tokens you want to unstake
2. Click on “Unstake” located on the top right of the lower left dialog box
3. Enter the amount of tokens you want to unstake
4. Click “Unstake” and approve the transaction in your wallet

## Rewards

Each pool will reward the token associated with that pool. For example, the $TOMB pool will reward $TOMB. This $TOMB will automatically be auto-compounded until you unstake from that pool.


# About

The Fountain of Lif3 focuses primarily on being the expansion mechanism for the overall $LIF3 token supply. This is achieved by using multiple conditions that need to be met within a specific timeframe before any new $LIF3 enters the circulation supply.


# Expansion

## $LIF3 Expansion

$LIF3 Expansion can be best described as releasing $LIF3 tokens to build the circulation supply. While tokens can still be added to the ecosystem, $LIF3 would be considered inflationary. Once all tokens have been released and the total circulation supply is available to the open market, $LIF3 will have the chance to become deflationary.


# Conditions

For the $LSHARE staked to produce rewards in the form of $LIF3 tokens, a condition needs to be met within a single Epoch.

## **Ratio**

The condition needed is the ratio of $LIF3 to the gas token for the chain the Fountain resides on.&#x20;

For example, if the “Needed” Ratio is 1.0, then the price of $LIF3 would need to equal the price of $FTM or greater if on the Fantom Opera Chain.

The “Current” ratio is based on a 12-hour Time Weighted Average Price or TWAP.

## **Epoch**

An epoch refers to an entire cycle in which expansion can take place for the $LIF3 token. Epoch duration is 12 hours. This means that every 12 hours if the condition has been met by the end of the epoch, the Fountain of $LIF3 will release $LIF3 tokens into circulation.

## Fees

There is a 0.5% deposit fee when staking $LSHARE in the Fountain.

## Locks

Upon staking $LSHARE in the Fountain, a lock will be placed that will not permit withdrawal of any $LSHARE from the Fountain for 6 epochs (72 hours). In addition to the $LSHARE lock, there will be a lock placed on harvesting rewards for 3 epochs (36 hours).

*Any interaction with the Fountain will reset both timers.*<br>


# How To


# Staking

<figure><img src="/files/GWmCXXkh2j26NUhNjuYY" alt=""><figcaption></figcaption></figure>

## Staking

1. Enter the amount of $LSHARE to stake
2. Click “Approve Pool” and approve the transaction in your wallet
3. Click “Stake” and approve the transaction in your wallet


# Withdrawing

<figure><img src="/files/54Zz1AN6Pp3h44mnh4qp" alt=""><figcaption></figcaption></figure>

1. Click "Unstake"
2. Enter the amount of $LSHARE to be unstaked
3. Click “Unstake” and approve the transaction in the wallet


# Claiming Rewards

<figure><img src="/files/YiRLB2VzhECPs1Hiur4I" alt=""><figcaption></figcaption></figure>

Click on the “Claim” button and approve the transaction in the wallet

1. The $LIF3 rewards, while unclaimed, are technically in the Greenhouse to generate additional yields
2. Once rewards are claimed, $stlLIF3 will be transferred to your wallet \*

\*For more information on $stlLIF3 head to the Greenhouse section


# Terms

## Rewards

In the Fountain, $LSHARE is staked and represents the user's piece of the emitted $LIF3 token rewards. $LIF3 is only emitted when the conditions are met within the timeframe of a single Epoch. Epochs are 12 hours long. These rewards are automatically staked in the Greenhouse to generate additional yield while compounding.

## LSHARE Staked

The section of the Fountain that reads “LSHARE Staked” represents how many $LSHARE the connected wallet has staked and the approximate value in USD.

## Total Earned

This section displays the total amount of $LIF3 tokens earned from staking and the approximate value in USD.


# About

The Nursery is designed to be a single staking solution that provides rewards in the $LIF3 token. Initially rolled out as a Genesis for the Lif3 protocol, the Nursery has transitioned into a safe place to hold onto your single assets during a bear market while continuing to generate yield. The Nursery involves only single assets, and therefore, there is no risk of impermanent loss.

<br>


# Pools

<figure><img src="/files/VoToBp2LsQKYk5GzxgmV" alt=""><figcaption></figcaption></figure>

### Pools

Active pools can be seen on the Nursery tab in the Lif3 protocol. These pools have an expiration date, as the entire Nursery runs quarterly. If the team decides to start pools for the next quarter, the community will be told about it through their official social channels, like Discord and Telegram. Pools run for 90 days, or until the end of the quarter. A quarter can be considered a calendar quarter. For example, Q1 is from January 1st through March 31st.

#### APR

APRs for every pool can be seen on the Nursery homepage in the second column from the left. APRs can be rebalanced at any time at the discretion of the team.

#### TVL

TVL for each pool can be seen in the third column from the left and is a continuous count of the total amount of value, in US dollars, of the asset in the representative pool that is currently staked.

#### Deposited

The total amount, in US dollars, a user has deposited in each pool can be shown on the fourth column from the left. This value will change as the value of the tokens changes in the market.&#x20;

#### Earnings

The final column on the Nursery main page is “Earnings,” and this column shows the current amount of $LIF3 tokens rewarded to a user in that particular pool as well as the current USD value of those unharvested tokens.

#### Fees

There is a 0.5% deposit fee for staking in any pool.

<br>


# Staking

<figure><img src="/files/qqKds6Zv0n9YL2d2dKPI" alt=""><figcaption></figcaption></figure>

## Deposit

1. Select the pool that will stake your tokens
2. Click "Approve Pool" and approve the transaction in your wallet
3. Enter the amount of tokens you wish to deposit
4. Click "Deposit" and approve the transaction in your wallet
5. The tokens are now staked and be seen in both the open pool dialog box as well as the Nursery home page in the "Deposited" column

## Harvest

1. Select the pool you wish to harvest rewards from
2. Click on “Withdraw” located on the top left of the dialog box
3. Enter the amount of tokens you want to withdraw
4. Click “Withdraw” and approve the transaction in your wallet

## Withdraw

1. Select the pool that has the tokens you want to withdraw
2. Click on "Withdraw" located on the top left of the dialog box
3. Enter the amount of tokens you want to withdraw
4. Click "Withdraw" and approve the transaction in your wallet


# About

Lif3 Trade is a decentralized spot and perpetual exchange that supports low swap fees and zero price impact trades.

Trading is supported by a unique multi-asset pool that earns liquidity providers fees from market making, swap fees and leverage trading.

Dynamic pricing is supported by [Chainlink Oracles](https://chain.link/) and an aggregate of prices from leading volume exchanges.

### **For stakers**

{% content-ref url="/pages/lyFNPLtMz74lB9EToyhs" %}
[Rewards](/lif3-trade/rewards)
{% endcontent-ref %}

### For liquidity providers

{% content-ref url="/pages/nCSuOFcE3VT9PL4zXP8d" %}
[LLP](/lif3-trade/llp)
{% endcontent-ref %}

### For traders

{% content-ref url="/pages/iDaEnmjd0fFFRIpk4bbW" %}
[Trading](/lif3-trade/trading)
{% endcontent-ref %}


# Staking

Staked LIF3 receives three types of rewards:

* Escrowed LIF3 (esLIF3)
* Multiplier Points
* FTM Rewards

For more info on Escrowed LIF3 (esLIF3) and Multiplier Points, please see the [Rewards](https://trade.lif3.com/earn) page.

A percentage of the fees generated from swaps and leverage trading are converted to FTM and distributed to staked LIF3 tokens.

Note that the fees distributed are based on the number after deducting referral rewards and the network costs of keepers.

To stake your LIF3 tokens: <https://trade.lif3.com/earn>


# Rewards

LIF3 Rewards provide benefits for long term users of the protocol, these rewards come in the form of Escrowed LIF3 and Multiplier Points

## Summary

A summary of rewards and mechanics:

* LIF3: earns FTM, esLIF3, Multiplier Points when staked
* esLIF3: earns FTM, esLIF3, Multiplier Points when staked
* Multiplier Points: boost FTM APRs when staked
* LLP: earns FTM, esLIF3, automatically staked on mint


# Compounding vs Claiming

There are two options for rewards on <https://trade.lif3.com/earn>:&#x20;

1. **Compounding** will stake your pending Multiplier Points and Escrowed LIF3 (esLIF3) rewards, this will increase the amount of rewards you receive.
2. **Claiming** will transfer any pending Escrowed LIF3 (esLIF3) rewards and FTM rewards to your wallet.

If you compound or stake your Escrowed LIF3 (esLIF3) tokens, you can unstake them for vesting at anytime later on.


# Escrowed LIF3

Escrowed LIF3 (esLIF3) can be used in two ways:

1. Staked for rewards similar to regular LIF3 tokens
2. Vested to become actual LIF3 tokens over a period of one year

Each staked Escrowed LIF3 (esLIF3) token will earn the same amount of Escrowed LIF3 and FTM rewards as a regular FTM token.

Note that Escrowed LIF3 (esLIF3) is not meant to be transferrable unless you are doing a [full account transfer](https://trade.lif3.com/account-transfer/).

The amount of LIF3 or LLP required to vest esLIF3 is unique per account and capped to the rewards received by that account. Please do not buy esLIF3 off the market or OTC as you will not be able to vest them.


# Vesting

Escrowed LIF3 (esLIF3) tokens can be converted into LIF3 tokens through vesting, this can be accessed on the [Earn](https://trade.lif3.com/earn) page.

When vesting is initiated, the average amount of LIF3 or LLP tokens that was used to earn the esLIF3 rewards will be reserved.

For example, if you staked 1,000 LIF3 and earned 100 esLIF3 tokens, then to vest 100 esLIF3 tokens, 1,000 LIF3 tokens will be reserved. To vest 50 esLIF3, 500 LIF3 tokens will be reserved.

Note that this is an example and the actual ratio depends on the average staked amount and rewards earned for your account.

esLIF3 tokens that have been unstaked and deposited for vesting will not earn rewards. Staked tokens that are reserved for vesting will continue to earn rewards.

After initiating vesting, the esLIF3 tokens will be converted into LIF3 every second and will fully vest over 365 days. esLIF3 tokens that have been converted into LIF3 are claimable at anytime.

If a user sells LIF3 or LLP tokens and would like to vest their esLIF3 rewards later on, they would need to re-buy the LIF3 or LLP tokens.

LIF3, esLIF3 and Multiplier Points can be used interchangeably for the required reserve amount.

Depositing into the vesting vault while existing vesting is ongoing is supported.

Tokens that are reserved for vesting cannot be unstaked or sold. To unreserve the tokens, use the "Withdraw" button on the [Earn](https://trade.lif3.com/earn) page. Partial withdrawals are not supported, so withdrawing will withdraw and unreserve all tokens as well as pause vesting. All esLIF3 tokens that had been vested into LIF3 will remain as LIF3 tokens.


# Multiplier Points

Multiplier Points reward long term holders without inflation.

When you stake LIF3, you receive Multiplier Points every second at a fixed rate of 100% APR.

1,000 LIF3 staked for one year would earn 1,000 Multiplier Points.

Multiplier points can be staked for fee rewards by pressing the "Compound" button on the [Earn](https://trade.lif3.com/earn) page, each multiplier point will boost FTM APRs at the same rate as a regular LIF3 token.&#x20;

When LIF3 or Escrowed LIF3 (esLIF3) tokens are unstaked, the proportional amount of Multiplier Points are burnt. For example, if 1,000 LIF3 is staked and 500 Multiplier Points have been earned so far, then unstaking 300 LIF3 would burn 150 (300 / 1000 \* 500) Multiplier Points.

The burn will apply to the total amount of Multiplier Points which includes both staked and unstaked Multiplier Points.

To transfer staked tokens without burning Multiplier Points, use the Transfer button on <https://trade.lif3.com/earn.>

The "Boost Percentage" shown on the [Earn](https://trade.lif3.com/earn) page shows your individual boost amount from Multiplier Points. For example, if the FTM APR is 10% and you have $10,000 worth of LIF3 and esLIF3, then your rewards would be $1,000 annualized, if you additionally have an amount of Multiplier Points equivalent to 20% of your total amount of LIF3 and Escrowed LIF3 (esLIF3), your "Boost Percentage" would display as 20%, and you would get an extra $200 of FTM rewards annualized. The “Boost Percentage” is calculated from the ratio of Multiplier Points to your total amount of staked LIF3:

Boost Percentage = 100 \* (Staked Multiplier Points) / (Staked LIF3 + Staked esLIF3)

An example:

100 \* (4.5656) / (7.54 + 2.00) = 47.85%

<figure><img src="/files/uPGBKoXLt8oDTO057ifL" alt=""><figcaption></figcaption></figure>


# Distribution Rate

Escrowed LIF3 (esLIF3) will be distributed to staked LIF3 and LLP.

Rewards are distributed every second to staked tokens.

Reward rates will be evaluated each month and may be subjected to changes.


# LLP

LLP is the platform's liquidity provider token

LLP consists of an index of assets used for swaps and leverage trading. It can be minted using any index asset and burnt to redeem any index asset. The price for minting and redemption is calculated based on (total worth of assets in index including profits and losses of open positions) / (LLP supply).

For Fantom, holders of the LLP token earn [Escrowed LIF3 (esLIF3) rewards](/lif3-trade/rewards/escrowed-lif3) and a percentage of the platform fees distributed in FTM.

Note that the fees distributed are based on the number after deducting [referral rewards](/lif3-trade/referrals) and the network costs of keepers.

Staked LLP token address (Fantom Opera): [0x447bfD0947846Eb1d7C54069D7f7457a54793447](https://ftmscan.com/token/0x447bfD0947846Eb1d7C54069D7f7457a54793447)

Note that LLP is specific to the network you mint it on, it is not directly transferrable between networks and the price / rewards to the tokens will differ between networks.

As LLP holders provide liquidity for leverage trading, they will make a profit when leverage traders make a loss and vice versa.

Past PnL data, LLP price chart and other stats can be viewed on <https://trade-stats.lif3.com/>.

{% content-ref url="/pages/RUYftU7H8QqPYrKUpL6H" %}
[Minting and Redeeming](/lif3-trade/llp/minting-and-redeeming)
{% endcontent-ref %}

{% content-ref url="/pages/QPFtDxU4BDVP8QxKt9nc" %}
[Rebalancing](/lif3-trade/llp/rebalancing)
{% endcontent-ref %}


# Minting and Redeeming

## **Minting LLP**

* Bridge any of the **LLP** tokens to Fantom Opera, a list of LLP tokens can be found on the [Dashboard](https://trade.lif3.com/dashboard).
  * Fees will be lower for tokens that the pool has less of, check the "[Save on Fees](https://trade.lif3.com/buy-llp)" section to get the lowest fees
  * You should buy the token with the lowest fees
* Key in the amount of **LLP** you'd like to purchase on:[ https://trade.lif3.com/buy\_llp](< https://trade.lif3.com/buy_llp>)

Fees for buying **LLP** will vary based on which assets the index has less or more of, the [Buy **LLP** page](https://trade.lif3.com/liquidity) will show which assets have the lowest fee.

After buying your tokens will automatically be staked and you will start earning Escrowed LIF3 (esLIF3) and FTM rewards, you can check your rewards at <https://trade.lif3.com/earn>.

## **Redeeming LLP**

Key in the amount of **LLP** you'd like to redeem at <https://trade.lif3.com/liquidity#redeem>


# Rebalancing

The fees to mint LLP, burn LLP or to perform swaps will vary based on whether the action improves the balance of assets or reduces it.

For example, if the index has a large percentage of FTM and a small percentage of USDC, actions which further increase the amount of FTM the index has will have a high fee while actions which reduces the amount of FTM the index has will have a low fee.

The token weights can be seen on the [Dashboard](https://trade.lif3.com/dashboard).

Token weights are adjusted to help hedge LLP holders based on the open positions of traders.

For example, if a lot of traders are long FTM, then FTM would have a higher token weight, if a lot of traders are short, then a higher token weight will be given to stablecoins.

If token prices are increasing, then the price of LLP will increase as well, even if a lot of traders have a long position on the platform. The portion reserved for long positions can be treated as stable in terms of its USD value since if prices increase the profits from that portion will be used to pay traders, and if prices decrease, the losses of traders will keep the USD value of the reserve portion the same.

If a lot of traders are short and larger weights are given to stablecoins, then LLP holders would have a synthetic exposure to the tokens being shorted,

e.g. if FTM is being shorted then the price of LLP will decrease if the price of FTM decreases,

if the price of FTM increases then the price of LLP will increase from the losses of the short positions.


# Trading

GLP is the platform's liquidity provider token.

{% content-ref url="/pages/79Q4TiLnEbvhjyFpLla5" %}
[Swaps](/lif3-trade/trading/swaps)
{% endcontent-ref %}

{% content-ref url="/pages/FIHG8ze7ifQcEj1q8wQW" %}
[Opening a position](/lif3-trade/trading/opening-a-position)
{% endcontent-ref %}

{% content-ref url="/pages/VOB7GQuV0bluviHE1NZE" %}
[Managing Positions](/lif3-trade/trading/managing-positions)
{% endcontent-ref %}

{% content-ref url="/pages/wNV3yjecrY3V1pikzxeK" %}
[Closing a Position](/lif3-trade/trading/closing-a-position)
{% endcontent-ref %}

{% content-ref url="/pages/pbZ0JgFOpmMiCQZNIbxZ" %}
[Stop-Loss / Take-Profit Orders](/lif3-trade/trading/stop-loss-take-profit-orders)
{% endcontent-ref %}

{% content-ref url="/pages/Gm8nYljZelhG2Dd4jkW8" %}
[Partial Liquidations](/lif3-trade/trading/partial-liquidations)
{% endcontent-ref %}

{% content-ref url="/pages/gSudMJtJaAB6HIWOx0hs" %}
[Pricing](/lif3-trade/trading/pricing)
{% endcontent-ref %}

{% content-ref url="/pages/oDhTRtyrDUZG8bJWUmnD" %}
[Fees](/lif3-trade/trading/fees)
{% endcontent-ref %}


# Swaps

LLP is the platform's liquidity provider token.

Lif3 Trade supports both swaps and leverage trading.

**For swaps**, click on the "**Swap**" tab on <https://trade.lif3.com/trade>, this will open the interface to swap tokens with zero price impact.

**For leverage trading**, please see the below sections for more information.


# Opening a position

Click on "**Long**" or "**Short**" depending on which side you would like to open a leverage position on.

* Long position
  * Earns a profit if the token's price goes up
  * Makes a loss if the token's price goes down
* Short position
  * Earns a profit if the token's price goes down
  * Makes a loss if the token's price goes up

After selecting your side, key in the amount you want to pay and the leverage you want to use. In the below, example **9 FTM** worth **5.04 USD** is being used to buy a **4.30x FTM** (Fantom) long position of size **21.61 USD**

<figure><img src="/files/SuldMbVqf8oRLrBc3Fe5" alt=""><figcaption></figcaption></figure>

The "Entry Price" is **$0.54** and the Liquidation Price is **$0.53**.

Below the long dialogue box you would also see the **Exit Price**, which is the price that would be used to calculate profits if you open and then immediately close a position. The exit price will change with the price of the token you are longing or shorting.

The trading fee to open a position is **0.1%** of the position size, similarly there is a **0.1%** fee when closing the position.

There is also a borrow fee that is deducted at the start of every hour. This is the fee paid to the counter-party of your trade. The fee per hour will vary based on utilization; it is calculated as (assets borrowed) / (total assets in pool) \* 0.01%. The borrow fee for longing or shorting is shown below the swap box.

While there are no price impacts for trades, there can be slippage due to price movements between when your trade transaction is submitted and when it is confirmed on the blockchain. Slippage is the difference between the expected price of the trade and the execution price. This can be customised by clicking on the "..." in the top right of the page next to your wallet address.


# Managing Positions

<figure><img src="/files/p5RZSIs9qVqLbp9z5YFi" alt=""><figcaption></figcaption></figure>

After opening a trade, you would be able to view it under your Positions list. You can also click on "Edit" to deposit or withdraw collateral, this allows you to manage your leverage and liquidation price.

When you open a position or deposit collateral, a snapshot of the USD price of your collateral is taken.&#x20;

*e.g. if your collateral is 9 FTM and the price of FTM is $0.5479 at the time, then your collateral is $10.36 USD and will not change even if the price of FTM changes.*

The amount of profit and loss you make will be proportional to your position size. In this example, 10.36 USD has been used to buy $207.56 USD of FTM. If the price of FTM increases by 10%, the position would have a profit of $4.1512 USD; if the price of FTM decreases by 10%, the position would have a loss of $4.1512 USD.

If a short position was opened instead, then if the price of FTM decreased by 10% the position would have a profit of $4.1512 USD, if the price of FTM increased by 10%, the position would have a loss of $4.1512 USD.

Leverage for a position is displayed as (position size) / (position collateral). If you'd like to display the leverage as (position size + PnL) / (position collateral), you can customise this by clicking on the "..." button next to your address.

Note that when depositing collateral into a long position, there is a 0.3% swap fee for the conversion of the asset to its USD value, e.g. FTM amount to USD value. This is to prevent deposits from being used as a zero fee swap. This does not apply to shorts. Withdrawing of collateral from longs and shorts do not have this fee.


# Closing a Position

You can close a position partially or completely by clicking on the "Close" button.

For long positions, profits are paid in the asset you are longing, e.g. if you long ETH you would get your profits as FTM.

For short positions, profits will be paid out in the same stablecoin that you used to open the position, e.g. USDC.

<figure><img src="/files/LVwkrZhS6RRciXBCcl6J" alt=""><figcaption><p>Closing a position</p></figcaption></figure>

Note that <https://ftmscan.com/> may not always show FTM transfers so when you close long positions on Fantom and receive FTM the transaction might not show the transfer but your FTM balance would have increased. If the FTM transfer does show, it would be displayed under the "Interacted With" section:

<figure><img src="https://3951038884-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Me94cyqTgUX4nZxCJ-M%2Fuploads%2FHAUbXdIPd0T0k82QdfJP%2Feth-transfer.png?alt=media&#x26;token=34d02f8a-ba5d-43df-91b4-5faa104340cc" alt=""><figcaption><p>In this example, 0.0186.. ETH is transferred to the user's account 0x9f169...</p></figcaption></figure>


# Stop-Loss / Take-Profit Orders

You can also set stop-loss and take-profit orders by clicking on the "Close" button and selecting the "Trigger" tab.

After creating a trigger order, it will appear in your position's row as well as under the "Orders" tab; you can edit it the order and change the trigger price if needed.

If you close a position manually, the associated trigger orders will remain open. You would need to cancel them manually if you do not want the order to be active when opening future positions.

Note that orders are not guaranteed to execute, this can occur in a few situations including but not exclusive to:

* The mark price, which is an aggregate of exchange prices, did not reach the specified price
* The specified price was reached but not long enough for it to be executed
* No keeper picked up the order for execution

Additionally, trigger orders are market orders and are not guaranteed to execute at the trigger price.

<figure><img src="/files/J8KxvREtZWEgSK2nmOVU" alt=""><figcaption></figcaption></figure>


# Partial Liquidations

In the example, since only 352.33 USD worth of tokens is used as collateral to open the position, there will be a price at which the loss amount is very close to the collateral amount.This is the Liquidation Price and is calculated as the price at which the (collateral - losses - borrow fee) is less than 1% of your position's size.

If the token's price crosses this point then the position will be automatically closed.Due to the borrow fee your liquidation price will change over time, especially if you use a leverage that is more than 10x and have the position open for more than a few days, so it is important to monitor your liquidation price.If there is any collateral remaining after deducting losses and fees, then the corresponding amount would be returned to your account.


# Pricing

There is no price impact for trades on LIF3, so you can execute large trades exactly at the mark price. During times of high volatility there will be a spread from the Chainlink price to the median price of reference exchanges.

The mark prices are displayed next to the market name, long positions will be opened at the higher price and closed at the lower price while short positions will be opened at the lower price and closed at the higher price.

The chart will indicate the average of the two mark prices.

<figure><img src="/files/UjN4ZJzPHOaN08V9zdpT" alt=""><figcaption></figcaption></figure>


# Fees

The cost to open / close a position is 0.1% of the position size.

The collateral of long positions is the token being longed, for FTM longs the collateral is FTM and for BTC longs the collateral is WBTC, etc. The collateral of shorts positions is any of the supported stablecoins e.g. USDC.

If a swap is needed when opening or closing a position then the regular swap fee would apply, this fee is 0.2% to 0.8% of the collateral size, the exact fee depends on whether the swap improves balance or reduces it.

There is also an execution fee detailed below which is used to pay for the blockchain network costs.

## Execution Fee <a href="#execution-fee" id="execution-fee"></a>

There are two transactions involved in opening / closing / editing a position:

1. User sends the first transaction to request open / close / deposit collateral / withdraw collateral
2. ​[Keepers](https://gmx-io.notion.site/gmx-io/GMX-Technical-Overview-47fc5ed832e243afb9e97e8a4a036353) observe the blockchain for these requests then execute them

The cost of the second transaction is displayed in the confirmation box as the "Execution Fee". This network cost is paid to the blockchain network.


# Stablecoin Pricing

In case the price of a stablecoin depegs from 1 USD:

1. Opening and closing short positions during this time would incur a cost on the collateral based on a spread of 1 USD to the Chainlink price of the stablecoin. For example, if the price of the chosen stablecoin depegs to 0.95 USD, opening a position using 1,000 of that stablecoin would result in a position collateral of 950 USD based on a price of 0.95 USD, when closing the position, 950 of the stablecoin would be withdrawn based on a price of 1 USD, this is to prevent front-running issues during a depeg since collateral is stored as a USD value and converted to tokens based on the latest price.
2. To ensure that profits for all short positions can always be fully paid out, the contracts will pay out profits in the stablecoin based on a price of 1 USD or the current Chainlink price for the stablecoin, whichever is higher.&#x20;
3. Long positions should not be affected though there may be a spread if swapping from a stablecoin into the long collateral needed for the position, e.g. to long FTM, FTM collateral is needed. Alternative swap platforms could be used to execute the swap before opening the long position. The interface should show a warning if there is a large spread for this.


# Referrals

Get fee discounts and earn rebates through the LIF3 referral program.

{% content-ref url="/pages/F0A1vuebIp866Ct2ASQ5" %}
[How it works](/lif3-trade/referrals/how-it-works)
{% endcontent-ref %}

{% content-ref url="/pages/aFDri8whB4WSkM62bvhB" %}
[Tiers](/lif3-trade/referrals/tiers)
{% endcontent-ref %}


# How it works

Get fee discounts and earn rebates through the LIF3 referral program.

To create a referral code:

* Go to <https://trade.lif3.com/referrals>
* Click on the Affiliates tab
* Create a referral code using any combination of letters, numbers and underscores

Note that referral codes are case sensitive.

Once you've created your code, click on the copy icon next to the code to get your referral link, it should look something like this: **<https://trade.lif3.com/?ref=\\><your code>**.

You can share this link on any platform, e.g. Twitter, Telegram.

When a user clicks on your link, your referral code would be stored with the user's account.

When the user makes a trade they would receive a discount and you would earn rebates from their trading fees.

You will continue to earn rebates even if the user uses another device later on as the referral code is stored on the contract the first time the user makes a trade.

The discounts and rebates will be distributed as FTM every Wednesday, your rebates history will be viewable on [**https://trade.lif3.com/referrals**](https://trade.lif3.com/referrals)

Note that the referral program is subject to change.


# Tiers

Get fee discounts and earn rebates through the LIF3 referral program.

The referral program has a tier system to prevent gaming through self-referrals, this helps to ensure that referrers receive the rebates for the users they brought onto the platform.&#x20;

* Tier 1: 5% discount for traders, 5% rebates to referrer
* Tier 2: 10% discount for traders, 10% rebates to referrer
* Tier 3: 10% discount for traders, 15% rebates to referrer paid in FTM, 5% rebates to referrer paid in esLIF3

Anyone can create a Tier 1 code. To upgrade your code to Tier 2 or Tier 3:

* Tier 2: At least 15 active users using your referral codes per week and a combined weekly volume above $5 million
* Tier 3: At least 30 active users using your referral codes per week and a combined weekly volume above $25 million

If your account fulfils this criteria, please get I touch with one of our mods on telegram or discord.

Rebates and discounts apply on the opening and closing fees for leverage trading.

The opening and closing fees are 0.1% on LIF3, there is no price impact for trades and zero spread for tokens like BTC and ETH, rebates are calculated before user discounts so referrers earn on the full maker fee and from what would otherwise be spread on other exchanges. As a result, referrers would earn equivalent amounts of rebates per volume on LIF3 when compared to other referral programs.

Note that there is a cap of 5,000 esLIF3 distributed per week. If the price of LIF3 is $30 the full 5% bonus can be paid for total Tier 3 referral volumes up to $3 billion per week. esLIF3 tokens distributed for this program will not require LIF3 or LLP to vest, the vault to vest the tokens will be available towards the end of Q1 2023.

The price of esLIF3 will be based on the 7 day TWAP of LIF3.

Wallet providers and other protocols will be eligible for Tier 2 and Tier 3 rewards as well.


# About

<figure><img src="/files/9UAzbpLRwhfNn5LjgeOE" alt=""><figcaption></figcaption></figure>

The Tomb Bridge on Lif3.com allows you to move assets between to and from Tomb Chain. Tomb Chain is a Layer 2 built on top of the existing Fantom blockchain. Because it is an entirely separate blockchain system, investors will need to move assets to the Tomb Chain network from the Fantom network via "bridging," a process to move assets between two blockchains. The Lif3 protocol offers a simple and fast bridge for onboarding to Tomb Chain.

#### [Tomb Bridge](https://lif3.com/bridge)

The Tomb Bridge allows you to transfer tokens such as: $USDC, $LIF3, $BTC, $FTM, $TOMB, etc. To sustain the development of the protocol this bridge comes with a small fee.

Using the Tomb Bridge from Fantom to Tomb Chain incurs a 0.1% bridge fee and transaction gas costs ($FTM). Bridging out of Tomb Chain requires a 2 $TOMB fee, in addition to any transaction gas costs ($TOMB).

*\*Please make sure you have at least 2.1 TOMB for bridging out*

<br>


# How to Bridge

<figure><img src="/files/9UAzbpLRwhfNn5LjgeOE" alt=""><figcaption></figcaption></figure>

1. Go to the [Tomb Bridge](https://lif3.com/bridge)
2. Connect your wallet on the Fantom Chain
3. Set "From Chain" to Fantom Opera and "To Chain" to Tomb Chain
4. Select the token you wish to bridge from the drop down menu
5. Approve the token that you want to bridge if prompted
6. Select the "Bridge" button and approve the transaction in your wallet (please note: you will need FTM as gas for this transaction). Bridging from L1 to L2 should be almost instant, but bridging out of Tomb Chain can take from 15 minutes to 24 hours due to the security feature of Optimistic Rollups called the fraud-proof window.


# About

Collateralised Lending

## What is Collateralised Lending?<br>

● Crypto Lending is executed through DeFi lending applications. ● They allows users to borrow and lend cryptocurrencies for a fee or with interest.&#x20;

● Due to crypto being decentralized, any user can deposit collateral and instantly get a loan, which they can use to invest.

<figure><img src="/files/4QeunerGFhEpy9wkAFGP" alt=""><figcaption></figcaption></figure>

## How does Crypto Collateralised Lending work?

### Crypto Lending involves three parties:&#x20;

#### ● Lender&#x20;

#### ● Borrower&#x20;

#### ● DeFi platform&#x20;

The borrower must provide collateral in order to borrow any crypto. On the other side of the loan, there are smart contracts that mint stablecoins or allow other users to supply crypto for lending. In the latter, lenders add their crypto to a lending pool through a smart contract that manages the whole process and automatically rewards them with a cut of the interest.

## Advantages of Crypto Lending

### Crypto loans have been used on DeFi for years, and they provide a series of clear advantages:

● Easy, accessible capital. Crypto loans are given to anyone who can provide collateral, which makes the borrowing process easy and fast compared to traditional loans.&#x20;

● Smart contracts are in charge of managing the Ins and Outs of the whole process, making lending and borrowing easy to scale.


# About

Designed to be a higher yielding stable asset, L3USD is an attractive option for investors who  want to earn more than with traditional stablecoins while still participating in lending and  borrowing

<figure><img src="/files/uLXIvAW2JAsuhJYmdTTQ" alt=""><figcaption></figcaption></figure>

## L3USD and Curve Finance

### L3USD is a new type of stable asset that is designed to be variably collateralized and range around $1 value. Its liquidity is backed by Curve Pools and other stable assets, making it a secure investment option for those looking for stability in the volatile cryptocurrency market.

● Curve Finance is an AMM protocol designed for low-fee stablecoin swapping.&#x20;

● It provides high volume stablecoin trades with low slippage and tight spreads.&#x20;

● DeFi users can arbitrage, trade, or provide liquidity to earn fees on L3USD pools.

## Unlock Borrowing with L3USD

● L3USD will offer a way to unlock capital with cryptocurrency assets.&#x20;

● It will allow users to mint L3USD as a stable asset against their decentralized token collateral.&#x20;

● Offering overcollateralized smart contract loans allow L3USD to always be fully backed by the value of the deposited collateral.&#x20;

● All of this will be carried out on a fully decentralized platform where only the user will be able to control their funds.

<figure><img src="/files/B9DIKDRNLkNmxCHQTN2N" alt=""><figcaption></figcaption></figure>


# Ethereum


# Tokens

### <img src="/files/razBM0OmBvkuEgx40nmQ" alt="" data-size="line"> LIF3

0x7138Eb0d563f3F6722500936A11DcAe99D738A2c

<https://etherscan.io/token/0x7138eb0d563f3f6722500936a11dcae99d738a2c>

### <img src="/files/bO8hev8T2gSW3wuRDW6n" alt="" data-size="line"> **LSHARE**

0x8E01397163b21F64ceC1f06cA6cC7d9aA8F718e9

<https://etherscan.io/address/0x8E01397163b21F64ceC1f06cA6cC7d9aA8F718e9>

### <img src="/files/ynQeBbF3pp0omYT7beP9" alt="" data-size="line"> **L3USD**

Token: 0x2c2d8a078b33bf7782a16acce2c5ba6653a90d5f

<https://etherscan.io/token/0x2c2d8a078b33bf7782a16acce2c5ba6653a90d5f>

Liquidity Pool: 0x0Af90b5040c485668C2E2670E11aF4ea2257dEb9

OFT Token: 0x72532064D2D2993A2EFA6f22bDBa96b763eEdCA2


# Protocol Contracts

Lif3 v3 DEX

<table data-header-hidden><thead><tr><th width="309"></th><th></th></tr></thead><tbody><tr><td>V3 Factory</td><td><a href="https://etherscan.io/address/0x129538ee65a692fa041e107921d716c31d186803#code">0x129538ee65a692fa041e107921d716c31d186803</a></td></tr><tr><td>Nonfungible Token Position Descriptor</td><td><a href="https://etherscan.io/address/0xdD8A6d3d6507ca5cd350cA2C2B31EDCdB79Ff053#code">0xdD8A6d3d6507ca5cd350cA2C2B31EDCdB79Ff053</a></td></tr><tr><td>Nonfungible Position Manager</td><td><a href="https://etherscan.io/address/0x15823A4Df9967d0b4440e4183b4c931AfD85DAce#code">0x15823A4Df9967d0b4440e4183b4c931AfD85DAce</a></td></tr><tr><td>Quoter V2</td><td><a href="https://etherscan.io/address/0x8973670CC2DcBC5A03C8Ae373d9d3754b13faf69#code">0x8973670CC2DcBC5A03C8Ae373d9d3754b13faf69</a></td></tr><tr><td>Swap Router</td><td><a href="https://etherscan.io/address/0x4638B34955c66E28C8261b23d38BC125d24a4E1B#code">0x4638B34955c66E28C8261b23d38BC125d24a4E1B</a></td></tr></tbody></table>

Nursery (Genesis) - 25 December to 25 January

| Nursery (Genesis) | [0x0222aE31a4cf6D9a1D91dA7e17cCa56a7AEf62Ca](https://etherscan.io/address/0x0222aE31a4cf6D9a1D91dA7e17cCa56a7AEf62Ca#code) |
| ----------------- | -------------------------------------------------------------------------------------------------------------------------- |


# Fantom Opera

{% content-ref url="/pages/GkHx2T0D4Wz0Xwxku9ga" %}
[Tokens](/contracts/fantom-opera/tokens)
{% endcontent-ref %}

{% content-ref url="/pages/SiQ3wiUVpQcZPGzjS5kd" %}
[Liquidity Pools](/contracts/fantom-opera/liquidity-pools)
{% endcontent-ref %}

{% content-ref url="/pages/twKd1G6xK0btPVuNUJIV" %}
[Protocol Contracts](/contracts/fantom-opera/protocol-contracts)
{% endcontent-ref %}




---

[Next Page](/llms-full.txt/1)

