Module key

Module key 

Source

Structs§

Key
Disk ledger keys representation
KeyDeserializer
Basic key deserializer
KeySerializer
Basic key serializer
KeyTypeDeserializer
KeyTypeSerializer

Enums§

KeyType
KeyTypeId 🔒

Constants§

BALANCE_IDENT
BYTECODE_IDENT
DATASTORE_IDENT
KEY_VERSION
VERSION_IDENT

Functions§

datastore_prefix_from_address
Gives the general prefix of the datastore of an address while respecting a provided key prefix
max_ledger_db_key_length
Maximum length of a serialized ledger key as stored in the state DB: LEDGER_PREFIX, key version, address (type, version, hash), DATASTORE_IDENT and a datastore key of at most max_datastore_key_length bytes.
u64_varint_length 🔒
Serialized size of value as a u64 varint (7 bits per byte)