Module mina_rs_base::numbers
source · [−]Expand description
Newtypes for different numeric types used throughout Mina
Structs
Number representing how many txns sent from an account
This structure represents fixed point numbers
typically amounts of Mina currency
Mina 256 bit Bit Integer type
Block time numeric type
Time span between two block time instants
A single char defined by a single byte (not variable length like a Rust char)
Represents a difference between two lengths
u32 wrapped in 1 version byte
This will not be part of the public API once the deserialization refactor is complete
This will not be part of the public API once the deserialization refactor is complete
Consensus slot index
4 bytes wrapped by a version
Will not form part of the public API when deserialization refactor is complete
Represents the length of something (e.g. an epoch or window)
Mina_numbers.Index
Signed amount, positive -> true, negative -> false
Newtype for TokenIds
Enums
Error that can be returned when parsing an Amount from string