-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathschema.graphql
61 lines (56 loc) · 1.09 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
type User @entity {
"This entity represents WBTC user"
id: ID!
"User address"
address: String!
"User balances"
balance: BigInt!
"User transaction"
transactionCount: Int!
}
type Minter @entity {
"This entity represents WBTC Minter"
id: ID!
"Minter address"
address: String!
"Total Minted"
totalMinted: BigInt!
"Total Burned"
totalBurned: BigInt!
}
type UserCounter @entity {
"This entity represents WBTC Counter of users"
id: ID!
"Count"
count: Int!
}
type MinterCounter @entity {
"This entity represents WBTC Minter"
id: ID!
"Count"
count: Int!
}
type TransferCounter @entity {
"This entity represents WBTC Transfer"
id: ID!
"Count"
count: Int!
"Total amount of Transferred WBTC"
totalTransferred: BigInt!
}
type TotalSupply @entity {
"This entity represents Total WBTC Supply"
id: ID!
"Supply"
supply: BigInt!
"Minted"
minted: BigInt!
"Burned"
burned: BigInt!
}
type ExampleEntity @entity {
id: ID!
count: BigInt!
old: Bytes! # address
current: Bytes! # address
}