referrerpolicy=no-referrer-when-downgrade

MAX_DECIMALS_DIFF

Constant MAX_DECIMALS_DIFF 

Source
pub const MAX_DECIMALS_DIFF: u32 = 24;
Expand description

Maximum absolute difference between an external asset’s decimals and the internal asset’s decimals. Bounds the scaling factor 10^diff well below u128::MAX so realistic balances cannot overflow during conversion.