Module pallet_price_feed::pallet [−][src]
Expand description
The module that hosts all the FRAME types needed to add this pallet to a runtime.
Re-exports
pub use __tt_default_parts_6 as tt_default_parts;
Structs
Defines an asset pair identifier
Can be used to configure the genesis state of this pallet.
Represents an answer of a feed at a certain point of time
Enums
Contains one variant per dispatchable that can be called by an extrinsic.
Custom dispatch errors of this pallet.
Traits
Provides access to all the price feeds This is used to determine the equivalent amount of PINT for assets
An interface to access price data
Trait for the asset-index pallet extrinsic weights.
Type Definitions
Store a mapping (AssetId) -> FeedId for all active assets
Stores the timestamp of the latest answer of each feed (feed) -> Timestamp
ModuleDeprecated
Type alias to Pallet
, to be used by construct_runtime
.
The type to represent asset prices