Skip to main content

Mitigating Decentralized Finance Liquidations with Reversible Call Options

  • Conference paper
  • First Online:
Financial Cryptography and Data Security (FC 2023)

Abstract

Liquidations in Decentralized Finance (DeFi) are both a blessing and a curse—whereas liquidations prevent lenders from capital loss, they simultaneously lead to liquidation spirals and system-wide failures. Since most lending and borrowing protocols assume liquidations are indispensable, there is an increased interest in alternative constructions that prevent immediate systemic-failure under uncertain circumstances.

In this work, we introduce reversible call options, a novel financial primitive that enables the seller of a call option to terminate it before maturity. We apply reversible call options to lending in DeFi and devise Miqado, a protocol for lending platforms to replace the liquidation mechanisms. To the best of our knowledge, Miqado is the first protocol that actively mitigates liquidations to reduce the risk of liquidation spirals. Instead of selling collateral, Miqado incentivizes external entities, so-called supporters, to top-up a borrowing position and grant the borrower additional time to rescue the debt. Our simulation shows that Miqado reduces the amount of liquidated collateral by 89.82% in a worst-case scenario.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    https://defillama.com/.

  2. 2.

    Transaction hash: 0xe7b6fac6502be7c6659880ff5d342ec470429c6f49cd457945bf0726667eb689 . Note that we ignore the irrelevant execution details to ease understanding.

  3. 3.

    ERC-20 is a fungible token standard, which is extensively adopted in the Ethereum DeFi ecosystem. An event refers to a log emitted by a smart contract during its execution. These events are identifiable by a unique topic hash and can represent various actions, such as an asset swap on a decentralized exchange. In this work, for asset swap events, we captured the most liquid exchanges on Ethereum including Uniswap V1, V2, V3, Sushiswap, and Curve.

  4. 4.

    Entities who profit by leveraging price differences across different markets.

  5. 5.

    Cf. 0xff2d484638b846a46b203a22b02d71df44bf78346c72b954ad0ad05f34b134c8.

  6. 6.

    https://docs.aave.com/risk/asset-risk/risk-parameters.

References

  1. Bartoletti, M., Chiang, J., Junttila, T., Lluch Lafuente, A., Mirelli, M., Vandin, A.: Formal analysis of lending pools in decentralized finance. In: Margaria, T., Steffen, B. (eds.) ISoLA 2022 Part III. LNCS, vol. 13703, pp. 335–355. Springer, Cham (2022). https://doi.org/10.1007/978-3-031-19759-8_21

    Chapter  Google Scholar 

  2. Bartoletti, M., Chiang, J.H., Lafuente, A.L.: SoK: lending pools in decentralized finance. In: Bernhard, M., et al. (eds.) FC 2021. LNCS, vol. 12676, pp. 553–578. Springer, Heidelberg (2021). https://doi.org/10.1007/978-3-662-63958-0_40

    Chapter  Google Scholar 

  3. Black, F., Scholes, M.: The pricing of options and corporate liabilities. J. Polit. Econ. 81(3), 637–654 (1973)

    Article  MathSciNet  MATH  Google Scholar 

  4. Bonneau, J., Miller, A., Clark, J., Narayanan, A., Kroll, J.A., Felten, E.W.: Sok: research perspectives and challenges for bitcoin and cryptocurrencies. In: 2015 IEEE Symposium on Security and Privacy (SP), pp. 104–121. IEEE (2015)

    Google Scholar 

  5. Daian, P., et al.: Flash boys 2.0: frontrunning in decentralized exchanges, miner extractable value, and consensus instability. In: 2020 IEEE Symposium on Security and Privacy (SP), pp. 910–927. IEEE (2020)

    Google Scholar 

  6. Darlin, M., Papadis, N., Tassiulas, L.: Optimal bidding strategy for maker auctions. arXiv preprint arXiv:2009.07086 (2020)

  7. Eskandari, S., Salehi, M., Gu, W.C., Clark, J.: Sok: oracles from the ground truth to market manipulation. In: Proceedings of the 3rd ACM Conference on Advances in Financial Technologies, pp. 127–141 (2021)

    Google Scholar 

  8. Hull, J.C.: Options Futures and Other Derivatives. Pearson Education India, Noida (2003)

    Google Scholar 

  9. Kao, H.T., Chitra, T., Chiang, R., Morrow, J.: An analysis of the market risk to participants in the compound protocol. In: Third International Symposium on Foundations and Applications of Blockchains (2020)

    Google Scholar 

  10. Klages-Mundt, A., Harz, D., Gudgeon, L., Liu, J.Y., Minca, A.: Stablecoins 2.0: economic foundations and risk-based models. In: Proceedings of the 2nd ACM Conference on Advances in Financial Technologies, pp. 59–79 (2020)

    Google Scholar 

  11. Klages-Mundt, A., Minca, A.: (In) stability for the blockchain: Deleveraging spirals and stablecoin attacks. arXiv preprint arXiv:1906.02152 (2019)

  12. Klages-Mundt, A., Minca, A.: While stability lasts: a stochastic model of noncustodial stablecoins. Math. Financ. (2022)

    Google Scholar 

  13. Nakamoto, S.: Bitcoin: a peer-to-peer electronic cash system (2008)

    Google Scholar 

  14. Perez, D., Werner, S.M., Xu, J., Livshits, B.: Liquidations: DeFi on a knife-edge. In: Borisov, N., Diaz, C. (eds.) FC 2021. LNCS, vol. 12675, pp. 457–476. Springer, Heidelberg (2021). https://doi.org/10.1007/978-3-662-64331-0_24

    Chapter  Google Scholar 

  15. Qin, K., Zhou, L., Afonin, Y., Lazzaretti, L., Gervais, A.: CeFi vs. DeFi-comparing centralized to decentralized finance. arXiv preprint arXiv:2106.08157 (2021)

  16. Qin, K., Zhou, L., Gamito, P., Jovanovic, P., Gervais, A.: An empirical study of DeFi liquidations: incentives, risks, and instabilities. In: Proceedings of the 21st ACM Internet Measurement Conference, pp. 336–350 (2021)

    Google Scholar 

  17. Qin, K., Zhou, L., Gervais, A.: Quantifying blockchain extractable value: how dark is the forest? In: 2022 IEEE Symposium on Security and Privacy (SP), pp. 198–214. IEEE (2022)

    Google Scholar 

  18. Qin, K., Zhou, L., Livshits, B., Gervais, A.: Attacking the DeFi ecosystem with flash loans for fun and profit. In: Borisov, N., Diaz, C. (eds.) FC 2021. LNCS, vol. 12674, pp. 3–32. Springer, Heidelberg (2021). https://doi.org/10.1007/978-3-662-64322-8_1

    Chapter  MATH  Google Scholar 

  19. Shreve, S.: Stochastic Calculus for Finance I: The Binomial Asset Pricing Model. Springer, New York (2005). https://doi.org/10.1007/978-0-387-22527-2

    Book  MATH  Google Scholar 

  20. Stoll, H.R.: The relationship between put and call option prices. J. Financ. 24(5), 801–824 (1969)

    Article  Google Scholar 

  21. Wang, Z., Qin, K., Minh, D.V., Gervais, A.: Speculative multipliers on DeFi: quantifying on-chain leverage risks. In: Eyal, I., Garay, J. (eds.) FC 2022. LNCS, vol. 13411, pp. 38–56. Springer, Cham (2022). https://doi.org/10.1007/978-3-031-18283-9_3

    Chapter  Google Scholar 

  22. Whelan, J., Msefer, K., Chung, C.V.: Economic Supply & Demand. MIT, Cambridge (2001)

    Google Scholar 

  23. Wood, G., et al.: Ethereum: a secure decentralised generalised transaction ledger. Ethereum project yellow paper 151(2014), 1–32 (2014)

    Google Scholar 

  24. Zhou, L., Qin, K., Torres, C.F., Le, D.V., Gervais, A.: High-frequency trading on decentralized on-chain exchanges. In: 2021 IEEE Symposium on Security and Privacy (SP), pp. 428–445. IEEE (2021)

    Google Scholar 

  25. Zhou, L., et al.: Sok: decentralized finance (DeFi) attacks. arXiv preprint arXiv:2208.13035 (2022)

Download references

Acknowledgements

We thank the anonymous reviewers for the thorough reviews and helpful suggestions that significantly strengthened the paper. This work is partially supported by Lucerne University of Applied Sciences and Arts, the Federal Ministry of Education and Research of Germany (in the programme of “Souverän. Digital. Vernetzt.”. Joint project 6G-life, project identification number: 16KISK002), and the Algorand Centres of Excellence programme managed by Algorand Foundation.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Arthur Gervais .

Editor information

Editors and Affiliations

Appendices

A Black-Scholes Model

We apply the Black-Scholes model [3] to price call options under optimal assumptions, such as the non-existence of dividend payouts. The option premium is calculated for European call options on a per-share basis. The payoff for \(\mathcal {C}_S\) introduced in Fig. 2 is trivial to grasp but it does not yield any insights on the pricing of the option. With the BS model for a European call option determines the option price as

$$\begin{aligned} c = S_0e^{-r_f\cdot T} N(d_1) - Ke^{-r\cdot T} N(d_2) \end{aligned}$$
(9)

where

$$\begin{aligned} d_1 = \frac{\ln (S_0K)+(r-r_f+\sigma ^22) \cdot T}{\sigma \cdot \sqrt{T}} \end{aligned}$$
(10)

and

$$\begin{aligned} d_2 = d_1 - \sigma \cdot \sqrt{T}. \end{aligned}$$
(11)

\(S_0\) is the spot exchange rate, \(r_f\) is the foreign interest rate, \(r\) is the domestic interest rate and \(\sigma \) is the volatility of the underlying asset. For a detailed introduction to the Black-Scholes pricing model for European call options, we refer the interested reader to [8].

We remark that the B-S model does not take into account the decrease in risk and lowered average payoff due to termination by \(\mathcal {C}_S\). We defer a more precise pricing model for reversible call options that to future work.

B Tables

Table 1. Accumulative collateral restraint by Miqado over a time-frame of 41 months.
Table 2. Payoffs for Miqado supporters at maturity assuming that borrowers would not rescue. We present the probability that a supporter (i) exercises the call option and profits, (ii) exercises the call option but loses, (iii) defaults. We also simulate the average profit for supporters. our simulations are based on the real market prices.

Rights and permissions

Reprints and permissions

Copyright information

© 2024 International Financial Cryptography Association

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Qin, K., Ernstberger, J., Zhou, L., Jovanovic, P., Gervais, A. (2024). Mitigating Decentralized Finance Liquidations with Reversible Call Options. In: Baldimtsi, F., Cachin, C. (eds) Financial Cryptography and Data Security. FC 2023. Lecture Notes in Computer Science, vol 13950. Springer, Cham. https://doi.org/10.1007/978-3-031-47754-6_20

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-47754-6_20

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-47753-9

  • Online ISBN: 978-3-031-47754-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics