![]() |
Fabcoin Core
0.16.2
P2P Digital Currency
|
An atomic state changelog entry. More...
#include <State.h>
Public Types | |
| enum | Kind : int { Balance, Storage, Nonce, Create, NewCode, Touch } |
Public Member Functions | |
| Change (Kind _kind, Address const &_addr, u256 const &_value=0) | |
| Helper constructor to make change log update more readable. More... | |
| Change (Address const &_addr, u256 const &_key, u256 const &_value) | |
| Helper constructor especially for storage change log. More... | |
Public Attributes | |
| Kind | kind |
| The kind of the change. More... | |
| Address | address |
| Changed account address. More... | |
| u256 | value |
| Change value, e.g. balance, storage. More... | |
| u256 | key |
| Storage key. Last because used only in one case. More... | |
| enum dev::eth::detail::Change::Kind : int |
| Enumerator | |
|---|---|
| Balance |
Account balance changed. Change::value contains the amount the balance was increased by. |
| Storage |
Account storage was modified. Change::key contains the storage key, Change::value the storage value. |
| Nonce |
Account nonce was increased by 1. |
| Create |
Account was created (it was not existing before). |
| NewCode |
New code was added to an account (by "create" message execution). |
| Touch |
Account was touched for the first time. |
| Address dev::eth::detail::Change::address |
| u256 dev::eth::detail::Change::key |
| u256 dev::eth::detail::Change::value |
1.8.11