Skip to main content
Related concept

Signature

Description

Converts a scaled balance back to its raw representation: scaledBalance * WAD_PRECISION / multiplier. Dev: Integer division rounds toward zero; conversions are not exactly reversible when multiplier != WAD_PRECISION. toRawBalance(toScaledBalance(x)) may return a value slightly less than x. Param: scaledBalance Scaled token amount to convert back. Return: rawBalance Raw balance at the current multiplier.

Access control

Read-only or ERC-20-standard access rules unless the NatSpec states otherwise.

Policy interaction

No direct policy interaction.

Example