-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubgraph.yaml
56 lines (56 loc) · 1.71 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
specVersion: 0.0.2
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: EGG
network: mainnet
source:
address: "0x65cCD72c0813CE6f2703593B633202a0F3Ca6a0c"
abi: EGG
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- ReferralDrop
- Transfer
- Approval
- Locked
- UnlockedAll
- UnlockedIndex
- Burn
- Stopped
- Started
- OwnershipTransferred
- Allowed
- RemoveAllowed
abis:
- name: EGG
file: ./abis/EGG.json
eventHandlers:
- event: ReferralDrop(indexed address,indexed address,uint256,indexed address,uint256)
handler: handleReferralDrop
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
- event: Approval(indexed address,indexed address,uint256)
handler: handleApproval
- event: Locked(address,uint256)
handler: handleLocked
- event: UnlockedAll(address)
handler: handleUnlockedAll
- event: UnlockedIndex(address,uint256)
handler: handleUnlockedIndex
- event: Burn(indexed address,indexed uint256)
handler: handleBurn
- event: Stopped()
handler: handleStopped
- event: Started()
handler: handleStarted
- event: OwnershipTransferred(indexed address,indexed address)
handler: handleOwnershipTransferred
- event: Allowed(indexed address)
handler: handleAllowed
- event: RemoveAllowed(indexed address)
handler: handleRemoveAllowed
file: ./src/mapping.ts