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