Skip to main content

mulmod

Function mulmod 

pub fn mulmod<IT, H>(
    context: InstructionContext<'_, H, IT>,
) -> Result<(), InstructionResult>
where IT: InterpreterTypes, H: ?Sized,
Expand description

Implements the MULMOD instruction.

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