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