@berachain/graphql 0.4.3 → 0.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bend/whisk.codegen.cjs +18 -12
- package/dist/bend/whisk.codegen.d.cts +544 -189
- package/dist/bend/whisk.codegen.d.ts +544 -189
- package/dist/bend/whisk.codegen.mjs +22 -16
- package/dist/chain/chain.codegen.d.cts +2 -2
- package/dist/chain/chain.codegen.d.ts +2 -2
- package/dist/dex/api.codegen.cjs +1 -1
- package/dist/dex/api.codegen.d.cts +18 -38
- package/dist/dex/api.codegen.d.ts +18 -38
- package/dist/dex/api.codegen.mjs +2 -2
- package/dist/dex/subgraph.codegen.d.cts +9 -9
- package/dist/dex/subgraph.codegen.d.ts +9 -9
- package/dist/governance/governance.codegen.d.cts +9 -9
- package/dist/governance/governance.codegen.d.ts +9 -9
- package/dist/honey/honey.codegen.d.cts +7 -7
- package/dist/honey/honey.codegen.d.ts +7 -7
- package/dist/pol/api.codegen.cjs +18 -36
- package/dist/pol/api.codegen.d.cts +18 -66
- package/dist/pol/api.codegen.d.ts +18 -66
- package/dist/pol/api.codegen.mjs +17 -35
- package/dist/pol/subgraph.codegen.d.cts +19 -19
- package/dist/pol/subgraph.codegen.d.ts +19 -19
- package/package.json +6 -8
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as graphql from 'graphql';
|
|
2
2
|
|
|
3
3
|
type Maybe<T> = T | null;
|
|
4
4
|
type InputMaybe<T> = Maybe<T>;
|
|
@@ -1515,14 +1515,14 @@ type GetProposalQuery = {
|
|
|
1515
1515
|
};
|
|
1516
1516
|
} | null;
|
|
1517
1517
|
};
|
|
1518
|
-
declare const ProposalSelection:
|
|
1519
|
-
declare const ExecutableCallSubset:
|
|
1520
|
-
declare const ProposalVote:
|
|
1521
|
-
declare const ProposalWithVotes:
|
|
1522
|
-
declare const GetProposalVotes:
|
|
1523
|
-
declare const GetProposals:
|
|
1524
|
-
declare const SearchProposals:
|
|
1525
|
-
declare const GetProposal:
|
|
1518
|
+
declare const ProposalSelection: graphql.DocumentNode;
|
|
1519
|
+
declare const ExecutableCallSubset: graphql.DocumentNode;
|
|
1520
|
+
declare const ProposalVote: graphql.DocumentNode;
|
|
1521
|
+
declare const ProposalWithVotes: graphql.DocumentNode;
|
|
1522
|
+
declare const GetProposalVotes: graphql.DocumentNode;
|
|
1523
|
+
declare const GetProposals: graphql.DocumentNode;
|
|
1524
|
+
declare const SearchProposals: graphql.DocumentNode;
|
|
1525
|
+
declare const GetProposal: graphql.DocumentNode;
|
|
1526
1526
|
interface PossibleTypesResultData {
|
|
1527
1527
|
possibleTypes: {
|
|
1528
1528
|
[key: string]: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as graphql from 'graphql';
|
|
2
2
|
|
|
3
3
|
type Maybe<T> = T | null;
|
|
4
4
|
type InputMaybe<T> = Maybe<T>;
|
|
@@ -1515,14 +1515,14 @@ type GetProposalQuery = {
|
|
|
1515
1515
|
};
|
|
1516
1516
|
} | null;
|
|
1517
1517
|
};
|
|
1518
|
-
declare const ProposalSelection:
|
|
1519
|
-
declare const ExecutableCallSubset:
|
|
1520
|
-
declare const ProposalVote:
|
|
1521
|
-
declare const ProposalWithVotes:
|
|
1522
|
-
declare const GetProposalVotes:
|
|
1523
|
-
declare const GetProposals:
|
|
1524
|
-
declare const SearchProposals:
|
|
1525
|
-
declare const GetProposal:
|
|
1518
|
+
declare const ProposalSelection: graphql.DocumentNode;
|
|
1519
|
+
declare const ExecutableCallSubset: graphql.DocumentNode;
|
|
1520
|
+
declare const ProposalVote: graphql.DocumentNode;
|
|
1521
|
+
declare const ProposalWithVotes: graphql.DocumentNode;
|
|
1522
|
+
declare const GetProposalVotes: graphql.DocumentNode;
|
|
1523
|
+
declare const GetProposals: graphql.DocumentNode;
|
|
1524
|
+
declare const SearchProposals: graphql.DocumentNode;
|
|
1525
|
+
declare const GetProposal: graphql.DocumentNode;
|
|
1526
1526
|
interface PossibleTypesResultData {
|
|
1527
1527
|
possibleTypes: {
|
|
1528
1528
|
[key: string]: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as graphql from 'graphql';
|
|
2
2
|
|
|
3
3
|
type Maybe<T> = T | null;
|
|
4
4
|
type InputMaybe<T> = Maybe<T>;
|
|
@@ -766,12 +766,12 @@ type GetFirstHoneyTxnDateQuery = {
|
|
|
766
766
|
timestamp: string;
|
|
767
767
|
}>;
|
|
768
768
|
};
|
|
769
|
-
declare const HoneyTxnData:
|
|
770
|
-
declare const GetHoneyTxnByType:
|
|
771
|
-
declare const GetHoneyTxn:
|
|
772
|
-
declare const GetChartData:
|
|
773
|
-
declare const GetGlobalData:
|
|
774
|
-
declare const GetFirstHoneyTxnDate:
|
|
769
|
+
declare const HoneyTxnData: graphql.DocumentNode;
|
|
770
|
+
declare const GetHoneyTxnByType: graphql.DocumentNode;
|
|
771
|
+
declare const GetHoneyTxn: graphql.DocumentNode;
|
|
772
|
+
declare const GetChartData: graphql.DocumentNode;
|
|
773
|
+
declare const GetGlobalData: graphql.DocumentNode;
|
|
774
|
+
declare const GetFirstHoneyTxnDate: graphql.DocumentNode;
|
|
775
775
|
interface PossibleTypesResultData {
|
|
776
776
|
possibleTypes: {
|
|
777
777
|
[key: string]: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as graphql from 'graphql';
|
|
2
2
|
|
|
3
3
|
type Maybe<T> = T | null;
|
|
4
4
|
type InputMaybe<T> = Maybe<T>;
|
|
@@ -766,12 +766,12 @@ type GetFirstHoneyTxnDateQuery = {
|
|
|
766
766
|
timestamp: string;
|
|
767
767
|
}>;
|
|
768
768
|
};
|
|
769
|
-
declare const HoneyTxnData:
|
|
770
|
-
declare const GetHoneyTxnByType:
|
|
771
|
-
declare const GetHoneyTxn:
|
|
772
|
-
declare const GetChartData:
|
|
773
|
-
declare const GetGlobalData:
|
|
774
|
-
declare const GetFirstHoneyTxnDate:
|
|
769
|
+
declare const HoneyTxnData: graphql.DocumentNode;
|
|
770
|
+
declare const GetHoneyTxnByType: graphql.DocumentNode;
|
|
771
|
+
declare const GetHoneyTxn: graphql.DocumentNode;
|
|
772
|
+
declare const GetChartData: graphql.DocumentNode;
|
|
773
|
+
declare const GetGlobalData: graphql.DocumentNode;
|
|
774
|
+
declare const GetFirstHoneyTxnDate: graphql.DocumentNode;
|
|
775
775
|
interface PossibleTypesResultData {
|
|
776
776
|
possibleTypes: {
|
|
777
777
|
[key: string]: string[];
|
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 dt={};Z(dt,{ApiRewardAllocationWeight:()=>z,ApiValidator:()=>y,ApiValidatorBlockUptime:()=>K,ApiValidatorMinimal:()=>g,ApiVault:()=>S,ApiVaultIncentive:()=>Y,GetRewardVault:()=>lt,GetSWberaVaultMetadata:()=>pt,GetSWberaVaultSnapshots:()=>ct,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:()=>h,GqlPoolOrderDirection:()=>k,GqlPoolSnapshotDataRange:()=>D,GqlPoolType:()=>_,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:()=>W,GqlValidatorBoostOrderDirection:()=>Q,GqlValidatorOrderBy:()=>H,GqlValidatorOrderDirection:()=>O,GqlVaultSnapshotDataRange:()=>L,default:()=>yt});module.exports=at(dt);var n=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||{}),h=(r=>(r.Apr="apr",r.BgtApr="bgtApr",r.CombinedApr="combinedApr",r.Fees24h="fees24h",r.TotalLiquidity="totalLiquidity",r.TotalShares="totalShares",r.UserbalanceUsd="userbalanceUsd",r.Volume24h="volume24h",r))(h||{}),k=(t=>(t.Asc="asc",t.Desc="desc",t))(k||{}),D=(o=>(o.AllTime="ALL_TIME",o.NinetyDays="NINETY_DAYS",o.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",o.OneYear="ONE_YEAR",o.ThirtyDays="THIRTY_DAYS",o))(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))(_||{}),v=(a=>(a.AmountRemaining="amountRemaining",a.AmountRemainingUsd="amountRemainingUsd",a.IncentiveRate="incentiveRate",a))(v||{}),M=(t=>(t.Asc="asc",t.Desc="desc",t))(M||{}),T=(r=>(r.ActiveIncentivesRateUsd="activeIncentivesRateUsd",r.ActiveIncentivesValueUsd="activeIncentivesValueUsd",r.AllTimeBgtReceived="allTimeBGTReceived",r.Apr="apr",r.Apy="apy",r.BgtCapturePercentage="bgtCapturePercentage",r.Last24hBgtReceived="last24hBGTReceived",r.ProjectedApr="projectedApr",r))(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=(o=>(o.NinetyDay="NINETY_DAY",o.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",o.OneYear="ONE_YEAR",o.SevenDay="SEVEN_DAY",o.ThirtyDay="THIRTY_DAY",o))(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||{}),W=(o=>(o.ActiveBoostAmount="activeBoostAmount",o.LatestBlock="latestBlock",o.LatestBlockTime="latestBlockTime",o.QueuedBoostAmount="queuedBoostAmount",o.QueuedDropBoostAmount="queuedDropBoostAmount",o))(W||{}),Q=(t=>(t.Asc="asc",t.Desc="desc",t))(Q||{}),H=(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))(H||{}),O=(t=>(t.Asc="asc",t.Desc="desc",t))(O||{}),L=(e=>(e.NinetyDays="NINETY_DAYS",e.SevenDays="SEVEN_DAYS",e.SixtyDays="SIXTY_DAYS",e.ThirtyDays="THIRTY_DAYS",e))(L||{}),g=n.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=n.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=n.gql`
|
|
41
41
|
fragment ApiVault on GqlRewardVault {
|
|
42
42
|
id: vaultAddress
|
|
43
43
|
vaultAddress
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
...ApiVaultIncentive
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
${Y}`,z=
|
|
77
|
+
${Y}`,z=n.gql`
|
|
78
78
|
fragment ApiRewardAllocationWeight on GqlValidatorRewardAllocationWeight {
|
|
79
79
|
percentage
|
|
80
80
|
receivingVault {
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
receiver
|
|
84
84
|
startBlock
|
|
85
85
|
}
|
|
86
|
-
${S}`,y=
|
|
86
|
+
${S}`,y=n.gql`
|
|
87
87
|
fragment ApiValidator on GqlValidator {
|
|
88
88
|
...ApiValidatorMinimal
|
|
89
89
|
operator
|
|
@@ -104,8 +104,8 @@
|
|
|
104
104
|
description
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
|
-
${
|
|
108
|
-
${z}`,K=
|
|
107
|
+
${g}
|
|
108
|
+
${z}`,K=n.gql`
|
|
109
109
|
fragment ApiValidatorBlockUptime on GqlValidatorBlockUptime {
|
|
110
110
|
isActive
|
|
111
111
|
isProposer
|
|
@@ -113,7 +113,7 @@ ${z}`,K=o.gql`
|
|
|
113
113
|
status
|
|
114
114
|
blockNumber
|
|
115
115
|
}
|
|
116
|
-
`,et=
|
|
116
|
+
`,et=n.gql`
|
|
117
117
|
query GetVaults($where: GqlRewardVaultFilter, $pageSize: Int, $skip: Int, $orderBy: GqlRewardVaultOrderBy = bgtCapturePercentage, $orderDirection: GqlRewardVaultOrderDirection = desc, $search: String) {
|
|
118
118
|
polGetRewardVaults(
|
|
119
119
|
where: $where
|
|
@@ -132,7 +132,7 @@ ${z}`,K=o.gql`
|
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
|
-
${S}`,ot=
|
|
135
|
+
${S}`,ot=n.gql`
|
|
136
136
|
query GetValidator($id: String!, $chain: GqlChain!) {
|
|
137
137
|
validator: polGetValidator(validatorId: $id, chain: $chain) {
|
|
138
138
|
...ApiValidator
|
|
@@ -142,7 +142,7 @@ ${z}`,K=o.gql`
|
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
${y}
|
|
145
|
-
${K}`,rt=
|
|
145
|
+
${K}`,rt=n.gql`
|
|
146
146
|
query GetValidators($where: GqlValidatorFilter, $sortBy: GqlValidatorOrderBy = lastDayDistributedBGTAmount, $sortOrder: GqlValidatorOrderDirection = desc, $pageSize: Int, $skip: Int, $search: String, $chain: GqlChain) {
|
|
147
147
|
validators: polGetValidators(
|
|
148
148
|
where: $where
|
|
@@ -164,7 +164,7 @@ ${K}`,rt=o.gql`
|
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
|
-
${y}`,nt=
|
|
167
|
+
${y}`,nt=n.gql`
|
|
168
168
|
query GetVaultValidators($vaultId: String!, $chain: GqlChain, $isActive: Boolean = true) {
|
|
169
169
|
validators: polGetValidators(
|
|
170
170
|
where: {vaultAddress: $vaultId, isActive: $isActive}
|
|
@@ -181,13 +181,13 @@ ${K}`,rt=o.gql`
|
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
|
-
${y}`,lt=
|
|
184
|
+
${y}`,lt=n.gql`
|
|
185
185
|
query GetRewardVault($vaultId: String!, $chain: GqlChain!) {
|
|
186
186
|
rewardVault: polGetRewardVault(vaultAddress: $vaultId, chain: $chain) {
|
|
187
187
|
...ApiVault
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
${S}`,st=
|
|
190
|
+
${S}`,st=n.gql`
|
|
191
191
|
query GlobalData($chain: GqlChain!) {
|
|
192
192
|
top3EmittingValidators: polGetValidators(
|
|
193
193
|
orderBy: bgtCapturePercentage
|
|
@@ -220,7 +220,7 @@ ${K}`,rt=o.gql`
|
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
|
-
${
|
|
223
|
+
${g}`,it=n.gql`
|
|
224
224
|
query GetUserVaults($userId: String!, $chain: GqlChain!) {
|
|
225
225
|
userVaultDeposits: polGetUserVaultDeposits(userAddress: $userId, chain: $chain) {
|
|
226
226
|
pagination {
|
|
@@ -236,7 +236,7 @@ ${K}`,rt=o.gql`
|
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
|
-
${S}`,ut=
|
|
239
|
+
${S}`,ut=n.gql`
|
|
240
240
|
query GetVaultHistory($vaultId: String!, $chain: GqlChain!, $resolution: GqlRewardVaultSnapshotResolution = DAY, $range: GqlRewardVaultSnapshotDataRange = THIRTY_DAYS) {
|
|
241
241
|
polGetRewardVaultSnapshots(
|
|
242
242
|
chain: $chain
|
|
@@ -249,14 +249,14 @@ ${K}`,rt=o.gql`
|
|
|
249
249
|
apr
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
|
-
`,pt=
|
|
252
|
+
`,pt=n.gql`
|
|
253
253
|
query GetSWberaVaultMetadata($chain: GqlChain!, $resolution: GqlSWberaVaultMetadataResolution) {
|
|
254
254
|
polGetSWberaVaultMetadata(chain: $chain, resolution: $resolution) {
|
|
255
255
|
apr
|
|
256
256
|
chain
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
|
-
`,ct=
|
|
259
|
+
`,ct=n.gql`
|
|
260
260
|
query GetSWberaVaultSnapshots($chain: GqlChain!, $range: GqlVaultSnapshotDataRange) {
|
|
261
261
|
polGetSWberaVaultSnapshots(chain: $chain, range: $range) {
|
|
262
262
|
apr
|
|
@@ -267,22 +267,4 @@ ${K}`,rt=o.gql`
|
|
|
267
267
|
vaultAddress
|
|
268
268
|
}
|
|
269
269
|
}
|
|
270
|
-
`,St=
|
|
271
|
-
query GetPolStakeBeraVaultEventsByOwner($owner: String!) {
|
|
272
|
-
events: polGetStakeBeraVaultEventsByOwner(owner: $owner) {
|
|
273
|
-
type
|
|
274
|
-
assets
|
|
275
|
-
shares
|
|
276
|
-
owner
|
|
277
|
-
_id
|
|
278
|
-
_timestamp
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
`,yt=o.gql`
|
|
282
|
-
query GetStakeBeraVaultEarningsByOwner($owner: String!) {
|
|
283
|
-
polGetStakeBeraVaultEarningsByOwner(owner: $owner) {
|
|
284
|
-
earnings
|
|
285
|
-
owner
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
`,gt={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"]}},dt=gt;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});
|
|
270
|
+
`,St={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"]}},yt=St;0&&(module.exports={ApiRewardAllocationWeight,ApiValidator,ApiValidatorBlockUptime,ApiValidatorMinimal,ApiVault,ApiVaultIncentive,GetRewardVault,GetSWberaVaultMetadata,GetSWberaVaultSnapshots,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});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as graphql from 'graphql';
|
|
2
2
|
|
|
3
3
|
type Maybe<T> = T | null;
|
|
4
4
|
type InputMaybe<T> = Maybe<T>;
|
|
@@ -1017,18 +1017,6 @@ type GqlPoolMinimal = {
|
|
|
1017
1017
|
/** The version of the pool type. */
|
|
1018
1018
|
version: Scalars['Int']['output'];
|
|
1019
1019
|
};
|
|
1020
|
-
/** Result of the poolReloadPools mutation */
|
|
1021
|
-
type GqlPoolMutationResult = {
|
|
1022
|
-
__typename?: 'GqlPoolMutationResult';
|
|
1023
|
-
/** The chain that was reloaded. */
|
|
1024
|
-
chain: GqlChain;
|
|
1025
|
-
/** The error message */
|
|
1026
|
-
error?: Maybe<Scalars['String']['output']>;
|
|
1027
|
-
/** Whether it was successful or not. */
|
|
1028
|
-
success: Scalars['Boolean']['output'];
|
|
1029
|
-
/** The type of pools that were reloaded. */
|
|
1030
|
-
type: Scalars['String']['output'];
|
|
1031
|
-
};
|
|
1032
1020
|
type GqlPoolNestedUnion = GqlPoolComposableStableNested;
|
|
1033
1021
|
declare enum GqlPoolNestingType {
|
|
1034
1022
|
HasOnlyPhantomBpt = "HAS_ONLY_PHANTOM_BPT",
|
|
@@ -2201,8 +2189,6 @@ type Mutation = {
|
|
|
2201
2189
|
poolLoadSnapshotsForPools: Scalars['String']['output'];
|
|
2202
2190
|
poolReloadAllPoolAprs: Scalars['String']['output'];
|
|
2203
2191
|
poolReloadAllTokenNestedPoolIds: Scalars['String']['output'];
|
|
2204
|
-
poolReloadPools: Array<GqlPoolMutationResult>;
|
|
2205
|
-
poolSyncAllCowSnapshots: Array<GqlPoolMutationResult>;
|
|
2206
2192
|
poolSyncAllPoolsFromSubgraph: Array<Scalars['String']['output']>;
|
|
2207
2193
|
poolSyncLatestSnapshotsForAllPools: Scalars['String']['output'];
|
|
2208
2194
|
poolSyncNewPoolsFromSubgraph: Array<Scalars['String']['output']>;
|
|
@@ -2242,12 +2228,6 @@ type MutationPoolLoadSnapshotsForPoolsArgs = {
|
|
|
2242
2228
|
type MutationPoolReloadAllPoolAprsArgs = {
|
|
2243
2229
|
chain: GqlChain;
|
|
2244
2230
|
};
|
|
2245
|
-
type MutationPoolReloadPoolsArgs = {
|
|
2246
|
-
chains: Array<GqlChain>;
|
|
2247
|
-
};
|
|
2248
|
-
type MutationPoolSyncAllCowSnapshotsArgs = {
|
|
2249
|
-
chains: Array<GqlChain>;
|
|
2250
|
-
};
|
|
2251
2231
|
type MutationPoolSyncLatestSnapshotsForAllPoolsArgs = {
|
|
2252
2232
|
chain: GqlChain;
|
|
2253
2233
|
};
|
|
@@ -3594,50 +3574,22 @@ type GetSWberaVaultSnapshotsQuery = {
|
|
|
3594
3574
|
vaultAddress: `0x${string}`;
|
|
3595
3575
|
}>;
|
|
3596
3576
|
};
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
owner: Scalars['String']['input'];
|
|
3614
|
-
}>;
|
|
3615
|
-
type GetStakeBeraVaultEarningsByOwnerQuery = {
|
|
3616
|
-
__typename?: 'Query';
|
|
3617
|
-
polGetStakeBeraVaultEarningsByOwner: {
|
|
3618
|
-
__typename?: 'GqlStakeBeraVaultEarnings';
|
|
3619
|
-
earnings: string;
|
|
3620
|
-
owner: string;
|
|
3621
|
-
};
|
|
3622
|
-
};
|
|
3623
|
-
declare const ApiValidatorMinimal: _apollo_client.DocumentNode;
|
|
3624
|
-
declare const ApiVaultIncentive: _apollo_client.DocumentNode;
|
|
3625
|
-
declare const ApiVault: _apollo_client.DocumentNode;
|
|
3626
|
-
declare const ApiRewardAllocationWeight: _apollo_client.DocumentNode;
|
|
3627
|
-
declare const ApiValidator: _apollo_client.DocumentNode;
|
|
3628
|
-
declare const ApiValidatorBlockUptime: _apollo_client.DocumentNode;
|
|
3629
|
-
declare const GetVaults: _apollo_client.DocumentNode;
|
|
3630
|
-
declare const GetValidator: _apollo_client.DocumentNode;
|
|
3631
|
-
declare const GetValidators: _apollo_client.DocumentNode;
|
|
3632
|
-
declare const GetVaultValidators: _apollo_client.DocumentNode;
|
|
3633
|
-
declare const GetRewardVault: _apollo_client.DocumentNode;
|
|
3634
|
-
declare const GlobalData: _apollo_client.DocumentNode;
|
|
3635
|
-
declare const GetUserVaults: _apollo_client.DocumentNode;
|
|
3636
|
-
declare const GetVaultHistory: _apollo_client.DocumentNode;
|
|
3637
|
-
declare const GetSWberaVaultMetadata: _apollo_client.DocumentNode;
|
|
3638
|
-
declare const GetSWberaVaultSnapshots: _apollo_client.DocumentNode;
|
|
3639
|
-
declare const GetPolStakeBeraVaultEventsByOwner: _apollo_client.DocumentNode;
|
|
3640
|
-
declare const GetStakeBeraVaultEarningsByOwner: _apollo_client.DocumentNode;
|
|
3577
|
+
declare const ApiValidatorMinimal: graphql.DocumentNode;
|
|
3578
|
+
declare const ApiVaultIncentive: graphql.DocumentNode;
|
|
3579
|
+
declare const ApiVault: graphql.DocumentNode;
|
|
3580
|
+
declare const ApiRewardAllocationWeight: graphql.DocumentNode;
|
|
3581
|
+
declare const ApiValidator: graphql.DocumentNode;
|
|
3582
|
+
declare const ApiValidatorBlockUptime: graphql.DocumentNode;
|
|
3583
|
+
declare const GetVaults: graphql.DocumentNode;
|
|
3584
|
+
declare const GetValidator: graphql.DocumentNode;
|
|
3585
|
+
declare const GetValidators: graphql.DocumentNode;
|
|
3586
|
+
declare const GetVaultValidators: graphql.DocumentNode;
|
|
3587
|
+
declare const GetRewardVault: graphql.DocumentNode;
|
|
3588
|
+
declare const GlobalData: graphql.DocumentNode;
|
|
3589
|
+
declare const GetUserVaults: graphql.DocumentNode;
|
|
3590
|
+
declare const GetVaultHistory: graphql.DocumentNode;
|
|
3591
|
+
declare const GetSWberaVaultMetadata: graphql.DocumentNode;
|
|
3592
|
+
declare const GetSWberaVaultSnapshots: graphql.DocumentNode;
|
|
3641
3593
|
interface PossibleTypesResultData {
|
|
3642
3594
|
possibleTypes: {
|
|
3643
3595
|
[key: string]: string[];
|
|
@@ -3645,4 +3597,4 @@ interface PossibleTypesResultData {
|
|
|
3645
3597
|
}
|
|
3646
3598
|
declare const result: PossibleTypesResultData;
|
|
3647
3599
|
|
|
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,
|
|
3600
|
+
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, GetRewardVault, type GetRewardVaultQuery, type GetRewardVaultQueryVariables, GetSWberaVaultMetadata, type GetSWberaVaultMetadataQuery, type GetSWberaVaultMetadataQueryVariables, GetSWberaVaultSnapshots, type GetSWberaVaultSnapshotsQuery, type GetSWberaVaultSnapshotsQueryVariables, 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 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 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 };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as graphql from 'graphql';
|
|
2
2
|
|
|
3
3
|
type Maybe<T> = T | null;
|
|
4
4
|
type InputMaybe<T> = Maybe<T>;
|
|
@@ -1017,18 +1017,6 @@ type GqlPoolMinimal = {
|
|
|
1017
1017
|
/** The version of the pool type. */
|
|
1018
1018
|
version: Scalars['Int']['output'];
|
|
1019
1019
|
};
|
|
1020
|
-
/** Result of the poolReloadPools mutation */
|
|
1021
|
-
type GqlPoolMutationResult = {
|
|
1022
|
-
__typename?: 'GqlPoolMutationResult';
|
|
1023
|
-
/** The chain that was reloaded. */
|
|
1024
|
-
chain: GqlChain;
|
|
1025
|
-
/** The error message */
|
|
1026
|
-
error?: Maybe<Scalars['String']['output']>;
|
|
1027
|
-
/** Whether it was successful or not. */
|
|
1028
|
-
success: Scalars['Boolean']['output'];
|
|
1029
|
-
/** The type of pools that were reloaded. */
|
|
1030
|
-
type: Scalars['String']['output'];
|
|
1031
|
-
};
|
|
1032
1020
|
type GqlPoolNestedUnion = GqlPoolComposableStableNested;
|
|
1033
1021
|
declare enum GqlPoolNestingType {
|
|
1034
1022
|
HasOnlyPhantomBpt = "HAS_ONLY_PHANTOM_BPT",
|
|
@@ -2201,8 +2189,6 @@ type Mutation = {
|
|
|
2201
2189
|
poolLoadSnapshotsForPools: Scalars['String']['output'];
|
|
2202
2190
|
poolReloadAllPoolAprs: Scalars['String']['output'];
|
|
2203
2191
|
poolReloadAllTokenNestedPoolIds: Scalars['String']['output'];
|
|
2204
|
-
poolReloadPools: Array<GqlPoolMutationResult>;
|
|
2205
|
-
poolSyncAllCowSnapshots: Array<GqlPoolMutationResult>;
|
|
2206
2192
|
poolSyncAllPoolsFromSubgraph: Array<Scalars['String']['output']>;
|
|
2207
2193
|
poolSyncLatestSnapshotsForAllPools: Scalars['String']['output'];
|
|
2208
2194
|
poolSyncNewPoolsFromSubgraph: Array<Scalars['String']['output']>;
|
|
@@ -2242,12 +2228,6 @@ type MutationPoolLoadSnapshotsForPoolsArgs = {
|
|
|
2242
2228
|
type MutationPoolReloadAllPoolAprsArgs = {
|
|
2243
2229
|
chain: GqlChain;
|
|
2244
2230
|
};
|
|
2245
|
-
type MutationPoolReloadPoolsArgs = {
|
|
2246
|
-
chains: Array<GqlChain>;
|
|
2247
|
-
};
|
|
2248
|
-
type MutationPoolSyncAllCowSnapshotsArgs = {
|
|
2249
|
-
chains: Array<GqlChain>;
|
|
2250
|
-
};
|
|
2251
2231
|
type MutationPoolSyncLatestSnapshotsForAllPoolsArgs = {
|
|
2252
2232
|
chain: GqlChain;
|
|
2253
2233
|
};
|
|
@@ -3594,50 +3574,22 @@ type GetSWberaVaultSnapshotsQuery = {
|
|
|
3594
3574
|
vaultAddress: `0x${string}`;
|
|
3595
3575
|
}>;
|
|
3596
3576
|
};
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
owner: Scalars['String']['input'];
|
|
3614
|
-
}>;
|
|
3615
|
-
type GetStakeBeraVaultEarningsByOwnerQuery = {
|
|
3616
|
-
__typename?: 'Query';
|
|
3617
|
-
polGetStakeBeraVaultEarningsByOwner: {
|
|
3618
|
-
__typename?: 'GqlStakeBeraVaultEarnings';
|
|
3619
|
-
earnings: string;
|
|
3620
|
-
owner: string;
|
|
3621
|
-
};
|
|
3622
|
-
};
|
|
3623
|
-
declare const ApiValidatorMinimal: _apollo_client.DocumentNode;
|
|
3624
|
-
declare const ApiVaultIncentive: _apollo_client.DocumentNode;
|
|
3625
|
-
declare const ApiVault: _apollo_client.DocumentNode;
|
|
3626
|
-
declare const ApiRewardAllocationWeight: _apollo_client.DocumentNode;
|
|
3627
|
-
declare const ApiValidator: _apollo_client.DocumentNode;
|
|
3628
|
-
declare const ApiValidatorBlockUptime: _apollo_client.DocumentNode;
|
|
3629
|
-
declare const GetVaults: _apollo_client.DocumentNode;
|
|
3630
|
-
declare const GetValidator: _apollo_client.DocumentNode;
|
|
3631
|
-
declare const GetValidators: _apollo_client.DocumentNode;
|
|
3632
|
-
declare const GetVaultValidators: _apollo_client.DocumentNode;
|
|
3633
|
-
declare const GetRewardVault: _apollo_client.DocumentNode;
|
|
3634
|
-
declare const GlobalData: _apollo_client.DocumentNode;
|
|
3635
|
-
declare const GetUserVaults: _apollo_client.DocumentNode;
|
|
3636
|
-
declare const GetVaultHistory: _apollo_client.DocumentNode;
|
|
3637
|
-
declare const GetSWberaVaultMetadata: _apollo_client.DocumentNode;
|
|
3638
|
-
declare const GetSWberaVaultSnapshots: _apollo_client.DocumentNode;
|
|
3639
|
-
declare const GetPolStakeBeraVaultEventsByOwner: _apollo_client.DocumentNode;
|
|
3640
|
-
declare const GetStakeBeraVaultEarningsByOwner: _apollo_client.DocumentNode;
|
|
3577
|
+
declare const ApiValidatorMinimal: graphql.DocumentNode;
|
|
3578
|
+
declare const ApiVaultIncentive: graphql.DocumentNode;
|
|
3579
|
+
declare const ApiVault: graphql.DocumentNode;
|
|
3580
|
+
declare const ApiRewardAllocationWeight: graphql.DocumentNode;
|
|
3581
|
+
declare const ApiValidator: graphql.DocumentNode;
|
|
3582
|
+
declare const ApiValidatorBlockUptime: graphql.DocumentNode;
|
|
3583
|
+
declare const GetVaults: graphql.DocumentNode;
|
|
3584
|
+
declare const GetValidator: graphql.DocumentNode;
|
|
3585
|
+
declare const GetValidators: graphql.DocumentNode;
|
|
3586
|
+
declare const GetVaultValidators: graphql.DocumentNode;
|
|
3587
|
+
declare const GetRewardVault: graphql.DocumentNode;
|
|
3588
|
+
declare const GlobalData: graphql.DocumentNode;
|
|
3589
|
+
declare const GetUserVaults: graphql.DocumentNode;
|
|
3590
|
+
declare const GetVaultHistory: graphql.DocumentNode;
|
|
3591
|
+
declare const GetSWberaVaultMetadata: graphql.DocumentNode;
|
|
3592
|
+
declare const GetSWberaVaultSnapshots: graphql.DocumentNode;
|
|
3641
3593
|
interface PossibleTypesResultData {
|
|
3642
3594
|
possibleTypes: {
|
|
3643
3595
|
[key: string]: string[];
|
|
@@ -3645,4 +3597,4 @@ interface PossibleTypesResultData {
|
|
|
3645
3597
|
}
|
|
3646
3598
|
declare const result: PossibleTypesResultData;
|
|
3647
3599
|
|
|
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,
|
|
3600
|
+
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, GetRewardVault, type GetRewardVaultQuery, type GetRewardVaultQueryVariables, GetSWberaVaultMetadata, type GetSWberaVaultMetadataQuery, type GetSWberaVaultMetadataQueryVariables, GetSWberaVaultSnapshots, type GetSWberaVaultSnapshotsQuery, type GetSWberaVaultSnapshotsQueryVariables, 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 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 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 };
|