[][src]Trait ethereumvm::AccountPatch

pub trait AccountPatch {
    fn initial_nonce(&self) -> U256;
fn initial_create_nonce(&self) -> U256;
fn empty_considered_exists(&self) -> bool; fn allow_partial_change(&self) -> bool { ... } }

Account patch for account related variables. Account patch is always static, as it's usually stays constant for any given network.

Required methods

fn initial_nonce(&self) -> U256

Initial nonce for accounts.

fn initial_create_nonce(&self) -> U256

Initial create nonce for accounts. (EIP161.a)

fn empty_considered_exists(&self) -> bool

Whether empty accounts are considered to be existing. (EIP161.b/EIP161.c/EIP161.d)

Loading content...

Provided methods

fn allow_partial_change(&self) -> bool

Whether to allow partial change IncreaseBalance.

Loading content...

Implementors

impl AccountPatch for DynamicAccountPatch[src]

fn allow_partial_change(&self) -> bool[src]

Whether to allow partial change IncreaseBalance.

impl AccountPatch for EmbeddedAccountPatch[src]

Loading content...