Skip to content

Commit cf0d8d5

Browse files
committed
chore: Metadata updates
1 parent c9a7286 commit cf0d8d5

23 files changed

+279
-0
lines changed

hasura/metadata/databases/default/tables/public_accounts.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,11 @@ array_relationships:
4444
table:
4545
name: validator_infos
4646
schema: public
47+
select_permissions:
48+
- role: anonymous
49+
permission:
50+
columns:
51+
- address
52+
filter: {}
53+
allow_aggregations: true
54+
comment: ""
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
11
table:
22
name: average_block_time_per_day
33
schema: public
4+
select_permissions:
5+
- role: anonymous
6+
permission:
7+
columns:
8+
- height
9+
- one_row_id
10+
- average_time
11+
filter: {}
12+
allow_aggregations: true
13+
comment: ""
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
11
table:
22
name: average_block_time_per_hour
33
schema: public
4+
select_permissions:
5+
- role: anonymous
6+
permission:
7+
columns:
8+
- height
9+
- one_row_id
10+
- average_time
11+
filter: {}
12+
allow_aggregations: true
13+
comment: ""
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
11
table:
22
name: average_block_time_per_minute
33
schema: public
4+
select_permissions:
5+
- role: anonymous
6+
permission:
7+
columns:
8+
- height
9+
- one_row_id
10+
- average_time
11+
filter: {}
12+
allow_aggregations: true
13+
comment: ""

hasura/metadata/databases/default/tables/public_balances.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,13 @@ object_relationships:
88
- name: block
99
using:
1010
foreign_key_constraint_on: height
11+
select_permissions:
12+
- role: anonymous
13+
permission:
14+
columns:
15+
- coins
16+
- height
17+
- address
18+
filter: {}
19+
allow_aggregations: true
20+
comment: ""

hasura/metadata/databases/default/tables/public_blocks.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,3 +111,17 @@ array_relationships:
111111
table:
112112
name: validator_voting_powers
113113
schema: public
114+
select_permissions:
115+
- role: anonymous
116+
permission:
117+
columns:
118+
- height
119+
- total_gas
120+
- num_txs
121+
- signed_by
122+
- hash
123+
- proposer_address
124+
- timestamp
125+
filter: {}
126+
allow_aggregations: true
127+
comment: ""

hasura/metadata/databases/default/tables/public_gov_params.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,12 @@ object_relationships:
55
- name: block
66
using:
77
foreign_key_constraint_on: height
8+
select_permissions:
9+
- role: anonymous
10+
permission:
11+
columns:
12+
- height
13+
- params
14+
filter: {}
15+
allow_aggregations: true
16+
comment: ""

hasura/metadata/databases/default/tables/public_proposal_deposits.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,15 @@ object_relationships:
1111
- name: proposal
1212
using:
1313
foreign_key_constraint_on: proposal_id
14+
select_permissions:
15+
- role: anonymous
16+
permission:
17+
columns:
18+
- amount
19+
- height
20+
- proposal_id
21+
- depositor_address
22+
- timestamp
23+
filter: {}
24+
allow_aggregations: true
25+
comment: ""

hasura/metadata/databases/default/tables/public_proposal_staking_pool_snapshots.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,14 @@ object_relationships:
88
- name: proposal
99
using:
1010
foreign_key_constraint_on: proposal_id
11+
select_permissions:
12+
- role: anonymous
13+
permission:
14+
columns:
15+
- height
16+
- proposal_id
17+
- bonded_tokens
18+
- not_bonded_tokens
19+
filter: {}
20+
allow_aggregations: true
21+
comment: ""

hasura/metadata/databases/default/tables/public_proposal_tally_results.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,16 @@ object_relationships:
88
- name: proposal
99
using:
1010
foreign_key_constraint_on: proposal_id
11+
select_permissions:
12+
- role: anonymous
13+
permission:
14+
columns:
15+
- height
16+
- proposal_id
17+
- abstain
18+
- "no"
19+
- no_with_veto
20+
- "yes"
21+
filter: {}
22+
allow_aggregations: true
23+
comment: ""

0 commit comments

Comments
 (0)