@berachain/graphql 0.3.3 → 0.4.1-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.
- package/dist/bend/whisk.codegen.cjs +9 -9
- package/dist/bend/whisk.codegen.d.cts +155 -1
- package/dist/bend/whisk.codegen.d.ts +155 -1
- package/dist/bend/whisk.codegen.mjs +6 -6
- package/dist/chain/chain.codegen.cjs +1 -1
- package/dist/chain/chain.codegen.d.cts +1 -26
- package/dist/chain/chain.codegen.d.ts +1 -26
- package/dist/chain/chain.codegen.mjs +2 -2
- package/dist/dex/api.codegen.cjs +3 -3
- package/dist/dex/api.codegen.d.cts +24 -5
- package/dist/dex/api.codegen.d.ts +24 -5
- package/dist/dex/api.codegen.mjs +6 -6
- package/dist/dex/subgraph.codegen.cjs +5 -5
- package/dist/dex/subgraph.codegen.d.cts +30 -475
- package/dist/dex/subgraph.codegen.d.ts +30 -475
- package/dist/dex/subgraph.codegen.mjs +6 -6
- package/dist/governance/governance.codegen.cjs +7 -7
- package/dist/governance/governance.codegen.d.cts +1 -90
- package/dist/governance/governance.codegen.d.ts +1 -90
- package/dist/governance/governance.codegen.mjs +10 -10
- package/dist/honey/honey.codegen.cjs +7 -7
- package/dist/honey/honey.codegen.d.cts +14 -108
- package/dist/honey/honey.codegen.d.ts +14 -108
- package/dist/honey/honey.codegen.mjs +7 -7
- package/dist/pol/api.codegen.cjs +20 -44
- package/dist/pol/api.codegen.d.cts +24 -48
- package/dist/pol/api.codegen.d.ts +24 -48
- package/dist/pol/api.codegen.mjs +5 -29
- package/dist/pol/subgraph.codegen.cjs +23 -23
- package/dist/pol/subgraph.codegen.d.cts +238 -600
- package/dist/pol/subgraph.codegen.d.ts +238 -600
- package/dist/pol/subgraph.codegen.mjs +23 -23
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{gql as
|
|
1
|
+
import{gql as p}from"@apollo/client";var s=(a=>(a.Day="day",a.Hour="hour",a))(s||{}),o=(r=>(r.HoneyTxn="honeyTxn",r.Id="id",r.IsBasketMode="isBasketMode",r.TxHash="txHash",r.Type="type",r))(o||{}),l=(n=>(n.Collateral="collateral",n.CollateralAmount="collateralAmount",n.HoneyTxn="honeyTxn",n.HoneyTxnFrom="honeyTxn__from",n.HoneyTxnHoneyAmount="honeyTxn__honeyAmount",n.HoneyTxnId="honeyTxn__id",n.HoneyTxnIsBasketMode="honeyTxn__isBasketMode",n.HoneyTxnTimestamp="honeyTxn__timestamp",n.HoneyTxnTo="honeyTxn__to",n.HoneyTxnType="honeyTxn__type",n.Id="id",n))(l||{}),c=(i=>(i.AllTimeVolume="allTimeVolume",i.Id="id",i.MintVolume="mintVolume",i.RedeemVolume="redeemVolume",i.Timestamp="timestamp",i.TotalSupply="totalSupply",i.TotalVolume="totalVolume",i))(c||{}),I=(u=>(u.Amount="amount",u.Id="id",u.Timestamp="timestamp",u))(I||{}),b=(e=>(e.BlockNumber="blockNumber",e.From="from",e.HoneyAmount="honeyAmount",e.Id="id",e.Timestamp="timestamp",e.To="to",e.TotalSupply="totalSupply",e.TxHash="txHash",e.TxnType="txnType",e))(b||{}),_=(t=>(t.ChainTransaction="chainTransaction",t.ChainTransactionId="chainTransaction__id",t.ChainTransactionIsBasketMode="chainTransaction__isBasketMode",t.ChainTransactionTxHash="chainTransaction__txHash",t.ChainTransactionType="chainTransaction__type",t.Collateral="collateral",t.From="from",t.HoneyAmount="honeyAmount",t.Id="id",t.IsBasketMode="isBasketMode",t.Timestamp="timestamp",t.To="to",t.Type="type",t))(_||{}),m=(a=>(a.Asc="asc",a.Desc="desc",a))(m||{}),S=(a=>(a.Mint="MINT",a.Redeem="REDEEM",a))(S||{}),M=(a=>(a.Allow="allow",a.Deny="deny",a))(M||{}),y=p`
|
|
2
2
|
fragment HoneyTxnData on HoneyTxn {
|
|
3
3
|
id
|
|
4
4
|
timestamp
|
|
@@ -16,7 +16,7 @@ import{gql as r}from"@apollo/client";var u=(a=>(a.Day="day",a.Hour="hour",a))(u|
|
|
|
16
16
|
id
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
`,
|
|
19
|
+
`,T=p`
|
|
20
20
|
query GetHoneyTxnByType($page: Int!, $limit: Int!, $type: TxnType!) {
|
|
21
21
|
honeyTxns(
|
|
22
22
|
skip: $page
|
|
@@ -28,13 +28,13 @@ import{gql as r}from"@apollo/client";var u=(a=>(a.Day="day",a.Hour="hour",a))(u|
|
|
|
28
28
|
...HoneyTxnData
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
${y}`,
|
|
31
|
+
${y}`,x=p`
|
|
32
32
|
query GetHoneyTxn($page: Int!, $limit: Int!) {
|
|
33
33
|
honeyTxns(skip: $page, first: $limit, orderBy: timestamp, orderDirection: desc) {
|
|
34
34
|
...HoneyTxnData
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
${y}`,
|
|
37
|
+
${y}`,B=p`
|
|
38
38
|
query GetChartData($interval: Aggregation_interval!, $first: Int!) {
|
|
39
39
|
honeySnapshots(interval: $interval, first: $first) {
|
|
40
40
|
id
|
|
@@ -46,7 +46,7 @@ import{gql as r}from"@apollo/client";var u=(a=>(a.Day="day",a.Hour="hour",a))(u|
|
|
|
46
46
|
totalSupply
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
`,
|
|
49
|
+
`,A=p`
|
|
50
50
|
query GetGlobalData {
|
|
51
51
|
honeySnapshots(interval: hour, first: 24) {
|
|
52
52
|
id
|
|
@@ -58,10 +58,10 @@ import{gql as r}from"@apollo/client";var u=(a=>(a.Day="day",a.Hour="hour",a))(u|
|
|
|
58
58
|
redeemVolume
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
-
`,
|
|
61
|
+
`,D=p`
|
|
62
62
|
query GetFirstHoneyTxnDate {
|
|
63
63
|
honeyTxns(first: 1) {
|
|
64
64
|
timestamp
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
`,
|
|
67
|
+
`,g={possibleTypes:{}},d=g;export{s as Aggregation_Interval,o as ChainTransaction_OrderBy,B as GetChartData,D as GetFirstHoneyTxnDate,A as GetGlobalData,x as GetHoneyTxn,T as GetHoneyTxnByType,l as HoneyCollateral_OrderBy,c as HoneySnapshot_OrderBy,I as HoneySupplyDayData_OrderBy,y as HoneyTxnData,b as HoneyTxnTimeseries_OrderBy,_ as HoneyTxn_OrderBy,m as OrderDirection,S as TxnType,M as _SubgraphErrorPolicy_,d as default};
|
package/dist/pol/api.codegen.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var
|
|
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,a)=>{if(u&&typeof u=="object"||typeof u=="function")for(let e of X(u))!j.call(c,e)&&e!==t&&d(c,e,{get:()=>u[e],enumerable:!(a=J(u,e))||a.enumerable});return c};var at=c=>tt(d({},"__esModule",{value:!0}),c);var mt={};Z(mt,{ApiRewardAllocationWeight:()=>z,ApiValidator:()=>y,ApiValidatorBlockUptime:()=>K,ApiValidatorMinimal:()=>g,ApiVault:()=>S,ApiVaultIncentive:()=>Y,GetPolStakeBeraVaultEventsByOwner:()=>St,GetRewardVault:()=>lt,GetSWberaVaultMetadata:()=>pt,GetSWberaVaultSnapshots:()=>ct,GetStakeBeraVaultEarningsByOwner:()=>yt,GetUserVaults:()=>it,GetValidator:()=>ot,GetValidators:()=>rt,GetVaultHistory:()=>ut,GetVaultValidators:()=>nt,GetVaults:()=>et,GlobalData:()=>st,GqlChain:()=>m,GqlContentNewsItemSource:()=>G,GqlPoolAprItemType:()=>A,GqlPoolEventType:()=>b,GqlPoolEventsDataRange:()=>I,GqlPoolFilterCategory:()=>q,GqlPoolJoinExitType:()=>P,GqlPoolNestingType:()=>B,GqlPoolOrderBy:()=>k,GqlPoolOrderDirection:()=>h,GqlPoolSnapshotDataRange:()=>_,GqlPoolType:()=>D,GqlRewardVaultIncentiveOrderBy:()=>v,GqlRewardVaultIncentiveOrderDirection:()=>M,GqlRewardVaultOrderBy:()=>T,GqlRewardVaultOrderDirection:()=>x,GqlRewardVaultSnapshotDataRange:()=>V,GqlRewardVaultSnapshotResolution:()=>w,GqlSWberaVaultMetadataResolution:()=>R,GqlSorSwapType:()=>C,GqlStakeBeraVaultEventType:()=>U,GqlTokenChartDataRange:()=>E,GqlTokenType:()=>$,GqlUserVaultDepositOrderBy:()=>F,GqlUserVaultDepositOrderDirection:()=>f,GqlValidatorBlockUptimeStatus:()=>N,GqlValidatorBoostOrderBy:()=>Q,GqlValidatorBoostOrderDirection:()=>W,GqlValidatorOrderBy:()=>O,GqlValidatorOrderDirection:()=>H,GqlVaultSnapshotDataRange:()=>L,default:()=>gt});module.exports=at(mt);var o=require("@apollo/client"),m=(a=>(a.Bartio="BARTIO",a.Berachain="BERACHAIN",a.Cartio="CARTIO",a))(m||{}),G=(a=>(a.Discord="discord",a.Medium="medium",a.Twitter="twitter",a))(G||{}),A=(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))(A||{}),b=(a=>(a.Add="ADD",a.Remove="REMOVE",a.Swap="SWAP",a))(b||{}),I=(a=>(a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(I||{}),q=(p=>(p.BlackListed="BLACK_LISTED",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))(q||{}),P=(t=>(t.Exit="Exit",t.Join="Join",t))(P||{}),B=(a=>(a.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",a.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",a.NoNesting="NO_NESTING",a))(B||{}),k=(n=>(n.Apr="apr",n.BgtApr="bgtApr",n.CombinedApr="combinedApr",n.Fees24h="fees24h",n.TotalLiquidity="totalLiquidity",n.TotalShares="totalShares",n.UserbalanceUsd="userbalanceUsd",n.Volume24h="volume24h",n))(k||{}),h=(t=>(t.Asc="asc",t.Desc="desc",t))(h||{}),_=(r=>(r.AllTime="ALL_TIME",r.NinetyDays="NINETY_DAYS",r.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",r.OneYear="ONE_YEAR",r.ThirtyDays="THIRTY_DAYS",r))(_||{}),D=(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))(D||{}),v=(a=>(a.AmountRemaining="amountRemaining",a.AmountRemainingUsd="amountRemainingUsd",a.IncentiveRate="incentiveRate",a))(v||{}),M=(t=>(t.Asc="asc",t.Desc="desc",t))(M||{}),T=(n=>(n.ActiveIncentivesRateUsd="activeIncentivesRateUsd",n.ActiveIncentivesValueUsd="activeIncentivesValueUsd",n.AllTimeBgtReceived="allTimeBGTReceived",n.Apr="apr",n.Apy="apy",n.BgtCapturePercentage="bgtCapturePercentage",n.Last24hBgtReceived="last24hBGTReceived",n.ProjectedApr="projectedApr",n))(T||{}),x=(t=>(t.Asc="asc",t.Desc="desc",t))(x||{}),V=(e=>(e.NinetyDays="NINETY_DAYS",e.SevenDays="SEVEN_DAYS",e.SixtyDays="SIXTY_DAYS",e.ThirtyDays="THIRTY_DAYS",e))(V||{}),w=(t=>(t.Day="DAY",t.Hour="HOUR",t))(w||{}),R=(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(R||{}),C=(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(C||{}),U=(t=>(t.Deposit="DEPOSIT",t.WithdrawalCompleted="WITHDRAWAL_COMPLETED",t))(U||{}),E=(r=>(r.NinetyDay="NINETY_DAY",r.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",r.OneYear="ONE_YEAR",r.SevenDay="SEVEN_DAY",r.ThirtyDay="THIRTY_DAY",r))(E||{}),$=(a=>(a.Bpt="BPT",a.PhantomBpt="PHANTOM_BPT",a.WhiteListed="WHITE_LISTED",a))($||{}),F=(u=>(u.Amount="amount",u))(F||{}),f=(t=>(t.Asc="asc",t.Desc="desc",t))(f||{}),N=(e=>(e.Inactive="INACTIVE",e.Offline="OFFLINE",e.Proposed="PROPOSED",e.Signed="SIGNED",e))(N||{}),Q=(r=>(r.ActiveBoostAmount="activeBoostAmount",r.LatestBlock="latestBlock",r.LatestBlockTime="latestBlockTime",r.QueuedBoostAmount="queuedBoostAmount",r.QueuedDropBoostAmount="queuedDropBoostAmount",r))(Q||{}),W=(t=>(t.Asc="asc",t.Desc="desc",t))(W||{}),O=(l=>(l.ActiveBoostAmount="activeBoostAmount",l.AllTimeDistributedBgtAmount="allTimeDistributedBGTAmount",l.AllTimeEarnedBgtAmount="allTimeEarnedBGTAmount",l.Apy="apy",l.BgtCapturePercentage="bgtCapturePercentage",l.BoostApr="boostApr",l.CommissionOnIncentives="commissionOnIncentives",l.LastDayDistributedBgtAmount="lastDayDistributedBGTAmount",l.LastDayEarnedBgtAmount="lastDayEarnedBGTAmount",l.QueuedBoostAmount="queuedBoostAmount",l.QueuedDropBoostAmount="queuedDropBoostAmount",l.RewardRate="rewardRate",l.StakedBeraAmount="stakedBeraAmount",l.UsersActiveBoostCount="usersActiveBoostCount",l.UsersQueuedBoostCount="usersQueuedBoostCount",l))(O||{}),H=(t=>(t.Asc="asc",t.Desc="desc",t))(H||{}),L=(e=>(e.NinetyDays="NINETY_DAYS",e.SevenDays="SEVEN_DAYS",e.SixtyDays="SIXTY_DAYS",e.ThirtyDays="THIRTY_DAYS",e))(L||{}),g=o.gql`
|
|
2
2
|
fragment ApiValidatorMinimal on GqlValidator {
|
|
3
3
|
id
|
|
4
4
|
pubkey
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
commissionOnIncentives
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
`,Y=
|
|
25
|
+
`,Y=o.gql`
|
|
26
26
|
fragment ApiVaultIncentive on GqlRewardVaultIncentive {
|
|
27
27
|
active
|
|
28
28
|
remainingAmount
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
decimals
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
`,S=
|
|
40
|
+
`,S=o.gql`
|
|
41
41
|
fragment ApiVault on GqlRewardVault {
|
|
42
42
|
id: vaultAddress
|
|
43
43
|
vaultAddress
|
|
@@ -74,17 +74,16 @@
|
|
|
74
74
|
...ApiVaultIncentive
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
${Y}`,z=
|
|
77
|
+
${Y}`,z=o.gql`
|
|
78
78
|
fragment ApiRewardAllocationWeight on GqlValidatorRewardAllocationWeight {
|
|
79
79
|
percentageNumerator
|
|
80
|
-
validatorId
|
|
81
80
|
receivingVault {
|
|
82
81
|
...ApiVault
|
|
83
82
|
}
|
|
84
83
|
receiver
|
|
85
84
|
startBlock
|
|
86
85
|
}
|
|
87
|
-
${S}`,y=
|
|
86
|
+
${S}`,y=o.gql`
|
|
88
87
|
fragment ApiValidator on GqlValidator {
|
|
89
88
|
...ApiValidatorMinimal
|
|
90
89
|
operator
|
|
@@ -105,8 +104,8 @@
|
|
|
105
104
|
description
|
|
106
105
|
}
|
|
107
106
|
}
|
|
108
|
-
${
|
|
109
|
-
${z}`,K=
|
|
107
|
+
${g}
|
|
108
|
+
${z}`,K=o.gql`
|
|
110
109
|
fragment ApiValidatorBlockUptime on GqlValidatorBlockUptime {
|
|
111
110
|
isActive
|
|
112
111
|
isProposer
|
|
@@ -114,7 +113,7 @@ ${z}`,K=e.gql`
|
|
|
114
113
|
status
|
|
115
114
|
blockNumber
|
|
116
115
|
}
|
|
117
|
-
`,et=
|
|
116
|
+
`,et=o.gql`
|
|
118
117
|
query GetVaults($where: GqlRewardVaultFilter, $pageSize: Int, $skip: Int, $orderBy: GqlRewardVaultOrderBy = bgtCapturePercentage, $orderDirection: GqlRewardVaultOrderDirection = desc, $search: String) {
|
|
119
118
|
polGetRewardVaults(
|
|
120
119
|
where: $where
|
|
@@ -133,7 +132,7 @@ ${z}`,K=e.gql`
|
|
|
133
132
|
}
|
|
134
133
|
}
|
|
135
134
|
}
|
|
136
|
-
${S}`,ot=
|
|
135
|
+
${S}`,ot=o.gql`
|
|
137
136
|
query GetValidator($id: String!, $chain: GqlChain!) {
|
|
138
137
|
validator: polGetValidator(validatorId: $id, chain: $chain) {
|
|
139
138
|
...ApiValidator
|
|
@@ -143,7 +142,7 @@ ${z}`,K=e.gql`
|
|
|
143
142
|
}
|
|
144
143
|
}
|
|
145
144
|
${y}
|
|
146
|
-
${K}`,rt=
|
|
145
|
+
${K}`,rt=o.gql`
|
|
147
146
|
query GetValidators($where: GqlValidatorFilter, $sortBy: GqlValidatorOrderBy = lastDayDistributedBGTAmount, $sortOrder: GqlValidatorOrderDirection = desc, $pageSize: Int, $skip: Int, $search: String, $chain: GqlChain) {
|
|
148
147
|
validators: polGetValidators(
|
|
149
148
|
where: $where
|
|
@@ -165,7 +164,7 @@ ${K}`,rt=e.gql`
|
|
|
165
164
|
}
|
|
166
165
|
}
|
|
167
166
|
}
|
|
168
|
-
${y}`,nt=
|
|
167
|
+
${y}`,nt=o.gql`
|
|
169
168
|
query GetVaultValidators($vaultId: String!, $chain: GqlChain, $isActive: Boolean = true) {
|
|
170
169
|
validators: polGetValidators(
|
|
171
170
|
where: {vaultAddress: $vaultId, isActive: $isActive}
|
|
@@ -182,13 +181,13 @@ ${K}`,rt=e.gql`
|
|
|
182
181
|
}
|
|
183
182
|
}
|
|
184
183
|
}
|
|
185
|
-
${y}`,lt=
|
|
184
|
+
${y}`,lt=o.gql`
|
|
186
185
|
query GetRewardVault($vaultId: String!, $chain: GqlChain!) {
|
|
187
186
|
rewardVault: polGetRewardVault(vaultAddress: $vaultId, chain: $chain) {
|
|
188
187
|
...ApiVault
|
|
189
188
|
}
|
|
190
189
|
}
|
|
191
|
-
${S}`,st=
|
|
190
|
+
${S}`,st=o.gql`
|
|
192
191
|
query GlobalData($chain: GqlChain!) {
|
|
193
192
|
top3EmittingValidators: polGetValidators(
|
|
194
193
|
orderBy: bgtCapturePercentage
|
|
@@ -221,7 +220,7 @@ ${K}`,rt=e.gql`
|
|
|
221
220
|
}
|
|
222
221
|
}
|
|
223
222
|
}
|
|
224
|
-
${
|
|
223
|
+
${g}`,it=o.gql`
|
|
225
224
|
query GetUserVaults($userId: String!, $chain: GqlChain!) {
|
|
226
225
|
userVaultDeposits: polGetUserVaultDeposits(userAddress: $userId, chain: $chain) {
|
|
227
226
|
pagination {
|
|
@@ -237,7 +236,7 @@ ${K}`,rt=e.gql`
|
|
|
237
236
|
}
|
|
238
237
|
}
|
|
239
238
|
}
|
|
240
|
-
${S}`,ut=
|
|
239
|
+
${S}`,ut=o.gql`
|
|
241
240
|
query GetVaultHistory($vaultId: String!, $chain: GqlChain!, $resolution: GqlRewardVaultSnapshotResolution = DAY, $range: GqlRewardVaultSnapshotDataRange = THIRTY_DAYS) {
|
|
242
241
|
polGetRewardVaultSnapshots(
|
|
243
242
|
chain: $chain
|
|
@@ -250,37 +249,14 @@ ${K}`,rt=e.gql`
|
|
|
250
249
|
apr
|
|
251
250
|
}
|
|
252
251
|
}
|
|
253
|
-
`,pt=
|
|
254
|
-
query GetVaultDurations {
|
|
255
|
-
polGetVaultDurations {
|
|
256
|
-
maxRewardDuration
|
|
257
|
-
minRewardDuration
|
|
258
|
-
rewardDurationCooldownPeriod
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
`,ct=e.gql`
|
|
262
|
-
query GetBoostDelay {
|
|
263
|
-
polGetValidatorBoostDelay {
|
|
264
|
-
boostDelay
|
|
265
|
-
unboostDelay
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
`,St=e.gql`
|
|
269
|
-
query GetCommissionChangeDelay {
|
|
270
|
-
polGetValidatorCommissionDelay {
|
|
271
|
-
rewardAllocationBlockDelay
|
|
272
|
-
maxWeightPerVault
|
|
273
|
-
commissionChangeDelay
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
`,yt=e.gql`
|
|
252
|
+
`,pt=o.gql`
|
|
277
253
|
query GetSWberaVaultMetadata($chain: GqlChain!, $resolution: GqlSWberaVaultMetadataResolution) {
|
|
278
254
|
polGetSWberaVaultMetadata(chain: $chain, resolution: $resolution) {
|
|
279
255
|
apr
|
|
280
256
|
chain
|
|
281
257
|
}
|
|
282
258
|
}
|
|
283
|
-
`,
|
|
259
|
+
`,ct=o.gql`
|
|
284
260
|
query GetSWberaVaultSnapshots($chain: GqlChain!, $range: GqlVaultSnapshotDataRange) {
|
|
285
261
|
polGetSWberaVaultSnapshots(chain: $chain, range: $range) {
|
|
286
262
|
apr
|
|
@@ -291,7 +267,7 @@ ${K}`,rt=e.gql`
|
|
|
291
267
|
vaultAddress
|
|
292
268
|
}
|
|
293
269
|
}
|
|
294
|
-
`,
|
|
270
|
+
`,St=o.gql`
|
|
295
271
|
query GetPolStakeBeraVaultEventsByOwner($owner: String!) {
|
|
296
272
|
events: polGetStakeBeraVaultEventsByOwner(owner: $owner) {
|
|
297
273
|
type
|
|
@@ -302,11 +278,11 @@ ${K}`,rt=e.gql`
|
|
|
302
278
|
_timestamp
|
|
303
279
|
}
|
|
304
280
|
}
|
|
305
|
-
`,
|
|
281
|
+
`,yt=o.gql`
|
|
306
282
|
query GetStakeBeraVaultEarningsByOwner($owner: String!) {
|
|
307
283
|
polGetStakeBeraVaultEarningsByOwner(owner: $owner) {
|
|
308
284
|
earnings
|
|
309
285
|
owner
|
|
310
286
|
}
|
|
311
287
|
}
|
|
312
|
-
`,
|
|
288
|
+
`,dt={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"]}},gt=dt;0&&(module.exports={ApiRewardAllocationWeight,ApiValidator,ApiValidatorBlockUptime,ApiValidatorMinimal,ApiVault,ApiVaultIncentive,GetPolStakeBeraVaultEventsByOwner,GetRewardVault,GetSWberaVaultMetadata,GetSWberaVaultSnapshots,GetStakeBeraVaultEarningsByOwner,GetUserVaults,GetValidator,GetValidators,GetVaultHistory,GetVaultValidators,GetVaults,GlobalData,GqlChain,GqlContentNewsItemSource,GqlPoolAprItemType,GqlPoolEventType,GqlPoolEventsDataRange,GqlPoolFilterCategory,GqlPoolJoinExitType,GqlPoolNestingType,GqlPoolOrderBy,GqlPoolOrderDirection,GqlPoolSnapshotDataRange,GqlPoolType,GqlRewardVaultIncentiveOrderBy,GqlRewardVaultIncentiveOrderDirection,GqlRewardVaultOrderBy,GqlRewardVaultOrderDirection,GqlRewardVaultSnapshotDataRange,GqlRewardVaultSnapshotResolution,GqlSWberaVaultMetadataResolution,GqlSorSwapType,GqlStakeBeraVaultEventType,GqlTokenChartDataRange,GqlTokenType,GqlUserVaultDepositOrderBy,GqlUserVaultDepositOrderDirection,GqlValidatorBlockUptimeStatus,GqlValidatorBoostOrderBy,GqlValidatorBoostOrderDirection,GqlValidatorOrderBy,GqlValidatorOrderDirection,GqlVaultSnapshotDataRange});
|
|
@@ -72,9 +72,24 @@ type Scalars = {
|
|
|
72
72
|
output: any;
|
|
73
73
|
};
|
|
74
74
|
};
|
|
75
|
-
type
|
|
76
|
-
__typename?: '
|
|
77
|
-
|
|
75
|
+
type BendVaultDynamicData = {
|
|
76
|
+
__typename?: 'BendVaultDynamicData';
|
|
77
|
+
nativeApy: Scalars['Float']['output'];
|
|
78
|
+
performanceFee: Scalars['Float']['output'];
|
|
79
|
+
performanceFeePercentage: Scalars['Float']['output'];
|
|
80
|
+
platformFee: Scalars['Float']['output'];
|
|
81
|
+
platformFeePercentage: Scalars['Float']['output'];
|
|
82
|
+
supplyApy1d: Scalars['Float']['output'];
|
|
83
|
+
supplyApy7d: Scalars['Float']['output'];
|
|
84
|
+
supplyApy30d: Scalars['Float']['output'];
|
|
85
|
+
totalApy: Scalars['Float']['output'];
|
|
86
|
+
vaultAddress: Scalars['Bytes']['output'];
|
|
87
|
+
};
|
|
88
|
+
type BendVaultResponse = {
|
|
89
|
+
__typename?: 'BendVaultResponse';
|
|
90
|
+
dynamicData?: Maybe<BendVaultDynamicData>;
|
|
91
|
+
loanTokenAddress: Scalars['Bytes']['output'];
|
|
92
|
+
vaultAddress: Scalars['Bytes']['output'];
|
|
78
93
|
};
|
|
79
94
|
type GqlBalancePoolAprItem = {
|
|
80
95
|
__typename?: 'GqlBalancePoolAprItem';
|
|
@@ -2286,7 +2301,8 @@ type PaginatedValidatorsResponse = {
|
|
|
2286
2301
|
};
|
|
2287
2302
|
type Query = {
|
|
2288
2303
|
__typename?: 'Query';
|
|
2289
|
-
|
|
2304
|
+
bendVault?: Maybe<BendVaultResponse>;
|
|
2305
|
+
bendVaults: Array<BendVaultResponse>;
|
|
2290
2306
|
blocksGetAverageBlockTime: Scalars['Float']['output'];
|
|
2291
2307
|
blocksGetBlocksPerDay: Scalars['Float']['output'];
|
|
2292
2308
|
blocksGetBlocksPerSecond: Scalars['Float']['output'];
|
|
@@ -2405,6 +2421,9 @@ type Query = {
|
|
|
2405
2421
|
userGetSwaps: Array<GqlPoolSwap>;
|
|
2406
2422
|
userGetTopBGTBalance: Array<GqlUserBgtBalance>;
|
|
2407
2423
|
};
|
|
2424
|
+
type QueryBendVaultArgs = {
|
|
2425
|
+
vaultAddress: Scalars['Bytes']['input'];
|
|
2426
|
+
};
|
|
2408
2427
|
type QueryContentGetNewsItemsArgs = {
|
|
2409
2428
|
chain?: InputMaybe<GqlChain>;
|
|
2410
2429
|
};
|
|
@@ -2848,7 +2867,6 @@ type ApiValidatorFragment = {
|
|
|
2848
2867
|
rewardAllocationWeights: Array<{
|
|
2849
2868
|
__typename?: 'GqlValidatorRewardAllocationWeight';
|
|
2850
2869
|
percentageNumerator: number;
|
|
2851
|
-
validatorId: `0x${string}`;
|
|
2852
2870
|
receiver: `0x${string}`;
|
|
2853
2871
|
startBlock: number;
|
|
2854
2872
|
receivingVault?: {
|
|
@@ -2937,7 +2955,6 @@ type ApiValidatorFragment = {
|
|
|
2937
2955
|
type ApiRewardAllocationWeightFragment = {
|
|
2938
2956
|
__typename?: 'GqlValidatorRewardAllocationWeight';
|
|
2939
2957
|
percentageNumerator: number;
|
|
2940
|
-
validatorId: `0x${string}`;
|
|
2941
2958
|
receiver: `0x${string}`;
|
|
2942
2959
|
startBlock: number;
|
|
2943
2960
|
receivingVault?: {
|
|
@@ -3016,7 +3033,6 @@ type GetValidatorQuery = {
|
|
|
3016
3033
|
rewardAllocationWeights: Array<{
|
|
3017
3034
|
__typename?: 'GqlValidatorRewardAllocationWeight';
|
|
3018
3035
|
percentageNumerator: number;
|
|
3019
|
-
validatorId: `0x${string}`;
|
|
3020
3036
|
receiver: `0x${string}`;
|
|
3021
3037
|
startBlock: number;
|
|
3022
3038
|
receivingVault?: {
|
|
@@ -3140,7 +3156,6 @@ type GetValidatorsQuery = {
|
|
|
3140
3156
|
rewardAllocationWeights: Array<{
|
|
3141
3157
|
__typename?: 'GqlValidatorRewardAllocationWeight';
|
|
3142
3158
|
percentageNumerator: number;
|
|
3143
|
-
validatorId: `0x${string}`;
|
|
3144
3159
|
receiver: `0x${string}`;
|
|
3145
3160
|
startBlock: number;
|
|
3146
3161
|
receivingVault?: {
|
|
@@ -3251,7 +3266,6 @@ type GetVaultValidatorsQuery = {
|
|
|
3251
3266
|
rewardAllocationWeights: Array<{
|
|
3252
3267
|
__typename?: 'GqlValidatorRewardAllocationWeight';
|
|
3253
3268
|
percentageNumerator: number;
|
|
3254
|
-
validatorId: `0x${string}`;
|
|
3255
3269
|
receiver: `0x${string}`;
|
|
3256
3270
|
startBlock: number;
|
|
3257
3271
|
receivingVault?: {
|
|
@@ -3545,41 +3559,6 @@ type GetVaultHistoryQuery = {
|
|
|
3545
3559
|
apr: string;
|
|
3546
3560
|
}>;
|
|
3547
3561
|
};
|
|
3548
|
-
type GetVaultDurationsQueryVariables = Exact<{
|
|
3549
|
-
[key: string]: never;
|
|
3550
|
-
}>;
|
|
3551
|
-
type GetVaultDurationsQuery = {
|
|
3552
|
-
__typename?: 'Query';
|
|
3553
|
-
polGetVaultDurations: {
|
|
3554
|
-
__typename?: 'GqlVaultDurations';
|
|
3555
|
-
maxRewardDuration: string;
|
|
3556
|
-
minRewardDuration: string;
|
|
3557
|
-
rewardDurationCooldownPeriod: string;
|
|
3558
|
-
};
|
|
3559
|
-
};
|
|
3560
|
-
type GetBoostDelayQueryVariables = Exact<{
|
|
3561
|
-
[key: string]: never;
|
|
3562
|
-
}>;
|
|
3563
|
-
type GetBoostDelayQuery = {
|
|
3564
|
-
__typename?: 'Query';
|
|
3565
|
-
polGetValidatorBoostDelay: {
|
|
3566
|
-
__typename?: 'GqlValidatorBoostDelay';
|
|
3567
|
-
boostDelay: string;
|
|
3568
|
-
unboostDelay: string;
|
|
3569
|
-
};
|
|
3570
|
-
};
|
|
3571
|
-
type GetCommissionChangeDelayQueryVariables = Exact<{
|
|
3572
|
-
[key: string]: never;
|
|
3573
|
-
}>;
|
|
3574
|
-
type GetCommissionChangeDelayQuery = {
|
|
3575
|
-
__typename?: 'Query';
|
|
3576
|
-
polGetValidatorCommissionDelay: {
|
|
3577
|
-
__typename?: 'GqlValidatorCommissionDelay';
|
|
3578
|
-
rewardAllocationBlockDelay: string;
|
|
3579
|
-
maxWeightPerVault: string;
|
|
3580
|
-
commissionChangeDelay: string;
|
|
3581
|
-
};
|
|
3582
|
-
};
|
|
3583
3562
|
type GetSWberaVaultMetadataQueryVariables = Exact<{
|
|
3584
3563
|
chain: GqlChain;
|
|
3585
3564
|
resolution?: InputMaybe<GqlSWberaVaultMetadataResolution>;
|
|
@@ -3648,9 +3627,6 @@ declare const GetRewardVault: _apollo_client.DocumentNode;
|
|
|
3648
3627
|
declare const GlobalData: _apollo_client.DocumentNode;
|
|
3649
3628
|
declare const GetUserVaults: _apollo_client.DocumentNode;
|
|
3650
3629
|
declare const GetVaultHistory: _apollo_client.DocumentNode;
|
|
3651
|
-
declare const GetVaultDurations: _apollo_client.DocumentNode;
|
|
3652
|
-
declare const GetBoostDelay: _apollo_client.DocumentNode;
|
|
3653
|
-
declare const GetCommissionChangeDelay: _apollo_client.DocumentNode;
|
|
3654
3630
|
declare const GetSWberaVaultMetadata: _apollo_client.DocumentNode;
|
|
3655
3631
|
declare const GetSWberaVaultSnapshots: _apollo_client.DocumentNode;
|
|
3656
3632
|
declare const GetPolStakeBeraVaultEventsByOwner: _apollo_client.DocumentNode;
|
|
@@ -3662,4 +3638,4 @@ interface PossibleTypesResultData {
|
|
|
3662
3638
|
}
|
|
3663
3639
|
declare const result: PossibleTypesResultData;
|
|
3664
3640
|
|
|
3665
|
-
export { ApiRewardAllocationWeight, type ApiRewardAllocationWeightFragment, ApiValidator, ApiValidatorBlockUptime, type ApiValidatorBlockUptimeFragment, type ApiValidatorFragment, ApiValidatorMinimal, type ApiValidatorMinimalFragment, ApiVault, type ApiVaultFragment, ApiVaultIncentive, type ApiVaultIncentiveFragment, type
|
|
3641
|
+
export { ApiRewardAllocationWeight, type ApiRewardAllocationWeightFragment, ApiValidator, ApiValidatorBlockUptime, type ApiValidatorBlockUptimeFragment, type ApiValidatorFragment, ApiValidatorMinimal, type ApiValidatorMinimalFragment, ApiVault, type ApiVaultFragment, ApiVaultIncentive, type ApiVaultIncentiveFragment, type BendVaultDynamicData, type BendVaultResponse, type Exact, GetPolStakeBeraVaultEventsByOwner, type GetPolStakeBeraVaultEventsByOwnerQuery, type GetPolStakeBeraVaultEventsByOwnerQueryVariables, GetRewardVault, type GetRewardVaultQuery, type GetRewardVaultQueryVariables, GetSWberaVaultMetadata, type GetSWberaVaultMetadataQuery, type GetSWberaVaultMetadataQueryVariables, GetSWberaVaultSnapshots, type GetSWberaVaultSnapshotsQuery, type GetSWberaVaultSnapshotsQueryVariables, GetStakeBeraVaultEarningsByOwner, type GetStakeBeraVaultEarningsByOwnerQuery, type GetStakeBeraVaultEarningsByOwnerQueryVariables, GetUserVaults, type GetUserVaultsQuery, type GetUserVaultsQueryVariables, GetValidator, type GetValidatorQuery, type GetValidatorQueryVariables, GetValidators, type GetValidatorsQuery, type GetValidatorsQueryVariables, GetVaultHistory, type GetVaultHistoryQuery, type GetVaultHistoryQueryVariables, GetVaultValidators, type GetVaultValidatorsQuery, type GetVaultValidatorsQueryVariables, GetVaults, type GetVaultsQuery, type GetVaultsQueryVariables, GlobalData, type GlobalDataQuery, type GlobalDataQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type GqlContentNewsItem, GqlContentNewsItemSource, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlFeaturePoolGroupItemExternalLink, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, type GqlLatestSyncedBlocks, type GqlNestedPool, type GqlPagination, type GqlPoolAddRemoveEventV3, type GqlPoolAggregator, type GqlPoolApr, type GqlPoolAprItem, GqlPoolAprItemType, type GqlPoolAprRange, type GqlPoolAprTotal, type GqlPoolAprValue, type GqlPoolBase, type GqlPoolBatchSwap, type GqlPoolBatchSwapPool, type GqlPoolBatchSwapSwap, type GqlPoolComposableStable, type GqlPoolComposableStableNested, type GqlPoolDynamicData, type GqlPoolElement, type GqlPoolEvent, type GqlPoolEventAmount, GqlPoolEventType, GqlPoolEventsDataRange, type GqlPoolEventsFilter, type GqlPoolFeaturedPool, type GqlPoolFeaturedPoolGroup, type GqlPoolFeaturedPoolGroupItem, type GqlPoolFilter, GqlPoolFilterCategory, type GqlPoolFx, type GqlPoolGyro, type GqlPoolInvestConfig, type GqlPoolInvestOption, type GqlPoolJoinExit, type GqlPoolJoinExitAmount, type GqlPoolJoinExitFilter, GqlPoolJoinExitType, type GqlPoolLiquidityBootstrapping, type GqlPoolMetaStable, type GqlPoolMinimal, type GqlPoolMutationResult, type GqlPoolNestedUnion, GqlPoolNestingType, GqlPoolOrderBy, GqlPoolOrderDirection, type GqlPoolSnapshot, GqlPoolSnapshotDataRange, type GqlPoolStable, type GqlPoolStableComposablePoolData, type GqlPoolSwap, type GqlPoolSwapEventCowAmm, type GqlPoolSwapEventV3, type GqlPoolSwapFilter, type GqlPoolTimePeriod, type GqlPoolToken, type GqlPoolTokenBase, type GqlPoolTokenComposableStable, type GqlPoolTokenComposableStableNestedUnion, type GqlPoolTokenDetail, type GqlPoolTokenDisplay, type GqlPoolTokenExpanded, type GqlPoolTokenUnion, GqlPoolType, type GqlPoolUnion, type GqlPoolUserBalance, type GqlPoolUserSwapVolume, type GqlPoolWeighted, type GqlPoolWithdrawConfig, type GqlPoolWithdrawOption, type GqlPriceImpact, type GqlPriceRateProviderData, type GqlPriceRateProviderUpgradeableComponent, type GqlProtocolMetricsAggregated, type GqlProtocolMetricsChain, type GqlRelicSnapshot, type GqlRewardVault, type GqlRewardVaultDynamicData, type GqlRewardVaultFilter, type GqlRewardVaultIncentive, GqlRewardVaultIncentiveOrderBy, GqlRewardVaultIncentiveOrderDirection, type GqlRewardVaultMetadata, GqlRewardVaultOrderBy, GqlRewardVaultOrderDirection, type GqlRewardVaultSnapshot, GqlRewardVaultSnapshotDataRange, GqlRewardVaultSnapshotResolution, type GqlRewardVaultWhitelistedToken, type GqlSWberaVaultMetadata, GqlSWberaVaultMetadataResolution, type GqlSWberaVaultSnapshot, type GqlSorCallData, type GqlSorGetSwapPaths, type GqlSorGetSwapsResponse, type GqlSorPath, type GqlSorSwap, type GqlSorSwapOptionsInput, type GqlSorSwapRoute, type GqlSorSwapRouteHop, GqlSorSwapType, type GqlStakeBeraVaultEarnings, type GqlStakeBeraVaultEvent, GqlStakeBeraVaultEventType, type GqlSwapCallDataInput, type GqlToken, type GqlTokenAmountHumanReadable, type GqlTokenCandlestickChartDataItem, GqlTokenChartDataRange, type GqlTokenData, type GqlTokenDynamicData, type GqlTokenMutationResult, type GqlTokenPrice, type GqlTokenPriceChartDataItem, GqlTokenType, type GqlUserBgtBalance, type GqlUserPoolBalance, type GqlUserSwapVolumeFilter, type GqlUserVaultDeposit, type GqlUserVaultDepositMinimal, GqlUserVaultDepositOrderBy, GqlUserVaultDepositOrderDirection, type GqlValidator, type GqlValidatorBlockUptime, GqlValidatorBlockUptimeStatus, type GqlValidatorBoost, type GqlValidatorBoostDelay, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, type GqlValidatorCommissionDelay, type GqlValidatorCommissionHistory, type GqlValidatorDynamicData, type GqlValidatorFilter, type GqlValidatorMetadata, GqlValidatorOrderBy, GqlValidatorOrderDirection, type GqlValidatorRewardAllocationWeight, type GqlValidatorStats, type GqlVaultDurations, GqlVaultSnapshotDataRange, type Hook, type HookData, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, type Mutation, type MutationPoolDeletePoolArgs, type MutationPoolInitializeSnapshotsForPoolArgs, type MutationPoolLoadSnapshotsForPoolsArgs, type MutationPoolReloadAllPoolAprsArgs, type MutationPoolReloadPoolsArgs, type MutationPoolSyncAllCowSnapshotsArgs, type MutationPoolSyncLatestSnapshotsForAllPoolsArgs, type MutationPoolSyncPoolArgs, type MutationPoolUpdateAprsArgs, type MutationTokenDeleteTokenTypeArgs, type MutationTokenReloadErc4626TokensArgs, type MutationTokenReloadTokenPricesArgs, type MutationTokenSyncLatestFxPricesArgs, type MutationUserInitWalletBalancesForPoolArgs, type MutationUserSyncBalanceArgs, type PaginatedRewardVaultIncentivesResponse, type PaginatedRewardVaultsResponse, type PaginatedUserVaultDepositsResponse, type PaginatedValidatorBlockUptimesResponse, type PaginatedValidatorBoostsResponse, type PaginatedValidatorsResponse, type PossibleTypesResultData, type Query, type QueryBendVaultArgs, type QueryContentGetNewsItemsArgs, type QueryHooksArgs, type QueryPolGetActiveIncentivesArgs, type QueryPolGetDefaultRewardAllocationsArgs, type QueryPolGetGlobalInfoArgs, type QueryPolGetRewardVaultArgs, type QueryPolGetRewardVaultSnapshotsArgs, type QueryPolGetRewardVaultsArgs, type QueryPolGetSWberaVaultMetadataArgs, type QueryPolGetSWberaVaultSnapshotsArgs, type QueryPolGetStakeBeraVaultEarningsByOwnerArgs, type QueryPolGetStakeBeraVaultEventsByOwnerArgs, type QueryPolGetTopVaultDepositsArgs, type QueryPolGetUserVaultDepositsArgs, type QueryPolGetValidatorArgs, type QueryPolGetValidatorBlockUptimesArgs, type QueryPolGetValidatorBoostsArgs, type QueryPolGetValidatorsArgs, type QueryPoolEventsArgs, type QueryPoolGetAggregatorPoolsArgs, type QueryPoolGetBatchSwapsArgs, type QueryPoolGetEventsArgs, type QueryPoolGetFeaturedPoolGroupsArgs, type QueryPoolGetFeaturedPoolsArgs, type QueryPoolGetJoinExitsArgs, type QueryPoolGetPoolArgs, type QueryPoolGetPoolsArgs, type QueryPoolGetPoolsCountArgs, type QueryPoolGetSnapshotsArgs, type QueryPoolGetSwapsArgs, type QueryPoolGetUserBalancesArgs, type QueryProtocolMetricsAggregatedArgs, type QueryProtocolMetricsChainArgs, type QuerySorGetSwapPathsArgs, type QuerySorGetSwapsArgs, type QueryTokenGetCandlestickChartDataArgs, type QueryTokenGetCurrentPriceArgs, type QueryTokenGetCurrentPricesArgs, type QueryTokenGetHistoricalPricesArgs, type QueryTokenGetPriceChartDataArgs, type QueryTokenGetProtocolTokenPriceArgs, type QueryTokenGetRelativePriceChartDataArgs, type QueryTokenGetTokenArgs, type QueryTokenGetTokenDataArgs, type QueryTokenGetTokenDynamicDataArgs, type QueryTokenGetTokensArgs, type QueryTokenGetTokensDataArgs, type QueryTokenGetTokensDynamicDataArgs, type QueryUserGetPoolBalancesArgs, type QueryUserGetPoolJoinExitsArgs, type QueryUserGetSwapsArgs, type QueryUserGetTopBgtBalanceArgs, type Scalars, type Token, result as default };
|
|
@@ -72,9 +72,24 @@ type Scalars = {
|
|
|
72
72
|
output: any;
|
|
73
73
|
};
|
|
74
74
|
};
|
|
75
|
-
type
|
|
76
|
-
__typename?: '
|
|
77
|
-
|
|
75
|
+
type BendVaultDynamicData = {
|
|
76
|
+
__typename?: 'BendVaultDynamicData';
|
|
77
|
+
nativeApy: Scalars['Float']['output'];
|
|
78
|
+
performanceFee: Scalars['Float']['output'];
|
|
79
|
+
performanceFeePercentage: Scalars['Float']['output'];
|
|
80
|
+
platformFee: Scalars['Float']['output'];
|
|
81
|
+
platformFeePercentage: Scalars['Float']['output'];
|
|
82
|
+
supplyApy1d: Scalars['Float']['output'];
|
|
83
|
+
supplyApy7d: Scalars['Float']['output'];
|
|
84
|
+
supplyApy30d: Scalars['Float']['output'];
|
|
85
|
+
totalApy: Scalars['Float']['output'];
|
|
86
|
+
vaultAddress: Scalars['Bytes']['output'];
|
|
87
|
+
};
|
|
88
|
+
type BendVaultResponse = {
|
|
89
|
+
__typename?: 'BendVaultResponse';
|
|
90
|
+
dynamicData?: Maybe<BendVaultDynamicData>;
|
|
91
|
+
loanTokenAddress: Scalars['Bytes']['output'];
|
|
92
|
+
vaultAddress: Scalars['Bytes']['output'];
|
|
78
93
|
};
|
|
79
94
|
type GqlBalancePoolAprItem = {
|
|
80
95
|
__typename?: 'GqlBalancePoolAprItem';
|
|
@@ -2286,7 +2301,8 @@ type PaginatedValidatorsResponse = {
|
|
|
2286
2301
|
};
|
|
2287
2302
|
type Query = {
|
|
2288
2303
|
__typename?: 'Query';
|
|
2289
|
-
|
|
2304
|
+
bendVault?: Maybe<BendVaultResponse>;
|
|
2305
|
+
bendVaults: Array<BendVaultResponse>;
|
|
2290
2306
|
blocksGetAverageBlockTime: Scalars['Float']['output'];
|
|
2291
2307
|
blocksGetBlocksPerDay: Scalars['Float']['output'];
|
|
2292
2308
|
blocksGetBlocksPerSecond: Scalars['Float']['output'];
|
|
@@ -2405,6 +2421,9 @@ type Query = {
|
|
|
2405
2421
|
userGetSwaps: Array<GqlPoolSwap>;
|
|
2406
2422
|
userGetTopBGTBalance: Array<GqlUserBgtBalance>;
|
|
2407
2423
|
};
|
|
2424
|
+
type QueryBendVaultArgs = {
|
|
2425
|
+
vaultAddress: Scalars['Bytes']['input'];
|
|
2426
|
+
};
|
|
2408
2427
|
type QueryContentGetNewsItemsArgs = {
|
|
2409
2428
|
chain?: InputMaybe<GqlChain>;
|
|
2410
2429
|
};
|
|
@@ -2848,7 +2867,6 @@ type ApiValidatorFragment = {
|
|
|
2848
2867
|
rewardAllocationWeights: Array<{
|
|
2849
2868
|
__typename?: 'GqlValidatorRewardAllocationWeight';
|
|
2850
2869
|
percentageNumerator: number;
|
|
2851
|
-
validatorId: `0x${string}`;
|
|
2852
2870
|
receiver: `0x${string}`;
|
|
2853
2871
|
startBlock: number;
|
|
2854
2872
|
receivingVault?: {
|
|
@@ -2937,7 +2955,6 @@ type ApiValidatorFragment = {
|
|
|
2937
2955
|
type ApiRewardAllocationWeightFragment = {
|
|
2938
2956
|
__typename?: 'GqlValidatorRewardAllocationWeight';
|
|
2939
2957
|
percentageNumerator: number;
|
|
2940
|
-
validatorId: `0x${string}`;
|
|
2941
2958
|
receiver: `0x${string}`;
|
|
2942
2959
|
startBlock: number;
|
|
2943
2960
|
receivingVault?: {
|
|
@@ -3016,7 +3033,6 @@ type GetValidatorQuery = {
|
|
|
3016
3033
|
rewardAllocationWeights: Array<{
|
|
3017
3034
|
__typename?: 'GqlValidatorRewardAllocationWeight';
|
|
3018
3035
|
percentageNumerator: number;
|
|
3019
|
-
validatorId: `0x${string}`;
|
|
3020
3036
|
receiver: `0x${string}`;
|
|
3021
3037
|
startBlock: number;
|
|
3022
3038
|
receivingVault?: {
|
|
@@ -3140,7 +3156,6 @@ type GetValidatorsQuery = {
|
|
|
3140
3156
|
rewardAllocationWeights: Array<{
|
|
3141
3157
|
__typename?: 'GqlValidatorRewardAllocationWeight';
|
|
3142
3158
|
percentageNumerator: number;
|
|
3143
|
-
validatorId: `0x${string}`;
|
|
3144
3159
|
receiver: `0x${string}`;
|
|
3145
3160
|
startBlock: number;
|
|
3146
3161
|
receivingVault?: {
|
|
@@ -3251,7 +3266,6 @@ type GetVaultValidatorsQuery = {
|
|
|
3251
3266
|
rewardAllocationWeights: Array<{
|
|
3252
3267
|
__typename?: 'GqlValidatorRewardAllocationWeight';
|
|
3253
3268
|
percentageNumerator: number;
|
|
3254
|
-
validatorId: `0x${string}`;
|
|
3255
3269
|
receiver: `0x${string}`;
|
|
3256
3270
|
startBlock: number;
|
|
3257
3271
|
receivingVault?: {
|
|
@@ -3545,41 +3559,6 @@ type GetVaultHistoryQuery = {
|
|
|
3545
3559
|
apr: string;
|
|
3546
3560
|
}>;
|
|
3547
3561
|
};
|
|
3548
|
-
type GetVaultDurationsQueryVariables = Exact<{
|
|
3549
|
-
[key: string]: never;
|
|
3550
|
-
}>;
|
|
3551
|
-
type GetVaultDurationsQuery = {
|
|
3552
|
-
__typename?: 'Query';
|
|
3553
|
-
polGetVaultDurations: {
|
|
3554
|
-
__typename?: 'GqlVaultDurations';
|
|
3555
|
-
maxRewardDuration: string;
|
|
3556
|
-
minRewardDuration: string;
|
|
3557
|
-
rewardDurationCooldownPeriod: string;
|
|
3558
|
-
};
|
|
3559
|
-
};
|
|
3560
|
-
type GetBoostDelayQueryVariables = Exact<{
|
|
3561
|
-
[key: string]: never;
|
|
3562
|
-
}>;
|
|
3563
|
-
type GetBoostDelayQuery = {
|
|
3564
|
-
__typename?: 'Query';
|
|
3565
|
-
polGetValidatorBoostDelay: {
|
|
3566
|
-
__typename?: 'GqlValidatorBoostDelay';
|
|
3567
|
-
boostDelay: string;
|
|
3568
|
-
unboostDelay: string;
|
|
3569
|
-
};
|
|
3570
|
-
};
|
|
3571
|
-
type GetCommissionChangeDelayQueryVariables = Exact<{
|
|
3572
|
-
[key: string]: never;
|
|
3573
|
-
}>;
|
|
3574
|
-
type GetCommissionChangeDelayQuery = {
|
|
3575
|
-
__typename?: 'Query';
|
|
3576
|
-
polGetValidatorCommissionDelay: {
|
|
3577
|
-
__typename?: 'GqlValidatorCommissionDelay';
|
|
3578
|
-
rewardAllocationBlockDelay: string;
|
|
3579
|
-
maxWeightPerVault: string;
|
|
3580
|
-
commissionChangeDelay: string;
|
|
3581
|
-
};
|
|
3582
|
-
};
|
|
3583
3562
|
type GetSWberaVaultMetadataQueryVariables = Exact<{
|
|
3584
3563
|
chain: GqlChain;
|
|
3585
3564
|
resolution?: InputMaybe<GqlSWberaVaultMetadataResolution>;
|
|
@@ -3648,9 +3627,6 @@ declare const GetRewardVault: _apollo_client.DocumentNode;
|
|
|
3648
3627
|
declare const GlobalData: _apollo_client.DocumentNode;
|
|
3649
3628
|
declare const GetUserVaults: _apollo_client.DocumentNode;
|
|
3650
3629
|
declare const GetVaultHistory: _apollo_client.DocumentNode;
|
|
3651
|
-
declare const GetVaultDurations: _apollo_client.DocumentNode;
|
|
3652
|
-
declare const GetBoostDelay: _apollo_client.DocumentNode;
|
|
3653
|
-
declare const GetCommissionChangeDelay: _apollo_client.DocumentNode;
|
|
3654
3630
|
declare const GetSWberaVaultMetadata: _apollo_client.DocumentNode;
|
|
3655
3631
|
declare const GetSWberaVaultSnapshots: _apollo_client.DocumentNode;
|
|
3656
3632
|
declare const GetPolStakeBeraVaultEventsByOwner: _apollo_client.DocumentNode;
|
|
@@ -3662,4 +3638,4 @@ interface PossibleTypesResultData {
|
|
|
3662
3638
|
}
|
|
3663
3639
|
declare const result: PossibleTypesResultData;
|
|
3664
3640
|
|
|
3665
|
-
export { ApiRewardAllocationWeight, type ApiRewardAllocationWeightFragment, ApiValidator, ApiValidatorBlockUptime, type ApiValidatorBlockUptimeFragment, type ApiValidatorFragment, ApiValidatorMinimal, type ApiValidatorMinimalFragment, ApiVault, type ApiVaultFragment, ApiVaultIncentive, type ApiVaultIncentiveFragment, type
|
|
3641
|
+
export { ApiRewardAllocationWeight, type ApiRewardAllocationWeightFragment, ApiValidator, ApiValidatorBlockUptime, type ApiValidatorBlockUptimeFragment, type ApiValidatorFragment, ApiValidatorMinimal, type ApiValidatorMinimalFragment, ApiVault, type ApiVaultFragment, ApiVaultIncentive, type ApiVaultIncentiveFragment, type BendVaultDynamicData, type BendVaultResponse, type Exact, GetPolStakeBeraVaultEventsByOwner, type GetPolStakeBeraVaultEventsByOwnerQuery, type GetPolStakeBeraVaultEventsByOwnerQueryVariables, GetRewardVault, type GetRewardVaultQuery, type GetRewardVaultQueryVariables, GetSWberaVaultMetadata, type GetSWberaVaultMetadataQuery, type GetSWberaVaultMetadataQueryVariables, GetSWberaVaultSnapshots, type GetSWberaVaultSnapshotsQuery, type GetSWberaVaultSnapshotsQueryVariables, GetStakeBeraVaultEarningsByOwner, type GetStakeBeraVaultEarningsByOwnerQuery, type GetStakeBeraVaultEarningsByOwnerQueryVariables, GetUserVaults, type GetUserVaultsQuery, type GetUserVaultsQueryVariables, GetValidator, type GetValidatorQuery, type GetValidatorQueryVariables, GetValidators, type GetValidatorsQuery, type GetValidatorsQueryVariables, GetVaultHistory, type GetVaultHistoryQuery, type GetVaultHistoryQueryVariables, GetVaultValidators, type GetVaultValidatorsQuery, type GetVaultValidatorsQueryVariables, GetVaults, type GetVaultsQuery, type GetVaultsQueryVariables, GlobalData, type GlobalDataQuery, type GlobalDataQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type GqlContentNewsItem, GqlContentNewsItemSource, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlFeaturePoolGroupItemExternalLink, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, type GqlLatestSyncedBlocks, type GqlNestedPool, type GqlPagination, type GqlPoolAddRemoveEventV3, type GqlPoolAggregator, type GqlPoolApr, type GqlPoolAprItem, GqlPoolAprItemType, type GqlPoolAprRange, type GqlPoolAprTotal, type GqlPoolAprValue, type GqlPoolBase, type GqlPoolBatchSwap, type GqlPoolBatchSwapPool, type GqlPoolBatchSwapSwap, type GqlPoolComposableStable, type GqlPoolComposableStableNested, type GqlPoolDynamicData, type GqlPoolElement, type GqlPoolEvent, type GqlPoolEventAmount, GqlPoolEventType, GqlPoolEventsDataRange, type GqlPoolEventsFilter, type GqlPoolFeaturedPool, type GqlPoolFeaturedPoolGroup, type GqlPoolFeaturedPoolGroupItem, type GqlPoolFilter, GqlPoolFilterCategory, type GqlPoolFx, type GqlPoolGyro, type GqlPoolInvestConfig, type GqlPoolInvestOption, type GqlPoolJoinExit, type GqlPoolJoinExitAmount, type GqlPoolJoinExitFilter, GqlPoolJoinExitType, type GqlPoolLiquidityBootstrapping, type GqlPoolMetaStable, type GqlPoolMinimal, type GqlPoolMutationResult, type GqlPoolNestedUnion, GqlPoolNestingType, GqlPoolOrderBy, GqlPoolOrderDirection, type GqlPoolSnapshot, GqlPoolSnapshotDataRange, type GqlPoolStable, type GqlPoolStableComposablePoolData, type GqlPoolSwap, type GqlPoolSwapEventCowAmm, type GqlPoolSwapEventV3, type GqlPoolSwapFilter, type GqlPoolTimePeriod, type GqlPoolToken, type GqlPoolTokenBase, type GqlPoolTokenComposableStable, type GqlPoolTokenComposableStableNestedUnion, type GqlPoolTokenDetail, type GqlPoolTokenDisplay, type GqlPoolTokenExpanded, type GqlPoolTokenUnion, GqlPoolType, type GqlPoolUnion, type GqlPoolUserBalance, type GqlPoolUserSwapVolume, type GqlPoolWeighted, type GqlPoolWithdrawConfig, type GqlPoolWithdrawOption, type GqlPriceImpact, type GqlPriceRateProviderData, type GqlPriceRateProviderUpgradeableComponent, type GqlProtocolMetricsAggregated, type GqlProtocolMetricsChain, type GqlRelicSnapshot, type GqlRewardVault, type GqlRewardVaultDynamicData, type GqlRewardVaultFilter, type GqlRewardVaultIncentive, GqlRewardVaultIncentiveOrderBy, GqlRewardVaultIncentiveOrderDirection, type GqlRewardVaultMetadata, GqlRewardVaultOrderBy, GqlRewardVaultOrderDirection, type GqlRewardVaultSnapshot, GqlRewardVaultSnapshotDataRange, GqlRewardVaultSnapshotResolution, type GqlRewardVaultWhitelistedToken, type GqlSWberaVaultMetadata, GqlSWberaVaultMetadataResolution, type GqlSWberaVaultSnapshot, type GqlSorCallData, type GqlSorGetSwapPaths, type GqlSorGetSwapsResponse, type GqlSorPath, type GqlSorSwap, type GqlSorSwapOptionsInput, type GqlSorSwapRoute, type GqlSorSwapRouteHop, GqlSorSwapType, type GqlStakeBeraVaultEarnings, type GqlStakeBeraVaultEvent, GqlStakeBeraVaultEventType, type GqlSwapCallDataInput, type GqlToken, type GqlTokenAmountHumanReadable, type GqlTokenCandlestickChartDataItem, GqlTokenChartDataRange, type GqlTokenData, type GqlTokenDynamicData, type GqlTokenMutationResult, type GqlTokenPrice, type GqlTokenPriceChartDataItem, GqlTokenType, type GqlUserBgtBalance, type GqlUserPoolBalance, type GqlUserSwapVolumeFilter, type GqlUserVaultDeposit, type GqlUserVaultDepositMinimal, GqlUserVaultDepositOrderBy, GqlUserVaultDepositOrderDirection, type GqlValidator, type GqlValidatorBlockUptime, GqlValidatorBlockUptimeStatus, type GqlValidatorBoost, type GqlValidatorBoostDelay, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, type GqlValidatorCommissionDelay, type GqlValidatorCommissionHistory, type GqlValidatorDynamicData, type GqlValidatorFilter, type GqlValidatorMetadata, GqlValidatorOrderBy, GqlValidatorOrderDirection, type GqlValidatorRewardAllocationWeight, type GqlValidatorStats, type GqlVaultDurations, GqlVaultSnapshotDataRange, type Hook, type HookData, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, type Mutation, type MutationPoolDeletePoolArgs, type MutationPoolInitializeSnapshotsForPoolArgs, type MutationPoolLoadSnapshotsForPoolsArgs, type MutationPoolReloadAllPoolAprsArgs, type MutationPoolReloadPoolsArgs, type MutationPoolSyncAllCowSnapshotsArgs, type MutationPoolSyncLatestSnapshotsForAllPoolsArgs, type MutationPoolSyncPoolArgs, type MutationPoolUpdateAprsArgs, type MutationTokenDeleteTokenTypeArgs, type MutationTokenReloadErc4626TokensArgs, type MutationTokenReloadTokenPricesArgs, type MutationTokenSyncLatestFxPricesArgs, type MutationUserInitWalletBalancesForPoolArgs, type MutationUserSyncBalanceArgs, type PaginatedRewardVaultIncentivesResponse, type PaginatedRewardVaultsResponse, type PaginatedUserVaultDepositsResponse, type PaginatedValidatorBlockUptimesResponse, type PaginatedValidatorBoostsResponse, type PaginatedValidatorsResponse, type PossibleTypesResultData, type Query, type QueryBendVaultArgs, type QueryContentGetNewsItemsArgs, type QueryHooksArgs, type QueryPolGetActiveIncentivesArgs, type QueryPolGetDefaultRewardAllocationsArgs, type QueryPolGetGlobalInfoArgs, type QueryPolGetRewardVaultArgs, type QueryPolGetRewardVaultSnapshotsArgs, type QueryPolGetRewardVaultsArgs, type QueryPolGetSWberaVaultMetadataArgs, type QueryPolGetSWberaVaultSnapshotsArgs, type QueryPolGetStakeBeraVaultEarningsByOwnerArgs, type QueryPolGetStakeBeraVaultEventsByOwnerArgs, type QueryPolGetTopVaultDepositsArgs, type QueryPolGetUserVaultDepositsArgs, type QueryPolGetValidatorArgs, type QueryPolGetValidatorBlockUptimesArgs, type QueryPolGetValidatorBoostsArgs, type QueryPolGetValidatorsArgs, type QueryPoolEventsArgs, type QueryPoolGetAggregatorPoolsArgs, type QueryPoolGetBatchSwapsArgs, type QueryPoolGetEventsArgs, type QueryPoolGetFeaturedPoolGroupsArgs, type QueryPoolGetFeaturedPoolsArgs, type QueryPoolGetJoinExitsArgs, type QueryPoolGetPoolArgs, type QueryPoolGetPoolsArgs, type QueryPoolGetPoolsCountArgs, type QueryPoolGetSnapshotsArgs, type QueryPoolGetSwapsArgs, type QueryPoolGetUserBalancesArgs, type QueryProtocolMetricsAggregatedArgs, type QueryProtocolMetricsChainArgs, type QuerySorGetSwapPathsArgs, type QuerySorGetSwapsArgs, type QueryTokenGetCandlestickChartDataArgs, type QueryTokenGetCurrentPriceArgs, type QueryTokenGetCurrentPricesArgs, type QueryTokenGetHistoricalPricesArgs, type QueryTokenGetPriceChartDataArgs, type QueryTokenGetProtocolTokenPriceArgs, type QueryTokenGetRelativePriceChartDataArgs, type QueryTokenGetTokenArgs, type QueryTokenGetTokenDataArgs, type QueryTokenGetTokenDynamicDataArgs, type QueryTokenGetTokensArgs, type QueryTokenGetTokensDataArgs, type QueryTokenGetTokensDynamicDataArgs, type QueryUserGetPoolBalancesArgs, type QueryUserGetPoolJoinExitsArgs, type QueryUserGetSwapsArgs, type QueryUserGetTopBgtBalanceArgs, type Scalars, type Token, result as default };
|