@ensuro/core 1.2.6 → 2.0.0-beta2
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 +49 -17
- package/build/contracts/EToken.sol/EToken.json +163 -173
- package/build/contracts/FlightDelayRiskModule.sol/FlightDelayRiskModule.json +112 -315
- package/build/contracts/LPManualWhitelist.sol/LPManualWhitelist.json +34 -2
- package/build/contracts/Policy.sol/Policy.json +2 -2
- package/build/contracts/PolicyNFT.sol/PolicyNFT.json +16 -3
- package/build/contracts/PolicyPool.sol/PolicyPool.json +105 -351
- package/build/contracts/PolicyPoolComponent.sol/PolicyPoolComponent.json +32 -0
- package/build/contracts/PolicyPoolConfig.sol/PolicyPoolConfig.json +77 -98
- package/build/contracts/PremiumsAccount.sol/PremiumsAccount.json +761 -0
- package/build/contracts/{BaseAssetManager.sol/BaseAssetManager.json → Reserve.sol/Reserve.json} +23 -191
- package/build/contracts/RiskModule.sol/RiskModule.json +94 -302
- package/build/contracts/TimeScaled.sol/TimeScaled.json +24 -0
- package/build/contracts/TrustfulRiskModule.sol/TrustfulRiskModule.json +142 -325
- package/build/contracts/dependencies/ChainlinkClientUpgradeable.sol/ChainlinkClientUpgradeable.json +15 -2
- package/build/contracts/dependencies/ERC1967Proxy.sol/ERC1967Proxy.json +64 -0
- package/build/{interfaces/IExchange.sol/IExchange.json → contracts/dependencies/IERC20Metadata.sol/IERC20Metadata.json} +83 -79
- package/build/{interfaces → contracts/interfaces}/IEToken.sol/IEToken.json +32 -97
- package/build/{interfaces → contracts/interfaces}/ILPWhitelist.sol/ILPWhitelist.json +1 -1
- package/build/{interfaces → contracts/interfaces}/IPolicyHolder.sol/IPolicyHolder.json +1 -1
- package/build/{interfaces → contracts/interfaces}/IPolicyNFT.sol/IPolicyNFT.json +1 -1
- package/build/{interfaces → contracts/interfaces}/IPolicyPool.sol/IPolicyPool.json +121 -108
- package/build/{interfaces → contracts/interfaces}/IPolicyPoolComponent.sol/IPolicyPoolComponent.json +1 -1
- package/build/{interfaces → contracts/interfaces}/IPolicyPoolConfig.sol/IPolicyPoolConfig.json +20 -49
- package/build/contracts/interfaces/IPremiumsAccount.sol/IPremiumsAccount.json +302 -0
- package/build/{interfaces → contracts/interfaces}/IRiskModule.sol/IRiskModule.json +58 -34
- package/build/contracts/mocks/ForwardProxy.sol/ForwardProxy.json +43 -0
- package/build/{interfaces/IInsolvencyHook.sol/IInsolvencyHook.json → contracts/mocks/IMintableERC20.sol/IMintableERC20.json} +13 -8
- package/build/contracts/mocks/LinkTokenMock.sol/LinkTokenMock.json +370 -0
- package/build/contracts/mocks/PolicyHolderMock.sol/PolicyHolderMock.json +202 -0
- package/build/contracts/mocks/PolicyPoolComponentMock.sol/PolicyPoolComponentMock.json +35 -0
- package/build/contracts/mocks/PolicyPoolMock.sol/PolicyPoolMock.json +603 -0
- package/build/contracts/mocks/PolicyPoolMock.sol/PolicyPoolMockForward.json +92 -0
- package/build/contracts/mocks/TestCurrency.sol/TestCurrency.json +343 -0
- package/build/contracts/mocks/TestNFT.sol/TestNFT.json +388 -0
- package/build/contracts/upgraded/PolicyNFTv1.sol/PolicyNFTv1.json +16 -3
- package/build/contracts/upgraded/PolicyNFTv1.sol/PolicyNFTv1_Upgrade.json +16 -3
- package/contracts/EToken.sol +210 -267
- package/contracts/FlightDelayRiskModule.sol +30 -21
- package/contracts/LPManualWhitelist.sol +4 -4
- package/contracts/Policy.sol +48 -44
- package/contracts/PolicyNFT.sol +2 -2
- package/contracts/PolicyPool.sol +114 -467
- package/contracts/PolicyPoolComponent.sol +14 -3
- package/contracts/PolicyPoolConfig.sol +29 -91
- package/contracts/PremiumsAccount.sol +274 -0
- package/contracts/Reserve.sol +34 -0
- package/contracts/RiskModule.sol +216 -164
- package/contracts/TimeScaled.sol +134 -0
- package/contracts/TrustfulRiskModule.sol +23 -21
- package/contracts/dependencies/ERC1967Proxy.sol +19 -0
- package/contracts/dependencies/IERC20Metadata.sol +19 -0
- package/contracts/interfaces/IEToken.sol +172 -0
- package/{interfaces → contracts/interfaces}/ILPWhitelist.sol +0 -0
- package/{interfaces → contracts/interfaces}/IPolicyHolder.sol +0 -0
- package/{interfaces → contracts/interfaces}/IPolicyNFT.sol +0 -0
- package/contracts/interfaces/IPolicyPool.sol +138 -0
- package/{interfaces → contracts/interfaces}/IPolicyPoolComponent.sol +0 -0
- package/{interfaces → contracts/interfaces}/IPolicyPoolConfig.sol +31 -22
- package/contracts/interfaces/IPremiumsAccount.sol +71 -0
- package/contracts/interfaces/IRiskModule.sol +60 -0
- package/contracts/mocks/ForwardProxy.sol +66 -0
- package/contracts/mocks/IMintableERC20.sol +13 -0
- package/contracts/mocks/LinkTokenMock.sol +30 -0
- package/contracts/mocks/PolicyHolderMock.sol +68 -0
- package/contracts/mocks/PolicyPoolComponentMock.sol +17 -0
- package/contracts/mocks/PolicyPoolMock.sol +122 -0
- package/contracts/mocks/TestCurrency.sol +35 -0
- package/contracts/mocks/TestNFT.sol +23 -0
- package/contracts/upgraded/PolicyNFTv1.sol +1 -1
- package/js/test-utils.js +278 -0
- package/package.json +2 -2
- package/build/contracts/AaveAssetManager.sol/AaveAssetManager.json +0 -723
- package/build/contracts/DataTypes.sol/DataTypes.json +0 -10
- package/build/contracts/Exchange.sol/Exchange.json +0 -546
- package/build/contracts/extras/IPriceRiskModule.sol/IPriceRiskModule.json +0 -253
- package/build/contracts/extras/PriceRiskModule.sol/PriceRiskModule.json +0 -1036
- package/build/interfaces/IAssetManager.sol/IAssetManager.json +0 -31
- package/build/interfaces/IExchange.sol/IPriceOracle.json +0 -30
- package/contracts/AaveAssetManager.sol +0 -298
- package/contracts/BaseAssetManager.sol +0 -301
- package/contracts/DataTypes.sol +0 -287
- package/contracts/Exchange.sol +0 -173
- package/contracts/extras/IPriceRiskModule.sol +0 -41
- package/contracts/extras/PriceRiskModule.sol +0 -243
- package/interfaces/IAssetManager.sol +0 -23
- package/interfaces/IEToken.sol +0 -48
- package/interfaces/IExchange.sol +0 -59
- package/interfaces/IInsolvencyHook.sol +0 -27
- package/interfaces/IPolicyPool.sol +0 -44
- package/interfaces/IRiskModule.sol +0 -29
|
@@ -0,0 +1,761 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "PremiumsAccount",
|
|
4
|
+
"sourceName": "contracts/PremiumsAccount.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "contract IPolicyPool",
|
|
10
|
+
"name": "policyPool_",
|
|
11
|
+
"type": "address"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"internalType": "contract IEToken",
|
|
15
|
+
"name": "juniorEtk_",
|
|
16
|
+
"type": "address"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"internalType": "contract IEToken",
|
|
20
|
+
"name": "seniorEtk_",
|
|
21
|
+
"type": "address"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"stateMutability": "nonpayable",
|
|
25
|
+
"type": "constructor"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"anonymous": false,
|
|
29
|
+
"inputs": [
|
|
30
|
+
{
|
|
31
|
+
"indexed": false,
|
|
32
|
+
"internalType": "address",
|
|
33
|
+
"name": "previousAdmin",
|
|
34
|
+
"type": "address"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"indexed": false,
|
|
38
|
+
"internalType": "address",
|
|
39
|
+
"name": "newAdmin",
|
|
40
|
+
"type": "address"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"name": "AdminChanged",
|
|
44
|
+
"type": "event"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"anonymous": false,
|
|
48
|
+
"inputs": [
|
|
49
|
+
{
|
|
50
|
+
"indexed": true,
|
|
51
|
+
"internalType": "address",
|
|
52
|
+
"name": "beacon",
|
|
53
|
+
"type": "address"
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"name": "BeaconUpgraded",
|
|
57
|
+
"type": "event"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"anonymous": false,
|
|
61
|
+
"inputs": [
|
|
62
|
+
{
|
|
63
|
+
"indexed": true,
|
|
64
|
+
"internalType": "enum IPolicyPoolConfig.GovernanceActions",
|
|
65
|
+
"name": "action",
|
|
66
|
+
"type": "uint8"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"indexed": false,
|
|
70
|
+
"internalType": "address",
|
|
71
|
+
"name": "value",
|
|
72
|
+
"type": "address"
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"name": "ComponentChanged",
|
|
76
|
+
"type": "event"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"anonymous": false,
|
|
80
|
+
"inputs": [
|
|
81
|
+
{
|
|
82
|
+
"indexed": true,
|
|
83
|
+
"internalType": "enum IPolicyPoolConfig.GovernanceActions",
|
|
84
|
+
"name": "action",
|
|
85
|
+
"type": "uint8"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"indexed": false,
|
|
89
|
+
"internalType": "uint256",
|
|
90
|
+
"name": "value",
|
|
91
|
+
"type": "uint256"
|
|
92
|
+
}
|
|
93
|
+
],
|
|
94
|
+
"name": "GovernanceAction",
|
|
95
|
+
"type": "event"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"anonymous": false,
|
|
99
|
+
"inputs": [
|
|
100
|
+
{
|
|
101
|
+
"indexed": false,
|
|
102
|
+
"internalType": "uint8",
|
|
103
|
+
"name": "version",
|
|
104
|
+
"type": "uint8"
|
|
105
|
+
}
|
|
106
|
+
],
|
|
107
|
+
"name": "Initialized",
|
|
108
|
+
"type": "event"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"anonymous": false,
|
|
112
|
+
"inputs": [
|
|
113
|
+
{
|
|
114
|
+
"indexed": false,
|
|
115
|
+
"internalType": "address",
|
|
116
|
+
"name": "account",
|
|
117
|
+
"type": "address"
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
"name": "Paused",
|
|
121
|
+
"type": "event"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"anonymous": false,
|
|
125
|
+
"inputs": [
|
|
126
|
+
{
|
|
127
|
+
"indexed": false,
|
|
128
|
+
"internalType": "address",
|
|
129
|
+
"name": "account",
|
|
130
|
+
"type": "address"
|
|
131
|
+
}
|
|
132
|
+
],
|
|
133
|
+
"name": "Unpaused",
|
|
134
|
+
"type": "event"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"anonymous": false,
|
|
138
|
+
"inputs": [
|
|
139
|
+
{
|
|
140
|
+
"indexed": true,
|
|
141
|
+
"internalType": "address",
|
|
142
|
+
"name": "implementation",
|
|
143
|
+
"type": "address"
|
|
144
|
+
}
|
|
145
|
+
],
|
|
146
|
+
"name": "Upgraded",
|
|
147
|
+
"type": "event"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"anonymous": false,
|
|
151
|
+
"inputs": [
|
|
152
|
+
{
|
|
153
|
+
"indexed": false,
|
|
154
|
+
"internalType": "bool",
|
|
155
|
+
"name": "moneyIn",
|
|
156
|
+
"type": "bool"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"indexed": false,
|
|
160
|
+
"internalType": "uint256",
|
|
161
|
+
"name": "value",
|
|
162
|
+
"type": "uint256"
|
|
163
|
+
}
|
|
164
|
+
],
|
|
165
|
+
"name": "WonPremiumsInOut",
|
|
166
|
+
"type": "event"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"inputs": [],
|
|
170
|
+
"name": "GUARDIAN_ROLE",
|
|
171
|
+
"outputs": [
|
|
172
|
+
{
|
|
173
|
+
"internalType": "bytes32",
|
|
174
|
+
"name": "",
|
|
175
|
+
"type": "bytes32"
|
|
176
|
+
}
|
|
177
|
+
],
|
|
178
|
+
"stateMutability": "view",
|
|
179
|
+
"type": "function"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"inputs": [],
|
|
183
|
+
"name": "LEVEL1_ROLE",
|
|
184
|
+
"outputs": [
|
|
185
|
+
{
|
|
186
|
+
"internalType": "bytes32",
|
|
187
|
+
"name": "",
|
|
188
|
+
"type": "bytes32"
|
|
189
|
+
}
|
|
190
|
+
],
|
|
191
|
+
"stateMutability": "view",
|
|
192
|
+
"type": "function"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"inputs": [],
|
|
196
|
+
"name": "LEVEL2_ROLE",
|
|
197
|
+
"outputs": [
|
|
198
|
+
{
|
|
199
|
+
"internalType": "bytes32",
|
|
200
|
+
"name": "",
|
|
201
|
+
"type": "bytes32"
|
|
202
|
+
}
|
|
203
|
+
],
|
|
204
|
+
"stateMutability": "view",
|
|
205
|
+
"type": "function"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"inputs": [],
|
|
209
|
+
"name": "LEVEL3_ROLE",
|
|
210
|
+
"outputs": [
|
|
211
|
+
{
|
|
212
|
+
"internalType": "bytes32",
|
|
213
|
+
"name": "",
|
|
214
|
+
"type": "bytes32"
|
|
215
|
+
}
|
|
216
|
+
],
|
|
217
|
+
"stateMutability": "view",
|
|
218
|
+
"type": "function"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"inputs": [],
|
|
222
|
+
"name": "NEGLIGIBLE_AMOUNT",
|
|
223
|
+
"outputs": [
|
|
224
|
+
{
|
|
225
|
+
"internalType": "uint256",
|
|
226
|
+
"name": "",
|
|
227
|
+
"type": "uint256"
|
|
228
|
+
}
|
|
229
|
+
],
|
|
230
|
+
"stateMutability": "view",
|
|
231
|
+
"type": "function"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"inputs": [],
|
|
235
|
+
"name": "TWEAK_EXPIRATION",
|
|
236
|
+
"outputs": [
|
|
237
|
+
{
|
|
238
|
+
"internalType": "uint40",
|
|
239
|
+
"name": "",
|
|
240
|
+
"type": "uint40"
|
|
241
|
+
}
|
|
242
|
+
],
|
|
243
|
+
"stateMutability": "view",
|
|
244
|
+
"type": "function"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"inputs": [],
|
|
248
|
+
"name": "WITHDRAW_WON_PREMIUMS_ROLE",
|
|
249
|
+
"outputs": [
|
|
250
|
+
{
|
|
251
|
+
"internalType": "bytes32",
|
|
252
|
+
"name": "",
|
|
253
|
+
"type": "bytes32"
|
|
254
|
+
}
|
|
255
|
+
],
|
|
256
|
+
"stateMutability": "view",
|
|
257
|
+
"type": "function"
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"inputs": [],
|
|
261
|
+
"name": "activePurePremiums",
|
|
262
|
+
"outputs": [
|
|
263
|
+
{
|
|
264
|
+
"internalType": "uint256",
|
|
265
|
+
"name": "",
|
|
266
|
+
"type": "uint256"
|
|
267
|
+
}
|
|
268
|
+
],
|
|
269
|
+
"stateMutability": "view",
|
|
270
|
+
"type": "function"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"inputs": [],
|
|
274
|
+
"name": "borrowedActivePP",
|
|
275
|
+
"outputs": [
|
|
276
|
+
{
|
|
277
|
+
"internalType": "uint256",
|
|
278
|
+
"name": "",
|
|
279
|
+
"type": "uint256"
|
|
280
|
+
}
|
|
281
|
+
],
|
|
282
|
+
"stateMutability": "view",
|
|
283
|
+
"type": "function"
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"inputs": [],
|
|
287
|
+
"name": "currency",
|
|
288
|
+
"outputs": [
|
|
289
|
+
{
|
|
290
|
+
"internalType": "contract IERC20Metadata",
|
|
291
|
+
"name": "",
|
|
292
|
+
"type": "address"
|
|
293
|
+
}
|
|
294
|
+
],
|
|
295
|
+
"stateMutability": "view",
|
|
296
|
+
"type": "function"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"inputs": [],
|
|
300
|
+
"name": "initialize",
|
|
301
|
+
"outputs": [],
|
|
302
|
+
"stateMutability": "nonpayable",
|
|
303
|
+
"type": "function"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"inputs": [],
|
|
307
|
+
"name": "juniorEtk",
|
|
308
|
+
"outputs": [
|
|
309
|
+
{
|
|
310
|
+
"internalType": "contract IEToken",
|
|
311
|
+
"name": "",
|
|
312
|
+
"type": "address"
|
|
313
|
+
}
|
|
314
|
+
],
|
|
315
|
+
"stateMutability": "view",
|
|
316
|
+
"type": "function"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"inputs": [],
|
|
320
|
+
"name": "lastTweak",
|
|
321
|
+
"outputs": [
|
|
322
|
+
{
|
|
323
|
+
"internalType": "uint40",
|
|
324
|
+
"name": "",
|
|
325
|
+
"type": "uint40"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"internalType": "uint56",
|
|
329
|
+
"name": "",
|
|
330
|
+
"type": "uint56"
|
|
331
|
+
}
|
|
332
|
+
],
|
|
333
|
+
"stateMutability": "view",
|
|
334
|
+
"type": "function"
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"inputs": [],
|
|
338
|
+
"name": "pause",
|
|
339
|
+
"outputs": [],
|
|
340
|
+
"stateMutability": "nonpayable",
|
|
341
|
+
"type": "function"
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"inputs": [],
|
|
345
|
+
"name": "paused",
|
|
346
|
+
"outputs": [
|
|
347
|
+
{
|
|
348
|
+
"internalType": "bool",
|
|
349
|
+
"name": "",
|
|
350
|
+
"type": "bool"
|
|
351
|
+
}
|
|
352
|
+
],
|
|
353
|
+
"stateMutability": "view",
|
|
354
|
+
"type": "function"
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"inputs": [
|
|
358
|
+
{
|
|
359
|
+
"components": [
|
|
360
|
+
{
|
|
361
|
+
"internalType": "uint256",
|
|
362
|
+
"name": "id",
|
|
363
|
+
"type": "uint256"
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"internalType": "uint256",
|
|
367
|
+
"name": "payout",
|
|
368
|
+
"type": "uint256"
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"internalType": "uint256",
|
|
372
|
+
"name": "premium",
|
|
373
|
+
"type": "uint256"
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"internalType": "uint256",
|
|
377
|
+
"name": "jrScr",
|
|
378
|
+
"type": "uint256"
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"internalType": "uint256",
|
|
382
|
+
"name": "srScr",
|
|
383
|
+
"type": "uint256"
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
"internalType": "uint256",
|
|
387
|
+
"name": "lossProb",
|
|
388
|
+
"type": "uint256"
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"internalType": "uint256",
|
|
392
|
+
"name": "purePremium",
|
|
393
|
+
"type": "uint256"
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"internalType": "uint256",
|
|
397
|
+
"name": "ensuroCommission",
|
|
398
|
+
"type": "uint256"
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"internalType": "uint256",
|
|
402
|
+
"name": "partnerCommission",
|
|
403
|
+
"type": "uint256"
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
"internalType": "uint256",
|
|
407
|
+
"name": "jrCoc",
|
|
408
|
+
"type": "uint256"
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"internalType": "uint256",
|
|
412
|
+
"name": "srCoc",
|
|
413
|
+
"type": "uint256"
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
"internalType": "contract IRiskModule",
|
|
417
|
+
"name": "riskModule",
|
|
418
|
+
"type": "address"
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"internalType": "uint40",
|
|
422
|
+
"name": "start",
|
|
423
|
+
"type": "uint40"
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"internalType": "uint40",
|
|
427
|
+
"name": "expiration",
|
|
428
|
+
"type": "uint40"
|
|
429
|
+
}
|
|
430
|
+
],
|
|
431
|
+
"internalType": "struct Policy.PolicyData",
|
|
432
|
+
"name": "policy",
|
|
433
|
+
"type": "tuple"
|
|
434
|
+
}
|
|
435
|
+
],
|
|
436
|
+
"name": "policyCreated",
|
|
437
|
+
"outputs": [],
|
|
438
|
+
"stateMutability": "nonpayable",
|
|
439
|
+
"type": "function"
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"inputs": [
|
|
443
|
+
{
|
|
444
|
+
"components": [
|
|
445
|
+
{
|
|
446
|
+
"internalType": "uint256",
|
|
447
|
+
"name": "id",
|
|
448
|
+
"type": "uint256"
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"internalType": "uint256",
|
|
452
|
+
"name": "payout",
|
|
453
|
+
"type": "uint256"
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
"internalType": "uint256",
|
|
457
|
+
"name": "premium",
|
|
458
|
+
"type": "uint256"
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
"internalType": "uint256",
|
|
462
|
+
"name": "jrScr",
|
|
463
|
+
"type": "uint256"
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"internalType": "uint256",
|
|
467
|
+
"name": "srScr",
|
|
468
|
+
"type": "uint256"
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"internalType": "uint256",
|
|
472
|
+
"name": "lossProb",
|
|
473
|
+
"type": "uint256"
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
"internalType": "uint256",
|
|
477
|
+
"name": "purePremium",
|
|
478
|
+
"type": "uint256"
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
"internalType": "uint256",
|
|
482
|
+
"name": "ensuroCommission",
|
|
483
|
+
"type": "uint256"
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
"internalType": "uint256",
|
|
487
|
+
"name": "partnerCommission",
|
|
488
|
+
"type": "uint256"
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
"internalType": "uint256",
|
|
492
|
+
"name": "jrCoc",
|
|
493
|
+
"type": "uint256"
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
"internalType": "uint256",
|
|
497
|
+
"name": "srCoc",
|
|
498
|
+
"type": "uint256"
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
"internalType": "contract IRiskModule",
|
|
502
|
+
"name": "riskModule",
|
|
503
|
+
"type": "address"
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
"internalType": "uint40",
|
|
507
|
+
"name": "start",
|
|
508
|
+
"type": "uint40"
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"internalType": "uint40",
|
|
512
|
+
"name": "expiration",
|
|
513
|
+
"type": "uint40"
|
|
514
|
+
}
|
|
515
|
+
],
|
|
516
|
+
"internalType": "struct Policy.PolicyData",
|
|
517
|
+
"name": "policy",
|
|
518
|
+
"type": "tuple"
|
|
519
|
+
}
|
|
520
|
+
],
|
|
521
|
+
"name": "policyExpired",
|
|
522
|
+
"outputs": [],
|
|
523
|
+
"stateMutability": "nonpayable",
|
|
524
|
+
"type": "function"
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
"inputs": [],
|
|
528
|
+
"name": "policyPool",
|
|
529
|
+
"outputs": [
|
|
530
|
+
{
|
|
531
|
+
"internalType": "contract IPolicyPool",
|
|
532
|
+
"name": "",
|
|
533
|
+
"type": "address"
|
|
534
|
+
}
|
|
535
|
+
],
|
|
536
|
+
"stateMutability": "view",
|
|
537
|
+
"type": "function"
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
"inputs": [
|
|
541
|
+
{
|
|
542
|
+
"internalType": "address",
|
|
543
|
+
"name": "policyHolder",
|
|
544
|
+
"type": "address"
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"components": [
|
|
548
|
+
{
|
|
549
|
+
"internalType": "uint256",
|
|
550
|
+
"name": "id",
|
|
551
|
+
"type": "uint256"
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
"internalType": "uint256",
|
|
555
|
+
"name": "payout",
|
|
556
|
+
"type": "uint256"
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"internalType": "uint256",
|
|
560
|
+
"name": "premium",
|
|
561
|
+
"type": "uint256"
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
"internalType": "uint256",
|
|
565
|
+
"name": "jrScr",
|
|
566
|
+
"type": "uint256"
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
"internalType": "uint256",
|
|
570
|
+
"name": "srScr",
|
|
571
|
+
"type": "uint256"
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
"internalType": "uint256",
|
|
575
|
+
"name": "lossProb",
|
|
576
|
+
"type": "uint256"
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
"internalType": "uint256",
|
|
580
|
+
"name": "purePremium",
|
|
581
|
+
"type": "uint256"
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"internalType": "uint256",
|
|
585
|
+
"name": "ensuroCommission",
|
|
586
|
+
"type": "uint256"
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
"internalType": "uint256",
|
|
590
|
+
"name": "partnerCommission",
|
|
591
|
+
"type": "uint256"
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
"internalType": "uint256",
|
|
595
|
+
"name": "jrCoc",
|
|
596
|
+
"type": "uint256"
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
"internalType": "uint256",
|
|
600
|
+
"name": "srCoc",
|
|
601
|
+
"type": "uint256"
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
"internalType": "contract IRiskModule",
|
|
605
|
+
"name": "riskModule",
|
|
606
|
+
"type": "address"
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
"internalType": "uint40",
|
|
610
|
+
"name": "start",
|
|
611
|
+
"type": "uint40"
|
|
612
|
+
},
|
|
613
|
+
{
|
|
614
|
+
"internalType": "uint40",
|
|
615
|
+
"name": "expiration",
|
|
616
|
+
"type": "uint40"
|
|
617
|
+
}
|
|
618
|
+
],
|
|
619
|
+
"internalType": "struct Policy.PolicyData",
|
|
620
|
+
"name": "policy",
|
|
621
|
+
"type": "tuple"
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
"internalType": "uint256",
|
|
625
|
+
"name": "payout",
|
|
626
|
+
"type": "uint256"
|
|
627
|
+
}
|
|
628
|
+
],
|
|
629
|
+
"name": "policyResolvedWithPayout",
|
|
630
|
+
"outputs": [],
|
|
631
|
+
"stateMutability": "nonpayable",
|
|
632
|
+
"type": "function"
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
"inputs": [],
|
|
636
|
+
"name": "proxiableUUID",
|
|
637
|
+
"outputs": [
|
|
638
|
+
{
|
|
639
|
+
"internalType": "bytes32",
|
|
640
|
+
"name": "",
|
|
641
|
+
"type": "bytes32"
|
|
642
|
+
}
|
|
643
|
+
],
|
|
644
|
+
"stateMutability": "view",
|
|
645
|
+
"type": "function"
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
"inputs": [],
|
|
649
|
+
"name": "purePremiums",
|
|
650
|
+
"outputs": [
|
|
651
|
+
{
|
|
652
|
+
"internalType": "uint256",
|
|
653
|
+
"name": "",
|
|
654
|
+
"type": "uint256"
|
|
655
|
+
}
|
|
656
|
+
],
|
|
657
|
+
"stateMutability": "view",
|
|
658
|
+
"type": "function"
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
"inputs": [
|
|
662
|
+
{
|
|
663
|
+
"internalType": "uint256",
|
|
664
|
+
"name": "amount",
|
|
665
|
+
"type": "uint256"
|
|
666
|
+
}
|
|
667
|
+
],
|
|
668
|
+
"name": "receiveGrant",
|
|
669
|
+
"outputs": [],
|
|
670
|
+
"stateMutability": "nonpayable",
|
|
671
|
+
"type": "function"
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
"inputs": [],
|
|
675
|
+
"name": "seniorEtk",
|
|
676
|
+
"outputs": [
|
|
677
|
+
{
|
|
678
|
+
"internalType": "contract IEToken",
|
|
679
|
+
"name": "",
|
|
680
|
+
"type": "address"
|
|
681
|
+
}
|
|
682
|
+
],
|
|
683
|
+
"stateMutability": "view",
|
|
684
|
+
"type": "function"
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
"inputs": [],
|
|
688
|
+
"name": "unpause",
|
|
689
|
+
"outputs": [],
|
|
690
|
+
"stateMutability": "nonpayable",
|
|
691
|
+
"type": "function"
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
"inputs": [
|
|
695
|
+
{
|
|
696
|
+
"internalType": "address",
|
|
697
|
+
"name": "newImplementation",
|
|
698
|
+
"type": "address"
|
|
699
|
+
}
|
|
700
|
+
],
|
|
701
|
+
"name": "upgradeTo",
|
|
702
|
+
"outputs": [],
|
|
703
|
+
"stateMutability": "nonpayable",
|
|
704
|
+
"type": "function"
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
"inputs": [
|
|
708
|
+
{
|
|
709
|
+
"internalType": "address",
|
|
710
|
+
"name": "newImplementation",
|
|
711
|
+
"type": "address"
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
"internalType": "bytes",
|
|
715
|
+
"name": "data",
|
|
716
|
+
"type": "bytes"
|
|
717
|
+
}
|
|
718
|
+
],
|
|
719
|
+
"name": "upgradeToAndCall",
|
|
720
|
+
"outputs": [],
|
|
721
|
+
"stateMutability": "payable",
|
|
722
|
+
"type": "function"
|
|
723
|
+
},
|
|
724
|
+
{
|
|
725
|
+
"inputs": [
|
|
726
|
+
{
|
|
727
|
+
"internalType": "uint256",
|
|
728
|
+
"name": "amount",
|
|
729
|
+
"type": "uint256"
|
|
730
|
+
}
|
|
731
|
+
],
|
|
732
|
+
"name": "withdrawWonPremiums",
|
|
733
|
+
"outputs": [
|
|
734
|
+
{
|
|
735
|
+
"internalType": "uint256",
|
|
736
|
+
"name": "",
|
|
737
|
+
"type": "uint256"
|
|
738
|
+
}
|
|
739
|
+
],
|
|
740
|
+
"stateMutability": "nonpayable",
|
|
741
|
+
"type": "function"
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
"inputs": [],
|
|
745
|
+
"name": "wonPurePremiums",
|
|
746
|
+
"outputs": [
|
|
747
|
+
{
|
|
748
|
+
"internalType": "uint256",
|
|
749
|
+
"name": "",
|
|
750
|
+
"type": "uint256"
|
|
751
|
+
}
|
|
752
|
+
],
|
|
753
|
+
"stateMutability": "view",
|
|
754
|
+
"type": "function"
|
|
755
|
+
}
|
|
756
|
+
],
|
|
757
|
+
"bytecode": "0x6101206040523060601b6080523480156200001957600080fd5b5060405162003467380380620034678339810160408190526200003c91620001ac565b8280806001600160a01b031660a0816001600160a01b031660601b81525050506002816001600160a01b031663e5a6b10f6040518163ffffffff1660e01b815260040160206040518083038186803b1580156200009857600080fd5b505afa158015620000ad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000d3919062000185565b6001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b1580156200010c57600080fd5b505afa15801562000121573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000147919062000200565b62000153919062000225565b6200016090600a6200029f565b60c052506001600160601b0319606092831b811660e052911b1661010052506200038f565b6000602082840312156200019857600080fd5b8151620001a58162000376565b9392505050565b600080600060608486031215620001c257600080fd5b8351620001cf8162000376565b6020850151909350620001e28162000376565b6040850151909250620001f58162000376565b809150509250925092565b6000602082840312156200021357600080fd5b815160ff81168114620001a557600080fd5b600060ff8316806200024757634e487b7160e01b600052601260045260246000fd5b8060ff84160491505092915050565b600181815b80851115620002975781600019048211156200027b576200027b62000360565b808516156200028957918102915b93841c93908002906200025b565b509250929050565b6000620001a560ff841683600082620002bb575060016200035a565b81620002ca575060006200035a565b8160018114620002e35760028114620002ee576200030e565b60019150506200035a565b60ff84111562000302576200030262000360565b50506001821b6200035a565b5060208310610133831016604e8410600b841016171562000333575081810a6200035a565b6200033f838362000256565b806000190482111562000356576200035662000360565b0290505b92915050565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03811681146200038c57600080fd5b50565b60805160601c60a05160601c60c05160e05160601c6101005160601c612f92620004d56000396000818161040f01528181610f0a01528181610f3d01528181611122015281816112f80152818161132b015281816114cd01528181611d7401528181612221015261226d01526000818161038501528181610f6601528181610f990152818161104701528181611354015281816113870152818161142f01528181611cb501528181612143015261218f01526000818161024b015281816110cf015281816111a201528181611b120152611b67015260008181610301015281816106fb01528181610ab701528181610bd301528181610d4001528181610e8901528181611244015281816113c30152818161156601526116270152600081816105eb01528181610634015281816108080152818161084801526108d70152612f926000f3fe6080604052600436106101b75760003560e01c80635c975abb116100ec5780638ca23bc91161008a578063e3638ea311610064578063e3638ea31461053e578063e5a6b10f1461055e578063e823584a14610573578063f67b2bad1461058857600080fd5b80638ca23bc9146104ca5780639d8c5ee7146104fe578063c7a9c70d1461051e57600080fd5b80638129fc1c116100c65780638129fc1c1461046057806381ced71f146104755780638456cb5914610495578063846253d1146104aa57600080fd5b80635c975abb146103dd5780637b83037b146104005780637ed5acfa1461043357600080fd5b80634a47a3e01161015957806352d1902d1161013357806352d1902d1461034c578063536c9a4314610361578063536ebbfc146103765780635b494dd5146103a957600080fd5b80634a47a3e0146102be5780634d15eb03146102f25780634f1ef2861461033957600080fd5b80633659cfe6116101955780633659cfe614610217578063396512fd146102395780633f4ba83a1461026d578063468a8c9f1461028257600080fd5b80631a548a27146101bc57806324ea54f4146101e057806326ccbd2214610202575b600080fd5b3480156101c857600080fd5b5060ca545b6040519081526020015b60405180910390f35b3480156101ec57600080fd5b506101cd600080516020612f3d83398151915281565b34801561020e57600080fd5b506101cd6105bc565b34801561022357600080fd5b50610237610232366004612a03565b6105e0565b005b34801561024557600080fd5b506101cd7f000000000000000000000000000000000000000000000000000000000000000081565b34801561027957600080fd5b506102376106c9565b34801561028e57600080fd5b5060c9546040805164ffffffffff831681526501000000000090920466ffffffffffffff166020830152016101d7565b3480156102ca57600080fd5b506101cd7fa82e22387fca439f316d78ca566f383218ab8ae1b3e830178c9c82cbd16749c081565b3480156102fe57600080fd5b507f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b0390911681526020016101d7565b610237610347366004612a3d565b6107fd565b34801561035857600080fd5b506101cd6108ca565b34801561036d57600080fd5b5060cc546101cd565b34801561038257600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610321565b3480156103b557600080fd5b506101cd7f5ec196419322369c6bac572d883f4d990ae5ec82f7d93cdf89b85dbb05b63c2781565b3480156103e957600080fd5b5060975460ff1660405190151581526020016101d7565b34801561040c57600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610321565b34801561043f57600080fd5b5061044a6201518081565b60405164ffffffffff90911681526020016101d7565b34801561046c57600080fd5b5061023761097d565b34801561048157600080fd5b50610237610490366004612b7e565b610a47565b3480156104a157600080fd5b50610237610aa6565b3480156104b657600080fd5b506101cd6104c5366004612b7e565b610bae565b3480156104d657600080fd5b506101cd7fa23b11d346b90fc279e0a917152caf41f3c1247b12211b7cbc0e0e3f8b79405781565b34801561050a57600080fd5b50610237610519366004612ae5565b610e86565b34801561052a57600080fd5b50610237610539366004612b61565b611241565b34801561054a57600080fd5b50610237610559366004612b61565b6113c0565b34801561056a57600080fd5b50610321611562565b34801561057f57600080fd5b5060cb546101cd565b34801561059457600080fd5b506101cd7fbf372ca3ebecfe59ac256f17697941bbe63302aced610e8b0e3646f743c7beb281565b600060cb5460cc5460ca546105d19190612db3565b6105db9190612e4b565b905090565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156106325760405162461bcd60e51b815260040161062990612be6565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661067b600080516020612ef6833981519152546001600160a01b031690565b6001600160a01b0316146106a15760405162461bcd60e51b815260040161062990612c32565b6106aa816115f5565b604080516000808252602082019092526106c691839190611722565b50565b600080516020612f3d8339815191527fbf372ca3ebecfe59ac256f17697941bbe63302aced610e8b0e3646f743c7beb27f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166379502c556040518163ffffffff1660e01b815260040160206040518083038186803b15801561075257600080fd5b505afa158015610766573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078a9190612a20565b60405163c5b8f5cf60e01b815260048101849052602481018390523360448201526001600160a01b03919091169063c5b8f5cf9060640160006040518083038186803b1580156107d957600080fd5b505afa1580156107ed573d6000803e3d6000fd5b505050506107f961189c565b5050565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156108465760405162461bcd60e51b815260040161062990612be6565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661088f600080516020612ef6833981519152546001600160a01b031690565b6001600160a01b0316146108b55760405162461bcd60e51b815260040161062990612c32565b6108be826115f5565b6107f982826001611722565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461096a5760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c00000000000000006064820152608401610629565b50600080516020612ef683398151915290565b600054610100900460ff161580801561099d5750600054600160ff909116105b806109b75750303b1580156109b7575060005460ff166001145b6109d35760405162461bcd60e51b815260040161062990612c7e565b6000805460ff1916600117905580156109f6576000805461ff0019166101001790555b6109fe6118ee565b80156106c6576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498906020015b60405180910390a150565b610a66333083610a55611562565b6001600160a01b0316929190611977565b610a6f816119e2565b6040805160018152602081018390527fd60d524f1cae273480bb0a4ddfb992b6ac0b61c8e12ffbe2e4e31463f9e901999101610a3c565b600080516020612f3d8339815191527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166379502c556040518163ffffffff1660e01b815260040160206040518083038186803b158015610b0e57600080fd5b505afa158015610b22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b469190612a20565b6040516312d9a6ad60e01b8152600481018390523360248201526001600160a01b0391909116906312d9a6ad9060440160006040518083038186803b158015610b8e57600080fd5b505afa158015610ba2573d6000803e3d6000fd5b505050506106c6611a3b565b60007fa23b11d346b90fc279e0a917152caf41f3c1247b12211b7cbc0e0e3f8b7940577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166379502c556040518163ffffffff1660e01b815260040160206040518083038186803b158015610c2a57600080fd5b505afa158015610c3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c629190612a20565b6040516312d9a6ad60e01b8152600481018390523360248201526001600160a01b0391909116906312d9a6ad9060440160006040518083038186803b158015610caa57600080fd5b505afa158015610cbe573d6000803e3d6000fd5b5050505060cc54831115610cd25760cc5492505b60008311610d225760405162461bcd60e51b815260206004820152601760248201527f4e6f207072656d69756d7320746f2077697468647261770000000000000000006044820152606401610629565b8260cc6000828254610d349190612e4b565b92505081905550610e457f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166379502c556040518163ffffffff1660e01b815260040160206040518083038186803b158015610d9757600080fd5b505afa158015610dab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dcf9190612a20565b6001600160a01b03166361d027b36040518163ffffffff1660e01b815260040160206040518083038186803b158015610e0757600080fd5b505afa158015610e1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3f9190612a20565b84611a78565b6040805160008152602081018590527fd60d524f1cae273480bb0a4ddfb992b6ac0b61c8e12ffbe2e4e31463f9e90199910160405180910390a15090919050565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614610ece5760405162461bcd60e51b815260040161062990612ccc565b8160c0015160ca6000828254610ee49190612e4b565b909155505060c08201518111610fe2576000818360c00151610f069190612e4b565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031615610f6457610f61817f0000000000000000000000000000000000000000000000000000000000000000611b63565b90505b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031615610fc057610fbd817f0000000000000000000000000000000000000000000000000000000000000000611b63565b90505b610fc9816119e2565b610fd283611ca9565b610fdc8483611a78565b50505050565b6000610ffc8360c0015183610ff79190612e4b565b611df9565b905061100783611ca9565b8015611229576060830151600090156110ca576040516351dcfd3160e01b8152600481018390526001600160a01b038681166024830152600060448301527f000000000000000000000000000000000000000000000000000000000000000016906351dcfd3190606401602060405180830381600087803b15801561108b57600080fd5b505af115801561109f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c39190612b48565b90506110cd565b50805b7f0000000000000000000000000000000000000000000000000000000000000000811115611227576040516351dcfd3160e01b8152600481018290526001600160a01b038681166024830152600160448301527f000000000000000000000000000000000000000000000000000000000000000016906351dcfd3190606401602060405180830381600087803b15801561116657600080fd5b505af115801561117a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119e9190612b48565b90507f00000000000000000000000000000000000000000000000000000000000000008111156112275760405162461bcd60e51b815260206004820152602e60248201527f446f6e2774206b6e6f7720776865726520746f2074616b65207468652072657360448201526d74206f6620746865206d6f6e657960901b6064820152608401610629565b505b610fdc846112378385612e4b565b611a78565b505050565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146112895760405162461bcd60e51b815260040161062990612ccc565b6000808260c0015190508060ca60008282546112a59190612e4b565b909155505060ca5460cb5411156112f6576112cf60ca5460cb546112c99190612e4b565b82611e93565b91508160cb60008282546112e39190612e4b565b909155506112f390508282612e4b565b90505b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316156113525761134f817f0000000000000000000000000000000000000000000000000000000000000000611b63565b90505b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316156113ae576113ab817f0000000000000000000000000000000000000000000000000000000000000000611b63565b90505b6113b7816119e2565b61123c83611ca9565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146114085760405162461bcd60e51b815260040161062990612ccc565b8060c0015160ca600082825461141e9190612db3565b90915550506060810151156114c1577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663837c83a3826060015161146a84611eab565b6040516001600160e01b031960e085901b16815260048101929092526024820152604401600060405180830381600087803b1580156114a857600080fd5b505af11580156114bc573d6000803e3d6000fd5b505050505b6080810151156106c6577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663837c83a3826080015161150884611ef7565b6040516001600160e01b031960e085901b168152600481019290925260248201526044015b600060405180830381600087803b15801561154757600080fd5b505af115801561155b573d6000803e3d6000fd5b5050505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663e5a6b10f6040518163ffffffff1660e01b815260040160206040518083038186803b1580156115bd57600080fd5b505afa1580156115d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105db9190612a20565b600080516020612f3d8339815191527fbf372ca3ebecfe59ac256f17697941bbe63302aced610e8b0e3646f743c7beb27f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166379502c556040518163ffffffff1660e01b815260040160206040518083038186803b15801561167e57600080fd5b505afa158015611692573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116b69190612a20565b60405163c5b8f5cf60e01b815260048101849052602481018390523360448201526001600160a01b03919091169063c5b8f5cf9060640160006040518083038186803b15801561170557600080fd5b505afa158015611719573d6000803e3d6000fd5b50505050505050565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff16156117555761123c83611f33565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b815260040160206040518083038186803b15801561178e57600080fd5b505afa9250505080156117be575060408051601f3d908101601f191682019092526117bb91810190612b48565b60015b6118215760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b6064820152608401610629565b600080516020612ef683398151915281146118905760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b6064820152608401610629565b5061123c838383611fcf565b6118a4611ff4565b6097805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600054610100900460ff161580801561190e5750600054600160ff909116105b806119285750303b158015611928575060005460ff166001145b6119445760405162461bcd60e51b815260040161062990612c7e565b6000805460ff191660011790558015611967576000805461ff0019166101001790555b61196f61203f565b6109fe6120c8565b6040516001600160a01b0380851660248301528316604482015260648101829052610fdc9085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152612302565b806119ea5750565b8060cb5410611a10578060cb6000828254611a059190612e4b565b909155506106c69050565b60cb54611a1d9082612e4b565b60cc6000828254611a2e9190612db3565b9091555050600060cb5550565b611a436123d4565b6097805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586118d13390565b80611a81575050565b6000611a8b611562565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a082319060240160206040518083038186803b158015611acc57600080fd5b505afa158015611ae0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b049190612b48565b90508181108015611b3d57507f0000000000000000000000000000000000000000000000000000000000000000611b3b8284612e4b565b105b15611b46578091505b61123c8383611b53611562565b6001600160a01b0316919061241a565b60007f0000000000000000000000000000000000000000000000000000000000000000831015611b94575081611ca3565b6040516333481fc960e01b81523060048201526000906001600160a01b038416906333481fc99060240160206040518083038186803b158015611bd657600080fd5b505afa158015611bea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c0e9190612b48565b905080611c1e5783915050611ca3565b6000848211611c2d5781611c2f565b845b60405163918344d360e01b8152600481018290523060248201529091506001600160a01b0385169063918344d390604401600060405180830381600087803b158015611c7a57600080fd5b505af1158015611c8e573d6000803e3d6000fd5b505050508085611c9e9190612e4b565b925050505b92915050565b606081015115611d68577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663b1081ccf8260600151611cf084611eab565b611cf98561244a565b856101200151611d099190612e0c565b6040516001600160e01b031960e086901b168152600481019390935260248301919091526044820152606401600060405180830381600087803b158015611d4f57600080fd5b505af1158015611d63573d6000803e3d6000fd5b505050505b6080810151156106c6577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663b1081ccf8260800151611daf84611ef7565b611db88561249b565b856101400151611dc89190612e0c565b6040516001600160e01b031960e086901b16815260048101939093526024830191909152604482015260640161152d565b600060cc548211611e23578160cc6000828254611e169190612e4b565b9091555060009392505050565b60cc54611e309083612e4b565b600060cc5560cb5460ca549193501015611e8f5760cb5460ca54611e549190612e4b565b8211611e6c578160cb6000828254611e169190612db3565b60cb5460ca54611e7c9190612e4b565b611e869083612e4b565b60ca5460cb5591505b5090565b6000818310611ea25781611ea4565b825b9392505050565b6000611ca38260600151836101800151846101a00151611ecb9190612e62565b64ffffffffff166301e13380856101200151611ee79190612ded565b611ef19190612dcb565b906124e2565b6000611ca38260800151836101800151846101a00151611f179190612e62565b64ffffffffff166301e13380856101400151611ee79190612ded565b6001600160a01b0381163b611fa05760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610629565b600080516020612ef683398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b611fd8836125ea565b600082511180611fe55750805b1561123c57610fdc838361262a565b60975460ff1661203d5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610629565b565b600054610100900460ff161580801561205f5750600054600160ff909116105b806120795750303b158015612079575060005460ff166001145b6120955760405162461bcd60e51b815260040161062990612c7e565b6000805460ff1916600117905580156120b8576000805461ff0019166101001790555b6120c0612715565b6109fe61273c565b600054610100900460ff16158080156120e85750600054600160ff909116105b806121025750303b158015612102575060005460ff166001145b61211e5760405162461bcd60e51b815260040161062990612c7e565b6000805460ff191660011790558015612141576000805461ff0019166101001790555b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03161561221f57612178611562565b60405163095ea7b360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301526000196024830152919091169063095ea7b390604401602060405180830381600087803b1580156121e557600080fd5b505af11580156121f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061221d9190612b26565b505b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316156122fd57612256611562565b60405163095ea7b360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301526000196024830152919091169063095ea7b390604401602060405180830381600087803b1580156122c357600080fd5b505af11580156122d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122fb9190612b26565b505b6109fe565b6000612357826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661276b9092919063ffffffff16565b80519091501561123c57808060200190518101906123759190612b26565b61123c5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610629565b60975460ff161561203d5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610629565b6040516001600160a01b03831660248201526044810182905261123c90849063a9059cbb60e01b906064016119ab565b6000816101800151826101a001516124629190612e62565b64ffffffffff1682610180015164ffffffffff16426124819190612e4b565b8361012001516124919190612ded565b611ca39190612dcb565b6000816101800151826101a001516124b39190612e62565b64ffffffffff1682610180015164ffffffffff16426124d29190612e4b565b8361014001516124919190612ded565b6000816125315760405162461bcd60e51b815260206004820152601860248201527f7761644469763a204469766973696f6e206279207a65726f00000000000000006044820152606401610629565b600061253e600284612dcb565b9050670de0b6b3a764000061255582600019612e4b565b61255f9190612dcb565b8411156125ba5760405162461bcd60e51b8152602060048201526024808201527f7761644469763a204d617468204d756c7469706c69636174696f6e204f766572604482015263666c6f7760e01b6064820152608401610629565b82816125ce670de0b6b3a764000087612ded565b6125d89190612db3565b6125e29190612dcb565b949350505050565b6125f381611f33565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606001600160a01b0383163b6126925760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610629565b600080846001600160a01b0316846040516126ad9190612b97565b600060405180830381855af49150503d80600081146126e8576040519150601f19603f3d011682016040523d82523d6000602084013e6126ed565b606091505b5091509150611c9e8282604051806060016040528060278152602001612f166027913961277a565b600054610100900460ff1661203d5760405162461bcd60e51b815260040161062990612d0d565b600054610100900460ff166127635760405162461bcd60e51b815260040161062990612d0d565b61203d6127b3565b60606125e284846000856127e6565b60608315612789575081611ea4565b8251156127995782518084602001fd5b8160405162461bcd60e51b81526004016106299190612bb3565b600054610100900460ff166127da5760405162461bcd60e51b815260040161062990612d0d565b6097805460ff19169055565b6060824710156128475760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610629565b6001600160a01b0385163b61289e5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610629565b600080866001600160a01b031685876040516128ba9190612b97565b60006040518083038185875af1925050503d80600081146128f7576040519150601f19603f3d011682016040523d82523d6000602084013e6128fc565b606091505b509150915061290c82828661277a565b979650505050505050565b803561292281612ee0565b919050565b60006101c0828403121561293a57600080fd5b612942612d58565b9050813581526020820135602082015260408201356040820152606082013560608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e08201526101008083013581830152506101208083013581830152506101408083013581830152506101606129c0818401612917565b908201526101806129d28382016129ee565b908201526101a06129e48382016129ee565b9082015292915050565b803564ffffffffff8116811461292257600080fd5b600060208284031215612a1557600080fd5b8135611ea481612ee0565b600060208284031215612a3257600080fd5b8151611ea481612ee0565b60008060408385031215612a5057600080fd5b8235612a5b81612ee0565b915060208381013567ffffffffffffffff80821115612a7957600080fd5b818601915086601f830112612a8d57600080fd5b813581811115612a9f57612a9f612eca565b612ab1601f8201601f19168501612d82565b91508082528784828501011115612ac757600080fd5b80848401858401376000848284010152508093505050509250929050565b60008060006102008486031215612afb57600080fd5b8335612b0681612ee0565b9250612b158560208601612927565b91506101e084013590509250925092565b600060208284031215612b3857600080fd5b81518015158114611ea457600080fd5b600060208284031215612b5a57600080fd5b5051919050565b60006101c08284031215612b7457600080fd5b611ea48383612927565b600060208284031215612b9057600080fd5b5035919050565b60008251612ba9818460208701612e88565b9190910192915050565b6020815260008251806020840152612bd2816040850160208701612e88565b601f01601f19169190910160400192915050565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b60208082526021908201527f5468652063616c6c6572206d7573742062652074686520506f6c696379506f6f6040820152601b60fa1b606082015260800190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b6040516101c0810167ffffffffffffffff81118282101715612d7c57612d7c612eca565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715612dab57612dab612eca565b604052919050565b60008219821115612dc657612dc6612eb4565b500190565b600082612de857634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615612e0757612e07612eb4565b500290565b60008083128015600160ff1b850184121615612e2a57612e2a612eb4565b6001600160ff1b0384018313811615612e4557612e45612eb4565b50500390565b600082821015612e5d57612e5d612eb4565b500390565b600064ffffffffff83811690831681811015612e8057612e80612eb4565b039392505050565b60005b83811015612ea3578181015183820152602001612e8b565b83811115610fdc5750506000910152565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146106c657600080fdfe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c656455435dd261a4b9b3364963f7738a7a662ad9c84396d64be3365284bb7f0a5041a2646970667358221220ec1c7b3ffecf2038b3ddef50373c8a277f17b2e0e0135834e45abf8730e1765664736f6c63430008060033",
|
|
758
|
+
"deployedBytecode": "0x6080604052600436106101b75760003560e01c80635c975abb116100ec5780638ca23bc91161008a578063e3638ea311610064578063e3638ea31461053e578063e5a6b10f1461055e578063e823584a14610573578063f67b2bad1461058857600080fd5b80638ca23bc9146104ca5780639d8c5ee7146104fe578063c7a9c70d1461051e57600080fd5b80638129fc1c116100c65780638129fc1c1461046057806381ced71f146104755780638456cb5914610495578063846253d1146104aa57600080fd5b80635c975abb146103dd5780637b83037b146104005780637ed5acfa1461043357600080fd5b80634a47a3e01161015957806352d1902d1161013357806352d1902d1461034c578063536c9a4314610361578063536ebbfc146103765780635b494dd5146103a957600080fd5b80634a47a3e0146102be5780634d15eb03146102f25780634f1ef2861461033957600080fd5b80633659cfe6116101955780633659cfe614610217578063396512fd146102395780633f4ba83a1461026d578063468a8c9f1461028257600080fd5b80631a548a27146101bc57806324ea54f4146101e057806326ccbd2214610202575b600080fd5b3480156101c857600080fd5b5060ca545b6040519081526020015b60405180910390f35b3480156101ec57600080fd5b506101cd600080516020612f3d83398151915281565b34801561020e57600080fd5b506101cd6105bc565b34801561022357600080fd5b50610237610232366004612a03565b6105e0565b005b34801561024557600080fd5b506101cd7f000000000000000000000000000000000000000000000000000000000000000081565b34801561027957600080fd5b506102376106c9565b34801561028e57600080fd5b5060c9546040805164ffffffffff831681526501000000000090920466ffffffffffffff166020830152016101d7565b3480156102ca57600080fd5b506101cd7fa82e22387fca439f316d78ca566f383218ab8ae1b3e830178c9c82cbd16749c081565b3480156102fe57600080fd5b507f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b0390911681526020016101d7565b610237610347366004612a3d565b6107fd565b34801561035857600080fd5b506101cd6108ca565b34801561036d57600080fd5b5060cc546101cd565b34801561038257600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610321565b3480156103b557600080fd5b506101cd7f5ec196419322369c6bac572d883f4d990ae5ec82f7d93cdf89b85dbb05b63c2781565b3480156103e957600080fd5b5060975460ff1660405190151581526020016101d7565b34801561040c57600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610321565b34801561043f57600080fd5b5061044a6201518081565b60405164ffffffffff90911681526020016101d7565b34801561046c57600080fd5b5061023761097d565b34801561048157600080fd5b50610237610490366004612b7e565b610a47565b3480156104a157600080fd5b50610237610aa6565b3480156104b657600080fd5b506101cd6104c5366004612b7e565b610bae565b3480156104d657600080fd5b506101cd7fa23b11d346b90fc279e0a917152caf41f3c1247b12211b7cbc0e0e3f8b79405781565b34801561050a57600080fd5b50610237610519366004612ae5565b610e86565b34801561052a57600080fd5b50610237610539366004612b61565b611241565b34801561054a57600080fd5b50610237610559366004612b61565b6113c0565b34801561056a57600080fd5b50610321611562565b34801561057f57600080fd5b5060cb546101cd565b34801561059457600080fd5b506101cd7fbf372ca3ebecfe59ac256f17697941bbe63302aced610e8b0e3646f743c7beb281565b600060cb5460cc5460ca546105d19190612db3565b6105db9190612e4b565b905090565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156106325760405162461bcd60e51b815260040161062990612be6565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661067b600080516020612ef6833981519152546001600160a01b031690565b6001600160a01b0316146106a15760405162461bcd60e51b815260040161062990612c32565b6106aa816115f5565b604080516000808252602082019092526106c691839190611722565b50565b600080516020612f3d8339815191527fbf372ca3ebecfe59ac256f17697941bbe63302aced610e8b0e3646f743c7beb27f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166379502c556040518163ffffffff1660e01b815260040160206040518083038186803b15801561075257600080fd5b505afa158015610766573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078a9190612a20565b60405163c5b8f5cf60e01b815260048101849052602481018390523360448201526001600160a01b03919091169063c5b8f5cf9060640160006040518083038186803b1580156107d957600080fd5b505afa1580156107ed573d6000803e3d6000fd5b505050506107f961189c565b5050565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156108465760405162461bcd60e51b815260040161062990612be6565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661088f600080516020612ef6833981519152546001600160a01b031690565b6001600160a01b0316146108b55760405162461bcd60e51b815260040161062990612c32565b6108be826115f5565b6107f982826001611722565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461096a5760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c00000000000000006064820152608401610629565b50600080516020612ef683398151915290565b600054610100900460ff161580801561099d5750600054600160ff909116105b806109b75750303b1580156109b7575060005460ff166001145b6109d35760405162461bcd60e51b815260040161062990612c7e565b6000805460ff1916600117905580156109f6576000805461ff0019166101001790555b6109fe6118ee565b80156106c6576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498906020015b60405180910390a150565b610a66333083610a55611562565b6001600160a01b0316929190611977565b610a6f816119e2565b6040805160018152602081018390527fd60d524f1cae273480bb0a4ddfb992b6ac0b61c8e12ffbe2e4e31463f9e901999101610a3c565b600080516020612f3d8339815191527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166379502c556040518163ffffffff1660e01b815260040160206040518083038186803b158015610b0e57600080fd5b505afa158015610b22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b469190612a20565b6040516312d9a6ad60e01b8152600481018390523360248201526001600160a01b0391909116906312d9a6ad9060440160006040518083038186803b158015610b8e57600080fd5b505afa158015610ba2573d6000803e3d6000fd5b505050506106c6611a3b565b60007fa23b11d346b90fc279e0a917152caf41f3c1247b12211b7cbc0e0e3f8b7940577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166379502c556040518163ffffffff1660e01b815260040160206040518083038186803b158015610c2a57600080fd5b505afa158015610c3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c629190612a20565b6040516312d9a6ad60e01b8152600481018390523360248201526001600160a01b0391909116906312d9a6ad9060440160006040518083038186803b158015610caa57600080fd5b505afa158015610cbe573d6000803e3d6000fd5b5050505060cc54831115610cd25760cc5492505b60008311610d225760405162461bcd60e51b815260206004820152601760248201527f4e6f207072656d69756d7320746f2077697468647261770000000000000000006044820152606401610629565b8260cc6000828254610d349190612e4b565b92505081905550610e457f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166379502c556040518163ffffffff1660e01b815260040160206040518083038186803b158015610d9757600080fd5b505afa158015610dab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dcf9190612a20565b6001600160a01b03166361d027b36040518163ffffffff1660e01b815260040160206040518083038186803b158015610e0757600080fd5b505afa158015610e1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3f9190612a20565b84611a78565b6040805160008152602081018590527fd60d524f1cae273480bb0a4ddfb992b6ac0b61c8e12ffbe2e4e31463f9e90199910160405180910390a15090919050565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614610ece5760405162461bcd60e51b815260040161062990612ccc565b8160c0015160ca6000828254610ee49190612e4b565b909155505060c08201518111610fe2576000818360c00151610f069190612e4b565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031615610f6457610f61817f0000000000000000000000000000000000000000000000000000000000000000611b63565b90505b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031615610fc057610fbd817f0000000000000000000000000000000000000000000000000000000000000000611b63565b90505b610fc9816119e2565b610fd283611ca9565b610fdc8483611a78565b50505050565b6000610ffc8360c0015183610ff79190612e4b565b611df9565b905061100783611ca9565b8015611229576060830151600090156110ca576040516351dcfd3160e01b8152600481018390526001600160a01b038681166024830152600060448301527f000000000000000000000000000000000000000000000000000000000000000016906351dcfd3190606401602060405180830381600087803b15801561108b57600080fd5b505af115801561109f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c39190612b48565b90506110cd565b50805b7f0000000000000000000000000000000000000000000000000000000000000000811115611227576040516351dcfd3160e01b8152600481018290526001600160a01b038681166024830152600160448301527f000000000000000000000000000000000000000000000000000000000000000016906351dcfd3190606401602060405180830381600087803b15801561116657600080fd5b505af115801561117a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119e9190612b48565b90507f00000000000000000000000000000000000000000000000000000000000000008111156112275760405162461bcd60e51b815260206004820152602e60248201527f446f6e2774206b6e6f7720776865726520746f2074616b65207468652072657360448201526d74206f6620746865206d6f6e657960901b6064820152608401610629565b505b610fdc846112378385612e4b565b611a78565b505050565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146112895760405162461bcd60e51b815260040161062990612ccc565b6000808260c0015190508060ca60008282546112a59190612e4b565b909155505060ca5460cb5411156112f6576112cf60ca5460cb546112c99190612e4b565b82611e93565b91508160cb60008282546112e39190612e4b565b909155506112f390508282612e4b565b90505b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316156113525761134f817f0000000000000000000000000000000000000000000000000000000000000000611b63565b90505b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316156113ae576113ab817f0000000000000000000000000000000000000000000000000000000000000000611b63565b90505b6113b7816119e2565b61123c83611ca9565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146114085760405162461bcd60e51b815260040161062990612ccc565b8060c0015160ca600082825461141e9190612db3565b90915550506060810151156114c1577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663837c83a3826060015161146a84611eab565b6040516001600160e01b031960e085901b16815260048101929092526024820152604401600060405180830381600087803b1580156114a857600080fd5b505af11580156114bc573d6000803e3d6000fd5b505050505b6080810151156106c6577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663837c83a3826080015161150884611ef7565b6040516001600160e01b031960e085901b168152600481019290925260248201526044015b600060405180830381600087803b15801561154757600080fd5b505af115801561155b573d6000803e3d6000fd5b5050505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663e5a6b10f6040518163ffffffff1660e01b815260040160206040518083038186803b1580156115bd57600080fd5b505afa1580156115d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105db9190612a20565b600080516020612f3d8339815191527fbf372ca3ebecfe59ac256f17697941bbe63302aced610e8b0e3646f743c7beb27f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166379502c556040518163ffffffff1660e01b815260040160206040518083038186803b15801561167e57600080fd5b505afa158015611692573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116b69190612a20565b60405163c5b8f5cf60e01b815260048101849052602481018390523360448201526001600160a01b03919091169063c5b8f5cf9060640160006040518083038186803b15801561170557600080fd5b505afa158015611719573d6000803e3d6000fd5b50505050505050565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff16156117555761123c83611f33565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b815260040160206040518083038186803b15801561178e57600080fd5b505afa9250505080156117be575060408051601f3d908101601f191682019092526117bb91810190612b48565b60015b6118215760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b6064820152608401610629565b600080516020612ef683398151915281146118905760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b6064820152608401610629565b5061123c838383611fcf565b6118a4611ff4565b6097805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600054610100900460ff161580801561190e5750600054600160ff909116105b806119285750303b158015611928575060005460ff166001145b6119445760405162461bcd60e51b815260040161062990612c7e565b6000805460ff191660011790558015611967576000805461ff0019166101001790555b61196f61203f565b6109fe6120c8565b6040516001600160a01b0380851660248301528316604482015260648101829052610fdc9085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152612302565b806119ea5750565b8060cb5410611a10578060cb6000828254611a059190612e4b565b909155506106c69050565b60cb54611a1d9082612e4b565b60cc6000828254611a2e9190612db3565b9091555050600060cb5550565b611a436123d4565b6097805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586118d13390565b80611a81575050565b6000611a8b611562565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a082319060240160206040518083038186803b158015611acc57600080fd5b505afa158015611ae0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b049190612b48565b90508181108015611b3d57507f0000000000000000000000000000000000000000000000000000000000000000611b3b8284612e4b565b105b15611b46578091505b61123c8383611b53611562565b6001600160a01b0316919061241a565b60007f0000000000000000000000000000000000000000000000000000000000000000831015611b94575081611ca3565b6040516333481fc960e01b81523060048201526000906001600160a01b038416906333481fc99060240160206040518083038186803b158015611bd657600080fd5b505afa158015611bea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c0e9190612b48565b905080611c1e5783915050611ca3565b6000848211611c2d5781611c2f565b845b60405163918344d360e01b8152600481018290523060248201529091506001600160a01b0385169063918344d390604401600060405180830381600087803b158015611c7a57600080fd5b505af1158015611c8e573d6000803e3d6000fd5b505050508085611c9e9190612e4b565b925050505b92915050565b606081015115611d68577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663b1081ccf8260600151611cf084611eab565b611cf98561244a565b856101200151611d099190612e0c565b6040516001600160e01b031960e086901b168152600481019390935260248301919091526044820152606401600060405180830381600087803b158015611d4f57600080fd5b505af1158015611d63573d6000803e3d6000fd5b505050505b6080810151156106c6577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663b1081ccf8260800151611daf84611ef7565b611db88561249b565b856101400151611dc89190612e0c565b6040516001600160e01b031960e086901b16815260048101939093526024830191909152604482015260640161152d565b600060cc548211611e23578160cc6000828254611e169190612e4b565b9091555060009392505050565b60cc54611e309083612e4b565b600060cc5560cb5460ca549193501015611e8f5760cb5460ca54611e549190612e4b565b8211611e6c578160cb6000828254611e169190612db3565b60cb5460ca54611e7c9190612e4b565b611e869083612e4b565b60ca5460cb5591505b5090565b6000818310611ea25781611ea4565b825b9392505050565b6000611ca38260600151836101800151846101a00151611ecb9190612e62565b64ffffffffff166301e13380856101200151611ee79190612ded565b611ef19190612dcb565b906124e2565b6000611ca38260800151836101800151846101a00151611f179190612e62565b64ffffffffff166301e13380856101400151611ee79190612ded565b6001600160a01b0381163b611fa05760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610629565b600080516020612ef683398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b611fd8836125ea565b600082511180611fe55750805b1561123c57610fdc838361262a565b60975460ff1661203d5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610629565b565b600054610100900460ff161580801561205f5750600054600160ff909116105b806120795750303b158015612079575060005460ff166001145b6120955760405162461bcd60e51b815260040161062990612c7e565b6000805460ff1916600117905580156120b8576000805461ff0019166101001790555b6120c0612715565b6109fe61273c565b600054610100900460ff16158080156120e85750600054600160ff909116105b806121025750303b158015612102575060005460ff166001145b61211e5760405162461bcd60e51b815260040161062990612c7e565b6000805460ff191660011790558015612141576000805461ff0019166101001790555b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03161561221f57612178611562565b60405163095ea7b360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301526000196024830152919091169063095ea7b390604401602060405180830381600087803b1580156121e557600080fd5b505af11580156121f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061221d9190612b26565b505b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316156122fd57612256611562565b60405163095ea7b360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301526000196024830152919091169063095ea7b390604401602060405180830381600087803b1580156122c357600080fd5b505af11580156122d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122fb9190612b26565b505b6109fe565b6000612357826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661276b9092919063ffffffff16565b80519091501561123c57808060200190518101906123759190612b26565b61123c5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610629565b60975460ff161561203d5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610629565b6040516001600160a01b03831660248201526044810182905261123c90849063a9059cbb60e01b906064016119ab565b6000816101800151826101a001516124629190612e62565b64ffffffffff1682610180015164ffffffffff16426124819190612e4b565b8361012001516124919190612ded565b611ca39190612dcb565b6000816101800151826101a001516124b39190612e62565b64ffffffffff1682610180015164ffffffffff16426124d29190612e4b565b8361014001516124919190612ded565b6000816125315760405162461bcd60e51b815260206004820152601860248201527f7761644469763a204469766973696f6e206279207a65726f00000000000000006044820152606401610629565b600061253e600284612dcb565b9050670de0b6b3a764000061255582600019612e4b565b61255f9190612dcb565b8411156125ba5760405162461bcd60e51b8152602060048201526024808201527f7761644469763a204d617468204d756c7469706c69636174696f6e204f766572604482015263666c6f7760e01b6064820152608401610629565b82816125ce670de0b6b3a764000087612ded565b6125d89190612db3565b6125e29190612dcb565b949350505050565b6125f381611f33565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606001600160a01b0383163b6126925760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610629565b600080846001600160a01b0316846040516126ad9190612b97565b600060405180830381855af49150503d80600081146126e8576040519150601f19603f3d011682016040523d82523d6000602084013e6126ed565b606091505b5091509150611c9e8282604051806060016040528060278152602001612f166027913961277a565b600054610100900460ff1661203d5760405162461bcd60e51b815260040161062990612d0d565b600054610100900460ff166127635760405162461bcd60e51b815260040161062990612d0d565b61203d6127b3565b60606125e284846000856127e6565b60608315612789575081611ea4565b8251156127995782518084602001fd5b8160405162461bcd60e51b81526004016106299190612bb3565b600054610100900460ff166127da5760405162461bcd60e51b815260040161062990612d0d565b6097805460ff19169055565b6060824710156128475760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610629565b6001600160a01b0385163b61289e5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610629565b600080866001600160a01b031685876040516128ba9190612b97565b60006040518083038185875af1925050503d80600081146128f7576040519150601f19603f3d011682016040523d82523d6000602084013e6128fc565b606091505b509150915061290c82828661277a565b979650505050505050565b803561292281612ee0565b919050565b60006101c0828403121561293a57600080fd5b612942612d58565b9050813581526020820135602082015260408201356040820152606082013560608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e08201526101008083013581830152506101208083013581830152506101408083013581830152506101606129c0818401612917565b908201526101806129d28382016129ee565b908201526101a06129e48382016129ee565b9082015292915050565b803564ffffffffff8116811461292257600080fd5b600060208284031215612a1557600080fd5b8135611ea481612ee0565b600060208284031215612a3257600080fd5b8151611ea481612ee0565b60008060408385031215612a5057600080fd5b8235612a5b81612ee0565b915060208381013567ffffffffffffffff80821115612a7957600080fd5b818601915086601f830112612a8d57600080fd5b813581811115612a9f57612a9f612eca565b612ab1601f8201601f19168501612d82565b91508082528784828501011115612ac757600080fd5b80848401858401376000848284010152508093505050509250929050565b60008060006102008486031215612afb57600080fd5b8335612b0681612ee0565b9250612b158560208601612927565b91506101e084013590509250925092565b600060208284031215612b3857600080fd5b81518015158114611ea457600080fd5b600060208284031215612b5a57600080fd5b5051919050565b60006101c08284031215612b7457600080fd5b611ea48383612927565b600060208284031215612b9057600080fd5b5035919050565b60008251612ba9818460208701612e88565b9190910192915050565b6020815260008251806020840152612bd2816040850160208701612e88565b601f01601f19169190910160400192915050565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b60208082526021908201527f5468652063616c6c6572206d7573742062652074686520506f6c696379506f6f6040820152601b60fa1b606082015260800190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b6040516101c0810167ffffffffffffffff81118282101715612d7c57612d7c612eca565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715612dab57612dab612eca565b604052919050565b60008219821115612dc657612dc6612eb4565b500190565b600082612de857634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615612e0757612e07612eb4565b500290565b60008083128015600160ff1b850184121615612e2a57612e2a612eb4565b6001600160ff1b0384018313811615612e4557612e45612eb4565b50500390565b600082821015612e5d57612e5d612eb4565b500390565b600064ffffffffff83811690831681811015612e8057612e80612eb4565b039392505050565b60005b83811015612ea3578181015183820152602001612e8b565b83811115610fdc5750506000910152565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146106c657600080fdfe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c656455435dd261a4b9b3364963f7738a7a662ad9c84396d64be3365284bb7f0a5041a2646970667358221220ec1c7b3ffecf2038b3ddef50373c8a277f17b2e0e0135834e45abf8730e1765664736f6c63430008060033",
|
|
759
|
+
"linkReferences": {},
|
|
760
|
+
"deployedLinkReferences": {}
|
|
761
|
+
}
|