Struct sputnikvm_stateful::Stateful
[−]
[src]
pub struct Stateful<'a, D: 'a> { /* fields omitted */ }
Methods
impl<'a, D> Stateful<'a, D>
[src]
impl<'b, D: DatabaseOwned> Stateful<'b, D>
[src]
fn database(&self) -> &'b D
[src]
fn code(&self, hash: H256) -> Option<Vec<u8>>
[src]
fn step<V: VM>(
&self,
vm: &mut V,
block_number: U256,
most_recent_block_hashes: &[H256]
)
[src]
&self,
vm: &mut V,
block_number: U256,
most_recent_block_hashes: &[H256]
)
fn call<M: Memory + Default, P: Patch>(
&self,
transaction: ValidTransaction,
block: HeaderParams,
most_recent_block_hashes: &[H256]
) -> TransactionVM<M, P>
[src]
&self,
transaction: ValidTransaction,
block: HeaderParams,
most_recent_block_hashes: &[H256]
) -> TransactionVM<M, P>
fn sets(&mut self, accounts: &[(Address, LiteralAccount)])
[src]
fn transit(&mut self, accounts: &[AccountChange])
[src]
fn execute<M: Memory + Default, P: Patch>(
&mut self,
transaction: ValidTransaction,
block: HeaderParams,
most_recent_block_hashes: &[H256]
) -> TransactionVM<M, P>
[src]
&mut self,
transaction: ValidTransaction,
block: HeaderParams,
most_recent_block_hashes: &[H256]
) -> TransactionVM<M, P>
fn to_valid<P: Patch>(
&self,
transaction: Transaction
) -> Result<ValidTransaction, PreExecutionError>
[src]
&self,
transaction: Transaction
) -> Result<ValidTransaction, PreExecutionError>
fn root(&self) -> H256
[src]
fn state_of<'a>(
&'a self,
root: H256
) -> FixedSecureTrie<<D as Database<'a>>::Guard, Address, Account>
[src]
&'a self,
root: H256
) -> FixedSecureTrie<<D as Database<'a>>::Guard, Address, Account>
fn state<'a>(
&'a self
) -> FixedSecureTrie<<D as Database<'a>>::Guard, Address, Account>
[src]
&'a self
) -> FixedSecureTrie<<D as Database<'a>>::Guard, Address, Account>
fn storage_state_of<'a>(
&'a self,
root: H256
) -> FixedSecureTrie<<D as Database<'a>>::Guard, H256, M256>
[src]
&'a self,
root: H256
) -> FixedSecureTrie<<D as Database<'a>>::Guard, H256, M256>
fn storage_state<'a>(
&'a self,
address: Address
) -> Option<FixedSecureTrie<<D as Database<'a>>::Guard, H256, M256>>
[src]
&'a self,
address: Address
) -> Option<FixedSecureTrie<<D as Database<'a>>::Guard, H256, M256>>