User:Sopia19910/sandbox

Smart Pairing Smart Pairing is a value protocol for Decentralized Finance (DeFi) and Central Finance of digital assetization that sets the value of DeFi as the basis for determining the value of central finance. Decentralized Finance is based on Cryptocurrency like Bitcoin and Ethereum, while Central Finance is based on national currencies such as USD and KRW. Investors in DeFi refer to people who buy Cryptocurrency such as Bitcoin and Ethereum, while DeFi refers to those who use Cryptocurrency as a means of trading and payment. Since Cryptocurrency such as Bitcoin and Ethereum, which are the basis of Decentralized Financing, are very important in determining the value of Cryptocurrency. It is a concept that can present accurate and transparent standard average price.

History

 * Smart Pairing was proposed by Russia cryptographers: Alensky, Uzbek cryptographers: Khalilov Valijon, Saidov Jamshid, and Korean cryptographers: Ha Woo Sung, An Ho Sub and Cho Kwang in 2019. In these implementations, the average price of the currency value of the CryptoCoin based on the currency of the central bank was implemented based on the blockchain.

Necessity

 * The credibility of CryptoCoin, the currency of the blockchain, is high because CryptoCoin's accurate and transparent value judgment determines its value only through trading (sell, buy) through the exchange. The birth of StableCoin, which chose CryptoCoin currency as the national currency due to the acceleration of distrust, is bringing even greater distrust. Currently, the currency of the StableCoin is a state-run digital currency and is not regulated by the law of the country. Currently, StableCoins are issued by companies and are not under the control of the laws of the country, so there are various risk factors such as trading and storage of StableCoins. We need a pair that can quote the average price of CryptoCoin with the value of StableCoin's activation.

Implementation

 * Smart Pairing could be formed through the concept of a pair that represents the value of currency between countries.


 * In addition, we applied VWAP and TWAP algorithms to determine the value of exchange rates.


 * There is two basic structures in Smart Paring.


 * Crypto Coin - A digital asset that represents Decentralized Finance Price value of CryptoCoin is based on “Volume Weighted Average Price” (VWAP) as the main concept and “Time Weighted Average Price” (TWAP) as a sub concept to create Average Price of value judgment.
 * Stable Coin - A digital asset that represents Central Finance Stable Coin creates the average price of the value judgment based on the (Country Weighted Average Price) as the main concept.


 * Smart Pairing presents the average price of CryptoCoin as a pair of the average price of Stable Coin as TWAP (Time Weighted Average Price) and the suggested average price of CryptoCoin VWAP and TWAP.


 * These suggested prices are contracted through smart contract. Smart Contract allows you to conduct transactions that you can trust without third parties.

StableCoin trading volume of TWAP
StableCoin trading volume of TWAP = ( Open Transaction Count + High Transaction Count+Low Transaction Count+Close Transaction Count) / 4
 * Open Transaction Count: Number of transactions initially traded
 * High Transaction Count: Number of trades highest in the market
 * Low Transaction Count: Number of trades lowest in the market
 * Close Transaction Count: Number of trades last in the market

StableCoin Profit
StableCoin trading volume of TWAP * StableCoin trading fee

CryptoCoin VWAP
CryptoCoin VWAP = (((High Price + Low Price +Close Price) / 3) * Volume) / Volume


 * High Price: Market Best Price
 * Low Price: Lowest Price in Market
 * Close Price: Market Last Price
 * Volume: Trading Volume

StableCoin TWAP
StableCoin TWAP = (Open Price + High Price + Low Price +Close Price) / 4


 * Open Price: Market First Price
 * High Price: Market Best Price
 * Low Price: Lowest Price in Market
 * Close Price: Market Last Price
 * Volume: Trading Volume

CryptoCoin Revenue
CryptoCoin trading volume TWAP * Crypto transaction fee

StableCoin Revenue TWAP
StableCoin Revenue TWAP = (SCR Open Price + SCR High Price + SCR Low Price + SRC Close Price) / 4


 * SCR Open Price: StableCoin Proceeds Initial Price
 * SCR High Price: StableCoin Revenue of Best Price
 * SCR Low Price: StableCoin Revenue of Lowest Price
 * SCR Close Price: StableCoin Revenue of Last Price
 * SCR Volume: StableCoin Revenue of Trading Volume

CryptoCoin and Smart Contract of StableCoin (Smart Pairing)

 * First Type - Publish CryptoCoin in the ratio of StableCoin / CryptoCoin Pair to the profit of StableCoin
 * Second Type - Publish StableCoin in the ratio of CryptoCoin /Stable Coin Pair to the profit of CryptoCoin