Type Alias serai_dex_pallet::pallet::MedianPrice

source ·
pub type MedianPrice<T: Config> = StorageMap<_GeneratedPrefixForStorageMedianPrice<T>, Identity, ExternalCoin, Amount, OptionQuery>;
Expand description

Current median price of the prices in the SpotPrices map at any given time.

Storage type is StorageMap with key type ExternalCoin and value type Amount.

Aliased Type§

struct MedianPrice<T: Config>(/* private fields */);