MAX_TOKEN_DECIMALS

const val MAX_TOKEN_DECIMALS: Int = 38

Maximum number of decimal places accepted by amountToBaseUnits.

10^38 already exceeds the i128 range used for token amounts, so a larger scale could never produce a representable base-units value.