Module pallet_price_oracle::pallet
source · Expand description
The module that hosts all the FRAME types needed to add this pallet to a runtime.
Structs
Can be used to configure the
genesis state
of this pallet.
Enums
Contains one variant per dispatchable that can be called by an extrinsic.
Custom dispatch errors
of this pallet.
Traits
Configuration trait of this pallet.
Type Definitions
ModuleDeprecated
Type alias to
Pallet
, to be used by construct_runtime
.Sorted array of newly registered assets.
All assets are processed and removed from the storage at the end of a block.
Trades start to be processed from the next block.
All trades in the same block as the asset registration are ignored.
Processed or partially processed data generated by trades.
Data generated by trades are processed sequentially.
Each new entry is combined with the previous value to produce new intermediate value.
The last entry creates the resulting average price and volume.
The last ten average values corresponding to the last hundred blocks.
Each average value corresponds to an interval of length ten blocks.
The last ten average values corresponding to the last ten blocks.
The last ten average values corresponding to the last thousand blocks.
Each average value corresponds to an interval of length hundred blocks.
The number of assets registered and handled by this pallet.