Trait alloy_sol_types::SolEventInterface
source · pub trait SolEventInterface: Sized {
const NAME: &'static str;
const COUNT: usize;
// Required method
fn decode_raw_log(
topics: &[Word],
data: &[u8],
validate: bool,
) -> Result<Self>;
// Provided method
fn decode_log(log: &Log, validate: bool) -> Result<Log<Self>> { ... }
}
Expand description
Required Associated Constants§
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.