DragonswapV2Staker
Functionsβ
stakesβ
function stakes(
uint256 tokenId,
bytes32 incentiveId
) public view override returns (uint160 secondsPerLiquidityInsideInitialX128, uint128 liquidity)Name
Type
Description
Name
Type
Description
constructorβ
function constructor(
contract IDragonswapV2Factory _factory,
contract INonfungiblePositionManager _nonfungiblePositionManager,
uint256 _maxIncentiveStartLeadTime,
uint256 _maxIncentiveDuration
) publicName
Type
Description
createIncentiveβ
Name
Type
Description
endIncentiveβ
Name
Type
Description
Name
Type
Description
onERC721Receivedβ
transferDepositβ
Name
Type
Description
withdrawTokenβ
Name
Type
Description
stakeTokenβ
Name
Type
Description
unstakeTokenβ
Name
Type
Description
claimRewardβ
Name
Type
Description
Name
Type
Description
getRewardInfoβ
Name
Type
Description
Name
Type
Description
Last updated