Function pushToStackVmNumberChecked

  • If the provided number is outside the VM number range, apply an error. Otherwise, return the provided state with the VM number pushed to its stack.

    Type Parameters


    • state: State

      the state to update and return

    • vmNumber: bigint

      the VM number to push to the stack

    • minVmNumber: bigint = ...
    • maxVmNumber: bigint = ...

    Returns State

Generated using TypeDoc