IAlgebraLimitFarming

Algebra Farming Interface

Allows farming nonfungible liquidity tokens in exchange for reward tokens

Events

LimitFarmingCreated

event LimitFarmingCreated(contract IERC20Minimal rewardToken, contract IERC20Minimal bonusRewardToken, contract IAlgebraPool pool, uint256 startTime, uint256 endTime, uint256 reward, uint256 bonusReward, struct IAlgebraFarming.Tiers tiers, address multiplierToken, uint24 minimalAllowedPositionWidth, uint32 enterStartTime)

Event emitted when a liquidity mining incentive has been created

Functions

maxIncentiveDuration

function maxIncentiveDuration() external view returns (uint256) view external

The max duration of an incentive in seconds

Returns:

maxIncentiveStartLeadTime

function maxIncentiveStartLeadTime() external view returns (uint256) view external

The max amount of seconds into the future the incentive startTime can be set

Returns:

farms

function farms(uint256 tokenId, bytes32 incentiveId) external view returns (uint128 liquidity, int24 tickLower, int24 tickUpper) view external

Returns information about a farmd liquidity NFT

Returns:

createLimitFarming

function createLimitFarming(struct IIncentiveKey.IncentiveKey key, struct IAlgebraFarming.Tiers tiers, struct IAlgebraLimitFarming.IncentiveParams params) external returns (address virtualPool) external

Returns: