@lukso/lsp-smart-contracts 0.15.0 → 0.16.2

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