@clearproof/contracts 0.3.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -5
- package/artifacts/contracts/ComplianceRegistry.sol/ComplianceRegistry.json +356 -5
- package/artifacts/contracts/Groth16Verifier.sol/Groth16Verifier.json +7 -2
- package/artifacts/contracts/MockVerifier.sol/MockVerifier.json +45 -0
- package/artifacts/contracts/Pairing.sol/Pairing.json +10 -0
- package/artifacts/contracts/PairingHarness.sol/PairingHarness.json +252 -0
- package/artifacts/contracts/PilotCurrentRegistry.sol/PilotCurrentRegistry.json +1063 -0
- package/artifacts/contracts/PilotGroth16Verifier.sol/PilotGroth16Verifier.json +155 -0
- package/artifacts/contracts/PilotRootCheckpoint.sol/PilotRootCheckpoint.json +476 -0
- package/artifacts/contracts/SanctionsOracle.sol/SanctionsOracle.json +27 -2
- package/artifacts/contracts/SanctionsRootRelay.sol/SanctionsRootRelay.json +12 -2
- package/artifacts/contracts/VASPRegistry.sol/VASPRegistry.json +27 -2
- package/artifacts/contracts/{ComplianceRegistry.sol → VerifierRouter.sol}/IGroth16Verifier.json +1 -1
- package/artifacts/contracts/VerifierRouter.sol/VerifierRouter.json +741 -0
- package/artifacts/contracts/bench/Groth16VerifierBLS.sol/Groth16VerifierBLS.json +35 -0
- package/contracts/ComplianceRegistry.sol +186 -35
- package/contracts/Groth16Verifier.sol +135 -267
- package/contracts/MockVerifier.sol +14 -0
- package/contracts/Pairing.sol +147 -0
- package/contracts/PairingHarness.sol +27 -0
- package/contracts/PilotCurrentRegistry.sol +216 -0
- package/contracts/PilotGroth16Verifier.sol +95 -0
- package/contracts/PilotRootCheckpoint.sol +68 -0
- package/contracts/SanctionsOracle.sol +12 -5
- package/contracts/SanctionsRootRelay.sol +6 -2
- package/contracts/VASPRegistry.sol +13 -6
- package/contracts/VerifierRouter.sol +207 -0
- package/contracts/bench/Groth16VerifierBLS.sol +127 -0
- package/package.json +6 -2
|
@@ -0,0 +1,476 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "PilotRootCheckpoint",
|
|
4
|
+
"sourceName": "contracts/PilotRootCheckpoint.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "address",
|
|
10
|
+
"name": "admin",
|
|
11
|
+
"type": "address"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"stateMutability": "nonpayable",
|
|
15
|
+
"type": "constructor"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"inputs": [],
|
|
19
|
+
"name": "AccessControlBadConfirmation",
|
|
20
|
+
"type": "error"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"inputs": [
|
|
24
|
+
{
|
|
25
|
+
"internalType": "address",
|
|
26
|
+
"name": "account",
|
|
27
|
+
"type": "address"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"internalType": "bytes32",
|
|
31
|
+
"name": "neededRole",
|
|
32
|
+
"type": "bytes32"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"name": "AccessControlUnauthorizedAccount",
|
|
36
|
+
"type": "error"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"inputs": [],
|
|
40
|
+
"name": "InvalidApproval",
|
|
41
|
+
"type": "error"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"inputs": [],
|
|
45
|
+
"name": "InvalidScope",
|
|
46
|
+
"type": "error"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"inputs": [],
|
|
50
|
+
"name": "StaleRevision",
|
|
51
|
+
"type": "error"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"inputs": [],
|
|
55
|
+
"name": "UnauthorizedPublisher",
|
|
56
|
+
"type": "error"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"anonymous": false,
|
|
60
|
+
"inputs": [
|
|
61
|
+
{
|
|
62
|
+
"indexed": true,
|
|
63
|
+
"internalType": "bytes32",
|
|
64
|
+
"name": "tenantHash",
|
|
65
|
+
"type": "bytes32"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"indexed": true,
|
|
69
|
+
"internalType": "address",
|
|
70
|
+
"name": "publisher",
|
|
71
|
+
"type": "address"
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"name": "PublisherChanged",
|
|
75
|
+
"type": "event"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"anonymous": false,
|
|
79
|
+
"inputs": [
|
|
80
|
+
{
|
|
81
|
+
"indexed": true,
|
|
82
|
+
"internalType": "bytes32",
|
|
83
|
+
"name": "role",
|
|
84
|
+
"type": "bytes32"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"indexed": true,
|
|
88
|
+
"internalType": "bytes32",
|
|
89
|
+
"name": "previousAdminRole",
|
|
90
|
+
"type": "bytes32"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"indexed": true,
|
|
94
|
+
"internalType": "bytes32",
|
|
95
|
+
"name": "newAdminRole",
|
|
96
|
+
"type": "bytes32"
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
"name": "RoleAdminChanged",
|
|
100
|
+
"type": "event"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"anonymous": false,
|
|
104
|
+
"inputs": [
|
|
105
|
+
{
|
|
106
|
+
"indexed": true,
|
|
107
|
+
"internalType": "bytes32",
|
|
108
|
+
"name": "role",
|
|
109
|
+
"type": "bytes32"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"indexed": true,
|
|
113
|
+
"internalType": "address",
|
|
114
|
+
"name": "account",
|
|
115
|
+
"type": "address"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"indexed": true,
|
|
119
|
+
"internalType": "address",
|
|
120
|
+
"name": "sender",
|
|
121
|
+
"type": "address"
|
|
122
|
+
}
|
|
123
|
+
],
|
|
124
|
+
"name": "RoleGranted",
|
|
125
|
+
"type": "event"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"anonymous": false,
|
|
129
|
+
"inputs": [
|
|
130
|
+
{
|
|
131
|
+
"indexed": true,
|
|
132
|
+
"internalType": "bytes32",
|
|
133
|
+
"name": "role",
|
|
134
|
+
"type": "bytes32"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"indexed": true,
|
|
138
|
+
"internalType": "address",
|
|
139
|
+
"name": "account",
|
|
140
|
+
"type": "address"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"indexed": true,
|
|
144
|
+
"internalType": "address",
|
|
145
|
+
"name": "sender",
|
|
146
|
+
"type": "address"
|
|
147
|
+
}
|
|
148
|
+
],
|
|
149
|
+
"name": "RoleRevoked",
|
|
150
|
+
"type": "event"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"anonymous": false,
|
|
154
|
+
"inputs": [
|
|
155
|
+
{
|
|
156
|
+
"indexed": true,
|
|
157
|
+
"internalType": "bytes32",
|
|
158
|
+
"name": "tenantHash",
|
|
159
|
+
"type": "bytes32"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"indexed": true,
|
|
163
|
+
"internalType": "bytes32",
|
|
164
|
+
"name": "rootScope",
|
|
165
|
+
"type": "bytes32"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"indexed": true,
|
|
169
|
+
"internalType": "bytes32",
|
|
170
|
+
"name": "snapshotDigest",
|
|
171
|
+
"type": "bytes32"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"indexed": false,
|
|
175
|
+
"internalType": "uint256",
|
|
176
|
+
"name": "root",
|
|
177
|
+
"type": "uint256"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"indexed": false,
|
|
181
|
+
"internalType": "uint64",
|
|
182
|
+
"name": "revision",
|
|
183
|
+
"type": "uint64"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"indexed": false,
|
|
187
|
+
"internalType": "uint64",
|
|
188
|
+
"name": "validFrom",
|
|
189
|
+
"type": "uint64"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"indexed": false,
|
|
193
|
+
"internalType": "uint64",
|
|
194
|
+
"name": "validUntil",
|
|
195
|
+
"type": "uint64"
|
|
196
|
+
}
|
|
197
|
+
],
|
|
198
|
+
"name": "RootCheckpointPublished",
|
|
199
|
+
"type": "event"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"inputs": [],
|
|
203
|
+
"name": "DEFAULT_ADMIN_ROLE",
|
|
204
|
+
"outputs": [
|
|
205
|
+
{
|
|
206
|
+
"internalType": "bytes32",
|
|
207
|
+
"name": "",
|
|
208
|
+
"type": "bytes32"
|
|
209
|
+
}
|
|
210
|
+
],
|
|
211
|
+
"stateMutability": "view",
|
|
212
|
+
"type": "function"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"inputs": [
|
|
216
|
+
{
|
|
217
|
+
"internalType": "bytes32",
|
|
218
|
+
"name": "role",
|
|
219
|
+
"type": "bytes32"
|
|
220
|
+
}
|
|
221
|
+
],
|
|
222
|
+
"name": "getRoleAdmin",
|
|
223
|
+
"outputs": [
|
|
224
|
+
{
|
|
225
|
+
"internalType": "bytes32",
|
|
226
|
+
"name": "",
|
|
227
|
+
"type": "bytes32"
|
|
228
|
+
}
|
|
229
|
+
],
|
|
230
|
+
"stateMutability": "view",
|
|
231
|
+
"type": "function"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"inputs": [
|
|
235
|
+
{
|
|
236
|
+
"internalType": "bytes32",
|
|
237
|
+
"name": "role",
|
|
238
|
+
"type": "bytes32"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"internalType": "address",
|
|
242
|
+
"name": "account",
|
|
243
|
+
"type": "address"
|
|
244
|
+
}
|
|
245
|
+
],
|
|
246
|
+
"name": "grantRole",
|
|
247
|
+
"outputs": [],
|
|
248
|
+
"stateMutability": "nonpayable",
|
|
249
|
+
"type": "function"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"inputs": [
|
|
253
|
+
{
|
|
254
|
+
"internalType": "bytes32",
|
|
255
|
+
"name": "role",
|
|
256
|
+
"type": "bytes32"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"internalType": "address",
|
|
260
|
+
"name": "account",
|
|
261
|
+
"type": "address"
|
|
262
|
+
}
|
|
263
|
+
],
|
|
264
|
+
"name": "hasRole",
|
|
265
|
+
"outputs": [
|
|
266
|
+
{
|
|
267
|
+
"internalType": "bool",
|
|
268
|
+
"name": "",
|
|
269
|
+
"type": "bool"
|
|
270
|
+
}
|
|
271
|
+
],
|
|
272
|
+
"stateMutability": "view",
|
|
273
|
+
"type": "function"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"inputs": [
|
|
277
|
+
{
|
|
278
|
+
"internalType": "bytes32",
|
|
279
|
+
"name": "tenantHash",
|
|
280
|
+
"type": "bytes32"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"internalType": "bytes32",
|
|
284
|
+
"name": "rootScope",
|
|
285
|
+
"type": "bytes32"
|
|
286
|
+
}
|
|
287
|
+
],
|
|
288
|
+
"name": "head",
|
|
289
|
+
"outputs": [
|
|
290
|
+
{
|
|
291
|
+
"components": [
|
|
292
|
+
{
|
|
293
|
+
"internalType": "bytes32",
|
|
294
|
+
"name": "snapshotDigest",
|
|
295
|
+
"type": "bytes32"
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"internalType": "uint256",
|
|
299
|
+
"name": "root",
|
|
300
|
+
"type": "uint256"
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"internalType": "uint64",
|
|
304
|
+
"name": "revision",
|
|
305
|
+
"type": "uint64"
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"internalType": "uint64",
|
|
309
|
+
"name": "validFrom",
|
|
310
|
+
"type": "uint64"
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"internalType": "uint64",
|
|
314
|
+
"name": "validUntil",
|
|
315
|
+
"type": "uint64"
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"internalType": "uint64",
|
|
319
|
+
"name": "publishedAt",
|
|
320
|
+
"type": "uint64"
|
|
321
|
+
}
|
|
322
|
+
],
|
|
323
|
+
"internalType": "struct PilotRootCheckpoint.Checkpoint",
|
|
324
|
+
"name": "",
|
|
325
|
+
"type": "tuple"
|
|
326
|
+
}
|
|
327
|
+
],
|
|
328
|
+
"stateMutability": "view",
|
|
329
|
+
"type": "function"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"inputs": [
|
|
333
|
+
{
|
|
334
|
+
"internalType": "bytes32",
|
|
335
|
+
"name": "tenantHash",
|
|
336
|
+
"type": "bytes32"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"internalType": "bytes32",
|
|
340
|
+
"name": "rootScope",
|
|
341
|
+
"type": "bytes32"
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"internalType": "bytes32",
|
|
345
|
+
"name": "snapshotDigest",
|
|
346
|
+
"type": "bytes32"
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"internalType": "uint256",
|
|
350
|
+
"name": "root",
|
|
351
|
+
"type": "uint256"
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"internalType": "uint64",
|
|
355
|
+
"name": "expectedRevision",
|
|
356
|
+
"type": "uint64"
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"internalType": "uint64",
|
|
360
|
+
"name": "approvalRevision",
|
|
361
|
+
"type": "uint64"
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"internalType": "uint64",
|
|
365
|
+
"name": "validFrom",
|
|
366
|
+
"type": "uint64"
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"internalType": "uint64",
|
|
370
|
+
"name": "validUntil",
|
|
371
|
+
"type": "uint64"
|
|
372
|
+
}
|
|
373
|
+
],
|
|
374
|
+
"name": "publish",
|
|
375
|
+
"outputs": [],
|
|
376
|
+
"stateMutability": "nonpayable",
|
|
377
|
+
"type": "function"
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"inputs": [
|
|
381
|
+
{
|
|
382
|
+
"internalType": "bytes32",
|
|
383
|
+
"name": "tenantHash",
|
|
384
|
+
"type": "bytes32"
|
|
385
|
+
}
|
|
386
|
+
],
|
|
387
|
+
"name": "publishers",
|
|
388
|
+
"outputs": [
|
|
389
|
+
{
|
|
390
|
+
"internalType": "address",
|
|
391
|
+
"name": "",
|
|
392
|
+
"type": "address"
|
|
393
|
+
}
|
|
394
|
+
],
|
|
395
|
+
"stateMutability": "view",
|
|
396
|
+
"type": "function"
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"inputs": [
|
|
400
|
+
{
|
|
401
|
+
"internalType": "bytes32",
|
|
402
|
+
"name": "role",
|
|
403
|
+
"type": "bytes32"
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
"internalType": "address",
|
|
407
|
+
"name": "callerConfirmation",
|
|
408
|
+
"type": "address"
|
|
409
|
+
}
|
|
410
|
+
],
|
|
411
|
+
"name": "renounceRole",
|
|
412
|
+
"outputs": [],
|
|
413
|
+
"stateMutability": "nonpayable",
|
|
414
|
+
"type": "function"
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"inputs": [
|
|
418
|
+
{
|
|
419
|
+
"internalType": "bytes32",
|
|
420
|
+
"name": "role",
|
|
421
|
+
"type": "bytes32"
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
"internalType": "address",
|
|
425
|
+
"name": "account",
|
|
426
|
+
"type": "address"
|
|
427
|
+
}
|
|
428
|
+
],
|
|
429
|
+
"name": "revokeRole",
|
|
430
|
+
"outputs": [],
|
|
431
|
+
"stateMutability": "nonpayable",
|
|
432
|
+
"type": "function"
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"inputs": [
|
|
436
|
+
{
|
|
437
|
+
"internalType": "bytes32",
|
|
438
|
+
"name": "tenantHash",
|
|
439
|
+
"type": "bytes32"
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"internalType": "address",
|
|
443
|
+
"name": "publisher",
|
|
444
|
+
"type": "address"
|
|
445
|
+
}
|
|
446
|
+
],
|
|
447
|
+
"name": "setPublisher",
|
|
448
|
+
"outputs": [],
|
|
449
|
+
"stateMutability": "nonpayable",
|
|
450
|
+
"type": "function"
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
"inputs": [
|
|
454
|
+
{
|
|
455
|
+
"internalType": "bytes4",
|
|
456
|
+
"name": "interfaceId",
|
|
457
|
+
"type": "bytes4"
|
|
458
|
+
}
|
|
459
|
+
],
|
|
460
|
+
"name": "supportsInterface",
|
|
461
|
+
"outputs": [
|
|
462
|
+
{
|
|
463
|
+
"internalType": "bool",
|
|
464
|
+
"name": "",
|
|
465
|
+
"type": "bool"
|
|
466
|
+
}
|
|
467
|
+
],
|
|
468
|
+
"stateMutability": "view",
|
|
469
|
+
"type": "function"
|
|
470
|
+
}
|
|
471
|
+
],
|
|
472
|
+
"bytecode": "0x608060405234801561001057600080fd5b50604051610bbe380380610bbe83398101604081905261002f91610114565b6001600160a01b0381166100565760405163725a844f60e01b815260040160405180910390fd5b610061600082610068565b5050610144565b6000828152602081815260408083206001600160a01b038516845290915281205460ff1661010a576000838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556100c23390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a450600161010e565b5060005b92915050565b60006020828403121561012657600080fd5b81516001600160a01b038116811461013d57600080fd5b9392505050565b610a6b806101536000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c8063410d4fdd11610071578063410d4fdd1461026a5780634cd50d88146102ab5780637eadddf0146102be57806391d14854146102d1578063a217fddf146102e4578063d547741f146102ec57600080fd5b806301ffc9a7146100ae5780630b804aca146100d6578063248a9ca3146102115780632f2ff15d1461024257806336568abe14610257575b600080fd5b6100c16100bc3660046108c1565b6102ff565b60405190151581526020015b60405180910390f35b6101b26100e43660046108f2565b6040805160c0810182526000808252602080830182905282840182905260608084018390526080840183905260a08401839052845191820187905293810185905291926002920160408051808303601f190181529181528151602092830120835282820193909352908201600020825160c08101845281548152600182015492810192909252600201546001600160401b0380821693830193909352600160401b810483166060830152600160801b810483166080830152600160c01b900490911660a08201529392505050565b6040516100cd9190600060c082019050825182526020830151602083015260408301516001600160401b0380821660408501528060608601511660608501528060808601511660808501528060a08601511660a0850152505092915050565b61023461021f366004610914565b60009081526020819052604090206001015490565b6040519081526020016100cd565b61025561025036600461092d565b610336565b005b61025561026536600461092d565b610361565b610293610278366004610914565b6001602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016100cd565b6102556102b936600461092d565b610399565b6102556102cc366004610985565b61041c565b6100c16102df36600461092d565b610728565b610234600081565b6102556102fa36600461092d565b610751565b60006001600160e01b03198216637965db0b60e01b148061033057506301ffc9a760e01b6001600160e01b03198316145b92915050565b60008281526020819052604090206001015461035181610776565b61035b8383610783565b50505050565b6001600160a01b038116331461038a5760405163334bd91960e11b815260040160405180910390fd5b6103948282610815565b505050565b60006103a481610776565b826103c25760405163725a844f60e01b815260040160405180910390fd5b60008381526001602052604080822080546001600160a01b0319166001600160a01b0386169081179091559051909185917fd8082747088195c58e106eb390a214d5056861c490dd1a3541af47dd1807cbda9190a3505050565b871580610427575086155b156104455760405163725a844f60e01b815260040160405180910390fd5b6000888152600160205260409020546001600160a01b0316331461047c5760405163988033d960e01b815260040160405180910390fd5b6040805160208082018b90528183018a905282518083038401815260609092018352815191810191909120600081815260029283905292909220908101546001600160401b0387811691161415806104e5575060028101546001600160401b0390811690861611155b156105035760405163817e79d160e01b815260040160405180910390fd5b87158061053057507f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000018710155b8061054a5750661fffffffffffff6001600160401b038616115b8061055d575042846001600160401b0316115b8061057f575060028101546001600160401b03600160401b9091048116908516105b80610593575042836001600160401b031611155b806105b25750620151806105a78585610a00565b6001600160401b0316115b806105cc5750661fffffffffffff6001600160401b038416115b156105ea576040516303e7c1bd60e31b815260040160405180910390fd5b6040805160c08101825289815260208082018a81526001600160401b03808a16848601908152898216606086019081528983166080870190815242841660a0880190815260008b8152600297889052899020975188559451600188015591519590940180549451915193518316600160c01b026001600160c01b03948416600160801b02949094166fffffffffffffffffffffffffffffffff928416600160401b026fffffffffffffffffffffffffffffffff1990961696909316959095179390931792909216919091171790555188908a908c907f6d7b342c46ce35aaa4e31a080a50b7814be6d28fd2aa081ee34cc6a9a5c708c590610714908c908b908b908b909384526001600160401b039283166020850152908216604084015216606082015260800190565b60405180910390a450505050505050505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60008281526020819052604090206001015461076c81610776565b61035b8383610815565b6107808133610880565b50565b600061078f8383610728565b61080d576000838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556107c53390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4506001610330565b506000610330565b60006108218383610728565b1561080d576000838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a4506001610330565b61088a8282610728565b6108bd5760405163e2517d3f60e01b81526001600160a01b03821660048201526024810183905260440160405180910390fd5b5050565b6000602082840312156108d357600080fd5b81356001600160e01b0319811681146108eb57600080fd5b9392505050565b6000806040838503121561090557600080fd5b50508035926020909101359150565b60006020828403121561092657600080fd5b5035919050565b6000806040838503121561094057600080fd5b8235915060208301356001600160a01b038116811461095e57600080fd5b809150509250929050565b80356001600160401b038116811461098057600080fd5b919050565b600080600080600080600080610100898b0312156109a257600080fd5b883597506020890135965060408901359550606089013594506109c760808a01610969565b93506109d560a08a01610969565b92506109e360c08a01610969565b91506109f160e08a01610969565b90509295985092959890939650565b6001600160401b03828116828216039080821115610a2e57634e487b7160e01b600052601160045260246000fd5b509291505056fea2646970667358221220b26f076f843031798161a14accc4cd06fe476a6be0219debb6a4cfd1ff5dfb5b64736f6c63430008180033",
|
|
473
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100a95760003560e01c8063410d4fdd11610071578063410d4fdd1461026a5780634cd50d88146102ab5780637eadddf0146102be57806391d14854146102d1578063a217fddf146102e4578063d547741f146102ec57600080fd5b806301ffc9a7146100ae5780630b804aca146100d6578063248a9ca3146102115780632f2ff15d1461024257806336568abe14610257575b600080fd5b6100c16100bc3660046108c1565b6102ff565b60405190151581526020015b60405180910390f35b6101b26100e43660046108f2565b6040805160c0810182526000808252602080830182905282840182905260608084018390526080840183905260a08401839052845191820187905293810185905291926002920160408051808303601f190181529181528151602092830120835282820193909352908201600020825160c08101845281548152600182015492810192909252600201546001600160401b0380821693830193909352600160401b810483166060830152600160801b810483166080830152600160c01b900490911660a08201529392505050565b6040516100cd9190600060c082019050825182526020830151602083015260408301516001600160401b0380821660408501528060608601511660608501528060808601511660808501528060a08601511660a0850152505092915050565b61023461021f366004610914565b60009081526020819052604090206001015490565b6040519081526020016100cd565b61025561025036600461092d565b610336565b005b61025561026536600461092d565b610361565b610293610278366004610914565b6001602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016100cd565b6102556102b936600461092d565b610399565b6102556102cc366004610985565b61041c565b6100c16102df36600461092d565b610728565b610234600081565b6102556102fa36600461092d565b610751565b60006001600160e01b03198216637965db0b60e01b148061033057506301ffc9a760e01b6001600160e01b03198316145b92915050565b60008281526020819052604090206001015461035181610776565b61035b8383610783565b50505050565b6001600160a01b038116331461038a5760405163334bd91960e11b815260040160405180910390fd5b6103948282610815565b505050565b60006103a481610776565b826103c25760405163725a844f60e01b815260040160405180910390fd5b60008381526001602052604080822080546001600160a01b0319166001600160a01b0386169081179091559051909185917fd8082747088195c58e106eb390a214d5056861c490dd1a3541af47dd1807cbda9190a3505050565b871580610427575086155b156104455760405163725a844f60e01b815260040160405180910390fd5b6000888152600160205260409020546001600160a01b0316331461047c5760405163988033d960e01b815260040160405180910390fd5b6040805160208082018b90528183018a905282518083038401815260609092018352815191810191909120600081815260029283905292909220908101546001600160401b0387811691161415806104e5575060028101546001600160401b0390811690861611155b156105035760405163817e79d160e01b815260040160405180910390fd5b87158061053057507f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000018710155b8061054a5750661fffffffffffff6001600160401b038616115b8061055d575042846001600160401b0316115b8061057f575060028101546001600160401b03600160401b9091048116908516105b80610593575042836001600160401b031611155b806105b25750620151806105a78585610a00565b6001600160401b0316115b806105cc5750661fffffffffffff6001600160401b038416115b156105ea576040516303e7c1bd60e31b815260040160405180910390fd5b6040805160c08101825289815260208082018a81526001600160401b03808a16848601908152898216606086019081528983166080870190815242841660a0880190815260008b8152600297889052899020975188559451600188015591519590940180549451915193518316600160c01b026001600160c01b03948416600160801b02949094166fffffffffffffffffffffffffffffffff928416600160401b026fffffffffffffffffffffffffffffffff1990961696909316959095179390931792909216919091171790555188908a908c907f6d7b342c46ce35aaa4e31a080a50b7814be6d28fd2aa081ee34cc6a9a5c708c590610714908c908b908b908b909384526001600160401b039283166020850152908216604084015216606082015260800190565b60405180910390a450505050505050505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60008281526020819052604090206001015461076c81610776565b61035b8383610815565b6107808133610880565b50565b600061078f8383610728565b61080d576000838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556107c53390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4506001610330565b506000610330565b60006108218383610728565b1561080d576000838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a4506001610330565b61088a8282610728565b6108bd5760405163e2517d3f60e01b81526001600160a01b03821660048201526024810183905260440160405180910390fd5b5050565b6000602082840312156108d357600080fd5b81356001600160e01b0319811681146108eb57600080fd5b9392505050565b6000806040838503121561090557600080fd5b50508035926020909101359150565b60006020828403121561092657600080fd5b5035919050565b6000806040838503121561094057600080fd5b8235915060208301356001600160a01b038116811461095e57600080fd5b809150509250929050565b80356001600160401b038116811461098057600080fd5b919050565b600080600080600080600080610100898b0312156109a257600080fd5b883597506020890135965060408901359550606089013594506109c760808a01610969565b93506109d560a08a01610969565b92506109e360c08a01610969565b91506109f160e08a01610969565b90509295985092959890939650565b6001600160401b03828116828216039080821115610a2e57634e487b7160e01b600052601160045260246000fd5b509291505056fea2646970667358221220b26f076f843031798161a14accc4cd06fe476a6be0219debb6a4cfd1ff5dfb5b64736f6c63430008180033",
|
|
474
|
+
"linkReferences": {},
|
|
475
|
+
"deployedLinkReferences": {}
|
|
476
|
+
}
|
|
@@ -45,6 +45,11 @@
|
|
|
45
45
|
"name": "AccessControlUnauthorizedAccount",
|
|
46
46
|
"type": "error"
|
|
47
47
|
},
|
|
48
|
+
{
|
|
49
|
+
"inputs": [],
|
|
50
|
+
"name": "CooldownActive",
|
|
51
|
+
"type": "error"
|
|
52
|
+
},
|
|
48
53
|
{
|
|
49
54
|
"inputs": [],
|
|
50
55
|
"name": "EnforcedPause",
|
|
@@ -55,6 +60,26 @@
|
|
|
55
60
|
"name": "ExpectedPause",
|
|
56
61
|
"type": "error"
|
|
57
62
|
},
|
|
63
|
+
{
|
|
64
|
+
"inputs": [],
|
|
65
|
+
"name": "LeafCountDecreasedTooMuch",
|
|
66
|
+
"type": "error"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"inputs": [],
|
|
70
|
+
"name": "PeriodOutOfBounds",
|
|
71
|
+
"type": "error"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"inputs": [],
|
|
75
|
+
"name": "ZeroAdmin",
|
|
76
|
+
"type": "error"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"inputs": [],
|
|
80
|
+
"name": "ZeroRoot",
|
|
81
|
+
"type": "error"
|
|
82
|
+
},
|
|
58
83
|
{
|
|
59
84
|
"anonymous": false,
|
|
60
85
|
"inputs": [
|
|
@@ -553,8 +578,8 @@
|
|
|
553
578
|
"type": "function"
|
|
554
579
|
}
|
|
555
580
|
],
|
|
556
|
-
"bytecode": "
|
|
557
|
-
"deployedBytecode": "
|
|
581
|
+
"bytecode": "0x60806040526201518060045534801561001757600080fd5b50604051610e44380380610e448339810160408190526100369161021b565b6001600160a01b03831661005d57604051633944ed8760e11b815260040160405180910390fd5b61006860008461016f565b506100937f68e79a7bf1e0bc45d0a330c573bc367f9cf464fd326078812f301165fbda4ef18461016f565b5060028281556003805463ffffffff938416680100000000000000008181026001600160601b03199384166001600160401b034281169182179290921790955560408051606081018252988952602089019586528801928352600580546001810182556000919091529751979095027f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db081019790975592517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db1909601805491519095169092029116939091169290921791909117905550610273565b6000828152602081815260408083206001600160a01b038516845290915281205460ff16610211576000838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556101c93390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4506001610215565b5060005b92915050565b60008060006060848603121561023057600080fd5b83516001600160a01b038116811461024757600080fd5b60208501516040860151919450925063ffffffff8116811461026857600080fd5b809150509250925092565b610bc2806102826000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c80638f42f624116100c3578063d0b06f5d1161007c578063d0b06f5d1461029b578063d547741f146102c8578063f1279c8c146102db578063f1c621ee146102e3578063f2f6596014610320578063fdab463d1461033357600080fd5b80638f42f6241461025257806391d148541461025b5780639d5739e71461026e5780639f59e11f14610277578063a06db7dc1461028a578063a217fddf1461029357600080fd5b80632f2ff15d116101155780632f2ff15d146101e357806330e69fc3146101f857806336568abe146102245780633f4ba83a146102375780635c975abb1461023f5780638456cb591461024a57600080fd5b806301ffc9a71461015257806307e2cea51461017a57806313545a02146101af5780631a26f447146101b8578063248a9ca3146101c0575b600080fd5b610165610160366004610a33565b61033c565b60405190151581526020015b60405180910390f35b6101a17f68e79a7bf1e0bc45d0a330c573bc367f9cf464fd326078812f301165fbda4ef181565b604051908152602001610171565b6101a16103e881565b610165610373565b6101a16101ce366004610a64565b60009081526020819052604090206001015490565b6101f66101f1366004610a7d565b610396565b005b60035461020f90600160401b900463ffffffff1681565b60405163ffffffff9091168152602001610171565b6101f6610232366004610a7d565b6103c1565b6101f66103f9565b60015460ff16610165565b6101f661040f565b6101a160065481565b610165610269366004610a7d565b610422565b6101a1610e1081565b6101f6610285366004610ab9565b61044b565b6101a160045481565b6101a1600081565b6003546102af9067ffffffffffffffff1681565b60405167ffffffffffffffff9091168152602001610171565b6101f66102d6366004610a7d565b610728565b6005546101a1565b6102f66102f1366004610a64565b61074d565b6040805193845267ffffffffffffffff909216602084015263ffffffff1690820152606001610171565b6101f661032e366004610a64565b610794565b6101a160025481565b60006001600160e01b03198216637965db0b60e01b148061036d57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60045460035460009161038f9167ffffffffffffffff16610afd565b4211905090565b6000828152602081905260409020600101546103b181610815565b6103bb838361081f565b50505050565b6001600160a01b03811633146103ea5760405163334bd91960e11b815260040160405180910390fd5b6103f482826108b1565b505050565b600061040481610815565b61040c61091c565b50565b600061041a81610815565b61040c61096e565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b7f68e79a7bf1e0bc45d0a330c573bc367f9cf464fd326078812f301165fbda4ef161047581610815565b61047d6109a9565b8261049b5760405163b263ae7360e01b815260040160405180910390fd5b6003546104b590610e109067ffffffffffffffff16610afd565b4210156104d55760405163aa9a98df60e01b815260040160405180910390fd5b6003546104f190600290600160401b900463ffffffff16610b26565b63ffffffff168263ffffffff16101561051d576040516306ef1ad360e11b815260040160405180910390fd5b60028054908490556003805463ffffffff8516600160401b026001600160601b031990911667ffffffffffffffff4216171790556005546103e8111561061b576040805160608101825285815267ffffffffffffffff4281166020830190815263ffffffff80881694840194855260058054600181018255600091909152935160029094027f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db081019490945590517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db190930180549451909116600160401b026001600160601b031990941692909116919091179190911790556106d6565b60006103e860065461062d9190610b49565b905060405180606001604052808681526020014267ffffffffffffffff1681526020018563ffffffff168152506005828154811061066d5761066d610b5d565b6000918252602080832084516002909302019182558301516001909101805460409094015163ffffffff16600160401b026001600160601b031990941667ffffffffffffffff909216919091179290921790915560068054916106cf83610b73565b9190505550505b6040805163ffffffff8516815267ffffffffffffffff42166020820152859183917ff920e451a3a0564cc13cfcef40fb2e3f2a43b33ffdffa43b50b8b9647ea1b508910160405180910390a350505050565b60008281526020819052604090206001015461074381610815565b6103bb83836108b1565b6005818154811061075d57600080fd5b60009182526020909120600290910201805460019091015490915067ffffffffffffffff811690600160401b900463ffffffff1683565b600061079f81610815565b6154608210806107b1575062093a8082115b156107cf57604051638e20837b60e01b815260040160405180910390fd5b600480549083905560408051828152602081018590527f55c7a79c45e9a972909cd640f9336a14a84adbaf756211f16267001854110191910160405180910390a1505050565b61040c81336109cf565b600061082b8383610422565b6108a9576000838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556108613390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a450600161036d565b50600061036d565b60006108bd8383610422565b156108a9576000838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a450600161036d565b610924610a10565b6001805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6109766109a9565b6001805460ff1916811790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25833610951565b60015460ff16156109cd5760405163d93c066560e01b815260040160405180910390fd5b565b6109d98282610422565b610a0c5760405163e2517d3f60e01b81526001600160a01b03821660048201526024810183905260440160405180910390fd5b5050565b60015460ff166109cd57604051638dfc202b60e01b815260040160405180910390fd5b600060208284031215610a4557600080fd5b81356001600160e01b031981168114610a5d57600080fd5b9392505050565b600060208284031215610a7657600080fd5b5035919050565b60008060408385031215610a9057600080fd5b8235915060208301356001600160a01b0381168114610aae57600080fd5b809150509250929050565b60008060408385031215610acc57600080fd5b82359150602083013563ffffffff81168114610aae57600080fd5b634e487b7160e01b600052601160045260246000fd5b8082018082111561036d5761036d610ae7565b634e487b7160e01b600052601260045260246000fd5b600063ffffffff80841680610b3d57610b3d610b10565b92169190910492915050565b600082610b5857610b58610b10565b500690565b634e487b7160e01b600052603260045260246000fd5b600060018201610b8557610b85610ae7565b506001019056fea2646970667358221220a328d91945b4f9b8795994edcffbdb5965dfbfc8e1e7b93347526e47b64e601064736f6c63430008180033",
|
|
582
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061014d5760003560e01c80638f42f624116100c3578063d0b06f5d1161007c578063d0b06f5d1461029b578063d547741f146102c8578063f1279c8c146102db578063f1c621ee146102e3578063f2f6596014610320578063fdab463d1461033357600080fd5b80638f42f6241461025257806391d148541461025b5780639d5739e71461026e5780639f59e11f14610277578063a06db7dc1461028a578063a217fddf1461029357600080fd5b80632f2ff15d116101155780632f2ff15d146101e357806330e69fc3146101f857806336568abe146102245780633f4ba83a146102375780635c975abb1461023f5780638456cb591461024a57600080fd5b806301ffc9a71461015257806307e2cea51461017a57806313545a02146101af5780631a26f447146101b8578063248a9ca3146101c0575b600080fd5b610165610160366004610a33565b61033c565b60405190151581526020015b60405180910390f35b6101a17f68e79a7bf1e0bc45d0a330c573bc367f9cf464fd326078812f301165fbda4ef181565b604051908152602001610171565b6101a16103e881565b610165610373565b6101a16101ce366004610a64565b60009081526020819052604090206001015490565b6101f66101f1366004610a7d565b610396565b005b60035461020f90600160401b900463ffffffff1681565b60405163ffffffff9091168152602001610171565b6101f6610232366004610a7d565b6103c1565b6101f66103f9565b60015460ff16610165565b6101f661040f565b6101a160065481565b610165610269366004610a7d565b610422565b6101a1610e1081565b6101f6610285366004610ab9565b61044b565b6101a160045481565b6101a1600081565b6003546102af9067ffffffffffffffff1681565b60405167ffffffffffffffff9091168152602001610171565b6101f66102d6366004610a7d565b610728565b6005546101a1565b6102f66102f1366004610a64565b61074d565b6040805193845267ffffffffffffffff909216602084015263ffffffff1690820152606001610171565b6101f661032e366004610a64565b610794565b6101a160025481565b60006001600160e01b03198216637965db0b60e01b148061036d57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60045460035460009161038f9167ffffffffffffffff16610afd565b4211905090565b6000828152602081905260409020600101546103b181610815565b6103bb838361081f565b50505050565b6001600160a01b03811633146103ea5760405163334bd91960e11b815260040160405180910390fd5b6103f482826108b1565b505050565b600061040481610815565b61040c61091c565b50565b600061041a81610815565b61040c61096e565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b7f68e79a7bf1e0bc45d0a330c573bc367f9cf464fd326078812f301165fbda4ef161047581610815565b61047d6109a9565b8261049b5760405163b263ae7360e01b815260040160405180910390fd5b6003546104b590610e109067ffffffffffffffff16610afd565b4210156104d55760405163aa9a98df60e01b815260040160405180910390fd5b6003546104f190600290600160401b900463ffffffff16610b26565b63ffffffff168263ffffffff16101561051d576040516306ef1ad360e11b815260040160405180910390fd5b60028054908490556003805463ffffffff8516600160401b026001600160601b031990911667ffffffffffffffff4216171790556005546103e8111561061b576040805160608101825285815267ffffffffffffffff4281166020830190815263ffffffff80881694840194855260058054600181018255600091909152935160029094027f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db081019490945590517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db190930180549451909116600160401b026001600160601b031990941692909116919091179190911790556106d6565b60006103e860065461062d9190610b49565b905060405180606001604052808681526020014267ffffffffffffffff1681526020018563ffffffff168152506005828154811061066d5761066d610b5d565b6000918252602080832084516002909302019182558301516001909101805460409094015163ffffffff16600160401b026001600160601b031990941667ffffffffffffffff909216919091179290921790915560068054916106cf83610b73565b9190505550505b6040805163ffffffff8516815267ffffffffffffffff42166020820152859183917ff920e451a3a0564cc13cfcef40fb2e3f2a43b33ffdffa43b50b8b9647ea1b508910160405180910390a350505050565b60008281526020819052604090206001015461074381610815565b6103bb83836108b1565b6005818154811061075d57600080fd5b60009182526020909120600290910201805460019091015490915067ffffffffffffffff811690600160401b900463ffffffff1683565b600061079f81610815565b6154608210806107b1575062093a8082115b156107cf57604051638e20837b60e01b815260040160405180910390fd5b600480549083905560408051828152602081018590527f55c7a79c45e9a972909cd640f9336a14a84adbaf756211f16267001854110191910160405180910390a1505050565b61040c81336109cf565b600061082b8383610422565b6108a9576000838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556108613390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a450600161036d565b50600061036d565b60006108bd8383610422565b156108a9576000838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a450600161036d565b610924610a10565b6001805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6109766109a9565b6001805460ff1916811790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25833610951565b60015460ff16156109cd5760405163d93c066560e01b815260040160405180910390fd5b565b6109d98282610422565b610a0c5760405163e2517d3f60e01b81526001600160a01b03821660048201526024810183905260440160405180910390fd5b5050565b60015460ff166109cd57604051638dfc202b60e01b815260040160405180910390fd5b600060208284031215610a4557600080fd5b81356001600160e01b031981168114610a5d57600080fd5b9392505050565b600060208284031215610a7657600080fd5b5035919050565b60008060408385031215610a9057600080fd5b8235915060208301356001600160a01b0381168114610aae57600080fd5b809150509250929050565b60008060408385031215610acc57600080fd5b82359150602083013563ffffffff81168114610aae57600080fd5b634e487b7160e01b600052601160045260246000fd5b8082018082111561036d5761036d610ae7565b634e487b7160e01b600052601260045260246000fd5b600063ffffffff80841680610b3d57610b3d610b10565b92169190910492915050565b600082610b5857610b58610b10565b500690565b634e487b7160e01b600052603260045260246000fd5b600060018201610b8557610b85610ae7565b506001019056fea2646970667358221220a328d91945b4f9b8795994edcffbdb5965dfbfc8e1e7b93347526e47b64e601064736f6c63430008180033",
|
|
558
583
|
"linkReferences": {},
|
|
559
584
|
"deployedLinkReferences": {}
|
|
560
585
|
}
|
|
@@ -40,6 +40,16 @@
|
|
|
40
40
|
"name": "AccessControlUnauthorizedAccount",
|
|
41
41
|
"type": "error"
|
|
42
42
|
},
|
|
43
|
+
{
|
|
44
|
+
"inputs": [],
|
|
45
|
+
"name": "ZeroAdmin",
|
|
46
|
+
"type": "error"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"inputs": [],
|
|
50
|
+
"name": "ZeroOracle",
|
|
51
|
+
"type": "error"
|
|
52
|
+
},
|
|
43
53
|
{
|
|
44
54
|
"anonymous": false,
|
|
45
55
|
"inputs": [
|
|
@@ -314,8 +324,8 @@
|
|
|
314
324
|
"type": "function"
|
|
315
325
|
}
|
|
316
326
|
],
|
|
317
|
-
"bytecode": "
|
|
318
|
-
"deployedBytecode": "
|
|
327
|
+
"bytecode": "0x60a060405234801561001057600080fd5b506040516107bd3803806107bd83398101604081905261002f9161018e565b6001600160a01b03821661005657604051633944ed8760e11b815260040160405180910390fd5b6001600160a01b03811661007d57604051636ab74eb360e11b815260040160405180910390fd5b6100886000836100c6565b506100b37fe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc4836100c6565b506001600160a01b0316608052506101c1565b6000828152602081815260408083206001600160a01b038516845290915281205460ff16610168576000838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556101203390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a450600161016c565b5060005b92915050565b80516001600160a01b038116811461018957600080fd5b919050565b600080604083850312156101a157600080fd5b6101aa83610172565b91506101b860208401610172565b90509250929050565b6080516105da6101e36000396000818161013c015261024e01526105da6000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c80637dc0d1d0116100665780637dc0d1d01461013757806391d1485414610176578063926d7d7f14610189578063a217fddf146101b0578063d547741f146101b857600080fd5b806301ffc9a7146100a357806307ba869a146100cb578063248a9ca3146100e05780632f2ff15d1461011157806336568abe14610124575b600080fd5b6100b66100b13660046104f0565b6101cb565b60405190151581526020015b60405180910390f35b6100de6100d9366004610521565b610202565b005b6101036100ee36600461055a565b60009081526020819052604090206001015490565b6040519081526020016100c2565b6100de61011f366004610573565b6102f4565b6100de610132366004610573565b61031f565b61015e7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100c2565b6100b6610184366004610573565b610357565b6101037fe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc481565b610103600081565b6100de6101c6366004610573565b610380565b60006001600160e01b03198216637965db0b60e01b14806101fc57506301ffc9a760e01b6001600160e01b03198316145b92915050565b7fe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc461022c816103a5565b604051639f59e11f60e01b81526004810184905263ffffffff831660248201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690639f59e11f90604401600060405180830381600087803b15801561029a57600080fd5b505af11580156102ae573d6000803e3d6000fd5b505060405163ffffffff851681523392508591507fe4c5e2b5eaec8c0534190e73a2e76bf487b96521d6765d757c7c79ae2f2f66e59060200160405180910390a3505050565b60008281526020819052604090206001015461030f816103a5565b61031983836103b2565b50505050565b6001600160a01b03811633146103485760405163334bd91960e11b815260040160405180910390fd5b6103528282610444565b505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60008281526020819052604090206001015461039b816103a5565b6103198383610444565b6103af81336104af565b50565b60006103be8383610357565b61043c576000838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556103f43390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45060016101fc565b5060006101fc565b60006104508383610357565b1561043c576000838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45060016101fc565b6104b98282610357565b6104ec5760405163e2517d3f60e01b81526001600160a01b03821660048201526024810183905260440160405180910390fd5b5050565b60006020828403121561050257600080fd5b81356001600160e01b03198116811461051a57600080fd5b9392505050565b6000806040838503121561053457600080fd5b82359150602083013563ffffffff8116811461054f57600080fd5b809150509250929050565b60006020828403121561056c57600080fd5b5035919050565b6000806040838503121561058657600080fd5b8235915060208301356001600160a01b038116811461054f57600080fdfea26469706673582212206e984fed03f4ec2d4bb40717456d382c7036f4f7d7da99db76f51448c163b5bc64736f6c63430008180033",
|
|
328
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061009e5760003560e01c80637dc0d1d0116100665780637dc0d1d01461013757806391d1485414610176578063926d7d7f14610189578063a217fddf146101b0578063d547741f146101b857600080fd5b806301ffc9a7146100a357806307ba869a146100cb578063248a9ca3146100e05780632f2ff15d1461011157806336568abe14610124575b600080fd5b6100b66100b13660046104f0565b6101cb565b60405190151581526020015b60405180910390f35b6100de6100d9366004610521565b610202565b005b6101036100ee36600461055a565b60009081526020819052604090206001015490565b6040519081526020016100c2565b6100de61011f366004610573565b6102f4565b6100de610132366004610573565b61031f565b61015e7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100c2565b6100b6610184366004610573565b610357565b6101037fe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc481565b610103600081565b6100de6101c6366004610573565b610380565b60006001600160e01b03198216637965db0b60e01b14806101fc57506301ffc9a760e01b6001600160e01b03198316145b92915050565b7fe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc461022c816103a5565b604051639f59e11f60e01b81526004810184905263ffffffff831660248201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690639f59e11f90604401600060405180830381600087803b15801561029a57600080fd5b505af11580156102ae573d6000803e3d6000fd5b505060405163ffffffff851681523392508591507fe4c5e2b5eaec8c0534190e73a2e76bf487b96521d6765d757c7c79ae2f2f66e59060200160405180910390a3505050565b60008281526020819052604090206001015461030f816103a5565b61031983836103b2565b50505050565b6001600160a01b03811633146103485760405163334bd91960e11b815260040160405180910390fd5b6103528282610444565b505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60008281526020819052604090206001015461039b816103a5565b6103198383610444565b6103af81336104af565b50565b60006103be8383610357565b61043c576000838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556103f43390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45060016101fc565b5060006101fc565b60006104508383610357565b1561043c576000838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45060016101fc565b6104b98282610357565b6104ec5760405163e2517d3f60e01b81526001600160a01b03821660048201526024810183905260440160405180910390fd5b5050565b60006020828403121561050257600080fd5b81356001600160e01b03198116811461051a57600080fd5b9392505050565b6000806040838503121561053457600080fd5b82359150602083013563ffffffff8116811461054f57600080fd5b809150509250929050565b60006020828403121561056c57600080fd5b5035919050565b6000806040838503121561058657600080fd5b8235915060208301356001600160a01b038116811461054f57600080fdfea26469706673582212206e984fed03f4ec2d4bb40717456d382c7036f4f7d7da99db76f51448c163b5bc64736f6c63430008180033",
|
|
319
329
|
"linkReferences": {},
|
|
320
330
|
"deployedLinkReferences": {}
|
|
321
331
|
}
|