-
Notifications
You must be signed in to change notification settings - Fork 21
/
subgraph.yaml
215 lines (214 loc) · 6.01 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
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
specVersion: 0.0.2
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: NiftyGateway
network: mainnet
source:
address: "0x431bd1297a1c7664D599364a427A2d926a1f58aE"
abi: NiftyGateway
startBlock: 9716435
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- NftContract
abis:
- name: NiftyGateway
file: ./abis/NiftyGateway.json
- name: ERC721
file: ./abis/ERC721.json
eventHandlers:
- event: BuilderInstanceCreated(address,uint256)
handler: handleBuilderInstanceCreated
file: ./src/nifty-gateway.ts
- kind: ethereum/contract
name: Rarible
network: mainnet
source:
address: "0xd07dc4262BCDbf85190C01c996b4C06a461d2430"
abi: ERC1155
startBlock: 10147631
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- NftContract
- Nft
abis:
- name: ERC1155
file: ./abis/ERC1155.json
- name: ERC721
file: ./abis/ERC721.json
eventHandlers:
- event: TransferBatch(indexed address,indexed address,indexed address,uint256[],uint256[])
handler: handleTransferBatchRarible
- event: TransferSingle(indexed address,indexed address,indexed address,uint256,uint256)
handler: handleTransferSingleRarible
- event: URI(string,indexed uint256)
handler: handleURI
file: ./src/rarible.ts
- kind: ethereum/contract
name: SuperRare
network: mainnet
source:
address: "0x41a322b28d0ff354040e2cbc676f0320d8c8850d"
abi: ERC721
startBlock: 5364090
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- NftContract
- Nft
abis:
- name: ERC721
file: ./abis/ERC721.json
- name: SuperRare
file: ./abis/SuperRare.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransferSuperRare
file: ./src/superRare.ts
- kind: ethereum/contract
name: SuperRareV2
network: mainnet
source:
address: "0xb932a70A57673d89f4acfFBE830E8ed7f75Fb9e0"
abi: ERC721
startBlock: 8486734
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- NftContract
- Nft
abis:
- name: ERC721
file: ./abis/ERC721.json
- name: SuperRareV2
file: ./abis/SuperRareV2.json
eventHandlers:
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleTransferSuperRare
file: ./src/superRare.ts
- kind: ethereum/contract
name: KnownOrigin
network: mainnet
source:
address: "0xFBeef911Dc5821886e1dda71586d90eD28174B7d"
abi: KnownOrigin
startBlock: 6270484
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- NftContract
- Nft
abis:
- name: KnownOrigin
file: ./abis/KnownOrigin.json
- name: ERC721
file: ./abis/ERC721.json
eventHandlers:
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleTransferKnownOrigin
file: ./src/known-origin.ts
- kind: ethereum/contract
name: Zora
network: mainnet
source:
address: "0xabefbc9fd2f806065b4f3c237d4b59d9a97bcac7"
abi: ERC721
startBlock: 11565020
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- NftContract
- Nft
abis:
- name: ERC721
file: ./abis/ERC721.json
- name: ZoraNFT
file: ./abis/ZoraNFT.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransferZora
file: ./src/zora.ts
- kind: ethereum/contract
name: Meme
network: mainnet
source:
address: "0xe4605d46Fd0B3f8329d936a8b258D69276cBa264"
abi: ERC1155
startBlock: 10734502
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- NftContract
- Nft
abis:
- name: ERC1155
file: ./abis/ERC1155.json
- name: ERC721
file: ./abis/ERC721.json
eventHandlers:
- event: TransferBatch(indexed address,indexed address,indexed address,uint256[],uint256[])
handler: handleTransferBatchMeme
- event: TransferSingle(indexed address,indexed address,indexed address,uint256,uint256)
handler: handleTransferSingleMeme
- event: URI(string,indexed uint256)
handler: handleURI
file: ./src/meme.ts
- kind: ethereum/contract
name: Sorare
network: mainnet
source:
address: "0x629a673a8242c2ac4b7b8c5d8735fbeac21a6205"
abi: ERC721
startBlock: 10038076
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- NftContract
- Nft
abis:
- name: ERC721
file: ./abis/ERC721.json
eventHandlers:
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleTransferSorare
file: ./src/sorare.ts
templates:
- kind: ethereum/contract
name: NftContract
network: mainnet
source:
abi: ERC721
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- Nft
abis:
- name: ERC721
file: ./abis/ERC721.json
- name: NiftyNFT
file: ./abis/NiftyNFT.json
eventHandlers:
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleTransferNiftyGateway
file: ./src/nifty-gateway.ts