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