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