pub trait PriceFeedStorage {
// Required methods
fn insert_price_feed(&mut self, source_wrapper_id: ID, feed: PriceFeed);
fn get_price_feed_mut(
&mut self,
source_wrapper_id: &ID,
) -> Option<&mut PriceFeed>;
fn remove_price_feed(&mut self, source_wrapper_id: &ID) -> Option<PriceFeed>;
}
Expand description
General interface to help apply PriceFeedStorage
-related
events to a database.