<?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>Cozy Finance</title>
        <link>https://paragraph.com/@cozy-2</link>
        <description>The protection protocol</description>
        <lastBuildDate>Fri, 29 May 2026 15:36:53 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <language>en</language>
        <image>
            <title>Cozy Finance</title>
            <url>https://storage.googleapis.com/papyrus_images/f3054dd03359dac3bc24770f7a3a3d52deb6a93ed2e088d87c05c44da432a38c.png</url>
            <link>https://paragraph.com/@cozy-2</link>
        </image>
        <copyright>All rights reserved</copyright>
        <item>
            <title><![CDATA[Agent Buttercup]]></title>
            <link>https://paragraph.com/@cozy-2/agent-buttercup</link>
            <guid>8NO0Q1nyb3ThOdixFsT0</guid>
            <pubDate>Fri, 04 Aug 2023 16:38:10 GMT</pubDate>
            <description><![CDATA[Cozy Finance recently developed and open-sourced Agent Buttercup: a flexible, Rust-based framework for conducting computationally-intensive, agent-based simulations in an EVM environment.Why?Agent-based simulation (ABS) is a computational approach for modeling the actions of agents in order to understand the behavior of a complex system. ABS is used in industries ranging from self-driving cars to trading. In such applications, it is not easy to intuit how changes to a system may affect outcom...]]></description>
            <content:encoded><![CDATA[<p>Cozy Finance recently developed and open-sourced <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/Cozy-Finance/agent-buttercup">Agent Buttercup</a>: a flexible, Rust-based framework for conducting computationally-intensive, agent-based simulations in an EVM environment.</p><h2 id="h-why" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Why?</h2><p>Agent-based simulation (ABS) is a computational approach for modeling the actions of agents in order to understand the behavior of a complex system.</p><p>ABS is used in industries ranging from <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.theatlantic.com/technology/archive/2017/08/inside-waymos-secret-testing-and-simulation-facilities/537648/">self-driving cars</a> to <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.jstor.org/stable/10.7758/rsf.2017.3.1.06">trading</a>. In such applications, it is not easy to intuit how changes to a system may affect outcomes given the participation of heterogenous agents and the endogenous nature of the decisions they make. Further, experimental approaches such as A/B testing are usually infeasible because they take too long and are too costly. In these cases, ABS can deliver statistically rigorous results about a complex system by composing simple models of agents and their environments.</p><p>Agent Buttercup was originally developed as a way for our team to explore new pricing mechanisms within the Cozy V2 protocol. We found ABS to be an attractive approach to study DeFi markets, which are driven by a multitude of agents (LPs, traders, liquidators, etc.) optimizing different risk-reward functions. We want to open-source it in order to give DeFi researchers/engineers the tools they need to quantitatively:</p><ul><li><p>Evaluate the effects of new protocol mechanisms on market outcomes</p></li><li><p>Optimize risk settings, model parameters and incentives</p></li><li><p>Stress-test the robustness of a protocol against adversarial economic attacks and market environments</p></li></ul><p>The hope is that it enables faster innovation of new DeFi mechanisms and a better grasp on the existing DeFi mechanisms.</p><h2 id="h-architecture" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Architecture</h2><p>At a high-level, the core components of Agent Buttercup are as follows:</p><ul><li><p><strong>State</strong>, an object which keeps track of:</p><ol><li><p>EVM state inside a <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/bluealloy/revm">https://github.com/bluealloy/revm</a> instance</p></li><li><p>Any non-EVM state inside a separate World object</p></li></ol></li><li><p><strong>Agents</strong>, who in each step, decide what to do based on the current state and send transactions to update the EVM or World state.</p></li><li><p><strong>Time Policy</strong>, which determines how block numbers/timestamps progress in each step.</p></li><li><p><strong>Summary Generators</strong>, which compute summary statistics from state and write them to a file for analysis.</p></li><li><p><strong>Manager</strong>, the core object responsible for coordinating the state, agents, time policy and summarizers. The manager effectively runs a loop. In each step:</p><ol><li><p>Agents are processed in parallel across multiple threads and asked to send the manager any updates.</p></li><li><p>Updates are executed against the EVM and world state.</p></li><li><p>Update results (Did the EVM tx revert?, etc.) are temporarily cached in state.</p></li><li><p>Agents are given the ability to read state and update any local state they track.</p></li><li><p>Summary generators are run and statistics are written to the file.</p></li><li><p>The time policy is called and the EVM block number/timestamp are updated.</p></li></ol></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/fb7accbba8bf8116a7444f69f71cc86ad3b69faf717112b8b1fc806a8aaaf455.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><h2 id="h-comparison-to-alternative-defi-abs-frameworks" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Comparison to Alternative DeFi ABS Frameworks</h2><p>The use of ABS in DeFi is not new.</p><p>The <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/delvtech/elf-simulations">DELV</a> team built a Python-based ABS for their protocol on top of <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.apeworx.io/">Apeworx</a>. To deliver high-performance simulations and lean into the growing ecosystem of Rust-based Ethereum tooling, we decided to build on top of <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/bluealloy/revm">https://github.com/bluealloy/revm</a>. Using revm directly allows us to avoid I/O overhead associated with local node implementations like Anvil, offer maximum customizability, and easily integrate with other revm-based infrastructure like <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/paradigmxyz/reth">https://github.com/paradigmxyz/reth</a> and <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/foundry-rs/foundry">https://github.com/foundry-rs/foundry</a>.</p><p>Agent Buttercup was originally inspired by the work of the Primitive Finance team on <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/primitivefinance/arbiter">Arbiter</a>. However, the two frameworks are quite different implementation-wise and we assume they will ultimately serve different use cases. The key differences are as follows:</p><ol><li><p><strong>Notion of time</strong>: The core of Agent Buttercup is a simulation loop, where the block timestamp/number moves forward in each step per a customizable time policy. In Arbiter, there is no built-in notion of time or steps. Time is crucial to the Cozy V2 protocol where market utilization can decay over time. Further, we found the use of steps natural in an ABS framework where agents may need to know they are reading the most up-to-date state before deciding next actions.</p></li><li><p><strong>Notion of state:</strong> Agent Buttercup defines a fully customizable definition of state, including EVM state and non-EVM World state. In each step, agents are allowed to read and take actions which update the EVM and/or World. In Arbiter, there is only EVM state and agents cannot read full state. Instead, all agents run completely asynchronously and all actions result from responding to events they receive from each other via a message-passing approach.</p></li></ol><h2 id="h-call-to-action" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Call to Action</h2><p>Agent Buttercup is now fully open-sourced.</p><p>We encourage DeFi researchers/engineers to try it out and let us know what they think. Further, we are committed to improving the framework, making it faster, and integrating it with the rest of the open-source ecosystem. If you are interested in contributing, please get in touch. We welcome collaboration. In the near future, we would like to support forking a chain onto the revm instance and exploring ways to accelerate the simulation loop.</p>]]></content:encoded>
            <author>cozy-2@newsletter.paragraph.com (Cozy Finance)</author>
            <enclosure url="https://storage.googleapis.com/papyrus_images/f79e99d2ff73e7e609e487ab6fb9b1078cb22ab460c47be34b06b81454d81a9d.png" length="0" type="image/png"/>
        </item>
        <item>
            <title><![CDATA[Dynamic level cost models]]></title>
            <link>https://paragraph.com/@cozy-2/dynamic-level-cost-models</link>
            <guid>xSqk2gyqINRNOehcIX6I</guid>
            <pubDate>Thu, 03 Aug 2023 14:56:45 GMT</pubDate>
            <description><![CDATA[Cost models in the CozyV2 ProtocolIn the Cozy V2 protocol, a market’s cost model sets the costs for purchasing protection and refunds for cancelling protection. Costs paid by protection purchasers are set aside in a fee pool and slowly accrue to protection suppliers as yield. Each cost model is a contract required to implement a minimal interface, which includes:A cost factor function, which outputs a cost as a percentage of the purchase amount.A refund factor function, which outputs a refund...]]></description>
            <content:encoded><![CDATA[<h2 id="h-cost-models-in-the-cozyv2-protocol" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Cost models in the CozyV2 Protocol</h2><p>In the Cozy V2 protocol, a market’s cost model sets the costs for purchasing protection and refunds for cancelling protection. Costs paid by protection purchasers are set aside in a fee pool and slowly accrue to protection suppliers as yield.</p><p>Each cost model is a contract required to implement a <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://docs.cozy.finance/developer-guides/create-a-cost-model">minimal interface</a>, which includes:</p><ul><li><p>A cost factor function, which outputs a cost as a percentage of the purchase amount.</p></li><li><p>A refund factor function, which outputs a refund as a percentage of the market’s fee pool (assets which are still pending accrual to suppliers).</p></li></ul><p>Both of these functions take the market utilization before and after the purchase/cancellation as inputs. So, much like DeFi lending markets where interest rates depend on the pool utilization, cost/refund factors can depend on market utilization.</p><p>Exactly how cost/refund factors should depend on utilization is up to set creators using the Cozy V2 protocol. They have flexibility in specifying the cost models used in their sets.</p><h2 id="h-cozy-v2s-jump-rate-models" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Cozy V2’s jump rate models</h2><p>A common interest rate model for lending markets, popularized by Compound and Aave, is the jump rate model. A <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://docs.cozy.finance/developer-guides/jump-rate-cost-model">similar model</a> can be used in the Cozy V2 protocol as a cost model.</p><p>A jump rate model defines the cost factor as a piecewise, increasing, linear function of utilization. The kink defines a target utilization, after which costs increase rapidly to help keep utilization less than 100%. This ensures that suppliers are able to withdraw assets whenever they want.</p><p>Importantly, the jump rate model is static: its parameters are fixed.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/45d333caf5e114d96fb76686c52ffc176aa332f4b1e1975c82b6d9bc0f29e81c.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><h2 id="h-problems-with-static-cost-models" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Problems with static cost models</h2><p>Static cost models can sometimes lead to inefficient price discovery and sub-optimal capital efficiency.</p><p>As a simple example, consider a jump rate model where the cost factor for the first 10% of protection is 5%. In case the demand-side of the market deems this cost factor too expensive, the market will sit at 0% utilization indefinitely. Suppliers are also unhappy since they are earning no yield from this market. In an ideal world, as time passes and no one purchases protection, the cost factor should come down from 5% to 4%, 3% and so on, until the market clears.</p><p>Dynamic cost models can support exactly this type of behavior, automatically adjusting parameters over time in response to supply/demand. Two clear advantages from these adjustments are:</p><ol><li><p>As the market’s risk perception evolves over time, they obviate the need for lengthy governance processes to modify parameters or manual <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://docs.cozy.finance/developer-guides/manage-a-protection-set/update-set-and-market-configuration">configuration updates</a>.</p></li><li><p>Cost models become more resilient in the case of misspecification. When set creators using the Cozy V2 protocol do not have a clear sense of what the fair price of protection should be, they can use a rough approximation and expect the model to eventually move towards the market-clearing price.</p></li></ol><h2 id="h-cozy-v2s-dynamic-level-cost-models" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Cozy V2’s dynamic level cost models</h2><p>One solution for set creators using the Cozy V2 protocol is to use the dynamic level cost model, which is a simple extension of the jump rate model.</p><p>Here there is an optimal utilization zone,<code>[uLow, uHigh]</code>, and <code>uOpt = (uLow + uHigh) / 2</code>. What makes this model dynamic is that when market utilization is above <code>uOpt</code>, the cost factor in the optimal zone automatically increases to make protection more expensive. When market utilization is below <code>uOpt</code>, the cost factor in the optimal zone automatically decreases to make protection less expensive. Visually, the curve between <code>uLow</code> and <code>uHigh</code> (colored in green) can move up or down.</p><p>The amount that the curve moves up or down on a given purchase/cancellation is dictated by how long the utilization as deviated from <code>uOpt</code> and the size of the deviation. The more that utilization has exceeded <code>uOpt</code> and the longer it has exceeded <code>uOpt</code>, the more the curve moves up. Similarly, when the curve moves down.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/d804f8e140d07b0d28ed6ca9fc60cd61b9b4cfe362dc24d04952dce445e47284.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>For more details on the inner workings of the dynamic level cost model, check <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://docs.cozy.finance/developer-guides/dynamic-level-cost-model">here</a>.</p><h2 id="h-other-dynamic-cost-models-designs" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Other dynamic cost models designs</h2><p>The dynamic level cost model above is just one of many possible ways to make cost models more responsive to supply and demand over time. It is broadly inspired by the idea that many <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://medium.com/gauntlet-networks/feedback-control-as-a-new-primitive-for-defi-27b493f25b1">DeFi mechanisms boil down to some form of PID controller</a>.</p><p>Many DeFi lending protocols have explored much more complex, PID controller-type interest rate models, including <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://drive.google.com/file/d/1UbcIx3lBmcYKoLg5lPDOjfiO0uuPtMtU/view">Silo Finance</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://docs.euler.finance/getting-started/white-paper#reactive-interest-rates">Euler Finance</a> and <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://blog.marsprotocol.io/blog/mars-protocol-litepaper-2-0">Mars Protocol</a>. As mentioned previously, set creators using the Cozy V2 protocol are free to experiment with similar designs in their own cost models.</p><h2 id="h-problems-with-dynamic-cost-models" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Problems with dynamic cost models</h2><p>It is important to point out that dynamic models are not a panacea.</p><p>First, dynamic models will tend to be more computationally intensive and consume more gas. In the Cozy V2 protocol, the dynamic level implementation requires updating storage variables on each purchase/cancellation, while the jump rate implementation does not.</p><p>Second, in some scenarios, dynamic models can reduce capital efficiency. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://gauntlet.network/reports/pid">Chitra, Erins, Kulkarni 2022</a> analyze lending markets and show that if supply/demand is very inelastic, dynamic interest rate models may permit someone to move rates such that they earn an outsized share of the pool’s yield. Mitigating this outcome would require targeting low pool utilization or implementing supply caps, which makes suppliers worse off. An analogous strategy will tend to be prohibitively expensive in the Cozy V2 protocol given <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://docs.cozy.finance/developer-guides/inactive-periods">time-locks</a> on protection purchases and set shares.</p><h2 id="h-using-simulations-to-evaluate-cost-models" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Using simulations to evaluate cost models</h2><p>One question that may be of interest to set creators when setting their cost models is:</p><p><em>Should I expect dynamic level cost models to outperform jump rate models when I do no know the market’s fair price of protection?</em></p><p>In a vacuum, it is difficult to quantitatively predict the effects of a particular cost model. A market’s utilization and the yield earned by suppliers is a complex function of the optimizations made by heterogeneous actors interacting with the Cozy V2 protocol.</p><p>A useful approach in such cases is agent-based simulation. Cozy’s simulation framework, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/Cozy-Finance/agent-buttercup">Agent Buttercup</a>, allows DeFi researchers/engineers to answer exactly these types of questions. Below, the framework is leveraged to extract some insights.</p><h3 id="h-simulation-set-up" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Simulation Set-up</h3><p>The simulation consists of a single market in the Cozy V2 protocol and does a side-by-side comparison of the jump rate and dynamic level models.</p><p>For the exact simulation set-up, please check <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/Cozy-Finance/agent-buttercup/tree/main/crates/simulations/src/cozy/configs/cost_model_analysis">here</a>.</p><h3 id="h-cost-models-set-up" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Cost Models Set-up</h3><p>In each side-by-side comparison, the cost models:</p><ul><li><p>Have a target utilization of 75%</p><ul><li><p>Jump rate model is set so that <code>kink = 75%</code>.</p></li><li><p>Dynamic level model is set so that <code>uLow = uHigh = 75%</code>.</p></li></ul></li><li><p>Have a minimum cost factor of 0.50%</p></li><li><p>Have a maximum cost factor of 10%</p></li><li><p>Begin with a cost factor at target utilization of <em>x</em>, where <em>x</em> varies from 0.5% to 8.5%.</p></li></ul><p>Notice that with this set-up the dynamic level and jump rate model start off looking exactly the same, but the optimal zone (which happens to just be a kink since <code>uLow = uHigh</code>) in the dynamic model will move over time.</p><h3 id="h-agent-definitions" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Agent Definitions</h3><p>There are three types of agents interacting with the market:</p><ul><li><p>Passive suppliers, who are price-insensitive and always willing to underwrite protection.</p></li><li><p>Passive buyers, who are price-insensitive, have a target protection amount and are always willing to buy protection to reach that target.</p></li><li><p>Active buyers, who hold the view that the fair price of protection is 4.5%. They will purchase protection when the cost factor is less than 4.5%. They will sell protection when the refund factor is greater than 4.5%.</p></li></ul><p>Agents are initiated with a random budget of the market’s asset and take actions with random waiting times governed by a Poisson process. Passive buyers are initiated with random target protection amounts.</p><h3 id="h-simulation-results" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Simulation Results</h3><p>The results below show the median utilization and supply APY over the 75-day simulation. The table on the left indicates that the dynamic model always gets the market closer to target utilization, 75%. The table on the right indicates that the dynamic level model usually tends to get suppliers higher yield.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/dac6edb48d7dc15dbae21bdecabe5de4939ab4d0fad2536081cb457cdb2de0c5.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>The time series plots below show the simulated cost factors and utilizations for the case where the kink cost factor starts at 8.5%. The dynamic cost factor trends downward, as the model slowly adjust to the fact that active buyers view an 8.5% as too expensive. As a result, dynamic utilization trends upwards. The jump rate model gets stuck with utilization hovering around 40%, as active buyers are unwilling to make purchases which push the price over 4.5%.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/3175b5a2e3de4c780f55f7def67bd4bf282fa93821db7fe3465226423b20ac03.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>Overall, these results support the hypothesis that dynamic level models can outperform jump rate models when set creators do not have a precise estimate of the market’s fair price of protection.</p><hr><p><em>DISCLAIMER: This article is for informational purposes only and is not financial advice. Please do your own research and consult a financial advisor before making any investment decisions.</em></p>]]></content:encoded>
            <author>cozy-2@newsletter.paragraph.com (Cozy Finance)</author>
            <enclosure url="https://storage.googleapis.com/papyrus_images/5748cbcd6042c86e30f649bce882253a00fcd916fd906d9e2ff091cb73fbecc1.png" length="0" type="image/png"/>
        </item>
        <item>
            <title><![CDATA[NounsDAO protects their treasury using Cozy v2 (trustlessly)]]></title>
            <link>https://paragraph.com/@cozy-2/nounsdao-protects-their-treasury-using-cozy-v2-trustlessly</link>
            <guid>zUdTySwspBBrM1eQm683</guid>
            <pubDate>Tue, 01 Aug 2023 15:39:22 GMT</pubDate>
            <description><![CDATA[NounsDAO holds ~$50M in assets, with about half of those assets in Lido staked Ether (stETH). Members of the DAO have long wanted to hedge risks associated with the liquid staking protocol, but they had a problem: nobody was offering protection. The Cozy v2 protocol solved this problem.Creating a market for stETH peg protectionWhile other protocols were unable to offer markets covering stETH, users of Cozy v2 were able to quickly and easily create a market for stETH, using the permissionless ...]]></description>
            <content:encoded><![CDATA[<p>NounsDAO holds ~$50M in assets, with about half of those assets in Lido staked Ether (stETH). Members of the DAO have long wanted to hedge risks associated with the liquid staking protocol, but they had a problem: nobody was offering protection. The Cozy v2 protocol solved this problem.</p><h2 id="h-creating-a-market-for-steth-peg-protection" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Creating a market for stETH peg protection</h2><p>While other protocols were unable to offer markets covering stETH, users of Cozy v2 were able to quickly and easily create a market for stETH, using the permissionless market creation mechanism. The resulting market “<a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.cozy.finance/protection-market/0x3b548fbadc2d926adb7e5a5d44d824a1c7f3614d">stETH Peg</a>” would pay out if the price of stETH diverges from the price of ETH by 50% or more.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/6ab8dcc578aa511b369d68f0f7bb9da67e8843805d52cd8baa40bbae719858a5.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>To hedge their stETH exposure, the DAO would acquire an amount of protection from that market at a cost that felt fair to the members. If the market triggered, the DAO would be able to redeem their protection for USDC.</p><h2 id="h-empowering-the-dao-to-buy-protection-l2" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Empowering the DAO to buy protection L2</h2><p>But there was one other problem: the DAO needed a way to buy the protection completely trustlessly, without relying on any privileged third parties. Whereas regular, eligible users can simply go to the app and buy protection, the DAO needed a way to buy protection entirely through transactions executed through governance proposals.</p><p>Audited helper contracts enabled the DAO to bridge its assets from L1 to the CozyV2 protocol on Optimism where it was able to place an on-chain bid for the desired protection. These helper contracts are open sourced and can be used by NounsDAO and any other DAO to establish and manage a footprint on L2. To learn more about the helper contracts, visit <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://nouns.wtf/vote/331">this proposal</a>.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/5744d10fd9b28b641005eee93f36ea5dc124a73db6050d0b4af1230ca90cc9c1.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><h2 id="h-placing-an-onchain-bid-for-protection" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Placing an onchain bid for protection</h2><p>NounsDAO used the helper contracts to place an onchain bid for stETH peg protection at a 2% cost rate. This bid presents an on-chain arbitrage that should attract economically rational third parties to fill the order.</p><p>Once filled, the DAO will have an active hedge on a portion of their stETH exposure. From there, the DAO can choose to increase the amount of protection by placing another on-chain bid. Or choose to hedge other assets like the newly acquired Rocketpool ETH using a similar mechanism.</p><h2 id="h-a-tool-for-dao-risk-management" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">A tool for DAO risk management</h2><p>This proposal is a powerful example of how Cozy V2’s on-chain, permissionless protection can be used not only by individuals but also DAOs to protect funds from protocol risks. If you want to learn more about how you or your project can manage risk with Cozy V2, visit <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://cozy.finance">cozy.finance</a>.</p>]]></content:encoded>
            <author>cozy-2@newsletter.paragraph.com (Cozy Finance)</author>
            <enclosure url="https://storage.googleapis.com/papyrus_images/7a8b129eac55496872cdc01e5f971359946edfe6cbac6088257dc6c34200f052.png" length="0" type="image/png"/>
        </item>
        <item>
            <title><![CDATA[How to Create Protection Markets with Cozy v2]]></title>
            <link>https://paragraph.com/@cozy-2/how-to-create-protection-markets-with-cozy-v2</link>
            <guid>nhq2vaqvd1ZzsjdHoDtW</guid>
            <pubDate>Wed, 07 Jun 2023 14:08:50 GMT</pubDate>
            <description><![CDATA[Historically, only a fraction of projects that suffered hacks had protection available on any platform. This is largely because of the cumbersome processes required by protection platforms to support new projects. Cozy v2 changes this with a permissionless interface, enabling the creation of markets covering any protocol. In this blog post, discover how Cozy v2 empowers yield seekers and project leaders to develop and access customizable protection markets.Permissionless and Modular Market Cr...]]></description>
            <content:encoded><![CDATA[<p>Historically, only a fraction of projects that suffered hacks had protection available on any platform. This is largely because of the cumbersome processes required by protection platforms to support new projects. Cozy v2 changes this with a permissionless interface, enabling the creation of markets covering any protocol.</p><p>In this blog post, discover how Cozy v2 empowers yield seekers and project leaders to develop and access customizable protection markets.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/6d32385f00c36f0b53a3c8152ccc418b282e85f0a2c0d00cbce0ad87bf325d9b.gif" 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><h2 id="h-permissionless-and-modular-market-creation" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Permissionless and Modular Market Creation</h2><p>Cozy v2 solves this problem by empowering users to create markets. The protocol provides a step-by-step guide to develop triggers, essential for determining payouts in protection markets. Here&apos;s how you can develop triggers using Cozy v2:</p><h3 id="h-click-on-your-triggers" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0"><strong>Click on &quot;Your Triggers.&quot;</strong></h3><p>Once connected on the Cozy app, click your wallet address dropdown in the top right and select “Your Triggers” to go to the Cozy Admin section.</p><p>First, go to the admin section of the Cozy app and select “create a protection trigger.”</p><h3 id="h-choose-the-desired-trigger-type-template" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Choose the desired trigger type template.</h3><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/2d8f4a73133cdfc54f6743b13a77472b6493248c6fbb92d647ff1a565732e031.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>Select a trigger template or create your own.</p><p><strong>Chainlink</strong></p><p>The Chainlink template compares a chainlink price feed with either another chainlink price feed or a fixed value. This type of trigger is useful for pegged assets like Dai or stETH.</p><p>An example of a market using the Chainlink template is the <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.cozy.finance/protection-market/0x3b548fbadc2d926adb7e5a5d44d824a1c7f3614d">stETH Peg market</a>.</p><p><strong>UMA</strong></p><p>The UMA template presents a query to the UMA Optimistic Oracle and triggers the market if it returns a YES response. This type of trigger is useful for more general markets.</p><p>An example of a market using the UMA template is the <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.cozy.finance/protection-market/0xc1304c0db0bb2001e11e5c45ecb4f3d0e7158655">Aave v2 market</a>.</p><p><strong>Custom</strong></p><p>If you want more custom logic, you can create your own trigger. For example, if you want a multisig to make the decision. Or a combination of a programmatic trigger and a multisig.</p><h3 id="h-configure-your-trigger" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Configure your trigger</h3><p>Once you’ve selected your template, configure the trigger by selecting the price feeds, writing the UMA query, or developing your own custom trigger.</p><p><em>Chainlink:</em></p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/3bfd898f174e91831e17769522658bc6d2bc62630b6feb6fdb2346a63d241c62.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><em>UMA:</em></p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/679f2f79d69f7d9d5702804a6b99b5ec5e84f0b88f3f06c4a72c82ea9df66fb0.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><h3 id="h-add-metadata-to-your-trigger" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Add metadata to your trigger</h3><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/3182d6cbd67273112211cf74d55fe140ce445a9bf45d3c63b2144c65171564d2.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>Provide an image, a title, and a description so that users can most easily use of your trigger.</p><h3 id="h-review-and-deploy-your-trigger" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Review and deploy your trigger</h3><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/85bb6e10f74eff16650b336616b3534202e5731f7dc5deace2f233c8065ec94e.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>If everything looks good, you can deploy your trigger. It will now be usable by set admins when they are creating and managing their sets.</p><p>If you want to create a market with this trigger, you can <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://docs.cozy.finance/user-guides/create-a-protection-set">create your own set</a> and use this trigger to create a market.</p><h2 id="h-conclusion" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Conclusion</h2><p>You can create a trigger today <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.cozy.finance/create-trigger">in the app</a>. Have questions? Join <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://discord.gg/3HWthTMHDd">the discord</a> and ask the community.</p><p><em>Disclaimers: Investing in DeFi protocols and assets carries inherent risks. This guide is for informational purposes only, and is not financial, legal, investment or other advice. Please refer to specific market terms and </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.cozy.finance/"><em>cozy.finance</em></a><em> to learn more about coverages and risks. This material and the Cozy protocol are not intended for use by US persons.</em></p>]]></content:encoded>
            <author>cozy-2@newsletter.paragraph.com (Cozy Finance)</author>
            <enclosure url="https://storage.googleapis.com/papyrus_images/deab58905db42394d29a139e8423164b7ff78bebc93554789c0dcdb3e38dc19a.png" length="0" type="image/png"/>
        </item>
        <item>
            <title><![CDATA[How Cozy Protection Works: Euler Case Study]]></title>
            <link>https://paragraph.com/@cozy-2/how-cozy-protection-works-euler-case-study</link>
            <guid>H0XRW1MVDTUEJmN5FeSk</guid>
            <pubDate>Fri, 26 May 2023 16:01:41 GMT</pubDate>
            <description><![CDATA[The Cozy v2 Protection Life CycleIn early March of 2023, Euler Finance was hacked for nearly $200M. At the time, Cozy v2 was in early access and had an active Euler Finance market. This market triggered and paid out. This post guides you through the entire Cozy v2 protection life cycle, using the Euler market as an example. It details each step, from purchasing and pricing to maturation, decay, market triggers, and claiming or selling back protection.Purchasing and Pricing ProtectionFirst, th...]]></description>
            <content:encoded><![CDATA[<h2 id="h-the-cozy-v2-protection-life-cycle" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">The Cozy v2 Protection Life Cycle</h2><p>In early March of 2023, Euler Finance was hacked for nearly $200M. At the time, Cozy v2 was in early access and had an active <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://v2-preview.cozy.finance/protection-market?id=0xcc5c3f319aae7a70236bb53226c2d44e627e4a9a-0xf40c3ef015b699cc70088c35efa2cc96af5f8554">Euler Finance market</a>. This market triggered and paid out.</p><p>This post guides you through the entire Cozy v2 protection life cycle, using the Euler market as an example. It details each step, from purchasing and pricing to maturation, decay, market triggers, and claiming or selling back protection.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/766c56753fd7bdf2a5f99bceeef5d39620103efeeb8b05fc9410c3d6ed45489a.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><h2 id="h-purchasing-and-pricing-protection" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Purchasing and Pricing Protection</h2><p>First, the user gets protection.</p><ul><li><p>Select the market</p></li><li><p>Enter the protection amount</p></li><li><p>Review the price</p></li><li><p>Buy the protection</p></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/2754dd1b54d129333091601e8aeea7668b9f13c715c70906251f71b10362b6af.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>Here’s the <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://optimistic.etherscan.io/tx/0x2f2e166c27d39f68ffb729f1a261f503e92864e6aeb0d55b820a947f539c2f50">transaction</a> where the user bought $1,000 of protection for $11.</p><p>The price is based on the cost curve that you can see on the <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://v2-preview.cozy.finance/protection-market?id=0xcc5c3f319aae7a70236bb53226c2d44e627e4a9a-0xf40c3ef015b699cc70088c35efa2cc96af5f8554">market details page</a>.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/97ee2f487c278cd54f0e4ab44593a53c284b4526c5878ba131f314232054fdd5.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><h2 id="h-protection-maturation" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Protection Maturation</h2><p>After purchasing protection, there is a 12-hour maturation period during which the protection is not yet active.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/2e7030a984681561e3dfce127bca20e8aee4a9c379fbf31621dbd5af0190cf48.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>This period is designed to prevent abuse of the system and ensure that users do not purchase protection immediately before a market triggers.</p><p>Once the maturation period has passed, your protection is active.</p><h2 id="h-selling-back-protection" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Selling Back Protection</h2><p>Cozy v2 allows you to sell protection back to the protocol after it has matured.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/08047afeb5e80a66da64d62f32231374d84a5032760fd1b4448ddc221b902622.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>This option is particularly useful for users who no longer require protection or wish to adjust their protection levels.</p><p>Your proceeds from selling back protection may be higher or lower than your initial cost, depending on how much your protection decayed and the relative utilization of the market.</p><h2 id="h-protection-decay" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Protection Decay</h2><p>Protection value in this market decays at a rate of 50% per year. This means that if held for a year, the user’s initial $1000 of protection would still cover $500 at the end of the year.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/e82fd1d7c886f363ba5668f8707746dd2030d8c41bf5550cf254a47faa80592e.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><h2 id="h-market-freeze-and-trigger" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Market Freeze and Trigger</h2><p>This Euler market uses the UMA optimistic oracle to determine whether to trigger.</p><p>If a yes answer is reported from the <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://oracle.uma.xyz/?chainId=10&amp;eventIndex=0&amp;oracleType=OptimisticV2&amp;transactionHash=0x49aa3d27c13bad8845d780cde1ec01101a415dbd43bdb562826d0e07db4a87fb">following query</a>, the market triggers and users can claim payouts.</p><blockquote><p>Was there a hack, bug, user error, or malfeasance resulting in a loss or lock-up of tokens in Euler (<a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://app.euler.finance/">https://app.euler.finance/</a>) at any point after Ethereum Mainnet block number 16175802</p></blockquote><p>As you can see, a yes answer was proposed on March 13th and accepted on March 20th.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/06f4a0a34720661d0a28f3791f1e4049c4da38c9cf29fedb5f3f22aa56765cd8.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>When the answer is proposed, the market goes into a frozen state. And when the answer is settled, the market goes into a triggered state.</p><p>When a market is frozen, users can no longer buy protection from the market. And protection providers cannot withdraw funds. These restrictions protect against front-running.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/45800840042a834dbb75f093f2dd68b49c7e1a3b3b722bb88e650bb18a7b66e7.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>When a market triggers, users with matured protection can redeem protection for a payout by claiming.</p><h2 id="h-step-6-claiming-a-payout-or-selling-back-protection" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Step 6: Claiming a Payout or Selling Back Protection</h2><p>Since the market has triggered, users with matured protection can claim a payout.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/1355d45f6219ded909528c0d2017f11073e24c5072a39b842e830e28014bc58d.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>You can see the transaction for this <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://optimistic.etherscan.io/tx/0x1df5996783f08b6721286dae0250554ef30aab954d100ab39524ffe9b1a6feb7">here</a>.</p><p>This user paid $11 for $1000 of protection. By the time the market triggered, they were able to claim $842.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/2872cb33b2b2ed8810f4e181635f7cda5b0324c1d7b3e6d3cdc18d7a6810013f.jpg" 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><h2 id="h-conclusion" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Conclusion</h2><p>Cozy v2 protection is simple to get and use. Buy the protection and if the market triggers, claim a payout. Or if you don’t need the protection anymore, sell it back.</p><p>If you want a more in depth understanding of the mechanics, evaluate the pricing, maturation, decay, and trigger logic.</p><p>And if you have further questions, check out the <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://docs.cozy.finance">docs</a> or ask in <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://discord.com/invite/3HWthTMHDd">discord</a>.</p><p><em>Disclaimers: Investing in DeFi protocols and assets carries inherent risks. This guide is for informational purposes only, and is not financial, legal, investment or other advice. Please refer to specific market terms and </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.cozy.finance/"><em>cozy.finance</em></a><em> to learn more about coverages and risks. This material and the Cozy protocol are not intended for use by US persons.</em></p>]]></content:encoded>
            <author>cozy-2@newsletter.paragraph.com (Cozy Finance)</author>
            <enclosure url="https://storage.googleapis.com/papyrus_images/10fe6392bfd8c90b6be02e894a32f296e6b47c1d4f49fc65cf28ee37a4a3de78.png" length="0" type="image/png"/>
        </item>
        <item>
            <title><![CDATA[How to Buy Protection on Cozy v2]]></title>
            <link>https://paragraph.com/@cozy-2/how-to-buy-protection-on-cozy-v2</link>
            <guid>s1q2ObKxgOlTk9IB4ue2</guid>
            <pubDate>Thu, 11 May 2023 16:43:32 GMT</pubDate>
            <description><![CDATA[DeFi can offer valuable opportunities but those opportunities come with risks, like security vulnerabilities. The Cozy v2 Protocol (Cozy v2) offers a way to protect against those risks. In this post, we walk through the process of buying protection on Cozy v2 step by step.Step 1: visit Cozy and choose a marketVisit the Cozy v2 app. You&apos;ll see a list of available markets, each representing a specific DeFi protocol or asset. Find the one for which you want protection, like Lido staked ETH ...]]></description>
            <content:encoded><![CDATA[<p>DeFi can offer valuable opportunities but those opportunities come with risks, like security vulnerabilities. The <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://cozy.finance">Cozy v2 Protocol</a> (Cozy v2) offers a way to protect against those risks.</p><p>In this post, we walk through the process of buying protection on Cozy v2 step by step.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/3d08d1745092b9b0d53d0a26fd994fcb53a4a63f207befd65aaed5294dd70d83.gif" 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><h2 id="h-step-1-visit-cozy-and-choose-a-market" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Step 1: visit Cozy and choose a market</h2><p>Visit the <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://cozy.finance">Cozy v2 app</a>. You&apos;ll see a list of available markets, each representing a specific DeFi protocol or asset. Find the one for which you want protection, like Lido staked ETH (stETH).</p><h2 id="h-step-2-enter-an-amount-of-protection" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Step 2: enter an amount of protection</h2><p>Decide how much protection you need. Enter the amount in the provided field.</p><h2 id="h-step-3-purchase-protection" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Step 3: purchase protection</h2><p>Click &quot;Buy Protection&quot; and follow the prompts. Connect your wallet and complete the transaction. Once confirmed, you&apos;ve bought protection.</p><h2 id="h-step-4a-sell-back-your-protection" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Step 4a: sell back your protection</h2><p>If you no longer need your protection, you can sell it back to the protocol at any time. This means that you can keep your protection for as little or as long as you like, with no lock-ups or expirations.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/7c42b77d1daa2388a23ad52a002940b567ee36291cd83bdd78ab83feb47cf42a.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><h2 id="h-step-4b-claim-your-payout-if-the-market-triggers" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Step 4b: claim your payout if the market triggers</h2><p>If a hack or vulnerability occurs, you can claim your payout. Visit the Cozy Finance website, go to the relevant market, and click &quot;Claim.&quot; Follow the instructions to complete the claim and receive your payout.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/9cb4d0d0ce5d169002667f73d9b2c651f5b5244cebf34ab591759364770584d9.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><h2 id="h-conclusion" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Conclusion</h2><p>Buying protection on Cozy v2 is a simple way to hedge against smart contract risks. Try it today at <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://cozy.finance">cozy.finance</a>.</p><p><em>Disclaimers: Investing in DeFi protocols and assets carries inherent risks. This guide is for informational purposes only and not financial, investment or other advice. Please refer to specific market terms to learn more about coverages and risks. Always do your own research and consult a financial professional before making investment decisions. This material and the Cozy protocol are not intended for use by US persons.</em></p>]]></content:encoded>
            <author>cozy-2@newsletter.paragraph.com (Cozy Finance)</author>
            <enclosure url="https://storage.googleapis.com/papyrus_images/1d192fc18f6a319e5d2e5b22126a882a112f8e9fd1a909292d387b1ed977f508.png" length="0" type="image/png"/>
        </item>
        <item>
            <title><![CDATA[Cozy v2: the Protection Protocol]]></title>
            <link>https://paragraph.com/@cozy-2/cozy-v2-the-protection-protocol</link>
            <guid>cB0QkE0XmIL5HkiMMLNi</guid>
            <pubDate>Tue, 09 May 2023 16:41:09 GMT</pubDate>
            <description><![CDATA[Meet the Cozy v2 protocol, a protection marketplace for on-chain yield seekers. Now live on Optimism.Ways to use CozyHedge against risks like smart contract hacks by purchasing protection, or earn yields by providing protection. Don’t see the market you’re looking for? You can use the protocol to create markets yourself. Cozy v2 has the right market, at the right price, at any time.Buying protectionIf you’re a staker, lender, LP, or earning on-chain yield some other way, buying protection on ...]]></description>
            <content:encoded><![CDATA[<p>Meet the <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://cozy.finance">Cozy v2</a> protocol, a protection marketplace for on-chain yield seekers. Now live on Optimism.</p><h2 id="h-ways-to-use-cozy" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Ways to use Cozy</h2><p>Hedge against risks like smart contract hacks by purchasing protection, or earn yields by providing protection. Don’t see the market you’re looking for? You can use the protocol to create markets yourself. Cozy v2 has the right market, at the right price, at any time.</p><h3 id="h-buying-protection" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Buying protection</h3><p>If you’re a staker, lender, LP, or earning on-chain yield some other way, buying protection on Cozy can help protect your principle from tail risks like the billions of dollars lost in smart contract hacks every year.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/45d715101fa12ade4de5e79f0df0774cfd945d63c3b15be9ba9da03b6a089527.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><h3 id="h-providing-protection" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Providing protection</h3><p>Or if you’re a more advanced yield seeker comfortable with underwriting your own risks, providing protection on Cozy can help you earn high risk-adjusted yields.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/b6b30f6fbab4af41f363805f31ae9c0f1c854364191a89d9f5a7fbf6175710a0.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><h3 id="h-creating-protection" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Creating protection</h3><p>Other venues for protection suffer from restrictive designs for price, payout, and risk management. Cozy v2 is designed with the philosophy that the best results come from permissionless creation and market forces. Anyone can create a basket of risk with markets that determine price and payout logic as they see fit, increasing the likelihood that a user finds the protection they need.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/5ecfce4b0c69e1727be3a91d8aee026fc17f735097a10f66b8bbb4416ad719d8.gif" 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><h2 id="h-key-features" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Key features</h2><p>Key features include permissionless creation of markets, predictable and automatic payouts, programmatic pricing, and high levels of capital efficiency.</p><h3 id="h-permissionless-market-creation" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Permissionless market creation</h3><p>You can create markets that cover anything--whether that’s depegs, hacks, custodian risk, or something else entirely. No gate-keepers here.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/61ba3d20073fec9d3aaa1c1cc8e64f5be67af8b048a9a54bb930d56dbf426e88.gif" 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><h3 id="h-predictable-and-automatic-payouts" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Predictable and automatic payouts</h3><p>Buy protection on Cozy v2 and get paid out transparently and automatically, without an opaque claims process.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/0f2879ef993f8d43da7333ced10ffad9b91af096a91cd32c307ea3513fb3e2f4.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><h3 id="h-programmatic-pricing" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Programmatic pricing</h3><p>Pay a fair price, set by programmatic price discovery.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/f891e0250fd0a27a3bd2f201d47dd074cbb27ef2243a7a1f626357edf9ba1e7e.gif" 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><h3 id="h-capital-efficiency" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Capital efficiency</h3><p>Earn higher yields for providing protection and pay lower prices for buying protection with Cozy v2’s capital efficient design.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/39c38871abf15d484503ea96f4dfe4714ef56ea14a8d90c29978913bd8a9c44f.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><h2 id="h-cozy-v2-is-live" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Cozy v2 is live</h2><p>Cozy v2 is live on Optimism in a guarded launch.</p><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://cozy.finance">Try Cozy v2 today</a>.</p><p>Over the next few weeks, we will publish more in depth explorations for each aspect of the protocol. Follow on <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/cozyfinance">twitter</a> and <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://mirror.xyz/0x60Db56188471D4e5578Fc6CE3B951430f6dE8AB9/subscribe">subscribe</a> to the blog to be the first to read.</p><p><em>Disclaimers: Investing in DeFi protocols and assets carries inherent risks. This guide is for informational purposes only and not financial, investment or other advice. Please refer to specific market terms to learn more about coverages and risks. Always do your own research and consult a financial professional before making investment decisions. This material and the Cozy protocol are not intended for use by US persons. Any yields and other figures represented in this document are estimates and are not guaranteed.</em></p>]]></content:encoded>
            <author>cozy-2@newsletter.paragraph.com (Cozy Finance)</author>
            <enclosure url="https://storage.googleapis.com/papyrus_images/cf62e11a329c776aef4348121bd64de079e6a0a9e6d844dbc364162ee917b79e.png" length="0" type="image/png"/>
        </item>
    </channel>
</rss>