<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Lenfi on Medium]]></title>
        <description><![CDATA[Stories by Lenfi on Medium]]></description>
        <link>https://medium.com/@lenfi?source=rss-81b313a16737------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*gkfTqMYx1CxAyD4KYNkTXQ.png</url>
            <title>Stories by Lenfi on Medium</title>
            <link>https://medium.com/@lenfi?source=rss-81b313a16737------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 00:32:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@lenfi/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Lenfi Successfully Concludes Its Bug Bounty Program]]></title>
            <link>https://medium.com/@lenfi/lenfi-successfully-concludes-its-bug-bounty-program-e317df3967b2?source=rss-81b313a16737------2</link>
            <guid isPermaLink="false">https://medium.com/p/e317df3967b2</guid>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[cardano]]></category>
            <category><![CDATA[project-catalyst]]></category>
            <category><![CDATA[lenfi]]></category>
            <dc:creator><![CDATA[Lenfi]]></dc:creator>
            <pubDate>Fri, 11 Oct 2024 12:23:43 GMT</pubDate>
            <atom:updated>2024-10-11T12:23:43.531Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://projectcatalyst.io/funds/10/f10-products-and-integrations/lenfi-v2-aiken-audit-bug-bounty">Lenfi V2 Aiken Audit + Bug Bounty</a></p><p>We are pleased to announce the successful conclusion of our V2 Bug Bounty program. The initiative passed with flying colors, and no critical bugs or breaches were found during the period. As part of the Lenfi V2 Aiken Audit + Bug Bounty proposal funded by the Catalyst Fund 10, this milestone is the pinnacle of our efforts towards enhancing the security and robustness of our V2 contracts.</p><h3>Detailed Funding Breakdown of the Lenfi V2 Aiken Audit + Bug Bounty Proposal</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qAoThRPyXzKSlE7A" /></figure><p>With a total allocated funding of approximately 265,000 ADA, our Catalyst Fund proposal outlined three primary components for the use of the funding:</p><ul><li><strong>Audit</strong>: 158,000 ADA was allocated for a detailed audit from Anastasia Labs, estimated to take 176 hours at a rate of €250 per hour. The audit was crucial for ensuring that Lenfi V2 Aiken was secure and met high industry standards.</li><li><strong>Audit2: </strong>The TxPipe team conducted a second audit to ensure the security and reliability of the system, focusing on identifying and addressing any potential bugs or vulnerabilities. This thorough review was carried out to minimize risks and enhance overall safety. The audit came at a cost of 64,000 ADA, reflecting the investment in maintaining a robust and secure infrastructure.The cost of the second audit was covered directly by the project’s own funds.</li><li><strong>Development Phase</strong>: The proposal set aside 43,000 ADA for backend and blockchain development, specifically for a developer working at €60 per hour over 200 hours. This phase focused on enhancing the platform’s backend architecture, preparing the smart contracts for open-sourcing, and starting the Bug Bounty program.</li><li><strong>Bug Bounty</strong>: The bug bounty amounted to 64,000 ADA and aimed to incentivize community contributions from external developers and ethical hackers to identify bugs or vulnerabilities in the V2 smart contracts. The program ran for six months, but no findings were made during the period. The bug bounty reward covered the costs of the second audit.</li></ul><h3>Results and Future Outlook</h3><p>Although no bugs were reported during the six-month Bug Bounty period, Lenfi took proactive steps to ensure the V2 app is battle-tested for mainnet release. To achieve this, the team allocated funds for a second audit, utilizing the unclaimed Bug Bounty reward for the purpose. TxPipe conducted the follow-up check, further reinforcing Lenfi’s commitment to security and transparency.</p><p>Looking ahead, we remain dedicated to maintaining the highest security standards across our apps. In this regard, we will guarantee consistency in the safety and robustness of our smart contracts with more external audits for our future upgrades. Additionally, we will continue to improve our platform to make it more accessible and easier to use while providing our users with all the necessary primitives to facilitate and manage DeFi loans on Cardano.</p><h3>About Lenfi</h3><p>Lenfi is a decentralized platform for lending and borrowing, allowing users to lend and borrow various Cardano native tokens (CNTs). It offers an all-in-one solution for p2p and isolated pool markets backed by secure and permissionless smart contracts. The signature feature of the Lenfi app is the tokenized loans, which allow lenders and borrowers to transfer and trade their positions.</p><p>For more information about Lenfi and future developments, please visit <a href="https://linktr.ee/lenfi">https://linktr.ee/lenfi</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e317df3967b2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Weighted AMM Pools Price Impact on Lenfi]]></title>
            <link>https://medium.com/@lenfi/weighted-amm-pools-price-impact-on-lenfi-5aff2cd9afeb?source=rss-81b313a16737------2</link>
            <guid isPermaLink="false">https://medium.com/p/5aff2cd9afeb</guid>
            <dc:creator><![CDATA[Lenfi]]></dc:creator>
            <pubDate>Thu, 30 May 2024 10:47:14 GMT</pubDate>
            <atom:updated>2024-05-30T10:47:14.765Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mbO8JxGsqIxHKY5KDG1u5w.png" /></figure><p>The Lenfi protocol has been running uninterrupted for 625 days since September 2022. Since then, millions of ADA have been borrowed and lent in a decentralized manner over the protocol.</p><p>With the launch of Splash, a new type of DEX pool has been introduced to the Cardano DeFi space: weighted pools. Here is an example to understand it better:</p><p><strong>50/50 pool:</strong></p><ul><li>Amount of ADA: 200,000</li><li>Amount of TokenA: 100,000</li><li>TokenA price (ADA/TokenA): 2 ADA</li></ul><p><strong>20/80 pool:</strong></p><ul><li>Amount of ADA: 40,000</li><li>Amount of TokenA: 100,000</li><li>TokenA price (see <a href="https://docs.balancer.fi/reference/math/weighted-math.html#spot-price">formula</a>): 1.6 ADA</li></ul><p>Weighted pools will allow depositing uneven sizes of token pairs into liquidity pools, giving flexibility to liquidity providers. Additionally, they have drastically different calculations for token ‘price’.</p><p><strong>Problem</strong></p><p>Lenfi V1 and V2 are built utilizing 50/50 AMM pools to determine the value of debt and collateral. Instead of using token price, they focus on the asset’s value (i.e., how much ADA will result from selling 200 IAG of collateral). Therefore, validators are integrated with 50/50 pool math (validator <a href="https://github.com/lenfiLabs/lenfi-smart-contracts/blob/eb7dc685f3888c940d0da027c46b5f1c3d9578f1/lib/aada/finance.ak#L42">code</a>).</p><p>New, unevenly balanced pools introduce challenges to existing on-chain value determination, as they can’t be equally transformed into protocol-accepted 50/50 pools.</p><p><strong>Solution</strong></p><p>To include Splash liquidity on Lenfi, the price feed oracle will utilize weighted pool normalization. Normalization will involve the following steps:</p><ol><li>Calculate the current asset price on Splash.</li><li>Equalize all existing ADA liquidity with an equal amount of tokens to represent the price as in a 50/50 pool.</li></ol><pre>tokensPooled = 30_380_792_579_236 # Splash tokens<br>adaPooled = 1_815_196_273_944 # Lovelaces<br>tokensWeight = 0.8 # Weight of Splash tokens<br>adaWeight = 0.2 # Weight of Lovelaces<br>tokensChange = 50_000_000_000 # Tokens to sell/buy<br><br>Splash pool:<br>ADA:  1815196.273944<br>Tokens:  30380792.579236<br>Splash spot price:  0.23899261603656918<br>Splash ADA received for tokens sale:  11900.626110342067<br>Splash ADA needed for tokens purchase:  11998.95916118528<br><br>Rebalanced pool:<br>ADA:  1815196.273944<br>Tokens:  7595198.144809<br>AMM spot price:  0.23899261603656918<br>AMM ADA received:  11836.097372068165<br>AMM ADA needed for tokens:  12065.012831655453</pre><p>As seen in the example above, normalizing the pools returns slightly different ADA received/needed values while the results are sufficiently close.</p><p>To make the protocol safer, Splash-collateralized loans or Splash loans will have a higher liquidation fee to mitigate potential bad-debt scenarios.</p><blockquote>“Remember, collateral is only reserved at the time of a loan, while it is actually used in the event of liquidation.”</blockquote><p><strong>TL;DR</strong></p><p>Lenfi will integrate Splash weighted pools by normalizing pool values to 50/50-like pools. This normalization can create asset value discrepancies that are resolved by increasing the liquidation fee.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5aff2cd9afeb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Postmortem Report: BTN liquidations incident]]></title>
            <link>https://medium.com/@lenfi/postmortem-report-btn-liquidations-incident-32fb0114529e?source=rss-81b313a16737------2</link>
            <guid isPermaLink="false">https://medium.com/p/32fb0114529e</guid>
            <dc:creator><![CDATA[Lenfi]]></dc:creator>
            <pubDate>Mon, 13 May 2024 11:35:20 GMT</pubDate>
            <atom:updated>2024-05-13T11:35:20.267Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IX-BA87RNXMERfOyzWQQnQ.jpeg" /></figure><h3>Summary</h3><p>On May 12, 2024, at approximately 23:00 UTC, a significant liquidity event occurred on Spectrum Finance involving the ADA-BTN liquidity pair. Approximately 67% of the tracked ADA-BTN liquidity was removed (<a href="https://cexplorer.io/tx/08d79f9c1ddb0b195e880f3f928959e5ad2bad5178427213c0a71258e3563838">transaction link</a>), which directly impacted BTN liquidity levels on the Lenfi platform. This reduction in liquidity led to a lower than expected calculation of BTN’s value, affecting borrowing and liquidations.</p><h3>Background</h3><p>Lenfi utilises the depth of liquidity to calculate the value of both debt and collateral. The removal of liquidity did not change the BTN spot asset price, it indicated that a liquidator selling a large amount of BTN would receive less ADA than before. This reduction in potential collateral value rendered BTN collateralized loans’ health factor lower.</p><h3>Incident Details</h3><h4>Timeline</h4><ul><li>May 11th, 23:18 UTC: Liquidity <a href="https://cexplorer.io/tx/08d79f9c1ddb0b195e880f3f928959e5ad2bad5178427213c0a71258e3563838">removed</a> from Spectrum and moved to Sundae</li><li>May 12th, 00:11 UTC: First ADA-BTN loan l<a href="https://cexplorer.io/tx/4387956148edf706b3849e898ba0a1d3ff1b20fb0e09a85d0c54ad0fe7ec3181">iquidation</a></li><li>May 12th, 2:56 UTC: Last ADA-BTN loan l<a href="https://cexplorer.io/tx/17febdaaec7033a43abbd27e7cc21af106f6cbc898f7af3a0a3e5ec86b34ab99">iquidation</a></li><li>May 12th, 4:40 UTC: Sundae V3 pool details <a href="https://gist.github.com/aada-finance/0baf007fb47d15b64a63ad54b3768eb7/revisions">added</a>; issue resolved.</li></ul><h4>Root Cause Analysis</h4><p>The unfair liquidations happened since the SundaeSwap pool was not being tracked at the time when a large share of ADA/BTN liquidity was moved. This caused the loans on the Lenfi protocol to appear undercollateralized, allowing them to be liquidated.</p><h4>Impact</h4><ul><li><strong>Collateral liquidated</strong>: 415,016 BTN liquidated where 10,108 BTN were returned to borrowers</li><li><strong>Loans repaid</strong>: 132,810 ADA debt was repaid in order to liquidate the loans</li></ul><h3>Response and Remediation</h3><h4>Immediate Response</h4><ul><li>Large liquidity movement was detected by the alerting system, however because of its timing the team could not act on it immediately.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/964/0*ICqn1E3SmvvsgQdK" /></figure><ul><li>Sundae pool details were added immediately when possible</li></ul><h4>Remediation Steps</h4><ul><li>Sundaeswap v3 pool was added to price configurations to include BTN/ADA liquidity.</li></ul><h4>Follow-up Actions</h4><ul><li>Update price feed code to dynamically include new DEX liquidity pools</li></ul><h3>Lessons Learned</h3><h4>What Went Well</h4><ul><li>The Lenfi system functioned as expected; loans were liquidated to protect deposits.</li><li>Large liquidity movement alert were sent to telegram team channel.</li></ul><h4>What Went Wrong</h4><ul><li>Team failed to act on the time of the event as it was 2am local time.</li><li>When liquidity was moved, the new Sundae pool was not tracked.</li></ul><h4>What we must know</h4><p>Lenfi can be impacted by third-party actions involving the movement or removal of liquidity at their discretion. The system is designed to protect deposits non-arbitrarily by liquidating loans if they appear to be undercollateralized. Token holders using collateral must be aware of and accept the risks associated with the collateral they use.</p><h4>What Could Be Improved</h4><ul><li>DAO should be more critical on collateral asset acceptance.</li><li>More actively communicate to project owners whose assets are actively used on Lenfi.</li><li>Whenever a new DEX is launched, make sure it’s included on price feeds.</li></ul><h3>Action Items</h3><ul><li>Update oracle to reject requests when spot token price differentiates a lot compared to liquidity depths.</li><li>Proactively participate in uniform oracle solutions that can be utilised on Lenfi.</li><li>Collaborate with Butane team to resolve loss occurred on liquidations</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=32fb0114529e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Lenfi V2 Borrowing Use Cases]]></title>
            <link>https://medium.com/@lenfi/lenfi-v2-borrowing-use-cases-2dd8774b75f4?source=rss-81b313a16737------2</link>
            <guid isPermaLink="false">https://medium.com/p/2dd8774b75f4</guid>
            <category><![CDATA[lenfi]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[cardano]]></category>
            <category><![CDATA[lending-and-borrowing]]></category>
            <dc:creator><![CDATA[Lenfi]]></dc:creator>
            <pubDate>Wed, 03 Apr 2024 12:04:02 GMT</pubDate>
            <atom:updated>2024-04-03T12:04:02.758Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6q9ipL7f8m_NGzYXgHhjBQ.png" /></figure><p>Lenfi V2 is just over a month old, and its TVL of 16 million ADA signals a smooth start. Several pools have already become the go-to place for DeFi loans on Cardano. With regular UI/X updates, protocol improvement proposals, and a Safety Module on the way, Lenfi’s lending pools version is developing fast, and more users flock to lend and borrow with a few clicks.</p><h3>How to Borrow on Lenfi V2</h3><p>Borrowing on Lenfi V2 is an intuitive and straightforward process that requires basic knowledge of using Cardano wallets and signing transactions. Here’s a quick walkthrough of the main steps:</p><ol><li>Visit <a href="https://app.lenfi.io/">app.lenfi.io</a> and click the <strong><em>Connect Wallet</em></strong> button at the top right side of the corner.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VY7h9wTctlaEtqH0" /></figure><p>2. Read the <strong><em>User Disclaimer</em></strong> and select a Cardano wallet you wish to use.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZdCYSkV5VEtI8jux" /></figure><p>3. After you connect your wallet, navigate to the <strong><em>Pools</em></strong> tab.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XnKOL9ni0ni9dbwu" /></figure><p>4. You can use the various search filters to find the pool you want to borrow from.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cBuvzF_QMfE1uS7Q" /></figure><blockquote><strong>Pro Tip: </strong>You can use the search bar to type in the token you want to borrow or use as collateral to find a suitable pool more quickly.</blockquote><p>5. Click over each pool pair to check the <strong><em>Utilization Rate</em></strong> and other parameters like <strong><em>Total Supply</em></strong> and <strong><em>Stake Pool Delegation</em></strong> status.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ICEUwi8rKBehvjAu" /></figure><blockquote><strong>Pro Tip:</strong> Select the pool with the lowest <strong><em>Utilization Rate</em></strong> to get a better interest rate.</blockquote><p>6. After you choose a pool, click the <strong><em>Borrow</em></strong> button to borrow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*AJA_R_2S3NRZiElv" /></figure><p>7. Select the number of tokens you want to borrow and the collateral.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*o6tCaSR74eT3FgtY" /></figure><blockquote><strong>Pro Tip:</strong> Make sure your <strong><em>Health Factor</em></strong> is at least 1.60 or more to have a decent upfront to repay your loan.</blockquote><p>8. After you sign the transaction, it will shortly be confirmed on-chain, and your loan will appear under the <strong><em>Loans</em></strong> section in the <strong><em>Dashboard</em></strong> tab.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Ma9Elo7KAUP--N_t" /></figure><blockquote><strong>Pro Tip:</strong> Track your Health Factor and ensure you pay your loan if it gets too low to avoid liquidation.</blockquote><p><em>If you’re a fan of visual tutorials, visit our YouTube channel to </em><a href="https://www.youtube.com/@LenfiOfficial"><em>watch all the Lenfi V2 tutorials now</em></a><em>.</em></p><h3>Why Borrow on Lenfi V2</h3><p>In traditional finance, people borrow money to cover immediate expenses, health emergencies, buy properties or other items. While this is still possible on the blockchain, Lenfi V2 presents a wide range of use cases inspired by both TradFi and DeFi lending. Here’s a list of use cases for borrowing on the platform:</p><h4>Shorting</h4><p>When it comes to DeFi loans and crypto lending, shorting is a classic strategy that can bring you profit from the decrease of an asset’s price. While it can be practised by selling your tokens and buying them again at a lower price, borrowing allows you to do this without actually owning the underlying asset. Here’s how to short Cardano Native Assets on Cardano using Lenfi:</p><ol><li>Use your ADA as collateral and borrow the token you predict will drop. Immediately sell it at the current market price.</li><li>Currently, most pools offer low borrow APRs for native tokens, so even a slight price decrease could be a potential profit for the borrower.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rJEuGsd-nd_R8ffS" /></figure><p>3. Wait for the token’s price to fall. When it does, buy back the same amount you borrowed at this lower price. This move capitalizes on the price difference. The profit? It’s the difference in ADA you kept when re-bought the same token amount for less ADA.</p><h3>Longing</h3><p>The opposite of shorting, longing is a trading strategy that allows users to profit from price appreciation. In most cases, traders buy a token or a basket of tokens, expecting their price to increase over a certain period. After reaching the targeted price, the token is then sold, bringing in profit. Lenfi makes this process even easier by allowing users to use their CNTs as collateral to borrow more ADA. Here’s how it works:</p><ol><li>Select a CNT you wish to long and use it as collateral to borrow ADA.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7QDEdZy2_oILAJkx" /></figure><p>2. Use the ADA you loaned to purchase more of your chosen token.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/0*Heja-IyAtPvNNOWq" /></figure><p>3. When the token’s price increases, your profit amplifies compared to a non-leveraged position. After repaying the loan, the gain is yours to keep.</p><blockquote><strong>Pro Tip: </strong>Leveraging amplifies both gains and losses. Ensure you’re informed about the risks and have a strategy for market volatility.</blockquote><h4>Arbitrage</h4><p>Arbitrage is a common trading strategy that applies best to markets that show some inefficiencies. Typically, such opportunities arise when there are inconsistencies in liquidity along different crypto exchanges. All you need to do is buy an asset from a certain DEX or a CEX at a lower price and sell it on another platform at a premium. But did you know you can also do this in DeFi lending? Here’s a quick breakdown with examples:</p><ol><li>First, find a pool accepting your CNT as collateral, offering your desired liquidity amount at a low APR in ADA. You can use the search bar to make a quicker search.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/956/0*q3eNRABAUSDDKEnE" /></figure><p>2. For this example, we are using OPTIM as collateral. In our case, we’ve found a pool which allows us to borrow 10,000 ADA at a 4.66% APR.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*z0rYzbWcA2K-uBR0" /></figure><p>3. The next step is to deposit the ADA into another Lenfi pool with a higher APY. This gap is your key to arbitrage — borrowing at a lower cost to invest at a higher return.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6hvdcCYontBIhTU3" /></figure><h4>Arbitraging Using Other Platforms</h4><ol><li>Borrow ADA at 4.3% APR using<a href="https://twitter.com/search?q=%24MIN&amp;src=cashtag_click"> </a>MIN or any other available token as collateral on<a href="https://twitter.com/liqwidfinance"> </a>Liqwid Finance, then deposit that ADA into Lenfi for a 7.3% APR. The difference? Your profit margin.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*EqsSv-tHFyQbmhzX" /></figure><p>2. This strategy showcases the power of market inefficiencies to your advantage. It’s not just about earning more; it’s about earning smarter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*EFTrn6cqj-K4VXQ_" /></figure><p>3. While enticing, arbitrage requires understanding the risks and mechanics involved. Always perform due diligence before diving in.</p><h3>Liquidity Farming</h3><p>Usually, liquidity farming works by depositing liquidity on DEXs and earning yield from trading fees and farming rewards. Unfortunately, many are reluctant to deposit their tokens to DEX pools because of the Impermanent Loss risk. Surprisingly, you can offset this disadvantage by borrowing on Lenfi:</p><ol><li>Borrowing LENFI through Lenfi gives you the capital to invest without liquidating ADA. With a ~3% APR, it’s a strategic move to borrow and then earn higher returns elsewhere.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*I5fF5jGqSI2F9pcx" /></figure><p>2. While farming with ~ a 26% APR sounds enticing, providing liquidity carries a risk called impermanent loss (IL).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/674/0*DVFT6ooEmYXjr1Kr" /></figure><p>3. In this regard, always consider the cost of borrowing against potential earnings.</p><h3>Participate in Token Sales</h3><p>Token sales have been a hot topic on Cardano for some time, especially when it comes to highly-anticipated projects like Butane and Splash. Recently, the former concluded their pro-rata sale with the staggering 50 million ADA deposited to the sale smart contract. Since the cap was exceeded, this proved an excellent opportunity for participants to leverage their Cardano Native Tokens and increase their BTN allocation by depositing more ADA. Here’s how you can take advantage of Lenfi V2 to secure better positioning in future Cardano token sales:</p><ol><li>You have LENFI tokens in your wallet, but you see there’s an upcoming BTN public sale. No problem! You can turn this into a profitable move without selling a single LENFI.</li><li>For example, we can borrow 1,000 ADA using 500 LENFI as collateral on our platform. The BTN sale price is at 0.9 ADA per token, meaning we can buy 1111 BTN.</li><li>Fast-forward — BTN’s price soars to 1.354 ADA post-sale. By selling the BTN, we will now have ~1,504 ADA to repay the loan AND pocket a profit. Remember, we borrowed 1,000 ADA.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/668/0*uPgrz4cIDwz7Ljuy" /></figure><h3>Take Advantage of Token Utilities</h3><p>Although relatively unknown, this strategy is slowly gaining recognition as another use case for DeFi loans. On Lenfi V2, you can borrow several CNTs against ADA or other native tokens and benefit from their intrinsic utilities. That way, you can take advantage of staking, fee discounts, or meeting requirements to run node operators, all without owning the actual tokens. Here are some prime examples:</p><ul><li>DexHunter: Holding HUNT gives users fee discounts on every trade executed through the DEX aggregator;</li><li>Minswap: Holding MIN gives fee discounts and voting power in the Minswap DAO;</li><li>Lenfi: LENFI holders get voting power in the Lenfi DAO;</li><li>Iagon: Running an Iagon storage node requires owning IAG tokens;</li><li>Encoins: Running a relay node requires owning ENCS;</li></ul><h3>Conclusion</h3><p>All examples in the tutorial are merely for educational purposes and should not be considered as financial advice. Make sure you join our <a href="https://discord.gg/rFq7xZNtmu">Discord</a> and <a href="https://t.me/lenficommunity">Telegram</a> communities and follow our <a href="https://twitter.com/LenfiOfficial">official X account</a> for more exciting updates regarding Lenfi V2!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2dd8774b75f4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Lenfi Update: Enhancing Interest Rates and Adapting to Market]]></title>
            <link>https://medium.com/@lenfi/lenfi-update-enhancing-interest-rates-and-adapting-to-market-15964c6ca305?source=rss-81b313a16737------2</link>
            <guid isPermaLink="false">https://medium.com/p/15964c6ca305</guid>
            <category><![CDATA[cardano]]></category>
            <category><![CDATA[lending]]></category>
            <category><![CDATA[borrowing]]></category>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[interest-rates]]></category>
            <dc:creator><![CDATA[Lenfi]]></dc:creator>
            <pubDate>Tue, 12 Mar 2024 10:56:13 GMT</pubDate>
            <atom:updated>2024-03-12T10:56:13.006Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vFNMhXVNjVzu79VWwMPcUg.png" /></figure><p>It has been 19 days since the Lenfi V2 launch. We have seen surprising TVL growth and application usage. Thank you to everyone who helped make it happen</p><p>Despite the short period after launch, we can already make some interesting findings. For example, most volumes are done in ADA/* pools, meaning users want to unlock liquidity by holding the tokens. So far, the most popular pools are ADA/LENFI, ADA/SNEK, ADA/IAG. In total, loan volumes have reached 3.7M ADA in those 19 days</p><p>Perfect is the enemy of good. Lenfi V2 is built to adjust to the dynamics of lending and the Cardano market. With the recent discussion on the interest rates model, we wanted to provide more information on why interest rates are built the way they are and what levers we have to move to get to the optimal solution.</p><p>First, interest is a fee paid for the privilege of borrowing assets. From the depositor’s side, it’s the fee a depositor is willing to accept for the risks of lending their assets. As a liquidity provider, you must know the risks you accept and the rewards you will receive for taking those risks.</p><p>These are the important things to understand:</p><p><strong>Interest rates are fixed for the duration of the loan</strong>. When a borrower takes out a loan, its interest rates are fixed and do not change for the whole loan duration.</p><p><strong>Loan interest rates are based on the pool utilization rate</strong>. If a borrower takes out a loan at a higher utilization rate, the interest rate will be higher, and the same for a lower utilization rate.</p><p><strong>The protocol has adjustable parameters in place to adapt.</strong> These parameters are in place to ensure lending is efficient and robust.</p><h4><strong>What we are going to do?</strong></h4><p>We already have an ongoing DAO discussion on adjusting interest parameters to mitigate possible risks. You can participate here <a href="https://governance.aada.finance/t/proposal-adjust-interest-rate-parameters-for-ada-liquidity-pools/2638">https://governance.aada.finance/t/proposal-adjust-interest-rate-parameters-for-ada-liquidity-pools/2638</a></p><p>Since the Lenfi protocol design anticipated such events, parameter changes will be smooth and without much friction. When interest parameters are updated, all new loans will adopt the adjusted interest rate.</p><h4>Conclusion</h4><p>We are delighted to see the Cardano community engaging in discussions, providing valuable feedback, and helping us grow. Lenfi is designed to evolve and adapt, ensuring its continued success.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=15964c6ca305" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Lenfi V2: A New Chapter in Cardano’s DeFi Ecosystem]]></title>
            <link>https://medium.com/@lenfi/lenfi-v2-a-new-chapter-in-cardanos-defi-ecosystem-26c460135ed2?source=rss-81b313a16737------2</link>
            <guid isPermaLink="false">https://medium.com/p/26c460135ed2</guid>
            <category><![CDATA[lending]]></category>
            <category><![CDATA[cardano]]></category>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[ada]]></category>
            <category><![CDATA[borrowing]]></category>
            <dc:creator><![CDATA[Lenfi]]></dc:creator>
            <pubDate>Thu, 22 Feb 2024 11:46:33 GMT</pubDate>
            <atom:updated>2024-02-22T11:46:33.513Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VByr4oGb12qce6Rp8gabVQ.png" /></figure><p>We are thrilled to announce the launch of Lenfi V2 on the Cardano mainnet, marking a pinnacle moment of our development. After months of rigorous testing and the successful completion of two comprehensive audits, Lenfi V2 is set to redefine Cardano DeFi lending.</p><p><strong>The app is reachable on </strong><a href="http://app.lenfi.io/"><strong>app.lenfi.io</strong></a><strong>.</strong></p><h3>Novel DeFi Pools That Will Democratize Lending on Cardano</h3><p>Lenfi V2 introduces a pioneering isolated pool market design destined to disrupt the current Cardano DeFi ecosystem. Our protocol is built on the foundation of accessibility, flexibility, and community governance, offering several groundbreaking features:</p><h4>Permissionless Pool Creation and Ownership</h4><p>Embracing the spirit of decentralization, Lenfi V2 allows anyone to establish a lending pool and become a Pool Manager. This feature opens up a new realm of possibilities for protocols and DAOs to manage and earn from offering lending and borrowing services using their native tokens.</p><p>Moreover, they can delegate the unused ADA to any stake pool, further enhancing rewards for suppliers. The transferability of the Pool Manager NFT makes it a tradable commodity, which is another merit of ownership and management rights within the ecosystem.</p><h4>Tokenized Debt Bonds</h4><p>Tokenized debt bonds are not new to Lenfi, and they proved to be an efficient safety layer in V1. Users will receive bonds in the form of transferable and tradable NFTs that signify the borrower’s commitment to repay the loan. This feature not only secures the lending process but also introduces a new asset class within the Cardano ecosystem.</p><h4>Native Multi-Asset Support</h4><p>Lenfi V2 is designed to support a wide range of assets, enabling the lending and borrowing of ADA alongside other native tokens and stablecoins. This multi-asset approach ensures that our platform caters to a diverse range of financial needs and preferences within the Cardano community.</p><h4>Open Liquidations</h4><p>Our protocol adopts a community-centric approach to managing undercollateralized loans. Open liquidations allow any user to participate as a liquidator, providing a low-risk yield opportunity and ensuring the system’s stability and integrity.</p><h4>Decentralized Governance</h4><p>At the heart of Lenfi V2 is our commitment to decentralized decision-making. The Lenfi DAO plays a crucial role in overseeing the DAO treasury and adjusting critical protocol parameters, such as asset whitelisting and fee structures, empowering our community to shape the protocol’s future.</p><h3>Security and Risk Management</h3><p>We have shown a strong commitment to creating a secure and reliable DeFi platform throughout the years, and Lenfi V2 is no different. We understand the critical importance of trust and safety, hence our priority in implementing the highest standards of security and risk management for Lenfi V2. Meanwhile, we value the need for seamless performance and top-notch user experience. In this regard, we have taken extensive measures to ensure integrity and performance by taking a few important steps:</p><h4>Auditing</h4><p>To safeguard our users and their assets, the Lenfi V2 smart contracts have undergone thorough audits conducted by <a href="https://github.com/lenfiLabs/materials/blob/main/anastasiaLabs-audit-final.pdf">Anastasia Labs</a> and <a href="https://github.com/lenfiLabs/materials/blob/main/txpipe-audit.pdf">TxPipe</a>, two leading firms in blockchain security on Cardano. These audits have meticulously evaluated the security, efficiency, and scalability of our contracts, ensuring that Lenfi V2 adheres to the best practices and standards in the industry.</p><h4>Performance Optimization</h4><p>Beyond security, we have focused on optimizing the performance of our smart contracts. This not only enhances the security of the protocol but also significantly improves throughput and user experience. Thanks to the suggestions from the auditing companies and the community feedback, we managed to combine performance and sleek UI/X.</p><h4>Open Source and Bug Bounty Program</h4><p>In line with the “don’t trust — verify” principle, we have open-sourced the <a href="https://github.com/lenfiLabs/lenfi-smart-contracts">V2 smart contracts</a>. We believe that doing so was a crucial step that allows anyone in the community to review and contribute to the protocol security before mainnet launch.</p><p>To further incentivize active participation in bug discovery, we announced a $20,000 <a href="https://lenfi.gitbook.io/docs/bug-bounty">bug bounty program</a>. While there haven’t been any critical issues reported so far, fostering a collaborative approach is just an additional security layer for maintaining the protocol’s integrity.</p><h4>Isolated Market Pools and NFT Bonds</h4><p>A key feature of Lenfi V2 is its isolated market pool design. This innovative approach minimizes systemic risk by ensuring that potential smart contract breaches impact only individual pools rather than the entire protocol. This segmentation enhances the overall resilience of Lenfi V2, safeguarding users’ assets against widespread vulnerabilities.</p><p>Additionally, the introduction of tokenized debt bonds in the form of NFTs adds an extra layer of security for borrowers. These NFT bonds represent a tangible commitment to repay a loan, providing a secure and transparent mechanism for managing borrowings within the platform.</p><h3>Mainnet Launch Details and User Guide</h3><p>We are excited to announce that all assets supported in Lenfi V1 will seamlessly transition to Lenfi V2, ensuring a broad spectrum of lending and borrowing options for our users.</p><p>To start exploring the innovative features of Lenfi V2, users can visit <a href="http://app.lenfi.io/">app.lenfi.io</a>. For those looking to deepen their understanding of the platform and its functionalities, our comprehensive documentation is available at<a href="https://lenfi.gitbook.io/docs/"> Lenfi Documentation</a>.</p><p>This transition marks not only an evolution of our protocol but also reinforces our commitment to providing a diverse and inclusive DeFi ecosystem on Cardano. Whether you are a seasoned DeFi enthusiast or new to the space, Lenfi V2 is designed to offer an intuitive and rewarding experience for everyone.</p><h3>A Thank-You To The Community</h3><p>Our journey to this point has been nothing short of extraordinary, and we did our best to make the wait worthwhile. Nevertheless, the launch wouldn’t have been made possible without the unwavering support and patience of our community.</p><p>To our dedicated members who have stood by us, your belief in our vision has been the driving force behind this achievement. We extend our deepest gratitude to each and every one of you for helping us reach this pinnacle moment in our development.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yQxwvpK89uzWZRX7hdI3zQ.png" /></figure><h3>Contact and Follow-Up</h3><p>For more information and support, please reach out to us at info@aada.finance. Follow us on <a href="https://twitter.com/LenfiOfficial">Twitter</a> and join our <a href="https://discord.gg/nX4btuWEgh">Discord</a> and <a href="https://t.me/lenficommunity">Telegram</a> communities to stay engaged with the latest news, updates, and discussions. Your feedback, questions, and participation are what drive us forward, and we look forward to continuing this journey with you.</p><p><strong>Together, we will shape the future of DeFi on Cardano. Welcome to Lenfi V2.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=26c460135ed2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Providing Liquidity to Lenfi is a Smart Choice]]></title>
            <link>https://medium.com/@lenfi/why-providing-liquidity-to-lenfi-is-a-smart-choice-8571335595a1?source=rss-81b313a16737------2</link>
            <guid isPermaLink="false">https://medium.com/p/8571335595a1</guid>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[lending]]></category>
            <category><![CDATA[ada]]></category>
            <category><![CDATA[cardano]]></category>
            <category><![CDATA[staking]]></category>
            <dc:creator><![CDATA[Lenfi]]></dc:creator>
            <pubDate>Wed, 21 Feb 2024 15:13:31 GMT</pubDate>
            <atom:updated>2024-02-21T15:13:31.427Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VNi4lsPCOVxZM1lddOGc3g.png" /></figure><p>This article aims to inform Liquidity Providers (LP) about the value proposition offered by the Lenfi Protocol.</p><p><strong>Executive summary</strong></p><p>Lenfi’s objective is to increase the expected yield beyond the base delegation rate of 3.2%, with minimal trade-offs. It is structured to optimize returns while balancing risks effectively.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ocWp7Oq-TxwYWtuU" /><figcaption><em>Lenfi usage from the point of view of Liquidity Provider</em></figcaption></figure><p>▶ <strong>Expect higher yields than base delegation rate.</strong><br>Borrowed ADA aims to bring in higher returns, while your idle ADA will earn as it does now in a Stake Pool.<br>▸ <strong>Support desired CNT with additional utility.</strong><br>The token of your choice can be used as collateral to secure ADA or other CNT loans.<br>▸ <strong>Support Cardano TVL growth.</strong><br>ADA will be calculated towards Cardano TVL with the same benefits as parked in your wallet.<br>▸<strong> Support Cardano DeFi and opportunities.</strong><br>Those with ideas can use your otherwise idle liquidity to create ecosystem growth.</p><h3>Risks</h3><p>Like any financial protocol, Lenfi comes with its own set of risks. We are committed to keeping you informed about these risks and the steps we take to mitigate them.</p><p>▸ <strong>Protocol breach.</strong> Even thorough audits don’t guarantee that every aspect of the protocol will work as expected. Unforeseen events could potentially lead to a protocol failure. To minimize this risk, we conduct multiple audits, open-source our code, and offer a bug bounty program to identify and resolve issues.<br>▸ <strong>Bad debt</strong>. The protocol assumes that if the Loan to Value (LTV) ratio increases, a liquidator will step in to liquidate the loan. However, we can’t guarantee the presence of a liquidator at all times. To encourage liquidation, we offer a <a href="https://lenfi.gitbook.io/aada/liquidity-pools/protocol-fees#liquidation-fee">liquidation fee</a> as an incentive to liquidators.<br>▸ <strong>Parameters control. </strong>Some protocol parameters are adjustable, detailed <a href="https://lenfi.gitbook.io/aada/liquidity-pools/protocol-parameters#adjustable-pool-parameters">here</a>. There are two risks:</p><ul><li>When needed, operator (developer team) could fail to adjust parameters. For example, in a case of DoS attack on the pool.</li></ul><p>We have proper monitoring and alerting systems in place which should reduce such risk.</p><ul><li>Developer keys could be stolen and parameters adjusted incorrectly.</li></ul><p>There are Smart Contract limits to how these parameters could be adjusted which can’t result in devastating issues.</p><p>Additionally the risk will be reduced when the parameters control will be moved to on-chain DAO which is allowed by current protocol design.</p><h3>Liquidity provider concerns</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fsheetsu.com%2Ftables%2F4415de8ac3&amp;dntp=1&amp;display_name=Sheetsu&amp;url=https%3A%2F%2Fsheetsu.com%2Ftables%2F4415de8ac3&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=sheetsu" width="700" height="418" frameborder="0" scrolling="no"><a href="https://medium.com/media/aaf36ba4d261dbd3ba2c74e3ed29ad76/href">https://medium.com/media/aaf36ba4d261dbd3ba2c74e3ed29ad76/href</a></iframe><h3>Yield loss from base delegation</h3><p>ADA deposited into a liquidity pool is delegated to a Stake Pool. In cases where the ADA is not borrowed, it continues to yield rewards from delegation. The Smart Contract ensures that these rewards are appropriately distributed to the liquidity pool.</p><p>Utilized (borrowed) ADA will generate a minimum yield of 3.5% APR.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fsheetsu.com%2Ftables%2F7bd76c471a&amp;dntp=1&amp;display_name=Sheetsu&amp;url=https%3A%2F%2Fsheetsu.com%2Ftables%2F7bd76c471a&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=sheetsu" width="700" height="250" frameborder="0" scrolling="no"><a href="https://medium.com/media/c1c9832883707dbbcb722f4489a52203/href">https://medium.com/media/c1c9832883707dbbcb722f4489a52203/href</a></iframe><h4>Risky collateral tokens</h4><p>Each pool operates independently with specific loan and collateral assets. Only the predefined assets can be used as collateral for loans, allowing liquidity providers to limit their risk exposure to the liquid collateral assets of their choice.</p><h4>Impermanent Loss</h4><p>Debts and interest must be repaid using the same asset type as the deposit. During liquidation, the liquidator is required to settle both debt and interest with the liquidity pool. This process ensures that deposits remain tied to a specific asset, preventing asset swaps and eliminating impermanent loss.</p><h4>Protocol failure</h4><p>To prevent the risk failure or bad debt where liquidity could be drained or locked, we’ve taken proactive measures by conducting two external audits in collaboration with <a href="https://twitter.com/AnastasiaLabs">AnastasiaLabs</a> and <a href="https://twitter.com/txpipe_tools">TxPipe</a>. Following the completion of the second audit, we plan to open-source the protocol and launch a bug bounty program to further enhance security.</p><h4>Liquidity lock</h4><p>When utilization is high, liquidity providers may be unable to withdraw their assets due to them being borrowed. However, this high utilization triggers increased interest rates for loans, attracting new liquidity seeking higher yields. Simultaneously, the higher interest rates may discourage excessive borrowing.</p><h4>Delegate ADA to SPO of your choice</h4><p>The creator of the pool is given a “Pool Manager NFT” that has a right to perform any actions with Stake Address associated with the pool. Therefore NFT holder can:</p><ul><li>Delegate to Stake pool of their choice</li><li>Create their own stake pool</li><li>Use deposited ADA for Catalyst voting</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8571335595a1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Lenfi V2 to Begin Community-Driven Bug Bounty Program Now]]></title>
            <link>https://medium.com/@lenfi/lenfi-v2-to-begin-community-driven-bug-bounty-program-now-c2d312203df2?source=rss-81b313a16737------2</link>
            <guid isPermaLink="false">https://medium.com/p/c2d312203df2</guid>
            <category><![CDATA[lending]]></category>
            <category><![CDATA[cardano]]></category>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[audit]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <dc:creator><![CDATA[Lenfi]]></dc:creator>
            <pubDate>Thu, 08 Feb 2024 12:26:17 GMT</pubDate>
            <atom:updated>2024-02-08T12:26:17.013Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lwp9u85YyW6SuPgDOAz3FQ.png" /></figure><p><a href="https://github.com/lenfiLabs/materials/blob/main/txpipe-audit-draft.pdf">TxPipe’s V2 audit</a> has marked the end of a successful round of safety checks before launching Lenfi V2 on mainnet. Now, we’re inviting everyone to a bug hunting event with our V2 Bug Bounty Program. All the details about this program are provided below.</p><p>When it comes to crypto lending and borrowing, safety is of crucial importance for us. In this regard, engaging the community in the V2 Bug Bounty Program embraces the multi-faceted security standard of major protocols. At the same time, it aims to encourage active participation from developers by incentivizing them to uncover any potential vulnerabilities in our smart contract code.</p><p>This proactive approach ensures that we can promptly mitigate risks associated with the following scenarios:</p><ul><li>Thefts and freezing of principal of any amount.</li><li>System shutdowns that could jeopardize users’ funds.</li></ul><h3>Eligibility Requirements and Guidelines</h3><p>All rewards will be disbursed by the Lenfi team, with a fixed amount of $20,000 USD for identifying critical smart contract vulnerabilities. Although the reward size is denominated in USD, the actual payouts will be made in ADA.</p><p>To qualify for a reward, you must:</p><ul><li>Report a previously unreported vulnerability that is not previously known by the team and within the scope of the Program.</li><li>Be the first to disclose the unique vulnerability in compliance with the disclosure requirements.</li><li>Provide sufficient information to enable our engineers to reproduce the bug.</li><li>Avoid privacy violations, destruction of data, interruption or degradation of any of the assets in scope.</li><li>Recommendations on how to rectify the identified vulnerability.</li></ul><h3>Assets in Scope</h3><p>Participants can review all Lenfi smart contracts on our <a href="https://github.com/lenfiLabs">Github</a> repository. However, only the assets listed below are eligible for bug bounty program rewards:</p><ul><li><a href="https://github.com/lenfiLabs/lenfi-smart-contracts/blob/main/validators/collateral.ak">https://github.com/lenfiLabs/lenfi-smart-contracts/blob/main/validators/collateral.ak</a></li><li><a href="https://github.com/lenfiLabs/lenfi-smart-contracts/blob/main/validators/delayed_merge.ak">https://github.com/lenfiLabs/lenfi-smart-contracts/blob/main/validators/delayed_merge.ak</a></li><li><a href="https://github.com/lenfiLabs/lenfi-smart-contracts/blob/main/validators/leftovers.ak">https://github.com/lenfiLabs/lenfi-smart-contracts/blob/main/validators/leftovers.ak</a></li><li><a href="https://github.com/lenfiLabs/lenfi-smart-contracts/blob/main/validators/liquidity_token.ak">https://github.com/lenfiLabs/lenfi-smart-contracts/blob/main/validators/liquidity_token.ak</a></li><li><a href="https://github.com/lenfiLabs/lenfi-smart-contracts/blob/main/validators/oracle_validator.ak">https://github.com/lenfiLabs/lenfi-smart-contracts/blob/main/validators/oracle_validator.ak</a></li><li><a href="https://github.com/lenfiLabs/lenfi-smart-contracts/blob/main/validators/order_contract.ak">https://github.com/lenfiLabs/lenfi-smart-contracts/blob/main/validators/order_contract.ak</a></li><li><a href="https://github.com/lenfiLabs/lenfi-smart-contracts/blob/main/validators/placeholder_nft.ak">https://github.com/lenfiLabs/lenfi-smart-contracts/blob/main/validators/placeholder_nft.ak</a></li><li><a href="https://github.com/lenfiLabs/lenfi-smart-contracts/blob/main/validators/pool.ak">https://github.com/lenfiLabs/lenfi-smart-contracts/blob/main/validators/pool.ak</a></li><li><a href="https://github.com/lenfiLabs/lenfi-smart-contracts/blob/main/validators/pool_config.ak">https://github.com/lenfiLabs/lenfi-smart-contracts/blob/main/validators/pool_config.ak</a></li><li><a href="https://github.com/lenfiLabs/lenfi-smart-contracts/blob/main/validators/pool_stake.ak">https://github.com/lenfiLabs/lenfi-smart-contracts/blob/main/validators/pool_stake.ak</a></li><li><a href="https://github.com/lenfiLabs/lenfi-smart-contracts/blob/main/lib/aada/utils.ak">https://github.com/lenfiLabs/lenfi-smart-contracts/blob/main/lib/aada/utils.ak</a></li><li><a href="https://github.com/lenfiLabs/lenfi-smart-contracts/blob/main/lib/aada/types.ak">https://github.com/lenfiLabs/lenfi-smart-contracts/blob/main/lib/aada/types.ak</a></li><li><a href="https://github.com/lenfiLabs/lenfi-smart-contracts/blob/main/lib/aada/nft_pointers.ak">https://github.com/lenfiLabs/lenfi-smart-contracts/blob/main/lib/aada/nft_pointers.ak</a></li><li><a href="https://github.com/lenfiLabs/lenfi-smart-contracts/blob/main/lib/aada/nft.ak">https://github.com/lenfiLabs/lenfi-smart-contracts/blob/main/lib/aada/nft.ak</a></li><li><a href="https://github.com/lenfiLabs/lenfi-smart-contracts/blob/main/lib/aada/finance.ak">https://github.com/lenfiLabs/lenfi-smart-contracts/blob/main/lib/aada/finance.ak</a></li></ul><p><strong><em>Disclaimer</em></strong><em>: If you uncover any critical vulnerabilities related to other Lenfi assets that are not on the provided list, please report them to be considered for a reward.</em></p><h3>Prohibited Practices</h3><p>Our bug bounty program adheres to principles of fairness and transparency. Consequently, we will not reward vulnerabilities falling under the following categories:</p><ul><li>Self-exploited attacks resulting in harm.</li><li>Breaches related to leaked keys or credentials.</li><li>Attacks targeting privileged addresses, such as governance accounts.</li><li>Reporting a vulnerability after exploiting it in a way it’s made public or you’ve obtained profit (other than a reward under this Program).</li></ul><p>Additionally, the following activities are strictly prohibited within the Lenfi V2 bug bounty program:</p><ul><li>Any form of phishing or social engineering attacks against our protocol’s employees or users.</li><li>Testing conducted through third-party applications (e.g., browser extensions) or external websites (e.g., SSO, advertising platforms, etc.).</li><li>Distributed Denial of Service (DDoS) attacks.</li><li>Automated testing that generates excessive traffic.</li><li>Public disclosure of unpatched vulnerabilities after receiving a reward.</li><li>Other unlawful conduct when disclosing the bug, including threats, demands, or any other coercive tactics.</li></ul><h3>How to Submit a Bug Report</h3><p>To report a bug, please contact us via email at <em>info@aada.finance</em>, join our Telegram group, or participate in our Discord community. When filing a bug report, include a short description of the discovered vulnerability along with a step-by-step reproduction guide. Don’t forget to attach your Discord or Telegram username so we can reach out to you if needed.</p><h3>Disclosure Agreement</h3><p>The following Program adheres to strict non-disclosure standards. Any reported issue must not be shared publicly or with any other entity before the Lenfi team. The latter can grant Program participants permission for public disclosure only after finding a proper solution to the reported issue. After effective resolution of the reported vulnerabilities, the Lenfi team reserves the right to recognize the contributor if allowed.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c2d312203df2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Lending Pools — Unleashing A New Standard with Pool Managers]]></title>
            <link>https://medium.com/@lenfi/lending-pools-unleashing-a-new-standard-with-pool-managers-e0f4312f5a3a?source=rss-81b313a16737------2</link>
            <guid isPermaLink="false">https://medium.com/p/e0f4312f5a3a</guid>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[pooled-lending]]></category>
            <category><![CDATA[cardano-lending]]></category>
            <category><![CDATA[lending-and-borrowing]]></category>
            <category><![CDATA[defi-lending]]></category>
            <dc:creator><![CDATA[Lenfi]]></dc:creator>
            <pubDate>Wed, 17 Jan 2024 14:39:53 GMT</pubDate>
            <atom:updated>2024-01-17T14:39:53.774Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Lending Pools — Unleashing A New Standard with Pool Managers</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q45is3E4Xf4nOzGcGNJs4g.png" /></figure><p>Even though DeFi lending is still in its infancy, it has already endured a couple of crypto cycles. In this regard, it’s safe to say that pool lending protocols have long become a standard in decentralized finance. While most crypto users are familiar with popular protocol designs like AAVE and Maker, Lenfi V2 is discovering an entirely new niche with its <a href="https://lenfi.gitbook.io/docs/liquidity-pools/pool-manager-nft">pool managers</a>.</p><p>This term might seem outlandish for those just tapping into the world of DeFi lending. Still, the term underwrites a new pool ownership infrastructure that is more resilient, decentralized, and aligned with Cardano’s features. Here’s what you need to know about pool managers and Lenfi’s sharded lending pools:</p><h3>What is Pool Lending in DeFi?</h3><p>Before we dive into LenFi’s reiteration of the classic pooled lending, we must elaborate on the essence of the lending model. In decentralized finance (DeFi), pool lending refers to a concept that requires lenders (suppliers) to deposit funds into a liquidity pool. Borrowers can then open a position (borrow from the pool) by putting up another crypto asset as collateral. While this method involves the use of smart contracts prompt to failure, the benefits outweigh the risks. Some of the perks of pool lending for lenders include:</p><ul><li>Diversification: Lenders’ funds are spread across many borrowers, reducing risk.</li><li>Liquidity: Lenders can withdraw funds anytime since the funds are pooled.</li><li>Automation: Smart contracts automate lending, from funding the pool to distributing interest payments.</li></ul><p>For borrowers, the benefits include:</p><ul><li>Convenience: The lending process is automated and decentralized. No credit check is needed.</li><li>Anonymity: Borrowers do not need to disclose personal information to borrow from the pool.</li><li>Interest rates: Interest rates for borrowing from pools may be lower than other options.</li></ul><h3>How Do Pool Popular Lending Pool Protocols Operate?</h3><p>Undoubtedly, pool lending is an innovative concept that unlocked a slew of use cases for DeFi. By eliminating the intermediaries, this DeFi lending model provides fair interest rates and quick loan access. Here are some of the most popular reiterations of the design:</p><h4>Shared Lending Pools</h4><p>Shared Lending Pools, as seen in AAVE, bear the traditional meaning behind the pooled lending concept. Typically, it pools funds from many lenders into a single smart contract. Borrowers can then take out loans from this pool, with interest paid to the lenders.</p><p>This model provides simplicity, often favored by the general user base. It boasts high liquidity, easy and convenient access to capital, and potentially low rates for borrowers. Since everything is determined by an algorithm, the model ensures fairness based on supply and demand.</p><p>However, depositing funds into concentrated pools provides less control and visibility into fund allocation. Having multiple large borrowers default can quickly create a snowball effect of cascading liquidations. Over time, there have been numerous cases in which this weakness has been exploited by bad actors.</p><h4>CDP Protocols</h4><p>Collateralized Debt Position (CDP) protocols might not be the typical lending solution for most users. Still, they provide quick access to capital without needing credit checks. In essence, a CDP protocol enables users to take out loans against their crypto.</p><p>Usually, the “debt position” is in the form of a stablecoin or another asset. The loan size depends on the supplied collateral and the loan-to-value ratio set by the protocol. In most cases, higher collateralization ratios equal lower risk for lenders.</p><p>If the value of the deposited collateral falls to a level that breaks the collateralization ratio, the smart contract liquidates the collateral. This liquidation covers the outstanding loan and interest. The most popular CDP protocol is MakerDAO, which allows users to take out DAI loans by depositing ETH.</p><h4>Isolated Lending Pools</h4><p>Isolated lending pools provide more customization and control for lenders. Each lender deposits funds into their own isolated pool, which they control. Borrowers can then borrow from specific isolated pools based on their preferences. Isolated pools provide more transparency for lenders but can be more complex to set up and manage. Liquidity may also be lower if fewer funds are in each isolated pool.</p><p>A prime example is Rari Capital’s Fuse platform, a protocol that could create an infinite number of same-token lending pools that consist of many other tokens. The primary idea behind this model is to isolate pools and risks while catering to a larger user base. However, each pool has a manager who can change the pool parameters unilaterally, presenting a single point of failure.</p><p>Additionally, a pool can quickly become riskier even if one of the assets cannot be trusted. Unfortunately for the Rari/Fei users, the platform suffered an infamous <a href="https://www.coindesk.com/business/2022/04/30/defi-lender-rari-capitalfei-loses-80m-in-hack/">$80 million hack</a> based on a known reentrancy attack from its Compound fork.</p><h4>Isolated Markets Lending Protocol</h4><p>The Isolated Markets Lending Protocol (IMLP) aims to provide the benefits of both shared and isolated pools. Platforms like Silo create one pool for an underlying token, letting lenders deposit funds into isolated pools which they control. Borrowers can then discover and access these isolated pools through a shared interface.</p><p>Using bridged assets, the protocol connects all “Silos”, giving borrowers access to a range of funding options through the shared interface. This model achieves a high-security level by isolating every token from the protocol. If a given market is hacked or exploited, it will only affect the respective pool, not the protocol itself.</p><h3>The Role of the Pool Manager in LenFi’s V2 Lending Pools</h3><p>While pool managing in DeFi lending isn’t new, opening the gates to permissionless pool creation is bound to disrupt the Cardano ecosystem. Indeed, managing a pool will present a slew of use cases for DAOs, SPOs, and common users. Here are the three most notable perks of operating funds on LenFi:</p><h4>Fosters an open pool market</h4><p>With V2, LenFi reaffirms its core vision of following the decentralization mantra. By enabling permissionless pools, every Cardano user, from individuals to DAOs and other entities, can open their DeFi lending pool. This will foster an organic competition in which every pool manager will be genuinely motivated to manage their controlled funds properly. In turn, pools with better management will have higher yields, higher utilization rates, and more ADA delegated to their stake pool of choice.</p><h4>Removes the single point of failure</h4><p>The idea of taking on a “sharded” concept of building a lending protocol on Cardano makes LenFi V2 significantly more decentralized. The very design of having individual pools owned by the community eliminates the protocol as a target of attacks. Of course, this brings in a new level of decentralization and resilience through conscious fragmentalization. A pool NFT-holder is in their best interest to do their job diligently to generate high yields and control more ADA.</p><h4>Introduces pool ownership as a commodity</h4><p>The concept of using an NFT as a “key” to a pool isn’t new. LenFi’s V1 p2p protocol first introduced the NFT bonds, representing a loan position. Similarly, the Pool Manager NFT will allow its creator to transfer ownership of the respective pool. This game-changing feature will give SPOs, DAOs, and other DeFi protocols the chance to bid for successful lending pools. Essentially, the latter further increases the importance of managing a pool adequately.</p><h3>Conclusion</h3><p>The introduction of sharded lending pools and pool managers unleashes a more sophisticated and flexible DeFi lending on Cardano. With LenFi V2 just around the corner, the prospect of having a genuinely decentralized pool lending on Cardano is truly exciting. Besides, LenFi is poised to keep improving the decentralized lending experience for its growing number of users. In this regard, it’s safe to say that this is only the beginning of creating an open financial system of the future.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e0f4312f5a3a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DeFi Lending with Lenfi — A Powerful Year’s End Overview]]></title>
            <link>https://medium.com/@lenfi/defi-lending-with-lenfi-a-powerful-years-end-overview-4906370f66c9?source=rss-81b313a16737------2</link>
            <guid isPermaLink="false">https://medium.com/p/4906370f66c9</guid>
            <category><![CDATA[cardano]]></category>
            <category><![CDATA[lenfi]]></category>
            <category><![CDATA[lending-and-borrowing]]></category>
            <category><![CDATA[cardano-defi]]></category>
            <category><![CDATA[defi]]></category>
            <dc:creator><![CDATA[Lenfi]]></dc:creator>
            <pubDate>Thu, 21 Dec 2023 14:36:27 GMT</pubDate>
            <atom:updated>2023-12-21T14:36:27.257Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>DeFi Lending with Lenfi — A Powerful Year’s End Overview</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*txokp7SDu2OxpKzKTM4ZlQ.png" /></figure><p>As the Year of the Rabbit is near its end, it’s time for a proper wrap-up and overview of some of Lenfi’s most important milestones. This year, DeFi lending was certainly a hot topic for us as we continue to build up on the foundations of our V1 dApp. Improvement updates, numerous DAO votes, new TVL all-time highs, a rebrand, a V2 testnet, and much more happened all in less than 12 months! Here are the most memorable Lenfi moments for 2023:</p><h3>TVL All-Time Highs</h3><p>When it comes to special moments, we can’t help but mention our V1 P2P lending protocol launch on 13 September 2022. But the app’s Total Value Locked (TVL) didn’t pick up until 2023, when we reached our first significant milestone — 10 million ADA in TVL on May 20, 2023. Considering the measly 872,000 ADA (~$215,000) on the first day of the year, the current figure of 18.3 million ADA (~$11.1 million) is a convincing recognition of the team’s work and dedication!</p><h3>Hefty Loans</h3><p>Despite being only its first full calendar year of P2P loans, Lenfi gathered some impressive figures. As of December, the number of loans reached 4820, exceeding 32.46 million ADA in total value. To recuperate lenders, borrowers paid over 2.4 million in interest, encouraging more Cardano DeFi users to utilize their ADA and CNTs on the platform.</p><p>As expected, the king of collaterals was LENFI, with a value of nearly 77 million ADA locked in 2756 loans. The list is followed by SNEK with a value of 21 million ADA locked in 674 loans. The overcollateralization design did its job properly, leaving a total of 272 million ADA value locked in the app. It was used to borrow 27.85 million ADA, 3.28 million ADA worth of LENFI, and many other Cardano native assets!</p><h3>Most Active DAO Vote</h3><p>But TVL wasn’t the only category in which we broke records this year. Undoubtedly, Lenfi’s DAO was the most active on-chain community in Cardano DeFi, with its members submitting tens of proposals and approving a staggering 29 of them for on-chain voting. Out of all, only four failed to pass, which shows a general sentiment of unity within the Lenfi community.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/0*xqgjbiBaRcK9owRa" /></figure><p>Of course, we can’t forget to mention the most active DAO vote — the “Add $SNEK as collateral” proposal. It resulted in the heartstopping 2.279 million (50.66%) to 2.22 million (49.34%) votes. Adding the premier Cardano meme coin was one of the best decisions, as it quickly became one of the most used collaterals. Consequently, it added millions of ADA in TVL to Lenfi V1!</p><h3>V2 Testnet</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/593/0*5pNYUIGwRjd2GJqh" /></figure><p>The “Aada Finance” decentralized lending solution certainly gained traction among the Cardano community. However, the V2 peer-to-pool app was the real star everyone was anticipating. The team worked relentlessly, and while the app is yet to see mainnet deployment, users got early access to the testnet version via testnet.lenfi.io.</p><h3>2 External Audits to Double the Conviction</h3><p>In 2023, security and transparency continued to be part of Lenfi’s vision for DeFi lending. As the team focused on V2, it maintained its stance on open-source code. To double our commitment toward the community, we conducted not one but two external audits — one by AnastasiaLabs and another one by TxPipe. Undoubtedly, getting Catalyst funding was a major recognition for our efforts in ensuring and maintaining user safety. In this regard, we kindly thank everyone who supported us!</p><h3>Final Thoughts</h3><p>Finally, let’s not forget the numerous app updates and the sleepless nights of coding and assisting the community. As V2 is around the corner, we would like to reiterate our intent to continue our vision throughout 2024 and beyond. May you all stay blessed and enjoy the happiest of holidays!</p><p><strong>The Lenfi Team</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4906370f66c9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>