Struct ethcore::state::Substate [−][src]
pub struct Substate {
pub suicides: HashSet<Address>,
pub touched: HashSet<Address>,
pub logs: Vec<LogEntry>,
pub sstore_clears_count: U256,
pub contracts_created: Vec<Address>,
}State changes which should be applied in finalize, after transaction is fully executed.
Fields
suicides: HashSet<Address>
Any accounts that have suicided.
touched: HashSet<Address>
Any accounts that are touched.
logs: Vec<LogEntry>
Any logs.
sstore_clears_count: U256
Refund counter of SSTORE nonzero -> zero.
contracts_created: Vec<Address>
Created contracts.
Methods
impl Substate[src]
impl Substatepub fn new() -> Self[src]
pub fn new() -> SelfCreates new substate.
pub fn accrue(&mut self, s: Substate)[src]
pub fn accrue(&mut self, s: Substate)Merge secondary substate s into self, accruing each element correspondingly.
pub fn to_cleanup_mode(&mut self, schedule: &Schedule) -> CleanupMode[src]
pub fn to_cleanup_mode(&mut self, schedule: &Schedule) -> CleanupModeGet the cleanup mode object from this.
Trait Implementations
impl Debug for Substate[src]
impl Debug for Substatefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for Substate[src]
impl Default for Substate