-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubgraph.yaml
33 lines (33 loc) · 1.03 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
specVersion: 0.0.2
description: GEX MVP
repository: https://github.com/flex-dapps/gex-subgraph
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: GEX
network: goerli
source:
address: "0x8865C61607B65BfE3EcfA2fc54ab2Ea89552023B"
abi: GEX
startBlock: 4419847
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
file: ./mappings/gex.ts
entities:
- OwnerToken
- LicenseToken
abis:
- name: GEX
file: ./build/GEX.json
- name: ERC1155Burnable
file: ./build/ERC1155Burnable.json
eventHandlers:
- event: Mint(indexed address,uint256,uint256,uint256,bool,string)
handler: handleMint
- event: TransferSingle(indexed address,indexed address,indexed address,uint256,uint256)
handler: handleTransferSingle
- event: TransferBatch(indexed address,indexed address,indexed address,uint256[],uint256[])
handler: handleTransferBatch