Lucene search
+L

2 matches found

Code423n4
Code423n4
added 2022/04/12 12:00 a.m.10 views

Usage of deprecated Chainlink's latestAnswer function

Lines of code Vulnerability details Impact Contract NFTVault.sol uses Chainlink's latestAnswer as an oracle for prices of multiple assets. This function will return the last value, but it is not possible to check if the provided data is fresh. In addition latestAnswer has been marked as deprecate...

7AI score
SaveExploits0
Code423n4
Code423n4
added 2021/07/13 12:00 a.m.9 views

Chainlink - Use latestRoundData instead latestAnswer to run more validations

Handle adelamo Vulnerability details Impact UniswapV3Oracle.sol is calling latestAnswer to get the last WETH price. This method will return the last value, but you won't be able to check if the data is fresh. On the other hand, calling the method latestRoundData allow you to run some extra...

6.9AI score
SaveExploits0
Rows per page
Query Builder