-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.graphql
64 lines (44 loc) · 1.04 KB
/
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
56
57
58
59
60
61
62
63
64
type Transfer @entity {
"Transfer ID"
id: ID!
"Timestamp of the transfer"
timestamp: BigInt!
"Block number at which the transfer was included"
blockNumber: BigInt!
"Address the token was sent from"
from: Bytes!
"Address the token was sent to"
to: Bytes!
"Name of the oracle token"
tokenName: String!
"Total transaction volume at time of transfer"
totalVolume: BigDecimal!
"Amount of tokens transferred"
amount: BigDecimal!
count: BigInt!
}
type Analytic @entity {
"Token internal ID"
id: ID!
"Total transaction volume"
totalVolume: BigDecimal!
"Name of the oracle token"
tokenName: String!
}
type Approval @entity {
"Approval ID"
id: ID!
"Timestamp of the approval"
timestamp: BigInt!
"Block number at which the approval was included"
blockNumber: BigInt!
"Address of the token holder"
owner: Bytes!
"Contract that gets permission to spend tokens"
spender: Bytes!
"Name of the oracle token"
tokenName: String!
"Amount of tokens approved"
amount: BigDecimal!
count: BigInt!
}