-
Notifications
You must be signed in to change notification settings - Fork 4
/
subgraph.yaml
160 lines (160 loc) · 5.05 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
specVersion: 0.0.2
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: MarsmelloGame
network: mumbai
source:
address: "0xdd62d64a9FE4aECA71cBAB1b8bD3AC35Fc57A696"
abi: MarsmelloGame
startBlock: 17382100
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- User
- Land
- Factory
abis:
- name: MarsmelloGame
file: ./build/contracts/MarsmelloGame.json
eventHandlers:
- event: LandE(indexed int32,indexed int32,indexed address,uint64,uint128)
handler: handleLand
- event: FactoryE(indexed uint64,address,uint16,uint16,indexed int32,indexed int32,string)
handler: handleFactory
- event: FactoryNameChange(indexed uint64,string)
handler: handleFactoryNameChange
- event: Claim(indexed address,uint256)
handler: handleClaim
- event: FlowChange(indexed address,uint128[],uint64)
handler: handleFlowChange
file: ./src/marsmellogame.ts
- kind: ethereum/contract
name: Marsmello
network: mumbai
source:
address: "0xd871109779c48e8261D01A40E47a2d81FEa9D9b1"
abi: Marsmello
startBlock: 17382100
# startBlock: 0
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- User
abis:
- name: Marsmello
file: ./build/contracts/Marsmello.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
file: ./src/marsmello.ts
- kind: ethereum/contract
name: Iron
network: mumbai
source:
address: "0x43b0b742B0aa11CB9478A89499475EBc94206Da7"
abi: Iron
startBlock: 17382100
# startBlock: 0
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- User
abis:
- name: Iron
file: ./build/contracts/Iron.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
file: ./src/iron.ts
- kind: ethereum/contract
name: Aluminium
network: mumbai
source:
address: "0xC445f46dF0d2C78d93b2b839F137207709D063b4"
abi: Aluminium
startBlock: 17382100
# startBlock: 0
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- User
abis:
- name: Aluminium
file: ./build/contracts/Aluminium.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
file: ./src/aluminium.ts
- kind: ethereum/contract
name: Copper
network: mumbai
source:
address: "0x937562686a389892B434F93f7378B87452d56aAC"
abi: Copper
startBlock: 17382100
# startBlock: 0
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- User
abis:
- name: Copper
file: ./build/contracts/Copper.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
file: ./src/copper.ts
- kind: ethereum/contract
name: Gold
network: mumbai
source:
address: "0xc51E72b900D7FB07C46947cd0E012760cCD25263"
abi: Gold
startBlock: 17382100
# startBlock: 0
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- User
abis:
- name: Gold
file: ./build/contracts/Gold.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
file: ./src/gold.ts
- kind: ethereum/contract
name: Titanium
network: mumbai
source:
address: "0x18327252f4d7d05Af43D409e6Cf0D309b94DC5ee"
abi: Titanium
startBlock: 17382100
# startBlock: 0
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- User
abis:
- name: Titanium
file: ./build/contracts/Titanium.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
file: ./src/titanium.ts