Skip to main content
Helpful?

IncentiveId

Functions

compute

  function compute(
struct IUniswapV3Staker.IncentiveKey key
) internal pure returns (bytes32 incentiveId)

Calculate the key for a staking incentive

Parameters:

NameTypeDescription
keystruct IUniswapV3Staker.IncentiveKeyThe components used to compute the incentive identifier

Return Values:

NameTypeDescription
incentiveIdbytes32The identifier for the incentive
Helpful?