{"id":7,"date":"2022-05-19T00:00:00","date_gmt":"2022-05-19T00:00:00","guid":{"rendered":"https:\/\/liweisu.com\/en\/?p=7"},"modified":"2022-07-03T15:42:30","modified_gmt":"2022-07-03T15:42:30","slug":"is-near-the-next-luna","status":"publish","type":"post","link":"https:\/\/liweisu.com\/en\/2022\/05\/19\/is-near-the-next-luna\/","title":{"rendered":"Is $NEAR the next $LUNA?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The biggest question on my mind is \u201cIs $NEAR the next $LUNA?\u201d.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Near Protocol recently launched their own algorithmic stable coin which was inspired by LUNA and UST. When I first started on this article, I wanted to see if NEAR could rocket as much as LUNA did, but after that epic collapse. I also have to look at the flip side, whether or not NEAR could crash like LUNA.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In just a minute we\u2019re going to dissect how NEAR and stable coin compares to LUNA\/UST but first we got to start at the top and talk about how do they even work. Near Protocol is your typical layer one blockchain, it\u2019s proof of stake. But one thing that\u2019s special about them is that they have sharding. Fully implemented and live on their network whereas Ethereum is still years behind with their own starting implementation. Things are kind of early for NEAR though \u2013 because their main net launched in mid-2020. And right now, the total value locked in their ecosystem is less than one billion dollars.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You cannot talk about $NEAR without talking about Aurora. That\u2019s their EVM compatible chain running on the Near Protocol, but it supports all the Ethereum Dapps out there. There\u2019s a lot of stuff going on there but most recently all eyes have been on their new stable coin called USN. Initially it got a lot of buzz because it reminded people of UST and LUNA, back before it all collapsed. USN is an algo stable coin that\u2019s native to Near Protocol, and it is soft pegged to one U.S. Dollar. They like to say it combines the growth potential of UST, with the peg defense of another algo stable coin called FRAX. Their whole goal with the stable coin is to increase the TVL (Total Value Locked) and liquidity in their own network, and also give more utility to their NEAR token.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Before we talk about how it stays stable, we got to ask why anyone would want USN? Because they get yield from holding it. Specifically, you get at least 11% APY. I say at least because that\u2019s the APY you get from staking NEAR, and that is passed through to the holders of USN. You can get this yield through the various lending protocols in the Near ecosystem, but initially you should be able to get much higher APY like 20% or so, because the lending protocols themselves could add their own token incentives on top \u2013 That\u2019s looking like some super juicy yield that rivals what other DeFi protocols offer.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Back to the million-dollar question \u2013 how does this all work to maintain stability for USN? Because the last thing we want is another LUNA\/UST fiasco. There\u2019re two main stability mechanisms at play, the on-chain swap, and the reserve fund. The on-chain swap is simple, it\u2019s like the LUNA\/UST swap. You send one dollar worth of NEAR to the smart contract, and it mints one USN for you. You can also send one USN to it and get one dollar worth of NEAR back. If the USN is trading for more or less than one dollar, you can do arbitrage by using outside exchanges and this on-chain swap to help bring the price back to one dollar. I\u2019m not going to explain this too deeply because I already did that in my LUNA\/UST article.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">One gigantic difference to note is that the NEAR that people send to the swap contract does not get burned, instead it is staked on the Near blockchain to generate staking rewards. And that is what gets distributed to the USN holders for that 11% base yield. Also new NEAR is not minted if you send USN to the swap contract, it just gets returned to you from the pool. This is a huge difference compared to the LUNA\/UST model, that mints or burns new LUNA as needed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The second key piece to maintain stability is the reserve fund. This is kind of like the Bitcoin that Do Kwon bought to protect UST\u2019s peg. But in this case, it was built into the system from the very beginning, to make sure there\u2019s enough collateral available to defend the peg at all times.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Initially, this reserve fund is double collateralized with both NEAR and Tether USDT. Let\u2019s say they want to have 1 billion USN initially, then the reserve fund would be filled with 1 billion dollars with NEAR, plus 1 billion USDT as well, so the initial collateralization ratio is 200%.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But as USN grows, they\u2019re targeting in eventual 100% ratio in the future. This means that if there\u2019s ever a panic sale of USN, they\u2019d be able to buy back all the USN ever issued with their reserves.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Every time someone buys USN with either NEAR or some other stable coin, those get put into the reserve fund. As USN is minted or burned, the amount of NEAR or other stable coins increases or decreases within the reserve. But just how do they use this reserve fund to defend the peg? After all it is not a good idea to do it willy-nilly like Do Kwon did. But before we get there, we got to talk about Stableswaps because that\u2019s another protocol that helps stabilize USN as well.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Stableswaps is the part of Ref Finance, an AMM DEX running on Near protocol. It\u2019s actually kind of similar to Curve on Ethereum because they handle swaps of similar types of assets. They\u2019re going to have a USN to USDT pool on there, and that\u2019s a good thing because if there\u2019s a lot of liquidity there, it will help stabilize the price of USN more. The initial USN put into that pool will be filled by Near Protocol itself, and whenever someone swaps their USDT for USN, their USDT is added to the pool.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Everything is managed by smart contract, which mints or withdrawals USN from the pool to make sure things stay balanced there. How do all these pieces come together to defend the peg? Well, they have a set of processes called \u201cTreasury Management\u201d and the whole idea is to use the NEAR and USDT that they have to keep things balanced. So, the fund buys NEAR with the stable coins to support the NEAR USD price when it is dropping, and it sells NEAR for stable coins when the NEAR USD price is rising. The NEAR USD price is super important here because if it gets too low, then you may run into the catastrophic situation, where there\u2019s more USN out there than there is NEAR available to give back to people through that on-chain swap.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So they need things to be balanced, and they use their treasury management plus arbitrage to do that. Just to spell things out for you, more NEAR is added to the reserve fund under two scenarios, when people swap their NEAR for USN using that on-chain swap, and when the fund sells USDT for NEAR to do some rebalancing or other market interventions.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Similarly, more USDT is added to the reserve fund under two scenarios, when people swap their USDT for USN on Stableswaps, and when the reserve fund sells their NEAR for USDT to keep things balanced.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This has been a ton of details, but you probably want to know if this is going to cause a death spiral like LUNA\/UST did. This is the scenario where people mint a lot of USN while NEAR\u2019s price is steady, but then for whatever reason the price of NEAR crashes real fast, and now the market cap of USN is greater than the market cap of NEAR, this would be disastrous. Because if you send all the existing USN to the on-chain swap, you would not be able to get the dollar amount of NEAR that you were promised. People would see that, they would lose confidence and then both NEAR and USN would get dumped like crazy, just like we saw with LUNA\/UST.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The team says that this scenario is not likely to happen because they have the reserve fund and treasury management to support the system. They say they ran a bunch of simulations with historical price data which makes them confident that their process will work. Remember, their plan is to use their USDT to buy NEAR, if the price of NEAR drops to dangerously low levels.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But I don\u2019t really know if that\u2019s going to work because think about it, the amount of liquidity out there matters. If the order books are thin for NEAR, they may have enough NEAR to cover all their USN liabilities, on paper. But if anyone went to go dump more of it, the team would be screwed, and they would not have enough ammo to defend the peg.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">so I don\u2019t really feel safe even though they say that all USN emitted is covered by NEAR plus other stable coins. I\u2019d feel way safer if they kept a higher collateralization ratio with a diverse set of stable coins, and not just 100% ratio with NEAR plus USDT because I don\u2019t trust the NEAR part of that equation. NEAR could drop hard and leave things under collateralized hence kicking off a bank run.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But here\u2019s the thing, NEAR in USN isn\u2019t quite as risky as LUNA\/UST either for three key reasons. First, they don\u2019t have something as ponzi-like and unsustainable as Anchor Protocol. UST grew so fast because Anchor Protocol was offering a crazy 20% yield, but that was completely funded by external deposits, so it was never sustainable. On the other hand, USN\u2019s floor APY of 11% comes from staking the NEAR in the reserve fund so that\u2019s always going to be there and it\u2019s sustainable, too.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Second, there\u2019s significantly higher collateralization ratio for USN, and the collateral is built into the system, so that makes it much safer than UST. Just look at FRAX, which is a stable coin that USN is based on, that has been around for a couple years now and has held its peg surprisingly well. So that gives me a little more faith for USN.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Third, the hyper-inflation scenario that happened to LUNA is not possible here, because the on-chain swap does not mint new NEAR when you send in USN. So even if a bank run did happen, you\u2019re never going to get a trillion NEAR printed, which is what happened to LUNA.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But wait, because there\u2019s actually two reasons that make me bullish on NEAR in the short to midterm. First, USN helps reduce selling pressure on NEAR. Think about it, if someone wants to sell their NEAR for USDT, they could do that directly on a DEX, but that\u2019s not a good idea because it would incur higher slippage. Instead, they could swap it for USN first, and then trade that to USDT through Stableswaps for much less slippage. And with this method the NEAR would be staked, instead of sold on the open market. So that\u2019s selling pressure that would disappear.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The second reason to be bullish is that there\u2019s a lot of NEAR already state, and by offering this new yield generating stable coin, this could cost even more NEAR to be bought up in state. This means less NEAR is available to be dumped on the market, and this is also a new source of market demand.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After all they are going to be offering much higher yield than just 11%, If they add all the token incentives layered on top. So my personal take is, long NEAR and maybe have some USN too. But don\u2019t get too crazy with it, it is not a set and forget after all. You got to keep an eye on how the USN market cap, and the reserve fund balances change over time. Fortunately, USN is still small right now so as long as it\u2019s not a bubble. Thing should be okay.<\/p>\n","protected":false},"excerpt":{"rendered":"The biggest question on my mind is \u201cIs $NEAR the next $LUNA?\u201d. Near Protocol recently launched their own&hellip;\n","protected":false},"author":1,"featured_media":2186,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[17,18],"tags":[],"class_list":["post-7","post","type-post","status-publish","format-standard","has-post-thumbnail","category-near-protocol","category-terra","cs-entry","cs-video-wrap"],"jetpack_featured_media_url":"https:\/\/liweisu.com\/en\/wp-content\/uploads\/2022\/05\/is-near-the-next-luna.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/liweisu.com\/en\/wp-json\/wp\/v2\/posts\/7","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/liweisu.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/liweisu.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/liweisu.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/liweisu.com\/en\/wp-json\/wp\/v2\/comments?post=7"}],"version-history":[{"count":2,"href":"https:\/\/liweisu.com\/en\/wp-json\/wp\/v2\/posts\/7\/revisions"}],"predecessor-version":[{"id":2187,"href":"https:\/\/liweisu.com\/en\/wp-json\/wp\/v2\/posts\/7\/revisions\/2187"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/liweisu.com\/en\/wp-json\/wp\/v2\/media\/2186"}],"wp:attachment":[{"href":"https:\/\/liweisu.com\/en\/wp-json\/wp\/v2\/media?parent=7"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/liweisu.com\/en\/wp-json\/wp\/v2\/categories?post=7"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/liweisu.com\/en\/wp-json\/wp\/v2\/tags?post=7"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}