Stake in Pool
The process of staking assets allows investors to lock their assets for a specified period, earning rewards in return.
When an investor stakes, their staking position is represented by an NFT (a unique digital token). This NFT includes all the details of the staking position, such as the amount staked, the staking time, and the rewards. Users can transfer or sell these NFTs. Once the position is fully unstaked, the NFT is destroyed.
You can handle your staking position by:
- Stake: Lock an asset to earn rewards.
- Restake: Add more tokens to your existing stake.
- Fully Unstake: Withdraw all staked tokend after the unlock period.
- Partially Unstake: Withdraw a portion of the staked tokens.
- Claim: Claim your earned rewards according to the distribution schedule.
Locking Assets and Tracking Staking Positions
When investors stake their assets in a staking pool, they create a staking position, represented by an NFT token. This token tracks their staked assets and rewards.
Each staking position is tracked by an NFT, which records:
- The ID of the staking pool.
- The amount of assets staked.
- The timestamps for staking and withdrawal.
- The rewards earned and received.
Stake
Here are the steps to stake in an existing and open pool
- First, the wallet must have a "staker" role if the pool has specific role management, else the pool is open for everyone.
- Then, stakers must have at least 1 unit of input token (or packet if there are many input tokens) to stake in the pool
- Before being allowed to stake, the staking market must have access to the input tokens in the staker wallet by approving them on-chain.
- Once approved, the staker can generate and sign a transaction to transfer the input tokens in the pool, with optionally a locking period
Stake position
After staking the wallet receive a Position Token (ERC-721) that tracks the tokens locked and rewards to claim. Each staking position records:
- The ID of the staking pool.
- The amount of tokens staked.
- The timestamps for staking and withdrawal.
- The rewards earned and received.
Position token holders can
- re-stake, by adding more tokens to the position
- partially unstake to withdraw some tokens without closing the position
- unstake all tokens to close the position
- Sell or transfer the staking position to a third party wallet, that is then able to claim rewards from the pool.
Claim
After the lock period ends, investors can claim the rewards from the pool thanks to the staking position token
Updated 17 days ago