Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 557 Bytes

File metadata and controls

26 lines (18 loc) · 557 Bytes
fork Frontier
group Stop and Arithmetic Operations

Stack input

  1. Integer: first value.
  2. Integer: value to subtract to the first.

Stack output

  1. Integer: result of the subtraction modulo 2256.

Examples

Input Output * Input Output
10 0 * 0 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
10 * 1

Error cases

The transaction is reverted in those cases:

  • Not enough gas.
  • Not enough values on the stack.