Struct ethabi::Event
[−]
[src]
pub struct Event { /* fields omitted */ }
Contract event.
Methods
impl Event
[src]
fn new(interface: EventInterface) -> Self
[src]
Creates new instance of Event
.
fn signature(&self) -> [u8; 32]
[src]
Event signature
fn create_topics_filter(
&self,
topics: Vec<Token>
) -> Result<Vec<[u8; 32]>, Error>
[src]
&self,
topics: Vec<Token>
) -> Result<Vec<[u8; 32]>, Error>
Creates topic filter
fn decode_log(
&self,
topics: Vec<[u8; 32]>,
data: Vec<u8>
) -> Result<Vec<LogParam>, Error>
[src]
&self,
topics: Vec<[u8; 32]>,
data: Vec<u8>
) -> Result<Vec<LogParam>, Error>
Decodes event indexed params and data.
fn name(&self) -> &str
[src]
Return the name of the event.
Trait Implementations
impl Clone for Event
[src]
fn clone(&self) -> Event
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more