Quantity
An exact base-unit amount: raw * 10**-decimals.
Equality is strict on (raw, decimals): two quantities of equal
numeric value but different scales are NOT equal. Arithmetic and
ordering are defined only between quantities of equal decimals;
mixing scales raises DecimalsMismatchError (auradefi.errors).
Fields
rawintdecimalsintas_decimal
as_decimal(self) -> Decimal
The exact Decimal value raw * 10**-decimals.
Exact at any magnitude, never subject to context-precision
rounding (a 78-digit raw survives intact).
__init__
__init__(self, raw: int, decimals: int) -> None
Parameters
rawrequired, intnone
decimalsrequired, intnone