Trait orml_oracle::DataFeeder[][src]

pub trait DataFeeder<Key, Value, AccountId>: DataProvider<Key, Value> {
    pub 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

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

Provide a new value for a given key from an operator

Loading content...

Implementors

impl<T: Config<I>, I: 'static> DataFeeder<<T as Config<I>>::OracleKey, <T as Config<I>>::OracleValue, <T as Config>::AccountId> for Pallet<T, I>[src]

Loading content...