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