Trait OpTransaction

Source
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§

Source

fn is_deposit(&self) -> bool

Whether or not the transaction is a dpeosit transaction.

Implementors§