wasm-ast-types 0.21.0 → 0.23.0
Sign up to get free protection for your applications and to get access to all the features.
- package/main/client/client.js +4 -6
- package/main/context/imports.js +1 -1
- package/main/message-composer/message-composer.js +3 -5
- package/main/react-query/react-query.js +4 -11
- package/main/utils/babel.js +1 -0
- package/main/utils/constants.js +25 -0
- package/main/utils/index.js +22 -1
- package/module/client/client.js +3 -4
- package/module/context/imports.js +1 -1
- package/module/message-composer/message-composer.js +4 -5
- package/module/react-query/react-query.js +5 -6
- package/module/utils/babel.js +1 -0
- package/module/utils/constants.js +6 -0
- package/module/utils/index.js +3 -1
- package/package.json +2 -2
- package/src/client/client.ts +235 -323
- package/src/client/test/__snapshots__/ts-client.account-nfts.spec.ts.snap +45 -45
- package/src/client/test/__snapshots__/ts-client.arrays-ref.spec.ts.snap +42 -42
- package/src/client/test/__snapshots__/ts-client.arrays.spec.ts.snap +3 -3
- package/src/client/test/__snapshots__/ts-client.cw-named-groups.test.ts.snap +9 -9
- package/src/client/test/__snapshots__/ts-client.cw-proposal-single.test.ts.snap +27 -27
- package/src/client/test/__snapshots__/ts-client.issue-101.spec.ts.snap +6 -6
- package/src/client/test/__snapshots__/ts-client.issue-71.test.ts.snap +30 -30
- package/src/client/test/__snapshots__/ts-client.issue-98.test.ts.snap +9 -9
- package/src/client/test/__snapshots__/ts-client.issues.test.ts.snap +78 -78
- package/src/client/test/__snapshots__/ts-client.overrides.spec.ts.snap +80 -80
- package/src/client/test/__snapshots__/ts-client.sg721.spec.ts.snap +24 -24
- package/src/client/test/__snapshots__/ts-client.spec.ts.snap +46 -46
- package/src/client/test/__snapshots__/ts-client.vectis.spec.ts.snap +24 -24
- package/src/client/test/__snapshots__/ts-client.wager.spec.ts.snap +8 -8
- package/src/context/context.ts +2 -0
- package/src/context/imports.ts +1 -1
- package/src/message-composer/__snapshots__/message-composer.spec.ts.snap +30 -30
- package/src/message-composer/message-composer.ts +216 -267
- package/src/react-query/react-query.ts +28 -25
- package/src/utils/babel.ts +4 -3
- package/src/utils/constants.ts +30 -0
- package/src/utils/index.ts +2 -0
- package/types/context/context.d.ts +2 -0
@@ -77,13 +77,13 @@ exports[`execute class /issues/55/execute_msg.json 1`] = `
|
|
77
77
|
}: {
|
78
78
|
amount: number;
|
79
79
|
creditor: Addr;
|
80
|
-
}, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string,
|
80
|
+
}, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
|
81
81
|
return await this.client.execute(this.sender, this.contractAddress, {
|
82
82
|
create_edge: {
|
83
83
|
amount,
|
84
84
|
creditor
|
85
85
|
}
|
86
|
-
}, fee, memo,
|
86
|
+
}, fee, memo, _funds);
|
87
87
|
};
|
88
88
|
editEdge = async ({
|
89
89
|
amount,
|
@@ -93,36 +93,36 @@ exports[`execute class /issues/55/execute_msg.json 1`] = `
|
|
93
93
|
amount: number;
|
94
94
|
creditor: Addr;
|
95
95
|
edgeId: number;
|
96
|
-
}, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string,
|
96
|
+
}, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
|
97
97
|
return await this.client.execute(this.sender, this.contractAddress, {
|
98
98
|
edit_edge: {
|
99
99
|
amount,
|
100
100
|
creditor,
|
101
101
|
edge_id: edgeId
|
102
102
|
}
|
103
|
-
}, fee, memo,
|
103
|
+
}, fee, memo, _funds);
|
104
104
|
};
|
105
105
|
removeEdge = async ({
|
106
106
|
edgeId
|
107
107
|
}: {
|
108
108
|
edgeId: number;
|
109
|
-
}, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string,
|
109
|
+
}, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
|
110
110
|
return await this.client.execute(this.sender, this.contractAddress, {
|
111
111
|
remove_edge: {
|
112
112
|
edge_id: edgeId
|
113
113
|
}
|
114
|
-
}, fee, memo,
|
114
|
+
}, fee, memo, _funds);
|
115
115
|
};
|
116
116
|
createGraph = async ({
|
117
117
|
graph
|
118
118
|
}: {
|
119
119
|
graph: Edge[];
|
120
|
-
}, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string,
|
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
|
create_graph: {
|
123
123
|
graph
|
124
124
|
}
|
125
|
-
}, fee, memo,
|
125
|
+
}, fee, memo, _funds);
|
126
126
|
};
|
127
127
|
createGraphSimplified = async ({
|
128
128
|
graph,
|
@@ -130,13 +130,13 @@ exports[`execute class /issues/55/execute_msg.json 1`] = `
|
|
130
130
|
}: {
|
131
131
|
graph: Addr[][];
|
132
132
|
graphId: number;
|
133
|
-
}, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string,
|
133
|
+
}, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
|
134
134
|
return await this.client.execute(this.sender, this.contractAddress, {
|
135
135
|
create_graph_simplified: {
|
136
136
|
graph,
|
137
137
|
graph_id: graphId
|
138
138
|
}
|
139
|
-
}, fee, memo,
|
139
|
+
}, fee, memo, _funds);
|
140
140
|
};
|
141
141
|
editGraphSimplified = async ({
|
142
142
|
graph,
|
@@ -144,89 +144,89 @@ exports[`execute class /issues/55/execute_msg.json 1`] = `
|
|
144
144
|
}: {
|
145
145
|
graph: Addr[][];
|
146
146
|
graphId: number;
|
147
|
-
}, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string,
|
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
|
edit_graph_simplified: {
|
150
150
|
graph,
|
151
151
|
graph_id: graphId
|
152
152
|
}
|
153
|
-
}, fee, memo,
|
153
|
+
}, fee, memo, _funds);
|
154
154
|
};
|
155
155
|
removeGraph = async ({
|
156
156
|
graphId
|
157
157
|
}: {
|
158
158
|
graphId: number;
|
159
|
-
}, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string,
|
159
|
+
}, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
|
160
160
|
return await this.client.execute(this.sender, this.contractAddress, {
|
161
161
|
remove_graph: {
|
162
162
|
graph_id: graphId
|
163
163
|
}
|
164
|
-
}, fee, memo,
|
164
|
+
}, fee, memo, _funds);
|
165
165
|
};
|
166
166
|
updateEdges = async ({
|
167
167
|
edges
|
168
168
|
}: {
|
169
169
|
edges: number[][];
|
170
|
-
}, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string,
|
170
|
+
}, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
|
171
171
|
return await this.client.execute(this.sender, this.contractAddress, {
|
172
172
|
update_edges: {
|
173
173
|
edges
|
174
174
|
}
|
175
|
-
}, fee, memo,
|
175
|
+
}, fee, memo, _funds);
|
176
176
|
};
|
177
|
-
findSavings = async (fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string,
|
177
|
+
findSavings = async (fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
|
178
178
|
return await this.client.execute(this.sender, this.contractAddress, {
|
179
179
|
find_savings: {}
|
180
|
-
}, fee, memo,
|
180
|
+
}, fee, memo, _funds);
|
181
181
|
};
|
182
182
|
findSavingsInAGraph = async ({
|
183
183
|
graphId
|
184
184
|
}: {
|
185
185
|
graphId: number;
|
186
|
-
}, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string,
|
186
|
+
}, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
|
187
187
|
return await this.client.execute(this.sender, this.contractAddress, {
|
188
188
|
find_savings_in_a_graph: {
|
189
189
|
graph_id: graphId
|
190
190
|
}
|
191
|
-
}, fee, memo,
|
191
|
+
}, fee, memo, _funds);
|
192
192
|
};
|
193
|
-
reset = async (fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string,
|
193
|
+
reset = async (fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
|
194
194
|
return await this.client.execute(this.sender, this.contractAddress, {
|
195
195
|
reset: {}
|
196
|
-
}, fee, memo,
|
196
|
+
}, fee, memo, _funds);
|
197
197
|
};
|
198
198
|
saveNetworkToFile = async ({
|
199
199
|
filepath
|
200
200
|
}: {
|
201
201
|
filepath: string;
|
202
|
-
}, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string,
|
202
|
+
}, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
|
203
203
|
return await this.client.execute(this.sender, this.contractAddress, {
|
204
204
|
save_network_to_file: {
|
205
205
|
filepath
|
206
206
|
}
|
207
|
-
}, fee, memo,
|
207
|
+
}, fee, memo, _funds);
|
208
208
|
};
|
209
209
|
createGraphFromFile = async ({
|
210
210
|
filepath
|
211
211
|
}: {
|
212
212
|
filepath: string;
|
213
|
-
}, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string,
|
213
|
+
}, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
|
214
214
|
return await this.client.execute(this.sender, this.contractAddress, {
|
215
215
|
create_graph_from_file: {
|
216
216
|
filepath
|
217
217
|
}
|
218
|
-
}, fee, memo,
|
218
|
+
}, fee, memo, _funds);
|
219
219
|
};
|
220
220
|
applySetOffFromFile = async ({
|
221
221
|
filepath
|
222
222
|
}: {
|
223
223
|
filepath: string;
|
224
|
-
}, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string,
|
224
|
+
}, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
|
225
225
|
return await this.client.execute(this.sender, this.contractAddress, {
|
226
226
|
apply_set_off_from_file: {
|
227
227
|
filepath
|
228
228
|
}
|
229
|
-
}, fee, memo,
|
229
|
+
}, fee, memo, _funds);
|
230
230
|
};
|
231
231
|
}"
|
232
232
|
`;
|
@@ -285,113 +285,113 @@ exports[`execute class /issues/55/query_msg.json 1`] = `
|
|
285
285
|
this.getTotalDebt = this.getTotalDebt.bind(this);
|
286
286
|
}
|
287
287
|
|
288
|
-
getDenom = async (fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string,
|
288
|
+
getDenom = async (fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
|
289
289
|
return await this.client.execute(this.sender, this.contractAddress, {
|
290
290
|
get_denom: {}
|
291
|
-
}, fee, memo,
|
291
|
+
}, fee, memo, _funds);
|
292
292
|
};
|
293
|
-
getOwner = async (fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string,
|
293
|
+
getOwner = async (fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
|
294
294
|
return await this.client.execute(this.sender, this.contractAddress, {
|
295
295
|
get_owner: {}
|
296
|
-
}, fee, memo,
|
296
|
+
}, fee, memo, _funds);
|
297
297
|
};
|
298
|
-
allEdges = async (fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string,
|
298
|
+
allEdges = async (fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
|
299
299
|
return await this.client.execute(this.sender, this.contractAddress, {
|
300
300
|
all_edges: {}
|
301
|
-
}, fee, memo,
|
301
|
+
}, fee, memo, _funds);
|
302
302
|
};
|
303
303
|
oneEdge = async ({
|
304
304
|
edgeId
|
305
305
|
}: {
|
306
306
|
edgeId: number;
|
307
|
-
}, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string,
|
307
|
+
}, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
|
308
308
|
return await this.client.execute(this.sender, this.contractAddress, {
|
309
309
|
one_edge: {
|
310
310
|
edge_id: edgeId
|
311
311
|
}
|
312
|
-
}, fee, memo,
|
312
|
+
}, fee, memo, _funds);
|
313
313
|
};
|
314
314
|
oneBatch = async ({
|
315
315
|
batchId
|
316
316
|
}: {
|
317
317
|
batchId: number;
|
318
|
-
}, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string,
|
318
|
+
}, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
|
319
319
|
return await this.client.execute(this.sender, this.contractAddress, {
|
320
320
|
one_batch: {
|
321
321
|
batch_id: batchId
|
322
322
|
}
|
323
|
-
}, fee, memo,
|
323
|
+
}, fee, memo, _funds);
|
324
324
|
};
|
325
325
|
oneGraph = async ({
|
326
326
|
graphId
|
327
327
|
}: {
|
328
328
|
graphId: number;
|
329
|
-
}, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string,
|
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
|
one_graph: {
|
332
332
|
graph_id: graphId
|
333
333
|
}
|
334
|
-
}, fee, memo,
|
334
|
+
}, fee, memo, _funds);
|
335
335
|
};
|
336
336
|
getEdgesByAddress = async ({
|
337
337
|
address
|
338
338
|
}: {
|
339
339
|
address: Addr;
|
340
|
-
}, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string,
|
340
|
+
}, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
|
341
341
|
return await this.client.execute(this.sender, this.contractAddress, {
|
342
342
|
get_edges_by_address: {
|
343
343
|
address
|
344
344
|
}
|
345
|
-
}, fee, memo,
|
345
|
+
}, fee, memo, _funds);
|
346
346
|
};
|
347
347
|
getEdgesAsCounterparty = async ({
|
348
348
|
address
|
349
349
|
}: {
|
350
350
|
address: Addr;
|
351
|
-
}, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string,
|
351
|
+
}, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
|
352
352
|
return await this.client.execute(this.sender, this.contractAddress, {
|
353
353
|
get_edges_as_counterparty: {
|
354
354
|
address
|
355
355
|
}
|
356
|
-
}, fee, memo,
|
356
|
+
}, fee, memo, _funds);
|
357
357
|
};
|
358
358
|
getTotalDebtPerAddress = async ({
|
359
359
|
address
|
360
360
|
}: {
|
361
361
|
address: Addr;
|
362
|
-
}, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string,
|
362
|
+
}, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
|
363
363
|
return await this.client.execute(this.sender, this.contractAddress, {
|
364
364
|
get_total_debt_per_address: {
|
365
365
|
address
|
366
366
|
}
|
367
|
-
}, fee, memo,
|
367
|
+
}, fee, memo, _funds);
|
368
368
|
};
|
369
369
|
getTotalCreditPerAddress = async ({
|
370
370
|
address
|
371
371
|
}: {
|
372
372
|
address: Addr;
|
373
|
-
}, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string,
|
373
|
+
}, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
|
374
374
|
return await this.client.execute(this.sender, this.contractAddress, {
|
375
375
|
get_total_credit_per_address: {
|
376
376
|
address
|
377
377
|
}
|
378
|
-
}, fee, memo,
|
378
|
+
}, fee, memo, _funds);
|
379
379
|
};
|
380
380
|
getTotalDebtByGraph = async ({
|
381
381
|
graphId
|
382
382
|
}: {
|
383
383
|
graphId: number;
|
384
|
-
}, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string,
|
384
|
+
}, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
|
385
385
|
return await this.client.execute(this.sender, this.contractAddress, {
|
386
386
|
get_total_debt_by_graph: {
|
387
387
|
graph_id: graphId
|
388
388
|
}
|
389
|
-
}, fee, memo,
|
389
|
+
}, fee, memo, _funds);
|
390
390
|
};
|
391
|
-
getTotalDebt = async (fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string,
|
391
|
+
getTotalDebt = async (fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
|
392
392
|
return await this.client.execute(this.sender, this.contractAddress, {
|
393
393
|
get_total_debt: {}
|
394
|
-
}, fee, memo,
|
394
|
+
}, fee, memo, _funds);
|
395
395
|
};
|
396
396
|
}"
|
397
397
|
`;
|
@@ -427,7 +427,7 @@ exports[`execute interface /issues/55/execute_msg.json 1`] = `
|
|
427
427
|
}: {
|
428
428
|
amount: number;
|
429
429
|
creditor: Addr;
|
430
|
-
}, fee?: number | StdFee | \\"auto\\", memo?: string,
|
430
|
+
}, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
|
431
431
|
editEdge: ({
|
432
432
|
amount,
|
433
433
|
creditor,
|
@@ -436,63 +436,63 @@ exports[`execute interface /issues/55/execute_msg.json 1`] = `
|
|
436
436
|
amount: number;
|
437
437
|
creditor: Addr;
|
438
438
|
edgeId: number;
|
439
|
-
}, fee?: number | StdFee | \\"auto\\", memo?: string,
|
439
|
+
}, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
|
440
440
|
removeEdge: ({
|
441
441
|
edgeId
|
442
442
|
}: {
|
443
443
|
edgeId: number;
|
444
|
-
}, fee?: number | StdFee | \\"auto\\", memo?: string,
|
444
|
+
}, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
|
445
445
|
createGraph: ({
|
446
446
|
graph
|
447
447
|
}: {
|
448
448
|
graph: Edge[];
|
449
|
-
}, fee?: number | StdFee | \\"auto\\", memo?: string,
|
449
|
+
}, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
|
450
450
|
createGraphSimplified: ({
|
451
451
|
graph,
|
452
452
|
graphId
|
453
453
|
}: {
|
454
454
|
graph: Addr[][];
|
455
455
|
graphId: number;
|
456
|
-
}, fee?: number | StdFee | \\"auto\\", memo?: string,
|
456
|
+
}, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
|
457
457
|
editGraphSimplified: ({
|
458
458
|
graph,
|
459
459
|
graphId
|
460
460
|
}: {
|
461
461
|
graph: Addr[][];
|
462
462
|
graphId: number;
|
463
|
-
}, fee?: number | StdFee | \\"auto\\", memo?: string,
|
463
|
+
}, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
|
464
464
|
removeGraph: ({
|
465
465
|
graphId
|
466
466
|
}: {
|
467
467
|
graphId: number;
|
468
|
-
}, fee?: number | StdFee | \\"auto\\", memo?: string,
|
468
|
+
}, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
|
469
469
|
updateEdges: ({
|
470
470
|
edges
|
471
471
|
}: {
|
472
472
|
edges: number[][];
|
473
|
-
}, fee?: number | StdFee | \\"auto\\", memo?: string,
|
474
|
-
findSavings: (fee?: number | StdFee | \\"auto\\", memo?: string,
|
473
|
+
}, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
|
474
|
+
findSavings: (fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
|
475
475
|
findSavingsInAGraph: ({
|
476
476
|
graphId
|
477
477
|
}: {
|
478
478
|
graphId: number;
|
479
|
-
}, fee?: number | StdFee | \\"auto\\", memo?: string,
|
480
|
-
reset: (fee?: number | StdFee | \\"auto\\", memo?: string,
|
479
|
+
}, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
|
480
|
+
reset: (fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
|
481
481
|
saveNetworkToFile: ({
|
482
482
|
filepath
|
483
483
|
}: {
|
484
484
|
filepath: string;
|
485
|
-
}, fee?: number | StdFee | \\"auto\\", memo?: string,
|
485
|
+
}, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
|
486
486
|
createGraphFromFile: ({
|
487
487
|
filepath
|
488
488
|
}: {
|
489
489
|
filepath: string;
|
490
|
-
}, fee?: number | StdFee | \\"auto\\", memo?: string,
|
490
|
+
}, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
|
491
491
|
applySetOffFromFile: ({
|
492
492
|
filepath
|
493
493
|
}: {
|
494
494
|
filepath: string;
|
495
|
-
}, fee?: number | StdFee | \\"auto\\", memo?: string,
|
495
|
+
}, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
|
496
496
|
}"
|
497
497
|
`;
|
498
498
|
|
@@ -514,50 +514,50 @@ exports[`execute interface /issues/55/query_msg.json 1`] = `
|
|
514
514
|
"export interface SG721Instance {
|
515
515
|
contractAddress: string;
|
516
516
|
sender: string;
|
517
|
-
getDenom: (fee?: number | StdFee | \\"auto\\", memo?: string,
|
518
|
-
getOwner: (fee?: number | StdFee | \\"auto\\", memo?: string,
|
519
|
-
allEdges: (fee?: number | StdFee | \\"auto\\", memo?: string,
|
517
|
+
getDenom: (fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
|
518
|
+
getOwner: (fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
|
519
|
+
allEdges: (fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
|
520
520
|
oneEdge: ({
|
521
521
|
edgeId
|
522
522
|
}: {
|
523
523
|
edgeId: number;
|
524
|
-
}, fee?: number | StdFee | \\"auto\\", memo?: string,
|
524
|
+
}, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
|
525
525
|
oneBatch: ({
|
526
526
|
batchId
|
527
527
|
}: {
|
528
528
|
batchId: number;
|
529
|
-
}, fee?: number | StdFee | \\"auto\\", memo?: string,
|
529
|
+
}, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
|
530
530
|
oneGraph: ({
|
531
531
|
graphId
|
532
532
|
}: {
|
533
533
|
graphId: number;
|
534
|
-
}, fee?: number | StdFee | \\"auto\\", memo?: string,
|
534
|
+
}, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
|
535
535
|
getEdgesByAddress: ({
|
536
536
|
address
|
537
537
|
}: {
|
538
538
|
address: Addr;
|
539
|
-
}, fee?: number | StdFee | \\"auto\\", memo?: string,
|
539
|
+
}, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
|
540
540
|
getEdgesAsCounterparty: ({
|
541
541
|
address
|
542
542
|
}: {
|
543
543
|
address: Addr;
|
544
|
-
}, fee?: number | StdFee | \\"auto\\", memo?: string,
|
544
|
+
}, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
|
545
545
|
getTotalDebtPerAddress: ({
|
546
546
|
address
|
547
547
|
}: {
|
548
548
|
address: Addr;
|
549
|
-
}, fee?: number | StdFee | \\"auto\\", memo?: string,
|
549
|
+
}, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
|
550
550
|
getTotalCreditPerAddress: ({
|
551
551
|
address
|
552
552
|
}: {
|
553
553
|
address: Addr;
|
554
|
-
}, fee?: number | StdFee | \\"auto\\", memo?: string,
|
554
|
+
}, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
|
555
555
|
getTotalDebtByGraph: ({
|
556
556
|
graphId
|
557
557
|
}: {
|
558
558
|
graphId: number;
|
559
|
-
}, fee?: number | StdFee | \\"auto\\", memo?: string,
|
560
|
-
getTotalDebt: (fee?: number | StdFee | \\"auto\\", memo?: string,
|
559
|
+
}, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
|
560
|
+
getTotalDebt: (fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
|
561
561
|
}"
|
562
562
|
`;
|
563
563
|
|