Trait pallet_chainlink_feed::pallet::FeedOracle[][src]

pub trait FeedOracle<T: Config> {
    type FeedId: Parameter + BaseArithmetic;
    type Feed: FeedInterface<T>;
    type MutableFeed: MutableFeedInterface<T>;
    fn feed(id: Self::FeedId) -> Option<Self::Feed>;
fn feed_mut(id: Self::FeedId) -> Option<Self::MutableFeed>; }
Expand description

Trait for interacting with the feeds in the pallet.

Associated Types

Required methods

Return the read-only interface for the given feed.

Returns None if the feed does not exist.

Return the read-write interface for the given feed.

Returns None if the feed does not exist.

Implementors