forked from rrridges/subgraph-y
-
Notifications
You must be signed in to change notification settings - Fork 1
/
schema.graphql
48 lines (45 loc) · 850 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
44
45
46
47
48
type Vault @entity {
id: ID!
getPricePerFullShare: BigInt!
totalSupply: BigInt!
balance: BigInt!
token: Bytes!
symbol: String!
name: String!
controller: Bytes!
timestamp: BigInt!
blockNumber: BigInt!
}
type Transfer @entity {
id: ID!
from: Bytes!
to: Bytes!
value: BigInt!
timestamp: BigInt!
blockNumber: BigInt!
vaultAddress: Bytes!
getPricePerFullShare: BigInt!
balance: BigInt!
totalSupply: BigInt!
transactionHash: Bytes!
}
type Deposit @entity {
id: ID!
vaultAddress: Bytes!
account: Bytes!
amount: BigInt!
shares: BigInt!
timestamp: BigInt!
blockNumber: BigInt!
getPricePerFullShare: BigInt!
}
type Withdraw @entity {
id: ID!
vaultAddress: Bytes!
account: Bytes!
amount: BigInt!
shares: BigInt!
timestamp: BigInt!
blockNumber: BigInt!
getPricePerFullShare: BigInt!
}