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