EVMC
evmc::MockedAccount Struct Reference

Mocked account. More...

#include <mocked_host.hpp>

Public Member Functions

void set_balance (uint64_t x) noexcept
 Helper method for setting balance by numeric type.
 

Public Attributes

int nonce = 0
 The account nonce.
 
bytes code
 The account code.
 
bytes32 codehash
 The code hash. Can be a value not related to the actual code.
 
uint256be balance
 The account balance.
 
std::unordered_map< bytes32, storage_valuestorage
 The account storage map.
 

Detailed Description

Mocked account.

Definition at line 44 of file mocked_host.hpp.


The documentation for this struct was generated from the following file: