EVMC
|
Extended value (with original value and access flag) for account storage. More...
#include <mocked_host.hpp>
Public Member Functions | |
StorageValue () noexcept=default | |
Default constructor. | |
StorageValue (const bytes32 &_value, evmc_access_status _access_status=EVMC_ACCESS_COLD) noexcept | |
Constructor sets the current and original to the same value. Optional access status. | |
StorageValue (const bytes32 &_value, const bytes32 &_original, evmc_access_status _access_status=EVMC_ACCESS_COLD) noexcept | |
Constructor with original value and optional access status. | |
Public Attributes | |
bytes32 | current |
The current storage value. | |
bytes32 | original |
The original storage value. | |
evmc_access_status | access_status = EVMC_ACCESS_COLD |
Is the storage key cold or warm. | |
Extended value (with original value and access flag) for account storage.
Definition at line 16 of file mocked_host.hpp.
|
inlinenoexcept |
Constructor sets the current and original to the same value. Optional access status.
Definition at line 31 of file mocked_host.hpp.
|
inlinenoexcept |
Constructor with original value and optional access status.
Definition at line 37 of file mocked_host.hpp.
evmc_access_status evmc::StorageValue::access_status = EVMC_ACCESS_COLD |
Is the storage key cold or warm.
Definition at line 25 of file mocked_host.hpp.
bytes32 evmc::StorageValue::current |
The current storage value.
Definition at line 19 of file mocked_host.hpp.
bytes32 evmc::StorageValue::original |
The original storage value.
Definition at line 22 of file mocked_host.hpp.