@berachain/graphql 0.4.9 → 0.4.10-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dex/api.codegen.cjs +5 -5
- package/dist/dex/api.codegen.d.cts +88 -82
- package/dist/dex/api.codegen.d.ts +88 -82
- package/dist/dex/api.codegen.mjs +4 -4
- package/dist/honey/honey.codegen.cjs +18 -38
- package/dist/honey/honey.codegen.d.cts +16 -61
- package/dist/honey/honey.codegen.d.ts +16 -61
- package/dist/honey/honey.codegen.mjs +18 -38
- package/dist/pol/api.codegen.cjs +23 -23
- package/dist/pol/api.codegen.d.cts +88 -82
- package/dist/pol/api.codegen.d.ts +88 -82
- package/dist/pol/api.codegen.mjs +10 -10
- package/package.json +3 -3
package/dist/dex/api.codegen.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var y=Object.defineProperty;var j=Object.getOwnPropertyDescriptor;var Z=Object.getOwnPropertyNames;var tt=Object.prototype.hasOwnProperty;var at=(c,u)=>{for(var t in u)y(c,t,{get:u[t],enumerable:!0})},et=(c,u,t,e)=>{if(u&&typeof u=="object"||typeof u=="function")for(let n of Z(u))!tt.call(c,n)&&n!==t&&y(c,n,{get:()=>u[n],enumerable:!(e=j(u,n))||e.enumerable});return c};var ot=c=>et(y({},"__esModule",{value:!0}),c);var yt={};at(yt,{DynamicData:()=>S,GetGlobalLiquidityAndSwapVolume:()=>ut,GetPool:()=>nt,GetPoolEvents:()=>st,GetPoolHistoricalData:()=>lt,GetPools:()=>rt,GetTokenCurrentPrices:()=>it,GqlChain:()=>d,GqlPoolAddRemoveEventV3:()=>
|
|
1
|
+
"use strict";var y=Object.defineProperty;var j=Object.getOwnPropertyDescriptor;var Z=Object.getOwnPropertyNames;var tt=Object.prototype.hasOwnProperty;var at=(c,u)=>{for(var t in u)y(c,t,{get:u[t],enumerable:!0})},et=(c,u,t,e)=>{if(u&&typeof u=="object"||typeof u=="function")for(let n of Z(u))!tt.call(c,n)&&n!==t&&y(c,n,{get:()=>u[n],enumerable:!(e=j(u,n))||e.enumerable});return c};var ot=c=>et(y({},"__esModule",{value:!0}),c);var yt={};at(yt,{DynamicData:()=>S,GetGlobalLiquidityAndSwapVolume:()=>ut,GetPool:()=>nt,GetPoolEvents:()=>st,GetPoolHistoricalData:()=>lt,GetPools:()=>rt,GetTokenCurrentPrices:()=>it,GqlChain:()=>d,GqlPoolAddRemoveEventV3:()=>J,GqlPoolAprItemType:()=>g,GqlPoolEventType:()=>G,GqlPoolEventsDataRange:()=>b,GqlPoolFilterCategory:()=>q,GqlPoolJoinExitType:()=>A,GqlPoolNestingType:()=>P,GqlPoolOrderBy:()=>I,GqlPoolOrderDirection:()=>_,GqlPoolSnapshotDataRange:()=>h,GqlPoolSwapEventCowAmm:()=>K,GqlPoolSwapEventV3:()=>z,GqlPoolType:()=>D,GqlRewardVaultIncentiveOrderBy:()=>T,GqlRewardVaultIncentiveOrderDirection:()=>B,GqlRewardVaultOrderBy:()=>k,GqlRewardVaultOrderDirection:()=>v,GqlRewardVaultSnapshotDataRange:()=>x,GqlRewardVaultSnapshotResolution:()=>M,GqlSWberaVaultMetadataResolution:()=>w,GqlSorSwapType:()=>V,GqlTokenChartDataRange:()=>C,GqlTokenType:()=>R,GqlUserVaultDepositOrderBy:()=>E,GqlUserVaultDepositOrderDirection:()=>F,GqlValidatorBlockUptimeStatus:()=>f,GqlValidatorBoostOrderBy:()=>U,GqlValidatorBoostOrderDirection:()=>$,GqlValidatorOrderBy:()=>N,GqlValidatorOrderDirection:()=>L,GqlVaultSnapshotDataRange:()=>H,MinimalPool:()=>Q,MinimalPoolInList:()=>O,PoolEvent:()=>X,PoolHistoricalData:()=>Y,RewardVault:()=>m,UserBalance:()=>W,default:()=>ct});module.exports=ot(yt);var r=require("@apollo/client"),d=(t=>(t.Bepolia="BEPOLIA",t.Berachain="BERACHAIN",t))(d||{}),g=(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))(g||{}),G=(e=>(e.Add="ADD",e.Remove="REMOVE",e.Swap="SWAP",e))(G||{}),b=(e=>(e.NinetyDays="NINETY_DAYS",e.SevenDays="SEVEN_DAYS",e.ThirtyDays="THIRTY_DAYS",e))(b||{}),q=(p=>(p.BlackListed="BLACK_LISTED",p.Featured="FEATURED",p.Incentivized="INCENTIVIZED",p.Lrt="LRT",p.Points="POINTS",p.PointsEigenlayer="POINTS_EIGENLAYER",p.PointsGyro="POINTS_GYRO",p.PointsKelp="POINTS_KELP",p.PointsRenzo="POINTS_RENZO",p.PointsSwell="POINTS_SWELL",p.Superfest="SUPERFEST",p))(q||{}),A=(t=>(t.Exit="Exit",t.Join="Join",t))(A||{}),P=(e=>(e.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",e.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",e.NoNesting="NO_NESTING",e))(P||{}),I=(o=>(o.Apr="apr",o.BgtApr="bgtApr",o.CombinedApr="combinedApr",o.Fees24h="fees24h",o.TotalLiquidity="totalLiquidity",o.TotalShares="totalShares",o.UserbalanceUsd="userbalanceUsd",o.Volume24h="volume24h",o))(I||{}),_=(t=>(t.Asc="asc",t.Desc="desc",t))(_||{}),h=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",a.OneYear="ONE_YEAR",a.ThirtyDays="THIRTY_DAYS",a))(h||{}),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||{}),T=(e=>(e.AmountRemaining="amountRemaining",e.AmountRemainingUsd="amountRemainingUsd",e.IncentiveRate="incentiveRate",e))(T||{}),B=(t=>(t.Asc="asc",t.Desc="desc",t))(B||{}),k=(o=>(o.ActiveIncentivesRateUsd="activeIncentivesRateUsd",o.ActiveIncentivesValueUsd="activeIncentivesValueUsd",o.AllTimeBgtReceived="allTimeBGTReceived",o.Apr="apr",o.Apy="apy",o.BgtCapturePercentage="bgtCapturePercentage",o.Last24hBgtReceived="last24hBGTReceived",o.ProjectedApr="projectedApr",o))(k||{}),v=(t=>(t.Asc="asc",t.Desc="desc",t))(v||{}),x=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.SixtyDays="SIXTY_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(x||{}),M=(t=>(t.Day="DAY",t.Hour="HOUR",t))(M||{}),w=(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(w||{}),V=(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(V||{}),C=(a=>(a.NinetyDay="NINETY_DAY",a.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",a.OneYear="ONE_YEAR",a.SevenDay="SEVEN_DAY",a.ThirtyDay="THIRTY_DAY",a))(C||{}),R=(e=>(e.Bpt="BPT",e.PhantomBpt="PHANTOM_BPT",e.WhiteListed="WHITE_LISTED",e))(R||{}),E=(u=>(u.Amount="amount",u))(E||{}),F=(t=>(t.Asc="asc",t.Desc="desc",t))(F||{}),f=(n=>(n.Inactive="INACTIVE",n.Offline="OFFLINE",n.Proposed="PROPOSED",n.Signed="SIGNED",n))(f||{}),U=(a=>(a.ActiveBoostAmount="activeBoostAmount",a.LatestBlock="latestBlock",a.LatestBlockTime="latestBlockTime",a.QueuedBoostAmount="queuedBoostAmount",a.QueuedDropBoostAmount="queuedDropBoostAmount",a))(U||{}),$=(t=>(t.Asc="asc",t.Desc="desc",t))($||{}),N=(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))(N||{}),L=(t=>(t.Asc="asc",t.Desc="desc",t))(L||{}),H=(n=>(n.NinetyDays="NINETY_DAYS",n.SevenDays="SEVEN_DAYS",n.SixtyDays="SIXTY_DAYS",n.ThirtyDays="THIRTY_DAYS",n))(H||{}),S=r.gql`
|
|
2
2
|
fragment DynamicData on GqlPoolDynamicData {
|
|
3
3
|
totalShares
|
|
4
4
|
fees24h
|
|
@@ -107,7 +107,7 @@ ${m}`,Y=r.gql`
|
|
|
107
107
|
amount
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
`,
|
|
110
|
+
`,z=r.gql`
|
|
111
111
|
fragment GqlPoolSwapEventV3 on GqlPoolSwapEventV3 {
|
|
112
112
|
tokenIn {
|
|
113
113
|
address
|
|
@@ -118,7 +118,7 @@ ${m}`,Y=r.gql`
|
|
|
118
118
|
amount
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
|
-
`,
|
|
121
|
+
`,J=r.gql`
|
|
122
122
|
fragment GqlPoolAddRemoveEventV3 on GqlPoolAddRemoveEventV3 {
|
|
123
123
|
tokens {
|
|
124
124
|
address
|
|
@@ -138,8 +138,8 @@ ${m}`,Y=r.gql`
|
|
|
138
138
|
...GqlPoolAddRemoveEventV3
|
|
139
139
|
}
|
|
140
140
|
${K}
|
|
141
|
-
${
|
|
142
|
-
${
|
|
141
|
+
${z}
|
|
142
|
+
${J}`,rt=r.gql`
|
|
143
143
|
query GetPools($textSearch: String, $first: Int, $userAddress: String, $chain: [GqlChain!]!, $orderBy: GqlPoolOrderBy, $skip: Int, $orderDirection: GqlPoolOrderDirection, $blacklistedPoolIds: [String!]) {
|
|
144
144
|
poolGetPools(
|
|
145
145
|
textSearch: $textSearch
|
|
@@ -238,77 +238,6 @@ type GqlPagination = {
|
|
|
238
238
|
totalCount: Scalars['Int']['output'];
|
|
239
239
|
totalPages: Scalars['Int']['output'];
|
|
240
240
|
};
|
|
241
|
-
type GqlPoolAggregator = {
|
|
242
|
-
__typename?: 'GqlPoolAggregator';
|
|
243
|
-
/** The contract address of the pool. */
|
|
244
|
-
address: Scalars['Bytes']['output'];
|
|
245
|
-
/** Data specific to gyro/fx pools */
|
|
246
|
-
alpha?: Maybe<Scalars['String']['output']>;
|
|
247
|
-
/** Data specific to stable pools */
|
|
248
|
-
amp?: Maybe<Scalars['BigInt']['output']>;
|
|
249
|
-
/** Data specific to gyro/fx pools */
|
|
250
|
-
beta?: Maybe<Scalars['String']['output']>;
|
|
251
|
-
/** Data specific to gyro pools */
|
|
252
|
-
c?: Maybe<Scalars['String']['output']>;
|
|
253
|
-
/** The chain on which the pool is deployed */
|
|
254
|
-
chain: GqlChain;
|
|
255
|
-
/** The timestamp the pool was created. */
|
|
256
|
-
createTime: Scalars['Int']['output'];
|
|
257
|
-
/** Data specific to gyro pools */
|
|
258
|
-
dSq?: Maybe<Scalars['String']['output']>;
|
|
259
|
-
/** The decimals of the BPT, usually 18 */
|
|
260
|
-
decimals: Scalars['Int']['output'];
|
|
261
|
-
/** Data specific to fx pools */
|
|
262
|
-
delta?: Maybe<Scalars['String']['output']>;
|
|
263
|
-
/** Dynamic data such as token balances, swap fees or volume */
|
|
264
|
-
dynamicData: GqlPoolDynamicData;
|
|
265
|
-
/** Data specific to fx pools */
|
|
266
|
-
epsilon?: Maybe<Scalars['String']['output']>;
|
|
267
|
-
/** The factory contract address from which the pool was created. */
|
|
268
|
-
factory?: Maybe<Scalars['Bytes']['output']>;
|
|
269
|
-
/** The pool id. This is equal to the address for protocolVersion 3 pools */
|
|
270
|
-
id: Scalars['ID']['output'];
|
|
271
|
-
/** Data specific to gyro/fx pools */
|
|
272
|
-
lambda?: Maybe<Scalars['String']['output']>;
|
|
273
|
-
/** The name of the pool as per contract */
|
|
274
|
-
name: Scalars['String']['output'];
|
|
275
|
-
/** The wallet address of the owner of the pool. Pool owners can set certain properties like swapFees or AMP. */
|
|
276
|
-
owner?: Maybe<Scalars['Bytes']['output']>;
|
|
277
|
-
/** Returns all pool tokens, including BPTs and nested pools if there are any. Only one nested level deep. */
|
|
278
|
-
poolTokens: Array<GqlPoolTokenDetail>;
|
|
279
|
-
/** The protocol version on which the pool is deployed, 1, 2 or 3 */
|
|
280
|
-
protocolVersion: Scalars['Int']['output'];
|
|
281
|
-
/** Data specific to gyro pools */
|
|
282
|
-
root3Alpha?: Maybe<Scalars['String']['output']>;
|
|
283
|
-
/** Data specific to gyro pools */
|
|
284
|
-
s?: Maybe<Scalars['String']['output']>;
|
|
285
|
-
/** Data specific to gyro pools */
|
|
286
|
-
sqrtAlpha?: Maybe<Scalars['String']['output']>;
|
|
287
|
-
/** Data specific to gyro pools */
|
|
288
|
-
sqrtBeta?: Maybe<Scalars['String']['output']>;
|
|
289
|
-
/** The token symbol of the pool as per contract */
|
|
290
|
-
symbol: Scalars['String']['output'];
|
|
291
|
-
/** Data specific to gyro pools */
|
|
292
|
-
tauAlphaX?: Maybe<Scalars['String']['output']>;
|
|
293
|
-
/** Data specific to gyro pools */
|
|
294
|
-
tauAlphaY?: Maybe<Scalars['String']['output']>;
|
|
295
|
-
/** Data specific to gyro pools */
|
|
296
|
-
tauBetaX?: Maybe<Scalars['String']['output']>;
|
|
297
|
-
/** Data specific to gyro pools */
|
|
298
|
-
tauBetaY?: Maybe<Scalars['String']['output']>;
|
|
299
|
-
/** The pool type, such as weighted, stable, etc. */
|
|
300
|
-
type: GqlPoolType;
|
|
301
|
-
/** Data specific to gyro pools */
|
|
302
|
-
u?: Maybe<Scalars['String']['output']>;
|
|
303
|
-
/** Data specific to gyro pools */
|
|
304
|
-
v?: Maybe<Scalars['String']['output']>;
|
|
305
|
-
/** The version of the pool type. */
|
|
306
|
-
version: Scalars['Int']['output'];
|
|
307
|
-
/** Data specific to gyro pools */
|
|
308
|
-
w?: Maybe<Scalars['String']['output']>;
|
|
309
|
-
/** Data specific to gyro pools */
|
|
310
|
-
z?: Maybe<Scalars['String']['output']>;
|
|
311
|
-
};
|
|
312
241
|
type GqlPoolApr = {
|
|
313
242
|
__typename?: 'GqlPoolApr';
|
|
314
243
|
apr: GqlPoolAprValue;
|
|
@@ -1419,6 +1348,7 @@ declare enum GqlRewardVaultOrderBy {
|
|
|
1419
1348
|
Apr = "apr",
|
|
1420
1349
|
Apy = "apy",
|
|
1421
1350
|
BgtCapturePercentage = "bgtCapturePercentage",
|
|
1351
|
+
/** @deprecated This will be removed at mid April 2026 */
|
|
1422
1352
|
Last24hBgtReceived = "last24hBGTReceived",
|
|
1423
1353
|
ProjectedApr = "projectedApr"
|
|
1424
1354
|
}
|
|
@@ -1836,7 +1766,6 @@ type GqlValidator = {
|
|
|
1836
1766
|
pubkey: Scalars['Bytes']['output'];
|
|
1837
1767
|
/** @deprecated Deprecated. It will be removed at mid April 2026. */
|
|
1838
1768
|
rewardAllocationStartBlock?: Maybe<Scalars['Int']['output']>;
|
|
1839
|
-
/** @deprecated Deprecated. It will be removed at mid April 2026. Use incentives if you need an aggregation. */
|
|
1840
1769
|
rewardAllocationWeights: Array<GqlValidatorRewardAllocationWeight>;
|
|
1841
1770
|
rewardAllocator?: Maybe<Scalars['Bytes']['output']>;
|
|
1842
1771
|
valStats?: Maybe<GqlValidatorStats>;
|
|
@@ -2003,6 +1932,7 @@ type GqlValidatorRewardAllocationWeight = {
|
|
|
2003
1932
|
*/
|
|
2004
1933
|
percentageNumerator: Scalars['Int']['output'];
|
|
2005
1934
|
receiver: Scalars['Bytes']['output'];
|
|
1935
|
+
/** @deprecated Deprecated. It will be removed at mid April 2026. */
|
|
2006
1936
|
receivingVault?: Maybe<GqlRewardVault>;
|
|
2007
1937
|
startBlock: Scalars['Int']['output'];
|
|
2008
1938
|
validator?: Maybe<GqlValidator>;
|
|
@@ -2053,6 +1983,87 @@ type HookData = {
|
|
|
2053
1983
|
removeLiquidityFeePercentage?: Maybe<Scalars['String']['output']>;
|
|
2054
1984
|
swapFeePercentage?: Maybe<Scalars['String']['output']>;
|
|
2055
1985
|
};
|
|
1986
|
+
type Mutation = {
|
|
1987
|
+
__typename?: 'Mutation';
|
|
1988
|
+
cacheAverageBlockTime: Scalars['String']['output'];
|
|
1989
|
+
polSyncAllRewardVaultsFromSubgraph: Array<Scalars['String']['output']>;
|
|
1990
|
+
polSyncAllValidatorsFromSubgraph: Array<Scalars['String']['output']>;
|
|
1991
|
+
poolDeletePool: Scalars['String']['output'];
|
|
1992
|
+
poolInitOnChainDataForAllPools: Scalars['String']['output'];
|
|
1993
|
+
poolInitializeSnapshotsForPool: Scalars['String']['output'];
|
|
1994
|
+
poolLoadOnChainDataForAllPools: Scalars['String']['output'];
|
|
1995
|
+
poolLoadOnChainDataForPoolsWithActiveUpdates: Scalars['String']['output'];
|
|
1996
|
+
poolLoadSnapshotsForAllPools: Scalars['String']['output'];
|
|
1997
|
+
poolLoadSnapshotsForPools: Scalars['String']['output'];
|
|
1998
|
+
poolReloadAllPoolAprs: Scalars['String']['output'];
|
|
1999
|
+
poolReloadAllTokenNestedPoolIds: Scalars['String']['output'];
|
|
2000
|
+
poolSyncAllPoolsFromSubgraph: Array<Scalars['String']['output']>;
|
|
2001
|
+
poolSyncLatestSnapshotsForAllPools: Scalars['String']['output'];
|
|
2002
|
+
poolSyncNewPoolsFromSubgraph: Array<Scalars['String']['output']>;
|
|
2003
|
+
poolSyncPool: Scalars['String']['output'];
|
|
2004
|
+
poolSyncPoolAllTokensRelationship: Scalars['String']['output'];
|
|
2005
|
+
poolSyncSanityPoolData: Scalars['String']['output'];
|
|
2006
|
+
poolSyncSwapsForLast48Hours: Scalars['String']['output'];
|
|
2007
|
+
poolSyncTotalShares: Scalars['String']['output'];
|
|
2008
|
+
poolUpdateAprs: Scalars['String']['output'];
|
|
2009
|
+
poolUpdateLifetimeValuesForAllPools: Scalars['String']['output'];
|
|
2010
|
+
poolUpdateLiquidity24hAgoForAllPools: Scalars['String']['output'];
|
|
2011
|
+
poolUpdateLiquidityValuesForAllPools: Scalars['String']['output'];
|
|
2012
|
+
poolUpdateVolumeAndFeeValuesForAllPools: Scalars['String']['output'];
|
|
2013
|
+
protocolCacheMetrics: Scalars['String']['output'];
|
|
2014
|
+
tokenDeleteTokenType: Scalars['String']['output'];
|
|
2015
|
+
tokenReloadAllTokenTypes: Scalars['String']['output'];
|
|
2016
|
+
tokenReloadErc4626Tokens: Array<GqlTokenMutationResult>;
|
|
2017
|
+
tokenReloadTokenPrices?: Maybe<Scalars['Boolean']['output']>;
|
|
2018
|
+
tokenSyncLatestFxPrices: Scalars['String']['output'];
|
|
2019
|
+
tokenSyncTokenDefinitions: Scalars['String']['output'];
|
|
2020
|
+
userInitWalletBalancesForAllPools: Scalars['String']['output'];
|
|
2021
|
+
userInitWalletBalancesForPool: Scalars['String']['output'];
|
|
2022
|
+
userSyncBalance: Scalars['String']['output'];
|
|
2023
|
+
userSyncBalanceAllPools: Scalars['String']['output'];
|
|
2024
|
+
userSyncChangedWalletBalancesForAllPools: Scalars['String']['output'];
|
|
2025
|
+
};
|
|
2026
|
+
type MutationPoolDeletePoolArgs = {
|
|
2027
|
+
poolId: Scalars['String']['input'];
|
|
2028
|
+
};
|
|
2029
|
+
type MutationPoolInitializeSnapshotsForPoolArgs = {
|
|
2030
|
+
poolId: Scalars['String']['input'];
|
|
2031
|
+
};
|
|
2032
|
+
type MutationPoolLoadSnapshotsForPoolsArgs = {
|
|
2033
|
+
poolIds: Array<Scalars['String']['input']>;
|
|
2034
|
+
reload?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2035
|
+
};
|
|
2036
|
+
type MutationPoolReloadAllPoolAprsArgs = {
|
|
2037
|
+
chain: GqlChain;
|
|
2038
|
+
};
|
|
2039
|
+
type MutationPoolSyncLatestSnapshotsForAllPoolsArgs = {
|
|
2040
|
+
chain: GqlChain;
|
|
2041
|
+
};
|
|
2042
|
+
type MutationPoolSyncPoolArgs = {
|
|
2043
|
+
poolId: Scalars['String']['input'];
|
|
2044
|
+
};
|
|
2045
|
+
type MutationPoolUpdateAprsArgs = {
|
|
2046
|
+
chain: GqlChain;
|
|
2047
|
+
};
|
|
2048
|
+
type MutationTokenDeleteTokenTypeArgs = {
|
|
2049
|
+
tokenAddress: Scalars['String']['input'];
|
|
2050
|
+
type: GqlTokenType;
|
|
2051
|
+
};
|
|
2052
|
+
type MutationTokenReloadErc4626TokensArgs = {
|
|
2053
|
+
chains: Array<GqlChain>;
|
|
2054
|
+
};
|
|
2055
|
+
type MutationTokenReloadTokenPricesArgs = {
|
|
2056
|
+
chains: Array<GqlChain>;
|
|
2057
|
+
};
|
|
2058
|
+
type MutationTokenSyncLatestFxPricesArgs = {
|
|
2059
|
+
chain: GqlChain;
|
|
2060
|
+
};
|
|
2061
|
+
type MutationUserInitWalletBalancesForPoolArgs = {
|
|
2062
|
+
poolId: Scalars['String']['input'];
|
|
2063
|
+
};
|
|
2064
|
+
type MutationUserSyncBalanceArgs = {
|
|
2065
|
+
poolId: Scalars['String']['input'];
|
|
2066
|
+
};
|
|
2056
2067
|
type PaginatedRewardVaultIncentivesResponse = {
|
|
2057
2068
|
__typename?: 'PaginatedRewardVaultIncentivesResponse';
|
|
2058
2069
|
incentives: Array<GqlRewardVaultIncentive>;
|
|
@@ -2087,9 +2098,13 @@ type Query = {
|
|
|
2087
2098
|
__typename?: 'Query';
|
|
2088
2099
|
bendVault?: Maybe<BendVaultResponse>;
|
|
2089
2100
|
bendVaults: Array<BendVaultResponse>;
|
|
2101
|
+
/** @deprecated This query will be removed at the end of April 2026. */
|
|
2090
2102
|
blocksGetAverageBlockTime: Scalars['Float']['output'];
|
|
2103
|
+
/** @deprecated This query will be removed at the end of April 2026. */
|
|
2091
2104
|
blocksGetBlocksPerDay: Scalars['Float']['output'];
|
|
2105
|
+
/** @deprecated This query will be removed at the end of April 2026. */
|
|
2092
2106
|
blocksGetBlocksPerSecond: Scalars['Float']['output'];
|
|
2107
|
+
/** @deprecated This query will be removed at the end of April 2026. */
|
|
2093
2108
|
blocksGetBlocksPerYear: Scalars['Float']['output'];
|
|
2094
2109
|
/** Returns list of hooks. */
|
|
2095
2110
|
hooks?: Maybe<Array<Hook>>;
|
|
@@ -2115,8 +2130,6 @@ type Query = {
|
|
|
2115
2130
|
polGetVaultDurations: GqlVaultDurations;
|
|
2116
2131
|
/** Getting swap, add and remove events with paging */
|
|
2117
2132
|
poolEvents: Array<GqlPoolEvent>;
|
|
2118
|
-
/** Returns all pools for a given filter, specific for aggregators */
|
|
2119
|
-
poolGetAggregatorPools: Array<GqlPoolAggregator>;
|
|
2120
2133
|
/** Getting swap, add and remove events with range */
|
|
2121
2134
|
poolGetEvents: Array<GqlPoolEvent>;
|
|
2122
2135
|
/** Returns one pool. If a user address is provided, the user balances for the given pool will also be returned. */
|
|
@@ -2259,13 +2272,6 @@ type QueryPoolEventsArgs = {
|
|
|
2259
2272
|
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2260
2273
|
where?: InputMaybe<GqlPoolEventsFilter>;
|
|
2261
2274
|
};
|
|
2262
|
-
type QueryPoolGetAggregatorPoolsArgs = {
|
|
2263
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
2264
|
-
orderBy?: InputMaybe<GqlPoolOrderBy>;
|
|
2265
|
-
orderDirection?: InputMaybe<GqlPoolOrderDirection>;
|
|
2266
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2267
|
-
where?: InputMaybe<GqlPoolFilter>;
|
|
2268
|
-
};
|
|
2269
2275
|
type QueryPoolGetEventsArgs = {
|
|
2270
2276
|
chain: GqlChain;
|
|
2271
2277
|
poolId: Scalars['String']['input'];
|
|
@@ -3668,4 +3674,4 @@ interface PossibleTypesResultData {
|
|
|
3668
3674
|
}
|
|
3669
3675
|
declare const result: PossibleTypesResultData;
|
|
3670
3676
|
|
|
3671
|
-
export { type BendVaultDynamicData, type BendVaultResponse, DynamicData, type DynamicDataFragment, type Exact, GetGlobalLiquidityAndSwapVolume, type GetGlobalLiquidityAndSwapVolumeQuery, type GetGlobalLiquidityAndSwapVolumeQueryVariables, GetPool, GetPoolEvents, type GetPoolEventsQuery, type GetPoolEventsQueryVariables, GetPoolHistoricalData, type GetPoolHistoricalDataQuery, type GetPoolHistoricalDataQueryVariables, type GetPoolQuery, type GetPoolQueryVariables, GetPools, type GetPoolsQuery, type GetPoolsQueryVariables, GetTokenCurrentPrices, type GetTokenCurrentPricesQuery, type GetTokenCurrentPricesQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, type GqlIncentive, type GqlLatestSyncedBlocks, type GqlNestedPool, type GqlPagination, GqlPoolAddRemoveEventV3, type GqlPoolAddRemoveEventV3Fragment, type
|
|
3677
|
+
export { type BendVaultDynamicData, type BendVaultResponse, DynamicData, type DynamicDataFragment, type Exact, GetGlobalLiquidityAndSwapVolume, type GetGlobalLiquidityAndSwapVolumeQuery, type GetGlobalLiquidityAndSwapVolumeQueryVariables, GetPool, GetPoolEvents, type GetPoolEventsQuery, type GetPoolEventsQueryVariables, GetPoolHistoricalData, type GetPoolHistoricalDataQuery, type GetPoolHistoricalDataQueryVariables, type GetPoolQuery, type GetPoolQueryVariables, GetPools, type GetPoolsQuery, type GetPoolsQueryVariables, GetTokenCurrentPrices, type GetTokenCurrentPricesQuery, type GetTokenCurrentPricesQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, type GqlIncentive, type GqlLatestSyncedBlocks, type GqlNestedPool, type GqlPagination, GqlPoolAddRemoveEventV3, type GqlPoolAddRemoveEventV3Fragment, 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 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, GqlPoolSwapEventCowAmm, type GqlPoolSwapEventCowAmmFragment, GqlPoolSwapEventV3, type GqlPoolSwapEventV3Fragment, 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 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 GqlValidatorInList, type GqlValidatorIncentive, 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, MinimalPool, type MinimalPoolFragment, MinimalPoolInList, type MinimalPoolInListFragment, 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, PoolEvent, type PoolEventFragment, PoolHistoricalData, type PoolHistoricalDataFragment, type PossibleTypesResultData, type Query, type QueryBendVaultArgs, type QueryHooksArgs, type QueryPolGetActiveIncentivesArgs, type QueryPolGetGlobalInfoArgs, type QueryPolGetRewardVaultArgs, type QueryPolGetRewardVaultSnapshotsArgs, type QueryPolGetRewardVaultsArgs, type QueryPolGetSWberaVaultMetadataArgs, type QueryPolGetSWberaVaultSnapshotsArgs, type QueryPolGetTopVaultDepositsArgs, type QueryPolGetUserVaultDepositsArgs, type QueryPolGetValidatorArgs, type QueryPolGetValidatorBlockUptimesArgs, type QueryPolGetValidatorBoostsArgs, type QueryPolGetValidatorsArgs, type QueryPoolEventsArgs, type QueryPoolGetEventsArgs, type QueryPoolGetPoolArgs, type QueryPoolGetPoolsArgs, type QueryPoolGetPoolsCountArgs, type QueryPoolGetSnapshotsArgs, 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 QueryTokenGetTokenDynamicDataArgs, type QueryTokenGetTokensArgs, type QueryTokenGetTokensDynamicDataArgs, type QueryUserGetPoolBalancesArgs, type QueryUserGetPoolJoinExitsArgs, type QueryUserGetSwapsArgs, RewardVault, type RewardVaultFragment, type Scalars, type Token, UserBalance, type UserBalanceFragment, result as default };
|
|
@@ -238,77 +238,6 @@ type GqlPagination = {
|
|
|
238
238
|
totalCount: Scalars['Int']['output'];
|
|
239
239
|
totalPages: Scalars['Int']['output'];
|
|
240
240
|
};
|
|
241
|
-
type GqlPoolAggregator = {
|
|
242
|
-
__typename?: 'GqlPoolAggregator';
|
|
243
|
-
/** The contract address of the pool. */
|
|
244
|
-
address: Scalars['Bytes']['output'];
|
|
245
|
-
/** Data specific to gyro/fx pools */
|
|
246
|
-
alpha?: Maybe<Scalars['String']['output']>;
|
|
247
|
-
/** Data specific to stable pools */
|
|
248
|
-
amp?: Maybe<Scalars['BigInt']['output']>;
|
|
249
|
-
/** Data specific to gyro/fx pools */
|
|
250
|
-
beta?: Maybe<Scalars['String']['output']>;
|
|
251
|
-
/** Data specific to gyro pools */
|
|
252
|
-
c?: Maybe<Scalars['String']['output']>;
|
|
253
|
-
/** The chain on which the pool is deployed */
|
|
254
|
-
chain: GqlChain;
|
|
255
|
-
/** The timestamp the pool was created. */
|
|
256
|
-
createTime: Scalars['Int']['output'];
|
|
257
|
-
/** Data specific to gyro pools */
|
|
258
|
-
dSq?: Maybe<Scalars['String']['output']>;
|
|
259
|
-
/** The decimals of the BPT, usually 18 */
|
|
260
|
-
decimals: Scalars['Int']['output'];
|
|
261
|
-
/** Data specific to fx pools */
|
|
262
|
-
delta?: Maybe<Scalars['String']['output']>;
|
|
263
|
-
/** Dynamic data such as token balances, swap fees or volume */
|
|
264
|
-
dynamicData: GqlPoolDynamicData;
|
|
265
|
-
/** Data specific to fx pools */
|
|
266
|
-
epsilon?: Maybe<Scalars['String']['output']>;
|
|
267
|
-
/** The factory contract address from which the pool was created. */
|
|
268
|
-
factory?: Maybe<Scalars['Bytes']['output']>;
|
|
269
|
-
/** The pool id. This is equal to the address for protocolVersion 3 pools */
|
|
270
|
-
id: Scalars['ID']['output'];
|
|
271
|
-
/** Data specific to gyro/fx pools */
|
|
272
|
-
lambda?: Maybe<Scalars['String']['output']>;
|
|
273
|
-
/** The name of the pool as per contract */
|
|
274
|
-
name: Scalars['String']['output'];
|
|
275
|
-
/** The wallet address of the owner of the pool. Pool owners can set certain properties like swapFees or AMP. */
|
|
276
|
-
owner?: Maybe<Scalars['Bytes']['output']>;
|
|
277
|
-
/** Returns all pool tokens, including BPTs and nested pools if there are any. Only one nested level deep. */
|
|
278
|
-
poolTokens: Array<GqlPoolTokenDetail>;
|
|
279
|
-
/** The protocol version on which the pool is deployed, 1, 2 or 3 */
|
|
280
|
-
protocolVersion: Scalars['Int']['output'];
|
|
281
|
-
/** Data specific to gyro pools */
|
|
282
|
-
root3Alpha?: Maybe<Scalars['String']['output']>;
|
|
283
|
-
/** Data specific to gyro pools */
|
|
284
|
-
s?: Maybe<Scalars['String']['output']>;
|
|
285
|
-
/** Data specific to gyro pools */
|
|
286
|
-
sqrtAlpha?: Maybe<Scalars['String']['output']>;
|
|
287
|
-
/** Data specific to gyro pools */
|
|
288
|
-
sqrtBeta?: Maybe<Scalars['String']['output']>;
|
|
289
|
-
/** The token symbol of the pool as per contract */
|
|
290
|
-
symbol: Scalars['String']['output'];
|
|
291
|
-
/** Data specific to gyro pools */
|
|
292
|
-
tauAlphaX?: Maybe<Scalars['String']['output']>;
|
|
293
|
-
/** Data specific to gyro pools */
|
|
294
|
-
tauAlphaY?: Maybe<Scalars['String']['output']>;
|
|
295
|
-
/** Data specific to gyro pools */
|
|
296
|
-
tauBetaX?: Maybe<Scalars['String']['output']>;
|
|
297
|
-
/** Data specific to gyro pools */
|
|
298
|
-
tauBetaY?: Maybe<Scalars['String']['output']>;
|
|
299
|
-
/** The pool type, such as weighted, stable, etc. */
|
|
300
|
-
type: GqlPoolType;
|
|
301
|
-
/** Data specific to gyro pools */
|
|
302
|
-
u?: Maybe<Scalars['String']['output']>;
|
|
303
|
-
/** Data specific to gyro pools */
|
|
304
|
-
v?: Maybe<Scalars['String']['output']>;
|
|
305
|
-
/** The version of the pool type. */
|
|
306
|
-
version: Scalars['Int']['output'];
|
|
307
|
-
/** Data specific to gyro pools */
|
|
308
|
-
w?: Maybe<Scalars['String']['output']>;
|
|
309
|
-
/** Data specific to gyro pools */
|
|
310
|
-
z?: Maybe<Scalars['String']['output']>;
|
|
311
|
-
};
|
|
312
241
|
type GqlPoolApr = {
|
|
313
242
|
__typename?: 'GqlPoolApr';
|
|
314
243
|
apr: GqlPoolAprValue;
|
|
@@ -1419,6 +1348,7 @@ declare enum GqlRewardVaultOrderBy {
|
|
|
1419
1348
|
Apr = "apr",
|
|
1420
1349
|
Apy = "apy",
|
|
1421
1350
|
BgtCapturePercentage = "bgtCapturePercentage",
|
|
1351
|
+
/** @deprecated This will be removed at mid April 2026 */
|
|
1422
1352
|
Last24hBgtReceived = "last24hBGTReceived",
|
|
1423
1353
|
ProjectedApr = "projectedApr"
|
|
1424
1354
|
}
|
|
@@ -1836,7 +1766,6 @@ type GqlValidator = {
|
|
|
1836
1766
|
pubkey: Scalars['Bytes']['output'];
|
|
1837
1767
|
/** @deprecated Deprecated. It will be removed at mid April 2026. */
|
|
1838
1768
|
rewardAllocationStartBlock?: Maybe<Scalars['Int']['output']>;
|
|
1839
|
-
/** @deprecated Deprecated. It will be removed at mid April 2026. Use incentives if you need an aggregation. */
|
|
1840
1769
|
rewardAllocationWeights: Array<GqlValidatorRewardAllocationWeight>;
|
|
1841
1770
|
rewardAllocator?: Maybe<Scalars['Bytes']['output']>;
|
|
1842
1771
|
valStats?: Maybe<GqlValidatorStats>;
|
|
@@ -2003,6 +1932,7 @@ type GqlValidatorRewardAllocationWeight = {
|
|
|
2003
1932
|
*/
|
|
2004
1933
|
percentageNumerator: Scalars['Int']['output'];
|
|
2005
1934
|
receiver: Scalars['Bytes']['output'];
|
|
1935
|
+
/** @deprecated Deprecated. It will be removed at mid April 2026. */
|
|
2006
1936
|
receivingVault?: Maybe<GqlRewardVault>;
|
|
2007
1937
|
startBlock: Scalars['Int']['output'];
|
|
2008
1938
|
validator?: Maybe<GqlValidator>;
|
|
@@ -2053,6 +1983,87 @@ type HookData = {
|
|
|
2053
1983
|
removeLiquidityFeePercentage?: Maybe<Scalars['String']['output']>;
|
|
2054
1984
|
swapFeePercentage?: Maybe<Scalars['String']['output']>;
|
|
2055
1985
|
};
|
|
1986
|
+
type Mutation = {
|
|
1987
|
+
__typename?: 'Mutation';
|
|
1988
|
+
cacheAverageBlockTime: Scalars['String']['output'];
|
|
1989
|
+
polSyncAllRewardVaultsFromSubgraph: Array<Scalars['String']['output']>;
|
|
1990
|
+
polSyncAllValidatorsFromSubgraph: Array<Scalars['String']['output']>;
|
|
1991
|
+
poolDeletePool: Scalars['String']['output'];
|
|
1992
|
+
poolInitOnChainDataForAllPools: Scalars['String']['output'];
|
|
1993
|
+
poolInitializeSnapshotsForPool: Scalars['String']['output'];
|
|
1994
|
+
poolLoadOnChainDataForAllPools: Scalars['String']['output'];
|
|
1995
|
+
poolLoadOnChainDataForPoolsWithActiveUpdates: Scalars['String']['output'];
|
|
1996
|
+
poolLoadSnapshotsForAllPools: Scalars['String']['output'];
|
|
1997
|
+
poolLoadSnapshotsForPools: Scalars['String']['output'];
|
|
1998
|
+
poolReloadAllPoolAprs: Scalars['String']['output'];
|
|
1999
|
+
poolReloadAllTokenNestedPoolIds: Scalars['String']['output'];
|
|
2000
|
+
poolSyncAllPoolsFromSubgraph: Array<Scalars['String']['output']>;
|
|
2001
|
+
poolSyncLatestSnapshotsForAllPools: Scalars['String']['output'];
|
|
2002
|
+
poolSyncNewPoolsFromSubgraph: Array<Scalars['String']['output']>;
|
|
2003
|
+
poolSyncPool: Scalars['String']['output'];
|
|
2004
|
+
poolSyncPoolAllTokensRelationship: Scalars['String']['output'];
|
|
2005
|
+
poolSyncSanityPoolData: Scalars['String']['output'];
|
|
2006
|
+
poolSyncSwapsForLast48Hours: Scalars['String']['output'];
|
|
2007
|
+
poolSyncTotalShares: Scalars['String']['output'];
|
|
2008
|
+
poolUpdateAprs: Scalars['String']['output'];
|
|
2009
|
+
poolUpdateLifetimeValuesForAllPools: Scalars['String']['output'];
|
|
2010
|
+
poolUpdateLiquidity24hAgoForAllPools: Scalars['String']['output'];
|
|
2011
|
+
poolUpdateLiquidityValuesForAllPools: Scalars['String']['output'];
|
|
2012
|
+
poolUpdateVolumeAndFeeValuesForAllPools: Scalars['String']['output'];
|
|
2013
|
+
protocolCacheMetrics: Scalars['String']['output'];
|
|
2014
|
+
tokenDeleteTokenType: Scalars['String']['output'];
|
|
2015
|
+
tokenReloadAllTokenTypes: Scalars['String']['output'];
|
|
2016
|
+
tokenReloadErc4626Tokens: Array<GqlTokenMutationResult>;
|
|
2017
|
+
tokenReloadTokenPrices?: Maybe<Scalars['Boolean']['output']>;
|
|
2018
|
+
tokenSyncLatestFxPrices: Scalars['String']['output'];
|
|
2019
|
+
tokenSyncTokenDefinitions: Scalars['String']['output'];
|
|
2020
|
+
userInitWalletBalancesForAllPools: Scalars['String']['output'];
|
|
2021
|
+
userInitWalletBalancesForPool: Scalars['String']['output'];
|
|
2022
|
+
userSyncBalance: Scalars['String']['output'];
|
|
2023
|
+
userSyncBalanceAllPools: Scalars['String']['output'];
|
|
2024
|
+
userSyncChangedWalletBalancesForAllPools: Scalars['String']['output'];
|
|
2025
|
+
};
|
|
2026
|
+
type MutationPoolDeletePoolArgs = {
|
|
2027
|
+
poolId: Scalars['String']['input'];
|
|
2028
|
+
};
|
|
2029
|
+
type MutationPoolInitializeSnapshotsForPoolArgs = {
|
|
2030
|
+
poolId: Scalars['String']['input'];
|
|
2031
|
+
};
|
|
2032
|
+
type MutationPoolLoadSnapshotsForPoolsArgs = {
|
|
2033
|
+
poolIds: Array<Scalars['String']['input']>;
|
|
2034
|
+
reload?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2035
|
+
};
|
|
2036
|
+
type MutationPoolReloadAllPoolAprsArgs = {
|
|
2037
|
+
chain: GqlChain;
|
|
2038
|
+
};
|
|
2039
|
+
type MutationPoolSyncLatestSnapshotsForAllPoolsArgs = {
|
|
2040
|
+
chain: GqlChain;
|
|
2041
|
+
};
|
|
2042
|
+
type MutationPoolSyncPoolArgs = {
|
|
2043
|
+
poolId: Scalars['String']['input'];
|
|
2044
|
+
};
|
|
2045
|
+
type MutationPoolUpdateAprsArgs = {
|
|
2046
|
+
chain: GqlChain;
|
|
2047
|
+
};
|
|
2048
|
+
type MutationTokenDeleteTokenTypeArgs = {
|
|
2049
|
+
tokenAddress: Scalars['String']['input'];
|
|
2050
|
+
type: GqlTokenType;
|
|
2051
|
+
};
|
|
2052
|
+
type MutationTokenReloadErc4626TokensArgs = {
|
|
2053
|
+
chains: Array<GqlChain>;
|
|
2054
|
+
};
|
|
2055
|
+
type MutationTokenReloadTokenPricesArgs = {
|
|
2056
|
+
chains: Array<GqlChain>;
|
|
2057
|
+
};
|
|
2058
|
+
type MutationTokenSyncLatestFxPricesArgs = {
|
|
2059
|
+
chain: GqlChain;
|
|
2060
|
+
};
|
|
2061
|
+
type MutationUserInitWalletBalancesForPoolArgs = {
|
|
2062
|
+
poolId: Scalars['String']['input'];
|
|
2063
|
+
};
|
|
2064
|
+
type MutationUserSyncBalanceArgs = {
|
|
2065
|
+
poolId: Scalars['String']['input'];
|
|
2066
|
+
};
|
|
2056
2067
|
type PaginatedRewardVaultIncentivesResponse = {
|
|
2057
2068
|
__typename?: 'PaginatedRewardVaultIncentivesResponse';
|
|
2058
2069
|
incentives: Array<GqlRewardVaultIncentive>;
|
|
@@ -2087,9 +2098,13 @@ type Query = {
|
|
|
2087
2098
|
__typename?: 'Query';
|
|
2088
2099
|
bendVault?: Maybe<BendVaultResponse>;
|
|
2089
2100
|
bendVaults: Array<BendVaultResponse>;
|
|
2101
|
+
/** @deprecated This query will be removed at the end of April 2026. */
|
|
2090
2102
|
blocksGetAverageBlockTime: Scalars['Float']['output'];
|
|
2103
|
+
/** @deprecated This query will be removed at the end of April 2026. */
|
|
2091
2104
|
blocksGetBlocksPerDay: Scalars['Float']['output'];
|
|
2105
|
+
/** @deprecated This query will be removed at the end of April 2026. */
|
|
2092
2106
|
blocksGetBlocksPerSecond: Scalars['Float']['output'];
|
|
2107
|
+
/** @deprecated This query will be removed at the end of April 2026. */
|
|
2093
2108
|
blocksGetBlocksPerYear: Scalars['Float']['output'];
|
|
2094
2109
|
/** Returns list of hooks. */
|
|
2095
2110
|
hooks?: Maybe<Array<Hook>>;
|
|
@@ -2115,8 +2130,6 @@ type Query = {
|
|
|
2115
2130
|
polGetVaultDurations: GqlVaultDurations;
|
|
2116
2131
|
/** Getting swap, add and remove events with paging */
|
|
2117
2132
|
poolEvents: Array<GqlPoolEvent>;
|
|
2118
|
-
/** Returns all pools for a given filter, specific for aggregators */
|
|
2119
|
-
poolGetAggregatorPools: Array<GqlPoolAggregator>;
|
|
2120
2133
|
/** Getting swap, add and remove events with range */
|
|
2121
2134
|
poolGetEvents: Array<GqlPoolEvent>;
|
|
2122
2135
|
/** Returns one pool. If a user address is provided, the user balances for the given pool will also be returned. */
|
|
@@ -2259,13 +2272,6 @@ type QueryPoolEventsArgs = {
|
|
|
2259
2272
|
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2260
2273
|
where?: InputMaybe<GqlPoolEventsFilter>;
|
|
2261
2274
|
};
|
|
2262
|
-
type QueryPoolGetAggregatorPoolsArgs = {
|
|
2263
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
2264
|
-
orderBy?: InputMaybe<GqlPoolOrderBy>;
|
|
2265
|
-
orderDirection?: InputMaybe<GqlPoolOrderDirection>;
|
|
2266
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2267
|
-
where?: InputMaybe<GqlPoolFilter>;
|
|
2268
|
-
};
|
|
2269
2275
|
type QueryPoolGetEventsArgs = {
|
|
2270
2276
|
chain: GqlChain;
|
|
2271
2277
|
poolId: Scalars['String']['input'];
|
|
@@ -3668,4 +3674,4 @@ interface PossibleTypesResultData {
|
|
|
3668
3674
|
}
|
|
3669
3675
|
declare const result: PossibleTypesResultData;
|
|
3670
3676
|
|
|
3671
|
-
export { type BendVaultDynamicData, type BendVaultResponse, DynamicData, type DynamicDataFragment, type Exact, GetGlobalLiquidityAndSwapVolume, type GetGlobalLiquidityAndSwapVolumeQuery, type GetGlobalLiquidityAndSwapVolumeQueryVariables, GetPool, GetPoolEvents, type GetPoolEventsQuery, type GetPoolEventsQueryVariables, GetPoolHistoricalData, type GetPoolHistoricalDataQuery, type GetPoolHistoricalDataQueryVariables, type GetPoolQuery, type GetPoolQueryVariables, GetPools, type GetPoolsQuery, type GetPoolsQueryVariables, GetTokenCurrentPrices, type GetTokenCurrentPricesQuery, type GetTokenCurrentPricesQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, type GqlIncentive, type GqlLatestSyncedBlocks, type GqlNestedPool, type GqlPagination, GqlPoolAddRemoveEventV3, type GqlPoolAddRemoveEventV3Fragment, type
|
|
3677
|
+
export { type BendVaultDynamicData, type BendVaultResponse, DynamicData, type DynamicDataFragment, type Exact, GetGlobalLiquidityAndSwapVolume, type GetGlobalLiquidityAndSwapVolumeQuery, type GetGlobalLiquidityAndSwapVolumeQueryVariables, GetPool, GetPoolEvents, type GetPoolEventsQuery, type GetPoolEventsQueryVariables, GetPoolHistoricalData, type GetPoolHistoricalDataQuery, type GetPoolHistoricalDataQueryVariables, type GetPoolQuery, type GetPoolQueryVariables, GetPools, type GetPoolsQuery, type GetPoolsQueryVariables, GetTokenCurrentPrices, type GetTokenCurrentPricesQuery, type GetTokenCurrentPricesQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, type GqlIncentive, type GqlLatestSyncedBlocks, type GqlNestedPool, type GqlPagination, GqlPoolAddRemoveEventV3, type GqlPoolAddRemoveEventV3Fragment, 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 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, GqlPoolSwapEventCowAmm, type GqlPoolSwapEventCowAmmFragment, GqlPoolSwapEventV3, type GqlPoolSwapEventV3Fragment, 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 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 GqlValidatorInList, type GqlValidatorIncentive, 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, MinimalPool, type MinimalPoolFragment, MinimalPoolInList, type MinimalPoolInListFragment, 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, PoolEvent, type PoolEventFragment, PoolHistoricalData, type PoolHistoricalDataFragment, type PossibleTypesResultData, type Query, type QueryBendVaultArgs, type QueryHooksArgs, type QueryPolGetActiveIncentivesArgs, type QueryPolGetGlobalInfoArgs, type QueryPolGetRewardVaultArgs, type QueryPolGetRewardVaultSnapshotsArgs, type QueryPolGetRewardVaultsArgs, type QueryPolGetSWberaVaultMetadataArgs, type QueryPolGetSWberaVaultSnapshotsArgs, type QueryPolGetTopVaultDepositsArgs, type QueryPolGetUserVaultDepositsArgs, type QueryPolGetValidatorArgs, type QueryPolGetValidatorBlockUptimesArgs, type QueryPolGetValidatorBoostsArgs, type QueryPolGetValidatorsArgs, type QueryPoolEventsArgs, type QueryPoolGetEventsArgs, type QueryPoolGetPoolArgs, type QueryPoolGetPoolsArgs, type QueryPoolGetPoolsCountArgs, type QueryPoolGetSnapshotsArgs, 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 QueryTokenGetTokenDynamicDataArgs, type QueryTokenGetTokensArgs, type QueryTokenGetTokensDynamicDataArgs, type QueryUserGetPoolBalancesArgs, type QueryUserGetPoolJoinExitsArgs, type QueryUserGetSwapsArgs, RewardVault, type RewardVaultFragment, type Scalars, type Token, UserBalance, type UserBalanceFragment, result as default };
|