<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
        <title>Resupply</title>
        <link>https://paragraph.com/@resupply</link>
        <description>A decentralized stablecoin protocol, leveraging the liquidity and stability of lending markets. A subDAO protocol of Convex Finance and Year</description>
        <lastBuildDate>Fri, 27 Nov 2026 18:46:41 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <language>en</language>
        <image>
            <title>Resupply</title>
            <url>https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/164d3439fe70f132d4cab37ff342ee14d45d1e90e34e2d5a2efe92edfe4dd5d1.png</url>
            <link>https://paragraph.com/@resupply</link>
        </image>
        <copyright>All rights reserved</copyright>
        <item>
            <title><![CDATA[Introducing the Hippo Creator Pod: Earn Up to 25,000 RSUP Tokens Monthly!]]></title>
            <link>https://paragraph.com/@resupply/introducing-the-hippo-creator-pod-earn-up-to-25-000-rsup-tokens-monthly</link>
            <guid>45nbSPiVcD1xKT42gF0c</guid>
            <pubDate>Fri, 12 Sep 2025 12:40:32 GMT</pubDate>
            <description><![CDATA[The Resupply ecosystem is about to get a whole lot more creative! We&apos;re thrilled to announce the launch of our brand-new Hippo Creator Pod rewards program – a six-month initiative designed to celebrate and reward the amazing content creators who help spread the word about the Resupply protocol.What is the Hippo Creator Pod?The Hippo Creator Pod is our way of saying "thank you" to the creative minds who bring the Resupply story to life. Whether you&apos;re a seasoned content creator or ju...]]></description>
            <content:encoded><![CDATA[<p>The Resupply ecosystem is about to get a whole lot more creative! We&apos;re thrilled to announce the launch of our brand-new <strong>Hippo Creator Pod</strong> rewards program – a six-month initiative designed to celebrate and reward the amazing content creators who help spread the word about the Resupply protocol.</p><h2 id="h-what-is-the-hippo-creator-pod" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>What is the Hippo Creator Pod?</strong></h2><p>The Hippo Creator Pod is our way of saying &quot;thank you&quot; to the creative minds who bring the Resupply story to life. Whether you&apos;re a seasoned content creator or just getting started, this program offers incredible opportunities to earn RSUP tokens while doing what you love most – creating engaging content!</p><h3 id="h-community-driven-monthly-rewards" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0"><strong>Community-Driven Monthly Rewards</strong></h3><ul><li><p><strong>25,000 RSUP tokens</strong> distributed among the <strong>top 5 creators</strong> each month</p></li><li><p><strong>Expert judging panel</strong>: <strong>Winthorpe</strong> from the Resupply team, along with community members <strong>Aisha</strong>, <strong>Greenranger</strong>, <strong>Heisenberg</strong>, and <strong>TommyGenesis</strong> will evaluate submissions and vote for winners</p></li><li><p><strong>Quality and engagement over quantity</strong> – we value thoughtful, well-crafted content that truly resonates and captivates audiences</p></li><li><p><strong>Tiered reward structure</strong>:</p><ul><li><p><strong>🥇 1st Place</strong>: 12,500 RSUP (50%)</p></li><li><p><strong>🥈 2nd Place</strong>: 7,500 RSUP (30%)</p></li><li><p><strong>🥉 3rd Place</strong>: 2,500 RSUP (10%)</p></li><li><p><strong>4th Place</strong>: 1,250 RSUP (5%)</p></li><li><p><strong>5th Place</strong>: 1,250 RSUP (5%)</p></li></ul></li><li><p><strong>6-month program duration</strong> (plenty of time to create amazing content!)</p></li><li><p><strong>Multiple content formats accepted</strong> – we celebrate all forms of creativity</p></li></ul><h2 id="h-what-content-qualifies" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>What Content Qualifies?</strong></h2><p>We&apos;re looking for authentic, engaging content that showcases the Resupply protocol. <strong>All content must be actively promoted by you on social media platforms, YouTube, or other public channels</strong> – simply submitting to Discord alone does not qualify. Here&apos;s what we&apos;re excited to see:</p><ul><li><p><strong>📝 Articles &amp; Blog Posts</strong>: Deep dives, tutorials, protocol explanations, and thought pieces</p></li><li><p><strong>🎥 Videos</strong>: Explainers, reviews, tutorials, and creative storytelling</p></li><li><p><strong>🎙️ Podcasts</strong>: Interviews, discussions, and educational episodes</p></li><li><p><strong>🐦 Social Media Content</strong>: Engaging tweets, Twitter threads, and other social content</p></li><li><p><strong>🎨 Creative Content</strong>: Infographics, animations, memes, and other innovative formats</p></li><li><p><strong>😂 Memes</strong>: Fun, shareable content that spreads Resupply awareness</p></li></ul><p><strong>Remember</strong>: Your content must be published and promoted on public platforms to qualify for rewards! <strong>Focus on creating high-quality, engaging content that captures attention rather than flooding the channel</strong> – our judges prioritize excellence and audience engagement over volume.</p><h2 id="h-how-to-join-the-pod" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>How to Join the Pod</strong></h2><p>Getting started is simple:</p><ol><li><p><strong>Sign up</strong> using our registration form: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://fill.formnx.com/f/hippo-creator-pod-sign-up-form-10fw69">https://fill.formnx.com/f/hippo-creator-pod-sign-up-form-10fw69</a></p></li><li><p><strong>Create</strong> your Resupply-focused content with attention to quality, engagement, and detail</p></li><li><p><strong>Promote</strong> it on social media, YouTube, or other public platforms</p></li><li><p><strong>Submit</strong> your work through our dedicated Discord channel where the community can discover and evaluate submissions</p></li><li><p><strong>Let the judges decide</strong> – Winthorpe, Aisha, Greenranger, Heisenberg, and TommyGenesis will review and vote on all submissions based on quality, engagement, and impact</p></li><li><p><strong>Celebrate the winners</strong> – top 5 creators each month share the 25,000 RSUP token pool</p></li><li><p><strong>Keep creating</strong> – there&apos;s room for everyone in the pod, and new opportunities every month!</p></li></ol><h2 id="h-why-join-now" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>Why Join Now?</strong></h2><p>The Hippo Creator Pod isn&apos;t just about rewards (though those RSUP tokens are pretty sweet!). It&apos;s about:</p><ul><li><p><strong>Building community</strong> around innovative DeFi solutions</p></li><li><p><strong>Growing your audience</strong> in the rapidly expanding Resupply ecosystem</p></li><li><p><strong>Learning and earning</strong> while exploring cutting-edge protocol features</p></li><li><p><strong>Connecting</strong> with other creators and protocol enthusiasts</p></li><li><p><strong>Getting recognized</strong> by trusted community members and team members for outstanding creative work</p></li></ul><h2 id="h-ready-to-dive-in" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>Ready to Dive In?</strong></h2><p>The Hippo Creator Pod is officially open and ready for your creative contributions! Whether you&apos;re planning an in-depth protocol analysis, a fun explainer video, or an engaging podcast series, we can&apos;t wait to see what you create – and more importantly, what our expert judging panel thinks of it!</p><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://fill.formnx.com/f/hippo-creator-pod-sign-up-form-10fw69"><strong>Sign up now and join the pod today – let&apos;s build the future of DeFi content together!</strong></a></p><hr><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href=""><em>Join our Discord</em></a><em> to access the Creator Pod channel and get all the program details. Questions? Reach out to our community team – we&apos;re here to help you succeed!</em></p><hr>]]></content:encoded>
            <author>resupply@newsletter.paragraph.com (Resupply)</author>
            <enclosure url="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/a196a051ad87a1069896f9f0b3498701b9daf2c01acefabdeac861a16d28088d.png" length="0" type="image/png"/>
        </item>
        <item>
            <title><![CDATA[Community Update: What’s Been Happening at Resupply]]></title>
            <link>https://paragraph.com/@resupply/community-update-what-s-been-happening-at-resupply</link>
            <guid>LTh4cX4ZhTmg9hGKRkDE</guid>
            <pubDate>Fri, 22 Aug 2025 11:03:56 GMT</pubDate>
            <description><![CDATA[The past month has been an active one for Resupply, with key releases and upgrades helping shape an exciting path ahead. Here’s a quick overview of the highlights, with links for those who want to dive deeper:Savings reUSDsreUSD (Savings reUSD) has been developed, audited, and deployed. Its launch and integration with broader defi will be a top priority on Resupply&apos;s roadmap. sreUSD goes beyond a standard ERC-4626 vault. It introduces a system for applying an “off-peg boost”. The off-peg...]]></description>
            <content:encoded><![CDATA[<p>The past month has been an active one for Resupply, with key releases and upgrades helping shape an exciting path ahead.</p><p>Here’s a quick overview of the highlights, with links for those who want to dive deeper:</p><h2 id="h-savings-reusd" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Savings reUSD</h2><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/055e5378475847b55f3f6438a2067bb6775648f6f6e4a31bcf75760b513e6bd2.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>sreUSD (Savings reUSD) has been developed, audited, and deployed. Its launch and integration with broader defi will be a top priority on Resupply&apos;s roadmap.</p><p>sreUSD goes beyond a standard ERC-4626 vault. It introduces a system for applying an “off-peg boost”.</p><p>The off-peg boost works as follows:</p><ul><li><p>When reUSD trades below peg, an amplifier is applied to the baseline interest rates across borrow positions.</p></li><li><p>As the reUSD peg trends toward 0.99, the amplifier increases.</p></li><li><p>Any interest revenue collected from this boost is routed entirely to sreUSD depositors.</p></li></ul><p>This mechanism aims to create the right feedback loops and align incentives between peg stability and yield. More details can be found in the governance proposal here: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://gov.resupply.fi/t/savings-reusd-sreusd/68/3">Savings reUSD Proposal</a></p><h2 id="h-retention-program-resupply-recovery-plan" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Retention Program: Resupply Recovery Plan</h2><p>The <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://gov.resupply.fi/t/resupply-recovery-plan/47">Resupply Recovery Plan</a> introduced a Retention Program shortly after the exploit, aimed at supporting Insurance Pool depositors who chose to remain.</p><p>A total of 2.5M RSUP is being distributed over 1 year to eligible depositors.</p><p>These incentives, layered on top of regular Insurance Pool rewards, currently boost yields to nearly double the normal APR—making continued participation significantly more rewarding.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/4b12e5b859820c49be463fb555891f917019116a0413eb639bb182897bf26cfd.png" alt="Retention Program" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">Retention Program</figcaption></figure><h2 id="h-no-more-bad-debt" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">No More Bad Debt</h2><p>Following the IP burn, ~1.13M reUSD bad debt still remained on the protocol. To resolve this, Resupply <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://gov.yearn.fi/t/yip-86-resupply-bad-debt-repayment-loan/14516">negotiated a 6% loan with Yearn treasury</a>.</p><p>The loan was approved, allowing Resupply to immediatlely clear all protocol bad debt.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/264de339d47503c2900931f65dbea4ee869d496357fc3cfe07a497703c557b29.png" alt="Resupply Bad Debt" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">Resupply Bad Debt</figcaption></figure><p>Full liability for repayments to Yearn was transferred to both Convex and Yearn treasuries.</p><p>What may look like a simple accounting shift was in fact a major win: it eliminated Resupply’s debt burden entirely while refinancing at a much lower effective rate than it was paying on the original reUSD.</p><p>Repayments to Yearn are fully automated and trackable via the <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://rsup.lol/protocoldebt">protocol debt dashboard</a>. This structure significantly reduced costs to Resupply DAO while clearing the books of bad debt.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/e603600d1528975d1c6f66c2902f9c3dd48c15c97838b946f0a899fddb561056.png" alt="Yearn Loan Repayments" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">Yearn Loan Repayments</figcaption></figure><h2 id="h-security-upgrades-new-protocol-guardrails" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Security Upgrades: New Protocol Guardrails</h2><p>A governance proposal introduced a suite of security enhancements, all formally audited and now part of the deployment flow (<a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://gov.resupply.fi/t/introduce-additional-protocol-security-guardrails/71">Security Guardrails Proposal</a>).Key features include:</p><ul><li><p>Ability to ramp debt limits up over time, allowing for safer limit increases.</p></li><li><p>Burning collateral shares on each new deployment.</p></li><li><p>An oracle-based block on loans during abnormal collateral price movements.</p></li><li><p>Historical pair tracking, enabling stronger validation before adding new pairs to the registry.</p></li></ul><p>These guardrails strengthen resilience against both market shocks and governance oversights.</p><h2 id="h-permissions-and-roles-upgradeable-operators" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Permissions &amp; Roles: Upgradeable Operators</h2><p>Resupply has inovative a unique approach to role-based access. Throughout the protocol, all permissioned functions are guarded by <code>onlyOwner</code>, with ownership centralized in the Core contract.</p><p>The Core contract, however, retains ability to grant fine-grained permissions via its <code>execute()</code> method. All calls to <code>execute()</code> check the caller, target, and function selector before forwarding the call along. This mechanism allows governance to authorize precise permissions to sensitive actions without exposing unnecessary control.</p><p>For example:</p><blockquote><p>A guardian is whitelisted to call <code>pause()</code> on any pair. The guardian account submits this via <code>Core.execute()</code>, which checks the payload, and validates msg.sender permission to call the particular function on the specifcied target contract.</p></blockquote><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/06c5376004445f2873df68f3c8dd988ce46871614fc2af598eb9207604d1a3d4.png" alt="Operators" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">Operators</figcaption></figure><p>“Operators” is the term for any such whitelisted account or contract within Resupply. Operators can be simple EOAs, but their true power comes when implemented via smart contracts. These contracts can bundle multiple permissions and enforce arbitrary rules (e.g. a cooldown period on repeated <code>.pause()</code> calls to limit abuse).</p><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://gov.resupply.fi/t/migrate-to-upgradeable-operators/72">The latest upgrade working through Resupply governance</a> introduces upgradeable operators via proxy contracts. This means permissions can evolve (e.g. guardians gaining new function access on new assets) without having to migrate to new operator contracts, reducing governance overhead and risk.</p><h2 id="h-looking-ahead" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Looking Ahead</h2><p>Upcoming milestones:</p><ul><li><p>Activation and launch of sreUSD.</p></li><li><p>Use of sreUSD as collateral on LlamaLend.</p></li><li><p>Yearn auto-allocating vaults accepted as collateral.</p></li></ul><p>Resupply has closed the chapter on bad debt, reinforced its security and governance systems, and developed a major new yield-bearing primitive. The next phase is all about enabling these capabilities in production—stay tuned.</p>]]></content:encoded>
            <author>resupply@newsletter.paragraph.com (Resupply)</author>
            <enclosure url="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/b5204d12b499c58ec9f2d7ff1d97f4e6fe22da4a12b659c7f4b1318dae540037.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[Resupply crvUSD-wstUSR Market Post Mortem]]></title>
            <link>https://paragraph.com/@resupply/resupply-crvusd-wstusr-market-post-mortem</link>
            <guid>xXNoMg4iByksss66igix</guid>
            <pubDate>Sat, 28 Jun 2025 11:35:21 GMT</pubDate>
            <description><![CDATA[SummaryA sophisticated exploit against Resupply&apos;s crvUSD-wstUSR pair created $10M of reUSD bad debt.The vulnerability was unique to that specific pair. No other pairs are affected, and all Resupply markets continue to operate as usual.The protocol guardian has set the debt limit to 0 on the affected pair and paused insurance pool withdrawals, with a formal governance vote required to unpause.The exploit flow involved inflation of the CurveLend collateral shares, but differed from a class...]]></description>
            <content:encoded><![CDATA[<h2 id="h-summary" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>Summary</strong></h2><ul><li><p>A sophisticated <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://etherscan.io/tx/0xffbbd492e0605a8bb6d490c3cd879e87ff60862b0684160d08fd5711e7a872d3">exploit</a> against Resupply&apos;s crvUSD-wstUSR pair created $10M of reUSD bad debt.</p></li><li><p>The vulnerability was unique to that specific pair. No other pairs are affected, and all Resupply markets continue to operate as usual.</p></li><li><p>The protocol guardian has set the debt limit to 0 on the affected pair and paused insurance pool withdrawals, with a formal governance vote required to unpause.</p></li><li><p>The exploit flow involved inflation of the CurveLend collateral shares, but differed from a classical &quot;inflation attack&quot; as it was carefully designed to nullify a borrower solvency check.</p></li><li><p>The section of code containing the issue was within scope for multiple security audits and independent researchers who were hired to review the codebase. None reported the issue.</p></li><li><p>Users are encouraged to visit the Resupply governance <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://gov.resupply.fi/">forums</a> for updates on next steps.</p></li></ul><h2 id="h-background" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>Background</strong></h2><ul><li><p>Resupply accepts ERC-4626 vault shares (CurveLend / FraxLend) as CDP collateral.</p></li><li><p>Oracles price vault shares via <code>convertToAssets()</code>, treating crvUSD and frxUSD as 1:1 with reUSD.</p></li><li><p>Resupply makes use of an Insurance Pool (IP) designed to facilitate liquidations and backstop bad debt across all pairs.</p></li></ul><h2 id="h-attack-timeline" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>Attack Timeline</strong></h2><ul><li><p><strong>2025-06-26 00:18:47 UTC</strong> — crvUSD-wstUSR pair <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://etherscan.io/tx/0x852eca15a9fd352817346915f7bc8817d46de349bd7a8fc6ee73c7b66ec9ab41">deployed</a> with a $10M debt limit; underlying CurveLend vault held 0 deposits.</p></li><li><p><strong>2025-06-26 01:53:59 UTC</strong> — Attack contract deployed and exploit executed (~1 h 35 m later).</p></li><li><p><strong>2025-06-26 02:53:23 UTC</strong> - Protocol guardian pauses affected pair.</p></li></ul><h2 id="h-exploit-flow" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>Exploit Flow</strong></h2><ul><li><p>Because the Curvelend vault had no deposits, it made it possible for the attacker to dramatically manipulate the share price, making 1 wei of shares worth 2e18 crvUSD by:</p><ul><li><p>donating 2,000e18 crvUSD to the vault&apos;s controller (which holds vault funds)</p></li><li><p>depositing 2e18 crvUSD to mint 1 wei of vault shares</p></li></ul></li><li><p>While share price manipulation is a critical step in this attack, it alone is not a problem for the Resupply oracle, as the true value of the shares is tracked correctly.</p></li><li><p>Unlike a traditional &quot;inflation attack&quot;, the attack relied on triggering the following edge case in the smart contract logic:</p><ol><li><p>The oracle uses a hardcoded 1e18 shares parameter to <strong>correctly</strong> price the shares:</p><pre data-type="codeBlock" text="_price = IERC4626(_vault).convertToAssets(1e18); // returns 2e36
"><code>_price = <span class="hljs-built_in">IERC4626</span>(_vault)<span class="hljs-selector-class">.convertToAssets</span>(<span class="hljs-number">1</span>e18); <span class="hljs-comment">// returns 2e36</span>
</code></pre></li><li><p>The pair then calculates the reUSD <code>exchangeRate</code> using the following evm math, which rounds to 0.</p><pre data-type="codeBlock" text="exchangeRate = 1e36 / oracle.getPrices(collateral); // 1e36 / 2e36 floors to 0

"><code>exchangeRate <span class="hljs-operator">=</span> <span class="hljs-number">1e36</span> <span class="hljs-operator">/</span> oracle.getPrices(collateral); <span class="hljs-comment">// 1e36 / 2e36 floors to 0</span>

</code></pre></li><li><p>While an exchange rate of 0 in the previous step may appear harmless, it is relied upon in the following solvency check during each borrow operation:</p><pre data-type="codeBlock" text="function _isSolvent(address _borrower, uint256 _exchangeRate) internal view returns (bool) {
    ...
    uint256 _ltv = ((_borrowerAmount * _exchangeRate * LTV_PRECISION) / EXCHANGE_PRECISION) / _collateralAmount;
    return _ltv &lt;= _maxLTV; // _ltv = 0 ➔ always solvent
}

"><code><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">_isSolvent</span>(<span class="hljs-params"><span class="hljs-keyword">address</span> _borrower, <span class="hljs-keyword">uint256</span> _exchangeRate</span>) <span class="hljs-title"><span class="hljs-keyword">internal</span></span> <span class="hljs-title"><span class="hljs-keyword">view</span></span> <span class="hljs-title"><span class="hljs-keyword">returns</span></span> (<span class="hljs-params"><span class="hljs-keyword">bool</span></span>) </span>{
    ...
    <span class="hljs-keyword">uint256</span> _ltv <span class="hljs-operator">=</span> ((_borrowerAmount <span class="hljs-operator">*</span> _exchangeRate <span class="hljs-operator">*</span> LTV_PRECISION) <span class="hljs-operator">/</span> EXCHANGE_PRECISION) <span class="hljs-operator">/</span> _collateralAmount;
    <span class="hljs-keyword">return</span> _ltv <span class="hljs-operator">&#x3C;</span><span class="hljs-operator">=</span> _maxLTV; <span class="hljs-comment">// _ltv = 0 ➔ always solvent</span>
}

</code></pre><p>The multiplication by 0 breaks solvency check by causing the user&apos;s LTV to resolve to 0, thus causing <code>_isSolvent()</code> to return <code>true</code> regardless of the attacker&apos;s actual loan to value ratio.</p></li></ol></li><li><p>This sequence of logic allowed the attacker to borrow up to the pair&apos;s full 10M reUSD debt limit.</p></li></ul><h2 id="h-actions" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>Actions</strong></h2><ul><li><p>The protocol guardian has paused the affected pair, setting its borrow limit to 0.</p></li><li><p>The Resupply treasury has used treasury funds to repay <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://etherscan.io/tx/0x7225c1e2793368234c6f133924906e9bea336dabbc363c7513f886eaa812c55c">643,051 reUSD</a> debt</p></li><li><p>A new <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://etherscan.io/address/0xF7A57d5D58753F07805c97cfe362fA213f6d4e78">interest rate calculator</a> was added to the pair to set its interest rate to 0%, preventing interest from accumulating on the bad debt.</p></li><li><p>The withdrawal timer window has been set to zero, temporarily blocking insurance pool assets from exiting until a governance proposal is passed.</p></li><li><p>A permissionless <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://etherscan.io/tx/0xa82f495a574d070050e659134ffd8dd6cdf26d44bd0f7a27774eaa1cbc1a4461">share burner</a> contract has been deployed, funded, and used to trustlessly ensure all Resupply pairs are safe from a similar attack.</p></li></ul><h2 id="h-next-steps" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>Next Steps</strong></h2><ul><li><p>A formal governance proposal will facilitate the disposition of insurance pool assets, and to unblock the funds.</p></li><li><p>Stolen funds remain on-chain. The situation is being monitored and necessary steps are being taken.</p></li><li><p>Patch <code>ResupplyPairCore.sol</code> and <code>ResupplyPairDeployer.sol</code> to permanently defend against this form of attack.</p></li></ul><h2 id="h-references" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>References</strong></h2><ul><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/resupplyfi/resupply/blob/69ce192a28deb453ce17a7594503fe48212885a9/src/protocol/pair/ResupplyPairCore.sol">ResupplyPairCore.sol</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://etherscan.io/tx/0xffbbd492e0605a8bb6d490c3cd879e87ff60862b0684160d08fd5711e7a872d3">Exploit Transaction</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://etherscan.io/address/0x6e90c85a495d54c6d7E1f3400FEF1f6e59f86bd6">crvUSD-wstUSR Pair</a></p></li></ul>]]></content:encoded>
            <author>resupply@newsletter.paragraph.com (Resupply)</author>
        </item>
        <item>
            <title><![CDATA[Prisma Shutdown & Transition Plan]]></title>
            <link>https://paragraph.com/@resupply/prisma-shutdown-transition-plan</link>
            <guid>PUe8PIQQSBDYgGm50YLa</guid>
            <pubDate>Mon, 30 Dec 2024 17:10:28 GMT</pubDate>
            <description><![CDATA[With the passing of PIP-46, Prisma governance has confirmed the shutdown of Prisma Finance and the introduction of Resupply Finance. This post outlines the required actions and roadmap for Prisma users who retain open loans, farming positions, or holdings to ensure a smooth transition. Each phase requires on-chain governance actions. Read carefully to understand how they may impact existing positions.Key Action Items for Users📌 Close all open borrow positions promptly in Phase 2 to avoid exc...]]></description>
            <content:encoded><![CDATA[<p>With the passing of <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://gov.prismafinance.com/t/pip-46-shutdown-prisma-finance-introduce-resupply/232">PIP-46</a>, Prisma governance has confirmed the shutdown of Prisma Finance and the introduction of Resupply Finance.</p><p>This post outlines the required actions and roadmap for Prisma users who retain open loans, farming positions, or holdings to ensure a smooth transition.</p><p>Each phase requires on-chain governance actions. Read carefully to understand how they may impact existing positions.</p><hr><h2 id="h-key-action-items-for-users" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Key Action Items for Users</h2><ul><li><p>📌 Close all open borrow positions promptly in Phase 2 to avoid excessive interest rates.</p></li><li><p>📌 Claim all unclaimed PRISMA emissions before Phase 3 to avoid forfeiture.</p></li><li><p>📌 Break vePRISMA locks during the snapshot period (Dec 18 - TBD) to maximize conversion value.</p></li></ul><hr><h3 id="h-phase-1-initial-shutdown-actions" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Phase 1: Initial Shutdown Actions</h3><ul><li><p><em>✅ COMPLETE</em></p></li><li><p>Debt ceilings set to 0 on all trove managers.</p></li><li><p>mkUSD distributions to lockers ceased.</p></li><li><p>New emissions to cease on January 2, 2025 at 00:00 UTC.</p></li></ul><hr><h3 id="h-phase-2-launch-mkusd-and-ultra-psms" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Phase 2: Launch mkUSD &amp; ULTRA PSMs</h3><ul><li><p>📅 <em>Target date: January 3rd | </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://x.com/ResupplyFi"><em>follow Resupply for updates</em></a></p></li><li><p>As outlined in <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://gov.prismafinance.com/t/pip-47-operation-rainbow-pegger/238">PIP-47</a>, launch two Peg Stability Modules (PSMs) along with a UI:</p><ul><li><p>mkUSD PSM</p></li><li><p>ULTRA PSM</p></li></ul></li><li><p>📌 Action Required: Close open borrow positions promptly. Delaying until Phase 3 will result in interest rates spiking to 50% to encourage all open loans to close.</p></li></ul><hr><h3 id="h-phase-3-final-shutdown-actions" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Phase 3: Final Shutdown Actions</h3><ul><li><p>📅 <em>Target date: January 10th | </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://x.com/ResupplyFi"><em>follow Resupply for updates</em></a></p></li><li><p>Sunset all trove managers – interest rates will immediately increase to 50%.</p></li><li><p>Boost calculator updated to return 0 on all claims:</p><ul><li><p>This will eliminate all unclaimed PRISMA.</p></li><li><p>Failure to claim will result in forfeiture of unclaimed emissions and loss of their value in RSUP.</p></li></ul></li><li><p>📌 Action Required: Claim all PRISMA emissions before Phase 3 begins. All unclaimed PRISMA rewards with be forefeited.</p></li></ul><hr><h3 id="h-phase-4-asset-and-governance-transition" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Phase 4: Asset &amp; Governance Transition</h3><ul><li><p>📅 <em>Target date: TBD after Resupply launch | </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://x.com/ResupplyFi"><em>follow Resupply for updates</em></a></p></li><li><p>Transfer of Prisma fee receiver assets to the Resupply Treasury (excluding PRISMA tokens, which will be burned).</p></li><li><p>Transfer of Prisma governance ownership to Resupply governance.</p></li></ul><p>This phase marks the final transition into Resupply operations.</p><hr><h3 id="h-additional-reminder" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Additional Reminder</h3><p>📌 Action Required: If you own a vePRISMA lock, ensure you break it within the designated time window. Failure to do so within the specified times will disqualify you from having your lock break penalty reimbursed. More info:</p><ul><li><p>Lock break window opened: December 18th, 00:00 (UTC)</p></li><li><p>Lock break window closes one week afterthe protocol is launched.</p></li><li><p>PRISMA received from lock-breaking will be convertible to a vest via Merkle claim at the standard PRISMA:RSUP rate.</p></li><li><p>Refunds will be vested under the same terms as all ordinary conversions.</p></li></ul><hr><p>For further updates about the Prisma to Resupply transition plan, please stay tuned to the <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://x.com/ResupplyFi">twitter</a> and <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://discord.gg/resupplyfi">discord</a>.</p>]]></content:encoded>
            <author>resupply@newsletter.paragraph.com (Resupply)</author>
            <enclosure url="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/2c52327a951955066de37be39cf302502704b0cfd6619af430d346a7de2eb636.png" length="0" type="image/png"/>
        </item>
        <item>
            <title><![CDATA[Resupply: A decentralized stablecoin protocol, leveraging the liquidity and stability of lending markets.]]></title>
            <link>https://paragraph.com/@resupply/resupply-a-decentralized-stablecoin-protocol-leveraging-the-liquidity-and-stability-of-lending-markets</link>
            <guid>BQGdyz30aJ1uZJ2Lc2UT</guid>
            <pubDate>Wed, 18 Dec 2024 14:40:39 GMT</pubDate>
            <description><![CDATA[Overview Resupply, which was developed jointly as a new SubDAO of Convex Finance and Yearn Finance, is a decentralized stablecoin protocol that introduces reUSD, a groundbreaking stablecoin backed by collateralized debt positions (CDPs) and powered by the liquidity and stability of lending market vault tokens. What makes reUSD unique is its foundation: it’s a stablecoin backed by yield-bearing lending pool tokens. These tokens are essentially stablecoins that generate fees from different lend...]]></description>
            <content:encoded><![CDATA[<p><strong>Overview</strong></p><p>Resupply, which was developed jointly as a new SubDAO of Convex Finance and Yearn Finance, is a decentralized stablecoin protocol that introduces reUSD, a groundbreaking stablecoin backed by collateralized debt positions (CDPs) and powered by the liquidity and stability of lending market vault tokens. What makes reUSD unique is its foundation: it’s a stablecoin backed by yield-bearing lending pool tokens. These tokens are essentially stablecoins that generate fees from different lending markets.</p><p>With Resupply, users can lend their stablecoins, earn underlying lending fees, and borrow reUSD to explore other DeFi strategies or manage everyday expenses. Alternatively, they can use their borrowed reUSD to supply more stablecoins into their chosen lending markets, leveraging their position with minimal liquidation risk. This low risk is again achieved through the use of stable lending vault tokens as collateral for reUSD.</p><p>The borrow rate for reUSD will be very predictable and always remain relatively low. The rate for reUSD will be determined as the greater of the following three options: half the underlying lending fee rate, half the “risk-free rate,” or 2%, whichever is greater. The “risk-free rate” will be defined by using the current APY of sfrxUSD.</p><p>Thanks to the inherent stability of the collateral, Resupply can offer a higher-than-average loan-to-value (LTV) ratio for borrowing reUSD. This combination of high LTV, low borrow rates, and yield-generating collateral makes Resupply an ideal platform for executing effective leverage strategies.</p><p>Resupply will offer a built-in leverage looping feature right into the protocol, allowing users to select a desired lending market and a target leverage amount. This leverage mechanism is designed to boost yields significantly, providing an efficient and powerful way to maximize returns on stablecoin positions while maintaining stability and minimizing liquidation risk.</p><p><strong>Which Lending Markets will Resupply Support?</strong></p><p>At launch, Resupply will support lending pool tokens from Curve Lend (LlamaLend) and FraxLend. LlamaLend tokens will be automatically staked on Convex Finance, earning users additional boosted rewards in the form of CRV and CVX tokens. In the future, Resupply can expand its support to other lending markets, with these new additions determined via a governance vote.</p><p><strong>RSUP Token distribution</strong></p><p>The RSUP governance token has no maximum supply and has a planned inflation schedule. RSUP emissions will be directed towards three main categories: Vote Incentives, the Insurance Pool, and the CDPs (Borrowers). The distribution percentages are adjustable via governance vote, with the initial split being 50% for vote incentives, 25% for the Insurance Pool, and 25% for the CDPs.</p><p>The emissions allocated to CDPs are directly correlated to the revenue each lending pool generates in borrow fees. Lending pools that contribute more fees to Resupply will receive a larger share of the CDP emissions allocation. This is all handled algorithmically and designed to reward lending pools that generate more fees to Resupply.</p><p><strong>Vote Incentives</strong></p><p>As stated above, a portion of RSUP emissions will be allocated towards voting platforms such as Votium and yBribes, to encourage on-chain liquidity for reUSD and RSUP tokens. The team will strategically direct these incentives toward liquidity pools that provide the greatest benefit to Resupply’s liquidity.</p><p><strong>Revenue Generation</strong></p><p>Resupply generates revenue through redemption fees and borrow rate fees. These protocol fees are distributed to RSUP stakers, the Insurance Pool, and the Resupply Treasury, with the fee split being adjustable via a governance vote.</p><p>Convex &amp; Yearn Finance will permanently stake their share of RSUP tokens for voting rights and protocol revenue.</p><p><strong>Staking RSUP Tokens</strong></p><p>By staking RSUP tokens, users can earn platform fees in the form of reUSD and gain voting power in Resupply governance. Withdrawals from staking can be initiated at any time, but they are subject to a 7-day delay before RSUP tokens become available for withdrawal.</p><p><strong>Prisma Finance</strong></p><p>Prisma Finance was originally integrated into the Convex Finance and Yearn ecosystems. However, following the hack of the Prisma Finance migration contract, the protocol never truly recovered. As such, a proposal will be submitted to shut down Prisma Finance and invite the Prisma community to join us at Resupply.</p><p>To show our appreciation for the Prisma community, Prisma Finance token holders will be eligible to claim RSUP tokens. The claim process will be outlined in more detail later, but you don’t have to worry about a snapshot date for an airdrop. Prisma, cvxPrisma, and yPrisma tokens are directly convertible for a vesting allocation of RSUP tokens, and there is no deadline or time limit for doing so. For those with locked vePrisma, there is a penalty enforced when locks are broken. To encourage users to break their locks, an airdrop will be created to award users with the amount of RSUP corresponding to the lock break penalty they incurred. To qualify, the lock break must be performed during the snapshot period starting 18 December 2024 at 00:00 UTC until 1 week after the official launch of the protocol.</p><p><strong>Conclusion</strong></p><p>Resupply’s CDP-based architecture is a key innovation that differentiates Resupply from other stablecoin projects. The RSUP token emissions and revenue distribution mechanisms are designed to incentivize participation and align stakeholder interests. To learn more about Resupply’s upcoming launch, visit our <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="http://resupply.fi/">official website</a> or explore our recently published documentation <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="http://docs.resupply.fi/">here</a>. You can also stay updated by following us on X at <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://x.com/ResupplyFi">@ResupplyFi</a> and <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://discord.gg/YMg95VHgt5">Discord</a>.</p>]]></content:encoded>
            <author>resupply@newsletter.paragraph.com (Resupply)</author>
            <enclosure url="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/063b79a73baa7db06c7038870cf376d62aa818c7ab1ae0fd01c4ad789063dab7.png" length="0" type="image/png"/>
        </item>
    </channel>
</rss>