@berachain/graphql 0.4.0 → 0.4.1-beta.2
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.d.cts +1 -1
- package/dist/bend/whisk.codegen.d.ts +1 -1
- 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 +36 -10
- package/dist/dex/api.codegen.d.ts +36 -10
- package/dist/dex/api.codegen.mjs +6 -6
- package/dist/dex/subgraph.codegen.cjs +4 -4
- package/dist/dex/subgraph.codegen.d.cts +1 -426
- package/dist/dex/subgraph.codegen.d.ts +1 -426
- package/dist/dex/subgraph.codegen.mjs +5 -5
- 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 +19 -20
- package/dist/pol/api.codegen.d.cts +41 -20
- package/dist/pol/api.codegen.d.ts +41 -20
- package/dist/pol/api.codegen.mjs +5 -6
- 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 g=Object.defineProperty;var J=Object.getOwnPropertyDescriptor;var X=Object.getOwnPropertyNames;var j=Object.prototype.hasOwnProperty;var Z=(c,u)=>{for(var t in u)g(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&&g(c,e,{get:()=>u[e],enumerable:!(a=J(u,e))||a.enumerable});return c};var at=c=>tt(g({},"__esModule",{value:!0}),c);var mt={};Z(mt,{ApiRewardAllocationWeight:()=>z,ApiValidator:()=>y,ApiValidatorBlockUptime:()=>K,ApiValidatorMinimal:()=>d,ApiVault:()=>S,ApiVaultIncentive:()=>Y,GetPolStakeBeraVaultEventsByOwner:()=>St,GetRewardVault:()=>lt,GetSWberaVaultMetadata:()=>pt,GetSWberaVaultSnapshots:()=>ct,GetStakeBeraVaultEarningsByOwner:()=>yt,GetUserVaults:()=>it,GetValidator:()=>
|
|
1
|
+
"use strict";var g=Object.defineProperty;var J=Object.getOwnPropertyDescriptor;var X=Object.getOwnPropertyNames;var j=Object.prototype.hasOwnProperty;var Z=(c,u)=>{for(var t in u)g(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&&g(c,e,{get:()=>u[e],enumerable:!(a=J(u,e))||a.enumerable});return c};var at=c=>tt(g({},"__esModule",{value:!0}),c);var mt={};Z(mt,{ApiRewardAllocationWeight:()=>z,ApiValidator:()=>y,ApiValidatorBlockUptime:()=>K,ApiValidatorMinimal:()=>d,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:()=>E,GqlTokenChartDataRange:()=>U,GqlTokenType:()=>$,GqlUserVaultDepositOrderBy:()=>F,GqlUserVaultDepositOrderDirection:()=>f,GqlValidatorBlockUptimeStatus:()=>N,GqlValidatorBoostOrderBy:()=>Q,GqlValidatorBoostOrderDirection:()=>W,GqlValidatorOrderBy:()=>O,GqlValidatorOrderDirection:()=>H,GqlVaultSnapshotDataRange:()=>L,default:()=>dt});module.exports=at(mt);var o=require("@apollo/client"),m=(t=>(t.Bepolia="BEPOLIA",t.Berachain="BERACHAIN",t))(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||{}),E=(t=>(t.Deposit="DEPOSIT",t.WithdrawalCompleted="WITHDRAWAL_COMPLETED",t))(E||{}),U=(r=>(r.NinetyDay="NINETY_DAY",r.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",r.OneYear="ONE_YEAR",r.SevenDay="SEVEN_DAY",r.ThirtyDay="THIRTY_DAY",r))(U||{}),$=(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||{}),d=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
|
-
|
|
80
|
-
validatorId
|
|
79
|
+
percentage
|
|
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
|
|
@@ -106,7 +105,7 @@
|
|
|
106
105
|
}
|
|
107
106
|
}
|
|
108
107
|
${d}
|
|
109
|
-
${z}`,K=
|
|
108
|
+
${z}`,K=o.gql`
|
|
110
109
|
fragment ApiValidatorBlockUptime on GqlValidatorBlockUptime {
|
|
111
110
|
isActive
|
|
112
111
|
isProposer
|
|
@@ -114,7 +113,7 @@ ${z}`,K=r.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=r.gql`
|
|
|
133
132
|
}
|
|
134
133
|
}
|
|
135
134
|
}
|
|
136
|
-
${S}`,
|
|
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=r.gql`
|
|
|
143
142
|
}
|
|
144
143
|
}
|
|
145
144
|
${y}
|
|
146
|
-
${K}`,
|
|
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}`,ot=r.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}`,ot=r.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}`,ot=r.gql`
|
|
|
221
220
|
}
|
|
222
221
|
}
|
|
223
222
|
}
|
|
224
|
-
${d}`,it=
|
|
223
|
+
${d}`,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}`,ot=r.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,14 +249,14 @@ ${K}`,ot=r.gql`
|
|
|
250
249
|
apr
|
|
251
250
|
}
|
|
252
251
|
}
|
|
253
|
-
`,pt=
|
|
252
|
+
`,pt=o.gql`
|
|
254
253
|
query GetSWberaVaultMetadata($chain: GqlChain!, $resolution: GqlSWberaVaultMetadataResolution) {
|
|
255
254
|
polGetSWberaVaultMetadata(chain: $chain, resolution: $resolution) {
|
|
256
255
|
apr
|
|
257
256
|
chain
|
|
258
257
|
}
|
|
259
258
|
}
|
|
260
|
-
`,ct=
|
|
259
|
+
`,ct=o.gql`
|
|
261
260
|
query GetSWberaVaultSnapshots($chain: GqlChain!, $range: GqlVaultSnapshotDataRange) {
|
|
262
261
|
polGetSWberaVaultSnapshots(chain: $chain, range: $range) {
|
|
263
262
|
apr
|
|
@@ -268,7 +267,7 @@ ${K}`,ot=r.gql`
|
|
|
268
267
|
vaultAddress
|
|
269
268
|
}
|
|
270
269
|
}
|
|
271
|
-
`,St=
|
|
270
|
+
`,St=o.gql`
|
|
272
271
|
query GetPolStakeBeraVaultEventsByOwner($owner: String!) {
|
|
273
272
|
events: polGetStakeBeraVaultEventsByOwner(owner: $owner) {
|
|
274
273
|
type
|
|
@@ -279,7 +278,7 @@ ${K}`,ot=r.gql`
|
|
|
279
278
|
_timestamp
|
|
280
279
|
}
|
|
281
280
|
}
|
|
282
|
-
`,yt=
|
|
281
|
+
`,yt=o.gql`
|
|
283
282
|
query GetStakeBeraVaultEarningsByOwner($owner: String!) {
|
|
284
283
|
polGetStakeBeraVaultEarningsByOwner(owner: $owner) {
|
|
285
284
|
earnings
|
|
@@ -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';
|
|
@@ -90,11 +105,8 @@ type GqlBalancePoolAprSubItem = {
|
|
|
90
105
|
title: Scalars['String']['output'];
|
|
91
106
|
};
|
|
92
107
|
declare enum GqlChain {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
Berachain = "BERACHAIN",
|
|
96
|
-
/** @deprecated CARTIO is deprecated */
|
|
97
|
-
Cartio = "CARTIO"
|
|
108
|
+
Bepolia = "BEPOLIA",
|
|
109
|
+
Berachain = "BERACHAIN"
|
|
98
110
|
}
|
|
99
111
|
type GqlContentNewsItem = {
|
|
100
112
|
__typename?: 'GqlContentNewsItem';
|
|
@@ -2113,6 +2125,16 @@ declare enum GqlValidatorOrderDirection {
|
|
|
2113
2125
|
type GqlValidatorRewardAllocationWeight = {
|
|
2114
2126
|
__typename?: 'GqlValidatorRewardAllocationWeight';
|
|
2115
2127
|
chain: GqlChain;
|
|
2128
|
+
/**
|
|
2129
|
+
* The percentage of rewards allocated to the receiving vault.
|
|
2130
|
+
* 1 = 100%
|
|
2131
|
+
*/
|
|
2132
|
+
percentage: Scalars['Float']['output'];
|
|
2133
|
+
/**
|
|
2134
|
+
* The numerator of the percentage of rewards allocated as stored onchain.
|
|
2135
|
+
* To be converted to a percentage by dividing by 1e4.
|
|
2136
|
+
* @deprecated Use percentage instead
|
|
2137
|
+
*/
|
|
2116
2138
|
percentageNumerator: Scalars['Int']['output'];
|
|
2117
2139
|
receiver: Scalars['Bytes']['output'];
|
|
2118
2140
|
receivingVault?: Maybe<GqlRewardVault>;
|
|
@@ -2286,7 +2308,8 @@ type PaginatedValidatorsResponse = {
|
|
|
2286
2308
|
};
|
|
2287
2309
|
type Query = {
|
|
2288
2310
|
__typename?: 'Query';
|
|
2289
|
-
|
|
2311
|
+
bendVault?: Maybe<BendVaultResponse>;
|
|
2312
|
+
bendVaults: Array<BendVaultResponse>;
|
|
2290
2313
|
blocksGetAverageBlockTime: Scalars['Float']['output'];
|
|
2291
2314
|
blocksGetBlocksPerDay: Scalars['Float']['output'];
|
|
2292
2315
|
blocksGetBlocksPerSecond: Scalars['Float']['output'];
|
|
@@ -2405,6 +2428,9 @@ type Query = {
|
|
|
2405
2428
|
userGetSwaps: Array<GqlPoolSwap>;
|
|
2406
2429
|
userGetTopBGTBalance: Array<GqlUserBgtBalance>;
|
|
2407
2430
|
};
|
|
2431
|
+
type QueryBendVaultArgs = {
|
|
2432
|
+
vaultAddress: Scalars['Bytes']['input'];
|
|
2433
|
+
};
|
|
2408
2434
|
type QueryContentGetNewsItemsArgs = {
|
|
2409
2435
|
chain?: InputMaybe<GqlChain>;
|
|
2410
2436
|
};
|
|
@@ -2847,8 +2873,7 @@ type ApiValidatorFragment = {
|
|
|
2847
2873
|
rewardAllocator?: `0x${string}` | null;
|
|
2848
2874
|
rewardAllocationWeights: Array<{
|
|
2849
2875
|
__typename?: 'GqlValidatorRewardAllocationWeight';
|
|
2850
|
-
|
|
2851
|
-
validatorId: `0x${string}`;
|
|
2876
|
+
percentage: number;
|
|
2852
2877
|
receiver: `0x${string}`;
|
|
2853
2878
|
startBlock: number;
|
|
2854
2879
|
receivingVault?: {
|
|
@@ -2936,8 +2961,7 @@ type ApiValidatorFragment = {
|
|
|
2936
2961
|
};
|
|
2937
2962
|
type ApiRewardAllocationWeightFragment = {
|
|
2938
2963
|
__typename?: 'GqlValidatorRewardAllocationWeight';
|
|
2939
|
-
|
|
2940
|
-
validatorId: `0x${string}`;
|
|
2964
|
+
percentage: number;
|
|
2941
2965
|
receiver: `0x${string}`;
|
|
2942
2966
|
startBlock: number;
|
|
2943
2967
|
receivingVault?: {
|
|
@@ -3015,8 +3039,7 @@ type GetValidatorQuery = {
|
|
|
3015
3039
|
rewardAllocator?: `0x${string}` | null;
|
|
3016
3040
|
rewardAllocationWeights: Array<{
|
|
3017
3041
|
__typename?: 'GqlValidatorRewardAllocationWeight';
|
|
3018
|
-
|
|
3019
|
-
validatorId: `0x${string}`;
|
|
3042
|
+
percentage: number;
|
|
3020
3043
|
receiver: `0x${string}`;
|
|
3021
3044
|
startBlock: number;
|
|
3022
3045
|
receivingVault?: {
|
|
@@ -3139,8 +3162,7 @@ type GetValidatorsQuery = {
|
|
|
3139
3162
|
rewardAllocator?: `0x${string}` | null;
|
|
3140
3163
|
rewardAllocationWeights: Array<{
|
|
3141
3164
|
__typename?: 'GqlValidatorRewardAllocationWeight';
|
|
3142
|
-
|
|
3143
|
-
validatorId: `0x${string}`;
|
|
3165
|
+
percentage: number;
|
|
3144
3166
|
receiver: `0x${string}`;
|
|
3145
3167
|
startBlock: number;
|
|
3146
3168
|
receivingVault?: {
|
|
@@ -3250,8 +3272,7 @@ type GetVaultValidatorsQuery = {
|
|
|
3250
3272
|
rewardAllocator?: `0x${string}` | null;
|
|
3251
3273
|
rewardAllocationWeights: Array<{
|
|
3252
3274
|
__typename?: 'GqlValidatorRewardAllocationWeight';
|
|
3253
|
-
|
|
3254
|
-
validatorId: `0x${string}`;
|
|
3275
|
+
percentage: number;
|
|
3255
3276
|
receiver: `0x${string}`;
|
|
3256
3277
|
startBlock: number;
|
|
3257
3278
|
receivingVault?: {
|
|
@@ -3624,4 +3645,4 @@ interface PossibleTypesResultData {
|
|
|
3624
3645
|
}
|
|
3625
3646
|
declare const result: PossibleTypesResultData;
|
|
3626
3647
|
|
|
3627
|
-
export { ApiRewardAllocationWeight, type ApiRewardAllocationWeightFragment, ApiValidator, ApiValidatorBlockUptime, type ApiValidatorBlockUptimeFragment, type ApiValidatorFragment, ApiValidatorMinimal, type ApiValidatorMinimalFragment, ApiVault, type ApiVaultFragment, ApiVaultIncentive, type ApiVaultIncentiveFragment, type
|
|
3648
|
+
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';
|
|
@@ -90,11 +105,8 @@ type GqlBalancePoolAprSubItem = {
|
|
|
90
105
|
title: Scalars['String']['output'];
|
|
91
106
|
};
|
|
92
107
|
declare enum GqlChain {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
Berachain = "BERACHAIN",
|
|
96
|
-
/** @deprecated CARTIO is deprecated */
|
|
97
|
-
Cartio = "CARTIO"
|
|
108
|
+
Bepolia = "BEPOLIA",
|
|
109
|
+
Berachain = "BERACHAIN"
|
|
98
110
|
}
|
|
99
111
|
type GqlContentNewsItem = {
|
|
100
112
|
__typename?: 'GqlContentNewsItem';
|
|
@@ -2113,6 +2125,16 @@ declare enum GqlValidatorOrderDirection {
|
|
|
2113
2125
|
type GqlValidatorRewardAllocationWeight = {
|
|
2114
2126
|
__typename?: 'GqlValidatorRewardAllocationWeight';
|
|
2115
2127
|
chain: GqlChain;
|
|
2128
|
+
/**
|
|
2129
|
+
* The percentage of rewards allocated to the receiving vault.
|
|
2130
|
+
* 1 = 100%
|
|
2131
|
+
*/
|
|
2132
|
+
percentage: Scalars['Float']['output'];
|
|
2133
|
+
/**
|
|
2134
|
+
* The numerator of the percentage of rewards allocated as stored onchain.
|
|
2135
|
+
* To be converted to a percentage by dividing by 1e4.
|
|
2136
|
+
* @deprecated Use percentage instead
|
|
2137
|
+
*/
|
|
2116
2138
|
percentageNumerator: Scalars['Int']['output'];
|
|
2117
2139
|
receiver: Scalars['Bytes']['output'];
|
|
2118
2140
|
receivingVault?: Maybe<GqlRewardVault>;
|
|
@@ -2286,7 +2308,8 @@ type PaginatedValidatorsResponse = {
|
|
|
2286
2308
|
};
|
|
2287
2309
|
type Query = {
|
|
2288
2310
|
__typename?: 'Query';
|
|
2289
|
-
|
|
2311
|
+
bendVault?: Maybe<BendVaultResponse>;
|
|
2312
|
+
bendVaults: Array<BendVaultResponse>;
|
|
2290
2313
|
blocksGetAverageBlockTime: Scalars['Float']['output'];
|
|
2291
2314
|
blocksGetBlocksPerDay: Scalars['Float']['output'];
|
|
2292
2315
|
blocksGetBlocksPerSecond: Scalars['Float']['output'];
|
|
@@ -2405,6 +2428,9 @@ type Query = {
|
|
|
2405
2428
|
userGetSwaps: Array<GqlPoolSwap>;
|
|
2406
2429
|
userGetTopBGTBalance: Array<GqlUserBgtBalance>;
|
|
2407
2430
|
};
|
|
2431
|
+
type QueryBendVaultArgs = {
|
|
2432
|
+
vaultAddress: Scalars['Bytes']['input'];
|
|
2433
|
+
};
|
|
2408
2434
|
type QueryContentGetNewsItemsArgs = {
|
|
2409
2435
|
chain?: InputMaybe<GqlChain>;
|
|
2410
2436
|
};
|
|
@@ -2847,8 +2873,7 @@ type ApiValidatorFragment = {
|
|
|
2847
2873
|
rewardAllocator?: `0x${string}` | null;
|
|
2848
2874
|
rewardAllocationWeights: Array<{
|
|
2849
2875
|
__typename?: 'GqlValidatorRewardAllocationWeight';
|
|
2850
|
-
|
|
2851
|
-
validatorId: `0x${string}`;
|
|
2876
|
+
percentage: number;
|
|
2852
2877
|
receiver: `0x${string}`;
|
|
2853
2878
|
startBlock: number;
|
|
2854
2879
|
receivingVault?: {
|
|
@@ -2936,8 +2961,7 @@ type ApiValidatorFragment = {
|
|
|
2936
2961
|
};
|
|
2937
2962
|
type ApiRewardAllocationWeightFragment = {
|
|
2938
2963
|
__typename?: 'GqlValidatorRewardAllocationWeight';
|
|
2939
|
-
|
|
2940
|
-
validatorId: `0x${string}`;
|
|
2964
|
+
percentage: number;
|
|
2941
2965
|
receiver: `0x${string}`;
|
|
2942
2966
|
startBlock: number;
|
|
2943
2967
|
receivingVault?: {
|
|
@@ -3015,8 +3039,7 @@ type GetValidatorQuery = {
|
|
|
3015
3039
|
rewardAllocator?: `0x${string}` | null;
|
|
3016
3040
|
rewardAllocationWeights: Array<{
|
|
3017
3041
|
__typename?: 'GqlValidatorRewardAllocationWeight';
|
|
3018
|
-
|
|
3019
|
-
validatorId: `0x${string}`;
|
|
3042
|
+
percentage: number;
|
|
3020
3043
|
receiver: `0x${string}`;
|
|
3021
3044
|
startBlock: number;
|
|
3022
3045
|
receivingVault?: {
|
|
@@ -3139,8 +3162,7 @@ type GetValidatorsQuery = {
|
|
|
3139
3162
|
rewardAllocator?: `0x${string}` | null;
|
|
3140
3163
|
rewardAllocationWeights: Array<{
|
|
3141
3164
|
__typename?: 'GqlValidatorRewardAllocationWeight';
|
|
3142
|
-
|
|
3143
|
-
validatorId: `0x${string}`;
|
|
3165
|
+
percentage: number;
|
|
3144
3166
|
receiver: `0x${string}`;
|
|
3145
3167
|
startBlock: number;
|
|
3146
3168
|
receivingVault?: {
|
|
@@ -3250,8 +3272,7 @@ type GetVaultValidatorsQuery = {
|
|
|
3250
3272
|
rewardAllocator?: `0x${string}` | null;
|
|
3251
3273
|
rewardAllocationWeights: Array<{
|
|
3252
3274
|
__typename?: 'GqlValidatorRewardAllocationWeight';
|
|
3253
|
-
|
|
3254
|
-
validatorId: `0x${string}`;
|
|
3275
|
+
percentage: number;
|
|
3255
3276
|
receiver: `0x${string}`;
|
|
3256
3277
|
startBlock: number;
|
|
3257
3278
|
receivingVault?: {
|
|
@@ -3624,4 +3645,4 @@ interface PossibleTypesResultData {
|
|
|
3624
3645
|
}
|
|
3625
3646
|
declare const result: PossibleTypesResultData;
|
|
3626
3647
|
|
|
3627
|
-
export { ApiRewardAllocationWeight, type ApiRewardAllocationWeightFragment, ApiValidator, ApiValidatorBlockUptime, type ApiValidatorBlockUptimeFragment, type ApiValidatorFragment, ApiValidatorMinimal, type ApiValidatorMinimalFragment, ApiVault, type ApiVaultFragment, ApiVaultIncentive, type ApiVaultIncentiveFragment, type
|
|
3648
|
+
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 };
|