@berachain/graphql 0.4.3 → 0.4.5
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/bend/whisk.codegen.cjs +18 -12
- package/dist/bend/whisk.codegen.d.cts +544 -189
- package/dist/bend/whisk.codegen.d.ts +544 -189
- package/dist/bend/whisk.codegen.mjs +22 -16
- package/dist/chain/chain.codegen.d.cts +2 -2
- package/dist/chain/chain.codegen.d.ts +2 -2
- package/dist/dex/api.codegen.cjs +1 -1
- package/dist/dex/api.codegen.d.cts +18 -38
- package/dist/dex/api.codegen.d.ts +18 -38
- package/dist/dex/api.codegen.mjs +2 -2
- package/dist/dex/subgraph.codegen.d.cts +9 -9
- package/dist/dex/subgraph.codegen.d.ts +9 -9
- package/dist/governance/governance.codegen.d.cts +9 -9
- package/dist/governance/governance.codegen.d.ts +9 -9
- package/dist/honey/honey.codegen.d.cts +7 -7
- package/dist/honey/honey.codegen.d.ts +7 -7
- package/dist/pol/api.codegen.cjs +18 -36
- package/dist/pol/api.codegen.d.cts +18 -66
- package/dist/pol/api.codegen.d.ts +18 -66
- package/dist/pol/api.codegen.mjs +17 -35
- package/dist/pol/subgraph.codegen.d.cts +19 -19
- package/dist/pol/subgraph.codegen.d.ts +19 -19
- package/package.json +6 -8
package/dist/pol/api.codegen.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{gql as
|
|
1
|
+
import{gql as r}from"@apollo/client";var d=(t=>(t.Bepolia="BEPOLIA",t.Berachain="BERACHAIN",t))(d||{}),g=(a=>(a.Discord="discord",a.Medium="medium",a.Twitter="twitter",a))(g||{}),m=(i=>(i.Aura="AURA",i.IbYield="IB_YIELD",i.Locking="LOCKING",i.MabeetsEmissions="MABEETS_EMISSIONS",i.Merkl="MERKL",i.Nested="NESTED",i.Staking="STAKING",i.StakingBoost="STAKING_BOOST",i.Surplus="SURPLUS",i.SwapFee="SWAP_FEE",i.VebalEmissions="VEBAL_EMISSIONS",i.Voting="VOTING",i))(m||{}),G=(a=>(a.Add="ADD",a.Remove="REMOVE",a.Swap="SWAP",a))(G||{}),A=(a=>(a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(A||{}),b=(u=>(u.BlackListed="BLACK_LISTED",u.Incentivized="INCENTIVIZED",u.Lrt="LRT",u.Points="POINTS",u.PointsEigenlayer="POINTS_EIGENLAYER",u.PointsGyro="POINTS_GYRO",u.PointsKelp="POINTS_KELP",u.PointsRenzo="POINTS_RENZO",u.PointsSwell="POINTS_SWELL",u.Superfest="SUPERFEST",u))(b||{}),I=(t=>(t.Exit="Exit",t.Join="Join",t))(I||{}),q=(a=>(a.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",a.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",a.NoNesting="NO_NESTING",a))(q||{}),P=(o=>(o.Apr="apr",o.BgtApr="bgtApr",o.CombinedApr="combinedApr",o.Fees24h="fees24h",o.TotalLiquidity="totalLiquidity",o.TotalShares="totalShares",o.UserbalanceUsd="userbalanceUsd",o.Volume24h="volume24h",o))(P||{}),B=(t=>(t.Asc="asc",t.Desc="desc",t))(B||{}),h=(e=>(e.AllTime="ALL_TIME",e.NinetyDays="NINETY_DAYS",e.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",e.OneYear="ONE_YEAR",e.ThirtyDays="THIRTY_DAYS",e))(h||{}),k=(s=>(s.ComposableStable="COMPOSABLE_STABLE",s.CowAmm="COW_AMM",s.Element="ELEMENT",s.Fx="FX",s.Gyro="GYRO",s.Gyro3="GYRO3",s.Gyroe="GYROE",s.Investment="INVESTMENT",s.LiquidityBootstrapping="LIQUIDITY_BOOTSTRAPPING",s.MetaStable="META_STABLE",s.PhantomStable="PHANTOM_STABLE",s.Stable="STABLE",s.Unknown="UNKNOWN",s.Weighted="WEIGHTED",s))(k||{}),D=(a=>(a.AmountRemaining="amountRemaining",a.AmountRemainingUsd="amountRemainingUsd",a.IncentiveRate="incentiveRate",a))(D||{}),_=(t=>(t.Asc="asc",t.Desc="desc",t))(_||{}),v=(o=>(o.ActiveIncentivesRateUsd="activeIncentivesRateUsd",o.ActiveIncentivesValueUsd="activeIncentivesValueUsd",o.AllTimeBgtReceived="allTimeBGTReceived",o.Apr="apr",o.Apy="apy",o.BgtCapturePercentage="bgtCapturePercentage",o.Last24hBgtReceived="last24hBGTReceived",o.ProjectedApr="projectedApr",o))(v||{}),M=(t=>(t.Asc="asc",t.Desc="desc",t))(M||{}),T=(l=>(l.NinetyDays="NINETY_DAYS",l.SevenDays="SEVEN_DAYS",l.SixtyDays="SIXTY_DAYS",l.ThirtyDays="THIRTY_DAYS",l))(T||{}),x=(t=>(t.Day="DAY",t.Hour="HOUR",t))(x||{}),V=(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(V||{}),w=(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(w||{}),R=(t=>(t.Deposit="DEPOSIT",t.WithdrawalCompleted="WITHDRAWAL_COMPLETED",t))(R||{}),C=(e=>(e.NinetyDay="NINETY_DAY",e.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",e.OneYear="ONE_YEAR",e.SevenDay="SEVEN_DAY",e.ThirtyDay="THIRTY_DAY",e))(C||{}),U=(a=>(a.Bpt="BPT",a.PhantomBpt="PHANTOM_BPT",a.WhiteListed="WHITE_LISTED",a))(U||{}),E=(y=>(y.Amount="amount",y))(E||{}),$=(t=>(t.Asc="asc",t.Desc="desc",t))($||{}),F=(l=>(l.Inactive="INACTIVE",l.Offline="OFFLINE",l.Proposed="PROPOSED",l.Signed="SIGNED",l))(F||{}),f=(e=>(e.ActiveBoostAmount="activeBoostAmount",e.LatestBlock="latestBlock",e.LatestBlockTime="latestBlockTime",e.QueuedBoostAmount="queuedBoostAmount",e.QueuedDropBoostAmount="queuedDropBoostAmount",e))(f||{}),N=(t=>(t.Asc="asc",t.Desc="desc",t))(N||{}),W=(n=>(n.ActiveBoostAmount="activeBoostAmount",n.AllTimeDistributedBgtAmount="allTimeDistributedBGTAmount",n.AllTimeEarnedBgtAmount="allTimeEarnedBGTAmount",n.Apy="apy",n.BgtCapturePercentage="bgtCapturePercentage",n.BoostApr="boostApr",n.CommissionOnIncentives="commissionOnIncentives",n.LastDayDistributedBgtAmount="lastDayDistributedBGTAmount",n.LastDayEarnedBgtAmount="lastDayEarnedBGTAmount",n.QueuedBoostAmount="queuedBoostAmount",n.QueuedDropBoostAmount="queuedDropBoostAmount",n.RewardRate="rewardRate",n.StakedBeraAmount="stakedBeraAmount",n.UsersActiveBoostCount="usersActiveBoostCount",n.UsersQueuedBoostCount="usersQueuedBoostCount",n))(W||{}),Q=(t=>(t.Asc="asc",t.Desc="desc",t))(Q||{}),H=(l=>(l.NinetyDays="NINETY_DAYS",l.SevenDays="SEVEN_DAYS",l.SixtyDays="SIXTY_DAYS",l.ThirtyDays="THIRTY_DAYS",l))(H||{}),S=r`
|
|
2
2
|
fragment ApiValidatorMinimal on GqlValidator {
|
|
3
3
|
id
|
|
4
4
|
pubkey
|
|
@@ -22,7 +22,7 @@ import{gql as e}from"@apollo/client";var g=(t=>(t.Bepolia="BEPOLIA",t.Berachain=
|
|
|
22
22
|
commissionOnIncentives
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
`,
|
|
25
|
+
`,O=r`
|
|
26
26
|
fragment ApiVaultIncentive on GqlRewardVaultIncentive {
|
|
27
27
|
active
|
|
28
28
|
remainingAmount
|
|
@@ -37,7 +37,7 @@ import{gql as e}from"@apollo/client";var g=(t=>(t.Bepolia="BEPOLIA",t.Berachain=
|
|
|
37
37
|
decimals
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
`,p=
|
|
40
|
+
`,p=r`
|
|
41
41
|
fragment ApiVault on GqlRewardVault {
|
|
42
42
|
id: vaultAddress
|
|
43
43
|
vaultAddress
|
|
@@ -74,7 +74,7 @@ import{gql as e}from"@apollo/client";var g=(t=>(t.Bepolia="BEPOLIA",t.Berachain=
|
|
|
74
74
|
...ApiVaultIncentive
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
${
|
|
77
|
+
${O}`,L=r`
|
|
78
78
|
fragment ApiRewardAllocationWeight on GqlValidatorRewardAllocationWeight {
|
|
79
79
|
percentage
|
|
80
80
|
receivingVault {
|
|
@@ -83,7 +83,7 @@ import{gql as e}from"@apollo/client";var g=(t=>(t.Bepolia="BEPOLIA",t.Berachain=
|
|
|
83
83
|
receiver
|
|
84
84
|
startBlock
|
|
85
85
|
}
|
|
86
|
-
${p}`,c=
|
|
86
|
+
${p}`,c=r`
|
|
87
87
|
fragment ApiValidator on GqlValidator {
|
|
88
88
|
...ApiValidatorMinimal
|
|
89
89
|
operator
|
|
@@ -105,7 +105,7 @@ import{gql as e}from"@apollo/client";var g=(t=>(t.Bepolia="BEPOLIA",t.Berachain=
|
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
${S}
|
|
108
|
-
${L}`,Y=
|
|
108
|
+
${L}`,Y=r`
|
|
109
109
|
fragment ApiValidatorBlockUptime on GqlValidatorBlockUptime {
|
|
110
110
|
isActive
|
|
111
111
|
isProposer
|
|
@@ -113,7 +113,7 @@ ${L}`,Y=e`
|
|
|
113
113
|
status
|
|
114
114
|
blockNumber
|
|
115
115
|
}
|
|
116
|
-
`,J=
|
|
116
|
+
`,J=r`
|
|
117
117
|
query GetVaults($where: GqlRewardVaultFilter, $pageSize: Int, $skip: Int, $orderBy: GqlRewardVaultOrderBy = bgtCapturePercentage, $orderDirection: GqlRewardVaultOrderDirection = desc, $search: String) {
|
|
118
118
|
polGetRewardVaults(
|
|
119
119
|
where: $where
|
|
@@ -132,7 +132,7 @@ ${L}`,Y=e`
|
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
|
-
${p}`,X=
|
|
135
|
+
${p}`,X=r`
|
|
136
136
|
query GetValidator($id: String!, $chain: GqlChain!) {
|
|
137
137
|
validator: polGetValidator(validatorId: $id, chain: $chain) {
|
|
138
138
|
...ApiValidator
|
|
@@ -142,7 +142,7 @@ ${L}`,Y=e`
|
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
${c}
|
|
145
|
-
${Y}`,j=
|
|
145
|
+
${Y}`,j=r`
|
|
146
146
|
query GetValidators($where: GqlValidatorFilter, $sortBy: GqlValidatorOrderBy = lastDayDistributedBGTAmount, $sortOrder: GqlValidatorOrderDirection = desc, $pageSize: Int, $skip: Int, $search: String, $chain: GqlChain) {
|
|
147
147
|
validators: polGetValidators(
|
|
148
148
|
where: $where
|
|
@@ -164,7 +164,7 @@ ${Y}`,j=e`
|
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
|
-
${c}`,Z=
|
|
167
|
+
${c}`,Z=r`
|
|
168
168
|
query GetVaultValidators($vaultId: String!, $chain: GqlChain, $isActive: Boolean = true) {
|
|
169
169
|
validators: polGetValidators(
|
|
170
170
|
where: {vaultAddress: $vaultId, isActive: $isActive}
|
|
@@ -181,13 +181,13 @@ ${Y}`,j=e`
|
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
|
-
${c}`,tt=
|
|
184
|
+
${c}`,tt=r`
|
|
185
185
|
query GetRewardVault($vaultId: String!, $chain: GqlChain!) {
|
|
186
186
|
rewardVault: polGetRewardVault(vaultAddress: $vaultId, chain: $chain) {
|
|
187
187
|
...ApiVault
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
${p}`,at=
|
|
190
|
+
${p}`,at=r`
|
|
191
191
|
query GlobalData($chain: GqlChain!) {
|
|
192
192
|
top3EmittingValidators: polGetValidators(
|
|
193
193
|
orderBy: bgtCapturePercentage
|
|
@@ -220,7 +220,7 @@ ${Y}`,j=e`
|
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
|
-
${S}`,et=
|
|
223
|
+
${S}`,et=r`
|
|
224
224
|
query GetUserVaults($userId: String!, $chain: GqlChain!) {
|
|
225
225
|
userVaultDeposits: polGetUserVaultDeposits(userAddress: $userId, chain: $chain) {
|
|
226
226
|
pagination {
|
|
@@ -236,7 +236,7 @@ ${Y}`,j=e`
|
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
|
-
${p}`,ot=
|
|
239
|
+
${p}`,ot=r`
|
|
240
240
|
query GetVaultHistory($vaultId: String!, $chain: GqlChain!, $resolution: GqlRewardVaultSnapshotResolution = DAY, $range: GqlRewardVaultSnapshotDataRange = THIRTY_DAYS) {
|
|
241
241
|
polGetRewardVaultSnapshots(
|
|
242
242
|
chain: $chain
|
|
@@ -249,14 +249,14 @@ ${Y}`,j=e`
|
|
|
249
249
|
apr
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
|
-
`,rt=
|
|
252
|
+
`,rt=r`
|
|
253
253
|
query GetSWberaVaultMetadata($chain: GqlChain!, $resolution: GqlSWberaVaultMetadataResolution) {
|
|
254
254
|
polGetSWberaVaultMetadata(chain: $chain, resolution: $resolution) {
|
|
255
255
|
apr
|
|
256
256
|
chain
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
|
-
`,nt=
|
|
259
|
+
`,nt=r`
|
|
260
260
|
query GetSWberaVaultSnapshots($chain: GqlChain!, $range: GqlVaultSnapshotDataRange) {
|
|
261
261
|
polGetSWberaVaultSnapshots(chain: $chain, range: $range) {
|
|
262
262
|
apr
|
|
@@ -267,22 +267,4 @@ ${Y}`,j=e`
|
|
|
267
267
|
vaultAddress
|
|
268
268
|
}
|
|
269
269
|
}
|
|
270
|
-
`,lt=
|
|
271
|
-
query GetPolStakeBeraVaultEventsByOwner($owner: String!) {
|
|
272
|
-
events: polGetStakeBeraVaultEventsByOwner(owner: $owner) {
|
|
273
|
-
type
|
|
274
|
-
assets
|
|
275
|
-
shares
|
|
276
|
-
owner
|
|
277
|
-
_id
|
|
278
|
-
_timestamp
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
`,st=e`
|
|
282
|
-
query GetStakeBeraVaultEarningsByOwner($owner: String!) {
|
|
283
|
-
polGetStakeBeraVaultEarningsByOwner(owner: $owner) {
|
|
284
|
-
earnings
|
|
285
|
-
owner
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
`,z={possibleTypes:{GqlPoolAprValue:["GqlPoolAprRange","GqlPoolAprTotal"],GqlPoolBase:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"],GqlPoolEvent:["GqlPoolAddRemoveEventV3","GqlPoolSwapEventCowAmm","GqlPoolSwapEventV3"],GqlPoolFeaturedPoolGroupItem:["GqlFeaturePoolGroupItemExternalLink","GqlPoolMinimal"],GqlPoolNestedUnion:["GqlPoolComposableStableNested"],GqlPoolTokenBase:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolTokenComposableStableNestedUnion:["GqlPoolToken"],GqlPoolTokenUnion:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolUnion:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"]}},it=z;export{L as ApiRewardAllocationWeight,c as ApiValidator,Y as ApiValidatorBlockUptime,S as ApiValidatorMinimal,p as ApiVault,H as ApiVaultIncentive,lt as GetPolStakeBeraVaultEventsByOwner,tt as GetRewardVault,rt as GetSWberaVaultMetadata,nt as GetSWberaVaultSnapshots,st as GetStakeBeraVaultEarningsByOwner,et as GetUserVaults,X as GetValidator,j as GetValidators,ot as GetVaultHistory,Z as GetVaultValidators,J as GetVaults,at as GlobalData,g as GqlChain,d as GqlContentNewsItemSource,m as GqlPoolAprItemType,G as GqlPoolEventType,A as GqlPoolEventsDataRange,b as GqlPoolFilterCategory,I as GqlPoolJoinExitType,q as GqlPoolNestingType,P as GqlPoolOrderBy,B as GqlPoolOrderDirection,k as GqlPoolSnapshotDataRange,h as GqlPoolType,_ as GqlRewardVaultIncentiveOrderBy,D as GqlRewardVaultIncentiveOrderDirection,v as GqlRewardVaultOrderBy,M as GqlRewardVaultOrderDirection,T as GqlRewardVaultSnapshotDataRange,x as GqlRewardVaultSnapshotResolution,V as GqlSWberaVaultMetadataResolution,w as GqlSorSwapType,R as GqlStakeBeraVaultEventType,C as GqlTokenChartDataRange,E as GqlTokenType,U as GqlUserVaultDepositOrderBy,$ as GqlUserVaultDepositOrderDirection,F as GqlValidatorBlockUptimeStatus,f as GqlValidatorBoostOrderBy,N as GqlValidatorBoostOrderDirection,Q as GqlValidatorOrderBy,W as GqlValidatorOrderDirection,O as GqlVaultSnapshotDataRange,it as default};
|
|
270
|
+
`,z={possibleTypes:{GqlPoolAprValue:["GqlPoolAprRange","GqlPoolAprTotal"],GqlPoolBase:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"],GqlPoolEvent:["GqlPoolAddRemoveEventV3","GqlPoolSwapEventCowAmm","GqlPoolSwapEventV3"],GqlPoolFeaturedPoolGroupItem:["GqlFeaturePoolGroupItemExternalLink","GqlPoolMinimal"],GqlPoolNestedUnion:["GqlPoolComposableStableNested"],GqlPoolTokenBase:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolTokenComposableStableNestedUnion:["GqlPoolToken"],GqlPoolTokenUnion:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolUnion:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"]}},lt=z;export{L as ApiRewardAllocationWeight,c as ApiValidator,Y as ApiValidatorBlockUptime,S as ApiValidatorMinimal,p as ApiVault,O as ApiVaultIncentive,tt as GetRewardVault,rt as GetSWberaVaultMetadata,nt as GetSWberaVaultSnapshots,et as GetUserVaults,X as GetValidator,j as GetValidators,ot as GetVaultHistory,Z as GetVaultValidators,J as GetVaults,at as GlobalData,d as GqlChain,g as GqlContentNewsItemSource,m as GqlPoolAprItemType,G as GqlPoolEventType,A as GqlPoolEventsDataRange,b as GqlPoolFilterCategory,I as GqlPoolJoinExitType,q as GqlPoolNestingType,P as GqlPoolOrderBy,B as GqlPoolOrderDirection,h as GqlPoolSnapshotDataRange,k as GqlPoolType,D as GqlRewardVaultIncentiveOrderBy,_ as GqlRewardVaultIncentiveOrderDirection,v as GqlRewardVaultOrderBy,M as GqlRewardVaultOrderDirection,T as GqlRewardVaultSnapshotDataRange,x as GqlRewardVaultSnapshotResolution,V as GqlSWberaVaultMetadataResolution,w as GqlSorSwapType,R as GqlStakeBeraVaultEventType,C as GqlTokenChartDataRange,U as GqlTokenType,E as GqlUserVaultDepositOrderBy,$ as GqlUserVaultDepositOrderDirection,F as GqlValidatorBlockUptimeStatus,f as GqlValidatorBoostOrderBy,N as GqlValidatorBoostOrderDirection,W as GqlValidatorOrderBy,Q as GqlValidatorOrderDirection,H as GqlVaultSnapshotDataRange,lt as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as graphql from 'graphql';
|
|
2
2
|
|
|
3
3
|
type Maybe<T> = T | null;
|
|
4
4
|
type InputMaybe<T> = Maybe<T>;
|
|
@@ -4228,7 +4228,7 @@ type GetIncentiveFeeClaimStatsQuery = {
|
|
|
4228
4228
|
timestamp: string;
|
|
4229
4229
|
}>;
|
|
4230
4230
|
};
|
|
4231
|
-
declare const SubgraphStatusMeta:
|
|
4231
|
+
declare const SubgraphStatusMeta: graphql.DocumentNode;
|
|
4232
4232
|
/** Aggregation for the amount of BGT boosted to a Validator (User -> Validator) */
|
|
4233
4233
|
type BoostByValidator = {
|
|
4234
4234
|
__typename?: 'BoostByValidator';
|
|
@@ -4242,8 +4242,8 @@ type BoostByValidator = {
|
|
|
4242
4242
|
timestamp: Scalars['Timestamp']['output'];
|
|
4243
4243
|
validator: Validator;
|
|
4244
4244
|
};
|
|
4245
|
-
declare const BoostByValidator:
|
|
4246
|
-
declare const ValidatorMinimal:
|
|
4245
|
+
declare const BoostByValidator: graphql.DocumentNode;
|
|
4246
|
+
declare const ValidatorMinimal: graphql.DocumentNode;
|
|
4247
4247
|
/** Aggregation for the amount of BGT awarded to a Validator for proposing a block by Validator (Distributor -> Validator) */
|
|
4248
4248
|
type BlockRewardStatsByValidator = {
|
|
4249
4249
|
__typename?: 'BlockRewardStatsByValidator';
|
|
@@ -4255,10 +4255,10 @@ type BlockRewardStatsByValidator = {
|
|
|
4255
4255
|
timestamp: Scalars['Timestamp']['output'];
|
|
4256
4256
|
validator: Validator;
|
|
4257
4257
|
};
|
|
4258
|
-
declare const BlockRewardStatsByValidator:
|
|
4259
|
-
declare const VaultMinimal:
|
|
4260
|
-
declare const StakingToken:
|
|
4261
|
-
declare const VaultWithStakingToken:
|
|
4258
|
+
declare const BlockRewardStatsByValidator: graphql.DocumentNode;
|
|
4259
|
+
declare const VaultMinimal: graphql.DocumentNode;
|
|
4260
|
+
declare const StakingToken: graphql.DocumentNode;
|
|
4261
|
+
declare const VaultWithStakingToken: graphql.DocumentNode;
|
|
4262
4262
|
/** Global stats for Proof of Liquidity */
|
|
4263
4263
|
type GlobalInfo = {
|
|
4264
4264
|
__typename?: 'GlobalInfo';
|
|
@@ -4275,17 +4275,17 @@ type GlobalInfo = {
|
|
|
4275
4275
|
totalQueuedDropBoostAmount: Scalars['BigDecimal']['output'];
|
|
4276
4276
|
totalValidatorsCount: Scalars['BigInt']['output'];
|
|
4277
4277
|
};
|
|
4278
|
-
declare const GlobalInfo:
|
|
4279
|
-
declare const GetUserValidatorInformation:
|
|
4280
|
-
declare const GetValidValidator:
|
|
4281
|
-
declare const GetAllValidators:
|
|
4282
|
-
declare const GetValidatorBlockStats:
|
|
4283
|
-
declare const GetGauges:
|
|
4284
|
-
declare const GetWeeklyBgtInflation:
|
|
4285
|
-
declare const GetRewardVault:
|
|
4286
|
-
declare const GetValidatorByAccount:
|
|
4287
|
-
declare const GetValidatorAnalytics:
|
|
4288
|
-
declare const GetIncentiveFeeClaimStats:
|
|
4278
|
+
declare const GlobalInfo: graphql.DocumentNode;
|
|
4279
|
+
declare const GetUserValidatorInformation: graphql.DocumentNode;
|
|
4280
|
+
declare const GetValidValidator: graphql.DocumentNode;
|
|
4281
|
+
declare const GetAllValidators: graphql.DocumentNode;
|
|
4282
|
+
declare const GetValidatorBlockStats: graphql.DocumentNode;
|
|
4283
|
+
declare const GetGauges: graphql.DocumentNode;
|
|
4284
|
+
declare const GetWeeklyBgtInflation: graphql.DocumentNode;
|
|
4285
|
+
declare const GetRewardVault: graphql.DocumentNode;
|
|
4286
|
+
declare const GetValidatorByAccount: graphql.DocumentNode;
|
|
4287
|
+
declare const GetValidatorAnalytics: graphql.DocumentNode;
|
|
4288
|
+
declare const GetIncentiveFeeClaimStats: graphql.DocumentNode;
|
|
4289
4289
|
interface PossibleTypesResultData {
|
|
4290
4290
|
possibleTypes: {
|
|
4291
4291
|
[key: string]: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as graphql from 'graphql';
|
|
2
2
|
|
|
3
3
|
type Maybe<T> = T | null;
|
|
4
4
|
type InputMaybe<T> = Maybe<T>;
|
|
@@ -4228,7 +4228,7 @@ type GetIncentiveFeeClaimStatsQuery = {
|
|
|
4228
4228
|
timestamp: string;
|
|
4229
4229
|
}>;
|
|
4230
4230
|
};
|
|
4231
|
-
declare const SubgraphStatusMeta:
|
|
4231
|
+
declare const SubgraphStatusMeta: graphql.DocumentNode;
|
|
4232
4232
|
/** Aggregation for the amount of BGT boosted to a Validator (User -> Validator) */
|
|
4233
4233
|
type BoostByValidator = {
|
|
4234
4234
|
__typename?: 'BoostByValidator';
|
|
@@ -4242,8 +4242,8 @@ type BoostByValidator = {
|
|
|
4242
4242
|
timestamp: Scalars['Timestamp']['output'];
|
|
4243
4243
|
validator: Validator;
|
|
4244
4244
|
};
|
|
4245
|
-
declare const BoostByValidator:
|
|
4246
|
-
declare const ValidatorMinimal:
|
|
4245
|
+
declare const BoostByValidator: graphql.DocumentNode;
|
|
4246
|
+
declare const ValidatorMinimal: graphql.DocumentNode;
|
|
4247
4247
|
/** Aggregation for the amount of BGT awarded to a Validator for proposing a block by Validator (Distributor -> Validator) */
|
|
4248
4248
|
type BlockRewardStatsByValidator = {
|
|
4249
4249
|
__typename?: 'BlockRewardStatsByValidator';
|
|
@@ -4255,10 +4255,10 @@ type BlockRewardStatsByValidator = {
|
|
|
4255
4255
|
timestamp: Scalars['Timestamp']['output'];
|
|
4256
4256
|
validator: Validator;
|
|
4257
4257
|
};
|
|
4258
|
-
declare const BlockRewardStatsByValidator:
|
|
4259
|
-
declare const VaultMinimal:
|
|
4260
|
-
declare const StakingToken:
|
|
4261
|
-
declare const VaultWithStakingToken:
|
|
4258
|
+
declare const BlockRewardStatsByValidator: graphql.DocumentNode;
|
|
4259
|
+
declare const VaultMinimal: graphql.DocumentNode;
|
|
4260
|
+
declare const StakingToken: graphql.DocumentNode;
|
|
4261
|
+
declare const VaultWithStakingToken: graphql.DocumentNode;
|
|
4262
4262
|
/** Global stats for Proof of Liquidity */
|
|
4263
4263
|
type GlobalInfo = {
|
|
4264
4264
|
__typename?: 'GlobalInfo';
|
|
@@ -4275,17 +4275,17 @@ type GlobalInfo = {
|
|
|
4275
4275
|
totalQueuedDropBoostAmount: Scalars['BigDecimal']['output'];
|
|
4276
4276
|
totalValidatorsCount: Scalars['BigInt']['output'];
|
|
4277
4277
|
};
|
|
4278
|
-
declare const GlobalInfo:
|
|
4279
|
-
declare const GetUserValidatorInformation:
|
|
4280
|
-
declare const GetValidValidator:
|
|
4281
|
-
declare const GetAllValidators:
|
|
4282
|
-
declare const GetValidatorBlockStats:
|
|
4283
|
-
declare const GetGauges:
|
|
4284
|
-
declare const GetWeeklyBgtInflation:
|
|
4285
|
-
declare const GetRewardVault:
|
|
4286
|
-
declare const GetValidatorByAccount:
|
|
4287
|
-
declare const GetValidatorAnalytics:
|
|
4288
|
-
declare const GetIncentiveFeeClaimStats:
|
|
4278
|
+
declare const GlobalInfo: graphql.DocumentNode;
|
|
4279
|
+
declare const GetUserValidatorInformation: graphql.DocumentNode;
|
|
4280
|
+
declare const GetValidValidator: graphql.DocumentNode;
|
|
4281
|
+
declare const GetAllValidators: graphql.DocumentNode;
|
|
4282
|
+
declare const GetValidatorBlockStats: graphql.DocumentNode;
|
|
4283
|
+
declare const GetGauges: graphql.DocumentNode;
|
|
4284
|
+
declare const GetWeeklyBgtInflation: graphql.DocumentNode;
|
|
4285
|
+
declare const GetRewardVault: graphql.DocumentNode;
|
|
4286
|
+
declare const GetValidatorByAccount: graphql.DocumentNode;
|
|
4287
|
+
declare const GetValidatorAnalytics: graphql.DocumentNode;
|
|
4288
|
+
declare const GetIncentiveFeeClaimStats: graphql.DocumentNode;
|
|
4289
4289
|
interface PossibleTypesResultData {
|
|
4290
4290
|
possibleTypes: {
|
|
4291
4291
|
[key: string]: string[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@berachain/graphql",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -9,16 +9,14 @@
|
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"sideEffects": false,
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@apollo/client": "4.
|
|
12
|
+
"@apollo/client": "4.1.6"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
15
|
"@apollo/client": "^4.0",
|
|
16
16
|
"graphql": "^16.8"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@
|
|
20
|
-
"@berachain/config": "",
|
|
21
|
-
"@biomejs/biome": "2.2.4",
|
|
19
|
+
"@biomejs/biome": "2.4.5",
|
|
22
20
|
"@graphql-codegen/cli": "5.0.7",
|
|
23
21
|
"@graphql-codegen/client-preset": "4.7.0",
|
|
24
22
|
"@graphql-codegen/fragment-matcher": "5.1.0",
|
|
@@ -27,11 +25,11 @@
|
|
|
27
25
|
"@graphql-codegen/typescript-document-nodes": "5.0.0",
|
|
28
26
|
"@graphql-codegen/typescript-operations": "5.0.0",
|
|
29
27
|
"@graphql-codegen/typescript-react-apollo": "4.3.3",
|
|
30
|
-
"@
|
|
31
|
-
"@types/node": "22.12.0",
|
|
28
|
+
"@types/node": "24.1.0",
|
|
32
29
|
"dotenv": "16.6.1",
|
|
33
30
|
"graphql": "16.12.0",
|
|
34
|
-
"tsup": "8.4.0"
|
|
31
|
+
"tsup": "8.4.0",
|
|
32
|
+
"@berachain/config": "^0.1.0"
|
|
35
33
|
},
|
|
36
34
|
"exports": {
|
|
37
35
|
"./governance": {
|