@sparkdreamnft/sparkdreamjs 0.0.29 → 0.0.30
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/akash/bme/v1/events.d.ts +332 -0
- package/akash/bme/v1/events.js +500 -0
- package/akash/bme/v1/filters.d.ts +80 -0
- package/akash/bme/v1/filters.js +110 -0
- package/akash/bme/v1/genesis.d.ts +271 -0
- package/akash/bme/v1/genesis.js +452 -0
- package/akash/bme/v1/msgs.d.ts +585 -0
- package/akash/bme/v1/msgs.js +867 -0
- package/akash/bme/v1/params.d.ts +147 -0
- package/akash/bme/v1/params.js +174 -0
- package/akash/bme/v1/query.d.ts +508 -0
- package/akash/bme/v1/query.js +727 -0
- package/akash/bme/v1/query.lcd.d.ts +12 -0
- package/akash/bme/v1/query.lcd.js +41 -0
- package/akash/bme/v1/query.rpc.Query.d.ts +28 -0
- package/akash/bme/v1/query.rpc.Query.js +56 -0
- package/akash/bme/v1/service.amino.d.ts +28 -0
- package/akash/bme/v1/service.amino.js +32 -0
- package/akash/bme/v1/service.d.ts +1 -0
- package/akash/bme/v1/service.js +2 -0
- package/akash/bme/v1/service.registry.d.ts +73 -0
- package/akash/bme/v1/service.registry.js +109 -0
- package/akash/bme/v1/service.rpc.msg.d.ts +46 -0
- package/akash/bme/v1/service.rpc.msg.js +55 -0
- package/akash/bme/v1/types.d.ts +766 -0
- package/akash/bme/v1/types.js +1283 -0
- package/akash/bundle.d.ts +3317 -2680
- package/akash/bundle.js +294 -263
- package/akash/client.d.ts +25 -0
- package/akash/client.js +4 -1
- package/akash/lcd.d.ts +3 -0
- package/akash/lcd.js +5 -0
- package/akash/rpc.query.d.ts +8 -0
- package/akash/rpc.query.js +3 -0
- package/akash/rpc.tx.d.ts +3 -0
- package/akash/rpc.tx.js +3 -0
- package/amino/bundle.js +2 -2
- package/cosmos/bundle.d.ts +7545 -7545
- package/cosmos/bundle.js +416 -416
- package/cosmos_proto/bundle.d.ts +23 -23
- package/cosmos_proto/bundle.js +2 -2
- package/esm/akash/bme/v1/events.js +497 -0
- package/esm/akash/bme/v1/filters.js +107 -0
- package/esm/akash/bme/v1/genesis.js +449 -0
- package/esm/akash/bme/v1/msgs.js +864 -0
- package/esm/akash/bme/v1/params.js +171 -0
- package/esm/akash/bme/v1/query.js +724 -0
- package/esm/akash/bme/v1/query.lcd.js +37 -0
- package/esm/akash/bme/v1/query.rpc.Query.js +51 -0
- package/esm/akash/bme/v1/service.amino.js +29 -0
- package/esm/akash/bme/v1/service.js +1 -0
- package/esm/akash/bme/v1/service.registry.js +105 -0
- package/esm/akash/bme/v1/service.rpc.msg.js +50 -0
- package/esm/akash/bme/v1/types.js +1274 -0
- package/esm/akash/bundle.js +294 -263
- package/esm/akash/client.js +4 -1
- package/esm/akash/lcd.js +5 -0
- package/esm/akash/rpc.query.js +3 -0
- package/esm/akash/rpc.tx.js +3 -0
- package/esm/amino/bundle.js +2 -2
- package/esm/cosmos/bundle.js +416 -416
- package/esm/cosmos_proto/bundle.js +2 -2
- package/esm/gogoproto/bundle.js +2 -2
- package/esm/google/bundle.js +8 -8
- package/esm/ibc/bundle.js +224 -224
- package/esm/sparkdream/bundle.js +486 -486
- package/esm/tendermint/bundle.js +20 -20
- package/gogoproto/bundle.js +2 -2
- package/google/bundle.d.ts +431 -431
- package/google/bundle.js +8 -8
- package/ibc/bundle.d.ts +3843 -3843
- package/ibc/bundle.js +224 -224
- package/package.json +1 -1
- package/sparkdream/bundle.d.ts +17352 -17352
- package/sparkdream/bundle.js +486 -486
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +20 -20
|
@@ -0,0 +1,864 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { Params } from "./params";
|
|
3
|
+
import { Coin } from "../../../cosmos/base/v1beta1/coin";
|
|
4
|
+
import { LedgerRecordID } from "./types";
|
|
5
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
6
|
+
function createBaseMsgUpdateParams() {
|
|
7
|
+
return {
|
|
8
|
+
authority: "",
|
|
9
|
+
params: Params.fromPartial({})
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* MsgUpdateParams defines the message for updating module parameters
|
|
14
|
+
* @name MsgUpdateParams
|
|
15
|
+
* @package akash.bme.v1
|
|
16
|
+
* @see proto type: akash.bme.v1.MsgUpdateParams
|
|
17
|
+
*/
|
|
18
|
+
export const MsgUpdateParams = {
|
|
19
|
+
typeUrl: "/akash.bme.v1.MsgUpdateParams",
|
|
20
|
+
aminoType: "akash/bme/v1/MsgUpdateParams",
|
|
21
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
22
|
+
if (message.authority !== "") {
|
|
23
|
+
writer.uint32(10).string(message.authority);
|
|
24
|
+
}
|
|
25
|
+
if (message.params !== undefined) {
|
|
26
|
+
Params.encode(message.params, writer.uint32(18).fork()).ldelim();
|
|
27
|
+
}
|
|
28
|
+
return writer;
|
|
29
|
+
},
|
|
30
|
+
decode(input, length) {
|
|
31
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
32
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
33
|
+
const message = createBaseMsgUpdateParams();
|
|
34
|
+
while (reader.pos < end) {
|
|
35
|
+
const tag = reader.uint32();
|
|
36
|
+
switch (tag >>> 3) {
|
|
37
|
+
case 1:
|
|
38
|
+
message.authority = reader.string();
|
|
39
|
+
break;
|
|
40
|
+
case 2:
|
|
41
|
+
message.params = Params.decode(reader, reader.uint32());
|
|
42
|
+
break;
|
|
43
|
+
default:
|
|
44
|
+
reader.skipType(tag & 7);
|
|
45
|
+
break;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
return message;
|
|
49
|
+
},
|
|
50
|
+
fromPartial(object) {
|
|
51
|
+
const message = createBaseMsgUpdateParams();
|
|
52
|
+
message.authority = object.authority ?? "";
|
|
53
|
+
message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined;
|
|
54
|
+
return message;
|
|
55
|
+
},
|
|
56
|
+
fromAmino(object) {
|
|
57
|
+
const message = createBaseMsgUpdateParams();
|
|
58
|
+
if (object.authority !== undefined && object.authority !== null) {
|
|
59
|
+
message.authority = object.authority;
|
|
60
|
+
}
|
|
61
|
+
if (object.params !== undefined && object.params !== null) {
|
|
62
|
+
message.params = Params.fromAmino(object.params);
|
|
63
|
+
}
|
|
64
|
+
return message;
|
|
65
|
+
},
|
|
66
|
+
toAmino(message) {
|
|
67
|
+
const obj = {};
|
|
68
|
+
obj.authority = message.authority === "" ? undefined : message.authority;
|
|
69
|
+
obj.params = message.params ? Params.toAmino(message.params) : undefined;
|
|
70
|
+
return obj;
|
|
71
|
+
},
|
|
72
|
+
fromAminoMsg(object) {
|
|
73
|
+
return MsgUpdateParams.fromAmino(object.value);
|
|
74
|
+
},
|
|
75
|
+
toAminoMsg(message) {
|
|
76
|
+
return {
|
|
77
|
+
type: "akash/bme/v1/MsgUpdateParams",
|
|
78
|
+
value: MsgUpdateParams.toAmino(message)
|
|
79
|
+
};
|
|
80
|
+
},
|
|
81
|
+
fromProtoMsg(message) {
|
|
82
|
+
return MsgUpdateParams.decode(message.value);
|
|
83
|
+
},
|
|
84
|
+
toProto(message) {
|
|
85
|
+
return MsgUpdateParams.encode(message).finish();
|
|
86
|
+
},
|
|
87
|
+
toProtoMsg(message) {
|
|
88
|
+
return {
|
|
89
|
+
typeUrl: "/akash.bme.v1.MsgUpdateParams",
|
|
90
|
+
value: MsgUpdateParams.encode(message).finish()
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
function createBaseMsgUpdateParamsResponse() {
|
|
95
|
+
return {};
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* MsgUpdateParamsResponse is the response type for MsgUpdateParams
|
|
99
|
+
* @name MsgUpdateParamsResponse
|
|
100
|
+
* @package akash.bme.v1
|
|
101
|
+
* @see proto type: akash.bme.v1.MsgUpdateParamsResponse
|
|
102
|
+
*/
|
|
103
|
+
export const MsgUpdateParamsResponse = {
|
|
104
|
+
typeUrl: "/akash.bme.v1.MsgUpdateParamsResponse",
|
|
105
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
106
|
+
return writer;
|
|
107
|
+
},
|
|
108
|
+
decode(input, length) {
|
|
109
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
110
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
111
|
+
const message = createBaseMsgUpdateParamsResponse();
|
|
112
|
+
while (reader.pos < end) {
|
|
113
|
+
const tag = reader.uint32();
|
|
114
|
+
switch (tag >>> 3) {
|
|
115
|
+
default:
|
|
116
|
+
reader.skipType(tag & 7);
|
|
117
|
+
break;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
return message;
|
|
121
|
+
},
|
|
122
|
+
fromPartial(_) {
|
|
123
|
+
const message = createBaseMsgUpdateParamsResponse();
|
|
124
|
+
return message;
|
|
125
|
+
},
|
|
126
|
+
fromAmino(_) {
|
|
127
|
+
const message = createBaseMsgUpdateParamsResponse();
|
|
128
|
+
return message;
|
|
129
|
+
},
|
|
130
|
+
toAmino(_) {
|
|
131
|
+
const obj = {};
|
|
132
|
+
return obj;
|
|
133
|
+
},
|
|
134
|
+
fromAminoMsg(object) {
|
|
135
|
+
return MsgUpdateParamsResponse.fromAmino(object.value);
|
|
136
|
+
},
|
|
137
|
+
fromProtoMsg(message) {
|
|
138
|
+
return MsgUpdateParamsResponse.decode(message.value);
|
|
139
|
+
},
|
|
140
|
+
toProto(message) {
|
|
141
|
+
return MsgUpdateParamsResponse.encode(message).finish();
|
|
142
|
+
},
|
|
143
|
+
toProtoMsg(message) {
|
|
144
|
+
return {
|
|
145
|
+
typeUrl: "/akash.bme.v1.MsgUpdateParamsResponse",
|
|
146
|
+
value: MsgUpdateParamsResponse.encode(message).finish()
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
};
|
|
150
|
+
function createBaseMsgFundVault() {
|
|
151
|
+
return {
|
|
152
|
+
authority: "",
|
|
153
|
+
amount: Coin.fromPartial({}),
|
|
154
|
+
source: ""
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* MsgFundVault defines the message for funding the BME vault with AKT
|
|
159
|
+
* This is used to provide an initial volatility buffer
|
|
160
|
+
* @name MsgFundVault
|
|
161
|
+
* @package akash.bme.v1
|
|
162
|
+
* @see proto type: akash.bme.v1.MsgFundVault
|
|
163
|
+
*/
|
|
164
|
+
export const MsgFundVault = {
|
|
165
|
+
typeUrl: "/akash.bme.v1.MsgFundVault",
|
|
166
|
+
aminoType: "akash/bme/v1/MsgFundVault",
|
|
167
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
168
|
+
if (message.authority !== "") {
|
|
169
|
+
writer.uint32(10).string(message.authority);
|
|
170
|
+
}
|
|
171
|
+
if (message.amount !== undefined) {
|
|
172
|
+
Coin.encode(message.amount, writer.uint32(18).fork()).ldelim();
|
|
173
|
+
}
|
|
174
|
+
if (message.source !== "") {
|
|
175
|
+
writer.uint32(26).string(message.source);
|
|
176
|
+
}
|
|
177
|
+
return writer;
|
|
178
|
+
},
|
|
179
|
+
decode(input, length) {
|
|
180
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
181
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
182
|
+
const message = createBaseMsgFundVault();
|
|
183
|
+
while (reader.pos < end) {
|
|
184
|
+
const tag = reader.uint32();
|
|
185
|
+
switch (tag >>> 3) {
|
|
186
|
+
case 1:
|
|
187
|
+
message.authority = reader.string();
|
|
188
|
+
break;
|
|
189
|
+
case 2:
|
|
190
|
+
message.amount = Coin.decode(reader, reader.uint32());
|
|
191
|
+
break;
|
|
192
|
+
case 3:
|
|
193
|
+
message.source = reader.string();
|
|
194
|
+
break;
|
|
195
|
+
default:
|
|
196
|
+
reader.skipType(tag & 7);
|
|
197
|
+
break;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
return message;
|
|
201
|
+
},
|
|
202
|
+
fromPartial(object) {
|
|
203
|
+
const message = createBaseMsgFundVault();
|
|
204
|
+
message.authority = object.authority ?? "";
|
|
205
|
+
message.amount = object.amount !== undefined && object.amount !== null ? Coin.fromPartial(object.amount) : undefined;
|
|
206
|
+
message.source = object.source ?? "";
|
|
207
|
+
return message;
|
|
208
|
+
},
|
|
209
|
+
fromAmino(object) {
|
|
210
|
+
const message = createBaseMsgFundVault();
|
|
211
|
+
if (object.authority !== undefined && object.authority !== null) {
|
|
212
|
+
message.authority = object.authority;
|
|
213
|
+
}
|
|
214
|
+
if (object.amount !== undefined && object.amount !== null) {
|
|
215
|
+
message.amount = Coin.fromAmino(object.amount);
|
|
216
|
+
}
|
|
217
|
+
if (object.source !== undefined && object.source !== null) {
|
|
218
|
+
message.source = object.source;
|
|
219
|
+
}
|
|
220
|
+
return message;
|
|
221
|
+
},
|
|
222
|
+
toAmino(message) {
|
|
223
|
+
const obj = {};
|
|
224
|
+
obj.authority = message.authority === "" ? undefined : message.authority;
|
|
225
|
+
obj.amount = message.amount ? Coin.toAmino(message.amount) : undefined;
|
|
226
|
+
obj.source = message.source === "" ? undefined : message.source;
|
|
227
|
+
return obj;
|
|
228
|
+
},
|
|
229
|
+
fromAminoMsg(object) {
|
|
230
|
+
return MsgFundVault.fromAmino(object.value);
|
|
231
|
+
},
|
|
232
|
+
toAminoMsg(message) {
|
|
233
|
+
return {
|
|
234
|
+
type: "akash/bme/v1/MsgFundVault",
|
|
235
|
+
value: MsgFundVault.toAmino(message)
|
|
236
|
+
};
|
|
237
|
+
},
|
|
238
|
+
fromProtoMsg(message) {
|
|
239
|
+
return MsgFundVault.decode(message.value);
|
|
240
|
+
},
|
|
241
|
+
toProto(message) {
|
|
242
|
+
return MsgFundVault.encode(message).finish();
|
|
243
|
+
},
|
|
244
|
+
toProtoMsg(message) {
|
|
245
|
+
return {
|
|
246
|
+
typeUrl: "/akash.bme.v1.MsgFundVault",
|
|
247
|
+
value: MsgFundVault.encode(message).finish()
|
|
248
|
+
};
|
|
249
|
+
}
|
|
250
|
+
};
|
|
251
|
+
function createBaseMsgFundVaultResponse() {
|
|
252
|
+
return {};
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* MsgFundVaultResponse is the response type for MsgFundVault
|
|
256
|
+
* @name MsgFundVaultResponse
|
|
257
|
+
* @package akash.bme.v1
|
|
258
|
+
* @see proto type: akash.bme.v1.MsgFundVaultResponse
|
|
259
|
+
*/
|
|
260
|
+
export const MsgFundVaultResponse = {
|
|
261
|
+
typeUrl: "/akash.bme.v1.MsgFundVaultResponse",
|
|
262
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
263
|
+
return writer;
|
|
264
|
+
},
|
|
265
|
+
decode(input, length) {
|
|
266
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
267
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
268
|
+
const message = createBaseMsgFundVaultResponse();
|
|
269
|
+
while (reader.pos < end) {
|
|
270
|
+
const tag = reader.uint32();
|
|
271
|
+
switch (tag >>> 3) {
|
|
272
|
+
default:
|
|
273
|
+
reader.skipType(tag & 7);
|
|
274
|
+
break;
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
return message;
|
|
278
|
+
},
|
|
279
|
+
fromPartial(_) {
|
|
280
|
+
const message = createBaseMsgFundVaultResponse();
|
|
281
|
+
return message;
|
|
282
|
+
},
|
|
283
|
+
fromAmino(_) {
|
|
284
|
+
const message = createBaseMsgFundVaultResponse();
|
|
285
|
+
return message;
|
|
286
|
+
},
|
|
287
|
+
toAmino(_) {
|
|
288
|
+
const obj = {};
|
|
289
|
+
return obj;
|
|
290
|
+
},
|
|
291
|
+
fromAminoMsg(object) {
|
|
292
|
+
return MsgFundVaultResponse.fromAmino(object.value);
|
|
293
|
+
},
|
|
294
|
+
fromProtoMsg(message) {
|
|
295
|
+
return MsgFundVaultResponse.decode(message.value);
|
|
296
|
+
},
|
|
297
|
+
toProto(message) {
|
|
298
|
+
return MsgFundVaultResponse.encode(message).finish();
|
|
299
|
+
},
|
|
300
|
+
toProtoMsg(message) {
|
|
301
|
+
return {
|
|
302
|
+
typeUrl: "/akash.bme.v1.MsgFundVaultResponse",
|
|
303
|
+
value: MsgFundVaultResponse.encode(message).finish()
|
|
304
|
+
};
|
|
305
|
+
}
|
|
306
|
+
};
|
|
307
|
+
function createBaseMsgBurnMint() {
|
|
308
|
+
return {
|
|
309
|
+
owner: "",
|
|
310
|
+
to: "",
|
|
311
|
+
coinsToBurn: Coin.fromPartial({}),
|
|
312
|
+
denomToMint: ""
|
|
313
|
+
};
|
|
314
|
+
}
|
|
315
|
+
/**
|
|
316
|
+
* MsgBurnMint defines the message for burning one token to mint another
|
|
317
|
+
* Allows burning AKT to mint ACT, or burning unused ACT back to AKT
|
|
318
|
+
* @name MsgBurnMint
|
|
319
|
+
* @package akash.bme.v1
|
|
320
|
+
* @see proto type: akash.bme.v1.MsgBurnMint
|
|
321
|
+
*/
|
|
322
|
+
export const MsgBurnMint = {
|
|
323
|
+
typeUrl: "/akash.bme.v1.MsgBurnMint",
|
|
324
|
+
aminoType: "akash/bme/v1/MsgBurnMint",
|
|
325
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
326
|
+
if (message.owner !== "") {
|
|
327
|
+
writer.uint32(10).string(message.owner);
|
|
328
|
+
}
|
|
329
|
+
if (message.to !== "") {
|
|
330
|
+
writer.uint32(18).string(message.to);
|
|
331
|
+
}
|
|
332
|
+
if (message.coinsToBurn !== undefined) {
|
|
333
|
+
Coin.encode(message.coinsToBurn, writer.uint32(26).fork()).ldelim();
|
|
334
|
+
}
|
|
335
|
+
if (message.denomToMint !== "") {
|
|
336
|
+
writer.uint32(34).string(message.denomToMint);
|
|
337
|
+
}
|
|
338
|
+
return writer;
|
|
339
|
+
},
|
|
340
|
+
decode(input, length) {
|
|
341
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
342
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
343
|
+
const message = createBaseMsgBurnMint();
|
|
344
|
+
while (reader.pos < end) {
|
|
345
|
+
const tag = reader.uint32();
|
|
346
|
+
switch (tag >>> 3) {
|
|
347
|
+
case 1:
|
|
348
|
+
message.owner = reader.string();
|
|
349
|
+
break;
|
|
350
|
+
case 2:
|
|
351
|
+
message.to = reader.string();
|
|
352
|
+
break;
|
|
353
|
+
case 3:
|
|
354
|
+
message.coinsToBurn = Coin.decode(reader, reader.uint32());
|
|
355
|
+
break;
|
|
356
|
+
case 4:
|
|
357
|
+
message.denomToMint = reader.string();
|
|
358
|
+
break;
|
|
359
|
+
default:
|
|
360
|
+
reader.skipType(tag & 7);
|
|
361
|
+
break;
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
return message;
|
|
365
|
+
},
|
|
366
|
+
fromPartial(object) {
|
|
367
|
+
const message = createBaseMsgBurnMint();
|
|
368
|
+
message.owner = object.owner ?? "";
|
|
369
|
+
message.to = object.to ?? "";
|
|
370
|
+
message.coinsToBurn = object.coinsToBurn !== undefined && object.coinsToBurn !== null ? Coin.fromPartial(object.coinsToBurn) : undefined;
|
|
371
|
+
message.denomToMint = object.denomToMint ?? "";
|
|
372
|
+
return message;
|
|
373
|
+
},
|
|
374
|
+
fromAmino(object) {
|
|
375
|
+
const message = createBaseMsgBurnMint();
|
|
376
|
+
if (object.owner !== undefined && object.owner !== null) {
|
|
377
|
+
message.owner = object.owner;
|
|
378
|
+
}
|
|
379
|
+
if (object.to !== undefined && object.to !== null) {
|
|
380
|
+
message.to = object.to;
|
|
381
|
+
}
|
|
382
|
+
if (object.coins_to_burn !== undefined && object.coins_to_burn !== null) {
|
|
383
|
+
message.coinsToBurn = Coin.fromAmino(object.coins_to_burn);
|
|
384
|
+
}
|
|
385
|
+
if (object.denom_to_mint !== undefined && object.denom_to_mint !== null) {
|
|
386
|
+
message.denomToMint = object.denom_to_mint;
|
|
387
|
+
}
|
|
388
|
+
return message;
|
|
389
|
+
},
|
|
390
|
+
toAmino(message) {
|
|
391
|
+
const obj = {};
|
|
392
|
+
obj.owner = message.owner ?? "";
|
|
393
|
+
obj.to = message.to ?? "";
|
|
394
|
+
obj.coins_to_burn = message.coinsToBurn ? Coin.toAmino(message.coinsToBurn) : Coin.toAmino(Coin.fromPartial({}));
|
|
395
|
+
obj.denom_to_mint = message.denomToMint ?? "";
|
|
396
|
+
return obj;
|
|
397
|
+
},
|
|
398
|
+
fromAminoMsg(object) {
|
|
399
|
+
return MsgBurnMint.fromAmino(object.value);
|
|
400
|
+
},
|
|
401
|
+
toAminoMsg(message) {
|
|
402
|
+
return {
|
|
403
|
+
type: "akash/bme/v1/MsgBurnMint",
|
|
404
|
+
value: MsgBurnMint.toAmino(message)
|
|
405
|
+
};
|
|
406
|
+
},
|
|
407
|
+
fromProtoMsg(message) {
|
|
408
|
+
return MsgBurnMint.decode(message.value);
|
|
409
|
+
},
|
|
410
|
+
toProto(message) {
|
|
411
|
+
return MsgBurnMint.encode(message).finish();
|
|
412
|
+
},
|
|
413
|
+
toProtoMsg(message) {
|
|
414
|
+
return {
|
|
415
|
+
typeUrl: "/akash.bme.v1.MsgBurnMint",
|
|
416
|
+
value: MsgBurnMint.encode(message).finish()
|
|
417
|
+
};
|
|
418
|
+
}
|
|
419
|
+
};
|
|
420
|
+
function createBaseMsgMintACT() {
|
|
421
|
+
return {
|
|
422
|
+
owner: "",
|
|
423
|
+
to: "",
|
|
424
|
+
coinsToBurn: Coin.fromPartial({})
|
|
425
|
+
};
|
|
426
|
+
}
|
|
427
|
+
/**
|
|
428
|
+
* MsgMintACT defines the message for burning one token to mint another
|
|
429
|
+
* Allows burning AKT to mint ACT, or burning unused ACT back to AKT
|
|
430
|
+
* @name MsgMintACT
|
|
431
|
+
* @package akash.bme.v1
|
|
432
|
+
* @see proto type: akash.bme.v1.MsgMintACT
|
|
433
|
+
*/
|
|
434
|
+
export const MsgMintACT = {
|
|
435
|
+
typeUrl: "/akash.bme.v1.MsgMintACT",
|
|
436
|
+
aminoType: "akash/bme/v1/MsgMintACT",
|
|
437
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
438
|
+
if (message.owner !== "") {
|
|
439
|
+
writer.uint32(10).string(message.owner);
|
|
440
|
+
}
|
|
441
|
+
if (message.to !== "") {
|
|
442
|
+
writer.uint32(18).string(message.to);
|
|
443
|
+
}
|
|
444
|
+
if (message.coinsToBurn !== undefined) {
|
|
445
|
+
Coin.encode(message.coinsToBurn, writer.uint32(26).fork()).ldelim();
|
|
446
|
+
}
|
|
447
|
+
return writer;
|
|
448
|
+
},
|
|
449
|
+
decode(input, length) {
|
|
450
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
451
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
452
|
+
const message = createBaseMsgMintACT();
|
|
453
|
+
while (reader.pos < end) {
|
|
454
|
+
const tag = reader.uint32();
|
|
455
|
+
switch (tag >>> 3) {
|
|
456
|
+
case 1:
|
|
457
|
+
message.owner = reader.string();
|
|
458
|
+
break;
|
|
459
|
+
case 2:
|
|
460
|
+
message.to = reader.string();
|
|
461
|
+
break;
|
|
462
|
+
case 3:
|
|
463
|
+
message.coinsToBurn = Coin.decode(reader, reader.uint32());
|
|
464
|
+
break;
|
|
465
|
+
default:
|
|
466
|
+
reader.skipType(tag & 7);
|
|
467
|
+
break;
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
return message;
|
|
471
|
+
},
|
|
472
|
+
fromPartial(object) {
|
|
473
|
+
const message = createBaseMsgMintACT();
|
|
474
|
+
message.owner = object.owner ?? "";
|
|
475
|
+
message.to = object.to ?? "";
|
|
476
|
+
message.coinsToBurn = object.coinsToBurn !== undefined && object.coinsToBurn !== null ? Coin.fromPartial(object.coinsToBurn) : undefined;
|
|
477
|
+
return message;
|
|
478
|
+
},
|
|
479
|
+
fromAmino(object) {
|
|
480
|
+
const message = createBaseMsgMintACT();
|
|
481
|
+
if (object.owner !== undefined && object.owner !== null) {
|
|
482
|
+
message.owner = object.owner;
|
|
483
|
+
}
|
|
484
|
+
if (object.to !== undefined && object.to !== null) {
|
|
485
|
+
message.to = object.to;
|
|
486
|
+
}
|
|
487
|
+
if (object.coins_to_burn !== undefined && object.coins_to_burn !== null) {
|
|
488
|
+
message.coinsToBurn = Coin.fromAmino(object.coins_to_burn);
|
|
489
|
+
}
|
|
490
|
+
return message;
|
|
491
|
+
},
|
|
492
|
+
toAmino(message) {
|
|
493
|
+
const obj = {};
|
|
494
|
+
obj.owner = message.owner ?? "";
|
|
495
|
+
obj.to = message.to ?? "";
|
|
496
|
+
obj.coins_to_burn = message.coinsToBurn ? Coin.toAmino(message.coinsToBurn) : Coin.toAmino(Coin.fromPartial({}));
|
|
497
|
+
return obj;
|
|
498
|
+
},
|
|
499
|
+
fromAminoMsg(object) {
|
|
500
|
+
return MsgMintACT.fromAmino(object.value);
|
|
501
|
+
},
|
|
502
|
+
toAminoMsg(message) {
|
|
503
|
+
return {
|
|
504
|
+
type: "akash/bme/v1/MsgMintACT",
|
|
505
|
+
value: MsgMintACT.toAmino(message)
|
|
506
|
+
};
|
|
507
|
+
},
|
|
508
|
+
fromProtoMsg(message) {
|
|
509
|
+
return MsgMintACT.decode(message.value);
|
|
510
|
+
},
|
|
511
|
+
toProto(message) {
|
|
512
|
+
return MsgMintACT.encode(message).finish();
|
|
513
|
+
},
|
|
514
|
+
toProtoMsg(message) {
|
|
515
|
+
return {
|
|
516
|
+
typeUrl: "/akash.bme.v1.MsgMintACT",
|
|
517
|
+
value: MsgMintACT.encode(message).finish()
|
|
518
|
+
};
|
|
519
|
+
}
|
|
520
|
+
};
|
|
521
|
+
function createBaseMsgBurnACT() {
|
|
522
|
+
return {
|
|
523
|
+
owner: "",
|
|
524
|
+
to: "",
|
|
525
|
+
coinsToBurn: Coin.fromPartial({})
|
|
526
|
+
};
|
|
527
|
+
}
|
|
528
|
+
/**
|
|
529
|
+
* MsgMintACT defines the message for burning one token to mint another
|
|
530
|
+
* Allows burning AKT to mint ACT, or burning unused ACT back to AKT
|
|
531
|
+
* @name MsgBurnACT
|
|
532
|
+
* @package akash.bme.v1
|
|
533
|
+
* @see proto type: akash.bme.v1.MsgBurnACT
|
|
534
|
+
*/
|
|
535
|
+
export const MsgBurnACT = {
|
|
536
|
+
typeUrl: "/akash.bme.v1.MsgBurnACT",
|
|
537
|
+
aminoType: "akash/bme/v1/MsgBurnACT",
|
|
538
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
539
|
+
if (message.owner !== "") {
|
|
540
|
+
writer.uint32(10).string(message.owner);
|
|
541
|
+
}
|
|
542
|
+
if (message.to !== "") {
|
|
543
|
+
writer.uint32(18).string(message.to);
|
|
544
|
+
}
|
|
545
|
+
if (message.coinsToBurn !== undefined) {
|
|
546
|
+
Coin.encode(message.coinsToBurn, writer.uint32(26).fork()).ldelim();
|
|
547
|
+
}
|
|
548
|
+
return writer;
|
|
549
|
+
},
|
|
550
|
+
decode(input, length) {
|
|
551
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
552
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
553
|
+
const message = createBaseMsgBurnACT();
|
|
554
|
+
while (reader.pos < end) {
|
|
555
|
+
const tag = reader.uint32();
|
|
556
|
+
switch (tag >>> 3) {
|
|
557
|
+
case 1:
|
|
558
|
+
message.owner = reader.string();
|
|
559
|
+
break;
|
|
560
|
+
case 2:
|
|
561
|
+
message.to = reader.string();
|
|
562
|
+
break;
|
|
563
|
+
case 3:
|
|
564
|
+
message.coinsToBurn = Coin.decode(reader, reader.uint32());
|
|
565
|
+
break;
|
|
566
|
+
default:
|
|
567
|
+
reader.skipType(tag & 7);
|
|
568
|
+
break;
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
return message;
|
|
572
|
+
},
|
|
573
|
+
fromPartial(object) {
|
|
574
|
+
const message = createBaseMsgBurnACT();
|
|
575
|
+
message.owner = object.owner ?? "";
|
|
576
|
+
message.to = object.to ?? "";
|
|
577
|
+
message.coinsToBurn = object.coinsToBurn !== undefined && object.coinsToBurn !== null ? Coin.fromPartial(object.coinsToBurn) : undefined;
|
|
578
|
+
return message;
|
|
579
|
+
},
|
|
580
|
+
fromAmino(object) {
|
|
581
|
+
const message = createBaseMsgBurnACT();
|
|
582
|
+
if (object.owner !== undefined && object.owner !== null) {
|
|
583
|
+
message.owner = object.owner;
|
|
584
|
+
}
|
|
585
|
+
if (object.to !== undefined && object.to !== null) {
|
|
586
|
+
message.to = object.to;
|
|
587
|
+
}
|
|
588
|
+
if (object.coins_to_burn !== undefined && object.coins_to_burn !== null) {
|
|
589
|
+
message.coinsToBurn = Coin.fromAmino(object.coins_to_burn);
|
|
590
|
+
}
|
|
591
|
+
return message;
|
|
592
|
+
},
|
|
593
|
+
toAmino(message) {
|
|
594
|
+
const obj = {};
|
|
595
|
+
obj.owner = message.owner ?? "";
|
|
596
|
+
obj.to = message.to ?? "";
|
|
597
|
+
obj.coins_to_burn = message.coinsToBurn ? Coin.toAmino(message.coinsToBurn) : Coin.toAmino(Coin.fromPartial({}));
|
|
598
|
+
return obj;
|
|
599
|
+
},
|
|
600
|
+
fromAminoMsg(object) {
|
|
601
|
+
return MsgBurnACT.fromAmino(object.value);
|
|
602
|
+
},
|
|
603
|
+
toAminoMsg(message) {
|
|
604
|
+
return {
|
|
605
|
+
type: "akash/bme/v1/MsgBurnACT",
|
|
606
|
+
value: MsgBurnACT.toAmino(message)
|
|
607
|
+
};
|
|
608
|
+
},
|
|
609
|
+
fromProtoMsg(message) {
|
|
610
|
+
return MsgBurnACT.decode(message.value);
|
|
611
|
+
},
|
|
612
|
+
toProto(message) {
|
|
613
|
+
return MsgBurnACT.encode(message).finish();
|
|
614
|
+
},
|
|
615
|
+
toProtoMsg(message) {
|
|
616
|
+
return {
|
|
617
|
+
typeUrl: "/akash.bme.v1.MsgBurnACT",
|
|
618
|
+
value: MsgBurnACT.encode(message).finish()
|
|
619
|
+
};
|
|
620
|
+
}
|
|
621
|
+
};
|
|
622
|
+
function createBaseMsgBurnMintResponse() {
|
|
623
|
+
return {
|
|
624
|
+
id: LedgerRecordID.fromPartial({}),
|
|
625
|
+
status: 0
|
|
626
|
+
};
|
|
627
|
+
}
|
|
628
|
+
/**
|
|
629
|
+
* MsgBurnMintResponse is the response type for MsgBurnMint
|
|
630
|
+
* @name MsgBurnMintResponse
|
|
631
|
+
* @package akash.bme.v1
|
|
632
|
+
* @see proto type: akash.bme.v1.MsgBurnMintResponse
|
|
633
|
+
*/
|
|
634
|
+
export const MsgBurnMintResponse = {
|
|
635
|
+
typeUrl: "/akash.bme.v1.MsgBurnMintResponse",
|
|
636
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
637
|
+
if (message.id !== undefined) {
|
|
638
|
+
LedgerRecordID.encode(message.id, writer.uint32(10).fork()).ldelim();
|
|
639
|
+
}
|
|
640
|
+
if (message.status !== 0) {
|
|
641
|
+
writer.uint32(16).int32(message.status);
|
|
642
|
+
}
|
|
643
|
+
return writer;
|
|
644
|
+
},
|
|
645
|
+
decode(input, length) {
|
|
646
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
647
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
648
|
+
const message = createBaseMsgBurnMintResponse();
|
|
649
|
+
while (reader.pos < end) {
|
|
650
|
+
const tag = reader.uint32();
|
|
651
|
+
switch (tag >>> 3) {
|
|
652
|
+
case 1:
|
|
653
|
+
message.id = LedgerRecordID.decode(reader, reader.uint32());
|
|
654
|
+
break;
|
|
655
|
+
case 2:
|
|
656
|
+
message.status = reader.int32();
|
|
657
|
+
break;
|
|
658
|
+
default:
|
|
659
|
+
reader.skipType(tag & 7);
|
|
660
|
+
break;
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
return message;
|
|
664
|
+
},
|
|
665
|
+
fromPartial(object) {
|
|
666
|
+
const message = createBaseMsgBurnMintResponse();
|
|
667
|
+
message.id = object.id !== undefined && object.id !== null ? LedgerRecordID.fromPartial(object.id) : undefined;
|
|
668
|
+
message.status = object.status ?? 0;
|
|
669
|
+
return message;
|
|
670
|
+
},
|
|
671
|
+
fromAmino(object) {
|
|
672
|
+
const message = createBaseMsgBurnMintResponse();
|
|
673
|
+
if (object.id !== undefined && object.id !== null) {
|
|
674
|
+
message.id = LedgerRecordID.fromAmino(object.id);
|
|
675
|
+
}
|
|
676
|
+
if (object.status !== undefined && object.status !== null) {
|
|
677
|
+
message.status = object.status;
|
|
678
|
+
}
|
|
679
|
+
return message;
|
|
680
|
+
},
|
|
681
|
+
toAmino(message) {
|
|
682
|
+
const obj = {};
|
|
683
|
+
obj.id = message.id ? LedgerRecordID.toAmino(message.id) : LedgerRecordID.toAmino(LedgerRecordID.fromPartial({}));
|
|
684
|
+
obj.status = message.status === 0 ? undefined : message.status;
|
|
685
|
+
return obj;
|
|
686
|
+
},
|
|
687
|
+
fromAminoMsg(object) {
|
|
688
|
+
return MsgBurnMintResponse.fromAmino(object.value);
|
|
689
|
+
},
|
|
690
|
+
fromProtoMsg(message) {
|
|
691
|
+
return MsgBurnMintResponse.decode(message.value);
|
|
692
|
+
},
|
|
693
|
+
toProto(message) {
|
|
694
|
+
return MsgBurnMintResponse.encode(message).finish();
|
|
695
|
+
},
|
|
696
|
+
toProtoMsg(message) {
|
|
697
|
+
return {
|
|
698
|
+
typeUrl: "/akash.bme.v1.MsgBurnMintResponse",
|
|
699
|
+
value: MsgBurnMintResponse.encode(message).finish()
|
|
700
|
+
};
|
|
701
|
+
}
|
|
702
|
+
};
|
|
703
|
+
function createBaseMsgMintACTResponse() {
|
|
704
|
+
return {
|
|
705
|
+
id: LedgerRecordID.fromPartial({}),
|
|
706
|
+
status: 0
|
|
707
|
+
};
|
|
708
|
+
}
|
|
709
|
+
/**
|
|
710
|
+
* MsgBurnMintResponse is the response type for MsgBurnMint
|
|
711
|
+
* @name MsgMintACTResponse
|
|
712
|
+
* @package akash.bme.v1
|
|
713
|
+
* @see proto type: akash.bme.v1.MsgMintACTResponse
|
|
714
|
+
*/
|
|
715
|
+
export const MsgMintACTResponse = {
|
|
716
|
+
typeUrl: "/akash.bme.v1.MsgMintACTResponse",
|
|
717
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
718
|
+
if (message.id !== undefined) {
|
|
719
|
+
LedgerRecordID.encode(message.id, writer.uint32(10).fork()).ldelim();
|
|
720
|
+
}
|
|
721
|
+
if (message.status !== 0) {
|
|
722
|
+
writer.uint32(16).int32(message.status);
|
|
723
|
+
}
|
|
724
|
+
return writer;
|
|
725
|
+
},
|
|
726
|
+
decode(input, length) {
|
|
727
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
728
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
729
|
+
const message = createBaseMsgMintACTResponse();
|
|
730
|
+
while (reader.pos < end) {
|
|
731
|
+
const tag = reader.uint32();
|
|
732
|
+
switch (tag >>> 3) {
|
|
733
|
+
case 1:
|
|
734
|
+
message.id = LedgerRecordID.decode(reader, reader.uint32());
|
|
735
|
+
break;
|
|
736
|
+
case 2:
|
|
737
|
+
message.status = reader.int32();
|
|
738
|
+
break;
|
|
739
|
+
default:
|
|
740
|
+
reader.skipType(tag & 7);
|
|
741
|
+
break;
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
return message;
|
|
745
|
+
},
|
|
746
|
+
fromPartial(object) {
|
|
747
|
+
const message = createBaseMsgMintACTResponse();
|
|
748
|
+
message.id = object.id !== undefined && object.id !== null ? LedgerRecordID.fromPartial(object.id) : undefined;
|
|
749
|
+
message.status = object.status ?? 0;
|
|
750
|
+
return message;
|
|
751
|
+
},
|
|
752
|
+
fromAmino(object) {
|
|
753
|
+
const message = createBaseMsgMintACTResponse();
|
|
754
|
+
if (object.id !== undefined && object.id !== null) {
|
|
755
|
+
message.id = LedgerRecordID.fromAmino(object.id);
|
|
756
|
+
}
|
|
757
|
+
if (object.status !== undefined && object.status !== null) {
|
|
758
|
+
message.status = object.status;
|
|
759
|
+
}
|
|
760
|
+
return message;
|
|
761
|
+
},
|
|
762
|
+
toAmino(message) {
|
|
763
|
+
const obj = {};
|
|
764
|
+
obj.id = message.id ? LedgerRecordID.toAmino(message.id) : LedgerRecordID.toAmino(LedgerRecordID.fromPartial({}));
|
|
765
|
+
obj.status = message.status === 0 ? undefined : message.status;
|
|
766
|
+
return obj;
|
|
767
|
+
},
|
|
768
|
+
fromAminoMsg(object) {
|
|
769
|
+
return MsgMintACTResponse.fromAmino(object.value);
|
|
770
|
+
},
|
|
771
|
+
fromProtoMsg(message) {
|
|
772
|
+
return MsgMintACTResponse.decode(message.value);
|
|
773
|
+
},
|
|
774
|
+
toProto(message) {
|
|
775
|
+
return MsgMintACTResponse.encode(message).finish();
|
|
776
|
+
},
|
|
777
|
+
toProtoMsg(message) {
|
|
778
|
+
return {
|
|
779
|
+
typeUrl: "/akash.bme.v1.MsgMintACTResponse",
|
|
780
|
+
value: MsgMintACTResponse.encode(message).finish()
|
|
781
|
+
};
|
|
782
|
+
}
|
|
783
|
+
};
|
|
784
|
+
function createBaseMsgBurnACTResponse() {
|
|
785
|
+
return {
|
|
786
|
+
id: LedgerRecordID.fromPartial({}),
|
|
787
|
+
status: 0
|
|
788
|
+
};
|
|
789
|
+
}
|
|
790
|
+
/**
|
|
791
|
+
* MsgBurnMintResponse is the response type for MsgBurnMint
|
|
792
|
+
* @name MsgBurnACTResponse
|
|
793
|
+
* @package akash.bme.v1
|
|
794
|
+
* @see proto type: akash.bme.v1.MsgBurnACTResponse
|
|
795
|
+
*/
|
|
796
|
+
export const MsgBurnACTResponse = {
|
|
797
|
+
typeUrl: "/akash.bme.v1.MsgBurnACTResponse",
|
|
798
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
799
|
+
if (message.id !== undefined) {
|
|
800
|
+
LedgerRecordID.encode(message.id, writer.uint32(10).fork()).ldelim();
|
|
801
|
+
}
|
|
802
|
+
if (message.status !== 0) {
|
|
803
|
+
writer.uint32(16).int32(message.status);
|
|
804
|
+
}
|
|
805
|
+
return writer;
|
|
806
|
+
},
|
|
807
|
+
decode(input, length) {
|
|
808
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
809
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
810
|
+
const message = createBaseMsgBurnACTResponse();
|
|
811
|
+
while (reader.pos < end) {
|
|
812
|
+
const tag = reader.uint32();
|
|
813
|
+
switch (tag >>> 3) {
|
|
814
|
+
case 1:
|
|
815
|
+
message.id = LedgerRecordID.decode(reader, reader.uint32());
|
|
816
|
+
break;
|
|
817
|
+
case 2:
|
|
818
|
+
message.status = reader.int32();
|
|
819
|
+
break;
|
|
820
|
+
default:
|
|
821
|
+
reader.skipType(tag & 7);
|
|
822
|
+
break;
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
return message;
|
|
826
|
+
},
|
|
827
|
+
fromPartial(object) {
|
|
828
|
+
const message = createBaseMsgBurnACTResponse();
|
|
829
|
+
message.id = object.id !== undefined && object.id !== null ? LedgerRecordID.fromPartial(object.id) : undefined;
|
|
830
|
+
message.status = object.status ?? 0;
|
|
831
|
+
return message;
|
|
832
|
+
},
|
|
833
|
+
fromAmino(object) {
|
|
834
|
+
const message = createBaseMsgBurnACTResponse();
|
|
835
|
+
if (object.id !== undefined && object.id !== null) {
|
|
836
|
+
message.id = LedgerRecordID.fromAmino(object.id);
|
|
837
|
+
}
|
|
838
|
+
if (object.status !== undefined && object.status !== null) {
|
|
839
|
+
message.status = object.status;
|
|
840
|
+
}
|
|
841
|
+
return message;
|
|
842
|
+
},
|
|
843
|
+
toAmino(message) {
|
|
844
|
+
const obj = {};
|
|
845
|
+
obj.id = message.id ? LedgerRecordID.toAmino(message.id) : LedgerRecordID.toAmino(LedgerRecordID.fromPartial({}));
|
|
846
|
+
obj.status = message.status === 0 ? undefined : message.status;
|
|
847
|
+
return obj;
|
|
848
|
+
},
|
|
849
|
+
fromAminoMsg(object) {
|
|
850
|
+
return MsgBurnACTResponse.fromAmino(object.value);
|
|
851
|
+
},
|
|
852
|
+
fromProtoMsg(message) {
|
|
853
|
+
return MsgBurnACTResponse.decode(message.value);
|
|
854
|
+
},
|
|
855
|
+
toProto(message) {
|
|
856
|
+
return MsgBurnACTResponse.encode(message).finish();
|
|
857
|
+
},
|
|
858
|
+
toProtoMsg(message) {
|
|
859
|
+
return {
|
|
860
|
+
typeUrl: "/akash.bme.v1.MsgBurnACTResponse",
|
|
861
|
+
value: MsgBurnACTResponse.encode(message).finish()
|
|
862
|
+
};
|
|
863
|
+
}
|
|
864
|
+
};
|