Skip to main content

smod

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

Implements the SMOD instruction.

Performs signed modulo of two values from stack.