@lukso/lsp-smart-contracts 0.15.0 → 0.16.3

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 (90) hide show
  1. package/README.md +98 -3
  2. package/contracts/LSP11SocialRecovery/ILSP11SocialRecovery.sol +4 -0
  3. package/contracts/LSP11SocialRecovery/LSP11Constants.sol +4 -0
  4. package/contracts/LSP11SocialRecovery/LSP11Errors.sol +4 -0
  5. package/contracts/LSP11SocialRecovery/LSP11SocialRecovery.sol +4 -0
  6. package/contracts/LSP26FollowerSystem/ILSP26FollowerSystem.sol +4 -0
  7. package/contracts/LSP26FollowerSystem/LSP26Constants.sol +4 -0
  8. package/contracts/LSP26FollowerSystem/LSP26Errors.sol +4 -0
  9. package/contracts/LSP26FollowerSystem/LSP26FollowerSystem.sol +4 -0
  10. package/contracts/LSP4DigitalAssetMetadata/LSP4Utils.sol +1 -1
  11. package/contracts/LSP7DigitalAsset/{LSP7DigitalAssetCore.sol → extensions/LSP7Votes.sol} +1 -1
  12. package/contracts/LSP7DigitalAsset/extensions/LSP7VotesInitAbstract.sol +4 -0
  13. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Votes.sol +4 -0
  14. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8VotesInitAbstract.sol +4 -0
  15. package/dist/abi.cjs +13834 -0
  16. package/dist/abi.d.cts +19732 -0
  17. package/dist/abi.d.mts +19732 -0
  18. package/dist/abi.d.ts +19732 -0
  19. package/dist/abi.mjs +13799 -0
  20. package/dist/constants.cjs +20689 -10211
  21. package/dist/constants.d.cts +17476 -6994
  22. package/dist/constants.d.mts +17476 -6994
  23. package/dist/constants.d.ts +17476 -6994
  24. package/dist/constants.mjs +20691 -10213
  25. package/package.json +19 -17
  26. package/artifacts/LSP0ERC725Account.json +0 -676
  27. package/artifacts/LSP0ERC725AccountInit.json +0 -696
  28. package/artifacts/LSP11BasicSocialRecovery.json +0 -509
  29. package/artifacts/LSP11BasicSocialRecoveryInit.json +0 -529
  30. package/artifacts/LSP1UniversalReceiverDelegateUP.json +0 -88
  31. package/artifacts/LSP1UniversalReceiverDelegateVault.json +0 -88
  32. package/artifacts/LSP23LinkedContractsFactory.json +0 -544
  33. package/artifacts/LSP4DigitalAssetMetadata.json +0 -221
  34. package/artifacts/LSP4DigitalAssetMetadataInitAbstract.json +0 -234
  35. package/artifacts/LSP6KeyManager.json +0 -600
  36. package/artifacts/LSP6KeyManagerInit.json +0 -620
  37. package/artifacts/LSP7CappedSupply.json +0 -828
  38. package/artifacts/LSP7CappedSupplyInitAbstract.json +0 -841
  39. package/artifacts/LSP7DigitalAsset.json +0 -805
  40. package/artifacts/LSP7DigitalAssetInitAbstract.json +0 -818
  41. package/artifacts/LSP7Mintable.json +0 -864
  42. package/artifacts/LSP7MintableInit.json +0 -884
  43. package/artifacts/LSP8CappedSupply.json +0 -959
  44. package/artifacts/LSP8CappedSupplyInitAbstract.json +0 -972
  45. package/artifacts/LSP8IdentifiableDigitalAsset.json +0 -936
  46. package/artifacts/LSP8IdentifiableDigitalAssetInitAbstract.json +0 -949
  47. package/artifacts/LSP8Mintable.json +0 -1006
  48. package/artifacts/LSP8MintableInit.json +0 -1026
  49. package/artifacts/LSP9Vault.json +0 -631
  50. package/artifacts/LSP9VaultInit.json +0 -651
  51. package/artifacts/UniversalProfile.json +0 -676
  52. package/artifacts/UniversalProfileInit.json +0 -696
  53. package/contracts/LSP11BasicSocialRecovery/ILSP11BasicSocialRecovery.sol +0 -179
  54. package/contracts/LSP11BasicSocialRecovery/LSP11BasicSocialRecovery.sol +0 -25
  55. package/contracts/LSP11BasicSocialRecovery/LSP11BasicSocialRecoveryCore.sol +0 -340
  56. package/contracts/LSP11BasicSocialRecovery/LSP11BasicSocialRecoveryInit.sol +0 -30
  57. package/contracts/LSP11BasicSocialRecovery/LSP11BasicSocialRecoveryInitAbstract.sol +0 -29
  58. package/contracts/LSP11BasicSocialRecovery/LSP11Constants.sol +0 -6
  59. package/contracts/LSP11BasicSocialRecovery/LSP11Errors.sol +0 -63
  60. package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadataCore.sol +0 -4
  61. package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetCore.sol +0 -4
  62. package/types/@lukso/lsp0-contracts/contracts/LSP0ERC725Account.ts +0 -694
  63. package/types/@lukso/lsp0-contracts/contracts/LSP0ERC725AccountInit.ts +0 -740
  64. package/types/@lukso/lsp1delegate-contracts/contracts/LSP1UniversalReceiverDelegateUP.ts +0 -139
  65. package/types/@lukso/lsp1delegate-contracts/contracts/LSP1UniversalReceiverDelegateVault.ts +0 -139
  66. package/types/@lukso/lsp23-contracts/contracts/LSP23LinkedContractsFactory.ts +0 -448
  67. package/types/@lukso/lsp4-contracts/contracts/LSP4DigitalAssetMetadata.ts +0 -274
  68. package/types/@lukso/lsp4-contracts/contracts/LSP4DigitalAssetMetadataInitAbstract.ts +0 -309
  69. package/types/@lukso/lsp6-contracts/contracts/LSP6KeyManager.ts +0 -355
  70. package/types/@lukso/lsp6-contracts/contracts/LSP6KeyManagerInit.ts +0 -398
  71. package/types/@lukso/lsp7-contracts/contracts/LSP7DigitalAsset.ts +0 -698
  72. package/types/@lukso/lsp7-contracts/contracts/LSP7DigitalAssetInitAbstract.ts +0 -729
  73. package/types/@lukso/lsp7-contracts/contracts/extensions/LSP7CappedSupply.ts +0 -712
  74. package/types/@lukso/lsp7-contracts/contracts/extensions/LSP7CappedSupplyInitAbstract.ts +0 -743
  75. package/types/@lukso/lsp7-contracts/contracts/presets/LSP7Mintable.ts +0 -717
  76. package/types/@lukso/lsp7-contracts/contracts/presets/LSP7MintableInit.ts +0 -779
  77. package/types/@lukso/lsp8-contracts/contracts/LSP8IdentifiableDigitalAsset.ts +0 -778
  78. package/types/@lukso/lsp8-contracts/contracts/LSP8IdentifiableDigitalAssetInitAbstract.ts +0 -813
  79. package/types/@lukso/lsp8-contracts/contracts/extensions/LSP8CappedSupply.ts +0 -792
  80. package/types/@lukso/lsp8-contracts/contracts/extensions/LSP8CappedSupplyInitAbstract.ts +0 -824
  81. package/types/@lukso/lsp8-contracts/contracts/presets/LSP8Mintable.ts +0 -797
  82. package/types/@lukso/lsp8-contracts/contracts/presets/LSP8MintableInit.ts +0 -860
  83. package/types/@lukso/lsp9-contracts/contracts/LSP9Vault.ts +0 -672
  84. package/types/@lukso/lsp9-contracts/contracts/LSP9VaultInit.ts +0 -714
  85. package/types/@lukso/universalprofile-contracts/contracts/UniversalProfile.ts +0 -694
  86. package/types/@lukso/universalprofile-contracts/contracts/UniversalProfileInit.ts +0 -740
  87. package/types/common.ts +0 -131
  88. package/types/contracts/LSP11BasicSocialRecovery/LSP11BasicSocialRecovery.ts +0 -596
  89. package/types/contracts/LSP11BasicSocialRecovery/LSP11BasicSocialRecoveryInit.ts +0 -646
  90. package/types/index.ts +0 -18446
@@ -1,717 +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 LSP7MintableInterface extends Interface {
27
- getFunction(
28
- nameOrSignature:
29
- | "authorizeOperator"
30
- | "authorizedAmountFor"
31
- | "balanceOf"
32
- | "batchCalls"
33
- | "decimals"
34
- | "decreaseAllowance"
35
- | "getData"
36
- | "getDataBatch"
37
- | "getOperatorsOf"
38
- | "increaseAllowance"
39
- | "mint"
40
- | "owner"
41
- | "renounceOwnership"
42
- | "revokeOperator"
43
- | "setData"
44
- | "setDataBatch"
45
- | "supportsInterface"
46
- | "totalSupply"
47
- | "transfer"
48
- | "transferBatch"
49
- | "transferOwnership"
50
- ): FunctionFragment;
51
-
52
- getEvent(
53
- nameOrSignatureOrTopic:
54
- | "DataChanged"
55
- | "OperatorAuthorizationChanged"
56
- | "OperatorRevoked"
57
- | "OwnershipTransferred"
58
- | "Transfer"
59
- ): EventFragment;
60
-
61
- encodeFunctionData(
62
- functionFragment: "authorizeOperator",
63
- values: [AddressLike, BigNumberish, BytesLike]
64
- ): string;
65
- encodeFunctionData(
66
- functionFragment: "authorizedAmountFor",
67
- values: [AddressLike, AddressLike]
68
- ): string;
69
- encodeFunctionData(
70
- functionFragment: "balanceOf",
71
- values: [AddressLike]
72
- ): string;
73
- encodeFunctionData(
74
- functionFragment: "batchCalls",
75
- values: [BytesLike[]]
76
- ): string;
77
- encodeFunctionData(functionFragment: "decimals", values?: undefined): string;
78
- encodeFunctionData(
79
- functionFragment: "decreaseAllowance",
80
- values: [AddressLike, AddressLike, BigNumberish, BytesLike]
81
- ): string;
82
- encodeFunctionData(functionFragment: "getData", values: [BytesLike]): string;
83
- encodeFunctionData(
84
- functionFragment: "getDataBatch",
85
- values: [BytesLike[]]
86
- ): string;
87
- encodeFunctionData(
88
- functionFragment: "getOperatorsOf",
89
- values: [AddressLike]
90
- ): string;
91
- encodeFunctionData(
92
- functionFragment: "increaseAllowance",
93
- values: [AddressLike, BigNumberish, BytesLike]
94
- ): string;
95
- encodeFunctionData(
96
- functionFragment: "mint",
97
- values: [AddressLike, BigNumberish, boolean, 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, AddressLike, 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: "supportsInterface",
118
- values: [BytesLike]
119
- ): string;
120
- encodeFunctionData(
121
- functionFragment: "totalSupply",
122
- values?: undefined
123
- ): string;
124
- encodeFunctionData(
125
- functionFragment: "transfer",
126
- values: [AddressLike, AddressLike, BigNumberish, boolean, BytesLike]
127
- ): string;
128
- encodeFunctionData(
129
- functionFragment: "transferBatch",
130
- values: [
131
- AddressLike[],
132
- AddressLike[],
133
- BigNumberish[],
134
- boolean[],
135
- BytesLike[]
136
- ]
137
- ): string;
138
- encodeFunctionData(
139
- functionFragment: "transferOwnership",
140
- values: [AddressLike]
141
- ): string;
142
-
143
- decodeFunctionResult(
144
- functionFragment: "authorizeOperator",
145
- data: BytesLike
146
- ): Result;
147
- decodeFunctionResult(
148
- functionFragment: "authorizedAmountFor",
149
- data: BytesLike
150
- ): Result;
151
- decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
152
- decodeFunctionResult(functionFragment: "batchCalls", data: BytesLike): Result;
153
- decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result;
154
- decodeFunctionResult(
155
- functionFragment: "decreaseAllowance",
156
- data: BytesLike
157
- ): Result;
158
- decodeFunctionResult(functionFragment: "getData", data: BytesLike): Result;
159
- decodeFunctionResult(
160
- functionFragment: "getDataBatch",
161
- data: BytesLike
162
- ): Result;
163
- decodeFunctionResult(
164
- functionFragment: "getOperatorsOf",
165
- data: BytesLike
166
- ): Result;
167
- decodeFunctionResult(
168
- functionFragment: "increaseAllowance",
169
- data: BytesLike
170
- ): Result;
171
- decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result;
172
- decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
173
- decodeFunctionResult(
174
- functionFragment: "renounceOwnership",
175
- data: BytesLike
176
- ): Result;
177
- decodeFunctionResult(
178
- functionFragment: "revokeOperator",
179
- data: BytesLike
180
- ): Result;
181
- decodeFunctionResult(functionFragment: "setData", data: BytesLike): Result;
182
- decodeFunctionResult(
183
- functionFragment: "setDataBatch",
184
- data: BytesLike
185
- ): Result;
186
- decodeFunctionResult(
187
- functionFragment: "supportsInterface",
188
- data: BytesLike
189
- ): Result;
190
- decodeFunctionResult(
191
- functionFragment: "totalSupply",
192
- data: BytesLike
193
- ): Result;
194
- decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
195
- decodeFunctionResult(
196
- functionFragment: "transferBatch",
197
- data: BytesLike
198
- ): Result;
199
- decodeFunctionResult(
200
- functionFragment: "transferOwnership",
201
- data: BytesLike
202
- ): Result;
203
- }
204
-
205
- export namespace DataChangedEvent {
206
- export type InputTuple = [dataKey: BytesLike, dataValue: BytesLike];
207
- export type OutputTuple = [dataKey: string, dataValue: string];
208
- export interface OutputObject {
209
- dataKey: string;
210
- dataValue: string;
211
- }
212
- export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
213
- export type Filter = TypedDeferredTopicFilter<Event>;
214
- export type Log = TypedEventLog<Event>;
215
- export type LogDescription = TypedLogDescription<Event>;
216
- }
217
-
218
- export namespace OperatorAuthorizationChangedEvent {
219
- export type InputTuple = [
220
- operator: AddressLike,
221
- tokenOwner: AddressLike,
222
- amount: BigNumberish,
223
- operatorNotificationData: BytesLike
224
- ];
225
- export type OutputTuple = [
226
- operator: string,
227
- tokenOwner: string,
228
- amount: bigint,
229
- operatorNotificationData: string
230
- ];
231
- export interface OutputObject {
232
- operator: string;
233
- tokenOwner: string;
234
- amount: bigint;
235
- operatorNotificationData: string;
236
- }
237
- export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
238
- export type Filter = TypedDeferredTopicFilter<Event>;
239
- export type Log = TypedEventLog<Event>;
240
- export type LogDescription = TypedLogDescription<Event>;
241
- }
242
-
243
- export namespace OperatorRevokedEvent {
244
- export type InputTuple = [
245
- operator: AddressLike,
246
- tokenOwner: AddressLike,
247
- notified: boolean,
248
- operatorNotificationData: BytesLike
249
- ];
250
- export type OutputTuple = [
251
- operator: string,
252
- tokenOwner: string,
253
- notified: boolean,
254
- operatorNotificationData: string
255
- ];
256
- export interface OutputObject {
257
- operator: string;
258
- tokenOwner: string;
259
- notified: boolean;
260
- operatorNotificationData: string;
261
- }
262
- export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
263
- export type Filter = TypedDeferredTopicFilter<Event>;
264
- export type Log = TypedEventLog<Event>;
265
- export type LogDescription = TypedLogDescription<Event>;
266
- }
267
-
268
- export namespace OwnershipTransferredEvent {
269
- export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
270
- export type OutputTuple = [previousOwner: string, newOwner: string];
271
- export interface OutputObject {
272
- previousOwner: string;
273
- newOwner: 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 TransferEvent {
282
- export type InputTuple = [
283
- operator: AddressLike,
284
- from: AddressLike,
285
- to: AddressLike,
286
- amount: BigNumberish,
287
- force: boolean,
288
- data: BytesLike
289
- ];
290
- export type OutputTuple = [
291
- operator: string,
292
- from: string,
293
- to: string,
294
- amount: bigint,
295
- force: boolean,
296
- data: string
297
- ];
298
- export interface OutputObject {
299
- operator: string;
300
- from: string;
301
- to: string;
302
- amount: bigint;
303
- force: boolean;
304
- data: 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 interface LSP7Mintable extends BaseContract {
313
- connect(runner?: ContractRunner | null): LSP7Mintable;
314
- waitForDeployment(): Promise<this>;
315
-
316
- interface: LSP7MintableInterface;
317
-
318
- queryFilter<TCEvent extends TypedContractEvent>(
319
- event: TCEvent,
320
- fromBlockOrBlockhash?: string | number | undefined,
321
- toBlock?: string | number | undefined
322
- ): Promise<Array<TypedEventLog<TCEvent>>>;
323
- queryFilter<TCEvent extends TypedContractEvent>(
324
- filter: TypedDeferredTopicFilter<TCEvent>,
325
- fromBlockOrBlockhash?: string | number | undefined,
326
- toBlock?: string | number | undefined
327
- ): Promise<Array<TypedEventLog<TCEvent>>>;
328
-
329
- on<TCEvent extends TypedContractEvent>(
330
- event: TCEvent,
331
- listener: TypedListener<TCEvent>
332
- ): Promise<this>;
333
- on<TCEvent extends TypedContractEvent>(
334
- filter: TypedDeferredTopicFilter<TCEvent>,
335
- listener: TypedListener<TCEvent>
336
- ): Promise<this>;
337
-
338
- once<TCEvent extends TypedContractEvent>(
339
- event: TCEvent,
340
- listener: TypedListener<TCEvent>
341
- ): Promise<this>;
342
- once<TCEvent extends TypedContractEvent>(
343
- filter: TypedDeferredTopicFilter<TCEvent>,
344
- listener: TypedListener<TCEvent>
345
- ): Promise<this>;
346
-
347
- listeners<TCEvent extends TypedContractEvent>(
348
- event: TCEvent
349
- ): Promise<Array<TypedListener<TCEvent>>>;
350
- listeners(eventName?: string): Promise<Array<Listener>>;
351
- removeAllListeners<TCEvent extends TypedContractEvent>(
352
- event?: TCEvent
353
- ): Promise<this>;
354
-
355
- authorizeOperator: TypedContractMethod<
356
- [
357
- operator: AddressLike,
358
- amount: BigNumberish,
359
- operatorNotificationData: BytesLike
360
- ],
361
- [void],
362
- "nonpayable"
363
- >;
364
-
365
- authorizedAmountFor: TypedContractMethod<
366
- [operator: AddressLike, tokenOwner: AddressLike],
367
- [bigint],
368
- "view"
369
- >;
370
-
371
- balanceOf: TypedContractMethod<[tokenOwner: AddressLike], [bigint], "view">;
372
-
373
- batchCalls: TypedContractMethod<
374
- [data: BytesLike[]],
375
- [string[]],
376
- "nonpayable"
377
- >;
378
-
379
- decimals: TypedContractMethod<[], [bigint], "view">;
380
-
381
- decreaseAllowance: TypedContractMethod<
382
- [
383
- operator: AddressLike,
384
- tokenOwner: AddressLike,
385
- subtractedAmount: BigNumberish,
386
- operatorNotificationData: BytesLike
387
- ],
388
- [void],
389
- "nonpayable"
390
- >;
391
-
392
- getData: TypedContractMethod<[dataKey: BytesLike], [string], "view">;
393
-
394
- getDataBatch: TypedContractMethod<
395
- [dataKeys: BytesLike[]],
396
- [string[]],
397
- "view"
398
- >;
399
-
400
- getOperatorsOf: TypedContractMethod<
401
- [tokenOwner: AddressLike],
402
- [string[]],
403
- "view"
404
- >;
405
-
406
- increaseAllowance: TypedContractMethod<
407
- [
408
- operator: AddressLike,
409
- addedAmount: BigNumberish,
410
- operatorNotificationData: BytesLike
411
- ],
412
- [void],
413
- "nonpayable"
414
- >;
415
-
416
- mint: TypedContractMethod<
417
- [to: AddressLike, amount: BigNumberish, force: boolean, data: BytesLike],
418
- [void],
419
- "nonpayable"
420
- >;
421
-
422
- owner: TypedContractMethod<[], [string], "view">;
423
-
424
- renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;
425
-
426
- revokeOperator: TypedContractMethod<
427
- [
428
- operator: AddressLike,
429
- tokenOwner: AddressLike,
430
- notify: boolean,
431
- operatorNotificationData: BytesLike
432
- ],
433
- [void],
434
- "nonpayable"
435
- >;
436
-
437
- setData: TypedContractMethod<
438
- [dataKey: BytesLike, dataValue: BytesLike],
439
- [void],
440
- "payable"
441
- >;
442
-
443
- setDataBatch: TypedContractMethod<
444
- [dataKeys: BytesLike[], dataValues: BytesLike[]],
445
- [void],
446
- "payable"
447
- >;
448
-
449
- supportsInterface: TypedContractMethod<
450
- [interfaceId: BytesLike],
451
- [boolean],
452
- "view"
453
- >;
454
-
455
- totalSupply: TypedContractMethod<[], [bigint], "view">;
456
-
457
- transfer: TypedContractMethod<
458
- [
459
- from: AddressLike,
460
- to: AddressLike,
461
- amount: BigNumberish,
462
- force: boolean,
463
- data: BytesLike
464
- ],
465
- [void],
466
- "nonpayable"
467
- >;
468
-
469
- transferBatch: TypedContractMethod<
470
- [
471
- from: AddressLike[],
472
- to: AddressLike[],
473
- amount: BigNumberish[],
474
- force: boolean[],
475
- data: BytesLike[]
476
- ],
477
- [void],
478
- "nonpayable"
479
- >;
480
-
481
- transferOwnership: TypedContractMethod<
482
- [newOwner: AddressLike],
483
- [void],
484
- "nonpayable"
485
- >;
486
-
487
- getFunction<T extends ContractMethod = ContractMethod>(
488
- key: string | FunctionFragment
489
- ): T;
490
-
491
- getFunction(
492
- nameOrSignature: "authorizeOperator"
493
- ): TypedContractMethod<
494
- [
495
- operator: AddressLike,
496
- amount: BigNumberish,
497
- operatorNotificationData: BytesLike
498
- ],
499
- [void],
500
- "nonpayable"
501
- >;
502
- getFunction(
503
- nameOrSignature: "authorizedAmountFor"
504
- ): TypedContractMethod<
505
- [operator: AddressLike, tokenOwner: AddressLike],
506
- [bigint],
507
- "view"
508
- >;
509
- getFunction(
510
- nameOrSignature: "balanceOf"
511
- ): TypedContractMethod<[tokenOwner: AddressLike], [bigint], "view">;
512
- getFunction(
513
- nameOrSignature: "batchCalls"
514
- ): TypedContractMethod<[data: BytesLike[]], [string[]], "nonpayable">;
515
- getFunction(
516
- nameOrSignature: "decimals"
517
- ): TypedContractMethod<[], [bigint], "view">;
518
- getFunction(
519
- nameOrSignature: "decreaseAllowance"
520
- ): TypedContractMethod<
521
- [
522
- operator: AddressLike,
523
- tokenOwner: AddressLike,
524
- subtractedAmount: BigNumberish,
525
- operatorNotificationData: BytesLike
526
- ],
527
- [void],
528
- "nonpayable"
529
- >;
530
- getFunction(
531
- nameOrSignature: "getData"
532
- ): TypedContractMethod<[dataKey: BytesLike], [string], "view">;
533
- getFunction(
534
- nameOrSignature: "getDataBatch"
535
- ): TypedContractMethod<[dataKeys: BytesLike[]], [string[]], "view">;
536
- getFunction(
537
- nameOrSignature: "getOperatorsOf"
538
- ): TypedContractMethod<[tokenOwner: AddressLike], [string[]], "view">;
539
- getFunction(
540
- nameOrSignature: "increaseAllowance"
541
- ): TypedContractMethod<
542
- [
543
- operator: AddressLike,
544
- addedAmount: BigNumberish,
545
- operatorNotificationData: BytesLike
546
- ],
547
- [void],
548
- "nonpayable"
549
- >;
550
- getFunction(
551
- nameOrSignature: "mint"
552
- ): TypedContractMethod<
553
- [to: AddressLike, amount: BigNumberish, force: boolean, data: BytesLike],
554
- [void],
555
- "nonpayable"
556
- >;
557
- getFunction(
558
- nameOrSignature: "owner"
559
- ): TypedContractMethod<[], [string], "view">;
560
- getFunction(
561
- nameOrSignature: "renounceOwnership"
562
- ): TypedContractMethod<[], [void], "nonpayable">;
563
- getFunction(
564
- nameOrSignature: "revokeOperator"
565
- ): TypedContractMethod<
566
- [
567
- operator: AddressLike,
568
- tokenOwner: AddressLike,
569
- notify: boolean,
570
- operatorNotificationData: BytesLike
571
- ],
572
- [void],
573
- "nonpayable"
574
- >;
575
- getFunction(
576
- nameOrSignature: "setData"
577
- ): TypedContractMethod<
578
- [dataKey: BytesLike, dataValue: BytesLike],
579
- [void],
580
- "payable"
581
- >;
582
- getFunction(
583
- nameOrSignature: "setDataBatch"
584
- ): TypedContractMethod<
585
- [dataKeys: BytesLike[], dataValues: BytesLike[]],
586
- [void],
587
- "payable"
588
- >;
589
- getFunction(
590
- nameOrSignature: "supportsInterface"
591
- ): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
592
- getFunction(
593
- nameOrSignature: "totalSupply"
594
- ): TypedContractMethod<[], [bigint], "view">;
595
- getFunction(
596
- nameOrSignature: "transfer"
597
- ): TypedContractMethod<
598
- [
599
- from: AddressLike,
600
- to: AddressLike,
601
- amount: BigNumberish,
602
- force: boolean,
603
- data: BytesLike
604
- ],
605
- [void],
606
- "nonpayable"
607
- >;
608
- getFunction(
609
- nameOrSignature: "transferBatch"
610
- ): TypedContractMethod<
611
- [
612
- from: AddressLike[],
613
- to: AddressLike[],
614
- amount: BigNumberish[],
615
- force: boolean[],
616
- data: BytesLike[]
617
- ],
618
- [void],
619
- "nonpayable"
620
- >;
621
- getFunction(
622
- nameOrSignature: "transferOwnership"
623
- ): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
624
-
625
- getEvent(
626
- key: "DataChanged"
627
- ): TypedContractEvent<
628
- DataChangedEvent.InputTuple,
629
- DataChangedEvent.OutputTuple,
630
- DataChangedEvent.OutputObject
631
- >;
632
- getEvent(
633
- key: "OperatorAuthorizationChanged"
634
- ): TypedContractEvent<
635
- OperatorAuthorizationChangedEvent.InputTuple,
636
- OperatorAuthorizationChangedEvent.OutputTuple,
637
- OperatorAuthorizationChangedEvent.OutputObject
638
- >;
639
- getEvent(
640
- key: "OperatorRevoked"
641
- ): TypedContractEvent<
642
- OperatorRevokedEvent.InputTuple,
643
- OperatorRevokedEvent.OutputTuple,
644
- OperatorRevokedEvent.OutputObject
645
- >;
646
- getEvent(
647
- key: "OwnershipTransferred"
648
- ): TypedContractEvent<
649
- OwnershipTransferredEvent.InputTuple,
650
- OwnershipTransferredEvent.OutputTuple,
651
- OwnershipTransferredEvent.OutputObject
652
- >;
653
- getEvent(
654
- key: "Transfer"
655
- ): TypedContractEvent<
656
- TransferEvent.InputTuple,
657
- TransferEvent.OutputTuple,
658
- TransferEvent.OutputObject
659
- >;
660
-
661
- filters: {
662
- "DataChanged(bytes32,bytes)": TypedContractEvent<
663
- DataChangedEvent.InputTuple,
664
- DataChangedEvent.OutputTuple,
665
- DataChangedEvent.OutputObject
666
- >;
667
- DataChanged: TypedContractEvent<
668
- DataChangedEvent.InputTuple,
669
- DataChangedEvent.OutputTuple,
670
- DataChangedEvent.OutputObject
671
- >;
672
-
673
- "OperatorAuthorizationChanged(address,address,uint256,bytes)": TypedContractEvent<
674
- OperatorAuthorizationChangedEvent.InputTuple,
675
- OperatorAuthorizationChangedEvent.OutputTuple,
676
- OperatorAuthorizationChangedEvent.OutputObject
677
- >;
678
- OperatorAuthorizationChanged: TypedContractEvent<
679
- OperatorAuthorizationChangedEvent.InputTuple,
680
- OperatorAuthorizationChangedEvent.OutputTuple,
681
- OperatorAuthorizationChangedEvent.OutputObject
682
- >;
683
-
684
- "OperatorRevoked(address,address,bool,bytes)": TypedContractEvent<
685
- OperatorRevokedEvent.InputTuple,
686
- OperatorRevokedEvent.OutputTuple,
687
- OperatorRevokedEvent.OutputObject
688
- >;
689
- OperatorRevoked: TypedContractEvent<
690
- OperatorRevokedEvent.InputTuple,
691
- OperatorRevokedEvent.OutputTuple,
692
- OperatorRevokedEvent.OutputObject
693
- >;
694
-
695
- "OwnershipTransferred(address,address)": TypedContractEvent<
696
- OwnershipTransferredEvent.InputTuple,
697
- OwnershipTransferredEvent.OutputTuple,
698
- OwnershipTransferredEvent.OutputObject
699
- >;
700
- OwnershipTransferred: TypedContractEvent<
701
- OwnershipTransferredEvent.InputTuple,
702
- OwnershipTransferredEvent.OutputTuple,
703
- OwnershipTransferredEvent.OutputObject
704
- >;
705
-
706
- "Transfer(address,address,address,uint256,bool,bytes)": TypedContractEvent<
707
- TransferEvent.InputTuple,
708
- TransferEvent.OutputTuple,
709
- TransferEvent.OutputObject
710
- >;
711
- Transfer: TypedContractEvent<
712
- TransferEvent.InputTuple,
713
- TransferEvent.OutputTuple,
714
- TransferEvent.OutputObject
715
- >;
716
- };
717
- }