[−][src]Module casperlabs_types::account
Contains types and constants associated with user accounts.
Structs
Ed25519 | 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 |
PublicKey | An enum of supported public key types. |
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
ED25519_LENGTH | The length in bytes of a |
ED25519_SERIALIZED_LENGTH | The number of bytes in a serialized |
MAX_ASSOCIATED_KEYS | Maximum number of associated keys (i.e. map of |
PUBLIC_KEY_SERIALIZED_MAX_LENGTH | The upper bound of bytes in a serialized |
WEIGHT_SERIALIZED_LENGTH | The number of bytes in a serialized |
Type Definitions
Ed25519Bytes | A type alias for the raw bytes of an Ed25519 public key. |