@berachain/graphql 0.4.17 → 0.4.18-beta.1

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.
@@ -132,15 +132,11 @@ type GqlGlobalInfo = {
132
132
  * Calculated based on the last 24h emissions.
133
133
  */
134
134
  annualizedPoLEmissions: Scalars['Float']['output'];
135
- baseRewardRate: Scalars['String']['output'];
136
135
  chain: GqlChain;
137
- minBoostedRewardRate: Scalars['String']['output'];
138
- rewardRate: Scalars['String']['output'];
139
136
  totalActiveBoostAmount: Scalars['String']['output'];
140
137
  totalActiveIncentives: Scalars['Int']['output'];
141
138
  totalActiveIncentivesValueUSD: Scalars['String']['output'];
142
139
  totalActiveRewardVaults: Scalars['Int']['output'];
143
- totalBGTEarnedByValidators: Scalars['String']['output'];
144
140
  /** @deprecated Use totalDistributedRewards instead */
145
141
  totalDistributedBGTAmount: Scalars['String']['output'];
146
142
  /**
@@ -1709,7 +1705,10 @@ type GqlToken = {
1709
1705
  telegramUrl?: Maybe<Scalars['String']['output']>;
1710
1706
  /** Indicates if the token is tradable */
1711
1707
  tradable: Scalars['Boolean']['output'];
1712
- /** The Twitter username of the token */
1708
+ /**
1709
+ * The Twitter username of the token
1710
+ * @deprecated Twitter username is no longer supported
1711
+ */
1713
1712
  twitterUsername?: Maybe<Scalars['String']['output']>;
1714
1713
  /** The website URL of the token */
1715
1714
  websiteUrl?: Maybe<Scalars['String']['output']>;
@@ -1737,10 +1736,13 @@ declare enum GqlTokenChartDataRange {
1737
1736
  type GqlTokenData = {
1738
1737
  __typename?: 'GqlTokenData';
1739
1738
  description?: Maybe<Scalars['String']['output']>;
1739
+ /** @deprecated Discord URL is no longer supported */
1740
1740
  discordUrl?: Maybe<Scalars['String']['output']>;
1741
1741
  id: Scalars['ID']['output'];
1742
+ /** @deprecated Telegram URL is no longer supported */
1742
1743
  telegramUrl?: Maybe<Scalars['String']['output']>;
1743
1744
  tokenAddress: Scalars['Bytes']['output'];
1745
+ /** @deprecated Twitter username is no longer supported */
1744
1746
  twitterUsername?: Maybe<Scalars['String']['output']>;
1745
1747
  websiteUrl?: Maybe<Scalars['String']['output']>;
1746
1748
  };
@@ -1907,6 +1909,7 @@ type GqlValidatorDynamicData = {
1907
1909
  /** @deprecated Use allTimeDistributedRewards instead */
1908
1910
  allTimeDistributedBGTAmount: Scalars['String']['output'];
1909
1911
  allTimeDistributedRewards: Scalars['String']['output'];
1912
+ /** @deprecated Use allTimeEarnedRewards instead */
1910
1913
  allTimeEarnedBGTAmount: Scalars['String']['output'];
1911
1914
  allTimeEarnedRewards: Scalars['String']['output'];
1912
1915
  allTimeProposedBlockCount: Scalars['Int']['output'];
@@ -1919,8 +1922,10 @@ type GqlValidatorDynamicData = {
1919
1922
  boostApr: Scalars['Float']['output'];
1920
1923
  chain: GqlChain;
1921
1924
  commissionOnIncentives: Scalars['Int']['output'];
1925
+ /** @deprecated Use lastDayDistributedRewards instead */
1922
1926
  lastDayDistributedBGTAmount: Scalars['String']['output'];
1923
1927
  lastDayDistributedRewards: Scalars['String']['output'];
1928
+ /** @deprecated Use lastDayEarnedRewards instead */
1924
1929
  lastDayEarnedBGTAmount: Scalars['String']['output'];
1925
1930
  lastDayEarnedRewards: Scalars['String']['output'];
1926
1931
  lastDayProposedBlockCount: Scalars['Int']['output'];
@@ -1991,7 +1996,7 @@ declare enum GqlValidatorOrderBy {
1991
1996
  LastDayEarnedBgtAmount = "lastDayEarnedBGTAmount",
1992
1997
  LastDayProposedBlockCount = "lastDayProposedBlockCount",
1993
1998
  QueuedBoostAmount = "queuedBoostAmount",
1994
- QueuedDropBoostAmount = "queuedDropBoostAmount",
1999
+ RewardCapturePercentage = "rewardCapturePercentage",
1995
2000
  RewardRate = "rewardRate",
1996
2001
  StakedBeraAmount = "stakedBeraAmount",
1997
2002
  UsersActiveBoostCount = "usersActiveBoostCount",
@@ -2362,8 +2367,7 @@ type RewardVaultFragment = {
2362
2367
  __typename?: 'GqlRewardVaultDynamicData';
2363
2368
  activeIncentivesValueUsd: string;
2364
2369
  apr?: number | null;
2365
- bgtCapturePercentage: string;
2366
- allTimeReceivedBGTAmount: string;
2370
+ rewardCapturePercentage: number;
2367
2371
  } | null;
2368
2372
  };
2369
2373
  type DynamicDataFragment = {
@@ -2428,8 +2432,7 @@ type MinimalPoolInListFragment = {
2428
2432
  __typename?: 'GqlRewardVaultDynamicData';
2429
2433
  activeIncentivesValueUsd: string;
2430
2434
  apr?: number | null;
2431
- bgtCapturePercentage: string;
2432
- allTimeReceivedBGTAmount: string;
2435
+ rewardCapturePercentage: number;
2433
2436
  } | null;
2434
2437
  } | null;
2435
2438
  };
@@ -2478,8 +2481,7 @@ type MinimalPool_GqlPoolComposableStable_Fragment = {
2478
2481
  __typename?: 'GqlRewardVaultDynamicData';
2479
2482
  activeIncentivesValueUsd: string;
2480
2483
  apr?: number | null;
2481
- bgtCapturePercentage: string;
2482
- allTimeReceivedBGTAmount: string;
2484
+ rewardCapturePercentage: number;
2483
2485
  } | null;
2484
2486
  } | null;
2485
2487
  };
@@ -2528,8 +2530,7 @@ type MinimalPool_GqlPoolElement_Fragment = {
2528
2530
  __typename?: 'GqlRewardVaultDynamicData';
2529
2531
  activeIncentivesValueUsd: string;
2530
2532
  apr?: number | null;
2531
- bgtCapturePercentage: string;
2532
- allTimeReceivedBGTAmount: string;
2533
+ rewardCapturePercentage: number;
2533
2534
  } | null;
2534
2535
  } | null;
2535
2536
  };
@@ -2578,8 +2579,7 @@ type MinimalPool_GqlPoolFx_Fragment = {
2578
2579
  __typename?: 'GqlRewardVaultDynamicData';
2579
2580
  activeIncentivesValueUsd: string;
2580
2581
  apr?: number | null;
2581
- bgtCapturePercentage: string;
2582
- allTimeReceivedBGTAmount: string;
2582
+ rewardCapturePercentage: number;
2583
2583
  } | null;
2584
2584
  } | null;
2585
2585
  };
@@ -2628,8 +2628,7 @@ type MinimalPool_GqlPoolGyro_Fragment = {
2628
2628
  __typename?: 'GqlRewardVaultDynamicData';
2629
2629
  activeIncentivesValueUsd: string;
2630
2630
  apr?: number | null;
2631
- bgtCapturePercentage: string;
2632
- allTimeReceivedBGTAmount: string;
2631
+ rewardCapturePercentage: number;
2633
2632
  } | null;
2634
2633
  } | null;
2635
2634
  };
@@ -2678,8 +2677,7 @@ type MinimalPool_GqlPoolLiquidityBootstrapping_Fragment = {
2678
2677
  __typename?: 'GqlRewardVaultDynamicData';
2679
2678
  activeIncentivesValueUsd: string;
2680
2679
  apr?: number | null;
2681
- bgtCapturePercentage: string;
2682
- allTimeReceivedBGTAmount: string;
2680
+ rewardCapturePercentage: number;
2683
2681
  } | null;
2684
2682
  } | null;
2685
2683
  };
@@ -2728,8 +2726,7 @@ type MinimalPool_GqlPoolMetaStable_Fragment = {
2728
2726
  __typename?: 'GqlRewardVaultDynamicData';
2729
2727
  activeIncentivesValueUsd: string;
2730
2728
  apr?: number | null;
2731
- bgtCapturePercentage: string;
2732
- allTimeReceivedBGTAmount: string;
2729
+ rewardCapturePercentage: number;
2733
2730
  } | null;
2734
2731
  } | null;
2735
2732
  };
@@ -2778,8 +2775,7 @@ type MinimalPool_GqlPoolStable_Fragment = {
2778
2775
  __typename?: 'GqlRewardVaultDynamicData';
2779
2776
  activeIncentivesValueUsd: string;
2780
2777
  apr?: number | null;
2781
- bgtCapturePercentage: string;
2782
- allTimeReceivedBGTAmount: string;
2778
+ rewardCapturePercentage: number;
2783
2779
  } | null;
2784
2780
  } | null;
2785
2781
  };
@@ -2828,8 +2824,7 @@ type MinimalPool_GqlPoolWeighted_Fragment = {
2828
2824
  __typename?: 'GqlRewardVaultDynamicData';
2829
2825
  activeIncentivesValueUsd: string;
2830
2826
  apr?: number | null;
2831
- bgtCapturePercentage: string;
2832
- allTimeReceivedBGTAmount: string;
2827
+ rewardCapturePercentage: number;
2833
2828
  } | null;
2834
2829
  } | null;
2835
2830
  };
@@ -2893,8 +2888,7 @@ type GetPoolsQuery = {
2893
2888
  __typename?: 'GqlRewardVaultDynamicData';
2894
2889
  activeIncentivesValueUsd: string;
2895
2890
  apr?: number | null;
2896
- bgtCapturePercentage: string;
2897
- allTimeReceivedBGTAmount: string;
2891
+ rewardCapturePercentage: number;
2898
2892
  } | null;
2899
2893
  } | null;
2900
2894
  }>;
@@ -2951,8 +2945,7 @@ type GetPoolQuery = {
2951
2945
  __typename?: 'GqlRewardVaultDynamicData';
2952
2946
  activeIncentivesValueUsd: string;
2953
2947
  apr?: number | null;
2954
- bgtCapturePercentage: string;
2955
- allTimeReceivedBGTAmount: string;
2948
+ rewardCapturePercentage: number;
2956
2949
  } | null;
2957
2950
  } | null;
2958
2951
  } | {
@@ -3000,8 +2993,7 @@ type GetPoolQuery = {
3000
2993
  __typename?: 'GqlRewardVaultDynamicData';
3001
2994
  activeIncentivesValueUsd: string;
3002
2995
  apr?: number | null;
3003
- bgtCapturePercentage: string;
3004
- allTimeReceivedBGTAmount: string;
2996
+ rewardCapturePercentage: number;
3005
2997
  } | null;
3006
2998
  } | null;
3007
2999
  } | {
@@ -3049,8 +3041,7 @@ type GetPoolQuery = {
3049
3041
  __typename?: 'GqlRewardVaultDynamicData';
3050
3042
  activeIncentivesValueUsd: string;
3051
3043
  apr?: number | null;
3052
- bgtCapturePercentage: string;
3053
- allTimeReceivedBGTAmount: string;
3044
+ rewardCapturePercentage: number;
3054
3045
  } | null;
3055
3046
  } | null;
3056
3047
  } | {
@@ -3098,8 +3089,7 @@ type GetPoolQuery = {
3098
3089
  __typename?: 'GqlRewardVaultDynamicData';
3099
3090
  activeIncentivesValueUsd: string;
3100
3091
  apr?: number | null;
3101
- bgtCapturePercentage: string;
3102
- allTimeReceivedBGTAmount: string;
3092
+ rewardCapturePercentage: number;
3103
3093
  } | null;
3104
3094
  } | null;
3105
3095
  } | {
@@ -3147,8 +3137,7 @@ type GetPoolQuery = {
3147
3137
  __typename?: 'GqlRewardVaultDynamicData';
3148
3138
  activeIncentivesValueUsd: string;
3149
3139
  apr?: number | null;
3150
- bgtCapturePercentage: string;
3151
- allTimeReceivedBGTAmount: string;
3140
+ rewardCapturePercentage: number;
3152
3141
  } | null;
3153
3142
  } | null;
3154
3143
  } | {
@@ -3196,8 +3185,7 @@ type GetPoolQuery = {
3196
3185
  __typename?: 'GqlRewardVaultDynamicData';
3197
3186
  activeIncentivesValueUsd: string;
3198
3187
  apr?: number | null;
3199
- bgtCapturePercentage: string;
3200
- allTimeReceivedBGTAmount: string;
3188
+ rewardCapturePercentage: number;
3201
3189
  } | null;
3202
3190
  } | null;
3203
3191
  } | {
@@ -3245,8 +3233,7 @@ type GetPoolQuery = {
3245
3233
  __typename?: 'GqlRewardVaultDynamicData';
3246
3234
  activeIncentivesValueUsd: string;
3247
3235
  apr?: number | null;
3248
- bgtCapturePercentage: string;
3249
- allTimeReceivedBGTAmount: string;
3236
+ rewardCapturePercentage: number;
3250
3237
  } | null;
3251
3238
  } | null;
3252
3239
  } | {
@@ -3294,8 +3281,7 @@ type GetPoolQuery = {
3294
3281
  __typename?: 'GqlRewardVaultDynamicData';
3295
3282
  activeIncentivesValueUsd: string;
3296
3283
  apr?: number | null;
3297
- bgtCapturePercentage: string;
3298
- allTimeReceivedBGTAmount: string;
3284
+ rewardCapturePercentage: number;
3299
3285
  } | null;
3300
3286
  } | null;
3301
3287
  };
@@ -205,7 +205,7 @@ var GqlValidatorOrderBy = /* @__PURE__ */ ((GqlValidatorOrderBy2) => {
205
205
  GqlValidatorOrderBy2["LastDayEarnedBgtAmount"] = "lastDayEarnedBGTAmount";
206
206
  GqlValidatorOrderBy2["LastDayProposedBlockCount"] = "lastDayProposedBlockCount";
207
207
  GqlValidatorOrderBy2["QueuedBoostAmount"] = "queuedBoostAmount";
208
- GqlValidatorOrderBy2["QueuedDropBoostAmount"] = "queuedDropBoostAmount";
208
+ GqlValidatorOrderBy2["RewardCapturePercentage"] = "rewardCapturePercentage";
209
209
  GqlValidatorOrderBy2["RewardRate"] = "rewardRate";
210
210
  GqlValidatorOrderBy2["StakedBeraAmount"] = "stakedBeraAmount";
211
211
  GqlValidatorOrderBy2["UsersActiveBoostCount"] = "usersActiveBoostCount";
@@ -252,8 +252,7 @@ var RewardVault = gql`
252
252
  dynamicData {
253
253
  activeIncentivesValueUsd
254
254
  apr
255
- bgtCapturePercentage
256
- allTimeReceivedBGTAmount
255
+ rewardCapturePercentage
257
256
  }
258
257
  isVaultWhitelisted
259
258
  vaultAddress
@@ -272,7 +271,6 @@ var MinimalPoolInList = gql`
272
271
  name
273
272
  decimals
274
273
  }
275
- address
276
274
  protocolVersion
277
275
  type
278
276
  dynamicData {
@@ -294,7 +292,6 @@ var MinimalPool = gql`
294
292
  name
295
293
  address
296
294
  factory
297
- address
298
295
  protocolVersion
299
296
  type
300
297
  createTime
@@ -132,15 +132,11 @@ type GqlGlobalInfo = {
132
132
  * Calculated based on the last 24h emissions.
133
133
  */
134
134
  annualizedPoLEmissions: Scalars['Float']['output'];
135
- baseRewardRate: Scalars['String']['output'];
136
135
  chain: GqlChain;
137
- minBoostedRewardRate: Scalars['String']['output'];
138
- rewardRate: Scalars['String']['output'];
139
136
  totalActiveBoostAmount: Scalars['String']['output'];
140
137
  totalActiveIncentives: Scalars['Int']['output'];
141
138
  totalActiveIncentivesValueUSD: Scalars['String']['output'];
142
139
  totalActiveRewardVaults: Scalars['Int']['output'];
143
- totalBGTEarnedByValidators: Scalars['String']['output'];
144
140
  /** @deprecated Use totalDistributedRewards instead */
145
141
  totalDistributedBGTAmount: Scalars['String']['output'];
146
142
  /**
@@ -1809,7 +1805,10 @@ type GqlToken = {
1809
1805
  telegramUrl?: Maybe<Scalars['String']['output']>;
1810
1806
  /** Indicates if the token is tradable */
1811
1807
  tradable: Scalars['Boolean']['output'];
1812
- /** The Twitter username of the token */
1808
+ /**
1809
+ * The Twitter username of the token
1810
+ * @deprecated Twitter username is no longer supported
1811
+ */
1813
1812
  twitterUsername?: Maybe<Scalars['String']['output']>;
1814
1813
  /** The website URL of the token */
1815
1814
  websiteUrl?: Maybe<Scalars['String']['output']>;
@@ -1837,10 +1836,13 @@ declare enum GqlTokenChartDataRange {
1837
1836
  type GqlTokenData = {
1838
1837
  __typename?: 'GqlTokenData';
1839
1838
  description?: Maybe<Scalars['String']['output']>;
1839
+ /** @deprecated Discord URL is no longer supported */
1840
1840
  discordUrl?: Maybe<Scalars['String']['output']>;
1841
1841
  id: Scalars['ID']['output'];
1842
+ /** @deprecated Telegram URL is no longer supported */
1842
1843
  telegramUrl?: Maybe<Scalars['String']['output']>;
1843
1844
  tokenAddress: Scalars['Bytes']['output'];
1845
+ /** @deprecated Twitter username is no longer supported */
1844
1846
  twitterUsername?: Maybe<Scalars['String']['output']>;
1845
1847
  websiteUrl?: Maybe<Scalars['String']['output']>;
1846
1848
  };
@@ -2007,6 +2009,7 @@ type GqlValidatorDynamicData = {
2007
2009
  /** @deprecated Use allTimeDistributedRewards instead */
2008
2010
  allTimeDistributedBGTAmount: Scalars['String']['output'];
2009
2011
  allTimeDistributedRewards: Scalars['String']['output'];
2012
+ /** @deprecated Use allTimeEarnedRewards instead */
2010
2013
  allTimeEarnedBGTAmount: Scalars['String']['output'];
2011
2014
  allTimeEarnedRewards: Scalars['String']['output'];
2012
2015
  allTimeProposedBlockCount: Scalars['Int']['output'];
@@ -2019,8 +2022,10 @@ type GqlValidatorDynamicData = {
2019
2022
  boostApr: Scalars['Float']['output'];
2020
2023
  chain: GqlChain;
2021
2024
  commissionOnIncentives: Scalars['Int']['output'];
2025
+ /** @deprecated Use lastDayDistributedRewards instead */
2022
2026
  lastDayDistributedBGTAmount: Scalars['String']['output'];
2023
2027
  lastDayDistributedRewards: Scalars['String']['output'];
2028
+ /** @deprecated Use lastDayEarnedRewards instead */
2024
2029
  lastDayEarnedBGTAmount: Scalars['String']['output'];
2025
2030
  lastDayEarnedRewards: Scalars['String']['output'];
2026
2031
  lastDayProposedBlockCount: Scalars['Int']['output'];
@@ -2091,7 +2096,7 @@ declare enum GqlValidatorOrderBy {
2091
2096
  LastDayEarnedBgtAmount = "lastDayEarnedBGTAmount",
2092
2097
  LastDayProposedBlockCount = "lastDayProposedBlockCount",
2093
2098
  QueuedBoostAmount = "queuedBoostAmount",
2094
- QueuedDropBoostAmount = "queuedDropBoostAmount",
2099
+ RewardCapturePercentage = "rewardCapturePercentage",
2095
2100
  RewardRate = "rewardRate",
2096
2101
  StakedBeraAmount = "stakedBeraAmount",
2097
2102
  UsersActiveBoostCount = "usersActiveBoostCount",
@@ -2487,10 +2492,10 @@ type ApiVaultFragment = {
2487
2492
  address: `0x${string}`;
2488
2493
  dynamicData?: {
2489
2494
  __typename?: 'GqlRewardVaultDynamicData';
2490
- allTimeReceivedBGTAmount: string;
2495
+ allTimeRewards: string;
2491
2496
  apr?: number | null;
2492
- bgtCapturePercentage: string;
2493
- bgtCapturePerBlock: string;
2497
+ rewardCapturePercentage: number;
2498
+ rewardCapturePerBlock: number;
2494
2499
  activeIncentivesValueUsd: string;
2495
2500
  activeIncentivesRateUsd: string;
2496
2501
  tvl?: number | null;
@@ -2556,10 +2561,10 @@ type GetVaultsQuery = {
2556
2561
  address: `0x${string}`;
2557
2562
  dynamicData?: {
2558
2563
  __typename?: 'GqlRewardVaultDynamicData';
2559
- allTimeReceivedBGTAmount: string;
2564
+ allTimeRewards: string;
2560
2565
  apr?: number | null;
2561
- bgtCapturePercentage: string;
2562
- bgtCapturePerBlock: string;
2566
+ rewardCapturePercentage: number;
2567
+ rewardCapturePerBlock: number;
2563
2568
  activeIncentivesValueUsd: string;
2564
2569
  activeIncentivesRateUsd: string;
2565
2570
  tvl?: number | null;
@@ -2617,10 +2622,10 @@ type GetHeroEarnVaultsQuery = {
2617
2622
  address: `0x${string}`;
2618
2623
  dynamicData?: {
2619
2624
  __typename?: 'GqlRewardVaultDynamicData';
2620
- allTimeReceivedBGTAmount: string;
2625
+ allTimeRewards: string;
2621
2626
  apr?: number | null;
2622
- bgtCapturePercentage: string;
2623
- bgtCapturePerBlock: string;
2627
+ rewardCapturePercentage: number;
2628
+ rewardCapturePerBlock: number;
2624
2629
  activeIncentivesValueUsd: string;
2625
2630
  activeIncentivesRateUsd: string;
2626
2631
  tvl?: number | null;
@@ -2672,10 +2677,10 @@ type GetHeroEarnVaultsQuery = {
2672
2677
  address: `0x${string}`;
2673
2678
  dynamicData?: {
2674
2679
  __typename?: 'GqlRewardVaultDynamicData';
2675
- allTimeReceivedBGTAmount: string;
2680
+ allTimeRewards: string;
2676
2681
  apr?: number | null;
2677
- bgtCapturePercentage: string;
2678
- bgtCapturePerBlock: string;
2682
+ rewardCapturePercentage: number;
2683
+ rewardCapturePerBlock: number;
2679
2684
  activeIncentivesValueUsd: string;
2680
2685
  activeIncentivesRateUsd: string;
2681
2686
  tvl?: number | null;
@@ -2739,13 +2744,11 @@ type ApiValidatorMinimalFragment = {
2739
2744
  dynamicData?: {
2740
2745
  __typename?: 'GqlValidatorDynamicData';
2741
2746
  activeBoostAmount: string;
2742
- usersActiveBoostCount: number;
2743
2747
  queuedBoostAmount: string;
2744
- usersQueuedBoostCount: number;
2745
- allTimeDistributedBGTAmount: string;
2748
+ allTimeDistributedRewards: string;
2746
2749
  rewardRate: string;
2747
2750
  stakedBeraAmount: string;
2748
- lastDayDistributedBGTAmount: string;
2751
+ lastDayDistributedRewards: string;
2749
2752
  lastDayProposedBlockCount: number;
2750
2753
  activeBoostAmountRank: number;
2751
2754
  boostApr: number;
@@ -2772,10 +2775,10 @@ type ApiValidatorFragment = {
2772
2775
  address: `0x${string}`;
2773
2776
  dynamicData?: {
2774
2777
  __typename?: 'GqlRewardVaultDynamicData';
2775
- allTimeReceivedBGTAmount: string;
2778
+ allTimeRewards: string;
2776
2779
  apr?: number | null;
2777
- bgtCapturePercentage: string;
2778
- bgtCapturePerBlock: string;
2780
+ rewardCapturePercentage: number;
2781
+ rewardCapturePerBlock: number;
2779
2782
  activeIncentivesValueUsd: string;
2780
2783
  activeIncentivesRateUsd: string;
2781
2784
  tvl?: number | null;
@@ -2834,13 +2837,11 @@ type ApiValidatorFragment = {
2834
2837
  dynamicData?: {
2835
2838
  __typename?: 'GqlValidatorDynamicData';
2836
2839
  activeBoostAmount: string;
2837
- usersActiveBoostCount: number;
2838
2840
  queuedBoostAmount: string;
2839
- usersQueuedBoostCount: number;
2840
- allTimeDistributedBGTAmount: string;
2841
+ allTimeDistributedRewards: string;
2841
2842
  rewardRate: string;
2842
2843
  stakedBeraAmount: string;
2843
- lastDayDistributedBGTAmount: string;
2844
+ lastDayDistributedRewards: string;
2844
2845
  lastDayProposedBlockCount: number;
2845
2846
  activeBoostAmountRank: number;
2846
2847
  boostApr: number;
@@ -2923,13 +2924,11 @@ type ApiValidatorInListFragment = {
2923
2924
  dynamicData?: {
2924
2925
  __typename?: 'GqlValidatorDynamicData';
2925
2926
  activeBoostAmount: string;
2926
- usersActiveBoostCount: number;
2927
2927
  queuedBoostAmount: string;
2928
- usersQueuedBoostCount: number;
2929
- allTimeDistributedBGTAmount: string;
2928
+ allTimeDistributedRewards: string;
2930
2929
  rewardRate: string;
2931
2930
  stakedBeraAmount: string;
2932
- lastDayDistributedBGTAmount: string;
2931
+ lastDayDistributedRewards: string;
2933
2932
  lastDayProposedBlockCount: number;
2934
2933
  activeBoostAmountRank: number;
2935
2934
  boostApr: number;
@@ -2950,10 +2949,10 @@ type ApiRewardAllocationWeightFragment = {
2950
2949
  address: `0x${string}`;
2951
2950
  dynamicData?: {
2952
2951
  __typename?: 'GqlRewardVaultDynamicData';
2953
- allTimeReceivedBGTAmount: string;
2952
+ allTimeRewards: string;
2954
2953
  apr?: number | null;
2955
- bgtCapturePercentage: string;
2956
- bgtCapturePerBlock: string;
2954
+ rewardCapturePercentage: number;
2955
+ rewardCapturePerBlock: number;
2957
2956
  activeIncentivesValueUsd: string;
2958
2957
  activeIncentivesRateUsd: string;
2959
2958
  tvl?: number | null;
@@ -3028,10 +3027,10 @@ type GetValidatorQuery = {
3028
3027
  address: `0x${string}`;
3029
3028
  dynamicData?: {
3030
3029
  __typename?: 'GqlRewardVaultDynamicData';
3031
- allTimeReceivedBGTAmount: string;
3030
+ allTimeRewards: string;
3032
3031
  apr?: number | null;
3033
- bgtCapturePercentage: string;
3034
- bgtCapturePerBlock: string;
3032
+ rewardCapturePercentage: number;
3033
+ rewardCapturePerBlock: number;
3035
3034
  activeIncentivesValueUsd: string;
3036
3035
  activeIncentivesRateUsd: string;
3037
3036
  tvl?: number | null;
@@ -3090,13 +3089,11 @@ type GetValidatorQuery = {
3090
3089
  dynamicData?: {
3091
3090
  __typename?: 'GqlValidatorDynamicData';
3092
3091
  activeBoostAmount: string;
3093
- usersActiveBoostCount: number;
3094
3092
  queuedBoostAmount: string;
3095
- usersQueuedBoostCount: number;
3096
- allTimeDistributedBGTAmount: string;
3093
+ allTimeDistributedRewards: string;
3097
3094
  rewardRate: string;
3098
3095
  stakedBeraAmount: string;
3099
- lastDayDistributedBGTAmount: string;
3096
+ lastDayDistributedRewards: string;
3100
3097
  lastDayProposedBlockCount: number;
3101
3098
  activeBoostAmountRank: number;
3102
3099
  boostApr: number;
@@ -3171,13 +3168,11 @@ type GetValidatorsQuery = {
3171
3168
  dynamicData?: {
3172
3169
  __typename?: 'GqlValidatorDynamicData';
3173
3170
  activeBoostAmount: string;
3174
- usersActiveBoostCount: number;
3175
3171
  queuedBoostAmount: string;
3176
- usersQueuedBoostCount: number;
3177
- allTimeDistributedBGTAmount: string;
3172
+ allTimeDistributedRewards: string;
3178
3173
  rewardRate: string;
3179
3174
  stakedBeraAmount: string;
3180
- lastDayDistributedBGTAmount: string;
3175
+ lastDayDistributedRewards: string;
3181
3176
  lastDayProposedBlockCount: number;
3182
3177
  activeBoostAmountRank: number;
3183
3178
  boostApr: number;
@@ -3220,10 +3215,10 @@ type GetVaultValidatorsQuery = {
3220
3215
  address: `0x${string}`;
3221
3216
  dynamicData?: {
3222
3217
  __typename?: 'GqlRewardVaultDynamicData';
3223
- allTimeReceivedBGTAmount: string;
3218
+ allTimeRewards: string;
3224
3219
  apr?: number | null;
3225
- bgtCapturePercentage: string;
3226
- bgtCapturePerBlock: string;
3220
+ rewardCapturePercentage: number;
3221
+ rewardCapturePerBlock: number;
3227
3222
  activeIncentivesValueUsd: string;
3228
3223
  activeIncentivesRateUsd: string;
3229
3224
  tvl?: number | null;
@@ -3282,13 +3277,11 @@ type GetVaultValidatorsQuery = {
3282
3277
  dynamicData?: {
3283
3278
  __typename?: 'GqlValidatorDynamicData';
3284
3279
  activeBoostAmount: string;
3285
- usersActiveBoostCount: number;
3286
3280
  queuedBoostAmount: string;
3287
- usersQueuedBoostCount: number;
3288
- allTimeDistributedBGTAmount: string;
3281
+ allTimeDistributedRewards: string;
3289
3282
  rewardRate: string;
3290
3283
  stakedBeraAmount: string;
3291
- lastDayDistributedBGTAmount: string;
3284
+ lastDayDistributedRewards: string;
3292
3285
  lastDayProposedBlockCount: number;
3293
3286
  activeBoostAmountRank: number;
3294
3287
  boostApr: number;
@@ -3312,10 +3305,10 @@ type GetRewardVaultQuery = {
3312
3305
  address: `0x${string}`;
3313
3306
  dynamicData?: {
3314
3307
  __typename?: 'GqlRewardVaultDynamicData';
3315
- allTimeReceivedBGTAmount: string;
3308
+ allTimeRewards: string;
3316
3309
  apr?: number | null;
3317
- bgtCapturePercentage: string;
3318
- bgtCapturePerBlock: string;
3310
+ rewardCapturePercentage: number;
3311
+ rewardCapturePerBlock: number;
3319
3312
  activeIncentivesValueUsd: string;
3320
3313
  activeIncentivesRateUsd: string;
3321
3314
  tvl?: number | null;
@@ -3382,13 +3375,11 @@ type GlobalDataQuery = {
3382
3375
  dynamicData?: {
3383
3376
  __typename?: 'GqlValidatorDynamicData';
3384
3377
  activeBoostAmount: string;
3385
- usersActiveBoostCount: number;
3386
3378
  queuedBoostAmount: string;
3387
- usersQueuedBoostCount: number;
3388
- allTimeDistributedBGTAmount: string;
3379
+ allTimeDistributedRewards: string;
3389
3380
  rewardRate: string;
3390
3381
  stakedBeraAmount: string;
3391
- lastDayDistributedBGTAmount: string;
3382
+ lastDayDistributedRewards: string;
3392
3383
  lastDayProposedBlockCount: number;
3393
3384
  activeBoostAmountRank: number;
3394
3385
  boostApr: number;
@@ -3398,16 +3389,13 @@ type GlobalDataQuery = {
3398
3389
  };
3399
3390
  polGetGlobalInfo?: {
3400
3391
  __typename?: 'GqlGlobalInfo';
3401
- totalActiveBoostAmount: string;
3402
3392
  totalValidatorsCount: number;
3403
- totalWhitelistedRewardVaults: number;
3404
3393
  totalActiveRewardVaults: number;
3405
3394
  totalActiveIncentives: number;
3406
3395
  totalActiveIncentivesValueUSD: string;
3407
- totalDistributedBGTAmount: string;
3408
3396
  totalStakedBeraAmount: string;
3409
- annualizedBGTEmission: string;
3410
- annualizedBGTInflation: string;
3397
+ annualizedPoLEmissions: number;
3398
+ annualizedInflation: number;
3411
3399
  } | null;
3412
3400
  allValidatorsCount: {
3413
3401
  __typename?: 'PaginatedValidatorsResponse';
@@ -3443,10 +3431,10 @@ type GetUserVaultsQuery = {
3443
3431
  address: `0x${string}`;
3444
3432
  dynamicData?: {
3445
3433
  __typename?: 'GqlRewardVaultDynamicData';
3446
- allTimeReceivedBGTAmount: string;
3434
+ allTimeRewards: string;
3447
3435
  apr?: number | null;
3448
- bgtCapturePercentage: string;
3449
- bgtCapturePerBlock: string;
3436
+ rewardCapturePercentage: number;
3437
+ rewardCapturePerBlock: number;
3450
3438
  activeIncentivesValueUsd: string;
3451
3439
  activeIncentivesRateUsd: string;
3452
3440
  tvl?: number | null;
@@ -205,7 +205,7 @@ var GqlValidatorOrderBy = /* @__PURE__ */ ((GqlValidatorOrderBy2) => {
205
205
  GqlValidatorOrderBy2["LastDayEarnedBgtAmount"] = "lastDayEarnedBGTAmount";
206
206
  GqlValidatorOrderBy2["LastDayProposedBlockCount"] = "lastDayProposedBlockCount";
207
207
  GqlValidatorOrderBy2["QueuedBoostAmount"] = "queuedBoostAmount";
208
- GqlValidatorOrderBy2["QueuedDropBoostAmount"] = "queuedDropBoostAmount";
208
+ GqlValidatorOrderBy2["RewardCapturePercentage"] = "rewardCapturePercentage";
209
209
  GqlValidatorOrderBy2["RewardRate"] = "rewardRate";
210
210
  GqlValidatorOrderBy2["StakedBeraAmount"] = "stakedBeraAmount";
211
211
  GqlValidatorOrderBy2["UsersActiveBoostCount"] = "usersActiveBoostCount";
@@ -251,13 +251,11 @@ var ApiValidatorMinimal = gql`
251
251
  }
252
252
  dynamicData {
253
253
  activeBoostAmount
254
- usersActiveBoostCount
255
254
  queuedBoostAmount
256
- usersQueuedBoostCount
257
- allTimeDistributedBGTAmount
255
+ allTimeDistributedRewards
258
256
  rewardRate
259
257
  stakedBeraAmount
260
- lastDayDistributedBGTAmount
258
+ lastDayDistributedRewards
261
259
  lastDayProposedBlockCount
262
260
  activeBoostAmountRank
263
261
  boostApr
@@ -288,13 +286,12 @@ var ApiVault = gql`
288
286
  address: vaultAddress
289
287
  isVaultWhitelisted
290
288
  dynamicData {
291
- allTimeReceivedBGTAmount
289
+ allTimeRewards
292
290
  apr
293
- bgtCapturePercentage
294
- bgtCapturePerBlock
291
+ rewardCapturePercentage
292
+ rewardCapturePerBlock
295
293
  activeIncentivesValueUsd
296
294
  activeIncentivesRateUsd
297
- bgtCapturePerBlock
298
295
  tvl
299
296
  }
300
297
  stakingTokenAmount
@@ -420,7 +417,7 @@ var ApiValidatorBlockUptime = gql`
420
417
  }
421
418
  `;
422
419
  var GetVaults = gql`
423
- query GetVaults($where: GqlRewardVaultFilter, $pageSize: Int, $skip: Int, $orderBy: GqlRewardVaultOrderBy = bgtCapturePercentage, $orderDirection: GqlRewardVaultOrderDirection = desc, $search: String) {
420
+ query GetVaults($where: GqlRewardVaultFilter, $pageSize: Int, $skip: Int, $orderBy: GqlRewardVaultOrderBy = rewardCapturePercentage, $orderDirection: GqlRewardVaultOrderDirection = desc, $search: String) {
424
421
  polGetRewardVaults(
425
422
  where: $where
426
423
  first: $pageSize
@@ -531,7 +528,7 @@ var GetRewardVault = gql`
531
528
  var GlobalData = gql`
532
529
  query GlobalData($chain: GqlChain!) {
533
530
  top3EmittingValidators: polGetValidators(
534
- orderBy: bgtCapturePercentage
531
+ orderBy: rewardCapturePercentage
535
532
  orderDirection: desc
536
533
  first: 3
537
534
  ) {
@@ -544,16 +541,13 @@ var GlobalData = gql`
544
541
  }
545
542
  }
546
543
  polGetGlobalInfo(chain: $chain) {
547
- totalActiveBoostAmount
548
544
  totalValidatorsCount
549
- totalWhitelistedRewardVaults
550
545
  totalActiveRewardVaults
551
546
  totalActiveIncentives
552
547
  totalActiveIncentivesValueUSD
553
- totalDistributedBGTAmount
554
548
  totalStakedBeraAmount
555
- annualizedBGTEmission
556
- annualizedBGTInflation
549
+ annualizedPoLEmissions
550
+ annualizedInflation
557
551
  }
558
552
  allValidatorsCount: polGetValidators {
559
553
  pagination {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@berachain/graphql",
3
- "version": "0.4.17",
3
+ "version": "0.4.18-beta.1",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -32,7 +32,7 @@
32
32
  "openapi-typescript": "7.13.0",
33
33
  "tsup": "8.5.1",
34
34
  "typescript": "5.5.4",
35
- "@berachain/config": "^0.1.15-beta.5"
35
+ "@berachain/config": "^0.1.17-beta.1"
36
36
  },
37
37
  "exports": {
38
38
  "./governance": {