@lukso/lsp-smart-contracts 0.8.0 → 0.8.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 (57) hide show
  1. package/CONTRIBUTING.md +8 -0
  2. package/README.md +21 -21
  3. package/artifacts/LSP0ERC725Account.json +2 -2
  4. package/artifacts/LSP0ERC725AccountInit.json +2 -2
  5. package/artifacts/LSP11BasicSocialRecovery.json +2 -2
  6. package/artifacts/LSP11BasicSocialRecoveryInit.json +2 -2
  7. package/artifacts/LSP1UniversalReceiverDelegateUP.json +2 -2
  8. package/artifacts/LSP1UniversalReceiverDelegateVault.json +2 -2
  9. package/artifacts/LSP6KeyManager.json +2 -2
  10. package/artifacts/LSP6KeyManagerInit.json +2 -2
  11. package/artifacts/LSP7CappedSupply.json +5 -0
  12. package/artifacts/LSP7CappedSupplyInitAbstract.json +5 -0
  13. package/artifacts/LSP7CompatibleERC20.json +5 -0
  14. package/artifacts/LSP7CompatibleERC20InitAbstract.json +5 -0
  15. package/artifacts/LSP7CompatibleERC20Mintable.json +7 -2
  16. package/artifacts/LSP7CompatibleERC20MintableInit.json +7 -2
  17. package/artifacts/LSP7DigitalAsset.json +5 -0
  18. package/artifacts/LSP7DigitalAssetInitAbstract.json +5 -0
  19. package/artifacts/LSP7Mintable.json +7 -2
  20. package/artifacts/LSP7MintableInit.json +7 -2
  21. package/artifacts/LSP8CappedSupply.json +5 -0
  22. package/artifacts/LSP8CappedSupplyInitAbstract.json +5 -0
  23. package/artifacts/LSP8CompatibleERC721.json +5 -0
  24. package/artifacts/LSP8CompatibleERC721InitAbstract.json +5 -0
  25. package/artifacts/LSP8CompatibleERC721Mintable.json +7 -2
  26. package/artifacts/LSP8CompatibleERC721MintableInit.json +7 -2
  27. package/artifacts/LSP8IdentifiableDigitalAsset.json +5 -0
  28. package/artifacts/LSP8IdentifiableDigitalAssetInitAbstract.json +5 -0
  29. package/artifacts/LSP8Mintable.json +7 -2
  30. package/artifacts/LSP8MintableInit.json +7 -2
  31. package/artifacts/LSP9Vault.json +2 -2
  32. package/artifacts/LSP9VaultInit.json +2 -2
  33. package/artifacts/UniversalProfile.json +2 -2
  34. package/artifacts/UniversalProfileInit.json +2 -2
  35. package/common/constants.d.ts +738 -0
  36. package/common/constants.js +785 -0
  37. package/contracts/LSP0ERC725Account/LSP0ERC725AccountCore.sol +87 -28
  38. package/contracts/LSP0ERC725Account/LSP0Utils.sol +50 -0
  39. package/contracts/LSP10ReceivedVaults/LSP10Utils.sol +3 -5
  40. package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateUP/LSP1UniversalReceiverDelegateUP.sol +2 -4
  41. package/contracts/LSP2ERC725YJSONSchema/LSP2Utils.sol +7 -7
  42. package/contracts/LSP6KeyManager/LSP6KeyManagerCore.sol +44 -734
  43. package/contracts/LSP6KeyManager/LSP6Modules/LSP6ExecuteModule.sol +229 -0
  44. package/contracts/LSP6KeyManager/LSP6Modules/LSP6OwnershipModule.sol +25 -0
  45. package/contracts/LSP6KeyManager/LSP6Modules/LSP6SetDataModule.sol +606 -0
  46. package/contracts/LSP6KeyManager/LSP6Utils.sol +31 -1
  47. package/contracts/LSP7DigitalAsset/LSP7DigitalAssetCore.sol +2 -6
  48. package/contracts/LSP7DigitalAsset/LSP7Errors.sol +5 -0
  49. package/contracts/LSP8IdentifiableDigitalAsset/LSP8Errors.sol +5 -0
  50. package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetCore.sol +7 -13
  51. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721.sol +1 -3
  52. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721InitAbstract.sol +1 -3
  53. package/contracts/LSP9Vault/LSP9VaultCore.sol +85 -25
  54. package/module/constants.d.ts +738 -0
  55. package/module/constants.js +782 -0
  56. package/package.json +26 -4
  57. package/constants.js +0 -856
@@ -0,0 +1,738 @@
1
+ /**
2
+ * Set of constants values as defined in each LUKSO Standards Proposals (LSPs).
3
+ * @see https://github.com/lukso-network/LIPs/tree/main/LSPs
4
+ */
5
+ /**
6
+ * @dev ERC165 interface IDs for the LSP interface standards + some backward compatible ERC token standards.
7
+ * These `bytes4` values can be used to detect if a contract implements a specific interface
8
+ * with `supportsInterface(interfaceId)`.
9
+ */
10
+ export declare const INTERFACE_IDS: {
11
+ ERC165: string;
12
+ ERC1271: string;
13
+ ERC20: string;
14
+ ERC223: string;
15
+ ERC721: string;
16
+ ERC721Metadata: string;
17
+ ERC777: string;
18
+ ERC1155: string;
19
+ ERC725X: string;
20
+ ERC725Y: string;
21
+ LSP0ERC725Account: string;
22
+ LSP1UniversalReceiver: string;
23
+ LSP6KeyManager: string;
24
+ LSP7DigitalAsset: string;
25
+ LSP8IdentifiableDigitalAsset: string;
26
+ LSP9Vault: string;
27
+ LSP11BasicSocialRecovery: string;
28
+ LSP14Ownable2Step: string;
29
+ LSP17Extendable: string;
30
+ LSP17Extension: string;
31
+ };
32
+ /**
33
+ * @dev values returned by the `isValidSignature` function of the ERC1271 standard.
34
+ * Can be used to check if a signature is valid or not.
35
+ */
36
+ export declare const ERC1271_VALUES: {
37
+ MAGIC_VALUE: string;
38
+ FAIL_VALUE: string;
39
+ };
40
+ /**
41
+ * @dev list of ERC725X operation types.
42
+ * @see https://github.com/ERC725Alliance/ERC725/blob/develop/docs/ERC-725.md#execute
43
+ */
44
+ export declare const OPERATION_TYPES: {
45
+ CALL: number;
46
+ CREATE: number;
47
+ CREATE2: number;
48
+ STATICCALL: number;
49
+ DELEGATECALL: number;
50
+ };
51
+ /**
52
+ * @dev list of ERC725Y keys from the LSP standards.
53
+ * Can be used to detect if a contract implements a specific LSP Metadata standard
54
+ * and contain a set of pre-defined ERC725Y Data Keys.
55
+ */
56
+ export declare const SupportedStandards: {
57
+ LSP3UniversalProfile: {
58
+ key: string;
59
+ value: string;
60
+ };
61
+ LSP4DigitalAsset: {
62
+ key: string;
63
+ value: string;
64
+ };
65
+ LSP9Vault: {
66
+ key: string;
67
+ value: string;
68
+ };
69
+ };
70
+ /**
71
+ * @dev list of ERC725Y Metadata keys from the LSP standards.
72
+ * @see https://github.com/lukso-network/LIPs/blob/main/LSPs/LSP-2-ERC725YJSONSchema.md
73
+ */
74
+ export declare const ERC725YDataKeys: {
75
+ LSP1: {
76
+ LSP1UniversalReceiverDelegatePrefix: string;
77
+ LSP1UniversalReceiverDelegate: string;
78
+ };
79
+ LSP3: {
80
+ SupportedStandards_LSP3: string;
81
+ LSP3Profile: string;
82
+ };
83
+ LSP4: {
84
+ SupportedStandards_LSP4: string;
85
+ LSP4TokenName: string;
86
+ LSP4TokenSymbol: string;
87
+ LSP4Metadata: string;
88
+ LSP4CreatorsMap: string;
89
+ "LSP4Creators[]": {
90
+ length: string;
91
+ index: string;
92
+ };
93
+ };
94
+ LSP5: {
95
+ LSP5ReceivedAssetsMap: string;
96
+ "LSP5ReceivedAssets[]": {
97
+ length: string;
98
+ index: string;
99
+ };
100
+ };
101
+ LSP6: {
102
+ "AddressPermissions[]": {
103
+ length: string;
104
+ index: string;
105
+ };
106
+ AddressPermissionsPrefix: string;
107
+ "AddressPermissions:Permissions": string;
108
+ "AddressPermissions:AllowedERC725YDataKeys": string;
109
+ "AddressPermissions:AllowedCalls": string;
110
+ };
111
+ LSP9: {
112
+ SupportedStandards_LSP9: string;
113
+ };
114
+ LSP10: {
115
+ LSP10VaultsMap: string;
116
+ "LSP10Vaults[]": {
117
+ length: string;
118
+ index: string;
119
+ };
120
+ };
121
+ LSP12: {
122
+ LSP12IssuedAssetsMap: string;
123
+ "LSP12IssuedAssets[]": {
124
+ length: string;
125
+ index: string;
126
+ };
127
+ };
128
+ LSP17: {
129
+ LSP17ExtensionPrefix: string;
130
+ };
131
+ };
132
+ /**
133
+ * @dev LSP6 version number for signing `executeRelayCall(...)` transaction using EIP191
134
+ * @see for details see: https://github.com/lukso-network/LIPs/blob/main/LSPs/LSP-6-KeyManager.md#executerelaycall
135
+ */
136
+ export declare const LSP6_VERSION = 6;
137
+ /**
138
+ * @dev `bytes32` hex value for all the LSP6 permissions excluding REENTRANCY, DELEGATECALL and SUPER_DELEGATECALL for security (these should be set manually)
139
+ */
140
+ export declare const ALL_PERMISSIONS = "0x00000000000000000000000000000000000000000000000000000000003f3f7f";
141
+ /**
142
+ * @dev List of `bytes32` permissions from LSP6 Key Manager Standard
143
+ */
144
+ export declare const PERMISSIONS: {
145
+ CHANGEOWNER: string;
146
+ ADDCONTROLLER: string;
147
+ CHANGEPERMISSIONS: string;
148
+ ADDEXTENSIONS: string;
149
+ CHANGEEXTENSIONS: string;
150
+ ADDUNIVERSALRECEIVERDELEGATE: string;
151
+ CHANGEUNIVERSALRECEIVERDELEGATE: string;
152
+ REENTRANCY: string;
153
+ SUPER_TRANSFERVALUE: string;
154
+ TRANSFERVALUE: string;
155
+ SUPER_CALL: string;
156
+ CALL: string;
157
+ SUPER_STATICCALL: string;
158
+ STATICCALL: string;
159
+ SUPER_DELEGATECALL: string;
160
+ DELEGATECALL: string;
161
+ DEPLOY: string;
162
+ SUPER_SETDATA: string;
163
+ SETDATA: string;
164
+ ENCRYPT: string;
165
+ DECRYPT: string;
166
+ SIGN: string;
167
+ };
168
+ /**
169
+ * @dev list of standard type IDs ("hooks") defined in the LSPs that can be used to notify
170
+ * a LSP1 compliant contract about certain type of transactions or information
171
+ * (e.g: token transfer, vault transfer, ownership transfer, etc...)
172
+ */
173
+ export declare const LSP1_TYPE_IDS: {
174
+ LSP0OwnershipTransferStarted: string;
175
+ LSP0OwnershipTransferred_SenderNotification: string;
176
+ LSP0OwnershipTransferred_RecipientNotification: string;
177
+ LSP7Tokens_SenderNotification: string;
178
+ LSP7Tokens_RecipientNotification: string;
179
+ LSP8Tokens_SenderNotification: string;
180
+ LSP8Tokens_RecipientNotification: string;
181
+ LSP9OwnershipTransferStarted: string;
182
+ LSP9OwnershipTransferred_SenderNotification: string;
183
+ LSP9OwnershipTransferred_RecipientNotification: string;
184
+ LSP14OwnershipTransferStarted: string;
185
+ LSP14OwnershipTransferred_SenderNotification: string;
186
+ LSP14OwnershipTransferred_RecipientNotification: string;
187
+ };
188
+ export declare const Errors: {
189
+ LSP1: {
190
+ "0xa5295345": {
191
+ error: string;
192
+ message: string;
193
+ };
194
+ "0x4c5e815a": {
195
+ error: string;
196
+ message: string;
197
+ };
198
+ "0x114b721a": {
199
+ error: string;
200
+ message: string;
201
+ };
202
+ };
203
+ LSP4: {
204
+ "0x85c169bd": {
205
+ error: string;
206
+ message: string;
207
+ };
208
+ "0x76755b38": {
209
+ error: string;
210
+ message: string;
211
+ };
212
+ };
213
+ LSP5: {
214
+ "0xecba7af8": {
215
+ error: string;
216
+ message: string;
217
+ };
218
+ "0x1c458e39": {
219
+ error: string;
220
+ message: string;
221
+ };
222
+ "0xe8a4fba": {
223
+ error: string;
224
+ message: string;
225
+ };
226
+ };
227
+ LSP6: {
228
+ "0xf292052a": {
229
+ error: string;
230
+ message: string;
231
+ };
232
+ "0x3bdad6e6": {
233
+ error: string;
234
+ message: string;
235
+ };
236
+ "0x45147bce": {
237
+ error: string;
238
+ message: string;
239
+ };
240
+ "0x557ae079": {
241
+ error: string;
242
+ message: string;
243
+ };
244
+ "0x0f7d735b": {
245
+ error: string;
246
+ message: string;
247
+ };
248
+ "0xfc854579": {
249
+ error: string;
250
+ message: string;
251
+ };
252
+ "0xc9bd9eb9": {
253
+ error: string;
254
+ message: string;
255
+ };
256
+ "0x2ba8851c": {
257
+ error: string;
258
+ message: string;
259
+ };
260
+ "0xed7fa509": {
261
+ error: string;
262
+ message: string;
263
+ };
264
+ "0x4f0dfdda": {
265
+ error: string;
266
+ message: string;
267
+ };
268
+ "0x8f4afa38": {
269
+ error: string;
270
+ message: string;
271
+ };
272
+ "0x55a187db": {
273
+ error: string;
274
+ message: string;
275
+ };
276
+ "0xb4d50d21": {
277
+ error: string;
278
+ message: string;
279
+ };
280
+ "0x30a324ac": {
281
+ error: string;
282
+ message: string;
283
+ };
284
+ "0xa51868b6": {
285
+ error: string;
286
+ message: string;
287
+ };
288
+ "0x6cb60587": {
289
+ error: string;
290
+ message: string;
291
+ };
292
+ "0x6fd203c5": {
293
+ error: string;
294
+ message: string;
295
+ };
296
+ "0x80d6ebae": {
297
+ error: string;
298
+ message: string;
299
+ };
300
+ "0x3621bbcc": {
301
+ error: string;
302
+ message: string;
303
+ };
304
+ };
305
+ LSP7: {
306
+ "0x08d47949": {
307
+ error: string;
308
+ message: string;
309
+ };
310
+ "0xf3a6b691": {
311
+ error: string;
312
+ message: string;
313
+ };
314
+ "0x6355e766": {
315
+ error: string;
316
+ message: string;
317
+ };
318
+ "0xd2d5ec30": {
319
+ error: string;
320
+ message: string;
321
+ };
322
+ "0xb9afb000": {
323
+ error: string;
324
+ message: string;
325
+ };
326
+ "0x263eee8d": {
327
+ error: string;
328
+ message: string;
329
+ };
330
+ "0xa608fbb6": {
331
+ error: string;
332
+ message: string;
333
+ };
334
+ "0x26c247f4": {
335
+ error: string;
336
+ message: string;
337
+ };
338
+ dab75047: {
339
+ error: string;
340
+ message: string;
341
+ };
342
+ };
343
+ LSP7CappedSupply: {
344
+ "0xacf1d8c5": {
345
+ error: string;
346
+ message: string;
347
+ };
348
+ "0xeacbf0d1": {
349
+ error: string;
350
+ message: string;
351
+ };
352
+ };
353
+ LSP8: {
354
+ "0xae8f9a36": {
355
+ error: string;
356
+ message: string;
357
+ };
358
+ "0x5b271ea2": {
359
+ error: string;
360
+ message: string;
361
+ };
362
+ "0x1294d2a9": {
363
+ error: string;
364
+ message: string;
365
+ };
366
+ "0x9577b8b3": {
367
+ error: string;
368
+ message: string;
369
+ };
370
+ "0x24ecef4d": {
371
+ error: string;
372
+ message: string;
373
+ };
374
+ "0x5d67d6c1": {
375
+ error: string;
376
+ message: string;
377
+ };
378
+ "0x34c7b511": {
379
+ error: string;
380
+ message: string;
381
+ };
382
+ "0x93a83119": {
383
+ error: string;
384
+ message: string;
385
+ };
386
+ "0x4349776d": {
387
+ error: string;
388
+ message: string;
389
+ };
390
+ "0x03173137": {
391
+ error: string;
392
+ message: string;
393
+ };
394
+ "0x4aa31a8c": {
395
+ error: string;
396
+ message: string;
397
+ };
398
+ "0xa7626b68": {
399
+ error: string;
400
+ message: string;
401
+ };
402
+ "0x89fdad62": {
403
+ error: string;
404
+ message: string;
405
+ };
406
+ };
407
+ LSP8CappedSupply: {
408
+ "0x38d9fc30": {
409
+ error: string;
410
+ message: string;
411
+ };
412
+ "0xe8ba2291": {
413
+ error: string;
414
+ message: string;
415
+ };
416
+ };
417
+ LSP9: {
418
+ "0x199611f": {
419
+ error: string;
420
+ message: string;
421
+ };
422
+ };
423
+ LSP11: {
424
+ "0x5560e16": {
425
+ error: string;
426
+ message: string;
427
+ };
428
+ "0xd52858db": {
429
+ error: string;
430
+ message: string;
431
+ };
432
+ "0x3d8e524e": {
433
+ error: string;
434
+ message: string;
435
+ };
436
+ "0x27113777": {
437
+ error: string;
438
+ message: string;
439
+ };
440
+ "0xe3db80bd": {
441
+ error: string;
442
+ message: string;
443
+ };
444
+ "0x7f617002": {
445
+ error: string;
446
+ message: string;
447
+ };
448
+ "0xf78f0507": {
449
+ error: string;
450
+ message: string;
451
+ };
452
+ "0x6fa723c3": {
453
+ error: string;
454
+ message: string;
455
+ };
456
+ "0x0855380c": {
457
+ error: string;
458
+ message: string;
459
+ };
460
+ };
461
+ LSP14Ownable2Step: {
462
+ "0x8b9bf507": {
463
+ error: string;
464
+ message: string;
465
+ };
466
+ "0x43b248cd": {
467
+ error: string;
468
+ message: string;
469
+ };
470
+ };
471
+ LSP17ContractExtension: {
472
+ "0xbb370b2b": {
473
+ error: string;
474
+ message: string;
475
+ };
476
+ };
477
+ };
478
+ export declare const EventSignatures: {
479
+ ERC173: {
480
+ /**
481
+ * event OwnershipTransferred(
482
+ * address indexed previousOwner,
483
+ * address indexed newOwner,
484
+ * );
485
+ *
486
+ * signature = keccak256('OwnershipTransferred(address,address)')
487
+ */
488
+ OwnershipTransfered: string;
489
+ };
490
+ ERC725X: {
491
+ /**
492
+ * event ContractCreated(
493
+ * uint256 indexed _operation,
494
+ * address indexed _contractAddress,
495
+ * uint256 indexed _value
496
+ * bytes32 _salt
497
+ * );
498
+ *
499
+ * signature = keccak256('ContractCreated(uint256,address,uint256,bytes32)')
500
+ */
501
+ ContractCreated: string;
502
+ /**
503
+ * event Executed(
504
+ * uint256 indexed _operation,
505
+ * address indexed _to,
506
+ * uint256 indexed _value,
507
+ * bytes4 _data
508
+ * );
509
+ *
510
+ * signature = keccak256('Executed(uint256,address,uint256,bytes4)')
511
+ */
512
+ Executed: string;
513
+ };
514
+ ERC725Y: {
515
+ /**
516
+ * event DataChanged(
517
+ * bytes32 indexed dataKey,
518
+ * bytes dataValue
519
+ * );
520
+ *
521
+ * signature = keccak256('DataChanged(bytes32,bytes)')
522
+ */
523
+ DataChanged: string;
524
+ };
525
+ LSP0: {
526
+ /**
527
+ * event ValueReceived(
528
+ * address indexed sender,
529
+ * uint256 indexed value
530
+ * );
531
+ *
532
+ * signature = keccak256('ValueReceived(address,uint256)')
533
+ */
534
+ ValueReceived: string;
535
+ };
536
+ LSP1: {
537
+ /**
538
+ * event UniversalReceiver(
539
+ * address indexed from,
540
+ * uint256 indexed value,
541
+ * bytes32 indexed typeId,
542
+ * bytes receivedData,
543
+ * bytes returnedValue
544
+ * );
545
+ *
546
+ * signature = keccak256('UniversalReceiver(address,uint256,bytes32,bytes,bytes)')
547
+ */
548
+ UniversalReceiver: string;
549
+ };
550
+ LSP6: {
551
+ /**
552
+ * event Executed(
553
+ * bytes4 indexed selector,
554
+ * uint256 indexed value
555
+ * );
556
+ *
557
+ * signature = keccak256('Executed(bytes4,uint256)')
558
+ */
559
+ Executed: string;
560
+ };
561
+ LSP7: {
562
+ /**
563
+ * event Transfer(
564
+ * address indexed operator,
565
+ * address indexed from,
566
+ * address indexed to,
567
+ * uint256 amount,
568
+ * bool allowNonLSP1Recipient,
569
+ * bytes data
570
+ * );
571
+ *
572
+ * signature = keccak256('Transfer(address,address,address,uint256,bool,bytes)')
573
+ */
574
+ Transfer: string;
575
+ /**
576
+ * event AuthorizedOperator(
577
+ * address indexed operator,
578
+ * address indexed tokenOwner,
579
+ * uint256 indexed amount
580
+ * );
581
+ *
582
+ * signature = keccak256('AuthorizedOperator(address,address,uint256)')
583
+ */
584
+ AuthorizedOperator: string;
585
+ /**
586
+ * event RevokedOperator(
587
+ * address indexed operator,
588
+ * address indexed tokenOwner
589
+ * );
590
+ *
591
+ * signature = keccak256('RevokedOperator(address,address)')
592
+ */
593
+ RevokedOperator: string;
594
+ };
595
+ LSP8: {
596
+ /**
597
+ * event Transfer(
598
+ * address operator,
599
+ * address indexed from,
600
+ * address indexed to,
601
+ * bytes32 indexed tokenId,
602
+ * bool allowNonLSP1Recipient,
603
+ * bytes data
604
+ * );
605
+ *
606
+ * signature = keccak256('Transfer(address,address,address,bytes32,bool,bytes)')
607
+ */
608
+ Transfer: string;
609
+ /**
610
+ * event AuthorizedOperator(
611
+ * address indexed operator,
612
+ * address indexed tokenOwner,
613
+ * bytes32 indexed tokenId
614
+ * );
615
+ *
616
+ * signature = keccak256('AuthorizedOperator(address,address,bytes32)')
617
+ */
618
+ AuthorizedOperator: string;
619
+ /**
620
+ * event RevokedOperator(
621
+ * address indexed operator,
622
+ * address indexed tokenOwner,
623
+ * bytes32 indexed tokenId
624
+ * );
625
+ *
626
+ * signature = keccak256('RevokedOperator(address,address,bytes32)')
627
+ */
628
+ RevokedOperator: string;
629
+ };
630
+ LSP9: {
631
+ /**
632
+ * event ValueReceived(
633
+ * address indexed sender,
634
+ * uint256 indexed value
635
+ * );
636
+ *
637
+ * signature = keccak256('ValueReceived(address,uint256)')
638
+ */
639
+ ValueReceived: string;
640
+ };
641
+ LSP11: {
642
+ /**
643
+ * event GuardianAdded(address indexed newGuardian);
644
+ *
645
+ * signature = keccak256('GuardianAdded(address)')
646
+ */
647
+ GuardianAdded: string;
648
+ /**
649
+ * event GuardianRemoved(address indexed removedGuardian);
650
+ *
651
+ * signature = keccak256('GuardianRemoved(address)')
652
+ */
653
+ GuardianRemoved: string;
654
+ /**
655
+ * event GuardiansThresholdChanged(uint256 indexed guardianThreshold);
656
+ *
657
+ * signature = keccak256('GuardiansThresholdChanged(uint256)')
658
+ */
659
+ GuardiansThresholdChanged: string;
660
+ /**
661
+ * event SecretHashChanged(bytes32 indexed secretHash);
662
+ *
663
+ * signature = keccak256('SecretHashChanged(bytes32)')
664
+ */
665
+ SecretHashChanged: string;
666
+ /**
667
+ * event SelectedNewController(
668
+ * uint256 indexed recoveryCounter,
669
+ * address indexed guardian,
670
+ * address indexed addressSelected
671
+ * );
672
+ *
673
+ * signature = keccak256('SelectedNewController(uint256,address,address)')
674
+ */
675
+ SelectedNewController: string;
676
+ /**
677
+ * event RecoveryProcessSuccessful(
678
+ * uint256 indexed recoveryCounter,
679
+ * address indexed newController,
680
+ * bytes32 indexed newSecretHash,
681
+ * address[] guardians
682
+ * );
683
+ *
684
+ * signature = keccak256('RecoveryProcessSuccessful(uint256,address,bytes32,address[])')
685
+ */
686
+ RecoveryProcessSuccessful: string;
687
+ };
688
+ Helpers: {
689
+ /**
690
+ * event ReceivedERC777(
691
+ * address indexed token,
692
+ * address indexed _operator,
693
+ * address indexed _from,
694
+ * address _to,
695
+ * uint256 _amount
696
+ * );
697
+ *
698
+ * signature = keccak256('ReceivedERC777(address,address,address,address,uint256)')
699
+ */
700
+ ReceivedERC777: string;
701
+ };
702
+ LSP14Ownable2Step: {
703
+ /**
704
+ * event OwnershipTransferStarted(
705
+ * address indexed previousOwner,
706
+ * address indexed newOwner
707
+ * );
708
+ *
709
+ * signature = keccak256('OwnershipTransferStarted(address,address)')
710
+ */
711
+ OwnershipTransferStarted: string;
712
+ /**
713
+ * event RenounceOwnershipStarted();
714
+ *
715
+ * signature = keccak256('RenounceOwnershipStarted()')
716
+ */
717
+ RenounceOwnershipStarted: string;
718
+ /**
719
+ * event OwnershipRenounced();
720
+ *
721
+ * signature = keccak256('OwnershipRenounced()')
722
+ */
723
+ OwnershipRenounced: string;
724
+ };
725
+ LSP16UniversalFactory: {
726
+ /**
727
+ * event ContractCreated(
728
+ * address indexed contractCreated,
729
+ * bytes32 indexed providedSalt,
730
+ * bool indexed initializable,
731
+ * bytes initializeCalldata
732
+ * );
733
+ *
734
+ * signature = keccak256('ContractCreated(address,bytes32,bool,bytes)')
735
+ */
736
+ ContractCreated: string;
737
+ };
738
+ };