@ark-us/wasmxjs 0.0.2 → 0.0.3
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/README.md +1 -1
- package/main/codegen/wasmx/bundle.js +26 -20
- package/main/codegen/wasmx/client.js +6 -6
- package/main/codegen/wasmx/index.js +9 -9
- package/main/codegen/wasmx/rpc.query.js +16 -10
- package/main/codegen/wasmx/rpc.tx.js +18 -12
- package/main/codegen/wasmx/wasmx/{contract.js → v1/contract.js} +1 -1
- package/main/codegen/wasmx/wasmx/{genesis.js → v1/genesis.js} +1 -1
- package/main/codegen/wasmx/wasmx/{query.js → v1/query.js} +3 -3
- package/main/codegen/wasmx/wasmx/{query.rpc.Query.js → v1/query.rpc.Query.js} +9 -9
- package/main/codegen/wasmx/wasmx/{tx.amino.js → v1/tx.amino.js} +17 -17
- package/main/codegen/wasmx/wasmx/{tx.js → v1/tx.js} +2 -2
- package/main/codegen/wasmx/wasmx/{tx.registry.js → v1/tx.registry.js} +41 -41
- package/main/codegen/wasmx/wasmx/{tx.rpc.msg.js → v1/tx.rpc.msg.js} +8 -8
- package/main/codegen/wasmx/websrv/{genesis.js → v1/genesis.js} +1 -1
- package/main/codegen/wasmx/websrv/{params.js → v1/params.js} +1 -1
- package/main/codegen/wasmx/websrv/{proposal.js → v1/proposal.js} +1 -1
- package/main/codegen/wasmx/websrv/{query.js → v1/query.js} +2 -2
- package/main/codegen/wasmx/websrv/{query.rpc.Query.js → v1/query.rpc.Query.js} +7 -7
- package/main/codegen/wasmx/websrv/{tx.amino.js → v1/tx.amino.js} +7 -7
- package/main/codegen/wasmx/websrv/{tx.js → v1/tx.js} +1 -1
- package/main/codegen/wasmx/websrv/{tx.registry.js → v1/tx.registry.js} +16 -16
- package/main/codegen/wasmx/websrv/{tx.rpc.msg.js → v1/tx.rpc.msg.js} +3 -3
- package/module/codegen/wasmx/bundle.js +26 -20
- package/module/codegen/wasmx/client.js +6 -6
- package/module/codegen/wasmx/index.js +9 -9
- package/module/codegen/wasmx/rpc.query.js +6 -2
- package/module/codegen/wasmx/rpc.tx.js +6 -2
- package/module/codegen/wasmx/wasmx/{contract.js → v1/contract.js} +1 -1
- package/module/codegen/wasmx/wasmx/{genesis.js → v1/genesis.js} +1 -1
- package/module/codegen/wasmx/wasmx/{query.js → v1/query.js} +3 -3
- package/module/codegen/wasmx/wasmx/{query.rpc.Query.js → v1/query.rpc.Query.js} +9 -9
- package/module/codegen/wasmx/wasmx/{tx.amino.js → v1/tx.amino.js} +17 -17
- package/module/codegen/wasmx/wasmx/{tx.js → v1/tx.js} +2 -2
- package/module/codegen/wasmx/wasmx/{tx.registry.js → v1/tx.registry.js} +41 -41
- package/module/codegen/wasmx/wasmx/{tx.rpc.msg.js → v1/tx.rpc.msg.js} +8 -8
- package/module/codegen/wasmx/websrv/{genesis.js → v1/genesis.js} +1 -1
- package/module/codegen/wasmx/websrv/{params.js → v1/params.js} +1 -1
- package/module/codegen/wasmx/websrv/{proposal.js → v1/proposal.js} +1 -1
- package/module/codegen/wasmx/websrv/{query.js → v1/query.js} +2 -2
- package/module/codegen/wasmx/websrv/{query.rpc.Query.js → v1/query.rpc.Query.js} +7 -7
- package/module/codegen/wasmx/websrv/{tx.amino.js → v1/tx.amino.js} +7 -7
- package/module/codegen/wasmx/websrv/{tx.js → v1/tx.js} +1 -1
- package/module/codegen/wasmx/websrv/{tx.registry.js → v1/tx.registry.js} +16 -16
- package/module/codegen/wasmx/websrv/{tx.rpc.msg.js → v1/tx.rpc.msg.js} +3 -3
- package/package.json +1 -1
- package/src/codegen/wasmx/bundle.ts +42 -38
- package/src/codegen/wasmx/client.ts +7 -7
- package/src/codegen/wasmx/index.ts +9 -9
- package/src/codegen/wasmx/rpc.query.ts +6 -2
- package/src/codegen/wasmx/rpc.tx.ts +6 -2
- package/src/codegen/wasmx/wasmx/{contract.ts → v1/contract.ts} +1 -1
- package/src/codegen/wasmx/wasmx/{genesis.ts → v1/genesis.ts} +1 -1
- package/src/codegen/wasmx/wasmx/{query.rpc.Query.ts → v1/query.rpc.Query.ts} +10 -10
- package/src/codegen/wasmx/wasmx/{query.ts → v1/query.ts} +3 -3
- package/src/codegen/wasmx/wasmx/{tx.amino.ts → v1/tx.amino.ts} +25 -25
- package/src/codegen/wasmx/wasmx/{tx.registry.ts → v1/tx.registry.ts} +41 -41
- package/src/codegen/wasmx/wasmx/{tx.rpc.msg.ts → v1/tx.rpc.msg.ts} +9 -9
- package/src/codegen/wasmx/wasmx/{tx.ts → v1/tx.ts} +2 -2
- package/src/codegen/wasmx/websrv/{genesis.ts → v1/genesis.ts} +1 -1
- package/src/codegen/wasmx/websrv/{params.ts → v1/params.ts} +1 -1
- package/src/codegen/wasmx/websrv/{proposal.ts → v1/proposal.ts} +1 -1
- package/src/codegen/wasmx/websrv/{query.rpc.Query.ts → v1/query.rpc.Query.ts} +8 -8
- package/src/codegen/wasmx/websrv/{query.ts → v1/query.ts} +2 -2
- package/src/codegen/wasmx/websrv/{tx.amino.ts → v1/tx.amino.ts} +10 -10
- package/src/codegen/wasmx/websrv/{tx.registry.ts → v1/tx.registry.ts} +16 -16
- package/src/codegen/wasmx/websrv/{tx.rpc.msg.ts → v1/tx.rpc.msg.ts} +4 -4
- package/src/codegen/wasmx/websrv/{tx.ts → v1/tx.ts} +1 -1
- package/types/codegen/wasmx/bundle.d.ts +979 -967
- package/types/codegen/wasmx/client.d.ts +33 -33
- package/types/codegen/wasmx/rpc.query.d.ts +20 -16
- package/types/codegen/wasmx/rpc.tx.d.ts +6 -2
- package/types/codegen/wasmx/wasmx/tx.amino.d.ts +16 -16
- package/types/codegen/wasmx/wasmx/v1/contract.d.ts +139 -0
- package/types/codegen/wasmx/wasmx/v1/genesis.d.ts +121 -0
- package/types/codegen/wasmx/wasmx/v1/params.d.ts +14 -0
- package/types/codegen/wasmx/wasmx/v1/query.d.ts +451 -0
- package/types/codegen/wasmx/wasmx/v1/query.rpc.Query.d.ts +48 -0
- package/types/codegen/wasmx/wasmx/v1/tx.amino.d.ts +134 -0
- package/types/codegen/wasmx/wasmx/v1/tx.d.ts +404 -0
- package/types/codegen/wasmx/wasmx/v1/tx.registry.d.ts +176 -0
- package/types/codegen/wasmx/wasmx/v1/tx.rpc.msg.d.ts +39 -0
- package/types/codegen/wasmx/websrv/v1/genesis.d.ts +17 -0
- package/types/codegen/wasmx/websrv/v1/params.d.ts +16 -0
- package/types/codegen/wasmx/websrv/v1/proposal.d.ts +65 -0
- package/types/codegen/wasmx/websrv/v1/query.d.ts +315 -0
- package/types/codegen/wasmx/websrv/v1/query.rpc.Query.d.ts +40 -0
- package/types/codegen/wasmx/websrv/v1/tx.amino.d.ts +41 -0
- package/types/codegen/wasmx/websrv/v1/tx.d.ts +90 -0
- package/types/codegen/wasmx/websrv/v1/tx.registry.d.ts +76 -0
- package/types/codegen/wasmx/websrv/v1/tx.rpc.msg.d.ts +18 -0
- /package/main/codegen/wasmx/wasmx/{params.js → v1/params.js} +0 -0
- /package/module/codegen/wasmx/wasmx/{params.js → v1/params.js} +0 -0
- /package/src/codegen/wasmx/wasmx/{params.ts → v1/params.ts} +0 -0
|
@@ -26,7 +26,7 @@ var MsgClientImpl = /*#__PURE__*/function () {
|
|
|
26
26
|
key: "registerOAuthClient",
|
|
27
27
|
value: function registerOAuthClient(request) {
|
|
28
28
|
var data = _tx.MsgRegisterOAuthClient.encode(request).finish();
|
|
29
|
-
var promise = this.rpc.request("wasmx.websrv.Msg", "RegisterOAuthClient", data);
|
|
29
|
+
var promise = this.rpc.request("wasmx.websrv.v1.Msg", "RegisterOAuthClient", data);
|
|
30
30
|
return promise.then(function (data) {
|
|
31
31
|
return _tx.MsgRegisterOAuthClientResponse.decode(new _m0.Reader(data));
|
|
32
32
|
});
|
|
@@ -35,7 +35,7 @@ var MsgClientImpl = /*#__PURE__*/function () {
|
|
|
35
35
|
key: "editOAuthClient",
|
|
36
36
|
value: function editOAuthClient(request) {
|
|
37
37
|
var data = _tx.MsgEditOAuthClient.encode(request).finish();
|
|
38
|
-
var promise = this.rpc.request("wasmx.websrv.Msg", "EditOAuthClient", data);
|
|
38
|
+
var promise = this.rpc.request("wasmx.websrv.v1.Msg", "EditOAuthClient", data);
|
|
39
39
|
return promise.then(function (data) {
|
|
40
40
|
return _tx.MsgEditOAuthClientResponse.decode(new _m0.Reader(data));
|
|
41
41
|
});
|
|
@@ -44,7 +44,7 @@ var MsgClientImpl = /*#__PURE__*/function () {
|
|
|
44
44
|
key: "deregisterOAuthClient",
|
|
45
45
|
value: function deregisterOAuthClient(request) {
|
|
46
46
|
var data = _tx.MsgDeregisterOAuthClient.encode(request).finish();
|
|
47
|
-
var promise = this.rpc.request("wasmx.websrv.Msg", "DeregisterOAuthClient", data);
|
|
47
|
+
var promise = this.rpc.request("wasmx.websrv.v1.Msg", "DeregisterOAuthClient", data);
|
|
48
48
|
return promise.then(function (data) {
|
|
49
49
|
return _tx.MsgDeregisterOAuthClientResponse.decode(new _m0.Reader(data));
|
|
50
50
|
});
|
|
@@ -1,29 +1,35 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
2
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3
3
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4
|
-
import * as _29 from "./wasmx/contract";
|
|
5
|
-
import * as _30 from "./wasmx/genesis";
|
|
6
|
-
import * as _31 from "./wasmx/params";
|
|
7
|
-
import * as _32 from "./wasmx/query";
|
|
8
|
-
import * as _33 from "./wasmx/tx";
|
|
9
|
-
import * as _34 from "./websrv/genesis";
|
|
10
|
-
import * as _35 from "./websrv/params";
|
|
11
|
-
import * as _36 from "./websrv/proposal";
|
|
12
|
-
import * as _37 from "./websrv/query";
|
|
13
|
-
import * as _38 from "./websrv/tx";
|
|
14
|
-
import * as _40 from "./wasmx/tx.amino";
|
|
15
|
-
import * as _41 from "./websrv/tx.amino";
|
|
16
|
-
import * as _42 from "./wasmx/tx.registry";
|
|
17
|
-
import * as _43 from "./websrv/tx.registry";
|
|
18
|
-
import * as _44 from "./wasmx/query.rpc.Query";
|
|
19
|
-
import * as _45 from "./websrv/query.rpc.Query";
|
|
20
|
-
import * as _46 from "./wasmx/tx.rpc.msg";
|
|
21
|
-
import * as _47 from "./websrv/tx.rpc.msg";
|
|
4
|
+
import * as _29 from "./wasmx/v1/contract";
|
|
5
|
+
import * as _30 from "./wasmx/v1/genesis";
|
|
6
|
+
import * as _31 from "./wasmx/v1/params";
|
|
7
|
+
import * as _32 from "./wasmx/v1/query";
|
|
8
|
+
import * as _33 from "./wasmx/v1/tx";
|
|
9
|
+
import * as _34 from "./websrv/v1/genesis";
|
|
10
|
+
import * as _35 from "./websrv/v1/params";
|
|
11
|
+
import * as _36 from "./websrv/v1/proposal";
|
|
12
|
+
import * as _37 from "./websrv/v1/query";
|
|
13
|
+
import * as _38 from "./websrv/v1/tx";
|
|
14
|
+
import * as _40 from "./wasmx/v1/tx.amino";
|
|
15
|
+
import * as _41 from "./websrv/v1/tx.amino";
|
|
16
|
+
import * as _42 from "./wasmx/v1/tx.registry";
|
|
17
|
+
import * as _43 from "./websrv/v1/tx.registry";
|
|
18
|
+
import * as _44 from "./wasmx/v1/query.rpc.Query";
|
|
19
|
+
import * as _45 from "./websrv/v1/query.rpc.Query";
|
|
20
|
+
import * as _46 from "./wasmx/v1/tx.rpc.msg";
|
|
21
|
+
import * as _47 from "./websrv/v1/tx.rpc.msg";
|
|
22
22
|
import * as _49 from "./rpc.query";
|
|
23
23
|
import * as _50 from "./rpc.tx";
|
|
24
24
|
export let wasmx;
|
|
25
25
|
(function (_wasmx) {
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
let wasmx;
|
|
27
|
+
(function (_wasmx2) {
|
|
28
|
+
const v1 = _wasmx2.v1 = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, _29), _30), _31), _32), _33), _40), _42), _44), _46);
|
|
29
|
+
})(wasmx || (wasmx = _wasmx.wasmx || (_wasmx.wasmx = {})));
|
|
30
|
+
let websrv;
|
|
31
|
+
(function (_websrv) {
|
|
32
|
+
const v1 = _websrv.v1 = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, _34), _35), _36), _37), _38), _41), _43), _45), _47);
|
|
33
|
+
})(websrv || (websrv = _wasmx.websrv || (_wasmx.websrv = {})));
|
|
28
34
|
const ClientFactory = _wasmx.ClientFactory = _objectSpread(_objectSpread({}, _49), _50);
|
|
29
35
|
})(wasmx || (wasmx = {}));
|
|
@@ -3,12 +3,12 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
|
|
|
3
3
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4
4
|
import { Registry } from "@cosmjs/proto-signing";
|
|
5
5
|
import { defaultRegistryTypes, AminoTypes, SigningStargateClient } from "@cosmjs/stargate";
|
|
6
|
-
import * as
|
|
7
|
-
import * as
|
|
8
|
-
import * as
|
|
9
|
-
import * as
|
|
10
|
-
export const wasmxAminoConverters = _objectSpread(_objectSpread({},
|
|
11
|
-
export const wasmxProtoRegistry = [...
|
|
6
|
+
import * as wasmxWasmxV1TxRegistry from "./wasmx/v1/tx.registry";
|
|
7
|
+
import * as wasmxWebsrvV1TxRegistry from "./websrv/v1/tx.registry";
|
|
8
|
+
import * as wasmxWasmxV1TxAmino from "./wasmx/v1/tx.amino";
|
|
9
|
+
import * as wasmxWebsrvV1TxAmino from "./websrv/v1/tx.amino";
|
|
10
|
+
export const wasmxAminoConverters = _objectSpread(_objectSpread({}, wasmxWasmxV1TxAmino.AminoConverter), wasmxWebsrvV1TxAmino.AminoConverter);
|
|
11
|
+
export const wasmxProtoRegistry = [...wasmxWasmxV1TxRegistry.registry, ...wasmxWebsrvV1TxRegistry.registry];
|
|
12
12
|
export const getSigningWasmxClientOptions = ({
|
|
13
13
|
defaultTypes = defaultRegistryTypes
|
|
14
14
|
} = {}) => {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export * from "./wasmx/contract";
|
|
2
|
-
export * from "./wasmx/genesis";
|
|
3
|
-
export * from "./wasmx/params";
|
|
4
|
-
export * from "./wasmx/query";
|
|
5
|
-
export * from "./wasmx/tx";
|
|
6
|
-
export * from "./wasmx/tx.amino";
|
|
7
|
-
export * from "./wasmx/tx.registry";
|
|
8
|
-
export * from "./wasmx/query.rpc.Query";
|
|
9
|
-
export * from "./wasmx/tx.rpc.msg";
|
|
1
|
+
export * from "./wasmx/v1/contract";
|
|
2
|
+
export * from "./wasmx/v1/genesis";
|
|
3
|
+
export * from "./wasmx/v1/params";
|
|
4
|
+
export * from "./wasmx/v1/query";
|
|
5
|
+
export * from "./wasmx/v1/tx";
|
|
6
|
+
export * from "./wasmx/v1/tx.amino";
|
|
7
|
+
export * from "./wasmx/v1/tx.registry";
|
|
8
|
+
export * from "./wasmx/v1/query.rpc.Query";
|
|
9
|
+
export * from "./wasmx/v1/tx.rpc.msg";
|
|
10
10
|
export * from "./rpc.query";
|
|
11
11
|
export * from "./rpc.tx";
|
|
@@ -14,8 +14,12 @@ export const createRPCQueryClient = async ({
|
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
wasmx: {
|
|
17
|
-
wasmx:
|
|
18
|
-
|
|
17
|
+
wasmx: {
|
|
18
|
+
v1: (await import("./wasmx/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
19
|
+
},
|
|
20
|
+
websrv: {
|
|
21
|
+
v1: (await import("./websrv/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
22
|
+
}
|
|
19
23
|
}
|
|
20
24
|
};
|
|
21
25
|
};
|
|
@@ -2,7 +2,11 @@ export const createRPCMsgClient = async ({
|
|
|
2
2
|
rpc
|
|
3
3
|
}) => ({
|
|
4
4
|
wasmx: {
|
|
5
|
-
wasmx:
|
|
6
|
-
|
|
5
|
+
wasmx: {
|
|
6
|
+
v1: new (await import("./wasmx/v1/tx.rpc.msg")).MsgClientImpl(rpc)
|
|
7
|
+
},
|
|
8
|
+
websrv: {
|
|
9
|
+
v1: new (await import("./websrv/v1/tx.rpc.msg")).MsgClientImpl(rpc)
|
|
10
|
+
}
|
|
7
11
|
}
|
|
8
12
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _m0 from "protobufjs/minimal";
|
|
2
|
-
import { isSet, bytesFromBase64, base64FromBytes, Long } from "
|
|
2
|
+
import { isSet, bytesFromBase64, base64FromBytes, Long } from "../../../helpers";
|
|
3
3
|
/** ContractStorage */
|
|
4
4
|
|
|
5
5
|
function createBaseContractStorage() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Params } from "./params";
|
|
2
2
|
import { CodeInfo, CodeMetadata, ContractInfo, ContractStorage } from "./contract";
|
|
3
3
|
import * as _m0 from "protobufjs/minimal";
|
|
4
|
-
import { isSet, bytesFromBase64, base64FromBytes, Long } from "
|
|
4
|
+
import { isSet, bytesFromBase64, base64FromBytes, Long } from "../../../helpers";
|
|
5
5
|
/** GenesisState defines the wasmx module's genesis state. */
|
|
6
6
|
|
|
7
7
|
function createBaseGenesisState() {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { PageRequest, PageResponse } from "
|
|
2
|
-
import { Coin } from "
|
|
1
|
+
import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination";
|
|
2
|
+
import { Coin } from "../../../cosmos/base/v1beta1/coin";
|
|
3
3
|
import { ContractInfo, ContractStorage } from "./contract";
|
|
4
4
|
import { Params } from "./params";
|
|
5
5
|
import * as _m0 from "protobufjs/minimal";
|
|
6
|
-
import { isSet, Long, bytesFromBase64, base64FromBytes } from "
|
|
6
|
+
import { isSet, Long, bytesFromBase64, base64FromBytes } from "../../../helpers";
|
|
7
7
|
/**
|
|
8
8
|
* QueryContractInfoRequest is the request type for the Query/ContractInfo RPC
|
|
9
9
|
* method
|
|
@@ -20,49 +20,49 @@ export class QueryClientImpl {
|
|
|
20
20
|
}
|
|
21
21
|
contractInfo(request) {
|
|
22
22
|
const data = QueryContractInfoRequest.encode(request).finish();
|
|
23
|
-
const promise = this.rpc.request("wasmx.wasmx.Query", "ContractInfo", data);
|
|
23
|
+
const promise = this.rpc.request("wasmx.wasmx.v1.Query", "ContractInfo", data);
|
|
24
24
|
return promise.then(data => QueryContractInfoResponse.decode(new _m0.Reader(data)));
|
|
25
25
|
}
|
|
26
26
|
contractsByCode(request) {
|
|
27
27
|
const data = QueryContractsByCodeRequest.encode(request).finish();
|
|
28
|
-
const promise = this.rpc.request("wasmx.wasmx.Query", "ContractsByCode", data);
|
|
28
|
+
const promise = this.rpc.request("wasmx.wasmx.v1.Query", "ContractsByCode", data);
|
|
29
29
|
return promise.then(data => QueryContractsByCodeResponse.decode(new _m0.Reader(data)));
|
|
30
30
|
}
|
|
31
31
|
allContractState(request) {
|
|
32
32
|
const data = QueryAllContractStateRequest.encode(request).finish();
|
|
33
|
-
const promise = this.rpc.request("wasmx.wasmx.Query", "AllContractState", data);
|
|
33
|
+
const promise = this.rpc.request("wasmx.wasmx.v1.Query", "AllContractState", data);
|
|
34
34
|
return promise.then(data => QueryAllContractStateResponse.decode(new _m0.Reader(data)));
|
|
35
35
|
}
|
|
36
36
|
rawContractState(request) {
|
|
37
37
|
const data = QueryRawContractStateRequest.encode(request).finish();
|
|
38
|
-
const promise = this.rpc.request("wasmx.wasmx.Query", "RawContractState", data);
|
|
38
|
+
const promise = this.rpc.request("wasmx.wasmx.v1.Query", "RawContractState", data);
|
|
39
39
|
return promise.then(data => QueryRawContractStateResponse.decode(new _m0.Reader(data)));
|
|
40
40
|
}
|
|
41
41
|
smartContractCall(request) {
|
|
42
42
|
const data = QuerySmartContractCallRequest.encode(request).finish();
|
|
43
|
-
const promise = this.rpc.request("wasmx.wasmx.Query", "SmartContractCall", data);
|
|
43
|
+
const promise = this.rpc.request("wasmx.wasmx.v1.Query", "SmartContractCall", data);
|
|
44
44
|
return promise.then(data => QuerySmartContractCallResponse.decode(new _m0.Reader(data)));
|
|
45
45
|
}
|
|
46
46
|
code(request) {
|
|
47
47
|
const data = QueryCodeRequest.encode(request).finish();
|
|
48
|
-
const promise = this.rpc.request("wasmx.wasmx.Query", "Code", data);
|
|
48
|
+
const promise = this.rpc.request("wasmx.wasmx.v1.Query", "Code", data);
|
|
49
49
|
return promise.then(data => QueryCodeResponse.decode(new _m0.Reader(data)));
|
|
50
50
|
}
|
|
51
51
|
codes(request = {
|
|
52
52
|
pagination: undefined
|
|
53
53
|
}) {
|
|
54
54
|
const data = QueryCodesRequest.encode(request).finish();
|
|
55
|
-
const promise = this.rpc.request("wasmx.wasmx.Query", "Codes", data);
|
|
55
|
+
const promise = this.rpc.request("wasmx.wasmx.v1.Query", "Codes", data);
|
|
56
56
|
return promise.then(data => QueryCodesResponse.decode(new _m0.Reader(data)));
|
|
57
57
|
}
|
|
58
58
|
params(request = {}) {
|
|
59
59
|
const data = QueryParamsRequest.encode(request).finish();
|
|
60
|
-
const promise = this.rpc.request("wasmx.wasmx.Query", "Params", data);
|
|
60
|
+
const promise = this.rpc.request("wasmx.wasmx.v1.Query", "Params", data);
|
|
61
61
|
return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data)));
|
|
62
62
|
}
|
|
63
63
|
contractsByCreator(request) {
|
|
64
64
|
const data = QueryContractsByCreatorRequest.encode(request).finish();
|
|
65
|
-
const promise = this.rpc.request("wasmx.wasmx.Query", "ContractsByCreator", data);
|
|
65
|
+
const promise = this.rpc.request("wasmx.wasmx.v1.Query", "ContractsByCreator", data);
|
|
66
66
|
return promise.then(data => QueryContractsByCreatorResponse.decode(new _m0.Reader(data)));
|
|
67
67
|
}
|
|
68
68
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { fromUtf8, toUtf8 } from "@cosmjs/encoding";
|
|
2
|
-
import { Long } from "
|
|
2
|
+
import { Long } from "../../../helpers";
|
|
3
3
|
export const AminoConverter = {
|
|
4
|
-
"/wasmx.wasmx.MsgStoreCode": {
|
|
5
|
-
aminoType: "/wasmx.wasmx.MsgStoreCode",
|
|
4
|
+
"/wasmx.wasmx.v1.MsgStoreCode": {
|
|
5
|
+
aminoType: "/wasmx.wasmx.v1.MsgStoreCode",
|
|
6
6
|
toAmino: ({
|
|
7
7
|
sender,
|
|
8
8
|
wasmByteCode
|
|
@@ -22,8 +22,8 @@ export const AminoConverter = {
|
|
|
22
22
|
};
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
|
-
"/wasmx.wasmx.MsgStoreCodeEvm": {
|
|
26
|
-
aminoType: "/wasmx.wasmx.MsgStoreCodeEvm",
|
|
25
|
+
"/wasmx.wasmx.v1.MsgStoreCodeEvm": {
|
|
26
|
+
aminoType: "/wasmx.wasmx.v1.MsgStoreCodeEvm",
|
|
27
27
|
toAmino: ({
|
|
28
28
|
sender,
|
|
29
29
|
evmByteCode
|
|
@@ -43,8 +43,8 @@ export const AminoConverter = {
|
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
|
-
"/wasmx.wasmx.MsgInstantiateContract": {
|
|
47
|
-
aminoType: "/wasmx.wasmx.MsgInstantiateContract",
|
|
46
|
+
"/wasmx.wasmx.v1.MsgInstantiateContract": {
|
|
47
|
+
aminoType: "/wasmx.wasmx.v1.MsgInstantiateContract",
|
|
48
48
|
toAmino: ({
|
|
49
49
|
sender,
|
|
50
50
|
codeId,
|
|
@@ -82,8 +82,8 @@ export const AminoConverter = {
|
|
|
82
82
|
};
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
|
-
"/wasmx.wasmx.MsgInstantiateContract2": {
|
|
86
|
-
aminoType: "/wasmx.wasmx.MsgInstantiateContract2",
|
|
85
|
+
"/wasmx.wasmx.v1.MsgInstantiateContract2": {
|
|
86
|
+
aminoType: "/wasmx.wasmx.v1.MsgInstantiateContract2",
|
|
87
87
|
toAmino: ({
|
|
88
88
|
sender,
|
|
89
89
|
codeId,
|
|
@@ -129,8 +129,8 @@ export const AminoConverter = {
|
|
|
129
129
|
};
|
|
130
130
|
}
|
|
131
131
|
},
|
|
132
|
-
"/wasmx.wasmx.MsgExecuteContract": {
|
|
133
|
-
aminoType: "/wasmx.wasmx.MsgExecuteContract",
|
|
132
|
+
"/wasmx.wasmx.v1.MsgExecuteContract": {
|
|
133
|
+
aminoType: "/wasmx.wasmx.v1.MsgExecuteContract",
|
|
134
134
|
toAmino: ({
|
|
135
135
|
sender,
|
|
136
136
|
contract,
|
|
@@ -168,8 +168,8 @@ export const AminoConverter = {
|
|
|
168
168
|
};
|
|
169
169
|
}
|
|
170
170
|
},
|
|
171
|
-
"/wasmx.wasmx.MsgExecuteWithOriginContract": {
|
|
172
|
-
aminoType: "/wasmx.wasmx.MsgExecuteWithOriginContract",
|
|
171
|
+
"/wasmx.wasmx.v1.MsgExecuteWithOriginContract": {
|
|
172
|
+
aminoType: "/wasmx.wasmx.v1.MsgExecuteWithOriginContract",
|
|
173
173
|
toAmino: ({
|
|
174
174
|
origin,
|
|
175
175
|
sender,
|
|
@@ -207,8 +207,8 @@ export const AminoConverter = {
|
|
|
207
207
|
};
|
|
208
208
|
}
|
|
209
209
|
},
|
|
210
|
-
"/wasmx.wasmx.MsgExecuteDelegateContract": {
|
|
211
|
-
aminoType: "/wasmx.wasmx.MsgExecuteDelegateContract",
|
|
210
|
+
"/wasmx.wasmx.v1.MsgExecuteDelegateContract": {
|
|
211
|
+
aminoType: "/wasmx.wasmx.v1.MsgExecuteDelegateContract",
|
|
212
212
|
toAmino: ({
|
|
213
213
|
origin,
|
|
214
214
|
sender,
|
|
@@ -254,8 +254,8 @@ export const AminoConverter = {
|
|
|
254
254
|
};
|
|
255
255
|
}
|
|
256
256
|
},
|
|
257
|
-
"/wasmx.wasmx.MsgCompileContract": {
|
|
258
|
-
aminoType: "/wasmx.wasmx.MsgCompileContract",
|
|
257
|
+
"/wasmx.wasmx.v1.MsgCompileContract": {
|
|
258
|
+
aminoType: "/wasmx.wasmx.v1.MsgCompileContract",
|
|
259
259
|
toAmino: ({
|
|
260
260
|
sender,
|
|
261
261
|
codeId
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Coin } from "
|
|
1
|
+
import { Coin } from "../../../cosmos/base/v1beta1/coin";
|
|
2
2
|
import * as _m0 from "protobufjs/minimal";
|
|
3
|
-
import { isSet, bytesFromBase64, base64FromBytes, Long } from "
|
|
3
|
+
import { isSet, bytesFromBase64, base64FromBytes, Long } from "../../../helpers";
|
|
4
4
|
/** MsgStoreCode submit Wasm code to the system */
|
|
5
5
|
|
|
6
6
|
function createBaseMsgStoreCode() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MsgStoreCode, MsgStoreCodeEvm, MsgInstantiateContract, MsgInstantiateContract2, MsgExecuteContract, MsgExecuteWithOriginContract, MsgExecuteDelegateContract, MsgCompileContract } from "./tx";
|
|
2
|
-
export const registry = [["/wasmx.wasmx.MsgStoreCode", MsgStoreCode], ["/wasmx.wasmx.MsgStoreCodeEvm", MsgStoreCodeEvm], ["/wasmx.wasmx.MsgInstantiateContract", MsgInstantiateContract], ["/wasmx.wasmx.MsgInstantiateContract2", MsgInstantiateContract2], ["/wasmx.wasmx.MsgExecuteContract", MsgExecuteContract], ["/wasmx.wasmx.MsgExecuteWithOriginContract", MsgExecuteWithOriginContract], ["/wasmx.wasmx.MsgExecuteDelegateContract", MsgExecuteDelegateContract], ["/wasmx.wasmx.MsgCompileContract", MsgCompileContract]];
|
|
2
|
+
export const registry = [["/wasmx.wasmx.v1.MsgStoreCode", MsgStoreCode], ["/wasmx.wasmx.v1.MsgStoreCodeEvm", MsgStoreCodeEvm], ["/wasmx.wasmx.v1.MsgInstantiateContract", MsgInstantiateContract], ["/wasmx.wasmx.v1.MsgInstantiateContract2", MsgInstantiateContract2], ["/wasmx.wasmx.v1.MsgExecuteContract", MsgExecuteContract], ["/wasmx.wasmx.v1.MsgExecuteWithOriginContract", MsgExecuteWithOriginContract], ["/wasmx.wasmx.v1.MsgExecuteDelegateContract", MsgExecuteDelegateContract], ["/wasmx.wasmx.v1.MsgCompileContract", MsgCompileContract]];
|
|
3
3
|
export const load = protoRegistry => {
|
|
4
4
|
registry.forEach(([typeUrl, mod]) => {
|
|
5
5
|
protoRegistry.register(typeUrl, mod);
|
|
@@ -9,49 +9,49 @@ export const MessageComposer = {
|
|
|
9
9
|
encoded: {
|
|
10
10
|
storeCode(value) {
|
|
11
11
|
return {
|
|
12
|
-
typeUrl: "/wasmx.wasmx.MsgStoreCode",
|
|
12
|
+
typeUrl: "/wasmx.wasmx.v1.MsgStoreCode",
|
|
13
13
|
value: MsgStoreCode.encode(value).finish()
|
|
14
14
|
};
|
|
15
15
|
},
|
|
16
16
|
storeCodeEvm(value) {
|
|
17
17
|
return {
|
|
18
|
-
typeUrl: "/wasmx.wasmx.MsgStoreCodeEvm",
|
|
18
|
+
typeUrl: "/wasmx.wasmx.v1.MsgStoreCodeEvm",
|
|
19
19
|
value: MsgStoreCodeEvm.encode(value).finish()
|
|
20
20
|
};
|
|
21
21
|
},
|
|
22
22
|
instantiateContract(value) {
|
|
23
23
|
return {
|
|
24
|
-
typeUrl: "/wasmx.wasmx.MsgInstantiateContract",
|
|
24
|
+
typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract",
|
|
25
25
|
value: MsgInstantiateContract.encode(value).finish()
|
|
26
26
|
};
|
|
27
27
|
},
|
|
28
28
|
instantiateContract2(value) {
|
|
29
29
|
return {
|
|
30
|
-
typeUrl: "/wasmx.wasmx.MsgInstantiateContract2",
|
|
30
|
+
typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract2",
|
|
31
31
|
value: MsgInstantiateContract2.encode(value).finish()
|
|
32
32
|
};
|
|
33
33
|
},
|
|
34
34
|
executeContract(value) {
|
|
35
35
|
return {
|
|
36
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteContract",
|
|
36
|
+
typeUrl: "/wasmx.wasmx.v1.MsgExecuteContract",
|
|
37
37
|
value: MsgExecuteContract.encode(value).finish()
|
|
38
38
|
};
|
|
39
39
|
},
|
|
40
40
|
executeWithOriginContract(value) {
|
|
41
41
|
return {
|
|
42
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteWithOriginContract",
|
|
42
|
+
typeUrl: "/wasmx.wasmx.v1.MsgExecuteWithOriginContract",
|
|
43
43
|
value: MsgExecuteWithOriginContract.encode(value).finish()
|
|
44
44
|
};
|
|
45
45
|
},
|
|
46
46
|
executeDelegateContract(value) {
|
|
47
47
|
return {
|
|
48
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteDelegateContract",
|
|
48
|
+
typeUrl: "/wasmx.wasmx.v1.MsgExecuteDelegateContract",
|
|
49
49
|
value: MsgExecuteDelegateContract.encode(value).finish()
|
|
50
50
|
};
|
|
51
51
|
},
|
|
52
52
|
compileContract(value) {
|
|
53
53
|
return {
|
|
54
|
-
typeUrl: "/wasmx.wasmx.MsgCompileContract",
|
|
54
|
+
typeUrl: "/wasmx.wasmx.v1.MsgCompileContract",
|
|
55
55
|
value: MsgCompileContract.encode(value).finish()
|
|
56
56
|
};
|
|
57
57
|
}
|
|
@@ -59,49 +59,49 @@ export const MessageComposer = {
|
|
|
59
59
|
withTypeUrl: {
|
|
60
60
|
storeCode(value) {
|
|
61
61
|
return {
|
|
62
|
-
typeUrl: "/wasmx.wasmx.MsgStoreCode",
|
|
62
|
+
typeUrl: "/wasmx.wasmx.v1.MsgStoreCode",
|
|
63
63
|
value
|
|
64
64
|
};
|
|
65
65
|
},
|
|
66
66
|
storeCodeEvm(value) {
|
|
67
67
|
return {
|
|
68
|
-
typeUrl: "/wasmx.wasmx.MsgStoreCodeEvm",
|
|
68
|
+
typeUrl: "/wasmx.wasmx.v1.MsgStoreCodeEvm",
|
|
69
69
|
value
|
|
70
70
|
};
|
|
71
71
|
},
|
|
72
72
|
instantiateContract(value) {
|
|
73
73
|
return {
|
|
74
|
-
typeUrl: "/wasmx.wasmx.MsgInstantiateContract",
|
|
74
|
+
typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract",
|
|
75
75
|
value
|
|
76
76
|
};
|
|
77
77
|
},
|
|
78
78
|
instantiateContract2(value) {
|
|
79
79
|
return {
|
|
80
|
-
typeUrl: "/wasmx.wasmx.MsgInstantiateContract2",
|
|
80
|
+
typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract2",
|
|
81
81
|
value
|
|
82
82
|
};
|
|
83
83
|
},
|
|
84
84
|
executeContract(value) {
|
|
85
85
|
return {
|
|
86
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteContract",
|
|
86
|
+
typeUrl: "/wasmx.wasmx.v1.MsgExecuteContract",
|
|
87
87
|
value
|
|
88
88
|
};
|
|
89
89
|
},
|
|
90
90
|
executeWithOriginContract(value) {
|
|
91
91
|
return {
|
|
92
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteWithOriginContract",
|
|
92
|
+
typeUrl: "/wasmx.wasmx.v1.MsgExecuteWithOriginContract",
|
|
93
93
|
value
|
|
94
94
|
};
|
|
95
95
|
},
|
|
96
96
|
executeDelegateContract(value) {
|
|
97
97
|
return {
|
|
98
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteDelegateContract",
|
|
98
|
+
typeUrl: "/wasmx.wasmx.v1.MsgExecuteDelegateContract",
|
|
99
99
|
value
|
|
100
100
|
};
|
|
101
101
|
},
|
|
102
102
|
compileContract(value) {
|
|
103
103
|
return {
|
|
104
|
-
typeUrl: "/wasmx.wasmx.MsgCompileContract",
|
|
104
|
+
typeUrl: "/wasmx.wasmx.v1.MsgCompileContract",
|
|
105
105
|
value
|
|
106
106
|
};
|
|
107
107
|
}
|
|
@@ -109,49 +109,49 @@ export const MessageComposer = {
|
|
|
109
109
|
toJSON: {
|
|
110
110
|
storeCode(value) {
|
|
111
111
|
return {
|
|
112
|
-
typeUrl: "/wasmx.wasmx.MsgStoreCode",
|
|
112
|
+
typeUrl: "/wasmx.wasmx.v1.MsgStoreCode",
|
|
113
113
|
value: MsgStoreCode.toJSON(value)
|
|
114
114
|
};
|
|
115
115
|
},
|
|
116
116
|
storeCodeEvm(value) {
|
|
117
117
|
return {
|
|
118
|
-
typeUrl: "/wasmx.wasmx.MsgStoreCodeEvm",
|
|
118
|
+
typeUrl: "/wasmx.wasmx.v1.MsgStoreCodeEvm",
|
|
119
119
|
value: MsgStoreCodeEvm.toJSON(value)
|
|
120
120
|
};
|
|
121
121
|
},
|
|
122
122
|
instantiateContract(value) {
|
|
123
123
|
return {
|
|
124
|
-
typeUrl: "/wasmx.wasmx.MsgInstantiateContract",
|
|
124
|
+
typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract",
|
|
125
125
|
value: MsgInstantiateContract.toJSON(value)
|
|
126
126
|
};
|
|
127
127
|
},
|
|
128
128
|
instantiateContract2(value) {
|
|
129
129
|
return {
|
|
130
|
-
typeUrl: "/wasmx.wasmx.MsgInstantiateContract2",
|
|
130
|
+
typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract2",
|
|
131
131
|
value: MsgInstantiateContract2.toJSON(value)
|
|
132
132
|
};
|
|
133
133
|
},
|
|
134
134
|
executeContract(value) {
|
|
135
135
|
return {
|
|
136
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteContract",
|
|
136
|
+
typeUrl: "/wasmx.wasmx.v1.MsgExecuteContract",
|
|
137
137
|
value: MsgExecuteContract.toJSON(value)
|
|
138
138
|
};
|
|
139
139
|
},
|
|
140
140
|
executeWithOriginContract(value) {
|
|
141
141
|
return {
|
|
142
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteWithOriginContract",
|
|
142
|
+
typeUrl: "/wasmx.wasmx.v1.MsgExecuteWithOriginContract",
|
|
143
143
|
value: MsgExecuteWithOriginContract.toJSON(value)
|
|
144
144
|
};
|
|
145
145
|
},
|
|
146
146
|
executeDelegateContract(value) {
|
|
147
147
|
return {
|
|
148
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteDelegateContract",
|
|
148
|
+
typeUrl: "/wasmx.wasmx.v1.MsgExecuteDelegateContract",
|
|
149
149
|
value: MsgExecuteDelegateContract.toJSON(value)
|
|
150
150
|
};
|
|
151
151
|
},
|
|
152
152
|
compileContract(value) {
|
|
153
153
|
return {
|
|
154
|
-
typeUrl: "/wasmx.wasmx.MsgCompileContract",
|
|
154
|
+
typeUrl: "/wasmx.wasmx.v1.MsgCompileContract",
|
|
155
155
|
value: MsgCompileContract.toJSON(value)
|
|
156
156
|
};
|
|
157
157
|
}
|
|
@@ -159,49 +159,49 @@ export const MessageComposer = {
|
|
|
159
159
|
fromJSON: {
|
|
160
160
|
storeCode(value) {
|
|
161
161
|
return {
|
|
162
|
-
typeUrl: "/wasmx.wasmx.MsgStoreCode",
|
|
162
|
+
typeUrl: "/wasmx.wasmx.v1.MsgStoreCode",
|
|
163
163
|
value: MsgStoreCode.fromJSON(value)
|
|
164
164
|
};
|
|
165
165
|
},
|
|
166
166
|
storeCodeEvm(value) {
|
|
167
167
|
return {
|
|
168
|
-
typeUrl: "/wasmx.wasmx.MsgStoreCodeEvm",
|
|
168
|
+
typeUrl: "/wasmx.wasmx.v1.MsgStoreCodeEvm",
|
|
169
169
|
value: MsgStoreCodeEvm.fromJSON(value)
|
|
170
170
|
};
|
|
171
171
|
},
|
|
172
172
|
instantiateContract(value) {
|
|
173
173
|
return {
|
|
174
|
-
typeUrl: "/wasmx.wasmx.MsgInstantiateContract",
|
|
174
|
+
typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract",
|
|
175
175
|
value: MsgInstantiateContract.fromJSON(value)
|
|
176
176
|
};
|
|
177
177
|
},
|
|
178
178
|
instantiateContract2(value) {
|
|
179
179
|
return {
|
|
180
|
-
typeUrl: "/wasmx.wasmx.MsgInstantiateContract2",
|
|
180
|
+
typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract2",
|
|
181
181
|
value: MsgInstantiateContract2.fromJSON(value)
|
|
182
182
|
};
|
|
183
183
|
},
|
|
184
184
|
executeContract(value) {
|
|
185
185
|
return {
|
|
186
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteContract",
|
|
186
|
+
typeUrl: "/wasmx.wasmx.v1.MsgExecuteContract",
|
|
187
187
|
value: MsgExecuteContract.fromJSON(value)
|
|
188
188
|
};
|
|
189
189
|
},
|
|
190
190
|
executeWithOriginContract(value) {
|
|
191
191
|
return {
|
|
192
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteWithOriginContract",
|
|
192
|
+
typeUrl: "/wasmx.wasmx.v1.MsgExecuteWithOriginContract",
|
|
193
193
|
value: MsgExecuteWithOriginContract.fromJSON(value)
|
|
194
194
|
};
|
|
195
195
|
},
|
|
196
196
|
executeDelegateContract(value) {
|
|
197
197
|
return {
|
|
198
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteDelegateContract",
|
|
198
|
+
typeUrl: "/wasmx.wasmx.v1.MsgExecuteDelegateContract",
|
|
199
199
|
value: MsgExecuteDelegateContract.fromJSON(value)
|
|
200
200
|
};
|
|
201
201
|
},
|
|
202
202
|
compileContract(value) {
|
|
203
203
|
return {
|
|
204
|
-
typeUrl: "/wasmx.wasmx.MsgCompileContract",
|
|
204
|
+
typeUrl: "/wasmx.wasmx.v1.MsgCompileContract",
|
|
205
205
|
value: MsgCompileContract.fromJSON(value)
|
|
206
206
|
};
|
|
207
207
|
}
|
|
@@ -209,49 +209,49 @@ export const MessageComposer = {
|
|
|
209
209
|
fromPartial: {
|
|
210
210
|
storeCode(value) {
|
|
211
211
|
return {
|
|
212
|
-
typeUrl: "/wasmx.wasmx.MsgStoreCode",
|
|
212
|
+
typeUrl: "/wasmx.wasmx.v1.MsgStoreCode",
|
|
213
213
|
value: MsgStoreCode.fromPartial(value)
|
|
214
214
|
};
|
|
215
215
|
},
|
|
216
216
|
storeCodeEvm(value) {
|
|
217
217
|
return {
|
|
218
|
-
typeUrl: "/wasmx.wasmx.MsgStoreCodeEvm",
|
|
218
|
+
typeUrl: "/wasmx.wasmx.v1.MsgStoreCodeEvm",
|
|
219
219
|
value: MsgStoreCodeEvm.fromPartial(value)
|
|
220
220
|
};
|
|
221
221
|
},
|
|
222
222
|
instantiateContract(value) {
|
|
223
223
|
return {
|
|
224
|
-
typeUrl: "/wasmx.wasmx.MsgInstantiateContract",
|
|
224
|
+
typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract",
|
|
225
225
|
value: MsgInstantiateContract.fromPartial(value)
|
|
226
226
|
};
|
|
227
227
|
},
|
|
228
228
|
instantiateContract2(value) {
|
|
229
229
|
return {
|
|
230
|
-
typeUrl: "/wasmx.wasmx.MsgInstantiateContract2",
|
|
230
|
+
typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract2",
|
|
231
231
|
value: MsgInstantiateContract2.fromPartial(value)
|
|
232
232
|
};
|
|
233
233
|
},
|
|
234
234
|
executeContract(value) {
|
|
235
235
|
return {
|
|
236
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteContract",
|
|
236
|
+
typeUrl: "/wasmx.wasmx.v1.MsgExecuteContract",
|
|
237
237
|
value: MsgExecuteContract.fromPartial(value)
|
|
238
238
|
};
|
|
239
239
|
},
|
|
240
240
|
executeWithOriginContract(value) {
|
|
241
241
|
return {
|
|
242
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteWithOriginContract",
|
|
242
|
+
typeUrl: "/wasmx.wasmx.v1.MsgExecuteWithOriginContract",
|
|
243
243
|
value: MsgExecuteWithOriginContract.fromPartial(value)
|
|
244
244
|
};
|
|
245
245
|
},
|
|
246
246
|
executeDelegateContract(value) {
|
|
247
247
|
return {
|
|
248
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteDelegateContract",
|
|
248
|
+
typeUrl: "/wasmx.wasmx.v1.MsgExecuteDelegateContract",
|
|
249
249
|
value: MsgExecuteDelegateContract.fromPartial(value)
|
|
250
250
|
};
|
|
251
251
|
},
|
|
252
252
|
compileContract(value) {
|
|
253
253
|
return {
|
|
254
|
-
typeUrl: "/wasmx.wasmx.MsgCompileContract",
|
|
254
|
+
typeUrl: "/wasmx.wasmx.v1.MsgCompileContract",
|
|
255
255
|
value: MsgCompileContract.fromPartial(value)
|
|
256
256
|
};
|
|
257
257
|
}
|