@glowlabs-org/utils 0.2.141 → 0.2.142
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.
|
@@ -370,6 +370,7 @@ export interface GlwRegionRewardsResponse {
|
|
|
370
370
|
export interface ControlWallet {
|
|
371
371
|
address: string;
|
|
372
372
|
controlBalance: string;
|
|
373
|
+
committedControl: string;
|
|
373
374
|
stakedControl: string;
|
|
374
375
|
createdAt: string;
|
|
375
376
|
}
|
|
@@ -409,11 +410,11 @@ export interface WalletFarmInfo {
|
|
|
409
410
|
export interface WalletDetails {
|
|
410
411
|
wallet: string;
|
|
411
412
|
controlBalance: string;
|
|
413
|
+
committedControl: string;
|
|
412
414
|
stakedControl: string;
|
|
413
415
|
createdAt: string;
|
|
414
416
|
regions: WalletRegionStakeTotal[];
|
|
415
417
|
ownedFarms: WalletFarmInfo[];
|
|
416
|
-
purchasedFarms: WalletFarmInfo[];
|
|
417
418
|
}
|
|
418
419
|
export interface EstimateRewardScoreParams {
|
|
419
420
|
userId: string;
|
package/package.json
CHANGED
package/src/lib/types/index.ts
CHANGED
|
@@ -455,6 +455,7 @@ export interface GlwRegionRewardsResponse {
|
|
|
455
455
|
export interface ControlWallet {
|
|
456
456
|
address: string;
|
|
457
457
|
controlBalance: string;
|
|
458
|
+
committedControl: string;
|
|
458
459
|
stakedControl: string;
|
|
459
460
|
createdAt: string; // ISO 8601
|
|
460
461
|
}
|
|
@@ -499,11 +500,11 @@ export interface WalletFarmInfo {
|
|
|
499
500
|
export interface WalletDetails {
|
|
500
501
|
wallet: string;
|
|
501
502
|
controlBalance: string;
|
|
503
|
+
committedControl: string;
|
|
502
504
|
stakedControl: string;
|
|
503
505
|
createdAt: string; // ISO 8601
|
|
504
506
|
regions: WalletRegionStakeTotal[];
|
|
505
507
|
ownedFarms: WalletFarmInfo[];
|
|
506
|
-
purchasedFarms: WalletFarmInfo[];
|
|
507
508
|
}
|
|
508
509
|
|
|
509
510
|
// ----------------------------- Farms Reward Score ---------------------------
|