Lucene search
+L

Wrong calculation for yVault price per share if decimals != 18

🗓️ 13 Apr 2022 00:00:00Reported by Code4renaType 
code423n4
 code423n4
🔗 github.com👁 16 Views

Incorrect calculation for yVault price per share if decimals != 18. Vulnerability in getPricePerFullShare() function's assumption of 18 decimals, impacting price accuracy for tokens with different decimals. Fails test with 6 decimals

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

26 Apr 2022 00:00Current
6.7Medium risk
Vulners AI Score6.7
16