-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: create hasura directory for develop branch (#342)
- Loading branch information
1 parent
60dbf4e
commit a10a8ee
Showing
188 changed files
with
5,766 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
version: 3 | ||
endpoint: http://localhost:8080 | ||
metadata_directory: metadata | ||
actions: | ||
kind: synchronous | ||
handler_webhook_baseurl: http://localhost:3000 |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
actions: [] | ||
custom_types: | ||
enums: [] | ||
input_objects: [] | ||
objects: [] | ||
scalars: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- collection: allowed-queries | ||
scope: | ||
global: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- "!include public_related_contract_address.yaml" |
3 changes: 3 additions & 0 deletions
3
hasura/metadata/databases/auratestnet/functions/public_related_contract_address.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
function: | ||
name: related_contract_address | ||
schema: public |
28 changes: 28 additions & 0 deletions
28
hasura/metadata/databases/auratestnet/tables/public_account.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
table: | ||
name: account | ||
schema: public | ||
object_relationships: | ||
- name: account_vesting | ||
using: | ||
foreign_key_constraint_on: | ||
column: account_id | ||
table: | ||
name: account_vesting | ||
schema: public | ||
select_permissions: | ||
- role: internal_service | ||
permission: | ||
columns: | ||
- address | ||
- type | ||
- account_number | ||
- id | ||
- sequence | ||
- balances | ||
- pubkey | ||
- spendable_balances | ||
- created_at | ||
- updated_at | ||
filter: {} | ||
limit: 100 | ||
allow_aggregations: true |
17 changes: 17 additions & 0 deletions
17
hasura/metadata/databases/auratestnet/tables/public_account_statistics.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
table: | ||
name: account_statistics | ||
schema: public | ||
select_permissions: | ||
- role: internal_service | ||
permission: | ||
columns: | ||
- id | ||
- address | ||
- amount_sent | ||
- amount_received | ||
- tx_sent | ||
- gas_used | ||
- date | ||
filter: {} | ||
limit: 100 | ||
allow_aggregations: true |
23 changes: 23 additions & 0 deletions
23
hasura/metadata/databases/auratestnet/tables/public_account_vesting.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
table: | ||
name: account_vesting | ||
schema: public | ||
object_relationships: | ||
- name: account | ||
using: | ||
foreign_key_constraint_on: account_id | ||
select_permissions: | ||
- role: internal_service | ||
permission: | ||
columns: | ||
- account_id | ||
- end_time | ||
- id | ||
- start_time | ||
- delegated_free | ||
- delegated_vesting | ||
- original_vesting | ||
- created_at | ||
- updated_at | ||
filter: {} | ||
limit: 100 | ||
allow_aggregations: true |
63 changes: 63 additions & 0 deletions
63
hasura/metadata/databases/auratestnet/tables/public_block.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
table: | ||
name: block | ||
schema: public | ||
object_relationships: | ||
- name: validator | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
proposer_address: consensus_hex_address | ||
insertion_order: null | ||
remote_table: | ||
name: validator | ||
schema: public | ||
array_relationships: | ||
- name: block_signatures | ||
using: | ||
foreign_key_constraint_on: | ||
column: height | ||
table: | ||
name: block_signature | ||
schema: public | ||
- name: event_attributes | ||
using: | ||
foreign_key_constraint_on: | ||
column: block_height | ||
table: | ||
name: event_attribute | ||
schema: public | ||
- name: events | ||
using: | ||
foreign_key_constraint_on: | ||
column: block_height | ||
table: | ||
name: event | ||
schema: public | ||
- name: transactions | ||
using: | ||
foreign_key_constraint_on: | ||
column: height | ||
table: | ||
name: transaction | ||
schema: public | ||
select_permissions: | ||
- role: internal_service | ||
permission: | ||
columns: | ||
- height | ||
- hash | ||
- time | ||
- proposer_address | ||
- data | ||
filter: {} | ||
limit: 100 | ||
- role: public | ||
permission: | ||
columns: | ||
- height | ||
- hash | ||
- time | ||
- proposer_address | ||
- data | ||
filter: {} | ||
limit: 100 |
24 changes: 24 additions & 0 deletions
24
hasura/metadata/databases/auratestnet/tables/public_block_checkpoint.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
table: | ||
name: block_checkpoint | ||
schema: public | ||
select_permissions: | ||
- role: internal_service | ||
permission: | ||
columns: | ||
- job_name | ||
- height | ||
- id | ||
- created_at | ||
- updated_at | ||
filter: {} | ||
limit: 100 | ||
- role: public | ||
permission: | ||
columns: | ||
- job_name | ||
- height | ||
- id | ||
- created_at | ||
- updated_at | ||
filter: {} | ||
limit: 100 |
39 changes: 39 additions & 0 deletions
39
hasura/metadata/databases/auratestnet/tables/public_block_signature.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
table: | ||
name: block_signature | ||
schema: public | ||
object_relationships: | ||
- name: block | ||
using: | ||
foreign_key_constraint_on: height | ||
- name: validator | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
validator_address: consensus_hex_address | ||
insertion_order: null | ||
remote_table: | ||
name: validator | ||
schema: public | ||
select_permissions: | ||
- role: internal_service | ||
permission: | ||
columns: | ||
- validator_address | ||
- block_id_flag | ||
- height | ||
- id | ||
- signature | ||
- timestamp | ||
filter: {} | ||
limit: 100 | ||
- role: public | ||
permission: | ||
columns: | ||
- validator_address | ||
- block_id_flag | ||
- height | ||
- id | ||
- signature | ||
- timestamp | ||
filter: {} | ||
limit: 100 |
3 changes: 3 additions & 0 deletions
3
hasura/metadata/databases/auratestnet/tables/public_checkpoint.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
table: | ||
name: checkpoint | ||
schema: public |
50 changes: 50 additions & 0 deletions
50
hasura/metadata/databases/auratestnet/tables/public_code.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
table: | ||
name: code | ||
schema: public | ||
array_relationships: | ||
- name: code_id_verifications | ||
using: | ||
foreign_key_constraint_on: | ||
column: code_id | ||
table: | ||
name: code_id_verification | ||
schema: public | ||
- name: smart_contracts | ||
using: | ||
foreign_key_constraint_on: | ||
column: code_id | ||
table: | ||
name: smart_contract | ||
schema: public | ||
select_permissions: | ||
- role: internal_service | ||
permission: | ||
columns: | ||
- creator | ||
- data_hash | ||
- status | ||
- store_hash | ||
- type | ||
- code_id | ||
- store_height | ||
- instantiate_permission | ||
- created_at | ||
- updated_at | ||
filter: {} | ||
limit: 100 | ||
allow_aggregations: true | ||
- role: public | ||
permission: | ||
columns: | ||
- creator | ||
- data_hash | ||
- status | ||
- store_hash | ||
- type | ||
- code_id | ||
- store_height | ||
- instantiate_permission | ||
- created_at | ||
- updated_at | ||
filter: {} | ||
limit: 100 |
27 changes: 27 additions & 0 deletions
27
hasura/metadata/databases/auratestnet/tables/public_code_id_verification.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
table: | ||
name: code_id_verification | ||
schema: public | ||
object_relationships: | ||
- name: code | ||
using: | ||
foreign_key_constraint_on: code_id | ||
select_permissions: | ||
- role: internal_service | ||
permission: | ||
columns: | ||
- compiler_version | ||
- data_hash | ||
- github_url | ||
- s3_location | ||
- verification_status | ||
- code_id | ||
- id | ||
- verify_step | ||
- execute_msg_schema | ||
- instantiate_msg_schema | ||
- query_msg_schema | ||
- created_at | ||
- updated_at | ||
- verified_at | ||
filter: {} | ||
limit: 100 |
25 changes: 25 additions & 0 deletions
25
hasura/metadata/databases/auratestnet/tables/public_cw20_activity.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
table: | ||
name: cw20_activity | ||
schema: public | ||
object_relationships: | ||
- name: cw20_contract | ||
using: | ||
foreign_key_constraint_on: cw20_contract_id | ||
- name: smart_contract_event | ||
using: | ||
foreign_key_constraint_on: smart_contract_event_id | ||
select_permissions: | ||
- role: internal_service | ||
permission: | ||
columns: | ||
- action | ||
- from | ||
- sender | ||
- to | ||
- cw20_contract_id | ||
- height | ||
- id | ||
- smart_contract_event_id | ||
- amount | ||
filter: {} | ||
limit: 100 |
46 changes: 46 additions & 0 deletions
46
hasura/metadata/databases/auratestnet/tables/public_cw20_contract.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
table: | ||
name: cw20_contract | ||
schema: public | ||
object_relationships: | ||
- name: smart_contract | ||
using: | ||
foreign_key_constraint_on: smart_contract_id | ||
array_relationships: | ||
- name: cw20_activities | ||
using: | ||
foreign_key_constraint_on: | ||
column: cw20_contract_id | ||
table: | ||
name: cw20_activity | ||
schema: public | ||
- name: cw20_holders | ||
using: | ||
foreign_key_constraint_on: | ||
column: cw20_contract_id | ||
table: | ||
name: cw20_holder | ||
schema: public | ||
- name: cw20_total_holder_stats | ||
using: | ||
foreign_key_constraint_on: | ||
column: cw20_contract_id | ||
table: | ||
name: cw20_total_holder_stats | ||
schema: public | ||
select_permissions: | ||
- role: internal_service | ||
permission: | ||
columns: | ||
- track | ||
- decimal | ||
- minter | ||
- name | ||
- symbol | ||
- id | ||
- last_updated_height | ||
- smart_contract_id | ||
- marketing_info | ||
- total_supply | ||
filter: {} | ||
limit: 100 | ||
allow_aggregations: true |
Oops, something went wrong.