Module massa_models::datastore
source · Expand description
datastore serialization / deserialization
Structs§
- Deserializer for
Datastorefield inLedgerEntry - Serializer for
Datastore
Functions§
- Checks and cleans up a datastore key range query Returns: (prefix, start_bound, end_bound) or error Note: only useful to cleanup user-supplied requests (API/ABI)
- For lexicographically ordered keys, gets the upper and lower bound of keys matching a prefix.
- Return the intersection of two ranges
Type Aliases§
- Datastore entry for Ledger &
ExecuteSCOperation A Datastore is a Key Value store where Key: Byte array (max length should be 255) Value: Byte array What is stored can be arbitrary bytes but can often be smart contract bytecode (aka WASM binary)