IAlgebraIncentiveFarming

Algebra Farming Interface Allows farming nonfungible liquidity tokens in exchange for reward tokens

Events

IncentiveCreated

IncentiveCreated(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:

createIncentive

createIncentive(struct IIncentiveKey.IncentiveKey,struct IAlgebraFarming.Tiers,struct IAlgebraIncentiveFarming.IncentiveParams) external

Returns:

decreaseRewardsAmount

decreaseRewardsAmount(struct IIncentiveKey.IncentiveKey,uint256,uint256) external