Rule701Storage

Git Source

Storage layout for Rule 701 compensation management

State Variables

STORAGE_SLOT

bytes32 internal constant STORAGE_SLOT = keccak256("capsign.contracts.storage.Rule701");

Functions

layout

function layout() internal pure returns (Layout storage s);

Structs

Layout

struct Layout {
    address entity;
    uint256 annualLimit;
    uint256 companyLimit;
    bool isActive;
    mapping(bytes32 => IRule701.Grant) grants;
    mapping(address => IRule701.EmployeeRecord) employees;
    uint256 totalGranted;
    uint256 nextGrantNonce;
    mapping(address => bool) admins;
    mapping(address => bool) approvedAssetTypes;
    address[] assetTypeList;
}

Last updated

Was this helpful?