revm_optimism::transaction::abstraction

Trait OpTxTrait

Source
pub trait OpTxTrait: Transaction {
    type DepositTx: DepositTransaction;

    // Required methods
    fn deposit(&self) -> &Self::DepositTx;
    fn enveloped_tx(&self) -> Option<&Bytes>;
}

Required Associated Types§

Required Methods§

Source

fn deposit(&self) -> &Self::DepositTx

Source

fn enveloped_tx(&self) -> Option<&Bytes>

Implementors§