wasm-ast-types 0.21.0 → 0.22.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. package/main/client/client.js +4 -6
  2. package/main/message-composer/message-composer.js +3 -5
  3. package/main/react-query/react-query.js +4 -11
  4. package/main/utils/babel.js +1 -0
  5. package/main/utils/constants.js +25 -0
  6. package/main/utils/index.js +22 -1
  7. package/module/client/client.js +3 -4
  8. package/module/message-composer/message-composer.js +4 -5
  9. package/module/react-query/react-query.js +5 -6
  10. package/module/utils/babel.js +1 -0
  11. package/module/utils/constants.js +6 -0
  12. package/module/utils/index.js +3 -1
  13. package/package.json +2 -2
  14. package/src/client/client.ts +235 -323
  15. package/src/client/test/__snapshots__/ts-client.account-nfts.spec.ts.snap +45 -45
  16. package/src/client/test/__snapshots__/ts-client.arrays-ref.spec.ts.snap +42 -42
  17. package/src/client/test/__snapshots__/ts-client.arrays.spec.ts.snap +3 -3
  18. package/src/client/test/__snapshots__/ts-client.cw-named-groups.test.ts.snap +9 -9
  19. package/src/client/test/__snapshots__/ts-client.cw-proposal-single.test.ts.snap +27 -27
  20. package/src/client/test/__snapshots__/ts-client.issue-101.spec.ts.snap +6 -6
  21. package/src/client/test/__snapshots__/ts-client.issue-71.test.ts.snap +30 -30
  22. package/src/client/test/__snapshots__/ts-client.issue-98.test.ts.snap +9 -9
  23. package/src/client/test/__snapshots__/ts-client.issues.test.ts.snap +78 -78
  24. package/src/client/test/__snapshots__/ts-client.overrides.spec.ts.snap +80 -80
  25. package/src/client/test/__snapshots__/ts-client.sg721.spec.ts.snap +24 -24
  26. package/src/client/test/__snapshots__/ts-client.spec.ts.snap +46 -46
  27. package/src/client/test/__snapshots__/ts-client.vectis.spec.ts.snap +24 -24
  28. package/src/client/test/__snapshots__/ts-client.wager.spec.ts.snap +8 -8
  29. package/src/context/context.ts +2 -0
  30. package/src/message-composer/__snapshots__/message-composer.spec.ts.snap +30 -30
  31. package/src/message-composer/message-composer.ts +216 -267
  32. package/src/react-query/react-query.ts +28 -25
  33. package/src/utils/babel.ts +4 -3
  34. package/src/utils/constants.ts +30 -0
  35. package/src/utils/index.ts +2 -0
  36. package/types/context/context.d.ts +2 -0
@@ -26,13 +26,13 @@ exports[`execute classes array types 1`] = `
26
26
  }: {
27
27
  recipient: string;
28
28
  tokenId: string;
29
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
29
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
30
30
  return await this.client.execute(this.sender, this.contractAddress, {
31
31
  transfer_nft: {
32
32
  recipient,
33
33
  token_id: tokenId
34
34
  }
35
- }, fee, memo, funds);
35
+ }, fee, memo, _funds);
36
36
  };
37
37
  sendNft = async ({
38
38
  contract,
@@ -42,14 +42,14 @@ exports[`execute classes array types 1`] = `
42
42
  contract: string;
43
43
  msg: Binary;
44
44
  tokenId: string;
45
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
45
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
46
46
  return await this.client.execute(this.sender, this.contractAddress, {
47
47
  send_nft: {
48
48
  contract,
49
49
  msg,
50
50
  token_id: tokenId
51
51
  }
52
- }, fee, memo, funds);
52
+ }, fee, memo, _funds);
53
53
  };
54
54
  approve = async ({
55
55
  expires,
@@ -59,14 +59,14 @@ exports[`execute classes array types 1`] = `
59
59
  expires?: Expiration;
60
60
  spender: string;
61
61
  tokenId: string;
62
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
62
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
63
63
  return await this.client.execute(this.sender, this.contractAddress, {
64
64
  approve: {
65
65
  expires,
66
66
  spender,
67
67
  token_id: tokenId
68
68
  }
69
- }, fee, memo, funds);
69
+ }, fee, memo, _funds);
70
70
  };
71
71
  revoke = async ({
72
72
  spender,
@@ -74,13 +74,13 @@ exports[`execute classes array types 1`] = `
74
74
  }: {
75
75
  spender: string;
76
76
  tokenId: string;
77
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
77
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
78
78
  return await this.client.execute(this.sender, this.contractAddress, {
79
79
  revoke: {
80
80
  spender,
81
81
  token_id: tokenId
82
82
  }
83
- }, fee, memo, funds);
83
+ }, fee, memo, _funds);
84
84
  };
85
85
  approveAll = async ({
86
86
  expires,
@@ -88,24 +88,24 @@ exports[`execute classes array types 1`] = `
88
88
  }: {
89
89
  expires?: Expiration;
90
90
  operator: string;
91
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
91
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
92
92
  return await this.client.execute(this.sender, this.contractAddress, {
93
93
  approve_all: {
94
94
  expires,
95
95
  operator
96
96
  }
97
- }, fee, memo, funds);
97
+ }, fee, memo, _funds);
98
98
  };
99
99
  revokeAll = async ({
100
100
  operator
101
101
  }: {
102
102
  operator: string;
103
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
103
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
104
104
  return await this.client.execute(this.sender, this.contractAddress, {
105
105
  revoke_all: {
106
106
  operator
107
107
  }
108
- }, fee, memo, funds);
108
+ }, fee, memo, _funds);
109
109
  };
110
110
  mint = async ({
111
111
  extension,
@@ -117,7 +117,7 @@ exports[`execute classes array types 1`] = `
117
117
  owner: string;
118
118
  tokenId: string;
119
119
  tokenUri?: string;
120
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
120
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
121
121
  return await this.client.execute(this.sender, this.contractAddress, {
122
122
  mint: {
123
123
  extension,
@@ -125,18 +125,18 @@ exports[`execute classes array types 1`] = `
125
125
  token_id: tokenId,
126
126
  token_uri: tokenUri
127
127
  }
128
- }, fee, memo, funds);
128
+ }, fee, memo, _funds);
129
129
  };
130
130
  burn = async ({
131
131
  tokenId
132
132
  }: {
133
133
  tokenId: string;
134
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
134
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
135
135
  return await this.client.execute(this.sender, this.contractAddress, {
136
136
  burn: {
137
137
  token_id: tokenId
138
138
  }
139
- }, fee, memo, funds);
139
+ }, fee, memo, _funds);
140
140
  };
141
141
  }"
142
142
  `;
@@ -151,7 +151,7 @@ exports[`execute interfaces no extends 1`] = `
151
151
  }: {
152
152
  recipient: string;
153
153
  tokenId: string;
154
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
154
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
155
155
  sendNft: ({
156
156
  contract,
157
157
  msg,
@@ -160,7 +160,7 @@ exports[`execute interfaces no extends 1`] = `
160
160
  contract: string;
161
161
  msg: Binary;
162
162
  tokenId: string;
163
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
163
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
164
164
  approve: ({
165
165
  expires,
166
166
  spender,
@@ -169,26 +169,26 @@ exports[`execute interfaces no extends 1`] = `
169
169
  expires?: Expiration;
170
170
  spender: string;
171
171
  tokenId: string;
172
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
172
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
173
173
  revoke: ({
174
174
  spender,
175
175
  tokenId
176
176
  }: {
177
177
  spender: string;
178
178
  tokenId: string;
179
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
179
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
180
180
  approveAll: ({
181
181
  expires,
182
182
  operator
183
183
  }: {
184
184
  expires?: Expiration;
185
185
  operator: string;
186
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
186
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
187
187
  revokeAll: ({
188
188
  operator
189
189
  }: {
190
190
  operator: string;
191
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
191
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
192
192
  mint: ({
193
193
  extension,
194
194
  owner,
@@ -199,12 +199,12 @@ exports[`execute interfaces no extends 1`] = `
199
199
  owner: string;
200
200
  tokenId: string;
201
201
  tokenUri?: string;
202
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
202
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
203
203
  burn: ({
204
204
  tokenId
205
205
  }: {
206
206
  tokenId: string;
207
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
207
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
208
208
  }"
209
209
  `;
210
210
 
@@ -63,13 +63,13 @@ exports[`execute classes 1`] = `
63
63
  }: {
64
64
  recipient: string;
65
65
  tokenId: string;
66
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
66
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
67
67
  return await this.client.execute(this.sender, this.contractAddress, {
68
68
  transfer_nft: {
69
69
  recipient,
70
70
  token_id: tokenId
71
71
  }
72
- }, fee, memo, funds);
72
+ }, fee, memo, _funds);
73
73
  };
74
74
  sendNft = async ({
75
75
  contract,
@@ -79,14 +79,14 @@ exports[`execute classes 1`] = `
79
79
  contract: string;
80
80
  msg: Binary;
81
81
  tokenId: string;
82
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
82
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
83
83
  return await this.client.execute(this.sender, this.contractAddress, {
84
84
  send_nft: {
85
85
  contract,
86
86
  msg,
87
87
  token_id: tokenId
88
88
  }
89
- }, fee, memo, funds);
89
+ }, fee, memo, _funds);
90
90
  };
91
91
  approve = async ({
92
92
  expires,
@@ -96,14 +96,14 @@ exports[`execute classes 1`] = `
96
96
  expires?: Expiration;
97
97
  spender: string;
98
98
  tokenId: string;
99
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
99
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
100
100
  return await this.client.execute(this.sender, this.contractAddress, {
101
101
  approve: {
102
102
  expires,
103
103
  spender,
104
104
  token_id: tokenId
105
105
  }
106
- }, fee, memo, funds);
106
+ }, fee, memo, _funds);
107
107
  };
108
108
  revoke = async ({
109
109
  spender,
@@ -111,13 +111,13 @@ exports[`execute classes 1`] = `
111
111
  }: {
112
112
  spender: string;
113
113
  tokenId: string;
114
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
114
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
115
115
  return await this.client.execute(this.sender, this.contractAddress, {
116
116
  revoke: {
117
117
  spender,
118
118
  token_id: tokenId
119
119
  }
120
- }, fee, memo, funds);
120
+ }, fee, memo, _funds);
121
121
  };
122
122
  approveAll = async ({
123
123
  expires,
@@ -125,24 +125,24 @@ exports[`execute classes 1`] = `
125
125
  }: {
126
126
  expires?: Expiration;
127
127
  operator: string;
128
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
128
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
129
129
  return await this.client.execute(this.sender, this.contractAddress, {
130
130
  approve_all: {
131
131
  expires,
132
132
  operator
133
133
  }
134
- }, fee, memo, funds);
134
+ }, fee, memo, _funds);
135
135
  };
136
136
  revokeAll = async ({
137
137
  operator
138
138
  }: {
139
139
  operator: string;
140
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
140
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
141
141
  return await this.client.execute(this.sender, this.contractAddress, {
142
142
  revoke_all: {
143
143
  operator
144
144
  }
145
- }, fee, memo, funds);
145
+ }, fee, memo, _funds);
146
146
  };
147
147
  mint = async ({
148
148
  extension,
@@ -154,7 +154,7 @@ exports[`execute classes 1`] = `
154
154
  owner: string;
155
155
  tokenId: string;
156
156
  tokenUri?: string;
157
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
157
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
158
158
  return await this.client.execute(this.sender, this.contractAddress, {
159
159
  mint: {
160
160
  extension,
@@ -162,18 +162,18 @@ exports[`execute classes 1`] = `
162
162
  token_id: tokenId,
163
163
  token_uri: tokenUri
164
164
  }
165
- }, fee, memo, funds);
165
+ }, fee, memo, _funds);
166
166
  };
167
167
  burn = async ({
168
168
  tokenId
169
169
  }: {
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
  burn: {
174
174
  token_id: tokenId
175
175
  }
176
- }, fee, memo, funds);
176
+ }, fee, memo, _funds);
177
177
  };
178
178
  }"
179
179
  `;
@@ -201,36 +201,36 @@ exports[`execute classes array types 1`] = `
201
201
  addressesToAdd?: string[];
202
202
  addressesToRemove?: string[];
203
203
  group: 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
  update: {
207
207
  addresses_to_add: addressesToAdd,
208
208
  addresses_to_remove: addressesToRemove,
209
209
  group
210
210
  }
211
- }, fee, memo, funds);
211
+ }, fee, memo, _funds);
212
212
  };
213
213
  removeGroup = async ({
214
214
  group
215
215
  }: {
216
216
  group: string;
217
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
217
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
218
218
  return await this.client.execute(this.sender, this.contractAddress, {
219
219
  remove_group: {
220
220
  group
221
221
  }
222
- }, fee, memo, funds);
222
+ }, fee, memo, _funds);
223
223
  };
224
224
  updateOwner = async ({
225
225
  owner
226
226
  }: {
227
227
  owner: string;
228
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
228
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
229
229
  return await this.client.execute(this.sender, this.contractAddress, {
230
230
  update_owner: {
231
231
  owner
232
232
  }
233
- }, fee, memo, funds);
233
+ }, fee, memo, _funds);
234
234
  };
235
235
  }"
236
236
  `;
@@ -261,13 +261,13 @@ exports[`execute classes no extends 1`] = `
261
261
  }: {
262
262
  recipient: string;
263
263
  tokenId: string;
264
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
264
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
265
265
  return await this.client.execute(this.sender, this.contractAddress, {
266
266
  transfer_nft: {
267
267
  recipient,
268
268
  token_id: tokenId
269
269
  }
270
- }, fee, memo, funds);
270
+ }, fee, memo, _funds);
271
271
  };
272
272
  sendNft = async ({
273
273
  contract,
@@ -277,14 +277,14 @@ exports[`execute classes no extends 1`] = `
277
277
  contract: string;
278
278
  msg: Binary;
279
279
  tokenId: string;
280
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
280
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
281
281
  return await this.client.execute(this.sender, this.contractAddress, {
282
282
  send_nft: {
283
283
  contract,
284
284
  msg,
285
285
  token_id: tokenId
286
286
  }
287
- }, fee, memo, funds);
287
+ }, fee, memo, _funds);
288
288
  };
289
289
  approve = async ({
290
290
  expires,
@@ -294,14 +294,14 @@ exports[`execute classes no extends 1`] = `
294
294
  expires?: Expiration;
295
295
  spender: string;
296
296
  tokenId: string;
297
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
297
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
298
298
  return await this.client.execute(this.sender, this.contractAddress, {
299
299
  approve: {
300
300
  expires,
301
301
  spender,
302
302
  token_id: tokenId
303
303
  }
304
- }, fee, memo, funds);
304
+ }, fee, memo, _funds);
305
305
  };
306
306
  revoke = async ({
307
307
  spender,
@@ -309,13 +309,13 @@ exports[`execute classes no extends 1`] = `
309
309
  }: {
310
310
  spender: string;
311
311
  tokenId: string;
312
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
312
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
313
313
  return await this.client.execute(this.sender, this.contractAddress, {
314
314
  revoke: {
315
315
  spender,
316
316
  token_id: tokenId
317
317
  }
318
- }, fee, memo, funds);
318
+ }, fee, memo, _funds);
319
319
  };
320
320
  approveAll = async ({
321
321
  expires,
@@ -323,24 +323,24 @@ exports[`execute classes no extends 1`] = `
323
323
  }: {
324
324
  expires?: Expiration;
325
325
  operator: string;
326
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
326
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
327
327
  return await this.client.execute(this.sender, this.contractAddress, {
328
328
  approve_all: {
329
329
  expires,
330
330
  operator
331
331
  }
332
- }, fee, memo, funds);
332
+ }, fee, memo, _funds);
333
333
  };
334
334
  revokeAll = async ({
335
335
  operator
336
336
  }: {
337
337
  operator: string;
338
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
338
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
339
339
  return await this.client.execute(this.sender, this.contractAddress, {
340
340
  revoke_all: {
341
341
  operator
342
342
  }
343
- }, fee, memo, funds);
343
+ }, fee, memo, _funds);
344
344
  };
345
345
  mint = async ({
346
346
  extension,
@@ -352,7 +352,7 @@ exports[`execute classes no extends 1`] = `
352
352
  owner: string;
353
353
  tokenId: string;
354
354
  tokenUri?: string;
355
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
355
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
356
356
  return await this.client.execute(this.sender, this.contractAddress, {
357
357
  mint: {
358
358
  extension,
@@ -360,18 +360,18 @@ exports[`execute classes no extends 1`] = `
360
360
  token_id: tokenId,
361
361
  token_uri: tokenUri
362
362
  }
363
- }, fee, memo, funds);
363
+ }, fee, memo, _funds);
364
364
  };
365
365
  burn = async ({
366
366
  tokenId
367
367
  }: {
368
368
  tokenId: string;
369
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
369
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
370
370
  return await this.client.execute(this.sender, this.contractAddress, {
371
371
  burn: {
372
372
  token_id: tokenId
373
373
  }
374
- }, fee, memo, funds);
374
+ }, fee, memo, _funds);
375
375
  };
376
376
  }"
377
377
  `;
@@ -386,7 +386,7 @@ exports[`execute interfaces no extends 1`] = `
386
386
  }: {
387
387
  recipient: string;
388
388
  tokenId: string;
389
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
389
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
390
390
  sendNft: ({
391
391
  contract,
392
392
  msg,
@@ -395,7 +395,7 @@ exports[`execute interfaces no extends 1`] = `
395
395
  contract: string;
396
396
  msg: Binary;
397
397
  tokenId: string;
398
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
398
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
399
399
  approve: ({
400
400
  expires,
401
401
  spender,
@@ -404,26 +404,26 @@ exports[`execute interfaces no extends 1`] = `
404
404
  expires?: Expiration;
405
405
  spender: string;
406
406
  tokenId: string;
407
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
407
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
408
408
  revoke: ({
409
409
  spender,
410
410
  tokenId
411
411
  }: {
412
412
  spender: string;
413
413
  tokenId: string;
414
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
414
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
415
415
  approveAll: ({
416
416
  expires,
417
417
  operator
418
418
  }: {
419
419
  expires?: Expiration;
420
420
  operator: string;
421
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
421
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
422
422
  revokeAll: ({
423
423
  operator
424
424
  }: {
425
425
  operator: string;
426
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
426
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
427
427
  mint: ({
428
428
  extension,
429
429
  owner,
@@ -434,12 +434,12 @@ exports[`execute interfaces no extends 1`] = `
434
434
  owner: string;
435
435
  tokenId: string;
436
436
  tokenUri?: string;
437
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
437
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
438
438
  burn: ({
439
439
  tokenId
440
440
  }: {
441
441
  tokenId: string;
442
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
442
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
443
443
  }"
444
444
  `;
445
445