Trait precompile_utils::evm::logs::LogExt
source · 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§
fn record(self, handle: &mut impl PrecompileHandle) -> EvmResult
fn compute_cost(&self) -> EvmResult<u64>
Object Safety§
This trait is not object safe.