@lukso/lsp-smart-contracts 0.15.0 → 0.16.2

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