@berachain/graphql 0.4.18-beta.0 → 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
|
-
/**
|
|
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
|
-
|
|
1999
|
+
RewardCapturePercentage = "rewardCapturePercentage",
|
|
1995
2000
|
RewardRate = "rewardRate",
|
|
1996
2001
|
StakedBeraAmount = "stakedBeraAmount",
|
|
1997
2002
|
UsersActiveBoostCount = "usersActiveBoostCount",
|
package/dist/dex/api.codegen.mjs
CHANGED
|
@@ -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["
|
|
208
|
+
GqlValidatorOrderBy2["RewardCapturePercentage"] = "rewardCapturePercentage";
|
|
209
209
|
GqlValidatorOrderBy2["RewardRate"] = "rewardRate";
|
|
210
210
|
GqlValidatorOrderBy2["StakedBeraAmount"] = "stakedBeraAmount";
|
|
211
211
|
GqlValidatorOrderBy2["UsersActiveBoostCount"] = "usersActiveBoostCount";
|
|
@@ -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
|
-
/**
|
|
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
|
-
|
|
2099
|
+
RewardCapturePercentage = "rewardCapturePercentage",
|
|
2095
2100
|
RewardRate = "rewardRate",
|
|
2096
2101
|
StakedBeraAmount = "stakedBeraAmount",
|
|
2097
2102
|
UsersActiveBoostCount = "usersActiveBoostCount",
|
|
@@ -2743,7 +2748,7 @@ type ApiValidatorMinimalFragment = {
|
|
|
2743
2748
|
allTimeDistributedRewards: string;
|
|
2744
2749
|
rewardRate: string;
|
|
2745
2750
|
stakedBeraAmount: string;
|
|
2746
|
-
|
|
2751
|
+
lastDayDistributedRewards: string;
|
|
2747
2752
|
lastDayProposedBlockCount: number;
|
|
2748
2753
|
activeBoostAmountRank: number;
|
|
2749
2754
|
boostApr: number;
|
|
@@ -2836,7 +2841,7 @@ type ApiValidatorFragment = {
|
|
|
2836
2841
|
allTimeDistributedRewards: string;
|
|
2837
2842
|
rewardRate: string;
|
|
2838
2843
|
stakedBeraAmount: string;
|
|
2839
|
-
|
|
2844
|
+
lastDayDistributedRewards: string;
|
|
2840
2845
|
lastDayProposedBlockCount: number;
|
|
2841
2846
|
activeBoostAmountRank: number;
|
|
2842
2847
|
boostApr: number;
|
|
@@ -2923,7 +2928,7 @@ type ApiValidatorInListFragment = {
|
|
|
2923
2928
|
allTimeDistributedRewards: string;
|
|
2924
2929
|
rewardRate: string;
|
|
2925
2930
|
stakedBeraAmount: string;
|
|
2926
|
-
|
|
2931
|
+
lastDayDistributedRewards: string;
|
|
2927
2932
|
lastDayProposedBlockCount: number;
|
|
2928
2933
|
activeBoostAmountRank: number;
|
|
2929
2934
|
boostApr: number;
|
|
@@ -3088,7 +3093,7 @@ type GetValidatorQuery = {
|
|
|
3088
3093
|
allTimeDistributedRewards: string;
|
|
3089
3094
|
rewardRate: string;
|
|
3090
3095
|
stakedBeraAmount: string;
|
|
3091
|
-
|
|
3096
|
+
lastDayDistributedRewards: string;
|
|
3092
3097
|
lastDayProposedBlockCount: number;
|
|
3093
3098
|
activeBoostAmountRank: number;
|
|
3094
3099
|
boostApr: number;
|
|
@@ -3167,7 +3172,7 @@ type GetValidatorsQuery = {
|
|
|
3167
3172
|
allTimeDistributedRewards: string;
|
|
3168
3173
|
rewardRate: string;
|
|
3169
3174
|
stakedBeraAmount: string;
|
|
3170
|
-
|
|
3175
|
+
lastDayDistributedRewards: string;
|
|
3171
3176
|
lastDayProposedBlockCount: number;
|
|
3172
3177
|
activeBoostAmountRank: number;
|
|
3173
3178
|
boostApr: number;
|
|
@@ -3276,7 +3281,7 @@ type GetVaultValidatorsQuery = {
|
|
|
3276
3281
|
allTimeDistributedRewards: string;
|
|
3277
3282
|
rewardRate: string;
|
|
3278
3283
|
stakedBeraAmount: string;
|
|
3279
|
-
|
|
3284
|
+
lastDayDistributedRewards: string;
|
|
3280
3285
|
lastDayProposedBlockCount: number;
|
|
3281
3286
|
activeBoostAmountRank: number;
|
|
3282
3287
|
boostApr: number;
|
|
@@ -3374,7 +3379,7 @@ type GlobalDataQuery = {
|
|
|
3374
3379
|
allTimeDistributedRewards: string;
|
|
3375
3380
|
rewardRate: string;
|
|
3376
3381
|
stakedBeraAmount: string;
|
|
3377
|
-
|
|
3382
|
+
lastDayDistributedRewards: string;
|
|
3378
3383
|
lastDayProposedBlockCount: number;
|
|
3379
3384
|
activeBoostAmountRank: number;
|
|
3380
3385
|
boostApr: number;
|
package/dist/pol/api.codegen.mjs
CHANGED
|
@@ -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["
|
|
208
|
+
GqlValidatorOrderBy2["RewardCapturePercentage"] = "rewardCapturePercentage";
|
|
209
209
|
GqlValidatorOrderBy2["RewardRate"] = "rewardRate";
|
|
210
210
|
GqlValidatorOrderBy2["StakedBeraAmount"] = "stakedBeraAmount";
|
|
211
211
|
GqlValidatorOrderBy2["UsersActiveBoostCount"] = "usersActiveBoostCount";
|
|
@@ -255,7 +255,7 @@ var ApiValidatorMinimal = gql`
|
|
|
255
255
|
allTimeDistributedRewards
|
|
256
256
|
rewardRate
|
|
257
257
|
stakedBeraAmount
|
|
258
|
-
|
|
258
|
+
lastDayDistributedRewards
|
|
259
259
|
lastDayProposedBlockCount
|
|
260
260
|
activeBoostAmountRank
|
|
261
261
|
boostApr
|
|
@@ -528,7 +528,7 @@ var GetRewardVault = gql`
|
|
|
528
528
|
var GlobalData = gql`
|
|
529
529
|
query GlobalData($chain: GqlChain!) {
|
|
530
530
|
top3EmittingValidators: polGetValidators(
|
|
531
|
-
orderBy:
|
|
531
|
+
orderBy: rewardCapturePercentage
|
|
532
532
|
orderDirection: desc
|
|
533
533
|
first: 3
|
|
534
534
|
) {
|