ActionLib
Library for dealing with bit masks which describe what set of Actions is available.
Functions
allActions
Returns a bitmask with all possible actions set to True.
function allActions() internal pure returns (uint256 actionMask);
isIncluded
Returns whether the given action is set to True in the bitmask.
function isIncluded(Action action, uint256 actionMask) internal pure returns (bool);
mask
Returns a bitmask with only the given action set to True.
function mask(Action action) internal pure returns (uint256);
mask
Returns a bitmask with only two given actions set to True.
function mask(Action a, Action b) internal pure returns (uint256);