@lukso/lsp8-contracts 0.15.0-rc.0 → 0.15.0-rc.4
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 +6 -0
- package/artifacts/ILSP8IdentifiableDigitalAsset.json +602 -0
- package/artifacts/LSP8Burnable.json +954 -0
- package/artifacts/LSP8BurnableInitAbstract.json +967 -0
- package/artifacts/LSP8Enumerable.json +955 -0
- package/artifacts/LSP8EnumerableInitAbstract.json +968 -0
- package/artifacts/LSP8Mintable.json +2 -2
- package/artifacts/LSP8MintableInit.json +2 -2
- package/compatibility-abis/LSP8IdentifiableDigitalAsset-v0.12.0.json +748 -0
- package/compatibility-abis/LSP8IdentifiableDigitalAsset-v0.13.0.json +899 -0
- package/compatibility-abis/LSP8IdentifiableDigitalAsset-v0.14.0.json +899 -0
- package/compatibility-abis/README.md +9 -0
- package/contracts/ILSP8IdentifiableDigitalAsset.sol +2 -2
- package/package.json +9 -8
- package/types/{LSP8IdentifiableDigitalAsset.ts → contracts/ILSP8IdentifiableDigitalAsset.ts} +9 -81
- package/types/{LSP8Mintable.ts → contracts/extensions/LSP8Burnable.ts} +24 -24
- package/types/{LSP8IdentifiableDigitalAssetInitAbstract.ts → contracts/extensions/LSP8BurnableInitAbstract.ts} +24 -8
- package/types/{LSP8CappedSupply.ts → contracts/extensions/LSP8Enumerable.ts} +17 -19
- package/types/{LSP8CappedSupplyInitAbstract.ts → contracts/extensions/LSP8EnumerableInitAbstract.ts} +16 -19
- package/types/index.ts +9738 -16
- package/types/LSP8MintableInit.ts +0 -860
package/types/{LSP8CappedSupplyInitAbstract.ts → contracts/extensions/LSP8EnumerableInitAbstract.ts}
RENAMED
@@ -21,9 +21,9 @@ import type {
|
|
21
21
|
TypedLogDescription,
|
22
22
|
TypedListener,
|
23
23
|
TypedContractMethod,
|
24
|
-
} from "
|
24
|
+
} from "../../common";
|
25
25
|
|
26
|
-
export interface
|
26
|
+
export interface LSP8EnumerableInitAbstractInterface extends Interface {
|
27
27
|
getFunction(
|
28
28
|
nameOrSignature:
|
29
29
|
| "authorizeOperator"
|
@@ -43,9 +43,9 @@ export interface LSP8CappedSupplyInitAbstractInterface extends Interface {
|
|
43
43
|
| "setDataBatchForTokenIds"
|
44
44
|
| "setDataForTokenId"
|
45
45
|
| "supportsInterface"
|
46
|
+
| "tokenAt"
|
46
47
|
| "tokenIdsOf"
|
47
48
|
| "tokenOwnerOf"
|
48
|
-
| "tokenSupplyCap"
|
49
49
|
| "totalSupply"
|
50
50
|
| "transfer"
|
51
51
|
| "transferBatch"
|
@@ -125,6 +125,10 @@ export interface LSP8CappedSupplyInitAbstractInterface extends Interface {
|
|
125
125
|
functionFragment: "supportsInterface",
|
126
126
|
values: [BytesLike]
|
127
127
|
): string;
|
128
|
+
encodeFunctionData(
|
129
|
+
functionFragment: "tokenAt",
|
130
|
+
values: [BigNumberish]
|
131
|
+
): string;
|
128
132
|
encodeFunctionData(
|
129
133
|
functionFragment: "tokenIdsOf",
|
130
134
|
values: [AddressLike]
|
@@ -133,10 +137,6 @@ export interface LSP8CappedSupplyInitAbstractInterface extends Interface {
|
|
133
137
|
functionFragment: "tokenOwnerOf",
|
134
138
|
values: [BytesLike]
|
135
139
|
): string;
|
136
|
-
encodeFunctionData(
|
137
|
-
functionFragment: "tokenSupplyCap",
|
138
|
-
values?: undefined
|
139
|
-
): string;
|
140
140
|
encodeFunctionData(
|
141
141
|
functionFragment: "totalSupply",
|
142
142
|
values?: undefined
|
@@ -207,15 +207,12 @@ export interface LSP8CappedSupplyInitAbstractInterface extends Interface {
|
|
207
207
|
functionFragment: "supportsInterface",
|
208
208
|
data: BytesLike
|
209
209
|
): Result;
|
210
|
+
decodeFunctionResult(functionFragment: "tokenAt", data: BytesLike): Result;
|
210
211
|
decodeFunctionResult(functionFragment: "tokenIdsOf", data: BytesLike): Result;
|
211
212
|
decodeFunctionResult(
|
212
213
|
functionFragment: "tokenOwnerOf",
|
213
214
|
data: BytesLike
|
214
215
|
): Result;
|
215
|
-
decodeFunctionResult(
|
216
|
-
functionFragment: "tokenSupplyCap",
|
217
|
-
data: BytesLike
|
218
|
-
): Result;
|
219
216
|
decodeFunctionResult(
|
220
217
|
functionFragment: "totalSupply",
|
221
218
|
data: BytesLike
|
@@ -375,11 +372,11 @@ export namespace TransferEvent {
|
|
375
372
|
export type LogDescription = TypedLogDescription<Event>;
|
376
373
|
}
|
377
374
|
|
378
|
-
export interface
|
379
|
-
connect(runner?: ContractRunner | null):
|
375
|
+
export interface LSP8EnumerableInitAbstract extends BaseContract {
|
376
|
+
connect(runner?: ContractRunner | null): LSP8EnumerableInitAbstract;
|
380
377
|
waitForDeployment(): Promise<this>;
|
381
378
|
|
382
|
-
interface:
|
379
|
+
interface: LSP8EnumerableInitAbstractInterface;
|
383
380
|
|
384
381
|
queryFilter<TCEvent extends TypedContractEvent>(
|
385
382
|
event: TCEvent,
|
@@ -509,6 +506,8 @@ export interface LSP8CappedSupplyInitAbstract extends BaseContract {
|
|
509
506
|
"view"
|
510
507
|
>;
|
511
508
|
|
509
|
+
tokenAt: TypedContractMethod<[index: BigNumberish], [string], "view">;
|
510
|
+
|
512
511
|
tokenIdsOf: TypedContractMethod<
|
513
512
|
[tokenOwner: AddressLike],
|
514
513
|
[string[]],
|
@@ -517,8 +516,6 @@ export interface LSP8CappedSupplyInitAbstract extends BaseContract {
|
|
517
516
|
|
518
517
|
tokenOwnerOf: TypedContractMethod<[tokenId: BytesLike], [string], "view">;
|
519
518
|
|
520
|
-
tokenSupplyCap: TypedContractMethod<[], [bigint], "view">;
|
521
|
-
|
522
519
|
totalSupply: TypedContractMethod<[], [bigint], "view">;
|
523
520
|
|
524
521
|
transfer: TypedContractMethod<
|
@@ -651,15 +648,15 @@ export interface LSP8CappedSupplyInitAbstract extends BaseContract {
|
|
651
648
|
getFunction(
|
652
649
|
nameOrSignature: "supportsInterface"
|
653
650
|
): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
|
651
|
+
getFunction(
|
652
|
+
nameOrSignature: "tokenAt"
|
653
|
+
): TypedContractMethod<[index: BigNumberish], [string], "view">;
|
654
654
|
getFunction(
|
655
655
|
nameOrSignature: "tokenIdsOf"
|
656
656
|
): TypedContractMethod<[tokenOwner: AddressLike], [string[]], "view">;
|
657
657
|
getFunction(
|
658
658
|
nameOrSignature: "tokenOwnerOf"
|
659
659
|
): TypedContractMethod<[tokenId: BytesLike], [string], "view">;
|
660
|
-
getFunction(
|
661
|
-
nameOrSignature: "tokenSupplyCap"
|
662
|
-
): TypedContractMethod<[], [bigint], "view">;
|
663
660
|
getFunction(
|
664
661
|
nameOrSignature: "totalSupply"
|
665
662
|
): TypedContractMethod<[], [bigint], "view">;
|