forked from Gnosis-Auction/auction-graph
-
Notifications
You must be signed in to change notification settings - Fork 1
/
schema.graphql
48 lines (46 loc) · 1.14 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
type Order @entity {
id: ID!
auctionId: BigInt!
sellAmount: BigInt!
buyAmount: BigInt! # uint256
userId: BigInt! # uint96
userAddress: Bytes!
price: BigDecimal!
volume: BigDecimal!
timestamp: BigInt!
}
type User @entity {
id: ID!
address: Bytes!
auctions: [AuctionDetail!]!
}
type AuctionDetail @entity {
id: ID!
auctionId: BigInt!
exactOrder: Order!
chainId: String!
orders: [Order!]
ordersWithoutClaimed: [Order!]
symbolAuctioningToken: String!
symbolBiddingToken: String!
addressAuctioningToken: Bytes!
addressBiddingToken: Bytes!
decimalsAuctioningToken: BigInt!
decimalsBiddingToken: BigInt!
endTimeTimestamp: BigInt!
orderCancellationEndDate: BigInt!
startingTimeStamp: BigInt!
minimumBiddingAmountPerOrder: BigInt!
minFundingThreshold: BigInt!
allowListManager: Bytes!
allowListSigner: Bytes!
currentVolume: BigDecimal!
currentClearingOrderSellAmount: BigInt!
currentClearingOrderBuyAmount: BigInt!
currentClearingPrice: BigDecimal!
currentBiddingAmount: BigInt!
isAtomicClosureAllowed: Boolean!
isPrivateAuction: Boolean!
interestScore: BigDecimal!
usdAmountTraded: BigDecimal!
}