LibEvaluable
Common logic to provide consistent implementations of common tasks that could be arbitrarily/ambiguously implemented, but work much better if consistently implemented.
Functions
hash
Hashes an Evaluable, ostensibly so that only the hash need be stored,
thus only storing a single uint256 instead of 3x uint160.
function hash(EvaluableV2 memory evaluable) internal pure returns (bytes32 evaluableHash);
Parameters
| Name | Type | Description |
|---|---|---|
evaluable | EvaluableV2 | The evaluable to hash. |
Returns
| Name | Type | Description |
|---|---|---|
evaluableHash | bytes32 | Standard hash of the evaluable. |