@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,860 +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 LSP8MintableInitInterface extends Interface {
27
- getFunction(
28
- nameOrSignature:
29
- | "authorizeOperator"
30
- | "balanceOf"
31
- | "batchCalls"
32
- | "getData"
33
- | "getDataBatch"
34
- | "getDataBatchForTokenIds"
35
- | "getDataForTokenId"
36
- | "getOperatorsOf"
37
- | "initialize"
38
- | "isOperatorFor"
39
- | "mint"
40
- | "owner"
41
- | "renounceOwnership"
42
- | "revokeOperator"
43
- | "setData"
44
- | "setDataBatch"
45
- | "setDataBatchForTokenIds"
46
- | "setDataForTokenId"
47
- | "supportsInterface"
48
- | "tokenIdsOf"
49
- | "tokenOwnerOf"
50
- | "totalSupply"
51
- | "transfer"
52
- | "transferBatch"
53
- | "transferOwnership"
54
- ): FunctionFragment;
55
-
56
- getEvent(
57
- nameOrSignatureOrTopic:
58
- | "DataChanged"
59
- | "Initialized"
60
- | "OperatorAuthorizationChanged"
61
- | "OperatorRevoked"
62
- | "OwnershipTransferred"
63
- | "TokenIdDataChanged"
64
- | "Transfer"
65
- ): EventFragment;
66
-
67
- encodeFunctionData(
68
- functionFragment: "authorizeOperator",
69
- values: [AddressLike, BytesLike, BytesLike]
70
- ): string;
71
- encodeFunctionData(
72
- functionFragment: "balanceOf",
73
- values: [AddressLike]
74
- ): string;
75
- encodeFunctionData(
76
- functionFragment: "batchCalls",
77
- values: [BytesLike[]]
78
- ): string;
79
- encodeFunctionData(functionFragment: "getData", values: [BytesLike]): string;
80
- encodeFunctionData(
81
- functionFragment: "getDataBatch",
82
- values: [BytesLike[]]
83
- ): string;
84
- encodeFunctionData(
85
- functionFragment: "getDataBatchForTokenIds",
86
- values: [BytesLike[], BytesLike[]]
87
- ): string;
88
- encodeFunctionData(
89
- functionFragment: "getDataForTokenId",
90
- values: [BytesLike, BytesLike]
91
- ): string;
92
- encodeFunctionData(
93
- functionFragment: "getOperatorsOf",
94
- values: [BytesLike]
95
- ): string;
96
- encodeFunctionData(
97
- functionFragment: "initialize",
98
- values: [string, string, AddressLike, BigNumberish, BigNumberish]
99
- ): string;
100
- encodeFunctionData(
101
- functionFragment: "isOperatorFor",
102
- values: [AddressLike, BytesLike]
103
- ): string;
104
- encodeFunctionData(
105
- functionFragment: "mint",
106
- values: [AddressLike, BytesLike, boolean, BytesLike]
107
- ): string;
108
- encodeFunctionData(functionFragment: "owner", values?: undefined): string;
109
- encodeFunctionData(
110
- functionFragment: "renounceOwnership",
111
- values?: undefined
112
- ): string;
113
- encodeFunctionData(
114
- functionFragment: "revokeOperator",
115
- values: [AddressLike, BytesLike, boolean, BytesLike]
116
- ): string;
117
- encodeFunctionData(
118
- functionFragment: "setData",
119
- values: [BytesLike, BytesLike]
120
- ): string;
121
- encodeFunctionData(
122
- functionFragment: "setDataBatch",
123
- values: [BytesLike[], BytesLike[]]
124
- ): string;
125
- encodeFunctionData(
126
- functionFragment: "setDataBatchForTokenIds",
127
- values: [BytesLike[], BytesLike[], BytesLike[]]
128
- ): string;
129
- encodeFunctionData(
130
- functionFragment: "setDataForTokenId",
131
- values: [BytesLike, BytesLike, BytesLike]
132
- ): string;
133
- encodeFunctionData(
134
- functionFragment: "supportsInterface",
135
- values: [BytesLike]
136
- ): string;
137
- encodeFunctionData(
138
- functionFragment: "tokenIdsOf",
139
- values: [AddressLike]
140
- ): string;
141
- encodeFunctionData(
142
- functionFragment: "tokenOwnerOf",
143
- values: [BytesLike]
144
- ): string;
145
- encodeFunctionData(
146
- functionFragment: "totalSupply",
147
- values?: undefined
148
- ): string;
149
- encodeFunctionData(
150
- functionFragment: "transfer",
151
- values: [AddressLike, AddressLike, BytesLike, boolean, BytesLike]
152
- ): string;
153
- encodeFunctionData(
154
- functionFragment: "transferBatch",
155
- values: [AddressLike[], AddressLike[], BytesLike[], boolean[], BytesLike[]]
156
- ): string;
157
- encodeFunctionData(
158
- functionFragment: "transferOwnership",
159
- values: [AddressLike]
160
- ): string;
161
-
162
- decodeFunctionResult(
163
- functionFragment: "authorizeOperator",
164
- data: BytesLike
165
- ): Result;
166
- decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
167
- decodeFunctionResult(functionFragment: "batchCalls", data: BytesLike): Result;
168
- decodeFunctionResult(functionFragment: "getData", data: BytesLike): Result;
169
- decodeFunctionResult(
170
- functionFragment: "getDataBatch",
171
- data: BytesLike
172
- ): Result;
173
- decodeFunctionResult(
174
- functionFragment: "getDataBatchForTokenIds",
175
- data: BytesLike
176
- ): Result;
177
- decodeFunctionResult(
178
- functionFragment: "getDataForTokenId",
179
- data: BytesLike
180
- ): Result;
181
- decodeFunctionResult(
182
- functionFragment: "getOperatorsOf",
183
- data: BytesLike
184
- ): Result;
185
- decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
186
- decodeFunctionResult(
187
- functionFragment: "isOperatorFor",
188
- data: BytesLike
189
- ): Result;
190
- decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result;
191
- decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
192
- decodeFunctionResult(
193
- functionFragment: "renounceOwnership",
194
- data: BytesLike
195
- ): Result;
196
- decodeFunctionResult(
197
- functionFragment: "revokeOperator",
198
- data: BytesLike
199
- ): Result;
200
- decodeFunctionResult(functionFragment: "setData", data: BytesLike): Result;
201
- decodeFunctionResult(
202
- functionFragment: "setDataBatch",
203
- data: BytesLike
204
- ): Result;
205
- decodeFunctionResult(
206
- functionFragment: "setDataBatchForTokenIds",
207
- data: BytesLike
208
- ): Result;
209
- decodeFunctionResult(
210
- functionFragment: "setDataForTokenId",
211
- data: BytesLike
212
- ): Result;
213
- decodeFunctionResult(
214
- functionFragment: "supportsInterface",
215
- data: BytesLike
216
- ): Result;
217
- decodeFunctionResult(functionFragment: "tokenIdsOf", data: BytesLike): Result;
218
- decodeFunctionResult(
219
- functionFragment: "tokenOwnerOf",
220
- data: BytesLike
221
- ): Result;
222
- decodeFunctionResult(
223
- functionFragment: "totalSupply",
224
- data: BytesLike
225
- ): Result;
226
- decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
227
- decodeFunctionResult(
228
- functionFragment: "transferBatch",
229
- data: BytesLike
230
- ): Result;
231
- decodeFunctionResult(
232
- functionFragment: "transferOwnership",
233
- data: BytesLike
234
- ): Result;
235
- }
236
-
237
- export namespace DataChangedEvent {
238
- export type InputTuple = [dataKey: BytesLike, dataValue: BytesLike];
239
- export type OutputTuple = [dataKey: string, dataValue: string];
240
- export interface OutputObject {
241
- dataKey: string;
242
- dataValue: string;
243
- }
244
- export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
245
- export type Filter = TypedDeferredTopicFilter<Event>;
246
- export type Log = TypedEventLog<Event>;
247
- export type LogDescription = TypedLogDescription<Event>;
248
- }
249
-
250
- export namespace InitializedEvent {
251
- export type InputTuple = [version: BigNumberish];
252
- export type OutputTuple = [version: bigint];
253
- export interface OutputObject {
254
- version: bigint;
255
- }
256
- export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
257
- export type Filter = TypedDeferredTopicFilter<Event>;
258
- export type Log = TypedEventLog<Event>;
259
- export type LogDescription = TypedLogDescription<Event>;
260
- }
261
-
262
- export namespace OperatorAuthorizationChangedEvent {
263
- export type InputTuple = [
264
- operator: AddressLike,
265
- tokenOwner: AddressLike,
266
- tokenId: BytesLike,
267
- operatorNotificationData: BytesLike
268
- ];
269
- export type OutputTuple = [
270
- operator: string,
271
- tokenOwner: string,
272
- tokenId: string,
273
- operatorNotificationData: string
274
- ];
275
- export interface OutputObject {
276
- operator: string;
277
- tokenOwner: string;
278
- tokenId: string;
279
- operatorNotificationData: string;
280
- }
281
- export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
282
- export type Filter = TypedDeferredTopicFilter<Event>;
283
- export type Log = TypedEventLog<Event>;
284
- export type LogDescription = TypedLogDescription<Event>;
285
- }
286
-
287
- export namespace OperatorRevokedEvent {
288
- export type InputTuple = [
289
- operator: AddressLike,
290
- tokenOwner: AddressLike,
291
- tokenId: BytesLike,
292
- notified: boolean,
293
- operatorNotificationData: BytesLike
294
- ];
295
- export type OutputTuple = [
296
- operator: string,
297
- tokenOwner: string,
298
- tokenId: string,
299
- notified: boolean,
300
- operatorNotificationData: string
301
- ];
302
- export interface OutputObject {
303
- operator: string;
304
- tokenOwner: string;
305
- tokenId: string;
306
- notified: boolean;
307
- operatorNotificationData: string;
308
- }
309
- export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
310
- export type Filter = TypedDeferredTopicFilter<Event>;
311
- export type Log = TypedEventLog<Event>;
312
- export type LogDescription = TypedLogDescription<Event>;
313
- }
314
-
315
- export namespace OwnershipTransferredEvent {
316
- export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
317
- export type OutputTuple = [previousOwner: string, newOwner: string];
318
- export interface OutputObject {
319
- previousOwner: string;
320
- newOwner: 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 namespace TokenIdDataChangedEvent {
329
- export type InputTuple = [
330
- tokenId: BytesLike,
331
- dataKey: BytesLike,
332
- dataValue: BytesLike
333
- ];
334
- export type OutputTuple = [
335
- tokenId: string,
336
- dataKey: string,
337
- dataValue: string
338
- ];
339
- export interface OutputObject {
340
- tokenId: string;
341
- dataKey: string;
342
- dataValue: string;
343
- }
344
- export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
345
- export type Filter = TypedDeferredTopicFilter<Event>;
346
- export type Log = TypedEventLog<Event>;
347
- export type LogDescription = TypedLogDescription<Event>;
348
- }
349
-
350
- export namespace TransferEvent {
351
- export type InputTuple = [
352
- operator: AddressLike,
353
- from: AddressLike,
354
- to: AddressLike,
355
- tokenId: BytesLike,
356
- force: boolean,
357
- data: BytesLike
358
- ];
359
- export type OutputTuple = [
360
- operator: string,
361
- from: string,
362
- to: string,
363
- tokenId: string,
364
- force: boolean,
365
- data: string
366
- ];
367
- export interface OutputObject {
368
- operator: string;
369
- from: string;
370
- to: string;
371
- tokenId: string;
372
- force: boolean;
373
- data: string;
374
- }
375
- export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
376
- export type Filter = TypedDeferredTopicFilter<Event>;
377
- export type Log = TypedEventLog<Event>;
378
- export type LogDescription = TypedLogDescription<Event>;
379
- }
380
-
381
- export interface LSP8MintableInit extends BaseContract {
382
- connect(runner?: ContractRunner | null): LSP8MintableInit;
383
- waitForDeployment(): Promise<this>;
384
-
385
- interface: LSP8MintableInitInterface;
386
-
387
- queryFilter<TCEvent extends TypedContractEvent>(
388
- event: TCEvent,
389
- fromBlockOrBlockhash?: string | number | undefined,
390
- toBlock?: string | number | undefined
391
- ): Promise<Array<TypedEventLog<TCEvent>>>;
392
- queryFilter<TCEvent extends TypedContractEvent>(
393
- filter: TypedDeferredTopicFilter<TCEvent>,
394
- fromBlockOrBlockhash?: string | number | undefined,
395
- toBlock?: string | number | undefined
396
- ): Promise<Array<TypedEventLog<TCEvent>>>;
397
-
398
- on<TCEvent extends TypedContractEvent>(
399
- event: TCEvent,
400
- listener: TypedListener<TCEvent>
401
- ): Promise<this>;
402
- on<TCEvent extends TypedContractEvent>(
403
- filter: TypedDeferredTopicFilter<TCEvent>,
404
- listener: TypedListener<TCEvent>
405
- ): Promise<this>;
406
-
407
- once<TCEvent extends TypedContractEvent>(
408
- event: TCEvent,
409
- listener: TypedListener<TCEvent>
410
- ): Promise<this>;
411
- once<TCEvent extends TypedContractEvent>(
412
- filter: TypedDeferredTopicFilter<TCEvent>,
413
- listener: TypedListener<TCEvent>
414
- ): Promise<this>;
415
-
416
- listeners<TCEvent extends TypedContractEvent>(
417
- event: TCEvent
418
- ): Promise<Array<TypedListener<TCEvent>>>;
419
- listeners(eventName?: string): Promise<Array<Listener>>;
420
- removeAllListeners<TCEvent extends TypedContractEvent>(
421
- event?: TCEvent
422
- ): Promise<this>;
423
-
424
- authorizeOperator: TypedContractMethod<
425
- [
426
- operator: AddressLike,
427
- tokenId: BytesLike,
428
- operatorNotificationData: BytesLike
429
- ],
430
- [void],
431
- "nonpayable"
432
- >;
433
-
434
- balanceOf: TypedContractMethod<[tokenOwner: AddressLike], [bigint], "view">;
435
-
436
- batchCalls: TypedContractMethod<
437
- [data: BytesLike[]],
438
- [string[]],
439
- "nonpayable"
440
- >;
441
-
442
- getData: TypedContractMethod<[dataKey: BytesLike], [string], "view">;
443
-
444
- getDataBatch: TypedContractMethod<
445
- [dataKeys: BytesLike[]],
446
- [string[]],
447
- "view"
448
- >;
449
-
450
- getDataBatchForTokenIds: TypedContractMethod<
451
- [tokenIds: BytesLike[], dataKeys: BytesLike[]],
452
- [string[]],
453
- "view"
454
- >;
455
-
456
- getDataForTokenId: TypedContractMethod<
457
- [tokenId: BytesLike, dataKey: BytesLike],
458
- [string],
459
- "view"
460
- >;
461
-
462
- getOperatorsOf: TypedContractMethod<[tokenId: BytesLike], [string[]], "view">;
463
-
464
- initialize: TypedContractMethod<
465
- [
466
- name_: string,
467
- symbol_: string,
468
- newOwner_: AddressLike,
469
- lsp4TokenType_: BigNumberish,
470
- lsp8TokenIdFormat_: BigNumberish
471
- ],
472
- [void],
473
- "nonpayable"
474
- >;
475
-
476
- isOperatorFor: TypedContractMethod<
477
- [operator: AddressLike, tokenId: BytesLike],
478
- [boolean],
479
- "view"
480
- >;
481
-
482
- mint: TypedContractMethod<
483
- [to: AddressLike, tokenId: BytesLike, force: boolean, data: BytesLike],
484
- [void],
485
- "nonpayable"
486
- >;
487
-
488
- owner: TypedContractMethod<[], [string], "view">;
489
-
490
- renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;
491
-
492
- revokeOperator: TypedContractMethod<
493
- [
494
- operator: AddressLike,
495
- tokenId: BytesLike,
496
- notify: boolean,
497
- operatorNotificationData: BytesLike
498
- ],
499
- [void],
500
- "nonpayable"
501
- >;
502
-
503
- setData: TypedContractMethod<
504
- [dataKey: BytesLike, dataValue: BytesLike],
505
- [void],
506
- "payable"
507
- >;
508
-
509
- setDataBatch: TypedContractMethod<
510
- [dataKeys: BytesLike[], dataValues: BytesLike[]],
511
- [void],
512
- "payable"
513
- >;
514
-
515
- setDataBatchForTokenIds: TypedContractMethod<
516
- [tokenIds: BytesLike[], dataKeys: BytesLike[], dataValues: BytesLike[]],
517
- [void],
518
- "nonpayable"
519
- >;
520
-
521
- setDataForTokenId: TypedContractMethod<
522
- [tokenId: BytesLike, dataKey: BytesLike, dataValue: BytesLike],
523
- [void],
524
- "nonpayable"
525
- >;
526
-
527
- supportsInterface: TypedContractMethod<
528
- [interfaceId: BytesLike],
529
- [boolean],
530
- "view"
531
- >;
532
-
533
- tokenIdsOf: TypedContractMethod<
534
- [tokenOwner: AddressLike],
535
- [string[]],
536
- "view"
537
- >;
538
-
539
- tokenOwnerOf: TypedContractMethod<[tokenId: BytesLike], [string], "view">;
540
-
541
- totalSupply: TypedContractMethod<[], [bigint], "view">;
542
-
543
- transfer: TypedContractMethod<
544
- [
545
- from: AddressLike,
546
- to: AddressLike,
547
- tokenId: BytesLike,
548
- force: boolean,
549
- data: BytesLike
550
- ],
551
- [void],
552
- "nonpayable"
553
- >;
554
-
555
- transferBatch: TypedContractMethod<
556
- [
557
- from: AddressLike[],
558
- to: AddressLike[],
559
- tokenId: BytesLike[],
560
- force: boolean[],
561
- data: BytesLike[]
562
- ],
563
- [void],
564
- "nonpayable"
565
- >;
566
-
567
- transferOwnership: TypedContractMethod<
568
- [newOwner: AddressLike],
569
- [void],
570
- "nonpayable"
571
- >;
572
-
573
- getFunction<T extends ContractMethod = ContractMethod>(
574
- key: string | FunctionFragment
575
- ): T;
576
-
577
- getFunction(
578
- nameOrSignature: "authorizeOperator"
579
- ): TypedContractMethod<
580
- [
581
- operator: AddressLike,
582
- tokenId: BytesLike,
583
- operatorNotificationData: BytesLike
584
- ],
585
- [void],
586
- "nonpayable"
587
- >;
588
- getFunction(
589
- nameOrSignature: "balanceOf"
590
- ): TypedContractMethod<[tokenOwner: AddressLike], [bigint], "view">;
591
- getFunction(
592
- nameOrSignature: "batchCalls"
593
- ): TypedContractMethod<[data: BytesLike[]], [string[]], "nonpayable">;
594
- getFunction(
595
- nameOrSignature: "getData"
596
- ): TypedContractMethod<[dataKey: BytesLike], [string], "view">;
597
- getFunction(
598
- nameOrSignature: "getDataBatch"
599
- ): TypedContractMethod<[dataKeys: BytesLike[]], [string[]], "view">;
600
- getFunction(
601
- nameOrSignature: "getDataBatchForTokenIds"
602
- ): TypedContractMethod<
603
- [tokenIds: BytesLike[], dataKeys: BytesLike[]],
604
- [string[]],
605
- "view"
606
- >;
607
- getFunction(
608
- nameOrSignature: "getDataForTokenId"
609
- ): TypedContractMethod<
610
- [tokenId: BytesLike, dataKey: BytesLike],
611
- [string],
612
- "view"
613
- >;
614
- getFunction(
615
- nameOrSignature: "getOperatorsOf"
616
- ): TypedContractMethod<[tokenId: BytesLike], [string[]], "view">;
617
- getFunction(
618
- nameOrSignature: "initialize"
619
- ): TypedContractMethod<
620
- [
621
- name_: string,
622
- symbol_: string,
623
- newOwner_: AddressLike,
624
- lsp4TokenType_: BigNumberish,
625
- lsp8TokenIdFormat_: BigNumberish
626
- ],
627
- [void],
628
- "nonpayable"
629
- >;
630
- getFunction(
631
- nameOrSignature: "isOperatorFor"
632
- ): TypedContractMethod<
633
- [operator: AddressLike, tokenId: BytesLike],
634
- [boolean],
635
- "view"
636
- >;
637
- getFunction(
638
- nameOrSignature: "mint"
639
- ): TypedContractMethod<
640
- [to: AddressLike, tokenId: BytesLike, force: boolean, data: BytesLike],
641
- [void],
642
- "nonpayable"
643
- >;
644
- getFunction(
645
- nameOrSignature: "owner"
646
- ): TypedContractMethod<[], [string], "view">;
647
- getFunction(
648
- nameOrSignature: "renounceOwnership"
649
- ): TypedContractMethod<[], [void], "nonpayable">;
650
- getFunction(
651
- nameOrSignature: "revokeOperator"
652
- ): TypedContractMethod<
653
- [
654
- operator: AddressLike,
655
- tokenId: BytesLike,
656
- notify: boolean,
657
- operatorNotificationData: BytesLike
658
- ],
659
- [void],
660
- "nonpayable"
661
- >;
662
- getFunction(
663
- nameOrSignature: "setData"
664
- ): TypedContractMethod<
665
- [dataKey: BytesLike, dataValue: BytesLike],
666
- [void],
667
- "payable"
668
- >;
669
- getFunction(
670
- nameOrSignature: "setDataBatch"
671
- ): TypedContractMethod<
672
- [dataKeys: BytesLike[], dataValues: BytesLike[]],
673
- [void],
674
- "payable"
675
- >;
676
- getFunction(
677
- nameOrSignature: "setDataBatchForTokenIds"
678
- ): TypedContractMethod<
679
- [tokenIds: BytesLike[], dataKeys: BytesLike[], dataValues: BytesLike[]],
680
- [void],
681
- "nonpayable"
682
- >;
683
- getFunction(
684
- nameOrSignature: "setDataForTokenId"
685
- ): TypedContractMethod<
686
- [tokenId: BytesLike, dataKey: BytesLike, dataValue: BytesLike],
687
- [void],
688
- "nonpayable"
689
- >;
690
- getFunction(
691
- nameOrSignature: "supportsInterface"
692
- ): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
693
- getFunction(
694
- nameOrSignature: "tokenIdsOf"
695
- ): TypedContractMethod<[tokenOwner: AddressLike], [string[]], "view">;
696
- getFunction(
697
- nameOrSignature: "tokenOwnerOf"
698
- ): TypedContractMethod<[tokenId: BytesLike], [string], "view">;
699
- getFunction(
700
- nameOrSignature: "totalSupply"
701
- ): TypedContractMethod<[], [bigint], "view">;
702
- getFunction(
703
- nameOrSignature: "transfer"
704
- ): TypedContractMethod<
705
- [
706
- from: AddressLike,
707
- to: AddressLike,
708
- tokenId: BytesLike,
709
- force: boolean,
710
- data: BytesLike
711
- ],
712
- [void],
713
- "nonpayable"
714
- >;
715
- getFunction(
716
- nameOrSignature: "transferBatch"
717
- ): TypedContractMethod<
718
- [
719
- from: AddressLike[],
720
- to: AddressLike[],
721
- tokenId: BytesLike[],
722
- force: boolean[],
723
- data: BytesLike[]
724
- ],
725
- [void],
726
- "nonpayable"
727
- >;
728
- getFunction(
729
- nameOrSignature: "transferOwnership"
730
- ): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
731
-
732
- getEvent(
733
- key: "DataChanged"
734
- ): TypedContractEvent<
735
- DataChangedEvent.InputTuple,
736
- DataChangedEvent.OutputTuple,
737
- DataChangedEvent.OutputObject
738
- >;
739
- getEvent(
740
- key: "Initialized"
741
- ): TypedContractEvent<
742
- InitializedEvent.InputTuple,
743
- InitializedEvent.OutputTuple,
744
- InitializedEvent.OutputObject
745
- >;
746
- getEvent(
747
- key: "OperatorAuthorizationChanged"
748
- ): TypedContractEvent<
749
- OperatorAuthorizationChangedEvent.InputTuple,
750
- OperatorAuthorizationChangedEvent.OutputTuple,
751
- OperatorAuthorizationChangedEvent.OutputObject
752
- >;
753
- getEvent(
754
- key: "OperatorRevoked"
755
- ): TypedContractEvent<
756
- OperatorRevokedEvent.InputTuple,
757
- OperatorRevokedEvent.OutputTuple,
758
- OperatorRevokedEvent.OutputObject
759
- >;
760
- getEvent(
761
- key: "OwnershipTransferred"
762
- ): TypedContractEvent<
763
- OwnershipTransferredEvent.InputTuple,
764
- OwnershipTransferredEvent.OutputTuple,
765
- OwnershipTransferredEvent.OutputObject
766
- >;
767
- getEvent(
768
- key: "TokenIdDataChanged"
769
- ): TypedContractEvent<
770
- TokenIdDataChangedEvent.InputTuple,
771
- TokenIdDataChangedEvent.OutputTuple,
772
- TokenIdDataChangedEvent.OutputObject
773
- >;
774
- getEvent(
775
- key: "Transfer"
776
- ): TypedContractEvent<
777
- TransferEvent.InputTuple,
778
- TransferEvent.OutputTuple,
779
- TransferEvent.OutputObject
780
- >;
781
-
782
- filters: {
783
- "DataChanged(bytes32,bytes)": TypedContractEvent<
784
- DataChangedEvent.InputTuple,
785
- DataChangedEvent.OutputTuple,
786
- DataChangedEvent.OutputObject
787
- >;
788
- DataChanged: TypedContractEvent<
789
- DataChangedEvent.InputTuple,
790
- DataChangedEvent.OutputTuple,
791
- DataChangedEvent.OutputObject
792
- >;
793
-
794
- "Initialized(uint8)": TypedContractEvent<
795
- InitializedEvent.InputTuple,
796
- InitializedEvent.OutputTuple,
797
- InitializedEvent.OutputObject
798
- >;
799
- Initialized: TypedContractEvent<
800
- InitializedEvent.InputTuple,
801
- InitializedEvent.OutputTuple,
802
- InitializedEvent.OutputObject
803
- >;
804
-
805
- "OperatorAuthorizationChanged(address,address,bytes32,bytes)": TypedContractEvent<
806
- OperatorAuthorizationChangedEvent.InputTuple,
807
- OperatorAuthorizationChangedEvent.OutputTuple,
808
- OperatorAuthorizationChangedEvent.OutputObject
809
- >;
810
- OperatorAuthorizationChanged: TypedContractEvent<
811
- OperatorAuthorizationChangedEvent.InputTuple,
812
- OperatorAuthorizationChangedEvent.OutputTuple,
813
- OperatorAuthorizationChangedEvent.OutputObject
814
- >;
815
-
816
- "OperatorRevoked(address,address,bytes32,bool,bytes)": TypedContractEvent<
817
- OperatorRevokedEvent.InputTuple,
818
- OperatorRevokedEvent.OutputTuple,
819
- OperatorRevokedEvent.OutputObject
820
- >;
821
- OperatorRevoked: TypedContractEvent<
822
- OperatorRevokedEvent.InputTuple,
823
- OperatorRevokedEvent.OutputTuple,
824
- OperatorRevokedEvent.OutputObject
825
- >;
826
-
827
- "OwnershipTransferred(address,address)": TypedContractEvent<
828
- OwnershipTransferredEvent.InputTuple,
829
- OwnershipTransferredEvent.OutputTuple,
830
- OwnershipTransferredEvent.OutputObject
831
- >;
832
- OwnershipTransferred: TypedContractEvent<
833
- OwnershipTransferredEvent.InputTuple,
834
- OwnershipTransferredEvent.OutputTuple,
835
- OwnershipTransferredEvent.OutputObject
836
- >;
837
-
838
- "TokenIdDataChanged(bytes32,bytes32,bytes)": TypedContractEvent<
839
- TokenIdDataChangedEvent.InputTuple,
840
- TokenIdDataChangedEvent.OutputTuple,
841
- TokenIdDataChangedEvent.OutputObject
842
- >;
843
- TokenIdDataChanged: TypedContractEvent<
844
- TokenIdDataChangedEvent.InputTuple,
845
- TokenIdDataChangedEvent.OutputTuple,
846
- TokenIdDataChangedEvent.OutputObject
847
- >;
848
-
849
- "Transfer(address,address,address,bytes32,bool,bytes)": TypedContractEvent<
850
- TransferEvent.InputTuple,
851
- TransferEvent.OutputTuple,
852
- TransferEvent.OutputObject
853
- >;
854
- Transfer: TypedContractEvent<
855
- TransferEvent.InputTuple,
856
- TransferEvent.OutputTuple,
857
- TransferEvent.OutputObject
858
- >;
859
- };
860
- }