From 80246d0c0d3f23308b39688c13818e3e718af480 Mon Sep 17 00:00:00 2001 From: Xiong Date: Tue, 11 Jun 2024 10:50:10 -0400 Subject: [PATCH 1/2] update gov_params metadata --- .../src/graphql/general/params.graphql | 8 +- .../graphql/general/proposal_details.graphql | 4 +- .../src/graphql/types/general_types.ts | 70 +++----- .../src/models/gov_params/index.ts | 74 ++++++++ .../components/overview/index.tsx | 161 ++++++++++++++++++ .../components/votes_graph/hooks.ts | 71 ++++++++ .../src/screens/proposal_details/hooks.ts | 95 +++++++++++ .../src/screens/proposal_details/types.ts | 24 +++ 8 files changed, 450 insertions(+), 57 deletions(-) create mode 100644 apps/web-stratos/src/models/gov_params/index.ts create mode 100644 apps/web-stratos/src/screens/proposal_details/components/overview/index.tsx create mode 100644 apps/web-stratos/src/screens/proposal_details/components/votes_graph/hooks.ts create mode 100644 apps/web-stratos/src/screens/proposal_details/hooks.ts create mode 100644 apps/web-stratos/src/screens/proposal_details/types.ts diff --git a/apps/web-stratos/src/graphql/general/params.graphql b/apps/web-stratos/src/graphql/general/params.graphql index b5415d40e3..857ff3a799 100644 --- a/apps/web-stratos/src/graphql/general/params.graphql +++ b/apps/web-stratos/src/graphql/general/params.graphql @@ -11,9 +11,9 @@ query Params { distributionParams: distribution_params(limit: 1, order_by: {height: desc}) { params } - govParams: gov_params (limit: 1, order_by: {height: desc}) { - depositParams: deposit_params - tallyParams: tally_params - votingParams: voting_params + govParams: gov_params(limit: 1, order_by: {height: desc}) { + one_row_id + params + height } } diff --git a/apps/web-stratos/src/graphql/general/proposal_details.graphql b/apps/web-stratos/src/graphql/general/proposal_details.graphql index 82ddef911b..e94fb744df 100644 --- a/apps/web-stratos/src/graphql/general/proposal_details.graphql +++ b/apps/web-stratos/src/graphql/general/proposal_details.graphql @@ -7,7 +7,7 @@ query ProposalDetails($proposalId: Int) { content proposalId: id submitTime: submit_time - proposalType: proposal_type + #proposalType: proposal_type depositEndTime: deposit_end_time votingStartTime: voting_start_time votingEndTime: voting_end_time @@ -25,7 +25,7 @@ query ProposalDetailsTally($proposalId: Int) { bondedTokens: bonded_tokens } quorum: gov_params (limit: 1, order_by: {height: desc}) { - tallyParams: tally_params + tallyParams: params } } diff --git a/apps/web-stratos/src/graphql/types/general_types.ts b/apps/web-stratos/src/graphql/types/general_types.ts index 55bf8e6cd0..7e5fe19906 100644 --- a/apps/web-stratos/src/graphql/types/general_types.ts +++ b/apps/web-stratos/src/graphql/types/general_types.ts @@ -2444,28 +2444,14 @@ export type Genesis_Variance_Fields = { /** 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']; -}; - - -/** 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; + params: Scalars['jsonb']; }; /** columns and relationships of "gov_params" */ -export type Gov_ParamsVoting_ParamsArgs = { +export type Gov_ParamsParamsArgs = { path?: InputMaybe; }; @@ -2510,11 +2496,9 @@ 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; + params?: InputMaybe; }; /** aggregate max on columns */ @@ -2531,25 +2515,19 @@ export type Gov_Params_Min_Fields = { /** 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; + 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 */ OneRowId = 'one_row_id', /** column name */ - TallyParams = 'tally_params', - /** column name */ - VotingParams = 'voting_params' + Params = 'params' } /** aggregate stddev on columns */ @@ -3421,18 +3399,17 @@ export type Proposal = { deposit_end_time?: Maybe; description: Scalars['String']; id: Scalars['Int']; + metadata: Scalars['String']; /** 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 */ @@ -3604,11 +3581,10 @@ export type Proposal_Bool_Exp = { deposit_end_time?: InputMaybe; description?: InputMaybe; id?: InputMaybe; + metadata?: 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; @@ -3858,8 +3834,7 @@ export type Proposal_Max_Fields = { deposit_end_time?: Maybe; description?: Maybe; id?: Maybe; - proposal_route?: Maybe; - proposal_type?: Maybe; + metadata?: Maybe; proposer_address?: Maybe; status?: Maybe; submit_time?: Maybe; @@ -3873,8 +3848,7 @@ export type Proposal_Max_Order_By = { deposit_end_time?: InputMaybe; description?: InputMaybe; id?: InputMaybe; - proposal_route?: InputMaybe; - proposal_type?: InputMaybe; + metadata?: InputMaybe; proposer_address?: InputMaybe; status?: InputMaybe; submit_time?: InputMaybe; @@ -3889,8 +3863,7 @@ export type Proposal_Min_Fields = { deposit_end_time?: Maybe; description?: Maybe; id?: Maybe; - proposal_route?: Maybe; - proposal_type?: Maybe; + metadata?: Maybe; proposer_address?: Maybe; status?: Maybe; submit_time?: Maybe; @@ -3904,8 +3877,7 @@ export type Proposal_Min_Order_By = { deposit_end_time?: InputMaybe; description?: InputMaybe; id?: InputMaybe; - proposal_route?: InputMaybe; - proposal_type?: InputMaybe; + metadata?: InputMaybe; proposer_address?: InputMaybe; status?: InputMaybe; submit_time?: InputMaybe; @@ -3920,11 +3892,10 @@ export type Proposal_Order_By = { deposit_end_time?: InputMaybe; description?: InputMaybe; id?: InputMaybe; + metadata?: 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; @@ -3950,9 +3921,7 @@ export enum Proposal_Select_Column { /** column name */ ProposalRoute = 'proposal_route', /** column name */ - ProposalType = 'proposal_type', - /** column name */ - ProposerAddress = 'proposer_address', + Metadata = 'metadata', /** column name */ Status = 'status', /** column name */ @@ -11331,14 +11300,14 @@ export type OnlineVotingPowerQuery = { activeTotal: { __typename?: 'validator_st export type ParamsQueryVariables = Exact<{ [key: string]: never; }>; -export type ParamsQuery = { stakingParams: Array<{ __typename?: 'staking_params', params: any }>, slashingParams: Array<{ __typename?: 'slashing_params', params: any }>, mintParams: Array<{ __typename?: 'mint_params', params: any }>, distributionParams: Array<{ __typename?: 'distribution_params', params: any }>, govParams: Array<{ __typename?: 'gov_params', depositParams: any, tallyParams: any, votingParams: any }> }; +export type ParamsQuery = { stakingParams: Array<{ __typename?: 'staking_params', params: any }>, slashingParams: Array<{ __typename?: 'slashing_params', params: any }>, mintParams: Array<{ __typename?: 'mint_params', params: any }>, distributionParams: Array<{ __typename?: 'distribution_params', params: any }>, govParams: Array<{ __typename?: 'gov_params', one_row_id: boolean, params: any, height: any }> }; export type ProposalDetailsQueryVariables = Exact<{ proposalId?: InputMaybe; }>; -export type ProposalDetailsQuery = { proposal: Array<{ __typename?: 'proposal', title: string, description: string, status?: string | null, content: any, proposer: string, proposalId: number, submitTime: any, proposalType: string, depositEndTime?: any | null, votingStartTime?: any | null, votingEndTime?: any | null }> }; +export type ProposalDetailsQuery = { proposal: Array<{ __typename?: 'proposal', title: string, description: string, status?: string | null, content: any, proposer: string, proposalId: number, submitTime: any, depositEndTime?: any | null, votingStartTime?: any | null, votingEndTime?: any | null }> }; export type ProposalDetailsTallyQueryVariables = Exact<{ proposalId?: InputMaybe; @@ -12330,9 +12299,9 @@ export const ParamsDocument = gql` params } govParams: gov_params(limit: 1, order_by: {height: desc}) { - depositParams: deposit_params - tallyParams: tally_params - votingParams: voting_params + one_row_id + params + height } } `; @@ -12373,7 +12342,6 @@ export const ProposalDetailsDocument = gql` content proposalId: id submitTime: submit_time - proposalType: proposal_type depositEndTime: deposit_end_time votingStartTime: voting_start_time votingEndTime: voting_end_time @@ -12424,7 +12392,7 @@ export const ProposalDetailsTallyDocument = gql` bondedTokens: bonded_tokens } quorum: gov_params(limit: 1, order_by: {height: desc}) { - tallyParams: tally_params + tallyParams: params } } `; diff --git a/apps/web-stratos/src/models/gov_params/index.ts b/apps/web-stratos/src/models/gov_params/index.ts new file mode 100644 index 0000000000..edc43eae95 --- /dev/null +++ b/apps/web-stratos/src/models/gov_params/index.ts @@ -0,0 +1,74 @@ +import * as R from 'ramda'; + +class GovParams { + public depositParams: { + minDeposit: Array<{ + denom: string; + amount: string; + }>; + maxDepositPeriod: number; + }; + + public tallyParams: { + quorum: string; + threshold: string; + vetoThreshold: string; + }; + + public votingParams: { + votingPeriod: number; + }; + + constructor(payload: object) { + this.depositParams = R.pathOr( + { + minDeposit: [], + maxDepositPeriod: 0, + }, + ['depositParams'], + payload + ); + this.tallyParams = R.pathOr( + { + quorum: '', + threshold: '', + vetoThreshold: '', + }, + ['tallyParams'], + payload + ); + this.votingParams = R.pathOr( + { + votingPeriod: 0, + }, + ['votingParams'], + payload + ); + } + + static fromJson(data: object): GovParams { + return { + depositParams: { + minDeposit: R.pathOr( + [], + ['params', 'min_deposit'], + data + ).map((x) => ({ + denom: x.denom, + amount: String(x.amount), + })), + maxDepositPeriod: R.pathOr(0, ['params', 'max_deposit_period'], data), + }, + tallyParams: { + quorum: R.pathOr('0', ['params', 'quorum'], data), + threshold: R.pathOr('0', ['params', 'threshold'], data), + vetoThreshold: R.pathOr('0', ['params', 'veto_threshold'], data), + }, + votingParams: { + votingPeriod: R.pathOr(0, ['params', 'voting_period'], data), + }, + }; + } +} + +export default GovParams; diff --git a/apps/web-stratos/src/screens/proposal_details/components/overview/index.tsx b/apps/web-stratos/src/screens/proposal_details/components/overview/index.tsx new file mode 100644 index 0000000000..0e967c65f7 --- /dev/null +++ b/apps/web-stratos/src/screens/proposal_details/components/overview/index.tsx @@ -0,0 +1,161 @@ +import Divider from '@mui/material/Divider'; +import Typography from '@mui/material/Typography'; +import useAppTranslation from '@/hooks/useAppTranslation'; +import numeral from 'numeral'; +import * as R from 'ramda'; +import { FC, useCallback } from 'react'; +import { useRecoilValue } from 'recoil'; +import Box from '@/components/box'; +import Markdown from '@/components/markdown'; +import Name from '@/components/name'; +import SingleProposal from '@/components/single_proposal'; +import { useProfileRecoil } from '@/recoil/profiles/hooks'; +import { readDate, readTimeFormat } from '@/recoil/settings'; +import CommunityPoolSpend from '@/screens/proposal_details/components/overview/components/community_pool_spend'; +import ParamsChange from '@/screens/proposal_details/components/overview/components/params_change'; +import SoftwareUpgrade from '@/screens/proposal_details/components/overview/components/software_upgrade'; +import useStyles from '@/screens/proposal_details/components/overview/styles'; +import type { OverviewType } from '@/screens/proposal_details/types'; +import { getProposalType } from '@/screens/proposal_details/utils'; +import dayjs, { formatDayJs } from '@/utils/dayjs'; +import { formatNumber, formatToken } from '@/utils/format_token'; + +const Overview: FC<{ className?: string; overview: OverviewType }> = ({ className, overview }) => { + const dateFormat = useRecoilValue(readDate); + const timeFormat = useRecoilValue(readTimeFormat); + const { classes, cx } = useStyles(); + const { t } = useAppTranslation('proposals'); + + const type = + R.pathOr('', [0, '@type'], overview.content) === '' + ? getProposalType(R.pathOr('', ['@type'], overview.content)) + : getProposalType(R.pathOr('', [0, '@type'], overview.content)); + + const { address: proposerAddress, name: proposerName } = useProfileRecoil(overview.proposer); + const { name: recipientName } = useProfileRecoil(overview?.content?.recipient); + const proposerMoniker = proposerName || overview.proposer; + const recipientMoniker = recipientName || overview?.content?.recipient; + const amountRequested = overview.content?.amount + ? formatToken(overview.content?.amount[0]?.amount, overview.content?.amount[0]?.denom) + : null; + const parsedAmountRequested = amountRequested + ? `${formatNumber( + amountRequested.value, + amountRequested.exponent + )} ${amountRequested.displayDenom.toUpperCase()}` + : ''; + + const getExtraDetails = useCallback(() => { + let extraDetails = null; + if (type === 'parameterChangeProposal') { + extraDetails = ( + <> + + {t('changes')} + + + + ); + } else if (type === 'softwareUpgradeProposal') { + extraDetails = ( + <> + + {t('plan')} + + + + ); + } else if (type === 'communityPoolSpendProposal') { + extraDetails = ( + <> + + {t('content')} + + + + ); + } + + return extraDetails; + }, [overview.content, parsedAmountRequested, recipientMoniker, t, type]); + + const extra = getExtraDetails(); + + return ( + + + +
+ + {t('type')} + + + {t(type)} + + + {t('proposer')} + + + {!!overview.submitTime && ( + <> + + {t('submitTime')} + + + {formatDayJs(dayjs.utc(overview.submitTime), dateFormat, timeFormat)} + + + )} + {!!overview.depositEndTime && ( + <> + + {t('depositEndTime')} + + + {formatDayJs(dayjs.utc(overview.depositEndTime), dateFormat, timeFormat)} + + + )} + {!!overview.votingStartTime && ( + <> + + {t('votingStartTime')} + + + {formatDayJs(dayjs.utc(overview.votingStartTime), dateFormat, timeFormat)} + + + )} + {!!overview.votingEndTime && ( + <> + + {t('votingEndTime')} + + + {formatDayJs(dayjs.utc(overview.votingEndTime), dateFormat, timeFormat)} + + + )} + + {t('description')} + + + {extra} +
+
+ ); +}; + +export default Overview; diff --git a/apps/web-stratos/src/screens/proposal_details/components/votes_graph/hooks.ts b/apps/web-stratos/src/screens/proposal_details/components/votes_graph/hooks.ts new file mode 100644 index 0000000000..f086ae829d --- /dev/null +++ b/apps/web-stratos/src/screens/proposal_details/components/votes_graph/hooks.ts @@ -0,0 +1,71 @@ +import Big from 'big.js'; +import { useRouter } from 'next/router'; +import * as R from 'ramda'; +import { useCallback, useState } from 'react'; +import chainConfig from '@/chainConfig'; +import { + ProposalDetailsTallyQuery, + useProposalDetailsTallyQuery, +} from '@/graphql/types/general_types'; +import type { VotesGraphState } from '@/screens/proposal_details/components/votes_graph/types'; +import { formatToken } from '@/utils/format_token'; + +const { votingPowerTokenUnit } = chainConfig(); + +const defaultTokenUnit: TokenUnit = { + value: '0', + baseDenom: '', + displayDenom: '', + exponent: 0, +}; + +export const useVotesGraph = () => { + const router = useRouter(); + const [state, setState] = useState({ + votes: { + yes: defaultTokenUnit, + no: defaultTokenUnit, + abstain: defaultTokenUnit, + veto: defaultTokenUnit, + }, + bonded: defaultTokenUnit, + quorum: '0', + }); + + const handleSetState = useCallback( + (stateChange: (prevState: VotesGraphState) => VotesGraphState) => { + setState((prevState) => { + const newState = stateChange(prevState); + return R.equals(prevState, newState) ? prevState : newState; + }); + }, + [] + ); + + useProposalDetailsTallyQuery({ + variables: { + proposalId: parseFloat((router?.query?.id as string) ?? '0'), + }, + onCompleted: (data) => { + handleSetState((prevState) => ({ ...prevState, ...foramtProposalTally(data) })); + }, + }); + + const foramtProposalTally = (data: ProposalDetailsTallyQuery) => { + const quorumRaw = data.quorum?.[0]?.tallyParams?.quorum ?? '0'; + return { + votes: { + yes: formatToken(data?.proposalTallyResult?.[0]?.yes ?? '0', votingPowerTokenUnit), + no: formatToken(data?.proposalTallyResult?.[0]?.no ?? '0', votingPowerTokenUnit), + veto: formatToken(data?.proposalTallyResult?.[0]?.noWithVeto ?? '0', votingPowerTokenUnit), + abstain: formatToken(data?.proposalTallyResult?.[0]?.abstain ?? '0', votingPowerTokenUnit), + }, + bonded: formatToken(data?.stakingPool?.[0]?.bondedTokens ?? '0', votingPowerTokenUnit), + quorum: Big(quorumRaw)?.times(100).toFixed(2), + }; + }; + + return { + state, + }; +}; diff --git a/apps/web-stratos/src/screens/proposal_details/hooks.ts b/apps/web-stratos/src/screens/proposal_details/hooks.ts new file mode 100644 index 0000000000..43de7d33f2 --- /dev/null +++ b/apps/web-stratos/src/screens/proposal_details/hooks.ts @@ -0,0 +1,95 @@ +import { useRouter } from 'next/router'; +import * as R from 'ramda'; +import { useCallback, useState } from 'react'; +import type { ProposalState } from '@/screens/proposal_details/types'; +import { ProposalDetailsQuery, useProposalDetailsQuery } from '@/graphql/types/general_types'; + +// ========================= +// overview +// ========================= +const formatOverview = (data: ProposalDetailsQuery) => { + const DEFAULT_TIME = '0001-01-01T00:00:00'; + let votingStartTime = data?.proposal?.[0]?.votingStartTime ?? DEFAULT_TIME; + votingStartTime = votingStartTime === DEFAULT_TIME ? '' : votingStartTime; + let votingEndTime = data?.proposal?.[0]?.votingEndTime ?? DEFAULT_TIME; + votingEndTime = votingEndTime === DEFAULT_TIME ? '' : votingEndTime; + + const overview = { + proposer: data?.proposal?.[0]?.proposer ?? '', + content: data?.proposal?.[0]?.content ?? '', + title: data?.proposal?.[0]?.title ?? '', + id: data?.proposal?.[0]?.proposalId ?? '', + description: data?.proposal?.[0]?.description ?? '', + status: data?.proposal?.[0]?.status ?? '', + submitTime: data?.proposal?.[0]?.submitTime ?? '', + depositEndTime: data?.proposal?.[0]?.depositEndTime ?? '', + votingStartTime, + votingEndTime, + }; + + return overview; +}; + +// ========================== +// parsers +// ========================== +const formatProposalQuery = (data: ProposalDetailsQuery) => { + const stateChange: Partial = { + loading: false, + }; + + if (!data.proposal.length) { + stateChange.exists = false; + return stateChange; + } + + stateChange.overview = formatOverview(data); + + return stateChange; +}; + +export const useProposalDetails = () => { + const router = useRouter(); + const [state, setState] = useState({ + loading: true, + exists: true, + overview: { + proposer: '', + content: { + recipient: '', + amount: [], + }, + title: '', + id: 0, + description: '', + status: '', + submitTime: '', + depositEndTime: '', + votingStartTime: '', + votingEndTime: '', + }, + }); + + const handleSetState = useCallback((stateChange: (prevState: ProposalState) => ProposalState) => { + setState((prevState) => { + const newState = stateChange(prevState); + return R.equals(prevState, newState) ? prevState : newState; + }); + }, []); + + // ========================== + // fetch data + // ========================== + useProposalDetailsQuery({ + variables: { + proposalId: parseFloat((router?.query?.id as string) ?? '0'), + }, + onCompleted: (data) => { + handleSetState((prevState) => ({ ...prevState, ...formatProposalQuery(data) })); + }, + }); + + return { + state, + }; +}; diff --git a/apps/web-stratos/src/screens/proposal_details/types.ts b/apps/web-stratos/src/screens/proposal_details/types.ts new file mode 100644 index 0000000000..2055522c4b --- /dev/null +++ b/apps/web-stratos/src/screens/proposal_details/types.ts @@ -0,0 +1,24 @@ +export interface OverviewType { + title: string; + id: number; + proposer: string; + description: string; + status: string; + submitTime: string; + depositEndTime: string; + votingStartTime: string | null; + votingEndTime: string | null; + content: { + recipient: string; + amount: Array<{ + amount: string; + denom: string; + }>; + }; +} + +export interface ProposalState { + loading: boolean; + exists: boolean; + overview: OverviewType; +} From d472f7e2f2b57df1d543dd4e7dd111718fe92797 Mon Sep 17 00:00:00 2001 From: Xiong Date: Tue, 18 Jun 2024 17:49:38 -0400 Subject: [PATCH 2/2] update --- .../src/graphql/general/params.graphql | 1 - .../src/graphql/general/token_price.graphql | 1 - .../src/graphql/types/general_types.ts | 5331 +---------------- 3 files changed, 256 insertions(+), 5077 deletions(-) diff --git a/apps/web-stratos/src/graphql/general/params.graphql b/apps/web-stratos/src/graphql/general/params.graphql index 857ff3a799..322ead5a1f 100644 --- a/apps/web-stratos/src/graphql/general/params.graphql +++ b/apps/web-stratos/src/graphql/general/params.graphql @@ -12,7 +12,6 @@ query Params { params } govParams: gov_params(limit: 1, order_by: {height: desc}) { - one_row_id params height } diff --git a/apps/web-stratos/src/graphql/general/token_price.graphql b/apps/web-stratos/src/graphql/general/token_price.graphql index 8c11321b98..3ed50b2348 100644 --- a/apps/web-stratos/src/graphql/general/token_price.graphql +++ b/apps/web-stratos/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-stratos/src/graphql/types/general_types.ts b/apps/web-stratos/src/graphql/types/general_types.ts index 7e5fe19906..0e297b478f 100644 --- a/apps/web-stratos/src/graphql/types/general_types.ts +++ b/apps/web-stratos/src/graphql/types/general_types.ts @@ -22,6 +22,7 @@ export type Scalars = { _dec_coin: any; _text: any; bigint: any; + json: any; jsonb: any; numeric: any; smallint: any; @@ -181,26 +182,18 @@ export type Account = { address: Scalars['String']; /** 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; }; @@ -214,16 +207,6 @@ export type AccountProposal_DepositsArgs = { }; -/** columns and relationships of "account" */ -export type AccountProposal_Deposits_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "account" */ export type AccountProposal_VotesArgs = { distinct_on?: InputMaybe>; @@ -234,16 +217,6 @@ export type AccountProposal_VotesArgs = { }; -/** columns and relationships of "account" */ -export type AccountProposal_Votes_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "account" */ export type AccountProposalsArgs = { distinct_on?: InputMaybe>; @@ -274,16 +247,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>; @@ -293,38 +256,6 @@ 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>; @@ -339,18 +270,6 @@ export type Account_Bool_Exp = { 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; @@ -375,43 +294,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>; @@ -421,20 +303,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; @@ -449,55 +317,6 @@ 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; -}; - -/** 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; -}; - /** columns and relationships of "average_block_time_per_day" */ export type Average_Block_Time_Per_Day = { __typename?: 'average_block_time_per_day'; @@ -505,43 +324,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>; @@ -551,20 +333,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; @@ -579,55 +347,6 @@ 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; -}; - -/** 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; -}; - /** columns and relationships of "average_block_time_per_hour" */ export type Average_Block_Time_Per_Hour = { __typename?: 'average_block_time_per_hour'; @@ -635,43 +354,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>; @@ -681,20 +363,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; @@ -709,55 +377,6 @@ 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; -}; - -/** 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; -}; - /** columns and relationships of "average_block_time_per_minute" */ export type Average_Block_Time_Per_Minute = { __typename?: 'average_block_time_per_minute'; @@ -765,43 +384,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>; @@ -811,20 +393,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; @@ -839,55 +407,6 @@ 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; -}; - -/** 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; -}; - -/** 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; -}; - -/** 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; -}; - -/** 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; -}; - -/** 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; -}; - -/** 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 Bigint_Cast_Exp = { String?: InputMaybe; }; @@ -918,19 +437,13 @@ export type Block = { 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 */ @@ -970,16 +483,6 @@ export type BlockProposal_DepositsArgs = { }; -/** columns and relationships of "block" */ -export type BlockProposal_Deposits_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "block" */ export type BlockProposal_VotesArgs = { distinct_on?: InputMaybe>; @@ -990,16 +493,6 @@ export type BlockProposal_VotesArgs = { }; -/** columns and relationships of "block" */ -export type BlockProposal_Votes_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "block" */ export type BlockTransactionsArgs = { distinct_on?: InputMaybe>; @@ -1010,16 +503,6 @@ export type BlockTransactionsArgs = { }; -/** columns and relationships of "block" */ -export type BlockTransactions_AggregateArgs = { - 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>; @@ -1039,36 +522,6 @@ export type BlockValidator_Voting_Powers_AggregateArgs = { where?: InputMaybe; }; -/** aggregated selection of "block" */ -export type Block_Aggregate = { - __typename?: 'block_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** 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; -}; - - -/** aggregate fields of "block" */ -export type Block_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "block" */ export type Block_Aggregate_Order_By = { avg?: InputMaybe; @@ -1084,14 +537,6 @@ export type Block_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Block_Avg_Fields = { - __typename?: 'block_avg_fields'; - height?: Maybe; - num_txs?: Maybe; - total_gas?: Maybe; -}; - /** order by avg() on columns of table "block" */ export type Block_Avg_Order_By = { height?: InputMaybe; @@ -1118,17 +563,6 @@ export type Block_Bool_Exp = { validator_voting_powers?: 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; -}; - /** order by max() on columns of table "block" */ export type Block_Max_Order_By = { hash?: InputMaybe; @@ -1139,17 +573,6 @@ export type Block_Max_Order_By = { total_gas?: InputMaybe; }; -/** 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; -}; - /** order by min() on columns of table "block" */ export type Block_Min_Order_By = { hash?: InputMaybe; @@ -1192,14 +615,6 @@ export enum Block_Select_Column { TotalGas = 'total_gas' } -/** aggregate stddev on columns */ -export type Block_Stddev_Fields = { - __typename?: 'block_stddev_fields'; - height?: Maybe; - num_txs?: Maybe; - total_gas?: Maybe; -}; - /** order by stddev() on columns of table "block" */ export type Block_Stddev_Order_By = { height?: InputMaybe; @@ -1207,14 +622,6 @@ export type Block_Stddev_Order_By = { total_gas?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Block_Stddev_Pop_Fields = { - __typename?: 'block_stddev_pop_fields'; - 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; @@ -1222,14 +629,6 @@ export type Block_Stddev_Pop_Order_By = { total_gas?: 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; -}; - /** order by stddev_samp() on columns of table "block" */ export type Block_Stddev_Samp_Order_By = { height?: InputMaybe; @@ -1237,14 +636,6 @@ export type Block_Stddev_Samp_Order_By = { total_gas?: InputMaybe; }; -/** aggregate sum on columns */ -export type Block_Sum_Fields = { - __typename?: 'block_sum_fields'; - height?: Maybe; - num_txs?: Maybe; - total_gas?: Maybe; -}; - /** order by sum() on columns of table "block" */ export type Block_Sum_Order_By = { height?: InputMaybe; @@ -1252,14 +643,6 @@ export type Block_Sum_Order_By = { total_gas?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Block_Var_Pop_Fields = { - __typename?: 'block_var_pop_fields'; - 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; @@ -1267,14 +650,6 @@ export type Block_Var_Pop_Order_By = { total_gas?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Block_Var_Samp_Fields = { - __typename?: 'block_var_samp_fields'; - 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; @@ -1282,14 +657,6 @@ export type Block_Var_Samp_Order_By = { total_gas?: InputMaybe; }; -/** aggregate variance on columns */ -export type Block_Variance_Fields = { - __typename?: 'block_variance_fields'; - height?: Maybe; - num_txs?: Maybe; - total_gas?: Maybe; -}; - /** order by variance() on columns of table "block" */ export type Block_Variance_Order_By = { height?: InputMaybe; @@ -1304,42 +671,6 @@ export type Community_Pool = { height: Scalars['bigint']; }; -/** aggregated selection of "community_pool" */ -export type Community_Pool_Aggregate = { - __typename?: 'community_pool_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "community_pool" */ -export type Community_Pool_Aggregate_Fields = { - __typename?: '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; -}; - - -/** aggregate fields of "community_pool" */ -export type Community_Pool_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Community_Pool_Avg_Fields = { - __typename?: 'community_pool_avg_fields'; - 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>; @@ -1349,18 +680,6 @@ export type Community_Pool_Bool_Exp = { height?: InputMaybe; }; -/** aggregate max on columns */ -export type Community_Pool_Max_Fields = { - __typename?: 'community_pool_max_fields'; - height?: Maybe; -}; - -/** aggregate min on columns */ -export type Community_Pool_Min_Fields = { - __typename?: 'community_pool_min_fields'; - height?: Maybe; -}; - /** Ordering options when selecting data from "community_pool". */ export type Community_Pool_Order_By = { coins?: InputMaybe; @@ -1375,53 +694,10 @@ export enum Community_Pool_Select_Column { Height = 'height' } -/** aggregate stddev on columns */ -export type Community_Pool_Stddev_Fields = { - __typename?: 'community_pool_stddev_fields'; - height?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Community_Pool_Stddev_Pop_Fields = { - __typename?: 'community_pool_stddev_pop_fields'; - height?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Community_Pool_Stddev_Samp_Fields = { - __typename?: 'community_pool_stddev_samp_fields'; - height?: Maybe; -}; - -/** aggregate sum on columns */ -export type Community_Pool_Sum_Fields = { - __typename?: 'community_pool_sum_fields'; - height?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Community_Pool_Var_Pop_Fields = { - __typename?: 'community_pool_var_pop_fields'; - height?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Community_Pool_Var_Samp_Fields = { - __typename?: 'community_pool_var_samp_fields'; - height?: Maybe; -}; - -/** aggregate variance on columns */ -export type Community_Pool_Variance_Fields = { - __typename?: 'community_pool_variance_fields'; - 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']; }; @@ -1431,68 +707,18 @@ export type Distribution_ParamsParamsArgs = { path?: InputMaybe; }; -/** aggregated selection of "distribution_params" */ -export type Distribution_Params_Aggregate = { - __typename?: 'distribution_params_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "distribution_params" */ -export type Distribution_Params_Aggregate_Fields = { - __typename?: '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; -}; - - -/** aggregate fields of "distribution_params" */ -export type Distribution_Params_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Distribution_Params_Avg_Fields = { - __typename?: 'distribution_params_avg_fields'; - 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; }; -/** aggregate max on columns */ -export type Distribution_Params_Max_Fields = { - __typename?: 'distribution_params_max_fields'; - height?: Maybe; -}; - -/** aggregate min on columns */ -export type Distribution_Params_Min_Fields = { - __typename?: 'distribution_params_min_fields'; - height?: Maybe; -}; - /** Ordering options when selecting data from "distribution_params". */ export type Distribution_Params_Order_By = { height?: InputMaybe; - one_row_id?: InputMaybe; params?: InputMaybe; }; @@ -1501,53 +727,9 @@ export enum Distribution_Params_Select_Column { /** column name */ Height = 'height', /** column name */ - OneRowId = 'one_row_id', - /** column name */ Params = 'params' } -/** aggregate stddev on columns */ -export type Distribution_Params_Stddev_Fields = { - __typename?: 'distribution_params_stddev_fields'; - height?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Distribution_Params_Stddev_Pop_Fields = { - __typename?: 'distribution_params_stddev_pop_fields'; - height?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Distribution_Params_Stddev_Samp_Fields = { - __typename?: 'distribution_params_stddev_samp_fields'; - height?: Maybe; -}; - -/** aggregate sum on columns */ -export type Distribution_Params_Sum_Fields = { - __typename?: 'distribution_params_sum_fields'; - height?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Distribution_Params_Var_Pop_Fields = { - __typename?: 'distribution_params_var_pop_fields'; - height?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Distribution_Params_Var_Samp_Fields = { - __typename?: 'distribution_params_var_samp_fields'; - height?: Maybe; -}; - -/** aggregate variance on columns */ -export type Distribution_Params_Variance_Fields = { - __typename?: 'distribution_params_variance_fields'; - height?: Maybe; -}; - /** columns and relationships of "double_sign_evidence" */ export type Double_Sign_Evidence = { __typename?: 'double_sign_evidence'; @@ -1560,36 +742,6 @@ export type Double_Sign_Evidence = { vote_b_id: Scalars['bigint']; }; -/** aggregated selection of "double_sign_evidence" */ -export type Double_Sign_Evidence_Aggregate = { - __typename?: 'double_sign_evidence_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; - 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 "double_sign_evidence" */ -export type Double_Sign_Evidence_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; @@ -1605,14 +757,6 @@ export type Double_Sign_Evidence_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Double_Sign_Evidence_Avg_Fields = { - __typename?: 'double_sign_evidence_avg_fields'; - 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; @@ -1632,14 +776,6 @@ export type Double_Sign_Evidence_Bool_Exp = { vote_b_id?: InputMaybe; }; -/** 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; -}; - /** order by max() on columns of table "double_sign_evidence" */ export type Double_Sign_Evidence_Max_Order_By = { height?: InputMaybe; @@ -1647,14 +783,6 @@ export type Double_Sign_Evidence_Max_Order_By = { vote_b_id?: 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; -}; - /** order by min() on columns of table "double_sign_evidence" */ export type Double_Sign_Evidence_Min_Order_By = { height?: InputMaybe; @@ -1681,14 +809,6 @@ export enum Double_Sign_Evidence_Select_Column { VoteBId = 'vote_b_id' } -/** aggregate stddev on columns */ -export type Double_Sign_Evidence_Stddev_Fields = { - __typename?: 'double_sign_evidence_stddev_fields'; - 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; @@ -1696,14 +816,6 @@ export type Double_Sign_Evidence_Stddev_Order_By = { vote_b_id?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Double_Sign_Evidence_Stddev_Pop_Fields = { - __typename?: 'double_sign_evidence_stddev_pop_fields'; - 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; @@ -1711,14 +823,6 @@ export type Double_Sign_Evidence_Stddev_Pop_Order_By = { vote_b_id?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Double_Sign_Evidence_Stddev_Samp_Fields = { - __typename?: 'double_sign_evidence_stddev_samp_fields'; - 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; @@ -1726,14 +830,6 @@ export type Double_Sign_Evidence_Stddev_Samp_Order_By = { vote_b_id?: 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; -}; - /** order by sum() on columns of table "double_sign_evidence" */ export type Double_Sign_Evidence_Sum_Order_By = { height?: InputMaybe; @@ -1741,14 +837,6 @@ export type Double_Sign_Evidence_Sum_Order_By = { 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; -}; - /** order by var_pop() on columns of table "double_sign_evidence" */ export type Double_Sign_Evidence_Var_Pop_Order_By = { height?: InputMaybe; @@ -1756,14 +844,6 @@ export type Double_Sign_Evidence_Var_Pop_Order_By = { 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; -}; - /** order by var_samp() on columns of table "double_sign_evidence" */ export type Double_Sign_Evidence_Var_Samp_Order_By = { height?: InputMaybe; @@ -1771,14 +851,6 @@ export type Double_Sign_Evidence_Var_Samp_Order_By = { vote_b_id?: 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; -}; - /** order by variance() on columns of table "double_sign_evidence" */ export type Double_Sign_Evidence_Variance_Order_By = { height?: InputMaybe; @@ -1792,14 +864,9 @@ export type 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']; @@ -1820,16 +887,6 @@ export type Double_Sign_VoteDoubleSignEvidencesByVoteBIdArgs = { }; -/** columns and relationships of "double_sign_vote" */ -export type Double_Sign_VoteDoubleSignEvidencesByVoteBId_AggregateArgs = { - 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>; @@ -1839,46 +896,6 @@ export type Double_Sign_VoteDouble_Sign_EvidencesArgs = { where?: InputMaybe; }; - -/** columns and relationships of "double_sign_vote" */ -export type Double_Sign_VoteDouble_Sign_Evidences_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: 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; -}; - -/** aggregate fields of "double_sign_vote" */ -export type Double_Sign_Vote_Aggregate_Fields = { - __typename?: '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; -}; - - -/** aggregate fields of "double_sign_vote" */ -export type Double_Sign_Vote_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; @@ -1894,20 +911,9 @@ export type Double_Sign_Vote_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Double_Sign_Vote_Avg_Fields = { - __typename?: 'double_sign_vote_avg_fields'; - height?: Maybe; - id?: Maybe; - round?: Maybe; - type?: Maybe; - validator_index?: 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; @@ -1922,7 +928,6 @@ export type Double_Sign_Vote_Bool_Exp = { doubleSignEvidencesByVoteBId?: InputMaybe; double_sign_evidences?: InputMaybe; height?: InputMaybe; - id?: InputMaybe; round?: InputMaybe; signature?: InputMaybe; type?: InputMaybe; @@ -1931,24 +936,10 @@ export type Double_Sign_Vote_Bool_Exp = { validator_index?: 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; -}; - /** 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; @@ -1956,24 +947,10 @@ export type Double_Sign_Vote_Max_Order_By = { validator_index?: 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; -}; - /** 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; @@ -1987,7 +964,6 @@ export type Double_Sign_Vote_Order_By = { doubleSignEvidencesByVoteBId_aggregate?: InputMaybe; double_sign_evidences_aggregate?: InputMaybe; height?: InputMaybe; - id?: InputMaybe; round?: InputMaybe; signature?: InputMaybe; type?: InputMaybe; @@ -2003,8 +979,6 @@ export enum Double_Sign_Vote_Select_Column { /** column name */ Height = 'height', /** column name */ - Id = 'id', - /** column name */ Round = 'round', /** column name */ Signature = 'signature', @@ -2016,134 +990,57 @@ export enum Double_Sign_Vote_Select_Column { ValidatorIndex = 'validator_index' } -/** aggregate stddev on columns */ -export type Double_Sign_Vote_Stddev_Fields = { - __typename?: 'double_sign_vote_stddev_fields'; - height?: Maybe; - id?: Maybe; - round?: Maybe; - type?: Maybe; - validator_index?: 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; }; -/** aggregate stddev_pop on columns */ -export type Double_Sign_Vote_Stddev_Pop_Fields = { - __typename?: 'double_sign_vote_stddev_pop_fields'; - height?: Maybe; - id?: Maybe; - round?: Maybe; - type?: Maybe; - validator_index?: 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; }; -/** aggregate stddev_samp on columns */ -export type Double_Sign_Vote_Stddev_Samp_Fields = { - __typename?: 'double_sign_vote_stddev_samp_fields'; - height?: Maybe; - id?: Maybe; - round?: Maybe; - type?: Maybe; - validator_index?: 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; }; -/** 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; -}; - /** 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; }; -/** aggregate var_pop on columns */ -export type Double_Sign_Vote_Var_Pop_Fields = { - __typename?: 'double_sign_vote_var_pop_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; }; -/** aggregate var_samp on columns */ -export type Double_Sign_Vote_Var_Samp_Fields = { - __typename?: 'double_sign_vote_var_samp_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; }; -/** aggregate variance on columns */ -export type Double_Sign_Vote_Variance_Fields = { - __typename?: 'double_sign_vote_variance_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; @@ -2160,7 +1057,6 @@ export type Fee_Grant_Allowance = { granter: Account; granter_address: Scalars['String']; height: Scalars['bigint']; - id: Scalars['Int']; }; @@ -2169,43 +1065,6 @@ export type Fee_Grant_AllowanceAllowanceArgs = { path?: InputMaybe; }; -/** aggregated selection of "fee_grant_allowance" */ -export type Fee_Grant_Allowance_Aggregate = { - __typename?: 'fee_grant_allowance_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; - 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 "fee_grant_allowance" */ -export type Fee_Grant_Allowance_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Fee_Grant_Allowance_Avg_Fields = { - __typename?: 'fee_grant_allowance_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>; @@ -2217,25 +1076,6 @@ export type Fee_Grant_Allowance_Bool_Exp = { granter?: InputMaybe; granter_address?: InputMaybe; height?: InputMaybe; - id?: 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; -}; - -/** 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; }; /** Ordering options when selecting data from "fee_grant_allowance". */ @@ -2246,7 +1086,6 @@ export type Fee_Grant_Allowance_Order_By = { granter?: InputMaybe; granter_address?: InputMaybe; height?: InputMaybe; - id?: InputMaybe; }; /** select columns of table "fee_grant_allowance" */ @@ -2258,60 +1097,9 @@ export enum Fee_Grant_Allowance_Select_Column { /** column name */ GranterAddress = 'granter_address', /** column name */ - Height = 'height', - /** column name */ - Id = 'id' + Height = 'height' } -/** aggregate stddev on columns */ -export type Fee_Grant_Allowance_Stddev_Fields = { - __typename?: 'fee_grant_allowance_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'; - height?: Maybe; - id?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Fee_Grant_Allowance_Stddev_Samp_Fields = { - __typename?: 'fee_grant_allowance_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; -}; - -/** aggregate var_pop on columns */ -export type Fee_Grant_Allowance_Var_Pop_Fields = { - __typename?: 'fee_grant_allowance_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'; - height?: Maybe; - id?: Maybe; -}; - -/** aggregate variance on columns */ -export type Fee_Grant_Allowance_Variance_Fields = { - __typename?: 'fee_grant_allowance_variance_fields'; - height?: Maybe; - id?: Maybe; -}; - /** columns and relationships of "genesis" */ export type Genesis = { __typename?: 'genesis'; @@ -2320,42 +1108,6 @@ export type Genesis = { time: Scalars['timestamp']; }; -/** aggregated selection of "genesis" */ -export type Genesis_Aggregate = { - __typename?: 'genesis_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "genesis" */ -export type Genesis_Aggregate_Fields = { - __typename?: '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 "genesis" */ -export type Genesis_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Genesis_Avg_Fields = { - __typename?: 'genesis_avg_fields'; - initial_height?: Maybe; -}; - /** Boolean expression to filter rows from the table "genesis". All fields are combined with a logical 'AND'. */ export type Genesis_Bool_Exp = { _and?: InputMaybe>; @@ -2366,22 +1118,6 @@ export type Genesis_Bool_Exp = { time?: InputMaybe; }; -/** aggregate max on columns */ -export type Genesis_Max_Fields = { - __typename?: 'genesis_max_fields'; - chain_id?: Maybe; - initial_height?: Maybe; - time?: Maybe; -}; - -/** aggregate min on columns */ -export type Genesis_Min_Fields = { - __typename?: 'genesis_min_fields'; - chain_id?: Maybe; - initial_height?: Maybe; - time?: Maybe; -}; - /** Ordering options when selecting data from "genesis". */ export type Genesis_Order_By = { chain_id?: InputMaybe; @@ -2399,53 +1135,10 @@ export enum Genesis_Select_Column { Time = 'time' } -/** aggregate stddev on columns */ -export type Genesis_Stddev_Fields = { - __typename?: 'genesis_stddev_fields'; - initial_height?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Genesis_Stddev_Pop_Fields = { - __typename?: 'genesis_stddev_pop_fields'; - initial_height?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Genesis_Stddev_Samp_Fields = { - __typename?: 'genesis_stddev_samp_fields'; - initial_height?: Maybe; -}; - -/** aggregate sum on columns */ -export type Genesis_Sum_Fields = { - __typename?: 'genesis_sum_fields'; - initial_height?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Genesis_Var_Pop_Fields = { - __typename?: 'genesis_var_pop_fields'; - initial_height?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Genesis_Var_Samp_Fields = { - __typename?: 'genesis_var_samp_fields'; - initial_height?: Maybe; -}; - -/** aggregate variance on columns */ -export type Genesis_Variance_Fields = { - __typename?: 'genesis_variance_fields'; - initial_height?: Maybe; -}; - /** columns and relationships of "gov_params" */ export type Gov_Params = { __typename?: 'gov_params'; height: Scalars['bigint']; - one_row_id: Scalars['Boolean']; params: Scalars['jsonb']; }; @@ -2455,68 +1148,18 @@ export type Gov_ParamsParamsArgs = { path?: InputMaybe; }; -/** aggregated selection of "gov_params" */ -export type Gov_Params_Aggregate = { - __typename?: 'gov_params_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "gov_params" */ -export type Gov_Params_Aggregate_Fields = { - __typename?: '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; -}; - - -/** aggregate fields of "gov_params" */ -export type Gov_Params_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Gov_Params_Avg_Fields = { - __typename?: 'gov_params_avg_fields'; - height?: Maybe; -}; - /** 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>; height?: InputMaybe; - one_row_id?: InputMaybe; params?: InputMaybe; }; -/** aggregate max on columns */ -export type Gov_Params_Max_Fields = { - __typename?: 'gov_params_max_fields'; - height?: Maybe; -}; - -/** aggregate min on columns */ -export type Gov_Params_Min_Fields = { - __typename?: 'gov_params_min_fields'; - height?: Maybe; -}; - /** Ordering options when selecting data from "gov_params". */ export type Gov_Params_Order_By = { height?: InputMaybe; - one_row_id?: InputMaybe; params?: InputMaybe; }; @@ -2525,53 +1168,9 @@ export enum Gov_Params_Select_Column { /** column name */ Height = 'height', /** column name */ - OneRowId = 'one_row_id', - /** column name */ Params = 'params' } -/** aggregate stddev on columns */ -export type Gov_Params_Stddev_Fields = { - __typename?: 'gov_params_stddev_fields'; - height?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Gov_Params_Stddev_Pop_Fields = { - __typename?: 'gov_params_stddev_pop_fields'; - height?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Gov_Params_Stddev_Samp_Fields = { - __typename?: 'gov_params_stddev_samp_fields'; - height?: Maybe; -}; - -/** aggregate sum on columns */ -export type Gov_Params_Sum_Fields = { - __typename?: 'gov_params_sum_fields'; - height?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Gov_Params_Var_Pop_Fields = { - __typename?: 'gov_params_var_pop_fields'; - height?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Gov_Params_Var_Samp_Fields = { - __typename?: 'gov_params_var_samp_fields'; - height?: Maybe; -}; - -/** aggregate variance on columns */ -export type Gov_Params_Variance_Fields = { - __typename?: 'gov_params_variance_fields'; - height?: Maybe; -}; - /** columns and relationships of "inflation" */ export type Inflation = { __typename?: 'inflation'; @@ -2579,43 +1178,6 @@ export type Inflation = { 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>; @@ -2625,20 +1187,6 @@ export type Inflation_Bool_Exp = { 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; @@ -2653,53 +1201,22 @@ export enum Inflation_Select_Column { 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; -}; - -/** 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; +export type Json_Cast_Exp = { + String?: InputMaybe; }; -/** aggregate variance on columns */ -export type Inflation_Variance_Fields = { - __typename?: 'inflation_variance_fields'; - height?: Maybe; - value?: Maybe; +/** Boolean expression to compare columns of type "json". All fields are combined with logical 'AND'. */ +export type Json_Comparison_Exp = { + _cast?: InputMaybe; + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; }; export type Jsonb_Cast_Exp = { @@ -2736,12 +1253,11 @@ export type 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']; + value: Scalars['json']; }; @@ -2750,44 +1266,6 @@ export type MessageValueArgs = { path?: InputMaybe; }; -/** aggregated selection of "message" */ -export type Message_Aggregate = { - __typename?: 'message_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "message" */ -export type Message_Aggregate_Fields = { - __typename?: '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 fields of "message" */ -export type Message_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Message_Avg_Fields = { - __typename?: 'message_avg_fields'; - height?: Maybe; - index?: Maybe; - partition_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>; @@ -2796,31 +1274,10 @@ export type Message_Bool_Exp = { height?: InputMaybe; index?: InputMaybe; involved_accounts_addresses?: InputMaybe<_Text_Comparison_Exp>; - partition_id?: InputMaybe; transaction?: InputMaybe; transaction_hash?: InputMaybe; type?: InputMaybe; - value?: 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; -}; - -/** 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; + value?: InputMaybe; }; /** Ordering options when selecting data from "message". */ @@ -2828,7 +1285,6 @@ export type Message_Order_By = { height?: InputMaybe; index?: InputMaybe; involved_accounts_addresses?: InputMaybe; - partition_id?: InputMaybe; transaction?: InputMaybe; transaction_hash?: InputMaybe; type?: InputMaybe; @@ -2844,8 +1300,6 @@ export enum Message_Select_Column { /** column name */ InvolvedAccountsAddresses = 'involved_accounts_addresses', /** column name */ - PartitionId = 'partition_id', - /** column name */ TransactionHash = 'transaction_hash', /** column name */ Type = 'type', @@ -2853,62 +1307,6 @@ export enum Message_Select_Column { Value = 'value' } -/** aggregate stddev on columns */ -export type Message_Stddev_Fields = { - __typename?: 'message_stddev_fields'; - height?: Maybe; - index?: Maybe; - partition_id?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Message_Stddev_Pop_Fields = { - __typename?: 'message_stddev_pop_fields'; - height?: Maybe; - index?: Maybe; - partition_id?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Message_Stddev_Samp_Fields = { - __typename?: 'message_stddev_samp_fields'; - height?: Maybe; - index?: Maybe; - partition_id?: Maybe; -}; - -/** aggregate sum on columns */ -export type Message_Sum_Fields = { - __typename?: 'message_sum_fields'; - height?: Maybe; - index?: Maybe; - partition_id?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Message_Var_Pop_Fields = { - __typename?: 'message_var_pop_fields'; - height?: Maybe; - index?: Maybe; - partition_id?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Message_Var_Samp_Fields = { - __typename?: 'message_var_samp_fields'; - height?: Maybe; - index?: Maybe; - partition_id?: Maybe; -}; - -/** aggregate variance on columns */ -export type Message_Variance_Fields = { - __typename?: 'message_variance_fields'; - height?: Maybe; - index?: Maybe; - partition_id?: Maybe; -}; - export type Messages_By_Address_Args = { addresses?: InputMaybe; limit?: InputMaybe; @@ -2920,7 +1318,6 @@ export type Messages_By_Address_Args = { export type Mint_Params = { __typename?: 'mint_params'; height: Scalars['bigint']; - one_row_id: Scalars['Boolean']; params: Scalars['jsonb']; }; @@ -2930,151 +1327,35 @@ export type Mint_ParamsParamsArgs = { path?: InputMaybe; }; -/** aggregated selection of "mint_params" */ -export type Mint_Params_Aggregate = { - __typename?: 'mint_params_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "mint_params" */ -export type Mint_Params_Aggregate_Fields = { - __typename?: '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; -}; - - -/** aggregate fields of "mint_params" */ -export type Mint_Params_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** aggregate avg on columns */ -export type Mint_Params_Avg_Fields = { - __typename?: 'mint_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; }; -/** aggregate max on columns */ -export type Mint_Params_Max_Fields = { - __typename?: 'mint_params_max_fields'; - height?: Maybe; -}; - -/** aggregate min on columns */ -export type Mint_Params_Min_Fields = { - __typename?: 'mint_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; }; -/** select columns of table "mint_params" */ -export enum Mint_Params_Select_Column { - /** column name */ - Height = 'height', - /** column name */ - OneRowId = 'one_row_id', - /** column name */ - Params = 'params' -} - -/** aggregate stddev on columns */ -export type Mint_Params_Stddev_Fields = { - __typename?: 'mint_params_stddev_fields'; - height?: Maybe; -}; - -/** aggregate stddev_pop on columns */ -export type Mint_Params_Stddev_Pop_Fields = { - __typename?: 'mint_params_stddev_pop_fields'; - height?: Maybe; -}; - -/** aggregate stddev_samp on columns */ -export type Mint_Params_Stddev_Samp_Fields = { - __typename?: 'mint_params_stddev_samp_fields'; - height?: Maybe; -}; - -/** aggregate sum on columns */ -export type Mint_Params_Sum_Fields = { - __typename?: 'mint_params_sum_fields'; - height?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Mint_Params_Var_Pop_Fields = { - __typename?: 'mint_params_var_pop_fields'; - height?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Mint_Params_Var_Samp_Fields = { - __typename?: 'mint_params_var_samp_fields'; - height?: Maybe; -}; - -/** aggregate variance on columns */ -export type Mint_Params_Variance_Fields = { - __typename?: 'mint_params_variance_fields'; - height?: Maybe; -}; - +/** select columns of table "mint_params" */ +export enum Mint_Params_Select_Column { + /** column name */ + Height = 'height', + /** column name */ + Params = 'params' +} + /** columns and relationships of "modules" */ export type Modules = { __typename?: 'modules'; module_name: Scalars['String']; }; -/** aggregated selection of "modules" */ -export type Modules_Aggregate = { - __typename?: 'modules_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "modules" */ -export type Modules_Aggregate_Fields = { - __typename?: 'modules_aggregate_fields'; - count: Scalars['Int']; - max?: Maybe; - min?: Maybe; -}; - - -/** aggregate fields of "modules" */ -export type Modules_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>; @@ -3083,18 +1364,6 @@ export type Modules_Bool_Exp = { module_name?: InputMaybe; }; -/** aggregate max on columns */ -export type Modules_Max_Fields = { - __typename?: 'modules_max_fields'; - module_name?: Maybe; -}; - -/** aggregate min on columns */ -export type Modules_Min_Fields = { - __typename?: 'modules_min_fields'; - module_name?: Maybe; -}; - /** Ordering options when selecting data from "modules". */ export type Modules_Order_By = { module_name?: InputMaybe; @@ -3402,18 +1671,12 @@ export type Proposal = { metadata: Scalars['String']; /** An array relationship */ proposal_deposits: Array; - /** An aggregate relationship */ - proposal_deposits_aggregate: Proposal_Deposit_Aggregate; /** 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; /** An array relationship */ proposal_votes: Array; - /** An aggregate relationship */ - proposal_votes_aggregate: Proposal_Vote_Aggregate; /** An object relationship */ proposer: Account; proposer_address: Scalars['String']; @@ -3424,8 +1687,6 @@ export type Proposal = { 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; }; @@ -3447,16 +1708,6 @@ export type ProposalProposal_DepositsArgs = { }; -/** columns and relationships of "proposal" */ -export type ProposalProposal_Deposits_AggregateArgs = { - 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>; @@ -3467,16 +1718,6 @@ export type ProposalProposal_Tally_ResultsArgs = { }; -/** columns and relationships of "proposal" */ -export type ProposalProposal_Tally_Results_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - /** columns and relationships of "proposal" */ export type ProposalProposal_VotesArgs = { distinct_on?: InputMaybe>; @@ -3487,16 +1728,6 @@ export type ProposalProposal_VotesArgs = { }; -/** columns and relationships of "proposal" */ -export type ProposalProposal_Votes_AggregateArgs = { - 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>; @@ -3506,16 +1737,6 @@ export type ProposalValidator_Status_SnapshotsArgs = { where?: InputMaybe; }; - -/** columns and relationships of "proposal" */ -export type ProposalValidator_Status_Snapshots_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - /** aggregated selection of "proposal" */ export type Proposal_Aggregate = { __typename?: 'proposal_aggregate'; @@ -3610,36 +1831,7 @@ export type Proposal_Deposit = { /** An object relationship */ proposal: Proposal; proposal_id: Scalars['Int']; -}; - -/** aggregated selection of "proposal_deposit" */ -export type Proposal_Deposit_Aggregate = { - __typename?: 'proposal_deposit_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; - -/** aggregate fields of "proposal_deposit" */ -export type Proposal_Deposit_Aggregate_Fields = { - __typename?: '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; -}; - - -/** aggregate fields of "proposal_deposit" */ -export type Proposal_Deposit_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; + timestamp?: Maybe; }; /** order by aggregate values of table "proposal_deposit" */ @@ -3657,13 +1849,6 @@ export type Proposal_Deposit_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Proposal_Deposit_Avg_Fields = { - __typename?: 'proposal_deposit_avg_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by avg() on columns of table "proposal_deposit" */ export type Proposal_Deposit_Avg_Order_By = { height?: InputMaybe; @@ -3682,14 +1867,7 @@ export type Proposal_Deposit_Bool_Exp = { height?: InputMaybe; proposal?: InputMaybe; proposal_id?: InputMaybe; -}; - -/** aggregate max on columns */ -export type Proposal_Deposit_Max_Fields = { - __typename?: 'proposal_deposit_max_fields'; - depositor_address?: Maybe; - height?: Maybe; - proposal_id?: Maybe; + timestamp?: InputMaybe; }; /** order by max() on columns of table "proposal_deposit" */ @@ -3697,14 +1875,7 @@ export type Proposal_Deposit_Max_Order_By = { depositor_address?: InputMaybe; height?: InputMaybe; proposal_id?: InputMaybe; -}; - -/** aggregate min on columns */ -export type Proposal_Deposit_Min_Fields = { - __typename?: 'proposal_deposit_min_fields'; - depositor_address?: Maybe; - height?: Maybe; - proposal_id?: Maybe; + timestamp?: InputMaybe; }; /** order by min() on columns of table "proposal_deposit" */ @@ -3712,6 +1883,7 @@ 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". */ @@ -3723,6 +1895,7 @@ export type Proposal_Deposit_Order_By = { height?: InputMaybe; proposal?: InputMaybe; proposal_id?: InputMaybe; + timestamp?: InputMaybe; }; /** select columns of table "proposal_deposit" */ @@ -3734,94 +1907,47 @@ export enum Proposal_Deposit_Select_Column { /** column name */ Height = 'height', /** column name */ - ProposalId = 'proposal_id' + ProposalId = 'proposal_id', + /** column name */ + Timestamp = 'timestamp' } -/** aggregate stddev on columns */ -export type Proposal_Deposit_Stddev_Fields = { - __typename?: 'proposal_deposit_stddev_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by stddev() on columns of table "proposal_deposit" */ export type Proposal_Deposit_Stddev_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Proposal_Deposit_Stddev_Pop_Fields = { - __typename?: 'proposal_deposit_stddev_pop_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by stddev_pop() on columns of table "proposal_deposit" */ export type Proposal_Deposit_Stddev_Pop_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate stddev_samp on columns */ -export type Proposal_Deposit_Stddev_Samp_Fields = { - __typename?: 'proposal_deposit_stddev_samp_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by stddev_samp() on columns of table "proposal_deposit" */ export type Proposal_Deposit_Stddev_Samp_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate sum on columns */ -export type Proposal_Deposit_Sum_Fields = { - __typename?: 'proposal_deposit_sum_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by sum() on columns of table "proposal_deposit" */ export type Proposal_Deposit_Sum_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Proposal_Deposit_Var_Pop_Fields = { - __typename?: 'proposal_deposit_var_pop_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by var_pop() on columns of table "proposal_deposit" */ export type Proposal_Deposit_Var_Pop_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate var_samp on columns */ -export type Proposal_Deposit_Var_Samp_Fields = { - __typename?: 'proposal_deposit_var_samp_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by var_samp() on columns of table "proposal_deposit" */ export type Proposal_Deposit_Var_Samp_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate variance on columns */ -export type Proposal_Deposit_Variance_Fields = { - __typename?: 'proposal_deposit_variance_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by variance() on columns of table "proposal_deposit" */ export type Proposal_Deposit_Variance_Order_By = { height?: InputMaybe; @@ -3919,10 +2045,10 @@ export enum Proposal_Select_Column { /** column name */ Id = 'id', /** column name */ - ProposalRoute = 'proposal_route', - /** column name */ Metadata = 'metadata', /** column name */ + ProposerAddress = 'proposer_address', + /** column name */ Status = 'status', /** column name */ SubmitTime = 'submit_time', @@ -3945,43 +2071,6 @@ export type Proposal_Staking_Pool_Snapshot = { proposal_id: Scalars['Int']; }; -/** aggregated selection of "proposal_staking_pool_snapshot" */ -export type Proposal_Staking_Pool_Snapshot_Aggregate = { - __typename?: 'proposal_staking_pool_snapshot_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; - 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_staking_pool_snapshot" */ -export type Proposal_Staking_Pool_Snapshot_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; -}; - /** 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>; @@ -3994,24 +2083,6 @@ export type Proposal_Staking_Pool_Snapshot_Bool_Exp = { proposal_id?: InputMaybe; }; -/** 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; -}; - -/** 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; -}; - /** Ordering options when selecting data from "proposal_staking_pool_snapshot". */ export type Proposal_Staking_Pool_Snapshot_Order_By = { bonded_tokens?: InputMaybe; @@ -4033,55 +2104,6 @@ export enum Proposal_Staking_Pool_Snapshot_Select_Column { 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; -}; - -/** 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; -}; - -/** aggregate stddev_samp on columns */ -export type Proposal_Staking_Pool_Snapshot_Stddev_Samp_Fields = { - __typename?: 'proposal_staking_pool_snapshot_stddev_samp_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; - proposal_id?: Maybe; -}; - -/** aggregate var_pop on columns */ -export type Proposal_Staking_Pool_Snapshot_Var_Pop_Fields = { - __typename?: 'proposal_staking_pool_snapshot_var_pop_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; -}; - -/** aggregate variance on columns */ -export type Proposal_Staking_Pool_Snapshot_Variance_Fields = { - __typename?: 'proposal_staking_pool_snapshot_variance_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** aggregate stddev on columns */ export type Proposal_Stddev_Fields = { __typename?: 'proposal_stddev_fields'; @@ -4139,36 +2161,6 @@ export type Proposal_Tally_Result = { yes: Scalars['String']; }; -/** aggregated selection of "proposal_tally_result" */ -export type Proposal_Tally_Result_Aggregate = { - __typename?: 'proposal_tally_result_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; - 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_tally_result" */ -export type Proposal_Tally_Result_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; @@ -4184,13 +2176,6 @@ export type Proposal_Tally_Result_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Proposal_Tally_Result_Avg_Fields = { - __typename?: 'proposal_tally_result_avg_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by avg() on columns of table "proposal_tally_result" */ export type Proposal_Tally_Result_Avg_Order_By = { height?: InputMaybe; @@ -4211,17 +2196,6 @@ export type Proposal_Tally_Result_Bool_Exp = { yes?: InputMaybe; }; -/** aggregate max on columns */ -export type Proposal_Tally_Result_Max_Fields = { - __typename?: 'proposal_tally_result_max_fields'; - abstain?: Maybe; - height?: Maybe; - no?: Maybe; - no_with_veto?: Maybe; - proposal_id?: Maybe; - yes?: Maybe; -}; - /** order by max() on columns of table "proposal_tally_result" */ export type Proposal_Tally_Result_Max_Order_By = { abstain?: InputMaybe; @@ -4232,17 +2206,6 @@ export type Proposal_Tally_Result_Max_Order_By = { yes?: InputMaybe; }; -/** aggregate min on columns */ -export type Proposal_Tally_Result_Min_Fields = { - __typename?: 'proposal_tally_result_min_fields'; - abstain?: Maybe; - height?: Maybe; - no?: Maybe; - no_with_veto?: Maybe; - proposal_id?: Maybe; - yes?: Maybe; -}; - /** order by min() on columns of table "proposal_tally_result" */ export type Proposal_Tally_Result_Min_Order_By = { abstain?: InputMaybe; @@ -4280,89 +2243,40 @@ export enum Proposal_Tally_Result_Select_Column { Yes = 'yes' } -/** aggregate stddev on columns */ -export type Proposal_Tally_Result_Stddev_Fields = { - __typename?: 'proposal_tally_result_stddev_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by stddev() on columns of table "proposal_tally_result" */ export type Proposal_Tally_Result_Stddev_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Proposal_Tally_Result_Stddev_Pop_Fields = { - __typename?: 'proposal_tally_result_stddev_pop_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** 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; }; -/** aggregate stddev_samp on columns */ -export type Proposal_Tally_Result_Stddev_Samp_Fields = { - __typename?: 'proposal_tally_result_stddev_samp_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** 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; }; -/** aggregate sum on columns */ -export type Proposal_Tally_Result_Sum_Fields = { - __typename?: 'proposal_tally_result_sum_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by sum() on columns of table "proposal_tally_result" */ export type Proposal_Tally_Result_Sum_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Proposal_Tally_Result_Var_Pop_Fields = { - __typename?: 'proposal_tally_result_var_pop_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** 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; }; -/** aggregate var_samp on columns */ -export type Proposal_Tally_Result_Var_Samp_Fields = { - __typename?: 'proposal_tally_result_var_samp_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** 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; -}; - -/** aggregate variance on columns */ -export type Proposal_Tally_Result_Variance_Fields = { - __typename?: 'proposal_tally_result_variance_fields'; - height?: Maybe; - proposal_id?: Maybe; +export type Proposal_Tally_Result_Var_Samp_Order_By = { + height?: InputMaybe; + proposal_id?: InputMaybe; }; /** order by variance() on columns of table "proposal_tally_result" */ @@ -4375,7 +2289,6 @@ export type Proposal_Tally_Result_Variance_Order_By = { export type Proposal_Validator_Status_Snapshot = { __typename?: 'proposal_validator_status_snapshot'; height: Scalars['bigint']; - id: Scalars['Int']; jailed: Scalars['Boolean']; /** An object relationship */ proposal?: Maybe; @@ -4387,36 +2300,6 @@ export type Proposal_Validator_Status_Snapshot = { 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; -}; - -/** aggregate fields of "proposal_validator_status_snapshot" */ -export type Proposal_Validator_Status_Snapshot_Aggregate_Fields = { - __typename?: '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; -}; - - -/** aggregate fields of "proposal_validator_status_snapshot" */ -export type Proposal_Validator_Status_Snapshot_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; @@ -4432,20 +2315,9 @@ export type Proposal_Validator_Status_Snapshot_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Proposal_Validator_Status_Snapshot_Avg_Fields = { - __typename?: 'proposal_validator_status_snapshot_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 = { height?: InputMaybe; - id?: InputMaybe; proposal_id?: InputMaybe; status?: InputMaybe; voting_power?: InputMaybe; @@ -4457,7 +2329,6 @@ export type Proposal_Validator_Status_Snapshot_Bool_Exp = { _not?: InputMaybe; _or?: InputMaybe>; height?: InputMaybe; - id?: InputMaybe; jailed?: InputMaybe; proposal?: InputMaybe; proposal_id?: InputMaybe; @@ -4467,42 +2338,18 @@ export type Proposal_Validator_Status_Snapshot_Bool_Exp = { voting_power?: InputMaybe; }; -/** aggregate max on columns */ -export type Proposal_Validator_Status_Snapshot_Max_Fields = { - __typename?: 'proposal_validator_status_snapshot_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 = { 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'; - 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 = { height?: InputMaybe; - id?: InputMaybe; proposal_id?: InputMaybe; status?: InputMaybe; validator_address?: InputMaybe; @@ -4512,7 +2359,6 @@ export type Proposal_Validator_Status_Snapshot_Min_Order_By = { /** Ordering options when selecting data from "proposal_validator_status_snapshot". */ export type Proposal_Validator_Status_Snapshot_Order_By = { height?: InputMaybe; - id?: InputMaybe; jailed?: InputMaybe; proposal?: InputMaybe; proposal_id?: InputMaybe; @@ -4527,8 +2373,6 @@ export enum Proposal_Validator_Status_Snapshot_Select_Column { /** column name */ Height = 'height', /** column name */ - Id = 'id', - /** column name */ Jailed = 'jailed', /** column name */ ProposalId = 'proposal_id', @@ -4540,134 +2384,57 @@ export enum Proposal_Validator_Status_Snapshot_Select_Column { VotingPower = 'voting_power' } -/** aggregate stddev on columns */ -export type Proposal_Validator_Status_Snapshot_Stddev_Fields = { - __typename?: 'proposal_validator_status_snapshot_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 = { 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'; - 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 = { 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'; - 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 = { height?: InputMaybe; - id?: InputMaybe; proposal_id?: InputMaybe; status?: InputMaybe; voting_power?: InputMaybe; }; -/** aggregate sum on columns */ -export type Proposal_Validator_Status_Snapshot_Sum_Fields = { - __typename?: 'proposal_validator_status_snapshot_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 = { 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'; - 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 = { 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'; - 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 = { 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'; - 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 = { height?: InputMaybe; - id?: InputMaybe; proposal_id?: InputMaybe; status?: InputMaybe; voting_power?: InputMaybe; @@ -4712,43 +2479,15 @@ export type Proposal_Vote = { /** An object relationship */ account: Account; /** An object relationship */ - block: Block; + block?: Maybe; height: Scalars['bigint']; option: Scalars['String']; /** An object relationship */ proposal: Proposal; proposal_id: Scalars['Int']; + timestamp?: Maybe; 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; + weight: Scalars['String']; }; /** order by aggregate values of table "proposal_vote" */ @@ -4766,13 +2505,6 @@ export type Proposal_Vote_Aggregate_Order_By = { variance?: InputMaybe; }; -/** aggregate avg on columns */ -export type Proposal_Vote_Avg_Fields = { - __typename?: 'proposal_vote_avg_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by avg() on columns of table "proposal_vote" */ export type Proposal_Vote_Avg_Order_By = { height?: InputMaybe; @@ -4790,16 +2522,9 @@ export type Proposal_Vote_Bool_Exp = { option?: InputMaybe; proposal?: InputMaybe; proposal_id?: InputMaybe; + timestamp?: InputMaybe; voter_address?: 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; + weight?: InputMaybe; }; /** order by max() on columns of table "proposal_vote" */ @@ -4807,16 +2532,9 @@ export type Proposal_Vote_Max_Order_By = { height?: InputMaybe; option?: InputMaybe; proposal_id?: InputMaybe; + timestamp?: InputMaybe; voter_address?: 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; + weight?: InputMaybe; }; /** order by min() on columns of table "proposal_vote" */ @@ -4824,7 +2542,9 @@ export type Proposal_Vote_Min_Order_By = { height?: InputMaybe; option?: InputMaybe; proposal_id?: InputMaybe; + timestamp?: InputMaybe; voter_address?: InputMaybe; + weight?: InputMaybe; }; /** Ordering options when selecting data from "proposal_vote". */ @@ -4835,7 +2555,9 @@ export type Proposal_Vote_Order_By = { option?: InputMaybe; proposal?: InputMaybe; proposal_id?: InputMaybe; + timestamp?: InputMaybe; voter_address?: InputMaybe; + weight?: InputMaybe; }; /** select columns of table "proposal_vote" */ @@ -4847,94 +2569,49 @@ export enum Proposal_Vote_Select_Column { /** column name */ ProposalId = 'proposal_id', /** column name */ - VoterAddress = 'voter_address' + Timestamp = 'timestamp', + /** column name */ + VoterAddress = 'voter_address', + /** column name */ + Weight = 'weight' } -/** aggregate stddev on columns */ -export type Proposal_Vote_Stddev_Fields = { - __typename?: 'proposal_vote_stddev_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by stddev() on columns of table "proposal_vote" */ export type Proposal_Vote_Stddev_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate stddev_pop on columns */ -export type Proposal_Vote_Stddev_Pop_Fields = { - __typename?: 'proposal_vote_stddev_pop_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by stddev_pop() on columns of table "proposal_vote" */ export type Proposal_Vote_Stddev_Pop_Order_By = { height?: InputMaybe; proposal_id?: 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 stddev_samp() on columns of table "proposal_vote" */ export type Proposal_Vote_Stddev_Samp_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate sum on columns */ -export type Proposal_Vote_Sum_Fields = { - __typename?: 'proposal_vote_sum_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by sum() on columns of table "proposal_vote" */ export type Proposal_Vote_Sum_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate var_pop on columns */ -export type Proposal_Vote_Var_Pop_Fields = { - __typename?: 'proposal_vote_var_pop_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by var_pop() on columns of table "proposal_vote" */ export type Proposal_Vote_Var_Pop_Order_By = { height?: InputMaybe; proposal_id?: 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 var_samp() on columns of table "proposal_vote" */ export type Proposal_Vote_Var_Samp_Order_By = { height?: InputMaybe; proposal_id?: InputMaybe; }; -/** aggregate variance on columns */ -export type Proposal_Vote_Variance_Fields = { - __typename?: 'proposal_vote_variance_fields'; - height?: Maybe; - proposal_id?: Maybe; -}; - /** order by variance() on columns of table "proposal_vote" */ export type Proposal_Vote_Variance_Order_By = { height?: InputMaybe; @@ -4945,8 +2622,6 @@ 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; @@ -4963,84 +2638,40 @@ 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; /** 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: "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: "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; /** 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" */ @@ -5055,100 +2686,58 @@ 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; /** 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" */ @@ -5165,14 +2754,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; }; @@ -5185,15 +2768,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']; }; @@ -5294,15 +2868,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; @@ -5312,15 +2877,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; @@ -5330,15 +2886,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; @@ -5348,15 +2895,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; @@ -5366,15 +2904,6 @@ 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']; }; @@ -5389,48 +2918,16 @@ export type Query_RootCommunity_PoolArgs = { }; -export type Query_RootCommunity_Pool_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: 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_RootDistribution_Params_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type Query_RootDistribution_Params_By_PkArgs = { - one_row_id: Scalars['Boolean']; -}; - - -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; @@ -5448,20 +2945,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; @@ -5471,20 +2954,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; @@ -5494,15 +2963,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; @@ -5512,20 +2972,6 @@ export type Query_RootGov_ParamsArgs = { }; -export type Query_RootGov_Params_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type Query_RootGov_Params_By_PkArgs = { - one_row_id: Scalars['Boolean']; -}; - - export type Query_RootInflationArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5535,15 +2981,6 @@ export type Query_RootInflationArgs = { }; -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; @@ -5553,15 +2990,6 @@ export type Query_RootMessageArgs = { }; -export type Query_RootMessage_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootMessages_By_AddressArgs = { args: Messages_By_Address_Args; distinct_on?: InputMaybe>; @@ -5572,16 +3000,6 @@ export type Query_RootMessages_By_AddressArgs = { }; -export type Query_RootMessages_By_Address_AggregateArgs = { - args: Messages_By_Address_Args; - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Query_RootMint_ParamsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -5591,20 +3009,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; @@ -5614,15 +3018,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']; }; @@ -5678,15 +3073,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; @@ -5696,15 +3082,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']; }; @@ -5719,15 +3096,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']; }; @@ -5742,20 +3110,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; @@ -5765,15 +3119,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; @@ -5783,30 +3128,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; @@ -5815,11 +3155,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; @@ -5829,15 +3164,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; @@ -5847,15 +3173,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; @@ -5865,15 +3182,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; @@ -5883,20 +3191,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; @@ -5906,15 +3200,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; @@ -5924,15 +3209,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; @@ -5942,15 +3218,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; @@ -5960,15 +3227,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']; }; @@ -5983,15 +3241,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']; }; @@ -6006,15 +3255,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']; }; @@ -6028,31 +3268,13 @@ export type Query_RootValidator_InfoArgs = { where?: InputMaybe; }; - -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']; -}; - - -export type Query_RootValidator_Signing_InfoArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + +export type Query_RootValidator_Info_By_PkArgs = { + consensus_address: Scalars['String']; }; -export type Query_RootValidator_Signing_Info_AggregateArgs = { +export type Query_RootValidator_Signing_InfoArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; @@ -6121,20 +3343,6 @@ export type Query_RootVesting_AccountArgs = { }; -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; @@ -6143,20 +3351,10 @@ export type Query_RootVesting_PeriodArgs = { where?: InputMaybe; }; - -export type Query_RootVesting_Period_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - /** columns and relationships of "slashing_params" */ export type Slashing_Params = { __typename?: 'slashing_params'; height: Scalars['bigint']; - one_row_id: Scalars['Boolean']; params: Scalars['jsonb']; }; @@ -6166,68 +3364,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; }; @@ -6236,53 +3384,9 @@ 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; -}; - -/** aggregate variance on columns */ -export type Slashing_Params_Variance_Fields = { - __typename?: 'slashing_params_variance_fields'; - height?: Maybe; -}; - export type Smallint_Cast_Exp = { String?: InputMaybe; }; @@ -6301,179 +3405,213 @@ 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; }; /** 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']; + params: Scalars['jsonb']; }; -/** aggregated selection of "staking_pool" */ -export type Staking_Pool_Aggregate = { - __typename?: 'staking_pool_aggregate'; - aggregate?: Maybe; - nodes: Array; -}; -/** 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; +/** columns and relationships of "staking_params" */ +export type Staking_ParamsParamsArgs = { + path?: InputMaybe; }; +/** 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; +}; -/** aggregate fields of "staking_pool" */ -export type Staking_Pool_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; +/** Ordering options when selecting data from "staking_params". */ +export type Staking_Params_Order_By = { + height?: InputMaybe; + params?: InputMaybe; }; -/** aggregate avg on columns */ -export type Staking_Pool_Avg_Fields = { - __typename?: 'staking_pool_avg_fields'; - height?: Maybe; +/** select columns of table "staking_params" */ +export enum Staking_Params_Select_Column { + /** column name */ + Height = 'height', + /** column name */ + Params = 'params' +} + +/** 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'. */ @@ -6484,22 +3622,8 @@ export type Staking_Pool_Bool_Exp = { bonded_tokens?: InputMaybe; height?: InputMaybe; not_bonded_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; -}; - -/** 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?: InputMaybe; + unbonding_tokens?: InputMaybe; }; /** Ordering options when selecting data from "staking_pool". */ @@ -6507,6 +3631,8 @@ export type Staking_Pool_Order_By = { bonded_tokens?: InputMaybe; height?: InputMaybe; not_bonded_tokens?: InputMaybe; + staked_not_bonded_tokens?: InputMaybe; + unbonding_tokens?: InputMaybe; }; /** select columns of table "staking_pool" */ @@ -6516,139 +3642,55 @@ export enum Staking_Pool_Select_Column { /** column name */ Height = 'height', /** column name */ - NotBondedTokens = 'not_bonded_tokens' + NotBondedTokens = 'not_bonded_tokens', + /** column name */ + StakedNotBondedTokens = 'staked_not_bonded_tokens', + /** column name */ + 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; -}; - -/** aggregate variance on columns */ -export type Staking_Pool_Variance_Fields = { - __typename?: 'staking_pool_variance_fields'; - height?: Maybe; -}; - 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: "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; /** 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: "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: "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; /** 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" */ @@ -6663,100 +3705,58 @@ 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: "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; /** 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" */ @@ -6773,14 +3773,8 @@ export type Subscription_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; }; @@ -6793,15 +3787,6 @@ 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']; }; @@ -6816,15 +3801,6 @@ 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>; - where?: InputMaybe; -}; - - export type Subscription_RootAverage_Block_Time_Per_DayArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -6834,15 +3810,6 @@ 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>; - where?: InputMaybe; -}; - - export type Subscription_RootAverage_Block_Time_Per_HourArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -6852,15 +3819,6 @@ 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>; - where?: InputMaybe; -}; - - export type Subscription_RootAverage_Block_Time_Per_MinuteArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -6870,15 +3828,6 @@ 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>; - where?: InputMaybe; -}; - - export type Subscription_RootBlockArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -6888,30 +3837,12 @@ 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_RootCommunity_PoolArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + height: Scalars['bigint']; }; -export type Subscription_RootCommunity_Pool_AggregateArgs = { +export type Subscription_RootCommunity_PoolArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; @@ -6929,20 +3860,6 @@ export type Subscription_RootDistribution_ParamsArgs = { }; -export type Subscription_RootDistribution_Params_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type Subscription_RootDistribution_Params_By_PkArgs = { - one_row_id: Scalars['Boolean']; -}; - - export type Subscription_RootDouble_Sign_EvidenceArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -6952,15 +3869,6 @@ export type Subscription_RootDouble_Sign_EvidenceArgs = { }; -export type Subscription_RootDouble_Sign_Evidence_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Subscription_RootDouble_Sign_VoteArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -6970,20 +3878,6 @@ export type Subscription_RootDouble_Sign_VoteArgs = { }; -export type Subscription_RootDouble_Sign_Vote_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type Subscription_RootDouble_Sign_Vote_By_PkArgs = { - id: Scalars['Int']; -}; - - export type Subscription_RootFee_Grant_AllowanceArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -6993,20 +3887,6 @@ export type Subscription_RootFee_Grant_AllowanceArgs = { }; -export type Subscription_RootFee_Grant_Allowance_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type Subscription_RootFee_Grant_Allowance_By_PkArgs = { - id: Scalars['Int']; -}; - - export type Subscription_RootGenesisArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7016,15 +3896,6 @@ export type Subscription_RootGenesisArgs = { }; -export type Subscription_RootGenesis_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Subscription_RootGov_ParamsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7034,20 +3905,6 @@ export type Subscription_RootGov_ParamsArgs = { }; -export type Subscription_RootGov_Params_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type Subscription_RootGov_Params_By_PkArgs = { - one_row_id: Scalars['Boolean']; -}; - - export type Subscription_RootInflationArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7057,15 +3914,6 @@ export type Subscription_RootInflationArgs = { }; -export type Subscription_RootInflation_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Subscription_RootMessageArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7075,15 +3923,6 @@ export type Subscription_RootMessageArgs = { }; -export type Subscription_RootMessage_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Subscription_RootMessages_By_AddressArgs = { args: Messages_By_Address_Args; distinct_on?: InputMaybe>; @@ -7094,16 +3933,6 @@ export type Subscription_RootMessages_By_AddressArgs = { }; -export type Subscription_RootMessages_By_Address_AggregateArgs = { - args: Messages_By_Address_Args; - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Subscription_RootMint_ParamsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7113,20 +3942,6 @@ export type Subscription_RootMint_ParamsArgs = { }; -export type Subscription_RootMint_Params_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type Subscription_RootMint_Params_By_PkArgs = { - one_row_id: Scalars['Boolean']; -}; - - export type Subscription_RootModulesArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7136,15 +3951,6 @@ 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']; }; @@ -7200,15 +4006,6 @@ export type Subscription_RootProposal_DepositArgs = { }; -export type Subscription_RootProposal_Deposit_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Subscription_RootProposal_Staking_Pool_SnapshotArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7218,15 +4015,6 @@ 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']; }; @@ -7241,15 +4029,6 @@ export type Subscription_RootProposal_Tally_ResultArgs = { }; -export type Subscription_RootProposal_Tally_Result_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Subscription_RootProposal_Tally_Result_By_PkArgs = { proposal_id: Scalars['Int']; }; @@ -7264,20 +4043,6 @@ export type Subscription_RootProposal_Validator_Status_SnapshotArgs = { }; -export type Subscription_RootProposal_Validator_Status_Snapshot_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type Subscription_RootProposal_Validator_Status_Snapshot_By_PkArgs = { - id: Scalars['Int']; -}; - - export type Subscription_RootProposal_VoteArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7287,15 +4052,6 @@ export type Subscription_RootProposal_VoteArgs = { }; -export type Subscription_RootProposal_Vote_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Subscription_RootSlashing_ParamsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7305,30 +4061,25 @@ export type Subscription_RootSlashing_ParamsArgs = { }; -export type Subscription_RootSlashing_Params_AggregateArgs = { - distinct_on?: InputMaybe>; +export type Subscription_RootSoftware_Upgrade_PlanArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type Subscription_RootSlashing_Params_By_PkArgs = { - one_row_id: Scalars['Boolean']; + 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_RootStaking_Params_AggregateArgs = { +export type Subscription_RootStaking_ParamsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; @@ -7337,11 +4088,6 @@ export type Subscription_RootStaking_Params_AggregateArgs = { }; -export type Subscription_RootStaking_Params_By_PkArgs = { - one_row_id: Scalars['Boolean']; -}; - - export type Subscription_RootStaking_PoolArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7351,15 +4097,6 @@ export type Subscription_RootStaking_PoolArgs = { }; -export type Subscription_RootStaking_Pool_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Subscription_RootSupplyArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7369,15 +4106,6 @@ export type Subscription_RootSupplyArgs = { }; -export type Subscription_RootSupply_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Subscription_RootTokenArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7387,15 +4115,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; @@ -7405,20 +4124,6 @@ export type Subscription_RootToken_PriceArgs = { }; -export type Subscription_RootToken_Price_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type Subscription_RootToken_Price_By_PkArgs = { - id: Scalars['Int']; -}; - - export type Subscription_RootToken_Price_HistoryArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7428,15 +4133,6 @@ export type Subscription_RootToken_Price_HistoryArgs = { }; -export type Subscription_RootToken_Price_History_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Subscription_RootToken_UnitArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7446,15 +4142,6 @@ export type Subscription_RootToken_UnitArgs = { }; -export type Subscription_RootToken_Unit_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Subscription_RootTransactionArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7464,15 +4151,6 @@ export type Subscription_RootTransactionArgs = { }; -export type Subscription_RootTransaction_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Subscription_RootValidatorArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7482,15 +4160,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']; }; @@ -7505,30 +4174,12 @@ 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_Description_AggregateArgs = { +export type Subscription_RootValidator_Commission_By_PkArgs = { + validator_address: Scalars['String']; +}; + + +export type Subscription_RootValidator_DescriptionArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; @@ -7551,15 +4202,6 @@ export type Subscription_RootValidator_InfoArgs = { }; -export type Subscription_RootValidator_Info_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Subscription_RootValidator_Info_By_PkArgs = { consensus_address: Scalars['String']; }; @@ -7574,15 +4216,6 @@ export type Subscription_RootValidator_Signing_InfoArgs = { }; -export type Subscription_RootValidator_Signing_Info_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - export type Subscription_RootValidator_Signing_Info_By_PkArgs = { validator_address: Scalars['String']; }; @@ -7643,20 +4276,6 @@ export type Subscription_RootVesting_AccountArgs = { }; -export type Subscription_RootVesting_Account_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type Subscription_RootVesting_Account_By_PkArgs = { - id: Scalars['Int']; -}; - - export type Subscription_RootVesting_PeriodArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7665,15 +4284,6 @@ export type Subscription_RootVesting_PeriodArgs = { where?: InputMaybe; }; - -export type Subscription_RootVesting_Period_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - /** columns and relationships of "supply" */ export type Supply = { __typename?: 'supply'; @@ -7681,42 +4291,6 @@ export type Supply = { 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; -}; - /** Boolean expression to filter rows from the table "supply". All fields are combined with a logical 'AND'. */ export type Supply_Bool_Exp = { _and?: InputMaybe>; @@ -7726,18 +4300,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; @@ -7752,48 +4314,6 @@ 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; -}; - -/** aggregate variance on columns */ -export type Supply_Variance_Fields = { - __typename?: 'supply_variance_fields'; - height?: Maybe; -}; - export type Timestamp_Cast_Exp = { String?: InputMaybe; }; @@ -7818,8 +4338,6 @@ export type Token = { name: Scalars['String']; /** An array relationship */ token_units: Array; - /** An aggregate relationship */ - token_units_aggregate: Token_Unit_Aggregate; }; @@ -7832,38 +4350,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>; @@ -7873,18 +4359,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; @@ -7894,7 +4368,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']; @@ -7903,36 +4376,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; @@ -7948,17 +4391,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; }; @@ -7968,7 +4402,6 @@ export type Token_Price_Bool_Exp = { _and?: InputMaybe>; _not?: InputMaybe; _or?: InputMaybe>; - id?: InputMaybe; market_cap?: InputMaybe; price?: InputMaybe; timestamp?: InputMaybe; @@ -7987,36 +4420,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; @@ -8032,13 +4435,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; @@ -8057,15 +4453,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; @@ -8074,15 +4461,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; @@ -8112,129 +4490,58 @@ 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; -}; - /** order by sum() on columns of table "token_price_history" */ export type Token_Price_History_Sum_Order_By = { market_cap?: InputMaybe; 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; @@ -8243,7 +4550,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; @@ -8253,8 +4559,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 */ @@ -8265,107 +4569,44 @@ 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; -}; - /** 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; }; @@ -8390,12 +4631,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; }; @@ -8409,63 +4646,13 @@ 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>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - 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; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; /** order by aggregate values of table "token_unit" */ @@ -8483,12 +4670,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; @@ -8510,15 +4691,6 @@ export type Token_Unit_Bool_Exp = { 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; -}; - /** order by max() on columns of table "token_unit" */ export type Token_Unit_Max_Order_By = { denom?: InputMaybe; @@ -8527,15 +4699,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; @@ -8571,78 +4734,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; -}; - /** order by sum() on columns of table "token_unit" */ 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; @@ -8660,8 +4781,7 @@ export type Transaction = { height: Scalars['bigint']; logs?: Maybe; memo?: Maybe; - messages: Scalars['jsonb']; - partition_id: Scalars['bigint']; + messages: Scalars['json']; raw_log?: Maybe; signatures: Scalars['_text']; signer_infos: Scalars['jsonb']; @@ -8692,36 +4812,6 @@ 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; -}; - - -/** aggregate fields of "transaction" */ -export type Transaction_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - /** order by aggregate values of table "transaction" */ export type Transaction_Aggregate_Order_By = { avg?: InputMaybe; @@ -8737,21 +4827,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'. */ @@ -8767,26 +4847,13 @@ export type Transaction_Bool_Exp = { height?: InputMaybe; logs?: InputMaybe; memo?: InputMaybe; - messages?: InputMaybe; - partition_id?: InputMaybe; + messages?: 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; @@ -8794,22 +4861,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; @@ -8817,7 +4871,6 @@ export type Transaction_Min_Order_By = { hash?: InputMaybe; height?: InputMaybe; memo?: InputMaybe; - partition_id?: InputMaybe; raw_log?: InputMaybe; }; @@ -8832,7 +4885,6 @@ export type Transaction_Order_By = { logs?: InputMaybe; memo?: InputMaybe; messages?: InputMaybe; - partition_id?: InputMaybe; raw_log?: InputMaybe; signatures?: InputMaybe; signer_infos?: InputMaybe; @@ -8858,8 +4910,6 @@ export enum Transaction_Select_Column { /** column name */ Messages = 'messages', /** column name */ - PartitionId = 'partition_id', - /** column name */ RawLog = 'raw_log', /** column name */ Signatures = 'signatures', @@ -8869,30 +4919,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" */ @@ -8900,16 +4931,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" */ @@ -8917,16 +4938,6 @@ 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; }; /** order by sum() on columns of table "transaction" */ @@ -8934,16 +4945,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" */ @@ -8951,16 +4952,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" */ @@ -8968,16 +4959,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" */ @@ -8985,7 +4966,6 @@ export type Transaction_Variance_Order_By = { gas_used?: InputMaybe; gas_wanted?: InputMaybe; height?: InputMaybe; - partition_id?: InputMaybe; }; /** columns and relationships of "validator" */ @@ -8993,14 +4973,10 @@ export type Validator = { __typename?: 'validator'; /** An array relationship */ blocks: Array; - /** An aggregate relationship */ - blocks_aggregate: Block_Aggregate; 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 */ @@ -9009,26 +4985,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 */ @@ -9050,16 +5016,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>; @@ -9070,16 +5026,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>; @@ -9110,16 +5056,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>; @@ -9130,16 +5066,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>; @@ -9150,16 +5076,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>; @@ -9170,16 +5086,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>; @@ -9190,16 +5096,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>; @@ -9239,28 +5135,6 @@ 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>; @@ -9293,36 +5167,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; @@ -9338,14 +5182,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; @@ -9365,15 +5201,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; @@ -9382,15 +5209,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; @@ -9420,14 +5238,6 @@ 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; @@ -9435,14 +5245,6 @@ export type Validator_Commission_Stddev_Order_By = { 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_pop() on columns of table "validator_commission" */ export type Validator_Commission_Stddev_Pop_Order_By = { commission?: InputMaybe; @@ -9450,14 +5252,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; @@ -9465,14 +5259,6 @@ 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; -}; - /** order by sum() on columns of table "validator_commission" */ export type Validator_Commission_Sum_Order_By = { commission?: InputMaybe; @@ -9480,14 +5266,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; @@ -9495,14 +5273,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; @@ -9510,14 +5280,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; @@ -9540,36 +5302,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; @@ -9585,12 +5317,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; @@ -9604,25 +5330,12 @@ export type Validator_Description_Bool_Exp = { avatar_url?: InputMaybe; details?: InputMaybe; height?: InputMaybe; - identity?: InputMaybe; - moniker?: InputMaybe; - security_contact?: InputMaybe; - validator?: InputMaybe; - validator_address?: InputMaybe; - 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; + identity?: InputMaybe; + moniker?: InputMaybe; + security_contact?: InputMaybe; + validator?: InputMaybe; + validator_address?: InputMaybe; + website?: InputMaybe; }; /** order by max() on columns of table "validator_description" */ @@ -9637,19 +5350,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; @@ -9695,78 +5395,36 @@ 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; -}; - /** order by sum() on columns of table "validator_description" */ 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; @@ -9786,28 +5444,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; @@ -9829,16 +5465,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; @@ -9848,16 +5474,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; @@ -9892,20 +5508,6 @@ 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; -}; - -/** aggregate min on columns */ -export type Validator_Min_Fields = { - __typename?: 'validator_min_fields'; - consensus_address?: Maybe; - consensus_pubkey?: Maybe; -}; - /** Ordering options when selecting data from "validator". */ export type Validator_Order_By = { blocks_aggregate?: InputMaybe; @@ -9944,36 +5546,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; @@ -9989,15 +5561,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; @@ -10020,17 +5583,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; @@ -10041,17 +5593,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; @@ -10091,15 +5632,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; @@ -10108,15 +5640,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; @@ -10125,15 +5648,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; @@ -10142,15 +5656,6 @@ 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; -}; - /** order by sum() on columns of table "validator_signing_info" */ export type Validator_Signing_Info_Sum_Order_By = { height?: InputMaybe; @@ -10159,15 +5664,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; @@ -10176,15 +5672,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; @@ -10193,15 +5680,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; @@ -10216,7 +5694,6 @@ export type Validator_Status = { height: Scalars['bigint']; jailed: Scalars['Boolean']; status: Scalars['Int']; - tombstoned: Scalars['Boolean']; /** An object relationship */ validator: Validator; validator_address: Scalars['String']; @@ -10288,7 +5765,6 @@ export type Validator_Status_Bool_Exp = { height?: InputMaybe; jailed?: InputMaybe; status?: InputMaybe; - tombstoned?: InputMaybe; validator?: InputMaybe; validator_address?: InputMaybe; }; @@ -10328,7 +5804,6 @@ export type Validator_Status_Order_By = { height?: InputMaybe; jailed?: InputMaybe; status?: InputMaybe; - tombstoned?: InputMaybe; validator?: InputMaybe; validator_address?: InputMaybe; }; @@ -10342,8 +5817,6 @@ export enum Validator_Status_Select_Column { /** column name */ Status = 'status', /** column name */ - Tombstoned = 'tombstoned', - /** column name */ ValidatorAddress = 'validator_address' } @@ -10667,14 +6140,11 @@ export type Vesting_Account = { 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; }; @@ -10687,70 +6157,11 @@ export type Vesting_AccountVesting_PeriodsArgs = { where?: InputMaybe; }; - -/** columns and relationships of "vesting_account" */ -export type Vesting_AccountVesting_Periods_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - 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'. */ @@ -10761,47 +6172,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; }; @@ -10811,7 +6199,6 @@ export type Vesting_Account_Order_By = { account?: InputMaybe; address?: InputMaybe; end_time?: InputMaybe; - id?: InputMaybe; original_vesting?: InputMaybe; start_time?: InputMaybe; type?: InputMaybe; @@ -10825,8 +6212,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', @@ -10834,83 +6219,6 @@ 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; -}; - -/** 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; -}; - /** columns and relationships of "vesting_period" */ export type Vesting_Period = { __typename?: 'vesting_period'; @@ -10919,37 +6227,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" */ @@ -10967,19 +6244,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'. */ @@ -10991,37 +6259,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". */ @@ -11030,7 +6279,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" */ @@ -11040,114 +6288,49 @@ 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; }; /** 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<{ @@ -11300,7 +6483,7 @@ export type OnlineVotingPowerQuery = { activeTotal: { __typename?: 'validator_st export type ParamsQueryVariables = Exact<{ [key: string]: never; }>; -export type ParamsQuery = { stakingParams: Array<{ __typename?: 'staking_params', params: any }>, slashingParams: Array<{ __typename?: 'slashing_params', params: any }>, mintParams: Array<{ __typename?: 'mint_params', params: any }>, distributionParams: Array<{ __typename?: 'distribution_params', params: any }>, govParams: Array<{ __typename?: 'gov_params', one_row_id: boolean, params: any, height: any }> }; +export type ParamsQuery = { stakingParams: Array<{ __typename?: 'staking_params', params: any }>, slashingParams: Array<{ __typename?: 'slashing_params', params: any }>, mintParams: Array<{ __typename?: 'mint_params', params: any }>, distributionParams: Array<{ __typename?: 'distribution_params', params: any }>, govParams: Array<{ __typename?: 'gov_params', params: any, height: any }> }; export type ProposalDetailsQueryVariables = Exact<{ proposalId?: InputMaybe; @@ -11343,7 +6526,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; @@ -12299,7 +7482,6 @@ export const ParamsDocument = gql` params } govParams: gov_params(limit: 1, order_by: {height: desc}) { - one_row_id params height } @@ -12561,7 +7743,6 @@ export type ProposalsQueryResult = Apollo.QueryResult