Struct parables_testing::ledger::AccountBalance [−][src]
pub struct AccountBalance<'a>(_);
A ledger state checking account balances against the EVM.
Trait Implementations
impl<'a> LedgerState for AccountBalance<'a>
[src]
impl<'a> LedgerState for AccountBalance<'a>
type Entry = U256
fn new_instance(&self) -> U256
[src]
fn new_instance(&self) -> U256
Construct a new instance.
fn verify(
&self,
address: Address,
expected_balance: Self::Entry
) -> Result<(), Error>
[src]
fn verify(
&self,
address: Address,
expected_balance: Self::Entry
) -> Result<(), Error>
Verify the given state.
fn sync(&self, address: Address, balance: &mut Self::Entry) -> Result<(), Error>
[src]
fn sync(&self, address: Address, balance: &mut Self::Entry) -> Result<(), Error>
Synchronize the given state.
Auto Trait Implementations
impl<'a> !Send for AccountBalance<'a>
impl<'a> !Send for AccountBalance<'a>
impl<'a> !Sync for AccountBalance<'a>
impl<'a> !Sync for AccountBalance<'a>