-
Notifications
You must be signed in to change notification settings - Fork 10
/
subgraph.yaml
200 lines (200 loc) · 6.88 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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
specVersion: 0.0.2
description: A decentralized virtual world that runs on open standards. Find districts, parcels,
auctions, and more.
repository: https://github.com/graphprotocol/decentraland-subgraph
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: LANDRegistry
network: mainnet
source:
address: "0xf87e31492faf9a91b02ee0deaad50d51d56d5d4d"
abi: LANDRegistry
mapping:
kind: ethereum/events
apiVersion: 0.0.3
language: wasm/assemblyscript
entities:
- Parcel
- ParcelData
abis:
- name: LANDRegistry
file: ./abis/ModifiedLANDRegistry.json
eventHandlers:
- event: Transfer(indexed address,indexed address,indexed uint256,address,bytes,bytes)
handler: handleOldestLegacyLandTransfer
- event: Transfer(indexed address,indexed address,indexed uint256,address,bytes)
handler: handleLegacyLandTransfer
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleLandTransfer
- event: Update(indexed uint256,indexed address,indexed address,string)
handler: handleLandUpdate
file: ./src/mappings/land-registry.ts
- kind: ethereum/contract
name: LegacyMarketplace
network: mainnet
source:
address: "0xb3bca6f5052c7e24726b44da7403b56a8a1b98f8"
abi: LegacyMarketplace
mapping:
kind: ethereum/events
apiVersion: 0.0.3
language: wasm/assemblyscript
entities:
- Order
- Parcel
abis:
- name: LegacyMarketplace
file: ./abis/LegacyMarketplace.json
- name: LANDRegistry
file: ./abis/ModifiedLANDRegistry.json
eventHandlers:
- event: AuctionCreated(bytes32,indexed uint256,indexed address,uint256,uint256)
handler: handleLegacyAuctionCreated
- event: AuctionCancelled(bytes32,indexed uint256,indexed address)
handler: handleLegacyAuctionCancelled
- event: AuctionSuccessful(bytes32,indexed uint256,indexed address,uint256,indexed
address)
handler: handleLegacyAuctionSuccessful
file: ./src/mappings/legacy-marketplace.ts
- kind: ethereum/contract
name: Marketplace
network: mainnet
source:
address: "0x8e5660b4Ab70168b5a6fEeA0e0315cb49c8Cd539"
abi: Marketplace
mapping:
kind: ethereum/events
apiVersion: 0.0.3
language: wasm/assemblyscript
entities:
- Parcel
- Order
abis:
- name: Marketplace
file: ./abis/Marketplace.json
- name: LANDRegistry
file: ./abis/ModifiedLANDRegistry.json
eventHandlers:
- event: OrderCreated(bytes32,indexed uint256,indexed address,address,uint256,uint256)
handler: handleOrderCreated
- event: OrderSuccessful(bytes32,indexed uint256,indexed
address,address,uint256,indexed address)
handler: handleOrderSuccessful
- event: OrderCancelled(bytes32,indexed uint256,indexed address,address)
handler: handleOrderCancelled
- event: AuctionCreated(bytes32,indexed uint256,indexed address,uint256,uint256)
handler: handleAuctionCreated
- event: AuctionCancelled(bytes32,indexed uint256,indexed address)
handler: handleAuctionCancelled
- event: AuctionSuccessful(bytes32,indexed uint256,indexed address,uint256,indexed
address)
handler: handleAuctionSuccessful
file: ./src/mappings/marketplace.ts
- kind: ethereum/contract
name: EstateRegistry
network: mainnet
source:
address: "0x959e104e1a4db6317fa58f8295f586e1a978c297"
abi: Estate
mapping:
kind: ethereum/events
apiVersion: 0.0.3
language: wasm/assemblyscript
entities:
- Estate
- Parcel
abis:
- name: Estate
file: ./abis/Estate.json
- name: LANDRegistry
file: ./abis/ModifiedLANDRegistry.json
eventHandlers:
- event: CreateEstate(indexed address,indexed uint256,string)
handler: handleCreateEstate
- event: AddLand(indexed uint256,indexed uint256)
handler: handleAddLand
- event: RemoveLand(indexed uint256,indexed uint256,indexed address)
handler: handleRemoveLand
- event: Update(indexed uint256,indexed address,indexed address,string)
handler: handleEstate
- event: UpdateOperator(indexed uint256,indexed address)
handler: handleUpdateOperator
file: ./src/mappings/estate.ts
- kind: ethereum/contract
name: MortgageManager
network: mainnet
source:
address: "0x9ABf1295086aFA0E49C60e95c437aa400c5333B8"
abi: MortgageManager
mapping:
kind: ethereum/events
apiVersion: 0.0.3
language: wasm/assemblyscript
entities:
- Mortgage
- Parcel
abis:
- name: MortgageManager
file: ./abis/mortageManager.json
- name: RCNLoanEngine
file: ./abis/RCNLoanEngine.json
eventHandlers:
- event: RequestedMortgage(uint256,address,address,uint256,address,uint256,uint256,address)
handler: handleRequestedMortgage
- event: StartedMortgage(uint256)
handler: handleStartedMortgage
- event: CanceledMortgage(address,uint256)
handler: handleCanceledMortgage
- event: PaidMortgage(address,uint256)
handler: handlePaidMortgage
- event: DefaultedMortgage(uint256)
handler: handleDefaultedMortgage
- event: UpdatedLandData(address,uint256,string)
handler: handleUpdatedLandData
file: ./src/mappings/mortgageManager.ts
- kind: ethereum/contract
name: Invite
network: mainnet
source:
address: "0xf886313f213c198458eba7ae9329525e64eb763a"
abi: Invite
mapping:
kind: ethereum/events
apiVersion: 0.0.3
language: wasm/assemblyscript
entities:
- Mortgage
abis:
- name: Invite
file: ./abis/DecentralandInvite.json
eventHandlers:
- event: Invited(address,address,uint256,bytes)
handler: handleInvited
- event: UpdateInvites(address,uint256)
handler: handleUpdateInvites
file: ./src/mappings/invite.ts
- kind: ethereum/contract
name: Mana
network: mainnet
source:
address: "0x0F5D2fB29fb7d3CFeE444a200298f468908cC942"
abi: Mana
mapping:
kind: ethereum/events
apiVersion: 0.0.3
language: wasm/assemblyscript
entities:
- User
abis:
- name: Mana
file: ./abis/manaToken.json
eventHandlers:
- event: Burn(indexed address,uint256)
handler: handleBurn
- event: Mint(indexed address,uint256)
handler: handleMint
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
file: ./src/mappings/manaToken.ts