-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.localhost.yaml
271 lines (270 loc) · 8.14 KB
/
subgraph.localhost.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
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
specVersion: 0.0.5
description: Decentralized domains anchored to the Handshake root zone.
repository: https://github.com/namebasehq/hns-id-subgraph
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: DefaultResolver
network: mainnet
source:
address: "0x3Aa5ebB10DC797CAC828524e59A333d0A371443c"
abi: DefaultResolver
startBlock: 0
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Tld
- Royalty
- RoyaltyHistory
- ResolverHistory
- Sld
- SaleSettings
- Account
- Resolver
- Delegate
- Address
- TextRecord
- DnsRecord
- PremiumPrice
- ReservedName
- TextRecordHistory
- DnsRecordHistory
abis:
- name: DefaultResolver
file: ./abis/DefaultResolver.json
eventHandlers:
- event: AddrChanged(indexed bytes32,address)
handler: handleAddrChanged
- event: AddressChanged(indexed bytes32,uint256,bytes)
handler: handleAddressChanged
- event: ContenthashChanged(indexed bytes32,bytes)
handler: handleContenthashChanged
- event: DNSRecordChanged(indexed bytes32,bytes,uint16,bytes)
handler: handleDNSRecordChanged
- event: DNSRecordDeleted(indexed bytes32,bytes,uint16)
handler: handleDNSRecordDeleted
- event: DNSZonehashChanged(indexed bytes32,bytes,bytes)
handler: handleDNSZonehashChanged
- event: NameChanged(indexed bytes32,string)
handler: handleNameChanged
- event: ReverseClaimed(indexed address,string)
handler: handleReverseClaimed
- event: TextChanged(indexed bytes32,indexed string,string,string)
handler: handleTextChanged
- event: UpdatedDelegate(indexed address,indexed uint256,address)
handler: handleUpdatedDelegate
- event: VersionChanged(indexed bytes32,uint256)
handler: handleVersionChanged
file: ./src/default-resolver.ts
- kind: ethereum
name: TldClaimManager
network: mainnet
source:
address: "0x0B306BF915C4d645ff596e518fAf3F9669b97016"
abi: TldClaimManager
startBlock: 0
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Tld
- Royalty
- RoyaltyHistory
- ResolverHistory
- Sld
- SaleSettings
- Account
- Resolver
- Delegate
- Address
- TextRecord
- DnsRecord
- PremiumPrice
- ReservedName
- TextRecordHistory
- DnsRecordHistory
abis:
- name: TldClaimManager
file: ./abis/TldClaimManager.json
eventHandlers:
- event: TldClaimed(indexed address,indexed uint256,string)
handler: handleTldClaimed
file: ./src/tld-claim-manager.ts
- kind: ethereum
name: HandshakeTld
network: mainnet
source:
address: "0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0"
abi: HandshakeTld
startBlock: 0
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Tld
- Royalty
- RoyaltyHistory
- ResolverHistory
- Sld
- SaleSettings
- Account
- Resolver
- Delegate
- Address
- TextRecord
- DnsRecord
- PremiumPrice
- ReservedName
- TextRecordHistory
- DnsRecordHistory
abis:
- name: HandshakeTld
file: ./abis/HandshakeTld.json
eventHandlers:
- event: RegistrationStrategySet(indexed bytes32,address)
handler: handleRegistrationStrategySet
- event: ResolverSet(indexed bytes32,address)
handler: handleResolverSet
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleTransfer
file: ./src/handshake-tld.ts
- kind: ethereum
name: HandshakeSld
network: mainnet
source:
address: "0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9"
abi: HandshakeSld
startBlock: 0
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Tld
- Royalty
- RoyaltyHistory
- ResolverHistory
- Sld
- SaleSettings
- Account
- Resolver
- Delegate
- Address
- TextRecord
- DnsRecord
- PremiumPrice
- ReservedName
- TextRecordHistory
- DnsRecordHistory
abis:
- name: HandshakeSld
file: ./abis/HandshakeSld.json
eventHandlers:
- event: ResolverSet(indexed bytes32,address)
handler: handleResolverSet
- event: RoyaltyPayoutAddressSet(indexed bytes32,address)
handler: handleRoyaltyPayoutAddressSet
- event: RoyaltyPayoutAmountSet(indexed bytes32,uint256)
handler: handleRoyaltyPayoutAmountSet
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleTransfer
file: ./src/handshake-sld.ts
- kind: ethereum
name: SldRegistrationManager
network: mainnet
source:
address: "0xA51c1fc2f0D1a1b8494Ed1FE312d7C3a78Ed91C0"
abi: SldRegistrationManager
startBlock: 0
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Tld
- Royalty
- RoyaltyHistory
- ResolverHistory
- Sld
- SaleSettings
- Account
- Resolver
- Delegate
- Address
- TextRecord
- DnsRecord
- PremiumPrice
- ReservedName
- TextRecordHistory
- DnsRecordHistory
abis:
- name: SldRegistrationManager
file: ./abis/SldRegistrationManager.json
eventHandlers:
- event: DiscountSet(indexed bytes32,indexed address,(uint80,uint80,uint8,bool,bool))
handler: handleDiscountSet
- event: Initialized(uint8)
handler: handleInitialized
- event: NewGracePeriod(uint256)
handler: handleNewGracePeriod
- event: NewLabelValidator(indexed address)
handler: handleNewLabelValidator
- event: NewUsdOracle(indexed address)
handler: handleNewUsdOracle
- event: OwnershipTransferred(indexed address,indexed address)
handler: handleOwnershipTransferred
- event: PaymentSent(indexed address,uint256)
handler: handlePaymentSent
- event: RegisterSld(indexed bytes32,bytes32,string,uint256)
handler: handleRegisterSld
- event: RenewSld(indexed bytes32,string,uint256)
handler: handleRenewSld
file: ./src/sld-registration-manager.ts
- kind: ethereum
name: DefaultRegistrationStrategy
network: mainnet
source:
address: "0x0DCd1Bf9A1b36cE34237eEaFef220932846BCD82"
abi: DefaultRegistrationStrategy
startBlock: 0
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Tld
- Royalty
- RoyaltyHistory
- ResolverHistory
- Sld
- SaleSettings
- Account
- Resolver
- Delegate
- Address
- TextRecord
- DnsRecord
- PremiumPrice
- ReservedName
- TextRecordHistory
- DnsRecordHistory
abis:
- name: DefaultRegistrationStrategy
file: ./abis/DefaultRegistrationStrategy.json
eventHandlers:
- event: EnabledSet(indexed bytes32,bool)
handler: handleEnabledSet
- event: LengthCostSet(indexed bytes32,uint256[])
handler: handleLengthCostSet
- event: MultiYearDiscountSet(indexed bytes32,uint256[])
handler: handleMultiYearDiscountSet
- event: PremiumNameSet(indexed bytes32,uint256,string)
handler: handlePremiumNameSet
- event: ReservedNameSet(indexed bytes32,indexed address,string)
handler: handleReservedNameSet
file: ./src/default-registration-strategy.ts