Details

The NFT/SFT staking contract is quite close to the staking contract as it allow anyone to deposit staking rewards. But this time, final users will have to stake NFT or SFT to harvest them.

NFT staking can be configured with few more options to improve use cases :

  • NFT/SFT collection to stake

  • ESDT token to be rewarded to participant

  • Amount of esdt to distribute over time

  • Speed of distribution (in days)

  • Nonce restriction (all nonce or only one nonce)

  • Vesting (in days) min 0, max 40

  • Unbonding (in days) min 0, max 10

If one reward pool already exist and all 6 params are strictly identical, rewards will be add to existing pool

Speed param define how fast tokens will be distributed to users participating in nft staking.

Lets say that one user has 2/5 of the staked NFT in one pool with 1000 tokens left to distribute at a speed of 10 days and no other user will claim tokens in this scenario.

If our user wait 3 days to claim tokens after entering pool he will receive :

tokens / share of the pool / speed * time_spent

1000 / 5*2 / 10 * 3 = 120 tokens

for 5 days :

1000 / 5*2 / 10 * 5 = 200 tokens

for 10 days :

1000 / 5*2 / 10 * 10 = 400 tokens

Last updated