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