@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.
@@ -21,9 +21,9 @@ import type {
21
21
  TypedLogDescription,
22
22
  TypedListener,
23
23
  TypedContractMethod,
24
- } from "./common";
24
+ } from "../../common";
25
25
 
26
- export interface LSP8CappedSupplyInitAbstractInterface extends 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 LSP8CappedSupplyInitAbstract extends BaseContract {
379
- connect(runner?: ContractRunner | null): LSP8CappedSupplyInitAbstract;
375
+ export interface LSP8EnumerableInitAbstract extends BaseContract {
376
+ connect(runner?: ContractRunner | null): LSP8EnumerableInitAbstract;
380
377
  waitForDeployment(): Promise<this>;
381
378
 
382
- interface: LSP8CappedSupplyInitAbstractInterface;
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">;