-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsubgraph.yaml
More file actions
39 lines (39 loc) · 1.17 KB
/
subgraph.yaml
File metadata and controls
39 lines (39 loc) · 1.17 KB
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
specVersion: 0.0.4
description: PODv2Subgraph
repository: 'https://github.com/raid-brood/subgraph'
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: pod
network: base
source:
address: '0xB00B5D137709a301283E225e536E85882Cfadd55'
abi: pod
startBlock: 20036664
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Pod
abis:
- name: pod
file: ./abis/pod.json
eventHandlers:
- event: >-
TransferBatch(indexed address,indexed address,indexed
address,uint256[],uint256[])
handler: handleTransferBatch
- event: >-
TransferSingle(indexed address,indexed address,indexed
address,uint256,uint256)
handler: handleTransferSingle
- event: 'Created(indexed uint256,bytes32,string)'
handler: handleCreated
- event: 'Claimed(indexed address,indexed uint256,string)'
handler: handleClaimed
- event: 'TokenURISet(indexed uint256,string)'
handler: handleTokenURISet
file: ./src/pod-mapping.ts
templates: []