function compute( struct IDragonswapV2Staker.IncentiveKey key ) internal pure returns (bytes32 incentiveId)
Calculate the key for a staking incentive
Parameters:βarrow-up-right
key
struct IDragonswapV2Staker.IncentiveKey
The components used to compute the incentive identifier
Return Values:βarrow-up-right
incentiveId
bytes32
The identifier for the incentive
Last updated 1 year ago