@@ -143,7 +143,6 @@ export class Staker extends Entity {
143
143
this . set ( "rETHBalance" , Value . fromBigInt ( BigInt . zero ( ) ) ) ;
144
144
this . set ( "ethBalance" , Value . fromBigInt ( BigInt . zero ( ) ) ) ;
145
145
this . set ( "totalETHRewards" , Value . fromBigInt ( BigInt . zero ( ) ) ) ;
146
- this . set ( "totalETHRewardsRank" , Value . fromBigInt ( BigInt . zero ( ) ) ) ;
147
146
this . set ( "hasAccruedETHRewardsDuringLifecycle" , Value . fromBoolean ( false ) ) ;
148
147
this . set ( "block" , Value . fromBigInt ( BigInt . zero ( ) ) ) ;
149
148
this . set ( "blockTime" , Value . fromBigInt ( BigInt . zero ( ) ) ) ;
@@ -202,15 +201,6 @@ export class Staker extends Entity {
202
201
this . set ( "totalETHRewards" , Value . fromBigInt ( value ) ) ;
203
202
}
204
203
205
- get totalETHRewardsRank ( ) : BigInt {
206
- let value = this . get ( "totalETHRewardsRank" ) ;
207
- return value ! . toBigInt ( ) ;
208
- }
209
-
210
- set totalETHRewardsRank ( value : BigInt ) {
211
- this . set ( "totalETHRewardsRank" , Value . fromBigInt ( value ) ) ;
212
- }
213
-
214
204
get hasAccruedETHRewardsDuringLifecycle ( ) : boolean {
215
205
let value = this . get ( "hasAccruedETHRewardsDuringLifecycle" ) ;
216
206
return value ! . toBoolean ( ) ;
@@ -499,26 +489,6 @@ export class NetworkStakerBalanceCheckpoint extends Entity {
499
489
this . set ( "averageStakerETHRewards" , Value . fromBigInt ( value ) ) ;
500
490
}
501
491
502
- get checkpointWithHighestRewardsRank ( ) : string | null {
503
- let value = this . get ( "checkpointWithHighestRewardsRank" ) ;
504
- if ( ! value || value . kind == ValueKind . NULL ) {
505
- return null ;
506
- } else {
507
- return value . toString ( ) ;
508
- }
509
- }
510
-
511
- set checkpointWithHighestRewardsRank ( value : string | null ) {
512
- if ( ! value ) {
513
- this . unset ( "checkpointWithHighestRewardsRank" ) ;
514
- } else {
515
- this . set (
516
- "checkpointWithHighestRewardsRank" ,
517
- Value . fromString ( < string > value )
518
- ) ;
519
- }
520
- }
521
-
522
492
get stakersWithAnRETHBalance ( ) : BigInt {
523
493
let value = this . get ( "stakersWithAnRETHBalance" ) ;
524
494
return value ! . toBigInt ( ) ;
@@ -575,7 +545,6 @@ export class StakerBalanceCheckpoint extends Entity {
575
545
this . set ( "ethBalance" , Value . fromBigInt ( BigInt . zero ( ) ) ) ;
576
546
this . set ( "rETHBalance" , Value . fromBigInt ( BigInt . zero ( ) ) ) ;
577
547
this . set ( "totalETHRewards" , Value . fromBigInt ( BigInt . zero ( ) ) ) ;
578
- this . set ( "totalETHRewardsRank" , Value . fromBigInt ( BigInt . zero ( ) ) ) ;
579
548
this . set ( "block" , Value . fromBigInt ( BigInt . zero ( ) ) ) ;
580
549
this . set ( "blockTime" , Value . fromBigInt ( BigInt . zero ( ) ) ) ;
581
550
}
@@ -656,15 +625,6 @@ export class StakerBalanceCheckpoint extends Entity {
656
625
this . set ( "totalETHRewards" , Value . fromBigInt ( value ) ) ;
657
626
}
658
627
659
- get totalETHRewardsRank ( ) : BigInt {
660
- let value = this . get ( "totalETHRewardsRank" ) ;
661
- return value ! . toBigInt ( ) ;
662
- }
663
-
664
- set totalETHRewardsRank ( value : BigInt ) {
665
- this . set ( "totalETHRewardsRank" , Value . fromBigInt ( value ) ) ;
666
- }
667
-
668
628
get block ( ) : BigInt {
669
629
let value = this . get ( "block" ) ;
670
630
return value ! . toBigInt ( ) ;
@@ -694,7 +654,6 @@ export class Node extends Entity {
694
654
this . set ( "effectiveRPLStaked" , Value . fromBigInt ( BigInt . zero ( ) ) ) ;
695
655
this . set ( "totalRPLSlashed" , Value . fromBigInt ( BigInt . zero ( ) ) ) ;
696
656
this . set ( "totalClaimedRPLRewards" , Value . fromBigInt ( BigInt . zero ( ) ) ) ;
697
- this . set ( "totalRPLClaimedRewardsRank" , Value . fromBigInt ( BigInt . zero ( ) ) ) ;
698
657
this . set ( "minimumEffectiveRPL" , Value . fromBigInt ( BigInt . zero ( ) ) ) ;
699
658
this . set ( "maximumEffectiveRPL" , Value . fromBigInt ( BigInt . zero ( ) ) ) ;
700
659
this . set ( "queuedMinipools" , Value . fromBigInt ( BigInt . zero ( ) ) ) ;
@@ -779,15 +738,6 @@ export class Node extends Entity {
779
738
this . set ( "totalClaimedRPLRewards" , Value . fromBigInt ( value ) ) ;
780
739
}
781
740
782
- get totalRPLClaimedRewardsRank ( ) : BigInt {
783
- let value = this . get ( "totalRPLClaimedRewardsRank" ) ;
784
- return value ! . toBigInt ( ) ;
785
- }
786
-
787
- set totalRPLClaimedRewardsRank ( value : BigInt ) {
788
- this . set ( "totalRPLClaimedRewardsRank" , Value . fromBigInt ( value ) ) ;
789
- }
790
-
791
741
get minimumEffectiveRPL ( ) : BigInt {
792
742
let value = this . get ( "minimumEffectiveRPL" ) ;
793
743
return value ! . toBigInt ( ) ;
@@ -1530,26 +1480,6 @@ export class NetworkNodeBalanceCheckpoint extends Entity {
1530
1480
this . set ( "totalClaimedRPLRewards" , Value . fromBigInt ( value ) ) ;
1531
1481
}
1532
1482
1533
- get checkpointWithHighestRPLRewardsRank ( ) : string | null {
1534
- let value = this . get ( "checkpointWithHighestRPLRewardsRank" ) ;
1535
- if ( ! value || value . kind == ValueKind . NULL ) {
1536
- return null ;
1537
- } else {
1538
- return value . toString ( ) ;
1539
- }
1540
- }
1541
-
1542
- set checkpointWithHighestRPLRewardsRank ( value : string | null ) {
1543
- if ( ! value ) {
1544
- this . unset ( "checkpointWithHighestRPLRewardsRank" ) ;
1545
- } else {
1546
- this . set (
1547
- "checkpointWithHighestRPLRewardsRank" ,
1548
- Value . fromString ( < string > value )
1549
- ) ;
1550
- }
1551
- }
1552
-
1553
1483
get rplPriceInETH ( ) : BigInt {
1554
1484
let value = this . get ( "rplPriceInETH" ) ;
1555
1485
return value ! . toBigInt ( ) ;
@@ -1654,7 +1584,6 @@ export class NodeBalanceCheckpoint extends Entity {
1654
1584
this . set ( "maximumEffectiveRPL" , Value . fromBigInt ( BigInt . zero ( ) ) ) ;
1655
1585
this . set ( "totalRPLSlashed" , Value . fromBigInt ( BigInt . zero ( ) ) ) ;
1656
1586
this . set ( "totalClaimedRPLRewards" , Value . fromBigInt ( BigInt . zero ( ) ) ) ;
1657
- this . set ( "totalRPLClaimedRewardsRank" , Value . fromBigInt ( BigInt . zero ( ) ) ) ;
1658
1587
this . set ( "queuedMinipools" , Value . fromBigInt ( BigInt . zero ( ) ) ) ;
1659
1588
this . set ( "stakingMinipools" , Value . fromBigInt ( BigInt . zero ( ) ) ) ;
1660
1589
this . set ( "stakingUnbondedMinipools" , Value . fromBigInt ( BigInt . zero ( ) ) ) ;
@@ -1768,15 +1697,6 @@ export class NodeBalanceCheckpoint extends Entity {
1768
1697
this . set ( "totalClaimedRPLRewards" , Value . fromBigInt ( value ) ) ;
1769
1698
}
1770
1699
1771
- get totalRPLClaimedRewardsRank ( ) : BigInt {
1772
- let value = this . get ( "totalRPLClaimedRewardsRank" ) ;
1773
- return value ! . toBigInt ( ) ;
1774
- }
1775
-
1776
- set totalRPLClaimedRewardsRank ( value : BigInt ) {
1777
- this . set ( "totalRPLClaimedRewardsRank" , Value . fromBigInt ( value ) ) ;
1778
- }
1779
-
1780
1700
get queuedMinipools ( ) : BigInt {
1781
1701
let value = this . get ( "queuedMinipools" ) ;
1782
1702
return value ! . toBigInt ( ) ;
0 commit comments