pub struct LedgerStateVerifier {
ledger: Ledger,
info: Info,
}
Fields§
§ledger: Ledger
§info: Info
Implementations§
source§impl LedgerStateVerifier
impl LedgerStateVerifier
pub fn new(ledger: Ledger) -> Self
pub fn info<S: Into<String>>(&mut self, info: S) -> &mut Self
pub fn utxo_contains(&self, entry: &Entry<'_, Address>) -> &Self
pub fn and(&self) -> &Self
pub fn accounts_contains( &self, id: Identifier, expected_account_state: AccountState<()> ) -> &Self
pub fn account(&self, address_data: AddressData) -> AccountVerifier
pub fn utxos_count_is(&self, count: usize) -> &Self
pub fn accounts_count_is(&self, count: usize) -> &Self
pub fn multisigs_count_is_zero(&self) -> &Self
pub fn distribution(&self) -> DistributionVerifier
pub fn stake_pools(&self) -> StakePoolsVerifier
pub fn stake_pool(&self, stake_pool_id: &PoolId) -> StakePoolVerifier
pub fn total_value_is(&self, value: &Value) -> &Self
pub fn address_has_expected_balance( &self, address: AddressData, value: Value ) -> &Self
pub fn account_has_expected_balance( &self, address: AddressData, value: Value ) -> &Self
pub fn utxo_has_expected_balance( &self, address_data: AddressData, value: Value ) -> &Self
pub fn pots(&self) -> PotsVerifier
pub fn votes(&self) -> VotesVerifier
Auto Trait Implementations§
impl RefUnwindSafe for LedgerStateVerifier
impl Send for LedgerStateVerifier
impl Sync for LedgerStateVerifier
impl Unpin for LedgerStateVerifier
impl UnwindSafe for LedgerStateVerifier
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more