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