Trait sputnikvm::AccountPatch
source · pub trait AccountPatch {
fn initial_nonce() -> U256;
fn initial_create_nonce() -> U256;
fn empty_considered_exists() -> bool;
fn allow_partial_change() -> bool { ... }
}
Expand description
Account patch for account related variables.
Required Methods
sourcefn initial_nonce() -> U256
fn initial_nonce() -> U256
Initial nonce for accounts.
sourcefn initial_create_nonce() -> U256
fn initial_create_nonce() -> U256
Initial create nonce for accounts. (EIP161.a)
sourcefn empty_considered_exists() -> bool
fn empty_considered_exists() -> bool
Whether empty accounts are considered to be existing. (EIP161.b/EIP161.c/EIP161.d)
Provided Methods
sourcefn allow_partial_change() -> bool
fn allow_partial_change() -> bool
Whether to allow partial change IncreaseBalance.