@berachain/graphql 0.4.12 → 0.4.13
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/api/api.codegen.cjs +1 -1
- package/dist/api/api.codegen.d.cts +292 -30
- package/dist/api/api.codegen.d.ts +292 -30
- package/dist/dex/api.codegen.cjs +1 -1
- package/dist/dex/api.codegen.d.cts +8 -38
- package/dist/dex/api.codegen.d.ts +8 -38
- package/dist/dex/api.codegen.mjs +2 -2
- package/dist/pol/api.codegen.cjs +1 -1
- package/dist/pol/api.codegen.d.cts +8 -38
- package/dist/pol/api.codegen.d.ts +8 -38
- package/dist/pol/api.codegen.mjs +2 -2
- package/dist/pol/fees.codegen.cjs +2 -2
- package/dist/pol/fees.codegen.d.cts +9 -1
- package/dist/pol/fees.codegen.d.ts +9 -1
- package/dist/pol/fees.codegen.mjs +2 -2
- package/dist/pol/subgraph.codegen.cjs +8 -8
- package/dist/pol/subgraph.codegen.d.cts +21 -1
- package/dist/pol/subgraph.codegen.d.ts +21 -1
- package/dist/pol/subgraph.codegen.mjs +8 -8
- package/package.json +3 -3
- package/dist/governance/governance.codegen.cjs +0 -116
- package/dist/governance/governance.codegen.d.cts +0 -1533
- package/dist/governance/governance.codegen.d.ts +0 -1533
- package/dist/governance/governance.codegen.mjs +0 -116
- package/dist/honey/honey.codegen.cjs +0 -42
- package/dist/honey/honey.codegen.d.cts +0 -727
- package/dist/honey/honey.codegen.d.ts +0 -727
- package/dist/honey/honey.codegen.mjs +0 -42
package/dist/pol/api.codegen.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var d=Object.defineProperty;var J=Object.getOwnPropertyDescriptor;var X=Object.getOwnPropertyNames;var j=Object.prototype.hasOwnProperty;var Z=(c,u)=>{for(var t in u)d(c,t,{get:u[t],enumerable:!0})},tt=(c,u,t,e)=>{if(u&&typeof u=="object"||typeof u=="function")for(let n of X(u))!j.call(c,n)&&n!==t&&d(c,n,{get:()=>u[n],enumerable:!(e=J(u,n))||e.enumerable});return c};var at=c=>tt(d({},"__esModule",{value:!0}),c);var
|
|
1
|
+
"use strict";var d=Object.defineProperty;var J=Object.getOwnPropertyDescriptor;var X=Object.getOwnPropertyNames;var j=Object.prototype.hasOwnProperty;var Z=(c,u)=>{for(var t in u)d(c,t,{get:u[t],enumerable:!0})},tt=(c,u,t,e)=>{if(u&&typeof u=="object"||typeof u=="function")for(let n of X(u))!j.call(c,n)&&n!==t&&d(c,n,{get:()=>u[n],enumerable:!(e=J(u,n))||e.enumerable});return c};var at=c=>tt(d({},"__esModule",{value:!0}),c);var bt={};Z(bt,{ApiMinimalVaultIncentive:()=>et,ApiRewardAllocationWeight:()=>L,ApiValidator:()=>m,ApiValidatorBlockUptime:()=>K,ApiValidatorInList:()=>z,ApiValidatorIncentive:()=>Y,ApiValidatorMinimal:()=>y,ApiValidatorRewardAllocationWeight:()=>rt,ApiVault:()=>S,ApiVaultIncentive:()=>O,GetRewardVault:()=>st,GetSWberaVaultMetadata:()=>St,GetSWberaVaultSnapshots:()=>yt,GetUserValidatorInformation:()=>dt,GetUserVaults:()=>pt,GetValidator:()=>nt,GetValidators:()=>lt,GetVaultHistory:()=>ct,GetVaultValidators:()=>it,GetVaults:()=>ot,GlobalData:()=>ut,GqlChain:()=>g,GqlPoolAprItemType:()=>b,GqlPoolEventType:()=>A,GqlPoolEventsDataRange:()=>G,GqlPoolFilterCategory:()=>I,GqlPoolJoinExitType:()=>q,GqlPoolNestingType:()=>B,GqlPoolOrderBy:()=>v,GqlPoolOrderDirection:()=>P,GqlPoolSnapshotDataRange:()=>k,GqlPoolType:()=>_,GqlRewardVaultIncentiveOrderBy:()=>h,GqlRewardVaultIncentiveOrderDirection:()=>M,GqlRewardVaultOrderBy:()=>D,GqlRewardVaultOrderDirection:()=>V,GqlRewardVaultSnapshotDataRange:()=>T,GqlRewardVaultSnapshotResolution:()=>x,GqlSWberaVaultMetadataResolution:()=>R,GqlSorSwapType:()=>w,GqlTokenChartDataRange:()=>C,GqlTokenType:()=>U,GqlUserVaultDepositOrderBy:()=>E,GqlUserVaultDepositOrderDirection:()=>$,GqlValidatorBlockUptimeStatus:()=>f,GqlValidatorBoostOrderBy:()=>N,GqlValidatorBoostOrderDirection:()=>F,GqlValidatorOrderBy:()=>W,GqlValidatorOrderDirection:()=>Q,GqlVaultSnapshotDataRange:()=>H,default:()=>gt});module.exports=at(bt);var r=require("@apollo/client"),g=(t=>(t.Bepolia="BEPOLIA",t.Berachain="BERACHAIN",t))(g||{}),b=(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))(b||{}),A=(e=>(e.Add="ADD",e.Remove="REMOVE",e.Swap="SWAP",e))(A||{}),G=(e=>(e.NinetyDays="NINETY_DAYS",e.SevenDays="SEVEN_DAYS",e.ThirtyDays="THIRTY_DAYS",e))(G||{}),I=(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))(I||{}),q=(t=>(t.Exit="Exit",t.Join="Join",t))(q||{}),B=(e=>(e.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",e.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",e.NoNesting="NO_NESTING",e))(B||{}),v=(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))(v||{}),P=(t=>(t.Asc="asc",t.Desc="desc",t))(P||{}),k=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",a.OneYear="ONE_YEAR",a.ThirtyDays="THIRTY_DAYS",a))(k||{}),_=(i=>(i.ComposableStable="COMPOSABLE_STABLE",i.CowAmm="COW_AMM",i.Element="ELEMENT",i.Fx="FX",i.Gyro="GYRO",i.Gyro3="GYRO3",i.Gyroe="GYROE",i.Investment="INVESTMENT",i.LiquidityBootstrapping="LIQUIDITY_BOOTSTRAPPING",i.MetaStable="META_STABLE",i.PhantomStable="PHANTOM_STABLE",i.Stable="STABLE",i.Unknown="UNKNOWN",i.Weighted="WEIGHTED",i))(_||{}),h=(e=>(e.AmountRemaining="amountRemaining",e.AmountRemainingUsd="amountRemainingUsd",e.IncentiveRate="incentiveRate",e))(h||{}),M=(t=>(t.Asc="asc",t.Desc="desc",t))(M||{}),D=(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))(D||{}),V=(t=>(t.Asc="asc",t.Desc="desc",t))(V||{}),T=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.SixtyDays="SIXTY_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(T||{}),x=(t=>(t.Day="DAY",t.Hour="HOUR",t))(x||{}),R=(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(R||{}),w=(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(w||{}),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||{}),U=(e=>(e.Bpt="BPT",e.PhantomBpt="PHANTOM_BPT",e.WhiteListed="WHITE_LISTED",e))(U||{}),E=(u=>(u.Amount="amount",u))(E||{}),$=(t=>(t.Asc="asc",t.Desc="desc",t))($||{}),f=(n=>(n.Inactive="INACTIVE",n.Offline="OFFLINE",n.Proposed="PROPOSED",n.Signed="SIGNED",n))(f||{}),N=(a=>(a.ActiveBoostAmount="activeBoostAmount",a.LatestBlock="latestBlock",a.LatestBlockTime="latestBlockTime",a.QueuedBoostAmount="queuedBoostAmount",a.QueuedDropBoostAmount="queuedDropBoostAmount",a))(N||{}),F=(t=>(t.Asc="asc",t.Desc="desc",t))(F||{}),W=(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))(W||{}),Q=(t=>(t.Asc="asc",t.Desc="desc",t))(Q||{}),H=(n=>(n.NinetyDays="NINETY_DAYS",n.SevenDays="SEVEN_DAYS",n.SixtyDays="SIXTY_DAYS",n.ThirtyDays="THIRTY_DAYS",n))(H||{}),et=r.gql`
|
|
2
2
|
fragment ApiMinimalVaultIncentive on GqlRewardVaultIncentive {
|
|
3
3
|
remainingAmount
|
|
4
4
|
remainingAmountUsd
|
|
@@ -2211,33 +2211,22 @@ type Query = {
|
|
|
2211
2211
|
poolGetSnapshots: Array<GqlPoolSnapshot>;
|
|
2212
2212
|
protocolMetricsAggregated: GqlProtocolMetricsAggregated;
|
|
2213
2213
|
protocolMetricsChain: GqlProtocolMetricsChain;
|
|
2214
|
-
/**
|
|
2214
|
+
/**
|
|
2215
|
+
* Get swap quote from the SOR v2 for the V2 vault
|
|
2216
|
+
* @deprecated SOR support will end on May 31st, 2026
|
|
2217
|
+
*/
|
|
2215
2218
|
sorGetSwapPaths: GqlSorGetSwapPaths;
|
|
2216
|
-
/** Get swap quote from the SOR, queries both the old and new SOR */
|
|
2217
|
-
sorGetSwaps: GqlSorGetSwapsResponse;
|
|
2218
2219
|
/**
|
|
2219
|
-
*
|
|
2220
|
-
* @deprecated
|
|
2220
|
+
* Get swap quote from the SOR, queries both the old and new SOR
|
|
2221
|
+
* @deprecated SOR support will end on May 31st, 2026
|
|
2221
2222
|
*/
|
|
2222
|
-
|
|
2223
|
+
sorGetSwaps: GqlSorGetSwapsResponse;
|
|
2223
2224
|
/** Returns the current price for a given token */
|
|
2224
2225
|
tokenGetCurrentPrice: GqlTokenPrice;
|
|
2225
2226
|
/** Returns all current prices for allowed tokens for a given chain or chains */
|
|
2226
2227
|
tokenGetCurrentPrices: Array<GqlTokenPrice>;
|
|
2227
2228
|
/** Returns the historical prices for a given set of tokens for a given chain and range */
|
|
2228
2229
|
tokenGetHistoricalPrices: Array<GqlHistoricalTokenPrice>;
|
|
2229
|
-
/**
|
|
2230
|
-
* DEPRECATED: Returns pricing data for a given token for a given range
|
|
2231
|
-
* @deprecated Use tokenGetHistoricalPrices instead
|
|
2232
|
-
*/
|
|
2233
|
-
tokenGetPriceChartData: Array<GqlTokenPriceChartDataItem>;
|
|
2234
|
-
/**
|
|
2235
|
-
* Returns the price of either BAL or BEETS depending on chain
|
|
2236
|
-
* @deprecated Use tokenGetTokensDynamicData instead
|
|
2237
|
-
*/
|
|
2238
|
-
tokenGetProtocolTokenPrice: Scalars['AmountHumanReadable']['output'];
|
|
2239
|
-
/** Returns the price of a token priced in another token for a given range. */
|
|
2240
|
-
tokenGetRelativePriceChartData: Array<GqlTokenPriceChartDataItem>;
|
|
2241
2230
|
/** Returns a token for a given address and chain */
|
|
2242
2231
|
tokenGetToken: GqlToken;
|
|
2243
2232
|
/** Returns dynamic data of a token such as price, market cap, etc. */
|
|
@@ -2405,11 +2394,6 @@ type QuerySorGetSwapsArgs = {
|
|
|
2405
2394
|
tokenIn: Scalars['String']['input'];
|
|
2406
2395
|
tokenOut: Scalars['String']['input'];
|
|
2407
2396
|
};
|
|
2408
|
-
type QueryTokenGetCandlestickChartDataArgs = {
|
|
2409
|
-
address: Scalars['String']['input'];
|
|
2410
|
-
chain?: InputMaybe<GqlChain>;
|
|
2411
|
-
range: GqlTokenChartDataRange;
|
|
2412
|
-
};
|
|
2413
2397
|
type QueryTokenGetCurrentPriceArgs = {
|
|
2414
2398
|
address: Scalars['String']['input'];
|
|
2415
2399
|
chain: GqlChain;
|
|
@@ -2423,20 +2407,6 @@ type QueryTokenGetHistoricalPricesArgs = {
|
|
|
2423
2407
|
chain: GqlChain;
|
|
2424
2408
|
range: GqlTokenChartDataRange;
|
|
2425
2409
|
};
|
|
2426
|
-
type QueryTokenGetPriceChartDataArgs = {
|
|
2427
|
-
address: Scalars['String']['input'];
|
|
2428
|
-
chain?: InputMaybe<GqlChain>;
|
|
2429
|
-
range: GqlTokenChartDataRange;
|
|
2430
|
-
};
|
|
2431
|
-
type QueryTokenGetProtocolTokenPriceArgs = {
|
|
2432
|
-
chain?: InputMaybe<GqlChain>;
|
|
2433
|
-
};
|
|
2434
|
-
type QueryTokenGetRelativePriceChartDataArgs = {
|
|
2435
|
-
chain?: InputMaybe<GqlChain>;
|
|
2436
|
-
range: GqlTokenChartDataRange;
|
|
2437
|
-
tokenIn: Scalars['String']['input'];
|
|
2438
|
-
tokenOut: Scalars['String']['input'];
|
|
2439
|
-
};
|
|
2440
2410
|
type QueryTokenGetTokenArgs = {
|
|
2441
2411
|
address: Scalars['String']['input'];
|
|
2442
2412
|
chain: GqlChain;
|
|
@@ -3485,4 +3455,4 @@ interface PossibleTypesResultData {
|
|
|
3485
3455
|
}
|
|
3486
3456
|
declare const result: PossibleTypesResultData;
|
|
3487
3457
|
|
|
3488
|
-
export { ApiMinimalVaultIncentive, type ApiMinimalVaultIncentiveFragment, ApiRewardAllocationWeight, type ApiRewardAllocationWeightFragment, ApiValidator, ApiValidatorBlockUptime, type ApiValidatorBlockUptimeFragment, type ApiValidatorFragment, ApiValidatorInList, type ApiValidatorInListFragment, ApiValidatorIncentive, type ApiValidatorIncentiveFragment, ApiValidatorMinimal, type ApiValidatorMinimalFragment, ApiValidatorRewardAllocationWeight, type ApiValidatorRewardAllocationWeightFragment, ApiVault, type ApiVaultFragment, ApiVaultIncentive, type ApiVaultIncentiveFragment, type BendVaultDynamicData, type BendVaultResponse, type Exact, GetRewardVault, type GetRewardVaultQuery, type GetRewardVaultQueryVariables, GetSWberaVaultMetadata, type GetSWberaVaultMetadataQuery, type GetSWberaVaultMetadataQueryVariables, GetSWberaVaultSnapshots, type GetSWberaVaultSnapshotsQuery, type GetSWberaVaultSnapshotsQueryVariables, GetUserValidatorInformation, type GetUserValidatorInformationQuery, type GetUserValidatorInformationQueryVariables, GetUserVaults, type GetUserVaultsQuery, type GetUserVaultsQueryVariables, GetValidator, type GetValidatorQuery, type GetValidatorQueryVariables, GetValidators, type GetValidatorsQuery, type GetValidatorsQueryVariables, GetVaultHistory, type GetVaultHistoryQuery, type GetVaultHistoryQueryVariables, GetVaultValidators, type GetVaultValidatorsQuery, type GetVaultValidatorsQueryVariables, GetVaults, type GetVaultsQuery, type GetVaultsQueryVariables, GlobalData, type GlobalDataQuery, type GlobalDataQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, type GqlIncentive, type GqlLatestSyncedBlocks, type GqlNestedPool, type GqlPagination, type GqlPoolAddRemoveEventV3, type GqlPoolAggregator, type GqlPoolApr, type GqlPoolAprItem, GqlPoolAprItemType, type GqlPoolAprRange, type GqlPoolAprTotal, type GqlPoolAprValue, type GqlPoolBase, type GqlPoolBatchSwap, type GqlPoolBatchSwapPool, type GqlPoolBatchSwapSwap, type GqlPoolComposableStable, type GqlPoolComposableStableNested, type GqlPoolDynamicData, type GqlPoolElement, type GqlPoolEvent, type GqlPoolEventAmount, GqlPoolEventType, GqlPoolEventsDataRange, type GqlPoolEventsFilter, type GqlPoolFilter, GqlPoolFilterCategory, type GqlPoolFx, type GqlPoolGyro, type GqlPoolInvestConfig, type GqlPoolInvestOption, type GqlPoolJoinExit, type GqlPoolJoinExitAmount, type GqlPoolJoinExitFilter, GqlPoolJoinExitType, type GqlPoolLiquidityBootstrapping, type GqlPoolMetaStable, type GqlPoolMinimal, type GqlPoolNestedUnion, GqlPoolNestingType, GqlPoolOrderBy, GqlPoolOrderDirection, type GqlPoolSnapshot, GqlPoolSnapshotDataRange, type GqlPoolStable, type GqlPoolStableComposablePoolData, type GqlPoolSwap, type GqlPoolSwapEventCowAmm, type GqlPoolSwapEventV3, type GqlPoolSwapFilter, type GqlPoolTimePeriod, type GqlPoolToken, type GqlPoolTokenBase, type GqlPoolTokenComposableStable, type GqlPoolTokenComposableStableNestedUnion, type GqlPoolTokenDetail, type GqlPoolTokenDisplay, type GqlPoolTokenExpanded, type GqlPoolTokenUnion, GqlPoolType, type GqlPoolUnion, type GqlPoolUserBalance, type GqlPoolUserSwapVolume, type GqlPoolWeighted, type GqlPoolWithdrawConfig, type GqlPoolWithdrawOption, type GqlPriceImpact, type GqlPriceRateProviderData, type GqlPriceRateProviderUpgradeableComponent, type GqlProtocolMetricsAggregated, type GqlProtocolMetricsChain, type GqlRelicSnapshot, type GqlRewardVault, type GqlRewardVaultDynamicData, type GqlRewardVaultFilter, type GqlRewardVaultIncentive, GqlRewardVaultIncentiveOrderBy, GqlRewardVaultIncentiveOrderDirection, type GqlRewardVaultMetadata, GqlRewardVaultOrderBy, GqlRewardVaultOrderDirection, type GqlRewardVaultSnapshot, GqlRewardVaultSnapshotDataRange, GqlRewardVaultSnapshotResolution, type GqlRewardVaultWhitelistedToken, type GqlSWberaVaultMetadata, GqlSWberaVaultMetadataResolution, type GqlSWberaVaultSnapshot, type GqlSorCallData, type GqlSorGetSwapPaths, type GqlSorGetSwapsResponse, type GqlSorPath, type GqlSorSwap, type GqlSorSwapOptionsInput, type GqlSorSwapRoute, type GqlSorSwapRouteHop, GqlSorSwapType, type 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, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, type GqlValidatorCommissionHistory, type GqlValidatorDynamicData, type GqlValidatorFilter, type GqlValidatorInList, type GqlValidatorIncentive, type GqlValidatorMetadata, GqlValidatorOrderBy, GqlValidatorOrderDirection, type GqlValidatorRewardAllocationWeight, type GqlValidatorStats, GqlVaultSnapshotDataRange, type Hook, type HookData, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, type PaginatedRewardVaultIncentivesResponse, type PaginatedRewardVaultsResponse, type PaginatedUserVaultDepositsResponse, type PaginatedValidatorBlockUptimesResponse, type PaginatedValidatorBoostsResponse, type PaginatedValidatorsResponse, 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 QueryPoolGetAggregatorPoolsArgs, type QueryPoolGetEventsArgs, type QueryPoolGetPoolArgs, type QueryPoolGetPoolsArgs, type QueryPoolGetPoolsCountArgs, type QueryPoolGetSnapshotsArgs, type QueryProtocolMetricsAggregatedArgs, type QueryProtocolMetricsChainArgs, type QuerySorGetSwapPathsArgs, type QuerySorGetSwapsArgs, type
|
|
3458
|
+
export { ApiMinimalVaultIncentive, type ApiMinimalVaultIncentiveFragment, ApiRewardAllocationWeight, type ApiRewardAllocationWeightFragment, ApiValidator, ApiValidatorBlockUptime, type ApiValidatorBlockUptimeFragment, type ApiValidatorFragment, ApiValidatorInList, type ApiValidatorInListFragment, ApiValidatorIncentive, type ApiValidatorIncentiveFragment, ApiValidatorMinimal, type ApiValidatorMinimalFragment, ApiValidatorRewardAllocationWeight, type ApiValidatorRewardAllocationWeightFragment, ApiVault, type ApiVaultFragment, ApiVaultIncentive, type ApiVaultIncentiveFragment, type BendVaultDynamicData, type BendVaultResponse, type Exact, GetRewardVault, type GetRewardVaultQuery, type GetRewardVaultQueryVariables, GetSWberaVaultMetadata, type GetSWberaVaultMetadataQuery, type GetSWberaVaultMetadataQueryVariables, GetSWberaVaultSnapshots, type GetSWberaVaultSnapshotsQuery, type GetSWberaVaultSnapshotsQueryVariables, GetUserValidatorInformation, type GetUserValidatorInformationQuery, type GetUserValidatorInformationQueryVariables, GetUserVaults, type GetUserVaultsQuery, type GetUserVaultsQueryVariables, GetValidator, type GetValidatorQuery, type GetValidatorQueryVariables, GetValidators, type GetValidatorsQuery, type GetValidatorsQueryVariables, GetVaultHistory, type GetVaultHistoryQuery, type GetVaultHistoryQueryVariables, GetVaultValidators, type GetVaultValidatorsQuery, type GetVaultValidatorsQueryVariables, GetVaults, type GetVaultsQuery, type GetVaultsQueryVariables, GlobalData, type GlobalDataQuery, type GlobalDataQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, type GqlIncentive, type GqlLatestSyncedBlocks, type GqlNestedPool, type GqlPagination, type GqlPoolAddRemoveEventV3, type GqlPoolAggregator, type GqlPoolApr, type GqlPoolAprItem, GqlPoolAprItemType, type GqlPoolAprRange, type GqlPoolAprTotal, type GqlPoolAprValue, type GqlPoolBase, type GqlPoolBatchSwap, type GqlPoolBatchSwapPool, type GqlPoolBatchSwapSwap, type GqlPoolComposableStable, type GqlPoolComposableStableNested, type GqlPoolDynamicData, type GqlPoolElement, type GqlPoolEvent, type GqlPoolEventAmount, GqlPoolEventType, GqlPoolEventsDataRange, type GqlPoolEventsFilter, type GqlPoolFilter, GqlPoolFilterCategory, type GqlPoolFx, type GqlPoolGyro, type GqlPoolInvestConfig, type GqlPoolInvestOption, type GqlPoolJoinExit, type GqlPoolJoinExitAmount, type GqlPoolJoinExitFilter, GqlPoolJoinExitType, type GqlPoolLiquidityBootstrapping, type GqlPoolMetaStable, type GqlPoolMinimal, type GqlPoolNestedUnion, GqlPoolNestingType, GqlPoolOrderBy, GqlPoolOrderDirection, type GqlPoolSnapshot, GqlPoolSnapshotDataRange, type GqlPoolStable, type GqlPoolStableComposablePoolData, type GqlPoolSwap, type GqlPoolSwapEventCowAmm, type GqlPoolSwapEventV3, type GqlPoolSwapFilter, type GqlPoolTimePeriod, type GqlPoolToken, type GqlPoolTokenBase, type GqlPoolTokenComposableStable, type GqlPoolTokenComposableStableNestedUnion, type GqlPoolTokenDetail, type GqlPoolTokenDisplay, type GqlPoolTokenExpanded, type GqlPoolTokenUnion, GqlPoolType, type GqlPoolUnion, type GqlPoolUserBalance, type GqlPoolUserSwapVolume, type GqlPoolWeighted, type GqlPoolWithdrawConfig, type GqlPoolWithdrawOption, type GqlPriceImpact, type GqlPriceRateProviderData, type GqlPriceRateProviderUpgradeableComponent, type GqlProtocolMetricsAggregated, type GqlProtocolMetricsChain, type GqlRelicSnapshot, type GqlRewardVault, type GqlRewardVaultDynamicData, type GqlRewardVaultFilter, type GqlRewardVaultIncentive, GqlRewardVaultIncentiveOrderBy, GqlRewardVaultIncentiveOrderDirection, type GqlRewardVaultMetadata, GqlRewardVaultOrderBy, GqlRewardVaultOrderDirection, type GqlRewardVaultSnapshot, GqlRewardVaultSnapshotDataRange, GqlRewardVaultSnapshotResolution, type GqlRewardVaultWhitelistedToken, type GqlSWberaVaultMetadata, GqlSWberaVaultMetadataResolution, type GqlSWberaVaultSnapshot, type GqlSorCallData, type GqlSorGetSwapPaths, type GqlSorGetSwapsResponse, type GqlSorPath, type GqlSorSwap, type GqlSorSwapOptionsInput, type GqlSorSwapRoute, type GqlSorSwapRouteHop, GqlSorSwapType, type 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, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, type GqlValidatorCommissionHistory, type GqlValidatorDynamicData, type GqlValidatorFilter, type GqlValidatorInList, type GqlValidatorIncentive, type GqlValidatorMetadata, GqlValidatorOrderBy, GqlValidatorOrderDirection, type GqlValidatorRewardAllocationWeight, type GqlValidatorStats, GqlVaultSnapshotDataRange, type Hook, type HookData, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, type PaginatedRewardVaultIncentivesResponse, type PaginatedRewardVaultsResponse, type PaginatedUserVaultDepositsResponse, type PaginatedValidatorBlockUptimesResponse, type PaginatedValidatorBoostsResponse, type PaginatedValidatorsResponse, 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 QueryPoolGetAggregatorPoolsArgs, type QueryPoolGetEventsArgs, type QueryPoolGetPoolArgs, type QueryPoolGetPoolsArgs, type QueryPoolGetPoolsCountArgs, type QueryPoolGetSnapshotsArgs, type QueryProtocolMetricsAggregatedArgs, type QueryProtocolMetricsChainArgs, type QuerySorGetSwapPathsArgs, type QuerySorGetSwapsArgs, type QueryTokenGetCurrentPriceArgs, type QueryTokenGetCurrentPricesArgs, type QueryTokenGetHistoricalPricesArgs, type QueryTokenGetTokenArgs, type QueryTokenGetTokenDynamicDataArgs, type QueryTokenGetTokensArgs, type QueryTokenGetTokensDynamicDataArgs, type QueryUserGetPoolBalancesArgs, type QueryUserGetPoolJoinExitsArgs, type QueryUserGetSwapsArgs, type Scalars, type Token, result as default };
|
|
@@ -2211,33 +2211,22 @@ type Query = {
|
|
|
2211
2211
|
poolGetSnapshots: Array<GqlPoolSnapshot>;
|
|
2212
2212
|
protocolMetricsAggregated: GqlProtocolMetricsAggregated;
|
|
2213
2213
|
protocolMetricsChain: GqlProtocolMetricsChain;
|
|
2214
|
-
/**
|
|
2214
|
+
/**
|
|
2215
|
+
* Get swap quote from the SOR v2 for the V2 vault
|
|
2216
|
+
* @deprecated SOR support will end on May 31st, 2026
|
|
2217
|
+
*/
|
|
2215
2218
|
sorGetSwapPaths: GqlSorGetSwapPaths;
|
|
2216
|
-
/** Get swap quote from the SOR, queries both the old and new SOR */
|
|
2217
|
-
sorGetSwaps: GqlSorGetSwapsResponse;
|
|
2218
2219
|
/**
|
|
2219
|
-
*
|
|
2220
|
-
* @deprecated
|
|
2220
|
+
* Get swap quote from the SOR, queries both the old and new SOR
|
|
2221
|
+
* @deprecated SOR support will end on May 31st, 2026
|
|
2221
2222
|
*/
|
|
2222
|
-
|
|
2223
|
+
sorGetSwaps: GqlSorGetSwapsResponse;
|
|
2223
2224
|
/** Returns the current price for a given token */
|
|
2224
2225
|
tokenGetCurrentPrice: GqlTokenPrice;
|
|
2225
2226
|
/** Returns all current prices for allowed tokens for a given chain or chains */
|
|
2226
2227
|
tokenGetCurrentPrices: Array<GqlTokenPrice>;
|
|
2227
2228
|
/** Returns the historical prices for a given set of tokens for a given chain and range */
|
|
2228
2229
|
tokenGetHistoricalPrices: Array<GqlHistoricalTokenPrice>;
|
|
2229
|
-
/**
|
|
2230
|
-
* DEPRECATED: Returns pricing data for a given token for a given range
|
|
2231
|
-
* @deprecated Use tokenGetHistoricalPrices instead
|
|
2232
|
-
*/
|
|
2233
|
-
tokenGetPriceChartData: Array<GqlTokenPriceChartDataItem>;
|
|
2234
|
-
/**
|
|
2235
|
-
* Returns the price of either BAL or BEETS depending on chain
|
|
2236
|
-
* @deprecated Use tokenGetTokensDynamicData instead
|
|
2237
|
-
*/
|
|
2238
|
-
tokenGetProtocolTokenPrice: Scalars['AmountHumanReadable']['output'];
|
|
2239
|
-
/** Returns the price of a token priced in another token for a given range. */
|
|
2240
|
-
tokenGetRelativePriceChartData: Array<GqlTokenPriceChartDataItem>;
|
|
2241
2230
|
/** Returns a token for a given address and chain */
|
|
2242
2231
|
tokenGetToken: GqlToken;
|
|
2243
2232
|
/** Returns dynamic data of a token such as price, market cap, etc. */
|
|
@@ -2405,11 +2394,6 @@ type QuerySorGetSwapsArgs = {
|
|
|
2405
2394
|
tokenIn: Scalars['String']['input'];
|
|
2406
2395
|
tokenOut: Scalars['String']['input'];
|
|
2407
2396
|
};
|
|
2408
|
-
type QueryTokenGetCandlestickChartDataArgs = {
|
|
2409
|
-
address: Scalars['String']['input'];
|
|
2410
|
-
chain?: InputMaybe<GqlChain>;
|
|
2411
|
-
range: GqlTokenChartDataRange;
|
|
2412
|
-
};
|
|
2413
2397
|
type QueryTokenGetCurrentPriceArgs = {
|
|
2414
2398
|
address: Scalars['String']['input'];
|
|
2415
2399
|
chain: GqlChain;
|
|
@@ -2423,20 +2407,6 @@ type QueryTokenGetHistoricalPricesArgs = {
|
|
|
2423
2407
|
chain: GqlChain;
|
|
2424
2408
|
range: GqlTokenChartDataRange;
|
|
2425
2409
|
};
|
|
2426
|
-
type QueryTokenGetPriceChartDataArgs = {
|
|
2427
|
-
address: Scalars['String']['input'];
|
|
2428
|
-
chain?: InputMaybe<GqlChain>;
|
|
2429
|
-
range: GqlTokenChartDataRange;
|
|
2430
|
-
};
|
|
2431
|
-
type QueryTokenGetProtocolTokenPriceArgs = {
|
|
2432
|
-
chain?: InputMaybe<GqlChain>;
|
|
2433
|
-
};
|
|
2434
|
-
type QueryTokenGetRelativePriceChartDataArgs = {
|
|
2435
|
-
chain?: InputMaybe<GqlChain>;
|
|
2436
|
-
range: GqlTokenChartDataRange;
|
|
2437
|
-
tokenIn: Scalars['String']['input'];
|
|
2438
|
-
tokenOut: Scalars['String']['input'];
|
|
2439
|
-
};
|
|
2440
2410
|
type QueryTokenGetTokenArgs = {
|
|
2441
2411
|
address: Scalars['String']['input'];
|
|
2442
2412
|
chain: GqlChain;
|
|
@@ -3485,4 +3455,4 @@ interface PossibleTypesResultData {
|
|
|
3485
3455
|
}
|
|
3486
3456
|
declare const result: PossibleTypesResultData;
|
|
3487
3457
|
|
|
3488
|
-
export { ApiMinimalVaultIncentive, type ApiMinimalVaultIncentiveFragment, ApiRewardAllocationWeight, type ApiRewardAllocationWeightFragment, ApiValidator, ApiValidatorBlockUptime, type ApiValidatorBlockUptimeFragment, type ApiValidatorFragment, ApiValidatorInList, type ApiValidatorInListFragment, ApiValidatorIncentive, type ApiValidatorIncentiveFragment, ApiValidatorMinimal, type ApiValidatorMinimalFragment, ApiValidatorRewardAllocationWeight, type ApiValidatorRewardAllocationWeightFragment, ApiVault, type ApiVaultFragment, ApiVaultIncentive, type ApiVaultIncentiveFragment, type BendVaultDynamicData, type BendVaultResponse, type Exact, GetRewardVault, type GetRewardVaultQuery, type GetRewardVaultQueryVariables, GetSWberaVaultMetadata, type GetSWberaVaultMetadataQuery, type GetSWberaVaultMetadataQueryVariables, GetSWberaVaultSnapshots, type GetSWberaVaultSnapshotsQuery, type GetSWberaVaultSnapshotsQueryVariables, GetUserValidatorInformation, type GetUserValidatorInformationQuery, type GetUserValidatorInformationQueryVariables, GetUserVaults, type GetUserVaultsQuery, type GetUserVaultsQueryVariables, GetValidator, type GetValidatorQuery, type GetValidatorQueryVariables, GetValidators, type GetValidatorsQuery, type GetValidatorsQueryVariables, GetVaultHistory, type GetVaultHistoryQuery, type GetVaultHistoryQueryVariables, GetVaultValidators, type GetVaultValidatorsQuery, type GetVaultValidatorsQueryVariables, GetVaults, type GetVaultsQuery, type GetVaultsQueryVariables, GlobalData, type GlobalDataQuery, type GlobalDataQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, type GqlIncentive, type GqlLatestSyncedBlocks, type GqlNestedPool, type GqlPagination, type GqlPoolAddRemoveEventV3, type GqlPoolAggregator, type GqlPoolApr, type GqlPoolAprItem, GqlPoolAprItemType, type GqlPoolAprRange, type GqlPoolAprTotal, type GqlPoolAprValue, type GqlPoolBase, type GqlPoolBatchSwap, type GqlPoolBatchSwapPool, type GqlPoolBatchSwapSwap, type GqlPoolComposableStable, type GqlPoolComposableStableNested, type GqlPoolDynamicData, type GqlPoolElement, type GqlPoolEvent, type GqlPoolEventAmount, GqlPoolEventType, GqlPoolEventsDataRange, type GqlPoolEventsFilter, type GqlPoolFilter, GqlPoolFilterCategory, type GqlPoolFx, type GqlPoolGyro, type GqlPoolInvestConfig, type GqlPoolInvestOption, type GqlPoolJoinExit, type GqlPoolJoinExitAmount, type GqlPoolJoinExitFilter, GqlPoolJoinExitType, type GqlPoolLiquidityBootstrapping, type GqlPoolMetaStable, type GqlPoolMinimal, type GqlPoolNestedUnion, GqlPoolNestingType, GqlPoolOrderBy, GqlPoolOrderDirection, type GqlPoolSnapshot, GqlPoolSnapshotDataRange, type GqlPoolStable, type GqlPoolStableComposablePoolData, type GqlPoolSwap, type GqlPoolSwapEventCowAmm, type GqlPoolSwapEventV3, type GqlPoolSwapFilter, type GqlPoolTimePeriod, type GqlPoolToken, type GqlPoolTokenBase, type GqlPoolTokenComposableStable, type GqlPoolTokenComposableStableNestedUnion, type GqlPoolTokenDetail, type GqlPoolTokenDisplay, type GqlPoolTokenExpanded, type GqlPoolTokenUnion, GqlPoolType, type GqlPoolUnion, type GqlPoolUserBalance, type GqlPoolUserSwapVolume, type GqlPoolWeighted, type GqlPoolWithdrawConfig, type GqlPoolWithdrawOption, type GqlPriceImpact, type GqlPriceRateProviderData, type GqlPriceRateProviderUpgradeableComponent, type GqlProtocolMetricsAggregated, type GqlProtocolMetricsChain, type GqlRelicSnapshot, type GqlRewardVault, type GqlRewardVaultDynamicData, type GqlRewardVaultFilter, type GqlRewardVaultIncentive, GqlRewardVaultIncentiveOrderBy, GqlRewardVaultIncentiveOrderDirection, type GqlRewardVaultMetadata, GqlRewardVaultOrderBy, GqlRewardVaultOrderDirection, type GqlRewardVaultSnapshot, GqlRewardVaultSnapshotDataRange, GqlRewardVaultSnapshotResolution, type GqlRewardVaultWhitelistedToken, type GqlSWberaVaultMetadata, GqlSWberaVaultMetadataResolution, type GqlSWberaVaultSnapshot, type GqlSorCallData, type GqlSorGetSwapPaths, type GqlSorGetSwapsResponse, type GqlSorPath, type GqlSorSwap, type GqlSorSwapOptionsInput, type GqlSorSwapRoute, type GqlSorSwapRouteHop, GqlSorSwapType, type 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, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, type GqlValidatorCommissionHistory, type GqlValidatorDynamicData, type GqlValidatorFilter, type GqlValidatorInList, type GqlValidatorIncentive, type GqlValidatorMetadata, GqlValidatorOrderBy, GqlValidatorOrderDirection, type GqlValidatorRewardAllocationWeight, type GqlValidatorStats, GqlVaultSnapshotDataRange, type Hook, type HookData, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, type PaginatedRewardVaultIncentivesResponse, type PaginatedRewardVaultsResponse, type PaginatedUserVaultDepositsResponse, type PaginatedValidatorBlockUptimesResponse, type PaginatedValidatorBoostsResponse, type PaginatedValidatorsResponse, 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 QueryPoolGetAggregatorPoolsArgs, type QueryPoolGetEventsArgs, type QueryPoolGetPoolArgs, type QueryPoolGetPoolsArgs, type QueryPoolGetPoolsCountArgs, type QueryPoolGetSnapshotsArgs, type QueryProtocolMetricsAggregatedArgs, type QueryProtocolMetricsChainArgs, type QuerySorGetSwapPathsArgs, type QuerySorGetSwapsArgs, type
|
|
3458
|
+
export { ApiMinimalVaultIncentive, type ApiMinimalVaultIncentiveFragment, ApiRewardAllocationWeight, type ApiRewardAllocationWeightFragment, ApiValidator, ApiValidatorBlockUptime, type ApiValidatorBlockUptimeFragment, type ApiValidatorFragment, ApiValidatorInList, type ApiValidatorInListFragment, ApiValidatorIncentive, type ApiValidatorIncentiveFragment, ApiValidatorMinimal, type ApiValidatorMinimalFragment, ApiValidatorRewardAllocationWeight, type ApiValidatorRewardAllocationWeightFragment, ApiVault, type ApiVaultFragment, ApiVaultIncentive, type ApiVaultIncentiveFragment, type BendVaultDynamicData, type BendVaultResponse, type Exact, GetRewardVault, type GetRewardVaultQuery, type GetRewardVaultQueryVariables, GetSWberaVaultMetadata, type GetSWberaVaultMetadataQuery, type GetSWberaVaultMetadataQueryVariables, GetSWberaVaultSnapshots, type GetSWberaVaultSnapshotsQuery, type GetSWberaVaultSnapshotsQueryVariables, GetUserValidatorInformation, type GetUserValidatorInformationQuery, type GetUserValidatorInformationQueryVariables, GetUserVaults, type GetUserVaultsQuery, type GetUserVaultsQueryVariables, GetValidator, type GetValidatorQuery, type GetValidatorQueryVariables, GetValidators, type GetValidatorsQuery, type GetValidatorsQueryVariables, GetVaultHistory, type GetVaultHistoryQuery, type GetVaultHistoryQueryVariables, GetVaultValidators, type GetVaultValidatorsQuery, type GetVaultValidatorsQueryVariables, GetVaults, type GetVaultsQuery, type GetVaultsQueryVariables, GlobalData, type GlobalDataQuery, type GlobalDataQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, type GqlIncentive, type GqlLatestSyncedBlocks, type GqlNestedPool, type GqlPagination, type GqlPoolAddRemoveEventV3, type GqlPoolAggregator, type GqlPoolApr, type GqlPoolAprItem, GqlPoolAprItemType, type GqlPoolAprRange, type GqlPoolAprTotal, type GqlPoolAprValue, type GqlPoolBase, type GqlPoolBatchSwap, type GqlPoolBatchSwapPool, type GqlPoolBatchSwapSwap, type GqlPoolComposableStable, type GqlPoolComposableStableNested, type GqlPoolDynamicData, type GqlPoolElement, type GqlPoolEvent, type GqlPoolEventAmount, GqlPoolEventType, GqlPoolEventsDataRange, type GqlPoolEventsFilter, type GqlPoolFilter, GqlPoolFilterCategory, type GqlPoolFx, type GqlPoolGyro, type GqlPoolInvestConfig, type GqlPoolInvestOption, type GqlPoolJoinExit, type GqlPoolJoinExitAmount, type GqlPoolJoinExitFilter, GqlPoolJoinExitType, type GqlPoolLiquidityBootstrapping, type GqlPoolMetaStable, type GqlPoolMinimal, type GqlPoolNestedUnion, GqlPoolNestingType, GqlPoolOrderBy, GqlPoolOrderDirection, type GqlPoolSnapshot, GqlPoolSnapshotDataRange, type GqlPoolStable, type GqlPoolStableComposablePoolData, type GqlPoolSwap, type GqlPoolSwapEventCowAmm, type GqlPoolSwapEventV3, type GqlPoolSwapFilter, type GqlPoolTimePeriod, type GqlPoolToken, type GqlPoolTokenBase, type GqlPoolTokenComposableStable, type GqlPoolTokenComposableStableNestedUnion, type GqlPoolTokenDetail, type GqlPoolTokenDisplay, type GqlPoolTokenExpanded, type GqlPoolTokenUnion, GqlPoolType, type GqlPoolUnion, type GqlPoolUserBalance, type GqlPoolUserSwapVolume, type GqlPoolWeighted, type GqlPoolWithdrawConfig, type GqlPoolWithdrawOption, type GqlPriceImpact, type GqlPriceRateProviderData, type GqlPriceRateProviderUpgradeableComponent, type GqlProtocolMetricsAggregated, type GqlProtocolMetricsChain, type GqlRelicSnapshot, type GqlRewardVault, type GqlRewardVaultDynamicData, type GqlRewardVaultFilter, type GqlRewardVaultIncentive, GqlRewardVaultIncentiveOrderBy, GqlRewardVaultIncentiveOrderDirection, type GqlRewardVaultMetadata, GqlRewardVaultOrderBy, GqlRewardVaultOrderDirection, type GqlRewardVaultSnapshot, GqlRewardVaultSnapshotDataRange, GqlRewardVaultSnapshotResolution, type GqlRewardVaultWhitelistedToken, type GqlSWberaVaultMetadata, GqlSWberaVaultMetadataResolution, type GqlSWberaVaultSnapshot, type GqlSorCallData, type GqlSorGetSwapPaths, type GqlSorGetSwapsResponse, type GqlSorPath, type GqlSorSwap, type GqlSorSwapOptionsInput, type GqlSorSwapRoute, type GqlSorSwapRouteHop, GqlSorSwapType, type 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, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, type GqlValidatorCommissionHistory, type GqlValidatorDynamicData, type GqlValidatorFilter, type GqlValidatorInList, type GqlValidatorIncentive, type GqlValidatorMetadata, GqlValidatorOrderBy, GqlValidatorOrderDirection, type GqlValidatorRewardAllocationWeight, type GqlValidatorStats, GqlVaultSnapshotDataRange, type Hook, type HookData, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, type PaginatedRewardVaultIncentivesResponse, type PaginatedRewardVaultsResponse, type PaginatedUserVaultDepositsResponse, type PaginatedValidatorBlockUptimesResponse, type PaginatedValidatorBoostsResponse, type PaginatedValidatorsResponse, 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 QueryPoolGetAggregatorPoolsArgs, type QueryPoolGetEventsArgs, type QueryPoolGetPoolArgs, type QueryPoolGetPoolsArgs, type QueryPoolGetPoolsCountArgs, type QueryPoolGetSnapshotsArgs, type QueryProtocolMetricsAggregatedArgs, type QueryProtocolMetricsChainArgs, type QuerySorGetSwapPathsArgs, type QuerySorGetSwapsArgs, type QueryTokenGetCurrentPriceArgs, type QueryTokenGetCurrentPricesArgs, type QueryTokenGetHistoricalPricesArgs, type QueryTokenGetTokenArgs, type QueryTokenGetTokenDynamicDataArgs, type QueryTokenGetTokensArgs, type QueryTokenGetTokensDynamicDataArgs, type QueryUserGetPoolBalancesArgs, type QueryUserGetPoolJoinExitsArgs, type QueryUserGetSwapsArgs, type Scalars, type Token, result as default };
|
package/dist/pol/api.codegen.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{gql as e}from"@apollo/client";var d=(t=>(t.Bepolia="BEPOLIA",t.Berachain="BERACHAIN",t))(d||{}),m=(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))(m||{}),g=(r=>(r.Add="ADD",r.Remove="REMOVE",r.Swap="SWAP",r))(g||{}),
|
|
1
|
+
import{gql as e}from"@apollo/client";var d=(t=>(t.Bepolia="BEPOLIA",t.Berachain="BERACHAIN",t))(d||{}),m=(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))(m||{}),g=(r=>(r.Add="ADD",r.Remove="REMOVE",r.Swap="SWAP",r))(g||{}),b=(r=>(r.NinetyDays="NINETY_DAYS",r.SevenDays="SEVEN_DAYS",r.ThirtyDays="THIRTY_DAYS",r))(b||{}),A=(s=>(s.BlackListed="BLACK_LISTED",s.Featured="FEATURED",s.Incentivized="INCENTIVIZED",s.Lrt="LRT",s.Points="POINTS",s.PointsEigenlayer="POINTS_EIGENLAYER",s.PointsGyro="POINTS_GYRO",s.PointsKelp="POINTS_KELP",s.PointsRenzo="POINTS_RENZO",s.PointsSwell="POINTS_SWELL",s.Superfest="SUPERFEST",s))(A||{}),G=(t=>(t.Exit="Exit",t.Join="Join",t))(G||{}),I=(r=>(r.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",r.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",r.NoNesting="NO_NESTING",r))(I||{}),q=(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))(q||{}),B=(t=>(t.Asc="asc",t.Desc="desc",t))(B||{}),v=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",a.OneYear="ONE_YEAR",a.ThirtyDays="THIRTY_DAYS",a))(v||{}),P=(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))(P||{}),k=(r=>(r.AmountRemaining="amountRemaining",r.AmountRemainingUsd="amountRemainingUsd",r.IncentiveRate="incentiveRate",r))(k||{}),_=(t=>(t.Asc="asc",t.Desc="desc",t))(_||{}),h=(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))(h||{}),M=(t=>(t.Asc="asc",t.Desc="desc",t))(M||{}),D=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.SixtyDays="SIXTY_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(D||{}),V=(t=>(t.Day="DAY",t.Hour="HOUR",t))(V||{}),T=(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(T||{}),x=(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(x||{}),R=(a=>(a.NinetyDay="NINETY_DAY",a.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",a.OneYear="ONE_YEAR",a.SevenDay="SEVEN_DAY",a.ThirtyDay="THIRTY_DAY",a))(R||{}),w=(r=>(r.Bpt="BPT",r.PhantomBpt="PHANTOM_BPT",r.WhiteListed="WHITE_LISTED",r))(w||{}),C=(y=>(y.Amount="amount",y))(C||{}),U=(t=>(t.Asc="asc",t.Desc="desc",t))(U||{}),E=(u=>(u.Inactive="INACTIVE",u.Offline="OFFLINE",u.Proposed="PROPOSED",u.Signed="SIGNED",u))(E||{}),$=(a=>(a.ActiveBoostAmount="activeBoostAmount",a.LatestBlock="latestBlock",a.LatestBlockTime="latestBlockTime",a.QueuedBoostAmount="queuedBoostAmount",a.QueuedDropBoostAmount="queuedDropBoostAmount",a))($||{}),f=(t=>(t.Asc="asc",t.Desc="desc",t))(f||{}),N=(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))(N||{}),F=(t=>(t.Asc="asc",t.Desc="desc",t))(F||{}),W=(u=>(u.NinetyDays="NINETY_DAYS",u.SevenDays="SEVEN_DAYS",u.SixtyDays="SIXTY_DAYS",u.ThirtyDays="THIRTY_DAYS",u))(W||{}),J=e`
|
|
2
2
|
fragment ApiMinimalVaultIncentive on GqlRewardVaultIncentive {
|
|
3
3
|
remainingAmount
|
|
4
4
|
remainingAmountUsd
|
|
@@ -355,4 +355,4 @@ ${Y}`,tt=e`
|
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
|
-
`,z={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"]}},ut=z;export{J as ApiMinimalVaultIncentive,H as ApiRewardAllocationWeight,S as ApiValidator,Y as ApiValidatorBlockUptime,L as ApiValidatorInList,O as ApiValidatorIncentive,c as ApiValidatorMinimal,X as ApiValidatorRewardAllocationWeight,p as ApiVault,Q as ApiVaultIncentive,et as GetRewardVault,lt as GetSWberaVaultMetadata,it as GetSWberaVaultSnapshots,st as GetUserValidatorInformation,ot as GetUserVaults,Z as GetValidator,tt as GetValidators,nt as GetVaultHistory,at as GetVaultValidators,j as GetVaults,rt as GlobalData,d as GqlChain,m as GqlPoolAprItemType,g as GqlPoolEventType,
|
|
358
|
+
`,z={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"]}},ut=z;export{J as ApiMinimalVaultIncentive,H as ApiRewardAllocationWeight,S as ApiValidator,Y as ApiValidatorBlockUptime,L as ApiValidatorInList,O as ApiValidatorIncentive,c as ApiValidatorMinimal,X as ApiValidatorRewardAllocationWeight,p as ApiVault,Q as ApiVaultIncentive,et as GetRewardVault,lt as GetSWberaVaultMetadata,it as GetSWberaVaultSnapshots,st as GetUserValidatorInformation,ot as GetUserVaults,Z as GetValidator,tt as GetValidators,nt as GetVaultHistory,at as GetVaultValidators,j as GetVaults,rt as GlobalData,d as GqlChain,m as GqlPoolAprItemType,g as GqlPoolEventType,b as GqlPoolEventsDataRange,A as GqlPoolFilterCategory,G as GqlPoolJoinExitType,I as GqlPoolNestingType,q as GqlPoolOrderBy,B as GqlPoolOrderDirection,v as GqlPoolSnapshotDataRange,P as GqlPoolType,k as GqlRewardVaultIncentiveOrderBy,_ as GqlRewardVaultIncentiveOrderDirection,h as GqlRewardVaultOrderBy,M as GqlRewardVaultOrderDirection,D as GqlRewardVaultSnapshotDataRange,V as GqlRewardVaultSnapshotResolution,T as GqlSWberaVaultMetadataResolution,x as GqlSorSwapType,R as GqlTokenChartDataRange,w as GqlTokenType,C as GqlUserVaultDepositOrderBy,U as GqlUserVaultDepositOrderDirection,E as GqlValidatorBlockUptimeStatus,$ as GqlValidatorBoostOrderBy,f as GqlValidatorBoostOrderDirection,N as GqlValidatorOrderBy,F as GqlValidatorOrderDirection,W as GqlVaultSnapshotDataRange,ut as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var p=Object.defineProperty;var
|
|
1
|
+
"use strict";var p=Object.defineProperty;var _=Object.getOwnPropertyDescriptor;var S=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var g=(u,n)=>{for(var t in n)p(u,t,{get:n[t],enumerable:!0})},A=(u,n,t,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let e of S(n))!B.call(u,e)&&e!==t&&p(u,e,{get:()=>n[e],enumerable:!(r=_(n,e))||r.enumerable});return u};var x=u=>A(p({},"__esModule",{value:!0}),u);var H={};g(H,{Aggregation_Current:()=>y,Aggregation_Interval:()=>l,GetIncentiveFeeClaimStats:()=>d,IncentiveFeeClaimStats_OrderBy:()=>c,IncentiveFeeClaim_OrderBy:()=>o,IncentiveFeePayoutAmountHistory_OrderBy:()=>b,OrderDirection:()=>I,UserFeeHistory_OrderBy:()=>m,_SubgraphErrorPolicy_:()=>M,default:()=>h});module.exports=x(H);var s=require("@apollo/client"),y=(t=>(t.Exclude="exclude",t.Include="include",t))(y||{}),l=(t=>(t.Day="day",t.Hour="hour",t))(l||{}),c=(e=>(e.AllTimePayoutAmount="allTimePayoutAmount",e.Id="id",e.Timestamp="timestamp",e.TotalPayoutAmount="totalPayoutAmount",e))(c||{}),o=(i=>(i.BlockNumber="blockNumber",i.Caller="caller",i.Id="id",i.PayoutAmount="payoutAmount",i.Recipient="recipient",i.Timestamp="timestamp",i.TxHash="txHash",i))(o||{}),b=(a=>(a.BlockNumber="blockNumber",a.Id="id",a.NewPayoutAmount="newPayoutAmount",a.OldPayoutAmount="oldPayoutAmount",a.Timestamp="timestamp",a.TxHash="txHash",a))(b||{}),I=(t=>(t.Asc="asc",t.Desc="desc",t))(I||{}),m=(a=>(a.BlockNumber="blockNumber",a.CollectedBgtAmount="collectedBGTAmount",a.Id="id",a.Timestamp="timestamp",a.TxHash="txHash",a.User="user",a))(m||{}),M=(t=>(t.Allow="allow",t.Deny="deny",t))(M||{}),d=s.gql`
|
|
2
2
|
query GetIncentiveFeeClaimStats {
|
|
3
3
|
incentiveFeeClaims {
|
|
4
4
|
recipient
|
|
@@ -6,4 +6,4 @@
|
|
|
6
6
|
timestamp
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
`,
|
|
9
|
+
`,k={possibleTypes:{}},h=k;0&&(module.exports={Aggregation_Current,Aggregation_Interval,GetIncentiveFeeClaimStats,IncentiveFeeClaimStats_OrderBy,IncentiveFeeClaim_OrderBy,IncentiveFeePayoutAmountHistory_OrderBy,OrderDirection,UserFeeHistory_OrderBy,_SubgraphErrorPolicy_});
|
|
@@ -64,6 +64,13 @@ type Scalars = {
|
|
|
64
64
|
output: string;
|
|
65
65
|
};
|
|
66
66
|
};
|
|
67
|
+
/** Indicates whether the current, partially filled bucket should be included in the response. Defaults to `exclude` */
|
|
68
|
+
declare enum Aggregation_Current {
|
|
69
|
+
/** Exclude the current, partially filled bucket from the response */
|
|
70
|
+
Exclude = "exclude",
|
|
71
|
+
/** Include the current, partially filled bucket in the response */
|
|
72
|
+
Include = "include"
|
|
73
|
+
}
|
|
67
74
|
declare enum Aggregation_Interval {
|
|
68
75
|
Day = "day",
|
|
69
76
|
Hour = "hour"
|
|
@@ -303,6 +310,7 @@ type QueryIncentiveFeeClaimArgs = {
|
|
|
303
310
|
};
|
|
304
311
|
type QueryIncentiveFeeClaimStats_CollectionArgs = {
|
|
305
312
|
block?: InputMaybe<Block_Height>;
|
|
313
|
+
current?: InputMaybe<Aggregation_Current>;
|
|
306
314
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
307
315
|
interval: Aggregation_Interval;
|
|
308
316
|
orderBy?: InputMaybe<IncentiveFeeClaimStats_OrderBy>;
|
|
@@ -478,4 +486,4 @@ interface PossibleTypesResultData {
|
|
|
478
486
|
}
|
|
479
487
|
declare const result: PossibleTypesResultData;
|
|
480
488
|
|
|
481
|
-
export { Aggregation_Interval, type BlockChangedFilter, type Block_Height, type Exact, GetIncentiveFeeClaimStats, type GetIncentiveFeeClaimStatsQuery, type GetIncentiveFeeClaimStatsQueryVariables, type IncentiveFeeClaim, type IncentiveFeeClaimStats, type IncentiveFeeClaimStats_Filter, IncentiveFeeClaimStats_OrderBy, type IncentiveFeeClaim_Filter, IncentiveFeeClaim_OrderBy, type IncentiveFeePayoutAmountHistory, type IncentiveFeePayoutAmountHistory_Filter, IncentiveFeePayoutAmountHistory_OrderBy, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, OrderDirection, type PossibleTypesResultData, type Query, type QueryIncentiveFeeClaimArgs, type QueryIncentiveFeeClaimStats_CollectionArgs, type QueryIncentiveFeeClaimsArgs, type QueryIncentiveFeePayoutAmountHistoriesArgs, type QueryIncentiveFeePayoutAmountHistoryArgs, type QueryUserFeeHistoriesArgs, type QueryUserFeeHistoryArgs, type Query_MetaArgs, type Scalars, type UserFeeHistory, type UserFeeHistory_Filter, UserFeeHistory_OrderBy, type _Block_, type _Meta_, _SubgraphErrorPolicy_, result as default };
|
|
489
|
+
export { Aggregation_Current, Aggregation_Interval, type BlockChangedFilter, type Block_Height, type Exact, GetIncentiveFeeClaimStats, type GetIncentiveFeeClaimStatsQuery, type GetIncentiveFeeClaimStatsQueryVariables, type IncentiveFeeClaim, type IncentiveFeeClaimStats, type IncentiveFeeClaimStats_Filter, IncentiveFeeClaimStats_OrderBy, type IncentiveFeeClaim_Filter, IncentiveFeeClaim_OrderBy, type IncentiveFeePayoutAmountHistory, type IncentiveFeePayoutAmountHistory_Filter, IncentiveFeePayoutAmountHistory_OrderBy, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, OrderDirection, type PossibleTypesResultData, type Query, type QueryIncentiveFeeClaimArgs, type QueryIncentiveFeeClaimStats_CollectionArgs, type QueryIncentiveFeeClaimsArgs, type QueryIncentiveFeePayoutAmountHistoriesArgs, type QueryIncentiveFeePayoutAmountHistoryArgs, type QueryUserFeeHistoriesArgs, type QueryUserFeeHistoryArgs, type Query_MetaArgs, type Scalars, type UserFeeHistory, type UserFeeHistory_Filter, UserFeeHistory_OrderBy, type _Block_, type _Meta_, _SubgraphErrorPolicy_, result as default };
|
|
@@ -64,6 +64,13 @@ type Scalars = {
|
|
|
64
64
|
output: string;
|
|
65
65
|
};
|
|
66
66
|
};
|
|
67
|
+
/** Indicates whether the current, partially filled bucket should be included in the response. Defaults to `exclude` */
|
|
68
|
+
declare enum Aggregation_Current {
|
|
69
|
+
/** Exclude the current, partially filled bucket from the response */
|
|
70
|
+
Exclude = "exclude",
|
|
71
|
+
/** Include the current, partially filled bucket in the response */
|
|
72
|
+
Include = "include"
|
|
73
|
+
}
|
|
67
74
|
declare enum Aggregation_Interval {
|
|
68
75
|
Day = "day",
|
|
69
76
|
Hour = "hour"
|
|
@@ -303,6 +310,7 @@ type QueryIncentiveFeeClaimArgs = {
|
|
|
303
310
|
};
|
|
304
311
|
type QueryIncentiveFeeClaimStats_CollectionArgs = {
|
|
305
312
|
block?: InputMaybe<Block_Height>;
|
|
313
|
+
current?: InputMaybe<Aggregation_Current>;
|
|
306
314
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
307
315
|
interval: Aggregation_Interval;
|
|
308
316
|
orderBy?: InputMaybe<IncentiveFeeClaimStats_OrderBy>;
|
|
@@ -478,4 +486,4 @@ interface PossibleTypesResultData {
|
|
|
478
486
|
}
|
|
479
487
|
declare const result: PossibleTypesResultData;
|
|
480
488
|
|
|
481
|
-
export { Aggregation_Interval, type BlockChangedFilter, type Block_Height, type Exact, GetIncentiveFeeClaimStats, type GetIncentiveFeeClaimStatsQuery, type GetIncentiveFeeClaimStatsQueryVariables, type IncentiveFeeClaim, type IncentiveFeeClaimStats, type IncentiveFeeClaimStats_Filter, IncentiveFeeClaimStats_OrderBy, type IncentiveFeeClaim_Filter, IncentiveFeeClaim_OrderBy, type IncentiveFeePayoutAmountHistory, type IncentiveFeePayoutAmountHistory_Filter, IncentiveFeePayoutAmountHistory_OrderBy, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, OrderDirection, type PossibleTypesResultData, type Query, type QueryIncentiveFeeClaimArgs, type QueryIncentiveFeeClaimStats_CollectionArgs, type QueryIncentiveFeeClaimsArgs, type QueryIncentiveFeePayoutAmountHistoriesArgs, type QueryIncentiveFeePayoutAmountHistoryArgs, type QueryUserFeeHistoriesArgs, type QueryUserFeeHistoryArgs, type Query_MetaArgs, type Scalars, type UserFeeHistory, type UserFeeHistory_Filter, UserFeeHistory_OrderBy, type _Block_, type _Meta_, _SubgraphErrorPolicy_, result as default };
|
|
489
|
+
export { Aggregation_Current, Aggregation_Interval, type BlockChangedFilter, type Block_Height, type Exact, GetIncentiveFeeClaimStats, type GetIncentiveFeeClaimStatsQuery, type GetIncentiveFeeClaimStatsQueryVariables, type IncentiveFeeClaim, type IncentiveFeeClaimStats, type IncentiveFeeClaimStats_Filter, IncentiveFeeClaimStats_OrderBy, type IncentiveFeeClaim_Filter, IncentiveFeeClaim_OrderBy, type IncentiveFeePayoutAmountHistory, type IncentiveFeePayoutAmountHistory_Filter, IncentiveFeePayoutAmountHistory_OrderBy, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, OrderDirection, type PossibleTypesResultData, type Query, type QueryIncentiveFeeClaimArgs, type QueryIncentiveFeeClaimStats_CollectionArgs, type QueryIncentiveFeeClaimsArgs, type QueryIncentiveFeePayoutAmountHistoriesArgs, type QueryIncentiveFeePayoutAmountHistoryArgs, type QueryUserFeeHistoriesArgs, type QueryUserFeeHistoryArgs, type Query_MetaArgs, type Scalars, type UserFeeHistory, type UserFeeHistory_Filter, UserFeeHistory_OrderBy, type _Block_, type _Meta_, _SubgraphErrorPolicy_, result as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{gql as u}from"@apollo/client";var i=(a=>(a.Day="day",a.Hour="hour",a))(
|
|
1
|
+
import{gql as u}from"@apollo/client";var i=(a=>(a.Exclude="exclude",a.Include="include",a))(i||{}),p=(a=>(a.Day="day",a.Hour="hour",a))(p||{}),r=(n=>(n.AllTimePayoutAmount="allTimePayoutAmount",n.Id="id",n.Timestamp="timestamp",n.TotalPayoutAmount="totalPayoutAmount",n))(r||{}),s=(e=>(e.BlockNumber="blockNumber",e.Caller="caller",e.Id="id",e.PayoutAmount="payoutAmount",e.Recipient="recipient",e.Timestamp="timestamp",e.TxHash="txHash",e))(s||{}),y=(t=>(t.BlockNumber="blockNumber",t.Id="id",t.NewPayoutAmount="newPayoutAmount",t.OldPayoutAmount="oldPayoutAmount",t.Timestamp="timestamp",t.TxHash="txHash",t))(y||{}),l=(a=>(a.Asc="asc",a.Desc="desc",a))(l||{}),c=(t=>(t.BlockNumber="blockNumber",t.CollectedBgtAmount="collectedBGTAmount",t.Id="id",t.Timestamp="timestamp",t.TxHash="txHash",t.User="user",t))(c||{}),o=(a=>(a.Allow="allow",a.Deny="deny",a))(o||{}),m=u`
|
|
2
2
|
query GetIncentiveFeeClaimStats {
|
|
3
3
|
incentiveFeeClaims {
|
|
4
4
|
recipient
|
|
@@ -6,4 +6,4 @@ import{gql as u}from"@apollo/client";var i=(a=>(a.Day="day",a.Hour="hour",a))(i|
|
|
|
6
6
|
timestamp
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
`,
|
|
9
|
+
`,b={possibleTypes:{}},M=b;export{i as Aggregation_Current,p as Aggregation_Interval,m as GetIncentiveFeeClaimStats,r as IncentiveFeeClaimStats_OrderBy,s as IncentiveFeeClaim_OrderBy,y as IncentiveFeePayoutAmountHistory_OrderBy,l as OrderDirection,c as UserFeeHistory_OrderBy,o as _SubgraphErrorPolicy_,M as default};
|