mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-23 07:21:17 +00:00
Broker: sale price runtime api (#3485)
Defines a runtime api for `pallet-broker` for getting the current price of a core if there is an ongoing sale. Closes: #3413 --------- Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
@@ -36,6 +36,8 @@ mod tick_impls;
|
||||
mod types;
|
||||
mod utility_impls;
|
||||
|
||||
pub mod runtime_api;
|
||||
|
||||
pub mod weights;
|
||||
pub use weights::WeightInfo;
|
||||
|
||||
@@ -132,7 +134,7 @@ pub mod pallet {
|
||||
pub type AllowedRenewals<T> =
|
||||
StorageMap<_, Twox64Concat, AllowedRenewalId, AllowedRenewalRecordOf<T>, OptionQuery>;
|
||||
|
||||
/// The current (unassigned) Regions.
|
||||
/// The current (unassigned or provisionally assigend) Regions.
|
||||
#[pallet::storage]
|
||||
pub type Regions<T> = StorageMap<_, Blake2_128Concat, RegionId, RegionRecordOf<T>, OptionQuery>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user