diff --git a/price feed.sol b/price feed.sol index 95371b5..46631b3 100644 --- a/price feed.sol +++ b/price feed.sol @@ -4,10 +4,10 @@ import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol"; - contract tappingChainlink{ + contract TappingChainlink { AggregatorV3Interface internal priceFeed; - constructor() { + constructor(address _priceFeedAddress) { priceFeed = AggregatorV3Interface(0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419); } @@ -21,5 +21,5 @@ ) = priceFeed.latestRoundData(); return price; } - } + }