cast::revm::optimism

Function deduct_caller

pub fn deduct_caller<SPEC, EXT, DB>(
    context: &mut Context<EXT, DB>,
) -> Result<(), EVMError<<DB as Database>::Error>>
where SPEC: Spec, DB: Database,
Available on crate feature optimism only.
Expand description

Deduct max balance from caller