Enum evm::AccountChange [] [src]

pub enum AccountChange {
    Full {
        nonce: U256,
        address: Address,
        balance: U256,
        changing_storage: Storage,
        code: Vec<u8>,
    },
    IncreaseBalance(AddressU256),
    DecreaseBalance(AddressU256),
    Create {
        nonce: U256,
        address: Address,
        balance: U256,
        storage: Storage,
        code: Vec<u8>,
        exists: bool,
    },
}

Represents an account. This is usually returned by the EVM.

Variants

A full account. The client is expected to replace its own account state with this.

Fields of Full

Account nonce.

Account address.

Account balance.

Change storage with given indexes and values.

Code associated with this account.

Only balance is changed, and it is increasing for this address.

Only balance is changed, and it is decreasing for this address.

Create or delete a (new) account.

Fields of Create

Account nonce.

Account address.

Account balance.

All storage values of this account, with given indexes and values.

Code associated with this account.

Whether, at this point, the account is considered existing. The client should delete this address if this is set to false.

Methods

impl AccountChange
[src]

[src]

Address of this account.

Trait Implementations

impl Debug for AccountChange
[src]

[src]

Formats the value using the given formatter.

impl Clone for AccountChange
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more