<?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 Asif Khan on Medium]]></title>
        <description><![CDATA[Stories by Asif Khan on Medium]]></description>
        <link>https://medium.com/@0xcryptokhan?source=rss-89246e2c363d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ZzyvZyWFhJropXlhi1TfdQ.jpeg</url>
            <title>Stories by Asif Khan on Medium</title>
            <link>https://medium.com/@0xcryptokhan?source=rss-89246e2c363d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 22:24:35 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@0xcryptokhan/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[Polygon Defi Composability- A Case for Defi]]></title>
            <link>https://medium.com/@0xcryptokhan/polygon-defi-composability-a-case-for-defi-2a9858296799?source=rss-89246e2c363d------2</link>
            <guid isPermaLink="false">https://medium.com/p/2a9858296799</guid>
            <category><![CDATA[polygon-network]]></category>
            <category><![CDATA[defi]]></category>
            <dc:creator><![CDATA[Asif Khan]]></dc:creator>
            <pubDate>Thu, 29 Jul 2021 10:04:55 GMT</pubDate>
            <atom:updated>2021-07-29T10:04:55.265Z</atom:updated>
            <content:encoded><![CDATA[<p>“I tried to picture clusters of dollars as they moved through the systems, exchanges, derivatives ,futures. What did they look like ? I kept dreaming of world I thought I would never see and then one day , I got in.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VBX3XCxAt5H8e26BaVKy3g.png" /><figcaption>The world in-front of your eyes.</figcaption></figure><p>It’s a thing of beauty how a transaction on a blockchain is publicly verifiable, anonymous ,trustless , immutable . The above properties set forth a revolution of Defi products ,where many of them found a product market fit . With Defi blue chips like Uniswap, Aave, Compound , 1inch , Maker , yearn leading the way , transaction volumes skyrocketed , supply side fees increased , so did protocol fees . Over the course of this progress , there was fundamental tenet that seperated defi protocols from their legacy counterparts was “Composability” . An elegant property which lets one build protocols on top of each other ,meshing together to give a different or even a better product .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/220/1*GpEmFBi48tt1VgutxLTHUQ.png" /><figcaption>A touch of nostalgia for a dash into the future</figcaption></figure><p>One can’t help but draw parallels with Tetris where every block meshes perfectly . It’s defi composability that seperates Ethereum Defi ecosystem from other blockchains , there is so much to build upon for developers and so much to use for users ,why venture to barren, infertile lands .</p><p><strong>Polygon Defi — A case for Eth Defi scaled</strong> Circa Defi summer ,much has been talked about how Ethereum scaling will take place and what Defi possibilities will become reality in a low gas fees environment . It is Polygon that sets a precedent how these ambitions can come to fruition in a scaled low gas fees environment . Ever since Polygon Defi Summer started , the vision of a composable defi ecosystem is being realised here . Below is current state ,with nearly all of below protocols either live or in final stages of deployment .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UjwgPPeQ5yVXeRVN3e8SVA.png" /><figcaption>A Defi Ecosystem framework</figcaption></figure><p>Defi ecosystems can be said to be composed of different layers of protocols ,each lending a new unique property to the ecosystem ,as liquidity flows across from layer “0” to layer “N”. With upper layers being low risk, giving low stable returns. As we go down through the layers, returns may increase significantly ,so does risk . <strong>Layer 0</strong> consist of mainly fiat on ramps ,CEXes integrations which bring users to adventurous Defi lands.</p><p><strong>Layer 1</strong> can be the protocols which typically may be lowest risk protocols which may allow users to earn a decent APY on their staked assets .They also may act as a liquidity sink for the ecosystem . <strong>Money markets</strong> like Aave fall here as users can lend assets to earn an APY and at the same time borrow some other assets to use in the ecosystem . <strong>Stablecoin issuance</strong> platforms can also be in layer 1 as high market cap collateral can be used to mint stable coins . A <strong>stableswap</strong> like Curve though an AMM can be labelled as a layer 1 as it is a low risk liquidity sink for assets like stablecoins , BTC, Eth. The high TVL in these protocols strengthens this notion further.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZZlz5hAqtuBLlf9swmchhg.png" /></figure><p><strong>Layer 2</strong> be protocols which utilize these Layer 1 liquidity sinks . These can be <strong>DEXes, margin trading</strong> protocols or even <strong>fixed income</strong> protocols . Staking assets on DEXes will be generating more APYs in terms of fees APY or emissions APY . But the risk of Impermanent Loss stands increasing the risk exposure. Significant TVL on DEXes shows degens and apes are still rushing for the lucrative APYs. Unique USP from different types of DEXes may be a driver as well ,with Sushi,Quick,Dfyn,Wault,DIno being 50–50 AMM pools ,while Kyber , offering a DMM . Balancer offering multiple pool assets and mitigated IL .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6aV-9wmngdqkWy0gXCnwQA.png" /><figcaption>Dex TVL -Source: Defillama</figcaption></figure><p><strong>Layer 3</strong> would be the protocols using the liquidity on the DEXes for even more novel cases like <strong>Derivatives, Synths, Auto-compounder , Asset management , Aggregators</strong> . With <strong>Insurance</strong> protocols providing cover to all underlying protocols . <strong>Aggregato</strong>r like 1inch,Paraswap and Furucombo use underlying DEXes for lowest slippage or better UX. Derivatives can be used to hedge the very positions entered via a swap or LP . <strong>Autocompounder</strong>s may take the LP tokens and increase LP positions . Users may also choose to mint exotic <strong>synths</strong> such as volatility indexes , benefiting from ever present candles( no matter red or green). Or user may just choose to put funds in an <strong>asset management</strong> platform like Dhedge to experience degen hedge funds.</p><p><strong>Layer 4</strong> would be an <strong>analytics</strong> platforms like Dune Analytics, Nansen , Dexguru , Dextools . They maybe other retail facing platforms like vfat,zapper, deBank as well .</p><p>To encapsulate a user bridges funds through a fiat on ramp(Layer 0), then may use Furucombo, a defi aggregator to put some assets on Aave (<strong>Layer 1</strong>) , at same time borrow some other assets . Then supply liquidity to an AMM like Sushi (<strong>Layer 2</strong>) ,stake LP tokens and earn emissions. Then use emissions supply it to a derivatives protocol ( <strong>Layer 3</strong>) to earn extra APY on the tokens . Then may be choose to buy insurance cover(<strong>Layer 3</strong>) on any of the underlying protocols. Or even use derivatives protocol like Pods (<strong>Layer 3</strong>)to hedge LP positions on the AMM .</p><p>With this being just one of the countless combinations , the future possibilities seem immense.<br>Indeed in the oceans of crypto if Defi protocols are majestic Great White sharks, composability turns them into a giant Megalodon .</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2a9858296799" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A dive into Stablecoins]]></title>
            <link>https://medium.com/@0xcryptokhan/a-dive-into-stablecoins-36d08eb58e7b?source=rss-89246e2c363d------2</link>
            <guid isPermaLink="false">https://medium.com/p/36d08eb58e7b</guid>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[stable-coin]]></category>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[liquity]]></category>
            <dc:creator><![CDATA[Asif Khan]]></dc:creator>
            <pubDate>Tue, 20 Jul 2021 06:46:26 GMT</pubDate>
            <atom:updated>2021-07-20T06:46:26.427Z</atom:updated>
            <content:encoded><![CDATA[<h3>The inevitable explosion of stablecoins</h3><p><strong>A short story</strong> 30th March 2020 -USDT market cap — <strong>4.3 billion</strong>(approx.) 30th June 2021 — USDT market cap — <strong>63 billion</strong>(approx.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/861/0*E6atWI49EKgFF8Kb" /><figcaption>Source:Coingecko</figcaption></figure><p>From centralised stablecoins like USDT,USDC,BUSD to decentralised stables like Dai, LUSD, UST. With the explosion of crypto markets, stablecoins have surely enjoyed the UpOnly ride as well, issuance has grown almost exponentially .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/353/0*1-ENQ03EivyaVI4q" /><figcaption>Stablecoin growth across crypto ecosystem</figcaption></figure><p>Some say we are just starting. Which begs one’s volition , to discover the world of stablecoins.</p><p><strong>Why even decentralised stables?</strong></p><p>With CEXes and dexes working so well currently for the ecosystem, one wonders why even need of non custodial-collateral backed stablecoins . The primary reasons quoted are the custodial centralised nature , the anti thesis to the trustless decentralised system we have built. Significant amount of uncertainty whether these are backed by dollars one to one.</p><p>If we talk about Tether and the breakdown of Tether’s reserves as of March 31, 2021.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/775/0*-TIL8dRg-ELdQAYv" /><figcaption>Source: Tether</figcaption></figure><p>Shown as being composed of 75.85% cash and equivalents, 12.55% secured loans, 9.96% in corporate bonds and precious metals and 1.64% in other investments, including digital currencies. This is consistent with the company’s past statements but more precise. The cash section was further broken out into different components: 65.39% commercial paper, 24.2% fiduciary deposits, 3.87% cash, 3.6% reverse repo notes and 2.94% Treasury bills. The breakdown is met by different viewpoints from the community ,with some out rightly slamming Tether as backed by thin air while some dismissing it as unnecessary FUD.</p><p>Questions have been raised on the audit process and attestations due diligence ,with amid speculation that significant inflow/outflow takes place around the attestation dates.</p><p>The idea of decentralised stablecoins now seem a pretty rational endeavour, a system which is not crippled by centralised structures but rather works in a trustless non custodial manner.</p><h3>Liquity — A new frontier</h3><p>In our series on defi stablecoins we start with Liquity a decentralized borrowing protocol that allows one to draw interest-free loans against Ether used as collateral. This will be followed by other stablecoin projects like Maker, Luna-Terra, Frax . In Liquity ,loans are paid out in LUSD (a USD pegged stablecoin) and need to maintain a minimum collateral ratio of 110%.In addition to the collateral, the loans are secured by a Stability Pool containing LUSD and by fellow borrowers collectively acting as guarantors of last resort.</p><p><strong>How does one use Liquity?</strong></p><p>To borrow LUSD one has to open a Trove and deposit the collateral(Eth) . Once can then borrow LUSD up to a collateral ratio of 110% .Meaning one can borrow up to 10000 LUSD by putting a collateral of 11000 USD worth Eth .However it is suggested to keep it somewhat higher to avoid loss of funds by liquidation in case of price fall of collateral .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/790/0*RV6kEx3c8LPfYuI1" /><figcaption>Schematic user flow: Liquity</figcaption></figure><p>Each trove has an unique Ethereum address, and each trove maintains the debt amount and collateral amount, with collateral ratio changing as per market conditions. One pays a one time borrowing fees on the drawn debt One also pays a liquidation reserve of 200 LUSD to pay for the gas costs for the transaction cost of trove liquidation .If no liquidation occurs ,one gets the liquidation reserve back. During redemption as well a fee has to be paid.</p><p>The rate for which changes based on the market conditions. If more redemptions are happening ,the borrowing fee would keep on increasing from the base rate of .5% up to 5% to discourage borrowing. The fee decay over time occurs as long as no redemptions take place. The below visualisation shows the time-based decay for fees across redemptions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*B7_jEDzhAnuQ4Rna" /><figcaption>Source: Liquity docs</figcaption></figure><p>LUSD can then be used across defi ecosystem to generate more yield ,it can also be used to stake in the Stability Pool to earn liquidation gains and LQTY rewards ,generating competitive APYs.</p><p><strong>How does it hold stability?</strong></p><p>The protocol is designed as to allow redemption of LUSD for Eth at face value(i.e. 1 LUSD for $1 of ETH) .Thus arbitrage opportunities may exist in case of breaking the peg ,incentivising a return back to the peg. This is also labelled as a hard peg mechanism .</p><p>One more implied stabilisation mechanism may be change in borrowing fee . As redemptions increase, the base rate increases, discouraging new LUSD from floating into the market, stabilising the price.</p><p><strong>What are the risks here?</strong></p><p>There is one major scenario under which loss of funds may occur:</p><ul><li>If one is a borrower (Trove owner) and the collateral in ETH is liquidated. While keeping the borrowed LUSD, the Trove will be closed and the collateral will be used to compensate Stability Pool depositors.</li></ul><p>Also a disclaimer from Liquity team, “Please note that although the system is diligently audited, a hack or a bug that results in losses for the users can never be fully excluded.”</p><p><strong>Does Liquity system even work?</strong></p><p>Indeed ,since it’s inception ,Liquity protocol has seen great usage with a LUSD circulating supply ATH of 1.5 billion . Currently sitting at around 3 billion in TVL and 765 million supply of LUSD. The stabilization mechanism is also seems to be working as designed having faced the brunt of May 19 crash, which saw massive liquidation ,which could not destabilise the peg for long, LUSD soon returning to friendly territory of being &gt;1. During this events ,Liquity has generated significant amount of Protocol side revenue which is shared with LQTY stakers with cumulative revenues touching around 13 mil since April. The revenue recently has been flattening though warranting more due diligence on the current usage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cVb2Au1yuuZ61mZZ-DLzyw.png" /><figcaption>Source: Token Terminal</figcaption></figure><p>With such usage Liquity protocol presents a compelling case for defi ecosystem . Defi degens(power users) would surely stand by the assertion .</p><p><strong>Why liquity is a case for decentralisation?</strong></p><p>Liquity’s early success is testament to the notion of a fully decentralised financial machinery running without custodians. Liquity is one most decentralised protocols in whole defi ecosystem with least human intervention possible . The governance operations are algorithmic and fully automated, and protocol parameters are set at time of contract deployment . Also Liquity contracts have no admin keys and will be accessible via multiple interfaces hosted by different Frontend Operators, making it censorship resistant . If anything Liquity is set to usher us towards the future of France.</p><p>The future about which I am really excited.</p><p>Relevant links:</p><p><a href="https://duneanalytics.com/dani/Liquity">Dune Analytics</a></p><p><a href="https://www.tokenterminal.com/terminal/projects/liquity">https://www.tokenterminal.com/terminal/projects/liquit</a>y</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=36d08eb58e7b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>