@lukso/lsp-smart-contracts 0.10.3 → 0.11.0-rc.1

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 (40) hide show
  1. package/CONTRIBUTING.md +184 -0
  2. package/artifacts/LSP0ERC725Account.json +2 -2
  3. package/artifacts/LSP0ERC725AccountInit.json +2 -2
  4. package/artifacts/LSP6KeyManager.json +2 -2
  5. package/artifacts/LSP6KeyManagerInit.json +2 -2
  6. package/artifacts/LSP7CompatibleERC20Mintable.json +2 -2
  7. package/artifacts/LSP7CompatibleERC20MintableInit.json +2 -2
  8. package/artifacts/LSP8CompatibleERC721Mintable.json +2 -2
  9. package/artifacts/LSP8CompatibleERC721MintableInit.json +2 -2
  10. package/artifacts/LSP9Vault.json +2 -2
  11. package/artifacts/LSP9VaultInit.json +2 -2
  12. package/artifacts/LinkedContractsFactory.json +544 -0
  13. package/artifacts/UniversalProfile.json +2 -2
  14. package/artifacts/UniversalProfileInit.json +2 -2
  15. package/contracts/LSP0ERC725Account/LSP0ERC725AccountCore.sol +1 -1
  16. package/contracts/LSP20CallVerification/LSP20CallVerification.sol +6 -3
  17. package/contracts/LSP23LinkedContractsDeployment/ILinkedContractsFactory.sol +174 -0
  18. package/contracts/LSP23LinkedContractsDeployment/IPostDeploymentModule.sol +10 -0
  19. package/contracts/LSP23LinkedContractsDeployment/LSP23Errors.sol +24 -0
  20. package/contracts/LSP23LinkedContractsDeployment/LinkedContractsFactory.sol +384 -0
  21. package/contracts/LSP23LinkedContractsDeployment/modules/UniversalProfileInitPostDeploymentModule.sol +59 -0
  22. package/contracts/LSP6KeyManager/LSP6KeyManagerCore.sol +5 -5
  23. package/contracts/LSP6KeyManager/LSP6Modules/LSP6ExecuteModule.sol +4 -4
  24. package/contracts/LSP6KeyManager/LSP6Modules/LSP6SetDataModule.sol +1 -1
  25. package/contracts/LSP7DigitalAsset/extensions/LSP7Burnable.sol +5 -1
  26. package/contracts/LSP7DigitalAsset/extensions/LSP7BurnableInitAbstract.sol +5 -1
  27. package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20Mintable.sol +1 -1
  28. package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20MintableInitAbstract.sol +1 -1
  29. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Burnable.sol +1 -1
  30. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721.sol +23 -23
  31. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721InitAbstract.sol +23 -23
  32. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721Mintable.sol +1 -1
  33. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721MintableInitAbstract.sol +1 -1
  34. package/contracts/LSP9Vault/LSP9VaultCore.sol +7 -2
  35. package/devdocs/LinkedContractsFactory.json +81 -0
  36. package/dist/constants.cjs.js +602 -0
  37. package/dist/constants.d.ts +338 -0
  38. package/dist/constants.es.js +602 -0
  39. package/package.json +2 -1
  40. package/userdocs/LinkedContractsFactory.json +29 -0
@@ -0,0 +1,544 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "LinkedContractsFactory",
4
+ "sourceName": "contracts/LSP23LinkedContractsDeployment/LinkedContractsFactory.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "InvalidValueSum",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [
13
+ {
14
+ "internalType": "bytes",
15
+ "name": "errorData",
16
+ "type": "bytes"
17
+ }
18
+ ],
19
+ "name": "PrimaryContractProxyInitFailureError",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "inputs": [
24
+ {
25
+ "internalType": "bytes",
26
+ "name": "errorData",
27
+ "type": "bytes"
28
+ }
29
+ ],
30
+ "name": "SecondaryContractProxyInitFailureError",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "anonymous": false,
35
+ "inputs": [
36
+ {
37
+ "indexed": true,
38
+ "internalType": "address",
39
+ "name": "primaryContract",
40
+ "type": "address"
41
+ },
42
+ {
43
+ "indexed": true,
44
+ "internalType": "address",
45
+ "name": "secondaryContract",
46
+ "type": "address"
47
+ },
48
+ {
49
+ "components": [
50
+ {
51
+ "internalType": "bytes32",
52
+ "name": "salt",
53
+ "type": "bytes32"
54
+ },
55
+ {
56
+ "internalType": "uint256",
57
+ "name": "fundingAmount",
58
+ "type": "uint256"
59
+ },
60
+ {
61
+ "internalType": "bytes",
62
+ "name": "creationBytecode",
63
+ "type": "bytes"
64
+ }
65
+ ],
66
+ "indexed": false,
67
+ "internalType": "struct ILinkedContractsFactory.PrimaryContractDeployment",
68
+ "name": "primaryContractDeployment",
69
+ "type": "tuple"
70
+ },
71
+ {
72
+ "components": [
73
+ {
74
+ "internalType": "uint256",
75
+ "name": "fundingAmount",
76
+ "type": "uint256"
77
+ },
78
+ {
79
+ "internalType": "bytes",
80
+ "name": "creationBytecode",
81
+ "type": "bytes"
82
+ },
83
+ {
84
+ "internalType": "bool",
85
+ "name": "addPrimaryContractAddress",
86
+ "type": "bool"
87
+ },
88
+ {
89
+ "internalType": "bytes",
90
+ "name": "extraConstructorParams",
91
+ "type": "bytes"
92
+ }
93
+ ],
94
+ "indexed": false,
95
+ "internalType": "struct ILinkedContractsFactory.SecondaryContractDeployment",
96
+ "name": "secondaryContractDeployment",
97
+ "type": "tuple"
98
+ },
99
+ {
100
+ "indexed": false,
101
+ "internalType": "address",
102
+ "name": "postDeploymentModule",
103
+ "type": "address"
104
+ },
105
+ {
106
+ "indexed": false,
107
+ "internalType": "bytes",
108
+ "name": "postDeploymentModuleCalldata",
109
+ "type": "bytes"
110
+ }
111
+ ],
112
+ "name": "DeployedContracts",
113
+ "type": "event"
114
+ },
115
+ {
116
+ "anonymous": false,
117
+ "inputs": [
118
+ {
119
+ "indexed": true,
120
+ "internalType": "address",
121
+ "name": "primaryContract",
122
+ "type": "address"
123
+ },
124
+ {
125
+ "indexed": true,
126
+ "internalType": "address",
127
+ "name": "secondaryContract",
128
+ "type": "address"
129
+ },
130
+ {
131
+ "components": [
132
+ {
133
+ "internalType": "bytes32",
134
+ "name": "salt",
135
+ "type": "bytes32"
136
+ },
137
+ {
138
+ "internalType": "uint256",
139
+ "name": "fundingAmount",
140
+ "type": "uint256"
141
+ },
142
+ {
143
+ "internalType": "address",
144
+ "name": "implementationContract",
145
+ "type": "address"
146
+ },
147
+ {
148
+ "internalType": "bytes",
149
+ "name": "initializationCalldata",
150
+ "type": "bytes"
151
+ }
152
+ ],
153
+ "indexed": false,
154
+ "internalType": "struct ILinkedContractsFactory.PrimaryContractDeploymentInit",
155
+ "name": "primaryContractDeploymentInit",
156
+ "type": "tuple"
157
+ },
158
+ {
159
+ "components": [
160
+ {
161
+ "internalType": "uint256",
162
+ "name": "fundingAmount",
163
+ "type": "uint256"
164
+ },
165
+ {
166
+ "internalType": "address",
167
+ "name": "implementationContract",
168
+ "type": "address"
169
+ },
170
+ {
171
+ "internalType": "bytes",
172
+ "name": "initializationCalldata",
173
+ "type": "bytes"
174
+ },
175
+ {
176
+ "internalType": "bool",
177
+ "name": "addPrimaryContractAddress",
178
+ "type": "bool"
179
+ },
180
+ {
181
+ "internalType": "bytes",
182
+ "name": "extraInitializationParams",
183
+ "type": "bytes"
184
+ }
185
+ ],
186
+ "indexed": false,
187
+ "internalType": "struct ILinkedContractsFactory.SecondaryContractDeploymentInit",
188
+ "name": "secondaryContractDeploymentInit",
189
+ "type": "tuple"
190
+ },
191
+ {
192
+ "indexed": false,
193
+ "internalType": "address",
194
+ "name": "postDeploymentModule",
195
+ "type": "address"
196
+ },
197
+ {
198
+ "indexed": false,
199
+ "internalType": "bytes",
200
+ "name": "postDeploymentModuleCalldata",
201
+ "type": "bytes"
202
+ }
203
+ ],
204
+ "name": "DeployedERC1167Proxies",
205
+ "type": "event"
206
+ },
207
+ {
208
+ "inputs": [
209
+ {
210
+ "components": [
211
+ {
212
+ "internalType": "bytes32",
213
+ "name": "salt",
214
+ "type": "bytes32"
215
+ },
216
+ {
217
+ "internalType": "uint256",
218
+ "name": "fundingAmount",
219
+ "type": "uint256"
220
+ },
221
+ {
222
+ "internalType": "bytes",
223
+ "name": "creationBytecode",
224
+ "type": "bytes"
225
+ }
226
+ ],
227
+ "internalType": "struct ILinkedContractsFactory.PrimaryContractDeployment",
228
+ "name": "primaryContractDeployment",
229
+ "type": "tuple"
230
+ },
231
+ {
232
+ "components": [
233
+ {
234
+ "internalType": "uint256",
235
+ "name": "fundingAmount",
236
+ "type": "uint256"
237
+ },
238
+ {
239
+ "internalType": "bytes",
240
+ "name": "creationBytecode",
241
+ "type": "bytes"
242
+ },
243
+ {
244
+ "internalType": "bool",
245
+ "name": "addPrimaryContractAddress",
246
+ "type": "bool"
247
+ },
248
+ {
249
+ "internalType": "bytes",
250
+ "name": "extraConstructorParams",
251
+ "type": "bytes"
252
+ }
253
+ ],
254
+ "internalType": "struct ILinkedContractsFactory.SecondaryContractDeployment",
255
+ "name": "secondaryContractDeployment",
256
+ "type": "tuple"
257
+ },
258
+ {
259
+ "internalType": "address",
260
+ "name": "postDeploymentModule",
261
+ "type": "address"
262
+ },
263
+ {
264
+ "internalType": "bytes",
265
+ "name": "postDeploymentModuleCalldata",
266
+ "type": "bytes"
267
+ }
268
+ ],
269
+ "name": "computeAddresses",
270
+ "outputs": [
271
+ {
272
+ "internalType": "address",
273
+ "name": "primaryContractAddress",
274
+ "type": "address"
275
+ },
276
+ {
277
+ "internalType": "address",
278
+ "name": "secondaryContractAddress",
279
+ "type": "address"
280
+ }
281
+ ],
282
+ "stateMutability": "view",
283
+ "type": "function"
284
+ },
285
+ {
286
+ "inputs": [
287
+ {
288
+ "components": [
289
+ {
290
+ "internalType": "bytes32",
291
+ "name": "salt",
292
+ "type": "bytes32"
293
+ },
294
+ {
295
+ "internalType": "uint256",
296
+ "name": "fundingAmount",
297
+ "type": "uint256"
298
+ },
299
+ {
300
+ "internalType": "address",
301
+ "name": "implementationContract",
302
+ "type": "address"
303
+ },
304
+ {
305
+ "internalType": "bytes",
306
+ "name": "initializationCalldata",
307
+ "type": "bytes"
308
+ }
309
+ ],
310
+ "internalType": "struct ILinkedContractsFactory.PrimaryContractDeploymentInit",
311
+ "name": "primaryContractDeploymentInit",
312
+ "type": "tuple"
313
+ },
314
+ {
315
+ "components": [
316
+ {
317
+ "internalType": "uint256",
318
+ "name": "fundingAmount",
319
+ "type": "uint256"
320
+ },
321
+ {
322
+ "internalType": "address",
323
+ "name": "implementationContract",
324
+ "type": "address"
325
+ },
326
+ {
327
+ "internalType": "bytes",
328
+ "name": "initializationCalldata",
329
+ "type": "bytes"
330
+ },
331
+ {
332
+ "internalType": "bool",
333
+ "name": "addPrimaryContractAddress",
334
+ "type": "bool"
335
+ },
336
+ {
337
+ "internalType": "bytes",
338
+ "name": "extraInitializationParams",
339
+ "type": "bytes"
340
+ }
341
+ ],
342
+ "internalType": "struct ILinkedContractsFactory.SecondaryContractDeploymentInit",
343
+ "name": "secondaryContractDeploymentInit",
344
+ "type": "tuple"
345
+ },
346
+ {
347
+ "internalType": "address",
348
+ "name": "postDeploymentModule",
349
+ "type": "address"
350
+ },
351
+ {
352
+ "internalType": "bytes",
353
+ "name": "postDeploymentModuleCalldata",
354
+ "type": "bytes"
355
+ }
356
+ ],
357
+ "name": "computeERC1167Addresses",
358
+ "outputs": [
359
+ {
360
+ "internalType": "address",
361
+ "name": "primaryContractAddress",
362
+ "type": "address"
363
+ },
364
+ {
365
+ "internalType": "address",
366
+ "name": "secondaryContractAddress",
367
+ "type": "address"
368
+ }
369
+ ],
370
+ "stateMutability": "view",
371
+ "type": "function"
372
+ },
373
+ {
374
+ "inputs": [
375
+ {
376
+ "components": [
377
+ {
378
+ "internalType": "bytes32",
379
+ "name": "salt",
380
+ "type": "bytes32"
381
+ },
382
+ {
383
+ "internalType": "uint256",
384
+ "name": "fundingAmount",
385
+ "type": "uint256"
386
+ },
387
+ {
388
+ "internalType": "bytes",
389
+ "name": "creationBytecode",
390
+ "type": "bytes"
391
+ }
392
+ ],
393
+ "internalType": "struct ILinkedContractsFactory.PrimaryContractDeployment",
394
+ "name": "primaryContractDeployment",
395
+ "type": "tuple"
396
+ },
397
+ {
398
+ "components": [
399
+ {
400
+ "internalType": "uint256",
401
+ "name": "fundingAmount",
402
+ "type": "uint256"
403
+ },
404
+ {
405
+ "internalType": "bytes",
406
+ "name": "creationBytecode",
407
+ "type": "bytes"
408
+ },
409
+ {
410
+ "internalType": "bool",
411
+ "name": "addPrimaryContractAddress",
412
+ "type": "bool"
413
+ },
414
+ {
415
+ "internalType": "bytes",
416
+ "name": "extraConstructorParams",
417
+ "type": "bytes"
418
+ }
419
+ ],
420
+ "internalType": "struct ILinkedContractsFactory.SecondaryContractDeployment",
421
+ "name": "secondaryContractDeployment",
422
+ "type": "tuple"
423
+ },
424
+ {
425
+ "internalType": "address",
426
+ "name": "postDeploymentModule",
427
+ "type": "address"
428
+ },
429
+ {
430
+ "internalType": "bytes",
431
+ "name": "postDeploymentModuleCalldata",
432
+ "type": "bytes"
433
+ }
434
+ ],
435
+ "name": "deployContracts",
436
+ "outputs": [
437
+ {
438
+ "internalType": "address",
439
+ "name": "primaryContractAddress",
440
+ "type": "address"
441
+ },
442
+ {
443
+ "internalType": "address",
444
+ "name": "secondaryContractAddress",
445
+ "type": "address"
446
+ }
447
+ ],
448
+ "stateMutability": "payable",
449
+ "type": "function"
450
+ },
451
+ {
452
+ "inputs": [
453
+ {
454
+ "components": [
455
+ {
456
+ "internalType": "bytes32",
457
+ "name": "salt",
458
+ "type": "bytes32"
459
+ },
460
+ {
461
+ "internalType": "uint256",
462
+ "name": "fundingAmount",
463
+ "type": "uint256"
464
+ },
465
+ {
466
+ "internalType": "address",
467
+ "name": "implementationContract",
468
+ "type": "address"
469
+ },
470
+ {
471
+ "internalType": "bytes",
472
+ "name": "initializationCalldata",
473
+ "type": "bytes"
474
+ }
475
+ ],
476
+ "internalType": "struct ILinkedContractsFactory.PrimaryContractDeploymentInit",
477
+ "name": "primaryContractDeploymentInit",
478
+ "type": "tuple"
479
+ },
480
+ {
481
+ "components": [
482
+ {
483
+ "internalType": "uint256",
484
+ "name": "fundingAmount",
485
+ "type": "uint256"
486
+ },
487
+ {
488
+ "internalType": "address",
489
+ "name": "implementationContract",
490
+ "type": "address"
491
+ },
492
+ {
493
+ "internalType": "bytes",
494
+ "name": "initializationCalldata",
495
+ "type": "bytes"
496
+ },
497
+ {
498
+ "internalType": "bool",
499
+ "name": "addPrimaryContractAddress",
500
+ "type": "bool"
501
+ },
502
+ {
503
+ "internalType": "bytes",
504
+ "name": "extraInitializationParams",
505
+ "type": "bytes"
506
+ }
507
+ ],
508
+ "internalType": "struct ILinkedContractsFactory.SecondaryContractDeploymentInit",
509
+ "name": "secondaryContractDeploymentInit",
510
+ "type": "tuple"
511
+ },
512
+ {
513
+ "internalType": "address",
514
+ "name": "postDeploymentModule",
515
+ "type": "address"
516
+ },
517
+ {
518
+ "internalType": "bytes",
519
+ "name": "postDeploymentModuleCalldata",
520
+ "type": "bytes"
521
+ }
522
+ ],
523
+ "name": "deployERC1167Proxies",
524
+ "outputs": [
525
+ {
526
+ "internalType": "address",
527
+ "name": "primaryContractAddress",
528
+ "type": "address"
529
+ },
530
+ {
531
+ "internalType": "address",
532
+ "name": "secondaryContractAddress",
533
+ "type": "address"
534
+ }
535
+ ],
536
+ "stateMutability": "payable",
537
+ "type": "function"
538
+ }
539
+ ],
540
+ "bytecode": "0x608060405234801561001057600080fd5b5061122f806100206000396000f3fe60806040526004361061003f5760003560e01c80636a66a7531461004457806372b19d361461007b578063754b86b51461009b578063dd5940f3146100ae575b600080fd5b610057610052366004610bf3565b6100ce565b604080516001600160a01b0393841681529290911660208301520160405180910390f35b34801561008757600080fd5b50610057610096366004610bf3565b6101f4565b6100576100a9366004610c9c565b61027d565b3480156100ba57600080fd5b506100576100c9366004610c9c565b610314565b6000806100e086356020890135610d10565b34146100ff57604051632fd9ca9160e01b815260040160405180910390fd5b61010c878787878761046d565b91506101188683610558565b9050806001600160a01b0316826001600160a01b03167fe20570ed9bda3b93eea277b4e5d975c8933fd5f85f2c824d0845ae96c55a54fe8989898989604051610165959493929190610dc9565b60405180910390a36040517f28c4d14e0000000000000000000000000000000000000000000000000000000081526001600160a01b038616906328c4d14e906101b8908590859089908990600401610ed5565b600060405180830381600087803b1580156101d257600080fd5b505af11580156101e6573d6000803e3d6000fd5b505050509550959350505050565b60008060006102068888888888610702565b905061022161021b60608a0160408b01610f0c565b8261077d565b92506102706102366040890160208a01610f0c565b6040516bffffffffffffffffffffffff19606087901b1660208201526034016040516020818303038152906040528051906020012061077d565b9150509550959350505050565b60008061028f86356020890135610d10565b34146102ae57604051632fd9ca9160e01b815260040160405180910390fd5b6102bb87878787876107e2565b91506102c7868361084f565b9050806001600160a01b0316826001600160a01b03167f0e20ea3d6273aab49a7dabafc15cc94971c12dd63a07185ca810e497e4e87aa68989898989604051610165959493929190610f27565b6000806000610326888888888861094e565b90506103548161033960408b018b610fc7565b60405161034792919061100e565b6040518091039020610997565b9250606061036788820160408a0161101e565b156103d4576103796020890189610fc7565b604080516001600160a01b03881660208201520160408051601f198184030181529190526103aa60608c018c610fc7565b6040516020016103be95949392919061105d565b6040516020818303038152906040529050610419565b6103e16020890189610fc7565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509293505050505b6040516bffffffffffffffffffffffff19606086901b16602082015261045f90603401604051602081830303815290604052805190602001208280519060200120610997565b925050509550959350505050565b60008061047d8787878787610702565b90506104986104926060890160408a01610f0c565b826109a4565b91506000806001600160a01b038416346104b560608c018c610fc7565b6040516104c392919061100e565b60006040518083038185875af1925050503d8060008114610500576040519150601f19603f3d011682016040523d82523d6000602084013e610505565b606091505b50915091508161054c57806040517f4364b6ee0000000000000000000000000000000000000000000000000000000081526004016105439190611091565b60405180910390fd5b50505095945050505050565b60006105a761056d6040850160208601610f0c565b6040516bffffffffffffffffffffffff19606086901b166020820152603401604051602081830303815290604052805190602001206109a4565b905060006105b86040850185610fc7565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092935061060092505050608085016060860161101e565b1561065d57604080516001600160a01b038516602082015282910160408051601f198184030181529190526106386080870187610fc7565b60405160200161064b94939291906110c4565b60405160208183030381529060405290505b600080836001600160a01b031634846040516106799190611100565b60006040518083038185875af1925050503d80600081146106b6576040519150601f19603f3d011682016040523d82523d6000602084013e6106bb565b606091505b5091509150816106f957806040517f9654a8540000000000000000000000000000000000000000000000000000000081526004016105439190611091565b50505092915050565b600085356107166040870160208801610f0c565b6107236040880188610fc7565b61073360808a0160608b0161101e565b61074060808b018b610fc7565b8a8a8a60405160200161075c9a9998979695949392919061111c565b60405160208183030381529060405280519060200120905095945050505050565b6040513060388201526f5af43d82803e903d91602b57fd5bf3ff602482015260148101839052733d602d80600a3d3981f3363d3d373d3d3d363d738152605881018290526037600c820120607882015260556043909101206000905b90505b92915050565b6000806107f2878787878761094e565b905061084460208801358261080a60408b018b610fc7565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610a4192505050565b979650505050505050565b60008061085f6020850185610fc7565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509293506108a792505050606085016040860161101e565b1561090457604080516001600160a01b038516602082015282910160408051601f198184030181529190526108df6060870187610fc7565b6040516020016108f294939291906110c4565b60405160208183030381529060405290505b6040516bffffffffffffffffffffffff19606085901b166020820152610946908535906034016040516020818303038152906040528051906020012083610a41565b949350505050565b6000853561095f6020870187610fc7565b61096f6060890160408a0161101e565b61097c60608a018a610fc7565b89898960405160200161075c99989796959493929190611190565b60006107d9838330610b4c565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008360601b60e81c176000526e5af43d82803e903d91602b57fd5bf38360781b1760205281603760096000f590506001600160a01b0381166107dc5760405162461bcd60e51b815260206004820152601760248201527f455243313136373a2063726561746532206661696c65640000000000000000006044820152606401610543565b600083471015610a935760405162461bcd60e51b815260206004820152601d60248201527f437265617465323a20696e73756666696369656e742062616c616e63650000006044820152606401610543565b8151600003610ae45760405162461bcd60e51b815260206004820181905260248201527f437265617465323a2062797465636f6465206c656e677468206973207a65726f6044820152606401610543565b8282516020840186f590506001600160a01b038116610b455760405162461bcd60e51b815260206004820152601960248201527f437265617465323a204661696c6564206f6e206465706c6f79000000000000006044820152606401610543565b9392505050565b6000604051836040820152846020820152828152600b8101905060ff815360559020949350505050565b600060808284031215610b8857600080fd5b50919050565b80356001600160a01b0381168114610ba557600080fd5b919050565b60008083601f840112610bbc57600080fd5b50813567ffffffffffffffff811115610bd457600080fd5b602083019150836020828501011115610bec57600080fd5b9250929050565b600080600080600060808688031215610c0b57600080fd5b853567ffffffffffffffff80821115610c2357600080fd5b610c2f89838a01610b76565b96506020880135915080821115610c4557600080fd5b9087019060a0828a031215610c5957600080fd5b819550610c6860408901610b8e565b94506060880135915080821115610c7e57600080fd5b50610c8b88828901610baa565b969995985093965092949392505050565b600080600080600060808688031215610cb457600080fd5b853567ffffffffffffffff80821115610ccc57600080fd5b908701906060828a031215610ce057600080fd5b90955060208701359080821115610cf657600080fd5b610d0289838a01610b76565b9550610c6860408901610b8e565b808201808211156107dc577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000808335601e19843603018112610d6157600080fd5b830160208101925035905067ffffffffffffffff811115610d8157600080fd5b803603821315610bec57600080fd5b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b80358015158114610ba557600080fd5b6080815285356080820152602086013560a08201526000610dec60408801610b8e565b6001600160a01b0380821660c0850152610e0960608a018a610d4a565b9250608060e0860152610e2161010086018483610d90565b92505083820360208501528735825280610e3d60208a01610b8e565b16602083015250610e516040880188610d4a565b60a06040840152610e6660a084018284610d90565b915050610e7560608901610db9565b15156060830152610e896080890189610d4a565b8383036080850152610e9c838284610d90565b9350505050610eb660408401876001600160a01b03169052565b8281036060840152610ec9818587610d90565b98975050505050505050565b60006001600160a01b03808716835280861660208401525060606040830152610f02606083018486610d90565b9695505050505050565b600060208284031215610f1e57600080fd5b6107d982610b8e565b6080815285356080820152602086013560a08201526000610f4b6040880188610d4a565b606060c0850152610f6060e085018284610d90565b915050828103602084015286358152610f7c6020880188610d4a565b60806020840152610f91608084018284610d90565b915050610fa060408901610db9565b15156040830152610fb46060890189610d4a565b8383036060850152610e9c838284610d90565b6000808335601e19843603018112610fde57600080fd5b83018035915067ffffffffffffffff821115610ff957600080fd5b602001915036819003821315610bec57600080fd5b8183823760009101908152919050565b60006020828403121561103057600080fd5b6107d982610db9565b60005b8381101561105457818101518382015260200161103c565b50506000910152565b84868237600085820160008152855161107a818360208a01611039565b018385823760009301928352509095945050505050565b60208152600082518060208401526110b0816040850160208701611039565b601f01601f19169190910160400192915050565b600085516110d6818460208a01611039565b8551908301906110ea818360208a01611039565b0183858237600093019283525090949350505050565b60008251611112818460208701611039565b9190910192915050565b8a815260006001600160a01b03808c16602084015260e0604084015261114660e084018b8d610d90565b8915156060850152838103608085015261116181898b610d90565b905081871660a085015283810360c085015261117e818688610d90565b9e9d5050505050505050505050505050565b89815260c0602082015260006111aa60c083018a8c610d90565b881515604084015282810360608401526111c581888a610d90565b90506001600160a01b038616608084015282810360a08401526111e9818587610d90565b9c9b50505050505050505050505056fea2646970667358221220519345d26817737bbf7d49bc012608d4514c8fd4ecc20406eeacb3dff453954164736f6c63430008110033",
541
+ "deployedBytecode": "0x60806040526004361061003f5760003560e01c80636a66a7531461004457806372b19d361461007b578063754b86b51461009b578063dd5940f3146100ae575b600080fd5b610057610052366004610bf3565b6100ce565b604080516001600160a01b0393841681529290911660208301520160405180910390f35b34801561008757600080fd5b50610057610096366004610bf3565b6101f4565b6100576100a9366004610c9c565b61027d565b3480156100ba57600080fd5b506100576100c9366004610c9c565b610314565b6000806100e086356020890135610d10565b34146100ff57604051632fd9ca9160e01b815260040160405180910390fd5b61010c878787878761046d565b91506101188683610558565b9050806001600160a01b0316826001600160a01b03167fe20570ed9bda3b93eea277b4e5d975c8933fd5f85f2c824d0845ae96c55a54fe8989898989604051610165959493929190610dc9565b60405180910390a36040517f28c4d14e0000000000000000000000000000000000000000000000000000000081526001600160a01b038616906328c4d14e906101b8908590859089908990600401610ed5565b600060405180830381600087803b1580156101d257600080fd5b505af11580156101e6573d6000803e3d6000fd5b505050509550959350505050565b60008060006102068888888888610702565b905061022161021b60608a0160408b01610f0c565b8261077d565b92506102706102366040890160208a01610f0c565b6040516bffffffffffffffffffffffff19606087901b1660208201526034016040516020818303038152906040528051906020012061077d565b9150509550959350505050565b60008061028f86356020890135610d10565b34146102ae57604051632fd9ca9160e01b815260040160405180910390fd5b6102bb87878787876107e2565b91506102c7868361084f565b9050806001600160a01b0316826001600160a01b03167f0e20ea3d6273aab49a7dabafc15cc94971c12dd63a07185ca810e497e4e87aa68989898989604051610165959493929190610f27565b6000806000610326888888888861094e565b90506103548161033960408b018b610fc7565b60405161034792919061100e565b6040518091039020610997565b9250606061036788820160408a0161101e565b156103d4576103796020890189610fc7565b604080516001600160a01b03881660208201520160408051601f198184030181529190526103aa60608c018c610fc7565b6040516020016103be95949392919061105d565b6040516020818303038152906040529050610419565b6103e16020890189610fc7565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509293505050505b6040516bffffffffffffffffffffffff19606086901b16602082015261045f90603401604051602081830303815290604052805190602001208280519060200120610997565b925050509550959350505050565b60008061047d8787878787610702565b90506104986104926060890160408a01610f0c565b826109a4565b91506000806001600160a01b038416346104b560608c018c610fc7565b6040516104c392919061100e565b60006040518083038185875af1925050503d8060008114610500576040519150601f19603f3d011682016040523d82523d6000602084013e610505565b606091505b50915091508161054c57806040517f4364b6ee0000000000000000000000000000000000000000000000000000000081526004016105439190611091565b60405180910390fd5b50505095945050505050565b60006105a761056d6040850160208601610f0c565b6040516bffffffffffffffffffffffff19606086901b166020820152603401604051602081830303815290604052805190602001206109a4565b905060006105b86040850185610fc7565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092935061060092505050608085016060860161101e565b1561065d57604080516001600160a01b038516602082015282910160408051601f198184030181529190526106386080870187610fc7565b60405160200161064b94939291906110c4565b60405160208183030381529060405290505b600080836001600160a01b031634846040516106799190611100565b60006040518083038185875af1925050503d80600081146106b6576040519150601f19603f3d011682016040523d82523d6000602084013e6106bb565b606091505b5091509150816106f957806040517f9654a8540000000000000000000000000000000000000000000000000000000081526004016105439190611091565b50505092915050565b600085356107166040870160208801610f0c565b6107236040880188610fc7565b61073360808a0160608b0161101e565b61074060808b018b610fc7565b8a8a8a60405160200161075c9a9998979695949392919061111c565b60405160208183030381529060405280519060200120905095945050505050565b6040513060388201526f5af43d82803e903d91602b57fd5bf3ff602482015260148101839052733d602d80600a3d3981f3363d3d373d3d3d363d738152605881018290526037600c820120607882015260556043909101206000905b90505b92915050565b6000806107f2878787878761094e565b905061084460208801358261080a60408b018b610fc7565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610a4192505050565b979650505050505050565b60008061085f6020850185610fc7565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509293506108a792505050606085016040860161101e565b1561090457604080516001600160a01b038516602082015282910160408051601f198184030181529190526108df6060870187610fc7565b6040516020016108f294939291906110c4565b60405160208183030381529060405290505b6040516bffffffffffffffffffffffff19606085901b166020820152610946908535906034016040516020818303038152906040528051906020012083610a41565b949350505050565b6000853561095f6020870187610fc7565b61096f6060890160408a0161101e565b61097c60608a018a610fc7565b89898960405160200161075c99989796959493929190611190565b60006107d9838330610b4c565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008360601b60e81c176000526e5af43d82803e903d91602b57fd5bf38360781b1760205281603760096000f590506001600160a01b0381166107dc5760405162461bcd60e51b815260206004820152601760248201527f455243313136373a2063726561746532206661696c65640000000000000000006044820152606401610543565b600083471015610a935760405162461bcd60e51b815260206004820152601d60248201527f437265617465323a20696e73756666696369656e742062616c616e63650000006044820152606401610543565b8151600003610ae45760405162461bcd60e51b815260206004820181905260248201527f437265617465323a2062797465636f6465206c656e677468206973207a65726f6044820152606401610543565b8282516020840186f590506001600160a01b038116610b455760405162461bcd60e51b815260206004820152601960248201527f437265617465323a204661696c6564206f6e206465706c6f79000000000000006044820152606401610543565b9392505050565b6000604051836040820152846020820152828152600b8101905060ff815360559020949350505050565b600060808284031215610b8857600080fd5b50919050565b80356001600160a01b0381168114610ba557600080fd5b919050565b60008083601f840112610bbc57600080fd5b50813567ffffffffffffffff811115610bd457600080fd5b602083019150836020828501011115610bec57600080fd5b9250929050565b600080600080600060808688031215610c0b57600080fd5b853567ffffffffffffffff80821115610c2357600080fd5b610c2f89838a01610b76565b96506020880135915080821115610c4557600080fd5b9087019060a0828a031215610c5957600080fd5b819550610c6860408901610b8e565b94506060880135915080821115610c7e57600080fd5b50610c8b88828901610baa565b969995985093965092949392505050565b600080600080600060808688031215610cb457600080fd5b853567ffffffffffffffff80821115610ccc57600080fd5b908701906060828a031215610ce057600080fd5b90955060208701359080821115610cf657600080fd5b610d0289838a01610b76565b9550610c6860408901610b8e565b808201808211156107dc577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000808335601e19843603018112610d6157600080fd5b830160208101925035905067ffffffffffffffff811115610d8157600080fd5b803603821315610bec57600080fd5b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b80358015158114610ba557600080fd5b6080815285356080820152602086013560a08201526000610dec60408801610b8e565b6001600160a01b0380821660c0850152610e0960608a018a610d4a565b9250608060e0860152610e2161010086018483610d90565b92505083820360208501528735825280610e3d60208a01610b8e565b16602083015250610e516040880188610d4a565b60a06040840152610e6660a084018284610d90565b915050610e7560608901610db9565b15156060830152610e896080890189610d4a565b8383036080850152610e9c838284610d90565b9350505050610eb660408401876001600160a01b03169052565b8281036060840152610ec9818587610d90565b98975050505050505050565b60006001600160a01b03808716835280861660208401525060606040830152610f02606083018486610d90565b9695505050505050565b600060208284031215610f1e57600080fd5b6107d982610b8e565b6080815285356080820152602086013560a08201526000610f4b6040880188610d4a565b606060c0850152610f6060e085018284610d90565b915050828103602084015286358152610f7c6020880188610d4a565b60806020840152610f91608084018284610d90565b915050610fa060408901610db9565b15156040830152610fb46060890189610d4a565b8383036060850152610e9c838284610d90565b6000808335601e19843603018112610fde57600080fd5b83018035915067ffffffffffffffff821115610ff957600080fd5b602001915036819003821315610bec57600080fd5b8183823760009101908152919050565b60006020828403121561103057600080fd5b6107d982610db9565b60005b8381101561105457818101518382015260200161103c565b50506000910152565b84868237600085820160008152855161107a818360208a01611039565b018385823760009301928352509095945050505050565b60208152600082518060208401526110b0816040850160208701611039565b601f01601f19169190910160400192915050565b600085516110d6818460208a01611039565b8551908301906110ea818360208a01611039565b0183858237600093019283525090949350505050565b60008251611112818460208701611039565b9190910192915050565b8a815260006001600160a01b03808c16602084015260e0604084015261114660e084018b8d610d90565b8915156060850152838103608085015261116181898b610d90565b905081871660a085015283810360c085015261117e818688610d90565b9e9d5050505050505050505050505050565b89815260c0602082015260006111aa60c083018a8c610d90565b881515604084015282810360608401526111c581888a610d90565b90506001600160a01b038616608084015282810360a08401526111e9818587610d90565b9c9b50505050505050505050505056fea2646970667358221220519345d26817737bbf7d49bc012608d4514c8fd4ecc20406eeacb3dff453954164736f6c63430008110033",
542
+ "linkReferences": {},
543
+ "deployedLinkReferences": {}
544
+ }