pub enum AccountChange {
Full {
nonce: U256,
address: Address,
balance: U256,
changing_storage: Storage,
code: Rc<Vec<u8>>,
},
IncreaseBalance(Address, U256),
Create {
nonce: U256,
address: Address,
balance: U256,
storage: Storage,
code: Rc<Vec<u8>>,
},
Nonexist(Address),
}
Represents an account. This is usually returned by the EVM.
A full account. The client is expected to replace its own account state with this.
Fields of Full
Change storage with given indexes and values.
Code associated with this account.
Only balance is changed, and it is increasing for this address.
Create or delete a (new) account.
Fields of Create
All storage values of this account, with given indexes and values.
Code associated with this account.
The account should remain nonexist, or should be deleted if
exists.
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static