Skip to main content
Version: V3

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