pub trait Config<I: 'static = ()>: Config {
    type Symbol: Parameter + Ord;
    type RuntimeEvent: From<Event<Self, I>> + IsType<<Self as Config>::RuntimeEvent>;
    type WeightInfo: WeightInfo;
    type OnNewSymbolsRelayedHook: OnNewSymbolsRelayed<Self::Symbol>;
    type GetBandRateStalePeriod: Get<<<Self as Config<I>>::Time as Time>::Moment>;
    type GetBandRateStaleBlockPeriod: Get<Self::BlockNumber>;
    type MaxRelaySymbols: Get<u32>;
    type Time: Time;
    type OnSymbolDisabledHook: OnSymbolDisabled<Self::Symbol>;
}Expand description
Configuration trait of this pallet.
Implement this type for a runtime in order to customize this pallet.
Required Associated Types§
sourcetype RuntimeEvent: From<Event<Self, I>> + IsType<<Self as Config>::RuntimeEvent>
 
type RuntimeEvent: From<Event<Self, I>> + IsType<<Self as Config>::RuntimeEvent>
Event type of this pallet.
sourcetype WeightInfo: WeightInfo
 
type WeightInfo: WeightInfo
Weight information for extrinsics in this pallet.
sourcetype OnNewSymbolsRelayedHook: OnNewSymbolsRelayed<Self::Symbol>
 
type OnNewSymbolsRelayedHook: OnNewSymbolsRelayed<Self::Symbol>
Hook which is being executed when some new symbols were relayed
sourcetype GetBandRateStalePeriod: Get<<<Self as Config<I>>::Time as Time>::Moment>
 
type GetBandRateStalePeriod: Get<<<Self as Config<I>>::Time as Time>::Moment>
Rate expiration period in seconds.
sourcetype GetBandRateStaleBlockPeriod: Get<Self::BlockNumber>
 
type GetBandRateStaleBlockPeriod: Get<Self::BlockNumber>
Rate expiration period in blocks
sourcetype MaxRelaySymbols: Get<u32>
 
type MaxRelaySymbols: Get<u32>
Maximum number of symbols that can be relayed within a single call.
sourcetype OnSymbolDisabledHook: OnSymbolDisabled<Self::Symbol>
 
type OnSymbolDisabledHook: OnSymbolDisabled<Self::Symbol>
Hook which is being executed when some symbol must be disabled