<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Shin Hyojin on Medium]]></title>
        <description><![CDATA[Stories by Shin Hyojin on Medium]]></description>
        <link>https://medium.com/@shinhyojin?source=rss-e5ccb1522d62------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*BLm9yDoFJWBfAZEMoL_LZA.jpeg</url>
            <title>Stories by Shin Hyojin on Medium</title>
            <link>https://medium.com/@shinhyojin?source=rss-e5ccb1522d62------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 05:04:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shinhyojin/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[WTF is Mint Cash?]]></title>
            <link>https://shinhyojin.medium.com/wtf-is-mint-cash-61221435c55e?source=rss-e5ccb1522d62------2</link>
            <guid isPermaLink="false">https://medium.com/p/61221435c55e</guid>
            <dc:creator><![CDATA[Shin Hyojin]]></dc:creator>
            <pubDate>Thu, 30 Nov 2023 16:32:42 GMT</pubDate>
            <atom:updated>2023-12-01T09:31:46.244Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>A sufficiently simplified read on the Mint Cash stability mechanism</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7ZRtk2oEv5UL_od1BVrrFw.jpeg" /></figure><p>What happened with Terra and its family of stablecoins is, indeed, one of the most interesting, dramatic, yet unbearably painful stories in the history of cryptocurrency — only coming second to the collapse of <a href="https://ftx.com/">FTX</a> in terms of lost value.</p><p>While critics may tell investors involved with the Terra-Luna crash that they were involved with a sophisticated Ponzi scheme engineered over the course of three years, if we look at how it started, what Terra once promised, and who were affected — it’s not hard to tell <strong>this is not the case</strong>. This is a story of a stablecoin project that promised a vision that actually <strong>made sense</strong>, and <strong>had the execution capabilities to make it work</strong>.</p><h3>The Case for a “Decentralized” Stablecoin</h3><p>We have heard countless stories of people that entrusted UST, especially Anchor Protocol, instead of a bank account — not because they were crypto degens aping into DegenBox leverage, but because they <strong>legitimately did not have access to bank infrastructure a lot of us take for granted</strong>.</p><p>Families in Ukraine who moved their entire life savings onto Anchor deposits because their bank have shut down during the war. People in Venezuela, Argentina, and other Latin American countries who entrusted UST and Anchor because their governments will not allow them to freely hold and exchange U.S. Dollars to hedge inflation. Small communities in sub-Saharan Africa holding UST instead of physical Dollars in an attempt to avoid forex control crackdowns in the mid of an inflation crisis, yet was hurt badly post-crash.</p><p>These are actual stories of people that have emailed a former Anchor employee shortly after the UST collapse. Even more people under a similar crisis have been severely impacted by FTX too by trusting them to hold their USDT on FTX’s spot accounts, when they also collapsed 6 months later.</p><p>Did they stop being an idiot and withdrew all their money from crypto? No. Most of them actually moved to holding USDT (Tether) either on a Binance hot wallet or on Binance Earn instead, in a desperate attempt to hedge inflation in the absence of stable financial infrastructure.</p><p>Most crypto liquidity does come from speculative demand. This is something no one in this industry can deny, nor will change anytime soon. Even we expect to be funded by that same speculative demand. However, ironically — what made UST on Anchor or USDT on exchange wallets a popular destination for these people was an <strong>unintended side effect of that speculative demand</strong>.</p><p>Why did they opt for USDT or UST, which both are known to be not backed 1:1 with legal tender, instead of something that are fully regulated? For UST the case was relatively simple — it was the 20% yields offering a great chance for these people to easily hedge insane levels of inflation. But for USDT it’s actually because <strong>they tend to have higher OTC liquidity</strong>, as Bitcoin liquidity is highly tied with Tether.</p><p>The exact same properties of “unregulated” crypto that made them a popular destination for drug lords and criminals, have <strong>also let people in areas where financial infrastructure is underserved, or subject to high levels of capital and forex controls, safely avoid devaluation of their own currency</strong>.</p><p>This is also the case for us. <strong>We believe in the right for financial privacy and free movement of capital</strong>. Stablecoins that are <em>not</em> fully backed by “legal” assets are much more likely to achieve these properties, as demonstrated with USDT and UST. Holding Bitcoin directly is another popular option, but under the economic status quo where Dollarization have progressed significantly, that may simply not be an option for a lot of people.</p><p>UST and Anchor had that chance of becoming even better of a choice than USDT, because Anchor deposits <strong>did not require complex KYC onboarding processes like exchanges do</strong>, especially for people that <em>should</em> rely on OTC trades regardless. It was simple enough for normal people to use instead of exchange-based stablecoin savings products.</p><p>Yet, in a huge — and, for some, literally deadly — crash of UST, and consequently Anchor, the world has lost a potentially better alternative to USDT. <strong>And that’s where our story begins.</strong></p><h3>The Terra stability mechanism: the story so far</h3><p>Before we dive in, let’s briefly revisit how Terra (the stablecoin) used to work. TerraUSD, more commonly known as UST, was an “algorithmic” stablecoin intended to be pegged at US$1 through an arbitrage-based mechanism that allowed synthetic swaps with Terra’s crown jewel, Luna.</p><p>The fundamental idea behind Terra was to allow 1 UST to be always swappable with Luna worth $1, with Luna’s value being fed by a price oracle secured by Terra validators — and vice versa. When 1 UST is more valuable than $1, external arbitragers will be incentivized to buy $1 worth of Luna from the market, swap it to 1 UST, and sell it at above $1, earning a profit. On the other hand, when 1 UST is less valuable than $1, external arbitragers will be incentivized to buy 1 UST at less than $1, swap it to $1 worth of Luna, and sell it on the market at $1, also earning a profit.</p><p>…Or, at least that is what should have happened in theory. The rest is history.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UA_Ye0ZcwbrzhPkXWFJXgg.png" /><figcaption>Figure 1. Intended behavior of the Terra system during monetary expansion.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-bBYS9HhOLVjD2APpj36_Q.png" /><figcaption>Figure 2. Intended behavior of the Terra system during monetary contraction.</figcaption></figure><p><strong>So, what <em>exactly</em> went wrong?</strong></p><p>Well, first there are a couple of lesser-known facts on how Terra’s mint-burn seigniorage machine, officially known as the <strong>Terra market module</strong>, <em>actually</em> works — because the above explanation is greatly oversimplified and omits a couple important points.</p><p>The Terra market module performs the above mint-and-burn synthetic swap mechanism (first implemented with Columbus-2) based on two parameters set by governance: BasePool and PoolRecoveryPeriod. BasePool, a parameter defined in TerraSDR units, defines the total virtual liquidity available for swaps on both ends during a PoolRecoveryPeriod number of blocks. PoolRecoveryPeriod, a parameter defined in the number of Tendermint blocks, defines how often the BasePool should be reset (replenished) back to its initial state.</p><p>Setting these parameters correctly is <strong><em>extremely</em> important</strong> under the Terra system, because if the virtual liquidity parameter is not set to be <strong>slightly below</strong> — but <strong>only slightly</strong> — the actual market liquidity of Luna (i.e. against actual fiat currency on an exchange), the entire system <strong>will quickly enter a death spiral</strong>.</p><h3>Identifying fundamental problems with the Terra stability mechanism</h3><p>Why is this the case? Well, let’s see what might happen in the following scenarios when there are no external market makers to maintain peg:</p><ul><li><strong>Virtual liquidity is <em>significantly</em> <em>smaller</em> than Luna’s actual market liquidity</strong>. When an external actor sells a significant amount of Luna from the market (which is a lot more liquid than what the onchain market module defines), while there is also a downwards depeg in UST value, the system will not have enough virtual liquidity to keep up with the trade size of Luna happening on external markets. This means <strong>the onchain market module can’t burn enough UST to mint Luna on time to recover UST value, even if enough external arbitragers are involved</strong>. UST depeg becomes prolonged, and people start losing trust in the system, selling even more UST — only worsening the crisis as time passes, until it loses all its value. <strong>Death spiral</strong>.<br>In theory Luna supply is not affected under this scenario, although it is likely people will sell off their Luna holdings too as trust in the system is lost.</li><li><strong>Virtual liquidity is <em>larger</em> than Luna’s actual market liquidity</strong>. This means that, given enough capital, it is relatively easy to manipulate UST market value to be below US$1 (because market liquidity is low). Even if there is no attacker, a large number of people trying to exit value from the system can also cause this problem. But this time, the onchain market module can mint more Luna than what the external market can handle. The value of Luna quickly plummets caused by this excess supply. If this is prolonged, Luna will continue to be minted until it loses all its value, and as Luna loses its value UST also loses any value to be arbitraged against the market module (even if value was correctly contracted initially). <strong>Death spiral</strong>. <br><em>(in simpler terms, there would be no incentives to buy Luna from the markets because slippage onchain would be smaller than actual buy pressure offchain, resulting in Luna infinitely being printed)</em></li></ul><p>To prevent case (ii), the Terra whitepaper initially defined a maximum cap on Luna supply — this was quietly removed sometime between Columbus-3 and Columbus-4, resulting in Luna infinitely being minted during the Terra-Luna crisis. Even if they did not remove the Luna supply cap, when UST supply is required to contract even further than what the supply cap allows for, a death spiral similar to case (i) would follow.</p><p>Another change shortly introduced after the Columbus-4 upgrade was to redirect all UST to Luna swap transaction on Terra Station’s frontend to Terraswap (and later Astroport), instead of minting new Luna for UST contractions. Luna to UST swap transactions on Terra Station would continue to burn Luna for more UST. While the actual functionality on Terra Core itself was still intact (i.e. manual interactions through the Terra LCD would still allow native UST to Luna swaps), end users effectively lost access to UST value contraction. Columbus-5 introduced another change to the market module to allow different swap liquidity limits on UST to Luna swaps and Luna to UST swaps, which was reverted shortly afterwards.</p><p>Yet another important parameter with the Terra market module not a lot of people were aware of is the <strong>oracle time delay</strong>. There were a total of three oracle attacks on Terra in 2019 alone <a href="https://medium.com/terra-money/2019-07-15-%EC%B0%A8%EC%9D%B5%EA%B1%B0%EB%9E%98-%EA%B3%B5%EA%B2%A9-%EB%B3%B4%EA%B3%A0%EC%84%9C-6136dc219dab">(1 — Korean)</a> <a href="https://medium.com/terra-money/increasing-robustness-of-terra-oracle-2%EC%B0%A8-%EC%B0%A8%EC%9D%B5%EA%B1%B0%EB%9E%98-%EA%B3%B5%EA%B2%A9-%EB%B3%B4%EA%B3%A0%EC%84%9C-9237d2654e81">(2 — Korean)</a> <a href="https://medium.com/terra-money/analysis-of-8-5-8-12-front-running-attack-%ED%94%84%EB%A1%A0%ED%8A%B8-%EB%9F%AC%EB%8B%9D-%EA%B3%B5%EA%B2%A9-%EB%B3%B4%EA%B3%A0%EC%84%9C-4f150ae0bf26">(3 — Korean)</a> <a href="https://web.archive.org/web/20220329100133/https://discourse-cloud-file-uploads.s3.dualstack.us-west-2.amazonaws.com/standard10/uploads/terra/original/1X/7e338809fdc77fea7ca7a1fd9c01aac14f8ce387.pdf">(archived PDF report on attacks 1 &amp; 2 — English)</a>, leading the team to deploy hotfixes on the Terra oracle that largely improved oracle-based attacks <strong>at the expense of potential depeg resilience.</strong></p><p>Initially, the Terra oracle simply fed the <strong>current spot price</strong> of Luna to the onchain market module. This resulted in attack (1), where an attacker artificially created a large bid-ask spread for Luna on Korean crypto exchange Coinone. This allowed the attacker to repeat onchain swaps between TerraKRW(KRT — another Terra stablecoin pegged to the Korean Won instead of the U.S. Dollar) and Luna with small amounts of capital, allowing more Luna to be minted than they originally started with — resulting in a 13,980,549 KRW (approximately US$12K) profit.</p><p>The Terra team initially responded by temporarily deploying additional exchange liquidity to narrow spread, then changed their oracle logic from spot price to a 15-minute moving average. That did not stop the same attacker from performing another attack, attack (2), which was the same tactic except being forced to perform the same attack over a longer period of time (due to the additional 15-minute delay). As a result, the team responded again by changing the oracle logic to be a 30-minute, midprice moving-average of onchain spot price data.</p><p>As both the Medium article and report points out, this made sense at the time because Luna liquidity on exchanges were low. From the PDF report:</p><blockquote>A key theme that arises from this discussion is the tradeoff between oracle robustness and responsiveness. By robustness we primarily mean manipulation resistance. By responsiveness we mean maintaining low deviations compared to the market price, which translates to arbitrage resistance. It appears that the more responsive the oracle, the less robust it is against manipulation and vice versa. The tradeoff manifests most clearly when considering the benefits of low responsiveness towards manipulation resistance. First, manipulating an oracle that responds slowly to price changes requires more capital and incurs more risk, as it requires greater control over the market for a longer period of time. Second, the market/oracle arbitrage that is likely to arise from a low-responsiveness oracle invites opposing liquidity and therefore increases manipulation cost. (…)</blockquote><blockquote>(…) The tradeoff would be very different if the off-chain market offered significant liquidity, particularly so if greater than the on-chain market. In that case, manipulation cost would be higher, expected profit would be lower, and at the same time arbitrage profit would be greater. High responsiveness would therefore be top priority. <strong>Quantifying the tradeoff is more complicated and outside the scope of this paper.</strong> In practice, a good heuristic is to aim for high oracle responsiveness subject to the constraint that manipulation is made expensive and has negative expected return.</blockquote><p>Also from the Korean Medium article:</p><blockquote>(…) 두 번째는 30분 MA는 시장가격보다 느리게 움직인다는 부분입니다. 만일 시장 가격이 급격하게 변동한다면, MA 가격와 시장 가격의 차이를 통해서 또다른 차익거래 기회가 열릴 가능성이 존재합니다. <strong>오라클 투표 구조상 오라클 가격과 시장 가격 사이에는 항상 딜레이가 존재하기 때문에, 해당 차익거래는 더 쉽게 이루어질 수 있습니다.</strong> (…)</blockquote><blockquote>(…) The second limitation to this solution is that a 30-minute moving average will move slower than the market price. If market prices fluctuate significantly, there may be another arbitrage opportunity through the difference between the moving average price and the market price. <strong>Because a delay between the oracle price and the current market price is inevitable due to the nature of how oracle votes are processed, such an arbitrage would be easier to accomplish.</strong> (…)</blockquote><p>What does this mean? In summary, an illiquid Luna market would demand an oracle feed with a longer delay (as described with the paper: higher robustness, lower responsiveness), while a more liquid Luna market would demand an oracle feed with an oracle time delay as short as possible (lower robustness, higher responsiveness). This is because on illiquid markets, manipulating markets is possible with smaller trade sizes, and therefore this demands an oracle feed that would be less affected by a higher change in spot market price.</p><p>This comes at a tradeoff, however: a slower oracle feed would mean arbitrage between onchain and offchain markets would also be possible, which would quickly dilute the value of Luna. For illiquid markets this isn’t much of a problem, as also described:</p><blockquote>Arbitrage between the price of Luna offered on and off-chain is generally problematic, as it impedes price discovery and it incurs a cost on the ecosystem without contributing to Terra’s stability. There is a flip-side to this: when arbitrage is exploited, it is a reconciling force between the market and oracle price of Luna, meaning that the market resists large deviations between the two, insofar as it is profitable to do so. This is a force that runs directly counter to an oracle manipulation: the attacker tries to create large deviations between market and oracle price to direct the oracle in the desired direction as fast as possible. Arbitrageurs are paid to trade against the attacker during manipulation, thus increasing capital cost and making the attack more expensive. This is a positive externality of exploited arbitrage. (…)</blockquote><blockquote>(…) We are currently in a situation where the off-chain market is highly illiquid, and the on-chain market significantly more liquid. Manipulation offers asymmetric returns in this setting: the attacker needs to invest significantly less than he stands to gain if successful. Manipulation is therefore a significant risk. Arbitrage, on the other hand, does not stand to pay much given how illiquid the off-chain market is. This is because arbitrage profit is bounded by the trading volume that will sustain the arbitrage opportunity. All things considered, manipulation risk is a greater evil than arbitrage and so it pays to sacrifice some responsiveness for robustness.</blockquote><p>However, it seems like Terra didn’t really look into this oracle tradeoff problem further, even as Luna markets were quickly becoming a lot more liquid. First, the moving-average oracle feed initially designed to counter attackers on an illiquid Luna market <strong>stuck around for three more years until the crash</strong>, with the only parameter being adjusted the time delay between spot price and the onchain oracle.</p><p>Second, a more liquid Luna market caused other problems not otherwise covered with any research previously published by the company: <strong>implied risk caused by oracle delays on a highly liquid market with higher trading volume</strong>. Usually, as a market becomes more liquid, there is assumed to be less volatility because substantially more capital is required to make the same change in spot price for an increasingly more liquid market. However, that is definitely not always the case — and <strong>when markets do turn volatile in these environments, there is significant capital movement</strong>.</p><p>An oracle delay would be deadly when something does go wrong in this scenario, because there is room for significant capital outflow for arbitragers described with the scenarios above. As UST liquidity on DeFi was constrained to a StableSwap-like AMM like <a href="https://curve.fi/">Curve Finance</a>, which didn’t exist in 2019, this worsened the problem because <strong>StableSwap curves are designed to hold onto peg as long as they can until it quickly depegs</strong>. And as Terra’s oracles inherently had a delay, as described, it simply <strong>didn’t have enough time to respond to a market with both high volatility and high liquidity</strong>.</p><p>In conclusion, we believe no further research have been done on this end even as the Terra ecosystem grew, and the <a href="http://lfg.org/">Luna Foundation Guard (LFG)</a> was expected to take over that job by becoming another native module on the Terra blockchain that holds Bitcoin as collateral. In the process, presumably market makers would have taken over the job of maintaining UST peg without fundamental changes to its underlying mechanisms — and, unfortunately, an attack did happen before the native LFG module plan was sufficiently implemented by TFL and Jump Trading.</p><h3>Mint Cash: continuing where we left off</h3><p><strong>Mint Cash is a continuation of the work previously done by the Terra stablecoin system by patching its mechanism-level flaws and unlocking even more use cases.</strong> This is a major redesign that involves many fundamental changes to the point where it is closer to an overcollateralized stablecoin like <a href="http://makerdao.com/">Dai</a>, rather than an algorithmic system like UST. Most notably:</p><ul><li>Make it such that all stablecoins are completely backed by Bitcoin collateral, partially inspired by Jump Trading’s original proposal for the Luna Foundation Guard</li><li>An organic synthetic swapping mechanism between Bitcoin collateral provided, Mint (Luna equivalent), and Cash (Terra equivalent)</li><li>Anchor being a part of monetary stability levers instead of being a <a href="https://abracadabra.money/">magic money printing machine</a></li></ul><p>The first challenge with this redesign is to define a market where Bitcoin collateral may be <em>synthetically</em> swapped to stablecoins, and vice versa, similar with how Luna was synthetically swapped to Terra and back. The Luna Foundation Guard proposal suggested creating another market module that sits in front of UST, and allocate governance-set virtual liquidity parameters that mimics Bitcoin liquidity — similar with the existing market module between Terra and Luna.</p><p>A problem with this approach is that <strong>there will be no market liquidity between the stablecoin we create and Bitcoin collateral at launch</strong>. When there is no market liquidity, no synthetic market parameter(s) may be set, as no reference market exists to determine these parameters.</p><p>To mitigate this, we use a <a href="https://pilgrim.money/papers/pilgrim-paper">new type of trading curve</a> that essentially <strong>generates trading liquidity on demand</strong>. This will act as an initial market generation bootstrapping mechanism, as it can build markets for any illiquid asset in existence as long as there is some demand for those in exchange for liquid assets. One tradeoff is that this curve creates exponential implied volatility (i.e. exponentially increasing delta and linearly increasing gamma values), therefore the goal is to gradually phase this out with a hybrid market that has both liquidity on demand and synthetic market curves (similar with the original LFG proposal).</p><p>This process is <strong>completely permissionless</strong> and does not require central party intervention. Anyone can “swap” Bitcoin to and from <strong>Mint</strong>, our Luna equivalent token, or <strong>Cash</strong>, our Terra equivalent stablecoin. Perhaps most importantly, <strong>new Mint or Cash cannot be minted without explicit Bitcoin collateral being provided</strong>. This also means free airdrops or private sales of either token is not possible under this redesign.</p><p>The value of Mint represents how much of the Mint Cash system is explicitly collateralized by Bitcoin. This also means oracle attacks similar to the ones put out above may also be possible, however as an initial mitigation, <strong>the value of Bitcoin is used as an oracle reference instead of taking Mint market value directly</strong>, which will most likely be illiquid initially. This is intended to <strong>mitigate some oracle issues</strong> mentioned above by introducing a non-synthetic asset as collateral, thereby resulting in a linear price-to-oracle correlation than an exponential one.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Mkzs9K4GjWf-o4hT-87GTw.png" /><figcaption>Figure 3. Proposed Mint Cash synthetic swap mechanism with Bitcoin collateral</figcaption></figure><p>In summary:</p><ul><li>Anyone can <strong>mint</strong> Mint through the mint2 module (short for mint mint) by providing Bitcoin collateral</li><li>Anyone can <strong>burn</strong> Mint back to Bitcoin, minus any taxes and/or liquidity crisis discounts</li><li>Mint is <strong>freely swappable</strong> to and from Cash stablecoins through the market module, an example being CashUSD</li></ul><p>This sounds fairly simple. However, there are four additional, and critical, mechanisms in place for monetary stability. They are:</p><ul><li>The <strong>staked Mint (bMINT)</strong> module, with vesting and undelegation limits</li><li>The <strong>liquidations</strong> module</li><li>The <strong>taxation</strong> module (inherited from Terra’s initial taxation policy implementation)</li><li><strong>Anchor Sail</strong> itself</li></ul><h3>Staked Mint: better overcollateralization powering proof-of-stake</h3><p>A primary concern with overcollateralized stablecoins like Dai is <strong>lack of incentives to provide and withdraw stablecoin supply</strong>. As Do Kwon noted with <a href="https://medium.com/terra-money/announcing-terrausd-ust-the-interchain-stablecoin-53eab0f8f0ac">this Medium article</a>:</p><blockquote>Dai is the most widely used decentralized stablecoin on Ethereum, but it has severe issues scaling, due to a supply-demand mismatch in its monetary policy.</blockquote><blockquote>- Dai is <strong>supplied</strong> by users looking to gain leveraged exposure to ETH and ERC-20 assets</blockquote><blockquote>- Dai is <strong>demanded</strong> by users looking to gain access to USD-denominated store of value on-chain</blockquote><blockquote>This mismatch creates issues when the demand for stability outstrips the demand for asset leverage on Ethereum. Most recently, the use of Dai in many DeFi protocols has led to a massive surge in the demand for Dai (unmatched by demand for leverage), leading to perverse situations where Dai trades at a significant premium to the Dollar, and the Maker Foundation to resort to emergency measures to try to restore the peg. (…)</blockquote><blockquote>(…) Dai’s scalability problem extends to all other stablecoins on Ethereum where the cost of minting is greater than the face value of the assets minted. The money supply is bounded by the willingness of the market to suffer excess capital cost (e.g. demand for leverage) that is not correlated with the demand for the stablecoin. Handicaps in Dai monetary policy, in turn, bounds the growth and adoption of DeFi.</blockquote><p>Although his notes on Dai peg definitely did not age well, <strong>the problem statement here is a very valid one</strong>. Overcollateralization must rely on borrow positions, which are essentially leveraged long exposure. Obviously there would be people looking for stablecoins than people looking to long ETH or other assets, which creates a supply-demand mismatch problem.</p><p>So how do we fix this, while ensuring the system will remain collateralized at all times? Our answer is actually combining this with <strong>proof-of-stake</strong> and <strong>liquid staking</strong>.</p><p>Staking implies actively taking financial risks and committing to the network long-term, in return for a stable flow of transaction fees. This happens to align perfectly with those looking to provide collateral on stablecoins, which is also actively taking financial risks and committing to stability while receiving some flow of rewards generated by the system.</p><p>People either delegating Mint to validators or minting <strong>bMINT</strong>, a liquid staking derivative of Mint, <strong>assumes undercollateralization risk first</strong> before anyone else — while <strong>exclusively receiving a constant flow of both transaction fees, and taxes</strong> levied on Cash stablecoins or Anchor interest.</p><p>This makes staking Mint slightly different from standard proof-of-stake blockchains. For one, on a protocol-invoked liquidations event, <strong>Mint stakers are affected first by being slashed equally across the entire validator set</strong> (without consequences that usually comes with other security-related slashing events). There is also a <strong>minimum staking rate</strong> set globally by the protocol, which is used as a factor whether to invoke protocol-wide forced liquidations. Undelegations may also be subject to a <strong>vesting period</strong>, which means <strong>stake will be released over a period of time</strong> rather than being released at once.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ndMtCxiTz2edYjkM5HApjw.png" /><figcaption>Figure 4. Proposed Mint Cash collateralization mechanism through proof-of-stake rewards</figcaption></figure><h3>Protocol-wide liquidations with collateral</h3><p>Another feature of the Mint Cash system is a <strong>protocol-wide liquidations module</strong>, which exists with most synthetic asset protocols. Liquidations are triggered when the current staked Mint value goes below the minimum Mint staking rate, which is calculated as</p><pre>mint_staking_rate = staked_mint / <br>            (staked_mint + liquid_mint + (liquid_cash + acash_supply)<br>                                                 * mint_oracle_price)</pre><p>There exists a protocol-wide parameter, LiquidationWeights, that determines how much collateral damage Mint stakers should face compared against liquid Mint to absorb monetary contraction. This is required because:</p><ul><li>a <strong>higher liquidation weight</strong> for staked Mint collateral will result in a significant bMINT depeg, which will also result in liquidations on Anchor Protocol — this may worsen the potential of a protocol bank run</li><li>a <strong>lower liquidation weight</strong> for staked Mint collateral will result in a higher oracle price impact for Mint against Bitcoin</li></ul><p>On a liquidation auction, both Mint and Cash are accepted; bids denominated in Cash are prioritized over bids denominated in liquid Mint. Any received assets are <strong>immediately burnt</strong> to bring the current mint staking rate above the minimum staking threshold.</p><p>There are two additional fees levied on a liquidation event:</p><ul><li><strong>Protocol liquidation fees</strong>: levied by the protocol to control capital exits</li><li><strong>Liquidation premium</strong>: paid to liquidators as compensation for participating in protocol liquidations</li></ul><h3>Cash taxation</h3><p>Mint Cash <strong>directly inherits Terra’s monetary policy that levied taxes on stablecoin-denominated transactions </strong>in addition to standard transaction fees. This exists because of the following two reasons:</p><ul><li><strong>Incentives for risk without inflation</strong>: unlike most proof-of-stake assets, inflation cannot exist under the Mint Cash system as all assets minted must be directly backed by Bitcoin. This is especially important, as Mint stakers also assume additional collateral risk than liquid Mint holders — requiring additional incentives.</li><li><strong>Economic levers for monetary contraction</strong>: usually, higher tax rates correlate with monetary contraction and vice versa, similar with interest rate factors. When monetary contraction is required, <strong>these monetary levers should be adjusted faster than a standard governance proposal if required</strong>, in addition to standard liquidation procedures. As the Mint Cash system has a direct correlation between tax rates and interest rates, this is relatively trivial.</li></ul><h3>Anchor rates as part of Mint Cash monetary policy</h3><p><strong>Native currency interest rates</strong> play a key part of monetary policy and stability under modern economics theories. Anchor’s 20% interest rate was essential for Terra’s massive success — claiming to be the “turnkey interest rate in all of DeFi”. Dai also has a similar concept called the Dai Savings Rate, which also incentivizes staked Dai holders to receive some flow of interest while contributing to protocol stability.</p><p>It is important to recall that higher interest rates against foreign currencies always are correlated with <strong>higher costs of leverage</strong> (i.e. less liquidity on domestic markets), <strong>higher inflation rates</strong> (i.e. a currency devaluation on forex markets), or both. A lower interest rate, in the meantime, usually is thought to cause net capital outflow.</p><p>With this in mind, we can establish a “<strong>safe buffer rate</strong>” between rates offered on pegged onchain currencies versus rates being offered in the real world, where the <strong>difference in savings rates is sufficient enough to prevent mass capital outflow while not resulting in higher effective borrow rates</strong>. This buffer rate can be funded by:</p><ul><li>Yield provided by <strong>external liquid staking derivatives</strong>, including staked ETH, staked SOL, staked ATOM, etc</li><li><strong>Any efficiency gains</strong> achieved by automating the lending process through a smart contract, and not through a bank, thereby requiring less interest margins</li></ul><p>As long as the external LST (like <a href="http://lido.fi/">Lido</a> or <a href="http://eigenlayer.xyz/">EigenLayer</a>-restaked assets) has sufficient risk hedging strategies and/or known to be resilient against potential slashing events to maintain a constant, known rate against its underlying equivalent, that LST may <strong>also be used for leverage positions</strong> that represent the underlying unstaked asset. <a href="https://www.peterpancrun.ch/writing/thoughts-on-the-anchor-yield-reserve/"><strong>Hedging positions</strong> may also be used to combine multiple asset positions and reduce risk, while increasing return exposure</a>. This should help with incentivizing borrows on the protocol <strong>without solely relying on market making or artificial token incentives</strong>.</p><p>As mentioned earlier, Cash stablecoins deposited on Anchor is not subject to taxation. However, <strong>its interest is taxed automatically and are either burnt, or sent to the Treasury for rewarding Mint stakers</strong>. As this corresponds to synthesized M1 supply while underlying Cash corresponds to M0, exports of Cash currencies to other blockchains <strong>may be focused on aCash (Anchor deposited Cash) instead of underlying Cash to simplify taxation calculation</strong>.</p><p><strong>Anchor Sail</strong>, our new version of Anchor, also features <strong>non-USD denominated deposits</strong>. This is made possible by a new synthetic forex lending module that allows users to <strong>borrow CashUSD against another stablecoin pegged to a currency they are familiar with</strong>, like CashEUR or CashKRW. As Cash stablecoins may be minted as long as there is Bitcoin liquidity against the underlying currency, this <strong>greatly improves reach for non-USD currency users </strong>wanting to stay on their preferred currency of choice — which was also one of the top feature requests for the original Anchor.</p><h3>Why not build this on Terra Classic?</h3><p>One common question we have received from the Terra/Luna Classic community was: <strong>why aren’t we building this on Terra Classic to potentially rebuild UST</strong>? There are a few reasons for why we are starting from a clean state:</p><ul><li><strong>Fundamental redesign</strong> — in principle, Mint Cash is a fundamental redesign, albeit still based on similar ideas, concepts and blockchain code that once powered the old Terra stablecoin protocol. While we could fork existing Terra Classic state and start from there, some damages already done by excess inflation may be irreversable, as explained with (4).</li><li><strong>Flaws left unfixed</strong> — as explained above, one of the reasons for this complete redesign is because there are fundamental flaws with the old Terra stablecoin protocol that were left unfixed for years. <strong>This would require a significant rewrite of the core stablecoin protocol itself regardless.</strong> Such work is beyond the scope of a single team working on an existing blockchain, but requires the level of funding, support, and infrastructure of a new company and project.</li><li><strong>Centralized infrastructure</strong> — certain infrastructure, like the LCD (light client daemon) and block explorer, are slowly becoming independent from Terraform Labs thanks to work from the Terra Classic community. However, a significant portion of the Terra stablecoin protocol and its core DeFi lego blocks, like Anchor, were <strong>designed to be operated by a centralized entity and not intended for a fully decentralized migration of ownership</strong>. This includes <a href="https://etherscan.io/token/0xd2877702675e6ceb975b4a1dff9fb7baf4c91ea9">WLUNA contracts on Ethereum</a> (originally designed as part of the now retired Shuttle Bridge as part of Mirror without proper design choices for decentralized asset migration on the Ethereum blockchain), CosmWasm contract ownership rights for Anchor/Mirror &amp; other TFL-built protocols, and operational infrastructure related with these smart contracts (like the ExecuteEpochOperation command on Anchor manually invoked by a contract administrator every epoch).</li><li><strong>Asset distribution and containing inflation</strong> — as the Terra stablecoin collapsed, severe inflation led to a lot of entities that are not beneficial to the average Luna holder to own a lot of these now close-to-valueless tokens. Asset distribution on the Terra blockchain was already very centralized among TFL, VCs, exchanges, market makers, and large validators. All in all, properly fixing all this without a clean state rewrite would be very difficult, as even a chain-wide rebase will result in these actors still owning a lot of this supply.</li></ul><p>However, we also <strong>genuinely want to help the Terra Classic community recover from at least some of their significant damages caused by the devastating crash of the Terra stablecoin system</strong>. This is why we have decided to introduce a “burndrop” program, where only people interested in this new ecosystem we are intending to build can get their pie — while people that are not can still benefit from burnt tokens and reduced supply.</p><h3>🔥Burndrop🔥: Mint Cash asset distribution for burnt USTC</h3><p>The burndrop program will distribute a “basket” of tokens that will be given out when Mint Cash launches. This basket will consist of the following two assets, but may contain more tokens as the situation evolves while we continue building the burndrop program for final distribution:</p><ul><li><strong>oppaMINT </strong>(OPtion Per Annum MINT): a special call option token that allows its holder to mint new bMINT at a high discount rate (50%+) at the current spot price the option is exercised. Discount rate to be announced closer to launch date</li><li><strong>ANCs</strong>: the governance token for Anchor Sail</li></ul><p><strong>oppaMINT</strong> will not give you access to oppas 🧑‍🎤, but will significantly lower entry barriers for previous and current Terra Classic token holders who burn more than a certain amount of USTC. The more USTC burnt, the more oppaMINT will be distributed. Dropped tokens are also freely transferrable upon launch; if you don’t want them, feel free to sell. oppaMINT is also what we will offer VCs for funding rounds, as the Mint Cash system cannot mint new Mint or Cash tokens without explicit Bitcoin collateral provided.</p><p><strong>ANCs</strong> is similar to the previous ANC token, given that stakers get constant buybacks funded from Anchor yield while also compensating borrowers. The difference is: (i) ANCs will be directly responsible for certain aspects of native Mint Cash protocol governance, and (ii) Mint staking will always be subject to a fixed vesting period. While there are a lot more changes to ANCs tokenomics than we can describe here, more details will also be announced closer to launch date.</p><h3>Closing Thoughts</h3><p>We covered a lot of details with this article. In summary, we are <strong>very serious about building this right</strong> and <strong>committed to realizing potentials that the original Terra protocol was able to, but never saw the light of day</strong> — including its diverse set of stablecoins, liquid markets for these stablecoins as long as there is access to Bitcoin, and money legos accessable for all stablecoin sets for any protocol that accepts CashUSD through the forex market layer, including Anchor Sail itself.</p><p>The Mint Cash team will also be periodically posting updates on Medium as development on both the burndrop program and the protocol itself progresses, so make sure to follow us here as well if you have a Medium account! 🤞</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=61221435c55e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>