Module SystemStateLib

Source
Expand description

Module containing a contract’s types and functions.

library SystemStateLib {
    bytes32 constant TAG_DIGEST = <expr>;
    function digest(SystemState memory state) internal pure returns (bytes32) { <stmts> }
}

Structs§

SystemStateLibInstance
A SystemStateLib instance.
digestCall
Function with signature digest((uint32,bytes32)) and selector 0x1b6beaa1.
digestReturn
Container type for the return parameters of the digest((uint32,bytes32)) function.

Enums§

SystemStateLibCalls
Container for all the SystemStateLib function calls.

Functions§

new
Creates a new wrapper around an on-chain SystemStateLib contract instance.