pub enum IERC20Events {
Transfer(Transfer),
Approval(Approval),
}
Expand description
Container for all the IERC20
events.
Variants§
Implementations§
Trait Implementations§
Source§impl IntoLogData for IERC20Events
impl IntoLogData for IERC20Events
Source§fn to_log_data(&self) -> LogData
fn to_log_data(&self) -> LogData
Convert into a [
LogData
] object.Source§fn into_log_data(self) -> LogData
fn into_log_data(self) -> LogData
Consume and convert into a [
LogData
] object.Source§impl SolEventInterface for IERC20Events
impl SolEventInterface for IERC20Events
Source§fn decode_raw_log(topics: &[Word], data: &[u8]) -> Result<Self>
fn decode_raw_log(topics: &[Word], data: &[u8]) -> Result<Self>
Decode the events from the given log info.
§fn decode_log(log: &Log) -> Result<Log<Self>, Error>
fn decode_log(log: &Log) -> Result<Log<Self>, Error>
Decode the events from the given log object.
Auto Trait Implementations§
impl Freeze for IERC20Events
impl RefUnwindSafe for IERC20Events
impl Send for IERC20Events
impl Sync for IERC20Events
impl Unpin for IERC20Events
impl UnwindSafe for IERC20Events
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