[][src]Trait eq_volatility::Trait

pub trait Trait: Trait {
    type UnixTime: UnixTime;
    type MaxPricePoints: Get<usize>;
    type PeriodTypeForAggregates: Get<PricePeriod>;
}

Substrate pallet configuration trait

Associated Types

type UnixTime: UnixTime

Timestamp provider

type MaxPricePoints: Get<usize>

Amount of maximum stored price points

type PeriodTypeForAggregates: Get<PricePeriod>

Time between two data points

Loading content...

Implementors

Loading content...