wasm-ast-types 0.21.0 → 0.23.0

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.
Files changed (39) hide show
  1. package/main/client/client.js +4 -6
  2. package/main/context/imports.js +1 -1
  3. package/main/message-composer/message-composer.js +3 -5
  4. package/main/react-query/react-query.js +4 -11
  5. package/main/utils/babel.js +1 -0
  6. package/main/utils/constants.js +25 -0
  7. package/main/utils/index.js +22 -1
  8. package/module/client/client.js +3 -4
  9. package/module/context/imports.js +1 -1
  10. package/module/message-composer/message-composer.js +4 -5
  11. package/module/react-query/react-query.js +5 -6
  12. package/module/utils/babel.js +1 -0
  13. package/module/utils/constants.js +6 -0
  14. package/module/utils/index.js +3 -1
  15. package/package.json +2 -2
  16. package/src/client/client.ts +235 -323
  17. package/src/client/test/__snapshots__/ts-client.account-nfts.spec.ts.snap +45 -45
  18. package/src/client/test/__snapshots__/ts-client.arrays-ref.spec.ts.snap +42 -42
  19. package/src/client/test/__snapshots__/ts-client.arrays.spec.ts.snap +3 -3
  20. package/src/client/test/__snapshots__/ts-client.cw-named-groups.test.ts.snap +9 -9
  21. package/src/client/test/__snapshots__/ts-client.cw-proposal-single.test.ts.snap +27 -27
  22. package/src/client/test/__snapshots__/ts-client.issue-101.spec.ts.snap +6 -6
  23. package/src/client/test/__snapshots__/ts-client.issue-71.test.ts.snap +30 -30
  24. package/src/client/test/__snapshots__/ts-client.issue-98.test.ts.snap +9 -9
  25. package/src/client/test/__snapshots__/ts-client.issues.test.ts.snap +78 -78
  26. package/src/client/test/__snapshots__/ts-client.overrides.spec.ts.snap +80 -80
  27. package/src/client/test/__snapshots__/ts-client.sg721.spec.ts.snap +24 -24
  28. package/src/client/test/__snapshots__/ts-client.spec.ts.snap +46 -46
  29. package/src/client/test/__snapshots__/ts-client.vectis.spec.ts.snap +24 -24
  30. package/src/client/test/__snapshots__/ts-client.wager.spec.ts.snap +8 -8
  31. package/src/context/context.ts +2 -0
  32. package/src/context/imports.ts +1 -1
  33. package/src/message-composer/__snapshots__/message-composer.spec.ts.snap +30 -30
  34. package/src/message-composer/message-composer.ts +216 -267
  35. package/src/react-query/react-query.ts +28 -25
  36. package/src/utils/babel.ts +4 -3
  37. package/src/utils/constants.ts +30 -0
  38. package/src/utils/index.ts +2 -0
  39. package/types/context/context.d.ts +2 -0
@@ -27,13 +27,13 @@ exports[`Impl, execExtends, ExtendsClass 1`] = `
27
27
  }: {
28
28
  recipient: string;
29
29
  tokenId: string;
30
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
30
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
31
31
  return await this.client.execute(this.sender, this.contractAddress, {
32
32
  transfer_nft: {
33
33
  recipient,
34
34
  token_id: tokenId
35
35
  }
36
- }, fee, memo, funds);
36
+ }, fee, memo, _funds);
37
37
  };
38
38
  sendNft = async ({
39
39
  contract,
@@ -43,14 +43,14 @@ exports[`Impl, execExtends, ExtendsClass 1`] = `
43
43
  contract: string;
44
44
  msg: Binary;
45
45
  tokenId: string;
46
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
46
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
47
47
  return await this.client.execute(this.sender, this.contractAddress, {
48
48
  send_nft: {
49
49
  contract,
50
50
  msg,
51
51
  token_id: tokenId
52
52
  }
53
- }, fee, memo, funds);
53
+ }, fee, memo, _funds);
54
54
  };
55
55
  approve = async ({
56
56
  expires,
@@ -60,14 +60,14 @@ exports[`Impl, execExtends, ExtendsClass 1`] = `
60
60
  expires?: Expiration;
61
61
  spender: string;
62
62
  tokenId: string;
63
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
63
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
64
64
  return await this.client.execute(this.sender, this.contractAddress, {
65
65
  approve: {
66
66
  expires,
67
67
  spender,
68
68
  token_id: tokenId
69
69
  }
70
- }, fee, memo, funds);
70
+ }, fee, memo, _funds);
71
71
  };
72
72
  revoke = async ({
73
73
  spender,
@@ -75,13 +75,13 @@ exports[`Impl, execExtends, ExtendsClass 1`] = `
75
75
  }: {
76
76
  spender: string;
77
77
  tokenId: string;
78
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
78
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
79
79
  return await this.client.execute(this.sender, this.contractAddress, {
80
80
  revoke: {
81
81
  spender,
82
82
  token_id: tokenId
83
83
  }
84
- }, fee, memo, funds);
84
+ }, fee, memo, _funds);
85
85
  };
86
86
  approveAll = async ({
87
87
  expires,
@@ -89,24 +89,24 @@ exports[`Impl, execExtends, ExtendsClass 1`] = `
89
89
  }: {
90
90
  expires?: Expiration;
91
91
  operator: string;
92
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
92
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
93
93
  return await this.client.execute(this.sender, this.contractAddress, {
94
94
  approve_all: {
95
95
  expires,
96
96
  operator
97
97
  }
98
- }, fee, memo, funds);
98
+ }, fee, memo, _funds);
99
99
  };
100
100
  revokeAll = async ({
101
101
  operator
102
102
  }: {
103
103
  operator: string;
104
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
104
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
105
105
  return await this.client.execute(this.sender, this.contractAddress, {
106
106
  revoke_all: {
107
107
  operator
108
108
  }
109
- }, fee, memo, funds);
109
+ }, fee, memo, _funds);
110
110
  };
111
111
  mint = async ({
112
112
  extension,
@@ -118,7 +118,7 @@ exports[`Impl, execExtends, ExtendsClass 1`] = `
118
118
  owner: string;
119
119
  tokenId: string;
120
120
  tokenUri?: string;
121
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
121
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
122
122
  return await this.client.execute(this.sender, this.contractAddress, {
123
123
  mint: {
124
124
  extension,
@@ -126,18 +126,18 @@ exports[`Impl, execExtends, ExtendsClass 1`] = `
126
126
  token_id: tokenId,
127
127
  token_uri: tokenUri
128
128
  }
129
- }, fee, memo, funds);
129
+ }, fee, memo, _funds);
130
130
  };
131
131
  burn = async ({
132
132
  tokenId
133
133
  }: {
134
134
  tokenId: string;
135
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
135
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
136
136
  return await this.client.execute(this.sender, this.contractAddress, {
137
137
  burn: {
138
138
  token_id: tokenId
139
139
  }
140
- }, fee, memo, funds);
140
+ }, fee, memo, _funds);
141
141
  };
142
142
  }"
143
143
  `;
@@ -168,13 +168,13 @@ exports[`Impl, execExtends, noExtendsClass 1`] = `
168
168
  }: {
169
169
  recipient: string;
170
170
  tokenId: string;
171
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
171
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
172
172
  return await this.client.execute(this.sender, this.contractAddress, {
173
173
  transfer_nft: {
174
174
  recipient,
175
175
  token_id: tokenId
176
176
  }
177
- }, fee, memo, funds);
177
+ }, fee, memo, _funds);
178
178
  };
179
179
  sendNft = async ({
180
180
  contract,
@@ -184,14 +184,14 @@ exports[`Impl, execExtends, noExtendsClass 1`] = `
184
184
  contract: string;
185
185
  msg: Binary;
186
186
  tokenId: string;
187
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
187
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
188
188
  return await this.client.execute(this.sender, this.contractAddress, {
189
189
  send_nft: {
190
190
  contract,
191
191
  msg,
192
192
  token_id: tokenId
193
193
  }
194
- }, fee, memo, funds);
194
+ }, fee, memo, _funds);
195
195
  };
196
196
  approve = async ({
197
197
  expires,
@@ -201,14 +201,14 @@ exports[`Impl, execExtends, noExtendsClass 1`] = `
201
201
  expires?: Expiration;
202
202
  spender: string;
203
203
  tokenId: string;
204
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
204
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
205
205
  return await this.client.execute(this.sender, this.contractAddress, {
206
206
  approve: {
207
207
  expires,
208
208
  spender,
209
209
  token_id: tokenId
210
210
  }
211
- }, fee, memo, funds);
211
+ }, fee, memo, _funds);
212
212
  };
213
213
  revoke = async ({
214
214
  spender,
@@ -216,13 +216,13 @@ exports[`Impl, execExtends, noExtendsClass 1`] = `
216
216
  }: {
217
217
  spender: string;
218
218
  tokenId: string;
219
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
219
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
220
220
  return await this.client.execute(this.sender, this.contractAddress, {
221
221
  revoke: {
222
222
  spender,
223
223
  token_id: tokenId
224
224
  }
225
- }, fee, memo, funds);
225
+ }, fee, memo, _funds);
226
226
  };
227
227
  approveAll = async ({
228
228
  expires,
@@ -230,24 +230,24 @@ exports[`Impl, execExtends, noExtendsClass 1`] = `
230
230
  }: {
231
231
  expires?: Expiration;
232
232
  operator: string;
233
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
233
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
234
234
  return await this.client.execute(this.sender, this.contractAddress, {
235
235
  approve_all: {
236
236
  expires,
237
237
  operator
238
238
  }
239
- }, fee, memo, funds);
239
+ }, fee, memo, _funds);
240
240
  };
241
241
  revokeAll = async ({
242
242
  operator
243
243
  }: {
244
244
  operator: string;
245
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
245
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
246
246
  return await this.client.execute(this.sender, this.contractAddress, {
247
247
  revoke_all: {
248
248
  operator
249
249
  }
250
- }, fee, memo, funds);
250
+ }, fee, memo, _funds);
251
251
  };
252
252
  mint = async ({
253
253
  extension,
@@ -259,7 +259,7 @@ exports[`Impl, execExtends, noExtendsClass 1`] = `
259
259
  owner: string;
260
260
  tokenId: string;
261
261
  tokenUri?: string;
262
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
262
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
263
263
  return await this.client.execute(this.sender, this.contractAddress, {
264
264
  mint: {
265
265
  extension,
@@ -267,18 +267,18 @@ exports[`Impl, execExtends, noExtendsClass 1`] = `
267
267
  token_id: tokenId,
268
268
  token_uri: tokenUri
269
269
  }
270
- }, fee, memo, funds);
270
+ }, fee, memo, _funds);
271
271
  };
272
272
  burn = async ({
273
273
  tokenId
274
274
  }: {
275
275
  tokenId: string;
276
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
276
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
277
277
  return await this.client.execute(this.sender, this.contractAddress, {
278
278
  burn: {
279
279
  token_id: tokenId
280
280
  }
281
- }, fee, memo, funds);
281
+ }, fee, memo, _funds);
282
282
  };
283
283
  }"
284
284
  `;
@@ -310,13 +310,13 @@ exports[`noImpl, execExtends, ExtendsClass 1`] = `
310
310
  }: {
311
311
  recipient: string;
312
312
  tokenId: string;
313
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
313
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
314
314
  return await this.client.execute(this.sender, this.contractAddress, {
315
315
  transfer_nft: {
316
316
  recipient,
317
317
  token_id: tokenId
318
318
  }
319
- }, fee, memo, funds);
319
+ }, fee, memo, _funds);
320
320
  };
321
321
  sendNft = async ({
322
322
  contract,
@@ -326,14 +326,14 @@ exports[`noImpl, execExtends, ExtendsClass 1`] = `
326
326
  contract: string;
327
327
  msg: Binary;
328
328
  tokenId: string;
329
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
329
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
330
330
  return await this.client.execute(this.sender, this.contractAddress, {
331
331
  send_nft: {
332
332
  contract,
333
333
  msg,
334
334
  token_id: tokenId
335
335
  }
336
- }, fee, memo, funds);
336
+ }, fee, memo, _funds);
337
337
  };
338
338
  approve = async ({
339
339
  expires,
@@ -343,14 +343,14 @@ exports[`noImpl, execExtends, ExtendsClass 1`] = `
343
343
  expires?: Expiration;
344
344
  spender: string;
345
345
  tokenId: string;
346
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
346
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
347
347
  return await this.client.execute(this.sender, this.contractAddress, {
348
348
  approve: {
349
349
  expires,
350
350
  spender,
351
351
  token_id: tokenId
352
352
  }
353
- }, fee, memo, funds);
353
+ }, fee, memo, _funds);
354
354
  };
355
355
  revoke = async ({
356
356
  spender,
@@ -358,13 +358,13 @@ exports[`noImpl, execExtends, ExtendsClass 1`] = `
358
358
  }: {
359
359
  spender: string;
360
360
  tokenId: string;
361
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
361
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
362
362
  return await this.client.execute(this.sender, this.contractAddress, {
363
363
  revoke: {
364
364
  spender,
365
365
  token_id: tokenId
366
366
  }
367
- }, fee, memo, funds);
367
+ }, fee, memo, _funds);
368
368
  };
369
369
  approveAll = async ({
370
370
  expires,
@@ -372,24 +372,24 @@ exports[`noImpl, execExtends, ExtendsClass 1`] = `
372
372
  }: {
373
373
  expires?: Expiration;
374
374
  operator: string;
375
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
375
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
376
376
  return await this.client.execute(this.sender, this.contractAddress, {
377
377
  approve_all: {
378
378
  expires,
379
379
  operator
380
380
  }
381
- }, fee, memo, funds);
381
+ }, fee, memo, _funds);
382
382
  };
383
383
  revokeAll = async ({
384
384
  operator
385
385
  }: {
386
386
  operator: string;
387
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
387
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
388
388
  return await this.client.execute(this.sender, this.contractAddress, {
389
389
  revoke_all: {
390
390
  operator
391
391
  }
392
- }, fee, memo, funds);
392
+ }, fee, memo, _funds);
393
393
  };
394
394
  mint = async ({
395
395
  extension,
@@ -401,7 +401,7 @@ exports[`noImpl, execExtends, ExtendsClass 1`] = `
401
401
  owner: string;
402
402
  tokenId: string;
403
403
  tokenUri?: string;
404
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
404
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
405
405
  return await this.client.execute(this.sender, this.contractAddress, {
406
406
  mint: {
407
407
  extension,
@@ -409,18 +409,18 @@ exports[`noImpl, execExtends, ExtendsClass 1`] = `
409
409
  token_id: tokenId,
410
410
  token_uri: tokenUri
411
411
  }
412
- }, fee, memo, funds);
412
+ }, fee, memo, _funds);
413
413
  };
414
414
  burn = async ({
415
415
  tokenId
416
416
  }: {
417
417
  tokenId: string;
418
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
418
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
419
419
  return await this.client.execute(this.sender, this.contractAddress, {
420
420
  burn: {
421
421
  token_id: tokenId
422
422
  }
423
- }, fee, memo, funds);
423
+ }, fee, memo, _funds);
424
424
  };
425
425
  }"
426
426
  `;
@@ -452,13 +452,13 @@ exports[`noImpl, noExecExtends, ExtendsClass 1`] = `
452
452
  }: {
453
453
  recipient: string;
454
454
  tokenId: string;
455
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
455
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
456
456
  return await this.client.execute(this.sender, this.contractAddress, {
457
457
  transfer_nft: {
458
458
  recipient,
459
459
  token_id: tokenId
460
460
  }
461
- }, fee, memo, funds);
461
+ }, fee, memo, _funds);
462
462
  };
463
463
  sendNft = async ({
464
464
  contract,
@@ -468,14 +468,14 @@ exports[`noImpl, noExecExtends, ExtendsClass 1`] = `
468
468
  contract: string;
469
469
  msg: Binary;
470
470
  tokenId: string;
471
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
471
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
472
472
  return await this.client.execute(this.sender, this.contractAddress, {
473
473
  send_nft: {
474
474
  contract,
475
475
  msg,
476
476
  token_id: tokenId
477
477
  }
478
- }, fee, memo, funds);
478
+ }, fee, memo, _funds);
479
479
  };
480
480
  approve = async ({
481
481
  expires,
@@ -485,14 +485,14 @@ exports[`noImpl, noExecExtends, ExtendsClass 1`] = `
485
485
  expires?: Expiration;
486
486
  spender: string;
487
487
  tokenId: string;
488
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
488
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
489
489
  return await this.client.execute(this.sender, this.contractAddress, {
490
490
  approve: {
491
491
  expires,
492
492
  spender,
493
493
  token_id: tokenId
494
494
  }
495
- }, fee, memo, funds);
495
+ }, fee, memo, _funds);
496
496
  };
497
497
  revoke = async ({
498
498
  spender,
@@ -500,13 +500,13 @@ exports[`noImpl, noExecExtends, ExtendsClass 1`] = `
500
500
  }: {
501
501
  spender: string;
502
502
  tokenId: string;
503
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
503
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
504
504
  return await this.client.execute(this.sender, this.contractAddress, {
505
505
  revoke: {
506
506
  spender,
507
507
  token_id: tokenId
508
508
  }
509
- }, fee, memo, funds);
509
+ }, fee, memo, _funds);
510
510
  };
511
511
  approveAll = async ({
512
512
  expires,
@@ -514,24 +514,24 @@ exports[`noImpl, noExecExtends, ExtendsClass 1`] = `
514
514
  }: {
515
515
  expires?: Expiration;
516
516
  operator: string;
517
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
517
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
518
518
  return await this.client.execute(this.sender, this.contractAddress, {
519
519
  approve_all: {
520
520
  expires,
521
521
  operator
522
522
  }
523
- }, fee, memo, funds);
523
+ }, fee, memo, _funds);
524
524
  };
525
525
  revokeAll = async ({
526
526
  operator
527
527
  }: {
528
528
  operator: string;
529
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
529
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
530
530
  return await this.client.execute(this.sender, this.contractAddress, {
531
531
  revoke_all: {
532
532
  operator
533
533
  }
534
- }, fee, memo, funds);
534
+ }, fee, memo, _funds);
535
535
  };
536
536
  mint = async ({
537
537
  extension,
@@ -543,7 +543,7 @@ exports[`noImpl, noExecExtends, ExtendsClass 1`] = `
543
543
  owner: string;
544
544
  tokenId: string;
545
545
  tokenUri?: string;
546
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
546
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
547
547
  return await this.client.execute(this.sender, this.contractAddress, {
548
548
  mint: {
549
549
  extension,
@@ -551,18 +551,18 @@ exports[`noImpl, noExecExtends, ExtendsClass 1`] = `
551
551
  token_id: tokenId,
552
552
  token_uri: tokenUri
553
553
  }
554
- }, fee, memo, funds);
554
+ }, fee, memo, _funds);
555
555
  };
556
556
  burn = async ({
557
557
  tokenId
558
558
  }: {
559
559
  tokenId: string;
560
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
560
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
561
561
  return await this.client.execute(this.sender, this.contractAddress, {
562
562
  burn: {
563
563
  token_id: tokenId
564
564
  }
565
- }, fee, memo, funds);
565
+ }, fee, memo, _funds);
566
566
  };
567
567
  }"
568
568
  `;
@@ -593,13 +593,13 @@ exports[`noImpl, noExecExtends, noExtendsClass 1`] = `
593
593
  }: {
594
594
  recipient: string;
595
595
  tokenId: string;
596
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
596
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
597
597
  return await this.client.execute(this.sender, this.contractAddress, {
598
598
  transfer_nft: {
599
599
  recipient,
600
600
  token_id: tokenId
601
601
  }
602
- }, fee, memo, funds);
602
+ }, fee, memo, _funds);
603
603
  };
604
604
  sendNft = async ({
605
605
  contract,
@@ -609,14 +609,14 @@ exports[`noImpl, noExecExtends, noExtendsClass 1`] = `
609
609
  contract: string;
610
610
  msg: Binary;
611
611
  tokenId: string;
612
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
612
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
613
613
  return await this.client.execute(this.sender, this.contractAddress, {
614
614
  send_nft: {
615
615
  contract,
616
616
  msg,
617
617
  token_id: tokenId
618
618
  }
619
- }, fee, memo, funds);
619
+ }, fee, memo, _funds);
620
620
  };
621
621
  approve = async ({
622
622
  expires,
@@ -626,14 +626,14 @@ exports[`noImpl, noExecExtends, noExtendsClass 1`] = `
626
626
  expires?: Expiration;
627
627
  spender: string;
628
628
  tokenId: string;
629
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
629
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
630
630
  return await this.client.execute(this.sender, this.contractAddress, {
631
631
  approve: {
632
632
  expires,
633
633
  spender,
634
634
  token_id: tokenId
635
635
  }
636
- }, fee, memo, funds);
636
+ }, fee, memo, _funds);
637
637
  };
638
638
  revoke = async ({
639
639
  spender,
@@ -641,13 +641,13 @@ exports[`noImpl, noExecExtends, noExtendsClass 1`] = `
641
641
  }: {
642
642
  spender: string;
643
643
  tokenId: string;
644
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
644
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
645
645
  return await this.client.execute(this.sender, this.contractAddress, {
646
646
  revoke: {
647
647
  spender,
648
648
  token_id: tokenId
649
649
  }
650
- }, fee, memo, funds);
650
+ }, fee, memo, _funds);
651
651
  };
652
652
  approveAll = async ({
653
653
  expires,
@@ -655,24 +655,24 @@ exports[`noImpl, noExecExtends, noExtendsClass 1`] = `
655
655
  }: {
656
656
  expires?: Expiration;
657
657
  operator: string;
658
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
658
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
659
659
  return await this.client.execute(this.sender, this.contractAddress, {
660
660
  approve_all: {
661
661
  expires,
662
662
  operator
663
663
  }
664
- }, fee, memo, funds);
664
+ }, fee, memo, _funds);
665
665
  };
666
666
  revokeAll = async ({
667
667
  operator
668
668
  }: {
669
669
  operator: string;
670
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
670
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
671
671
  return await this.client.execute(this.sender, this.contractAddress, {
672
672
  revoke_all: {
673
673
  operator
674
674
  }
675
- }, fee, memo, funds);
675
+ }, fee, memo, _funds);
676
676
  };
677
677
  mint = async ({
678
678
  extension,
@@ -684,7 +684,7 @@ exports[`noImpl, noExecExtends, noExtendsClass 1`] = `
684
684
  owner: string;
685
685
  tokenId: string;
686
686
  tokenUri?: string;
687
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
687
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
688
688
  return await this.client.execute(this.sender, this.contractAddress, {
689
689
  mint: {
690
690
  extension,
@@ -692,18 +692,18 @@ exports[`noImpl, noExecExtends, noExtendsClass 1`] = `
692
692
  token_id: tokenId,
693
693
  token_uri: tokenUri
694
694
  }
695
- }, fee, memo, funds);
695
+ }, fee, memo, _funds);
696
696
  };
697
697
  burn = async ({
698
698
  tokenId
699
699
  }: {
700
700
  tokenId: string;
701
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
701
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
702
702
  return await this.client.execute(this.sender, this.contractAddress, {
703
703
  burn: {
704
704
  token_id: tokenId
705
705
  }
706
- }, fee, memo, funds);
706
+ }, fee, memo, _funds);
707
707
  };
708
708
  }"
709
709
  `;