Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Special rewards calculation path to handle legacy KEEP stakers #95

Closed
cygnusv opened this issue Nov 8, 2023 · 0 comments · Fixed by #138
Closed

Special rewards calculation path to handle legacy KEEP stakers #95

cygnusv opened this issue Nov 8, 2023 · 0 comments · Fixed by #138
Assignees

Comments

@cygnusv
Copy link
Member

cygnusv commented Nov 8, 2023

See threshold-network/solidity-contracts#141

@manumonti manumonti self-assigned this Jan 30, 2024
manumonti added a commit that referenced this issue Feb 26, 2024
As this is a cumulative Merkle distribution, the rewards here collected
are the sum of the rewards distributed in previous Merkle distributions
plus the rewards earned in the period between the last and the current
distribution.

Note that this is a special distribution, and the date of this
distribution is the date of legacy Keep staking transition deadline [1].

This distribution releases the frozen rewards of legacy Keep stakes. As
mentioned on #112, the rewards for legacy Keep stakes had been frozen
during the legacy staking transition period. Once this period has ended,
the rewards have been released:

This distribution also includes the "regular" stakes rewards (i.e. the
rewards for the stakes that didn't have legacy Keep tokens).

- tBTC rewards for those non-legacy stakes for the period Feb 1st 24 -
  Feb 24th 24.
- TACo rewards for those non-legacy stakes for the period Feb 1st 24 -
  Feb 24th 24.
- tBTC rewards for those that had legacy Keep tokens (keepInT) on Nov
  22nd 23. The rewards are for the period Nov 22nd 2023 - Feb 24th 2024.
  The conditions to be eligible for these rewards are:
  - To have a tBTC client running and complying with the usual
    requirements: pre_params, uptime, and client version.
  - To have tokens staked and authorized to the two Threshold apps:
    Random Beacon and WalletRegistry (aka tBTC). The rewards are
    calculated from two sources: (a) the `T` tokens staked and
    authorized to both apps and (b) the `keepInT` tokens if these have
    been re-staked and re-authorized for both apps during the transition
    period.
- PRE rewards for those that had legacy Keep tokens (keepInT) on Nov
  22nd 23. The rewards are for the period Nov 22nd 2023 - Feb 1st 2024
  (date of PRE deactivation). The conditions to be eligible for these
  rewards are:
  - To have a PRE operator confirmed on Nov 22nd 2023.
  - To have tokens staked. Staked `T` tokens will be considered for the
    rewards calculation. Staked `keepInT` tokens will be considered only
    in the case the stake re-staked it during the transition period.
- TACo rewards for the period Feb 1st 2024 - Feb 24th 2024. The
  condition to be eligible for these rewards are:
  - To have a TACo operator confirmed.
  - To have TACo application authorized.

This PR closes #95, #112.

[1] https://forum.threshold.network/t/transition-guide-for-legacy-stakers/719
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants