Statistical Vulnerability of Mean Prices in Automated Constant Product Market Makers
PDF (Russian)

Keywords

statistical vulnerability
decentralized finances
smart contract
blockchain security
automated market maker

How to Cite

1.
Anokhin P.N. Statistical Vulnerability of Mean Prices in Automated Constant Product Market Makers // Russian Journal of Cybernetics. 2023. Vol. 4, № 3. P. 86-94. DOI: 10.51790/2712-9942-2023-4-3-09.

Abstract

to work correctly, many financial services using the blockchain technology require independent manipulation-resistant price feed providers. One of the most common providers of such prices, which works completely on the blockchain technology itself, is an automated constant product market maker, which is a tool for price calculation based on the amount of two assets under its control. Financial application developers should consider all the possible vulnerabilities which can be introduced by using such price providers. This is the reason for the relevance of research into the vulnerabilities of automated constant product market makers prices. We studied the effects of the automated constant product market maker fees on the mean price based on the real trading data from the blockchain and Binance exchange. The results show that mean price deviation between automated market makers and the market average shows high autocorrelation making it possible to predict a future mean deviation of the prices between the exchanges. The simulation results show the predicted values for different prediction time frames. Based on the predictability of a future mean deviation of the prices, potential critical statistical vulnerabilities in the financial applications using the mean prices provided by constant product market makers are described, and vulnerability mitigation recommendations are given. The practical value to the blockchain application developers and smart contract security experts is that now they can prevent or mitigate potential critical statistical vulnerabilities in their applications.

https://doi.org/10.51790/2712-9942-2023-4-3-09
PDF (Russian)

References

Schar F. Decentralized Finance: On Blockchain- and Smart Contract-Based Financial Markets. Federal Reserve Bank of St. Louis. 2021;103(2):153–174. DOI: 10.20955/r.103.153-74.

Mohan V. Automated Market Makers and Decentralized Exchanges: a Defi Primer. Financial Innovation. 2022;8(20). DOI: 10.2139/ssrn.3722714.

Angeris G., Chitra T. Improved Price Oracles. Proceedings of the 2nd ACM Conference on Advances in Financial Technologies. 2020. DOI: 10.1145/3419614.3423251.

Peterson J., Krug J., Zoltu M., Williams A.K., Alexander S. Augur: a Decentralized Oracle and Prediction Market Platform. 2020. arXiv:1501.01042 [cs.CR].

Angeris G., Evans A., Chitra T. When Does the Tail Wag the Dog? Curvature and market Making. 2020. arXiv:2012.08040 [q-fin.TR].

Pourpouneh M., Nielsen K., Ross O. Automated Market Makers. IFRO Working Paper. 2020. Режим доступа: https://ideas.repec.org/p/foi/wpaper/2020_08.html.

Barbon A., Ranaldo A. On the Quality of Cryptocurrency Markets: Centralized Versus Decentralized Exchanges. 2021. arXiv:2112.07386 [q-fin.TR].

Lehar A., Parlour A., Christine A. Decentralized Exchanges. 2021. DOI: 10.2139/ssrn.3905316.

Wu S. et al. DeFiRanger: Detecting Price Manipulation Attacks on DeFi Applications. 2021. ArXiv:2104.15068 [Cs].

Binance Exchange. Режим доступа: https://www.binance.com.

Binance Market Data. Daily Spot ETH/USDT, 1-second interval. Режим доступа: https://data.binance.vision/?prefix=data/spot/daily/klines/ETHUSDT/1s/.

Downloads

Download data is not yet available.