Skip to main content

mulmod

pub fn mulmod<IT, H>(
    context: InstructionContext<'_, H, IT>,
) -> Result<(), InstructionResult>
where IT: InterpreterTypes, H: ?Sized,
Available on crate feature evm only.
Expand description

Implements the MULMOD instruction.

Pops three values from stack and pushes (a * b) % n.