Problem Mock & package.json

This commit is contained in:
2024-08-05 16:57:41 +08:00
parent 6e9c6dd633
commit 3ab5ee37c6
11 changed files with 128 additions and 1096 deletions
-4
View File
@@ -6,10 +6,6 @@ import "@chainlink/contracts/src/v0.8/shared/interfaces/AggregatorV3Interface.so
// Why is this a library and not abstract?
// Why not an interface?
library PriceConverter {
// Sepolia ETH / USD Address
// https://docs.chain.link/data-feeds/price-feeds/addresses#Sepolia%20Testnet
//0x694AA1769357215DE4FAC081bf1f309aDC325306
// We could make this public, but then we'd have to deploy it
function getPrice(
AggregatorV3Interface priceFeed