-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.mainnet.yaml
259 lines (258 loc) · 8 KB
/
subgraph.mainnet.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
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: optimism
source:
address: "0xDDa56f06D80f3D8E3E35159701A63753f39c3BCB"
abi: DefaultResolver
startBlock: 108382221
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: optimism
source:
address: "0x9209397263427413817Afc6957A434cF62C02c68"
abi: TldClaimManager
startBlock: 108382221
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: optimism
source:
address: "0x01eBCf32e4b5da0167eaacEA1050B2be63122B6f"
abi: HandshakeTld
startBlock: 108382221
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: optimism
source:
address: "0x7963bfA8F8f914b9776ac6259a8C39965d26f42F"
abi: HandshakeSld
startBlock: 108382221
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- HandshakeSldResolverSet
- RoyaltyPayoutAddressSet
- RoyaltyPayoutAmountSet
- HandshakeSldTransfer
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: optimism
source:
address: "0xfda87cc032cd641ac192027353e5b25261dfe6b3"
abi: SldRegistrationManager
startBlock: 108382221
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: optimism
source:
address: "0x0F1143972197B63053709794f718e60599Ce4730"
abi: DefaultRegistrationStrategy
startBlock: 108382221
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