auradefi 0.1.1
PyPI GitHub

Money

auradefi.money.fiat · source

An exact amount denominated in one currency.

amount is a Decimal (never a float); currency is validated at construction: 3-letter uppercase code or CAIP-19 (contains '/').

Fields

amountDecimal
currencystr

__init__

__init__(self, amount: Decimal, currency: str) -> None

Parameters

amountrequired, Decimal

none

currencyrequired, str

none