-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubgraph.yaml
71 lines (71 loc) · 2.15 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
specVersion: 0.0.2
description: Ourz
repository:
schema:
file: ./src/schema.graphql
dataSources:
- kind: ethereum/contract
name: OurFactory
network: mainnet
source:
address: "0x321e0c06D6F899F732058A6486962E366C161d46"
abi: OurFactory
startBlock: 13465120
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
file: ./src/mappings/factory.ts
entities:
- OurFactory
abis:
- name: OurFactory
file: ./abis/OurFactory.json
eventHandlers:
- event: SplitCreated(address,address,string,string)
handler: handleSplitCreated
templates:
- kind: ethereum/contract
name: OurPylon
network: mainnet
source:
abi: OurPylon
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
file: ./src/mappings/pylon.ts
entities:
- OurPylon
abis:
- name: OurPylon
file: ./abis/OurPylon.json
- name: OurProxy
file: ./abis/OurProxy.json
eventHandlers:
# OurManagement.sol
- event: SplitSetup(address[])
handler: handleSplitSetup
- event: AddedOwner(address)
handler: handleAddedOwner
- event: RemovedOwner(address)
handler: handleRemovedOwner
- event: NameChanged(string)
handler: handleNameChanged
# OurMinter.sol
- event: ZNFTMinted(uint256)
handler: handleZNFTMinted
- event: EditionCreated(address,string,string,string,string,string,uint256,uint256)
handler: handleEditionCreated
# OurSplitter.sol
- event: ETHReceived(indexed address,uint256)
handler: handleETHReceived
- event: WindowIncremented(uint256,uint256)
handler: handleWindowIncremented
- event: TransferETH(address,uint256,bool)
handler: handleTransferETH
- event: TransferERC20(address,uint256)
handler: handleTransferERC20
# OurIntrospector.sol (currently unused)
- event: ERC777Received(address,address,address,uint256)
handler: handleERC777Received