@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,714 +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 LSP9VaultInitInterface 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
- | "initialize"
39
- | "owner"
40
- | "pendingOwner"
41
- | "renounceOwnership"
42
- | "setData"
43
- | "setDataBatch"
44
- | "supportsInterface"
45
- | "transferOwnership"
46
- | "universalReceiver"
47
- ): FunctionFragment;
48
-
49
- getEvent(
50
- nameOrSignatureOrTopic:
51
- | "ContractCreated"
52
- | "DataChanged"
53
- | "Executed"
54
- | "Initialized"
55
- | "OwnershipRenounced"
56
- | "OwnershipTransferStarted"
57
- | "OwnershipTransferred"
58
- | "RenounceOwnershipStarted"
59
- | "UniversalReceiver"
60
- ): EventFragment;
61
-
62
- encodeFunctionData(
63
- functionFragment: "RENOUNCE_OWNERSHIP_CONFIRMATION_DELAY",
64
- values?: undefined
65
- ): string;
66
- encodeFunctionData(
67
- functionFragment: "RENOUNCE_OWNERSHIP_CONFIRMATION_PERIOD",
68
- values?: undefined
69
- ): string;
70
- encodeFunctionData(functionFragment: "VERSION", values?: undefined): string;
71
- encodeFunctionData(
72
- functionFragment: "acceptOwnership",
73
- values?: undefined
74
- ): string;
75
- encodeFunctionData(
76
- functionFragment: "batchCalls",
77
- values: [BytesLike[]]
78
- ): string;
79
- encodeFunctionData(
80
- functionFragment: "execute",
81
- values: [BigNumberish, AddressLike, BigNumberish, BytesLike]
82
- ): string;
83
- encodeFunctionData(
84
- functionFragment: "executeBatch",
85
- values: [BigNumberish[], AddressLike[], BigNumberish[], BytesLike[]]
86
- ): string;
87
- encodeFunctionData(functionFragment: "getData", values: [BytesLike]): string;
88
- encodeFunctionData(
89
- functionFragment: "getDataBatch",
90
- values: [BytesLike[]]
91
- ): string;
92
- encodeFunctionData(
93
- functionFragment: "initialize",
94
- values: [AddressLike]
95
- ): string;
96
- encodeFunctionData(functionFragment: "owner", values?: undefined): string;
97
- encodeFunctionData(
98
- functionFragment: "pendingOwner",
99
- values?: undefined
100
- ): string;
101
- encodeFunctionData(
102
- functionFragment: "renounceOwnership",
103
- values?: undefined
104
- ): string;
105
- encodeFunctionData(
106
- functionFragment: "setData",
107
- values: [BytesLike, BytesLike]
108
- ): string;
109
- encodeFunctionData(
110
- functionFragment: "setDataBatch",
111
- values: [BytesLike[], BytesLike[]]
112
- ): string;
113
- encodeFunctionData(
114
- functionFragment: "supportsInterface",
115
- values: [BytesLike]
116
- ): string;
117
- encodeFunctionData(
118
- functionFragment: "transferOwnership",
119
- values: [AddressLike]
120
- ): string;
121
- encodeFunctionData(
122
- functionFragment: "universalReceiver",
123
- values: [BytesLike, BytesLike]
124
- ): string;
125
-
126
- decodeFunctionResult(
127
- functionFragment: "RENOUNCE_OWNERSHIP_CONFIRMATION_DELAY",
128
- data: BytesLike
129
- ): Result;
130
- decodeFunctionResult(
131
- functionFragment: "RENOUNCE_OWNERSHIP_CONFIRMATION_PERIOD",
132
- data: BytesLike
133
- ): Result;
134
- decodeFunctionResult(functionFragment: "VERSION", data: BytesLike): Result;
135
- decodeFunctionResult(
136
- functionFragment: "acceptOwnership",
137
- data: BytesLike
138
- ): Result;
139
- decodeFunctionResult(functionFragment: "batchCalls", data: BytesLike): Result;
140
- decodeFunctionResult(functionFragment: "execute", data: BytesLike): Result;
141
- decodeFunctionResult(
142
- functionFragment: "executeBatch",
143
- data: BytesLike
144
- ): Result;
145
- decodeFunctionResult(functionFragment: "getData", data: BytesLike): Result;
146
- decodeFunctionResult(
147
- functionFragment: "getDataBatch",
148
- data: BytesLike
149
- ): Result;
150
- decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
151
- decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
152
- decodeFunctionResult(
153
- functionFragment: "pendingOwner",
154
- data: BytesLike
155
- ): Result;
156
- decodeFunctionResult(
157
- functionFragment: "renounceOwnership",
158
- data: BytesLike
159
- ): Result;
160
- decodeFunctionResult(functionFragment: "setData", data: BytesLike): Result;
161
- decodeFunctionResult(
162
- functionFragment: "setDataBatch",
163
- data: BytesLike
164
- ): Result;
165
- decodeFunctionResult(
166
- functionFragment: "supportsInterface",
167
- data: BytesLike
168
- ): Result;
169
- decodeFunctionResult(
170
- functionFragment: "transferOwnership",
171
- data: BytesLike
172
- ): Result;
173
- decodeFunctionResult(
174
- functionFragment: "universalReceiver",
175
- data: BytesLike
176
- ): Result;
177
- }
178
-
179
- export namespace ContractCreatedEvent {
180
- export type InputTuple = [
181
- operationType: BigNumberish,
182
- contractAddress: AddressLike,
183
- value: BigNumberish,
184
- salt: BytesLike
185
- ];
186
- export type OutputTuple = [
187
- operationType: bigint,
188
- contractAddress: string,
189
- value: bigint,
190
- salt: string
191
- ];
192
- export interface OutputObject {
193
- operationType: bigint;
194
- contractAddress: string;
195
- value: bigint;
196
- salt: string;
197
- }
198
- export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
199
- export type Filter = TypedDeferredTopicFilter<Event>;
200
- export type Log = TypedEventLog<Event>;
201
- export type LogDescription = TypedLogDescription<Event>;
202
- }
203
-
204
- export namespace DataChangedEvent {
205
- export type InputTuple = [dataKey: BytesLike, dataValue: BytesLike];
206
- export type OutputTuple = [dataKey: string, dataValue: string];
207
- export interface OutputObject {
208
- dataKey: string;
209
- dataValue: string;
210
- }
211
- export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
212
- export type Filter = TypedDeferredTopicFilter<Event>;
213
- export type Log = TypedEventLog<Event>;
214
- export type LogDescription = TypedLogDescription<Event>;
215
- }
216
-
217
- export namespace ExecutedEvent {
218
- export type InputTuple = [
219
- operationType: BigNumberish,
220
- target: AddressLike,
221
- value: BigNumberish,
222
- selector: BytesLike
223
- ];
224
- export type OutputTuple = [
225
- operationType: bigint,
226
- target: string,
227
- value: bigint,
228
- selector: string
229
- ];
230
- export interface OutputObject {
231
- operationType: bigint;
232
- target: string;
233
- value: bigint;
234
- selector: string;
235
- }
236
- export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
237
- export type Filter = TypedDeferredTopicFilter<Event>;
238
- export type Log = TypedEventLog<Event>;
239
- export type LogDescription = TypedLogDescription<Event>;
240
- }
241
-
242
- export namespace InitializedEvent {
243
- export type InputTuple = [version: BigNumberish];
244
- export type OutputTuple = [version: bigint];
245
- export interface OutputObject {
246
- version: bigint;
247
- }
248
- export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
249
- export type Filter = TypedDeferredTopicFilter<Event>;
250
- export type Log = TypedEventLog<Event>;
251
- export type LogDescription = TypedLogDescription<Event>;
252
- }
253
-
254
- export namespace OwnershipRenouncedEvent {
255
- export type InputTuple = [];
256
- export type OutputTuple = [];
257
- export interface OutputObject {}
258
- export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
259
- export type Filter = TypedDeferredTopicFilter<Event>;
260
- export type Log = TypedEventLog<Event>;
261
- export type LogDescription = TypedLogDescription<Event>;
262
- }
263
-
264
- export namespace OwnershipTransferStartedEvent {
265
- export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
266
- export type OutputTuple = [previousOwner: string, newOwner: string];
267
- export interface OutputObject {
268
- previousOwner: string;
269
- newOwner: string;
270
- }
271
- export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
272
- export type Filter = TypedDeferredTopicFilter<Event>;
273
- export type Log = TypedEventLog<Event>;
274
- export type LogDescription = TypedLogDescription<Event>;
275
- }
276
-
277
- export namespace OwnershipTransferredEvent {
278
- export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
279
- export type OutputTuple = [previousOwner: string, newOwner: string];
280
- export interface OutputObject {
281
- previousOwner: string;
282
- newOwner: string;
283
- }
284
- export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
285
- export type Filter = TypedDeferredTopicFilter<Event>;
286
- export type Log = TypedEventLog<Event>;
287
- export type LogDescription = TypedLogDescription<Event>;
288
- }
289
-
290
- export namespace RenounceOwnershipStartedEvent {
291
- export type InputTuple = [];
292
- export type OutputTuple = [];
293
- export interface OutputObject {}
294
- export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
295
- export type Filter = TypedDeferredTopicFilter<Event>;
296
- export type Log = TypedEventLog<Event>;
297
- export type LogDescription = TypedLogDescription<Event>;
298
- }
299
-
300
- export namespace UniversalReceiverEvent {
301
- export type InputTuple = [
302
- from: AddressLike,
303
- value: BigNumberish,
304
- typeId: BytesLike,
305
- receivedData: BytesLike,
306
- returnedValue: BytesLike
307
- ];
308
- export type OutputTuple = [
309
- from: string,
310
- value: bigint,
311
- typeId: string,
312
- receivedData: string,
313
- returnedValue: string
314
- ];
315
- export interface OutputObject {
316
- from: string;
317
- value: bigint;
318
- typeId: string;
319
- receivedData: string;
320
- returnedValue: string;
321
- }
322
- export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
323
- export type Filter = TypedDeferredTopicFilter<Event>;
324
- export type Log = TypedEventLog<Event>;
325
- export type LogDescription = TypedLogDescription<Event>;
326
- }
327
-
328
- export interface LSP9VaultInit extends BaseContract {
329
- connect(runner?: ContractRunner | null): LSP9VaultInit;
330
- waitForDeployment(): Promise<this>;
331
-
332
- interface: LSP9VaultInitInterface;
333
-
334
- queryFilter<TCEvent extends TypedContractEvent>(
335
- event: TCEvent,
336
- fromBlockOrBlockhash?: string | number | undefined,
337
- toBlock?: string | number | undefined
338
- ): Promise<Array<TypedEventLog<TCEvent>>>;
339
- queryFilter<TCEvent extends TypedContractEvent>(
340
- filter: TypedDeferredTopicFilter<TCEvent>,
341
- fromBlockOrBlockhash?: string | number | undefined,
342
- toBlock?: string | number | undefined
343
- ): Promise<Array<TypedEventLog<TCEvent>>>;
344
-
345
- on<TCEvent extends TypedContractEvent>(
346
- event: TCEvent,
347
- listener: TypedListener<TCEvent>
348
- ): Promise<this>;
349
- on<TCEvent extends TypedContractEvent>(
350
- filter: TypedDeferredTopicFilter<TCEvent>,
351
- listener: TypedListener<TCEvent>
352
- ): Promise<this>;
353
-
354
- once<TCEvent extends TypedContractEvent>(
355
- event: TCEvent,
356
- listener: TypedListener<TCEvent>
357
- ): Promise<this>;
358
- once<TCEvent extends TypedContractEvent>(
359
- filter: TypedDeferredTopicFilter<TCEvent>,
360
- listener: TypedListener<TCEvent>
361
- ): Promise<this>;
362
-
363
- listeners<TCEvent extends TypedContractEvent>(
364
- event: TCEvent
365
- ): Promise<Array<TypedListener<TCEvent>>>;
366
- listeners(eventName?: string): Promise<Array<Listener>>;
367
- removeAllListeners<TCEvent extends TypedContractEvent>(
368
- event?: TCEvent
369
- ): Promise<this>;
370
-
371
- RENOUNCE_OWNERSHIP_CONFIRMATION_DELAY: TypedContractMethod<
372
- [],
373
- [bigint],
374
- "view"
375
- >;
376
-
377
- RENOUNCE_OWNERSHIP_CONFIRMATION_PERIOD: TypedContractMethod<
378
- [],
379
- [bigint],
380
- "view"
381
- >;
382
-
383
- VERSION: TypedContractMethod<[], [string], "view">;
384
-
385
- acceptOwnership: TypedContractMethod<[], [void], "nonpayable">;
386
-
387
- batchCalls: TypedContractMethod<
388
- [data: BytesLike[]],
389
- [string[]],
390
- "nonpayable"
391
- >;
392
-
393
- execute: TypedContractMethod<
394
- [
395
- operationType: BigNumberish,
396
- target: AddressLike,
397
- value: BigNumberish,
398
- data: BytesLike
399
- ],
400
- [string],
401
- "payable"
402
- >;
403
-
404
- executeBatch: TypedContractMethod<
405
- [
406
- operationsType: BigNumberish[],
407
- targets: AddressLike[],
408
- values: BigNumberish[],
409
- datas: BytesLike[]
410
- ],
411
- [string[]],
412
- "payable"
413
- >;
414
-
415
- getData: TypedContractMethod<[dataKey: BytesLike], [string], "view">;
416
-
417
- getDataBatch: TypedContractMethod<
418
- [dataKeys: BytesLike[]],
419
- [string[]],
420
- "view"
421
- >;
422
-
423
- initialize: TypedContractMethod<[newOwner: AddressLike], [void], "payable">;
424
-
425
- owner: TypedContractMethod<[], [string], "view">;
426
-
427
- pendingOwner: TypedContractMethod<[], [string], "view">;
428
-
429
- renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;
430
-
431
- setData: TypedContractMethod<
432
- [dataKey: BytesLike, dataValue: BytesLike],
433
- [void],
434
- "payable"
435
- >;
436
-
437
- setDataBatch: TypedContractMethod<
438
- [dataKeys: BytesLike[], dataValues: BytesLike[]],
439
- [void],
440
- "payable"
441
- >;
442
-
443
- supportsInterface: TypedContractMethod<
444
- [interfaceId: BytesLike],
445
- [boolean],
446
- "view"
447
- >;
448
-
449
- transferOwnership: TypedContractMethod<
450
- [newOwner: AddressLike],
451
- [void],
452
- "nonpayable"
453
- >;
454
-
455
- universalReceiver: TypedContractMethod<
456
- [typeId: BytesLike, receivedData: BytesLike],
457
- [string],
458
- "payable"
459
- >;
460
-
461
- getFunction<T extends ContractMethod = ContractMethod>(
462
- key: string | FunctionFragment
463
- ): T;
464
-
465
- getFunction(
466
- nameOrSignature: "RENOUNCE_OWNERSHIP_CONFIRMATION_DELAY"
467
- ): TypedContractMethod<[], [bigint], "view">;
468
- getFunction(
469
- nameOrSignature: "RENOUNCE_OWNERSHIP_CONFIRMATION_PERIOD"
470
- ): TypedContractMethod<[], [bigint], "view">;
471
- getFunction(
472
- nameOrSignature: "VERSION"
473
- ): TypedContractMethod<[], [string], "view">;
474
- getFunction(
475
- nameOrSignature: "acceptOwnership"
476
- ): TypedContractMethod<[], [void], "nonpayable">;
477
- getFunction(
478
- nameOrSignature: "batchCalls"
479
- ): TypedContractMethod<[data: BytesLike[]], [string[]], "nonpayable">;
480
- getFunction(
481
- nameOrSignature: "execute"
482
- ): TypedContractMethod<
483
- [
484
- operationType: BigNumberish,
485
- target: AddressLike,
486
- value: BigNumberish,
487
- data: BytesLike
488
- ],
489
- [string],
490
- "payable"
491
- >;
492
- getFunction(
493
- nameOrSignature: "executeBatch"
494
- ): TypedContractMethod<
495
- [
496
- operationsType: BigNumberish[],
497
- targets: AddressLike[],
498
- values: BigNumberish[],
499
- datas: BytesLike[]
500
- ],
501
- [string[]],
502
- "payable"
503
- >;
504
- getFunction(
505
- nameOrSignature: "getData"
506
- ): TypedContractMethod<[dataKey: BytesLike], [string], "view">;
507
- getFunction(
508
- nameOrSignature: "getDataBatch"
509
- ): TypedContractMethod<[dataKeys: BytesLike[]], [string[]], "view">;
510
- getFunction(
511
- nameOrSignature: "initialize"
512
- ): TypedContractMethod<[newOwner: AddressLike], [void], "payable">;
513
- getFunction(
514
- nameOrSignature: "owner"
515
- ): TypedContractMethod<[], [string], "view">;
516
- getFunction(
517
- nameOrSignature: "pendingOwner"
518
- ): TypedContractMethod<[], [string], "view">;
519
- getFunction(
520
- nameOrSignature: "renounceOwnership"
521
- ): TypedContractMethod<[], [void], "nonpayable">;
522
- getFunction(
523
- nameOrSignature: "setData"
524
- ): TypedContractMethod<
525
- [dataKey: BytesLike, dataValue: BytesLike],
526
- [void],
527
- "payable"
528
- >;
529
- getFunction(
530
- nameOrSignature: "setDataBatch"
531
- ): TypedContractMethod<
532
- [dataKeys: BytesLike[], dataValues: BytesLike[]],
533
- [void],
534
- "payable"
535
- >;
536
- getFunction(
537
- nameOrSignature: "supportsInterface"
538
- ): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
539
- getFunction(
540
- nameOrSignature: "transferOwnership"
541
- ): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
542
- getFunction(
543
- nameOrSignature: "universalReceiver"
544
- ): TypedContractMethod<
545
- [typeId: BytesLike, receivedData: BytesLike],
546
- [string],
547
- "payable"
548
- >;
549
-
550
- getEvent(
551
- key: "ContractCreated"
552
- ): TypedContractEvent<
553
- ContractCreatedEvent.InputTuple,
554
- ContractCreatedEvent.OutputTuple,
555
- ContractCreatedEvent.OutputObject
556
- >;
557
- getEvent(
558
- key: "DataChanged"
559
- ): TypedContractEvent<
560
- DataChangedEvent.InputTuple,
561
- DataChangedEvent.OutputTuple,
562
- DataChangedEvent.OutputObject
563
- >;
564
- getEvent(
565
- key: "Executed"
566
- ): TypedContractEvent<
567
- ExecutedEvent.InputTuple,
568
- ExecutedEvent.OutputTuple,
569
- ExecutedEvent.OutputObject
570
- >;
571
- getEvent(
572
- key: "Initialized"
573
- ): TypedContractEvent<
574
- InitializedEvent.InputTuple,
575
- InitializedEvent.OutputTuple,
576
- InitializedEvent.OutputObject
577
- >;
578
- getEvent(
579
- key: "OwnershipRenounced"
580
- ): TypedContractEvent<
581
- OwnershipRenouncedEvent.InputTuple,
582
- OwnershipRenouncedEvent.OutputTuple,
583
- OwnershipRenouncedEvent.OutputObject
584
- >;
585
- getEvent(
586
- key: "OwnershipTransferStarted"
587
- ): TypedContractEvent<
588
- OwnershipTransferStartedEvent.InputTuple,
589
- OwnershipTransferStartedEvent.OutputTuple,
590
- OwnershipTransferStartedEvent.OutputObject
591
- >;
592
- getEvent(
593
- key: "OwnershipTransferred"
594
- ): TypedContractEvent<
595
- OwnershipTransferredEvent.InputTuple,
596
- OwnershipTransferredEvent.OutputTuple,
597
- OwnershipTransferredEvent.OutputObject
598
- >;
599
- getEvent(
600
- key: "RenounceOwnershipStarted"
601
- ): TypedContractEvent<
602
- RenounceOwnershipStartedEvent.InputTuple,
603
- RenounceOwnershipStartedEvent.OutputTuple,
604
- RenounceOwnershipStartedEvent.OutputObject
605
- >;
606
- getEvent(
607
- key: "UniversalReceiver"
608
- ): TypedContractEvent<
609
- UniversalReceiverEvent.InputTuple,
610
- UniversalReceiverEvent.OutputTuple,
611
- UniversalReceiverEvent.OutputObject
612
- >;
613
-
614
- filters: {
615
- "ContractCreated(uint256,address,uint256,bytes32)": TypedContractEvent<
616
- ContractCreatedEvent.InputTuple,
617
- ContractCreatedEvent.OutputTuple,
618
- ContractCreatedEvent.OutputObject
619
- >;
620
- ContractCreated: TypedContractEvent<
621
- ContractCreatedEvent.InputTuple,
622
- ContractCreatedEvent.OutputTuple,
623
- ContractCreatedEvent.OutputObject
624
- >;
625
-
626
- "DataChanged(bytes32,bytes)": TypedContractEvent<
627
- DataChangedEvent.InputTuple,
628
- DataChangedEvent.OutputTuple,
629
- DataChangedEvent.OutputObject
630
- >;
631
- DataChanged: TypedContractEvent<
632
- DataChangedEvent.InputTuple,
633
- DataChangedEvent.OutputTuple,
634
- DataChangedEvent.OutputObject
635
- >;
636
-
637
- "Executed(uint256,address,uint256,bytes4)": TypedContractEvent<
638
- ExecutedEvent.InputTuple,
639
- ExecutedEvent.OutputTuple,
640
- ExecutedEvent.OutputObject
641
- >;
642
- Executed: TypedContractEvent<
643
- ExecutedEvent.InputTuple,
644
- ExecutedEvent.OutputTuple,
645
- ExecutedEvent.OutputObject
646
- >;
647
-
648
- "Initialized(uint8)": TypedContractEvent<
649
- InitializedEvent.InputTuple,
650
- InitializedEvent.OutputTuple,
651
- InitializedEvent.OutputObject
652
- >;
653
- Initialized: TypedContractEvent<
654
- InitializedEvent.InputTuple,
655
- InitializedEvent.OutputTuple,
656
- InitializedEvent.OutputObject
657
- >;
658
-
659
- "OwnershipRenounced()": TypedContractEvent<
660
- OwnershipRenouncedEvent.InputTuple,
661
- OwnershipRenouncedEvent.OutputTuple,
662
- OwnershipRenouncedEvent.OutputObject
663
- >;
664
- OwnershipRenounced: TypedContractEvent<
665
- OwnershipRenouncedEvent.InputTuple,
666
- OwnershipRenouncedEvent.OutputTuple,
667
- OwnershipRenouncedEvent.OutputObject
668
- >;
669
-
670
- "OwnershipTransferStarted(address,address)": TypedContractEvent<
671
- OwnershipTransferStartedEvent.InputTuple,
672
- OwnershipTransferStartedEvent.OutputTuple,
673
- OwnershipTransferStartedEvent.OutputObject
674
- >;
675
- OwnershipTransferStarted: TypedContractEvent<
676
- OwnershipTransferStartedEvent.InputTuple,
677
- OwnershipTransferStartedEvent.OutputTuple,
678
- OwnershipTransferStartedEvent.OutputObject
679
- >;
680
-
681
- "OwnershipTransferred(address,address)": TypedContractEvent<
682
- OwnershipTransferredEvent.InputTuple,
683
- OwnershipTransferredEvent.OutputTuple,
684
- OwnershipTransferredEvent.OutputObject
685
- >;
686
- OwnershipTransferred: TypedContractEvent<
687
- OwnershipTransferredEvent.InputTuple,
688
- OwnershipTransferredEvent.OutputTuple,
689
- OwnershipTransferredEvent.OutputObject
690
- >;
691
-
692
- "RenounceOwnershipStarted()": TypedContractEvent<
693
- RenounceOwnershipStartedEvent.InputTuple,
694
- RenounceOwnershipStartedEvent.OutputTuple,
695
- RenounceOwnershipStartedEvent.OutputObject
696
- >;
697
- RenounceOwnershipStarted: TypedContractEvent<
698
- RenounceOwnershipStartedEvent.InputTuple,
699
- RenounceOwnershipStartedEvent.OutputTuple,
700
- RenounceOwnershipStartedEvent.OutputObject
701
- >;
702
-
703
- "UniversalReceiver(address,uint256,bytes32,bytes,bytes)": TypedContractEvent<
704
- UniversalReceiverEvent.InputTuple,
705
- UniversalReceiverEvent.OutputTuple,
706
- UniversalReceiverEvent.OutputObject
707
- >;
708
- UniversalReceiver: TypedContractEvent<
709
- UniversalReceiverEvent.InputTuple,
710
- UniversalReceiverEvent.OutputTuple,
711
- UniversalReceiverEvent.OutputObject
712
- >;
713
- };
714
- }