Trait sputnikvm::AccountPatch
[−]
[src]
pub trait AccountPatch { fn initial_nonce() -> U256; fn initial_create_nonce() -> U256; fn empty_considered_exists() -> bool; fn allow_partial_change() -> bool { ... } }
Account patch for account related variables.
Required Methods
fn initial_nonce() -> U256
Initial nonce for accounts.
fn initial_create_nonce() -> U256
Initial create nonce for accounts. (EIP161.a)
fn empty_considered_exists() -> bool
Whether empty accounts are considered to be existing. (EIP161.b/EIP161.c/EIP161.d)
Provided Methods
fn allow_partial_change() -> bool
Whether to allow partial change IncreaseBalance.
Implementors
impl AccountPatch for EmbeddedAccountPatch
impl AccountPatch for EmbeddedByzantiumAccountPatch