@ark-us/wasmxjs 0.0.6 → 0.0.7
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.
|
@@ -72,20 +72,20 @@ var ContractStorage = {
|
|
|
72
72
|
exports.ContractStorage = ContractStorage;
|
|
73
73
|
function createBaseCodeMetadata() {
|
|
74
74
|
return {
|
|
75
|
-
name:
|
|
76
|
-
categ:
|
|
77
|
-
icon:
|
|
78
|
-
author:
|
|
79
|
-
site:
|
|
80
|
-
abi:
|
|
81
|
-
jsonSchema:
|
|
75
|
+
name: undefined,
|
|
76
|
+
categ: undefined,
|
|
77
|
+
icon: undefined,
|
|
78
|
+
author: undefined,
|
|
79
|
+
site: undefined,
|
|
80
|
+
abi: undefined,
|
|
81
|
+
jsonSchema: undefined,
|
|
82
82
|
origin: undefined
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
85
|
var CodeMetadata = {
|
|
86
86
|
encode: function encode(message) {
|
|
87
87
|
var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
|
|
88
|
-
if (message.name !==
|
|
88
|
+
if (message.name !== undefined) {
|
|
89
89
|
writer.uint32(10).string(message.name);
|
|
90
90
|
}
|
|
91
91
|
var _iterator = _createForOfIteratorHelper(message.categ),
|
|
@@ -100,19 +100,19 @@ var CodeMetadata = {
|
|
|
100
100
|
} finally {
|
|
101
101
|
_iterator.f();
|
|
102
102
|
}
|
|
103
|
-
if (message.icon !==
|
|
103
|
+
if (message.icon !== undefined) {
|
|
104
104
|
writer.uint32(26).string(message.icon);
|
|
105
105
|
}
|
|
106
|
-
if (message.author !==
|
|
106
|
+
if (message.author !== undefined) {
|
|
107
107
|
writer.uint32(34).string(message.author);
|
|
108
108
|
}
|
|
109
|
-
if (message.site !==
|
|
109
|
+
if (message.site !== undefined) {
|
|
110
110
|
writer.uint32(42).string(message.site);
|
|
111
111
|
}
|
|
112
|
-
if (message.abi !==
|
|
112
|
+
if (message.abi !== undefined) {
|
|
113
113
|
writer.uint32(50).string(message.abi);
|
|
114
114
|
}
|
|
115
|
-
if (message.jsonSchema !==
|
|
115
|
+
if (message.jsonSchema !== undefined) {
|
|
116
116
|
writer.uint32(58).string(message.jsonSchema);
|
|
117
117
|
}
|
|
118
118
|
if (message.origin !== undefined) {
|
|
@@ -160,15 +160,15 @@ var CodeMetadata = {
|
|
|
160
160
|
},
|
|
161
161
|
fromJSON: function fromJSON(object) {
|
|
162
162
|
return {
|
|
163
|
-
name: (0, _helpers.isSet)(object.name) ? String(object.name) :
|
|
163
|
+
name: (0, _helpers.isSet)(object.name) ? String(object.name) : undefined,
|
|
164
164
|
categ: Array.isArray(object === null || object === void 0 ? void 0 : object.categ) ? object.categ.map(function (e) {
|
|
165
165
|
return String(e);
|
|
166
166
|
}) : [],
|
|
167
|
-
icon: (0, _helpers.isSet)(object.icon) ? String(object.icon) :
|
|
168
|
-
author: (0, _helpers.isSet)(object.author) ? String(object.author) :
|
|
169
|
-
site: (0, _helpers.isSet)(object.site) ? String(object.site) :
|
|
170
|
-
abi: (0, _helpers.isSet)(object.abi) ? String(object.abi) :
|
|
171
|
-
jsonSchema: (0, _helpers.isSet)(object.jsonSchema) ? String(object.jsonSchema) :
|
|
167
|
+
icon: (0, _helpers.isSet)(object.icon) ? String(object.icon) : undefined,
|
|
168
|
+
author: (0, _helpers.isSet)(object.author) ? String(object.author) : undefined,
|
|
169
|
+
site: (0, _helpers.isSet)(object.site) ? String(object.site) : undefined,
|
|
170
|
+
abi: (0, _helpers.isSet)(object.abi) ? String(object.abi) : undefined,
|
|
171
|
+
jsonSchema: (0, _helpers.isSet)(object.jsonSchema) ? String(object.jsonSchema) : undefined,
|
|
172
172
|
origin: (0, _helpers.isSet)(object.origin) ? CodeOrigin.fromJSON(object.origin) : undefined
|
|
173
173
|
};
|
|
174
174
|
},
|
|
@@ -193,15 +193,15 @@ var CodeMetadata = {
|
|
|
193
193
|
fromPartial: function fromPartial(object) {
|
|
194
194
|
var _object$name, _object$categ, _object$icon, _object$author, _object$site, _object$abi, _object$jsonSchema;
|
|
195
195
|
var message = createBaseCodeMetadata();
|
|
196
|
-
message.name = (_object$name = object.name) !== null && _object$name !== void 0 ? _object$name :
|
|
196
|
+
message.name = (_object$name = object.name) !== null && _object$name !== void 0 ? _object$name : undefined;
|
|
197
197
|
message.categ = ((_object$categ = object.categ) === null || _object$categ === void 0 ? void 0 : _object$categ.map(function (e) {
|
|
198
198
|
return e;
|
|
199
199
|
})) || [];
|
|
200
|
-
message.icon = (_object$icon = object.icon) !== null && _object$icon !== void 0 ? _object$icon :
|
|
201
|
-
message.author = (_object$author = object.author) !== null && _object$author !== void 0 ? _object$author :
|
|
202
|
-
message.site = (_object$site = object.site) !== null && _object$site !== void 0 ? _object$site :
|
|
203
|
-
message.abi = (_object$abi = object.abi) !== null && _object$abi !== void 0 ? _object$abi :
|
|
204
|
-
message.jsonSchema = (_object$jsonSchema = object.jsonSchema) !== null && _object$jsonSchema !== void 0 ? _object$jsonSchema :
|
|
200
|
+
message.icon = (_object$icon = object.icon) !== null && _object$icon !== void 0 ? _object$icon : undefined;
|
|
201
|
+
message.author = (_object$author = object.author) !== null && _object$author !== void 0 ? _object$author : undefined;
|
|
202
|
+
message.site = (_object$site = object.site) !== null && _object$site !== void 0 ? _object$site : undefined;
|
|
203
|
+
message.abi = (_object$abi = object.abi) !== null && _object$abi !== void 0 ? _object$abi : undefined;
|
|
204
|
+
message.jsonSchema = (_object$jsonSchema = object.jsonSchema) !== null && _object$jsonSchema !== void 0 ? _object$jsonSchema : undefined;
|
|
205
205
|
message.origin = object.origin !== undefined && object.origin !== null ? CodeOrigin.fromPartial(object.origin) : undefined;
|
|
206
206
|
return message;
|
|
207
207
|
}
|
|
@@ -60,37 +60,37 @@ export const ContractStorage = {
|
|
|
60
60
|
};
|
|
61
61
|
function createBaseCodeMetadata() {
|
|
62
62
|
return {
|
|
63
|
-
name:
|
|
64
|
-
categ:
|
|
65
|
-
icon:
|
|
66
|
-
author:
|
|
67
|
-
site:
|
|
68
|
-
abi:
|
|
69
|
-
jsonSchema:
|
|
63
|
+
name: undefined,
|
|
64
|
+
categ: undefined,
|
|
65
|
+
icon: undefined,
|
|
66
|
+
author: undefined,
|
|
67
|
+
site: undefined,
|
|
68
|
+
abi: undefined,
|
|
69
|
+
jsonSchema: undefined,
|
|
70
70
|
origin: undefined
|
|
71
71
|
};
|
|
72
72
|
}
|
|
73
73
|
export const CodeMetadata = {
|
|
74
74
|
encode(message, writer = _m0.Writer.create()) {
|
|
75
|
-
if (message.name !==
|
|
75
|
+
if (message.name !== undefined) {
|
|
76
76
|
writer.uint32(10).string(message.name);
|
|
77
77
|
}
|
|
78
78
|
for (const v of message.categ) {
|
|
79
79
|
writer.uint32(18).string(v);
|
|
80
80
|
}
|
|
81
|
-
if (message.icon !==
|
|
81
|
+
if (message.icon !== undefined) {
|
|
82
82
|
writer.uint32(26).string(message.icon);
|
|
83
83
|
}
|
|
84
|
-
if (message.author !==
|
|
84
|
+
if (message.author !== undefined) {
|
|
85
85
|
writer.uint32(34).string(message.author);
|
|
86
86
|
}
|
|
87
|
-
if (message.site !==
|
|
87
|
+
if (message.site !== undefined) {
|
|
88
88
|
writer.uint32(42).string(message.site);
|
|
89
89
|
}
|
|
90
|
-
if (message.abi !==
|
|
90
|
+
if (message.abi !== undefined) {
|
|
91
91
|
writer.uint32(50).string(message.abi);
|
|
92
92
|
}
|
|
93
|
-
if (message.jsonSchema !==
|
|
93
|
+
if (message.jsonSchema !== undefined) {
|
|
94
94
|
writer.uint32(58).string(message.jsonSchema);
|
|
95
95
|
}
|
|
96
96
|
if (message.origin !== undefined) {
|
|
@@ -138,13 +138,13 @@ export const CodeMetadata = {
|
|
|
138
138
|
},
|
|
139
139
|
fromJSON(object) {
|
|
140
140
|
return {
|
|
141
|
-
name: isSet(object.name) ? String(object.name) :
|
|
141
|
+
name: isSet(object.name) ? String(object.name) : undefined,
|
|
142
142
|
categ: Array.isArray(object === null || object === void 0 ? void 0 : object.categ) ? object.categ.map(e => String(e)) : [],
|
|
143
|
-
icon: isSet(object.icon) ? String(object.icon) :
|
|
144
|
-
author: isSet(object.author) ? String(object.author) :
|
|
145
|
-
site: isSet(object.site) ? String(object.site) :
|
|
146
|
-
abi: isSet(object.abi) ? String(object.abi) :
|
|
147
|
-
jsonSchema: isSet(object.jsonSchema) ? String(object.jsonSchema) :
|
|
143
|
+
icon: isSet(object.icon) ? String(object.icon) : undefined,
|
|
144
|
+
author: isSet(object.author) ? String(object.author) : undefined,
|
|
145
|
+
site: isSet(object.site) ? String(object.site) : undefined,
|
|
146
|
+
abi: isSet(object.abi) ? String(object.abi) : undefined,
|
|
147
|
+
jsonSchema: isSet(object.jsonSchema) ? String(object.jsonSchema) : undefined,
|
|
148
148
|
origin: isSet(object.origin) ? CodeOrigin.fromJSON(object.origin) : undefined
|
|
149
149
|
};
|
|
150
150
|
},
|
|
@@ -167,13 +167,13 @@ export const CodeMetadata = {
|
|
|
167
167
|
fromPartial(object) {
|
|
168
168
|
var _object$name, _object$categ, _object$icon, _object$author, _object$site, _object$abi, _object$jsonSchema;
|
|
169
169
|
const message = createBaseCodeMetadata();
|
|
170
|
-
message.name = (_object$name = object.name) !== null && _object$name !== void 0 ? _object$name :
|
|
170
|
+
message.name = (_object$name = object.name) !== null && _object$name !== void 0 ? _object$name : undefined;
|
|
171
171
|
message.categ = ((_object$categ = object.categ) === null || _object$categ === void 0 ? void 0 : _object$categ.map(e => e)) || [];
|
|
172
|
-
message.icon = (_object$icon = object.icon) !== null && _object$icon !== void 0 ? _object$icon :
|
|
173
|
-
message.author = (_object$author = object.author) !== null && _object$author !== void 0 ? _object$author :
|
|
174
|
-
message.site = (_object$site = object.site) !== null && _object$site !== void 0 ? _object$site :
|
|
175
|
-
message.abi = (_object$abi = object.abi) !== null && _object$abi !== void 0 ? _object$abi :
|
|
176
|
-
message.jsonSchema = (_object$jsonSchema = object.jsonSchema) !== null && _object$jsonSchema !== void 0 ? _object$jsonSchema :
|
|
172
|
+
message.icon = (_object$icon = object.icon) !== null && _object$icon !== void 0 ? _object$icon : undefined;
|
|
173
|
+
message.author = (_object$author = object.author) !== null && _object$author !== void 0 ? _object$author : undefined;
|
|
174
|
+
message.site = (_object$site = object.site) !== null && _object$site !== void 0 ? _object$site : undefined;
|
|
175
|
+
message.abi = (_object$abi = object.abi) !== null && _object$abi !== void 0 ? _object$abi : undefined;
|
|
176
|
+
message.jsonSchema = (_object$jsonSchema = object.jsonSchema) !== null && _object$jsonSchema !== void 0 ? _object$jsonSchema : undefined;
|
|
177
177
|
message.origin = object.origin !== undefined && object.origin !== null ? CodeOrigin.fromPartial(object.origin) : undefined;
|
|
178
178
|
return message;
|
|
179
179
|
}
|
package/package.json
CHANGED
|
@@ -236,20 +236,20 @@ export const ContractStorage = {
|
|
|
236
236
|
|
|
237
237
|
function createBaseCodeMetadata(): CodeMetadata {
|
|
238
238
|
return {
|
|
239
|
-
name:
|
|
240
|
-
categ:
|
|
241
|
-
icon:
|
|
242
|
-
author:
|
|
243
|
-
site:
|
|
244
|
-
abi:
|
|
245
|
-
jsonSchema:
|
|
239
|
+
name: undefined,
|
|
240
|
+
categ: undefined,
|
|
241
|
+
icon: undefined,
|
|
242
|
+
author: undefined,
|
|
243
|
+
site: undefined,
|
|
244
|
+
abi: undefined,
|
|
245
|
+
jsonSchema: undefined,
|
|
246
246
|
origin: undefined
|
|
247
247
|
};
|
|
248
248
|
}
|
|
249
249
|
|
|
250
250
|
export const CodeMetadata = {
|
|
251
251
|
encode(message: CodeMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
252
|
-
if (message.name !==
|
|
252
|
+
if (message.name !== undefined) {
|
|
253
253
|
writer.uint32(10).string(message.name);
|
|
254
254
|
}
|
|
255
255
|
|
|
@@ -257,23 +257,23 @@ export const CodeMetadata = {
|
|
|
257
257
|
writer.uint32(18).string(v!);
|
|
258
258
|
}
|
|
259
259
|
|
|
260
|
-
if (message.icon !==
|
|
260
|
+
if (message.icon !== undefined) {
|
|
261
261
|
writer.uint32(26).string(message.icon);
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
if (message.author !==
|
|
264
|
+
if (message.author !== undefined) {
|
|
265
265
|
writer.uint32(34).string(message.author);
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
-
if (message.site !==
|
|
268
|
+
if (message.site !== undefined) {
|
|
269
269
|
writer.uint32(42).string(message.site);
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
if (message.abi !==
|
|
272
|
+
if (message.abi !== undefined) {
|
|
273
273
|
writer.uint32(50).string(message.abi);
|
|
274
274
|
}
|
|
275
275
|
|
|
276
|
-
if (message.jsonSchema !==
|
|
276
|
+
if (message.jsonSchema !== undefined) {
|
|
277
277
|
writer.uint32(58).string(message.jsonSchema);
|
|
278
278
|
}
|
|
279
279
|
|
|
@@ -336,13 +336,13 @@ export const CodeMetadata = {
|
|
|
336
336
|
|
|
337
337
|
fromJSON(object: any): CodeMetadata {
|
|
338
338
|
return {
|
|
339
|
-
name: isSet(object.name) ? String(object.name) :
|
|
339
|
+
name: isSet(object.name) ? String(object.name) : undefined,
|
|
340
340
|
categ: Array.isArray(object?.categ) ? object.categ.map((e: any) => String(e)) : [],
|
|
341
|
-
icon: isSet(object.icon) ? String(object.icon) :
|
|
342
|
-
author: isSet(object.author) ? String(object.author) :
|
|
343
|
-
site: isSet(object.site) ? String(object.site) :
|
|
344
|
-
abi: isSet(object.abi) ? String(object.abi) :
|
|
345
|
-
jsonSchema: isSet(object.jsonSchema) ? String(object.jsonSchema) :
|
|
341
|
+
icon: isSet(object.icon) ? String(object.icon) : undefined,
|
|
342
|
+
author: isSet(object.author) ? String(object.author) : undefined,
|
|
343
|
+
site: isSet(object.site) ? String(object.site) : undefined,
|
|
344
|
+
abi: isSet(object.abi) ? String(object.abi) : undefined,
|
|
345
|
+
jsonSchema: isSet(object.jsonSchema) ? String(object.jsonSchema) : undefined,
|
|
346
346
|
origin: isSet(object.origin) ? CodeOrigin.fromJSON(object.origin) : undefined
|
|
347
347
|
};
|
|
348
348
|
},
|
|
@@ -368,13 +368,13 @@ export const CodeMetadata = {
|
|
|
368
368
|
|
|
369
369
|
fromPartial(object: Partial<CodeMetadata>): CodeMetadata {
|
|
370
370
|
const message = createBaseCodeMetadata();
|
|
371
|
-
message.name = object.name ??
|
|
371
|
+
message.name = object.name ?? undefined;
|
|
372
372
|
message.categ = object.categ?.map(e => e) || [];
|
|
373
|
-
message.icon = object.icon ??
|
|
374
|
-
message.author = object.author ??
|
|
375
|
-
message.site = object.site ??
|
|
376
|
-
message.abi = object.abi ??
|
|
377
|
-
message.jsonSchema = object.jsonSchema ??
|
|
373
|
+
message.icon = object.icon ?? undefined;
|
|
374
|
+
message.author = object.author ?? undefined;
|
|
375
|
+
message.site = object.site ?? undefined;
|
|
376
|
+
message.abi = object.abi ?? undefined;
|
|
377
|
+
message.jsonSchema = object.jsonSchema ?? undefined;
|
|
378
378
|
message.origin = object.origin !== undefined && object.origin !== null ? CodeOrigin.fromPartial(object.origin) : undefined;
|
|
379
379
|
return message;
|
|
380
380
|
}
|
|
@@ -39,7 +39,7 @@ export declare const mythosAminoConverters: {
|
|
|
39
39
|
};
|
|
40
40
|
"/mythos.wasmx.v1.MsgStoreCode": {
|
|
41
41
|
aminoType: string;
|
|
42
|
-
toAmino: ({ sender, wasmByteCode, metadata }: import("
|
|
42
|
+
toAmino: ({ sender, wasmByteCode, metadata }: import("./wasmx/v1/tx").MsgStoreCode) => {
|
|
43
43
|
sender: string;
|
|
44
44
|
wasm_byte_code: Uint8Array;
|
|
45
45
|
metadata: {
|
|
@@ -72,11 +72,11 @@ export declare const mythosAminoConverters: {
|
|
|
72
72
|
address: string;
|
|
73
73
|
};
|
|
74
74
|
};
|
|
75
|
-
}) => import("
|
|
75
|
+
}) => import("./wasmx/v1/tx").MsgStoreCode;
|
|
76
76
|
};
|
|
77
77
|
"/mythos.wasmx.v1.MsgStoreCodeEvm": {
|
|
78
78
|
aminoType: string;
|
|
79
|
-
toAmino: ({ sender, evmByteCode, metadata }: import("
|
|
79
|
+
toAmino: ({ sender, evmByteCode, metadata }: import("./wasmx/v1/tx").MsgStoreCodeEvm) => {
|
|
80
80
|
sender: string;
|
|
81
81
|
evm_byte_code: Uint8Array;
|
|
82
82
|
metadata: {
|
|
@@ -109,11 +109,11 @@ export declare const mythosAminoConverters: {
|
|
|
109
109
|
address: string;
|
|
110
110
|
};
|
|
111
111
|
};
|
|
112
|
-
}) => import("
|
|
112
|
+
}) => import("./wasmx/v1/tx").MsgStoreCodeEvm;
|
|
113
113
|
};
|
|
114
114
|
"/mythos.wasmx.v1.MsgInstantiateContract": {
|
|
115
115
|
aminoType: string;
|
|
116
|
-
toAmino: ({ sender, codeId, label, msg, funds }: import("
|
|
116
|
+
toAmino: ({ sender, codeId, label, msg, funds }: import("./wasmx/v1/tx").MsgInstantiateContract) => {
|
|
117
117
|
sender: string;
|
|
118
118
|
code_id: string;
|
|
119
119
|
label: string;
|
|
@@ -132,11 +132,11 @@ export declare const mythosAminoConverters: {
|
|
|
132
132
|
denom: string;
|
|
133
133
|
amount: string;
|
|
134
134
|
}[];
|
|
135
|
-
}) => import("
|
|
135
|
+
}) => import("./wasmx/v1/tx").MsgInstantiateContract;
|
|
136
136
|
};
|
|
137
137
|
"/mythos.wasmx.v1.MsgInstantiateContract2": {
|
|
138
138
|
aminoType: string;
|
|
139
|
-
toAmino: ({ sender, codeId, label, msg, funds, salt, fixMsg }: import("
|
|
139
|
+
toAmino: ({ sender, codeId, label, msg, funds, salt, fixMsg }: import("./wasmx/v1/tx").MsgInstantiateContract2) => {
|
|
140
140
|
sender: string;
|
|
141
141
|
code_id: string;
|
|
142
142
|
label: string;
|
|
@@ -159,11 +159,11 @@ export declare const mythosAminoConverters: {
|
|
|
159
159
|
}[];
|
|
160
160
|
salt: Uint8Array;
|
|
161
161
|
fix_msg: boolean;
|
|
162
|
-
}) => import("
|
|
162
|
+
}) => import("./wasmx/v1/tx").MsgInstantiateContract2;
|
|
163
163
|
};
|
|
164
164
|
"/mythos.wasmx.v1.MsgExecuteContract": {
|
|
165
165
|
aminoType: string;
|
|
166
|
-
toAmino: ({ sender, contract, msg, funds, dependencies }: import("
|
|
166
|
+
toAmino: ({ sender, contract, msg, funds, dependencies }: import("./wasmx/v1/tx").MsgExecuteContract) => {
|
|
167
167
|
sender: string;
|
|
168
168
|
contract: string;
|
|
169
169
|
msg: Uint8Array;
|
|
@@ -182,11 +182,11 @@ export declare const mythosAminoConverters: {
|
|
|
182
182
|
amount: string;
|
|
183
183
|
}[];
|
|
184
184
|
dependencies: string[];
|
|
185
|
-
}) => import("
|
|
185
|
+
}) => import("./wasmx/v1/tx").MsgExecuteContract;
|
|
186
186
|
};
|
|
187
187
|
"/mythos.wasmx.v1.MsgExecuteWithOriginContract": {
|
|
188
188
|
aminoType: string;
|
|
189
|
-
toAmino: ({ origin, sender, contract, msg, funds }: import("
|
|
189
|
+
toAmino: ({ origin, sender, contract, msg, funds }: import("./wasmx/v1/tx").MsgExecuteWithOriginContract) => {
|
|
190
190
|
origin: string;
|
|
191
191
|
sender: string;
|
|
192
192
|
contract: string;
|
|
@@ -205,11 +205,11 @@ export declare const mythosAminoConverters: {
|
|
|
205
205
|
denom: string;
|
|
206
206
|
amount: string;
|
|
207
207
|
}[];
|
|
208
|
-
}) => import("
|
|
208
|
+
}) => import("./wasmx/v1/tx").MsgExecuteWithOriginContract;
|
|
209
209
|
};
|
|
210
210
|
"/mythos.wasmx.v1.MsgExecuteDelegateContract": {
|
|
211
211
|
aminoType: string;
|
|
212
|
-
toAmino: ({ origin, sender, caller, codeContract, storageContract, msg, funds }: import("
|
|
212
|
+
toAmino: ({ origin, sender, caller, codeContract, storageContract, msg, funds }: import("./wasmx/v1/tx").MsgExecuteDelegateContract) => {
|
|
213
213
|
origin: string;
|
|
214
214
|
sender: string;
|
|
215
215
|
caller: string;
|
|
@@ -232,18 +232,18 @@ export declare const mythosAminoConverters: {
|
|
|
232
232
|
denom: string;
|
|
233
233
|
amount: string;
|
|
234
234
|
}[];
|
|
235
|
-
}) => import("
|
|
235
|
+
}) => import("./wasmx/v1/tx").MsgExecuteDelegateContract;
|
|
236
236
|
};
|
|
237
237
|
"/mythos.wasmx.v1.MsgCompileContract": {
|
|
238
238
|
aminoType: string;
|
|
239
|
-
toAmino: ({ sender, codeId }: import("
|
|
239
|
+
toAmino: ({ sender, codeId }: import("./wasmx/v1/tx").MsgCompileContract) => {
|
|
240
240
|
sender: string;
|
|
241
241
|
codeId: string;
|
|
242
242
|
};
|
|
243
243
|
fromAmino: ({ sender, codeId }: {
|
|
244
244
|
sender: string;
|
|
245
245
|
codeId: string;
|
|
246
|
-
}) => import("
|
|
246
|
+
}) => import("./wasmx/v1/tx").MsgCompileContract;
|
|
247
247
|
};
|
|
248
248
|
};
|
|
249
249
|
export declare const mythosProtoRegistry: ReadonlyArray<[string, GeneratedType]>;
|
|
@@ -19,16 +19,16 @@ export declare const createRPCQueryClient: ({ rpcEndpoint }: {
|
|
|
19
19
|
mythos: {
|
|
20
20
|
wasmx: {
|
|
21
21
|
v1: {
|
|
22
|
-
contractInfo(request: import("
|
|
23
|
-
contractsByCode(request: import("
|
|
24
|
-
allContractState(request: import("
|
|
25
|
-
rawContractState(request: import("
|
|
26
|
-
smartContractCall(request: import("
|
|
27
|
-
code(request: import("
|
|
28
|
-
codeInfo(request: import("
|
|
29
|
-
codes(request?: import("
|
|
30
|
-
params(request?: import("
|
|
31
|
-
contractsByCreator(request: import("
|
|
22
|
+
contractInfo(request: import("./wasmx/v1/query").QueryContractInfoRequest): Promise<import("./wasmx/v1/query").QueryContractInfoResponse>;
|
|
23
|
+
contractsByCode(request: import("./wasmx/v1/query").QueryContractsByCodeRequest): Promise<import("./wasmx/v1/query").QueryContractsByCodeResponse>;
|
|
24
|
+
allContractState(request: import("./wasmx/v1/query").QueryAllContractStateRequest): Promise<import("./wasmx/v1/query").QueryAllContractStateResponse>;
|
|
25
|
+
rawContractState(request: import("./wasmx/v1/query").QueryRawContractStateRequest): Promise<import("./wasmx/v1/query").QueryRawContractStateResponse>;
|
|
26
|
+
smartContractCall(request: import("./wasmx/v1/query").QuerySmartContractCallRequest): Promise<import("./wasmx/v1/query").QuerySmartContractCallResponse>;
|
|
27
|
+
code(request: import("./wasmx/v1/query").QueryCodeRequest): Promise<import("./wasmx/v1/query").QueryCodeResponse>;
|
|
28
|
+
codeInfo(request: import("./wasmx/v1/query").QueryCodeInfoRequest): Promise<import("./wasmx/v1/query").QueryCodeInfoResponse>;
|
|
29
|
+
codes(request?: import("./wasmx/v1/query").QueryCodesRequest): Promise<import("./wasmx/v1/query").QueryCodesResponse>;
|
|
30
|
+
params(request?: import("./wasmx/v1/query").QueryParamsRequest): Promise<import("./wasmx/v1/query").QueryParamsResponse>;
|
|
31
|
+
contractsByCreator(request: import("./wasmx/v1/query").QueryContractsByCreatorRequest): Promise<import("./wasmx/v1/query").QueryContractsByCreatorResponse>;
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
34
|
websrv: {
|