This repository was archived by the owner on Jun 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsubgraph.yaml
More file actions
78 lines (78 loc) · 2.15 KB
/
subgraph.yaml
File metadata and controls
78 lines (78 loc) · 2.15 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
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
specVersion: 0.0.5
description: Human Polygon, with transactions 1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: EscrowFactory
network: matic
source:
abi: EscrowFactory
address: "0x45eBc3eAE6DA485097054ae10BA1A0f8e8c7f794"
startBlock: 25426565
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
file: ./src/mapping/escrowfactory.ts
entities:
- Launched
abis:
- name: EscrowFactory
file: ./abis/EscrowFactory.json
eventHandlers:
- event: Launched(address,address)
handler: handleLaunched
- kind: ethereum
name: HMToken
network: matic
source:
abi: HMToken
address: "0xc748B2A084F8eFc47E086ccdDD9b7e67aEb571Bf"
startBlock: 20181700
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Approval
- BulkApproval
- BulkTransfer
- Transfer
abis:
- name: HMToken
file: ./abis/HMToken.json
eventHandlers:
- event: Approval(indexed address,indexed address,uint256)
handler: handleApproval
- event: BulkApproval(indexed uint256,uint256)
handler: handleBulkApproval
- event: BulkTransfer(indexed uint256,uint256)
handler: handleBulkTransfer
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
file: ./src/mapping/hm-token.ts
templates:
- name: Escrow
kind: ethereum/contract
network: matic
source:
abi: Escrow
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
file: ./src/mapping/escrow.ts
entities:
- ISEvent
- PEvent
abis:
- name: Escrow
file: ./abis/Escrow.json
eventHandlers:
- event: IntermediateStorage(string,string)
handler: handleIntermediateStorage
- event: Pending(string,string)
handler: handlePending
- event: BulkTransfer(indexed uint256,uint256)
handler: handleBulkTransfer