Skip to main content

Module scratch

Module scratch 

Source

Structs§

ScratchAddCostParams
ScratchExistsCostParams
ScratchExistsWithTypeCostParams
ScratchReadCostParams
ScratchRemoveCostParams
ScratchRuntime
Per-transaction, in-memory scratch store. Entries are keyed by the address derived from the (key type, key value) pair and live only for the duration of the transaction: a fresh ScratchRuntime is installed per transaction, and the map is dropped at the end of it.

Functions§

add_impl
exists_impl
exists_with_type_impl
read_impl
remove_impl