-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.graphql
133 lines (120 loc) · 2.23 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
type Transaction @entity {
id: ID!
block: Int! @index
testId: String! @index
network: String! @index
dataSource: String! @index
logs: [Int]
stateDiffs: [Int]
transactionIndex: Int!
from: String
to: String
hash: String
gas: BigInt
gasPrice: BigInt
maxFeePerGas: BigInt
maxPriorityFeePerGas: BigInt
input: String
nonce: Int
value: BigInt
v: BigInt
r: String
s: String
yParity: Int
chainId: Int
gasUsed: BigInt
cumulativeGasUsed: BigInt
effectiveGasPrice: BigInt
contractAddress: String
type: Int
status: Int
sighash: String
}
type Log @entity {
id: ID!
block: Int! @index
testId: String! @index
network: String! @index
dataSource: String! @index
transaction: Int
logIndex: Int!
transactionIndex: Int!
address: String
data: String
topics: [String]
transactionHash: String
}
type Trace @entity {
id: ID!
block: Int! @index
testId: String! @index
network: String! @index
dataSource: String! @index
transaction: Int
parentId: String
childrenIds: [String]
transactionIndex: Int!
traceAddress: [Int]!
type: String!
error: String
createFrom: String
createValue: BigInt
createGas: BigInt
createInit: String
createResultGasUsed: BigInt
createResultCode: String
createResultAddress: String
callFrom: String
callTo: String
callValue: BigInt
callGas: BigInt
callSighash: String
callInput: String
callResultGasUsed: BigInt
callResultOutput: String
suicideAddress: String
suicideRefundAddress: String
suicideBalance: BigInt
rewardAuthor: String
rewardValue: String
rewardType: String
}
type StateDiff @entity {
id: ID!
block: Int! @index
testId: String! @index
network: String! @index
dataSource: String! @index
transaction: Int
transactionIndex: Int!
address: String!
key: String!
kind: String
prev: String
next: String
}
type Block @entity {
id: ID!
testId: String! @index
network: String! @index
dataSource: String! @index
hash: String!
height: Int! @index
parentHash: String!
timestamp: BigInt
nonce: String
sha3Uncles: String
logsBloom: String
transactionsRoot: String
stateRoot: String
receiptsRoot: String
mixHash: String
miner: String
difficulty: BigInt
totalDifficulty: BigInt
extraData: String
size: BigInt
gasLimit: BigInt
gasUsed: BigInt
baseFeePerGas: BigInt
}