@berachain/graphql 0.4.16-beta.5 → 0.4.16-beta.7
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.d.ts +1 -34
- package/dist/pol/api.codegen.d.ts +152 -34
- package/dist/pol/api.codegen.mjs +47 -0
- package/package.json +2 -2
|
@@ -1786,16 +1786,6 @@ type GqlUserBgtBalance = {
|
|
|
1786
1786
|
unboostedBGTBalance: Scalars['String']['output'];
|
|
1787
1787
|
userAddress: Scalars['Bytes']['output'];
|
|
1788
1788
|
};
|
|
1789
|
-
type GqlUserPoolBalance = {
|
|
1790
|
-
__typename?: 'GqlUserPoolBalance';
|
|
1791
|
-
chain: GqlChain;
|
|
1792
|
-
poolId: Scalars['String']['output'];
|
|
1793
|
-
tokenAddress: Scalars['Bytes']['output'];
|
|
1794
|
-
tokenPrice?: Maybe<Scalars['Float']['output']>;
|
|
1795
|
-
totalBalance: Scalars['AmountHumanReadable']['output'];
|
|
1796
|
-
user: Scalars['String']['output'];
|
|
1797
|
-
walletBalance: Scalars['AmountHumanReadable']['output'];
|
|
1798
|
-
};
|
|
1799
1789
|
type GqlUserSwapVolumeFilter = {
|
|
1800
1790
|
poolIdIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1801
1791
|
tokenInIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
@@ -2138,11 +2128,6 @@ type Query = {
|
|
|
2138
2128
|
tokenGetTokens: Array<GqlToken>;
|
|
2139
2129
|
/** Returns dynamic data of a set of tokens such as price, market cap, etc. */
|
|
2140
2130
|
tokenGetTokensDynamicData: Array<GqlTokenDynamicData>;
|
|
2141
|
-
userGetPoolBalances: Array<GqlUserPoolBalance>;
|
|
2142
|
-
/** Will de deprecated in favor of poolGetEvents */
|
|
2143
|
-
userGetPoolJoinExits: Array<GqlPoolJoinExit>;
|
|
2144
|
-
/** Will de deprecated in favor of poolGetEvents */
|
|
2145
|
-
userGetSwaps: Array<GqlPoolSwap>;
|
|
2146
2131
|
};
|
|
2147
2132
|
type QueryBendVaultArgs = {
|
|
2148
2133
|
vaultAddress: Scalars['Bytes']['input'];
|
|
@@ -2326,24 +2311,6 @@ type QueryTokenGetTokensDynamicDataArgs = {
|
|
|
2326
2311
|
addresses: Array<Scalars['String']['input']>;
|
|
2327
2312
|
chain?: InputMaybe<GqlChain>;
|
|
2328
2313
|
};
|
|
2329
|
-
type QueryUserGetPoolBalancesArgs = {
|
|
2330
|
-
address?: InputMaybe<Scalars['String']['input']>;
|
|
2331
|
-
chains?: InputMaybe<Array<GqlChain>>;
|
|
2332
|
-
};
|
|
2333
|
-
type QueryUserGetPoolJoinExitsArgs = {
|
|
2334
|
-
address?: InputMaybe<Scalars['String']['input']>;
|
|
2335
|
-
chain?: InputMaybe<GqlChain>;
|
|
2336
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
2337
|
-
poolId: Scalars['String']['input'];
|
|
2338
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2339
|
-
};
|
|
2340
|
-
type QueryUserGetSwapsArgs = {
|
|
2341
|
-
address?: InputMaybe<Scalars['String']['input']>;
|
|
2342
|
-
chain?: InputMaybe<GqlChain>;
|
|
2343
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
2344
|
-
poolId: Scalars['String']['input'];
|
|
2345
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2346
|
-
};
|
|
2347
2314
|
type Token = {
|
|
2348
2315
|
__typename?: 'Token';
|
|
2349
2316
|
address: Scalars['Bytes']['output'];
|
|
@@ -3623,4 +3590,4 @@ interface PossibleTypesResultData {
|
|
|
3623
3590
|
}
|
|
3624
3591
|
declare const result: PossibleTypesResultData;
|
|
3625
3592
|
|
|
3626
|
-
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 GqlUserBgtBalance, type
|
|
3593
|
+
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 GqlUserBgtBalance, 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, 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 };
|
|
@@ -1886,16 +1886,6 @@ type GqlUserBgtBalance = {
|
|
|
1886
1886
|
unboostedBGTBalance: Scalars['String']['output'];
|
|
1887
1887
|
userAddress: Scalars['Bytes']['output'];
|
|
1888
1888
|
};
|
|
1889
|
-
type GqlUserPoolBalance = {
|
|
1890
|
-
__typename?: 'GqlUserPoolBalance';
|
|
1891
|
-
chain: GqlChain;
|
|
1892
|
-
poolId: Scalars['String']['output'];
|
|
1893
|
-
tokenAddress: Scalars['Bytes']['output'];
|
|
1894
|
-
tokenPrice?: Maybe<Scalars['Float']['output']>;
|
|
1895
|
-
totalBalance: Scalars['AmountHumanReadable']['output'];
|
|
1896
|
-
user: Scalars['String']['output'];
|
|
1897
|
-
walletBalance: Scalars['AmountHumanReadable']['output'];
|
|
1898
|
-
};
|
|
1899
1889
|
type GqlUserSwapVolumeFilter = {
|
|
1900
1890
|
poolIdIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1901
1891
|
tokenInIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
@@ -2238,11 +2228,6 @@ type Query = {
|
|
|
2238
2228
|
tokenGetTokens: Array<GqlToken>;
|
|
2239
2229
|
/** Returns dynamic data of a set of tokens such as price, market cap, etc. */
|
|
2240
2230
|
tokenGetTokensDynamicData: Array<GqlTokenDynamicData>;
|
|
2241
|
-
userGetPoolBalances: Array<GqlUserPoolBalance>;
|
|
2242
|
-
/** Will de deprecated in favor of poolGetEvents */
|
|
2243
|
-
userGetPoolJoinExits: Array<GqlPoolJoinExit>;
|
|
2244
|
-
/** Will de deprecated in favor of poolGetEvents */
|
|
2245
|
-
userGetSwaps: Array<GqlPoolSwap>;
|
|
2246
2231
|
};
|
|
2247
2232
|
type QueryBendVaultArgs = {
|
|
2248
2233
|
vaultAddress: Scalars['Bytes']['input'];
|
|
@@ -2426,24 +2411,6 @@ type QueryTokenGetTokensDynamicDataArgs = {
|
|
|
2426
2411
|
addresses: Array<Scalars['String']['input']>;
|
|
2427
2412
|
chain?: InputMaybe<GqlChain>;
|
|
2428
2413
|
};
|
|
2429
|
-
type QueryUserGetPoolBalancesArgs = {
|
|
2430
|
-
address?: InputMaybe<Scalars['String']['input']>;
|
|
2431
|
-
chains?: InputMaybe<Array<GqlChain>>;
|
|
2432
|
-
};
|
|
2433
|
-
type QueryUserGetPoolJoinExitsArgs = {
|
|
2434
|
-
address?: InputMaybe<Scalars['String']['input']>;
|
|
2435
|
-
chain?: InputMaybe<GqlChain>;
|
|
2436
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
2437
|
-
poolId: Scalars['String']['input'];
|
|
2438
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2439
|
-
};
|
|
2440
|
-
type QueryUserGetSwapsArgs = {
|
|
2441
|
-
address?: InputMaybe<Scalars['String']['input']>;
|
|
2442
|
-
chain?: InputMaybe<GqlChain>;
|
|
2443
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
2444
|
-
poolId: Scalars['String']['input'];
|
|
2445
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2446
|
-
};
|
|
2447
2414
|
type Token = {
|
|
2448
2415
|
__typename?: 'Token';
|
|
2449
2416
|
address: Scalars['Bytes']['output'];
|
|
@@ -2603,6 +2570,130 @@ type GetVaultsQuery = {
|
|
|
2603
2570
|
}>;
|
|
2604
2571
|
};
|
|
2605
2572
|
};
|
|
2573
|
+
type GetHeroEarnVaultsQueryVariables = Exact<{
|
|
2574
|
+
bestAprExcludedAddresses?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
|
|
2575
|
+
}>;
|
|
2576
|
+
type GetHeroEarnVaultsQuery = {
|
|
2577
|
+
__typename?: 'Query';
|
|
2578
|
+
bestApr: {
|
|
2579
|
+
__typename?: 'PaginatedRewardVaultsResponse';
|
|
2580
|
+
vaults: Array<{
|
|
2581
|
+
__typename?: 'GqlRewardVault';
|
|
2582
|
+
vaultAddress: `0x${string}`;
|
|
2583
|
+
isVaultWhitelisted: boolean;
|
|
2584
|
+
stakingTokenAmount: string;
|
|
2585
|
+
id: `0x${string}`;
|
|
2586
|
+
address: `0x${string}`;
|
|
2587
|
+
dynamicData?: {
|
|
2588
|
+
__typename?: 'GqlRewardVaultDynamicData';
|
|
2589
|
+
allTimeReceivedBGTAmount: string;
|
|
2590
|
+
apr?: number | null;
|
|
2591
|
+
bgtCapturePercentage: string;
|
|
2592
|
+
bgtCapturePerBlock: string;
|
|
2593
|
+
activeIncentivesValueUsd: string;
|
|
2594
|
+
activeIncentivesRateUsd: string;
|
|
2595
|
+
tvl?: number | null;
|
|
2596
|
+
} | null;
|
|
2597
|
+
stakingToken: {
|
|
2598
|
+
__typename?: 'GqlToken';
|
|
2599
|
+
address: `0x${string}`;
|
|
2600
|
+
name: string;
|
|
2601
|
+
symbol: string;
|
|
2602
|
+
decimals: number;
|
|
2603
|
+
};
|
|
2604
|
+
metadata?: {
|
|
2605
|
+
__typename?: 'GqlRewardVaultMetadata';
|
|
2606
|
+
name: string;
|
|
2607
|
+
logoURI: string;
|
|
2608
|
+
url: string;
|
|
2609
|
+
protocolName: string;
|
|
2610
|
+
protocolIcon: string;
|
|
2611
|
+
description: string;
|
|
2612
|
+
categories: Array<string>;
|
|
2613
|
+
action: string;
|
|
2614
|
+
} | null;
|
|
2615
|
+
activeIncentives: Array<{
|
|
2616
|
+
__typename?: 'GqlRewardVaultIncentive';
|
|
2617
|
+
active: boolean;
|
|
2618
|
+
tokenAddress: `0x${string}`;
|
|
2619
|
+
remainingAmount: string;
|
|
2620
|
+
remainingAmountUsd: string;
|
|
2621
|
+
incentiveRate: string;
|
|
2622
|
+
incentiveRateUsd: string;
|
|
2623
|
+
token: {
|
|
2624
|
+
__typename?: 'GqlToken';
|
|
2625
|
+
address: `0x${string}`;
|
|
2626
|
+
name: string;
|
|
2627
|
+
symbol: string;
|
|
2628
|
+
decimals: number;
|
|
2629
|
+
};
|
|
2630
|
+
}>;
|
|
2631
|
+
}>;
|
|
2632
|
+
};
|
|
2633
|
+
bendRewardVault: {
|
|
2634
|
+
__typename?: 'PaginatedRewardVaultsResponse';
|
|
2635
|
+
vaults: Array<{
|
|
2636
|
+
__typename?: 'GqlRewardVault';
|
|
2637
|
+
vaultAddress: `0x${string}`;
|
|
2638
|
+
isVaultWhitelisted: boolean;
|
|
2639
|
+
stakingTokenAmount: string;
|
|
2640
|
+
id: `0x${string}`;
|
|
2641
|
+
address: `0x${string}`;
|
|
2642
|
+
dynamicData?: {
|
|
2643
|
+
__typename?: 'GqlRewardVaultDynamicData';
|
|
2644
|
+
allTimeReceivedBGTAmount: string;
|
|
2645
|
+
apr?: number | null;
|
|
2646
|
+
bgtCapturePercentage: string;
|
|
2647
|
+
bgtCapturePerBlock: string;
|
|
2648
|
+
activeIncentivesValueUsd: string;
|
|
2649
|
+
activeIncentivesRateUsd: string;
|
|
2650
|
+
tvl?: number | null;
|
|
2651
|
+
} | null;
|
|
2652
|
+
stakingToken: {
|
|
2653
|
+
__typename?: 'GqlToken';
|
|
2654
|
+
address: `0x${string}`;
|
|
2655
|
+
name: string;
|
|
2656
|
+
symbol: string;
|
|
2657
|
+
decimals: number;
|
|
2658
|
+
};
|
|
2659
|
+
metadata?: {
|
|
2660
|
+
__typename?: 'GqlRewardVaultMetadata';
|
|
2661
|
+
name: string;
|
|
2662
|
+
logoURI: string;
|
|
2663
|
+
url: string;
|
|
2664
|
+
protocolName: string;
|
|
2665
|
+
protocolIcon: string;
|
|
2666
|
+
description: string;
|
|
2667
|
+
categories: Array<string>;
|
|
2668
|
+
action: string;
|
|
2669
|
+
} | null;
|
|
2670
|
+
activeIncentives: Array<{
|
|
2671
|
+
__typename?: 'GqlRewardVaultIncentive';
|
|
2672
|
+
active: boolean;
|
|
2673
|
+
tokenAddress: `0x${string}`;
|
|
2674
|
+
remainingAmount: string;
|
|
2675
|
+
remainingAmountUsd: string;
|
|
2676
|
+
incentiveRate: string;
|
|
2677
|
+
incentiveRateUsd: string;
|
|
2678
|
+
token: {
|
|
2679
|
+
__typename?: 'GqlToken';
|
|
2680
|
+
address: `0x${string}`;
|
|
2681
|
+
name: string;
|
|
2682
|
+
symbol: string;
|
|
2683
|
+
decimals: number;
|
|
2684
|
+
};
|
|
2685
|
+
}>;
|
|
2686
|
+
}>;
|
|
2687
|
+
};
|
|
2688
|
+
bendVaults: Array<{
|
|
2689
|
+
__typename?: 'BendVaultResponse';
|
|
2690
|
+
vaultAddress: `0x${string}`;
|
|
2691
|
+
dynamicData?: {
|
|
2692
|
+
__typename?: 'BendVaultDynamicData';
|
|
2693
|
+
totalApy: number;
|
|
2694
|
+
} | null;
|
|
2695
|
+
}>;
|
|
2696
|
+
};
|
|
2606
2697
|
type ApiValidatorMinimalFragment = {
|
|
2607
2698
|
__typename?: 'GqlValidator';
|
|
2608
2699
|
id: `0x${string}`;
|
|
@@ -2624,6 +2715,7 @@ type ApiValidatorMinimalFragment = {
|
|
|
2624
2715
|
rewardRate: string;
|
|
2625
2716
|
stakedBeraAmount: string;
|
|
2626
2717
|
lastDayDistributedBGTAmount: string;
|
|
2718
|
+
lastDayProposedBlockCount: number;
|
|
2627
2719
|
activeBoostAmountRank: number;
|
|
2628
2720
|
boostApr: number;
|
|
2629
2721
|
commissionOnIncentives: number;
|
|
@@ -2718,6 +2810,7 @@ type ApiValidatorFragment = {
|
|
|
2718
2810
|
rewardRate: string;
|
|
2719
2811
|
stakedBeraAmount: string;
|
|
2720
2812
|
lastDayDistributedBGTAmount: string;
|
|
2813
|
+
lastDayProposedBlockCount: number;
|
|
2721
2814
|
activeBoostAmountRank: number;
|
|
2722
2815
|
boostApr: number;
|
|
2723
2816
|
commissionOnIncentives: number;
|
|
@@ -2806,6 +2899,7 @@ type ApiValidatorInListFragment = {
|
|
|
2806
2899
|
rewardRate: string;
|
|
2807
2900
|
stakedBeraAmount: string;
|
|
2808
2901
|
lastDayDistributedBGTAmount: string;
|
|
2902
|
+
lastDayProposedBlockCount: number;
|
|
2809
2903
|
activeBoostAmountRank: number;
|
|
2810
2904
|
boostApr: number;
|
|
2811
2905
|
commissionOnIncentives: number;
|
|
@@ -2972,6 +3066,7 @@ type GetValidatorQuery = {
|
|
|
2972
3066
|
rewardRate: string;
|
|
2973
3067
|
stakedBeraAmount: string;
|
|
2974
3068
|
lastDayDistributedBGTAmount: string;
|
|
3069
|
+
lastDayProposedBlockCount: number;
|
|
2975
3070
|
activeBoostAmountRank: number;
|
|
2976
3071
|
boostApr: number;
|
|
2977
3072
|
commissionOnIncentives: number;
|
|
@@ -3052,6 +3147,7 @@ type GetValidatorsQuery = {
|
|
|
3052
3147
|
rewardRate: string;
|
|
3053
3148
|
stakedBeraAmount: string;
|
|
3054
3149
|
lastDayDistributedBGTAmount: string;
|
|
3150
|
+
lastDayProposedBlockCount: number;
|
|
3055
3151
|
activeBoostAmountRank: number;
|
|
3056
3152
|
boostApr: number;
|
|
3057
3153
|
commissionOnIncentives: number;
|
|
@@ -3162,6 +3258,7 @@ type GetVaultValidatorsQuery = {
|
|
|
3162
3258
|
rewardRate: string;
|
|
3163
3259
|
stakedBeraAmount: string;
|
|
3164
3260
|
lastDayDistributedBGTAmount: string;
|
|
3261
|
+
lastDayProposedBlockCount: number;
|
|
3165
3262
|
activeBoostAmountRank: number;
|
|
3166
3263
|
boostApr: number;
|
|
3167
3264
|
commissionOnIncentives: number;
|
|
@@ -3261,6 +3358,7 @@ type GlobalDataQuery = {
|
|
|
3261
3358
|
rewardRate: string;
|
|
3262
3359
|
stakedBeraAmount: string;
|
|
3263
3360
|
lastDayDistributedBGTAmount: string;
|
|
3361
|
+
lastDayProposedBlockCount: number;
|
|
3264
3362
|
activeBoostAmountRank: number;
|
|
3265
3363
|
boostApr: number;
|
|
3266
3364
|
commissionOnIncentives: number;
|
|
@@ -3430,6 +3528,24 @@ type GetUserValidatorInformationQuery = {
|
|
|
3430
3528
|
}>;
|
|
3431
3529
|
};
|
|
3432
3530
|
};
|
|
3531
|
+
type GetBendVaultsQueryVariables = Exact<{
|
|
3532
|
+
[key: string]: never;
|
|
3533
|
+
}>;
|
|
3534
|
+
type GetBendVaultsQuery = {
|
|
3535
|
+
__typename?: 'Query';
|
|
3536
|
+
bendVaults: Array<{
|
|
3537
|
+
__typename?: 'BendVaultResponse';
|
|
3538
|
+
vaultAddress: `0x${string}`;
|
|
3539
|
+
loanTokenAddress: `0x${string}`;
|
|
3540
|
+
dynamicData?: {
|
|
3541
|
+
__typename?: 'BendVaultDynamicData';
|
|
3542
|
+
totalApy: number;
|
|
3543
|
+
nativeApy: number;
|
|
3544
|
+
platformFee: number;
|
|
3545
|
+
performanceFee: number;
|
|
3546
|
+
} | null;
|
|
3547
|
+
}>;
|
|
3548
|
+
};
|
|
3433
3549
|
declare const ApiMinimalVaultIncentive: _apollo_client.DocumentNode;
|
|
3434
3550
|
declare const ApiValidatorMinimal: _apollo_client.DocumentNode;
|
|
3435
3551
|
declare const ApiVaultIncentive: _apollo_client.DocumentNode;
|
|
@@ -3441,6 +3557,7 @@ declare const ApiValidatorIncentive: _apollo_client.DocumentNode;
|
|
|
3441
3557
|
declare const ApiValidatorInList: _apollo_client.DocumentNode;
|
|
3442
3558
|
declare const ApiValidatorBlockUptime: _apollo_client.DocumentNode;
|
|
3443
3559
|
declare const GetVaults: _apollo_client.DocumentNode;
|
|
3560
|
+
declare const GetHeroEarnVaults: _apollo_client.DocumentNode;
|
|
3444
3561
|
declare const GetValidator: _apollo_client.DocumentNode;
|
|
3445
3562
|
declare const GetValidators: _apollo_client.DocumentNode;
|
|
3446
3563
|
declare const GetVaultValidators: _apollo_client.DocumentNode;
|
|
@@ -3451,6 +3568,7 @@ declare const GetVaultHistory: _apollo_client.DocumentNode;
|
|
|
3451
3568
|
declare const GetSWberaVaultMetadata: _apollo_client.DocumentNode;
|
|
3452
3569
|
declare const GetSWberaVaultSnapshots: _apollo_client.DocumentNode;
|
|
3453
3570
|
declare const GetUserValidatorInformation: _apollo_client.DocumentNode;
|
|
3571
|
+
declare const GetBendVaults: _apollo_client.DocumentNode;
|
|
3454
3572
|
interface PossibleTypesResultData {
|
|
3455
3573
|
possibleTypes: {
|
|
3456
3574
|
[key: string]: string[];
|
|
@@ -3458,4 +3576,4 @@ interface PossibleTypesResultData {
|
|
|
3458
3576
|
}
|
|
3459
3577
|
declare const result: PossibleTypesResultData;
|
|
3460
3578
|
|
|
3461
|
-
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
|
|
3579
|
+
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 GqlUserBgtBalance, 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 Scalars, type Token, result as default };
|
package/dist/pol/api.codegen.mjs
CHANGED
|
@@ -256,6 +256,7 @@ var ApiValidatorMinimal = gql`
|
|
|
256
256
|
rewardRate
|
|
257
257
|
stakedBeraAmount
|
|
258
258
|
lastDayDistributedBGTAmount
|
|
259
|
+
lastDayProposedBlockCount
|
|
259
260
|
activeBoostAmountRank
|
|
260
261
|
boostApr
|
|
261
262
|
commissionOnIncentives
|
|
@@ -436,6 +437,36 @@ var GetVaults = gql`
|
|
|
436
437
|
}
|
|
437
438
|
}
|
|
438
439
|
${ApiVault}`;
|
|
440
|
+
var GetHeroEarnVaults = gql`
|
|
441
|
+
query GetHeroEarnVaults($bestAprExcludedAddresses: [String!]) {
|
|
442
|
+
bestApr: polGetRewardVaults(
|
|
443
|
+
where: {vaultAddressNotIn: $bestAprExcludedAddresses}
|
|
444
|
+
first: 2
|
|
445
|
+
orderBy: apr
|
|
446
|
+
orderDirection: desc
|
|
447
|
+
) {
|
|
448
|
+
vaults {
|
|
449
|
+
...ApiVault
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
bendRewardVault: polGetRewardVaults(
|
|
453
|
+
where: {protocolsIn: ["bend"]}
|
|
454
|
+
first: 1
|
|
455
|
+
orderBy: apr
|
|
456
|
+
orderDirection: desc
|
|
457
|
+
) {
|
|
458
|
+
vaults {
|
|
459
|
+
...ApiVault
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
bendVaults {
|
|
463
|
+
vaultAddress
|
|
464
|
+
dynamicData {
|
|
465
|
+
totalApy
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
${ApiVault}`;
|
|
439
470
|
var GetValidator = gql`
|
|
440
471
|
query GetValidator($id: String!, $chain: GqlChain!) {
|
|
441
472
|
validator: polGetValidator(validatorId: $id, chain: $chain) {
|
|
@@ -600,6 +631,20 @@ var GetUserValidatorInformation = gql`
|
|
|
600
631
|
}
|
|
601
632
|
}
|
|
602
633
|
`;
|
|
634
|
+
var GetBendVaults = gql`
|
|
635
|
+
query GetBendVaults {
|
|
636
|
+
bendVaults {
|
|
637
|
+
vaultAddress
|
|
638
|
+
loanTokenAddress
|
|
639
|
+
dynamicData {
|
|
640
|
+
totalApy
|
|
641
|
+
nativeApy
|
|
642
|
+
platformFee
|
|
643
|
+
performanceFee
|
|
644
|
+
}
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
`;
|
|
603
648
|
var result = {
|
|
604
649
|
"possibleTypes": {
|
|
605
650
|
"GqlIncentive": [
|
|
@@ -663,6 +708,8 @@ export {
|
|
|
663
708
|
ApiValidatorRewardAllocationWeight,
|
|
664
709
|
ApiVault,
|
|
665
710
|
ApiVaultIncentive,
|
|
711
|
+
GetBendVaults,
|
|
712
|
+
GetHeroEarnVaults,
|
|
666
713
|
GetRewardVault,
|
|
667
714
|
GetSWberaVaultMetadata,
|
|
668
715
|
GetSWberaVaultSnapshots,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@berachain/graphql",
|
|
3
|
-
"version": "0.4.16-beta.
|
|
3
|
+
"version": "0.4.16-beta.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"openapi-typescript": "7.13.0",
|
|
33
33
|
"tsup": "8.5.1",
|
|
34
34
|
"typescript": "5.5.4",
|
|
35
|
-
"@berachain/config": "^0.1.
|
|
35
|
+
"@berachain/config": "^0.1.15-beta.5"
|
|
36
36
|
},
|
|
37
37
|
"exports": {
|
|
38
38
|
"./governance": {
|