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