Uniswap v3 TWAP Oracles in Proof of Stake

22 Pages Posted: 14 Mar 2023

Date Written: October 27, 2022

Abstract

In the Uniswap Protocol, a price oracle is a tool used to view price information about a given asset over time and enables developers to build highly decentralized protocols with quantifiable manipulation costs using price feeds. With the adoption of Proof of Stake (PoS), oracles are theoretically less secure because a malicious validator knows whether they control the next block created, allowing them to avoid value lost to back-running an attempted oracle manipulation. However, manipulation on most Uniswap v3 TWAP oracles is not currently possible, because bad actors both need to source vast amounts of capital and then earn enough to make up for value lost to fees. This paper studies the difficulty, potential cost, and likelihood of oracle manipulations on Uniswap v3 under Ethereum PoS. We also discuss potential future innovations to create the next generation of PoS manipulation resistant oracles.

Keywords: Automated market makers, blockchain, distributed ledger technology, ora- cles, financial stability

Suggested Citation

Adams, Austin and Wan, Xin and Zinsmeister, Noah, Uniswap v3 TWAP Oracles in Proof of Stake (October 27, 2022). Available at SSRN: https://ssrn.com/abstract=4384409 or http://dx.doi.org/10.2139/ssrn.4384409

Austin Adams (Contact Author)

Uniswap Labs ( email )

United States

Xin Wan

Uniswap Labs ( email )

United States

Noah Zinsmeister

Independent

Do you have a job opening that you would like to promote on SSRN?

Paper statistics

Downloads
201
Abstract Views
997
Rank
323,205
PlumX Metrics