SCCP-227: Increase Atomic Twap Window - Atomic Swaps

Author
StatusImplemented
TypeGovernance
NetworkEthereum
ImplementorTBD
ReleaseTBD
ProposalLoading status...
Created2022-09-05

Simple Summary

This SCCP proposes to increase atomic twap window to 30 minutes from 1 minute.

Abstract

The atomicTwapWindow is the twap window used when fetching the uniswap price.

Motivation

The atomic twap window was originally lowered to 1 minute due to a bug in the atomic exchange function that has been long patched with SIP-258. In order to improve security on the exchange function, as well as lower the chance of latency arbitrage, this SCCP proposes to increase the TWAP window back to 30 minutes.

Copyright and related rights waived via CC0.