@berachain/graphql 0.5.1 → 0.5.2-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/beep/beep.codegen.d.ts +23 -17
- package/dist/dex/api.codegen.d.ts +1 -8
- package/dist/pol/api.codegen.d.ts +1 -8
- package/dist/pol/subgraph.codegen.d.ts +1 -29
- package/dist/pol/subgraph.codegen.mjs +0 -25
- package/package.json +3 -30
- package/dist/api/api.codegen.d.ts +0 -740
- package/dist/api/api.codegen.mjs +0 -0
- package/dist/honey/honey.codegen.d.ts +0 -807
- package/dist/honey/honey.codegen.mjs +0 -169
|
@@ -105,8 +105,8 @@ type paths = {
|
|
|
105
105
|
shares: components["schemas"]["BigIntStr"];
|
|
106
106
|
/** @enum {string} */
|
|
107
107
|
_type: "deposit" | "withdrawal";
|
|
108
|
-
sender:
|
|
109
|
-
owner:
|
|
108
|
+
sender: components["schemas"]["EvmAddress"];
|
|
109
|
+
owner: components["schemas"]["EvmAddress"];
|
|
110
110
|
total_assets: components["schemas"]["BigIntStr"];
|
|
111
111
|
} | {
|
|
112
112
|
_height: components["schemas"]["BigIntStr"];
|
|
@@ -115,8 +115,8 @@ type paths = {
|
|
|
115
115
|
shares: components["schemas"]["BigIntStr"];
|
|
116
116
|
/** @enum {string} */
|
|
117
117
|
_type: "transfer";
|
|
118
|
-
from:
|
|
119
|
-
to:
|
|
118
|
+
from: components["schemas"]["EvmAddress"];
|
|
119
|
+
to: components["schemas"]["EvmAddress"];
|
|
120
120
|
value: components["schemas"]["BigIntStr"];
|
|
121
121
|
})[];
|
|
122
122
|
};
|
|
@@ -196,11 +196,11 @@ type paths = {
|
|
|
196
196
|
};
|
|
197
197
|
content: {
|
|
198
198
|
"application/json": {
|
|
199
|
-
id:
|
|
200
|
-
pubkey:
|
|
201
|
-
operator:
|
|
202
|
-
credentials:
|
|
203
|
-
rewardAllocator:
|
|
199
|
+
id: components["schemas"]["Bytes32Hex"];
|
|
200
|
+
pubkey: components["schemas"]["ValidatorPubkeyStr"];
|
|
201
|
+
operator: components["schemas"]["EvmAddress"];
|
|
202
|
+
credentials: components["schemas"]["Bytes32Hex"];
|
|
203
|
+
rewardAllocator: components["schemas"]["EvmAddress"];
|
|
204
204
|
queuedBoosts: components["schemas"]["DecimalStr"];
|
|
205
205
|
queuedDropBoosts: components["schemas"]["DecimalStr"];
|
|
206
206
|
}[];
|
|
@@ -303,8 +303,8 @@ type paths = {
|
|
|
303
303
|
content: {
|
|
304
304
|
"application/json": {
|
|
305
305
|
timestamp: number;
|
|
306
|
-
validatorId:
|
|
307
|
-
token:
|
|
306
|
+
validatorId: components["schemas"]["Bytes32Hex"];
|
|
307
|
+
token: components["schemas"]["EvmAddress"];
|
|
308
308
|
receivedTokenAmount: components["schemas"]["DecimalStr"];
|
|
309
309
|
allTimeReceivedTokenAmount: components["schemas"]["DecimalStr"];
|
|
310
310
|
}[];
|
|
@@ -739,8 +739,8 @@ type paths = {
|
|
|
739
739
|
};
|
|
740
740
|
content: {
|
|
741
741
|
"application/json": {
|
|
742
|
-
address:
|
|
743
|
-
stakingToken:
|
|
742
|
+
address: components["schemas"]["EvmAddress"];
|
|
743
|
+
stakingToken: components["schemas"]["EvmAddress"];
|
|
744
744
|
stakingTokenAmount: components["schemas"]["DecimalStr"];
|
|
745
745
|
isWhitelisted: boolean;
|
|
746
746
|
}[];
|
|
@@ -794,7 +794,7 @@ type paths = {
|
|
|
794
794
|
content: {
|
|
795
795
|
"application/json": {
|
|
796
796
|
timestamp: number;
|
|
797
|
-
vaultId:
|
|
797
|
+
vaultId: components["schemas"]["EvmAddress"];
|
|
798
798
|
receivedRewardAmount: components["schemas"]["DecimalStr"];
|
|
799
799
|
allTimeReceivedRewardAmount: components["schemas"]["DecimalStr"];
|
|
800
800
|
}[];
|
|
@@ -886,8 +886,8 @@ type paths = {
|
|
|
886
886
|
content: {
|
|
887
887
|
"application/json": {
|
|
888
888
|
id: string;
|
|
889
|
-
user:
|
|
890
|
-
vaultId:
|
|
889
|
+
user: components["schemas"]["EvmAddress"];
|
|
890
|
+
vaultId: components["schemas"]["EvmAddress"];
|
|
891
891
|
amount: components["schemas"]["DecimalStr"];
|
|
892
892
|
updatedAtBlock: number;
|
|
893
893
|
}[];
|
|
@@ -921,6 +921,10 @@ type components = {
|
|
|
921
921
|
BigIntStr: string;
|
|
922
922
|
/** @description Decimal number encoded as a string (e.g. '12', '-3.5') */
|
|
923
923
|
DecimalStr: string;
|
|
924
|
+
/** @description 32-byte hex value: 0x followed by 64 hex characters (e.g. keccak256 hash or withdrawal credentials) */
|
|
925
|
+
Bytes32Hex: string;
|
|
926
|
+
/** @description 48-byte BLS validator pubkey: 0x followed by 96 hex characters */
|
|
927
|
+
ValidatorPubkeyStr: string;
|
|
924
928
|
/** @description Non-negative integer encoded as a base-10 string (digits only) */
|
|
925
929
|
BigUintStr: string;
|
|
926
930
|
/** @description 48-byte BLS validator pubkey: 0x followed by 96 hex characters */
|
|
@@ -949,6 +953,8 @@ type ApiGetResponse<TPath extends keyof paths> = paths[TPath] extends {
|
|
|
949
953
|
type EvmAddress = components["schemas"]["EvmAddress"];
|
|
950
954
|
type BigIntStr = components["schemas"]["BigIntStr"];
|
|
951
955
|
type DecimalStr = components["schemas"]["DecimalStr"];
|
|
956
|
+
type Bytes32Hex = components["schemas"]["Bytes32Hex"];
|
|
957
|
+
type ValidatorPubkeyStr = components["schemas"]["ValidatorPubkeyStr"];
|
|
952
958
|
type BigUintStr = components["schemas"]["BigUintStr"];
|
|
953
959
|
type ValidatorPubkeyParam = components["schemas"]["ValidatorPubkeyParam"];
|
|
954
960
|
type StakeEarningResponse = paths["/v0/stake/{vault}/earnings/{owner}"]["get"]["responses"][200]["content"]["application/json"];
|
|
@@ -969,4 +975,4 @@ type RewardVaultDistributionsResponse = paths["/v0/reward-vaults/{vault}/distrib
|
|
|
969
975
|
type RewardVaultsGlobalInfoResponse = paths["/v0/reward-vaults/global-info"]["get"]["responses"][200]["content"]["application/json"];
|
|
970
976
|
type RewardVaultsUserVaultStakesResponse = paths["/v0/reward-vaults/user-vault-stakes"]["get"]["responses"][200]["content"]["application/json"];
|
|
971
977
|
|
|
972
|
-
export type { $defs, ApiGetResponse, ApiSchema, BigIntStr, BigUintStr, BlocksBlockStatsResponse, DecimalStr, EarnDailyAssetResponse, EarnEarningResponse, EarnStatsByDayResponse, EarnTotalAssetsByDayResponse, EvmAddress, HoneySnapshotResponse, HoneyTransactionsLatestResponse, RewardVaultDistributionsResponse, RewardVaultsGlobalInfoResponse, RewardVaultsResponse, RewardVaultsUserVaultStakesResponse, StakeEarningResponse, StakeStatsByDayResponse, StatsBeraResponse, ValidatorBlockStatsResponse, ValidatorIncentivesResponse, ValidatorPubkeyParam, ValidatorsResponse, components, operations, paths, webhooks };
|
|
978
|
+
export type { $defs, ApiGetResponse, ApiSchema, BigIntStr, BigUintStr, BlocksBlockStatsResponse, Bytes32Hex, DecimalStr, EarnDailyAssetResponse, EarnEarningResponse, EarnStatsByDayResponse, EarnTotalAssetsByDayResponse, EvmAddress, HoneySnapshotResponse, HoneyTransactionsLatestResponse, RewardVaultDistributionsResponse, RewardVaultsGlobalInfoResponse, RewardVaultsResponse, RewardVaultsUserVaultStakesResponse, StakeEarningResponse, StakeStatsByDayResponse, StatsBeraResponse, ValidatorBlockStatsResponse, ValidatorIncentivesResponse, ValidatorPubkeyParam, ValidatorPubkeyStr, ValidatorsResponse, components, operations, paths, webhooks };
|
|
@@ -1895,13 +1895,6 @@ declare enum GqlValidatorBoostOrderDirection {
|
|
|
1895
1895
|
Asc = "asc",
|
|
1896
1896
|
Desc = "desc"
|
|
1897
1897
|
}
|
|
1898
|
-
type GqlValidatorCommissionHistory = {
|
|
1899
|
-
__typename?: 'GqlValidatorCommissionHistory';
|
|
1900
|
-
blockNumber: Scalars['Int']['output'];
|
|
1901
|
-
commissionOnIncentives: Scalars['Int']['output'];
|
|
1902
|
-
timestamp: Scalars['Int']['output'];
|
|
1903
|
-
validatorId: Scalars['Bytes']['output'];
|
|
1904
|
-
};
|
|
1905
1898
|
type GqlValidatorDynamicData = {
|
|
1906
1899
|
__typename?: 'GqlValidatorDynamicData';
|
|
1907
1900
|
activeBoostAmount: Scalars['String']['output'];
|
|
@@ -3607,4 +3600,4 @@ interface PossibleTypesResultData {
|
|
|
3607
3600
|
}
|
|
3608
3601
|
declare const result: PossibleTypesResultData;
|
|
3609
3602
|
|
|
3610
|
-
export { type BendVaultDynamicData, type BendVaultResponse, DynamicData, type DynamicDataFragment, type Exact, GetGlobalLiquidityAndSwapVolume, type GetGlobalLiquidityAndSwapVolumeQuery, type GetGlobalLiquidityAndSwapVolumeQueryVariables, GetPool, GetPoolEvents, type GetPoolEventsQuery, type GetPoolEventsQueryVariables, GetPoolHistoricalData, type GetPoolHistoricalDataQuery, type GetPoolHistoricalDataQueryVariables, type GetPoolQuery, type GetPoolQueryVariables, GetPools, type GetPoolsQuery, type GetPoolsQueryVariables, GetTokenCurrentPrices, type GetTokenCurrentPricesQuery, type GetTokenCurrentPricesQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, type GqlIncentive, type GqlLatestSyncedBlocks, type GqlNestedPool, type GqlPagination, GqlPoolAddRemoveEventV3, type GqlPoolAddRemoveEventV3Fragment, type 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, GqlPoolSwapEventCowAmm, type GqlPoolSwapEventCowAmmFragment, GqlPoolSwapEventV3, type GqlPoolSwapEventV3Fragment, type GqlPoolSwapFilter, type GqlPoolTimePeriod, type GqlPoolToken, type GqlPoolTokenBase, type GqlPoolTokenComposableStable, type GqlPoolTokenComposableStableNestedUnion, type GqlPoolTokenDetail, type GqlPoolTokenDisplay, type GqlPoolTokenExpanded, type GqlPoolTokenUnion, GqlPoolType, type GqlPoolUnion, type GqlPoolUserBalance, type GqlPoolUserSwapVolume, type GqlPoolWeighted, type GqlPoolWithdrawConfig, type GqlPoolWithdrawOption, type GqlPriceImpact, type GqlPriceRateProviderData, type GqlPriceRateProviderUpgradeableComponent, type GqlProtocolMetricsAggregated, type GqlProtocolMetricsChain, type GqlRelicSnapshot, type GqlRewardVault, type GqlRewardVaultDynamicData, type GqlRewardVaultFilter, type GqlRewardVaultIncentive, GqlRewardVaultIncentiveOrderBy, GqlRewardVaultIncentiveOrderDirection, type GqlRewardVaultMetadata, GqlRewardVaultOrderBy, GqlRewardVaultOrderDirection, type GqlRewardVaultSnapshot, GqlRewardVaultSnapshotDataRange, GqlRewardVaultSnapshotResolution, type GqlRewardVaultWhitelistedToken, type GqlSWberaVaultMetadata, GqlSWberaVaultMetadataResolution, type GqlSWberaVaultSnapshot, type GqlSorCallData, type GqlSorGetSwapPaths, type GqlSorGetSwapsResponse, type GqlSorPath, type GqlSorSwap, type GqlSorSwapOptionsInput, type GqlSorSwapRoute, type GqlSorSwapRouteHop, GqlSorSwapType, type GqlSwapCallDataInput, type GqlToken, type GqlTokenAmountHumanReadable, type GqlTokenCandlestickChartDataItem, GqlTokenChartDataRange, type GqlTokenData, type GqlTokenDynamicData, type GqlTokenMutationResult, type GqlTokenPrice, type GqlTokenPriceChartDataItem, GqlTokenType, type GqlUserSwapVolumeFilter, type GqlUserVaultDeposit, type GqlUserVaultDepositMinimal, GqlUserVaultDepositOrderBy, GqlUserVaultDepositOrderDirection, type GqlValidator, type GqlValidatorBlockUptime, GqlValidatorBlockUptimeStatus, type GqlValidatorBoost, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, type
|
|
3603
|
+
export { type BendVaultDynamicData, type BendVaultResponse, DynamicData, type DynamicDataFragment, type Exact, GetGlobalLiquidityAndSwapVolume, type GetGlobalLiquidityAndSwapVolumeQuery, type GetGlobalLiquidityAndSwapVolumeQueryVariables, GetPool, GetPoolEvents, type GetPoolEventsQuery, type GetPoolEventsQueryVariables, GetPoolHistoricalData, type GetPoolHistoricalDataQuery, type GetPoolHistoricalDataQueryVariables, type GetPoolQuery, type GetPoolQueryVariables, GetPools, type GetPoolsQuery, type GetPoolsQueryVariables, GetTokenCurrentPrices, type GetTokenCurrentPricesQuery, type GetTokenCurrentPricesQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, type GqlIncentive, type GqlLatestSyncedBlocks, type GqlNestedPool, type GqlPagination, GqlPoolAddRemoveEventV3, type GqlPoolAddRemoveEventV3Fragment, type 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, GqlPoolSwapEventCowAmm, type GqlPoolSwapEventCowAmmFragment, GqlPoolSwapEventV3, type GqlPoolSwapEventV3Fragment, type GqlPoolSwapFilter, type GqlPoolTimePeriod, type GqlPoolToken, type GqlPoolTokenBase, type GqlPoolTokenComposableStable, type GqlPoolTokenComposableStableNestedUnion, type GqlPoolTokenDetail, type GqlPoolTokenDisplay, type GqlPoolTokenExpanded, type GqlPoolTokenUnion, GqlPoolType, type GqlPoolUnion, type GqlPoolUserBalance, type GqlPoolUserSwapVolume, type GqlPoolWeighted, type GqlPoolWithdrawConfig, type GqlPoolWithdrawOption, type GqlPriceImpact, type GqlPriceRateProviderData, type GqlPriceRateProviderUpgradeableComponent, type GqlProtocolMetricsAggregated, type GqlProtocolMetricsChain, type GqlRelicSnapshot, type GqlRewardVault, type GqlRewardVaultDynamicData, type GqlRewardVaultFilter, type GqlRewardVaultIncentive, GqlRewardVaultIncentiveOrderBy, GqlRewardVaultIncentiveOrderDirection, type GqlRewardVaultMetadata, GqlRewardVaultOrderBy, GqlRewardVaultOrderDirection, type GqlRewardVaultSnapshot, GqlRewardVaultSnapshotDataRange, GqlRewardVaultSnapshotResolution, type GqlRewardVaultWhitelistedToken, type GqlSWberaVaultMetadata, GqlSWberaVaultMetadataResolution, type GqlSWberaVaultSnapshot, type GqlSorCallData, type GqlSorGetSwapPaths, type GqlSorGetSwapsResponse, type GqlSorPath, type GqlSorSwap, type GqlSorSwapOptionsInput, type GqlSorSwapRoute, type GqlSorSwapRouteHop, GqlSorSwapType, type GqlSwapCallDataInput, type GqlToken, type GqlTokenAmountHumanReadable, type GqlTokenCandlestickChartDataItem, GqlTokenChartDataRange, type GqlTokenData, type GqlTokenDynamicData, type GqlTokenMutationResult, type GqlTokenPrice, type GqlTokenPriceChartDataItem, GqlTokenType, type GqlUserSwapVolumeFilter, type GqlUserVaultDeposit, type GqlUserVaultDepositMinimal, GqlUserVaultDepositOrderBy, GqlUserVaultDepositOrderDirection, type GqlValidator, type GqlValidatorBlockUptime, GqlValidatorBlockUptimeStatus, type GqlValidatorBoost, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, 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, MinimalPool, type MinimalPoolFragment, MinimalPoolInList, type MinimalPoolInListFragment, type PaginatedRewardVaultIncentivesResponse, type PaginatedRewardVaultsResponse, type PaginatedUserVaultDepositsResponse, type PaginatedValidatorBlockUptimesResponse, type PaginatedValidatorBoostsResponse, type PaginatedValidatorsResponse, PoolEvent, type PoolEventFragment, PoolHistoricalData, type PoolHistoricalDataFragment, type PossibleTypesResultData, type Query, type QueryBendVaultArgs, type QueryHooksArgs, type QueryPolGetActiveIncentivesArgs, type QueryPolGetGlobalInfoArgs, type QueryPolGetRewardVaultArgs, type QueryPolGetRewardVaultSnapshotsArgs, type QueryPolGetRewardVaultsArgs, type QueryPolGetSWberaVaultMetadataArgs, type QueryPolGetSWberaVaultSnapshotsArgs, type QueryPolGetTopVaultDepositsArgs, type QueryPolGetUserVaultDepositsArgs, type QueryPolGetValidatorArgs, type QueryPolGetValidatorBlockUptimesArgs, type QueryPolGetValidatorBoostsArgs, type QueryPolGetValidatorsArgs, type QueryPoolEventsArgs, type 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, RewardVault, type RewardVaultFragment, type Scalars, type Token, UserBalance, type UserBalanceFragment, result as default };
|
|
@@ -1995,13 +1995,6 @@ declare enum GqlValidatorBoostOrderDirection {
|
|
|
1995
1995
|
Asc = "asc",
|
|
1996
1996
|
Desc = "desc"
|
|
1997
1997
|
}
|
|
1998
|
-
type GqlValidatorCommissionHistory = {
|
|
1999
|
-
__typename?: 'GqlValidatorCommissionHistory';
|
|
2000
|
-
blockNumber: Scalars['Int']['output'];
|
|
2001
|
-
commissionOnIncentives: Scalars['Int']['output'];
|
|
2002
|
-
timestamp: Scalars['Int']['output'];
|
|
2003
|
-
validatorId: Scalars['Bytes']['output'];
|
|
2004
|
-
};
|
|
2005
1998
|
type GqlValidatorDynamicData = {
|
|
2006
1999
|
__typename?: 'GqlValidatorDynamicData';
|
|
2007
2000
|
activeBoostAmount: Scalars['String']['output'];
|
|
@@ -3595,4 +3588,4 @@ interface PossibleTypesResultData {
|
|
|
3595
3588
|
}
|
|
3596
3589
|
declare const result: PossibleTypesResultData;
|
|
3597
3590
|
|
|
3598
|
-
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, GetHeroEarnVaults, type GetHeroEarnVaultsQuery, type GetHeroEarnVaultsQueryVariables, 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 GqlUserSwapVolumeFilter, type GqlUserVaultDeposit, type GqlUserVaultDepositMinimal, GqlUserVaultDepositOrderBy, GqlUserVaultDepositOrderDirection, type GqlValidator, type GqlValidatorBlockUptime, GqlValidatorBlockUptimeStatus, type GqlValidatorBoost, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, type
|
|
3591
|
+
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, GetHeroEarnVaults, type GetHeroEarnVaultsQuery, type GetHeroEarnVaultsQueryVariables, 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 GqlUserSwapVolumeFilter, type GqlUserVaultDeposit, type GqlUserVaultDepositMinimal, GqlUserVaultDepositOrderBy, GqlUserVaultDepositOrderDirection, type GqlValidator, type GqlValidatorBlockUptime, GqlValidatorBlockUptimeStatus, type GqlValidatorBoost, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, 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 Scalars, type Token, result as default };
|
|
@@ -4099,13 +4099,6 @@ type GetValidatorBlockStatsQuery = {
|
|
|
4099
4099
|
blockCount: string;
|
|
4100
4100
|
}>;
|
|
4101
4101
|
};
|
|
4102
|
-
type StakingTokenFragment = {
|
|
4103
|
-
__typename?: 'TokenInformation';
|
|
4104
|
-
address: `0x${string}`;
|
|
4105
|
-
decimals: number;
|
|
4106
|
-
name: string;
|
|
4107
|
-
symbol: string;
|
|
4108
|
-
};
|
|
4109
4102
|
type GetValidatorAnalyticsQueryVariables = Exact<{
|
|
4110
4103
|
pubKey: Scalars['Bytes']['input'];
|
|
4111
4104
|
timestamp: Scalars['Timestamp']['input'];
|
|
@@ -4140,25 +4133,6 @@ type GetValidatorAnalyticsQuery = {
|
|
|
4140
4133
|
user: `0x${string}`;
|
|
4141
4134
|
}>;
|
|
4142
4135
|
};
|
|
4143
|
-
type GetValidatorIncentiveDistributionQueryVariables = Exact<{
|
|
4144
|
-
pubKey: Scalars['Bytes']['input'];
|
|
4145
|
-
timestamp: Scalars['Timestamp']['input'];
|
|
4146
|
-
}>;
|
|
4147
|
-
type GetValidatorIncentiveDistributionQuery = {
|
|
4148
|
-
__typename?: 'Query';
|
|
4149
|
-
incentiveDistributionByValidators: Array<{
|
|
4150
|
-
__typename?: 'IncentiveDistributionByValidator';
|
|
4151
|
-
receivedTokenAmount: string;
|
|
4152
|
-
timestamp: string;
|
|
4153
|
-
token: {
|
|
4154
|
-
__typename?: 'TokenInformation';
|
|
4155
|
-
address: `0x${string}`;
|
|
4156
|
-
decimals: number;
|
|
4157
|
-
name: string;
|
|
4158
|
-
symbol: string;
|
|
4159
|
-
};
|
|
4160
|
-
}>;
|
|
4161
|
-
};
|
|
4162
4136
|
type GetIncentiveFeeClaimStatsQueryVariables = Exact<{
|
|
4163
4137
|
[key: string]: never;
|
|
4164
4138
|
}>;
|
|
@@ -4198,10 +4172,8 @@ type BlockRewardStatsByValidator = {
|
|
|
4198
4172
|
validator: Validator;
|
|
4199
4173
|
};
|
|
4200
4174
|
declare const BlockRewardStatsByValidator: _apollo_client.DocumentNode;
|
|
4201
|
-
declare const StakingToken: _apollo_client.DocumentNode;
|
|
4202
4175
|
declare const GetValidatorBlockStats: _apollo_client.DocumentNode;
|
|
4203
4176
|
declare const GetValidatorAnalytics: _apollo_client.DocumentNode;
|
|
4204
|
-
declare const GetValidatorIncentiveDistribution: _apollo_client.DocumentNode;
|
|
4205
4177
|
declare const GetIncentiveFeeClaimStats: _apollo_client.DocumentNode;
|
|
4206
4178
|
interface PossibleTypesResultData {
|
|
4207
4179
|
possibleTypes: {
|
|
@@ -4210,4 +4182,4 @@ interface PossibleTypesResultData {
|
|
|
4210
4182
|
}
|
|
4211
4183
|
declare const result: PossibleTypesResultData;
|
|
4212
4184
|
|
|
4213
|
-
export { type ActiveIncentive, type ActiveIncentive_Filter, ActiveIncentive_OrderBy, Aggregation_Current, Aggregation_Interval, type BlockChangedFilter, type BlockReward, type BlockRewardStats, BlockRewardStatsByValidator, type BlockRewardStatsByValidatorFragment, type BlockRewardStatsByValidator_Filter, BlockRewardStatsByValidator_OrderBy, type BlockRewardStats_Filter, BlockRewardStats_OrderBy, type BlockReward_Filter, BlockReward_OrderBy, type BlockStats, type BlockStatsByValidator, type BlockStatsByValidator_Filter, BlockStatsByValidator_OrderBy, type BlockStats_Filter, BlockStats_OrderBy, type Block_Height, type Boost, BoostByValidator, type BoostByValidatorFragment, type BoostByValidator_Filter, BoostByValidator_OrderBy, type Boost_Filter, Boost_OrderBy, type Exact, GetIncentiveFeeClaimStats, type GetIncentiveFeeClaimStatsQuery, type GetIncentiveFeeClaimStatsQueryVariables, GetValidatorAnalytics, type GetValidatorAnalyticsQuery, type GetValidatorAnalyticsQueryVariables, GetValidatorBlockStats, type GetValidatorBlockStatsQuery, type GetValidatorBlockStatsQueryVariables,
|
|
4185
|
+
export { type ActiveIncentive, type ActiveIncentive_Filter, ActiveIncentive_OrderBy, Aggregation_Current, Aggregation_Interval, type BlockChangedFilter, type BlockReward, type BlockRewardStats, BlockRewardStatsByValidator, type BlockRewardStatsByValidatorFragment, type BlockRewardStatsByValidator_Filter, BlockRewardStatsByValidator_OrderBy, type BlockRewardStats_Filter, BlockRewardStats_OrderBy, type BlockReward_Filter, BlockReward_OrderBy, type BlockStats, type BlockStatsByValidator, type BlockStatsByValidator_Filter, BlockStatsByValidator_OrderBy, type BlockStats_Filter, BlockStats_OrderBy, type Block_Height, type Boost, BoostByValidator, type BoostByValidatorFragment, type BoostByValidator_Filter, BoostByValidator_OrderBy, type Boost_Filter, Boost_OrderBy, type Exact, GetIncentiveFeeClaimStats, type GetIncentiveFeeClaimStatsQuery, type GetIncentiveFeeClaimStatsQueryVariables, GetValidatorAnalytics, type GetValidatorAnalyticsQuery, type GetValidatorAnalyticsQueryVariables, GetValidatorBlockStats, type GetValidatorBlockStatsQuery, type GetValidatorBlockStatsQueryVariables, type GlobalInfo, type GlobalInfo_Filter, GlobalInfo_OrderBy, type GlobalRewardDistribution, type GlobalRewardDistribution_Filter, GlobalRewardDistribution_OrderBy, type IncentiveDistribution, type IncentiveDistributionByValidator, type IncentiveDistributionByValidator_Filter, IncentiveDistributionByValidator_OrderBy, type IncentiveDistributionByVault, type IncentiveDistributionByVault_Filter, IncentiveDistributionByVault_OrderBy, type IncentiveDistribution_Filter, IncentiveDistribution_OrderBy, type IncentiveFeeClaim, type IncentiveFeeClaimStats, type IncentiveFeeClaimStats_Filter, IncentiveFeeClaimStats_OrderBy, type IncentiveFeeClaim_Filter, IncentiveFeeClaim_OrderBy, type IncentiveFeePayoutAmountHistory, type IncentiveFeePayoutAmountHistory_Filter, IncentiveFeePayoutAmountHistory_OrderBy, type IncentiveTokensByValidator, type IncentiveTokensByValidator_Filter, IncentiveTokensByValidator_OrderBy, type Incremental, type InputMaybe, LogLevel, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, OrderDirection, type PossibleTypesResultData, type Query, type QueryActiveIncentiveArgs, type QueryActiveIncentivesArgs, type QueryBlockRewardArgs, type QueryBlockRewardStatsByValidatorsArgs, type QueryBlockRewardStats_CollectionArgs, type QueryBlockRewardsArgs, type QueryBlockStatsByValidatorsArgs, type QueryBlockStats_CollectionArgs, type QueryBoostArgs, type QueryBoostByValidatorsArgs, type QueryBoostsArgs, type QueryGlobalInfoArgs, type QueryGlobalInfosArgs, type QueryGlobalRewardDistributionsArgs, type QueryIncentiveDistributionArgs, type QueryIncentiveDistributionByValidatorsArgs, type QueryIncentiveDistributionByVaultsArgs, type QueryIncentiveDistributionsArgs, type QueryIncentiveFeeClaimArgs, type QueryIncentiveFeeClaimStats_CollectionArgs, type QueryIncentiveFeeClaimsArgs, type QueryIncentiveFeePayoutAmountHistoriesArgs, type QueryIncentiveFeePayoutAmountHistoryArgs, type QueryIncentiveTokensByValidatorArgs, type QueryIncentiveTokensByValidatorsArgs, type QueryRewardAllocationActivationArgs, type QueryRewardAllocationActivationsArgs, type QueryRewardAllocationArgs, type QueryRewardAllocationMaxWeightHistoriesArgs, type QueryRewardAllocationMaxWeightHistoryArgs, type QueryRewardAllocationQueueArgs, type QueryRewardAllocationQueuesArgs, type QueryRewardAllocationWeightArgs, type QueryRewardAllocationWeightsArgs, type QueryRewardAllocationsArgs, type QueryRewardDistributionArgs, type QueryRewardDistributionByVaultsArgs, type QueryRewardDistributionsArgs, type QueryRewardsDistributionByValidatorsArgs, type QueryTokenInformationArgs, type QueryTokenInformationsArgs, type QueryUserBoostArgs, type QueryUserBoostsArgs, type QueryUserFeeHistoriesArgs, type QueryUserFeeHistoryArgs, type QueryUserVaultStakeArgs, type QueryUserVaultStakesArgs, type QueryValidatorArgs, type QueryValidatorCommissionHistoriesArgs, type QueryValidatorCommissionHistoryArgs, type QueryValidatorsArgs, type QueryVaultArgs, type QueryVaultsArgs, type QueryWhitelistedTokenArgs, type QueryWhitelistedTokensArgs, type Query_LogsArgs, type Query_MetaArgs, type RewardAllocation, type RewardAllocationActivation, type RewardAllocationActivation_Filter, RewardAllocationActivation_OrderBy, type RewardAllocationActivationsArgs, type RewardAllocationMaxWeightHistory, type RewardAllocationMaxWeightHistory_Filter, RewardAllocationMaxWeightHistory_OrderBy, type RewardAllocationQueue, type RewardAllocationQueue_Filter, RewardAllocationQueue_OrderBy, type RewardAllocationQueuesArgs, type RewardAllocationWeight, type RewardAllocationWeight_Filter, RewardAllocationWeight_OrderBy, type RewardAllocationWeightsArgs, type RewardAllocation_Filter, RewardAllocation_OrderBy, type RewardDistribution, type RewardDistributionByVault, type RewardDistributionByVault_Filter, RewardDistributionByVault_OrderBy, type RewardDistribution_Filter, RewardDistribution_OrderBy, type RewardsDistributionByValidator, type RewardsDistributionByValidator_Filter, RewardsDistributionByValidator_OrderBy, type Scalars, type TokenInformation, type TokenInformationActiveIncentivesArgs, type TokenInformationDistributedIncentivesArgs, type TokenInformationDistributedIncentivesByVaultArgs, type TokenInformationReceivedValidatorsArgs, type TokenInformationStakedVaultsArgs, type TokenInformationWhitelistedVaultsArgs, type TokenInformation_Filter, TokenInformation_OrderBy, type UserBoost, type UserBoost_Filter, UserBoost_OrderBy, type UserFeeHistory, type UserFeeHistory_Filter, UserFeeHistory_OrderBy, type UserVaultStake, type UserVaultStake_Filter, UserVaultStake_OrderBy, type Validator, type ValidatorBlockRewardsArgs, type ValidatorBoostHistoryArgs, type ValidatorBoostStatsArgs, type ValidatorCommissionHistory, type ValidatorCommissionHistory_Filter, ValidatorCommissionHistory_OrderBy, type ValidatorDistributedIncentivesArgs, ValidatorMinimal, type ValidatorMinimalFragment, type ValidatorReceivedIncentiveTokensArgs, type ValidatorRewardAllocationActivationHistoryArgs, type ValidatorRewardAllocationQueueHistoryArgs, type ValidatorUserBoostsArgs, type Validator_Filter, Validator_OrderBy, type Vault, type VaultActiveIncentivesArgs, type VaultDistributedIncentivesArgs, type VaultRewardAllocationWeightsArgs, type VaultStakedUsersArgs, type VaultWhitelistedTokensArgs, type Vault_Filter, Vault_OrderBy, type WhitelistedToken, type WhitelistedToken_Filter, WhitelistedToken_OrderBy, type _Block_, type _LogArgument_, type _LogMeta_, type _Log_, type _Meta_, _SubgraphErrorPolicy_, result as default };
|
|
@@ -724,14 +724,6 @@ var BlockRewardStatsByValidator = gql`
|
|
|
724
724
|
}
|
|
725
725
|
}
|
|
726
726
|
${ValidatorMinimal}`;
|
|
727
|
-
var StakingToken = gql`
|
|
728
|
-
fragment StakingToken on TokenInformation {
|
|
729
|
-
address
|
|
730
|
-
decimals
|
|
731
|
-
name
|
|
732
|
-
symbol
|
|
733
|
-
}
|
|
734
|
-
`;
|
|
735
727
|
var GetValidatorBlockStats = gql`
|
|
736
728
|
query GetValidatorBlockStats($pubKey: Bytes!, $first: Int) {
|
|
737
729
|
blockStatsByValidators(
|
|
@@ -788,21 +780,6 @@ var GetValidatorAnalytics = gql`
|
|
|
788
780
|
}
|
|
789
781
|
${BoostByValidator}
|
|
790
782
|
${BlockRewardStatsByValidator}`;
|
|
791
|
-
var GetValidatorIncentiveDistribution = gql`
|
|
792
|
-
query GetValidatorIncentiveDistribution($pubKey: Bytes!, $timestamp: Timestamp!) {
|
|
793
|
-
incentiveDistributionByValidators(
|
|
794
|
-
interval: day
|
|
795
|
-
first: 1000
|
|
796
|
-
where: {validator_: {publicKey: $pubKey}, timestamp_gte: $timestamp}
|
|
797
|
-
) {
|
|
798
|
-
token {
|
|
799
|
-
...StakingToken
|
|
800
|
-
}
|
|
801
|
-
receivedTokenAmount
|
|
802
|
-
timestamp
|
|
803
|
-
}
|
|
804
|
-
}
|
|
805
|
-
${StakingToken}`;
|
|
806
783
|
var GetIncentiveFeeClaimStats = gql`
|
|
807
784
|
query GetIncentiveFeeClaimStats {
|
|
808
785
|
incentiveFeeClaims {
|
|
@@ -832,7 +809,6 @@ export {
|
|
|
832
809
|
GetIncentiveFeeClaimStats,
|
|
833
810
|
GetValidatorAnalytics,
|
|
834
811
|
GetValidatorBlockStats,
|
|
835
|
-
GetValidatorIncentiveDistribution,
|
|
836
812
|
GlobalInfo_OrderBy,
|
|
837
813
|
GlobalRewardDistribution_OrderBy,
|
|
838
814
|
IncentiveDistributionByValidator_OrderBy,
|
|
@@ -852,7 +828,6 @@ export {
|
|
|
852
828
|
RewardDistributionByVault_OrderBy,
|
|
853
829
|
RewardDistribution_OrderBy,
|
|
854
830
|
RewardsDistributionByValidator_OrderBy,
|
|
855
|
-
StakingToken,
|
|
856
831
|
TokenInformation_OrderBy,
|
|
857
832
|
UserBoost_OrderBy,
|
|
858
833
|
UserFeeHistory_OrderBy,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@berachain/graphql",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2-beta.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"openapi-typescript": "7.13.0",
|
|
32
32
|
"tsup": "8.5.1",
|
|
33
33
|
"typescript": "5.5.4",
|
|
34
|
-
"@berachain/config": "^0.1.
|
|
34
|
+
"@berachain/config": "^0.1.21-beta.0"
|
|
35
35
|
},
|
|
36
36
|
"exports": {
|
|
37
37
|
"./governance": {
|
|
@@ -40,12 +40,6 @@
|
|
|
40
40
|
"module": "./dist/governance/governance.codegen.mjs",
|
|
41
41
|
"import": "./dist/governance/governance.codegen.mjs"
|
|
42
42
|
},
|
|
43
|
-
"./chain": {
|
|
44
|
-
"types": "./dist/chain/chain.codegen.d.ts",
|
|
45
|
-
"require": "./dist/chain/chain.codegen.cjs",
|
|
46
|
-
"module": "./dist/chain/chain.codegen.mjs",
|
|
47
|
-
"import": "./dist/chain/chain.codegen.mjs"
|
|
48
|
-
},
|
|
49
43
|
"./pol/subgraph": {
|
|
50
44
|
"types": "./dist/pol/subgraph.codegen.d.ts",
|
|
51
45
|
"require": "./dist/pol/subgraph.codegen.cjs",
|
|
@@ -64,24 +58,12 @@
|
|
|
64
58
|
"module": "./dist/dex/api.codegen.mjs",
|
|
65
59
|
"import": "./dist/dex/api.codegen.mjs"
|
|
66
60
|
},
|
|
67
|
-
"./honey": {
|
|
68
|
-
"types": "./dist/honey/honey.codegen.d.ts",
|
|
69
|
-
"require": "./dist/honey/honey.codegen.cjs",
|
|
70
|
-
"module": "./dist/honey/honey.codegen.mjs",
|
|
71
|
-
"import": "./dist/honey/honey.codegen.mjs"
|
|
72
|
-
},
|
|
73
61
|
"./bend/whisk": {
|
|
74
62
|
"types": "./dist/bend/whisk.codegen.d.ts",
|
|
75
63
|
"require": "./dist/bend/whisk.codegen.cjs",
|
|
76
64
|
"module": "./dist/bend/whisk.codegen.mjs",
|
|
77
65
|
"import": "./dist/bend/whisk.codegen.mjs"
|
|
78
66
|
},
|
|
79
|
-
"./api": {
|
|
80
|
-
"types": "./dist/api/api.codegen.d.ts",
|
|
81
|
-
"require": "./dist/api/api.codegen.cjs",
|
|
82
|
-
"module": "./dist/api/api.codegen.mjs",
|
|
83
|
-
"import": "./dist/api/api.codegen.mjs"
|
|
84
|
-
},
|
|
85
67
|
"./beep": {
|
|
86
68
|
"types": "./dist/beep/beep.codegen.d.ts",
|
|
87
69
|
"require": "./dist/beep/beep.codegen.cjs",
|
|
@@ -94,9 +76,6 @@
|
|
|
94
76
|
"governance": [
|
|
95
77
|
"./dist/governance/governance.codegen.d.ts"
|
|
96
78
|
],
|
|
97
|
-
"chain": [
|
|
98
|
-
"./dist/chain/chain.codegen.d.ts"
|
|
99
|
-
],
|
|
100
79
|
"dex/api": [
|
|
101
80
|
"./dist/dex/api.codegen.d.ts"
|
|
102
81
|
],
|
|
@@ -106,15 +85,9 @@
|
|
|
106
85
|
"pol/api": [
|
|
107
86
|
"./dist/pol/api.codegen.d.ts"
|
|
108
87
|
],
|
|
109
|
-
"honey": [
|
|
110
|
-
"./dist/honey/honey.codegen.d.ts"
|
|
111
|
-
],
|
|
112
88
|
"bend/whisk": [
|
|
113
89
|
"./dist/bend/whisk.codegen.d.ts"
|
|
114
90
|
],
|
|
115
|
-
"api": [
|
|
116
|
-
"./dist/api/api.codegen.d.ts"
|
|
117
|
-
],
|
|
118
91
|
"beep": [
|
|
119
92
|
"./dist/beep/beep.codegen.d.ts"
|
|
120
93
|
]
|
|
@@ -124,7 +97,7 @@
|
|
|
124
97
|
"prebuild": "pnpm codegen",
|
|
125
98
|
"build": "tsup",
|
|
126
99
|
"precheck-types": "pnpm codegen",
|
|
127
|
-
"clean": "git clean -xdf dist .turbo node_modules *.codegen.ts src/
|
|
100
|
+
"clean": "git clean -xdf dist .turbo node_modules *.codegen.ts src/beep",
|
|
128
101
|
"lint": "biome lint",
|
|
129
102
|
"dev": "pnpm codegen:api && tsup --watch",
|
|
130
103
|
"format": "biome format --write .",
|