Expand description
§Oracle
A module to allow oracle operators to feed external data.
§Overview
This module exposes capabilities for oracle operators to feed external offchain data. The raw values can be combined to provide an aggregated value.
The data is valid only if fed by an authorized operator.
pallet_membership
in FRAME can be used to as source of T::Members
.
Re-exports§
pub use module::*;
Modules§
- module
- The
pallet
module in each FRAME pallet hosts the most important items needed to construct this pallet.
Structs§
- Default
Combine Data - Sort by value and returns median timestamped value. Returns prev_value if not enough valid values.
Traits§
- Combine
Data - Combine data provided by operators
- Data
Feeder - Data provider with ability to provide data with no-op, and provide all data.
- Data
Provider - A simple trait to provide data
- Data
Provider Extended - Extended data provider to provide timestamped data by key with no-op, and all data.
- OnNew
Data - New data handler
- Weight
Info - Weight functions needed for orml_oracle.