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

Adapt staking of legacy NU in T staking contract #142

Description

@vzotova

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions