Skip to content

RequirementsLibrary

State Variables

REQUIREMENTS_TYPE

string constant REQUIREMENTS_TYPE = "Requirements(bytes32 imageId,Predicate predicate)";

REQUIREMENTS_TYPEHASH

bytes32 constant REQUIREMENTS_TYPEHASH = keccak256(abi.encodePacked(REQUIREMENTS_TYPE, PredicateLibrary.PREDICATE_TYPE));

Functions

eip712Digest

function eip712Digest(Requirements memory requirements) internal pure returns (bytes32);