Trait orml_traits::data_provider::DataFeeder
source · pub trait DataFeeder<Key, Value, AccountId>: DataProvider<Key, Value> {
fn feed_value(who: AccountId, key: Key, value: Value) -> DispatchResult;
}
Expand description
Data provider with ability to provide data with no-op, and provide all data.
Required Methods§
sourcefn feed_value(who: AccountId, key: Key, value: Value) -> DispatchResult
fn feed_value(who: AccountId, key: Key, value: Value) -> DispatchResult
Provide a new value for a given key from an operator