Skip to content

Commit c0287db

Browse files
authored
Update Package Json (#10)
1 parent e54e800 commit c0287db

File tree

14 files changed

+5155
-4212
lines changed

14 files changed

+5155
-4212
lines changed

‎codegen/CwLotto.client.ts‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* This file was automatically generated by @cosmwasm/ts-codegen@0.24.0.
2+
* This file was automatically generated by @cosmwasm/ts-codegen@0.31.6.
33
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
44
* and run the @cosmwasm/ts-codegen generate command to regenerate this file.
55
*/
@@ -58,13 +58,13 @@ export interface CwLottoInterface extends CwLottoReadOnlyInterface {
5858
numTickets
5959
}: {
6060
numTickets: number;
61-
}, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
61+
}, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
6262
executeLottery: ({
6363
seed
6464
}: {
6565
seed: number;
66-
}, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
67-
claimTokens: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
66+
}, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
67+
claimTokens: (fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
6868
}
6969
export class CwLottoClient extends CwLottoQueryClient implements CwLottoInterface {
7070
client: SigningCosmWasmClient;
@@ -85,27 +85,27 @@ export class CwLottoClient extends CwLottoQueryClient implements CwLottoInterfac
8585
numTickets
8686
}: {
8787
numTickets: number;
88-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
88+
}, fee: number | StdFee | "auto" = "auto", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
8989
return await this.client.execute(this.sender, this.contractAddress, {
9090
buy_ticket: {
9191
num_tickets: numTickets
9292
}
93-
}, fee, memo, funds);
93+
}, fee, memo, _funds);
9494
};
9595
executeLottery = async ({
9696
seed
9797
}: {
9898
seed: number;
99-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
99+
}, fee: number | StdFee | "auto" = "auto", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
100100
return await this.client.execute(this.sender, this.contractAddress, {
101101
execute_lottery: {
102102
seed
103103
}
104-
}, fee, memo, funds);
104+
}, fee, memo, _funds);
105105
};
106-
claimTokens = async (fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
106+
claimTokens = async (fee: number | StdFee | "auto" = "auto", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
107107
return await this.client.execute(this.sender, this.contractAddress, {
108108
claim_tokens: {}
109-
}, fee, memo, funds);
109+
}, fee, memo, _funds);
110110
};
111111
}

‎codegen/CwLotto.types.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* This file was automatically generated by @cosmwasm/ts-codegen@0.24.0.
2+
* This file was automatically generated by @cosmwasm/ts-codegen@0.31.6.
33
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
44
* and run the @cosmwasm/ts-codegen generate command to regenerate this file.
55
*/

‎codegen/HackCw20.client.ts‎

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* This file was automatically generated by @cosmwasm/ts-codegen@0.24.0.
2+
* This file was automatically generated by @cosmwasm/ts-codegen@0.31.6.
33
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
44
* and run the @cosmwasm/ts-codegen generate command to regenerate this file.
55
*/
@@ -172,12 +172,12 @@ export interface HackCw20Interface extends HackCw20ReadOnlyInterface {
172172
}: {
173173
amount: Uint128;
174174
recipient: string;
175-
}, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
175+
}, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
176176
burn: ({
177177
amount
178178
}: {
179179
amount: Uint128;
180-
}, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
180+
}, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
181181
send: ({
182182
amount,
183183
contract,
@@ -186,7 +186,7 @@ export interface HackCw20Interface extends HackCw20ReadOnlyInterface {
186186
amount: Uint128;
187187
contract: string;
188188
msg: Binary;
189-
}, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
189+
}, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
190190
increaseAllowance: ({
191191
amount,
192192
expires,
@@ -195,7 +195,7 @@ export interface HackCw20Interface extends HackCw20ReadOnlyInterface {
195195
amount: Uint128;
196196
expires?: Expiration;
197197
spender: string;
198-
}, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
198+
}, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
199199
decreaseAllowance: ({
200200
amount,
201201
expires,
@@ -204,7 +204,7 @@ export interface HackCw20Interface extends HackCw20ReadOnlyInterface {
204204
amount: Uint128;
205205
expires?: Expiration;
206206
spender: string;
207-
}, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
207+
}, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
208208
transferFrom: ({
209209
amount,
210210
owner,
@@ -213,7 +213,7 @@ export interface HackCw20Interface extends HackCw20ReadOnlyInterface {
213213
amount: Uint128;
214214
owner: string;
215215
recipient: string;
216-
}, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
216+
}, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
217217
sendFrom: ({
218218
amount,
219219
contract,
@@ -224,26 +224,26 @@ export interface HackCw20Interface extends HackCw20ReadOnlyInterface {
224224
contract: string;
225225
msg: Binary;
226226
owner: string;
227-
}, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
227+
}, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
228228
burnFrom: ({
229229
amount,
230230
owner
231231
}: {
232232
amount: Uint128;
233233
owner: string;
234-
}, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
234+
}, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
235235
mint: ({
236236
amount,
237237
recipient
238238
}: {
239239
amount: Uint128;
240240
recipient: string;
241-
}, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
241+
}, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
242242
updateMinter: ({
243243
newMinter
244244
}: {
245245
newMinter?: string;
246-
}, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
246+
}, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
247247
updateMarketing: ({
248248
description,
249249
marketing,
@@ -252,8 +252,8 @@ export interface HackCw20Interface extends HackCw20ReadOnlyInterface {
252252
description?: string;
253253
marketing?: string;
254254
project?: string;
255-
}, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
256-
uploadLogo: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
255+
}, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
256+
uploadLogo: (logo: Logo, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
257257
}
258258
export class HackCw20Client extends HackCw20QueryClient implements HackCw20Interface {
259259
client: SigningCosmWasmClient;
@@ -285,24 +285,24 @@ export class HackCw20Client extends HackCw20QueryClient implements HackCw20Inter
285285
}: {
286286
amount: Uint128;
287287
recipient: string;
288-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
288+
}, fee: number | StdFee | "auto" = "auto", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
289289
return await this.client.execute(this.sender, this.contractAddress, {
290290
transfer: {
291291
amount,
292292
recipient
293293
}
294-
}, fee, memo, funds);
294+
}, fee, memo, _funds);
295295
};
296296
burn = async ({
297297
amount
298298
}: {
299299
amount: Uint128;
300-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
300+
}, fee: number | StdFee | "auto" = "auto", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
301301
return await this.client.execute(this.sender, this.contractAddress, {
302302
burn: {
303303
amount
304304
}
305-
}, fee, memo, funds);
305+
}, fee, memo, _funds);
306306
};
307307
send = async ({
308308
amount,
@@ -312,14 +312,14 @@ export class HackCw20Client extends HackCw20QueryClient implements HackCw20Inter
312312
amount: Uint128;
313313
contract: string;
314314
msg: Binary;
315-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
315+
}, fee: number | StdFee | "auto" = "auto", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
316316
return await this.client.execute(this.sender, this.contractAddress, {
317317
send: {
318318
amount,
319319
contract,
320320
msg
321321
}
322-
}, fee, memo, funds);
322+
}, fee, memo, _funds);
323323
};
324324
increaseAllowance = async ({
325325
amount,
@@ -329,14 +329,14 @@ export class HackCw20Client extends HackCw20QueryClient implements HackCw20Inter
329329
amount: Uint128;
330330
expires?: Expiration;
331331
spender: string;
332-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
332+
}, fee: number | StdFee | "auto" = "auto", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
333333
return await this.client.execute(this.sender, this.contractAddress, {
334334
increase_allowance: {
335335
amount,
336336
expires,
337337
spender
338338
}
339-
}, fee, memo, funds);
339+
}, fee, memo, _funds);
340340
};
341341
decreaseAllowance = async ({
342342
amount,
@@ -346,14 +346,14 @@ export class HackCw20Client extends HackCw20QueryClient implements HackCw20Inter
346346
amount: Uint128;
347347
expires?: Expiration;
348348
spender: string;
349-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
349+
}, fee: number | StdFee | "auto" = "auto", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
350350
return await this.client.execute(this.sender, this.contractAddress, {
351351
decrease_allowance: {
352352
amount,
353353
expires,
354354
spender
355355
}
356-
}, fee, memo, funds);
356+
}, fee, memo, _funds);
357357
};
358358
transferFrom = async ({
359359
amount,
@@ -363,14 +363,14 @@ export class HackCw20Client extends HackCw20QueryClient implements HackCw20Inter
363363
amount: Uint128;
364364
owner: string;
365365
recipient: string;
366-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
366+
}, fee: number | StdFee | "auto" = "auto", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
367367
return await this.client.execute(this.sender, this.contractAddress, {
368368
transfer_from: {
369369
amount,
370370
owner,
371371
recipient
372372
}
373-
}, fee, memo, funds);
373+
}, fee, memo, _funds);
374374
};
375375
sendFrom = async ({
376376
amount,
@@ -382,54 +382,54 @@ export class HackCw20Client extends HackCw20QueryClient implements HackCw20Inter
382382
contract: string;
383383
msg: Binary;
384384
owner: string;
385-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
385+
}, fee: number | StdFee | "auto" = "auto", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
386386
return await this.client.execute(this.sender, this.contractAddress, {
387387
send_from: {
388388
amount,
389389
contract,
390390
msg,
391391
owner
392392
}
393-
}, fee, memo, funds);
393+
}, fee, memo, _funds);
394394
};
395395
burnFrom = async ({
396396
amount,
397397
owner
398398
}: {
399399
amount: Uint128;
400400
owner: string;
401-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
401+
}, fee: number | StdFee | "auto" = "auto", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
402402
return await this.client.execute(this.sender, this.contractAddress, {
403403
burn_from: {
404404
amount,
405405
owner
406406
}
407-
}, fee, memo, funds);
407+
}, fee, memo, _funds);
408408
};
409409
mint = async ({
410410
amount,
411411
recipient
412412
}: {
413413
amount: Uint128;
414414
recipient: string;
415-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
415+
}, fee: number | StdFee | "auto" = "auto", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
416416
return await this.client.execute(this.sender, this.contractAddress, {
417417
mint: {
418418
amount,
419419
recipient
420420
}
421-
}, fee, memo, funds);
421+
}, fee, memo, _funds);
422422
};
423423
updateMinter = async ({
424424
newMinter
425425
}: {
426426
newMinter?: string;
427-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
427+
}, fee: number | StdFee | "auto" = "auto", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
428428
return await this.client.execute(this.sender, this.contractAddress, {
429429
update_minter: {
430430
new_minter: newMinter
431431
}
432-
}, fee, memo, funds);
432+
}, fee, memo, _funds);
433433
};
434434
updateMarketing = async ({
435435
description,
@@ -439,18 +439,18 @@ export class HackCw20Client extends HackCw20QueryClient implements HackCw20Inter
439439
description?: string;
440440
marketing?: string;
441441
project?: string;
442-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
442+
}, fee: number | StdFee | "auto" = "auto", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
443443
return await this.client.execute(this.sender, this.contractAddress, {
444444
update_marketing: {
445445
description,
446446
marketing,
447447
project
448448
}
449-
}, fee, memo, funds);
449+
}, fee, memo, _funds);
450450
};
451-
uploadLogo = async (fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
451+
uploadLogo = async (logo: Logo, fee: number | StdFee | "auto" = "auto", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
452452
return await this.client.execute(this.sender, this.contractAddress, {
453-
upload_logo: {}
454-
}, fee, memo, funds);
453+
upload_logo: logo
454+
}, fee, memo, _funds);
455455
};
456456
}

‎codegen/HackCw20.types.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* This file was automatically generated by @cosmwasm/ts-codegen@0.24.0.
2+
* This file was automatically generated by @cosmwasm/ts-codegen@0.31.6.
33
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
44
* and run the @cosmwasm/ts-codegen generate command to regenerate this file.
55
*/

‎codegen/index.ts‎

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
11
/**
2-
* This file was automatically generated by @cosmwasm/ts-codegen@0.24.0.
2+
* This file was automatically generated by @cosmwasm/ts-codegen@0.31.6.
33
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
44
* and run the @cosmwasm/ts-codegen generate command to regenerate this file.
55
*/
66

77
import * as _0 from "./HackCw20.types";
88
import * as _1 from "./HackCw20.client";
9-
import * as _2 from "./CwLotto.types";
10-
import * as _3 from "./CwLotto.client";
9+
import * as _2 from "./HackCw20.provider";
10+
import * as _3 from "./CwLotto.types";
11+
import * as _4 from "./CwLotto.client";
12+
import * as _5 from "./CwLotto.provider";
1113
export namespace contracts {
1214
export const HackCw20 = { ..._0,
13-
..._1
15+
..._1,
16+
..._2
1417
};
15-
export const CwLotto = { ..._2,
16-
..._3
18+
export const CwLotto = { ..._3,
19+
..._4,
20+
..._5
1721
};
1822
}

0 commit comments

Comments
 (0)