@berachain/graphql 0.4.16-beta.8 → 0.4.18-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/dex/api.codegen.d.ts +19 -38
- package/dist/dex/api.codegen.mjs +1 -4
- package/dist/pol/api.codegen.d.ts +39 -56
- package/dist/pol/api.codegen.mjs +7 -13
- package/package.json +2 -2
|
@@ -2362,8 +2362,7 @@ type RewardVaultFragment = {
|
|
|
2362
2362
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
2363
2363
|
activeIncentivesValueUsd: string;
|
|
2364
2364
|
apr?: number | null;
|
|
2365
|
-
|
|
2366
|
-
allTimeReceivedBGTAmount: string;
|
|
2365
|
+
rewardCapturePercentage: number;
|
|
2367
2366
|
} | null;
|
|
2368
2367
|
};
|
|
2369
2368
|
type DynamicDataFragment = {
|
|
@@ -2428,8 +2427,7 @@ type MinimalPoolInListFragment = {
|
|
|
2428
2427
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
2429
2428
|
activeIncentivesValueUsd: string;
|
|
2430
2429
|
apr?: number | null;
|
|
2431
|
-
|
|
2432
|
-
allTimeReceivedBGTAmount: string;
|
|
2430
|
+
rewardCapturePercentage: number;
|
|
2433
2431
|
} | null;
|
|
2434
2432
|
} | null;
|
|
2435
2433
|
};
|
|
@@ -2478,8 +2476,7 @@ type MinimalPool_GqlPoolComposableStable_Fragment = {
|
|
|
2478
2476
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
2479
2477
|
activeIncentivesValueUsd: string;
|
|
2480
2478
|
apr?: number | null;
|
|
2481
|
-
|
|
2482
|
-
allTimeReceivedBGTAmount: string;
|
|
2479
|
+
rewardCapturePercentage: number;
|
|
2483
2480
|
} | null;
|
|
2484
2481
|
} | null;
|
|
2485
2482
|
};
|
|
@@ -2528,8 +2525,7 @@ type MinimalPool_GqlPoolElement_Fragment = {
|
|
|
2528
2525
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
2529
2526
|
activeIncentivesValueUsd: string;
|
|
2530
2527
|
apr?: number | null;
|
|
2531
|
-
|
|
2532
|
-
allTimeReceivedBGTAmount: string;
|
|
2528
|
+
rewardCapturePercentage: number;
|
|
2533
2529
|
} | null;
|
|
2534
2530
|
} | null;
|
|
2535
2531
|
};
|
|
@@ -2578,8 +2574,7 @@ type MinimalPool_GqlPoolFx_Fragment = {
|
|
|
2578
2574
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
2579
2575
|
activeIncentivesValueUsd: string;
|
|
2580
2576
|
apr?: number | null;
|
|
2581
|
-
|
|
2582
|
-
allTimeReceivedBGTAmount: string;
|
|
2577
|
+
rewardCapturePercentage: number;
|
|
2583
2578
|
} | null;
|
|
2584
2579
|
} | null;
|
|
2585
2580
|
};
|
|
@@ -2628,8 +2623,7 @@ type MinimalPool_GqlPoolGyro_Fragment = {
|
|
|
2628
2623
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
2629
2624
|
activeIncentivesValueUsd: string;
|
|
2630
2625
|
apr?: number | null;
|
|
2631
|
-
|
|
2632
|
-
allTimeReceivedBGTAmount: string;
|
|
2626
|
+
rewardCapturePercentage: number;
|
|
2633
2627
|
} | null;
|
|
2634
2628
|
} | null;
|
|
2635
2629
|
};
|
|
@@ -2678,8 +2672,7 @@ type MinimalPool_GqlPoolLiquidityBootstrapping_Fragment = {
|
|
|
2678
2672
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
2679
2673
|
activeIncentivesValueUsd: string;
|
|
2680
2674
|
apr?: number | null;
|
|
2681
|
-
|
|
2682
|
-
allTimeReceivedBGTAmount: string;
|
|
2675
|
+
rewardCapturePercentage: number;
|
|
2683
2676
|
} | null;
|
|
2684
2677
|
} | null;
|
|
2685
2678
|
};
|
|
@@ -2728,8 +2721,7 @@ type MinimalPool_GqlPoolMetaStable_Fragment = {
|
|
|
2728
2721
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
2729
2722
|
activeIncentivesValueUsd: string;
|
|
2730
2723
|
apr?: number | null;
|
|
2731
|
-
|
|
2732
|
-
allTimeReceivedBGTAmount: string;
|
|
2724
|
+
rewardCapturePercentage: number;
|
|
2733
2725
|
} | null;
|
|
2734
2726
|
} | null;
|
|
2735
2727
|
};
|
|
@@ -2778,8 +2770,7 @@ type MinimalPool_GqlPoolStable_Fragment = {
|
|
|
2778
2770
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
2779
2771
|
activeIncentivesValueUsd: string;
|
|
2780
2772
|
apr?: number | null;
|
|
2781
|
-
|
|
2782
|
-
allTimeReceivedBGTAmount: string;
|
|
2773
|
+
rewardCapturePercentage: number;
|
|
2783
2774
|
} | null;
|
|
2784
2775
|
} | null;
|
|
2785
2776
|
};
|
|
@@ -2828,8 +2819,7 @@ type MinimalPool_GqlPoolWeighted_Fragment = {
|
|
|
2828
2819
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
2829
2820
|
activeIncentivesValueUsd: string;
|
|
2830
2821
|
apr?: number | null;
|
|
2831
|
-
|
|
2832
|
-
allTimeReceivedBGTAmount: string;
|
|
2822
|
+
rewardCapturePercentage: number;
|
|
2833
2823
|
} | null;
|
|
2834
2824
|
} | null;
|
|
2835
2825
|
};
|
|
@@ -2893,8 +2883,7 @@ type GetPoolsQuery = {
|
|
|
2893
2883
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
2894
2884
|
activeIncentivesValueUsd: string;
|
|
2895
2885
|
apr?: number | null;
|
|
2896
|
-
|
|
2897
|
-
allTimeReceivedBGTAmount: string;
|
|
2886
|
+
rewardCapturePercentage: number;
|
|
2898
2887
|
} | null;
|
|
2899
2888
|
} | null;
|
|
2900
2889
|
}>;
|
|
@@ -2951,8 +2940,7 @@ type GetPoolQuery = {
|
|
|
2951
2940
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
2952
2941
|
activeIncentivesValueUsd: string;
|
|
2953
2942
|
apr?: number | null;
|
|
2954
|
-
|
|
2955
|
-
allTimeReceivedBGTAmount: string;
|
|
2943
|
+
rewardCapturePercentage: number;
|
|
2956
2944
|
} | null;
|
|
2957
2945
|
} | null;
|
|
2958
2946
|
} | {
|
|
@@ -3000,8 +2988,7 @@ type GetPoolQuery = {
|
|
|
3000
2988
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
3001
2989
|
activeIncentivesValueUsd: string;
|
|
3002
2990
|
apr?: number | null;
|
|
3003
|
-
|
|
3004
|
-
allTimeReceivedBGTAmount: string;
|
|
2991
|
+
rewardCapturePercentage: number;
|
|
3005
2992
|
} | null;
|
|
3006
2993
|
} | null;
|
|
3007
2994
|
} | {
|
|
@@ -3049,8 +3036,7 @@ type GetPoolQuery = {
|
|
|
3049
3036
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
3050
3037
|
activeIncentivesValueUsd: string;
|
|
3051
3038
|
apr?: number | null;
|
|
3052
|
-
|
|
3053
|
-
allTimeReceivedBGTAmount: string;
|
|
3039
|
+
rewardCapturePercentage: number;
|
|
3054
3040
|
} | null;
|
|
3055
3041
|
} | null;
|
|
3056
3042
|
} | {
|
|
@@ -3098,8 +3084,7 @@ type GetPoolQuery = {
|
|
|
3098
3084
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
3099
3085
|
activeIncentivesValueUsd: string;
|
|
3100
3086
|
apr?: number | null;
|
|
3101
|
-
|
|
3102
|
-
allTimeReceivedBGTAmount: string;
|
|
3087
|
+
rewardCapturePercentage: number;
|
|
3103
3088
|
} | null;
|
|
3104
3089
|
} | null;
|
|
3105
3090
|
} | {
|
|
@@ -3147,8 +3132,7 @@ type GetPoolQuery = {
|
|
|
3147
3132
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
3148
3133
|
activeIncentivesValueUsd: string;
|
|
3149
3134
|
apr?: number | null;
|
|
3150
|
-
|
|
3151
|
-
allTimeReceivedBGTAmount: string;
|
|
3135
|
+
rewardCapturePercentage: number;
|
|
3152
3136
|
} | null;
|
|
3153
3137
|
} | null;
|
|
3154
3138
|
} | {
|
|
@@ -3196,8 +3180,7 @@ type GetPoolQuery = {
|
|
|
3196
3180
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
3197
3181
|
activeIncentivesValueUsd: string;
|
|
3198
3182
|
apr?: number | null;
|
|
3199
|
-
|
|
3200
|
-
allTimeReceivedBGTAmount: string;
|
|
3183
|
+
rewardCapturePercentage: number;
|
|
3201
3184
|
} | null;
|
|
3202
3185
|
} | null;
|
|
3203
3186
|
} | {
|
|
@@ -3245,8 +3228,7 @@ type GetPoolQuery = {
|
|
|
3245
3228
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
3246
3229
|
activeIncentivesValueUsd: string;
|
|
3247
3230
|
apr?: number | null;
|
|
3248
|
-
|
|
3249
|
-
allTimeReceivedBGTAmount: string;
|
|
3231
|
+
rewardCapturePercentage: number;
|
|
3250
3232
|
} | null;
|
|
3251
3233
|
} | null;
|
|
3252
3234
|
} | {
|
|
@@ -3294,8 +3276,7 @@ type GetPoolQuery = {
|
|
|
3294
3276
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
3295
3277
|
activeIncentivesValueUsd: string;
|
|
3296
3278
|
apr?: number | null;
|
|
3297
|
-
|
|
3298
|
-
allTimeReceivedBGTAmount: string;
|
|
3279
|
+
rewardCapturePercentage: number;
|
|
3299
3280
|
} | null;
|
|
3300
3281
|
} | null;
|
|
3301
3282
|
};
|
package/dist/dex/api.codegen.mjs
CHANGED
|
@@ -252,8 +252,7 @@ var RewardVault = gql`
|
|
|
252
252
|
dynamicData {
|
|
253
253
|
activeIncentivesValueUsd
|
|
254
254
|
apr
|
|
255
|
-
|
|
256
|
-
allTimeReceivedBGTAmount
|
|
255
|
+
rewardCapturePercentage
|
|
257
256
|
}
|
|
258
257
|
isVaultWhitelisted
|
|
259
258
|
vaultAddress
|
|
@@ -272,7 +271,6 @@ var MinimalPoolInList = gql`
|
|
|
272
271
|
name
|
|
273
272
|
decimals
|
|
274
273
|
}
|
|
275
|
-
address
|
|
276
274
|
protocolVersion
|
|
277
275
|
type
|
|
278
276
|
dynamicData {
|
|
@@ -294,7 +292,6 @@ var MinimalPool = gql`
|
|
|
294
292
|
name
|
|
295
293
|
address
|
|
296
294
|
factory
|
|
297
|
-
address
|
|
298
295
|
protocolVersion
|
|
299
296
|
type
|
|
300
297
|
createTime
|
|
@@ -2487,10 +2487,10 @@ type ApiVaultFragment = {
|
|
|
2487
2487
|
address: `0x${string}`;
|
|
2488
2488
|
dynamicData?: {
|
|
2489
2489
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
2490
|
-
|
|
2490
|
+
allTimeRewards: string;
|
|
2491
2491
|
apr?: number | null;
|
|
2492
|
-
|
|
2493
|
-
|
|
2492
|
+
rewardCapturePercentage: number;
|
|
2493
|
+
rewardCapturePerBlock: number;
|
|
2494
2494
|
activeIncentivesValueUsd: string;
|
|
2495
2495
|
activeIncentivesRateUsd: string;
|
|
2496
2496
|
tvl?: number | null;
|
|
@@ -2556,10 +2556,10 @@ type GetVaultsQuery = {
|
|
|
2556
2556
|
address: `0x${string}`;
|
|
2557
2557
|
dynamicData?: {
|
|
2558
2558
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
2559
|
-
|
|
2559
|
+
allTimeRewards: string;
|
|
2560
2560
|
apr?: number | null;
|
|
2561
|
-
|
|
2562
|
-
|
|
2561
|
+
rewardCapturePercentage: number;
|
|
2562
|
+
rewardCapturePerBlock: number;
|
|
2563
2563
|
activeIncentivesValueUsd: string;
|
|
2564
2564
|
activeIncentivesRateUsd: string;
|
|
2565
2565
|
tvl?: number | null;
|
|
@@ -2617,10 +2617,10 @@ type GetHeroEarnVaultsQuery = {
|
|
|
2617
2617
|
address: `0x${string}`;
|
|
2618
2618
|
dynamicData?: {
|
|
2619
2619
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
2620
|
-
|
|
2620
|
+
allTimeRewards: string;
|
|
2621
2621
|
apr?: number | null;
|
|
2622
|
-
|
|
2623
|
-
|
|
2622
|
+
rewardCapturePercentage: number;
|
|
2623
|
+
rewardCapturePerBlock: number;
|
|
2624
2624
|
activeIncentivesValueUsd: string;
|
|
2625
2625
|
activeIncentivesRateUsd: string;
|
|
2626
2626
|
tvl?: number | null;
|
|
@@ -2672,10 +2672,10 @@ type GetHeroEarnVaultsQuery = {
|
|
|
2672
2672
|
address: `0x${string}`;
|
|
2673
2673
|
dynamicData?: {
|
|
2674
2674
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
2675
|
-
|
|
2675
|
+
allTimeRewards: string;
|
|
2676
2676
|
apr?: number | null;
|
|
2677
|
-
|
|
2678
|
-
|
|
2677
|
+
rewardCapturePercentage: number;
|
|
2678
|
+
rewardCapturePerBlock: number;
|
|
2679
2679
|
activeIncentivesValueUsd: string;
|
|
2680
2680
|
activeIncentivesRateUsd: string;
|
|
2681
2681
|
tvl?: number | null;
|
|
@@ -2739,10 +2739,8 @@ type ApiValidatorMinimalFragment = {
|
|
|
2739
2739
|
dynamicData?: {
|
|
2740
2740
|
__typename?: 'GqlValidatorDynamicData';
|
|
2741
2741
|
activeBoostAmount: string;
|
|
2742
|
-
usersActiveBoostCount: number;
|
|
2743
2742
|
queuedBoostAmount: string;
|
|
2744
|
-
|
|
2745
|
-
allTimeDistributedBGTAmount: string;
|
|
2743
|
+
allTimeDistributedRewards: string;
|
|
2746
2744
|
rewardRate: string;
|
|
2747
2745
|
stakedBeraAmount: string;
|
|
2748
2746
|
lastDayDistributedBGTAmount: string;
|
|
@@ -2772,10 +2770,10 @@ type ApiValidatorFragment = {
|
|
|
2772
2770
|
address: `0x${string}`;
|
|
2773
2771
|
dynamicData?: {
|
|
2774
2772
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
2775
|
-
|
|
2773
|
+
allTimeRewards: string;
|
|
2776
2774
|
apr?: number | null;
|
|
2777
|
-
|
|
2778
|
-
|
|
2775
|
+
rewardCapturePercentage: number;
|
|
2776
|
+
rewardCapturePerBlock: number;
|
|
2779
2777
|
activeIncentivesValueUsd: string;
|
|
2780
2778
|
activeIncentivesRateUsd: string;
|
|
2781
2779
|
tvl?: number | null;
|
|
@@ -2834,10 +2832,8 @@ type ApiValidatorFragment = {
|
|
|
2834
2832
|
dynamicData?: {
|
|
2835
2833
|
__typename?: 'GqlValidatorDynamicData';
|
|
2836
2834
|
activeBoostAmount: string;
|
|
2837
|
-
usersActiveBoostCount: number;
|
|
2838
2835
|
queuedBoostAmount: string;
|
|
2839
|
-
|
|
2840
|
-
allTimeDistributedBGTAmount: string;
|
|
2836
|
+
allTimeDistributedRewards: string;
|
|
2841
2837
|
rewardRate: string;
|
|
2842
2838
|
stakedBeraAmount: string;
|
|
2843
2839
|
lastDayDistributedBGTAmount: string;
|
|
@@ -2923,10 +2919,8 @@ type ApiValidatorInListFragment = {
|
|
|
2923
2919
|
dynamicData?: {
|
|
2924
2920
|
__typename?: 'GqlValidatorDynamicData';
|
|
2925
2921
|
activeBoostAmount: string;
|
|
2926
|
-
usersActiveBoostCount: number;
|
|
2927
2922
|
queuedBoostAmount: string;
|
|
2928
|
-
|
|
2929
|
-
allTimeDistributedBGTAmount: string;
|
|
2923
|
+
allTimeDistributedRewards: string;
|
|
2930
2924
|
rewardRate: string;
|
|
2931
2925
|
stakedBeraAmount: string;
|
|
2932
2926
|
lastDayDistributedBGTAmount: string;
|
|
@@ -2950,10 +2944,10 @@ type ApiRewardAllocationWeightFragment = {
|
|
|
2950
2944
|
address: `0x${string}`;
|
|
2951
2945
|
dynamicData?: {
|
|
2952
2946
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
2953
|
-
|
|
2947
|
+
allTimeRewards: string;
|
|
2954
2948
|
apr?: number | null;
|
|
2955
|
-
|
|
2956
|
-
|
|
2949
|
+
rewardCapturePercentage: number;
|
|
2950
|
+
rewardCapturePerBlock: number;
|
|
2957
2951
|
activeIncentivesValueUsd: string;
|
|
2958
2952
|
activeIncentivesRateUsd: string;
|
|
2959
2953
|
tvl?: number | null;
|
|
@@ -3028,10 +3022,10 @@ type GetValidatorQuery = {
|
|
|
3028
3022
|
address: `0x${string}`;
|
|
3029
3023
|
dynamicData?: {
|
|
3030
3024
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
3031
|
-
|
|
3025
|
+
allTimeRewards: string;
|
|
3032
3026
|
apr?: number | null;
|
|
3033
|
-
|
|
3034
|
-
|
|
3027
|
+
rewardCapturePercentage: number;
|
|
3028
|
+
rewardCapturePerBlock: number;
|
|
3035
3029
|
activeIncentivesValueUsd: string;
|
|
3036
3030
|
activeIncentivesRateUsd: string;
|
|
3037
3031
|
tvl?: number | null;
|
|
@@ -3090,10 +3084,8 @@ type GetValidatorQuery = {
|
|
|
3090
3084
|
dynamicData?: {
|
|
3091
3085
|
__typename?: 'GqlValidatorDynamicData';
|
|
3092
3086
|
activeBoostAmount: string;
|
|
3093
|
-
usersActiveBoostCount: number;
|
|
3094
3087
|
queuedBoostAmount: string;
|
|
3095
|
-
|
|
3096
|
-
allTimeDistributedBGTAmount: string;
|
|
3088
|
+
allTimeDistributedRewards: string;
|
|
3097
3089
|
rewardRate: string;
|
|
3098
3090
|
stakedBeraAmount: string;
|
|
3099
3091
|
lastDayDistributedBGTAmount: string;
|
|
@@ -3171,10 +3163,8 @@ type GetValidatorsQuery = {
|
|
|
3171
3163
|
dynamicData?: {
|
|
3172
3164
|
__typename?: 'GqlValidatorDynamicData';
|
|
3173
3165
|
activeBoostAmount: string;
|
|
3174
|
-
usersActiveBoostCount: number;
|
|
3175
3166
|
queuedBoostAmount: string;
|
|
3176
|
-
|
|
3177
|
-
allTimeDistributedBGTAmount: string;
|
|
3167
|
+
allTimeDistributedRewards: string;
|
|
3178
3168
|
rewardRate: string;
|
|
3179
3169
|
stakedBeraAmount: string;
|
|
3180
3170
|
lastDayDistributedBGTAmount: string;
|
|
@@ -3220,10 +3210,10 @@ type GetVaultValidatorsQuery = {
|
|
|
3220
3210
|
address: `0x${string}`;
|
|
3221
3211
|
dynamicData?: {
|
|
3222
3212
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
3223
|
-
|
|
3213
|
+
allTimeRewards: string;
|
|
3224
3214
|
apr?: number | null;
|
|
3225
|
-
|
|
3226
|
-
|
|
3215
|
+
rewardCapturePercentage: number;
|
|
3216
|
+
rewardCapturePerBlock: number;
|
|
3227
3217
|
activeIncentivesValueUsd: string;
|
|
3228
3218
|
activeIncentivesRateUsd: string;
|
|
3229
3219
|
tvl?: number | null;
|
|
@@ -3282,10 +3272,8 @@ type GetVaultValidatorsQuery = {
|
|
|
3282
3272
|
dynamicData?: {
|
|
3283
3273
|
__typename?: 'GqlValidatorDynamicData';
|
|
3284
3274
|
activeBoostAmount: string;
|
|
3285
|
-
usersActiveBoostCount: number;
|
|
3286
3275
|
queuedBoostAmount: string;
|
|
3287
|
-
|
|
3288
|
-
allTimeDistributedBGTAmount: string;
|
|
3276
|
+
allTimeDistributedRewards: string;
|
|
3289
3277
|
rewardRate: string;
|
|
3290
3278
|
stakedBeraAmount: string;
|
|
3291
3279
|
lastDayDistributedBGTAmount: string;
|
|
@@ -3312,10 +3300,10 @@ type GetRewardVaultQuery = {
|
|
|
3312
3300
|
address: `0x${string}`;
|
|
3313
3301
|
dynamicData?: {
|
|
3314
3302
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
3315
|
-
|
|
3303
|
+
allTimeRewards: string;
|
|
3316
3304
|
apr?: number | null;
|
|
3317
|
-
|
|
3318
|
-
|
|
3305
|
+
rewardCapturePercentage: number;
|
|
3306
|
+
rewardCapturePerBlock: number;
|
|
3319
3307
|
activeIncentivesValueUsd: string;
|
|
3320
3308
|
activeIncentivesRateUsd: string;
|
|
3321
3309
|
tvl?: number | null;
|
|
@@ -3382,10 +3370,8 @@ type GlobalDataQuery = {
|
|
|
3382
3370
|
dynamicData?: {
|
|
3383
3371
|
__typename?: 'GqlValidatorDynamicData';
|
|
3384
3372
|
activeBoostAmount: string;
|
|
3385
|
-
usersActiveBoostCount: number;
|
|
3386
3373
|
queuedBoostAmount: string;
|
|
3387
|
-
|
|
3388
|
-
allTimeDistributedBGTAmount: string;
|
|
3374
|
+
allTimeDistributedRewards: string;
|
|
3389
3375
|
rewardRate: string;
|
|
3390
3376
|
stakedBeraAmount: string;
|
|
3391
3377
|
lastDayDistributedBGTAmount: string;
|
|
@@ -3398,16 +3384,13 @@ type GlobalDataQuery = {
|
|
|
3398
3384
|
};
|
|
3399
3385
|
polGetGlobalInfo?: {
|
|
3400
3386
|
__typename?: 'GqlGlobalInfo';
|
|
3401
|
-
totalActiveBoostAmount: string;
|
|
3402
3387
|
totalValidatorsCount: number;
|
|
3403
|
-
totalWhitelistedRewardVaults: number;
|
|
3404
3388
|
totalActiveRewardVaults: number;
|
|
3405
3389
|
totalActiveIncentives: number;
|
|
3406
3390
|
totalActiveIncentivesValueUSD: string;
|
|
3407
|
-
totalDistributedBGTAmount: string;
|
|
3408
3391
|
totalStakedBeraAmount: string;
|
|
3409
|
-
|
|
3410
|
-
|
|
3392
|
+
annualizedPoLEmissions: number;
|
|
3393
|
+
annualizedInflation: number;
|
|
3411
3394
|
} | null;
|
|
3412
3395
|
allValidatorsCount: {
|
|
3413
3396
|
__typename?: 'PaginatedValidatorsResponse';
|
|
@@ -3443,10 +3426,10 @@ type GetUserVaultsQuery = {
|
|
|
3443
3426
|
address: `0x${string}`;
|
|
3444
3427
|
dynamicData?: {
|
|
3445
3428
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
3446
|
-
|
|
3429
|
+
allTimeRewards: string;
|
|
3447
3430
|
apr?: number | null;
|
|
3448
|
-
|
|
3449
|
-
|
|
3431
|
+
rewardCapturePercentage: number;
|
|
3432
|
+
rewardCapturePerBlock: number;
|
|
3450
3433
|
activeIncentivesValueUsd: string;
|
|
3451
3434
|
activeIncentivesRateUsd: string;
|
|
3452
3435
|
tvl?: number | null;
|
package/dist/pol/api.codegen.mjs
CHANGED
|
@@ -251,10 +251,8 @@ var ApiValidatorMinimal = gql`
|
|
|
251
251
|
}
|
|
252
252
|
dynamicData {
|
|
253
253
|
activeBoostAmount
|
|
254
|
-
usersActiveBoostCount
|
|
255
254
|
queuedBoostAmount
|
|
256
|
-
|
|
257
|
-
allTimeDistributedBGTAmount
|
|
255
|
+
allTimeDistributedRewards
|
|
258
256
|
rewardRate
|
|
259
257
|
stakedBeraAmount
|
|
260
258
|
lastDayDistributedBGTAmount
|
|
@@ -288,13 +286,12 @@ var ApiVault = gql`
|
|
|
288
286
|
address: vaultAddress
|
|
289
287
|
isVaultWhitelisted
|
|
290
288
|
dynamicData {
|
|
291
|
-
|
|
289
|
+
allTimeRewards
|
|
292
290
|
apr
|
|
293
|
-
|
|
294
|
-
|
|
291
|
+
rewardCapturePercentage
|
|
292
|
+
rewardCapturePerBlock
|
|
295
293
|
activeIncentivesValueUsd
|
|
296
294
|
activeIncentivesRateUsd
|
|
297
|
-
bgtCapturePerBlock
|
|
298
295
|
tvl
|
|
299
296
|
}
|
|
300
297
|
stakingTokenAmount
|
|
@@ -420,7 +417,7 @@ var ApiValidatorBlockUptime = gql`
|
|
|
420
417
|
}
|
|
421
418
|
`;
|
|
422
419
|
var GetVaults = gql`
|
|
423
|
-
query GetVaults($where: GqlRewardVaultFilter, $pageSize: Int, $skip: Int, $orderBy: GqlRewardVaultOrderBy =
|
|
420
|
+
query GetVaults($where: GqlRewardVaultFilter, $pageSize: Int, $skip: Int, $orderBy: GqlRewardVaultOrderBy = rewardCapturePercentage, $orderDirection: GqlRewardVaultOrderDirection = desc, $search: String) {
|
|
424
421
|
polGetRewardVaults(
|
|
425
422
|
where: $where
|
|
426
423
|
first: $pageSize
|
|
@@ -544,16 +541,13 @@ var GlobalData = gql`
|
|
|
544
541
|
}
|
|
545
542
|
}
|
|
546
543
|
polGetGlobalInfo(chain: $chain) {
|
|
547
|
-
totalActiveBoostAmount
|
|
548
544
|
totalValidatorsCount
|
|
549
|
-
totalWhitelistedRewardVaults
|
|
550
545
|
totalActiveRewardVaults
|
|
551
546
|
totalActiveIncentives
|
|
552
547
|
totalActiveIncentivesValueUSD
|
|
553
|
-
totalDistributedBGTAmount
|
|
554
548
|
totalStakedBeraAmount
|
|
555
|
-
|
|
556
|
-
|
|
549
|
+
annualizedPoLEmissions
|
|
550
|
+
annualizedInflation
|
|
557
551
|
}
|
|
558
552
|
allValidatorsCount: polGetValidators {
|
|
559
553
|
pagination {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@berachain/graphql",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.18-beta.0",
|
|
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.17-beta.1"
|
|
36
36
|
},
|
|
37
37
|
"exports": {
|
|
38
38
|
"./governance": {
|