-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathschema.graphql
More file actions
84 lines (48 loc) · 1.12 KB
/
schema.graphql
File metadata and controls
84 lines (48 loc) · 1.12 KB
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
enum OptimisticPriceRequestState {
Invalid
Requested
Proposed
Expired
Disputed
Resolved
Settled
}
type OptimisticPriceRequest @entity {
"ID is the PriceIdentifier ID + the timestamp + ancillaryData (if available)"
id: ID!
identifier: String!
ancillaryData: String!
time: BigInt!
requester: Bytes!
currency: Bytes!
reward: BigInt!
finalFee: BigInt!
proposer: Bytes
proposedPrice: BigInt
proposalExpirationTimestamp: BigInt
disputer: Bytes
settlementPrice: BigInt
settlementPayout: BigInt
settlementRecipient: Bytes
state: OptimisticPriceRequestState
requestTimestamp: BigInt
requestBlockNumber: BigInt
requestHash: Bytes
requestLogIndex: BigInt
proposalTimestamp: BigInt
proposalBlockNumber: BigInt
proposalHash: Bytes
proposalLogIndex: BigInt
disputeTimestamp: BigInt
disputeBlockNumber: BigInt
disputeHash: Bytes
disputeLogIndex: BigInt
settlementTimestamp: BigInt
settlementBlockNumber: BigInt
settlementHash: Bytes
settlementLogIndex: BigInt
customLiveness: BigInt
bond: BigInt
eventBased: Boolean
lastUpdated: BigInt
}