Skip to main content
toScaledBalance is a deprecated alias retained in IB20Asset for backward compatibility. Prefer scaledBalanceOf(account) for new integrations.

Signature

IB20Asset.sol

Description

Converts a raw token amount to its scaled (UI) view: rawBalance * multiplier / WAD_PRECISION. This function is a deprecated alias for the conversion logic exposed by toUIAmount(rawAmount) and the convenience read scaledBalanceOf(account). It applies the effective multiplier at the time of the call.

Parameters

Returns

Access Control

Read-only. No role required.

Policy Interaction

No direct policy interaction.

Example

Usage Example