Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

Adapt staking of legacy NU in T staking contract #142

Open
2 of 3 tasks
vzotova opened this issue Dec 30, 2021 · 0 comments
Open
2 of 3 tasks

Adapt staking of legacy NU in T staking contract #142

vzotova opened this issue Dec 30, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@vzotova
Copy link
Member

vzotova commented Dec 30, 2021

Some of methods in T staking contract are Nu only:

  • stakeNu - one time method, Nu legacy stakers will call this method to staking NU in T staking contract. Staker will specify 3 roles: beneficiary, authorizer and operator. All 3 roles are immutable in current implementation.
  • unstakeNu - decrease amount of staked NU, unstaked NU will be possible to withdraw from StakingEscrow
  • topUpNu - for case when staker wants to stake again what was unstaked before

Maybe we want some other functions in NU dashbord.

Also behaviour of StakingEscrow will be changed:

  • Can withdraw everything that is not staked in T staking contract and not under vesting parameters.
  • Worker role will be somewhere outside the staking contracts.
@KPrasch KPrasch added the enhancement New feature or request label Apr 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants