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