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,10 +27,10 @@ exports[`execute classes array types 1`] = `
27
27
  this.minter = this.minter.bind(this);
28
28
  }
29
29
 
30
- proposedNewOwner = async (fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
30
+ proposedNewOwner = async (fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
31
31
  return await this.client.execute(this.sender, this.contractAddress, {
32
32
  proposed_new_owner: {}
33
- }, fee, memo, funds);
33
+ }, fee, memo, _funds);
34
34
  };
35
35
  allowedVaults = async ({
36
36
  limit,
@@ -38,13 +38,13 @@ exports[`execute classes array types 1`] = `
38
38
  }: {
39
39
  limit?: number;
40
40
  startAfter?: VaultBase_for_String;
41
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
41
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
42
42
  return await this.client.execute(this.sender, this.contractAddress, {
43
43
  allowed_vaults: {
44
44
  limit,
45
45
  start_after: startAfter
46
46
  }
47
- }, fee, memo, funds);
47
+ }, fee, memo, _funds);
48
48
  };
49
49
  allDebtShares = async ({
50
50
  limit,
@@ -52,18 +52,18 @@ exports[`execute classes array types 1`] = `
52
52
  }: {
53
53
  limit?: number;
54
54
  startAfter?: string[][];
55
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
55
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
56
56
  return await this.client.execute(this.sender, this.contractAddress, {
57
57
  all_debt_shares: {
58
58
  limit,
59
59
  start_after: startAfter
60
60
  }
61
- }, fee, memo, funds);
61
+ }, fee, memo, _funds);
62
62
  };
63
- allPreviousOwners = async (fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
63
+ allPreviousOwners = async (fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
64
64
  return await this.client.execute(this.sender, this.contractAddress, {
65
65
  all_previous_owners: {}
66
- }, fee, memo, funds);
66
+ }, fee, memo, _funds);
67
67
  };
68
68
  ownerOf = async ({
69
69
  includeExpired,
@@ -71,13 +71,13 @@ exports[`execute classes array types 1`] = `
71
71
  }: {
72
72
  includeExpired?: boolean;
73
73
  tokenId: string;
74
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
74
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
75
75
  return await this.client.execute(this.sender, this.contractAddress, {
76
76
  owner_of: {
77
77
  include_expired: includeExpired,
78
78
  token_id: tokenId
79
79
  }
80
- }, fee, memo, funds);
80
+ }, fee, memo, _funds);
81
81
  };
82
82
  approval = async ({
83
83
  includeExpired,
@@ -87,14 +87,14 @@ exports[`execute classes array types 1`] = `
87
87
  includeExpired?: boolean;
88
88
  spender: string;
89
89
  tokenId: string;
90
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
90
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
91
91
  return await this.client.execute(this.sender, this.contractAddress, {
92
92
  approval: {
93
93
  include_expired: includeExpired,
94
94
  spender,
95
95
  token_id: tokenId
96
96
  }
97
- }, fee, memo, funds);
97
+ }, fee, memo, _funds);
98
98
  };
99
99
  approvals = async ({
100
100
  includeExpired,
@@ -102,13 +102,13 @@ exports[`execute classes array types 1`] = `
102
102
  }: {
103
103
  includeExpired?: boolean;
104
104
  tokenId: string;
105
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
105
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
106
106
  return await this.client.execute(this.sender, this.contractAddress, {
107
107
  approvals: {
108
108
  include_expired: includeExpired,
109
109
  token_id: tokenId
110
110
  }
111
- }, fee, memo, funds);
111
+ }, fee, memo, _funds);
112
112
  };
113
113
  allOperators = async ({
114
114
  includeExpired,
@@ -120,7 +120,7 @@ exports[`execute classes array types 1`] = `
120
120
  limit?: number;
121
121
  owner: string;
122
122
  startAfter?: string;
123
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
123
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
124
124
  return await this.client.execute(this.sender, this.contractAddress, {
125
125
  all_operators: {
126
126
  include_expired: includeExpired,
@@ -128,28 +128,28 @@ exports[`execute classes array types 1`] = `
128
128
  owner,
129
129
  start_after: startAfter
130
130
  }
131
- }, fee, memo, funds);
131
+ }, fee, memo, _funds);
132
132
  };
133
- numTokens = async (fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
133
+ numTokens = async (fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
134
134
  return await this.client.execute(this.sender, this.contractAddress, {
135
135
  num_tokens: {}
136
- }, fee, memo, funds);
136
+ }, fee, memo, _funds);
137
137
  };
138
- contractInfo = async (fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
138
+ contractInfo = async (fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
139
139
  return await this.client.execute(this.sender, this.contractAddress, {
140
140
  contract_info: {}
141
- }, fee, memo, funds);
141
+ }, fee, memo, _funds);
142
142
  };
143
143
  nftInfo = async ({
144
144
  tokenId
145
145
  }: {
146
146
  tokenId: string;
147
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
147
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
148
148
  return await this.client.execute(this.sender, this.contractAddress, {
149
149
  nft_info: {
150
150
  token_id: tokenId
151
151
  }
152
- }, fee, memo, funds);
152
+ }, fee, memo, _funds);
153
153
  };
154
154
  allNftInfo = async ({
155
155
  includeExpired,
@@ -157,13 +157,13 @@ exports[`execute classes array types 1`] = `
157
157
  }: {
158
158
  includeExpired?: boolean;
159
159
  tokenId: string;
160
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
160
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
161
161
  return await this.client.execute(this.sender, this.contractAddress, {
162
162
  all_nft_info: {
163
163
  include_expired: includeExpired,
164
164
  token_id: tokenId
165
165
  }
166
- }, fee, memo, funds);
166
+ }, fee, memo, _funds);
167
167
  };
168
168
  tokens = async ({
169
169
  limit,
@@ -173,14 +173,14 @@ exports[`execute classes array types 1`] = `
173
173
  limit?: number;
174
174
  owner: string;
175
175
  startAfter?: string;
176
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
176
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
177
177
  return await this.client.execute(this.sender, this.contractAddress, {
178
178
  tokens: {
179
179
  limit,
180
180
  owner,
181
181
  start_after: startAfter
182
182
  }
183
- }, fee, memo, funds);
183
+ }, fee, memo, _funds);
184
184
  };
185
185
  allTokens = async ({
186
186
  limit,
@@ -188,18 +188,18 @@ exports[`execute classes array types 1`] = `
188
188
  }: {
189
189
  limit?: number;
190
190
  startAfter?: string;
191
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
191
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
192
192
  return await this.client.execute(this.sender, this.contractAddress, {
193
193
  all_tokens: {
194
194
  limit,
195
195
  start_after: startAfter
196
196
  }
197
- }, fee, memo, funds);
197
+ }, fee, memo, _funds);
198
198
  };
199
- minter = async (fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
199
+ minter = async (fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
200
200
  return await this.client.execute(this.sender, this.contractAddress, {
201
201
  minter: {}
202
- }, fee, memo, funds);
202
+ }, fee, memo, _funds);
203
203
  };
204
204
  }"
205
205
  `;
@@ -208,29 +208,29 @@ exports[`execute interfaces no extends 1`] = `
208
208
  "export interface SG721Instance {
209
209
  contractAddress: string;
210
210
  sender: string;
211
- proposedNewOwner: (fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
211
+ proposedNewOwner: (fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
212
212
  allowedVaults: ({
213
213
  limit,
214
214
  startAfter
215
215
  }: {
216
216
  limit?: number;
217
217
  startAfter?: VaultBase_for_String;
218
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
218
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
219
219
  allDebtShares: ({
220
220
  limit,
221
221
  startAfter
222
222
  }: {
223
223
  limit?: number;
224
224
  startAfter?: string[][];
225
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
226
- allPreviousOwners: (fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
225
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
226
+ allPreviousOwners: (fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
227
227
  ownerOf: ({
228
228
  includeExpired,
229
229
  tokenId
230
230
  }: {
231
231
  includeExpired?: boolean;
232
232
  tokenId: string;
233
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
233
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
234
234
  approval: ({
235
235
  includeExpired,
236
236
  spender,
@@ -239,14 +239,14 @@ exports[`execute interfaces no extends 1`] = `
239
239
  includeExpired?: boolean;
240
240
  spender: string;
241
241
  tokenId: string;
242
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
242
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
243
243
  approvals: ({
244
244
  includeExpired,
245
245
  tokenId
246
246
  }: {
247
247
  includeExpired?: boolean;
248
248
  tokenId: string;
249
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
249
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
250
250
  allOperators: ({
251
251
  includeExpired,
252
252
  limit,
@@ -257,21 +257,21 @@ exports[`execute interfaces no extends 1`] = `
257
257
  limit?: number;
258
258
  owner: string;
259
259
  startAfter?: string;
260
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
261
- numTokens: (fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
262
- contractInfo: (fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
260
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
261
+ numTokens: (fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
262
+ contractInfo: (fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
263
263
  nftInfo: ({
264
264
  tokenId
265
265
  }: {
266
266
  tokenId: string;
267
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
267
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
268
268
  allNftInfo: ({
269
269
  includeExpired,
270
270
  tokenId
271
271
  }: {
272
272
  includeExpired?: boolean;
273
273
  tokenId: string;
274
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
274
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
275
275
  tokens: ({
276
276
  limit,
277
277
  owner,
@@ -280,15 +280,15 @@ exports[`execute interfaces no extends 1`] = `
280
280
  limit?: number;
281
281
  owner: string;
282
282
  startAfter?: string;
283
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
283
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
284
284
  allTokens: ({
285
285
  limit,
286
286
  startAfter
287
287
  }: {
288
288
  limit?: number;
289
289
  startAfter?: string;
290
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
291
- minter: (fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
290
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
291
+ minter: (fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
292
292
  }"
293
293
  `;
294
294
 
@@ -32,13 +32,13 @@ exports[`execute classes array types 1`] = `
32
32
  }: {
33
33
  amount: number;
34
34
  creditor: Addr;
35
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
35
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
36
36
  return await this.client.execute(this.sender, this.contractAddress, {
37
37
  create_edge: {
38
38
  amount,
39
39
  creditor
40
40
  }
41
- }, fee, memo, funds);
41
+ }, fee, memo, _funds);
42
42
  };
43
43
  editEdge = async ({
44
44
  amount,
@@ -48,36 +48,36 @@ exports[`execute classes array types 1`] = `
48
48
  amount: number;
49
49
  creditor: Addr;
50
50
  edgeId: number;
51
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
51
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
52
52
  return await this.client.execute(this.sender, this.contractAddress, {
53
53
  edit_edge: {
54
54
  amount,
55
55
  creditor,
56
56
  edge_id: edgeId
57
57
  }
58
- }, fee, memo, funds);
58
+ }, fee, memo, _funds);
59
59
  };
60
60
  removeEdge = async ({
61
61
  edgeId
62
62
  }: {
63
63
  edgeId: number;
64
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
64
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
65
65
  return await this.client.execute(this.sender, this.contractAddress, {
66
66
  remove_edge: {
67
67
  edge_id: edgeId
68
68
  }
69
- }, fee, memo, funds);
69
+ }, fee, memo, _funds);
70
70
  };
71
71
  createGraph = async ({
72
72
  graph
73
73
  }: {
74
74
  graph: Edge[];
75
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
75
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
76
76
  return await this.client.execute(this.sender, this.contractAddress, {
77
77
  create_graph: {
78
78
  graph
79
79
  }
80
- }, fee, memo, funds);
80
+ }, fee, memo, _funds);
81
81
  };
82
82
  createGraphSimplified = async ({
83
83
  graph,
@@ -85,13 +85,13 @@ exports[`execute classes array types 1`] = `
85
85
  }: {
86
86
  graph: Addr[][];
87
87
  graphId: 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> => {
89
89
  return await this.client.execute(this.sender, this.contractAddress, {
90
90
  create_graph_simplified: {
91
91
  graph,
92
92
  graph_id: graphId
93
93
  }
94
- }, fee, memo, funds);
94
+ }, fee, memo, _funds);
95
95
  };
96
96
  editGraphSimplified = async ({
97
97
  graph,
@@ -99,89 +99,89 @@ exports[`execute classes array types 1`] = `
99
99
  }: {
100
100
  graph: Addr[][];
101
101
  graphId: number;
102
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
102
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
103
103
  return await this.client.execute(this.sender, this.contractAddress, {
104
104
  edit_graph_simplified: {
105
105
  graph,
106
106
  graph_id: graphId
107
107
  }
108
- }, fee, memo, funds);
108
+ }, fee, memo, _funds);
109
109
  };
110
110
  removeGraph = async ({
111
111
  graphId
112
112
  }: {
113
113
  graphId: number;
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
  remove_graph: {
117
117
  graph_id: graphId
118
118
  }
119
- }, fee, memo, funds);
119
+ }, fee, memo, _funds);
120
120
  };
121
121
  updateEdges = async ({
122
122
  edges
123
123
  }: {
124
124
  edges: number[][];
125
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
125
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
126
126
  return await this.client.execute(this.sender, this.contractAddress, {
127
127
  update_edges: {
128
128
  edges
129
129
  }
130
- }, fee, memo, funds);
130
+ }, fee, memo, _funds);
131
131
  };
132
- findSavings = async (fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
132
+ findSavings = async (fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
133
133
  return await this.client.execute(this.sender, this.contractAddress, {
134
134
  find_savings: {}
135
- }, fee, memo, funds);
135
+ }, fee, memo, _funds);
136
136
  };
137
137
  findSavingsInAGraph = async ({
138
138
  graphId
139
139
  }: {
140
140
  graphId: number;
141
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
141
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
142
142
  return await this.client.execute(this.sender, this.contractAddress, {
143
143
  find_savings_in_a_graph: {
144
144
  graph_id: graphId
145
145
  }
146
- }, fee, memo, funds);
146
+ }, fee, memo, _funds);
147
147
  };
148
- reset = async (fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
148
+ reset = async (fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
149
149
  return await this.client.execute(this.sender, this.contractAddress, {
150
150
  reset: {}
151
- }, fee, memo, funds);
151
+ }, fee, memo, _funds);
152
152
  };
153
153
  saveNetworkToFile = async ({
154
154
  filepath
155
155
  }: {
156
156
  filepath: 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
  save_network_to_file: {
160
160
  filepath
161
161
  }
162
- }, fee, memo, funds);
162
+ }, fee, memo, _funds);
163
163
  };
164
164
  createGraphFromFile = async ({
165
165
  filepath
166
166
  }: {
167
167
  filepath: string;
168
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
168
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
169
169
  return await this.client.execute(this.sender, this.contractAddress, {
170
170
  create_graph_from_file: {
171
171
  filepath
172
172
  }
173
- }, fee, memo, funds);
173
+ }, fee, memo, _funds);
174
174
  };
175
175
  applySetOffFromFile = async ({
176
176
  filepath
177
177
  }: {
178
178
  filepath: string;
179
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
179
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
180
180
  return await this.client.execute(this.sender, this.contractAddress, {
181
181
  apply_set_off_from_file: {
182
182
  filepath
183
183
  }
184
- }, fee, memo, funds);
184
+ }, fee, memo, _funds);
185
185
  };
186
186
  }"
187
187
  `;
@@ -196,7 +196,7 @@ exports[`execute interfaces no extends 1`] = `
196
196
  }: {
197
197
  amount: number;
198
198
  creditor: Addr;
199
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
199
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
200
200
  editEdge: ({
201
201
  amount,
202
202
  creditor,
@@ -205,63 +205,63 @@ exports[`execute interfaces no extends 1`] = `
205
205
  amount: number;
206
206
  creditor: Addr;
207
207
  edgeId: number;
208
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
208
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
209
209
  removeEdge: ({
210
210
  edgeId
211
211
  }: {
212
212
  edgeId: number;
213
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
213
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
214
214
  createGraph: ({
215
215
  graph
216
216
  }: {
217
217
  graph: Edge[];
218
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
218
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
219
219
  createGraphSimplified: ({
220
220
  graph,
221
221
  graphId
222
222
  }: {
223
223
  graph: Addr[][];
224
224
  graphId: number;
225
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
225
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
226
226
  editGraphSimplified: ({
227
227
  graph,
228
228
  graphId
229
229
  }: {
230
230
  graph: Addr[][];
231
231
  graphId: number;
232
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
232
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
233
233
  removeGraph: ({
234
234
  graphId
235
235
  }: {
236
236
  graphId: number;
237
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
237
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
238
238
  updateEdges: ({
239
239
  edges
240
240
  }: {
241
241
  edges: number[][];
242
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
243
- findSavings: (fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
242
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
243
+ findSavings: (fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
244
244
  findSavingsInAGraph: ({
245
245
  graphId
246
246
  }: {
247
247
  graphId: number;
248
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
249
- reset: (fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
248
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
249
+ reset: (fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
250
250
  saveNetworkToFile: ({
251
251
  filepath
252
252
  }: {
253
253
  filepath: string;
254
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
254
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
255
255
  createGraphFromFile: ({
256
256
  filepath
257
257
  }: {
258
258
  filepath: string;
259
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
259
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
260
260
  applySetOffFromFile: ({
261
261
  filepath
262
262
  }: {
263
263
  filepath: string;
264
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
264
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
265
265
  }"
266
266
  `;
267
267
 
@@ -25,7 +25,7 @@ exports[`execute classes array types 1`] = `
25
25
  edges: number[][];
26
26
  nested: number[][][];
27
27
  supernested: string[][][][][][];
28
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
28
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
29
29
  return await this.client.execute(this.sender, this.contractAddress, {
30
30
  update_edges: {
31
31
  edges3,
@@ -34,7 +34,7 @@ exports[`execute classes array types 1`] = `
34
34
  nested,
35
35
  supernested
36
36
  }
37
- }, fee, memo, funds);
37
+ }, fee, memo, _funds);
38
38
  };
39
39
  }"
40
40
  `;
@@ -55,7 +55,7 @@ exports[`execute interfaces no extends 1`] = `
55
55
  edges: number[][];
56
56
  nested: number[][][];
57
57
  supernested: string[][][][][][];
58
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
58
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
59
59
  }"
60
60
  `;
61
61
 
@@ -23,36 +23,36 @@ exports[`execute classes array types 1`] = `
23
23
  addressesToAdd?: string[];
24
24
  addressesToRemove?: string[];
25
25
  group: string;
26
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
26
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
27
27
  return await this.client.execute(this.sender, this.contractAddress, {
28
28
  update: {
29
29
  addresses_to_add: addressesToAdd,
30
30
  addresses_to_remove: addressesToRemove,
31
31
  group
32
32
  }
33
- }, fee, memo, funds);
33
+ }, fee, memo, _funds);
34
34
  };
35
35
  removeGroup = async ({
36
36
  group
37
37
  }: {
38
38
  group: string;
39
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
39
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
40
40
  return await this.client.execute(this.sender, this.contractAddress, {
41
41
  remove_group: {
42
42
  group
43
43
  }
44
- }, fee, memo, funds);
44
+ }, fee, memo, _funds);
45
45
  };
46
46
  updateOwner = async ({
47
47
  owner
48
48
  }: {
49
49
  owner: string;
50
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
50
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
51
51
  return await this.client.execute(this.sender, this.contractAddress, {
52
52
  update_owner: {
53
53
  owner
54
54
  }
55
- }, fee, memo, funds);
55
+ }, fee, memo, _funds);
56
56
  };
57
57
  }"
58
58
  `;
@@ -69,17 +69,17 @@ exports[`execute interfaces no extends 1`] = `
69
69
  addressesToAdd?: string[];
70
70
  addressesToRemove?: string[];
71
71
  group: string;
72
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
72
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
73
73
  removeGroup: ({
74
74
  group
75
75
  }: {
76
76
  group: string;
77
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
77
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
78
78
  updateOwner: ({
79
79
  owner
80
80
  }: {
81
81
  owner: string;
82
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
82
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
83
83
  }"
84
84
  `;
85
85