Skip to content

Commit

Permalink
Add Account and link with IBCChannel
Browse files Browse the repository at this point in the history
  • Loading branch information
toliaqat authored and frazarshad committed May 6, 2024
1 parent c4be4b6 commit c35cc07
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,14 @@ type ReserveMetrics @entity {
allocations: [ReserveAllocationMetrics] @derivedFrom(field: "reserveMetrics")
}

type Account @entity {
id: ID!
}

type IBCChannel @entity {
id: ID!
channelName: String!
escrowAddress: String!
escrowAccount: Account!
}

enum TransferType {
Expand All @@ -257,9 +261,9 @@ type IBCTransfer @entity {
id: ID!
blockTime: Date!
blockHeight: BigInt!
channelName: String!
srcAddress: String!
destAddress: String!
channel: IBCChannel!
srcAccount: Account!
destAccount: Account!
denomination: String!
amount: String!
transferType: TransferType!
Expand Down

0 comments on commit c35cc07

Please sign in to comment.