@berachain/graphql 0.4.15 → 0.4.16-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dex/api.codegen.cjs +1 -1
- package/dist/dex/api.codegen.d.cts +3 -0
- package/dist/dex/api.codegen.d.ts +3 -0
- package/dist/dex/api.codegen.mjs +17 -17
- package/dist/pol/api.codegen.cjs +35 -22
- package/dist/pol/api.codegen.d.cts +23 -1
- package/dist/pol/api.codegen.d.ts +23 -1
- package/dist/pol/api.codegen.mjs +19 -6
- package/package.json +1 -1
- package/dist/chain/chain.codegen.cjs +0 -12
- package/dist/chain/chain.codegen.d.cts +0 -351
- package/dist/chain/chain.codegen.d.ts +0 -351
- package/dist/chain/chain.codegen.mjs +0 -12
- package/dist/honey/honey.codegen.cjs +0 -42
- package/dist/honey/honey.codegen.d.cts +0 -735
- package/dist/honey/honey.codegen.d.ts +0 -735
- package/dist/honey/honey.codegen.mjs +0 -42
- package/dist/pol/subgraph.codegen.cjs +0 -102
- package/dist/pol/subgraph.codegen.d.cts +0 -4133
- package/dist/pol/subgraph.codegen.d.ts +0 -4133
- package/dist/pol/subgraph.codegen.mjs +0 -102
|
@@ -1995,6 +1995,7 @@ type GqlValidatorDynamicData = {
|
|
|
1995
1995
|
activeBoostAmountRank: Scalars['Int']['output'];
|
|
1996
1996
|
allTimeDistributedBGTAmount: Scalars['String']['output'];
|
|
1997
1997
|
allTimeEarnedBGTAmount: Scalars['String']['output'];
|
|
1998
|
+
allTimeProposedBlockCount: Scalars['Int']['output'];
|
|
1998
1999
|
apy: Scalars['String']['output'];
|
|
1999
2000
|
bgtCapturePerBlock: Scalars['String']['output'];
|
|
2000
2001
|
bgtCapturePercentage: Scalars['String']['output'];
|
|
@@ -2003,6 +2004,7 @@ type GqlValidatorDynamicData = {
|
|
|
2003
2004
|
commissionOnIncentives: Scalars['Int']['output'];
|
|
2004
2005
|
lastDayDistributedBGTAmount: Scalars['String']['output'];
|
|
2005
2006
|
lastDayEarnedBGTAmount: Scalars['String']['output'];
|
|
2007
|
+
lastDayProposedBlockCount: Scalars['Int']['output'];
|
|
2006
2008
|
queuedBoostAmount: Scalars['String']['output'];
|
|
2007
2009
|
rewardRate: Scalars['String']['output'];
|
|
2008
2010
|
stakedBeraAmount: Scalars['String']['output'];
|
|
@@ -2066,6 +2068,7 @@ declare enum GqlValidatorOrderBy {
|
|
|
2066
2068
|
CommissionOnIncentives = "commissionOnIncentives",
|
|
2067
2069
|
LastDayDistributedBgtAmount = "lastDayDistributedBGTAmount",
|
|
2068
2070
|
LastDayEarnedBgtAmount = "lastDayEarnedBGTAmount",
|
|
2071
|
+
LastDayProposedBlockCount = "lastDayProposedBlockCount",
|
|
2069
2072
|
QueuedBoostAmount = "queuedBoostAmount",
|
|
2070
2073
|
QueuedDropBoostAmount = "queuedDropBoostAmount",
|
|
2071
2074
|
RewardRate = "rewardRate",
|
|
@@ -3427,6 +3430,24 @@ type GetUserValidatorInformationQuery = {
|
|
|
3427
3430
|
}>;
|
|
3428
3431
|
};
|
|
3429
3432
|
};
|
|
3433
|
+
type GetBendVaultsQueryVariables = Exact<{
|
|
3434
|
+
[key: string]: never;
|
|
3435
|
+
}>;
|
|
3436
|
+
type GetBendVaultsQuery = {
|
|
3437
|
+
__typename?: 'Query';
|
|
3438
|
+
bendVaults: Array<{
|
|
3439
|
+
__typename?: 'BendVaultResponse';
|
|
3440
|
+
vaultAddress: `0x${string}`;
|
|
3441
|
+
loanTokenAddress: `0x${string}`;
|
|
3442
|
+
dynamicData?: {
|
|
3443
|
+
__typename?: 'BendVaultDynamicData';
|
|
3444
|
+
totalApy: number;
|
|
3445
|
+
nativeApy: number;
|
|
3446
|
+
platformFee: number;
|
|
3447
|
+
performanceFee: number;
|
|
3448
|
+
} | null;
|
|
3449
|
+
}>;
|
|
3450
|
+
};
|
|
3430
3451
|
declare const ApiMinimalVaultIncentive: _apollo_client.DocumentNode;
|
|
3431
3452
|
declare const ApiValidatorMinimal: _apollo_client.DocumentNode;
|
|
3432
3453
|
declare const ApiVaultIncentive: _apollo_client.DocumentNode;
|
|
@@ -3448,6 +3469,7 @@ declare const GetVaultHistory: _apollo_client.DocumentNode;
|
|
|
3448
3469
|
declare const GetSWberaVaultMetadata: _apollo_client.DocumentNode;
|
|
3449
3470
|
declare const GetSWberaVaultSnapshots: _apollo_client.DocumentNode;
|
|
3450
3471
|
declare const GetUserValidatorInformation: _apollo_client.DocumentNode;
|
|
3472
|
+
declare const GetBendVaults: _apollo_client.DocumentNode;
|
|
3451
3473
|
interface PossibleTypesResultData {
|
|
3452
3474
|
possibleTypes: {
|
|
3453
3475
|
[key: string]: string[];
|
|
@@ -3455,4 +3477,4 @@ interface PossibleTypesResultData {
|
|
|
3455
3477
|
}
|
|
3456
3478
|
declare const result: PossibleTypesResultData;
|
|
3457
3479
|
|
|
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 };
|
|
3480
|
+
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, GetBendVaults, type GetBendVaultsQuery, type GetBendVaultsQueryVariables, 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||{}),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||{}),
|
|
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||{}),D=(t=>(t.Asc="asc",t.Desc="desc",t))(D||{}),M=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.SixtyDays="SIXTY_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(M||{}),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.LastDayProposedBlockCount="lastDayProposedBlockCount",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
|
|
@@ -138,7 +138,7 @@ ${H}`,X=e`
|
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
|
-
`,
|
|
141
|
+
`,L=e`
|
|
142
142
|
fragment ApiValidatorIncentive on GqlValidatorIncentive {
|
|
143
143
|
tokenAddress
|
|
144
144
|
remainingAmount
|
|
@@ -152,7 +152,7 @@ ${H}`,X=e`
|
|
|
152
152
|
decimals
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
|
-
`,
|
|
155
|
+
`,O=e`
|
|
156
156
|
fragment ApiValidatorInList on GqlValidator {
|
|
157
157
|
...ApiValidatorMinimal
|
|
158
158
|
operator
|
|
@@ -174,7 +174,7 @@ ${H}`,X=e`
|
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
176
|
${c}
|
|
177
|
-
${
|
|
177
|
+
${L}`,Y=e`
|
|
178
178
|
fragment ApiValidatorBlockUptime on GqlValidatorBlockUptime {
|
|
179
179
|
isActive
|
|
180
180
|
isProposer
|
|
@@ -233,7 +233,7 @@ ${Y}`,tt=e`
|
|
|
233
233
|
}
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
|
-
${
|
|
236
|
+
${O}`,at=e`
|
|
237
237
|
query GetVaultValidators($vaultId: String!, $chain: GqlChain, $isActive: Boolean = true) {
|
|
238
238
|
validators: polGetValidators(
|
|
239
239
|
where: {vaultAddress: $vaultId, isActive: $isActive}
|
|
@@ -355,4 +355,17 @@ ${Y}`,tt=e`
|
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
|
-
`,
|
|
358
|
+
`,ut=e`
|
|
359
|
+
query GetBendVaults {
|
|
360
|
+
bendVaults {
|
|
361
|
+
vaultAddress
|
|
362
|
+
loanTokenAddress
|
|
363
|
+
dynamicData {
|
|
364
|
+
totalApy
|
|
365
|
+
nativeApy
|
|
366
|
+
platformFee
|
|
367
|
+
performanceFee
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
`,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"]}},pt=z;export{J as ApiMinimalVaultIncentive,H as ApiRewardAllocationWeight,S as ApiValidator,Y as ApiValidatorBlockUptime,O as ApiValidatorInList,L as ApiValidatorIncentive,c as ApiValidatorMinimal,X as ApiValidatorRewardAllocationWeight,p as ApiVault,Q as ApiVaultIncentive,ut as GetBendVaults,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,D as GqlRewardVaultOrderDirection,M 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,pt as default};
|
package/package.json
CHANGED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";var u=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var b=Object.prototype.hasOwnProperty;var S=(e,n)=>{for(var a in n)u(e,a,{get:n[a],enumerable:!0})},M=(e,n,a,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let s of I(n))!b.call(e,s)&&s!==a&&u(e,s,{get:()=>n[s],enumerable:!(i=c(n,s))||i.enumerable});return e};var _=e=>M(u({},"__esModule",{value:!0}),e);var h={};S(h,{Aggregation_Interval:()=>r,Block_OrderBy:()=>y,GetBlocksTimeStamp:()=>B,OrderDirection:()=>l,_SubgraphErrorPolicy_:()=>o,default:()=>m});module.exports=_(h);var p=require("@apollo/client"),r=(a=>(a.Day="day",a.Hour="hour",a))(r||{}),y=(t=>(t.Author="author",t.BaseFeePerGas="baseFeePerGas",t.Difficulty="difficulty",t.GasLimit="gasLimit",t.GasUsed="gasUsed",t.Hash="hash",t.Id="id",t.Number="number",t.ParentHash="parentHash",t.ReceiptsRoot="receiptsRoot",t.Size="size",t.StateRoot="stateRoot",t.Timestamp="timestamp",t.TotalDifficulty="totalDifficulty",t.TransactionsRoot="transactionsRoot",t.UnclesHash="unclesHash",t))(y||{}),l=(a=>(a.Asc="asc",a.Desc="desc",a))(l||{}),o=(a=>(a.Allow="allow",a.Deny="deny",a))(o||{}),B=p.gql`
|
|
2
|
-
query GetBlocksTimeStamp($skip: Int!) {
|
|
3
|
-
newest: blocks(first: 1, orderBy: timestamp, orderDirection: desc) {
|
|
4
|
-
timestamp
|
|
5
|
-
number
|
|
6
|
-
}
|
|
7
|
-
oldest: blocks(first: 1, orderBy: timestamp, orderDirection: desc, skip: $skip) {
|
|
8
|
-
timestamp
|
|
9
|
-
number
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
`,g={possibleTypes:{}},m=g;0&&(module.exports={Aggregation_Interval,Block_OrderBy,GetBlocksTimeStamp,OrderDirection,_SubgraphErrorPolicy_});
|
|
@@ -1,351 +0,0 @@
|
|
|
1
|
-
import * as _apollo_client from '@apollo/client';
|
|
2
|
-
|
|
3
|
-
type Maybe<T> = T | null;
|
|
4
|
-
type InputMaybe<T> = Maybe<T>;
|
|
5
|
-
type Exact<T extends {
|
|
6
|
-
[key: string]: unknown;
|
|
7
|
-
}> = {
|
|
8
|
-
[K in keyof T]: T[K];
|
|
9
|
-
};
|
|
10
|
-
type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
11
|
-
[SubKey in K]?: Maybe<T[SubKey]>;
|
|
12
|
-
};
|
|
13
|
-
type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
14
|
-
[SubKey in K]: Maybe<T[SubKey]>;
|
|
15
|
-
};
|
|
16
|
-
type MakeEmpty<T extends {
|
|
17
|
-
[key: string]: unknown;
|
|
18
|
-
}, K extends keyof T> = {
|
|
19
|
-
[_ in K]?: never;
|
|
20
|
-
};
|
|
21
|
-
type Incremental<T> = T | {
|
|
22
|
-
[P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
|
|
23
|
-
};
|
|
24
|
-
/** All built-in and custom scalars, mapped to their actual values */
|
|
25
|
-
type Scalars = {
|
|
26
|
-
ID: {
|
|
27
|
-
input: string;
|
|
28
|
-
output: string;
|
|
29
|
-
};
|
|
30
|
-
String: {
|
|
31
|
-
input: string;
|
|
32
|
-
output: string;
|
|
33
|
-
};
|
|
34
|
-
Boolean: {
|
|
35
|
-
input: boolean;
|
|
36
|
-
output: boolean;
|
|
37
|
-
};
|
|
38
|
-
Int: {
|
|
39
|
-
input: number;
|
|
40
|
-
output: number;
|
|
41
|
-
};
|
|
42
|
-
Float: {
|
|
43
|
-
input: number;
|
|
44
|
-
output: number;
|
|
45
|
-
};
|
|
46
|
-
BigDecimal: {
|
|
47
|
-
input: string;
|
|
48
|
-
output: string;
|
|
49
|
-
};
|
|
50
|
-
BigInt: {
|
|
51
|
-
input: string;
|
|
52
|
-
output: string;
|
|
53
|
-
};
|
|
54
|
-
Bytes: {
|
|
55
|
-
input: `0x${string}`;
|
|
56
|
-
output: `0x${string}`;
|
|
57
|
-
};
|
|
58
|
-
Int8: {
|
|
59
|
-
input: string;
|
|
60
|
-
output: string;
|
|
61
|
-
};
|
|
62
|
-
Timestamp: {
|
|
63
|
-
input: string;
|
|
64
|
-
output: string;
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
declare enum Aggregation_Interval {
|
|
68
|
-
Day = "day",
|
|
69
|
-
Hour = "hour"
|
|
70
|
-
}
|
|
71
|
-
type Block = {
|
|
72
|
-
__typename?: 'Block';
|
|
73
|
-
author: Scalars['Bytes']['output'];
|
|
74
|
-
baseFeePerGas?: Maybe<Scalars['BigInt']['output']>;
|
|
75
|
-
difficulty: Scalars['BigInt']['output'];
|
|
76
|
-
gasLimit: Scalars['BigInt']['output'];
|
|
77
|
-
gasUsed: Scalars['BigInt']['output'];
|
|
78
|
-
hash: Scalars['Bytes']['output'];
|
|
79
|
-
id: Scalars['Bytes']['output'];
|
|
80
|
-
number: Scalars['BigInt']['output'];
|
|
81
|
-
parentHash: Scalars['Bytes']['output'];
|
|
82
|
-
receiptsRoot: Scalars['Bytes']['output'];
|
|
83
|
-
size?: Maybe<Scalars['BigInt']['output']>;
|
|
84
|
-
stateRoot: Scalars['Bytes']['output'];
|
|
85
|
-
timestamp: Scalars['BigInt']['output'];
|
|
86
|
-
totalDifficulty: Scalars['BigInt']['output'];
|
|
87
|
-
transactionsRoot: Scalars['Bytes']['output'];
|
|
88
|
-
unclesHash: Scalars['Bytes']['output'];
|
|
89
|
-
};
|
|
90
|
-
type BlockChangedFilter = {
|
|
91
|
-
number_gte: Scalars['Int']['input'];
|
|
92
|
-
};
|
|
93
|
-
type Block_Filter = {
|
|
94
|
-
/** Filter for the block changed event. */
|
|
95
|
-
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
96
|
-
and?: InputMaybe<Array<InputMaybe<Block_Filter>>>;
|
|
97
|
-
author?: InputMaybe<Scalars['Bytes']['input']>;
|
|
98
|
-
author_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
99
|
-
author_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
100
|
-
author_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
101
|
-
author_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
102
|
-
author_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
103
|
-
author_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
104
|
-
author_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
105
|
-
author_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
106
|
-
author_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
107
|
-
baseFeePerGas?: InputMaybe<Scalars['BigInt']['input']>;
|
|
108
|
-
baseFeePerGas_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
109
|
-
baseFeePerGas_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
110
|
-
baseFeePerGas_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
111
|
-
baseFeePerGas_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
112
|
-
baseFeePerGas_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
113
|
-
baseFeePerGas_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
114
|
-
baseFeePerGas_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
115
|
-
difficulty?: InputMaybe<Scalars['BigInt']['input']>;
|
|
116
|
-
difficulty_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
117
|
-
difficulty_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
118
|
-
difficulty_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
119
|
-
difficulty_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
120
|
-
difficulty_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
121
|
-
difficulty_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
122
|
-
difficulty_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
123
|
-
gasLimit?: InputMaybe<Scalars['BigInt']['input']>;
|
|
124
|
-
gasLimit_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
125
|
-
gasLimit_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
126
|
-
gasLimit_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
127
|
-
gasLimit_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
128
|
-
gasLimit_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
129
|
-
gasLimit_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
130
|
-
gasLimit_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
131
|
-
gasUsed?: InputMaybe<Scalars['BigInt']['input']>;
|
|
132
|
-
gasUsed_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
133
|
-
gasUsed_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
134
|
-
gasUsed_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
135
|
-
gasUsed_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
136
|
-
gasUsed_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
137
|
-
gasUsed_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
138
|
-
gasUsed_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
139
|
-
hash?: InputMaybe<Scalars['Bytes']['input']>;
|
|
140
|
-
hash_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
141
|
-
hash_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
142
|
-
hash_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
143
|
-
hash_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
144
|
-
hash_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
145
|
-
hash_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
146
|
-
hash_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
147
|
-
hash_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
148
|
-
hash_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
149
|
-
id?: InputMaybe<Scalars['Bytes']['input']>;
|
|
150
|
-
id_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
151
|
-
id_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
152
|
-
id_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
153
|
-
id_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
154
|
-
id_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
155
|
-
id_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
156
|
-
id_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
157
|
-
id_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
158
|
-
id_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
159
|
-
number?: InputMaybe<Scalars['BigInt']['input']>;
|
|
160
|
-
number_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
161
|
-
number_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
162
|
-
number_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
163
|
-
number_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
164
|
-
number_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
165
|
-
number_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
166
|
-
number_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
167
|
-
or?: InputMaybe<Array<InputMaybe<Block_Filter>>>;
|
|
168
|
-
parentHash?: InputMaybe<Scalars['Bytes']['input']>;
|
|
169
|
-
parentHash_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
170
|
-
parentHash_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
171
|
-
parentHash_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
172
|
-
parentHash_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
173
|
-
parentHash_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
174
|
-
parentHash_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
175
|
-
parentHash_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
176
|
-
parentHash_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
177
|
-
parentHash_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
178
|
-
receiptsRoot?: InputMaybe<Scalars['Bytes']['input']>;
|
|
179
|
-
receiptsRoot_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
180
|
-
receiptsRoot_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
181
|
-
receiptsRoot_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
182
|
-
receiptsRoot_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
183
|
-
receiptsRoot_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
184
|
-
receiptsRoot_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
185
|
-
receiptsRoot_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
186
|
-
receiptsRoot_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
187
|
-
receiptsRoot_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
188
|
-
size?: InputMaybe<Scalars['BigInt']['input']>;
|
|
189
|
-
size_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
190
|
-
size_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
191
|
-
size_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
192
|
-
size_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
193
|
-
size_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
194
|
-
size_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
195
|
-
size_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
196
|
-
stateRoot?: InputMaybe<Scalars['Bytes']['input']>;
|
|
197
|
-
stateRoot_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
198
|
-
stateRoot_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
199
|
-
stateRoot_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
200
|
-
stateRoot_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
201
|
-
stateRoot_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
202
|
-
stateRoot_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
203
|
-
stateRoot_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
204
|
-
stateRoot_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
205
|
-
stateRoot_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
206
|
-
timestamp?: InputMaybe<Scalars['BigInt']['input']>;
|
|
207
|
-
timestamp_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
208
|
-
timestamp_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
209
|
-
timestamp_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
210
|
-
timestamp_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
211
|
-
timestamp_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
212
|
-
timestamp_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
213
|
-
timestamp_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
214
|
-
totalDifficulty?: InputMaybe<Scalars['BigInt']['input']>;
|
|
215
|
-
totalDifficulty_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
216
|
-
totalDifficulty_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
217
|
-
totalDifficulty_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
218
|
-
totalDifficulty_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
219
|
-
totalDifficulty_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
220
|
-
totalDifficulty_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
221
|
-
totalDifficulty_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
222
|
-
transactionsRoot?: InputMaybe<Scalars['Bytes']['input']>;
|
|
223
|
-
transactionsRoot_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
224
|
-
transactionsRoot_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
225
|
-
transactionsRoot_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
226
|
-
transactionsRoot_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
227
|
-
transactionsRoot_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
228
|
-
transactionsRoot_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
229
|
-
transactionsRoot_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
230
|
-
transactionsRoot_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
231
|
-
transactionsRoot_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
232
|
-
unclesHash?: InputMaybe<Scalars['Bytes']['input']>;
|
|
233
|
-
unclesHash_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
234
|
-
unclesHash_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
235
|
-
unclesHash_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
236
|
-
unclesHash_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
237
|
-
unclesHash_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
238
|
-
unclesHash_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
239
|
-
unclesHash_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
240
|
-
unclesHash_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
241
|
-
unclesHash_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
242
|
-
};
|
|
243
|
-
type Block_Height = {
|
|
244
|
-
hash?: InputMaybe<Scalars['Bytes']['input']>;
|
|
245
|
-
number?: InputMaybe<Scalars['Int']['input']>;
|
|
246
|
-
number_gte?: InputMaybe<Scalars['Int']['input']>;
|
|
247
|
-
};
|
|
248
|
-
declare enum Block_OrderBy {
|
|
249
|
-
Author = "author",
|
|
250
|
-
BaseFeePerGas = "baseFeePerGas",
|
|
251
|
-
Difficulty = "difficulty",
|
|
252
|
-
GasLimit = "gasLimit",
|
|
253
|
-
GasUsed = "gasUsed",
|
|
254
|
-
Hash = "hash",
|
|
255
|
-
Id = "id",
|
|
256
|
-
Number = "number",
|
|
257
|
-
ParentHash = "parentHash",
|
|
258
|
-
ReceiptsRoot = "receiptsRoot",
|
|
259
|
-
Size = "size",
|
|
260
|
-
StateRoot = "stateRoot",
|
|
261
|
-
Timestamp = "timestamp",
|
|
262
|
-
TotalDifficulty = "totalDifficulty",
|
|
263
|
-
TransactionsRoot = "transactionsRoot",
|
|
264
|
-
UnclesHash = "unclesHash"
|
|
265
|
-
}
|
|
266
|
-
/** Defines the order direction, either ascending or descending */
|
|
267
|
-
declare enum OrderDirection {
|
|
268
|
-
Asc = "asc",
|
|
269
|
-
Desc = "desc"
|
|
270
|
-
}
|
|
271
|
-
type Query = {
|
|
272
|
-
__typename?: 'Query';
|
|
273
|
-
/** Access to subgraph metadata */
|
|
274
|
-
_meta?: Maybe<_Meta_>;
|
|
275
|
-
block?: Maybe<Block>;
|
|
276
|
-
blocks: Array<Block>;
|
|
277
|
-
};
|
|
278
|
-
type Query_MetaArgs = {
|
|
279
|
-
block?: InputMaybe<Block_Height>;
|
|
280
|
-
};
|
|
281
|
-
type QueryBlockArgs = {
|
|
282
|
-
block?: InputMaybe<Block_Height>;
|
|
283
|
-
id: Scalars['ID']['input'];
|
|
284
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
285
|
-
};
|
|
286
|
-
type QueryBlocksArgs = {
|
|
287
|
-
block?: InputMaybe<Block_Height>;
|
|
288
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
289
|
-
orderBy?: InputMaybe<Block_OrderBy>;
|
|
290
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
291
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
292
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
293
|
-
where?: InputMaybe<Block_Filter>;
|
|
294
|
-
};
|
|
295
|
-
type _Block_ = {
|
|
296
|
-
__typename?: '_Block_';
|
|
297
|
-
/** The hash of the block */
|
|
298
|
-
hash?: Maybe<Scalars['Bytes']['output']>;
|
|
299
|
-
/** The block number */
|
|
300
|
-
number: Scalars['Int']['output'];
|
|
301
|
-
/** The hash of the parent block */
|
|
302
|
-
parentHash?: Maybe<Scalars['Bytes']['output']>;
|
|
303
|
-
/** Integer representation of the timestamp stored in blocks for the chain */
|
|
304
|
-
timestamp?: Maybe<Scalars['Int']['output']>;
|
|
305
|
-
};
|
|
306
|
-
/** The type for the top-level _meta field */
|
|
307
|
-
type _Meta_ = {
|
|
308
|
-
__typename?: '_Meta_';
|
|
309
|
-
/**
|
|
310
|
-
* Information about a specific subgraph block. The hash of the block
|
|
311
|
-
* will be null if the _meta field has a block constraint that asks for
|
|
312
|
-
* a block number. It will be filled if the _meta field has no block constraint
|
|
313
|
-
* and therefore asks for the latest block
|
|
314
|
-
*/
|
|
315
|
-
block: _Block_;
|
|
316
|
-
/** The deployment ID */
|
|
317
|
-
deployment: Scalars['String']['output'];
|
|
318
|
-
/** If `true`, the subgraph encountered indexing errors at some past block */
|
|
319
|
-
hasIndexingErrors: Scalars['Boolean']['output'];
|
|
320
|
-
};
|
|
321
|
-
declare enum _SubgraphErrorPolicy_ {
|
|
322
|
-
/** Data will be returned even if the subgraph has indexing errors */
|
|
323
|
-
Allow = "allow",
|
|
324
|
-
/** If the subgraph has indexing errors, data will be omitted. The default. */
|
|
325
|
-
Deny = "deny"
|
|
326
|
-
}
|
|
327
|
-
type GetBlocksTimeStampQueryVariables = Exact<{
|
|
328
|
-
skip: Scalars['Int']['input'];
|
|
329
|
-
}>;
|
|
330
|
-
type GetBlocksTimeStampQuery = {
|
|
331
|
-
__typename?: 'Query';
|
|
332
|
-
newest: Array<{
|
|
333
|
-
__typename?: 'Block';
|
|
334
|
-
timestamp: string;
|
|
335
|
-
number: string;
|
|
336
|
-
}>;
|
|
337
|
-
oldest: Array<{
|
|
338
|
-
__typename?: 'Block';
|
|
339
|
-
timestamp: string;
|
|
340
|
-
number: string;
|
|
341
|
-
}>;
|
|
342
|
-
};
|
|
343
|
-
declare const GetBlocksTimeStamp: _apollo_client.DocumentNode;
|
|
344
|
-
interface PossibleTypesResultData {
|
|
345
|
-
possibleTypes: {
|
|
346
|
-
[key: string]: string[];
|
|
347
|
-
};
|
|
348
|
-
}
|
|
349
|
-
declare const result: PossibleTypesResultData;
|
|
350
|
-
|
|
351
|
-
export { Aggregation_Interval, type Block, type BlockChangedFilter, type Block_Filter, type Block_Height, Block_OrderBy, type Exact, GetBlocksTimeStamp, type GetBlocksTimeStampQuery, type GetBlocksTimeStampQueryVariables, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, OrderDirection, type PossibleTypesResultData, type Query, type QueryBlockArgs, type QueryBlocksArgs, type Query_MetaArgs, type Scalars, type _Block_, type _Meta_, _SubgraphErrorPolicy_, result as default };
|