@berachain/graphql 0.4.9-1 → 0.4.10-beta.0
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 +1 -1
- package/dist/dex/api.codegen.d.cts +7 -82
- package/dist/dex/api.codegen.d.ts +7 -82
- package/dist/dex/api.codegen.mjs +2 -2
- package/dist/honey/honey.codegen.cjs +17 -37
- package/dist/honey/honey.codegen.d.cts +16 -61
- package/dist/honey/honey.codegen.d.ts +16 -61
- package/dist/honey/honey.codegen.mjs +17 -37
- package/dist/pol/api.codegen.cjs +1 -1
- package/dist/pol/api.codegen.d.cts +7 -82
- package/dist/pol/api.codegen.d.ts +7 -82
- package/dist/pol/api.codegen.mjs +2 -2
- 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:()=>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:()=>
|
|
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
|
|
@@ -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>;
|
|
@@ -2168,9 +2098,13 @@ type Query = {
|
|
|
2168
2098
|
__typename?: 'Query';
|
|
2169
2099
|
bendVault?: Maybe<BendVaultResponse>;
|
|
2170
2100
|
bendVaults: Array<BendVaultResponse>;
|
|
2101
|
+
/** @deprecated This query will be removed at the end of April 2026. */
|
|
2171
2102
|
blocksGetAverageBlockTime: Scalars['Float']['output'];
|
|
2103
|
+
/** @deprecated This query will be removed at the end of April 2026. */
|
|
2172
2104
|
blocksGetBlocksPerDay: Scalars['Float']['output'];
|
|
2105
|
+
/** @deprecated This query will be removed at the end of April 2026. */
|
|
2173
2106
|
blocksGetBlocksPerSecond: Scalars['Float']['output'];
|
|
2107
|
+
/** @deprecated This query will be removed at the end of April 2026. */
|
|
2174
2108
|
blocksGetBlocksPerYear: Scalars['Float']['output'];
|
|
2175
2109
|
/** Returns list of hooks. */
|
|
2176
2110
|
hooks?: Maybe<Array<Hook>>;
|
|
@@ -2196,8 +2130,6 @@ type Query = {
|
|
|
2196
2130
|
polGetVaultDurations: GqlVaultDurations;
|
|
2197
2131
|
/** Getting swap, add and remove events with paging */
|
|
2198
2132
|
poolEvents: Array<GqlPoolEvent>;
|
|
2199
|
-
/** Returns all pools for a given filter, specific for aggregators */
|
|
2200
|
-
poolGetAggregatorPools: Array<GqlPoolAggregator>;
|
|
2201
2133
|
/** Getting swap, add and remove events with range */
|
|
2202
2134
|
poolGetEvents: Array<GqlPoolEvent>;
|
|
2203
2135
|
/** Returns one pool. If a user address is provided, the user balances for the given pool will also be returned. */
|
|
@@ -2340,13 +2272,6 @@ type QueryPoolEventsArgs = {
|
|
|
2340
2272
|
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2341
2273
|
where?: InputMaybe<GqlPoolEventsFilter>;
|
|
2342
2274
|
};
|
|
2343
|
-
type QueryPoolGetAggregatorPoolsArgs = {
|
|
2344
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
2345
|
-
orderBy?: InputMaybe<GqlPoolOrderBy>;
|
|
2346
|
-
orderDirection?: InputMaybe<GqlPoolOrderDirection>;
|
|
2347
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2348
|
-
where?: InputMaybe<GqlPoolFilter>;
|
|
2349
|
-
};
|
|
2350
2275
|
type QueryPoolGetEventsArgs = {
|
|
2351
2276
|
chain: GqlChain;
|
|
2352
2277
|
poolId: Scalars['String']['input'];
|
|
@@ -3749,4 +3674,4 @@ interface PossibleTypesResultData {
|
|
|
3749
3674
|
}
|
|
3750
3675
|
declare const result: PossibleTypesResultData;
|
|
3751
3676
|
|
|
3752
|
-
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>;
|
|
@@ -2168,9 +2098,13 @@ type Query = {
|
|
|
2168
2098
|
__typename?: 'Query';
|
|
2169
2099
|
bendVault?: Maybe<BendVaultResponse>;
|
|
2170
2100
|
bendVaults: Array<BendVaultResponse>;
|
|
2101
|
+
/** @deprecated This query will be removed at the end of April 2026. */
|
|
2171
2102
|
blocksGetAverageBlockTime: Scalars['Float']['output'];
|
|
2103
|
+
/** @deprecated This query will be removed at the end of April 2026. */
|
|
2172
2104
|
blocksGetBlocksPerDay: Scalars['Float']['output'];
|
|
2105
|
+
/** @deprecated This query will be removed at the end of April 2026. */
|
|
2173
2106
|
blocksGetBlocksPerSecond: Scalars['Float']['output'];
|
|
2107
|
+
/** @deprecated This query will be removed at the end of April 2026. */
|
|
2174
2108
|
blocksGetBlocksPerYear: Scalars['Float']['output'];
|
|
2175
2109
|
/** Returns list of hooks. */
|
|
2176
2110
|
hooks?: Maybe<Array<Hook>>;
|
|
@@ -2196,8 +2130,6 @@ type Query = {
|
|
|
2196
2130
|
polGetVaultDurations: GqlVaultDurations;
|
|
2197
2131
|
/** Getting swap, add and remove events with paging */
|
|
2198
2132
|
poolEvents: Array<GqlPoolEvent>;
|
|
2199
|
-
/** Returns all pools for a given filter, specific for aggregators */
|
|
2200
|
-
poolGetAggregatorPools: Array<GqlPoolAggregator>;
|
|
2201
2133
|
/** Getting swap, add and remove events with range */
|
|
2202
2134
|
poolGetEvents: Array<GqlPoolEvent>;
|
|
2203
2135
|
/** Returns one pool. If a user address is provided, the user balances for the given pool will also be returned. */
|
|
@@ -2340,13 +2272,6 @@ type QueryPoolEventsArgs = {
|
|
|
2340
2272
|
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2341
2273
|
where?: InputMaybe<GqlPoolEventsFilter>;
|
|
2342
2274
|
};
|
|
2343
|
-
type QueryPoolGetAggregatorPoolsArgs = {
|
|
2344
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
2345
|
-
orderBy?: InputMaybe<GqlPoolOrderBy>;
|
|
2346
|
-
orderDirection?: InputMaybe<GqlPoolOrderDirection>;
|
|
2347
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2348
|
-
where?: InputMaybe<GqlPoolFilter>;
|
|
2349
|
-
};
|
|
2350
2275
|
type QueryPoolGetEventsArgs = {
|
|
2351
2276
|
chain: GqlChain;
|
|
2352
2277
|
poolId: Scalars['String']['input'];
|
|
@@ -3749,4 +3674,4 @@ interface PossibleTypesResultData {
|
|
|
3749
3674
|
}
|
|
3750
3675
|
declare const result: PossibleTypesResultData;
|
|
3751
3676
|
|
|
3752
|
-
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 };
|
package/dist/dex/api.codegen.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{gql as r}from"@apollo/client";var S=(t=>(t.Bepolia="BEPOLIA",t.Berachain="BERACHAIN",t))(S||{}),m=(s=>(s.Aura="AURA",s.IbYield="IB_YIELD",s.Locking="LOCKING",s.MabeetsEmissions="MABEETS_EMISSIONS",s.Merkl="MERKL",s.Nested="NESTED",s.Staking="STAKING",s.StakingBoost="STAKING_BOOST",s.Surplus="SURPLUS",s.SwapFee="SWAP_FEE",s.VebalEmissions="VEBAL_EMISSIONS",s.Voting="VOTING",s))(m||{}),d=(e=>(e.Add="ADD",e.Remove="REMOVE",e.Swap="SWAP",e))(d||{}),g=(e=>(e.NinetyDays="NINETY_DAYS",e.SevenDays="SEVEN_DAYS",e.ThirtyDays="THIRTY_DAYS",e))(g||{}),G=(i=>(i.BlackListed="BLACK_LISTED",i.Featured="FEATURED",i.Incentivized="INCENTIVIZED",i.Lrt="LRT",i.Points="POINTS",i.PointsEigenlayer="POINTS_EIGENLAYER",i.PointsGyro="POINTS_GYRO",i.PointsKelp="POINTS_KELP",i.PointsRenzo="POINTS_RENZO",i.PointsSwell="POINTS_SWELL",i.Superfest="SUPERFEST",i))(G||{}),b=(t=>(t.Exit="Exit",t.Join="Join",t))(b||{}),q=(e=>(e.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",e.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",e.NoNesting="NO_NESTING",e))(q||{}),A=(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))(A||{}),P=(t=>(t.Asc="asc",t.Desc="desc",t))(P||{}),I=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",a.OneYear="ONE_YEAR",a.ThirtyDays="THIRTY_DAYS",a))(I||{}),_=(l=>(l.ComposableStable="COMPOSABLE_STABLE",l.CowAmm="COW_AMM",l.Element="ELEMENT",l.Fx="FX",l.Gyro="GYRO",l.Gyro3="GYRO3",l.Gyroe="GYROE",l.Investment="INVESTMENT",l.LiquidityBootstrapping="LIQUIDITY_BOOTSTRAPPING",l.MetaStable="META_STABLE",l.PhantomStable="PHANTOM_STABLE",l.Stable="STABLE",l.Unknown="UNKNOWN",l.Weighted="WEIGHTED",l))(_||{}),h=(e=>(e.AmountRemaining="amountRemaining",e.AmountRemainingUsd="amountRemainingUsd",e.IncentiveRate="incentiveRate",e))(h||{}),D=(t=>(t.Asc="asc",t.Desc="desc",t))(D||{}),T=(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))(T||{}),B=(t=>(t.Asc="asc",t.Desc="desc",t))(B||{}),k=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.SixtyDays="SIXTY_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(k||{}),
|
|
1
|
+
import{gql as r}from"@apollo/client";var S=(t=>(t.Bepolia="BEPOLIA",t.Berachain="BERACHAIN",t))(S||{}),m=(s=>(s.Aura="AURA",s.IbYield="IB_YIELD",s.Locking="LOCKING",s.MabeetsEmissions="MABEETS_EMISSIONS",s.Merkl="MERKL",s.Nested="NESTED",s.Staking="STAKING",s.StakingBoost="STAKING_BOOST",s.Surplus="SURPLUS",s.SwapFee="SWAP_FEE",s.VebalEmissions="VEBAL_EMISSIONS",s.Voting="VOTING",s))(m||{}),d=(e=>(e.Add="ADD",e.Remove="REMOVE",e.Swap="SWAP",e))(d||{}),g=(e=>(e.NinetyDays="NINETY_DAYS",e.SevenDays="SEVEN_DAYS",e.ThirtyDays="THIRTY_DAYS",e))(g||{}),G=(i=>(i.BlackListed="BLACK_LISTED",i.Featured="FEATURED",i.Incentivized="INCENTIVIZED",i.Lrt="LRT",i.Points="POINTS",i.PointsEigenlayer="POINTS_EIGENLAYER",i.PointsGyro="POINTS_GYRO",i.PointsKelp="POINTS_KELP",i.PointsRenzo="POINTS_RENZO",i.PointsSwell="POINTS_SWELL",i.Superfest="SUPERFEST",i))(G||{}),b=(t=>(t.Exit="Exit",t.Join="Join",t))(b||{}),q=(e=>(e.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",e.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",e.NoNesting="NO_NESTING",e))(q||{}),A=(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))(A||{}),P=(t=>(t.Asc="asc",t.Desc="desc",t))(P||{}),I=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",a.OneYear="ONE_YEAR",a.ThirtyDays="THIRTY_DAYS",a))(I||{}),_=(l=>(l.ComposableStable="COMPOSABLE_STABLE",l.CowAmm="COW_AMM",l.Element="ELEMENT",l.Fx="FX",l.Gyro="GYRO",l.Gyro3="GYRO3",l.Gyroe="GYROE",l.Investment="INVESTMENT",l.LiquidityBootstrapping="LIQUIDITY_BOOTSTRAPPING",l.MetaStable="META_STABLE",l.PhantomStable="PHANTOM_STABLE",l.Stable="STABLE",l.Unknown="UNKNOWN",l.Weighted="WEIGHTED",l))(_||{}),h=(e=>(e.AmountRemaining="amountRemaining",e.AmountRemainingUsd="amountRemainingUsd",e.IncentiveRate="incentiveRate",e))(h||{}),D=(t=>(t.Asc="asc",t.Desc="desc",t))(D||{}),T=(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))(T||{}),B=(t=>(t.Asc="asc",t.Desc="desc",t))(B||{}),k=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.SixtyDays="SIXTY_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(k||{}),v=(t=>(t.Day="DAY",t.Hour="HOUR",t))(v||{}),x=(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(x||{}),M=(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(M||{}),w=(a=>(a.NinetyDay="NINETY_DAY",a.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",a.OneYear="ONE_YEAR",a.SevenDay="SEVEN_DAY",a.ThirtyDay="THIRTY_DAY",a))(w||{}),V=(e=>(e.Bpt="BPT",e.PhantomBpt="PHANTOM_BPT",e.WhiteListed="WHITE_LISTED",e))(V||{}),C=(y=>(y.Amount="amount",y))(C||{}),R=(t=>(t.Asc="asc",t.Desc="desc",t))(R||{}),E=(u=>(u.Inactive="INACTIVE",u.Offline="OFFLINE",u.Proposed="PROPOSED",u.Signed="SIGNED",u))(E||{}),F=(a=>(a.ActiveBoostAmount="activeBoostAmount",a.LatestBlock="latestBlock",a.LatestBlockTime="latestBlockTime",a.QueuedBoostAmount="queuedBoostAmount",a.QueuedDropBoostAmount="queuedDropBoostAmount",a))(F||{}),f=(t=>(t.Asc="asc",t.Desc="desc",t))(f||{}),U=(n=>(n.ActiveBoostAmount="activeBoostAmount",n.AllTimeDistributedBgtAmount="allTimeDistributedBGTAmount",n.AllTimeEarnedBgtAmount="allTimeEarnedBGTAmount",n.Apy="apy",n.BgtCapturePercentage="bgtCapturePercentage",n.BoostApr="boostApr",n.CommissionOnIncentives="commissionOnIncentives",n.LastDayDistributedBgtAmount="lastDayDistributedBGTAmount",n.LastDayEarnedBgtAmount="lastDayEarnedBGTAmount",n.QueuedBoostAmount="queuedBoostAmount",n.QueuedDropBoostAmount="queuedDropBoostAmount",n.RewardRate="rewardRate",n.StakedBeraAmount="stakedBeraAmount",n.UsersActiveBoostCount="usersActiveBoostCount",n.UsersQueuedBoostCount="usersQueuedBoostCount",n))(U||{}),$=(t=>(t.Asc="asc",t.Desc="desc",t))($||{}),N=(u=>(u.NinetyDays="NINETY_DAYS",u.SevenDays="SEVEN_DAYS",u.SixtyDays="SIXTY_DAYS",u.ThirtyDays="THIRTY_DAYS",u))(N||{}),p=r`
|
|
2
2
|
fragment DynamicData on GqlPoolDynamicData {
|
|
3
3
|
totalShares
|
|
4
4
|
fees24h
|
|
@@ -196,4 +196,4 @@ ${K}`,j=r`
|
|
|
196
196
|
totalLiquidity
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
|
-
`,J={possibleTypes:{GqlIncentive:["GqlRewardVaultIncentive","GqlValidatorIncentive"],GqlPoolAprValue:["GqlPoolAprRange","GqlPoolAprTotal"],GqlPoolBase:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"],GqlPoolEvent:["GqlPoolAddRemoveEventV3","GqlPoolSwapEventCowAmm","GqlPoolSwapEventV3"],GqlPoolNestedUnion:["GqlPoolComposableStableNested"],GqlPoolTokenBase:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolTokenComposableStableNestedUnion:["GqlPoolToken"],GqlPoolTokenUnion:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolUnion:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"]}},rt=J;export{p as DynamicData,ot as GetGlobalLiquidityAndSwapVolume,Z as GetPool,at as GetPoolEvents,tt as GetPoolHistoricalData,j as GetPools,et as GetTokenCurrentPrices,S as GqlChain,K as GqlPoolAddRemoveEventV3,m as GqlPoolAprItemType,d as GqlPoolEventType,g as GqlPoolEventsDataRange,G as GqlPoolFilterCategory,b as GqlPoolJoinExitType,q as GqlPoolNestingType,A as GqlPoolOrderBy,P as GqlPoolOrderDirection,I as GqlPoolSnapshotDataRange,Q as GqlPoolSwapEventCowAmm,Y as GqlPoolSwapEventV3,_ as GqlPoolType,h as GqlRewardVaultIncentiveOrderBy,D as GqlRewardVaultIncentiveOrderDirection,T as GqlRewardVaultOrderBy,B as GqlRewardVaultOrderDirection,k as GqlRewardVaultSnapshotDataRange,
|
|
199
|
+
`,J={possibleTypes:{GqlIncentive:["GqlRewardVaultIncentive","GqlValidatorIncentive"],GqlPoolAprValue:["GqlPoolAprRange","GqlPoolAprTotal"],GqlPoolBase:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"],GqlPoolEvent:["GqlPoolAddRemoveEventV3","GqlPoolSwapEventCowAmm","GqlPoolSwapEventV3"],GqlPoolNestedUnion:["GqlPoolComposableStableNested"],GqlPoolTokenBase:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolTokenComposableStableNestedUnion:["GqlPoolToken"],GqlPoolTokenUnion:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolUnion:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"]}},rt=J;export{p as DynamicData,ot as GetGlobalLiquidityAndSwapVolume,Z as GetPool,at as GetPoolEvents,tt as GetPoolHistoricalData,j as GetPools,et as GetTokenCurrentPrices,S as GqlChain,K as GqlPoolAddRemoveEventV3,m as GqlPoolAprItemType,d as GqlPoolEventType,g as GqlPoolEventsDataRange,G as GqlPoolFilterCategory,b as GqlPoolJoinExitType,q as GqlPoolNestingType,A as GqlPoolOrderBy,P as GqlPoolOrderDirection,I as GqlPoolSnapshotDataRange,Q as GqlPoolSwapEventCowAmm,Y as GqlPoolSwapEventV3,_ as GqlPoolType,h as GqlRewardVaultIncentiveOrderBy,D as GqlRewardVaultIncentiveOrderDirection,T as GqlRewardVaultOrderBy,B as GqlRewardVaultOrderDirection,k as GqlRewardVaultSnapshotDataRange,v as GqlRewardVaultSnapshotResolution,x as GqlSWberaVaultMetadataResolution,M as GqlSorSwapType,w as GqlTokenChartDataRange,V as GqlTokenType,C as GqlUserVaultDepositOrderBy,R as GqlUserVaultDepositOrderDirection,E as GqlValidatorBlockUptimeStatus,F as GqlValidatorBoostOrderBy,f as GqlValidatorBoostOrderDirection,U as GqlValidatorOrderBy,$ as GqlValidatorOrderDirection,N as GqlVaultSnapshotDataRange,W as MinimalPool,H as MinimalPoolInList,z as PoolEvent,O as PoolHistoricalData,c as RewardVault,L as UserBalance,rt as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var l=Object.defineProperty;var
|
|
1
|
+
"use strict";var l=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var H=(i,e)=>{for(var t in e)l(i,t,{get:e[t],enumerable:!0})},k=(i,e,t,u)=>{if(e&&typeof e=="object"||typeof e=="function")for(let y of D(e))!d.call(i,y)&&y!==t&&l(i,y,{get:()=>e[y],enumerable:!(u=A(e,y))||u.enumerable});return i};var f=i=>k(l({},"__esModule",{value:!0}),i);var V={};H(V,{Aggregation_Interval:()=>c,ChainTransaction_OrderBy:()=>I,GetHoneyTxn:()=>F,GetSnapshots:()=>C,HoneyCollateral_OrderBy:()=>b,HoneySnapshotData:()=>B,HoneySnapshot_OrderBy:()=>_,HoneySupplyDayData_OrderBy:()=>S,HoneyTxnData:()=>x,HoneyTxnTimeseries_OrderBy:()=>M,HoneyTxn_OrderBy:()=>m,OrderDirection:()=>g,TxnType:()=>h,_SubgraphErrorPolicy_:()=>T,default:()=>E});module.exports=f(V);var o=require("@apollo/client"),c=(t=>(t.Day="day",t.Hour="hour",t))(c||{}),I=(s=>(s.HoneyTxn="honeyTxn",s.Id="id",s.IsBasketMode="isBasketMode",s.TxHash="txHash",s.Type="type",s))(I||{}),b=(n=>(n.Collateral="collateral",n.CollateralAmount="collateralAmount",n.HoneyTxn="honeyTxn",n.HoneyTxnFrom="honeyTxn__from",n.HoneyTxnHoneyAmount="honeyTxn__honeyAmount",n.HoneyTxnId="honeyTxn__id",n.HoneyTxnIsBasketMode="honeyTxn__isBasketMode",n.HoneyTxnTimestamp="honeyTxn__timestamp",n.HoneyTxnTo="honeyTxn__to",n.HoneyTxnType="honeyTxn__type",n.Id="id",n))(b||{}),_=(r=>(r.AllTimeVolume="allTimeVolume",r.Id="id",r.MintVolume="mintVolume",r.RedeemVolume="redeemVolume",r.Timestamp="timestamp",r.TotalSupply="totalSupply",r.TotalVolume="totalVolume",r))(_||{}),S=(u=>(u.Amount="amount",u.Id="id",u.Timestamp="timestamp",u))(S||{}),M=(p=>(p.BlockNumber="blockNumber",p.From="from",p.HoneyAmount="honeyAmount",p.Id="id",p.Timestamp="timestamp",p.To="to",p.TotalSupply="totalSupply",p.TxHash="txHash",p.TxnType="txnType",p))(M||{}),m=(a=>(a.ChainTransaction="chainTransaction",a.ChainTransactionId="chainTransaction__id",a.ChainTransactionIsBasketMode="chainTransaction__isBasketMode",a.ChainTransactionTxHash="chainTransaction__txHash",a.ChainTransactionType="chainTransaction__type",a.Collateral="collateral",a.From="from",a.HoneyAmount="honeyAmount",a.Id="id",a.IsBasketMode="isBasketMode",a.Timestamp="timestamp",a.To="to",a.Type="type",a))(m||{}),g=(t=>(t.Asc="asc",t.Desc="desc",t))(g||{}),h=(t=>(t.Mint="MINT",t.Redeem="REDEEM",t))(h||{}),T=(t=>(t.Allow="allow",t.Deny="deny",t))(T||{}),x=o.gql`
|
|
2
2
|
fragment HoneyTxnData on HoneyTxn {
|
|
3
3
|
id
|
|
4
4
|
timestamp
|
|
@@ -16,8 +16,18 @@
|
|
|
16
16
|
id
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
`,
|
|
20
|
-
|
|
19
|
+
`,B=o.gql`
|
|
20
|
+
fragment HoneySnapshotData on HoneySnapshot {
|
|
21
|
+
id
|
|
22
|
+
allTimeVolume
|
|
23
|
+
mintVolume
|
|
24
|
+
redeemVolume
|
|
25
|
+
timestamp
|
|
26
|
+
totalSupply
|
|
27
|
+
totalVolume
|
|
28
|
+
}
|
|
29
|
+
`,F=o.gql`
|
|
30
|
+
query GetHoneyTxn($page: Int!, $limit: Int!, $type: TxnType) {
|
|
21
31
|
honeyTxns(
|
|
22
32
|
skip: $page
|
|
23
33
|
first: $limit
|
|
@@ -28,40 +38,10 @@
|
|
|
28
38
|
...HoneyTxnData
|
|
29
39
|
}
|
|
30
40
|
}
|
|
31
|
-
${
|
|
32
|
-
query
|
|
33
|
-
honeyTxns(skip: $page, first: $limit, orderBy: timestamp, orderDirection: desc) {
|
|
34
|
-
...HoneyTxnData
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
${c}`,C=u.gql`
|
|
38
|
-
query GetChartData($interval: Aggregation_interval!, $first: Int!) {
|
|
41
|
+
${x}`,C=o.gql`
|
|
42
|
+
query GetSnapshots($interval: Aggregation_interval!, $first: Int = 24) {
|
|
39
43
|
honeySnapshots(interval: $interval, first: $first) {
|
|
40
|
-
|
|
41
|
-
allTimeVolume
|
|
42
|
-
mintVolume
|
|
43
|
-
redeemVolume
|
|
44
|
-
timestamp
|
|
45
|
-
totalVolume
|
|
46
|
-
totalSupply
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
`,$=u.gql`
|
|
50
|
-
query GetGlobalData {
|
|
51
|
-
honeySnapshots(interval: hour, first: 24) {
|
|
52
|
-
id
|
|
53
|
-
allTimeVolume
|
|
54
|
-
totalVolume
|
|
55
|
-
timestamp
|
|
56
|
-
totalSupply
|
|
57
|
-
mintVolume
|
|
58
|
-
redeemVolume
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
`,V=u.gql`
|
|
62
|
-
query GetFirstHoneyTxnDate {
|
|
63
|
-
honeyTxns(first: 1) {
|
|
64
|
-
timestamp
|
|
44
|
+
...HoneySnapshotData
|
|
65
45
|
}
|
|
66
46
|
}
|
|
67
|
-
`,
|
|
47
|
+
${B}`,w={possibleTypes:{}},E=w;0&&(module.exports={Aggregation_Interval,ChainTransaction_OrderBy,GetHoneyTxn,GetSnapshots,HoneyCollateral_OrderBy,HoneySnapshotData,HoneySnapshot_OrderBy,HoneySupplyDayData_OrderBy,HoneyTxnData,HoneyTxnTimeseries_OrderBy,HoneyTxn_OrderBy,OrderDirection,TxnType,_SubgraphErrorPolicy_});
|
|
@@ -668,37 +668,10 @@ type HoneyTxnDataFragment = {
|
|
|
668
668
|
id: string;
|
|
669
669
|
}>;
|
|
670
670
|
};
|
|
671
|
-
type GetHoneyTxnByTypeQueryVariables = Exact<{
|
|
672
|
-
page: Scalars['Int']['input'];
|
|
673
|
-
limit: Scalars['Int']['input'];
|
|
674
|
-
type: TxnType;
|
|
675
|
-
}>;
|
|
676
|
-
type GetHoneyTxnByTypeQuery = {
|
|
677
|
-
__typename?: 'Query';
|
|
678
|
-
honeyTxns: Array<{
|
|
679
|
-
__typename?: 'HoneyTxn';
|
|
680
|
-
id: string;
|
|
681
|
-
timestamp: string;
|
|
682
|
-
from: `0x${string}`;
|
|
683
|
-
to: `0x${string}`;
|
|
684
|
-
type?: TxnType | null;
|
|
685
|
-
honeyAmount: string;
|
|
686
|
-
chainTransaction: {
|
|
687
|
-
__typename?: 'ChainTransaction';
|
|
688
|
-
id: `0x${string}`;
|
|
689
|
-
txHash: `0x${string}`;
|
|
690
|
-
};
|
|
691
|
-
collateral: Array<{
|
|
692
|
-
__typename?: 'HoneyCollateral';
|
|
693
|
-
collateral: `0x${string}`;
|
|
694
|
-
collateralAmount: string;
|
|
695
|
-
id: string;
|
|
696
|
-
}>;
|
|
697
|
-
}>;
|
|
698
|
-
};
|
|
699
671
|
type GetHoneyTxnQueryVariables = Exact<{
|
|
700
672
|
page: Scalars['Int']['input'];
|
|
701
673
|
limit: Scalars['Int']['input'];
|
|
674
|
+
type?: InputMaybe<TxnType>;
|
|
702
675
|
}>;
|
|
703
676
|
type GetHoneyTxnQuery = {
|
|
704
677
|
__typename?: 'Query';
|
|
@@ -723,11 +696,11 @@ type GetHoneyTxnQuery = {
|
|
|
723
696
|
}>;
|
|
724
697
|
}>;
|
|
725
698
|
};
|
|
726
|
-
type
|
|
699
|
+
type GetSnapshotsQueryVariables = Exact<{
|
|
727
700
|
interval: Aggregation_Interval;
|
|
728
|
-
first
|
|
701
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
729
702
|
}>;
|
|
730
|
-
type
|
|
703
|
+
type GetSnapshotsQuery = {
|
|
731
704
|
__typename?: 'Query';
|
|
732
705
|
honeySnapshots: Array<{
|
|
733
706
|
__typename?: 'HoneySnapshot';
|
|
@@ -736,42 +709,24 @@ type GetChartDataQuery = {
|
|
|
736
709
|
mintVolume: string;
|
|
737
710
|
redeemVolume: string;
|
|
738
711
|
timestamp: string;
|
|
739
|
-
totalVolume: string;
|
|
740
712
|
totalSupply: string;
|
|
741
|
-
}>;
|
|
742
|
-
};
|
|
743
|
-
type GetGlobalDataQueryVariables = Exact<{
|
|
744
|
-
[key: string]: never;
|
|
745
|
-
}>;
|
|
746
|
-
type GetGlobalDataQuery = {
|
|
747
|
-
__typename?: 'Query';
|
|
748
|
-
honeySnapshots: Array<{
|
|
749
|
-
__typename?: 'HoneySnapshot';
|
|
750
|
-
id: string;
|
|
751
|
-
allTimeVolume: string;
|
|
752
713
|
totalVolume: string;
|
|
753
|
-
timestamp: string;
|
|
754
|
-
totalSupply: string;
|
|
755
|
-
mintVolume: string;
|
|
756
|
-
redeemVolume: string;
|
|
757
714
|
}>;
|
|
758
715
|
};
|
|
759
|
-
type
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
716
|
+
type HoneySnapshotDataFragment = {
|
|
717
|
+
__typename?: 'HoneySnapshot';
|
|
718
|
+
id: string;
|
|
719
|
+
allTimeVolume: string;
|
|
720
|
+
mintVolume: string;
|
|
721
|
+
redeemVolume: string;
|
|
722
|
+
timestamp: string;
|
|
723
|
+
totalSupply: string;
|
|
724
|
+
totalVolume: string;
|
|
768
725
|
};
|
|
769
726
|
declare const HoneyTxnData: _apollo_client.DocumentNode;
|
|
770
|
-
declare const
|
|
727
|
+
declare const HoneySnapshotData: _apollo_client.DocumentNode;
|
|
771
728
|
declare const GetHoneyTxn: _apollo_client.DocumentNode;
|
|
772
|
-
declare const
|
|
773
|
-
declare const GetGlobalData: _apollo_client.DocumentNode;
|
|
774
|
-
declare const GetFirstHoneyTxnDate: _apollo_client.DocumentNode;
|
|
729
|
+
declare const GetSnapshots: _apollo_client.DocumentNode;
|
|
775
730
|
interface PossibleTypesResultData {
|
|
776
731
|
possibleTypes: {
|
|
777
732
|
[key: string]: string[];
|
|
@@ -779,4 +734,4 @@ interface PossibleTypesResultData {
|
|
|
779
734
|
}
|
|
780
735
|
declare const result: PossibleTypesResultData;
|
|
781
736
|
|
|
782
|
-
export { Aggregation_Interval, type BlockChangedFilter, type Block_Height, type ChainTransaction, type ChainTransactionHoneyTxnArgs, type ChainTransaction_Filter, ChainTransaction_OrderBy, type Exact,
|
|
737
|
+
export { Aggregation_Interval, type BlockChangedFilter, type Block_Height, type ChainTransaction, type ChainTransactionHoneyTxnArgs, type ChainTransaction_Filter, ChainTransaction_OrderBy, type Exact, GetHoneyTxn, type GetHoneyTxnQuery, type GetHoneyTxnQueryVariables, GetSnapshots, type GetSnapshotsQuery, type GetSnapshotsQueryVariables, type HoneyCollateral, type HoneyCollateral_Filter, HoneyCollateral_OrderBy, type HoneySnapshot, HoneySnapshotData, type HoneySnapshotDataFragment, type HoneySnapshot_Filter, HoneySnapshot_OrderBy, type HoneySupplyDayData, type HoneySupplyDayData_Filter, HoneySupplyDayData_OrderBy, type HoneyTxn, type HoneyTxnCollateralArgs, HoneyTxnData, type HoneyTxnDataFragment, type HoneyTxnTimeseries, type HoneyTxnTimeseries_Filter, HoneyTxnTimeseries_OrderBy, type HoneyTxn_Filter, HoneyTxn_OrderBy, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, OrderDirection, type PossibleTypesResultData, type Query, type QueryChainTransactionArgs, type QueryChainTransactionsArgs, type QueryHoneyCollateralArgs, type QueryHoneyCollateralsArgs, type QueryHoneySnapshotsArgs, type QueryHoneySupplyDayDataArgs, type QueryHoneySupplyDayDatasArgs, type QueryHoneyTxnArgs, type QueryHoneyTxnTimeseriesArgs, type QueryHoneyTxnTimeseries_CollectionArgs, type QueryHoneyTxnsArgs, type Query_MetaArgs, type Scalars, TxnType, type _Block_, type _Meta_, _SubgraphErrorPolicy_, result as default };
|