diff --git a/hasura/metadata/databases/databases.yaml b/hasura/metadata/databases/databases.yaml index 3af3d0fba..e96011045 100644 --- a/hasura/metadata/databases/databases.yaml +++ b/hasura/metadata/databases/databases.yaml @@ -76,6 +76,21 @@ type_names: prefix: euphoria_ tables: '!include euphoria/tables/tables.yaml' +- name: odyssey + kind: postgres + configuration: + connection_info: + database_url: + from_env: DATABASE_URL_ODYSSEY_TESTNET + isolation_level: read-committed + use_prepared_statements: false + customization: + naming_convention: hasura-default + root_fields: + namespace: odyssey + type_names: + prefix: odyssey_ + tables: '!include odyssey/tables/tables.yaml' - name: serenity kind: postgres configuration: diff --git a/hasura/metadata/databases/odessey/tables/public_account.yaml b/hasura/metadata/databases/odessey/tables/public_account.yaml new file mode 100644 index 000000000..23b91ba1d --- /dev/null +++ b/hasura/metadata/databases/odessey/tables/public_account.yaml @@ -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 diff --git a/hasura/metadata/databases/odessey/tables/public_account_balance.yaml b/hasura/metadata/databases/odessey/tables/public_account_balance.yaml new file mode 100644 index 000000000..e656ff216 --- /dev/null +++ b/hasura/metadata/databases/odessey/tables/public_account_balance.yaml @@ -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 diff --git a/hasura/metadata/databases/odessey/tables/public_account_statistics.yaml b/hasura/metadata/databases/odessey/tables/public_account_statistics.yaml new file mode 100644 index 000000000..bac6d8ac6 --- /dev/null +++ b/hasura/metadata/databases/odessey/tables/public_account_statistics.yaml @@ -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 diff --git a/hasura/metadata/databases/odessey/tables/public_asset.yaml b/hasura/metadata/databases/odessey/tables/public_asset.yaml new file mode 100644 index 000000000..573a95e4e --- /dev/null +++ b/hasura/metadata/databases/odessey/tables/public_asset.yaml @@ -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 diff --git a/hasura/metadata/databases/odessey/tables/public_block_checkpoint.yaml b/hasura/metadata/databases/odessey/tables/public_block_checkpoint.yaml new file mode 100644 index 000000000..0b2eaa620 --- /dev/null +++ b/hasura/metadata/databases/odessey/tables/public_block_checkpoint.yaml @@ -0,0 +1,3 @@ +table: + name: block_checkpoint + schema: public diff --git a/hasura/metadata/databases/odessey/tables/public_daily_statistics.yaml b/hasura/metadata/databases/odessey/tables/public_daily_statistics.yaml new file mode 100644 index 000000000..2f3e5714f --- /dev/null +++ b/hasura/metadata/databases/odessey/tables/public_daily_statistics.yaml @@ -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 diff --git a/hasura/metadata/databases/odessey/tables/public_delegator.yaml b/hasura/metadata/databases/odessey/tables/public_delegator.yaml new file mode 100644 index 000000000..0f73e8f78 --- /dev/null +++ b/hasura/metadata/databases/odessey/tables/public_delegator.yaml @@ -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 diff --git a/hasura/metadata/databases/odessey/tables/public_erc20_activity.yaml b/hasura/metadata/databases/odessey/tables/public_erc20_activity.yaml new file mode 100644 index 000000000..cb71b3518 --- /dev/null +++ b/hasura/metadata/databases/odessey/tables/public_erc20_activity.yaml @@ -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 diff --git a/hasura/metadata/databases/odessey/tables/public_erc20_contract.yaml b/hasura/metadata/databases/odessey/tables/public_erc20_contract.yaml new file mode 100644 index 000000000..d428bb998 --- /dev/null +++ b/hasura/metadata/databases/odessey/tables/public_erc20_contract.yaml @@ -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 diff --git a/hasura/metadata/databases/odessey/tables/public_erc721_activity.yaml b/hasura/metadata/databases/odessey/tables/public_erc721_activity.yaml new file mode 100644 index 000000000..9e8f24e94 --- /dev/null +++ b/hasura/metadata/databases/odessey/tables/public_erc721_activity.yaml @@ -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 diff --git a/hasura/metadata/databases/odessey/tables/public_erc721_contract.yaml b/hasura/metadata/databases/odessey/tables/public_erc721_contract.yaml new file mode 100644 index 000000000..12e21723f --- /dev/null +++ b/hasura/metadata/databases/odessey/tables/public_erc721_contract.yaml @@ -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 diff --git a/hasura/metadata/databases/odessey/tables/public_erc721_holder_statistic.yaml b/hasura/metadata/databases/odessey/tables/public_erc721_holder_statistic.yaml new file mode 100644 index 000000000..341952fae --- /dev/null +++ b/hasura/metadata/databases/odessey/tables/public_erc721_holder_statistic.yaml @@ -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 diff --git a/hasura/metadata/databases/odessey/tables/public_erc721_stats.yaml b/hasura/metadata/databases/odessey/tables/public_erc721_stats.yaml new file mode 100644 index 000000000..ca3fa5fb6 --- /dev/null +++ b/hasura/metadata/databases/odessey/tables/public_erc721_stats.yaml @@ -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 diff --git a/hasura/metadata/databases/odessey/tables/public_erc721_token.yaml b/hasura/metadata/databases/odessey/tables/public_erc721_token.yaml new file mode 100644 index 000000000..19052db3b --- /dev/null +++ b/hasura/metadata/databases/odessey/tables/public_erc721_token.yaml @@ -0,0 +1,29 @@ +table: + name: erc721_token + schema: public +object_relationships: + - name: erc721_contract + using: + foreign_key_constraint_on: erc721_contract_address +array_relationships: + - name: erc721_activities + using: + foreign_key_constraint_on: + column: erc721_token_id + table: + name: erc721_activity + schema: public +select_permissions: + - role: internal_service + permission: + columns: + - created_at + - erc721_contract_address + - id + - last_updated_height + - media_info + - owner + - token_id + filter: {} + limit: 100 + allow_aggregations: true diff --git a/hasura/metadata/databases/odessey/tables/public_evm_block.yaml b/hasura/metadata/databases/odessey/tables/public_evm_block.yaml new file mode 100644 index 000000000..4513b2bb6 --- /dev/null +++ b/hasura/metadata/databases/odessey/tables/public_evm_block.yaml @@ -0,0 +1,44 @@ +table: + name: evm_block + schema: public +object_relationships: + - name: validator + using: + manual_configuration: + column_mapping: + miner: evm_address + insertion_order: null + remote_table: + name: validator + schema: public +array_relationships: + - name: evm_transactions + using: + manual_configuration: + column_mapping: + height: height + insertion_order: null + remote_table: + name: evm_transaction + schema: public +select_permissions: + - role: internal_service + permission: + columns: + - height + - tx_count + - transactions + - base_fee_per_gas + - difficulty + - gas_limit + - gas_used + - extra_data + - hash + - miner + - nonce + - parent_hash + - receipts_root + - state_root + - timestamp + filter: {} + limit: 100 diff --git a/hasura/metadata/databases/odessey/tables/public_evm_contract_verification.yaml b/hasura/metadata/databases/odessey/tables/public_evm_contract_verification.yaml new file mode 100644 index 000000000..4c8c24df7 --- /dev/null +++ b/hasura/metadata/databases/odessey/tables/public_evm_contract_verification.yaml @@ -0,0 +1,21 @@ +table: + name: evm_contract_verification + schema: public +select_permissions: + - role: internal_service + permission: + columns: + - files + - code_hash + - compiler_version + - contract_address + - contract_name + - creator_tx_hash + - status + - id + - abi + - compile_detail + - created_at + - updated_at + filter: {} + limit: 100 diff --git a/hasura/metadata/databases/odessey/tables/public_evm_event.yaml b/hasura/metadata/databases/odessey/tables/public_evm_event.yaml new file mode 100644 index 000000000..945672fc3 --- /dev/null +++ b/hasura/metadata/databases/odessey/tables/public_evm_event.yaml @@ -0,0 +1,32 @@ +table: + name: evm_event + schema: public +object_relationships: + - name: evm_signature_mapping_topic0 + using: + manual_configuration: + column_mapping: + topic0: topic_hash + insertion_order: null + remote_table: + name: evm_signature_mapping + schema: public +select_permissions: + - role: internal_service + permission: + columns: + - address + - block_hash + - block_height + - data + - evm_tx_id + - id + - topic0 + - topic1 + - topic2 + - topic3 + - tx_hash + - tx_id + - tx_index + filter: {} + limit: 100 diff --git a/hasura/metadata/databases/odessey/tables/public_evm_internal_transaction.yaml b/hasura/metadata/databases/odessey/tables/public_evm_internal_transaction.yaml new file mode 100644 index 000000000..0b9a1e52e --- /dev/null +++ b/hasura/metadata/databases/odessey/tables/public_evm_internal_transaction.yaml @@ -0,0 +1,65 @@ +table: + name: evm_internal_transaction + schema: public +object_relationships: + - name: evm_erc20_contract_mapping_from + using: + manual_configuration: + column_mapping: + from: address + insertion_order: null + remote_table: + name: erc20_contract + schema: public + - name: evm_erc20_contract_mapping_to + using: + manual_configuration: + column_mapping: + to: address + insertion_order: null + remote_table: + name: erc20_contract + schema: public + - name: evm_erc721_contract_mapping_from + using: + manual_configuration: + column_mapping: + from: address + insertion_order: null + remote_table: + name: erc721_contract + schema: public + - name: evm_erc721_contract_mapping_to + using: + manual_configuration: + column_mapping: + to: address + insertion_order: null + remote_table: + name: erc721_contract + schema: public + - name: evm_transaction_id + 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 + - evm_tx_id + - type_trace_address + - type + - from + - to + - value + - input + - gas + - gas_used + filter: {} + limit: 100 diff --git a/hasura/metadata/databases/odessey/tables/public_evm_proxy_history.yaml b/hasura/metadata/databases/odessey/tables/public_evm_proxy_history.yaml new file mode 100644 index 000000000..d90f85937 --- /dev/null +++ b/hasura/metadata/databases/odessey/tables/public_evm_proxy_history.yaml @@ -0,0 +1,17 @@ +table: + name: evm_proxy_history + schema: public +select_permissions: + - role: internal_service + permission: + columns: + - id + - proxy_contract + - implementation_contract + - tx_hash + - block_height + - last_updated_height + - created_at + - updated_at + filter: {} + limit: 100 diff --git a/hasura/metadata/databases/odessey/tables/public_evm_signature_mapping.yaml b/hasura/metadata/databases/odessey/tables/public_evm_signature_mapping.yaml new file mode 100644 index 000000000..9a99e6a24 --- /dev/null +++ b/hasura/metadata/databases/odessey/tables/public_evm_signature_mapping.yaml @@ -0,0 +1,12 @@ +table: + name: evm_signature_mapping + schema: public +select_permissions: + - role: internal_service + permission: + columns: + - function_id + - human_readable_topic + - topic_hash + filter: {} + limit: 100 diff --git a/hasura/metadata/databases/odessey/tables/public_evm_smart_contract.yaml b/hasura/metadata/databases/odessey/tables/public_evm_smart_contract.yaml new file mode 100644 index 000000000..cae46fd0b --- /dev/null +++ b/hasura/metadata/databases/odessey/tables/public_evm_smart_contract.yaml @@ -0,0 +1,57 @@ +table: + name: evm_smart_contract + schema: public +object_relationships: + - name: erc20_contract + using: + manual_configuration: + column_mapping: + id: evm_smart_contract_id + insertion_order: null + remote_table: + name: erc20_contract + schema: public + - name: erc721_contract + using: + manual_configuration: + column_mapping: + id: evm_smart_contract_id + insertion_order: null + remote_table: + name: erc721_contract + schema: public +array_relationships: + - name: evm_contract_verifications + using: + manual_configuration: + column_mapping: + address: contract_address + insertion_order: null + remote_table: + name: evm_contract_verification + schema: public + - name: evm_proxy_histories + using: + manual_configuration: + column_mapping: + address: proxy_contract + insertion_order: null + remote_table: + name: evm_proxy_history + schema: public +select_permissions: + - role: internal_service + permission: + columns: + - address + - code_hash + - created_at + - created_hash + - created_height + - creator + - id + - type + - updated_at + filter: {} + limit: 100 + allow_aggregations: true diff --git a/hasura/metadata/databases/odessey/tables/public_evm_transaction.yaml b/hasura/metadata/databases/odessey/tables/public_evm_transaction.yaml new file mode 100644 index 000000000..5a5832f3b --- /dev/null +++ b/hasura/metadata/databases/odessey/tables/public_evm_transaction.yaml @@ -0,0 +1,92 @@ +table: + name: evm_transaction + schema: public +object_relationships: + - name: evm_block + using: + manual_configuration: + column_mapping: + height: height + insertion_order: null + remote_table: + name: evm_block + schema: public + - name: optimism_deposit + using: + manual_configuration: + column_mapping: + hash: l2_tx_hash + insertion_order: null + remote_table: + name: optimism_deposit + schema: public +array_relationships: + - name: erc20_activities + using: + manual_configuration: + column_mapping: + id: evm_tx_id + insertion_order: null + remote_table: + name: erc20_activity + schema: public + - name: erc721_activities + using: + manual_configuration: + column_mapping: + id: evm_tx_id + insertion_order: null + remote_table: + name: erc721_activity + schema: public + - name: evm_events + using: + manual_configuration: + column_mapping: + height: block_height + id: evm_tx_id + insertion_order: null + remote_table: + name: evm_event + schema: public + - name: evm_internal_transactions + using: + manual_configuration: + column_mapping: + id: evm_tx_id + insertion_order: null + remote_table: + name: evm_internal_transaction + schema: public +select_permissions: + - role: internal_service + permission: + columns: + - additional_data + - contract_address + - data + - from + - from_account_id + - gas + - gas_fee_cap + - gas_limit + - gas_price + - gas_tip_cap + - gas_used + - hash + - height + - id + - index + - nonce + - reason + - size + - status + - timestamp + - to + - to_account_id + - tx_id + - tx_msg_id + - type + - value + filter: {} + limit: 100 diff --git a/hasura/metadata/databases/odessey/tables/public_m_view_erc721_holder_statistic.yaml b/hasura/metadata/databases/odessey/tables/public_m_view_erc721_holder_statistic.yaml new file mode 100644 index 000000000..aac82251b --- /dev/null +++ b/hasura/metadata/databases/odessey/tables/public_m_view_erc721_holder_statistic.yaml @@ -0,0 +1,13 @@ +table: + name: m_view_erc721_holder_statistic + schema: public +select_permissions: + - role: internal_service + permission: + columns: + - owner + - erc721_contract_address + - count + filter: {} + limit: 100 + allow_aggregations: true diff --git a/hasura/metadata/databases/odessey/tables/public_optimism_deposit.yaml b/hasura/metadata/databases/odessey/tables/public_optimism_deposit.yaml new file mode 100644 index 000000000..cdb9b35b9 --- /dev/null +++ b/hasura/metadata/databases/odessey/tables/public_optimism_deposit.yaml @@ -0,0 +1,29 @@ +table: + name: optimism_deposit + schema: public +object_relationships: + - name: evm_transaction + using: + manual_configuration: + column_mapping: + l2_tx_hash: hash + insertion_order: null + remote_table: + name: evm_transaction + schema: public +select_permissions: + - role: internal_service + permission: + columns: + - id + - l1_block + - l1_tx_hash + - l1_from + - l2_to + - l2_tx_hash + - gas_used + - gas_price + - timestamp + filter: {} + limit: 100 + allow_aggregations: true diff --git a/hasura/metadata/databases/odessey/tables/public_optimism_withdrawal.yaml b/hasura/metadata/databases/odessey/tables/public_optimism_withdrawal.yaml new file mode 100644 index 000000000..4d7b2d99d --- /dev/null +++ b/hasura/metadata/databases/odessey/tables/public_optimism_withdrawal.yaml @@ -0,0 +1,32 @@ +table: + name: optimism_withdrawal + schema: public +object_relationships: + - 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: + - evm_event_id + - evm_tx_id + - finalize_time + - id + - l1_tx_hash + - l2_block + - l2_tx_hash + - msg_nonce + - sender + - status + - timestamp + - withdrawal_hash + filter: {} + limit: 100 + allow_aggregations: true diff --git a/hasura/metadata/databases/odessey/tables/public_power_event.yaml b/hasura/metadata/databases/odessey/tables/public_power_event.yaml new file mode 100644 index 000000000..9b5c4c10c --- /dev/null +++ b/hasura/metadata/databases/odessey/tables/public_power_event.yaml @@ -0,0 +1,24 @@ +table: + name: power_event + schema: public +object_relationships: + - name: validatorDst + using: + foreign_key_constraint_on: validator_dst_id + - name: validatorSrc + using: + foreign_key_constraint_on: validator_src_id +select_permissions: + - role: internal_service + permission: + columns: + - height + - id + - tx_id + - validator_dst_id + - validator_src_id + - amount + - type + - time + filter: {} + limit: 100 diff --git a/hasura/metadata/databases/odessey/tables/public_validator.yaml b/hasura/metadata/databases/odessey/tables/public_validator.yaml new file mode 100644 index 000000000..a33a6b917 --- /dev/null +++ b/hasura/metadata/databases/odessey/tables/public_validator.yaml @@ -0,0 +1,61 @@ +table: + name: validator + schema: public +array_relationships: + - name: delegators + using: + foreign_key_constraint_on: + column: validator_id + table: + name: delegator + schema: public + - name: powerEventsByValidatorSrcId + using: + foreign_key_constraint_on: + column: validator_src_id + table: + name: power_event + schema: public + - name: power_events + using: + foreign_key_constraint_on: + column: validator_dst_id + table: + name: power_event + schema: public +select_permissions: + - role: internal_service + permission: + columns: + - account_address + - commission + - consensus_address + - consensus_hex_address + - consensus_pubkey + - created_at + - delegator_shares + - delegators_count + - delegators_last_height + - description + - evm_address + - id + - image_url + - index_offset + - jailed + - jailed_until + - min_self_delegation + - missed_blocks_counter + - operator_address + - percent_voting_power + - self_delegation_balance + - start_height + - status + - tokens + - tombstoned + - unbonding_height + - unbonding_time + - updated_at + - uptime + filter: {} + limit: 200 + allow_aggregations: true diff --git a/hasura/metadata/databases/odessey/tables/public_view_count_holder_erc721.yaml b/hasura/metadata/databases/odessey/tables/public_view_count_holder_erc721.yaml new file mode 100644 index 000000000..720fb0915 --- /dev/null +++ b/hasura/metadata/databases/odessey/tables/public_view_count_holder_erc721.yaml @@ -0,0 +1,13 @@ +table: + name: view_count_holder_erc721 + schema: public +select_permissions: + - role: internal_service + permission: + columns: + - owner + - erc721_contract_address + - count + filter: {} + limit: 100 + allow_aggregations: true diff --git a/hasura/metadata/databases/odessey/tables/tables.yaml b/hasura/metadata/databases/odessey/tables/tables.yaml new file mode 100644 index 000000000..224c84b19 --- /dev/null +++ b/hasura/metadata/databases/odessey/tables/tables.yaml @@ -0,0 +1,28 @@ +- '!include public_account.yaml' +- '!include public_account_balance.yaml' +- '!include public_account_statistics.yaml' +- '!include public_asset.yaml' +- '!include public_block_checkpoint.yaml' +- '!include public_daily_statistics.yaml' +- '!include public_delegator.yaml' +- '!include public_erc20_activity.yaml' +- '!include public_erc20_contract.yaml' +- '!include public_erc721_activity.yaml' +- '!include public_erc721_contract.yaml' +- '!include public_erc721_holder_statistic.yaml' +- '!include public_erc721_stats.yaml' +- '!include public_erc721_token.yaml' +- '!include public_evm_block.yaml' +- '!include public_evm_contract_verification.yaml' +- '!include public_evm_event.yaml' +- '!include public_evm_internal_transaction.yaml' +- '!include public_evm_proxy_history.yaml' +- '!include public_evm_signature_mapping.yaml' +- '!include public_evm_smart_contract.yaml' +- '!include public_evm_transaction.yaml' +- '!include public_m_view_erc721_holder_statistic.yaml' +- '!include public_optimism_deposit.yaml' +- '!include public_optimism_withdrawal.yaml' +- '!include public_power_event.yaml' +- '!include public_validator.yaml' +- '!include public_view_count_holder_erc721.yaml'