Trait orml_oracle::DataProvider[][src]

pub trait DataProvider<Key, Value> {
    pub fn get(key: &Key) -> Option<Value>;
}

A simple trait to provide data

Required methods

pub fn get(key: &Key) -> Option<Value>[src]

Get data by key

Loading content...

Implementors

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

Loading content...