<?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 Hyoung Joong Kim on Medium]]></title>
        <description><![CDATA[Stories by Hyoung Joong Kim on Medium]]></description>
        <link>https://medium.com/@hyoungjoongkim?source=rss-fda1d93c4b96------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*ndPf56p29nYmIIum.</url>
            <title>Stories by Hyoung Joong Kim on Medium</title>
            <link>https://medium.com/@hyoungjoongkim?source=rss-fda1d93c4b96------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 10:23:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@hyoungjoongkim/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[A Trading Method for Impermanent Gain]]></title>
            <link>https://medium.com/@hyoungjoongkim/a-trading-method-for-impermanent-gain-2ed4e2a0f863?source=rss-fda1d93c4b96------2</link>
            <guid isPermaLink="false">https://medium.com/p/2ed4e2a0f863</guid>
            <category><![CDATA[decentralized-exchange]]></category>
            <category><![CDATA[impermanent-loss]]></category>
            <category><![CDATA[impermanent-gain]]></category>
            <category><![CDATA[automated-market-maker]]></category>
            <dc:creator><![CDATA[Hyoung Joong Kim]]></dc:creator>
            <pubDate>Sat, 15 Apr 2023 14:56:32 GMT</pubDate>
            <atom:updated>2023-04-15T14:57:47.662Z</atom:updated>
            <content:encoded><![CDATA[<p>Professor Hyoung Joong Kim at Hoseo University has developed a new trading method that allows impermanent gain (IG) and addressed the major problem of impermanent loss (IL) in the decentralized finance industry. The new method has the potential to make liquidity providers happy by offering IG, which is achieved through origin-crossing, reordering, and batching. Here is an interview with Professor Kim.</p><p>CHUNG: Can you explain what IL is?<br>KIM: Impermanent loss (IL) is the phenomenon where liquidity providers always lose money when trading through a traditional automated market maker (AMM) on a decentralized exchange (DeX). Liquidity providers are hesitant to deposit their assets (for example, ETH and USDC pair) into an AMM with impermanent loss, but IL has been a persistent issue for AMMs, and eliminating it has been a significant challenge.</p><p>CHUNG: Why do liquidity providers provide liquidity even though IL occurs?<br>KIM: The fees paid by traders for exchanging coins through the AMM are given to liquidity providers as interest, and the DeX’s governance token is given to liquidity providers as a reward. These benefits have attracted liquidity providers.</p><p>CHUNG: Was it impossible to eliminate IL?<br>KIM: Ever since the existence of IL was known, efforts to eliminate it have continued. Uniswap’s constant product market maker (CPMM), which is considered the de facto standard, requires liquidity providers to deposit assets in a 50:50 symmetric balance. Balancer’s asymmetric balance (for example, 80:20 rather than 50:50) and Curve’s StableSwap successfully contributed to reducing IL but could not remove it. As a result, pessimism emerged that eliminating IL is equivalent to developing a perpetual motion machine.</p><p>CHUNG: Is it true that you removed IL?<br>KIM: Yes, I have removed IL. My approach is a combination of origin-crossing, reordering, and batching. Origin-crossing is the key factor that always allows impermanent gain. However, origin-crossing happens rarely, so it is necessary to reorder and batch transactions to achieve it. This three-piece set eliminates IL and guarantees IG.</p><p>CHUNG: I think reordering manipulates prices.<br>KIM: No. When calculating the nominal price, reordering and batching are applied. However, trades take place in their original order, so trader trade at normal prices. Price manipulation occurs only when it gives traders unfair gains or losses.</p><p>CHUNG: What was the industry feedback?<br>KIM: The response from the industry has been positive. People have asked me if IG is guaranteed even when liquidity is small or if only selling or buying comes in. IG is guaranteed in a healthy market with plenty of liquidity and a good balance between buying and selling. They have also asked if IG would be guaranteed to liquidity providers who entered the market early before the situation of the liquidity pool changed, such as changing the CPMM constant. I am the first to present a method that can guarantee IG under specific conditions. I expect that this method will be improved through the efforts of many people in the future.</p><p>CHUNG: Has this method been patented?<br>KIM: Yes, it has. Hackers Holdings is willing to deploy open-source codes based on my patents. I welcome anyone who wants to grow this market while respecting my patents.</p><p>Professor Hyoung Joong Kim(khj-@korea.ac.kr, khj-@hoseo.edu) is the president of the Korea Fintech Society. He was a professor of the School of Cybersecurity at Korea University and is now a Chair Professor of the Department of Digital Business at Hoseo University. He received his B.S. degree in electrical engineering and M.S. and Ph.D. degrees in control and instrumentation engineering from Seoul National University. Last year, he founded the Journal of Digital Assets to lead the new wave of upcoming digital finance. His research interests include information security, cryptocurrency, decen-tralized finance, and data hiding.</p><p><a href="https://www.koreaittimes.com/news/articleView.html?idxno=120980">https://www.koreaittimes.com/news/articleView.html?idxno=120980</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2ed4e2a0f863" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Three Kinds of Prices of the CPMM Automated Market Makers]]></title>
            <link>https://medium.com/@hyoungjoongkim/three-kinds-of-prices-of-the-cpmm-automated-market-makers-ca9015d093a0?source=rss-fda1d93c4b96------2</link>
            <guid isPermaLink="false">https://medium.com/p/ca9015d093a0</guid>
            <dc:creator><![CDATA[Hyoung Joong Kim]]></dc:creator>
            <pubDate>Thu, 02 Mar 2023 17:00:47 GMT</pubDate>
            <atom:updated>2023-03-04T05:51:09.673Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Pricing in automated market maker (AMM) with liquidity pool (LP) is very tricky</strong>. Depending on how the asset price is set, impermanent loss (IL) may occur. In the article below, we introduce three kinds of prices and try to analyze them.</p><p>In the LP, the swapping ratio of assets is automatically determined by the smart contract. Assume that a transaction is made using a constant product market maker (CPMM) function.</p><p>Assume there were 10 ETH and 1,000 USDC in the LP at the beginning. At this time, the value of 10 ETH and the value of 1,000 USDC are each 1,000 USDC. That is, the ratio of the value of each asset is 50:50.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/274/1*sFD3gEM3THhjA8bnz8QMiw.png" /><figcaption>Zero state of assets in a liquidity pool</figcaption></figure><p>See an example. Alice put 10 ETH into the LP, and 500 USDC came out to Alice from the LP. If so, Alice received 50 USDC per ETH. That is, the price of ETH is 50 USDC. The <strong><em>first kind of price </em></strong>in this case is calculated as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/486/1*-OpjJtL2GjunWO419OtbaQ.png" /><figcaption>First kind of price at state 1</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/274/1*fPR2h8BNv-qy_Cpuix039g.png" /><figcaption>First state of assets in the above liquidity pool</figcaption></figure><p>After this transaction, there are 20 ETH and 500 USDC left in the LP. At this time, people think that the price of one ETH is 25 USDC. This price is computed by the<strong><em> second kind of price</em></strong> calculated as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/276/1*DXbmQNg3C1xELjFIOty9dw.png" /><figcaption>Second kind of price at state 1</figcaption></figure><p>If you calculate the value of each asset remaining in the LP at that price, the value of 20 ETH and the value of 500 USDC will each become 500 USDC. Good. In other words, the ratio of the value of each asset is 50:50. However, with this price, you can’t avoid IL.</p><p>There is another way to calculate the asset price by using the <strong><em>third kind of price</em></strong> calculated as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/460/1*-qmgutjADQIDjaqPgvy81Q.png" /><figcaption>Third kind of price at state 1</figcaption></figure><p>In this case, the first kind and the third kind of prices are the same coincidentally because we started from the zero state which is the original state of the LP. Here, the first kind of price is the actual transaction price.</p><p>On the other hand, the second kind of price is quite different from the first kind of price. The reason why the gap between them is so wide is because <strong><em>the</em></strong> <strong><em>giant step swapping</em></strong> took place. In other words, the two prices are very different because large amount of asset has been exchanged.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/427/1*yhZ3hv8aHrNIM8aawtb4nw.png" /><figcaption>Second state of assets in the above liquidity pool</figcaption></figure><p>Let’s consider another giant step swapping from the first state to the second state.</p><p>Alice put 20 ETH, and 250 USDC came out to Alice in the second state. The three kinds of prices<strong><em> </em></strong>are calculated as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/556/1*8sRBHBCXpvz8za73_OVvIg.png" /><figcaption>First kind of price at state 2</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/337/1*0s-njOdzUap0ozIKH46c2g.png" /><figcaption>Second kind of price at state 2</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/532/1*s7w-ODKtLIU8fpzDSWF4ug.png" /><figcaption>Third kind of price at state 2</figcaption></figure><p>Note, in state 2, that all three types of prices are different. In the case of giant step swapping, this phenomenon usually occurs. Giant step swapping occurred in the states with the numbers shown in brown.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/854/1*8KE1_oerLsg8X_Hl8ss3rw.png" /><figcaption>A combination case of baby step and giant step swappings</figcaption></figure><p>Above table shows that the first kind of price is path-dependent, which means that the the current state price denpends on the previous state. At the ninth state, the first kind of price is 66.0 which should be 99.0 as the first state. Moreover, the first kind of price violates the following mathematical pricing principle:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/845/1*RRKOMYGFZo035f6lgeV5uA.png" /><figcaption>Mathematical pricing principle</figcaption></figure><p>Needless to say, the second kind and the third kind of prices are path-independent.</p><p>Green colored figures show that price gap between the current state and the previous state is the largest one among three prices. From this table, we can conclude that the third kind of price changes little at any state from the previous state. In addition, the third kind of price never incurs IL.</p><p>Each kind of price has pros and cons. Clearly, we need to do more research to get a better understanding of prices of the automated market makers.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ca9015d093a0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cryptocurrency Transforming Economics into Engineering]]></title>
            <link>https://medium.com/@hyoungjoongkim/cryptocurrency-transforming-economics-into-engineering-6a0e092f0e23?source=rss-fda1d93c4b96------2</link>
            <guid isPermaLink="false">https://medium.com/p/6a0e092f0e23</guid>
            <dc:creator><![CDATA[Hyoung Joong Kim]]></dc:creator>
            <pubDate>Mon, 20 Jun 2022 16:10:08 GMT</pubDate>
            <atom:updated>2022-06-20T16:10:08.769Z</atom:updated>
            <content:encoded><![CDATA[<p>Traditional economics is more of an art than a science because it lacks the efficient measurement and control technologies of engineering.​</p><p>Economic systems are pretty complex and have many internal states which are mostly unobservable and/or uncontrollable. Economic systems are too complicated to be modeled because of myriad non-linear human factors, uncertainty (i.e. coronavirus outbreak), and decentralized governance (i.e. democracy).​</p><p>However, optimal control theory has been exploited in economics in examples such as the FRB/US model and Taylor rule, which are used for monetary policy.</p><p>​For these macroeconomic models to be effective, accurate measurements such as cash flow and currency velocity are needed. Unfortunately, it is not possible to have real-time measurements. For example, currency velocity is measured as a multiplier, which can only be weighed after a long time. As a result, just-in-time control is impossible.</p><p>​In the absence of accurate and timely data, economic policies based on intuition and experience are inevitable as long as these ‘dumb’ coins and bills are used. They are circulated in the markets and some fractions of them are even saved under mattresses!</p><p>​On the other hand, cryptocurrency is smart, transparent, measurable, and enforceable. Our future generations will use cryptocurrencies instead of cash. Cryptocurrency fits their taste and is entirely familiar to them.</p><p>​Cryptocurrency flows are transparently recorded into the blockchain, a digital ledger open to the public. Thus, anyone can instantly measure the speed of cryptocurrency. Real-time measurement can make a significant contribution to improving its economic efficiency.</p><p>​Cryptocurrency is programmable and executable according to the smart contract. A smart contract is a computer program that facilitates, verifies, enforces, and executes the contracts.</p><p>​It is said to be smart because of its digital nature. The smart contract is misnamed, however, as it is more of a notice than a contract.</p><p>​We all know that if you try to trick your father to get more pocket money, you will fail. Similarly, smart contracts are just like clever fathers in that they can set limits on cryptocurrency use — such as only in bookstores, restaurants and pharmacies, but not in bars or gambling rooms.</p><p>​The circulation speed of cryptocurrency can be controlled based on the smart contract. Cryptocurrency holders can enforce the non-payment of cryptocurrency at illegitimate places such as black markets.</p><p>​In addition, smart contracts can ensure that rent and monthly installments are autonomously, automatically, periodically and correctly paid.</p><p>​Coronavirus is disrupting and breaking solid vested interests. Like in a state of war, ideas that policy makers didn’t dare to try before are now possible.</p><p>​Discussions about online education, telemedicine, and universal basic income have become the norm. Even talk of a digital dollar bill has surfaced in the US Senate.</p><p>​It is inevitable that smart digital currency will be the new-normal sooner than later. This currency will have all the pros of cryptocurrency with much improved cons.</p><p>​This is a good time for central banks to issue cryptocurrency to support nations with basic income relief and test the feasibility of the CBDC (central bank digital currency), which is the digital form of fiat currency to be issued in the near future by the central bank.</p><p>​Nations do not have time to wait for new debit cards to be made. Instead, anybody can instantly download smartphone apps anytime and exchange cryptocurrency immediately.</p><p>​Of course, there is still more work to do. Users have concerns about privacy issues. Also, the poor user interface needs to be improved. However, these issues will be resolved before becoming the entirely cashless society that will soon be the new normal.</p><p>​In the history of money, there has never been a currency that is both programmable and measurable — until now. This precise measurability and control of cryptocurrency will transform the imprecision of economics into the exactness of engineering.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6a0e092f0e23" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>