Expand description
Currency types for Mina Protocol transactions.
This module provides numeric types for representing amounts and fees
in Mina Protocol transactions. All types are no_std compatible.
Macros§
- impl_
number 🔒 - Macro to implement common numeric type functionality.
Structs§
- Amount
- An amount of currency in nanomina (1 MINA = 1e9 nanomina).
- Fee
- A transaction fee in nanomina (1 MINA = 1e9 nanomina).
- Signed
- A signed value composed of a magnitude and a sign.
Enums§
- Sign
- Sign of a value, either positive or negative.
Traits§
- Magnitude
- Trait for unsigned numeric types supporting arithmetic operations.