-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.graphql
56 lines (29 loc) · 997 Bytes
/
schema.graphql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
type Event @entity {
id: ID! #id is a required field
event: String! #Event name
account: String!
vtokenId: String! #vToken symbol
amount: String! #Amount of BNC voted
blockHeight: Int! #Block height of the event
timestamp: Int! #Timestamp of the event
# Not mandatory field
channelCode: String #Channel code of the event. Only for Mint events, not for Redeem and TransferOut events.
}
type HostingFeeChargedEvent @entity {
id: ID! #id is a required field
event: String! #Event name
tokenId: String! #Token symbol
amount: String! #Amount of BNC voted
blockHeight: Int! #Block height of the event
timestamp: Int! #Timestamp of the event
}
type CommissionPaid @entity {
id: ID! #id is a required field
event: String! #Event name
fromAccount: String!
toAccount: String!
tokenId: String! #Token symbol
amount: String! #Amount of BNC voted
blockHeight: Int! #Block height of the event
timestamp: Int! #Timestamp of the event
}