-
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.
- Loading branch information
1 parent
1c22b97
commit de89044
Showing
30 changed files
with
932 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
29 changes: 29 additions & 0 deletions
29
hasura/metadata/databases/odessey/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,29 @@ | ||
table: | ||
name: account | ||
schema: public | ||
array_relationships: | ||
- name: account_balances | ||
using: | ||
foreign_key_constraint_on: | ||
column: account_id | ||
table: | ||
name: account_balance | ||
schema: public | ||
select_permissions: | ||
- role: internal_service | ||
permission: | ||
columns: | ||
- address | ||
- code_hash | ||
- evm_address | ||
- type | ||
- account_number | ||
- id | ||
- sequence | ||
- balances | ||
- pubkey | ||
- spendable_balances | ||
- created_at | ||
- updated_at | ||
filter: {} | ||
limit: 100 |
22 changes: 22 additions & 0 deletions
22
hasura/metadata/databases/odessey/tables/public_account_balance.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,22 @@ | ||
table: | ||
name: account_balance | ||
schema: public | ||
object_relationships: | ||
- name: account | ||
using: | ||
foreign_key_constraint_on: account_id | ||
select_permissions: | ||
- role: internal_service | ||
permission: | ||
columns: | ||
- id | ||
- account_id | ||
- denom | ||
- amount | ||
- base_denom | ||
- created_at | ||
- last_updated_height | ||
- type | ||
filter: {} | ||
limit: 100 | ||
allow_aggregations: true |
16 changes: 16 additions & 0 deletions
16
hasura/metadata/databases/odessey/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,16 @@ | ||
table: | ||
name: account_statistics | ||
schema: public | ||
select_permissions: | ||
- role: internal_service | ||
permission: | ||
columns: | ||
- address | ||
- id | ||
- tx_sent | ||
- amount_received | ||
- amount_sent | ||
- gas_used | ||
- date | ||
filter: {} | ||
limit: 100 |
18 changes: 18 additions & 0 deletions
18
hasura/metadata/databases/odessey/tables/public_asset.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,18 @@ | ||
table: | ||
name: asset | ||
schema: public | ||
select_permissions: | ||
- role: internal_service | ||
permission: | ||
columns: | ||
- id | ||
- denom | ||
- decimal | ||
- name | ||
- type | ||
- price | ||
- total_supply | ||
- origin_id | ||
- updated_at | ||
filter: {} | ||
limit: 100 |
3 changes: 3 additions & 0 deletions
3
hasura/metadata/databases/odessey/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,3 @@ | ||
table: | ||
name: block_checkpoint | ||
schema: public |
14 changes: 14 additions & 0 deletions
14
hasura/metadata/databases/odessey/tables/public_daily_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,14 @@ | ||
table: | ||
name: daily_statistics | ||
schema: public | ||
select_permissions: | ||
- role: internal_service | ||
permission: | ||
columns: | ||
- id | ||
- daily_txs | ||
- daily_active_addresses | ||
- unique_addresses | ||
- date | ||
filter: {} | ||
limit: 365 |
17 changes: 17 additions & 0 deletions
17
hasura/metadata/databases/odessey/tables/public_delegator.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: delegator | ||
schema: public | ||
object_relationships: | ||
- name: validator | ||
using: | ||
foreign_key_constraint_on: validator_id | ||
select_permissions: | ||
- role: internal_service | ||
permission: | ||
columns: | ||
- delegator_address | ||
- id | ||
- validator_id | ||
- amount | ||
filter: {} | ||
limit: 100 |
33 changes: 33 additions & 0 deletions
33
hasura/metadata/databases/odessey/tables/public_erc20_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,33 @@ | ||
table: | ||
name: erc20_activity | ||
schema: public | ||
object_relationships: | ||
- name: erc20_contract | ||
using: | ||
foreign_key_constraint_on: erc20_contract_address | ||
- name: evm_transaction | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
evm_tx_id: id | ||
insertion_order: null | ||
remote_table: | ||
name: evm_transaction | ||
schema: public | ||
select_permissions: | ||
- role: internal_service | ||
permission: | ||
columns: | ||
- action | ||
- amount | ||
- erc20_contract_address | ||
- evm_event_id | ||
- evm_tx_id | ||
- from | ||
- height | ||
- id | ||
- sender | ||
- to | ||
- tx_hash | ||
filter: {} | ||
limit: 100 |
56 changes: 56 additions & 0 deletions
56
hasura/metadata/databases/odessey/tables/public_erc20_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,56 @@ | ||
table: | ||
name: erc20_contract | ||
schema: public | ||
object_relationships: | ||
- name: evm_smart_contract | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
evm_smart_contract_id: id | ||
insertion_order: null | ||
remote_table: | ||
name: evm_smart_contract | ||
schema: public | ||
array_relationships: | ||
- name: erc20_activities | ||
using: | ||
foreign_key_constraint_on: | ||
column: erc20_contract_address | ||
table: | ||
name: erc20_activity | ||
schema: public | ||
- name: evm_internal_transaction_from | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
address: from | ||
insertion_order: null | ||
remote_table: | ||
name: evm_internal_transaction | ||
schema: public | ||
- name: evm_internal_transaction_to | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
address: to | ||
insertion_order: null | ||
remote_table: | ||
name: evm_internal_transaction | ||
schema: public | ||
select_permissions: | ||
- role: internal_service | ||
permission: | ||
columns: | ||
- address | ||
- decimal | ||
- evm_smart_contract_id | ||
- id | ||
- last_updated_height | ||
- name | ||
- symbol | ||
- total_actions | ||
- total_holder | ||
- total_supply | ||
- track | ||
filter: {} | ||
limit: 100 |
37 changes: 37 additions & 0 deletions
37
hasura/metadata/databases/odessey/tables/public_erc721_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,37 @@ | ||
table: | ||
name: erc721_activity | ||
schema: public | ||
object_relationships: | ||
- name: erc721_contract | ||
using: | ||
foreign_key_constraint_on: erc721_contract_address | ||
- name: erc721_token | ||
using: | ||
foreign_key_constraint_on: erc721_token_id | ||
- name: evm_transaction | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
evm_tx_id: id | ||
insertion_order: null | ||
remote_table: | ||
name: evm_transaction | ||
schema: public | ||
select_permissions: | ||
- role: internal_service | ||
permission: | ||
columns: | ||
- id | ||
- tx_hash | ||
- erc721_contract_address | ||
- evm_event_id | ||
- action | ||
- sender | ||
- from | ||
- to | ||
- height | ||
- erc721_token_id | ||
- evm_tx_id | ||
filter: {} | ||
limit: 100 | ||
allow_aggregations: true |
69 changes: 69 additions & 0 deletions
69
hasura/metadata/databases/odessey/tables/public_erc721_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,69 @@ | ||
table: | ||
name: erc721_contract | ||
schema: public | ||
object_relationships: | ||
- name: erc721_stat | ||
using: | ||
foreign_key_constraint_on: | ||
column: erc721_contract_id | ||
table: | ||
name: erc721_stats | ||
schema: public | ||
- name: evm_smart_contract | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
evm_smart_contract_id: id | ||
insertion_order: null | ||
remote_table: | ||
name: evm_smart_contract | ||
schema: public | ||
array_relationships: | ||
- name: erc721_activities | ||
using: | ||
foreign_key_constraint_on: | ||
column: erc721_contract_address | ||
table: | ||
name: erc721_activity | ||
schema: public | ||
- name: erc721_tokens | ||
using: | ||
foreign_key_constraint_on: | ||
column: erc721_contract_address | ||
table: | ||
name: erc721_token | ||
schema: public | ||
- name: evm_internal_transaction_from | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
address: from | ||
insertion_order: null | ||
remote_table: | ||
name: evm_internal_transaction | ||
schema: public | ||
- name: evm_internal_transaction_to | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
address: to | ||
insertion_order: null | ||
remote_table: | ||
name: evm_internal_transaction | ||
schema: public | ||
select_permissions: | ||
- role: internal_service | ||
permission: | ||
columns: | ||
- address | ||
- evm_smart_contract_id | ||
- id | ||
- last_updated_height | ||
- name | ||
- symbol | ||
- total_actions | ||
- total_supply | ||
- track | ||
filter: {} | ||
limit: 100 | ||
allow_aggregations: true |
15 changes: 15 additions & 0 deletions
15
hasura/metadata/databases/odessey/tables/public_erc721_holder_statistic.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,15 @@ | ||
table: | ||
name: erc721_holder_statistic | ||
schema: public | ||
select_permissions: | ||
- role: internal_service | ||
permission: | ||
columns: | ||
- count | ||
- owner | ||
- erc721_contract_address | ||
- id | ||
- last_updated_height | ||
filter: {} | ||
limit: 100 | ||
allow_aggregations: true |
19 changes: 19 additions & 0 deletions
19
hasura/metadata/databases/odessey/tables/public_erc721_stats.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,19 @@ | ||
table: | ||
name: erc721_stats | ||
schema: public | ||
object_relationships: | ||
- name: erc721_contract | ||
using: | ||
foreign_key_constraint_on: erc721_contract_id | ||
select_permissions: | ||
- role: internal_service | ||
permission: | ||
columns: | ||
- id | ||
- erc721_contract_id | ||
- total_activity | ||
- transfer_24h | ||
- updated_at | ||
filter: {} | ||
limit: 100 | ||
allow_aggregations: true |
Oops, something went wrong.