@berachain/graphql 0.1.0-alpha.7 → 0.1.0-alpha.9
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.ts +15 -15
- package/dist/bend/whisk.codegen.js +15 -15
- package/dist/chain/chain.codegen.d.ts +2 -2
- package/dist/chain/chain.codegen.js +2 -2
- package/dist/dex/api.codegen.d.ts +47 -44
- package/dist/dex/api.codegen.js +18 -18
- package/dist/dex/subgraph.codegen.d.ts +9 -9
- package/dist/dex/subgraph.codegen.js +9 -9
- package/dist/governance/governance.codegen.d.ts +9 -9
- package/dist/governance/governance.codegen.js +9 -9
- package/dist/honey/honey.codegen.d.ts +10 -10
- package/dist/honey/honey.codegen.js +10 -10
- package/dist/pol/api.codegen.d.ts +56 -53
- package/dist/pol/api.codegen.js +21 -21
- package/dist/pol/subgraph.codegen.d.ts +20 -20
- package/dist/pol/subgraph.codegen.js +20 -20
- package/package.json +3 -11
- package/dist/bend/whisk.codegen.cjs +0 -424
- package/dist/bend/whisk.codegen.d.cts +0 -1798
- package/dist/chain/chain.codegen.cjs +0 -12
- package/dist/chain/chain.codegen.d.cts +0 -376
- package/dist/chunk-2NNMCPDS.cjs +0 -1
- package/dist/chunk-JUYCSGOC.js +0 -1
- package/dist/dex/api.codegen.cjs +0 -199
- package/dist/dex/api.codegen.d.cts +0 -3833
- package/dist/dex/subgraph.codegen.cjs +0 -88
- package/dist/dex/subgraph.codegen.d.cts +0 -5887
- package/dist/governance/governance.codegen.cjs +0 -116
- package/dist/governance/governance.codegen.d.cts +0 -1622
- package/dist/honey/honey.codegen.cjs +0 -104
- package/dist/honey/honey.codegen.d.cts +0 -936
- package/dist/pol/api.codegen.cjs +0 -301
- package/dist/pol/api.codegen.d.cts +0 -3619
- package/dist/pol/subgraph.codegen.cjs +0 -197
- package/dist/pol/subgraph.codegen.d.cts +0 -4671
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _client = require('@apollo/client');var y=(n=>(n.Day="day",n.Hour="hour",n))(y||{}),u= exports.ChainTransaction_OrderBy =(p=>(p.HoneyTxn="honeyTxn",p.Id="id",p.IsBasketMode="isBasketMode",p.TxHash="txHash",p.Type="type",p))(u||{}),o= exports.HoneyCollateral_OrderBy =(e=>(e.Collateral="collateral",e.CollateralAmount="collateralAmount",e.HoneyTxn="honeyTxn",e.HoneyTxnFrom="honeyTxn__from",e.HoneyTxnHoneyAmount="honeyTxn__honeyAmount",e.HoneyTxnId="honeyTxn__id",e.HoneyTxnIsBasketMode="honeyTxn__isBasketMode",e.HoneyTxnTimestamp="honeyTxn__timestamp",e.HoneyTxnTo="honeyTxn__to",e.HoneyTxnType="honeyTxn__type",e.Id="id",e))(o||{}),l= exports.HoneySupplyDayData_OrderBy =(t=>(t.Amount="amount",t.Id="id",t.Timestamp="timestamp",t))(l||{}),s= exports.HoneySupplyHourData_OrderBy =(t=>(t.Amount="amount",t.Id="id",t.Timestamp="timestamp",t))(s||{}),c= exports.HoneyTxn_OrderBy =(a=>(a.ChainTransaction="chainTransaction",a.ChainTransactionId="chainTransaction__id",a.ChainTransactionIsBasketMode="chainTransaction__isBasketMode",a.ChainTransactionTxHash="chainTransaction__txHash",a.ChainTransactionType="chainTransaction__type",a.Collateral="collateral",a.From="from",a.HoneyAmount="honeyAmount",a.Id="id",a.IsBasketMode="isBasketMode",a.Timestamp="timestamp",a.To="to",a.Type="type",a))(c||{}),I= exports.HoneyVolumeDayData_OrderBy =(t=>(t.Amount="amount",t.Id="id",t.Timestamp="timestamp",t))(I||{}),b= exports.HoneyVolumeHourData_OrderBy =(t=>(t.Amount="amount",t.Id="id",t.Timestamp="timestamp",t))(b||{}),_= exports.OrderDirection =(n=>(n.Asc="asc",n.Desc="desc",n))(_||{}),m= exports.TxnType =(n=>(n.Mint="MINT",n.Redeem="REDEEM",n))(m||{}),S= exports._SubgraphErrorPolicy_ =(n=>(n.Allow="allow",n.Deny="deny",n))(S||{}),i= exports.HoneyTxnData =_client.gql`
|
|
2
2
|
fragment HoneyTxnData on HoneyTxn {
|
|
3
3
|
id
|
|
4
4
|
timestamp
|
|
@@ -16,7 +16,7 @@ import{a as r}from"../chunk-JUYCSGOC.js";var y=(n=>(n.Day="day",n.Hour="hour",n)
|
|
|
16
16
|
id
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
`,D=
|
|
19
|
+
`,D= exports.GetHoneyTxnByType =_client.gql`
|
|
20
20
|
query GetHoneyTxnByType($page: Int!, $limit: Int!, $type: TxnType!) {
|
|
21
21
|
honeyTxns(
|
|
22
22
|
skip: $page
|
|
@@ -28,13 +28,13 @@ import{a as r}from"../chunk-JUYCSGOC.js";var y=(n=>(n.Day="day",n.Hour="hour",n)
|
|
|
28
28
|
...HoneyTxnData
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
${i}`,h=
|
|
31
|
+
${i}`,h= exports.GetHoneyTxn =_client.gql`
|
|
32
32
|
query GetHoneyTxn($page: Int!, $limit: Int!) {
|
|
33
33
|
honeyTxns(skip: $page, first: $limit, orderBy: timestamp, orderDirection: desc) {
|
|
34
34
|
...HoneyTxnData
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
${i}`,x=
|
|
37
|
+
${i}`,x= exports.GetSupplyDay =_client.gql`
|
|
38
38
|
query GetSupplyDay($timestamp_gt: Int!) {
|
|
39
39
|
honeySupplyDayDatas(
|
|
40
40
|
where: {timestamp_gt: $timestamp_gt}
|
|
@@ -46,7 +46,7 @@ import{a as r}from"../chunk-JUYCSGOC.js";var y=(n=>(n.Day="day",n.Hour="hour",n)
|
|
|
46
46
|
amount
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
`,H=
|
|
49
|
+
`,H= exports.GetSupplyHour =_client.gql`
|
|
50
50
|
query GetSupplyHour($timestamp_gt: Int!) {
|
|
51
51
|
honeySupplyHourDatas(
|
|
52
52
|
where: {timestamp_gt: $timestamp_gt}
|
|
@@ -58,7 +58,7 @@ import{a as r}from"../chunk-JUYCSGOC.js";var y=(n=>(n.Day="day",n.Hour="hour",n)
|
|
|
58
58
|
amount
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
-
`,d=
|
|
61
|
+
`,d= exports.GetVolumeDay =_client.gql`
|
|
62
62
|
query GetVolumeDay($timestamp_gt: Int!) {
|
|
63
63
|
honeyVolumeDayDatas(
|
|
64
64
|
where: {timestamp_gt: $timestamp_gt}
|
|
@@ -70,7 +70,7 @@ import{a as r}from"../chunk-JUYCSGOC.js";var y=(n=>(n.Day="day",n.Hour="hour",n)
|
|
|
70
70
|
amount
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
`,T=
|
|
73
|
+
`,T= exports.GetVolumeHour =_client.gql`
|
|
74
74
|
query GetVolumeHour($timestamp_gt: Int!) {
|
|
75
75
|
honeyVolumeHourDatas(
|
|
76
76
|
where: {timestamp_gt: $timestamp_gt}
|
|
@@ -82,7 +82,7 @@ import{a as r}from"../chunk-JUYCSGOC.js";var y=(n=>(n.Day="day",n.Hour="hour",n)
|
|
|
82
82
|
amount
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
|
-
`,B=
|
|
85
|
+
`,B= exports.GetGlobalData =_client.gql`
|
|
86
86
|
query GetGlobalData {
|
|
87
87
|
honeyVolumeDayDatas(first: 1, orderBy: timestamp, orderDirection: desc) {
|
|
88
88
|
id
|
|
@@ -95,10 +95,10 @@ import{a as r}from"../chunk-JUYCSGOC.js";var y=(n=>(n.Day="day",n.Hour="hour",n)
|
|
|
95
95
|
amount
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
|
-
`,A=
|
|
98
|
+
`,A= exports.GetFirstHoneyTxnDate =_client.gql`
|
|
99
99
|
query GetFirstHoneyTxnDate {
|
|
100
100
|
honeyTxns(first: 1) {
|
|
101
101
|
timestamp
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
-
`,M={possibleTypes:{}},k=M;
|
|
104
|
+
`,M={possibleTypes:{}},k= exports.default =M;exports.Aggregation_Interval = y; exports.ChainTransaction_OrderBy = u; exports.GetFirstHoneyTxnDate = A; exports.GetGlobalData = B; exports.GetHoneyTxn = h; exports.GetHoneyTxnByType = D; exports.GetSupplyDay = x; exports.GetSupplyHour = H; exports.GetVolumeDay = d; exports.GetVolumeHour = T; exports.HoneyCollateral_OrderBy = o; exports.HoneySupplyDayData_OrderBy = l; exports.HoneySupplyHourData_OrderBy = s; exports.HoneyTxnData = i; exports.HoneyTxn_OrderBy = c; exports.HoneyVolumeDayData_OrderBy = I; exports.HoneyVolumeHourData_OrderBy = b; exports.OrderDirection = _; exports.TxnType = m; exports._SubgraphErrorPolicy_ = S; exports.default = k;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
|
|
3
3
|
type Maybe<T> = T | null;
|
|
4
4
|
type InputMaybe<T> = Maybe<T>;
|
|
@@ -86,8 +86,11 @@ type GqlBalancePoolAprSubItem = {
|
|
|
86
86
|
title: Scalars['String']['output'];
|
|
87
87
|
};
|
|
88
88
|
declare enum GqlChain {
|
|
89
|
-
|
|
90
|
-
|
|
89
|
+
/** @deprecated BARTIO is deprecated */
|
|
90
|
+
Bartio = "BARTIO",
|
|
91
|
+
Berachain = "BERACHAIN",
|
|
92
|
+
/** @deprecated CARTIO is deprecated */
|
|
93
|
+
Cartio = "CARTIO"
|
|
91
94
|
}
|
|
92
95
|
type GqlContentNewsItem = {
|
|
93
96
|
__typename?: 'GqlContentNewsItem';
|
|
@@ -1470,17 +1473,17 @@ type GqlRewardVaultDynamicData = {
|
|
|
1470
1473
|
activeIncentivesRateUsd: Scalars['String']['output'];
|
|
1471
1474
|
activeIncentivesValueUsd: Scalars['String']['output'];
|
|
1472
1475
|
allTimeReceivedBGTAmount: Scalars['String']['output'];
|
|
1473
|
-
apr?: Maybe<Scalars['
|
|
1476
|
+
apr?: Maybe<Scalars['String']['output']>;
|
|
1474
1477
|
/** @deprecated Use apr instead */
|
|
1475
|
-
apy?: Maybe<Scalars['
|
|
1478
|
+
apy?: Maybe<Scalars['String']['output']>;
|
|
1476
1479
|
bgtCapturePerBlock: Scalars['String']['output'];
|
|
1477
1480
|
bgtCapturePercentage: Scalars['String']['output'];
|
|
1478
1481
|
chain: GqlChain;
|
|
1479
1482
|
lastDayReceivedBGTAmount: Scalars['String']['output'];
|
|
1480
|
-
projectedApr?: Maybe<Scalars['
|
|
1483
|
+
projectedApr?: Maybe<Scalars['String']['output']>;
|
|
1481
1484
|
/** @deprecated Use projectedApr instead */
|
|
1482
|
-
projectedApy?: Maybe<Scalars['
|
|
1483
|
-
tvl
|
|
1485
|
+
projectedApy?: Maybe<Scalars['String']['output']>;
|
|
1486
|
+
tvl: Scalars['String']['output'];
|
|
1484
1487
|
vaultAddress: Scalars['String']['output'];
|
|
1485
1488
|
};
|
|
1486
1489
|
type GqlRewardVaultFilter = {
|
|
@@ -2037,7 +2040,7 @@ type GqlValidatorDynamicData = {
|
|
|
2037
2040
|
apy: Scalars['String']['output'];
|
|
2038
2041
|
bgtCapturePerBlock: Scalars['String']['output'];
|
|
2039
2042
|
bgtCapturePercentage: Scalars['String']['output'];
|
|
2040
|
-
boostApr: Scalars['
|
|
2043
|
+
boostApr: Scalars['String']['output'];
|
|
2041
2044
|
chain: GqlChain;
|
|
2042
2045
|
commissionOnIncentives: Scalars['Int']['output'];
|
|
2043
2046
|
commissionOnIncentivesHistory: Array<GqlValidatorCommissionHistory>;
|
|
@@ -2682,12 +2685,12 @@ type ApiVaultFragment = {
|
|
|
2682
2685
|
dynamicData?: {
|
|
2683
2686
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
2684
2687
|
allTimeReceivedBGTAmount: string;
|
|
2685
|
-
apr?:
|
|
2688
|
+
apr?: string | null;
|
|
2686
2689
|
bgtCapturePercentage: string;
|
|
2687
2690
|
bgtCapturePerBlock: string;
|
|
2688
2691
|
activeIncentivesValueUsd: string;
|
|
2689
2692
|
activeIncentivesRateUsd: string;
|
|
2690
|
-
tvl
|
|
2693
|
+
tvl: string;
|
|
2691
2694
|
} | null;
|
|
2692
2695
|
stakingToken: {
|
|
2693
2696
|
__typename?: 'GqlToken';
|
|
@@ -2751,12 +2754,12 @@ type GetVaultsQuery = {
|
|
|
2751
2754
|
dynamicData?: {
|
|
2752
2755
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
2753
2756
|
allTimeReceivedBGTAmount: string;
|
|
2754
|
-
apr?:
|
|
2757
|
+
apr?: string | null;
|
|
2755
2758
|
bgtCapturePercentage: string;
|
|
2756
2759
|
bgtCapturePerBlock: string;
|
|
2757
2760
|
activeIncentivesValueUsd: string;
|
|
2758
2761
|
activeIncentivesRateUsd: string;
|
|
2759
|
-
tvl
|
|
2762
|
+
tvl: string;
|
|
2760
2763
|
} | null;
|
|
2761
2764
|
stakingToken: {
|
|
2762
2765
|
__typename?: 'GqlToken';
|
|
@@ -2817,7 +2820,7 @@ type ApiValidatorMinimalFragment = {
|
|
|
2817
2820
|
stakedBeraAmount: string;
|
|
2818
2821
|
lastDayDistributedBGTAmount: string;
|
|
2819
2822
|
activeBoostAmountRank: number;
|
|
2820
|
-
boostApr:
|
|
2823
|
+
boostApr: string;
|
|
2821
2824
|
commissionOnIncentives: number;
|
|
2822
2825
|
} | null;
|
|
2823
2826
|
};
|
|
@@ -2843,12 +2846,12 @@ type ApiValidatorFragment = {
|
|
|
2843
2846
|
dynamicData?: {
|
|
2844
2847
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
2845
2848
|
allTimeReceivedBGTAmount: string;
|
|
2846
|
-
apr?:
|
|
2849
|
+
apr?: string | null;
|
|
2847
2850
|
bgtCapturePercentage: string;
|
|
2848
2851
|
bgtCapturePerBlock: string;
|
|
2849
2852
|
activeIncentivesValueUsd: string;
|
|
2850
2853
|
activeIncentivesRateUsd: string;
|
|
2851
|
-
tvl
|
|
2854
|
+
tvl: string;
|
|
2852
2855
|
} | null;
|
|
2853
2856
|
stakingToken: {
|
|
2854
2857
|
__typename?: 'GqlToken';
|
|
@@ -2908,7 +2911,7 @@ type ApiValidatorFragment = {
|
|
|
2908
2911
|
stakedBeraAmount: string;
|
|
2909
2912
|
lastDayDistributedBGTAmount: string;
|
|
2910
2913
|
activeBoostAmountRank: number;
|
|
2911
|
-
boostApr:
|
|
2914
|
+
boostApr: string;
|
|
2912
2915
|
commissionOnIncentives: number;
|
|
2913
2916
|
} | null;
|
|
2914
2917
|
};
|
|
@@ -2928,12 +2931,12 @@ type ApiRewardAllocationWeightFragment = {
|
|
|
2928
2931
|
dynamicData?: {
|
|
2929
2932
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
2930
2933
|
allTimeReceivedBGTAmount: string;
|
|
2931
|
-
apr?:
|
|
2934
|
+
apr?: string | null;
|
|
2932
2935
|
bgtCapturePercentage: string;
|
|
2933
2936
|
bgtCapturePerBlock: string;
|
|
2934
2937
|
activeIncentivesValueUsd: string;
|
|
2935
2938
|
activeIncentivesRateUsd: string;
|
|
2936
|
-
tvl
|
|
2939
|
+
tvl: string;
|
|
2937
2940
|
} | null;
|
|
2938
2941
|
stakingToken: {
|
|
2939
2942
|
__typename?: 'GqlToken';
|
|
@@ -3007,12 +3010,12 @@ type GetValidatorQuery = {
|
|
|
3007
3010
|
dynamicData?: {
|
|
3008
3011
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
3009
3012
|
allTimeReceivedBGTAmount: string;
|
|
3010
|
-
apr?:
|
|
3013
|
+
apr?: string | null;
|
|
3011
3014
|
bgtCapturePercentage: string;
|
|
3012
3015
|
bgtCapturePerBlock: string;
|
|
3013
3016
|
activeIncentivesValueUsd: string;
|
|
3014
3017
|
activeIncentivesRateUsd: string;
|
|
3015
|
-
tvl
|
|
3018
|
+
tvl: string;
|
|
3016
3019
|
} | null;
|
|
3017
3020
|
stakingToken: {
|
|
3018
3021
|
__typename?: 'GqlToken';
|
|
@@ -3072,7 +3075,7 @@ type GetValidatorQuery = {
|
|
|
3072
3075
|
stakedBeraAmount: string;
|
|
3073
3076
|
lastDayDistributedBGTAmount: string;
|
|
3074
3077
|
activeBoostAmountRank: number;
|
|
3075
|
-
boostApr:
|
|
3078
|
+
boostApr: string;
|
|
3076
3079
|
commissionOnIncentives: number;
|
|
3077
3080
|
} | null;
|
|
3078
3081
|
} | null;
|
|
@@ -3127,12 +3130,12 @@ type GetValidatorsQuery = {
|
|
|
3127
3130
|
dynamicData?: {
|
|
3128
3131
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
3129
3132
|
allTimeReceivedBGTAmount: string;
|
|
3130
|
-
apr?:
|
|
3133
|
+
apr?: string | null;
|
|
3131
3134
|
bgtCapturePercentage: string;
|
|
3132
3135
|
bgtCapturePerBlock: string;
|
|
3133
3136
|
activeIncentivesValueUsd: string;
|
|
3134
3137
|
activeIncentivesRateUsd: string;
|
|
3135
|
-
tvl
|
|
3138
|
+
tvl: string;
|
|
3136
3139
|
} | null;
|
|
3137
3140
|
stakingToken: {
|
|
3138
3141
|
__typename?: 'GqlToken';
|
|
@@ -3192,7 +3195,7 @@ type GetValidatorsQuery = {
|
|
|
3192
3195
|
stakedBeraAmount: string;
|
|
3193
3196
|
lastDayDistributedBGTAmount: string;
|
|
3194
3197
|
activeBoostAmountRank: number;
|
|
3195
|
-
boostApr:
|
|
3198
|
+
boostApr: string;
|
|
3196
3199
|
commissionOnIncentives: number;
|
|
3197
3200
|
} | null;
|
|
3198
3201
|
}>;
|
|
@@ -3234,12 +3237,12 @@ type GetVaultValidatorsQuery = {
|
|
|
3234
3237
|
dynamicData?: {
|
|
3235
3238
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
3236
3239
|
allTimeReceivedBGTAmount: string;
|
|
3237
|
-
apr?:
|
|
3240
|
+
apr?: string | null;
|
|
3238
3241
|
bgtCapturePercentage: string;
|
|
3239
3242
|
bgtCapturePerBlock: string;
|
|
3240
3243
|
activeIncentivesValueUsd: string;
|
|
3241
3244
|
activeIncentivesRateUsd: string;
|
|
3242
|
-
tvl
|
|
3245
|
+
tvl: string;
|
|
3243
3246
|
} | null;
|
|
3244
3247
|
stakingToken: {
|
|
3245
3248
|
__typename?: 'GqlToken';
|
|
@@ -3299,7 +3302,7 @@ type GetVaultValidatorsQuery = {
|
|
|
3299
3302
|
stakedBeraAmount: string;
|
|
3300
3303
|
lastDayDistributedBGTAmount: string;
|
|
3301
3304
|
activeBoostAmountRank: number;
|
|
3302
|
-
boostApr:
|
|
3305
|
+
boostApr: string;
|
|
3303
3306
|
commissionOnIncentives: number;
|
|
3304
3307
|
} | null;
|
|
3305
3308
|
}>;
|
|
@@ -3321,12 +3324,12 @@ type GetRewardVaultQuery = {
|
|
|
3321
3324
|
dynamicData?: {
|
|
3322
3325
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
3323
3326
|
allTimeReceivedBGTAmount: string;
|
|
3324
|
-
apr?:
|
|
3327
|
+
apr?: string | null;
|
|
3325
3328
|
bgtCapturePercentage: string;
|
|
3326
3329
|
bgtCapturePerBlock: string;
|
|
3327
3330
|
activeIncentivesValueUsd: string;
|
|
3328
3331
|
activeIncentivesRateUsd: string;
|
|
3329
|
-
tvl
|
|
3332
|
+
tvl: string;
|
|
3330
3333
|
} | null;
|
|
3331
3334
|
stakingToken: {
|
|
3332
3335
|
__typename?: 'GqlToken';
|
|
@@ -3398,7 +3401,7 @@ type GlobalDataQuery = {
|
|
|
3398
3401
|
stakedBeraAmount: string;
|
|
3399
3402
|
lastDayDistributedBGTAmount: string;
|
|
3400
3403
|
activeBoostAmountRank: number;
|
|
3401
|
-
boostApr:
|
|
3404
|
+
boostApr: string;
|
|
3402
3405
|
commissionOnIncentives: number;
|
|
3403
3406
|
} | null;
|
|
3404
3407
|
}>;
|
|
@@ -3451,12 +3454,12 @@ type GetUserVaultsQuery = {
|
|
|
3451
3454
|
dynamicData?: {
|
|
3452
3455
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
3453
3456
|
allTimeReceivedBGTAmount: string;
|
|
3454
|
-
apr?:
|
|
3457
|
+
apr?: string | null;
|
|
3455
3458
|
bgtCapturePercentage: string;
|
|
3456
3459
|
bgtCapturePerBlock: string;
|
|
3457
3460
|
activeIncentivesValueUsd: string;
|
|
3458
3461
|
activeIncentivesRateUsd: string;
|
|
3459
|
-
tvl
|
|
3462
|
+
tvl: string;
|
|
3460
3463
|
} | null;
|
|
3461
3464
|
stakingToken: {
|
|
3462
3465
|
__typename?: 'GqlToken';
|
|
@@ -3589,26 +3592,26 @@ type GetPolStakeBeraVaultEventsByOwnerQuery = {
|
|
|
3589
3592
|
_timestamp: number;
|
|
3590
3593
|
}>;
|
|
3591
3594
|
};
|
|
3592
|
-
declare const ApiValidatorMinimal:
|
|
3593
|
-
declare const ApiVaultIncentive:
|
|
3594
|
-
declare const ApiVault:
|
|
3595
|
-
declare const ApiRewardAllocationWeight:
|
|
3596
|
-
declare const ApiValidator:
|
|
3597
|
-
declare const ApiValidatorBlockUptime:
|
|
3598
|
-
declare const GetVaults:
|
|
3599
|
-
declare const GetValidator:
|
|
3600
|
-
declare const GetValidators:
|
|
3601
|
-
declare const GetVaultValidators:
|
|
3602
|
-
declare const GetRewardVault:
|
|
3603
|
-
declare const GlobalData:
|
|
3604
|
-
declare const GetUserVaults:
|
|
3605
|
-
declare const GetVaultHistory:
|
|
3606
|
-
declare const GetVaultDurations:
|
|
3607
|
-
declare const GetBoostDelay:
|
|
3608
|
-
declare const GetCommissionChangeDelay:
|
|
3609
|
-
declare const GetSWberaVaultMetadata:
|
|
3610
|
-
declare const GetSWberaVaultSnapshots:
|
|
3611
|
-
declare const GetPolStakeBeraVaultEventsByOwner:
|
|
3595
|
+
declare const ApiValidatorMinimal: _apollo_client.DocumentNode;
|
|
3596
|
+
declare const ApiVaultIncentive: _apollo_client.DocumentNode;
|
|
3597
|
+
declare const ApiVault: _apollo_client.DocumentNode;
|
|
3598
|
+
declare const ApiRewardAllocationWeight: _apollo_client.DocumentNode;
|
|
3599
|
+
declare const ApiValidator: _apollo_client.DocumentNode;
|
|
3600
|
+
declare const ApiValidatorBlockUptime: _apollo_client.DocumentNode;
|
|
3601
|
+
declare const GetVaults: _apollo_client.DocumentNode;
|
|
3602
|
+
declare const GetValidator: _apollo_client.DocumentNode;
|
|
3603
|
+
declare const GetValidators: _apollo_client.DocumentNode;
|
|
3604
|
+
declare const GetVaultValidators: _apollo_client.DocumentNode;
|
|
3605
|
+
declare const GetRewardVault: _apollo_client.DocumentNode;
|
|
3606
|
+
declare const GlobalData: _apollo_client.DocumentNode;
|
|
3607
|
+
declare const GetUserVaults: _apollo_client.DocumentNode;
|
|
3608
|
+
declare const GetVaultHistory: _apollo_client.DocumentNode;
|
|
3609
|
+
declare const GetVaultDurations: _apollo_client.DocumentNode;
|
|
3610
|
+
declare const GetBoostDelay: _apollo_client.DocumentNode;
|
|
3611
|
+
declare const GetCommissionChangeDelay: _apollo_client.DocumentNode;
|
|
3612
|
+
declare const GetSWberaVaultMetadata: _apollo_client.DocumentNode;
|
|
3613
|
+
declare const GetSWberaVaultSnapshots: _apollo_client.DocumentNode;
|
|
3614
|
+
declare const GetPolStakeBeraVaultEventsByOwner: _apollo_client.DocumentNode;
|
|
3612
3615
|
interface PossibleTypesResultData {
|
|
3613
3616
|
possibleTypes: {
|
|
3614
3617
|
[key: string]: string[];
|
package/dist/pol/api.codegen.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _client = require('@apollo/client');var d=(a=>(a.Bartio="BARTIO",a.Berachain="BERACHAIN",a.Cartio="CARTIO",a))(d||{}),m= exports.GqlContentNewsItemSource =(a=>(a.Discord="discord",a.Medium="medium",a.Twitter="twitter",a))(m||{}),G= exports.GqlPoolAprItemType =(i=>(i.Aura="AURA",i.IbYield="IB_YIELD",i.Locking="LOCKING",i.MabeetsEmissions="MABEETS_EMISSIONS",i.Merkl="MERKL",i.Nested="NESTED",i.Staking="STAKING",i.StakingBoost="STAKING_BOOST",i.Surplus="SURPLUS",i.SwapFee="SWAP_FEE",i.VebalEmissions="VEBAL_EMISSIONS",i.Voting="VOTING",i))(G||{}),A= exports.GqlPoolEventType =(a=>(a.Add="ADD",a.Remove="REMOVE",a.Swap="SWAP",a))(A||{}),b= exports.GqlPoolEventsDataRange =(a=>(a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(b||{}),I= exports.GqlPoolFilterCategory =(s=>(s.BlackListed="BLACK_LISTED",s.Incentivized="INCENTIVIZED",s.Lrt="LRT",s.Points="POINTS",s.PointsEigenlayer="POINTS_EIGENLAYER",s.PointsGyro="POINTS_GYRO",s.PointsKelp="POINTS_KELP",s.PointsRenzo="POINTS_RENZO",s.PointsSwell="POINTS_SWELL",s.Superfest="SUPERFEST",s))(I||{}),q= exports.GqlPoolJoinExitType =(t=>(t.Exit="Exit",t.Join="Join",t))(q||{}),P= exports.GqlPoolNestingType =(a=>(a.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",a.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",a.NoNesting="NO_NESTING",a))(P||{}),h= exports.GqlPoolOrderBy =(p=>(p.Apr="apr",p.BgtApr="bgtApr",p.Fees24h="fees24h",p.TotalLiquidity="totalLiquidity",p.TotalShares="totalShares",p.UserbalanceUsd="userbalanceUsd",p.Volume24h="volume24h",p))(h||{}),k= exports.GqlPoolOrderDirection =(t=>(t.Asc="asc",t.Desc="desc",t))(k||{}),B= exports.GqlPoolSnapshotDataRange =(r=>(r.AllTime="ALL_TIME",r.NinetyDays="NINETY_DAYS",r.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",r.OneYear="ONE_YEAR",r.ThirtyDays="THIRTY_DAYS",r))(B||{}),D= exports.GqlPoolType =(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))(D||{}),_= exports.GqlRewardVaultIncentiveOrderBy =(a=>(a.AmountRemaining="amountRemaining",a.AmountRemainingUsd="amountRemainingUsd",a.IncentiveRate="incentiveRate",a))(_||{}),v= exports.GqlRewardVaultIncentiveOrderDirection =(t=>(t.Asc="asc",t.Desc="desc",t))(v||{}),M= exports.GqlRewardVaultOrderBy =(u=>(u.ActiveIncentivesRateUsd="activeIncentivesRateUsd",u.ActiveIncentivesValueUsd="activeIncentivesValueUsd",u.AllTimeBgtReceived="allTimeBGTReceived",u.Apr="apr",u.Apy="apy",u.BgtCapturePercentage="bgtCapturePercentage",u.Last24hBgtReceived="last24hBGTReceived",u.ProjectedApr="projectedApr",u))(M||{}),T= exports.GqlRewardVaultOrderDirection =(t=>(t.Asc="asc",t.Desc="desc",t))(T||{}),V= exports.GqlRewardVaultSnapshotDataRange =(n=>(n.NinetyDays="NINETY_DAYS",n.SevenDays="SEVEN_DAYS",n.SixtyDays="SIXTY_DAYS",n.ThirtyDays="THIRTY_DAYS",n))(V||{}),w= exports.GqlRewardVaultSnapshotResolution =(t=>(t.Day="DAY",t.Hour="HOUR",t))(w||{}),R= exports.GqlSWberaVaultMetadataResolution =(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(R||{}),x= exports.GqlSorSwapType =(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(x||{}),C= exports.GqlStakeBeraVaultEventType =(t=>(t.Deposit="DEPOSIT",t.WithdrawalCompleted="WITHDRAWAL_COMPLETED",t))(C||{}),U= exports.GqlTokenChartDataRange =(r=>(r.NinetyDay="NINETY_DAY",r.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",r.OneYear="ONE_YEAR",r.SevenDay="SEVEN_DAY",r.ThirtyDay="THIRTY_DAY",r))(U||{}),E= exports.GqlTokenType =(a=>(a.Bpt="BPT",a.PhantomBpt="PHANTOM_BPT",a.WhiteListed="WHITE_LISTED",a))(E||{}),f= exports.GqlUserVaultDepositOrderBy =(g=>(g.Amount="amount",g))(f||{}),F= exports.GqlUserVaultDepositOrderDirection =(t=>(t.Asc="asc",t.Desc="desc",t))(F||{}),N= exports.GqlValidatorBlockUptimeStatus =(n=>(n.Inactive="INACTIVE",n.Offline="OFFLINE",n.Proposed="PROPOSED",n.Signed="SIGNED",n))(N||{}),Q= exports.GqlValidatorBoostOrderBy =(r=>(r.ActiveBoostAmount="activeBoostAmount",r.LatestBlock="latestBlock",r.LatestBlockTime="latestBlockTime",r.QueuedBoostAmount="queuedBoostAmount",r.QueuedDropBoostAmount="queuedDropBoostAmount",r))(Q||{}),W= exports.GqlValidatorBoostOrderDirection =(t=>(t.Asc="asc",t.Desc="desc",t))(W||{}),O= exports.GqlValidatorOrderBy =(o=>(o.ActiveBoostAmount="activeBoostAmount",o.AllTimeDistributedBgtAmount="allTimeDistributedBGTAmount",o.AllTimeEarnedBgtAmount="allTimeEarnedBGTAmount",o.Apy="apy",o.BgtCapturePercentage="bgtCapturePercentage",o.BoostApr="boostApr",o.CommissionOnIncentives="commissionOnIncentives",o.LastDayDistributedBgtAmount="lastDayDistributedBGTAmount",o.LastDayEarnedBgtAmount="lastDayEarnedBGTAmount",o.QueuedBoostAmount="queuedBoostAmount",o.QueuedDropBoostAmount="queuedDropBoostAmount",o.RewardRate="rewardRate",o.StakedBeraAmount="stakedBeraAmount",o.UsersActiveBoostCount="usersActiveBoostCount",o.UsersQueuedBoostCount="usersQueuedBoostCount",o))(O||{}),H= exports.GqlValidatorOrderDirection =(t=>(t.Asc="asc",t.Desc="desc",t))(H||{}),L= exports.GqlVaultSnapshotDataRange =(n=>(n.NinetyDays="NINETY_DAYS",n.SevenDays="SEVEN_DAYS",n.SixtyDays="SIXTY_DAYS",n.ThirtyDays="THIRTY_DAYS",n))(L||{}),y= exports.ApiValidatorMinimal =_client.gql`
|
|
2
2
|
fragment ApiValidatorMinimal on GqlValidator {
|
|
3
3
|
id
|
|
4
4
|
pubkey
|
|
@@ -22,7 +22,7 @@ import{a as e}from"../chunk-JUYCSGOC.js";var d=(t=>(t.Bepolia="BEPOLIA",t.Berach
|
|
|
22
22
|
commissionOnIncentives
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
`,$=
|
|
25
|
+
`,$= exports.ApiVaultIncentive =_client.gql`
|
|
26
26
|
fragment ApiVaultIncentive on GqlRewardVaultIncentive {
|
|
27
27
|
active
|
|
28
28
|
remainingAmount
|
|
@@ -37,7 +37,7 @@ import{a as e}from"../chunk-JUYCSGOC.js";var d=(t=>(t.Bepolia="BEPOLIA",t.Berach
|
|
|
37
37
|
decimals
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
`,c=
|
|
40
|
+
`,c= exports.ApiVault =_client.gql`
|
|
41
41
|
fragment ApiVault on GqlRewardVault {
|
|
42
42
|
id: vaultAddress
|
|
43
43
|
vaultAddress
|
|
@@ -74,7 +74,7 @@ import{a as e}from"../chunk-JUYCSGOC.js";var d=(t=>(t.Bepolia="BEPOLIA",t.Berach
|
|
|
74
74
|
...ApiVaultIncentive
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
${$}`,Y=
|
|
77
|
+
${$}`,Y= exports.ApiRewardAllocationWeight =_client.gql`
|
|
78
78
|
fragment ApiRewardAllocationWeight on GqlValidatorRewardAllocationWeight {
|
|
79
79
|
percentageNumerator
|
|
80
80
|
validatorId
|
|
@@ -84,7 +84,7 @@ import{a as e}from"../chunk-JUYCSGOC.js";var d=(t=>(t.Bepolia="BEPOLIA",t.Berach
|
|
|
84
84
|
receiver
|
|
85
85
|
startBlock
|
|
86
86
|
}
|
|
87
|
-
${c}`,S=
|
|
87
|
+
${c}`,S= exports.ApiValidator =_client.gql`
|
|
88
88
|
fragment ApiValidator on GqlValidator {
|
|
89
89
|
...ApiValidatorMinimal
|
|
90
90
|
operator
|
|
@@ -102,7 +102,7 @@ import{a as e}from"../chunk-JUYCSGOC.js";var d=(t=>(t.Bepolia="BEPOLIA",t.Berach
|
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
${y}
|
|
105
|
-
${Y}`,z=
|
|
105
|
+
${Y}`,z= exports.ApiValidatorBlockUptime =_client.gql`
|
|
106
106
|
fragment ApiValidatorBlockUptime on GqlValidatorBlockUptime {
|
|
107
107
|
isActive
|
|
108
108
|
isProposer
|
|
@@ -110,7 +110,7 @@ ${Y}`,z=e`
|
|
|
110
110
|
status
|
|
111
111
|
blockNumber
|
|
112
112
|
}
|
|
113
|
-
`,X=
|
|
113
|
+
`,X= exports.GetVaults =_client.gql`
|
|
114
114
|
query GetVaults($where: GqlRewardVaultFilter, $pageSize: Int, $skip: Int, $orderBy: GqlRewardVaultOrderBy = bgtCapturePercentage, $orderDirection: GqlRewardVaultOrderDirection = desc, $search: String) {
|
|
115
115
|
polGetRewardVaults(
|
|
116
116
|
where: $where
|
|
@@ -129,7 +129,7 @@ ${Y}`,z=e`
|
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
|
-
${c}`,j=
|
|
132
|
+
${c}`,j= exports.GetValidator =_client.gql`
|
|
133
133
|
query GetValidator($id: String!, $chain: GqlChain!) {
|
|
134
134
|
validator: polGetValidator(validatorId: $id, chain: $chain) {
|
|
135
135
|
...ApiValidator
|
|
@@ -139,7 +139,7 @@ ${Y}`,z=e`
|
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
${S}
|
|
142
|
-
${z}`,Z=
|
|
142
|
+
${z}`,Z= exports.GetValidators =_client.gql`
|
|
143
143
|
query GetValidators($where: GqlValidatorFilter, $sortBy: GqlValidatorOrderBy = lastDayDistributedBGTAmount, $sortOrder: GqlValidatorOrderDirection = desc, $pageSize: Int, $skip: Int, $search: String, $chain: GqlChain) {
|
|
144
144
|
validators: polGetValidators(
|
|
145
145
|
where: $where
|
|
@@ -161,7 +161,7 @@ ${z}`,Z=e`
|
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
|
-
${S}`,tt=
|
|
164
|
+
${S}`,tt= exports.GetVaultValidators =_client.gql`
|
|
165
165
|
query GetVaultValidators($vaultId: String!, $chain: GqlChain, $isActive: Boolean = true) {
|
|
166
166
|
validators: polGetValidators(
|
|
167
167
|
where: {vaultAddress: $vaultId, isActive: $isActive}
|
|
@@ -178,13 +178,13 @@ ${z}`,Z=e`
|
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
|
-
${S}`,at=
|
|
181
|
+
${S}`,at= exports.GetRewardVault =_client.gql`
|
|
182
182
|
query GetRewardVault($vaultId: String!, $chain: GqlChain!) {
|
|
183
183
|
rewardVault: polGetRewardVault(vaultAddress: $vaultId, chain: $chain) {
|
|
184
184
|
...ApiVault
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
|
-
${c}`,et=
|
|
187
|
+
${c}`,et= exports.GlobalData =_client.gql`
|
|
188
188
|
query GlobalData($chain: GqlChain!) {
|
|
189
189
|
top3EmittingValidators: polGetValidators(
|
|
190
190
|
orderBy: bgtCapturePercentage
|
|
@@ -217,7 +217,7 @@ ${z}`,Z=e`
|
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
219
|
}
|
|
220
|
-
${y}`,rt=
|
|
220
|
+
${y}`,rt= exports.GetUserVaults =_client.gql`
|
|
221
221
|
query GetUserVaults($userId: String!, $chain: GqlChain!) {
|
|
222
222
|
userVaultDeposits: polGetUserVaultDeposits(userAddress: $userId, chain: $chain) {
|
|
223
223
|
pagination {
|
|
@@ -233,7 +233,7 @@ ${z}`,Z=e`
|
|
|
233
233
|
}
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
|
-
${c}`,ot=
|
|
236
|
+
${c}`,ot= exports.GetVaultHistory =_client.gql`
|
|
237
237
|
query GetVaultHistory($vaultId: String!, $chain: GqlChain!, $resolution: GqlRewardVaultSnapshotResolution = DAY, $range: GqlRewardVaultSnapshotDataRange = THIRTY_DAYS) {
|
|
238
238
|
polGetRewardVaultSnapshots(
|
|
239
239
|
chain: $chain
|
|
@@ -246,7 +246,7 @@ ${z}`,Z=e`
|
|
|
246
246
|
apr
|
|
247
247
|
}
|
|
248
248
|
}
|
|
249
|
-
`,nt=
|
|
249
|
+
`,nt= exports.GetVaultDurations =_client.gql`
|
|
250
250
|
query GetVaultDurations {
|
|
251
251
|
polGetVaultDurations {
|
|
252
252
|
maxRewardDuration
|
|
@@ -254,14 +254,14 @@ ${z}`,Z=e`
|
|
|
254
254
|
rewardDurationCooldownPeriod
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
|
-
`,lt=
|
|
257
|
+
`,lt= exports.GetBoostDelay =_client.gql`
|
|
258
258
|
query GetBoostDelay {
|
|
259
259
|
polGetValidatorBoostDelay {
|
|
260
260
|
boostDelay
|
|
261
261
|
unboostDelay
|
|
262
262
|
}
|
|
263
263
|
}
|
|
264
|
-
`,it=
|
|
264
|
+
`,it= exports.GetCommissionChangeDelay =_client.gql`
|
|
265
265
|
query GetCommissionChangeDelay {
|
|
266
266
|
polGetValidatorCommissionDelay {
|
|
267
267
|
rewardAllocationBlockDelay
|
|
@@ -269,14 +269,14 @@ ${z}`,Z=e`
|
|
|
269
269
|
commissionChangeDelay
|
|
270
270
|
}
|
|
271
271
|
}
|
|
272
|
-
`,st=
|
|
272
|
+
`,st= exports.GetSWberaVaultMetadata =_client.gql`
|
|
273
273
|
query GetSWberaVaultMetadata($chain: GqlChain!, $resolution: GqlSWberaVaultMetadataResolution) {
|
|
274
274
|
polGetSWberaVaultMetadata(chain: $chain, resolution: $resolution) {
|
|
275
275
|
apr
|
|
276
276
|
chain
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
|
-
`,ut=
|
|
279
|
+
`,ut= exports.GetSWberaVaultSnapshots =_client.gql`
|
|
280
280
|
query GetSWberaVaultSnapshots($chain: GqlChain!, $range: GqlVaultSnapshotDataRange) {
|
|
281
281
|
polGetSWberaVaultSnapshots(chain: $chain, range: $range) {
|
|
282
282
|
apr
|
|
@@ -287,7 +287,7 @@ ${z}`,Z=e`
|
|
|
287
287
|
vaultAddress
|
|
288
288
|
}
|
|
289
289
|
}
|
|
290
|
-
`,pt=
|
|
290
|
+
`,pt= exports.GetPolStakeBeraVaultEventsByOwner =_client.gql`
|
|
291
291
|
query GetPolStakeBeraVaultEventsByOwner($owner: String!) {
|
|
292
292
|
events: polGetStakeBeraVaultEventsByOwner(owner: $owner) {
|
|
293
293
|
type
|
|
@@ -298,4 +298,4 @@ ${z}`,Z=e`
|
|
|
298
298
|
_timestamp
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
|
-
`,K={possibleTypes:{GqlPoolAprValue:["GqlPoolAprRange","GqlPoolAprTotal"],GqlPoolBase:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"],GqlPoolEvent:["GqlPoolAddRemoveEventV3","GqlPoolSwapEventCowAmm","GqlPoolSwapEventV3"],GqlPoolFeaturedPoolGroupItem:["GqlFeaturePoolGroupItemExternalLink","GqlPoolMinimal"],GqlPoolNestedUnion:["GqlPoolComposableStableNested"],GqlPoolTokenBase:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolTokenComposableStableNestedUnion:["GqlPoolToken"],GqlPoolTokenUnion:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolUnion:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"]}},ct=K;
|
|
301
|
+
`,K={possibleTypes:{GqlPoolAprValue:["GqlPoolAprRange","GqlPoolAprTotal"],GqlPoolBase:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"],GqlPoolEvent:["GqlPoolAddRemoveEventV3","GqlPoolSwapEventCowAmm","GqlPoolSwapEventV3"],GqlPoolFeaturedPoolGroupItem:["GqlFeaturePoolGroupItemExternalLink","GqlPoolMinimal"],GqlPoolNestedUnion:["GqlPoolComposableStableNested"],GqlPoolTokenBase:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolTokenComposableStableNestedUnion:["GqlPoolToken"],GqlPoolTokenUnion:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolUnion:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"]}},ct= exports.default =K;exports.ApiRewardAllocationWeight = Y; exports.ApiValidator = S; exports.ApiValidatorBlockUptime = z; exports.ApiValidatorMinimal = y; exports.ApiVault = c; exports.ApiVaultIncentive = $; exports.GetBoostDelay = lt; exports.GetCommissionChangeDelay = it; exports.GetPolStakeBeraVaultEventsByOwner = pt; exports.GetRewardVault = at; exports.GetSWberaVaultMetadata = st; exports.GetSWberaVaultSnapshots = ut; exports.GetUserVaults = rt; exports.GetValidator = j; exports.GetValidators = Z; exports.GetVaultDurations = nt; exports.GetVaultHistory = ot; exports.GetVaultValidators = tt; exports.GetVaults = X; exports.GlobalData = et; exports.GqlChain = d; exports.GqlContentNewsItemSource = m; exports.GqlPoolAprItemType = G; exports.GqlPoolEventType = A; exports.GqlPoolEventsDataRange = b; exports.GqlPoolFilterCategory = I; exports.GqlPoolJoinExitType = q; exports.GqlPoolNestingType = P; exports.GqlPoolOrderBy = h; exports.GqlPoolOrderDirection = k; exports.GqlPoolSnapshotDataRange = B; exports.GqlPoolType = D; exports.GqlRewardVaultIncentiveOrderBy = _; exports.GqlRewardVaultIncentiveOrderDirection = v; exports.GqlRewardVaultOrderBy = M; exports.GqlRewardVaultOrderDirection = T; exports.GqlRewardVaultSnapshotDataRange = V; exports.GqlRewardVaultSnapshotResolution = w; exports.GqlSWberaVaultMetadataResolution = R; exports.GqlSorSwapType = x; exports.GqlStakeBeraVaultEventType = C; exports.GqlTokenChartDataRange = U; exports.GqlTokenType = E; exports.GqlUserVaultDepositOrderBy = f; exports.GqlUserVaultDepositOrderDirection = F; exports.GqlValidatorBlockUptimeStatus = N; exports.GqlValidatorBoostOrderBy = Q; exports.GqlValidatorBoostOrderDirection = W; exports.GqlValidatorOrderBy = O; exports.GqlValidatorOrderDirection = H; exports.GqlVaultSnapshotDataRange = L; exports.default = ct;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
|
|
3
3
|
type Maybe<T> = T | null;
|
|
4
4
|
type InputMaybe<T> = Maybe<T>;
|
|
@@ -4593,7 +4593,7 @@ type GetIncentiveFeeClaimStatsQuery = {
|
|
|
4593
4593
|
timestamp: any;
|
|
4594
4594
|
}>;
|
|
4595
4595
|
};
|
|
4596
|
-
declare const SubgraphStatusMeta:
|
|
4596
|
+
declare const SubgraphStatusMeta: _apollo_client.DocumentNode;
|
|
4597
4597
|
/**
|
|
4598
4598
|
* Aggregation for the amount of BGT boosted to a Validator (User -> Validator)
|
|
4599
4599
|
*
|
|
@@ -4610,8 +4610,8 @@ type BoostByValidator = {
|
|
|
4610
4610
|
timestamp: Scalars['Timestamp']['output'];
|
|
4611
4611
|
validator: Validator;
|
|
4612
4612
|
};
|
|
4613
|
-
declare const BoostByValidator:
|
|
4614
|
-
declare const ValidatorMinimal:
|
|
4613
|
+
declare const BoostByValidator: _apollo_client.DocumentNode;
|
|
4614
|
+
declare const ValidatorMinimal: _apollo_client.DocumentNode;
|
|
4615
4615
|
/**
|
|
4616
4616
|
* Aggregation for the amount of BGT awarded to a Validator for proposing a block by Validator (Distributor -> Validator)
|
|
4617
4617
|
*
|
|
@@ -4626,10 +4626,10 @@ type BlockRewardStatsByValidator = {
|
|
|
4626
4626
|
timestamp: Scalars['Timestamp']['output'];
|
|
4627
4627
|
validator: Validator;
|
|
4628
4628
|
};
|
|
4629
|
-
declare const BlockRewardStatsByValidator:
|
|
4630
|
-
declare const VaultMinimal:
|
|
4631
|
-
declare const StakingToken:
|
|
4632
|
-
declare const VaultWithStakingToken:
|
|
4629
|
+
declare const BlockRewardStatsByValidator: _apollo_client.DocumentNode;
|
|
4630
|
+
declare const VaultMinimal: _apollo_client.DocumentNode;
|
|
4631
|
+
declare const StakingToken: _apollo_client.DocumentNode;
|
|
4632
|
+
declare const VaultWithStakingToken: _apollo_client.DocumentNode;
|
|
4633
4633
|
/**
|
|
4634
4634
|
* Global stats for Proof of Liquidity
|
|
4635
4635
|
*
|
|
@@ -4649,18 +4649,18 @@ type GlobalInfo = {
|
|
|
4649
4649
|
totalQueuedDropBoostAmount: Scalars['BigDecimal']['output'];
|
|
4650
4650
|
totalValidatorsCount: Scalars['BigInt']['output'];
|
|
4651
4651
|
};
|
|
4652
|
-
declare const GlobalInfo:
|
|
4653
|
-
declare const GetUserValidatorInformation:
|
|
4654
|
-
declare const GetValidValidator:
|
|
4655
|
-
declare const GetAllValidators:
|
|
4656
|
-
declare const GetValidatorBlockStats:
|
|
4657
|
-
declare const GetGauges:
|
|
4658
|
-
declare const GetWeeklyBgtInflation:
|
|
4659
|
-
declare const GetRewardVault:
|
|
4660
|
-
declare const GetValidatorByOperator:
|
|
4661
|
-
declare const GetValidatorByAccount:
|
|
4662
|
-
declare const GetValidatorAnalytics:
|
|
4663
|
-
declare const GetIncentiveFeeClaimStats:
|
|
4652
|
+
declare const GlobalInfo: _apollo_client.DocumentNode;
|
|
4653
|
+
declare const GetUserValidatorInformation: _apollo_client.DocumentNode;
|
|
4654
|
+
declare const GetValidValidator: _apollo_client.DocumentNode;
|
|
4655
|
+
declare const GetAllValidators: _apollo_client.DocumentNode;
|
|
4656
|
+
declare const GetValidatorBlockStats: _apollo_client.DocumentNode;
|
|
4657
|
+
declare const GetGauges: _apollo_client.DocumentNode;
|
|
4658
|
+
declare const GetWeeklyBgtInflation: _apollo_client.DocumentNode;
|
|
4659
|
+
declare const GetRewardVault: _apollo_client.DocumentNode;
|
|
4660
|
+
declare const GetValidatorByOperator: _apollo_client.DocumentNode;
|
|
4661
|
+
declare const GetValidatorByAccount: _apollo_client.DocumentNode;
|
|
4662
|
+
declare const GetValidatorAnalytics: _apollo_client.DocumentNode;
|
|
4663
|
+
declare const GetIncentiveFeeClaimStats: _apollo_client.DocumentNode;
|
|
4664
4664
|
interface PossibleTypesResultData {
|
|
4665
4665
|
possibleTypes: {
|
|
4666
4666
|
[key: string]: string[];
|