@ensuro/core 2.0.0-beta3 → 2.0.0-beta6
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/build/contracts/AccessManager.sol/AccessManager.json +487 -0
- package/build/contracts/EToken.sol/EToken.json +4 -4
- package/build/contracts/LPManualWhitelist.sol/LPManualWhitelist.json +4 -4
- package/build/contracts/PolicyNFT.sol/PolicyNFT.json +2 -2
- package/build/contracts/PolicyPool.sol/PolicyPool.json +148 -15
- package/build/contracts/PolicyPoolComponent.sol/PolicyPoolComponent.json +2 -2
- package/build/contracts/PremiumsAccount.sol/PremiumsAccount.json +4 -4
- package/build/contracts/Reserve.sol/Reserve.json +2 -2
- package/build/contracts/RiskModule.sol/RiskModule.json +2 -2
- package/build/contracts/TrustfulRiskModule.sol/TrustfulRiskModule.json +4 -4
- package/build/contracts/interfaces/{IPolicyPoolConfig.sol/IPolicyPoolConfig.json → IAccessManager.sol/IAccessManager.json} +2 -67
- package/build/contracts/interfaces/IPolicyPool.sol/IPolicyPool.json +15 -2
- package/build/contracts/mocks/PolicyPoolComponentMock.sol/PolicyPoolComponentMock.json +2 -2
- package/build/contracts/mocks/PolicyPoolMock.sol/PolicyPoolMock.json +19 -6
- package/build/contracts/mocks/PolicyPoolMock.sol/PolicyPoolMockForward.json +6 -6
- package/contracts/AccessManager.sol +72 -0
- package/contracts/EToken.sol +6 -13
- package/contracts/PolicyNFT.sol +3 -3
- package/contracts/PolicyPool.sol +108 -43
- package/contracts/PolicyPoolComponent.sol +11 -11
- package/contracts/PremiumsAccount.sol +1 -1
- package/contracts/RiskModule.sol +4 -8
- package/contracts/interfaces/{IPolicyPoolConfig.sol → IAccessManager.sol} +2 -21
- package/contracts/interfaces/IPolicyPool.sol +10 -5
- package/contracts/mocks/PolicyPoolMock.sol +15 -13
- package/js/test-utils.js +178 -122
- package/package.json +1 -1
- package/build/contracts/FlightDelayRiskModule.sol/FlightDelayRiskModule.json +0 -890
- package/build/contracts/PolicyPoolConfig.sol/PolicyPoolConfig.json +0 -665
- package/build/contracts/dependencies/ChainlinkClientUpgradeable.sol/ChainlinkClientUpgradeable.json +0 -63
- package/build/contracts/mocks/LinkTokenMock.sol/LinkTokenMock.json +0 -370
- package/build/contracts/upgraded/IPolicyNFTv1.sol/IPolicyNFTv1.json +0 -322
- package/build/contracts/upgraded/PolicyNFTv1.sol/PolicyNFTv1.json +0 -584
- package/build/contracts/upgraded/PolicyNFTv1.sol/PolicyNFTv1_Upgrade.json +0 -615
- package/contracts/FlightDelayRiskModule.sol +0 -217
- package/contracts/PolicyPoolConfig.sol +0 -185
- package/contracts/dependencies/ChainlinkClientUpgradeable.sol +0 -371
- package/contracts/mocks/LinkTokenMock.sol +0 -30
- package/contracts/upgraded/IPolicyNFTv1.sol +0 -15
- package/contracts/upgraded/PolicyNFTv1.sol +0 -126
|
@@ -1,665 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_format": "hh-sol-artifact-1",
|
|
3
|
-
"contractName": "PolicyPoolConfig",
|
|
4
|
-
"sourceName": "contracts/PolicyPoolConfig.sol",
|
|
5
|
-
"abi": [
|
|
6
|
-
{
|
|
7
|
-
"anonymous": false,
|
|
8
|
-
"inputs": [
|
|
9
|
-
{
|
|
10
|
-
"indexed": false,
|
|
11
|
-
"internalType": "address",
|
|
12
|
-
"name": "previousAdmin",
|
|
13
|
-
"type": "address"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"indexed": false,
|
|
17
|
-
"internalType": "address",
|
|
18
|
-
"name": "newAdmin",
|
|
19
|
-
"type": "address"
|
|
20
|
-
}
|
|
21
|
-
],
|
|
22
|
-
"name": "AdminChanged",
|
|
23
|
-
"type": "event"
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"anonymous": false,
|
|
27
|
-
"inputs": [
|
|
28
|
-
{
|
|
29
|
-
"indexed": true,
|
|
30
|
-
"internalType": "address",
|
|
31
|
-
"name": "beacon",
|
|
32
|
-
"type": "address"
|
|
33
|
-
}
|
|
34
|
-
],
|
|
35
|
-
"name": "BeaconUpgraded",
|
|
36
|
-
"type": "event"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"anonymous": false,
|
|
40
|
-
"inputs": [
|
|
41
|
-
{
|
|
42
|
-
"indexed": true,
|
|
43
|
-
"internalType": "enum IPolicyPoolConfig.GovernanceActions",
|
|
44
|
-
"name": "action",
|
|
45
|
-
"type": "uint8"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"indexed": false,
|
|
49
|
-
"internalType": "address",
|
|
50
|
-
"name": "value",
|
|
51
|
-
"type": "address"
|
|
52
|
-
}
|
|
53
|
-
],
|
|
54
|
-
"name": "ComponentChanged",
|
|
55
|
-
"type": "event"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"anonymous": false,
|
|
59
|
-
"inputs": [
|
|
60
|
-
{
|
|
61
|
-
"indexed": false,
|
|
62
|
-
"internalType": "uint8",
|
|
63
|
-
"name": "version",
|
|
64
|
-
"type": "uint8"
|
|
65
|
-
}
|
|
66
|
-
],
|
|
67
|
-
"name": "Initialized",
|
|
68
|
-
"type": "event"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"anonymous": false,
|
|
72
|
-
"inputs": [
|
|
73
|
-
{
|
|
74
|
-
"indexed": true,
|
|
75
|
-
"internalType": "contract IRiskModule",
|
|
76
|
-
"name": "riskModule",
|
|
77
|
-
"type": "address"
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"indexed": false,
|
|
81
|
-
"internalType": "enum IPolicyPoolConfig.RiskModuleStatus",
|
|
82
|
-
"name": "newStatus",
|
|
83
|
-
"type": "uint8"
|
|
84
|
-
}
|
|
85
|
-
],
|
|
86
|
-
"name": "RiskModuleStatusChanged",
|
|
87
|
-
"type": "event"
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"anonymous": false,
|
|
91
|
-
"inputs": [
|
|
92
|
-
{
|
|
93
|
-
"indexed": true,
|
|
94
|
-
"internalType": "bytes32",
|
|
95
|
-
"name": "role",
|
|
96
|
-
"type": "bytes32"
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"indexed": true,
|
|
100
|
-
"internalType": "bytes32",
|
|
101
|
-
"name": "previousAdminRole",
|
|
102
|
-
"type": "bytes32"
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"indexed": true,
|
|
106
|
-
"internalType": "bytes32",
|
|
107
|
-
"name": "newAdminRole",
|
|
108
|
-
"type": "bytes32"
|
|
109
|
-
}
|
|
110
|
-
],
|
|
111
|
-
"name": "RoleAdminChanged",
|
|
112
|
-
"type": "event"
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"anonymous": false,
|
|
116
|
-
"inputs": [
|
|
117
|
-
{
|
|
118
|
-
"indexed": true,
|
|
119
|
-
"internalType": "bytes32",
|
|
120
|
-
"name": "role",
|
|
121
|
-
"type": "bytes32"
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
"indexed": true,
|
|
125
|
-
"internalType": "address",
|
|
126
|
-
"name": "account",
|
|
127
|
-
"type": "address"
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
"indexed": true,
|
|
131
|
-
"internalType": "address",
|
|
132
|
-
"name": "sender",
|
|
133
|
-
"type": "address"
|
|
134
|
-
}
|
|
135
|
-
],
|
|
136
|
-
"name": "RoleGranted",
|
|
137
|
-
"type": "event"
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
"anonymous": false,
|
|
141
|
-
"inputs": [
|
|
142
|
-
{
|
|
143
|
-
"indexed": true,
|
|
144
|
-
"internalType": "bytes32",
|
|
145
|
-
"name": "role",
|
|
146
|
-
"type": "bytes32"
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
"indexed": true,
|
|
150
|
-
"internalType": "address",
|
|
151
|
-
"name": "account",
|
|
152
|
-
"type": "address"
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
"indexed": true,
|
|
156
|
-
"internalType": "address",
|
|
157
|
-
"name": "sender",
|
|
158
|
-
"type": "address"
|
|
159
|
-
}
|
|
160
|
-
],
|
|
161
|
-
"name": "RoleRevoked",
|
|
162
|
-
"type": "event"
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
"anonymous": false,
|
|
166
|
-
"inputs": [
|
|
167
|
-
{
|
|
168
|
-
"indexed": true,
|
|
169
|
-
"internalType": "address",
|
|
170
|
-
"name": "implementation",
|
|
171
|
-
"type": "address"
|
|
172
|
-
}
|
|
173
|
-
],
|
|
174
|
-
"name": "Upgraded",
|
|
175
|
-
"type": "event"
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
"inputs": [],
|
|
179
|
-
"name": "DEFAULT_ADMIN_ROLE",
|
|
180
|
-
"outputs": [
|
|
181
|
-
{
|
|
182
|
-
"internalType": "bytes32",
|
|
183
|
-
"name": "",
|
|
184
|
-
"type": "bytes32"
|
|
185
|
-
}
|
|
186
|
-
],
|
|
187
|
-
"stateMutability": "view",
|
|
188
|
-
"type": "function"
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
"inputs": [],
|
|
192
|
-
"name": "GUARDIAN_ROLE",
|
|
193
|
-
"outputs": [
|
|
194
|
-
{
|
|
195
|
-
"internalType": "bytes32",
|
|
196
|
-
"name": "",
|
|
197
|
-
"type": "bytes32"
|
|
198
|
-
}
|
|
199
|
-
],
|
|
200
|
-
"stateMutability": "view",
|
|
201
|
-
"type": "function"
|
|
202
|
-
},
|
|
203
|
-
{
|
|
204
|
-
"inputs": [],
|
|
205
|
-
"name": "L2_RM_LIMIT",
|
|
206
|
-
"outputs": [
|
|
207
|
-
{
|
|
208
|
-
"internalType": "uint256",
|
|
209
|
-
"name": "",
|
|
210
|
-
"type": "uint256"
|
|
211
|
-
}
|
|
212
|
-
],
|
|
213
|
-
"stateMutability": "view",
|
|
214
|
-
"type": "function"
|
|
215
|
-
},
|
|
216
|
-
{
|
|
217
|
-
"inputs": [],
|
|
218
|
-
"name": "LEVEL1_ROLE",
|
|
219
|
-
"outputs": [
|
|
220
|
-
{
|
|
221
|
-
"internalType": "bytes32",
|
|
222
|
-
"name": "",
|
|
223
|
-
"type": "bytes32"
|
|
224
|
-
}
|
|
225
|
-
],
|
|
226
|
-
"stateMutability": "view",
|
|
227
|
-
"type": "function"
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
"inputs": [],
|
|
231
|
-
"name": "LEVEL2_ROLE",
|
|
232
|
-
"outputs": [
|
|
233
|
-
{
|
|
234
|
-
"internalType": "bytes32",
|
|
235
|
-
"name": "",
|
|
236
|
-
"type": "bytes32"
|
|
237
|
-
}
|
|
238
|
-
],
|
|
239
|
-
"stateMutability": "view",
|
|
240
|
-
"type": "function"
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
"inputs": [],
|
|
244
|
-
"name": "LEVEL3_ROLE",
|
|
245
|
-
"outputs": [
|
|
246
|
-
{
|
|
247
|
-
"internalType": "bytes32",
|
|
248
|
-
"name": "",
|
|
249
|
-
"type": "bytes32"
|
|
250
|
-
}
|
|
251
|
-
],
|
|
252
|
-
"stateMutability": "view",
|
|
253
|
-
"type": "function"
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
"inputs": [
|
|
257
|
-
{
|
|
258
|
-
"internalType": "contract IRiskModule",
|
|
259
|
-
"name": "riskModule",
|
|
260
|
-
"type": "address"
|
|
261
|
-
}
|
|
262
|
-
],
|
|
263
|
-
"name": "addRiskModule",
|
|
264
|
-
"outputs": [],
|
|
265
|
-
"stateMutability": "nonpayable",
|
|
266
|
-
"type": "function"
|
|
267
|
-
},
|
|
268
|
-
{
|
|
269
|
-
"inputs": [
|
|
270
|
-
{
|
|
271
|
-
"internalType": "contract IRiskModule",
|
|
272
|
-
"name": "riskModule",
|
|
273
|
-
"type": "address"
|
|
274
|
-
},
|
|
275
|
-
{
|
|
276
|
-
"internalType": "enum IPolicyPoolConfig.RiskModuleStatus",
|
|
277
|
-
"name": "newStatus",
|
|
278
|
-
"type": "uint8"
|
|
279
|
-
}
|
|
280
|
-
],
|
|
281
|
-
"name": "changeRiskModuleStatus",
|
|
282
|
-
"outputs": [],
|
|
283
|
-
"stateMutability": "nonpayable",
|
|
284
|
-
"type": "function"
|
|
285
|
-
},
|
|
286
|
-
{
|
|
287
|
-
"inputs": [
|
|
288
|
-
{
|
|
289
|
-
"internalType": "contract IRiskModule",
|
|
290
|
-
"name": "riskModule",
|
|
291
|
-
"type": "address"
|
|
292
|
-
}
|
|
293
|
-
],
|
|
294
|
-
"name": "checkAcceptsNewPolicy",
|
|
295
|
-
"outputs": [],
|
|
296
|
-
"stateMutability": "view",
|
|
297
|
-
"type": "function"
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
"inputs": [
|
|
301
|
-
{
|
|
302
|
-
"internalType": "contract IRiskModule",
|
|
303
|
-
"name": "riskModule",
|
|
304
|
-
"type": "address"
|
|
305
|
-
}
|
|
306
|
-
],
|
|
307
|
-
"name": "checkAcceptsResolvePolicy",
|
|
308
|
-
"outputs": [],
|
|
309
|
-
"stateMutability": "view",
|
|
310
|
-
"type": "function"
|
|
311
|
-
},
|
|
312
|
-
{
|
|
313
|
-
"inputs": [
|
|
314
|
-
{
|
|
315
|
-
"internalType": "address",
|
|
316
|
-
"name": "component",
|
|
317
|
-
"type": "address"
|
|
318
|
-
},
|
|
319
|
-
{
|
|
320
|
-
"internalType": "bytes32",
|
|
321
|
-
"name": "role",
|
|
322
|
-
"type": "bytes32"
|
|
323
|
-
},
|
|
324
|
-
{
|
|
325
|
-
"internalType": "address",
|
|
326
|
-
"name": "account",
|
|
327
|
-
"type": "address"
|
|
328
|
-
}
|
|
329
|
-
],
|
|
330
|
-
"name": "checkComponentRole",
|
|
331
|
-
"outputs": [],
|
|
332
|
-
"stateMutability": "view",
|
|
333
|
-
"type": "function"
|
|
334
|
-
},
|
|
335
|
-
{
|
|
336
|
-
"inputs": [
|
|
337
|
-
{
|
|
338
|
-
"internalType": "bytes32",
|
|
339
|
-
"name": "role",
|
|
340
|
-
"type": "bytes32"
|
|
341
|
-
},
|
|
342
|
-
{
|
|
343
|
-
"internalType": "address",
|
|
344
|
-
"name": "account",
|
|
345
|
-
"type": "address"
|
|
346
|
-
}
|
|
347
|
-
],
|
|
348
|
-
"name": "checkRole",
|
|
349
|
-
"outputs": [],
|
|
350
|
-
"stateMutability": "view",
|
|
351
|
-
"type": "function"
|
|
352
|
-
},
|
|
353
|
-
{
|
|
354
|
-
"inputs": [
|
|
355
|
-
{
|
|
356
|
-
"internalType": "bytes32",
|
|
357
|
-
"name": "role1",
|
|
358
|
-
"type": "bytes32"
|
|
359
|
-
},
|
|
360
|
-
{
|
|
361
|
-
"internalType": "bytes32",
|
|
362
|
-
"name": "role2",
|
|
363
|
-
"type": "bytes32"
|
|
364
|
-
},
|
|
365
|
-
{
|
|
366
|
-
"internalType": "address",
|
|
367
|
-
"name": "account",
|
|
368
|
-
"type": "address"
|
|
369
|
-
}
|
|
370
|
-
],
|
|
371
|
-
"name": "checkRole2",
|
|
372
|
-
"outputs": [],
|
|
373
|
-
"stateMutability": "view",
|
|
374
|
-
"type": "function"
|
|
375
|
-
},
|
|
376
|
-
{
|
|
377
|
-
"inputs": [],
|
|
378
|
-
"name": "connect",
|
|
379
|
-
"outputs": [],
|
|
380
|
-
"stateMutability": "nonpayable",
|
|
381
|
-
"type": "function"
|
|
382
|
-
},
|
|
383
|
-
{
|
|
384
|
-
"inputs": [
|
|
385
|
-
{
|
|
386
|
-
"internalType": "address",
|
|
387
|
-
"name": "component",
|
|
388
|
-
"type": "address"
|
|
389
|
-
},
|
|
390
|
-
{
|
|
391
|
-
"internalType": "bytes32",
|
|
392
|
-
"name": "role",
|
|
393
|
-
"type": "bytes32"
|
|
394
|
-
}
|
|
395
|
-
],
|
|
396
|
-
"name": "getComponentRole",
|
|
397
|
-
"outputs": [
|
|
398
|
-
{
|
|
399
|
-
"internalType": "bytes32",
|
|
400
|
-
"name": "",
|
|
401
|
-
"type": "bytes32"
|
|
402
|
-
}
|
|
403
|
-
],
|
|
404
|
-
"stateMutability": "pure",
|
|
405
|
-
"type": "function"
|
|
406
|
-
},
|
|
407
|
-
{
|
|
408
|
-
"inputs": [
|
|
409
|
-
{
|
|
410
|
-
"internalType": "bytes32",
|
|
411
|
-
"name": "role",
|
|
412
|
-
"type": "bytes32"
|
|
413
|
-
}
|
|
414
|
-
],
|
|
415
|
-
"name": "getRoleAdmin",
|
|
416
|
-
"outputs": [
|
|
417
|
-
{
|
|
418
|
-
"internalType": "bytes32",
|
|
419
|
-
"name": "",
|
|
420
|
-
"type": "bytes32"
|
|
421
|
-
}
|
|
422
|
-
],
|
|
423
|
-
"stateMutability": "view",
|
|
424
|
-
"type": "function"
|
|
425
|
-
},
|
|
426
|
-
{
|
|
427
|
-
"inputs": [
|
|
428
|
-
{
|
|
429
|
-
"internalType": "address",
|
|
430
|
-
"name": "component",
|
|
431
|
-
"type": "address"
|
|
432
|
-
},
|
|
433
|
-
{
|
|
434
|
-
"internalType": "bytes32",
|
|
435
|
-
"name": "role",
|
|
436
|
-
"type": "bytes32"
|
|
437
|
-
},
|
|
438
|
-
{
|
|
439
|
-
"internalType": "address",
|
|
440
|
-
"name": "account",
|
|
441
|
-
"type": "address"
|
|
442
|
-
}
|
|
443
|
-
],
|
|
444
|
-
"name": "grantComponentRole",
|
|
445
|
-
"outputs": [],
|
|
446
|
-
"stateMutability": "nonpayable",
|
|
447
|
-
"type": "function"
|
|
448
|
-
},
|
|
449
|
-
{
|
|
450
|
-
"inputs": [
|
|
451
|
-
{
|
|
452
|
-
"internalType": "bytes32",
|
|
453
|
-
"name": "role",
|
|
454
|
-
"type": "bytes32"
|
|
455
|
-
},
|
|
456
|
-
{
|
|
457
|
-
"internalType": "address",
|
|
458
|
-
"name": "account",
|
|
459
|
-
"type": "address"
|
|
460
|
-
}
|
|
461
|
-
],
|
|
462
|
-
"name": "grantRole",
|
|
463
|
-
"outputs": [],
|
|
464
|
-
"stateMutability": "nonpayable",
|
|
465
|
-
"type": "function"
|
|
466
|
-
},
|
|
467
|
-
{
|
|
468
|
-
"inputs": [
|
|
469
|
-
{
|
|
470
|
-
"internalType": "bytes32",
|
|
471
|
-
"name": "role",
|
|
472
|
-
"type": "bytes32"
|
|
473
|
-
},
|
|
474
|
-
{
|
|
475
|
-
"internalType": "address",
|
|
476
|
-
"name": "account",
|
|
477
|
-
"type": "address"
|
|
478
|
-
}
|
|
479
|
-
],
|
|
480
|
-
"name": "hasRole",
|
|
481
|
-
"outputs": [
|
|
482
|
-
{
|
|
483
|
-
"internalType": "bool",
|
|
484
|
-
"name": "",
|
|
485
|
-
"type": "bool"
|
|
486
|
-
}
|
|
487
|
-
],
|
|
488
|
-
"stateMutability": "view",
|
|
489
|
-
"type": "function"
|
|
490
|
-
},
|
|
491
|
-
{
|
|
492
|
-
"inputs": [
|
|
493
|
-
{
|
|
494
|
-
"internalType": "contract IPolicyPool",
|
|
495
|
-
"name": "policyPool_",
|
|
496
|
-
"type": "address"
|
|
497
|
-
},
|
|
498
|
-
{
|
|
499
|
-
"internalType": "address",
|
|
500
|
-
"name": "treasury_",
|
|
501
|
-
"type": "address"
|
|
502
|
-
}
|
|
503
|
-
],
|
|
504
|
-
"name": "initialize",
|
|
505
|
-
"outputs": [],
|
|
506
|
-
"stateMutability": "nonpayable",
|
|
507
|
-
"type": "function"
|
|
508
|
-
},
|
|
509
|
-
{
|
|
510
|
-
"inputs": [],
|
|
511
|
-
"name": "policyPool",
|
|
512
|
-
"outputs": [
|
|
513
|
-
{
|
|
514
|
-
"internalType": "contract IPolicyPool",
|
|
515
|
-
"name": "",
|
|
516
|
-
"type": "address"
|
|
517
|
-
}
|
|
518
|
-
],
|
|
519
|
-
"stateMutability": "view",
|
|
520
|
-
"type": "function"
|
|
521
|
-
},
|
|
522
|
-
{
|
|
523
|
-
"inputs": [],
|
|
524
|
-
"name": "proxiableUUID",
|
|
525
|
-
"outputs": [
|
|
526
|
-
{
|
|
527
|
-
"internalType": "bytes32",
|
|
528
|
-
"name": "",
|
|
529
|
-
"type": "bytes32"
|
|
530
|
-
}
|
|
531
|
-
],
|
|
532
|
-
"stateMutability": "view",
|
|
533
|
-
"type": "function"
|
|
534
|
-
},
|
|
535
|
-
{
|
|
536
|
-
"inputs": [
|
|
537
|
-
{
|
|
538
|
-
"internalType": "contract IRiskModule",
|
|
539
|
-
"name": "riskModule",
|
|
540
|
-
"type": "address"
|
|
541
|
-
}
|
|
542
|
-
],
|
|
543
|
-
"name": "removeRiskModule",
|
|
544
|
-
"outputs": [],
|
|
545
|
-
"stateMutability": "nonpayable",
|
|
546
|
-
"type": "function"
|
|
547
|
-
},
|
|
548
|
-
{
|
|
549
|
-
"inputs": [
|
|
550
|
-
{
|
|
551
|
-
"internalType": "bytes32",
|
|
552
|
-
"name": "role",
|
|
553
|
-
"type": "bytes32"
|
|
554
|
-
},
|
|
555
|
-
{
|
|
556
|
-
"internalType": "address",
|
|
557
|
-
"name": "account",
|
|
558
|
-
"type": "address"
|
|
559
|
-
}
|
|
560
|
-
],
|
|
561
|
-
"name": "renounceRole",
|
|
562
|
-
"outputs": [],
|
|
563
|
-
"stateMutability": "nonpayable",
|
|
564
|
-
"type": "function"
|
|
565
|
-
},
|
|
566
|
-
{
|
|
567
|
-
"inputs": [
|
|
568
|
-
{
|
|
569
|
-
"internalType": "bytes32",
|
|
570
|
-
"name": "role",
|
|
571
|
-
"type": "bytes32"
|
|
572
|
-
},
|
|
573
|
-
{
|
|
574
|
-
"internalType": "address",
|
|
575
|
-
"name": "account",
|
|
576
|
-
"type": "address"
|
|
577
|
-
}
|
|
578
|
-
],
|
|
579
|
-
"name": "revokeRole",
|
|
580
|
-
"outputs": [],
|
|
581
|
-
"stateMutability": "nonpayable",
|
|
582
|
-
"type": "function"
|
|
583
|
-
},
|
|
584
|
-
{
|
|
585
|
-
"inputs": [
|
|
586
|
-
{
|
|
587
|
-
"internalType": "address",
|
|
588
|
-
"name": "treasury_",
|
|
589
|
-
"type": "address"
|
|
590
|
-
}
|
|
591
|
-
],
|
|
592
|
-
"name": "setTreasury",
|
|
593
|
-
"outputs": [],
|
|
594
|
-
"stateMutability": "nonpayable",
|
|
595
|
-
"type": "function"
|
|
596
|
-
},
|
|
597
|
-
{
|
|
598
|
-
"inputs": [
|
|
599
|
-
{
|
|
600
|
-
"internalType": "bytes4",
|
|
601
|
-
"name": "interfaceId",
|
|
602
|
-
"type": "bytes4"
|
|
603
|
-
}
|
|
604
|
-
],
|
|
605
|
-
"name": "supportsInterface",
|
|
606
|
-
"outputs": [
|
|
607
|
-
{
|
|
608
|
-
"internalType": "bool",
|
|
609
|
-
"name": "",
|
|
610
|
-
"type": "bool"
|
|
611
|
-
}
|
|
612
|
-
],
|
|
613
|
-
"stateMutability": "view",
|
|
614
|
-
"type": "function"
|
|
615
|
-
},
|
|
616
|
-
{
|
|
617
|
-
"inputs": [],
|
|
618
|
-
"name": "treasury",
|
|
619
|
-
"outputs": [
|
|
620
|
-
{
|
|
621
|
-
"internalType": "address",
|
|
622
|
-
"name": "",
|
|
623
|
-
"type": "address"
|
|
624
|
-
}
|
|
625
|
-
],
|
|
626
|
-
"stateMutability": "view",
|
|
627
|
-
"type": "function"
|
|
628
|
-
},
|
|
629
|
-
{
|
|
630
|
-
"inputs": [
|
|
631
|
-
{
|
|
632
|
-
"internalType": "address",
|
|
633
|
-
"name": "newImplementation",
|
|
634
|
-
"type": "address"
|
|
635
|
-
}
|
|
636
|
-
],
|
|
637
|
-
"name": "upgradeTo",
|
|
638
|
-
"outputs": [],
|
|
639
|
-
"stateMutability": "nonpayable",
|
|
640
|
-
"type": "function"
|
|
641
|
-
},
|
|
642
|
-
{
|
|
643
|
-
"inputs": [
|
|
644
|
-
{
|
|
645
|
-
"internalType": "address",
|
|
646
|
-
"name": "newImplementation",
|
|
647
|
-
"type": "address"
|
|
648
|
-
},
|
|
649
|
-
{
|
|
650
|
-
"internalType": "bytes",
|
|
651
|
-
"name": "data",
|
|
652
|
-
"type": "bytes"
|
|
653
|
-
}
|
|
654
|
-
],
|
|
655
|
-
"name": "upgradeToAndCall",
|
|
656
|
-
"outputs": [],
|
|
657
|
-
"stateMutability": "payable",
|
|
658
|
-
"type": "function"
|
|
659
|
-
}
|
|
660
|
-
],
|
|
661
|
-
"bytecode": "0x60a06040523060601b60805234801561001757600080fd5b5060805160601c61214a610052600039600081816106d80152818161071801528181610896015281816108d60152610965015261214a6000f3fe6080604052600436106101cd5760003560e01c8063878ccf78116100f7578063bbfb8bae11610095578063f0f4426011610064578063f0f442601461055d578063f67b2bad1461057d578063f6a421fc1461059f578063f7d72a25146105bf57600080fd5b8063bbfb8bae146104dd578063c5b8f5cf146104fd578063ccdcd9cf1461051d578063d547741f1461053d57600080fd5b806391d14854116100d157806391d1485414610473578063948cb719146104935780639fc09402146104a8578063a217fddf146104c857600080fd5b8063878ccf78146104185780638def80e3146104385780639042cf681461045357600080fd5b8063374c96c81161016f5780634f1ef2861161013e5780634f1ef2861461039e57806352d1902d146103b15780635b494dd5146103c657806361d027b3146103fa57600080fd5b8063374c96c8146102e9578063485cc955146103185780634a47a3e0146103385780634d15eb031461036c57600080fd5b806324ea54f4116101ab57806324ea54f4146102675780632f2ff15d1461028957806336568abe146102a95780633659cfe6146102c957600080fd5b806301ffc9a7146101d257806312d9a6ad14610207578063248a9ca314610229575b600080fd5b3480156101de57600080fd5b506101f26101ed366004611d2d565b6105df565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b50610227610222366004611ccf565b610616565b005b34801561023557600080fd5b50610259610244366004611c9d565b60009081526065602052604090206001015490565b6040519081526020016101fe565b34801561027357600080fd5b506102596000805160206120f583398151915281565b34801561029557600080fd5b506102276102a4366004611ccf565b610624565b3480156102b557600080fd5b506102276102c4366004611ccf565b61064e565b3480156102d557600080fd5b506102276102e4366004611b4e565b6106cd565b3480156102f557600080fd5b50610259610304366004611b6b565b60609190911b6001600160601b0319161890565b34801561032457600080fd5b50610227610333366004611d74565b6107ad565b34801561034457600080fd5b506102597fa82e22387fca439f316d78ca566f383218ab8ae1b3e830178c9c82cbd16749c081565b34801561037857600080fd5b5060fc546001600160a01b03165b6040516001600160a01b0390911681526020016101fe565b6102276103ac366004611bd9565b61088b565b3480156103bd57600080fd5b50610259610958565b3480156103d257600080fd5b506102597f5ec196419322369c6bac572d883f4d990ae5ec82f7d93cdf89b85dbb05b63c2781565b34801561040657600080fd5b5060fb546001600160a01b0316610386565b34801561042457600080fd5b50610227610433366004611b4e565b610a0b565b34801561044457600080fd5b5061025966b1a2bc2ec5000081565b34801561045f57600080fd5b5061022761046e366004611b4e565b610aca565b34801561047f57600080fd5b506101f261048e366004611ccf565b610cf3565b34801561049f57600080fd5b50610227610d1e565b3480156104b457600080fd5b506102276104c3366004611b97565b610da0565b3480156104d457600080fd5b50610259600081565b3480156104e957600080fd5b506102276104f8366004611b4e565b610dba565b34801561050957600080fd5b50610227610518366004611cff565b610e41565b34801561052957600080fd5b50610227610538366004611b4e565b610e59565b34801561054957600080fd5b50610227610558366004611ccf565b611014565b34801561056957600080fd5b50610227610578366004611b4e565b611039565b34801561058957600080fd5b506102596000805160206120ae83398151915281565b3480156105ab57600080fd5b506102276105ba366004611b97565b6110ab565b3480156105cb57600080fd5b506102276105da366004611da2565b6110ed565b60006001600160e01b03198216637965db0b60e01b148061061057506301ffc9a760e01b6001600160e01b03198316145b92915050565b6106208282611305565b5050565b60008281526065602052604090206001015461063f81611369565b6106498383611373565b505050565b6001600160a01b03811633146106c35760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b61062082826113f9565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156107165760405162461bcd60e51b81526004016106ba90611ec0565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661075f60008051602061208e833981519152546001600160a01b031690565b6001600160a01b0316146107855760405162461bcd60e51b81526004016106ba90611f0c565b61078e81611460565b604080516000808252602082019092526107aa91839190611496565b50565b600054610100900460ff16158080156107cd5750600054600160ff909116105b806107e75750303b1580156107e7575060005460ff166001145b6108035760405162461bcd60e51b81526004016106ba90611f58565b6000805460ff191660011790558015610826576000805461ff0019166101001790555b61082e611610565b610836611610565b610840838361167d565b8015610649576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498906020015b60405180910390a1505050565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156108d45760405162461bcd60e51b81526004016106ba90611ec0565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661091d60008051602061208e833981519152546001600160a01b031690565b6001600160a01b0316146109435760405162461bcd60e51b81526004016106ba90611f0c565b61094c82611460565b61062082826001611496565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146109f85760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c000000000000000060648201526084016106ba565b5060008051602061208e83398151915290565b6001600160a01b038116600090815260fd602052604090205460ff166001816003811115610a3b57610a3b612036565b1480610a5857506002816003811115610a5657610a56612036565b145b6106205760405162461bcd60e51b815260206004820152603a60248201527f4d6f64756c65206d75737420626520616374697665206f72206465707265636160448201527f74656420746f2070726f63657373207265736f6c7574696f6e7300000000000060648201526084016106ba565b6000805160206120ae833981519152610ae281611369565b6001600160a01b038216600090815260fd602052604081205460ff166003811115610b0f57610b0f612036565b14610b5c5760405162461bcd60e51b815260206004820152601f60248201527f5269736b204d6f64756c6520616c726561647920696e2074686520706f6f6c0060448201526064016106ba565b6001600160a01b038216610bb25760405162461bcd60e51b815260206004820152601860248201527f7269736b4d6f64756c652063616e2774206265207a65726f000000000000000060448201526064016106ba565b60fc5460408051634d15eb0360e01b815290516001600160a01b0392831692851691634d15eb03916004808301926020929190829003018186803b158015610bf957600080fd5b505afa158015610c0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c319190611d57565b6001600160a01b031614610c925760405162461bcd60e51b815260206004820152602260248201527f5269736b4d6f64756c65206e6f74206c696e6b656420746f207468697320706f6044820152611bdb60f21b60648201526084016106ba565b6001600160a01b038216600081815260fd602052604090819020805460ff1916600190811790915590517fd53eb6b3f6b4537d457cf1ef5020afc3e8cef610aa1472d19e442e9a62fef4b291610ce791611e65565b60405180910390a25050565b60009182526065602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60fc546001600160a01b03161580610d40575060fc546001600160a01b031633145b610d8c5760405162461bcd60e51b815260206004820152601c60248201527f506f6c696379506f6f6c20616c726561647920636f6e6e65637465640000000060448201526064016106ba565b60fc80546001600160a01b03191633179055565b6106496001600160601b0319606085901b16831882611305565b6001600160a01b038116600090815260fd602052604090205460ff166001816003811115610dea57610dea612036565b146106205760405162461bcd60e51b815260206004820152602160248201527f524d206d6f64756c65206e6f7420666f756e64206f72206e6f742061637469766044820152606560f81b60648201526084016106ba565b610e4b8382610cf3565b610649576106498282611305565b7fa82e22387fca439f316d78ca566f383218ab8ae1b3e830178c9c82cbd16749c0610e8381611369565b6001600160a01b038216600090815260fd602052604081205460ff166003811115610eb057610eb0612036565b1415610ef65760405162461bcd60e51b8152602060048201526015602482015274149a5cdac8135bd91d5b19481b9bdd08199bdd5b99605a1b60448201526064016106ba565b816001600160a01b0316637ff8bf256040518163ffffffff1660e01b815260040160206040518083038186803b158015610f2f57600080fd5b505afa158015610f43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f679190611cb6565b15610fc75760405162461bcd60e51b815260206004820152602a60248201527f43616e27742072656d6f76652061206d6f64756c6520776974682061637469766044820152696520706f6c696369657360b01b60648201526084016106ba565b6001600160a01b038216600081815260fd6020526040808220805460ff19169055517fd53eb6b3f6b4537d457cf1ef5020afc3e8cef610aa1472d19e442e9a62fef4b291610ce791611e65565b60008281526065602052604090206001015461102f81611369565b61064983836113f9565b6000805160206120ae83398151915261105181611369565b60fb80546001600160a01b0319166001600160a01b038416179055600160fb546040516001600160a01b0390911681527fb6bdbd44472629fc24a00b6f4ee3348b72c9eff333d0e9c16d78c49da1323c8f90602001610ce7565b6110c46001600160601b0319606085901b168318610244565b6110cd81611369565b6110e76001600160601b0319606086901b16841883611373565b50505050565b6000805160206120f58339815191526000805160206120ae8339815191526111158233610cf3565b611123576111238133611305565b6001600160a01b038416600090815260fd602052604081205460ff16600381111561115057611150612036565b14156111965760405162461bcd60e51b8152602060048201526015602482015274149a5cdac8135bd91d5b19481b9bdd08199bdd5b99605a1b60448201526064016106ba565b60038360038111156111aa576111aa612036565b1415806111ca57506111ca6000805160206120f583398151915233610cf3565b6112205760405162461bcd60e51b815260206004820152602160248201527f4f6e6c7920475541524449414e2063616e2073757370656e64206d6f64756c656044820152607360f81b60648201526084016106ba565b6112386000805160206120ae83398151915233610cf3565b6112845760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79204c4556454c312063616e206163746976617465206d6f64756c657360448201526064016106ba565b6001600160a01b038416600090815260fd60205260409020805484919060ff191660018360038111156112b9576112b9612036565b0217905550836001600160a01b03167fd53eb6b3f6b4537d457cf1ef5020afc3e8cef610aa1472d19e442e9a62fef4b2846040516112f79190611e65565b60405180910390a250505050565b61130f8282610cf3565b61062057611327816001600160a01b03166014611773565b611332836020611773565b604051602001611343929190611df0565b60408051601f198184030181529082905262461bcd60e51b82526106ba91600401611e8d565b6107aa8133611305565b61137d8282610cf3565b6106205760008281526065602090815260408083206001600160a01b03851684529091529020805460ff191660011790556113b53390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6114038282610cf3565b156106205760008281526065602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000805160206120f58339815191526000805160206120ae8339815191526114888233610cf3565b610649576106498133611305565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff16156114c95761064983611916565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b815260040160206040518083038186803b15801561150257600080fd5b505afa925050508015611532575060408051601f3d908101601f1916820190925261152f91810190611cb6565b60015b6115955760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b60648201526084016106ba565b60008051602061208e83398151915281146116045760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b60648201526084016106ba565b506106498383836119b2565b600054610100900460ff1661167b5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b60648201526084016106ba565b565b600054610100900460ff161580801561169d5750600054600160ff909116105b806116b75750303b1580156116b7575060005460ff166001145b6116d35760405162461bcd60e51b81526004016106ba90611f58565b6000805460ff1916600117905580156116f6576000805461ff0019166101001790555b6117016000336119d7565b60fc80546001600160a01b038086166001600160a01b03199283161790925560fb8054928516929091169190911790558015610649576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200161087e565b60606000611782836002611fbe565b61178d906002611fa6565b67ffffffffffffffff8111156117a5576117a5612062565b6040519080825280601f01601f1916602001820160405280156117cf576020820181803683370190505b509050600360fc1b816000815181106117ea576117ea61204c565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106118195761181961204c565b60200101906001600160f81b031916908160001a905350600061183d846002611fbe565b611848906001611fa6565b90505b60018111156118c0576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061187c5761187c61204c565b1a60f81b8282815181106118925761189261204c565b60200101906001600160f81b031916908160001a90535060049490941c936118b981612009565b905061184b565b50831561190f5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016106ba565b9392505050565b6001600160a01b0381163b6119835760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016106ba565b60008051602061208e83398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b6119bb836119e1565b6000825111806119c85750805b15610649576110e78383611a21565b6106208282611373565b6119ea81611916565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606001600160a01b0383163b611a895760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016106ba565b600080846001600160a01b031684604051611aa49190611dd4565b600060405180830381855af49150503d8060008114611adf576040519150601f19603f3d011682016040523d82523d6000602084013e611ae4565b606091505b5091509150611b0c82826040518060600160405280602781526020016120ce60279139611b15565b95945050505050565b60608315611b2457508161190f565b825115611b345782518084602001fd5b8160405162461bcd60e51b81526004016106ba9190611e8d565b600060208284031215611b6057600080fd5b813561190f81612078565b60008060408385031215611b7e57600080fd5b8235611b8981612078565b946020939093013593505050565b600080600060608486031215611bac57600080fd5b8335611bb781612078565b9250602084013591506040840135611bce81612078565b809150509250925092565b60008060408385031215611bec57600080fd5b8235611bf781612078565b9150602083013567ffffffffffffffff80821115611c1457600080fd5b818501915085601f830112611c2857600080fd5b813581811115611c3a57611c3a612062565b604051601f8201601f19908116603f01168101908382118183101715611c6257611c62612062565b81604052828152886020848701011115611c7b57600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b600060208284031215611caf57600080fd5b5035919050565b600060208284031215611cc857600080fd5b5051919050565b60008060408385031215611ce257600080fd5b823591506020830135611cf481612078565b809150509250929050565b600080600060608486031215611d1457600080fd5b83359250602084013591506040840135611bce81612078565b600060208284031215611d3f57600080fd5b81356001600160e01b03198116811461190f57600080fd5b600060208284031215611d6957600080fd5b815161190f81612078565b60008060408385031215611d8757600080fd5b8235611d9281612078565b91506020830135611cf481612078565b60008060408385031215611db557600080fd5b8235611dc081612078565b9150602083013560048110611cf457600080fd5b60008251611de6818460208701611fdd565b9190910192915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611e28816017850160208801611fdd565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611e59816028840160208801611fdd565b01602801949350505050565b6020810160048310611e8757634e487b7160e01b600052602160045260246000fd5b91905290565b6020815260008251806020840152611eac816040850160208701611fdd565b601f01601f19169190910160400192915050565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b60008219821115611fb957611fb9612020565b500190565b6000816000190483118215151615611fd857611fd8612020565b500290565b60005b83811015611ff8578181015183820152602001611fe0565b838111156110e75750506000910152565b60008161201857612018612020565b506000190190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146107aa57600080fdfe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbcbf372ca3ebecfe59ac256f17697941bbe63302aced610e8b0e3646f743c7beb2416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c656455435dd261a4b9b3364963f7738a7a662ad9c84396d64be3365284bb7f0a5041a2646970667358221220be1c775be5c831ca807aaea836efe5bc18346a7da90f25332c8040d3a5b923b364736f6c63430008060033",
|
|
662
|
-
"deployedBytecode": "0x6080604052600436106101cd5760003560e01c8063878ccf78116100f7578063bbfb8bae11610095578063f0f4426011610064578063f0f442601461055d578063f67b2bad1461057d578063f6a421fc1461059f578063f7d72a25146105bf57600080fd5b8063bbfb8bae146104dd578063c5b8f5cf146104fd578063ccdcd9cf1461051d578063d547741f1461053d57600080fd5b806391d14854116100d157806391d1485414610473578063948cb719146104935780639fc09402146104a8578063a217fddf146104c857600080fd5b8063878ccf78146104185780638def80e3146104385780639042cf681461045357600080fd5b8063374c96c81161016f5780634f1ef2861161013e5780634f1ef2861461039e57806352d1902d146103b15780635b494dd5146103c657806361d027b3146103fa57600080fd5b8063374c96c8146102e9578063485cc955146103185780634a47a3e0146103385780634d15eb031461036c57600080fd5b806324ea54f4116101ab57806324ea54f4146102675780632f2ff15d1461028957806336568abe146102a95780633659cfe6146102c957600080fd5b806301ffc9a7146101d257806312d9a6ad14610207578063248a9ca314610229575b600080fd5b3480156101de57600080fd5b506101f26101ed366004611d2d565b6105df565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b50610227610222366004611ccf565b610616565b005b34801561023557600080fd5b50610259610244366004611c9d565b60009081526065602052604090206001015490565b6040519081526020016101fe565b34801561027357600080fd5b506102596000805160206120f583398151915281565b34801561029557600080fd5b506102276102a4366004611ccf565b610624565b3480156102b557600080fd5b506102276102c4366004611ccf565b61064e565b3480156102d557600080fd5b506102276102e4366004611b4e565b6106cd565b3480156102f557600080fd5b50610259610304366004611b6b565b60609190911b6001600160601b0319161890565b34801561032457600080fd5b50610227610333366004611d74565b6107ad565b34801561034457600080fd5b506102597fa82e22387fca439f316d78ca566f383218ab8ae1b3e830178c9c82cbd16749c081565b34801561037857600080fd5b5060fc546001600160a01b03165b6040516001600160a01b0390911681526020016101fe565b6102276103ac366004611bd9565b61088b565b3480156103bd57600080fd5b50610259610958565b3480156103d257600080fd5b506102597f5ec196419322369c6bac572d883f4d990ae5ec82f7d93cdf89b85dbb05b63c2781565b34801561040657600080fd5b5060fb546001600160a01b0316610386565b34801561042457600080fd5b50610227610433366004611b4e565b610a0b565b34801561044457600080fd5b5061025966b1a2bc2ec5000081565b34801561045f57600080fd5b5061022761046e366004611b4e565b610aca565b34801561047f57600080fd5b506101f261048e366004611ccf565b610cf3565b34801561049f57600080fd5b50610227610d1e565b3480156104b457600080fd5b506102276104c3366004611b97565b610da0565b3480156104d457600080fd5b50610259600081565b3480156104e957600080fd5b506102276104f8366004611b4e565b610dba565b34801561050957600080fd5b50610227610518366004611cff565b610e41565b34801561052957600080fd5b50610227610538366004611b4e565b610e59565b34801561054957600080fd5b50610227610558366004611ccf565b611014565b34801561056957600080fd5b50610227610578366004611b4e565b611039565b34801561058957600080fd5b506102596000805160206120ae83398151915281565b3480156105ab57600080fd5b506102276105ba366004611b97565b6110ab565b3480156105cb57600080fd5b506102276105da366004611da2565b6110ed565b60006001600160e01b03198216637965db0b60e01b148061061057506301ffc9a760e01b6001600160e01b03198316145b92915050565b6106208282611305565b5050565b60008281526065602052604090206001015461063f81611369565b6106498383611373565b505050565b6001600160a01b03811633146106c35760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b61062082826113f9565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156107165760405162461bcd60e51b81526004016106ba90611ec0565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661075f60008051602061208e833981519152546001600160a01b031690565b6001600160a01b0316146107855760405162461bcd60e51b81526004016106ba90611f0c565b61078e81611460565b604080516000808252602082019092526107aa91839190611496565b50565b600054610100900460ff16158080156107cd5750600054600160ff909116105b806107e75750303b1580156107e7575060005460ff166001145b6108035760405162461bcd60e51b81526004016106ba90611f58565b6000805460ff191660011790558015610826576000805461ff0019166101001790555b61082e611610565b610836611610565b610840838361167d565b8015610649576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498906020015b60405180910390a1505050565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156108d45760405162461bcd60e51b81526004016106ba90611ec0565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661091d60008051602061208e833981519152546001600160a01b031690565b6001600160a01b0316146109435760405162461bcd60e51b81526004016106ba90611f0c565b61094c82611460565b61062082826001611496565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146109f85760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c000000000000000060648201526084016106ba565b5060008051602061208e83398151915290565b6001600160a01b038116600090815260fd602052604090205460ff166001816003811115610a3b57610a3b612036565b1480610a5857506002816003811115610a5657610a56612036565b145b6106205760405162461bcd60e51b815260206004820152603a60248201527f4d6f64756c65206d75737420626520616374697665206f72206465707265636160448201527f74656420746f2070726f63657373207265736f6c7574696f6e7300000000000060648201526084016106ba565b6000805160206120ae833981519152610ae281611369565b6001600160a01b038216600090815260fd602052604081205460ff166003811115610b0f57610b0f612036565b14610b5c5760405162461bcd60e51b815260206004820152601f60248201527f5269736b204d6f64756c6520616c726561647920696e2074686520706f6f6c0060448201526064016106ba565b6001600160a01b038216610bb25760405162461bcd60e51b815260206004820152601860248201527f7269736b4d6f64756c652063616e2774206265207a65726f000000000000000060448201526064016106ba565b60fc5460408051634d15eb0360e01b815290516001600160a01b0392831692851691634d15eb03916004808301926020929190829003018186803b158015610bf957600080fd5b505afa158015610c0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c319190611d57565b6001600160a01b031614610c925760405162461bcd60e51b815260206004820152602260248201527f5269736b4d6f64756c65206e6f74206c696e6b656420746f207468697320706f6044820152611bdb60f21b60648201526084016106ba565b6001600160a01b038216600081815260fd602052604090819020805460ff1916600190811790915590517fd53eb6b3f6b4537d457cf1ef5020afc3e8cef610aa1472d19e442e9a62fef4b291610ce791611e65565b60405180910390a25050565b60009182526065602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60fc546001600160a01b03161580610d40575060fc546001600160a01b031633145b610d8c5760405162461bcd60e51b815260206004820152601c60248201527f506f6c696379506f6f6c20616c726561647920636f6e6e65637465640000000060448201526064016106ba565b60fc80546001600160a01b03191633179055565b6106496001600160601b0319606085901b16831882611305565b6001600160a01b038116600090815260fd602052604090205460ff166001816003811115610dea57610dea612036565b146106205760405162461bcd60e51b815260206004820152602160248201527f524d206d6f64756c65206e6f7420666f756e64206f72206e6f742061637469766044820152606560f81b60648201526084016106ba565b610e4b8382610cf3565b610649576106498282611305565b7fa82e22387fca439f316d78ca566f383218ab8ae1b3e830178c9c82cbd16749c0610e8381611369565b6001600160a01b038216600090815260fd602052604081205460ff166003811115610eb057610eb0612036565b1415610ef65760405162461bcd60e51b8152602060048201526015602482015274149a5cdac8135bd91d5b19481b9bdd08199bdd5b99605a1b60448201526064016106ba565b816001600160a01b0316637ff8bf256040518163ffffffff1660e01b815260040160206040518083038186803b158015610f2f57600080fd5b505afa158015610f43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f679190611cb6565b15610fc75760405162461bcd60e51b815260206004820152602a60248201527f43616e27742072656d6f76652061206d6f64756c6520776974682061637469766044820152696520706f6c696369657360b01b60648201526084016106ba565b6001600160a01b038216600081815260fd6020526040808220805460ff19169055517fd53eb6b3f6b4537d457cf1ef5020afc3e8cef610aa1472d19e442e9a62fef4b291610ce791611e65565b60008281526065602052604090206001015461102f81611369565b61064983836113f9565b6000805160206120ae83398151915261105181611369565b60fb80546001600160a01b0319166001600160a01b038416179055600160fb546040516001600160a01b0390911681527fb6bdbd44472629fc24a00b6f4ee3348b72c9eff333d0e9c16d78c49da1323c8f90602001610ce7565b6110c46001600160601b0319606085901b168318610244565b6110cd81611369565b6110e76001600160601b0319606086901b16841883611373565b50505050565b6000805160206120f58339815191526000805160206120ae8339815191526111158233610cf3565b611123576111238133611305565b6001600160a01b038416600090815260fd602052604081205460ff16600381111561115057611150612036565b14156111965760405162461bcd60e51b8152602060048201526015602482015274149a5cdac8135bd91d5b19481b9bdd08199bdd5b99605a1b60448201526064016106ba565b60038360038111156111aa576111aa612036565b1415806111ca57506111ca6000805160206120f583398151915233610cf3565b6112205760405162461bcd60e51b815260206004820152602160248201527f4f6e6c7920475541524449414e2063616e2073757370656e64206d6f64756c656044820152607360f81b60648201526084016106ba565b6112386000805160206120ae83398151915233610cf3565b6112845760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79204c4556454c312063616e206163746976617465206d6f64756c657360448201526064016106ba565b6001600160a01b038416600090815260fd60205260409020805484919060ff191660018360038111156112b9576112b9612036565b0217905550836001600160a01b03167fd53eb6b3f6b4537d457cf1ef5020afc3e8cef610aa1472d19e442e9a62fef4b2846040516112f79190611e65565b60405180910390a250505050565b61130f8282610cf3565b61062057611327816001600160a01b03166014611773565b611332836020611773565b604051602001611343929190611df0565b60408051601f198184030181529082905262461bcd60e51b82526106ba91600401611e8d565b6107aa8133611305565b61137d8282610cf3565b6106205760008281526065602090815260408083206001600160a01b03851684529091529020805460ff191660011790556113b53390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6114038282610cf3565b156106205760008281526065602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000805160206120f58339815191526000805160206120ae8339815191526114888233610cf3565b610649576106498133611305565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff16156114c95761064983611916565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b815260040160206040518083038186803b15801561150257600080fd5b505afa925050508015611532575060408051601f3d908101601f1916820190925261152f91810190611cb6565b60015b6115955760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b60648201526084016106ba565b60008051602061208e83398151915281146116045760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b60648201526084016106ba565b506106498383836119b2565b600054610100900460ff1661167b5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b60648201526084016106ba565b565b600054610100900460ff161580801561169d5750600054600160ff909116105b806116b75750303b1580156116b7575060005460ff166001145b6116d35760405162461bcd60e51b81526004016106ba90611f58565b6000805460ff1916600117905580156116f6576000805461ff0019166101001790555b6117016000336119d7565b60fc80546001600160a01b038086166001600160a01b03199283161790925560fb8054928516929091169190911790558015610649576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200161087e565b60606000611782836002611fbe565b61178d906002611fa6565b67ffffffffffffffff8111156117a5576117a5612062565b6040519080825280601f01601f1916602001820160405280156117cf576020820181803683370190505b509050600360fc1b816000815181106117ea576117ea61204c565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106118195761181961204c565b60200101906001600160f81b031916908160001a905350600061183d846002611fbe565b611848906001611fa6565b90505b60018111156118c0576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061187c5761187c61204c565b1a60f81b8282815181106118925761189261204c565b60200101906001600160f81b031916908160001a90535060049490941c936118b981612009565b905061184b565b50831561190f5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016106ba565b9392505050565b6001600160a01b0381163b6119835760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016106ba565b60008051602061208e83398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b6119bb836119e1565b6000825111806119c85750805b15610649576110e78383611a21565b6106208282611373565b6119ea81611916565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606001600160a01b0383163b611a895760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016106ba565b600080846001600160a01b031684604051611aa49190611dd4565b600060405180830381855af49150503d8060008114611adf576040519150601f19603f3d011682016040523d82523d6000602084013e611ae4565b606091505b5091509150611b0c82826040518060600160405280602781526020016120ce60279139611b15565b95945050505050565b60608315611b2457508161190f565b825115611b345782518084602001fd5b8160405162461bcd60e51b81526004016106ba9190611e8d565b600060208284031215611b6057600080fd5b813561190f81612078565b60008060408385031215611b7e57600080fd5b8235611b8981612078565b946020939093013593505050565b600080600060608486031215611bac57600080fd5b8335611bb781612078565b9250602084013591506040840135611bce81612078565b809150509250925092565b60008060408385031215611bec57600080fd5b8235611bf781612078565b9150602083013567ffffffffffffffff80821115611c1457600080fd5b818501915085601f830112611c2857600080fd5b813581811115611c3a57611c3a612062565b604051601f8201601f19908116603f01168101908382118183101715611c6257611c62612062565b81604052828152886020848701011115611c7b57600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b600060208284031215611caf57600080fd5b5035919050565b600060208284031215611cc857600080fd5b5051919050565b60008060408385031215611ce257600080fd5b823591506020830135611cf481612078565b809150509250929050565b600080600060608486031215611d1457600080fd5b83359250602084013591506040840135611bce81612078565b600060208284031215611d3f57600080fd5b81356001600160e01b03198116811461190f57600080fd5b600060208284031215611d6957600080fd5b815161190f81612078565b60008060408385031215611d8757600080fd5b8235611d9281612078565b91506020830135611cf481612078565b60008060408385031215611db557600080fd5b8235611dc081612078565b9150602083013560048110611cf457600080fd5b60008251611de6818460208701611fdd565b9190910192915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611e28816017850160208801611fdd565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611e59816028840160208801611fdd565b01602801949350505050565b6020810160048310611e8757634e487b7160e01b600052602160045260246000fd5b91905290565b6020815260008251806020840152611eac816040850160208701611fdd565b601f01601f19169190910160400192915050565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b60008219821115611fb957611fb9612020565b500190565b6000816000190483118215151615611fd857611fd8612020565b500290565b60005b83811015611ff8578181015183820152602001611fe0565b838111156110e75750506000910152565b60008161201857612018612020565b506000190190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146107aa57600080fdfe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbcbf372ca3ebecfe59ac256f17697941bbe63302aced610e8b0e3646f743c7beb2416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c656455435dd261a4b9b3364963f7738a7a662ad9c84396d64be3365284bb7f0a5041a2646970667358221220be1c775be5c831ca807aaea836efe5bc18346a7da90f25332c8040d3a5b923b364736f6c63430008060033",
|
|
663
|
-
"linkReferences": {},
|
|
664
|
-
"deployedLinkReferences": {}
|
|
665
|
-
}
|