[][src]Trait orml_oracle::DataFeeder

pub trait DataFeeder<Key, Value, AccountId>: DataProvider<Key, Value> {
    fn feed_value(
        who: AccountId,
        key: Key,
        value: Value
    ) -> Result<(), DispatchError>; }

Data provider with ability to provide data with no-op, and provide all data.

Required methods

fn feed_value(
    who: AccountId,
    key: Key,
    value: Value
) -> Result<(), DispatchError>

Provide a new value for a given key from an operator

Loading content...

Implementors

impl<T: Trait<I>, I: Instance> DataFeeder<<T as Trait<I>>::OracleKey, <T as Trait<I>>::OracleValue, <T as Trait>::AccountId> for Module<T, I>[src]

Loading content...