@iconlake/client 0.1.11 → 0.1.13

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.
@@ -2,7 +2,11 @@ import _m0 from "protobufjs/minimal";
2
2
  export declare const protobufPackage = "iconlake.icon";
3
3
  export interface ClassData {
4
4
  author: string;
5
- createTime: string;
5
+ createTime: number;
6
+ }
7
+ export interface ClassDataRaw {
8
+ author: Uint8Array;
9
+ createTime: number;
6
10
  }
7
11
  export declare const ClassData: {
8
12
  encode(message: ClassData, writer?: _m0.Writer): _m0.Writer;
@@ -11,12 +15,25 @@ export declare const ClassData: {
11
15
  toJSON(message: ClassData): unknown;
12
16
  fromPartial<I extends {
13
17
  author?: string;
14
- createTime?: string;
18
+ createTime?: number;
15
19
  } & {
16
20
  author?: string;
17
- createTime?: string;
21
+ createTime?: number;
18
22
  } & { [K in Exclude<keyof I, keyof ClassData>]: never; }>(object: I): ClassData;
19
23
  };
24
+ export declare const ClassDataRaw: {
25
+ encode(message: ClassDataRaw, writer?: _m0.Writer): _m0.Writer;
26
+ decode(input: _m0.Reader | Uint8Array, length?: number): ClassDataRaw;
27
+ fromJSON(object: any): ClassDataRaw;
28
+ toJSON(message: ClassDataRaw): unknown;
29
+ fromPartial<I extends {
30
+ author?: Uint8Array;
31
+ createTime?: number;
32
+ } & {
33
+ author?: Uint8Array;
34
+ createTime?: number;
35
+ } & { [K in Exclude<keyof I, keyof ClassDataRaw>]: never; }>(object: I): ClassDataRaw;
36
+ };
20
37
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
21
38
  export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
22
39
  [K in keyof T]?: DeepPartial<T[K]>;
@@ -4,7 +4,13 @@ export interface IconData {
4
4
  author: string;
5
5
  name: string;
6
6
  description: string;
7
- createTime: string;
7
+ createTime: number;
8
+ }
9
+ export interface IconDataRaw {
10
+ author: Uint8Array;
11
+ name: string;
12
+ description: string;
13
+ createTime: number;
8
14
  }
9
15
  export declare const IconData: {
10
16
  encode(message: IconData, writer?: _m0.Writer): _m0.Writer;
@@ -15,14 +21,31 @@ export declare const IconData: {
15
21
  author?: string;
16
22
  name?: string;
17
23
  description?: string;
18
- createTime?: string;
24
+ createTime?: number;
19
25
  } & {
20
26
  author?: string;
21
27
  name?: string;
22
28
  description?: string;
23
- createTime?: string;
29
+ createTime?: number;
24
30
  } & { [K in Exclude<keyof I, keyof IconData>]: never; }>(object: I): IconData;
25
31
  };
32
+ export declare const IconDataRaw: {
33
+ encode(message: IconDataRaw, writer?: _m0.Writer): _m0.Writer;
34
+ decode(input: _m0.Reader | Uint8Array, length?: number): IconDataRaw;
35
+ fromJSON(object: any): IconDataRaw;
36
+ toJSON(message: IconDataRaw): unknown;
37
+ fromPartial<I extends {
38
+ author?: Uint8Array;
39
+ name?: string;
40
+ description?: string;
41
+ createTime?: number;
42
+ } & {
43
+ author?: Uint8Array;
44
+ name?: string;
45
+ description?: string;
46
+ createTime?: number;
47
+ } & { [K in Exclude<keyof I, keyof IconDataRaw>]: never; }>(object: I): IconDataRaw;
48
+ };
26
49
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
27
50
  export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
28
51
  [K in keyof T]?: DeepPartial<T[K]>;
@@ -1,4 +1,8 @@
1
1
  import _m0 from "protobufjs/minimal";
2
+ import { PageResponse } from "../../cosmos/base/query/v1beta1/pagination";
3
+ import { QueryClassesRequest, QueryNFTsRequest } from "../../cosmos/nft/v1beta1/query";
4
+ import { ClassData } from "./class_data";
5
+ import { IconData } from "./icon_data";
2
6
  import { Params } from "./params";
3
7
  export declare const protobufPackage = "iconlake.icon";
4
8
  /** QueryParamsRequest is request type for the Query/Params RPC method. */
@@ -17,6 +21,43 @@ export interface QueryHashResponse {
17
21
  graphHash: string;
18
22
  fileHash: string;
19
23
  }
24
+ export interface NFT {
25
+ classId: string;
26
+ id: string;
27
+ uri: string;
28
+ uriHash: string;
29
+ data: IconData | undefined;
30
+ }
31
+ export interface QueryNFTRequest {
32
+ classId: string;
33
+ id: string;
34
+ }
35
+ export interface QueryNFTResponse {
36
+ nft: NFT | undefined;
37
+ }
38
+ export interface QueryNFTsResponse {
39
+ nfts: NFT[];
40
+ pagination: PageResponse | undefined;
41
+ }
42
+ export interface QueryClassRequest {
43
+ id: string;
44
+ }
45
+ export interface Class {
46
+ id: string;
47
+ name: string;
48
+ symbol: string;
49
+ description: string;
50
+ uri: string;
51
+ uriHash: string;
52
+ data: ClassData | undefined;
53
+ }
54
+ export interface QueryClassResponse {
55
+ class: Class | undefined;
56
+ }
57
+ export interface QueryClassesResponse {
58
+ classes: Class[];
59
+ pagination: PageResponse | undefined;
60
+ }
20
61
  export declare const QueryParamsRequest: {
21
62
  encode(_: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer;
22
63
  decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest;
@@ -61,18 +102,378 @@ export declare const QueryHashResponse: {
61
102
  fileHash?: string;
62
103
  } & { [K in Exclude<keyof I, keyof QueryHashResponse>]: never; }>(object: I): QueryHashResponse;
63
104
  };
105
+ export declare const NFT: {
106
+ encode(message: NFT, writer?: _m0.Writer): _m0.Writer;
107
+ decode(input: _m0.Reader | Uint8Array, length?: number): NFT;
108
+ fromJSON(object: any): NFT;
109
+ toJSON(message: NFT): unknown;
110
+ fromPartial<I extends {
111
+ classId?: string;
112
+ id?: string;
113
+ uri?: string;
114
+ uriHash?: string;
115
+ data?: {
116
+ author?: string;
117
+ name?: string;
118
+ description?: string;
119
+ createTime?: number;
120
+ };
121
+ } & {
122
+ classId?: string;
123
+ id?: string;
124
+ uri?: string;
125
+ uriHash?: string;
126
+ data?: {
127
+ author?: string;
128
+ name?: string;
129
+ description?: string;
130
+ createTime?: number;
131
+ } & {
132
+ author?: string;
133
+ name?: string;
134
+ description?: string;
135
+ createTime?: number;
136
+ } & { [K in Exclude<keyof I["data"], keyof IconData>]: never; };
137
+ } & { [K_1 in Exclude<keyof I, keyof NFT>]: never; }>(object: I): NFT;
138
+ };
139
+ export declare const QueryNFTRequest: {
140
+ encode(message: QueryNFTRequest, writer?: _m0.Writer): _m0.Writer;
141
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTRequest;
142
+ fromJSON(object: any): QueryNFTRequest;
143
+ toJSON(message: QueryNFTRequest): unknown;
144
+ fromPartial<I extends {
145
+ classId?: string;
146
+ id?: string;
147
+ } & {
148
+ classId?: string;
149
+ id?: string;
150
+ } & { [K in Exclude<keyof I, keyof QueryNFTRequest>]: never; }>(object: I): QueryNFTRequest;
151
+ };
152
+ export declare const QueryNFTResponse: {
153
+ encode(message: QueryNFTResponse, writer?: _m0.Writer): _m0.Writer;
154
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTResponse;
155
+ fromJSON(object: any): QueryNFTResponse;
156
+ toJSON(message: QueryNFTResponse): unknown;
157
+ fromPartial<I extends {
158
+ nft?: {
159
+ classId?: string;
160
+ id?: string;
161
+ uri?: string;
162
+ uriHash?: string;
163
+ data?: {
164
+ author?: string;
165
+ name?: string;
166
+ description?: string;
167
+ createTime?: number;
168
+ };
169
+ };
170
+ } & {
171
+ nft?: {
172
+ classId?: string;
173
+ id?: string;
174
+ uri?: string;
175
+ uriHash?: string;
176
+ data?: {
177
+ author?: string;
178
+ name?: string;
179
+ description?: string;
180
+ createTime?: number;
181
+ };
182
+ } & {
183
+ classId?: string;
184
+ id?: string;
185
+ uri?: string;
186
+ uriHash?: string;
187
+ data?: {
188
+ author?: string;
189
+ name?: string;
190
+ description?: string;
191
+ createTime?: number;
192
+ } & {
193
+ author?: string;
194
+ name?: string;
195
+ description?: string;
196
+ createTime?: number;
197
+ } & { [K in Exclude<keyof I["nft"]["data"], keyof IconData>]: never; };
198
+ } & { [K_1 in Exclude<keyof I["nft"], keyof NFT>]: never; };
199
+ } & { [K_2 in Exclude<keyof I, "nft">]: never; }>(object: I): QueryNFTResponse;
200
+ };
201
+ export declare const QueryNFTsResponse: {
202
+ encode(message: QueryNFTsResponse, writer?: _m0.Writer): _m0.Writer;
203
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTsResponse;
204
+ fromJSON(object: any): QueryNFTsResponse;
205
+ toJSON(message: QueryNFTsResponse): unknown;
206
+ fromPartial<I extends {
207
+ nfts?: {
208
+ classId?: string;
209
+ id?: string;
210
+ uri?: string;
211
+ uriHash?: string;
212
+ data?: {
213
+ author?: string;
214
+ name?: string;
215
+ description?: string;
216
+ createTime?: number;
217
+ };
218
+ }[];
219
+ pagination?: {
220
+ nextKey?: Uint8Array;
221
+ total?: number;
222
+ };
223
+ } & {
224
+ nfts?: {
225
+ classId?: string;
226
+ id?: string;
227
+ uri?: string;
228
+ uriHash?: string;
229
+ data?: {
230
+ author?: string;
231
+ name?: string;
232
+ description?: string;
233
+ createTime?: number;
234
+ };
235
+ }[] & ({
236
+ classId?: string;
237
+ id?: string;
238
+ uri?: string;
239
+ uriHash?: string;
240
+ data?: {
241
+ author?: string;
242
+ name?: string;
243
+ description?: string;
244
+ createTime?: number;
245
+ };
246
+ } & {
247
+ classId?: string;
248
+ id?: string;
249
+ uri?: string;
250
+ uriHash?: string;
251
+ data?: {
252
+ author?: string;
253
+ name?: string;
254
+ description?: string;
255
+ createTime?: number;
256
+ } & {
257
+ author?: string;
258
+ name?: string;
259
+ description?: string;
260
+ createTime?: number;
261
+ } & { [K in Exclude<keyof I["nfts"][number]["data"], keyof IconData>]: never; };
262
+ } & { [K_1 in Exclude<keyof I["nfts"][number], keyof NFT>]: never; })[] & { [K_2 in Exclude<keyof I["nfts"], keyof {
263
+ classId?: string;
264
+ id?: string;
265
+ uri?: string;
266
+ uriHash?: string;
267
+ data?: {
268
+ author?: string;
269
+ name?: string;
270
+ description?: string;
271
+ createTime?: number;
272
+ };
273
+ }[]>]: never; };
274
+ pagination?: {
275
+ nextKey?: Uint8Array;
276
+ total?: number;
277
+ } & {
278
+ nextKey?: Uint8Array;
279
+ total?: number;
280
+ } & { [K_3 in Exclude<keyof I["pagination"], keyof PageResponse>]: never; };
281
+ } & { [K_4 in Exclude<keyof I, keyof QueryNFTsResponse>]: never; }>(object: I): QueryNFTsResponse;
282
+ };
283
+ export declare const QueryClassRequest: {
284
+ encode(message: QueryClassRequest, writer?: _m0.Writer): _m0.Writer;
285
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassRequest;
286
+ fromJSON(object: any): QueryClassRequest;
287
+ toJSON(message: QueryClassRequest): unknown;
288
+ fromPartial<I extends {
289
+ id?: string;
290
+ } & {
291
+ id?: string;
292
+ } & { [K in Exclude<keyof I, "id">]: never; }>(object: I): QueryClassRequest;
293
+ };
294
+ export declare const Class: {
295
+ encode(message: Class, writer?: _m0.Writer): _m0.Writer;
296
+ decode(input: _m0.Reader | Uint8Array, length?: number): Class;
297
+ fromJSON(object: any): Class;
298
+ toJSON(message: Class): unknown;
299
+ fromPartial<I extends {
300
+ id?: string;
301
+ name?: string;
302
+ symbol?: string;
303
+ description?: string;
304
+ uri?: string;
305
+ uriHash?: string;
306
+ data?: {
307
+ author?: string;
308
+ createTime?: number;
309
+ };
310
+ } & {
311
+ id?: string;
312
+ name?: string;
313
+ symbol?: string;
314
+ description?: string;
315
+ uri?: string;
316
+ uriHash?: string;
317
+ data?: {
318
+ author?: string;
319
+ createTime?: number;
320
+ } & {
321
+ author?: string;
322
+ createTime?: number;
323
+ } & { [K in Exclude<keyof I["data"], keyof ClassData>]: never; };
324
+ } & { [K_1 in Exclude<keyof I, keyof Class>]: never; }>(object: I): Class;
325
+ };
326
+ export declare const QueryClassResponse: {
327
+ encode(message: QueryClassResponse, writer?: _m0.Writer): _m0.Writer;
328
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassResponse;
329
+ fromJSON(object: any): QueryClassResponse;
330
+ toJSON(message: QueryClassResponse): unknown;
331
+ fromPartial<I extends {
332
+ class?: {
333
+ id?: string;
334
+ name?: string;
335
+ symbol?: string;
336
+ description?: string;
337
+ uri?: string;
338
+ uriHash?: string;
339
+ data?: {
340
+ author?: string;
341
+ createTime?: number;
342
+ };
343
+ };
344
+ } & {
345
+ class?: {
346
+ id?: string;
347
+ name?: string;
348
+ symbol?: string;
349
+ description?: string;
350
+ uri?: string;
351
+ uriHash?: string;
352
+ data?: {
353
+ author?: string;
354
+ createTime?: number;
355
+ };
356
+ } & {
357
+ id?: string;
358
+ name?: string;
359
+ symbol?: string;
360
+ description?: string;
361
+ uri?: string;
362
+ uriHash?: string;
363
+ data?: {
364
+ author?: string;
365
+ createTime?: number;
366
+ } & {
367
+ author?: string;
368
+ createTime?: number;
369
+ } & { [K in Exclude<keyof I["class"]["data"], keyof ClassData>]: never; };
370
+ } & { [K_1 in Exclude<keyof I["class"], keyof Class>]: never; };
371
+ } & { [K_2 in Exclude<keyof I, "class">]: never; }>(object: I): QueryClassResponse;
372
+ };
373
+ export declare const QueryClassesResponse: {
374
+ encode(message: QueryClassesResponse, writer?: _m0.Writer): _m0.Writer;
375
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassesResponse;
376
+ fromJSON(object: any): QueryClassesResponse;
377
+ toJSON(message: QueryClassesResponse): unknown;
378
+ fromPartial<I extends {
379
+ classes?: {
380
+ id?: string;
381
+ name?: string;
382
+ symbol?: string;
383
+ description?: string;
384
+ uri?: string;
385
+ uriHash?: string;
386
+ data?: {
387
+ author?: string;
388
+ createTime?: number;
389
+ };
390
+ }[];
391
+ pagination?: {
392
+ nextKey?: Uint8Array;
393
+ total?: number;
394
+ };
395
+ } & {
396
+ classes?: {
397
+ id?: string;
398
+ name?: string;
399
+ symbol?: string;
400
+ description?: string;
401
+ uri?: string;
402
+ uriHash?: string;
403
+ data?: {
404
+ author?: string;
405
+ createTime?: number;
406
+ };
407
+ }[] & ({
408
+ id?: string;
409
+ name?: string;
410
+ symbol?: string;
411
+ description?: string;
412
+ uri?: string;
413
+ uriHash?: string;
414
+ data?: {
415
+ author?: string;
416
+ createTime?: number;
417
+ };
418
+ } & {
419
+ id?: string;
420
+ name?: string;
421
+ symbol?: string;
422
+ description?: string;
423
+ uri?: string;
424
+ uriHash?: string;
425
+ data?: {
426
+ author?: string;
427
+ createTime?: number;
428
+ } & {
429
+ author?: string;
430
+ createTime?: number;
431
+ } & { [K in Exclude<keyof I["classes"][number]["data"], keyof ClassData>]: never; };
432
+ } & { [K_1 in Exclude<keyof I["classes"][number], keyof Class>]: never; })[] & { [K_2 in Exclude<keyof I["classes"], keyof {
433
+ id?: string;
434
+ name?: string;
435
+ symbol?: string;
436
+ description?: string;
437
+ uri?: string;
438
+ uriHash?: string;
439
+ data?: {
440
+ author?: string;
441
+ createTime?: number;
442
+ };
443
+ }[]>]: never; };
444
+ pagination?: {
445
+ nextKey?: Uint8Array;
446
+ total?: number;
447
+ } & {
448
+ nextKey?: Uint8Array;
449
+ total?: number;
450
+ } & { [K_3 in Exclude<keyof I["pagination"], keyof PageResponse>]: never; };
451
+ } & { [K_4 in Exclude<keyof I, keyof QueryClassesResponse>]: never; }>(object: I): QueryClassesResponse;
452
+ };
64
453
  /** Query defines the gRPC querier service. */
65
454
  export interface Query {
66
455
  /** Parameters queries the parameters of the module. */
67
456
  Params(request: QueryParamsRequest): Promise<QueryParamsResponse>;
68
- /** Queries a list of Hash items. */
457
+ /** Queries hash of a uri. */
69
458
  Hash(request: QueryHashRequest): Promise<QueryHashResponse>;
459
+ /** Queries a NFT info. */
460
+ NFT(request: QueryNFTRequest): Promise<QueryNFTResponse>;
461
+ /** Queries a list of NFTs of a class. */
462
+ NFTs(request: QueryNFTsRequest): Promise<QueryNFTsResponse>;
463
+ /** Queries a class info. */
464
+ Class(request: QueryClassRequest): Promise<QueryClassResponse>;
465
+ /** Queries a list of Class items. */
466
+ Classes(request: QueryClassesRequest): Promise<QueryClassesResponse>;
70
467
  }
71
468
  export declare class QueryClientImpl implements Query {
72
469
  private readonly rpc;
73
470
  constructor(rpc: Rpc);
74
471
  Params(request: QueryParamsRequest): Promise<QueryParamsResponse>;
75
472
  Hash(request: QueryHashRequest): Promise<QueryHashResponse>;
473
+ NFT(request: QueryNFTRequest): Promise<QueryNFTResponse>;
474
+ NFTs(request: QueryNFTsRequest): Promise<QueryNFTsResponse>;
475
+ Class(request: QueryClassRequest): Promise<QueryClassResponse>;
476
+ Classes(request: QueryClassesRequest): Promise<QueryClassesResponse>;
76
477
  }
77
478
  interface Rpc {
78
479
  request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
@@ -1,17 +1,28 @@
1
1
  import _m0 from "protobufjs/minimal";
2
- import { IconData } from "./icon_data";
3
2
  export declare const protobufPackage = "iconlake.icon";
4
3
  export interface MsgMint {
5
4
  creator: string;
6
5
  classId: string;
7
6
  id: string;
7
+ name: string;
8
+ description: string;
8
9
  uri: string;
9
10
  uriHash: string;
10
- data: IconData | undefined;
11
11
  supply: number;
12
12
  }
13
13
  export interface MsgMintResponse {
14
14
  }
15
+ export interface MsgUpdateClass {
16
+ creator: string;
17
+ id: string;
18
+ name: string;
19
+ symbol: string;
20
+ description: string;
21
+ uri: string;
22
+ uriHash: string;
23
+ }
24
+ export interface MsgUpdateClassResponse {
25
+ }
15
26
  export declare const MsgMint: {
16
27
  encode(message: MsgMint, writer?: _m0.Writer): _m0.Writer;
17
28
  decode(input: _m0.Reader | Uint8Array, length?: number): MsgMint;
@@ -21,34 +32,21 @@ export declare const MsgMint: {
21
32
  creator?: string;
22
33
  classId?: string;
23
34
  id?: string;
35
+ name?: string;
36
+ description?: string;
24
37
  uri?: string;
25
38
  uriHash?: string;
26
- data?: {
27
- author?: string;
28
- name?: string;
29
- description?: string;
30
- createTime?: string;
31
- };
32
39
  supply?: number;
33
40
  } & {
34
41
  creator?: string;
35
42
  classId?: string;
36
43
  id?: string;
44
+ name?: string;
45
+ description?: string;
37
46
  uri?: string;
38
47
  uriHash?: string;
39
- data?: {
40
- author?: string;
41
- name?: string;
42
- description?: string;
43
- createTime?: string;
44
- } & {
45
- author?: string;
46
- name?: string;
47
- description?: string;
48
- createTime?: string;
49
- } & { [K in Exclude<keyof I["data"], keyof IconData>]: never; };
50
48
  supply?: number;
51
- } & { [K_1 in Exclude<keyof I, keyof MsgMint>]: never; }>(object: I): MsgMint;
49
+ } & { [K in Exclude<keyof I, keyof MsgMint>]: never; }>(object: I): MsgMint;
52
50
  };
53
51
  export declare const MsgMintResponse: {
54
52
  encode(_: MsgMintResponse, writer?: _m0.Writer): _m0.Writer;
@@ -57,14 +55,46 @@ export declare const MsgMintResponse: {
57
55
  toJSON(_: MsgMintResponse): unknown;
58
56
  fromPartial<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(_: I): MsgMintResponse;
59
57
  };
58
+ export declare const MsgUpdateClass: {
59
+ encode(message: MsgUpdateClass, writer?: _m0.Writer): _m0.Writer;
60
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClass;
61
+ fromJSON(object: any): MsgUpdateClass;
62
+ toJSON(message: MsgUpdateClass): unknown;
63
+ fromPartial<I extends {
64
+ creator?: string;
65
+ id?: string;
66
+ name?: string;
67
+ symbol?: string;
68
+ description?: string;
69
+ uri?: string;
70
+ uriHash?: string;
71
+ } & {
72
+ creator?: string;
73
+ id?: string;
74
+ name?: string;
75
+ symbol?: string;
76
+ description?: string;
77
+ uri?: string;
78
+ uriHash?: string;
79
+ } & { [K in Exclude<keyof I, keyof MsgUpdateClass>]: never; }>(object: I): MsgUpdateClass;
80
+ };
81
+ export declare const MsgUpdateClassResponse: {
82
+ encode(_: MsgUpdateClassResponse, writer?: _m0.Writer): _m0.Writer;
83
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClassResponse;
84
+ fromJSON(_: any): MsgUpdateClassResponse;
85
+ toJSON(_: MsgUpdateClassResponse): unknown;
86
+ fromPartial<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(_: I): MsgUpdateClassResponse;
87
+ };
60
88
  /** Msg defines the Msg service. */
61
89
  export interface Msg {
62
90
  Mint(request: MsgMint): Promise<MsgMintResponse>;
91
+ UpdateClass(request: MsgUpdateClass): Promise<MsgUpdateClassResponse>;
63
92
  }
64
93
  export declare class MsgClientImpl implements Msg {
65
94
  private readonly rpc;
66
95
  constructor(rpc: Rpc);
67
96
  Mint(request: MsgMint): Promise<MsgMintResponse>;
97
+ UpdateClass(request: MsgUpdateClass): Promise<MsgUpdateClassResponse>;
68
98
  }
69
99
  interface Rpc {
70
100
  request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
@@ -1,4 +1,10 @@
1
1
  import { ClassData } from "./types/iconlake/icon/class_data";
2
+ import { ClassDataRaw } from "./types/iconlake/icon/class_data";
2
3
  import { IconData } from "./types/iconlake/icon/icon_data";
4
+ import { IconDataRaw } from "./types/iconlake/icon/icon_data";
3
5
  import { Params } from "./types/iconlake/icon/params";
4
- export { ClassData, IconData, Params, };
6
+ import { NFT } from "./types/iconlake/icon/query";
7
+ import { QueryNFTsResponse } from "./types/iconlake/icon/query";
8
+ import { Class } from "./types/iconlake/icon/query";
9
+ import { QueryClassesResponse } from "./types/iconlake/icon/query";
10
+ export { ClassData, ClassDataRaw, IconData, IconDataRaw, Params, NFT, QueryNFTsResponse, Class, QueryClassesResponse, };
package/types/index.d.ts CHANGED
@@ -651,22 +651,22 @@ declare const Client: typeof IgniteClient & import("./helpers").Constructor<{
651
651
  IconlakeDrop: {
652
652
  query: import("./iconlake.drop/rest").Api<unknown>;
653
653
  tx: {
654
- sendMsgInit({ value, fee, memo }: {
655
- value: import("./iconlake.drop/module").MsgInit;
656
- fee?: import("@cosmjs/launchpad").StdFee;
657
- memo?: string;
658
- }): Promise<import("@cosmjs/stargate").DeliverTxResponse>;
659
654
  sendMsgMint({ value, fee, memo }: {
660
655
  value: import("./iconlake.drop/module").MsgMint;
661
656
  fee?: import("@cosmjs/launchpad").StdFee;
662
657
  memo?: string;
663
658
  }): Promise<import("@cosmjs/stargate").DeliverTxResponse>;
664
- msgInit({ value }: {
659
+ sendMsgInit({ value, fee, memo }: {
665
660
  value: import("./iconlake.drop/module").MsgInit;
666
- }): import("@cosmjs/proto-signing").EncodeObject;
661
+ fee?: import("@cosmjs/launchpad").StdFee;
662
+ memo?: string;
663
+ }): Promise<import("@cosmjs/stargate").DeliverTxResponse>;
667
664
  msgMint({ value }: {
668
665
  value: import("./iconlake.drop/module").MsgMint;
669
666
  }): import("@cosmjs/proto-signing").EncodeObject;
667
+ msgInit({ value }: {
668
+ value: import("./iconlake.drop/module").MsgInit;
669
+ }): import("@cosmjs/proto-signing").EncodeObject;
670
670
  };
671
671
  structure: Record<string, unknown>;
672
672
  registry: [string, import("@cosmjs/proto-signing").GeneratedType][];
@@ -681,9 +681,17 @@ declare const Client: typeof IgniteClient & import("./helpers").Constructor<{
681
681
  fee?: import("@cosmjs/launchpad").StdFee;
682
682
  memo?: string;
683
683
  }): Promise<import("@cosmjs/stargate").DeliverTxResponse>;
684
+ sendMsgUpdateClass({ value, fee, memo }: {
685
+ value: import("./iconlake.icon/module").MsgUpdateClass;
686
+ fee?: import("@cosmjs/launchpad").StdFee;
687
+ memo?: string;
688
+ }): Promise<import("@cosmjs/stargate").DeliverTxResponse>;
684
689
  msgMint({ value }: {
685
690
  value: import("./iconlake.icon/module").MsgMint;
686
691
  }): import("@cosmjs/proto-signing").EncodeObject;
692
+ msgUpdateClass({ value }: {
693
+ value: import("./iconlake.icon/module").MsgUpdateClass;
694
+ }): import("@cosmjs/proto-signing").EncodeObject;
687
695
  };
688
696
  structure: Record<string, unknown>;
689
697
  registry: [string, import("@cosmjs/proto-signing").GeneratedType][];