threshold-network / merkle-distribution

Threshold Network rewards generation and distribution
https://threshold.network
1 stars 6 forks source link

Add calculation script for special distribution: legacy Keep stakes rewards #137

Closed manumonti closed 4 months ago

manumonti commented 4 months ago

This PR is part of the work related to the end of the support of legacy staking (Nu and Keep staking): #112.

During the transition period in which legacy Keep stakers had the opportunity to migrate their keepInT tokens to T without losing rewards (see https://forum.threshold.network/t/transition-guide-for-legacy-stakers/719), the rewards for the stakes with legacy Keep have been frozen. This means that the rewards since the legacy staking deactivation (Nov 22nd, 2023) have not been released for these stakes.

Once the transition period ends, and the list of stakes that did the re-staking is definitive, the pending rewards must be calculated and released.

The list of the 24 stakes that had keepInT tokens is the following (staking provider addresses):

0x01474098607ed064f72832e1491b2261967166da
0x06eb8d86cbc1693079d2ff0fa9cb55a26cd07f15
0x07c9a8f8264221906b7b8958951ce4753d39628b
0x0ace6419dbdab7f9330568258b9ddb37a295b677
0x33769235a2980730ae7e17fc6eaf4740530cde1b
0x1147ccfb4aefc6e587a23b78724ef20ec6e474d4
0x650a9ed18df873cad98c88dcac8170531cad2399
0xb99f5ebc5f61120515f67fbb9ab9693605fbab06
0xd6fc4e95e0622ddedad3289df7873d8136645e8d
0xd977144724bc77faefae219f958ae3947205d0b5
0xcbb734bba70c6462a9f22c2b481346ebef3cfad3
0x2ebe08379f4fd866e871a9b9e1d5c695154c6a9f
0x8cc46611bec3217d058d92fd234a8ed7d205e0d2
0x4bfa10b1538e8e765e995688d8eec39c717b6797
0x3b9e5ae72d068448bb96786989c0d86fbc0551d1
0xa4166c3e14cbdd6d4494945a99616f1c73ad9699
0xaea619d02dcf7299fb24db2f60a08bfc8fb2dbcf
0xca70fea021359778daec479b97d0cd2efe1ad099
0xdcd4199e22d09248ca2583cbdd2759b2acd22381
0xfc97a906c715587b56c2c65a07ce731ba80339de
0x341154298ab7ca86278df9665fb2b8610b92214d
0xe26e2d93bbc8fde0e1e3b290fc927fb374e7e34e
0xa5f6822ef1a7df72628259f9d1dc17eb2bcb2385
0x045e511f53debf55c9c0b4522f14f602f7c7ca81

The pending rewards calculated by the script are: