@lukso/lsp-smart-contracts 0.15.0 → 0.16.3

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 (90) hide show
  1. package/README.md +98 -3
  2. package/contracts/LSP11SocialRecovery/ILSP11SocialRecovery.sol +4 -0
  3. package/contracts/LSP11SocialRecovery/LSP11Constants.sol +4 -0
  4. package/contracts/LSP11SocialRecovery/LSP11Errors.sol +4 -0
  5. package/contracts/LSP11SocialRecovery/LSP11SocialRecovery.sol +4 -0
  6. package/contracts/LSP26FollowerSystem/ILSP26FollowerSystem.sol +4 -0
  7. package/contracts/LSP26FollowerSystem/LSP26Constants.sol +4 -0
  8. package/contracts/LSP26FollowerSystem/LSP26Errors.sol +4 -0
  9. package/contracts/LSP26FollowerSystem/LSP26FollowerSystem.sol +4 -0
  10. package/contracts/LSP4DigitalAssetMetadata/LSP4Utils.sol +1 -1
  11. package/contracts/LSP7DigitalAsset/{LSP7DigitalAssetCore.sol → extensions/LSP7Votes.sol} +1 -1
  12. package/contracts/LSP7DigitalAsset/extensions/LSP7VotesInitAbstract.sol +4 -0
  13. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Votes.sol +4 -0
  14. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8VotesInitAbstract.sol +4 -0
  15. package/dist/abi.cjs +13834 -0
  16. package/dist/abi.d.cts +19732 -0
  17. package/dist/abi.d.mts +19732 -0
  18. package/dist/abi.d.ts +19732 -0
  19. package/dist/abi.mjs +13799 -0
  20. package/dist/constants.cjs +20689 -10211
  21. package/dist/constants.d.cts +17476 -6994
  22. package/dist/constants.d.mts +17476 -6994
  23. package/dist/constants.d.ts +17476 -6994
  24. package/dist/constants.mjs +20691 -10213
  25. package/package.json +19 -17
  26. package/artifacts/LSP0ERC725Account.json +0 -676
  27. package/artifacts/LSP0ERC725AccountInit.json +0 -696
  28. package/artifacts/LSP11BasicSocialRecovery.json +0 -509
  29. package/artifacts/LSP11BasicSocialRecoveryInit.json +0 -529
  30. package/artifacts/LSP1UniversalReceiverDelegateUP.json +0 -88
  31. package/artifacts/LSP1UniversalReceiverDelegateVault.json +0 -88
  32. package/artifacts/LSP23LinkedContractsFactory.json +0 -544
  33. package/artifacts/LSP4DigitalAssetMetadata.json +0 -221
  34. package/artifacts/LSP4DigitalAssetMetadataInitAbstract.json +0 -234
  35. package/artifacts/LSP6KeyManager.json +0 -600
  36. package/artifacts/LSP6KeyManagerInit.json +0 -620
  37. package/artifacts/LSP7CappedSupply.json +0 -828
  38. package/artifacts/LSP7CappedSupplyInitAbstract.json +0 -841
  39. package/artifacts/LSP7DigitalAsset.json +0 -805
  40. package/artifacts/LSP7DigitalAssetInitAbstract.json +0 -818
  41. package/artifacts/LSP7Mintable.json +0 -864
  42. package/artifacts/LSP7MintableInit.json +0 -884
  43. package/artifacts/LSP8CappedSupply.json +0 -959
  44. package/artifacts/LSP8CappedSupplyInitAbstract.json +0 -972
  45. package/artifacts/LSP8IdentifiableDigitalAsset.json +0 -936
  46. package/artifacts/LSP8IdentifiableDigitalAssetInitAbstract.json +0 -949
  47. package/artifacts/LSP8Mintable.json +0 -1006
  48. package/artifacts/LSP8MintableInit.json +0 -1026
  49. package/artifacts/LSP9Vault.json +0 -631
  50. package/artifacts/LSP9VaultInit.json +0 -651
  51. package/artifacts/UniversalProfile.json +0 -676
  52. package/artifacts/UniversalProfileInit.json +0 -696
  53. package/contracts/LSP11BasicSocialRecovery/ILSP11BasicSocialRecovery.sol +0 -179
  54. package/contracts/LSP11BasicSocialRecovery/LSP11BasicSocialRecovery.sol +0 -25
  55. package/contracts/LSP11BasicSocialRecovery/LSP11BasicSocialRecoveryCore.sol +0 -340
  56. package/contracts/LSP11BasicSocialRecovery/LSP11BasicSocialRecoveryInit.sol +0 -30
  57. package/contracts/LSP11BasicSocialRecovery/LSP11BasicSocialRecoveryInitAbstract.sol +0 -29
  58. package/contracts/LSP11BasicSocialRecovery/LSP11Constants.sol +0 -6
  59. package/contracts/LSP11BasicSocialRecovery/LSP11Errors.sol +0 -63
  60. package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadataCore.sol +0 -4
  61. package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetCore.sol +0 -4
  62. package/types/@lukso/lsp0-contracts/contracts/LSP0ERC725Account.ts +0 -694
  63. package/types/@lukso/lsp0-contracts/contracts/LSP0ERC725AccountInit.ts +0 -740
  64. package/types/@lukso/lsp1delegate-contracts/contracts/LSP1UniversalReceiverDelegateUP.ts +0 -139
  65. package/types/@lukso/lsp1delegate-contracts/contracts/LSP1UniversalReceiverDelegateVault.ts +0 -139
  66. package/types/@lukso/lsp23-contracts/contracts/LSP23LinkedContractsFactory.ts +0 -448
  67. package/types/@lukso/lsp4-contracts/contracts/LSP4DigitalAssetMetadata.ts +0 -274
  68. package/types/@lukso/lsp4-contracts/contracts/LSP4DigitalAssetMetadataInitAbstract.ts +0 -309
  69. package/types/@lukso/lsp6-contracts/contracts/LSP6KeyManager.ts +0 -355
  70. package/types/@lukso/lsp6-contracts/contracts/LSP6KeyManagerInit.ts +0 -398
  71. package/types/@lukso/lsp7-contracts/contracts/LSP7DigitalAsset.ts +0 -698
  72. package/types/@lukso/lsp7-contracts/contracts/LSP7DigitalAssetInitAbstract.ts +0 -729
  73. package/types/@lukso/lsp7-contracts/contracts/extensions/LSP7CappedSupply.ts +0 -712
  74. package/types/@lukso/lsp7-contracts/contracts/extensions/LSP7CappedSupplyInitAbstract.ts +0 -743
  75. package/types/@lukso/lsp7-contracts/contracts/presets/LSP7Mintable.ts +0 -717
  76. package/types/@lukso/lsp7-contracts/contracts/presets/LSP7MintableInit.ts +0 -779
  77. package/types/@lukso/lsp8-contracts/contracts/LSP8IdentifiableDigitalAsset.ts +0 -778
  78. package/types/@lukso/lsp8-contracts/contracts/LSP8IdentifiableDigitalAssetInitAbstract.ts +0 -813
  79. package/types/@lukso/lsp8-contracts/contracts/extensions/LSP8CappedSupply.ts +0 -792
  80. package/types/@lukso/lsp8-contracts/contracts/extensions/LSP8CappedSupplyInitAbstract.ts +0 -824
  81. package/types/@lukso/lsp8-contracts/contracts/presets/LSP8Mintable.ts +0 -797
  82. package/types/@lukso/lsp8-contracts/contracts/presets/LSP8MintableInit.ts +0 -860
  83. package/types/@lukso/lsp9-contracts/contracts/LSP9Vault.ts +0 -672
  84. package/types/@lukso/lsp9-contracts/contracts/LSP9VaultInit.ts +0 -714
  85. package/types/@lukso/universalprofile-contracts/contracts/UniversalProfile.ts +0 -694
  86. package/types/@lukso/universalprofile-contracts/contracts/UniversalProfileInit.ts +0 -740
  87. package/types/common.ts +0 -131
  88. package/types/contracts/LSP11BasicSocialRecovery/LSP11BasicSocialRecovery.ts +0 -596
  89. package/types/contracts/LSP11BasicSocialRecovery/LSP11BasicSocialRecoveryInit.ts +0 -646
  90. package/types/index.ts +0 -18446
@@ -1,646 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- import type {
5
- BaseContract,
6
- BigNumberish,
7
- BytesLike,
8
- FunctionFragment,
9
- Result,
10
- Interface,
11
- EventFragment,
12
- AddressLike,
13
- ContractRunner,
14
- ContractMethod,
15
- Listener,
16
- } from "ethers";
17
- import type {
18
- TypedContractEvent,
19
- TypedDeferredTopicFilter,
20
- TypedEventLog,
21
- TypedLogDescription,
22
- TypedListener,
23
- TypedContractMethod,
24
- } from "../../common";
25
-
26
- export interface LSP11BasicSocialRecoveryInitInterface extends Interface {
27
- getFunction(
28
- nameOrSignature:
29
- | "addGuardian"
30
- | "getGuardianChoice"
31
- | "getGuardians"
32
- | "getGuardiansThreshold"
33
- | "getRecoveryCounter"
34
- | "getRecoverySecretHash"
35
- | "initialize"
36
- | "isGuardian"
37
- | "owner"
38
- | "recoverOwnership"
39
- | "removeGuardian"
40
- | "renounceOwnership"
41
- | "selectNewController"
42
- | "setGuardiansThreshold"
43
- | "setRecoverySecretHash"
44
- | "supportsInterface"
45
- | "target"
46
- | "transferOwnership"
47
- ): FunctionFragment;
48
-
49
- getEvent(
50
- nameOrSignatureOrTopic:
51
- | "GuardianAdded"
52
- | "GuardianRemoved"
53
- | "GuardiansThresholdChanged"
54
- | "Initialized"
55
- | "OwnershipTransferred"
56
- | "RecoveryProcessSuccessful"
57
- | "SecretHashChanged"
58
- | "SelectedNewController"
59
- ): EventFragment;
60
-
61
- encodeFunctionData(
62
- functionFragment: "addGuardian",
63
- values: [AddressLike]
64
- ): string;
65
- encodeFunctionData(
66
- functionFragment: "getGuardianChoice",
67
- values: [AddressLike]
68
- ): string;
69
- encodeFunctionData(
70
- functionFragment: "getGuardians",
71
- values?: undefined
72
- ): string;
73
- encodeFunctionData(
74
- functionFragment: "getGuardiansThreshold",
75
- values?: undefined
76
- ): string;
77
- encodeFunctionData(
78
- functionFragment: "getRecoveryCounter",
79
- values?: undefined
80
- ): string;
81
- encodeFunctionData(
82
- functionFragment: "getRecoverySecretHash",
83
- values?: undefined
84
- ): string;
85
- encodeFunctionData(
86
- functionFragment: "initialize",
87
- values: [AddressLike, AddressLike]
88
- ): string;
89
- encodeFunctionData(
90
- functionFragment: "isGuardian",
91
- values: [AddressLike]
92
- ): string;
93
- encodeFunctionData(functionFragment: "owner", values?: undefined): string;
94
- encodeFunctionData(
95
- functionFragment: "recoverOwnership",
96
- values: [AddressLike, string, BytesLike]
97
- ): string;
98
- encodeFunctionData(
99
- functionFragment: "removeGuardian",
100
- values: [AddressLike]
101
- ): string;
102
- encodeFunctionData(
103
- functionFragment: "renounceOwnership",
104
- values?: undefined
105
- ): string;
106
- encodeFunctionData(
107
- functionFragment: "selectNewController",
108
- values: [AddressLike]
109
- ): string;
110
- encodeFunctionData(
111
- functionFragment: "setGuardiansThreshold",
112
- values: [BigNumberish]
113
- ): string;
114
- encodeFunctionData(
115
- functionFragment: "setRecoverySecretHash",
116
- values: [BytesLike]
117
- ): string;
118
- encodeFunctionData(
119
- functionFragment: "supportsInterface",
120
- values: [BytesLike]
121
- ): string;
122
- encodeFunctionData(functionFragment: "target", values?: undefined): string;
123
- encodeFunctionData(
124
- functionFragment: "transferOwnership",
125
- values: [AddressLike]
126
- ): string;
127
-
128
- decodeFunctionResult(
129
- functionFragment: "addGuardian",
130
- data: BytesLike
131
- ): Result;
132
- decodeFunctionResult(
133
- functionFragment: "getGuardianChoice",
134
- data: BytesLike
135
- ): Result;
136
- decodeFunctionResult(
137
- functionFragment: "getGuardians",
138
- data: BytesLike
139
- ): Result;
140
- decodeFunctionResult(
141
- functionFragment: "getGuardiansThreshold",
142
- data: BytesLike
143
- ): Result;
144
- decodeFunctionResult(
145
- functionFragment: "getRecoveryCounter",
146
- data: BytesLike
147
- ): Result;
148
- decodeFunctionResult(
149
- functionFragment: "getRecoverySecretHash",
150
- data: BytesLike
151
- ): Result;
152
- decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
153
- decodeFunctionResult(functionFragment: "isGuardian", data: BytesLike): Result;
154
- decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
155
- decodeFunctionResult(
156
- functionFragment: "recoverOwnership",
157
- data: BytesLike
158
- ): Result;
159
- decodeFunctionResult(
160
- functionFragment: "removeGuardian",
161
- data: BytesLike
162
- ): Result;
163
- decodeFunctionResult(
164
- functionFragment: "renounceOwnership",
165
- data: BytesLike
166
- ): Result;
167
- decodeFunctionResult(
168
- functionFragment: "selectNewController",
169
- data: BytesLike
170
- ): Result;
171
- decodeFunctionResult(
172
- functionFragment: "setGuardiansThreshold",
173
- data: BytesLike
174
- ): Result;
175
- decodeFunctionResult(
176
- functionFragment: "setRecoverySecretHash",
177
- data: BytesLike
178
- ): Result;
179
- decodeFunctionResult(
180
- functionFragment: "supportsInterface",
181
- data: BytesLike
182
- ): Result;
183
- decodeFunctionResult(functionFragment: "target", data: BytesLike): Result;
184
- decodeFunctionResult(
185
- functionFragment: "transferOwnership",
186
- data: BytesLike
187
- ): Result;
188
- }
189
-
190
- export namespace GuardianAddedEvent {
191
- export type InputTuple = [newGuardian: AddressLike];
192
- export type OutputTuple = [newGuardian: string];
193
- export interface OutputObject {
194
- newGuardian: string;
195
- }
196
- export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
197
- export type Filter = TypedDeferredTopicFilter<Event>;
198
- export type Log = TypedEventLog<Event>;
199
- export type LogDescription = TypedLogDescription<Event>;
200
- }
201
-
202
- export namespace GuardianRemovedEvent {
203
- export type InputTuple = [removedGuardian: AddressLike];
204
- export type OutputTuple = [removedGuardian: string];
205
- export interface OutputObject {
206
- removedGuardian: string;
207
- }
208
- export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
209
- export type Filter = TypedDeferredTopicFilter<Event>;
210
- export type Log = TypedEventLog<Event>;
211
- export type LogDescription = TypedLogDescription<Event>;
212
- }
213
-
214
- export namespace GuardiansThresholdChangedEvent {
215
- export type InputTuple = [guardianThreshold: BigNumberish];
216
- export type OutputTuple = [guardianThreshold: bigint];
217
- export interface OutputObject {
218
- guardianThreshold: bigint;
219
- }
220
- export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
221
- export type Filter = TypedDeferredTopicFilter<Event>;
222
- export type Log = TypedEventLog<Event>;
223
- export type LogDescription = TypedLogDescription<Event>;
224
- }
225
-
226
- export namespace InitializedEvent {
227
- export type InputTuple = [version: BigNumberish];
228
- export type OutputTuple = [version: bigint];
229
- export interface OutputObject {
230
- version: bigint;
231
- }
232
- export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
233
- export type Filter = TypedDeferredTopicFilter<Event>;
234
- export type Log = TypedEventLog<Event>;
235
- export type LogDescription = TypedLogDescription<Event>;
236
- }
237
-
238
- export namespace OwnershipTransferredEvent {
239
- export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
240
- export type OutputTuple = [previousOwner: string, newOwner: string];
241
- export interface OutputObject {
242
- previousOwner: string;
243
- newOwner: string;
244
- }
245
- export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
246
- export type Filter = TypedDeferredTopicFilter<Event>;
247
- export type Log = TypedEventLog<Event>;
248
- export type LogDescription = TypedLogDescription<Event>;
249
- }
250
-
251
- export namespace RecoveryProcessSuccessfulEvent {
252
- export type InputTuple = [
253
- recoveryCounter: BigNumberish,
254
- newController: AddressLike,
255
- newSecretHash: BytesLike,
256
- guardians: AddressLike[]
257
- ];
258
- export type OutputTuple = [
259
- recoveryCounter: bigint,
260
- newController: string,
261
- newSecretHash: string,
262
- guardians: string[]
263
- ];
264
- export interface OutputObject {
265
- recoveryCounter: bigint;
266
- newController: string;
267
- newSecretHash: string;
268
- guardians: string[];
269
- }
270
- export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
271
- export type Filter = TypedDeferredTopicFilter<Event>;
272
- export type Log = TypedEventLog<Event>;
273
- export type LogDescription = TypedLogDescription<Event>;
274
- }
275
-
276
- export namespace SecretHashChangedEvent {
277
- export type InputTuple = [secretHash: BytesLike];
278
- export type OutputTuple = [secretHash: string];
279
- export interface OutputObject {
280
- secretHash: string;
281
- }
282
- export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
283
- export type Filter = TypedDeferredTopicFilter<Event>;
284
- export type Log = TypedEventLog<Event>;
285
- export type LogDescription = TypedLogDescription<Event>;
286
- }
287
-
288
- export namespace SelectedNewControllerEvent {
289
- export type InputTuple = [
290
- recoveryCounter: BigNumberish,
291
- guardian: AddressLike,
292
- addressSelected: AddressLike
293
- ];
294
- export type OutputTuple = [
295
- recoveryCounter: bigint,
296
- guardian: string,
297
- addressSelected: string
298
- ];
299
- export interface OutputObject {
300
- recoveryCounter: bigint;
301
- guardian: string;
302
- addressSelected: string;
303
- }
304
- export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
305
- export type Filter = TypedDeferredTopicFilter<Event>;
306
- export type Log = TypedEventLog<Event>;
307
- export type LogDescription = TypedLogDescription<Event>;
308
- }
309
-
310
- export interface LSP11BasicSocialRecoveryInit extends BaseContract {
311
- connect(runner?: ContractRunner | null): LSP11BasicSocialRecoveryInit;
312
- waitForDeployment(): Promise<this>;
313
-
314
- interface: LSP11BasicSocialRecoveryInitInterface;
315
-
316
- queryFilter<TCEvent extends TypedContractEvent>(
317
- event: TCEvent,
318
- fromBlockOrBlockhash?: string | number | undefined,
319
- toBlock?: string | number | undefined
320
- ): Promise<Array<TypedEventLog<TCEvent>>>;
321
- queryFilter<TCEvent extends TypedContractEvent>(
322
- filter: TypedDeferredTopicFilter<TCEvent>,
323
- fromBlockOrBlockhash?: string | number | undefined,
324
- toBlock?: string | number | undefined
325
- ): Promise<Array<TypedEventLog<TCEvent>>>;
326
-
327
- on<TCEvent extends TypedContractEvent>(
328
- event: TCEvent,
329
- listener: TypedListener<TCEvent>
330
- ): Promise<this>;
331
- on<TCEvent extends TypedContractEvent>(
332
- filter: TypedDeferredTopicFilter<TCEvent>,
333
- listener: TypedListener<TCEvent>
334
- ): Promise<this>;
335
-
336
- once<TCEvent extends TypedContractEvent>(
337
- event: TCEvent,
338
- listener: TypedListener<TCEvent>
339
- ): Promise<this>;
340
- once<TCEvent extends TypedContractEvent>(
341
- filter: TypedDeferredTopicFilter<TCEvent>,
342
- listener: TypedListener<TCEvent>
343
- ): Promise<this>;
344
-
345
- listeners<TCEvent extends TypedContractEvent>(
346
- event: TCEvent
347
- ): Promise<Array<TypedListener<TCEvent>>>;
348
- listeners(eventName?: string): Promise<Array<Listener>>;
349
- removeAllListeners<TCEvent extends TypedContractEvent>(
350
- event?: TCEvent
351
- ): Promise<this>;
352
-
353
- addGuardian: TypedContractMethod<
354
- [newGuardian: AddressLike],
355
- [void],
356
- "nonpayable"
357
- >;
358
-
359
- getGuardianChoice: TypedContractMethod<
360
- [guardian: AddressLike],
361
- [string],
362
- "view"
363
- >;
364
-
365
- getGuardians: TypedContractMethod<[], [string[]], "view">;
366
-
367
- getGuardiansThreshold: TypedContractMethod<[], [bigint], "view">;
368
-
369
- getRecoveryCounter: TypedContractMethod<[], [bigint], "view">;
370
-
371
- getRecoverySecretHash: TypedContractMethod<[], [string], "view">;
372
-
373
- initialize: TypedContractMethod<
374
- [target_: AddressLike, _owner: AddressLike],
375
- [void],
376
- "nonpayable"
377
- >;
378
-
379
- isGuardian: TypedContractMethod<[_address: AddressLike], [boolean], "view">;
380
-
381
- owner: TypedContractMethod<[], [string], "view">;
382
-
383
- recoverOwnership: TypedContractMethod<
384
- [recoverer: AddressLike, plainSecret: string, newSecretHash: BytesLike],
385
- [void],
386
- "nonpayable"
387
- >;
388
-
389
- removeGuardian: TypedContractMethod<
390
- [existingGuardian: AddressLike],
391
- [void],
392
- "nonpayable"
393
- >;
394
-
395
- renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;
396
-
397
- selectNewController: TypedContractMethod<
398
- [addressSelected: AddressLike],
399
- [void],
400
- "nonpayable"
401
- >;
402
-
403
- setGuardiansThreshold: TypedContractMethod<
404
- [newThreshold: BigNumberish],
405
- [void],
406
- "nonpayable"
407
- >;
408
-
409
- setRecoverySecretHash: TypedContractMethod<
410
- [newRecoverSecretHash: BytesLike],
411
- [void],
412
- "nonpayable"
413
- >;
414
-
415
- supportsInterface: TypedContractMethod<
416
- [_interfaceId: BytesLike],
417
- [boolean],
418
- "view"
419
- >;
420
-
421
- target: TypedContractMethod<[], [string], "view">;
422
-
423
- transferOwnership: TypedContractMethod<
424
- [newOwner: AddressLike],
425
- [void],
426
- "nonpayable"
427
- >;
428
-
429
- getFunction<T extends ContractMethod = ContractMethod>(
430
- key: string | FunctionFragment
431
- ): T;
432
-
433
- getFunction(
434
- nameOrSignature: "addGuardian"
435
- ): TypedContractMethod<[newGuardian: AddressLike], [void], "nonpayable">;
436
- getFunction(
437
- nameOrSignature: "getGuardianChoice"
438
- ): TypedContractMethod<[guardian: AddressLike], [string], "view">;
439
- getFunction(
440
- nameOrSignature: "getGuardians"
441
- ): TypedContractMethod<[], [string[]], "view">;
442
- getFunction(
443
- nameOrSignature: "getGuardiansThreshold"
444
- ): TypedContractMethod<[], [bigint], "view">;
445
- getFunction(
446
- nameOrSignature: "getRecoveryCounter"
447
- ): TypedContractMethod<[], [bigint], "view">;
448
- getFunction(
449
- nameOrSignature: "getRecoverySecretHash"
450
- ): TypedContractMethod<[], [string], "view">;
451
- getFunction(
452
- nameOrSignature: "initialize"
453
- ): TypedContractMethod<
454
- [target_: AddressLike, _owner: AddressLike],
455
- [void],
456
- "nonpayable"
457
- >;
458
- getFunction(
459
- nameOrSignature: "isGuardian"
460
- ): TypedContractMethod<[_address: AddressLike], [boolean], "view">;
461
- getFunction(
462
- nameOrSignature: "owner"
463
- ): TypedContractMethod<[], [string], "view">;
464
- getFunction(
465
- nameOrSignature: "recoverOwnership"
466
- ): TypedContractMethod<
467
- [recoverer: AddressLike, plainSecret: string, newSecretHash: BytesLike],
468
- [void],
469
- "nonpayable"
470
- >;
471
- getFunction(
472
- nameOrSignature: "removeGuardian"
473
- ): TypedContractMethod<[existingGuardian: AddressLike], [void], "nonpayable">;
474
- getFunction(
475
- nameOrSignature: "renounceOwnership"
476
- ): TypedContractMethod<[], [void], "nonpayable">;
477
- getFunction(
478
- nameOrSignature: "selectNewController"
479
- ): TypedContractMethod<[addressSelected: AddressLike], [void], "nonpayable">;
480
- getFunction(
481
- nameOrSignature: "setGuardiansThreshold"
482
- ): TypedContractMethod<[newThreshold: BigNumberish], [void], "nonpayable">;
483
- getFunction(
484
- nameOrSignature: "setRecoverySecretHash"
485
- ): TypedContractMethod<
486
- [newRecoverSecretHash: BytesLike],
487
- [void],
488
- "nonpayable"
489
- >;
490
- getFunction(
491
- nameOrSignature: "supportsInterface"
492
- ): TypedContractMethod<[_interfaceId: BytesLike], [boolean], "view">;
493
- getFunction(
494
- nameOrSignature: "target"
495
- ): TypedContractMethod<[], [string], "view">;
496
- getFunction(
497
- nameOrSignature: "transferOwnership"
498
- ): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
499
-
500
- getEvent(
501
- key: "GuardianAdded"
502
- ): TypedContractEvent<
503
- GuardianAddedEvent.InputTuple,
504
- GuardianAddedEvent.OutputTuple,
505
- GuardianAddedEvent.OutputObject
506
- >;
507
- getEvent(
508
- key: "GuardianRemoved"
509
- ): TypedContractEvent<
510
- GuardianRemovedEvent.InputTuple,
511
- GuardianRemovedEvent.OutputTuple,
512
- GuardianRemovedEvent.OutputObject
513
- >;
514
- getEvent(
515
- key: "GuardiansThresholdChanged"
516
- ): TypedContractEvent<
517
- GuardiansThresholdChangedEvent.InputTuple,
518
- GuardiansThresholdChangedEvent.OutputTuple,
519
- GuardiansThresholdChangedEvent.OutputObject
520
- >;
521
- getEvent(
522
- key: "Initialized"
523
- ): TypedContractEvent<
524
- InitializedEvent.InputTuple,
525
- InitializedEvent.OutputTuple,
526
- InitializedEvent.OutputObject
527
- >;
528
- getEvent(
529
- key: "OwnershipTransferred"
530
- ): TypedContractEvent<
531
- OwnershipTransferredEvent.InputTuple,
532
- OwnershipTransferredEvent.OutputTuple,
533
- OwnershipTransferredEvent.OutputObject
534
- >;
535
- getEvent(
536
- key: "RecoveryProcessSuccessful"
537
- ): TypedContractEvent<
538
- RecoveryProcessSuccessfulEvent.InputTuple,
539
- RecoveryProcessSuccessfulEvent.OutputTuple,
540
- RecoveryProcessSuccessfulEvent.OutputObject
541
- >;
542
- getEvent(
543
- key: "SecretHashChanged"
544
- ): TypedContractEvent<
545
- SecretHashChangedEvent.InputTuple,
546
- SecretHashChangedEvent.OutputTuple,
547
- SecretHashChangedEvent.OutputObject
548
- >;
549
- getEvent(
550
- key: "SelectedNewController"
551
- ): TypedContractEvent<
552
- SelectedNewControllerEvent.InputTuple,
553
- SelectedNewControllerEvent.OutputTuple,
554
- SelectedNewControllerEvent.OutputObject
555
- >;
556
-
557
- filters: {
558
- "GuardianAdded(address)": TypedContractEvent<
559
- GuardianAddedEvent.InputTuple,
560
- GuardianAddedEvent.OutputTuple,
561
- GuardianAddedEvent.OutputObject
562
- >;
563
- GuardianAdded: TypedContractEvent<
564
- GuardianAddedEvent.InputTuple,
565
- GuardianAddedEvent.OutputTuple,
566
- GuardianAddedEvent.OutputObject
567
- >;
568
-
569
- "GuardianRemoved(address)": TypedContractEvent<
570
- GuardianRemovedEvent.InputTuple,
571
- GuardianRemovedEvent.OutputTuple,
572
- GuardianRemovedEvent.OutputObject
573
- >;
574
- GuardianRemoved: TypedContractEvent<
575
- GuardianRemovedEvent.InputTuple,
576
- GuardianRemovedEvent.OutputTuple,
577
- GuardianRemovedEvent.OutputObject
578
- >;
579
-
580
- "GuardiansThresholdChanged(uint256)": TypedContractEvent<
581
- GuardiansThresholdChangedEvent.InputTuple,
582
- GuardiansThresholdChangedEvent.OutputTuple,
583
- GuardiansThresholdChangedEvent.OutputObject
584
- >;
585
- GuardiansThresholdChanged: TypedContractEvent<
586
- GuardiansThresholdChangedEvent.InputTuple,
587
- GuardiansThresholdChangedEvent.OutputTuple,
588
- GuardiansThresholdChangedEvent.OutputObject
589
- >;
590
-
591
- "Initialized(uint8)": TypedContractEvent<
592
- InitializedEvent.InputTuple,
593
- InitializedEvent.OutputTuple,
594
- InitializedEvent.OutputObject
595
- >;
596
- Initialized: TypedContractEvent<
597
- InitializedEvent.InputTuple,
598
- InitializedEvent.OutputTuple,
599
- InitializedEvent.OutputObject
600
- >;
601
-
602
- "OwnershipTransferred(address,address)": TypedContractEvent<
603
- OwnershipTransferredEvent.InputTuple,
604
- OwnershipTransferredEvent.OutputTuple,
605
- OwnershipTransferredEvent.OutputObject
606
- >;
607
- OwnershipTransferred: TypedContractEvent<
608
- OwnershipTransferredEvent.InputTuple,
609
- OwnershipTransferredEvent.OutputTuple,
610
- OwnershipTransferredEvent.OutputObject
611
- >;
612
-
613
- "RecoveryProcessSuccessful(uint256,address,bytes32,address[])": TypedContractEvent<
614
- RecoveryProcessSuccessfulEvent.InputTuple,
615
- RecoveryProcessSuccessfulEvent.OutputTuple,
616
- RecoveryProcessSuccessfulEvent.OutputObject
617
- >;
618
- RecoveryProcessSuccessful: TypedContractEvent<
619
- RecoveryProcessSuccessfulEvent.InputTuple,
620
- RecoveryProcessSuccessfulEvent.OutputTuple,
621
- RecoveryProcessSuccessfulEvent.OutputObject
622
- >;
623
-
624
- "SecretHashChanged(bytes32)": TypedContractEvent<
625
- SecretHashChangedEvent.InputTuple,
626
- SecretHashChangedEvent.OutputTuple,
627
- SecretHashChangedEvent.OutputObject
628
- >;
629
- SecretHashChanged: TypedContractEvent<
630
- SecretHashChangedEvent.InputTuple,
631
- SecretHashChangedEvent.OutputTuple,
632
- SecretHashChangedEvent.OutputObject
633
- >;
634
-
635
- "SelectedNewController(uint256,address,address)": TypedContractEvent<
636
- SelectedNewControllerEvent.InputTuple,
637
- SelectedNewControllerEvent.OutputTuple,
638
- SelectedNewControllerEvent.OutputObject
639
- >;
640
- SelectedNewController: TypedContractEvent<
641
- SelectedNewControllerEvent.InputTuple,
642
- SelectedNewControllerEvent.OutputTuple,
643
- SelectedNewControllerEvent.OutputObject
644
- >;
645
- };
646
- }