@berachain/graphql 0.4.7 → 0.4.8-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/bend/whisk.codegen.d.cts +3360 -0
- package/dist/dex/api.codegen.cjs +16 -16
- package/dist/dex/api.codegen.d.cts +3637 -0
- package/dist/dex/api.codegen.d.ts +4 -117
- package/dist/dex/api.codegen.mjs +17 -17
- package/dist/dex/subgraph.codegen.d.cts +5362 -0
- package/dist/governance/governance.codegen.d.cts +1533 -0
- package/dist/honey/honey.codegen.d.cts +782 -0
- package/dist/pol/api.codegen.cjs +37 -17
- package/dist/pol/api.codegen.d.cts +3409 -0
- package/dist/pol/api.codegen.d.ts +33 -117
- package/dist/pol/api.codegen.mjs +35 -15
- package/dist/pol/fees.codegen.cjs +9 -0
- package/dist/pol/fees.codegen.d.cts +481 -0
- package/dist/pol/fees.codegen.d.ts +481 -0
- package/dist/pol/fees.codegen.mjs +9 -0
- package/dist/pol/subgraph.codegen.cjs +9 -106
- package/dist/pol/subgraph.codegen.d.cts +4107 -0
- package/dist/pol/subgraph.codegen.d.ts +17 -196
- package/dist/pol/subgraph.codegen.mjs +9 -106
- package/package.json +10 -1
|
@@ -108,21 +108,6 @@ declare enum GqlChain {
|
|
|
108
108
|
Bepolia = "BEPOLIA",
|
|
109
109
|
Berachain = "BERACHAIN"
|
|
110
110
|
}
|
|
111
|
-
type GqlContentNewsItem = {
|
|
112
|
-
__typename?: 'GqlContentNewsItem';
|
|
113
|
-
discussionUrl?: Maybe<Scalars['String']['output']>;
|
|
114
|
-
id: Scalars['ID']['output'];
|
|
115
|
-
image?: Maybe<Scalars['String']['output']>;
|
|
116
|
-
source: GqlContentNewsItemSource;
|
|
117
|
-
text: Scalars['String']['output'];
|
|
118
|
-
timestamp: Scalars['String']['output'];
|
|
119
|
-
url: Scalars['String']['output'];
|
|
120
|
-
};
|
|
121
|
-
declare enum GqlContentNewsItemSource {
|
|
122
|
-
Discord = "discord",
|
|
123
|
-
Medium = "medium",
|
|
124
|
-
Twitter = "twitter"
|
|
125
|
-
}
|
|
126
111
|
type GqlDefaultRewardAllocation = {
|
|
127
112
|
__typename?: 'GqlDefaultRewardAllocation';
|
|
128
113
|
startBlock: Scalars['Int']['output'];
|
|
@@ -135,13 +120,6 @@ type GqlDefaultRewardAllocationWeight = {
|
|
|
135
120
|
receiver: Scalars['String']['output'];
|
|
136
121
|
receiverVault?: Maybe<GqlRewardVault>;
|
|
137
122
|
};
|
|
138
|
-
type GqlFeaturePoolGroupItemExternalLink = {
|
|
139
|
-
__typename?: 'GqlFeaturePoolGroupItemExternalLink';
|
|
140
|
-
buttonText: Scalars['String']['output'];
|
|
141
|
-
buttonUrl: Scalars['String']['output'];
|
|
142
|
-
id: Scalars['ID']['output'];
|
|
143
|
-
image: Scalars['String']['output'];
|
|
144
|
-
};
|
|
145
123
|
type GqlGlobalInfo = {
|
|
146
124
|
__typename?: 'GqlGlobalInfo';
|
|
147
125
|
annualizedBGTEmission: Scalars['String']['output'];
|
|
@@ -714,21 +692,6 @@ type GqlPoolEventsFilter = {
|
|
|
714
692
|
/** USD value of the event */
|
|
715
693
|
valueUSD_gte?: InputMaybe<Scalars['Float']['input']>;
|
|
716
694
|
};
|
|
717
|
-
type GqlPoolFeaturedPool = {
|
|
718
|
-
__typename?: 'GqlPoolFeaturedPool';
|
|
719
|
-
description: Scalars['String']['output'];
|
|
720
|
-
pool: GqlPoolBase;
|
|
721
|
-
poolId: Scalars['ID']['output'];
|
|
722
|
-
primary: Scalars['Boolean']['output'];
|
|
723
|
-
};
|
|
724
|
-
type GqlPoolFeaturedPoolGroup = {
|
|
725
|
-
__typename?: 'GqlPoolFeaturedPoolGroup';
|
|
726
|
-
icon: Scalars['String']['output'];
|
|
727
|
-
id: Scalars['ID']['output'];
|
|
728
|
-
items: Array<GqlPoolFeaturedPoolGroupItem>;
|
|
729
|
-
title: Scalars['String']['output'];
|
|
730
|
-
};
|
|
731
|
-
type GqlPoolFeaturedPoolGroupItem = GqlFeaturePoolGroupItemExternalLink | GqlPoolMinimal;
|
|
732
695
|
type GqlPoolFilter = {
|
|
733
696
|
addressIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
734
697
|
addressNotIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
@@ -2035,7 +1998,6 @@ type GqlValidatorDynamicData = {
|
|
|
2035
1998
|
boostApr: Scalars['Float']['output'];
|
|
2036
1999
|
chain: GqlChain;
|
|
2037
2000
|
commissionOnIncentives: Scalars['Int']['output'];
|
|
2038
|
-
commissionOnIncentivesHistory: Array<GqlValidatorCommissionHistory>;
|
|
2039
2001
|
lastDayDistributedBGTAmount: Scalars['String']['output'];
|
|
2040
2002
|
lastDayEarnedBGTAmount: Scalars['String']['output'];
|
|
2041
2003
|
queuedBoostAmount: Scalars['String']['output'];
|
|
@@ -2195,12 +2157,10 @@ type Query = {
|
|
|
2195
2157
|
blocksGetBlocksPerDay: Scalars['Float']['output'];
|
|
2196
2158
|
blocksGetBlocksPerSecond: Scalars['Float']['output'];
|
|
2197
2159
|
blocksGetBlocksPerYear: Scalars['Float']['output'];
|
|
2198
|
-
contentGetNewsItems: Array<GqlContentNewsItem>;
|
|
2199
2160
|
/** Returns list of hooks. */
|
|
2200
2161
|
hooks?: Maybe<Array<Hook>>;
|
|
2201
2162
|
latestSyncedBlocks: GqlLatestSyncedBlocks;
|
|
2202
2163
|
polGetActiveIncentives: PaginatedRewardVaultIncentivesResponse;
|
|
2203
|
-
polGetDefaultRewardAllocations?: Maybe<GqlDefaultRewardAllocation>;
|
|
2204
2164
|
polGetGlobalInfo?: Maybe<GqlGlobalInfo>;
|
|
2205
2165
|
polGetRewardVault?: Maybe<GqlRewardVault>;
|
|
2206
2166
|
polGetRewardVaultSnapshots: Array<GqlRewardVaultSnapshot>;
|
|
@@ -2211,34 +2171,20 @@ type Query = {
|
|
|
2211
2171
|
polGetUserVaultDeposits: PaginatedUserVaultDepositsResponse;
|
|
2212
2172
|
polGetValidator?: Maybe<GqlValidator>;
|
|
2213
2173
|
polGetValidatorBlockUptimes: Array<GqlValidatorBlockUptime>;
|
|
2174
|
+
/** @deprecated This query will be removed at the end of March 2026. Read the value from an RPC instead. */
|
|
2214
2175
|
polGetValidatorBoostDelay: GqlValidatorBoostDelay;
|
|
2215
2176
|
polGetValidatorBoosts: PaginatedValidatorBoostsResponse;
|
|
2177
|
+
/** @deprecated This query will be removed at the end of March 2026. Read the value from an RPC instead. */
|
|
2216
2178
|
polGetValidatorCommissionDelay: GqlValidatorCommissionDelay;
|
|
2217
2179
|
polGetValidators: PaginatedValidatorsResponse;
|
|
2180
|
+
/** @deprecated This query will be removed at the end of March 2026. Read the value from an RPC instead. */
|
|
2218
2181
|
polGetVaultDurations: GqlVaultDurations;
|
|
2219
2182
|
/** Getting swap, add and remove events with paging */
|
|
2220
2183
|
poolEvents: Array<GqlPoolEvent>;
|
|
2221
2184
|
/** Returns all pools for a given filter, specific for aggregators */
|
|
2222
2185
|
poolGetAggregatorPools: Array<GqlPoolAggregator>;
|
|
2223
|
-
/**
|
|
2224
|
-
* Will de deprecated in favor of poolEvents
|
|
2225
|
-
* @deprecated Use poolEvents instead
|
|
2226
|
-
*/
|
|
2227
|
-
poolGetBatchSwaps: Array<GqlPoolBatchSwap>;
|
|
2228
2186
|
/** Getting swap, add and remove events with range */
|
|
2229
2187
|
poolGetEvents: Array<GqlPoolEvent>;
|
|
2230
|
-
/**
|
|
2231
|
-
* Will de deprecated in favor of poolGetFeaturedPools
|
|
2232
|
-
* @deprecated Use poolGetFeaturedPools instead
|
|
2233
|
-
*/
|
|
2234
|
-
poolGetFeaturedPoolGroups: Array<GqlPoolFeaturedPoolGroup>;
|
|
2235
|
-
/** Returns the list of featured pools for chains */
|
|
2236
|
-
poolGetFeaturedPools: Array<GqlPoolFeaturedPool>;
|
|
2237
|
-
/**
|
|
2238
|
-
* Will de deprecated in favor of poolEvents
|
|
2239
|
-
* @deprecated Use poolEvents instead
|
|
2240
|
-
*/
|
|
2241
|
-
poolGetJoinExits: Array<GqlPoolJoinExit>;
|
|
2242
2188
|
/** Returns one pool. If a user address is provided, the user balances for the given pool will also be returned. */
|
|
2243
2189
|
poolGetPool: GqlPoolBase;
|
|
2244
2190
|
/** Returns all pools for a given filter */
|
|
@@ -2247,12 +2193,6 @@ type Query = {
|
|
|
2247
2193
|
poolGetPoolsCount: Scalars['Int']['output'];
|
|
2248
2194
|
/** Gets all the snapshots for a given pool on a chain for a certain range */
|
|
2249
2195
|
poolGetSnapshots: Array<GqlPoolSnapshot>;
|
|
2250
|
-
/**
|
|
2251
|
-
* Will de deprecated in favor of poolEvents
|
|
2252
|
-
* @deprecated Use poolEvents instead
|
|
2253
|
-
*/
|
|
2254
|
-
poolGetSwaps: Array<GqlPoolSwap>;
|
|
2255
|
-
poolGetUserBalances: Array<GqlUserPoolBalance>;
|
|
2256
2196
|
protocolMetricsAggregated: GqlProtocolMetricsAggregated;
|
|
2257
2197
|
protocolMetricsChain: GqlProtocolMetricsChain;
|
|
2258
2198
|
/** Get swap quote from the SOR v2 for the V2 vault */
|
|
@@ -2284,20 +2224,10 @@ type Query = {
|
|
|
2284
2224
|
tokenGetRelativePriceChartData: Array<GqlTokenPriceChartDataItem>;
|
|
2285
2225
|
/** Returns a token for a given address and chain */
|
|
2286
2226
|
tokenGetToken: GqlToken;
|
|
2287
|
-
/**
|
|
2288
|
-
* Returns meta data for a given token such as description, website, etc.
|
|
2289
|
-
* @deprecated Use tokenGetTokens instead
|
|
2290
|
-
*/
|
|
2291
|
-
tokenGetTokenData?: Maybe<GqlTokenData>;
|
|
2292
2227
|
/** Returns dynamic data of a token such as price, market cap, etc. */
|
|
2293
2228
|
tokenGetTokenDynamicData?: Maybe<GqlTokenDynamicData>;
|
|
2294
2229
|
/** Returns all allowed tokens for a given chain or chains */
|
|
2295
2230
|
tokenGetTokens: Array<GqlToken>;
|
|
2296
|
-
/**
|
|
2297
|
-
* Returns meta data for a given set of tokens such as description, website, etc.
|
|
2298
|
-
* @deprecated Use tokenGetTokens instead
|
|
2299
|
-
*/
|
|
2300
|
-
tokenGetTokensData: Array<GqlTokenData>;
|
|
2301
2231
|
/** Returns dynamic data of a set of tokens such as price, market cap, etc. */
|
|
2302
2232
|
tokenGetTokensDynamicData: Array<GqlTokenDynamicData>;
|
|
2303
2233
|
userGetPoolBalances: Array<GqlUserPoolBalance>;
|
|
@@ -2305,14 +2235,10 @@ type Query = {
|
|
|
2305
2235
|
userGetPoolJoinExits: Array<GqlPoolJoinExit>;
|
|
2306
2236
|
/** Will de deprecated in favor of poolGetEvents */
|
|
2307
2237
|
userGetSwaps: Array<GqlPoolSwap>;
|
|
2308
|
-
userGetTopBGTBalance: Array<GqlUserBgtBalance>;
|
|
2309
2238
|
};
|
|
2310
2239
|
type QueryBendVaultArgs = {
|
|
2311
2240
|
vaultAddress: Scalars['Bytes']['input'];
|
|
2312
2241
|
};
|
|
2313
|
-
type QueryContentGetNewsItemsArgs = {
|
|
2314
|
-
chain?: InputMaybe<GqlChain>;
|
|
2315
|
-
};
|
|
2316
2242
|
type QueryHooksArgs = {
|
|
2317
2243
|
chain?: InputMaybe<GqlChain>;
|
|
2318
2244
|
};
|
|
@@ -2324,9 +2250,6 @@ type QueryPolGetActiveIncentivesArgs = {
|
|
|
2324
2250
|
search?: InputMaybe<Scalars['String']['input']>;
|
|
2325
2251
|
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2326
2252
|
};
|
|
2327
|
-
type QueryPolGetDefaultRewardAllocationsArgs = {
|
|
2328
|
-
chain?: InputMaybe<GqlChain>;
|
|
2329
|
-
};
|
|
2330
2253
|
type QueryPolGetGlobalInfoArgs = {
|
|
2331
2254
|
chain: GqlChain;
|
|
2332
2255
|
};
|
|
@@ -2409,11 +2332,6 @@ type QueryPoolGetAggregatorPoolsArgs = {
|
|
|
2409
2332
|
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2410
2333
|
where?: InputMaybe<GqlPoolFilter>;
|
|
2411
2334
|
};
|
|
2412
|
-
type QueryPoolGetBatchSwapsArgs = {
|
|
2413
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
2414
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2415
|
-
where?: InputMaybe<GqlPoolSwapFilter>;
|
|
2416
|
-
};
|
|
2417
2335
|
type QueryPoolGetEventsArgs = {
|
|
2418
2336
|
chain: GqlChain;
|
|
2419
2337
|
poolId: Scalars['String']['input'];
|
|
@@ -2421,17 +2339,6 @@ type QueryPoolGetEventsArgs = {
|
|
|
2421
2339
|
typeIn: Array<GqlPoolEventType>;
|
|
2422
2340
|
userAddress?: InputMaybe<Scalars['String']['input']>;
|
|
2423
2341
|
};
|
|
2424
|
-
type QueryPoolGetFeaturedPoolGroupsArgs = {
|
|
2425
|
-
chains?: InputMaybe<Array<GqlChain>>;
|
|
2426
|
-
};
|
|
2427
|
-
type QueryPoolGetFeaturedPoolsArgs = {
|
|
2428
|
-
chains: Array<GqlChain>;
|
|
2429
|
-
};
|
|
2430
|
-
type QueryPoolGetJoinExitsArgs = {
|
|
2431
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
2432
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2433
|
-
where?: InputMaybe<GqlPoolJoinExitFilter>;
|
|
2434
|
-
};
|
|
2435
2342
|
type QueryPoolGetPoolArgs = {
|
|
2436
2343
|
chain?: InputMaybe<GqlChain>;
|
|
2437
2344
|
id: Scalars['String']['input'];
|
|
@@ -2458,16 +2365,6 @@ type QueryPoolGetSnapshotsArgs = {
|
|
|
2458
2365
|
id: Scalars['String']['input'];
|
|
2459
2366
|
range: GqlPoolSnapshotDataRange;
|
|
2460
2367
|
};
|
|
2461
|
-
type QueryPoolGetSwapsArgs = {
|
|
2462
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
2463
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2464
|
-
where?: InputMaybe<GqlPoolSwapFilter>;
|
|
2465
|
-
};
|
|
2466
|
-
type QueryPoolGetUserBalancesArgs = {
|
|
2467
|
-
chain: GqlChain;
|
|
2468
|
-
poolId: Scalars['String']['input'];
|
|
2469
|
-
top?: InputMaybe<Scalars['Int']['input']>;
|
|
2470
|
-
};
|
|
2471
2368
|
type QueryProtocolMetricsAggregatedArgs = {
|
|
2472
2369
|
chains?: InputMaybe<Array<GqlChain>>;
|
|
2473
2370
|
};
|
|
@@ -2528,10 +2425,6 @@ type QueryTokenGetTokenArgs = {
|
|
|
2528
2425
|
address: Scalars['String']['input'];
|
|
2529
2426
|
chain: GqlChain;
|
|
2530
2427
|
};
|
|
2531
|
-
type QueryTokenGetTokenDataArgs = {
|
|
2532
|
-
address: Scalars['String']['input'];
|
|
2533
|
-
chain?: InputMaybe<GqlChain>;
|
|
2534
|
-
};
|
|
2535
2428
|
type QueryTokenGetTokenDynamicDataArgs = {
|
|
2536
2429
|
address: Scalars['String']['input'];
|
|
2537
2430
|
chain?: InputMaybe<GqlChain>;
|
|
@@ -2540,9 +2433,6 @@ type QueryTokenGetTokensArgs = {
|
|
|
2540
2433
|
addressIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2541
2434
|
chains: Array<GqlChain>;
|
|
2542
2435
|
};
|
|
2543
|
-
type QueryTokenGetTokensDataArgs = {
|
|
2544
|
-
addresses: Array<Scalars['String']['input']>;
|
|
2545
|
-
};
|
|
2546
2436
|
type QueryTokenGetTokensDynamicDataArgs = {
|
|
2547
2437
|
addresses: Array<Scalars['String']['input']>;
|
|
2548
2438
|
chain?: InputMaybe<GqlChain>;
|
|
@@ -2565,9 +2455,6 @@ type QueryUserGetSwapsArgs = {
|
|
|
2565
2455
|
poolId: Scalars['String']['input'];
|
|
2566
2456
|
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2567
2457
|
};
|
|
2568
|
-
type QueryUserGetTopBgtBalanceArgs = {
|
|
2569
|
-
chain: GqlChain;
|
|
2570
|
-
};
|
|
2571
2458
|
type Token = {
|
|
2572
2459
|
__typename?: 'Token';
|
|
2573
2460
|
address: Scalars['Bytes']['output'];
|
|
@@ -3467,6 +3354,34 @@ type GetSWberaVaultSnapshotsQuery = {
|
|
|
3467
3354
|
vaultAddress: `0x${string}`;
|
|
3468
3355
|
}>;
|
|
3469
3356
|
};
|
|
3357
|
+
type GetUserValidatorInformationQueryVariables = Exact<{
|
|
3358
|
+
address: Scalars['String']['input'];
|
|
3359
|
+
chain: GqlChain;
|
|
3360
|
+
}>;
|
|
3361
|
+
type GetUserValidatorInformationQuery = {
|
|
3362
|
+
__typename?: 'Query';
|
|
3363
|
+
polGetValidatorBoosts: {
|
|
3364
|
+
__typename?: 'PaginatedValidatorBoostsResponse';
|
|
3365
|
+
boosts: Array<{
|
|
3366
|
+
__typename?: 'GqlValidatorBoost';
|
|
3367
|
+
validatorId: `0x${string}`;
|
|
3368
|
+
activeBoostAmount: string;
|
|
3369
|
+
queuedBoostAmount: string;
|
|
3370
|
+
queuedDropBoostAmount: string;
|
|
3371
|
+
latestBlockTime: number;
|
|
3372
|
+
validator?: {
|
|
3373
|
+
__typename?: 'GqlValidator';
|
|
3374
|
+
id: `0x${string}`;
|
|
3375
|
+
pubkey: `0x${string}`;
|
|
3376
|
+
metadata?: {
|
|
3377
|
+
__typename?: 'GqlValidatorMetadata';
|
|
3378
|
+
name: string;
|
|
3379
|
+
logoURI: string;
|
|
3380
|
+
} | null;
|
|
3381
|
+
} | null;
|
|
3382
|
+
}>;
|
|
3383
|
+
};
|
|
3384
|
+
};
|
|
3470
3385
|
declare const ApiValidatorMinimal: _apollo_client.DocumentNode;
|
|
3471
3386
|
declare const ApiVaultIncentive: _apollo_client.DocumentNode;
|
|
3472
3387
|
declare const ApiVault: _apollo_client.DocumentNode;
|
|
@@ -3483,6 +3398,7 @@ declare const GetUserVaults: _apollo_client.DocumentNode;
|
|
|
3483
3398
|
declare const GetVaultHistory: _apollo_client.DocumentNode;
|
|
3484
3399
|
declare const GetSWberaVaultMetadata: _apollo_client.DocumentNode;
|
|
3485
3400
|
declare const GetSWberaVaultSnapshots: _apollo_client.DocumentNode;
|
|
3401
|
+
declare const GetUserValidatorInformation: _apollo_client.DocumentNode;
|
|
3486
3402
|
interface PossibleTypesResultData {
|
|
3487
3403
|
possibleTypes: {
|
|
3488
3404
|
[key: string]: string[];
|
|
@@ -3490,4 +3406,4 @@ interface PossibleTypesResultData {
|
|
|
3490
3406
|
}
|
|
3491
3407
|
declare const result: PossibleTypesResultData;
|
|
3492
3408
|
|
|
3493
|
-
export { ApiRewardAllocationWeight, type ApiRewardAllocationWeightFragment, ApiValidator, ApiValidatorBlockUptime, type ApiValidatorBlockUptimeFragment, type ApiValidatorFragment, ApiValidatorMinimal, type ApiValidatorMinimalFragment, 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, 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
|
|
3409
|
+
export { ApiRewardAllocationWeight, type ApiRewardAllocationWeightFragment, ApiValidator, ApiValidatorBlockUptime, type ApiValidatorBlockUptimeFragment, type ApiValidatorFragment, ApiValidatorMinimal, type ApiValidatorMinimalFragment, 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 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, type GqlValidatorBoostDelay, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, type GqlValidatorCommissionDelay, type GqlValidatorCommissionHistory, type GqlValidatorDynamicData, type GqlValidatorFilter, type GqlValidatorMetadata, GqlValidatorOrderBy, GqlValidatorOrderDirection, type GqlValidatorRewardAllocationWeight, type GqlValidatorStats, type GqlVaultDurations, GqlVaultSnapshotDataRange, type Hook, type HookData, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, 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 QueryTokenGetCandlestickChartDataArgs, type QueryTokenGetCurrentPriceArgs, type QueryTokenGetCurrentPricesArgs, type QueryTokenGetHistoricalPricesArgs, type QueryTokenGetPriceChartDataArgs, type QueryTokenGetProtocolTokenPriceArgs, type QueryTokenGetRelativePriceChartDataArgs, type QueryTokenGetTokenArgs, type QueryTokenGetTokenDynamicDataArgs, type QueryTokenGetTokensArgs, type QueryTokenGetTokensDynamicDataArgs, type QueryUserGetPoolBalancesArgs, type QueryUserGetPoolJoinExitsArgs, type QueryUserGetSwapsArgs, type Scalars, type Token, result as default };
|
package/dist/pol/api.codegen.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{gql as o}from"@apollo/client";var d=(t=>(t.Bepolia="BEPOLIA",t.Berachain="BERACHAIN",t))(d||{}),g=(
|
|
1
|
+
import{gql as o}from"@apollo/client";var d=(t=>(t.Bepolia="BEPOLIA",t.Berachain="BERACHAIN",t))(d||{}),g=(s=>(s.Aura="AURA",s.IbYield="IB_YIELD",s.Locking="LOCKING",s.MabeetsEmissions="MABEETS_EMISSIONS",s.Merkl="MERKL",s.Nested="NESTED",s.Staking="STAKING",s.StakingBoost="STAKING_BOOST",s.Surplus="SURPLUS",s.SwapFee="SWAP_FEE",s.VebalEmissions="VEBAL_EMISSIONS",s.Voting="VOTING",s))(g||{}),m=(e=>(e.Add="ADD",e.Remove="REMOVE",e.Swap="SWAP",e))(m||{}),G=(e=>(e.NinetyDays="NINETY_DAYS",e.SevenDays="SEVEN_DAYS",e.ThirtyDays="THIRTY_DAYS",e))(G||{}),b=(i=>(i.BlackListed="BLACK_LISTED",i.Incentivized="INCENTIVIZED",i.Lrt="LRT",i.Points="POINTS",i.PointsEigenlayer="POINTS_EIGENLAYER",i.PointsGyro="POINTS_GYRO",i.PointsKelp="POINTS_KELP",i.PointsRenzo="POINTS_RENZO",i.PointsSwell="POINTS_SWELL",i.Superfest="SUPERFEST",i))(b||{}),A=(t=>(t.Exit="Exit",t.Join="Join",t))(A||{}),I=(e=>(e.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",e.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",e.NoNesting="NO_NESTING",e))(I||{}),q=(r=>(r.Apr="apr",r.BgtApr="bgtApr",r.CombinedApr="combinedApr",r.Fees24h="fees24h",r.TotalLiquidity="totalLiquidity",r.TotalShares="totalShares",r.UserbalanceUsd="userbalanceUsd",r.Volume24h="volume24h",r))(q||{}),B=(t=>(t.Asc="asc",t.Desc="desc",t))(B||{}),P=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",a.OneYear="ONE_YEAR",a.ThirtyDays="THIRTY_DAYS",a))(P||{}),k=(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))(k||{}),h=(e=>(e.AmountRemaining="amountRemaining",e.AmountRemainingUsd="amountRemainingUsd",e.IncentiveRate="incentiveRate",e))(h||{}),v=(t=>(t.Asc="asc",t.Desc="desc",t))(v||{}),_=(r=>(r.ActiveIncentivesRateUsd="activeIncentivesRateUsd",r.ActiveIncentivesValueUsd="activeIncentivesValueUsd",r.AllTimeBgtReceived="allTimeBGTReceived",r.Apr="apr",r.Apy="apy",r.BgtCapturePercentage="bgtCapturePercentage",r.Last24hBgtReceived="last24hBGTReceived",r.ProjectedApr="projectedApr",r))(_||{}),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||{}),T=(t=>(t.Day="DAY",t.Hour="HOUR",t))(T||{}),V=(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(V||{}),x=(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(x||{}),w=(a=>(a.NinetyDay="NINETY_DAY",a.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",a.OneYear="ONE_YEAR",a.SevenDay="SEVEN_DAY",a.ThirtyDay="THIRTY_DAY",a))(w||{}),R=(e=>(e.Bpt="BPT",e.PhantomBpt="PHANTOM_BPT",e.WhiteListed="WHITE_LISTED",e))(R||{}),C=(y=>(y.Amount="amount",y))(C||{}),U=(t=>(t.Asc="asc",t.Desc="desc",t))(U||{}),E=(u=>(u.Inactive="INACTIVE",u.Offline="OFFLINE",u.Proposed="PROPOSED",u.Signed="SIGNED",u))(E||{}),$=(a=>(a.ActiveBoostAmount="activeBoostAmount",a.LatestBlock="latestBlock",a.LatestBlockTime="latestBlockTime",a.QueuedBoostAmount="queuedBoostAmount",a.QueuedDropBoostAmount="queuedDropBoostAmount",a))($||{}),f=(t=>(t.Asc="asc",t.Desc="desc",t))(f||{}),N=(n=>(n.ActiveBoostAmount="activeBoostAmount",n.AllTimeDistributedBgtAmount="allTimeDistributedBGTAmount",n.AllTimeEarnedBgtAmount="allTimeEarnedBGTAmount",n.Apy="apy",n.BgtCapturePercentage="bgtCapturePercentage",n.BoostApr="boostApr",n.CommissionOnIncentives="commissionOnIncentives",n.LastDayDistributedBgtAmount="lastDayDistributedBGTAmount",n.LastDayEarnedBgtAmount="lastDayEarnedBGTAmount",n.QueuedBoostAmount="queuedBoostAmount",n.QueuedDropBoostAmount="queuedDropBoostAmount",n.RewardRate="rewardRate",n.StakedBeraAmount="stakedBeraAmount",n.UsersActiveBoostCount="usersActiveBoostCount",n.UsersQueuedBoostCount="usersQueuedBoostCount",n))(N||{}),F=(t=>(t.Asc="asc",t.Desc="desc",t))(F||{}),W=(u=>(u.NinetyDays="NINETY_DAYS",u.SevenDays="SEVEN_DAYS",u.SixtyDays="SIXTY_DAYS",u.ThirtyDays="THIRTY_DAYS",u))(W||{}),S=o`
|
|
2
2
|
fragment ApiValidatorMinimal on GqlValidator {
|
|
3
3
|
id
|
|
4
4
|
pubkey
|
|
@@ -22,7 +22,7 @@ import{gql as o}from"@apollo/client";var d=(t=>(t.Bepolia="BEPOLIA",t.Berachain=
|
|
|
22
22
|
commissionOnIncentives
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
`,
|
|
25
|
+
`,Q=o`
|
|
26
26
|
fragment ApiVaultIncentive on GqlRewardVaultIncentive {
|
|
27
27
|
active
|
|
28
28
|
remainingAmount
|
|
@@ -74,7 +74,7 @@ import{gql as o}from"@apollo/client";var d=(t=>(t.Bepolia="BEPOLIA",t.Berachain=
|
|
|
74
74
|
...ApiVaultIncentive
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
${
|
|
77
|
+
${Q}`,H=o`
|
|
78
78
|
fragment ApiRewardAllocationWeight on GqlValidatorRewardAllocationWeight {
|
|
79
79
|
percentage
|
|
80
80
|
receivingVault {
|
|
@@ -105,7 +105,7 @@ import{gql as o}from"@apollo/client";var d=(t=>(t.Bepolia="BEPOLIA",t.Berachain=
|
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
${S}
|
|
108
|
-
${
|
|
108
|
+
${H}`,O=o`
|
|
109
109
|
fragment ApiValidatorBlockUptime on GqlValidatorBlockUptime {
|
|
110
110
|
isActive
|
|
111
111
|
isProposer
|
|
@@ -113,7 +113,7 @@ ${O}`,L=o`
|
|
|
113
113
|
status
|
|
114
114
|
blockNumber
|
|
115
115
|
}
|
|
116
|
-
`,
|
|
116
|
+
`,z=o`
|
|
117
117
|
query GetVaults($where: GqlRewardVaultFilter, $pageSize: Int, $skip: Int, $orderBy: GqlRewardVaultOrderBy = bgtCapturePercentage, $orderDirection: GqlRewardVaultOrderDirection = desc, $search: String) {
|
|
118
118
|
polGetRewardVaults(
|
|
119
119
|
where: $where
|
|
@@ -132,7 +132,7 @@ ${O}`,L=o`
|
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
|
-
${p}`,
|
|
135
|
+
${p}`,K=o`
|
|
136
136
|
query GetValidator($id: String!, $chain: GqlChain!) {
|
|
137
137
|
validator: polGetValidator(validatorId: $id, chain: $chain) {
|
|
138
138
|
...ApiValidator
|
|
@@ -142,7 +142,7 @@ ${O}`,L=o`
|
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
${c}
|
|
145
|
-
${
|
|
145
|
+
${O}`,J=o`
|
|
146
146
|
query GetValidators($where: GqlValidatorFilter, $sortBy: GqlValidatorOrderBy = lastDayDistributedBGTAmount, $sortOrder: GqlValidatorOrderDirection = desc, $pageSize: Int, $skip: Int, $search: String, $chain: GqlChain) {
|
|
147
147
|
validators: polGetValidators(
|
|
148
148
|
where: $where
|
|
@@ -164,7 +164,7 @@ ${L}`,X=o`
|
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
|
-
${c}`,
|
|
167
|
+
${c}`,X=o`
|
|
168
168
|
query GetVaultValidators($vaultId: String!, $chain: GqlChain, $isActive: Boolean = true) {
|
|
169
169
|
validators: polGetValidators(
|
|
170
170
|
where: {vaultAddress: $vaultId, isActive: $isActive}
|
|
@@ -181,13 +181,13 @@ ${L}`,X=o`
|
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
|
-
${c}`,
|
|
184
|
+
${c}`,j=o`
|
|
185
185
|
query GetRewardVault($vaultId: String!, $chain: GqlChain!) {
|
|
186
186
|
rewardVault: polGetRewardVault(vaultAddress: $vaultId, chain: $chain) {
|
|
187
187
|
...ApiVault
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
${p}`,
|
|
190
|
+
${p}`,Z=o`
|
|
191
191
|
query GlobalData($chain: GqlChain!) {
|
|
192
192
|
top3EmittingValidators: polGetValidators(
|
|
193
193
|
orderBy: bgtCapturePercentage
|
|
@@ -220,7 +220,7 @@ ${L}`,X=o`
|
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
|
-
${S}`,
|
|
223
|
+
${S}`,tt=o`
|
|
224
224
|
query GetUserVaults($userId: String!, $chain: GqlChain!) {
|
|
225
225
|
userVaultDeposits: polGetUserVaultDeposits(userAddress: $userId, chain: $chain) {
|
|
226
226
|
pagination {
|
|
@@ -236,7 +236,7 @@ ${L}`,X=o`
|
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
|
-
${p}`,
|
|
239
|
+
${p}`,at=o`
|
|
240
240
|
query GetVaultHistory($vaultId: String!, $chain: GqlChain!, $resolution: GqlRewardVaultSnapshotResolution = DAY, $range: GqlRewardVaultSnapshotDataRange = THIRTY_DAYS) {
|
|
241
241
|
polGetRewardVaultSnapshots(
|
|
242
242
|
chain: $chain
|
|
@@ -249,14 +249,14 @@ ${L}`,X=o`
|
|
|
249
249
|
apr
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
|
-
`,
|
|
252
|
+
`,et=o`
|
|
253
253
|
query GetSWberaVaultMetadata($chain: GqlChain!, $resolution: GqlSWberaVaultMetadataResolution) {
|
|
254
254
|
polGetSWberaVaultMetadata(chain: $chain, resolution: $resolution) {
|
|
255
255
|
apr
|
|
256
256
|
chain
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
|
-
`,
|
|
259
|
+
`,rt=o`
|
|
260
260
|
query GetSWberaVaultSnapshots($chain: GqlChain!, $range: GqlVaultSnapshotDataRange) {
|
|
261
261
|
polGetSWberaVaultSnapshots(chain: $chain, range: $range) {
|
|
262
262
|
apr
|
|
@@ -267,4 +267,24 @@ ${L}`,X=o`
|
|
|
267
267
|
vaultAddress
|
|
268
268
|
}
|
|
269
269
|
}
|
|
270
|
-
`,
|
|
270
|
+
`,ot=o`
|
|
271
|
+
query GetUserValidatorInformation($address: String!, $chain: GqlChain!) {
|
|
272
|
+
polGetValidatorBoosts(userAddress: $address, chain: $chain, first: 100) {
|
|
273
|
+
boosts {
|
|
274
|
+
validatorId
|
|
275
|
+
validator {
|
|
276
|
+
id
|
|
277
|
+
pubkey
|
|
278
|
+
metadata {
|
|
279
|
+
name
|
|
280
|
+
logoURI
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
activeBoostAmount
|
|
284
|
+
queuedBoostAmount
|
|
285
|
+
queuedDropBoostAmount
|
|
286
|
+
latestBlockTime
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
`,L={possibleTypes:{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"]}},nt=L;export{H as ApiRewardAllocationWeight,c as ApiValidator,O as ApiValidatorBlockUptime,S as ApiValidatorMinimal,p as ApiVault,Q as ApiVaultIncentive,j as GetRewardVault,et as GetSWberaVaultMetadata,rt as GetSWberaVaultSnapshots,ot as GetUserValidatorInformation,tt as GetUserVaults,K as GetValidator,J as GetValidators,at as GetVaultHistory,X as GetVaultValidators,z as GetVaults,Z as GlobalData,d as GqlChain,g as GqlPoolAprItemType,m as GqlPoolEventType,G as GqlPoolEventsDataRange,b as GqlPoolFilterCategory,A as GqlPoolJoinExitType,I as GqlPoolNestingType,q as GqlPoolOrderBy,B as GqlPoolOrderDirection,P as GqlPoolSnapshotDataRange,k as GqlPoolType,h as GqlRewardVaultIncentiveOrderBy,v as GqlRewardVaultIncentiveOrderDirection,_ as GqlRewardVaultOrderBy,D as GqlRewardVaultOrderDirection,M as GqlRewardVaultSnapshotDataRange,T as GqlRewardVaultSnapshotResolution,V as GqlSWberaVaultMetadataResolution,x as GqlSorSwapType,w as GqlTokenChartDataRange,R 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,nt as default};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";var p=Object.defineProperty;var M=Object.getOwnPropertyDescriptor;var _=Object.getOwnPropertyNames;var S=Object.prototype.hasOwnProperty;var B=(u,n)=>{for(var t in n)p(u,t,{get:n[t],enumerable:!0})},g=(u,n,t,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let e of _(n))!S.call(u,e)&&e!==t&&p(u,e,{get:()=>n[e],enumerable:!(r=M(n,e))||r.enumerable});return u};var A=u=>g(p({},"__esModule",{value:!0}),u);var h={};B(h,{Aggregation_Interval:()=>y,GetIncentiveFeeClaimStats:()=>x,IncentiveFeeClaimStats_OrderBy:()=>l,IncentiveFeeClaim_OrderBy:()=>c,IncentiveFeePayoutAmountHistory_OrderBy:()=>o,OrderDirection:()=>b,UserFeeHistory_OrderBy:()=>I,_SubgraphErrorPolicy_:()=>m,default:()=>k});module.exports=A(h);var s=require("@apollo/client"),y=(t=>(t.Day="day",t.Hour="hour",t))(y||{}),l=(e=>(e.AllTimePayoutAmount="allTimePayoutAmount",e.Id="id",e.Timestamp="timestamp",e.TotalPayoutAmount="totalPayoutAmount",e))(l||{}),c=(i=>(i.BlockNumber="blockNumber",i.Caller="caller",i.Id="id",i.PayoutAmount="payoutAmount",i.Recipient="recipient",i.Timestamp="timestamp",i.TxHash="txHash",i))(c||{}),o=(a=>(a.BlockNumber="blockNumber",a.Id="id",a.NewPayoutAmount="newPayoutAmount",a.OldPayoutAmount="oldPayoutAmount",a.Timestamp="timestamp",a.TxHash="txHash",a))(o||{}),b=(t=>(t.Asc="asc",t.Desc="desc",t))(b||{}),I=(a=>(a.BlockNumber="blockNumber",a.CollectedBgtAmount="collectedBGTAmount",a.Id="id",a.Timestamp="timestamp",a.TxHash="txHash",a.User="user",a))(I||{}),m=(t=>(t.Allow="allow",t.Deny="deny",t))(m||{}),x=s.gql`
|
|
2
|
+
query GetIncentiveFeeClaimStats {
|
|
3
|
+
incentiveFeeClaims {
|
|
4
|
+
recipient
|
|
5
|
+
payoutAmount
|
|
6
|
+
timestamp
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
`,d={possibleTypes:{}},k=d;0&&(module.exports={Aggregation_Interval,GetIncentiveFeeClaimStats,IncentiveFeeClaimStats_OrderBy,IncentiveFeeClaim_OrderBy,IncentiveFeePayoutAmountHistory_OrderBy,OrderDirection,UserFeeHistory_OrderBy,_SubgraphErrorPolicy_});
|