Trait OpTransaction
pub trait OpTransaction {
// Required method
fn is_deposit(&self) -> bool;
}
Expand description
A trait that represents an optimism transaction, mainly used to indicate whether or not the transaction is a deposit transaction.
Required Methods§
fn is_deposit(&self) -> bool
fn is_deposit(&self) -> bool
Whether or not the transaction is a dpeosit transaction.