pub trait PostPullOraclePrices<'a, C>: PullOracle {
// Required method
fn fetch_price_update_instructions(
&self,
price_updates: &Self::PriceUpdates,
options: BundleOptions,
) -> impl Future<Output = Result<(PriceUpdateInstructions<'a, C>, HashMap<PriceProviderKind, FeedAddressMap>)>>;
}
Expand description
Post pull oracle price updates.
Required Methods§
Sourcefn fetch_price_update_instructions(
&self,
price_updates: &Self::PriceUpdates,
options: BundleOptions,
) -> impl Future<Output = Result<(PriceUpdateInstructions<'a, C>, HashMap<PriceProviderKind, FeedAddressMap>)>>
fn fetch_price_update_instructions( &self, price_updates: &Self::PriceUpdates, options: BundleOptions, ) -> impl Future<Output = Result<(PriceUpdateInstructions<'a, C>, HashMap<PriceProviderKind, FeedAddressMap>)>>
Fetch instructions to post the price updates.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.