[−][src]Module casperlabs_types::account
Contains types and constants associated with user accounts.
Structs
PublicKey | A newtype wrapping a |
PurseId | A newtype wrapping a |
TryFromSliceForPublicKeyError | 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 |
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
MAX_ASSOCIATED_KEYS | Maximum number of associated keys (i.e. map of |
PUBLIC_KEY_LENGTH | The length in bytes of a |
PUBLIC_KEY_SERIALIZED_LENGTH | The number of bytes in a serialized |
PURSE_ID_SERIALIZED_LENGTH | The number of bytes in a serialized |
WEIGHT_SERIALIZED_LENGTH | The number of bytes in a serialized |