Trait orml_oracle::DataProviderExtended[][src]

pub trait DataProviderExtended<Key, TimestampedValue> {
    pub fn get_no_op(key: &Key) -> Option<TimestampedValue>;
pub fn get_all_values() -> Vec<(Key, Option<TimestampedValue>), Global>; }

Extended data provider to provide timestamped data by key with no-op, and all data.

Required methods

pub fn get_no_op(key: &Key) -> Option<TimestampedValue>[src]

Get timestamped value by key

pub fn get_all_values() -> Vec<(Key, Option<TimestampedValue>), Global>[src]

Provide a list of tuples of key and timestamped value

Loading content...

Implementors

impl<T: Config<I>, I: 'static> DataProviderExtended<<T as Config<I>>::OracleKey, TimestampedValue<<T as Config<I>>::OracleValue, <<T as Config<I>>::Time as Time>::Moment>> for Pallet<T, I>[src]

Loading content...