@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
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.registry = exports.load = exports.MessageComposer = void 0;
|
|
8
8
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
9
9
|
var _tx = require("./tx");
|
|
10
|
-
var registry = [["/wasmx.wasmx.MsgStoreCode", _tx.MsgStoreCode], ["/wasmx.wasmx.MsgStoreCodeEvm", _tx.MsgStoreCodeEvm], ["/wasmx.wasmx.MsgInstantiateContract", _tx.MsgInstantiateContract], ["/wasmx.wasmx.MsgInstantiateContract2", _tx.MsgInstantiateContract2], ["/wasmx.wasmx.MsgExecuteContract", _tx.MsgExecuteContract], ["/wasmx.wasmx.MsgExecuteWithOriginContract", _tx.MsgExecuteWithOriginContract], ["/wasmx.wasmx.MsgExecuteDelegateContract", _tx.MsgExecuteDelegateContract], ["/wasmx.wasmx.MsgCompileContract", _tx.MsgCompileContract]];
|
|
10
|
+
var registry = [["/wasmx.wasmx.v1.MsgStoreCode", _tx.MsgStoreCode], ["/wasmx.wasmx.v1.MsgStoreCodeEvm", _tx.MsgStoreCodeEvm], ["/wasmx.wasmx.v1.MsgInstantiateContract", _tx.MsgInstantiateContract], ["/wasmx.wasmx.v1.MsgInstantiateContract2", _tx.MsgInstantiateContract2], ["/wasmx.wasmx.v1.MsgExecuteContract", _tx.MsgExecuteContract], ["/wasmx.wasmx.v1.MsgExecuteWithOriginContract", _tx.MsgExecuteWithOriginContract], ["/wasmx.wasmx.v1.MsgExecuteDelegateContract", _tx.MsgExecuteDelegateContract], ["/wasmx.wasmx.v1.MsgCompileContract", _tx.MsgCompileContract]];
|
|
11
11
|
exports.registry = registry;
|
|
12
12
|
var load = function load(protoRegistry) {
|
|
13
13
|
registry.forEach(function (_ref) {
|
|
@@ -22,49 +22,49 @@ var MessageComposer = {
|
|
|
22
22
|
encoded: {
|
|
23
23
|
storeCode: function storeCode(value) {
|
|
24
24
|
return {
|
|
25
|
-
typeUrl: "/wasmx.wasmx.MsgStoreCode",
|
|
25
|
+
typeUrl: "/wasmx.wasmx.v1.MsgStoreCode",
|
|
26
26
|
value: _tx.MsgStoreCode.encode(value).finish()
|
|
27
27
|
};
|
|
28
28
|
},
|
|
29
29
|
storeCodeEvm: function storeCodeEvm(value) {
|
|
30
30
|
return {
|
|
31
|
-
typeUrl: "/wasmx.wasmx.MsgStoreCodeEvm",
|
|
31
|
+
typeUrl: "/wasmx.wasmx.v1.MsgStoreCodeEvm",
|
|
32
32
|
value: _tx.MsgStoreCodeEvm.encode(value).finish()
|
|
33
33
|
};
|
|
34
34
|
},
|
|
35
35
|
instantiateContract: function instantiateContract(value) {
|
|
36
36
|
return {
|
|
37
|
-
typeUrl: "/wasmx.wasmx.MsgInstantiateContract",
|
|
37
|
+
typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract",
|
|
38
38
|
value: _tx.MsgInstantiateContract.encode(value).finish()
|
|
39
39
|
};
|
|
40
40
|
},
|
|
41
41
|
instantiateContract2: function instantiateContract2(value) {
|
|
42
42
|
return {
|
|
43
|
-
typeUrl: "/wasmx.wasmx.MsgInstantiateContract2",
|
|
43
|
+
typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract2",
|
|
44
44
|
value: _tx.MsgInstantiateContract2.encode(value).finish()
|
|
45
45
|
};
|
|
46
46
|
},
|
|
47
47
|
executeContract: function executeContract(value) {
|
|
48
48
|
return {
|
|
49
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteContract",
|
|
49
|
+
typeUrl: "/wasmx.wasmx.v1.MsgExecuteContract",
|
|
50
50
|
value: _tx.MsgExecuteContract.encode(value).finish()
|
|
51
51
|
};
|
|
52
52
|
},
|
|
53
53
|
executeWithOriginContract: function executeWithOriginContract(value) {
|
|
54
54
|
return {
|
|
55
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteWithOriginContract",
|
|
55
|
+
typeUrl: "/wasmx.wasmx.v1.MsgExecuteWithOriginContract",
|
|
56
56
|
value: _tx.MsgExecuteWithOriginContract.encode(value).finish()
|
|
57
57
|
};
|
|
58
58
|
},
|
|
59
59
|
executeDelegateContract: function executeDelegateContract(value) {
|
|
60
60
|
return {
|
|
61
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteDelegateContract",
|
|
61
|
+
typeUrl: "/wasmx.wasmx.v1.MsgExecuteDelegateContract",
|
|
62
62
|
value: _tx.MsgExecuteDelegateContract.encode(value).finish()
|
|
63
63
|
};
|
|
64
64
|
},
|
|
65
65
|
compileContract: function compileContract(value) {
|
|
66
66
|
return {
|
|
67
|
-
typeUrl: "/wasmx.wasmx.MsgCompileContract",
|
|
67
|
+
typeUrl: "/wasmx.wasmx.v1.MsgCompileContract",
|
|
68
68
|
value: _tx.MsgCompileContract.encode(value).finish()
|
|
69
69
|
};
|
|
70
70
|
}
|
|
@@ -72,49 +72,49 @@ var MessageComposer = {
|
|
|
72
72
|
withTypeUrl: {
|
|
73
73
|
storeCode: function storeCode(value) {
|
|
74
74
|
return {
|
|
75
|
-
typeUrl: "/wasmx.wasmx.MsgStoreCode",
|
|
75
|
+
typeUrl: "/wasmx.wasmx.v1.MsgStoreCode",
|
|
76
76
|
value: value
|
|
77
77
|
};
|
|
78
78
|
},
|
|
79
79
|
storeCodeEvm: function storeCodeEvm(value) {
|
|
80
80
|
return {
|
|
81
|
-
typeUrl: "/wasmx.wasmx.MsgStoreCodeEvm",
|
|
81
|
+
typeUrl: "/wasmx.wasmx.v1.MsgStoreCodeEvm",
|
|
82
82
|
value: value
|
|
83
83
|
};
|
|
84
84
|
},
|
|
85
85
|
instantiateContract: function instantiateContract(value) {
|
|
86
86
|
return {
|
|
87
|
-
typeUrl: "/wasmx.wasmx.MsgInstantiateContract",
|
|
87
|
+
typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract",
|
|
88
88
|
value: value
|
|
89
89
|
};
|
|
90
90
|
},
|
|
91
91
|
instantiateContract2: function instantiateContract2(value) {
|
|
92
92
|
return {
|
|
93
|
-
typeUrl: "/wasmx.wasmx.MsgInstantiateContract2",
|
|
93
|
+
typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract2",
|
|
94
94
|
value: value
|
|
95
95
|
};
|
|
96
96
|
},
|
|
97
97
|
executeContract: function executeContract(value) {
|
|
98
98
|
return {
|
|
99
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteContract",
|
|
99
|
+
typeUrl: "/wasmx.wasmx.v1.MsgExecuteContract",
|
|
100
100
|
value: value
|
|
101
101
|
};
|
|
102
102
|
},
|
|
103
103
|
executeWithOriginContract: function executeWithOriginContract(value) {
|
|
104
104
|
return {
|
|
105
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteWithOriginContract",
|
|
105
|
+
typeUrl: "/wasmx.wasmx.v1.MsgExecuteWithOriginContract",
|
|
106
106
|
value: value
|
|
107
107
|
};
|
|
108
108
|
},
|
|
109
109
|
executeDelegateContract: function executeDelegateContract(value) {
|
|
110
110
|
return {
|
|
111
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteDelegateContract",
|
|
111
|
+
typeUrl: "/wasmx.wasmx.v1.MsgExecuteDelegateContract",
|
|
112
112
|
value: value
|
|
113
113
|
};
|
|
114
114
|
},
|
|
115
115
|
compileContract: function compileContract(value) {
|
|
116
116
|
return {
|
|
117
|
-
typeUrl: "/wasmx.wasmx.MsgCompileContract",
|
|
117
|
+
typeUrl: "/wasmx.wasmx.v1.MsgCompileContract",
|
|
118
118
|
value: value
|
|
119
119
|
};
|
|
120
120
|
}
|
|
@@ -122,49 +122,49 @@ var MessageComposer = {
|
|
|
122
122
|
toJSON: {
|
|
123
123
|
storeCode: function storeCode(value) {
|
|
124
124
|
return {
|
|
125
|
-
typeUrl: "/wasmx.wasmx.MsgStoreCode",
|
|
125
|
+
typeUrl: "/wasmx.wasmx.v1.MsgStoreCode",
|
|
126
126
|
value: _tx.MsgStoreCode.toJSON(value)
|
|
127
127
|
};
|
|
128
128
|
},
|
|
129
129
|
storeCodeEvm: function storeCodeEvm(value) {
|
|
130
130
|
return {
|
|
131
|
-
typeUrl: "/wasmx.wasmx.MsgStoreCodeEvm",
|
|
131
|
+
typeUrl: "/wasmx.wasmx.v1.MsgStoreCodeEvm",
|
|
132
132
|
value: _tx.MsgStoreCodeEvm.toJSON(value)
|
|
133
133
|
};
|
|
134
134
|
},
|
|
135
135
|
instantiateContract: function instantiateContract(value) {
|
|
136
136
|
return {
|
|
137
|
-
typeUrl: "/wasmx.wasmx.MsgInstantiateContract",
|
|
137
|
+
typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract",
|
|
138
138
|
value: _tx.MsgInstantiateContract.toJSON(value)
|
|
139
139
|
};
|
|
140
140
|
},
|
|
141
141
|
instantiateContract2: function instantiateContract2(value) {
|
|
142
142
|
return {
|
|
143
|
-
typeUrl: "/wasmx.wasmx.MsgInstantiateContract2",
|
|
143
|
+
typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract2",
|
|
144
144
|
value: _tx.MsgInstantiateContract2.toJSON(value)
|
|
145
145
|
};
|
|
146
146
|
},
|
|
147
147
|
executeContract: function executeContract(value) {
|
|
148
148
|
return {
|
|
149
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteContract",
|
|
149
|
+
typeUrl: "/wasmx.wasmx.v1.MsgExecuteContract",
|
|
150
150
|
value: _tx.MsgExecuteContract.toJSON(value)
|
|
151
151
|
};
|
|
152
152
|
},
|
|
153
153
|
executeWithOriginContract: function executeWithOriginContract(value) {
|
|
154
154
|
return {
|
|
155
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteWithOriginContract",
|
|
155
|
+
typeUrl: "/wasmx.wasmx.v1.MsgExecuteWithOriginContract",
|
|
156
156
|
value: _tx.MsgExecuteWithOriginContract.toJSON(value)
|
|
157
157
|
};
|
|
158
158
|
},
|
|
159
159
|
executeDelegateContract: function executeDelegateContract(value) {
|
|
160
160
|
return {
|
|
161
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteDelegateContract",
|
|
161
|
+
typeUrl: "/wasmx.wasmx.v1.MsgExecuteDelegateContract",
|
|
162
162
|
value: _tx.MsgExecuteDelegateContract.toJSON(value)
|
|
163
163
|
};
|
|
164
164
|
},
|
|
165
165
|
compileContract: function compileContract(value) {
|
|
166
166
|
return {
|
|
167
|
-
typeUrl: "/wasmx.wasmx.MsgCompileContract",
|
|
167
|
+
typeUrl: "/wasmx.wasmx.v1.MsgCompileContract",
|
|
168
168
|
value: _tx.MsgCompileContract.toJSON(value)
|
|
169
169
|
};
|
|
170
170
|
}
|
|
@@ -172,49 +172,49 @@ var MessageComposer = {
|
|
|
172
172
|
fromJSON: {
|
|
173
173
|
storeCode: function storeCode(value) {
|
|
174
174
|
return {
|
|
175
|
-
typeUrl: "/wasmx.wasmx.MsgStoreCode",
|
|
175
|
+
typeUrl: "/wasmx.wasmx.v1.MsgStoreCode",
|
|
176
176
|
value: _tx.MsgStoreCode.fromJSON(value)
|
|
177
177
|
};
|
|
178
178
|
},
|
|
179
179
|
storeCodeEvm: function storeCodeEvm(value) {
|
|
180
180
|
return {
|
|
181
|
-
typeUrl: "/wasmx.wasmx.MsgStoreCodeEvm",
|
|
181
|
+
typeUrl: "/wasmx.wasmx.v1.MsgStoreCodeEvm",
|
|
182
182
|
value: _tx.MsgStoreCodeEvm.fromJSON(value)
|
|
183
183
|
};
|
|
184
184
|
},
|
|
185
185
|
instantiateContract: function instantiateContract(value) {
|
|
186
186
|
return {
|
|
187
|
-
typeUrl: "/wasmx.wasmx.MsgInstantiateContract",
|
|
187
|
+
typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract",
|
|
188
188
|
value: _tx.MsgInstantiateContract.fromJSON(value)
|
|
189
189
|
};
|
|
190
190
|
},
|
|
191
191
|
instantiateContract2: function instantiateContract2(value) {
|
|
192
192
|
return {
|
|
193
|
-
typeUrl: "/wasmx.wasmx.MsgInstantiateContract2",
|
|
193
|
+
typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract2",
|
|
194
194
|
value: _tx.MsgInstantiateContract2.fromJSON(value)
|
|
195
195
|
};
|
|
196
196
|
},
|
|
197
197
|
executeContract: function executeContract(value) {
|
|
198
198
|
return {
|
|
199
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteContract",
|
|
199
|
+
typeUrl: "/wasmx.wasmx.v1.MsgExecuteContract",
|
|
200
200
|
value: _tx.MsgExecuteContract.fromJSON(value)
|
|
201
201
|
};
|
|
202
202
|
},
|
|
203
203
|
executeWithOriginContract: function executeWithOriginContract(value) {
|
|
204
204
|
return {
|
|
205
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteWithOriginContract",
|
|
205
|
+
typeUrl: "/wasmx.wasmx.v1.MsgExecuteWithOriginContract",
|
|
206
206
|
value: _tx.MsgExecuteWithOriginContract.fromJSON(value)
|
|
207
207
|
};
|
|
208
208
|
},
|
|
209
209
|
executeDelegateContract: function executeDelegateContract(value) {
|
|
210
210
|
return {
|
|
211
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteDelegateContract",
|
|
211
|
+
typeUrl: "/wasmx.wasmx.v1.MsgExecuteDelegateContract",
|
|
212
212
|
value: _tx.MsgExecuteDelegateContract.fromJSON(value)
|
|
213
213
|
};
|
|
214
214
|
},
|
|
215
215
|
compileContract: function compileContract(value) {
|
|
216
216
|
return {
|
|
217
|
-
typeUrl: "/wasmx.wasmx.MsgCompileContract",
|
|
217
|
+
typeUrl: "/wasmx.wasmx.v1.MsgCompileContract",
|
|
218
218
|
value: _tx.MsgCompileContract.fromJSON(value)
|
|
219
219
|
};
|
|
220
220
|
}
|
|
@@ -222,49 +222,49 @@ var MessageComposer = {
|
|
|
222
222
|
fromPartial: {
|
|
223
223
|
storeCode: function storeCode(value) {
|
|
224
224
|
return {
|
|
225
|
-
typeUrl: "/wasmx.wasmx.MsgStoreCode",
|
|
225
|
+
typeUrl: "/wasmx.wasmx.v1.MsgStoreCode",
|
|
226
226
|
value: _tx.MsgStoreCode.fromPartial(value)
|
|
227
227
|
};
|
|
228
228
|
},
|
|
229
229
|
storeCodeEvm: function storeCodeEvm(value) {
|
|
230
230
|
return {
|
|
231
|
-
typeUrl: "/wasmx.wasmx.MsgStoreCodeEvm",
|
|
231
|
+
typeUrl: "/wasmx.wasmx.v1.MsgStoreCodeEvm",
|
|
232
232
|
value: _tx.MsgStoreCodeEvm.fromPartial(value)
|
|
233
233
|
};
|
|
234
234
|
},
|
|
235
235
|
instantiateContract: function instantiateContract(value) {
|
|
236
236
|
return {
|
|
237
|
-
typeUrl: "/wasmx.wasmx.MsgInstantiateContract",
|
|
237
|
+
typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract",
|
|
238
238
|
value: _tx.MsgInstantiateContract.fromPartial(value)
|
|
239
239
|
};
|
|
240
240
|
},
|
|
241
241
|
instantiateContract2: function instantiateContract2(value) {
|
|
242
242
|
return {
|
|
243
|
-
typeUrl: "/wasmx.wasmx.MsgInstantiateContract2",
|
|
243
|
+
typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract2",
|
|
244
244
|
value: _tx.MsgInstantiateContract2.fromPartial(value)
|
|
245
245
|
};
|
|
246
246
|
},
|
|
247
247
|
executeContract: function executeContract(value) {
|
|
248
248
|
return {
|
|
249
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteContract",
|
|
249
|
+
typeUrl: "/wasmx.wasmx.v1.MsgExecuteContract",
|
|
250
250
|
value: _tx.MsgExecuteContract.fromPartial(value)
|
|
251
251
|
};
|
|
252
252
|
},
|
|
253
253
|
executeWithOriginContract: function executeWithOriginContract(value) {
|
|
254
254
|
return {
|
|
255
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteWithOriginContract",
|
|
255
|
+
typeUrl: "/wasmx.wasmx.v1.MsgExecuteWithOriginContract",
|
|
256
256
|
value: _tx.MsgExecuteWithOriginContract.fromPartial(value)
|
|
257
257
|
};
|
|
258
258
|
},
|
|
259
259
|
executeDelegateContract: function executeDelegateContract(value) {
|
|
260
260
|
return {
|
|
261
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteDelegateContract",
|
|
261
|
+
typeUrl: "/wasmx.wasmx.v1.MsgExecuteDelegateContract",
|
|
262
262
|
value: _tx.MsgExecuteDelegateContract.fromPartial(value)
|
|
263
263
|
};
|
|
264
264
|
},
|
|
265
265
|
compileContract: function compileContract(value) {
|
|
266
266
|
return {
|
|
267
|
-
typeUrl: "/wasmx.wasmx.MsgCompileContract",
|
|
267
|
+
typeUrl: "/wasmx.wasmx.v1.MsgCompileContract",
|
|
268
268
|
value: _tx.MsgCompileContract.fromPartial(value)
|
|
269
269
|
};
|
|
270
270
|
}
|
|
@@ -31,7 +31,7 @@ var MsgClientImpl = /*#__PURE__*/function () {
|
|
|
31
31
|
key: "storeCode",
|
|
32
32
|
value: function storeCode(request) {
|
|
33
33
|
var data = _tx.MsgStoreCode.encode(request).finish();
|
|
34
|
-
var promise = this.rpc.request("wasmx.wasmx.Msg", "StoreCode", data);
|
|
34
|
+
var promise = this.rpc.request("wasmx.wasmx.v1.Msg", "StoreCode", data);
|
|
35
35
|
return promise.then(function (data) {
|
|
36
36
|
return _tx.MsgStoreCodeResponse.decode(new _m0.Reader(data));
|
|
37
37
|
});
|
|
@@ -40,7 +40,7 @@ var MsgClientImpl = /*#__PURE__*/function () {
|
|
|
40
40
|
key: "storeCodeEvm",
|
|
41
41
|
value: function storeCodeEvm(request) {
|
|
42
42
|
var data = _tx.MsgStoreCodeEvm.encode(request).finish();
|
|
43
|
-
var promise = this.rpc.request("wasmx.wasmx.Msg", "StoreCodeEvm", data);
|
|
43
|
+
var promise = this.rpc.request("wasmx.wasmx.v1.Msg", "StoreCodeEvm", data);
|
|
44
44
|
return promise.then(function (data) {
|
|
45
45
|
return _tx.MsgStoreCodeEvmResponse.decode(new _m0.Reader(data));
|
|
46
46
|
});
|
|
@@ -49,7 +49,7 @@ var MsgClientImpl = /*#__PURE__*/function () {
|
|
|
49
49
|
key: "instantiateContract",
|
|
50
50
|
value: function instantiateContract(request) {
|
|
51
51
|
var data = _tx.MsgInstantiateContract.encode(request).finish();
|
|
52
|
-
var promise = this.rpc.request("wasmx.wasmx.Msg", "InstantiateContract", data);
|
|
52
|
+
var promise = this.rpc.request("wasmx.wasmx.v1.Msg", "InstantiateContract", data);
|
|
53
53
|
return promise.then(function (data) {
|
|
54
54
|
return _tx.MsgInstantiateContractResponse.decode(new _m0.Reader(data));
|
|
55
55
|
});
|
|
@@ -58,7 +58,7 @@ var MsgClientImpl = /*#__PURE__*/function () {
|
|
|
58
58
|
key: "instantiateContract2",
|
|
59
59
|
value: function instantiateContract2(request) {
|
|
60
60
|
var data = _tx.MsgInstantiateContract2.encode(request).finish();
|
|
61
|
-
var promise = this.rpc.request("wasmx.wasmx.Msg", "InstantiateContract2", data);
|
|
61
|
+
var promise = this.rpc.request("wasmx.wasmx.v1.Msg", "InstantiateContract2", data);
|
|
62
62
|
return promise.then(function (data) {
|
|
63
63
|
return _tx.MsgInstantiateContract2Response.decode(new _m0.Reader(data));
|
|
64
64
|
});
|
|
@@ -67,7 +67,7 @@ var MsgClientImpl = /*#__PURE__*/function () {
|
|
|
67
67
|
key: "executeContract",
|
|
68
68
|
value: function executeContract(request) {
|
|
69
69
|
var data = _tx.MsgExecuteContract.encode(request).finish();
|
|
70
|
-
var promise = this.rpc.request("wasmx.wasmx.Msg", "ExecuteContract", data);
|
|
70
|
+
var promise = this.rpc.request("wasmx.wasmx.v1.Msg", "ExecuteContract", data);
|
|
71
71
|
return promise.then(function (data) {
|
|
72
72
|
return _tx.MsgExecuteContractResponse.decode(new _m0.Reader(data));
|
|
73
73
|
});
|
|
@@ -76,7 +76,7 @@ var MsgClientImpl = /*#__PURE__*/function () {
|
|
|
76
76
|
key: "executeWithOriginContract",
|
|
77
77
|
value: function executeWithOriginContract(request) {
|
|
78
78
|
var data = _tx.MsgExecuteWithOriginContract.encode(request).finish();
|
|
79
|
-
var promise = this.rpc.request("wasmx.wasmx.Msg", "ExecuteWithOriginContract", data);
|
|
79
|
+
var promise = this.rpc.request("wasmx.wasmx.v1.Msg", "ExecuteWithOriginContract", data);
|
|
80
80
|
return promise.then(function (data) {
|
|
81
81
|
return _tx.MsgExecuteContractResponse.decode(new _m0.Reader(data));
|
|
82
82
|
});
|
|
@@ -85,7 +85,7 @@ var MsgClientImpl = /*#__PURE__*/function () {
|
|
|
85
85
|
key: "executeDelegateContract",
|
|
86
86
|
value: function executeDelegateContract(request) {
|
|
87
87
|
var data = _tx.MsgExecuteDelegateContract.encode(request).finish();
|
|
88
|
-
var promise = this.rpc.request("wasmx.wasmx.Msg", "ExecuteDelegateContract", data);
|
|
88
|
+
var promise = this.rpc.request("wasmx.wasmx.v1.Msg", "ExecuteDelegateContract", data);
|
|
89
89
|
return promise.then(function (data) {
|
|
90
90
|
return _tx.MsgExecuteDelegateContractResponse.decode(new _m0.Reader(data));
|
|
91
91
|
});
|
|
@@ -94,7 +94,7 @@ var MsgClientImpl = /*#__PURE__*/function () {
|
|
|
94
94
|
key: "compileContract",
|
|
95
95
|
value: function compileContract(request) {
|
|
96
96
|
var data = _tx.MsgCompileContract.encode(request).finish();
|
|
97
|
-
var promise = this.rpc.request("wasmx.wasmx.Msg", "CompileContract", data);
|
|
97
|
+
var promise = this.rpc.request("wasmx.wasmx.v1.Msg", "CompileContract", data);
|
|
98
98
|
return promise.then(function (data) {
|
|
99
99
|
return _tx.MsgCompileContractResponse.decode(new _m0.Reader(data));
|
|
100
100
|
});
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.GenesisState = void 0;
|
|
8
8
|
var _params = require("./params");
|
|
9
9
|
var _m0 = _interopRequireWildcard(require("protobufjs/minimal"));
|
|
10
|
-
var _helpers = require("
|
|
10
|
+
var _helpers = require("../../../helpers");
|
|
11
11
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
12
12
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
13
13
|
function createBaseGenesisState() {
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.Params = void 0;
|
|
8
8
|
var _m0 = _interopRequireWildcard(require("protobufjs/minimal"));
|
|
9
|
-
var _helpers = require("
|
|
9
|
+
var _helpers = require("../../../helpers");
|
|
10
10
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
11
11
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
12
12
|
function createBaseParams() {
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.RegisterRouteProposal = exports.DeregisterRouteProposal = void 0;
|
|
8
8
|
var _m0 = _interopRequireWildcard(require("protobufjs/minimal"));
|
|
9
|
-
var _helpers = require("
|
|
9
|
+
var _helpers = require("../../../helpers");
|
|
10
10
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
11
11
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
12
12
|
function createBaseRegisterRouteProposal() {
|
|
@@ -5,10 +5,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.QueryRouteByContractResponse = exports.QueryRouteByContractRequest = exports.QueryParamsResponse = exports.QueryParamsRequest = exports.QueryHttpResponseGet = exports.QueryHttpRequestGet = exports.QueryGetOauthClientsByOwnerResponse = exports.QueryGetOauthClientsByOwnerRequest = exports.QueryGetOauthClientResponse = exports.QueryGetOauthClientRequest = exports.QueryGetAllOauthClientsResponse = exports.QueryGetAllOauthClientsRequest = exports.QueryContractByRouteResponse = exports.QueryContractByRouteRequest = exports.OauthClientInfo = void 0;
|
|
8
|
-
var _pagination = require("
|
|
8
|
+
var _pagination = require("../../../cosmos/base/query/v1beta1/pagination");
|
|
9
9
|
var _params = require("./params");
|
|
10
10
|
var _m0 = _interopRequireWildcard(require("protobufjs/minimal"));
|
|
11
|
-
var _helpers = require("
|
|
11
|
+
var _helpers = require("../../../helpers");
|
|
12
12
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
13
13
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
14
14
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
@@ -31,7 +31,7 @@ var QueryClientImpl = /*#__PURE__*/function () {
|
|
|
31
31
|
key: "httpGet",
|
|
32
32
|
value: function httpGet(request) {
|
|
33
33
|
var data = _query.QueryHttpRequestGet.encode(request).finish();
|
|
34
|
-
var promise = this.rpc.request("wasmx.websrv.Query", "HttpGet", data);
|
|
34
|
+
var promise = this.rpc.request("wasmx.websrv.v1.Query", "HttpGet", data);
|
|
35
35
|
return promise.then(function (data) {
|
|
36
36
|
return _query.QueryHttpResponseGet.decode(new _m0.Reader(data));
|
|
37
37
|
});
|
|
@@ -40,7 +40,7 @@ var QueryClientImpl = /*#__PURE__*/function () {
|
|
|
40
40
|
key: "contractByRoute",
|
|
41
41
|
value: function contractByRoute(request) {
|
|
42
42
|
var data = _query.QueryContractByRouteRequest.encode(request).finish();
|
|
43
|
-
var promise = this.rpc.request("wasmx.websrv.Query", "ContractByRoute", data);
|
|
43
|
+
var promise = this.rpc.request("wasmx.websrv.v1.Query", "ContractByRoute", data);
|
|
44
44
|
return promise.then(function (data) {
|
|
45
45
|
return _query.QueryContractByRouteResponse.decode(new _m0.Reader(data));
|
|
46
46
|
});
|
|
@@ -49,7 +49,7 @@ var QueryClientImpl = /*#__PURE__*/function () {
|
|
|
49
49
|
key: "routeByContract",
|
|
50
50
|
value: function routeByContract(request) {
|
|
51
51
|
var data = _query.QueryRouteByContractRequest.encode(request).finish();
|
|
52
|
-
var promise = this.rpc.request("wasmx.websrv.Query", "RouteByContract", data);
|
|
52
|
+
var promise = this.rpc.request("wasmx.websrv.v1.Query", "RouteByContract", data);
|
|
53
53
|
return promise.then(function (data) {
|
|
54
54
|
return _query.QueryRouteByContractResponse.decode(new _m0.Reader(data));
|
|
55
55
|
});
|
|
@@ -59,7 +59,7 @@ var QueryClientImpl = /*#__PURE__*/function () {
|
|
|
59
59
|
value: function params() {
|
|
60
60
|
var request = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
61
61
|
var data = _query.QueryParamsRequest.encode(request).finish();
|
|
62
|
-
var promise = this.rpc.request("wasmx.websrv.Query", "Params", data);
|
|
62
|
+
var promise = this.rpc.request("wasmx.websrv.v1.Query", "Params", data);
|
|
63
63
|
return promise.then(function (data) {
|
|
64
64
|
return _query.QueryParamsResponse.decode(new _m0.Reader(data));
|
|
65
65
|
});
|
|
@@ -71,7 +71,7 @@ var QueryClientImpl = /*#__PURE__*/function () {
|
|
|
71
71
|
pagination: undefined
|
|
72
72
|
};
|
|
73
73
|
var data = _query.QueryGetAllOauthClientsRequest.encode(request).finish();
|
|
74
|
-
var promise = this.rpc.request("wasmx.websrv.Query", "GetAllOauthClients", data);
|
|
74
|
+
var promise = this.rpc.request("wasmx.websrv.v1.Query", "GetAllOauthClients", data);
|
|
75
75
|
return promise.then(function (data) {
|
|
76
76
|
return _query.QueryGetAllOauthClientsResponse.decode(new _m0.Reader(data));
|
|
77
77
|
});
|
|
@@ -80,7 +80,7 @@ var QueryClientImpl = /*#__PURE__*/function () {
|
|
|
80
80
|
key: "getOauthClient",
|
|
81
81
|
value: function getOauthClient(request) {
|
|
82
82
|
var data = _query.QueryGetOauthClientRequest.encode(request).finish();
|
|
83
|
-
var promise = this.rpc.request("wasmx.websrv.Query", "GetOauthClient", data);
|
|
83
|
+
var promise = this.rpc.request("wasmx.websrv.v1.Query", "GetOauthClient", data);
|
|
84
84
|
return promise.then(function (data) {
|
|
85
85
|
return _query.QueryGetOauthClientResponse.decode(new _m0.Reader(data));
|
|
86
86
|
});
|
|
@@ -89,7 +89,7 @@ var QueryClientImpl = /*#__PURE__*/function () {
|
|
|
89
89
|
key: "getOauthClientsByOwner",
|
|
90
90
|
value: function getOauthClientsByOwner(request) {
|
|
91
91
|
var data = _query.QueryGetOauthClientsByOwnerRequest.encode(request).finish();
|
|
92
|
-
var promise = this.rpc.request("wasmx.websrv.Query", "GetOauthClientsByOwner", data);
|
|
92
|
+
var promise = this.rpc.request("wasmx.websrv.v1.Query", "GetOauthClientsByOwner", data);
|
|
93
93
|
return promise.then(function (data) {
|
|
94
94
|
return _query.QueryGetOauthClientsByOwnerResponse.decode(new _m0.Reader(data));
|
|
95
95
|
});
|
|
@@ -4,10 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.AminoConverter = void 0;
|
|
7
|
-
var _helpers = require("
|
|
7
|
+
var _helpers = require("../../../helpers");
|
|
8
8
|
var AminoConverter = {
|
|
9
|
-
"/wasmx.websrv.MsgRegisterOAuthClient": {
|
|
10
|
-
aminoType: "/wasmx.websrv.MsgRegisterOAuthClient",
|
|
9
|
+
"/wasmx.websrv.v1.MsgRegisterOAuthClient": {
|
|
10
|
+
aminoType: "/wasmx.websrv.v1.MsgRegisterOAuthClient",
|
|
11
11
|
toAmino: function toAmino(_ref) {
|
|
12
12
|
var owner = _ref.owner,
|
|
13
13
|
domain = _ref.domain;
|
|
@@ -25,8 +25,8 @@ var AminoConverter = {
|
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
|
-
"/wasmx.websrv.MsgEditOAuthClient": {
|
|
29
|
-
aminoType: "/wasmx.websrv.MsgEditOAuthClient",
|
|
28
|
+
"/wasmx.websrv.v1.MsgEditOAuthClient": {
|
|
29
|
+
aminoType: "/wasmx.websrv.v1.MsgEditOAuthClient",
|
|
30
30
|
toAmino: function toAmino(_ref3) {
|
|
31
31
|
var owner = _ref3.owner,
|
|
32
32
|
clientId = _ref3.clientId,
|
|
@@ -48,8 +48,8 @@ var AminoConverter = {
|
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"/wasmx.websrv.MsgDeregisterOAuthClient": {
|
|
52
|
-
aminoType: "/wasmx.websrv.MsgDeregisterOAuthClient",
|
|
51
|
+
"/wasmx.websrv.v1.MsgDeregisterOAuthClient": {
|
|
52
|
+
aminoType: "/wasmx.websrv.v1.MsgDeregisterOAuthClient",
|
|
53
53
|
toAmino: function toAmino(_ref5) {
|
|
54
54
|
var owner = _ref5.owner,
|
|
55
55
|
clientId = _ref5.clientId;
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.MsgRegisterOAuthClientResponse = exports.MsgRegisterOAuthClient = exports.MsgEditOAuthClientResponse = exports.MsgEditOAuthClient = exports.MsgDeregisterOAuthClientResponse = exports.MsgDeregisterOAuthClient = void 0;
|
|
8
8
|
var _m0 = _interopRequireWildcard(require("protobufjs/minimal"));
|
|
9
|
-
var _helpers = require("
|
|
9
|
+
var _helpers = require("../../../helpers");
|
|
10
10
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
11
11
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
12
12
|
function createBaseMsgRegisterOAuthClient() {
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.registry = exports.load = exports.MessageComposer = void 0;
|
|
8
8
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
9
9
|
var _tx = require("./tx");
|
|
10
|
-
var registry = [["/wasmx.websrv.MsgRegisterOAuthClient", _tx.MsgRegisterOAuthClient], ["/wasmx.websrv.MsgEditOAuthClient", _tx.MsgEditOAuthClient], ["/wasmx.websrv.MsgDeregisterOAuthClient", _tx.MsgDeregisterOAuthClient]];
|
|
10
|
+
var registry = [["/wasmx.websrv.v1.MsgRegisterOAuthClient", _tx.MsgRegisterOAuthClient], ["/wasmx.websrv.v1.MsgEditOAuthClient", _tx.MsgEditOAuthClient], ["/wasmx.websrv.v1.MsgDeregisterOAuthClient", _tx.MsgDeregisterOAuthClient]];
|
|
11
11
|
exports.registry = registry;
|
|
12
12
|
var load = function load(protoRegistry) {
|
|
13
13
|
registry.forEach(function (_ref) {
|
|
@@ -22,19 +22,19 @@ var MessageComposer = {
|
|
|
22
22
|
encoded: {
|
|
23
23
|
registerOAuthClient: function registerOAuthClient(value) {
|
|
24
24
|
return {
|
|
25
|
-
typeUrl: "/wasmx.websrv.MsgRegisterOAuthClient",
|
|
25
|
+
typeUrl: "/wasmx.websrv.v1.MsgRegisterOAuthClient",
|
|
26
26
|
value: _tx.MsgRegisterOAuthClient.encode(value).finish()
|
|
27
27
|
};
|
|
28
28
|
},
|
|
29
29
|
editOAuthClient: function editOAuthClient(value) {
|
|
30
30
|
return {
|
|
31
|
-
typeUrl: "/wasmx.websrv.MsgEditOAuthClient",
|
|
31
|
+
typeUrl: "/wasmx.websrv.v1.MsgEditOAuthClient",
|
|
32
32
|
value: _tx.MsgEditOAuthClient.encode(value).finish()
|
|
33
33
|
};
|
|
34
34
|
},
|
|
35
35
|
deregisterOAuthClient: function deregisterOAuthClient(value) {
|
|
36
36
|
return {
|
|
37
|
-
typeUrl: "/wasmx.websrv.MsgDeregisterOAuthClient",
|
|
37
|
+
typeUrl: "/wasmx.websrv.v1.MsgDeregisterOAuthClient",
|
|
38
38
|
value: _tx.MsgDeregisterOAuthClient.encode(value).finish()
|
|
39
39
|
};
|
|
40
40
|
}
|
|
@@ -42,19 +42,19 @@ var MessageComposer = {
|
|
|
42
42
|
withTypeUrl: {
|
|
43
43
|
registerOAuthClient: function registerOAuthClient(value) {
|
|
44
44
|
return {
|
|
45
|
-
typeUrl: "/wasmx.websrv.MsgRegisterOAuthClient",
|
|
45
|
+
typeUrl: "/wasmx.websrv.v1.MsgRegisterOAuthClient",
|
|
46
46
|
value: value
|
|
47
47
|
};
|
|
48
48
|
},
|
|
49
49
|
editOAuthClient: function editOAuthClient(value) {
|
|
50
50
|
return {
|
|
51
|
-
typeUrl: "/wasmx.websrv.MsgEditOAuthClient",
|
|
51
|
+
typeUrl: "/wasmx.websrv.v1.MsgEditOAuthClient",
|
|
52
52
|
value: value
|
|
53
53
|
};
|
|
54
54
|
},
|
|
55
55
|
deregisterOAuthClient: function deregisterOAuthClient(value) {
|
|
56
56
|
return {
|
|
57
|
-
typeUrl: "/wasmx.websrv.MsgDeregisterOAuthClient",
|
|
57
|
+
typeUrl: "/wasmx.websrv.v1.MsgDeregisterOAuthClient",
|
|
58
58
|
value: value
|
|
59
59
|
};
|
|
60
60
|
}
|
|
@@ -62,19 +62,19 @@ var MessageComposer = {
|
|
|
62
62
|
toJSON: {
|
|
63
63
|
registerOAuthClient: function registerOAuthClient(value) {
|
|
64
64
|
return {
|
|
65
|
-
typeUrl: "/wasmx.websrv.MsgRegisterOAuthClient",
|
|
65
|
+
typeUrl: "/wasmx.websrv.v1.MsgRegisterOAuthClient",
|
|
66
66
|
value: _tx.MsgRegisterOAuthClient.toJSON(value)
|
|
67
67
|
};
|
|
68
68
|
},
|
|
69
69
|
editOAuthClient: function editOAuthClient(value) {
|
|
70
70
|
return {
|
|
71
|
-
typeUrl: "/wasmx.websrv.MsgEditOAuthClient",
|
|
71
|
+
typeUrl: "/wasmx.websrv.v1.MsgEditOAuthClient",
|
|
72
72
|
value: _tx.MsgEditOAuthClient.toJSON(value)
|
|
73
73
|
};
|
|
74
74
|
},
|
|
75
75
|
deregisterOAuthClient: function deregisterOAuthClient(value) {
|
|
76
76
|
return {
|
|
77
|
-
typeUrl: "/wasmx.websrv.MsgDeregisterOAuthClient",
|
|
77
|
+
typeUrl: "/wasmx.websrv.v1.MsgDeregisterOAuthClient",
|
|
78
78
|
value: _tx.MsgDeregisterOAuthClient.toJSON(value)
|
|
79
79
|
};
|
|
80
80
|
}
|
|
@@ -82,19 +82,19 @@ var MessageComposer = {
|
|
|
82
82
|
fromJSON: {
|
|
83
83
|
registerOAuthClient: function registerOAuthClient(value) {
|
|
84
84
|
return {
|
|
85
|
-
typeUrl: "/wasmx.websrv.MsgRegisterOAuthClient",
|
|
85
|
+
typeUrl: "/wasmx.websrv.v1.MsgRegisterOAuthClient",
|
|
86
86
|
value: _tx.MsgRegisterOAuthClient.fromJSON(value)
|
|
87
87
|
};
|
|
88
88
|
},
|
|
89
89
|
editOAuthClient: function editOAuthClient(value) {
|
|
90
90
|
return {
|
|
91
|
-
typeUrl: "/wasmx.websrv.MsgEditOAuthClient",
|
|
91
|
+
typeUrl: "/wasmx.websrv.v1.MsgEditOAuthClient",
|
|
92
92
|
value: _tx.MsgEditOAuthClient.fromJSON(value)
|
|
93
93
|
};
|
|
94
94
|
},
|
|
95
95
|
deregisterOAuthClient: function deregisterOAuthClient(value) {
|
|
96
96
|
return {
|
|
97
|
-
typeUrl: "/wasmx.websrv.MsgDeregisterOAuthClient",
|
|
97
|
+
typeUrl: "/wasmx.websrv.v1.MsgDeregisterOAuthClient",
|
|
98
98
|
value: _tx.MsgDeregisterOAuthClient.fromJSON(value)
|
|
99
99
|
};
|
|
100
100
|
}
|
|
@@ -102,19 +102,19 @@ var MessageComposer = {
|
|
|
102
102
|
fromPartial: {
|
|
103
103
|
registerOAuthClient: function registerOAuthClient(value) {
|
|
104
104
|
return {
|
|
105
|
-
typeUrl: "/wasmx.websrv.MsgRegisterOAuthClient",
|
|
105
|
+
typeUrl: "/wasmx.websrv.v1.MsgRegisterOAuthClient",
|
|
106
106
|
value: _tx.MsgRegisterOAuthClient.fromPartial(value)
|
|
107
107
|
};
|
|
108
108
|
},
|
|
109
109
|
editOAuthClient: function editOAuthClient(value) {
|
|
110
110
|
return {
|
|
111
|
-
typeUrl: "/wasmx.websrv.MsgEditOAuthClient",
|
|
111
|
+
typeUrl: "/wasmx.websrv.v1.MsgEditOAuthClient",
|
|
112
112
|
value: _tx.MsgEditOAuthClient.fromPartial(value)
|
|
113
113
|
};
|
|
114
114
|
},
|
|
115
115
|
deregisterOAuthClient: function deregisterOAuthClient(value) {
|
|
116
116
|
return {
|
|
117
|
-
typeUrl: "/wasmx.websrv.MsgDeregisterOAuthClient",
|
|
117
|
+
typeUrl: "/wasmx.websrv.v1.MsgDeregisterOAuthClient",
|
|
118
118
|
value: _tx.MsgDeregisterOAuthClient.fromPartial(value)
|
|
119
119
|
};
|
|
120
120
|
}
|