diff --git a/src/graphql/block_details.graphql b/src/graphql/block_details.graphql index e9c1530a53..418aa19fe6 100644 --- a/src/graphql/block_details.graphql +++ b/src/graphql/block_details.graphql @@ -1,4 +1,4 @@ -query BlockDetails($height: bigint, $signatureHeight: bigint) { +query BlockDetails($height: bigint) { transaction(where: {height: {_eq: $height}}) { height hash @@ -16,19 +16,19 @@ query BlockDetails($height: bigint, $signatureHeight: bigint) { operatorAddress: operator_address } } - } - preCommitsAggregate: pre_commit_aggregate(where: {height: {_eq: $signatureHeight}}) { - aggregate{ - sum { - votingPower: voting_power - } - } - } - preCommits: pre_commit(where: {height: {_eq: $signatureHeight}}) { - validator { + preCommits: pre_commits { + validator { validatorInfo: validator_info { operatorAddress: operator_address } } + } + preCommitsAggregate: pre_commits_aggregate { + aggregate { + sum { + votingPower: voting_power + } + } + } } } diff --git a/src/graphql/types.tsx b/src/graphql/types.tsx index 5d0a42adf5..d1d38f8697 100644 --- a/src/graphql/types.tsx +++ b/src/graphql/types.tsx @@ -14,6 +14,7 @@ export type Scalars = { Float: number; ActionCoin: any; ActionDelegation: any; + ActionNftTransferEvent: any; ActionPagination: any; ActionRedelegation: any; ActionUnbondingDelegation: any; @@ -25,8 +26,11 @@ export type Scalars = { json: any; jsonb: any; numeric: any; + proposal_executor_result: any; + proposal_status: any; smallint: any; timestamp: any; + vote_option: any; }; @@ -55,6 +59,12 @@ export type ActionDelegationReward = { }; +export type ActionNftTransferEventsResponse = { + __typename?: 'ActionNftTransferEventsResponse'; + events?: Maybe>>; +}; + + export type ActionRedelegationResponse = { __typename?: 'ActionRedelegationResponse'; @@ -2576,6 +2586,376 @@ export type Cosmwasm_Update_Admin_Variance_Fields = { index?: Maybe; }; +/** columns and relationships of "cw20token_balance" */ +export type Cw20token_Balance = { + __typename?: 'cw20token_balance'; + address: Scalars['String']; + balance: Scalars['String']; + /** An object relationship */ + cw20token_info: Cw20token_Info; + token: Scalars['String']; +}; + +/** aggregated selection of "cw20token_balance" */ +export type Cw20token_Balance_Aggregate = { + __typename?: 'cw20token_balance_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "cw20token_balance" */ +export type Cw20token_Balance_Aggregate_Fields = { + __typename?: 'cw20token_balance_aggregate_fields'; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; +}; + + +/** aggregate fields of "cw20token_balance" */ +export type Cw20token_Balance_Aggregate_FieldsCountArgs = { + columns?: Maybe>; + distinct?: Maybe; +}; + +/** order by aggregate values of table "cw20token_balance" */ +export type Cw20token_Balance_Aggregate_Order_By = { + count?: Maybe; + max?: Maybe; + min?: Maybe; +}; + +/** Boolean expression to filter rows from the table "cw20token_balance". All fields are combined with a logical 'AND'. */ +export type Cw20token_Balance_Bool_Exp = { + _and?: Maybe>; + _not?: Maybe; + _or?: Maybe>; + address?: Maybe; + balance?: Maybe; + cw20token_info?: Maybe; + token?: Maybe; +}; + +/** aggregate max on columns */ +export type Cw20token_Balance_Max_Fields = { + __typename?: 'cw20token_balance_max_fields'; + address?: Maybe; + balance?: Maybe; + token?: Maybe; +}; + +/** order by max() on columns of table "cw20token_balance" */ +export type Cw20token_Balance_Max_Order_By = { + address?: Maybe; + balance?: Maybe; + token?: Maybe; +}; + +/** aggregate min on columns */ +export type Cw20token_Balance_Min_Fields = { + __typename?: 'cw20token_balance_min_fields'; + address?: Maybe; + balance?: Maybe; + token?: Maybe; +}; + +/** order by min() on columns of table "cw20token_balance" */ +export type Cw20token_Balance_Min_Order_By = { + address?: Maybe; + balance?: Maybe; + token?: Maybe; +}; + +/** Ordering options when selecting data from "cw20token_balance". */ +export type Cw20token_Balance_Order_By = { + address?: Maybe; + balance?: Maybe; + cw20token_info?: Maybe; + token?: Maybe; +}; + +/** select columns of table "cw20token_balance" */ +export enum Cw20token_Balance_Select_Column { + /** column name */ + Address = 'address', + /** column name */ + Balance = 'balance', + /** column name */ + Token = 'token' +} + +/** columns and relationships of "cw20token_code_id" */ +export type Cw20token_Code_Id = { + __typename?: 'cw20token_code_id'; + id: Scalars['Int']; +}; + +/** Boolean expression to filter rows from the table "cw20token_code_id". All fields are combined with a logical 'AND'. */ +export type Cw20token_Code_Id_Bool_Exp = { + _and?: Maybe>; + _not?: Maybe; + _or?: Maybe>; + id?: Maybe; +}; + +/** Ordering options when selecting data from "cw20token_code_id". */ +export type Cw20token_Code_Id_Order_By = { + id?: Maybe; +}; + +/** select columns of table "cw20token_code_id" */ +export enum Cw20token_Code_Id_Select_Column { + /** column name */ + Id = 'id' +} + +/** columns and relationships of "cw20token_info" */ +export type Cw20token_Info = { + __typename?: 'cw20token_info'; + address: Scalars['String']; + /** An array relationship */ + balances: Array; + /** An aggregate relationship */ + balances_aggregate: Cw20token_Balance_Aggregate; + circulating_supply: Scalars['String']; + code_id: Scalars['Int']; + creator: Scalars['String']; + decimals: Scalars['Int']; + description?: Maybe; + initial_supply: Scalars['String']; + logo?: Maybe; + marketing_admin?: Maybe; + max_supply?: Maybe; + minter?: Maybe; + name: Scalars['String']; + project_url?: Maybe; + symbol: Scalars['String']; + type?: Maybe; +}; + + +/** columns and relationships of "cw20token_info" */ +export type Cw20token_InfoBalancesArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +/** columns and relationships of "cw20token_info" */ +export type Cw20token_InfoBalances_AggregateArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + +/** aggregated selection of "cw20token_info" */ +export type Cw20token_Info_Aggregate = { + __typename?: 'cw20token_info_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "cw20token_info" */ +export type Cw20token_Info_Aggregate_Fields = { + __typename?: 'cw20token_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 "cw20token_info" */ +export type Cw20token_Info_Aggregate_FieldsCountArgs = { + columns?: Maybe>; + distinct?: Maybe; +}; + +/** aggregate avg on columns */ +export type Cw20token_Info_Avg_Fields = { + __typename?: 'cw20token_info_avg_fields'; + code_id?: Maybe; + decimals?: Maybe; +}; + +/** Boolean expression to filter rows from the table "cw20token_info". All fields are combined with a logical 'AND'. */ +export type Cw20token_Info_Bool_Exp = { + _and?: Maybe>; + _not?: Maybe; + _or?: Maybe>; + address?: Maybe; + balances?: Maybe; + circulating_supply?: Maybe; + code_id?: Maybe; + creator?: Maybe; + decimals?: Maybe; + description?: Maybe; + initial_supply?: Maybe; + logo?: Maybe; + marketing_admin?: Maybe; + max_supply?: Maybe; + minter?: Maybe; + name?: Maybe; + project_url?: Maybe; + symbol?: Maybe; + type?: Maybe; +}; + +/** aggregate max on columns */ +export type Cw20token_Info_Max_Fields = { + __typename?: 'cw20token_info_max_fields'; + address?: Maybe; + circulating_supply?: Maybe; + code_id?: Maybe; + creator?: Maybe; + decimals?: Maybe; + description?: Maybe; + initial_supply?: Maybe; + logo?: Maybe; + marketing_admin?: Maybe; + max_supply?: Maybe; + minter?: Maybe; + name?: Maybe; + project_url?: Maybe; + symbol?: Maybe; + type?: Maybe; +}; + +/** aggregate min on columns */ +export type Cw20token_Info_Min_Fields = { + __typename?: 'cw20token_info_min_fields'; + address?: Maybe; + circulating_supply?: Maybe; + code_id?: Maybe; + creator?: Maybe; + decimals?: Maybe; + description?: Maybe; + initial_supply?: Maybe; + logo?: Maybe; + marketing_admin?: Maybe; + max_supply?: Maybe; + minter?: Maybe; + name?: Maybe; + project_url?: Maybe; + symbol?: Maybe; + type?: Maybe; +}; + +/** Ordering options when selecting data from "cw20token_info". */ +export type Cw20token_Info_Order_By = { + address?: Maybe; + balances_aggregate?: Maybe; + circulating_supply?: Maybe; + code_id?: Maybe; + creator?: Maybe; + decimals?: Maybe; + description?: Maybe; + initial_supply?: Maybe; + logo?: Maybe; + marketing_admin?: Maybe; + max_supply?: Maybe; + minter?: Maybe; + name?: Maybe; + project_url?: Maybe; + symbol?: Maybe; + type?: Maybe; +}; + +/** select columns of table "cw20token_info" */ +export enum Cw20token_Info_Select_Column { + /** column name */ + Address = 'address', + /** column name */ + CirculatingSupply = 'circulating_supply', + /** column name */ + CodeId = 'code_id', + /** column name */ + Creator = 'creator', + /** column name */ + Decimals = 'decimals', + /** column name */ + Description = 'description', + /** column name */ + InitialSupply = 'initial_supply', + /** column name */ + Logo = 'logo', + /** column name */ + MarketingAdmin = 'marketing_admin', + /** column name */ + MaxSupply = 'max_supply', + /** column name */ + Minter = 'minter', + /** column name */ + Name = 'name', + /** column name */ + ProjectUrl = 'project_url', + /** column name */ + Symbol = 'symbol', + /** column name */ + Type = 'type' +} + +/** aggregate stddev on columns */ +export type Cw20token_Info_Stddev_Fields = { + __typename?: 'cw20token_info_stddev_fields'; + code_id?: Maybe; + decimals?: Maybe; +}; + +/** aggregate stddev_pop on columns */ +export type Cw20token_Info_Stddev_Pop_Fields = { + __typename?: 'cw20token_info_stddev_pop_fields'; + code_id?: Maybe; + decimals?: Maybe; +}; + +/** aggregate stddev_samp on columns */ +export type Cw20token_Info_Stddev_Samp_Fields = { + __typename?: 'cw20token_info_stddev_samp_fields'; + code_id?: Maybe; + decimals?: Maybe; +}; + +/** aggregate sum on columns */ +export type Cw20token_Info_Sum_Fields = { + __typename?: 'cw20token_info_sum_fields'; + code_id?: Maybe; + decimals?: Maybe; +}; + +/** aggregate var_pop on columns */ +export type Cw20token_Info_Var_Pop_Fields = { + __typename?: 'cw20token_info_var_pop_fields'; + code_id?: Maybe; + decimals?: Maybe; +}; + +/** aggregate var_samp on columns */ +export type Cw20token_Info_Var_Samp_Fields = { + __typename?: 'cw20token_info_var_samp_fields'; + code_id?: Maybe; + decimals?: Maybe; +}; + +/** aggregate variance on columns */ +export type Cw20token_Info_Variance_Fields = { + __typename?: 'cw20token_info_variance_fields'; + code_id?: Maybe; + decimals?: Maybe; +}; + /** columns and relationships of "delegation" */ export type Delegation = { __typename?: 'delegation'; @@ -2674,116 +3054,287 @@ export enum Delegation_Select_Column { ValidatorAddress = 'validator_address' } -/** columns and relationships of "distribution_params" */ -export type Distribution_Params = { - __typename?: 'distribution_params'; - height: Scalars['bigint']; - one_row_id: Scalars['Boolean']; - params: Scalars['jsonb']; +export type Denoms_By_Data_Property_Args = { + limit?: Maybe; + offset?: Maybe; + property_name?: Maybe; + property_value?: Maybe; +}; + +/** columns and relationships of "distinct_message" */ +export type Distinct_Message = { + __typename?: 'distinct_message'; + height?: Maybe; + index?: Maybe; + involved_accounts_addresses?: Maybe; + /** An object relationship */ + transaction: Transaction; + transaction_hash: Scalars['String']; + type?: Maybe; + value?: Maybe; }; -/** columns and relationships of "distribution_params" */ -export type Distribution_ParamsParamsArgs = { +/** columns and relationships of "distinct_message" */ +export type Distinct_MessageValueArgs = { path?: Maybe; }; -/** aggregated selection of "distribution_params" */ -export type Distribution_Params_Aggregate = { - __typename?: 'distribution_params_aggregate'; - aggregate?: Maybe; - nodes: Array; +/** aggregated selection of "distinct_message" */ +export type Distinct_Message_Aggregate = { + __typename?: 'distinct_message_aggregate'; + aggregate?: Maybe; + nodes: Array; }; -/** aggregate fields of "distribution_params" */ -export type Distribution_Params_Aggregate_Fields = { - __typename?: 'distribution_params_aggregate_fields'; - avg?: Maybe; +/** aggregate fields of "distinct_message" */ +export type Distinct_Message_Aggregate_Fields = { + __typename?: 'distinct_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; + 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?: Maybe>; +/** aggregate fields of "distinct_message" */ +export type Distinct_Message_Aggregate_FieldsCountArgs = { + columns?: Maybe>; distinct?: Maybe; }; /** aggregate avg on columns */ -export type Distribution_Params_Avg_Fields = { - __typename?: 'distribution_params_avg_fields'; +export type Distinct_Message_Avg_Fields = { + __typename?: 'distinct_message_avg_fields'; height?: Maybe; + index?: 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?: Maybe>; - _not?: Maybe; - _or?: Maybe>; +/** Boolean expression to filter rows from the table "distinct_message". All fields are combined with a logical 'AND'. */ +export type Distinct_Message_Bool_Exp = { + _and?: Maybe>; + _not?: Maybe; + _or?: Maybe>; height?: Maybe; - one_row_id?: Maybe; - params?: Maybe; + index?: Maybe; + involved_accounts_addresses?: Maybe<_Text_Comparison_Exp>; + transaction?: Maybe; + transaction_hash?: Maybe; + type?: Maybe; + value?: Maybe; }; /** aggregate max on columns */ -export type Distribution_Params_Max_Fields = { - __typename?: 'distribution_params_max_fields'; +export type Distinct_Message_Max_Fields = { + __typename?: 'distinct_message_max_fields'; height?: Maybe; + index?: Maybe; + transaction_hash?: Maybe; + type?: Maybe; }; /** aggregate min on columns */ -export type Distribution_Params_Min_Fields = { - __typename?: 'distribution_params_min_fields'; +export type Distinct_Message_Min_Fields = { + __typename?: 'distinct_message_min_fields'; height?: Maybe; + index?: Maybe; + transaction_hash?: Maybe; + type?: Maybe; }; -/** Ordering options when selecting data from "distribution_params". */ -export type Distribution_Params_Order_By = { +/** Ordering options when selecting data from "distinct_message". */ +export type Distinct_Message_Order_By = { height?: Maybe; - one_row_id?: Maybe; - params?: Maybe; + index?: Maybe; + involved_accounts_addresses?: Maybe; + transaction?: Maybe; + transaction_hash?: Maybe; + type?: Maybe; + value?: Maybe; }; -/** select columns of table "distribution_params" */ -export enum Distribution_Params_Select_Column { +/** select columns of table "distinct_message" */ +export enum Distinct_Message_Select_Column { /** column name */ Height = 'height', /** column name */ - OneRowId = 'one_row_id', + Index = 'index', /** column name */ - Params = 'params' + InvolvedAccountsAddresses = 'involved_accounts_addresses', + /** column name */ + TransactionHash = 'transaction_hash', + /** column name */ + Type = 'type', + /** column name */ + Value = 'value' } /** aggregate stddev on columns */ -export type Distribution_Params_Stddev_Fields = { - __typename?: 'distribution_params_stddev_fields'; +export type Distinct_Message_Stddev_Fields = { + __typename?: 'distinct_message_stddev_fields'; height?: Maybe; + index?: Maybe; }; /** aggregate stddev_pop on columns */ -export type Distribution_Params_Stddev_Pop_Fields = { - __typename?: 'distribution_params_stddev_pop_fields'; +export type Distinct_Message_Stddev_Pop_Fields = { + __typename?: 'distinct_message_stddev_pop_fields'; height?: Maybe; + index?: Maybe; }; /** aggregate stddev_samp on columns */ -export type Distribution_Params_Stddev_Samp_Fields = { - __typename?: 'distribution_params_stddev_samp_fields'; +export type Distinct_Message_Stddev_Samp_Fields = { + __typename?: 'distinct_message_stddev_samp_fields'; height?: Maybe; + index?: Maybe; }; /** aggregate sum on columns */ -export type Distribution_Params_Sum_Fields = { - __typename?: 'distribution_params_sum_fields'; +export type Distinct_Message_Sum_Fields = { + __typename?: 'distinct_message_sum_fields'; + height?: Maybe; + index?: Maybe; +}; + +/** aggregate var_pop on columns */ +export type Distinct_Message_Var_Pop_Fields = { + __typename?: 'distinct_message_var_pop_fields'; + height?: Maybe; + index?: Maybe; +}; + +/** aggregate var_samp on columns */ +export type Distinct_Message_Var_Samp_Fields = { + __typename?: 'distinct_message_var_samp_fields'; + height?: Maybe; + index?: Maybe; +}; + +/** aggregate variance on columns */ +export type Distinct_Message_Variance_Fields = { + __typename?: 'distinct_message_variance_fields'; + height?: Maybe; + index?: Maybe; +}; + +/** columns and relationships of "distribution_params" */ +export type Distribution_Params = { + __typename?: 'distribution_params'; + height: Scalars['bigint']; + one_row_id: Scalars['Boolean']; + params: Scalars['jsonb']; +}; + + +/** columns and relationships of "distribution_params" */ +export type Distribution_ParamsParamsArgs = { + path?: Maybe; +}; + +/** 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?: Maybe>; + distinct?: Maybe; +}; + +/** 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?: Maybe>; + _not?: Maybe; + _or?: Maybe>; + height?: Maybe; + one_row_id?: Maybe; + params?: Maybe; +}; + +/** 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?: Maybe; + one_row_id?: Maybe; + params?: Maybe; +}; + +/** select columns of table "distribution_params" */ +export enum Distribution_Params_Select_Column { + /** column name */ + Height = 'height', + /** column name */ + OneRowId = 'one_row_id', + /** column name */ + Params = 'params' +} + +/** 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; }; @@ -3849,172 +4400,1852 @@ export type Gravity_Messages_By_Address_Args = { receiver_addr?: Maybe; }; -/** columns and relationships of "inflation" */ -export type Inflation = { - __typename?: 'inflation'; - height: Scalars['bigint']; - value: Scalars['numeric']; +/** columns and relationships of "group_member" */ +export type Group_Member = { + __typename?: 'group_member'; + add_time: Scalars['timestamp']; + address: Scalars['String']; + group_id: Scalars['Int']; + /** An array relationship */ + group_proposal_votes: Array; + /** An aggregate relationship */ + group_proposal_votes_aggregate: Group_Proposal_Vote_Aggregate; + /** An object relationship */ + group_with_policy: Group_With_Policy; + metadata?: Maybe; + weight: Scalars['Int']; }; -/** aggregated selection of "inflation" */ -export type Inflation_Aggregate = { - __typename?: 'inflation_aggregate'; - aggregate?: Maybe; - nodes: Array; + +/** columns and relationships of "group_member" */ +export type Group_MemberGroup_Proposal_VotesArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; }; -/** aggregate fields of "inflation" */ -export type Inflation_Aggregate_Fields = { - __typename?: 'inflation_aggregate_fields'; - avg?: Maybe; + +/** columns and relationships of "group_member" */ +export type Group_MemberGroup_Proposal_Votes_AggregateArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + +/** aggregated selection of "group_member" */ +export type Group_Member_Aggregate = { + __typename?: 'group_member_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "group_member" */ +export type Group_Member_Aggregate_Fields = { + __typename?: 'group_member_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 "inflation" */ -export type Inflation_Aggregate_FieldsCountArgs = { - columns?: Maybe>; +/** aggregate fields of "group_member" */ +export type Group_Member_Aggregate_FieldsCountArgs = { + columns?: Maybe>; distinct?: Maybe; }; +/** order by aggregate values of table "group_member" */ +export type Group_Member_Aggregate_Order_By = { + avg?: Maybe; + count?: Maybe; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + /** aggregate avg on columns */ -export type Inflation_Avg_Fields = { - __typename?: 'inflation_avg_fields'; - height?: Maybe; - value?: Maybe; +export type Group_Member_Avg_Fields = { + __typename?: 'group_member_avg_fields'; + group_id?: Maybe; + weight?: Maybe; }; -/** Boolean expression to filter rows from the table "inflation". All fields are combined with a logical 'AND'. */ -export type Inflation_Bool_Exp = { - _and?: Maybe>; - _not?: Maybe; - _or?: Maybe>; - height?: Maybe; - value?: Maybe; +/** order by avg() on columns of table "group_member" */ +export type Group_Member_Avg_Order_By = { + group_id?: Maybe; + weight?: Maybe; +}; + +/** Boolean expression to filter rows from the table "group_member". All fields are combined with a logical 'AND'. */ +export type Group_Member_Bool_Exp = { + _and?: Maybe>; + _not?: Maybe; + _or?: Maybe>; + add_time?: Maybe; + address?: Maybe; + group_id?: Maybe; + group_proposal_votes?: Maybe; + group_with_policy?: Maybe; + metadata?: Maybe; + weight?: Maybe; }; /** aggregate max on columns */ -export type Inflation_Max_Fields = { - __typename?: 'inflation_max_fields'; - height?: Maybe; - value?: Maybe; +export type Group_Member_Max_Fields = { + __typename?: 'group_member_max_fields'; + add_time?: Maybe; + address?: Maybe; + group_id?: Maybe; + metadata?: Maybe; + weight?: Maybe; +}; + +/** order by max() on columns of table "group_member" */ +export type Group_Member_Max_Order_By = { + add_time?: Maybe; + address?: Maybe; + group_id?: Maybe; + metadata?: Maybe; + weight?: Maybe; }; /** aggregate min on columns */ -export type Inflation_Min_Fields = { - __typename?: 'inflation_min_fields'; - height?: Maybe; - value?: Maybe; +export type Group_Member_Min_Fields = { + __typename?: 'group_member_min_fields'; + add_time?: Maybe; + address?: Maybe; + group_id?: Maybe; + metadata?: Maybe; + weight?: Maybe; }; -/** Ordering options when selecting data from "inflation". */ -export type Inflation_Order_By = { - height?: Maybe; - value?: Maybe; +/** order by min() on columns of table "group_member" */ +export type Group_Member_Min_Order_By = { + add_time?: Maybe; + address?: Maybe; + group_id?: Maybe; + metadata?: Maybe; + weight?: Maybe; }; -/** select columns of table "inflation" */ -export enum Inflation_Select_Column { +/** Ordering options when selecting data from "group_member". */ +export type Group_Member_Order_By = { + add_time?: Maybe; + address?: Maybe; + group_id?: Maybe; + group_proposal_votes_aggregate?: Maybe; + group_with_policy?: Maybe; + metadata?: Maybe; + weight?: Maybe; +}; + +/** select columns of table "group_member" */ +export enum Group_Member_Select_Column { /** column name */ - Height = 'height', + AddTime = 'add_time', /** column name */ - Value = 'value' + Address = 'address', + /** column name */ + GroupId = 'group_id', + /** column name */ + Metadata = 'metadata', + /** column name */ + Weight = 'weight' } /** aggregate stddev on columns */ -export type Inflation_Stddev_Fields = { - __typename?: 'inflation_stddev_fields'; - height?: Maybe; - value?: Maybe; +export type Group_Member_Stddev_Fields = { + __typename?: 'group_member_stddev_fields'; + group_id?: Maybe; + weight?: Maybe; +}; + +/** order by stddev() on columns of table "group_member" */ +export type Group_Member_Stddev_Order_By = { + group_id?: Maybe; + weight?: Maybe; }; /** aggregate stddev_pop on columns */ -export type Inflation_Stddev_Pop_Fields = { - __typename?: 'inflation_stddev_pop_fields'; - height?: Maybe; - value?: Maybe; +export type Group_Member_Stddev_Pop_Fields = { + __typename?: 'group_member_stddev_pop_fields'; + group_id?: Maybe; + weight?: Maybe; +}; + +/** order by stddev_pop() on columns of table "group_member" */ +export type Group_Member_Stddev_Pop_Order_By = { + group_id?: Maybe; + weight?: Maybe; }; /** aggregate stddev_samp on columns */ -export type Inflation_Stddev_Samp_Fields = { - __typename?: 'inflation_stddev_samp_fields'; - height?: Maybe; - value?: Maybe; +export type Group_Member_Stddev_Samp_Fields = { + __typename?: 'group_member_stddev_samp_fields'; + group_id?: Maybe; + weight?: Maybe; +}; + +/** order by stddev_samp() on columns of table "group_member" */ +export type Group_Member_Stddev_Samp_Order_By = { + group_id?: Maybe; + weight?: Maybe; }; /** aggregate sum on columns */ -export type Inflation_Sum_Fields = { - __typename?: 'inflation_sum_fields'; - height?: Maybe; - value?: Maybe; +export type Group_Member_Sum_Fields = { + __typename?: 'group_member_sum_fields'; + group_id?: Maybe; + weight?: Maybe; +}; + +/** order by sum() on columns of table "group_member" */ +export type Group_Member_Sum_Order_By = { + group_id?: Maybe; + weight?: Maybe; }; /** aggregate var_pop on columns */ -export type Inflation_Var_Pop_Fields = { - __typename?: 'inflation_var_pop_fields'; - height?: Maybe; - value?: Maybe; +export type Group_Member_Var_Pop_Fields = { + __typename?: 'group_member_var_pop_fields'; + group_id?: Maybe; + weight?: Maybe; +}; + +/** order by var_pop() on columns of table "group_member" */ +export type Group_Member_Var_Pop_Order_By = { + group_id?: Maybe; + weight?: Maybe; }; /** aggregate var_samp on columns */ -export type Inflation_Var_Samp_Fields = { - __typename?: 'inflation_var_samp_fields'; +export type Group_Member_Var_Samp_Fields = { + __typename?: 'group_member_var_samp_fields'; + group_id?: Maybe; + weight?: Maybe; +}; + +/** order by var_samp() on columns of table "group_member" */ +export type Group_Member_Var_Samp_Order_By = { + group_id?: Maybe; + weight?: Maybe; +}; + +/** aggregate variance on columns */ +export type Group_Member_Variance_Fields = { + __typename?: 'group_member_variance_fields'; + group_id?: Maybe; + weight?: Maybe; +}; + +/** order by variance() on columns of table "group_member" */ +export type Group_Member_Variance_Order_By = { + group_id?: Maybe; + weight?: Maybe; +}; + +/** columns and relationships of "group_proposal" */ +export type Group_Proposal = { + __typename?: 'group_proposal'; + /** An object relationship */ + block: Block; + execution_log?: Maybe; + execution_time?: Maybe; + executor?: Maybe; + executor_result: Scalars['proposal_executor_result']; + group_id: Scalars['Int']; + /** An array relationship */ + group_proposal_votes: Array; + /** An aggregate relationship */ + group_proposal_votes_aggregate: Group_Proposal_Vote_Aggregate; + /** An object relationship */ + group_with_policy: Group_With_Policy; + height: Scalars['bigint']; + id: Scalars['Int']; + member_count: Scalars['Int']; + messages: Scalars['jsonb']; + metadata?: Maybe; + proposer: Scalars['String']; + status: Scalars['proposal_status']; + submit_time: Scalars['timestamp']; + /** An object relationship */ + transaction?: Maybe; + transaction_hash?: Maybe; +}; + + +/** columns and relationships of "group_proposal" */ +export type Group_ProposalGroup_Proposal_VotesArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +/** columns and relationships of "group_proposal" */ +export type Group_ProposalGroup_Proposal_Votes_AggregateArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +/** columns and relationships of "group_proposal" */ +export type Group_ProposalMessagesArgs = { + path?: Maybe; +}; + +/** aggregated selection of "group_proposal" */ +export type Group_Proposal_Aggregate = { + __typename?: 'group_proposal_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "group_proposal" */ +export type Group_Proposal_Aggregate_Fields = { + __typename?: 'group_proposal_aggregate_fields'; + avg?: Maybe; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + + +/** aggregate fields of "group_proposal" */ +export type Group_Proposal_Aggregate_FieldsCountArgs = { + columns?: Maybe>; + distinct?: Maybe; +}; + +/** order by aggregate values of table "group_proposal" */ +export type Group_Proposal_Aggregate_Order_By = { + avg?: Maybe; + count?: Maybe; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + +/** aggregate avg on columns */ +export type Group_Proposal_Avg_Fields = { + __typename?: 'group_proposal_avg_fields'; + group_id?: Maybe; height?: Maybe; - value?: Maybe; + id?: Maybe; + member_count?: Maybe; +}; + +/** order by avg() on columns of table "group_proposal" */ +export type Group_Proposal_Avg_Order_By = { + group_id?: Maybe; + height?: Maybe; + id?: Maybe; + member_count?: Maybe; +}; + +/** Boolean expression to filter rows from the table "group_proposal". All fields are combined with a logical 'AND'. */ +export type Group_Proposal_Bool_Exp = { + _and?: Maybe>; + _not?: Maybe; + _or?: Maybe>; + block?: Maybe; + execution_log?: Maybe; + execution_time?: Maybe; + executor?: Maybe; + executor_result?: Maybe; + group_id?: Maybe; + group_proposal_votes?: Maybe; + group_with_policy?: Maybe; + height?: Maybe; + id?: Maybe; + member_count?: Maybe; + messages?: Maybe; + metadata?: Maybe; + proposer?: Maybe; + status?: Maybe; + submit_time?: Maybe; + transaction?: Maybe; + transaction_hash?: Maybe; +}; + +/** aggregate max on columns */ +export type Group_Proposal_Max_Fields = { + __typename?: 'group_proposal_max_fields'; + execution_log?: Maybe; + execution_time?: Maybe; + executor?: Maybe; + group_id?: Maybe; + height?: Maybe; + id?: Maybe; + member_count?: Maybe; + metadata?: Maybe; + proposer?: Maybe; + submit_time?: Maybe; + transaction_hash?: Maybe; +}; + +/** order by max() on columns of table "group_proposal" */ +export type Group_Proposal_Max_Order_By = { + execution_log?: Maybe; + execution_time?: Maybe; + executor?: Maybe; + group_id?: Maybe; + height?: Maybe; + id?: Maybe; + member_count?: Maybe; + metadata?: Maybe; + proposer?: Maybe; + submit_time?: Maybe; + transaction_hash?: Maybe; +}; + +/** aggregate min on columns */ +export type Group_Proposal_Min_Fields = { + __typename?: 'group_proposal_min_fields'; + execution_log?: Maybe; + execution_time?: Maybe; + executor?: Maybe; + group_id?: Maybe; + height?: Maybe; + id?: Maybe; + member_count?: Maybe; + metadata?: Maybe; + proposer?: Maybe; + submit_time?: Maybe; + transaction_hash?: Maybe; +}; + +/** order by min() on columns of table "group_proposal" */ +export type Group_Proposal_Min_Order_By = { + execution_log?: Maybe; + execution_time?: Maybe; + executor?: Maybe; + group_id?: Maybe; + height?: Maybe; + id?: Maybe; + member_count?: Maybe; + metadata?: Maybe; + proposer?: Maybe; + submit_time?: Maybe; + transaction_hash?: Maybe; +}; + +/** Ordering options when selecting data from "group_proposal". */ +export type Group_Proposal_Order_By = { + block?: Maybe; + execution_log?: Maybe; + execution_time?: Maybe; + executor?: Maybe; + executor_result?: Maybe; + group_id?: Maybe; + group_proposal_votes_aggregate?: Maybe; + group_with_policy?: Maybe; + height?: Maybe; + id?: Maybe; + member_count?: Maybe; + messages?: Maybe; + metadata?: Maybe; + proposer?: Maybe; + status?: Maybe; + submit_time?: Maybe; + transaction?: Maybe; + transaction_hash?: Maybe; +}; + +/** select columns of table "group_proposal" */ +export enum Group_Proposal_Select_Column { + /** column name */ + ExecutionLog = 'execution_log', + /** column name */ + ExecutionTime = 'execution_time', + /** column name */ + Executor = 'executor', + /** column name */ + ExecutorResult = 'executor_result', + /** column name */ + GroupId = 'group_id', + /** column name */ + Height = 'height', + /** column name */ + Id = 'id', + /** column name */ + MemberCount = 'member_count', + /** column name */ + Messages = 'messages', + /** column name */ + Metadata = 'metadata', + /** column name */ + Proposer = 'proposer', + /** column name */ + Status = 'status', + /** column name */ + SubmitTime = 'submit_time', + /** column name */ + TransactionHash = 'transaction_hash' +} + +/** aggregate stddev on columns */ +export type Group_Proposal_Stddev_Fields = { + __typename?: 'group_proposal_stddev_fields'; + group_id?: Maybe; + height?: Maybe; + id?: Maybe; + member_count?: Maybe; +}; + +/** order by stddev() on columns of table "group_proposal" */ +export type Group_Proposal_Stddev_Order_By = { + group_id?: Maybe; + height?: Maybe; + id?: Maybe; + member_count?: Maybe; +}; + +/** aggregate stddev_pop on columns */ +export type Group_Proposal_Stddev_Pop_Fields = { + __typename?: 'group_proposal_stddev_pop_fields'; + group_id?: Maybe; + height?: Maybe; + id?: Maybe; + member_count?: Maybe; +}; + +/** order by stddev_pop() on columns of table "group_proposal" */ +export type Group_Proposal_Stddev_Pop_Order_By = { + group_id?: Maybe; + height?: Maybe; + id?: Maybe; + member_count?: Maybe; +}; + +/** aggregate stddev_samp on columns */ +export type Group_Proposal_Stddev_Samp_Fields = { + __typename?: 'group_proposal_stddev_samp_fields'; + group_id?: Maybe; + height?: Maybe; + id?: Maybe; + member_count?: Maybe; +}; + +/** order by stddev_samp() on columns of table "group_proposal" */ +export type Group_Proposal_Stddev_Samp_Order_By = { + group_id?: Maybe; + height?: Maybe; + id?: Maybe; + member_count?: Maybe; +}; + +/** aggregate sum on columns */ +export type Group_Proposal_Sum_Fields = { + __typename?: 'group_proposal_sum_fields'; + group_id?: Maybe; + height?: Maybe; + id?: Maybe; + member_count?: Maybe; +}; + +/** order by sum() on columns of table "group_proposal" */ +export type Group_Proposal_Sum_Order_By = { + group_id?: Maybe; + height?: Maybe; + id?: Maybe; + member_count?: Maybe; +}; + +/** aggregate var_pop on columns */ +export type Group_Proposal_Var_Pop_Fields = { + __typename?: 'group_proposal_var_pop_fields'; + group_id?: Maybe; + height?: Maybe; + id?: Maybe; + member_count?: Maybe; +}; + +/** order by var_pop() on columns of table "group_proposal" */ +export type Group_Proposal_Var_Pop_Order_By = { + group_id?: Maybe; + height?: Maybe; + id?: Maybe; + member_count?: Maybe; +}; + +/** aggregate var_samp on columns */ +export type Group_Proposal_Var_Samp_Fields = { + __typename?: 'group_proposal_var_samp_fields'; + group_id?: Maybe; + height?: Maybe; + id?: Maybe; + member_count?: Maybe; +}; + +/** order by var_samp() on columns of table "group_proposal" */ +export type Group_Proposal_Var_Samp_Order_By = { + group_id?: Maybe; + height?: Maybe; + id?: Maybe; + member_count?: Maybe; +}; + +/** aggregate variance on columns */ +export type Group_Proposal_Variance_Fields = { + __typename?: 'group_proposal_variance_fields'; + group_id?: Maybe; + height?: Maybe; + id?: Maybe; + member_count?: Maybe; +}; + +/** order by variance() on columns of table "group_proposal" */ +export type Group_Proposal_Variance_Order_By = { + group_id?: Maybe; + height?: Maybe; + id?: Maybe; + member_count?: Maybe; +}; + +/** columns and relationships of "group_proposal_vote" */ +export type Group_Proposal_Vote = { + __typename?: 'group_proposal_vote'; + group_id: Scalars['Int']; + /** An object relationship */ + group_member?: Maybe; + /** An object relationship */ + group_proposal: Group_Proposal; + proposal_id: Scalars['Int']; + submit_time: Scalars['timestamp']; + vote_metadata?: Maybe; + vote_option: Scalars['vote_option']; + voter: Scalars['String']; +}; + +/** aggregated selection of "group_proposal_vote" */ +export type Group_Proposal_Vote_Aggregate = { + __typename?: 'group_proposal_vote_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "group_proposal_vote" */ +export type Group_Proposal_Vote_Aggregate_Fields = { + __typename?: 'group_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 "group_proposal_vote" */ +export type Group_Proposal_Vote_Aggregate_FieldsCountArgs = { + columns?: Maybe>; + distinct?: Maybe; +}; + +/** order by aggregate values of table "group_proposal_vote" */ +export type Group_Proposal_Vote_Aggregate_Order_By = { + avg?: Maybe; + count?: Maybe; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + +/** aggregate avg on columns */ +export type Group_Proposal_Vote_Avg_Fields = { + __typename?: 'group_proposal_vote_avg_fields'; + group_id?: Maybe; + proposal_id?: Maybe; +}; + +/** order by avg() on columns of table "group_proposal_vote" */ +export type Group_Proposal_Vote_Avg_Order_By = { + group_id?: Maybe; + proposal_id?: Maybe; +}; + +/** Boolean expression to filter rows from the table "group_proposal_vote". All fields are combined with a logical 'AND'. */ +export type Group_Proposal_Vote_Bool_Exp = { + _and?: Maybe>; + _not?: Maybe; + _or?: Maybe>; + group_id?: Maybe; + group_member?: Maybe; + group_proposal?: Maybe; + proposal_id?: Maybe; + submit_time?: Maybe; + vote_metadata?: Maybe; + vote_option?: Maybe; + voter?: Maybe; +}; + +/** aggregate max on columns */ +export type Group_Proposal_Vote_Max_Fields = { + __typename?: 'group_proposal_vote_max_fields'; + group_id?: Maybe; + proposal_id?: Maybe; + submit_time?: Maybe; + vote_metadata?: Maybe; + voter?: Maybe; +}; + +/** order by max() on columns of table "group_proposal_vote" */ +export type Group_Proposal_Vote_Max_Order_By = { + group_id?: Maybe; + proposal_id?: Maybe; + submit_time?: Maybe; + vote_metadata?: Maybe; + voter?: Maybe; +}; + +/** aggregate min on columns */ +export type Group_Proposal_Vote_Min_Fields = { + __typename?: 'group_proposal_vote_min_fields'; + group_id?: Maybe; + proposal_id?: Maybe; + submit_time?: Maybe; + vote_metadata?: Maybe; + voter?: Maybe; +}; + +/** order by min() on columns of table "group_proposal_vote" */ +export type Group_Proposal_Vote_Min_Order_By = { + group_id?: Maybe; + proposal_id?: Maybe; + submit_time?: Maybe; + vote_metadata?: Maybe; + voter?: Maybe; +}; + +/** Ordering options when selecting data from "group_proposal_vote". */ +export type Group_Proposal_Vote_Order_By = { + group_id?: Maybe; + group_member?: Maybe; + group_proposal?: Maybe; + proposal_id?: Maybe; + submit_time?: Maybe; + vote_metadata?: Maybe; + vote_option?: Maybe; + voter?: Maybe; +}; + +/** select columns of table "group_proposal_vote" */ +export enum Group_Proposal_Vote_Select_Column { + /** column name */ + GroupId = 'group_id', + /** column name */ + ProposalId = 'proposal_id', + /** column name */ + SubmitTime = 'submit_time', + /** column name */ + VoteMetadata = 'vote_metadata', + /** column name */ + VoteOption = 'vote_option', + /** column name */ + Voter = 'voter' +} + +/** aggregate stddev on columns */ +export type Group_Proposal_Vote_Stddev_Fields = { + __typename?: 'group_proposal_vote_stddev_fields'; + group_id?: Maybe; + proposal_id?: Maybe; +}; + +/** order by stddev() on columns of table "group_proposal_vote" */ +export type Group_Proposal_Vote_Stddev_Order_By = { + group_id?: Maybe; + proposal_id?: Maybe; +}; + +/** aggregate stddev_pop on columns */ +export type Group_Proposal_Vote_Stddev_Pop_Fields = { + __typename?: 'group_proposal_vote_stddev_pop_fields'; + group_id?: Maybe; + proposal_id?: Maybe; +}; + +/** order by stddev_pop() on columns of table "group_proposal_vote" */ +export type Group_Proposal_Vote_Stddev_Pop_Order_By = { + group_id?: Maybe; + proposal_id?: Maybe; +}; + +/** aggregate stddev_samp on columns */ +export type Group_Proposal_Vote_Stddev_Samp_Fields = { + __typename?: 'group_proposal_vote_stddev_samp_fields'; + group_id?: Maybe; + proposal_id?: Maybe; +}; + +/** order by stddev_samp() on columns of table "group_proposal_vote" */ +export type Group_Proposal_Vote_Stddev_Samp_Order_By = { + group_id?: Maybe; + proposal_id?: Maybe; +}; + +/** aggregate sum on columns */ +export type Group_Proposal_Vote_Sum_Fields = { + __typename?: 'group_proposal_vote_sum_fields'; + group_id?: Maybe; + proposal_id?: Maybe; +}; + +/** order by sum() on columns of table "group_proposal_vote" */ +export type Group_Proposal_Vote_Sum_Order_By = { + group_id?: Maybe; + proposal_id?: Maybe; +}; + +/** aggregate var_pop on columns */ +export type Group_Proposal_Vote_Var_Pop_Fields = { + __typename?: 'group_proposal_vote_var_pop_fields'; + group_id?: Maybe; + proposal_id?: Maybe; +}; + +/** order by var_pop() on columns of table "group_proposal_vote" */ +export type Group_Proposal_Vote_Var_Pop_Order_By = { + group_id?: Maybe; + proposal_id?: Maybe; +}; + +/** aggregate var_samp on columns */ +export type Group_Proposal_Vote_Var_Samp_Fields = { + __typename?: 'group_proposal_vote_var_samp_fields'; + group_id?: Maybe; + proposal_id?: Maybe; +}; + +/** order by var_samp() on columns of table "group_proposal_vote" */ +export type Group_Proposal_Vote_Var_Samp_Order_By = { + group_id?: Maybe; + proposal_id?: Maybe; +}; + +/** aggregate variance on columns */ +export type Group_Proposal_Vote_Variance_Fields = { + __typename?: 'group_proposal_vote_variance_fields'; + group_id?: Maybe; + proposal_id?: Maybe; +}; + +/** order by variance() on columns of table "group_proposal_vote" */ +export type Group_Proposal_Vote_Variance_Order_By = { + group_id?: Maybe; + proposal_id?: Maybe; +}; + +/** columns and relationships of "group_with_policy" */ +export type Group_With_Policy = { + __typename?: 'group_with_policy'; + address: Scalars['String']; + /** An array relationship */ + group_members: Array; + /** An aggregate relationship */ + group_members_aggregate: Group_Member_Aggregate; + group_metadata?: Maybe; + /** An array relationship */ + group_proposals: Array; + /** An aggregate relationship */ + group_proposals_aggregate: Group_Proposal_Aggregate; + id: Scalars['Int']; + min_execution_period: Scalars['bigint']; + policy_metadata?: Maybe; + threshold: Scalars['Int']; + voting_period: Scalars['bigint']; +}; + + +/** columns and relationships of "group_with_policy" */ +export type Group_With_PolicyGroup_MembersArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +/** columns and relationships of "group_with_policy" */ +export type Group_With_PolicyGroup_Members_AggregateArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +/** columns and relationships of "group_with_policy" */ +export type Group_With_PolicyGroup_ProposalsArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +/** columns and relationships of "group_with_policy" */ +export type Group_With_PolicyGroup_Proposals_AggregateArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + +/** aggregated selection of "group_with_policy" */ +export type Group_With_Policy_Aggregate = { + __typename?: 'group_with_policy_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "group_with_policy" */ +export type Group_With_Policy_Aggregate_Fields = { + __typename?: 'group_with_policy_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 "group_with_policy" */ +export type Group_With_Policy_Aggregate_FieldsCountArgs = { + columns?: Maybe>; + distinct?: Maybe; +}; + +/** aggregate avg on columns */ +export type Group_With_Policy_Avg_Fields = { + __typename?: 'group_with_policy_avg_fields'; + id?: Maybe; + min_execution_period?: Maybe; + threshold?: Maybe; + voting_period?: Maybe; +}; + +/** Boolean expression to filter rows from the table "group_with_policy". All fields are combined with a logical 'AND'. */ +export type Group_With_Policy_Bool_Exp = { + _and?: Maybe>; + _not?: Maybe; + _or?: Maybe>; + address?: Maybe; + group_members?: Maybe; + group_metadata?: Maybe; + group_proposals?: Maybe; + id?: Maybe; + min_execution_period?: Maybe; + policy_metadata?: Maybe; + threshold?: Maybe; + voting_period?: Maybe; +}; + +/** aggregate max on columns */ +export type Group_With_Policy_Max_Fields = { + __typename?: 'group_with_policy_max_fields'; + address?: Maybe; + group_metadata?: Maybe; + id?: Maybe; + min_execution_period?: Maybe; + policy_metadata?: Maybe; + threshold?: Maybe; + voting_period?: Maybe; +}; + +/** aggregate min on columns */ +export type Group_With_Policy_Min_Fields = { + __typename?: 'group_with_policy_min_fields'; + address?: Maybe; + group_metadata?: Maybe; + id?: Maybe; + min_execution_period?: Maybe; + policy_metadata?: Maybe; + threshold?: Maybe; + voting_period?: Maybe; +}; + +/** Ordering options when selecting data from "group_with_policy". */ +export type Group_With_Policy_Order_By = { + address?: Maybe; + group_members_aggregate?: Maybe; + group_metadata?: Maybe; + group_proposals_aggregate?: Maybe; + id?: Maybe; + min_execution_period?: Maybe; + policy_metadata?: Maybe; + threshold?: Maybe; + voting_period?: Maybe; +}; + +/** select columns of table "group_with_policy" */ +export enum Group_With_Policy_Select_Column { + /** column name */ + Address = 'address', + /** column name */ + GroupMetadata = 'group_metadata', + /** column name */ + Id = 'id', + /** column name */ + MinExecutionPeriod = 'min_execution_period', + /** column name */ + PolicyMetadata = 'policy_metadata', + /** column name */ + Threshold = 'threshold', + /** column name */ + VotingPeriod = 'voting_period' +} + +/** aggregate stddev on columns */ +export type Group_With_Policy_Stddev_Fields = { + __typename?: 'group_with_policy_stddev_fields'; + id?: Maybe; + min_execution_period?: Maybe; + threshold?: Maybe; + voting_period?: Maybe; +}; + +/** aggregate stddev_pop on columns */ +export type Group_With_Policy_Stddev_Pop_Fields = { + __typename?: 'group_with_policy_stddev_pop_fields'; + id?: Maybe; + min_execution_period?: Maybe; + threshold?: Maybe; + voting_period?: Maybe; +}; + +/** aggregate stddev_samp on columns */ +export type Group_With_Policy_Stddev_Samp_Fields = { + __typename?: 'group_with_policy_stddev_samp_fields'; + id?: Maybe; + min_execution_period?: Maybe; + threshold?: Maybe; + voting_period?: Maybe; +}; + +/** aggregate sum on columns */ +export type Group_With_Policy_Sum_Fields = { + __typename?: 'group_with_policy_sum_fields'; + id?: Maybe; + min_execution_period?: Maybe; + threshold?: Maybe; + voting_period?: Maybe; +}; + +/** aggregate var_pop on columns */ +export type Group_With_Policy_Var_Pop_Fields = { + __typename?: 'group_with_policy_var_pop_fields'; + id?: Maybe; + min_execution_period?: Maybe; + threshold?: Maybe; + voting_period?: Maybe; +}; + +/** aggregate var_samp on columns */ +export type Group_With_Policy_Var_Samp_Fields = { + __typename?: 'group_with_policy_var_samp_fields'; + id?: Maybe; + min_execution_period?: Maybe; + threshold?: Maybe; + voting_period?: Maybe; +}; + +/** aggregate variance on columns */ +export type Group_With_Policy_Variance_Fields = { + __typename?: 'group_with_policy_variance_fields'; + id?: Maybe; + min_execution_period?: Maybe; + threshold?: Maybe; + voting_period?: Maybe; +}; + +/** columns and relationships of "inflation" */ +export type Inflation = { + __typename?: 'inflation'; + height: Scalars['bigint']; + 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?: Maybe>; + distinct?: Maybe; +}; + +/** 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?: Maybe>; + _not?: Maybe; + _or?: Maybe>; + height?: Maybe; + value?: Maybe; +}; + +/** 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?: Maybe; + value?: Maybe; +}; + +/** select columns of table "inflation" */ +export enum Inflation_Select_Column { + /** column name */ + Height = 'height', + /** column name */ + Value = 'value' +} + +/** aggregate stddev on columns */ +export type Inflation_Stddev_Fields = { + __typename?: 'inflation_stddev_fields'; + height?: Maybe; + value?: Maybe; +}; + +/** aggregate stddev_pop on columns */ +export type Inflation_Stddev_Pop_Fields = { + __typename?: 'inflation_stddev_pop_fields'; + height?: Maybe; + value?: Maybe; +}; + +/** aggregate stddev_samp on columns */ +export type Inflation_Stddev_Samp_Fields = { + __typename?: 'inflation_stddev_samp_fields'; + height?: Maybe; + value?: Maybe; +}; + +/** aggregate sum on columns */ +export type Inflation_Sum_Fields = { + __typename?: 'inflation_sum_fields'; + height?: Maybe; + value?: Maybe; +}; + +/** aggregate var_pop on columns */ +export type Inflation_Var_Pop_Fields = { + __typename?: 'inflation_var_pop_fields'; + height?: Maybe; + value?: Maybe; +}; + +/** aggregate var_samp on columns */ +export type Inflation_Var_Samp_Fields = { + __typename?: 'inflation_var_samp_fields'; + height?: Maybe; + value?: Maybe; +}; + +/** aggregate variance on columns */ +export type Inflation_Variance_Fields = { + __typename?: 'inflation_variance_fields'; + height?: Maybe; + value?: Maybe; +}; + + +/** Boolean expression to compare columns of type "json". All fields are combined with logical 'AND'. */ +export type Json_Comparison_Exp = { + _eq?: Maybe; + _gt?: Maybe; + _gte?: Maybe; + _in?: Maybe>; + _is_null?: Maybe; + _lt?: Maybe; + _lte?: Maybe; + _neq?: Maybe; + _nin?: Maybe>; +}; + + +/** Boolean expression to compare columns of type "jsonb". All fields are combined with logical 'AND'. */ +export type Jsonb_Comparison_Exp = { + /** is the column contained in the given json value */ + _contained_in?: Maybe; + /** does the column contain the given json value at the top level */ + _contains?: Maybe; + _eq?: Maybe; + _gt?: Maybe; + _gte?: Maybe; + /** does the string exist as a top-level key in the column */ + _has_key?: Maybe; + /** do all of these strings exist as top-level keys in the column */ + _has_keys_all?: Maybe>; + /** do any of these strings exist as top-level keys in the column */ + _has_keys_any?: Maybe>; + _in?: Maybe>; + _is_null?: Maybe; + _lt?: Maybe; + _lte?: Maybe; + _neq?: Maybe; + _nin?: Maybe>; +}; + +/** columns and relationships of "marketplace_collection" */ +export type Marketplace_Collection = { + __typename?: 'marketplace_collection'; + creator: Scalars['String']; + denom_id: Scalars['String']; + id: Scalars['bigint']; + mint_royalties: Scalars['String']; + /** An object relationship */ + nft_denom: Nft_Denom; + resale_royalties: Scalars['String']; + /** An object relationship */ + transaction: Transaction; + transaction_hash: Scalars['String']; + verified: Scalars['Boolean']; +}; + +/** aggregated selection of "marketplace_collection" */ +export type Marketplace_Collection_Aggregate = { + __typename?: 'marketplace_collection_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "marketplace_collection" */ +export type Marketplace_Collection_Aggregate_Fields = { + __typename?: 'marketplace_collection_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 "marketplace_collection" */ +export type Marketplace_Collection_Aggregate_FieldsCountArgs = { + columns?: Maybe>; + distinct?: Maybe; +}; + +/** aggregate avg on columns */ +export type Marketplace_Collection_Avg_Fields = { + __typename?: 'marketplace_collection_avg_fields'; + id?: Maybe; +}; + +/** Boolean expression to filter rows from the table "marketplace_collection". All fields are combined with a logical 'AND'. */ +export type Marketplace_Collection_Bool_Exp = { + _and?: Maybe>; + _not?: Maybe; + _or?: Maybe>; + creator?: Maybe; + denom_id?: Maybe; + id?: Maybe; + mint_royalties?: Maybe; + nft_denom?: Maybe; + resale_royalties?: Maybe; + transaction?: Maybe; + transaction_hash?: Maybe; + verified?: Maybe; +}; + +/** aggregate max on columns */ +export type Marketplace_Collection_Max_Fields = { + __typename?: 'marketplace_collection_max_fields'; + creator?: Maybe; + denom_id?: Maybe; + id?: Maybe; + mint_royalties?: Maybe; + resale_royalties?: Maybe; + transaction_hash?: Maybe; +}; + +/** aggregate min on columns */ +export type Marketplace_Collection_Min_Fields = { + __typename?: 'marketplace_collection_min_fields'; + creator?: Maybe; + denom_id?: Maybe; + id?: Maybe; + mint_royalties?: Maybe; + resale_royalties?: Maybe; + transaction_hash?: Maybe; +}; + +/** Ordering options when selecting data from "marketplace_collection". */ +export type Marketplace_Collection_Order_By = { + creator?: Maybe; + denom_id?: Maybe; + id?: Maybe; + mint_royalties?: Maybe; + nft_denom?: Maybe; + resale_royalties?: Maybe; + transaction?: Maybe; + transaction_hash?: Maybe; + verified?: Maybe; +}; + +/** select columns of table "marketplace_collection" */ +export enum Marketplace_Collection_Select_Column { + /** column name */ + Creator = 'creator', + /** column name */ + DenomId = 'denom_id', + /** column name */ + Id = 'id', + /** column name */ + MintRoyalties = 'mint_royalties', + /** column name */ + ResaleRoyalties = 'resale_royalties', + /** column name */ + TransactionHash = 'transaction_hash', + /** column name */ + Verified = 'verified' +} + +/** aggregate stddev on columns */ +export type Marketplace_Collection_Stddev_Fields = { + __typename?: 'marketplace_collection_stddev_fields'; + id?: Maybe; +}; + +/** aggregate stddev_pop on columns */ +export type Marketplace_Collection_Stddev_Pop_Fields = { + __typename?: 'marketplace_collection_stddev_pop_fields'; + id?: Maybe; +}; + +/** aggregate stddev_samp on columns */ +export type Marketplace_Collection_Stddev_Samp_Fields = { + __typename?: 'marketplace_collection_stddev_samp_fields'; + id?: Maybe; +}; + +/** aggregate sum on columns */ +export type Marketplace_Collection_Sum_Fields = { + __typename?: 'marketplace_collection_sum_fields'; + id?: Maybe; +}; + +/** aggregate var_pop on columns */ +export type Marketplace_Collection_Var_Pop_Fields = { + __typename?: 'marketplace_collection_var_pop_fields'; + id?: Maybe; +}; + +/** aggregate var_samp on columns */ +export type Marketplace_Collection_Var_Samp_Fields = { + __typename?: 'marketplace_collection_var_samp_fields'; + id?: Maybe; +}; + +/** aggregate variance on columns */ +export type Marketplace_Collection_Variance_Fields = { + __typename?: 'marketplace_collection_variance_fields'; + id?: Maybe; +}; + +/** columns and relationships of "marketplace_nft" */ +export type Marketplace_Nft = { + __typename?: 'marketplace_nft'; + creator: Scalars['String']; + denom_id: Scalars['String']; + id?: Maybe; + /** An object relationship */ + nft_denom: Nft_Denom; + /** An object relationship */ + nft_nft: Nft_Nft; + price?: Maybe; + token_id: Scalars['bigint']; + /** An object relationship */ + transaction: Transaction; + transaction_hash: Scalars['String']; + uid?: Maybe; +}; + +/** aggregated selection of "marketplace_nft" */ +export type Marketplace_Nft_Aggregate = { + __typename?: 'marketplace_nft_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "marketplace_nft" */ +export type Marketplace_Nft_Aggregate_Fields = { + __typename?: 'marketplace_nft_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 "marketplace_nft" */ +export type Marketplace_Nft_Aggregate_FieldsCountArgs = { + columns?: Maybe>; + distinct?: Maybe; +}; + +/** aggregate avg on columns */ +export type Marketplace_Nft_Avg_Fields = { + __typename?: 'marketplace_nft_avg_fields'; + id?: Maybe; + price?: Maybe; + token_id?: Maybe; +}; + +/** Boolean expression to filter rows from the table "marketplace_nft". All fields are combined with a logical 'AND'. */ +export type Marketplace_Nft_Bool_Exp = { + _and?: Maybe>; + _not?: Maybe; + _or?: Maybe>; + creator?: Maybe; + denom_id?: Maybe; + id?: Maybe; + nft_denom?: Maybe; + nft_nft?: Maybe; + price?: Maybe; + token_id?: Maybe; + transaction?: Maybe; + transaction_hash?: Maybe; + uid?: Maybe; +}; + +/** columns and relationships of "marketplace_nft_buy_history" */ +export type Marketplace_Nft_Buy_History = { + __typename?: 'marketplace_nft_buy_history'; + btc_price: Scalars['numeric']; + buyer: Scalars['String']; + denom_id: Scalars['String']; + /** An object relationship */ + nft_denom: Nft_Denom; + /** An object relationship */ + nft_nft: Nft_Nft; + price: Scalars['numeric']; + seller: Scalars['String']; + timestamp: Scalars['bigint']; + token_id: Scalars['bigint']; + /** An object relationship */ + transaction: Transaction; + transaction_hash: Scalars['String']; + usd_price: Scalars['numeric']; +}; + +/** aggregated selection of "marketplace_nft_buy_history" */ +export type Marketplace_Nft_Buy_History_Aggregate = { + __typename?: 'marketplace_nft_buy_history_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "marketplace_nft_buy_history" */ +export type Marketplace_Nft_Buy_History_Aggregate_Fields = { + __typename?: 'marketplace_nft_buy_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 "marketplace_nft_buy_history" */ +export type Marketplace_Nft_Buy_History_Aggregate_FieldsCountArgs = { + columns?: Maybe>; + distinct?: Maybe; +}; + +/** aggregate avg on columns */ +export type Marketplace_Nft_Buy_History_Avg_Fields = { + __typename?: 'marketplace_nft_buy_history_avg_fields'; + btc_price?: Maybe; + price?: Maybe; + timestamp?: Maybe; + token_id?: Maybe; + usd_price?: Maybe; +}; + +/** Boolean expression to filter rows from the table "marketplace_nft_buy_history". All fields are combined with a logical 'AND'. */ +export type Marketplace_Nft_Buy_History_Bool_Exp = { + _and?: Maybe>; + _not?: Maybe; + _or?: Maybe>; + btc_price?: Maybe; + buyer?: Maybe; + denom_id?: Maybe; + nft_denom?: Maybe; + nft_nft?: Maybe; + price?: Maybe; + seller?: Maybe; + timestamp?: Maybe; + token_id?: Maybe; + transaction?: Maybe; + transaction_hash?: Maybe; + usd_price?: Maybe; +}; + +/** aggregate max on columns */ +export type Marketplace_Nft_Buy_History_Max_Fields = { + __typename?: 'marketplace_nft_buy_history_max_fields'; + btc_price?: Maybe; + buyer?: Maybe; + denom_id?: Maybe; + price?: Maybe; + seller?: Maybe; + timestamp?: Maybe; + token_id?: Maybe; + transaction_hash?: Maybe; + usd_price?: Maybe; +}; + +/** aggregate min on columns */ +export type Marketplace_Nft_Buy_History_Min_Fields = { + __typename?: 'marketplace_nft_buy_history_min_fields'; + btc_price?: Maybe; + buyer?: Maybe; + denom_id?: Maybe; + price?: Maybe; + seller?: Maybe; + timestamp?: Maybe; + token_id?: Maybe; + transaction_hash?: Maybe; + usd_price?: Maybe; +}; + +/** Ordering options when selecting data from "marketplace_nft_buy_history". */ +export type Marketplace_Nft_Buy_History_Order_By = { + btc_price?: Maybe; + buyer?: Maybe; + denom_id?: Maybe; + nft_denom?: Maybe; + nft_nft?: Maybe; + price?: Maybe; + seller?: Maybe; + timestamp?: Maybe; + token_id?: Maybe; + transaction?: Maybe; + transaction_hash?: Maybe; + usd_price?: Maybe; +}; + +/** select columns of table "marketplace_nft_buy_history" */ +export enum Marketplace_Nft_Buy_History_Select_Column { + /** column name */ + BtcPrice = 'btc_price', + /** column name */ + Buyer = 'buyer', + /** column name */ + DenomId = 'denom_id', + /** column name */ + Price = 'price', + /** column name */ + Seller = 'seller', + /** column name */ + Timestamp = 'timestamp', + /** column name */ + TokenId = 'token_id', + /** column name */ + TransactionHash = 'transaction_hash', + /** column name */ + UsdPrice = 'usd_price' +} + +/** aggregate stddev on columns */ +export type Marketplace_Nft_Buy_History_Stddev_Fields = { + __typename?: 'marketplace_nft_buy_history_stddev_fields'; + btc_price?: Maybe; + price?: Maybe; + timestamp?: Maybe; + token_id?: Maybe; + usd_price?: Maybe; +}; + +/** aggregate stddev_pop on columns */ +export type Marketplace_Nft_Buy_History_Stddev_Pop_Fields = { + __typename?: 'marketplace_nft_buy_history_stddev_pop_fields'; + btc_price?: Maybe; + price?: Maybe; + timestamp?: Maybe; + token_id?: Maybe; + usd_price?: Maybe; +}; + +/** aggregate stddev_samp on columns */ +export type Marketplace_Nft_Buy_History_Stddev_Samp_Fields = { + __typename?: 'marketplace_nft_buy_history_stddev_samp_fields'; + btc_price?: Maybe; + price?: Maybe; + timestamp?: Maybe; + token_id?: Maybe; + usd_price?: Maybe; +}; + +/** aggregate sum on columns */ +export type Marketplace_Nft_Buy_History_Sum_Fields = { + __typename?: 'marketplace_nft_buy_history_sum_fields'; + btc_price?: Maybe; + price?: Maybe; + timestamp?: Maybe; + token_id?: Maybe; + usd_price?: Maybe; +}; + +/** aggregate var_pop on columns */ +export type Marketplace_Nft_Buy_History_Var_Pop_Fields = { + __typename?: 'marketplace_nft_buy_history_var_pop_fields'; + btc_price?: Maybe; + price?: Maybe; + timestamp?: Maybe; + token_id?: Maybe; + usd_price?: Maybe; +}; + +/** aggregate var_samp on columns */ +export type Marketplace_Nft_Buy_History_Var_Samp_Fields = { + __typename?: 'marketplace_nft_buy_history_var_samp_fields'; + btc_price?: Maybe; + price?: Maybe; + timestamp?: Maybe; + token_id?: Maybe; + usd_price?: Maybe; +}; + +/** aggregate variance on columns */ +export type Marketplace_Nft_Buy_History_Variance_Fields = { + __typename?: 'marketplace_nft_buy_history_variance_fields'; + btc_price?: Maybe; + price?: Maybe; + timestamp?: Maybe; + token_id?: Maybe; + usd_price?: Maybe; +}; + +/** aggregate max on columns */ +export type Marketplace_Nft_Max_Fields = { + __typename?: 'marketplace_nft_max_fields'; + creator?: Maybe; + denom_id?: Maybe; + id?: Maybe; + price?: Maybe; + token_id?: Maybe; + transaction_hash?: Maybe; + uid?: Maybe; +}; + +/** aggregate min on columns */ +export type Marketplace_Nft_Min_Fields = { + __typename?: 'marketplace_nft_min_fields'; + creator?: Maybe; + denom_id?: Maybe; + id?: Maybe; + price?: Maybe; + token_id?: Maybe; + transaction_hash?: Maybe; + uid?: Maybe; +}; + +/** Ordering options when selecting data from "marketplace_nft". */ +export type Marketplace_Nft_Order_By = { + creator?: Maybe; + denom_id?: Maybe; + id?: Maybe; + nft_denom?: Maybe; + nft_nft?: Maybe; + price?: Maybe; + token_id?: Maybe; + transaction?: Maybe; + transaction_hash?: Maybe; + uid?: Maybe; +}; + +/** select columns of table "marketplace_nft" */ +export enum Marketplace_Nft_Select_Column { + /** column name */ + Creator = 'creator', + /** column name */ + DenomId = 'denom_id', + /** column name */ + Id = 'id', + /** column name */ + Price = 'price', + /** column name */ + TokenId = 'token_id', + /** column name */ + TransactionHash = 'transaction_hash', + /** column name */ + Uid = 'uid' +} + +/** aggregate stddev on columns */ +export type Marketplace_Nft_Stddev_Fields = { + __typename?: 'marketplace_nft_stddev_fields'; + id?: Maybe; + price?: Maybe; + token_id?: Maybe; }; -/** aggregate variance on columns */ -export type Inflation_Variance_Fields = { - __typename?: 'inflation_variance_fields'; - height?: Maybe; - value?: Maybe; +/** aggregate stddev_pop on columns */ +export type Marketplace_Nft_Stddev_Pop_Fields = { + __typename?: 'marketplace_nft_stddev_pop_fields'; + id?: Maybe; + price?: Maybe; + token_id?: Maybe; }; +/** aggregate stddev_samp on columns */ +export type Marketplace_Nft_Stddev_Samp_Fields = { + __typename?: 'marketplace_nft_stddev_samp_fields'; + id?: Maybe; + price?: Maybe; + token_id?: Maybe; +}; -/** Boolean expression to compare columns of type "json". All fields are combined with logical 'AND'. */ -export type Json_Comparison_Exp = { - _eq?: Maybe; - _gt?: Maybe; - _gte?: Maybe; - _in?: Maybe>; - _is_null?: Maybe; - _lt?: Maybe; - _lte?: Maybe; - _neq?: Maybe; - _nin?: Maybe>; +/** aggregate sum on columns */ +export type Marketplace_Nft_Sum_Fields = { + __typename?: 'marketplace_nft_sum_fields'; + id?: Maybe; + price?: Maybe; + token_id?: Maybe; }; +/** aggregate var_pop on columns */ +export type Marketplace_Nft_Var_Pop_Fields = { + __typename?: 'marketplace_nft_var_pop_fields'; + id?: Maybe; + price?: Maybe; + token_id?: Maybe; +}; -/** Boolean expression to compare columns of type "jsonb". All fields are combined with logical 'AND'. */ -export type Jsonb_Comparison_Exp = { - /** is the column contained in the given json value */ - _contained_in?: Maybe; - /** does the column contain the given json value at the top level */ - _contains?: Maybe; - _eq?: Maybe; - _gt?: Maybe; - _gte?: Maybe; - /** does the string exist as a top-level key in the column */ - _has_key?: Maybe; - /** do all of these strings exist as top-level keys in the column */ - _has_keys_all?: Maybe>; - /** do any of these strings exist as top-level keys in the column */ - _has_keys_any?: Maybe>; - _in?: Maybe>; - _is_null?: Maybe; - _lt?: Maybe; - _lte?: Maybe; - _neq?: Maybe; - _nin?: Maybe>; +/** aggregate var_samp on columns */ +export type Marketplace_Nft_Var_Samp_Fields = { + __typename?: 'marketplace_nft_var_samp_fields'; + id?: Maybe; + price?: Maybe; + token_id?: Maybe; +}; + +/** aggregate variance on columns */ +export type Marketplace_Nft_Variance_Fields = { + __typename?: 'marketplace_nft_variance_fields'; + id?: Maybe; + price?: Maybe; + token_id?: Maybe; }; /** columns and relationships of "message" */ @@ -4242,6 +6473,13 @@ export type Messages_By_Address_Args = { types?: Maybe; }; +export type Messages_By_Address_Distinct_On_Tx_Hash_Args = { + addresses?: Maybe; + limit?: Maybe; + offset?: Maybe; + types?: Maybe; +}; + /** columns and relationships of "mint_params" */ export type Mint_Params = { __typename?: 'mint_params'; @@ -4432,137 +6670,521 @@ export enum Modules_Select_Column { ModuleName = 'module_name' } -/** columns and relationships of "nft_mint" */ -export type Nft_Mint = { - __typename?: 'nft_mint'; +/** columns and relationships of "nft_denom" */ +export type Nft_Denom = { + __typename?: 'nft_denom'; + contract_address_signer: Scalars['String']; + data_json: Scalars['jsonb']; + data_text?: Maybe; + description?: Maybe; + id: Scalars['String']; + minter?: Maybe; + name: Scalars['String']; + owner: Scalars['String']; + schema: Scalars['String']; + symbol: Scalars['String']; + traits?: Maybe; + /** An object relationship */ + transaction: Transaction; + transaction_hash: Scalars['String']; +}; + + +/** columns and relationships of "nft_denom" */ +export type Nft_DenomData_JsonArgs = { + path?: Maybe; +}; + +/** aggregated selection of "nft_denom" */ +export type Nft_Denom_Aggregate = { + __typename?: 'nft_denom_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "nft_denom" */ +export type Nft_Denom_Aggregate_Fields = { + __typename?: 'nft_denom_aggregate_fields'; + count: Scalars['Int']; + max?: Maybe; + min?: Maybe; +}; + + +/** aggregate fields of "nft_denom" */ +export type Nft_Denom_Aggregate_FieldsCountArgs = { + columns?: Maybe>; + distinct?: Maybe; +}; + +/** Boolean expression to filter rows from the table "nft_denom". All fields are combined with a logical 'AND'. */ +export type Nft_Denom_Bool_Exp = { + _and?: Maybe>; + _not?: Maybe; + _or?: Maybe>; + contract_address_signer?: Maybe; + data_json?: Maybe; + data_text?: Maybe; + description?: Maybe; + id?: Maybe; + minter?: Maybe; + name?: Maybe; + owner?: Maybe; + schema?: Maybe; + symbol?: Maybe; + traits?: Maybe; + transaction?: Maybe; + transaction_hash?: Maybe; +}; + +/** aggregate max on columns */ +export type Nft_Denom_Max_Fields = { + __typename?: 'nft_denom_max_fields'; + contract_address_signer?: Maybe; + data_text?: Maybe; + description?: Maybe; + id?: Maybe; + minter?: Maybe; + name?: Maybe; + owner?: Maybe; + schema?: Maybe; + symbol?: Maybe; + traits?: Maybe; + transaction_hash?: Maybe; +}; + +/** aggregate min on columns */ +export type Nft_Denom_Min_Fields = { + __typename?: 'nft_denom_min_fields'; + contract_address_signer?: Maybe; + data_text?: Maybe; + description?: Maybe; + id?: Maybe; + minter?: Maybe; + name?: Maybe; + owner?: Maybe; + schema?: Maybe; + symbol?: Maybe; + traits?: Maybe; + transaction_hash?: Maybe; +}; + +/** Ordering options when selecting data from "nft_denom". */ +export type Nft_Denom_Order_By = { + contract_address_signer?: Maybe; + data_json?: Maybe; + data_text?: Maybe; + description?: Maybe; + id?: Maybe; + minter?: Maybe; + name?: Maybe; + owner?: Maybe; + schema?: Maybe; + symbol?: Maybe; + traits?: Maybe; + transaction?: Maybe; + transaction_hash?: Maybe; +}; + +/** select columns of table "nft_denom" */ +export enum Nft_Denom_Select_Column { + /** column name */ + ContractAddressSigner = 'contract_address_signer', + /** column name */ + DataJson = 'data_json', + /** column name */ + DataText = 'data_text', + /** column name */ + Description = 'description', + /** column name */ + Id = 'id', + /** column name */ + Minter = 'minter', + /** column name */ + Name = 'name', + /** column name */ + Owner = 'owner', + /** column name */ + Schema = 'schema', + /** column name */ + Symbol = 'symbol', + /** column name */ + Traits = 'traits', + /** column name */ + TransactionHash = 'transaction_hash' +} + +/** columns and relationships of "nft_nft" */ +export type Nft_Nft = { + __typename?: 'nft_nft'; + burned?: Maybe; + contract_address_signer: Scalars['String']; + data_json: Scalars['jsonb']; + data_text: Scalars['String']; denom_id: Scalars['String']; - token_id: Scalars['bigint']; + id: Scalars['bigint']; + name: Scalars['String']; + /** An object relationship */ + nft_denom: Nft_Denom; + owner: Scalars['String']; + sender: Scalars['String']; /** An object relationship */ transaction: Transaction; transaction_hash: Scalars['String']; + uri: Scalars['String']; +}; + + +/** columns and relationships of "nft_nft" */ +export type Nft_NftData_JsonArgs = { + path?: Maybe; }; -/** aggregated selection of "nft_mint" */ -export type Nft_Mint_Aggregate = { - __typename?: 'nft_mint_aggregate'; - aggregate?: Maybe; - nodes: Array; +/** aggregated selection of "nft_nft" */ +export type Nft_Nft_Aggregate = { + __typename?: 'nft_nft_aggregate'; + aggregate?: Maybe; + nodes: Array; }; -/** aggregate fields of "nft_mint" */ -export type Nft_Mint_Aggregate_Fields = { - __typename?: 'nft_mint_aggregate_fields'; - avg?: Maybe; +/** aggregate fields of "nft_nft" */ +export type Nft_Nft_Aggregate_Fields = { + __typename?: 'nft_nft_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 "nft_mint" */ -export type Nft_Mint_Aggregate_FieldsCountArgs = { - columns?: Maybe>; +/** aggregate fields of "nft_nft" */ +export type Nft_Nft_Aggregate_FieldsCountArgs = { + columns?: Maybe>; distinct?: Maybe; }; /** aggregate avg on columns */ -export type Nft_Mint_Avg_Fields = { - __typename?: 'nft_mint_avg_fields'; - token_id?: Maybe; +export type Nft_Nft_Avg_Fields = { + __typename?: 'nft_nft_avg_fields'; + id?: Maybe; }; -/** Boolean expression to filter rows from the table "nft_mint". All fields are combined with a logical 'AND'. */ -export type Nft_Mint_Bool_Exp = { - _and?: Maybe>; - _not?: Maybe; - _or?: Maybe>; +/** Boolean expression to filter rows from the table "nft_nft". All fields are combined with a logical 'AND'. */ +export type Nft_Nft_Bool_Exp = { + _and?: Maybe>; + _not?: Maybe; + _or?: Maybe>; + burned?: Maybe; + contract_address_signer?: Maybe; + data_json?: Maybe; + data_text?: Maybe; denom_id?: Maybe; - token_id?: Maybe; + id?: Maybe; + name?: Maybe; + nft_denom?: Maybe; + owner?: Maybe; + sender?: Maybe; transaction?: Maybe; transaction_hash?: Maybe; + uri?: Maybe; }; /** aggregate max on columns */ -export type Nft_Mint_Max_Fields = { - __typename?: 'nft_mint_max_fields'; +export type Nft_Nft_Max_Fields = { + __typename?: 'nft_nft_max_fields'; + contract_address_signer?: Maybe; + data_text?: Maybe; denom_id?: Maybe; - token_id?: Maybe; + id?: Maybe; + name?: Maybe; + owner?: Maybe; + sender?: Maybe; transaction_hash?: Maybe; + uri?: Maybe; }; /** aggregate min on columns */ -export type Nft_Mint_Min_Fields = { - __typename?: 'nft_mint_min_fields'; +export type Nft_Nft_Min_Fields = { + __typename?: 'nft_nft_min_fields'; + contract_address_signer?: Maybe; + data_text?: Maybe; denom_id?: Maybe; - token_id?: Maybe; + id?: Maybe; + name?: Maybe; + owner?: Maybe; + sender?: Maybe; + transaction_hash?: Maybe; + uri?: Maybe; +}; + +/** Ordering options when selecting data from "nft_nft". */ +export type Nft_Nft_Order_By = { + burned?: Maybe; + contract_address_signer?: Maybe; + data_json?: Maybe; + data_text?: Maybe; + denom_id?: Maybe; + id?: Maybe; + name?: Maybe; + nft_denom?: Maybe; + owner?: Maybe; + sender?: Maybe; + transaction?: Maybe; + transaction_hash?: Maybe; + uri?: Maybe; +}; + +/** select columns of table "nft_nft" */ +export enum Nft_Nft_Select_Column { + /** column name */ + Burned = 'burned', + /** column name */ + ContractAddressSigner = 'contract_address_signer', + /** column name */ + DataJson = 'data_json', + /** column name */ + DataText = 'data_text', + /** column name */ + DenomId = 'denom_id', + /** column name */ + Id = 'id', + /** column name */ + Name = 'name', + /** column name */ + Owner = 'owner', + /** column name */ + Sender = 'sender', + /** column name */ + TransactionHash = 'transaction_hash', + /** column name */ + Uri = 'uri' +} + +/** aggregate stddev on columns */ +export type Nft_Nft_Stddev_Fields = { + __typename?: 'nft_nft_stddev_fields'; + id?: Maybe; +}; + +/** aggregate stddev_pop on columns */ +export type Nft_Nft_Stddev_Pop_Fields = { + __typename?: 'nft_nft_stddev_pop_fields'; + id?: Maybe; +}; + +/** aggregate stddev_samp on columns */ +export type Nft_Nft_Stddev_Samp_Fields = { + __typename?: 'nft_nft_stddev_samp_fields'; + id?: Maybe; +}; + +/** aggregate sum on columns */ +export type Nft_Nft_Sum_Fields = { + __typename?: 'nft_nft_sum_fields'; + id?: Maybe; +}; + +/** aggregate var_pop on columns */ +export type Nft_Nft_Var_Pop_Fields = { + __typename?: 'nft_nft_var_pop_fields'; + id?: Maybe; +}; + +/** aggregate var_samp on columns */ +export type Nft_Nft_Var_Samp_Fields = { + __typename?: 'nft_nft_var_samp_fields'; + id?: Maybe; +}; + +/** aggregate variance on columns */ +export type Nft_Nft_Variance_Fields = { + __typename?: 'nft_nft_variance_fields'; + id?: Maybe; +}; + +/** columns and relationships of "nft_transfer_history" */ +export type Nft_Transfer_History = { + __typename?: 'nft_transfer_history'; + denom_id: Scalars['String']; + id: Scalars['bigint']; + new_owner: Scalars['String']; + /** An object relationship */ + nft_denom: Nft_Denom; + old_owner: Scalars['String']; + timestamp: Scalars['bigint']; + /** An object relationship */ + transaction: Transaction; + transaction_hash: Scalars['String']; +}; + +/** aggregated selection of "nft_transfer_history" */ +export type Nft_Transfer_History_Aggregate = { + __typename?: 'nft_transfer_history_aggregate'; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "nft_transfer_history" */ +export type Nft_Transfer_History_Aggregate_Fields = { + __typename?: 'nft_transfer_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 "nft_transfer_history" */ +export type Nft_Transfer_History_Aggregate_FieldsCountArgs = { + columns?: Maybe>; + distinct?: Maybe; +}; + +/** aggregate avg on columns */ +export type Nft_Transfer_History_Avg_Fields = { + __typename?: 'nft_transfer_history_avg_fields'; + id?: Maybe; + timestamp?: Maybe; +}; + +/** Boolean expression to filter rows from the table "nft_transfer_history". All fields are combined with a logical 'AND'. */ +export type Nft_Transfer_History_Bool_Exp = { + _and?: Maybe>; + _not?: Maybe; + _or?: Maybe>; + denom_id?: Maybe; + id?: Maybe; + new_owner?: Maybe; + nft_denom?: Maybe; + old_owner?: Maybe; + timestamp?: Maybe; + transaction?: Maybe; + transaction_hash?: Maybe; +}; + +/** aggregate max on columns */ +export type Nft_Transfer_History_Max_Fields = { + __typename?: 'nft_transfer_history_max_fields'; + denom_id?: Maybe; + id?: Maybe; + new_owner?: Maybe; + old_owner?: Maybe; + timestamp?: Maybe; + transaction_hash?: Maybe; +}; + +/** aggregate min on columns */ +export type Nft_Transfer_History_Min_Fields = { + __typename?: 'nft_transfer_history_min_fields'; + denom_id?: Maybe; + id?: Maybe; + new_owner?: Maybe; + old_owner?: Maybe; + timestamp?: Maybe; transaction_hash?: Maybe; }; -/** Ordering options when selecting data from "nft_mint". */ -export type Nft_Mint_Order_By = { +/** Ordering options when selecting data from "nft_transfer_history". */ +export type Nft_Transfer_History_Order_By = { denom_id?: Maybe; - token_id?: Maybe; + id?: Maybe; + new_owner?: Maybe; + nft_denom?: Maybe; + old_owner?: Maybe; + timestamp?: Maybe; transaction?: Maybe; transaction_hash?: Maybe; }; -/** select columns of table "nft_mint" */ -export enum Nft_Mint_Select_Column { +/** select columns of table "nft_transfer_history" */ +export enum Nft_Transfer_History_Select_Column { /** column name */ DenomId = 'denom_id', /** column name */ - TokenId = 'token_id', + Id = 'id', + /** column name */ + NewOwner = 'new_owner', + /** column name */ + OldOwner = 'old_owner', + /** column name */ + Timestamp = 'timestamp', /** column name */ TransactionHash = 'transaction_hash' } /** aggregate stddev on columns */ -export type Nft_Mint_Stddev_Fields = { - __typename?: 'nft_mint_stddev_fields'; - token_id?: Maybe; +export type Nft_Transfer_History_Stddev_Fields = { + __typename?: 'nft_transfer_history_stddev_fields'; + id?: Maybe; + timestamp?: Maybe; }; /** aggregate stddev_pop on columns */ -export type Nft_Mint_Stddev_Pop_Fields = { - __typename?: 'nft_mint_stddev_pop_fields'; - token_id?: Maybe; +export type Nft_Transfer_History_Stddev_Pop_Fields = { + __typename?: 'nft_transfer_history_stddev_pop_fields'; + id?: Maybe; + timestamp?: Maybe; }; /** aggregate stddev_samp on columns */ -export type Nft_Mint_Stddev_Samp_Fields = { - __typename?: 'nft_mint_stddev_samp_fields'; - token_id?: Maybe; +export type Nft_Transfer_History_Stddev_Samp_Fields = { + __typename?: 'nft_transfer_history_stddev_samp_fields'; + id?: Maybe; + timestamp?: Maybe; }; /** aggregate sum on columns */ -export type Nft_Mint_Sum_Fields = { - __typename?: 'nft_mint_sum_fields'; - token_id?: Maybe; +export type Nft_Transfer_History_Sum_Fields = { + __typename?: 'nft_transfer_history_sum_fields'; + id?: Maybe; + timestamp?: Maybe; }; /** aggregate var_pop on columns */ -export type Nft_Mint_Var_Pop_Fields = { - __typename?: 'nft_mint_var_pop_fields'; - token_id?: Maybe; +export type Nft_Transfer_History_Var_Pop_Fields = { + __typename?: 'nft_transfer_history_var_pop_fields'; + id?: Maybe; + timestamp?: Maybe; }; /** aggregate var_samp on columns */ -export type Nft_Mint_Var_Samp_Fields = { - __typename?: 'nft_mint_var_samp_fields'; - token_id?: Maybe; +export type Nft_Transfer_History_Var_Samp_Fields = { + __typename?: 'nft_transfer_history_var_samp_fields'; + id?: Maybe; + timestamp?: Maybe; }; /** aggregate variance on columns */ -export type Nft_Mint_Variance_Fields = { - __typename?: 'nft_mint_variance_fields'; - token_id?: Maybe; +export type Nft_Transfer_History_Variance_Fields = { + __typename?: 'nft_transfer_history_variance_fields'; + id?: Maybe; + timestamp?: Maybe; +}; + +export type Nfts_By_Data_Property_Args = { + limit?: Maybe; + offset?: Maybe; + property_name?: Maybe; +}; + +export type Nfts_By_Expiration_Date_Args = { + expiration_date?: Maybe; + limit?: Maybe; + offset?: Maybe; }; @@ -5285,6 +7907,20 @@ export type Proposal_Deposit_Variance_Order_By = { proposal_id?: Maybe; }; + +/** Boolean expression to compare columns of type "proposal_executor_result". All fields are combined with logical 'AND'. */ +export type Proposal_Executor_Result_Comparison_Exp = { + _eq?: Maybe; + _gt?: Maybe; + _gte?: Maybe; + _in?: Maybe>; + _is_null?: Maybe; + _lt?: Maybe; + _lte?: Maybe; + _neq?: Maybe; + _nin?: Maybe>; +}; + /** aggregate max on columns */ export type Proposal_Max_Fields = { __typename?: 'proposal_max_fields'; @@ -5562,6 +8198,20 @@ export type Proposal_Staking_Pool_Snapshot_Variance_Fields = { proposal_id?: Maybe; }; + +/** Boolean expression to compare columns of type "proposal_status". All fields are combined with logical 'AND'. */ +export type Proposal_Status_Comparison_Exp = { + _eq?: Maybe; + _gt?: Maybe; + _gte?: Maybe; + _in?: Maybe>; + _is_null?: Maybe; + _lt?: Maybe; + _lte?: Maybe; + _neq?: Maybe; + _nin?: Maybe>; +}; + /** aggregate stddev on columns */ export type Proposal_Stddev_Fields = { __typename?: 'proposal_stddev_fields'; @@ -6589,6 +9239,7 @@ export type Query_Root = { action_delegation_reward?: Maybe>>; action_delegation_total?: Maybe; action_delegator_withdraw_address: ActionAddress; + action_nft_transfer_events?: Maybe; action_redelegation?: Maybe; action_unbonding_delegation?: Maybe; action_unbonding_delegation_total?: Maybe; @@ -6666,12 +9317,34 @@ export type Query_Root = { cosmwasm_update_admin_aggregate: Cosmwasm_Update_Admin_Aggregate; /** fetch data from the table: "cosmwasm_update_admin" using primary key columns */ cosmwasm_update_admin_by_pk?: Maybe; + /** fetch data from the table: "cw20token_balance" */ + cw20token_balance: Array; + /** fetch aggregated fields from the table: "cw20token_balance" */ + cw20token_balance_aggregate: Cw20token_Balance_Aggregate; + /** fetch data from the table: "cw20token_balance" using primary key columns */ + cw20token_balance_by_pk?: Maybe; + /** fetch data from the table: "cw20token_code_id" */ + cw20token_code_id: Array; + /** fetch data from the table: "cw20token_code_id" using primary key columns */ + cw20token_code_id_by_pk?: Maybe; + /** fetch data from the table: "cw20token_info" */ + cw20token_info: Array; + /** fetch aggregated fields from the table: "cw20token_info" */ + cw20token_info_aggregate: Cw20token_Info_Aggregate; + /** fetch data from the table: "cw20token_info" using primary key columns */ + cw20token_info_by_pk?: Maybe; /** fetch data from the table: "delegation" */ delegation: Array; /** fetch aggregated fields from the table: "delegation" */ delegation_aggregate: Delegation_Aggregate; - /** fetch data from the table: "delegation" using primary key columns */ - delegation_by_pk?: Maybe; + /** execute function "denoms_by_data_property" which returns "nft_denom" */ + denoms_by_data_property: Array; + /** execute function "denoms_by_data_property" and query aggregates on result of table type "nft_denom" */ + denoms_by_data_property_aggregate: Nft_Denom_Aggregate; + /** fetch data from the table: "distinct_message" */ + distinct_message: Array; + /** fetch aggregated fields from the table: "distinct_message" */ + distinct_message_aggregate: Distinct_Message_Aggregate; /** fetch data from the table: "distribution_params" */ distribution_params: Array; /** fetch aggregated fields from the table: "distribution_params" */ @@ -6708,10 +9381,50 @@ export type Query_Root = { gravity_messages_by_address: Array; /** execute function "gravity_messages_by_address" and query aggregates on result of table type "message" */ gravity_messages_by_address_aggregate: Message_Aggregate; + /** fetch data from the table: "group_member" */ + group_member: Array; + /** fetch aggregated fields from the table: "group_member" */ + group_member_aggregate: Group_Member_Aggregate; + /** fetch data from the table: "group_member" using primary key columns */ + group_member_by_pk?: Maybe; + /** fetch data from the table: "group_proposal" */ + group_proposal: Array; + /** fetch aggregated fields from the table: "group_proposal" */ + group_proposal_aggregate: Group_Proposal_Aggregate; + /** fetch data from the table: "group_proposal" using primary key columns */ + group_proposal_by_pk?: Maybe; + /** fetch data from the table: "group_proposal_vote" */ + group_proposal_vote: Array; + /** fetch aggregated fields from the table: "group_proposal_vote" */ + group_proposal_vote_aggregate: Group_Proposal_Vote_Aggregate; + /** fetch data from the table: "group_proposal_vote" using primary key columns */ + group_proposal_vote_by_pk?: Maybe; + /** fetch data from the table: "group_with_policy" */ + group_with_policy: Array; + /** fetch aggregated fields from the table: "group_with_policy" */ + group_with_policy_aggregate: Group_With_Policy_Aggregate; + /** fetch data from the table: "group_with_policy" using primary key columns */ + group_with_policy_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: "marketplace_collection" */ + marketplace_collection: Array; + /** fetch aggregated fields from the table: "marketplace_collection" */ + marketplace_collection_aggregate: Marketplace_Collection_Aggregate; + /** fetch data from the table: "marketplace_collection" using primary key columns */ + marketplace_collection_by_pk?: Maybe; + /** fetch data from the table: "marketplace_nft" */ + marketplace_nft: Array; + /** fetch aggregated fields from the table: "marketplace_nft" */ + marketplace_nft_aggregate: Marketplace_Nft_Aggregate; + /** fetch data from the table: "marketplace_nft_buy_history" */ + marketplace_nft_buy_history: Array; + /** fetch aggregated fields from the table: "marketplace_nft_buy_history" */ + marketplace_nft_buy_history_aggregate: Marketplace_Nft_Buy_History_Aggregate; + /** fetch data from the table: "marketplace_nft" using primary key columns */ + marketplace_nft_by_pk?: Maybe; /** fetch data from the table: "message" */ message: Array; /** fetch aggregated fields from the table: "message" */ @@ -6720,6 +9433,10 @@ export type Query_Root = { messages_by_address: Array; /** execute function "messages_by_address" and query aggregates on result of table type "message" */ messages_by_address_aggregate: Message_Aggregate; + /** execute function "messages_by_address_distinct_on_tx_hash" which returns "distinct_message" */ + messages_by_address_distinct_on_tx_hash: Array; + /** execute function "messages_by_address_distinct_on_tx_hash" and query aggregates on result of table type "distinct_message" */ + messages_by_address_distinct_on_tx_hash_aggregate: Distinct_Message_Aggregate; /** fetch data from the table: "mint_params" */ mint_params: Array; /** fetch aggregated fields from the table: "mint_params" */ @@ -6732,12 +9449,30 @@ export type Query_Root = { modules_aggregate: Modules_Aggregate; /** fetch data from the table: "modules" using primary key columns */ modules_by_pk?: Maybe; - /** fetch data from the table: "nft_mint" */ - nft_mint: Array; - /** fetch aggregated fields from the table: "nft_mint" */ - nft_mint_aggregate: Nft_Mint_Aggregate; - /** fetch data from the table: "nft_mint" using primary key columns */ - nft_mint_by_pk?: Maybe; + /** fetch data from the table: "nft_denom" */ + nft_denom: Array; + /** fetch aggregated fields from the table: "nft_denom" */ + nft_denom_aggregate: Nft_Denom_Aggregate; + /** fetch data from the table: "nft_denom" using primary key columns */ + nft_denom_by_pk?: Maybe; + /** fetch data from the table: "nft_nft" */ + nft_nft: Array; + /** fetch aggregated fields from the table: "nft_nft" */ + nft_nft_aggregate: Nft_Nft_Aggregate; + /** fetch data from the table: "nft_nft" using primary key columns */ + nft_nft_by_pk?: Maybe; + /** fetch data from the table: "nft_transfer_history" */ + nft_transfer_history: Array; + /** fetch aggregated fields from the table: "nft_transfer_history" */ + nft_transfer_history_aggregate: Nft_Transfer_History_Aggregate; + /** execute function "nfts_by_data_property" which returns "nft_nft" */ + nfts_by_data_property: Array; + /** execute function "nfts_by_data_property" and query aggregates on result of table type "nft_nft" */ + nfts_by_data_property_aggregate: Nft_Nft_Aggregate; + /** execute function "nfts_by_expiration_date" which returns "nft_nft" */ + nfts_by_expiration_date: Array; + /** execute function "nfts_by_expiration_date" and query aggregates on result of table type "nft_nft" */ + nfts_by_expiration_date_aggregate: Nft_Nft_Aggregate; /** fetch data from the table: "pre_commit" */ pre_commit: Array; /** fetch aggregated fields from the table: "pre_commit" */ @@ -6932,6 +9667,14 @@ export type Query_RootAction_Delegator_Withdraw_AddressArgs = { }; +export type Query_RootAction_Nft_Transfer_EventsArgs = { + denom_id: Scalars['String']; + from_time?: Maybe; + to_time?: Maybe; + token_id: Scalars['Int']; +}; + + export type Query_RootAction_RedelegationArgs = { address: Scalars['String']; count_total?: Maybe; @@ -7279,6 +10022,67 @@ export type Query_RootCosmwasm_Update_Admin_By_PkArgs = { }; +export type Query_RootCw20token_BalanceArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Query_RootCw20token_Balance_AggregateArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Query_RootCw20token_Balance_By_PkArgs = { + address: Scalars['String']; + token: Scalars['String']; +}; + + +export type Query_RootCw20token_Code_IdArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Query_RootCw20token_Code_Id_By_PkArgs = { + id: Scalars['Int']; +}; + + +export type Query_RootCw20token_InfoArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Query_RootCw20token_Info_AggregateArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Query_RootCw20token_Info_By_PkArgs = { + address: Scalars['String']; +}; + + export type Query_RootDelegationArgs = { distinct_on?: Maybe>; limit?: Maybe; @@ -7297,9 +10101,41 @@ export type Query_RootDelegation_AggregateArgs = { }; -export type Query_RootDelegation_By_PkArgs = { - delegator_address: Scalars['String']; - validator_address: Scalars['String']; +export type Query_RootDenoms_By_Data_PropertyArgs = { + args: Denoms_By_Data_Property_Args; + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Query_RootDenoms_By_Data_Property_AggregateArgs = { + args: Denoms_By_Data_Property_Args; + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Query_RootDistinct_MessageArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Query_RootDistinct_Message_AggregateArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; }; @@ -7451,6 +10287,100 @@ export type Query_RootGravity_Messages_By_Address_AggregateArgs = { }; +export type Query_RootGroup_MemberArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Query_RootGroup_Member_AggregateArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Query_RootGroup_Member_By_PkArgs = { + address: Scalars['String']; + group_id: Scalars['Int']; +}; + + +export type Query_RootGroup_ProposalArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Query_RootGroup_Proposal_AggregateArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Query_RootGroup_Proposal_By_PkArgs = { + id: Scalars['Int']; +}; + + +export type Query_RootGroup_Proposal_VoteArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Query_RootGroup_Proposal_Vote_AggregateArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Query_RootGroup_Proposal_Vote_By_PkArgs = { + proposal_id: Scalars['Int']; + voter: Scalars['String']; +}; + + +export type Query_RootGroup_With_PolicyArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Query_RootGroup_With_Policy_AggregateArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Query_RootGroup_With_Policy_By_PkArgs = { + id: Scalars['Int']; +}; + + export type Query_RootInflationArgs = { distinct_on?: Maybe>; limit?: Maybe; @@ -7469,6 +10399,71 @@ export type Query_RootInflation_AggregateArgs = { }; +export type Query_RootMarketplace_CollectionArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Query_RootMarketplace_Collection_AggregateArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Query_RootMarketplace_Collection_By_PkArgs = { + id: Scalars['bigint']; +}; + + +export type Query_RootMarketplace_NftArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Query_RootMarketplace_Nft_AggregateArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Query_RootMarketplace_Nft_Buy_HistoryArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Query_RootMarketplace_Nft_Buy_History_AggregateArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Query_RootMarketplace_Nft_By_PkArgs = { + denom_id: Scalars['String']; + token_id: Scalars['bigint']; +}; + + export type Query_RootMessageArgs = { distinct_on?: Maybe>; limit?: Maybe; @@ -7507,6 +10502,26 @@ export type Query_RootMessages_By_Address_AggregateArgs = { }; +export type Query_RootMessages_By_Address_Distinct_On_Tx_HashArgs = { + args: Messages_By_Address_Distinct_On_Tx_Hash_Args; + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Query_RootMessages_By_Address_Distinct_On_Tx_Hash_AggregateArgs = { + args: Messages_By_Address_Distinct_On_Tx_Hash_Args; + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + export type Query_RootMint_ParamsArgs = { distinct_on?: Maybe>; limit?: Maybe; @@ -7516,64 +10531,145 @@ export type Query_RootMint_ParamsArgs = { }; -export type Query_RootMint_Params_AggregateArgs = { - distinct_on?: Maybe>; +export type Query_RootMint_Params_AggregateArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Query_RootMint_Params_By_PkArgs = { + one_row_id: Scalars['Boolean']; +}; + + +export type Query_RootModulesArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Query_RootModules_AggregateArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Query_RootModules_By_PkArgs = { + module_name: Scalars['String']; +}; + + +export type Query_RootNft_DenomArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Query_RootNft_Denom_AggregateArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Query_RootNft_Denom_By_PkArgs = { + id: Scalars['String']; +}; + + +export type Query_RootNft_NftArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Query_RootNft_Nft_AggregateArgs = { + distinct_on?: Maybe>; limit?: Maybe; offset?: Maybe; - order_by?: Maybe>; - where?: Maybe; + order_by?: Maybe>; + where?: Maybe; }; -export type Query_RootMint_Params_By_PkArgs = { - one_row_id: Scalars['Boolean']; +export type Query_RootNft_Nft_By_PkArgs = { + denom_id: Scalars['String']; + id: Scalars['bigint']; }; -export type Query_RootModulesArgs = { - distinct_on?: Maybe>; +export type Query_RootNft_Transfer_HistoryArgs = { + distinct_on?: Maybe>; limit?: Maybe; offset?: Maybe; - order_by?: Maybe>; - where?: Maybe; + order_by?: Maybe>; + where?: Maybe; }; -export type Query_RootModules_AggregateArgs = { - distinct_on?: Maybe>; +export type Query_RootNft_Transfer_History_AggregateArgs = { + distinct_on?: Maybe>; limit?: Maybe; offset?: Maybe; - order_by?: Maybe>; - where?: Maybe; + order_by?: Maybe>; + where?: Maybe; }; -export type Query_RootModules_By_PkArgs = { - module_name: Scalars['String']; +export type Query_RootNfts_By_Data_PropertyArgs = { + args: Nfts_By_Data_Property_Args; + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; }; -export type Query_RootNft_MintArgs = { - distinct_on?: Maybe>; +export type Query_RootNfts_By_Data_Property_AggregateArgs = { + args: Nfts_By_Data_Property_Args; + distinct_on?: Maybe>; limit?: Maybe; offset?: Maybe; - order_by?: Maybe>; - where?: Maybe; + order_by?: Maybe>; + where?: Maybe; }; -export type Query_RootNft_Mint_AggregateArgs = { - distinct_on?: Maybe>; +export type Query_RootNfts_By_Expiration_DateArgs = { + args: Nfts_By_Expiration_Date_Args; + distinct_on?: Maybe>; limit?: Maybe; offset?: Maybe; - order_by?: Maybe>; - where?: Maybe; + order_by?: Maybe>; + where?: Maybe; }; -export type Query_RootNft_Mint_By_PkArgs = { - denom_id: Scalars['String']; - token_id: Scalars['bigint']; +export type Query_RootNfts_By_Expiration_Date_AggregateArgs = { + args: Nfts_By_Expiration_Date_Args; + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; }; @@ -8623,12 +11719,34 @@ export type Subscription_Root = { cosmwasm_update_admin_aggregate: Cosmwasm_Update_Admin_Aggregate; /** fetch data from the table: "cosmwasm_update_admin" using primary key columns */ cosmwasm_update_admin_by_pk?: Maybe; + /** fetch data from the table: "cw20token_balance" */ + cw20token_balance: Array; + /** fetch aggregated fields from the table: "cw20token_balance" */ + cw20token_balance_aggregate: Cw20token_Balance_Aggregate; + /** fetch data from the table: "cw20token_balance" using primary key columns */ + cw20token_balance_by_pk?: Maybe; + /** fetch data from the table: "cw20token_code_id" */ + cw20token_code_id: Array; + /** fetch data from the table: "cw20token_code_id" using primary key columns */ + cw20token_code_id_by_pk?: Maybe; + /** fetch data from the table: "cw20token_info" */ + cw20token_info: Array; + /** fetch aggregated fields from the table: "cw20token_info" */ + cw20token_info_aggregate: Cw20token_Info_Aggregate; + /** fetch data from the table: "cw20token_info" using primary key columns */ + cw20token_info_by_pk?: Maybe; /** fetch data from the table: "delegation" */ delegation: Array; /** fetch aggregated fields from the table: "delegation" */ delegation_aggregate: Delegation_Aggregate; - /** fetch data from the table: "delegation" using primary key columns */ - delegation_by_pk?: Maybe; + /** execute function "denoms_by_data_property" which returns "nft_denom" */ + denoms_by_data_property: Array; + /** execute function "denoms_by_data_property" and query aggregates on result of table type "nft_denom" */ + denoms_by_data_property_aggregate: Nft_Denom_Aggregate; + /** fetch data from the table: "distinct_message" */ + distinct_message: Array; + /** fetch aggregated fields from the table: "distinct_message" */ + distinct_message_aggregate: Distinct_Message_Aggregate; /** fetch data from the table: "distribution_params" */ distribution_params: Array; /** fetch aggregated fields from the table: "distribution_params" */ @@ -8665,10 +11783,50 @@ export type Subscription_Root = { gravity_messages_by_address: Array; /** execute function "gravity_messages_by_address" and query aggregates on result of table type "message" */ gravity_messages_by_address_aggregate: Message_Aggregate; + /** fetch data from the table: "group_member" */ + group_member: Array; + /** fetch aggregated fields from the table: "group_member" */ + group_member_aggregate: Group_Member_Aggregate; + /** fetch data from the table: "group_member" using primary key columns */ + group_member_by_pk?: Maybe; + /** fetch data from the table: "group_proposal" */ + group_proposal: Array; + /** fetch aggregated fields from the table: "group_proposal" */ + group_proposal_aggregate: Group_Proposal_Aggregate; + /** fetch data from the table: "group_proposal" using primary key columns */ + group_proposal_by_pk?: Maybe; + /** fetch data from the table: "group_proposal_vote" */ + group_proposal_vote: Array; + /** fetch aggregated fields from the table: "group_proposal_vote" */ + group_proposal_vote_aggregate: Group_Proposal_Vote_Aggregate; + /** fetch data from the table: "group_proposal_vote" using primary key columns */ + group_proposal_vote_by_pk?: Maybe; + /** fetch data from the table: "group_with_policy" */ + group_with_policy: Array; + /** fetch aggregated fields from the table: "group_with_policy" */ + group_with_policy_aggregate: Group_With_Policy_Aggregate; + /** fetch data from the table: "group_with_policy" using primary key columns */ + group_with_policy_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: "marketplace_collection" */ + marketplace_collection: Array; + /** fetch aggregated fields from the table: "marketplace_collection" */ + marketplace_collection_aggregate: Marketplace_Collection_Aggregate; + /** fetch data from the table: "marketplace_collection" using primary key columns */ + marketplace_collection_by_pk?: Maybe; + /** fetch data from the table: "marketplace_nft" */ + marketplace_nft: Array; + /** fetch aggregated fields from the table: "marketplace_nft" */ + marketplace_nft_aggregate: Marketplace_Nft_Aggregate; + /** fetch data from the table: "marketplace_nft_buy_history" */ + marketplace_nft_buy_history: Array; + /** fetch aggregated fields from the table: "marketplace_nft_buy_history" */ + marketplace_nft_buy_history_aggregate: Marketplace_Nft_Buy_History_Aggregate; + /** fetch data from the table: "marketplace_nft" using primary key columns */ + marketplace_nft_by_pk?: Maybe; /** fetch data from the table: "message" */ message: Array; /** fetch aggregated fields from the table: "message" */ @@ -8677,6 +11835,10 @@ export type Subscription_Root = { messages_by_address: Array; /** execute function "messages_by_address" and query aggregates on result of table type "message" */ messages_by_address_aggregate: Message_Aggregate; + /** execute function "messages_by_address_distinct_on_tx_hash" which returns "distinct_message" */ + messages_by_address_distinct_on_tx_hash: Array; + /** execute function "messages_by_address_distinct_on_tx_hash" and query aggregates on result of table type "distinct_message" */ + messages_by_address_distinct_on_tx_hash_aggregate: Distinct_Message_Aggregate; /** fetch data from the table: "mint_params" */ mint_params: Array; /** fetch aggregated fields from the table: "mint_params" */ @@ -8689,12 +11851,30 @@ export type Subscription_Root = { modules_aggregate: Modules_Aggregate; /** fetch data from the table: "modules" using primary key columns */ modules_by_pk?: Maybe; - /** fetch data from the table: "nft_mint" */ - nft_mint: Array; - /** fetch aggregated fields from the table: "nft_mint" */ - nft_mint_aggregate: Nft_Mint_Aggregate; - /** fetch data from the table: "nft_mint" using primary key columns */ - nft_mint_by_pk?: Maybe; + /** fetch data from the table: "nft_denom" */ + nft_denom: Array; + /** fetch aggregated fields from the table: "nft_denom" */ + nft_denom_aggregate: Nft_Denom_Aggregate; + /** fetch data from the table: "nft_denom" using primary key columns */ + nft_denom_by_pk?: Maybe; + /** fetch data from the table: "nft_nft" */ + nft_nft: Array; + /** fetch aggregated fields from the table: "nft_nft" */ + nft_nft_aggregate: Nft_Nft_Aggregate; + /** fetch data from the table: "nft_nft" using primary key columns */ + nft_nft_by_pk?: Maybe; + /** fetch data from the table: "nft_transfer_history" */ + nft_transfer_history: Array; + /** fetch aggregated fields from the table: "nft_transfer_history" */ + nft_transfer_history_aggregate: Nft_Transfer_History_Aggregate; + /** execute function "nfts_by_data_property" which returns "nft_nft" */ + nfts_by_data_property: Array; + /** execute function "nfts_by_data_property" and query aggregates on result of table type "nft_nft" */ + nfts_by_data_property_aggregate: Nft_Nft_Aggregate; + /** execute function "nfts_by_expiration_date" which returns "nft_nft" */ + nfts_by_expiration_date: Array; + /** execute function "nfts_by_expiration_date" and query aggregates on result of table type "nft_nft" */ + nfts_by_expiration_date_aggregate: Nft_Nft_Aggregate; /** fetch data from the table: "pre_commit" */ pre_commit: Array; /** fetch aggregated fields from the table: "pre_commit" */ @@ -9150,6 +12330,67 @@ export type Subscription_RootCosmwasm_Update_Admin_By_PkArgs = { }; +export type Subscription_RootCw20token_BalanceArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Subscription_RootCw20token_Balance_AggregateArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Subscription_RootCw20token_Balance_By_PkArgs = { + address: Scalars['String']; + token: Scalars['String']; +}; + + +export type Subscription_RootCw20token_Code_IdArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Subscription_RootCw20token_Code_Id_By_PkArgs = { + id: Scalars['Int']; +}; + + +export type Subscription_RootCw20token_InfoArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Subscription_RootCw20token_Info_AggregateArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Subscription_RootCw20token_Info_By_PkArgs = { + address: Scalars['String']; +}; + + export type Subscription_RootDelegationArgs = { distinct_on?: Maybe>; limit?: Maybe; @@ -9168,9 +12409,41 @@ export type Subscription_RootDelegation_AggregateArgs = { }; -export type Subscription_RootDelegation_By_PkArgs = { - delegator_address: Scalars['String']; - validator_address: Scalars['String']; +export type Subscription_RootDenoms_By_Data_PropertyArgs = { + args: Denoms_By_Data_Property_Args; + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Subscription_RootDenoms_By_Data_Property_AggregateArgs = { + args: Denoms_By_Data_Property_Args; + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Subscription_RootDistinct_MessageArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Subscription_RootDistinct_Message_AggregateArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; }; @@ -9322,6 +12595,100 @@ export type Subscription_RootGravity_Messages_By_Address_AggregateArgs = { }; +export type Subscription_RootGroup_MemberArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Subscription_RootGroup_Member_AggregateArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Subscription_RootGroup_Member_By_PkArgs = { + address: Scalars['String']; + group_id: Scalars['Int']; +}; + + +export type Subscription_RootGroup_ProposalArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Subscription_RootGroup_Proposal_AggregateArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Subscription_RootGroup_Proposal_By_PkArgs = { + id: Scalars['Int']; +}; + + +export type Subscription_RootGroup_Proposal_VoteArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Subscription_RootGroup_Proposal_Vote_AggregateArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Subscription_RootGroup_Proposal_Vote_By_PkArgs = { + proposal_id: Scalars['Int']; + voter: Scalars['String']; +}; + + +export type Subscription_RootGroup_With_PolicyArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Subscription_RootGroup_With_Policy_AggregateArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Subscription_RootGroup_With_Policy_By_PkArgs = { + id: Scalars['Int']; +}; + + export type Subscription_RootInflationArgs = { distinct_on?: Maybe>; limit?: Maybe; @@ -9340,6 +12707,71 @@ export type Subscription_RootInflation_AggregateArgs = { }; +export type Subscription_RootMarketplace_CollectionArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Subscription_RootMarketplace_Collection_AggregateArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Subscription_RootMarketplace_Collection_By_PkArgs = { + id: Scalars['bigint']; +}; + + +export type Subscription_RootMarketplace_NftArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Subscription_RootMarketplace_Nft_AggregateArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Subscription_RootMarketplace_Nft_Buy_HistoryArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Subscription_RootMarketplace_Nft_Buy_History_AggregateArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Subscription_RootMarketplace_Nft_By_PkArgs = { + denom_id: Scalars['String']; + token_id: Scalars['bigint']; +}; + + export type Subscription_RootMessageArgs = { distinct_on?: Maybe>; limit?: Maybe; @@ -9378,6 +12810,26 @@ export type Subscription_RootMessages_By_Address_AggregateArgs = { }; +export type Subscription_RootMessages_By_Address_Distinct_On_Tx_HashArgs = { + args: Messages_By_Address_Distinct_On_Tx_Hash_Args; + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Subscription_RootMessages_By_Address_Distinct_On_Tx_Hash_AggregateArgs = { + args: Messages_By_Address_Distinct_On_Tx_Hash_Args; + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + export type Subscription_RootMint_ParamsArgs = { distinct_on?: Maybe>; limit?: Maybe; @@ -9424,27 +12876,108 @@ export type Subscription_RootModules_By_PkArgs = { }; -export type Subscription_RootNft_MintArgs = { - distinct_on?: Maybe>; +export type Subscription_RootNft_DenomArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Subscription_RootNft_Denom_AggregateArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Subscription_RootNft_Denom_By_PkArgs = { + id: Scalars['String']; +}; + + +export type Subscription_RootNft_NftArgs = { + distinct_on?: Maybe>; limit?: Maybe; offset?: Maybe; - order_by?: Maybe>; - where?: Maybe; + order_by?: Maybe>; + where?: Maybe; }; -export type Subscription_RootNft_Mint_AggregateArgs = { - distinct_on?: Maybe>; +export type Subscription_RootNft_Nft_AggregateArgs = { + distinct_on?: Maybe>; limit?: Maybe; offset?: Maybe; - order_by?: Maybe>; - where?: Maybe; + order_by?: Maybe>; + where?: Maybe; }; -export type Subscription_RootNft_Mint_By_PkArgs = { +export type Subscription_RootNft_Nft_By_PkArgs = { denom_id: Scalars['String']; - token_id: Scalars['bigint']; + id: Scalars['bigint']; +}; + + +export type Subscription_RootNft_Transfer_HistoryArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Subscription_RootNft_Transfer_History_AggregateArgs = { + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Subscription_RootNfts_By_Data_PropertyArgs = { + args: Nfts_By_Data_Property_Args; + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Subscription_RootNfts_By_Data_Property_AggregateArgs = { + args: Nfts_By_Data_Property_Args; + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Subscription_RootNfts_By_Expiration_DateArgs = { + args: Nfts_By_Expiration_Date_Args; + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; +}; + + +export type Subscription_RootNfts_By_Expiration_Date_AggregateArgs = { + args: Nfts_By_Expiration_Date_Args; + distinct_on?: Maybe>; + limit?: Maybe; + offset?: Maybe; + order_by?: Maybe>; + where?: Maybe; }; @@ -13387,6 +16920,20 @@ export type Vesting_Period_Variance_Order_By = { vesting_account_id?: Maybe; }; + +/** Boolean expression to compare columns of type "vote_option". All fields are combined with logical 'AND'. */ +export type Vote_Option_Comparison_Exp = { + _eq?: Maybe; + _gt?: Maybe; + _gte?: Maybe; + _in?: Maybe>; + _is_null?: Maybe; + _lt?: Maybe; + _lte?: Maybe; + _neq?: Maybe; + _nin?: Maybe>; +}; + export type AccountCommissionQueryVariables = Exact<{ validatorAddress: Scalars['String']; }>; @@ -13510,7 +17057,6 @@ export type ActiveValidatorCountQuery = { activeTotal: ( export type BlockDetailsQueryVariables = Exact<{ height?: Maybe; - signatureHeight?: Maybe; }>; @@ -13527,23 +17073,23 @@ export type BlockDetailsQuery = { transaction: Array<( { __typename?: 'validator_info' } & { operatorAddress: Validator_Info['operator_address'] } )> } - )> } - )>, preCommitsAggregate: ( - { __typename?: 'pre_commit_aggregate' } - & { aggregate?: Maybe<( - { __typename?: 'pre_commit_aggregate_fields' } - & { sum?: Maybe<( - { __typename?: 'pre_commit_sum_fields' } - & { votingPower: Pre_Commit_Sum_Fields['voting_power'] } - )> } - )> } - ), preCommits: Array<( - { __typename?: 'pre_commit' } - & { validator: ( - { __typename?: 'validator' } - & { validatorInfo?: Maybe<( - { __typename?: 'validator_info' } - & { operatorAddress: Validator_Info['operator_address'] } + )>, preCommits: Array<( + { __typename?: 'pre_commit' } + & { validator: ( + { __typename?: 'validator' } + & { validatorInfo?: Maybe<( + { __typename?: 'validator_info' } + & { operatorAddress: Validator_Info['operator_address'] } + )> } + ) } + )>, preCommitsAggregate: ( + { __typename?: 'pre_commit_aggregate' } + & { aggregate?: Maybe<( + { __typename?: 'pre_commit_aggregate_fields' } + & { sum?: Maybe<( + { __typename?: 'pre_commit_sum_fields' } + & { votingPower: Pre_Commit_Sum_Fields['voting_power'] } + )> } )> } ) } )> }; @@ -14458,7 +18004,7 @@ export type ActiveValidatorCountQueryHookResult = ReturnType; export type ActiveValidatorCountQueryResult = Apollo.QueryResult; export const BlockDetailsDocument = gql` - query BlockDetails($height: bigint, $signatureHeight: bigint) { + query BlockDetails($height: bigint) { transaction(where: {height: {_eq: $height}}) { height hash @@ -14476,20 +18022,18 @@ export const BlockDetailsDocument = gql` operatorAddress: operator_address } } - } - preCommitsAggregate: pre_commit_aggregate( - where: {height: {_eq: $signatureHeight}} - ) { - aggregate { - sum { - votingPower: voting_power + preCommits: pre_commits { + validator { + validatorInfo: validator_info { + operatorAddress: operator_address + } } } - } - preCommits: pre_commit(where: {height: {_eq: $signatureHeight}}) { - validator { - validatorInfo: validator_info { - operatorAddress: operator_address + preCommitsAggregate: pre_commits_aggregate { + aggregate { + sum { + votingPower: voting_power + } } } } @@ -14509,7 +18053,6 @@ export const BlockDetailsDocument = gql` * const { data, loading, error } = useBlockDetailsQuery({ * variables: { * height: // value for 'height' - * signatureHeight: // value for 'signatureHeight' * }, * }); */ diff --git a/src/screens/block_details/hooks.tsx b/src/screens/block_details/hooks.tsx index 2a0c0c34a3..4684d1714b 100644 --- a/src/screens/block_details/hooks.tsx +++ b/src/screens/block_details/hooks.tsx @@ -44,7 +44,6 @@ export const useBlockDetails = () => { useBlockDetailsQuery({ variables: { height: numeral(router.query.height).value(), - signatureHeight: numeral(router.query.height).value() + 1, }, onCompleted: (data) => { handleSetState(formatRaws(data)); @@ -82,7 +81,7 @@ export const useBlockDetails = () => { // Signatures // ========================== const formatSignatures = () => { - const signatures = data.preCommits.filter((x) => x?.validator?.validatorInfo).map((x) => { + const signatures = data.block[0].preCommits.map((x) => { return x.validator.validatorInfo.operatorAddress; }); return signatures; diff --git a/src/screens/block_details/index.test.tsx b/src/screens/block_details/index.test.tsx index 8a061cb769..9f3d71f1a6 100644 --- a/src/screens/block_details/index.test.tsx +++ b/src/screens/block_details/index.test.tsx @@ -64,22 +64,22 @@ const mockAverageBlockTime = jest.fn().mockResolvedValue({ operatorAddress: 'desmosvaloper18kvwy5hzcu3ss08lcfcnx0eajuecg69uvk76c3', }, }, - }, - ], - preCommitsAggregate: { - aggregate: { - sum: { - votingPower: 7304, - }, - }, - }, - preCommits: [ - { - validator: { - validatorInfo: { - operatorAddress: 'desmosvaloper1qlh47ty9ah2d5e0xq6gsvqjvfulljl9602k7f9', + preCommitsAggregate: { + aggregate: { + sum: { + votingPower: 7304, + }, }, }, + preCommits: [ + { + validator: { + validatorInfo: { + operatorAddress: 'desmosvaloper1qlh47ty9ah2d5e0xq6gsvqjvfulljl9602k7f9', + }, + }, + }, + ], }, ], },