pub trait LogExt {
    // Required methods
    fn record(self, handle: &mut impl PrecompileHandle) -> EvmResult;
    fn compute_cost(&self) -> EvmResult<u64>;
}
Expand description

Extension trait allowing to record logs into a PrecompileHandle.

Required Methods§

source

fn record(self, handle: &mut impl PrecompileHandle) -> EvmResult

source

fn compute_cost(&self) -> EvmResult<u64>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl LogExt for Log

source§

fn record(self, handle: &mut impl PrecompileHandle) -> EvmResult

source§

fn compute_cost(&self) -> EvmResult<u64>

Implementors§