diff --git a/scan/graphql_schema.json b/scan/graphql_schema.json index 623e2315e6..e68d61424c 100644 --- a/scan/graphql_schema.json +++ b/scan/graphql_schema.json @@ -1582,6 +1582,180 @@ }, "description": "An aggregated array relationship" }, + { + "args": [ + { + "name": "distinct_on", + "defaultValue": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "unbonding_delegations_select_column", + "ofType": null + } + } + }, + "description": "distinct select on columns" + }, + { + "name": "limit", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "description": "limit the number of rows returned" + }, + { + "name": "offset", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "description": "skip the first n rows. Use only with order_by" + }, + { + "name": "order_by", + "defaultValue": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "unbonding_delegations_order_by", + "ofType": null + } + } + }, + "description": "sort the rows by one or more columns" + }, + { + "name": "where", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "unbonding_delegations_bool_exp", + "ofType": null + }, + "description": "filter the rows returned" + } + ], + "isDeprecated": false, + "deprecationReason": null, + "name": "unbonding_delegations", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "unbonding_delegations", + "ofType": null + } + } + } + }, + "description": "An array relationship" + }, + { + "args": [ + { + "name": "distinct_on", + "defaultValue": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "unbonding_delegations_select_column", + "ofType": null + } + } + }, + "description": "distinct select on columns" + }, + { + "name": "limit", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "description": "limit the number of rows returned" + }, + { + "name": "offset", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "description": "skip the first n rows. Use only with order_by" + }, + { + "name": "order_by", + "defaultValue": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "unbonding_delegations_order_by", + "ofType": null + } + } + }, + "description": "sort the rows by one or more columns" + }, + { + "name": "where", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "unbonding_delegations_bool_exp", + "ofType": null + }, + "description": "filter the rows returned" + } + ], + "isDeprecated": false, + "deprecationReason": null, + "name": "unbonding_delegations_aggregate", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "unbonding_delegations_aggregate", + "ofType": null + } + }, + "description": "An aggregated array relationship" + }, { "args": [], "isDeprecated": false, @@ -2107,6 +2281,16 @@ }, "description": null }, + { + "name": "unbonding_delegations", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "unbonding_delegations_bool_exp", + "ofType": null + }, + "description": null + }, { "name": "updated_height", "defaultValue": null, @@ -2207,62 +2391,18 @@ "description": null }, { - "name": "updated_height", + "name": "unbonding_delegations", "defaultValue": null, "type": { - "kind": "SCALAR", - "name": "bigint", - "ofType": null - }, - "description": null - } - ], - "kind": "INPUT_OBJECT", - "possibleTypes": null, - "interfaces": null, - "name": "accounts_insert_input", - "enumValues": null, - "description": "input type for inserting data into table \"accounts\"", - "fields": null - }, - { - "inputFields": null, - "kind": "OBJECT", - "possibleTypes": null, - "interfaces": [], - "name": "accounts_max_fields", - "enumValues": null, - "description": "aggregate max on columns", - "fields": [ - { - "args": [], - "isDeprecated": false, - "deprecationReason": null, - "name": "address", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "description": null - }, - { - "args": [], - "isDeprecated": false, - "deprecationReason": null, - "name": "balance", - "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "unbonding_delegations_arr_rel_insert_input", "ofType": null }, "description": null }, { - "args": [], - "isDeprecated": false, - "deprecationReason": null, "name": "updated_height", + "defaultValue": null, "type": { "kind": "SCALAR", "name": "bigint", @@ -2270,47 +2410,13 @@ }, "description": null } - ] - }, - { - "inputFields": [ - { - "name": "address", - "defaultValue": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "description": null - }, - { - "name": "balance", - "defaultValue": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "description": null - }, - { - "name": "updated_height", - "defaultValue": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "description": null - } ], "kind": "INPUT_OBJECT", "possibleTypes": null, "interfaces": null, - "name": "accounts_max_order_by", + "name": "accounts_insert_input", "enumValues": null, - "description": "order by max() on columns of table \"accounts\"", + "description": "input type for inserting data into table \"accounts\"", "fields": null }, { @@ -2318,9 +2424,97 @@ "kind": "OBJECT", "possibleTypes": null, "interfaces": [], - "name": "accounts_min_fields", + "name": "accounts_max_fields", "enumValues": null, - "description": "aggregate min on columns", + "description": "aggregate max on columns", + "fields": [ + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "address", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "balance", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "updated_height", + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "description": null + } + ] + }, + { + "inputFields": [ + { + "name": "address", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "balance", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "updated_height", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + } + ], + "kind": "INPUT_OBJECT", + "possibleTypes": null, + "interfaces": null, + "name": "accounts_max_order_by", + "enumValues": null, + "description": "order by max() on columns of table \"accounts\"", + "fields": null + }, + { + "inputFields": null, + "kind": "OBJECT", + "possibleTypes": null, + "interfaces": [], + "name": "accounts_min_fields", + "enumValues": null, + "description": "aggregate min on columns", "fields": [ { "args": [], @@ -2586,6 +2780,16 @@ }, "description": null }, + { + "name": "unbonding_delegations_aggregate", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "unbonding_delegations_aggregate_order_by", + "ofType": null + }, + "description": null + }, { "name": "updated_height", "defaultValue": null, @@ -14261,6 +14465,33 @@ }, "description": "delete data from the table: \"transactions\"" }, + { + "args": [ + { + "name": "where", + "defaultValue": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "unbonding_delegations_bool_exp", + "ofType": null + } + }, + "description": "filter the rows which have to be deleted" + } + ], + "isDeprecated": false, + "deprecationReason": null, + "name": "delete_unbonding_delegations", + "type": { + "kind": "OBJECT", + "name": "unbonding_delegations_mutation_response", + "ofType": null + }, + "description": "delete data from the table: \"unbonding_delegations\"" + }, { "args": [ { @@ -15035,6 +15266,41 @@ }, "description": "insert data into the table: \"transactions\"" }, + { + "args": [ + { + "name": "objects", + "defaultValue": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "unbonding_delegations_insert_input", + "ofType": null + } + } + } + }, + "description": "the rows to be inserted" + } + ], + "isDeprecated": false, + "deprecationReason": null, + "name": "insert_unbonding_delegations", + "type": { + "kind": "OBJECT", + "name": "unbonding_delegations_mutation_response", + "ofType": null + }, + "description": "insert data into the table: \"unbonding_delegations\"" + }, { "args": [ { @@ -15957,6 +16223,53 @@ }, "description": "update data of the table: \"transactions\"" }, + { + "args": [ + { + "name": "_inc", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "unbonding_delegations_inc_input", + "ofType": null + }, + "description": "increments the integer columns with given value of the filtered values" + }, + { + "name": "_set", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "unbonding_delegations_set_input", + "ofType": null + }, + "description": "sets the columns of the filtered rows to the given values" + }, + { + "name": "where", + "defaultValue": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "unbonding_delegations_bool_exp", + "ofType": null + } + }, + "description": "filter the rows which have to be updated" + } + ], + "isDeprecated": false, + "deprecationReason": null, + "name": "update_unbonding_delegations", + "type": { + "kind": "OBJECT", + "name": "unbonding_delegations_mutation_response", + "ofType": null + }, + "description": "update data of the table: \"unbonding_delegations\"" + }, { "args": [ { @@ -27268,7 +27581,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "validator_last_1000_votes_select_column", + "name": "unbonding_delegations_select_column", "ofType": null } } @@ -27306,7 +27619,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "validator_last_1000_votes_order_by", + "name": "unbonding_delegations_order_by", "ofType": null } } @@ -27318,7 +27631,7 @@ "defaultValue": null, "type": { "kind": "INPUT_OBJECT", - "name": "validator_last_1000_votes_bool_exp", + "name": "unbonding_delegations_bool_exp", "ofType": null }, "description": "filter the rows returned" @@ -27326,7 +27639,7 @@ ], "isDeprecated": false, "deprecationReason": null, - "name": "validator_last_1000_votes", + "name": "unbonding_delegations", "type": { "kind": "NON_NULL", "name": null, @@ -27338,13 +27651,13 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "validator_last_1000_votes", + "name": "unbonding_delegations", "ofType": null } } } }, - "description": "fetch data from the table: \"validator_last_1000_votes\"" + "description": "fetch data from the table: \"unbonding_delegations\"" }, { "args": [ @@ -27359,7 +27672,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "validator_last_1000_votes_select_column", + "name": "unbonding_delegations_select_column", "ofType": null } } @@ -27397,7 +27710,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "validator_last_1000_votes_order_by", + "name": "unbonding_delegations_order_by", "ofType": null } } @@ -27409,7 +27722,7 @@ "defaultValue": null, "type": { "kind": "INPUT_OBJECT", - "name": "validator_last_1000_votes_bool_exp", + "name": "unbonding_delegations_bool_exp", "ofType": null }, "description": "filter the rows returned" @@ -27417,17 +27730,17 @@ ], "isDeprecated": false, "deprecationReason": null, - "name": "validator_last_1000_votes_aggregate", + "name": "unbonding_delegations_aggregate", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "validator_last_1000_votes_aggregate", + "name": "unbonding_delegations_aggregate", "ofType": null } }, - "description": "fetch aggregated fields from the table: \"validator_last_1000_votes\"" + "description": "fetch aggregated fields from the table: \"unbonding_delegations\"" }, { "args": [ @@ -27442,7 +27755,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "validator_last_250_votes_select_column", + "name": "validator_last_10000_votes_select_column", "ofType": null } } @@ -27480,7 +27793,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "validator_last_250_votes_order_by", + "name": "validator_last_10000_votes_order_by", "ofType": null } } @@ -27492,7 +27805,7 @@ "defaultValue": null, "type": { "kind": "INPUT_OBJECT", - "name": "validator_last_250_votes_bool_exp", + "name": "validator_last_10000_votes_bool_exp", "ofType": null }, "description": "filter the rows returned" @@ -27500,7 +27813,7 @@ ], "isDeprecated": false, "deprecationReason": null, - "name": "validator_last_250_votes", + "name": "validator_last_10000_votes", "type": { "kind": "NON_NULL", "name": null, @@ -27512,13 +27825,13 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "validator_last_250_votes", + "name": "validator_last_10000_votes", "ofType": null } } } }, - "description": "fetch data from the table: \"validator_last_250_votes\"" + "description": "fetch data from the table: \"validator_last_10000_votes\"" }, { "args": [ @@ -27533,7 +27846,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "validator_last_250_votes_select_column", + "name": "validator_last_10000_votes_select_column", "ofType": null } } @@ -27571,7 +27884,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "validator_last_250_votes_order_by", + "name": "validator_last_10000_votes_order_by", "ofType": null } } @@ -27583,7 +27896,7 @@ "defaultValue": null, "type": { "kind": "INPUT_OBJECT", - "name": "validator_last_250_votes_bool_exp", + "name": "validator_last_10000_votes_bool_exp", "ofType": null }, "description": "filter the rows returned" @@ -27591,17 +27904,17 @@ ], "isDeprecated": false, "deprecationReason": null, - "name": "validator_last_250_votes_aggregate", + "name": "validator_last_10000_votes_aggregate", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "validator_last_250_votes_aggregate", + "name": "validator_last_10000_votes_aggregate", "ofType": null } }, - "description": "fetch aggregated fields from the table: \"validator_last_250_votes\"" + "description": "fetch aggregated fields from the table: \"validator_last_10000_votes\"" }, { "args": [ @@ -27616,7 +27929,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "validator_votes_select_column", + "name": "validator_last_1000_votes_select_column", "ofType": null } } @@ -27654,7 +27967,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "validator_votes_order_by", + "name": "validator_last_1000_votes_order_by", "ofType": null } } @@ -27666,7 +27979,7 @@ "defaultValue": null, "type": { "kind": "INPUT_OBJECT", - "name": "validator_votes_bool_exp", + "name": "validator_last_1000_votes_bool_exp", "ofType": null }, "description": "filter the rows returned" @@ -27674,7 +27987,7 @@ ], "isDeprecated": false, "deprecationReason": null, - "name": "validator_votes", + "name": "validator_last_1000_votes", "type": { "kind": "NON_NULL", "name": null, @@ -27686,13 +27999,13 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "validator_votes", + "name": "validator_last_1000_votes", "ofType": null } } } }, - "description": "fetch data from the table: \"validator_votes\"" + "description": "fetch data from the table: \"validator_last_1000_votes\"" }, { "args": [ @@ -27707,7 +28020,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "validator_votes_select_column", + "name": "validator_last_1000_votes_select_column", "ofType": null } } @@ -27745,7 +28058,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "validator_votes_order_by", + "name": "validator_last_1000_votes_order_by", "ofType": null } } @@ -27757,7 +28070,7 @@ "defaultValue": null, "type": { "kind": "INPUT_OBJECT", - "name": "validator_votes_bool_exp", + "name": "validator_last_1000_votes_bool_exp", "ofType": null }, "description": "filter the rows returned" @@ -27765,58 +28078,17 @@ ], "isDeprecated": false, "deprecationReason": null, - "name": "validator_votes_aggregate", + "name": "validator_last_1000_votes_aggregate", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "validator_votes_aggregate", + "name": "validator_last_1000_votes_aggregate", "ofType": null } }, - "description": "fetch aggregated fields from the table: \"validator_votes\"" - }, - { - "args": [ - { - "name": "block_height", - "defaultValue": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "bigint", - "ofType": null - } - }, - "description": null - }, - { - "name": "consensus_address", - "defaultValue": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "description": null - } - ], - "isDeprecated": false, - "deprecationReason": null, - "name": "validator_votes_by_pk", - "type": { - "kind": "OBJECT", - "name": "validator_votes", - "ofType": null - }, - "description": "fetch data from the table: \"validator_votes\" using primary key columns" + "description": "fetch aggregated fields from the table: \"validator_last_1000_votes\"" }, { "args": [ @@ -27831,7 +28103,396 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "validators_select_column", + "name": "validator_last_250_votes_select_column", + "ofType": null + } + } + }, + "description": "distinct select on columns" + }, + { + "name": "limit", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "description": "limit the number of rows returned" + }, + { + "name": "offset", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "description": "skip the first n rows. Use only with order_by" + }, + { + "name": "order_by", + "defaultValue": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "validator_last_250_votes_order_by", + "ofType": null + } + } + }, + "description": "sort the rows by one or more columns" + }, + { + "name": "where", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "validator_last_250_votes_bool_exp", + "ofType": null + }, + "description": "filter the rows returned" + } + ], + "isDeprecated": false, + "deprecationReason": null, + "name": "validator_last_250_votes", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "validator_last_250_votes", + "ofType": null + } + } + } + }, + "description": "fetch data from the table: \"validator_last_250_votes\"" + }, + { + "args": [ + { + "name": "distinct_on", + "defaultValue": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "validator_last_250_votes_select_column", + "ofType": null + } + } + }, + "description": "distinct select on columns" + }, + { + "name": "limit", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "description": "limit the number of rows returned" + }, + { + "name": "offset", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "description": "skip the first n rows. Use only with order_by" + }, + { + "name": "order_by", + "defaultValue": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "validator_last_250_votes_order_by", + "ofType": null + } + } + }, + "description": "sort the rows by one or more columns" + }, + { + "name": "where", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "validator_last_250_votes_bool_exp", + "ofType": null + }, + "description": "filter the rows returned" + } + ], + "isDeprecated": false, + "deprecationReason": null, + "name": "validator_last_250_votes_aggregate", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "validator_last_250_votes_aggregate", + "ofType": null + } + }, + "description": "fetch aggregated fields from the table: \"validator_last_250_votes\"" + }, + { + "args": [ + { + "name": "distinct_on", + "defaultValue": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "validator_votes_select_column", + "ofType": null + } + } + }, + "description": "distinct select on columns" + }, + { + "name": "limit", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "description": "limit the number of rows returned" + }, + { + "name": "offset", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "description": "skip the first n rows. Use only with order_by" + }, + { + "name": "order_by", + "defaultValue": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "validator_votes_order_by", + "ofType": null + } + } + }, + "description": "sort the rows by one or more columns" + }, + { + "name": "where", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "validator_votes_bool_exp", + "ofType": null + }, + "description": "filter the rows returned" + } + ], + "isDeprecated": false, + "deprecationReason": null, + "name": "validator_votes", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "validator_votes", + "ofType": null + } + } + } + }, + "description": "fetch data from the table: \"validator_votes\"" + }, + { + "args": [ + { + "name": "distinct_on", + "defaultValue": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "validator_votes_select_column", + "ofType": null + } + } + }, + "description": "distinct select on columns" + }, + { + "name": "limit", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "description": "limit the number of rows returned" + }, + { + "name": "offset", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "description": "skip the first n rows. Use only with order_by" + }, + { + "name": "order_by", + "defaultValue": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "validator_votes_order_by", + "ofType": null + } + } + }, + "description": "sort the rows by one or more columns" + }, + { + "name": "where", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "validator_votes_bool_exp", + "ofType": null + }, + "description": "filter the rows returned" + } + ], + "isDeprecated": false, + "deprecationReason": null, + "name": "validator_votes_aggregate", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "validator_votes_aggregate", + "ofType": null + } + }, + "description": "fetch aggregated fields from the table: \"validator_votes\"" + }, + { + "args": [ + { + "name": "block_height", + "defaultValue": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + } + }, + "description": null + }, + { + "name": "consensus_address", + "defaultValue": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "description": null + } + ], + "isDeprecated": false, + "deprecationReason": null, + "name": "validator_votes_by_pk", + "type": { + "kind": "OBJECT", + "name": "validator_votes", + "ofType": null + }, + "description": "fetch data from the table: \"validator_votes\" using primary key columns" + }, + { + "args": [ + { + "name": "distinct_on", + "defaultValue": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "validators_select_column", "ofType": null } } @@ -44545,7 +45206,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "validator_last_1000_votes_select_column", + "name": "unbonding_delegations_select_column", "ofType": null } } @@ -44583,7 +45244,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "validator_last_1000_votes_order_by", + "name": "unbonding_delegations_order_by", "ofType": null } } @@ -44595,7 +45256,7 @@ "defaultValue": null, "type": { "kind": "INPUT_OBJECT", - "name": "validator_last_1000_votes_bool_exp", + "name": "unbonding_delegations_bool_exp", "ofType": null }, "description": "filter the rows returned" @@ -44603,7 +45264,7 @@ ], "isDeprecated": false, "deprecationReason": null, - "name": "validator_last_1000_votes", + "name": "unbonding_delegations", "type": { "kind": "NON_NULL", "name": null, @@ -44615,13 +45276,13 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "validator_last_1000_votes", + "name": "unbonding_delegations", "ofType": null } } } }, - "description": "fetch data from the table: \"validator_last_1000_votes\"" + "description": "fetch data from the table: \"unbonding_delegations\"" }, { "args": [ @@ -44636,7 +45297,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "validator_last_1000_votes_select_column", + "name": "unbonding_delegations_select_column", "ofType": null } } @@ -44674,7 +45335,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "validator_last_1000_votes_order_by", + "name": "unbonding_delegations_order_by", "ofType": null } } @@ -44686,7 +45347,7 @@ "defaultValue": null, "type": { "kind": "INPUT_OBJECT", - "name": "validator_last_1000_votes_bool_exp", + "name": "unbonding_delegations_bool_exp", "ofType": null }, "description": "filter the rows returned" @@ -44694,17 +45355,17 @@ ], "isDeprecated": false, "deprecationReason": null, - "name": "validator_last_1000_votes_aggregate", + "name": "unbonding_delegations_aggregate", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "validator_last_1000_votes_aggregate", + "name": "unbonding_delegations_aggregate", "ofType": null } }, - "description": "fetch aggregated fields from the table: \"validator_last_1000_votes\"" + "description": "fetch aggregated fields from the table: \"unbonding_delegations\"" }, { "args": [ @@ -44719,7 +45380,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "validator_last_250_votes_select_column", + "name": "validator_last_10000_votes_select_column", "ofType": null } } @@ -44757,7 +45418,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "validator_last_250_votes_order_by", + "name": "validator_last_10000_votes_order_by", "ofType": null } } @@ -44769,7 +45430,7 @@ "defaultValue": null, "type": { "kind": "INPUT_OBJECT", - "name": "validator_last_250_votes_bool_exp", + "name": "validator_last_10000_votes_bool_exp", "ofType": null }, "description": "filter the rows returned" @@ -44777,7 +45438,7 @@ ], "isDeprecated": false, "deprecationReason": null, - "name": "validator_last_250_votes", + "name": "validator_last_10000_votes", "type": { "kind": "NON_NULL", "name": null, @@ -44789,13 +45450,13 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "validator_last_250_votes", + "name": "validator_last_10000_votes", "ofType": null } } } }, - "description": "fetch data from the table: \"validator_last_250_votes\"" + "description": "fetch data from the table: \"validator_last_10000_votes\"" }, { "args": [ @@ -44810,7 +45471,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "validator_last_250_votes_select_column", + "name": "validator_last_10000_votes_select_column", "ofType": null } } @@ -44848,7 +45509,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "validator_last_250_votes_order_by", + "name": "validator_last_10000_votes_order_by", "ofType": null } } @@ -44860,7 +45521,7 @@ "defaultValue": null, "type": { "kind": "INPUT_OBJECT", - "name": "validator_last_250_votes_bool_exp", + "name": "validator_last_10000_votes_bool_exp", "ofType": null }, "description": "filter the rows returned" @@ -44868,17 +45529,17 @@ ], "isDeprecated": false, "deprecationReason": null, - "name": "validator_last_250_votes_aggregate", + "name": "validator_last_10000_votes_aggregate", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "validator_last_250_votes_aggregate", + "name": "validator_last_10000_votes_aggregate", "ofType": null } }, - "description": "fetch aggregated fields from the table: \"validator_last_250_votes\"" + "description": "fetch aggregated fields from the table: \"validator_last_10000_votes\"" }, { "args": [ @@ -44893,7 +45554,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "validator_votes_select_column", + "name": "validator_last_1000_votes_select_column", "ofType": null } } @@ -44931,7 +45592,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "validator_votes_order_by", + "name": "validator_last_1000_votes_order_by", "ofType": null } } @@ -44943,7 +45604,7 @@ "defaultValue": null, "type": { "kind": "INPUT_OBJECT", - "name": "validator_votes_bool_exp", + "name": "validator_last_1000_votes_bool_exp", "ofType": null }, "description": "filter the rows returned" @@ -44951,7 +45612,7 @@ ], "isDeprecated": false, "deprecationReason": null, - "name": "validator_votes", + "name": "validator_last_1000_votes", "type": { "kind": "NON_NULL", "name": null, @@ -44963,13 +45624,13 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "validator_votes", + "name": "validator_last_1000_votes", "ofType": null } } } }, - "description": "fetch data from the table: \"validator_votes\"" + "description": "fetch data from the table: \"validator_last_1000_votes\"" }, { "args": [ @@ -44984,7 +45645,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "validator_votes_select_column", + "name": "validator_last_1000_votes_select_column", "ofType": null } } @@ -45022,7 +45683,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "validator_votes_order_by", + "name": "validator_last_1000_votes_order_by", "ofType": null } } @@ -45034,7 +45695,7 @@ "defaultValue": null, "type": { "kind": "INPUT_OBJECT", - "name": "validator_votes_bool_exp", + "name": "validator_last_1000_votes_bool_exp", "ofType": null }, "description": "filter the rows returned" @@ -45042,58 +45703,17 @@ ], "isDeprecated": false, "deprecationReason": null, - "name": "validator_votes_aggregate", + "name": "validator_last_1000_votes_aggregate", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "validator_votes_aggregate", + "name": "validator_last_1000_votes_aggregate", "ofType": null } }, - "description": "fetch aggregated fields from the table: \"validator_votes\"" - }, - { - "args": [ - { - "name": "block_height", - "defaultValue": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "bigint", - "ofType": null - } - }, - "description": null - }, - { - "name": "consensus_address", - "defaultValue": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "description": null - } - ], - "isDeprecated": false, - "deprecationReason": null, - "name": "validator_votes_by_pk", - "type": { - "kind": "OBJECT", - "name": "validator_votes", - "ofType": null - }, - "description": "fetch data from the table: \"validator_votes\" using primary key columns" + "description": "fetch aggregated fields from the table: \"validator_last_1000_votes\"" }, { "args": [ @@ -45108,7 +45728,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "validators_select_column", + "name": "validator_last_250_votes_select_column", "ofType": null } } @@ -45146,7 +45766,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "validators_order_by", + "name": "validator_last_250_votes_order_by", "ofType": null } } @@ -45158,7 +45778,7 @@ "defaultValue": null, "type": { "kind": "INPUT_OBJECT", - "name": "validators_bool_exp", + "name": "validator_last_250_votes_bool_exp", "ofType": null }, "description": "filter the rows returned" @@ -45166,7 +45786,7 @@ ], "isDeprecated": false, "deprecationReason": null, - "name": "validators", + "name": "validator_last_250_votes", "type": { "kind": "NON_NULL", "name": null, @@ -45178,13 +45798,13 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "validators", + "name": "validator_last_250_votes", "ofType": null } } } }, - "description": "fetch data from the table: \"validators\"" + "description": "fetch data from the table: \"validator_last_250_votes\"" }, { "args": [ @@ -45199,7 +45819,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "validators_select_column", + "name": "validator_last_250_votes_select_column", "ofType": null } } @@ -45237,7 +45857,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "validators_order_by", + "name": "validator_last_250_votes_order_by", "ofType": null } } @@ -45249,7 +45869,7 @@ "defaultValue": null, "type": { "kind": "INPUT_OBJECT", - "name": "validators_bool_exp", + "name": "validator_last_250_votes_bool_exp", "ofType": null }, "description": "filter the rows returned" @@ -45257,103 +45877,108 @@ ], "isDeprecated": false, "deprecationReason": null, - "name": "validators_aggregate", + "name": "validator_last_250_votes_aggregate", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "validators_aggregate", + "name": "validator_last_250_votes_aggregate", "ofType": null } }, - "description": "fetch aggregated fields from the table: \"validators\"" + "description": "fetch aggregated fields from the table: \"validator_last_250_votes\"" }, { "args": [ { - "name": "operator_address", + "name": "distinct_on", "defaultValue": null, "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "validator_votes_select_column", + "ofType": null + } } }, - "description": null + "description": "distinct select on columns" + }, + { + "name": "limit", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "description": "limit the number of rows returned" + }, + { + "name": "offset", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "description": "skip the first n rows. Use only with order_by" + }, + { + "name": "order_by", + "defaultValue": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "validator_votes_order_by", + "ofType": null + } + } + }, + "description": "sort the rows by one or more columns" + }, + { + "name": "where", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "validator_votes_bool_exp", + "ofType": null + }, + "description": "filter the rows returned" } ], "isDeprecated": false, "deprecationReason": null, - "name": "validators_by_pk", - "type": { - "kind": "OBJECT", - "name": "validators", - "ofType": null - }, - "description": "fetch data from the table: \"validators\" using primary key columns" - } - ] - }, - { - "inputFields": null, - "kind": "OBJECT", - "possibleTypes": null, - "interfaces": [], - "name": "transactions", - "enumValues": null, - "description": "columns and relationships of \"transactions\"", - "fields": [ - { - "args": [], - "isDeprecated": false, - "deprecationReason": null, - "name": "account", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "accounts", - "ofType": null - } - }, - "description": "An object relationship" - }, - { - "args": [], - "isDeprecated": false, - "deprecationReason": null, - "name": "block", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "blocks", - "ofType": null - } - }, - "description": "An object relationship" - }, - { - "args": [], - "isDeprecated": false, - "deprecationReason": null, - "name": "block_height", + "name": "validator_votes", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "bigint", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "validator_votes", + "ofType": null + } + } } }, - "description": null + "description": "fetch data from the table: \"validator_votes\"" }, { "args": [ @@ -45368,7 +45993,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "data_source_revisions_select_column", + "name": "validator_votes_select_column", "ofType": null } } @@ -45406,7 +46031,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "data_source_revisions_order_by", + "name": "validator_votes_order_by", "ofType": null } } @@ -45418,7 +46043,7 @@ "defaultValue": null, "type": { "kind": "INPUT_OBJECT", - "name": "data_source_revisions_bool_exp", + "name": "validator_votes_bool_exp", "ofType": null }, "description": "filter the rows returned" @@ -45426,25 +46051,58 @@ ], "isDeprecated": false, "deprecationReason": null, - "name": "data_source_revisions", + "name": "validator_votes_aggregate", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "LIST", - "name": null, - "ofType": { + "kind": "OBJECT", + "name": "validator_votes_aggregate", + "ofType": null + } + }, + "description": "fetch aggregated fields from the table: \"validator_votes\"" + }, + { + "args": [ + { + "name": "block_height", + "defaultValue": null, + "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "data_source_revisions", + "kind": "SCALAR", + "name": "bigint", "ofType": null } - } + }, + "description": null + }, + { + "name": "consensus_address", + "defaultValue": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "description": null } + ], + "isDeprecated": false, + "deprecationReason": null, + "name": "validator_votes_by_pk", + "type": { + "kind": "OBJECT", + "name": "validator_votes", + "ofType": null }, - "description": "An array relationship" + "description": "fetch data from the table: \"validator_votes\" using primary key columns" }, { "args": [ @@ -45459,7 +46117,358 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "data_source_revisions_select_column", + "name": "validators_select_column", + "ofType": null + } + } + }, + "description": "distinct select on columns" + }, + { + "name": "limit", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "description": "limit the number of rows returned" + }, + { + "name": "offset", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "description": "skip the first n rows. Use only with order_by" + }, + { + "name": "order_by", + "defaultValue": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "validators_order_by", + "ofType": null + } + } + }, + "description": "sort the rows by one or more columns" + }, + { + "name": "where", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "validators_bool_exp", + "ofType": null + }, + "description": "filter the rows returned" + } + ], + "isDeprecated": false, + "deprecationReason": null, + "name": "validators", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "validators", + "ofType": null + } + } + } + }, + "description": "fetch data from the table: \"validators\"" + }, + { + "args": [ + { + "name": "distinct_on", + "defaultValue": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "validators_select_column", + "ofType": null + } + } + }, + "description": "distinct select on columns" + }, + { + "name": "limit", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "description": "limit the number of rows returned" + }, + { + "name": "offset", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "description": "skip the first n rows. Use only with order_by" + }, + { + "name": "order_by", + "defaultValue": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "validators_order_by", + "ofType": null + } + } + }, + "description": "sort the rows by one or more columns" + }, + { + "name": "where", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "validators_bool_exp", + "ofType": null + }, + "description": "filter the rows returned" + } + ], + "isDeprecated": false, + "deprecationReason": null, + "name": "validators_aggregate", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "validators_aggregate", + "ofType": null + } + }, + "description": "fetch aggregated fields from the table: \"validators\"" + }, + { + "args": [ + { + "name": "operator_address", + "defaultValue": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "description": null + } + ], + "isDeprecated": false, + "deprecationReason": null, + "name": "validators_by_pk", + "type": { + "kind": "OBJECT", + "name": "validators", + "ofType": null + }, + "description": "fetch data from the table: \"validators\" using primary key columns" + } + ] + }, + { + "inputFields": null, + "kind": "OBJECT", + "possibleTypes": null, + "interfaces": [], + "name": "transactions", + "enumValues": null, + "description": "columns and relationships of \"transactions\"", + "fields": [ + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "account", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "accounts", + "ofType": null + } + }, + "description": "An object relationship" + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "block", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "blocks", + "ofType": null + } + }, + "description": "An object relationship" + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "block_height", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + } + }, + "description": null + }, + { + "args": [ + { + "name": "distinct_on", + "defaultValue": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "data_source_revisions_select_column", + "ofType": null + } + } + }, + "description": "distinct select on columns" + }, + { + "name": "limit", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "description": "limit the number of rows returned" + }, + { + "name": "offset", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "description": "skip the first n rows. Use only with order_by" + }, + { + "name": "order_by", + "defaultValue": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "data_source_revisions_order_by", + "ofType": null + } + } + }, + "description": "sort the rows by one or more columns" + }, + { + "name": "where", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "data_source_revisions_bool_exp", + "ofType": null + }, + "description": "filter the rows returned" + } + ], + "isDeprecated": false, + "deprecationReason": null, + "name": "data_source_revisions", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "data_source_revisions", + "ofType": null + } + } + } + }, + "description": "An array relationship" + }, + { + "args": [ + { + "name": "distinct_on", + "defaultValue": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "data_source_revisions_select_column", "ofType": null } } @@ -49245,6 +50254,3282 @@ "description": "order by variance() on columns of table \"transactions\"", "fields": null }, + { + "inputFields": null, + "kind": "OBJECT", + "possibleTypes": null, + "interfaces": [], + "name": "unbonding_delegations", + "enumValues": null, + "description": "columns and relationships of \"unbonding_delegations\"", + "fields": [ + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "account", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "accounts", + "ofType": null + } + }, + "description": "An object relationship" + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "balance", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + } + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "completion_time", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + } + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "creation_height", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + } + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "delegator_address", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "initial_balance", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + } + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "validator", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "validators", + "ofType": null + } + }, + "description": "An object relationship" + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "validator_address", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "description": null + } + ] + }, + { + "inputFields": null, + "kind": "OBJECT", + "possibleTypes": null, + "interfaces": [], + "name": "unbonding_delegations_aggregate", + "enumValues": null, + "description": "aggregated selection of \"unbonding_delegations\"", + "fields": [ + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "aggregate", + "type": { + "kind": "OBJECT", + "name": "unbonding_delegations_aggregate_fields", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "nodes", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "unbonding_delegations", + "ofType": null + } + } + } + }, + "description": null + } + ] + }, + { + "inputFields": null, + "kind": "OBJECT", + "possibleTypes": null, + "interfaces": [], + "name": "unbonding_delegations_aggregate_fields", + "enumValues": null, + "description": "aggregate fields of \"unbonding_delegations\"", + "fields": [ + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "avg", + "type": { + "kind": "OBJECT", + "name": "unbonding_delegations_avg_fields", + "ofType": null + }, + "description": null + }, + { + "args": [ + { + "name": "columns", + "defaultValue": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "unbonding_delegations_select_column", + "ofType": null + } + } + }, + "description": null + }, + { + "name": "distinct", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "description": null + } + ], + "isDeprecated": false, + "deprecationReason": null, + "name": "count", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "max", + "type": { + "kind": "OBJECT", + "name": "unbonding_delegations_max_fields", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "min", + "type": { + "kind": "OBJECT", + "name": "unbonding_delegations_min_fields", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "stddev", + "type": { + "kind": "OBJECT", + "name": "unbonding_delegations_stddev_fields", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "stddev_pop", + "type": { + "kind": "OBJECT", + "name": "unbonding_delegations_stddev_pop_fields", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "stddev_samp", + "type": { + "kind": "OBJECT", + "name": "unbonding_delegations_stddev_samp_fields", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "sum", + "type": { + "kind": "OBJECT", + "name": "unbonding_delegations_sum_fields", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "var_pop", + "type": { + "kind": "OBJECT", + "name": "unbonding_delegations_var_pop_fields", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "var_samp", + "type": { + "kind": "OBJECT", + "name": "unbonding_delegations_var_samp_fields", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "variance", + "type": { + "kind": "OBJECT", + "name": "unbonding_delegations_variance_fields", + "ofType": null + }, + "description": null + } + ] + }, + { + "inputFields": [ + { + "name": "avg", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "unbonding_delegations_avg_order_by", + "ofType": null + }, + "description": null + }, + { + "name": "count", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "max", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "unbonding_delegations_max_order_by", + "ofType": null + }, + "description": null + }, + { + "name": "min", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "unbonding_delegations_min_order_by", + "ofType": null + }, + "description": null + }, + { + "name": "stddev", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "unbonding_delegations_stddev_order_by", + "ofType": null + }, + "description": null + }, + { + "name": "stddev_pop", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "unbonding_delegations_stddev_pop_order_by", + "ofType": null + }, + "description": null + }, + { + "name": "stddev_samp", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "unbonding_delegations_stddev_samp_order_by", + "ofType": null + }, + "description": null + }, + { + "name": "sum", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "unbonding_delegations_sum_order_by", + "ofType": null + }, + "description": null + }, + { + "name": "var_pop", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "unbonding_delegations_var_pop_order_by", + "ofType": null + }, + "description": null + }, + { + "name": "var_samp", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "unbonding_delegations_var_samp_order_by", + "ofType": null + }, + "description": null + }, + { + "name": "variance", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "unbonding_delegations_variance_order_by", + "ofType": null + }, + "description": null + } + ], + "kind": "INPUT_OBJECT", + "possibleTypes": null, + "interfaces": null, + "name": "unbonding_delegations_aggregate_order_by", + "enumValues": null, + "description": "order by aggregate values of table \"unbonding_delegations\"", + "fields": null + }, + { + "inputFields": [ + { + "name": "data", + "defaultValue": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "unbonding_delegations_insert_input", + "ofType": null + } + } + } + }, + "description": null + } + ], + "kind": "INPUT_OBJECT", + "possibleTypes": null, + "interfaces": null, + "name": "unbonding_delegations_arr_rel_insert_input", + "enumValues": null, + "description": "input type for inserting array relation for remote table \"unbonding_delegations\"", + "fields": null + }, + { + "inputFields": null, + "kind": "OBJECT", + "possibleTypes": null, + "interfaces": [], + "name": "unbonding_delegations_avg_fields", + "enumValues": null, + "description": "aggregate avg on columns", + "fields": [ + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "balance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "completion_time", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "creation_height", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "initial_balance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "description": null + } + ] + }, + { + "inputFields": [ + { + "name": "balance", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "completion_time", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "creation_height", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "initial_balance", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + } + ], + "kind": "INPUT_OBJECT", + "possibleTypes": null, + "interfaces": null, + "name": "unbonding_delegations_avg_order_by", + "enumValues": null, + "description": "order by avg() on columns of table \"unbonding_delegations\"", + "fields": null + }, + { + "inputFields": [ + { + "name": "_and", + "defaultValue": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "unbonding_delegations_bool_exp", + "ofType": null + } + }, + "description": null + }, + { + "name": "_not", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "unbonding_delegations_bool_exp", + "ofType": null + }, + "description": null + }, + { + "name": "_or", + "defaultValue": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "unbonding_delegations_bool_exp", + "ofType": null + } + }, + "description": null + }, + { + "name": "account", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "accounts_bool_exp", + "ofType": null + }, + "description": null + }, + { + "name": "balance", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "bigint_comparison_exp", + "ofType": null + }, + "description": null + }, + { + "name": "completion_time", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "bigint_comparison_exp", + "ofType": null + }, + "description": null + }, + { + "name": "creation_height", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "bigint_comparison_exp", + "ofType": null + }, + "description": null + }, + { + "name": "delegator_address", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "description": null + }, + { + "name": "initial_balance", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "bigint_comparison_exp", + "ofType": null + }, + "description": null + }, + { + "name": "validator", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "validators_bool_exp", + "ofType": null + }, + "description": null + }, + { + "name": "validator_address", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "description": null + } + ], + "kind": "INPUT_OBJECT", + "possibleTypes": null, + "interfaces": null, + "name": "unbonding_delegations_bool_exp", + "enumValues": null, + "description": "Boolean expression to filter rows from the table \"unbonding_delegations\". All fields are combined with a logical 'AND'.", + "fields": null + }, + { + "inputFields": [ + { + "name": "balance", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "description": null + }, + { + "name": "completion_time", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "description": null + }, + { + "name": "creation_height", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "description": null + }, + { + "name": "initial_balance", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "description": null + } + ], + "kind": "INPUT_OBJECT", + "possibleTypes": null, + "interfaces": null, + "name": "unbonding_delegations_inc_input", + "enumValues": null, + "description": "input type for incrementing integer columne in table \"unbonding_delegations\"", + "fields": null + }, + { + "inputFields": [ + { + "name": "account", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "accounts_obj_rel_insert_input", + "ofType": null + }, + "description": null + }, + { + "name": "balance", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "description": null + }, + { + "name": "completion_time", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "description": null + }, + { + "name": "creation_height", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "description": null + }, + { + "name": "delegator_address", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "description": null + }, + { + "name": "initial_balance", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "description": null + }, + { + "name": "validator", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "validators_obj_rel_insert_input", + "ofType": null + }, + "description": null + }, + { + "name": "validator_address", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "description": null + } + ], + "kind": "INPUT_OBJECT", + "possibleTypes": null, + "interfaces": null, + "name": "unbonding_delegations_insert_input", + "enumValues": null, + "description": "input type for inserting data into table \"unbonding_delegations\"", + "fields": null + }, + { + "inputFields": null, + "kind": "OBJECT", + "possibleTypes": null, + "interfaces": [], + "name": "unbonding_delegations_max_fields", + "enumValues": null, + "description": "aggregate max on columns", + "fields": [ + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "balance", + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "completion_time", + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "creation_height", + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "delegator_address", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "initial_balance", + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "validator_address", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "description": null + } + ] + }, + { + "inputFields": [ + { + "name": "balance", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "completion_time", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "creation_height", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "delegator_address", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "initial_balance", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "validator_address", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + } + ], + "kind": "INPUT_OBJECT", + "possibleTypes": null, + "interfaces": null, + "name": "unbonding_delegations_max_order_by", + "enumValues": null, + "description": "order by max() on columns of table \"unbonding_delegations\"", + "fields": null + }, + { + "inputFields": null, + "kind": "OBJECT", + "possibleTypes": null, + "interfaces": [], + "name": "unbonding_delegations_min_fields", + "enumValues": null, + "description": "aggregate min on columns", + "fields": [ + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "balance", + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "completion_time", + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "creation_height", + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "delegator_address", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "initial_balance", + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "validator_address", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "description": null + } + ] + }, + { + "inputFields": [ + { + "name": "balance", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "completion_time", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "creation_height", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "delegator_address", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "initial_balance", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "validator_address", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + } + ], + "kind": "INPUT_OBJECT", + "possibleTypes": null, + "interfaces": null, + "name": "unbonding_delegations_min_order_by", + "enumValues": null, + "description": "order by min() on columns of table \"unbonding_delegations\"", + "fields": null + }, + { + "inputFields": null, + "kind": "OBJECT", + "possibleTypes": null, + "interfaces": [], + "name": "unbonding_delegations_mutation_response", + "enumValues": null, + "description": "response of any mutation on the table \"unbonding_delegations\"", + "fields": [ + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "affected_rows", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "description": "number of affected rows by the mutation" + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "returning", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "unbonding_delegations", + "ofType": null + } + } + } + }, + "description": "data of the affected rows by the mutation" + } + ] + }, + { + "inputFields": [ + { + "name": "data", + "defaultValue": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "unbonding_delegations_insert_input", + "ofType": null + } + }, + "description": null + } + ], + "kind": "INPUT_OBJECT", + "possibleTypes": null, + "interfaces": null, + "name": "unbonding_delegations_obj_rel_insert_input", + "enumValues": null, + "description": "input type for inserting object relation for remote table \"unbonding_delegations\"", + "fields": null + }, + { + "inputFields": [ + { + "name": "account", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "accounts_order_by", + "ofType": null + }, + "description": null + }, + { + "name": "balance", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "completion_time", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "creation_height", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "delegator_address", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "initial_balance", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "validator", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "validators_order_by", + "ofType": null + }, + "description": null + }, + { + "name": "validator_address", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + } + ], + "kind": "INPUT_OBJECT", + "possibleTypes": null, + "interfaces": null, + "name": "unbonding_delegations_order_by", + "enumValues": null, + "description": "ordering options when selecting data from \"unbonding_delegations\"", + "fields": null + }, + { + "inputFields": null, + "kind": "ENUM", + "possibleTypes": null, + "interfaces": null, + "name": "unbonding_delegations_select_column", + "enumValues": [ + { + "isDeprecated": false, + "deprecationReason": null, + "name": "balance", + "description": "column name" + }, + { + "isDeprecated": false, + "deprecationReason": null, + "name": "completion_time", + "description": "column name" + }, + { + "isDeprecated": false, + "deprecationReason": null, + "name": "creation_height", + "description": "column name" + }, + { + "isDeprecated": false, + "deprecationReason": null, + "name": "delegator_address", + "description": "column name" + }, + { + "isDeprecated": false, + "deprecationReason": null, + "name": "initial_balance", + "description": "column name" + }, + { + "isDeprecated": false, + "deprecationReason": null, + "name": "validator_address", + "description": "column name" + } + ], + "description": "select columns of table \"unbonding_delegations\"", + "fields": null + }, + { + "inputFields": [ + { + "name": "balance", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "description": null + }, + { + "name": "completion_time", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "description": null + }, + { + "name": "creation_height", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "description": null + }, + { + "name": "delegator_address", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "description": null + }, + { + "name": "initial_balance", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "description": null + }, + { + "name": "validator_address", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "description": null + } + ], + "kind": "INPUT_OBJECT", + "possibleTypes": null, + "interfaces": null, + "name": "unbonding_delegations_set_input", + "enumValues": null, + "description": "input type for updating data in table \"unbonding_delegations\"", + "fields": null + }, + { + "inputFields": null, + "kind": "OBJECT", + "possibleTypes": null, + "interfaces": [], + "name": "unbonding_delegations_stddev_fields", + "enumValues": null, + "description": "aggregate stddev on columns", + "fields": [ + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "balance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "completion_time", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "creation_height", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "initial_balance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "description": null + } + ] + }, + { + "inputFields": [ + { + "name": "balance", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "completion_time", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "creation_height", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "initial_balance", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + } + ], + "kind": "INPUT_OBJECT", + "possibleTypes": null, + "interfaces": null, + "name": "unbonding_delegations_stddev_order_by", + "enumValues": null, + "description": "order by stddev() on columns of table \"unbonding_delegations\"", + "fields": null + }, + { + "inputFields": null, + "kind": "OBJECT", + "possibleTypes": null, + "interfaces": [], + "name": "unbonding_delegations_stddev_pop_fields", + "enumValues": null, + "description": "aggregate stddev_pop on columns", + "fields": [ + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "balance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "completion_time", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "creation_height", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "initial_balance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "description": null + } + ] + }, + { + "inputFields": [ + { + "name": "balance", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "completion_time", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "creation_height", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "initial_balance", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + } + ], + "kind": "INPUT_OBJECT", + "possibleTypes": null, + "interfaces": null, + "name": "unbonding_delegations_stddev_pop_order_by", + "enumValues": null, + "description": "order by stddev_pop() on columns of table \"unbonding_delegations\"", + "fields": null + }, + { + "inputFields": null, + "kind": "OBJECT", + "possibleTypes": null, + "interfaces": [], + "name": "unbonding_delegations_stddev_samp_fields", + "enumValues": null, + "description": "aggregate stddev_samp on columns", + "fields": [ + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "balance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "completion_time", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "creation_height", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "initial_balance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "description": null + } + ] + }, + { + "inputFields": [ + { + "name": "balance", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "completion_time", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "creation_height", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "initial_balance", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + } + ], + "kind": "INPUT_OBJECT", + "possibleTypes": null, + "interfaces": null, + "name": "unbonding_delegations_stddev_samp_order_by", + "enumValues": null, + "description": "order by stddev_samp() on columns of table \"unbonding_delegations\"", + "fields": null + }, + { + "inputFields": null, + "kind": "OBJECT", + "possibleTypes": null, + "interfaces": [], + "name": "unbonding_delegations_sum_fields", + "enumValues": null, + "description": "aggregate sum on columns", + "fields": [ + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "balance", + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "completion_time", + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "creation_height", + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "initial_balance", + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "description": null + } + ] + }, + { + "inputFields": [ + { + "name": "balance", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "completion_time", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "creation_height", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "initial_balance", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + } + ], + "kind": "INPUT_OBJECT", + "possibleTypes": null, + "interfaces": null, + "name": "unbonding_delegations_sum_order_by", + "enumValues": null, + "description": "order by sum() on columns of table \"unbonding_delegations\"", + "fields": null + }, + { + "inputFields": null, + "kind": "OBJECT", + "possibleTypes": null, + "interfaces": [], + "name": "unbonding_delegations_var_pop_fields", + "enumValues": null, + "description": "aggregate var_pop on columns", + "fields": [ + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "balance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "completion_time", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "creation_height", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "initial_balance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "description": null + } + ] + }, + { + "inputFields": [ + { + "name": "balance", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "completion_time", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "creation_height", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "initial_balance", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + } + ], + "kind": "INPUT_OBJECT", + "possibleTypes": null, + "interfaces": null, + "name": "unbonding_delegations_var_pop_order_by", + "enumValues": null, + "description": "order by var_pop() on columns of table \"unbonding_delegations\"", + "fields": null + }, + { + "inputFields": null, + "kind": "OBJECT", + "possibleTypes": null, + "interfaces": [], + "name": "unbonding_delegations_var_samp_fields", + "enumValues": null, + "description": "aggregate var_samp on columns", + "fields": [ + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "balance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "completion_time", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "creation_height", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "initial_balance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "description": null + } + ] + }, + { + "inputFields": [ + { + "name": "balance", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "completion_time", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "creation_height", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "initial_balance", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + } + ], + "kind": "INPUT_OBJECT", + "possibleTypes": null, + "interfaces": null, + "name": "unbonding_delegations_var_samp_order_by", + "enumValues": null, + "description": "order by var_samp() on columns of table \"unbonding_delegations\"", + "fields": null + }, + { + "inputFields": null, + "kind": "OBJECT", + "possibleTypes": null, + "interfaces": [], + "name": "unbonding_delegations_variance_fields", + "enumValues": null, + "description": "aggregate variance on columns", + "fields": [ + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "balance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "completion_time", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "creation_height", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "initial_balance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "description": null + } + ] + }, + { + "inputFields": [ + { + "name": "balance", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "completion_time", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "creation_height", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "initial_balance", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + } + ], + "kind": "INPUT_OBJECT", + "possibleTypes": null, + "interfaces": null, + "name": "unbonding_delegations_variance_order_by", + "enumValues": null, + "description": "order by variance() on columns of table \"unbonding_delegations\"", + "fields": null + }, + { + "inputFields": null, + "kind": "OBJECT", + "possibleTypes": null, + "interfaces": [], + "name": "validator_last_10000_votes", + "enumValues": null, + "description": "columns and relationships of \"validator_last_10000_votes\"", + "fields": [ + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "consensus_address", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "count", + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "voted", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "description": null + } + ] + }, + { + "inputFields": null, + "kind": "OBJECT", + "possibleTypes": null, + "interfaces": [], + "name": "validator_last_10000_votes_aggregate", + "enumValues": null, + "description": "aggregated selection of \"validator_last_10000_votes\"", + "fields": [ + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "aggregate", + "type": { + "kind": "OBJECT", + "name": "validator_last_10000_votes_aggregate_fields", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "nodes", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "validator_last_10000_votes", + "ofType": null + } + } + } + }, + "description": null + } + ] + }, + { + "inputFields": null, + "kind": "OBJECT", + "possibleTypes": null, + "interfaces": [], + "name": "validator_last_10000_votes_aggregate_fields", + "enumValues": null, + "description": "aggregate fields of \"validator_last_10000_votes\"", + "fields": [ + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "avg", + "type": { + "kind": "OBJECT", + "name": "validator_last_10000_votes_avg_fields", + "ofType": null + }, + "description": null + }, + { + "args": [ + { + "name": "columns", + "defaultValue": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "validator_last_10000_votes_select_column", + "ofType": null + } + } + }, + "description": null + }, + { + "name": "distinct", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "description": null + } + ], + "isDeprecated": false, + "deprecationReason": null, + "name": "count", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "max", + "type": { + "kind": "OBJECT", + "name": "validator_last_10000_votes_max_fields", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "min", + "type": { + "kind": "OBJECT", + "name": "validator_last_10000_votes_min_fields", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "stddev", + "type": { + "kind": "OBJECT", + "name": "validator_last_10000_votes_stddev_fields", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "stddev_pop", + "type": { + "kind": "OBJECT", + "name": "validator_last_10000_votes_stddev_pop_fields", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "stddev_samp", + "type": { + "kind": "OBJECT", + "name": "validator_last_10000_votes_stddev_samp_fields", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "sum", + "type": { + "kind": "OBJECT", + "name": "validator_last_10000_votes_sum_fields", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "var_pop", + "type": { + "kind": "OBJECT", + "name": "validator_last_10000_votes_var_pop_fields", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "var_samp", + "type": { + "kind": "OBJECT", + "name": "validator_last_10000_votes_var_samp_fields", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "variance", + "type": { + "kind": "OBJECT", + "name": "validator_last_10000_votes_variance_fields", + "ofType": null + }, + "description": null + } + ] + }, + { + "inputFields": [ + { + "name": "avg", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "validator_last_10000_votes_avg_order_by", + "ofType": null + }, + "description": null + }, + { + "name": "count", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "max", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "validator_last_10000_votes_max_order_by", + "ofType": null + }, + "description": null + }, + { + "name": "min", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "validator_last_10000_votes_min_order_by", + "ofType": null + }, + "description": null + }, + { + "name": "stddev", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "validator_last_10000_votes_stddev_order_by", + "ofType": null + }, + "description": null + }, + { + "name": "stddev_pop", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "validator_last_10000_votes_stddev_pop_order_by", + "ofType": null + }, + "description": null + }, + { + "name": "stddev_samp", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "validator_last_10000_votes_stddev_samp_order_by", + "ofType": null + }, + "description": null + }, + { + "name": "sum", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "validator_last_10000_votes_sum_order_by", + "ofType": null + }, + "description": null + }, + { + "name": "var_pop", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "validator_last_10000_votes_var_pop_order_by", + "ofType": null + }, + "description": null + }, + { + "name": "var_samp", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "validator_last_10000_votes_var_samp_order_by", + "ofType": null + }, + "description": null + }, + { + "name": "variance", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "validator_last_10000_votes_variance_order_by", + "ofType": null + }, + "description": null + } + ], + "kind": "INPUT_OBJECT", + "possibleTypes": null, + "interfaces": null, + "name": "validator_last_10000_votes_aggregate_order_by", + "enumValues": null, + "description": "order by aggregate values of table \"validator_last_10000_votes\"", + "fields": null + }, + { + "inputFields": null, + "kind": "OBJECT", + "possibleTypes": null, + "interfaces": [], + "name": "validator_last_10000_votes_avg_fields", + "enumValues": null, + "description": "aggregate avg on columns", + "fields": [ + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "count", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "description": null + } + ] + }, + { + "inputFields": [ + { + "name": "count", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + } + ], + "kind": "INPUT_OBJECT", + "possibleTypes": null, + "interfaces": null, + "name": "validator_last_10000_votes_avg_order_by", + "enumValues": null, + "description": "order by avg() on columns of table \"validator_last_10000_votes\"", + "fields": null + }, + { + "inputFields": [ + { + "name": "_and", + "defaultValue": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "validator_last_10000_votes_bool_exp", + "ofType": null + } + }, + "description": null + }, + { + "name": "_not", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "validator_last_10000_votes_bool_exp", + "ofType": null + }, + "description": null + }, + { + "name": "_or", + "defaultValue": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "validator_last_10000_votes_bool_exp", + "ofType": null + } + }, + "description": null + }, + { + "name": "consensus_address", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "description": null + }, + { + "name": "count", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "bigint_comparison_exp", + "ofType": null + }, + "description": null + }, + { + "name": "voted", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Boolean_comparison_exp", + "ofType": null + }, + "description": null + } + ], + "kind": "INPUT_OBJECT", + "possibleTypes": null, + "interfaces": null, + "name": "validator_last_10000_votes_bool_exp", + "enumValues": null, + "description": "Boolean expression to filter rows from the table \"validator_last_10000_votes\". All fields are combined with a logical 'AND'.", + "fields": null + }, + { + "inputFields": null, + "kind": "OBJECT", + "possibleTypes": null, + "interfaces": [], + "name": "validator_last_10000_votes_max_fields", + "enumValues": null, + "description": "aggregate max on columns", + "fields": [ + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "consensus_address", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "count", + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "description": null + } + ] + }, + { + "inputFields": [ + { + "name": "consensus_address", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "count", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + } + ], + "kind": "INPUT_OBJECT", + "possibleTypes": null, + "interfaces": null, + "name": "validator_last_10000_votes_max_order_by", + "enumValues": null, + "description": "order by max() on columns of table \"validator_last_10000_votes\"", + "fields": null + }, + { + "inputFields": null, + "kind": "OBJECT", + "possibleTypes": null, + "interfaces": [], + "name": "validator_last_10000_votes_min_fields", + "enumValues": null, + "description": "aggregate min on columns", + "fields": [ + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "consensus_address", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "count", + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "description": null + } + ] + }, + { + "inputFields": [ + { + "name": "consensus_address", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "count", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + } + ], + "kind": "INPUT_OBJECT", + "possibleTypes": null, + "interfaces": null, + "name": "validator_last_10000_votes_min_order_by", + "enumValues": null, + "description": "order by min() on columns of table \"validator_last_10000_votes\"", + "fields": null + }, + { + "inputFields": [ + { + "name": "consensus_address", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "count", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + }, + { + "name": "voted", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + } + ], + "kind": "INPUT_OBJECT", + "possibleTypes": null, + "interfaces": null, + "name": "validator_last_10000_votes_order_by", + "enumValues": null, + "description": "ordering options when selecting data from \"validator_last_10000_votes\"", + "fields": null + }, + { + "inputFields": null, + "kind": "ENUM", + "possibleTypes": null, + "interfaces": null, + "name": "validator_last_10000_votes_select_column", + "enumValues": [ + { + "isDeprecated": false, + "deprecationReason": null, + "name": "consensus_address", + "description": "column name" + }, + { + "isDeprecated": false, + "deprecationReason": null, + "name": "count", + "description": "column name" + }, + { + "isDeprecated": false, + "deprecationReason": null, + "name": "voted", + "description": "column name" + } + ], + "description": "select columns of table \"validator_last_10000_votes\"", + "fields": null + }, + { + "inputFields": null, + "kind": "OBJECT", + "possibleTypes": null, + "interfaces": [], + "name": "validator_last_10000_votes_stddev_fields", + "enumValues": null, + "description": "aggregate stddev on columns", + "fields": [ + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "count", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "description": null + } + ] + }, + { + "inputFields": [ + { + "name": "count", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + } + ], + "kind": "INPUT_OBJECT", + "possibleTypes": null, + "interfaces": null, + "name": "validator_last_10000_votes_stddev_order_by", + "enumValues": null, + "description": "order by stddev() on columns of table \"validator_last_10000_votes\"", + "fields": null + }, + { + "inputFields": null, + "kind": "OBJECT", + "possibleTypes": null, + "interfaces": [], + "name": "validator_last_10000_votes_stddev_pop_fields", + "enumValues": null, + "description": "aggregate stddev_pop on columns", + "fields": [ + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "count", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "description": null + } + ] + }, + { + "inputFields": [ + { + "name": "count", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + } + ], + "kind": "INPUT_OBJECT", + "possibleTypes": null, + "interfaces": null, + "name": "validator_last_10000_votes_stddev_pop_order_by", + "enumValues": null, + "description": "order by stddev_pop() on columns of table \"validator_last_10000_votes\"", + "fields": null + }, + { + "inputFields": null, + "kind": "OBJECT", + "possibleTypes": null, + "interfaces": [], + "name": "validator_last_10000_votes_stddev_samp_fields", + "enumValues": null, + "description": "aggregate stddev_samp on columns", + "fields": [ + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "count", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "description": null + } + ] + }, + { + "inputFields": [ + { + "name": "count", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + } + ], + "kind": "INPUT_OBJECT", + "possibleTypes": null, + "interfaces": null, + "name": "validator_last_10000_votes_stddev_samp_order_by", + "enumValues": null, + "description": "order by stddev_samp() on columns of table \"validator_last_10000_votes\"", + "fields": null + }, + { + "inputFields": null, + "kind": "OBJECT", + "possibleTypes": null, + "interfaces": [], + "name": "validator_last_10000_votes_sum_fields", + "enumValues": null, + "description": "aggregate sum on columns", + "fields": [ + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "count", + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "description": null + } + ] + }, + { + "inputFields": [ + { + "name": "count", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + } + ], + "kind": "INPUT_OBJECT", + "possibleTypes": null, + "interfaces": null, + "name": "validator_last_10000_votes_sum_order_by", + "enumValues": null, + "description": "order by sum() on columns of table \"validator_last_10000_votes\"", + "fields": null + }, + { + "inputFields": null, + "kind": "OBJECT", + "possibleTypes": null, + "interfaces": [], + "name": "validator_last_10000_votes_var_pop_fields", + "enumValues": null, + "description": "aggregate var_pop on columns", + "fields": [ + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "count", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "description": null + } + ] + }, + { + "inputFields": [ + { + "name": "count", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + } + ], + "kind": "INPUT_OBJECT", + "possibleTypes": null, + "interfaces": null, + "name": "validator_last_10000_votes_var_pop_order_by", + "enumValues": null, + "description": "order by var_pop() on columns of table \"validator_last_10000_votes\"", + "fields": null + }, + { + "inputFields": null, + "kind": "OBJECT", + "possibleTypes": null, + "interfaces": [], + "name": "validator_last_10000_votes_var_samp_fields", + "enumValues": null, + "description": "aggregate var_samp on columns", + "fields": [ + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "count", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "description": null + } + ] + }, + { + "inputFields": [ + { + "name": "count", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + } + ], + "kind": "INPUT_OBJECT", + "possibleTypes": null, + "interfaces": null, + "name": "validator_last_10000_votes_var_samp_order_by", + "enumValues": null, + "description": "order by var_samp() on columns of table \"validator_last_10000_votes\"", + "fields": null + }, + { + "inputFields": null, + "kind": "OBJECT", + "possibleTypes": null, + "interfaces": [], + "name": "validator_last_10000_votes_variance_fields", + "enumValues": null, + "description": "aggregate variance on columns", + "fields": [ + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "count", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "description": null + } + ] + }, + { + "inputFields": [ + { + "name": "count", + "defaultValue": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "description": null + } + ], + "kind": "INPUT_OBJECT", + "possibleTypes": null, + "interfaces": null, + "name": "validator_last_10000_votes_variance_order_by", + "enumValues": null, + "description": "order by variance() on columns of table \"validator_last_10000_votes\"", + "fields": null + }, { "inputFields": null, "kind": "OBJECT", @@ -52849,7 +57134,309 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "blocks_order_by", + "name": "blocks_order_by", + "ofType": null + } + } + }, + "description": "sort the rows by one or more columns" + }, + { + "name": "where", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "blocks_bool_exp", + "ofType": null + }, + "description": "filter the rows returned" + } + ], + "isDeprecated": false, + "deprecationReason": null, + "name": "blocks_aggregate", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "blocks_aggregate", + "ofType": null + } + }, + "description": "An aggregated array relationship" + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "bonded_height", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + } + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "commission_max_change", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "commission_max_rate", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "commission_rate", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "consensus_address", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "consensus_pubkey", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "current_ratio", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "description": null + }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "current_reward", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "description": null + }, + { + "args": [ + { + "name": "distinct_on", + "defaultValue": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "delegations_select_column", + "ofType": null + } + } + }, + "description": "distinct select on columns" + }, + { + "name": "limit", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "description": "limit the number of rows returned" + }, + { + "name": "offset", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "description": "skip the first n rows. Use only with order_by" + }, + { + "name": "order_by", + "defaultValue": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "delegations_order_by", + "ofType": null + } + } + }, + "description": "sort the rows by one or more columns" + }, + { + "name": "where", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "delegations_bool_exp", + "ofType": null + }, + "description": "filter the rows returned" + } + ], + "isDeprecated": false, + "deprecationReason": null, + "name": "delegations", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "delegations", + "ofType": null + } + } + } + }, + "description": "An array relationship" + }, + { + "args": [ + { + "name": "distinct_on", + "defaultValue": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "delegations_select_column", + "ofType": null + } + } + }, + "description": "distinct select on columns" + }, + { + "name": "limit", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "description": "limit the number of rows returned" + }, + { + "name": "offset", + "defaultValue": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "description": "skip the first n rows. Use only with order_by" + }, + { + "name": "order_by", + "defaultValue": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "delegations_order_by", "ofType": null } } @@ -52861,7 +57448,7 @@ "defaultValue": null, "type": { "kind": "INPUT_OBJECT", - "name": "blocks_bool_exp", + "name": "delegations_bool_exp", "ofType": null }, "description": "filter the rows returned" @@ -52869,13 +57456,13 @@ ], "isDeprecated": false, "deprecationReason": null, - "name": "blocks_aggregate", + "name": "delegations_aggregate", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "blocks_aggregate", + "name": "delegations_aggregate", "ofType": null } }, @@ -52885,23 +57472,7 @@ "args": [], "isDeprecated": false, "deprecationReason": null, - "name": "bonded_height", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "bigint", - "ofType": null - } - }, - "description": null - }, - { - "args": [], - "isDeprecated": false, - "deprecationReason": null, - "name": "commission_max_change", + "name": "delegator_shares", "type": { "kind": "NON_NULL", "name": null, @@ -52917,7 +57488,7 @@ "args": [], "isDeprecated": false, "deprecationReason": null, - "name": "commission_max_rate", + "name": "details", "type": { "kind": "NON_NULL", "name": null, @@ -52933,7 +57504,7 @@ "args": [], "isDeprecated": false, "deprecationReason": null, - "name": "commission_rate", + "name": "identity", "type": { "kind": "NON_NULL", "name": null, @@ -52949,13 +57520,13 @@ "args": [], "isDeprecated": false, "deprecationReason": null, - "name": "consensus_address", + "name": "jailed", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, @@ -52965,7 +57536,7 @@ "args": [], "isDeprecated": false, "deprecationReason": null, - "name": "consensus_pubkey", + "name": "min_self_delegation", "type": { "kind": "NON_NULL", "name": null, @@ -52981,7 +57552,7 @@ "args": [], "isDeprecated": false, "deprecationReason": null, - "name": "current_ratio", + "name": "moniker", "type": { "kind": "NON_NULL", "name": null, @@ -52997,7 +57568,7 @@ "args": [], "isDeprecated": false, "deprecationReason": null, - "name": "current_reward", + "name": "operator_address", "type": { "kind": "NON_NULL", "name": null, @@ -53022,7 +57593,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "delegations_select_column", + "name": "reports_select_column", "ofType": null } } @@ -53060,7 +57631,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "delegations_order_by", + "name": "reports_order_by", "ofType": null } } @@ -53072,7 +57643,7 @@ "defaultValue": null, "type": { "kind": "INPUT_OBJECT", - "name": "delegations_bool_exp", + "name": "reports_bool_exp", "ofType": null }, "description": "filter the rows returned" @@ -53080,7 +57651,7 @@ ], "isDeprecated": false, "deprecationReason": null, - "name": "delegations", + "name": "reports", "type": { "kind": "NON_NULL", "name": null, @@ -53092,7 +57663,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "delegations", + "name": "reports", "ofType": null } } @@ -53113,7 +57684,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "delegations_select_column", + "name": "reports_select_column", "ofType": null } } @@ -53151,7 +57722,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "delegations_order_by", + "name": "reports_order_by", "ofType": null } } @@ -53163,7 +57734,7 @@ "defaultValue": null, "type": { "kind": "INPUT_OBJECT", - "name": "delegations_bool_exp", + "name": "reports_bool_exp", "ofType": null }, "description": "filter the rows returned" @@ -53171,130 +57742,18 @@ ], "isDeprecated": false, "deprecationReason": null, - "name": "delegations_aggregate", + "name": "reports_aggregate", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "delegations_aggregate", + "name": "reports_aggregate", "ofType": null } }, "description": "An aggregated array relationship" }, - { - "args": [], - "isDeprecated": false, - "deprecationReason": null, - "name": "delegator_shares", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "description": null - }, - { - "args": [], - "isDeprecated": false, - "deprecationReason": null, - "name": "details", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "description": null - }, - { - "args": [], - "isDeprecated": false, - "deprecationReason": null, - "name": "identity", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "description": null - }, - { - "args": [], - "isDeprecated": false, - "deprecationReason": null, - "name": "jailed", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "description": null - }, - { - "args": [], - "isDeprecated": false, - "deprecationReason": null, - "name": "min_self_delegation", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "description": null - }, - { - "args": [], - "isDeprecated": false, - "deprecationReason": null, - "name": "moniker", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "description": null - }, - { - "args": [], - "isDeprecated": false, - "deprecationReason": null, - "name": "operator_address", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "description": null - }, { "args": [ { @@ -53308,7 +57767,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "reports_select_column", + "name": "requested_validators_select_column", "ofType": null } } @@ -53346,7 +57805,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "reports_order_by", + "name": "requested_validators_order_by", "ofType": null } } @@ -53358,7 +57817,7 @@ "defaultValue": null, "type": { "kind": "INPUT_OBJECT", - "name": "reports_bool_exp", + "name": "requested_validators_bool_exp", "ofType": null }, "description": "filter the rows returned" @@ -53366,7 +57825,7 @@ ], "isDeprecated": false, "deprecationReason": null, - "name": "reports", + "name": "requested_validators", "type": { "kind": "NON_NULL", "name": null, @@ -53378,7 +57837,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "reports", + "name": "requested_validators", "ofType": null } } @@ -53399,7 +57858,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "reports_select_column", + "name": "requested_validators_select_column", "ofType": null } } @@ -53437,7 +57896,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "reports_order_by", + "name": "requested_validators_order_by", "ofType": null } } @@ -53449,7 +57908,7 @@ "defaultValue": null, "type": { "kind": "INPUT_OBJECT", - "name": "reports_bool_exp", + "name": "requested_validators_bool_exp", "ofType": null }, "description": "filter the rows returned" @@ -53457,18 +57916,34 @@ ], "isDeprecated": false, "deprecationReason": null, - "name": "reports_aggregate", + "name": "requested_validators_aggregate", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "reports_aggregate", + "name": "requested_validators_aggregate", "ofType": null } }, "description": "An aggregated array relationship" }, + { + "args": [], + "isDeprecated": false, + "deprecationReason": null, + "name": "tokens", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + } + }, + "description": null + }, { "args": [ { @@ -53482,7 +57957,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "requested_validators_select_column", + "name": "unbonding_delegations_select_column", "ofType": null } } @@ -53520,7 +57995,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "requested_validators_order_by", + "name": "unbonding_delegations_order_by", "ofType": null } } @@ -53532,7 +58007,7 @@ "defaultValue": null, "type": { "kind": "INPUT_OBJECT", - "name": "requested_validators_bool_exp", + "name": "unbonding_delegations_bool_exp", "ofType": null }, "description": "filter the rows returned" @@ -53540,7 +58015,7 @@ ], "isDeprecated": false, "deprecationReason": null, - "name": "requested_validators", + "name": "unbonding_delegations", "type": { "kind": "NON_NULL", "name": null, @@ -53552,7 +58027,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "requested_validators", + "name": "unbonding_delegations", "ofType": null } } @@ -53573,7 +58048,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "requested_validators_select_column", + "name": "unbonding_delegations_select_column", "ofType": null } } @@ -53611,7 +58086,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "requested_validators_order_by", + "name": "unbonding_delegations_order_by", "ofType": null } } @@ -53623,7 +58098,7 @@ "defaultValue": null, "type": { "kind": "INPUT_OBJECT", - "name": "requested_validators_bool_exp", + "name": "unbonding_delegations_bool_exp", "ofType": null }, "description": "filter the rows returned" @@ -53631,34 +58106,18 @@ ], "isDeprecated": false, "deprecationReason": null, - "name": "requested_validators_aggregate", + "name": "unbonding_delegations_aggregate", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "requested_validators_aggregate", + "name": "unbonding_delegations_aggregate", "ofType": null } }, "description": "An aggregated array relationship" }, - { - "args": [], - "isDeprecated": false, - "deprecationReason": null, - "name": "tokens", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "bigint", - "ofType": null - } - }, - "description": null - }, { "args": [ { @@ -54540,6 +58999,16 @@ }, "description": null }, + { + "name": "unbonding_delegations", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "unbonding_delegations_bool_exp", + "ofType": null + }, + "description": null + }, { "name": "validator_votes", "defaultValue": null, @@ -54825,6 +59294,16 @@ }, "description": null }, + { + "name": "unbonding_delegations", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "unbonding_delegations_arr_rel_insert_input", + "ofType": null + }, + "description": null + }, { "name": "validator_votes", "defaultValue": null, @@ -55947,6 +60426,16 @@ }, "description": null }, + { + "name": "unbonding_delegations_aggregate", + "defaultValue": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "unbonding_delegations_aggregate_order_by", + "ofType": null + }, + "description": null + }, { "name": "validator_votes_aggregate", "defaultValue": null, diff --git a/scan/src/components/PieChart.re b/scan/src/components/PieChart.re index 72ff455ce3..db1a795fe4 100644 --- a/scan/src/components/PieChart.re +++ b/scan/src/components/PieChart.re @@ -51,13 +51,15 @@ let renderSegment = (offset, angle, color) => ; [@react.component] -let make = (~size, ~availableBalance, ~balanceAtStake, ~reward) => { - let totalBalance = availableBalance +. balanceAtStake; +let make = (~size, ~availableBalance, ~balanceAtStake, ~reward, ~unbonding) => { + let totalBalance = availableBalance +. balanceAtStake +. unbonding +. reward; let balanceAtStakeAngle = totalBalance == 0. ? 0. : 360. *. balanceAtStake /. totalBalance; + let unbondingAngle = totalBalance == 0. ? 0. : 360. *. unbonding /. totalBalance; let rewardAngle = totalBalance == 0. ? 0. : 360. *. reward /. totalBalance;
{renderSegment(0., balanceAtStakeAngle, Colors.chartBalanceAtStake)} {renderSegment(balanceAtStakeAngle, rewardAngle, Colors.chartReward)} + {renderSegment(balanceAtStakeAngle +. rewardAngle, unbondingAngle, Colors.blue4)}
; }; diff --git a/scan/src/components/account/AccountIndexDelegations.re b/scan/src/components/account/AccountIndexDelegations.re index ebcf06b39d..f8e4eaf95a 100644 --- a/scan/src/components/account/AccountIndexDelegations.re +++ b/scan/src/components/account/AccountIndexDelegations.re @@ -83,12 +83,18 @@ let make = (~address) =>
- Format.fPretty} code=true /> + Coin.getBandAmountFromCoin |> Format.fPretty} + code=true + />
- Format.fPretty} code=true /> + Coin.getBandAmountFromCoin |> Format.fPretty} + code=true + />
diff --git a/scan/src/components/validator/DelegatorsTable.re b/scan/src/components/validator/DelegatorsTable.re index 5a6f14b958..2b3e98fd66 100644 --- a/scan/src/components/validator/DelegatorsTable.re +++ b/scan/src/components/validator/DelegatorsTable.re @@ -110,7 +110,7 @@ let make = (~address) =>
Format.fPretty} + value={amount |> Coin.getBandAmountFromCoin |> Format.fPretty} size=Text.Md weight=Text.Regular color=Colors.gray7 diff --git a/scan/src/pages/AccountIndexPage.re b/scan/src/pages/AccountIndexPage.re index 5b6c236777..fd017f94c5 100644 --- a/scan/src/pages/AccountIndexPage.re +++ b/scan/src/pages/AccountIndexPage.re @@ -12,7 +12,7 @@ module Styles = { let separatorLine = style([ width(`px(1)), - height(`px(200)), + height(`px(275)), backgroundColor(Colors.gray7), marginLeft(`px(20)), opacity(0.3), @@ -34,14 +34,14 @@ module Styles = { flexDirection(`column), justifyContent(`spaceBetween), alignItems(`flexEnd), - height(`px(190)), + height(`px(200)), padding2(~v=`px(12), ~h=`zero), ]); let totalBalance = style([display(`flex), flexDirection(`column), alignItems(`flexEnd)]); }; -let balanceDetail = (title, amount, amountUsd, color) => { +let balanceDetail = (title, amount, usdPrice, color) => {
@@ -51,7 +51,7 @@ let balanceDetail = (title, amount, amountUsd, color) => {
Format.fPretty} size=Text.Lg weight=Text.Semibold spacing={Text.Em(0.02)} @@ -71,7 +71,7 @@ let balanceDetail = (title, amount, amountUsd, color) => {
Format.fPretty} size=Text.Sm spacing={Text.Em(0.02)} weight=Text.Thin @@ -118,14 +118,21 @@ let make = (~address, ~hashtag: Route.account_tab_t) => let accountSub = AccountSub.get(address); let infoSub = React.useContext(GlobalContext.context); let balanceAtStakeSub = DelegationSub.getTotalStakeByDelegator(address); + let unbondingSub = UnbondingSub.getUnbondingBalance(address); let%Sub info = infoSub; let%Sub account = accountSub; let%Sub balanceAtStake = balanceAtStakeSub; + let%Sub unbonding = unbondingSub; let availableBalance = account.balance->Coin.getBandAmountFromCoins; let usdPrice = info.financial.usdPrice; - let totalBalance = availableBalance +. balanceAtStake.amount +. balanceAtStake.reward; + + let balanceAtStakeAmount = balanceAtStake.amount->Coin.getBandAmountFromCoin; + let rewardAmount = balanceAtStake.reward->Coin.getBandAmountFromCoin; + let unbondingAmount = unbonding->Coin.getBandAmountFromCoin; + + let totalBalance = availableBalance +. balanceAtStakeAmount +. rewardAmount +. unbondingAmount; <> @@ -156,34 +163,28 @@ let make = (~address, ~hashtag: Route.account_tab_t) => - {balanceDetail( - "AVAILABLE BALANCE", - availableBalance |> Format.fPretty, - availableBalance *. usdPrice |> Format.fPretty, - Colors.bandBlue, - )} - + {balanceDetail("AVAILABLE BALANCE", availableBalance, usdPrice, Colors.bandBlue)} + {balanceDetail( "BALANCE AT STAKE", - balanceAtStake.amount |> Format.fPretty, - balanceAtStake.amount *. usdPrice |> Format.fPretty, + balanceAtStakeAmount, + usdPrice, Colors.chartBalanceAtStake, )} - + - {balanceDetail( - "REWARD", - balanceAtStake.reward |> Format.fPretty, - balanceAtStake.reward *. usdPrice |> Format.fPretty, - Colors.chartReward, - )} + {balanceDetail("UNBONDING AMOUNT", unbondingAmount, usdPrice, Colors.blue4)} + + + {balanceDetail("REWARD", rewardAmount, usdPrice, Colors.chartReward)}
diff --git a/scan/src/pages/ValidatorHomePage.re b/scan/src/pages/ValidatorHomePage.re index 0ff9f853a2..4c8b398b37 100644 --- a/scan/src/pages/ValidatorHomePage.re +++ b/scan/src/pages/ValidatorHomePage.re @@ -128,7 +128,7 @@ let renderBody = | Data({tokens, votingPower}) =>
Format.fPretty} + value={tokens |> Coin.getBandAmountFromCoin |> Format.fPretty} color=Colors.gray7 code=true weight=Text.Regular @@ -353,7 +353,7 @@ let make = () => { int_of_float, + bondedTokenCount |> Coin.getBandAmountFromCoin |> int_of_float, metadata.totalSupply->Coin.getBandAmountFromCoins |> int_of_float, true, ) @@ -437,7 +437,11 @@ let make = () => { {validators->Belt_Array.size > 0 ? validators ->Belt_Array.mapWithIndex((i, e) => - renderBody(i + 1 + (page - 1) * pageSize, Sub.resolve(e), bondedTokenCount) + renderBody( + i + 1 + (page - 1) * pageSize, + Sub.resolve(e), + bondedTokenCount.amount, + ) ) ->React.array :
diff --git a/scan/src/pages/ValidatorIndexPage.re b/scan/src/pages/ValidatorIndexPage.re index cdac85d66a..f75c46f148 100644 --- a/scan/src/pages/ValidatorIndexPage.re +++ b/scan/src/pages/ValidatorIndexPage.re @@ -94,7 +94,9 @@ let make = (~address, ~hashtag: Route.validator_tab_t) => let validatorSub = ValidatorSub.get(address); let bondedTokenCountSub = ValidatorSub.getTotalBondedAmount(); let%Sub validator = validatorSub; - let%Sub bondedTokenCount = bondedTokenCountSub; + let%Sub rawBondedTokenCount = bondedTokenCountSub; + + let bondedTokenCount = rawBondedTokenCount.amount; <> diff --git a/scan/src/subscriptions/DelegationSub.re b/scan/src/subscriptions/DelegationSub.re index 6a8f4f9b2d..a80f36ec9a 100644 --- a/scan/src/subscriptions/DelegationSub.re +++ b/scan/src/subscriptions/DelegationSub.re @@ -5,24 +5,24 @@ type t = { }; type stake_t = { - amount: float, - reward: float, + amount: Coin.t, + reward: Coin.t, sharePercentage: float, delegatorAddress: Address.t, validatorAddress: Address.t, }; type stake_aggregate_t = { - amount: float, - reward: float, + amount: Coin.t, + reward: Coin.t, }; module StakeConfig = [%graphql {| subscription Stake($limit: Int!, $offset: Int!, $delegator_address: String!) { delegations_view(offset: $offset, limit: $limit, order_by: {amount: desc}, where: {delegator_address: {_eq: $delegator_address}}) @bsRecord { - amount @bsDecoder(fn: "GraphQLParser.numberExn") - reward @bsDecoder(fn: "GraphQLParser.numberExn") + amount @bsDecoder(fn: "GraphQLParser.coinExn") + reward @bsDecoder(fn: "GraphQLParser.coinExn") sharePercentage: share_percentage @bsDecoder(fn: "GraphQLParser.floatWithDefault") delegatorAddress: delegator_address @bsDecoder(fn: "GraphQLParser.addressExn") validatorAddress: validator_address @bsDecoder(fn: "GraphQLParser.addressExn") @@ -37,8 +37,8 @@ module TotalStakeByDelegatorConfig = [%graphql delegations_view_aggregate(where: {delegator_address: {_eq: $delegator_address}}){ aggregate{ sum{ - amount @bsDecoder(fn: "GraphQLParser.numberWithDefault") - reward @bsDecoder(fn: "GraphQLParser.numberWithDefault") + amount @bsDecoder(fn: "GraphQLParser.coinWithDefault") + reward @bsDecoder(fn: "GraphQLParser.coinWithDefault") } } } @@ -62,8 +62,8 @@ module DelegatorsByValidatorConfig = [%graphql {| subscription Stake($limit: Int!, $offset: Int!, $validator_address: String!) { delegations_view(offset: $offset, limit: $limit, order_by: {amount: desc}, where: {validator_address: {_eq: $validator_address}}) @bsRecord { - amount @bsDecoder(fn: "GraphQLParser.numberExn") - reward @bsDecoder(fn: "GraphQLParser.numberExn") + amount @bsDecoder(fn: "GraphQLParser.coinExn") + reward @bsDecoder(fn: "GraphQLParser.coinExn") sharePercentage: share_percentage @bsDecoder(fn: "GraphQLParser.floatWithDefault") delegatorAddress: delegator_address @bsDecoder(fn: "GraphQLParser.addressExn") validatorAddress: validator_address @bsDecoder(fn: "GraphQLParser.addressExn") diff --git a/scan/src/subscriptions/GraphQLParser.re b/scan/src/subscriptions/GraphQLParser.re index aeafd90506..8ce6f32d03 100644 --- a/scan/src/subscriptions/GraphQLParser.re +++ b/scan/src/subscriptions/GraphQLParser.re @@ -17,6 +17,21 @@ let hash = json => json |> Js.Json.decodeString |> Belt.Option.getExn |> Js.String.substr(~from=2) |> Hash.fromHex; let coinRegEx = "([0-9]+)([a-z][a-z0-9/]{2,31})" |> Js.Re.fromString; +let coin = json => { + json |> Js.Json.decodeNumber |> Belt_Option.getExn |> Coin.newUBANDFromAmount; +}; +let coinExn = jsonOpt => { + jsonOpt + |> Belt_Option.flatMap(_, Js.Json.decodeNumber) + |> Belt.Option.getExn + |> Coin.newUBANDFromAmount; +}; +let coinWithDefault = jsonOpt => { + jsonOpt + |> Belt_Option.flatMap(_, Js.Json.decodeNumber) + |> Belt.Option.getWithDefault(_, 0.0) + |> Coin.newUBANDFromAmount; +}; let coins = str => str |> Js.String.split(",") @@ -35,17 +50,12 @@ let coins = str => let addressExn = jsonOpt => jsonOpt |> Belt_Option.getExn |> Address.fromBech32; -// TODO: remove 1e6. -let numberExn = jsonOpt => - (jsonOpt |> Belt_Option.flatMap(_, Js.Json.decodeNumber) |> Belt.Option.getExn) /. 1_000_000.; - let numberWithDefault = jsonOpt => - (jsonOpt |> Belt_Option.flatMap(_, Js.Json.decodeNumber) |> Belt.Option.getWithDefault(_, 0.0)) - /. 1_000_000.; + jsonOpt |> Belt_Option.flatMap(_, Js.Json.decodeNumber) |> Belt.Option.getWithDefault(_, 0.0); let floatWithDefault = jsonOpt => jsonOpt |> Belt_Option.flatMap(_, Js.Json.decodeNumber) |> Belt.Option.getWithDefault(_, 0.); -let floatWithMillionDivision = json => { - (json |> Js.Json.decodeNumber |> Belt.Option.getExn) /. 1_000_000.; +let floatExn = json => { + json |> Js.Json.decodeNumber |> Belt.Option.getExn; }; diff --git a/scan/src/subscriptions/UnbondingSub.re b/scan/src/subscriptions/UnbondingSub.re new file mode 100644 index 0000000000..f41f0f5229 --- /dev/null +++ b/scan/src/subscriptions/UnbondingSub.re @@ -0,0 +1,34 @@ +type t = {balance: Coin.t}; + +module SingleConfig = [%graphql + {| + subscription Unbonding($delegator_address: String!) { + unbonding_delegations_aggregate(where: {delegator_address: {_eq: $delegator_address}}) { + aggregate { + sum { + balance @bsDecoder(fn: "GraphQLParser.coinWithDefault") + } + } + } + } +|} +]; + +let getUnbondingBalance = delegatorAddress => { + let (result, _) = + ApolloHooks.useSubscription( + SingleConfig.definition, + ~variables= + SingleConfig.makeVariables(~delegator_address=delegatorAddress |> Address.toBech32, ()), + ); + + let unbondingInfoSub = + result + |> Sub.map(_, a => + (a##unbonding_delegations_aggregate##aggregate |> Belt_Option.getExn)##sum + |> Belt_Option.getExn + ); + + let%Sub unbondingInfo = unbondingInfoSub; + unbondingInfo##balance |> Sub.resolve; +}; diff --git a/scan/src/subscriptions/ValidatorSub.re b/scan/src/subscriptions/ValidatorSub.re index 708d801254..ca47060aa0 100644 --- a/scan/src/subscriptions/ValidatorSub.re +++ b/scan/src/subscriptions/ValidatorSub.re @@ -12,7 +12,7 @@ type internal_t = { moniker: string, identity: string, website: string, - tokens: float, + tokens: Coin.t, commissionRate: float, consensusPubKey: PubKey.t, bondedHeight: int, @@ -31,7 +31,7 @@ type t = { identity: string, website: string, details: string, - tokens: float, + tokens: Coin.t, commission: float, bondedHeight: int, completedRequestCount: int, @@ -59,7 +59,7 @@ let toExternal = operatorAddress, consensusAddress, consensusPubKey, - votingPower: tokens, + votingPower: tokens.amount, moniker, identity, website, @@ -89,7 +89,7 @@ module SingleConfig = [%graphql moniker identity website - tokens @bsDecoder(fn: "GraphQLParser.floatWithMillionDivision") + tokens @bsDecoder(fn: "GraphQLParser.coin") commissionRate: commission_rate @bsDecoder(fn: "float_of_string") consensusPubKey: consensus_pubkey @bsDecoder(fn: "PubKey.fromBech32") bondedHeight: bonded_height @bsDecoder(fn: "GraphQLParser.int64") @@ -109,7 +109,7 @@ module MultiConfig = [%graphql moniker identity website - tokens @bsDecoder(fn: "GraphQLParser.floatWithMillionDivision") + tokens @bsDecoder(fn: "GraphQLParser.coin") commissionRate: commission_rate @bsDecoder(fn: "float_of_string") consensusPubKey: consensus_pubkey @bsDecoder(fn: "PubKey.fromBech32") bondedHeight: bonded_height @bsDecoder(fn: "GraphQLParser.int64") @@ -126,7 +126,7 @@ module TotalBondedAmountConfig = [%graphql validators_aggregate{ aggregate{ sum{ - tokens @bsDecoder(fn: "GraphQLParser.numberWithDefault") + tokens @bsDecoder(fn: "GraphQLParser.coinWithDefault") } } }