LibOpEncodeBitsNP

Git Source

Opcode for encoding binary data into a 256 bit value.

Functions

integrity

Encode takes two values and returns one value. The first value is the source, the second value is the target.

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

run

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

referenceFn

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