Omniscia Platypus Finance Audit

IChainlinkAggregator Manual Review Findings

IChainlinkAggregator Manual Review Findings

ICA-01M: Outdated Interface Implementation

Description:

The Chainlink aggregator interface used by the project is outdated and does not permit the project to properly sanitize the price values it receives.

Example:

contracts/interfaces/IChainlinkAggregator.sol
9interface IChainlinkAggregator {
10 function latestAnswer() external view returns (int256);
11}

Recommendation:

We advise the interface to be updated according to the official Chainlink documentation.

Alleviation:

The project now properly utilizes the latest Chainlink interface implementation labelled AggregatorV3Interface.