@berachain/graphql 0.5.1-beta.1 → 0.5.2-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4099,13 +4099,6 @@ type GetValidatorBlockStatsQuery = {
4099
4099
  blockCount: string;
4100
4100
  }>;
4101
4101
  };
4102
- type StakingTokenFragment = {
4103
- __typename?: 'TokenInformation';
4104
- address: `0x${string}`;
4105
- decimals: number;
4106
- name: string;
4107
- symbol: string;
4108
- };
4109
4102
  type GetValidatorAnalyticsQueryVariables = Exact<{
4110
4103
  pubKey: Scalars['Bytes']['input'];
4111
4104
  timestamp: Scalars['Timestamp']['input'];
@@ -4140,25 +4133,6 @@ type GetValidatorAnalyticsQuery = {
4140
4133
  user: `0x${string}`;
4141
4134
  }>;
4142
4135
  };
4143
- type GetValidatorIncentiveDistributionQueryVariables = Exact<{
4144
- pubKey: Scalars['Bytes']['input'];
4145
- timestamp: Scalars['Timestamp']['input'];
4146
- }>;
4147
- type GetValidatorIncentiveDistributionQuery = {
4148
- __typename?: 'Query';
4149
- incentiveDistributionByValidators: Array<{
4150
- __typename?: 'IncentiveDistributionByValidator';
4151
- receivedTokenAmount: string;
4152
- timestamp: string;
4153
- token: {
4154
- __typename?: 'TokenInformation';
4155
- address: `0x${string}`;
4156
- decimals: number;
4157
- name: string;
4158
- symbol: string;
4159
- };
4160
- }>;
4161
- };
4162
4136
  type GetIncentiveFeeClaimStatsQueryVariables = Exact<{
4163
4137
  [key: string]: never;
4164
4138
  }>;
@@ -4198,10 +4172,8 @@ type BlockRewardStatsByValidator = {
4198
4172
  validator: Validator;
4199
4173
  };
4200
4174
  declare const BlockRewardStatsByValidator: _apollo_client.DocumentNode;
4201
- declare const StakingToken: _apollo_client.DocumentNode;
4202
4175
  declare const GetValidatorBlockStats: _apollo_client.DocumentNode;
4203
4176
  declare const GetValidatorAnalytics: _apollo_client.DocumentNode;
4204
- declare const GetValidatorIncentiveDistribution: _apollo_client.DocumentNode;
4205
4177
  declare const GetIncentiveFeeClaimStats: _apollo_client.DocumentNode;
4206
4178
  interface PossibleTypesResultData {
4207
4179
  possibleTypes: {
@@ -4210,4 +4182,4 @@ interface PossibleTypesResultData {
4210
4182
  }
4211
4183
  declare const result: PossibleTypesResultData;
4212
4184
 
4213
- export { type ActiveIncentive, type ActiveIncentive_Filter, ActiveIncentive_OrderBy, Aggregation_Current, Aggregation_Interval, type BlockChangedFilter, type BlockReward, type BlockRewardStats, BlockRewardStatsByValidator, type BlockRewardStatsByValidatorFragment, type BlockRewardStatsByValidator_Filter, BlockRewardStatsByValidator_OrderBy, type BlockRewardStats_Filter, BlockRewardStats_OrderBy, type BlockReward_Filter, BlockReward_OrderBy, type BlockStats, type BlockStatsByValidator, type BlockStatsByValidator_Filter, BlockStatsByValidator_OrderBy, type BlockStats_Filter, BlockStats_OrderBy, type Block_Height, type Boost, BoostByValidator, type BoostByValidatorFragment, type BoostByValidator_Filter, BoostByValidator_OrderBy, type Boost_Filter, Boost_OrderBy, type Exact, GetIncentiveFeeClaimStats, type GetIncentiveFeeClaimStatsQuery, type GetIncentiveFeeClaimStatsQueryVariables, GetValidatorAnalytics, type GetValidatorAnalyticsQuery, type GetValidatorAnalyticsQueryVariables, GetValidatorBlockStats, type GetValidatorBlockStatsQuery, type GetValidatorBlockStatsQueryVariables, GetValidatorIncentiveDistribution, type GetValidatorIncentiveDistributionQuery, type GetValidatorIncentiveDistributionQueryVariables, type GlobalInfo, type GlobalInfo_Filter, GlobalInfo_OrderBy, type GlobalRewardDistribution, type GlobalRewardDistribution_Filter, GlobalRewardDistribution_OrderBy, type IncentiveDistribution, type IncentiveDistributionByValidator, type IncentiveDistributionByValidator_Filter, IncentiveDistributionByValidator_OrderBy, type IncentiveDistributionByVault, type IncentiveDistributionByVault_Filter, IncentiveDistributionByVault_OrderBy, type IncentiveDistribution_Filter, IncentiveDistribution_OrderBy, type IncentiveFeeClaim, type IncentiveFeeClaimStats, type IncentiveFeeClaimStats_Filter, IncentiveFeeClaimStats_OrderBy, type IncentiveFeeClaim_Filter, IncentiveFeeClaim_OrderBy, type IncentiveFeePayoutAmountHistory, type IncentiveFeePayoutAmountHistory_Filter, IncentiveFeePayoutAmountHistory_OrderBy, type IncentiveTokensByValidator, type IncentiveTokensByValidator_Filter, IncentiveTokensByValidator_OrderBy, type Incremental, type InputMaybe, LogLevel, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, OrderDirection, type PossibleTypesResultData, type Query, type QueryActiveIncentiveArgs, type QueryActiveIncentivesArgs, type QueryBlockRewardArgs, type QueryBlockRewardStatsByValidatorsArgs, type QueryBlockRewardStats_CollectionArgs, type QueryBlockRewardsArgs, type QueryBlockStatsByValidatorsArgs, type QueryBlockStats_CollectionArgs, type QueryBoostArgs, type QueryBoostByValidatorsArgs, type QueryBoostsArgs, type QueryGlobalInfoArgs, type QueryGlobalInfosArgs, type QueryGlobalRewardDistributionsArgs, type QueryIncentiveDistributionArgs, type QueryIncentiveDistributionByValidatorsArgs, type QueryIncentiveDistributionByVaultsArgs, type QueryIncentiveDistributionsArgs, type QueryIncentiveFeeClaimArgs, type QueryIncentiveFeeClaimStats_CollectionArgs, type QueryIncentiveFeeClaimsArgs, type QueryIncentiveFeePayoutAmountHistoriesArgs, type QueryIncentiveFeePayoutAmountHistoryArgs, type QueryIncentiveTokensByValidatorArgs, type QueryIncentiveTokensByValidatorsArgs, type QueryRewardAllocationActivationArgs, type QueryRewardAllocationActivationsArgs, type QueryRewardAllocationArgs, type QueryRewardAllocationMaxWeightHistoriesArgs, type QueryRewardAllocationMaxWeightHistoryArgs, type QueryRewardAllocationQueueArgs, type QueryRewardAllocationQueuesArgs, type QueryRewardAllocationWeightArgs, type QueryRewardAllocationWeightsArgs, type QueryRewardAllocationsArgs, type QueryRewardDistributionArgs, type QueryRewardDistributionByVaultsArgs, type QueryRewardDistributionsArgs, type QueryRewardsDistributionByValidatorsArgs, type QueryTokenInformationArgs, type QueryTokenInformationsArgs, type QueryUserBoostArgs, type QueryUserBoostsArgs, type QueryUserFeeHistoriesArgs, type QueryUserFeeHistoryArgs, type QueryUserVaultStakeArgs, type QueryUserVaultStakesArgs, type QueryValidatorArgs, type QueryValidatorCommissionHistoriesArgs, type QueryValidatorCommissionHistoryArgs, type QueryValidatorsArgs, type QueryVaultArgs, type QueryVaultsArgs, type QueryWhitelistedTokenArgs, type QueryWhitelistedTokensArgs, type Query_LogsArgs, type Query_MetaArgs, type RewardAllocation, type RewardAllocationActivation, type RewardAllocationActivation_Filter, RewardAllocationActivation_OrderBy, type RewardAllocationActivationsArgs, type RewardAllocationMaxWeightHistory, type RewardAllocationMaxWeightHistory_Filter, RewardAllocationMaxWeightHistory_OrderBy, type RewardAllocationQueue, type RewardAllocationQueue_Filter, RewardAllocationQueue_OrderBy, type RewardAllocationQueuesArgs, type RewardAllocationWeight, type RewardAllocationWeight_Filter, RewardAllocationWeight_OrderBy, type RewardAllocationWeightsArgs, type RewardAllocation_Filter, RewardAllocation_OrderBy, type RewardDistribution, type RewardDistributionByVault, type RewardDistributionByVault_Filter, RewardDistributionByVault_OrderBy, type RewardDistribution_Filter, RewardDistribution_OrderBy, type RewardsDistributionByValidator, type RewardsDistributionByValidator_Filter, RewardsDistributionByValidator_OrderBy, type Scalars, StakingToken, type StakingTokenFragment, type TokenInformation, type TokenInformationActiveIncentivesArgs, type TokenInformationDistributedIncentivesArgs, type TokenInformationDistributedIncentivesByVaultArgs, type TokenInformationReceivedValidatorsArgs, type TokenInformationStakedVaultsArgs, type TokenInformationWhitelistedVaultsArgs, type TokenInformation_Filter, TokenInformation_OrderBy, type UserBoost, type UserBoost_Filter, UserBoost_OrderBy, type UserFeeHistory, type UserFeeHistory_Filter, UserFeeHistory_OrderBy, type UserVaultStake, type UserVaultStake_Filter, UserVaultStake_OrderBy, type Validator, type ValidatorBlockRewardsArgs, type ValidatorBoostHistoryArgs, type ValidatorBoostStatsArgs, type ValidatorCommissionHistory, type ValidatorCommissionHistory_Filter, ValidatorCommissionHistory_OrderBy, type ValidatorDistributedIncentivesArgs, ValidatorMinimal, type ValidatorMinimalFragment, type ValidatorReceivedIncentiveTokensArgs, type ValidatorRewardAllocationActivationHistoryArgs, type ValidatorRewardAllocationQueueHistoryArgs, type ValidatorUserBoostsArgs, type Validator_Filter, Validator_OrderBy, type Vault, type VaultActiveIncentivesArgs, type VaultDistributedIncentivesArgs, type VaultRewardAllocationWeightsArgs, type VaultStakedUsersArgs, type VaultWhitelistedTokensArgs, type Vault_Filter, Vault_OrderBy, type WhitelistedToken, type WhitelistedToken_Filter, WhitelistedToken_OrderBy, type _Block_, type _LogArgument_, type _LogMeta_, type _Log_, type _Meta_, _SubgraphErrorPolicy_, result as default };
4185
+ export { type ActiveIncentive, type ActiveIncentive_Filter, ActiveIncentive_OrderBy, Aggregation_Current, Aggregation_Interval, type BlockChangedFilter, type BlockReward, type BlockRewardStats, BlockRewardStatsByValidator, type BlockRewardStatsByValidatorFragment, type BlockRewardStatsByValidator_Filter, BlockRewardStatsByValidator_OrderBy, type BlockRewardStats_Filter, BlockRewardStats_OrderBy, type BlockReward_Filter, BlockReward_OrderBy, type BlockStats, type BlockStatsByValidator, type BlockStatsByValidator_Filter, BlockStatsByValidator_OrderBy, type BlockStats_Filter, BlockStats_OrderBy, type Block_Height, type Boost, BoostByValidator, type BoostByValidatorFragment, type BoostByValidator_Filter, BoostByValidator_OrderBy, type Boost_Filter, Boost_OrderBy, type Exact, GetIncentiveFeeClaimStats, type GetIncentiveFeeClaimStatsQuery, type GetIncentiveFeeClaimStatsQueryVariables, GetValidatorAnalytics, type GetValidatorAnalyticsQuery, type GetValidatorAnalyticsQueryVariables, GetValidatorBlockStats, type GetValidatorBlockStatsQuery, type GetValidatorBlockStatsQueryVariables, type GlobalInfo, type GlobalInfo_Filter, GlobalInfo_OrderBy, type GlobalRewardDistribution, type GlobalRewardDistribution_Filter, GlobalRewardDistribution_OrderBy, type IncentiveDistribution, type IncentiveDistributionByValidator, type IncentiveDistributionByValidator_Filter, IncentiveDistributionByValidator_OrderBy, type IncentiveDistributionByVault, type IncentiveDistributionByVault_Filter, IncentiveDistributionByVault_OrderBy, type IncentiveDistribution_Filter, IncentiveDistribution_OrderBy, type IncentiveFeeClaim, type IncentiveFeeClaimStats, type IncentiveFeeClaimStats_Filter, IncentiveFeeClaimStats_OrderBy, type IncentiveFeeClaim_Filter, IncentiveFeeClaim_OrderBy, type IncentiveFeePayoutAmountHistory, type IncentiveFeePayoutAmountHistory_Filter, IncentiveFeePayoutAmountHistory_OrderBy, type IncentiveTokensByValidator, type IncentiveTokensByValidator_Filter, IncentiveTokensByValidator_OrderBy, type Incremental, type InputMaybe, LogLevel, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, OrderDirection, type PossibleTypesResultData, type Query, type QueryActiveIncentiveArgs, type QueryActiveIncentivesArgs, type QueryBlockRewardArgs, type QueryBlockRewardStatsByValidatorsArgs, type QueryBlockRewardStats_CollectionArgs, type QueryBlockRewardsArgs, type QueryBlockStatsByValidatorsArgs, type QueryBlockStats_CollectionArgs, type QueryBoostArgs, type QueryBoostByValidatorsArgs, type QueryBoostsArgs, type QueryGlobalInfoArgs, type QueryGlobalInfosArgs, type QueryGlobalRewardDistributionsArgs, type QueryIncentiveDistributionArgs, type QueryIncentiveDistributionByValidatorsArgs, type QueryIncentiveDistributionByVaultsArgs, type QueryIncentiveDistributionsArgs, type QueryIncentiveFeeClaimArgs, type QueryIncentiveFeeClaimStats_CollectionArgs, type QueryIncentiveFeeClaimsArgs, type QueryIncentiveFeePayoutAmountHistoriesArgs, type QueryIncentiveFeePayoutAmountHistoryArgs, type QueryIncentiveTokensByValidatorArgs, type QueryIncentiveTokensByValidatorsArgs, type QueryRewardAllocationActivationArgs, type QueryRewardAllocationActivationsArgs, type QueryRewardAllocationArgs, type QueryRewardAllocationMaxWeightHistoriesArgs, type QueryRewardAllocationMaxWeightHistoryArgs, type QueryRewardAllocationQueueArgs, type QueryRewardAllocationQueuesArgs, type QueryRewardAllocationWeightArgs, type QueryRewardAllocationWeightsArgs, type QueryRewardAllocationsArgs, type QueryRewardDistributionArgs, type QueryRewardDistributionByVaultsArgs, type QueryRewardDistributionsArgs, type QueryRewardsDistributionByValidatorsArgs, type QueryTokenInformationArgs, type QueryTokenInformationsArgs, type QueryUserBoostArgs, type QueryUserBoostsArgs, type QueryUserFeeHistoriesArgs, type QueryUserFeeHistoryArgs, type QueryUserVaultStakeArgs, type QueryUserVaultStakesArgs, type QueryValidatorArgs, type QueryValidatorCommissionHistoriesArgs, type QueryValidatorCommissionHistoryArgs, type QueryValidatorsArgs, type QueryVaultArgs, type QueryVaultsArgs, type QueryWhitelistedTokenArgs, type QueryWhitelistedTokensArgs, type Query_LogsArgs, type Query_MetaArgs, type RewardAllocation, type RewardAllocationActivation, type RewardAllocationActivation_Filter, RewardAllocationActivation_OrderBy, type RewardAllocationActivationsArgs, type RewardAllocationMaxWeightHistory, type RewardAllocationMaxWeightHistory_Filter, RewardAllocationMaxWeightHistory_OrderBy, type RewardAllocationQueue, type RewardAllocationQueue_Filter, RewardAllocationQueue_OrderBy, type RewardAllocationQueuesArgs, type RewardAllocationWeight, type RewardAllocationWeight_Filter, RewardAllocationWeight_OrderBy, type RewardAllocationWeightsArgs, type RewardAllocation_Filter, RewardAllocation_OrderBy, type RewardDistribution, type RewardDistributionByVault, type RewardDistributionByVault_Filter, RewardDistributionByVault_OrderBy, type RewardDistribution_Filter, RewardDistribution_OrderBy, type RewardsDistributionByValidator, type RewardsDistributionByValidator_Filter, RewardsDistributionByValidator_OrderBy, type Scalars, type TokenInformation, type TokenInformationActiveIncentivesArgs, type TokenInformationDistributedIncentivesArgs, type TokenInformationDistributedIncentivesByVaultArgs, type TokenInformationReceivedValidatorsArgs, type TokenInformationStakedVaultsArgs, type TokenInformationWhitelistedVaultsArgs, type TokenInformation_Filter, TokenInformation_OrderBy, type UserBoost, type UserBoost_Filter, UserBoost_OrderBy, type UserFeeHistory, type UserFeeHistory_Filter, UserFeeHistory_OrderBy, type UserVaultStake, type UserVaultStake_Filter, UserVaultStake_OrderBy, type Validator, type ValidatorBlockRewardsArgs, type ValidatorBoostHistoryArgs, type ValidatorBoostStatsArgs, type ValidatorCommissionHistory, type ValidatorCommissionHistory_Filter, ValidatorCommissionHistory_OrderBy, type ValidatorDistributedIncentivesArgs, ValidatorMinimal, type ValidatorMinimalFragment, type ValidatorReceivedIncentiveTokensArgs, type ValidatorRewardAllocationActivationHistoryArgs, type ValidatorRewardAllocationQueueHistoryArgs, type ValidatorUserBoostsArgs, type Validator_Filter, Validator_OrderBy, type Vault, type VaultActiveIncentivesArgs, type VaultDistributedIncentivesArgs, type VaultRewardAllocationWeightsArgs, type VaultStakedUsersArgs, type VaultWhitelistedTokensArgs, type Vault_Filter, Vault_OrderBy, type WhitelistedToken, type WhitelistedToken_Filter, WhitelistedToken_OrderBy, type _Block_, type _LogArgument_, type _LogMeta_, type _Log_, type _Meta_, _SubgraphErrorPolicy_, result as default };
@@ -724,14 +724,6 @@ var BlockRewardStatsByValidator = gql`
724
724
  }
725
725
  }
726
726
  ${ValidatorMinimal}`;
727
- var StakingToken = gql`
728
- fragment StakingToken on TokenInformation {
729
- address
730
- decimals
731
- name
732
- symbol
733
- }
734
- `;
735
727
  var GetValidatorBlockStats = gql`
736
728
  query GetValidatorBlockStats($pubKey: Bytes!, $first: Int) {
737
729
  blockStatsByValidators(
@@ -788,21 +780,6 @@ var GetValidatorAnalytics = gql`
788
780
  }
789
781
  ${BoostByValidator}
790
782
  ${BlockRewardStatsByValidator}`;
791
- var GetValidatorIncentiveDistribution = gql`
792
- query GetValidatorIncentiveDistribution($pubKey: Bytes!, $timestamp: Timestamp!) {
793
- incentiveDistributionByValidators(
794
- interval: day
795
- first: 1000
796
- where: {validator_: {publicKey: $pubKey}, timestamp_gte: $timestamp}
797
- ) {
798
- token {
799
- ...StakingToken
800
- }
801
- receivedTokenAmount
802
- timestamp
803
- }
804
- }
805
- ${StakingToken}`;
806
783
  var GetIncentiveFeeClaimStats = gql`
807
784
  query GetIncentiveFeeClaimStats {
808
785
  incentiveFeeClaims {
@@ -832,7 +809,6 @@ export {
832
809
  GetIncentiveFeeClaimStats,
833
810
  GetValidatorAnalytics,
834
811
  GetValidatorBlockStats,
835
- GetValidatorIncentiveDistribution,
836
812
  GlobalInfo_OrderBy,
837
813
  GlobalRewardDistribution_OrderBy,
838
814
  IncentiveDistributionByValidator_OrderBy,
@@ -852,7 +828,6 @@ export {
852
828
  RewardDistributionByVault_OrderBy,
853
829
  RewardDistribution_OrderBy,
854
830
  RewardsDistributionByValidator_OrderBy,
855
- StakingToken,
856
831
  TokenInformation_OrderBy,
857
832
  UserBoost_OrderBy,
858
833
  UserFeeHistory_OrderBy,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@berachain/graphql",
3
- "version": "0.5.1-beta.1",
3
+ "version": "0.5.2-beta.0",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -31,7 +31,7 @@
31
31
  "openapi-typescript": "7.13.0",
32
32
  "tsup": "8.5.1",
33
33
  "typescript": "5.5.4",
34
- "@berachain/config": "^0.1.18-beta.1"
34
+ "@berachain/config": "^0.1.21-beta.0"
35
35
  },
36
36
  "exports": {
37
37
  "./governance": {
@@ -40,12 +40,6 @@
40
40
  "module": "./dist/governance/governance.codegen.mjs",
41
41
  "import": "./dist/governance/governance.codegen.mjs"
42
42
  },
43
- "./chain": {
44
- "types": "./dist/chain/chain.codegen.d.ts",
45
- "require": "./dist/chain/chain.codegen.cjs",
46
- "module": "./dist/chain/chain.codegen.mjs",
47
- "import": "./dist/chain/chain.codegen.mjs"
48
- },
49
43
  "./pol/subgraph": {
50
44
  "types": "./dist/pol/subgraph.codegen.d.ts",
51
45
  "require": "./dist/pol/subgraph.codegen.cjs",
@@ -64,24 +58,12 @@
64
58
  "module": "./dist/dex/api.codegen.mjs",
65
59
  "import": "./dist/dex/api.codegen.mjs"
66
60
  },
67
- "./honey": {
68
- "types": "./dist/honey/honey.codegen.d.ts",
69
- "require": "./dist/honey/honey.codegen.cjs",
70
- "module": "./dist/honey/honey.codegen.mjs",
71
- "import": "./dist/honey/honey.codegen.mjs"
72
- },
73
61
  "./bend/whisk": {
74
62
  "types": "./dist/bend/whisk.codegen.d.ts",
75
63
  "require": "./dist/bend/whisk.codegen.cjs",
76
64
  "module": "./dist/bend/whisk.codegen.mjs",
77
65
  "import": "./dist/bend/whisk.codegen.mjs"
78
66
  },
79
- "./api": {
80
- "types": "./dist/api/api.codegen.d.ts",
81
- "require": "./dist/api/api.codegen.cjs",
82
- "module": "./dist/api/api.codegen.mjs",
83
- "import": "./dist/api/api.codegen.mjs"
84
- },
85
67
  "./beep": {
86
68
  "types": "./dist/beep/beep.codegen.d.ts",
87
69
  "require": "./dist/beep/beep.codegen.cjs",
@@ -94,9 +76,6 @@
94
76
  "governance": [
95
77
  "./dist/governance/governance.codegen.d.ts"
96
78
  ],
97
- "chain": [
98
- "./dist/chain/chain.codegen.d.ts"
99
- ],
100
79
  "dex/api": [
101
80
  "./dist/dex/api.codegen.d.ts"
102
81
  ],
@@ -106,15 +85,9 @@
106
85
  "pol/api": [
107
86
  "./dist/pol/api.codegen.d.ts"
108
87
  ],
109
- "honey": [
110
- "./dist/honey/honey.codegen.d.ts"
111
- ],
112
88
  "bend/whisk": [
113
89
  "./dist/bend/whisk.codegen.d.ts"
114
90
  ],
115
- "api": [
116
- "./dist/api/api.codegen.d.ts"
117
- ],
118
91
  "beep": [
119
92
  "./dist/beep/beep.codegen.d.ts"
120
93
  ]
@@ -124,7 +97,7 @@
124
97
  "prebuild": "pnpm codegen",
125
98
  "build": "tsup",
126
99
  "precheck-types": "pnpm codegen",
127
- "clean": "git clean -xdf dist .turbo node_modules *.codegen.ts src/api src/beep",
100
+ "clean": "git clean -xdf dist .turbo node_modules *.codegen.ts src/beep",
128
101
  "lint": "biome lint",
129
102
  "dev": "pnpm codegen:api && tsup --watch",
130
103
  "format": "biome format --write .",