errorn on pricefeed #1796
-
i am getting a error in this pricefeed idk what u do can u help me to solve this problme import {AggregatorV3Interface} from "@chainlink/contracts/src/v0.8/shared/interfaces/AggregatorV3Interface.sol";
//allow user ton send $
function getprice() public { } function getconversionrate()public {} function getvision()public view returns(uint256) { } } ^^^ |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
There's a typo in a function name. You need 'pricefeed.latestRoundData()' instead of 'pricefeed.lastRoundData()'. When sharing code in a GitHub post or comment, make sure to wrap the entire code block with triple backticks (```) for better readability. |
Beta Was this translation helpful? Give feedback.
There's a typo in a function name. You need 'pricefeed.latestRoundData()' instead of 'pricefeed.lastRoundData()'.
When sharing code in a GitHub post or comment, make sure to wrap the entire code block with triple backticks (```) for better readability.