-
Notifications
You must be signed in to change notification settings - Fork 2
/
subgraph-matic.yaml
257 lines (253 loc) · 8.94 KB
/
subgraph-matic.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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
specVersion: 0.0.4
schema:
file: ./schema.graphql
dataSources:
# (Aavegotchi) Diamond
- kind: ethereum
name: AavegotchiDiamond
network: matic
source:
address: "0x86935f11c86623dec8a25696e1c19a8659cbf95d"
abi: AavegotchiDiamond
startBlock: 11516320
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Transfer
- ClaimAavegotchi
abis:
- name: AavegotchiDiamond
file: ./abis/AavegotchiDiamond.json
eventHandlers:
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleAavegotchiTransfer
- event: ClaimAavegotchi(indexed uint256)
handler: handleClaimAavegotchi
- event: GotchiLendingAdded(indexed uint32,indexed address,indexed uint32,uint96,uint32,uint8[3],address,address,uint32,address[],uint256)
handler: handleGotchiLendingAdded
- event: GotchiLendingCanceled(indexed uint32,indexed address,indexed uint32,uint96,uint32,uint8[3],address,address,uint32,address[],uint256)
handler: handleGotchiLendingCancelled
- event: GotchiLendingExecuted(indexed uint32,indexed address,indexed address,uint32,uint96,uint32,uint8[3],address,address,uint32,address[],uint256)
handler: handleGotchiLendingExecuted
- event: GotchiLendingEnded(indexed uint32,indexed address,indexed address,uint32,uint96,uint32,uint8[3],address,address,uint32,address[],uint256)
handler: handleGotchiLendingEnded
- event: GotchiLendingAdded((uint32,address,uint32,uint96,uint32,uint8[3],address,address,uint32,address[],uint256,uint256))
handler: handleGotchiLendingAdded2
- event: GotchiLendingCancelled((uint32,address,uint32,uint96,uint32,uint8[3],address,address,uint32,address[],uint256,uint256))
handler: handleGotchiLendingCancelled2
- event: GotchiLendingExecuted((uint32,address,address,uint32,uint96,uint32,uint8[3],address,address,uint32,address[],uint256,uint256))
handler: handleGotchiLendingExecuted2
- event: GotchiLendingEnded((uint32,address,address,uint32,uint96,uint32,uint8[3],address,address,uint32,address[],uint256,uint256))
handler: handleGotchiLendingEnded2
file: ./src/aavegotchi/index.ts
# (Aavegotchi) Realm
- kind: ethereum
name: Realm
network: matic
source:
address: "0x1D0360BaC7299C86Ec8E99d0c1C9A95FEfaF2a11"
abi: RealmDiamond
startBlock: 20667840
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Transfer
abis:
- name: RealmDiamond
file: ./abis/RealmDiamond.json
eventHandlers:
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleRealmTransfer
- event: TransferTokensToGotchi(indexed address,indexed uint256,address,uint256)
handler: handleTransferTokensToGotchi
- event: AlchemicaClaimed(indexed uint256,indexed uint256,indexed uint256,uint256,uint256,uint256)
handler: handleAlchemicaClaimed
- event: ChannelAlchemica(indexed uint256,indexed uint256,uint256[4],uint256,uint256)
handler: handleChannelAlchemica
- event: ParcelAccessRightSet(uint256,uint256,uint256)
handler: handleParcelAccessRightSet
- event: ParcelWhitelistSet(uint256,uint256,uint256)
handler: handleParcelWhitelistSet
file: ./src/aavegotchi/index.ts
# (NovaCreed) Avatar
- kind: ethereum
name: NovaAvatarBase
network: matic
source:
address: "0x8a514a40ed06fc44b6e0c9875cdd58e20063d10e"
abi: NovaAvatarBase
startBlock: 25539193
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Transfer
abis:
- name: NovaAvatarBase
file: ./abis/NovaAvatarBase.json
eventHandlers:
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleTransfer
file: ./src/novacreed/avatar/handler.ts
# (NovaCreed) WAvatar
- kind: ethereum
name: WNovaAvatarBase
network: matic
source:
address: "0x5b85854372CC22f9Ef01C8fE8d0E7d1E8d7b4225"
abi: WNovaAvatarBase
startBlock: 28740823
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Transfer
abis:
- name: WNovaAvatarBase
file: ./abis/WNovaAvatarBase.json
eventHandlers:
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleTransfer
file: ./src/novacreed/wavatar/handler.ts
# (NovaCreed) Spaceships
- kind: ethereum
name: Novaships
network: matic
source:
address: "0x2dE932AAF7C5b091AA36fBC75aF787B4aBd096Cf"
abi: Novaships
startBlock: 25714025
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Transfer
abis:
- name: Novaships
file: ./abis/Novaships.json
eventHandlers:
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleTransfer
file: ./src/novacreed/spaceships/handler.ts
# (NovaCreed) WSpaceships
- kind: ethereum
name: WNovaships
network: matic
source:
address: "0x8aE5C9f918156Ff8274e9C229d275F2E48c1Ea1C"
abi: WNovaships
startBlock: 28740835
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Transfer
abis:
- name: WNovaships
file: ./abis/WNovaships.json
eventHandlers:
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleTransfer
file: ./src/novacreed/wspaceships/handler.ts
# (Chronos) Traveler
- kind: ethereum
name: Traveler
network: matic
source:
address: "0xa03c4e40d1fcaa826591007a17ca929ef8adbf1c"
abi: ChronosTraveler
startBlock: 36796276
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Nft
abis:
- name: ChronosTraveler
file: ./abis/ChronosTraveler.json
eventHandlers:
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleTravelerTransfer
file: ./src/chronos/traveler/handler.ts
# (Cometh) Spaceship
- kind: ethereum
name: ComethSpaceship
network: matic
source:
address: "0x85BC2E8Aaad5dBc347db49Ea45D95486279eD918"
abi: ComethSpaceship
startBlock: 10512080
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Nft
abis:
- name: ComethSpaceship
file: ./abis/ComethSpaceship.json
eventHandlers:
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleSpaceshipTransfer
file: ./src/cometh/index.ts
# (Cometh) Rental Protocol
- kind: ethereum
name: ComethRentalProtocol
network: matic
source:
address: "0x5495BEC6703aDC6d395E50Bb2C6a93bb4d2AF56A"
abi: ComethRentalProtocol
startBlock: 30169340
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Nft
- Rental
- RentalOffer
abis:
- name: ComethRentalProtocol
file: ./abis/ComethRentalProtocol.json
eventHandlers:
- event: RentalOfferCreated(indexed uint256,indexed address,address,(address,uint256,uint64,uint16)[],address,uint256,uint256)
handler: handleRentalOfferCreated
- event: RentalOfferCancelled(indexed uint256,indexed address)
handler: handleRentalOfferCancelled
- event: RentalStarted(indexed uint256,indexed address,indexed address,address,uint256,uint64,uint16,uint256,uint256)
handler: handleRentalStarted
- event: RentalEnded(indexed address,indexed address,address,uint256)
handler: handleRentalEnded
- event: RequestToEndRentalPrematurely(indexed address,indexed address,indexed uint256)
handler: handleRequestToEndRentalPrematurely
file: ./src/cometh/index.ts
# (Cometh) Borrowed Spaceship
- kind: ethereum
name: ComethBorrowedSpaceship
network: matic
source:
address: "0x21F996F457792EEbf4b845108b08a4642FC8BC9d"
abi: ComethBorrowedSpaceship
startBlock: 30169370
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Nft
abis:
- name: ComethBorrowedSpaceship
file: ./abis/ComethBorrowedSpaceship.json
eventHandlers:
- event: RewardsDistributed(indexed uint256,indexed address,indexed address,uint256)
handler: handleRewardsDistributed
file: ./src/cometh/index.ts