[−][src]Module casper_types::account
Contains types and constants associated with user accounts.
Structs
AccountHash | A newtype wrapping a |
TryFromSliceForAccountHashError | Associated error type of |
Weight | The weight attributed to a given |
Enums
ActionType | The various types of action which can be performed in the context of a given account. |
AddKeyFailure | Errors that can occur while adding a new |
FromStrError | Error returned when decoding an |
RemoveKeyFailure | Errors that can occur while removing a |
SetThresholdFailure | Errors that can occur while changing action thresholds (i.e. the total |
UpdateKeyFailure | Errors that can occur while updating the |
Constants
ACCOUNT_HASH_LENGTH | The length in bytes of a |
ACCOUNT_HASH_SERIALIZED_LENGTH | The number of bytes in a serialized |
MAX_ASSOCIATED_KEYS | Maximum number of associated keys (i.e. map of |
WEIGHT_SERIALIZED_LENGTH | The number of bytes in a serialized |
Type Definitions
AccountHashBytes | A type alias for the raw bytes of an Account Hash. |