Chainlink deprecated function detector#
Name: chainlink-deprecated-function
Reports usage of deprecated Chainlink functions that should be replaced with their newer alternatives. These functions are part of the older Chainlink price feed interface and have been superseded by more recent versions.
Example#
latestAnswer()
is deprecated. UselatestRoundData()
instead.latestTimestamp()
is deprecated. UselatestRoundData()
instead.latestRound()
is deprecated. UselatestRoundData()
instead.getAnswer(uint256)
is deprecated. UsegetRoundData(uint80)
instead.getTimestamp(uint256)
is deprecated. UsegetRoundData(uint80)
instead.
Parameters#
The detector does not accept any additional parameters.