Lucene search
+L

TWAP Oracle inflexible _updatePeriod

🗓️ 14 Nov 2021 00:00:00Reported by Code4renaType 
code423n4
 code423n4
🔗 github.com👁 8 Views

Update period in TWAP oracles is inflexible. Longer update periods prevent manipulation but do not accurately price assets, whereas more frequent updates increase manipulation risk and accurately price assets. Vader's TwapOracle.sol does not allow changing _updatePeriod after contract deployment, and each asset uses the same _updatePeriod, leading to potential price manipulation and inadequate asset pricing

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

22 Dec 2021 00:00Current
6.9Medium risk
Vulners AI Score6.9
8