ICompensationIntegration
Interface for integrating assets with the compensation tracking system
Functions
recordCompensationGrant
Record a new compensation grant in the Rule701 tracker
function recordCompensationGrant(
address rule701Diamond,
address employee,
address assetAddress,
uint256 amount,
uint256 vestingStart,
uint256 vestingDuration,
uint256 exercisePrice
) external returns (bytes32 grantId);
Parameters
rule701Diamond
address
Address of the Rule701 diamond tracking compliance
employee
address
Address of the employee receiving the grant
assetAddress
address
Address of the asset being granted (ESO, RSA, SAR, etc.)
amount
uint256
Number of units being granted
vestingStart
uint256
Timestamp when vesting begins
vestingDuration
uint256
Duration of vesting in seconds
exercisePrice
uint256
Exercise price per unit (0 for RSAs)
Returns
grantId
bytes32
Unique identifier for the grant
getRule701Diamond
Get the appropriate Rule701 diamond for an entity
function getRule701Diamond(address entity) external view returns (address rule701Diamond);
Parameters
entity
address
The entity address
Returns
rule701Diamond
address
Address of the Rule701 diamond, or address(0) if none
checkRule701Limits
Check if a grant would exceed Rule 701 limits
function checkRule701Limits(address rule701Diamond, address employee, uint256 amount)
external
view
returns (bool withinLimits);
Parameters
rule701Diamond
address
Address of the Rule701 diamond
employee
address
Address of the employee
amount
uint256
Amount to be granted
Returns
withinLimits
bool
True if the grant is within limits
Last updated
Was this helpful?