Limit Farming
#
Code#
AddressAlgebraLimitFarming
is deployed at 0x9923f42a02A82dA63EE0DbbC5f8E311e3DD8A1f8
on the Polygon mainnet.
#
Events#
LimitFarmingCreatedEmitted when a liquidity mining incentive has been created
rewardToken
The token being distributed as a rewardbonusRewardToken
The token being distributed as a bonus rewardpool
The Algebra poolstartTime
The time when the incentive program beginsendTime
The time when rewards stop accruingreward
The amount of reward tokens to be distributedbonusReward
The amount of bonus reward tokens to be distributedtiers
The amounts of locked token for liquidity multipliersmultiplierToken
The address of token which can be locked to get liquidity multiplierminimalAllowedPositionWidth
The minimal allowed position width (tickUpper - tickLower)enterStartTime
The time when enter becomes possible
#
RewardAmountsDecreased#
Read-Only Functions#
maxIncentiveDurationThe max duration of an incentive in seconds
#
maxIncentiveStartLeadTimeThe max amount of seconds into the future the incentive startTime can be set
#
maxIncentiveStartLeadTimeReturns information about a farmd liquidity NFT
Params
tokenId
The ID of the farmd tokenincentiveId
The ID of the incentive for which the token is farmed
Return
liquidity
The amount of liquidity in the NFT as of the last time the rewards were computedtickLower
The lower end of the tick range for the positiontickUpper
The upper end of the tick range for the position
#
State-Changing Functions#
createLimitFarmingParams
reward
The amount of reward tokens to be distributedbonusReward
The amount of bonus reward tokens to be distributedminimalPositionWidth
The minimal allowed width of position (tickUpper - tickLower)multiplierToken
The address of token which can be locked to get liquidity multiplierenterStartTime
The time when enter should become possible }