πŸ“°Properties

Each liquidity provision position represented by spNFT contains the following basic information:

  • Object ID

  • Deposit LP token

  • Deposit LP token amount

  • APY

  • Optional lock settings such as duration and start/end time

  • Multipliers information

Operations

Here are the available interactions that a spNFT holder can use:

Deposit: Add more tokens to the position and Resets the lock if the position is locked.

Withdraw: Take out tokens from the position. If the position is emptied, the spNFT is automatically burned. This interaction cannot be used if the position is locked.

Harvest:Collect all pending rewards (veWISP and WISP) from the position. This interaction is only applicable if yield incentives are assigned to the position's LP token.

Lock: Lock an unlocked position for a specified duration.

Extend: Renew or extend the lock duration if the position is already locked.

Transfer: Transfer the position to another address.

Split: Divide the original amount into two positions. If the original position is locked, the new one will also be locked with the same settings.

Merge: Combine several positions into one. The final position will have the longest lock duration and farthest end lock time among all merged positions.

Locks

A lock duration can be specified while creating a position, indicating that nothing can be withdrawn from the spNFT until the end of the lock. Each wrapped WispSwap LP has its own lock settings, such as the maximum lock duration and corresponding maximum lock multiplier. This bonus will be calculated linearly based on the duration of the lock and the maximum lock multiplier.

In the long run, the plan is to delegate control over lock settings and its associated multiplier to the LP's protocol themselves, but the DAO governance will oversee the process.

APY

Finally, every yield-bearing spNFT has its own APY, determined by:

  • The allocation set by veWISP voting system to the wrapped LP

  • The lock multiplier

  • The Farm Boosting multiplier

Last updated