pub type PriceParametersOf<T> = PriceParameters<BalanceOf<T>>;Aliased Type§
pub struct PriceParametersOf<T> {
pub order_cap: u32,
pub drain_rate_per_block: u32,
pub price_step: Perbill,
pub base_fee: <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance,
}Fields§
§order_cap: u32The maximum number of outstanding orders beyond which we reject new orders.
drain_rate_per_block: u32The number of outstanding orders assumed to be drained per Relay-chain block, per pool core.
price_step: PerbillThe spot price increase per outstanding order in the queue.
base_fee: <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::BalanceThe base spot price when the queue is empty.