Skip to content

Commit

Permalink
feat: add ibc ics 20 to hasura metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
fibonacci998 committed Oct 5, 2023
1 parent bf362f4 commit 57d448c
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 0 deletions.
26 changes: 26 additions & 0 deletions hasura/metadata/databases/euphoria/tables/public_ibc_ics20.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
table:
name: ibc_ics20
schema: public
object_relationships:
- name: ibc_message
using:
foreign_key_constraint_on: ibc_message_id
select_permissions:
- role: internal_service
permission:
columns:
- id
- ibc_message_id
- sender
- receiver
- amount
- denom
- status
- channel_id
- sequence_key
- type
- memo
- start_time
- finish_time
filter: {}
limit: 100
1 change: 1 addition & 0 deletions hasura/metadata/databases/euphoria/tables/tables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
- '!include public_ibc_channel.yaml'
- '!include public_ibc_client.yaml'
- '!include public_ibc_connection.yaml'
- '!include public_ibc_ics20.yaml'
- '!include public_ibc_message.yaml'
- '!include public_knex_migrations.yaml'
- '!include public_knex_migrations_lock.yaml'
Expand Down
26 changes: 26 additions & 0 deletions hasura/metadata/databases/xstaxy/tables/public_ibc_ics20.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
table:
name: ibc_ics20
schema: public
object_relationships:
- name: ibc_message
using:
foreign_key_constraint_on: ibc_message_id
select_permissions:
- role: internal_service
permission:
columns:
- id
- ibc_message_id
- sender
- receiver
- amount
- denom
- status
- channel_id
- sequence_key
- type
- memo
- start_time
- finish_time
filter: {}
limit: 100
1 change: 1 addition & 0 deletions hasura/metadata/databases/xstaxy/tables/tables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
- '!include public_ibc_channel.yaml'
- '!include public_ibc_client.yaml'
- '!include public_ibc_connection.yaml'
- '!include public_ibc_ics20.yaml'
- '!include public_ibc_message.yaml'
- '!include public_knex_migrations.yaml'
- '!include public_knex_migrations_lock.yaml'
Expand Down

0 comments on commit 57d448c

Please sign in to comment.