@berachain/graphql 0.4.16-beta.2 → 0.4.16-beta.4
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.mjs +174 -29
- package/dist/dex/api.codegen.mjs +361 -22
- package/dist/governance/governance.codegen.mjs +262 -11
- package/dist/honey/honey.codegen.mjs +123 -5
- package/dist/pol/api.codegen.d.ts +1 -20
- package/dist/pol/api.codegen.mjs +374 -38
- package/dist/pol/subgraph.codegen.mjs +762 -10
- package/package.json +39 -37
- package/LICENSE +0 -21
- package/dist/api/api.codegen.cjs +0 -1
- package/dist/api/api.codegen.d.cts +0 -735
- package/dist/bend/whisk.codegen.cjs +0 -693
- package/dist/bend/whisk.codegen.d.cts +0 -3360
- package/dist/dex/api.codegen.cjs +0 -199
- package/dist/dex/api.codegen.d.cts +0 -3626
- package/dist/governance/governance.codegen.cjs +0 -116
- package/dist/governance/governance.codegen.d.cts +0 -1533
- package/dist/honey/honey.codegen.cjs +0 -42
- package/dist/honey/honey.codegen.d.cts +0 -735
- package/dist/pol/api.codegen.cjs +0 -371
- package/dist/pol/api.codegen.d.cts +0 -3480
- package/dist/pol/subgraph.codegen.cjs +0 -102
- package/dist/pol/subgraph.codegen.d.cts +0 -4133
package/dist/pol/api.codegen.cjs
DELETED
|
@@ -1,371 +0,0 @@
|
|
|
1
|
-
"use strict";var d=Object.defineProperty;var J=Object.getOwnPropertyDescriptor;var X=Object.getOwnPropertyNames;var j=Object.prototype.hasOwnProperty;var Z=(c,u)=>{for(var t in u)d(c,t,{get:u[t],enumerable:!0})},tt=(c,u,t,r)=>{if(u&&typeof u=="object"||typeof u=="function")for(let l of X(u))!j.call(c,l)&&l!==t&&d(c,l,{get:()=>u[l],enumerable:!(r=J(u,l))||r.enumerable});return c};var at=c=>tt(d({},"__esModule",{value:!0}),c);var At={};Z(At,{ApiMinimalVaultIncentive:()=>et,ApiRewardAllocationWeight:()=>O,ApiValidator:()=>m,ApiValidatorBlockUptime:()=>K,ApiValidatorInList:()=>z,ApiValidatorIncentive:()=>Y,ApiValidatorMinimal:()=>y,ApiValidatorRewardAllocationWeight:()=>rt,ApiVault:()=>S,ApiVaultIncentive:()=>L,GetBendVaults:()=>mt,GetRewardVault:()=>st,GetSWberaVaultMetadata:()=>St,GetSWberaVaultSnapshots:()=>yt,GetUserValidatorInformation:()=>dt,GetUserVaults:()=>pt,GetValidator:()=>nt,GetValidators:()=>lt,GetVaultHistory:()=>ct,GetVaultValidators:()=>it,GetVaults:()=>ot,GlobalData:()=>ut,GqlChain:()=>g,GqlPoolAprItemType:()=>b,GqlPoolEventType:()=>A,GqlPoolEventsDataRange:()=>G,GqlPoolFilterCategory:()=>I,GqlPoolJoinExitType:()=>q,GqlPoolNestingType:()=>B,GqlPoolOrderBy:()=>v,GqlPoolOrderDirection:()=>P,GqlPoolSnapshotDataRange:()=>k,GqlPoolType:()=>_,GqlRewardVaultIncentiveOrderBy:()=>h,GqlRewardVaultIncentiveOrderDirection:()=>D,GqlRewardVaultOrderBy:()=>M,GqlRewardVaultOrderDirection:()=>V,GqlRewardVaultSnapshotDataRange:()=>T,GqlRewardVaultSnapshotResolution:()=>x,GqlSWberaVaultMetadataResolution:()=>R,GqlSorSwapType:()=>w,GqlTokenChartDataRange:()=>C,GqlTokenType:()=>U,GqlUserVaultDepositOrderBy:()=>E,GqlUserVaultDepositOrderDirection:()=>$,GqlValidatorBlockUptimeStatus:()=>f,GqlValidatorBoostOrderBy:()=>N,GqlValidatorBoostOrderDirection:()=>F,GqlValidatorOrderBy:()=>W,GqlValidatorOrderDirection:()=>Q,GqlVaultSnapshotDataRange:()=>H,default:()=>bt});module.exports=at(At);var e=require("@apollo/client"),g=(t=>(t.Bepolia="BEPOLIA",t.Berachain="BERACHAIN",t))(g||{}),b=(s=>(s.Aura="AURA",s.IbYield="IB_YIELD",s.Locking="LOCKING",s.MabeetsEmissions="MABEETS_EMISSIONS",s.Merkl="MERKL",s.Nested="NESTED",s.Staking="STAKING",s.StakingBoost="STAKING_BOOST",s.Surplus="SURPLUS",s.SwapFee="SWAP_FEE",s.VebalEmissions="VEBAL_EMISSIONS",s.Voting="VOTING",s))(b||{}),A=(r=>(r.Add="ADD",r.Remove="REMOVE",r.Swap="SWAP",r))(A||{}),G=(r=>(r.NinetyDays="NINETY_DAYS",r.SevenDays="SEVEN_DAYS",r.ThirtyDays="THIRTY_DAYS",r))(G||{}),I=(p=>(p.BlackListed="BLACK_LISTED",p.Featured="FEATURED",p.Incentivized="INCENTIVIZED",p.Lrt="LRT",p.Points="POINTS",p.PointsEigenlayer="POINTS_EIGENLAYER",p.PointsGyro="POINTS_GYRO",p.PointsKelp="POINTS_KELP",p.PointsRenzo="POINTS_RENZO",p.PointsSwell="POINTS_SWELL",p.Superfest="SUPERFEST",p))(I||{}),q=(t=>(t.Exit="Exit",t.Join="Join",t))(q||{}),B=(r=>(r.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",r.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",r.NoNesting="NO_NESTING",r))(B||{}),v=(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))(v||{}),P=(t=>(t.Asc="asc",t.Desc="desc",t))(P||{}),k=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",a.OneYear="ONE_YEAR",a.ThirtyDays="THIRTY_DAYS",a))(k||{}),_=(i=>(i.ComposableStable="COMPOSABLE_STABLE",i.CowAmm="COW_AMM",i.Element="ELEMENT",i.Fx="FX",i.Gyro="GYRO",i.Gyro3="GYRO3",i.Gyroe="GYROE",i.Investment="INVESTMENT",i.LiquidityBootstrapping="LIQUIDITY_BOOTSTRAPPING",i.MetaStable="META_STABLE",i.PhantomStable="PHANTOM_STABLE",i.Stable="STABLE",i.Unknown="UNKNOWN",i.Weighted="WEIGHTED",i))(_||{}),h=(r=>(r.AmountRemaining="amountRemaining",r.AmountRemainingUsd="amountRemainingUsd",r.IncentiveRate="incentiveRate",r))(h||{}),D=(t=>(t.Asc="asc",t.Desc="desc",t))(D||{}),M=(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))(M||{}),V=(t=>(t.Asc="asc",t.Desc="desc",t))(V||{}),T=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.SixtyDays="SIXTY_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(T||{}),x=(t=>(t.Day="DAY",t.Hour="HOUR",t))(x||{}),R=(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(R||{}),w=(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(w||{}),C=(a=>(a.NinetyDay="NINETY_DAY",a.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",a.OneYear="ONE_YEAR",a.SevenDay="SEVEN_DAY",a.ThirtyDay="THIRTY_DAY",a))(C||{}),U=(r=>(r.Bpt="BPT",r.PhantomBpt="PHANTOM_BPT",r.WhiteListed="WHITE_LISTED",r))(U||{}),E=(u=>(u.Amount="amount",u))(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||{}),N=(a=>(a.ActiveBoostAmount="activeBoostAmount",a.LatestBlock="latestBlock",a.LatestBlockTime="latestBlockTime",a.QueuedBoostAmount="queuedBoostAmount",a.QueuedDropBoostAmount="queuedDropBoostAmount",a))(N||{}),F=(t=>(t.Asc="asc",t.Desc="desc",t))(F||{}),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.LastDayProposedBlockCount="lastDayProposedBlockCount",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||{}),et=e.gql`
|
|
2
|
-
fragment ApiMinimalVaultIncentive on GqlRewardVaultIncentive {
|
|
3
|
-
remainingAmount
|
|
4
|
-
remainingAmountUsd
|
|
5
|
-
incentiveRate
|
|
6
|
-
incentiveRateUsd
|
|
7
|
-
tokenAddress
|
|
8
|
-
token {
|
|
9
|
-
address
|
|
10
|
-
name
|
|
11
|
-
symbol
|
|
12
|
-
decimals
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
`,y=e.gql`
|
|
16
|
-
fragment ApiValidatorMinimal on GqlValidator {
|
|
17
|
-
id
|
|
18
|
-
pubkey
|
|
19
|
-
operator
|
|
20
|
-
rewardAllocator
|
|
21
|
-
metadata {
|
|
22
|
-
name
|
|
23
|
-
logoURI
|
|
24
|
-
}
|
|
25
|
-
dynamicData {
|
|
26
|
-
activeBoostAmount
|
|
27
|
-
usersActiveBoostCount
|
|
28
|
-
queuedBoostAmount
|
|
29
|
-
usersQueuedBoostCount
|
|
30
|
-
allTimeDistributedBGTAmount
|
|
31
|
-
rewardRate
|
|
32
|
-
stakedBeraAmount
|
|
33
|
-
lastDayDistributedBGTAmount
|
|
34
|
-
activeBoostAmountRank
|
|
35
|
-
boostApr
|
|
36
|
-
commissionOnIncentives
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
`,L=e.gql`
|
|
40
|
-
fragment ApiVaultIncentive on GqlRewardVaultIncentive {
|
|
41
|
-
active
|
|
42
|
-
tokenAddress
|
|
43
|
-
remainingAmount
|
|
44
|
-
remainingAmountUsd
|
|
45
|
-
incentiveRate
|
|
46
|
-
incentiveRateUsd
|
|
47
|
-
token {
|
|
48
|
-
address
|
|
49
|
-
name
|
|
50
|
-
symbol
|
|
51
|
-
decimals
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
`,S=e.gql`
|
|
55
|
-
fragment ApiVault on GqlRewardVault {
|
|
56
|
-
id: vaultAddress
|
|
57
|
-
vaultAddress
|
|
58
|
-
address: vaultAddress
|
|
59
|
-
isVaultWhitelisted
|
|
60
|
-
dynamicData {
|
|
61
|
-
allTimeReceivedBGTAmount
|
|
62
|
-
apr
|
|
63
|
-
bgtCapturePercentage
|
|
64
|
-
bgtCapturePerBlock
|
|
65
|
-
activeIncentivesValueUsd
|
|
66
|
-
activeIncentivesRateUsd
|
|
67
|
-
bgtCapturePerBlock
|
|
68
|
-
tvl
|
|
69
|
-
}
|
|
70
|
-
stakingTokenAmount
|
|
71
|
-
stakingToken {
|
|
72
|
-
address
|
|
73
|
-
name
|
|
74
|
-
symbol
|
|
75
|
-
decimals
|
|
76
|
-
}
|
|
77
|
-
metadata {
|
|
78
|
-
name
|
|
79
|
-
logoURI
|
|
80
|
-
url
|
|
81
|
-
protocolName
|
|
82
|
-
protocolIcon
|
|
83
|
-
description
|
|
84
|
-
categories
|
|
85
|
-
action
|
|
86
|
-
}
|
|
87
|
-
activeIncentives {
|
|
88
|
-
...ApiVaultIncentive
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
${L}`,O=e.gql`
|
|
92
|
-
fragment ApiRewardAllocationWeight on GqlValidatorRewardAllocationWeight {
|
|
93
|
-
percentage
|
|
94
|
-
receivingVault {
|
|
95
|
-
...ApiVault
|
|
96
|
-
}
|
|
97
|
-
receiver
|
|
98
|
-
startBlock
|
|
99
|
-
}
|
|
100
|
-
${S}`,m=e.gql`
|
|
101
|
-
fragment ApiValidator on GqlValidator {
|
|
102
|
-
...ApiValidatorMinimal
|
|
103
|
-
operator
|
|
104
|
-
rewardAllocationWeights {
|
|
105
|
-
...ApiRewardAllocationWeight
|
|
106
|
-
}
|
|
107
|
-
lastBlockUptime {
|
|
108
|
-
isActive
|
|
109
|
-
isProposer
|
|
110
|
-
isSigner
|
|
111
|
-
status
|
|
112
|
-
blockNumber
|
|
113
|
-
}
|
|
114
|
-
metadata {
|
|
115
|
-
name
|
|
116
|
-
logoURI
|
|
117
|
-
website
|
|
118
|
-
description
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
${y}
|
|
122
|
-
${O}`,rt=e.gql`
|
|
123
|
-
fragment ApiValidatorRewardAllocationWeight on GqlValidatorRewardAllocationWeight {
|
|
124
|
-
percentage
|
|
125
|
-
receivingVault {
|
|
126
|
-
activeIncentives {
|
|
127
|
-
token {
|
|
128
|
-
address
|
|
129
|
-
name
|
|
130
|
-
symbol
|
|
131
|
-
decimals
|
|
132
|
-
logoURI
|
|
133
|
-
}
|
|
134
|
-
remainingAmount
|
|
135
|
-
remainingAmountUsd
|
|
136
|
-
incentiveRate
|
|
137
|
-
incentiveRateUsd
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
`,Y=e.gql`
|
|
142
|
-
fragment ApiValidatorIncentive on GqlValidatorIncentive {
|
|
143
|
-
tokenAddress
|
|
144
|
-
remainingAmount
|
|
145
|
-
remainingAmountUsd
|
|
146
|
-
incentiveRate
|
|
147
|
-
incentiveRateUsd
|
|
148
|
-
token {
|
|
149
|
-
address
|
|
150
|
-
name
|
|
151
|
-
symbol
|
|
152
|
-
decimals
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
`,z=e.gql`
|
|
156
|
-
fragment ApiValidatorInList on GqlValidator {
|
|
157
|
-
...ApiValidatorMinimal
|
|
158
|
-
operator
|
|
159
|
-
incentives {
|
|
160
|
-
...ApiValidatorIncentive
|
|
161
|
-
}
|
|
162
|
-
lastBlockUptime {
|
|
163
|
-
isActive
|
|
164
|
-
isProposer
|
|
165
|
-
isSigner
|
|
166
|
-
status
|
|
167
|
-
blockNumber
|
|
168
|
-
}
|
|
169
|
-
metadata {
|
|
170
|
-
name
|
|
171
|
-
logoURI
|
|
172
|
-
website
|
|
173
|
-
description
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
${y}
|
|
177
|
-
${Y}`,K=e.gql`
|
|
178
|
-
fragment ApiValidatorBlockUptime on GqlValidatorBlockUptime {
|
|
179
|
-
isActive
|
|
180
|
-
isProposer
|
|
181
|
-
isSigner
|
|
182
|
-
status
|
|
183
|
-
blockNumber
|
|
184
|
-
}
|
|
185
|
-
`,ot=e.gql`
|
|
186
|
-
query GetVaults($where: GqlRewardVaultFilter, $pageSize: Int, $skip: Int, $orderBy: GqlRewardVaultOrderBy = bgtCapturePercentage, $orderDirection: GqlRewardVaultOrderDirection = desc, $search: String) {
|
|
187
|
-
polGetRewardVaults(
|
|
188
|
-
where: $where
|
|
189
|
-
first: $pageSize
|
|
190
|
-
skip: $skip
|
|
191
|
-
orderBy: $orderBy
|
|
192
|
-
orderDirection: $orderDirection
|
|
193
|
-
search: $search
|
|
194
|
-
) {
|
|
195
|
-
pagination {
|
|
196
|
-
currentPage
|
|
197
|
-
totalCount
|
|
198
|
-
}
|
|
199
|
-
vaults {
|
|
200
|
-
...ApiVault
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
${S}`,nt=e.gql`
|
|
205
|
-
query GetValidator($id: String!, $chain: GqlChain!) {
|
|
206
|
-
validator: polGetValidator(validatorId: $id, chain: $chain) {
|
|
207
|
-
...ApiValidator
|
|
208
|
-
}
|
|
209
|
-
uptime: polGetValidatorBlockUptimes(validatorId: $id, chain: $chain) {
|
|
210
|
-
...ApiValidatorBlockUptime
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
${m}
|
|
214
|
-
${K}`,lt=e.gql`
|
|
215
|
-
query GetValidators($where: GqlValidatorFilter, $sortBy: GqlValidatorOrderBy = lastDayDistributedBGTAmount, $sortOrder: GqlValidatorOrderDirection = desc, $pageSize: Int, $skip: Int, $search: String, $chain: GqlChain) {
|
|
216
|
-
validators: polGetValidators(
|
|
217
|
-
where: $where
|
|
218
|
-
orderBy: $sortBy
|
|
219
|
-
orderDirection: $sortOrder
|
|
220
|
-
first: $pageSize
|
|
221
|
-
skip: $skip
|
|
222
|
-
search: $search
|
|
223
|
-
chain: $chain
|
|
224
|
-
) {
|
|
225
|
-
pagination {
|
|
226
|
-
currentPage
|
|
227
|
-
totalCount
|
|
228
|
-
totalPages
|
|
229
|
-
pageSize
|
|
230
|
-
}
|
|
231
|
-
validators {
|
|
232
|
-
...ApiValidatorInList
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
${z}`,it=e.gql`
|
|
237
|
-
query GetVaultValidators($vaultId: String!, $chain: GqlChain, $isActive: Boolean = true) {
|
|
238
|
-
validators: polGetValidators(
|
|
239
|
-
where: {vaultAddress: $vaultId, isActive: $isActive}
|
|
240
|
-
orderDirection: desc
|
|
241
|
-
orderBy: rewardRate
|
|
242
|
-
chain: $chain
|
|
243
|
-
) {
|
|
244
|
-
pagination {
|
|
245
|
-
currentPage
|
|
246
|
-
totalCount
|
|
247
|
-
}
|
|
248
|
-
validators {
|
|
249
|
-
...ApiValidator
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
${m}`,st=e.gql`
|
|
254
|
-
query GetRewardVault($vaultId: String!, $chain: GqlChain!) {
|
|
255
|
-
rewardVault: polGetRewardVault(vaultAddress: $vaultId, chain: $chain) {
|
|
256
|
-
...ApiVault
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
${S}`,ut=e.gql`
|
|
260
|
-
query GlobalData($chain: GqlChain!) {
|
|
261
|
-
top3EmittingValidators: polGetValidators(
|
|
262
|
-
orderBy: bgtCapturePercentage
|
|
263
|
-
orderDirection: desc
|
|
264
|
-
first: 3
|
|
265
|
-
) {
|
|
266
|
-
pagination {
|
|
267
|
-
currentPage
|
|
268
|
-
totalCount
|
|
269
|
-
}
|
|
270
|
-
validators {
|
|
271
|
-
...ApiValidatorMinimal
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
polGetGlobalInfo(chain: $chain) {
|
|
275
|
-
totalActiveBoostAmount
|
|
276
|
-
totalValidatorsCount
|
|
277
|
-
totalWhitelistedRewardVaults
|
|
278
|
-
totalActiveRewardVaults
|
|
279
|
-
totalActiveIncentives
|
|
280
|
-
totalActiveIncentivesValueUSD
|
|
281
|
-
totalDistributedBGTAmount
|
|
282
|
-
totalStakedBeraAmount
|
|
283
|
-
annualizedBGTEmission
|
|
284
|
-
annualizedBGTInflation
|
|
285
|
-
}
|
|
286
|
-
allValidatorsCount: polGetValidators {
|
|
287
|
-
pagination {
|
|
288
|
-
totalCount
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
${y}`,pt=e.gql`
|
|
293
|
-
query GetUserVaults($userId: String!, $chain: GqlChain!) {
|
|
294
|
-
userVaultDeposits: polGetUserVaultDeposits(userAddress: $userId, chain: $chain) {
|
|
295
|
-
pagination {
|
|
296
|
-
currentPage
|
|
297
|
-
totalCount
|
|
298
|
-
}
|
|
299
|
-
deposits {
|
|
300
|
-
amount
|
|
301
|
-
vaultAddress
|
|
302
|
-
vault {
|
|
303
|
-
...ApiVault
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
${S}`,ct=e.gql`
|
|
309
|
-
query GetVaultHistory($vaultId: String!, $chain: GqlChain!, $resolution: GqlRewardVaultSnapshotResolution = DAY, $range: GqlRewardVaultSnapshotDataRange = THIRTY_DAYS) {
|
|
310
|
-
polGetRewardVaultSnapshots(
|
|
311
|
-
chain: $chain
|
|
312
|
-
range: $range
|
|
313
|
-
resolution: $resolution
|
|
314
|
-
vaultAddress: $vaultId
|
|
315
|
-
) {
|
|
316
|
-
timestamp
|
|
317
|
-
tvl
|
|
318
|
-
apr
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
`,St=e.gql`
|
|
322
|
-
query GetSWberaVaultMetadata($chain: GqlChain!, $resolution: GqlSWberaVaultMetadataResolution) {
|
|
323
|
-
polGetSWberaVaultMetadata(chain: $chain, resolution: $resolution) {
|
|
324
|
-
apr
|
|
325
|
-
chain
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
`,yt=e.gql`
|
|
329
|
-
query GetSWberaVaultSnapshots($chain: GqlChain!, $range: GqlVaultSnapshotDataRange) {
|
|
330
|
-
polGetSWberaVaultSnapshots(chain: $chain, range: $range) {
|
|
331
|
-
apr
|
|
332
|
-
chain
|
|
333
|
-
id
|
|
334
|
-
timestamp
|
|
335
|
-
totalAssets
|
|
336
|
-
vaultAddress
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
`,dt=e.gql`
|
|
340
|
-
query GetUserValidatorInformation($address: String!, $chain: GqlChain!) {
|
|
341
|
-
polGetValidatorBoosts(userAddress: $address, chain: $chain, first: 100) {
|
|
342
|
-
boosts {
|
|
343
|
-
validatorId
|
|
344
|
-
validator {
|
|
345
|
-
id
|
|
346
|
-
pubkey
|
|
347
|
-
metadata {
|
|
348
|
-
name
|
|
349
|
-
logoURI
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
activeBoostAmount
|
|
353
|
-
queuedBoostAmount
|
|
354
|
-
queuedDropBoostAmount
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
`,mt=e.gql`
|
|
359
|
-
query GetBendVaults {
|
|
360
|
-
bendVaults {
|
|
361
|
-
vaultAddress
|
|
362
|
-
loanTokenAddress
|
|
363
|
-
dynamicData {
|
|
364
|
-
totalApy
|
|
365
|
-
nativeApy
|
|
366
|
-
platformFee
|
|
367
|
-
performanceFee
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
`,gt={possibleTypes:{GqlIncentive:["GqlRewardVaultIncentive","GqlValidatorIncentive"],GqlPoolAprValue:["GqlPoolAprRange","GqlPoolAprTotal"],GqlPoolBase:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"],GqlPoolEvent:["GqlPoolAddRemoveEventV3","GqlPoolSwapEventCowAmm","GqlPoolSwapEventV3"],GqlPoolNestedUnion:["GqlPoolComposableStableNested"],GqlPoolTokenBase:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolTokenComposableStableNestedUnion:["GqlPoolToken"],GqlPoolTokenUnion:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolUnion:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"]}},bt=gt;0&&(module.exports={ApiMinimalVaultIncentive,ApiRewardAllocationWeight,ApiValidator,ApiValidatorBlockUptime,ApiValidatorInList,ApiValidatorIncentive,ApiValidatorMinimal,ApiValidatorRewardAllocationWeight,ApiVault,ApiVaultIncentive,GetBendVaults,GetRewardVault,GetSWberaVaultMetadata,GetSWberaVaultSnapshots,GetUserValidatorInformation,GetUserVaults,GetValidator,GetValidators,GetVaultHistory,GetVaultValidators,GetVaults,GlobalData,GqlChain,GqlPoolAprItemType,GqlPoolEventType,GqlPoolEventsDataRange,GqlPoolFilterCategory,GqlPoolJoinExitType,GqlPoolNestingType,GqlPoolOrderBy,GqlPoolOrderDirection,GqlPoolSnapshotDataRange,GqlPoolType,GqlRewardVaultIncentiveOrderBy,GqlRewardVaultIncentiveOrderDirection,GqlRewardVaultOrderBy,GqlRewardVaultOrderDirection,GqlRewardVaultSnapshotDataRange,GqlRewardVaultSnapshotResolution,GqlSWberaVaultMetadataResolution,GqlSorSwapType,GqlTokenChartDataRange,GqlTokenType,GqlUserVaultDepositOrderBy,GqlUserVaultDepositOrderDirection,GqlValidatorBlockUptimeStatus,GqlValidatorBoostOrderBy,GqlValidatorBoostOrderDirection,GqlValidatorOrderBy,GqlValidatorOrderDirection,GqlVaultSnapshotDataRange});
|