AlgebraEternalFarming
Modifiers
onlyIncentiveMaker
onlyAdministrator
onlyFarmingCenter
Variables
contract INonfungiblePositionManager nonfungiblePositionManager immutable
contract IFarmingCenter farmingCenter
mapping(bytes32 => struct AlgebraEternalFarming.Incentive) incentives
mapping(uint256 => mapping(bytes32 => struct AlgebraEternalFarming.Farm)) farms
uint256 numOfIncentives
bytes32 INCENTIVE_MAKER_ROLE constant
bytes32 FARMINGS_ADMINISTRATOR_ROLE constant
mapping(address => mapping(contract IERC20Minimal => uint256)) rewards
Functions
constructor
Name
Type
Description
isIncentiveActiveInPool
Name
Type
Description
Name
Type
Description
createEternalFarming
Name
Type
Description
Name
Type
Description
deactivateIncentive
Name
Type
Description
decreaseRewardsAmount
Name
Type
Description
setFarmingCenterAddress
Name
Type
Description
addRewards
Name
Type
Description
setRates
Name
Type
Description
enterFarming
Name
Type
Description
exitFarming
Name
Type
Description
claimReward
Name
Type
Description
Name
Type
Description
claimRewardFrom
Name
Type
Description
Name
Type
Description
getRewardInfo
Name
Type
Description
Name
Type
Description
collectRewards
Name
Type
Description
Name
Type
Description