From dff3cd6ac9373b39a89a1d8f0edc5907178e996f Mon Sep 17 00:00:00 2001 From: Rachel Ho Date: Thu, 7 Sep 2023 11:31:06 +0800 Subject: [PATCH] feat: add stride [web-stride] (#1297) ## Description Closes: [BDU-1096](https://forbole.atlassian.net/browse/BDU-1096) --- ### Author Checklist _All items are required. Please add a note to the item if the item is not applicable and please add links to any relevant follow up issues._ I have... - [ ] ran linting via `yarn lint` - [ ] wrote tests where necessary - [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title - [ ] targeted the correct branch - [ ] provided a link to the relevant issue or specification - [ ] reviewed "Files changed" and left comments if necessary - [ ] confirmed all CI checks have passed - [ ] added a changeset via [`yarn && yarn changeset`](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md) [BDU-1096]: https://forbole.atlassian.net/browse/BDU-1096?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ --------- Co-authored-by: Magic Cat --- .../src/components/avatar_name/index.tsx | 44 + .../src/graphql/general/blocks.graphql | 25 +- .../src/graphql/general/token_price.graphql | 1 - .../src/graphql/general/validators.graphql | 41 + .../general/validators_address_list.graphql | 21 + .../src/graphql/types/general_types.ts | 22584 ++++++++++++---- .../hooks/useConsumerCustomValidator/index.ts | 62 + .../src/hooks/useCustomProfile/index.ts | 47 + .../hooks/useProviderCustomValidator/index.ts | 63 + .../components/staking/hooks.ts | 359 + .../src/screens/account_details/hooks.ts | 324 + .../blocks/components/desktop/index.tsx | 206 + .../blocks/components/mobile/index.tsx | 129 + apps/web-stride/src/screens/blocks/hooks.ts | 161 + apps/web-stride/src/screens/blocks/types.ts | 18 + .../blocks/components/desktop/index.tsx | 134 + .../blocks/components/mobile/index.tsx | 65 + .../screens/home/components/blocks/hooks.ts | 52 + .../screens/home/components/blocks/types.ts | 15 + .../src/screens/validator_details/hooks.ts | 161 + .../validators/components/list/hooks.ts | 212 + .../validators/components/list/index.tsx | 57 + .../validators/components/list/types.ts | 32 + 23 files changed, 19041 insertions(+), 5772 deletions(-) create mode 100644 apps/web-stride/src/components/avatar_name/index.tsx create mode 100644 apps/web-stride/src/hooks/useConsumerCustomValidator/index.ts create mode 100644 apps/web-stride/src/hooks/useCustomProfile/index.ts create mode 100644 apps/web-stride/src/hooks/useProviderCustomValidator/index.ts create mode 100644 apps/web-stride/src/screens/account_details/components/staking/hooks.ts create mode 100644 apps/web-stride/src/screens/account_details/hooks.ts create mode 100644 apps/web-stride/src/screens/blocks/components/desktop/index.tsx create mode 100644 apps/web-stride/src/screens/blocks/components/mobile/index.tsx create mode 100644 apps/web-stride/src/screens/blocks/hooks.ts create mode 100644 apps/web-stride/src/screens/blocks/types.ts create mode 100644 apps/web-stride/src/screens/home/components/blocks/components/desktop/index.tsx create mode 100644 apps/web-stride/src/screens/home/components/blocks/components/mobile/index.tsx create mode 100644 apps/web-stride/src/screens/home/components/blocks/hooks.ts create mode 100644 apps/web-stride/src/screens/home/components/blocks/types.ts create mode 100644 apps/web-stride/src/screens/validator_details/hooks.ts create mode 100644 apps/web-stride/src/screens/validators/components/list/hooks.ts create mode 100644 apps/web-stride/src/screens/validators/components/list/index.tsx create mode 100644 apps/web-stride/src/screens/validators/components/list/types.ts diff --git a/apps/web-stride/src/components/avatar_name/index.tsx b/apps/web-stride/src/components/avatar_name/index.tsx new file mode 100644 index 0000000000..4765bfb88b --- /dev/null +++ b/apps/web-stride/src/components/avatar_name/index.tsx @@ -0,0 +1,44 @@ +import Avatar from '@/components/avatar'; +import useStyles from '@/components/avatar_name/styles'; +import MiddleEllipsis from '@/components/MiddleEllipsis'; +import { ADDRESS_DETAILS } from '@/utils/go_to_page'; +import Tooltip from '@mui/material/Tooltip'; +import Zoom from '@mui/material/Zoom'; +import Link from 'next/link'; +import { FC } from 'react'; + +const AvatarName: FC = ({ + className, + address, + name, + imageUrl, + href = ADDRESS_DETAILS, + image, + target, + displayAddress, + ...props +}) => { + const { classes, cx } = useStyles(); + + const adx = displayAddress || address; + + return ( + {adx}} + placement="bottom" + arrow + PopperProps={{ className: classes.popper }} + slotProps={{ tooltip: { className: classes.tooltip } }} + > + + + + + + + + ); +}; + +export default AvatarName; diff --git a/apps/web-stride/src/graphql/general/blocks.graphql b/apps/web-stride/src/graphql/general/blocks.graphql index 037f11e378..da09c84412 100644 --- a/apps/web-stride/src/graphql/general/blocks.graphql +++ b/apps/web-stride/src/graphql/general/blocks.graphql @@ -4,10 +4,9 @@ subscription BlocksListener($limit: Int = 7, $offset: Int = 0) { txs: num_txs hash timestamp - validator { - validatorInfo: validator_info { - operatorAddress: operator_address - } + validator: ccv_validator { + consumerOperatorAddress: consumer_operator_address + providerOperatorAddress: provider_operator_address } } } @@ -19,14 +18,16 @@ query Blocks($limit: Int = 7, $offset: Int = 0) { txs: num_txs hash timestamp - validator { - validatorInfo: validator_info { - operatorAddress: operator_address - self_delegate_address - } - validatorDescriptions: validator_descriptions(limit: 1, order_by: {height: desc}) { - moniker - identity + ccv_validator { + consumerOperatorAddress: consumer_operator_address + providerOperatorAddress: provider_operator_address + consumerSelfDelegateAddress: consumer_self_delegate_address + providerSelfDelegateAddress: provider_self_delegate_address + validator { + validatorDescriptions: validator_descriptions(limit: 1, order_by: {height: desc}) { + moniker + identity + } } } } diff --git a/apps/web-stride/src/graphql/general/token_price.graphql b/apps/web-stride/src/graphql/general/token_price.graphql index 8c11321b98..3ed50b2348 100644 --- a/apps/web-stride/src/graphql/general/token_price.graphql +++ b/apps/web-stride/src/graphql/general/token_price.graphql @@ -1,6 +1,5 @@ subscription TokenPriceListener($denom: String) { tokenPrice: token_price(where: {unit_name: {_eq: $denom}}) { - id price timestamp marketCap: market_cap diff --git a/apps/web-stride/src/graphql/general/validators.graphql b/apps/web-stride/src/graphql/general/validators.graphql index 20f3b19335..9ff0da224a 100644 --- a/apps/web-stride/src/graphql/general/validators.graphql +++ b/apps/web-stride/src/graphql/general/validators.graphql @@ -12,6 +12,16 @@ query Validators { missedBlocksCounter: missed_blocks_counter tombstoned } + ccv_validator { + providerOperatorAddress: provider_operator_address + } + validatorDescriptions: validator_descriptions { + moniker + avatar_url + validator_address + website + details + } validatorInfo: validator_info { operatorAddress: operator_address selfDelegateAddress: self_delegate_address @@ -30,3 +40,34 @@ query Validators { params } } + +query ConsumerCustomValidator($consumerAddress: String) { + validatorInfo: validator_info(where: {operator_address: {_eq: $consumerAddress}}) { + validator { + validatorDescriptions: validator_descriptions { + moniker + avatar_url + validator_address + website + details + } + } + } +} + +query ProviderCustomValidator($providerAddress: String) { + ccv_validator(where: {provider_operator_address: {_eq: $providerAddress}}) { + ccv_validator_info { + operator_address + validator { + validatorDescriptions: validator_descriptions { + moniker + avatar_url + validator_address + website + details + } + } + } + } +} \ No newline at end of file diff --git a/apps/web-stride/src/graphql/general/validators_address_list.graphql b/apps/web-stride/src/graphql/general/validators_address_list.graphql index d018f104bc..7a105bb9f1 100644 --- a/apps/web-stride/src/graphql/general/validators_address_list.graphql +++ b/apps/web-stride/src/graphql/general/validators_address_list.graphql @@ -26,3 +26,24 @@ query ValidatorAddresses { } } } + +query ValidatorConsumerProviderAddresses { + ccv_validator( + where: {consumer_consensus_address: {_is_null: false}, provider_consensus_address: {_is_null: false}} + ) { + consumerOperatorAddress: consumer_operator_address + providerOperatorAddress: provider_operator_address + providerSelfDelegateAddress: provider_self_delegate_address + validator { + validatorDescriptions: validator_descriptions( + limit: 1 + order_by: {height: desc} + ) { + moniker + avatarUrl: avatar_url + details + website + } + } + } +} diff --git a/apps/web-stride/src/graphql/types/general_types.ts b/apps/web-stride/src/graphql/types/general_types.ts index 3e26db5baa..5a87a922f9 100644 --- a/apps/web-stride/src/graphql/types/general_types.ts +++ b/apps/web-stride/src/graphql/types/general_types.ts @@ -21,11 +21,26 @@ export type Scalars = { _coin: any; _dec_coin: any; _text: any; + bdjuno_provider_ActionCoin: any; + bdjuno_provider_ActionDelegation: any; + bdjuno_provider_ActionPagination: any; + bdjuno_provider_ActionRedelegation: any; + bdjuno_provider_ActionUnbondingDelegation: any; + bdjuno_provider__coin: any; + bdjuno_provider__dec_coin: any; + bdjuno_provider__text: any; + bdjuno_provider_bigint: any; + bdjuno_provider_jsonb: any; + bdjuno_provider_numeric: any; + bdjuno_provider_smallint: any; + bdjuno_provider_timestamp: any; + bdjuno_provider_timestamptz: any; bigint: any; jsonb: any; numeric: any; smallint: any; timestamp: any; + timestamptz: any; }; export type ActionAddress = { @@ -170,62 +185,58 @@ export type Account = { __typename?: 'account'; address: Scalars['String']; /** An array relationship */ + feeGrantAllowancesByGranterAddress: Array; + /** An array relationship */ + fee_grant_allowances: Array; + /** An array relationship */ proposal_deposits: Array; - /** An aggregate relationship */ - proposal_deposits_aggregate: Proposal_Deposit_Aggregate; /** An array relationship */ proposal_votes: Array; - /** An aggregate relationship */ - proposal_votes_aggregate: Proposal_Vote_Aggregate; /** An array relationship */ proposals: Array; /** An aggregate relationship */ proposals_aggregate: Proposal_Aggregate; /** An array relationship */ validator_infos: Array; - /** An aggregate relationship */ - validator_infos_aggregate: Validator_Info_Aggregate; /** An object relationship */ vesting_account?: Maybe; /** An array relationship */ vesting_accounts: Array; - /** An aggregate relationship */ - vesting_accounts_aggregate: Vesting_Account_Aggregate; }; /** columns and relationships of "account" */ -export type AccountProposal_DepositsArgs = { - distinct_on?: InputMaybe>; +export type AccountFeeGrantAllowancesByGranterAddressArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; /** columns and relationships of "account" */ -export type AccountProposal_Deposits_AggregateArgs = { - distinct_on?: InputMaybe>; +export type AccountFee_Grant_AllowancesArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; /** columns and relationships of "account" */ -export type AccountProposal_VotesArgs = { - distinct_on?: InputMaybe>; +export type AccountProposal_DepositsArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; /** columns and relationships of "account" */ -export type AccountProposal_Votes_AggregateArgs = { +export type AccountProposal_VotesArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; @@ -264,16 +275,6 @@ export type AccountValidator_InfosArgs = { }; -/** columns and relationships of "account" */ -export type AccountValidator_Infos_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "account" */ export type AccountVesting_AccountsArgs = { distinct_on?: InputMaybe>; @@ -283,67 +284,28 @@ export type AccountVesting_AccountsArgs = { where?: InputMaybe; }; - -/** columns and relationships of "account" */ -export type AccountVesting_Accounts_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - -/** aggregated selection of "account" */ -export type Account_Aggregate = { - __typename?: 'account_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "account" */ -export type Account_Aggregate_Fields = { - __typename?: 'account_aggregate_fields'; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; -}; - - -/** aggregate fields of "account" */ -export type Account_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** Boolean expression to filter rows from the table "account". All fields are combined with a logical 'AND'. */ export type Account_Bool_Exp = { _and?: InputMaybe>; _not?: InputMaybe; _or?: InputMaybe>; address?: InputMaybe; + feeGrantAllowancesByGranterAddress?: InputMaybe; + fee_grant_allowances?: InputMaybe; proposal_deposits?: InputMaybe; proposal_votes?: InputMaybe; proposals?: InputMaybe; + proposals_aggregate?: InputMaybe; validator_infos?: InputMaybe; vesting_account?: InputMaybe; vesting_accounts?: InputMaybe; }; -/** aggregate max on columns */ -export type Account_Max_Fields = { - __typename?: 'account_max_fields'; - address?: Maybe; -}; - -/** aggregate min on columns */ -export type Account_Min_Fields = { - __typename?: 'account_min_fields'; - address?: Maybe; -}; - /** Ordering options when selecting data from "account". */ export type Account_Order_By = { address?: InputMaybe; + feeGrantAllowancesByGranterAddress_aggregate?: InputMaybe; + fee_grant_allowances_aggregate?: InputMaybe; proposal_deposits_aggregate?: InputMaybe; proposal_votes_aggregate?: InputMaybe; proposals_aggregate?: InputMaybe; @@ -358,6 +320,19 @@ export enum Account_Select_Column { Address = 'address' } +/** Streaming cursor of the table "account" */ +export type Account_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Account_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Account_Stream_Cursor_Value_Input = { + address?: InputMaybe; +}; + /** columns and relationships of "average_block_time_from_genesis" */ export type Average_Block_Time_From_Genesis = { __typename?: 'average_block_time_from_genesis'; @@ -365,43 +340,6 @@ export type Average_Block_Time_From_Genesis = { height: Scalars['bigint']; }; -/** aggregated selection of "average_block_time_from_genesis" */ -export type Average_Block_Time_From_Genesis_Aggregate = { - __typename?: 'average_block_time_from_genesis_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "average_block_time_from_genesis" */ -export type Average_Block_Time_From_Genesis_Aggregate_Fields = { - __typename?: 'average_block_time_from_genesis_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "average_block_time_from_genesis" */ -export type Average_Block_Time_From_Genesis_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Average_Block_Time_From_Genesis_Avg_Fields = { - __typename?: 'average_block_time_from_genesis_avg_fields'; - average_time?: Maybe; - height?: Maybe; -}; - /** Boolean expression to filter rows from the table "average_block_time_from_genesis". All fields are combined with a logical 'AND'. */ export type Average_Block_Time_From_Genesis_Bool_Exp = { _and?: InputMaybe>; @@ -411,20 +349,6 @@ export type Average_Block_Time_From_Genesis_Bool_Exp = { height?: InputMaybe; }; -/** aggregate max on columns */ -export type Average_Block_Time_From_Genesis_Max_Fields = { - __typename?: 'average_block_time_from_genesis_max_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate min on columns */ -export type Average_Block_Time_From_Genesis_Min_Fields = { - __typename?: 'average_block_time_from_genesis_min_fields'; - average_time?: Maybe; - height?: Maybe; -}; - /** Ordering options when selecting data from "average_block_time_from_genesis". */ export type Average_Block_Time_From_Genesis_Order_By = { average_time?: InputMaybe; @@ -439,53 +363,18 @@ export enum Average_Block_Time_From_Genesis_Select_Column { Height = 'height' } -/** aggregate stddev on columns */ -export type Average_Block_Time_From_Genesis_Stddev_Fields = { - __typename?: 'average_block_time_from_genesis_stddev_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Average_Block_Time_From_Genesis_Stddev_Pop_Fields = { - __typename?: 'average_block_time_from_genesis_stddev_pop_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Average_Block_Time_From_Genesis_Stddev_Samp_Fields = { - __typename?: 'average_block_time_from_genesis_stddev_samp_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate sum on columns */ -export type Average_Block_Time_From_Genesis_Sum_Fields = { - __typename?: 'average_block_time_from_genesis_sum_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Average_Block_Time_From_Genesis_Var_Pop_Fields = { - __typename?: 'average_block_time_from_genesis_var_pop_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Average_Block_Time_From_Genesis_Var_Samp_Fields = { - __typename?: 'average_block_time_from_genesis_var_samp_fields'; - average_time?: Maybe; - height?: Maybe; +/** Streaming cursor of the table "average_block_time_from_genesis" */ +export type Average_Block_Time_From_Genesis_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Average_Block_Time_From_Genesis_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate variance on columns */ -export type Average_Block_Time_From_Genesis_Variance_Fields = { - __typename?: 'average_block_time_from_genesis_variance_fields'; - average_time?: Maybe; - height?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Average_Block_Time_From_Genesis_Stream_Cursor_Value_Input = { + average_time?: InputMaybe; + height?: InputMaybe; }; /** columns and relationships of "average_block_time_per_day" */ @@ -495,43 +384,6 @@ export type Average_Block_Time_Per_Day = { height: Scalars['bigint']; }; -/** aggregated selection of "average_block_time_per_day" */ -export type Average_Block_Time_Per_Day_Aggregate = { - __typename?: 'average_block_time_per_day_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "average_block_time_per_day" */ -export type Average_Block_Time_Per_Day_Aggregate_Fields = { - __typename?: 'average_block_time_per_day_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "average_block_time_per_day" */ -export type Average_Block_Time_Per_Day_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Average_Block_Time_Per_Day_Avg_Fields = { - __typename?: 'average_block_time_per_day_avg_fields'; - average_time?: Maybe; - height?: Maybe; -}; - /** Boolean expression to filter rows from the table "average_block_time_per_day". All fields are combined with a logical 'AND'. */ export type Average_Block_Time_Per_Day_Bool_Exp = { _and?: InputMaybe>; @@ -541,20 +393,6 @@ export type Average_Block_Time_Per_Day_Bool_Exp = { height?: InputMaybe; }; -/** aggregate max on columns */ -export type Average_Block_Time_Per_Day_Max_Fields = { - __typename?: 'average_block_time_per_day_max_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate min on columns */ -export type Average_Block_Time_Per_Day_Min_Fields = { - __typename?: 'average_block_time_per_day_min_fields'; - average_time?: Maybe; - height?: Maybe; -}; - /** Ordering options when selecting data from "average_block_time_per_day". */ export type Average_Block_Time_Per_Day_Order_By = { average_time?: InputMaybe; @@ -569,53 +407,18 @@ export enum Average_Block_Time_Per_Day_Select_Column { Height = 'height' } -/** aggregate stddev on columns */ -export type Average_Block_Time_Per_Day_Stddev_Fields = { - __typename?: 'average_block_time_per_day_stddev_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Average_Block_Time_Per_Day_Stddev_Pop_Fields = { - __typename?: 'average_block_time_per_day_stddev_pop_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Average_Block_Time_Per_Day_Stddev_Samp_Fields = { - __typename?: 'average_block_time_per_day_stddev_samp_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate sum on columns */ -export type Average_Block_Time_Per_Day_Sum_Fields = { - __typename?: 'average_block_time_per_day_sum_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Average_Block_Time_Per_Day_Var_Pop_Fields = { - __typename?: 'average_block_time_per_day_var_pop_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Average_Block_Time_Per_Day_Var_Samp_Fields = { - __typename?: 'average_block_time_per_day_var_samp_fields'; - average_time?: Maybe; - height?: Maybe; +/** Streaming cursor of the table "average_block_time_per_day" */ +export type Average_Block_Time_Per_Day_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Average_Block_Time_Per_Day_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate variance on columns */ -export type Average_Block_Time_Per_Day_Variance_Fields = { - __typename?: 'average_block_time_per_day_variance_fields'; - average_time?: Maybe; - height?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Average_Block_Time_Per_Day_Stream_Cursor_Value_Input = { + average_time?: InputMaybe; + height?: InputMaybe; }; /** columns and relationships of "average_block_time_per_hour" */ @@ -625,43 +428,6 @@ export type Average_Block_Time_Per_Hour = { height: Scalars['bigint']; }; -/** aggregated selection of "average_block_time_per_hour" */ -export type Average_Block_Time_Per_Hour_Aggregate = { - __typename?: 'average_block_time_per_hour_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "average_block_time_per_hour" */ -export type Average_Block_Time_Per_Hour_Aggregate_Fields = { - __typename?: 'average_block_time_per_hour_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "average_block_time_per_hour" */ -export type Average_Block_Time_Per_Hour_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Average_Block_Time_Per_Hour_Avg_Fields = { - __typename?: 'average_block_time_per_hour_avg_fields'; - average_time?: Maybe; - height?: Maybe; -}; - /** Boolean expression to filter rows from the table "average_block_time_per_hour". All fields are combined with a logical 'AND'. */ export type Average_Block_Time_Per_Hour_Bool_Exp = { _and?: InputMaybe>; @@ -671,20 +437,6 @@ export type Average_Block_Time_Per_Hour_Bool_Exp = { height?: InputMaybe; }; -/** aggregate max on columns */ -export type Average_Block_Time_Per_Hour_Max_Fields = { - __typename?: 'average_block_time_per_hour_max_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate min on columns */ -export type Average_Block_Time_Per_Hour_Min_Fields = { - __typename?: 'average_block_time_per_hour_min_fields'; - average_time?: Maybe; - height?: Maybe; -}; - /** Ordering options when selecting data from "average_block_time_per_hour". */ export type Average_Block_Time_Per_Hour_Order_By = { average_time?: InputMaybe; @@ -699,53 +451,18 @@ export enum Average_Block_Time_Per_Hour_Select_Column { Height = 'height' } -/** aggregate stddev on columns */ -export type Average_Block_Time_Per_Hour_Stddev_Fields = { - __typename?: 'average_block_time_per_hour_stddev_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Average_Block_Time_Per_Hour_Stddev_Pop_Fields = { - __typename?: 'average_block_time_per_hour_stddev_pop_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Average_Block_Time_Per_Hour_Stddev_Samp_Fields = { - __typename?: 'average_block_time_per_hour_stddev_samp_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate sum on columns */ -export type Average_Block_Time_Per_Hour_Sum_Fields = { - __typename?: 'average_block_time_per_hour_sum_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Average_Block_Time_Per_Hour_Var_Pop_Fields = { - __typename?: 'average_block_time_per_hour_var_pop_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Average_Block_Time_Per_Hour_Var_Samp_Fields = { - __typename?: 'average_block_time_per_hour_var_samp_fields'; - average_time?: Maybe; - height?: Maybe; +/** Streaming cursor of the table "average_block_time_per_hour" */ +export type Average_Block_Time_Per_Hour_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Average_Block_Time_Per_Hour_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate variance on columns */ -export type Average_Block_Time_Per_Hour_Variance_Fields = { - __typename?: 'average_block_time_per_hour_variance_fields'; - average_time?: Maybe; - height?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Average_Block_Time_Per_Hour_Stream_Cursor_Value_Input = { + average_time?: InputMaybe; + height?: InputMaybe; }; /** columns and relationships of "average_block_time_per_minute" */ @@ -755,43 +472,6 @@ export type Average_Block_Time_Per_Minute = { height: Scalars['bigint']; }; -/** aggregated selection of "average_block_time_per_minute" */ -export type Average_Block_Time_Per_Minute_Aggregate = { - __typename?: 'average_block_time_per_minute_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "average_block_time_per_minute" */ -export type Average_Block_Time_Per_Minute_Aggregate_Fields = { - __typename?: 'average_block_time_per_minute_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "average_block_time_per_minute" */ -export type Average_Block_Time_Per_Minute_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Average_Block_Time_Per_Minute_Avg_Fields = { - __typename?: 'average_block_time_per_minute_avg_fields'; - average_time?: Maybe; - height?: Maybe; -}; - /** Boolean expression to filter rows from the table "average_block_time_per_minute". All fields are combined with a logical 'AND'. */ export type Average_Block_Time_Per_Minute_Bool_Exp = { _and?: InputMaybe>; @@ -801,20 +481,6 @@ export type Average_Block_Time_Per_Minute_Bool_Exp = { height?: InputMaybe; }; -/** aggregate max on columns */ -export type Average_Block_Time_Per_Minute_Max_Fields = { - __typename?: 'average_block_time_per_minute_max_fields'; - average_time?: Maybe; - height?: Maybe; -}; - -/** aggregate min on columns */ -export type Average_Block_Time_Per_Minute_Min_Fields = { - __typename?: 'average_block_time_per_minute_min_fields'; - average_time?: Maybe; - height?: Maybe; -}; - /** Ordering options when selecting data from "average_block_time_per_minute". */ export type Average_Block_Time_Per_Minute_Order_By = { average_time?: InputMaybe; @@ -829,4000 +495,16776 @@ export enum Average_Block_Time_Per_Minute_Select_Column { Height = 'height' } -/** aggregate stddev on columns */ -export type Average_Block_Time_Per_Minute_Stddev_Fields = { - __typename?: 'average_block_time_per_minute_stddev_fields'; - average_time?: Maybe; - height?: Maybe; +/** Streaming cursor of the table "average_block_time_per_minute" */ +export type Average_Block_Time_Per_Minute_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Average_Block_Time_Per_Minute_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Average_Block_Time_Per_Minute_Stddev_Pop_Fields = { - __typename?: 'average_block_time_per_minute_stddev_pop_fields'; - average_time?: Maybe; - height?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Average_Block_Time_Per_Minute_Stream_Cursor_Value_Input = { + average_time?: InputMaybe; + height?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Average_Block_Time_Per_Minute_Stddev_Samp_Fields = { - __typename?: 'average_block_time_per_minute_stddev_samp_fields'; - average_time?: Maybe; - height?: Maybe; +export type Bdjuno_Provider_ActionAddress = { + __typename?: 'bdjuno_provider_ActionAddress'; + address: Scalars['String']; }; -/** aggregate sum on columns */ -export type Average_Block_Time_Per_Minute_Sum_Fields = { - __typename?: 'average_block_time_per_minute_sum_fields'; - average_time?: Maybe; - height?: Maybe; +export type Bdjuno_Provider_ActionBalance = { + __typename?: 'bdjuno_provider_ActionBalance'; + coins?: Maybe>>; }; -/** aggregate var_pop on columns */ -export type Average_Block_Time_Per_Minute_Var_Pop_Fields = { - __typename?: 'average_block_time_per_minute_var_pop_fields'; - average_time?: Maybe; - height?: Maybe; +export type Bdjuno_Provider_ActionDelegationResponse = { + __typename?: 'bdjuno_provider_ActionDelegationResponse'; + delegations?: Maybe>>; + pagination?: Maybe; }; -/** aggregate var_samp on columns */ -export type Average_Block_Time_Per_Minute_Var_Samp_Fields = { - __typename?: 'average_block_time_per_minute_var_samp_fields'; - average_time?: Maybe; - height?: Maybe; +export type Bdjuno_Provider_ActionDelegationReward = { + __typename?: 'bdjuno_provider_ActionDelegationReward'; + coins?: Maybe>>; + validator_address: Scalars['String']; }; -/** aggregate variance on columns */ -export type Average_Block_Time_Per_Minute_Variance_Fields = { - __typename?: 'average_block_time_per_minute_variance_fields'; - average_time?: Maybe; - height?: Maybe; +export type Bdjuno_Provider_ActionRedelegationResponse = { + __typename?: 'bdjuno_provider_ActionRedelegationResponse'; + pagination?: Maybe; + redelegations?: Maybe>>; }; -/** Boolean expression to compare columns of type "bigint". All fields are combined with logical 'AND'. */ -export type Bigint_Comparison_Exp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; +export type Bdjuno_Provider_ActionUnbondingDelegationResponse = { + __typename?: 'bdjuno_provider_ActionUnbondingDelegationResponse'; + pagination?: Maybe; + unbonding_delegations?: Maybe>>; +}; + +export type Bdjuno_Provider_ActionValidatorCommissionAmount = { + __typename?: 'bdjuno_provider_ActionValidatorCommissionAmount'; + coins?: Maybe>>; +}; + +export type Bdjuno_Provider_Boolean_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; _is_null?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; }; -/** columns and relationships of "block" */ -export type Block = { - __typename?: 'block'; - hash: Scalars['String']; - height: Scalars['bigint']; - num_txs?: Maybe; - /** An array relationship */ - pre_commits: Array; - /** An aggregate relationship */ - pre_commits_aggregate: Pre_Commit_Aggregate; - /** An array relationship */ - proposal_deposits: Array; - /** An aggregate relationship */ - proposal_deposits_aggregate: Proposal_Deposit_Aggregate; - /** An array relationship */ - proposal_votes: Array; - /** An aggregate relationship */ - proposal_votes_aggregate: Proposal_Vote_Aggregate; - proposer_address?: Maybe; - timestamp: Scalars['timestamp']; - total_gas?: Maybe; - /** An array relationship */ - transactions: Array; - /** An aggregate relationship */ - transactions_aggregate: Transaction_Aggregate; - /** An object relationship */ - validator?: Maybe; - /** An array relationship */ - validator_voting_powers: Array; - /** An aggregate relationship */ - validator_voting_powers_aggregate: Validator_Voting_Power_Aggregate; +export type Bdjuno_Provider_Int_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; }; +export type Bdjuno_Provider_String_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _ilike?: InputMaybe; + _in?: InputMaybe>; + _iregex?: InputMaybe; + _is_null?: InputMaybe; + _like?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nilike?: InputMaybe; + _nin?: InputMaybe>; + _niregex?: InputMaybe; + _nlike?: InputMaybe; + _nregex?: InputMaybe; + _nsimilar?: InputMaybe; + _regex?: InputMaybe; + _similar?: InputMaybe; +}; -/** columns and relationships of "block" */ -export type BlockPre_CommitsArgs = { - distinct_on?: InputMaybe>; +export type Bdjuno_Provider__Coin_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +export type Bdjuno_Provider__Dec_Coin_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +export type Bdjuno_Provider__Text_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +export type Bdjuno_Provider_Account = { + __typename?: 'bdjuno_provider_account'; + address: Scalars['String']; + feeGrantAllowancesByGranterAddress: Array; + feeGrantAllowancesByGranterAddress_aggregate: Bdjuno_Provider_Fee_Grant_Allowance_Aggregate; + fee_grant_allowances: Array; + fee_grant_allowances_aggregate: Bdjuno_Provider_Fee_Grant_Allowance_Aggregate; + proposal_deposits: Array; + proposal_deposits_aggregate: Bdjuno_Provider_Proposal_Deposit_Aggregate; + proposal_votes: Array; + proposal_votes_aggregate: Bdjuno_Provider_Proposal_Vote_Aggregate; + proposals: Array; + proposals_aggregate: Bdjuno_Provider_Proposal_Aggregate; + validator_infos: Array; + validator_infos_aggregate: Bdjuno_Provider_Validator_Info_Aggregate; + vesting_account?: Maybe; + vesting_accounts: Array; + vesting_accounts_aggregate: Bdjuno_Provider_Vesting_Account_Aggregate; +}; + + +export type Bdjuno_Provider_AccountFeeGrantAllowancesByGranterAddressArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** columns and relationships of "block" */ -export type BlockPre_Commits_AggregateArgs = { - distinct_on?: InputMaybe>; +export type Bdjuno_Provider_AccountFeeGrantAllowancesByGranterAddress_AggregateArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** columns and relationships of "block" */ -export type BlockProposal_DepositsArgs = { - distinct_on?: InputMaybe>; +export type Bdjuno_Provider_AccountFee_Grant_AllowancesArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** columns and relationships of "block" */ -export type BlockProposal_Deposits_AggregateArgs = { - distinct_on?: InputMaybe>; +export type Bdjuno_Provider_AccountFee_Grant_Allowances_AggregateArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** columns and relationships of "block" */ -export type BlockProposal_VotesArgs = { - distinct_on?: InputMaybe>; +export type Bdjuno_Provider_AccountProposal_DepositsArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** columns and relationships of "block" */ -export type BlockProposal_Votes_AggregateArgs = { - distinct_on?: InputMaybe>; +export type Bdjuno_Provider_AccountProposal_Deposits_AggregateArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** columns and relationships of "block" */ -export type BlockTransactionsArgs = { - distinct_on?: InputMaybe>; +export type Bdjuno_Provider_AccountProposal_VotesArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** columns and relationships of "block" */ -export type BlockTransactions_AggregateArgs = { - distinct_on?: InputMaybe>; +export type Bdjuno_Provider_AccountProposal_Votes_AggregateArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** columns and relationships of "block" */ -export type BlockValidator_Voting_PowersArgs = { - distinct_on?: InputMaybe>; +export type Bdjuno_Provider_AccountProposalsArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** columns and relationships of "block" */ -export type BlockValidator_Voting_Powers_AggregateArgs = { - distinct_on?: InputMaybe>; +export type Bdjuno_Provider_AccountProposals_AggregateArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** aggregated selection of "block" */ -export type Block_Aggregate = { - __typename?: 'block_aggregate'; - aggregate?: Maybe; - nodes: Array; + +export type Bdjuno_Provider_AccountValidator_InfosArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** aggregate fields of "block" */ -export type Block_Aggregate_Fields = { - __typename?: 'block_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; + +export type Bdjuno_Provider_AccountValidator_Infos_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** aggregate fields of "block" */ -export type Block_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; +export type Bdjuno_Provider_AccountVesting_AccountsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** order by aggregate values of table "block" */ -export type Block_Aggregate_Order_By = { - avg?: InputMaybe; - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddev?: InputMaybe; - stddev_pop?: InputMaybe; - stddev_samp?: InputMaybe; - sum?: InputMaybe; - var_pop?: InputMaybe; - var_samp?: InputMaybe; - variance?: InputMaybe; + +export type Bdjuno_Provider_AccountVesting_Accounts_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** aggregate avg on columns */ -export type Block_Avg_Fields = { - __typename?: 'block_avg_fields'; - height?: Maybe; - num_txs?: Maybe; - total_gas?: Maybe; +export type Bdjuno_Provider_Account_Aggregate = { + __typename?: 'bdjuno_provider_account_aggregate'; + aggregate?: Maybe; + nodes: Array; }; -/** order by avg() on columns of table "block" */ -export type Block_Avg_Order_By = { - height?: InputMaybe; - num_txs?: InputMaybe; - total_gas?: InputMaybe; +export type Bdjuno_Provider_Account_Aggregate_Fields = { + __typename?: 'bdjuno_provider_account_aggregate_fields'; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; }; -/** Boolean expression to filter rows from the table "block". All fields are combined with a logical 'AND'. */ -export type Block_Bool_Exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - hash?: InputMaybe; - height?: InputMaybe; - num_txs?: InputMaybe; - pre_commits?: InputMaybe; - proposal_deposits?: InputMaybe; - proposal_votes?: InputMaybe; - proposer_address?: InputMaybe; - timestamp?: InputMaybe; - total_gas?: InputMaybe; - transactions?: InputMaybe; - validator?: InputMaybe; - validator_voting_powers?: InputMaybe; + +export type Bdjuno_Provider_Account_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; }; -/** aggregate max on columns */ -export type Block_Max_Fields = { - __typename?: 'block_max_fields'; - hash?: Maybe; - height?: Maybe; - num_txs?: Maybe; - proposer_address?: Maybe; - timestamp?: Maybe; - total_gas?: Maybe; +export type Bdjuno_Provider_Account_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + address?: InputMaybe; + feeGrantAllowancesByGranterAddress?: InputMaybe; + fee_grant_allowances?: InputMaybe; + proposal_deposits?: InputMaybe; + proposal_votes?: InputMaybe; + proposals?: InputMaybe; + validator_infos?: InputMaybe; + vesting_account?: InputMaybe; + vesting_accounts?: InputMaybe; }; -/** order by max() on columns of table "block" */ -export type Block_Max_Order_By = { - hash?: InputMaybe; - height?: InputMaybe; - num_txs?: InputMaybe; - proposer_address?: InputMaybe; - timestamp?: InputMaybe; - total_gas?: InputMaybe; +export type Bdjuno_Provider_Account_Max_Fields = { + __typename?: 'bdjuno_provider_account_max_fields'; + address?: Maybe; }; -/** aggregate min on columns */ -export type Block_Min_Fields = { - __typename?: 'block_min_fields'; - hash?: Maybe; - height?: Maybe; - num_txs?: Maybe; - proposer_address?: Maybe; - timestamp?: Maybe; - total_gas?: Maybe; +export type Bdjuno_Provider_Account_Min_Fields = { + __typename?: 'bdjuno_provider_account_min_fields'; + address?: Maybe; }; -/** order by min() on columns of table "block" */ -export type Block_Min_Order_By = { - hash?: InputMaybe; - height?: InputMaybe; - num_txs?: InputMaybe; - proposer_address?: InputMaybe; - timestamp?: InputMaybe; - total_gas?: InputMaybe; +export type Bdjuno_Provider_Account_Order_By = { + address?: InputMaybe; + feeGrantAllowancesByGranterAddress_aggregate?: InputMaybe; + fee_grant_allowances_aggregate?: InputMaybe; + proposal_deposits_aggregate?: InputMaybe; + proposal_votes_aggregate?: InputMaybe; + proposals_aggregate?: InputMaybe; + validator_infos_aggregate?: InputMaybe; + vesting_account?: InputMaybe; + vesting_accounts_aggregate?: InputMaybe; }; -/** Ordering options when selecting data from "block". */ -export type Block_Order_By = { - hash?: InputMaybe; - height?: InputMaybe; - num_txs?: InputMaybe; - pre_commits_aggregate?: InputMaybe; - proposal_deposits_aggregate?: InputMaybe; - proposal_votes_aggregate?: InputMaybe; - proposer_address?: InputMaybe; - timestamp?: InputMaybe; - total_gas?: InputMaybe; - transactions_aggregate?: InputMaybe; - validator?: InputMaybe; - validator_voting_powers_aggregate?: InputMaybe; +export enum Bdjuno_Provider_Account_Select_Column { + Address = 'address' +} + +export type Bdjuno_Provider_Average_Block_Time_From_Genesis = { + __typename?: 'bdjuno_provider_average_block_time_from_genesis'; + average_time: Scalars['bdjuno_provider_numeric']; + height: Scalars['bdjuno_provider_bigint']; }; -/** select columns of table "block" */ -export enum Block_Select_Column { - /** column name */ - Hash = 'hash', - /** column name */ - Height = 'height', - /** column name */ - NumTxs = 'num_txs', - /** column name */ - ProposerAddress = 'proposer_address', - /** column name */ - Timestamp = 'timestamp', - /** column name */ - TotalGas = 'total_gas' -} +export type Bdjuno_Provider_Average_Block_Time_From_Genesis_Aggregate = { + __typename?: 'bdjuno_provider_average_block_time_from_genesis_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; -/** aggregate stddev on columns */ -export type Block_Stddev_Fields = { - __typename?: 'block_stddev_fields'; - height?: Maybe; - num_txs?: Maybe; - total_gas?: Maybe; +export type Bdjuno_Provider_Average_Block_Time_From_Genesis_Aggregate_Fields = { + __typename?: 'bdjuno_provider_average_block_time_from_genesis_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; }; -/** order by stddev() on columns of table "block" */ -export type Block_Stddev_Order_By = { - height?: InputMaybe; - num_txs?: InputMaybe; - total_gas?: InputMaybe; + +export type Bdjuno_Provider_Average_Block_Time_From_Genesis_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Block_Stddev_Pop_Fields = { - __typename?: 'block_stddev_pop_fields'; +export type Bdjuno_Provider_Average_Block_Time_From_Genesis_Avg_Fields = { + __typename?: 'bdjuno_provider_average_block_time_from_genesis_avg_fields'; + average_time?: Maybe; height?: Maybe; - num_txs?: Maybe; - total_gas?: Maybe; }; -/** order by stddev_pop() on columns of table "block" */ -export type Block_Stddev_Pop_Order_By = { - height?: InputMaybe; - num_txs?: InputMaybe; - total_gas?: InputMaybe; +export type Bdjuno_Provider_Average_Block_Time_From_Genesis_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + average_time?: InputMaybe; + height?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Block_Stddev_Samp_Fields = { - __typename?: 'block_stddev_samp_fields'; - height?: Maybe; - num_txs?: Maybe; - total_gas?: Maybe; +export type Bdjuno_Provider_Average_Block_Time_From_Genesis_Max_Fields = { + __typename?: 'bdjuno_provider_average_block_time_from_genesis_max_fields'; + average_time?: Maybe; + height?: Maybe; }; -/** order by stddev_samp() on columns of table "block" */ -export type Block_Stddev_Samp_Order_By = { - height?: InputMaybe; - num_txs?: InputMaybe; - total_gas?: InputMaybe; +export type Bdjuno_Provider_Average_Block_Time_From_Genesis_Min_Fields = { + __typename?: 'bdjuno_provider_average_block_time_from_genesis_min_fields'; + average_time?: Maybe; + height?: Maybe; }; -/** aggregate sum on columns */ -export type Block_Sum_Fields = { - __typename?: 'block_sum_fields'; - height?: Maybe; - num_txs?: Maybe; - total_gas?: Maybe; +export type Bdjuno_Provider_Average_Block_Time_From_Genesis_Order_By = { + average_time?: InputMaybe; + height?: InputMaybe; }; -/** order by sum() on columns of table "block" */ -export type Block_Sum_Order_By = { - height?: InputMaybe; - num_txs?: InputMaybe; - total_gas?: InputMaybe; -}; +export enum Bdjuno_Provider_Average_Block_Time_From_Genesis_Select_Column { + AverageTime = 'average_time', + Height = 'height' +} -/** aggregate var_pop on columns */ -export type Block_Var_Pop_Fields = { - __typename?: 'block_var_pop_fields'; +export type Bdjuno_Provider_Average_Block_Time_From_Genesis_Stddev_Fields = { + __typename?: 'bdjuno_provider_average_block_time_from_genesis_stddev_fields'; + average_time?: Maybe; height?: Maybe; - num_txs?: Maybe; - total_gas?: Maybe; }; -/** order by var_pop() on columns of table "block" */ -export type Block_Var_Pop_Order_By = { - height?: InputMaybe; - num_txs?: InputMaybe; - total_gas?: InputMaybe; +export type Bdjuno_Provider_Average_Block_Time_From_Genesis_Stddev_Pop_Fields = { + __typename?: 'bdjuno_provider_average_block_time_from_genesis_stddev_pop_fields'; + average_time?: Maybe; + height?: Maybe; }; -/** aggregate var_samp on columns */ -export type Block_Var_Samp_Fields = { - __typename?: 'block_var_samp_fields'; +export type Bdjuno_Provider_Average_Block_Time_From_Genesis_Stddev_Samp_Fields = { + __typename?: 'bdjuno_provider_average_block_time_from_genesis_stddev_samp_fields'; + average_time?: Maybe; height?: Maybe; - num_txs?: Maybe; - total_gas?: Maybe; }; -/** order by var_samp() on columns of table "block" */ -export type Block_Var_Samp_Order_By = { - height?: InputMaybe; - num_txs?: InputMaybe; - total_gas?: InputMaybe; +export type Bdjuno_Provider_Average_Block_Time_From_Genesis_Sum_Fields = { + __typename?: 'bdjuno_provider_average_block_time_from_genesis_sum_fields'; + average_time?: Maybe; + height?: Maybe; }; -/** aggregate variance on columns */ -export type Block_Variance_Fields = { - __typename?: 'block_variance_fields'; +export type Bdjuno_Provider_Average_Block_Time_From_Genesis_Var_Pop_Fields = { + __typename?: 'bdjuno_provider_average_block_time_from_genesis_var_pop_fields'; + average_time?: Maybe; height?: Maybe; - num_txs?: Maybe; - total_gas?: Maybe; }; -/** order by variance() on columns of table "block" */ -export type Block_Variance_Order_By = { - height?: InputMaybe; - num_txs?: InputMaybe; - total_gas?: InputMaybe; +export type Bdjuno_Provider_Average_Block_Time_From_Genesis_Var_Samp_Fields = { + __typename?: 'bdjuno_provider_average_block_time_from_genesis_var_samp_fields'; + average_time?: Maybe; + height?: Maybe; }; -/** columns and relationships of "community_pool" */ -export type Community_Pool = { - __typename?: 'community_pool'; - coins: Scalars['_dec_coin']; - height: Scalars['bigint']; +export type Bdjuno_Provider_Average_Block_Time_From_Genesis_Variance_Fields = { + __typename?: 'bdjuno_provider_average_block_time_from_genesis_variance_fields'; + average_time?: Maybe; + height?: Maybe; +}; + +export type Bdjuno_Provider_Average_Block_Time_Per_Day = { + __typename?: 'bdjuno_provider_average_block_time_per_day'; + average_time: Scalars['bdjuno_provider_numeric']; + height: Scalars['bdjuno_provider_bigint']; }; -/** aggregated selection of "community_pool" */ -export type Community_Pool_Aggregate = { - __typename?: 'community_pool_aggregate'; - aggregate?: Maybe; - nodes: Array; +export type Bdjuno_Provider_Average_Block_Time_Per_Day_Aggregate = { + __typename?: 'bdjuno_provider_average_block_time_per_day_aggregate'; + aggregate?: Maybe; + nodes: Array; }; -/** aggregate fields of "community_pool" */ -export type Community_Pool_Aggregate_Fields = { - __typename?: 'community_pool_aggregate_fields'; - avg?: Maybe; +export type Bdjuno_Provider_Average_Block_Time_Per_Day_Aggregate_Fields = { + __typename?: 'bdjuno_provider_average_block_time_per_day_aggregate_fields'; + avg?: Maybe; count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; }; -/** aggregate fields of "community_pool" */ -export type Community_Pool_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; +export type Bdjuno_Provider_Average_Block_Time_Per_Day_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; distinct?: InputMaybe; }; -/** aggregate avg on columns */ -export type Community_Pool_Avg_Fields = { - __typename?: 'community_pool_avg_fields'; +export type Bdjuno_Provider_Average_Block_Time_Per_Day_Avg_Fields = { + __typename?: 'bdjuno_provider_average_block_time_per_day_avg_fields'; + average_time?: Maybe; height?: Maybe; }; -/** Boolean expression to filter rows from the table "community_pool". All fields are combined with a logical 'AND'. */ -export type Community_Pool_Bool_Exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - coins?: InputMaybe<_Dec_Coin_Comparison_Exp>; - height?: InputMaybe; +export type Bdjuno_Provider_Average_Block_Time_Per_Day_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + average_time?: InputMaybe; + height?: InputMaybe; }; -/** aggregate max on columns */ -export type Community_Pool_Max_Fields = { - __typename?: 'community_pool_max_fields'; - height?: Maybe; +export type Bdjuno_Provider_Average_Block_Time_Per_Day_Max_Fields = { + __typename?: 'bdjuno_provider_average_block_time_per_day_max_fields'; + average_time?: Maybe; + height?: Maybe; }; -/** aggregate min on columns */ -export type Community_Pool_Min_Fields = { - __typename?: 'community_pool_min_fields'; - height?: Maybe; +export type Bdjuno_Provider_Average_Block_Time_Per_Day_Min_Fields = { + __typename?: 'bdjuno_provider_average_block_time_per_day_min_fields'; + average_time?: Maybe; + height?: Maybe; }; -/** Ordering options when selecting data from "community_pool". */ -export type Community_Pool_Order_By = { - coins?: InputMaybe; - height?: InputMaybe; +export type Bdjuno_Provider_Average_Block_Time_Per_Day_Order_By = { + average_time?: InputMaybe; + height?: InputMaybe; }; -/** select columns of table "community_pool" */ -export enum Community_Pool_Select_Column { - /** column name */ - Coins = 'coins', - /** column name */ +export enum Bdjuno_Provider_Average_Block_Time_Per_Day_Select_Column { + AverageTime = 'average_time', Height = 'height' } -/** aggregate stddev on columns */ -export type Community_Pool_Stddev_Fields = { - __typename?: 'community_pool_stddev_fields'; +export type Bdjuno_Provider_Average_Block_Time_Per_Day_Stddev_Fields = { + __typename?: 'bdjuno_provider_average_block_time_per_day_stddev_fields'; + average_time?: Maybe; height?: Maybe; }; -/** aggregate stddev_pop on columns */ -export type Community_Pool_Stddev_Pop_Fields = { - __typename?: 'community_pool_stddev_pop_fields'; +export type Bdjuno_Provider_Average_Block_Time_Per_Day_Stddev_Pop_Fields = { + __typename?: 'bdjuno_provider_average_block_time_per_day_stddev_pop_fields'; + average_time?: Maybe; height?: Maybe; }; -/** aggregate stddev_samp on columns */ -export type Community_Pool_Stddev_Samp_Fields = { - __typename?: 'community_pool_stddev_samp_fields'; +export type Bdjuno_Provider_Average_Block_Time_Per_Day_Stddev_Samp_Fields = { + __typename?: 'bdjuno_provider_average_block_time_per_day_stddev_samp_fields'; + average_time?: Maybe; height?: Maybe; }; -/** aggregate sum on columns */ -export type Community_Pool_Sum_Fields = { - __typename?: 'community_pool_sum_fields'; - height?: Maybe; +export type Bdjuno_Provider_Average_Block_Time_Per_Day_Sum_Fields = { + __typename?: 'bdjuno_provider_average_block_time_per_day_sum_fields'; + average_time?: Maybe; + height?: Maybe; }; -/** aggregate var_pop on columns */ -export type Community_Pool_Var_Pop_Fields = { - __typename?: 'community_pool_var_pop_fields'; +export type Bdjuno_Provider_Average_Block_Time_Per_Day_Var_Pop_Fields = { + __typename?: 'bdjuno_provider_average_block_time_per_day_var_pop_fields'; + average_time?: Maybe; height?: Maybe; }; -/** aggregate var_samp on columns */ -export type Community_Pool_Var_Samp_Fields = { - __typename?: 'community_pool_var_samp_fields'; +export type Bdjuno_Provider_Average_Block_Time_Per_Day_Var_Samp_Fields = { + __typename?: 'bdjuno_provider_average_block_time_per_day_var_samp_fields'; + average_time?: Maybe; height?: Maybe; }; -/** aggregate variance on columns */ -export type Community_Pool_Variance_Fields = { - __typename?: 'community_pool_variance_fields'; +export type Bdjuno_Provider_Average_Block_Time_Per_Day_Variance_Fields = { + __typename?: 'bdjuno_provider_average_block_time_per_day_variance_fields'; + average_time?: Maybe; height?: Maybe; }; -/** columns and relationships of "distribution_params" */ -export type Distribution_Params = { - __typename?: 'distribution_params'; - height: Scalars['bigint']; - one_row_id: Scalars['Boolean']; - params: Scalars['jsonb']; -}; - - -/** columns and relationships of "distribution_params" */ -export type Distribution_ParamsParamsArgs = { - path?: InputMaybe; +export type Bdjuno_Provider_Average_Block_Time_Per_Hour = { + __typename?: 'bdjuno_provider_average_block_time_per_hour'; + average_time: Scalars['bdjuno_provider_numeric']; + height: Scalars['bdjuno_provider_bigint']; }; -/** aggregated selection of "distribution_params" */ -export type Distribution_Params_Aggregate = { - __typename?: 'distribution_params_aggregate'; - aggregate?: Maybe; - nodes: Array; +export type Bdjuno_Provider_Average_Block_Time_Per_Hour_Aggregate = { + __typename?: 'bdjuno_provider_average_block_time_per_hour_aggregate'; + aggregate?: Maybe; + nodes: Array; }; -/** aggregate fields of "distribution_params" */ -export type Distribution_Params_Aggregate_Fields = { - __typename?: 'distribution_params_aggregate_fields'; - avg?: Maybe; +export type Bdjuno_Provider_Average_Block_Time_Per_Hour_Aggregate_Fields = { + __typename?: 'bdjuno_provider_average_block_time_per_hour_aggregate_fields'; + avg?: Maybe; count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; }; -/** aggregate fields of "distribution_params" */ -export type Distribution_Params_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; +export type Bdjuno_Provider_Average_Block_Time_Per_Hour_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; distinct?: InputMaybe; }; -/** aggregate avg on columns */ -export type Distribution_Params_Avg_Fields = { - __typename?: 'distribution_params_avg_fields'; +export type Bdjuno_Provider_Average_Block_Time_Per_Hour_Avg_Fields = { + __typename?: 'bdjuno_provider_average_block_time_per_hour_avg_fields'; + average_time?: Maybe; height?: Maybe; }; -/** Boolean expression to filter rows from the table "distribution_params". All fields are combined with a logical 'AND'. */ -export type Distribution_Params_Bool_Exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - height?: InputMaybe; - one_row_id?: InputMaybe; - params?: InputMaybe; +export type Bdjuno_Provider_Average_Block_Time_Per_Hour_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + average_time?: InputMaybe; + height?: InputMaybe; }; -/** aggregate max on columns */ -export type Distribution_Params_Max_Fields = { - __typename?: 'distribution_params_max_fields'; - height?: Maybe; +export type Bdjuno_Provider_Average_Block_Time_Per_Hour_Max_Fields = { + __typename?: 'bdjuno_provider_average_block_time_per_hour_max_fields'; + average_time?: Maybe; + height?: Maybe; }; -/** aggregate min on columns */ -export type Distribution_Params_Min_Fields = { - __typename?: 'distribution_params_min_fields'; - height?: Maybe; +export type Bdjuno_Provider_Average_Block_Time_Per_Hour_Min_Fields = { + __typename?: 'bdjuno_provider_average_block_time_per_hour_min_fields'; + average_time?: Maybe; + height?: Maybe; }; -/** Ordering options when selecting data from "distribution_params". */ -export type Distribution_Params_Order_By = { - height?: InputMaybe; - one_row_id?: InputMaybe; - params?: InputMaybe; +export type Bdjuno_Provider_Average_Block_Time_Per_Hour_Order_By = { + average_time?: InputMaybe; + height?: InputMaybe; }; -/** select columns of table "distribution_params" */ -export enum Distribution_Params_Select_Column { - /** column name */ - Height = 'height', - /** column name */ - OneRowId = 'one_row_id', - /** column name */ - Params = 'params' +export enum Bdjuno_Provider_Average_Block_Time_Per_Hour_Select_Column { + AverageTime = 'average_time', + Height = 'height' } -/** aggregate stddev on columns */ -export type Distribution_Params_Stddev_Fields = { - __typename?: 'distribution_params_stddev_fields'; +export type Bdjuno_Provider_Average_Block_Time_Per_Hour_Stddev_Fields = { + __typename?: 'bdjuno_provider_average_block_time_per_hour_stddev_fields'; + average_time?: Maybe; height?: Maybe; }; -/** aggregate stddev_pop on columns */ -export type Distribution_Params_Stddev_Pop_Fields = { - __typename?: 'distribution_params_stddev_pop_fields'; +export type Bdjuno_Provider_Average_Block_Time_Per_Hour_Stddev_Pop_Fields = { + __typename?: 'bdjuno_provider_average_block_time_per_hour_stddev_pop_fields'; + average_time?: Maybe; height?: Maybe; }; -/** aggregate stddev_samp on columns */ -export type Distribution_Params_Stddev_Samp_Fields = { - __typename?: 'distribution_params_stddev_samp_fields'; +export type Bdjuno_Provider_Average_Block_Time_Per_Hour_Stddev_Samp_Fields = { + __typename?: 'bdjuno_provider_average_block_time_per_hour_stddev_samp_fields'; + average_time?: Maybe; height?: Maybe; }; -/** aggregate sum on columns */ -export type Distribution_Params_Sum_Fields = { - __typename?: 'distribution_params_sum_fields'; - height?: Maybe; +export type Bdjuno_Provider_Average_Block_Time_Per_Hour_Sum_Fields = { + __typename?: 'bdjuno_provider_average_block_time_per_hour_sum_fields'; + average_time?: Maybe; + height?: Maybe; }; -/** aggregate var_pop on columns */ -export type Distribution_Params_Var_Pop_Fields = { - __typename?: 'distribution_params_var_pop_fields'; +export type Bdjuno_Provider_Average_Block_Time_Per_Hour_Var_Pop_Fields = { + __typename?: 'bdjuno_provider_average_block_time_per_hour_var_pop_fields'; + average_time?: Maybe; height?: Maybe; }; -/** aggregate var_samp on columns */ -export type Distribution_Params_Var_Samp_Fields = { - __typename?: 'distribution_params_var_samp_fields'; +export type Bdjuno_Provider_Average_Block_Time_Per_Hour_Var_Samp_Fields = { + __typename?: 'bdjuno_provider_average_block_time_per_hour_var_samp_fields'; + average_time?: Maybe; height?: Maybe; }; -/** aggregate variance on columns */ -export type Distribution_Params_Variance_Fields = { - __typename?: 'distribution_params_variance_fields'; +export type Bdjuno_Provider_Average_Block_Time_Per_Hour_Variance_Fields = { + __typename?: 'bdjuno_provider_average_block_time_per_hour_variance_fields'; + average_time?: Maybe; height?: Maybe; }; -/** columns and relationships of "double_sign_evidence" */ -export type Double_Sign_Evidence = { - __typename?: 'double_sign_evidence'; - /** An object relationship */ - doubleSignVoteByVoteAId: Double_Sign_Vote; - /** An object relationship */ - double_sign_vote: Double_Sign_Vote; - height: Scalars['bigint']; - vote_a_id: Scalars['bigint']; - vote_b_id: Scalars['bigint']; +export type Bdjuno_Provider_Average_Block_Time_Per_Minute = { + __typename?: 'bdjuno_provider_average_block_time_per_minute'; + average_time: Scalars['bdjuno_provider_numeric']; + height: Scalars['bdjuno_provider_bigint']; }; -/** aggregated selection of "double_sign_evidence" */ -export type Double_Sign_Evidence_Aggregate = { - __typename?: 'double_sign_evidence_aggregate'; - aggregate?: Maybe; - nodes: Array; +export type Bdjuno_Provider_Average_Block_Time_Per_Minute_Aggregate = { + __typename?: 'bdjuno_provider_average_block_time_per_minute_aggregate'; + aggregate?: Maybe; + nodes: Array; }; -/** aggregate fields of "double_sign_evidence" */ -export type Double_Sign_Evidence_Aggregate_Fields = { - __typename?: 'double_sign_evidence_aggregate_fields'; - avg?: Maybe; +export type Bdjuno_Provider_Average_Block_Time_Per_Minute_Aggregate_Fields = { + __typename?: 'bdjuno_provider_average_block_time_per_minute_aggregate_fields'; + avg?: Maybe; count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; }; -/** aggregate fields of "double_sign_evidence" */ -export type Double_Sign_Evidence_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; +export type Bdjuno_Provider_Average_Block_Time_Per_Minute_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; distinct?: InputMaybe; }; -/** order by aggregate values of table "double_sign_evidence" */ -export type Double_Sign_Evidence_Aggregate_Order_By = { - avg?: InputMaybe; - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddev?: InputMaybe; - stddev_pop?: InputMaybe; - stddev_samp?: InputMaybe; - sum?: InputMaybe; - var_pop?: InputMaybe; - var_samp?: InputMaybe; - variance?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Double_Sign_Evidence_Avg_Fields = { - __typename?: 'double_sign_evidence_avg_fields'; +export type Bdjuno_Provider_Average_Block_Time_Per_Minute_Avg_Fields = { + __typename?: 'bdjuno_provider_average_block_time_per_minute_avg_fields'; + average_time?: Maybe; height?: Maybe; - vote_a_id?: Maybe; - vote_b_id?: Maybe; }; -/** order by avg() on columns of table "double_sign_evidence" */ -export type Double_Sign_Evidence_Avg_Order_By = { - height?: InputMaybe; - vote_a_id?: InputMaybe; - vote_b_id?: InputMaybe; +export type Bdjuno_Provider_Average_Block_Time_Per_Minute_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + average_time?: InputMaybe; + height?: InputMaybe; }; -/** Boolean expression to filter rows from the table "double_sign_evidence". All fields are combined with a logical 'AND'. */ -export type Double_Sign_Evidence_Bool_Exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - doubleSignVoteByVoteAId?: InputMaybe; - double_sign_vote?: InputMaybe; - height?: InputMaybe; - vote_a_id?: InputMaybe; - vote_b_id?: InputMaybe; +export type Bdjuno_Provider_Average_Block_Time_Per_Minute_Max_Fields = { + __typename?: 'bdjuno_provider_average_block_time_per_minute_max_fields'; + average_time?: Maybe; + height?: Maybe; }; -/** aggregate max on columns */ -export type Double_Sign_Evidence_Max_Fields = { - __typename?: 'double_sign_evidence_max_fields'; - height?: Maybe; - vote_a_id?: Maybe; - vote_b_id?: Maybe; +export type Bdjuno_Provider_Average_Block_Time_Per_Minute_Min_Fields = { + __typename?: 'bdjuno_provider_average_block_time_per_minute_min_fields'; + average_time?: Maybe; + height?: Maybe; }; -/** order by max() on columns of table "double_sign_evidence" */ -export type Double_Sign_Evidence_Max_Order_By = { - height?: InputMaybe; - vote_a_id?: InputMaybe; - vote_b_id?: InputMaybe; +export type Bdjuno_Provider_Average_Block_Time_Per_Minute_Order_By = { + average_time?: InputMaybe; + height?: InputMaybe; }; -/** aggregate min on columns */ -export type Double_Sign_Evidence_Min_Fields = { - __typename?: 'double_sign_evidence_min_fields'; - height?: Maybe; - vote_a_id?: Maybe; - vote_b_id?: Maybe; -}; +export enum Bdjuno_Provider_Average_Block_Time_Per_Minute_Select_Column { + AverageTime = 'average_time', + Height = 'height' +} -/** order by min() on columns of table "double_sign_evidence" */ -export type Double_Sign_Evidence_Min_Order_By = { - height?: InputMaybe; - vote_a_id?: InputMaybe; - vote_b_id?: InputMaybe; +export type Bdjuno_Provider_Average_Block_Time_Per_Minute_Stddev_Fields = { + __typename?: 'bdjuno_provider_average_block_time_per_minute_stddev_fields'; + average_time?: Maybe; + height?: Maybe; }; -/** Ordering options when selecting data from "double_sign_evidence". */ -export type Double_Sign_Evidence_Order_By = { - doubleSignVoteByVoteAId?: InputMaybe; - double_sign_vote?: InputMaybe; - height?: InputMaybe; - vote_a_id?: InputMaybe; - vote_b_id?: InputMaybe; +export type Bdjuno_Provider_Average_Block_Time_Per_Minute_Stddev_Pop_Fields = { + __typename?: 'bdjuno_provider_average_block_time_per_minute_stddev_pop_fields'; + average_time?: Maybe; + height?: Maybe; }; -/** select columns of table "double_sign_evidence" */ -export enum Double_Sign_Evidence_Select_Column { - /** column name */ - Height = 'height', - /** column name */ - VoteAId = 'vote_a_id', - /** column name */ - VoteBId = 'vote_b_id' -} - -/** aggregate stddev on columns */ -export type Double_Sign_Evidence_Stddev_Fields = { - __typename?: 'double_sign_evidence_stddev_fields'; +export type Bdjuno_Provider_Average_Block_Time_Per_Minute_Stddev_Samp_Fields = { + __typename?: 'bdjuno_provider_average_block_time_per_minute_stddev_samp_fields'; + average_time?: Maybe; height?: Maybe; - vote_a_id?: Maybe; - vote_b_id?: Maybe; }; -/** order by stddev() on columns of table "double_sign_evidence" */ -export type Double_Sign_Evidence_Stddev_Order_By = { - height?: InputMaybe; - vote_a_id?: InputMaybe; - vote_b_id?: InputMaybe; +export type Bdjuno_Provider_Average_Block_Time_Per_Minute_Sum_Fields = { + __typename?: 'bdjuno_provider_average_block_time_per_minute_sum_fields'; + average_time?: Maybe; + height?: Maybe; }; -/** aggregate stddev_pop on columns */ -export type Double_Sign_Evidence_Stddev_Pop_Fields = { - __typename?: 'double_sign_evidence_stddev_pop_fields'; +export type Bdjuno_Provider_Average_Block_Time_Per_Minute_Var_Pop_Fields = { + __typename?: 'bdjuno_provider_average_block_time_per_minute_var_pop_fields'; + average_time?: Maybe; height?: Maybe; - vote_a_id?: Maybe; - vote_b_id?: Maybe; }; -/** order by stddev_pop() on columns of table "double_sign_evidence" */ -export type Double_Sign_Evidence_Stddev_Pop_Order_By = { - height?: InputMaybe; - vote_a_id?: InputMaybe; - vote_b_id?: InputMaybe; +export type Bdjuno_Provider_Average_Block_Time_Per_Minute_Var_Samp_Fields = { + __typename?: 'bdjuno_provider_average_block_time_per_minute_var_samp_fields'; + average_time?: Maybe; + height?: Maybe; }; -/** aggregate stddev_samp on columns */ -export type Double_Sign_Evidence_Stddev_Samp_Fields = { - __typename?: 'double_sign_evidence_stddev_samp_fields'; +export type Bdjuno_Provider_Average_Block_Time_Per_Minute_Variance_Fields = { + __typename?: 'bdjuno_provider_average_block_time_per_minute_variance_fields'; + average_time?: Maybe; height?: Maybe; - vote_a_id?: Maybe; - vote_b_id?: Maybe; }; -/** order by stddev_samp() on columns of table "double_sign_evidence" */ -export type Double_Sign_Evidence_Stddev_Samp_Order_By = { - height?: InputMaybe; - vote_a_id?: InputMaybe; - vote_b_id?: InputMaybe; +export type Bdjuno_Provider_Bigint_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; }; -/** aggregate sum on columns */ -export type Double_Sign_Evidence_Sum_Fields = { - __typename?: 'double_sign_evidence_sum_fields'; - height?: Maybe; - vote_a_id?: Maybe; - vote_b_id?: Maybe; +export type Bdjuno_Provider_Block = { + __typename?: 'bdjuno_provider_block'; + hash: Scalars['String']; + height: Scalars['bdjuno_provider_bigint']; + num_txs?: Maybe; + pre_commits: Array; + pre_commits_aggregate: Bdjuno_Provider_Pre_Commit_Aggregate; + proposal_deposits: Array; + proposal_deposits_aggregate: Bdjuno_Provider_Proposal_Deposit_Aggregate; + proposal_votes: Array; + proposal_votes_aggregate: Bdjuno_Provider_Proposal_Vote_Aggregate; + proposer_address?: Maybe; + timestamp: Scalars['bdjuno_provider_timestamp']; + total_gas?: Maybe; + transactions: Array; + transactions_aggregate: Bdjuno_Provider_Transaction_Aggregate; + validator?: Maybe; + validator_voting_powers: Array; + validator_voting_powers_aggregate: Bdjuno_Provider_Validator_Voting_Power_Aggregate; }; -/** order by sum() on columns of table "double_sign_evidence" */ -export type Double_Sign_Evidence_Sum_Order_By = { - height?: InputMaybe; - vote_a_id?: InputMaybe; - vote_b_id?: InputMaybe; -}; -/** aggregate var_pop on columns */ -export type Double_Sign_Evidence_Var_Pop_Fields = { - __typename?: 'double_sign_evidence_var_pop_fields'; - height?: Maybe; - vote_a_id?: Maybe; - vote_b_id?: Maybe; +export type Bdjuno_Provider_BlockPre_CommitsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** order by var_pop() on columns of table "double_sign_evidence" */ -export type Double_Sign_Evidence_Var_Pop_Order_By = { - height?: InputMaybe; - vote_a_id?: InputMaybe; - vote_b_id?: InputMaybe; -}; -/** aggregate var_samp on columns */ -export type Double_Sign_Evidence_Var_Samp_Fields = { - __typename?: 'double_sign_evidence_var_samp_fields'; - height?: Maybe; - vote_a_id?: Maybe; - vote_b_id?: Maybe; +export type Bdjuno_Provider_BlockPre_Commits_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** order by var_samp() on columns of table "double_sign_evidence" */ -export type Double_Sign_Evidence_Var_Samp_Order_By = { - height?: InputMaybe; - vote_a_id?: InputMaybe; - vote_b_id?: InputMaybe; + +export type Bdjuno_Provider_BlockProposal_DepositsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** aggregate variance on columns */ -export type Double_Sign_Evidence_Variance_Fields = { - __typename?: 'double_sign_evidence_variance_fields'; - height?: Maybe; - vote_a_id?: Maybe; - vote_b_id?: Maybe; + +export type Bdjuno_Provider_BlockProposal_Deposits_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** order by variance() on columns of table "double_sign_evidence" */ -export type Double_Sign_Evidence_Variance_Order_By = { - height?: InputMaybe; - vote_a_id?: InputMaybe; - vote_b_id?: InputMaybe; + +export type Bdjuno_Provider_BlockProposal_VotesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** columns and relationships of "double_sign_vote" */ -export type Double_Sign_Vote = { - __typename?: 'double_sign_vote'; - block_id: Scalars['String']; - /** An array relationship */ - doubleSignEvidencesByVoteBId: Array; - /** An aggregate relationship */ - doubleSignEvidencesByVoteBId_aggregate: Double_Sign_Evidence_Aggregate; - /** An array relationship */ - double_sign_evidences: Array; - /** An aggregate relationship */ - double_sign_evidences_aggregate: Double_Sign_Evidence_Aggregate; - height: Scalars['bigint']; - id: Scalars['Int']; - round: Scalars['Int']; - signature: Scalars['String']; - type: Scalars['smallint']; - /** An object relationship */ - validator: Validator; - validator_address: Scalars['String']; - validator_index: Scalars['Int']; + +export type Bdjuno_Provider_BlockProposal_Votes_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** columns and relationships of "double_sign_vote" */ -export type Double_Sign_VoteDoubleSignEvidencesByVoteBIdArgs = { - distinct_on?: InputMaybe>; +export type Bdjuno_Provider_BlockTransactionsArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** columns and relationships of "double_sign_vote" */ -export type Double_Sign_VoteDoubleSignEvidencesByVoteBId_AggregateArgs = { - distinct_on?: InputMaybe>; +export type Bdjuno_Provider_BlockTransactions_AggregateArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** columns and relationships of "double_sign_vote" */ -export type Double_Sign_VoteDouble_Sign_EvidencesArgs = { - distinct_on?: InputMaybe>; +export type Bdjuno_Provider_BlockValidator_Voting_PowersArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** columns and relationships of "double_sign_vote" */ -export type Double_Sign_VoteDouble_Sign_Evidences_AggregateArgs = { - distinct_on?: InputMaybe>; +export type Bdjuno_Provider_BlockValidator_Voting_Powers_AggregateArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** aggregated selection of "double_sign_vote" */ -export type Double_Sign_Vote_Aggregate = { - __typename?: 'double_sign_vote_aggregate'; - aggregate?: Maybe; - nodes: Array; +export type Bdjuno_Provider_Block_Aggregate = { + __typename?: 'bdjuno_provider_block_aggregate'; + aggregate?: Maybe; + nodes: Array; }; -/** aggregate fields of "double_sign_vote" */ -export type Double_Sign_Vote_Aggregate_Fields = { - __typename?: 'double_sign_vote_aggregate_fields'; - avg?: Maybe; +export type Bdjuno_Provider_Block_Aggregate_Fields = { + __typename?: 'bdjuno_provider_block_aggregate_fields'; + avg?: Maybe; count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; }; -/** aggregate fields of "double_sign_vote" */ -export type Double_Sign_Vote_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; +export type Bdjuno_Provider_Block_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; distinct?: InputMaybe; }; -/** order by aggregate values of table "double_sign_vote" */ -export type Double_Sign_Vote_Aggregate_Order_By = { - avg?: InputMaybe; - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddev?: InputMaybe; - stddev_pop?: InputMaybe; - stddev_samp?: InputMaybe; - sum?: InputMaybe; - var_pop?: InputMaybe; - var_samp?: InputMaybe; - variance?: InputMaybe; +export type Bdjuno_Provider_Block_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Double_Sign_Vote_Avg_Fields = { - __typename?: 'double_sign_vote_avg_fields'; +export type Bdjuno_Provider_Block_Avg_Fields = { + __typename?: 'bdjuno_provider_block_avg_fields'; height?: Maybe; - id?: Maybe; - round?: Maybe; - type?: Maybe; - validator_index?: Maybe; + num_txs?: Maybe; + total_gas?: Maybe; }; -/** order by avg() on columns of table "double_sign_vote" */ -export type Double_Sign_Vote_Avg_Order_By = { - height?: InputMaybe; - id?: InputMaybe; - round?: InputMaybe; - type?: InputMaybe; - validator_index?: InputMaybe; +export type Bdjuno_Provider_Block_Avg_Order_By = { + height?: InputMaybe; + num_txs?: InputMaybe; + total_gas?: InputMaybe; +}; + +export type Bdjuno_Provider_Block_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + hash?: InputMaybe; + height?: InputMaybe; + num_txs?: InputMaybe; + pre_commits?: InputMaybe; + proposal_deposits?: InputMaybe; + proposal_votes?: InputMaybe; + proposer_address?: InputMaybe; + timestamp?: InputMaybe; + total_gas?: InputMaybe; + transactions?: InputMaybe; + validator?: InputMaybe; + validator_voting_powers?: InputMaybe; +}; + +export type Bdjuno_Provider_Block_Max_Fields = { + __typename?: 'bdjuno_provider_block_max_fields'; + hash?: Maybe; + height?: Maybe; + num_txs?: Maybe; + proposer_address?: Maybe; + timestamp?: Maybe; + total_gas?: Maybe; }; -/** Boolean expression to filter rows from the table "double_sign_vote". All fields are combined with a logical 'AND'. */ -export type Double_Sign_Vote_Bool_Exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - block_id?: InputMaybe; - doubleSignEvidencesByVoteBId?: InputMaybe; - double_sign_evidences?: InputMaybe; - height?: InputMaybe; - id?: InputMaybe; - round?: InputMaybe; - signature?: InputMaybe; - type?: InputMaybe; - validator?: InputMaybe; - validator_address?: InputMaybe; - validator_index?: InputMaybe; +export type Bdjuno_Provider_Block_Max_Order_By = { + hash?: InputMaybe; + height?: InputMaybe; + num_txs?: InputMaybe; + proposer_address?: InputMaybe; + timestamp?: InputMaybe; + total_gas?: InputMaybe; }; -/** aggregate max on columns */ -export type Double_Sign_Vote_Max_Fields = { - __typename?: 'double_sign_vote_max_fields'; - block_id?: Maybe; - height?: Maybe; - id?: Maybe; - round?: Maybe; - signature?: Maybe; - type?: Maybe; - validator_address?: Maybe; - validator_index?: Maybe; +export type Bdjuno_Provider_Block_Min_Fields = { + __typename?: 'bdjuno_provider_block_min_fields'; + hash?: Maybe; + height?: Maybe; + num_txs?: Maybe; + proposer_address?: Maybe; + timestamp?: Maybe; + total_gas?: Maybe; +}; + +export type Bdjuno_Provider_Block_Min_Order_By = { + hash?: InputMaybe; + height?: InputMaybe; + num_txs?: InputMaybe; + proposer_address?: InputMaybe; + timestamp?: InputMaybe; + total_gas?: InputMaybe; +}; + +export type Bdjuno_Provider_Block_Order_By = { + hash?: InputMaybe; + height?: InputMaybe; + num_txs?: InputMaybe; + pre_commits_aggregate?: InputMaybe; + proposal_deposits_aggregate?: InputMaybe; + proposal_votes_aggregate?: InputMaybe; + proposer_address?: InputMaybe; + timestamp?: InputMaybe; + total_gas?: InputMaybe; + transactions_aggregate?: InputMaybe; + validator?: InputMaybe; + validator_voting_powers_aggregate?: InputMaybe; +}; + +export enum Bdjuno_Provider_Block_Select_Column { + Hash = 'hash', + Height = 'height', + NumTxs = 'num_txs', + ProposerAddress = 'proposer_address', + Timestamp = 'timestamp', + TotalGas = 'total_gas' +} + +export type Bdjuno_Provider_Block_Stddev_Fields = { + __typename?: 'bdjuno_provider_block_stddev_fields'; + height?: Maybe; + num_txs?: Maybe; + total_gas?: Maybe; }; -/** order by max() on columns of table "double_sign_vote" */ -export type Double_Sign_Vote_Max_Order_By = { - block_id?: InputMaybe; - height?: InputMaybe; - id?: InputMaybe; - round?: InputMaybe; - signature?: InputMaybe; - type?: InputMaybe; - validator_address?: InputMaybe; - validator_index?: InputMaybe; +export type Bdjuno_Provider_Block_Stddev_Order_By = { + height?: InputMaybe; + num_txs?: InputMaybe; + total_gas?: InputMaybe; }; -/** aggregate min on columns */ -export type Double_Sign_Vote_Min_Fields = { - __typename?: 'double_sign_vote_min_fields'; - block_id?: Maybe; - height?: Maybe; - id?: Maybe; - round?: Maybe; - signature?: Maybe; - type?: Maybe; - validator_address?: Maybe; - validator_index?: Maybe; +export type Bdjuno_Provider_Block_Stddev_Pop_Fields = { + __typename?: 'bdjuno_provider_block_stddev_pop_fields'; + height?: Maybe; + num_txs?: Maybe; + total_gas?: Maybe; }; -/** order by min() on columns of table "double_sign_vote" */ -export type Double_Sign_Vote_Min_Order_By = { - block_id?: InputMaybe; - height?: InputMaybe; - id?: InputMaybe; - round?: InputMaybe; - signature?: InputMaybe; - type?: InputMaybe; - validator_address?: InputMaybe; - validator_index?: InputMaybe; +export type Bdjuno_Provider_Block_Stddev_Pop_Order_By = { + height?: InputMaybe; + num_txs?: InputMaybe; + total_gas?: InputMaybe; }; -/** Ordering options when selecting data from "double_sign_vote". */ -export type Double_Sign_Vote_Order_By = { - block_id?: InputMaybe; - doubleSignEvidencesByVoteBId_aggregate?: InputMaybe; - double_sign_evidences_aggregate?: InputMaybe; - height?: InputMaybe; - id?: InputMaybe; - round?: InputMaybe; - signature?: InputMaybe; - type?: InputMaybe; - validator?: InputMaybe; - validator_address?: InputMaybe; - validator_index?: InputMaybe; +export type Bdjuno_Provider_Block_Stddev_Samp_Fields = { + __typename?: 'bdjuno_provider_block_stddev_samp_fields'; + height?: Maybe; + num_txs?: Maybe; + total_gas?: Maybe; }; -/** select columns of table "double_sign_vote" */ -export enum Double_Sign_Vote_Select_Column { - /** column name */ - BlockId = 'block_id', - /** column name */ - Height = 'height', - /** column name */ - Id = 'id', - /** column name */ - Round = 'round', - /** column name */ - Signature = 'signature', - /** column name */ - Type = 'type', - /** column name */ - ValidatorAddress = 'validator_address', - /** column name */ - ValidatorIndex = 'validator_index' -} +export type Bdjuno_Provider_Block_Stddev_Samp_Order_By = { + height?: InputMaybe; + num_txs?: InputMaybe; + total_gas?: InputMaybe; +}; -/** aggregate stddev on columns */ -export type Double_Sign_Vote_Stddev_Fields = { - __typename?: 'double_sign_vote_stddev_fields'; +export type Bdjuno_Provider_Block_Sum_Fields = { + __typename?: 'bdjuno_provider_block_sum_fields'; + height?: Maybe; + num_txs?: Maybe; + total_gas?: Maybe; +}; + +export type Bdjuno_Provider_Block_Sum_Order_By = { + height?: InputMaybe; + num_txs?: InputMaybe; + total_gas?: InputMaybe; +}; + +export type Bdjuno_Provider_Block_Var_Pop_Fields = { + __typename?: 'bdjuno_provider_block_var_pop_fields'; height?: Maybe; - id?: Maybe; - round?: Maybe; - type?: Maybe; - validator_index?: Maybe; + num_txs?: Maybe; + total_gas?: Maybe; }; -/** order by stddev() on columns of table "double_sign_vote" */ -export type Double_Sign_Vote_Stddev_Order_By = { - height?: InputMaybe; - id?: InputMaybe; - round?: InputMaybe; - type?: InputMaybe; - validator_index?: InputMaybe; +export type Bdjuno_Provider_Block_Var_Pop_Order_By = { + height?: InputMaybe; + num_txs?: InputMaybe; + total_gas?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Double_Sign_Vote_Stddev_Pop_Fields = { - __typename?: 'double_sign_vote_stddev_pop_fields'; +export type Bdjuno_Provider_Block_Var_Samp_Fields = { + __typename?: 'bdjuno_provider_block_var_samp_fields'; height?: Maybe; - id?: Maybe; - round?: Maybe; - type?: Maybe; - validator_index?: Maybe; + num_txs?: Maybe; + total_gas?: Maybe; }; -/** order by stddev_pop() on columns of table "double_sign_vote" */ -export type Double_Sign_Vote_Stddev_Pop_Order_By = { - height?: InputMaybe; - id?: InputMaybe; - round?: InputMaybe; - type?: InputMaybe; - validator_index?: InputMaybe; +export type Bdjuno_Provider_Block_Var_Samp_Order_By = { + height?: InputMaybe; + num_txs?: InputMaybe; + total_gas?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Double_Sign_Vote_Stddev_Samp_Fields = { - __typename?: 'double_sign_vote_stddev_samp_fields'; +export type Bdjuno_Provider_Block_Variance_Fields = { + __typename?: 'bdjuno_provider_block_variance_fields'; height?: Maybe; - id?: Maybe; - round?: Maybe; - type?: Maybe; - validator_index?: Maybe; + num_txs?: Maybe; + total_gas?: Maybe; }; -/** order by stddev_samp() on columns of table "double_sign_vote" */ -export type Double_Sign_Vote_Stddev_Samp_Order_By = { - height?: InputMaybe; - id?: InputMaybe; - round?: InputMaybe; - type?: InputMaybe; - validator_index?: InputMaybe; +export type Bdjuno_Provider_Block_Variance_Order_By = { + height?: InputMaybe; + num_txs?: InputMaybe; + total_gas?: InputMaybe; }; -/** aggregate sum on columns */ -export type Double_Sign_Vote_Sum_Fields = { - __typename?: 'double_sign_vote_sum_fields'; - height?: Maybe; - id?: Maybe; - round?: Maybe; - type?: Maybe; - validator_index?: Maybe; +export type Bdjuno_Provider_Community_Pool = { + __typename?: 'bdjuno_provider_community_pool'; + coins: Scalars['bdjuno_provider__dec_coin']; + height: Scalars['bdjuno_provider_bigint']; }; -/** order by sum() on columns of table "double_sign_vote" */ -export type Double_Sign_Vote_Sum_Order_By = { - height?: InputMaybe; - id?: InputMaybe; - round?: InputMaybe; - type?: InputMaybe; - validator_index?: InputMaybe; +export type Bdjuno_Provider_Community_Pool_Aggregate = { + __typename?: 'bdjuno_provider_community_pool_aggregate'; + aggregate?: Maybe; + nodes: Array; }; -/** aggregate var_pop on columns */ -export type Double_Sign_Vote_Var_Pop_Fields = { - __typename?: 'double_sign_vote_var_pop_fields'; +export type Bdjuno_Provider_Community_Pool_Aggregate_Fields = { + __typename?: 'bdjuno_provider_community_pool_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + + +export type Bdjuno_Provider_Community_Pool_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +export type Bdjuno_Provider_Community_Pool_Avg_Fields = { + __typename?: 'bdjuno_provider_community_pool_avg_fields'; height?: Maybe; - id?: Maybe; - round?: Maybe; - type?: Maybe; - validator_index?: Maybe; }; -/** order by var_pop() on columns of table "double_sign_vote" */ -export type Double_Sign_Vote_Var_Pop_Order_By = { - height?: InputMaybe; - id?: InputMaybe; - round?: InputMaybe; - type?: InputMaybe; - validator_index?: InputMaybe; +export type Bdjuno_Provider_Community_Pool_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + coins?: InputMaybe; + height?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Double_Sign_Vote_Var_Samp_Fields = { - __typename?: 'double_sign_vote_var_samp_fields'; +export type Bdjuno_Provider_Community_Pool_Max_Fields = { + __typename?: 'bdjuno_provider_community_pool_max_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Community_Pool_Min_Fields = { + __typename?: 'bdjuno_provider_community_pool_min_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Community_Pool_Order_By = { + coins?: InputMaybe; + height?: InputMaybe; +}; + +export enum Bdjuno_Provider_Community_Pool_Select_Column { + Coins = 'coins', + Height = 'height' +} + +export type Bdjuno_Provider_Community_Pool_Stddev_Fields = { + __typename?: 'bdjuno_provider_community_pool_stddev_fields'; height?: Maybe; - id?: Maybe; - round?: Maybe; - type?: Maybe; - validator_index?: Maybe; }; -/** order by var_samp() on columns of table "double_sign_vote" */ -export type Double_Sign_Vote_Var_Samp_Order_By = { - height?: InputMaybe; - id?: InputMaybe; - round?: InputMaybe; - type?: InputMaybe; - validator_index?: InputMaybe; +export type Bdjuno_Provider_Community_Pool_Stddev_Pop_Fields = { + __typename?: 'bdjuno_provider_community_pool_stddev_pop_fields'; + height?: Maybe; }; -/** aggregate variance on columns */ -export type Double_Sign_Vote_Variance_Fields = { - __typename?: 'double_sign_vote_variance_fields'; +export type Bdjuno_Provider_Community_Pool_Stddev_Samp_Fields = { + __typename?: 'bdjuno_provider_community_pool_stddev_samp_fields'; height?: Maybe; - id?: Maybe; - round?: Maybe; - type?: Maybe; - validator_index?: Maybe; }; -/** order by variance() on columns of table "double_sign_vote" */ -export type Double_Sign_Vote_Variance_Order_By = { - height?: InputMaybe; - id?: InputMaybe; - round?: InputMaybe; - type?: InputMaybe; - validator_index?: InputMaybe; +export type Bdjuno_Provider_Community_Pool_Sum_Fields = { + __typename?: 'bdjuno_provider_community_pool_sum_fields'; + height?: Maybe; }; -/** columns and relationships of "fee_grant_allowance" */ -export type Fee_Grant_Allowance = { - __typename?: 'fee_grant_allowance'; - allowance: Scalars['jsonb']; - /** An object relationship */ - grantee: Account; - grantee_address: Scalars['String']; - /** An object relationship */ - granter: Account; - granter_address: Scalars['String']; - height: Scalars['bigint']; - id: Scalars['Int']; +export type Bdjuno_Provider_Community_Pool_Var_Pop_Fields = { + __typename?: 'bdjuno_provider_community_pool_var_pop_fields'; + height?: Maybe; }; +export type Bdjuno_Provider_Community_Pool_Var_Samp_Fields = { + __typename?: 'bdjuno_provider_community_pool_var_samp_fields'; + height?: Maybe; +}; -/** columns and relationships of "fee_grant_allowance" */ -export type Fee_Grant_AllowanceAllowanceArgs = { +export type Bdjuno_Provider_Community_Pool_Variance_Fields = { + __typename?: 'bdjuno_provider_community_pool_variance_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Distribution_Params = { + __typename?: 'bdjuno_provider_distribution_params'; + height: Scalars['bdjuno_provider_bigint']; + one_row_id: Scalars['Boolean']; + params: Scalars['bdjuno_provider_jsonb']; +}; + + +export type Bdjuno_Provider_Distribution_ParamsParamsArgs = { path?: InputMaybe; }; -/** aggregated selection of "fee_grant_allowance" */ -export type Fee_Grant_Allowance_Aggregate = { - __typename?: 'fee_grant_allowance_aggregate'; - aggregate?: Maybe; - nodes: Array; +export type Bdjuno_Provider_Distribution_Params_Aggregate = { + __typename?: 'bdjuno_provider_distribution_params_aggregate'; + aggregate?: Maybe; + nodes: Array; }; -/** aggregate fields of "fee_grant_allowance" */ -export type Fee_Grant_Allowance_Aggregate_Fields = { - __typename?: 'fee_grant_allowance_aggregate_fields'; - avg?: Maybe; +export type Bdjuno_Provider_Distribution_Params_Aggregate_Fields = { + __typename?: 'bdjuno_provider_distribution_params_aggregate_fields'; + avg?: Maybe; count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; }; -/** aggregate fields of "fee_grant_allowance" */ -export type Fee_Grant_Allowance_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; +export type Bdjuno_Provider_Distribution_Params_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; distinct?: InputMaybe; }; -/** aggregate avg on columns */ -export type Fee_Grant_Allowance_Avg_Fields = { - __typename?: 'fee_grant_allowance_avg_fields'; +export type Bdjuno_Provider_Distribution_Params_Avg_Fields = { + __typename?: 'bdjuno_provider_distribution_params_avg_fields'; height?: Maybe; - id?: Maybe; }; -/** Boolean expression to filter rows from the table "fee_grant_allowance". All fields are combined with a logical 'AND'. */ -export type Fee_Grant_Allowance_Bool_Exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - allowance?: InputMaybe; - grantee?: InputMaybe; - grantee_address?: InputMaybe; - granter?: InputMaybe; - granter_address?: InputMaybe; - height?: InputMaybe; - id?: InputMaybe; +export type Bdjuno_Provider_Distribution_Params_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + height?: InputMaybe; + one_row_id?: InputMaybe; + params?: InputMaybe; }; -/** aggregate max on columns */ -export type Fee_Grant_Allowance_Max_Fields = { - __typename?: 'fee_grant_allowance_max_fields'; - grantee_address?: Maybe; - granter_address?: Maybe; - height?: Maybe; - id?: Maybe; +export type Bdjuno_Provider_Distribution_Params_Max_Fields = { + __typename?: 'bdjuno_provider_distribution_params_max_fields'; + height?: Maybe; }; -/** aggregate min on columns */ -export type Fee_Grant_Allowance_Min_Fields = { - __typename?: 'fee_grant_allowance_min_fields'; - grantee_address?: Maybe; - granter_address?: Maybe; - height?: Maybe; - id?: Maybe; +export type Bdjuno_Provider_Distribution_Params_Min_Fields = { + __typename?: 'bdjuno_provider_distribution_params_min_fields'; + height?: Maybe; }; -/** Ordering options when selecting data from "fee_grant_allowance". */ -export type Fee_Grant_Allowance_Order_By = { - allowance?: InputMaybe; - grantee?: InputMaybe; - grantee_address?: InputMaybe; - granter?: InputMaybe; - granter_address?: InputMaybe; - height?: InputMaybe; - id?: InputMaybe; +export type Bdjuno_Provider_Distribution_Params_Order_By = { + height?: InputMaybe; + one_row_id?: InputMaybe; + params?: InputMaybe; }; -/** select columns of table "fee_grant_allowance" */ -export enum Fee_Grant_Allowance_Select_Column { - /** column name */ - Allowance = 'allowance', - /** column name */ - GranteeAddress = 'grantee_address', - /** column name */ - GranterAddress = 'granter_address', - /** column name */ +export enum Bdjuno_Provider_Distribution_Params_Select_Column { Height = 'height', - /** column name */ - Id = 'id' + OneRowId = 'one_row_id', + Params = 'params' } -/** aggregate stddev on columns */ -export type Fee_Grant_Allowance_Stddev_Fields = { - __typename?: 'fee_grant_allowance_stddev_fields'; +export type Bdjuno_Provider_Distribution_Params_Stddev_Fields = { + __typename?: 'bdjuno_provider_distribution_params_stddev_fields'; height?: Maybe; - id?: Maybe; }; -/** aggregate stddev_pop on columns */ -export type Fee_Grant_Allowance_Stddev_Pop_Fields = { - __typename?: 'fee_grant_allowance_stddev_pop_fields'; +export type Bdjuno_Provider_Distribution_Params_Stddev_Pop_Fields = { + __typename?: 'bdjuno_provider_distribution_params_stddev_pop_fields'; height?: Maybe; - id?: Maybe; }; -/** aggregate stddev_samp on columns */ -export type Fee_Grant_Allowance_Stddev_Samp_Fields = { - __typename?: 'fee_grant_allowance_stddev_samp_fields'; +export type Bdjuno_Provider_Distribution_Params_Stddev_Samp_Fields = { + __typename?: 'bdjuno_provider_distribution_params_stddev_samp_fields'; height?: Maybe; - id?: Maybe; }; -/** aggregate sum on columns */ -export type Fee_Grant_Allowance_Sum_Fields = { - __typename?: 'fee_grant_allowance_sum_fields'; - height?: Maybe; - id?: Maybe; +export type Bdjuno_Provider_Distribution_Params_Sum_Fields = { + __typename?: 'bdjuno_provider_distribution_params_sum_fields'; + height?: Maybe; }; -/** aggregate var_pop on columns */ -export type Fee_Grant_Allowance_Var_Pop_Fields = { - __typename?: 'fee_grant_allowance_var_pop_fields'; +export type Bdjuno_Provider_Distribution_Params_Var_Pop_Fields = { + __typename?: 'bdjuno_provider_distribution_params_var_pop_fields'; height?: Maybe; - id?: Maybe; }; -/** aggregate var_samp on columns */ -export type Fee_Grant_Allowance_Var_Samp_Fields = { - __typename?: 'fee_grant_allowance_var_samp_fields'; +export type Bdjuno_Provider_Distribution_Params_Var_Samp_Fields = { + __typename?: 'bdjuno_provider_distribution_params_var_samp_fields'; height?: Maybe; - id?: Maybe; }; -/** aggregate variance on columns */ -export type Fee_Grant_Allowance_Variance_Fields = { - __typename?: 'fee_grant_allowance_variance_fields'; +export type Bdjuno_Provider_Distribution_Params_Variance_Fields = { + __typename?: 'bdjuno_provider_distribution_params_variance_fields'; height?: Maybe; - id?: Maybe; }; -/** columns and relationships of "genesis" */ -export type Genesis = { - __typename?: 'genesis'; - chain_id: Scalars['String']; - initial_height: Scalars['bigint']; - time: Scalars['timestamp']; +export type Bdjuno_Provider_Double_Sign_Evidence = { + __typename?: 'bdjuno_provider_double_sign_evidence'; + doubleSignVoteByVoteAId: Bdjuno_Provider_Double_Sign_Vote; + double_sign_vote: Bdjuno_Provider_Double_Sign_Vote; + height: Scalars['bdjuno_provider_bigint']; + vote_a_id: Scalars['bdjuno_provider_bigint']; + vote_b_id: Scalars['bdjuno_provider_bigint']; }; -/** aggregated selection of "genesis" */ -export type Genesis_Aggregate = { - __typename?: 'genesis_aggregate'; - aggregate?: Maybe; - nodes: Array; +export type Bdjuno_Provider_Double_Sign_Evidence_Aggregate = { + __typename?: 'bdjuno_provider_double_sign_evidence_aggregate'; + aggregate?: Maybe; + nodes: Array; }; -/** aggregate fields of "genesis" */ -export type Genesis_Aggregate_Fields = { - __typename?: 'genesis_aggregate_fields'; - avg?: Maybe; +export type Bdjuno_Provider_Double_Sign_Evidence_Aggregate_Fields = { + __typename?: 'bdjuno_provider_double_sign_evidence_aggregate_fields'; + avg?: Maybe; count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; }; -/** aggregate fields of "genesis" */ -export type Genesis_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; +export type Bdjuno_Provider_Double_Sign_Evidence_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; distinct?: InputMaybe; }; -/** aggregate avg on columns */ -export type Genesis_Avg_Fields = { - __typename?: 'genesis_avg_fields'; - initial_height?: Maybe; +export type Bdjuno_Provider_Double_Sign_Evidence_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; }; -/** Boolean expression to filter rows from the table "genesis". All fields are combined with a logical 'AND'. */ -export type Genesis_Bool_Exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - chain_id?: InputMaybe; - initial_height?: InputMaybe; - time?: InputMaybe; +export type Bdjuno_Provider_Double_Sign_Evidence_Avg_Fields = { + __typename?: 'bdjuno_provider_double_sign_evidence_avg_fields'; + height?: Maybe; + vote_a_id?: Maybe; + vote_b_id?: Maybe; }; -/** aggregate max on columns */ -export type Genesis_Max_Fields = { - __typename?: 'genesis_max_fields'; - chain_id?: Maybe; - initial_height?: Maybe; - time?: Maybe; +export type Bdjuno_Provider_Double_Sign_Evidence_Avg_Order_By = { + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; }; -/** aggregate min on columns */ -export type Genesis_Min_Fields = { - __typename?: 'genesis_min_fields'; - chain_id?: Maybe; - initial_height?: Maybe; - time?: Maybe; +export type Bdjuno_Provider_Double_Sign_Evidence_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + doubleSignVoteByVoteAId?: InputMaybe; + double_sign_vote?: InputMaybe; + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; }; -/** Ordering options when selecting data from "genesis". */ -export type Genesis_Order_By = { - chain_id?: InputMaybe; - initial_height?: InputMaybe; - time?: InputMaybe; +export type Bdjuno_Provider_Double_Sign_Evidence_Max_Fields = { + __typename?: 'bdjuno_provider_double_sign_evidence_max_fields'; + height?: Maybe; + vote_a_id?: Maybe; + vote_b_id?: Maybe; }; -/** select columns of table "genesis" */ -export enum Genesis_Select_Column { - /** column name */ - ChainId = 'chain_id', - /** column name */ - InitialHeight = 'initial_height', - /** column name */ - Time = 'time' -} +export type Bdjuno_Provider_Double_Sign_Evidence_Max_Order_By = { + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; +}; -/** aggregate stddev on columns */ -export type Genesis_Stddev_Fields = { - __typename?: 'genesis_stddev_fields'; - initial_height?: Maybe; +export type Bdjuno_Provider_Double_Sign_Evidence_Min_Fields = { + __typename?: 'bdjuno_provider_double_sign_evidence_min_fields'; + height?: Maybe; + vote_a_id?: Maybe; + vote_b_id?: Maybe; }; -/** aggregate stddev_pop on columns */ -export type Genesis_Stddev_Pop_Fields = { - __typename?: 'genesis_stddev_pop_fields'; - initial_height?: Maybe; +export type Bdjuno_Provider_Double_Sign_Evidence_Min_Order_By = { + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Genesis_Stddev_Samp_Fields = { - __typename?: 'genesis_stddev_samp_fields'; - initial_height?: Maybe; +export type Bdjuno_Provider_Double_Sign_Evidence_Order_By = { + doubleSignVoteByVoteAId?: InputMaybe; + double_sign_vote?: InputMaybe; + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; }; -/** aggregate sum on columns */ -export type Genesis_Sum_Fields = { - __typename?: 'genesis_sum_fields'; - initial_height?: Maybe; +export enum Bdjuno_Provider_Double_Sign_Evidence_Select_Column { + Height = 'height', + VoteAId = 'vote_a_id', + VoteBId = 'vote_b_id' +} + +export type Bdjuno_Provider_Double_Sign_Evidence_Stddev_Fields = { + __typename?: 'bdjuno_provider_double_sign_evidence_stddev_fields'; + height?: Maybe; + vote_a_id?: Maybe; + vote_b_id?: Maybe; }; -/** aggregate var_pop on columns */ -export type Genesis_Var_Pop_Fields = { - __typename?: 'genesis_var_pop_fields'; - initial_height?: Maybe; +export type Bdjuno_Provider_Double_Sign_Evidence_Stddev_Order_By = { + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Genesis_Var_Samp_Fields = { - __typename?: 'genesis_var_samp_fields'; - initial_height?: Maybe; +export type Bdjuno_Provider_Double_Sign_Evidence_Stddev_Pop_Fields = { + __typename?: 'bdjuno_provider_double_sign_evidence_stddev_pop_fields'; + height?: Maybe; + vote_a_id?: Maybe; + vote_b_id?: Maybe; }; -/** aggregate variance on columns */ -export type Genesis_Variance_Fields = { - __typename?: 'genesis_variance_fields'; - initial_height?: Maybe; +export type Bdjuno_Provider_Double_Sign_Evidence_Stddev_Pop_Order_By = { + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; }; -/** columns and relationships of "gov_params" */ -export type Gov_Params = { - __typename?: 'gov_params'; - deposit_params: Scalars['jsonb']; - height: Scalars['bigint']; - one_row_id: Scalars['Boolean']; - tally_params: Scalars['jsonb']; - voting_params: Scalars['jsonb']; +export type Bdjuno_Provider_Double_Sign_Evidence_Stddev_Samp_Fields = { + __typename?: 'bdjuno_provider_double_sign_evidence_stddev_samp_fields'; + height?: Maybe; + vote_a_id?: Maybe; + vote_b_id?: Maybe; }; +export type Bdjuno_Provider_Double_Sign_Evidence_Stddev_Samp_Order_By = { + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; +}; -/** columns and relationships of "gov_params" */ -export type Gov_ParamsDeposit_ParamsArgs = { - path?: InputMaybe; +export type Bdjuno_Provider_Double_Sign_Evidence_Sum_Fields = { + __typename?: 'bdjuno_provider_double_sign_evidence_sum_fields'; + height?: Maybe; + vote_a_id?: Maybe; + vote_b_id?: Maybe; }; +export type Bdjuno_Provider_Double_Sign_Evidence_Sum_Order_By = { + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; +}; -/** columns and relationships of "gov_params" */ -export type Gov_ParamsTally_ParamsArgs = { - path?: InputMaybe; +export type Bdjuno_Provider_Double_Sign_Evidence_Var_Pop_Fields = { + __typename?: 'bdjuno_provider_double_sign_evidence_var_pop_fields'; + height?: Maybe; + vote_a_id?: Maybe; + vote_b_id?: Maybe; }; +export type Bdjuno_Provider_Double_Sign_Evidence_Var_Pop_Order_By = { + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; +}; -/** columns and relationships of "gov_params" */ -export type Gov_ParamsVoting_ParamsArgs = { - path?: InputMaybe; +export type Bdjuno_Provider_Double_Sign_Evidence_Var_Samp_Fields = { + __typename?: 'bdjuno_provider_double_sign_evidence_var_samp_fields'; + height?: Maybe; + vote_a_id?: Maybe; + vote_b_id?: Maybe; +}; + +export type Bdjuno_Provider_Double_Sign_Evidence_Var_Samp_Order_By = { + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Double_Sign_Evidence_Variance_Fields = { + __typename?: 'bdjuno_provider_double_sign_evidence_variance_fields'; + height?: Maybe; + vote_a_id?: Maybe; + vote_b_id?: Maybe; +}; + +export type Bdjuno_Provider_Double_Sign_Evidence_Variance_Order_By = { + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Double_Sign_Vote = { + __typename?: 'bdjuno_provider_double_sign_vote'; + block_id: Scalars['String']; + doubleSignEvidencesByVoteBId: Array; + doubleSignEvidencesByVoteBId_aggregate: Bdjuno_Provider_Double_Sign_Evidence_Aggregate; + double_sign_evidences: Array; + double_sign_evidences_aggregate: Bdjuno_Provider_Double_Sign_Evidence_Aggregate; + height: Scalars['bdjuno_provider_bigint']; + id: Scalars['Int']; + round: Scalars['Int']; + signature: Scalars['String']; + type: Scalars['bdjuno_provider_smallint']; + validator: Bdjuno_Provider_Validator; + validator_address: Scalars['String']; + validator_index: Scalars['Int']; +}; + + +export type Bdjuno_Provider_Double_Sign_VoteDoubleSignEvidencesByVoteBIdArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Provider_Double_Sign_VoteDoubleSignEvidencesByVoteBId_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Provider_Double_Sign_VoteDouble_Sign_EvidencesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Provider_Double_Sign_VoteDouble_Sign_Evidences_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** aggregated selection of "gov_params" */ -export type Gov_Params_Aggregate = { - __typename?: 'gov_params_aggregate'; - aggregate?: Maybe; - nodes: Array; +export type Bdjuno_Provider_Double_Sign_Vote_Aggregate = { + __typename?: 'bdjuno_provider_double_sign_vote_aggregate'; + aggregate?: Maybe; + nodes: Array; }; -/** aggregate fields of "gov_params" */ -export type Gov_Params_Aggregate_Fields = { - __typename?: 'gov_params_aggregate_fields'; - avg?: Maybe; +export type Bdjuno_Provider_Double_Sign_Vote_Aggregate_Fields = { + __typename?: 'bdjuno_provider_double_sign_vote_aggregate_fields'; + avg?: Maybe; count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; }; -/** aggregate fields of "gov_params" */ -export type Gov_Params_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; +export type Bdjuno_Provider_Double_Sign_Vote_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; distinct?: InputMaybe; }; -/** aggregate avg on columns */ -export type Gov_Params_Avg_Fields = { - __typename?: 'gov_params_avg_fields'; - height?: Maybe; +export type Bdjuno_Provider_Double_Sign_Vote_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; }; -/** Boolean expression to filter rows from the table "gov_params". All fields are combined with a logical 'AND'. */ -export type Gov_Params_Bool_Exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - deposit_params?: InputMaybe; - height?: InputMaybe; - one_row_id?: InputMaybe; - tally_params?: InputMaybe; - voting_params?: InputMaybe; +export type Bdjuno_Provider_Double_Sign_Vote_Avg_Fields = { + __typename?: 'bdjuno_provider_double_sign_vote_avg_fields'; + height?: Maybe; + id?: Maybe; + round?: Maybe; + type?: Maybe; + validator_index?: Maybe; }; -/** aggregate max on columns */ -export type Gov_Params_Max_Fields = { - __typename?: 'gov_params_max_fields'; - height?: Maybe; +export type Bdjuno_Provider_Double_Sign_Vote_Avg_Order_By = { + height?: InputMaybe; + id?: InputMaybe; + round?: InputMaybe; + type?: InputMaybe; + validator_index?: InputMaybe; +}; + +export type Bdjuno_Provider_Double_Sign_Vote_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + block_id?: InputMaybe; + doubleSignEvidencesByVoteBId?: InputMaybe; + double_sign_evidences?: InputMaybe; + height?: InputMaybe; + id?: InputMaybe; + round?: InputMaybe; + signature?: InputMaybe; + type?: InputMaybe; + validator?: InputMaybe; + validator_address?: InputMaybe; + validator_index?: InputMaybe; +}; + +export type Bdjuno_Provider_Double_Sign_Vote_Max_Fields = { + __typename?: 'bdjuno_provider_double_sign_vote_max_fields'; + block_id?: Maybe; + height?: Maybe; + id?: Maybe; + round?: Maybe; + signature?: Maybe; + type?: Maybe; + validator_address?: Maybe; + validator_index?: Maybe; }; -/** aggregate min on columns */ -export type Gov_Params_Min_Fields = { - __typename?: 'gov_params_min_fields'; - height?: Maybe; +export type Bdjuno_Provider_Double_Sign_Vote_Max_Order_By = { + block_id?: InputMaybe; + height?: InputMaybe; + id?: InputMaybe; + round?: InputMaybe; + signature?: InputMaybe; + type?: InputMaybe; + validator_address?: InputMaybe; + validator_index?: InputMaybe; }; -/** Ordering options when selecting data from "gov_params". */ -export type Gov_Params_Order_By = { - deposit_params?: InputMaybe; - height?: InputMaybe; - one_row_id?: InputMaybe; - tally_params?: InputMaybe; - voting_params?: InputMaybe; +export type Bdjuno_Provider_Double_Sign_Vote_Min_Fields = { + __typename?: 'bdjuno_provider_double_sign_vote_min_fields'; + block_id?: Maybe; + height?: Maybe; + id?: Maybe; + round?: Maybe; + signature?: Maybe; + type?: Maybe; + validator_address?: Maybe; + validator_index?: Maybe; }; -/** select columns of table "gov_params" */ -export enum Gov_Params_Select_Column { - /** column name */ - DepositParams = 'deposit_params', - /** column name */ +export type Bdjuno_Provider_Double_Sign_Vote_Min_Order_By = { + block_id?: InputMaybe; + height?: InputMaybe; + id?: InputMaybe; + round?: InputMaybe; + signature?: InputMaybe; + type?: InputMaybe; + validator_address?: InputMaybe; + validator_index?: InputMaybe; +}; + +export type Bdjuno_Provider_Double_Sign_Vote_Order_By = { + block_id?: InputMaybe; + doubleSignEvidencesByVoteBId_aggregate?: InputMaybe; + double_sign_evidences_aggregate?: InputMaybe; + height?: InputMaybe; + id?: InputMaybe; + round?: InputMaybe; + signature?: InputMaybe; + type?: InputMaybe; + validator?: InputMaybe; + validator_address?: InputMaybe; + validator_index?: InputMaybe; +}; + +export enum Bdjuno_Provider_Double_Sign_Vote_Select_Column { + BlockId = 'block_id', Height = 'height', - /** column name */ - OneRowId = 'one_row_id', - /** column name */ - TallyParams = 'tally_params', - /** column name */ - VotingParams = 'voting_params' + Id = 'id', + Round = 'round', + Signature = 'signature', + Type = 'type', + ValidatorAddress = 'validator_address', + ValidatorIndex = 'validator_index' } -/** aggregate stddev on columns */ -export type Gov_Params_Stddev_Fields = { - __typename?: 'gov_params_stddev_fields'; +export type Bdjuno_Provider_Double_Sign_Vote_Stddev_Fields = { + __typename?: 'bdjuno_provider_double_sign_vote_stddev_fields'; height?: Maybe; + id?: Maybe; + round?: Maybe; + type?: Maybe; + validator_index?: Maybe; }; -/** aggregate stddev_pop on columns */ -export type Gov_Params_Stddev_Pop_Fields = { - __typename?: 'gov_params_stddev_pop_fields'; +export type Bdjuno_Provider_Double_Sign_Vote_Stddev_Order_By = { + height?: InputMaybe; + id?: InputMaybe; + round?: InputMaybe; + type?: InputMaybe; + validator_index?: InputMaybe; +}; + +export type Bdjuno_Provider_Double_Sign_Vote_Stddev_Pop_Fields = { + __typename?: 'bdjuno_provider_double_sign_vote_stddev_pop_fields'; height?: Maybe; + id?: Maybe; + round?: Maybe; + type?: Maybe; + validator_index?: Maybe; }; -/** aggregate stddev_samp on columns */ -export type Gov_Params_Stddev_Samp_Fields = { - __typename?: 'gov_params_stddev_samp_fields'; +export type Bdjuno_Provider_Double_Sign_Vote_Stddev_Pop_Order_By = { + height?: InputMaybe; + id?: InputMaybe; + round?: InputMaybe; + type?: InputMaybe; + validator_index?: InputMaybe; +}; + +export type Bdjuno_Provider_Double_Sign_Vote_Stddev_Samp_Fields = { + __typename?: 'bdjuno_provider_double_sign_vote_stddev_samp_fields'; height?: Maybe; + id?: Maybe; + round?: Maybe; + type?: Maybe; + validator_index?: Maybe; }; -/** aggregate sum on columns */ -export type Gov_Params_Sum_Fields = { - __typename?: 'gov_params_sum_fields'; - height?: Maybe; +export type Bdjuno_Provider_Double_Sign_Vote_Stddev_Samp_Order_By = { + height?: InputMaybe; + id?: InputMaybe; + round?: InputMaybe; + type?: InputMaybe; + validator_index?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Gov_Params_Var_Pop_Fields = { - __typename?: 'gov_params_var_pop_fields'; +export type Bdjuno_Provider_Double_Sign_Vote_Sum_Fields = { + __typename?: 'bdjuno_provider_double_sign_vote_sum_fields'; + height?: Maybe; + id?: Maybe; + round?: Maybe; + type?: Maybe; + validator_index?: Maybe; +}; + +export type Bdjuno_Provider_Double_Sign_Vote_Sum_Order_By = { + height?: InputMaybe; + id?: InputMaybe; + round?: InputMaybe; + type?: InputMaybe; + validator_index?: InputMaybe; +}; + +export type Bdjuno_Provider_Double_Sign_Vote_Var_Pop_Fields = { + __typename?: 'bdjuno_provider_double_sign_vote_var_pop_fields'; height?: Maybe; + id?: Maybe; + round?: Maybe; + type?: Maybe; + validator_index?: Maybe; }; -/** aggregate var_samp on columns */ -export type Gov_Params_Var_Samp_Fields = { - __typename?: 'gov_params_var_samp_fields'; +export type Bdjuno_Provider_Double_Sign_Vote_Var_Pop_Order_By = { + height?: InputMaybe; + id?: InputMaybe; + round?: InputMaybe; + type?: InputMaybe; + validator_index?: InputMaybe; +}; + +export type Bdjuno_Provider_Double_Sign_Vote_Var_Samp_Fields = { + __typename?: 'bdjuno_provider_double_sign_vote_var_samp_fields'; height?: Maybe; + id?: Maybe; + round?: Maybe; + type?: Maybe; + validator_index?: Maybe; }; -/** aggregate variance on columns */ -export type Gov_Params_Variance_Fields = { - __typename?: 'gov_params_variance_fields'; +export type Bdjuno_Provider_Double_Sign_Vote_Var_Samp_Order_By = { + height?: InputMaybe; + id?: InputMaybe; + round?: InputMaybe; + type?: InputMaybe; + validator_index?: InputMaybe; +}; + +export type Bdjuno_Provider_Double_Sign_Vote_Variance_Fields = { + __typename?: 'bdjuno_provider_double_sign_vote_variance_fields'; height?: Maybe; + id?: Maybe; + round?: Maybe; + type?: Maybe; + validator_index?: Maybe; }; -/** Boolean expression to compare columns of type "jsonb". All fields are combined with logical 'AND'. */ -export type Jsonb_Comparison_Exp = { - /** is the column contained in the given json value */ - _contained_in?: InputMaybe; - /** does the column contain the given json value at the top level */ - _contains?: InputMaybe; - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - /** does the string exist as a top-level key in the column */ - _has_key?: InputMaybe; - /** do all of these strings exist as top-level keys in the column */ - _has_keys_all?: InputMaybe>; - /** do any of these strings exist as top-level keys in the column */ - _has_keys_any?: InputMaybe>; - _in?: InputMaybe>; - _is_null?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; +export type Bdjuno_Provider_Double_Sign_Vote_Variance_Order_By = { + height?: InputMaybe; + id?: InputMaybe; + round?: InputMaybe; + type?: InputMaybe; + validator_index?: InputMaybe; }; -/** columns and relationships of "message" */ -export type Message = { - __typename?: 'message'; - height: Scalars['bigint']; - index: Scalars['bigint']; - involved_accounts_addresses: Scalars['_text']; - partition_id: Scalars['bigint']; - /** An object relationship */ - transaction?: Maybe; - transaction_hash: Scalars['String']; - type: Scalars['String']; - value: Scalars['jsonb']; +export type Bdjuno_Provider_Fee_Grant_Allowance = { + __typename?: 'bdjuno_provider_fee_grant_allowance'; + allowance: Scalars['bdjuno_provider_jsonb']; + grantee: Bdjuno_Provider_Account; + grantee_address: Scalars['String']; + granter: Bdjuno_Provider_Account; + granter_address: Scalars['String']; + height: Scalars['bdjuno_provider_bigint']; + id: Scalars['Int']; }; -/** columns and relationships of "message" */ -export type MessageValueArgs = { +export type Bdjuno_Provider_Fee_Grant_AllowanceAllowanceArgs = { path?: InputMaybe; }; -/** aggregated selection of "message" */ -export type Message_Aggregate = { - __typename?: 'message_aggregate'; - aggregate?: Maybe; - nodes: Array; +export type Bdjuno_Provider_Fee_Grant_Allowance_Aggregate = { + __typename?: 'bdjuno_provider_fee_grant_allowance_aggregate'; + aggregate?: Maybe; + nodes: Array; }; -/** aggregate fields of "message" */ -export type Message_Aggregate_Fields = { - __typename?: 'message_aggregate_fields'; - avg?: Maybe; +export type Bdjuno_Provider_Fee_Grant_Allowance_Aggregate_Fields = { + __typename?: 'bdjuno_provider_fee_grant_allowance_aggregate_fields'; + avg?: Maybe; count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; }; -/** aggregate fields of "message" */ -export type Message_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; +export type Bdjuno_Provider_Fee_Grant_Allowance_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; distinct?: InputMaybe; }; -/** aggregate avg on columns */ -export type Message_Avg_Fields = { - __typename?: 'message_avg_fields'; +export type Bdjuno_Provider_Fee_Grant_Allowance_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +export type Bdjuno_Provider_Fee_Grant_Allowance_Avg_Fields = { + __typename?: 'bdjuno_provider_fee_grant_allowance_avg_fields'; height?: Maybe; - index?: Maybe; - partition_id?: Maybe; + id?: Maybe; }; -/** Boolean expression to filter rows from the table "message". All fields are combined with a logical 'AND'. */ -export type Message_Bool_Exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - height?: InputMaybe; - index?: InputMaybe; - involved_accounts_addresses?: InputMaybe<_Text_Comparison_Exp>; - partition_id?: InputMaybe; - transaction?: InputMaybe; - transaction_hash?: InputMaybe; - type?: InputMaybe; - value?: InputMaybe; +export type Bdjuno_Provider_Fee_Grant_Allowance_Avg_Order_By = { + height?: InputMaybe; + id?: InputMaybe; }; -/** aggregate max on columns */ -export type Message_Max_Fields = { - __typename?: 'message_max_fields'; - height?: Maybe; - index?: Maybe; - partition_id?: Maybe; - transaction_hash?: Maybe; - type?: Maybe; +export type Bdjuno_Provider_Fee_Grant_Allowance_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + allowance?: InputMaybe; + grantee?: InputMaybe; + grantee_address?: InputMaybe; + granter?: InputMaybe; + granter_address?: InputMaybe; + height?: InputMaybe; + id?: InputMaybe; }; -/** aggregate min on columns */ -export type Message_Min_Fields = { - __typename?: 'message_min_fields'; - height?: Maybe; - index?: Maybe; - partition_id?: Maybe; - transaction_hash?: Maybe; - type?: Maybe; +export type Bdjuno_Provider_Fee_Grant_Allowance_Max_Fields = { + __typename?: 'bdjuno_provider_fee_grant_allowance_max_fields'; + grantee_address?: Maybe; + granter_address?: Maybe; + height?: Maybe; + id?: Maybe; }; -/** Ordering options when selecting data from "message". */ -export type Message_Order_By = { - height?: InputMaybe; - index?: InputMaybe; - involved_accounts_addresses?: InputMaybe; - partition_id?: InputMaybe; - transaction?: InputMaybe; - transaction_hash?: InputMaybe; - type?: InputMaybe; - value?: InputMaybe; +export type Bdjuno_Provider_Fee_Grant_Allowance_Max_Order_By = { + grantee_address?: InputMaybe; + granter_address?: InputMaybe; + height?: InputMaybe; + id?: InputMaybe; }; -/** select columns of table "message" */ -export enum Message_Select_Column { - /** column name */ +export type Bdjuno_Provider_Fee_Grant_Allowance_Min_Fields = { + __typename?: 'bdjuno_provider_fee_grant_allowance_min_fields'; + grantee_address?: Maybe; + granter_address?: Maybe; + height?: Maybe; + id?: Maybe; +}; + +export type Bdjuno_Provider_Fee_Grant_Allowance_Min_Order_By = { + grantee_address?: InputMaybe; + granter_address?: InputMaybe; + height?: InputMaybe; + id?: InputMaybe; +}; + +export type Bdjuno_Provider_Fee_Grant_Allowance_Order_By = { + allowance?: InputMaybe; + grantee?: InputMaybe; + grantee_address?: InputMaybe; + granter?: InputMaybe; + granter_address?: InputMaybe; + height?: InputMaybe; + id?: InputMaybe; +}; + +export enum Bdjuno_Provider_Fee_Grant_Allowance_Select_Column { + Allowance = 'allowance', + GranteeAddress = 'grantee_address', + GranterAddress = 'granter_address', Height = 'height', - /** column name */ - Index = 'index', - /** column name */ - InvolvedAccountsAddresses = 'involved_accounts_addresses', - /** column name */ - PartitionId = 'partition_id', - /** column name */ - TransactionHash = 'transaction_hash', - /** column name */ - Type = 'type', - /** column name */ - Value = 'value' + Id = 'id' } -/** aggregate stddev on columns */ -export type Message_Stddev_Fields = { - __typename?: 'message_stddev_fields'; +export type Bdjuno_Provider_Fee_Grant_Allowance_Stddev_Fields = { + __typename?: 'bdjuno_provider_fee_grant_allowance_stddev_fields'; height?: Maybe; - index?: Maybe; - partition_id?: Maybe; + id?: Maybe; }; -/** aggregate stddev_pop on columns */ -export type Message_Stddev_Pop_Fields = { - __typename?: 'message_stddev_pop_fields'; +export type Bdjuno_Provider_Fee_Grant_Allowance_Stddev_Order_By = { + height?: InputMaybe; + id?: InputMaybe; +}; + +export type Bdjuno_Provider_Fee_Grant_Allowance_Stddev_Pop_Fields = { + __typename?: 'bdjuno_provider_fee_grant_allowance_stddev_pop_fields'; height?: Maybe; - index?: Maybe; - partition_id?: Maybe; + id?: Maybe; }; -/** aggregate stddev_samp on columns */ -export type Message_Stddev_Samp_Fields = { - __typename?: 'message_stddev_samp_fields'; +export type Bdjuno_Provider_Fee_Grant_Allowance_Stddev_Pop_Order_By = { + height?: InputMaybe; + id?: InputMaybe; +}; + +export type Bdjuno_Provider_Fee_Grant_Allowance_Stddev_Samp_Fields = { + __typename?: 'bdjuno_provider_fee_grant_allowance_stddev_samp_fields'; height?: Maybe; - index?: Maybe; - partition_id?: Maybe; + id?: Maybe; }; -/** aggregate sum on columns */ -export type Message_Sum_Fields = { - __typename?: 'message_sum_fields'; - height?: Maybe; - index?: Maybe; - partition_id?: Maybe; +export type Bdjuno_Provider_Fee_Grant_Allowance_Stddev_Samp_Order_By = { + height?: InputMaybe; + id?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Message_Var_Pop_Fields = { - __typename?: 'message_var_pop_fields'; +export type Bdjuno_Provider_Fee_Grant_Allowance_Sum_Fields = { + __typename?: 'bdjuno_provider_fee_grant_allowance_sum_fields'; + height?: Maybe; + id?: Maybe; +}; + +export type Bdjuno_Provider_Fee_Grant_Allowance_Sum_Order_By = { + height?: InputMaybe; + id?: InputMaybe; +}; + +export type Bdjuno_Provider_Fee_Grant_Allowance_Var_Pop_Fields = { + __typename?: 'bdjuno_provider_fee_grant_allowance_var_pop_fields'; height?: Maybe; - index?: Maybe; - partition_id?: Maybe; + id?: Maybe; }; -/** aggregate var_samp on columns */ -export type Message_Var_Samp_Fields = { - __typename?: 'message_var_samp_fields'; +export type Bdjuno_Provider_Fee_Grant_Allowance_Var_Pop_Order_By = { + height?: InputMaybe; + id?: InputMaybe; +}; + +export type Bdjuno_Provider_Fee_Grant_Allowance_Var_Samp_Fields = { + __typename?: 'bdjuno_provider_fee_grant_allowance_var_samp_fields'; height?: Maybe; - index?: Maybe; - partition_id?: Maybe; + id?: Maybe; }; -/** aggregate variance on columns */ -export type Message_Variance_Fields = { - __typename?: 'message_variance_fields'; +export type Bdjuno_Provider_Fee_Grant_Allowance_Var_Samp_Order_By = { + height?: InputMaybe; + id?: InputMaybe; +}; + +export type Bdjuno_Provider_Fee_Grant_Allowance_Variance_Fields = { + __typename?: 'bdjuno_provider_fee_grant_allowance_variance_fields'; height?: Maybe; - index?: Maybe; - partition_id?: Maybe; + id?: Maybe; }; -export type Messages_By_Address_Args = { - addresses?: InputMaybe; - limit?: InputMaybe; - offset?: InputMaybe; - types?: InputMaybe; +export type Bdjuno_Provider_Fee_Grant_Allowance_Variance_Order_By = { + height?: InputMaybe; + id?: InputMaybe; }; -/** columns and relationships of "mint_params" */ -export type Mint_Params = { - __typename?: 'mint_params'; - height: Scalars['bigint']; +export type Bdjuno_Provider_Genesis = { + __typename?: 'bdjuno_provider_genesis'; + chain_id: Scalars['String']; + initial_height: Scalars['bdjuno_provider_bigint']; + time: Scalars['bdjuno_provider_timestamp']; +}; + +export type Bdjuno_Provider_Genesis_Aggregate = { + __typename?: 'bdjuno_provider_genesis_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +export type Bdjuno_Provider_Genesis_Aggregate_Fields = { + __typename?: 'bdjuno_provider_genesis_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + + +export type Bdjuno_Provider_Genesis_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +export type Bdjuno_Provider_Genesis_Avg_Fields = { + __typename?: 'bdjuno_provider_genesis_avg_fields'; + initial_height?: Maybe; +}; + +export type Bdjuno_Provider_Genesis_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + chain_id?: InputMaybe; + initial_height?: InputMaybe; + time?: InputMaybe; +}; + +export type Bdjuno_Provider_Genesis_Max_Fields = { + __typename?: 'bdjuno_provider_genesis_max_fields'; + chain_id?: Maybe; + initial_height?: Maybe; + time?: Maybe; +}; + +export type Bdjuno_Provider_Genesis_Min_Fields = { + __typename?: 'bdjuno_provider_genesis_min_fields'; + chain_id?: Maybe; + initial_height?: Maybe; + time?: Maybe; +}; + +export type Bdjuno_Provider_Genesis_Order_By = { + chain_id?: InputMaybe; + initial_height?: InputMaybe; + time?: InputMaybe; +}; + +export enum Bdjuno_Provider_Genesis_Select_Column { + ChainId = 'chain_id', + InitialHeight = 'initial_height', + Time = 'time' +} + +export type Bdjuno_Provider_Genesis_Stddev_Fields = { + __typename?: 'bdjuno_provider_genesis_stddev_fields'; + initial_height?: Maybe; +}; + +export type Bdjuno_Provider_Genesis_Stddev_Pop_Fields = { + __typename?: 'bdjuno_provider_genesis_stddev_pop_fields'; + initial_height?: Maybe; +}; + +export type Bdjuno_Provider_Genesis_Stddev_Samp_Fields = { + __typename?: 'bdjuno_provider_genesis_stddev_samp_fields'; + initial_height?: Maybe; +}; + +export type Bdjuno_Provider_Genesis_Sum_Fields = { + __typename?: 'bdjuno_provider_genesis_sum_fields'; + initial_height?: Maybe; +}; + +export type Bdjuno_Provider_Genesis_Var_Pop_Fields = { + __typename?: 'bdjuno_provider_genesis_var_pop_fields'; + initial_height?: Maybe; +}; + +export type Bdjuno_Provider_Genesis_Var_Samp_Fields = { + __typename?: 'bdjuno_provider_genesis_var_samp_fields'; + initial_height?: Maybe; +}; + +export type Bdjuno_Provider_Genesis_Variance_Fields = { + __typename?: 'bdjuno_provider_genesis_variance_fields'; + initial_height?: Maybe; +}; + +export type Bdjuno_Provider_Gov_Params = { + __typename?: 'bdjuno_provider_gov_params'; + deposit_params: Scalars['bdjuno_provider_jsonb']; + height: Scalars['bdjuno_provider_bigint']; one_row_id: Scalars['Boolean']; - params: Scalars['jsonb']; + tally_params: Scalars['bdjuno_provider_jsonb']; + voting_params: Scalars['bdjuno_provider_jsonb']; }; -/** columns and relationships of "mint_params" */ -export type Mint_ParamsParamsArgs = { +export type Bdjuno_Provider_Gov_ParamsDeposit_ParamsArgs = { + path?: InputMaybe; +}; + + +export type Bdjuno_Provider_Gov_ParamsTally_ParamsArgs = { + path?: InputMaybe; +}; + + +export type Bdjuno_Provider_Gov_ParamsVoting_ParamsArgs = { path?: InputMaybe; }; -/** aggregated selection of "mint_params" */ -export type Mint_Params_Aggregate = { - __typename?: 'mint_params_aggregate'; - aggregate?: Maybe; - nodes: Array; +export type Bdjuno_Provider_Gov_Params_Aggregate = { + __typename?: 'bdjuno_provider_gov_params_aggregate'; + aggregate?: Maybe; + nodes: Array; }; -/** aggregate fields of "mint_params" */ -export type Mint_Params_Aggregate_Fields = { - __typename?: 'mint_params_aggregate_fields'; - avg?: Maybe; +export type Bdjuno_Provider_Gov_Params_Aggregate_Fields = { + __typename?: 'bdjuno_provider_gov_params_aggregate_fields'; + avg?: Maybe; count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; }; -/** aggregate fields of "mint_params" */ -export type Mint_Params_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; +export type Bdjuno_Provider_Gov_Params_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; distinct?: InputMaybe; }; -/** aggregate avg on columns */ -export type Mint_Params_Avg_Fields = { - __typename?: 'mint_params_avg_fields'; +export type Bdjuno_Provider_Gov_Params_Avg_Fields = { + __typename?: 'bdjuno_provider_gov_params_avg_fields'; height?: Maybe; }; -/** Boolean expression to filter rows from the table "mint_params". All fields are combined with a logical 'AND'. */ -export type Mint_Params_Bool_Exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - height?: InputMaybe; - one_row_id?: InputMaybe; - params?: InputMaybe; +export type Bdjuno_Provider_Gov_Params_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + deposit_params?: InputMaybe; + height?: InputMaybe; + one_row_id?: InputMaybe; + tally_params?: InputMaybe; + voting_params?: InputMaybe; }; -/** aggregate max on columns */ -export type Mint_Params_Max_Fields = { - __typename?: 'mint_params_max_fields'; - height?: Maybe; +export type Bdjuno_Provider_Gov_Params_Max_Fields = { + __typename?: 'bdjuno_provider_gov_params_max_fields'; + height?: Maybe; }; -/** aggregate min on columns */ -export type Mint_Params_Min_Fields = { - __typename?: 'mint_params_min_fields'; - height?: Maybe; +export type Bdjuno_Provider_Gov_Params_Min_Fields = { + __typename?: 'bdjuno_provider_gov_params_min_fields'; + height?: Maybe; }; -/** Ordering options when selecting data from "mint_params". */ -export type Mint_Params_Order_By = { - height?: InputMaybe; - one_row_id?: InputMaybe; - params?: InputMaybe; +export type Bdjuno_Provider_Gov_Params_Order_By = { + deposit_params?: InputMaybe; + height?: InputMaybe; + one_row_id?: InputMaybe; + tally_params?: InputMaybe; + voting_params?: InputMaybe; }; -/** select columns of table "mint_params" */ -export enum Mint_Params_Select_Column { - /** column name */ +export enum Bdjuno_Provider_Gov_Params_Select_Column { + DepositParams = 'deposit_params', Height = 'height', - /** column name */ OneRowId = 'one_row_id', - /** column name */ - Params = 'params' + TallyParams = 'tally_params', + VotingParams = 'voting_params' } -/** aggregate stddev on columns */ -export type Mint_Params_Stddev_Fields = { - __typename?: 'mint_params_stddev_fields'; +export type Bdjuno_Provider_Gov_Params_Stddev_Fields = { + __typename?: 'bdjuno_provider_gov_params_stddev_fields'; height?: Maybe; }; -/** aggregate stddev_pop on columns */ -export type Mint_Params_Stddev_Pop_Fields = { - __typename?: 'mint_params_stddev_pop_fields'; +export type Bdjuno_Provider_Gov_Params_Stddev_Pop_Fields = { + __typename?: 'bdjuno_provider_gov_params_stddev_pop_fields'; height?: Maybe; }; -/** aggregate stddev_samp on columns */ -export type Mint_Params_Stddev_Samp_Fields = { - __typename?: 'mint_params_stddev_samp_fields'; +export type Bdjuno_Provider_Gov_Params_Stddev_Samp_Fields = { + __typename?: 'bdjuno_provider_gov_params_stddev_samp_fields'; height?: Maybe; }; -/** aggregate sum on columns */ -export type Mint_Params_Sum_Fields = { - __typename?: 'mint_params_sum_fields'; - height?: Maybe; +export type Bdjuno_Provider_Gov_Params_Sum_Fields = { + __typename?: 'bdjuno_provider_gov_params_sum_fields'; + height?: Maybe; }; -/** aggregate var_pop on columns */ -export type Mint_Params_Var_Pop_Fields = { - __typename?: 'mint_params_var_pop_fields'; +export type Bdjuno_Provider_Gov_Params_Var_Pop_Fields = { + __typename?: 'bdjuno_provider_gov_params_var_pop_fields'; height?: Maybe; }; -/** aggregate var_samp on columns */ -export type Mint_Params_Var_Samp_Fields = { - __typename?: 'mint_params_var_samp_fields'; +export type Bdjuno_Provider_Gov_Params_Var_Samp_Fields = { + __typename?: 'bdjuno_provider_gov_params_var_samp_fields'; height?: Maybe; }; -/** aggregate variance on columns */ -export type Mint_Params_Variance_Fields = { - __typename?: 'mint_params_variance_fields'; +export type Bdjuno_Provider_Gov_Params_Variance_Fields = { + __typename?: 'bdjuno_provider_gov_params_variance_fields'; height?: Maybe; }; -/** columns and relationships of "modules" */ -export type Modules = { - __typename?: 'modules'; - module_name: Scalars['String']; +export type Bdjuno_Provider_Inflation = { + __typename?: 'bdjuno_provider_inflation'; + height: Scalars['bdjuno_provider_bigint']; + value: Scalars['bdjuno_provider_numeric']; }; -/** aggregated selection of "modules" */ -export type Modules_Aggregate = { - __typename?: 'modules_aggregate'; - aggregate?: Maybe; - nodes: Array; +export type Bdjuno_Provider_Inflation_Aggregate = { + __typename?: 'bdjuno_provider_inflation_aggregate'; + aggregate?: Maybe; + nodes: Array; }; -/** aggregate fields of "modules" */ -export type Modules_Aggregate_Fields = { - __typename?: 'modules_aggregate_fields'; +export type Bdjuno_Provider_Inflation_Aggregate_Fields = { + __typename?: 'bdjuno_provider_inflation_aggregate_fields'; + avg?: Maybe; count: Scalars['Int']; - max?: Maybe; - min?: Maybe; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; }; -/** aggregate fields of "modules" */ -export type Modules_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; +export type Bdjuno_Provider_Inflation_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; distinct?: InputMaybe; }; -/** Boolean expression to filter rows from the table "modules". All fields are combined with a logical 'AND'. */ -export type Modules_Bool_Exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - module_name?: InputMaybe; +export type Bdjuno_Provider_Inflation_Avg_Fields = { + __typename?: 'bdjuno_provider_inflation_avg_fields'; + height?: Maybe; + value?: Maybe; }; -/** aggregate max on columns */ -export type Modules_Max_Fields = { - __typename?: 'modules_max_fields'; - module_name?: Maybe; +export type Bdjuno_Provider_Inflation_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + height?: InputMaybe; + value?: InputMaybe; }; -/** aggregate min on columns */ -export type Modules_Min_Fields = { - __typename?: 'modules_min_fields'; - module_name?: Maybe; +export type Bdjuno_Provider_Inflation_Max_Fields = { + __typename?: 'bdjuno_provider_inflation_max_fields'; + height?: Maybe; + value?: Maybe; }; -/** Ordering options when selecting data from "modules". */ -export type Modules_Order_By = { - module_name?: InputMaybe; +export type Bdjuno_Provider_Inflation_Min_Fields = { + __typename?: 'bdjuno_provider_inflation_min_fields'; + height?: Maybe; + value?: Maybe; }; -/** select columns of table "modules" */ -export enum Modules_Select_Column { - /** column name */ - ModuleName = 'module_name' +export type Bdjuno_Provider_Inflation_Order_By = { + height?: InputMaybe; + value?: InputMaybe; +}; + +export enum Bdjuno_Provider_Inflation_Select_Column { + Height = 'height', + Value = 'value' } -/** Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. */ -export type Numeric_Comparison_Exp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; - _is_null?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; +export type Bdjuno_Provider_Inflation_Stddev_Fields = { + __typename?: 'bdjuno_provider_inflation_stddev_fields'; + height?: Maybe; + value?: Maybe; }; -/** column ordering options */ -export enum Order_By { - /** in ascending order, nulls last */ - Asc = 'asc', - /** in ascending order, nulls first */ - AscNullsFirst = 'asc_nulls_first', - /** in ascending order, nulls last */ - AscNullsLast = 'asc_nulls_last', - /** in descending order, nulls first */ - Desc = 'desc', - /** in descending order, nulls first */ - DescNullsFirst = 'desc_nulls_first', - /** in descending order, nulls last */ - DescNullsLast = 'desc_nulls_last' -} +export type Bdjuno_Provider_Inflation_Stddev_Pop_Fields = { + __typename?: 'bdjuno_provider_inflation_stddev_pop_fields'; + height?: Maybe; + value?: Maybe; +}; -/** columns and relationships of "pre_commit" */ -export type Pre_Commit = { - __typename?: 'pre_commit'; - height: Scalars['bigint']; - proposer_priority: Scalars['bigint']; - timestamp: Scalars['timestamp']; - /** An object relationship */ - validator: Validator; - validator_address: Scalars['String']; - voting_power: Scalars['bigint']; +export type Bdjuno_Provider_Inflation_Stddev_Samp_Fields = { + __typename?: 'bdjuno_provider_inflation_stddev_samp_fields'; + height?: Maybe; + value?: Maybe; }; -/** aggregated selection of "pre_commit" */ -export type Pre_Commit_Aggregate = { - __typename?: 'pre_commit_aggregate'; - aggregate?: Maybe; - nodes: Array; +export type Bdjuno_Provider_Inflation_Sum_Fields = { + __typename?: 'bdjuno_provider_inflation_sum_fields'; + height?: Maybe; + value?: Maybe; }; -/** aggregate fields of "pre_commit" */ -export type Pre_Commit_Aggregate_Fields = { - __typename?: 'pre_commit_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; +export type Bdjuno_Provider_Inflation_Var_Pop_Fields = { + __typename?: 'bdjuno_provider_inflation_var_pop_fields'; + height?: Maybe; + value?: Maybe; }; +export type Bdjuno_Provider_Inflation_Var_Samp_Fields = { + __typename?: 'bdjuno_provider_inflation_var_samp_fields'; + height?: Maybe; + value?: Maybe; +}; -/** aggregate fields of "pre_commit" */ -export type Pre_Commit_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; +export type Bdjuno_Provider_Inflation_Variance_Fields = { + __typename?: 'bdjuno_provider_inflation_variance_fields'; + height?: Maybe; + value?: Maybe; }; -/** order by aggregate values of table "pre_commit" */ -export type Pre_Commit_Aggregate_Order_By = { - avg?: InputMaybe; - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddev?: InputMaybe; - stddev_pop?: InputMaybe; - stddev_samp?: InputMaybe; - sum?: InputMaybe; - var_pop?: InputMaybe; - var_samp?: InputMaybe; - variance?: InputMaybe; +export type Bdjuno_Provider_Jsonb_Comparison_Exp = { + _contained_in?: InputMaybe; + _contains?: InputMaybe; + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _has_key?: InputMaybe; + _has_keys_all?: InputMaybe>; + _has_keys_any?: InputMaybe>; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +export type Bdjuno_Provider_Message = { + __typename?: 'bdjuno_provider_message'; + height: Scalars['bdjuno_provider_bigint']; + index: Scalars['bdjuno_provider_bigint']; + involved_accounts_addresses: Scalars['bdjuno_provider__text']; + partition_id: Scalars['bdjuno_provider_bigint']; + transaction?: Maybe; + transactionByPartitionIdTransactionHash?: Maybe; + transaction_hash: Scalars['String']; + type: Scalars['String']; + value: Scalars['bdjuno_provider_jsonb']; }; -/** aggregate avg on columns */ -export type Pre_Commit_Avg_Fields = { - __typename?: 'pre_commit_avg_fields'; - height?: Maybe; - proposer_priority?: Maybe; - voting_power?: Maybe; + +export type Bdjuno_Provider_MessageValueArgs = { + path?: InputMaybe; }; -/** order by avg() on columns of table "pre_commit" */ -export type Pre_Commit_Avg_Order_By = { - height?: InputMaybe; - proposer_priority?: InputMaybe; - voting_power?: InputMaybe; +export type Bdjuno_Provider_Message_Aggregate = { + __typename?: 'bdjuno_provider_message_aggregate'; + aggregate?: Maybe; + nodes: Array; }; -/** Boolean expression to filter rows from the table "pre_commit". All fields are combined with a logical 'AND'. */ -export type Pre_Commit_Bool_Exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - height?: InputMaybe; - proposer_priority?: InputMaybe; - timestamp?: InputMaybe; - validator?: InputMaybe; - validator_address?: InputMaybe; - voting_power?: InputMaybe; +export type Bdjuno_Provider_Message_Aggregate_Fields = { + __typename?: 'bdjuno_provider_message_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; }; -/** aggregate max on columns */ -export type Pre_Commit_Max_Fields = { - __typename?: 'pre_commit_max_fields'; - height?: Maybe; - proposer_priority?: Maybe; - timestamp?: Maybe; - validator_address?: Maybe; - voting_power?: Maybe; + +export type Bdjuno_Provider_Message_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; }; -/** order by max() on columns of table "pre_commit" */ -export type Pre_Commit_Max_Order_By = { - height?: InputMaybe; - proposer_priority?: InputMaybe; - timestamp?: InputMaybe; - validator_address?: InputMaybe; - voting_power?: InputMaybe; +export type Bdjuno_Provider_Message_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; }; -/** aggregate min on columns */ -export type Pre_Commit_Min_Fields = { - __typename?: 'pre_commit_min_fields'; - height?: Maybe; - proposer_priority?: Maybe; - timestamp?: Maybe; - validator_address?: Maybe; - voting_power?: Maybe; +export type Bdjuno_Provider_Message_Avg_Fields = { + __typename?: 'bdjuno_provider_message_avg_fields'; + height?: Maybe; + index?: Maybe; + partition_id?: Maybe; }; -/** order by min() on columns of table "pre_commit" */ -export type Pre_Commit_Min_Order_By = { - height?: InputMaybe; - proposer_priority?: InputMaybe; - timestamp?: InputMaybe; - validator_address?: InputMaybe; - voting_power?: InputMaybe; +export type Bdjuno_Provider_Message_Avg_Order_By = { + height?: InputMaybe; + index?: InputMaybe; + partition_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Message_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + height?: InputMaybe; + index?: InputMaybe; + involved_accounts_addresses?: InputMaybe; + partition_id?: InputMaybe; + transaction?: InputMaybe; + transactionByPartitionIdTransactionHash?: InputMaybe; + transaction_hash?: InputMaybe; + type?: InputMaybe; + value?: InputMaybe; +}; + +export type Bdjuno_Provider_Message_Max_Fields = { + __typename?: 'bdjuno_provider_message_max_fields'; + height?: Maybe; + index?: Maybe; + partition_id?: Maybe; + transaction_hash?: Maybe; + type?: Maybe; }; -/** Ordering options when selecting data from "pre_commit". */ -export type Pre_Commit_Order_By = { - height?: InputMaybe; - proposer_priority?: InputMaybe; - timestamp?: InputMaybe; - validator?: InputMaybe; - validator_address?: InputMaybe; - voting_power?: InputMaybe; +export type Bdjuno_Provider_Message_Max_Order_By = { + height?: InputMaybe; + index?: InputMaybe; + partition_id?: InputMaybe; + transaction_hash?: InputMaybe; + type?: InputMaybe; }; -/** select columns of table "pre_commit" */ -export enum Pre_Commit_Select_Column { - /** column name */ +export type Bdjuno_Provider_Message_Min_Fields = { + __typename?: 'bdjuno_provider_message_min_fields'; + height?: Maybe; + index?: Maybe; + partition_id?: Maybe; + transaction_hash?: Maybe; + type?: Maybe; +}; + +export type Bdjuno_Provider_Message_Min_Order_By = { + height?: InputMaybe; + index?: InputMaybe; + partition_id?: InputMaybe; + transaction_hash?: InputMaybe; + type?: InputMaybe; +}; + +export type Bdjuno_Provider_Message_Order_By = { + height?: InputMaybe; + index?: InputMaybe; + involved_accounts_addresses?: InputMaybe; + partition_id?: InputMaybe; + transaction?: InputMaybe; + transactionByPartitionIdTransactionHash?: InputMaybe; + transaction_hash?: InputMaybe; + type?: InputMaybe; + value?: InputMaybe; +}; + +export enum Bdjuno_Provider_Message_Select_Column { Height = 'height', - /** column name */ - ProposerPriority = 'proposer_priority', - /** column name */ - Timestamp = 'timestamp', - /** column name */ - ValidatorAddress = 'validator_address', - /** column name */ - VotingPower = 'voting_power' + Index = 'index', + InvolvedAccountsAddresses = 'involved_accounts_addresses', + PartitionId = 'partition_id', + TransactionHash = 'transaction_hash', + Type = 'type', + Value = 'value' } -/** aggregate stddev on columns */ -export type Pre_Commit_Stddev_Fields = { - __typename?: 'pre_commit_stddev_fields'; +export type Bdjuno_Provider_Message_Stddev_Fields = { + __typename?: 'bdjuno_provider_message_stddev_fields'; height?: Maybe; - proposer_priority?: Maybe; - voting_power?: Maybe; + index?: Maybe; + partition_id?: Maybe; }; -/** order by stddev() on columns of table "pre_commit" */ -export type Pre_Commit_Stddev_Order_By = { - height?: InputMaybe; - proposer_priority?: InputMaybe; - voting_power?: InputMaybe; +export type Bdjuno_Provider_Message_Stddev_Order_By = { + height?: InputMaybe; + index?: InputMaybe; + partition_id?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Pre_Commit_Stddev_Pop_Fields = { - __typename?: 'pre_commit_stddev_pop_fields'; +export type Bdjuno_Provider_Message_Stddev_Pop_Fields = { + __typename?: 'bdjuno_provider_message_stddev_pop_fields'; height?: Maybe; - proposer_priority?: Maybe; - voting_power?: Maybe; + index?: Maybe; + partition_id?: Maybe; }; -/** order by stddev_pop() on columns of table "pre_commit" */ -export type Pre_Commit_Stddev_Pop_Order_By = { - height?: InputMaybe; - proposer_priority?: InputMaybe; - voting_power?: InputMaybe; +export type Bdjuno_Provider_Message_Stddev_Pop_Order_By = { + height?: InputMaybe; + index?: InputMaybe; + partition_id?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Pre_Commit_Stddev_Samp_Fields = { - __typename?: 'pre_commit_stddev_samp_fields'; +export type Bdjuno_Provider_Message_Stddev_Samp_Fields = { + __typename?: 'bdjuno_provider_message_stddev_samp_fields'; height?: Maybe; - proposer_priority?: Maybe; - voting_power?: Maybe; + index?: Maybe; + partition_id?: Maybe; }; -/** order by stddev_samp() on columns of table "pre_commit" */ -export type Pre_Commit_Stddev_Samp_Order_By = { - height?: InputMaybe; - proposer_priority?: InputMaybe; - voting_power?: InputMaybe; +export type Bdjuno_Provider_Message_Stddev_Samp_Order_By = { + height?: InputMaybe; + index?: InputMaybe; + partition_id?: InputMaybe; }; -/** aggregate sum on columns */ -export type Pre_Commit_Sum_Fields = { - __typename?: 'pre_commit_sum_fields'; - height?: Maybe; - proposer_priority?: Maybe; - voting_power?: Maybe; +export type Bdjuno_Provider_Message_Sum_Fields = { + __typename?: 'bdjuno_provider_message_sum_fields'; + height?: Maybe; + index?: Maybe; + partition_id?: Maybe; }; -/** order by sum() on columns of table "pre_commit" */ -export type Pre_Commit_Sum_Order_By = { - height?: InputMaybe; - proposer_priority?: InputMaybe; - voting_power?: InputMaybe; +export type Bdjuno_Provider_Message_Sum_Order_By = { + height?: InputMaybe; + index?: InputMaybe; + partition_id?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Pre_Commit_Var_Pop_Fields = { - __typename?: 'pre_commit_var_pop_fields'; +export type Bdjuno_Provider_Message_Var_Pop_Fields = { + __typename?: 'bdjuno_provider_message_var_pop_fields'; height?: Maybe; - proposer_priority?: Maybe; - voting_power?: Maybe; + index?: Maybe; + partition_id?: Maybe; }; -/** order by var_pop() on columns of table "pre_commit" */ -export type Pre_Commit_Var_Pop_Order_By = { - height?: InputMaybe; - proposer_priority?: InputMaybe; - voting_power?: InputMaybe; +export type Bdjuno_Provider_Message_Var_Pop_Order_By = { + height?: InputMaybe; + index?: InputMaybe; + partition_id?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Pre_Commit_Var_Samp_Fields = { - __typename?: 'pre_commit_var_samp_fields'; +export type Bdjuno_Provider_Message_Var_Samp_Fields = { + __typename?: 'bdjuno_provider_message_var_samp_fields'; height?: Maybe; - proposer_priority?: Maybe; - voting_power?: Maybe; + index?: Maybe; + partition_id?: Maybe; }; -/** order by var_samp() on columns of table "pre_commit" */ -export type Pre_Commit_Var_Samp_Order_By = { - height?: InputMaybe; - proposer_priority?: InputMaybe; - voting_power?: InputMaybe; +export type Bdjuno_Provider_Message_Var_Samp_Order_By = { + height?: InputMaybe; + index?: InputMaybe; + partition_id?: InputMaybe; }; -/** aggregate variance on columns */ -export type Pre_Commit_Variance_Fields = { - __typename?: 'pre_commit_variance_fields'; +export type Bdjuno_Provider_Message_Variance_Fields = { + __typename?: 'bdjuno_provider_message_variance_fields'; height?: Maybe; - proposer_priority?: Maybe; - voting_power?: Maybe; + index?: Maybe; + partition_id?: Maybe; }; -/** order by variance() on columns of table "pre_commit" */ -export type Pre_Commit_Variance_Order_By = { - height?: InputMaybe; - proposer_priority?: InputMaybe; - voting_power?: InputMaybe; +export type Bdjuno_Provider_Message_Variance_Order_By = { + height?: InputMaybe; + index?: InputMaybe; + partition_id?: InputMaybe; }; -/** columns and relationships of "proposal" */ -export type Proposal = { - __typename?: 'proposal'; - content: Scalars['jsonb']; - deposit_end_time?: Maybe; - description: Scalars['String']; - id: Scalars['Int']; - /** An array relationship */ - proposal_deposits: Array; - /** An aggregate relationship */ - proposal_deposits_aggregate: Proposal_Deposit_Aggregate; - proposal_route: Scalars['String']; - /** An object relationship */ - proposal_tally_result?: Maybe; - /** An array relationship */ - proposal_tally_results: Array; - /** An aggregate relationship */ - proposal_tally_results_aggregate: Proposal_Tally_Result_Aggregate; - proposal_type: Scalars['String']; - /** An array relationship */ - proposal_votes: Array; - /** An aggregate relationship */ - proposal_votes_aggregate: Proposal_Vote_Aggregate; - /** An object relationship */ - proposer: Account; - proposer_address: Scalars['String']; - /** An object relationship */ - staking_pool_snapshot?: Maybe; - status?: Maybe; - submit_time: Scalars['timestamp']; - title: Scalars['String']; - /** An array relationship */ - validator_status_snapshots: Array; - /** An aggregate relationship */ - validator_status_snapshots_aggregate: Proposal_Validator_Status_Snapshot_Aggregate; - voting_end_time?: Maybe; - voting_start_time?: Maybe; +export type Bdjuno_Provider_Messages_By_Address_Args = { + addresses?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; + types?: InputMaybe; }; +export type Bdjuno_Provider_Mint_Params = { + __typename?: 'bdjuno_provider_mint_params'; + height: Scalars['bdjuno_provider_bigint']; + one_row_id: Scalars['Boolean']; + params: Scalars['bdjuno_provider_jsonb']; +}; -/** columns and relationships of "proposal" */ -export type ProposalContentArgs = { + +export type Bdjuno_Provider_Mint_ParamsParamsArgs = { path?: InputMaybe; }; +export type Bdjuno_Provider_Mint_Params_Aggregate = { + __typename?: 'bdjuno_provider_mint_params_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; -/** columns and relationships of "proposal" */ -export type ProposalProposal_DepositsArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Bdjuno_Provider_Mint_Params_Aggregate_Fields = { + __typename?: 'bdjuno_provider_mint_params_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; }; -/** columns and relationships of "proposal" */ -export type ProposalProposal_Deposits_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Bdjuno_Provider_Mint_Params_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; }; +export type Bdjuno_Provider_Mint_Params_Avg_Fields = { + __typename?: 'bdjuno_provider_mint_params_avg_fields'; + height?: Maybe; +}; -/** columns and relationships of "proposal" */ -export type ProposalProposal_Tally_ResultsArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Bdjuno_Provider_Mint_Params_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + height?: InputMaybe; + one_row_id?: InputMaybe; + params?: InputMaybe; }; +export type Bdjuno_Provider_Mint_Params_Max_Fields = { + __typename?: 'bdjuno_provider_mint_params_max_fields'; + height?: Maybe; +}; -/** columns and relationships of "proposal" */ -export type ProposalProposal_Tally_Results_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Bdjuno_Provider_Mint_Params_Min_Fields = { + __typename?: 'bdjuno_provider_mint_params_min_fields'; + height?: Maybe; }; +export type Bdjuno_Provider_Mint_Params_Order_By = { + height?: InputMaybe; + one_row_id?: InputMaybe; + params?: InputMaybe; +}; -/** columns and relationships of "proposal" */ -export type ProposalProposal_VotesArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export enum Bdjuno_Provider_Mint_Params_Select_Column { + Height = 'height', + OneRowId = 'one_row_id', + Params = 'params' +} + +export type Bdjuno_Provider_Mint_Params_Stddev_Fields = { + __typename?: 'bdjuno_provider_mint_params_stddev_fields'; + height?: Maybe; }; +export type Bdjuno_Provider_Mint_Params_Stddev_Pop_Fields = { + __typename?: 'bdjuno_provider_mint_params_stddev_pop_fields'; + height?: Maybe; +}; -/** columns and relationships of "proposal" */ -export type ProposalProposal_Votes_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Bdjuno_Provider_Mint_Params_Stddev_Samp_Fields = { + __typename?: 'bdjuno_provider_mint_params_stddev_samp_fields'; + height?: Maybe; }; +export type Bdjuno_Provider_Mint_Params_Sum_Fields = { + __typename?: 'bdjuno_provider_mint_params_sum_fields'; + height?: Maybe; +}; -/** columns and relationships of "proposal" */ -export type ProposalValidator_Status_SnapshotsArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Bdjuno_Provider_Mint_Params_Var_Pop_Fields = { + __typename?: 'bdjuno_provider_mint_params_var_pop_fields'; + height?: Maybe; }; +export type Bdjuno_Provider_Mint_Params_Var_Samp_Fields = { + __typename?: 'bdjuno_provider_mint_params_var_samp_fields'; + height?: Maybe; +}; -/** columns and relationships of "proposal" */ -export type ProposalValidator_Status_Snapshots_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Bdjuno_Provider_Mint_Params_Variance_Fields = { + __typename?: 'bdjuno_provider_mint_params_variance_fields'; + height?: Maybe; }; -/** aggregated selection of "proposal" */ -export type Proposal_Aggregate = { - __typename?: 'proposal_aggregate'; - aggregate?: Maybe; - nodes: Array; +export type Bdjuno_Provider_Modules = { + __typename?: 'bdjuno_provider_modules'; + module_name: Scalars['String']; }; -/** aggregate fields of "proposal" */ -export type Proposal_Aggregate_Fields = { - __typename?: 'proposal_aggregate_fields'; - avg?: Maybe; +export type Bdjuno_Provider_Modules_Aggregate = { + __typename?: 'bdjuno_provider_modules_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +export type Bdjuno_Provider_Modules_Aggregate_Fields = { + __typename?: 'bdjuno_provider_modules_aggregate_fields'; count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; + max?: Maybe; + min?: Maybe; }; -/** aggregate fields of "proposal" */ -export type Proposal_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; +export type Bdjuno_Provider_Modules_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; distinct?: InputMaybe; }; -/** order by aggregate values of table "proposal" */ -export type Proposal_Aggregate_Order_By = { - avg?: InputMaybe; - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddev?: InputMaybe; - stddev_pop?: InputMaybe; - stddev_samp?: InputMaybe; - sum?: InputMaybe; - var_pop?: InputMaybe; - var_samp?: InputMaybe; - variance?: InputMaybe; +export type Bdjuno_Provider_Modules_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + module_name?: InputMaybe; }; -/** aggregate avg on columns */ -export type Proposal_Avg_Fields = { - __typename?: 'proposal_avg_fields'; - id?: Maybe; +export type Bdjuno_Provider_Modules_Max_Fields = { + __typename?: 'bdjuno_provider_modules_max_fields'; + module_name?: Maybe; }; -/** order by avg() on columns of table "proposal" */ -export type Proposal_Avg_Order_By = { - id?: InputMaybe; +export type Bdjuno_Provider_Modules_Min_Fields = { + __typename?: 'bdjuno_provider_modules_min_fields'; + module_name?: Maybe; }; -/** Boolean expression to filter rows from the table "proposal". All fields are combined with a logical 'AND'. */ -export type Proposal_Bool_Exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - content?: InputMaybe; - deposit_end_time?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - proposal_deposits?: InputMaybe; - proposal_route?: InputMaybe; - proposal_tally_result?: InputMaybe; - proposal_tally_results?: InputMaybe; - proposal_type?: InputMaybe; - proposal_votes?: InputMaybe; - proposer?: InputMaybe; - proposer_address?: InputMaybe; - staking_pool_snapshot?: InputMaybe; - status?: InputMaybe; - submit_time?: InputMaybe; - title?: InputMaybe; - validator_status_snapshots?: InputMaybe; - voting_end_time?: InputMaybe; - voting_start_time?: InputMaybe; +export type Bdjuno_Provider_Modules_Order_By = { + module_name?: InputMaybe; }; -/** columns and relationships of "proposal_deposit" */ -export type Proposal_Deposit = { - __typename?: 'proposal_deposit'; - amount?: Maybe; - /** An object relationship */ - block?: Maybe; - /** An object relationship */ - depositor?: Maybe; - depositor_address?: Maybe; - height: Scalars['bigint']; - /** An object relationship */ - proposal: Proposal; - proposal_id: Scalars['Int']; +export enum Bdjuno_Provider_Modules_Select_Column { + ModuleName = 'module_name' +} + +export type Bdjuno_Provider_Numeric_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +export enum Bdjuno_Provider_Order_By { + Asc = 'asc', + AscNullsFirst = 'asc_nulls_first', + AscNullsLast = 'asc_nulls_last', + Desc = 'desc', + DescNullsFirst = 'desc_nulls_first', + DescNullsLast = 'desc_nulls_last' +} + +export type Bdjuno_Provider_Pre_Commit = { + __typename?: 'bdjuno_provider_pre_commit'; + height: Scalars['bdjuno_provider_bigint']; + proposer_priority: Scalars['bdjuno_provider_bigint']; + timestamp: Scalars['bdjuno_provider_timestamp']; + validator: Bdjuno_Provider_Validator; + validator_address: Scalars['String']; + voting_power: Scalars['bdjuno_provider_bigint']; }; -/** aggregated selection of "proposal_deposit" */ -export type Proposal_Deposit_Aggregate = { - __typename?: 'proposal_deposit_aggregate'; - aggregate?: Maybe; - nodes: Array; +export type Bdjuno_Provider_Pre_Commit_Aggregate = { + __typename?: 'bdjuno_provider_pre_commit_aggregate'; + aggregate?: Maybe; + nodes: Array; }; -/** aggregate fields of "proposal_deposit" */ -export type Proposal_Deposit_Aggregate_Fields = { - __typename?: 'proposal_deposit_aggregate_fields'; - avg?: Maybe; +export type Bdjuno_Provider_Pre_Commit_Aggregate_Fields = { + __typename?: 'bdjuno_provider_pre_commit_aggregate_fields'; + avg?: Maybe; count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; }; -/** aggregate fields of "proposal_deposit" */ -export type Proposal_Deposit_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; +export type Bdjuno_Provider_Pre_Commit_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; distinct?: InputMaybe; }; -/** order by aggregate values of table "proposal_deposit" */ -export type Proposal_Deposit_Aggregate_Order_By = { - avg?: InputMaybe; - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddev?: InputMaybe; - stddev_pop?: InputMaybe; - stddev_samp?: InputMaybe; - sum?: InputMaybe; - var_pop?: InputMaybe; - var_samp?: InputMaybe; - variance?: InputMaybe; +export type Bdjuno_Provider_Pre_Commit_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Proposal_Deposit_Avg_Fields = { - __typename?: 'proposal_deposit_avg_fields'; +export type Bdjuno_Provider_Pre_Commit_Avg_Fields = { + __typename?: 'bdjuno_provider_pre_commit_avg_fields'; height?: Maybe; - proposal_id?: Maybe; + proposer_priority?: Maybe; + voting_power?: Maybe; }; -/** order by avg() on columns of table "proposal_deposit" */ -export type Proposal_Deposit_Avg_Order_By = { - height?: InputMaybe; - proposal_id?: InputMaybe; +export type Bdjuno_Provider_Pre_Commit_Avg_Order_By = { + height?: InputMaybe; + proposer_priority?: InputMaybe; + voting_power?: InputMaybe; }; -/** Boolean expression to filter rows from the table "proposal_deposit". All fields are combined with a logical 'AND'. */ -export type Proposal_Deposit_Bool_Exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - amount?: InputMaybe<_Coin_Comparison_Exp>; - block?: InputMaybe; - depositor?: InputMaybe; - depositor_address?: InputMaybe; - height?: InputMaybe; - proposal?: InputMaybe; - proposal_id?: InputMaybe; +export type Bdjuno_Provider_Pre_Commit_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + height?: InputMaybe; + proposer_priority?: InputMaybe; + timestamp?: InputMaybe; + validator?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; }; -/** aggregate max on columns */ -export type Proposal_Deposit_Max_Fields = { - __typename?: 'proposal_deposit_max_fields'; - depositor_address?: Maybe; - height?: Maybe; - proposal_id?: Maybe; +export type Bdjuno_Provider_Pre_Commit_Max_Fields = { + __typename?: 'bdjuno_provider_pre_commit_max_fields'; + height?: Maybe; + proposer_priority?: Maybe; + timestamp?: Maybe; + validator_address?: Maybe; + voting_power?: Maybe; }; -/** order by max() on columns of table "proposal_deposit" */ -export type Proposal_Deposit_Max_Order_By = { - depositor_address?: InputMaybe; - height?: InputMaybe; - proposal_id?: InputMaybe; +export type Bdjuno_Provider_Pre_Commit_Max_Order_By = { + height?: InputMaybe; + proposer_priority?: InputMaybe; + timestamp?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; }; -/** aggregate min on columns */ -export type Proposal_Deposit_Min_Fields = { - __typename?: 'proposal_deposit_min_fields'; - depositor_address?: Maybe; - height?: Maybe; - proposal_id?: Maybe; +export type Bdjuno_Provider_Pre_Commit_Min_Fields = { + __typename?: 'bdjuno_provider_pre_commit_min_fields'; + height?: Maybe; + proposer_priority?: Maybe; + timestamp?: Maybe; + validator_address?: Maybe; + voting_power?: Maybe; }; -/** order by min() on columns of table "proposal_deposit" */ -export type Proposal_Deposit_Min_Order_By = { - depositor_address?: InputMaybe; - height?: InputMaybe; - proposal_id?: InputMaybe; +export type Bdjuno_Provider_Pre_Commit_Min_Order_By = { + height?: InputMaybe; + proposer_priority?: InputMaybe; + timestamp?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; }; -/** Ordering options when selecting data from "proposal_deposit". */ -export type Proposal_Deposit_Order_By = { - amount?: InputMaybe; - block?: InputMaybe; - depositor?: InputMaybe; - depositor_address?: InputMaybe; - height?: InputMaybe; - proposal?: InputMaybe; - proposal_id?: InputMaybe; +export type Bdjuno_Provider_Pre_Commit_Order_By = { + height?: InputMaybe; + proposer_priority?: InputMaybe; + timestamp?: InputMaybe; + validator?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; }; -/** select columns of table "proposal_deposit" */ -export enum Proposal_Deposit_Select_Column { - /** column name */ - Amount = 'amount', - /** column name */ - DepositorAddress = 'depositor_address', - /** column name */ +export enum Bdjuno_Provider_Pre_Commit_Select_Column { Height = 'height', - /** column name */ - ProposalId = 'proposal_id' + ProposerPriority = 'proposer_priority', + Timestamp = 'timestamp', + ValidatorAddress = 'validator_address', + VotingPower = 'voting_power' } -/** aggregate stddev on columns */ -export type Proposal_Deposit_Stddev_Fields = { - __typename?: 'proposal_deposit_stddev_fields'; +export type Bdjuno_Provider_Pre_Commit_Stddev_Fields = { + __typename?: 'bdjuno_provider_pre_commit_stddev_fields'; height?: Maybe; - proposal_id?: Maybe; + proposer_priority?: Maybe; + voting_power?: Maybe; }; -/** order by stddev() on columns of table "proposal_deposit" */ -export type Proposal_Deposit_Stddev_Order_By = { - height?: InputMaybe; - proposal_id?: InputMaybe; +export type Bdjuno_Provider_Pre_Commit_Stddev_Order_By = { + height?: InputMaybe; + proposer_priority?: InputMaybe; + voting_power?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Proposal_Deposit_Stddev_Pop_Fields = { - __typename?: 'proposal_deposit_stddev_pop_fields'; +export type Bdjuno_Provider_Pre_Commit_Stddev_Pop_Fields = { + __typename?: 'bdjuno_provider_pre_commit_stddev_pop_fields'; height?: Maybe; - proposal_id?: Maybe; + proposer_priority?: Maybe; + voting_power?: Maybe; }; -/** order by stddev_pop() on columns of table "proposal_deposit" */ -export type Proposal_Deposit_Stddev_Pop_Order_By = { - height?: InputMaybe; - proposal_id?: InputMaybe; +export type Bdjuno_Provider_Pre_Commit_Stddev_Pop_Order_By = { + height?: InputMaybe; + proposer_priority?: InputMaybe; + voting_power?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Proposal_Deposit_Stddev_Samp_Fields = { - __typename?: 'proposal_deposit_stddev_samp_fields'; +export type Bdjuno_Provider_Pre_Commit_Stddev_Samp_Fields = { + __typename?: 'bdjuno_provider_pre_commit_stddev_samp_fields'; height?: Maybe; - proposal_id?: Maybe; + proposer_priority?: Maybe; + voting_power?: Maybe; }; -/** order by stddev_samp() on columns of table "proposal_deposit" */ -export type Proposal_Deposit_Stddev_Samp_Order_By = { - height?: InputMaybe; - proposal_id?: InputMaybe; +export type Bdjuno_Provider_Pre_Commit_Stddev_Samp_Order_By = { + height?: InputMaybe; + proposer_priority?: InputMaybe; + voting_power?: InputMaybe; }; -/** aggregate sum on columns */ -export type Proposal_Deposit_Sum_Fields = { - __typename?: 'proposal_deposit_sum_fields'; - height?: Maybe; - proposal_id?: Maybe; +export type Bdjuno_Provider_Pre_Commit_Sum_Fields = { + __typename?: 'bdjuno_provider_pre_commit_sum_fields'; + height?: Maybe; + proposer_priority?: Maybe; + voting_power?: Maybe; }; -/** order by sum() on columns of table "proposal_deposit" */ -export type Proposal_Deposit_Sum_Order_By = { - height?: InputMaybe; - proposal_id?: InputMaybe; +export type Bdjuno_Provider_Pre_Commit_Sum_Order_By = { + height?: InputMaybe; + proposer_priority?: InputMaybe; + voting_power?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Proposal_Deposit_Var_Pop_Fields = { - __typename?: 'proposal_deposit_var_pop_fields'; +export type Bdjuno_Provider_Pre_Commit_Var_Pop_Fields = { + __typename?: 'bdjuno_provider_pre_commit_var_pop_fields'; height?: Maybe; - proposal_id?: Maybe; + proposer_priority?: Maybe; + voting_power?: Maybe; }; -/** order by var_pop() on columns of table "proposal_deposit" */ -export type Proposal_Deposit_Var_Pop_Order_By = { - height?: InputMaybe; - proposal_id?: InputMaybe; +export type Bdjuno_Provider_Pre_Commit_Var_Pop_Order_By = { + height?: InputMaybe; + proposer_priority?: InputMaybe; + voting_power?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Proposal_Deposit_Var_Samp_Fields = { - __typename?: 'proposal_deposit_var_samp_fields'; +export type Bdjuno_Provider_Pre_Commit_Var_Samp_Fields = { + __typename?: 'bdjuno_provider_pre_commit_var_samp_fields'; height?: Maybe; - proposal_id?: Maybe; + proposer_priority?: Maybe; + voting_power?: Maybe; }; -/** order by var_samp() on columns of table "proposal_deposit" */ -export type Proposal_Deposit_Var_Samp_Order_By = { - height?: InputMaybe; - proposal_id?: InputMaybe; +export type Bdjuno_Provider_Pre_Commit_Var_Samp_Order_By = { + height?: InputMaybe; + proposer_priority?: InputMaybe; + voting_power?: InputMaybe; }; -/** aggregate variance on columns */ -export type Proposal_Deposit_Variance_Fields = { - __typename?: 'proposal_deposit_variance_fields'; +export type Bdjuno_Provider_Pre_Commit_Variance_Fields = { + __typename?: 'bdjuno_provider_pre_commit_variance_fields'; height?: Maybe; - proposal_id?: Maybe; + proposer_priority?: Maybe; + voting_power?: Maybe; }; -/** order by variance() on columns of table "proposal_deposit" */ -export type Proposal_Deposit_Variance_Order_By = { - height?: InputMaybe; - proposal_id?: InputMaybe; +export type Bdjuno_Provider_Pre_Commit_Variance_Order_By = { + height?: InputMaybe; + proposer_priority?: InputMaybe; + voting_power?: InputMaybe; }; -/** aggregate max on columns */ -export type Proposal_Max_Fields = { - __typename?: 'proposal_max_fields'; - deposit_end_time?: Maybe; - description?: Maybe; - id?: Maybe; - proposal_route?: Maybe; - proposal_type?: Maybe; - proposer_address?: Maybe; +export type Bdjuno_Provider_Proposal = { + __typename?: 'bdjuno_provider_proposal'; + content: Scalars['bdjuno_provider_jsonb']; + deposit_end_time?: Maybe; + description: Scalars['String']; + id: Scalars['Int']; + proposal_deposits: Array; + proposal_deposits_aggregate: Bdjuno_Provider_Proposal_Deposit_Aggregate; + proposal_route: Scalars['String']; + proposal_tally_result?: Maybe; + proposal_tally_results: Array; + proposal_tally_results_aggregate: Bdjuno_Provider_Proposal_Tally_Result_Aggregate; + proposal_type: Scalars['String']; + proposal_votes: Array; + proposal_votes_aggregate: Bdjuno_Provider_Proposal_Vote_Aggregate; + proposer: Bdjuno_Provider_Account; + proposer_address: Scalars['String']; + staking_pool_snapshot?: Maybe; status?: Maybe; - submit_time?: Maybe; - title?: Maybe; - voting_end_time?: Maybe; - voting_start_time?: Maybe; + submit_time: Scalars['bdjuno_provider_timestamp']; + title: Scalars['String']; + validator_status_snapshots: Array; + validator_status_snapshots_aggregate: Bdjuno_Provider_Proposal_Validator_Status_Snapshot_Aggregate; + voting_end_time?: Maybe; + voting_start_time?: Maybe; }; -/** order by max() on columns of table "proposal" */ -export type Proposal_Max_Order_By = { - deposit_end_time?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - proposal_route?: InputMaybe; - proposal_type?: InputMaybe; - proposer_address?: InputMaybe; - status?: InputMaybe; - submit_time?: InputMaybe; - title?: InputMaybe; - voting_end_time?: InputMaybe; - voting_start_time?: InputMaybe; + +export type Bdjuno_Provider_ProposalContentArgs = { + path?: InputMaybe; }; -/** aggregate min on columns */ -export type Proposal_Min_Fields = { - __typename?: 'proposal_min_fields'; - deposit_end_time?: Maybe; - description?: Maybe; - id?: Maybe; - proposal_route?: Maybe; - proposal_type?: Maybe; - proposer_address?: Maybe; - status?: Maybe; - submit_time?: Maybe; - title?: Maybe; - voting_end_time?: Maybe; - voting_start_time?: Maybe; + +export type Bdjuno_Provider_ProposalProposal_DepositsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** order by min() on columns of table "proposal" */ -export type Proposal_Min_Order_By = { - deposit_end_time?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - proposal_route?: InputMaybe; - proposal_type?: InputMaybe; - proposer_address?: InputMaybe; - status?: InputMaybe; - submit_time?: InputMaybe; - title?: InputMaybe; - voting_end_time?: InputMaybe; - voting_start_time?: InputMaybe; + +export type Bdjuno_Provider_ProposalProposal_Deposits_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** Ordering options when selecting data from "proposal". */ -export type Proposal_Order_By = { - content?: InputMaybe; - deposit_end_time?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - proposal_deposits_aggregate?: InputMaybe; - proposal_route?: InputMaybe; - proposal_tally_result?: InputMaybe; - proposal_tally_results_aggregate?: InputMaybe; - proposal_type?: InputMaybe; - proposal_votes_aggregate?: InputMaybe; - proposer?: InputMaybe; - proposer_address?: InputMaybe; - staking_pool_snapshot?: InputMaybe; - status?: InputMaybe; - submit_time?: InputMaybe; - title?: InputMaybe; - validator_status_snapshots_aggregate?: InputMaybe; - voting_end_time?: InputMaybe; - voting_start_time?: InputMaybe; + +export type Bdjuno_Provider_ProposalProposal_Tally_ResultsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** select columns of table "proposal" */ -export enum Proposal_Select_Column { - /** column name */ - Content = 'content', - /** column name */ - DepositEndTime = 'deposit_end_time', - /** column name */ - Description = 'description', - /** column name */ - Id = 'id', - /** column name */ - ProposalRoute = 'proposal_route', - /** column name */ - ProposalType = 'proposal_type', - /** column name */ - ProposerAddress = 'proposer_address', - /** column name */ - Status = 'status', - /** column name */ - SubmitTime = 'submit_time', - /** column name */ - Title = 'title', - /** column name */ - VotingEndTime = 'voting_end_time', - /** column name */ - VotingStartTime = 'voting_start_time' -} -/** columns and relationships of "proposal_staking_pool_snapshot" */ -export type Proposal_Staking_Pool_Snapshot = { - __typename?: 'proposal_staking_pool_snapshot'; - bonded_tokens: Scalars['String']; - height: Scalars['bigint']; - not_bonded_tokens: Scalars['String']; - /** An object relationship */ - proposal: Proposal; - proposal_id: Scalars['Int']; +export type Bdjuno_Provider_ProposalProposal_Tally_Results_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Provider_ProposalProposal_VotesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Provider_ProposalProposal_Votes_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Provider_ProposalValidator_Status_SnapshotsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Provider_ProposalValidator_Status_Snapshots_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** aggregated selection of "proposal_staking_pool_snapshot" */ -export type Proposal_Staking_Pool_Snapshot_Aggregate = { - __typename?: 'proposal_staking_pool_snapshot_aggregate'; - aggregate?: Maybe; - nodes: Array; +export type Bdjuno_Provider_Proposal_Aggregate = { + __typename?: 'bdjuno_provider_proposal_aggregate'; + aggregate?: Maybe; + nodes: Array; }; -/** aggregate fields of "proposal_staking_pool_snapshot" */ -export type Proposal_Staking_Pool_Snapshot_Aggregate_Fields = { - __typename?: 'proposal_staking_pool_snapshot_aggregate_fields'; - avg?: Maybe; +export type Bdjuno_Provider_Proposal_Aggregate_Fields = { + __typename?: 'bdjuno_provider_proposal_aggregate_fields'; + avg?: Maybe; count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; }; -/** aggregate fields of "proposal_staking_pool_snapshot" */ -export type Proposal_Staking_Pool_Snapshot_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; +export type Bdjuno_Provider_Proposal_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; distinct?: InputMaybe; }; -/** aggregate avg on columns */ -export type Proposal_Staking_Pool_Snapshot_Avg_Fields = { - __typename?: 'proposal_staking_pool_snapshot_avg_fields'; - height?: Maybe; - proposal_id?: Maybe; +export type Bdjuno_Provider_Proposal_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; }; -/** Boolean expression to filter rows from the table "proposal_staking_pool_snapshot". All fields are combined with a logical 'AND'. */ -export type Proposal_Staking_Pool_Snapshot_Bool_Exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - bonded_tokens?: InputMaybe; - height?: InputMaybe; - not_bonded_tokens?: InputMaybe; - proposal?: InputMaybe; - proposal_id?: InputMaybe; +export type Bdjuno_Provider_Proposal_Avg_Fields = { + __typename?: 'bdjuno_provider_proposal_avg_fields'; + id?: Maybe; }; -/** aggregate max on columns */ -export type Proposal_Staking_Pool_Snapshot_Max_Fields = { - __typename?: 'proposal_staking_pool_snapshot_max_fields'; - bonded_tokens?: Maybe; - height?: Maybe; - not_bonded_tokens?: Maybe; - proposal_id?: Maybe; +export type Bdjuno_Provider_Proposal_Avg_Order_By = { + id?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + content?: InputMaybe; + deposit_end_time?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + proposal_deposits?: InputMaybe; + proposal_route?: InputMaybe; + proposal_tally_result?: InputMaybe; + proposal_tally_results?: InputMaybe; + proposal_type?: InputMaybe; + proposal_votes?: InputMaybe; + proposer?: InputMaybe; + proposer_address?: InputMaybe; + staking_pool_snapshot?: InputMaybe; + status?: InputMaybe; + submit_time?: InputMaybe; + title?: InputMaybe; + validator_status_snapshots?: InputMaybe; + voting_end_time?: InputMaybe; + voting_start_time?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Deposit = { + __typename?: 'bdjuno_provider_proposal_deposit'; + amount?: Maybe; + block?: Maybe; + depositor?: Maybe; + depositor_address?: Maybe; + height: Scalars['bdjuno_provider_bigint']; + proposal: Bdjuno_Provider_Proposal; + proposal_id: Scalars['Int']; + timestamp?: Maybe; }; -/** aggregate min on columns */ -export type Proposal_Staking_Pool_Snapshot_Min_Fields = { - __typename?: 'proposal_staking_pool_snapshot_min_fields'; - bonded_tokens?: Maybe; - height?: Maybe; - not_bonded_tokens?: Maybe; - proposal_id?: Maybe; +export type Bdjuno_Provider_Proposal_Deposit_Aggregate = { + __typename?: 'bdjuno_provider_proposal_deposit_aggregate'; + aggregate?: Maybe; + nodes: Array; }; -/** Ordering options when selecting data from "proposal_staking_pool_snapshot". */ -export type Proposal_Staking_Pool_Snapshot_Order_By = { - bonded_tokens?: InputMaybe; - height?: InputMaybe; - not_bonded_tokens?: InputMaybe; - proposal?: InputMaybe; - proposal_id?: InputMaybe; +export type Bdjuno_Provider_Proposal_Deposit_Aggregate_Fields = { + __typename?: 'bdjuno_provider_proposal_deposit_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; }; -/** select columns of table "proposal_staking_pool_snapshot" */ -export enum Proposal_Staking_Pool_Snapshot_Select_Column { - /** column name */ - BondedTokens = 'bonded_tokens', - /** column name */ - Height = 'height', - /** column name */ - NotBondedTokens = 'not_bonded_tokens', - /** column name */ - ProposalId = 'proposal_id' -} -/** aggregate stddev on columns */ -export type Proposal_Staking_Pool_Snapshot_Stddev_Fields = { - __typename?: 'proposal_staking_pool_snapshot_stddev_fields'; - height?: Maybe; - proposal_id?: Maybe; +export type Bdjuno_Provider_Proposal_Deposit_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Proposal_Staking_Pool_Snapshot_Stddev_Pop_Fields = { - __typename?: 'proposal_staking_pool_snapshot_stddev_pop_fields'; - height?: Maybe; - proposal_id?: Maybe; +export type Bdjuno_Provider_Proposal_Deposit_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Proposal_Staking_Pool_Snapshot_Stddev_Samp_Fields = { - __typename?: 'proposal_staking_pool_snapshot_stddev_samp_fields'; +export type Bdjuno_Provider_Proposal_Deposit_Avg_Fields = { + __typename?: 'bdjuno_provider_proposal_deposit_avg_fields'; height?: Maybe; proposal_id?: Maybe; }; -/** aggregate sum on columns */ -export type Proposal_Staking_Pool_Snapshot_Sum_Fields = { - __typename?: 'proposal_staking_pool_snapshot_sum_fields'; - height?: Maybe; +export type Bdjuno_Provider_Proposal_Deposit_Avg_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Deposit_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + amount?: InputMaybe; + block?: InputMaybe; + depositor?: InputMaybe; + depositor_address?: InputMaybe; + height?: InputMaybe; + proposal?: InputMaybe; + proposal_id?: InputMaybe; + timestamp?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Deposit_Max_Fields = { + __typename?: 'bdjuno_provider_proposal_deposit_max_fields'; + depositor_address?: Maybe; + height?: Maybe; proposal_id?: Maybe; + timestamp?: Maybe; }; -/** aggregate var_pop on columns */ -export type Proposal_Staking_Pool_Snapshot_Var_Pop_Fields = { - __typename?: 'proposal_staking_pool_snapshot_var_pop_fields'; +export type Bdjuno_Provider_Proposal_Deposit_Max_Order_By = { + depositor_address?: InputMaybe; + height?: InputMaybe; + proposal_id?: InputMaybe; + timestamp?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Deposit_Min_Fields = { + __typename?: 'bdjuno_provider_proposal_deposit_min_fields'; + depositor_address?: Maybe; + height?: Maybe; + proposal_id?: Maybe; + timestamp?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Deposit_Min_Order_By = { + depositor_address?: InputMaybe; + height?: InputMaybe; + proposal_id?: InputMaybe; + timestamp?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Deposit_Order_By = { + amount?: InputMaybe; + block?: InputMaybe; + depositor?: InputMaybe; + depositor_address?: InputMaybe; + height?: InputMaybe; + proposal?: InputMaybe; + proposal_id?: InputMaybe; + timestamp?: InputMaybe; +}; + +export enum Bdjuno_Provider_Proposal_Deposit_Select_Column { + Amount = 'amount', + DepositorAddress = 'depositor_address', + Height = 'height', + ProposalId = 'proposal_id', + Timestamp = 'timestamp' +} + +export type Bdjuno_Provider_Proposal_Deposit_Stddev_Fields = { + __typename?: 'bdjuno_provider_proposal_deposit_stddev_fields'; + height?: Maybe; + proposal_id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Deposit_Stddev_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Deposit_Stddev_Pop_Fields = { + __typename?: 'bdjuno_provider_proposal_deposit_stddev_pop_fields'; + height?: Maybe; + proposal_id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Deposit_Stddev_Pop_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Deposit_Stddev_Samp_Fields = { + __typename?: 'bdjuno_provider_proposal_deposit_stddev_samp_fields'; + height?: Maybe; + proposal_id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Deposit_Stddev_Samp_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Deposit_Sum_Fields = { + __typename?: 'bdjuno_provider_proposal_deposit_sum_fields'; + height?: Maybe; + proposal_id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Deposit_Sum_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Deposit_Var_Pop_Fields = { + __typename?: 'bdjuno_provider_proposal_deposit_var_pop_fields'; + height?: Maybe; + proposal_id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Deposit_Var_Pop_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Deposit_Var_Samp_Fields = { + __typename?: 'bdjuno_provider_proposal_deposit_var_samp_fields'; + height?: Maybe; + proposal_id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Deposit_Var_Samp_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Deposit_Variance_Fields = { + __typename?: 'bdjuno_provider_proposal_deposit_variance_fields'; + height?: Maybe; + proposal_id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Deposit_Variance_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Max_Fields = { + __typename?: 'bdjuno_provider_proposal_max_fields'; + deposit_end_time?: Maybe; + description?: Maybe; + id?: Maybe; + proposal_route?: Maybe; + proposal_type?: Maybe; + proposer_address?: Maybe; + status?: Maybe; + submit_time?: Maybe; + title?: Maybe; + voting_end_time?: Maybe; + voting_start_time?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Max_Order_By = { + deposit_end_time?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + proposal_route?: InputMaybe; + proposal_type?: InputMaybe; + proposer_address?: InputMaybe; + status?: InputMaybe; + submit_time?: InputMaybe; + title?: InputMaybe; + voting_end_time?: InputMaybe; + voting_start_time?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Min_Fields = { + __typename?: 'bdjuno_provider_proposal_min_fields'; + deposit_end_time?: Maybe; + description?: Maybe; + id?: Maybe; + proposal_route?: Maybe; + proposal_type?: Maybe; + proposer_address?: Maybe; + status?: Maybe; + submit_time?: Maybe; + title?: Maybe; + voting_end_time?: Maybe; + voting_start_time?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Min_Order_By = { + deposit_end_time?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + proposal_route?: InputMaybe; + proposal_type?: InputMaybe; + proposer_address?: InputMaybe; + status?: InputMaybe; + submit_time?: InputMaybe; + title?: InputMaybe; + voting_end_time?: InputMaybe; + voting_start_time?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Order_By = { + content?: InputMaybe; + deposit_end_time?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + proposal_deposits_aggregate?: InputMaybe; + proposal_route?: InputMaybe; + proposal_tally_result?: InputMaybe; + proposal_tally_results_aggregate?: InputMaybe; + proposal_type?: InputMaybe; + proposal_votes_aggregate?: InputMaybe; + proposer?: InputMaybe; + proposer_address?: InputMaybe; + staking_pool_snapshot?: InputMaybe; + status?: InputMaybe; + submit_time?: InputMaybe; + title?: InputMaybe; + validator_status_snapshots_aggregate?: InputMaybe; + voting_end_time?: InputMaybe; + voting_start_time?: InputMaybe; +}; + +export enum Bdjuno_Provider_Proposal_Select_Column { + Content = 'content', + DepositEndTime = 'deposit_end_time', + Description = 'description', + Id = 'id', + ProposalRoute = 'proposal_route', + ProposalType = 'proposal_type', + ProposerAddress = 'proposer_address', + Status = 'status', + SubmitTime = 'submit_time', + Title = 'title', + VotingEndTime = 'voting_end_time', + VotingStartTime = 'voting_start_time' +} + +export type Bdjuno_Provider_Proposal_Staking_Pool_Snapshot = { + __typename?: 'bdjuno_provider_proposal_staking_pool_snapshot'; + bonded_tokens: Scalars['String']; + height: Scalars['bdjuno_provider_bigint']; + not_bonded_tokens: Scalars['String']; + proposal: Bdjuno_Provider_Proposal; + proposal_id: Scalars['Int']; +}; + +export type Bdjuno_Provider_Proposal_Staking_Pool_Snapshot_Aggregate = { + __typename?: 'bdjuno_provider_proposal_staking_pool_snapshot_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +export type Bdjuno_Provider_Proposal_Staking_Pool_Snapshot_Aggregate_Fields = { + __typename?: 'bdjuno_provider_proposal_staking_pool_snapshot_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + + +export type Bdjuno_Provider_Proposal_Staking_Pool_Snapshot_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Staking_Pool_Snapshot_Avg_Fields = { + __typename?: 'bdjuno_provider_proposal_staking_pool_snapshot_avg_fields'; + height?: Maybe; + proposal_id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Staking_Pool_Snapshot_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + bonded_tokens?: InputMaybe; + height?: InputMaybe; + not_bonded_tokens?: InputMaybe; + proposal?: InputMaybe; + proposal_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Staking_Pool_Snapshot_Max_Fields = { + __typename?: 'bdjuno_provider_proposal_staking_pool_snapshot_max_fields'; + bonded_tokens?: Maybe; + height?: Maybe; + not_bonded_tokens?: Maybe; + proposal_id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Staking_Pool_Snapshot_Min_Fields = { + __typename?: 'bdjuno_provider_proposal_staking_pool_snapshot_min_fields'; + bonded_tokens?: Maybe; + height?: Maybe; + not_bonded_tokens?: Maybe; + proposal_id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Staking_Pool_Snapshot_Order_By = { + bonded_tokens?: InputMaybe; + height?: InputMaybe; + not_bonded_tokens?: InputMaybe; + proposal?: InputMaybe; + proposal_id?: InputMaybe; +}; + +export enum Bdjuno_Provider_Proposal_Staking_Pool_Snapshot_Select_Column { + BondedTokens = 'bonded_tokens', + Height = 'height', + NotBondedTokens = 'not_bonded_tokens', + ProposalId = 'proposal_id' +} + +export type Bdjuno_Provider_Proposal_Staking_Pool_Snapshot_Stddev_Fields = { + __typename?: 'bdjuno_provider_proposal_staking_pool_snapshot_stddev_fields'; + height?: Maybe; + proposal_id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Staking_Pool_Snapshot_Stddev_Pop_Fields = { + __typename?: 'bdjuno_provider_proposal_staking_pool_snapshot_stddev_pop_fields'; + height?: Maybe; + proposal_id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Staking_Pool_Snapshot_Stddev_Samp_Fields = { + __typename?: 'bdjuno_provider_proposal_staking_pool_snapshot_stddev_samp_fields'; + height?: Maybe; + proposal_id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Staking_Pool_Snapshot_Sum_Fields = { + __typename?: 'bdjuno_provider_proposal_staking_pool_snapshot_sum_fields'; + height?: Maybe; + proposal_id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Staking_Pool_Snapshot_Var_Pop_Fields = { + __typename?: 'bdjuno_provider_proposal_staking_pool_snapshot_var_pop_fields'; + height?: Maybe; + proposal_id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Staking_Pool_Snapshot_Var_Samp_Fields = { + __typename?: 'bdjuno_provider_proposal_staking_pool_snapshot_var_samp_fields'; + height?: Maybe; + proposal_id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Staking_Pool_Snapshot_Variance_Fields = { + __typename?: 'bdjuno_provider_proposal_staking_pool_snapshot_variance_fields'; + height?: Maybe; + proposal_id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Stddev_Fields = { + __typename?: 'bdjuno_provider_proposal_stddev_fields'; + id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Stddev_Order_By = { + id?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Stddev_Pop_Fields = { + __typename?: 'bdjuno_provider_proposal_stddev_pop_fields'; + id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Stddev_Pop_Order_By = { + id?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Stddev_Samp_Fields = { + __typename?: 'bdjuno_provider_proposal_stddev_samp_fields'; + id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Stddev_Samp_Order_By = { + id?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Sum_Fields = { + __typename?: 'bdjuno_provider_proposal_sum_fields'; + id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Sum_Order_By = { + id?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Tally_Result = { + __typename?: 'bdjuno_provider_proposal_tally_result'; + abstain: Scalars['String']; + height: Scalars['bdjuno_provider_bigint']; + no: Scalars['String']; + no_with_veto: Scalars['String']; + proposal: Bdjuno_Provider_Proposal; + proposal_id: Scalars['Int']; + yes: Scalars['String']; +}; + +export type Bdjuno_Provider_Proposal_Tally_Result_Aggregate = { + __typename?: 'bdjuno_provider_proposal_tally_result_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +export type Bdjuno_Provider_Proposal_Tally_Result_Aggregate_Fields = { + __typename?: 'bdjuno_provider_proposal_tally_result_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + + +export type Bdjuno_Provider_Proposal_Tally_Result_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Tally_Result_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Tally_Result_Avg_Fields = { + __typename?: 'bdjuno_provider_proposal_tally_result_avg_fields'; + height?: Maybe; + proposal_id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Tally_Result_Avg_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Tally_Result_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + abstain?: InputMaybe; + height?: InputMaybe; + no?: InputMaybe; + no_with_veto?: InputMaybe; + proposal?: InputMaybe; + proposal_id?: InputMaybe; + yes?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Tally_Result_Max_Fields = { + __typename?: 'bdjuno_provider_proposal_tally_result_max_fields'; + abstain?: Maybe; + height?: Maybe; + no?: Maybe; + no_with_veto?: Maybe; + proposal_id?: Maybe; + yes?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Tally_Result_Max_Order_By = { + abstain?: InputMaybe; + height?: InputMaybe; + no?: InputMaybe; + no_with_veto?: InputMaybe; + proposal_id?: InputMaybe; + yes?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Tally_Result_Min_Fields = { + __typename?: 'bdjuno_provider_proposal_tally_result_min_fields'; + abstain?: Maybe; + height?: Maybe; + no?: Maybe; + no_with_veto?: Maybe; + proposal_id?: Maybe; + yes?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Tally_Result_Min_Order_By = { + abstain?: InputMaybe; + height?: InputMaybe; + no?: InputMaybe; + no_with_veto?: InputMaybe; + proposal_id?: InputMaybe; + yes?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Tally_Result_Order_By = { + abstain?: InputMaybe; + height?: InputMaybe; + no?: InputMaybe; + no_with_veto?: InputMaybe; + proposal?: InputMaybe; + proposal_id?: InputMaybe; + yes?: InputMaybe; +}; + +export enum Bdjuno_Provider_Proposal_Tally_Result_Select_Column { + Abstain = 'abstain', + Height = 'height', + No = 'no', + NoWithVeto = 'no_with_veto', + ProposalId = 'proposal_id', + Yes = 'yes' +} + +export type Bdjuno_Provider_Proposal_Tally_Result_Stddev_Fields = { + __typename?: 'bdjuno_provider_proposal_tally_result_stddev_fields'; height?: Maybe; proposal_id?: Maybe; }; -/** aggregate var_samp on columns */ -export type Proposal_Staking_Pool_Snapshot_Var_Samp_Fields = { - __typename?: 'proposal_staking_pool_snapshot_var_samp_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; +export type Bdjuno_Provider_Proposal_Tally_Result_Stddev_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Tally_Result_Stddev_Pop_Fields = { + __typename?: 'bdjuno_provider_proposal_tally_result_stddev_pop_fields'; + height?: Maybe; + proposal_id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Tally_Result_Stddev_Pop_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Tally_Result_Stddev_Samp_Fields = { + __typename?: 'bdjuno_provider_proposal_tally_result_stddev_samp_fields'; + height?: Maybe; + proposal_id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Tally_Result_Stddev_Samp_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Tally_Result_Sum_Fields = { + __typename?: 'bdjuno_provider_proposal_tally_result_sum_fields'; + height?: Maybe; + proposal_id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Tally_Result_Sum_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Tally_Result_Var_Pop_Fields = { + __typename?: 'bdjuno_provider_proposal_tally_result_var_pop_fields'; + height?: Maybe; + proposal_id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Tally_Result_Var_Pop_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Tally_Result_Var_Samp_Fields = { + __typename?: 'bdjuno_provider_proposal_tally_result_var_samp_fields'; + height?: Maybe; + proposal_id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Tally_Result_Var_Samp_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Tally_Result_Variance_Fields = { + __typename?: 'bdjuno_provider_proposal_tally_result_variance_fields'; + height?: Maybe; + proposal_id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Tally_Result_Variance_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Validator_Status_Snapshot = { + __typename?: 'bdjuno_provider_proposal_validator_status_snapshot'; + height: Scalars['bdjuno_provider_bigint']; + id: Scalars['Int']; + jailed: Scalars['Boolean']; + proposal?: Maybe; + proposal_id?: Maybe; + status: Scalars['Int']; + validator: Bdjuno_Provider_Validator; + validator_address: Scalars['String']; + voting_power: Scalars['bdjuno_provider_bigint']; +}; + +export type Bdjuno_Provider_Proposal_Validator_Status_Snapshot_Aggregate = { + __typename?: 'bdjuno_provider_proposal_validator_status_snapshot_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +export type Bdjuno_Provider_Proposal_Validator_Status_Snapshot_Aggregate_Fields = { + __typename?: 'bdjuno_provider_proposal_validator_status_snapshot_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + + +export type Bdjuno_Provider_Proposal_Validator_Status_Snapshot_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Validator_Status_Snapshot_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Validator_Status_Snapshot_Avg_Fields = { + __typename?: 'bdjuno_provider_proposal_validator_status_snapshot_avg_fields'; + height?: Maybe; + id?: Maybe; + proposal_id?: Maybe; + status?: Maybe; + voting_power?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Validator_Status_Snapshot_Avg_Order_By = { + height?: InputMaybe; + id?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + voting_power?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Validator_Status_Snapshot_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + height?: InputMaybe; + id?: InputMaybe; + jailed?: InputMaybe; + proposal?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + validator?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Validator_Status_Snapshot_Max_Fields = { + __typename?: 'bdjuno_provider_proposal_validator_status_snapshot_max_fields'; + height?: Maybe; + id?: Maybe; + proposal_id?: Maybe; + status?: Maybe; + validator_address?: Maybe; + voting_power?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Validator_Status_Snapshot_Max_Order_By = { + height?: InputMaybe; + id?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Validator_Status_Snapshot_Min_Fields = { + __typename?: 'bdjuno_provider_proposal_validator_status_snapshot_min_fields'; + height?: Maybe; + id?: Maybe; + proposal_id?: Maybe; + status?: Maybe; + validator_address?: Maybe; + voting_power?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Validator_Status_Snapshot_Min_Order_By = { + height?: InputMaybe; + id?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Validator_Status_Snapshot_Order_By = { + height?: InputMaybe; + id?: InputMaybe; + jailed?: InputMaybe; + proposal?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + validator?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; +}; + +export enum Bdjuno_Provider_Proposal_Validator_Status_Snapshot_Select_Column { + Height = 'height', + Id = 'id', + Jailed = 'jailed', + ProposalId = 'proposal_id', + Status = 'status', + ValidatorAddress = 'validator_address', + VotingPower = 'voting_power' +} + +export type Bdjuno_Provider_Proposal_Validator_Status_Snapshot_Stddev_Fields = { + __typename?: 'bdjuno_provider_proposal_validator_status_snapshot_stddev_fields'; + height?: Maybe; + id?: Maybe; + proposal_id?: Maybe; + status?: Maybe; + voting_power?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Validator_Status_Snapshot_Stddev_Order_By = { + height?: InputMaybe; + id?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + voting_power?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Validator_Status_Snapshot_Stddev_Pop_Fields = { + __typename?: 'bdjuno_provider_proposal_validator_status_snapshot_stddev_pop_fields'; + height?: Maybe; + id?: Maybe; + proposal_id?: Maybe; + status?: Maybe; + voting_power?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Validator_Status_Snapshot_Stddev_Pop_Order_By = { + height?: InputMaybe; + id?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + voting_power?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Validator_Status_Snapshot_Stddev_Samp_Fields = { + __typename?: 'bdjuno_provider_proposal_validator_status_snapshot_stddev_samp_fields'; + height?: Maybe; + id?: Maybe; + proposal_id?: Maybe; + status?: Maybe; + voting_power?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Validator_Status_Snapshot_Stddev_Samp_Order_By = { + height?: InputMaybe; + id?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + voting_power?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Validator_Status_Snapshot_Sum_Fields = { + __typename?: 'bdjuno_provider_proposal_validator_status_snapshot_sum_fields'; + height?: Maybe; + id?: Maybe; + proposal_id?: Maybe; + status?: Maybe; + voting_power?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Validator_Status_Snapshot_Sum_Order_By = { + height?: InputMaybe; + id?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + voting_power?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Validator_Status_Snapshot_Var_Pop_Fields = { + __typename?: 'bdjuno_provider_proposal_validator_status_snapshot_var_pop_fields'; + height?: Maybe; + id?: Maybe; + proposal_id?: Maybe; + status?: Maybe; + voting_power?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Validator_Status_Snapshot_Var_Pop_Order_By = { + height?: InputMaybe; + id?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + voting_power?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Validator_Status_Snapshot_Var_Samp_Fields = { + __typename?: 'bdjuno_provider_proposal_validator_status_snapshot_var_samp_fields'; + height?: Maybe; + id?: Maybe; + proposal_id?: Maybe; + status?: Maybe; + voting_power?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Validator_Status_Snapshot_Var_Samp_Order_By = { + height?: InputMaybe; + id?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + voting_power?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Validator_Status_Snapshot_Variance_Fields = { + __typename?: 'bdjuno_provider_proposal_validator_status_snapshot_variance_fields'; + height?: Maybe; + id?: Maybe; + proposal_id?: Maybe; + status?: Maybe; + voting_power?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Validator_Status_Snapshot_Variance_Order_By = { + height?: InputMaybe; + id?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + voting_power?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Var_Pop_Fields = { + __typename?: 'bdjuno_provider_proposal_var_pop_fields'; + id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Var_Pop_Order_By = { + id?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Var_Samp_Fields = { + __typename?: 'bdjuno_provider_proposal_var_samp_fields'; + id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Var_Samp_Order_By = { + id?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Variance_Fields = { + __typename?: 'bdjuno_provider_proposal_variance_fields'; + id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Variance_Order_By = { + id?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Vote = { + __typename?: 'bdjuno_provider_proposal_vote'; + account: Bdjuno_Provider_Account; + block: Bdjuno_Provider_Block; + height: Scalars['bdjuno_provider_bigint']; + option: Scalars['String']; + proposal: Bdjuno_Provider_Proposal; + proposal_id: Scalars['Int']; + timestamp?: Maybe; + voter_address: Scalars['String']; +}; + +export type Bdjuno_Provider_Proposal_Vote_Aggregate = { + __typename?: 'bdjuno_provider_proposal_vote_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +export type Bdjuno_Provider_Proposal_Vote_Aggregate_Fields = { + __typename?: 'bdjuno_provider_proposal_vote_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + + +export type Bdjuno_Provider_Proposal_Vote_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Vote_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Vote_Avg_Fields = { + __typename?: 'bdjuno_provider_proposal_vote_avg_fields'; + height?: Maybe; + proposal_id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Vote_Avg_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Vote_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + account?: InputMaybe; + block?: InputMaybe; + height?: InputMaybe; + option?: InputMaybe; + proposal?: InputMaybe; + proposal_id?: InputMaybe; + timestamp?: InputMaybe; + voter_address?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Vote_Max_Fields = { + __typename?: 'bdjuno_provider_proposal_vote_max_fields'; + height?: Maybe; + option?: Maybe; + proposal_id?: Maybe; + timestamp?: Maybe; + voter_address?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Vote_Max_Order_By = { + height?: InputMaybe; + option?: InputMaybe; + proposal_id?: InputMaybe; + timestamp?: InputMaybe; + voter_address?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Vote_Min_Fields = { + __typename?: 'bdjuno_provider_proposal_vote_min_fields'; + height?: Maybe; + option?: Maybe; + proposal_id?: Maybe; + timestamp?: Maybe; + voter_address?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Vote_Min_Order_By = { + height?: InputMaybe; + option?: InputMaybe; + proposal_id?: InputMaybe; + timestamp?: InputMaybe; + voter_address?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Vote_Order_By = { + account?: InputMaybe; + block?: InputMaybe; + height?: InputMaybe; + option?: InputMaybe; + proposal?: InputMaybe; + proposal_id?: InputMaybe; + timestamp?: InputMaybe; + voter_address?: InputMaybe; +}; + +export enum Bdjuno_Provider_Proposal_Vote_Select_Column { + Height = 'height', + Option = 'option', + ProposalId = 'proposal_id', + Timestamp = 'timestamp', + VoterAddress = 'voter_address' +} + +export type Bdjuno_Provider_Proposal_Vote_Stddev_Fields = { + __typename?: 'bdjuno_provider_proposal_vote_stddev_fields'; + height?: Maybe; + proposal_id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Vote_Stddev_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Vote_Stddev_Pop_Fields = { + __typename?: 'bdjuno_provider_proposal_vote_stddev_pop_fields'; + height?: Maybe; + proposal_id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Vote_Stddev_Pop_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Vote_Stddev_Samp_Fields = { + __typename?: 'bdjuno_provider_proposal_vote_stddev_samp_fields'; + height?: Maybe; + proposal_id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Vote_Stddev_Samp_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Vote_Sum_Fields = { + __typename?: 'bdjuno_provider_proposal_vote_sum_fields'; + height?: Maybe; + proposal_id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Vote_Sum_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Vote_Var_Pop_Fields = { + __typename?: 'bdjuno_provider_proposal_vote_var_pop_fields'; + height?: Maybe; + proposal_id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Vote_Var_Pop_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Vote_Var_Samp_Fields = { + __typename?: 'bdjuno_provider_proposal_vote_var_samp_fields'; + height?: Maybe; + proposal_id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Vote_Var_Samp_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Proposal_Vote_Variance_Fields = { + __typename?: 'bdjuno_provider_proposal_vote_variance_fields'; + height?: Maybe; + proposal_id?: Maybe; +}; + +export type Bdjuno_Provider_Proposal_Vote_Variance_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Slashing_Params = { + __typename?: 'bdjuno_provider_slashing_params'; + height: Scalars['bdjuno_provider_bigint']; + one_row_id: Scalars['Boolean']; + params: Scalars['bdjuno_provider_jsonb']; +}; + + +export type Bdjuno_Provider_Slashing_ParamsParamsArgs = { + path?: InputMaybe; +}; + +export type Bdjuno_Provider_Slashing_Params_Aggregate = { + __typename?: 'bdjuno_provider_slashing_params_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +export type Bdjuno_Provider_Slashing_Params_Aggregate_Fields = { + __typename?: 'bdjuno_provider_slashing_params_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + + +export type Bdjuno_Provider_Slashing_Params_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +export type Bdjuno_Provider_Slashing_Params_Avg_Fields = { + __typename?: 'bdjuno_provider_slashing_params_avg_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Slashing_Params_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + height?: InputMaybe; + one_row_id?: InputMaybe; + params?: InputMaybe; +}; + +export type Bdjuno_Provider_Slashing_Params_Max_Fields = { + __typename?: 'bdjuno_provider_slashing_params_max_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Slashing_Params_Min_Fields = { + __typename?: 'bdjuno_provider_slashing_params_min_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Slashing_Params_Order_By = { + height?: InputMaybe; + one_row_id?: InputMaybe; + params?: InputMaybe; +}; + +export enum Bdjuno_Provider_Slashing_Params_Select_Column { + Height = 'height', + OneRowId = 'one_row_id', + Params = 'params' +} + +export type Bdjuno_Provider_Slashing_Params_Stddev_Fields = { + __typename?: 'bdjuno_provider_slashing_params_stddev_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Slashing_Params_Stddev_Pop_Fields = { + __typename?: 'bdjuno_provider_slashing_params_stddev_pop_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Slashing_Params_Stddev_Samp_Fields = { + __typename?: 'bdjuno_provider_slashing_params_stddev_samp_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Slashing_Params_Sum_Fields = { + __typename?: 'bdjuno_provider_slashing_params_sum_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Slashing_Params_Var_Pop_Fields = { + __typename?: 'bdjuno_provider_slashing_params_var_pop_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Slashing_Params_Var_Samp_Fields = { + __typename?: 'bdjuno_provider_slashing_params_var_samp_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Slashing_Params_Variance_Fields = { + __typename?: 'bdjuno_provider_slashing_params_variance_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Smallint_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +export type Bdjuno_Provider_Software_Upgrade_Plan = { + __typename?: 'bdjuno_provider_software_upgrade_plan'; + height: Scalars['bdjuno_provider_bigint']; + info: Scalars['String']; + plan_name: Scalars['String']; + proposal?: Maybe; + proposal_id?: Maybe; + upgrade_height: Scalars['bdjuno_provider_bigint']; +}; + +export type Bdjuno_Provider_Software_Upgrade_Plan_Aggregate = { + __typename?: 'bdjuno_provider_software_upgrade_plan_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +export type Bdjuno_Provider_Software_Upgrade_Plan_Aggregate_Fields = { + __typename?: 'bdjuno_provider_software_upgrade_plan_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + + +export type Bdjuno_Provider_Software_Upgrade_Plan_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +export type Bdjuno_Provider_Software_Upgrade_Plan_Avg_Fields = { + __typename?: 'bdjuno_provider_software_upgrade_plan_avg_fields'; + height?: Maybe; + proposal_id?: Maybe; + upgrade_height?: Maybe; +}; + +export type Bdjuno_Provider_Software_Upgrade_Plan_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + height?: InputMaybe; + info?: InputMaybe; + plan_name?: InputMaybe; + proposal?: InputMaybe; + proposal_id?: InputMaybe; + upgrade_height?: InputMaybe; +}; + +export type Bdjuno_Provider_Software_Upgrade_Plan_Max_Fields = { + __typename?: 'bdjuno_provider_software_upgrade_plan_max_fields'; + height?: Maybe; + info?: Maybe; + plan_name?: Maybe; + proposal_id?: Maybe; + upgrade_height?: Maybe; +}; + +export type Bdjuno_Provider_Software_Upgrade_Plan_Min_Fields = { + __typename?: 'bdjuno_provider_software_upgrade_plan_min_fields'; + height?: Maybe; + info?: Maybe; + plan_name?: Maybe; + proposal_id?: Maybe; + upgrade_height?: Maybe; +}; + +export type Bdjuno_Provider_Software_Upgrade_Plan_Order_By = { + height?: InputMaybe; + info?: InputMaybe; + plan_name?: InputMaybe; + proposal?: InputMaybe; + proposal_id?: InputMaybe; + upgrade_height?: InputMaybe; +}; + +export enum Bdjuno_Provider_Software_Upgrade_Plan_Select_Column { + Height = 'height', + Info = 'info', + PlanName = 'plan_name', + ProposalId = 'proposal_id', + UpgradeHeight = 'upgrade_height' +} + +export type Bdjuno_Provider_Software_Upgrade_Plan_Stddev_Fields = { + __typename?: 'bdjuno_provider_software_upgrade_plan_stddev_fields'; + height?: Maybe; + proposal_id?: Maybe; + upgrade_height?: Maybe; +}; + +export type Bdjuno_Provider_Software_Upgrade_Plan_Stddev_Pop_Fields = { + __typename?: 'bdjuno_provider_software_upgrade_plan_stddev_pop_fields'; + height?: Maybe; + proposal_id?: Maybe; + upgrade_height?: Maybe; +}; + +export type Bdjuno_Provider_Software_Upgrade_Plan_Stddev_Samp_Fields = { + __typename?: 'bdjuno_provider_software_upgrade_plan_stddev_samp_fields'; + height?: Maybe; + proposal_id?: Maybe; + upgrade_height?: Maybe; +}; + +export type Bdjuno_Provider_Software_Upgrade_Plan_Sum_Fields = { + __typename?: 'bdjuno_provider_software_upgrade_plan_sum_fields'; + height?: Maybe; + proposal_id?: Maybe; + upgrade_height?: Maybe; +}; + +export type Bdjuno_Provider_Software_Upgrade_Plan_Var_Pop_Fields = { + __typename?: 'bdjuno_provider_software_upgrade_plan_var_pop_fields'; + height?: Maybe; + proposal_id?: Maybe; + upgrade_height?: Maybe; +}; + +export type Bdjuno_Provider_Software_Upgrade_Plan_Var_Samp_Fields = { + __typename?: 'bdjuno_provider_software_upgrade_plan_var_samp_fields'; + height?: Maybe; + proposal_id?: Maybe; + upgrade_height?: Maybe; +}; + +export type Bdjuno_Provider_Software_Upgrade_Plan_Variance_Fields = { + __typename?: 'bdjuno_provider_software_upgrade_plan_variance_fields'; + height?: Maybe; + proposal_id?: Maybe; + upgrade_height?: Maybe; +}; + +export type Bdjuno_Provider_Staking_Params = { + __typename?: 'bdjuno_provider_staking_params'; + height: Scalars['bdjuno_provider_bigint']; + one_row_id: Scalars['Boolean']; + params: Scalars['bdjuno_provider_jsonb']; +}; + + +export type Bdjuno_Provider_Staking_ParamsParamsArgs = { + path?: InputMaybe; +}; + +export type Bdjuno_Provider_Staking_Params_Aggregate = { + __typename?: 'bdjuno_provider_staking_params_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +export type Bdjuno_Provider_Staking_Params_Aggregate_Fields = { + __typename?: 'bdjuno_provider_staking_params_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + + +export type Bdjuno_Provider_Staking_Params_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +export type Bdjuno_Provider_Staking_Params_Avg_Fields = { + __typename?: 'bdjuno_provider_staking_params_avg_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Staking_Params_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + height?: InputMaybe; + one_row_id?: InputMaybe; + params?: InputMaybe; +}; + +export type Bdjuno_Provider_Staking_Params_Max_Fields = { + __typename?: 'bdjuno_provider_staking_params_max_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Staking_Params_Min_Fields = { + __typename?: 'bdjuno_provider_staking_params_min_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Staking_Params_Order_By = { + height?: InputMaybe; + one_row_id?: InputMaybe; + params?: InputMaybe; +}; + +export enum Bdjuno_Provider_Staking_Params_Select_Column { + Height = 'height', + OneRowId = 'one_row_id', + Params = 'params' +} + +export type Bdjuno_Provider_Staking_Params_Stddev_Fields = { + __typename?: 'bdjuno_provider_staking_params_stddev_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Staking_Params_Stddev_Pop_Fields = { + __typename?: 'bdjuno_provider_staking_params_stddev_pop_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Staking_Params_Stddev_Samp_Fields = { + __typename?: 'bdjuno_provider_staking_params_stddev_samp_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Staking_Params_Sum_Fields = { + __typename?: 'bdjuno_provider_staking_params_sum_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Staking_Params_Var_Pop_Fields = { + __typename?: 'bdjuno_provider_staking_params_var_pop_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Staking_Params_Var_Samp_Fields = { + __typename?: 'bdjuno_provider_staking_params_var_samp_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Staking_Params_Variance_Fields = { + __typename?: 'bdjuno_provider_staking_params_variance_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Staking_Pool = { + __typename?: 'bdjuno_provider_staking_pool'; + bonded_tokens: Scalars['String']; + height: Scalars['bdjuno_provider_bigint']; + not_bonded_tokens: Scalars['String']; + staked_not_bonded_tokens?: Maybe; + unbonding_tokens?: Maybe; +}; + +export type Bdjuno_Provider_Staking_Pool_Aggregate = { + __typename?: 'bdjuno_provider_staking_pool_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +export type Bdjuno_Provider_Staking_Pool_Aggregate_Fields = { + __typename?: 'bdjuno_provider_staking_pool_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + + +export type Bdjuno_Provider_Staking_Pool_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +export type Bdjuno_Provider_Staking_Pool_Avg_Fields = { + __typename?: 'bdjuno_provider_staking_pool_avg_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Staking_Pool_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + bonded_tokens?: InputMaybe; + height?: InputMaybe; + not_bonded_tokens?: InputMaybe; + staked_not_bonded_tokens?: InputMaybe; + unbonding_tokens?: InputMaybe; +}; + +export type Bdjuno_Provider_Staking_Pool_Max_Fields = { + __typename?: 'bdjuno_provider_staking_pool_max_fields'; + bonded_tokens?: Maybe; + height?: Maybe; + not_bonded_tokens?: Maybe; + staked_not_bonded_tokens?: Maybe; + unbonding_tokens?: Maybe; +}; + +export type Bdjuno_Provider_Staking_Pool_Min_Fields = { + __typename?: 'bdjuno_provider_staking_pool_min_fields'; + bonded_tokens?: Maybe; + height?: Maybe; + not_bonded_tokens?: Maybe; + staked_not_bonded_tokens?: Maybe; + unbonding_tokens?: Maybe; +}; + +export type Bdjuno_Provider_Staking_Pool_Order_By = { + bonded_tokens?: InputMaybe; + height?: InputMaybe; + not_bonded_tokens?: InputMaybe; + staked_not_bonded_tokens?: InputMaybe; + unbonding_tokens?: InputMaybe; +}; + +export enum Bdjuno_Provider_Staking_Pool_Select_Column { + BondedTokens = 'bonded_tokens', + Height = 'height', + NotBondedTokens = 'not_bonded_tokens', + StakedNotBondedTokens = 'staked_not_bonded_tokens', + UnbondingTokens = 'unbonding_tokens' +} + +export type Bdjuno_Provider_Staking_Pool_Stddev_Fields = { + __typename?: 'bdjuno_provider_staking_pool_stddev_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Staking_Pool_Stddev_Pop_Fields = { + __typename?: 'bdjuno_provider_staking_pool_stddev_pop_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Staking_Pool_Stddev_Samp_Fields = { + __typename?: 'bdjuno_provider_staking_pool_stddev_samp_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Staking_Pool_Sum_Fields = { + __typename?: 'bdjuno_provider_staking_pool_sum_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Staking_Pool_Var_Pop_Fields = { + __typename?: 'bdjuno_provider_staking_pool_var_pop_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Staking_Pool_Var_Samp_Fields = { + __typename?: 'bdjuno_provider_staking_pool_var_samp_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Staking_Pool_Variance_Fields = { + __typename?: 'bdjuno_provider_staking_pool_variance_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Supply = { + __typename?: 'bdjuno_provider_supply'; + coins: Scalars['bdjuno_provider__coin']; + height: Scalars['bdjuno_provider_bigint']; +}; + +export type Bdjuno_Provider_Supply_Aggregate = { + __typename?: 'bdjuno_provider_supply_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +export type Bdjuno_Provider_Supply_Aggregate_Fields = { + __typename?: 'bdjuno_provider_supply_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + + +export type Bdjuno_Provider_Supply_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +export type Bdjuno_Provider_Supply_Avg_Fields = { + __typename?: 'bdjuno_provider_supply_avg_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Supply_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + coins?: InputMaybe; + height?: InputMaybe; +}; + +export type Bdjuno_Provider_Supply_Max_Fields = { + __typename?: 'bdjuno_provider_supply_max_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Supply_Min_Fields = { + __typename?: 'bdjuno_provider_supply_min_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Supply_Order_By = { + coins?: InputMaybe; + height?: InputMaybe; +}; + +export enum Bdjuno_Provider_Supply_Select_Column { + Coins = 'coins', + Height = 'height' +} + +export type Bdjuno_Provider_Supply_Stddev_Fields = { + __typename?: 'bdjuno_provider_supply_stddev_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Supply_Stddev_Pop_Fields = { + __typename?: 'bdjuno_provider_supply_stddev_pop_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Supply_Stddev_Samp_Fields = { + __typename?: 'bdjuno_provider_supply_stddev_samp_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Supply_Sum_Fields = { + __typename?: 'bdjuno_provider_supply_sum_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Supply_Var_Pop_Fields = { + __typename?: 'bdjuno_provider_supply_var_pop_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Supply_Var_Samp_Fields = { + __typename?: 'bdjuno_provider_supply_var_samp_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Supply_Variance_Fields = { + __typename?: 'bdjuno_provider_supply_variance_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Timestamp_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +export type Bdjuno_Provider_Timestamptz_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +export type Bdjuno_Provider_Token = { + __typename?: 'bdjuno_provider_token'; + name: Scalars['String']; + token_units: Array; + token_units_aggregate: Bdjuno_Provider_Token_Unit_Aggregate; +}; + + +export type Bdjuno_Provider_TokenToken_UnitsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Provider_TokenToken_Units_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Aggregate = { + __typename?: 'bdjuno_provider_token_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +export type Bdjuno_Provider_Token_Aggregate_Fields = { + __typename?: 'bdjuno_provider_token_aggregate_fields'; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; +}; + + +export type Bdjuno_Provider_Token_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + name?: InputMaybe; + token_units?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Max_Fields = { + __typename?: 'bdjuno_provider_token_max_fields'; + name?: Maybe; +}; + +export type Bdjuno_Provider_Token_Min_Fields = { + __typename?: 'bdjuno_provider_token_min_fields'; + name?: Maybe; +}; + +export type Bdjuno_Provider_Token_Order_By = { + name?: InputMaybe; + token_units_aggregate?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Price = { + __typename?: 'bdjuno_provider_token_price'; + id: Scalars['Int']; + market_cap: Scalars['bdjuno_provider_bigint']; + price: Scalars['bdjuno_provider_numeric']; + timestamp: Scalars['bdjuno_provider_timestamp']; + token_unit: Bdjuno_Provider_Token_Unit; + unit_name: Scalars['String']; +}; + +export type Bdjuno_Provider_Token_Price_Aggregate = { + __typename?: 'bdjuno_provider_token_price_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +export type Bdjuno_Provider_Token_Price_Aggregate_Fields = { + __typename?: 'bdjuno_provider_token_price_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + + +export type Bdjuno_Provider_Token_Price_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Price_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Price_Avg_Fields = { + __typename?: 'bdjuno_provider_token_price_avg_fields'; + id?: Maybe; + market_cap?: Maybe; + price?: Maybe; +}; + +export type Bdjuno_Provider_Token_Price_Avg_Order_By = { + id?: InputMaybe; + market_cap?: InputMaybe; + price?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Price_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + id?: InputMaybe; + market_cap?: InputMaybe; + price?: InputMaybe; + timestamp?: InputMaybe; + token_unit?: InputMaybe; + unit_name?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Price_History = { + __typename?: 'bdjuno_provider_token_price_history'; + market_cap: Scalars['bdjuno_provider_bigint']; + price: Scalars['bdjuno_provider_numeric']; + timestamp: Scalars['bdjuno_provider_timestamp']; + token_unit: Bdjuno_Provider_Token_Unit; + unit_name: Scalars['String']; +}; + +export type Bdjuno_Provider_Token_Price_History_Aggregate = { + __typename?: 'bdjuno_provider_token_price_history_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +export type Bdjuno_Provider_Token_Price_History_Aggregate_Fields = { + __typename?: 'bdjuno_provider_token_price_history_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + + +export type Bdjuno_Provider_Token_Price_History_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Price_History_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Price_History_Avg_Fields = { + __typename?: 'bdjuno_provider_token_price_history_avg_fields'; + market_cap?: Maybe; + price?: Maybe; +}; + +export type Bdjuno_Provider_Token_Price_History_Avg_Order_By = { + market_cap?: InputMaybe; + price?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Price_History_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + market_cap?: InputMaybe; + price?: InputMaybe; + timestamp?: InputMaybe; + token_unit?: InputMaybe; + unit_name?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Price_History_Max_Fields = { + __typename?: 'bdjuno_provider_token_price_history_max_fields'; + market_cap?: Maybe; + price?: Maybe; + timestamp?: Maybe; + unit_name?: Maybe; +}; + +export type Bdjuno_Provider_Token_Price_History_Max_Order_By = { + market_cap?: InputMaybe; + price?: InputMaybe; + timestamp?: InputMaybe; + unit_name?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Price_History_Min_Fields = { + __typename?: 'bdjuno_provider_token_price_history_min_fields'; + market_cap?: Maybe; + price?: Maybe; + timestamp?: Maybe; + unit_name?: Maybe; +}; + +export type Bdjuno_Provider_Token_Price_History_Min_Order_By = { + market_cap?: InputMaybe; + price?: InputMaybe; + timestamp?: InputMaybe; + unit_name?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Price_History_Order_By = { + market_cap?: InputMaybe; + price?: InputMaybe; + timestamp?: InputMaybe; + token_unit?: InputMaybe; + unit_name?: InputMaybe; +}; + +export enum Bdjuno_Provider_Token_Price_History_Select_Column { + MarketCap = 'market_cap', + Price = 'price', + Timestamp = 'timestamp', + UnitName = 'unit_name' +} + +export type Bdjuno_Provider_Token_Price_History_Stddev_Fields = { + __typename?: 'bdjuno_provider_token_price_history_stddev_fields'; + market_cap?: Maybe; + price?: Maybe; +}; + +export type Bdjuno_Provider_Token_Price_History_Stddev_Order_By = { + market_cap?: InputMaybe; + price?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Price_History_Stddev_Pop_Fields = { + __typename?: 'bdjuno_provider_token_price_history_stddev_pop_fields'; + market_cap?: Maybe; + price?: Maybe; +}; + +export type Bdjuno_Provider_Token_Price_History_Stddev_Pop_Order_By = { + market_cap?: InputMaybe; + price?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Price_History_Stddev_Samp_Fields = { + __typename?: 'bdjuno_provider_token_price_history_stddev_samp_fields'; + market_cap?: Maybe; + price?: Maybe; +}; + +export type Bdjuno_Provider_Token_Price_History_Stddev_Samp_Order_By = { + market_cap?: InputMaybe; + price?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Price_History_Sum_Fields = { + __typename?: 'bdjuno_provider_token_price_history_sum_fields'; + market_cap?: Maybe; + price?: Maybe; +}; + +export type Bdjuno_Provider_Token_Price_History_Sum_Order_By = { + market_cap?: InputMaybe; + price?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Price_History_Var_Pop_Fields = { + __typename?: 'bdjuno_provider_token_price_history_var_pop_fields'; + market_cap?: Maybe; + price?: Maybe; +}; + +export type Bdjuno_Provider_Token_Price_History_Var_Pop_Order_By = { + market_cap?: InputMaybe; + price?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Price_History_Var_Samp_Fields = { + __typename?: 'bdjuno_provider_token_price_history_var_samp_fields'; + market_cap?: Maybe; + price?: Maybe; +}; + +export type Bdjuno_Provider_Token_Price_History_Var_Samp_Order_By = { + market_cap?: InputMaybe; + price?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Price_History_Variance_Fields = { + __typename?: 'bdjuno_provider_token_price_history_variance_fields'; + market_cap?: Maybe; + price?: Maybe; +}; + +export type Bdjuno_Provider_Token_Price_History_Variance_Order_By = { + market_cap?: InputMaybe; + price?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Price_Max_Fields = { + __typename?: 'bdjuno_provider_token_price_max_fields'; + id?: Maybe; + market_cap?: Maybe; + price?: Maybe; + timestamp?: Maybe; + unit_name?: Maybe; +}; + +export type Bdjuno_Provider_Token_Price_Max_Order_By = { + id?: InputMaybe; + market_cap?: InputMaybe; + price?: InputMaybe; + timestamp?: InputMaybe; + unit_name?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Price_Min_Fields = { + __typename?: 'bdjuno_provider_token_price_min_fields'; + id?: Maybe; + market_cap?: Maybe; + price?: Maybe; + timestamp?: Maybe; + unit_name?: Maybe; +}; + +export type Bdjuno_Provider_Token_Price_Min_Order_By = { + id?: InputMaybe; + market_cap?: InputMaybe; + price?: InputMaybe; + timestamp?: InputMaybe; + unit_name?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Price_Order_By = { + id?: InputMaybe; + market_cap?: InputMaybe; + price?: InputMaybe; + timestamp?: InputMaybe; + token_unit?: InputMaybe; + unit_name?: InputMaybe; +}; + +export enum Bdjuno_Provider_Token_Price_Select_Column { + Id = 'id', + MarketCap = 'market_cap', + Price = 'price', + Timestamp = 'timestamp', + UnitName = 'unit_name' +} + +export type Bdjuno_Provider_Token_Price_Stddev_Fields = { + __typename?: 'bdjuno_provider_token_price_stddev_fields'; + id?: Maybe; + market_cap?: Maybe; + price?: Maybe; +}; + +export type Bdjuno_Provider_Token_Price_Stddev_Order_By = { + id?: InputMaybe; + market_cap?: InputMaybe; + price?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Price_Stddev_Pop_Fields = { + __typename?: 'bdjuno_provider_token_price_stddev_pop_fields'; + id?: Maybe; + market_cap?: Maybe; + price?: Maybe; +}; + +export type Bdjuno_Provider_Token_Price_Stddev_Pop_Order_By = { + id?: InputMaybe; + market_cap?: InputMaybe; + price?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Price_Stddev_Samp_Fields = { + __typename?: 'bdjuno_provider_token_price_stddev_samp_fields'; + id?: Maybe; + market_cap?: Maybe; + price?: Maybe; +}; + +export type Bdjuno_Provider_Token_Price_Stddev_Samp_Order_By = { + id?: InputMaybe; + market_cap?: InputMaybe; + price?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Price_Sum_Fields = { + __typename?: 'bdjuno_provider_token_price_sum_fields'; + id?: Maybe; + market_cap?: Maybe; + price?: Maybe; +}; + +export type Bdjuno_Provider_Token_Price_Sum_Order_By = { + id?: InputMaybe; + market_cap?: InputMaybe; + price?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Price_Var_Pop_Fields = { + __typename?: 'bdjuno_provider_token_price_var_pop_fields'; + id?: Maybe; + market_cap?: Maybe; + price?: Maybe; +}; + +export type Bdjuno_Provider_Token_Price_Var_Pop_Order_By = { + id?: InputMaybe; + market_cap?: InputMaybe; + price?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Price_Var_Samp_Fields = { + __typename?: 'bdjuno_provider_token_price_var_samp_fields'; + id?: Maybe; + market_cap?: Maybe; + price?: Maybe; +}; + +export type Bdjuno_Provider_Token_Price_Var_Samp_Order_By = { + id?: InputMaybe; + market_cap?: InputMaybe; + price?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Price_Variance_Fields = { + __typename?: 'bdjuno_provider_token_price_variance_fields'; + id?: Maybe; + market_cap?: Maybe; + price?: Maybe; +}; + +export type Bdjuno_Provider_Token_Price_Variance_Order_By = { + id?: InputMaybe; + market_cap?: InputMaybe; + price?: InputMaybe; +}; + +export enum Bdjuno_Provider_Token_Select_Column { + Name = 'name' +} + +export type Bdjuno_Provider_Token_Unit = { + __typename?: 'bdjuno_provider_token_unit'; + aliases?: Maybe; + denom: Scalars['String']; + exponent: Scalars['Int']; + price_id?: Maybe; + token: Bdjuno_Provider_Token; + token_name: Scalars['String']; + token_price?: Maybe; + token_price_histories: Array; + token_price_histories_aggregate: Bdjuno_Provider_Token_Price_History_Aggregate; + token_prices: Array; + token_prices_aggregate: Bdjuno_Provider_Token_Price_Aggregate; +}; + + +export type Bdjuno_Provider_Token_UnitToken_Price_HistoriesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Provider_Token_UnitToken_Price_Histories_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Provider_Token_UnitToken_PricesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Provider_Token_UnitToken_Prices_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Unit_Aggregate = { + __typename?: 'bdjuno_provider_token_unit_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +export type Bdjuno_Provider_Token_Unit_Aggregate_Fields = { + __typename?: 'bdjuno_provider_token_unit_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + + +export type Bdjuno_Provider_Token_Unit_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Unit_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Unit_Avg_Fields = { + __typename?: 'bdjuno_provider_token_unit_avg_fields'; + exponent?: Maybe; +}; + +export type Bdjuno_Provider_Token_Unit_Avg_Order_By = { + exponent?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Unit_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + aliases?: InputMaybe; + denom?: InputMaybe; + exponent?: InputMaybe; + price_id?: InputMaybe; + token?: InputMaybe; + token_name?: InputMaybe; + token_price?: InputMaybe; + token_price_histories?: InputMaybe; + token_prices?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Unit_Max_Fields = { + __typename?: 'bdjuno_provider_token_unit_max_fields'; + denom?: Maybe; + exponent?: Maybe; + price_id?: Maybe; + token_name?: Maybe; +}; + +export type Bdjuno_Provider_Token_Unit_Max_Order_By = { + denom?: InputMaybe; + exponent?: InputMaybe; + price_id?: InputMaybe; + token_name?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Unit_Min_Fields = { + __typename?: 'bdjuno_provider_token_unit_min_fields'; + denom?: Maybe; + exponent?: Maybe; + price_id?: Maybe; + token_name?: Maybe; +}; + +export type Bdjuno_Provider_Token_Unit_Min_Order_By = { + denom?: InputMaybe; + exponent?: InputMaybe; + price_id?: InputMaybe; + token_name?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Unit_Order_By = { + aliases?: InputMaybe; + denom?: InputMaybe; + exponent?: InputMaybe; + price_id?: InputMaybe; + token?: InputMaybe; + token_name?: InputMaybe; + token_price?: InputMaybe; + token_price_histories_aggregate?: InputMaybe; + token_prices_aggregate?: InputMaybe; +}; + +export enum Bdjuno_Provider_Token_Unit_Select_Column { + Aliases = 'aliases', + Denom = 'denom', + Exponent = 'exponent', + PriceId = 'price_id', + TokenName = 'token_name' +} + +export type Bdjuno_Provider_Token_Unit_Stddev_Fields = { + __typename?: 'bdjuno_provider_token_unit_stddev_fields'; + exponent?: Maybe; +}; + +export type Bdjuno_Provider_Token_Unit_Stddev_Order_By = { + exponent?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Unit_Stddev_Pop_Fields = { + __typename?: 'bdjuno_provider_token_unit_stddev_pop_fields'; + exponent?: Maybe; +}; + +export type Bdjuno_Provider_Token_Unit_Stddev_Pop_Order_By = { + exponent?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Unit_Stddev_Samp_Fields = { + __typename?: 'bdjuno_provider_token_unit_stddev_samp_fields'; + exponent?: Maybe; +}; + +export type Bdjuno_Provider_Token_Unit_Stddev_Samp_Order_By = { + exponent?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Unit_Sum_Fields = { + __typename?: 'bdjuno_provider_token_unit_sum_fields'; + exponent?: Maybe; +}; + +export type Bdjuno_Provider_Token_Unit_Sum_Order_By = { + exponent?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Unit_Var_Pop_Fields = { + __typename?: 'bdjuno_provider_token_unit_var_pop_fields'; + exponent?: Maybe; +}; + +export type Bdjuno_Provider_Token_Unit_Var_Pop_Order_By = { + exponent?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Unit_Var_Samp_Fields = { + __typename?: 'bdjuno_provider_token_unit_var_samp_fields'; + exponent?: Maybe; +}; + +export type Bdjuno_Provider_Token_Unit_Var_Samp_Order_By = { + exponent?: InputMaybe; +}; + +export type Bdjuno_Provider_Token_Unit_Variance_Fields = { + __typename?: 'bdjuno_provider_token_unit_variance_fields'; + exponent?: Maybe; +}; + +export type Bdjuno_Provider_Token_Unit_Variance_Order_By = { + exponent?: InputMaybe; +}; + +export type Bdjuno_Provider_Transaction = { + __typename?: 'bdjuno_provider_transaction'; + block: Bdjuno_Provider_Block; + fee: Scalars['bdjuno_provider_jsonb']; + gas_used?: Maybe; + gas_wanted?: Maybe; + hash: Scalars['String']; + height: Scalars['bdjuno_provider_bigint']; + logs?: Maybe; + memo?: Maybe; + messages: Scalars['bdjuno_provider_jsonb']; + messagesByTransactionHashPartitionId: Array; + messagesByTransactionHashPartitionId_aggregate: Bdjuno_Provider_Message_Aggregate; + partition_id: Scalars['bdjuno_provider_bigint']; + raw_log?: Maybe; + signatures: Scalars['bdjuno_provider__text']; + signer_infos: Scalars['bdjuno_provider_jsonb']; + success: Scalars['Boolean']; +}; + + +export type Bdjuno_Provider_TransactionFeeArgs = { + path?: InputMaybe; +}; + + +export type Bdjuno_Provider_TransactionLogsArgs = { + path?: InputMaybe; +}; + + +export type Bdjuno_Provider_TransactionMessagesArgs = { + path?: InputMaybe; +}; + + +export type Bdjuno_Provider_TransactionMessagesByTransactionHashPartitionIdArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Provider_TransactionMessagesByTransactionHashPartitionId_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Provider_TransactionSigner_InfosArgs = { + path?: InputMaybe; +}; + +export type Bdjuno_Provider_Transaction_Aggregate = { + __typename?: 'bdjuno_provider_transaction_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +export type Bdjuno_Provider_Transaction_Aggregate_Fields = { + __typename?: 'bdjuno_provider_transaction_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + + +export type Bdjuno_Provider_Transaction_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +export type Bdjuno_Provider_Transaction_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +export type Bdjuno_Provider_Transaction_Avg_Fields = { + __typename?: 'bdjuno_provider_transaction_avg_fields'; + gas_used?: Maybe; + gas_wanted?: Maybe; + height?: Maybe; + partition_id?: Maybe; +}; + +export type Bdjuno_Provider_Transaction_Avg_Order_By = { + gas_used?: InputMaybe; + gas_wanted?: InputMaybe; + height?: InputMaybe; + partition_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Transaction_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + block?: InputMaybe; + fee?: InputMaybe; + gas_used?: InputMaybe; + gas_wanted?: InputMaybe; + hash?: InputMaybe; + height?: InputMaybe; + logs?: InputMaybe; + memo?: InputMaybe; + messages?: InputMaybe; + messagesByTransactionHashPartitionId?: InputMaybe; + partition_id?: InputMaybe; + raw_log?: InputMaybe; + signatures?: InputMaybe; + signer_infos?: InputMaybe; + success?: InputMaybe; +}; + +export type Bdjuno_Provider_Transaction_Max_Fields = { + __typename?: 'bdjuno_provider_transaction_max_fields'; + gas_used?: Maybe; + gas_wanted?: Maybe; + hash?: Maybe; + height?: Maybe; + memo?: Maybe; + partition_id?: Maybe; + raw_log?: Maybe; +}; + +export type Bdjuno_Provider_Transaction_Max_Order_By = { + gas_used?: InputMaybe; + gas_wanted?: InputMaybe; + hash?: InputMaybe; + height?: InputMaybe; + memo?: InputMaybe; + partition_id?: InputMaybe; + raw_log?: InputMaybe; +}; + +export type Bdjuno_Provider_Transaction_Min_Fields = { + __typename?: 'bdjuno_provider_transaction_min_fields'; + gas_used?: Maybe; + gas_wanted?: Maybe; + hash?: Maybe; + height?: Maybe; + memo?: Maybe; + partition_id?: Maybe; + raw_log?: Maybe; +}; + +export type Bdjuno_Provider_Transaction_Min_Order_By = { + gas_used?: InputMaybe; + gas_wanted?: InputMaybe; + hash?: InputMaybe; + height?: InputMaybe; + memo?: InputMaybe; + partition_id?: InputMaybe; + raw_log?: InputMaybe; +}; + +export type Bdjuno_Provider_Transaction_Order_By = { + block?: InputMaybe; + fee?: InputMaybe; + gas_used?: InputMaybe; + gas_wanted?: InputMaybe; + hash?: InputMaybe; + height?: InputMaybe; + logs?: InputMaybe; + memo?: InputMaybe; + messages?: InputMaybe; + messagesByTransactionHashPartitionId_aggregate?: InputMaybe; + partition_id?: InputMaybe; + raw_log?: InputMaybe; + signatures?: InputMaybe; + signer_infos?: InputMaybe; + success?: InputMaybe; +}; + +export enum Bdjuno_Provider_Transaction_Select_Column { + Fee = 'fee', + GasUsed = 'gas_used', + GasWanted = 'gas_wanted', + Hash = 'hash', + Height = 'height', + Logs = 'logs', + Memo = 'memo', + Messages = 'messages', + PartitionId = 'partition_id', + RawLog = 'raw_log', + Signatures = 'signatures', + SignerInfos = 'signer_infos', + Success = 'success' +} + +export type Bdjuno_Provider_Transaction_Stddev_Fields = { + __typename?: 'bdjuno_provider_transaction_stddev_fields'; + gas_used?: Maybe; + gas_wanted?: Maybe; + height?: Maybe; + partition_id?: Maybe; +}; + +export type Bdjuno_Provider_Transaction_Stddev_Order_By = { + gas_used?: InputMaybe; + gas_wanted?: InputMaybe; + height?: InputMaybe; + partition_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Transaction_Stddev_Pop_Fields = { + __typename?: 'bdjuno_provider_transaction_stddev_pop_fields'; + gas_used?: Maybe; + gas_wanted?: Maybe; + height?: Maybe; + partition_id?: Maybe; +}; + +export type Bdjuno_Provider_Transaction_Stddev_Pop_Order_By = { + gas_used?: InputMaybe; + gas_wanted?: InputMaybe; + height?: InputMaybe; + partition_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Transaction_Stddev_Samp_Fields = { + __typename?: 'bdjuno_provider_transaction_stddev_samp_fields'; + gas_used?: Maybe; + gas_wanted?: Maybe; + height?: Maybe; + partition_id?: Maybe; +}; + +export type Bdjuno_Provider_Transaction_Stddev_Samp_Order_By = { + gas_used?: InputMaybe; + gas_wanted?: InputMaybe; + height?: InputMaybe; + partition_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Transaction_Sum_Fields = { + __typename?: 'bdjuno_provider_transaction_sum_fields'; + gas_used?: Maybe; + gas_wanted?: Maybe; + height?: Maybe; + partition_id?: Maybe; +}; + +export type Bdjuno_Provider_Transaction_Sum_Order_By = { + gas_used?: InputMaybe; + gas_wanted?: InputMaybe; + height?: InputMaybe; + partition_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Transaction_Var_Pop_Fields = { + __typename?: 'bdjuno_provider_transaction_var_pop_fields'; + gas_used?: Maybe; + gas_wanted?: Maybe; + height?: Maybe; + partition_id?: Maybe; +}; + +export type Bdjuno_Provider_Transaction_Var_Pop_Order_By = { + gas_used?: InputMaybe; + gas_wanted?: InputMaybe; + height?: InputMaybe; + partition_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Transaction_Var_Samp_Fields = { + __typename?: 'bdjuno_provider_transaction_var_samp_fields'; + gas_used?: Maybe; + gas_wanted?: Maybe; + height?: Maybe; + partition_id?: Maybe; +}; + +export type Bdjuno_Provider_Transaction_Var_Samp_Order_By = { + gas_used?: InputMaybe; + gas_wanted?: InputMaybe; + height?: InputMaybe; + partition_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Transaction_Variance_Fields = { + __typename?: 'bdjuno_provider_transaction_variance_fields'; + gas_used?: Maybe; + gas_wanted?: Maybe; + height?: Maybe; + partition_id?: Maybe; +}; + +export type Bdjuno_Provider_Transaction_Variance_Order_By = { + gas_used?: InputMaybe; + gas_wanted?: InputMaybe; + height?: InputMaybe; + partition_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator = { + __typename?: 'bdjuno_provider_validator'; + blocks: Array; + blocks_aggregate: Bdjuno_Provider_Block_Aggregate; + consensus_address: Scalars['String']; + consensus_pubkey: Scalars['String']; + double_sign_votes: Array; + double_sign_votes_aggregate: Bdjuno_Provider_Double_Sign_Vote_Aggregate; + pre_commits: Array; + pre_commits_aggregate: Bdjuno_Provider_Pre_Commit_Aggregate; + proposal_validator_status_snapshot?: Maybe; + proposal_validator_status_snapshots: Array; + proposal_validator_status_snapshots_aggregate: Bdjuno_Provider_Proposal_Validator_Status_Snapshot_Aggregate; + validator_commissions: Array; + validator_commissions_aggregate: Bdjuno_Provider_Validator_Commission_Aggregate; + validator_descriptions: Array; + validator_descriptions_aggregate: Bdjuno_Provider_Validator_Description_Aggregate; + validator_info?: Maybe; + validator_infos: Array; + validator_infos_aggregate: Bdjuno_Provider_Validator_Info_Aggregate; + validator_signing_infos: Array; + validator_signing_infos_aggregate: Bdjuno_Provider_Validator_Signing_Info_Aggregate; + validator_statuses: Array; + validator_statuses_aggregate: Bdjuno_Provider_Validator_Status_Aggregate; + validator_voting_powers: Array; + validator_voting_powers_aggregate: Bdjuno_Provider_Validator_Voting_Power_Aggregate; +}; + + +export type Bdjuno_Provider_ValidatorBlocksArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Provider_ValidatorBlocks_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Provider_ValidatorDouble_Sign_VotesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Provider_ValidatorDouble_Sign_Votes_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Provider_ValidatorPre_CommitsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Provider_ValidatorPre_Commits_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Provider_ValidatorProposal_Validator_Status_SnapshotsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Provider_ValidatorProposal_Validator_Status_Snapshots_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Provider_ValidatorValidator_CommissionsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Provider_ValidatorValidator_Commissions_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Provider_ValidatorValidator_DescriptionsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Provider_ValidatorValidator_Descriptions_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Provider_ValidatorValidator_InfosArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Provider_ValidatorValidator_Infos_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Provider_ValidatorValidator_Signing_InfosArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Provider_ValidatorValidator_Signing_Infos_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Provider_ValidatorValidator_StatusesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Provider_ValidatorValidator_Statuses_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Provider_ValidatorValidator_Voting_PowersArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Provider_ValidatorValidator_Voting_Powers_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Aggregate = { + __typename?: 'bdjuno_provider_validator_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +export type Bdjuno_Provider_Validator_Aggregate_Fields = { + __typename?: 'bdjuno_provider_validator_aggregate_fields'; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; +}; + + +export type Bdjuno_Provider_Validator_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + blocks?: InputMaybe; + consensus_address?: InputMaybe; + consensus_pubkey?: InputMaybe; + double_sign_votes?: InputMaybe; + pre_commits?: InputMaybe; + proposal_validator_status_snapshot?: InputMaybe; + proposal_validator_status_snapshots?: InputMaybe; + validator_commissions?: InputMaybe; + validator_descriptions?: InputMaybe; + validator_info?: InputMaybe; + validator_infos?: InputMaybe; + validator_signing_infos?: InputMaybe; + validator_statuses?: InputMaybe; + validator_voting_powers?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Commission = { + __typename?: 'bdjuno_provider_validator_commission'; + commission: Scalars['bdjuno_provider_numeric']; + height: Scalars['bdjuno_provider_bigint']; + min_self_delegation: Scalars['bdjuno_provider_bigint']; + validator: Bdjuno_Provider_Validator; + validator_address: Scalars['String']; +}; + +export type Bdjuno_Provider_Validator_Commission_Aggregate = { + __typename?: 'bdjuno_provider_validator_commission_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +export type Bdjuno_Provider_Validator_Commission_Aggregate_Fields = { + __typename?: 'bdjuno_provider_validator_commission_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + + +export type Bdjuno_Provider_Validator_Commission_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Commission_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Commission_Avg_Fields = { + __typename?: 'bdjuno_provider_validator_commission_avg_fields'; + commission?: Maybe; + height?: Maybe; + min_self_delegation?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Commission_Avg_Order_By = { + commission?: InputMaybe; + height?: InputMaybe; + min_self_delegation?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Commission_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + commission?: InputMaybe; + height?: InputMaybe; + min_self_delegation?: InputMaybe; + validator?: InputMaybe; + validator_address?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Commission_Max_Fields = { + __typename?: 'bdjuno_provider_validator_commission_max_fields'; + commission?: Maybe; + height?: Maybe; + min_self_delegation?: Maybe; + validator_address?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Commission_Max_Order_By = { + commission?: InputMaybe; + height?: InputMaybe; + min_self_delegation?: InputMaybe; + validator_address?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Commission_Min_Fields = { + __typename?: 'bdjuno_provider_validator_commission_min_fields'; + commission?: Maybe; + height?: Maybe; + min_self_delegation?: Maybe; + validator_address?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Commission_Min_Order_By = { + commission?: InputMaybe; + height?: InputMaybe; + min_self_delegation?: InputMaybe; + validator_address?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Commission_Order_By = { + commission?: InputMaybe; + height?: InputMaybe; + min_self_delegation?: InputMaybe; + validator?: InputMaybe; + validator_address?: InputMaybe; +}; + +export enum Bdjuno_Provider_Validator_Commission_Select_Column { + Commission = 'commission', + Height = 'height', + MinSelfDelegation = 'min_self_delegation', + ValidatorAddress = 'validator_address' +} + +export type Bdjuno_Provider_Validator_Commission_Stddev_Fields = { + __typename?: 'bdjuno_provider_validator_commission_stddev_fields'; + commission?: Maybe; + height?: Maybe; + min_self_delegation?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Commission_Stddev_Order_By = { + commission?: InputMaybe; + height?: InputMaybe; + min_self_delegation?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Commission_Stddev_Pop_Fields = { + __typename?: 'bdjuno_provider_validator_commission_stddev_pop_fields'; + commission?: Maybe; + height?: Maybe; + min_self_delegation?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Commission_Stddev_Pop_Order_By = { + commission?: InputMaybe; + height?: InputMaybe; + min_self_delegation?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Commission_Stddev_Samp_Fields = { + __typename?: 'bdjuno_provider_validator_commission_stddev_samp_fields'; + commission?: Maybe; + height?: Maybe; + min_self_delegation?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Commission_Stddev_Samp_Order_By = { + commission?: InputMaybe; + height?: InputMaybe; + min_self_delegation?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Commission_Sum_Fields = { + __typename?: 'bdjuno_provider_validator_commission_sum_fields'; + commission?: Maybe; + height?: Maybe; + min_self_delegation?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Commission_Sum_Order_By = { + commission?: InputMaybe; + height?: InputMaybe; + min_self_delegation?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Commission_Var_Pop_Fields = { + __typename?: 'bdjuno_provider_validator_commission_var_pop_fields'; + commission?: Maybe; + height?: Maybe; + min_self_delegation?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Commission_Var_Pop_Order_By = { + commission?: InputMaybe; + height?: InputMaybe; + min_self_delegation?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Commission_Var_Samp_Fields = { + __typename?: 'bdjuno_provider_validator_commission_var_samp_fields'; + commission?: Maybe; + height?: Maybe; + min_self_delegation?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Commission_Var_Samp_Order_By = { + commission?: InputMaybe; + height?: InputMaybe; + min_self_delegation?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Commission_Variance_Fields = { + __typename?: 'bdjuno_provider_validator_commission_variance_fields'; + commission?: Maybe; + height?: Maybe; + min_self_delegation?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Commission_Variance_Order_By = { + commission?: InputMaybe; + height?: InputMaybe; + min_self_delegation?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Description = { + __typename?: 'bdjuno_provider_validator_description'; + avatar_url?: Maybe; + details?: Maybe; + height: Scalars['bdjuno_provider_bigint']; + identity?: Maybe; + moniker?: Maybe; + security_contact?: Maybe; + validator: Bdjuno_Provider_Validator; + validator_address: Scalars['String']; + website?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Description_Aggregate = { + __typename?: 'bdjuno_provider_validator_description_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +export type Bdjuno_Provider_Validator_Description_Aggregate_Fields = { + __typename?: 'bdjuno_provider_validator_description_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + + +export type Bdjuno_Provider_Validator_Description_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Description_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Description_Avg_Fields = { + __typename?: 'bdjuno_provider_validator_description_avg_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Description_Avg_Order_By = { + height?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Description_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + avatar_url?: InputMaybe; + details?: InputMaybe; + height?: InputMaybe; + identity?: InputMaybe; + moniker?: InputMaybe; + security_contact?: InputMaybe; + validator?: InputMaybe; + validator_address?: InputMaybe; + website?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Description_Max_Fields = { + __typename?: 'bdjuno_provider_validator_description_max_fields'; + avatar_url?: Maybe; + details?: Maybe; + height?: Maybe; + identity?: Maybe; + moniker?: Maybe; + security_contact?: Maybe; + validator_address?: Maybe; + website?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Description_Max_Order_By = { + avatar_url?: InputMaybe; + details?: InputMaybe; + height?: InputMaybe; + identity?: InputMaybe; + moniker?: InputMaybe; + security_contact?: InputMaybe; + validator_address?: InputMaybe; + website?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Description_Min_Fields = { + __typename?: 'bdjuno_provider_validator_description_min_fields'; + avatar_url?: Maybe; + details?: Maybe; + height?: Maybe; + identity?: Maybe; + moniker?: Maybe; + security_contact?: Maybe; + validator_address?: Maybe; + website?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Description_Min_Order_By = { + avatar_url?: InputMaybe; + details?: InputMaybe; + height?: InputMaybe; + identity?: InputMaybe; + moniker?: InputMaybe; + security_contact?: InputMaybe; + validator_address?: InputMaybe; + website?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Description_Order_By = { + avatar_url?: InputMaybe; + details?: InputMaybe; + height?: InputMaybe; + identity?: InputMaybe; + moniker?: InputMaybe; + security_contact?: InputMaybe; + validator?: InputMaybe; + validator_address?: InputMaybe; + website?: InputMaybe; +}; + +export enum Bdjuno_Provider_Validator_Description_Select_Column { + AvatarUrl = 'avatar_url', + Details = 'details', + Height = 'height', + Identity = 'identity', + Moniker = 'moniker', + SecurityContact = 'security_contact', + ValidatorAddress = 'validator_address', + Website = 'website' +} + +export type Bdjuno_Provider_Validator_Description_Stddev_Fields = { + __typename?: 'bdjuno_provider_validator_description_stddev_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Description_Stddev_Order_By = { + height?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Description_Stddev_Pop_Fields = { + __typename?: 'bdjuno_provider_validator_description_stddev_pop_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Description_Stddev_Pop_Order_By = { + height?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Description_Stddev_Samp_Fields = { + __typename?: 'bdjuno_provider_validator_description_stddev_samp_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Description_Stddev_Samp_Order_By = { + height?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Description_Sum_Fields = { + __typename?: 'bdjuno_provider_validator_description_sum_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Description_Sum_Order_By = { + height?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Description_Var_Pop_Fields = { + __typename?: 'bdjuno_provider_validator_description_var_pop_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Description_Var_Pop_Order_By = { + height?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Description_Var_Samp_Fields = { + __typename?: 'bdjuno_provider_validator_description_var_samp_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Description_Var_Samp_Order_By = { + height?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Description_Variance_Fields = { + __typename?: 'bdjuno_provider_validator_description_variance_fields'; + height?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Description_Variance_Order_By = { + height?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Info = { + __typename?: 'bdjuno_provider_validator_info'; + account?: Maybe; + consensus_address: Scalars['String']; + max_change_rate: Scalars['String']; + max_rate: Scalars['String']; + operator_address: Scalars['String']; + self_delegate_address?: Maybe; + validator: Bdjuno_Provider_Validator; +}; + +export type Bdjuno_Provider_Validator_Info_Aggregate = { + __typename?: 'bdjuno_provider_validator_info_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +export type Bdjuno_Provider_Validator_Info_Aggregate_Fields = { + __typename?: 'bdjuno_provider_validator_info_aggregate_fields'; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; +}; + + +export type Bdjuno_Provider_Validator_Info_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Info_Aggregate_Order_By = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Info_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + account?: InputMaybe; + consensus_address?: InputMaybe; + max_change_rate?: InputMaybe; + max_rate?: InputMaybe; + operator_address?: InputMaybe; + self_delegate_address?: InputMaybe; + validator?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Info_Max_Fields = { + __typename?: 'bdjuno_provider_validator_info_max_fields'; + consensus_address?: Maybe; + max_change_rate?: Maybe; + max_rate?: Maybe; + operator_address?: Maybe; + self_delegate_address?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Info_Max_Order_By = { + consensus_address?: InputMaybe; + max_change_rate?: InputMaybe; + max_rate?: InputMaybe; + operator_address?: InputMaybe; + self_delegate_address?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Info_Min_Fields = { + __typename?: 'bdjuno_provider_validator_info_min_fields'; + consensus_address?: Maybe; + max_change_rate?: Maybe; + max_rate?: Maybe; + operator_address?: Maybe; + self_delegate_address?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Info_Min_Order_By = { + consensus_address?: InputMaybe; + max_change_rate?: InputMaybe; + max_rate?: InputMaybe; + operator_address?: InputMaybe; + self_delegate_address?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Info_Order_By = { + account?: InputMaybe; + consensus_address?: InputMaybe; + max_change_rate?: InputMaybe; + max_rate?: InputMaybe; + operator_address?: InputMaybe; + self_delegate_address?: InputMaybe; + validator?: InputMaybe; +}; + +export enum Bdjuno_Provider_Validator_Info_Select_Column { + ConsensusAddress = 'consensus_address', + MaxChangeRate = 'max_change_rate', + MaxRate = 'max_rate', + OperatorAddress = 'operator_address', + SelfDelegateAddress = 'self_delegate_address' +} + +export type Bdjuno_Provider_Validator_Max_Fields = { + __typename?: 'bdjuno_provider_validator_max_fields'; + consensus_address?: Maybe; + consensus_pubkey?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Min_Fields = { + __typename?: 'bdjuno_provider_validator_min_fields'; + consensus_address?: Maybe; + consensus_pubkey?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Order_By = { + blocks_aggregate?: InputMaybe; + consensus_address?: InputMaybe; + consensus_pubkey?: InputMaybe; + double_sign_votes_aggregate?: InputMaybe; + pre_commits_aggregate?: InputMaybe; + proposal_validator_status_snapshot?: InputMaybe; + proposal_validator_status_snapshots_aggregate?: InputMaybe; + validator_commissions_aggregate?: InputMaybe; + validator_descriptions_aggregate?: InputMaybe; + validator_info?: InputMaybe; + validator_infos_aggregate?: InputMaybe; + validator_signing_infos_aggregate?: InputMaybe; + validator_statuses_aggregate?: InputMaybe; + validator_voting_powers_aggregate?: InputMaybe; +}; + +export enum Bdjuno_Provider_Validator_Select_Column { + ConsensusAddress = 'consensus_address', + ConsensusPubkey = 'consensus_pubkey' +} + +export type Bdjuno_Provider_Validator_Signing_Info = { + __typename?: 'bdjuno_provider_validator_signing_info'; + height: Scalars['bdjuno_provider_bigint']; + index_offset: Scalars['bdjuno_provider_bigint']; + jailed_until: Scalars['bdjuno_provider_timestamp']; + missed_blocks_counter: Scalars['bdjuno_provider_bigint']; + start_height: Scalars['bdjuno_provider_bigint']; + tombstoned: Scalars['Boolean']; + validator_address: Scalars['String']; +}; + +export type Bdjuno_Provider_Validator_Signing_Info_Aggregate = { + __typename?: 'bdjuno_provider_validator_signing_info_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +export type Bdjuno_Provider_Validator_Signing_Info_Aggregate_Fields = { + __typename?: 'bdjuno_provider_validator_signing_info_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + + +export type Bdjuno_Provider_Validator_Signing_Info_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Signing_Info_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Signing_Info_Avg_Fields = { + __typename?: 'bdjuno_provider_validator_signing_info_avg_fields'; + height?: Maybe; + index_offset?: Maybe; + missed_blocks_counter?: Maybe; + start_height?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Signing_Info_Avg_Order_By = { + height?: InputMaybe; + index_offset?: InputMaybe; + missed_blocks_counter?: InputMaybe; + start_height?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Signing_Info_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + height?: InputMaybe; + index_offset?: InputMaybe; + jailed_until?: InputMaybe; + missed_blocks_counter?: InputMaybe; + start_height?: InputMaybe; + tombstoned?: InputMaybe; + validator_address?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Signing_Info_Max_Fields = { + __typename?: 'bdjuno_provider_validator_signing_info_max_fields'; + height?: Maybe; + index_offset?: Maybe; + jailed_until?: Maybe; + missed_blocks_counter?: Maybe; + start_height?: Maybe; + validator_address?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Signing_Info_Max_Order_By = { + height?: InputMaybe; + index_offset?: InputMaybe; + jailed_until?: InputMaybe; + missed_blocks_counter?: InputMaybe; + start_height?: InputMaybe; + validator_address?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Signing_Info_Min_Fields = { + __typename?: 'bdjuno_provider_validator_signing_info_min_fields'; + height?: Maybe; + index_offset?: Maybe; + jailed_until?: Maybe; + missed_blocks_counter?: Maybe; + start_height?: Maybe; + validator_address?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Signing_Info_Min_Order_By = { + height?: InputMaybe; + index_offset?: InputMaybe; + jailed_until?: InputMaybe; + missed_blocks_counter?: InputMaybe; + start_height?: InputMaybe; + validator_address?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Signing_Info_Order_By = { + height?: InputMaybe; + index_offset?: InputMaybe; + jailed_until?: InputMaybe; + missed_blocks_counter?: InputMaybe; + start_height?: InputMaybe; + tombstoned?: InputMaybe; + validator_address?: InputMaybe; +}; + +export enum Bdjuno_Provider_Validator_Signing_Info_Select_Column { + Height = 'height', + IndexOffset = 'index_offset', + JailedUntil = 'jailed_until', + MissedBlocksCounter = 'missed_blocks_counter', + StartHeight = 'start_height', + Tombstoned = 'tombstoned', + ValidatorAddress = 'validator_address' +} + +export type Bdjuno_Provider_Validator_Signing_Info_Stddev_Fields = { + __typename?: 'bdjuno_provider_validator_signing_info_stddev_fields'; + height?: Maybe; + index_offset?: Maybe; + missed_blocks_counter?: Maybe; + start_height?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Signing_Info_Stddev_Order_By = { + height?: InputMaybe; + index_offset?: InputMaybe; + missed_blocks_counter?: InputMaybe; + start_height?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Signing_Info_Stddev_Pop_Fields = { + __typename?: 'bdjuno_provider_validator_signing_info_stddev_pop_fields'; + height?: Maybe; + index_offset?: Maybe; + missed_blocks_counter?: Maybe; + start_height?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Signing_Info_Stddev_Pop_Order_By = { + height?: InputMaybe; + index_offset?: InputMaybe; + missed_blocks_counter?: InputMaybe; + start_height?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Signing_Info_Stddev_Samp_Fields = { + __typename?: 'bdjuno_provider_validator_signing_info_stddev_samp_fields'; + height?: Maybe; + index_offset?: Maybe; + missed_blocks_counter?: Maybe; + start_height?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Signing_Info_Stddev_Samp_Order_By = { + height?: InputMaybe; + index_offset?: InputMaybe; + missed_blocks_counter?: InputMaybe; + start_height?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Signing_Info_Sum_Fields = { + __typename?: 'bdjuno_provider_validator_signing_info_sum_fields'; + height?: Maybe; + index_offset?: Maybe; + missed_blocks_counter?: Maybe; + start_height?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Signing_Info_Sum_Order_By = { + height?: InputMaybe; + index_offset?: InputMaybe; + missed_blocks_counter?: InputMaybe; + start_height?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Signing_Info_Var_Pop_Fields = { + __typename?: 'bdjuno_provider_validator_signing_info_var_pop_fields'; + height?: Maybe; + index_offset?: Maybe; + missed_blocks_counter?: Maybe; + start_height?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Signing_Info_Var_Pop_Order_By = { + height?: InputMaybe; + index_offset?: InputMaybe; + missed_blocks_counter?: InputMaybe; + start_height?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Signing_Info_Var_Samp_Fields = { + __typename?: 'bdjuno_provider_validator_signing_info_var_samp_fields'; + height?: Maybe; + index_offset?: Maybe; + missed_blocks_counter?: Maybe; + start_height?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Signing_Info_Var_Samp_Order_By = { + height?: InputMaybe; + index_offset?: InputMaybe; + missed_blocks_counter?: InputMaybe; + start_height?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Signing_Info_Variance_Fields = { + __typename?: 'bdjuno_provider_validator_signing_info_variance_fields'; + height?: Maybe; + index_offset?: Maybe; + missed_blocks_counter?: Maybe; + start_height?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Signing_Info_Variance_Order_By = { + height?: InputMaybe; + index_offset?: InputMaybe; + missed_blocks_counter?: InputMaybe; + start_height?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Status = { + __typename?: 'bdjuno_provider_validator_status'; + height: Scalars['bdjuno_provider_bigint']; + jailed: Scalars['Boolean']; + status: Scalars['Int']; + tombstoned: Scalars['Boolean']; + validator: Bdjuno_Provider_Validator; + validator_address: Scalars['String']; +}; + +export type Bdjuno_Provider_Validator_Status_Aggregate = { + __typename?: 'bdjuno_provider_validator_status_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +export type Bdjuno_Provider_Validator_Status_Aggregate_Fields = { + __typename?: 'bdjuno_provider_validator_status_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + + +export type Bdjuno_Provider_Validator_Status_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Status_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Status_Avg_Fields = { + __typename?: 'bdjuno_provider_validator_status_avg_fields'; + height?: Maybe; + status?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Status_Avg_Order_By = { + height?: InputMaybe; + status?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Status_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + height?: InputMaybe; + jailed?: InputMaybe; + status?: InputMaybe; + tombstoned?: InputMaybe; + validator?: InputMaybe; + validator_address?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Status_Max_Fields = { + __typename?: 'bdjuno_provider_validator_status_max_fields'; + height?: Maybe; + status?: Maybe; + validator_address?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Status_Max_Order_By = { + height?: InputMaybe; + status?: InputMaybe; + validator_address?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Status_Min_Fields = { + __typename?: 'bdjuno_provider_validator_status_min_fields'; + height?: Maybe; + status?: Maybe; + validator_address?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Status_Min_Order_By = { + height?: InputMaybe; + status?: InputMaybe; + validator_address?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Status_Order_By = { + height?: InputMaybe; + jailed?: InputMaybe; + status?: InputMaybe; + tombstoned?: InputMaybe; + validator?: InputMaybe; + validator_address?: InputMaybe; +}; + +export enum Bdjuno_Provider_Validator_Status_Select_Column { + Height = 'height', + Jailed = 'jailed', + Status = 'status', + Tombstoned = 'tombstoned', + ValidatorAddress = 'validator_address' +} + +export type Bdjuno_Provider_Validator_Status_Stddev_Fields = { + __typename?: 'bdjuno_provider_validator_status_stddev_fields'; + height?: Maybe; + status?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Status_Stddev_Order_By = { + height?: InputMaybe; + status?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Status_Stddev_Pop_Fields = { + __typename?: 'bdjuno_provider_validator_status_stddev_pop_fields'; + height?: Maybe; + status?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Status_Stddev_Pop_Order_By = { + height?: InputMaybe; + status?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Status_Stddev_Samp_Fields = { + __typename?: 'bdjuno_provider_validator_status_stddev_samp_fields'; + height?: Maybe; + status?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Status_Stddev_Samp_Order_By = { + height?: InputMaybe; + status?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Status_Sum_Fields = { + __typename?: 'bdjuno_provider_validator_status_sum_fields'; + height?: Maybe; + status?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Status_Sum_Order_By = { + height?: InputMaybe; + status?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Status_Var_Pop_Fields = { + __typename?: 'bdjuno_provider_validator_status_var_pop_fields'; + height?: Maybe; + status?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Status_Var_Pop_Order_By = { + height?: InputMaybe; + status?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Status_Var_Samp_Fields = { + __typename?: 'bdjuno_provider_validator_status_var_samp_fields'; + height?: Maybe; + status?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Status_Var_Samp_Order_By = { + height?: InputMaybe; + status?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Status_Variance_Fields = { + __typename?: 'bdjuno_provider_validator_status_variance_fields'; + height?: Maybe; + status?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Status_Variance_Order_By = { + height?: InputMaybe; + status?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Voting_Power = { + __typename?: 'bdjuno_provider_validator_voting_power'; + block: Bdjuno_Provider_Block; + height: Scalars['bdjuno_provider_bigint']; + validator: Bdjuno_Provider_Validator; + validator_address: Scalars['String']; + voting_power: Scalars['bdjuno_provider_bigint']; +}; + +export type Bdjuno_Provider_Validator_Voting_Power_Aggregate = { + __typename?: 'bdjuno_provider_validator_voting_power_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +export type Bdjuno_Provider_Validator_Voting_Power_Aggregate_Fields = { + __typename?: 'bdjuno_provider_validator_voting_power_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + + +export type Bdjuno_Provider_Validator_Voting_Power_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Voting_Power_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Voting_Power_Avg_Fields = { + __typename?: 'bdjuno_provider_validator_voting_power_avg_fields'; + height?: Maybe; + voting_power?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Voting_Power_Avg_Order_By = { + height?: InputMaybe; + voting_power?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Voting_Power_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + block?: InputMaybe; + height?: InputMaybe; + validator?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Voting_Power_Max_Fields = { + __typename?: 'bdjuno_provider_validator_voting_power_max_fields'; + height?: Maybe; + validator_address?: Maybe; + voting_power?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Voting_Power_Max_Order_By = { + height?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Voting_Power_Min_Fields = { + __typename?: 'bdjuno_provider_validator_voting_power_min_fields'; + height?: Maybe; + validator_address?: Maybe; + voting_power?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Voting_Power_Min_Order_By = { + height?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Voting_Power_Order_By = { + block?: InputMaybe; + height?: InputMaybe; + validator?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; +}; + +export enum Bdjuno_Provider_Validator_Voting_Power_Select_Column { + Height = 'height', + ValidatorAddress = 'validator_address', + VotingPower = 'voting_power' +} + +export type Bdjuno_Provider_Validator_Voting_Power_Stddev_Fields = { + __typename?: 'bdjuno_provider_validator_voting_power_stddev_fields'; + height?: Maybe; + voting_power?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Voting_Power_Stddev_Order_By = { + height?: InputMaybe; + voting_power?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Voting_Power_Stddev_Pop_Fields = { + __typename?: 'bdjuno_provider_validator_voting_power_stddev_pop_fields'; + height?: Maybe; + voting_power?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Voting_Power_Stddev_Pop_Order_By = { + height?: InputMaybe; + voting_power?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Voting_Power_Stddev_Samp_Fields = { + __typename?: 'bdjuno_provider_validator_voting_power_stddev_samp_fields'; + height?: Maybe; + voting_power?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Voting_Power_Stddev_Samp_Order_By = { + height?: InputMaybe; + voting_power?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Voting_Power_Sum_Fields = { + __typename?: 'bdjuno_provider_validator_voting_power_sum_fields'; + height?: Maybe; + voting_power?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Voting_Power_Sum_Order_By = { + height?: InputMaybe; + voting_power?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Voting_Power_Var_Pop_Fields = { + __typename?: 'bdjuno_provider_validator_voting_power_var_pop_fields'; + height?: Maybe; + voting_power?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Voting_Power_Var_Pop_Order_By = { + height?: InputMaybe; + voting_power?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Voting_Power_Var_Samp_Fields = { + __typename?: 'bdjuno_provider_validator_voting_power_var_samp_fields'; + height?: Maybe; + voting_power?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Voting_Power_Var_Samp_Order_By = { + height?: InputMaybe; + voting_power?: InputMaybe; +}; + +export type Bdjuno_Provider_Validator_Voting_Power_Variance_Fields = { + __typename?: 'bdjuno_provider_validator_voting_power_variance_fields'; + height?: Maybe; + voting_power?: Maybe; +}; + +export type Bdjuno_Provider_Validator_Voting_Power_Variance_Order_By = { + height?: InputMaybe; + voting_power?: InputMaybe; +}; + +export type Bdjuno_Provider_Vesting_Account = { + __typename?: 'bdjuno_provider_vesting_account'; + account: Bdjuno_Provider_Account; + address: Scalars['String']; + end_time: Scalars['bdjuno_provider_timestamp']; + id: Scalars['Int']; + original_vesting: Scalars['bdjuno_provider__coin']; + start_time?: Maybe; + type: Scalars['String']; + vesting_periods: Array; + vesting_periods_aggregate: Bdjuno_Provider_Vesting_Period_Aggregate; +}; + + +export type Bdjuno_Provider_Vesting_AccountVesting_PeriodsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Provider_Vesting_AccountVesting_Periods_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Bdjuno_Provider_Vesting_Account_Aggregate = { + __typename?: 'bdjuno_provider_vesting_account_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +export type Bdjuno_Provider_Vesting_Account_Aggregate_Fields = { + __typename?: 'bdjuno_provider_vesting_account_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + + +export type Bdjuno_Provider_Vesting_Account_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +export type Bdjuno_Provider_Vesting_Account_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +export type Bdjuno_Provider_Vesting_Account_Avg_Fields = { + __typename?: 'bdjuno_provider_vesting_account_avg_fields'; + id?: Maybe; +}; + +export type Bdjuno_Provider_Vesting_Account_Avg_Order_By = { + id?: InputMaybe; +}; + +export type Bdjuno_Provider_Vesting_Account_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + account?: InputMaybe; + address?: InputMaybe; + end_time?: InputMaybe; + id?: InputMaybe; + original_vesting?: InputMaybe; + start_time?: InputMaybe; + type?: InputMaybe; + vesting_periods?: InputMaybe; +}; + +export type Bdjuno_Provider_Vesting_Account_Max_Fields = { + __typename?: 'bdjuno_provider_vesting_account_max_fields'; + address?: Maybe; + end_time?: Maybe; + id?: Maybe; + start_time?: Maybe; + type?: Maybe; +}; + +export type Bdjuno_Provider_Vesting_Account_Max_Order_By = { + address?: InputMaybe; + end_time?: InputMaybe; + id?: InputMaybe; + start_time?: InputMaybe; + type?: InputMaybe; +}; + +export type Bdjuno_Provider_Vesting_Account_Min_Fields = { + __typename?: 'bdjuno_provider_vesting_account_min_fields'; + address?: Maybe; + end_time?: Maybe; + id?: Maybe; + start_time?: Maybe; + type?: Maybe; +}; + +export type Bdjuno_Provider_Vesting_Account_Min_Order_By = { + address?: InputMaybe; + end_time?: InputMaybe; + id?: InputMaybe; + start_time?: InputMaybe; + type?: InputMaybe; +}; + +export type Bdjuno_Provider_Vesting_Account_Order_By = { + account?: InputMaybe; + address?: InputMaybe; + end_time?: InputMaybe; + id?: InputMaybe; + original_vesting?: InputMaybe; + start_time?: InputMaybe; + type?: InputMaybe; + vesting_periods_aggregate?: InputMaybe; +}; + +export enum Bdjuno_Provider_Vesting_Account_Select_Column { + Address = 'address', + EndTime = 'end_time', + Id = 'id', + OriginalVesting = 'original_vesting', + StartTime = 'start_time', + Type = 'type' +} + +export type Bdjuno_Provider_Vesting_Account_Stddev_Fields = { + __typename?: 'bdjuno_provider_vesting_account_stddev_fields'; + id?: Maybe; +}; + +export type Bdjuno_Provider_Vesting_Account_Stddev_Order_By = { + id?: InputMaybe; +}; + +export type Bdjuno_Provider_Vesting_Account_Stddev_Pop_Fields = { + __typename?: 'bdjuno_provider_vesting_account_stddev_pop_fields'; + id?: Maybe; +}; + +export type Bdjuno_Provider_Vesting_Account_Stddev_Pop_Order_By = { + id?: InputMaybe; +}; + +export type Bdjuno_Provider_Vesting_Account_Stddev_Samp_Fields = { + __typename?: 'bdjuno_provider_vesting_account_stddev_samp_fields'; + id?: Maybe; +}; + +export type Bdjuno_Provider_Vesting_Account_Stddev_Samp_Order_By = { + id?: InputMaybe; +}; + +export type Bdjuno_Provider_Vesting_Account_Sum_Fields = { + __typename?: 'bdjuno_provider_vesting_account_sum_fields'; + id?: Maybe; +}; + +export type Bdjuno_Provider_Vesting_Account_Sum_Order_By = { + id?: InputMaybe; +}; + +export type Bdjuno_Provider_Vesting_Account_Var_Pop_Fields = { + __typename?: 'bdjuno_provider_vesting_account_var_pop_fields'; + id?: Maybe; +}; + +export type Bdjuno_Provider_Vesting_Account_Var_Pop_Order_By = { + id?: InputMaybe; +}; + +export type Bdjuno_Provider_Vesting_Account_Var_Samp_Fields = { + __typename?: 'bdjuno_provider_vesting_account_var_samp_fields'; + id?: Maybe; +}; + +export type Bdjuno_Provider_Vesting_Account_Var_Samp_Order_By = { + id?: InputMaybe; +}; + +export type Bdjuno_Provider_Vesting_Account_Variance_Fields = { + __typename?: 'bdjuno_provider_vesting_account_variance_fields'; + id?: Maybe; +}; + +export type Bdjuno_Provider_Vesting_Account_Variance_Order_By = { + id?: InputMaybe; +}; + +export type Bdjuno_Provider_Vesting_Period = { + __typename?: 'bdjuno_provider_vesting_period'; + amount: Scalars['bdjuno_provider__coin']; + length: Scalars['bdjuno_provider_bigint']; + period_order: Scalars['bdjuno_provider_bigint']; + vesting_account: Bdjuno_Provider_Vesting_Account; + vesting_account_id: Scalars['bdjuno_provider_bigint']; +}; + +export type Bdjuno_Provider_Vesting_Period_Aggregate = { + __typename?: 'bdjuno_provider_vesting_period_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +export type Bdjuno_Provider_Vesting_Period_Aggregate_Fields = { + __typename?: 'bdjuno_provider_vesting_period_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + + +export type Bdjuno_Provider_Vesting_Period_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +export type Bdjuno_Provider_Vesting_Period_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +export type Bdjuno_Provider_Vesting_Period_Avg_Fields = { + __typename?: 'bdjuno_provider_vesting_period_avg_fields'; + length?: Maybe; + period_order?: Maybe; + vesting_account_id?: Maybe; +}; + +export type Bdjuno_Provider_Vesting_Period_Avg_Order_By = { + length?: InputMaybe; + period_order?: InputMaybe; + vesting_account_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Vesting_Period_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + amount?: InputMaybe; + length?: InputMaybe; + period_order?: InputMaybe; + vesting_account?: InputMaybe; + vesting_account_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Vesting_Period_Max_Fields = { + __typename?: 'bdjuno_provider_vesting_period_max_fields'; + length?: Maybe; + period_order?: Maybe; + vesting_account_id?: Maybe; +}; + +export type Bdjuno_Provider_Vesting_Period_Max_Order_By = { + length?: InputMaybe; + period_order?: InputMaybe; + vesting_account_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Vesting_Period_Min_Fields = { + __typename?: 'bdjuno_provider_vesting_period_min_fields'; + length?: Maybe; + period_order?: Maybe; + vesting_account_id?: Maybe; +}; + +export type Bdjuno_Provider_Vesting_Period_Min_Order_By = { + length?: InputMaybe; + period_order?: InputMaybe; + vesting_account_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Vesting_Period_Order_By = { + amount?: InputMaybe; + length?: InputMaybe; + period_order?: InputMaybe; + vesting_account?: InputMaybe; + vesting_account_id?: InputMaybe; +}; + +export enum Bdjuno_Provider_Vesting_Period_Select_Column { + Amount = 'amount', + Length = 'length', + PeriodOrder = 'period_order', + VestingAccountId = 'vesting_account_id' +} + +export type Bdjuno_Provider_Vesting_Period_Stddev_Fields = { + __typename?: 'bdjuno_provider_vesting_period_stddev_fields'; + length?: Maybe; + period_order?: Maybe; + vesting_account_id?: Maybe; +}; + +export type Bdjuno_Provider_Vesting_Period_Stddev_Order_By = { + length?: InputMaybe; + period_order?: InputMaybe; + vesting_account_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Vesting_Period_Stddev_Pop_Fields = { + __typename?: 'bdjuno_provider_vesting_period_stddev_pop_fields'; + length?: Maybe; + period_order?: Maybe; + vesting_account_id?: Maybe; +}; + +export type Bdjuno_Provider_Vesting_Period_Stddev_Pop_Order_By = { + length?: InputMaybe; + period_order?: InputMaybe; + vesting_account_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Vesting_Period_Stddev_Samp_Fields = { + __typename?: 'bdjuno_provider_vesting_period_stddev_samp_fields'; + length?: Maybe; + period_order?: Maybe; + vesting_account_id?: Maybe; +}; + +export type Bdjuno_Provider_Vesting_Period_Stddev_Samp_Order_By = { + length?: InputMaybe; + period_order?: InputMaybe; + vesting_account_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Vesting_Period_Sum_Fields = { + __typename?: 'bdjuno_provider_vesting_period_sum_fields'; + length?: Maybe; + period_order?: Maybe; + vesting_account_id?: Maybe; +}; + +export type Bdjuno_Provider_Vesting_Period_Sum_Order_By = { + length?: InputMaybe; + period_order?: InputMaybe; + vesting_account_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Vesting_Period_Var_Pop_Fields = { + __typename?: 'bdjuno_provider_vesting_period_var_pop_fields'; + length?: Maybe; + period_order?: Maybe; + vesting_account_id?: Maybe; +}; + +export type Bdjuno_Provider_Vesting_Period_Var_Pop_Order_By = { + length?: InputMaybe; + period_order?: InputMaybe; + vesting_account_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Vesting_Period_Var_Samp_Fields = { + __typename?: 'bdjuno_provider_vesting_period_var_samp_fields'; + length?: Maybe; + period_order?: Maybe; + vesting_account_id?: Maybe; +}; + +export type Bdjuno_Provider_Vesting_Period_Var_Samp_Order_By = { + length?: InputMaybe; + period_order?: InputMaybe; + vesting_account_id?: InputMaybe; +}; + +export type Bdjuno_Provider_Vesting_Period_Variance_Fields = { + __typename?: 'bdjuno_provider_vesting_period_variance_fields'; + length?: Maybe; + period_order?: Maybe; + vesting_account_id?: Maybe; +}; + +export type Bdjuno_Provider_Vesting_Period_Variance_Order_By = { + length?: InputMaybe; + period_order?: InputMaybe; + vesting_account_id?: InputMaybe; +}; + +export type Bdjuno_Providerquery_Root = { + __typename?: 'bdjuno_providerquery_root'; + account: Array; + account_aggregate: Bdjuno_Provider_Account_Aggregate; + account_by_pk?: Maybe; + action_account_balance?: Maybe; + action_delegation?: Maybe; + action_delegation_reward?: Maybe>>; + action_delegation_total?: Maybe; + action_delegator_withdraw_address: Bdjuno_Provider_ActionAddress; + action_redelegation?: Maybe; + action_unbonding_delegation?: Maybe; + action_unbonding_delegation_total?: Maybe; + action_validator_commission_amount?: Maybe; + action_validator_delegations?: Maybe; + action_validator_redelegations_from?: Maybe; + action_validator_unbonding_delegations?: Maybe; + average_block_time_from_genesis: Array; + average_block_time_from_genesis_aggregate: Bdjuno_Provider_Average_Block_Time_From_Genesis_Aggregate; + average_block_time_per_day: Array; + average_block_time_per_day_aggregate: Bdjuno_Provider_Average_Block_Time_Per_Day_Aggregate; + average_block_time_per_hour: Array; + average_block_time_per_hour_aggregate: Bdjuno_Provider_Average_Block_Time_Per_Hour_Aggregate; + average_block_time_per_minute: Array; + average_block_time_per_minute_aggregate: Bdjuno_Provider_Average_Block_Time_Per_Minute_Aggregate; + block: Array; + block_aggregate: Bdjuno_Provider_Block_Aggregate; + block_by_pk?: Maybe; + community_pool: Array; + community_pool_aggregate: Bdjuno_Provider_Community_Pool_Aggregate; + distribution_params: Array; + distribution_params_aggregate: Bdjuno_Provider_Distribution_Params_Aggregate; + distribution_params_by_pk?: Maybe; + double_sign_evidence: Array; + double_sign_evidence_aggregate: Bdjuno_Provider_Double_Sign_Evidence_Aggregate; + double_sign_vote: Array; + double_sign_vote_aggregate: Bdjuno_Provider_Double_Sign_Vote_Aggregate; + double_sign_vote_by_pk?: Maybe; + fee_grant_allowance: Array; + fee_grant_allowance_aggregate: Bdjuno_Provider_Fee_Grant_Allowance_Aggregate; + fee_grant_allowance_by_pk?: Maybe; + genesis: Array; + genesis_aggregate: Bdjuno_Provider_Genesis_Aggregate; + gov_params: Array; + gov_params_aggregate: Bdjuno_Provider_Gov_Params_Aggregate; + gov_params_by_pk?: Maybe; + inflation: Array; + inflation_aggregate: Bdjuno_Provider_Inflation_Aggregate; + message: Array; + message_aggregate: Bdjuno_Provider_Message_Aggregate; + messages_by_address: Array; + messages_by_address_aggregate: Bdjuno_Provider_Message_Aggregate; + mint_params: Array; + mint_params_aggregate: Bdjuno_Provider_Mint_Params_Aggregate; + mint_params_by_pk?: Maybe; + modules: Array; + modules_aggregate: Bdjuno_Provider_Modules_Aggregate; + modules_by_pk?: Maybe; + pre_commit: Array; + pre_commit_aggregate: Bdjuno_Provider_Pre_Commit_Aggregate; + proposal: Array; + proposal_aggregate: Bdjuno_Provider_Proposal_Aggregate; + proposal_by_pk?: Maybe; + proposal_deposit: Array; + proposal_deposit_aggregate: Bdjuno_Provider_Proposal_Deposit_Aggregate; + proposal_staking_pool_snapshot: Array; + proposal_staking_pool_snapshot_aggregate: Bdjuno_Provider_Proposal_Staking_Pool_Snapshot_Aggregate; + proposal_staking_pool_snapshot_by_pk?: Maybe; + proposal_tally_result: Array; + proposal_tally_result_aggregate: Bdjuno_Provider_Proposal_Tally_Result_Aggregate; + proposal_tally_result_by_pk?: Maybe; + proposal_validator_status_snapshot: Array; + proposal_validator_status_snapshot_aggregate: Bdjuno_Provider_Proposal_Validator_Status_Snapshot_Aggregate; + proposal_validator_status_snapshot_by_pk?: Maybe; + proposal_vote: Array; + proposal_vote_aggregate: Bdjuno_Provider_Proposal_Vote_Aggregate; + slashing_params: Array; + slashing_params_aggregate: Bdjuno_Provider_Slashing_Params_Aggregate; + slashing_params_by_pk?: Maybe; + software_upgrade_plan: Array; + software_upgrade_plan_aggregate: Bdjuno_Provider_Software_Upgrade_Plan_Aggregate; + staking_params: Array; + staking_params_aggregate: Bdjuno_Provider_Staking_Params_Aggregate; + staking_params_by_pk?: Maybe; + staking_pool: Array; + staking_pool_aggregate: Bdjuno_Provider_Staking_Pool_Aggregate; + supply: Array; + supply_aggregate: Bdjuno_Provider_Supply_Aggregate; + token: Array; + token_aggregate: Bdjuno_Provider_Token_Aggregate; + token_price: Array; + token_price_aggregate: Bdjuno_Provider_Token_Price_Aggregate; + token_price_by_pk?: Maybe; + token_price_history: Array; + token_price_history_aggregate: Bdjuno_Provider_Token_Price_History_Aggregate; + token_unit: Array; + token_unit_aggregate: Bdjuno_Provider_Token_Unit_Aggregate; + transaction: Array; + transaction_aggregate: Bdjuno_Provider_Transaction_Aggregate; + validator: Array; + validator_aggregate: Bdjuno_Provider_Validator_Aggregate; + validator_by_pk?: Maybe; + validator_commission: Array; + validator_commission_aggregate: Bdjuno_Provider_Validator_Commission_Aggregate; + validator_commission_by_pk?: Maybe; + validator_description: Array; + validator_description_aggregate: Bdjuno_Provider_Validator_Description_Aggregate; + validator_description_by_pk?: Maybe; + validator_info: Array; + validator_info_aggregate: Bdjuno_Provider_Validator_Info_Aggregate; + validator_info_by_pk?: Maybe; + validator_signing_info: Array; + validator_signing_info_aggregate: Bdjuno_Provider_Validator_Signing_Info_Aggregate; + validator_signing_info_by_pk?: Maybe; + validator_status: Array; + validator_status_aggregate: Bdjuno_Provider_Validator_Status_Aggregate; + validator_status_by_pk?: Maybe; + validator_voting_power: Array; + validator_voting_power_aggregate: Bdjuno_Provider_Validator_Voting_Power_Aggregate; + validator_voting_power_by_pk?: Maybe; + vesting_account: Array; + vesting_account_aggregate: Bdjuno_Provider_Vesting_Account_Aggregate; + vesting_account_by_pk?: Maybe; + vesting_period: Array; + vesting_period_aggregate: Bdjuno_Provider_Vesting_Period_Aggregate; +}; + + +export type Bdjuno_Providerquery_RootAccountArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootAccount_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootAccount_By_PkArgs = { + address: Scalars['String']; +}; + + +export type Bdjuno_Providerquery_RootAction_Account_BalanceArgs = { + address: Scalars['String']; + height?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootAction_DelegationArgs = { + address: Scalars['String']; + count_total?: InputMaybe; + height?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootAction_Delegation_RewardArgs = { + address: Scalars['String']; + height?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootAction_Delegation_TotalArgs = { + address: Scalars['String']; + height?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootAction_Delegator_Withdraw_AddressArgs = { + address: Scalars['String']; +}; + + +export type Bdjuno_Providerquery_RootAction_RedelegationArgs = { + address: Scalars['String']; + count_total?: InputMaybe; + height?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootAction_Unbonding_DelegationArgs = { + address: Scalars['String']; + count_total?: InputMaybe; + height?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootAction_Unbonding_Delegation_TotalArgs = { + address: Scalars['String']; + height?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootAction_Validator_Commission_AmountArgs = { + address: Scalars['String']; +}; + + +export type Bdjuno_Providerquery_RootAction_Validator_DelegationsArgs = { + address: Scalars['String']; + count_total?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootAction_Validator_Redelegations_FromArgs = { + address: Scalars['String']; + count_total?: InputMaybe; + height?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootAction_Validator_Unbonding_DelegationsArgs = { + address: Scalars['String']; + count_total?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootAverage_Block_Time_From_GenesisArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootAverage_Block_Time_From_Genesis_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootAverage_Block_Time_Per_DayArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootAverage_Block_Time_Per_Day_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootAverage_Block_Time_Per_HourArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootAverage_Block_Time_Per_Hour_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootAverage_Block_Time_Per_MinuteArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootAverage_Block_Time_Per_Minute_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootBlockArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootBlock_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootBlock_By_PkArgs = { + height: Scalars['bdjuno_provider_bigint']; +}; + + +export type Bdjuno_Providerquery_RootCommunity_PoolArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootCommunity_Pool_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootDistribution_ParamsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootDistribution_Params_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootDistribution_Params_By_PkArgs = { + one_row_id: Scalars['Boolean']; +}; + + +export type Bdjuno_Providerquery_RootDouble_Sign_EvidenceArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootDouble_Sign_Evidence_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootDouble_Sign_VoteArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootDouble_Sign_Vote_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootDouble_Sign_Vote_By_PkArgs = { + id: Scalars['Int']; +}; + + +export type Bdjuno_Providerquery_RootFee_Grant_AllowanceArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootFee_Grant_Allowance_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootFee_Grant_Allowance_By_PkArgs = { + id: Scalars['Int']; +}; + + +export type Bdjuno_Providerquery_RootGenesisArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootGenesis_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootGov_ParamsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootGov_Params_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootGov_Params_By_PkArgs = { + one_row_id: Scalars['Boolean']; +}; + + +export type Bdjuno_Providerquery_RootInflationArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootInflation_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootMessageArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootMessage_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootMessages_By_AddressArgs = { + args: Bdjuno_Provider_Messages_By_Address_Args; + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootMessages_By_Address_AggregateArgs = { + args: Bdjuno_Provider_Messages_By_Address_Args; + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootMint_ParamsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootMint_Params_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootMint_Params_By_PkArgs = { + one_row_id: Scalars['Boolean']; +}; + + +export type Bdjuno_Providerquery_RootModulesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootModules_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootModules_By_PkArgs = { + module_name: Scalars['String']; +}; + + +export type Bdjuno_Providerquery_RootPre_CommitArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootPre_Commit_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootProposalArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootProposal_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootProposal_By_PkArgs = { + id: Scalars['Int']; +}; + + +export type Bdjuno_Providerquery_RootProposal_DepositArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootProposal_Deposit_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootProposal_Staking_Pool_SnapshotArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootProposal_Staking_Pool_Snapshot_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootProposal_Staking_Pool_Snapshot_By_PkArgs = { + proposal_id: Scalars['Int']; +}; + + +export type Bdjuno_Providerquery_RootProposal_Tally_ResultArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootProposal_Tally_Result_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootProposal_Tally_Result_By_PkArgs = { + proposal_id: Scalars['Int']; +}; + + +export type Bdjuno_Providerquery_RootProposal_Validator_Status_SnapshotArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootProposal_Validator_Status_Snapshot_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootProposal_Validator_Status_Snapshot_By_PkArgs = { + id: Scalars['Int']; +}; + + +export type Bdjuno_Providerquery_RootProposal_VoteArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootProposal_Vote_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootSlashing_ParamsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootSlashing_Params_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootSlashing_Params_By_PkArgs = { + one_row_id: Scalars['Boolean']; +}; + + +export type Bdjuno_Providerquery_RootSoftware_Upgrade_PlanArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootSoftware_Upgrade_Plan_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootStaking_ParamsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootStaking_Params_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootStaking_Params_By_PkArgs = { + one_row_id: Scalars['Boolean']; +}; + + +export type Bdjuno_Providerquery_RootStaking_PoolArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootStaking_Pool_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootSupplyArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootSupply_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootTokenArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootToken_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootToken_PriceArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootToken_Price_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootToken_Price_By_PkArgs = { + id: Scalars['Int']; +}; + + +export type Bdjuno_Providerquery_RootToken_Price_HistoryArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootToken_Price_History_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootToken_UnitArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootToken_Unit_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootTransactionArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootTransaction_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootValidatorArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootValidator_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootValidator_By_PkArgs = { + consensus_address: Scalars['String']; +}; + + +export type Bdjuno_Providerquery_RootValidator_CommissionArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootValidator_Commission_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootValidator_Commission_By_PkArgs = { + validator_address: Scalars['String']; +}; + + +export type Bdjuno_Providerquery_RootValidator_DescriptionArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootValidator_Description_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootValidator_Description_By_PkArgs = { + validator_address: Scalars['String']; +}; + + +export type Bdjuno_Providerquery_RootValidator_InfoArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootValidator_Info_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootValidator_Info_By_PkArgs = { + consensus_address: Scalars['String']; +}; + + +export type Bdjuno_Providerquery_RootValidator_Signing_InfoArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootValidator_Signing_Info_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootValidator_Signing_Info_By_PkArgs = { + validator_address: Scalars['String']; +}; + + +export type Bdjuno_Providerquery_RootValidator_StatusArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootValidator_Status_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootValidator_Status_By_PkArgs = { + validator_address: Scalars['String']; +}; + + +export type Bdjuno_Providerquery_RootValidator_Voting_PowerArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootValidator_Voting_Power_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootValidator_Voting_Power_By_PkArgs = { + validator_address: Scalars['String']; +}; + + +export type Bdjuno_Providerquery_RootVesting_AccountArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootVesting_Account_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootVesting_Account_By_PkArgs = { + id: Scalars['Int']; +}; + + +export type Bdjuno_Providerquery_RootVesting_PeriodArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Bdjuno_Providerquery_RootVesting_Period_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** Boolean expression to compare columns of type "bigint". All fields are combined with logical 'AND'. */ +export type Bigint_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** columns and relationships of "block" */ +export type Block = { + __typename?: 'block'; + /** An object relationship */ + ccv_validator?: Maybe; + hash: Scalars['String']; + height: Scalars['bigint']; + num_txs?: Maybe; + /** An array relationship */ + pre_commits: Array; + /** An aggregate relationship */ + pre_commits_aggregate: Pre_Commit_Aggregate; + /** An array relationship */ + proposal_deposits: Array; + /** An array relationship */ + proposal_votes: Array; + proposer_address?: Maybe; + timestamp: Scalars['timestamp']; + total_gas?: Maybe; + /** An array relationship */ + transactions: Array; + /** An object relationship */ + validator?: Maybe; + /** An array relationship */ + validator_voting_powers: Array; + /** An aggregate relationship */ + validator_voting_powers_aggregate: Validator_Voting_Power_Aggregate; +}; + + +/** columns and relationships of "block" */ +export type BlockPre_CommitsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "block" */ +export type BlockPre_Commits_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "block" */ +export type BlockProposal_DepositsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "block" */ +export type BlockProposal_VotesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "block" */ +export type BlockTransactionsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "block" */ +export type BlockValidator_Voting_PowersArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "block" */ +export type BlockValidator_Voting_Powers_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** order by aggregate values of table "block" */ +export type Block_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by avg() on columns of table "block" */ +export type Block_Avg_Order_By = { + height?: InputMaybe; + num_txs?: InputMaybe; + total_gas?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "block". All fields are combined with a logical 'AND'. */ +export type Block_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + ccv_validator?: InputMaybe; + hash?: InputMaybe; + height?: InputMaybe; + num_txs?: InputMaybe; + pre_commits?: InputMaybe; + pre_commits_aggregate?: InputMaybe; + proposal_deposits?: InputMaybe; + proposal_votes?: InputMaybe; + proposer_address?: InputMaybe; + timestamp?: InputMaybe; + total_gas?: InputMaybe; + transactions?: InputMaybe; + validator?: InputMaybe; + validator_voting_powers?: InputMaybe; + validator_voting_powers_aggregate?: InputMaybe; +}; + +/** order by max() on columns of table "block" */ +export type Block_Max_Order_By = { + hash?: InputMaybe; + height?: InputMaybe; + num_txs?: InputMaybe; + proposer_address?: InputMaybe; + timestamp?: InputMaybe; + total_gas?: InputMaybe; +}; + +/** order by min() on columns of table "block" */ +export type Block_Min_Order_By = { + hash?: InputMaybe; + height?: InputMaybe; + num_txs?: InputMaybe; + proposer_address?: InputMaybe; + timestamp?: InputMaybe; + total_gas?: InputMaybe; +}; + +/** Ordering options when selecting data from "block". */ +export type Block_Order_By = { + ccv_validator?: InputMaybe; + hash?: InputMaybe; + height?: InputMaybe; + num_txs?: InputMaybe; + pre_commits_aggregate?: InputMaybe; + proposal_deposits_aggregate?: InputMaybe; + proposal_votes_aggregate?: InputMaybe; + proposer_address?: InputMaybe; + timestamp?: InputMaybe; + total_gas?: InputMaybe; + transactions_aggregate?: InputMaybe; + validator?: InputMaybe; + validator_voting_powers_aggregate?: InputMaybe; +}; + +/** select columns of table "block" */ +export enum Block_Select_Column { + /** column name */ + Hash = 'hash', + /** column name */ + Height = 'height', + /** column name */ + NumTxs = 'num_txs', + /** column name */ + ProposerAddress = 'proposer_address', + /** column name */ + Timestamp = 'timestamp', + /** column name */ + TotalGas = 'total_gas' +} + +/** order by stddev() on columns of table "block" */ +export type Block_Stddev_Order_By = { + height?: InputMaybe; + num_txs?: InputMaybe; + total_gas?: InputMaybe; +}; + +/** order by stddev_pop() on columns of table "block" */ +export type Block_Stddev_Pop_Order_By = { + height?: InputMaybe; + num_txs?: InputMaybe; + total_gas?: InputMaybe; +}; + +/** order by stddev_samp() on columns of table "block" */ +export type Block_Stddev_Samp_Order_By = { + height?: InputMaybe; + num_txs?: InputMaybe; + total_gas?: InputMaybe; +}; + +/** Streaming cursor of the table "block" */ +export type Block_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Block_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Block_Stream_Cursor_Value_Input = { + hash?: InputMaybe; + height?: InputMaybe; + num_txs?: InputMaybe; + proposer_address?: InputMaybe; + timestamp?: InputMaybe; + total_gas?: InputMaybe; +}; + +/** order by sum() on columns of table "block" */ +export type Block_Sum_Order_By = { + height?: InputMaybe; + num_txs?: InputMaybe; + total_gas?: InputMaybe; +}; + +/** order by var_pop() on columns of table "block" */ +export type Block_Var_Pop_Order_By = { + height?: InputMaybe; + num_txs?: InputMaybe; + total_gas?: InputMaybe; +}; + +/** order by var_samp() on columns of table "block" */ +export type Block_Var_Samp_Order_By = { + height?: InputMaybe; + num_txs?: InputMaybe; + total_gas?: InputMaybe; +}; + +/** order by variance() on columns of table "block" */ +export type Block_Variance_Order_By = { + height?: InputMaybe; + num_txs?: InputMaybe; + total_gas?: InputMaybe; +}; + +/** columns and relationships of "ccv_validator" */ +export type Ccv_Validator = { + __typename?: 'ccv_validator'; + ccv_validator?: Maybe; + ccv_validator_info?: Maybe; + consumer_consensus_address: Scalars['String']; + consumer_operator_address: Scalars['String']; + consumer_self_delegate_address: Scalars['String']; + height: Scalars['bigint']; + provider_consensus_address: Scalars['String']; + provider_operator_address: Scalars['String']; + provider_self_delegate_address: Scalars['String']; + /** An object relationship */ + validator?: Maybe; + /** An object relationship */ + validator_info?: Maybe; +}; + +/** aggregated selection of "ccv_validator" */ +export type Ccv_Validator_Aggregate = { + __typename?: 'ccv_validator_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "ccv_validator" */ +export type Ccv_Validator_Aggregate_Fields = { + __typename?: 'ccv_validator_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + + +/** aggregate fields of "ccv_validator" */ +export type Ccv_Validator_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** aggregate avg on columns */ +export type Ccv_Validator_Avg_Fields = { + __typename?: 'ccv_validator_avg_fields'; + height?: Maybe; +}; + +/** Boolean expression to filter rows from the table "ccv_validator". All fields are combined with a logical 'AND'. */ +export type Ccv_Validator_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + consumer_consensus_address?: InputMaybe; + consumer_operator_address?: InputMaybe; + consumer_self_delegate_address?: InputMaybe; + height?: InputMaybe; + provider_consensus_address?: InputMaybe; + provider_operator_address?: InputMaybe; + provider_self_delegate_address?: InputMaybe; + validator?: InputMaybe; + validator_info?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Ccv_Validator_Max_Fields = { + __typename?: 'ccv_validator_max_fields'; + consumer_consensus_address?: Maybe; + consumer_operator_address?: Maybe; + consumer_self_delegate_address?: Maybe; + height?: Maybe; + provider_consensus_address?: Maybe; + provider_operator_address?: Maybe; + provider_self_delegate_address?: Maybe; +}; + +/** aggregate min on columns */ +export type Ccv_Validator_Min_Fields = { + __typename?: 'ccv_validator_min_fields'; + consumer_consensus_address?: Maybe; + consumer_operator_address?: Maybe; + consumer_self_delegate_address?: Maybe; + height?: Maybe; + provider_consensus_address?: Maybe; + provider_operator_address?: Maybe; + provider_self_delegate_address?: Maybe; +}; + +/** Ordering options when selecting data from "ccv_validator". */ +export type Ccv_Validator_Order_By = { + consumer_consensus_address?: InputMaybe; + consumer_operator_address?: InputMaybe; + consumer_self_delegate_address?: InputMaybe; + height?: InputMaybe; + provider_consensus_address?: InputMaybe; + provider_operator_address?: InputMaybe; + provider_self_delegate_address?: InputMaybe; + validator?: InputMaybe; + validator_info?: InputMaybe; +}; + +/** select columns of table "ccv_validator" */ +export enum Ccv_Validator_Select_Column { + /** column name */ + ConsumerConsensusAddress = 'consumer_consensus_address', + /** column name */ + ConsumerOperatorAddress = 'consumer_operator_address', + /** column name */ + ConsumerSelfDelegateAddress = 'consumer_self_delegate_address', + /** column name */ + Height = 'height', + /** column name */ + ProviderConsensusAddress = 'provider_consensus_address', + /** column name */ + ProviderOperatorAddress = 'provider_operator_address', + /** column name */ + ProviderSelfDelegateAddress = 'provider_self_delegate_address' +} + +/** aggregate stddev on columns */ +export type Ccv_Validator_Stddev_Fields = { + __typename?: 'ccv_validator_stddev_fields'; + height?: Maybe; +}; + +/** aggregate stddev_pop on columns */ +export type Ccv_Validator_Stddev_Pop_Fields = { + __typename?: 'ccv_validator_stddev_pop_fields'; + height?: Maybe; +}; + +/** aggregate stddev_samp on columns */ +export type Ccv_Validator_Stddev_Samp_Fields = { + __typename?: 'ccv_validator_stddev_samp_fields'; + height?: Maybe; +}; + +/** Streaming cursor of the table "ccv_validator" */ +export type Ccv_Validator_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Ccv_Validator_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Ccv_Validator_Stream_Cursor_Value_Input = { + consumer_consensus_address?: InputMaybe; + consumer_operator_address?: InputMaybe; + consumer_self_delegate_address?: InputMaybe; + height?: InputMaybe; + provider_consensus_address?: InputMaybe; + provider_operator_address?: InputMaybe; + provider_self_delegate_address?: InputMaybe; +}; + +/** aggregate sum on columns */ +export type Ccv_Validator_Sum_Fields = { + __typename?: 'ccv_validator_sum_fields'; + height?: Maybe; +}; + +/** aggregate var_pop on columns */ +export type Ccv_Validator_Var_Pop_Fields = { + __typename?: 'ccv_validator_var_pop_fields'; + height?: Maybe; +}; + +/** aggregate var_samp on columns */ +export type Ccv_Validator_Var_Samp_Fields = { + __typename?: 'ccv_validator_var_samp_fields'; + height?: Maybe; +}; + +/** aggregate variance on columns */ +export type Ccv_Validator_Variance_Fields = { + __typename?: 'ccv_validator_variance_fields'; + height?: Maybe; +}; + +/** columns and relationships of "community_pool" */ +export type Community_Pool = { + __typename?: 'community_pool'; + coins: Scalars['_dec_coin']; + height: Scalars['bigint']; +}; + +/** Boolean expression to filter rows from the table "community_pool". All fields are combined with a logical 'AND'. */ +export type Community_Pool_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + coins?: InputMaybe<_Dec_Coin_Comparison_Exp>; + height?: InputMaybe; +}; + +/** Ordering options when selecting data from "community_pool". */ +export type Community_Pool_Order_By = { + coins?: InputMaybe; + height?: InputMaybe; +}; + +/** select columns of table "community_pool" */ +export enum Community_Pool_Select_Column { + /** column name */ + Coins = 'coins', + /** column name */ + Height = 'height' +} + +/** Streaming cursor of the table "community_pool" */ +export type Community_Pool_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Community_Pool_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Community_Pool_Stream_Cursor_Value_Input = { + coins?: InputMaybe; + height?: InputMaybe; +}; + +/** ordering argument of a cursor */ +export enum Cursor_Ordering { + /** ascending ordering of the cursor */ + Asc = 'ASC', + /** descending ordering of the cursor */ + Desc = 'DESC' +} + +/** columns and relationships of "distribution_params" */ +export type Distribution_Params = { + __typename?: 'distribution_params'; + height: Scalars['bigint']; + params: Scalars['jsonb']; +}; + + +/** columns and relationships of "distribution_params" */ +export type Distribution_ParamsParamsArgs = { + path?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "distribution_params". All fields are combined with a logical 'AND'. */ +export type Distribution_Params_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + height?: InputMaybe; + params?: InputMaybe; +}; + +/** Ordering options when selecting data from "distribution_params". */ +export type Distribution_Params_Order_By = { + height?: InputMaybe; + params?: InputMaybe; +}; + +/** select columns of table "distribution_params" */ +export enum Distribution_Params_Select_Column { + /** column name */ + Height = 'height', + /** column name */ + Params = 'params' +} + +/** Streaming cursor of the table "distribution_params" */ +export type Distribution_Params_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Distribution_Params_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Distribution_Params_Stream_Cursor_Value_Input = { + height?: InputMaybe; + params?: InputMaybe; +}; + +/** columns and relationships of "double_sign_evidence" */ +export type Double_Sign_Evidence = { + __typename?: 'double_sign_evidence'; + /** An object relationship */ + doubleSignVoteByVoteAId: Double_Sign_Vote; + /** An object relationship */ + double_sign_vote: Double_Sign_Vote; + height: Scalars['bigint']; + vote_a_id: Scalars['bigint']; + vote_b_id: Scalars['bigint']; +}; + +/** order by aggregate values of table "double_sign_evidence" */ +export type Double_Sign_Evidence_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by avg() on columns of table "double_sign_evidence" */ +export type Double_Sign_Evidence_Avg_Order_By = { + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "double_sign_evidence". All fields are combined with a logical 'AND'. */ +export type Double_Sign_Evidence_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + doubleSignVoteByVoteAId?: InputMaybe; + double_sign_vote?: InputMaybe; + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; +}; + +/** order by max() on columns of table "double_sign_evidence" */ +export type Double_Sign_Evidence_Max_Order_By = { + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; +}; + +/** order by min() on columns of table "double_sign_evidence" */ +export type Double_Sign_Evidence_Min_Order_By = { + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; +}; + +/** Ordering options when selecting data from "double_sign_evidence". */ +export type Double_Sign_Evidence_Order_By = { + doubleSignVoteByVoteAId?: InputMaybe; + double_sign_vote?: InputMaybe; + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; +}; + +/** select columns of table "double_sign_evidence" */ +export enum Double_Sign_Evidence_Select_Column { + /** column name */ + Height = 'height', + /** column name */ + VoteAId = 'vote_a_id', + /** column name */ + VoteBId = 'vote_b_id' +} + +/** order by stddev() on columns of table "double_sign_evidence" */ +export type Double_Sign_Evidence_Stddev_Order_By = { + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; +}; + +/** order by stddev_pop() on columns of table "double_sign_evidence" */ +export type Double_Sign_Evidence_Stddev_Pop_Order_By = { + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; +}; + +/** order by stddev_samp() on columns of table "double_sign_evidence" */ +export type Double_Sign_Evidence_Stddev_Samp_Order_By = { + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; +}; + +/** Streaming cursor of the table "double_sign_evidence" */ +export type Double_Sign_Evidence_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Double_Sign_Evidence_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Double_Sign_Evidence_Stream_Cursor_Value_Input = { + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; +}; + +/** order by sum() on columns of table "double_sign_evidence" */ +export type Double_Sign_Evidence_Sum_Order_By = { + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; +}; + +/** order by var_pop() on columns of table "double_sign_evidence" */ +export type Double_Sign_Evidence_Var_Pop_Order_By = { + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; +}; + +/** order by var_samp() on columns of table "double_sign_evidence" */ +export type Double_Sign_Evidence_Var_Samp_Order_By = { + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; +}; + +/** order by variance() on columns of table "double_sign_evidence" */ +export type Double_Sign_Evidence_Variance_Order_By = { + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; +}; + +/** columns and relationships of "double_sign_vote" */ +export type Double_Sign_Vote = { + __typename?: 'double_sign_vote'; + block_id: Scalars['String']; + /** An array relationship */ + doubleSignEvidencesByVoteBId: Array; + /** An array relationship */ + double_sign_evidences: Array; + height: Scalars['bigint']; + round: Scalars['Int']; + signature: Scalars['String']; + type: Scalars['smallint']; + /** An object relationship */ + validator: Validator; + validator_address: Scalars['String']; + validator_index: Scalars['Int']; +}; + + +/** columns and relationships of "double_sign_vote" */ +export type Double_Sign_VoteDoubleSignEvidencesByVoteBIdArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "double_sign_vote" */ +export type Double_Sign_VoteDouble_Sign_EvidencesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** order by aggregate values of table "double_sign_vote" */ +export type Double_Sign_Vote_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by avg() on columns of table "double_sign_vote" */ +export type Double_Sign_Vote_Avg_Order_By = { + height?: InputMaybe; + round?: InputMaybe; + type?: InputMaybe; + validator_index?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "double_sign_vote". All fields are combined with a logical 'AND'. */ +export type Double_Sign_Vote_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + block_id?: InputMaybe; + doubleSignEvidencesByVoteBId?: InputMaybe; + double_sign_evidences?: InputMaybe; + height?: InputMaybe; + round?: InputMaybe; + signature?: InputMaybe; + type?: InputMaybe; + validator?: InputMaybe; + validator_address?: InputMaybe; + validator_index?: InputMaybe; +}; + +/** order by max() on columns of table "double_sign_vote" */ +export type Double_Sign_Vote_Max_Order_By = { + block_id?: InputMaybe; + height?: InputMaybe; + round?: InputMaybe; + signature?: InputMaybe; + type?: InputMaybe; + validator_address?: InputMaybe; + validator_index?: InputMaybe; +}; + +/** order by min() on columns of table "double_sign_vote" */ +export type Double_Sign_Vote_Min_Order_By = { + block_id?: InputMaybe; + height?: InputMaybe; + round?: InputMaybe; + signature?: InputMaybe; + type?: InputMaybe; + validator_address?: InputMaybe; + validator_index?: InputMaybe; +}; + +/** Ordering options when selecting data from "double_sign_vote". */ +export type Double_Sign_Vote_Order_By = { + block_id?: InputMaybe; + doubleSignEvidencesByVoteBId_aggregate?: InputMaybe; + double_sign_evidences_aggregate?: InputMaybe; + height?: InputMaybe; + round?: InputMaybe; + signature?: InputMaybe; + type?: InputMaybe; + validator?: InputMaybe; + validator_address?: InputMaybe; + validator_index?: InputMaybe; +}; + +/** select columns of table "double_sign_vote" */ +export enum Double_Sign_Vote_Select_Column { + /** column name */ + BlockId = 'block_id', + /** column name */ + Height = 'height', + /** column name */ + Round = 'round', + /** column name */ + Signature = 'signature', + /** column name */ + Type = 'type', + /** column name */ + ValidatorAddress = 'validator_address', + /** column name */ + ValidatorIndex = 'validator_index' +} + +/** order by stddev() on columns of table "double_sign_vote" */ +export type Double_Sign_Vote_Stddev_Order_By = { + height?: InputMaybe; + round?: InputMaybe; + type?: InputMaybe; + validator_index?: InputMaybe; +}; + +/** order by stddev_pop() on columns of table "double_sign_vote" */ +export type Double_Sign_Vote_Stddev_Pop_Order_By = { + height?: InputMaybe; + round?: InputMaybe; + type?: InputMaybe; + validator_index?: InputMaybe; +}; + +/** order by stddev_samp() on columns of table "double_sign_vote" */ +export type Double_Sign_Vote_Stddev_Samp_Order_By = { + height?: InputMaybe; + round?: InputMaybe; + type?: InputMaybe; + validator_index?: InputMaybe; +}; + +/** Streaming cursor of the table "double_sign_vote" */ +export type Double_Sign_Vote_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Double_Sign_Vote_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Double_Sign_Vote_Stream_Cursor_Value_Input = { + block_id?: InputMaybe; + height?: InputMaybe; + round?: InputMaybe; + signature?: InputMaybe; + type?: InputMaybe; + validator_address?: InputMaybe; + validator_index?: InputMaybe; +}; + +/** order by sum() on columns of table "double_sign_vote" */ +export type Double_Sign_Vote_Sum_Order_By = { + height?: InputMaybe; + round?: InputMaybe; + type?: InputMaybe; + validator_index?: InputMaybe; +}; + +/** order by var_pop() on columns of table "double_sign_vote" */ +export type Double_Sign_Vote_Var_Pop_Order_By = { + height?: InputMaybe; + round?: InputMaybe; + type?: InputMaybe; + validator_index?: InputMaybe; +}; + +/** order by var_samp() on columns of table "double_sign_vote" */ +export type Double_Sign_Vote_Var_Samp_Order_By = { + height?: InputMaybe; + round?: InputMaybe; + type?: InputMaybe; + validator_index?: InputMaybe; +}; + +/** order by variance() on columns of table "double_sign_vote" */ +export type Double_Sign_Vote_Variance_Order_By = { + height?: InputMaybe; + round?: InputMaybe; + type?: InputMaybe; + validator_index?: InputMaybe; +}; + +/** columns and relationships of "fee_grant_allowance" */ +export type Fee_Grant_Allowance = { + __typename?: 'fee_grant_allowance'; + allowance: Scalars['jsonb']; + /** An object relationship */ + grantee: Account; + grantee_address: Scalars['String']; + /** An object relationship */ + granter: Account; + granter_address: Scalars['String']; + height: Scalars['bigint']; +}; + + +/** columns and relationships of "fee_grant_allowance" */ +export type Fee_Grant_AllowanceAllowanceArgs = { + path?: InputMaybe; +}; + +/** order by aggregate values of table "fee_grant_allowance" */ +export type Fee_Grant_Allowance_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by avg() on columns of table "fee_grant_allowance" */ +export type Fee_Grant_Allowance_Avg_Order_By = { + height?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "fee_grant_allowance". All fields are combined with a logical 'AND'. */ +export type Fee_Grant_Allowance_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + allowance?: InputMaybe; + grantee?: InputMaybe; + grantee_address?: InputMaybe; + granter?: InputMaybe; + granter_address?: InputMaybe; + height?: InputMaybe; +}; + +/** order by max() on columns of table "fee_grant_allowance" */ +export type Fee_Grant_Allowance_Max_Order_By = { + grantee_address?: InputMaybe; + granter_address?: InputMaybe; + height?: InputMaybe; +}; + +/** order by min() on columns of table "fee_grant_allowance" */ +export type Fee_Grant_Allowance_Min_Order_By = { + grantee_address?: InputMaybe; + granter_address?: InputMaybe; + height?: InputMaybe; +}; + +/** Ordering options when selecting data from "fee_grant_allowance". */ +export type Fee_Grant_Allowance_Order_By = { + allowance?: InputMaybe; + grantee?: InputMaybe; + grantee_address?: InputMaybe; + granter?: InputMaybe; + granter_address?: InputMaybe; + height?: InputMaybe; +}; + +/** select columns of table "fee_grant_allowance" */ +export enum Fee_Grant_Allowance_Select_Column { + /** column name */ + Allowance = 'allowance', + /** column name */ + GranteeAddress = 'grantee_address', + /** column name */ + GranterAddress = 'granter_address', + /** column name */ + Height = 'height' +} + +/** order by stddev() on columns of table "fee_grant_allowance" */ +export type Fee_Grant_Allowance_Stddev_Order_By = { + height?: InputMaybe; +}; + +/** order by stddev_pop() on columns of table "fee_grant_allowance" */ +export type Fee_Grant_Allowance_Stddev_Pop_Order_By = { + height?: InputMaybe; +}; + +/** order by stddev_samp() on columns of table "fee_grant_allowance" */ +export type Fee_Grant_Allowance_Stddev_Samp_Order_By = { + height?: InputMaybe; +}; + +/** Streaming cursor of the table "fee_grant_allowance" */ +export type Fee_Grant_Allowance_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Fee_Grant_Allowance_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Fee_Grant_Allowance_Stream_Cursor_Value_Input = { + allowance?: InputMaybe; + grantee_address?: InputMaybe; + granter_address?: InputMaybe; + height?: InputMaybe; +}; + +/** order by sum() on columns of table "fee_grant_allowance" */ +export type Fee_Grant_Allowance_Sum_Order_By = { + height?: InputMaybe; +}; + +/** order by var_pop() on columns of table "fee_grant_allowance" */ +export type Fee_Grant_Allowance_Var_Pop_Order_By = { + height?: InputMaybe; +}; + +/** order by var_samp() on columns of table "fee_grant_allowance" */ +export type Fee_Grant_Allowance_Var_Samp_Order_By = { + height?: InputMaybe; +}; + +/** order by variance() on columns of table "fee_grant_allowance" */ +export type Fee_Grant_Allowance_Variance_Order_By = { + height?: InputMaybe; +}; + +/** columns and relationships of "genesis" */ +export type Genesis = { + __typename?: 'genesis'; + chain_id: Scalars['String']; + initial_height: Scalars['bigint']; + time: Scalars['timestamp']; +}; + +/** Boolean expression to filter rows from the table "genesis". All fields are combined with a logical 'AND'. */ +export type Genesis_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + chain_id?: InputMaybe; + initial_height?: InputMaybe; + time?: InputMaybe; +}; + +/** Ordering options when selecting data from "genesis". */ +export type Genesis_Order_By = { + chain_id?: InputMaybe; + initial_height?: InputMaybe; + time?: InputMaybe; +}; + +/** select columns of table "genesis" */ +export enum Genesis_Select_Column { + /** column name */ + ChainId = 'chain_id', + /** column name */ + InitialHeight = 'initial_height', + /** column name */ + Time = 'time' +} + +/** Streaming cursor of the table "genesis" */ +export type Genesis_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Genesis_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Genesis_Stream_Cursor_Value_Input = { + chain_id?: InputMaybe; + initial_height?: InputMaybe; + time?: InputMaybe; +}; + +/** columns and relationships of "gov_params" */ +export type Gov_Params = { + __typename?: 'gov_params'; + deposit_params: Scalars['jsonb']; + height: Scalars['bigint']; + tally_params: Scalars['jsonb']; + voting_params: Scalars['jsonb']; +}; + + +/** columns and relationships of "gov_params" */ +export type Gov_ParamsDeposit_ParamsArgs = { + path?: InputMaybe; +}; + + +/** columns and relationships of "gov_params" */ +export type Gov_ParamsTally_ParamsArgs = { + path?: InputMaybe; +}; + + +/** columns and relationships of "gov_params" */ +export type Gov_ParamsVoting_ParamsArgs = { + path?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "gov_params". All fields are combined with a logical 'AND'. */ +export type Gov_Params_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + deposit_params?: InputMaybe; + height?: InputMaybe; + tally_params?: InputMaybe; + voting_params?: InputMaybe; +}; + +/** Ordering options when selecting data from "gov_params". */ +export type Gov_Params_Order_By = { + deposit_params?: InputMaybe; + height?: InputMaybe; + tally_params?: InputMaybe; + voting_params?: InputMaybe; +}; + +/** select columns of table "gov_params" */ +export enum Gov_Params_Select_Column { + /** column name */ + DepositParams = 'deposit_params', + /** column name */ + Height = 'height', + /** column name */ + TallyParams = 'tally_params', + /** column name */ + VotingParams = 'voting_params' +} + +/** Streaming cursor of the table "gov_params" */ +export type Gov_Params_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Gov_Params_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Gov_Params_Stream_Cursor_Value_Input = { + deposit_params?: InputMaybe; + height?: InputMaybe; + tally_params?: InputMaybe; + voting_params?: InputMaybe; +}; + +/** columns and relationships of "inflation" */ +export type Inflation = { + __typename?: 'inflation'; + height: Scalars['bigint']; + one_row_id: Scalars['Boolean']; + value: Scalars['numeric']; +}; + +/** aggregated selection of "inflation" */ +export type Inflation_Aggregate = { + __typename?: 'inflation_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "inflation" */ +export type Inflation_Aggregate_Fields = { + __typename?: 'inflation_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + + +/** aggregate fields of "inflation" */ +export type Inflation_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** aggregate avg on columns */ +export type Inflation_Avg_Fields = { + __typename?: 'inflation_avg_fields'; + height?: Maybe; + value?: Maybe; +}; + +/** Boolean expression to filter rows from the table "inflation". All fields are combined with a logical 'AND'. */ +export type Inflation_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + height?: InputMaybe; + one_row_id?: InputMaybe; + value?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Inflation_Max_Fields = { + __typename?: 'inflation_max_fields'; + height?: Maybe; + value?: Maybe; +}; + +/** aggregate min on columns */ +export type Inflation_Min_Fields = { + __typename?: 'inflation_min_fields'; + height?: Maybe; + value?: Maybe; +}; + +/** Ordering options when selecting data from "inflation". */ +export type Inflation_Order_By = { + height?: InputMaybe; + one_row_id?: InputMaybe; + value?: InputMaybe; +}; + +/** select columns of table "inflation" */ +export enum Inflation_Select_Column { + /** column name */ + Height = 'height', + /** column name */ + OneRowId = 'one_row_id', + /** column name */ + Value = 'value' +} + +/** aggregate stddev on columns */ +export type Inflation_Stddev_Fields = { + __typename?: 'inflation_stddev_fields'; + height?: Maybe; + value?: Maybe; +}; + +/** aggregate stddev_pop on columns */ +export type Inflation_Stddev_Pop_Fields = { + __typename?: 'inflation_stddev_pop_fields'; + height?: Maybe; + value?: Maybe; +}; + +/** aggregate stddev_samp on columns */ +export type Inflation_Stddev_Samp_Fields = { + __typename?: 'inflation_stddev_samp_fields'; + height?: Maybe; + value?: Maybe; +}; + +/** Streaming cursor of the table "inflation" */ +export type Inflation_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Inflation_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Inflation_Stream_Cursor_Value_Input = { + height?: InputMaybe; + one_row_id?: InputMaybe; + value?: InputMaybe; +}; + +/** aggregate sum on columns */ +export type Inflation_Sum_Fields = { + __typename?: 'inflation_sum_fields'; + height?: Maybe; + value?: Maybe; +}; + +/** aggregate var_pop on columns */ +export type Inflation_Var_Pop_Fields = { + __typename?: 'inflation_var_pop_fields'; + height?: Maybe; + value?: Maybe; +}; + +/** aggregate var_samp on columns */ +export type Inflation_Var_Samp_Fields = { + __typename?: 'inflation_var_samp_fields'; + height?: Maybe; + value?: Maybe; +}; + +/** aggregate variance on columns */ +export type Inflation_Variance_Fields = { + __typename?: 'inflation_variance_fields'; + height?: Maybe; + value?: Maybe; +}; + +export type Jsonb_Cast_Exp = { + String?: InputMaybe; +}; + +/** Boolean expression to compare columns of type "jsonb". All fields are combined with logical 'AND'. */ +export type Jsonb_Comparison_Exp = { + _cast?: InputMaybe; + /** is the column contained in the given json value */ + _contained_in?: InputMaybe; + /** does the column contain the given json value at the top level */ + _contains?: InputMaybe; + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + /** does the string exist as a top-level key in the column */ + _has_key?: InputMaybe; + /** do all of these strings exist as top-level keys in the column */ + _has_keys_all?: InputMaybe>; + /** do any of these strings exist as top-level keys in the column */ + _has_keys_any?: InputMaybe>; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** columns and relationships of "message" */ +export type Message = { + __typename?: 'message'; + height: Scalars['bigint']; + index: Scalars['bigint']; + involved_accounts_addresses: Scalars['_text']; + /** An object relationship */ + transaction?: Maybe; + /** An object relationship */ + transactionByPartitionIdTransactionHash?: Maybe; + transaction_hash: Scalars['String']; + type: Scalars['String']; + value: Scalars['jsonb']; +}; + + +/** columns and relationships of "message" */ +export type MessageValueArgs = { + path?: InputMaybe; +}; + +/** order by aggregate values of table "message" */ +export type Message_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by avg() on columns of table "message" */ +export type Message_Avg_Order_By = { + height?: InputMaybe; + index?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "message". All fields are combined with a logical 'AND'. */ +export type Message_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + height?: InputMaybe; + index?: InputMaybe; + involved_accounts_addresses?: InputMaybe<_Text_Comparison_Exp>; + transaction?: InputMaybe; + transactionByPartitionIdTransactionHash?: InputMaybe; + transaction_hash?: InputMaybe; + type?: InputMaybe; + value?: InputMaybe; +}; + +/** order by max() on columns of table "message" */ +export type Message_Max_Order_By = { + height?: InputMaybe; + index?: InputMaybe; + transaction_hash?: InputMaybe; + type?: InputMaybe; +}; + +/** order by min() on columns of table "message" */ +export type Message_Min_Order_By = { + height?: InputMaybe; + index?: InputMaybe; + transaction_hash?: InputMaybe; + type?: InputMaybe; +}; + +/** Ordering options when selecting data from "message". */ +export type Message_Order_By = { + height?: InputMaybe; + index?: InputMaybe; + involved_accounts_addresses?: InputMaybe; + transaction?: InputMaybe; + transactionByPartitionIdTransactionHash?: InputMaybe; + transaction_hash?: InputMaybe; + type?: InputMaybe; + value?: InputMaybe; +}; + +/** select columns of table "message" */ +export enum Message_Select_Column { + /** column name */ + Height = 'height', + /** column name */ + Index = 'index', + /** column name */ + InvolvedAccountsAddresses = 'involved_accounts_addresses', + /** column name */ + TransactionHash = 'transaction_hash', + /** column name */ + Type = 'type', + /** column name */ + Value = 'value' +} + +/** order by stddev() on columns of table "message" */ +export type Message_Stddev_Order_By = { + height?: InputMaybe; + index?: InputMaybe; +}; + +/** order by stddev_pop() on columns of table "message" */ +export type Message_Stddev_Pop_Order_By = { + height?: InputMaybe; + index?: InputMaybe; +}; + +/** order by stddev_samp() on columns of table "message" */ +export type Message_Stddev_Samp_Order_By = { + height?: InputMaybe; + index?: InputMaybe; +}; + +/** Streaming cursor of the table "message" */ +export type Message_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Message_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Message_Stream_Cursor_Value_Input = { + height?: InputMaybe; + index?: InputMaybe; + involved_accounts_addresses?: InputMaybe; + transaction_hash?: InputMaybe; + type?: InputMaybe; + value?: InputMaybe; +}; + +/** order by sum() on columns of table "message" */ +export type Message_Sum_Order_By = { + height?: InputMaybe; + index?: InputMaybe; +}; + +/** order by var_pop() on columns of table "message" */ +export type Message_Var_Pop_Order_By = { + height?: InputMaybe; + index?: InputMaybe; +}; + +/** order by var_samp() on columns of table "message" */ +export type Message_Var_Samp_Order_By = { + height?: InputMaybe; + index?: InputMaybe; +}; + +/** order by variance() on columns of table "message" */ +export type Message_Variance_Order_By = { + height?: InputMaybe; + index?: InputMaybe; +}; + +export type Messages_By_Address_Args = { + addresses?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; + types?: InputMaybe; +}; + +export type Messages_By_Single_Address_Args = { + address?: InputMaybe; + apikey?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; + types?: InputMaybe; +}; + +/** columns and relationships of "mint_params" */ +export type Mint_Params = { + __typename?: 'mint_params'; + height: Scalars['bigint']; + params: Scalars['jsonb']; +}; + + +/** columns and relationships of "mint_params" */ +export type Mint_ParamsParamsArgs = { + path?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "mint_params". All fields are combined with a logical 'AND'. */ +export type Mint_Params_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + height?: InputMaybe; + params?: InputMaybe; +}; + +/** Ordering options when selecting data from "mint_params". */ +export type Mint_Params_Order_By = { + height?: InputMaybe; + params?: InputMaybe; +}; + +/** select columns of table "mint_params" */ +export enum Mint_Params_Select_Column { + /** column name */ + Height = 'height', + /** column name */ + Params = 'params' +} + +/** Streaming cursor of the table "mint_params" */ +export type Mint_Params_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Mint_Params_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Mint_Params_Stream_Cursor_Value_Input = { + height?: InputMaybe; + params?: InputMaybe; +}; + +/** columns and relationships of "modules" */ +export type Modules = { + __typename?: 'modules'; + module_name: Scalars['String']; +}; + +/** Boolean expression to filter rows from the table "modules". All fields are combined with a logical 'AND'. */ +export type Modules_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + module_name?: InputMaybe; +}; + +/** Ordering options when selecting data from "modules". */ +export type Modules_Order_By = { + module_name?: InputMaybe; +}; + +/** select columns of table "modules" */ +export enum Modules_Select_Column { + /** column name */ + ModuleName = 'module_name' +} + +/** Streaming cursor of the table "modules" */ +export type Modules_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Modules_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Modules_Stream_Cursor_Value_Input = { + module_name?: InputMaybe; +}; + +/** Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. */ +export type Numeric_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** column ordering options */ +export enum Order_By { + /** in ascending order, nulls last */ + Asc = 'asc', + /** in ascending order, nulls first */ + AscNullsFirst = 'asc_nulls_first', + /** in ascending order, nulls last */ + AscNullsLast = 'asc_nulls_last', + /** in descending order, nulls first */ + Desc = 'desc', + /** in descending order, nulls first */ + DescNullsFirst = 'desc_nulls_first', + /** in descending order, nulls last */ + DescNullsLast = 'desc_nulls_last' +} + +/** columns and relationships of "pre_commit" */ +export type Pre_Commit = { + __typename?: 'pre_commit'; + height: Scalars['bigint']; + proposer_priority: Scalars['bigint']; + timestamp: Scalars['timestamp']; + /** An object relationship */ + validator: Validator; + validator_address: Scalars['String']; + voting_power: Scalars['bigint']; +}; + +/** aggregated selection of "pre_commit" */ +export type Pre_Commit_Aggregate = { + __typename?: 'pre_commit_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +export type Pre_Commit_Aggregate_Bool_Exp = { + count?: InputMaybe; +}; + +export type Pre_Commit_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + +/** aggregate fields of "pre_commit" */ +export type Pre_Commit_Aggregate_Fields = { + __typename?: 'pre_commit_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + + +/** aggregate fields of "pre_commit" */ +export type Pre_Commit_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** order by aggregate values of table "pre_commit" */ +export type Pre_Commit_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** aggregate avg on columns */ +export type Pre_Commit_Avg_Fields = { + __typename?: 'pre_commit_avg_fields'; + height?: Maybe; + proposer_priority?: Maybe; + voting_power?: Maybe; +}; + +/** order by avg() on columns of table "pre_commit" */ +export type Pre_Commit_Avg_Order_By = { + height?: InputMaybe; + proposer_priority?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "pre_commit". All fields are combined with a logical 'AND'. */ +export type Pre_Commit_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + height?: InputMaybe; + proposer_priority?: InputMaybe; + timestamp?: InputMaybe; + validator?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Pre_Commit_Max_Fields = { + __typename?: 'pre_commit_max_fields'; + height?: Maybe; + proposer_priority?: Maybe; + timestamp?: Maybe; + validator_address?: Maybe; + voting_power?: Maybe; +}; + +/** order by max() on columns of table "pre_commit" */ +export type Pre_Commit_Max_Order_By = { + height?: InputMaybe; + proposer_priority?: InputMaybe; + timestamp?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** aggregate min on columns */ +export type Pre_Commit_Min_Fields = { + __typename?: 'pre_commit_min_fields'; + height?: Maybe; + proposer_priority?: Maybe; + timestamp?: Maybe; + validator_address?: Maybe; + voting_power?: Maybe; +}; + +/** order by min() on columns of table "pre_commit" */ +export type Pre_Commit_Min_Order_By = { + height?: InputMaybe; + proposer_priority?: InputMaybe; + timestamp?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** Ordering options when selecting data from "pre_commit". */ +export type Pre_Commit_Order_By = { + height?: InputMaybe; + proposer_priority?: InputMaybe; + timestamp?: InputMaybe; + validator?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** select columns of table "pre_commit" */ +export enum Pre_Commit_Select_Column { + /** column name */ + Height = 'height', + /** column name */ + ProposerPriority = 'proposer_priority', + /** column name */ + Timestamp = 'timestamp', + /** column name */ + ValidatorAddress = 'validator_address', + /** column name */ + VotingPower = 'voting_power' +} + +/** aggregate stddev on columns */ +export type Pre_Commit_Stddev_Fields = { + __typename?: 'pre_commit_stddev_fields'; + height?: Maybe; + proposer_priority?: Maybe; + voting_power?: Maybe; +}; + +/** order by stddev() on columns of table "pre_commit" */ +export type Pre_Commit_Stddev_Order_By = { + height?: InputMaybe; + proposer_priority?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** aggregate stddev_pop on columns */ +export type Pre_Commit_Stddev_Pop_Fields = { + __typename?: 'pre_commit_stddev_pop_fields'; + height?: Maybe; + proposer_priority?: Maybe; + voting_power?: Maybe; +}; + +/** order by stddev_pop() on columns of table "pre_commit" */ +export type Pre_Commit_Stddev_Pop_Order_By = { + height?: InputMaybe; + proposer_priority?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** aggregate stddev_samp on columns */ +export type Pre_Commit_Stddev_Samp_Fields = { + __typename?: 'pre_commit_stddev_samp_fields'; + height?: Maybe; + proposer_priority?: Maybe; + voting_power?: Maybe; +}; + +/** order by stddev_samp() on columns of table "pre_commit" */ +export type Pre_Commit_Stddev_Samp_Order_By = { + height?: InputMaybe; + proposer_priority?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** Streaming cursor of the table "pre_commit" */ +export type Pre_Commit_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Pre_Commit_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Pre_Commit_Stream_Cursor_Value_Input = { + height?: InputMaybe; + proposer_priority?: InputMaybe; + timestamp?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** aggregate sum on columns */ +export type Pre_Commit_Sum_Fields = { + __typename?: 'pre_commit_sum_fields'; + height?: Maybe; + proposer_priority?: Maybe; + voting_power?: Maybe; +}; + +/** order by sum() on columns of table "pre_commit" */ +export type Pre_Commit_Sum_Order_By = { + height?: InputMaybe; + proposer_priority?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** aggregate var_pop on columns */ +export type Pre_Commit_Var_Pop_Fields = { + __typename?: 'pre_commit_var_pop_fields'; + height?: Maybe; + proposer_priority?: Maybe; + voting_power?: Maybe; +}; + +/** order by var_pop() on columns of table "pre_commit" */ +export type Pre_Commit_Var_Pop_Order_By = { + height?: InputMaybe; + proposer_priority?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** aggregate var_samp on columns */ +export type Pre_Commit_Var_Samp_Fields = { + __typename?: 'pre_commit_var_samp_fields'; + height?: Maybe; + proposer_priority?: Maybe; + voting_power?: Maybe; +}; + +/** order by var_samp() on columns of table "pre_commit" */ +export type Pre_Commit_Var_Samp_Order_By = { + height?: InputMaybe; + proposer_priority?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** aggregate variance on columns */ +export type Pre_Commit_Variance_Fields = { + __typename?: 'pre_commit_variance_fields'; + height?: Maybe; + proposer_priority?: Maybe; + voting_power?: Maybe; +}; + +/** order by variance() on columns of table "pre_commit" */ +export type Pre_Commit_Variance_Order_By = { + height?: InputMaybe; + proposer_priority?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** columns and relationships of "proposal" */ +export type Proposal = { + __typename?: 'proposal'; + content: Scalars['jsonb']; + deposit_end_time?: Maybe; + description: Scalars['String']; + id: Scalars['Int']; + /** An array relationship */ + proposal_deposits: Array; + proposal_route: Scalars['String']; + /** An object relationship */ + proposal_tally_result?: Maybe; + /** An array relationship */ + proposal_tally_results: Array; + proposal_type: Scalars['String']; + /** An array relationship */ + proposal_votes: Array; + /** An object relationship */ + proposer: Account; + proposer_address: Scalars['String']; + /** An object relationship */ + staking_pool_snapshot?: Maybe; + status?: Maybe; + submit_time: Scalars['timestamp']; + title: Scalars['String']; + /** An array relationship */ + validator_status_snapshots: Array; + voting_end_time?: Maybe; + voting_start_time?: Maybe; +}; + + +/** columns and relationships of "proposal" */ +export type ProposalContentArgs = { + path?: InputMaybe; +}; + + +/** columns and relationships of "proposal" */ +export type ProposalProposal_DepositsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "proposal" */ +export type ProposalProposal_Tally_ResultsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "proposal" */ +export type ProposalProposal_VotesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "proposal" */ +export type ProposalValidator_Status_SnapshotsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** aggregated selection of "proposal" */ +export type Proposal_Aggregate = { + __typename?: 'proposal_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +export type Proposal_Aggregate_Bool_Exp = { + count?: InputMaybe; +}; + +export type Proposal_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + +/** aggregate fields of "proposal" */ +export type Proposal_Aggregate_Fields = { + __typename?: 'proposal_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + + +/** aggregate fields of "proposal" */ +export type Proposal_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** order by aggregate values of table "proposal" */ +export type Proposal_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** aggregate avg on columns */ +export type Proposal_Avg_Fields = { + __typename?: 'proposal_avg_fields'; + id?: Maybe; +}; + +/** order by avg() on columns of table "proposal" */ +export type Proposal_Avg_Order_By = { + id?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "proposal". All fields are combined with a logical 'AND'. */ +export type Proposal_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + content?: InputMaybe; + deposit_end_time?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + proposal_deposits?: InputMaybe; + proposal_route?: InputMaybe; + proposal_tally_result?: InputMaybe; + proposal_tally_results?: InputMaybe; + proposal_type?: InputMaybe; + proposal_votes?: InputMaybe; + proposer?: InputMaybe; + proposer_address?: InputMaybe; + staking_pool_snapshot?: InputMaybe; + status?: InputMaybe; + submit_time?: InputMaybe; + title?: InputMaybe; + validator_status_snapshots?: InputMaybe; + voting_end_time?: InputMaybe; + voting_start_time?: InputMaybe; +}; + +/** columns and relationships of "proposal_deposit" */ +export type Proposal_Deposit = { + __typename?: 'proposal_deposit'; + amount?: Maybe; + /** An object relationship */ + block?: Maybe; + /** An object relationship */ + depositor?: Maybe; + depositor_address?: Maybe; + height: Scalars['bigint']; + /** An object relationship */ + proposal: Proposal; + proposal_id: Scalars['Int']; + timestamp?: Maybe; +}; + +/** order by aggregate values of table "proposal_deposit" */ +export type Proposal_Deposit_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by avg() on columns of table "proposal_deposit" */ +export type Proposal_Deposit_Avg_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "proposal_deposit". All fields are combined with a logical 'AND'. */ +export type Proposal_Deposit_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + amount?: InputMaybe<_Coin_Comparison_Exp>; + block?: InputMaybe; + depositor?: InputMaybe; + depositor_address?: InputMaybe; + height?: InputMaybe; + proposal?: InputMaybe; + proposal_id?: InputMaybe; + timestamp?: InputMaybe; +}; + +/** order by max() on columns of table "proposal_deposit" */ +export type Proposal_Deposit_Max_Order_By = { + depositor_address?: InputMaybe; + height?: InputMaybe; + proposal_id?: InputMaybe; + timestamp?: InputMaybe; +}; + +/** order by min() on columns of table "proposal_deposit" */ +export type Proposal_Deposit_Min_Order_By = { + depositor_address?: InputMaybe; + height?: InputMaybe; + proposal_id?: InputMaybe; + timestamp?: InputMaybe; +}; + +/** Ordering options when selecting data from "proposal_deposit". */ +export type Proposal_Deposit_Order_By = { + amount?: InputMaybe; + block?: InputMaybe; + depositor?: InputMaybe; + depositor_address?: InputMaybe; + height?: InputMaybe; + proposal?: InputMaybe; + proposal_id?: InputMaybe; + timestamp?: InputMaybe; +}; + +/** select columns of table "proposal_deposit" */ +export enum Proposal_Deposit_Select_Column { + /** column name */ + Amount = 'amount', + /** column name */ + DepositorAddress = 'depositor_address', + /** column name */ + Height = 'height', + /** column name */ + ProposalId = 'proposal_id', + /** column name */ + Timestamp = 'timestamp' +} + +/** order by stddev() on columns of table "proposal_deposit" */ +export type Proposal_Deposit_Stddev_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** order by stddev_pop() on columns of table "proposal_deposit" */ +export type Proposal_Deposit_Stddev_Pop_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** order by stddev_samp() on columns of table "proposal_deposit" */ +export type Proposal_Deposit_Stddev_Samp_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** Streaming cursor of the table "proposal_deposit" */ +export type Proposal_Deposit_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Proposal_Deposit_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Proposal_Deposit_Stream_Cursor_Value_Input = { + amount?: InputMaybe; + depositor_address?: InputMaybe; + height?: InputMaybe; + proposal_id?: InputMaybe; + timestamp?: InputMaybe; +}; + +/** order by sum() on columns of table "proposal_deposit" */ +export type Proposal_Deposit_Sum_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** order by var_pop() on columns of table "proposal_deposit" */ +export type Proposal_Deposit_Var_Pop_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** order by var_samp() on columns of table "proposal_deposit" */ +export type Proposal_Deposit_Var_Samp_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** order by variance() on columns of table "proposal_deposit" */ +export type Proposal_Deposit_Variance_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Proposal_Max_Fields = { + __typename?: 'proposal_max_fields'; + deposit_end_time?: Maybe; + description?: Maybe; + id?: Maybe; + proposal_route?: Maybe; + proposal_type?: Maybe; + proposer_address?: Maybe; + status?: Maybe; + submit_time?: Maybe; + title?: Maybe; + voting_end_time?: Maybe; + voting_start_time?: Maybe; +}; + +/** order by max() on columns of table "proposal" */ +export type Proposal_Max_Order_By = { + deposit_end_time?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + proposal_route?: InputMaybe; + proposal_type?: InputMaybe; + proposer_address?: InputMaybe; + status?: InputMaybe; + submit_time?: InputMaybe; + title?: InputMaybe; + voting_end_time?: InputMaybe; + voting_start_time?: InputMaybe; +}; + +/** aggregate min on columns */ +export type Proposal_Min_Fields = { + __typename?: 'proposal_min_fields'; + deposit_end_time?: Maybe; + description?: Maybe; + id?: Maybe; + proposal_route?: Maybe; + proposal_type?: Maybe; + proposer_address?: Maybe; + status?: Maybe; + submit_time?: Maybe; + title?: Maybe; + voting_end_time?: Maybe; + voting_start_time?: Maybe; +}; + +/** order by min() on columns of table "proposal" */ +export type Proposal_Min_Order_By = { + deposit_end_time?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + proposal_route?: InputMaybe; + proposal_type?: InputMaybe; + proposer_address?: InputMaybe; + status?: InputMaybe; + submit_time?: InputMaybe; + title?: InputMaybe; + voting_end_time?: InputMaybe; + voting_start_time?: InputMaybe; +}; + +/** Ordering options when selecting data from "proposal". */ +export type Proposal_Order_By = { + content?: InputMaybe; + deposit_end_time?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + proposal_deposits_aggregate?: InputMaybe; + proposal_route?: InputMaybe; + proposal_tally_result?: InputMaybe; + proposal_tally_results_aggregate?: InputMaybe; + proposal_type?: InputMaybe; + proposal_votes_aggregate?: InputMaybe; + proposer?: InputMaybe; + proposer_address?: InputMaybe; + staking_pool_snapshot?: InputMaybe; + status?: InputMaybe; + submit_time?: InputMaybe; + title?: InputMaybe; + validator_status_snapshots_aggregate?: InputMaybe; + voting_end_time?: InputMaybe; + voting_start_time?: InputMaybe; +}; + +/** select columns of table "proposal" */ +export enum Proposal_Select_Column { + /** column name */ + Content = 'content', + /** column name */ + DepositEndTime = 'deposit_end_time', + /** column name */ + Description = 'description', + /** column name */ + Id = 'id', + /** column name */ + ProposalRoute = 'proposal_route', + /** column name */ + ProposalType = 'proposal_type', + /** column name */ + ProposerAddress = 'proposer_address', + /** column name */ + Status = 'status', + /** column name */ + SubmitTime = 'submit_time', + /** column name */ + Title = 'title', + /** column name */ + VotingEndTime = 'voting_end_time', + /** column name */ + VotingStartTime = 'voting_start_time' +} + +/** columns and relationships of "proposal_staking_pool_snapshot" */ +export type Proposal_Staking_Pool_Snapshot = { + __typename?: 'proposal_staking_pool_snapshot'; + bonded_tokens: Scalars['String']; + height: Scalars['bigint']; + not_bonded_tokens: Scalars['String']; + /** An object relationship */ + proposal: Proposal; + proposal_id: Scalars['Int']; +}; + +/** Boolean expression to filter rows from the table "proposal_staking_pool_snapshot". All fields are combined with a logical 'AND'. */ +export type Proposal_Staking_Pool_Snapshot_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + bonded_tokens?: InputMaybe; + height?: InputMaybe; + not_bonded_tokens?: InputMaybe; + proposal?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** Ordering options when selecting data from "proposal_staking_pool_snapshot". */ +export type Proposal_Staking_Pool_Snapshot_Order_By = { + bonded_tokens?: InputMaybe; + height?: InputMaybe; + not_bonded_tokens?: InputMaybe; + proposal?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** select columns of table "proposal_staking_pool_snapshot" */ +export enum Proposal_Staking_Pool_Snapshot_Select_Column { + /** column name */ + BondedTokens = 'bonded_tokens', + /** column name */ + Height = 'height', + /** column name */ + NotBondedTokens = 'not_bonded_tokens', + /** column name */ + ProposalId = 'proposal_id' +} + +/** Streaming cursor of the table "proposal_staking_pool_snapshot" */ +export type Proposal_Staking_Pool_Snapshot_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Proposal_Staking_Pool_Snapshot_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Proposal_Staking_Pool_Snapshot_Stream_Cursor_Value_Input = { + bonded_tokens?: InputMaybe; + height?: InputMaybe; + not_bonded_tokens?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** aggregate stddev on columns */ +export type Proposal_Stddev_Fields = { + __typename?: 'proposal_stddev_fields'; + id?: Maybe; +}; + +/** order by stddev() on columns of table "proposal" */ +export type Proposal_Stddev_Order_By = { + id?: InputMaybe; +}; + +/** aggregate stddev_pop on columns */ +export type Proposal_Stddev_Pop_Fields = { + __typename?: 'proposal_stddev_pop_fields'; + id?: Maybe; +}; + +/** order by stddev_pop() on columns of table "proposal" */ +export type Proposal_Stddev_Pop_Order_By = { + id?: InputMaybe; +}; + +/** aggregate stddev_samp on columns */ +export type Proposal_Stddev_Samp_Fields = { + __typename?: 'proposal_stddev_samp_fields'; + id?: Maybe; +}; + +/** order by stddev_samp() on columns of table "proposal" */ +export type Proposal_Stddev_Samp_Order_By = { + id?: InputMaybe; +}; + +/** Streaming cursor of the table "proposal" */ +export type Proposal_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Proposal_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Proposal_Stream_Cursor_Value_Input = { + content?: InputMaybe; + deposit_end_time?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + proposal_route?: InputMaybe; + proposal_type?: InputMaybe; + proposer_address?: InputMaybe; + status?: InputMaybe; + submit_time?: InputMaybe; + title?: InputMaybe; + voting_end_time?: InputMaybe; + voting_start_time?: InputMaybe; +}; + +/** aggregate sum on columns */ +export type Proposal_Sum_Fields = { + __typename?: 'proposal_sum_fields'; + id?: Maybe; +}; + +/** order by sum() on columns of table "proposal" */ +export type Proposal_Sum_Order_By = { + id?: InputMaybe; +}; + +/** columns and relationships of "proposal_tally_result" */ +export type Proposal_Tally_Result = { + __typename?: 'proposal_tally_result'; + abstain: Scalars['String']; + height: Scalars['bigint']; + no: Scalars['String']; + no_with_veto: Scalars['String']; + /** An object relationship */ + proposal: Proposal; + proposal_id: Scalars['Int']; + yes: Scalars['String']; +}; + +/** order by aggregate values of table "proposal_tally_result" */ +export type Proposal_Tally_Result_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by avg() on columns of table "proposal_tally_result" */ +export type Proposal_Tally_Result_Avg_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "proposal_tally_result". All fields are combined with a logical 'AND'. */ +export type Proposal_Tally_Result_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + abstain?: InputMaybe; + height?: InputMaybe; + no?: InputMaybe; + no_with_veto?: InputMaybe; + proposal?: InputMaybe; + proposal_id?: InputMaybe; + yes?: InputMaybe; +}; + +/** order by max() on columns of table "proposal_tally_result" */ +export type Proposal_Tally_Result_Max_Order_By = { + abstain?: InputMaybe; + height?: InputMaybe; + no?: InputMaybe; + no_with_veto?: InputMaybe; + proposal_id?: InputMaybe; + yes?: InputMaybe; +}; + +/** order by min() on columns of table "proposal_tally_result" */ +export type Proposal_Tally_Result_Min_Order_By = { + abstain?: InputMaybe; + height?: InputMaybe; + no?: InputMaybe; + no_with_veto?: InputMaybe; + proposal_id?: InputMaybe; + yes?: InputMaybe; +}; + +/** Ordering options when selecting data from "proposal_tally_result". */ +export type Proposal_Tally_Result_Order_By = { + abstain?: InputMaybe; + height?: InputMaybe; + no?: InputMaybe; + no_with_veto?: InputMaybe; + proposal?: InputMaybe; + proposal_id?: InputMaybe; + yes?: InputMaybe; +}; + +/** select columns of table "proposal_tally_result" */ +export enum Proposal_Tally_Result_Select_Column { + /** column name */ + Abstain = 'abstain', + /** column name */ + Height = 'height', + /** column name */ + No = 'no', + /** column name */ + NoWithVeto = 'no_with_veto', + /** column name */ + ProposalId = 'proposal_id', + /** column name */ + Yes = 'yes' +} + +/** order by stddev() on columns of table "proposal_tally_result" */ +export type Proposal_Tally_Result_Stddev_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** order by stddev_pop() on columns of table "proposal_tally_result" */ +export type Proposal_Tally_Result_Stddev_Pop_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** order by stddev_samp() on columns of table "proposal_tally_result" */ +export type Proposal_Tally_Result_Stddev_Samp_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** Streaming cursor of the table "proposal_tally_result" */ +export type Proposal_Tally_Result_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Proposal_Tally_Result_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Proposal_Tally_Result_Stream_Cursor_Value_Input = { + abstain?: InputMaybe; + height?: InputMaybe; + no?: InputMaybe; + no_with_veto?: InputMaybe; + proposal_id?: InputMaybe; + yes?: InputMaybe; +}; + +/** order by sum() on columns of table "proposal_tally_result" */ +export type Proposal_Tally_Result_Sum_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** order by var_pop() on columns of table "proposal_tally_result" */ +export type Proposal_Tally_Result_Var_Pop_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** order by var_samp() on columns of table "proposal_tally_result" */ +export type Proposal_Tally_Result_Var_Samp_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** order by variance() on columns of table "proposal_tally_result" */ +export type Proposal_Tally_Result_Variance_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** columns and relationships of "proposal_validator_status_snapshot" */ +export type Proposal_Validator_Status_Snapshot = { + __typename?: 'proposal_validator_status_snapshot'; + height: Scalars['bigint']; + jailed: Scalars['Boolean']; + /** An object relationship */ + proposal?: Maybe; + proposal_id?: Maybe; + status: Scalars['Int']; + /** An object relationship */ + validator: Validator; + validator_address: Scalars['String']; + voting_power: Scalars['bigint']; +}; + +/** order by aggregate values of table "proposal_validator_status_snapshot" */ +export type Proposal_Validator_Status_Snapshot_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by avg() on columns of table "proposal_validator_status_snapshot" */ +export type Proposal_Validator_Status_Snapshot_Avg_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "proposal_validator_status_snapshot". All fields are combined with a logical 'AND'. */ +export type Proposal_Validator_Status_Snapshot_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + height?: InputMaybe; + jailed?: InputMaybe; + proposal?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + validator?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** order by max() on columns of table "proposal_validator_status_snapshot" */ +export type Proposal_Validator_Status_Snapshot_Max_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** order by min() on columns of table "proposal_validator_status_snapshot" */ +export type Proposal_Validator_Status_Snapshot_Min_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** Ordering options when selecting data from "proposal_validator_status_snapshot". */ +export type Proposal_Validator_Status_Snapshot_Order_By = { + height?: InputMaybe; + jailed?: InputMaybe; + proposal?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + validator?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** select columns of table "proposal_validator_status_snapshot" */ +export enum Proposal_Validator_Status_Snapshot_Select_Column { + /** column name */ + Height = 'height', + /** column name */ + Jailed = 'jailed', + /** column name */ + ProposalId = 'proposal_id', + /** column name */ + Status = 'status', + /** column name */ + ValidatorAddress = 'validator_address', + /** column name */ + VotingPower = 'voting_power' +} + +/** order by stddev() on columns of table "proposal_validator_status_snapshot" */ +export type Proposal_Validator_Status_Snapshot_Stddev_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** order by stddev_pop() on columns of table "proposal_validator_status_snapshot" */ +export type Proposal_Validator_Status_Snapshot_Stddev_Pop_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** order by stddev_samp() on columns of table "proposal_validator_status_snapshot" */ +export type Proposal_Validator_Status_Snapshot_Stddev_Samp_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** Streaming cursor of the table "proposal_validator_status_snapshot" */ +export type Proposal_Validator_Status_Snapshot_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Proposal_Validator_Status_Snapshot_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Proposal_Validator_Status_Snapshot_Stream_Cursor_Value_Input = { + height?: InputMaybe; + jailed?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** order by sum() on columns of table "proposal_validator_status_snapshot" */ +export type Proposal_Validator_Status_Snapshot_Sum_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** order by var_pop() on columns of table "proposal_validator_status_snapshot" */ +export type Proposal_Validator_Status_Snapshot_Var_Pop_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** order by var_samp() on columns of table "proposal_validator_status_snapshot" */ +export type Proposal_Validator_Status_Snapshot_Var_Samp_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** order by variance() on columns of table "proposal_validator_status_snapshot" */ +export type Proposal_Validator_Status_Snapshot_Variance_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** aggregate var_pop on columns */ +export type Proposal_Var_Pop_Fields = { + __typename?: 'proposal_var_pop_fields'; + id?: Maybe; +}; + +/** order by var_pop() on columns of table "proposal" */ +export type Proposal_Var_Pop_Order_By = { + id?: InputMaybe; +}; + +/** aggregate var_samp on columns */ +export type Proposal_Var_Samp_Fields = { + __typename?: 'proposal_var_samp_fields'; + id?: Maybe; +}; + +/** order by var_samp() on columns of table "proposal" */ +export type Proposal_Var_Samp_Order_By = { + id?: InputMaybe; +}; + +/** aggregate variance on columns */ +export type Proposal_Variance_Fields = { + __typename?: 'proposal_variance_fields'; + id?: Maybe; +}; + +/** order by variance() on columns of table "proposal" */ +export type Proposal_Variance_Order_By = { + id?: InputMaybe; +}; + +/** columns and relationships of "proposal_vote" */ +export type Proposal_Vote = { + __typename?: 'proposal_vote'; + /** An object relationship */ + account: Account; + /** An object relationship */ + block?: Maybe; + height: Scalars['bigint']; + option: Scalars['String']; + /** An object relationship */ + proposal: Proposal; + proposal_id: Scalars['Int']; + timestamp?: Maybe; + voter_address: Scalars['String']; +}; + +/** order by aggregate values of table "proposal_vote" */ +export type Proposal_Vote_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by avg() on columns of table "proposal_vote" */ +export type Proposal_Vote_Avg_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "proposal_vote". All fields are combined with a logical 'AND'. */ +export type Proposal_Vote_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + account?: InputMaybe; + block?: InputMaybe; + height?: InputMaybe; + option?: InputMaybe; + proposal?: InputMaybe; + proposal_id?: InputMaybe; + timestamp?: InputMaybe; + voter_address?: InputMaybe; +}; + +/** order by max() on columns of table "proposal_vote" */ +export type Proposal_Vote_Max_Order_By = { + height?: InputMaybe; + option?: InputMaybe; + proposal_id?: InputMaybe; + timestamp?: InputMaybe; + voter_address?: InputMaybe; +}; + +/** order by min() on columns of table "proposal_vote" */ +export type Proposal_Vote_Min_Order_By = { + height?: InputMaybe; + option?: InputMaybe; + proposal_id?: InputMaybe; + timestamp?: InputMaybe; + voter_address?: InputMaybe; +}; + +/** Ordering options when selecting data from "proposal_vote". */ +export type Proposal_Vote_Order_By = { + account?: InputMaybe; + block?: InputMaybe; + height?: InputMaybe; + option?: InputMaybe; + proposal?: InputMaybe; + proposal_id?: InputMaybe; + timestamp?: InputMaybe; + voter_address?: InputMaybe; +}; + +/** select columns of table "proposal_vote" */ +export enum Proposal_Vote_Select_Column { + /** column name */ + Height = 'height', + /** column name */ + Option = 'option', + /** column name */ + ProposalId = 'proposal_id', + /** column name */ + Timestamp = 'timestamp', + /** column name */ + VoterAddress = 'voter_address' +} + +/** order by stddev() on columns of table "proposal_vote" */ +export type Proposal_Vote_Stddev_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** order by stddev_pop() on columns of table "proposal_vote" */ +export type Proposal_Vote_Stddev_Pop_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** order by stddev_samp() on columns of table "proposal_vote" */ +export type Proposal_Vote_Stddev_Samp_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** Streaming cursor of the table "proposal_vote" */ +export type Proposal_Vote_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Proposal_Vote_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Proposal_Vote_Stream_Cursor_Value_Input = { + height?: InputMaybe; + option?: InputMaybe; + proposal_id?: InputMaybe; + timestamp?: InputMaybe; + voter_address?: InputMaybe; +}; + +/** order by sum() on columns of table "proposal_vote" */ +export type Proposal_Vote_Sum_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** order by var_pop() on columns of table "proposal_vote" */ +export type Proposal_Vote_Var_Pop_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** order by var_samp() on columns of table "proposal_vote" */ +export type Proposal_Vote_Var_Samp_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** order by variance() on columns of table "proposal_vote" */ +export type Proposal_Vote_Variance_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** columns and relationships of "account" */ +export type Provider_Account = { + __typename?: 'provider_account'; + address: Scalars['String']; + /** An array relationship */ + proposal_deposits: Array; + /** An array relationship */ + proposal_votes: Array; + /** An array relationship */ + proposals: Array; + /** An aggregate relationship */ + proposals_aggregate: Provider_Proposal_Aggregate; + /** An array relationship */ + validator_infos: Array; + /** An object relationship */ + vesting_account?: Maybe; + /** An array relationship */ + vesting_accounts: Array; +}; + + +/** columns and relationships of "account" */ +export type Provider_AccountProposal_DepositsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "account" */ +export type Provider_AccountProposal_VotesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "account" */ +export type Provider_AccountProposalsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "account" */ +export type Provider_AccountProposals_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "account" */ +export type Provider_AccountValidator_InfosArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "account" */ +export type Provider_AccountVesting_AccountsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "account". All fields are combined with a logical 'AND'. */ +export type Provider_Account_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + address?: InputMaybe; + proposal_deposits?: InputMaybe; + proposal_votes?: InputMaybe; + proposals?: InputMaybe; + proposals_aggregate?: InputMaybe; + validator_infos?: InputMaybe; + vesting_account?: InputMaybe; + vesting_accounts?: InputMaybe; +}; + +/** Ordering options when selecting data from "account". */ +export type Provider_Account_Order_By = { + address?: InputMaybe; + proposal_deposits_aggregate?: InputMaybe; + proposal_votes_aggregate?: InputMaybe; + proposals_aggregate?: InputMaybe; + validator_infos_aggregate?: InputMaybe; + vesting_account?: InputMaybe; + vesting_accounts_aggregate?: InputMaybe; +}; + +/** select columns of table "account" */ +export enum Provider_Account_Select_Column { + /** column name */ + Address = 'address' +} + +/** Streaming cursor of the table "account" */ +export type Provider_Account_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Provider_Account_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Provider_Account_Stream_Cursor_Value_Input = { + address?: InputMaybe; +}; + +/** columns and relationships of "block" */ +export type Provider_Block = { + __typename?: 'provider_block'; + hash: Scalars['String']; + height: Scalars['bigint']; + num_txs?: Maybe; + /** An array relationship */ + pre_commits: Array; + /** An aggregate relationship */ + pre_commits_aggregate: Provider_Pre_Commit_Aggregate; + /** An array relationship */ + proposal_deposits: Array; + /** An array relationship */ + proposal_votes: Array; + proposer_address?: Maybe; + timestamp: Scalars['timestamp']; + total_gas?: Maybe; + /** An array relationship */ + transactions: Array; + /** An object relationship */ + validator?: Maybe; + /** An array relationship */ + validator_voting_powers: Array; + /** An aggregate relationship */ + validator_voting_powers_aggregate: Provider_Validator_Voting_Power_Aggregate; +}; + + +/** columns and relationships of "block" */ +export type Provider_BlockPre_CommitsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "block" */ +export type Provider_BlockPre_Commits_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "block" */ +export type Provider_BlockProposal_DepositsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "block" */ +export type Provider_BlockProposal_VotesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "block" */ +export type Provider_BlockTransactionsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "block" */ +export type Provider_BlockValidator_Voting_PowersArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "block" */ +export type Provider_BlockValidator_Voting_Powers_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** order by aggregate values of table "block" */ +export type Provider_Block_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by avg() on columns of table "block" */ +export type Provider_Block_Avg_Order_By = { + height?: InputMaybe; + num_txs?: InputMaybe; + total_gas?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "block". All fields are combined with a logical 'AND'. */ +export type Provider_Block_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + hash?: InputMaybe; + height?: InputMaybe; + num_txs?: InputMaybe; + pre_commits?: InputMaybe; + pre_commits_aggregate?: InputMaybe; + proposal_deposits?: InputMaybe; + proposal_votes?: InputMaybe; + proposer_address?: InputMaybe; + timestamp?: InputMaybe; + total_gas?: InputMaybe; + transactions?: InputMaybe; + validator?: InputMaybe; + validator_voting_powers?: InputMaybe; + validator_voting_powers_aggregate?: InputMaybe; +}; + +/** order by max() on columns of table "block" */ +export type Provider_Block_Max_Order_By = { + hash?: InputMaybe; + height?: InputMaybe; + num_txs?: InputMaybe; + proposer_address?: InputMaybe; + timestamp?: InputMaybe; + total_gas?: InputMaybe; +}; + +/** order by min() on columns of table "block" */ +export type Provider_Block_Min_Order_By = { + hash?: InputMaybe; + height?: InputMaybe; + num_txs?: InputMaybe; + proposer_address?: InputMaybe; + timestamp?: InputMaybe; + total_gas?: InputMaybe; +}; + +/** Ordering options when selecting data from "block". */ +export type Provider_Block_Order_By = { + hash?: InputMaybe; + height?: InputMaybe; + num_txs?: InputMaybe; + pre_commits_aggregate?: InputMaybe; + proposal_deposits_aggregate?: InputMaybe; + proposal_votes_aggregate?: InputMaybe; + proposer_address?: InputMaybe; + timestamp?: InputMaybe; + total_gas?: InputMaybe; + transactions_aggregate?: InputMaybe; + validator?: InputMaybe; + validator_voting_powers_aggregate?: InputMaybe; +}; + +/** select columns of table "block" */ +export enum Provider_Block_Select_Column { + /** column name */ + Hash = 'hash', + /** column name */ + Height = 'height', + /** column name */ + NumTxs = 'num_txs', + /** column name */ + ProposerAddress = 'proposer_address', + /** column name */ + Timestamp = 'timestamp', + /** column name */ + TotalGas = 'total_gas' +} + +/** order by stddev() on columns of table "block" */ +export type Provider_Block_Stddev_Order_By = { + height?: InputMaybe; + num_txs?: InputMaybe; + total_gas?: InputMaybe; +}; + +/** order by stddev_pop() on columns of table "block" */ +export type Provider_Block_Stddev_Pop_Order_By = { + height?: InputMaybe; + num_txs?: InputMaybe; + total_gas?: InputMaybe; +}; + +/** order by stddev_samp() on columns of table "block" */ +export type Provider_Block_Stddev_Samp_Order_By = { + height?: InputMaybe; + num_txs?: InputMaybe; + total_gas?: InputMaybe; +}; + +/** Streaming cursor of the table "block" */ +export type Provider_Block_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Provider_Block_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Provider_Block_Stream_Cursor_Value_Input = { + hash?: InputMaybe; + height?: InputMaybe; + num_txs?: InputMaybe; + proposer_address?: InputMaybe; + timestamp?: InputMaybe; + total_gas?: InputMaybe; +}; + +/** order by sum() on columns of table "block" */ +export type Provider_Block_Sum_Order_By = { + height?: InputMaybe; + num_txs?: InputMaybe; + total_gas?: InputMaybe; +}; + +/** order by var_pop() on columns of table "block" */ +export type Provider_Block_Var_Pop_Order_By = { + height?: InputMaybe; + num_txs?: InputMaybe; + total_gas?: InputMaybe; +}; + +/** order by var_samp() on columns of table "block" */ +export type Provider_Block_Var_Samp_Order_By = { + height?: InputMaybe; + num_txs?: InputMaybe; + total_gas?: InputMaybe; +}; + +/** order by variance() on columns of table "block" */ +export type Provider_Block_Variance_Order_By = { + height?: InputMaybe; + num_txs?: InputMaybe; + total_gas?: InputMaybe; +}; + +/** ordering argument of a cursor */ +export enum Provider_Cursor_Ordering { + /** ascending ordering of the cursor */ + Asc = 'ASC', + /** descending ordering of the cursor */ + Desc = 'DESC' +} + +/** columns and relationships of "double_sign_evidence" */ +export type Provider_Double_Sign_Evidence = { + __typename?: 'provider_double_sign_evidence'; + /** An object relationship */ + doubleSignVoteByVoteAId: Provider_Double_Sign_Vote; + /** An object relationship */ + double_sign_vote: Provider_Double_Sign_Vote; + height: Scalars['bigint']; + vote_a_id: Scalars['bigint']; + vote_b_id: Scalars['bigint']; +}; + +/** order by aggregate values of table "double_sign_evidence" */ +export type Provider_Double_Sign_Evidence_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by avg() on columns of table "double_sign_evidence" */ +export type Provider_Double_Sign_Evidence_Avg_Order_By = { + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "double_sign_evidence". All fields are combined with a logical 'AND'. */ +export type Provider_Double_Sign_Evidence_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + doubleSignVoteByVoteAId?: InputMaybe; + double_sign_vote?: InputMaybe; + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; +}; + +/** order by max() on columns of table "double_sign_evidence" */ +export type Provider_Double_Sign_Evidence_Max_Order_By = { + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; +}; + +/** order by min() on columns of table "double_sign_evidence" */ +export type Provider_Double_Sign_Evidence_Min_Order_By = { + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; +}; + +/** Ordering options when selecting data from "double_sign_evidence". */ +export type Provider_Double_Sign_Evidence_Order_By = { + doubleSignVoteByVoteAId?: InputMaybe; + double_sign_vote?: InputMaybe; + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; +}; + +/** select columns of table "double_sign_evidence" */ +export enum Provider_Double_Sign_Evidence_Select_Column { + /** column name */ + Height = 'height', + /** column name */ + VoteAId = 'vote_a_id', + /** column name */ + VoteBId = 'vote_b_id' +} + +/** order by stddev() on columns of table "double_sign_evidence" */ +export type Provider_Double_Sign_Evidence_Stddev_Order_By = { + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; +}; + +/** order by stddev_pop() on columns of table "double_sign_evidence" */ +export type Provider_Double_Sign_Evidence_Stddev_Pop_Order_By = { + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; +}; + +/** order by stddev_samp() on columns of table "double_sign_evidence" */ +export type Provider_Double_Sign_Evidence_Stddev_Samp_Order_By = { + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; +}; + +/** Streaming cursor of the table "double_sign_evidence" */ +export type Provider_Double_Sign_Evidence_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Provider_Double_Sign_Evidence_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Provider_Double_Sign_Evidence_Stream_Cursor_Value_Input = { + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; +}; + +/** order by sum() on columns of table "double_sign_evidence" */ +export type Provider_Double_Sign_Evidence_Sum_Order_By = { + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; +}; + +/** order by var_pop() on columns of table "double_sign_evidence" */ +export type Provider_Double_Sign_Evidence_Var_Pop_Order_By = { + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; +}; + +/** order by var_samp() on columns of table "double_sign_evidence" */ +export type Provider_Double_Sign_Evidence_Var_Samp_Order_By = { + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; +}; + +/** order by variance() on columns of table "double_sign_evidence" */ +export type Provider_Double_Sign_Evidence_Variance_Order_By = { + height?: InputMaybe; + vote_a_id?: InputMaybe; + vote_b_id?: InputMaybe; +}; + +/** columns and relationships of "double_sign_vote" */ +export type Provider_Double_Sign_Vote = { + __typename?: 'provider_double_sign_vote'; + block_id: Scalars['String']; + /** An array relationship */ + doubleSignEvidencesByVoteBId: Array; + /** An array relationship */ + double_sign_evidences: Array; + height: Scalars['bigint']; + round: Scalars['Int']; + signature: Scalars['String']; + type: Scalars['smallint']; + /** An object relationship */ + validator: Provider_Validator; + validator_address: Scalars['String']; + validator_index: Scalars['Int']; +}; + + +/** columns and relationships of "double_sign_vote" */ +export type Provider_Double_Sign_VoteDoubleSignEvidencesByVoteBIdArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "double_sign_vote" */ +export type Provider_Double_Sign_VoteDouble_Sign_EvidencesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** order by aggregate values of table "double_sign_vote" */ +export type Provider_Double_Sign_Vote_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by avg() on columns of table "double_sign_vote" */ +export type Provider_Double_Sign_Vote_Avg_Order_By = { + height?: InputMaybe; + round?: InputMaybe; + type?: InputMaybe; + validator_index?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "double_sign_vote". All fields are combined with a logical 'AND'. */ +export type Provider_Double_Sign_Vote_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + block_id?: InputMaybe; + doubleSignEvidencesByVoteBId?: InputMaybe; + double_sign_evidences?: InputMaybe; + height?: InputMaybe; + round?: InputMaybe; + signature?: InputMaybe; + type?: InputMaybe; + validator?: InputMaybe; + validator_address?: InputMaybe; + validator_index?: InputMaybe; +}; + +/** order by max() on columns of table "double_sign_vote" */ +export type Provider_Double_Sign_Vote_Max_Order_By = { + block_id?: InputMaybe; + height?: InputMaybe; + round?: InputMaybe; + signature?: InputMaybe; + type?: InputMaybe; + validator_address?: InputMaybe; + validator_index?: InputMaybe; +}; + +/** order by min() on columns of table "double_sign_vote" */ +export type Provider_Double_Sign_Vote_Min_Order_By = { + block_id?: InputMaybe; + height?: InputMaybe; + round?: InputMaybe; + signature?: InputMaybe; + type?: InputMaybe; + validator_address?: InputMaybe; + validator_index?: InputMaybe; +}; + +/** Ordering options when selecting data from "double_sign_vote". */ +export type Provider_Double_Sign_Vote_Order_By = { + block_id?: InputMaybe; + doubleSignEvidencesByVoteBId_aggregate?: InputMaybe; + double_sign_evidences_aggregate?: InputMaybe; + height?: InputMaybe; + round?: InputMaybe; + signature?: InputMaybe; + type?: InputMaybe; + validator?: InputMaybe; + validator_address?: InputMaybe; + validator_index?: InputMaybe; +}; + +/** select columns of table "double_sign_vote" */ +export enum Provider_Double_Sign_Vote_Select_Column { + /** column name */ + BlockId = 'block_id', + /** column name */ + Height = 'height', + /** column name */ + Round = 'round', + /** column name */ + Signature = 'signature', + /** column name */ + Type = 'type', + /** column name */ + ValidatorAddress = 'validator_address', + /** column name */ + ValidatorIndex = 'validator_index' +} + +/** order by stddev() on columns of table "double_sign_vote" */ +export type Provider_Double_Sign_Vote_Stddev_Order_By = { + height?: InputMaybe; + round?: InputMaybe; + type?: InputMaybe; + validator_index?: InputMaybe; +}; + +/** order by stddev_pop() on columns of table "double_sign_vote" */ +export type Provider_Double_Sign_Vote_Stddev_Pop_Order_By = { + height?: InputMaybe; + round?: InputMaybe; + type?: InputMaybe; + validator_index?: InputMaybe; +}; + +/** order by stddev_samp() on columns of table "double_sign_vote" */ +export type Provider_Double_Sign_Vote_Stddev_Samp_Order_By = { + height?: InputMaybe; + round?: InputMaybe; + type?: InputMaybe; + validator_index?: InputMaybe; +}; + +/** Streaming cursor of the table "double_sign_vote" */ +export type Provider_Double_Sign_Vote_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Provider_Double_Sign_Vote_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Provider_Double_Sign_Vote_Stream_Cursor_Value_Input = { + block_id?: InputMaybe; + height?: InputMaybe; + round?: InputMaybe; + signature?: InputMaybe; + type?: InputMaybe; + validator_address?: InputMaybe; + validator_index?: InputMaybe; +}; + +/** order by sum() on columns of table "double_sign_vote" */ +export type Provider_Double_Sign_Vote_Sum_Order_By = { + height?: InputMaybe; + round?: InputMaybe; + type?: InputMaybe; + validator_index?: InputMaybe; +}; + +/** order by var_pop() on columns of table "double_sign_vote" */ +export type Provider_Double_Sign_Vote_Var_Pop_Order_By = { + height?: InputMaybe; + round?: InputMaybe; + type?: InputMaybe; + validator_index?: InputMaybe; +}; + +/** order by var_samp() on columns of table "double_sign_vote" */ +export type Provider_Double_Sign_Vote_Var_Samp_Order_By = { + height?: InputMaybe; + round?: InputMaybe; + type?: InputMaybe; + validator_index?: InputMaybe; +}; + +/** order by variance() on columns of table "double_sign_vote" */ +export type Provider_Double_Sign_Vote_Variance_Order_By = { + height?: InputMaybe; + round?: InputMaybe; + type?: InputMaybe; + validator_index?: InputMaybe; +}; + +/** columns and relationships of "pre_commit" */ +export type Provider_Pre_Commit = { + __typename?: 'provider_pre_commit'; + height: Scalars['bigint']; + proposer_priority: Scalars['bigint']; + timestamp: Scalars['timestamp']; + /** An object relationship */ + validator: Provider_Validator; + validator_address: Scalars['String']; + voting_power: Scalars['bigint']; +}; + +/** aggregated selection of "pre_commit" */ +export type Provider_Pre_Commit_Aggregate = { + __typename?: 'provider_pre_commit_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "pre_commit" */ +export type Provider_Pre_Commit_Aggregate_Fields = { + __typename?: 'provider_pre_commit_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + + +/** aggregate fields of "pre_commit" */ +export type Provider_Pre_Commit_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** order by aggregate values of table "pre_commit" */ +export type Provider_Pre_Commit_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** aggregate avg on columns */ +export type Provider_Pre_Commit_Avg_Fields = { + __typename?: 'provider_pre_commit_avg_fields'; + height?: Maybe; + proposer_priority?: Maybe; + voting_power?: Maybe; +}; + +/** order by avg() on columns of table "pre_commit" */ +export type Provider_Pre_Commit_Avg_Order_By = { + height?: InputMaybe; + proposer_priority?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "pre_commit". All fields are combined with a logical 'AND'. */ +export type Provider_Pre_Commit_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + height?: InputMaybe; + proposer_priority?: InputMaybe; + timestamp?: InputMaybe; + validator?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Provider_Pre_Commit_Max_Fields = { + __typename?: 'provider_pre_commit_max_fields'; + height?: Maybe; + proposer_priority?: Maybe; + timestamp?: Maybe; + validator_address?: Maybe; + voting_power?: Maybe; +}; + +/** order by max() on columns of table "pre_commit" */ +export type Provider_Pre_Commit_Max_Order_By = { + height?: InputMaybe; + proposer_priority?: InputMaybe; + timestamp?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** aggregate min on columns */ +export type Provider_Pre_Commit_Min_Fields = { + __typename?: 'provider_pre_commit_min_fields'; + height?: Maybe; + proposer_priority?: Maybe; + timestamp?: Maybe; + validator_address?: Maybe; + voting_power?: Maybe; +}; + +/** order by min() on columns of table "pre_commit" */ +export type Provider_Pre_Commit_Min_Order_By = { + height?: InputMaybe; + proposer_priority?: InputMaybe; + timestamp?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** Ordering options when selecting data from "pre_commit". */ +export type Provider_Pre_Commit_Order_By = { + height?: InputMaybe; + proposer_priority?: InputMaybe; + timestamp?: InputMaybe; + validator?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** select columns of table "pre_commit" */ +export enum Provider_Pre_Commit_Select_Column { + /** column name */ + Height = 'height', + /** column name */ + ProposerPriority = 'proposer_priority', + /** column name */ + Timestamp = 'timestamp', + /** column name */ + ValidatorAddress = 'validator_address', + /** column name */ + VotingPower = 'voting_power' +} + +/** aggregate stddev on columns */ +export type Provider_Pre_Commit_Stddev_Fields = { + __typename?: 'provider_pre_commit_stddev_fields'; + height?: Maybe; + proposer_priority?: Maybe; + voting_power?: Maybe; +}; + +/** order by stddev() on columns of table "pre_commit" */ +export type Provider_Pre_Commit_Stddev_Order_By = { + height?: InputMaybe; + proposer_priority?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** aggregate stddev_pop on columns */ +export type Provider_Pre_Commit_Stddev_Pop_Fields = { + __typename?: 'provider_pre_commit_stddev_pop_fields'; + height?: Maybe; + proposer_priority?: Maybe; + voting_power?: Maybe; +}; + +/** order by stddev_pop() on columns of table "pre_commit" */ +export type Provider_Pre_Commit_Stddev_Pop_Order_By = { + height?: InputMaybe; + proposer_priority?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** aggregate stddev_samp on columns */ +export type Provider_Pre_Commit_Stddev_Samp_Fields = { + __typename?: 'provider_pre_commit_stddev_samp_fields'; + height?: Maybe; + proposer_priority?: Maybe; + voting_power?: Maybe; +}; + +/** order by stddev_samp() on columns of table "pre_commit" */ +export type Provider_Pre_Commit_Stddev_Samp_Order_By = { + height?: InputMaybe; + proposer_priority?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** Streaming cursor of the table "pre_commit" */ +export type Provider_Pre_Commit_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Provider_Pre_Commit_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Provider_Pre_Commit_Stream_Cursor_Value_Input = { + height?: InputMaybe; + proposer_priority?: InputMaybe; + timestamp?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** aggregate sum on columns */ +export type Provider_Pre_Commit_Sum_Fields = { + __typename?: 'provider_pre_commit_sum_fields'; + height?: Maybe; + proposer_priority?: Maybe; + voting_power?: Maybe; +}; + +/** order by sum() on columns of table "pre_commit" */ +export type Provider_Pre_Commit_Sum_Order_By = { + height?: InputMaybe; + proposer_priority?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** aggregate var_pop on columns */ +export type Provider_Pre_Commit_Var_Pop_Fields = { + __typename?: 'provider_pre_commit_var_pop_fields'; + height?: Maybe; + proposer_priority?: Maybe; + voting_power?: Maybe; +}; + +/** order by var_pop() on columns of table "pre_commit" */ +export type Provider_Pre_Commit_Var_Pop_Order_By = { + height?: InputMaybe; + proposer_priority?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** aggregate var_samp on columns */ +export type Provider_Pre_Commit_Var_Samp_Fields = { + __typename?: 'provider_pre_commit_var_samp_fields'; + height?: Maybe; + proposer_priority?: Maybe; + voting_power?: Maybe; +}; + +/** order by var_samp() on columns of table "pre_commit" */ +export type Provider_Pre_Commit_Var_Samp_Order_By = { + height?: InputMaybe; + proposer_priority?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** aggregate variance on columns */ +export type Provider_Pre_Commit_Variance_Fields = { + __typename?: 'provider_pre_commit_variance_fields'; + height?: Maybe; + proposer_priority?: Maybe; + voting_power?: Maybe; +}; + +/** order by variance() on columns of table "pre_commit" */ +export type Provider_Pre_Commit_Variance_Order_By = { + height?: InputMaybe; + proposer_priority?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** columns and relationships of "proposal" */ +export type Provider_Proposal = { + __typename?: 'provider_proposal'; + content: Scalars['jsonb']; + deposit_end_time?: Maybe; + description: Scalars['String']; + id: Scalars['Int']; + /** An array relationship */ + proposal_deposits: Array; + proposal_route: Scalars['String']; + /** An object relationship */ + proposal_tally_result?: Maybe; + /** An array relationship */ + proposal_tally_results: Array; + proposal_type: Scalars['String']; + /** An array relationship */ + proposal_votes: Array; + /** An object relationship */ + proposer: Provider_Account; + proposer_address: Scalars['String']; + /** An object relationship */ + staking_pool_snapshot?: Maybe; + status?: Maybe; + submit_time: Scalars['timestamp']; + title: Scalars['String']; + /** An array relationship */ + validator_status_snapshots: Array; + voting_end_time?: Maybe; + voting_start_time?: Maybe; +}; + + +/** columns and relationships of "proposal" */ +export type Provider_ProposalContentArgs = { + path?: InputMaybe; +}; + + +/** columns and relationships of "proposal" */ +export type Provider_ProposalProposal_DepositsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "proposal" */ +export type Provider_ProposalProposal_Tally_ResultsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "proposal" */ +export type Provider_ProposalProposal_VotesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "proposal" */ +export type Provider_ProposalValidator_Status_SnapshotsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** aggregated selection of "proposal" */ +export type Provider_Proposal_Aggregate = { + __typename?: 'provider_proposal_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "proposal" */ +export type Provider_Proposal_Aggregate_Fields = { + __typename?: 'provider_proposal_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + + +/** aggregate fields of "proposal" */ +export type Provider_Proposal_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** order by aggregate values of table "proposal" */ +export type Provider_Proposal_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** aggregate avg on columns */ +export type Provider_Proposal_Avg_Fields = { + __typename?: 'provider_proposal_avg_fields'; + id?: Maybe; +}; + +/** order by avg() on columns of table "proposal" */ +export type Provider_Proposal_Avg_Order_By = { + id?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "proposal". All fields are combined with a logical 'AND'. */ +export type Provider_Proposal_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + content?: InputMaybe; + deposit_end_time?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + proposal_deposits?: InputMaybe; + proposal_route?: InputMaybe; + proposal_tally_result?: InputMaybe; + proposal_tally_results?: InputMaybe; + proposal_type?: InputMaybe; + proposal_votes?: InputMaybe; + proposer?: InputMaybe; + proposer_address?: InputMaybe; + staking_pool_snapshot?: InputMaybe; + status?: InputMaybe; + submit_time?: InputMaybe; + title?: InputMaybe; + validator_status_snapshots?: InputMaybe; + voting_end_time?: InputMaybe; + voting_start_time?: InputMaybe; +}; + +/** columns and relationships of "proposal_deposit" */ +export type Provider_Proposal_Deposit = { + __typename?: 'provider_proposal_deposit'; + amount?: Maybe; + /** An object relationship */ + block?: Maybe; + /** An object relationship */ + depositor?: Maybe; + depositor_address?: Maybe; + height: Scalars['bigint']; + /** An object relationship */ + proposal: Provider_Proposal; + proposal_id: Scalars['Int']; + timestamp?: Maybe; +}; + +/** order by aggregate values of table "proposal_deposit" */ +export type Provider_Proposal_Deposit_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by avg() on columns of table "proposal_deposit" */ +export type Provider_Proposal_Deposit_Avg_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "proposal_deposit". All fields are combined with a logical 'AND'. */ +export type Provider_Proposal_Deposit_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + amount?: InputMaybe<_Coin_Comparison_Exp>; + block?: InputMaybe; + depositor?: InputMaybe; + depositor_address?: InputMaybe; + height?: InputMaybe; + proposal?: InputMaybe; + proposal_id?: InputMaybe; + timestamp?: InputMaybe; +}; + +/** order by max() on columns of table "proposal_deposit" */ +export type Provider_Proposal_Deposit_Max_Order_By = { + depositor_address?: InputMaybe; + height?: InputMaybe; + proposal_id?: InputMaybe; + timestamp?: InputMaybe; +}; + +/** order by min() on columns of table "proposal_deposit" */ +export type Provider_Proposal_Deposit_Min_Order_By = { + depositor_address?: InputMaybe; + height?: InputMaybe; + proposal_id?: InputMaybe; + timestamp?: InputMaybe; +}; + +/** Ordering options when selecting data from "proposal_deposit". */ +export type Provider_Proposal_Deposit_Order_By = { + amount?: InputMaybe; + block?: InputMaybe; + depositor?: InputMaybe; + depositor_address?: InputMaybe; + height?: InputMaybe; + proposal?: InputMaybe; + proposal_id?: InputMaybe; + timestamp?: InputMaybe; +}; + +/** select columns of table "proposal_deposit" */ +export enum Provider_Proposal_Deposit_Select_Column { + /** column name */ + Amount = 'amount', + /** column name */ + DepositorAddress = 'depositor_address', + /** column name */ + Height = 'height', + /** column name */ + ProposalId = 'proposal_id', + /** column name */ + Timestamp = 'timestamp' +} + +/** order by stddev() on columns of table "proposal_deposit" */ +export type Provider_Proposal_Deposit_Stddev_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** order by stddev_pop() on columns of table "proposal_deposit" */ +export type Provider_Proposal_Deposit_Stddev_Pop_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** order by stddev_samp() on columns of table "proposal_deposit" */ +export type Provider_Proposal_Deposit_Stddev_Samp_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** Streaming cursor of the table "proposal_deposit" */ +export type Provider_Proposal_Deposit_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Provider_Proposal_Deposit_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Provider_Proposal_Deposit_Stream_Cursor_Value_Input = { + amount?: InputMaybe; + depositor_address?: InputMaybe; + height?: InputMaybe; + proposal_id?: InputMaybe; + timestamp?: InputMaybe; +}; + +/** order by sum() on columns of table "proposal_deposit" */ +export type Provider_Proposal_Deposit_Sum_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** order by var_pop() on columns of table "proposal_deposit" */ +export type Provider_Proposal_Deposit_Var_Pop_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** order by var_samp() on columns of table "proposal_deposit" */ +export type Provider_Proposal_Deposit_Var_Samp_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** order by variance() on columns of table "proposal_deposit" */ +export type Provider_Proposal_Deposit_Variance_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Provider_Proposal_Max_Fields = { + __typename?: 'provider_proposal_max_fields'; + deposit_end_time?: Maybe; + description?: Maybe; + id?: Maybe; + proposal_route?: Maybe; + proposal_type?: Maybe; + proposer_address?: Maybe; + status?: Maybe; + submit_time?: Maybe; + title?: Maybe; + voting_end_time?: Maybe; + voting_start_time?: Maybe; +}; + +/** order by max() on columns of table "proposal" */ +export type Provider_Proposal_Max_Order_By = { + deposit_end_time?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + proposal_route?: InputMaybe; + proposal_type?: InputMaybe; + proposer_address?: InputMaybe; + status?: InputMaybe; + submit_time?: InputMaybe; + title?: InputMaybe; + voting_end_time?: InputMaybe; + voting_start_time?: InputMaybe; +}; + +/** aggregate min on columns */ +export type Provider_Proposal_Min_Fields = { + __typename?: 'provider_proposal_min_fields'; + deposit_end_time?: Maybe; + description?: Maybe; + id?: Maybe; + proposal_route?: Maybe; + proposal_type?: Maybe; + proposer_address?: Maybe; + status?: Maybe; + submit_time?: Maybe; + title?: Maybe; + voting_end_time?: Maybe; + voting_start_time?: Maybe; +}; + +/** order by min() on columns of table "proposal" */ +export type Provider_Proposal_Min_Order_By = { + deposit_end_time?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + proposal_route?: InputMaybe; + proposal_type?: InputMaybe; + proposer_address?: InputMaybe; + status?: InputMaybe; + submit_time?: InputMaybe; + title?: InputMaybe; + voting_end_time?: InputMaybe; + voting_start_time?: InputMaybe; +}; + +/** Ordering options when selecting data from "proposal". */ +export type Provider_Proposal_Order_By = { + content?: InputMaybe; + deposit_end_time?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + proposal_deposits_aggregate?: InputMaybe; + proposal_route?: InputMaybe; + proposal_tally_result?: InputMaybe; + proposal_tally_results_aggregate?: InputMaybe; + proposal_type?: InputMaybe; + proposal_votes_aggregate?: InputMaybe; + proposer?: InputMaybe; + proposer_address?: InputMaybe; + staking_pool_snapshot?: InputMaybe; + status?: InputMaybe; + submit_time?: InputMaybe; + title?: InputMaybe; + validator_status_snapshots_aggregate?: InputMaybe; + voting_end_time?: InputMaybe; + voting_start_time?: InputMaybe; +}; + +/** select columns of table "proposal" */ +export enum Provider_Proposal_Select_Column { + /** column name */ + Content = 'content', + /** column name */ + DepositEndTime = 'deposit_end_time', + /** column name */ + Description = 'description', + /** column name */ + Id = 'id', + /** column name */ + ProposalRoute = 'proposal_route', + /** column name */ + ProposalType = 'proposal_type', + /** column name */ + ProposerAddress = 'proposer_address', + /** column name */ + Status = 'status', + /** column name */ + SubmitTime = 'submit_time', + /** column name */ + Title = 'title', + /** column name */ + VotingEndTime = 'voting_end_time', + /** column name */ + VotingStartTime = 'voting_start_time' +} + +/** columns and relationships of "proposal_staking_pool_snapshot" */ +export type Provider_Proposal_Staking_Pool_Snapshot = { + __typename?: 'provider_proposal_staking_pool_snapshot'; + bonded_tokens: Scalars['String']; + height: Scalars['bigint']; + not_bonded_tokens: Scalars['String']; + /** An object relationship */ + proposal: Provider_Proposal; + proposal_id: Scalars['Int']; +}; + +/** Boolean expression to filter rows from the table "proposal_staking_pool_snapshot". All fields are combined with a logical 'AND'. */ +export type Provider_Proposal_Staking_Pool_Snapshot_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + bonded_tokens?: InputMaybe; + height?: InputMaybe; + not_bonded_tokens?: InputMaybe; + proposal?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** Ordering options when selecting data from "proposal_staking_pool_snapshot". */ +export type Provider_Proposal_Staking_Pool_Snapshot_Order_By = { + bonded_tokens?: InputMaybe; + height?: InputMaybe; + not_bonded_tokens?: InputMaybe; + proposal?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** select columns of table "proposal_staking_pool_snapshot" */ +export enum Provider_Proposal_Staking_Pool_Snapshot_Select_Column { + /** column name */ + BondedTokens = 'bonded_tokens', + /** column name */ + Height = 'height', + /** column name */ + NotBondedTokens = 'not_bonded_tokens', + /** column name */ + ProposalId = 'proposal_id' +} + +/** Streaming cursor of the table "proposal_staking_pool_snapshot" */ +export type Provider_Proposal_Staking_Pool_Snapshot_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Provider_Proposal_Staking_Pool_Snapshot_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Provider_Proposal_Staking_Pool_Snapshot_Stream_Cursor_Value_Input = { + bonded_tokens?: InputMaybe; + height?: InputMaybe; + not_bonded_tokens?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** aggregate stddev on columns */ +export type Provider_Proposal_Stddev_Fields = { + __typename?: 'provider_proposal_stddev_fields'; + id?: Maybe; +}; + +/** order by stddev() on columns of table "proposal" */ +export type Provider_Proposal_Stddev_Order_By = { + id?: InputMaybe; +}; + +/** aggregate stddev_pop on columns */ +export type Provider_Proposal_Stddev_Pop_Fields = { + __typename?: 'provider_proposal_stddev_pop_fields'; + id?: Maybe; +}; + +/** order by stddev_pop() on columns of table "proposal" */ +export type Provider_Proposal_Stddev_Pop_Order_By = { + id?: InputMaybe; +}; + +/** aggregate stddev_samp on columns */ +export type Provider_Proposal_Stddev_Samp_Fields = { + __typename?: 'provider_proposal_stddev_samp_fields'; + id?: Maybe; +}; + +/** order by stddev_samp() on columns of table "proposal" */ +export type Provider_Proposal_Stddev_Samp_Order_By = { + id?: InputMaybe; +}; + +/** Streaming cursor of the table "proposal" */ +export type Provider_Proposal_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Provider_Proposal_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Provider_Proposal_Stream_Cursor_Value_Input = { + content?: InputMaybe; + deposit_end_time?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + proposal_route?: InputMaybe; + proposal_type?: InputMaybe; + proposer_address?: InputMaybe; + status?: InputMaybe; + submit_time?: InputMaybe; + title?: InputMaybe; + voting_end_time?: InputMaybe; + voting_start_time?: InputMaybe; +}; + +/** aggregate sum on columns */ +export type Provider_Proposal_Sum_Fields = { + __typename?: 'provider_proposal_sum_fields'; + id?: Maybe; +}; + +/** order by sum() on columns of table "proposal" */ +export type Provider_Proposal_Sum_Order_By = { + id?: InputMaybe; +}; + +/** columns and relationships of "proposal_tally_result" */ +export type Provider_Proposal_Tally_Result = { + __typename?: 'provider_proposal_tally_result'; + abstain: Scalars['String']; + height: Scalars['bigint']; + no: Scalars['String']; + no_with_veto: Scalars['String']; + /** An object relationship */ + proposal: Provider_Proposal; + proposal_id: Scalars['Int']; + yes: Scalars['String']; +}; + +/** order by aggregate values of table "proposal_tally_result" */ +export type Provider_Proposal_Tally_Result_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by avg() on columns of table "proposal_tally_result" */ +export type Provider_Proposal_Tally_Result_Avg_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "proposal_tally_result". All fields are combined with a logical 'AND'. */ +export type Provider_Proposal_Tally_Result_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + abstain?: InputMaybe; + height?: InputMaybe; + no?: InputMaybe; + no_with_veto?: InputMaybe; + proposal?: InputMaybe; + proposal_id?: InputMaybe; + yes?: InputMaybe; +}; + +/** order by max() on columns of table "proposal_tally_result" */ +export type Provider_Proposal_Tally_Result_Max_Order_By = { + abstain?: InputMaybe; + height?: InputMaybe; + no?: InputMaybe; + no_with_veto?: InputMaybe; + proposal_id?: InputMaybe; + yes?: InputMaybe; +}; + +/** order by min() on columns of table "proposal_tally_result" */ +export type Provider_Proposal_Tally_Result_Min_Order_By = { + abstain?: InputMaybe; + height?: InputMaybe; + no?: InputMaybe; + no_with_veto?: InputMaybe; + proposal_id?: InputMaybe; + yes?: InputMaybe; +}; + +/** Ordering options when selecting data from "proposal_tally_result". */ +export type Provider_Proposal_Tally_Result_Order_By = { + abstain?: InputMaybe; + height?: InputMaybe; + no?: InputMaybe; + no_with_veto?: InputMaybe; + proposal?: InputMaybe; + proposal_id?: InputMaybe; + yes?: InputMaybe; +}; + +/** select columns of table "proposal_tally_result" */ +export enum Provider_Proposal_Tally_Result_Select_Column { + /** column name */ + Abstain = 'abstain', + /** column name */ + Height = 'height', + /** column name */ + No = 'no', + /** column name */ + NoWithVeto = 'no_with_veto', + /** column name */ + ProposalId = 'proposal_id', + /** column name */ + Yes = 'yes' +} + +/** order by stddev() on columns of table "proposal_tally_result" */ +export type Provider_Proposal_Tally_Result_Stddev_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** order by stddev_pop() on columns of table "proposal_tally_result" */ +export type Provider_Proposal_Tally_Result_Stddev_Pop_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** order by stddev_samp() on columns of table "proposal_tally_result" */ +export type Provider_Proposal_Tally_Result_Stddev_Samp_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** Streaming cursor of the table "proposal_tally_result" */ +export type Provider_Proposal_Tally_Result_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Provider_Proposal_Tally_Result_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Provider_Proposal_Tally_Result_Stream_Cursor_Value_Input = { + abstain?: InputMaybe; + height?: InputMaybe; + no?: InputMaybe; + no_with_veto?: InputMaybe; + proposal_id?: InputMaybe; + yes?: InputMaybe; +}; + +/** order by sum() on columns of table "proposal_tally_result" */ +export type Provider_Proposal_Tally_Result_Sum_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** order by var_pop() on columns of table "proposal_tally_result" */ +export type Provider_Proposal_Tally_Result_Var_Pop_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** order by var_samp() on columns of table "proposal_tally_result" */ +export type Provider_Proposal_Tally_Result_Var_Samp_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** order by variance() on columns of table "proposal_tally_result" */ +export type Provider_Proposal_Tally_Result_Variance_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** columns and relationships of "proposal_validator_status_snapshot" */ +export type Provider_Proposal_Validator_Status_Snapshot = { + __typename?: 'provider_proposal_validator_status_snapshot'; + height: Scalars['bigint']; + jailed: Scalars['Boolean']; + /** An object relationship */ + proposal?: Maybe; + proposal_id?: Maybe; + status: Scalars['Int']; + /** An object relationship */ + validator: Provider_Validator; + validator_address: Scalars['String']; + voting_power: Scalars['bigint']; +}; + +/** order by aggregate values of table "proposal_validator_status_snapshot" */ +export type Provider_Proposal_Validator_Status_Snapshot_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by avg() on columns of table "proposal_validator_status_snapshot" */ +export type Provider_Proposal_Validator_Status_Snapshot_Avg_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "proposal_validator_status_snapshot". All fields are combined with a logical 'AND'. */ +export type Provider_Proposal_Validator_Status_Snapshot_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + height?: InputMaybe; + jailed?: InputMaybe; + proposal?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + validator?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** order by max() on columns of table "proposal_validator_status_snapshot" */ +export type Provider_Proposal_Validator_Status_Snapshot_Max_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** order by min() on columns of table "proposal_validator_status_snapshot" */ +export type Provider_Proposal_Validator_Status_Snapshot_Min_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** Ordering options when selecting data from "proposal_validator_status_snapshot". */ +export type Provider_Proposal_Validator_Status_Snapshot_Order_By = { + height?: InputMaybe; + jailed?: InputMaybe; + proposal?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + validator?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** select columns of table "proposal_validator_status_snapshot" */ +export enum Provider_Proposal_Validator_Status_Snapshot_Select_Column { + /** column name */ + Height = 'height', + /** column name */ + Jailed = 'jailed', + /** column name */ + ProposalId = 'proposal_id', + /** column name */ + Status = 'status', + /** column name */ + ValidatorAddress = 'validator_address', + /** column name */ + VotingPower = 'voting_power' +} + +/** order by stddev() on columns of table "proposal_validator_status_snapshot" */ +export type Provider_Proposal_Validator_Status_Snapshot_Stddev_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** order by stddev_pop() on columns of table "proposal_validator_status_snapshot" */ +export type Provider_Proposal_Validator_Status_Snapshot_Stddev_Pop_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** order by stddev_samp() on columns of table "proposal_validator_status_snapshot" */ +export type Provider_Proposal_Validator_Status_Snapshot_Stddev_Samp_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** Streaming cursor of the table "proposal_validator_status_snapshot" */ +export type Provider_Proposal_Validator_Status_Snapshot_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Provider_Proposal_Validator_Status_Snapshot_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Provider_Proposal_Validator_Status_Snapshot_Stream_Cursor_Value_Input = { + height?: InputMaybe; + jailed?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** order by sum() on columns of table "proposal_validator_status_snapshot" */ +export type Provider_Proposal_Validator_Status_Snapshot_Sum_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** order by var_pop() on columns of table "proposal_validator_status_snapshot" */ +export type Provider_Proposal_Validator_Status_Snapshot_Var_Pop_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** order by var_samp() on columns of table "proposal_validator_status_snapshot" */ +export type Provider_Proposal_Validator_Status_Snapshot_Var_Samp_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** order by variance() on columns of table "proposal_validator_status_snapshot" */ +export type Provider_Proposal_Validator_Status_Snapshot_Variance_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; + status?: InputMaybe; + voting_power?: InputMaybe; +}; + +/** aggregate var_pop on columns */ +export type Provider_Proposal_Var_Pop_Fields = { + __typename?: 'provider_proposal_var_pop_fields'; + id?: Maybe; +}; + +/** order by var_pop() on columns of table "proposal" */ +export type Provider_Proposal_Var_Pop_Order_By = { + id?: InputMaybe; +}; + +/** aggregate var_samp on columns */ +export type Provider_Proposal_Var_Samp_Fields = { + __typename?: 'provider_proposal_var_samp_fields'; + id?: Maybe; +}; + +/** order by var_samp() on columns of table "proposal" */ +export type Provider_Proposal_Var_Samp_Order_By = { + id?: InputMaybe; +}; + +/** aggregate variance on columns */ +export type Provider_Proposal_Variance_Fields = { + __typename?: 'provider_proposal_variance_fields'; + id?: Maybe; +}; + +/** order by variance() on columns of table "proposal" */ +export type Provider_Proposal_Variance_Order_By = { + id?: InputMaybe; +}; + +/** columns and relationships of "proposal_vote" */ +export type Provider_Proposal_Vote = { + __typename?: 'provider_proposal_vote'; + /** An object relationship */ + account: Provider_Account; + /** An object relationship */ + block?: Maybe; + height: Scalars['bigint']; + option: Scalars['String']; + /** An object relationship */ + proposal: Provider_Proposal; + proposal_id: Scalars['Int']; + timestamp?: Maybe; + voter_address: Scalars['String']; +}; + +/** order by aggregate values of table "proposal_vote" */ +export type Provider_Proposal_Vote_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by avg() on columns of table "proposal_vote" */ +export type Provider_Proposal_Vote_Avg_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "proposal_vote". All fields are combined with a logical 'AND'. */ +export type Provider_Proposal_Vote_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + account?: InputMaybe; + block?: InputMaybe; + height?: InputMaybe; + option?: InputMaybe; + proposal?: InputMaybe; + proposal_id?: InputMaybe; + timestamp?: InputMaybe; + voter_address?: InputMaybe; +}; + +/** order by max() on columns of table "proposal_vote" */ +export type Provider_Proposal_Vote_Max_Order_By = { + height?: InputMaybe; + option?: InputMaybe; + proposal_id?: InputMaybe; + timestamp?: InputMaybe; + voter_address?: InputMaybe; +}; + +/** order by min() on columns of table "proposal_vote" */ +export type Provider_Proposal_Vote_Min_Order_By = { + height?: InputMaybe; + option?: InputMaybe; + proposal_id?: InputMaybe; + timestamp?: InputMaybe; + voter_address?: InputMaybe; +}; + +/** Ordering options when selecting data from "proposal_vote". */ +export type Provider_Proposal_Vote_Order_By = { + account?: InputMaybe; + block?: InputMaybe; + height?: InputMaybe; + option?: InputMaybe; + proposal?: InputMaybe; + proposal_id?: InputMaybe; + timestamp?: InputMaybe; + voter_address?: InputMaybe; +}; + +/** select columns of table "proposal_vote" */ +export enum Provider_Proposal_Vote_Select_Column { + /** column name */ + Height = 'height', + /** column name */ + Option = 'option', + /** column name */ + ProposalId = 'proposal_id', + /** column name */ + Timestamp = 'timestamp', + /** column name */ + VoterAddress = 'voter_address' +} + +/** order by stddev() on columns of table "proposal_vote" */ +export type Provider_Proposal_Vote_Stddev_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** order by stddev_pop() on columns of table "proposal_vote" */ +export type Provider_Proposal_Vote_Stddev_Pop_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** order by stddev_samp() on columns of table "proposal_vote" */ +export type Provider_Proposal_Vote_Stddev_Samp_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** Streaming cursor of the table "proposal_vote" */ +export type Provider_Proposal_Vote_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Provider_Proposal_Vote_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Provider_Proposal_Vote_Stream_Cursor_Value_Input = { + height?: InputMaybe; + option?: InputMaybe; + proposal_id?: InputMaybe; + timestamp?: InputMaybe; + voter_address?: InputMaybe; +}; + +/** order by sum() on columns of table "proposal_vote" */ +export type Provider_Proposal_Vote_Sum_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** order by var_pop() on columns of table "proposal_vote" */ +export type Provider_Proposal_Vote_Var_Pop_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** order by var_samp() on columns of table "proposal_vote" */ +export type Provider_Proposal_Vote_Var_Samp_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +/** order by variance() on columns of table "proposal_vote" */ +export type Provider_Proposal_Vote_Variance_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; +}; + +export type Provider_Provider_Query = { + __typename?: 'provider_provider_query'; + /** fetch data from the table: "account" */ + provider_account: Array; + /** fetch data from the table: "account" using primary key columns */ + provider_account_by_pk?: Maybe; + /** fetch data from the table: "block" */ + provider_block: Array; + /** fetch data from the table: "block" using primary key columns */ + provider_block_by_pk?: Maybe; + /** fetch data from the table: "double_sign_evidence" */ + provider_double_sign_evidence: Array; + /** fetch data from the table: "double_sign_vote" */ + provider_double_sign_vote: Array; + /** fetch data from the table: "pre_commit" */ + provider_pre_commit: Array; + /** fetch aggregated fields from the table: "pre_commit" */ + provider_pre_commit_aggregate: Provider_Pre_Commit_Aggregate; + /** fetch data from the table: "proposal" */ + provider_proposal: Array; + /** fetch aggregated fields from the table: "proposal" */ + provider_proposal_aggregate: Provider_Proposal_Aggregate; + /** fetch data from the table: "proposal" using primary key columns */ + provider_proposal_by_pk?: Maybe; + /** fetch data from the table: "proposal_deposit" */ + provider_proposal_deposit: Array; + /** fetch data from the table: "proposal_staking_pool_snapshot" */ + provider_proposal_staking_pool_snapshot: Array; + /** fetch data from the table: "proposal_staking_pool_snapshot" using primary key columns */ + provider_proposal_staking_pool_snapshot_by_pk?: Maybe; + /** fetch data from the table: "proposal_tally_result" */ + provider_proposal_tally_result: Array; + /** fetch data from the table: "proposal_tally_result" using primary key columns */ + provider_proposal_tally_result_by_pk?: Maybe; + /** fetch data from the table: "proposal_validator_status_snapshot" */ + provider_proposal_validator_status_snapshot: Array; + /** fetch data from the table: "proposal_vote" */ + provider_proposal_vote: Array; + /** fetch data from the table: "transaction" */ + provider_transaction: Array; + /** fetch data from the table: "validator" */ + provider_validator: Array; + /** fetch data from the table: "validator" using primary key columns */ + provider_validator_by_pk?: Maybe; + /** fetch data from the table: "validator_commission" */ + provider_validator_commission: Array; + /** fetch data from the table: "validator_commission" using primary key columns */ + provider_validator_commission_by_pk?: Maybe; + /** fetch data from the table: "validator_description" */ + provider_validator_description: Array; + /** fetch data from the table: "validator_description" using primary key columns */ + provider_validator_description_by_pk?: Maybe; + /** fetch data from the table: "validator_info" */ + provider_validator_info: Array; + /** fetch data from the table: "validator_info" using primary key columns */ + provider_validator_info_by_pk?: Maybe; + /** fetch data from the table: "validator_signing_info" */ + provider_validator_signing_info: Array; + /** fetch data from the table: "validator_signing_info" using primary key columns */ + provider_validator_signing_info_by_pk?: Maybe; + /** fetch data from the table: "validator_status" */ + provider_validator_status: Array; + /** fetch aggregated fields from the table: "validator_status" */ + provider_validator_status_aggregate: Provider_Validator_Status_Aggregate; + /** fetch data from the table: "validator_status" using primary key columns */ + provider_validator_status_by_pk?: Maybe; + /** fetch data from the table: "validator_voting_power" */ + provider_validator_voting_power: Array; + /** fetch aggregated fields from the table: "validator_voting_power" */ + provider_validator_voting_power_aggregate: Provider_Validator_Voting_Power_Aggregate; + /** fetch data from the table: "validator_voting_power" using primary key columns */ + provider_validator_voting_power_by_pk?: Maybe; + /** fetch data from the table: "vesting_account" */ + provider_vesting_account: Array; + /** fetch data from the table: "vesting_period" */ + provider_vesting_period: Array; +}; + + +export type Provider_Provider_QueryProvider_AccountArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_QueryProvider_Account_By_PkArgs = { + address: Scalars['String']; +}; + + +export type Provider_Provider_QueryProvider_BlockArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_QueryProvider_Block_By_PkArgs = { + height: Scalars['bigint']; +}; + + +export type Provider_Provider_QueryProvider_Double_Sign_EvidenceArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_QueryProvider_Double_Sign_VoteArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_QueryProvider_Pre_CommitArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_QueryProvider_Pre_Commit_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_QueryProvider_ProposalArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_QueryProvider_Proposal_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_QueryProvider_Proposal_By_PkArgs = { + id: Scalars['Int']; +}; + + +export type Provider_Provider_QueryProvider_Proposal_DepositArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_QueryProvider_Proposal_Staking_Pool_SnapshotArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_QueryProvider_Proposal_Staking_Pool_Snapshot_By_PkArgs = { + proposal_id: Scalars['Int']; +}; + + +export type Provider_Provider_QueryProvider_Proposal_Tally_ResultArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_QueryProvider_Proposal_Tally_Result_By_PkArgs = { + proposal_id: Scalars['Int']; +}; + + +export type Provider_Provider_QueryProvider_Proposal_Validator_Status_SnapshotArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_QueryProvider_Proposal_VoteArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_QueryProvider_TransactionArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_QueryProvider_ValidatorArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_QueryProvider_Validator_By_PkArgs = { + consensus_address: Scalars['String']; +}; + + +export type Provider_Provider_QueryProvider_Validator_CommissionArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_QueryProvider_Validator_Commission_By_PkArgs = { + validator_address: Scalars['String']; +}; + + +export type Provider_Provider_QueryProvider_Validator_DescriptionArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_QueryProvider_Validator_Description_By_PkArgs = { + validator_address: Scalars['String']; +}; + + +export type Provider_Provider_QueryProvider_Validator_InfoArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_QueryProvider_Validator_Info_By_PkArgs = { + consensus_address: Scalars['String']; +}; + + +export type Provider_Provider_QueryProvider_Validator_Signing_InfoArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_QueryProvider_Validator_Signing_Info_By_PkArgs = { + validator_address: Scalars['String']; +}; + + +export type Provider_Provider_QueryProvider_Validator_StatusArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_QueryProvider_Validator_Status_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_QueryProvider_Validator_Status_By_PkArgs = { + validator_address: Scalars['String']; +}; + + +export type Provider_Provider_QueryProvider_Validator_Voting_PowerArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_QueryProvider_Validator_Voting_Power_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_QueryProvider_Validator_Voting_Power_By_PkArgs = { + validator_address: Scalars['String']; +}; + + +export type Provider_Provider_QueryProvider_Vesting_AccountArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_QueryProvider_Vesting_PeriodArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Provider_Provider_Subscription = { + __typename?: 'provider_provider_subscription'; + /** fetch data from the table: "account" */ + provider_account: Array; + /** fetch data from the table: "account" using primary key columns */ + provider_account_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "account" */ + provider_account_stream: Array; + /** fetch data from the table: "block" */ + provider_block: Array; + /** fetch data from the table: "block" using primary key columns */ + provider_block_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "block" */ + provider_block_stream: Array; + /** fetch data from the table: "double_sign_evidence" */ + provider_double_sign_evidence: Array; + /** fetch data from the table in a streaming manner: "double_sign_evidence" */ + provider_double_sign_evidence_stream: Array; + /** fetch data from the table: "double_sign_vote" */ + provider_double_sign_vote: Array; + /** fetch data from the table in a streaming manner: "double_sign_vote" */ + provider_double_sign_vote_stream: Array; + /** fetch data from the table: "pre_commit" */ + provider_pre_commit: Array; + /** fetch aggregated fields from the table: "pre_commit" */ + provider_pre_commit_aggregate: Provider_Pre_Commit_Aggregate; + /** fetch data from the table in a streaming manner: "pre_commit" */ + provider_pre_commit_stream: Array; + /** fetch data from the table: "proposal" */ + provider_proposal: Array; + /** fetch aggregated fields from the table: "proposal" */ + provider_proposal_aggregate: Provider_Proposal_Aggregate; + /** fetch data from the table: "proposal" using primary key columns */ + provider_proposal_by_pk?: Maybe; + /** fetch data from the table: "proposal_deposit" */ + provider_proposal_deposit: Array; + /** fetch data from the table in a streaming manner: "proposal_deposit" */ + provider_proposal_deposit_stream: Array; + /** fetch data from the table: "proposal_staking_pool_snapshot" */ + provider_proposal_staking_pool_snapshot: Array; + /** fetch data from the table: "proposal_staking_pool_snapshot" using primary key columns */ + provider_proposal_staking_pool_snapshot_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "proposal_staking_pool_snapshot" */ + provider_proposal_staking_pool_snapshot_stream: Array; + /** fetch data from the table in a streaming manner: "proposal" */ + provider_proposal_stream: Array; + /** fetch data from the table: "proposal_tally_result" */ + provider_proposal_tally_result: Array; + /** fetch data from the table: "proposal_tally_result" using primary key columns */ + provider_proposal_tally_result_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "proposal_tally_result" */ + provider_proposal_tally_result_stream: Array; + /** fetch data from the table: "proposal_validator_status_snapshot" */ + provider_proposal_validator_status_snapshot: Array; + /** fetch data from the table in a streaming manner: "proposal_validator_status_snapshot" */ + provider_proposal_validator_status_snapshot_stream: Array; + /** fetch data from the table: "proposal_vote" */ + provider_proposal_vote: Array; + /** fetch data from the table in a streaming manner: "proposal_vote" */ + provider_proposal_vote_stream: Array; + /** fetch data from the table: "transaction" */ + provider_transaction: Array; + /** fetch data from the table in a streaming manner: "transaction" */ + provider_transaction_stream: Array; + /** fetch data from the table: "validator" */ + provider_validator: Array; + /** fetch data from the table: "validator" using primary key columns */ + provider_validator_by_pk?: Maybe; + /** fetch data from the table: "validator_commission" */ + provider_validator_commission: Array; + /** fetch data from the table: "validator_commission" using primary key columns */ + provider_validator_commission_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "validator_commission" */ + provider_validator_commission_stream: Array; + /** fetch data from the table: "validator_description" */ + provider_validator_description: Array; + /** fetch data from the table: "validator_description" using primary key columns */ + provider_validator_description_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "validator_description" */ + provider_validator_description_stream: Array; + /** fetch data from the table: "validator_info" */ + provider_validator_info: Array; + /** fetch data from the table: "validator_info" using primary key columns */ + provider_validator_info_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "validator_info" */ + provider_validator_info_stream: Array; + /** fetch data from the table: "validator_signing_info" */ + provider_validator_signing_info: Array; + /** fetch data from the table: "validator_signing_info" using primary key columns */ + provider_validator_signing_info_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "validator_signing_info" */ + provider_validator_signing_info_stream: Array; + /** fetch data from the table: "validator_status" */ + provider_validator_status: Array; + /** fetch aggregated fields from the table: "validator_status" */ + provider_validator_status_aggregate: Provider_Validator_Status_Aggregate; + /** fetch data from the table: "validator_status" using primary key columns */ + provider_validator_status_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "validator_status" */ + provider_validator_status_stream: Array; + /** fetch data from the table in a streaming manner: "validator" */ + provider_validator_stream: Array; + /** fetch data from the table: "validator_voting_power" */ + provider_validator_voting_power: Array; + /** fetch aggregated fields from the table: "validator_voting_power" */ + provider_validator_voting_power_aggregate: Provider_Validator_Voting_Power_Aggregate; + /** fetch data from the table: "validator_voting_power" using primary key columns */ + provider_validator_voting_power_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "validator_voting_power" */ + provider_validator_voting_power_stream: Array; + /** fetch data from the table: "vesting_account" */ + provider_vesting_account: Array; + /** fetch data from the table in a streaming manner: "vesting_account" */ + provider_vesting_account_stream: Array; + /** fetch data from the table: "vesting_period" */ + provider_vesting_period: Array; + /** fetch data from the table in a streaming manner: "vesting_period" */ + provider_vesting_period_stream: Array; +}; + + +export type Provider_Provider_SubscriptionProvider_AccountArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Account_By_PkArgs = { + address: Scalars['String']; +}; + + +export type Provider_Provider_SubscriptionProvider_Account_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_BlockArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Block_By_PkArgs = { + height: Scalars['bigint']; +}; + + +export type Provider_Provider_SubscriptionProvider_Block_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Double_Sign_EvidenceArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Double_Sign_Evidence_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Double_Sign_VoteArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Double_Sign_Vote_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Pre_CommitArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Pre_Commit_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Pre_Commit_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_ProposalArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Proposal_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Proposal_By_PkArgs = { + id: Scalars['Int']; +}; + + +export type Provider_Provider_SubscriptionProvider_Proposal_DepositArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Proposal_Deposit_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Proposal_Staking_Pool_SnapshotArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Proposal_Staking_Pool_Snapshot_By_PkArgs = { + proposal_id: Scalars['Int']; +}; + + +export type Provider_Provider_SubscriptionProvider_Proposal_Staking_Pool_Snapshot_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Proposal_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Proposal_Tally_ResultArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Proposal_Tally_Result_By_PkArgs = { + proposal_id: Scalars['Int']; +}; + + +export type Provider_Provider_SubscriptionProvider_Proposal_Tally_Result_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Proposal_Validator_Status_SnapshotArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Proposal_Validator_Status_Snapshot_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Proposal_VoteArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Proposal_Vote_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_TransactionArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Transaction_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_ValidatorArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Validator_By_PkArgs = { + consensus_address: Scalars['String']; +}; + + +export type Provider_Provider_SubscriptionProvider_Validator_CommissionArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Validator_Commission_By_PkArgs = { + validator_address: Scalars['String']; +}; + + +export type Provider_Provider_SubscriptionProvider_Validator_Commission_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Validator_DescriptionArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Validator_Description_By_PkArgs = { + validator_address: Scalars['String']; +}; + + +export type Provider_Provider_SubscriptionProvider_Validator_Description_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Validator_InfoArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Validator_Info_By_PkArgs = { + consensus_address: Scalars['String']; +}; + + +export type Provider_Provider_SubscriptionProvider_Validator_Info_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Validator_Signing_InfoArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Validator_Signing_Info_By_PkArgs = { + validator_address: Scalars['String']; +}; + + +export type Provider_Provider_SubscriptionProvider_Validator_Signing_Info_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Validator_StatusArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Validator_Status_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Validator_Status_By_PkArgs = { + validator_address: Scalars['String']; +}; + + +export type Provider_Provider_SubscriptionProvider_Validator_Status_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Validator_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Validator_Voting_PowerArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Validator_Voting_Power_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Validator_Voting_Power_By_PkArgs = { + validator_address: Scalars['String']; +}; + + +export type Provider_Provider_SubscriptionProvider_Validator_Voting_Power_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Vesting_AccountArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Vesting_Account_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Vesting_PeriodArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Provider_Provider_SubscriptionProvider_Vesting_Period_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + +/** columns and relationships of "transaction" */ +export type Provider_Transaction = { + __typename?: 'provider_transaction'; + /** An object relationship */ + block: Provider_Block; + fee: Scalars['jsonb']; + gas_used?: Maybe; + gas_wanted?: Maybe; + hash: Scalars['String']; + height: Scalars['bigint']; + logs?: Maybe; + memo?: Maybe; + messages: Scalars['jsonb']; + raw_log?: Maybe; + signatures: Scalars['_text']; + signer_infos: Scalars['jsonb']; + success: Scalars['Boolean']; +}; + + +/** columns and relationships of "transaction" */ +export type Provider_TransactionFeeArgs = { + path?: InputMaybe; +}; + + +/** columns and relationships of "transaction" */ +export type Provider_TransactionLogsArgs = { + path?: InputMaybe; +}; + + +/** columns and relationships of "transaction" */ +export type Provider_TransactionMessagesArgs = { + path?: InputMaybe; +}; + + +/** columns and relationships of "transaction" */ +export type Provider_TransactionSigner_InfosArgs = { + path?: InputMaybe; +}; + +/** order by aggregate values of table "transaction" */ +export type Provider_Transaction_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by avg() on columns of table "transaction" */ +export type Provider_Transaction_Avg_Order_By = { + gas_used?: InputMaybe; + gas_wanted?: InputMaybe; + height?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "transaction". All fields are combined with a logical 'AND'. */ +export type Provider_Transaction_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + block?: InputMaybe; + fee?: InputMaybe; + gas_used?: InputMaybe; + gas_wanted?: InputMaybe; + hash?: InputMaybe; + height?: InputMaybe; + logs?: InputMaybe; + memo?: InputMaybe; + messages?: InputMaybe; + raw_log?: InputMaybe; + signatures?: InputMaybe<_Text_Comparison_Exp>; + signer_infos?: InputMaybe; + success?: InputMaybe; +}; + +/** order by max() on columns of table "transaction" */ +export type Provider_Transaction_Max_Order_By = { + gas_used?: InputMaybe; + gas_wanted?: InputMaybe; + hash?: InputMaybe; + height?: InputMaybe; + memo?: InputMaybe; + raw_log?: InputMaybe; +}; + +/** order by min() on columns of table "transaction" */ +export type Provider_Transaction_Min_Order_By = { + gas_used?: InputMaybe; + gas_wanted?: InputMaybe; + hash?: InputMaybe; + height?: InputMaybe; + memo?: InputMaybe; + raw_log?: InputMaybe; +}; + +/** Ordering options when selecting data from "transaction". */ +export type Provider_Transaction_Order_By = { + block?: InputMaybe; + fee?: InputMaybe; + gas_used?: InputMaybe; + gas_wanted?: InputMaybe; + hash?: InputMaybe; + height?: InputMaybe; + logs?: InputMaybe; + memo?: InputMaybe; + messages?: InputMaybe; + raw_log?: InputMaybe; + signatures?: InputMaybe; + signer_infos?: InputMaybe; + success?: InputMaybe; +}; + +/** select columns of table "transaction" */ +export enum Provider_Transaction_Select_Column { + /** column name */ + Fee = 'fee', + /** column name */ + GasUsed = 'gas_used', + /** column name */ + GasWanted = 'gas_wanted', + /** column name */ + Hash = 'hash', + /** column name */ + Height = 'height', + /** column name */ + Logs = 'logs', + /** column name */ + Memo = 'memo', + /** column name */ + Messages = 'messages', + /** column name */ + RawLog = 'raw_log', + /** column name */ + Signatures = 'signatures', + /** column name */ + SignerInfos = 'signer_infos', + /** column name */ + Success = 'success' +} + +/** order by stddev() on columns of table "transaction" */ +export type Provider_Transaction_Stddev_Order_By = { + gas_used?: InputMaybe; + gas_wanted?: InputMaybe; + height?: InputMaybe; +}; + +/** order by stddev_pop() on columns of table "transaction" */ +export type Provider_Transaction_Stddev_Pop_Order_By = { + gas_used?: InputMaybe; + gas_wanted?: InputMaybe; + height?: InputMaybe; +}; + +/** order by stddev_samp() on columns of table "transaction" */ +export type Provider_Transaction_Stddev_Samp_Order_By = { + gas_used?: InputMaybe; + gas_wanted?: InputMaybe; + height?: InputMaybe; +}; + +/** Streaming cursor of the table "transaction" */ +export type Provider_Transaction_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Provider_Transaction_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Provider_Transaction_Stream_Cursor_Value_Input = { + fee?: InputMaybe; + gas_used?: InputMaybe; + gas_wanted?: InputMaybe; + hash?: InputMaybe; + height?: InputMaybe; + logs?: InputMaybe; + memo?: InputMaybe; + messages?: InputMaybe; + raw_log?: InputMaybe; + signatures?: InputMaybe; + signer_infos?: InputMaybe; + success?: InputMaybe; +}; + +/** order by sum() on columns of table "transaction" */ +export type Provider_Transaction_Sum_Order_By = { + gas_used?: InputMaybe; + gas_wanted?: InputMaybe; + height?: InputMaybe; +}; + +/** order by var_pop() on columns of table "transaction" */ +export type Provider_Transaction_Var_Pop_Order_By = { + gas_used?: InputMaybe; + gas_wanted?: InputMaybe; + height?: InputMaybe; +}; + +/** order by var_samp() on columns of table "transaction" */ +export type Provider_Transaction_Var_Samp_Order_By = { + gas_used?: InputMaybe; + gas_wanted?: InputMaybe; + height?: InputMaybe; +}; + +/** order by variance() on columns of table "transaction" */ +export type Provider_Transaction_Variance_Order_By = { + gas_used?: InputMaybe; + gas_wanted?: InputMaybe; + height?: InputMaybe; +}; + +/** columns and relationships of "validator" */ +export type Provider_Validator = { + __typename?: 'provider_validator'; + /** An array relationship */ + blocks: Array; + consensus_address: Scalars['String']; + consensus_pubkey: Scalars['String']; + /** An array relationship */ + double_sign_votes: Array; + /** An array relationship */ + pre_commits: Array; + /** An aggregate relationship */ + pre_commits_aggregate: Provider_Pre_Commit_Aggregate; + /** An array relationship */ + validator_commissions: Array; + /** An array relationship */ + validator_descriptions: Array; + /** An object relationship */ + validator_info?: Maybe; + /** An array relationship */ + validator_infos: Array; + /** An array relationship */ + validator_signing_infos: Array; + /** An array relationship */ + validator_statuses: Array; + /** An aggregate relationship */ + validator_statuses_aggregate: Provider_Validator_Status_Aggregate; + /** An array relationship */ + validator_voting_powers: Array; + /** An aggregate relationship */ + validator_voting_powers_aggregate: Provider_Validator_Voting_Power_Aggregate; +}; + + +/** columns and relationships of "validator" */ +export type Provider_ValidatorBlocksArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "validator" */ +export type Provider_ValidatorDouble_Sign_VotesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "validator" */ +export type Provider_ValidatorPre_CommitsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "validator" */ +export type Provider_ValidatorPre_Commits_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "validator" */ +export type Provider_ValidatorValidator_CommissionsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "validator" */ +export type Provider_ValidatorValidator_DescriptionsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "validator" */ +export type Provider_ValidatorValidator_InfosArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "validator" */ +export type Provider_ValidatorValidator_Signing_InfosArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "validator" */ +export type Provider_ValidatorValidator_StatusesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "validator" */ +export type Provider_ValidatorValidator_Statuses_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "validator" */ +export type Provider_ValidatorValidator_Voting_PowersArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "validator" */ +export type Provider_ValidatorValidator_Voting_Powers_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "validator". All fields are combined with a logical 'AND'. */ +export type Provider_Validator_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + blocks?: InputMaybe; + consensus_address?: InputMaybe; + consensus_pubkey?: InputMaybe; + double_sign_votes?: InputMaybe; + pre_commits?: InputMaybe; + pre_commits_aggregate?: InputMaybe; + validator_commissions?: InputMaybe; + validator_descriptions?: InputMaybe; + validator_info?: InputMaybe; + validator_infos?: InputMaybe; + validator_signing_infos?: InputMaybe; + validator_statuses?: InputMaybe; + validator_statuses_aggregate?: InputMaybe; + validator_voting_powers?: InputMaybe; + validator_voting_powers_aggregate?: InputMaybe; +}; + +/** columns and relationships of "validator_commission" */ +export type Provider_Validator_Commission = { + __typename?: 'provider_validator_commission'; + commission: Scalars['numeric']; + height: Scalars['bigint']; + min_self_delegation: Scalars['bigint']; + /** An object relationship */ + validator: Provider_Validator; + validator_address: Scalars['String']; +}; + +/** order by aggregate values of table "validator_commission" */ +export type Provider_Validator_Commission_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by avg() on columns of table "validator_commission" */ +export type Provider_Validator_Commission_Avg_Order_By = { + commission?: InputMaybe; + height?: InputMaybe; + min_self_delegation?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "validator_commission". All fields are combined with a logical 'AND'. */ +export type Provider_Validator_Commission_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + commission?: InputMaybe; + height?: InputMaybe; + min_self_delegation?: InputMaybe; + validator?: InputMaybe; + validator_address?: InputMaybe; +}; + +/** order by max() on columns of table "validator_commission" */ +export type Provider_Validator_Commission_Max_Order_By = { + commission?: InputMaybe; + height?: InputMaybe; + min_self_delegation?: InputMaybe; + validator_address?: InputMaybe; +}; + +/** order by min() on columns of table "validator_commission" */ +export type Provider_Validator_Commission_Min_Order_By = { + commission?: InputMaybe; + height?: InputMaybe; + min_self_delegation?: InputMaybe; + validator_address?: InputMaybe; +}; + +/** Ordering options when selecting data from "validator_commission". */ +export type Provider_Validator_Commission_Order_By = { + commission?: InputMaybe; + height?: InputMaybe; + min_self_delegation?: InputMaybe; + validator?: InputMaybe; + validator_address?: InputMaybe; +}; + +/** select columns of table "validator_commission" */ +export enum Provider_Validator_Commission_Select_Column { + /** column name */ + Commission = 'commission', + /** column name */ + Height = 'height', + /** column name */ + MinSelfDelegation = 'min_self_delegation', + /** column name */ + ValidatorAddress = 'validator_address' +} + +/** order by stddev() on columns of table "validator_commission" */ +export type Provider_Validator_Commission_Stddev_Order_By = { + commission?: InputMaybe; + height?: InputMaybe; + min_self_delegation?: InputMaybe; +}; + +/** order by stddev_pop() on columns of table "validator_commission" */ +export type Provider_Validator_Commission_Stddev_Pop_Order_By = { + commission?: InputMaybe; + height?: InputMaybe; + min_self_delegation?: InputMaybe; +}; + +/** order by stddev_samp() on columns of table "validator_commission" */ +export type Provider_Validator_Commission_Stddev_Samp_Order_By = { + commission?: InputMaybe; + height?: InputMaybe; + min_self_delegation?: InputMaybe; +}; + +/** Streaming cursor of the table "validator_commission" */ +export type Provider_Validator_Commission_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Provider_Validator_Commission_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Provider_Validator_Commission_Stream_Cursor_Value_Input = { + commission?: InputMaybe; + height?: InputMaybe; + min_self_delegation?: InputMaybe; + validator_address?: InputMaybe; +}; + +/** order by sum() on columns of table "validator_commission" */ +export type Provider_Validator_Commission_Sum_Order_By = { + commission?: InputMaybe; + height?: InputMaybe; + min_self_delegation?: InputMaybe; +}; + +/** order by var_pop() on columns of table "validator_commission" */ +export type Provider_Validator_Commission_Var_Pop_Order_By = { + commission?: InputMaybe; + height?: InputMaybe; + min_self_delegation?: InputMaybe; +}; + +/** order by var_samp() on columns of table "validator_commission" */ +export type Provider_Validator_Commission_Var_Samp_Order_By = { + commission?: InputMaybe; + height?: InputMaybe; + min_self_delegation?: InputMaybe; +}; + +/** order by variance() on columns of table "validator_commission" */ +export type Provider_Validator_Commission_Variance_Order_By = { + commission?: InputMaybe; + height?: InputMaybe; + min_self_delegation?: InputMaybe; +}; + +/** columns and relationships of "validator_description" */ +export type Provider_Validator_Description = { + __typename?: 'provider_validator_description'; + avatar_url?: Maybe; + details?: Maybe; + height: Scalars['bigint']; + identity?: Maybe; + moniker?: Maybe; + security_contact?: Maybe; + /** An object relationship */ + validator: Provider_Validator; + validator_address: Scalars['String']; + website?: Maybe; +}; + +/** order by aggregate values of table "validator_description" */ +export type Provider_Validator_Description_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by avg() on columns of table "validator_description" */ +export type Provider_Validator_Description_Avg_Order_By = { + height?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "validator_description". All fields are combined with a logical 'AND'. */ +export type Provider_Validator_Description_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + avatar_url?: InputMaybe; + details?: InputMaybe; + height?: InputMaybe; + identity?: InputMaybe; + moniker?: InputMaybe; + security_contact?: InputMaybe; + validator?: InputMaybe; + validator_address?: InputMaybe; + website?: InputMaybe; +}; + +/** order by max() on columns of table "validator_description" */ +export type Provider_Validator_Description_Max_Order_By = { + avatar_url?: InputMaybe; + details?: InputMaybe; + height?: InputMaybe; + identity?: InputMaybe; + moniker?: InputMaybe; + security_contact?: InputMaybe; + validator_address?: InputMaybe; + website?: InputMaybe; +}; + +/** order by min() on columns of table "validator_description" */ +export type Provider_Validator_Description_Min_Order_By = { + avatar_url?: InputMaybe; + details?: InputMaybe; + height?: InputMaybe; + identity?: InputMaybe; + moniker?: InputMaybe; + security_contact?: InputMaybe; + validator_address?: InputMaybe; + website?: InputMaybe; +}; + +/** Ordering options when selecting data from "validator_description". */ +export type Provider_Validator_Description_Order_By = { + avatar_url?: InputMaybe; + details?: InputMaybe; + height?: InputMaybe; + identity?: InputMaybe; + moniker?: InputMaybe; + security_contact?: InputMaybe; + validator?: InputMaybe; + validator_address?: InputMaybe; + website?: InputMaybe; +}; + +/** select columns of table "validator_description" */ +export enum Provider_Validator_Description_Select_Column { + /** column name */ + AvatarUrl = 'avatar_url', + /** column name */ + Details = 'details', + /** column name */ + Height = 'height', + /** column name */ + Identity = 'identity', + /** column name */ + Moniker = 'moniker', + /** column name */ + SecurityContact = 'security_contact', + /** column name */ + ValidatorAddress = 'validator_address', + /** column name */ + Website = 'website' +} + +/** order by stddev() on columns of table "validator_description" */ +export type Provider_Validator_Description_Stddev_Order_By = { + height?: InputMaybe; +}; + +/** order by stddev_pop() on columns of table "validator_description" */ +export type Provider_Validator_Description_Stddev_Pop_Order_By = { + height?: InputMaybe; +}; + +/** order by stddev_samp() on columns of table "validator_description" */ +export type Provider_Validator_Description_Stddev_Samp_Order_By = { + height?: InputMaybe; +}; + +/** Streaming cursor of the table "validator_description" */ +export type Provider_Validator_Description_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Provider_Validator_Description_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Provider_Validator_Description_Stream_Cursor_Value_Input = { + avatar_url?: InputMaybe; + details?: InputMaybe; + height?: InputMaybe; + identity?: InputMaybe; + moniker?: InputMaybe; + security_contact?: InputMaybe; + validator_address?: InputMaybe; + website?: InputMaybe; +}; + +/** order by sum() on columns of table "validator_description" */ +export type Provider_Validator_Description_Sum_Order_By = { + height?: InputMaybe; +}; + +/** order by var_pop() on columns of table "validator_description" */ +export type Provider_Validator_Description_Var_Pop_Order_By = { + height?: InputMaybe; +}; + +/** order by var_samp() on columns of table "validator_description" */ +export type Provider_Validator_Description_Var_Samp_Order_By = { + height?: InputMaybe; +}; + +/** order by variance() on columns of table "validator_description" */ +export type Provider_Validator_Description_Variance_Order_By = { + height?: InputMaybe; +}; + +/** columns and relationships of "validator_info" */ +export type Provider_Validator_Info = { + __typename?: 'provider_validator_info'; + /** An object relationship */ + account?: Maybe; + consensus_address: Scalars['String']; + max_change_rate: Scalars['String']; + max_rate: Scalars['String']; + operator_address: Scalars['String']; + self_delegate_address?: Maybe; + /** An object relationship */ + validator: Provider_Validator; +}; + +/** order by aggregate values of table "validator_info" */ +export type Provider_Validator_Info_Aggregate_Order_By = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "validator_info". All fields are combined with a logical 'AND'. */ +export type Provider_Validator_Info_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + account?: InputMaybe; + consensus_address?: InputMaybe; + max_change_rate?: InputMaybe; + max_rate?: InputMaybe; + operator_address?: InputMaybe; + self_delegate_address?: InputMaybe; + validator?: InputMaybe; +}; + +/** order by max() on columns of table "validator_info" */ +export type Provider_Validator_Info_Max_Order_By = { + consensus_address?: InputMaybe; + max_change_rate?: InputMaybe; + max_rate?: InputMaybe; + operator_address?: InputMaybe; + self_delegate_address?: InputMaybe; +}; + +/** order by min() on columns of table "validator_info" */ +export type Provider_Validator_Info_Min_Order_By = { + consensus_address?: InputMaybe; + max_change_rate?: InputMaybe; + max_rate?: InputMaybe; + operator_address?: InputMaybe; + self_delegate_address?: InputMaybe; +}; + +/** Ordering options when selecting data from "validator_info". */ +export type Provider_Validator_Info_Order_By = { + account?: InputMaybe; + consensus_address?: InputMaybe; + max_change_rate?: InputMaybe; + max_rate?: InputMaybe; + operator_address?: InputMaybe; + self_delegate_address?: InputMaybe; + validator?: InputMaybe; +}; + +/** select columns of table "validator_info" */ +export enum Provider_Validator_Info_Select_Column { + /** column name */ + ConsensusAddress = 'consensus_address', + /** column name */ + MaxChangeRate = 'max_change_rate', + /** column name */ + MaxRate = 'max_rate', + /** column name */ + OperatorAddress = 'operator_address', + /** column name */ + SelfDelegateAddress = 'self_delegate_address' +} + +/** Streaming cursor of the table "validator_info" */ +export type Provider_Validator_Info_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Provider_Validator_Info_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Provider_Validator_Info_Stream_Cursor_Value_Input = { + consensus_address?: InputMaybe; + max_change_rate?: InputMaybe; + max_rate?: InputMaybe; + operator_address?: InputMaybe; + self_delegate_address?: InputMaybe; +}; + +/** Ordering options when selecting data from "validator". */ +export type Provider_Validator_Order_By = { + blocks_aggregate?: InputMaybe; + consensus_address?: InputMaybe; + consensus_pubkey?: InputMaybe; + double_sign_votes_aggregate?: InputMaybe; + pre_commits_aggregate?: InputMaybe; + validator_commissions_aggregate?: InputMaybe; + validator_descriptions_aggregate?: InputMaybe; + validator_info?: InputMaybe; + validator_infos_aggregate?: InputMaybe; + validator_signing_infos_aggregate?: InputMaybe; + validator_statuses_aggregate?: InputMaybe; + validator_voting_powers_aggregate?: InputMaybe; +}; + +/** select columns of table "validator" */ +export enum Provider_Validator_Select_Column { + /** column name */ + ConsensusAddress = 'consensus_address', + /** column name */ + ConsensusPubkey = 'consensus_pubkey' +} + +/** columns and relationships of "validator_signing_info" */ +export type Provider_Validator_Signing_Info = { + __typename?: 'provider_validator_signing_info'; + height: Scalars['bigint']; + index_offset: Scalars['bigint']; + jailed_until: Scalars['timestamp']; + missed_blocks_counter: Scalars['bigint']; + start_height: Scalars['bigint']; + tombstoned: Scalars['Boolean']; + validator_address: Scalars['String']; +}; + +/** order by aggregate values of table "validator_signing_info" */ +export type Provider_Validator_Signing_Info_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by avg() on columns of table "validator_signing_info" */ +export type Provider_Validator_Signing_Info_Avg_Order_By = { + height?: InputMaybe; + index_offset?: InputMaybe; + missed_blocks_counter?: InputMaybe; + start_height?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "validator_signing_info". All fields are combined with a logical 'AND'. */ +export type Provider_Validator_Signing_Info_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + height?: InputMaybe; + index_offset?: InputMaybe; + jailed_until?: InputMaybe; + missed_blocks_counter?: InputMaybe; + start_height?: InputMaybe; + tombstoned?: InputMaybe; + validator_address?: InputMaybe; +}; + +/** order by max() on columns of table "validator_signing_info" */ +export type Provider_Validator_Signing_Info_Max_Order_By = { + height?: InputMaybe; + index_offset?: InputMaybe; + jailed_until?: InputMaybe; + missed_blocks_counter?: InputMaybe; + start_height?: InputMaybe; + validator_address?: InputMaybe; +}; + +/** order by min() on columns of table "validator_signing_info" */ +export type Provider_Validator_Signing_Info_Min_Order_By = { + height?: InputMaybe; + index_offset?: InputMaybe; + jailed_until?: InputMaybe; + missed_blocks_counter?: InputMaybe; + start_height?: InputMaybe; + validator_address?: InputMaybe; +}; + +/** Ordering options when selecting data from "validator_signing_info". */ +export type Provider_Validator_Signing_Info_Order_By = { + height?: InputMaybe; + index_offset?: InputMaybe; + jailed_until?: InputMaybe; + missed_blocks_counter?: InputMaybe; + start_height?: InputMaybe; + tombstoned?: InputMaybe; + validator_address?: InputMaybe; +}; + +/** select columns of table "validator_signing_info" */ +export enum Provider_Validator_Signing_Info_Select_Column { + /** column name */ + Height = 'height', + /** column name */ + IndexOffset = 'index_offset', + /** column name */ + JailedUntil = 'jailed_until', + /** column name */ + MissedBlocksCounter = 'missed_blocks_counter', + /** column name */ + StartHeight = 'start_height', + /** column name */ + Tombstoned = 'tombstoned', + /** column name */ + ValidatorAddress = 'validator_address' +} -/** aggregate variance on columns */ -export type Proposal_Staking_Pool_Snapshot_Variance_Fields = { - __typename?: 'proposal_staking_pool_snapshot_variance_fields'; - height?: Maybe; - proposal_id?: Maybe; +/** order by stddev() on columns of table "validator_signing_info" */ +export type Provider_Validator_Signing_Info_Stddev_Order_By = { + height?: InputMaybe; + index_offset?: InputMaybe; + missed_blocks_counter?: InputMaybe; + start_height?: InputMaybe; }; -/** aggregate stddev on columns */ -export type Proposal_Stddev_Fields = { - __typename?: 'proposal_stddev_fields'; - id?: Maybe; +/** order by stddev_pop() on columns of table "validator_signing_info" */ +export type Provider_Validator_Signing_Info_Stddev_Pop_Order_By = { + height?: InputMaybe; + index_offset?: InputMaybe; + missed_blocks_counter?: InputMaybe; + start_height?: InputMaybe; }; -/** order by stddev() on columns of table "proposal" */ -export type Proposal_Stddev_Order_By = { - id?: InputMaybe; +/** order by stddev_samp() on columns of table "validator_signing_info" */ +export type Provider_Validator_Signing_Info_Stddev_Samp_Order_By = { + height?: InputMaybe; + index_offset?: InputMaybe; + missed_blocks_counter?: InputMaybe; + start_height?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Proposal_Stddev_Pop_Fields = { - __typename?: 'proposal_stddev_pop_fields'; - id?: Maybe; +/** Streaming cursor of the table "validator_signing_info" */ +export type Provider_Validator_Signing_Info_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Provider_Validator_Signing_Info_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** order by stddev_pop() on columns of table "proposal" */ -export type Proposal_Stddev_Pop_Order_By = { - id?: InputMaybe; +/** Initial value of the column from where the streaming should start */ +export type Provider_Validator_Signing_Info_Stream_Cursor_Value_Input = { + height?: InputMaybe; + index_offset?: InputMaybe; + jailed_until?: InputMaybe; + missed_blocks_counter?: InputMaybe; + start_height?: InputMaybe; + tombstoned?: InputMaybe; + validator_address?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Proposal_Stddev_Samp_Fields = { - __typename?: 'proposal_stddev_samp_fields'; - id?: Maybe; +/** order by sum() on columns of table "validator_signing_info" */ +export type Provider_Validator_Signing_Info_Sum_Order_By = { + height?: InputMaybe; + index_offset?: InputMaybe; + missed_blocks_counter?: InputMaybe; + start_height?: InputMaybe; }; -/** order by stddev_samp() on columns of table "proposal" */ -export type Proposal_Stddev_Samp_Order_By = { - id?: InputMaybe; +/** order by var_pop() on columns of table "validator_signing_info" */ +export type Provider_Validator_Signing_Info_Var_Pop_Order_By = { + height?: InputMaybe; + index_offset?: InputMaybe; + missed_blocks_counter?: InputMaybe; + start_height?: InputMaybe; }; -/** aggregate sum on columns */ -export type Proposal_Sum_Fields = { - __typename?: 'proposal_sum_fields'; - id?: Maybe; +/** order by var_samp() on columns of table "validator_signing_info" */ +export type Provider_Validator_Signing_Info_Var_Samp_Order_By = { + height?: InputMaybe; + index_offset?: InputMaybe; + missed_blocks_counter?: InputMaybe; + start_height?: InputMaybe; }; -/** order by sum() on columns of table "proposal" */ -export type Proposal_Sum_Order_By = { - id?: InputMaybe; +/** order by variance() on columns of table "validator_signing_info" */ +export type Provider_Validator_Signing_Info_Variance_Order_By = { + height?: InputMaybe; + index_offset?: InputMaybe; + missed_blocks_counter?: InputMaybe; + start_height?: InputMaybe; }; -/** columns and relationships of "proposal_tally_result" */ -export type Proposal_Tally_Result = { - __typename?: 'proposal_tally_result'; - abstain: Scalars['String']; +/** columns and relationships of "validator_status" */ +export type Provider_Validator_Status = { + __typename?: 'provider_validator_status'; height: Scalars['bigint']; - no: Scalars['String']; - no_with_veto: Scalars['String']; + jailed: Scalars['Boolean']; + status: Scalars['Int']; /** An object relationship */ - proposal: Proposal; - proposal_id: Scalars['Int']; - yes: Scalars['String']; + validator: Provider_Validator; + validator_address: Scalars['String']; }; -/** aggregated selection of "proposal_tally_result" */ -export type Proposal_Tally_Result_Aggregate = { - __typename?: 'proposal_tally_result_aggregate'; - aggregate?: Maybe; - nodes: Array; +/** aggregated selection of "validator_status" */ +export type Provider_Validator_Status_Aggregate = { + __typename?: 'provider_validator_status_aggregate'; + aggregate?: Maybe; + nodes: Array; }; -/** aggregate fields of "proposal_tally_result" */ -export type Proposal_Tally_Result_Aggregate_Fields = { - __typename?: 'proposal_tally_result_aggregate_fields'; - avg?: Maybe; +/** aggregate fields of "validator_status" */ +export type Provider_Validator_Status_Aggregate_Fields = { + __typename?: 'provider_validator_status_aggregate_fields'; + avg?: Maybe; count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; }; -/** aggregate fields of "proposal_tally_result" */ -export type Proposal_Tally_Result_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; +/** aggregate fields of "validator_status" */ +export type Provider_Validator_Status_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; distinct?: InputMaybe; }; -/** order by aggregate values of table "proposal_tally_result" */ -export type Proposal_Tally_Result_Aggregate_Order_By = { - avg?: InputMaybe; +/** order by aggregate values of table "validator_status" */ +export type Provider_Validator_Status_Aggregate_Order_By = { + avg?: InputMaybe; count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddev?: InputMaybe; - stddev_pop?: InputMaybe; - stddev_samp?: InputMaybe; - sum?: InputMaybe; - var_pop?: InputMaybe; - var_samp?: InputMaybe; - variance?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; }; /** aggregate avg on columns */ -export type Proposal_Tally_Result_Avg_Fields = { - __typename?: 'proposal_tally_result_avg_fields'; +export type Provider_Validator_Status_Avg_Fields = { + __typename?: 'provider_validator_status_avg_fields'; height?: Maybe; - proposal_id?: Maybe; + status?: Maybe; }; -/** order by avg() on columns of table "proposal_tally_result" */ -export type Proposal_Tally_Result_Avg_Order_By = { +/** order by avg() on columns of table "validator_status" */ +export type Provider_Validator_Status_Avg_Order_By = { height?: InputMaybe; - proposal_id?: InputMaybe; + status?: InputMaybe; }; -/** Boolean expression to filter rows from the table "proposal_tally_result". All fields are combined with a logical 'AND'. */ -export type Proposal_Tally_Result_Bool_Exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - abstain?: InputMaybe; +/** Boolean expression to filter rows from the table "validator_status". All fields are combined with a logical 'AND'. */ +export type Provider_Validator_Status_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; height?: InputMaybe; - no?: InputMaybe; - no_with_veto?: InputMaybe; - proposal?: InputMaybe; - proposal_id?: InputMaybe; - yes?: InputMaybe; + jailed?: InputMaybe; + status?: InputMaybe; + validator?: InputMaybe; + validator_address?: InputMaybe; }; /** aggregate max on columns */ -export type Proposal_Tally_Result_Max_Fields = { - __typename?: 'proposal_tally_result_max_fields'; - abstain?: Maybe; +export type Provider_Validator_Status_Max_Fields = { + __typename?: 'provider_validator_status_max_fields'; height?: Maybe; - no?: Maybe; - no_with_veto?: Maybe; - proposal_id?: Maybe; - yes?: Maybe; + status?: Maybe; + validator_address?: Maybe; }; -/** order by max() on columns of table "proposal_tally_result" */ -export type Proposal_Tally_Result_Max_Order_By = { - abstain?: InputMaybe; +/** order by max() on columns of table "validator_status" */ +export type Provider_Validator_Status_Max_Order_By = { height?: InputMaybe; - no?: InputMaybe; - no_with_veto?: InputMaybe; - proposal_id?: InputMaybe; - yes?: InputMaybe; + status?: InputMaybe; + validator_address?: InputMaybe; }; /** aggregate min on columns */ -export type Proposal_Tally_Result_Min_Fields = { - __typename?: 'proposal_tally_result_min_fields'; - abstain?: Maybe; +export type Provider_Validator_Status_Min_Fields = { + __typename?: 'provider_validator_status_min_fields'; height?: Maybe; - no?: Maybe; - no_with_veto?: Maybe; - proposal_id?: Maybe; - yes?: Maybe; + status?: Maybe; + validator_address?: Maybe; }; -/** order by min() on columns of table "proposal_tally_result" */ -export type Proposal_Tally_Result_Min_Order_By = { - abstain?: InputMaybe; +/** order by min() on columns of table "validator_status" */ +export type Provider_Validator_Status_Min_Order_By = { height?: InputMaybe; - no?: InputMaybe; - no_with_veto?: InputMaybe; - proposal_id?: InputMaybe; - yes?: InputMaybe; + status?: InputMaybe; + validator_address?: InputMaybe; }; -/** Ordering options when selecting data from "proposal_tally_result". */ -export type Proposal_Tally_Result_Order_By = { - abstain?: InputMaybe; +/** Ordering options when selecting data from "validator_status". */ +export type Provider_Validator_Status_Order_By = { height?: InputMaybe; - no?: InputMaybe; - no_with_veto?: InputMaybe; - proposal?: InputMaybe; - proposal_id?: InputMaybe; - yes?: InputMaybe; + jailed?: InputMaybe; + status?: InputMaybe; + validator?: InputMaybe; + validator_address?: InputMaybe; }; -/** select columns of table "proposal_tally_result" */ -export enum Proposal_Tally_Result_Select_Column { - /** column name */ - Abstain = 'abstain', +/** select columns of table "validator_status" */ +export enum Provider_Validator_Status_Select_Column { /** column name */ Height = 'height', /** column name */ - No = 'no', - /** column name */ - NoWithVeto = 'no_with_veto', + Jailed = 'jailed', /** column name */ - ProposalId = 'proposal_id', + Status = 'status', /** column name */ - Yes = 'yes' + ValidatorAddress = 'validator_address' } /** aggregate stddev on columns */ -export type Proposal_Tally_Result_Stddev_Fields = { - __typename?: 'proposal_tally_result_stddev_fields'; +export type Provider_Validator_Status_Stddev_Fields = { + __typename?: 'provider_validator_status_stddev_fields'; height?: Maybe; - proposal_id?: Maybe; + status?: Maybe; }; -/** order by stddev() on columns of table "proposal_tally_result" */ -export type Proposal_Tally_Result_Stddev_Order_By = { +/** order by stddev() on columns of table "validator_status" */ +export type Provider_Validator_Status_Stddev_Order_By = { height?: InputMaybe; - proposal_id?: InputMaybe; + status?: InputMaybe; }; /** aggregate stddev_pop on columns */ -export type Proposal_Tally_Result_Stddev_Pop_Fields = { - __typename?: 'proposal_tally_result_stddev_pop_fields'; +export type Provider_Validator_Status_Stddev_Pop_Fields = { + __typename?: 'provider_validator_status_stddev_pop_fields'; height?: Maybe; - proposal_id?: Maybe; + status?: Maybe; }; -/** order by stddev_pop() on columns of table "proposal_tally_result" */ -export type Proposal_Tally_Result_Stddev_Pop_Order_By = { +/** order by stddev_pop() on columns of table "validator_status" */ +export type Provider_Validator_Status_Stddev_Pop_Order_By = { height?: InputMaybe; - proposal_id?: InputMaybe; + status?: InputMaybe; }; /** aggregate stddev_samp on columns */ -export type Proposal_Tally_Result_Stddev_Samp_Fields = { - __typename?: 'proposal_tally_result_stddev_samp_fields'; +export type Provider_Validator_Status_Stddev_Samp_Fields = { + __typename?: 'provider_validator_status_stddev_samp_fields'; height?: Maybe; - proposal_id?: Maybe; + status?: Maybe; }; -/** order by stddev_samp() on columns of table "proposal_tally_result" */ -export type Proposal_Tally_Result_Stddev_Samp_Order_By = { +/** order by stddev_samp() on columns of table "validator_status" */ +export type Provider_Validator_Status_Stddev_Samp_Order_By = { height?: InputMaybe; - proposal_id?: InputMaybe; + status?: InputMaybe; +}; + +/** Streaming cursor of the table "validator_status" */ +export type Provider_Validator_Status_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Provider_Validator_Status_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Provider_Validator_Status_Stream_Cursor_Value_Input = { + height?: InputMaybe; + jailed?: InputMaybe; + status?: InputMaybe; + validator_address?: InputMaybe; }; /** aggregate sum on columns */ -export type Proposal_Tally_Result_Sum_Fields = { - __typename?: 'proposal_tally_result_sum_fields'; +export type Provider_Validator_Status_Sum_Fields = { + __typename?: 'provider_validator_status_sum_fields'; height?: Maybe; - proposal_id?: Maybe; + status?: Maybe; }; -/** order by sum() on columns of table "proposal_tally_result" */ -export type Proposal_Tally_Result_Sum_Order_By = { +/** order by sum() on columns of table "validator_status" */ +export type Provider_Validator_Status_Sum_Order_By = { height?: InputMaybe; - proposal_id?: InputMaybe; + status?: InputMaybe; }; /** aggregate var_pop on columns */ -export type Proposal_Tally_Result_Var_Pop_Fields = { - __typename?: 'proposal_tally_result_var_pop_fields'; +export type Provider_Validator_Status_Var_Pop_Fields = { + __typename?: 'provider_validator_status_var_pop_fields'; height?: Maybe; - proposal_id?: Maybe; + status?: Maybe; }; -/** order by var_pop() on columns of table "proposal_tally_result" */ -export type Proposal_Tally_Result_Var_Pop_Order_By = { +/** order by var_pop() on columns of table "validator_status" */ +export type Provider_Validator_Status_Var_Pop_Order_By = { height?: InputMaybe; - proposal_id?: InputMaybe; + status?: InputMaybe; }; /** aggregate var_samp on columns */ -export type Proposal_Tally_Result_Var_Samp_Fields = { - __typename?: 'proposal_tally_result_var_samp_fields'; +export type Provider_Validator_Status_Var_Samp_Fields = { + __typename?: 'provider_validator_status_var_samp_fields'; height?: Maybe; - proposal_id?: Maybe; + status?: Maybe; }; -/** order by var_samp() on columns of table "proposal_tally_result" */ -export type Proposal_Tally_Result_Var_Samp_Order_By = { +/** order by var_samp() on columns of table "validator_status" */ +export type Provider_Validator_Status_Var_Samp_Order_By = { height?: InputMaybe; - proposal_id?: InputMaybe; + status?: InputMaybe; }; /** aggregate variance on columns */ -export type Proposal_Tally_Result_Variance_Fields = { - __typename?: 'proposal_tally_result_variance_fields'; +export type Provider_Validator_Status_Variance_Fields = { + __typename?: 'provider_validator_status_variance_fields'; height?: Maybe; - proposal_id?: Maybe; + status?: Maybe; }; -/** order by variance() on columns of table "proposal_tally_result" */ -export type Proposal_Tally_Result_Variance_Order_By = { +/** order by variance() on columns of table "validator_status" */ +export type Provider_Validator_Status_Variance_Order_By = { height?: InputMaybe; - proposal_id?: InputMaybe; + status?: InputMaybe; +}; + +/** Streaming cursor of the table "validator" */ +export type Provider_Validator_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Provider_Validator_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** columns and relationships of "proposal_validator_status_snapshot" */ -export type Proposal_Validator_Status_Snapshot = { - __typename?: 'proposal_validator_status_snapshot'; - height: Scalars['bigint']; - id: Scalars['Int']; - jailed: Scalars['Boolean']; +/** Initial value of the column from where the streaming should start */ +export type Provider_Validator_Stream_Cursor_Value_Input = { + consensus_address?: InputMaybe; + consensus_pubkey?: InputMaybe; +}; + +/** columns and relationships of "validator_voting_power" */ +export type Provider_Validator_Voting_Power = { + __typename?: 'provider_validator_voting_power'; /** An object relationship */ - proposal?: Maybe; - proposal_id?: Maybe; - status: Scalars['Int']; + block: Provider_Block; + height: Scalars['bigint']; /** An object relationship */ - validator: Validator; + validator: Provider_Validator; validator_address: Scalars['String']; voting_power: Scalars['bigint']; }; -/** aggregated selection of "proposal_validator_status_snapshot" */ -export type Proposal_Validator_Status_Snapshot_Aggregate = { - __typename?: 'proposal_validator_status_snapshot_aggregate'; - aggregate?: Maybe; - nodes: Array; +/** aggregated selection of "validator_voting_power" */ +export type Provider_Validator_Voting_Power_Aggregate = { + __typename?: 'provider_validator_voting_power_aggregate'; + aggregate?: Maybe; + nodes: Array; }; -/** aggregate fields of "proposal_validator_status_snapshot" */ -export type Proposal_Validator_Status_Snapshot_Aggregate_Fields = { - __typename?: 'proposal_validator_status_snapshot_aggregate_fields'; - avg?: Maybe; +/** aggregate fields of "validator_voting_power" */ +export type Provider_Validator_Voting_Power_Aggregate_Fields = { + __typename?: 'provider_validator_voting_power_aggregate_fields'; + avg?: Maybe; count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; }; -/** aggregate fields of "proposal_validator_status_snapshot" */ -export type Proposal_Validator_Status_Snapshot_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; +/** aggregate fields of "validator_voting_power" */ +export type Provider_Validator_Voting_Power_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; distinct?: InputMaybe; }; -/** order by aggregate values of table "proposal_validator_status_snapshot" */ -export type Proposal_Validator_Status_Snapshot_Aggregate_Order_By = { - avg?: InputMaybe; +/** order by aggregate values of table "validator_voting_power" */ +export type Provider_Validator_Voting_Power_Aggregate_Order_By = { + avg?: InputMaybe; count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddev?: InputMaybe; - stddev_pop?: InputMaybe; - stddev_samp?: InputMaybe; - sum?: InputMaybe; - var_pop?: InputMaybe; - var_samp?: InputMaybe; - variance?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; }; /** aggregate avg on columns */ -export type Proposal_Validator_Status_Snapshot_Avg_Fields = { - __typename?: 'proposal_validator_status_snapshot_avg_fields'; +export type Provider_Validator_Voting_Power_Avg_Fields = { + __typename?: 'provider_validator_voting_power_avg_fields'; height?: Maybe; - id?: Maybe; - proposal_id?: Maybe; - status?: Maybe; voting_power?: Maybe; }; -/** order by avg() on columns of table "proposal_validator_status_snapshot" */ -export type Proposal_Validator_Status_Snapshot_Avg_Order_By = { +/** order by avg() on columns of table "validator_voting_power" */ +export type Provider_Validator_Voting_Power_Avg_Order_By = { height?: InputMaybe; - id?: InputMaybe; - proposal_id?: InputMaybe; - status?: InputMaybe; voting_power?: InputMaybe; }; -/** Boolean expression to filter rows from the table "proposal_validator_status_snapshot". All fields are combined with a logical 'AND'. */ -export type Proposal_Validator_Status_Snapshot_Bool_Exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; +/** Boolean expression to filter rows from the table "validator_voting_power". All fields are combined with a logical 'AND'. */ +export type Provider_Validator_Voting_Power_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + block?: InputMaybe; height?: InputMaybe; - id?: InputMaybe; - jailed?: InputMaybe; - proposal?: InputMaybe; - proposal_id?: InputMaybe; - status?: InputMaybe; - validator?: InputMaybe; + validator?: InputMaybe; validator_address?: InputMaybe; voting_power?: InputMaybe; }; /** aggregate max on columns */ -export type Proposal_Validator_Status_Snapshot_Max_Fields = { - __typename?: 'proposal_validator_status_snapshot_max_fields'; +export type Provider_Validator_Voting_Power_Max_Fields = { + __typename?: 'provider_validator_voting_power_max_fields'; height?: Maybe; - id?: Maybe; - proposal_id?: Maybe; - status?: Maybe; validator_address?: Maybe; voting_power?: Maybe; }; -/** order by max() on columns of table "proposal_validator_status_snapshot" */ -export type Proposal_Validator_Status_Snapshot_Max_Order_By = { +/** order by max() on columns of table "validator_voting_power" */ +export type Provider_Validator_Voting_Power_Max_Order_By = { height?: InputMaybe; - id?: InputMaybe; - proposal_id?: InputMaybe; - status?: InputMaybe; validator_address?: InputMaybe; voting_power?: InputMaybe; }; /** aggregate min on columns */ -export type Proposal_Validator_Status_Snapshot_Min_Fields = { - __typename?: 'proposal_validator_status_snapshot_min_fields'; +export type Provider_Validator_Voting_Power_Min_Fields = { + __typename?: 'provider_validator_voting_power_min_fields'; height?: Maybe; - id?: Maybe; - proposal_id?: Maybe; - status?: Maybe; validator_address?: Maybe; voting_power?: Maybe; }; -/** order by min() on columns of table "proposal_validator_status_snapshot" */ -export type Proposal_Validator_Status_Snapshot_Min_Order_By = { +/** order by min() on columns of table "validator_voting_power" */ +export type Provider_Validator_Voting_Power_Min_Order_By = { height?: InputMaybe; - id?: InputMaybe; - proposal_id?: InputMaybe; - status?: InputMaybe; validator_address?: InputMaybe; voting_power?: InputMaybe; }; -/** Ordering options when selecting data from "proposal_validator_status_snapshot". */ -export type Proposal_Validator_Status_Snapshot_Order_By = { +/** Ordering options when selecting data from "validator_voting_power". */ +export type Provider_Validator_Voting_Power_Order_By = { + block?: InputMaybe; height?: InputMaybe; - id?: InputMaybe; - jailed?: InputMaybe; - proposal?: InputMaybe; - proposal_id?: InputMaybe; - status?: InputMaybe; - validator?: InputMaybe; + validator?: InputMaybe; validator_address?: InputMaybe; voting_power?: InputMaybe; }; -/** select columns of table "proposal_validator_status_snapshot" */ -export enum Proposal_Validator_Status_Snapshot_Select_Column { +/** select columns of table "validator_voting_power" */ +export enum Provider_Validator_Voting_Power_Select_Column { /** column name */ Height = 'height', /** column name */ - Id = 'id', - /** column name */ - Jailed = 'jailed', - /** column name */ - ProposalId = 'proposal_id', - /** column name */ - Status = 'status', - /** column name */ ValidatorAddress = 'validator_address', /** column name */ VotingPower = 'voting_power' } /** aggregate stddev on columns */ -export type Proposal_Validator_Status_Snapshot_Stddev_Fields = { - __typename?: 'proposal_validator_status_snapshot_stddev_fields'; +export type Provider_Validator_Voting_Power_Stddev_Fields = { + __typename?: 'provider_validator_voting_power_stddev_fields'; height?: Maybe; - id?: Maybe; - proposal_id?: Maybe; - status?: Maybe; voting_power?: Maybe; }; -/** order by stddev() on columns of table "proposal_validator_status_snapshot" */ -export type Proposal_Validator_Status_Snapshot_Stddev_Order_By = { +/** order by stddev() on columns of table "validator_voting_power" */ +export type Provider_Validator_Voting_Power_Stddev_Order_By = { height?: InputMaybe; - id?: InputMaybe; - proposal_id?: InputMaybe; - status?: InputMaybe; voting_power?: InputMaybe; }; /** aggregate stddev_pop on columns */ -export type Proposal_Validator_Status_Snapshot_Stddev_Pop_Fields = { - __typename?: 'proposal_validator_status_snapshot_stddev_pop_fields'; +export type Provider_Validator_Voting_Power_Stddev_Pop_Fields = { + __typename?: 'provider_validator_voting_power_stddev_pop_fields'; height?: Maybe; - id?: Maybe; - proposal_id?: Maybe; - status?: Maybe; voting_power?: Maybe; }; -/** order by stddev_pop() on columns of table "proposal_validator_status_snapshot" */ -export type Proposal_Validator_Status_Snapshot_Stddev_Pop_Order_By = { +/** order by stddev_pop() on columns of table "validator_voting_power" */ +export type Provider_Validator_Voting_Power_Stddev_Pop_Order_By = { height?: InputMaybe; - id?: InputMaybe; - proposal_id?: InputMaybe; - status?: InputMaybe; voting_power?: InputMaybe; }; /** aggregate stddev_samp on columns */ -export type Proposal_Validator_Status_Snapshot_Stddev_Samp_Fields = { - __typename?: 'proposal_validator_status_snapshot_stddev_samp_fields'; +export type Provider_Validator_Voting_Power_Stddev_Samp_Fields = { + __typename?: 'provider_validator_voting_power_stddev_samp_fields'; height?: Maybe; - id?: Maybe; - proposal_id?: Maybe; - status?: Maybe; voting_power?: Maybe; }; -/** order by stddev_samp() on columns of table "proposal_validator_status_snapshot" */ -export type Proposal_Validator_Status_Snapshot_Stddev_Samp_Order_By = { +/** order by stddev_samp() on columns of table "validator_voting_power" */ +export type Provider_Validator_Voting_Power_Stddev_Samp_Order_By = { height?: InputMaybe; - id?: InputMaybe; - proposal_id?: InputMaybe; - status?: InputMaybe; voting_power?: InputMaybe; }; +/** Streaming cursor of the table "validator_voting_power" */ +export type Provider_Validator_Voting_Power_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Provider_Validator_Voting_Power_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Provider_Validator_Voting_Power_Stream_Cursor_Value_Input = { + height?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; +}; + /** aggregate sum on columns */ -export type Proposal_Validator_Status_Snapshot_Sum_Fields = { - __typename?: 'proposal_validator_status_snapshot_sum_fields'; +export type Provider_Validator_Voting_Power_Sum_Fields = { + __typename?: 'provider_validator_voting_power_sum_fields'; height?: Maybe; - id?: Maybe; - proposal_id?: Maybe; - status?: Maybe; voting_power?: Maybe; }; -/** order by sum() on columns of table "proposal_validator_status_snapshot" */ -export type Proposal_Validator_Status_Snapshot_Sum_Order_By = { +/** order by sum() on columns of table "validator_voting_power" */ +export type Provider_Validator_Voting_Power_Sum_Order_By = { height?: InputMaybe; - id?: InputMaybe; - proposal_id?: InputMaybe; - status?: InputMaybe; voting_power?: InputMaybe; }; /** aggregate var_pop on columns */ -export type Proposal_Validator_Status_Snapshot_Var_Pop_Fields = { - __typename?: 'proposal_validator_status_snapshot_var_pop_fields'; +export type Provider_Validator_Voting_Power_Var_Pop_Fields = { + __typename?: 'provider_validator_voting_power_var_pop_fields'; height?: Maybe; - id?: Maybe; - proposal_id?: Maybe; - status?: Maybe; voting_power?: Maybe; }; -/** order by var_pop() on columns of table "proposal_validator_status_snapshot" */ -export type Proposal_Validator_Status_Snapshot_Var_Pop_Order_By = { +/** order by var_pop() on columns of table "validator_voting_power" */ +export type Provider_Validator_Voting_Power_Var_Pop_Order_By = { height?: InputMaybe; - id?: InputMaybe; - proposal_id?: InputMaybe; - status?: InputMaybe; voting_power?: InputMaybe; }; /** aggregate var_samp on columns */ -export type Proposal_Validator_Status_Snapshot_Var_Samp_Fields = { - __typename?: 'proposal_validator_status_snapshot_var_samp_fields'; +export type Provider_Validator_Voting_Power_Var_Samp_Fields = { + __typename?: 'provider_validator_voting_power_var_samp_fields'; height?: Maybe; - id?: Maybe; - proposal_id?: Maybe; - status?: Maybe; voting_power?: Maybe; }; -/** order by var_samp() on columns of table "proposal_validator_status_snapshot" */ -export type Proposal_Validator_Status_Snapshot_Var_Samp_Order_By = { +/** order by var_samp() on columns of table "validator_voting_power" */ +export type Provider_Validator_Voting_Power_Var_Samp_Order_By = { height?: InputMaybe; - id?: InputMaybe; - proposal_id?: InputMaybe; - status?: InputMaybe; voting_power?: InputMaybe; }; /** aggregate variance on columns */ -export type Proposal_Validator_Status_Snapshot_Variance_Fields = { - __typename?: 'proposal_validator_status_snapshot_variance_fields'; +export type Provider_Validator_Voting_Power_Variance_Fields = { + __typename?: 'provider_validator_voting_power_variance_fields'; height?: Maybe; - id?: Maybe; - proposal_id?: Maybe; - status?: Maybe; voting_power?: Maybe; }; -/** order by variance() on columns of table "proposal_validator_status_snapshot" */ -export type Proposal_Validator_Status_Snapshot_Variance_Order_By = { +/** order by variance() on columns of table "validator_voting_power" */ +export type Provider_Validator_Voting_Power_Variance_Order_By = { height?: InputMaybe; - id?: InputMaybe; - proposal_id?: InputMaybe; - status?: InputMaybe; voting_power?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Proposal_Var_Pop_Fields = { - __typename?: 'proposal_var_pop_fields'; - id?: Maybe; -}; - -/** order by var_pop() on columns of table "proposal" */ -export type Proposal_Var_Pop_Order_By = { - id?: InputMaybe; -}; - -/** aggregate var_samp on columns */ -export type Proposal_Var_Samp_Fields = { - __typename?: 'proposal_var_samp_fields'; - id?: Maybe; -}; - -/** order by var_samp() on columns of table "proposal" */ -export type Proposal_Var_Samp_Order_By = { - id?: InputMaybe; -}; - -/** aggregate variance on columns */ -export type Proposal_Variance_Fields = { - __typename?: 'proposal_variance_fields'; - id?: Maybe; -}; - -/** order by variance() on columns of table "proposal" */ -export type Proposal_Variance_Order_By = { - id?: InputMaybe; -}; - -/** columns and relationships of "proposal_vote" */ -export type Proposal_Vote = { - __typename?: 'proposal_vote'; - /** An object relationship */ - account: Account; - /** An object relationship */ - block: Block; - height: Scalars['bigint']; - option: Scalars['String']; +/** columns and relationships of "vesting_account" */ +export type Provider_Vesting_Account = { + __typename?: 'provider_vesting_account'; /** An object relationship */ - proposal: Proposal; - proposal_id: Scalars['Int']; - voter_address: Scalars['String']; -}; - -/** aggregated selection of "proposal_vote" */ -export type Proposal_Vote_Aggregate = { - __typename?: 'proposal_vote_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "proposal_vote" */ -export type Proposal_Vote_Aggregate_Fields = { - __typename?: 'proposal_vote_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "proposal_vote" */ -export type Proposal_Vote_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** order by aggregate values of table "proposal_vote" */ -export type Proposal_Vote_Aggregate_Order_By = { - avg?: InputMaybe; - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddev?: InputMaybe; - stddev_pop?: InputMaybe; - stddev_samp?: InputMaybe; - sum?: InputMaybe; - var_pop?: InputMaybe; - var_samp?: InputMaybe; - variance?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Proposal_Vote_Avg_Fields = { - __typename?: 'proposal_vote_avg_fields'; - height?: Maybe; - proposal_id?: Maybe; + account: Provider_Account; + address: Scalars['String']; + end_time: Scalars['timestamp']; + original_vesting: Scalars['_coin']; + start_time?: Maybe; + type: Scalars['String']; + /** An array relationship */ + vesting_periods: Array; }; -/** order by avg() on columns of table "proposal_vote" */ -export type Proposal_Vote_Avg_Order_By = { - height?: InputMaybe; - proposal_id?: InputMaybe; -}; -/** Boolean expression to filter rows from the table "proposal_vote". All fields are combined with a logical 'AND'. */ -export type Proposal_Vote_Bool_Exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - account?: InputMaybe; - block?: InputMaybe; - height?: InputMaybe; - option?: InputMaybe; - proposal?: InputMaybe; - proposal_id?: InputMaybe; - voter_address?: InputMaybe; +/** columns and relationships of "vesting_account" */ +export type Provider_Vesting_AccountVesting_PeriodsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** aggregate max on columns */ -export type Proposal_Vote_Max_Fields = { - __typename?: 'proposal_vote_max_fields'; - height?: Maybe; - option?: Maybe; - proposal_id?: Maybe; - voter_address?: Maybe; +/** order by aggregate values of table "vesting_account" */ +export type Provider_Vesting_Account_Aggregate_Order_By = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; }; -/** order by max() on columns of table "proposal_vote" */ -export type Proposal_Vote_Max_Order_By = { - height?: InputMaybe; - option?: InputMaybe; - proposal_id?: InputMaybe; - voter_address?: InputMaybe; +/** Boolean expression to filter rows from the table "vesting_account". All fields are combined with a logical 'AND'. */ +export type Provider_Vesting_Account_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + account?: InputMaybe; + address?: InputMaybe; + end_time?: InputMaybe; + original_vesting?: InputMaybe<_Coin_Comparison_Exp>; + start_time?: InputMaybe; + type?: InputMaybe; + vesting_periods?: InputMaybe; }; -/** aggregate min on columns */ -export type Proposal_Vote_Min_Fields = { - __typename?: 'proposal_vote_min_fields'; - height?: Maybe; - option?: Maybe; - proposal_id?: Maybe; - voter_address?: Maybe; +/** order by max() on columns of table "vesting_account" */ +export type Provider_Vesting_Account_Max_Order_By = { + address?: InputMaybe; + end_time?: InputMaybe; + start_time?: InputMaybe; + type?: InputMaybe; }; -/** order by min() on columns of table "proposal_vote" */ -export type Proposal_Vote_Min_Order_By = { - height?: InputMaybe; - option?: InputMaybe; - proposal_id?: InputMaybe; - voter_address?: InputMaybe; +/** order by min() on columns of table "vesting_account" */ +export type Provider_Vesting_Account_Min_Order_By = { + address?: InputMaybe; + end_time?: InputMaybe; + start_time?: InputMaybe; + type?: InputMaybe; }; -/** Ordering options when selecting data from "proposal_vote". */ -export type Proposal_Vote_Order_By = { - account?: InputMaybe; - block?: InputMaybe; - height?: InputMaybe; - option?: InputMaybe; - proposal?: InputMaybe; - proposal_id?: InputMaybe; - voter_address?: InputMaybe; +/** Ordering options when selecting data from "vesting_account". */ +export type Provider_Vesting_Account_Order_By = { + account?: InputMaybe; + address?: InputMaybe; + end_time?: InputMaybe; + original_vesting?: InputMaybe; + start_time?: InputMaybe; + type?: InputMaybe; + vesting_periods_aggregate?: InputMaybe; }; -/** select columns of table "proposal_vote" */ -export enum Proposal_Vote_Select_Column { +/** select columns of table "vesting_account" */ +export enum Provider_Vesting_Account_Select_Column { /** column name */ - Height = 'height', + Address = 'address', /** column name */ - Option = 'option', + EndTime = 'end_time', /** column name */ - ProposalId = 'proposal_id', + OriginalVesting = 'original_vesting', /** column name */ - VoterAddress = 'voter_address' + StartTime = 'start_time', + /** column name */ + Type = 'type' } -/** aggregate stddev on columns */ -export type Proposal_Vote_Stddev_Fields = { - __typename?: 'proposal_vote_stddev_fields'; - height?: Maybe; - proposal_id?: Maybe; +/** Streaming cursor of the table "vesting_account" */ +export type Provider_Vesting_Account_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Provider_Vesting_Account_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** order by stddev() on columns of table "proposal_vote" */ -export type Proposal_Vote_Stddev_Order_By = { - height?: InputMaybe; - proposal_id?: InputMaybe; +/** Initial value of the column from where the streaming should start */ +export type Provider_Vesting_Account_Stream_Cursor_Value_Input = { + address?: InputMaybe; + end_time?: InputMaybe; + original_vesting?: InputMaybe; + start_time?: InputMaybe; + type?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Proposal_Vote_Stddev_Pop_Fields = { - __typename?: 'proposal_vote_stddev_pop_fields'; - height?: Maybe; - proposal_id?: Maybe; +/** columns and relationships of "vesting_period" */ +export type Provider_Vesting_Period = { + __typename?: 'provider_vesting_period'; + amount: Scalars['_coin']; + length: Scalars['bigint']; + period_order: Scalars['bigint']; + /** An object relationship */ + vesting_account: Provider_Vesting_Account; }; -/** order by stddev_pop() on columns of table "proposal_vote" */ -export type Proposal_Vote_Stddev_Pop_Order_By = { - height?: InputMaybe; - proposal_id?: InputMaybe; +/** order by aggregate values of table "vesting_period" */ +export type Provider_Vesting_Period_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Proposal_Vote_Stddev_Samp_Fields = { - __typename?: 'proposal_vote_stddev_samp_fields'; - height?: Maybe; - proposal_id?: Maybe; +/** order by avg() on columns of table "vesting_period" */ +export type Provider_Vesting_Period_Avg_Order_By = { + length?: InputMaybe; + period_order?: InputMaybe; }; -/** order by stddev_samp() on columns of table "proposal_vote" */ -export type Proposal_Vote_Stddev_Samp_Order_By = { - height?: InputMaybe; - proposal_id?: InputMaybe; +/** Boolean expression to filter rows from the table "vesting_period". All fields are combined with a logical 'AND'. */ +export type Provider_Vesting_Period_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + amount?: InputMaybe<_Coin_Comparison_Exp>; + length?: InputMaybe; + period_order?: InputMaybe; + vesting_account?: InputMaybe; }; -/** aggregate sum on columns */ -export type Proposal_Vote_Sum_Fields = { - __typename?: 'proposal_vote_sum_fields'; - height?: Maybe; - proposal_id?: Maybe; +/** order by max() on columns of table "vesting_period" */ +export type Provider_Vesting_Period_Max_Order_By = { + length?: InputMaybe; + period_order?: InputMaybe; }; -/** order by sum() on columns of table "proposal_vote" */ -export type Proposal_Vote_Sum_Order_By = { - height?: InputMaybe; - proposal_id?: InputMaybe; +/** order by min() on columns of table "vesting_period" */ +export type Provider_Vesting_Period_Min_Order_By = { + length?: InputMaybe; + period_order?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Proposal_Vote_Var_Pop_Fields = { - __typename?: 'proposal_vote_var_pop_fields'; - height?: Maybe; - proposal_id?: Maybe; +/** Ordering options when selecting data from "vesting_period". */ +export type Provider_Vesting_Period_Order_By = { + amount?: InputMaybe; + length?: InputMaybe; + period_order?: InputMaybe; + vesting_account?: InputMaybe; }; -/** order by var_pop() on columns of table "proposal_vote" */ -export type Proposal_Vote_Var_Pop_Order_By = { - height?: InputMaybe; - proposal_id?: InputMaybe; +/** select columns of table "vesting_period" */ +export enum Provider_Vesting_Period_Select_Column { + /** column name */ + Amount = 'amount', + /** column name */ + Length = 'length', + /** column name */ + PeriodOrder = 'period_order' +} + +/** order by stddev() on columns of table "vesting_period" */ +export type Provider_Vesting_Period_Stddev_Order_By = { + length?: InputMaybe; + period_order?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Proposal_Vote_Var_Samp_Fields = { - __typename?: 'proposal_vote_var_samp_fields'; - height?: Maybe; - proposal_id?: Maybe; +/** order by stddev_pop() on columns of table "vesting_period" */ +export type Provider_Vesting_Period_Stddev_Pop_Order_By = { + length?: InputMaybe; + period_order?: InputMaybe; }; -/** order by var_samp() on columns of table "proposal_vote" */ -export type Proposal_Vote_Var_Samp_Order_By = { - height?: InputMaybe; - proposal_id?: InputMaybe; +/** order by stddev_samp() on columns of table "vesting_period" */ +export type Provider_Vesting_Period_Stddev_Samp_Order_By = { + length?: InputMaybe; + period_order?: InputMaybe; }; -/** aggregate variance on columns */ -export type Proposal_Vote_Variance_Fields = { - __typename?: 'proposal_vote_variance_fields'; - height?: Maybe; - proposal_id?: Maybe; +/** Streaming cursor of the table "vesting_period" */ +export type Provider_Vesting_Period_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Provider_Vesting_Period_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** order by variance() on columns of table "proposal_vote" */ -export type Proposal_Vote_Variance_Order_By = { - height?: InputMaybe; - proposal_id?: InputMaybe; +/** Initial value of the column from where the streaming should start */ +export type Provider_Vesting_Period_Stream_Cursor_Value_Input = { + amount?: InputMaybe; + length?: InputMaybe; + period_order?: InputMaybe; +}; + +/** order by sum() on columns of table "vesting_period" */ +export type Provider_Vesting_Period_Sum_Order_By = { + length?: InputMaybe; + period_order?: InputMaybe; +}; + +/** order by var_pop() on columns of table "vesting_period" */ +export type Provider_Vesting_Period_Var_Pop_Order_By = { + length?: InputMaybe; + period_order?: InputMaybe; +}; + +/** order by var_samp() on columns of table "vesting_period" */ +export type Provider_Vesting_Period_Var_Samp_Order_By = { + length?: InputMaybe; + period_order?: InputMaybe; +}; + +/** order by variance() on columns of table "vesting_period" */ +export type Provider_Vesting_Period_Variance_Order_By = { + length?: InputMaybe; + period_order?: InputMaybe; }; export type Query_Root = { __typename?: 'query_root'; /** fetch data from the table: "account" */ account: Array; - /** fetch aggregated fields from the table: "account" */ - account_aggregate: Account_Aggregate; /** fetch data from the table: "account" using primary key columns */ account_by_pk?: Maybe; action_account_balance?: Maybe; @@ -4839,80 +17281,53 @@ export type Query_Root = { action_validator_unbonding_delegations?: Maybe; /** fetch data from the table: "average_block_time_from_genesis" */ average_block_time_from_genesis: Array; - /** fetch aggregated fields from the table: "average_block_time_from_genesis" */ - average_block_time_from_genesis_aggregate: Average_Block_Time_From_Genesis_Aggregate; /** fetch data from the table: "average_block_time_per_day" */ average_block_time_per_day: Array; - /** fetch aggregated fields from the table: "average_block_time_per_day" */ - average_block_time_per_day_aggregate: Average_Block_Time_Per_Day_Aggregate; /** fetch data from the table: "average_block_time_per_hour" */ average_block_time_per_hour: Array; - /** fetch aggregated fields from the table: "average_block_time_per_hour" */ - average_block_time_per_hour_aggregate: Average_Block_Time_Per_Hour_Aggregate; /** fetch data from the table: "average_block_time_per_minute" */ average_block_time_per_minute: Array; - /** fetch aggregated fields from the table: "average_block_time_per_minute" */ - average_block_time_per_minute_aggregate: Average_Block_Time_Per_Minute_Aggregate; + bdjuno_provider?: Maybe; /** fetch data from the table: "block" */ block: Array; - /** fetch aggregated fields from the table: "block" */ - block_aggregate: Block_Aggregate; /** fetch data from the table: "block" using primary key columns */ block_by_pk?: Maybe; + /** fetch data from the table: "ccv_validator" */ + ccv_validator: Array; + /** fetch aggregated fields from the table: "ccv_validator" */ + ccv_validator_aggregate: Ccv_Validator_Aggregate; + /** fetch data from the table: "ccv_validator" using primary key columns */ + ccv_validator_by_pk?: Maybe; /** fetch data from the table: "community_pool" */ community_pool: Array; - /** fetch aggregated fields from the table: "community_pool" */ - community_pool_aggregate: Community_Pool_Aggregate; /** fetch data from the table: "distribution_params" */ distribution_params: Array; - /** fetch aggregated fields from the table: "distribution_params" */ - distribution_params_aggregate: Distribution_Params_Aggregate; - /** fetch data from the table: "distribution_params" using primary key columns */ - distribution_params_by_pk?: Maybe; /** fetch data from the table: "double_sign_evidence" */ double_sign_evidence: Array; - /** fetch aggregated fields from the table: "double_sign_evidence" */ - double_sign_evidence_aggregate: Double_Sign_Evidence_Aggregate; /** fetch data from the table: "double_sign_vote" */ double_sign_vote: Array; - /** fetch aggregated fields from the table: "double_sign_vote" */ - double_sign_vote_aggregate: Double_Sign_Vote_Aggregate; - /** fetch data from the table: "double_sign_vote" using primary key columns */ - double_sign_vote_by_pk?: Maybe; /** fetch data from the table: "fee_grant_allowance" */ fee_grant_allowance: Array; - /** fetch aggregated fields from the table: "fee_grant_allowance" */ - fee_grant_allowance_aggregate: Fee_Grant_Allowance_Aggregate; - /** fetch data from the table: "fee_grant_allowance" using primary key columns */ - fee_grant_allowance_by_pk?: Maybe; /** fetch data from the table: "genesis" */ genesis: Array; - /** fetch aggregated fields from the table: "genesis" */ - genesis_aggregate: Genesis_Aggregate; /** fetch data from the table: "gov_params" */ gov_params: Array; - /** fetch aggregated fields from the table: "gov_params" */ - gov_params_aggregate: Gov_Params_Aggregate; - /** fetch data from the table: "gov_params" using primary key columns */ - gov_params_by_pk?: Maybe; + /** fetch data from the table: "inflation" */ + inflation: Array; + /** fetch aggregated fields from the table: "inflation" */ + inflation_aggregate: Inflation_Aggregate; + /** fetch data from the table: "inflation" using primary key columns */ + inflation_by_pk?: Maybe; /** fetch data from the table: "message" */ message: Array; - /** fetch aggregated fields from the table: "message" */ - message_aggregate: Message_Aggregate; /** execute function "messages_by_address" which returns "message" */ messages_by_address: Array; - /** execute function "messages_by_address" and query aggregates on result of table type "message" */ - messages_by_address_aggregate: Message_Aggregate; + /** execute function "messages_by_single_address" which returns "message" */ + messages_by_single_address: Array; /** fetch data from the table: "mint_params" */ mint_params: Array; - /** fetch aggregated fields from the table: "mint_params" */ - mint_params_aggregate: Mint_Params_Aggregate; - /** fetch data from the table: "mint_params" using primary key columns */ - mint_params_by_pk?: Maybe; /** fetch data from the table: "modules" */ modules: Array; - /** fetch aggregated fields from the table: "modules" */ - modules_aggregate: Modules_Aggregate; /** fetch data from the table: "modules" using primary key columns */ modules_by_pk?: Maybe; /** fetch data from the table: "pre_commit" */ @@ -4927,100 +17342,59 @@ export type Query_Root = { proposal_by_pk?: Maybe; /** fetch data from the table: "proposal_deposit" */ proposal_deposit: Array; - /** fetch aggregated fields from the table: "proposal_deposit" */ - proposal_deposit_aggregate: Proposal_Deposit_Aggregate; /** fetch data from the table: "proposal_staking_pool_snapshot" */ proposal_staking_pool_snapshot: Array; - /** fetch aggregated fields from the table: "proposal_staking_pool_snapshot" */ - proposal_staking_pool_snapshot_aggregate: Proposal_Staking_Pool_Snapshot_Aggregate; /** fetch data from the table: "proposal_staking_pool_snapshot" using primary key columns */ proposal_staking_pool_snapshot_by_pk?: Maybe; /** fetch data from the table: "proposal_tally_result" */ proposal_tally_result: Array; - /** fetch aggregated fields from the table: "proposal_tally_result" */ - proposal_tally_result_aggregate: Proposal_Tally_Result_Aggregate; /** fetch data from the table: "proposal_tally_result" using primary key columns */ proposal_tally_result_by_pk?: Maybe; /** fetch data from the table: "proposal_validator_status_snapshot" */ proposal_validator_status_snapshot: Array; - /** fetch aggregated fields from the table: "proposal_validator_status_snapshot" */ - proposal_validator_status_snapshot_aggregate: Proposal_Validator_Status_Snapshot_Aggregate; - /** fetch data from the table: "proposal_validator_status_snapshot" using primary key columns */ - proposal_validator_status_snapshot_by_pk?: Maybe; /** fetch data from the table: "proposal_vote" */ proposal_vote: Array; - /** fetch aggregated fields from the table: "proposal_vote" */ - proposal_vote_aggregate: Proposal_Vote_Aggregate; + provider?: Maybe; /** fetch data from the table: "slashing_params" */ slashing_params: Array; - /** fetch aggregated fields from the table: "slashing_params" */ - slashing_params_aggregate: Slashing_Params_Aggregate; - /** fetch data from the table: "slashing_params" using primary key columns */ - slashing_params_by_pk?: Maybe; + /** fetch data from the table: "software_upgrade_plan" */ + software_upgrade_plan: Array; + /** fetch aggregated fields from the table: "software_upgrade_plan" */ + software_upgrade_plan_aggregate: Software_Upgrade_Plan_Aggregate; /** fetch data from the table: "staking_params" */ staking_params: Array; - /** fetch aggregated fields from the table: "staking_params" */ - staking_params_aggregate: Staking_Params_Aggregate; - /** fetch data from the table: "staking_params" using primary key columns */ - staking_params_by_pk?: Maybe; /** fetch data from the table: "staking_pool" */ staking_pool: Array; - /** fetch aggregated fields from the table: "staking_pool" */ - staking_pool_aggregate: Staking_Pool_Aggregate; /** fetch data from the table: "supply" */ supply: Array; - /** fetch aggregated fields from the table: "supply" */ - supply_aggregate: Supply_Aggregate; /** fetch data from the table: "token" */ token: Array; - /** fetch aggregated fields from the table: "token" */ - token_aggregate: Token_Aggregate; /** fetch data from the table: "token_price" */ token_price: Array; - /** fetch aggregated fields from the table: "token_price" */ - token_price_aggregate: Token_Price_Aggregate; - /** fetch data from the table: "token_price" using primary key columns */ - token_price_by_pk?: Maybe; /** fetch data from the table: "token_price_history" */ token_price_history: Array; - /** fetch aggregated fields from the table: "token_price_history" */ - token_price_history_aggregate: Token_Price_History_Aggregate; /** fetch data from the table: "token_unit" */ token_unit: Array; - /** fetch aggregated fields from the table: "token_unit" */ - token_unit_aggregate: Token_Unit_Aggregate; /** fetch data from the table: "transaction" */ transaction: Array; - /** fetch aggregated fields from the table: "transaction" */ - transaction_aggregate: Transaction_Aggregate; /** fetch data from the table: "validator" */ validator: Array; - /** fetch aggregated fields from the table: "validator" */ - validator_aggregate: Validator_Aggregate; /** fetch data from the table: "validator" using primary key columns */ validator_by_pk?: Maybe; /** fetch data from the table: "validator_commission" */ validator_commission: Array; - /** fetch aggregated fields from the table: "validator_commission" */ - validator_commission_aggregate: Validator_Commission_Aggregate; /** fetch data from the table: "validator_commission" using primary key columns */ validator_commission_by_pk?: Maybe; /** fetch data from the table: "validator_description" */ validator_description: Array; - /** fetch aggregated fields from the table: "validator_description" */ - validator_description_aggregate: Validator_Description_Aggregate; /** fetch data from the table: "validator_description" using primary key columns */ validator_description_by_pk?: Maybe; /** fetch data from the table: "validator_info" */ validator_info: Array; - /** fetch aggregated fields from the table: "validator_info" */ - validator_info_aggregate: Validator_Info_Aggregate; /** fetch data from the table: "validator_info" using primary key columns */ validator_info_by_pk?: Maybe; /** fetch data from the table: "validator_signing_info" */ validator_signing_info: Array; - /** fetch aggregated fields from the table: "validator_signing_info" */ - validator_signing_info_aggregate: Validator_Signing_Info_Aggregate; /** fetch data from the table: "validator_signing_info" using primary key columns */ validator_signing_info_by_pk?: Maybe; /** fetch data from the table: "validator_status" */ @@ -5037,14 +17411,8 @@ export type Query_Root = { validator_voting_power_by_pk?: Maybe; /** fetch data from the table: "vesting_account" */ vesting_account: Array; - /** fetch aggregated fields from the table: "vesting_account" */ - vesting_account_aggregate: Vesting_Account_Aggregate; - /** fetch data from the table: "vesting_account" using primary key columns */ - vesting_account_by_pk?: Maybe; /** fetch data from the table: "vesting_period" */ vesting_period: Array; - /** fetch aggregated fields from the table: "vesting_period" */ - vesting_period_aggregate: Vesting_Period_Aggregate; }; @@ -5057,15 +17425,6 @@ export type Query_RootAccountArgs = { }; -export type Query_RootAccount_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootAccount_By_PkArgs = { address: Scalars['String']; }; @@ -5166,15 +17525,6 @@ export type Query_RootAverage_Block_Time_From_GenesisArgs = { }; -export type Query_RootAverage_Block_Time_From_Genesis_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootAverage_Block_Time_Per_DayArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5184,15 +17534,6 @@ export type Query_RootAverage_Block_Time_Per_DayArgs = { }; -export type Query_RootAverage_Block_Time_Per_Day_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootAverage_Block_Time_Per_HourArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5202,15 +17543,6 @@ export type Query_RootAverage_Block_Time_Per_HourArgs = { }; -export type Query_RootAverage_Block_Time_Per_Hour_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootAverage_Block_Time_Per_MinuteArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5220,15 +17552,6 @@ export type Query_RootAverage_Block_Time_Per_MinuteArgs = { }; -export type Query_RootAverage_Block_Time_Per_Minute_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootBlockArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5238,71 +17561,53 @@ export type Query_RootBlockArgs = { }; -export type Query_RootBlock_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootBlock_By_PkArgs = { height: Scalars['bigint']; }; -export type Query_RootCommunity_PoolArgs = { - distinct_on?: InputMaybe>; +export type Query_RootCcv_ValidatorArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Query_RootCommunity_Pool_AggregateArgs = { - distinct_on?: InputMaybe>; +export type Query_RootCcv_Validator_AggregateArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Query_RootDistribution_ParamsArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Query_RootCcv_Validator_By_PkArgs = { + consumer_consensus_address: Scalars['String']; }; -export type Query_RootDistribution_Params_AggregateArgs = { - distinct_on?: InputMaybe>; +export type Query_RootCommunity_PoolArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type Query_RootDistribution_Params_By_PkArgs = { - one_row_id: Scalars['Boolean']; + order_by?: InputMaybe>; + where?: InputMaybe; }; - -export type Query_RootDouble_Sign_EvidenceArgs = { - distinct_on?: InputMaybe>; + +export type Query_RootDistribution_ParamsArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Query_RootDouble_Sign_Evidence_AggregateArgs = { +export type Query_RootDouble_Sign_EvidenceArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; @@ -5320,20 +17625,6 @@ export type Query_RootDouble_Sign_VoteArgs = { }; -export type Query_RootDouble_Sign_Vote_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type Query_RootDouble_Sign_Vote_By_PkArgs = { - id: Scalars['Int']; -}; - - export type Query_RootFee_Grant_AllowanceArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5343,20 +17634,6 @@ export type Query_RootFee_Grant_AllowanceArgs = { }; -export type Query_RootFee_Grant_Allowance_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type Query_RootFee_Grant_Allowance_By_PkArgs = { - id: Scalars['Int']; -}; - - export type Query_RootGenesisArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5366,15 +17643,6 @@ export type Query_RootGenesisArgs = { }; -export type Query_RootGenesis_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootGov_ParamsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5384,30 +17652,30 @@ export type Query_RootGov_ParamsArgs = { }; -export type Query_RootGov_Params_AggregateArgs = { - distinct_on?: InputMaybe>; +export type Query_RootInflationArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Query_RootGov_Params_By_PkArgs = { - one_row_id: Scalars['Boolean']; +export type Query_RootInflation_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Query_RootMessageArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Query_RootInflation_By_PkArgs = { + one_row_id: Scalars['Boolean']; }; -export type Query_RootMessage_AggregateArgs = { +export type Query_RootMessageArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; @@ -5426,8 +17694,8 @@ export type Query_RootMessages_By_AddressArgs = { }; -export type Query_RootMessages_By_Address_AggregateArgs = { - args: Messages_By_Address_Args; +export type Query_RootMessages_By_Single_AddressArgs = { + args: Messages_By_Single_Address_Args; distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; @@ -5445,20 +17713,6 @@ export type Query_RootMint_ParamsArgs = { }; -export type Query_RootMint_Params_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type Query_RootMint_Params_By_PkArgs = { - one_row_id: Scalars['Boolean']; -}; - - export type Query_RootModulesArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5468,15 +17722,6 @@ export type Query_RootModulesArgs = { }; -export type Query_RootModules_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootModules_By_PkArgs = { module_name: Scalars['String']; }; @@ -5532,15 +17777,6 @@ export type Query_RootProposal_DepositArgs = { }; -export type Query_RootProposal_Deposit_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootProposal_Staking_Pool_SnapshotArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5550,15 +17786,6 @@ export type Query_RootProposal_Staking_Pool_SnapshotArgs = { }; -export type Query_RootProposal_Staking_Pool_Snapshot_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootProposal_Staking_Pool_Snapshot_By_PkArgs = { proposal_id: Scalars['Int']; }; @@ -5573,15 +17800,6 @@ export type Query_RootProposal_Tally_ResultArgs = { }; -export type Query_RootProposal_Tally_Result_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootProposal_Tally_Result_By_PkArgs = { proposal_id: Scalars['Int']; }; @@ -5596,20 +17814,6 @@ export type Query_RootProposal_Validator_Status_SnapshotArgs = { }; -export type Query_RootProposal_Validator_Status_Snapshot_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type Query_RootProposal_Validator_Status_Snapshot_By_PkArgs = { - id: Scalars['Int']; -}; - - export type Query_RootProposal_VoteArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5619,15 +17823,6 @@ export type Query_RootProposal_VoteArgs = { }; -export type Query_RootProposal_Vote_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootSlashing_ParamsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5637,30 +17832,25 @@ export type Query_RootSlashing_ParamsArgs = { }; -export type Query_RootSlashing_Params_AggregateArgs = { - distinct_on?: InputMaybe>; +export type Query_RootSoftware_Upgrade_PlanArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type Query_RootSlashing_Params_By_PkArgs = { - one_row_id: Scalars['Boolean']; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Query_RootStaking_ParamsArgs = { - distinct_on?: InputMaybe>; +export type Query_RootSoftware_Upgrade_Plan_AggregateArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Query_RootStaking_Params_AggregateArgs = { +export type Query_RootStaking_ParamsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; @@ -5669,11 +17859,6 @@ export type Query_RootStaking_Params_AggregateArgs = { }; -export type Query_RootStaking_Params_By_PkArgs = { - one_row_id: Scalars['Boolean']; -}; - - export type Query_RootStaking_PoolArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5683,15 +17868,6 @@ export type Query_RootStaking_PoolArgs = { }; -export type Query_RootStaking_Pool_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootSupplyArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5701,15 +17877,6 @@ export type Query_RootSupplyArgs = { }; -export type Query_RootSupply_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootTokenArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5719,15 +17886,6 @@ export type Query_RootTokenArgs = { }; -export type Query_RootToken_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootToken_PriceArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5737,20 +17895,6 @@ export type Query_RootToken_PriceArgs = { }; -export type Query_RootToken_Price_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type Query_RootToken_Price_By_PkArgs = { - id: Scalars['Int']; -}; - - export type Query_RootToken_Price_HistoryArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5760,15 +17904,6 @@ export type Query_RootToken_Price_HistoryArgs = { }; -export type Query_RootToken_Price_History_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootToken_UnitArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5778,15 +17913,6 @@ export type Query_RootToken_UnitArgs = { }; -export type Query_RootToken_Unit_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootTransactionArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5796,15 +17922,6 @@ export type Query_RootTransactionArgs = { }; -export type Query_RootTransaction_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootValidatorArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5814,15 +17931,6 @@ export type Query_RootValidatorArgs = { }; -export type Query_RootValidator_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootValidator_By_PkArgs = { consensus_address: Scalars['String']; }; @@ -5837,15 +17945,6 @@ export type Query_RootValidator_CommissionArgs = { }; -export type Query_RootValidator_Commission_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootValidator_Commission_By_PkArgs = { validator_address: Scalars['String']; }; @@ -5860,15 +17959,6 @@ export type Query_RootValidator_DescriptionArgs = { }; -export type Query_RootValidator_Description_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootValidator_Description_By_PkArgs = { validator_address: Scalars['String']; }; @@ -5883,15 +17973,6 @@ export type Query_RootValidator_InfoArgs = { }; -export type Query_RootValidator_Info_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootValidator_Info_By_PkArgs = { consensus_address: Scalars['String']; }; @@ -5906,15 +17987,6 @@ export type Query_RootValidator_Signing_InfoArgs = { }; -export type Query_RootValidator_Signing_Info_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootValidator_Signing_Info_By_PkArgs = { validator_address: Scalars['String']; }; @@ -5970,35 +18042,12 @@ export type Query_RootVesting_AccountArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type Query_RootVesting_Account_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type Query_RootVesting_Account_By_PkArgs = { - id: Scalars['Int']; -}; - - -export type Query_RootVesting_PeriodArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Query_RootVesting_Period_AggregateArgs = { +export type Query_RootVesting_PeriodArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; @@ -6010,7 +18059,6 @@ export type Query_RootVesting_Period_AggregateArgs = { export type Slashing_Params = { __typename?: 'slashing_params'; height: Scalars['bigint']; - one_row_id: Scalars['Boolean']; params: Scalars['jsonb']; }; @@ -6020,68 +18068,18 @@ export type Slashing_ParamsParamsArgs = { path?: InputMaybe; }; -/** aggregated selection of "slashing_params" */ -export type Slashing_Params_Aggregate = { - __typename?: 'slashing_params_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "slashing_params" */ -export type Slashing_Params_Aggregate_Fields = { - __typename?: 'slashing_params_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "slashing_params" */ -export type Slashing_Params_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Slashing_Params_Avg_Fields = { - __typename?: 'slashing_params_avg_fields'; - height?: Maybe; -}; - /** Boolean expression to filter rows from the table "slashing_params". All fields are combined with a logical 'AND'. */ export type Slashing_Params_Bool_Exp = { _and?: InputMaybe>; _not?: InputMaybe; _or?: InputMaybe>; height?: InputMaybe; - one_row_id?: InputMaybe; params?: InputMaybe; }; -/** aggregate max on columns */ -export type Slashing_Params_Max_Fields = { - __typename?: 'slashing_params_max_fields'; - height?: Maybe; -}; - -/** aggregate min on columns */ -export type Slashing_Params_Min_Fields = { - __typename?: 'slashing_params_min_fields'; - height?: Maybe; -}; - /** Ordering options when selecting data from "slashing_params". */ export type Slashing_Params_Order_By = { height?: InputMaybe; - one_row_id?: InputMaybe; params?: InputMaybe; }; @@ -6090,51 +18088,21 @@ export enum Slashing_Params_Select_Column { /** column name */ Height = 'height', /** column name */ - OneRowId = 'one_row_id', - /** column name */ Params = 'params' } -/** aggregate stddev on columns */ -export type Slashing_Params_Stddev_Fields = { - __typename?: 'slashing_params_stddev_fields'; - height?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Slashing_Params_Stddev_Pop_Fields = { - __typename?: 'slashing_params_stddev_pop_fields'; - height?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Slashing_Params_Stddev_Samp_Fields = { - __typename?: 'slashing_params_stddev_samp_fields'; - height?: Maybe; -}; - -/** aggregate sum on columns */ -export type Slashing_Params_Sum_Fields = { - __typename?: 'slashing_params_sum_fields'; - height?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Slashing_Params_Var_Pop_Fields = { - __typename?: 'slashing_params_var_pop_fields'; - height?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Slashing_Params_Var_Samp_Fields = { - __typename?: 'slashing_params_var_samp_fields'; - height?: Maybe; +/** Streaming cursor of the table "slashing_params" */ +export type Slashing_Params_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Slashing_Params_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate variance on columns */ -export type Slashing_Params_Variance_Fields = { - __typename?: 'slashing_params_variance_fields'; - height?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Slashing_Params_Stream_Cursor_Value_Input = { + height?: InputMaybe; + params?: InputMaybe; }; /** Boolean expression to compare columns of type "smallint". All fields are combined with logical 'AND'. */ @@ -6150,181 +18118,244 @@ export type Smallint_Comparison_Exp = { _nin?: InputMaybe>; }; -/** columns and relationships of "staking_params" */ -export type Staking_Params = { - __typename?: 'staking_params'; +/** columns and relationships of "software_upgrade_plan" */ +export type Software_Upgrade_Plan = { + __typename?: 'software_upgrade_plan'; height: Scalars['bigint']; - one_row_id: Scalars['Boolean']; - params: Scalars['jsonb']; -}; - - -/** columns and relationships of "staking_params" */ -export type Staking_ParamsParamsArgs = { - path?: InputMaybe; + info: Scalars['String']; + plan_name: Scalars['String']; + /** An object relationship */ + proposal?: Maybe; + proposal_id?: Maybe; + upgrade_height: Scalars['bigint']; }; -/** aggregated selection of "staking_params" */ -export type Staking_Params_Aggregate = { - __typename?: 'staking_params_aggregate'; - aggregate?: Maybe; - nodes: Array; +/** aggregated selection of "software_upgrade_plan" */ +export type Software_Upgrade_Plan_Aggregate = { + __typename?: 'software_upgrade_plan_aggregate'; + aggregate?: Maybe; + nodes: Array; }; -/** aggregate fields of "staking_params" */ -export type Staking_Params_Aggregate_Fields = { - __typename?: 'staking_params_aggregate_fields'; - avg?: Maybe; +/** aggregate fields of "software_upgrade_plan" */ +export type Software_Upgrade_Plan_Aggregate_Fields = { + __typename?: 'software_upgrade_plan_aggregate_fields'; + avg?: Maybe; count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; }; -/** aggregate fields of "staking_params" */ -export type Staking_Params_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; +/** aggregate fields of "software_upgrade_plan" */ +export type Software_Upgrade_Plan_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; distinct?: InputMaybe; }; /** aggregate avg on columns */ -export type Staking_Params_Avg_Fields = { - __typename?: 'staking_params_avg_fields'; +export type Software_Upgrade_Plan_Avg_Fields = { + __typename?: 'software_upgrade_plan_avg_fields'; height?: Maybe; + proposal_id?: Maybe; + upgrade_height?: Maybe; }; -/** Boolean expression to filter rows from the table "staking_params". All fields are combined with a logical 'AND'. */ -export type Staking_Params_Bool_Exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; +/** Boolean expression to filter rows from the table "software_upgrade_plan". All fields are combined with a logical 'AND'. */ +export type Software_Upgrade_Plan_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; height?: InputMaybe; - one_row_id?: InputMaybe; - params?: InputMaybe; + info?: InputMaybe; + plan_name?: InputMaybe; + proposal?: InputMaybe; + proposal_id?: InputMaybe; + upgrade_height?: InputMaybe; }; /** aggregate max on columns */ -export type Staking_Params_Max_Fields = { - __typename?: 'staking_params_max_fields'; +export type Software_Upgrade_Plan_Max_Fields = { + __typename?: 'software_upgrade_plan_max_fields'; height?: Maybe; + info?: Maybe; + plan_name?: Maybe; + proposal_id?: Maybe; + upgrade_height?: Maybe; }; /** aggregate min on columns */ -export type Staking_Params_Min_Fields = { - __typename?: 'staking_params_min_fields'; +export type Software_Upgrade_Plan_Min_Fields = { + __typename?: 'software_upgrade_plan_min_fields'; height?: Maybe; + info?: Maybe; + plan_name?: Maybe; + proposal_id?: Maybe; + upgrade_height?: Maybe; }; -/** Ordering options when selecting data from "staking_params". */ -export type Staking_Params_Order_By = { +/** Ordering options when selecting data from "software_upgrade_plan". */ +export type Software_Upgrade_Plan_Order_By = { height?: InputMaybe; - one_row_id?: InputMaybe; - params?: InputMaybe; + info?: InputMaybe; + plan_name?: InputMaybe; + proposal?: InputMaybe; + proposal_id?: InputMaybe; + upgrade_height?: InputMaybe; }; -/** select columns of table "staking_params" */ -export enum Staking_Params_Select_Column { +/** select columns of table "software_upgrade_plan" */ +export enum Software_Upgrade_Plan_Select_Column { /** column name */ Height = 'height', /** column name */ - OneRowId = 'one_row_id', + Info = 'info', /** column name */ - Params = 'params' + PlanName = 'plan_name', + /** column name */ + ProposalId = 'proposal_id', + /** column name */ + UpgradeHeight = 'upgrade_height' } /** aggregate stddev on columns */ -export type Staking_Params_Stddev_Fields = { - __typename?: 'staking_params_stddev_fields'; +export type Software_Upgrade_Plan_Stddev_Fields = { + __typename?: 'software_upgrade_plan_stddev_fields'; height?: Maybe; + proposal_id?: Maybe; + upgrade_height?: Maybe; }; /** aggregate stddev_pop on columns */ -export type Staking_Params_Stddev_Pop_Fields = { - __typename?: 'staking_params_stddev_pop_fields'; +export type Software_Upgrade_Plan_Stddev_Pop_Fields = { + __typename?: 'software_upgrade_plan_stddev_pop_fields'; height?: Maybe; + proposal_id?: Maybe; + upgrade_height?: Maybe; }; /** aggregate stddev_samp on columns */ -export type Staking_Params_Stddev_Samp_Fields = { - __typename?: 'staking_params_stddev_samp_fields'; +export type Software_Upgrade_Plan_Stddev_Samp_Fields = { + __typename?: 'software_upgrade_plan_stddev_samp_fields'; height?: Maybe; + proposal_id?: Maybe; + upgrade_height?: Maybe; +}; + +/** Streaming cursor of the table "software_upgrade_plan" */ +export type Software_Upgrade_Plan_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Software_Upgrade_Plan_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Software_Upgrade_Plan_Stream_Cursor_Value_Input = { + height?: InputMaybe; + info?: InputMaybe; + plan_name?: InputMaybe; + proposal_id?: InputMaybe; + upgrade_height?: InputMaybe; }; /** aggregate sum on columns */ -export type Staking_Params_Sum_Fields = { - __typename?: 'staking_params_sum_fields'; +export type Software_Upgrade_Plan_Sum_Fields = { + __typename?: 'software_upgrade_plan_sum_fields'; height?: Maybe; + proposal_id?: Maybe; + upgrade_height?: Maybe; }; /** aggregate var_pop on columns */ -export type Staking_Params_Var_Pop_Fields = { - __typename?: 'staking_params_var_pop_fields'; +export type Software_Upgrade_Plan_Var_Pop_Fields = { + __typename?: 'software_upgrade_plan_var_pop_fields'; height?: Maybe; + proposal_id?: Maybe; + upgrade_height?: Maybe; }; /** aggregate var_samp on columns */ -export type Staking_Params_Var_Samp_Fields = { - __typename?: 'staking_params_var_samp_fields'; +export type Software_Upgrade_Plan_Var_Samp_Fields = { + __typename?: 'software_upgrade_plan_var_samp_fields'; height?: Maybe; + proposal_id?: Maybe; + upgrade_height?: Maybe; }; /** aggregate variance on columns */ -export type Staking_Params_Variance_Fields = { - __typename?: 'staking_params_variance_fields'; +export type Software_Upgrade_Plan_Variance_Fields = { + __typename?: 'software_upgrade_plan_variance_fields'; height?: Maybe; + proposal_id?: Maybe; + upgrade_height?: Maybe; }; -/** columns and relationships of "staking_pool" */ -export type Staking_Pool = { - __typename?: 'staking_pool'; - bonded_tokens: Scalars['String']; +/** columns and relationships of "staking_params" */ +export type Staking_Params = { + __typename?: 'staking_params'; height: Scalars['bigint']; - not_bonded_tokens: Scalars['String']; - staked_not_bonded_tokens: Scalars['String']; - unbonding_tokens: Scalars['String']; + params: Scalars['jsonb']; }; -/** aggregated selection of "staking_pool" */ -export type Staking_Pool_Aggregate = { - __typename?: 'staking_pool_aggregate'; - aggregate?: Maybe; - nodes: Array; + +/** columns and relationships of "staking_params" */ +export type Staking_ParamsParamsArgs = { + path?: InputMaybe; }; -/** aggregate fields of "staking_pool" */ -export type Staking_Pool_Aggregate_Fields = { - __typename?: 'staking_pool_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; +/** Boolean expression to filter rows from the table "staking_params". All fields are combined with a logical 'AND'. */ +export type Staking_Params_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + height?: InputMaybe; + params?: InputMaybe; }; +/** Ordering options when selecting data from "staking_params". */ +export type Staking_Params_Order_By = { + height?: InputMaybe; + params?: InputMaybe; +}; -/** aggregate fields of "staking_pool" */ -export type Staking_Pool_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; +/** select columns of table "staking_params" */ +export enum Staking_Params_Select_Column { + /** column name */ + Height = 'height', + /** column name */ + Params = 'params' +} + +/** Streaming cursor of the table "staking_params" */ +export type Staking_Params_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Staking_Params_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate avg on columns */ -export type Staking_Pool_Avg_Fields = { - __typename?: 'staking_pool_avg_fields'; - height?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Staking_Params_Stream_Cursor_Value_Input = { + height?: InputMaybe; + params?: InputMaybe; +}; + +/** columns and relationships of "staking_pool" */ +export type Staking_Pool = { + __typename?: 'staking_pool'; + bonded_tokens: Scalars['String']; + height: Scalars['bigint']; + not_bonded_tokens: Scalars['String']; + staked_not_bonded_tokens: Scalars['String']; + unbonding_tokens: Scalars['String']; }; /** Boolean expression to filter rows from the table "staking_pool". All fields are combined with a logical 'AND'. */ @@ -6339,26 +18370,6 @@ export type Staking_Pool_Bool_Exp = { unbonding_tokens?: InputMaybe; }; -/** aggregate max on columns */ -export type Staking_Pool_Max_Fields = { - __typename?: 'staking_pool_max_fields'; - bonded_tokens?: Maybe; - height?: Maybe; - not_bonded_tokens?: Maybe; - staked_not_bonded_tokens?: Maybe; - unbonding_tokens?: Maybe; -}; - -/** aggregate min on columns */ -export type Staking_Pool_Min_Fields = { - __typename?: 'staking_pool_min_fields'; - bonded_tokens?: Maybe; - height?: Maybe; - not_bonded_tokens?: Maybe; - staked_not_bonded_tokens?: Maybe; - unbonding_tokens?: Maybe; -}; - /** Ordering options when selecting data from "staking_pool". */ export type Staking_Pool_Order_By = { bonded_tokens?: InputMaybe; @@ -6382,138 +18393,121 @@ export enum Staking_Pool_Select_Column { UnbondingTokens = 'unbonding_tokens' } -/** aggregate stddev on columns */ -export type Staking_Pool_Stddev_Fields = { - __typename?: 'staking_pool_stddev_fields'; - height?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Staking_Pool_Stddev_Pop_Fields = { - __typename?: 'staking_pool_stddev_pop_fields'; - height?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Staking_Pool_Stddev_Samp_Fields = { - __typename?: 'staking_pool_stddev_samp_fields'; - height?: Maybe; -}; - -/** aggregate sum on columns */ -export type Staking_Pool_Sum_Fields = { - __typename?: 'staking_pool_sum_fields'; - height?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Staking_Pool_Var_Pop_Fields = { - __typename?: 'staking_pool_var_pop_fields'; - height?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Staking_Pool_Var_Samp_Fields = { - __typename?: 'staking_pool_var_samp_fields'; - height?: Maybe; +/** Streaming cursor of the table "staking_pool" */ +export type Staking_Pool_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Staking_Pool_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate variance on columns */ -export type Staking_Pool_Variance_Fields = { - __typename?: 'staking_pool_variance_fields'; - height?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Staking_Pool_Stream_Cursor_Value_Input = { + bonded_tokens?: InputMaybe; + height?: InputMaybe; + not_bonded_tokens?: InputMaybe; + staked_not_bonded_tokens?: InputMaybe; + unbonding_tokens?: InputMaybe; }; export type Subscription_Root = { __typename?: 'subscription_root'; /** fetch data from the table: "account" */ account: Array; - /** fetch aggregated fields from the table: "account" */ - account_aggregate: Account_Aggregate; /** fetch data from the table: "account" using primary key columns */ account_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "account" */ + account_stream: Array; /** fetch data from the table: "average_block_time_from_genesis" */ average_block_time_from_genesis: Array; - /** fetch aggregated fields from the table: "average_block_time_from_genesis" */ - average_block_time_from_genesis_aggregate: Average_Block_Time_From_Genesis_Aggregate; + /** fetch data from the table in a streaming manner: "average_block_time_from_genesis" */ + average_block_time_from_genesis_stream: Array; /** fetch data from the table: "average_block_time_per_day" */ average_block_time_per_day: Array; - /** fetch aggregated fields from the table: "average_block_time_per_day" */ - average_block_time_per_day_aggregate: Average_Block_Time_Per_Day_Aggregate; + /** fetch data from the table in a streaming manner: "average_block_time_per_day" */ + average_block_time_per_day_stream: Array; /** fetch data from the table: "average_block_time_per_hour" */ average_block_time_per_hour: Array; - /** fetch aggregated fields from the table: "average_block_time_per_hour" */ - average_block_time_per_hour_aggregate: Average_Block_Time_Per_Hour_Aggregate; + /** fetch data from the table in a streaming manner: "average_block_time_per_hour" */ + average_block_time_per_hour_stream: Array; /** fetch data from the table: "average_block_time_per_minute" */ average_block_time_per_minute: Array; - /** fetch aggregated fields from the table: "average_block_time_per_minute" */ - average_block_time_per_minute_aggregate: Average_Block_Time_Per_Minute_Aggregate; + /** fetch data from the table in a streaming manner: "average_block_time_per_minute" */ + average_block_time_per_minute_stream: Array; /** fetch data from the table: "block" */ block: Array; - /** fetch aggregated fields from the table: "block" */ - block_aggregate: Block_Aggregate; /** fetch data from the table: "block" using primary key columns */ block_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "block" */ + block_stream: Array; + /** fetch data from the table: "ccv_validator" */ + ccv_validator: Array; + /** fetch aggregated fields from the table: "ccv_validator" */ + ccv_validator_aggregate: Ccv_Validator_Aggregate; + /** fetch data from the table: "ccv_validator" using primary key columns */ + ccv_validator_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "ccv_validator" */ + ccv_validator_stream: Array; /** fetch data from the table: "community_pool" */ community_pool: Array; - /** fetch aggregated fields from the table: "community_pool" */ - community_pool_aggregate: Community_Pool_Aggregate; + /** fetch data from the table in a streaming manner: "community_pool" */ + community_pool_stream: Array; /** fetch data from the table: "distribution_params" */ distribution_params: Array; - /** fetch aggregated fields from the table: "distribution_params" */ - distribution_params_aggregate: Distribution_Params_Aggregate; - /** fetch data from the table: "distribution_params" using primary key columns */ - distribution_params_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "distribution_params" */ + distribution_params_stream: Array; /** fetch data from the table: "double_sign_evidence" */ double_sign_evidence: Array; - /** fetch aggregated fields from the table: "double_sign_evidence" */ - double_sign_evidence_aggregate: Double_Sign_Evidence_Aggregate; + /** fetch data from the table in a streaming manner: "double_sign_evidence" */ + double_sign_evidence_stream: Array; /** fetch data from the table: "double_sign_vote" */ double_sign_vote: Array; - /** fetch aggregated fields from the table: "double_sign_vote" */ - double_sign_vote_aggregate: Double_Sign_Vote_Aggregate; - /** fetch data from the table: "double_sign_vote" using primary key columns */ - double_sign_vote_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "double_sign_vote" */ + double_sign_vote_stream: Array; /** fetch data from the table: "fee_grant_allowance" */ fee_grant_allowance: Array; - /** fetch aggregated fields from the table: "fee_grant_allowance" */ - fee_grant_allowance_aggregate: Fee_Grant_Allowance_Aggregate; - /** fetch data from the table: "fee_grant_allowance" using primary key columns */ - fee_grant_allowance_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "fee_grant_allowance" */ + fee_grant_allowance_stream: Array; /** fetch data from the table: "genesis" */ genesis: Array; - /** fetch aggregated fields from the table: "genesis" */ - genesis_aggregate: Genesis_Aggregate; + /** fetch data from the table in a streaming manner: "genesis" */ + genesis_stream: Array; /** fetch data from the table: "gov_params" */ gov_params: Array; - /** fetch aggregated fields from the table: "gov_params" */ - gov_params_aggregate: Gov_Params_Aggregate; - /** fetch data from the table: "gov_params" using primary key columns */ - gov_params_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "gov_params" */ + gov_params_stream: Array; + /** fetch data from the table: "inflation" */ + inflation: Array; + /** fetch aggregated fields from the table: "inflation" */ + inflation_aggregate: Inflation_Aggregate; + /** fetch data from the table: "inflation" using primary key columns */ + inflation_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "inflation" */ + inflation_stream: Array; /** fetch data from the table: "message" */ message: Array; - /** fetch aggregated fields from the table: "message" */ - message_aggregate: Message_Aggregate; + /** fetch data from the table in a streaming manner: "message" */ + message_stream: Array; /** execute function "messages_by_address" which returns "message" */ messages_by_address: Array; - /** execute function "messages_by_address" and query aggregates on result of table type "message" */ - messages_by_address_aggregate: Message_Aggregate; + /** execute function "messages_by_single_address" which returns "message" */ + messages_by_single_address: Array; /** fetch data from the table: "mint_params" */ mint_params: Array; - /** fetch aggregated fields from the table: "mint_params" */ - mint_params_aggregate: Mint_Params_Aggregate; - /** fetch data from the table: "mint_params" using primary key columns */ - mint_params_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "mint_params" */ + mint_params_stream: Array; /** fetch data from the table: "modules" */ modules: Array; - /** fetch aggregated fields from the table: "modules" */ - modules_aggregate: Modules_Aggregate; /** fetch data from the table: "modules" using primary key columns */ modules_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "modules" */ + modules_stream: Array; /** fetch data from the table: "pre_commit" */ pre_commit: Array; /** fetch aggregated fields from the table: "pre_commit" */ pre_commit_aggregate: Pre_Commit_Aggregate; + /** fetch data from the table in a streaming manner: "pre_commit" */ + pre_commit_stream: Array; /** fetch data from the table: "proposal" */ proposal: Array; /** fetch aggregated fields from the table: "proposal" */ @@ -6522,124 +18516,127 @@ export type Subscription_Root = { proposal_by_pk?: Maybe; /** fetch data from the table: "proposal_deposit" */ proposal_deposit: Array; - /** fetch aggregated fields from the table: "proposal_deposit" */ - proposal_deposit_aggregate: Proposal_Deposit_Aggregate; + /** fetch data from the table in a streaming manner: "proposal_deposit" */ + proposal_deposit_stream: Array; /** fetch data from the table: "proposal_staking_pool_snapshot" */ proposal_staking_pool_snapshot: Array; - /** fetch aggregated fields from the table: "proposal_staking_pool_snapshot" */ - proposal_staking_pool_snapshot_aggregate: Proposal_Staking_Pool_Snapshot_Aggregate; /** fetch data from the table: "proposal_staking_pool_snapshot" using primary key columns */ proposal_staking_pool_snapshot_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "proposal_staking_pool_snapshot" */ + proposal_staking_pool_snapshot_stream: Array; + /** fetch data from the table in a streaming manner: "proposal" */ + proposal_stream: Array; /** fetch data from the table: "proposal_tally_result" */ proposal_tally_result: Array; - /** fetch aggregated fields from the table: "proposal_tally_result" */ - proposal_tally_result_aggregate: Proposal_Tally_Result_Aggregate; /** fetch data from the table: "proposal_tally_result" using primary key columns */ proposal_tally_result_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "proposal_tally_result" */ + proposal_tally_result_stream: Array; /** fetch data from the table: "proposal_validator_status_snapshot" */ proposal_validator_status_snapshot: Array; - /** fetch aggregated fields from the table: "proposal_validator_status_snapshot" */ - proposal_validator_status_snapshot_aggregate: Proposal_Validator_Status_Snapshot_Aggregate; - /** fetch data from the table: "proposal_validator_status_snapshot" using primary key columns */ - proposal_validator_status_snapshot_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "proposal_validator_status_snapshot" */ + proposal_validator_status_snapshot_stream: Array; /** fetch data from the table: "proposal_vote" */ proposal_vote: Array; - /** fetch aggregated fields from the table: "proposal_vote" */ - proposal_vote_aggregate: Proposal_Vote_Aggregate; + /** fetch data from the table in a streaming manner: "proposal_vote" */ + proposal_vote_stream: Array; + provider?: Maybe; /** fetch data from the table: "slashing_params" */ slashing_params: Array; - /** fetch aggregated fields from the table: "slashing_params" */ - slashing_params_aggregate: Slashing_Params_Aggregate; - /** fetch data from the table: "slashing_params" using primary key columns */ - slashing_params_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "slashing_params" */ + slashing_params_stream: Array; + /** fetch data from the table: "software_upgrade_plan" */ + software_upgrade_plan: Array; + /** fetch aggregated fields from the table: "software_upgrade_plan" */ + software_upgrade_plan_aggregate: Software_Upgrade_Plan_Aggregate; + /** fetch data from the table in a streaming manner: "software_upgrade_plan" */ + software_upgrade_plan_stream: Array; /** fetch data from the table: "staking_params" */ staking_params: Array; - /** fetch aggregated fields from the table: "staking_params" */ - staking_params_aggregate: Staking_Params_Aggregate; - /** fetch data from the table: "staking_params" using primary key columns */ - staking_params_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "staking_params" */ + staking_params_stream: Array; /** fetch data from the table: "staking_pool" */ staking_pool: Array; - /** fetch aggregated fields from the table: "staking_pool" */ - staking_pool_aggregate: Staking_Pool_Aggregate; + /** fetch data from the table in a streaming manner: "staking_pool" */ + staking_pool_stream: Array; /** fetch data from the table: "supply" */ supply: Array; - /** fetch aggregated fields from the table: "supply" */ - supply_aggregate: Supply_Aggregate; + /** fetch data from the table in a streaming manner: "supply" */ + supply_stream: Array; /** fetch data from the table: "token" */ token: Array; - /** fetch aggregated fields from the table: "token" */ - token_aggregate: Token_Aggregate; /** fetch data from the table: "token_price" */ token_price: Array; - /** fetch aggregated fields from the table: "token_price" */ - token_price_aggregate: Token_Price_Aggregate; - /** fetch data from the table: "token_price" using primary key columns */ - token_price_by_pk?: Maybe; /** fetch data from the table: "token_price_history" */ token_price_history: Array; - /** fetch aggregated fields from the table: "token_price_history" */ - token_price_history_aggregate: Token_Price_History_Aggregate; + /** fetch data from the table in a streaming manner: "token_price_history" */ + token_price_history_stream: Array; + /** fetch data from the table in a streaming manner: "token_price" */ + token_price_stream: Array; + /** fetch data from the table in a streaming manner: "token" */ + token_stream: Array; /** fetch data from the table: "token_unit" */ token_unit: Array; - /** fetch aggregated fields from the table: "token_unit" */ - token_unit_aggregate: Token_Unit_Aggregate; + /** fetch data from the table in a streaming manner: "token_unit" */ + token_unit_stream: Array; /** fetch data from the table: "transaction" */ transaction: Array; - /** fetch aggregated fields from the table: "transaction" */ - transaction_aggregate: Transaction_Aggregate; + /** fetch data from the table in a streaming manner: "transaction" */ + transaction_stream: Array; /** fetch data from the table: "validator" */ validator: Array; - /** fetch aggregated fields from the table: "validator" */ - validator_aggregate: Validator_Aggregate; /** fetch data from the table: "validator" using primary key columns */ validator_by_pk?: Maybe; /** fetch data from the table: "validator_commission" */ validator_commission: Array; - /** fetch aggregated fields from the table: "validator_commission" */ - validator_commission_aggregate: Validator_Commission_Aggregate; /** fetch data from the table: "validator_commission" using primary key columns */ validator_commission_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "validator_commission" */ + validator_commission_stream: Array; /** fetch data from the table: "validator_description" */ validator_description: Array; - /** fetch aggregated fields from the table: "validator_description" */ - validator_description_aggregate: Validator_Description_Aggregate; /** fetch data from the table: "validator_description" using primary key columns */ validator_description_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "validator_description" */ + validator_description_stream: Array; /** fetch data from the table: "validator_info" */ validator_info: Array; - /** fetch aggregated fields from the table: "validator_info" */ - validator_info_aggregate: Validator_Info_Aggregate; /** fetch data from the table: "validator_info" using primary key columns */ validator_info_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "validator_info" */ + validator_info_stream: Array; /** fetch data from the table: "validator_signing_info" */ validator_signing_info: Array; - /** fetch aggregated fields from the table: "validator_signing_info" */ - validator_signing_info_aggregate: Validator_Signing_Info_Aggregate; /** fetch data from the table: "validator_signing_info" using primary key columns */ validator_signing_info_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "validator_signing_info" */ + validator_signing_info_stream: Array; /** fetch data from the table: "validator_status" */ validator_status: Array; /** fetch aggregated fields from the table: "validator_status" */ validator_status_aggregate: Validator_Status_Aggregate; /** fetch data from the table: "validator_status" using primary key columns */ validator_status_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "validator_status" */ + validator_status_stream: Array; + /** fetch data from the table in a streaming manner: "validator" */ + validator_stream: Array; /** fetch data from the table: "validator_voting_power" */ validator_voting_power: Array; /** fetch aggregated fields from the table: "validator_voting_power" */ validator_voting_power_aggregate: Validator_Voting_Power_Aggregate; /** fetch data from the table: "validator_voting_power" using primary key columns */ validator_voting_power_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "validator_voting_power" */ + validator_voting_power_stream: Array; /** fetch data from the table: "vesting_account" */ vesting_account: Array; - /** fetch aggregated fields from the table: "vesting_account" */ - vesting_account_aggregate: Vesting_Account_Aggregate; - /** fetch data from the table: "vesting_account" using primary key columns */ - vesting_account_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "vesting_account" */ + vesting_account_stream: Array; /** fetch data from the table: "vesting_period" */ vesting_period: Array; - /** fetch aggregated fields from the table: "vesting_period" */ - vesting_period_aggregate: Vesting_Period_Aggregate; + /** fetch data from the table in a streaming manner: "vesting_period" */ + vesting_period_stream: Array; }; @@ -6652,17 +18649,15 @@ export type Subscription_RootAccountArgs = { }; -export type Subscription_RootAccount_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Subscription_RootAccount_By_PkArgs = { + address: Scalars['String']; }; -export type Subscription_RootAccount_By_PkArgs = { - address: Scalars['String']; +export type Subscription_RootAccount_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; @@ -6675,11 +18670,9 @@ export type Subscription_RootAverage_Block_Time_From_GenesisArgs = { }; -export type Subscription_RootAverage_Block_Time_From_Genesis_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootAverage_Block_Time_From_Genesis_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -6693,11 +18686,9 @@ export type Subscription_RootAverage_Block_Time_Per_DayArgs = { }; -export type Subscription_RootAverage_Block_Time_Per_Day_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootAverage_Block_Time_Per_Day_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -6711,11 +18702,9 @@ export type Subscription_RootAverage_Block_Time_Per_HourArgs = { }; -export type Subscription_RootAverage_Block_Time_Per_Hour_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootAverage_Block_Time_Per_Hour_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -6729,11 +18718,9 @@ export type Subscription_RootAverage_Block_Time_Per_MinuteArgs = { }; -export type Subscription_RootAverage_Block_Time_Per_Minute_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootAverage_Block_Time_Per_Minute_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -6747,48 +18734,65 @@ export type Subscription_RootBlockArgs = { }; -export type Subscription_RootBlock_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Subscription_RootBlock_By_PkArgs = { + height: Scalars['bigint']; }; -export type Subscription_RootBlock_By_PkArgs = { - height: Scalars['bigint']; +export type Subscription_RootBlock_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type Subscription_RootCommunity_PoolArgs = { - distinct_on?: InputMaybe>; +export type Subscription_RootCcv_ValidatorArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Subscription_RootCommunity_Pool_AggregateArgs = { - distinct_on?: InputMaybe>; +export type Subscription_RootCcv_Validator_AggregateArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Subscription_RootDistribution_ParamsArgs = { - distinct_on?: InputMaybe>; +export type Subscription_RootCcv_Validator_By_PkArgs = { + consumer_consensus_address: Scalars['String']; +}; + + +export type Subscription_RootCcv_Validator_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Subscription_RootCommunity_PoolArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Subscription_RootCommunity_Pool_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type Subscription_RootDistribution_Params_AggregateArgs = { +export type Subscription_RootDistribution_ParamsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; @@ -6797,8 +18801,10 @@ export type Subscription_RootDistribution_Params_AggregateArgs = { }; -export type Subscription_RootDistribution_Params_By_PkArgs = { - one_row_id: Scalars['Boolean']; +export type Subscription_RootDistribution_Params_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; @@ -6811,11 +18817,9 @@ export type Subscription_RootDouble_Sign_EvidenceArgs = { }; -export type Subscription_RootDouble_Sign_Evidence_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootDouble_Sign_Evidence_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -6829,20 +18833,13 @@ export type Subscription_RootDouble_Sign_VoteArgs = { }; -export type Subscription_RootDouble_Sign_Vote_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootDouble_Sign_Vote_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; -export type Subscription_RootDouble_Sign_Vote_By_PkArgs = { - id: Scalars['Int']; -}; - - export type Subscription_RootFee_Grant_AllowanceArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -6852,20 +18849,13 @@ export type Subscription_RootFee_Grant_AllowanceArgs = { }; -export type Subscription_RootFee_Grant_Allowance_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootFee_Grant_Allowance_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; -export type Subscription_RootFee_Grant_Allowance_By_PkArgs = { - id: Scalars['Int']; -}; - - export type Subscription_RootGenesisArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -6875,11 +18865,9 @@ export type Subscription_RootGenesisArgs = { }; -export type Subscription_RootGenesis_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootGenesis_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -6893,20 +18881,43 @@ export type Subscription_RootGov_ParamsArgs = { }; -export type Subscription_RootGov_Params_AggregateArgs = { - distinct_on?: InputMaybe>; +export type Subscription_RootGov_Params_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Subscription_RootInflationArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Subscription_RootInflation_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Subscription_RootGov_Params_By_PkArgs = { +export type Subscription_RootInflation_By_PkArgs = { one_row_id: Scalars['Boolean']; }; +export type Subscription_RootInflation_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + export type Subscription_RootMessageArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -6916,11 +18927,9 @@ export type Subscription_RootMessageArgs = { }; -export type Subscription_RootMessage_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootMessage_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -6935,8 +18944,8 @@ export type Subscription_RootMessages_By_AddressArgs = { }; -export type Subscription_RootMessages_By_Address_AggregateArgs = { - args: Messages_By_Address_Args; +export type Subscription_RootMessages_By_Single_AddressArgs = { + args: Messages_By_Single_Address_Args; distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; @@ -6954,20 +18963,13 @@ export type Subscription_RootMint_ParamsArgs = { }; -export type Subscription_RootMint_Params_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootMint_Params_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; -export type Subscription_RootMint_Params_By_PkArgs = { - one_row_id: Scalars['Boolean']; -}; - - export type Subscription_RootModulesArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -6977,17 +18979,15 @@ export type Subscription_RootModulesArgs = { }; -export type Subscription_RootModules_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Subscription_RootModules_By_PkArgs = { + module_name: Scalars['String']; }; -export type Subscription_RootModules_By_PkArgs = { - module_name: Scalars['String']; +export type Subscription_RootModules_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; @@ -7009,6 +19009,13 @@ export type Subscription_RootPre_Commit_AggregateArgs = { }; +export type Subscription_RootPre_Commit_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + export type Subscription_RootProposalArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7041,11 +19048,9 @@ export type Subscription_RootProposal_DepositArgs = { }; -export type Subscription_RootProposal_Deposit_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootProposal_Deposit_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -7059,30 +19064,26 @@ export type Subscription_RootProposal_Staking_Pool_SnapshotArgs = { }; -export type Subscription_RootProposal_Staking_Pool_Snapshot_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Subscription_RootProposal_Staking_Pool_Snapshot_By_PkArgs = { + proposal_id: Scalars['Int']; }; -export type Subscription_RootProposal_Staking_Pool_Snapshot_By_PkArgs = { - proposal_id: Scalars['Int']; +export type Subscription_RootProposal_Staking_Pool_Snapshot_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type Subscription_RootProposal_Tally_ResultArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Subscription_RootProposal_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type Subscription_RootProposal_Tally_Result_AggregateArgs = { +export type Subscription_RootProposal_Tally_ResultArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; @@ -7096,16 +19097,14 @@ export type Subscription_RootProposal_Tally_Result_By_PkArgs = { }; -export type Subscription_RootProposal_Validator_Status_SnapshotArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Subscription_RootProposal_Tally_Result_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type Subscription_RootProposal_Validator_Status_Snapshot_AggregateArgs = { +export type Subscription_RootProposal_Validator_Status_SnapshotArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; @@ -7114,8 +19113,10 @@ export type Subscription_RootProposal_Validator_Status_Snapshot_AggregateArgs = }; -export type Subscription_RootProposal_Validator_Status_Snapshot_By_PkArgs = { - id: Scalars['Int']; +export type Subscription_RootProposal_Validator_Status_Snapshot_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; @@ -7128,11 +19129,9 @@ export type Subscription_RootProposal_VoteArgs = { }; -export type Subscription_RootProposal_Vote_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootProposal_Vote_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -7146,30 +19145,39 @@ export type Subscription_RootSlashing_ParamsArgs = { }; -export type Subscription_RootSlashing_Params_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootSlashing_Params_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; -export type Subscription_RootSlashing_Params_By_PkArgs = { - one_row_id: Scalars['Boolean']; +export type Subscription_RootSoftware_Upgrade_PlanArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Subscription_RootStaking_ParamsArgs = { - distinct_on?: InputMaybe>; +export type Subscription_RootSoftware_Upgrade_Plan_AggregateArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Subscription_RootSoftware_Upgrade_Plan_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type Subscription_RootStaking_Params_AggregateArgs = { +export type Subscription_RootStaking_ParamsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; @@ -7178,8 +19186,10 @@ export type Subscription_RootStaking_Params_AggregateArgs = { }; -export type Subscription_RootStaking_Params_By_PkArgs = { - one_row_id: Scalars['Boolean']; +export type Subscription_RootStaking_Params_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; @@ -7192,11 +19202,9 @@ export type Subscription_RootStaking_PoolArgs = { }; -export type Subscription_RootStaking_Pool_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootStaking_Pool_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -7210,11 +19218,9 @@ export type Subscription_RootSupplyArgs = { }; -export type Subscription_RootSupply_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootSupply_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -7228,15 +19234,6 @@ export type Subscription_RootTokenArgs = { }; -export type Subscription_RootToken_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Subscription_RootToken_PriceArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7246,35 +19243,33 @@ export type Subscription_RootToken_PriceArgs = { }; -export type Subscription_RootToken_Price_AggregateArgs = { - distinct_on?: InputMaybe>; +export type Subscription_RootToken_Price_HistoryArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Subscription_RootToken_Price_By_PkArgs = { - id: Scalars['Int']; +export type Subscription_RootToken_Price_History_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type Subscription_RootToken_Price_HistoryArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Subscription_RootToken_Price_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type Subscription_RootToken_Price_History_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Subscription_RootToken_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; @@ -7287,11 +19282,9 @@ export type Subscription_RootToken_UnitArgs = { }; -export type Subscription_RootToken_Unit_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootToken_Unit_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -7305,11 +19298,9 @@ export type Subscription_RootTransactionArgs = { }; -export type Subscription_RootTransaction_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootTransaction_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; @@ -7323,15 +19314,6 @@ export type Subscription_RootValidatorArgs = { }; -export type Subscription_RootValidator_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Subscription_RootValidator_By_PkArgs = { consensus_address: Scalars['String']; }; @@ -7346,30 +19328,19 @@ export type Subscription_RootValidator_CommissionArgs = { }; -export type Subscription_RootValidator_Commission_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Subscription_RootValidator_Commission_By_PkArgs = { validator_address: Scalars['String']; }; -export type Subscription_RootValidator_DescriptionArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Subscription_RootValidator_Commission_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type Subscription_RootValidator_Description_AggregateArgs = { +export type Subscription_RootValidator_DescriptionArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; @@ -7383,16 +19354,14 @@ export type Subscription_RootValidator_Description_By_PkArgs = { }; -export type Subscription_RootValidator_InfoArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Subscription_RootValidator_Description_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type Subscription_RootValidator_Info_AggregateArgs = { +export type Subscription_RootValidator_InfoArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; @@ -7406,16 +19375,14 @@ export type Subscription_RootValidator_Info_By_PkArgs = { }; -export type Subscription_RootValidator_Signing_InfoArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Subscription_RootValidator_Info_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type Subscription_RootValidator_Signing_Info_AggregateArgs = { +export type Subscription_RootValidator_Signing_InfoArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; @@ -7429,6 +19396,13 @@ export type Subscription_RootValidator_Signing_Info_By_PkArgs = { }; +export type Subscription_RootValidator_Signing_Info_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + export type Subscription_RootValidator_StatusArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7452,6 +19426,20 @@ export type Subscription_RootValidator_Status_By_PkArgs = { }; +export type Subscription_RootValidator_Status_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Subscription_RootValidator_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + export type Subscription_RootValidator_Voting_PowerArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7475,16 +19463,14 @@ export type Subscription_RootValidator_Voting_Power_By_PkArgs = { }; -export type Subscription_RootVesting_AccountArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Subscription_RootValidator_Voting_Power_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type Subscription_RootVesting_Account_AggregateArgs = { +export type Subscription_RootVesting_AccountArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; @@ -7493,8 +19479,10 @@ export type Subscription_RootVesting_Account_AggregateArgs = { }; -export type Subscription_RootVesting_Account_By_PkArgs = { - id: Scalars['Int']; +export type Subscription_RootVesting_Account_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; @@ -7507,55 +19495,17 @@ export type Subscription_RootVesting_PeriodArgs = { }; -export type Subscription_RootVesting_Period_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; +export type Subscription_RootVesting_Period_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; where?: InputMaybe; }; - -/** columns and relationships of "supply" */ -export type Supply = { - __typename?: 'supply'; - coins: Scalars['_coin']; - height: Scalars['bigint']; -}; - -/** aggregated selection of "supply" */ -export type Supply_Aggregate = { - __typename?: 'supply_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "supply" */ -export type Supply_Aggregate_Fields = { - __typename?: 'supply_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "supply" */ -export type Supply_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Supply_Avg_Fields = { - __typename?: 'supply_avg_fields'; - height?: Maybe; + +/** columns and relationships of "supply" */ +export type Supply = { + __typename?: 'supply'; + coins: Scalars['_coin']; + height: Scalars['bigint']; }; /** Boolean expression to filter rows from the table "supply". All fields are combined with a logical 'AND'. */ @@ -7567,18 +19517,6 @@ export type Supply_Bool_Exp = { height?: InputMaybe; }; -/** aggregate max on columns */ -export type Supply_Max_Fields = { - __typename?: 'supply_max_fields'; - height?: Maybe; -}; - -/** aggregate min on columns */ -export type Supply_Min_Fields = { - __typename?: 'supply_min_fields'; - height?: Maybe; -}; - /** Ordering options when selecting data from "supply". */ export type Supply_Order_By = { coins?: InputMaybe; @@ -7593,46 +19531,18 @@ export enum Supply_Select_Column { Height = 'height' } -/** aggregate stddev on columns */ -export type Supply_Stddev_Fields = { - __typename?: 'supply_stddev_fields'; - height?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Supply_Stddev_Pop_Fields = { - __typename?: 'supply_stddev_pop_fields'; - height?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Supply_Stddev_Samp_Fields = { - __typename?: 'supply_stddev_samp_fields'; - height?: Maybe; -}; - -/** aggregate sum on columns */ -export type Supply_Sum_Fields = { - __typename?: 'supply_sum_fields'; - height?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Supply_Var_Pop_Fields = { - __typename?: 'supply_var_pop_fields'; - height?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Supply_Var_Samp_Fields = { - __typename?: 'supply_var_samp_fields'; - height?: Maybe; +/** Streaming cursor of the table "supply" */ +export type Supply_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Supply_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate variance on columns */ -export type Supply_Variance_Fields = { - __typename?: 'supply_variance_fields'; - height?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Supply_Stream_Cursor_Value_Input = { + coins?: InputMaybe; + height?: InputMaybe; }; /** Boolean expression to compare columns of type "timestamp". All fields are combined with logical 'AND'. */ @@ -7648,14 +19558,25 @@ export type Timestamp_Comparison_Exp = { _nin?: InputMaybe>; }; +/** Boolean expression to compare columns of type "timestamptz". All fields are combined with logical 'AND'. */ +export type Timestamptz_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + /** columns and relationships of "token" */ export type Token = { __typename?: 'token'; name: Scalars['String']; /** An array relationship */ token_units: Array; - /** An aggregate relationship */ - token_units_aggregate: Token_Unit_Aggregate; }; @@ -7668,38 +19589,6 @@ export type TokenToken_UnitsArgs = { where?: InputMaybe; }; - -/** columns and relationships of "token" */ -export type TokenToken_Units_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - -/** aggregated selection of "token" */ -export type Token_Aggregate = { - __typename?: 'token_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "token" */ -export type Token_Aggregate_Fields = { - __typename?: 'token_aggregate_fields'; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; -}; - - -/** aggregate fields of "token" */ -export type Token_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** Boolean expression to filter rows from the table "token". All fields are combined with a logical 'AND'. */ export type Token_Bool_Exp = { _and?: InputMaybe>; @@ -7709,18 +19598,6 @@ export type Token_Bool_Exp = { token_units?: InputMaybe; }; -/** aggregate max on columns */ -export type Token_Max_Fields = { - __typename?: 'token_max_fields'; - name?: Maybe; -}; - -/** aggregate min on columns */ -export type Token_Min_Fields = { - __typename?: 'token_min_fields'; - name?: Maybe; -}; - /** Ordering options when selecting data from "token". */ export type Token_Order_By = { name?: InputMaybe; @@ -7730,7 +19607,6 @@ export type Token_Order_By = { /** columns and relationships of "token_price" */ export type Token_Price = { __typename?: 'token_price'; - id: Scalars['Int']; market_cap: Scalars['bigint']; price: Scalars['numeric']; timestamp: Scalars['timestamp']; @@ -7739,36 +19615,6 @@ export type Token_Price = { unit_name: Scalars['String']; }; -/** aggregated selection of "token_price" */ -export type Token_Price_Aggregate = { - __typename?: 'token_price_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "token_price" */ -export type Token_Price_Aggregate_Fields = { - __typename?: 'token_price_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "token_price" */ -export type Token_Price_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "token_price" */ export type Token_Price_Aggregate_Order_By = { avg?: InputMaybe; @@ -7784,17 +19630,8 @@ export type Token_Price_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Token_Price_Avg_Fields = { - __typename?: 'token_price_avg_fields'; - id?: Maybe; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by avg() on columns of table "token_price" */ export type Token_Price_Avg_Order_By = { - id?: InputMaybe; market_cap?: InputMaybe; price?: InputMaybe; }; @@ -7804,7 +19641,6 @@ export type Token_Price_Bool_Exp = { _and?: InputMaybe>; _not?: InputMaybe; _or?: InputMaybe>; - id?: InputMaybe; market_cap?: InputMaybe; price?: InputMaybe; timestamp?: InputMaybe; @@ -7823,36 +19659,6 @@ export type Token_Price_History = { unit_name: Scalars['String']; }; -/** aggregated selection of "token_price_history" */ -export type Token_Price_History_Aggregate = { - __typename?: 'token_price_history_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "token_price_history" */ -export type Token_Price_History_Aggregate_Fields = { - __typename?: 'token_price_history_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "token_price_history" */ -export type Token_Price_History_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "token_price_history" */ export type Token_Price_History_Aggregate_Order_By = { avg?: InputMaybe; @@ -7868,13 +19674,6 @@ export type Token_Price_History_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Token_Price_History_Avg_Fields = { - __typename?: 'token_price_history_avg_fields'; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by avg() on columns of table "token_price_history" */ export type Token_Price_History_Avg_Order_By = { market_cap?: InputMaybe; @@ -7893,15 +19692,6 @@ export type Token_Price_History_Bool_Exp = { unit_name?: InputMaybe; }; -/** aggregate max on columns */ -export type Token_Price_History_Max_Fields = { - __typename?: 'token_price_history_max_fields'; - market_cap?: Maybe; - price?: Maybe; - timestamp?: Maybe; - unit_name?: Maybe; -}; - /** order by max() on columns of table "token_price_history" */ export type Token_Price_History_Max_Order_By = { market_cap?: InputMaybe; @@ -7910,15 +19700,6 @@ export type Token_Price_History_Max_Order_By = { unit_name?: InputMaybe; }; -/** aggregate min on columns */ -export type Token_Price_History_Min_Fields = { - __typename?: 'token_price_history_min_fields'; - market_cap?: Maybe; - price?: Maybe; - timestamp?: Maybe; - unit_name?: Maybe; -}; - /** order by min() on columns of table "token_price_history" */ export type Token_Price_History_Min_Order_By = { market_cap?: InputMaybe; @@ -7948,50 +19729,38 @@ export enum Token_Price_History_Select_Column { UnitName = 'unit_name' } -/** aggregate stddev on columns */ -export type Token_Price_History_Stddev_Fields = { - __typename?: 'token_price_history_stddev_fields'; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by stddev() on columns of table "token_price_history" */ export type Token_Price_History_Stddev_Order_By = { market_cap?: InputMaybe; price?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Token_Price_History_Stddev_Pop_Fields = { - __typename?: 'token_price_history_stddev_pop_fields'; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by stddev_pop() on columns of table "token_price_history" */ export type Token_Price_History_Stddev_Pop_Order_By = { market_cap?: InputMaybe; price?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Token_Price_History_Stddev_Samp_Fields = { - __typename?: 'token_price_history_stddev_samp_fields'; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by stddev_samp() on columns of table "token_price_history" */ export type Token_Price_History_Stddev_Samp_Order_By = { market_cap?: InputMaybe; price?: InputMaybe; }; -/** aggregate sum on columns */ -export type Token_Price_History_Sum_Fields = { - __typename?: 'token_price_history_sum_fields'; - market_cap?: Maybe; - price?: Maybe; +/** Streaming cursor of the table "token_price_history" */ +export type Token_Price_History_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Token_Price_History_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Token_Price_History_Stream_Cursor_Value_Input = { + market_cap?: InputMaybe; + price?: InputMaybe; + timestamp?: InputMaybe; + unit_name?: InputMaybe; }; /** order by sum() on columns of table "token_price_history" */ @@ -8000,77 +19769,34 @@ export type Token_Price_History_Sum_Order_By = { price?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Token_Price_History_Var_Pop_Fields = { - __typename?: 'token_price_history_var_pop_fields'; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by var_pop() on columns of table "token_price_history" */ export type Token_Price_History_Var_Pop_Order_By = { market_cap?: InputMaybe; price?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Token_Price_History_Var_Samp_Fields = { - __typename?: 'token_price_history_var_samp_fields'; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by var_samp() on columns of table "token_price_history" */ export type Token_Price_History_Var_Samp_Order_By = { market_cap?: InputMaybe; price?: InputMaybe; }; -/** aggregate variance on columns */ -export type Token_Price_History_Variance_Fields = { - __typename?: 'token_price_history_variance_fields'; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by variance() on columns of table "token_price_history" */ export type Token_Price_History_Variance_Order_By = { market_cap?: InputMaybe; price?: InputMaybe; }; -/** aggregate max on columns */ -export type Token_Price_Max_Fields = { - __typename?: 'token_price_max_fields'; - id?: Maybe; - market_cap?: Maybe; - price?: Maybe; - timestamp?: Maybe; - unit_name?: Maybe; -}; - /** order by max() on columns of table "token_price" */ export type Token_Price_Max_Order_By = { - id?: InputMaybe; market_cap?: InputMaybe; price?: InputMaybe; timestamp?: InputMaybe; unit_name?: InputMaybe; }; -/** aggregate min on columns */ -export type Token_Price_Min_Fields = { - __typename?: 'token_price_min_fields'; - id?: Maybe; - market_cap?: Maybe; - price?: Maybe; - timestamp?: Maybe; - unit_name?: Maybe; -}; - /** order by min() on columns of table "token_price" */ export type Token_Price_Min_Order_By = { - id?: InputMaybe; market_cap?: InputMaybe; price?: InputMaybe; timestamp?: InputMaybe; @@ -8079,7 +19805,6 @@ export type Token_Price_Min_Order_By = { /** Ordering options when selecting data from "token_price". */ export type Token_Price_Order_By = { - id?: InputMaybe; market_cap?: InputMaybe; price?: InputMaybe; timestamp?: InputMaybe; @@ -8089,8 +19814,6 @@ export type Token_Price_Order_By = { /** select columns of table "token_price" */ export enum Token_Price_Select_Column { - /** column name */ - Id = 'id', /** column name */ MarketCap = 'market_cap', /** column name */ @@ -8101,107 +19824,60 @@ export enum Token_Price_Select_Column { UnitName = 'unit_name' } -/** aggregate stddev on columns */ -export type Token_Price_Stddev_Fields = { - __typename?: 'token_price_stddev_fields'; - id?: Maybe; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by stddev() on columns of table "token_price" */ export type Token_Price_Stddev_Order_By = { - id?: InputMaybe; market_cap?: InputMaybe; price?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Token_Price_Stddev_Pop_Fields = { - __typename?: 'token_price_stddev_pop_fields'; - id?: Maybe; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by stddev_pop() on columns of table "token_price" */ export type Token_Price_Stddev_Pop_Order_By = { - id?: InputMaybe; market_cap?: InputMaybe; price?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Token_Price_Stddev_Samp_Fields = { - __typename?: 'token_price_stddev_samp_fields'; - id?: Maybe; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by stddev_samp() on columns of table "token_price" */ export type Token_Price_Stddev_Samp_Order_By = { - id?: InputMaybe; market_cap?: InputMaybe; price?: InputMaybe; }; -/** aggregate sum on columns */ -export type Token_Price_Sum_Fields = { - __typename?: 'token_price_sum_fields'; - id?: Maybe; - market_cap?: Maybe; - price?: Maybe; +/** Streaming cursor of the table "token_price" */ +export type Token_Price_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Token_Price_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Token_Price_Stream_Cursor_Value_Input = { + market_cap?: InputMaybe; + price?: InputMaybe; + timestamp?: InputMaybe; + unit_name?: InputMaybe; }; /** order by sum() on columns of table "token_price" */ export type Token_Price_Sum_Order_By = { - id?: InputMaybe; market_cap?: InputMaybe; price?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Token_Price_Var_Pop_Fields = { - __typename?: 'token_price_var_pop_fields'; - id?: Maybe; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by var_pop() on columns of table "token_price" */ export type Token_Price_Var_Pop_Order_By = { - id?: InputMaybe; market_cap?: InputMaybe; price?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Token_Price_Var_Samp_Fields = { - __typename?: 'token_price_var_samp_fields'; - id?: Maybe; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by var_samp() on columns of table "token_price" */ export type Token_Price_Var_Samp_Order_By = { - id?: InputMaybe; market_cap?: InputMaybe; price?: InputMaybe; }; -/** aggregate variance on columns */ -export type Token_Price_Variance_Fields = { - __typename?: 'token_price_variance_fields'; - id?: Maybe; - market_cap?: Maybe; - price?: Maybe; -}; - /** order by variance() on columns of table "token_price" */ export type Token_Price_Variance_Order_By = { - id?: InputMaybe; market_cap?: InputMaybe; price?: InputMaybe; }; @@ -8212,6 +19888,19 @@ export enum Token_Select_Column { Name = 'name' } +/** Streaming cursor of the table "token" */ +export type Token_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Token_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Token_Stream_Cursor_Value_Input = { + name?: InputMaybe; +}; + /** columns and relationships of "token_unit" */ export type Token_Unit = { __typename?: 'token_unit'; @@ -8226,12 +19915,8 @@ export type Token_Unit = { token_price?: Maybe; /** An array relationship */ token_price_histories: Array; - /** An aggregate relationship */ - token_price_histories_aggregate: Token_Price_History_Aggregate; /** An array relationship */ token_prices: Array; - /** An aggregate relationship */ - token_prices_aggregate: Token_Price_Aggregate; }; @@ -8245,16 +19930,6 @@ export type Token_UnitToken_Price_HistoriesArgs = { }; -/** columns and relationships of "token_unit" */ -export type Token_UnitToken_Price_Histories_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "token_unit" */ export type Token_UnitToken_PricesArgs = { distinct_on?: InputMaybe>; @@ -8264,46 +19939,6 @@ export type Token_UnitToken_PricesArgs = { where?: InputMaybe; }; - -/** columns and relationships of "token_unit" */ -export type Token_UnitToken_Prices_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - -/** aggregated selection of "token_unit" */ -export type Token_Unit_Aggregate = { - __typename?: 'token_unit_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "token_unit" */ -export type Token_Unit_Aggregate_Fields = { - __typename?: 'token_unit_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "token_unit" */ -export type Token_Unit_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "token_unit" */ export type Token_Unit_Aggregate_Order_By = { avg?: InputMaybe; @@ -8319,12 +19954,6 @@ export type Token_Unit_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Token_Unit_Avg_Fields = { - __typename?: 'token_unit_avg_fields'; - exponent?: Maybe; -}; - /** order by avg() on columns of table "token_unit" */ export type Token_Unit_Avg_Order_By = { exponent?: InputMaybe; @@ -8340,19 +19969,10 @@ export type Token_Unit_Bool_Exp = { exponent?: InputMaybe; price_id?: InputMaybe; token?: InputMaybe; - token_name?: InputMaybe; - token_price?: InputMaybe; - token_price_histories?: InputMaybe; - token_prices?: InputMaybe; -}; - -/** aggregate max on columns */ -export type Token_Unit_Max_Fields = { - __typename?: 'token_unit_max_fields'; - denom?: Maybe; - exponent?: Maybe; - price_id?: Maybe; - token_name?: Maybe; + token_name?: InputMaybe; + token_price?: InputMaybe; + token_price_histories?: InputMaybe; + token_prices?: InputMaybe; }; /** order by max() on columns of table "token_unit" */ @@ -8363,15 +19983,6 @@ export type Token_Unit_Max_Order_By = { token_name?: InputMaybe; }; -/** aggregate min on columns */ -export type Token_Unit_Min_Fields = { - __typename?: 'token_unit_min_fields'; - denom?: Maybe; - exponent?: Maybe; - price_id?: Maybe; - token_name?: Maybe; -}; - /** order by min() on columns of table "token_unit" */ export type Token_Unit_Min_Order_By = { denom?: InputMaybe; @@ -8407,43 +20018,36 @@ export enum Token_Unit_Select_Column { TokenName = 'token_name' } -/** aggregate stddev on columns */ -export type Token_Unit_Stddev_Fields = { - __typename?: 'token_unit_stddev_fields'; - exponent?: Maybe; -}; - /** order by stddev() on columns of table "token_unit" */ export type Token_Unit_Stddev_Order_By = { exponent?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Token_Unit_Stddev_Pop_Fields = { - __typename?: 'token_unit_stddev_pop_fields'; - exponent?: Maybe; -}; - /** order by stddev_pop() on columns of table "token_unit" */ export type Token_Unit_Stddev_Pop_Order_By = { exponent?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Token_Unit_Stddev_Samp_Fields = { - __typename?: 'token_unit_stddev_samp_fields'; - exponent?: Maybe; -}; - /** order by stddev_samp() on columns of table "token_unit" */ export type Token_Unit_Stddev_Samp_Order_By = { exponent?: InputMaybe; }; -/** aggregate sum on columns */ -export type Token_Unit_Sum_Fields = { - __typename?: 'token_unit_sum_fields'; - exponent?: Maybe; +/** Streaming cursor of the table "token_unit" */ +export type Token_Unit_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Token_Unit_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Token_Unit_Stream_Cursor_Value_Input = { + aliases?: InputMaybe; + denom?: InputMaybe; + exponent?: InputMaybe; + price_id?: InputMaybe; + token_name?: InputMaybe; }; /** order by sum() on columns of table "token_unit" */ @@ -8451,34 +20055,16 @@ export type Token_Unit_Sum_Order_By = { exponent?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Token_Unit_Var_Pop_Fields = { - __typename?: 'token_unit_var_pop_fields'; - exponent?: Maybe; -}; - /** order by var_pop() on columns of table "token_unit" */ export type Token_Unit_Var_Pop_Order_By = { exponent?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Token_Unit_Var_Samp_Fields = { - __typename?: 'token_unit_var_samp_fields'; - exponent?: Maybe; -}; - /** order by var_samp() on columns of table "token_unit" */ export type Token_Unit_Var_Samp_Order_By = { exponent?: InputMaybe; }; -/** aggregate variance on columns */ -export type Token_Unit_Variance_Fields = { - __typename?: 'token_unit_variance_fields'; - exponent?: Maybe; -}; - /** order by variance() on columns of table "token_unit" */ export type Token_Unit_Variance_Order_By = { exponent?: InputMaybe; @@ -8497,7 +20083,8 @@ export type Transaction = { logs?: Maybe; memo?: Maybe; messages: Scalars['jsonb']; - partition_id: Scalars['bigint']; + /** An array relationship */ + messagesByTransactionHashPartitionId: Array; raw_log?: Maybe; signatures: Scalars['_text']; signer_infos: Scalars['jsonb']; @@ -8524,38 +20111,18 @@ export type TransactionMessagesArgs = { /** columns and relationships of "transaction" */ -export type TransactionSigner_InfosArgs = { - path?: InputMaybe; -}; - -/** aggregated selection of "transaction" */ -export type Transaction_Aggregate = { - __typename?: 'transaction_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "transaction" */ -export type Transaction_Aggregate_Fields = { - __typename?: 'transaction_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; +export type TransactionMessagesByTransactionHashPartitionIdArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** aggregate fields of "transaction" */ -export type Transaction_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; +/** columns and relationships of "transaction" */ +export type TransactionSigner_InfosArgs = { + path?: InputMaybe; }; /** order by aggregate values of table "transaction" */ @@ -8573,21 +20140,11 @@ export type Transaction_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Transaction_Avg_Fields = { - __typename?: 'transaction_avg_fields'; - gas_used?: Maybe; - gas_wanted?: Maybe; - height?: Maybe; - partition_id?: Maybe; -}; - /** order by avg() on columns of table "transaction" */ export type Transaction_Avg_Order_By = { gas_used?: InputMaybe; gas_wanted?: InputMaybe; height?: InputMaybe; - partition_id?: InputMaybe; }; /** Boolean expression to filter rows from the table "transaction". All fields are combined with a logical 'AND'. */ @@ -8604,25 +20161,13 @@ export type Transaction_Bool_Exp = { logs?: InputMaybe; memo?: InputMaybe; messages?: InputMaybe; - partition_id?: InputMaybe; + messagesByTransactionHashPartitionId?: InputMaybe; raw_log?: InputMaybe; signatures?: InputMaybe<_Text_Comparison_Exp>; signer_infos?: InputMaybe; success?: InputMaybe; }; -/** aggregate max on columns */ -export type Transaction_Max_Fields = { - __typename?: 'transaction_max_fields'; - gas_used?: Maybe; - gas_wanted?: Maybe; - hash?: Maybe; - height?: Maybe; - memo?: Maybe; - partition_id?: Maybe; - raw_log?: Maybe; -}; - /** order by max() on columns of table "transaction" */ export type Transaction_Max_Order_By = { gas_used?: InputMaybe; @@ -8630,22 +20175,9 @@ export type Transaction_Max_Order_By = { hash?: InputMaybe; height?: InputMaybe; memo?: InputMaybe; - partition_id?: InputMaybe; raw_log?: InputMaybe; }; -/** aggregate min on columns */ -export type Transaction_Min_Fields = { - __typename?: 'transaction_min_fields'; - gas_used?: Maybe; - gas_wanted?: Maybe; - hash?: Maybe; - height?: Maybe; - memo?: Maybe; - partition_id?: Maybe; - raw_log?: Maybe; -}; - /** order by min() on columns of table "transaction" */ export type Transaction_Min_Order_By = { gas_used?: InputMaybe; @@ -8653,7 +20185,6 @@ export type Transaction_Min_Order_By = { hash?: InputMaybe; height?: InputMaybe; memo?: InputMaybe; - partition_id?: InputMaybe; raw_log?: InputMaybe; }; @@ -8668,7 +20199,7 @@ export type Transaction_Order_By = { logs?: InputMaybe; memo?: InputMaybe; messages?: InputMaybe; - partition_id?: InputMaybe; + messagesByTransactionHashPartitionId_aggregate?: InputMaybe; raw_log?: InputMaybe; signatures?: InputMaybe; signer_infos?: InputMaybe; @@ -8694,8 +20225,6 @@ export enum Transaction_Select_Column { /** column name */ Messages = 'messages', /** column name */ - PartitionId = 'partition_id', - /** column name */ RawLog = 'raw_log', /** column name */ Signatures = 'signatures', @@ -8705,30 +20234,11 @@ export enum Transaction_Select_Column { Success = 'success' } -/** aggregate stddev on columns */ -export type Transaction_Stddev_Fields = { - __typename?: 'transaction_stddev_fields'; - gas_used?: Maybe; - gas_wanted?: Maybe; - height?: Maybe; - partition_id?: Maybe; -}; - /** order by stddev() on columns of table "transaction" */ export type Transaction_Stddev_Order_By = { gas_used?: InputMaybe; gas_wanted?: InputMaybe; height?: InputMaybe; - partition_id?: InputMaybe; -}; - -/** aggregate stddev_pop on columns */ -export type Transaction_Stddev_Pop_Fields = { - __typename?: 'transaction_stddev_pop_fields'; - gas_used?: Maybe; - gas_wanted?: Maybe; - height?: Maybe; - partition_id?: Maybe; }; /** order by stddev_pop() on columns of table "transaction" */ @@ -8736,16 +20246,6 @@ export type Transaction_Stddev_Pop_Order_By = { gas_used?: InputMaybe; gas_wanted?: InputMaybe; height?: InputMaybe; - partition_id?: InputMaybe; -}; - -/** aggregate stddev_samp on columns */ -export type Transaction_Stddev_Samp_Fields = { - __typename?: 'transaction_stddev_samp_fields'; - gas_used?: Maybe; - gas_wanted?: Maybe; - height?: Maybe; - partition_id?: Maybe; }; /** order by stddev_samp() on columns of table "transaction" */ @@ -8753,16 +20253,30 @@ export type Transaction_Stddev_Samp_Order_By = { gas_used?: InputMaybe; gas_wanted?: InputMaybe; height?: InputMaybe; - partition_id?: InputMaybe; }; -/** aggregate sum on columns */ -export type Transaction_Sum_Fields = { - __typename?: 'transaction_sum_fields'; - gas_used?: Maybe; - gas_wanted?: Maybe; - height?: Maybe; - partition_id?: Maybe; +/** Streaming cursor of the table "transaction" */ +export type Transaction_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Transaction_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Transaction_Stream_Cursor_Value_Input = { + fee?: InputMaybe; + gas_used?: InputMaybe; + gas_wanted?: InputMaybe; + hash?: InputMaybe; + height?: InputMaybe; + logs?: InputMaybe; + memo?: InputMaybe; + messages?: InputMaybe; + raw_log?: InputMaybe; + signatures?: InputMaybe; + signer_infos?: InputMaybe; + success?: InputMaybe; }; /** order by sum() on columns of table "transaction" */ @@ -8770,16 +20284,6 @@ export type Transaction_Sum_Order_By = { gas_used?: InputMaybe; gas_wanted?: InputMaybe; height?: InputMaybe; - partition_id?: InputMaybe; -}; - -/** aggregate var_pop on columns */ -export type Transaction_Var_Pop_Fields = { - __typename?: 'transaction_var_pop_fields'; - gas_used?: Maybe; - gas_wanted?: Maybe; - height?: Maybe; - partition_id?: Maybe; }; /** order by var_pop() on columns of table "transaction" */ @@ -8787,16 +20291,6 @@ export type Transaction_Var_Pop_Order_By = { gas_used?: InputMaybe; gas_wanted?: InputMaybe; height?: InputMaybe; - partition_id?: InputMaybe; -}; - -/** aggregate var_samp on columns */ -export type Transaction_Var_Samp_Fields = { - __typename?: 'transaction_var_samp_fields'; - gas_used?: Maybe; - gas_wanted?: Maybe; - height?: Maybe; - partition_id?: Maybe; }; /** order by var_samp() on columns of table "transaction" */ @@ -8804,16 +20298,6 @@ export type Transaction_Var_Samp_Order_By = { gas_used?: InputMaybe; gas_wanted?: InputMaybe; height?: InputMaybe; - partition_id?: InputMaybe; -}; - -/** aggregate variance on columns */ -export type Transaction_Variance_Fields = { - __typename?: 'transaction_variance_fields'; - gas_used?: Maybe; - gas_wanted?: Maybe; - height?: Maybe; - partition_id?: Maybe; }; /** order by variance() on columns of table "transaction" */ @@ -8821,7 +20305,6 @@ export type Transaction_Variance_Order_By = { gas_used?: InputMaybe; gas_wanted?: InputMaybe; height?: InputMaybe; - partition_id?: InputMaybe; }; /** columns and relationships of "validator" */ @@ -8829,14 +20312,12 @@ export type Validator = { __typename?: 'validator'; /** An array relationship */ blocks: Array; - /** An aggregate relationship */ - blocks_aggregate: Block_Aggregate; + /** An object relationship */ + ccv_validator?: Maybe; consensus_address: Scalars['String']; consensus_pubkey: Scalars['String']; /** An array relationship */ double_sign_votes: Array; - /** An aggregate relationship */ - double_sign_votes_aggregate: Double_Sign_Vote_Aggregate; /** An array relationship */ pre_commits: Array; /** An aggregate relationship */ @@ -8845,26 +20326,16 @@ export type Validator = { proposal_validator_status_snapshot?: Maybe; /** An array relationship */ proposal_validator_status_snapshots: Array; - /** An aggregate relationship */ - proposal_validator_status_snapshots_aggregate: Proposal_Validator_Status_Snapshot_Aggregate; /** An array relationship */ validator_commissions: Array; - /** An aggregate relationship */ - validator_commissions_aggregate: Validator_Commission_Aggregate; /** An array relationship */ validator_descriptions: Array; - /** An aggregate relationship */ - validator_descriptions_aggregate: Validator_Description_Aggregate; /** An object relationship */ validator_info?: Maybe; /** An array relationship */ validator_infos: Array; - /** An aggregate relationship */ - validator_infos_aggregate: Validator_Info_Aggregate; /** An array relationship */ validator_signing_infos: Array; - /** An aggregate relationship */ - validator_signing_infos_aggregate: Validator_Signing_Info_Aggregate; /** An array relationship */ validator_statuses: Array; /** An aggregate relationship */ @@ -8886,16 +20357,6 @@ export type ValidatorBlocksArgs = { }; -/** columns and relationships of "validator" */ -export type ValidatorBlocks_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "validator" */ export type ValidatorDouble_Sign_VotesArgs = { distinct_on?: InputMaybe>; @@ -8906,16 +20367,6 @@ export type ValidatorDouble_Sign_VotesArgs = { }; -/** columns and relationships of "validator" */ -export type ValidatorDouble_Sign_Votes_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "validator" */ export type ValidatorPre_CommitsArgs = { distinct_on?: InputMaybe>; @@ -8946,16 +20397,6 @@ export type ValidatorProposal_Validator_Status_SnapshotsArgs = { }; -/** columns and relationships of "validator" */ -export type ValidatorProposal_Validator_Status_Snapshots_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "validator" */ export type ValidatorValidator_CommissionsArgs = { distinct_on?: InputMaybe>; @@ -8966,16 +20407,6 @@ export type ValidatorValidator_CommissionsArgs = { }; -/** columns and relationships of "validator" */ -export type ValidatorValidator_Commissions_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "validator" */ export type ValidatorValidator_DescriptionsArgs = { distinct_on?: InputMaybe>; @@ -8986,16 +20417,6 @@ export type ValidatorValidator_DescriptionsArgs = { }; -/** columns and relationships of "validator" */ -export type ValidatorValidator_Descriptions_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "validator" */ export type ValidatorValidator_InfosArgs = { distinct_on?: InputMaybe>; @@ -9006,16 +20427,6 @@ export type ValidatorValidator_InfosArgs = { }; -/** columns and relationships of "validator" */ -export type ValidatorValidator_Infos_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "validator" */ export type ValidatorValidator_Signing_InfosArgs = { distinct_on?: InputMaybe>; @@ -9026,16 +20437,6 @@ export type ValidatorValidator_Signing_InfosArgs = { }; -/** columns and relationships of "validator" */ -export type ValidatorValidator_Signing_Infos_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "validator" */ export type ValidatorValidator_StatusesArgs = { distinct_on?: InputMaybe>; @@ -9075,38 +20476,18 @@ export type ValidatorValidator_Voting_Powers_AggregateArgs = { where?: InputMaybe; }; -/** aggregated selection of "validator" */ -export type Validator_Aggregate = { - __typename?: 'validator_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "validator" */ -export type Validator_Aggregate_Fields = { - __typename?: 'validator_aggregate_fields'; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; -}; - - -/** aggregate fields of "validator" */ -export type Validator_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** Boolean expression to filter rows from the table "validator". All fields are combined with a logical 'AND'. */ export type Validator_Bool_Exp = { _and?: InputMaybe>; _not?: InputMaybe; _or?: InputMaybe>; blocks?: InputMaybe; + ccv_validator?: InputMaybe; consensus_address?: InputMaybe; consensus_pubkey?: InputMaybe; double_sign_votes?: InputMaybe; pre_commits?: InputMaybe; + pre_commits_aggregate?: InputMaybe; proposal_validator_status_snapshot?: InputMaybe; proposal_validator_status_snapshots?: InputMaybe; validator_commissions?: InputMaybe; @@ -9115,7 +20496,9 @@ export type Validator_Bool_Exp = { validator_infos?: InputMaybe; validator_signing_infos?: InputMaybe; validator_statuses?: InputMaybe; + validator_statuses_aggregate?: InputMaybe; validator_voting_powers?: InputMaybe; + validator_voting_powers_aggregate?: InputMaybe; }; /** columns and relationships of "validator_commission" */ @@ -9129,36 +20512,6 @@ export type Validator_Commission = { validator_address: Scalars['String']; }; -/** aggregated selection of "validator_commission" */ -export type Validator_Commission_Aggregate = { - __typename?: 'validator_commission_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "validator_commission" */ -export type Validator_Commission_Aggregate_Fields = { - __typename?: 'validator_commission_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "validator_commission" */ -export type Validator_Commission_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "validator_commission" */ export type Validator_Commission_Aggregate_Order_By = { avg?: InputMaybe; @@ -9174,14 +20527,6 @@ export type Validator_Commission_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Validator_Commission_Avg_Fields = { - __typename?: 'validator_commission_avg_fields'; - commission?: Maybe; - height?: Maybe; - min_self_delegation?: Maybe; -}; - /** order by avg() on columns of table "validator_commission" */ export type Validator_Commission_Avg_Order_By = { commission?: InputMaybe; @@ -9201,15 +20546,6 @@ export type Validator_Commission_Bool_Exp = { validator_address?: InputMaybe; }; -/** aggregate max on columns */ -export type Validator_Commission_Max_Fields = { - __typename?: 'validator_commission_max_fields'; - commission?: Maybe; - height?: Maybe; - min_self_delegation?: Maybe; - validator_address?: Maybe; -}; - /** order by max() on columns of table "validator_commission" */ export type Validator_Commission_Max_Order_By = { commission?: InputMaybe; @@ -9218,15 +20554,6 @@ export type Validator_Commission_Max_Order_By = { validator_address?: InputMaybe; }; -/** aggregate min on columns */ -export type Validator_Commission_Min_Fields = { - __typename?: 'validator_commission_min_fields'; - commission?: Maybe; - height?: Maybe; - min_self_delegation?: Maybe; - validator_address?: Maybe; -}; - /** order by min() on columns of table "validator_commission" */ export type Validator_Commission_Min_Order_By = { commission?: InputMaybe; @@ -9256,27 +20583,11 @@ export enum Validator_Commission_Select_Column { ValidatorAddress = 'validator_address' } -/** aggregate stddev on columns */ -export type Validator_Commission_Stddev_Fields = { - __typename?: 'validator_commission_stddev_fields'; - commission?: Maybe; - height?: Maybe; - min_self_delegation?: Maybe; -}; - -/** order by stddev() on columns of table "validator_commission" */ -export type Validator_Commission_Stddev_Order_By = { - commission?: InputMaybe; - height?: InputMaybe; - min_self_delegation?: InputMaybe; -}; - -/** aggregate stddev_pop on columns */ -export type Validator_Commission_Stddev_Pop_Fields = { - __typename?: 'validator_commission_stddev_pop_fields'; - commission?: Maybe; - height?: Maybe; - min_self_delegation?: Maybe; +/** order by stddev() on columns of table "validator_commission" */ +export type Validator_Commission_Stddev_Order_By = { + commission?: InputMaybe; + height?: InputMaybe; + min_self_delegation?: InputMaybe; }; /** order by stddev_pop() on columns of table "validator_commission" */ @@ -9286,14 +20597,6 @@ export type Validator_Commission_Stddev_Pop_Order_By = { min_self_delegation?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Validator_Commission_Stddev_Samp_Fields = { - __typename?: 'validator_commission_stddev_samp_fields'; - commission?: Maybe; - height?: Maybe; - min_self_delegation?: Maybe; -}; - /** order by stddev_samp() on columns of table "validator_commission" */ export type Validator_Commission_Stddev_Samp_Order_By = { commission?: InputMaybe; @@ -9301,12 +20604,20 @@ export type Validator_Commission_Stddev_Samp_Order_By = { min_self_delegation?: InputMaybe; }; -/** aggregate sum on columns */ -export type Validator_Commission_Sum_Fields = { - __typename?: 'validator_commission_sum_fields'; - commission?: Maybe; - height?: Maybe; - min_self_delegation?: Maybe; +/** Streaming cursor of the table "validator_commission" */ +export type Validator_Commission_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Validator_Commission_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Validator_Commission_Stream_Cursor_Value_Input = { + commission?: InputMaybe; + height?: InputMaybe; + min_self_delegation?: InputMaybe; + validator_address?: InputMaybe; }; /** order by sum() on columns of table "validator_commission" */ @@ -9316,14 +20627,6 @@ export type Validator_Commission_Sum_Order_By = { min_self_delegation?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Validator_Commission_Var_Pop_Fields = { - __typename?: 'validator_commission_var_pop_fields'; - commission?: Maybe; - height?: Maybe; - min_self_delegation?: Maybe; -}; - /** order by var_pop() on columns of table "validator_commission" */ export type Validator_Commission_Var_Pop_Order_By = { commission?: InputMaybe; @@ -9331,14 +20634,6 @@ export type Validator_Commission_Var_Pop_Order_By = { min_self_delegation?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Validator_Commission_Var_Samp_Fields = { - __typename?: 'validator_commission_var_samp_fields'; - commission?: Maybe; - height?: Maybe; - min_self_delegation?: Maybe; -}; - /** order by var_samp() on columns of table "validator_commission" */ export type Validator_Commission_Var_Samp_Order_By = { commission?: InputMaybe; @@ -9346,14 +20641,6 @@ export type Validator_Commission_Var_Samp_Order_By = { min_self_delegation?: InputMaybe; }; -/** aggregate variance on columns */ -export type Validator_Commission_Variance_Fields = { - __typename?: 'validator_commission_variance_fields'; - commission?: Maybe; - height?: Maybe; - min_self_delegation?: Maybe; -}; - /** order by variance() on columns of table "validator_commission" */ export type Validator_Commission_Variance_Order_By = { commission?: InputMaybe; @@ -9376,36 +20663,6 @@ export type Validator_Description = { website?: Maybe; }; -/** aggregated selection of "validator_description" */ -export type Validator_Description_Aggregate = { - __typename?: 'validator_description_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "validator_description" */ -export type Validator_Description_Aggregate_Fields = { - __typename?: 'validator_description_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "validator_description" */ -export type Validator_Description_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "validator_description" */ export type Validator_Description_Aggregate_Order_By = { avg?: InputMaybe; @@ -9421,12 +20678,6 @@ export type Validator_Description_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Validator_Description_Avg_Fields = { - __typename?: 'validator_description_avg_fields'; - height?: Maybe; -}; - /** order by avg() on columns of table "validator_description" */ export type Validator_Description_Avg_Order_By = { height?: InputMaybe; @@ -9448,19 +20699,6 @@ export type Validator_Description_Bool_Exp = { website?: InputMaybe; }; -/** aggregate max on columns */ -export type Validator_Description_Max_Fields = { - __typename?: 'validator_description_max_fields'; - avatar_url?: Maybe; - details?: Maybe; - height?: Maybe; - identity?: Maybe; - moniker?: Maybe; - security_contact?: Maybe; - validator_address?: Maybe; - website?: Maybe; -}; - /** order by max() on columns of table "validator_description" */ export type Validator_Description_Max_Order_By = { avatar_url?: InputMaybe; @@ -9473,19 +20711,6 @@ export type Validator_Description_Max_Order_By = { website?: InputMaybe; }; -/** aggregate min on columns */ -export type Validator_Description_Min_Fields = { - __typename?: 'validator_description_min_fields'; - avatar_url?: Maybe; - details?: Maybe; - height?: Maybe; - identity?: Maybe; - moniker?: Maybe; - security_contact?: Maybe; - validator_address?: Maybe; - website?: Maybe; -}; - /** order by min() on columns of table "validator_description" */ export type Validator_Description_Min_Order_By = { avatar_url?: InputMaybe; @@ -9531,43 +20756,39 @@ export enum Validator_Description_Select_Column { Website = 'website' } -/** aggregate stddev on columns */ -export type Validator_Description_Stddev_Fields = { - __typename?: 'validator_description_stddev_fields'; - height?: Maybe; -}; - /** order by stddev() on columns of table "validator_description" */ export type Validator_Description_Stddev_Order_By = { height?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Validator_Description_Stddev_Pop_Fields = { - __typename?: 'validator_description_stddev_pop_fields'; - height?: Maybe; -}; - /** order by stddev_pop() on columns of table "validator_description" */ export type Validator_Description_Stddev_Pop_Order_By = { height?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Validator_Description_Stddev_Samp_Fields = { - __typename?: 'validator_description_stddev_samp_fields'; - height?: Maybe; -}; - /** order by stddev_samp() on columns of table "validator_description" */ export type Validator_Description_Stddev_Samp_Order_By = { height?: InputMaybe; }; -/** aggregate sum on columns */ -export type Validator_Description_Sum_Fields = { - __typename?: 'validator_description_sum_fields'; - height?: Maybe; +/** Streaming cursor of the table "validator_description" */ +export type Validator_Description_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Validator_Description_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Validator_Description_Stream_Cursor_Value_Input = { + avatar_url?: InputMaybe; + details?: InputMaybe; + height?: InputMaybe; + identity?: InputMaybe; + moniker?: InputMaybe; + security_contact?: InputMaybe; + validator_address?: InputMaybe; + website?: InputMaybe; }; /** order by sum() on columns of table "validator_description" */ @@ -9575,34 +20796,16 @@ export type Validator_Description_Sum_Order_By = { height?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Validator_Description_Var_Pop_Fields = { - __typename?: 'validator_description_var_pop_fields'; - height?: Maybe; -}; - /** order by var_pop() on columns of table "validator_description" */ export type Validator_Description_Var_Pop_Order_By = { height?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Validator_Description_Var_Samp_Fields = { - __typename?: 'validator_description_var_samp_fields'; - height?: Maybe; -}; - /** order by var_samp() on columns of table "validator_description" */ export type Validator_Description_Var_Samp_Order_By = { height?: InputMaybe; }; -/** aggregate variance on columns */ -export type Validator_Description_Variance_Fields = { - __typename?: 'validator_description_variance_fields'; - height?: Maybe; -}; - /** order by variance() on columns of table "validator_description" */ export type Validator_Description_Variance_Order_By = { height?: InputMaybe; @@ -9622,28 +20825,6 @@ export type Validator_Info = { validator: Validator; }; -/** aggregated selection of "validator_info" */ -export type Validator_Info_Aggregate = { - __typename?: 'validator_info_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "validator_info" */ -export type Validator_Info_Aggregate_Fields = { - __typename?: 'validator_info_aggregate_fields'; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; -}; - - -/** aggregate fields of "validator_info" */ -export type Validator_Info_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "validator_info" */ export type Validator_Info_Aggregate_Order_By = { count?: InputMaybe; @@ -9665,16 +20846,6 @@ export type Validator_Info_Bool_Exp = { validator?: InputMaybe; }; -/** aggregate max on columns */ -export type Validator_Info_Max_Fields = { - __typename?: 'validator_info_max_fields'; - consensus_address?: Maybe; - max_change_rate?: Maybe; - max_rate?: Maybe; - operator_address?: Maybe; - self_delegate_address?: Maybe; -}; - /** order by max() on columns of table "validator_info" */ export type Validator_Info_Max_Order_By = { consensus_address?: InputMaybe; @@ -9684,16 +20855,6 @@ export type Validator_Info_Max_Order_By = { self_delegate_address?: InputMaybe; }; -/** aggregate min on columns */ -export type Validator_Info_Min_Fields = { - __typename?: 'validator_info_min_fields'; - consensus_address?: Maybe; - max_change_rate?: Maybe; - max_rate?: Maybe; - operator_address?: Maybe; - self_delegate_address?: Maybe; -}; - /** order by min() on columns of table "validator_info" */ export type Validator_Info_Min_Order_By = { consensus_address?: InputMaybe; @@ -9728,23 +20889,27 @@ export enum Validator_Info_Select_Column { SelfDelegateAddress = 'self_delegate_address' } -/** aggregate max on columns */ -export type Validator_Max_Fields = { - __typename?: 'validator_max_fields'; - consensus_address?: Maybe; - consensus_pubkey?: Maybe; +/** Streaming cursor of the table "validator_info" */ +export type Validator_Info_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Validator_Info_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** aggregate min on columns */ -export type Validator_Min_Fields = { - __typename?: 'validator_min_fields'; - consensus_address?: Maybe; - consensus_pubkey?: Maybe; +/** Initial value of the column from where the streaming should start */ +export type Validator_Info_Stream_Cursor_Value_Input = { + consensus_address?: InputMaybe; + max_change_rate?: InputMaybe; + max_rate?: InputMaybe; + operator_address?: InputMaybe; + self_delegate_address?: InputMaybe; }; /** Ordering options when selecting data from "validator". */ export type Validator_Order_By = { blocks_aggregate?: InputMaybe; + ccv_validator?: InputMaybe; consensus_address?: InputMaybe; consensus_pubkey?: InputMaybe; double_sign_votes_aggregate?: InputMaybe; @@ -9780,36 +20945,6 @@ export type Validator_Signing_Info = { validator_address: Scalars['String']; }; -/** aggregated selection of "validator_signing_info" */ -export type Validator_Signing_Info_Aggregate = { - __typename?: 'validator_signing_info_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "validator_signing_info" */ -export type Validator_Signing_Info_Aggregate_Fields = { - __typename?: 'validator_signing_info_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "validator_signing_info" */ -export type Validator_Signing_Info_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "validator_signing_info" */ export type Validator_Signing_Info_Aggregate_Order_By = { avg?: InputMaybe; @@ -9825,15 +20960,6 @@ export type Validator_Signing_Info_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Validator_Signing_Info_Avg_Fields = { - __typename?: 'validator_signing_info_avg_fields'; - height?: Maybe; - index_offset?: Maybe; - missed_blocks_counter?: Maybe; - start_height?: Maybe; -}; - /** order by avg() on columns of table "validator_signing_info" */ export type Validator_Signing_Info_Avg_Order_By = { height?: InputMaybe; @@ -9856,17 +20982,6 @@ export type Validator_Signing_Info_Bool_Exp = { validator_address?: InputMaybe; }; -/** aggregate max on columns */ -export type Validator_Signing_Info_Max_Fields = { - __typename?: 'validator_signing_info_max_fields'; - height?: Maybe; - index_offset?: Maybe; - jailed_until?: Maybe; - missed_blocks_counter?: Maybe; - start_height?: Maybe; - validator_address?: Maybe; -}; - /** order by max() on columns of table "validator_signing_info" */ export type Validator_Signing_Info_Max_Order_By = { height?: InputMaybe; @@ -9877,17 +20992,6 @@ export type Validator_Signing_Info_Max_Order_By = { validator_address?: InputMaybe; }; -/** aggregate min on columns */ -export type Validator_Signing_Info_Min_Fields = { - __typename?: 'validator_signing_info_min_fields'; - height?: Maybe; - index_offset?: Maybe; - jailed_until?: Maybe; - missed_blocks_counter?: Maybe; - start_height?: Maybe; - validator_address?: Maybe; -}; - /** order by min() on columns of table "validator_signing_info" */ export type Validator_Signing_Info_Min_Order_By = { height?: InputMaybe; @@ -9927,15 +21031,6 @@ export enum Validator_Signing_Info_Select_Column { ValidatorAddress = 'validator_address' } -/** aggregate stddev on columns */ -export type Validator_Signing_Info_Stddev_Fields = { - __typename?: 'validator_signing_info_stddev_fields'; - height?: Maybe; - index_offset?: Maybe; - missed_blocks_counter?: Maybe; - start_height?: Maybe; -}; - /** order by stddev() on columns of table "validator_signing_info" */ export type Validator_Signing_Info_Stddev_Order_By = { height?: InputMaybe; @@ -9944,15 +21039,6 @@ export type Validator_Signing_Info_Stddev_Order_By = { start_height?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Validator_Signing_Info_Stddev_Pop_Fields = { - __typename?: 'validator_signing_info_stddev_pop_fields'; - height?: Maybe; - index_offset?: Maybe; - missed_blocks_counter?: Maybe; - start_height?: Maybe; -}; - /** order by stddev_pop() on columns of table "validator_signing_info" */ export type Validator_Signing_Info_Stddev_Pop_Order_By = { height?: InputMaybe; @@ -9961,15 +21047,6 @@ export type Validator_Signing_Info_Stddev_Pop_Order_By = { start_height?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Validator_Signing_Info_Stddev_Samp_Fields = { - __typename?: 'validator_signing_info_stddev_samp_fields'; - height?: Maybe; - index_offset?: Maybe; - missed_blocks_counter?: Maybe; - start_height?: Maybe; -}; - /** order by stddev_samp() on columns of table "validator_signing_info" */ export type Validator_Signing_Info_Stddev_Samp_Order_By = { height?: InputMaybe; @@ -9978,13 +21055,23 @@ export type Validator_Signing_Info_Stddev_Samp_Order_By = { start_height?: InputMaybe; }; -/** aggregate sum on columns */ -export type Validator_Signing_Info_Sum_Fields = { - __typename?: 'validator_signing_info_sum_fields'; - height?: Maybe; - index_offset?: Maybe; - missed_blocks_counter?: Maybe; - start_height?: Maybe; +/** Streaming cursor of the table "validator_signing_info" */ +export type Validator_Signing_Info_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Validator_Signing_Info_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Validator_Signing_Info_Stream_Cursor_Value_Input = { + height?: InputMaybe; + index_offset?: InputMaybe; + jailed_until?: InputMaybe; + missed_blocks_counter?: InputMaybe; + start_height?: InputMaybe; + tombstoned?: InputMaybe; + validator_address?: InputMaybe; }; /** order by sum() on columns of table "validator_signing_info" */ @@ -9995,15 +21082,6 @@ export type Validator_Signing_Info_Sum_Order_By = { start_height?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Validator_Signing_Info_Var_Pop_Fields = { - __typename?: 'validator_signing_info_var_pop_fields'; - height?: Maybe; - index_offset?: Maybe; - missed_blocks_counter?: Maybe; - start_height?: Maybe; -}; - /** order by var_pop() on columns of table "validator_signing_info" */ export type Validator_Signing_Info_Var_Pop_Order_By = { height?: InputMaybe; @@ -10012,15 +21090,6 @@ export type Validator_Signing_Info_Var_Pop_Order_By = { start_height?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Validator_Signing_Info_Var_Samp_Fields = { - __typename?: 'validator_signing_info_var_samp_fields'; - height?: Maybe; - index_offset?: Maybe; - missed_blocks_counter?: Maybe; - start_height?: Maybe; -}; - /** order by var_samp() on columns of table "validator_signing_info" */ export type Validator_Signing_Info_Var_Samp_Order_By = { height?: InputMaybe; @@ -10029,15 +21098,6 @@ export type Validator_Signing_Info_Var_Samp_Order_By = { start_height?: InputMaybe; }; -/** aggregate variance on columns */ -export type Validator_Signing_Info_Variance_Fields = { - __typename?: 'validator_signing_info_variance_fields'; - height?: Maybe; - index_offset?: Maybe; - missed_blocks_counter?: Maybe; - start_height?: Maybe; -}; - /** order by variance() on columns of table "validator_signing_info" */ export type Validator_Signing_Info_Variance_Order_By = { height?: InputMaybe; @@ -10064,6 +21124,33 @@ export type Validator_Status_Aggregate = { nodes: Array; }; +export type Validator_Status_Aggregate_Bool_Exp = { + bool_and?: InputMaybe; + bool_or?: InputMaybe; + count?: InputMaybe; +}; + +export type Validator_Status_Aggregate_Bool_Exp_Bool_And = { + arguments: Validator_Status_Select_Column_Validator_Status_Aggregate_Bool_Exp_Bool_And_Arguments_Columns; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Boolean_Comparison_Exp; +}; + +export type Validator_Status_Aggregate_Bool_Exp_Bool_Or = { + arguments: Validator_Status_Select_Column_Validator_Status_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Boolean_Comparison_Exp; +}; + +export type Validator_Status_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + /** aggregate fields of "validator_status" */ export type Validator_Status_Aggregate_Fields = { __typename?: 'validator_status_aggregate_fields'; @@ -10178,6 +21265,18 @@ export enum Validator_Status_Select_Column { ValidatorAddress = 'validator_address' } +/** select "validator_status_aggregate_bool_exp_bool_and_arguments_columns" columns of table "validator_status" */ +export enum Validator_Status_Select_Column_Validator_Status_Aggregate_Bool_Exp_Bool_And_Arguments_Columns { + /** column name */ + Jailed = 'jailed' +} + +/** select "validator_status_aggregate_bool_exp_bool_or_arguments_columns" columns of table "validator_status" */ +export enum Validator_Status_Select_Column_Validator_Status_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns { + /** column name */ + Jailed = 'jailed' +} + /** aggregate stddev on columns */ export type Validator_Status_Stddev_Fields = { __typename?: 'validator_status_stddev_fields'; @@ -10217,6 +21316,22 @@ export type Validator_Status_Stddev_Samp_Order_By = { status?: InputMaybe; }; +/** Streaming cursor of the table "validator_status" */ +export type Validator_Status_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Validator_Status_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Validator_Status_Stream_Cursor_Value_Input = { + height?: InputMaybe; + jailed?: InputMaybe; + status?: InputMaybe; + validator_address?: InputMaybe; +}; + /** aggregate sum on columns */ export type Validator_Status_Sum_Fields = { __typename?: 'validator_status_sum_fields'; @@ -10269,6 +21384,20 @@ export type Validator_Status_Variance_Order_By = { status?: InputMaybe; }; +/** Streaming cursor of the table "validator" */ +export type Validator_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Validator_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Validator_Stream_Cursor_Value_Input = { + consensus_address?: InputMaybe; + consensus_pubkey?: InputMaybe; +}; + /** columns and relationships of "validator_voting_power" */ export type Validator_Voting_Power = { __typename?: 'validator_voting_power'; @@ -10288,6 +21417,17 @@ export type Validator_Voting_Power_Aggregate = { nodes: Array; }; +export type Validator_Voting_Power_Aggregate_Bool_Exp = { + count?: InputMaybe; +}; + +export type Validator_Voting_Power_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + /** aggregate fields of "validator_voting_power" */ export type Validator_Voting_Power_Aggregate_Fields = { __typename?: 'validator_voting_power_aggregate_fields'; @@ -10439,6 +21579,21 @@ export type Validator_Voting_Power_Stddev_Samp_Order_By = { voting_power?: InputMaybe; }; +/** Streaming cursor of the table "validator_voting_power" */ +export type Validator_Voting_Power_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Validator_Voting_Power_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Validator_Voting_Power_Stream_Cursor_Value_Input = { + height?: InputMaybe; + validator_address?: InputMaybe; + voting_power?: InputMaybe; +}; + /** aggregate sum on columns */ export type Validator_Voting_Power_Sum_Fields = { __typename?: 'validator_voting_power_sum_fields'; @@ -10497,30 +21652,17 @@ export type Vesting_Account = { /** An object relationship */ account: Account; address: Scalars['String']; - end_time: Scalars['timestamp']; - id: Scalars['Int']; - original_vesting: Scalars['_coin']; - start_time?: Maybe; - type: Scalars['String']; - /** An array relationship */ - vesting_periods: Array; - /** An aggregate relationship */ - vesting_periods_aggregate: Vesting_Period_Aggregate; -}; - - -/** columns and relationships of "vesting_account" */ -export type Vesting_AccountVesting_PeriodsArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + end_time: Scalars['timestamp']; + original_vesting: Scalars['_coin']; + start_time?: Maybe; + type: Scalars['String']; + /** An array relationship */ + vesting_periods: Array; }; /** columns and relationships of "vesting_account" */ -export type Vesting_AccountVesting_Periods_AggregateArgs = { +export type Vesting_AccountVesting_PeriodsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; @@ -10528,60 +21670,11 @@ export type Vesting_AccountVesting_Periods_AggregateArgs = { where?: InputMaybe; }; -/** aggregated selection of "vesting_account" */ -export type Vesting_Account_Aggregate = { - __typename?: 'vesting_account_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "vesting_account" */ -export type Vesting_Account_Aggregate_Fields = { - __typename?: 'vesting_account_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "vesting_account" */ -export type Vesting_Account_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "vesting_account" */ export type Vesting_Account_Aggregate_Order_By = { - avg?: InputMaybe; count?: InputMaybe; max?: InputMaybe; min?: InputMaybe; - stddev?: InputMaybe; - stddev_pop?: InputMaybe; - stddev_samp?: InputMaybe; - sum?: InputMaybe; - var_pop?: InputMaybe; - var_samp?: InputMaybe; - variance?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Vesting_Account_Avg_Fields = { - __typename?: 'vesting_account_avg_fields'; - id?: Maybe; -}; - -/** order by avg() on columns of table "vesting_account" */ -export type Vesting_Account_Avg_Order_By = { - id?: InputMaybe; }; /** Boolean expression to filter rows from the table "vesting_account". All fields are combined with a logical 'AND'. */ @@ -10592,47 +21685,24 @@ export type Vesting_Account_Bool_Exp = { account?: InputMaybe; address?: InputMaybe; end_time?: InputMaybe; - id?: InputMaybe; original_vesting?: InputMaybe<_Coin_Comparison_Exp>; start_time?: InputMaybe; type?: InputMaybe; vesting_periods?: InputMaybe; }; -/** aggregate max on columns */ -export type Vesting_Account_Max_Fields = { - __typename?: 'vesting_account_max_fields'; - address?: Maybe; - end_time?: Maybe; - id?: Maybe; - start_time?: Maybe; - type?: Maybe; -}; - /** order by max() on columns of table "vesting_account" */ export type Vesting_Account_Max_Order_By = { address?: InputMaybe; end_time?: InputMaybe; - id?: InputMaybe; start_time?: InputMaybe; type?: InputMaybe; }; -/** aggregate min on columns */ -export type Vesting_Account_Min_Fields = { - __typename?: 'vesting_account_min_fields'; - address?: Maybe; - end_time?: Maybe; - id?: Maybe; - start_time?: Maybe; - type?: Maybe; -}; - /** order by min() on columns of table "vesting_account" */ export type Vesting_Account_Min_Order_By = { address?: InputMaybe; end_time?: InputMaybe; - id?: InputMaybe; start_time?: InputMaybe; type?: InputMaybe; }; @@ -10642,7 +21712,6 @@ export type Vesting_Account_Order_By = { account?: InputMaybe; address?: InputMaybe; end_time?: InputMaybe; - id?: InputMaybe; original_vesting?: InputMaybe; start_time?: InputMaybe; type?: InputMaybe; @@ -10656,8 +21725,6 @@ export enum Vesting_Account_Select_Column { /** column name */ EndTime = 'end_time', /** column name */ - Id = 'id', - /** column name */ OriginalVesting = 'original_vesting', /** column name */ StartTime = 'start_time', @@ -10665,81 +21732,21 @@ export enum Vesting_Account_Select_Column { Type = 'type' } -/** aggregate stddev on columns */ -export type Vesting_Account_Stddev_Fields = { - __typename?: 'vesting_account_stddev_fields'; - id?: Maybe; -}; - -/** order by stddev() on columns of table "vesting_account" */ -export type Vesting_Account_Stddev_Order_By = { - id?: InputMaybe; -}; - -/** aggregate stddev_pop on columns */ -export type Vesting_Account_Stddev_Pop_Fields = { - __typename?: 'vesting_account_stddev_pop_fields'; - id?: Maybe; -}; - -/** order by stddev_pop() on columns of table "vesting_account" */ -export type Vesting_Account_Stddev_Pop_Order_By = { - id?: InputMaybe; -}; - -/** aggregate stddev_samp on columns */ -export type Vesting_Account_Stddev_Samp_Fields = { - __typename?: 'vesting_account_stddev_samp_fields'; - id?: Maybe; -}; - -/** order by stddev_samp() on columns of table "vesting_account" */ -export type Vesting_Account_Stddev_Samp_Order_By = { - id?: InputMaybe; -}; - -/** aggregate sum on columns */ -export type Vesting_Account_Sum_Fields = { - __typename?: 'vesting_account_sum_fields'; - id?: Maybe; -}; - -/** order by sum() on columns of table "vesting_account" */ -export type Vesting_Account_Sum_Order_By = { - id?: InputMaybe; -}; - -/** aggregate var_pop on columns */ -export type Vesting_Account_Var_Pop_Fields = { - __typename?: 'vesting_account_var_pop_fields'; - id?: Maybe; -}; - -/** order by var_pop() on columns of table "vesting_account" */ -export type Vesting_Account_Var_Pop_Order_By = { - id?: InputMaybe; -}; - -/** aggregate var_samp on columns */ -export type Vesting_Account_Var_Samp_Fields = { - __typename?: 'vesting_account_var_samp_fields'; - id?: Maybe; +/** Streaming cursor of the table "vesting_account" */ +export type Vesting_Account_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Vesting_Account_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** order by var_samp() on columns of table "vesting_account" */ -export type Vesting_Account_Var_Samp_Order_By = { - id?: InputMaybe; -}; - -/** aggregate variance on columns */ -export type Vesting_Account_Variance_Fields = { - __typename?: 'vesting_account_variance_fields'; - id?: Maybe; -}; - -/** order by variance() on columns of table "vesting_account" */ -export type Vesting_Account_Variance_Order_By = { - id?: InputMaybe; +/** Initial value of the column from where the streaming should start */ +export type Vesting_Account_Stream_Cursor_Value_Input = { + address?: InputMaybe; + end_time?: InputMaybe; + original_vesting?: InputMaybe; + start_time?: InputMaybe; + type?: InputMaybe; }; /** columns and relationships of "vesting_period" */ @@ -10750,37 +21757,6 @@ export type Vesting_Period = { period_order: Scalars['bigint']; /** An object relationship */ vesting_account: Vesting_Account; - vesting_account_id: Scalars['bigint']; -}; - -/** aggregated selection of "vesting_period" */ -export type Vesting_Period_Aggregate = { - __typename?: 'vesting_period_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "vesting_period" */ -export type Vesting_Period_Aggregate_Fields = { - __typename?: 'vesting_period_aggregate_fields'; - avg?: Maybe; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - - -/** aggregate fields of "vesting_period" */ -export type Vesting_Period_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; }; /** order by aggregate values of table "vesting_period" */ @@ -10798,19 +21774,10 @@ export type Vesting_Period_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Vesting_Period_Avg_Fields = { - __typename?: 'vesting_period_avg_fields'; - length?: Maybe; - period_order?: Maybe; - vesting_account_id?: Maybe; -}; - /** order by avg() on columns of table "vesting_period" */ export type Vesting_Period_Avg_Order_By = { length?: InputMaybe; period_order?: InputMaybe; - vesting_account_id?: InputMaybe; }; /** Boolean expression to filter rows from the table "vesting_period". All fields are combined with a logical 'AND'. */ @@ -10822,37 +21789,18 @@ export type Vesting_Period_Bool_Exp = { length?: InputMaybe; period_order?: InputMaybe; vesting_account?: InputMaybe; - vesting_account_id?: InputMaybe; -}; - -/** aggregate max on columns */ -export type Vesting_Period_Max_Fields = { - __typename?: 'vesting_period_max_fields'; - length?: Maybe; - period_order?: Maybe; - vesting_account_id?: Maybe; }; /** order by max() on columns of table "vesting_period" */ export type Vesting_Period_Max_Order_By = { length?: InputMaybe; period_order?: InputMaybe; - vesting_account_id?: InputMaybe; -}; - -/** aggregate min on columns */ -export type Vesting_Period_Min_Fields = { - __typename?: 'vesting_period_min_fields'; - length?: Maybe; - period_order?: Maybe; - vesting_account_id?: Maybe; }; /** order by min() on columns of table "vesting_period" */ export type Vesting_Period_Min_Order_By = { length?: InputMaybe; period_order?: InputMaybe; - vesting_account_id?: InputMaybe; }; /** Ordering options when selecting data from "vesting_period". */ @@ -10861,7 +21809,6 @@ export type Vesting_Period_Order_By = { length?: InputMaybe; period_order?: InputMaybe; vesting_account?: InputMaybe; - vesting_account_id?: InputMaybe; }; /** select columns of table "vesting_period" */ @@ -10871,114 +21818,64 @@ export enum Vesting_Period_Select_Column { /** column name */ Length = 'length', /** column name */ - PeriodOrder = 'period_order', - /** column name */ - VestingAccountId = 'vesting_account_id' + PeriodOrder = 'period_order' } -/** aggregate stddev on columns */ -export type Vesting_Period_Stddev_Fields = { - __typename?: 'vesting_period_stddev_fields'; - length?: Maybe; - period_order?: Maybe; - vesting_account_id?: Maybe; -}; - /** order by stddev() on columns of table "vesting_period" */ export type Vesting_Period_Stddev_Order_By = { length?: InputMaybe; period_order?: InputMaybe; - vesting_account_id?: InputMaybe; -}; - -/** aggregate stddev_pop on columns */ -export type Vesting_Period_Stddev_Pop_Fields = { - __typename?: 'vesting_period_stddev_pop_fields'; - length?: Maybe; - period_order?: Maybe; - vesting_account_id?: Maybe; }; /** order by stddev_pop() on columns of table "vesting_period" */ export type Vesting_Period_Stddev_Pop_Order_By = { length?: InputMaybe; period_order?: InputMaybe; - vesting_account_id?: InputMaybe; -}; - -/** aggregate stddev_samp on columns */ -export type Vesting_Period_Stddev_Samp_Fields = { - __typename?: 'vesting_period_stddev_samp_fields'; - length?: Maybe; - period_order?: Maybe; - vesting_account_id?: Maybe; }; /** order by stddev_samp() on columns of table "vesting_period" */ export type Vesting_Period_Stddev_Samp_Order_By = { length?: InputMaybe; period_order?: InputMaybe; - vesting_account_id?: InputMaybe; }; -/** aggregate sum on columns */ -export type Vesting_Period_Sum_Fields = { - __typename?: 'vesting_period_sum_fields'; - length?: Maybe; - period_order?: Maybe; - vesting_account_id?: Maybe; +/** Streaming cursor of the table "vesting_period" */ +export type Vesting_Period_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Vesting_Period_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Vesting_Period_Stream_Cursor_Value_Input = { + amount?: InputMaybe; + length?: InputMaybe; + period_order?: InputMaybe; }; /** order by sum() on columns of table "vesting_period" */ export type Vesting_Period_Sum_Order_By = { length?: InputMaybe; period_order?: InputMaybe; - vesting_account_id?: InputMaybe; -}; - -/** aggregate var_pop on columns */ -export type Vesting_Period_Var_Pop_Fields = { - __typename?: 'vesting_period_var_pop_fields'; - length?: Maybe; - period_order?: Maybe; - vesting_account_id?: Maybe; }; /** order by var_pop() on columns of table "vesting_period" */ export type Vesting_Period_Var_Pop_Order_By = { length?: InputMaybe; period_order?: InputMaybe; - vesting_account_id?: InputMaybe; -}; - -/** aggregate var_samp on columns */ -export type Vesting_Period_Var_Samp_Fields = { - __typename?: 'vesting_period_var_samp_fields'; - length?: Maybe; - period_order?: Maybe; - vesting_account_id?: Maybe; }; /** order by var_samp() on columns of table "vesting_period" */ export type Vesting_Period_Var_Samp_Order_By = { length?: InputMaybe; period_order?: InputMaybe; - vesting_account_id?: InputMaybe; -}; - -/** aggregate variance on columns */ -export type Vesting_Period_Variance_Fields = { - __typename?: 'vesting_period_variance_fields'; - length?: Maybe; - period_order?: Maybe; - vesting_account_id?: Maybe; }; /** order by variance() on columns of table "vesting_period" */ export type Vesting_Period_Variance_Order_By = { length?: InputMaybe; period_order?: InputMaybe; - vesting_account_id?: InputMaybe; }; export type AccountCommissionQueryVariables = Exact<{ @@ -11091,7 +21988,7 @@ export type BlocksListenerSubscriptionVariables = Exact<{ }>; -export type BlocksListenerSubscription = { blocks: Array<{ __typename?: 'block', height: any, hash: string, timestamp: any, txs?: number | null, validator?: { __typename?: 'validator', validatorInfo?: { __typename?: 'validator_info', operatorAddress: string } | null } | null }> }; +export type BlocksListenerSubscription = { blocks: Array<{ __typename?: 'block', height: any, hash: string, timestamp: any, txs?: number | null, validator?: { __typename?: 'ccv_validator', consumerOperatorAddress: string, providerOperatorAddress: string } | null }> }; export type BlocksQueryVariables = Exact<{ limit?: InputMaybe; @@ -11099,7 +21996,7 @@ export type BlocksQueryVariables = Exact<{ }>; -export type BlocksQuery = { blocks: Array<{ __typename?: 'block', height: any, hash: string, timestamp: any, txs?: number | null, validator?: { __typename?: 'validator', validatorInfo?: { __typename?: 'validator_info', self_delegate_address?: string | null, operatorAddress: string } | null, validatorDescriptions: Array<{ __typename?: 'validator_description', moniker?: string | null, identity?: string | null }> } | null }> }; +export type BlocksQuery = { blocks: Array<{ __typename?: 'block', height: any, hash: string, timestamp: any, txs?: number | null, ccv_validator?: { __typename?: 'ccv_validator', consumerOperatorAddress: string, providerOperatorAddress: string, consumerSelfDelegateAddress: string, providerSelfDelegateAddress: string, validator?: { __typename?: 'validator', validatorDescriptions: Array<{ __typename?: 'validator_description', moniker?: string | null, identity?: string | null }> } | null } | null }> }; export type ChainIdQueryVariables = Exact<{ [key: string]: never; }>; @@ -11174,7 +22071,7 @@ export type TokenPriceListenerSubscriptionVariables = Exact<{ }>; -export type TokenPriceListenerSubscription = { tokenPrice: Array<{ __typename?: 'token_price', id: number, price: any, timestamp: any, marketCap: any, unitName: string }> }; +export type TokenPriceListenerSubscription = { tokenPrice: Array<{ __typename?: 'token_price', price: any, timestamp: any, marketCap: any, unitName: string }> }; export type TokenPriceHistoryQueryVariables = Exact<{ denom?: InputMaybe; @@ -11266,7 +22163,21 @@ export type ValidatorUndelegationsQuery = { undelegations?: { __typename?: 'Acti export type ValidatorsQueryVariables = Exact<{ [key: string]: never; }>; -export type ValidatorsQuery = { stakingPool: Array<{ __typename?: 'staking_pool', bondedTokens: string }>, validator: Array<{ __typename?: 'validator', validatorStatuses: Array<{ __typename?: 'validator_status', status: number, jailed: boolean, height: any }>, validatorSigningInfos: Array<{ __typename?: 'validator_signing_info', tombstoned: boolean, missedBlocksCounter: any }>, validatorInfo?: { __typename?: 'validator_info', operatorAddress: string, selfDelegateAddress?: string | null } | null, validatorVotingPowers: Array<{ __typename?: 'validator_voting_power', votingPower: any }>, validatorCommissions: Array<{ __typename?: 'validator_commission', commission: any }> }>, slashingParams: Array<{ __typename?: 'slashing_params', params: any }> }; +export type ValidatorsQuery = { stakingPool: Array<{ __typename?: 'staking_pool', bondedTokens: string }>, validator: Array<{ __typename?: 'validator', validatorStatuses: Array<{ __typename?: 'validator_status', status: number, jailed: boolean, height: any }>, validatorSigningInfos: Array<{ __typename?: 'validator_signing_info', tombstoned: boolean, missedBlocksCounter: any }>, ccv_validator?: { __typename?: 'ccv_validator', providerOperatorAddress: string } | null, validatorDescriptions: Array<{ __typename?: 'validator_description', moniker?: string | null, avatar_url?: string | null, validator_address: string, website?: string | null, details?: string | null }>, validatorInfo?: { __typename?: 'validator_info', operatorAddress: string, selfDelegateAddress?: string | null } | null, validatorVotingPowers: Array<{ __typename?: 'validator_voting_power', votingPower: any }>, validatorCommissions: Array<{ __typename?: 'validator_commission', commission: any }> }>, slashingParams: Array<{ __typename?: 'slashing_params', params: any }> }; + +export type ConsumerCustomValidatorQueryVariables = Exact<{ + consumerAddress?: InputMaybe; +}>; + + +export type ConsumerCustomValidatorQuery = { validatorInfo: Array<{ __typename?: 'validator_info', validator: { __typename?: 'validator', validatorDescriptions: Array<{ __typename?: 'validator_description', moniker?: string | null, avatar_url?: string | null, validator_address: string, website?: string | null, details?: string | null }> } }> }; + +export type ProviderCustomValidatorQueryVariables = Exact<{ + providerAddress?: InputMaybe; +}>; + + +export type ProviderCustomValidatorQuery = { ccv_validator: Array<{ __typename?: 'ccv_validator', ccv_validator_info?: { __typename?: 'provider_validator_info', operator_address: string, validator: { __typename?: 'provider_validator', validatorDescriptions: Array<{ __typename?: 'provider_validator_description', moniker?: string | null, avatar_url?: string | null, validator_address: string, website?: string | null, details?: string | null }> } } | null }> }; export type ValidatorsAddressListQueryVariables = Exact<{ [key: string]: never; }>; @@ -11278,6 +22189,11 @@ export type ValidatorAddressesQueryVariables = Exact<{ [key: string]: never; }>; export type ValidatorAddressesQuery = { validator: Array<{ __typename?: 'validator', validatorInfo?: { __typename?: 'validator_info', operatorAddress: string, selfDelegateAddress?: string | null, consensusAddress: string } | null, validatorDescriptions: Array<{ __typename?: 'validator_description', moniker?: string | null, avatarUrl?: string | null }> }> }; +export type ValidatorConsumerProviderAddressesQueryVariables = Exact<{ [key: string]: never; }>; + + +export type ValidatorConsumerProviderAddressesQuery = { ccv_validator: Array<{ __typename?: 'ccv_validator', consumerOperatorAddress: string, providerOperatorAddress: string, providerSelfDelegateAddress: string, validator?: { __typename?: 'validator', validatorDescriptions: Array<{ __typename?: 'validator_description', moniker?: string | null, details?: string | null, website?: string | null, avatarUrl?: string | null }> } | null }> }; + export const AccountCommissionDocument = gql` query AccountCommission($validatorAddress: String!) { @@ -11844,10 +22760,9 @@ export const BlocksListenerDocument = gql` txs: num_txs hash timestamp - validator { - validatorInfo: validator_info { - operatorAddress: operator_address - } + validator: ccv_validator { + consumerOperatorAddress: consumer_operator_address + providerOperatorAddress: provider_operator_address } } } @@ -11883,17 +22798,19 @@ export const BlocksDocument = gql` txs: num_txs hash timestamp - validator { - validatorInfo: validator_info { - operatorAddress: operator_address - self_delegate_address - } - validatorDescriptions: validator_descriptions( - limit: 1 - order_by: {height: desc} - ) { - moniker - identity + ccv_validator { + consumerOperatorAddress: consumer_operator_address + providerOperatorAddress: provider_operator_address + consumerSelfDelegateAddress: consumer_self_delegate_address + providerSelfDelegateAddress: provider_self_delegate_address + validator { + validatorDescriptions: validator_descriptions( + limit: 1 + order_by: {height: desc} + ) { + moniker + identity + } } } } @@ -12390,7 +23307,6 @@ export type ProposalsQueryResult = Apollo.QueryResult; export type ValidatorsLazyQueryHookResult = ReturnType; export type ValidatorsQueryResult = Apollo.QueryResult; +export const ConsumerCustomValidatorDocument = gql` + query ConsumerCustomValidator($consumerAddress: String) { + validatorInfo: validator_info( + where: {operator_address: {_eq: $consumerAddress}} + ) { + validator { + validatorDescriptions: validator_descriptions { + moniker + avatar_url + validator_address + website + details + } + } + } +} + `; + +/** + * __useConsumerCustomValidatorQuery__ + * + * To run a query within a React component, call `useConsumerCustomValidatorQuery` and pass it any options that fit your needs. + * When your component renders, `useConsumerCustomValidatorQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useConsumerCustomValidatorQuery({ + * variables: { + * consumerAddress: // value for 'consumerAddress' + * }, + * }); + */ +export function useConsumerCustomValidatorQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ConsumerCustomValidatorDocument, options); + } +export function useConsumerCustomValidatorLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ConsumerCustomValidatorDocument, options); + } +export type ConsumerCustomValidatorQueryHookResult = ReturnType; +export type ConsumerCustomValidatorLazyQueryHookResult = ReturnType; +export type ConsumerCustomValidatorQueryResult = Apollo.QueryResult; +export const ProviderCustomValidatorDocument = gql` + query ProviderCustomValidator($providerAddress: String) { + ccv_validator(where: {provider_operator_address: {_eq: $providerAddress}}) { + ccv_validator_info { + operator_address + validator { + validatorDescriptions: validator_descriptions { + moniker + avatar_url + validator_address + website + details + } + } + } + } +} + `; + +/** + * __useProviderCustomValidatorQuery__ + * + * To run a query within a React component, call `useProviderCustomValidatorQuery` and pass it any options that fit your needs. + * When your component renders, `useProviderCustomValidatorQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useProviderCustomValidatorQuery({ + * variables: { + * providerAddress: // value for 'providerAddress' + * }, + * }); + */ +export function useProviderCustomValidatorQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ProviderCustomValidatorDocument, options); + } +export function useProviderCustomValidatorLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ProviderCustomValidatorDocument, options); + } +export type ProviderCustomValidatorQueryHookResult = ReturnType; +export type ProviderCustomValidatorLazyQueryHookResult = ReturnType; +export type ProviderCustomValidatorQueryResult = Apollo.QueryResult; export const ValidatorsAddressListDocument = gql` query ValidatorsAddressList { validator { @@ -13088,4 +24105,53 @@ export function useValidatorAddressesLazyQuery(baseOptions?: Apollo.LazyQueryHoo } export type ValidatorAddressesQueryHookResult = ReturnType; export type ValidatorAddressesLazyQueryHookResult = ReturnType; -export type ValidatorAddressesQueryResult = Apollo.QueryResult; \ No newline at end of file +export type ValidatorAddressesQueryResult = Apollo.QueryResult; +export const ValidatorConsumerProviderAddressesDocument = gql` + query ValidatorConsumerProviderAddresses { + ccv_validator( + where: {consumer_consensus_address: {_is_null: false}, provider_consensus_address: {_is_null: false}} + ) { + consumerOperatorAddress: consumer_operator_address + providerOperatorAddress: provider_operator_address + providerSelfDelegateAddress: provider_self_delegate_address + validator { + validatorDescriptions: validator_descriptions( + limit: 1 + order_by: {height: desc} + ) { + moniker + avatarUrl: avatar_url + details + website + } + } + } +} + `; + +/** + * __useValidatorConsumerProviderAddressesQuery__ + * + * To run a query within a React component, call `useValidatorConsumerProviderAddressesQuery` and pass it any options that fit your needs. + * When your component renders, `useValidatorConsumerProviderAddressesQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useValidatorConsumerProviderAddressesQuery({ + * variables: { + * }, + * }); + */ +export function useValidatorConsumerProviderAddressesQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(ValidatorConsumerProviderAddressesDocument, options); + } +export function useValidatorConsumerProviderAddressesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(ValidatorConsumerProviderAddressesDocument, options); + } +export type ValidatorConsumerProviderAddressesQueryHookResult = ReturnType; +export type ValidatorConsumerProviderAddressesLazyQueryHookResult = ReturnType; +export type ValidatorConsumerProviderAddressesQueryResult = Apollo.QueryResult; \ No newline at end of file diff --git a/apps/web-stride/src/hooks/useConsumerCustomValidator/index.ts b/apps/web-stride/src/hooks/useConsumerCustomValidator/index.ts new file mode 100644 index 0000000000..1ccca95d00 --- /dev/null +++ b/apps/web-stride/src/hooks/useConsumerCustomValidator/index.ts @@ -0,0 +1,62 @@ +import { useEffect, useState } from 'react'; +import { useRecoilCallback } from 'recoil'; +import * as R from 'ramda'; +import { writeProfile } from '@/recoil/profiles/selectors'; +import { useConsumerCustomValidatorQuery } from '@/graphql/types/general_types'; + +type Profile = { + name: string; + address: string; + imageUrl: string; + bio: string; + website: string; +}; + +interface consumerAddressProfileResult { + profile: Profile | undefined; + loading: boolean; +} + +/** + * Accepts consumerAddress address and returns the appropriate profile + * @param validator - the consumer operator address of the validator + * @returns The return value is an object with the following properties: + * name, address, imageUrl + */ +const useConsumerCustomValidator = (validator: string): consumerAddressProfileResult => { + const { data, loading } = useConsumerCustomValidatorQuery({ + variables: { consumerAddress: validator }, + }); + const [profile, setProfile] = useState(); + const setAvatarName = useRecoilCallback( + ({ set }) => + (address: string, avatarName: AvatarName | null) => + set(writeProfile(address), (prevState) => + R.equals(prevState, avatarName) ? prevState : avatarName + ), + [] + ); + useEffect(() => { + if (data && data.validatorInfo.length > 0) { + const validatorDescription = data.validatorInfo[0].validator.validatorDescriptions[0]; + const name = validatorDescription.moniker ?? ''; + const imageUrl = validatorDescription.avatar_url ?? ''; + const bio = validatorDescription.details ?? ''; + const website = validatorDescription.website ?? ''; + const address = validator; + const res: Profile = { + name, + address, + imageUrl, + bio, + website, + }; + setProfile(res); + setAvatarName(address, res); + } + }, [data, loading, setAvatarName, validator]); + + return { profile, loading }; +}; + +export default useConsumerCustomValidator; diff --git a/apps/web-stride/src/hooks/useCustomProfile/index.ts b/apps/web-stride/src/hooks/useCustomProfile/index.ts new file mode 100644 index 0000000000..fc312164f6 --- /dev/null +++ b/apps/web-stride/src/hooks/useCustomProfile/index.ts @@ -0,0 +1,47 @@ +import { useEffect, useState } from 'react'; +import { ValidatorType } from '@/screens/validators/components/list/types'; + +interface AvatarName { + className?: string; + imageUrl: string | ''; + address: string; + name: string; + href?: (address: string) => string; + image?: React.ReactNode; + target?: JSX.IntrinsicElements['a']['target']; +} + +/** + * Accepts a list of state items and returns the appropriate profiles + * @param item + * @return a loading state and a list of profiles + */ +const useCustomProfile = (item: ValidatorType[]) => { + const [loading, setLoading] = useState(true); + const [profiles, setProfiles] = useState([]); + + useEffect(() => { + if (item.length) { + const data = item.map((x) => { + const address = x.validator ?? x.moniker[0].validator_address ?? ''; + const name = x.moniker[0].moniker ?? ''; + const imageUrl = x.moniker[0].avatar_url ?? ''; + const bio = x.moniker[0].details ?? ''; + const website = x.moniker[0].website ?? ''; + return { + address, + name, + imageUrl, + bio, + website, + }; + }); + setProfiles(data); + setLoading(false); + } + }, [item, loading]); + + return { profiles, loading }; +}; + +export default useCustomProfile; diff --git a/apps/web-stride/src/hooks/useProviderCustomValidator/index.ts b/apps/web-stride/src/hooks/useProviderCustomValidator/index.ts new file mode 100644 index 0000000000..c6de96b584 --- /dev/null +++ b/apps/web-stride/src/hooks/useProviderCustomValidator/index.ts @@ -0,0 +1,63 @@ +import { useEffect, useState } from 'react'; +import { useRecoilCallback } from 'recoil'; +import * as R from 'ramda'; +import { writeProfile } from '@/recoil/profiles/selectors'; +import { useProviderCustomValidatorQuery } from '@/graphql/types/general_types'; + +type Profile = { + name: string; + address: string; + imageUrl: string; + bio: string; + website: string; +}; + +interface providerAddressProfileResult { + profile: Profile | undefined; + loading: boolean; +} + +/** + * Accepts provider operator address and returns the appropriate profile + * @param validator - the provider operator address of the validator + * @returns The return value is an object with the following properties: + * name, address, imageUrl + */ +const useProviderCustomValidator = (validator: string): providerAddressProfileResult => { + const { data, loading } = useProviderCustomValidatorQuery({ + variables: { providerAddress: validator }, + }); + const [profile, setProfile] = useState(); + const setAvatarName = useRecoilCallback( + ({ set }) => + (address: string, avatarName: AvatarName | null) => + set(writeProfile(address), (prevState) => + R.equals(prevState, avatarName) ? prevState : avatarName + ), + [] + ); + useEffect(() => { + if (data && data.ccv_validator.length > 0) { + const validatorDescription = + data.ccv_validator[0].ccv_validator_info?.validator.validatorDescriptions[0]; + const name = validatorDescription?.moniker ?? ''; + const imageUrl = validatorDescription?.avatar_url ?? ''; + const bio = validatorDescription?.details ?? ''; + const website = validatorDescription?.website ?? ''; + const address = validator; + const res: Profile = { + name, + address, + imageUrl, + bio, + website, + }; + setProfile(res); + setAvatarName(address, res); + } + }, [data, loading, setAvatarName, validator]); + + return { profile, loading }; +}; + +export default useProviderCustomValidator; diff --git a/apps/web-stride/src/screens/account_details/components/staking/hooks.ts b/apps/web-stride/src/screens/account_details/components/staking/hooks.ts new file mode 100644 index 0000000000..30b5ac5604 --- /dev/null +++ b/apps/web-stride/src/screens/account_details/components/staking/hooks.ts @@ -0,0 +1,359 @@ +import Big from 'big.js'; +import { useRouter } from 'next/router'; +import numeral from 'numeral'; +import * as R from 'ramda'; +import { SyntheticEvent, useCallback, useEffect, useState } from 'react'; +import chainConfig from '@/chainConfig'; +import { + useAccountDelegationsQuery, + useAccountRedelegationsQuery, + useAccountUndelegationsQuery, + useValidatorAddressesQuery, + useValidatorConsumerProviderAddressesQuery, + useValidatorsQuery, + ValidatorsQuery, +} from '@/graphql/types/general_types'; +import type { + DelegationType, + RedelegationType, + StakingState, +} from '@/screens/account_details/components/staking/types'; +import type { RewardsType } from '@/screens/account_details/types'; +import { ValidatorType } from '@/screens/validators/components/list/types'; +import { formatToken } from '@/utils/format_token'; +import { getDenom } from '@/utils/get_denom'; + +const { primaryTokenUnit, prefix } = chainConfig(); + +export const ROWS_PER_PAGE = 10; + +export const formatDelegations = ( + data: Array<{ + validator_address?: string; + coins?: MsgCoin[]; + }>, + validatorsCommission: Pick[], + rewards: RewardsType +) => + data + .map((x): DelegationType => { + const validator = x?.validator_address ?? ''; + const delegation = getDenom(x.coins, primaryTokenUnit); + return { + validator, + commission: + numeral( + validatorsCommission.find((val) => val.validator === validator)?.commission?.toFixed(3) + ).value() ?? 0, + amount: formatToken(delegation.amount, delegation.denom), + reward: rewards[validator], + }; + }) + .sort((a, b) => (Big(a.amount?.value).gt(b.amount?.value) ? -1 : 1)); + +export const formatRedelegations = ( + data: Array<{ + entries?: Array<{ balance: string | number; completion_time?: string }>; + validator_src_address?: string; + validator_dst_address?: string; + }> +) => { + const results: RedelegationType[] = []; + data.forEach((x) => { + x.entries?.forEach((y) => { + results.push({ + from: x?.validator_src_address ?? '', + to: x?.validator_dst_address ?? '', + amount: formatToken(y.balance, primaryTokenUnit), + completionTime: y?.completion_time ?? '', + }); + }); + }); + + results.sort((a, b) => (a.completionTime < b.completionTime ? -1 : 1)); + + return results; +}; + +export const formatUnbondings = ( + data: Array<{ + entries?: Array<{ balance: string | number; completion_time?: string }>; + validator_address?: string; + }> +) => { + const results: Array<{ validator: string; amount: TokenUnit; completionTime: string }> = []; + data.forEach((x) => { + x?.entries?.forEach((y) => { + results.push({ + validator: x?.validator_address ?? '', + amount: formatToken(y.balance, primaryTokenUnit), + completionTime: y?.completion_time ?? '', + }); + }); + }); + + results.sort((a, b) => (a.completionTime < b.completionTime ? -1 : 1)); + + return results; +}; + +export const useStaking = ( + rewards: RewardsType, + delegationsPage: number, + redelegationsPage: number, + unbondingsPage: number +) => { + const router = useRouter(); + const [state, setState] = useState({ + tab: 0, + }); + + const [validatorsCommission, setValidatorsCommission] = useState< + Pick[] + >([]); + + // ========================== + // Fetch Data + // ========================== + useValidatorsQuery({ + onCompleted: (data) => { + formatValidators(data); + }, + }); + + // return a list of all validators with their address and commission rate + const formatValidators = useCallback( + (data: ValidatorsQuery): { items: Pick[] } => { + const formattedItems: Pick[] = data.validator + .filter((x) => x.validatorInfo) + .map((x) => ({ + validator: x.validatorInfo?.operatorAddress ?? '', + commission: (x.validatorCommissions?.[0]?.commission ?? 0) * 100, + })); + + setValidatorsCommission(formattedItems); + + return { + items: formattedItems, + }; + }, + [] + ); + + const { data: valAddressesInfo } = useValidatorAddressesQuery(); + + const { data: valAllAddresses } = useValidatorConsumerProviderAddressesQuery(); + + const address = Array.isArray(router?.query?.address) + ? router.query.address[0] + : router?.query?.address ?? ''; + + const [providerAddress, setProviderAddress] = useState(address); + + useEffect(() => { + let provider = ''; + if (valAllAddresses) { + if (providerAddress.startsWith(prefix.validator)) { + const matchingValidator = valAllAddresses.ccv_validator.find( + (x) => x.consumerOperatorAddress === providerAddress + ); + if (matchingValidator) { + provider = matchingValidator.providerSelfDelegateAddress ?? ''; + } else { + provider = address; + } + setProviderAddress(provider); + } + } + }, [address, providerAddress, valAddressesInfo, valAllAddresses]); + + // ===================================== + // delegations + // ===================================== + const { + data: delegationsData, + loading: delegationsLoading, + error: delegationsError, + refetch: delegationsRefetch, + } = useAccountDelegationsQuery({ + variables: { + address: providerAddress, + limit: ROWS_PER_PAGE, + offset: delegationsPage * ROWS_PER_PAGE, + }, + }); + useEffect(() => { + if (delegationsLoading) return; + if (delegationsError) { + delegationsRefetch({ pagination: false }); + } + }, [delegationsError, delegationsLoading, delegationsRefetch]); + useAccountDelegationsQuery({ + variables: { + address: providerAddress, + limit: ROWS_PER_PAGE, + offset: (delegationsPage + 1) * ROWS_PER_PAGE, + }, + }); + + const [delegationsPagination, setDelegationsPagination] = useState(); + const { + data: dData, + error: dError, + refetch: dRefetch, + } = useAccountDelegationsQuery({ + variables: { + address: providerAddress, + limit: 0, + offset: 0, + pagination: true, + }, + skip: delegationsPagination !== undefined, + }); + useEffect(() => { + if (dError) { + dRefetch(); + } else if (dData) { + setDelegationsPagination(dData?.delegations?.pagination?.total ?? 0); + } + }, [dData, dError, dRefetch]); + + // ===================================== + // redelegations + // ===================================== + const { + data: redelegationsData, + loading: redelegationsLoading, + error: redelegationsError, + refetch: redelegationsRefetch, + } = useAccountRedelegationsQuery({ + variables: { + address: providerAddress, + limit: ROWS_PER_PAGE, + offset: redelegationsPage * ROWS_PER_PAGE, + }, + }); + useEffect(() => { + if (redelegationsLoading) return; + if (redelegationsError) { + redelegationsRefetch({ pagination: false }); + } + }, [redelegationsError, redelegationsLoading, redelegationsRefetch]); + useAccountRedelegationsQuery({ + variables: { + address: providerAddress, + limit: ROWS_PER_PAGE, + offset: (redelegationsPage + 1) * ROWS_PER_PAGE, + }, + }); + + const [redelegationsPagination, setRedelegationsPagination] = useState(); + const { + data: rData, + error: rError, + refetch: rRefetch, + } = useAccountRedelegationsQuery({ + variables: { + address: providerAddress, + limit: 0, + offset: 0, + pagination: true, + }, + skip: redelegationsPagination !== undefined, + }); + useEffect(() => { + if (rError) { + rRefetch(); + } else if (rData) { + setRedelegationsPagination(rData?.redelegations?.pagination?.total ?? 0); + } + }, [rData, rError, rRefetch]); + + // ===================================== + // unbondings + // ===================================== + const { + data: undelegationsData, + loading: undelegationsLoading, + error: undelegationsError, + refetch: undelegationsRefetch, + } = useAccountUndelegationsQuery({ + variables: { + address: providerAddress, + limit: ROWS_PER_PAGE, + offset: unbondingsPage * ROWS_PER_PAGE, + }, + }); + useEffect(() => { + if (undelegationsLoading) return; + if (undelegationsError) { + undelegationsRefetch({ pagination: false }); + } + }, [undelegationsError, undelegationsLoading, undelegationsRefetch]); + useAccountUndelegationsQuery({ + variables: { + address: providerAddress, + limit: ROWS_PER_PAGE, + offset: (unbondingsPage + 1) * ROWS_PER_PAGE, + }, + }); + + const [undelegationsPagination, setUndelegationsPagination] = useState(); + const { + data: uData, + error: uError, + refetch: uRefetch, + } = useAccountUndelegationsQuery({ + variables: { + address: providerAddress, + limit: 0, + offset: 0, + pagination: true, + }, + skip: undelegationsPagination !== undefined, + }); + useEffect(() => { + if (uError) { + uRefetch(); + } else if (uData) { + setUndelegationsPagination(uData?.undelegations?.pagination?.total ?? 0); + } + }, [uData, uError, uRefetch]); + + const handleTabChange = useCallback( + (_event: SyntheticEvent, newValue: number) => { + setState((prevState) => { + const newState = { ...prevState, tab: newValue }; + return R.equals(prevState, newState) ? prevState : newState; + }); + }, + [] + ); + + return { + state, + delegations: { + loading: delegationsLoading, + count: delegationsPagination, + data: formatDelegations( + delegationsData?.delegations?.delegations ?? [], + validatorsCommission, + rewards + ), + error: delegationsError, + }, + redelegations: { + loading: redelegationsLoading, + count: redelegationsPagination, + data: formatRedelegations(redelegationsData?.redelegations?.redelegations ?? []), + error: redelegationsError, + }, + unbondings: { + loading: undelegationsLoading, + count: undelegationsPagination, + data: formatUnbondings(undelegationsData?.undelegations?.undelegations ?? []), + error: undelegationsError, + }, + handleTabChange, + }; +}; diff --git a/apps/web-stride/src/screens/account_details/hooks.ts b/apps/web-stride/src/screens/account_details/hooks.ts new file mode 100644 index 0000000000..dcafcf61d6 --- /dev/null +++ b/apps/web-stride/src/screens/account_details/hooks.ts @@ -0,0 +1,324 @@ +import Big from 'big.js'; +import { useRouter } from 'next/router'; +import * as R from 'ramda'; +import { useCallback, useEffect, useState } from 'react'; +import chainConfig from '@/chainConfig'; +import { useDesmosProfile } from '@/hooks/use_desmos_profile'; +import type { + AccountDetailState, + BalanceType, + OtherTokenType, +} from '@/screens/account_details/types'; +import { + useAccountWithdrawalAddress, + useAvailableBalances, + useCommission, + useDelegationBalance, + useRewards, + useUnbondingBalance, +} from '@/screens/account_details/utils'; +import { formatToken } from '@/utils/format_token'; +import { getDenom } from '@/utils/get_denom'; +import { useValidatorConsumerProviderAddressesQuery } from '@/graphql/types/general_types'; + +const { extra, primaryTokenUnit, tokenUnits, prefix } = chainConfig(); + +const defaultTokenUnit: TokenUnit = { + value: '0', + baseDenom: '', + displayDenom: '', + exponent: 0, +}; + +const initialState: AccountDetailState = { + loading: true, + balanceLoading: true, + exists: true, + desmosProfile: null, + overview: { + address: '', + withdrawalAddress: '', + }, + otherTokens: { + count: 0, + data: [], + }, + balance: { + available: defaultTokenUnit, + delegate: defaultTokenUnit, + unbonding: defaultTokenUnit, + reward: defaultTokenUnit, + commission: defaultTokenUnit, + total: defaultTokenUnit, + }, + rewards: {}, +}; + +type Data = { + delegationRewards?: unknown; + accountBalances?: unknown; + delegationBalance?: unknown; + unbondingBalance?: unknown; + commission?: unknown; +}; + +// ============================ +// rewards +// ============================ +const formatRewards = (_data: Data) => { + const rewardsDict: { [key: string]: TokenUnit } = {}; + // log all the rewards + // data?.delegationRewards?.forEach((x) => { + // if (!x) return; + // const coins = x.coins ?? []; + // const denomAmount = getDenom(coins, primaryTokenUnit); + // const denomFormat = formatToken(denomAmount.amount, primaryTokenUnit); + // rewardsDict[x.validatorAddress ?? ''] = denomFormat; + // }); + return rewardsDict; +}; + +// ============================ +// balance +// ============================ +const formatBalance = (data: Data): BalanceType => { + const available = getDenom(R.pathOr([], ['accountBalances', 'coins'], data), primaryTokenUnit); + const availableAmount = formatToken(available.amount, primaryTokenUnit); + const delegate = getDenom(R.pathOr([], ['delegationBalance', 'coins'], data), primaryTokenUnit); + const delegateAmount = formatToken(delegate.amount, primaryTokenUnit); + + const unbonding = getDenom(R.pathOr([], ['unbondingBalance', 'coins'], data), primaryTokenUnit); + const unbondingAmount = formatToken(unbonding.amount, primaryTokenUnit); + + const rewards = '0'; + // data.delegationRewards?.reduce((a: BigSource, b: unknown) => { + // if (!b) return a; + // const coins = R.pathOr([], ['coins'], b); + // const dsmCoins = getDenom(coins, primaryTokenUnit); + + // return Big(a).plus(dsmCoins.amount).toPrecision(); + // }, '0') ?? '0'; + const rewardsAmount = formatToken(rewards, primaryTokenUnit); + + // const commission = getDenom( + // R.pathOr['coins']>>( + // [], + // ['commission', 'coins'], + // data + // ), + // primaryTokenUnit + // ); + const commissionAmount = formatToken(0, primaryTokenUnit); + + const total = Big(availableAmount.value) + .plus(delegateAmount.value) + .plus(unbondingAmount.value) + .plus(rewardsAmount.value) + .plus(commissionAmount.value) + .toFixed(tokenUnits?.[primaryTokenUnit].exponent); + + const balance: BalanceType = { + available: availableAmount, + delegate: delegateAmount, + unbonding: unbondingAmount, + reward: rewardsAmount, + commission: commissionAmount, + total: { + value: total, + displayDenom: availableAmount.displayDenom, + baseDenom: availableAmount.baseDenom, + exponent: availableAmount.exponent, + }, + }; + + return balance; +}; + +// ============================ +// other tokens +// ============================ +const formatOtherTokens = (data: Data) => { + // Loop through balance and delegation to figure out what the other tokens are + const otherTokenUnits = new Set(); + const otherTokens: OtherTokenType[] = []; + // available tokens + const available = R.pathOr([], ['accountBalances', 'coins'], data); + + available.forEach((x) => { + otherTokenUnits.add(x.denom); + }); + + // rewards tokens + const rewards = R.pathOr }>>([], ['delegationRewards'], data); + + rewards.forEach((x) => { + x.coins?.forEach((y) => { + otherTokenUnits.add(y.denom); + }); + }); + + // commission tokens + const commission = R.pathOr([], ['commission', 'coins'], data); + + commission.forEach((x) => { + otherTokenUnits.add(x.denom); + }); + + // remove the primary token unit thats being shown in balance + otherTokenUnits.delete(primaryTokenUnit); + + otherTokenUnits.forEach((x: string) => { + const availableRawAmount = getDenom(available, x); + const availableAmount = formatToken(availableRawAmount.amount, x); + const rewardsRawAmount = rewards.reduce((a, b) => { + const coins = R.pathOr>([], ['coins'], b); + const denom = getDenom(coins, x); + return Big(a).plus(denom.amount).toPrecision(); + }, '0'); + const rewardAmount = formatToken(rewardsRawAmount, x); + const commissionRawAmount = getDenom(commission, x); + const commissionAmount = formatToken(commissionRawAmount.amount, x); + + otherTokens.push({ + denom: tokenUnits?.[x]?.display ?? x, + available: availableAmount, + reward: rewardAmount, + commission: commissionAmount, + }); + }); + + return { + data: otherTokens, + count: otherTokens.length, + }; +}; + +// ========================== +// Format Data +// ========================== +const formatAllBalance = (data: Data) => { + const stateChange: Partial = { + balanceLoading: false, + }; + + stateChange.rewards = formatRewards(data); + + stateChange.balance = formatBalance(data); + + formatOtherTokens(data); + + stateChange.otherTokens = formatOtherTokens(data); + + return stateChange; +}; + +export const useAccountDetails = () => { + const router = useRouter(); + const [state, setState] = useState(initialState); + + const handleSetState = useCallback( + (stateChange: (prevState: AccountDetailState) => AccountDetailState) => { + setState((prevState) => { + const newState = stateChange(prevState); + return R.equals(prevState, newState) ? prevState : newState; + }); + }, + [] + ); + + const { data: valAddressesInfo } = useValidatorConsumerProviderAddressesQuery(); + + const address = Array.isArray(router.query.address) + ? router.query.address[0] + : router.query.address ?? ''; + + const [providerAddress, setProviderAddress] = useState(address); + + useEffect(() => { + let provider = ''; + if (valAddressesInfo?.ccv_validator) { + if (providerAddress.startsWith(prefix.validator)) { + const matchingValidator = valAddressesInfo.ccv_validator.find( + (x) => x.consumerOperatorAddress === providerAddress + ); + if (matchingValidator) { + provider = matchingValidator.providerOperatorAddress ?? ''; + } else { + provider = address; + } + setProviderAddress(provider); + } + } + }, [address, providerAddress, valAddressesInfo]); + + // ========================== + // Desmos Profile + // ========================== + const { data: dataDesmosProfile, loading: loadingDesmosProfile } = useDesmosProfile({ + addresses: [address], + skip: !extra.profile || !address, + }); + useEffect( + () => setState((prevState) => ({ ...prevState, desmosProfile: dataDesmosProfile?.[0] })), + [dataDesmosProfile] + ); + + const commission = useCommission(providerAddress); + const available = useAvailableBalances(providerAddress); + const delegation = useDelegationBalance(providerAddress); + const unbonding = useUnbondingBalance(providerAddress); + const rewards = useRewards(providerAddress); + + useEffect(() => { + const formattedRawData: { + commission?: any; + accountBalances?: any; + delegationBalance?: any; + unbondingBalance?: any; + delegationRewards?: any; + } = {}; + formattedRawData.commission = R.pathOr({ coins: [] }, ['commission'], commission); + formattedRawData.accountBalances = R.pathOr( + { coins: [] }, + ['bdjuno_provider', 'accountBalances'], + available + ); + formattedRawData.delegationBalance = R.pathOr( + { coins: [] }, + ['bdjuno_provider', 'delegationBalance'], + delegation + ); + formattedRawData.unbondingBalance = R.pathOr( + { coins: [] }, + ['bdjuno_provider', 'unbondingBalance'], + unbonding + ); + formattedRawData.delegationRewards = R.pathOr( + [], + ['bdjuno_provider', 'delegationRewards'], + rewards + ); + handleSetState((prevState) => ({ ...prevState, ...formatAllBalance(formattedRawData) })); + }, [commission, available, delegation, unbonding, rewards, handleSetState]); + + // ========================== + // Fetch Data + // ========================== + const withdrawalAddress = useAccountWithdrawalAddress(providerAddress); + useEffect(() => { + handleSetState((prevState) => ({ + ...prevState, + overview: { + address: address ?? '', + withdrawalAddress: address ?? withdrawalAddress?.withdrawalAddress?.address ?? '', + }, + })); + }, [handleSetState, address, withdrawalAddress?.withdrawalAddress?.address, providerAddress]); + + if (loadingDesmosProfile) state.loading = true; + + return { state }; +}; +// function useBoundingBalance(_address?: string) { +// throw new Error('Function not implemented.'); +// } diff --git a/apps/web-stride/src/screens/blocks/components/desktop/index.tsx b/apps/web-stride/src/screens/blocks/components/desktop/index.tsx new file mode 100644 index 0000000000..a2e24c6726 --- /dev/null +++ b/apps/web-stride/src/screens/blocks/components/desktop/index.tsx @@ -0,0 +1,206 @@ +import AvatarName from '@/components/avatar_name'; +import Loading from '@/components/loading'; +import Timestamp from '@/components/Timestamp'; +import { useGrid } from '@/hooks/use_react_window'; +import useProviderCustomValidator from '@/hooks/useProviderCustomValidator'; +import useStyles from '@/screens/blocks/components/desktop/styles'; +import { columns } from '@/screens/blocks/components/desktop/utils'; +import type { ItemType } from '@/screens/blocks/types'; +import { getMiddleEllipsis } from '@/utils/get_middle_ellipsis'; +import { BLOCK_DETAILS, VALIDATOR_DETAILS } from '@/utils/go_to_page'; +import { mergeRefs } from '@/utils/merge_refs'; +import Typography from '@mui/material/Typography'; +import useAppTranslation from '@/hooks/useAppTranslation'; +import Link from 'next/link'; +import numeral from 'numeral'; +import { ComponentProps, CSSProperties, FC, LegacyRef, ReactNode } from 'react'; +import AutoSizer from 'react-virtualized-auto-sizer'; +import { VariableSizeGrid as Grid } from 'react-window'; +import InfiniteLoader from 'react-window-infinite-loader'; + +type BlockItemProps = { + item: ItemType; + rowIndex: number; + column: string; + style: CSSProperties; + align?: ComponentProps['align']; +}; + +const BlockItem: FC = ({ item, rowIndex, column, style, align }) => { + const { profile } = useProviderCustomValidator(item.proposer); + const { classes, cx } = useStyles(); + let formattedItem: ReactNode | null = null; + switch (column) { + case 'height': + formattedItem = ( + + {numeral(item.height).format('0,0')} + + ); + break; + case 'txs': + formattedItem = numeral(item.txs).format('0,0'); + break; + case 'time': + formattedItem = ; + break; + case 'proposer': + formattedItem = ( + + ); + break; + case 'hash': + formattedItem = getMiddleEllipsis(item.hash, { + beginning: 13, + ending: 15, + }); + break; + default: + break; + } + return ( +
+ + {formattedItem} + +
+ ); +}; + +type DesktopProps = { + className?: string; + items: ItemType[]; + itemCount: number; + loadMoreItems: (...arg: unknown[]) => void; + isItemLoaded?: (index: number) => boolean; +}; + +const Desktop: FC = ({ + className, + items, + itemCount, + loadMoreItems, + isItemLoaded, +}) => { + const { t } = useAppTranslation('blocks'); + const { classes, cx } = useStyles(); + const { gridRef, columnRef, onResize, getColumnWidth, getRowHeight } = useGrid(columns); + + return ( +
+ + {({ height, width }) => ( + <> + {/* ======================================= */} + {/* Table Header */} + {/* ======================================= */} + } + columnCount={columns.length} + columnWidth={(index) => getColumnWidth(width ?? 0, index)} + height={50} + rowCount={1} + rowHeight={() => 50} + width={width ?? 0} + > + {({ columnIndex, style }) => { + const { key, align } = columns[columnIndex]; + + return ( +
+ + {t(key)} + +
+ ); + }} +
+ {/* ======================================= */} + {/* Table Body */} + {/* ======================================= */} + true)} + itemCount={itemCount} + loadMoreItems={ + loadMoreItems ?? + (() => { + // do nothing + }) + } + > + {({ onItemsRendered, ref }) => ( + { + onItemsRendered({ + overscanStartIndex: overscanRowStartIndex, + overscanStopIndex: overscanRowStopIndex, + visibleStartIndex: visibleRowStartIndex, + visibleStopIndex: visibleRowStopIndex, + }); + }} + ref={mergeRefs(gridRef, ref)} + columnCount={columns.length} + columnWidth={(index) => getColumnWidth(width ?? 0, index)} + height={(height ?? 0) - 50} + rowCount={itemCount} + rowHeight={getRowHeight} + width={width ?? 0} + className="scrollbar" + > + {({ columnIndex, rowIndex, style }) => { + if (!isItemLoaded?.(rowIndex) && columnIndex === 0) { + return ( +
+ +
+ ); + } + + if (!isItemLoaded?.(rowIndex)) { + return null; + } + + const { key, align } = columns[columnIndex]; + const item = items[rowIndex]; + return ( + + ); + }} +
+ )} +
+ + )} +
+
+ ); +}; + +export default Desktop; diff --git a/apps/web-stride/src/screens/blocks/components/mobile/index.tsx b/apps/web-stride/src/screens/blocks/components/mobile/index.tsx new file mode 100644 index 0000000000..767143b197 --- /dev/null +++ b/apps/web-stride/src/screens/blocks/components/mobile/index.tsx @@ -0,0 +1,129 @@ +import AvatarName from '@/components/avatar_name'; +import Loading from '@/components/loading'; +import SingleBlockMobile from '@/components/single_block_mobile'; +import Timestamp from '@/components/Timestamp'; +import { useList, useListRow } from '@/hooks/use_react_window'; +import { useProfileRecoil } from '@/recoil/profiles/hooks'; +import useStyles from '@/screens/blocks/components/mobile/styles'; +import type { ItemType } from '@/screens/blocks/types'; +import { getMiddleEllipsis } from '@/utils/get_middle_ellipsis'; +import { BLOCK_DETAILS, VALIDATOR_DETAILS } from '@/utils/go_to_page'; +import { mergeRefs } from '@/utils/merge_refs'; +import Divider from '@mui/material/Divider'; +import Link from 'next/link'; +import numeral from 'numeral'; +import { FC } from 'react'; +import AutoSizer from 'react-virtualized-auto-sizer'; +import { ListChildComponentProps, VariableSizeList as List } from 'react-window'; +import InfiniteLoader from 'react-window-infinite-loader'; + +type ListItemProps = Pick & { + setRowHeight: Parameters[1]; + isItemLoaded: ((index: number) => boolean) | undefined; + item: ItemType; + isLast: boolean; +}; + +const ListItem: FC = ({ + index, + style, + setRowHeight, + isItemLoaded, + item, + isLast, +}) => { + const { name, address, imageUrl } = useProfileRecoil(item.proposer); + const formattedItem = { + height: ( + + {numeral(item.height).format('0,0')} + + ), + txs: numeral(item.txs).format('0,0'), + time: , + proposer: ( + + ), + hash: getMiddleEllipsis(item.hash, { + beginning: 13, + ending: 10, + }), + }; + + const { rowRef } = useListRow(index, setRowHeight); + if (!isItemLoaded?.(index)) { + return ( +
+
+ +
+
+ ); + } + return ( +
+
+ + {!isLast && } +
+
+ ); +}; + +type MobileProps = { + className?: string; + items: ItemType[]; + itemCount: number; + loadMoreItems: (...arg: unknown[]) => void; + isItemLoaded?: (index: number) => boolean; +}; + +const Mobile: FC = ({ className, items, itemCount, loadMoreItems, isItemLoaded }) => { + const { classes, cx } = useStyles(); + const { listRef, getRowHeight, setRowHeight } = useList(); + + return ( +
+ + {({ height, width }) => ( + true)} + itemCount={itemCount} + loadMoreItems={ + loadMoreItems ?? + (() => { + // do nothing + }) + } + > + {({ onItemsRendered, ref }) => ( + + {({ index, style }) => ( + + )} + + )} + + )} + +
+ ); +}; + +export default Mobile; diff --git a/apps/web-stride/src/screens/blocks/hooks.ts b/apps/web-stride/src/screens/blocks/hooks.ts new file mode 100644 index 0000000000..d8fc88074d --- /dev/null +++ b/apps/web-stride/src/screens/blocks/hooks.ts @@ -0,0 +1,161 @@ +import * as R from 'ramda'; +import { useCallback, useState } from 'react'; +import { + BlocksListenerSubscription, + useBlocksListenerSubscription, + useBlocksQuery, + BlocksQuery, +} from '@/graphql/types/general_types'; +import type { BlocksState, BlockType } from '@/screens/blocks/types'; + +// This is a bandaid as it can get extremely +// expensive if there is too much data +/** + * Helps remove any possible duplication + * and sorts by height in case it bugs out + */ +const uniqueAndSort = R.pipe( + R.uniqBy((r: BlockType) => r?.height), + R.sort(R.descend((r) => r?.height)) +); + +const formatBlocks = (data: BlocksListenerSubscription): BlockType[] => { + let formattedData = data.blocks; + if (data.blocks.length === 51) { + formattedData = data.blocks.slice(0, 51); + } + return ( + formattedData?.map((x) => { + const proposerAddress = x?.validator?.providerOperatorAddress ?? ''; + const consumerAdx = x?.validator?.consumerOperatorAddress ?? ''; + return { + height: x.height, + txs: x.txs ?? 0, + hash: x.hash, + timestamp: x.timestamp, + proposer: proposerAddress, + consumer: consumerAdx, + }; + }) ?? [] + ); +}; + +const formatBlocksQuery = (data: BlocksQuery): BlockType[] => { + let formattedData = data.blocks; + if (data.blocks.length === 51) { + formattedData = data.blocks.slice(0, 51); + } + return ( + formattedData?.map((x) => { + const proposerAddress = x?.ccv_validator?.providerOperatorAddress ?? ''; + const consumerAdx = x?.ccv_validator?.consumerOperatorAddress ?? ''; + return { + height: x.height, + txs: x.txs ?? 0, + hash: x.hash, + timestamp: x.timestamp, + proposer: proposerAddress, + consumer: consumerAdx, + }; + }) ?? [] + ); +}; + +export const useBlocks = () => { + const [state, setState] = useState({ + loading: true, + exists: true, + items: [], + hasNextPage: false, + isNextPageLoading: true, + }); + + const handleSetState = useCallback((stateChange: (prevState: BlocksState) => BlocksState) => { + setState((prevState) => { + const newState = stateChange(prevState); + return R.equals(prevState, newState) ? prevState : newState; + }); + }, []); + + // ================================ + // block subscription + // ================================ + useBlocksListenerSubscription({ + variables: { + limit: 1, + offset: 0, + }, + onData: (data) => { + const newItems = uniqueAndSort([ + ...(data.data.data ? formatBlocks(data.data.data) : []), + ...state.items, + ]); + handleSetState((prevState) => ({ + ...prevState, + loading: false, + items: newItems, + })); + }, + }); + + // ================================ + // block query + // ================================ + const LIMIT = 51; + const blockQuery = useBlocksQuery({ + variables: { + limit: LIMIT, + offset: 1, + }, + onCompleted: (data) => { + const itemsLength = data.blocks.length; + const newItems = uniqueAndSort([...state.items, ...formatBlocksQuery(data)]); + handleSetState((prevState) => ({ + ...prevState, + loading: false, + items: newItems, + hasNextPage: itemsLength === 51, + isNextPageLoading: false, + })); + }, + onError: () => { + handleSetState((prevState) => ({ ...prevState, loading: false })); + }, + }); + + const loadNextPage = async () => { + handleSetState((prevState) => ({ ...prevState, isNextPageLoading: true })); + // refetch query + await blockQuery + .fetchMore({ + variables: { + offset: state.items.length, + limit: LIMIT, + }, + }) + .then(({ data }) => { + const itemsLength = data.blocks.length; + const newItems = uniqueAndSort([...state.items, ...formatBlocks(data)]); + + // set new state + handleSetState((prevState) => ({ + ...prevState, + items: newItems, + isNextPageLoading: false, + hasNextPage: itemsLength === 51, + })); + }); + }; + + const itemCount = state.hasNextPage ? state.items.length + 1 : state.items.length; + const loadMoreItems = state.isNextPageLoading ? () => null : loadNextPage; + const isItemLoaded = (index: number) => !state.hasNextPage || index < state.items.length; + + return { + state, + loadNextPage, + itemCount, + loadMoreItems, + isItemLoaded, + }; +}; diff --git a/apps/web-stride/src/screens/blocks/types.ts b/apps/web-stride/src/screens/blocks/types.ts new file mode 100644 index 0000000000..1199f718be --- /dev/null +++ b/apps/web-stride/src/screens/blocks/types.ts @@ -0,0 +1,18 @@ +export interface BlockType { + height: number; + txs: number; + timestamp: string; + proposer: string; + consumer: string; + hash: string; +} + +export interface BlocksState { + loading: boolean; + exists: boolean; + hasNextPage: boolean; + isNextPageLoading: boolean; + items: BlockType[]; +} + +export type ItemType = BlockType; diff --git a/apps/web-stride/src/screens/home/components/blocks/components/desktop/index.tsx b/apps/web-stride/src/screens/home/components/blocks/components/desktop/index.tsx new file mode 100644 index 0000000000..f738ddb4f4 --- /dev/null +++ b/apps/web-stride/src/screens/home/components/blocks/components/desktop/index.tsx @@ -0,0 +1,134 @@ +import AvatarName from '@/components/avatar_name'; +import Timestamp from '@/components/Timestamp'; +import useAppTranslation from '@/hooks/useAppTranslation'; +import useProviderCustomValidator from '@/hooks/useProviderCustomValidator'; +import useStyles from '@/screens/home/components/blocks/components/desktop/styles'; +import { columns } from '@/screens/home/components/blocks/components/desktop/utils'; +import type { ItemType } from '@/screens/home/components/blocks/types'; +import { getMiddleEllipsis } from '@/utils/get_middle_ellipsis'; +import { BLOCK_DETAILS } from '@/utils/go_to_page'; +import Table from '@mui/material/Table'; +import TableBody from '@mui/material/TableBody'; +import TableCell from '@mui/material/TableCell'; +import TableHead from '@mui/material/TableHead'; +import TableRow from '@mui/material/TableRow'; +import { AnimatePresence, motion, Variants } from 'framer-motion'; +import Link from 'next/link'; +import numeral from 'numeral'; +import { FC } from 'react'; + +type BlockRowProps = { + item: ItemType; +}; + +const variants: Variants = { + initial: { + height: 0, + display: 'flex', + alignItems: 'center', + overflow: 'hidden', + clipPath: 'inset(0 50 0 50)', + }, + animate: { + height: 50, + display: 'flex', + alignItems: 'center', + overflow: 'hidden', + clipPath: 'inset(0 0 0 0)', + }, + exit: { + height: 50, + display: 'flex', + alignItems: 'center', + overflow: 'hidden', + position: 'absolute', + marginTop: [50, 60], + opacity: 0, + transition: { duration: 0.5 }, + }, +}; + +const BlockRow: FC = ({ item }) => { + const { profile } = useProviderCustomValidator(item.proposer); + const name = profile?.name ?? item.proposer; + const imageUrl = profile?.imageUrl ?? ''; + const address = profile?.address ?? item.proposer; + + const formattedData = { + height: ( + + {numeral(item.height).format('0,0')} + + ), + txs: numeral(item.txs).format('0,0'), + time: , + proposer: ( + + ), + hash: getMiddleEllipsis(item.hash, { + beginning: 6, + ending: 5, + }), + }; + return ( + + {columns.map((column) => { + const { key, align } = column; + return ( + + + {formattedData[key as keyof typeof formattedData]} + + + ); + })} + + ); +}; + +type DesktopProps = { + className?: string; + items: ItemType[]; +}; + +const Desktop: FC = ({ className, items }) => { + const { t } = useAppTranslation('blocks'); + const { classes, cx } = useStyles(); + + return ( +
+ + + + {columns.map((column) => ( + + {t(column.key)} + + ))} + + + + + {items.map((row) => ( + + ))} + + +
+
+ ); +}; + +export default Desktop; diff --git a/apps/web-stride/src/screens/home/components/blocks/components/mobile/index.tsx b/apps/web-stride/src/screens/home/components/blocks/components/mobile/index.tsx new file mode 100644 index 0000000000..cf99dd8d68 --- /dev/null +++ b/apps/web-stride/src/screens/home/components/blocks/components/mobile/index.tsx @@ -0,0 +1,65 @@ +import AvatarName from '@/components/avatar_name'; +import SingleBlockMobile from '@/components/single_block_mobile'; +import Timestamp from '@/components/Timestamp'; +import useProviderCustomValidator from '@/hooks/useProviderCustomValidator'; +import type { ItemType } from '@/screens/home/components/blocks/types'; +import { getMiddleEllipsis } from '@/utils/get_middle_ellipsis'; +import { BLOCK_DETAILS } from '@/utils/go_to_page'; +import Divider from '@mui/material/Divider'; +import Link from 'next/link'; +import numeral from 'numeral'; +import { FC, Fragment } from 'react'; + +type BlocksItemProps = { + item: ItemType; + i: number; + isLast: boolean; +}; + +const BlocksItem: FC = ({ item, i, isLast }) => { + const { profile } = useProviderCustomValidator(item.proposer); + const name = profile?.name ?? item.proposer; + const imageUrl = profile?.imageUrl ?? ''; + const address = profile?.address ?? item.proposer; + return ( + + + {numeral(item.height).format('0,0')} + + } + txs={numeral(item.txs).format('0,0')} + time={} + proposer={ + + } + hash={getMiddleEllipsis(item.hash, { + beginning: 13, + ending: 10, + })} + /> + {!isLast && } + + ); +}; + +type MobileProps = { + className?: string; + items: ItemType[]; +}; + +const Mobile: FC = ({ className, items }) => ( +
+ {items?.map((x, i) => ( + + ))} +
+); + +export default Mobile; diff --git a/apps/web-stride/src/screens/home/components/blocks/hooks.ts b/apps/web-stride/src/screens/home/components/blocks/hooks.ts new file mode 100644 index 0000000000..7913ab4b0d --- /dev/null +++ b/apps/web-stride/src/screens/home/components/blocks/hooks.ts @@ -0,0 +1,52 @@ +import * as R from 'ramda'; +import { useCallback, useState } from 'react'; +import { + BlocksListenerSubscription, + useBlocksListenerSubscription, +} from '@/graphql/types/general_types'; +import type { BlocksState } from '@/screens/home/components/blocks/types'; + +const formatBlocks = (data: BlocksListenerSubscription) => + data.blocks.map((x) => { + const proposerAddress = x?.validator ? x?.validator?.providerOperatorAddress : ''; + const consumerAdx = x?.validator?.consumerOperatorAddress ?? ''; + return { + height: x.height, + txs: x.txs ?? 0, + hash: x.hash, + timestamp: x.timestamp, + proposer: proposerAddress, + consumer: consumerAdx, + }; + }) ?? []; + +export const useBlocks = () => { + const [state, setState] = useState({ + loading: true, + items: [], + }); + + const handleSetState = useCallback((stateChange: (prevState: BlocksState) => BlocksState) => { + setState((prevState) => { + const newState = stateChange(prevState); + return R.equals(prevState, newState) ? prevState : newState; + }); + }, []); + + // ================================ + // block subscription + // ================================ + useBlocksListenerSubscription({ + onData: (data) => { + handleSetState((prevState) => ({ + ...prevState, + loading: false, + items: data.data.data ? formatBlocks(data.data.data) : [], + })); + }, + }); + + return { + state, + }; +}; diff --git a/apps/web-stride/src/screens/home/components/blocks/types.ts b/apps/web-stride/src/screens/home/components/blocks/types.ts new file mode 100644 index 0000000000..6b4e991641 --- /dev/null +++ b/apps/web-stride/src/screens/home/components/blocks/types.ts @@ -0,0 +1,15 @@ +export interface BlockType { + height: number; + txs: number; + timestamp: string; + proposer: string; + consumer: string; + hash: string; +} + +export interface BlocksState { + loading: boolean; + items: BlockType[]; +} + +export type ItemType = BlockType; diff --git a/apps/web-stride/src/screens/validator_details/hooks.ts b/apps/web-stride/src/screens/validator_details/hooks.ts new file mode 100644 index 0000000000..1676c2ece8 --- /dev/null +++ b/apps/web-stride/src/screens/validator_details/hooks.ts @@ -0,0 +1,161 @@ +import { useRouter } from 'next/router'; +import * as R from 'ramda'; +import { useCallback, useEffect, useState } from 'react'; +import chainConfig from '@/chainConfig'; +import { useValidatorDetailsQuery, ValidatorDetailsQuery } from '@/graphql/types/general_types'; +import { useDesmosProfile } from '@/hooks/use_desmos_profile'; +import { SlashingParams } from '@/models'; +import { StatusType, ValidatorDetailsState } from '@/screens/validator_details/types'; +import { formatToken } from '@/utils/format_token'; +import { getValidatorCondition } from '@/utils/get_validator_condition'; + +const { extra, votingPowerTokenUnit } = chainConfig(); + +const initialTokenDenom: TokenUnit = { + value: '0', + displayDenom: '', + baseDenom: '', + exponent: 0, +}; + +const initialState: ValidatorDetailsState = { + exists: true, + desmosProfile: null, + overview: { + validator: '', + operatorAddress: '', + selfDelegateAddress: '', + description: '', + website: '', + }, + status: { + status: 0, + jailed: false, + tombstoned: false, + condition: 0, + commission: 0, + missedBlockCounter: 0, + signedBlockWindow: 0, + maxRate: '0', + }, + votingPower: { + height: 0, + overall: initialTokenDenom, + self: 0, + }, +}; + +// ============================ +// overview +// ============================ +const formatOverview = (data: ValidatorDetailsQuery) => { + const operatorAddress = data?.validator?.[0]?.validatorInfo?.operatorAddress ?? ''; + const selfDelegateAddress = data?.validator?.[0]?.validatorInfo?.selfDelegateAddress ?? ''; + const profile = { + validator: operatorAddress, + operatorAddress, + selfDelegateAddress, + description: data.validator[0]?.validatorDescriptions?.[0]?.details ?? '', + website: data.validator[0]?.validatorDescriptions?.[0]?.website ?? '', + }; + + return profile; +}; + +// ============================ +// status +// ============================ +const formatStatus = (data: ValidatorDetailsQuery) => { + const slashingParams = SlashingParams.fromJson(data?.slashingParams?.[0]?.params ?? {}); + const missedBlockCounter = + data.validator[0]?.validatorSigningInfos?.[0]?.missedBlocksCounter ?? 0; + const { signedBlockWindow } = slashingParams; + const condition = getValidatorCondition(signedBlockWindow, missedBlockCounter); + + const profile: StatusType = { + status: data.validator[0]?.validatorStatuses?.[0]?.status ?? 3, + jailed: data.validator[0]?.validatorStatuses?.[0]?.jailed ?? false, + tombstoned: data.validator[0]?.validatorSigningInfos?.[0]?.tombstoned ?? false, + commission: data.validator[0]?.validatorCommissions?.[0]?.commission ?? 0, + condition, + missedBlockCounter, + signedBlockWindow, + maxRate: data?.validator?.[0]?.validatorInfo?.maxRate ?? '0', + }; + + return profile; +}; + +// ============================ +// votingPower +// ============================ +const formatVotingPower = (data: ValidatorDetailsQuery) => { + const selfVotingPower = + (data.validator[0]?.validatorVotingPowers?.[0]?.votingPower ?? 0) / + 10 ** (extra.votingPowerExponent ?? 0); + + const votingPower = { + self: selfVotingPower, + overall: formatToken(data?.stakingPool?.[0]?.bonded ?? 0, votingPowerTokenUnit), + height: data.validator[0]?.validatorVotingPowers?.[0]?.height ?? 0, + }; + + return votingPower; +}; + +export const useValidatorDetails = () => { + const router = useRouter(); + const [state, setState] = useState(initialState); + + const handleSetState = useCallback( + (stateChange: (prevState: ValidatorDetailsState) => ValidatorDetailsState) => { + setState((prevState) => { + const newState = stateChange(prevState); + return R.equals(prevState, newState) ? prevState : newState; + }); + }, + [] + ); + + // ========================== + // Fetch Data + // ========================== + const { loading } = useValidatorDetailsQuery({ + variables: { + address: router.query.address as string, + }, + onCompleted: (data) => { + handleSetState((prevState) => ({ ...prevState, ...formatAccountQuery(data) })); + }, + }); + + // ========================== + // Desmos Profile + // ========================== + const { data: dataDesmosProfile, loading: loadingDesmosProfile } = useDesmosProfile({ + addresses: [state.overview.selfDelegateAddress], + skip: !extra.profile || !state.overview.selfDelegateAddress, + }); + useEffect( + () => setState((prevState) => ({ ...prevState, desmosProfile: dataDesmosProfile?.[0] })), + [dataDesmosProfile] + ); + + return { state, loading: loading || loadingDesmosProfile }; +}; + +function formatAccountQuery(data: ValidatorDetailsQuery): Partial { + const stateChange: Partial = {}; + + if (!data.validator.length) { + stateChange.exists = false; + return stateChange; + } + + stateChange.overview = formatOverview(data); + + stateChange.status = formatStatus(data); + stateChange.votingPower = formatVotingPower(data); + + return stateChange; +} diff --git a/apps/web-stride/src/screens/validators/components/list/hooks.ts b/apps/web-stride/src/screens/validators/components/list/hooks.ts new file mode 100644 index 0000000000..5793afad60 --- /dev/null +++ b/apps/web-stride/src/screens/validators/components/list/hooks.ts @@ -0,0 +1,212 @@ +import Big from 'big.js'; +import numeral from 'numeral'; +import * as R from 'ramda'; +import { SyntheticEvent, useCallback, useState } from 'react'; +import chainConfig from '@/chainConfig'; +import { useValidatorsQuery, ValidatorsQuery } from '@/graphql/types/general_types'; +import { SlashingParams } from '@/models'; +import type { + ItemType, + ValidatorsState, + ValidatorType, +} from '@/screens/validators/components/list/types'; +import { formatToken } from '@/utils/format_token'; +import { getValidatorCondition } from '@/utils/get_validator_condition'; + +const { extra, votingPowerTokenUnit } = chainConfig(); + +// ========================== +// Parse data +// ========================== +const formatValidators = (data: ValidatorsQuery): Partial => { + const slashingParams = SlashingParams.fromJson(data?.slashingParams?.[0]?.params ?? {}); + const votingPowerOverall = + numeral( + formatToken(data?.stakingPool?.[0]?.bondedTokens ?? 0, votingPowerTokenUnit).value + ).value() ?? 0; + + const { signedBlockWindow } = slashingParams; + + let formattedItems: ValidatorType[] = data.validator + .filter((x) => x.validatorInfo && x.validatorDescriptions) + .map((x) => { + const votingPower = + (x?.validatorVotingPowers?.[0]?.votingPower ?? 0) / 10 ** (extra.votingPowerExponent ?? 0); + const votingPowerPercent = votingPowerOverall + ? numeral((votingPower / votingPowerOverall) * 100).value() + : 0; + + const missedBlockCounter = x?.validatorSigningInfos?.[0]?.missedBlocksCounter ?? 0; + const condition = getValidatorCondition(signedBlockWindow, missedBlockCounter); + + return { + moniker: x.validatorDescriptions ?? '', + validator: x.validatorInfo?.operatorAddress ?? '', + votingPower: votingPower ?? 0, + votingPowerPercent: votingPowerPercent ?? 0, + commission: (x?.validatorCommissions?.[0]?.commission ?? 0) * 100, + condition, + status: x?.validatorStatuses?.[0]?.status ?? 0, + jailed: x?.validatorStatuses?.[0]?.jailed ?? false, + tombstoned: x?.validatorSigningInfos?.[0]?.tombstoned ?? false, + }; + }); + + // get the top 34% validators + formattedItems = formattedItems.sort((a, b) => (a.votingPower > b.votingPower ? -1 : 1)); + + // add key to indicate they are part of top 34% + let cumulativeVotingPower = Big(0); + let reached = false; + formattedItems.forEach((x) => { + if (x.status === 3) { + const totalVp = cumulativeVotingPower.add(x.votingPowerPercent); + if (totalVp.lte(34) && !reached) { + x.topVotingPower = true; + } + + if (totalVp.gt(34) && !reached) { + x.topVotingPower = true; + reached = true; + } + + cumulativeVotingPower = totalVp; + } + }); + + return { + votingPowerOverall, + items: formattedItems, + }; +}; + +export const useValidators = () => { + const [search, setSearch] = useState(''); + const [state, setState] = useState({ + loading: true, + exists: true, + items: [], + votingPowerOverall: 0, + tab: 0, + sortKey: 'validator.name', + sortDirection: 'asc', + }); + + const handleSetState = useCallback( + (stateChange: (prevState: ValidatorsState) => ValidatorsState) => { + setState((prevState) => { + const newState = stateChange(prevState); + return R.equals(prevState, newState) ? prevState : newState; + }); + }, + [] + ); + + // ========================== + // Fetch Data + // ========================== + useValidatorsQuery({ + onCompleted: (data) => { + handleSetState((prevState) => ({ + ...prevState, + loading: false, + ...formatValidators(data), + })); + }, + onError: () => { + handleSetState((prevState) => ({ + ...prevState, + loading: false, + exists: false, + })); + }, + }); + + const handleTabChange = useCallback( + (_event: SyntheticEvent, newValue: number) => { + setState((prevState) => ({ + ...prevState, + tab: newValue, + })); + }, + [] + ); + + const handleSort = useCallback( + (key: string) => { + if (key === state.sortKey) { + setState((prevState) => ({ + ...prevState, + sortDirection: prevState.sortDirection === 'asc' ? 'desc' : 'asc', + })); + } else { + setState((prevState) => ({ + ...prevState, + sortKey: key, + sortDirection: 'asc', // new key so we start the sort by asc + })); + } + }, + [state.sortKey] + ); + + const handleSearch = useCallback((value: string) => { + setSearch(value); + }, []); + + const sortItems = useCallback( + (items: ItemType[]) => { + let sorted: ItemType[] = R.clone(items); + + if (state.tab === 0) { + sorted = sorted.filter((x) => x.status === 3); + } + + if (state.tab === 1) { + sorted = sorted.filter((x) => x.status !== 3); + } + + if (search) { + sorted = sorted.filter((x) => { + const formattedSearch = search.toLowerCase().replace(/ /g, ''); + return ( + x.validator.name.toLowerCase().replace(/ /g, '').includes(formattedSearch) || + x.validator.address.toLowerCase().includes(formattedSearch) + ); + }); + } + + if (state.sortKey && state.sortDirection) { + sorted.sort((a, b) => { + let compareA = R.pathOr('', [...state.sortKey.split('.')], a); + let compareB = R.pathOr('', [...state.sortKey.split('.')], b); + + if (typeof compareA === 'string' && typeof compareB === 'string') { + compareA = compareA.toLowerCase(); + compareB = compareB.toLowerCase(); + } + + if (compareA < compareB) { + return state.sortDirection === 'asc' ? -1 : 1; + } + if (compareA > compareB) { + return state.sortDirection === 'asc' ? 1 : -1; + } + return 0; + }); + } + + return sorted; + }, + [search, state.sortDirection, state.sortKey, state.tab] + ); + + return { + state, + handleTabChange, + handleSort, + handleSearch, + sortItems, + search, + }; +}; diff --git a/apps/web-stride/src/screens/validators/components/list/index.tsx b/apps/web-stride/src/screens/validators/components/list/index.tsx new file mode 100644 index 0000000000..26965f3d07 --- /dev/null +++ b/apps/web-stride/src/screens/validators/components/list/index.tsx @@ -0,0 +1,57 @@ +import { FC, ReactNode, useMemo } from 'react'; +import Box from '@/components/box'; +import LoadAndExist from '@/components/load_and_exist'; +import NoData from '@/components/no_data'; +import Desktop from '@/screens/validators/components/list/components/desktop'; +import Mobile from '@/screens/validators/components/list/components/mobile'; +import Tabs from '@/screens/validators/components/list/components/tabs'; +import { useValidators } from '@/screens/validators/components/list/hooks'; +import useStyles from '@/screens/validators/components/list/styles'; +import { useDisplayStyles } from '@/styles/useSharedStyles'; +import useCustomProfile from '@/hooks/useCustomProfile'; + +const List: FC = ({ className }) => { + const { classes, cx } = useStyles(); + const display = useDisplayStyles().classes; + const { state, handleTabChange, handleSearch, handleSort, sortItems, search } = useValidators(); + const { profiles: dataProfiles, loading } = useCustomProfile(state.items); + const items = useMemo( + () => sortItems(state.items.map((x, i) => ({ ...x, validator: dataProfiles?.[i] }))), + [state.items, dataProfiles, sortItems] + ); + + let list: ReactNode; + + if (!items.length) { + list = ; + } else { + list = ( + <> + + + + ); + } + + return ( + + + +
{list}
+
+
+ ); +}; + +export default List; diff --git a/apps/web-stride/src/screens/validators/components/list/types.ts b/apps/web-stride/src/screens/validators/components/list/types.ts new file mode 100644 index 0000000000..52031b052b --- /dev/null +++ b/apps/web-stride/src/screens/validators/components/list/types.ts @@ -0,0 +1,32 @@ +interface MonikerType { + moniker?: string | null | undefined; + avatar_url?: string | null; + validator_address: string; + website?: string | null; + details?: string | null; +} + +export interface ValidatorType { + moniker: MonikerType[]; + validator: string; + votingPower: number; + votingPowerPercent: number; + commission: number; + condition: number; + status: number; + jailed: boolean; + tombstoned: boolean; + topVotingPower?: boolean; // top 34% VP +} + +export interface ValidatorsState { + loading: boolean; + exists: boolean; + tab: number; + sortKey: string; + sortDirection: 'asc' | 'desc'; + votingPowerOverall: number; + items: ValidatorType[]; +} + +export type ItemType = Override;