Type Definition pallet_ema_oracle::pallet::Oracles

source ·
pub type Oracles<T: Config> = StorageNMap<_GeneratedPrefixForStorageOracles<T>, (NMapKey<Twox64Concat, Source>, NMapKey<Twox64Concat, (AssetId, AssetId)>, NMapKey<Twox64Concat, OraclePeriod>), (OracleEntry<T::BlockNumber>, T::BlockNumber), OptionQuery>;
Expand description

Orace storage keyed by data source, involved asset ids and the period length of the oracle.

Stores the data entry as well as the block number when the oracle was first initialized.