-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsubgraph.yaml
153 lines (150 loc) · 5.23 KB
/
subgraph.yaml
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
specVersion: 0.0.2
schema:
file: ./schema.graphql
dataSources:
# Private Pool Details
- kind: ethereum/contract
name: PrivatePools
network: kovan
source:
address: "0x15400da9b82f865A1Bf8D253AA8128ffbAec5d43"
abi: PrivatePools
startBlock: 24212889
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- OwnershipTransferred
- newDeposit
- newPoolCreated
- newTokenAdded
- newWithdrawal
- totalPoolDeposit
- totalPoolScaledDeposit
- totalUserScaledDeposit
- verified
abis:
- name: PrivatePools
file: ./abis/PrivatePools.json
eventHandlers:
- event: OwnershipTransferred(indexed address,indexed address)
handler: handleOwnershipTransferred
- event: newDeposit(string,address,uint256,uint256)
handler: handlenewDeposit
- event: newPoolCreated(string,indexed address,string,uint256,uint256)
handler: handlenewPoolCreated
- event: newWithdrawal(string,indexed address,uint256,uint256)
handler: handlenewWithdrawal
- event: totalPoolDeposit(string,uint256,uint256)
handler: handletotalPoolDeposit
- event: totalPoolScaledDeposit(string,uint256,uint256)
handler: handletotalPoolScaledDeposit
- event: totalUserScaledDeposit(string,indexed address,uint256,uint256)
handler: handletotalUserScaledDeposit
- event: verified(string,address,uint256)
handler: handleverified
file: ./src/PrivatePoolsMapping.ts
# Comptroller Contract Details
- kind: ethereum/contract
name: Comptroller
network: kovan
source:
address: "0xf2Ad9aBa18d5Ab625023Cd78a2D84c7aF8A0e63d"
abi: Comptroller
startBlock: 24212887
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- OwnershipTransferred
- newTokenAdded
abis:
- name: Comptroller
file: ./abis/Comptroller.json
eventHandlers:
- event: OwnershipTransferred(indexed address,indexed address)
handler: handleOwnershipTransferred
- event: newTokenAdded(string,address,address)
handler: handlenewTokenAdded
file: ./src/ComptrollerMapping.ts
# PublicPool Contract Details
- kind: ethereum/contract
name: PublicPools
network: kovan
source:
address: "0x669665F1182A57A4182e1B63bb12E530E1388f01"
abi: PublicPools
startBlock: 24212891
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- OwnershipTransferred
- newDeposit
- newPoolCreated
- newTokenAdded
- newWithdrawal
- totalPoolDeposit
- totalPoolScaledDeposit
- totalUserScaledDeposit
- verified
abis:
- name: PublicPools
file: ./abis/PublicPools.json
eventHandlers:
- event: OwnershipTransferred(indexed address,indexed address)
handler: handleOwnershipTransferred
- event: newDeposit(string,address,uint256,uint256)
handler: handlenewDeposit
- event: newPoolCreated(string,indexed address,string,uint256,uint256)
handler: handlenewPoolCreated
- event: newWithdrawal(string,indexed address,uint256,uint256)
handler: handlenewWithdrawal
- event: totalPoolDeposit(string,uint256,uint256)
handler: handletotalPoolDeposit
- event: totalPoolScaledDeposit(string,uint256,uint256)
handler: handletotalPoolScaledDeposit
- event: totalUserScaledDeposit(string,indexed address,uint256,uint256)
handler: handletotalUserScaledDeposit
- event: verified(string,address,uint256)
handler: handleverified
file: ./src/PublicPoolsMapping.ts
# DonationPools Contract Details
- kind: ethereum/contract
name: DonationPools
network: kovan
source:
address: "0x41ce3B221939a0a9D09B766Fb8ea72e2dd0B3Ed0"
abi: DonationPools
startBlock: 24212893
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- OwnershipTransferred
- newDonation
- newDonationWithdrawal
- newRecipientAdded
- recipientDeactivated
- recipientReactivated
abis:
- name: DonationPools
file: ./abis/DonationPools.json
eventHandlers:
- event: OwnershipTransferred(indexed address,indexed address)
handler: handleOwnershipTransferred
- event: newDonation(uint256,indexed string,uint256)
handler: handlenewDonation
- event: newDonationWithdrawal(indexed address,indexed string,uint256)
handler: handlenewDonationWithdrawal
- event: newRecipientAdded(indexed address,indexed string,uint256)
handler: handlenewRecipientAdded
- event: recipientDeactivated(indexed address,indexed string,uint256)
handler: handlerecipientDeactivated
- event: recipientReactivated(indexed address,indexed string,uint256)
handler: handlerecipientReactivated
file: ./src/DonationPoolsMapping.ts