esNFT
Considering the simplicity of the product, we have de-emphasized the concept of esNFT in our product.
Each esNFT has the following basic attributes:
a unique ID
a deposit LP token
a deposit LP token amount
an APY
optional lock settings (duration, start/end time)
multipliers information
Functions
The owner of an esNFT can perform the following:
Deposit Add more tokens to the position. Resets the lock if the position is locked.
Withdraw Withdraw an amount of tokens from the position. If the position is emptied, the esNFT is automatically burned. Can't be used if the position is locked.
Harvest Harvest all pending rewards (esARR and ARR) from the position. Only used when yield incentives are allocated to the position's LP token.
Lock Lock an unlocked position for a given duration.
Extend If the position is already locked, renews or extend the lock duration.
Transfer Transfer the position to another address.
Split (In progress) Split the position into two, dividing between them the original amount. If the original position is locked, the new one will be as well with the exact same settings.
Merge (In progress) Merge positions into one. The final position will use the longest lock duration and farthest end lock time among all the merged positions.
Locks
It's possible to specify a lock duration when creating a position, implying it will be impossible to withdraw anything from the esNFT until the end of the lock.
Every wrapped AtDex LP has its own lock settings (max lock duration, and its matching max lock multiplier).
A lock will provide a yield bonus based on this multiplier if the position's LP is incentivized, and can be a needed requirement to have the right to stake on a ExtendPool.
This bonus will be linearly calculated proportionally to the duration of the lock and the maximum lock multiplier.
APY
Finally, every yield-bearing esNFT will have its own APY, based on:
The allocation set by the Master to the wrapped LP
The lock multiplier
The Booster multiplier
Last updated