StorageStatus

Type Alias StorageStatus 

Source
pub type StorageStatus = evmc_storage_status;
Expand description

EVMC storage status.

Aliased Type§

#[repr(u32)]
pub enum StorageStatus { EVMC_STORAGE_UNCHANGED = 0, EVMC_STORAGE_MODIFIED = 1, EVMC_STORAGE_MODIFIED_AGAIN = 2, EVMC_STORAGE_ADDED = 3, EVMC_STORAGE_DELETED = 4, }

Variants§

§

EVMC_STORAGE_UNCHANGED = 0

The value of a storage item has been left unchanged: 0 -> 0 and X -> X.

§

EVMC_STORAGE_MODIFIED = 1

The value of a storage item has been modified: X -> Y.

§

EVMC_STORAGE_MODIFIED_AGAIN = 2

A storage item has been modified after being modified before: X -> Y -> Z.

§

EVMC_STORAGE_ADDED = 3

A new storage item has been added: 0 -> X.

§

EVMC_STORAGE_DELETED = 4

A storage item has been deleted: X -> 0.