@ensuro/core 2.8.1 → 2.8.2

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.
Files changed (41) hide show
  1. package/build/contracts/AccessManager.sol/AccessManager.json +618 -0
  2. package/build/contracts/ERC4626AssetManager.sol/ERC4626AssetManager.json +238 -0
  3. package/build/contracts/EToken.sol/EToken.json +1287 -0
  4. package/build/contracts/LPManualWhitelist.sol/LPManualWhitelist.json +657 -0
  5. package/build/contracts/LiquidityThresholdAssetManager.sol/LiquidityThresholdAssetManager.json +222 -0
  6. package/build/contracts/Policy.sol/Policy.json +10 -0
  7. package/build/contracts/PolicyPool.sol/PolicyPool.json +1775 -0
  8. package/build/contracts/PolicyPoolComponent.sol/PolicyPoolComponent.json +342 -0
  9. package/build/contracts/PremiumsAccount.sol/PremiumsAccount.json +1142 -0
  10. package/build/contracts/Reserve.sol/Reserve.json +413 -0
  11. package/build/contracts/RiskModule.sol/RiskModule.json +589 -0
  12. package/build/contracts/SignedBucketRiskModule.sol/SignedBucketRiskModule.json +1251 -0
  13. package/build/contracts/SignedQuoteRiskModule.sol/SignedQuoteRiskModule.json +1145 -0
  14. package/build/contracts/TimeScaled.sol/TimeScaled.json +10 -0
  15. package/build/contracts/TrustfulRiskModule.sol/TrustfulRiskModule.json +1143 -0
  16. package/build/contracts/dependencies/WadRayMath.sol/WadRayMath.json +10 -0
  17. package/build/contracts/interfaces/IAccessManager.sol/IAccessManager.json +343 -0
  18. package/build/contracts/interfaces/IAssetManager.sol/IAssetManager.json +128 -0
  19. package/build/contracts/interfaces/IEToken.sol/IEToken.json +460 -0
  20. package/build/contracts/interfaces/ILPWhitelist.sol/ILPWhitelist.json +103 -0
  21. package/build/contracts/interfaces/IPolicyHolder.sol/IPolicyHolder.json +108 -0
  22. package/build/contracts/interfaces/IPolicyHolderV2.sol/IPolicyHolderV2.json +142 -0
  23. package/build/contracts/interfaces/IPolicyPool.sol/IPolicyPool.json +820 -0
  24. package/build/contracts/interfaces/IPolicyPoolComponent.sol/IPolicyPoolComponent.json +43 -0
  25. package/build/contracts/interfaces/IPremiumsAccount.sol/IPremiumsAccount.json +477 -0
  26. package/build/contracts/interfaces/IRiskModule.sol/IRiskModule.json +165 -0
  27. package/build/contracts/migration/LPManualWhitelistV20.sol/LPManualWhitelistV20.json +491 -0
  28. package/build/contracts/migration/LPManualWhitelistV20Upgraded.sol/LPManualWhitelistV20Upgraded.json +502 -0
  29. package/build/contracts/mocks/FixedRateVault.sol/FixedRateVault.json +736 -0
  30. package/build/contracts/mocks/ForwardProxy.sol/ForwardProxy.json +43 -0
  31. package/build/contracts/mocks/IMintableERC20.sol/IMintableERC20.json +47 -0
  32. package/build/contracts/mocks/InterfaceIdCalculator.sol/InterfaceIdCalculator.json +193 -0
  33. package/build/contracts/mocks/PolicyHolderMock.sol/PolicyHolderMock.json +457 -0
  34. package/build/contracts/mocks/PolicyPoolComponentMock.sol/PolicyPoolComponentMock.json +54 -0
  35. package/build/contracts/mocks/PolicyPoolMock.sol/PolicyPoolMock.json +929 -0
  36. package/build/contracts/mocks/PolicyPoolMock.sol/PolicyPoolMockForward.json +92 -0
  37. package/build/contracts/mocks/RiskModuleMock.sol/RiskModuleMock.json +1316 -0
  38. package/build/contracts/mocks/TestCurrency.sol/TestCurrency.json +343 -0
  39. package/build/contracts/mocks/TestNFT.sol/TestNFT.json +388 -0
  40. package/js/deploy.js +6 -25
  41. package/package.json +3 -5
@@ -0,0 +1,457 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "PolicyHolderMock",
4
+ "sourceName": "contracts/mocks/PolicyHolderMock.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "stateMutability": "nonpayable",
9
+ "type": "constructor"
10
+ },
11
+ {
12
+ "anonymous": false,
13
+ "inputs": [
14
+ {
15
+ "indexed": false,
16
+ "internalType": "enum PolicyHolderMock.NotificationKind",
17
+ "name": "kind",
18
+ "type": "uint8"
19
+ },
20
+ {
21
+ "indexed": false,
22
+ "internalType": "uint256",
23
+ "name": "policyId",
24
+ "type": "uint256"
25
+ },
26
+ {
27
+ "indexed": false,
28
+ "internalType": "address",
29
+ "name": "operator",
30
+ "type": "address"
31
+ },
32
+ {
33
+ "indexed": false,
34
+ "internalType": "address",
35
+ "name": "from",
36
+ "type": "address"
37
+ }
38
+ ],
39
+ "name": "NotificationReceived",
40
+ "type": "event"
41
+ },
42
+ {
43
+ "inputs": [],
44
+ "name": "badlyImplemented",
45
+ "outputs": [
46
+ {
47
+ "internalType": "bool",
48
+ "name": "",
49
+ "type": "bool"
50
+ }
51
+ ],
52
+ "stateMutability": "view",
53
+ "type": "function"
54
+ },
55
+ {
56
+ "inputs": [],
57
+ "name": "badlyImplementedReplace",
58
+ "outputs": [
59
+ {
60
+ "internalType": "bool",
61
+ "name": "",
62
+ "type": "bool"
63
+ }
64
+ ],
65
+ "stateMutability": "view",
66
+ "type": "function"
67
+ },
68
+ {
69
+ "inputs": [],
70
+ "name": "emptyRevert",
71
+ "outputs": [
72
+ {
73
+ "internalType": "bool",
74
+ "name": "",
75
+ "type": "bool"
76
+ }
77
+ ],
78
+ "stateMutability": "view",
79
+ "type": "function"
80
+ },
81
+ {
82
+ "inputs": [],
83
+ "name": "fail",
84
+ "outputs": [
85
+ {
86
+ "internalType": "bool",
87
+ "name": "",
88
+ "type": "bool"
89
+ }
90
+ ],
91
+ "stateMutability": "view",
92
+ "type": "function"
93
+ },
94
+ {
95
+ "inputs": [],
96
+ "name": "failReplace",
97
+ "outputs": [
98
+ {
99
+ "internalType": "bool",
100
+ "name": "",
101
+ "type": "bool"
102
+ }
103
+ ],
104
+ "stateMutability": "view",
105
+ "type": "function"
106
+ },
107
+ {
108
+ "inputs": [],
109
+ "name": "noERC165",
110
+ "outputs": [
111
+ {
112
+ "internalType": "bool",
113
+ "name": "",
114
+ "type": "bool"
115
+ }
116
+ ],
117
+ "stateMutability": "view",
118
+ "type": "function"
119
+ },
120
+ {
121
+ "inputs": [],
122
+ "name": "noV2",
123
+ "outputs": [
124
+ {
125
+ "internalType": "bool",
126
+ "name": "",
127
+ "type": "bool"
128
+ }
129
+ ],
130
+ "stateMutability": "view",
131
+ "type": "function"
132
+ },
133
+ {
134
+ "inputs": [],
135
+ "name": "notImplemented",
136
+ "outputs": [
137
+ {
138
+ "internalType": "bool",
139
+ "name": "",
140
+ "type": "bool"
141
+ }
142
+ ],
143
+ "stateMutability": "view",
144
+ "type": "function"
145
+ },
146
+ {
147
+ "inputs": [
148
+ {
149
+ "internalType": "address",
150
+ "name": "operator",
151
+ "type": "address"
152
+ },
153
+ {
154
+ "internalType": "address",
155
+ "name": "from",
156
+ "type": "address"
157
+ },
158
+ {
159
+ "internalType": "uint256",
160
+ "name": "policyId_",
161
+ "type": "uint256"
162
+ },
163
+ {
164
+ "internalType": "bytes",
165
+ "name": "",
166
+ "type": "bytes"
167
+ }
168
+ ],
169
+ "name": "onERC721Received",
170
+ "outputs": [
171
+ {
172
+ "internalType": "bytes4",
173
+ "name": "",
174
+ "type": "bytes4"
175
+ }
176
+ ],
177
+ "stateMutability": "nonpayable",
178
+ "type": "function"
179
+ },
180
+ {
181
+ "inputs": [
182
+ {
183
+ "internalType": "address",
184
+ "name": "operator",
185
+ "type": "address"
186
+ },
187
+ {
188
+ "internalType": "address",
189
+ "name": "from",
190
+ "type": "address"
191
+ },
192
+ {
193
+ "internalType": "uint256",
194
+ "name": "policyId_",
195
+ "type": "uint256"
196
+ },
197
+ {
198
+ "internalType": "uint256",
199
+ "name": "amount",
200
+ "type": "uint256"
201
+ }
202
+ ],
203
+ "name": "onPayoutReceived",
204
+ "outputs": [
205
+ {
206
+ "internalType": "bytes4",
207
+ "name": "",
208
+ "type": "bytes4"
209
+ }
210
+ ],
211
+ "stateMutability": "nonpayable",
212
+ "type": "function"
213
+ },
214
+ {
215
+ "inputs": [
216
+ {
217
+ "internalType": "address",
218
+ "name": "operator",
219
+ "type": "address"
220
+ },
221
+ {
222
+ "internalType": "address",
223
+ "name": "from",
224
+ "type": "address"
225
+ },
226
+ {
227
+ "internalType": "uint256",
228
+ "name": "policyId_",
229
+ "type": "uint256"
230
+ }
231
+ ],
232
+ "name": "onPolicyExpired",
233
+ "outputs": [
234
+ {
235
+ "internalType": "bytes4",
236
+ "name": "",
237
+ "type": "bytes4"
238
+ }
239
+ ],
240
+ "stateMutability": "nonpayable",
241
+ "type": "function"
242
+ },
243
+ {
244
+ "inputs": [
245
+ {
246
+ "internalType": "address",
247
+ "name": "operator",
248
+ "type": "address"
249
+ },
250
+ {
251
+ "internalType": "address",
252
+ "name": "from",
253
+ "type": "address"
254
+ },
255
+ {
256
+ "internalType": "uint256",
257
+ "name": "oldPolicyId",
258
+ "type": "uint256"
259
+ },
260
+ {
261
+ "internalType": "uint256",
262
+ "name": "newPolicyId",
263
+ "type": "uint256"
264
+ }
265
+ ],
266
+ "name": "onPolicyReplaced",
267
+ "outputs": [
268
+ {
269
+ "internalType": "bytes4",
270
+ "name": "",
271
+ "type": "bytes4"
272
+ }
273
+ ],
274
+ "stateMutability": "nonpayable",
275
+ "type": "function"
276
+ },
277
+ {
278
+ "inputs": [],
279
+ "name": "payout",
280
+ "outputs": [
281
+ {
282
+ "internalType": "uint256",
283
+ "name": "",
284
+ "type": "uint256"
285
+ }
286
+ ],
287
+ "stateMutability": "view",
288
+ "type": "function"
289
+ },
290
+ {
291
+ "inputs": [],
292
+ "name": "policyId",
293
+ "outputs": [
294
+ {
295
+ "internalType": "uint256",
296
+ "name": "",
297
+ "type": "uint256"
298
+ }
299
+ ],
300
+ "stateMutability": "view",
301
+ "type": "function"
302
+ },
303
+ {
304
+ "inputs": [
305
+ {
306
+ "internalType": "bool",
307
+ "name": "badlyImplemented_",
308
+ "type": "bool"
309
+ }
310
+ ],
311
+ "name": "setBadlyImplemented",
312
+ "outputs": [],
313
+ "stateMutability": "nonpayable",
314
+ "type": "function"
315
+ },
316
+ {
317
+ "inputs": [
318
+ {
319
+ "internalType": "bool",
320
+ "name": "badlyImplementedReplace_",
321
+ "type": "bool"
322
+ }
323
+ ],
324
+ "name": "setBadlyImplementedReplace",
325
+ "outputs": [],
326
+ "stateMutability": "nonpayable",
327
+ "type": "function"
328
+ },
329
+ {
330
+ "inputs": [
331
+ {
332
+ "internalType": "bool",
333
+ "name": "emptyRevert_",
334
+ "type": "bool"
335
+ }
336
+ ],
337
+ "name": "setEmptyRevert",
338
+ "outputs": [],
339
+ "stateMutability": "nonpayable",
340
+ "type": "function"
341
+ },
342
+ {
343
+ "inputs": [
344
+ {
345
+ "internalType": "bool",
346
+ "name": "fail_",
347
+ "type": "bool"
348
+ }
349
+ ],
350
+ "name": "setFail",
351
+ "outputs": [],
352
+ "stateMutability": "nonpayable",
353
+ "type": "function"
354
+ },
355
+ {
356
+ "inputs": [
357
+ {
358
+ "internalType": "bool",
359
+ "name": "failReplace_",
360
+ "type": "bool"
361
+ }
362
+ ],
363
+ "name": "setFailReplace",
364
+ "outputs": [],
365
+ "stateMutability": "nonpayable",
366
+ "type": "function"
367
+ },
368
+ {
369
+ "inputs": [
370
+ {
371
+ "internalType": "bool",
372
+ "name": "noERC165_",
373
+ "type": "bool"
374
+ }
375
+ ],
376
+ "name": "setNoERC165",
377
+ "outputs": [],
378
+ "stateMutability": "nonpayable",
379
+ "type": "function"
380
+ },
381
+ {
382
+ "inputs": [
383
+ {
384
+ "internalType": "bool",
385
+ "name": "noV2_",
386
+ "type": "bool"
387
+ }
388
+ ],
389
+ "name": "setNoV2",
390
+ "outputs": [],
391
+ "stateMutability": "nonpayable",
392
+ "type": "function"
393
+ },
394
+ {
395
+ "inputs": [
396
+ {
397
+ "internalType": "bool",
398
+ "name": "notImplemented_",
399
+ "type": "bool"
400
+ }
401
+ ],
402
+ "name": "setNotImplemented",
403
+ "outputs": [],
404
+ "stateMutability": "nonpayable",
405
+ "type": "function"
406
+ },
407
+ {
408
+ "inputs": [
409
+ {
410
+ "internalType": "uint256",
411
+ "name": "spendGasCount_",
412
+ "type": "uint256"
413
+ }
414
+ ],
415
+ "name": "setSpendGasCount",
416
+ "outputs": [],
417
+ "stateMutability": "nonpayable",
418
+ "type": "function"
419
+ },
420
+ {
421
+ "inputs": [],
422
+ "name": "spendGasCount",
423
+ "outputs": [
424
+ {
425
+ "internalType": "uint256",
426
+ "name": "",
427
+ "type": "uint256"
428
+ }
429
+ ],
430
+ "stateMutability": "view",
431
+ "type": "function"
432
+ },
433
+ {
434
+ "inputs": [
435
+ {
436
+ "internalType": "bytes4",
437
+ "name": "interfaceId",
438
+ "type": "bytes4"
439
+ }
440
+ ],
441
+ "name": "supportsInterface",
442
+ "outputs": [
443
+ {
444
+ "internalType": "bool",
445
+ "name": "",
446
+ "type": "bool"
447
+ }
448
+ ],
449
+ "stateMutability": "view",
450
+ "type": "function"
451
+ }
452
+ ],
453
+ "bytecode": "0x608060405234801561001057600080fd5b506002805466ff00ffffff00ff191690556000196001556000600355610bca8061003b6000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c806375d475f9116100de578063bcce539911610097578063d99ba40811610071578063d99ba408146103fd578063e8e617b714610413578063ee89ef3a14610426578063f57c302e1461042f57600080fd5b8063bcce5399146103c1578063c3af904e146103d5578063d6281d3e146103ea57600080fd5b806375d475f9146103125780637806ce81146103425780639568ca0f146103555780639d76940214610367578063a9cc471814610388578063aeec8f9d1461039557600080fd5b806331ca29441161013057806331ca29441461026757806335287014146102915780635177cd13146102a55780635ee0c7dd146102d557806363bd1d4a146102e85780636db65619146102ff57600080fd5b806301ffc9a7146101785780630dc13e99146101a0578063150b7a02146101b4578063286ee351146101e05780632bb2adb31461020a5780632fb6436214610238575b600080fd5b61018b610186366004610951565b610438565b60405190151581526020015b60405180910390f35b60025461018b90600160381b900460ff1681565b6101c76101c2366004610997565b6104d1565b6040516001600160e01b03199091168152602001610197565b6102086101ee366004610a32565b600280549115156101000261ff0019909216919091179055565b005b610208610218366004610a32565b600280549115156401000000000264ff0000000019909216919091179055565b610208610246366004610a32565b60028054911515600160301b0266ff00000000000019909216919091179055565b610208610275366004610a32565b60028054911515620100000262ff000019909216919091179055565b60025461018b906301000000900460ff1681565b6102086102b3366004610a32565b60028054911515650100000000000265ff000000000019909216919091179055565b6101c76102e3366004610a54565b6105c9565b6102f160015481565b604051908152602001610197565b60025461018b9062010000900460ff1681565b610208610320366004610a32565b60028054911515600160381b0267ff0000000000000019909216919091179055565b610208610350366004610a96565b600355565b60025461018b90610100900460ff1681565b610208610375366004610a32565b6002805460ff1916911515919091179055565b60025461018b9060ff1681565b6102086103a3366004610a32565b6002805491151563010000000263ff00000019909216919091179055565b60025461018b90600160301b900460ff1681565b60025461018b90640100000000900460ff1681565b6101c76103f8366004610a54565b610732565b60025461018b9065010000000000900460ff1681565b6101c7610421366004610aaf565b610822565b6102f160005481565b6102f160035481565b600254600090600160301b900460ff161561045257600080fd5b6002546301000000900460ff161561046c57506000919050565b6001600160e01b03198216633ece0a8960e01b14806104b05750600254600160381b900460ff161580156104b057506001600160e01b03198216635ee0c7dd60e01b145b806104cb57506001600160e01b031982166301ffc9a760e01b145b92915050565b60025460009060ff16156105585760025462010000900460ff16156104f557600080fd5b60405162461bcd60e51b815260206004820152602d60248201527f6f6e45524337323152656365697665643a205468657920746f6c64206d65204960448201526c081a185d99481d1bc819985a5b609a1b60648201526084015b60405180910390fd5b6000848155600019600155604051600080516020610b75833981519152916105859187908a908a90610aeb565b60405180910390a1600254640100000000900460ff16156105ae5750630badf00d60e01b6105c0565b6105b6610912565b50630a85bd0160e11b5b95945050505050565b600254600090600160381b900460ff161561063b5760405162461bcd60e51b815260206004820152602c60248201527f53686f756c646e27742063616c6c2074686973206d6574686f6420696620563260448201526b081b9bdd08195b98589b195960a21b606482015260840161054f565b600254610100900460ff16156106bf5760025462010000900460ff161561066157600080fd5b60405162461bcd60e51b815260206004820152602d60248201527f6f6e506f6c6963795265706c616365643a205468657920746f6c64206d65204960448201526c081a185d99481d1bc819985a5b609a1b606482015260840161054f565b60008390556001829055604051600080516020610b75833981519152906106ee90600390869089908990610aeb565b60405180910390a160025465010000000000900460ff16156107185750630badf00d60e01b61072a565b610720610912565b50635ee0c7dd60e01b5b949350505050565b60025460009060ff16156107b45760025462010000900460ff161561075657600080fd5b60405162461bcd60e51b815260206004820152602d60248201527f6f6e5061796f757452656365697665643a205468657920746f6c64206d65204960448201526c081a185d99481d1bc819985a5b609a1b606482015260840161054f565b60008390556001828155604051600080516020610b75833981519152916107e091869089908990610aeb565b60405180910390a1600254640100000000900460ff16156108095750630badf00d60e01b61072a565b610811610912565b50636b140e9f60e11b949350505050565b60025460009060ff16156108a35760025462010000900460ff161561084657600080fd5b60405162461bcd60e51b815260206004820152602c60248201527f6f6e506f6c696379457870697265643a205468657920746f6c64206d6520492060448201526b1a185d99481d1bc819985a5b60a21b606482015260840161054f565b6000828155600155604051600080516020610b75833981519152906108d090600290859088908890610aeb565b60405180910390a1600254640100000000900460ff16156108f95750630badf00d60e01b61090b565b610901610912565b5063e8e617b760e01b5b9392505050565b60005b60035481101561094e5761092a816001610b48565b61093b610938836064610b48565b90565b558061094681610b5b565b915050610915565b50565b60006020828403121561096357600080fd5b81356001600160e01b03198116811461090b57600080fd5b80356001600160a01b038116811461099257600080fd5b919050565b6000806000806000608086880312156109af57600080fd5b6109b88661097b565b94506109c66020870161097b565b935060408601359250606086013567ffffffffffffffff808211156109ea57600080fd5b818801915088601f8301126109fe57600080fd5b813581811115610a0d57600080fd5b896020828501011115610a1f57600080fd5b9699959850939650602001949392505050565b600060208284031215610a4457600080fd5b8135801515811461090b57600080fd5b60008060008060808587031215610a6a57600080fd5b610a738561097b565b9350610a816020860161097b565b93969395505050506040820135916060013590565b600060208284031215610aa857600080fd5b5035919050565b600080600060608486031215610ac457600080fd5b610acd8461097b565b9250610adb6020850161097b565b9150604084013590509250925092565b6080810160048610610b0d57634e487b7160e01b600052602160045260246000fd5b94815260208101939093526001600160a01b0391821660408401521660609091015290565b634e487b7160e01b600052601160045260246000fd5b808201808211156104cb576104cb610b32565b600060018201610b6d57610b6d610b32565b506001019056fecb6442f1752a34d49fd946725ee915eae9914b3fe3f3193b98232c772393e7c5a2646970667358221220f94d12c9678a7a3cb025a44bc078a290276771510e224011afe2e7574602047a64736f6c63430008100033",
454
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101735760003560e01c806375d475f9116100de578063bcce539911610097578063d99ba40811610071578063d99ba408146103fd578063e8e617b714610413578063ee89ef3a14610426578063f57c302e1461042f57600080fd5b8063bcce5399146103c1578063c3af904e146103d5578063d6281d3e146103ea57600080fd5b806375d475f9146103125780637806ce81146103425780639568ca0f146103555780639d76940214610367578063a9cc471814610388578063aeec8f9d1461039557600080fd5b806331ca29441161013057806331ca29441461026757806335287014146102915780635177cd13146102a55780635ee0c7dd146102d557806363bd1d4a146102e85780636db65619146102ff57600080fd5b806301ffc9a7146101785780630dc13e99146101a0578063150b7a02146101b4578063286ee351146101e05780632bb2adb31461020a5780632fb6436214610238575b600080fd5b61018b610186366004610951565b610438565b60405190151581526020015b60405180910390f35b60025461018b90600160381b900460ff1681565b6101c76101c2366004610997565b6104d1565b6040516001600160e01b03199091168152602001610197565b6102086101ee366004610a32565b600280549115156101000261ff0019909216919091179055565b005b610208610218366004610a32565b600280549115156401000000000264ff0000000019909216919091179055565b610208610246366004610a32565b60028054911515600160301b0266ff00000000000019909216919091179055565b610208610275366004610a32565b60028054911515620100000262ff000019909216919091179055565b60025461018b906301000000900460ff1681565b6102086102b3366004610a32565b60028054911515650100000000000265ff000000000019909216919091179055565b6101c76102e3366004610a54565b6105c9565b6102f160015481565b604051908152602001610197565b60025461018b9062010000900460ff1681565b610208610320366004610a32565b60028054911515600160381b0267ff0000000000000019909216919091179055565b610208610350366004610a96565b600355565b60025461018b90610100900460ff1681565b610208610375366004610a32565b6002805460ff1916911515919091179055565b60025461018b9060ff1681565b6102086103a3366004610a32565b6002805491151563010000000263ff00000019909216919091179055565b60025461018b90600160301b900460ff1681565b60025461018b90640100000000900460ff1681565b6101c76103f8366004610a54565b610732565b60025461018b9065010000000000900460ff1681565b6101c7610421366004610aaf565b610822565b6102f160005481565b6102f160035481565b600254600090600160301b900460ff161561045257600080fd5b6002546301000000900460ff161561046c57506000919050565b6001600160e01b03198216633ece0a8960e01b14806104b05750600254600160381b900460ff161580156104b057506001600160e01b03198216635ee0c7dd60e01b145b806104cb57506001600160e01b031982166301ffc9a760e01b145b92915050565b60025460009060ff16156105585760025462010000900460ff16156104f557600080fd5b60405162461bcd60e51b815260206004820152602d60248201527f6f6e45524337323152656365697665643a205468657920746f6c64206d65204960448201526c081a185d99481d1bc819985a5b609a1b60648201526084015b60405180910390fd5b6000848155600019600155604051600080516020610b75833981519152916105859187908a908a90610aeb565b60405180910390a1600254640100000000900460ff16156105ae5750630badf00d60e01b6105c0565b6105b6610912565b50630a85bd0160e11b5b95945050505050565b600254600090600160381b900460ff161561063b5760405162461bcd60e51b815260206004820152602c60248201527f53686f756c646e27742063616c6c2074686973206d6574686f6420696620563260448201526b081b9bdd08195b98589b195960a21b606482015260840161054f565b600254610100900460ff16156106bf5760025462010000900460ff161561066157600080fd5b60405162461bcd60e51b815260206004820152602d60248201527f6f6e506f6c6963795265706c616365643a205468657920746f6c64206d65204960448201526c081a185d99481d1bc819985a5b609a1b606482015260840161054f565b60008390556001829055604051600080516020610b75833981519152906106ee90600390869089908990610aeb565b60405180910390a160025465010000000000900460ff16156107185750630badf00d60e01b61072a565b610720610912565b50635ee0c7dd60e01b5b949350505050565b60025460009060ff16156107b45760025462010000900460ff161561075657600080fd5b60405162461bcd60e51b815260206004820152602d60248201527f6f6e5061796f757452656365697665643a205468657920746f6c64206d65204960448201526c081a185d99481d1bc819985a5b609a1b606482015260840161054f565b60008390556001828155604051600080516020610b75833981519152916107e091869089908990610aeb565b60405180910390a1600254640100000000900460ff16156108095750630badf00d60e01b61072a565b610811610912565b50636b140e9f60e11b949350505050565b60025460009060ff16156108a35760025462010000900460ff161561084657600080fd5b60405162461bcd60e51b815260206004820152602c60248201527f6f6e506f6c696379457870697265643a205468657920746f6c64206d6520492060448201526b1a185d99481d1bc819985a5b60a21b606482015260840161054f565b6000828155600155604051600080516020610b75833981519152906108d090600290859088908890610aeb565b60405180910390a1600254640100000000900460ff16156108f95750630badf00d60e01b61090b565b610901610912565b5063e8e617b760e01b5b9392505050565b60005b60035481101561094e5761092a816001610b48565b61093b610938836064610b48565b90565b558061094681610b5b565b915050610915565b50565b60006020828403121561096357600080fd5b81356001600160e01b03198116811461090b57600080fd5b80356001600160a01b038116811461099257600080fd5b919050565b6000806000806000608086880312156109af57600080fd5b6109b88661097b565b94506109c66020870161097b565b935060408601359250606086013567ffffffffffffffff808211156109ea57600080fd5b818801915088601f8301126109fe57600080fd5b813581811115610a0d57600080fd5b896020828501011115610a1f57600080fd5b9699959850939650602001949392505050565b600060208284031215610a4457600080fd5b8135801515811461090b57600080fd5b60008060008060808587031215610a6a57600080fd5b610a738561097b565b9350610a816020860161097b565b93969395505050506040820135916060013590565b600060208284031215610aa857600080fd5b5035919050565b600080600060608486031215610ac457600080fd5b610acd8461097b565b9250610adb6020850161097b565b9150604084013590509250925092565b6080810160048610610b0d57634e487b7160e01b600052602160045260246000fd5b94815260208101939093526001600160a01b0391821660408401521660609091015290565b634e487b7160e01b600052601160045260246000fd5b808201808211156104cb576104cb610b32565b600060018201610b6d57610b6d610b32565b506001019056fecb6442f1752a34d49fd946725ee915eae9914b3fe3f3193b98232c772393e7c5a2646970667358221220f94d12c9678a7a3cb025a44bc078a290276771510e224011afe2e7574602047a64736f6c63430008100033",
455
+ "linkReferences": {},
456
+ "deployedLinkReferences": {}
457
+ }
@@ -0,0 +1,54 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "PolicyPoolComponentMock",
4
+ "sourceName": "contracts/mocks/PolicyPoolComponentMock.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "contract IPolicyPool",
10
+ "name": "policyPool_",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "stateMutability": "nonpayable",
15
+ "type": "constructor"
16
+ },
17
+ {
18
+ "inputs": [],
19
+ "name": "policyPool",
20
+ "outputs": [
21
+ {
22
+ "internalType": "contract IPolicyPool",
23
+ "name": "",
24
+ "type": "address"
25
+ }
26
+ ],
27
+ "stateMutability": "view",
28
+ "type": "function"
29
+ },
30
+ {
31
+ "inputs": [
32
+ {
33
+ "internalType": "bytes4",
34
+ "name": "interfaceId",
35
+ "type": "bytes4"
36
+ }
37
+ ],
38
+ "name": "supportsInterface",
39
+ "outputs": [
40
+ {
41
+ "internalType": "bool",
42
+ "name": "",
43
+ "type": "bool"
44
+ }
45
+ ],
46
+ "stateMutability": "view",
47
+ "type": "function"
48
+ }
49
+ ],
50
+ "bytecode": "0x60a060405234801561001057600080fd5b506040516101b63803806101b683398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b60805161012c61008a60003960006068015261012c6000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c806301ffc9a71460375780634d15eb0314605b575b600080fd5b6046604236600460c7565b6091565b60405190151581526020015b60405180910390f35b6040516001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001681526020016052565b60006001600160e01b031982166301ffc9a760e01b148060c157506001600160e01b03198216634d15eb0360e01b145b92915050565b60006020828403121560d857600080fd5b81356001600160e01b03198116811460ef57600080fd5b939250505056fea26469706673582212204ddecd14d183327892c5b3c08d263d0533948c4e844abb6e18a7b7ae6c7ea79b64736f6c63430008100033",
51
+ "deployedBytecode": "0x6080604052348015600f57600080fd5b506004361060325760003560e01c806301ffc9a71460375780634d15eb0314605b575b600080fd5b6046604236600460c7565b6091565b60405190151581526020015b60405180910390f35b6040516001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001681526020016052565b60006001600160e01b031982166301ffc9a760e01b148060c157506001600160e01b03198216634d15eb0360e01b145b92915050565b60006020828403121560d857600080fd5b81356001600160e01b03198116811460ef57600080fd5b939250505056fea26469706673582212204ddecd14d183327892c5b3c08d263d0533948c4e844abb6e18a7b7ae6c7ea79b64736f6c63430008100033",
52
+ "linkReferences": {},
53
+ "deployedLinkReferences": {}
54
+ }