referrerpolicy=no-referrer-when-downgrade

PoolFees

Type Alias PoolFees 

Source
pub type PoolFees<T: Config> = StorageMap<_GeneratedPrefixForStoragePoolFees<T>, Blake2_128Concat, T::PoolId, Permill, OptionQuery>;
Expand description

Per-pool swap fee overrides.

When a pool has no entry here, the global Config::LPFee applies. This storage is purely additive: existing pools and runtimes that never set a per-pool fee behave exactly as before and require no migration. See Pallet::pool_fee for the resolution logic.

Storage type is [StorageMap] with key type T :: PoolId and value type Permill.

Aliased Type§

pub struct PoolFees<T: Config>(/* private fields */);