Structs§
- Saturating
Currency ToVote - A naive implementation of
CurrencyConvert
that simply saturates all conversions. - U128
Currency ToVote - An implementation of
CurrencyToVote
tailored for chain’s that have a balance type of u128.
Traits§
- Currency
ToVote - A trait similar to
Convert
to convert values fromB
an abstract balance type into u64 and back from u128. (This conversion is used in election and other places where complex calculation over balance type is needed)