Trait orml_oracle::DataFeeder [−][src]
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]
who: AccountId,
key: Key,
value: Value
) -> Result<(), DispatchError>
Provide a new value for a given key from an operator
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]
fn feed_value(
who: T::AccountId,
key: T::OracleKey,
value: T::OracleValue
) -> DispatchResult
[src]
who: T::AccountId,
key: T::OracleKey,
value: T::OracleValue
) -> DispatchResult