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