diff --git a/hasura/metadata/actions.graphql b/hasura/metadata/actions.graphql index 6a0346074..6a21cf08d 100644 --- a/hasura/metadata/actions.graphql +++ b/hasura/metadata/actions.graphql @@ -1,81 +1,103 @@ type Query { - action_account_balance( - address: String! - height: Int - ): ActionBalance - - action_delegation_reward( - address: String! - height: Int - ): [ActionDelegationReward] - - action_delegator_withdraw_address( - address: String! - ): ActionAddress! - - action_delegation( - address: String! - height: Int - offset: Int - limit: Int - count_total: Boolean - ): ActionDelegationResponse - - action_delegation_total( - address: String! - height: Int - ): ActionBalance - - action_redelegation( - address: String! - height: Int - offset: Int - limit: Int - count_total: Boolean - ): ActionRedelegationResponse - - action_unbonding_delegation( - address: String! - height: Int - offset: Int - limit: Int - count_total: Boolean - ): ActionUnbondingDelegationResponse - - action_unbonding_delegation_total( - address: String! - height: Int - ): ActionBalance - - action_validator_commission_amount( - address: String! - ): ActionValidatorCommissionAmount - - action_validator_delegations( - address: String! - offset: Int - limit: Int - count_total: Boolean - ): ActionDelegationResponse - - action_validator_redelegations_from( - address: String! - height: Int - offset: Int - limit: Int - count_total: Boolean - ): ActionRedelegationResponse - - action_validator_unbonding_delegations( - address: String! - offset: Int - limit: Int - count_total: Boolean - ): ActionUnbondingDelegationResponse + action_account_balance( + address: String! + height: Int + ): ActionBalance +} + +type Query { + action_delegation( + address: String! + height: Int + offset: Int + limit: Int + count_total: Boolean + ): ActionDelegationResponse +} + +type Query { + action_delegation_reward( + address: String! + height: Int + ): [ActionDelegationReward] +} + +type Query { + action_delegation_total( + address: String! + height: Int + ): ActionBalance +} + +type Query { + action_delegator_withdraw_address( + address: String! + ): ActionAddress! +} + +type Query { + action_redelegation( + address: String! + height: Int + offset: Int + limit: Int + count_total: Boolean + ): ActionRedelegationResponse +} + +type Query { + action_unbonding_delegation( + address: String! + height: Int + offset: Int + limit: Int + count_total: Boolean + ): ActionUnbondingDelegationResponse +} + +type Query { + action_unbonding_delegation_total( + address: String! + height: Int + ): ActionBalance +} + +type Query { + action_validator_commission_amount( + address: String! + ): ActionValidatorCommissionAmount +} + +type Query { + action_validator_delegations( + address: String! + offset: Int + limit: Int + count_total: Boolean + ): ActionDelegationResponse +} + +type Query { + action_validator_redelegations_from( + address: String! + height: Int + offset: Int + limit: Int + count_total: Boolean + ): ActionRedelegationResponse +} + +type Query { + action_validator_unbonding_delegations( + address: String! + offset: Int + limit: Int + count_total: Boolean + ): ActionUnbondingDelegationResponse } type ActionBalance { - coins: [ActionCoin] + coins: [ActionCoin] } type ActionDelegationReward { @@ -84,32 +106,37 @@ type ActionDelegationReward { } type ActionAddress { - address: String! + address: String! } type ActionDelegationResponse { - delegations: [ActionDelegation] - pagination: ActionPagination + delegations: [ActionDelegation] + pagination: ActionPagination } type ActionRedelegationResponse { - redelegations: [ActionRedelegation] - pagination: ActionPagination + redelegations: [ActionRedelegation] + pagination: ActionPagination } type ActionUnbondingDelegationResponse { - unbonding_delegations: [ActionUnbondingDelegation] - pagination: ActionPagination + unbonding_delegations: [ActionUnbondingDelegation] + pagination: ActionPagination } type ActionValidatorCommissionAmount { - coins: [ActionCoin] + coins: [ActionCoin] } scalar ActionCoin + scalar ActionDelegation + scalar ActionEntry + scalar ActionPagination + scalar ActionRedelegation + scalar ActionUnbondingDelegation diff --git a/hasura/metadata/api_limits.yaml b/hasura/metadata/api_limits.yaml new file mode 100644 index 000000000..0967ef424 --- /dev/null +++ b/hasura/metadata/api_limits.yaml @@ -0,0 +1 @@ +{} diff --git a/hasura/metadata/backend_configs.yaml b/hasura/metadata/backend_configs.yaml new file mode 100644 index 000000000..0967ef424 --- /dev/null +++ b/hasura/metadata/backend_configs.yaml @@ -0,0 +1 @@ +{} diff --git a/hasura/metadata/databases/bdjuno/tables/public_account.yaml b/hasura/metadata/databases/bdjuno/tables/public_account.yaml index a4ccc1e35..a437b8e0b 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_account.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_account.yaml @@ -2,56 +2,55 @@ table: name: account schema: public object_relationships: -- name: vesting_account - using: - manual_configuration: - column_mapping: - address: address - insertion_order: null - remote_table: - name: vesting_account - schema: public + - name: vesting_account + using: + manual_configuration: + column_mapping: + address: address + insertion_order: null + remote_table: + name: vesting_account + schema: public array_relationships: -- name: proposal_deposits - using: - foreign_key_constraint_on: - column: depositor_address - table: - name: proposal_deposit - schema: public -- name: proposal_votes - using: - foreign_key_constraint_on: - column: voter_address - table: - name: proposal_vote - schema: public -- name: proposals - using: - foreign_key_constraint_on: - column: proposer_address - table: - name: proposal - schema: public -- name: validator_infos - using: - foreign_key_constraint_on: - column: self_delegate_address - table: - name: validator_info - schema: public -- name: vesting_accounts - using: - foreign_key_constraint_on: - column: address - table: - name: vesting_account - schema: public + - name: proposal_deposits + using: + foreign_key_constraint_on: + column: depositor_address + table: + name: proposal_deposit + schema: public + - name: proposal_votes + using: + foreign_key_constraint_on: + column: voter_address + table: + name: proposal_vote + schema: public + - name: proposals + using: + foreign_key_constraint_on: + column: proposer_address + table: + name: proposal + schema: public + - name: validator_infos + using: + foreign_key_constraint_on: + column: self_delegate_address + table: + name: validator_info + schema: public + - name: vesting_accounts + using: + foreign_key_constraint_on: + column: address + table: + name: vesting_account + schema: public select_permissions: -- permission: - allow_aggregations: false - columns: - - address - filter: {} - limit: 100 - role: anonymous + - role: anonymous + permission: + columns: + - address + filter: {} + limit: 100 diff --git a/hasura/metadata/databases/bdjuno/tables/public_average_block_time_from_genesis.yaml b/hasura/metadata/databases/bdjuno/tables/public_average_block_time_from_genesis.yaml index 8624aa1fe..d80ab32ed 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_average_block_time_from_genesis.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_average_block_time_from_genesis.yaml @@ -2,11 +2,10 @@ table: name: average_block_time_from_genesis schema: public select_permissions: -- permission: - allow_aggregations: false - columns: - - average_time - - height - filter: {} - limit: 1 - role: anonymous + - role: anonymous + permission: + columns: + - average_time + - height + filter: {} + limit: 1 diff --git a/hasura/metadata/databases/bdjuno/tables/public_average_block_time_per_day.yaml b/hasura/metadata/databases/bdjuno/tables/public_average_block_time_per_day.yaml index c3c9ccbcf..4958e9cb4 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_average_block_time_per_day.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_average_block_time_per_day.yaml @@ -2,11 +2,10 @@ table: name: average_block_time_per_day schema: public select_permissions: -- permission: - allow_aggregations: false - columns: - - average_time - - height - filter: {} - limit: 1 - role: anonymous + - role: anonymous + permission: + columns: + - average_time + - height + filter: {} + limit: 1 diff --git a/hasura/metadata/databases/bdjuno/tables/public_average_block_time_per_hour.yaml b/hasura/metadata/databases/bdjuno/tables/public_average_block_time_per_hour.yaml index 640c64115..c225bb488 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_average_block_time_per_hour.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_average_block_time_per_hour.yaml @@ -2,11 +2,10 @@ table: name: average_block_time_per_hour schema: public select_permissions: -- permission: - allow_aggregations: false - columns: - - average_time - - height - filter: {} - limit: 1 - role: anonymous + - role: anonymous + permission: + columns: + - average_time + - height + filter: {} + limit: 1 diff --git a/hasura/metadata/databases/bdjuno/tables/public_average_block_time_per_minute.yaml b/hasura/metadata/databases/bdjuno/tables/public_average_block_time_per_minute.yaml index cdb7dae58..3e52b2283 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_average_block_time_per_minute.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_average_block_time_per_minute.yaml @@ -2,11 +2,10 @@ table: name: average_block_time_per_minute schema: public select_permissions: -- permission: - allow_aggregations: false - columns: - - average_time - - height - filter: {} - limit: 1 - role: anonymous + - role: anonymous + permission: + columns: + - average_time + - height + filter: {} + limit: 1 diff --git a/hasura/metadata/databases/bdjuno/tables/public_block.yaml b/hasura/metadata/databases/bdjuno/tables/public_block.yaml index cfcf1258a..8f5d5fe0f 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_block.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_block.yaml @@ -2,63 +2,62 @@ table: name: block schema: public object_relationships: -- name: validator - using: - foreign_key_constraint_on: proposer_address + - name: validator + using: + foreign_key_constraint_on: proposer_address array_relationships: -- name: pre_commits - using: - manual_configuration: - column_mapping: - height: height - insertion_order: null - remote_table: - name: pre_commit - schema: public -- name: transactions - using: - foreign_key_constraint_on: - column: height - table: - name: transaction - schema: public -- name: validator_voting_powers - using: - manual_configuration: - column_mapping: - height: height - insertion_order: null - remote_table: - name: validator_voting_power - schema: public -- name: proposal_deposits - using: - manual_configuration: - column_mapping: - height: height - insertion_order: null - remote_table: - name: proposal_deposit - schema: public -- name: proposal_votes - using: - manual_configuration: - column_mapping: - height: height - insertion_order: null - remote_table: - name: proposal_vote - schema: public + - name: pre_commits + using: + manual_configuration: + column_mapping: + height: height + insertion_order: null + remote_table: + name: pre_commit + schema: public + - name: proposal_deposits + using: + manual_configuration: + column_mapping: + height: height + insertion_order: null + remote_table: + name: proposal_deposit + schema: public + - name: proposal_votes + using: + manual_configuration: + column_mapping: + height: height + insertion_order: null + remote_table: + name: proposal_vote + schema: public + - name: transactions + using: + foreign_key_constraint_on: + column: height + table: + name: transaction + schema: public + - name: validator_voting_powers + using: + manual_configuration: + column_mapping: + height: height + insertion_order: null + remote_table: + name: validator_voting_power + schema: public select_permissions: -- permission: - allow_aggregations: false - columns: - - num_txs - - height - - total_gas - - hash - - proposer_address - - timestamp - filter: {} - limit: 100 - role: anonymous + - role: anonymous + permission: + columns: + - num_txs + - height + - total_gas + - hash + - proposer_address + - timestamp + filter: {} + limit: 100 diff --git a/hasura/metadata/databases/bdjuno/tables/public_ccv_consumer_chain.yaml b/hasura/metadata/databases/bdjuno/tables/public_ccv_consumer_chain.yaml index b393076a9..db72d084f 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_ccv_consumer_chain.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_ccv_consumer_chain.yaml @@ -2,15 +2,15 @@ table: name: ccv_consumer_chain schema: public select_permissions: -- permission: - allow_aggregations: true - columns: - - provider_client_id - - provider_channel_id - - chain_id - - provider_client_state - - provider_consensus_state - - initial_val_set - - height - filter: {} - role: anonymous + - role: anonymous + permission: + columns: + - provider_client_id + - provider_channel_id + - chain_id + - provider_client_state + - provider_consensus_state + - initial_val_set + - height + filter: {} + allow_aggregations: true diff --git a/hasura/metadata/databases/bdjuno/tables/public_ccv_consumer_params.yaml b/hasura/metadata/databases/bdjuno/tables/public_ccv_consumer_params.yaml index 9803e7fb2..d75c90ef2 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_ccv_consumer_params.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_ccv_consumer_params.yaml @@ -2,11 +2,11 @@ table: name: ccv_consumer_params schema: public select_permissions: -- permission: - allow_aggregations: true - columns: - - one_row_id - - params - - height - filter: {} - role: anonymous + - role: anonymous + permission: + columns: + - one_row_id + - params + - height + filter: {} + allow_aggregations: true diff --git a/hasura/metadata/databases/bdjuno/tables/public_ccv_provider_chain.yaml b/hasura/metadata/databases/bdjuno/tables/public_ccv_provider_chain.yaml index faae67490..d1c294cd5 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_ccv_provider_chain.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_ccv_provider_chain.yaml @@ -2,19 +2,19 @@ table: name: ccv_provider_chain schema: public select_permissions: -- permission: - allow_aggregations: true - columns: - - valset_update_id - - consumer_states - - unbonding_ops - - mature_unbonding_ops - - valset_update_id_to_height - - consumer_addition_proposals - - consumer_removal_proposals - - validator_consumer_pubkeys - - validators_by_consumer_addr - - consumer_addrs_to_prune - - height - filter: {} - role: anonymous + - role: anonymous + permission: + columns: + - valset_update_id + - consumer_states + - unbonding_ops + - mature_unbonding_ops + - valset_update_id_to_height + - consumer_addition_proposals + - consumer_removal_proposals + - validator_consumer_pubkeys + - validators_by_consumer_addr + - consumer_addrs_to_prune + - height + filter: {} + allow_aggregations: true diff --git a/hasura/metadata/databases/bdjuno/tables/public_ccv_provider_params.yaml b/hasura/metadata/databases/bdjuno/tables/public_ccv_provider_params.yaml index 18b200996..934d0909c 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_ccv_provider_params.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_ccv_provider_params.yaml @@ -2,11 +2,11 @@ table: name: ccv_provider_params schema: public select_permissions: -- permission: - allow_aggregations: true - columns: - - one_row_id - - params - - height - filter: {} - role: anonymous + - role: anonymous + permission: + columns: + - one_row_id + - params + - height + filter: {} + allow_aggregations: true diff --git a/hasura/metadata/databases/bdjuno/tables/public_community_pool.yaml b/hasura/metadata/databases/bdjuno/tables/public_community_pool.yaml index ca90c6278..d26c40156 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_community_pool.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_community_pool.yaml @@ -2,11 +2,10 @@ table: name: community_pool schema: public select_permissions: -- permission: - allow_aggregations: false - columns: - - coins - - height - filter: {} - limit: 1 - role: anonymous + - role: anonymous + permission: + columns: + - coins + - height + filter: {} + limit: 1 diff --git a/hasura/metadata/databases/bdjuno/tables/public_distribution_params.yaml b/hasura/metadata/databases/bdjuno/tables/public_distribution_params.yaml index fda0c9ca6..b9f07926d 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_distribution_params.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_distribution_params.yaml @@ -2,11 +2,10 @@ table: name: distribution_params schema: public select_permissions: -- permission: - allow_aggregations: false - columns: - - params - - height - filter: {} - limit: 1 - role: anonymous + - role: anonymous + permission: + columns: + - params + - height + filter: {} + limit: 1 diff --git a/hasura/metadata/databases/bdjuno/tables/public_double_sign_evidence.yaml b/hasura/metadata/databases/bdjuno/tables/public_double_sign_evidence.yaml index 5bf4acf75..ec6290d94 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_double_sign_evidence.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_double_sign_evidence.yaml @@ -2,19 +2,18 @@ table: name: double_sign_evidence schema: public object_relationships: -- name: doubleSignVoteByVoteAId - using: - foreign_key_constraint_on: vote_a_id -- name: double_sign_vote - using: - foreign_key_constraint_on: vote_b_id + - name: doubleSignVoteByVoteAId + using: + foreign_key_constraint_on: vote_a_id + - name: double_sign_vote + using: + foreign_key_constraint_on: vote_b_id select_permissions: -- permission: - allow_aggregations: false - columns: - - height - - vote_a_id - - vote_b_id - filter: {} - limit: 100 - role: anonymous + - role: anonymous + permission: + columns: + - height + - vote_a_id + - vote_b_id + filter: {} + limit: 100 diff --git a/hasura/metadata/databases/bdjuno/tables/public_double_sign_vote.yaml b/hasura/metadata/databases/bdjuno/tables/public_double_sign_vote.yaml index 658055f11..097cd997e 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_double_sign_vote.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_double_sign_vote.yaml @@ -2,35 +2,34 @@ table: name: double_sign_vote schema: public object_relationships: -- name: validator - using: - foreign_key_constraint_on: validator_address + - name: validator + using: + foreign_key_constraint_on: validator_address array_relationships: -- name: doubleSignEvidencesByVoteBId - using: - foreign_key_constraint_on: - column: vote_b_id - table: - name: double_sign_evidence - schema: public -- name: double_sign_evidences - using: - foreign_key_constraint_on: - column: vote_a_id - table: - name: double_sign_evidence - schema: public + - name: doubleSignEvidencesByVoteBId + using: + foreign_key_constraint_on: + column: vote_b_id + table: + name: double_sign_evidence + schema: public + - name: double_sign_evidences + using: + foreign_key_constraint_on: + column: vote_a_id + table: + name: double_sign_evidence + schema: public select_permissions: -- permission: - allow_aggregations: false - columns: - - type - - height - - round - - block_id - - validator_address - - validator_index - - signature - filter: {} - limit: 100 - role: anonymous + - role: anonymous + permission: + columns: + - type + - height + - round + - block_id + - validator_address + - validator_index + - signature + filter: {} + limit: 100 diff --git a/hasura/metadata/databases/bdjuno/tables/public_fee_grant_allowance.yaml b/hasura/metadata/databases/bdjuno/tables/public_fee_grant_allowance.yaml index 8b5359bc8..63396f864 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_fee_grant_allowance.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_fee_grant_allowance.yaml @@ -2,20 +2,19 @@ table: name: fee_grant_allowance schema: public object_relationships: -- name: grantee - using: - foreign_key_constraint_on: grantee_address -- name: granter - using: - foreign_key_constraint_on: granter_address + - name: grantee + using: + foreign_key_constraint_on: grantee_address + - name: granter + using: + foreign_key_constraint_on: granter_address select_permissions: -- permission: - allow_aggregations: false - columns: - - grantee_address - - granter_address - - allowance - - height - filter: {} - limit: 100 - role: anonymous + - role: anonymous + permission: + columns: + - grantee_address + - granter_address + - allowance + - height + filter: {} + limit: 100 diff --git a/hasura/metadata/databases/bdjuno/tables/public_genesis.yaml b/hasura/metadata/databases/bdjuno/tables/public_genesis.yaml index 73b0c7014..25bd6d6ee 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_genesis.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_genesis.yaml @@ -2,12 +2,11 @@ table: name: genesis schema: public select_permissions: -- permission: - allow_aggregations: false - columns: - - chain_id - - initial_height - - time - filter: {} - limit: 1 - role: anonymous \ No newline at end of file + - role: anonymous + permission: + columns: + - chain_id + - initial_height + - time + filter: {} + limit: 1 diff --git a/hasura/metadata/databases/bdjuno/tables/public_gov_params.yaml b/hasura/metadata/databases/bdjuno/tables/public_gov_params.yaml index 37de9f06d..6f0ccc019 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_gov_params.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_gov_params.yaml @@ -2,13 +2,12 @@ table: name: gov_params schema: public select_permissions: -- permission: - allow_aggregations: false - columns: - - deposit_params - - voting_params - - tally_params - - height - filter: {} - limit: 1 - role: anonymous + - role: anonymous + permission: + columns: + - deposit_params + - voting_params + - tally_params + - height + filter: {} + limit: 1 diff --git a/hasura/metadata/databases/bdjuno/tables/public_inflation.yaml b/hasura/metadata/databases/bdjuno/tables/public_inflation.yaml index b83e4f86d..5ffc3fc48 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_inflation.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_inflation.yaml @@ -2,11 +2,10 @@ table: name: inflation schema: public select_permissions: -- permission: - allow_aggregations: false - columns: - - value - - height - filter: {} - limit: 1 - role: anonymous + - role: anonymous + permission: + columns: + - value + - height + filter: {} + limit: 1 diff --git a/hasura/metadata/databases/bdjuno/tables/public_message.yaml b/hasura/metadata/databases/bdjuno/tables/public_message.yaml index fe6a4c31a..083abcf77 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_message.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_message.yaml @@ -2,25 +2,24 @@ table: name: message schema: public object_relationships: -- name: transaction - using: - manual_configuration: - remote_table: - schema: public - name: transaction - insertion_order: - column_mapping: - transaction_hash: hash + - name: transaction + using: + manual_configuration: + column_mapping: + transaction_hash: hash + insertion_order: null + remote_table: + name: transaction + schema: public select_permissions: -- permission: - allow_aggregations: false - columns: - - transaction_hash - - index - - type - - value - - involved_accounts_addresses - - height - filter: {} - limit: 100 - role: anonymous + - role: anonymous + permission: + columns: + - transaction_hash + - index + - type + - value + - involved_accounts_addresses + - height + filter: {} + limit: 100 diff --git a/hasura/metadata/databases/bdjuno/tables/public_mint_params.yaml b/hasura/metadata/databases/bdjuno/tables/public_mint_params.yaml index ee302f719..b6f56eda0 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_mint_params.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_mint_params.yaml @@ -2,11 +2,10 @@ table: name: mint_params schema: public select_permissions: -- permission: - allow_aggregations: false - columns: - - params - - height - filter: {} - limit: 1 - role: anonymous + - role: anonymous + permission: + columns: + - params + - height + filter: {} + limit: 1 diff --git a/hasura/metadata/databases/bdjuno/tables/public_modules.yaml b/hasura/metadata/databases/bdjuno/tables/public_modules.yaml index 1f5ec1e24..9f00706a4 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_modules.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_modules.yaml @@ -2,10 +2,9 @@ table: name: modules schema: public select_permissions: -- permission: - allow_aggregations: false - columns: - - module_name - filter: {} - limit: 100 - role: anonymous + - role: anonymous + permission: + columns: + - module_name + filter: {} + limit: 100 diff --git a/hasura/metadata/databases/bdjuno/tables/public_pre_commit.yaml b/hasura/metadata/databases/bdjuno/tables/public_pre_commit.yaml index 886d56e38..24540e843 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_pre_commit.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_pre_commit.yaml @@ -2,18 +2,18 @@ table: name: pre_commit schema: public object_relationships: -- name: validator - using: - foreign_key_constraint_on: validator_address + - name: validator + using: + foreign_key_constraint_on: validator_address select_permissions: -- permission: - allow_aggregations: true - columns: - - validator_address - - height - - timestamp - - voting_power - - proposer_priority - filter: {} - limit: 100 - role: anonymous \ No newline at end of file + - role: anonymous + permission: + columns: + - validator_address + - height + - timestamp + - voting_power + - proposer_priority + filter: {} + limit: 100 + allow_aggregations: true diff --git a/hasura/metadata/databases/bdjuno/tables/public_proposal.yaml b/hasura/metadata/databases/bdjuno/tables/public_proposal.yaml index 491202cce..04de1fa26 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_proposal.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_proposal.yaml @@ -2,72 +2,98 @@ table: name: proposal schema: public object_relationships: -- name: proposal_tally_result - using: - manual_configuration: - column_mapping: - id: proposal_id - insertion_order: null - remote_table: - name: proposal_tally_result - schema: public -- name: proposer - using: - foreign_key_constraint_on: proposer_address -- name: staking_pool_snapshot - using: - manual_configuration: - column_mapping: - id: proposal_id - insertion_order: null - remote_table: - name: proposal_staking_pool_snapshot - schema: public + - name: proposal_tally_result + using: + manual_configuration: + column_mapping: + id: proposal_id + insertion_order: null + remote_table: + name: proposal_tally_result + schema: public + - name: proposer + using: + foreign_key_constraint_on: proposer_address + - name: staking_pool_snapshot + using: + manual_configuration: + column_mapping: + id: proposal_id + insertion_order: null + remote_table: + name: proposal_staking_pool_snapshot + schema: public array_relationships: -- name: proposal_deposits - using: - foreign_key_constraint_on: - column: proposal_id - table: - name: proposal_deposit + - name: proposal_deposits + using: + foreign_key_constraint_on: + column: proposal_id + table: + name: proposal_deposit + schema: public + - name: proposal_tally_results + using: + foreign_key_constraint_on: + column: proposal_id + table: + name: proposal_tally_result + schema: public + - name: proposal_votes + using: + foreign_key_constraint_on: + column: proposal_id + table: + name: proposal_vote + schema: public + - name: validator_status_snapshots + using: + foreign_key_constraint_on: + column: proposal_id + table: + name: proposal_validator_status_snapshot + schema: public +computed_fields: + - name: active_first_order + definition: + function: + name: active_first schema: public -- name: proposal_tally_results - using: - foreign_key_constraint_on: - column: proposal_id - table: - name: proposal_tally_result + - name: failed_first_order + definition: + function: + name: failed_first schema: public -- name: proposal_votes - using: - foreign_key_constraint_on: - column: proposal_id - table: - name: proposal_vote + - name: passed_first_order + definition: + function: + name: passed_first schema: public -- name: validator_status_snapshots - using: - foreign_key_constraint_on: - column: proposal_id - table: - name: proposal_validator_status_snapshot + - name: rejected_first_order + definition: + function: + name: rejected_first schema: public select_permissions: -- permission: - allow_aggregations: true - columns: - - title - - description - - proposal_route - - proposal_type - - id - - submit_time - - deposit_end_time - - voting_start_time - - voting_end_time - - proposer_address - - status - - content - filter: {} - limit: 100 - role: anonymous + - role: anonymous + permission: + columns: + - title + - description + - proposal_route + - proposal_type + - id + - submit_time + - deposit_end_time + - voting_start_time + - voting_end_time + - proposer_address + - status + - content + computed_fields: + - active_first_order + - failed_first_order + - passed_first_order + - rejected_first_order + filter: {} + limit: 100 + allow_aggregations: true diff --git a/hasura/metadata/databases/bdjuno/tables/public_proposal_deposit.yaml b/hasura/metadata/databases/bdjuno/tables/public_proposal_deposit.yaml index 01e208c16..05ca9b77a 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_proposal_deposit.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_proposal_deposit.yaml @@ -2,30 +2,29 @@ table: name: proposal_deposit schema: public object_relationships: -- name: block - using: - manual_configuration: - column_mapping: - height: height - insertion_order: null - remote_table: - name: block - schema: public -- name: depositor - using: - foreign_key_constraint_on: depositor_address -- name: proposal - using: - foreign_key_constraint_on: proposal_id + - name: block + using: + manual_configuration: + column_mapping: + height: height + insertion_order: null + remote_table: + name: block + schema: public + - name: depositor + using: + foreign_key_constraint_on: depositor_address + - name: proposal + using: + foreign_key_constraint_on: proposal_id select_permissions: -- permission: - allow_aggregations: false - columns: - - proposal_id - - depositor_address - - amount - - timestamp - - height - filter: {} - limit: 100 - role: anonymous + - role: anonymous + permission: + columns: + - proposal_id + - depositor_address + - amount + - timestamp + - height + filter: {} + limit: 100 diff --git a/hasura/metadata/databases/bdjuno/tables/public_proposal_staking_pool_snapshot.yaml b/hasura/metadata/databases/bdjuno/tables/public_proposal_staking_pool_snapshot.yaml index 6c9fe014f..ac27c7fd6 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_proposal_staking_pool_snapshot.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_proposal_staking_pool_snapshot.yaml @@ -2,17 +2,16 @@ table: name: proposal_staking_pool_snapshot schema: public object_relationships: -- name: proposal - using: - foreign_key_constraint_on: proposal_id + - name: proposal + using: + foreign_key_constraint_on: proposal_id select_permissions: -- permission: - allow_aggregations: false - columns: - - proposal_id - - bonded_tokens - - not_bonded_tokens - - height - filter: {} - limit: 100 - role: anonymous + - role: anonymous + permission: + columns: + - proposal_id + - bonded_tokens + - not_bonded_tokens + - height + filter: {} + limit: 100 diff --git a/hasura/metadata/databases/bdjuno/tables/public_proposal_tally_result.yaml b/hasura/metadata/databases/bdjuno/tables/public_proposal_tally_result.yaml index 451d91e07..a5b1a7203 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_proposal_tally_result.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_proposal_tally_result.yaml @@ -2,19 +2,18 @@ table: name: proposal_tally_result schema: public object_relationships: -- name: proposal - using: - foreign_key_constraint_on: proposal_id + - name: proposal + using: + foreign_key_constraint_on: proposal_id select_permissions: -- permission: - allow_aggregations: false - columns: - - proposal_id - - yes - - abstain - - no - - no_with_veto - - height - filter: {} - limit: 100 - role: anonymous + - role: anonymous + permission: + columns: + - proposal_id + - "yes" + - abstain + - "no" + - no_with_veto + - height + filter: {} + limit: 100 diff --git a/hasura/metadata/databases/bdjuno/tables/public_proposal_validator_status_snapshot.yaml b/hasura/metadata/databases/bdjuno/tables/public_proposal_validator_status_snapshot.yaml index 6869f9a36..564a1c06b 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_proposal_validator_status_snapshot.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_proposal_validator_status_snapshot.yaml @@ -2,22 +2,21 @@ table: name: proposal_validator_status_snapshot schema: public object_relationships: -- name: proposal - using: - foreign_key_constraint_on: proposal_id -- name: validator - using: - foreign_key_constraint_on: validator_address + - name: proposal + using: + foreign_key_constraint_on: proposal_id + - name: validator + using: + foreign_key_constraint_on: validator_address select_permissions: -- permission: - allow_aggregations: false - columns: - - proposal_id - - validator_address - - voting_power - - status - - jailed - - height - filter: {} - limit: 100 - role: anonymous + - role: anonymous + permission: + columns: + - proposal_id + - validator_address + - voting_power + - status + - jailed + - height + filter: {} + limit: 100 diff --git a/hasura/metadata/databases/bdjuno/tables/public_proposal_vote.yaml b/hasura/metadata/databases/bdjuno/tables/public_proposal_vote.yaml index 1771faf9b..e683c3c79 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_proposal_vote.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_proposal_vote.yaml @@ -2,32 +2,32 @@ table: name: proposal_vote schema: public object_relationships: -- name: account - using: - foreign_key_constraint_on: voter_address -- name: block - using: - manual_configuration: - column_mapping: - height: height - insertion_order: null - remote_table: - name: block - schema: public -- name: proposal - using: - foreign_key_constraint_on: proposal_id + - name: account + using: + foreign_key_constraint_on: voter_address + - name: block + using: + manual_configuration: + column_mapping: + height: height + insertion_order: null + remote_table: + name: block + schema: public + - name: proposal + using: + foreign_key_constraint_on: proposal_id select_permissions: -- permission: - allow_aggregations: true - columns: - - proposal_id - - voter_address - - option - - weight - - is_valid - - timestamp - - height - filter: {} - limit: 100 - role: anonymous + - role: anonymous + permission: + columns: + - proposal_id + - voter_address + - option + - weight + - is_valid + - timestamp + - height + filter: {} + limit: 100 + allow_aggregations: true diff --git a/hasura/metadata/databases/bdjuno/tables/public_slashing_params.yaml b/hasura/metadata/databases/bdjuno/tables/public_slashing_params.yaml index 912e8fc66..e40a248f9 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_slashing_params.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_slashing_params.yaml @@ -2,11 +2,10 @@ table: name: slashing_params schema: public select_permissions: -- permission: - allow_aggregations: false - columns: - - params - - height - filter: {} - limit: 1 - role: anonymous + - role: anonymous + permission: + columns: + - params + - height + filter: {} + limit: 1 diff --git a/hasura/metadata/databases/bdjuno/tables/public_software_upgrade_plan.yaml b/hasura/metadata/databases/bdjuno/tables/public_software_upgrade_plan.yaml index d7ab38f50..523071ad6 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_software_upgrade_plan.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_software_upgrade_plan.yaml @@ -2,17 +2,17 @@ table: name: software_upgrade_plan schema: public object_relationships: -- name: proposal - using: - foreign_key_constraint_on: proposal_id + - name: proposal + using: + foreign_key_constraint_on: proposal_id select_permissions: -- permission: - allow_aggregations: true - columns: - - proposal_id - - plan_name - - upgrade_height - - info - - height - filter: {} - role: anonymous + - role: anonymous + permission: + columns: + - proposal_id + - plan_name + - upgrade_height + - info + - height + filter: {} + allow_aggregations: true diff --git a/hasura/metadata/databases/bdjuno/tables/public_staking_params.yaml b/hasura/metadata/databases/bdjuno/tables/public_staking_params.yaml index 2cb4e10c7..ff7019a29 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_staking_params.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_staking_params.yaml @@ -2,11 +2,10 @@ table: name: staking_params schema: public select_permissions: -- permission: - allow_aggregations: false - columns: - - params - - height - filter: {} - limit: 1 - role: anonymous + - role: anonymous + permission: + columns: + - params + - height + filter: {} + limit: 1 diff --git a/hasura/metadata/databases/bdjuno/tables/public_staking_pool.yaml b/hasura/metadata/databases/bdjuno/tables/public_staking_pool.yaml index 2c4ef61e5..fa95461f6 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_staking_pool.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_staking_pool.yaml @@ -2,14 +2,13 @@ table: name: staking_pool schema: public select_permissions: -- permission: - allow_aggregations: false - columns: - - height - - bonded_tokens - - not_bonded_tokens - - unbonding_tokens - - staked_not_bonded_tokens - filter: {} - limit: 1 - role: anonymous + - role: anonymous + permission: + columns: + - height + - bonded_tokens + - not_bonded_tokens + - unbonding_tokens + - staked_not_bonded_tokens + filter: {} + limit: 1 diff --git a/hasura/metadata/databases/bdjuno/tables/public_supply.yaml b/hasura/metadata/databases/bdjuno/tables/public_supply.yaml index 8f278c980..28b36251b 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_supply.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_supply.yaml @@ -2,11 +2,10 @@ table: name: supply schema: public select_permissions: -- permission: - allow_aggregations: false - columns: - - coins - - height - filter: {} - limit: 1 - role: anonymous + - role: anonymous + permission: + columns: + - coins + - height + filter: {} + limit: 1 diff --git a/hasura/metadata/databases/bdjuno/tables/public_token.yaml b/hasura/metadata/databases/bdjuno/tables/public_token.yaml index e1b4a746a..632d182cc 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_token.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_token.yaml @@ -2,18 +2,17 @@ table: name: token schema: public array_relationships: -- name: token_units - using: - foreign_key_constraint_on: - column: token_name - table: - name: token_unit - schema: public + - name: token_units + using: + foreign_key_constraint_on: + column: token_name + table: + name: token_unit + schema: public select_permissions: -- permission: - allow_aggregations: false - columns: - - name - filter: {} - limit: 100 - role: anonymous + - role: anonymous + permission: + columns: + - name + filter: {} + limit: 100 diff --git a/hasura/metadata/databases/bdjuno/tables/public_token_price.yaml b/hasura/metadata/databases/bdjuno/tables/public_token_price.yaml index 7c2a1fa0b..d2692e516 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_token_price.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_token_price.yaml @@ -2,17 +2,16 @@ table: name: token_price schema: public object_relationships: -- name: token_unit - using: - foreign_key_constraint_on: unit_name + - name: token_unit + using: + foreign_key_constraint_on: unit_name select_permissions: -- permission: - allow_aggregations: false - columns: - - unit_name - - price - - market_cap - - timestamp - filter: {} - limit: 1 - role: anonymous + - role: anonymous + permission: + columns: + - unit_name + - price + - market_cap + - timestamp + filter: {} + limit: 1 diff --git a/hasura/metadata/databases/bdjuno/tables/public_token_price_history.yaml b/hasura/metadata/databases/bdjuno/tables/public_token_price_history.yaml index 809f0a170..848d4bc9e 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_token_price_history.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_token_price_history.yaml @@ -2,17 +2,16 @@ table: name: token_price_history schema: public object_relationships: -- name: token_unit - using: - foreign_key_constraint_on: unit_name + - name: token_unit + using: + foreign_key_constraint_on: unit_name select_permissions: -- permission: - allow_aggregations: false - columns: - - market_cap - - price - - timestamp - - unit_name - filter: {} - limit: 100 - role: anonymous + - role: anonymous + permission: + columns: + - market_cap + - price + - timestamp + - unit_name + filter: {} + limit: 100 diff --git a/hasura/metadata/databases/bdjuno/tables/public_token_unit.yaml b/hasura/metadata/databases/bdjuno/tables/public_token_unit.yaml index cd30c03f4..8357b2b7c 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_token_unit.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_token_unit.yaml @@ -2,42 +2,41 @@ table: name: token_unit schema: public object_relationships: -- name: token - using: - foreign_key_constraint_on: token_name -- name: token_price - using: - manual_configuration: - column_mapping: - denom: unit_name - insertion_order: null - remote_table: - name: token_price - schema: public + - name: token + using: + foreign_key_constraint_on: token_name + - name: token_price + using: + manual_configuration: + column_mapping: + denom: unit_name + insertion_order: null + remote_table: + name: token_price + schema: public array_relationships: -- name: token_price_histories - using: - foreign_key_constraint_on: - column: unit_name - table: - name: token_price_history - schema: public -- name: token_prices - using: - foreign_key_constraint_on: - column: unit_name - table: - name: token_price - schema: public + - name: token_price_histories + using: + foreign_key_constraint_on: + column: unit_name + table: + name: token_price_history + schema: public + - name: token_prices + using: + foreign_key_constraint_on: + column: unit_name + table: + name: token_price + schema: public select_permissions: -- permission: - allow_aggregations: false - columns: - - aliases - - denom - - exponent - - price_id - - token_name - filter: {} - limit: 100 - role: anonymous + - role: anonymous + permission: + columns: + - aliases + - denom + - exponent + - price_id + - token_name + filter: {} + limit: 100 diff --git a/hasura/metadata/databases/bdjuno/tables/public_transaction.yaml b/hasura/metadata/databases/bdjuno/tables/public_transaction.yaml index df1e20fe1..29f5e1b53 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_transaction.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_transaction.yaml @@ -2,25 +2,24 @@ table: name: transaction schema: public object_relationships: -- name: block - using: - foreign_key_constraint_on: height + - name: block + using: + foreign_key_constraint_on: height select_permissions: -- permission: - allow_aggregations: false - columns: - - hash - - height - - success - - messages - - memo - - signatures - - signer_infos - - fee - - gas_wanted - - gas_used - - raw_log - - logs - filter: {} - limit: 100 - role: anonymous + - role: anonymous + permission: + columns: + - hash + - height + - success + - messages + - memo + - signatures + - signer_infos + - fee + - gas_wanted + - gas_used + - raw_log + - logs + filter: {} + limit: 100 diff --git a/hasura/metadata/databases/bdjuno/tables/public_validator.yaml b/hasura/metadata/databases/bdjuno/tables/public_validator.yaml index b4eac1c63..26f21a74e 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_validator.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_validator.yaml @@ -2,103 +2,102 @@ table: name: validator schema: public object_relationships: -- name: validator_info - using: - manual_configuration: - column_mapping: - consensus_address: consensus_address - insertion_order: null - remote_table: - name: validator_info - schema: public -- name: proposal_validator_status_snapshot - using: - manual_configuration: - column_mapping: - consensus_address: validator_address - insertion_order: null - remote_table: - name: proposal_validator_status_snapshot - schema: public + - name: proposal_validator_status_snapshot + using: + manual_configuration: + column_mapping: + consensus_address: validator_address + insertion_order: null + remote_table: + name: proposal_validator_status_snapshot + schema: public + - name: validator_info + using: + manual_configuration: + column_mapping: + consensus_address: consensus_address + insertion_order: null + remote_table: + name: validator_info + schema: public array_relationships: -- name: blocks - using: - foreign_key_constraint_on: - column: proposer_address - table: - name: block - schema: public -- name: double_sign_votes - using: - foreign_key_constraint_on: - column: validator_address - table: - name: double_sign_vote - schema: public -- name: pre_commits - using: - foreign_key_constraint_on: - column: validator_address - table: - name: pre_commit - schema: public -- name: validator_commissions - using: - foreign_key_constraint_on: - column: validator_address - table: - name: validator_commission - schema: public -- name: validator_descriptions - using: - foreign_key_constraint_on: - column: validator_address - table: - name: validator_description - schema: public -- name: validator_infos - using: - foreign_key_constraint_on: - column: consensus_address - table: - name: validator_info - schema: public -- name: validator_signing_infos - using: - manual_configuration: - column_mapping: - consensus_address: validator_address - insertion_order: null - remote_table: - name: validator_signing_info - schema: public -- name: validator_statuses - using: - foreign_key_constraint_on: - column: validator_address - table: - name: validator_status - schema: public -- name: validator_voting_powers - using: - foreign_key_constraint_on: - column: validator_address - table: - name: validator_voting_power - schema: public -- name: proposal_validator_status_snapshots - using: - foreign_key_constraint_on: - column: validator_address - table: - name: proposal_validator_status_snapshot - schema: public + - name: blocks + using: + foreign_key_constraint_on: + column: proposer_address + table: + name: block + schema: public + - name: double_sign_votes + using: + foreign_key_constraint_on: + column: validator_address + table: + name: double_sign_vote + schema: public + - name: pre_commits + using: + foreign_key_constraint_on: + column: validator_address + table: + name: pre_commit + schema: public + - name: proposal_validator_status_snapshots + using: + foreign_key_constraint_on: + column: validator_address + table: + name: proposal_validator_status_snapshot + schema: public + - name: validator_commissions + using: + foreign_key_constraint_on: + column: validator_address + table: + name: validator_commission + schema: public + - name: validator_descriptions + using: + foreign_key_constraint_on: + column: validator_address + table: + name: validator_description + schema: public + - name: validator_infos + using: + foreign_key_constraint_on: + column: consensus_address + table: + name: validator_info + schema: public + - name: validator_signing_infos + using: + manual_configuration: + column_mapping: + consensus_address: validator_address + insertion_order: null + remote_table: + name: validator_signing_info + schema: public + - name: validator_statuses + using: + foreign_key_constraint_on: + column: validator_address + table: + name: validator_status + schema: public + - name: validator_voting_powers + using: + foreign_key_constraint_on: + column: validator_address + table: + name: validator_voting_power + schema: public select_permissions: -- permission: - allow_aggregations: false - columns: - - consensus_address - - consensus_pubkey - filter: {} - limit: 100 - role: anonymous + - role: anonymous + permission: + columns: + - consensus_address + - consensus_pubkey + filter: {} + limit: 100 diff --git a/hasura/metadata/databases/bdjuno/tables/public_validator_commission.yaml b/hasura/metadata/databases/bdjuno/tables/public_validator_commission.yaml index 17a916133..4927930d0 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_validator_commission.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_validator_commission.yaml @@ -2,17 +2,16 @@ table: name: validator_commission schema: public object_relationships: -- name: validator - using: - foreign_key_constraint_on: validator_address + - name: validator + using: + foreign_key_constraint_on: validator_address select_permissions: -- permission: - allow_aggregations: false - columns: - - validator_address - - commission - - min_self_delegation - - height - filter: {} - limit: 100 - role: anonymous + - role: anonymous + permission: + columns: + - validator_address + - commission + - min_self_delegation + - height + filter: {} + limit: 100 diff --git a/hasura/metadata/databases/bdjuno/tables/public_validator_description.yaml b/hasura/metadata/databases/bdjuno/tables/public_validator_description.yaml index ca95d9400..445f6ba83 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_validator_description.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_validator_description.yaml @@ -2,21 +2,20 @@ table: name: validator_description schema: public object_relationships: -- name: validator - using: - foreign_key_constraint_on: validator_address + - name: validator + using: + foreign_key_constraint_on: validator_address select_permissions: -- permission: - allow_aggregations: false - columns: - - validator_address - - moniker - - identity - - website - - security_contact - - details - - height - - avatar_url - filter: {} - limit: 100 - role: anonymous + - role: anonymous + permission: + columns: + - validator_address + - moniker + - identity + - website + - security_contact + - details + - height + - avatar_url + filter: {} + limit: 100 diff --git a/hasura/metadata/databases/bdjuno/tables/public_validator_info.yaml b/hasura/metadata/databases/bdjuno/tables/public_validator_info.yaml index 0979040eb..39f4b213f 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_validator_info.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_validator_info.yaml @@ -2,21 +2,20 @@ table: name: validator_info schema: public object_relationships: -- name: account - using: - foreign_key_constraint_on: self_delegate_address -- name: validator - using: - foreign_key_constraint_on: consensus_address + - name: account + using: + foreign_key_constraint_on: self_delegate_address + - name: validator + using: + foreign_key_constraint_on: consensus_address select_permissions: -- permission: - allow_aggregations: false - columns: - - consensus_address - - operator_address - - self_delegate_address - - max_change_rate - - max_rate - filter: {} - limit: 100 - role: anonymous + - role: anonymous + permission: + columns: + - consensus_address + - operator_address + - self_delegate_address + - max_change_rate + - max_rate + filter: {} + limit: 100 diff --git a/hasura/metadata/databases/bdjuno/tables/public_validator_signing_info.yaml b/hasura/metadata/databases/bdjuno/tables/public_validator_signing_info.yaml index 8040e8a26..a6ceed97e 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_validator_signing_info.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_validator_signing_info.yaml @@ -2,16 +2,15 @@ table: name: validator_signing_info schema: public select_permissions: -- permission: - allow_aggregations: false - columns: - - validator_address - - start_height - - index_offset - - jailed_until - - tombstoned - - missed_blocks_counter - - height - filter: {} - limit: 100 - role: anonymous + - role: anonymous + permission: + columns: + - validator_address + - start_height + - index_offset + - jailed_until + - tombstoned + - missed_blocks_counter + - height + filter: {} + limit: 100 diff --git a/hasura/metadata/databases/bdjuno/tables/public_validator_status.yaml b/hasura/metadata/databases/bdjuno/tables/public_validator_status.yaml index 32f212d54..1d6f8e538 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_validator_status.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_validator_status.yaml @@ -2,17 +2,17 @@ table: name: validator_status schema: public object_relationships: -- name: validator - using: - foreign_key_constraint_on: validator_address + - name: validator + using: + foreign_key_constraint_on: validator_address select_permissions: -- permission: - allow_aggregations: true - columns: - - validator_address - - status - - jailed - - height - filter: {} - limit: 100 - role: anonymous + - role: anonymous + permission: + columns: + - validator_address + - status + - jailed + - height + filter: {} + limit: 100 + allow_aggregations: true diff --git a/hasura/metadata/databases/bdjuno/tables/public_validator_voting_power.yaml b/hasura/metadata/databases/bdjuno/tables/public_validator_voting_power.yaml index fc5f76302..6b4972ead 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_validator_voting_power.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_validator_voting_power.yaml @@ -2,19 +2,19 @@ table: name: validator_voting_power schema: public object_relationships: -- name: block - using: - foreign_key_constraint_on: height -- name: validator - using: - foreign_key_constraint_on: validator_address + - name: block + using: + foreign_key_constraint_on: height + - name: validator + using: + foreign_key_constraint_on: validator_address select_permissions: -- permission: - allow_aggregations: true - columns: - - validator_address - - voting_power - - height - filter: {} - limit: 100 - role: anonymous + - role: anonymous + permission: + columns: + - validator_address + - voting_power + - height + filter: {} + limit: 100 + allow_aggregations: true diff --git a/hasura/metadata/databases/bdjuno/tables/public_vesting_account.yaml b/hasura/metadata/databases/bdjuno/tables/public_vesting_account.yaml index aba91ce74..37b503c53 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_vesting_account.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_vesting_account.yaml @@ -2,26 +2,25 @@ table: name: vesting_account schema: public object_relationships: -- name: account - using: - foreign_key_constraint_on: address + - name: account + using: + foreign_key_constraint_on: address array_relationships: -- name: vesting_periods - using: - foreign_key_constraint_on: - column: vesting_account_id - table: - name: vesting_period - schema: public + - name: vesting_periods + using: + foreign_key_constraint_on: + column: vesting_account_id + table: + name: vesting_period + schema: public select_permissions: -- permission: - allow_aggregations: false - columns: - - type - - address - - original_vesting - - end_time - - start_time - filter: {} - limit: 100 - role: anonymous + - role: anonymous + permission: + columns: + - type + - address + - original_vesting + - end_time + - start_time + filter: {} + limit: 100 diff --git a/hasura/metadata/databases/bdjuno/tables/public_vesting_period.yaml b/hasura/metadata/databases/bdjuno/tables/public_vesting_period.yaml index f56da44ac..fd0e5c464 100644 --- a/hasura/metadata/databases/bdjuno/tables/public_vesting_period.yaml +++ b/hasura/metadata/databases/bdjuno/tables/public_vesting_period.yaml @@ -2,16 +2,15 @@ table: name: vesting_period schema: public object_relationships: -- name: vesting_account - using: - foreign_key_constraint_on: vesting_account_id + - name: vesting_account + using: + foreign_key_constraint_on: vesting_account_id select_permissions: -- permission: - allow_aggregations: false - columns: - - period_order - - length - - amount - filter: {} - limit: 100 - role: anonymous + - role: anonymous + permission: + columns: + - period_order + - length + - amount + filter: {} + limit: 100 diff --git a/hasura/metadata/graphql_schema_introspection.yaml b/hasura/metadata/graphql_schema_introspection.yaml new file mode 100644 index 000000000..61a4dcac2 --- /dev/null +++ b/hasura/metadata/graphql_schema_introspection.yaml @@ -0,0 +1 @@ +disabled_for_roles: [] diff --git a/hasura/metadata/inherited_roles.yaml b/hasura/metadata/inherited_roles.yaml new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/hasura/metadata/inherited_roles.yaml @@ -0,0 +1 @@ +[] diff --git a/hasura/metadata/metrics_config.yaml b/hasura/metadata/metrics_config.yaml new file mode 100644 index 000000000..0967ef424 --- /dev/null +++ b/hasura/metadata/metrics_config.yaml @@ -0,0 +1 @@ +{} diff --git a/hasura/metadata/network.yaml b/hasura/metadata/network.yaml new file mode 100644 index 000000000..0967ef424 --- /dev/null +++ b/hasura/metadata/network.yaml @@ -0,0 +1 @@ +{} diff --git a/hasura/metadata/opentelemetry.yaml b/hasura/metadata/opentelemetry.yaml new file mode 100644 index 000000000..0967ef424 --- /dev/null +++ b/hasura/metadata/opentelemetry.yaml @@ -0,0 +1 @@ +{}