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