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