<?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>tuba</title>
        <link>https://paragraph.com/@tuba</link>
        <description>undefined</description>
        <lastBuildDate>Thu, 16 Apr 2026 01:23:06 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <language>en</language>
        <image>
            <title>tuba</title>
            <url>https://storage.googleapis.com/papyrus_images/6314f21f5fba5dc2508bccd9a1cecdd7cb29020e1008524ef5a73b3474fe51b2.jpg</url>
            <link>https://paragraph.com/@tuba</link>
        </image>
        <copyright>All rights reserved</copyright>
        <item>
            <title><![CDATA[Liquidity Mining Rewards V3]]></title>
            <link>https://paragraph.com/@tuba/liquidity-mining-rewards-v3</link>
            <guid>OAIZsVOoRnPD57EsFZuA</guid>
            <pubDate>Tue, 24 Aug 2021 21:33:11 GMT</pubDate>
            <description><![CDATA[One of the most popular ways for bootstrapping a DeFi project is through Liquidity Mining. Most DeFi projects are two-sided marketplaces for some type of financial service — for example, Compound is a marketplace for borrowers/lenders and Uniswap is a marketplace for LPs/traders. Bootstrapping a new two-sided marketplace is difficult because of the cold-start problem: if there is no demand, there won’t be supply, and if there is no supply there will be no demand. This is where tokens come in ...]]></description>
            <content:encoded><![CDATA[<figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/a3d635d660c50cb9e35d23c76238c788338563fefb8c518a698506c93248bced.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><p>One of the most popular ways for bootstrapping a DeFi project is through Liquidity Mining. Most DeFi projects are two-sided marketplaces for some type of financial service — for example, Compound is a marketplace for borrowers/lenders and Uniswap is a marketplace for LPs/traders. Bootstrapping a new two-sided marketplace is difficult because of the cold-start problem: if there is no demand, there won’t be supply, and if there is no supply there will be no demand. This is where tokens come in handy — projects can incentivize one (or both) sides of the marketplace through distributing their own token to kickstart the demand-supply flywheel.</p><p>Another side effect of executing liquidity mining program is that the project is able to distribute their native token to more people. More holders of the token often leads to broader support for the project, or greater level of decentralization if the token is used for governance. This dual-benefit often makes LM programs a no-brainer.</p><p>However, the primary drawback of Liquidity Mining programs is that it often gets farmed and dumped by whales or yield aggregators — the capital committed to providing liquidity often dries up the moment the incentives stop flowing. Projects often find it difficult to have <em>sustained</em> benefits from the LM programs after they are done.</p><h1 id="h-introducing-insurance-mining" class="text-4xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Introducing Insurance Mining</h1><p>Instead of simply incentivizing liquidity, what if we could indirectly incentivize usage through subsidizing an insurance market for smart contract failure? For example, we could give out tokens to insurance sellers for a new protocol, attracting tons of liquidity into the insurance selling pool, and on the opposite side providing cheap cover for users of the project.</p><p>We can call this <em>Liquidity Mining Rewards V3.</em></p><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/AndreCronjeTech/status/1426829355532136452">https://twitter.com/AndreCronjeTech/status/1426829355532136452</a></p><p>Being able to purchase cheap cover could potentially remove much of the early friction in trying out a new DeFi project. Over time, the project can slowly build up “Lindy-ness” as it gets derisked by being in production without getting exploited, and the incentives can be gracefully turned off over time.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/a5027c170a9dde37f6ff6ed3026da2ad2dea1cf5c26f1552114eeb43756d6860.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>As per this illustration, the cost of cover is highest when a project is in the earliest stages due to unknown smart contract risks. Over time, the cost of cover should come down as people gain more confidence in the project’s code. If projects can provide a subsidy for insurance in the early stages, they can likely attract more users — another way to solve the “cold start” problem of two sided marketplaces.</p><p>Furthermore, Insurance Mining also has the nice property of being able to be gracefully turned off without materially damaging the experience of the product. Liquidity Mining only benefits a project while that liquidity is in the protocol — once it leaves, the project becomes as shitty as it once was. Insurance Mining on the other hand is much more elegant because the cost of cover <em>naturally</em> comes down over time, so insurance subsidies can be turned off without users having to suddenly pay more for cover.</p><h1 id="h-implementation" class="text-4xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Implementation</h1><p>The next natural question to ask is, how do we construct an Insurance Mining program on a code-level?</p><p>In theory, it should be pretty simple — projects can bootstrap an insurance market on a protocol of their choice (ideally it gives insurance sellers a <em>receipt token</em>), then have insurance writers stake their receipt tokens in a custom Insurance Mining contract to earn rewards.</p><p>One caveat to note is that to assign rewards fairly to insurance sellers, we must create <em>segregated insurance pools</em> that only use the capital to write insurance on your specific protocol. This itself could make the whole exercise not economically viable for insurance sellers, since the economics for fully-collateralized insurance are not very favorable (capital inefficient) — but we can potentially make up for that inefficiency with a more aggressive rewards schedule.</p><h1 id="h-conclusion" class="text-4xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Conclusion</h1><p>Insurance Mining can be a much more incentive-aligned way of distributing tokens to parties who create <em>sustainable</em> value to a protocol, compared to Liquidity Mining. To learn more about on-chain insurance, specifically <em>Algorithmic Insurance,</em> please read this post first:</p><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://tuba.mirror.xyz/72Oo_gd-e_XxyX7q8R88wQeoTXh69YZ9nXJYIwmMEDU">https://tuba.mirror.xyz/72Oo_gd-e_XxyX7q8R88wQeoTXh69YZ9nXJYIwmMEDU</a></p><p>Lastly, if you are thinking of building this, please <strong>do not</strong> contact me because I will likely not have much useful input beyond what I have laid out in this post. But feel free to add this post to the citations in your whitepaper when you go out and raise money.</p>]]></content:encoded>
            <author>tuba@newsletter.paragraph.com (tuba)</author>
        </item>
        <item>
            <title><![CDATA[Algorithmic Insurance]]></title>
            <link>https://paragraph.com/@tuba/algorithmic-insurance</link>
            <guid>77yuHz6YR1dy0XUP4iEX</guid>
            <pubDate>Fri, 20 Aug 2021 21:57:50 GMT</pubDate>
            <description><![CDATA[The idea of Decentralized Insurance has been one of the classic examples for ideal use-cases of blockchain applications. Insurance providers may have incentives to withhold claims for as long as possible, and users have little transparency into the process — leading to an overall poor user experience. The idea of putting these insurance processes on-chain is an appealing one: insurance claims can be programatically & immediately paid out if some conditions are met, and everyone has full trans...]]></description>
            <content:encoded><![CDATA[<figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/29e2b11c120b4bfc349a8b653cffe92ed29cab1ab7664d6c69966c3a7904abc1.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 idea of Decentralized Insurance has been one of the classic examples for ideal use-cases of blockchain applications. Insurance providers may have incentives to withhold claims for as long as possible, and users have little transparency into the process — leading to an overall poor user experience. The idea of putting these insurance processes on-chain is an appealing one: insurance claims can be programatically &amp; immediately paid out if some conditions are met, and everyone has full transparency on the state of the entire system at all times. For example, someone could buy travel insurance for their flight, and a smart contract could automatically payout if Google Flights reports that the flight was delayed.</p><p>Many attempts at decentralized insurance have been tried over the years, but anything that touches the real world has not gotten much traction at all. Firstly, there are many concerns around getting <em>trustworthy</em> data on-chain — if a contract can be maliciously fed data that says a hurricane happened when it didn&apos;t, that on-chain weather insurance market is as good as useless. Secondly, the current set of Ethereum/DeFi users are not generally looking for vehicle/household/travel insurance on-chain — they are looking for something more <em>crypto-native</em>.</p><h1 id="h-smart-contract-insurance" class="text-4xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Smart Contract Insurance</h1><p>The immense growth of DeFi in the last two years has single-handedly revived market demand for decentralized insurance products. Many individuals or funds have significant amounts of capital in these DeFi protocols, and <em>actually</em> want protection against smart contract exploits. Hence, a new wave of decentralized insurance protocols have sprung up in the last year, mostly focused on smart contract insurance.</p><p>Most of these projects tend to innovate along two main axes — Payout Mechanism and Pricing:</p><p>Projects like <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://nexusmutual.io/">Nexus Mutual</a> rely on a set of humans to determine if a smart contract exploit actually happened or not, and hence if payouts should happen. Others like <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.cozy.finance/">Cozy Finance</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.ante.finance/">Ante Finance</a>, and <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.riskharbor.com/">Risk Harbor</a> rely purely on specific on-chain conditions to be met to determine if a payout should happen.</p><p>On the pricing axis, some projects use Bonding Curves based on utilization rates to price insurance — e.g some formula that prices the cover based on the demand &amp; supply for that insurance market. Others rely on a team of human experts to determine the &quot;fair&quot; value of coverage for a protocol based on information such as track record of the protocol not getting hacked, audits, and so on.</p><p>This post will focus on the Payout Mechanism of decentralized insurance protocols.</p><h1 id="h-algorithmic-payouts" class="text-4xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Algorithmic Payouts</h1><p>In traditional finance, there would need to be all sorts of trusted intermediaries to verify if some event happened or not before an insurance company can pay out a claim. However, because smart contract exploits are purely on-chain events, we should be able to write programs on-chain that determine if the other on-chain events happened or not — zero trust assumptions required.</p><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/0xSisyphus/status/1415294150333841408">https://twitter.com/0xSisyphus/status/1415294150333841408</a></p><p>As builders and investors in this space, we should always be on the lookout for things that blockchains uniquely enable which cannot be done in traditional finance — algorithmic insurance could be one of them.</p><h1 id="h-how-do-they-work" class="text-4xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">How do they work?</h1><p>The easiest way to think about how these systems work is that they are a prediction market on whether or not a certain condition within a smart contract is met. For example, if you lend USDC on Compound, your USDC balance should monotonically increase over time as interest is accrued — if you are suddenly unable to claim less USDC than you originally deposited, one could infer that a smart contract exploit has occurred. Since we can check this on-chain reliably, we can then create a prediction market as to whether or not <code>getPricePerFullShare() &gt; 1</code> returns true or false.</p><p>Because Compound has never been exploited, we can imagine that most people would prefer to take the &quot;true&quot; side of the market — skewing the odds of the prediction market significantly. This creates attractive odds for the &quot;false&quot; side of the market — if by some chance Compound does get exploited they will get a huge payout, otherwise they will lose a small amount of capital. You can see how this starts to look like an insurance market, where the &quot;false&quot; bettors are paying a premium to the &quot;true&quot; bettors for a chance of a big payout if the prediction market resolves in their favor.</p><p>For more complicated DeFi protocols, we may want to define more complex payout conditions than simply checking if a deposit token can claim sufficient underlying asset. For example, we could combine multiple conditions together, such as <code>totalAssets() &gt; x &amp;&amp; getPricePerFullShare() &gt; 1</code> or even define a condition that checks the contract state over some time period, such as <code>totalAssets</code> must not decrease by more than 50% within a 10-minute window or the condition will return true. The beauty of programmable finance is that we can create arbitrarily complex payout conditions because we know for sure that the on-chain checks will execute deterministically. Furthermore, since all these payout conditions are defined on-chain, we can <em>always</em> know when a market will pay-out, no matter how complex the conditions get — it is impossible to obfuscate the risk through legal &quot;terms and conditions&quot;.</p><p>One way to bootstrap these markets is for the core team themselves to create these insurance markets and take the short side — both as a way to bootstrap liquidity for buyers of cover as well as indicating confidence in their own code. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.ante.finance/">Ante</a> is an example of a project that focuses on this and tries to get adoption through developers writing insurance markets for their own projects. We could imagine a world where projects who do not write insurance for their own protocol are as risky as projects that have unaudited smart contracts.</p><h1 id="h-potential-pitfalls" class="text-4xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Potential Pitfalls</h1><p>When users buy smart contract insurance, they simply want to get covered if a protocol gets exploited. However, it can be potentially difficult to define through code <em>what</em> an exploit actually is. For example, a classic &quot;rug pull&quot; where the creator of a liquidity pool removes all the liquidity could lead to a user holding a bag of tokens that are worth $0. Is this an exploit, or is this expected behavior for providing liquidity in an AMM?</p><p>One &quot;solution&quot; to this problem is by simply letting the free market determine which markets are the canonical insurance markets for various protocols. For example, we may be able to create two different insurance markets for Compound: the first pays out if cTokens cannot claim &gt;1 underlying, the second pays out if cTokens cannot claim &gt;0.5 underlying. In my opinion, it is likely that the market will naturally converge around one of the two as the &quot;canonical&quot; insurance market for Compound, maybe through Schelling points like the Compound team advocating for one or the other — letting most of the liquidity stay within one market. It could be much less &quot;obvious&quot; which market should be the canonical market for a protocol if the complexity of it is high, but this free market approach assumes that the market will sort itself out.</p><p>In this model, it matters <em>a lot</em> which specific insurance market you are a buyer or seller of. It is possible that a protocol was obviously (to the human eye) maliciously exploited, but the payout condition that your market resolves on does not get triggered. Conversely, it is possible that insurance sellers may be &quot;unfairly&quot; forced to pay out a claim if an edge case in the protocol causes the payout condition to trigger even in the absence of a malicious exploit.</p><p>Hence, accurate communication about what the payout conditions entail are extremely important so that insurance buyers and sellers know exactly what they are signing up for. This is mostly a UX challenge, and translating the payout conditions from code into words is a non-trivial task. Teams may be tempted to obfuscate the risks of insurance selling as &quot;risk-free yield&quot; to attract TVL, or present the products to buyers as all-encompassing smart contract insurance to boost their volumes.</p><h1 id="h-beyond-insurance" class="text-4xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Beyond Insurance</h1><p>Although the market for smart contract insurance is huge, this type of protocol can also be used to create markets for exotic swaps aimed towards speculators. Changing the payout condition from things that &quot;should never happen&quot; to &quot;should <em>rarely</em> happen&quot; makes it much more interesting for speculators who are looking for asymmetric opportunities.</p><p>Composability also allows developers to combine these markets in arbitrary ways, for example rehypothecating the collateral used to sell insurance in one market as collateral in a different market, letting one pool of capital sell insurance on multiple (hopefully uncorrelated) things at the same time.</p><p>These tokens from both sides of the insurance market should also be composable with other DeFi protocols. Some ideas include:</p><ul><li><p><em>Protected-cToken,</em> which is a token that packages the insurance token + cToken into one</p></li><li><p><em>Perpetual insurance buying,</em> where a contract can constantly extract yield from a yield-bearing asset to pay for insurance</p></li><li><p><em>Levered insurance selling,</em> where users can borrow against their insurance-selling positions to sell more insurance and generate more yield</p></li></ul><p>Algorithmic Insurance opens up the design space significantly for interesting financial products on-chain because it is purely self-contained and does not rely on human decision making to payout. This objectivity helps developers reason about exactly what exposure the insurance market provides, and can build other apps on top of these primitives without worrying about human decision making or trust — which is what DeFi should be all about.</p><p><em>Thanks to </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/miyuki_crypto"><em>Miyuki</em></a><em> and </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/AutomataEmily"><em>Emily</em></a><em> for reading this beforehand and giving their feedback</em></p>]]></content:encoded>
            <author>tuba@newsletter.paragraph.com (tuba)</author>
        </item>
    </channel>
</rss>