QIAN.finance Documents
  • QIAN.finance knowledge base
  • QIAN.finance 知识库
  • QIAN V2 Whitepaper
    • QIAN V2: Innovative decentralized fractional-algorithmic synthetic assets protocol
    • Price Stability of QSD
    • QSD Minting
    • QSD Redeeming
    • KUN token
    • Buybacks & Recollateralization
    • Bond stabilization
    • Liquidity mining Programs & Governance mining
    • Conclusion
  • QIAN V2 白皮书
    • QIAN V2:创新的去中心化分数算法合成资产协议
    • QSD 的套利稳定机制
    • QSD 铸币
    • QSD 赎回
    • KUN 代币
    • 回购和再抵押
    • 债务稳定
    • 流动性挖矿计划与治理挖矿
    • 总结
  • QIAN V1 whitepaper
    • QIAN V1: crypto-assets backed stablecoin protocol
    • Introduction to QIAN stablecoin protocol
    • Locked asset management
    • Stability management
    • External systems
    • System governance
    • Reference
  • QIAN V1 白皮书
    • QIAN V1:加密资产储备型稳定币协议
    • QIAN V1 介绍
    • 锁定物管理
    • 稳定性管理
    • 外部系统
    • 系统治理
    • 参考文献
Powered by GitBook
On this page

Was this helpful?

  1. QIAN V2 Whitepaper

QSD Redeeming

When redeeming, the user provides QSD tokens to the system, selects the corresponding collateral, and executes the redemption action. Through redemption, users can use QSD to exchange certain collateral and KUN tokens from the collateral pool. In the initial stage of the system startup, the KUN tokens obtained from redemption will be encapsulated by the KBT token, which can be converted into KUN tokens under certain conditions.

Since QIAN V2 supports multiple collaterals, the system will allow users to choose specific collateral to redeem. If a certain amount of collateral is completely redeemed and the user’s redemption goal cannot be fulfilled, the user can continue to select other collateral for redemption until all redemption operations are completed.

Redeeming QSD is done by rearranging the previous system of equations, and solving for the units of collateral, YiY_iYi​, and the units of KBT.

Yi=Q∗CrPiY_i = {\frac{Q*C_r}{P_{i}}}Yi​=Pi​Q∗Cr​​
KBT=Q∗(1−Cr)PKKBT = {\frac{Q*(1-C_r)}{P_K}}KBT=PK​Q∗(1−Cr​)​

Where:

RiR_iRi​ is the ratio of the total value of collateral iii to the total value of all collateral assets;

YiY_iYi​ is the units of collateral iii in the system;

PiP_iPi​ is the price of collateral iii

QQQ is the units of QSD redeemed;

CrC_rCr​ is the ratio of the collateral in the protocol;

KBTKBTKBT is the number of KBT tokens minted when redeeming;

PKP_KPK​ is the market price of the KUN token, provided by the weighted average prices of DEX pool.

Example C

On the Binance Smart Chain, if 10,000 QSD are needed to redeem, there are total collateral of 20,000,000 BUSD( $1/BUSD), 5,000,000 BNB($40/BNB), and 1,500 BTCB($37,000/BTCB) in the system, and the proportion of collateral ratio is 50%. The price of KUN is $0.5/KUN.

If the redemption collateral selected by the user at the beginning is BTCB, there are:

YBTCB=10,000×0.537,000=0.135135135Y_{BTCB} = \frac{10,000×0.5}{37,000} = 0.135135135YBTCB​=37,00010,000×0.5​=0.135135135
KBT=10,000×(1−0.5)0.5=10,000KBT = \frac{10,000×(1-0.5)}{0.5} = 10,000KBT=0.510,000×(1−0.5)​=10,000

Under the above conditions, redeeming 10,000 QSD will get 0.135135135 BTCB, and newly-minted 10,000 KBT to the redeemer.

PreviousQSD MintingNextKUN token

Last updated 2 years ago

Was this helpful?