Skip to main content

Signature

IB20Asset.sol

Description

Returns the effective multiplier at block.timestamp, scaled to WAD_PRECISION (1e18). Holder balances are stored as raw ERC-20 units; the multiplier scales them into a derived UI view without rewriting those balances. This function is an alias of the ERC-8056 uiMultiplier(). Both return the same value; integrators should prefer the ERC-8056 name. A multiplier of WAD_PRECISION (1e18) means UI equals raw. A 2-for-1 split is encoded as 2e18; a 1-for-2 reverse split is 5e17. The UI balance for a holder is balanceOf(account) * multiplier() / WAD_PRECISION. Use balanceOfUI(account) to read that derived value directly. If a pending update has been scheduled via updateUIMultiplier, this function still returns the current multiplier until block.timestamp >= effectiveAt(). The pending value is readable from newUIMultiplier().

Access Control

View only. No role required.

Policy Interaction

No direct policy interaction.

Example

Usage Example