Module casper_types::account [−][src]
Expand description
Contains types and constants associated with user accounts.
Structs
A newtype wrapping a AccountHashBytes
which is the raw bytes of
the AccountHash, a hash of Public Key and Algorithm
Associated error type of TryFrom<&[u8]>
for AccountHash
.
The weight attributed to a given AccountHash
in an account’s associated keys.
Enums
The various types of action which can be performed in the context of a given account.
Errors that can occur while adding a new AccountHash
to an account’s associated keys map.
Error returned when decoding an AccountHash
from a formatted string.
Errors that can occur while removing a AccountHash
from an account’s associated keys map.
Errors that can occur while changing action thresholds (i.e. the total Weight
s of signing
AccountHash
s required to perform various actions) on an account.
Errors that can occur while updating the Weight
of a AccountHash
in an account’s
associated keys map.
Constants
The length in bytes of a AccountHash
.
Maximum number of associated keys (i.e. map of AccountHash
s to Weight
s) for a single
account.
The number of bytes in a serialized Weight
.
Type Definitions
A type alias for the raw bytes of an Account Hash.