LibOpGreaterThanNP

Git Source

Opcode to return 1 if the first item on the stack is greater than the second item on the stack, else 0.

Functions

integrity

function integrity(IntegrityCheckStateNP memory, Operand) internal pure returns (uint256, uint256);

run

GT GT is 1 if the first item is greater than the second item, else 0.

function run(InterpreterStateNP memory, Operand, Pointer stackTop) internal pure returns (Pointer);

referenceFn

Gas intensive reference implementation of GT for testing.

function referenceFn(InterpreterStateNP memory, Operand, uint256[] memory inputs) internal pure returns (uint256[] memory outputs);