-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubgraph.yaml
67 lines (67 loc) · 1.7 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
dataSources:
- kind: ethereum/contract
mapping:
abis:
- file: ./abis/objectOwnership.json
name: objectOwnership
apiVersion: 0.0.4
entities:
- Transfer
eventHandlers:
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleTransfer
file: ./src/objectOwnership.ts
kind: ethereum/events
language: wasm/assemblyscript
name: objectOwnership
network: mumbai
source:
abi: objectOwnership
address: '0x7cD44a3C9696185BAC374F0Cd3018F4b24986cb0'
startBlock: 17158784
- kind: ethereum/contract
mapping:
abis:
- file: ./abis/apostle.json
name: apostle
apiVersion: 0.0.4
entities:
- Birth
eventHandlers:
- event: Birth(indexed address,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256)
handler: handleBirth
file: ./src/objectOwnership.ts
kind: ethereum/events
language: wasm/assemblyscript
name: apostle
network: mumbai
source:
abi: apostle
address: '0x6c74a72444048A8588dEBeb749Ee60DB842aD90f'
startBlock: 17158784
- kind: ethereum/contract
mapping:
abis:
- file: ./abis/craftBase.json
name: craftBase
apiVersion: 0.0.4
entities:
- Crafted
- Enchanced
eventHandlers:
- event: Crafted(address,uint256,uint256,uint256,uint256,uint256)
handler: handleCrafted
- event: Enchanced(uint256,uint8,uint256)
handler: handleEnchanced
file: ./src/equipment.ts
kind: ethereum/events
language: wasm/assemblyscript
name: equipment
network: mumbai
source:
abi: craftBase
address: '0x366694a6Af1C3aBe3AFedC24771BF3DdB0f9292E'
startBlock: 17158784
schema:
file: ./schema.graphql
specVersion: 0.0.2