-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.graphql
60 lines (54 loc) · 1.33 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
type OrderApprovedPartOne @entity {
id: ID!
hash: Bytes! # bytes32
exchange: Bytes! # address
maker: Bytes! # address
taker: Bytes! # address
makerRelayerFee: BigInt! # uint256
takerRelayerFee: BigInt! # uint256
makerProtocolFee: BigInt! # uint256
takerProtocolFee: BigInt! # uint256
feeRecipient: Bytes! # address
feeMethod: Int! # uint8
side: Int! # uint8
saleKind: Int! # uint8
target: Bytes! # address
}
type OrderApprovedPartTwo @entity {
id: ID!
hash: Bytes! # bytes32
howToCall: Int! # uint8
calldata: Bytes! # bytes
replacementPattern: Bytes! # bytes
staticTarget: Bytes! # address
staticExtradata: Bytes! # bytes
paymentToken: Bytes! # address
basePrice: BigInt! # uint256
extra: BigInt! # uint256
listingTime: BigInt! # uint256
expirationTime: BigInt! # uint256
salt: BigInt! # uint256
orderbookInclusionDesired: Boolean! # bool
}
type OrderCancelled @entity {
id: ID!
hash: Bytes! # bytes32
}
type OrdersMatched @entity {
id: ID!
buyHash: Bytes! # bytes32
sellHash: Bytes! # bytes32
maker: Bytes! # address
taker: Bytes! # address
price: BigInt! # uint256
metadata: Bytes! # bytes32
}
type OwnershipRenounced @entity {
id: ID!
previousOwner: Bytes! # address
}
type OwnershipTransferred @entity {
id: ID!
previousOwner: Bytes! # address
newOwner: Bytes! # address
}