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