Function runtime_common::oracle::decimals_for_pool
source · pub fn decimals_for_pool<Pools, AssetRegistry>(
pool_id: PoolId
) -> Result<u32, DispatchError>where
Pools: PoolInspect<AccountId, CurrencyId, PoolId = PoolId>,
AssetRegistry: Inspect<AssetId = CurrencyId, CustomMetadata = CustomMetadata>,
Expand description
Get the decimals for the pool currency