pub trait Events {
    // Required method
    fn all(&self) -> Vec<(Address, Vec<Val>, Val)>;
}
Available on crate feature testutils only.
Expand description

Test utilities for Events.

Required Methods§

source

fn all(&self) -> Vec<(Address, Vec<Val>, Val)>

Returns all events that have been published by contracts.

Returns a Vec of three element tuples containing:

  • Contract ID
  • Event Topics as a Vec<Val>
  • Event Data as a Val

Implementors§