@glowlabs-org/utils 0.2.97 → 0.2.98
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.
- package/dist/cjs/farms-router-CDsqKkP6.js.map +1 -1
- package/dist/cjs/lib/types/index.d.ts +1 -30
- package/dist/esm/farms-router-Da1P3B8g.js.map +1 -1
- package/dist/esm/lib/types/index.d.ts +1 -30
- package/package.json +1 -1
- package/src/lib/control-api/farms-router.ts +10 -10
- package/src/lib/types/index.ts +1 -31
|
@@ -389,10 +389,7 @@ export interface EstimateRewardScoreParams {
|
|
|
389
389
|
protocolDepositAmount: string;
|
|
390
390
|
paymentCurrency: PaymentCurrency;
|
|
391
391
|
adjustedWeeklyCarbonCredits: number;
|
|
392
|
-
|
|
393
|
-
id: number;
|
|
394
|
-
name?: string;
|
|
395
|
-
};
|
|
392
|
+
regionId: number;
|
|
396
393
|
}
|
|
397
394
|
export interface RewardScoreResponse {
|
|
398
395
|
rewardScore: number;
|
|
@@ -407,32 +404,6 @@ export interface RewardScoreResponse {
|
|
|
407
404
|
glwPriceUsd6: string;
|
|
408
405
|
regionInfo: {
|
|
409
406
|
regionId: number;
|
|
410
|
-
regionName: string;
|
|
411
|
-
existingFarmCount: number;
|
|
412
|
-
existingTotalDepositsUsd: string;
|
|
413
|
-
currencyBreakdown: {
|
|
414
|
-
currency: string;
|
|
415
|
-
protocolDepositSum: string;
|
|
416
|
-
carbonCreditProductionSum: string;
|
|
417
|
-
}[];
|
|
418
|
-
regionGctlStaked: string;
|
|
419
|
-
totalGctlStakedAllRegions: string;
|
|
420
|
-
};
|
|
421
|
-
}
|
|
422
|
-
export interface EstimateRewardScoreApiResponse {
|
|
423
|
-
rewardScore: number;
|
|
424
|
-
userWeeklyPdRewards: string;
|
|
425
|
-
userWeeklyPdRewardsUsd: string;
|
|
426
|
-
userWeeklyGlwRewards: string;
|
|
427
|
-
userWeeklyGlwValueUsd: string;
|
|
428
|
-
userEstimatedWeeklyCash: string;
|
|
429
|
-
userProtocolDeposit: string;
|
|
430
|
-
userGlowSplitPercent: string;
|
|
431
|
-
userDepositSplitPercent: string;
|
|
432
|
-
glwPriceUsd6: string;
|
|
433
|
-
regionInfo: {
|
|
434
|
-
regionId: number;
|
|
435
|
-
regionName: string;
|
|
436
407
|
existingFarmCount: number;
|
|
437
408
|
existingTotalDepositsUsd: string;
|
|
438
409
|
currencyBreakdown: {
|