forked from developerfred/Indexer-template-tokenized-vaults
-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.graphql
43 lines (42 loc) · 856 Bytes
/
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
type EventsSummary {
id: ID!
approval: [Approval!]! @derivedFrom(field: "eventsSummary")
approvalsCount: BigInt!
deposit: [Deposit!]! @derivedFrom(field: "eventsSummary")
depositsCount: BigInt!
transfer: [Transfer!]! @derivedFrom(field: "eventsSummary")
transfersCount: BigInt!
withdraw: [Withdraw!]! @derivedFrom(field: "eventsSummary")
withdrawsCount: BigInt!
}
type Approval {
id: ID!
owner: String!
spender: String!
value: BigInt!
eventsSummary: String!
}
type Deposit {
id: ID!
sender: String!
owner: String!
assets: BigInt!
shares: BigInt!
eventsSummary: String!
}
type Transfer {
id: ID!
from: String!
to: String!
value: BigInt!
eventsSummary: String!
}
type Withdraw {
id: ID!
sender: String!
receiver: String!
owner: String!
assets: BigInt!
shares: BigInt!
eventsSummary: String!
}