Skip to content

Commit 380d26e

Browse files
committed
docs: link to price medianizer
1 parent 3a6cfdc commit 380d26e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/adapters/price-oracle/makerDAOFeed/getEthPriceUsd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import abi from './assets/MedianEthUsd.json';
66
const providerUrl = RPC_URLS[1];
77
const provider = new Web3.providers.HttpProvider(providerUrl);
88
const web3 = new Web3(provider);
9-
const contract = new web3.eth.Contract(abi, '0x64de91f5a373cd4c28de3600cb34c7c6ce410c85');
9+
const contract = new web3.eth.Contract(abi, '0x64de91f5a373cd4c28de3600cb34c7c6ce410c85'); // https://mips.makerdao.com/mips/md-viewer#active-oracle-list
1010

1111
async function getPriceFromLatestBlocks({ fromBlock }) {
1212
const events = await contract.getPastEvents('LogMedianPrice', {

0 commit comments

Comments
 (0)