pub trait Config: Config {
    type Event: From<Event<Self>> + IsType<<Self as Config>::Event>;
    type WeightInfo: WeightInfo;
    type BlockNumberProvider: BlockNumberProvider<BlockNumber = Self::BlockNumber>;
    type SupportedPeriods: Get<BoundedVec<OraclePeriod, ConstU32<MAX_PERIODS>>>;
    type MaxUniqueEntries: Get<u32>;
}
Expand description

Configuration trait of this pallet.

Implement this type for a runtime in order to customize this pallet.

Required Associated Types§

Weight information for the extrinsics.

Provider for the current block number.

The periods supported by the pallet. I.e. which oracles to track.

Maximum number of unique oracle entries expected in one block.

Implementors§