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 committed May 5, 2024
1 parent 63a185a commit 1349849
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 @@ -264,10 +264,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 @@ -279,9 +283,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 1349849

Please sign in to comment.