For the complete documentation index, see llms.txt. This page is also available as Markdown.

IncentiveId

Functions​

compute​

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

Calculate the key for a staking incentive

Parameters:​

Name
Type
Description

key

struct IDragonswapV2Staker.IncentiveKey

The components used to compute the incentive identifier

Return Values:​

Name
Type
Description

incentiveId

bytes32

The identifier for the incentive

Last updated