IAlgebraLimitFarming
Algebra Farming Interface Allows farming nonfungible liquidity tokens in exchange for reward tokens
Events
LimitFarmingCreated
LimitFarmingCreated(contract IERC20Minimal,contract IERC20Minimal,contract IAlgebraPool,uint256,uint256,uint256,uint256,struct IAlgebraFarming.Tiers,address,uint32)
Event emitted when a liquidity mining incentive has been created
RewardAmountsDecreased
RewardAmountsDecreased(uint256,uint256,bytes32)
Functions
maxIncentiveDuration
maxIncentiveDuration()
view external
The max duration of an incentive in seconds
Returns:
maxIncentiveStartLeadTime
maxIncentiveStartLeadTime()
view external
The max amount of seconds into the future the incentive startTime can be set
Returns:
farms
farms(uint256,bytes32)
view external
Returns information about a farmd liquidity NFT
Returns:
createLimitFarming
createLimitFarming(struct IIncentiveKey.IncentiveKey,struct IAlgebraFarming.Tiers,struct IAlgebraLimitFarming.IncentiveParams)
external
Returns:
addRewards
addRewards(struct IIncentiveKey.IncentiveKey,uint256,uint256)
external
decreaseRewardsAmount
decreaseRewardsAmount(struct IIncentiveKey.IncentiveKey,uint256,uint256)
external