Last updated 9 months ago
function compute( struct IDragonswapV2Staker.IncentiveKey key ) internal pure returns (bytes32 incentiveId)
Calculate the key for a staking incentive
Parameters:
key
struct IDragonswapV2Staker.IncentiveKey
The components used to compute the incentive identifier
Return Values:
incentiveId
bytes32
The identifier for the incentive