fetch_price_feeds
Documentation for eth_defi.enzyme.price_feed.fetch_price_feeds function.
- fetch_price_feeds(deployment, start_block, end_block, read_events)[source]
Iterate configured price feeds
Uses eth_getLogs ABI
Read both deposits and withdrawals in one go
Serial read
Slow over long block ranges
See ComptrollerLib.sol
Warning
This function does not update status for removed price feeds. Please use
fetch_updated_price_feed()
.- Parameters
deployment (eth_defi.enzyme.deployment.EnzymeDeployment) –
start_block (int) –
end_block (int) –
read_events (eth_defi.event_reader.reader.Web3EventReader) –
- Return type