# Who is Larix

**Larix is the first Metaverse based Finance Protocol on Solana,** adopted a dynamic interest rate model and created more capital-efficient risk management pools, as such a broad selection of collateral types, crypto tokens, stablecoins, synthetic assets, NFTs, and other kind of assets (account receivables, invoices, mortgages, etc.) can be fully utilized in a safe way. Furthermore, the rewarding system based on a delicately designed token economy enables continuous incentive allocation to boost demands. All VALUABLE assets could be accepted by Larix.

{% embed url="<https://www.youtube.com/watch?v=BaugDUOwKOs>" %}

Larix is the first lending protocol on Solana who maintains basic SPL lending needs and who aims to bridge new types of tokens like synthetic assets, and NFTs. Therefore, lending/borrowing is an infrastructure for determined token holders who have great confidence on token value and also want to get APY interests in the long-term besides value growth. Larix now is:

* The first lending protocol with live mining functionality
* The first lending protocol Audited on Solana
* The first lending protocol partially Open-Sourced on Solana

Encouraged and inspired by the Solana team, we are determined to take the challenge and the opportunity to build Larix – the lending gateway of Solana, Raydium, and Serum. Larix leverages pool-based collaterals and a dynamic ratio optimizer to enable instant loans.

{% embed url="<https://projectlarix.medium.com/hello-world-eae96c606625>" %}

{% embed url="<https://projectlarix.medium.com/why-solona-24824b60a3ef>" %}


# Community

## Twitter account: [@ProjectLarix](https://twitter.com/ProjectLarix) &#x20;

## Medium

{% embed url="<https://projectlarix.medium.com/>" %}

## Discord:&#x20;

{% embed url="<http://discord.gg/hfnRFV9Ngt>" %}

## Telegram:

{% embed url="<https://t.me/projectlarix>" %}


# Roadmap

Larix is the ultimate lending gateway on Solana. All valuable assets, including crypto tokens, stablecoins, synthetic assets, NFTs, and asset-backed securities (account receivables, invoices, mortgages, etc.) are soon accepted as collaterals to borrow crypto assets, generate yield, and power the real economy.

## **Phase 1: Jun — Sep 2021**

Larix begins by meeting the essential needs of automated cryptocurrency-lending on Solana. At this stage, crypto tokens, stablecoins, and synthetic assets are used as collaterals.

![Larix Product Logic Chart](https://cdn-images-1.medium.com/max/1200/1*8Oy8t1pQxUEH-D27npu5dA.jpeg)

In response to multiple flash-loan attacks and malicious market manipulations, the **collaterals will be carefully selected and parked in several isolated pools** as clusters according to the underlying asset risk profiles. This is a more optimal way to control and mitigate platform risk and protect both borrowers and lenders. We all know that a larger liquidity pool accommodates smaller slippage. The collaterals are rated and grouped by their market capacity, concentration risk, volatility, etc. As such, assets with distinct risk measurements could be managed separately to enhance risk management capability and reduce potential loss at the protocol level.&#x20;

Larix adopts a **dynamic interest rate model** to manage liquidity and avoid a “Bank Run” when depositors need to withdraw from the pool. Liquidity pools across different tokens are an essential part of Larix. The carefully designed interest rate model is manages to incentivize both borrowers and lenders by rewarding them with Larix tokens, the native platform token. A **Decentralized Autonomous Organizations (DAO)** will be introduced to Larix through voting and governance tokens. Critical matters, such as changing mortgage factors, adding/removing collateral tokens, and special acceleration in certain mining pools, could be decided through DAO proposal voting.

## Phase 2: Late 2021 to 2022

Partnering with PYTH network to connect high-fidelity (HiFi) financial markets to the world of decentralized finance (Defi), which enables higher capital utilization of a wider range of conventional financial assets. In addition, term-loan and Initial Lending Offering (ILO) facilitate projects in the Solana ecosystem to capitalize themselves through token-backed debt financing.

![](/files/-MiP9BhPTqHPpQf-Tlom)

## **Phase 3: 2022 onwards**

The protocol **extends the collateral base to accept non-fungible tokens (NFTs)** and enable peer-to-peer lending across all asset classes. In general, all valuable assets in our digital wallets should find their places and value propositions as collateral to release liquidity. NFTs started to gain popularity in 2021 supported by celebrities, such as Linkin Park’s Mike Shinoda and the Weeknd’s genesis nifty collection. Increasingly more creators are joining the NFT hype train. [CoinGecko](https://assets.coingecko.com/reports/2021-Q1-Report/CoinGecko-2021-Q1-Report.pdf?utm_source=coingecko\&utm_campaign=\&utm_medium=email\&utm_term=landing_page\&utm_content=%255BDownload%255D%2BHere%2527s%2Bthe%2BReport%2Byou%2Bsigned%2Bup%2Bfor%2521) pointed out that “despite its slow start, Google searches for ‘NFT’ far outstrips ‘Defi’ by March 2021.”

![Google Searches for 'NFT' surpassed 'Defi'](/files/-MdV0dFlECRvKfjqXutp)

According to the exchange's data, even sports-related NFTs, such as the NBA's Top Shots, captured a nearly $28 billion market cap and still growing. Users who intend to supply liquidity and generate passive income with their NFT assets puts NFT-backed-lending on our roadmap.&#x20;

Finally, **tokenized ABS and wrapped NFTs**, which serve as a **bridge from real-world assets** to the digital arena, will find their time to shine. For example, accounts receivable factoring, invoicing, mortgages, and student loans are all seeking more flexible financing options from the digital capital market. DeFi lending is the perfect vehicle to provide secure, customizable, and almost instant liquidity. Larix is working with multiple partners in this space to power the real economy.


# Product Update

### Date: 12th, Feb Time: 12:00, UTC+0&#x20;

Event: The collateral factor has been updated as following:

| **Single Token**   | **Collateral factor** | **Deposit Limit** |
| ------------------ | --------------------- | ----------------- |
| USDT               | 85%                   | /                 |
| USDC               | 85%                   | /                 |
| stSOL              | 75%                   | 300,000           |
| mSOL               | 75%                   | 800,000           |
| FTT                | 75%                   | 300,000           |
| soFTT              | 75%                   | 300,000           |
| SRM                | 65%                   | 5,000,000         |
| SOL                | 80%                   | 1,000,000         |
| BTC                | 80%                   | 1,500             |
| RAY                | 70                    | 2,000,000         |
| soETH              | 80%                   | 5,000             |
| ETH                | 80%                   | 5,000             |
| UST                | 85%                   | /                 |
| **Raydium** **LP** | **Collateral factor** | **Deposit Limit** |
| SOL-USDT           | 82%                   | 30,000            |
| RAY-soETH          | 75%                   | 600,000           |
| RAY-USDC           | 75%                   | 300,000           |
| RAY-USDT           | 75%                   | 400,000           |
| SOL-USDC           | 82%                   | 30,000            |
| RAY-SOL            | 75%                   | 300,000           |
| mSOL-USDT          | 80%                   | 20,000            |
| mSOL-USDC          | 80%                   | 30,000            |
| ETH-SOL            | 80%                   | 1,000             |
| ETH-USDC           | 82%                   | 700               |

Event: The LiquidationThreshold has been updated as following:

<table><thead><tr><th>Token/LP</th><th>Liquidation Threshold</th><th data-hidden></th></tr></thead><tbody><tr><td>USDT</td><td>87%</td><td></td></tr><tr><td>USDC</td><td>87%</td><td></td></tr><tr><td>BTC</td><td>85%</td><td></td></tr><tr><td>soETH</td><td>82%</td><td></td></tr><tr><td>SOL</td><td>85%</td><td></td></tr><tr><td>mSOL</td><td>80%</td><td></td></tr><tr><td>soFTT</td><td>80%</td><td></td></tr><tr><td>SRM</td><td>70%</td><td></td></tr><tr><td>RAY</td><td>75%</td><td></td></tr><tr><td>ETH</td><td>82%</td><td></td></tr><tr><td>stSOL</td><td>80%</td><td></td></tr><tr><td>FTT</td><td>80%</td><td></td></tr><tr><td>UST</td><td>87%</td><td></td></tr><tr><td>mSOL-USDC</td><td>82%</td><td></td></tr><tr><td>mSOL-USDT</td><td>82%</td><td></td></tr><tr><td>SOL-USDC</td><td>85%</td><td></td></tr><tr><td>RAY-SOL</td><td>80%</td><td></td></tr><tr><td>SOL-USDT</td><td>85%</td><td></td></tr><tr><td>RAY-soETH</td><td>80%</td><td></td></tr><tr><td>RAY-USDC</td><td>80%</td><td></td></tr><tr><td>RAY-USDT</td><td>80%</td><td></td></tr><tr><td>ETH-SOL</td><td>83%</td><td></td></tr><tr><td>ETH-USDC</td><td>85%</td><td></td></tr></tbody></table>

Date: 27th, Jul Time: 12:00, UTC+0&#x20;

Event: Larix ver.1.0.0 (Mobile) release Features:&#x20;

&#x20;\- Supply Function&#x20;

&#x20;\- Borrow Function&#x20;

&#x20;\- Mining Function

Welcome #Larixer join bug bounty test in Discord community.


# Monthly Report


# Larix Monthly Report  \[Oct]2021

## **Overview** <a href="#id-6eec" id="id-6eec"></a>

![](https://miro.medium.com/max/1400/1*V-SyubdwXZBUK225qYVEiw.png)

## Investment <a href="#d44b" id="d44b"></a>

The seed and private round investments were closed in mid-Sept with support from Solana Capital, SolarEcoFund, Epsilon, Huobi Venture, Gate.io, MEXC, BitMart, Fenbushi, Polygon, FBG, 3Commas, LD Captial, Lancer Captial, Zonff Partners, FACT Block, Libra Capital, IconPlus Capital, OIG Capital, and IPC.

![](https://miro.medium.com/max/1400/0*fsJsgsJKxwFJkXcs)

## Production: <a href="#f5fb" id="f5fb"></a>

1\. Larix mining started on 17 Sept. 5 hours after launching, TVL from both borrow and lending exceeded $520 million, which was the largest lending platform on Solana.

![](https://miro.medium.com/max/1400/0*Tbu19q0GfU4X-NM6)

2\. On 18 Sept, the liquidation function went live as well, which enabled all users to participate in liquidation events.

![](https://miro.medium.com/max/1400/0*2SHFAdeaPE6ktWVt)

3\. On 29 Sept, Larix added mSOL as the latest collateral asset.

![](https://miro.medium.com/max/1400/0*6HLt1p3YbUDcQAcX)

4\. On 15 October, Larix updated the collateral factor of some tokens to further increase the utilization rate of user funds. The update was as follows:

BTC : 0.75 >> 0.8\
ETH : 0.75 >> 0.8\
USDT : 0.75 >> 0.85\
USDC : 0.75 >> 0.85\
SOL : 0.75 >> 0.8

5\. On 16 October , Larix continued to increase the deposit limit of mSOL to $200 million. That resulted in Larix becoming mSOL’s largest single token pledge platform.

![](https://miro.medium.com/max/1400/0*rn3nlYvgo1gdBVYM)

## Marketing: <a href="#id-391b" id="id-391b"></a>

1\. On 10 Sept, Larix announced a strategic partnership with MathWallet.

![](https://miro.medium.com/max/1400/0*eUCP-Yp7y4UyFuKN)

2\. On 10 Sept, Larix formed a strategic partnership with Coin98.

![](https://miro.medium.com/max/1400/0*X36tcuZ9ZYkzpqNy)

3\. On 14 Sept, we finalized a strategic collaboration with Slope.

![](https://miro.medium.com/max/1400/0*zohRE87MUu_7c8o6)

4\. On 16 Sept, Larix launched IEOs successfully on 3 exchanges simultaneously — Gate.io, MEXC, and BitMart. Users on Gate.io experienced over 300X oversubscription rates and MEXC received IEO qualification bidding from more than 12k participants. IEO quota allocated to BitMart was snapped within merely one sec.

![](https://miro.medium.com/max/1400/0*yq_hmxxbznE_wp7m)

5\. On 16 Sept, Larix held the first AMA with the OIG Community. There are a few more AMAs conducted among Solana communities with joint marketing efforts with various platforms.

![](https://miro.medium.com/max/1400/0*XYU-SV9umVvy6PG4)

6\. Here are some media coverage in Larix’s birth month:

（1）CryptoRank suggested that Larix is a top ticker by daily trading vol

![](https://miro.medium.com/max/1400/0*JWl5S8r-9aon3RVL)

(2) On 18 Sept, DefiLIama showed that Larix was the largest lending platform on Solana, and it was ranked as the 15th largest lending protocol globally across all ecosystems.

![](https://miro.medium.com/max/1400/0*kr9Lji7Ggar0KuMT)

(3) According to data from HC-Capital, on 21 Sept, Larix was ​​the fastest-growing project in terms of TVL in the entire network.

![](https://miro.medium.com/max/1400/0*RDEfm1TbzsMQNTIi)

(4) On 23 Sept, Gate.io captured LARIX as the project with the highest ROI (return on investment) on its platform.

![](https://miro.medium.com/max/1400/0*JRfOJUO5MwC0rq6L)

(5) According to CryptoGics data, on 27 Sept, Larix was the fastest-growing project in TVL in the last 7 days on the entire network.

![](https://miro.medium.com/max/1400/0*RMbaYc5SfVqROTMC)

(6) SolanaProject suggested that Larix is ranked 8th place in the Solana ecosystem by TVL as 30 Sept, which is only 2 weeks after official launch.

![](https://miro.medium.com/max/1400/0*sPsGwBg8pqTRYkCq)

(7) On 29 Sept, SolanaNews verified that Larix’s liquidity mining revenue was ranked №1 in Solana’s ecosystem.

![](https://miro.medium.com/max/1400/0*Tu2iScHfCAvbJYuK)

(8) DefiLlama revealed that Larix was №1 lending protocol, and ranked as top 10 protocols in Solana shortly after launch.

![](https://miro.medium.com/max/1400/0*QZcAKtN3k4f5Z93e)

(9) On 27 Sept, Larix launched LARIX/USDC liquidity mining on Raydium. It was the first lending platform to launch a fusion pool with Raydium with a lock-up value of up to $4M.

![](https://miro.medium.com/max/1400/0*GjK37EDzQ1SbDptp)

(10) On 29 Sept, SolFarm introduced the LARIX/USDC pair liquidity mining and supported re-investment with APY up to 2,000%.

![](https://miro.medium.com/max/1400/0*EaeFfTXcRppEm2x0)

（11） On 29 Sept and a few days this month, LARIX was ranked top 3 on the MEXC hot search list a number of times.

![](https://miro.medium.com/max/1400/0*vJd5D3Jgc3zZvtHR)

7\. On 11 October, [Solfarm](https://tulip.garden/vaults) supported the LARIX/RAY pair

![](https://miro.medium.com/max/1400/1*vX7M5lMF4Z0zeaZZRe2YKw.png)

8\. On 11 October, the liquidity of LARIX on [Raydium](https://raydium.io/farms/) exceeded $5 million

![](https://miro.medium.com/max/1400/0*JXVFX6tpCwLKo7Lo)

9\. On 12 October, Vote for Larix to win iPhone 13 Pro MAX + iWATCH + iPad mini

![](https://miro.medium.com/max/1400/0*V8cenNLRaj2Za4AM)

## Operational Progress : <a href="#id-0625" id="id-0625"></a>

1\. On-line public beta bounty test took place on the 14 Sept

2\. The joint marketing event with MEXC was launched on the 15 Sept

![](https://miro.medium.com/max/1400/0*bQVDpCaln9ojbyiR)

3\. Gate.io started a joint publicity campaign on 16 Sept.

![](https://miro.medium.com/max/1400/1*VuoX2wvVnBL7p6JszbeRXA.png)

4\. On 16 Sept, Larix joined CMC to activate a mining promotion event.

![](https://miro.medium.com/max/1400/0*88zkjWPHgbx06ntL)

5\. On 15 Sept, the community published the LARIX token empowerment ecological map through discussion on Discord and Telegram.

![](https://miro.medium.com/max/1400/0*gd_AxdgSDbV9hqw9)

6\. The LARIX token was supported on the Coin98 wallet on 22 Sept.

![](https://miro.medium.com/max/1400/0*HamRG_DPquHtpmvx)

7\. On 26 Sept, Sonar supported the depository and borrow function of Larix.

![](https://miro.medium.com/max/1400/0*IJBMHv7W2NAYS55w)

8\. On 28 Sept, IPC released a [promotional video of Larix](https://www.youtube.com/watch?v=9LFzoRk2zE8).

9\. Larix is ​​clearly ahead of other competitors in terms of APY, TVL, and liquidity for large-cap tokens such as USDC, ETH, BTC, SOL, and USDT.

## Community Build-up: <a href="#id-8105" id="id-8105"></a>

1\. Larix’s community continued to grow rapidly and was far ahead of its competitors. In Sept, Twitter followers exceeded 101K. The Telegram group added 15K+ users to a total of 55K. Discord channels reached 60K, and Medium attracted 1.1K+ followers. Larix has established many local communities in various countries/langugaes globally.

![](https://miro.medium.com/max/1400/0*Whh-obSe9H0g5NsB)

![](/files/RwTdyOK4U8fSlbYT3Uro)


# Larix Monthly Report \[Nov]2021

## Overview <a href="#d922" id="d922"></a>

Larix has made consistent progress the last month that involves partnerships, branching out the staking use cases for LARIX, and some product updates which are nearing completion. Let’s take a look at the progress Larix has made since our last monthly report.

![](/files/2gRIBPaFVh32GdiC69YY)

## **Product Progress** <a href="#id-721c" id="id-721c"></a>

At Larix, we are constantly updating our interest rates to correspond to utilization rates within the isolated asset pools that are in line with DeFi industry standards.

![](https://miro.medium.com/max/1400/1*We2mk3mt7Kw1KQjdvFNvfQ.jpeg)

Larix has added another Solana Gem, Raydium’s native token, to its arsenal of supported assets. The Isolated asset pool for Ray saw huge demand for collateralized borrowing activity due to IDOs on the Raydium protocol the last two weeks. As such, the interest rates for Ray got bumped up to almost 100%, so it is very nice to see the dynamic interest rate model in action. This makes us hugely optimistic for the future of DeFi and the tokenized economy the world is transitioning into.

![](https://miro.medium.com/max/1400/1*ZjZSL4Z-Y0wcaGE_GJGWPA.jpeg)

A few rounds of accelerated mining was held with mSOL and SOL, respectively. In the former’s case, users effectively earn tripple rewards in $mSOL+ $LARIX+ $MNDE. Since the launch of mSOL, it has continuously maintained dominance as the preferred asset to supply by users. We expect this trend to continue as Marinade maintains the position of the best liquid staking protocol for Solana.

![](/files/6VSsLjbQz9MgHAPlKlQK)

![](/files/Dtm3ZZ0gxg6D92TsYn6w)

At Larix, we take security as our primary core focus and let the innovation evolve around it. Our business model dictates that we build, test, set limits, and finally remove those limits once our smart contract delivers optimum frictionless results. mSOL continues to be our most popular asset, due to the combined innovation of liquid staking from Marinade and triple rewards on mSOL supplied to the asset pool.

![](https://miro.medium.com/max/1400/1*hRQ1FziCP3MSbFLO_RpnPQ.png)

As set forth by our roadmap, product updates and new features are in the pipeline and the next one is in sight. Larix is proud to announce that we will launch LP mortgage lending with a compounding functionality very soon and we urge users to stay tuned.

![](https://miro.medium.com/max/1400/1*r9NN4TFH0tRCRAZ2wobczw.png)

## **Milestones** <a href="#id-38f0" id="id-38f0"></a>

In DeFi, borrowing value will always lag behind that of supply, and at Larix we are happy to see growth in total borrowed value as users are becoming more comfortable with security, volatility, and our over-collateralized lending model. As such, the total borrow value at Larix reached $100k.

On to the comparative data and some stats. Larix continues to keep up with the pace within the overall Solana ecosystem as our forged integrations with partners are seamlessly all growing together. On November 1st, Larix was dubbed the leading lending protocol on Solana, the fastest-growing public chain. As such, on November 3rd, Larix’s TVL reached an ATH of $650M.

![](https://miro.medium.com/max/1400/1*GmY8AGEoJrd1l9O4N9-xig.png)

## **Operational Progress** <a href="#id-2d93" id="id-2d93"></a>

Larix has utilized efforts to penetrate different jurisdictions along with supporting different versions of the platform in five different languages, such as Indonesian, Vietnamese, Korean, Russian, and Turkish.

![](https://miro.medium.com/max/1400/1*6nyxQBgBmXMrN2ekZsLJXw.png)

## **Events** <a href="#id-3fd7" id="id-3fd7"></a>

On Nov, 5th, Larix launched the Golden Mining Week event. With the APY of all tokens increased 2–3 times, and interest on borrowing on all tokens reduced by 30%-60%.

![](https://miro.medium.com/max/1400/1*37EcyIyXwNuuUoi8BFwoCg.png)

On Nov 9th, Larix announced a $1000 giveaway to 5 Larixers.

![](https://miro.medium.com/max/1400/1*GFVGD5dxIiWYcRq7SV5yRg.png)

On Nov 11th, Larix announced an exclusive trading event on MEXC with limited NFT rewards.

![](https://miro.medium.com/max/1400/1*hsapvk2q-IAHVBe60RtxIQ.png)

On Nov 25th, Larix launched the ‘2021 Thanksgiving’ staking event with Slope, with a prize pool of 200,000 $Larix and $1,000 of USDC. This, subsequently, resulted in 4,000,000 LARIX tokens being locked in the staking process.

![](/files/N0kj5cusRD6fb8Qk5wq2)

![](https://miro.medium.com/max/1400/1*ySGu8-I3AiUVsJrBYhTbCA.png)

## **Marketing Progress** <a href="#id-3e74" id="id-3e74"></a>

On Oct 19th, Larix was incorporated into APY.TOP’s aggregation search functionality.

![](https://miro.medium.com/max/1400/1*RiHQB5jjaJghpU6dfjtZSA.jpeg)

Larix is proud to have established a partnership with Orca, one of the leading and most user-friendly DEX within the Solana ecosystem. The partnership allowed users to simultaneously earn LARIX and ORCA rewards by adding LARIX/USDC LP on ORCA. Orca had a huge influence in boosting the aggregate TVL of LARIX outside the protocol, which led to an increase to $10 million, jointly contributed by Raydium, Orca, and Tulip.

![](https://miro.medium.com/max/1400/1*zxki2x31telXIVRRhtKRlQ.jpeg)

One of the new leveraged trading DEXs, WOWswap, added support for LARIX where users are able to trade up to 3x on their positions. We always enjoy witnessing the innocavation projects’ bring to the Solana ecosystem.

![](https://miro.medium.com/max/1400/1*9CXbyIeSGYXbVICp_8aD-A.jpeg)

One of the absolute Gems in the Solana ecosystem, Symmetry, bringing portfolio management tools and idexes to crypto, and a very exciting partner of Larix, has added support for LARIX on their instant swap. We are extremely excited for our next move in conjunction with Symmetry, so keep an eye out.

![](https://miro.medium.com/max/1400/1*WG90h3U0bsgRgy_MfM4J4A.png)

SolanaSail is a famous community on Solana, SolanaSail will continue to report on the recent progress of Larix.

![](https://miro.medium.com/max/1400/1*rgDxM9VF3wHj4xVUA0-K3w.png)

Another month, another three wallet integrations where users can access the Larix protocol directly from within the wallet UI. Added to the list was the multichain user-friendly wallets of Bitkeep, Coinhub, and Tokenpocket in addition to C98, Slope, Math Wallet, Solong, and Solflare. We are very excited to observe the crypto wallet infrastructure grow over the months and years to come and we believe this will be one of the catalysts that will contribute to onboarding the next billion users into the new world of Decentralized Finance.

![](https://miro.medium.com/max/1400/1*BBAspYRglyJNJowSqnUSlA.png)

On 18th Nov, an article was published about Larix on Yahoo Finance.

![](https://miro.medium.com/max/1400/1*IWaShnz7axczAaTAlPg1yg.png)

Atrix, one of the newest DEX protocols with an outstanding feel from a user perspective and who absolutely smashed it with the UI, has partnered with Larix to give users another portal for instant swap functionality in addition to LARIX/USDC liquidity mining with rewards that stretched up to 150%.

![](/files/4C6zgOl32pL5oEYtRHNf)

![](https://miro.medium.com/max/1400/1*mOBoSRIwsHATcOXBXjOL-Q.png)

That is not where the partnership integrations have ended. LIQ Protocol is an official liquidator on Larix and thereby offering maximum efficiency and timeliness when it comes to borrowing activity within the isolated asset pools.

![](https://miro.medium.com/max/1400/1*BoMdVHeyZIpi0KNw6M5Ofw.png)

Cropper Finance is the Ultimate Yield Farming Platform on Solana. The two projects will work together to integrate themselves into the Solana ecosystem, even more, LARIX/UDSC pair will also launch on Cropper.Finance.

![](https://miro.medium.com/max/1400/1*3YdBXZlqLtK9TvR5WmgYLA.png)

## **AMA** <a href="#id-4a09" id="id-4a09"></a>

Larix held multiple AMAs with a number of different partners communities. Namely; Math Wallet, ORCA, Slope, Bitkeep, BlockSolFi, Atrix, and Coinhub.

![](https://miro.medium.com/max/1400/1*MBfJgcJOuagF8pp4TzdkGQ.png)

**Last but not least: Larix2.0 (Metaverse Finance) is coming!**

In the next 2 months, we have more exciting progress:

● Larix2.0: We use a new slogan, which marks that Larix has entered the Larix2.0 stage, and Larix will focus on a wider range of meta-universe financial services in the future. This is a new beginning!

● LP mortgage lending: We will be the first platform on Solana to support Raydium’s LP mortgage lending platform. Which LPs do you want to be supported first? Express your thoughts in the community.

● Leveraged lending: We will continue to support the leveraged transactions of Raydium and ORCA. Which LPs do you want to be supported first?

● NFT: Our NFT is undergoing design currently, stay tuned for Larix NFTs. Larix will also continue to empower $LARIX through NFT functionality.

● Meta Universe Fund: Larix will prepare a $20 million Meta Universe Ecological Support Fund, and more details will be announced in the Larix official community.

● Repurchase and burning plan: Repurchase and burning have been included in the Larix plan. Please stay tuned for the specific ratio and methodology (such as automatic execution via smart contract), and welcome to participate in the discussion in the community.

● Protocol controlled liquidity: Larix will upgrade to Liquidity Mining 2.0, which will be exciting news for Larix deposit users and liquidity providers.

● Multiple mining rewards: more partners will join us and open multiple reward activities


# Larix Monthly Report \[Dec]2021

As we are closing the chapter in 2021, our progress will never stop.

Accompanied by our family and friends in laughter, we have spent another joyful Christmas and counting down the days to 2022. Although December is the month of holidays, we are still working hard to deliver, there are lots of progress we want to share with you.

## **Cooperations in Solana Ecosystem** <a href="#f9f9" id="f9f9"></a>

We have always believed that the Lego combination of products is one of the greatest charms of DeFi, so Larix has been very active in expanding and seeking out collaborations with other projects to contribute to the thriving Solana ecosystem as partners.

Before diving into the projects with whom we have formed partnerships, we wanted to give the warmest welcome to our new partners. Larix is looking forward to developing a strong network of partnerships in the future. Please feel free to recommend a good project to Larix, a reward is available if a partnership is established! Thank you for all the support from our partners listed below.

![](https://miro.medium.com/max/1400/1*qNoFqPJ_g7XCNXbPWhIuww.png)

## **Larix in Dec: Progress and Achievements** <a href="#id-03ea" id="id-03ea"></a>

The Larix team had a productive month in December. Here is what happened:

* [Rebranding: Larix is the first metaverse-based finance protocol on Solana.](https://twitter.com/ProjectLarix/status/1468836086709317635?s=20)
* [Updated Homepage: displaying all liquidity pools currently supported by Larix, click to the corresponding page to participate in liquidity mining.](https://twitter.com/ProjectLarix/status/1468043261189115905)
* [Listed weWETH token with boosted multiple rewards.](https://twitter.com/ProjectLarix/status/1472056647308623875?s=20)
* [Supported Radium’s LP in mortgage lending with auto-compounding: offered LP dual mining which enables staked LPs to earn triple rewards in auto-compounding interest + $LARIX + $MNDE/$RAY.](https://twitter.com/ProjectLarix/status/1476526355437162500?s=20)
* [Dual liquidity mining on Orca: dual mining rewards in $LARIX and $ORCA.](https://twitter.com/ProjectLarix/status/1466653359344336896?s=20)
* [Triple liquidity mining on Aldrin: triple mining rewards in $LARIX,$MNDE, and $RIN.](https://twitter.com/ProjectLarix/status/1466697179079262213?s=20)
* [Started a meme contest on Discord with rewards.](https://twitter.com/ProjectLarix/status/1470674996112486400?s=20)
* [Joined the Christmas festivity and distributed rewards.](https://twitter.com/ProjectLarix/status/1474015446902792192?s=20)
* [Intergraded on Ape Board Finance.](https://twitter.com/ProjectLarix/status/1471176551807041545?s=20)
* [Formed a partnership with OneRing.](https://twitter.com/Onering_Finance/status/1475870697897574403?s=20)
* [Teamed up with Dappio to giveaway limited Dapp Gang NFTs.](https://twitter.com/ProjectLarix/status/1470408165720150024?s=20)
* [Partnered up with Bitspawn.](https://twitter.com/ProjectLarix/status/1470637513467330564?s=20)
* [Successful end in staking carnival at Slope.](https://twitter.com/ProjectLarix/status/1466407646525726721?s=20)
* [Bug Bounty Initiative: Larix offered $100K in appreciation for the bug feedback.](https://projectlarix.medium.com/appreciation-for-the-bug-feedback-from-the-ecosystem-1356f9249827)
* [Released an article: The Metaverse Financial outlook from Larix.](https://medium.com/@SolanaBeach/the-metaverse-financial-outlook-from-larix-dba4b1011663)
* [AMAs: Dappio and Raydium Protocol.](https://twitter.com/ProjectLarix/status/1470290051854749697?s=20)

## **Larix in 2022 Q1: Objectives and Plans** <a href="#id-49b9" id="id-49b9"></a>

Each end of the year is a new beginning! Take a moment to discover our vision in the first quarter of 2022. The following are just part of the roadmap (We will continue to update the roadmap in the monthly report):

● Larix2.0: Larix has entered the Larix2.0 stage, and Larix will focus on a wider range of metaverse financial services in the future, more metaverse related functionalities will be launched.

● Leveraged lending: We will continue to support the leveraged lending of Raydium and ORCA.

● NFT: Our NFTs are in production! They are fascinating and adorable, you will definitely fall in love with them. We have envisioned many application scenarios for NFT, including empowering $LARIX. We would really appreciate any suggestions from our community as well!

●Fixed-APY strategy is in the technical research and product design stage.

●DAO: We will launch DAO governance, releasing more power to our community.

●Metaverse Fund: Larix will set up a $20 million Metaverse Support Fund to accelerate the ecosystem build-up.

●Buyback and burning plan: buyback and burning have been included in the Larix plan. Please stay tuned for the specific ratio and methodology (such as automatic execution via smart contract), and welcome to participate in the discussion in the community.

**●**&#x50;rotocol controlled liquidity: Larix will upgrade to Liquidity Mining 2.0, which will be exciting news for all Larix stakeholders.

●Multiple mining rewards: more partners will join us and build multiple reward activities.

Just a quick reminder, we have released our new Slogan: Larix — the first Metaverse-based Finance Protocol on Solana! The era of metaverse has come, as the underlying financial infrastructure of the metaverse, time will be the witness of our incredible future!


# Larix Monthly Report \[Jan ]2022

## &#x20;Hello, January! <a href="#c03b" id="c03b"></a>

As the festive holiday end, a fresh start comes with it. Being the first month of 2022, there are lots of expectations for Larix. From new listed LPs to Larix’s Defi 2.0 mining, the team is delivering great utilities.

![](https://miro.medium.com/max/1400/1*hitZonh09hlzmA0H6kdqCw.png)

And so the adventure begins. Let’s have a quick look at January’s update in Larix.

Larix in January:

1\. Supported new LPs: SOL-USDT, RAY-ETH, RAY-USDC, RAY-USDT, weWETH-SOL and weWETH-USDC.

2\. Increased collateral factors:

mSOL: 70%->75%

RAY: 65%->70%

mSOL-USDC: 75%->80%

mSOL-USDT: 75%->80%

SOL-USDC: 80%->82%

RAY-SOL: 70%->75%

3\. Supported stSOL: you can supply and borrow stSOL and earn triple rewards in stSOL+LARIX+LDO.

4\. Launched DeFi 2.0 Mining: a newly equipped function that enables 5X boosted mining rewards. Shortly after its launch, the price of Larix had a short-term appreciation of 27%.

5\. After the DeFi 2.0 Mining launched, Larix maintains the highest supply APR and the lowest borrow APR on Solana.

6\. TVL exceeded $220M, while that of total borrowed exceeded $43M after DeFi 2.0 mining launched.

7\. LP yield competition: According to the total net yield rate within ten days, the top three users will be rewarded.

8\. Polls- let the community speak:

\- Poll to enable borrowing fee and buyback.

\- Poll for next support token: scnSOL vs. JSOL.

9\. Lowered borrowing APR for stablecoins: USDT borrowing APR IS 0%, the lowest on Solana.

10\. Integrated with Solflare Wallet on both web and mobile.

11\. Partnered up with Socean, based on community voting results, $scnSOL will be listed on Larix soon.

12\. AMA: Soldex, Marinade and ORCA.

13\. [Featured on CMC’s Youtube video “Top 10 Solana projects in 2022”](https://twitter.com/CoinMarketCap/status/1486388030978015242)

In 2022, the more good news is on the way, so stay tuned!


# Larix Monthly Report \[Feb] 2022

> Hi Larixers!
>
> Even though February is the shortest month of the year, it is filled with surprises and progress. Twenty-eight days is nothing wrong with being short when all you have is progress to deliver!

Let’s jump into the highlights of Larix in February.

![](https://miro.medium.com/max/1400/0*Jcnw8V_siTPtWwQd)

> **Impressive TVL Performances**

1. The steady growth on TVL: The TVL exceeds $250M after DeFi 2.0 Mining Launched. Larix’s DeFi 2.0 mining consists of higher supply APR, lower Borrow APR, no borrow fees and the new 5X/10X boosted rewards system!

![](https://miro.medium.com/max/1400/0*CaSakzzCufFFwlq4)

2\. The fastest growing project on Solana in the first week of February according to Defi Lama. An overall +37.08% in TVL growth.

![](https://miro.medium.com/max/1400/0*OPTyX1gjTrPUdrvF)

> **APR Performances**

1\. The highest supply APR (77.3%) of RAY on Solana.

2\. Inviting negative borrow APR in USDC, USDT, stSOL and mSOL.

3\. Highest supply APRs and Lowest borrow APRs on Solana in USDC, USDT, BTC, stSOL, SOL and mSOL.

> **New Supported Assets**

1\. Supported stSOL (Lido): enabled supply and borrow of stSOL with a supply APR of 9.10%, the highest stSOL supply APR on Solana.

2\. Supported FTT (Wormhole): enabled supply and borrow of FTT.

3\. Re-enabled ETH after the wormhole team actively resolved the exploitation and released the incident report.

> **Internal Upgrades**

1\. Deposit Limit Activation: further increased its security measures by activating the deposit limit. The deposit limit is adjusted from time to time according to current situations.

2\. Reduced borrow rate of USDT and SOL by 50% which leads to a juicy negative borrow APR.

3\. Stream sale featured with Socean Finance: offers a chance of purchasing Larix at a discounted price, it is Larix’s first approach to control token inflation.

4\. Integrating Chainlink price feeds to provide reliable decentralized price data.

5\. Conducted feedback questionnaire to listen to our community’s voice, a total of 5000 $LARIX was shared between all participants.

> **Partnerships and Integrations**

1\. New integration with Accrue Finance: Larix’s APRs can be tracked and compared with other protocols on Accrue Finance.

2\. New listing on Huobi Wallet.

3\. Featuring Collaboration NFT: One Ring released a collection of Gollum NFTs with a Larix limited edition, featuring a Larix logo spear.

4\. Formed strategic partnership with Crema Finance.

5\. Featured by Solscan’s weekly spotlight.

6\. metaCOOLLECTIVE DAO is voting to deploy part of their treasury on Larix.


# Larix Monthly Report \[Mar] 2022

### Introduction <a href="#id-274a" id="id-274a"></a>

It has been another exciting month for Larix and we have been busy bringing the best to the community and to the Larix protocol. Being the first Solana lending protocol on the market, it's crucial that we give the best experience and growth possible. This leads to fruitful celebrations in the form of integrations, partnerships, and growth that we get to share.

Let’s take a look at all the great things that we have accomplished this March.

### Larix Listing — UST <a href="#id-6b39" id="id-6b39"></a>

We have an incredible amount of partnerships and integrations for Larix that are worth discussing. It has been a stellar month and Larix is now supported in more places than ever, through wallets, exchange listings, and platform integrations.

For new supported tokens on the platform, we are pleased to integrate the **UST token** on the Larix platform. The integration began with a 38% supply APR and borrow rate of -33% for all users. This will be the highest supply APR and also the lowest APR rate available at the time it goes live. For users of Larix, this is accompanied well by having no borrowing fees on the platform.

### Lending Launchpad <a href="#id-2cb0" id="id-2cb0"></a>

We will also be integrating a new function on the site called the **Lending Launchpad** and increasing functionality for all users. The Lending Launchpad is a new feature that offers isolated asset pools for SPL tokens, enabling more options for tokens to be used for lending. Additionally, we have a process for new listings to be added so we can continue to grow the launchpad and offer the coins people want the most!

If you want to [learn more about the Lending Launchpad, you can read more about it in the official announcement](https://projectlarix.medium.com/what-is-larix-lending-launchpad-4b8a56ec270c).

### Integrations <a href="#a839" id="a839"></a>

Another huge integration was joining forces with **Chainlink** and taking advantage of some of its tools. [An article was published in accordance with the announcement](https://www.web3wire.news/post/larix-integrates-chainlink-price-feeds-helping-secure-lending-and-borrowing?utm_campaign=meetedgar\&utm_medium=social\&utm_source=meetedgar.com) and we expect a full rollout of this integration soon.

Other partnerships and integrations include our partnership with [**SonarWatch**](https://sonar.watch/), where users can track yield farming and liquidity pool performances; and the launch of LARIC-USDC LP on [**Invictus DAO**](https://invictusdao.fi/).

We have also been supported by three new wallets that help extend our reach: **Clover Wallet**, **Huobi Wallet**, and **StrikeX.** Clover Wallet is a completely open-source multi-currency wallet that is made available in any web browser. StrikeX allows you to have fiat on and off ramps while taking advantage of cross-chain swaps. Together we have a great trio of integrations with wallets.

### Internal Growth and Education <a href="#id-34d6" id="id-34d6"></a>

Our growth has included many partnerships but we have been growing internally as well. First, we had two voting options that have resulted in various outcomes. The first was a governance proposal for LARIX to be approved for staking at a rate of 80.9% and this was approved. The second vote was feedback on how DeFi is used. Most people mentioned they use it for borrowing and supply, which helps us track our growth for options in the future.

We also launched two campaigns that helped focus on the growth and utility of the Larix platform and both of them generated great success. One campaign was the distribution of the Larix UI 2.0 event where we released a new version for the overall improvement and ease of use for the dashboard. As part of this event, we gave out LARIX to those that submitted their SLP address and the winners have been selected. Our second campaign was a borrowing contest on the Larix platform where we gave away 60,000 Larix tokens and it was a massive success.

Additionally, we created two educational updates: one on [**how to increase returns for liquidity mining returns**](https://medium.com/@SolanaBeach/unsatisfied-liquidity-mining-returns-b2f78146d837) and another on [**how to use Larix for risk-free yield farming**](https://www.youtube.com/watch?v=kMzPAskmWCI)**.**

### Community News <a href="#e1d1" id="e1d1"></a>

We have also been hard at work around the community and making Larix grow through various outreach events. We now have a new dashboard on Dune Analytics that shows the active users, daily transactions, and much [more on the Dune Analytics dashboard page](https://dune.xyz/parachute/Larix-Dashboard). Additionally, we have reached out to the community in many ways:

* A $3,000 offering via a bug bounty to help encourage a healthy platform
* Community support [through a Twitter thread on the Larix Lending Launchpad](https://twitter.com/thexastronaut/status/1506164585698848772?s=21\&t=xF7RC26QlB823EnD1PeWgA)
* Celebrating our [support for International Women’s Day](https://twitter.com/projectlarix/status/1501149278206820356?s=21)
* [AMA with Dappio](https://twitter.com/projectlarix/status/1507235545541357569?s=21), the yield aggregation platform for DeFi and NFTs
* AMA with Huobi for the Huobi Wallet integration via Twitter Spaces

### Conclusion <a href="#id-5753" id="id-5753"></a>

It has been a jam-packed month of activity from partnerships to support from both inside Larix and from the community. We are thankful for all the support we have received from the community. We are striving to be a stronghold for the lending community on the Solana blockchain and we are committed to bringing more updates in the following month.


# Larix Monthly Report \[April] 2022

Hey Larixers! One month at a time, here comes April! With a new month comes a new mindset, a new focus, and new results.

Here’s what Larix has accomplished this month.

### **Lending Launchpad** <a href="#bf13" id="bf13"></a>

Obviously, April’s star is Larix’s lending launchpad.

It has finally come to pass, the lending launchpad, where more tokens will be available with lending functions.

The impressive Bonfida Pool kicked things off, followed by xSOL Pool and then the highly anticipated Larix Pool.

1. Bonfida Pool: $FIDA, $USDC, $SOL are the first batch listed. With dual mining incentives ($LARIX+$FIDA) for 3 days. TVL reached $5,000,000 in 2 hours, making it the largest Bonfida pool.
2. xSOL Pool: a pool solely devoted to SOL and liquid staking derivatives, include $SOL, $mSOL, $stSOL, $scnSOL and $JSOL. TVL reached $6.5M in one day.
3. Larix Pool: An extra feature of $LARIX that lets you borrow against it or deposit into the pool to earn yield.

### **Partnerships and Integrations** <a href="#bd7e" id="bd7e"></a>

Several integrations took place in April.

1. Aleph.im: Larix is now listed on Aleph.im, the newest indexing platform on Solana. TVLs, Deposits, Withdrawals, Collaterals, Borrows, and Repays are all available to be viewed.
2. Switchboard Oracle: We will make use of Switchboard for price feeds to strengthen our platform capabilities.

### **Community Engagements** <a href="#id-42f4" id="id-42f4"></a>

We like to engage the community and also educate our audience.

1. A Twitter poll was set up to find out whether to support Larix’s LP in the main pool or the isolated pool.
2. A Twitter thread tutorial was published regarding how to maximize Raydium’s LP yields. Twitter Thread link: <https://twitter.com/ProjectLarix/status/1513446640090243077>

### **AMAs** <a href="#d0a6" id="d0a6"></a>

An AMA is always a good venue for introducing our project, communicating and meeting new people.

1. AMA with Crema Finance.
2. AMA in Cipholio Ventures Twitter space.

### **Internal Updates** <a href="#ac2b" id="ac2b"></a>

$LARIX rewards for $soETH and $soFTT were disabled. Users are encouraged to exchange $soETH and $soFTT to Wormhole wrapped versions of $ETH and $FTT respectively and redeposit.

### **Plans for Next Month** <a href="#id-25be" id="id-25be"></a>

1. More projects will be invited to our lending launchpad in the coming months. We are in contact with a number of legitimate projects to add more pools to the lending launchpad. More details on Lending Launchpad:

2\. DAO is currently in development and aligns with the vision of making Larix a decentralized, self-governed protocol that continues to strengthen the adoption of Defi. The community will be invited to vote on critical Larix matters.

<br>


# Larix Monthly Report \[May] 2022

## **Introduction** <a href="#f2f3" id="f2f3"></a>

We are pleased to share another month of activity from Larix and recap what we have been doing with the Larix community. It has been an extremely difficult time in the markets and it has been rough for people and projects alike. We want to preface this recap by saying we’re still committed to what we have been doing all along — offering you the best financial protocol on Solana.

We are very encouraged by the Larix community as well, regardless of the current broader market sentiment.

And with that, let’s take a look at how we have made an impact at Larix for the month of May.

## **Products and Services** <a href="#ab23" id="ab23"></a>

We have added new pools to the Larix Launchpad and are pleased to expand our launchpad offerings with the following pools: xSOL, LARIX, Step, Stepn. Here is a brief on what these pools look like:

* **xSOL Pool**: this is a combination of SOL based assets including SOL, mSOL, stSOL, scnSOL, JSOL, and USDC. [More information can be found in a recent blog post.](https://projectlarix.medium.com/introducing-xsol-pool-96fdff1652e)
* **LARIX Pool:** the LARIX pool is an index pool consisting of LARIX, USDT, USDC, and SOL. Participating in this pool also gives extra benefits including earning interest, using LARIX as collateral, and [more can be found in a Medium post we shared this month.](https://projectlarix.medium.com/introducing-larix-pool-334768683521)
* **Step Pool**: this contains four different assets, namely $STEP, $mSOL, $USDC, and $SOL. Users are incentivized to use the Step pool for $STEP (15 days) & $LARIX (3 days) for Step pool deposits and borrows.
* **Stepn Pool**: There are five assets in the Stepn pool: $GST, $GMT, $USDC, $SOL, and $mSOL. By [Utilizing the Stepn pool](https://projectlarix.medium.com/stepn-pool-new-pool-in-lending-launchpad-9863cc32b554), users can borrow[ ](https://twitter.com/search?q=%24GST\&src=cashtag_click)$GST/[ ](https://twitter.com/search?q=%24GMT\&src=cashtag_click)$GMT to mint more shoes with no borrowing fees! And enjoy[ ](https://twitter.com/search?q=%24LARIX\&src=cashtag_click)$LARIX rewards for 3 days!

In addition to new pools for the Larix platform, we have also finalized and finished the SDK. This allows for new projects to integrate directly with the platform and provide new innovation for both new projects and the Solana ecosystem through the provision of Larix. We are happy to connect with other future projects and grow the ecosystem as a whole.

## **Operational Updates** <a href="#c565" id="c565"></a>

In light of the past month with issues related to $UST and the Terra ecosystem, we have taken some precautions to help ensure the community is protected on our end the best we can. Part of this was to make a decision to disable $UST deposits and set the collateralization rate to 1%, with the liquidation threshold unchanged.

Repayments and withdrawals are not affected.

Additionally, due to our partner’s technical issue, the $LDO reward for the stSOL pool has been suspended for 3 days. We will update the community on any more changes related to $LDO and related updates on this matter.

## **Partnerships and Engagement** <a href="#ddc3" id="ddc3"></a>

Among the updates this month, we are pleased to have partnered with BitKeep Daily. The BitKeep Daily is a service that provides daily news and guides on featured projects that help inform the overall crypto space. If you are looking for more news across the board, BitKeep Daily can provide the information you might need and it goes to help support the Larix community.

In addition, [we held an AMA this month with Penguin Finance](https://twitter.com/png_fi/status/1522607291819732993?s=21). The AMA brought some good discussion and was hosted by the CMO of Larix and the BD of Penguin Finance. Penguin Finance is a liquidity and treasury management protocol for Solana projects and it’s great to collaborate with them for the AMA.

## **Reflection** <a href="#dc0f" id="dc0f"></a>

We are always excited to share with the community what we are doing and the month of May is no exception. Markets always have their ups and downs, but real projects can be defined by their progress during times like these. Larix is committed to bringing more and more integrations, partnerships, and updates to our users and to being a flagship protocol on Solana.

We are pleased to have the Larix community on board and we can’t wait to share what we will be doing in the upcoming months!


# FAQ

{% content-ref url="/pages/-MiuwguimMJPKDE64V2T" %}
[General FAQ](/faq-1/general-faq)
{% endcontent-ref %}

{% content-ref url="/pages/-MiuwpD\_5UFj9\_oGriXB" %}
[Error Explanation](/faq-1/error-explanation)
{% endcontent-ref %}

{% content-ref url="/pages/-MedD1cpJilzCtH3HBJo" %}
[Trouble shooting](/faq-1/faq)
{% endcontent-ref %}

{% content-ref url="/pages/-MclZBBpFIAvNCZTFv49" %}
[Liquidation](/faq-1/liquidation)
{% endcontent-ref %}


# General FAQ

### **Where are my deposited funds stored?**

Your funds are allocated in a smart contract. The code of the smart contract is public, open source, formally verified and audited by third party auditors.&#x20;

### &#xD;How much will I earn?

ltokens holders receive continuous earnings that evolve with market conditions based on:&#x20;

* **The interest rate payment on loans** - depositors share the interests paid by borrowers corresponding to the average borrow rate and the utilization rate. The higher the utilization of a reserve the higher the yield for depositors.
* Each asset has its own market of supply and demand with its own APY (Annual Percentage Yield) which evolves with time.

### &#xD;How much can I borrow?

The maximum amount you can borrow depends on the value you have deposited and the available liquidity. For example, you can’t borrow an asset if there is not enough liquidity or if your borrow limit doesn’t allow you to. You can find every collateral available and its specific parameters for borrowing in the ‘Market’ pag&#x65;**.**&#x20;

### &#xD;Why would I borrow instead of selling my assets?

Selling your assets means closing your position on that particular asset. Hence, if you are long on the asset, you would not be entitled to the potential upside value gain. By borrowing you are able to obtain liquidity (working capital) without selling your assets. Users are mainly borrowing for unexpected expenses, leveraging their holdings, or for new investment opportunities.

### &#xD;What is obligation health?

Total borrow/Total collateral assets

### &#xD;What happens when my obligation health is increased?

Depending on the value fluctuation of your deposits, the obligation health will increase or decrease. If your obligation health decreases, it will improve your borrow position by making the liquidation threshold more unlikely to be reached. In the case that the value of your the borrowed assets against the collateralized assets increase instead, the obligation health is also increasing, causing the risk of liquidation to increase

### &#xD;When do I need to pay back the loan?

There is no fixed time period to pay back the loan. As long as your position is safe, you can borrow for an undefined period. However, as time passes, the accrued interest will grow to make your obligation health increase, which might result in your deposited assets becoming more likely to be liquidated.

### Which situation will trigger liquidation in my account?

When the borrow limit reaches 100%, the account will trigger liquidation. You can check the borrow limit on Larix's official website.

Once 'borrow\_value' => 'borrow\_limit' (borrow\_limit=supply\_value\*collateral factor) the account will trigger liquidation, and the loan will be repaid. For example: the collateral factor of USDT is 0.85, if your debts up to 85U or the value of 85U other assets, you will be liquidated.

### Is liquidation done automatically?

It is not an automatic liquidation, anyone can participate in the liquidation and get the liquidation fee. Because the liquidation robot can perform real-time monitoring, the liquidation robot is generally used to complete the liquidation.

### Question: Why is the liquidation not triggered, but the deposit amount shows that it is less?

Answer: The deposit amount is related to the asset price, and the decline in the asset price will lead to a decline in the value of the asset.

### &#xD;

### How do I avoid liquidation?

To avoid the increase of your obligation health leading to liquidation, you can repay the loan or deposit more assets in order to decrease your obligation health. Out of these two available options, repaying the loan would decrease your obligation health more.

### &#xD;How much is the liquidation penalty?

The liquidation penalty is 8% of liquidated assets.

### Can I participate in the liquidations ecosystem?

Yes, liquidations are open to anyone, but there is a lot of competition. Normally liquidators develop their own solutions and bots to be the first ones liquidating loans to get the liquidation bonus.

### &#xD;Is there any risk?

No platform can be considered entirely risk-free. The risks related to the Larix platform are the smart contract risk (risk of a bug within the protocol code) and liquidation risk (risk on the collateral liquidation process). Every possible step has been taken to minimize the risk as much as possible-- the protocol code is public and open source and it has been audited. Additionally, there is an ongoing [bug bounty campaign](https://aave.com/bug-bounty) live and running. You can find additional risk and security-related information in the [risk framework](https://docs.aave.com/risk/) and [security and audits](https://docs.aave.com/developers/security-and-audits) sections.

## Other：

### Question: How much are the interest rates on Larix?

Answer: It varies between assets. All the supply and borrow interest rates are available on our platform for users to see.

### Question: What is the deposit income？

Answer: Deposit income includes 2 parts. One part is the income of the deposit, and the other part is the LARIX token.

### Question: What is the Net APY?

Answer: Net APY=Supply income (supply interest+supply mining income) - Borrow cost (borrow interset-borrow mining income)

### Question: How to find more detail about specific tokens?

Answer: On the market page of Project Larix, click "Details" on the right side of tokens.&#x20;

### Question: How can I add LARIX？

Answer: Click the '+' on the upper right corner of the Sollet wallet and switch to manual input.

LARIX address: Lrxqnh6ZHKbGy3dcrCED43nsoLkM1LTzU2jRfWe8qUC

Token Name: LARIX

Token Symbol: LARIX


# Raydium LPs FAQ

## What rewards do I get when I stake my Raydium LPs on Larix?

The rewards earned by staking Radium LPs consists of two parts.

1\. Raydium Rewards&#x20;

Typically, LP fee and corresponding token reward is given. This portion of the rewards are auto-reinvested, you do not need to do anything manually. The LP fee portion of the reward is received when you take out LP tokens on Raydium. The token rewards is auto-reinvested, you will see your LP increase in supply balance.&#x20;

Hover over the question mark to get a breakdown of rewards.Go to <https://raydium.io/liquidity/> and remove liquidity to claim the Raydium LP fees.&#x20;

2\. Larix Rewards

LARIX tokens will be rewarded under normal circumstances. Other tokens might be rewarded when there’s dual mining event going on and they would be sent to your wallet every 24 hours. The Larix tokens rewarded can be claimed at the upper right corner of the Larix Dashboard.

![](/files/0wymcnOFSkvi03VlLZXb)


# Error Explanation

#### Type11: 'Input amount is invalid',

* Check the length of the input number, Larix only recognizes 6 digits after the decimal point.
* Check if there are 2 decimal digits in the input number.

#### Type20: 'Insufficient liquidity available',

* The amount borrowed/withdraw is larger than the liquidity of the pool.

#### Type23: 'Withdraw amount too small,

* The input number needs to be larger than 0.000001.

#### Type24: 'Withdraw amount too large',

* The withdraw/repay amount is larger than the deposit amount/borrow amount.

#### Type26: 'Borrow amount too large for deposited collateral amount',

* More collateral is needed to borrow the input amount.
* Borrow amount too large for current collateral.

#### Type27: 'Repay amount too small to transfer liquidity',

* The input number needs to be larger than 0.000001.

#### Type28: 'Liquidation amount too small to receive collateral',

* For example, Ben deposit 2 BTC (BTC price: 50,000) on Larix and borrow 10,000 USDT, which trigger the liquidation process. Alice liquidated 0.1USDT of Ben‘s account, but 0.1 USDT is still less than 0.000001 BTC(smallest unit of BTC). Therefore, although Alice does liquidation for Ben’s account, so she cannot get Ben’s collateral.

#### Type31: 'Borrow limit exceeded',

* The amount typed in is larger than the borrowing limit, try a smaller amount.

#### Type32: 'Obligation owner is invalid',

* Only the obligation owner can operate the position.

#### Type33: 'Obligation deposits are empty ',

* Need to open the collateral button to continue.

#### Type34: 'Obligation borrows are empty',

* There isn’t any borrow asset.

#### Type37: 'Invalid obligation collateral',

* When taking out collateral from Obligation, try to retrieve the collateral corresponding to a Reserve that has not been mortgaged.

#### Type38: 'Invalid obligation liquidity',

* Don’t repay an unborrowed reserve fund

#### Type39: 'Obligation collateral is empty',

* The collateral needs to be opened before borrowing assets.

#### Type40: 'Obligation liquidity is empty',

* The collateral button needs to be opened to get obligation liquidity.
* The borrow assets meet the borrowing limit.

#### Type56:'Deposit amount too large for account balance',

* The deposit amount is larger than the account balance.

#### Type57: 'Withdraw amount too large for deposit balance',

* Withdraw amount is larger than the deposit balance.

#### Type58:'Withdraw amount too large for deposit balance',

* Withdraw amount is larger than deposit balance'

#### Type59: 'Repay amount too large for borrow amount',

* The repay amount is larger than the borrow amount.

#### Type60: 'Deposit is now paused',

* The deposit service for this token is now paused.

#### Type61: 'Borrow is now paused',

* The borrowing service for this token is now paused.

#### Type62: 'Liquidation is now paused',

* The liquidation service is now paused.

#### Type63: 'Cannot withdraw all deposits"',

* Please check if the borrow assets are fully repaid.
* All deposits can be withdrawn after borrow assets are fully repaid.


# Trouble shooting

FAQ for Larix testnet

## About Wallet

#### Question: Why can I not send transactions？

Answer: Make sure you have enough SOL in your wallet to interact with the platform. You must have SOL in your wallet to cover transaction costs -- without it, you won't be able to interact.

**Question: Why can I not send transactions？**

Answer: Make sure you have enough SOL in your wallet to interact with the platform. You must have SOL in your wallet for the transaction costs -- without it, you won't be able to interact.

## Lending and Borrowing

#### Question: I have a problem clicking on Supply.

Answer: 1.Try to refresh the site.

&#x20;2.Make sure your internet connection is working and stable

&#x20;3.Make sure you have enough SOL in your wallet for the transaction costs.

**Question:** **I have supplied and turned on the collateral button and borrowed BTC. Why can't it be withdrawn?**

Answer: 1.Make sure you have enough SOL in your wallet to cover transaction costs.

&#x20;               2.Focus on your withdrawal amount. Do not exceed the withdrawal limit

&#x20;               3.You need to repay your debts before withdrawing your deposit.

**Question: I can't supply or borrow anything right now. My transaction fails and my connection with sollet wallet keep breaking**

Answer:  1.Try to refresh the site

&#x20;               2.Make sure your internet connection is working and stable

&#x20;               3.Make sure you have enough SOL in your wallet for the transaction costs.

**Question: There is still a small amount of borrowed value I can't repay.**

Answer: 1.You must have a sufficient balance to repay.

&#x20;               2.Make sure you have enough SOL in your wallet for the transaction costs.

**Question: I have a problem clicking on Supply.**

Answer: 1.Try to refresh the site.

&#x20;              2.Make sure your internet connection is working and stable

&#x20;              3.Make sure you have enough SOL in your wallet for the transaction costs.

&#x20;              4.Make sure you already get testnet airdrop from Larix

**Question: I have a problem clicking on the withdrawing option...BTC, USDT is working...Remaining 3 options not working?**

Answer: 1.Try to refresh the site

&#x20;               2.Make sure your internet connection is working and stable

&#x20;               3.Make sure if you still have a loan.

**Question: Where's the 'Collateral' button?**

Answer: You need to supply first, then turn on ‘collateral’

**Question: Why cannot withdraw the BTC/ETH/USDT/SOL/DAI supplied before?**

Answer: Please check the liquidity of that token, maybe that token lacks liquidity.

**Question: How to find more detail about specific tokens?**

Answer: On the market page of Project Larix, click "Details" on the right side of tokens.&#x20;

**Question: Why cant I borrow after deposit?**

Answer: Please make sure the collateral factor of the deposit has been switched on.&#x20;

**Question: Max button on ’withdraw‘ is gone and I can't use the slide bar anymore.**

Answer: Confirm your borrow limit. If your borrow limit utilization rate exceeds 85%, your withdraw will increase the risk of liquidation.

#### Question: Why can't I turn off the 'Collateral'?

Answer: Before closing the "Collateral", please confirm that your debts have been repaid. If there are still debts,you can't turn off the collateral.

#### Question: Why can't I 'withdraw' all my deposits?

Answer: You need to repay your debts before withdrawing your deposit.

#### Question: I have supplied and turned on the collateral button and borrowed USDT. Why can't it be withdrawn?

Answer: 1. Make sure you have enough SOL in your wallet to cover transaction costs.

&#x20;               2\. Focus on your withdrawal amount. Do not exceed the withdrawal limit.

## LARIX Mining&#x20;

#### **Question:** Does borrowing lead to a faster mining rate for LARIX token?

Answer: Yes, Borrowing causes LRX to be mined faster. The mining/token distribution rewards increase with higher platform activity from users. Hence, TVL directly influences the amount of LARIX tokens being distributed to users.

#### Question: How can users get the highest possible mining rewards？

Answer:&#x20;

* The rewards of mining is related to the dynamic utilization rate.
* For example: when ‘Utilization Rate= 0%’,the Larix\_distribution\_for\_supplier is 100%,The     Larix\_distribution\_for\_borrower is 0%. At this point, if you borrow even 1 USDT (tiny amount) from liquidity pool, you will be awared all the Daily LARIX distribution. For more details about the distribution of LARIX, you can refer to the 'larix token distribution rate model'.<https://docs.projectlarix.com/tokenomics/larix-token-distribution-rate-model>

**Question: Why is LARIX wallet balance showing 0, I have harvested some tokens.**

Answer: 1.Make sure you already click "Harvest" to collect LARIX.

&#x20;               2.Try to refresh the site

&#x20;               3\. Make sure you add token 'Larix' to wallet.&#x20;

#### Question: How many LARIX will be released daily?

Answer: We have separated our 5-year plan into 3 phases. We are now in Phase 1, the daily release is 1,095,890 Larix.

For more info please visit: <https://docs.projectlarix.com/tokenomics/ltoken>

## Other

**Question: how to swap tokens?**

Answer:  we only have supply and borrow function, if you want to swap tokens, you can go to DEX.


# Liquidation

#### **Obligation Health**&#x20;

* It shows the personal state of liquidation risk, when Obligation Health >100%, your excess borrow will be liquidated by automated liquidation bots.&#x20;

{% content-ref url="/pages/-McrYyLGU4H8Aqh\_OLe1" %}
[Obligation Health](/strategies/position-health-formula)
{% endcontent-ref %}

#### Collateral Factor

* The Collateral Factor shows that the borrow percentage of collaterals.&#x20;
* For now, the collateral factor is 75% for BTC, ETH, SOL, USDT.&#x20;
* This means the borrowed value is 75% (depend on the collateral factor of specific token)of the deposit value.&#x20;
* Low collateral factor means high capital security.&#x20;

#### How can I avoid getting liquidated?

To avoid liquidation you can raise your health factor by depositing more collateral assets or repaying part of your loan (< 75%). Meantime, keeping repayments increases your supply more than deposits.

#### Can I participate in the liquidations ecosystem?

Yes, liquidations are open to anyone, but there is a lot of competition. Normally liquidators develop their own solutions and bots to be the first ones liquidating loans to get the liquidation bonus.&#x20;

#### Liquidation reward for the liquidator

Liquidation reward for the liquidator will be 8% of liquidating amount.&#x20;


# Mainnet


# Main Pool

**Security and safety have always been one of our utmost important core values, we are dedicated to maintain the highest standard of security.** We also have a number of different measures in place to uphold this high standard, such as the assets listing creteria.

A checklist of the criteria for potentially supported assets is as follows:

> 1\. Strong liquidity pool, to prevent price manipulation.
>
> 2\. Full control of token’s minted amount, to prevent over-minting or increasing supply.

The main pool consists of single asset pools and Raydium LP pools. You may lend single assets out for yield, or you may use them as collateral to borrow other tokens. And Larix is the first protocol to support Raydium’s LP as collateral with auto-compounding. You can stake Raydium LP tokens at Larix, or use them as collateral to borrow any single tokens listed on Larix (excluding LPs).

<br>


# Addresses

**Main Pool**

| Description    | Address                                      |
| -------------- | -------------------------------------------- |
| Program        | 7Zb1bGi32pfsrBkzWdqd4dFhUXwp5Nybr1zuaEwN34hy |
| Lending market | 5geyZJdffDBNoMqEbogbPvdgH9ue7NREobtW8M3C1qfe |
| pythProgramID  | FsJ3A3u2vn5cTVofAjvy6y5kwABJAqYWpe4975bi2epH |

**Reserve**

| Description | Address                                      |
| ----------- | -------------------------------------------- |
| USDT        | DC832AzxQMGDaVLGiRQfRCkyXi6PUPjQyQfMbVRRjtKA |
| USDC        | Emq1qT9MyyB5eHfftF5thYme84hoEwh4TCjm31K2Xxif |
| BTC         | 9oxCAYbaien8bqjhsGpfVGEV32GJyQ8fSRMsPzczHTEb |
| soETH       | Egw1PCmsm3kAWnFtKFCJkTwi2EMfBi5P4Zfz6iURonFh |
| SOL         | 2RcrbkGNcfy9mbarLCCRYdW3hxph7pSbP38x35MR2Bjt |
| mSOL        | GaX5diaQz7imMTeNYs5LPAHX6Hq1vKtxjBYzLkjXipMh |
| soFTT       | AwL4nHEPDKL7GW91czV4dUAp72kAwMBq1kBvexUYDBMm |
| SRM         | 9xdoHwJr4tD2zj3QVpWrzafBKgLZUQWZ2UYPkqyAhQf6 |
| RAY         | 7PwLriJiW2hRdviqnCEAHwvL21kptG1gs4jrZPqr3uMf |
| ETH         | 3GixAiDQgnCkMG6JDA1mxnDPHGjYkrNhWSYjLPzzN3Bs |
| stSOL       | FStv7oj29DghUcCRDRJN9sEkB4uuh4SqWBY9pvSQ4Rch |
| FTT         | ErwYs9UCVik6oLKTZgM5TYLMYU2JTVARVawwJKxMEqbp |
| UST         | 4JZs57NTqFPJxNX4HpqjsF9oKtnZnK3fJ7jyuUhnnh6o |
| mSOL-USDC   | DmQn7amR56RdyztqgmdrHF3ZZt7GRUwZUZF4ysRq29Nd |
| mSOL-USDT   | 8e3qLgXHdNYFNY5xcNTn34H9bRb1mhRJmRva6VwnpmWe |
| SOL-USDC    | 7XbqSGrgrWfs2HErvGt3k9vHPBDGHRHSKtz5UxfK2DfH |
| RAY-SOL     | 9ceTcxt18KiZyqXJDqDBiZSbm2iPhGjLwXKnHZYZiF87 |
| SOL-USDT    | AbPtGMVG2XpC7cxqW5hWR6EnaTqKnfpYbzpxeKAmLEUr |
| RAY-soETH   | By2vzoMtUjtziiUZkBd4V5pwFNKeEz4XeZsBXBLGPtoL |
| RAY-USDC    | EJkTqpmUMhvuiirfed1TjArZJvzUiC6Nq3rkRWXvJtuh |
| RAY-USDT    | 43rjwD7obASwjPjCvG8W1vUjkwhAbA95zc2eMa5itDKq |
| ETH-SOL     | FRdb6Q7Mr8dfyjSZMuH9pDEZhHJW2KznhacTSJkxkQjP |
| ETH-USDC    | FKyqkYFmFAEkPhEf6WMFrKuNVpPMYRDVc4fvjheD15o  |


# Lending Launchpad

## What is Lending Launchpad? <a href="#id-7438" id="id-7438"></a>

The core of Lending Launchpad is an isolated pool, offering isolated asset pools for SPL native tokens. Up until now, Larix has only offered cross-collateral pools for supported mainstream assets.&#x20;

The motivation behind this pertains to security as Larix takes security extremely seriously. As all assets can be borrowed against each other in the cross-collateral pool, supporting new assets will be a long and complex process.&#x20;

Therefore, with a lending launchpad, Larix is able to list more tokens that can’t meet the requirements for the cross-collateral pool. You could say, the lending launchpad is a pathway for all SPL native tokens to participate in the lending market.

| Description          | Address                                      |
| -------------------- | -------------------------------------------- |
| Program              | 3cKREQ3Z7ioCQ4oa23uGEuzekhQWPxKiBEZ87WfaAZ5p |
| pythProgramID        | FsJ3A3u2vn5cTVofAjvy6y5kwABJAqYWpe4975bi2epH |
| switchboardProgramID | SW1TCH7qEPTdLsDHRgPuMQjbQxKdH2aBStViMFnt64f  |


# Bonfida Pool

The Bonfida pool has 3 assets: $FIDA, $SOL, and $USDC. By Supplying those tokens, you can earn dynamic APY interests. After supplying and earning APY on assets, you can then borrow against those assets, as the supplied assets are used as collateral for borrowing.

| Description    | Address                                      |
| -------------- | -------------------------------------------- |
| Lending Market | 5enDUZdptakV39Sra9QQYBstJbLVZHHqT74CgeL2fMqV |
| FIDA           | 7tZw5xc2GzXttdgEW4Rj2d3MHm7izt9ceZGugGgnSKBS |
| SOL            | DNAPex89vUaAQaxQPY35UsYuCTfcp79V9Zvo6moQCk2G |
| USDC           | 6P4bZnbS8oSCsdUkK6zQCHfSAW9aREFF5F7k61rS4noP |

**FIDA**

| Parameter            | Value     |
| -------------------- | --------- |
| Collateral Factor    | 60%       |
| Liquidation Threhold | 70%       |
| Deposit Limit        | 2,000,000 |
| Borrow Fee           | 0         |

**SOL**

<table><thead><tr><th>Parameter</th><th>Value</th><th data-hidden></th></tr></thead><tbody><tr><td>Collateral Factor</td><td>80%</td><td></td></tr><tr><td>Liquidation Threhold</td><td>85%</td><td></td></tr><tr><td>Deposit Limit</td><td>30,000</td><td></td></tr><tr><td>Borrow Fee</td><td>0</td><td></td></tr></tbody></table>

**USDC**

<table><thead><tr><th>Parameter</th><th>Value</th><th data-hidden></th></tr></thead><tbody><tr><td>Collateral Factor</td><td>80%</td><td></td></tr><tr><td>Liquidation Threhold</td><td>85%</td><td></td></tr><tr><td>Deposit Limit</td><td>3,000,000</td><td></td></tr><tr><td>Borrow Fee</td><td>0</td><td></td></tr></tbody></table>


# xSOL Pool

By Supplying tokens into our xSOL pool, you can earn dynamic APY interest. After supplying and earning APY on assets, you can then borrow against those assets, as the supplied assets are used as collateral for borrowing. We welcome DeFi enthusiasts to maximize their yields by looping at the Larix xSOL pool.

| Description    | Address                                      |
| -------------- | -------------------------------------------- |
| Lending Market | Cc5BGXYUFRpg9sy16WpwYaB6y82Yp6obhNbA55pCC4ZS |
| SOL            | C8guibu4yK6wpsRrwsvMZdch8EmCUvFVN1CqBaMbY93i |
| mSOL           | 9uLHNUTVqKC5dvJX6yeZxvPTJP3MDqnTVmiCtUS7xKgn |
| stSOL          | GtdzcR7Um1oejq9hSkMZeX4C3kcu69MBLrfLiy88oQ35 |
| scnSOL         | G2tDWNmFqCqpBiQKadGBRvvKUo89KBa9ZK532USbnsLh |
| JSOL           | 4gKbprgcKaZqNbjMPg7JQiRXDG73YbGvGdiP1oPPBgt4 |

**SOL**

<table><thead><tr><th>Parameter</th><th>Value</th><th data-hidden></th></tr></thead><tbody><tr><td>Collateral Factor</td><td>96%</td><td></td></tr><tr><td>Liquidation Threhold</td><td>98%</td><td></td></tr><tr><td>Deposit Limit</td><td>100,000</td><td></td></tr><tr><td>Borrow Fee</td><td>0</td><td></td></tr></tbody></table>

**mSOL**

<table><thead><tr><th>Parameter</th><th>Value</th><th data-hidden></th></tr></thead><tbody><tr><td>Collateral Factor</td><td>96%</td><td></td></tr><tr><td>Liquidation Threhold</td><td>98%</td><td></td></tr><tr><td>Deposit Limit</td><td>100,000</td><td></td></tr><tr><td>Borrow Fee</td><td>0</td><td></td></tr></tbody></table>

**stSOL**

<table><thead><tr><th>Parameter</th><th>Value</th><th data-hidden></th></tr></thead><tbody><tr><td>Collateral Factor</td><td>96%</td><td></td></tr><tr><td>Liquidation Threhold</td><td>98%</td><td></td></tr><tr><td>Deposit Limit</td><td>100,000</td><td></td></tr><tr><td>Borrow Fee</td><td>0</td><td></td></tr></tbody></table>

**scnSOL**

<table><thead><tr><th>Parameter</th><th>Value</th><th data-hidden></th></tr></thead><tbody><tr><td>Collateral Factor</td><td>96%</td><td></td></tr><tr><td>Liquidation Threhold</td><td>98%</td><td></td></tr><tr><td>Deposit Limit</td><td>50,000</td><td></td></tr><tr><td>Borrow Fee</td><td>0</td><td></td></tr></tbody></table>

**JSOL**

<table><thead><tr><th>Parameter</th><th>Value</th><th data-hidden></th></tr></thead><tbody><tr><td>Collateral Factor</td><td>96%</td><td></td></tr><tr><td>Liquidation Threhold</td><td>98%</td><td></td></tr><tr><td>Deposit Limit</td><td>50,000</td><td></td></tr><tr><td>Borrow Fee</td><td>0</td><td></td></tr></tbody></table>


# LARIX Pool

The LARIX pool has 4 assets: LARIX, USDT, USDC, and SOL. By Supplying those tokens, you can earn dynamic APY interest. After supplying and earning APY on assets, you can then borrow against those assets, as the supplied assets are used as collateral for borrowing.

| Description    | Address                                      |
| -------------- | -------------------------------------------- |
| Lending Market | 5abm8NyiDikUaG262iEr76UE8X7M9UsmqgZW2ouNLNDZ |
| LARIX          | CWG9SQdc49Aa5aXpzBYmnA4Kroh4x2pbSktSy4vfwb9h |
| SOL            | DYpnhtEzZ926CY52yiQCrffEFX2S8HP5xfzFV2A3UGmQ |
| USDT           | DbCHKCVni4zHnqZhYdN7eX6yeZFkzFiy78GcCPuJgUZM |
| USDC           | 2PBga1saLhiM9S4ct5z6Gk99TwTFN68hMLBHMF3K9kLe |

**LARIX**

<table><thead><tr><th>Parameter</th><th>Value</th><th data-hidden></th><th data-hidden></th></tr></thead><tbody><tr><td>Collateral Factor</td><td>50%</td><td></td><td></td></tr><tr><td>Liquidation Threhold</td><td>60%</td><td></td><td></td></tr><tr><td>Deposit Limit</td><td>300,000,000</td><td></td><td></td></tr><tr><td>Borrow Fee</td><td>0</td><td></td><td></td></tr></tbody></table>

**SOL**

<table><thead><tr><th>Parameter</th><th>Value</th><th data-hidden></th></tr></thead><tbody><tr><td>Collateral Factor</td><td>50%</td><td></td></tr><tr><td>Liquidation Threhold</td><td>60%</td><td></td></tr><tr><td>Deposit Limit</td><td>10,000</td><td></td></tr><tr><td>Borrow Fee</td><td>0</td><td></td></tr></tbody></table>

**USDT**

<table><thead><tr><th>Parameter</th><th>Value</th><th data-hidden></th></tr></thead><tbody><tr><td>Collateral Factor</td><td>50%</td><td></td></tr><tr><td>Liquidation Threhold</td><td>60%</td><td></td></tr><tr><td>Deposit Limit</td><td>1,000,000</td><td></td></tr><tr><td>Borrow Fee</td><td>0</td><td></td></tr></tbody></table>

**USDC**

<table><thead><tr><th>Parameter</th><th>Value</th><th data-hidden></th></tr></thead><tbody><tr><td>Collateral Factor</td><td>50%</td><td></td></tr><tr><td>Liquidation Threhold</td><td>60%</td><td></td></tr><tr><td>Deposit Limit</td><td>1,000,000</td><td></td></tr><tr><td>Borrow Fee</td><td>0</td><td></td></tr></tbody></table>


# Step Pool

There are four assets in the Step pool: $STEP, $mSOL, $USDC, and $SOL. By Supplying those tokens, you can earn dynamic APY interest. After supplying and earning APY on assets, you can then borrow against those assets, as the supplied assets are used as collateral for borrowing.

| Description    | Address                                      |
| -------------- | -------------------------------------------- |
| Lending Market | 3kKjWexdb97MvYVrUmPRYUUaLgzPdPcThAgFnLtXo8Uw |
| STEP           | 6Wdx7he4sHkFzu1gftovJi9LUjFt9oBsxsycgbqHqXPL |
| USDC           | 8bSYH8GtoAG2oqSJgy3P3LmXdhi3rEhcxM4ydxEsb7FQ |
| SOL            | 99Ngo1nc22ugXEQKck1rRMWNsv9pRgVjHupxoszFMway |
| mSOL           | gjGqrDhfT7sWxs2x8QG2yvNUwRuAhpZeLHwTxYWLbn1  |

**STEP**

<table><thead><tr><th>Parameter</th><th>Value</th><th data-hidden></th></tr></thead><tbody><tr><td>Collateral Factor</td><td>55%</td><td></td></tr><tr><td>Liquidation Threhold</td><td>70%</td><td></td></tr><tr><td>Deposit Limit</td><td>40,000,000</td><td></td></tr><tr><td>Borrow Fee</td><td>0</td><td></td></tr></tbody></table>

**USDC**

<table><thead><tr><th>Parameter</th><th>Value</th><th data-hidden></th></tr></thead><tbody><tr><td>Collateral Factor</td><td>80%</td><td></td></tr><tr><td>Liquidation Threhold</td><td>85%</td><td></td></tr><tr><td>Deposit Limit</td><td>4,000,000</td><td></td></tr><tr><td>Borrow Fee</td><td>0</td><td></td></tr></tbody></table>

**SOL**

<table><thead><tr><th>Parameter</th><th>Value</th><th data-hidden></th></tr></thead><tbody><tr><td>Collateral Factor</td><td>80%</td><td></td></tr><tr><td>Liquidation Threhold</td><td>85%</td><td></td></tr><tr><td>Deposit Limit</td><td>20,000</td><td></td></tr><tr><td>Borrow Fee</td><td>0</td><td></td></tr></tbody></table>

**mSOL**

<table><thead><tr><th>Parameter</th><th>Value</th><th data-hidden></th><th data-hidden></th></tr></thead><tbody><tr><td>Collateral Factor</td><td>80%</td><td></td><td></td></tr><tr><td>Liquidation Threhold</td><td>85%</td><td></td><td></td></tr><tr><td>Deposit Limit</td><td>20,000</td><td></td><td></td></tr><tr><td>Borrow Fee</td><td>0</td><td></td><td></td></tr></tbody></table>


# Stepn Pool

There are five assets in the Stepn pool: $GST, $GMT, $USDC, $SOL, and $mSOL. By Supplying those tokens, you can earn dynamic APY interest. After supplying and earning APY on assets, you can then borrow against those assets as the supplied assets act as collateral.

| Description    | Address                                      |
| -------------- | -------------------------------------------- |
| Lending Market | DRcWrCAKxSoew1YPjNPs8XduiPxS9FCMimsC7VkQwKfj |
| GMT            | 59FqQLRwnWbGxjvN3XSj2pDfUVEbVjBkPY2uYMuhaE1t |
| GST            | FxMF1CvH9U5jMq5MjMYRRvznHbdTRsboohpd7Ahem7AF |
| USDC           | G5ibSTvLmumdkcLr7AknxFCyDBp5ciLKAbSTkpy2Vyga |
| SOL            | 9t35aQDJF28eVFdsRXLNYtynqsho97SXYmNt58haTJDC |
| mSOL           | 8VtdcJrU5gpLZvDxvsaxTtrJX6ayrpeDA6XUZmQ77piF |

**GMT**

<table><thead><tr><th>Parameter</th><th>Value</th><th data-hidden></th></tr></thead><tbody><tr><td>Collateral Factor</td><td>75%</td><td></td></tr><tr><td>Liquidation Threhold</td><td>85%</td><td></td></tr><tr><td>Deposit Limit</td><td>800,000</td><td></td></tr><tr><td>Borrow Fee</td><td>0</td><td></td></tr></tbody></table>

**GST**

<table><thead><tr><th>Parameter</th><th>Value</th><th data-hidden></th></tr></thead><tbody><tr><td>Collateral Factor</td><td>75%</td><td></td></tr><tr><td>Liquidation Threhold</td><td>85%</td><td></td></tr><tr><td>Deposit Limit</td><td>400,000</td><td></td></tr><tr><td>Borrow Fee</td><td>0</td><td></td></tr></tbody></table>

**USDC**

<table><thead><tr><th>Parameter</th><th>Value</th><th data-hidden></th></tr></thead><tbody><tr><td>Collateral Factor</td><td>75%</td><td></td></tr><tr><td>Liquidation Threhold</td><td>85%</td><td></td></tr><tr><td>Deposit Limit</td><td>2,000,000</td><td></td></tr><tr><td>Borrow Fee</td><td>0</td><td></td></tr></tbody></table>

**SOL**

<table><thead><tr><th>Parameter</th><th>Value</th><th data-hidden></th></tr></thead><tbody><tr><td>Collateral Factor</td><td>75%</td><td></td></tr><tr><td>Liquidation Threhold</td><td>85%</td><td></td></tr><tr><td>Deposit Limit</td><td>20,000</td><td></td></tr><tr><td>Borrow Fee</td><td>0</td><td></td></tr></tbody></table>

**mSOL**

<table><thead><tr><th>Parameter</th><th>Value</th><th data-hidden></th></tr></thead><tbody><tr><td>Collateral Factor</td><td>75%</td><td></td></tr><tr><td>Liquidation Threhold</td><td>85%</td><td></td></tr><tr><td>Deposit Limit</td><td>20,000</td><td></td></tr><tr><td>Borrow Fee</td><td>0</td><td></td></tr></tbody></table>


# Devnet

We closed the testnet after the mainnet launch. We will test on the mainnet before listing new coins, update new functions and other operations. Mainnet test environment address: **BDBsJpBPWtMfTgxejekYCWUAJu1mvQshiwrKuTjdEeT3**

**These are some information about the devnet**

**Main Pools**

| Description    | Address                                      |
| -------------- | -------------------------------------------- |
| Program        | BDBsJpBPWtMfTgxejekYCWUAJu1mvQshiwrKuTjdEeT3 |
| Lending Market | DwKvvvwpEmSCf8jDdyACrE2fWDhEnqTtjH2MTfXSAfiq |

**Reserves**

| Description | Address                                      |
| ----------- | -------------------------------------------- |
| USDT        | HdH6SqBqJ1xVpQw4eGVyrxNsVVFPDMgDfX4ZDwoB8RGh |
| USDC        | 3D9EihuiHG4N9Sju5J2A8gg4QLtmMwKGiLHRWB8CkUtv |
| BTC         | 3T29A2imfP2dSXLSf1ML7zq6sJ19hDaKcWr1TgKUXhnA |
| soETH       | HSSR3kBmK4yUKLfiLkexiHYqq4KDGRKDCxZzS5A69ZfR |
| SOL         | CjsAvz7io4BxSWoZSunExSccPxRsVvscCRwAKrMR1VxX |
| mSOL        | E9bUhF1p5VvgLX1iGuAgYWdDPKGY1Ma9rVhN6gDbHkhm |
| soFTT       | 2NJcGBQ71JiJCWF4AnDT3FvJfMNAuRhejbsoRu6rZmKm |
| SRM         | EH449z9H4rx8G5N4MRR3CVDDAm5MpspfVStJo6FShVoo |
| RAY         | DLHd3nkPNsY3mhpLHvqUehEBS6oBupLE1jZtFww8DR4L |
| ETH         | DkT9XL85DPZjQCaVkXXRJqoMNJPxNC271zMkP92EckkX |
| stSOL       | FchB9vZy1Meh5B4rFaTEW2v8mpr29B68SuTADFahCT3X |
| FTT         | 6gdW9iZMS8UsRDGpHVDvsPkfotmd67JQg1ngXT46YQTQ |
| mSOL-USDT   | HMiXrft7yP3i3g51Ee1nzcsimSqZNEgSHB2SB91hGLWq |
| mSOL-USDC   | C76MGe5xX2uyz51op5e7QQmqmmGUHLUWcMqhZGYzBYqT |
| SOL-USDC    | 3FUiYASg5vm4V1awED7eimgCYPbr9Q2Ba6wLLEM7s8ZT |
| RAY-SOL     | Bbsvw2GKXC4UQSXo2eUq8hntBcjrUtbd59rHySerbxSe |
| SOL-USDT    | 5FrUGFhuD3kFoZGhhRN85sEXuXRkzHTXzadKepuqY7CH |
| RAY-soETH   | 8tnp1JtmptRshirRTTnDUvE2v47XNDmW4FzW2zeuorey |
| RAY-USDC    | 3kmHFhQoPYkaxm2iFvED83737gtprppkXRRFvphyLBs1 |
| RAY-USDT    | 8zQ2khmmcgcDpioa1hHQS118tNkh7VMhEPwqjtp84WwN |
| ETH-SOL     | 645zYQCGnBMNRdrmk28VFyY8xthx2km9jFz1s2BYZP3k |
| ETH-USDC    | CnEZByV8ZsG67idVUD68NQzzNa9vebdPQwXP5pqAd6Yt |

**Lending Launchpad**

**Bonfida Pool**

| Description    | Address                                      |
| -------------- | -------------------------------------------- |
| Program        | BDBsJpBPWtMfTgxejekYCWUAJu1mvQshiwrKuTjdEeT3 |
| Lending Market | B2iEKY2YZRuGdvxLXq7cQafbo5QNydYnrPTncdP8EEVG |

**Reserves**

| Description | Address                                      |
| ----------- | -------------------------------------------- |
| USDC        | AQFsRcTQDE4JnaQPaupeCvz3LcTdKvUa6Xv86CAi91hx |
| SOL         | qxPgrCSAUR9T2q94QBqUChgFGnKEiaMx52msXhFtzTm  |
| FIDA        | GeYqzPTAunryobkyDWRVdStjitB7zJJfQCXa3A6HKRMC |

**xSOL pool**

| Description    | Address                                      |
| -------------- | -------------------------------------------- |
| Program        | BDBsJpBPWtMfTgxejekYCWUAJu1mvQshiwrKuTjdEeT3 |
| Lending Market | A4YjWK2yKR4RuGM6KQuBZHK8S8vh62ikLBQyiW6XPeJo |

**Reserves**

| Description | Address                                      |
| ----------- | -------------------------------------------- |
| SOL         | BuTPeCKvy9E1d3VwLTSopzZzMGUEy9PKZJYFy1Wkrxq3 |
| mSOL        | EDxtUQsPoLxPoTL72mjRFR3Daig5ew1qyP6LdqqtfheC |
| stSOL       | HQEV2yFL8fF2tDuMTkASxXvoopHPLoJzyAVdDcjHD6Xe |
| scnSOL      | 4DQkwk7MDwF8G3PmiFF9GXPNBadVox2q7hm2c1aTEirx |
| JSOL        | 22384Qs3hdhttEkvSPAeUrrQcoNVFZseWz6QvLFhdnhR |


# Larix Guide

This guide will show you how to make profits by using Larix: lending, borrowing, and mining functions. First, you have to get a wallet that supports **Solana**.

Let’s use **Sollet** **wallet** as an example.

{% content-ref url="/pages/-MdRXML2V38AyJh-J1Z4" %}
[Step 1:  Get Wallet](/step-by-step-guide/untitled)
{% endcontent-ref %}

{% content-ref url="/pages/-MdR\_1CwfKtuX-T8OaaF" %}
[Step 2: Connect Wallet](/step-by-step-guide/step-3-connect-sollet-to-larix)
{% endcontent-ref %}

{% content-ref url="/pages/-MdR\_mujdlb6CcUDKGBi" %}
[Step 3: Deposit](/step-by-step-guide/step-4-deposit)
{% endcontent-ref %}

{% content-ref url="/pages/-MdRaTjkh68n3-qxOZ4c" %}
[Step 4: Borrow](/step-by-step-guide/step-5-borrow)
{% endcontent-ref %}

{% content-ref url="/pages/-MdRch1GE28Vs5HBr-08" %}
[Step 5: Repay](/step-by-step-guide/step-6-repay)
{% endcontent-ref %}

{% content-ref url="/pages/-MdRcyv3xe428lulJ7m7" %}
[Step 6: Withdraw](/step-by-step-guide/step-7-withdraw)
{% endcontent-ref %}

{% content-ref url="/pages/-MdRdlDMhTAlM0hoac-5" %}
[Step 7: Claim rewards](/step-by-step-guide/step-8-claim-rewards)
{% endcontent-ref %}


# Step 1:  Get Wallet

Wallet is the essential in Blockchain projects, like account in internet. Do not tell anyone about your "seed words" and be careful of the storage.

For now, Larix supports Phantom，Sollet Extension，MathWallet, Coin98, Slope, Solong and Solflare

Let's take Sollet as an example of 'how to get a new wallet'.

### From Chrome Extension:&#x20;

{% embed url="<https://chrome.google.com/webstore/search/sollet?hl=en>" %}

![](/files/-MdUzGk1mjI4ChK6Y9cf)


# Step 2: Connect Wallet

Jump into this step if you already have.

1. Click ‘**Connect**’ on the upper-right corner.&#x20;

![](/files/-MjddVTc2IJIH9FpPXsW)

2\.  Select the wallet you use, we will use sollet extension as example.&#x20;

![](/files/-MjddfTgHjg34Xf7GfKj)


# Step 3: Deposit

Deposit for yield profits or borrow.

As you can see, tokens is now in your wallet.

1. Click ‘**supply**’ on the right side, select which token you want to supply.

![](/files/-MdR_xjKLEiNO1sBFPd7)

2\. Take supply “USDT” as an example.

Directly input or click ‘**Max**’ and “**slider**” below to adjust the supply amount.

Then click ‘**supply**’.

![](/files/-MdRa9Cejs7WGWHJ018R)

3\. Click ‘**Approve**’, then finished.

![](/files/-Mjdf06vbrlHlxlLsixi)


# Step 4: Borrow

Free to borrow after deposit. APY and Price, may two factor influence.

1\. To borrow cryptos, you need to switch the ’**collateral‘** button first.

![](/files/-MdRabUXOX-CWPh9Frbx)

2\. Sollet will pop up and click ‘**approve**’.

![](/files/-Md_iW-n7sOASlYhLUve)

3\. You can start borrow now.

![](/files/-MdRb4_feHq73cVmEnUc)

4\. Choose the asset, and click ’**borrow’**.

![](/files/-MdRcATQKAfanuCRjP0Y)

5\. Input the amount or use ‘Max’ to see borrow Maximum, and adjust by slider bellow (Pledge Factor is 90%).&#x20;

We do not recommend borrow by maximum, since it will easy to cause **liquidation.** Great losses will follow if liquidation happens.

![](/files/-MdRcbjbyX5Ny1EBFHW8)


# Step 5: Repay

Stop borrow, or cut down the amount. Also, repay your token back with interests.

1\. Click ‘**Repay’**.

![](/files/-MdRcowlDEM_XjZSIdRQ)

![](/files/-MdRcueSeAywH8gjN5_Z)


# Step 6: Withdraw

Return your money back and stop yielding.

1. Before withdrawing your money, we need to close ‘**Collateral’** (ensure you have repaid all the debts firstly).

![](/files/-MdRd68tBWpoYr0CHBpA)

2\. Click ‘**Approve**’ when sollet window pops out.

![](/files/-MjdfT67op6jQGMB81MH)

3\. Now click ‘**withdraw**’.

![](/files/-MdRdbSVLauiXVccn2pF)

4\. Input the amount.

![](/files/-MdRdhed1av1H1C2wyde)


# Step 7: Claim rewards

Trading is mining. Bonus rewards.

Larix has announced a newly equipped Defi 2.0 function which enables 10x or 5x boosted mining rewards.

**What is a multiple boosted reward?**

We all know when you supply and borrow at Larix you will receive incentives in $Larix, and we are used to claiming it straight away at any time. Now, there’s a chance to multiply your APR, simply use your claimable $Larix to pair LARIX-USDC LP and lock it for 180 days or 90 days!

**Why do we favor multiple boosted rewards?**

The new function launched by Larix could also benefit its ecosystem in many different ways:&#x20;

After launching the multiple boosted rewards function, Larix users will be able to experience an even higher APR. This increased APR will attract more users to Supply/Borrow, in turn boost the TVL and liquidity of the platform.&#x20;

As this will motivate users to pair LP using LARIX and USDC, it will also help to build a stronger Liquidity pool of LARIX tokens. At the same time, It would be easier to drive up the price of LARIX tokens by locking it.&#x20;

The emission mechanism of LARIX token is relatively conservetive in its tokenomics, locking LARIX tokens for 180 days or 90 days could further reduce the sell pressure on the token price, providing reliable yields for the users while stabilizing token price.&#x20;

On the other hand, by offering boosted yields, this function is also a way to give back and show appreciation towards long term LARIX holders and investors that believe in the platform.&#x20;

**If you are interested in trying out this exciting new function,here’s how to proceed.**

1.To claim your LARIX, click on the tab at the top right corner of the Larix website, a pop-up will appear.

![](/files/UHSfR7cGT74j9qR3A5b4)

2.Click on ’Claim Now’ to claim your LARIX immediately, but you will loss the additional rewards provided. Click on ‘Rewards x10’ or ‘Rewards x5’ to generate LP and multiply your rewards. A new pop-up will appear.

![](/files/ZOUtg5wlsOTAWoX3Ly2L)

3.Drag the bar in the middle to decide how much you would like to stake, then click on ‘Stake to generate LP’, the LP will appear in your account automatically.

![](/files/ANz2AlCiY48Xe4cHQqpl)

4.If the button at the bottom shows ‘Insufficient USDC Balance’, this means there’s not enough USDC in your wallet to form LP pairs with LARIX for the amount of LPs you want to generate. In this case, adjust the amount of LPs you want to generate using the bar in the middle of the pop-up,or you could add more USDC to your wallet.

![](/files/nlwFw1O0DyShq4xG7LT8)

5.Once you have generated the LP, close the pop-up. Click on the tab at the top right corner again, and click on ‘See details’ to view your LP in more details.

![](/files/nVaEG2pAQb2e1aOVghPt)


# Interest Rate Model

![Interest Rate Model](/files/-MhWXCVVieUfrfaK4bLb)

### Parameters&#xD;

* The purple line represents the Borrow APR according to Utilization Rate and the blue line represents the Supply APY.
* Max/Min Supply APY, Max/Min Borrow APR, Inflection Point (Kink Rate) are five key points in the IR model, which determines variable interval and speed.
* Kink Rate seeks to govern the self-protection properties of the IR Model in case of an extreme situation of Utilization Rate; if the UR exceeds the Kink Rate, it will trigger the Supply APY/Borrow APR to significantly increase to encourage supply call-back to borrow.
* Inflection Point APY/APR are constants, which is algorithmically determined values that safeguard the model.

### Borrow APR Formula (Simple Interest)

#### 0\~Kink Rate:

![](/files/-MhWYTQUoAWXNhw8fZ0o)

Tips:

If current Utilization Rate < Kink Rate, the Borrow APR and Supply APY will smoothly fluctuate coordinately with the UR, which is a great opportunity for users to supply/borrow.

#### Kink Rate\~100%:

![](/files/-MhWYy24Sgn3H-yhCbLA)

Tips: &#x20;

If current Utilization Rate > Kink Rate, the Borrow APR and Supply APY will rapidly increase as the utilization increases, which is unprofitable, rendering it unsecure to borrow. Similarly, it becomes very profitable for suppliers with considerable APY returns (50%+).

#### Borrow APR Formula (Compound Interest)

![](/files/-MhWZVE1nLtVwTsiNfND)

Tips:&#x20;

Based on the Dynamic IR Model, Borrow APR varies each time with UR changes, so Compound Borrow APR is decided by Single Borrow APR, which is related to slot speed of Solana­.

### &#xD;Supply APY (Compound Interest)

![](/files/-MhW_Cs-a93nbZ_JParg)

* Reserve\_owner\_fee\_rate =0.20 (the commission fee is 20%)
* Larix protocol will only charge a commission fee (Reserve Owner Fee) once during the whole supply and borrow process
* Supply APY varies with UR which is dynamic by user behaviors
* Larix protocol does not charge any operation fee, gas fee is paid for utilizing the Solana chain

Tips：The commission rate does not depend on the number of platform transaction, but only UR.


# Mathematics

{% content-ref url="/pages/-MclZEaVjiTAz3evA7A8" %}
[APY](/strategies/economic-modeling-and-simulation)
{% endcontent-ref %}

{% content-ref url="/pages/-McrYW0gyOt9tOk449kn" %}
[Mining](/strategies/mining-reward-model)
{% endcontent-ref %}

{% content-ref url="/pages/-MdRnkLsjkpXpvdByl02" %}
[Price Feed](/strategies/price-oracle)
{% endcontent-ref %}

{% content-ref url="/pages/-McrYyLGU4H8Aqh\_OLe1" %}
[Obligation Health](/strategies/position-health-formula)
{% endcontent-ref %}


# APY

Annual Percentage Yield

#### Borrow APY

\[IRM(utilizatio&#x6E;*\_*&#x72;ate) / slot&#x73;*\_*&#x70;e&#x72;*\_*&#x79;ear + 1] ^ slot&#x73;*\_*&#x70;e&#x72;*\_*&#x79;ear

```rust
let slot_interest_rate = current_borrow_rate.try_div(SLOTS_PER_YEAR)?;
let compounded_interest_rate = Rate::one()
     .try_add(slot_interest_rate)?
     .try_pow(slots_elapsed)?;
 self.cumulative_borrow_rate_wads = self
     .cumulative_borrow_rate_wads
     .try_mul(compounded_interest_rate)?;
self.borrowed_amount_wads = self
     .borrowed_amount_wads
     .try_mul(compounded_interest_rate)?;
      Ok(())
```

**Supply APY**

(borro&#x77;*\_apy* - platfor&#x6D;*\_*&#x70;rofit) / (tota&#x6C;*\_*&#x62;orrow / tota&#x6C;*\_*&#x73;upply)

**IRM**

```rust
// Calculate the current borrow rate
    pub fn current_borrow_rate(&self) -> Result<Rate, ProgramError> {
        let utilization_rate = self.liquidity.utilization_rate()?;
        let optimal_utilization_rate = Rate::from_percent(self.config.optimal_utilization_rate);        
        let low_utilization = utilization_rate < optimal_utilization_rate;
        if low_utilization || self.config.optimal_utilization_rate == 100 {
            let normalized_rate = utilization_rate.try_div(optimal_utilization_rate)?
            let min_rate = Rate::from_percent(self.config.min_borrow_rate);
            let rate_range = Rate::from_percent(
                self.config
                    .optimal_borrow_rate
                    .checked_sub(self.config.min_borrow_rate)
                    .ok_or(LendingError::MathOverflow)?,
            );
            Ok(normalized_rate.try_mul(rate_range)?.try_add(min_rate)?)
        } else {
            let normalized_rate = utilization_rate
                .try_sub(optimal_utilization_rate)?
                .try_div(Rate::from_percent(
                    100u8
                        .checked_sub(self.config.optimal_utilization_rate)
                        .ok_or(LendingError::MathOverflow)?,
                ))?;
            let min_rate = Rate::from_percent(self.config.optimal_borrow_rate);
            let rate_range = Rate::from_percent(
                self.config
                    .max_borrow_rate
                    .checked_sub(self.config.optimal_borrow_rate)
                    .ok_or(LendingError::MathOverflow)?,
            );
  
            Ok(normalized_rate.try_mul(rate_range)?.try_add(min_rate)?)  
         }  
     }
```


# Mining

#### Supply Mining APY

\[AM(utilization\_rate) \* mining\_speed \* larix\_price] / total\_supply\_value

```rust
let lend_side_mine_ratio = Mining::get_lend_side_ratio(util_rate, bonus.kink_util_rate)?;   
let lend_side_mine_coeff_diff = mine_speed
.try_mul(lend_side_mine_ratio)?
.try_mul(slots_elapsed)?
.try_div(total_l_token_amount)?;
```

#### Borrow Mining APY

\[(1 - AM(utilization\_rate)) \* mining\_speed \* larix\_price] / total\_borrow\_value

```rust
let borrow_side_mine_amount = bonus.borrow_mining_index
.try_sub(mining.borrow_mining_indices[pos])?
.try_mul(user_borrow_amount)?
.try_div(global_borrow_interest_index)?;
```

**AM**

```rust
if self.collateral.mint_total_supply == 0 as u64 {
            return Ok((Rate::zero(),Rate::zero()));
        }
        if self.liquidity.borrowed_amount_wads.lt(&Decimal::one()){
            return Ok((Rate::one(),Rate::zero()));
        }
        
        let utilization_rate = self.liquidity.utilization_rate()?;
        let kink_rate =  Rate::try_from(
                            Decimal::from(self.bonus.kink_util_rate).try_div(Decimal::from(10000 as u64))?
                                )?;
        if  utilization_rate < kink_rate {
            let normalized_rate = utilization_rate.try_div(kink_rate)?;
            let min_rate = Rate::from_percent(0);
            let rate_range = Rate::from_percent(50);
            let mining_rate = normalized_rate.try_mul(rate_range)?.try_add(min_rate)?;
        
            Ok((mining_rate,Rate::one().try_sub(mining_rate)?))
        } else {
            let normalized_rate = utilization_rate
                .try_sub(kink_rate)?
                .try_div(Rate::from_percent(100u8).try_sub(kink_rate)?)?;
            let min_rate = Rate::from_percent(50);
            let rate_range = Rate::from_percent(100u8).try_sub(min_rate)?;
            let mining_rate = normalized_rate.try_mul(rate_range)?.try_add(min_rate)?;
            Ok((mining_rate,Rate::one().try_sub(mining_rate)?))
        }
```


# Price Feed

{% embed url="<https://pyth.network/>" %}

{% embed url="<https://www.binance.com/en/markets>" %}

{% embed url="<https://ftx.com/>" %}

{% embed url="<https://www.okex.com/markets/prices>" %}


# Obligation Health

Shows if you have the risk to be liquidated.

#### For each obligation

![](/files/eKs4gTz6TyyD03Cvy7Nb)

#### Coding

```rust
let deposit_reserve_info = next_account_info(account_info_iter)?;
if deposit_reserve_info.owner != program_id {
    msg!(
         "Deposit reserve provided for collateral {} is not owned by the lending program",
         index
            );
return Err(LendingError::InvalidAccountOwner.into());
        }
        
if collateral.deposit_reserve != *deposit_reserve_info.key {
    msg!(
        "Deposit reserve of collateral {} does not match the deposit reserve provided",
        index
            );
return Err(LendingError::InvalidAccountInput.into());
        }
```

```rust
let deposit_reserve = Reserve::unpack(&deposit_reserve_info.data.borrow())?;
if deposit_reserve.last_update.is_stale(clock.slot)? {
    msg!( "Deposit reserve provided for collateral {} is stale and must be refreshed in the current slot",
    index);
return Err(LendingError::ReserveStale.into());}
// @TODO: add lookup table https://git.io/JOCYq
let decimals = 10u64
.checked_pow(deposit_reserve.liquidity.mint_decimals as u32)
.ok_or(LendingError::MathOverflow)?;
```

```rust
let market_value = deposit_reserve
.collateral_exchange_rate()?
.decimal_collateral_to_liquidity(collateral.deposited_amount.into())?
.try_mul(deposit_reserve.liquidity.market_price)?
.try_div(decimals)?;
collateral.market_value = market_value;
```

```rust
for (index, liquidity) in obligation.borrows.iter_mut().enumerate() {
    let borrow_reserve_info = next_account_info(account_info_iter)?;
    if borrow_reserve_info.owner != program_id {
        msg!("Borrow reserve provided for liquidity {} is not owned by the lending program",
        index
    );
return Err(LendingError::InvalidAccountOwner.into());
        }
if liquidity.borrow_reserve != *borrow_reserve_info.key {
msg!(
 "Borrow reserve of liquidity {} does not match the borrow reserve provided",
  index
);
return Err(LendingError::InvalidAccountInput.into());
}
```

```rust
let borrow_reserve = Reserve::unpack(&borrow_reserve_info.data.borrow())?;
if borrow_reserve.last_update.is_stale(clock.slot)? {
  msg!(
"Borrow reserve provided for liquidity {} is stale and must be refreshed in the current slot",
  index
);
return Err(LendingError::ReserveStale.into());
}
```

```rust
liquidity.accrue_interest(borrow_reserve.liquidity.cumulative_borrow_rate_wads)?;

// @TODO: add lookup table https://git.io/JOCYq
let decimals = 10u64
.checked_pow(borrow_reserve.liquidity.mint_decimals as u32)
.ok_or(LendingError::MathOverflow)?;
        
let market_value = liquidity
.borrowed_amount_wads
.try_mul(borrow_reserve.liquidity.market_price)?
.try_div(decimals)?;
liquidity.market_value = market_value;

borrowed_value = borrowed_value.try_add(market_value)?;
    }
```


# Function

### Supply

By Supplying crypto tokens, stablecoins, and synthetic assets, users can earn dynamic APY interest. The supply amount is flexible, and you can keep supplying based on the low transaction fees on Solana and Quick withdrawals in 0.001s.

### Borrow&#x20;

After supplying and earning APY on assets, you can then borrow against those assets, as the supplied assets are used as collateral for borrowing. For example, earn APY on your BTC or ETH and additionally use it as collateral to borrow USDC or USDT.

### Liquidation&#x20;

You should remember that 'borrow\_value' is always less than 'supply\_value' because of the collateral factor. Once 'borrow\_value' => 'borrow\_limit' (borrow\_limit=supply\_value\*collateral factor), the account will trigger liquidation, and the loan will be repaid.

### How to avoid liquidation?&#x20;

You can choose a small 'collateral factor' (collateral factor=borrow\_value/supply\_value), the maximum collateral factor is 85%. Small CF means less ‘borrow\_value’, but higher safety.

### Distribution&#x20;

By supplying/borrowing on Larix Lending Protocol, users can get ‘LARIX’ token rewards, in addition to APY interests. Different token pools have different mining distributions divided by dynamic TVL markets.


# Design and Principle of the Liquidation

The design and principle of the Liquidation process on Larix

## Product logic of Larix

Flowchart of User deposits, collateral and borrow limit:&#x20;

![](/files/-MlTuNxZT8DCF1CmMkni)

If the collateral button of an asset is not switched on, then it won’t be liquidated.

### **Parameters:**

* **Collateral factor:**  The maximum amount users can borrow is limited by the collateral factors of the assets they have supplied.&#x20;
* **Liquidation line:** The max debt ratio that an account can achieve before liquidation. It is designed to protect user assets from small price fluctuations.
* **L-Token:** Deposit proof
* **Liquidation Reward:** The reward for liquidation Initiator in the main pool,Bonfida pool,LARIX pool are 8% of the total liquidated value. The reward for liquidation Initiator in the xSOL pool is 2% of the total liquidated value.&#x20;

### &#xD;**Role play：**

![](/files/-MlTuzV5wmSskdveT-hb)

![](/files/-MlTv3ZdVMOCXOh7VA5W)

### **Several possible reasons leading to liquidation:**

#### The floating value of collateral changes:

* Withdrawing part of collateral increases debt ratio
* The price of collateralized token decreases

#### The floating value of borrowings changes:

* The interest of loans continuously increases.
* The price of borrowed assets increases

## Liquidation process:

### **1. Liquidate instruction**

#### 1.1   - Repay the borrowed assets for the liquidated account:

* Only one type of asset can be liquidated each time.
* The ‘asset to repay’ and ‘asset to seize’ can be selected by the liquidator.
* The liquidation limit amount is half that of total borrowed value of the selected token.
* Liquidated\_amount < 0.5 **\*** total\_borrowed\_value\_of\_chosen\_token
* Liquidated\_value \* 1.08 < The\_value\_of\_asset\_to\_seize (Main Pool,Bonfida Pool,LARIX Pool)
* Liquidated\_value \* 1.02 < The\_value\_of\_asset\_to\_seize (xSOL Pool)

#### 1.2 - Seize the mortgaged assets:

* Only one type of asset can be seized each time.
* The\_value\_asset\_to\_seize > 1.08 \* Liquidated\_value (Main Pool,Bonfida Pool,LARIX Pool)
* The\_value\_asset\_to\_seize > 1.02 \* Liquidated\_value (xSOL Pool)

**2. Convert the seized asset**

* Since the seized asset is L-Token, it can be converted back to the corresponding asset.
* The converting function is automatically completed by Larix front-end.

## **Tips:**

During an extreme market event with high volatile token prices that fluctuate greatly, there will be

* more clearable accounts on the platform.
* clearable amounts will be relatively larger
* an increase in the liquidation rewards

Therefore, it will attract more robots for arbitrage and the liquidations will become more timely.


# Access Controls

Larix program ID "7Zb1bGi32pfsrBkzWdqd4dFhUXwp5Nybr1zuaEwN34hy" with the owner "GwqwyQqJ5kr3X7iUDQKgJ1FJYjxmCieiY5PikmMbsL1Q", is controlled by the Larix team. Since the Solana blockchain is still in the beta version, our program can be upgraded in order to fix the errors in a timely manner if deemed absolutely necessary. Currently, our program does not have time locks, but later we will change the protocol to community governance and add time locks simultaneously.

| Description       | Address                                      |
| ----------------- | -------------------------------------------- |
| Program           | 7Zb1bGi32pfsrBkzWdqd4dFhUXwp5Nybr1zuaEwN34hy |
| Upgrade authority | GwqwyQqJ5kr3X7iUDQKgJ1FJYjxmCieiY5PikmMbsL1Q |

Our code is not "Anchor verified" yet, but we will look into doing so soon.

This lending market owner contains all the reserves of our main pool and the isolated pools from the Lending Launchpad. We transmit a tx through lending market owner to suspend deposit, borrowing, and withdrawal. We allow withdrawal suspension only in case of major security incidents, i.e. preventing hackers from withdrawing funds. We are also able to adjust deposit and borrow limits respectively and parameter configuration to ensure the utmost security of the protocol, but we cannot take control of users' assets.

We will explain the purpose of this through the following 2 examples:&#x20;

**Adjust the collateral factor\&Suspend the deposit function**: When UST lost it's peg, we [adjusted the collateral factor of UST](https://solscan.io/tx/je9tFniFYpisHCNsbC4VUAWnhivdkfRJpun1VjZysigdBckZr6SBFcCWXthtayW35YMjA14bvS3hrsPAu2V1Uds) in a timely manner and [suspended the deposit function of UST](https://solscan.io/tx/571rBMHbzQ2hTQKY456yfDkPk4PAsCeHPqvEUJN6oXbCn8z4Acr4xyYdvQSwS3Qj1fPqpZcm9qaWnoBjmzEorBtm), to protect the protocol and the security of user assets.&#x20;

**Adjustment of deposit and borrow limits**: During the attack on Solana’s cross-chain bridge Wormhole, hackers minted 120,000 wETH. In order to prevent losses caused by the 'depeg' of ETH and wETH, we lowered the wETH collateral factor and deposit limit in a timely manner. Please refer to [product update](/product-update) for the latest collateral factor and deposit limit information.

| Description          | Address                                      |
| -------------------- | -------------------------------------------- |
| Lending market owner | EknzKAAkFzbD1mY7ovWZVtuFptgetn5yw99LSqfE6XH9 |


# Security

**Improvement for Liquidation Risk**&#x20;

* You run the risk of being liquidated if the price of the borrowed asset appreciates against the deposit token. Your position will be liquidated when the Debt Ratio (debt/collateral value) reaches the Collateral Factor.&#x20;
* This can be mitigated by maintaining a lower Debt Ratio on the borrowed tokens, monitoring positions during volatile market conditions, and taking notice before reaching the liquidation parameters.

**Improvement for Smart Contract Risks**‌

* Smart contracts are audited by third-party firms, they could theoretically have vulnerabilities.
* **Mitigation:** We run a bug bounty program to provide incentives for people who find vulnerabilities in our live code and come to us as opposed to exploiting them.

#### Itoken contract address

| ltoken | Contract address                             |
| ------ | -------------------------------------------- |
| USDT   | 68sovRJnn5EPdXNkQaj4F1qGP3NDpTrMDEXiKGEJgwBh |
| BTC    | 8c5Fw4B9zmeesVx2WgGu6Yg1iE9P5SWTUormPPL8e8CV |
| ETH    | AcL3J4XYCAaawzBYGqVMm3qt1Jnuqaq1vLqUmBFn6ftB |
| SOL    | ArWoXQYvvERzuoeGTpyyvf7pNNVEPB3x7kQg5W6zQdaB |
| FTT    | 4vRsyJ8bDxEXxpiakS4jHtpCbGf7YQjrU9b1Wuj9eoyx |
| SRM    | 9yoGvCPSFqfgHCyyhb7iVQcNTscFbAqRTbn6XuGUi8xa |
| USDC   | DTXPsgtcHgbiHaZYm4q6SWJYLNT1zGbGbxN2ZbETxcB2 |

{% content-ref url="/pages/-MdRwDr\_\_OYqzJCFTs1W" %}
[Bug Bounty Reward](/how-to-prove/bug-bounty-reward)
{% endcontent-ref %}

{% content-ref url="/pages/-Md\_Nh\_DCbNtXlknCfRb" %}
[Audit](/how-to-prove/audit)
{% endcontent-ref %}


# Bug Bounty Reward

Security is core to our values, and we value the input of hackers acting in good faith to help us maintain the highest standard for the security and safety of the Solana ecosystem. The Larix protocol, while it has gone through professional audits and formal verification, depends on new technology that may contain undiscovered vulnerabilities.

Larix encourages the community to audit our contracts and security; we also encourage the responsible disclosure of any issues. This program is intended to recognize the value of working with the community of independent security researchers and sets out our definition of good faith in the context of finding and reporting vulnerabilities, as well as what you can expect from us in return.

**Rewards**

Larix offers substantial rewards for discoveries that can prevent the loss of assets, the freezing of assets, or harm to a user, commensurate with the severity and exploitability of the vulnerability. Larix will pay a reward of $500 to $150,000 for eligible discoveries according to the terms and conditions provided below.

**Scope**

The primary scope of the bug bounty program is for vulnerabilities affecting the on-chain Larix Protocol, deployed to the Solana Mainnet, for contract addresses listed in this developer documentation.

This list may change as new contracts are deployed, or as existing contracts are removed from usage. Vulnerabilities in contracts built on top of the Protocol by third-party developers (such as smart contract wallets) are not in-scope, nor are vulnerabilities that require ownership of an admin key.

To be eligible for bug bounty reward consideration, you must:

* Identify an original, previously unreported, non-public vulnerability within the scope of the Larix bug bounty program as described above.
* Include sufficient detail in your disclosure to enable our engineers to quickly reproduce, understand, and fix the vulnerability.
* Be at least 18 years of age.
* Be reporting in an individual capacity, or if employed by a company, reporting with the company’s written approval to submit a disclosure to Larix.
* Not be a current or former Larix employee, vendor, contractor, or employee of a Larix vendor or contractor.

To encourage vulnerability research and to avoid any confusion between good-faith hacking and malicious attack, we require that you:

* Play by the rules, including following the terms and conditions of this program and any other relevant agreements. If there is any inconsistency between this program and any other relevant agreements, the terms of this program will prevail.
* Report any vulnerability you’ve discovered promptly.
* Avoid violating the privacy of others, disrupting our systems, destroying data, or harming user experience.
* Use only <projectlarix@gmail.com> to discuss vulnerabilities with us.
* Keep the details of any discovered vulnerabilities confidential until they are fixed.
* Perform testing only on in-scope systems, and respect systems and activities which are out-of-scope.
* Only interact with accounts you own or with explicit permission from the account holder.
* Not engage in blackmail, extortion, or any other unlawful conduct.

When working with us according to this program, you can expect us to:

* Pay generous rewards for eligible discoveries based on the severity and exploitability of the discovery, at Larix’s sole discretion
* Extend Safe Harbor for your vulnerability research that is related to this program, meaning we will not threaten or bring any legal action against anyone who makes a good faith effort to comply with our bug bounty program.
* Work with you to understand and validate your report, including a timely initial response to the submission.
* Work to remediate discovered vulnerabilities in a timely manner.
* Recognize your contribution to improving our security if you are the first to report a unique vulnerability, and your report triggers a code or configuration change.

**All reward determinations, including eligibility and payment amount, are made at Larix’s sole discretion. Larix reserves the right to reject submissions and alter the terms and conditions of this program.**


# Audit

Slowmist:

Official site: [https://www.slowmist.com/](https://www.slowmist.com/en/?lang=en)

{% file src="/files/-MjDIaEY-WImsAeu6doF" %}
Slowmist Audit Report
{% endfile %}


# Oracles

Larix's platform is dependent on the market feeds of two pricing oracles:

Main Pools:[Pyth](https://pyth.network/)

Lending Launchpad:[Pyth](https://pyth.network/) & [Switchboard](https://switchboard.xyz/explorer)


# LARIX

LARIX is token economy for DAO and long-term investment.

Token address: Lrxqnh6ZHKbGy3dcrCED43nsoLkM1LTzU2jRfWe8qUC

Token Name: LARIX&#x20;

Token Symbol: LARIX&#x20;

Decimal:6

Larix has a **maximum supply of 10,000,000,000 (10 billion) tokens**, which are allocated to mining and platform users, foundation and treasure function,  team, and investors.

\[**Mining & Pool Reserve**] is the part reserve for users to mining and enjoy liquidity pool. The details will be introduced in the following link:

{% content-ref url="/pages/-Mcl\_8oR6KVhqRmHvwbV" %}
[Larix Distribution](/tokenomics/ltoken)
{% endcontent-ref %}

\[**Treasury & Eco-Build**] facilitates the eco-system build-up, necessary incubation investment, and partnership.&#x20;

\[**Marketing & Ops**] covers operational events, marketing campaigns, Initial Lending Offering (ILO) participation, etc.&#x20;

\[**Investors & Team**] are eligible for 1/36 of the total assigned tokens on the first day of each month after the 12-month cliff period.

![](/files/-Mda6QmAKE2RtSa1yJdW)


# Buy LARIX

## Gate:

#### LARIX/USDT:&#x20;

{% embed url="<https://www.gate.io/en/trade/LARIX_USDT>" %}

#### LARIX/ETH:

{% embed url="<https://www.gate.io/en/trade/LARIX_ETH>" %}

## MXC:

#### LARIX/USDT:&#x20;

{% embed url="<https://www.mexc.com/exchange/LARIX_USDT>" %}

## Bitmart:

#### LARIX/USDC:&#x20;

{% embed url="<https://www.bitmart.com/trade/en?symbol=LARIX_USDC&layout=basic>" %}

#### LARIX/USDT:&#x20;

{% embed url="<https://www.bitmart.com/trade/en?symbol=LARIX_USDT&layout=basic>" %}


# b30LARIX

[Larix](https://projectlarix.com/) is using [Socean Streams](https://soceanfinance.medium.com/introducing-socean-streams-bff49f7d3ce3) to sell bLARIX.This allows long-term buyers to purchase LARIX at a discount.

## Why should I buy b30LARIX? <a href="#df17" id="df17"></a>

Buying bLARIX gives you a great way to support Larix. If you believe that LARIX is currently undervalued and will appreciate in the future, you can buy bLARIX and in return get a better price for doing so.

## **How to participate in b30LARIX descending auction？**

The b30LARIX tokens will be sold via a descending auction mechanism!And all USDC from selling b30LARIX will be added to the LARIX-USDC liquidity pool.

![](/files/SYHENFtO4T8jC70EeXCG)

The price of the b30Larix tokens will decrease over time (from ceiling down to a floor), but people who buy will reset the price to hit ceiling price! &#x20;

![](/files/SFOv8GroyAoYh4nap31M)

Desceding auction differs from traditional auction, the initial price is not the lowest price duirng the auction process. So you should jump in when you see a price that you like.&#x20;

The diagrams below clearly illustrated how the descending auction mechanism works.

![](/files/4w0W0D6ZOtWXjOL11iuH)

![](/files/pfl9Qp4dtDNWllovGVAn)


# Larix Distribution

Larix has a **maximum supply of 10,000,000,000 (10 billion) tokens**, which are allocated to mining and platform users, foundation and treasure function,  team,  and investors. \[**Mining & Pool Reserve**] accounts for 55% of all.&#x20;

![](/files/-MkG_p1oGWGsPrMfTkEr)

* Daily release is an average number, actual release is dynamically changed.

The \[**Mining & Pool Reserve**] is split into 3 portions to cover the 3 project phases over 5 years horizon. By design, 20% of the tokens are used for mining to enhance the APY of borrowing and lending. 10% and 25% of tokens incentivize the initiatives under Phase 2 and Phase 3 business planning respectively. The exact token allocation among the three phases may vary depending on market condition and product roll-out.


# LARIX Token Distribution Rate Model

![](/files/-MhXFBKm0DYbZjiVHbTH)

### &#xD;Parameters

#### &#xD;1\) Independent Variables

* Optimal Utilization Rate: 50% (Borrow/Supply=0.5)

#### 2) Dependent Variables

* Supply Distribution Rate
* Borrow Distribution Rate

#### 3) Constant

* Daily Distribution Speed
* Daily Distribution Amount

### &#xD;Formulas

![](/files/-MhXGec9eePKWevHpNN_)

![](/files/-MhXHeS5-T502rrLA6JK)

### &#xD;Variations

#### &#xD;1, When **‘Utilization Rate= 0%’**, which is located at blue point in the Graph 1,

* The Larix\_distribution\_for\_supplier is 100%.
* The Larix\_distribution\_for\_borrower is 0%.
* At this point, if you borrow even 1 USDT (tiny amount) from liquidity pool, you will be awared all the Daily LARIX distribution.

The purpose of this is to encourage users to borrow assets from Larix when the utilization is 0% (the first borrower will get all the distribution rewards until the second borrow er appears) Supply Distribution will jump from 100% to 0% at this point.

#### 2, &#xD;When **‘0\<Utilization Rate<50%’**, which is located between the blue point and the red point in the Graph 1,

* The Larix\_distribution\_for\_supplier is increases from 0%-50% as the utilization increases.
* The Larix\_distribution\_for\_borrower decreases from 100%-50% as the utilization increases.
* At this point, borrower will share more percentage of mining rewards than supplier.

The purpose of this is to encourage users to borrow from Larix when the utilization is less than 50%.

#### 3,&#xD; When **‘Utilization Rate=50%’**, which is located at red point in the Graph 1,

* The Larix\_distribution\_for\_supplier is 50%.
* The Larix\_distribution\_for\_borrower is 50%.
* At this point, suppliers and borrowers will have same percentage of LARIX distribution rewards. The purpose of this is to encourage the market to maintain the utilization when the utilization is 50%.

#### 4, When **‘50%\<Utilization Rate<100%’**, which is located between the blue point and the red point in the Graph 1,

* the Larix\_distribution\_for\_supplier is increasing from 51%-100% as the utilization increases.
* the Larix\_distribution\_for\_borrower is decreasing from 49%-0% as the utilization increases.
* At this point, suppliers will share more percentage of mining rewards than borrowers.

The purpose of this is to encourage users to deposit on Larix when the utilization is more than 50%.

#### 5) When ‘**Utilization Rate = 100%’**, which is located at red point in the Graph 1,

* The Larix\_distribution\_for\_supplier is 100%.
* The Larix\_distribution\_for\_borrower is 0%.
* At this point, suppliers will share all of mining rewards.

The purpose of this is to encourage users to deposit and provide liquidity to the supply pool and repay debts since the pool experiences a drop in liquidity when utilization is 100%.

### User Distribution

1, Y1=Larix distribution for each user in supply market:

![](/files/-MhXJyF5JmidV7X2J_pF)

2, Y2=Larix distribution for each user in borrow market:

![](/files/-MhXK1TgcgU9imJOw4oy)


# Risk Framework

Total Value Locked in DeFi products have reached astounding levels and continue to grow. At Larix, we focus on the risk assessment uniquely attributed to supported crypto tokens. Larix aims to standardize higher risk management practices within the DeFi ecosystem and takes into consideration overall market, smart contract, and counter-party risks.


# Asset Risk

The liquidity pools generated by Larix enable users to lend and borrow crypto tokens. To mitigate asset risk, Larix does not accept crypto tokens with a market capitalization under $10 billion and uses a dynamic interest rate model to avoid a ‘bank run’. Lenders/suppliers of assets generate and earn an APY as the liquidity pool generates interest bearing opportunities to assets. In addition, lenders/suppliers qualify to earn the protocol token, Larix, through what we refer to as ’mining‘. This process can be attributed to a portion of token distribution that rewards protocol users for their activity on the platform. Once assets are supplied, users can choose to allocate the aforementioned as collateral which can then be used to borrow against.&#x20;

The asset risk can be attributed to reaching collateral borrowing thresholds, namely the collateral factor for the underlying borrowed asset.&#x20;


# Liquidity Risk

Liquidity risk of the protocol is measured based on Obligation Health, the state of liquidation risk. When Obligation Health exceeds 100%, excess borrowed assets will be automatically liquidated by the bot. Borrow APY’s are set above supply APY’s to maintain a healthy liquidity pool, which assures the utilization limit is not breached. A health factor is attributed to user’s borrowed value to ensure it does not exceed the collateral factor.


# External Audits & Analysis

The smart contract of Larix protocol is audited by Slowmist.&#x20;

{% file src="/files/-MiL8FrG92vsjFyH\_lOm" %}
SlowMist Audit report
{% endfile %}


# Instruction

#### **InitLendingMarket**&#x20;

* Description: Initializes a new lending market.
* Tag: 0
* Accounts

> ```rust
> 0. `[signer]` Init lending market authority
> 1. `[writable]` Lending market account - uninitialized.
> 2. `[]` Rent sysvar.
> 3. `[]` Token program id.
> 4. `[]` Pyth oracle program id.
> 5. `[]` Larix oracle program id.
> 6. `[]` Larix oracle id.
> ```

* Parameters

> ```rust
> /// Owner authority which can add new reserves
> owner: Pubkey,
> /// Currency market prices are quoted in
> /// e.g. "USD" null padded (`*b"USD\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\          0\0\0\0\0\0\0\0\0"`) or a SPL token mint pubkey
> quote_currency: [u8; 32],
> ```

####

#### SetLendingMarketOwner

* Description: Sets the new owner of a lending market&#x20;
* Tag: 1
* Accounts

> ```rust
> 0. `[writable]` Lending market account.
> 1. `[signer]` Current owner.
> ```

* Parameters

> ```rust
> /// The new owner
> new_owner: Pubkey,
> ```

#### InitReserve

* Description: Initializes a new lending market reserve
* Tag: 2
* Accounts

> ```rust
> 0. `[writable]` Reserve account - uninitialized.
> 1. `[]` Reserve liquidity SPL Token mint.
> 2. `[]` Reserve liquidity supply SPL Token account.
> 3. `[]` Reserve liquidity fee receiver.
> 4. `[]` Pyth product account  when is_lp is false
>         Any account when is_lp is true
> 5. `[]` Reserve liquidity pyth oracle account when is_lp is 
>         false; BridgePool account of bridge program when 
>         is_lp is true
> 6. `[]` Reserve liquidity larix oracle account when 
>         is_lp is false
>         LpPrice account of bridge program when is_lp is true
> 7. `[]` Reserve collateral SPL Token mint.
> 8. `[]` Reserve collateral token supply.
> 9  `[]` Lending market account.
> 10 `[signer]` Lending market owner.
> 11 `[]` Un_coll_supply_account
> 12 `[]` Clock sysvar.
> 13 `[]` Rent sysvar.
> 14 `[]` Token program id.
> ```

* Parameters

> ```rust
> /// Reserve configuration values
> config: ReserveConfig,
> total_mining_speed: u64,
> kink_util_rate: u64,
> use_pyth_oracle:bool,
> is_lp:bool,
> ```

#### RefreshReserve

* Description: Accrue interest and update market price of liquidity on a      reserve.
* Tag: 3
* Accounts:

> ```rust
> 0. `[writable]` Reserve account.
> 1. `[]` Reserve liquidity oracle account.
>         Must be the Pyth price account specified at 
>         InitReserve.
> 2. `[]` Larix oracle
> ```

####

#### DepositReserveLiquidity

* Description: Deposit liquidity into a reserve in exchange for collateral. Collateral represents a share
* Tag: 4
* Accounts

> ```rust
> 0. `[writable]` Source liquidity token account.
>                 $authority can transfer $liquidity_amount.
> 1. `[writable]` Destination collateral token account.
> 2. `[writable]` Reserve account.
> 3. `[writable]` Reserve collateral SPL Token mint.
> 4. `[writable]` Reserve liquidity supply SPL Token account.
> 5. `[]` Lending market account.
> 6. `[]` Derived lending market authority.
> 7. `[signer]` User transfer authority ($authority).
> 8. `[]` Token program id.
> ```

* Parameters&#x20;

> ```rust
> /// Amount of liquidity to deposit in exchange for collateral tokens
> liquidity_amount: u64,
> ```

#### RedeemReserveCollateral

* Description: Redeem collateral from a reserve in exchange for liquidity.
* Tag: 5
* Accounts

> ```rust
> 0. `[writable]` Source collateral token account.
>                 $authority can transfer $collateral_amount.
> 1. `[writable]` Destination liquidity token account.
> 2. `[writable]` Reserve account.
> 3. `[writable]` Reserve collateral SPL Token mint.
> 4. `[writable]` Reserve liquidity supply SPL Token account.
> 5. `[]` Lending market account.
> 6. `[]` Derived lending market authority.
> 7. `[signer]` User transfer authority ($authority).
> 8. `[]` Token program id.
> ```

* Parameters

> ```rust
> /// Amount of collateral tokens to redeem in exchange for liquidity
> collateral_amount: u64,
> ```

#### InitObligation

* Description: Initializes a new lending market obligation
* Tag: 6
* Accounts

> ```rust
> 0. `[writable]` Obligation account - uninitialized.
> 1. `[]` Lending market account.
> 2. `[signer]` Obligation owner.
> 3. `[]` Token program id.
> ```

#### RefreshObligation

* Description: Refresh an obligation's accrued interest and collateral and liquidity prices. Requires refreshed reserves, as all obligation collateral deposit reserves in order, followed by all liquidity borrow reserves in order.
* Tag: 7
* Accounts

> ```rust
> 0. `[writable]` Obligation account.
> 1. `[]` Collateral deposit reserve accounts - refreshed, all, in order.
> 2. `[]` Liquidity borrow reserve accounts - refreshed, all, in order.
> ```

#### DepositObligationCollateral

* Description: Deposit collateral to an obligation. Requires a refreshed reserve.
* Tag: 8
* Accounts

> ```rust
> 0. `[writable]` Source collateral token account.
>                 Minted by deposit reserve collateral mint.
>                 $authority can transfer $collateral_amount.
> 1. `[writable]` Destination deposit reserve collateral supply SPL Token account.
> 2. `[]` Deposit reserve account - refreshed.
> 3. `[writable]` Obligation account.
> 4. `[]` Lending market account.
> 5. `[]` Derived lending market authority.
> 6. `[signer]` Obligation owner.
> 7. `[signer]` User transfer authority ($authority).
> 8. `[]` Token program id.
> ```

* Parameters

> ```rust
> /// Amount of collateral tokens to deposit
> collateral_amount: u64,
> ```

####

#### WithdrawObligationCollateral

* Description: Withdraw collateral from an obligation. Requires a refreshed obligation and reserve.
* Tag: 9
* Accounts

> ```rust
> 0. `[writable]` Source withdraw reserve collateral supply SPL                  Token account.
> 1. `[writable]` Destination collateral token account.
>                 Minted by withdraw reserve collateral mint.
> 2. `[]` Withdraw reserve account - refreshed.
> 3. `[writable]` Obligation account - refreshed.
> 4. `[]` Lending market account.
> 5. `[]` Derived lending market authority.
> 6. `[signer]` Obligation owner.
> 7. `[]` Token program id.
> ```

* parameters&#x20;

> ```rust
> /// Amount of collateral tokens to withdraw - u64::MAX for up to 100% of            deposited amount
> collateral_amount: u64,
> ```

#### BorrowObligationLiquidity

* Description: Borrow liquidity from a reserve by depositing collateral tokens; Requires a refreshed obligation and reserve.
* Tag: 10
* Accounts

> ```rust
> ::Useless
> The current account will not be used.
> It is used to make up the account number, in order to keep the size of the        current instruction is equals to liquidate obligation instruction, to avoid       the situation that the current transaction is successful but the liquidate        cannot be  performed.
>
> 0. `[writable]` Source borrow reserve liquidity supply SPL Token account.
> 1. `[writable]` Destination liquidity token account.
>                 Minted by borrow reserve liquidity mint.
> 2. `[writable]` Borrow reserve account - refreshed.
> 3. `[writable]` Obligation account - refreshed.
> 4. `[]` Lending market account.
> 5. `[]` Derived lending market authority.
> 6. `[signer]` Obligation owner.
> 7. `[]` Token program id.
> 8. `[]` Larix oracle program account- Useless
> 9. `[]` Mine mint account - Useless
> 10.`[]` Mine supply account - Useless
> ```

* Parameters

> ```rust
> /// Amount of liquidity to borrow - u64::MAX for 100% of borrowing power
>  liquidity_amount: u64,
> ```

#### RepayObligationLiquidit

* Description: Repay borrowed liquidity to a reserve; Requires a refreshed obligation and reserve.
* Tag: 11
* Accounts

> ```rust
> 0. `[writable]` Source liquidity token account.
>                 Minted by repay reserve liquidity mint.
>                 $authority can transfer $liquidity_amount.
> 1. `[writable]` Destination repay reserve liquidity supply SPL Token account.
> 2. `[writable]` Repay reserve account - refreshed.
> 3. `[writable]` Obligation account - refreshed.
> 4. `[]` Lending market account.
> 5. `[signer]` User transfer authority ($authority).
> 6. `[]` Token program id.
> ```

* Parameters

> ```rust
> /// Amount of liquidity to repay - u64::MAX for 100% of borrowed amount
> liquidity_amount: u64,
> ```

#### LiquidateObligation

* Description: Repay borrowed liquidity to a reserve to receive collateral at a discount from an unhealthy obligation; Requires a refreshed obligation and reserves.
* Tag: 12
* Accounts

> ```rust
> 0. `[writable]` Source liquidity token account.
>                 Minted by repay reserve liquidity mint.
>                 $authority can transfer $liquidity_amount.
> 1. `[writable]` Destination collateral token account.
>                 Minted by withdraw reserve collateral mint.
> 2. `[writable]` Repay reserve account - refreshed.
> 3. `[writable]` Repay reserve liquidity supply SPL Token account.
> 4. `[]` Withdraw reserve account - refreshed.
> 5. `[writable]` Withdraw reserve collateral supply SPL Token account.
> 6. `[writable]` Obligation account - refreshed.
> 7. `[]` Lending market account.
> 8. `[]` Derived lending market authority.
> 9. `[signer]` User transfer authority ($authority).
> 10 `[]` Clock sysvar.
> 11 `[]` Token program id.
> ```

* Parameters

> ```rust
> /// Amount of liquidity to repay - u64::MAX for up to 100% of borrowed amount
> liquidity_amount: u64,
> ```

#### FlashLoan

* Description: Make a flash loan
* Tag: 13
* Accounts

> ```rust
> 0. `[writable]` Source liquidity token account.
>                 Minted by reserve liquidity mint.
>                 Must match the reserve liquidity supply.
> 1. `[writable]` Destination liquidity token account.
>                 Minted by reserve liquidity mint.
> 2. `[writable]` Reserve account.
> 3. `[writable]` Flash loan fee receiver account.
>                 Must match the reserve liquidity fee receiver.
> 4. `[writable]` Host fee receiver.
> 5. `[]` Lending market account.
> 6. `[]` Derived lending market authority.
> 7. `[]` Token program id.
> 8. `[]` Flash loan receiver program id.
>         Must implement an instruction that has tag of 0 and a signature 
>         of `(amount: u64)`
>         This instruction must return the amount to the source liquidity account.
> 9. `[signer]` Flash loan authority
> 10. `[any]` Additional accounts expected by the receiving program's 
>            `ReceiveFlashLoan` instruction.
>
>
> The flash loan receiver program that is to be invoked should contain an 
> instruction with tag `0` and accept the total amount (including fee) that 
> needs to be returned back after its execution has completed.
>
> Flash loan receiver should have an instruction with the following signature:
>
>
> 0. `[writable]` Source liquidity (matching the destination from above).
> 1. `[writable]` Destination liquidity (matching the source from above).
> 2. `[]` Token program id
> 3. `[any]` Additional accounts provided to the lending program's `FlashLoan` 
>            instruction above
> ReceiveFlashLoan {
> // Amount that must be repaid by the receiver program
> amount: u64
> }
> ```

* Parameters

> ```rust
> /// The amount that is to be borrowed - u64::MAX for up to 100% of available          liquidity
> amount: u64,
> call_back_data: Vec<u8>
> ```

####

#### SetConfig

* Description: Set Configures
* Tag: 14
* Parameters

> ```rust
> config_type:ConfigType
> ```

#### InitMining

* Description: Initializes mining int he obligation account.
* Tag: 16
* Accounts

> ```rust
> 0. `[]` Mining account
> 1. `[signer]` Mining owner
> 2. `[]` Lending market account
> ```

#### DepositMining

* Description: Deposits the mining benefits to the obligation account.
* Tag: 18
* Account

> ```rust
> 0. `[Writable]` Source account
> 1. `[Writable]` UnColl deposit supply SPL Token account.
> 2. `[Writable]` Mining account
> 3. `[]` Bonus account
> 4. `[]` Lending market account.
> 5. `[]` Derived lending market authority.
> 6. `[]` Mining owner.
> 7. `[signer]` User transfer authority ($authority).
> 8. `[]` Token program id.
> ```

* Parameters

> ```rust
> /// The amount of mining benefits
> amount:u64
> ```

#### WithdrawMining

* Description: Withdraws mining benefits.
* Tag: 19
* Account

> ```rust
> 0. `[writable]` Source account
> 1. `[writable]` UnColl deposit supply SPL Token account.
> 2. `[writable]` Mining account
> 3. `[writable]` Reserve account
> 4. `[]` Lending market account.
> 5. `[]` Derived lending market authority.
> 6. `[]` Mining owner.
> 7. `[]` Token program id.
> ```

* Parameters

> ```rust
> /// The amount of mining benefits
> amount:u64
> ```

#### ClaimMiningMine

* Description: Claims the owner of the mining benefits.
* Tag: 20
* Account

> ```rust
> 0. `[writable]` Mining account
> 1. `[]` Mine supply
> 2. `[]` Destination account
> 3. `[Signer]` Mining owner
> 4. `[]` Lending market info
> 5. `[]` Lending market authority
> 6. `[]` Token program id
> 7. `[]`
>     ... Reserves
> ```

#### ClaimObligationMine

* Description: Claims the obligation.
* Tag: 21
* Account

```rust
0. `[writable]` Obligation account
1. `[]` Mine supply
2. `[]` Destination account
3. `[Signer]` Mining owner
4. `[]` Lending market info
5. `[]` Lending market authority
6. `[]` Token program id
7. `[]`
    ... Deposit reserves
8. `[]`
    ... Borrow reserves
```

####

#### ClaimOwnerFee

* Description: Claim owner's fee.
* Tag: 22
* Account

```rust
0. `[]` Source account (liquidity supply account)
1. `[]` Destination account receive owner fee
2. `[]` Lending market account
3. `[singer]` Lending market owner
```

#### ReceivePendingOwner

* Description: Receive pending owner.
* Tag: 23
* Account

```rust
0. `[Write]` Lending Market
1. `[Signer]` Pending owner
```

**RefreshReserves**

* Description: Refresh the current reserves
* Tag: 24
* Account

```rust
0. `[writable]` Reserve account.
1. `[]` Oracle account larix oracle or pyth price account .
```

**LiquidateObligation2**

* Description: Repay borrowed liquidity to a reserve to receive collateral at a discount from an unhealthy obligation. Requires a refreshed obligation and reserves.
* Tag: 25
* Account

> ```rust
> 0. `[writable]` Source liquidity token account.
>                 Minted by repay reserve liquidity mint.
>                 $authority can transfer $liquidity_amount.
> 1. `[writable]` Destination collateral token account.
>                 Minted by withdraw reserve collateral mint.
> 2. `[writable]` Repay reserve account - refreshed.
> 3. `[writable]` Repay reserve liquidity supply SPL Token account.
> 4. `[]` Withdraw reserve account - refreshed.
> 5. `[writable]` Withdraw reserve collateral supply SPL Token account.
> 6. `[writable]` Obligation account - refreshed.
> 7. `[]` Lending market account.
> 8. `[]` Derived lending market authority.
> 9. `[signer]` User transfer authority ($authority).
> 10 `[]` Token program id.
> ```

* Parameters

> ```rust
> /// Amount of liquidity to repay - u64::MAX for up to 100% of borrowed amount
> liquidity_amount: u64,
> ```


# Function

### Init Mining and Obligation

**1.Init Mining**

* InitMining

**2. Init Obligation**

* InitObligation

### Deposit and Withdraw

**1. Deposit (Provide Liquidity)**

* RefreshReserve
* DepositReserveLiquidity

**2. Withdraw**

* RefreshReserve
* RedeemReserveCollateral

### Deposit and Withdraw Mining <a href="#init-mining-and-obligation" id="init-mining-and-obligation"></a>

**1. Deposit Mining**

* DepositMining

**2. Withdraw Mining**&#x20;

* WithdrawMining<br>

### Borrow and repay

**1. Borrow**

* RefreshReserve&#x20;
* RefreshObligation&#x20;
* BorrowObligationLiquidity&#x20;

**2. Repay**

* RefreshReserve&#x20;
* RefreshObligation
* RepayObligationLiquidity&#x20;

### Claim Mining and Obligation

**1. Claim Mining**

* RefreshReserve&#x20;
* ClaimMiningMine

**2. Claim Obligation**

* RefreshReserve&#x20;
* RefreshObligation
* ClaimObligationMine

### Deposit and Withdraw Obligation

**1. Deposit Obligation**

* RefreshReserve
* DepositObligationCollateral&#x20;

**2. Withdraw Obligation**

* RefreshReserve&#x20;
* RefreshObligation
* WithdrawObligationCollateral&#x20;

### Liquidation&#x20;

* RefreshReserve&#x20;
* RefreshObligation&#x20;
* LiquidateObligation

####


# Query

{% content-ref url="/pages/-MdWmu4\_nhPpqKmotNBP" %}
[State](/contract/technical-resources/state)
{% endcontent-ref %}

{% content-ref url="/pages/-MdWoYXeB\_Zvh-3zOdhi" %}
[Reserve](/contract/technical-resources/reserve)
{% endcontent-ref %}

{% content-ref url="/pages/-MdWogW-HrQryoJ2xHgK" %}
[Mining](/contract/technical-resources/mining)
{% endcontent-ref %}


# Logo

{% file src="/files/-MjcJApVq9j1SxudlfMP" %}
Larix Logo
{% endfile %}


# State

#### struct LendingMarket

* description: Lending market state
* variable:&#x20;

> ```rust
> /// Version of lending market
> pub version: u8,
> /// Bump seed for derived authority address
> pub bump_seed: u8,
> /// Owner authority which can add new reserves
> pub owner: Pubkey,
> /// Currency market prices are quoted in
> /// e.g. "USD" null padded (`*b"USD\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"`) or a SPL token mint pubkey
> pub quote_currency: [u8; 32],
> /// Token program id
> pub token_program_id: Pubkey,
> /// Oracle (Pyth) program id
> pub oracle_program_id: Pubkey,
> ```


# Reserve

#### pub struct Reserve

* description: Lending market reserve state
* variable:&#x20;

> ```rust
> pub struct Reserve {
> Version of the struct
> pub version: u8,
> Last slot when supply and rates updated
> pub last_update: LastUpdate,
> Lending market address
> pub lending_market: Pubkey,
> Reserve liquidity
> pub liquidity: ReserveLiquidity,
> Reserve collateral
> pub collateral: ReserveCollateral,
> Reserve configuration values
> pub config: ReserveConfig,
> ```

#### pub struct ReserveLiquidity

* description: Reserve liquidity
* variable:

> ```rust
> Reserve liquidity mint address
> pub mint_pubkey: Pubkey,
> Reserve liquidity mint decimals
> pub mint_decimals: u8,
> Reserve liquidity supply address
> pub supply_pubkey: Pubkey,
> Reserve liquidity fee receiver address
> pub fee_receiver: Pubkey,
> Reserve liquidity oracle account
> pub oracle_pubkey: Pubkey,
> Reserve liquidity available
> pub available_amount: u64,
> Reserve liquidity borrowed
> pub borrowed_amount_wads: Decimal,
> Reserve liquidity cumulative borrow rate
> pub cumulative_borrow_rate_wads: Decimal,
> Reserve liquidity market price in quote currency
> pub market_price: Decimal,
> ```

#### pub struct ReserveLiquidity

* description: Reserve collateral
* variable:&#x20;

> ```rust
> /// Reserve collateral mint address
> pub mint_pubkey: Pubkey,
> /// Reserve collateral mint supply, used for exchange rate
> pub mint_total_supply: u64,
> /// Reserve collateral supply address
> pub supply_pubkey: Pubkey,
> ```


# Mining

#### pub struct Mining

* description: Mining
* variable:&#x20;

> ```rust
> pub version: u8,
> pub last_update: LastUpdate,
> pub owner: Pubkey,
> pub lending_market: Pubkey,
> pub reserves: Vec<Pubkey>,
> pub un_coll_l_token_amounts: Vec<u64>,
> pub l_token_mining_indices: Vec<Decimal>,
> pub borrow_mining_indices: Vec<Decimal>,
> pub unclaimed_mine: u64,
> ```


# Obligation

#### pub struct Obligation

* description: Lending market obligation state
* variable:&#x20;

> ```rust
> Version of the struct
> pub version: u8,
> Last update to collateral, liquidity, or their market values
> pub last_update: LastUpdate,
> Lending market address
> pub lending_market: Pubkey,
> Owner authority which can borrow liquidity
> pub owner: Pubkey,
> Deposited collateral for the obligation, unique by deposit reserve address
> pub deposits: Vec<ObligationCollateral>,
> Borrowed liquidity for the obligation, unique by borrow reserve address
> pub borrows: Vec<ObligationLiquidity>,
> Market value of deposits
> pub deposited_value: Decimal,
> Market value of borrows
> pub borrowed_value: Decimal,
> The maximum borrow value at the weighted average loan to value ratio
> pub allowed_borrow_value: Decimal,
> The dangerous borrow value at the weighted average liquidation threshold
> pub unhealthy_borrow_value: Decimal,
> ```

#### pub struct ObligationCollateral

* description: Obligation collateral state
* variable:&#x20;

> ```rust
> /// Reserve collateral is deposited to
> pub deposit_reserve: Pubkey,
> /// Amount of collateral deposited
> pub deposited_amount: u64,
> /// Collateral market value in quote currency
> pub market_value: Decimal,
> ```

#### pub struct ObligationLiquidity

* description: Obligation liquidity state
* variable:&#x20;

> ```rust
> /// Reserve liquidity is borrowed from
> pub borrow_reserve: Pubkey,
> /// Borrow rate used for calculating interest
> pub cumulative_borrow_rate_wads: Decimal,
> /// Amount of liquidity borrowed plus interest
> pub borrowed_amount_wads: Decimal,
> /// Liquidity market value in quote currency
> pub market_value: Decimal,
> ```


# SDK

Larix's SDK is finished, pls feel free to contact us if you want to integrate with #larix!

<https://github.com/ProjectLarix/larix-sdk>


