@glowlabs-org/utils 0.2.130 → 0.2.132

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -474,6 +474,8 @@ export interface MiningScoreParams {
474
474
  farmId: string;
475
475
  userId: string;
476
476
  dollarCostOfMiner: string;
477
+ numberOfMiners: number;
478
+ minerRewardSplit: string;
477
479
  }
478
480
  export interface MiningScoresBatchParams {
479
481
  farms: MiningScoreParams[];
@@ -483,6 +485,8 @@ export interface MiningScoreResponse {
483
485
  userWeeklyGlwRewards: string;
484
486
  glwPriceUsd6: string;
485
487
  dollarCostOfMiner: string;
488
+ numberOfMiners: number;
489
+ minerRewardSplit: string;
486
490
  weeksOfMinerLifeRemaining: number;
487
491
  regionInfo: {
488
492
  regionId: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glowlabs-org/utils",
3
- "version": "0.2.130",
3
+ "version": "0.2.132",
4
4
  "description": "A library containing all typechain types and addresses relating to the glow guarded launch",
5
5
  "keywords": [],
6
6
  "author": "",
@@ -578,6 +578,8 @@ export interface MiningScoreParams {
578
578
  farmId: string; // The farm ID of the existing farm
579
579
  userId: string; // User's wallet address to calculate mining score for
580
580
  dollarCostOfMiner: string; // Dollar cost of the miner (USD with 6 decimals)
581
+ numberOfMiners: number; // Number of miners in the farm
582
+ minerRewardSplit: string; // Miner reward split percentage (6 decimals)
581
583
  }
582
584
 
583
585
  export interface MiningScoresBatchParams {
@@ -589,6 +591,8 @@ export interface MiningScoreResponse {
589
591
  userWeeklyGlwRewards: string; // User's portion of weekly GLW rewards after split (18 decimals)
590
592
  glwPriceUsd6: string; // GLW price used in calculation (6 decimals)
591
593
  dollarCostOfMiner: string; // Dollar cost of miner (6 decimals)
594
+ numberOfMiners: number; // Number of miners in the farm
595
+ minerRewardSplit: string; // Miner reward split percentage (6 decimals)
592
596
  weeksOfMinerLifeRemaining: number; // Weeks of miner life remaining (calculated from farm's end reward period)
593
597
  regionInfo: {
594
598
  regionId: number;