-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubgraph.yaml
32 lines (32 loc) · 1023 Bytes
/
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
specVersion: 0.0.4
description: Free NFT drops (v2 only) on showtime.xyz
repository: https://github.com/showtime-xyz/free-nfts-subgraph-v2-only
features:
- nonFatalErrors
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: GatedEditionCreator
network: matic
source:
address: "0x50c0013278D798c1cD0b3A0809853fd6D4006e1F"
abi: GatedEditionCreator
startBlock: 37116758
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- FreeNFTDrop
abis:
- name: GatedEditionCreator
file: ./abis/GatedEditionCreator.json
- name: Edition
file: ./abis/Edition.json
eventHandlers:
- event: CreatedEdition(indexed uint256,indexed address,address,string)
handler: handleCreatedEdition
# should no longer be needed as we get the deadline directly from the Edition
# receipt: true
file: ./src/handlers/handle-created-edition-v2.ts