<?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 BoringCrypto on Medium]]></title>
        <description><![CDATA[Stories by BoringCrypto on Medium]]></description>
        <link>https://medium.com/@boringcrypto?source=rss-6f3174f15a63------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*BBiETg8xqjbZLyVJqFGY0Q.jpeg</url>
            <title>Stories by BoringCrypto on Medium</title>
            <link>https://medium.com/@boringcrypto?source=rss-6f3174f15a63------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 05 Nov 2026 00:45:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@boringcrypto/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[AI generated art looks UnReal… now what?]]></title>
            <link>https://boringcrypto.medium.com/ai-generated-art-looks-unreal-now-what-88b703eed579?source=rss-6f3174f15a63------2</link>
            <guid isPermaLink="false">https://medium.com/p/88b703eed579</guid>
            <category><![CDATA[ai-art]]></category>
            <category><![CDATA[midjourney]]></category>
            <category><![CDATA[ai-art-gallery]]></category>
            <category><![CDATA[dalle-2]]></category>
            <category><![CDATA[ai-generated-art]]></category>
            <dc:creator><![CDATA[BoringCrypto]]></dc:creator>
            <pubDate>Tue, 13 Sep 2022 12:10:33 GMT</pubDate>
            <atom:updated>2022-09-13T19:46:57.558Z</atom:updated>
            <content:encoded><![CDATA[<p>The <a href="https://un-real-art.com/">UnRealArt</a> exhibition in Amsterdam explores the questions raised by the latest innovations in AI art.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M7yreb_wH9lReje0v_M-CA.jpeg" /><figcaption>AI generated portrait with Midjourney by <a href="https://medium.com/u/6f3174f15a63">BoringCrypto</a></figcaption></figure><p>Artworks generated by Artificial Intelligence have been around for a while, with Christie’s selling an <a href="https://news.artnet.com/market/first-ever-artificial-intelligence-portrait-painting-sells-at-christies-1379902">AI-generated portrait for $423k</a> back in 2018. In recent months however, text-to-image tools have become available to a much wider public, creating a tsunami of new “artworks”.</p><p>Creative arts such as drawing, painting and writing have long required a high level of skill. AI tools such as <a href="https://www.midjourney.com/">MidJourney</a> and <a href="https://openai.com/dall-e-2/">DALL-E 2</a> are allowing anyone with an idea to simply describe it in a short prompt and see it come to live within seconds.</p><p>The ease with which anyone can now create a wide range of works raises some interesting questions. Such as:</p><ul><li>What is creativity?</li><li>Who is the author; the computer or the prompt writer?</li><li>How will this technology change the creative arts?</li><li>How can these tools be used for good or for bad?</li></ul><p>The UnRealArt exhibition is designed to let the visitor explore these questions themselves.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PUzeJfRPmxQxhAz2M53hpQ.png" /><figcaption>UnRealArt exhibition at Treehouse NDSM unit M3</figcaption></figure><p>The UnRealArt exhibition shows hundreds of AI generated works by multiple “prompt writers” in a wide variety of styles ranging from photorealistic to abstract, classical to modern.</p><p>To experience how simple and fast the current tools are, visitors are also able to provide their own prompts and generate new artworks on the spot, which may be included in the exhibition.</p><p>All the works are also available at <a href="https://un-real-art.com">https://un-real-art.com</a>, where they are available for purchase as NFTs.</p><p>The UnRealArt exhibition opening is at <a href="https://www.treehousendsm.com/">Treehouse NDSM</a> unit M3 on the 16th of September from 4 to 9 pm. The exhibition will be open daily from 1 to 7 pm until the 25th.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.google.com%2Fmaps%2Fembed%2Fv1%2Fplace%3Fcenter%3D52.3995378%252C4.891236%26key%3DAIzaSyD9HrlRuI1Ani0-MTZ7pvzxwxi4pgW0BCY%26zoom%3D17%26q%3DTreehouse%2BNDSM&amp;display_name=Google+Maps&amp;url=https%3A%2F%2Fwww.google.com%2Fmaps%2Fplace%2FTreehouse%2BNDSM%2F%4052.3995378%2C4.891236%2C17z%2Fdata%3D%213m1%214b1%214m5%213m4%211s0x47c609fc5f2bdbef%3A0x799801f77a1a387b%218m2%213d52.3995547%214d4.8933823%3Fshorturl%3D1&amp;image=http%3A%2F%2Fmaps-api-ssl.google.com%2Fmaps%2Fapi%2Fstaticmap%3Fcenter%3D52.3995378%2C4.891236%26zoom%3D15%26size%3D250x250%26sensor%3Dfalse&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=google" width="600" height="450" frameborder="0" scrolling="no"><a href="https://medium.com/media/0f8a58ba1d02e4cfe77ab45ff00f5afb/href">https://medium.com/media/0f8a58ba1d02e4cfe77ab45ff00f5afb/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=88b703eed579" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Smart Contract issue in Pixel Inc]]></title>
            <link>https://boringcrypto.medium.com/smart-contract-issue-in-pixel-inc-9ebfe1c8bc14?source=rss-6f3174f15a63------2</link>
            <guid isPermaLink="false">https://medium.com/p/9ebfe1c8bc14</guid>
            <dc:creator><![CDATA[BoringCrypto]]></dc:creator>
            <pubDate>Fri, 16 Jul 2021 18:57:49 GMT</pubDate>
            <atom:updated>2021-07-17T05:04:16.124Z</atom:updated>
            <content:encoded><![CDATA[<p>After launch of Pixel Inc, everyone was having fun painting on the canvas until <a href="https://twitter.com/Mudit__Gupta">Mudit</a> messaged me. He had found a major issue.</p><h3>The Issue</h3><p>The Pixel contract includes BoringBatchable, allowing to make several calls on the same contract in a single call.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1007/1*zUmsrJrMeZ7lQHpUdN1YLw.png" /></figure><p>When painting on the canvas, the payment is checked by checking msg.value.</p><p>By using Batchable to make multiple calls to paint, the same msg.value sent is used to pay for each call.</p><p>This allowed for unlimited minting of PIXEL tokens and drain all MATIC out of the contract.</p><h3>Securing Assets</h3><p>In response we took the following actions:</p><ul><li>The MATIC earned by the team that was sitting on the contract is withdrawn.</li><li>Most of the liquidity of the SushiSwap pool was until team control and was removed. Now less than $200 remains from 2 LPs. They should withdraw this.</li><li>The UI was updated and the canvas is now ‘locked’. A snapshot of the canvas is taken and will be uploaded in the new contract.</li><li>A snapshot of the PIXEL token balances was taken and these will be used to issue new tokens.</li></ul><h3>Way forward</h3><p>We’ll redeploy both the canvas and a new PIXEL token will all the same balances. User don’t have to do anything. Once this is done we’ll announce a date and time the canvas will unlock and we’ll continue where we left off.</p><p>A massive thanks to Mudit for finding and reporting this! And a thanks to the community in supporting this project and please bear with us while we get this show back on the road…</p><p>— BoringCrypto</p><p><strong>Update 1:</strong> All data (PIXEL balances, the canvas data, ambassador program info) has been extracted. Fixed contract is mostly done. Time for a nap as it’s 7am and I’d like to write the redeployment with a fresh mind. If all goes well we should be back up and running within a day.</p><p><strong>Update 2:</strong> Full replicated deployment is live on the Polygon Testnet and the current site points to that. Currently loading the replicated state into Polygon mainnet. If all goes well this will take about 2 hours.</p><p><strong>Update 3:</strong> Everything has been restored, canvas unlocks in 30 minutes.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9ebfe1c8bc14" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Pixel Inc: ‘artvertising’ NFT]]></title>
            <link>https://boringcrypto.medium.com/pixel-inc-artvertising-nft-1c1ddaa16f32?source=rss-6f3174f15a63------2</link>
            <guid isPermaLink="false">https://medium.com/p/1c1ddaa16f32</guid>
            <category><![CDATA[nft]]></category>
            <category><![CDATA[tokenomics]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <dc:creator><![CDATA[BoringCrypto]]></dc:creator>
            <pubDate>Mon, 12 Jul 2021 09:37:12 GMT</pubDate>
            <atom:updated>2021-08-13T18:36:27.491Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://pixel.inc">Pixel Inc</a> is an experiment in collaborative ‘artvertising’ and a tribute to web design of the past. Inspired by the <a href="https://en.wikipedia.org/wiki/The_Million_Dollar_Homepage">Million Dollar Homepage</a>, blocks of pixels on a 1000x1000 canvas will be sold with some funky tokenomics and Multi Level Marketing. After 2 weeks, the final canvas will be sold as NFT.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VtCWEnwd5aYgNRPeGixusg.png" /></figure><h3>Phase 1: Creation</h3><p>Starting with a blank canvas of 1000x1000, pixels will be sold in blocks of 10 by 10. Each block has a description and a URL. Multiple blocks can be bought to create/upload larger images.</p><p>All the pixel data, descriptions and urls are stored fully decentralized, on-chain on the Polygon blockchain. The <a href="https://polygon.technology/">Polygon (Matic) blockchain</a> was chosen for it’s low gas costs.</p><p>The starting price for each pixel is 0.1 MATIC. So a 10x10 block is 10 MATIC, which is around $10 at the moment.</p><p>For every pixel purchased, your receive 1 PIXEL token.</p><p>Once a pixel is sold, it can be bought for double the last sale price. So after it was bought for 0.1 MATIC, it will cost 0.2 MATIC. Then 0.4 MATIC, etc.</p><p>When you own a pixel that gets bought, the amount of MATIC you paid for it gets refunded to you. But you get to keep your PIXEL token. ✔️</p><h3>Phase 1B: More creation on Ethereum</h3><p>After the success on Polygon Chain, we held a snapshot vote for token holders and they unanimously voted to redeploy on Ethereum mainnet. Unlike most NFTs, all the information (including the pixels) are stored on-chain. This meant that deploying to mainnet cost 28.7 ETH ($93k). The team used the profits made on Polygon to pay for this.</p><p>The canvas will be open for another 2 weeks until the 28th of August. Prices are converted 10 MATIC = 0.005 ETH.</p><p>PIXEL tokens can be traded on <a href="https://app.sushi.com/swap?inputCurrency=&amp;outputCurrency=0x1590ABe3612Be1CB3ab5B0f28874D521576e97Dc">SushiSwap</a>.</p><h3>Multi Level Marketing?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/959/1*5J08n78yAYN7TrtEdfJoMg.png" /></figure><p>Yup, Pixel will include a 3 tier MLM scheme. You can create your affiliate link and refer others to Pixel Inc. If they buy PIXEL tokens, you’ll get 20% bonus. If they refer someone who buys, you’ll get 10%. And the 3rd tier will net you 5%.</p><p>Let’s take shilling to a whole new level! 😛</p><h3>Phase 2: Perpetual Sale</h3><p>Once the creation phase is finished, the final canvas is turned into a single NFT. This NFT will be for sale for 10% of what was paid in total. So if every pixel was sold once, total amount paid would be 50 ETH and the starting price would be 5 ETH.</p><p>When the NFT sells, the proceeds go to the PIXEL holder pool.</p><p>The NFT will ALWAYS be for sale for 150% of the last paid price. Anyone can buy the canvas NFT at any time for 150% of the last sale price. When a resale happens, the original sale price + 10% gets refunded to the last owner and the rest goes to the PIXEL holder pool.</p><p>So if the NFT gets sold over and over, the funds in the PIXEL holder pool will grow. PIXEL tokens can be burnt anytime to redeem their share of the PIXEL holder pool. With those PIXEL tokens burned, future sale proceeds will go to remaining holders, increasing their share.</p><p>Follow me on Twitter for updates: <a href="https://twitter.com/Boring_Crypto">@Boring_Crypto</a><br>And join the Discord: <a href="https://discord.gg/UxkE7X9zZk">https://discord.gg/UxkE7X9zZk</a></p><h3>Questions?</h3><p>Please ask them on Twitter or Discord…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1c1ddaa16f32" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Magic Internet Money Review]]></title>
            <link>https://boringcrypto.medium.com/magic-internet-money-review-71da416c8824?source=rss-6f3174f15a63------2</link>
            <guid isPermaLink="false">https://medium.com/p/71da416c8824</guid>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[defi]]></category>
            <dc:creator><![CDATA[BoringCrypto]]></dc:creator>
            <pubDate>Thu, 10 Jun 2021 05:40:24 GMT</pubDate>
            <atom:updated>2021-08-08T03:42:31.940Z</atom:updated>
            <content:encoded><![CDATA[<p>When the Abracadabra team contacted me to license my isolated lending contract code (known from Kashi) for <a href="https://abracadabra.money/pool/1">Abracadabra</a> I didn’t quite understand how it would all work. But having recently just aped in with about $55k, I have to say it’s quite interesting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P8vpih2IYyhLedWVkfNpLw.png" /></figure><p>What follows are just some personal notes, shared for others to maybe learn from to understand the protocol’s internals and to help the Abra team improve <a href="https://abracadabra.money/pool/1">the UI</a>. Sorry, not a very well written piece, more of a brain dump. It’s not advice of any kind and there could be plenty of mistakes.</p><p>The way I used it was to take USDT, deposit that into the USDT yearn vault v2, deposit that as collateral into Abracadabra, borrow MIM and sell the MIM for more USDT and then repeat the process. All the way to having $365k of yvUSDT as collateral. Since yvUSDT has an APY of around 8–9%, this should yield me about 55% APY.</p><p>There are obviously some risks:</p><ul><li>Exploits due to bad contracts</li><li>Yield on yvUSDT drops</li><li>Price of USDT drops and causes liquidation</li><li>Other issues I haven’t thought of</li></ul><p>There are also some interesting failure scenarios. If MIM loses it’s peg, I win… I would buy MIM for less than $1 and so it would become cheaper to repay my loan. But in turn this would drive the price of MIM up, so it would stabilize and soon recover peg. If MIM goes over $1, it’s a good time to borrow more and repay when MIM is back at $1. This again drives stability of the peg.</p><p>So overall I’m pretty happy with this investment and after doing a quick review of how the different values are calculated I may grow this position. My main concern is the stability of the yearn yield. I’ll revisit this in a few weeks to see what my actual APY has been.</p><h3>YearnChainLinkOracle</h3><p>This <a href="https://etherscan.io/address/0x6cc0cd7D25E291029B55C767B9A2D1d9A18Ae668#code">contract</a> is similar to the Chainlink oracle used in Kashi markets. It get a price from Chainlink and then uses the following call to get the yearn vault price:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tBUs0wAyLJIPhuGA8I7Rlg.png" /></figure><p>The yvUSDT pool is configured to use the <a href="https://etherscan.io/address/0x3E7d1eAB13ad0104d2750B8863b489D65364e32D#readContract">Chainlink USDT/USD</a> oracle and the pricePerShare from the <a href="https://etherscan.io/address/0x7Da96a3891Add058AdA2E826306D812C638D87a7#code">yearn vault</a>. As of 10-Jun-2021 the pricePerShare is $1.009069.</p><p>It’s important to note that the system assumes that the price of MIM = USD. So if the price of MIM would go over $1, this doesn’t seem to lead to liquidations.</p><h3><strong>CauldronLowRiskV1</strong></h3><p>This <a href="https://etherscan.io/address/0x551a7CfF4de931F32893c928bBc3D25bF1Fc5147#code">contract</a> is based on Kashi and I licensed the code to Abracadabra for MIM. It’s a simplified version, because the interest rate is fixed and there is no lending, only borrowing.</p><p>My position is 314052741825296029002396 borrow parts and my collateral share is <a href="https://etherscan.io/unitconverter?wei=365346401761">365346401761</a>. Let’s see what that means:</p><p>To convert from borrow parts to borrow token amount, we need to look at totalBorrow. We need to multiply our parts by the elastic and divide by the base:</p><p>314052741825296029002396 * 25445847382273525419267697 / 25442289703942533805642019 = 314,096,656,844,242,111,628,733</p><p>When you take the 18 decimals into account, we get 314,096.656 MIM borrowed. The UI currently shows parts, not amount. So keep this in mind. This will probably be fixed soon.</p><p>Now let’s check the collateral. We need to convert from share to amount using the BentoBox.toShare function. Although it’s still 1:1 right now. Then we need to get the price from the oracle by passing the oracleData on the cauldron contract into the peek function of the oracle. I get 990155. We have to divide to get the USD value of our collateral:</p><p><a href="https://etherscan.io/unitconverter?wei=365346401761">365346401761</a> / 990155 = $368,979.000 USD</p><p>This matches what is displayed in the UI. So my true collaterization ratio is 314,096.656 / 368,979.000 = 85.125% and the net value is 368,979.000 - 314,096.656 = $54882.344</p><h3>Looping</h3><p>Opening and closing a leveraged position is a little tricky at the moment, requiring ‘looping’. However, this is a UI limitation, as the contract has the ability to borrow MIM first, do all the swaps and then provide the collateral. As long as this is done in a single transaction and the collateral covers the MIM borrowed, this will work. Would be great to see this added to the UI :D</p><h3>Update 27 June 2021</h3><p>About 17 days have passed.</p><p>Borrow = 314052741825296029002396 * 21894779038779209323174401 / 21883650006387073379645963 = 314,212,454,813,558,623,568,379</p><p>Which is 314212.454 MIM (Increase of almost 116 MIM)</p><p>So it looks like the UI does show the borrow balance in MIM, but does NOT show the interest accrued.</p><p>The yearn price per share has gone up to 1.010276 This is an increase of 0.1207% over 17 days. That would imply an APR of 2.59%. (Yearn site is showing 2.71%, so it’s in the ballpark.)</p><p>The oracle now returns 988862, so the collateral is worth <a href="https://etherscan.io/unitconverter?wei=365346401761">365346401761</a> / 988862 = $369,461. This is a gain of $482. Subtract the borrow cost of 116 MIM and the net gain is $366. Which is a gain of 0.66% over the $55,000 principle. That’s an APR of 14.2% on USDT. Not as high as hoped, but yield have come down across the board it seems. The UI shows collateral of $369,103, which isn’t right.</p><p>Yearn: 2.71%<br>Aave: 2.60–3.51% (+ 2.10–2.71% in stkAAVE?)<br>Compound: 2.24% (includes COMP rewards)<br>Yearn looped with MIM: 14.20%<br>Kashi xSUSHI-USDT market: 14.30% (mostly SUSHI rewards)</p><p>So far so good… at least it’s outperforming straight yearn by 5.23x</p><h3>Update 8 August 2021</h3><p>Another 6 weeks have passed. Total 59 days now.</p><p>Borrow = 314,487 MIM (Increase of 391 MIM, UI still not correct)</p><p>Yearn pricePerShare = 1015150, oracle = 984600</p><p>Collateral = <a href="https://etherscan.io/unitconverter?wei=365346401761">365346401761</a> / 984600 = $371,060</p><p>Gain = $2081-$391 = $1690 = 3% = 19% APR</p><p>Caveat: This assumes MIM — USDT exchange rate of 1:1 but currently MIM is a bit below peg. The borrow is only 308019 USDT. So currently it’s a bad time to open a position and a good time to get out.</p><p>P.S. I earn SPELL tokens because the licensing fee is paid in SPELL (vesting over 4 years)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=71da416c8824" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dictator DAO]]></title>
            <link>https://boringcrypto.medium.com/dictator-dao-1694d59e907e?source=rss-6f3174f15a63------2</link>
            <guid isPermaLink="false">https://medium.com/p/1694d59e907e</guid>
            <category><![CDATA[dao]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[defi]]></category>
            <dc:creator><![CDATA[BoringCrypto]]></dc:creator>
            <pubDate>Sat, 24 Apr 2021 12:34:24 GMT</pubDate>
            <atom:updated>2021-05-01T15:14:43.697Z</atom:updated>
            <content:encoded><![CDATA[<p>There is a wide range of DAOs out there and most of them are either not decentralized or not working well. To solve many of the issues I propose a DAO that elects an operator. The operator is free to build/run the protocol as they see fit, unless the DAO isn’t happy… in which case they can elect a new operator at any time, taking all access forcibly away from the current operator in a fully decentralized manner.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-8rEwdKEIuCGWItXDBRNbA.png" /></figure><p>Before we dive further into this, let’s have a quick look at some common existing structures and their pros and cons.</p><h3>On chain protocol governance</h3><p>Compound and Uniswap have a fully on-chain model where every update to the protocol needs to be voted in by the DAO.</p><h4>Pros</h4><ul><li>On-chain protocol is fully decentralized (in theory, but on these cases too much voting power still rests with the original investors and team)</li></ul><h4>Cons</h4><ul><li>Innovation is very slow</li><li>Only small incremental updates are done, no new products are developed (unless the company decides to, outside of control of the DAO)</li><li>Can be hard to reach quorum to get changes made</li><li>Website is still developed, owned and operated by a centralized team</li><li>High gas costs for DAO members</li></ul><h3>Snapshot governance</h3><p>To overcome the gas costs involved with voting on-chain, a lot of projects have started using snapshot to do community voting. Since these are effectively ‘companies’ executing on their vision, they tend to be more effective in innovation and creating and upgrading products quickly. However, the DAO has only an advisory role and can be completely ignored, which kind of defeats the whole idea of a DAO.</p><h4>Pros</h4><ul><li>No gas costs to vote, leading to more participation</li><li>Teams have freedom to innovate and update the protocol as they see fit</li></ul><h4>Cons</h4><ul><li>The DAO has no recourse and no control over the protocol, they are in practice an advisory board</li><li>The operator/team is in practice a dictatorship and can completely ignore the DAO</li></ul><h3>The Solution: Democratically elected dictatorship</h3><p>So let’s combine the best of both worlds: clear vision with fast innovation AND true decentralization…</p><h4>Founding</h4><p>The first step in establishing this kind of DAO is that the Founder deploys the contracts for the DAO. This will start an establishment period (1 week) in which anyone can buy into a small release of tokens (through a Dutch auction) and become a Member of the DAO and vote for an Operator.</p><p>Once the first auction is finished and any Operator has over 50% of the votes, they become the Operator for the DAO. The funds from the first auction will vest for a period of time and then go to the Operator (the one active at the time vesting is done).</p><h4>Operation</h4><p>This auction process will continue (for instance weekly) to raise funding for operations. After the establishment period a much larger number of tokens will become available (every block) to incentivise the protocol (support farming) through a farming contract. (Like MasterChef in SushiSwap)</p><p>The Operator is free to deploy the weekly raised funds anyway they see fit and they will control the farming allocations. They can hire people, do marketing, build products, conquer the world… or they can just have boat parties…</p><p>This freedom can allow the Operator to innovate rapidly without too much red tape, politics, etc.</p><h4>Oversight</h4><p>However, if the Operator doesn’t perform as the DAO would like. DAO members can simply change their votes to another Operator. Once another operator gets over 50% of the votes, they will start to receive future auction funds and they will get access to the farming contract. This is all enforced by the smart contracts and cannot be changed/upgraded by the Operator.</p><p>So the DAO always retains ultimate control over the protocol. The DAO is the true owner of the protocol and they decide who to ‘hire’ to operate the protocol for them without ever giving up control.</p><h4>More</h4><p>There are other issues to tackle as well, such as web domain ownership, discord, Twitter, forum ownership, etc. For the domain, I think something cool can be done here with .eth domains and/or IPFS hosting, so any new Operator can redirect to a new IPFS site that they own. This doesn’t fully solve the situation when there is a ‘traditional’ domain name, but it’s a good step.</p><p>The others are a bit trickier.</p><p>Anyway, I’m exploring this because I’d love to be an Operator for a nice DAO that ran like this.</p><h3>Bad idea? Good idea? Questions?</h3><p>Either way, come <a href="https://discord.gg/dtxFVE3E">discuss this on discord</a>! Keen to hear your ideas around this.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1694d59e907e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BentoBox, to launch and beyond]]></title>
            <link>https://boringcrypto.medium.com/bentobox-to-launch-and-beyond-d2d5dc2350bd?source=rss-6f3174f15a63------2</link>
            <guid isPermaLink="false">https://medium.com/p/d2d5dc2350bd</guid>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[finance]]></category>
            <category><![CDATA[sushiswap]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <dc:creator><![CDATA[BoringCrypto]]></dc:creator>
            <pubDate>Mon, 21 Dec 2020 12:28:33 GMT</pubDate>
            <atom:updated>2020-12-21T12:28:33.382Z</atom:updated>
            <content:encoded><![CDATA[<p>Since I put out the proposal for BentoBox a few months ago, there has been a lot of progress and launch is now within sight. As the idea became design and then code, some things changed and some improved. This post will explain the solution we’re delivering and a potential roadmap for the future from my point of view.</p><p>To start, the term BentoBox was originally used for the lending solution, but as coding progressed, a new concept emerged. This I will refer to as BentoBox. The lending solution will be referred to as BentoBox Lending or simply lending.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GcgUYT9-opl_piba.jpg" /></figure><h3>The BentoBox</h3><p>All the DeFi protocols work with tokens. They need to be stored somewhere. In most cases, they are stored in the contract that works with them. In the USDC-WBTC pair on SushiSwap for instance, the USDC and WBTC tokens are held in the contract for this specific pair. This way you need to approve each token for use in each protocol.</p><p>This is where the BentoBox comes in. The BentoBox is a single vault that holds all tokens. Not just for the lending contracts, but also for any other protocols and future extensions. Anyone can build extensions that use the BentoBox as their vault with these benefits:</p><ul><li>Once a token is approved for the Vault, any protocol built using BentoBox doesn’t need per token approval anymore.</li><li>Low flat gas fees for internal token transfers (even between different protocols using BentoBox) and advanced transfers such as one-to-many transfers.</li><li>Funds of users and protocols are separated internally. Only protocols that the user approves can access the user’s funds.</li></ul><p>But more importantly, these are only some early benefits, when we move to BentoBox Plus, a lot more benefits get unlocked, as explained later in this post.</p><h3>BentoBox Lending</h3><p>The first product in the BentoBox is Lending. This is mostly as per described in <a href="https://medium.com/@boringcrypto/the-bentobox-lending-solution-1351606b9f5a">my original proposal</a> with some enhancements. In short:</p><ul><li>Anyone can create a lending pair with one asset token and one collateral token with a specific oracle.</li><li>You can earn interest by supplying the asset.</li><li>You can borrow the asset by supplying collateral.</li><li>The target utilization is between 70–80%. This is the percentage of assets that are borrowed from the total supplied.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/949/1*Nlct191Zbs9RADVr2pUATA.png" /><figcaption>*Interest rate changes compound when accrue is called, then it will move faster. This is the linear time when no transactions happen on the pair.</figcaption></figure><ul><li>The elastic interest rate moves up if the pair is underutilized and down if it’s over-utilized. The further it is from the target, the faster the interest rate will move. At 100% utilization, the interest rate will double every 8 hours. *</li><li>When a user is up to 2% insolvent, the position can be liquidated against any approved ‘swapper’. Currently, there is one approved swapper for SushiSwap. The proceeds of the liquidation go 90% to the asset suppliers, 9% to the SushiBar and 1% to the developer (<a href="https://medium.com/u/6f3174f15a63">BoringCrypto</a>).</li><li>When a user is more than 2% insolvent, any user can liquidate the position and get the full 12% liquidation fee. There are several ways to liquidate, including a flash liquidation (or optimistic liquidation) that will give you the collateral and you have to repay the debt before the end of the transaction.</li><li>Short functionality allows you to leverage a position by borrowing any amount of the asset, swapping it to collateral and depositing the collateral. As long as your position is solvent in the end. Unwind does the opposite.</li></ul><h3>Oracles</h3><p>At launch, BentoBox Lending will support several oracles. No oracle is perfect as they each have their benefits and risks. Some risks are mentioned here. There may be other risks. It’s important to understand how these oracles work and what their strengths and weaknesses are.</p><h4><strong>SushiSwap TWAP (Time Weighted Average Price)</strong></h4><p>This oracle takes the average exchange rate between the tokens in SushiSwap over a period of time. The time period is between the last 2 calls to update the price, with a minimum of 5 minutes.</p><p><strong>Benefit:</strong> Using this oracle opens up a wide range of tokens for lending that are currently not available on lending platforms. For many tokens, this will be the only oracle available.</p><p><strong>Risks:</strong> The lending pool should probably not grow outsized in relation to the SushiSwap LP pool as that may lead to manipulation of the price to trigger liquidations.</p><p>The risks are somewhat mitigated by the elastic exchange rate optimizing for 70–80% utilization of the assets. This should in most cases keep TVL much lower than other lending platforms (while optimizing revenue through interest). TVL for a pool could grow quite large if the asset is going or is expected to go down in price fast as the borrow balance will grow fast due to a demand to short the token. If the asset is going down in price, this won’t trigger liquidations. If the price is expected to go up, TVL may shrink because borrowing the asset would lead to losses.</p><h4><strong>Compound Open Price Feed</strong></h4><p>This oracle takes the price feed that the Compound protocol uses. The prices for this oracle are supplied by Coinbase Pro and are bounded by a maximum deviation from the UniSwap TWAP. More info can be found on the <a href="https://compound.finance/prices">compound website</a>.</p><p><strong>Benefit:</strong> Quick response to fast price movements.</p><p><strong>Risks:</strong> These are based on a single source (although with the UniSwap safeguard). This has <a href="https://www.comp.xyz/t/dai-liquidation-event/642">created an issue before</a>, causing about $90M to be liquidated. USDC and USDT are pegged 1:1 to USD. Compound may switch to another oracle solution at some point.</p><h4><strong>Chainlink Oracles</strong></h4><p>This oracle uses the <a href="https://feeds.chain.link/">publicly available Chainlink oracle</a>s that are “sponsored” by other protocols, such as Synthetix, Aave, bZx, etc.</p><p><strong>Benefit:</strong> Some sort of weighted average from multiple sources, sourced by multiple reporters.</p><p><strong>Risks:</strong> Because running each Chainlink oracle is quite expensive ($240k-$360k/year), most oracles currently rely heavily on sponsorship from the Chainlink team. Were they to stop paying for it, most Chainlink oracles would probably no longer be maintained. This introduces a single point of failure.</p><h3>Benefits to Sushi Holders</h3><p>There are three income streams in BentoBox Lending:</p><ul><li>A flat borrow fee of 0.05% of the borrowed amount as the funds are borrowed. All of this goes to the asset suppliers.</li><li>Compounding interest paid by the borrower. 90% of this goes to the asset suppliers, 9% goes to the SushiBar and 1% goes to the developer.</li><li>Profit made from “closed” liquidations. 90% of this goes to the asset suppliers, 9% goes to the SushiBar and 1% goes to the developer.</li></ul><h3>Launching BentoBox Lending</h3><p>The smart contracts for BentoBox are currently under audit by Quantstamp and Peckshield. The Peckshield audit is wrapping up with all issues addressed. The Quantstamp audit will probably wrap up in early January. Good progress is being made on the UI. You can see the <a href="https://www.figma.com/proto/FVtNlX5RLDr5zP3CXr12is/Bento-4.0?node-id=1%3A9&amp;viewport=2964%2C1024%2C1.0738327503204346&amp;scaling=min-zoom">design for it here</a>. And <a href="https://bentobox-frontend-git-omakaseui-components.teamsushi.vercel.app/portfolio">here you can see</a> an early version of the design ‘coded’ into an actual webpage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BPm-0nNBGOjcLVXWFUro4g.png" /></figure><p>Realistically, I’m hoping to see the first release go out in mid January.</p><p>The first release will give access to the basic features of BentoBox Lending for a predefined set of collateral-asset pairs. Features such as creating new pairs, searching for pairs, moving liquidity between pairs, etc will be added over time.</p><h3>The Road Ahead</h3><p>BentoBox has been an awesome team effort and took longer than expected because we still had to set up a lot of scaffolding, like deployment systems and testing frameworks, etc.</p><p>Also, many in the team have never worked together before, so we took some time to find out the best ways to work together and communicate, etc. In the end, it’s become an amazing team effort from a team distributed across the globe.</p><h4>Teamwork</h4><p>The solidity code and tests originally written by me were tested, analysed, tweaked and fixed by <a href="https://medium.com/u/83cb08543213">Keno Budde</a> (@clearwood on discord) and @johba. Deployment and testing were streamlined by <a href="https://medium.com/u/d8f00036874e">Matthew Lilley</a> (@I’m software on discord), who also introduced coverage testing and helped us get to around 95% test coverage so far.</p><p>The subgraph was put together by <a href="https://medium.com/u/83cb08543213">Keno Budde</a> and <a href="https://medium.com/u/d8f00036874e">Matthew Lilley</a>.</p><p>The UI design was done by <a href="https://medium.com/u/f62cb48b5296">Chester LaCroix</a> and <a href="https://medium.com/u/ffffc90d312e">Kastrye</a>. The core team of <a href="https://medium.com/u/efb1a443e114">LevX</a>, @JiroOno and @OmakaseBar proceeded to work closely together to put together the different pieces that make up the UI.</p><p>Meanwhile @Miya has been preparing launch communications and <a href="https://medium.com/u/c51336704b02">0xMaki</a> lined up top firms Peckshield and Quantstamp to conduct the audits.</p><p>And I’m sure I’m forgetting some people and some parts here. But the point here is that we started out as a group of strangers. But by now, a real team that works closely and effectively together has formed.</p><p>Now that the team is all ‘warmed up’ we should be able to deliver more in less time. The following is my idea for a high-level roadmap for Sushi.</p><h3>Lending Improvements</h3><h4>LendingPair variants</h4><p>Currently, a lot of the parameters are hardcoded to what we think may be good for a medium risk token pair. Some pairs are riskier, so they may need larger safety margins. But a pair like DAI-USDC is a lot safer, so more leverage may be ok to allow.</p><p>We can add any number of ‘base’ contracts with different settings for the safety parameters, etc.</p><h4>More Oracles</h4><p>Anyone can create a new oracle interface to be used with Lending. Here are some that could be interesting to add:</p><ul><li>Uniswap V2 TWAP oracle — this is the same as the SushiSwap one</li><li>xSUSHI oracle — this would allow xSUSHI to be used as collateral</li><li>SLP TWAP oracle — this would allow for SushiSwap SLP tokens to be used as collateral. (same could be done for <a href="https://twitter.com/haydenzadams/status/1335998498978885633">Uniswap LP tokens</a>)</li><li>cToken oracle — this would allow Compound Finance cTokens to be used as collateral, so you can farm COMP tokens on Compound and get interest as well as provide liquidity on BentoBox Lending. (Same can be done for C.R.E.A.M., Aave, etc…)</li><li>Multiple feed oracle — Combine multiple feeds, such as SushiSwap, Compound and Chainlink</li><li>Multiple AMM TWAP oracle — Combining the TWAP of SushiSwap and UniswapV2 into a single oracle.</li><li>BentoBox asset supply token oracle — this is getting a little meta, but there are some interesting use cases for this for the larger pairs.</li></ul><p><strong>BAND Protocol</strong></p><p>While currently not supported, we are investigating a way to get BAND oracles maintained at a very low cost (paid by those who benefit from keeping the price up to date, such as liquidators and large asset suppliers). At this point, this is still in an early stage of research, but this could lead to an affordable way to have a properly decentralized off-chain to on-chain oracle solution for BentoBox Lending.</p><h3>Issue Synthetic Assets (such as Stablecoins)</h3><p>Once lending is live, only a small change is needed to allow users to deposit collateral and instead of lending assets, they can mint synthetic assets. Oracles, liquidation, etc all work the same. When the synthetics are returned, they are burned and collateral is returned.</p><p>Initially, we could support xSushi as the main collateral, so you can be earning SUSHI while minting synthetic assets.</p><h3>SushiSwap V2</h3><p>By bringing SushiSwap into BentoBox we gain many advantages. Such as:</p><ul><li>Adding new pairs becomes much cheaper.</li><li>Any rebasing token that supports the BentoBox Plus will support all pairs with that token.</li><li>Extra income from putting idle capital to work.</li><li>Extra income from flash loans.</li></ul><p>Instead of just supported the standard curve AMM, we can also add support for pools with different ratios, such as 20:80. And for pairs such as USDC-USDT or WBTC-renBTC we can add a special curve that reduces slippage significantly.</p><p>We can also add some more experimental AMMs, such as one that only moves in one direction and can only backtrack a few percent. Or an AMM with a spread built-in.</p><h3>BentoBox Plus</h3><p>The current BentoBox is very safe, but only provides no returns on capital. A second BentoBox can be launched that provides the following upgrades:</p><h4>Flash Loans</h4><p>Earn extra income on all funds through flash loans.</p><h4>Support for rebasing tokens.</h4><p>When a rebasing token calls sync on the BentoBox, all funds within (regardless of which protocol uses them) automatically rebase correctly.</p><h4>Strategies</h4><p>For each token in the vault, a strategy can be specified that will invest the asset in a “safe” way to generate a return. Strategies used should only grow the value and should be able to be withdrawn instantly. We could also create a BentoBox Degen, that also allows more risky strategies, with higher returns.</p><p>These strategies will give you a return on your capital while it’s still 100% available to you to use in any of the BentoBox enabled protocols, such as lending and AMM.</p><h4>ERC1155 Support</h4><p>This ERC supports a single contract that “issues” multiple tokens. This way you could receive bTokens when you add tokens to the BentoBox. This is not so different from the way it currently works, but it currently doesn’t conform to the ERC1155 standard.</p><h4>NFT Support</h4><p>Currently, the BentoBox only supports fungible tokens. Adding support for NFTs opens a new range of possibilities as the use of NFT grows. You may for instance use an NFT as collateral. Some low value NFTs could be added to an AMM, such as common CryptoKitties, that are all of minimal, mostly equal value. And many use cases we haven’t even thought of yet. Currently, NFTs are mostly used to represent digital “goods”, but there are many more ways where NFTs may play a role in the DeFi eco-system.</p><h3>The BentoBox eco-system</h3><p>Because the BentoBox is an open platform, any protocol can use the BentoBox as their token storage and get all the benefits. We can add any missing DeFi legos, such as options, insurance, yield earning vaults and/or help existing protocols integrate. Some of the current Sushi products under development that can be added:</p><ul><li>MISO — A platform to launch new projects (<a href="https://forum.sushiswapclassic.org/t/proposal-miso-minimal-initial-sushi-offering/1309">https://forum.sushiswapclassic.org/t/proposal-miso-minimal-initial-sushi-offering/1309</a>)</li><li>Gusoku — Options-based IL protection<br><a href="https://hackmd.io/j70mou-pQ_KZ8lcDPrb1qA">https://hackmd.io/j70mou-pQ_KZ8lcDPrb1qA</a></li></ul><h3>Capital Efficiency</h3><p>The holy grail of DeFi is to maximize capital efficiency and generate the highest yield with the lowest risk. Once the BentoBox has Lending, AMM, etc and the BentoBox Plus is live, here’s an example of how it could be used:</p><p>Let’s say you HODL ETH and BTC. You could add your WBTC and ETH to the BentoBox and provide both assets for Lending. This will give you lending tokens. These tokens could be placed in an AMM pair and they will be arbitraged by traders as the price of ETH-BTC moves (indirectly providing more liquidity to the overall on-chain ETH-BTC market). This will mint you SLP tokens for this pair. This could be supplied as collateral to borrow for instance USDC (or to borrow more WBTC and ETH to repeat the above and leverage this position).</p><p>This takes capital efficiency options to a whole new level.</p><h3>Layer 2 — Scaling DeFi</h3><p>There’s a lot of hype around “layer 2”, optimistic roll-ups, etc. But in practice, the major drawback for most of these solutions is that it’s expensive and/or slow to move between layer 1 and layer 2.</p><p>But once a lot of the eco-system is already running through the BentoBox, we simply deploy a BentoBox on layer 2. Once you’ve moved your tokens to layer 2 and into the BentoBox, you can stay in layer 2 while using all the cool protocols built on top of BentoBox.</p><h3>Exciting Times Ahead</h3><p>While we don’t know what the future might hold, at least we’ve got a lot of plans… I’m looking forward to working with the great team of Sushi to bring more cowbell :D</p><p>P.S. This is my personal view for Sushi. However, Sushi is owned and governed by the community. It’s up to the community to set the real roadmap and accept or reject all or part of this.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d2d5dc2350bd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dracula Protocol smart-contract bug and quality of FUD in community]]></title>
            <link>https://boringcrypto.medium.com/dracula-protocol-smart-contract-bug-and-quality-of-fud-in-community-b185870a9359?source=rss-6f3174f15a63------2</link>
            <guid isPermaLink="false">https://medium.com/p/b185870a9359</guid>
            <dc:creator><![CDATA[BoringCrypto]]></dc:creator>
            <pubDate>Fri, 16 Oct 2020 17:23:36 GMT</pubDate>
            <atom:updated>2020-10-16T17:28:16.374Z</atom:updated>
            <content:encoded><![CDATA[<p>As mentioned in my <a href="https://medium.com/@DraculaProtocol/sushiswap-smart-contract-bug-and-quality-of-audits-in-community-f50ee0545bc6">earlier response</a>, we want to share with the community a bug.</p><p>SushiSwap code is fully audited.</p><p>However, today’s post is not about us, but about silly FUD and their role in the DeFi community as a whole. When we were reading a silly hype article we had the MasterVampire smart-contract investigated as a potential target for hacking, we’ve noticed another bug, this time with more serious ramifications.</p><p>We want to describe the vulnerability and a potential backdoor that was left by mistake, and may get forked multiple times in different projects. The bug itself may lead users to have all their staked liquidity stolen. A potential attack based on this is hard to implement, and it takes special preparations, plus owner rights on the initial stage of the launch. But it gives the ability to drain all funds for anyone with admin rights. Even under multisig and governance, it’s extremely hard to notice anything malicious in common transactions.</p><p><a href="https://etherscan.io/address/0xD12d68Fd52b54908547ebC2Cd77Ec6EbbEfd3099#code">MasterVampire</a> contract has a deposit function that calls deposit in the VampireAdapter library. This deposit function uses delegatecall on the adapter contract.</p><p>Because of the delegatecall, the deposit function in the Adapter (or any new adaptor) is executed in the context of the MasterVampire.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u-IVAotZ1VkzvG8K6nj8Sg.png" /></figure><p>Let’s understand why using delegatecall is irresponsible and possibly malicious.</p><h3>Lost funds</h3><p>Consider a malicious owner of the contract on the stage of deploying a new adapter for a very unpopular protocol, silently adds a few lines of code to the deposit function. This doesn’t look suspicious at all because nobody cares about this protocol, so nobody checks the new adapter code.</p><p>But let’s image what will happen if after, say, the TimeLock is finished and the pool is added. Barely anyone would have noticed these new pools being added, as people tend to believe it can only impact those new pools.</p><p>As a result, delegatecall to deposit will lead to the malicious owner stealing all funds from all pools.</p><h3>FUD</h3><p>Recently <a href="https://medium.com/@DraculaProtocol/sushiswap-smart-contract-bug-and-quality-of-audits-in-community-f50ee0545bc6">a silly FUD and hype article</a> was read many times by many people, but nobody seemed to understand this was a total non-issue.</p><p>We believe that the severity of the FUD is at least on a high level. The fact that it was overlooked by the community raises some serious questions about the role of the community in DeFi.</p><p>The fix for this is pretty simple, and it’s implemented in the Sushi Community. One simply needs to not believe everything that’s written in technical reveal style articles on Medium.</p><p>Nevertheless, we still lack an official FUD whacker for our project and invite anyone to reveal FUD for what it is.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b185870a9359" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What’s new in the SushiShop?]]></title>
            <link>https://medium.com/sushiswap-org/whats-new-in-the-sushishop-1c0a8a5d3537?source=rss-6f3174f15a63------2</link>
            <guid isPermaLink="false">https://medium.com/p/1c0a8a5d3537</guid>
            <dc:creator><![CDATA[BoringCrypto]]></dc:creator>
            <pubDate>Tue, 29 Sep 2020 08:36:46 GMT</pubDate>
            <atom:updated>2020-09-29T08:36:46.622Z</atom:updated>
            <content:encoded><![CDATA[<p>Things have been very busy and we’ve tried to keep everyone informed through discord, twitter and the forums. But for those watching from a distance, here a summary of what we’ve been up to.</p><h3>New OmakaseBar website is live for testing</h3><p>All your Sushi needs in one place, that’s what the OmakaseBar brings. You can check it out now at <a href="https://sushiswap.fi/">https://sushiswap.fi/</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*T4NCeEemnEFzXvC9.jpg" /></figure><p>Besides this there are a lot of ways to play with Sushi:</p><ul><li><a href="https://sushiswapclassic.org/">https://sushiswapclassic.org/</a> — The OG</li><li><a href="https://app.boring.finance/#/sushibar">https://app.boring.finance/#/sushibar</a> — Check the bar and timelock here</li><li><a href="https://sushiswap.levx.io/#/">https://sushiswap.levx.io/</a> — clean UI by community team LevX</li><li><a href="https://sushi.zippo.io/">https://sushi.zippo.io/</a> — Check out the menu</li><li><a href="https://sushiswap.vision/home">https://sushiswap.vision/home</a> — Full stats</li><li><a href="https://sushiview.vercel.app/compare">https://sushiview.vercel.app/compare</a> — compare Uni to Sushi</li><li><a href="https://sushi-balance.herokuapp.com/">https://sushi-balance.herokuapp.com/</a> — Your sushi overview</li></ul><h3>We’ve got a team!</h3><p>After a tumultuous start, we had SBF and team step up and guide us through migration. Naturally they are pretty busy and can’t devote all their attention to Sushi full-time. With 0xMaki elected to lead the project by the community, he has assembled a team from the early contributors and volunteers who stuck with the project no matter what. The current full-time team:</p><ul><li><a href="https://twitter.com/0xMaki">0xMaki </a>— Our fearless leader</li><li>ctrl —<a href="https://snapshot.page/#/sushi/proposal/QmVNYANPeQaoxqmh46S2fpR2j8iKa1qW4RxWqT6PuRRafh"> Taking care of operations</a></li><li><a href="https://twitter.com/OmakaseBar">OmakaseBar</a> &amp; <a href="https://twitter.com/JiroOnoSushi">JiroOno</a> — Making all the cool stuff (<a href="https://forum.sushiswapclassic.org/t/team-proposal-omakasebar-jiroono/399/13">yet to be officially voted in, but seem to have community support</a>)</li></ul><p>There are of course many others working hard to making Sushi a success, such as:</p><ul><li><a href="https://twitter.com/chester_lacroix">Chester LaCroix</a> — working on branding/design</li><li><a href="https://twitter.com/Kastrye">Kastrye</a> — working on branding/design</li><li>Miya — streamlining communications, social, international</li><li><a href="https://twitter.com/Boring_Crypto">BoringCrypto</a> — tech, building BentoBox</li><li>Countless others…</li></ul><p>After the chaos of the first few weeks it took some time to get things sorted out and streamline things internally… we now have a strong team in place to take Sushi forward for the community.</p><h3>All things multi-sig</h3><p>All the dev funds are currently under control of the <a href="https://etherscan.io/address/0xf73b31c07e3f8ea8f7c59ac58ed1f878708c8a76">6-out-of-9 community elected multi-sig</a> with about $14m worth of SUSHI. All changes to the protocol is now controlled by a <a href="https://etherscan.io/address/0x19b3eb3af5d93b77a5619b047de0eed7115a19e7">3-out-of-5 multi-sig</a> (0xMaki, ctrl, OmakaseBar, JiroOno and BoringCrypto) and behind a <a href="https://app.boring.finance/#/timelock">48 hour TimeLock</a>.</p><h3>Menu of the Week</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Kflbn_PcDF4Pf-m-" /></figure><p>SushiSwap is introducing a rotating menu of reward pools. Today 9 pools went live and one more coming soon:</p><ul><li>xSUSHI-ETH 0x36e2FCCCc59e5747Ff63a03ea2e5C0c2C14911e7</li><li>cDAI-DAI 0x0Cfe7968e7c34A51217a7C9b9dc1690F416E027e</li><li>WBTC-ETH 0xceff51756c56ceffca006cd410b03ffc46dd3a58</li><li>CREAM-ETH 0xf169CeA51EB51774cF107c88309717ddA20be167</li><li>MEME-ETH 0x17b3C19Bd640a59E832AB73eCcF716CB47419846</li><li>wNXM-ETH 0xFcff3b04C499A57778ae2CF05584ab24278A7FCb</li><li>yUSD-ETH 0x382c4a5147Fd4090F7BE3A9Ff398F95638F5D39E</li><li>yUSD-WBTC 0x2024324a99231509a3715172d4f4f4e751b38d4d</li><li>CRO-ETH 0x0be88ac4b5C81700acF3a606a52a31C261a24A35</li><li>renBTC-WBTC 0x518d6CE2D7A689A591Bf46433443C31615b206C5 (soon)</li></ul><h3>Growth Fund</h3><p>The <a href="https://snapshot.page/#/sushi/proposal/QmXg8Vq6sNpNWYRvM3GyCQbyDVRk8kRNF3PytGoexrDGgL">community has voted</a> to provide the team with a growth fund topped up every month that will help the team to reward volunteers, pay for operational costs, run contests and many more things…</p><h3>Partial Lock-Up of new rewards</h3><p>Within a day we will implement a community proposal to lock up 2/3rd of harvested SUSHI for 6 months. It was also decided to cap the max supply of SUSHI to 250M.</p><h3>The BentoBox lending solution</h3><p>Platforms like Compound and Aave allow users to deposit assets as collateral and borrow other assets against this. These protocols have attracted billions of dollars, but they suffer from some major limitations. Taking away these limitations could see much larger adoption. <a href="https://medium.com/@boringcrypto/the-bentobox-lending-solution-1351606b9f5a">BentoBox</a> aims to do just that.</p><ul><li>Isolated lending pairs. Anyone can create a pair, it’s up to users which pairs they find safe enough. Risk is isolated to just that pair.</li><li>Flexible oracles, both on-chain and off-chain.</li><li>Liquid interest rates based on a specific target utilization, such as 75%.</li><li>Contracts optimized for low gas.</li><li>The supplied assets can be used for flash loans, providing extra revenue for suppliers.</li></ul><h3>And so much more!</h3><p>Some things in the pipeline are rebalancing of the reward pools, setting a schedule to keep total supply under 250M, easy migration from UniSwap pools to SushiSwap pools, and a lot more… ganbarimasu!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1c0a8a5d3537" width="1" height="1" alt=""><hr><p><a href="https://medium.com/sushiswap-org/whats-new-in-the-sushishop-1c0a8a5d3537">What’s new in the SushiShop?</a> was originally published in <a href="https://medium.com/sushiswap-org">Sushi</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The BentoBox lending solution]]></title>
            <link>https://boringcrypto.medium.com/the-bentobox-lending-solution-1351606b9f5a?source=rss-6f3174f15a63------2</link>
            <guid isPermaLink="false">https://medium.com/p/1351606b9f5a</guid>
            <category><![CDATA[sushiswap]]></category>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <dc:creator><![CDATA[BoringCrypto]]></dc:creator>
            <pubDate>Thu, 24 Sep 2020 05:55:08 GMT</pubDate>
            <atom:updated>2020-09-24T05:55:08.752Z</atom:updated>
            <content:encoded><![CDATA[<p>Platforms like Compound and Aave allow users to deposit assets as collateral and borrow other assets against this. These protocols have attracted billions of dollars, but they suffer from some major limitations. Taking away these limitations could see much larger adoption. This proposal aims to do just that.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*32Q3NENfPF9BpcZ-" /><figcaption>Random unrelated picture of Sushi :P</figcaption></figure><p>We solve these issues by having a platform with:</p><ul><li>Isolated lending pairs. Anyone can create a pair, it’s up to users which pairs they find safe enough. Risk is isolated to just that pair.</li><li>Flexible oracles, both on-chain and off-chain.</li><li>Liquid interest rates based on a specific target utilization, such as 75%.</li><li>Contracts optimized for low gas.</li><li>The supplied assets can be used for flash loans, providing extra revenue for suppliers.</li></ul><h3>Isolated lending pairs</h3><p>The current solutions allow users to supply a variety of collateral assets and borrow another set of assets. If one of the assets were to drop in price faster than liquidators can react, every user and every asset is affected by this. So the risk to the platform is based on the risk level of the riskiest asset listed on the platform. This risk increases with every extra asset that is added, leading to a very limited choice in assets on most platforms.</p><p>By isolating lending pairs, anyone can create a new pair similar to how anyone can create a SushiSwap pair. Some lending markets will be very stable and safe, others not so much if they include highly volatile assets with low liquidity. Because these are isolated pools, risk is limited to individual pools and interest rates will reflect that risk. Higher risk pools will attract less suppliers, pushing up the interest rate.</p><h3>Margin shorting any token</h3><p>This will allow for the creation of thousand of lending pairs for any token, creating the ability to go margin short on a large variety of tokens. This is something that is in high demand, but currently not available for most tokens.</p><p>Let’s say there’s a shiny new token called SHINY. We want to short this because we think it’s overvalued because it’s so shiny and new. We (or someone) create an ETH-SHINY lending pool, with a collateral rate of 80%.</p><p>We supply $1000 worth of ETH and borrow $750 worth of SHINY. We sell the SHINY for ETH and supply the ETH back to the pool. Now we have:</p><p>Supply: $1750 ETH and Borrows: $750 SHINY</p><p>We borrow an extra $500 SHINY and sell it for ETH. We resupply the ETH and have:</p><p>Supply: $2250 ETH and Borrows: $1250 SHINY</p><p>We can repeat this process a few more times, or we could have use a simple flash loan to get this done in 1 transaction. Depending on the collateral rate we can leverage 2–4x or more depending on our risk profile.</p><p>Now we are not only able to short this brand new token (which currently is often not possible) but we can even leverage the short. This will lead to a lot of volume on the associated swap pool, which we would encourage to of course be SushiSwap.</p><h3>Flexible oracles</h3><p>When a pool is created an oracle can be selected. I will provide 2 basic oracles, but the system can be extended and anyone could write a connector to an oracle. The basic oracles provided are:</p><ul><li><a href="https://uniswap.org/docs/v2/core-concepts/oracles/">SushiSwap (UniSwap V2) Time Weighted Average Price</a> — every SushiSwap and UniSwap can be used to get a TWAP.</li><li><a href="https://compound.finance/docs/prices#price">Open Oracle Price Feeds</a> — these are the feeds Compound uses.</li></ul><h3>Liquid interest rates</h3><p>Ideally you’d prefer a high, but not too high supply to borrow ratio (e.g. around 75%). The current platforms try to achieve this by making the interest rate go up with increase utilization. The minimum and maximum rates are however fixed. So these platforms don’t optimize towards an ideal utilization. During very low or high demand the rates have to be adjusted manually to get the utilization rate corrected. When utilization hits 100%, withdrawals are no longer possible. This problem has occurred on several of the platforms.</p><p>Each pool (and in each direction) will optimize the interest rate to get to the ideal utilization. If the pool is underutilized, over time the interest rate will keep dropping until it reaches 0% or until enough supply has left/borrowers have arrived. As the utilization goes too high, the interest rate will start climbing until it’s back at the ideal rate. The parameters for this will be configurable for each pool.</p><h3>Optimized for low gas use</h3><p>Most of the current implementations use quite a lot of gas, making them useless to users with smaller portfolios during high gas prices. One reason for this is that the contracts aren’t optimized for gas. A more fundamental reason is that having multiple assets supplied/borrowed requires more computation that gets worse the number of assets you enable. More recently some platforms have integrated governance tokens. This adds even more gas usage to each interaction with the platform.</p><h3>Areas of more research during development</h3><p>These features aren’t guaranteed, but will be researched as part of the development.</p><p>Allow for the investment of the locked funds in reputable yield zero-loss yields creating protocols. This should probably be optional per pool, so there can be multiple versions of the same pool pair. Users can trade of risk against rewards.</p><p>It may be possible to create one or more vaults that hold the actual assets. So while the pools are still separate from a risk perspective, this allows for easier investment of locked funds to create extra yield, larger flash loans and most importantly it could make moving between pools very low gas so liquidity can easily flow to the best pools. There are some drawbacks too and more research is required.</p><h3>Revenue generation</h3><p>A set percentage (to be set and controlled by Sushi) of the lending LPs interest proceeds will be sent to the SushiMaker. These will be converted into SUSHI and served in the SushiBar to holders of xSUSHI.</p><h3>Who am I?</h3><ul><li>Starting coding at the age of 6, hence 36 years experience coding in about every language and on every platform from large databases, accounting software to HFT and 3D engines.</li><li>Successfully built and exited multi-million dollar internet company.</li><li>Founder, architect and main coder on full CEX focused on security and transparency.</li></ul><h3>Background</h3><p>Before I got involved helping out with Sushi, I spent weeks working on this lending solution. With the appointment of 0xMaki, ctrl and most likely OmakaseBar I feel confident about the future of Sushi and would be interested to bring this in under the Sushi brand.</p><h3>Proposal</h3><p>I will commit to delivering well tested (but not yet audited) solidity contracts closely matching the specs above. Slight changes may occur due to technical feasibility, but will be clearly communicated when encountered.</p><p>The success fee for this project is 25k SUSHI at the beta release and an additional 75k at final delivery.</p><p>Any costs of freelancers I may use for things such as creating unit tests, etc and any other expenses I have will be mine. The core code will of course be written by me.</p><p>Delivery deadline for a beta release will be 3 weeks from the time the funds are approved. Final delivery will be within 6 weeks. Every day delayed after that will reduce success fee by 5%.</p><p>While I may create a UI for testing purposes, it isn’t included in this proposal. But I will work with the team and provide help/guidance where needed so a good UI can be ready for launch.</p><h3>License</h3><p>Code will be open source, but full copyright will be retained by BoringCrypto. A perpetual unrestricted license will be granted to Sushi but only for the use within the Sushi ecosystem.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1351606b9f5a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Migration FAQ]]></title>
            <link>https://medium.com/sushiswap-org/migration-faq-effdf940e167?source=rss-6f3174f15a63------2</link>
            <guid isPermaLink="false">https://medium.com/p/effdf940e167</guid>
            <category><![CDATA[yield-farming]]></category>
            <category><![CDATA[sushiswap]]></category>
            <category><![CDATA[uniswap]]></category>
            <category><![CDATA[defi]]></category>
            <dc:creator><![CDATA[BoringCrypto]]></dc:creator>
            <pubDate>Wed, 09 Sep 2020 07:46:52 GMT</pubDate>
            <atom:updated>2021-02-02T03:13:21.065Z</atom:updated>
            <content:encoded><![CDATA[<h3>So what’s happening? 🔀</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*-Q1jqx2A4mWAd4Z8rGCNgQ.png" /></figure><p>Uniswap liquidity that is staked in one of the pools of the MasterChef (such as 🐢Tether Turtle) will be moved to SushiSwap.</p><p>Let’s say you add 1 ETH and 340 USDT in the UniSwap pool and receive some UniSwap V2 LP tokens. You then stake these tokens with the MasterChef to farm SUSHI. At migration, technically all tokens in a pool are migrated at the same time in one atomic transaction.</p><p>But from your perspective your UniSwap V2 LP tokens (representing your liquidity of 1 ETH and 340 USDT) will be migrated into SushiSwap SLP tokens representing exactly the same liquidity.</p><p>These SushiSwap SLP token work the same way UniSwap V2 tokens work. There will be one or more sites available where you can add/remove this liquidity from the pool, trade and stake.</p><h3>When is migration happening?</h3><p>Migration is possible from anytime after <a href="https://www.epochconverter.com/countdown?q=1599660632">Wednesday September 9 14:10:32 UTC</a>. SBF will call the migration function on the MasterChef contract one by one, so all pools will be migrated soon after the time above. The first pool to be migrated will be CRV/ETH. SBF will check that it all went smoothly and then do all the others.</p><h3>What happens to my SUSHI? 🍣</h3><p>Nothing. All farmed and pending SUSHI will stay the same and you’ll continue to farm SUSHI for your staked liquidity.</p><h3>Has this been tested? ⚗️</h3><p>The contracts for migration were audited by <a href="https://twitter.com/Quantstamp/status/1301280985334439936?s=20">Quantstamp</a> and <a href="https://twitter.com/peckshield/status/1301449797090422796">Peckshield</a>. No critical issues were found. BoringCrypto has done a <a href="https://twitter.com/Boring_Crypto/status/1303590893581033473">successful test migration</a> on the Ropsten testnet.</p><h3>Is there a reward for staying in? 🏆</h3><p><a href="https://twitter.com/SBF_Alameda/status/1302967576968880130?s=20">SBF is giving out 1 million $SUSHI</a> for those who continue to provide liquidity through migration. This will be distributed evenly to all liquidity providers based on the USD value of liquidity.</p><p>There is currently a <a href="https://snapshot.page/#/sushi/proposal/QmdXCYgQpm3ijrfR6jjg9eEMois5DAXpmnYKNzdgUqhiBf">community proposal to use 1 million $SUSHI</a> from the development fund to bring the total rewards to 2 million $SUSHI.</p><h3>What is happening with the AMPL and BASED pools?</h3><p>Because AMPL and BASED tokens are <a href="https://defiprime.com/elastic">elastic supply</a> tokens. To work correctly the token has to specifically support the liquidity pool. Technically this is done by the token calling the <a href="https://uniswap.org/docs/v2/smart-contracts/pair/#sync-1">sync()</a> function on the liquidity pool when a rebase is done. AMPL will support the SushiSwap pool and will be migrated as planned. Unfortunately it looks like BASED is unable provide support and will therefore NOT be migrated and stay on UniSwap.</p><p><strong>Because BASED will not be migrated, there won’t be a reward for staying in that pool through migration.</strong> BASED pool will continue to farm $SUSHI. The AMPL liquidity providers will be rewarded just like the other pools.</p><h3>What will happen to UniSwap fees?</h3><p>You will receive all fees earned up to migration as they are continuously added to the pool. Once migrated to SushiSwap the fee will also be 0.3%, however 0.25% will go to liquidity providers and 0.05% is designated to be sold for SUSHI and the SUSHI will be paid to those who stake in the SushiBar. More on this later.</p><h3>What happens next?</h3><p>After migration is complete, the liquidity will be available on SushiSwap and anyone can start adding other trading pairs and start trading.</p><blockquote>We are already supported by Debank Swap and 1inch to increase order origination more will follow !</blockquote><h3></h3><p>Check the on-going 48H countdown for @SushiSwap migration in our p-folio tracker. - Trading on #SushiSwap is already supported in DeBank Swap. Let&#39;s wait and see @SBF_Alameda @0xMaki https://t.co/bxri8hNeQd pic.twitter.com/Gma68qMkXx</p><h3></h3><p>1inch is getting ready for @SushiSwap 🚀🔥🎂#DeFi pic.twitter.com/uMhbg98iQ3</p><p>The next steps include : <br>- Deep integrations with DeFi partners<br>- Launch of our governance forum on September 10th <br>- Launch of more frontend from community developers and designers ! <br>- Updated grants and Sushinomics 🍣😉</p><p>いただきます</p><h4>💬 Join Us!</h4><ul><li>Join discussion in our Discord at <a href="https://discord.gg/BRXwF8Cf">https://discord.gg/BRXwF8Cf</a></li><li>Don’t miss any update by following our twitter at <a href="https://twitter.com/sushiswap">twitter.com/sushiswap</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=effdf940e167" width="1" height="1" alt=""><hr><p><a href="https://medium.com/sushiswap-org/migration-faq-effdf940e167">Migration FAQ</a> was originally published in <a href="https://medium.com/sushiswap-org">Sushi</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>