@ark-us/wasmxjs 0.0.6 → 0.0.8
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.
- package/main/codegen/mythos/wasmx/v1/contract.js +69 -29
- package/main/codegen/mythos/wasmx/v1/tx.amino.js +56 -26
- package/main/codegen/mythos/wasmx/v1/tx.js +234 -117
- package/main/codegen/mythos/wasmx/v1/tx.registry.js +15 -15
- package/main/codegen/mythos/wasmx/v1/tx.rpc.msg.js +6 -6
- package/module/codegen/mythos/wasmx/v1/contract.js +69 -29
- package/module/codegen/mythos/wasmx/v1/tx.amino.js +52 -26
- package/module/codegen/mythos/wasmx/v1/tx.js +149 -77
- package/module/codegen/mythos/wasmx/v1/tx.registry.js +16 -16
- package/module/codegen/mythos/wasmx/v1/tx.rpc.msg.js +6 -6
- package/package.json +1 -1
- package/src/codegen/mythos/wasmx/v1/contract.ts +99 -29
- package/src/codegen/mythos/wasmx/v1/query.rpc.Query.ts +1 -1
- package/src/codegen/mythos/wasmx/v1/tx.amino.ts +69 -35
- package/src/codegen/mythos/wasmx/v1/tx.registry.ts +16 -16
- package/src/codegen/mythos/wasmx/v1/tx.rpc.msg.ts +8 -8
- package/src/codegen/mythos/wasmx/v1/tx.ts +239 -95
- package/types/codegen/mythos/bundle.d.ts +55 -39
- package/types/codegen/mythos/client.d.ts +34 -18
- package/types/codegen/mythos/wasmx/v1/contract.d.ts +20 -2
- package/types/codegen/mythos/wasmx/v1/query.rpc.Query.d.ts +1 -1
- package/types/codegen/mythos/wasmx/v1/tx.amino.d.ts +24 -16
- package/types/codegen/mythos/wasmx/v1/tx.d.ts +86 -36
- package/types/codegen/mythos/wasmx/v1/tx.registry.d.ts +9 -9
- package/types/codegen/mythos/wasmx/v1/tx.rpc.msg.d.ts +4 -4
|
@@ -37,7 +37,7 @@ export declare namespace mythos {
|
|
|
37
37
|
typeUrl: string;
|
|
38
38
|
value: Uint8Array;
|
|
39
39
|
};
|
|
40
|
-
|
|
40
|
+
deployCode(value: _22.MsgDeployCode): {
|
|
41
41
|
typeUrl: string;
|
|
42
42
|
value: Uint8Array;
|
|
43
43
|
};
|
|
@@ -71,9 +71,9 @@ export declare namespace mythos {
|
|
|
71
71
|
typeUrl: string;
|
|
72
72
|
value: _22.MsgStoreCode;
|
|
73
73
|
};
|
|
74
|
-
|
|
74
|
+
deployCode(value: _22.MsgDeployCode): {
|
|
75
75
|
typeUrl: string;
|
|
76
|
-
value: _22.
|
|
76
|
+
value: _22.MsgDeployCode;
|
|
77
77
|
};
|
|
78
78
|
instantiateContract(value: _22.MsgInstantiateContract): {
|
|
79
79
|
typeUrl: string;
|
|
@@ -105,7 +105,7 @@ export declare namespace mythos {
|
|
|
105
105
|
typeUrl: string;
|
|
106
106
|
value: unknown;
|
|
107
107
|
};
|
|
108
|
-
|
|
108
|
+
deployCode(value: _22.MsgDeployCode): {
|
|
109
109
|
typeUrl: string;
|
|
110
110
|
value: unknown;
|
|
111
111
|
};
|
|
@@ -139,9 +139,9 @@ export declare namespace mythos {
|
|
|
139
139
|
typeUrl: string;
|
|
140
140
|
value: _22.MsgStoreCode;
|
|
141
141
|
};
|
|
142
|
-
|
|
142
|
+
deployCode(value: any): {
|
|
143
143
|
typeUrl: string;
|
|
144
|
-
value: _22.
|
|
144
|
+
value: _22.MsgDeployCode;
|
|
145
145
|
};
|
|
146
146
|
instantiateContract(value: any): {
|
|
147
147
|
typeUrl: string;
|
|
@@ -173,9 +173,9 @@ export declare namespace mythos {
|
|
|
173
173
|
typeUrl: string;
|
|
174
174
|
value: _22.MsgStoreCode;
|
|
175
175
|
};
|
|
176
|
-
|
|
176
|
+
deployCode(value: _22.MsgDeployCode): {
|
|
177
177
|
typeUrl: string;
|
|
178
|
-
value: _22.
|
|
178
|
+
value: _22.MsgDeployCode;
|
|
179
179
|
};
|
|
180
180
|
instantiateContract(value: _22.MsgInstantiateContract): {
|
|
181
181
|
typeUrl: string;
|
|
@@ -206,9 +206,10 @@ export declare namespace mythos {
|
|
|
206
206
|
AminoConverter: {
|
|
207
207
|
"/mythos.wasmx.v1.MsgStoreCode": {
|
|
208
208
|
aminoType: string;
|
|
209
|
-
toAmino: ({ sender,
|
|
209
|
+
toAmino: ({ sender, byteCode, deps, metadata }: _22.MsgStoreCode) => {
|
|
210
210
|
sender: string;
|
|
211
|
-
|
|
211
|
+
byte_code: Uint8Array;
|
|
212
|
+
deps: string[];
|
|
212
213
|
metadata: {
|
|
213
214
|
name: string;
|
|
214
215
|
categ: string[];
|
|
@@ -223,9 +224,10 @@ export declare namespace mythos {
|
|
|
223
224
|
};
|
|
224
225
|
};
|
|
225
226
|
};
|
|
226
|
-
fromAmino: ({ sender,
|
|
227
|
+
fromAmino: ({ sender, byte_code, deps, metadata }: {
|
|
227
228
|
sender: string;
|
|
228
|
-
|
|
229
|
+
byte_code: Uint8Array;
|
|
230
|
+
deps: string[];
|
|
229
231
|
metadata: {
|
|
230
232
|
name: string;
|
|
231
233
|
categ: string[];
|
|
@@ -241,11 +243,12 @@ export declare namespace mythos {
|
|
|
241
243
|
};
|
|
242
244
|
}) => _22.MsgStoreCode;
|
|
243
245
|
};
|
|
244
|
-
"/mythos.wasmx.v1.
|
|
246
|
+
"/mythos.wasmx.v1.MsgDeployCode": {
|
|
245
247
|
aminoType: string;
|
|
246
|
-
toAmino: ({ sender,
|
|
248
|
+
toAmino: ({ sender, byteCode, deps, metadata, msg, funds, label }: _22.MsgDeployCode) => {
|
|
247
249
|
sender: string;
|
|
248
|
-
|
|
250
|
+
byte_code: Uint8Array;
|
|
251
|
+
deps: string[];
|
|
249
252
|
metadata: {
|
|
250
253
|
name: string;
|
|
251
254
|
categ: string[];
|
|
@@ -259,10 +262,17 @@ export declare namespace mythos {
|
|
|
259
262
|
address: string;
|
|
260
263
|
};
|
|
261
264
|
};
|
|
265
|
+
msg: Uint8Array;
|
|
266
|
+
funds: {
|
|
267
|
+
denom: string;
|
|
268
|
+
amount: string;
|
|
269
|
+
}[];
|
|
270
|
+
label: string;
|
|
262
271
|
};
|
|
263
|
-
fromAmino: ({ sender,
|
|
272
|
+
fromAmino: ({ sender, byte_code, deps, metadata, msg, funds, label }: {
|
|
264
273
|
sender: string;
|
|
265
|
-
|
|
274
|
+
byte_code: Uint8Array;
|
|
275
|
+
deps: string[];
|
|
266
276
|
metadata: {
|
|
267
277
|
name: string;
|
|
268
278
|
categ: string[];
|
|
@@ -276,54 +286,60 @@ export declare namespace mythos {
|
|
|
276
286
|
address: string;
|
|
277
287
|
};
|
|
278
288
|
};
|
|
279
|
-
|
|
289
|
+
msg: Uint8Array;
|
|
290
|
+
funds: {
|
|
291
|
+
denom: string;
|
|
292
|
+
amount: string;
|
|
293
|
+
}[];
|
|
294
|
+
label: string;
|
|
295
|
+
}) => _22.MsgDeployCode;
|
|
280
296
|
};
|
|
281
297
|
"/mythos.wasmx.v1.MsgInstantiateContract": {
|
|
282
298
|
aminoType: string;
|
|
283
|
-
toAmino: ({ sender, codeId,
|
|
299
|
+
toAmino: ({ sender, codeId, msg, funds, label }: _22.MsgInstantiateContract) => {
|
|
284
300
|
sender: string;
|
|
285
301
|
code_id: string;
|
|
286
|
-
label: string;
|
|
287
302
|
msg: Uint8Array;
|
|
288
303
|
funds: {
|
|
289
304
|
denom: string;
|
|
290
305
|
amount: string;
|
|
291
306
|
}[];
|
|
307
|
+
label: string;
|
|
292
308
|
};
|
|
293
|
-
fromAmino: ({ sender, code_id,
|
|
309
|
+
fromAmino: ({ sender, code_id, msg, funds, label }: {
|
|
294
310
|
sender: string;
|
|
295
311
|
code_id: string;
|
|
296
|
-
label: string;
|
|
297
312
|
msg: Uint8Array;
|
|
298
313
|
funds: {
|
|
299
314
|
denom: string;
|
|
300
315
|
amount: string;
|
|
301
316
|
}[];
|
|
317
|
+
label: string;
|
|
302
318
|
}) => _22.MsgInstantiateContract;
|
|
303
319
|
};
|
|
304
320
|
"/mythos.wasmx.v1.MsgInstantiateContract2": {
|
|
305
321
|
aminoType: string;
|
|
306
|
-
toAmino: ({ sender, codeId,
|
|
322
|
+
toAmino: ({ sender, codeId, msg, funds, label, salt, fixMsg }: _22.MsgInstantiateContract2) => {
|
|
307
323
|
sender: string;
|
|
308
324
|
code_id: string;
|
|
309
|
-
label: string;
|
|
310
325
|
msg: Uint8Array;
|
|
311
326
|
funds: {
|
|
312
327
|
denom: string;
|
|
313
328
|
amount: string;
|
|
314
329
|
}[];
|
|
330
|
+
label: string;
|
|
315
331
|
salt: Uint8Array;
|
|
316
332
|
fix_msg: boolean;
|
|
317
333
|
};
|
|
318
|
-
fromAmino: ({ sender, code_id,
|
|
334
|
+
fromAmino: ({ sender, code_id, msg, funds, label, salt, fix_msg }: {
|
|
319
335
|
sender: string;
|
|
320
336
|
code_id: string;
|
|
321
|
-
label: string;
|
|
322
337
|
msg: Uint8Array;
|
|
323
338
|
funds: {
|
|
324
339
|
denom: string;
|
|
325
340
|
amount: string;
|
|
326
341
|
}[];
|
|
342
|
+
label: string;
|
|
327
343
|
salt: Uint8Array;
|
|
328
344
|
fix_msg: boolean;
|
|
329
345
|
}) => _22.MsgInstantiateContract2;
|
|
@@ -427,19 +443,19 @@ export declare namespace mythos {
|
|
|
427
443
|
toJSON(message: _22.MsgStoreCodeResponse): unknown;
|
|
428
444
|
fromPartial(object: Partial<_22.MsgStoreCodeResponse>): _22.MsgStoreCodeResponse;
|
|
429
445
|
};
|
|
430
|
-
|
|
431
|
-
encode(message: _22.
|
|
432
|
-
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _22.
|
|
433
|
-
fromJSON(object: any): _22.
|
|
434
|
-
toJSON(message: _22.
|
|
435
|
-
fromPartial(object: Partial<_22.
|
|
436
|
-
};
|
|
437
|
-
|
|
438
|
-
encode(message: _22.
|
|
439
|
-
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _22.
|
|
440
|
-
fromJSON(object: any): _22.
|
|
441
|
-
toJSON(message: _22.
|
|
442
|
-
fromPartial(object: Partial<_22.
|
|
446
|
+
MsgDeployCode: {
|
|
447
|
+
encode(message: _22.MsgDeployCode, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
448
|
+
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _22.MsgDeployCode;
|
|
449
|
+
fromJSON(object: any): _22.MsgDeployCode;
|
|
450
|
+
toJSON(message: _22.MsgDeployCode): unknown;
|
|
451
|
+
fromPartial(object: Partial<_22.MsgDeployCode>): _22.MsgDeployCode;
|
|
452
|
+
};
|
|
453
|
+
MsgDeployCodeResponse: {
|
|
454
|
+
encode(message: _22.MsgDeployCodeResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
455
|
+
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _22.MsgDeployCodeResponse;
|
|
456
|
+
fromJSON(object: any): _22.MsgDeployCodeResponse;
|
|
457
|
+
toJSON(message: _22.MsgDeployCodeResponse): unknown;
|
|
458
|
+
fromPartial(object: Partial<_22.MsgDeployCodeResponse>): _22.MsgDeployCodeResponse;
|
|
443
459
|
};
|
|
444
460
|
MsgInstantiateContract: {
|
|
445
461
|
encode(message: _22.MsgInstantiateContract, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
@@ -39,9 +39,10 @@ export declare const mythosAminoConverters: {
|
|
|
39
39
|
};
|
|
40
40
|
"/mythos.wasmx.v1.MsgStoreCode": {
|
|
41
41
|
aminoType: string;
|
|
42
|
-
toAmino: ({ sender,
|
|
42
|
+
toAmino: ({ sender, byteCode, deps, metadata }: import(".").MsgStoreCode) => {
|
|
43
43
|
sender: string;
|
|
44
|
-
|
|
44
|
+
byte_code: Uint8Array;
|
|
45
|
+
deps: string[];
|
|
45
46
|
metadata: {
|
|
46
47
|
name: string;
|
|
47
48
|
categ: string[];
|
|
@@ -56,9 +57,10 @@ export declare const mythosAminoConverters: {
|
|
|
56
57
|
};
|
|
57
58
|
};
|
|
58
59
|
};
|
|
59
|
-
fromAmino: ({ sender,
|
|
60
|
+
fromAmino: ({ sender, byte_code, deps, metadata }: {
|
|
60
61
|
sender: string;
|
|
61
|
-
|
|
62
|
+
byte_code: Uint8Array;
|
|
63
|
+
deps: string[];
|
|
62
64
|
metadata: {
|
|
63
65
|
name: string;
|
|
64
66
|
categ: string[];
|
|
@@ -74,11 +76,12 @@ export declare const mythosAminoConverters: {
|
|
|
74
76
|
};
|
|
75
77
|
}) => import(".").MsgStoreCode;
|
|
76
78
|
};
|
|
77
|
-
"/mythos.wasmx.v1.
|
|
79
|
+
"/mythos.wasmx.v1.MsgDeployCode": {
|
|
78
80
|
aminoType: string;
|
|
79
|
-
toAmino: ({ sender,
|
|
81
|
+
toAmino: ({ sender, byteCode, deps, metadata, msg, funds, label }: import(".").MsgDeployCode) => {
|
|
80
82
|
sender: string;
|
|
81
|
-
|
|
83
|
+
byte_code: Uint8Array;
|
|
84
|
+
deps: string[];
|
|
82
85
|
metadata: {
|
|
83
86
|
name: string;
|
|
84
87
|
categ: string[];
|
|
@@ -92,10 +95,17 @@ export declare const mythosAminoConverters: {
|
|
|
92
95
|
address: string;
|
|
93
96
|
};
|
|
94
97
|
};
|
|
98
|
+
msg: Uint8Array;
|
|
99
|
+
funds: {
|
|
100
|
+
denom: string;
|
|
101
|
+
amount: string;
|
|
102
|
+
}[];
|
|
103
|
+
label: string;
|
|
95
104
|
};
|
|
96
|
-
fromAmino: ({ sender,
|
|
105
|
+
fromAmino: ({ sender, byte_code, deps, metadata, msg, funds, label }: {
|
|
97
106
|
sender: string;
|
|
98
|
-
|
|
107
|
+
byte_code: Uint8Array;
|
|
108
|
+
deps: string[];
|
|
99
109
|
metadata: {
|
|
100
110
|
name: string;
|
|
101
111
|
categ: string[];
|
|
@@ -109,54 +119,60 @@ export declare const mythosAminoConverters: {
|
|
|
109
119
|
address: string;
|
|
110
120
|
};
|
|
111
121
|
};
|
|
112
|
-
|
|
122
|
+
msg: Uint8Array;
|
|
123
|
+
funds: {
|
|
124
|
+
denom: string;
|
|
125
|
+
amount: string;
|
|
126
|
+
}[];
|
|
127
|
+
label: string;
|
|
128
|
+
}) => import(".").MsgDeployCode;
|
|
113
129
|
};
|
|
114
130
|
"/mythos.wasmx.v1.MsgInstantiateContract": {
|
|
115
131
|
aminoType: string;
|
|
116
|
-
toAmino: ({ sender, codeId,
|
|
132
|
+
toAmino: ({ sender, codeId, msg, funds, label }: import(".").MsgInstantiateContract) => {
|
|
117
133
|
sender: string;
|
|
118
134
|
code_id: string;
|
|
119
|
-
label: string;
|
|
120
135
|
msg: Uint8Array;
|
|
121
136
|
funds: {
|
|
122
137
|
denom: string;
|
|
123
138
|
amount: string;
|
|
124
139
|
}[];
|
|
140
|
+
label: string;
|
|
125
141
|
};
|
|
126
|
-
fromAmino: ({ sender, code_id,
|
|
142
|
+
fromAmino: ({ sender, code_id, msg, funds, label }: {
|
|
127
143
|
sender: string;
|
|
128
144
|
code_id: string;
|
|
129
|
-
label: string;
|
|
130
145
|
msg: Uint8Array;
|
|
131
146
|
funds: {
|
|
132
147
|
denom: string;
|
|
133
148
|
amount: string;
|
|
134
149
|
}[];
|
|
150
|
+
label: string;
|
|
135
151
|
}) => import(".").MsgInstantiateContract;
|
|
136
152
|
};
|
|
137
153
|
"/mythos.wasmx.v1.MsgInstantiateContract2": {
|
|
138
154
|
aminoType: string;
|
|
139
|
-
toAmino: ({ sender, codeId,
|
|
155
|
+
toAmino: ({ sender, codeId, msg, funds, label, salt, fixMsg }: import(".").MsgInstantiateContract2) => {
|
|
140
156
|
sender: string;
|
|
141
157
|
code_id: string;
|
|
142
|
-
label: string;
|
|
143
158
|
msg: Uint8Array;
|
|
144
159
|
funds: {
|
|
145
160
|
denom: string;
|
|
146
161
|
amount: string;
|
|
147
162
|
}[];
|
|
163
|
+
label: string;
|
|
148
164
|
salt: Uint8Array;
|
|
149
165
|
fix_msg: boolean;
|
|
150
166
|
};
|
|
151
|
-
fromAmino: ({ sender, code_id,
|
|
167
|
+
fromAmino: ({ sender, code_id, msg, funds, label, salt, fix_msg }: {
|
|
152
168
|
sender: string;
|
|
153
169
|
code_id: string;
|
|
154
|
-
label: string;
|
|
155
170
|
msg: Uint8Array;
|
|
156
171
|
funds: {
|
|
157
172
|
denom: string;
|
|
158
173
|
amount: string;
|
|
159
174
|
}[];
|
|
175
|
+
label: string;
|
|
160
176
|
salt: Uint8Array;
|
|
161
177
|
fix_msg: boolean;
|
|
162
178
|
}) => import(".").MsgInstantiateContract2;
|
|
@@ -42,7 +42,10 @@ export interface CodeMetadataSDKType {
|
|
|
42
42
|
}
|
|
43
43
|
/** CodeInfo is data for the uploaded contract WASM code */
|
|
44
44
|
export interface CodeInfo {
|
|
45
|
-
/**
|
|
45
|
+
/**
|
|
46
|
+
* CodeHash is the unique identifier created by hashing the
|
|
47
|
+
* wasm or interpreted code
|
|
48
|
+
*/
|
|
46
49
|
codeHash: Uint8Array;
|
|
47
50
|
/** Creator address who initially stored the code */
|
|
48
51
|
creator: string;
|
|
@@ -54,10 +57,17 @@ export interface CodeInfo {
|
|
|
54
57
|
/** Pinned contract */
|
|
55
58
|
pinned: boolean;
|
|
56
59
|
metadata?: CodeMetadata;
|
|
60
|
+
/** for code that has a different runtime, like EVM */
|
|
61
|
+
interpretedBytecodeDeployment: Uint8Array;
|
|
62
|
+
interpretedBytecodeRuntime: Uint8Array;
|
|
63
|
+
runtimeHash: Uint8Array;
|
|
57
64
|
}
|
|
58
65
|
/** CodeInfo is data for the uploaded contract WASM code */
|
|
59
66
|
export interface CodeInfoSDKType {
|
|
60
|
-
/**
|
|
67
|
+
/**
|
|
68
|
+
* CodeHash is the unique identifier created by hashing the
|
|
69
|
+
* wasm or interpreted code
|
|
70
|
+
*/
|
|
61
71
|
code_hash: Uint8Array;
|
|
62
72
|
/** Creator address who initially stored the code */
|
|
63
73
|
creator: string;
|
|
@@ -69,6 +79,10 @@ export interface CodeInfoSDKType {
|
|
|
69
79
|
/** Pinned contract */
|
|
70
80
|
pinned: boolean;
|
|
71
81
|
metadata?: CodeMetadataSDKType;
|
|
82
|
+
/** for code that has a different runtime, like EVM */
|
|
83
|
+
interpreted_bytecode_deployment: Uint8Array;
|
|
84
|
+
interpreted_bytecode_runtime: Uint8Array;
|
|
85
|
+
runtime_hash: Uint8Array;
|
|
72
86
|
}
|
|
73
87
|
export interface CodeOrigin {
|
|
74
88
|
/** unique chain ID */
|
|
@@ -92,6 +106,8 @@ export interface ContractInfo {
|
|
|
92
106
|
label: string;
|
|
93
107
|
/** Initialization message */
|
|
94
108
|
initMessage: Uint8Array;
|
|
109
|
+
/** factory/deployer address */
|
|
110
|
+
provenance: string;
|
|
95
111
|
ibcPortId: string;
|
|
96
112
|
}
|
|
97
113
|
/** ContractInfo stores a WASM contract instance */
|
|
@@ -104,6 +120,8 @@ export interface ContractInfoSDKType {
|
|
|
104
120
|
label: string;
|
|
105
121
|
/** Initialization message */
|
|
106
122
|
init_message: Uint8Array;
|
|
123
|
+
/** factory/deployer address */
|
|
124
|
+
provenance: string;
|
|
107
125
|
ibc_port_id: string;
|
|
108
126
|
}
|
|
109
127
|
/**
|
|
@@ -15,7 +15,7 @@ export interface Query {
|
|
|
15
15
|
smartContractCall(request: QuerySmartContractCallRequest): Promise<QuerySmartContractCallResponse>;
|
|
16
16
|
/** Code gets the binary code and metadata for a singe wasm code */
|
|
17
17
|
code(request: QueryCodeRequest): Promise<QueryCodeResponse>;
|
|
18
|
-
/** CodeInfo gets the
|
|
18
|
+
/** CodeInfo gets the metadata for a singe wasm code */
|
|
19
19
|
codeInfo(request: QueryCodeInfoRequest): Promise<QueryCodeInfoResponse>;
|
|
20
20
|
/** Codes gets the metadata for all stored wasm codes */
|
|
21
21
|
codes(request?: QueryCodesRequest): Promise<QueryCodesResponse>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { AminoMsg } from "@cosmjs/amino";
|
|
2
|
-
import { MsgStoreCode,
|
|
2
|
+
import { MsgStoreCode, MsgDeployCode, MsgInstantiateContract, MsgInstantiateContract2, MsgExecuteContract, MsgExecuteWithOriginContract, MsgExecuteDelegateContract, MsgCompileContract } from "./tx";
|
|
3
3
|
export interface AminoMsgStoreCode extends AminoMsg {
|
|
4
4
|
type: "/mythos.wasmx.v1.MsgStoreCode";
|
|
5
5
|
value: {
|
|
6
6
|
sender: string;
|
|
7
|
-
|
|
7
|
+
byte_code: Uint8Array;
|
|
8
|
+
deps: string[];
|
|
8
9
|
metadata: {
|
|
9
10
|
name: string;
|
|
10
11
|
categ: string[];
|
|
@@ -20,11 +21,12 @@ export interface AminoMsgStoreCode extends AminoMsg {
|
|
|
20
21
|
};
|
|
21
22
|
};
|
|
22
23
|
}
|
|
23
|
-
export interface
|
|
24
|
-
type: "/mythos.wasmx.v1.
|
|
24
|
+
export interface AminoMsgDeployCode extends AminoMsg {
|
|
25
|
+
type: "/mythos.wasmx.v1.MsgDeployCode";
|
|
25
26
|
value: {
|
|
26
27
|
sender: string;
|
|
27
|
-
|
|
28
|
+
byte_code: Uint8Array;
|
|
29
|
+
deps: string[];
|
|
28
30
|
metadata: {
|
|
29
31
|
name: string;
|
|
30
32
|
categ: string[];
|
|
@@ -38,6 +40,12 @@ export interface AminoMsgStoreCodeEvm extends AminoMsg {
|
|
|
38
40
|
address: string;
|
|
39
41
|
};
|
|
40
42
|
};
|
|
43
|
+
msg: Uint8Array;
|
|
44
|
+
funds: {
|
|
45
|
+
denom: string;
|
|
46
|
+
amount: string;
|
|
47
|
+
}[];
|
|
48
|
+
label: string;
|
|
41
49
|
};
|
|
42
50
|
}
|
|
43
51
|
export interface AminoMsgInstantiateContract extends AminoMsg {
|
|
@@ -45,12 +53,12 @@ export interface AminoMsgInstantiateContract extends AminoMsg {
|
|
|
45
53
|
value: {
|
|
46
54
|
sender: string;
|
|
47
55
|
code_id: string;
|
|
48
|
-
label: string;
|
|
49
56
|
msg: Uint8Array;
|
|
50
57
|
funds: {
|
|
51
58
|
denom: string;
|
|
52
59
|
amount: string;
|
|
53
60
|
}[];
|
|
61
|
+
label: string;
|
|
54
62
|
};
|
|
55
63
|
}
|
|
56
64
|
export interface AminoMsgInstantiateContract2 extends AminoMsg {
|
|
@@ -58,12 +66,12 @@ export interface AminoMsgInstantiateContract2 extends AminoMsg {
|
|
|
58
66
|
value: {
|
|
59
67
|
sender: string;
|
|
60
68
|
code_id: string;
|
|
61
|
-
label: string;
|
|
62
69
|
msg: Uint8Array;
|
|
63
70
|
funds: {
|
|
64
71
|
denom: string;
|
|
65
72
|
amount: string;
|
|
66
73
|
}[];
|
|
74
|
+
label: string;
|
|
67
75
|
salt: Uint8Array;
|
|
68
76
|
fix_msg: boolean;
|
|
69
77
|
};
|
|
@@ -119,23 +127,23 @@ export interface AminoMsgCompileContract extends AminoMsg {
|
|
|
119
127
|
export declare const AminoConverter: {
|
|
120
128
|
"/mythos.wasmx.v1.MsgStoreCode": {
|
|
121
129
|
aminoType: string;
|
|
122
|
-
toAmino: ({ sender,
|
|
123
|
-
fromAmino: ({ sender,
|
|
130
|
+
toAmino: ({ sender, byteCode, deps, metadata }: MsgStoreCode) => AminoMsgStoreCode["value"];
|
|
131
|
+
fromAmino: ({ sender, byte_code, deps, metadata }: AminoMsgStoreCode["value"]) => MsgStoreCode;
|
|
124
132
|
};
|
|
125
|
-
"/mythos.wasmx.v1.
|
|
133
|
+
"/mythos.wasmx.v1.MsgDeployCode": {
|
|
126
134
|
aminoType: string;
|
|
127
|
-
toAmino: ({ sender,
|
|
128
|
-
fromAmino: ({ sender,
|
|
135
|
+
toAmino: ({ sender, byteCode, deps, metadata, msg, funds, label }: MsgDeployCode) => AminoMsgDeployCode["value"];
|
|
136
|
+
fromAmino: ({ sender, byte_code, deps, metadata, msg, funds, label }: AminoMsgDeployCode["value"]) => MsgDeployCode;
|
|
129
137
|
};
|
|
130
138
|
"/mythos.wasmx.v1.MsgInstantiateContract": {
|
|
131
139
|
aminoType: string;
|
|
132
|
-
toAmino: ({ sender, codeId,
|
|
133
|
-
fromAmino: ({ sender, code_id,
|
|
140
|
+
toAmino: ({ sender, codeId, msg, funds, label }: MsgInstantiateContract) => AminoMsgInstantiateContract["value"];
|
|
141
|
+
fromAmino: ({ sender, code_id, msg, funds, label }: AminoMsgInstantiateContract["value"]) => MsgInstantiateContract;
|
|
134
142
|
};
|
|
135
143
|
"/mythos.wasmx.v1.MsgInstantiateContract2": {
|
|
136
144
|
aminoType: string;
|
|
137
|
-
toAmino: ({ sender, codeId,
|
|
138
|
-
fromAmino: ({ sender, code_id,
|
|
145
|
+
toAmino: ({ sender, codeId, msg, funds, label, salt, fixMsg }: MsgInstantiateContract2) => AminoMsgInstantiateContract2["value"];
|
|
146
|
+
fromAmino: ({ sender, code_id, msg, funds, label, salt, fix_msg }: AminoMsgInstantiateContract2["value"]) => MsgInstantiateContract2;
|
|
139
147
|
};
|
|
140
148
|
"/mythos.wasmx.v1.MsgExecuteContract": {
|
|
141
149
|
aminoType: string;
|