@agoric/cosmic-proto 0.5.0-u18a.0 → 0.5.0-u19.0
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/dist/codegen/agoric/bundle.d.ts +165 -165
- package/dist/codegen/circle/bundle.d.ts +1363 -0
- package/dist/codegen/circle/bundle.js +40 -0
- package/dist/codegen/circle/bundle.js.map +1 -0
- package/dist/codegen/circle/cctp/v1/attester.d.ts +31 -0
- package/dist/codegen/circle/cctp/v1/attester.js +63 -0
- package/dist/codegen/circle/cctp/v1/attester.js.map +1 -0
- package/dist/codegen/circle/cctp/v1/burn_message.d.ts +47 -0
- package/dist/codegen/circle/cctp/v1/burn_message.js +117 -0
- package/dist/codegen/circle/cctp/v1/burn_message.js.map +1 -0
- package/dist/codegen/circle/cctp/v1/burning_and_minting_paused.d.ts +31 -0
- package/dist/codegen/circle/cctp/v1/burning_and_minting_paused.js +63 -0
- package/dist/codegen/circle/cctp/v1/burning_and_minting_paused.js.map +1 -0
- package/dist/codegen/circle/cctp/v1/events.d.ts +730 -0
- package/dist/codegen/circle/cctp/v1/events.js +1612 -0
- package/dist/codegen/circle/cctp/v1/events.js.map +1 -0
- package/dist/codegen/circle/cctp/v1/genesis.d.ts +60 -0
- package/dist/codegen/circle/cctp/v1/genesis.js +295 -0
- package/dist/codegen/circle/cctp/v1/genesis.js.map +1 -0
- package/dist/codegen/circle/cctp/v1/max_message_body_size.d.ts +31 -0
- package/dist/codegen/circle/cctp/v1/max_message_body_size.js +69 -0
- package/dist/codegen/circle/cctp/v1/max_message_body_size.js.map +1 -0
- package/dist/codegen/circle/cctp/v1/message.d.ts +69 -0
- package/dist/codegen/circle/cctp/v1/message.js +160 -0
- package/dist/codegen/circle/cctp/v1/message.js.map +1 -0
- package/dist/codegen/circle/cctp/v1/nonce.d.ts +39 -0
- package/dist/codegen/circle/cctp/v1/nonce.js +80 -0
- package/dist/codegen/circle/cctp/v1/nonce.js.map +1 -0
- package/dist/codegen/circle/cctp/v1/per_message_burn_limit.d.ts +39 -0
- package/dist/codegen/circle/cctp/v1/per_message_burn_limit.js +73 -0
- package/dist/codegen/circle/cctp/v1/per_message_burn_limit.js.map +1 -0
- package/dist/codegen/circle/cctp/v1/query.d.ts +1101 -0
- package/dist/codegen/circle/cctp/v1/query.js +2421 -0
- package/dist/codegen/circle/cctp/v1/query.js.map +1 -0
- package/dist/codegen/circle/cctp/v1/remote_token_messenger.d.ts +33 -0
- package/dist/codegen/circle/cctp/v1/remote_token_messenger.js +77 -0
- package/dist/codegen/circle/cctp/v1/remote_token_messenger.js.map +1 -0
- package/dist/codegen/circle/cctp/v1/sending_and_receiving_messages_paused.d.ts +31 -0
- package/dist/codegen/circle/cctp/v1/sending_and_receiving_messages_paused.js +63 -0
- package/dist/codegen/circle/cctp/v1/sending_and_receiving_messages_paused.js.map +1 -0
- package/dist/codegen/circle/cctp/v1/signature_threshold.d.ts +33 -0
- package/dist/codegen/circle/cctp/v1/signature_threshold.js +63 -0
- package/dist/codegen/circle/cctp/v1/signature_threshold.js.map +1 -0
- package/dist/codegen/circle/cctp/v1/token_pair.d.ts +45 -0
- package/dist/codegen/circle/cctp/v1/token_pair.js +91 -0
- package/dist/codegen/circle/cctp/v1/token_pair.js.map +1 -0
- package/dist/codegen/circle/cctp/v1/tx.d.ts +1102 -0
- package/dist/codegen/circle/cctp/v1/tx.js +3264 -0
- package/dist/codegen/circle/cctp/v1/tx.js.map +1 -0
- package/dist/codegen/cosmos/bundle.d.ts +4005 -4005
- package/dist/codegen/cosmos/bundle.js +126 -126
- package/dist/codegen/cosmos_proto/bundle.d.ts +21 -21
- package/dist/codegen/cosmos_proto/bundle.js +2 -2
- package/dist/codegen/gogoproto/bundle.js +2 -2
- package/dist/codegen/google/bundle.d.ts +277 -277
- package/dist/codegen/google/bundle.js +10 -10
- package/dist/codegen/google/bundle.js.map +1 -1
- package/dist/codegen/ibc/bundle.d.ts +1662 -1662
- package/dist/codegen/ibc/bundle.js +64 -64
- package/dist/codegen/ibc/bundle.js.map +1 -1
- package/dist/codegen/icq/bundle.d.ts +85 -85
- package/dist/codegen/icq/bundle.js +10 -10
- package/dist/codegen/ics23/bundle.d.ts +113 -113
- package/dist/codegen/ics23/bundle.js +2 -2
- package/dist/codegen/index.d.ts +2 -0
- package/dist/codegen/index.js +2 -0
- package/dist/codegen/index.js.map +1 -1
- package/dist/codegen/stride/bundle.d.ts +2607 -0
- package/dist/codegen/stride/bundle.js +71 -0
- package/dist/codegen/stride/bundle.js.map +1 -0
- package/dist/codegen/stride/epochs/genesis.d.ts +60 -0
- package/dist/codegen/stride/epochs/genesis.js +227 -0
- package/dist/codegen/stride/epochs/genesis.js.map +1 -0
- package/dist/codegen/stride/epochs/query.d.ts +132 -0
- package/dist/codegen/stride/epochs/query.js +398 -0
- package/dist/codegen/stride/epochs/query.js.map +1 -0
- package/dist/codegen/stride/records/callbacks.d.ts +45 -0
- package/dist/codegen/stride/records/callbacks.js +136 -0
- package/dist/codegen/stride/records/callbacks.js.map +1 -0
- package/dist/codegen/stride/records/genesis.d.ts +41 -0
- package/dist/codegen/stride/records/genesis.js +186 -0
- package/dist/codegen/stride/records/genesis.js.map +1 -0
- package/dist/codegen/stride/records/params.d.ts +23 -0
- package/dist/codegen/stride/records/params.js +50 -0
- package/dist/codegen/stride/records/params.js.map +1 -0
- package/dist/codegen/stride/records/query.d.ts +494 -0
- package/dist/codegen/stride/records/query.js +1552 -0
- package/dist/codegen/stride/records/query.js.map +1 -0
- package/dist/codegen/stride/records/records.d.ts +228 -0
- package/dist/codegen/stride/records/records.js +939 -0
- package/dist/codegen/stride/records/records.js.map +1 -0
- package/dist/codegen/stride/stakedym/genesis.d.ts +92 -0
- package/dist/codegen/stride/stakedym/genesis.js +312 -0
- package/dist/codegen/stride/stakedym/genesis.js.map +1 -0
- package/dist/codegen/stride/stakedym/query.d.ts +302 -0
- package/dist/codegen/stride/stakedym/query.js +887 -0
- package/dist/codegen/stride/stakedym/query.js.map +1 -0
- package/dist/codegen/stride/stakedym/stakedym.d.ts +303 -0
- package/dist/codegen/stride/stakedym/stakedym.js +909 -0
- package/dist/codegen/stride/stakedym/stakedym.js.map +1 -0
- package/dist/codegen/stride/stakedym/tx.d.ts +595 -0
- package/dist/codegen/stride/stakedym/tx.js +1661 -0
- package/dist/codegen/stride/stakedym/tx.js.map +1 -0
- package/dist/codegen/stride/stakeibc/address_unbonding.d.ts +35 -0
- package/dist/codegen/stride/stakeibc/address_unbonding.js +135 -0
- package/dist/codegen/stride/stakeibc/address_unbonding.js.map +1 -0
- package/dist/codegen/stride/stakeibc/callbacks.d.ts +357 -0
- package/dist/codegen/stride/stakeibc/callbacks.js +1191 -0
- package/dist/codegen/stride/stakeibc/callbacks.js.map +1 -0
- package/dist/codegen/stride/stakeibc/epoch_tracker.d.ts +29 -0
- package/dist/codegen/stride/stakeibc/epoch_tracker.js +115 -0
- package/dist/codegen/stride/stakeibc/epoch_tracker.js.map +1 -0
- package/dist/codegen/stride/stakeibc/genesis.d.ts +37 -0
- package/dist/codegen/stride/stakeibc/genesis.js +135 -0
- package/dist/codegen/stride/stakeibc/genesis.js.map +1 -0
- package/dist/codegen/stride/stakeibc/gov.d.ts +61 -0
- package/dist/codegen/stride/stakeibc/gov.js +212 -0
- package/dist/codegen/stride/stakeibc/gov.js.map +1 -0
- package/dist/codegen/stride/stakeibc/host_zone.d.ts +184 -0
- package/dist/codegen/stride/stakeibc/host_zone.js +544 -0
- package/dist/codegen/stride/stakeibc/host_zone.js.map +1 -0
- package/dist/codegen/stride/stakeibc/ica_account.d.ts +43 -0
- package/dist/codegen/stride/stakeibc/ica_account.js +165 -0
- package/dist/codegen/stride/stakeibc/ica_account.js.map +1 -0
- package/dist/codegen/stride/stakeibc/packet.d.ts +42 -0
- package/dist/codegen/stride/stakeibc/packet.js +113 -0
- package/dist/codegen/stride/stakeibc/packet.js.map +1 -0
- package/dist/codegen/stride/stakeibc/params.d.ts +62 -0
- package/dist/codegen/stride/stakeibc/params.js +317 -0
- package/dist/codegen/stride/stakeibc/params.js.map +1 -0
- package/dist/codegen/stride/stakeibc/query.d.ts +492 -0
- package/dist/codegen/stride/stakeibc/query.js +1372 -0
- package/dist/codegen/stride/stakeibc/query.js.map +1 -0
- package/dist/codegen/stride/stakeibc/trade_route.d.ts +170 -0
- package/dist/codegen/stride/stakeibc/trade_route.js +377 -0
- package/dist/codegen/stride/stakeibc/trade_route.js.map +1 -0
- package/dist/codegen/stride/stakeibc/tx.d.ts +1210 -0
- package/dist/codegen/stride/stakeibc/tx.js +3392 -0
- package/dist/codegen/stride/stakeibc/tx.js.map +1 -0
- package/dist/codegen/stride/stakeibc/validator.d.ts +39 -0
- package/dist/codegen/stride/stakeibc/validator.js +170 -0
- package/dist/codegen/stride/stakeibc/validator.js.map +1 -0
- package/dist/codegen/stride/staketia/genesis.d.ts +92 -0
- package/dist/codegen/stride/staketia/genesis.js +312 -0
- package/dist/codegen/stride/staketia/genesis.js.map +1 -0
- package/dist/codegen/stride/staketia/query.d.ts +302 -0
- package/dist/codegen/stride/staketia/query.js +887 -0
- package/dist/codegen/stride/staketia/query.js.map +1 -0
- package/dist/codegen/stride/staketia/staketia.d.ts +285 -0
- package/dist/codegen/stride/staketia/staketia.js +819 -0
- package/dist/codegen/stride/staketia/staketia.js.map +1 -0
- package/dist/codegen/stride/staketia/tx.d.ts +611 -0
- package/dist/codegen/stride/staketia/tx.js +1671 -0
- package/dist/codegen/stride/staketia/tx.js.map +1 -0
- package/dist/codegen/tendermint/bundle.d.ts +716 -716
- package/dist/codegen/tendermint/bundle.js +22 -22
- package/package.json +24 -8
|
@@ -0,0 +1,3392 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { Validator } from './validator.js';
|
|
3
|
+
import { Coin } from '../../cosmos/base/v1beta1/coin.js';
|
|
4
|
+
import { BinaryReader, BinaryWriter } from '../../binary.js';
|
|
5
|
+
import { Decimal, isSet } from '../../helpers.js';
|
|
6
|
+
import {} from '../../json-safe.js';
|
|
7
|
+
export var AuthzPermissionChange;
|
|
8
|
+
(function (AuthzPermissionChange) {
|
|
9
|
+
/** GRANT - Grant the address trade permissions */
|
|
10
|
+
AuthzPermissionChange[AuthzPermissionChange["GRANT"] = 0] = "GRANT";
|
|
11
|
+
/** REVOKE - Revoke trade permissions from the address */
|
|
12
|
+
AuthzPermissionChange[AuthzPermissionChange["REVOKE"] = 1] = "REVOKE";
|
|
13
|
+
AuthzPermissionChange[AuthzPermissionChange["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
14
|
+
})(AuthzPermissionChange || (AuthzPermissionChange = {}));
|
|
15
|
+
export const AuthzPermissionChangeSDKType = AuthzPermissionChange;
|
|
16
|
+
export function authzPermissionChangeFromJSON(object) {
|
|
17
|
+
switch (object) {
|
|
18
|
+
case 0:
|
|
19
|
+
case 'GRANT':
|
|
20
|
+
return AuthzPermissionChange.GRANT;
|
|
21
|
+
case 1:
|
|
22
|
+
case 'REVOKE':
|
|
23
|
+
return AuthzPermissionChange.REVOKE;
|
|
24
|
+
case -1:
|
|
25
|
+
case 'UNRECOGNIZED':
|
|
26
|
+
default:
|
|
27
|
+
return AuthzPermissionChange.UNRECOGNIZED;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export function authzPermissionChangeToJSON(object) {
|
|
31
|
+
switch (object) {
|
|
32
|
+
case AuthzPermissionChange.GRANT:
|
|
33
|
+
return 'GRANT';
|
|
34
|
+
case AuthzPermissionChange.REVOKE:
|
|
35
|
+
return 'REVOKE';
|
|
36
|
+
case AuthzPermissionChange.UNRECOGNIZED:
|
|
37
|
+
default:
|
|
38
|
+
return 'UNRECOGNIZED';
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
function createBaseMsgUpdateInnerRedemptionRateBounds() {
|
|
42
|
+
return {
|
|
43
|
+
creator: '',
|
|
44
|
+
chainId: '',
|
|
45
|
+
minInnerRedemptionRate: '',
|
|
46
|
+
maxInnerRedemptionRate: '',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
export const MsgUpdateInnerRedemptionRateBounds = {
|
|
50
|
+
typeUrl: '/stride.stakeibc.MsgUpdateInnerRedemptionRateBounds',
|
|
51
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
52
|
+
if (message.creator !== '') {
|
|
53
|
+
writer.uint32(10).string(message.creator);
|
|
54
|
+
}
|
|
55
|
+
if (message.chainId !== '') {
|
|
56
|
+
writer.uint32(18).string(message.chainId);
|
|
57
|
+
}
|
|
58
|
+
if (message.minInnerRedemptionRate !== '') {
|
|
59
|
+
writer
|
|
60
|
+
.uint32(26)
|
|
61
|
+
.string(Decimal.fromUserInput(message.minInnerRedemptionRate, 18).atomics);
|
|
62
|
+
}
|
|
63
|
+
if (message.maxInnerRedemptionRate !== '') {
|
|
64
|
+
writer
|
|
65
|
+
.uint32(34)
|
|
66
|
+
.string(Decimal.fromUserInput(message.maxInnerRedemptionRate, 18).atomics);
|
|
67
|
+
}
|
|
68
|
+
return writer;
|
|
69
|
+
},
|
|
70
|
+
decode(input, length) {
|
|
71
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
72
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
73
|
+
const message = createBaseMsgUpdateInnerRedemptionRateBounds();
|
|
74
|
+
while (reader.pos < end) {
|
|
75
|
+
const tag = reader.uint32();
|
|
76
|
+
switch (tag >>> 3) {
|
|
77
|
+
case 1:
|
|
78
|
+
message.creator = reader.string();
|
|
79
|
+
break;
|
|
80
|
+
case 2:
|
|
81
|
+
message.chainId = reader.string();
|
|
82
|
+
break;
|
|
83
|
+
case 3:
|
|
84
|
+
message.minInnerRedemptionRate = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
85
|
+
break;
|
|
86
|
+
case 4:
|
|
87
|
+
message.maxInnerRedemptionRate = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
88
|
+
break;
|
|
89
|
+
default:
|
|
90
|
+
reader.skipType(tag & 7);
|
|
91
|
+
break;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
return message;
|
|
95
|
+
},
|
|
96
|
+
fromJSON(object) {
|
|
97
|
+
return {
|
|
98
|
+
creator: isSet(object.creator) ? String(object.creator) : '',
|
|
99
|
+
chainId: isSet(object.chainId) ? String(object.chainId) : '',
|
|
100
|
+
minInnerRedemptionRate: isSet(object.minInnerRedemptionRate)
|
|
101
|
+
? String(object.minInnerRedemptionRate)
|
|
102
|
+
: '',
|
|
103
|
+
maxInnerRedemptionRate: isSet(object.maxInnerRedemptionRate)
|
|
104
|
+
? String(object.maxInnerRedemptionRate)
|
|
105
|
+
: '',
|
|
106
|
+
};
|
|
107
|
+
},
|
|
108
|
+
toJSON(message) {
|
|
109
|
+
const obj = {};
|
|
110
|
+
message.creator !== undefined && (obj.creator = message.creator);
|
|
111
|
+
message.chainId !== undefined && (obj.chainId = message.chainId);
|
|
112
|
+
message.minInnerRedemptionRate !== undefined &&
|
|
113
|
+
(obj.minInnerRedemptionRate = message.minInnerRedemptionRate);
|
|
114
|
+
message.maxInnerRedemptionRate !== undefined &&
|
|
115
|
+
(obj.maxInnerRedemptionRate = message.maxInnerRedemptionRate);
|
|
116
|
+
return obj;
|
|
117
|
+
},
|
|
118
|
+
fromPartial(object) {
|
|
119
|
+
const message = createBaseMsgUpdateInnerRedemptionRateBounds();
|
|
120
|
+
message.creator = object.creator ?? '';
|
|
121
|
+
message.chainId = object.chainId ?? '';
|
|
122
|
+
message.minInnerRedemptionRate = object.minInnerRedemptionRate ?? '';
|
|
123
|
+
message.maxInnerRedemptionRate = object.maxInnerRedemptionRate ?? '';
|
|
124
|
+
return message;
|
|
125
|
+
},
|
|
126
|
+
fromProtoMsg(message) {
|
|
127
|
+
return MsgUpdateInnerRedemptionRateBounds.decode(message.value);
|
|
128
|
+
},
|
|
129
|
+
toProto(message) {
|
|
130
|
+
return MsgUpdateInnerRedemptionRateBounds.encode(message).finish();
|
|
131
|
+
},
|
|
132
|
+
toProtoMsg(message) {
|
|
133
|
+
return {
|
|
134
|
+
typeUrl: '/stride.stakeibc.MsgUpdateInnerRedemptionRateBounds',
|
|
135
|
+
value: MsgUpdateInnerRedemptionRateBounds.encode(message).finish(),
|
|
136
|
+
};
|
|
137
|
+
},
|
|
138
|
+
};
|
|
139
|
+
function createBaseMsgUpdateInnerRedemptionRateBoundsResponse() {
|
|
140
|
+
return {};
|
|
141
|
+
}
|
|
142
|
+
export const MsgUpdateInnerRedemptionRateBoundsResponse = {
|
|
143
|
+
typeUrl: '/stride.stakeibc.MsgUpdateInnerRedemptionRateBoundsResponse',
|
|
144
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
145
|
+
return writer;
|
|
146
|
+
},
|
|
147
|
+
decode(input, length) {
|
|
148
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
149
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
150
|
+
const message = createBaseMsgUpdateInnerRedemptionRateBoundsResponse();
|
|
151
|
+
while (reader.pos < end) {
|
|
152
|
+
const tag = reader.uint32();
|
|
153
|
+
switch (tag >>> 3) {
|
|
154
|
+
default:
|
|
155
|
+
reader.skipType(tag & 7);
|
|
156
|
+
break;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
return message;
|
|
160
|
+
},
|
|
161
|
+
fromJSON(_) {
|
|
162
|
+
return {};
|
|
163
|
+
},
|
|
164
|
+
toJSON(_) {
|
|
165
|
+
const obj = {};
|
|
166
|
+
return obj;
|
|
167
|
+
},
|
|
168
|
+
fromPartial(_) {
|
|
169
|
+
const message = createBaseMsgUpdateInnerRedemptionRateBoundsResponse();
|
|
170
|
+
return message;
|
|
171
|
+
},
|
|
172
|
+
fromProtoMsg(message) {
|
|
173
|
+
return MsgUpdateInnerRedemptionRateBoundsResponse.decode(message.value);
|
|
174
|
+
},
|
|
175
|
+
toProto(message) {
|
|
176
|
+
return MsgUpdateInnerRedemptionRateBoundsResponse.encode(message).finish();
|
|
177
|
+
},
|
|
178
|
+
toProtoMsg(message) {
|
|
179
|
+
return {
|
|
180
|
+
typeUrl: '/stride.stakeibc.MsgUpdateInnerRedemptionRateBoundsResponse',
|
|
181
|
+
value: MsgUpdateInnerRedemptionRateBoundsResponse.encode(message).finish(),
|
|
182
|
+
};
|
|
183
|
+
},
|
|
184
|
+
};
|
|
185
|
+
function createBaseMsgLiquidStake() {
|
|
186
|
+
return {
|
|
187
|
+
creator: '',
|
|
188
|
+
amount: '',
|
|
189
|
+
hostDenom: '',
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
export const MsgLiquidStake = {
|
|
193
|
+
typeUrl: '/stride.stakeibc.MsgLiquidStake',
|
|
194
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
195
|
+
if (message.creator !== '') {
|
|
196
|
+
writer.uint32(10).string(message.creator);
|
|
197
|
+
}
|
|
198
|
+
if (message.amount !== '') {
|
|
199
|
+
writer.uint32(18).string(message.amount);
|
|
200
|
+
}
|
|
201
|
+
if (message.hostDenom !== '') {
|
|
202
|
+
writer.uint32(26).string(message.hostDenom);
|
|
203
|
+
}
|
|
204
|
+
return writer;
|
|
205
|
+
},
|
|
206
|
+
decode(input, length) {
|
|
207
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
208
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
209
|
+
const message = createBaseMsgLiquidStake();
|
|
210
|
+
while (reader.pos < end) {
|
|
211
|
+
const tag = reader.uint32();
|
|
212
|
+
switch (tag >>> 3) {
|
|
213
|
+
case 1:
|
|
214
|
+
message.creator = reader.string();
|
|
215
|
+
break;
|
|
216
|
+
case 2:
|
|
217
|
+
message.amount = reader.string();
|
|
218
|
+
break;
|
|
219
|
+
case 3:
|
|
220
|
+
message.hostDenom = reader.string();
|
|
221
|
+
break;
|
|
222
|
+
default:
|
|
223
|
+
reader.skipType(tag & 7);
|
|
224
|
+
break;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
return message;
|
|
228
|
+
},
|
|
229
|
+
fromJSON(object) {
|
|
230
|
+
return {
|
|
231
|
+
creator: isSet(object.creator) ? String(object.creator) : '',
|
|
232
|
+
amount: isSet(object.amount) ? String(object.amount) : '',
|
|
233
|
+
hostDenom: isSet(object.hostDenom) ? String(object.hostDenom) : '',
|
|
234
|
+
};
|
|
235
|
+
},
|
|
236
|
+
toJSON(message) {
|
|
237
|
+
const obj = {};
|
|
238
|
+
message.creator !== undefined && (obj.creator = message.creator);
|
|
239
|
+
message.amount !== undefined && (obj.amount = message.amount);
|
|
240
|
+
message.hostDenom !== undefined && (obj.hostDenom = message.hostDenom);
|
|
241
|
+
return obj;
|
|
242
|
+
},
|
|
243
|
+
fromPartial(object) {
|
|
244
|
+
const message = createBaseMsgLiquidStake();
|
|
245
|
+
message.creator = object.creator ?? '';
|
|
246
|
+
message.amount = object.amount ?? '';
|
|
247
|
+
message.hostDenom = object.hostDenom ?? '';
|
|
248
|
+
return message;
|
|
249
|
+
},
|
|
250
|
+
fromProtoMsg(message) {
|
|
251
|
+
return MsgLiquidStake.decode(message.value);
|
|
252
|
+
},
|
|
253
|
+
toProto(message) {
|
|
254
|
+
return MsgLiquidStake.encode(message).finish();
|
|
255
|
+
},
|
|
256
|
+
toProtoMsg(message) {
|
|
257
|
+
return {
|
|
258
|
+
typeUrl: '/stride.stakeibc.MsgLiquidStake',
|
|
259
|
+
value: MsgLiquidStake.encode(message).finish(),
|
|
260
|
+
};
|
|
261
|
+
},
|
|
262
|
+
};
|
|
263
|
+
function createBaseMsgLiquidStakeResponse() {
|
|
264
|
+
return {
|
|
265
|
+
stToken: Coin.fromPartial({}),
|
|
266
|
+
};
|
|
267
|
+
}
|
|
268
|
+
export const MsgLiquidStakeResponse = {
|
|
269
|
+
typeUrl: '/stride.stakeibc.MsgLiquidStakeResponse',
|
|
270
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
271
|
+
if (message.stToken !== undefined) {
|
|
272
|
+
Coin.encode(message.stToken, writer.uint32(10).fork()).ldelim();
|
|
273
|
+
}
|
|
274
|
+
return writer;
|
|
275
|
+
},
|
|
276
|
+
decode(input, length) {
|
|
277
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
278
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
279
|
+
const message = createBaseMsgLiquidStakeResponse();
|
|
280
|
+
while (reader.pos < end) {
|
|
281
|
+
const tag = reader.uint32();
|
|
282
|
+
switch (tag >>> 3) {
|
|
283
|
+
case 1:
|
|
284
|
+
message.stToken = Coin.decode(reader, reader.uint32());
|
|
285
|
+
break;
|
|
286
|
+
default:
|
|
287
|
+
reader.skipType(tag & 7);
|
|
288
|
+
break;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
return message;
|
|
292
|
+
},
|
|
293
|
+
fromJSON(object) {
|
|
294
|
+
return {
|
|
295
|
+
stToken: isSet(object.stToken)
|
|
296
|
+
? Coin.fromJSON(object.stToken)
|
|
297
|
+
: undefined,
|
|
298
|
+
};
|
|
299
|
+
},
|
|
300
|
+
toJSON(message) {
|
|
301
|
+
const obj = {};
|
|
302
|
+
message.stToken !== undefined &&
|
|
303
|
+
(obj.stToken = message.stToken
|
|
304
|
+
? Coin.toJSON(message.stToken)
|
|
305
|
+
: undefined);
|
|
306
|
+
return obj;
|
|
307
|
+
},
|
|
308
|
+
fromPartial(object) {
|
|
309
|
+
const message = createBaseMsgLiquidStakeResponse();
|
|
310
|
+
message.stToken =
|
|
311
|
+
object.stToken !== undefined && object.stToken !== null
|
|
312
|
+
? Coin.fromPartial(object.stToken)
|
|
313
|
+
: undefined;
|
|
314
|
+
return message;
|
|
315
|
+
},
|
|
316
|
+
fromProtoMsg(message) {
|
|
317
|
+
return MsgLiquidStakeResponse.decode(message.value);
|
|
318
|
+
},
|
|
319
|
+
toProto(message) {
|
|
320
|
+
return MsgLiquidStakeResponse.encode(message).finish();
|
|
321
|
+
},
|
|
322
|
+
toProtoMsg(message) {
|
|
323
|
+
return {
|
|
324
|
+
typeUrl: '/stride.stakeibc.MsgLiquidStakeResponse',
|
|
325
|
+
value: MsgLiquidStakeResponse.encode(message).finish(),
|
|
326
|
+
};
|
|
327
|
+
},
|
|
328
|
+
};
|
|
329
|
+
function createBaseMsgLSMLiquidStake() {
|
|
330
|
+
return {
|
|
331
|
+
creator: '',
|
|
332
|
+
amount: '',
|
|
333
|
+
lsmTokenIbcDenom: '',
|
|
334
|
+
};
|
|
335
|
+
}
|
|
336
|
+
export const MsgLSMLiquidStake = {
|
|
337
|
+
typeUrl: '/stride.stakeibc.MsgLSMLiquidStake',
|
|
338
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
339
|
+
if (message.creator !== '') {
|
|
340
|
+
writer.uint32(10).string(message.creator);
|
|
341
|
+
}
|
|
342
|
+
if (message.amount !== '') {
|
|
343
|
+
writer.uint32(18).string(message.amount);
|
|
344
|
+
}
|
|
345
|
+
if (message.lsmTokenIbcDenom !== '') {
|
|
346
|
+
writer.uint32(26).string(message.lsmTokenIbcDenom);
|
|
347
|
+
}
|
|
348
|
+
return writer;
|
|
349
|
+
},
|
|
350
|
+
decode(input, length) {
|
|
351
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
352
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
353
|
+
const message = createBaseMsgLSMLiquidStake();
|
|
354
|
+
while (reader.pos < end) {
|
|
355
|
+
const tag = reader.uint32();
|
|
356
|
+
switch (tag >>> 3) {
|
|
357
|
+
case 1:
|
|
358
|
+
message.creator = reader.string();
|
|
359
|
+
break;
|
|
360
|
+
case 2:
|
|
361
|
+
message.amount = reader.string();
|
|
362
|
+
break;
|
|
363
|
+
case 3:
|
|
364
|
+
message.lsmTokenIbcDenom = reader.string();
|
|
365
|
+
break;
|
|
366
|
+
default:
|
|
367
|
+
reader.skipType(tag & 7);
|
|
368
|
+
break;
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
return message;
|
|
372
|
+
},
|
|
373
|
+
fromJSON(object) {
|
|
374
|
+
return {
|
|
375
|
+
creator: isSet(object.creator) ? String(object.creator) : '',
|
|
376
|
+
amount: isSet(object.amount) ? String(object.amount) : '',
|
|
377
|
+
lsmTokenIbcDenom: isSet(object.lsmTokenIbcDenom)
|
|
378
|
+
? String(object.lsmTokenIbcDenom)
|
|
379
|
+
: '',
|
|
380
|
+
};
|
|
381
|
+
},
|
|
382
|
+
toJSON(message) {
|
|
383
|
+
const obj = {};
|
|
384
|
+
message.creator !== undefined && (obj.creator = message.creator);
|
|
385
|
+
message.amount !== undefined && (obj.amount = message.amount);
|
|
386
|
+
message.lsmTokenIbcDenom !== undefined &&
|
|
387
|
+
(obj.lsmTokenIbcDenom = message.lsmTokenIbcDenom);
|
|
388
|
+
return obj;
|
|
389
|
+
},
|
|
390
|
+
fromPartial(object) {
|
|
391
|
+
const message = createBaseMsgLSMLiquidStake();
|
|
392
|
+
message.creator = object.creator ?? '';
|
|
393
|
+
message.amount = object.amount ?? '';
|
|
394
|
+
message.lsmTokenIbcDenom = object.lsmTokenIbcDenom ?? '';
|
|
395
|
+
return message;
|
|
396
|
+
},
|
|
397
|
+
fromProtoMsg(message) {
|
|
398
|
+
return MsgLSMLiquidStake.decode(message.value);
|
|
399
|
+
},
|
|
400
|
+
toProto(message) {
|
|
401
|
+
return MsgLSMLiquidStake.encode(message).finish();
|
|
402
|
+
},
|
|
403
|
+
toProtoMsg(message) {
|
|
404
|
+
return {
|
|
405
|
+
typeUrl: '/stride.stakeibc.MsgLSMLiquidStake',
|
|
406
|
+
value: MsgLSMLiquidStake.encode(message).finish(),
|
|
407
|
+
};
|
|
408
|
+
},
|
|
409
|
+
};
|
|
410
|
+
function createBaseMsgLSMLiquidStakeResponse() {
|
|
411
|
+
return {
|
|
412
|
+
transactionComplete: false,
|
|
413
|
+
};
|
|
414
|
+
}
|
|
415
|
+
export const MsgLSMLiquidStakeResponse = {
|
|
416
|
+
typeUrl: '/stride.stakeibc.MsgLSMLiquidStakeResponse',
|
|
417
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
418
|
+
if (message.transactionComplete === true) {
|
|
419
|
+
writer.uint32(8).bool(message.transactionComplete);
|
|
420
|
+
}
|
|
421
|
+
return writer;
|
|
422
|
+
},
|
|
423
|
+
decode(input, length) {
|
|
424
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
425
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
426
|
+
const message = createBaseMsgLSMLiquidStakeResponse();
|
|
427
|
+
while (reader.pos < end) {
|
|
428
|
+
const tag = reader.uint32();
|
|
429
|
+
switch (tag >>> 3) {
|
|
430
|
+
case 1:
|
|
431
|
+
message.transactionComplete = reader.bool();
|
|
432
|
+
break;
|
|
433
|
+
default:
|
|
434
|
+
reader.skipType(tag & 7);
|
|
435
|
+
break;
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
return message;
|
|
439
|
+
},
|
|
440
|
+
fromJSON(object) {
|
|
441
|
+
return {
|
|
442
|
+
transactionComplete: isSet(object.transactionComplete)
|
|
443
|
+
? Boolean(object.transactionComplete)
|
|
444
|
+
: false,
|
|
445
|
+
};
|
|
446
|
+
},
|
|
447
|
+
toJSON(message) {
|
|
448
|
+
const obj = {};
|
|
449
|
+
message.transactionComplete !== undefined &&
|
|
450
|
+
(obj.transactionComplete = message.transactionComplete);
|
|
451
|
+
return obj;
|
|
452
|
+
},
|
|
453
|
+
fromPartial(object) {
|
|
454
|
+
const message = createBaseMsgLSMLiquidStakeResponse();
|
|
455
|
+
message.transactionComplete = object.transactionComplete ?? false;
|
|
456
|
+
return message;
|
|
457
|
+
},
|
|
458
|
+
fromProtoMsg(message) {
|
|
459
|
+
return MsgLSMLiquidStakeResponse.decode(message.value);
|
|
460
|
+
},
|
|
461
|
+
toProto(message) {
|
|
462
|
+
return MsgLSMLiquidStakeResponse.encode(message).finish();
|
|
463
|
+
},
|
|
464
|
+
toProtoMsg(message) {
|
|
465
|
+
return {
|
|
466
|
+
typeUrl: '/stride.stakeibc.MsgLSMLiquidStakeResponse',
|
|
467
|
+
value: MsgLSMLiquidStakeResponse.encode(message).finish(),
|
|
468
|
+
};
|
|
469
|
+
},
|
|
470
|
+
};
|
|
471
|
+
function createBaseMsgClearBalance() {
|
|
472
|
+
return {
|
|
473
|
+
creator: '',
|
|
474
|
+
chainId: '',
|
|
475
|
+
amount: '',
|
|
476
|
+
channel: '',
|
|
477
|
+
};
|
|
478
|
+
}
|
|
479
|
+
export const MsgClearBalance = {
|
|
480
|
+
typeUrl: '/stride.stakeibc.MsgClearBalance',
|
|
481
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
482
|
+
if (message.creator !== '') {
|
|
483
|
+
writer.uint32(10).string(message.creator);
|
|
484
|
+
}
|
|
485
|
+
if (message.chainId !== '') {
|
|
486
|
+
writer.uint32(18).string(message.chainId);
|
|
487
|
+
}
|
|
488
|
+
if (message.amount !== '') {
|
|
489
|
+
writer.uint32(26).string(message.amount);
|
|
490
|
+
}
|
|
491
|
+
if (message.channel !== '') {
|
|
492
|
+
writer.uint32(34).string(message.channel);
|
|
493
|
+
}
|
|
494
|
+
return writer;
|
|
495
|
+
},
|
|
496
|
+
decode(input, length) {
|
|
497
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
498
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
499
|
+
const message = createBaseMsgClearBalance();
|
|
500
|
+
while (reader.pos < end) {
|
|
501
|
+
const tag = reader.uint32();
|
|
502
|
+
switch (tag >>> 3) {
|
|
503
|
+
case 1:
|
|
504
|
+
message.creator = reader.string();
|
|
505
|
+
break;
|
|
506
|
+
case 2:
|
|
507
|
+
message.chainId = reader.string();
|
|
508
|
+
break;
|
|
509
|
+
case 3:
|
|
510
|
+
message.amount = reader.string();
|
|
511
|
+
break;
|
|
512
|
+
case 4:
|
|
513
|
+
message.channel = reader.string();
|
|
514
|
+
break;
|
|
515
|
+
default:
|
|
516
|
+
reader.skipType(tag & 7);
|
|
517
|
+
break;
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
return message;
|
|
521
|
+
},
|
|
522
|
+
fromJSON(object) {
|
|
523
|
+
return {
|
|
524
|
+
creator: isSet(object.creator) ? String(object.creator) : '',
|
|
525
|
+
chainId: isSet(object.chainId) ? String(object.chainId) : '',
|
|
526
|
+
amount: isSet(object.amount) ? String(object.amount) : '',
|
|
527
|
+
channel: isSet(object.channel) ? String(object.channel) : '',
|
|
528
|
+
};
|
|
529
|
+
},
|
|
530
|
+
toJSON(message) {
|
|
531
|
+
const obj = {};
|
|
532
|
+
message.creator !== undefined && (obj.creator = message.creator);
|
|
533
|
+
message.chainId !== undefined && (obj.chainId = message.chainId);
|
|
534
|
+
message.amount !== undefined && (obj.amount = message.amount);
|
|
535
|
+
message.channel !== undefined && (obj.channel = message.channel);
|
|
536
|
+
return obj;
|
|
537
|
+
},
|
|
538
|
+
fromPartial(object) {
|
|
539
|
+
const message = createBaseMsgClearBalance();
|
|
540
|
+
message.creator = object.creator ?? '';
|
|
541
|
+
message.chainId = object.chainId ?? '';
|
|
542
|
+
message.amount = object.amount ?? '';
|
|
543
|
+
message.channel = object.channel ?? '';
|
|
544
|
+
return message;
|
|
545
|
+
},
|
|
546
|
+
fromProtoMsg(message) {
|
|
547
|
+
return MsgClearBalance.decode(message.value);
|
|
548
|
+
},
|
|
549
|
+
toProto(message) {
|
|
550
|
+
return MsgClearBalance.encode(message).finish();
|
|
551
|
+
},
|
|
552
|
+
toProtoMsg(message) {
|
|
553
|
+
return {
|
|
554
|
+
typeUrl: '/stride.stakeibc.MsgClearBalance',
|
|
555
|
+
value: MsgClearBalance.encode(message).finish(),
|
|
556
|
+
};
|
|
557
|
+
},
|
|
558
|
+
};
|
|
559
|
+
function createBaseMsgClearBalanceResponse() {
|
|
560
|
+
return {};
|
|
561
|
+
}
|
|
562
|
+
export const MsgClearBalanceResponse = {
|
|
563
|
+
typeUrl: '/stride.stakeibc.MsgClearBalanceResponse',
|
|
564
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
565
|
+
return writer;
|
|
566
|
+
},
|
|
567
|
+
decode(input, length) {
|
|
568
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
569
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
570
|
+
const message = createBaseMsgClearBalanceResponse();
|
|
571
|
+
while (reader.pos < end) {
|
|
572
|
+
const tag = reader.uint32();
|
|
573
|
+
switch (tag >>> 3) {
|
|
574
|
+
default:
|
|
575
|
+
reader.skipType(tag & 7);
|
|
576
|
+
break;
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
return message;
|
|
580
|
+
},
|
|
581
|
+
fromJSON(_) {
|
|
582
|
+
return {};
|
|
583
|
+
},
|
|
584
|
+
toJSON(_) {
|
|
585
|
+
const obj = {};
|
|
586
|
+
return obj;
|
|
587
|
+
},
|
|
588
|
+
fromPartial(_) {
|
|
589
|
+
const message = createBaseMsgClearBalanceResponse();
|
|
590
|
+
return message;
|
|
591
|
+
},
|
|
592
|
+
fromProtoMsg(message) {
|
|
593
|
+
return MsgClearBalanceResponse.decode(message.value);
|
|
594
|
+
},
|
|
595
|
+
toProto(message) {
|
|
596
|
+
return MsgClearBalanceResponse.encode(message).finish();
|
|
597
|
+
},
|
|
598
|
+
toProtoMsg(message) {
|
|
599
|
+
return {
|
|
600
|
+
typeUrl: '/stride.stakeibc.MsgClearBalanceResponse',
|
|
601
|
+
value: MsgClearBalanceResponse.encode(message).finish(),
|
|
602
|
+
};
|
|
603
|
+
},
|
|
604
|
+
};
|
|
605
|
+
function createBaseMsgRedeemStake() {
|
|
606
|
+
return {
|
|
607
|
+
creator: '',
|
|
608
|
+
amount: '',
|
|
609
|
+
hostZone: '',
|
|
610
|
+
receiver: '',
|
|
611
|
+
};
|
|
612
|
+
}
|
|
613
|
+
export const MsgRedeemStake = {
|
|
614
|
+
typeUrl: '/stride.stakeibc.MsgRedeemStake',
|
|
615
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
616
|
+
if (message.creator !== '') {
|
|
617
|
+
writer.uint32(10).string(message.creator);
|
|
618
|
+
}
|
|
619
|
+
if (message.amount !== '') {
|
|
620
|
+
writer.uint32(18).string(message.amount);
|
|
621
|
+
}
|
|
622
|
+
if (message.hostZone !== '') {
|
|
623
|
+
writer.uint32(26).string(message.hostZone);
|
|
624
|
+
}
|
|
625
|
+
if (message.receiver !== '') {
|
|
626
|
+
writer.uint32(34).string(message.receiver);
|
|
627
|
+
}
|
|
628
|
+
return writer;
|
|
629
|
+
},
|
|
630
|
+
decode(input, length) {
|
|
631
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
632
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
633
|
+
const message = createBaseMsgRedeemStake();
|
|
634
|
+
while (reader.pos < end) {
|
|
635
|
+
const tag = reader.uint32();
|
|
636
|
+
switch (tag >>> 3) {
|
|
637
|
+
case 1:
|
|
638
|
+
message.creator = reader.string();
|
|
639
|
+
break;
|
|
640
|
+
case 2:
|
|
641
|
+
message.amount = reader.string();
|
|
642
|
+
break;
|
|
643
|
+
case 3:
|
|
644
|
+
message.hostZone = reader.string();
|
|
645
|
+
break;
|
|
646
|
+
case 4:
|
|
647
|
+
message.receiver = reader.string();
|
|
648
|
+
break;
|
|
649
|
+
default:
|
|
650
|
+
reader.skipType(tag & 7);
|
|
651
|
+
break;
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
return message;
|
|
655
|
+
},
|
|
656
|
+
fromJSON(object) {
|
|
657
|
+
return {
|
|
658
|
+
creator: isSet(object.creator) ? String(object.creator) : '',
|
|
659
|
+
amount: isSet(object.amount) ? String(object.amount) : '',
|
|
660
|
+
hostZone: isSet(object.hostZone) ? String(object.hostZone) : '',
|
|
661
|
+
receiver: isSet(object.receiver) ? String(object.receiver) : '',
|
|
662
|
+
};
|
|
663
|
+
},
|
|
664
|
+
toJSON(message) {
|
|
665
|
+
const obj = {};
|
|
666
|
+
message.creator !== undefined && (obj.creator = message.creator);
|
|
667
|
+
message.amount !== undefined && (obj.amount = message.amount);
|
|
668
|
+
message.hostZone !== undefined && (obj.hostZone = message.hostZone);
|
|
669
|
+
message.receiver !== undefined && (obj.receiver = message.receiver);
|
|
670
|
+
return obj;
|
|
671
|
+
},
|
|
672
|
+
fromPartial(object) {
|
|
673
|
+
const message = createBaseMsgRedeemStake();
|
|
674
|
+
message.creator = object.creator ?? '';
|
|
675
|
+
message.amount = object.amount ?? '';
|
|
676
|
+
message.hostZone = object.hostZone ?? '';
|
|
677
|
+
message.receiver = object.receiver ?? '';
|
|
678
|
+
return message;
|
|
679
|
+
},
|
|
680
|
+
fromProtoMsg(message) {
|
|
681
|
+
return MsgRedeemStake.decode(message.value);
|
|
682
|
+
},
|
|
683
|
+
toProto(message) {
|
|
684
|
+
return MsgRedeemStake.encode(message).finish();
|
|
685
|
+
},
|
|
686
|
+
toProtoMsg(message) {
|
|
687
|
+
return {
|
|
688
|
+
typeUrl: '/stride.stakeibc.MsgRedeemStake',
|
|
689
|
+
value: MsgRedeemStake.encode(message).finish(),
|
|
690
|
+
};
|
|
691
|
+
},
|
|
692
|
+
};
|
|
693
|
+
function createBaseMsgRedeemStakeResponse() {
|
|
694
|
+
return {};
|
|
695
|
+
}
|
|
696
|
+
export const MsgRedeemStakeResponse = {
|
|
697
|
+
typeUrl: '/stride.stakeibc.MsgRedeemStakeResponse',
|
|
698
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
699
|
+
return writer;
|
|
700
|
+
},
|
|
701
|
+
decode(input, length) {
|
|
702
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
703
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
704
|
+
const message = createBaseMsgRedeemStakeResponse();
|
|
705
|
+
while (reader.pos < end) {
|
|
706
|
+
const tag = reader.uint32();
|
|
707
|
+
switch (tag >>> 3) {
|
|
708
|
+
default:
|
|
709
|
+
reader.skipType(tag & 7);
|
|
710
|
+
break;
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
return message;
|
|
714
|
+
},
|
|
715
|
+
fromJSON(_) {
|
|
716
|
+
return {};
|
|
717
|
+
},
|
|
718
|
+
toJSON(_) {
|
|
719
|
+
const obj = {};
|
|
720
|
+
return obj;
|
|
721
|
+
},
|
|
722
|
+
fromPartial(_) {
|
|
723
|
+
const message = createBaseMsgRedeemStakeResponse();
|
|
724
|
+
return message;
|
|
725
|
+
},
|
|
726
|
+
fromProtoMsg(message) {
|
|
727
|
+
return MsgRedeemStakeResponse.decode(message.value);
|
|
728
|
+
},
|
|
729
|
+
toProto(message) {
|
|
730
|
+
return MsgRedeemStakeResponse.encode(message).finish();
|
|
731
|
+
},
|
|
732
|
+
toProtoMsg(message) {
|
|
733
|
+
return {
|
|
734
|
+
typeUrl: '/stride.stakeibc.MsgRedeemStakeResponse',
|
|
735
|
+
value: MsgRedeemStakeResponse.encode(message).finish(),
|
|
736
|
+
};
|
|
737
|
+
},
|
|
738
|
+
};
|
|
739
|
+
function createBaseMsgRegisterHostZone() {
|
|
740
|
+
return {
|
|
741
|
+
connectionId: '',
|
|
742
|
+
bech32prefix: '',
|
|
743
|
+
hostDenom: '',
|
|
744
|
+
ibcDenom: '',
|
|
745
|
+
creator: '',
|
|
746
|
+
transferChannelId: '',
|
|
747
|
+
unbondingPeriod: BigInt(0),
|
|
748
|
+
minRedemptionRate: '',
|
|
749
|
+
maxRedemptionRate: '',
|
|
750
|
+
lsmLiquidStakeEnabled: false,
|
|
751
|
+
communityPoolTreasuryAddress: '',
|
|
752
|
+
maxMessagesPerIcaTx: BigInt(0),
|
|
753
|
+
};
|
|
754
|
+
}
|
|
755
|
+
export const MsgRegisterHostZone = {
|
|
756
|
+
typeUrl: '/stride.stakeibc.MsgRegisterHostZone',
|
|
757
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
758
|
+
if (message.connectionId !== '') {
|
|
759
|
+
writer.uint32(18).string(message.connectionId);
|
|
760
|
+
}
|
|
761
|
+
if (message.bech32prefix !== '') {
|
|
762
|
+
writer.uint32(98).string(message.bech32prefix);
|
|
763
|
+
}
|
|
764
|
+
if (message.hostDenom !== '') {
|
|
765
|
+
writer.uint32(34).string(message.hostDenom);
|
|
766
|
+
}
|
|
767
|
+
if (message.ibcDenom !== '') {
|
|
768
|
+
writer.uint32(42).string(message.ibcDenom);
|
|
769
|
+
}
|
|
770
|
+
if (message.creator !== '') {
|
|
771
|
+
writer.uint32(50).string(message.creator);
|
|
772
|
+
}
|
|
773
|
+
if (message.transferChannelId !== '') {
|
|
774
|
+
writer.uint32(82).string(message.transferChannelId);
|
|
775
|
+
}
|
|
776
|
+
if (message.unbondingPeriod !== BigInt(0)) {
|
|
777
|
+
writer.uint32(88).uint64(message.unbondingPeriod);
|
|
778
|
+
}
|
|
779
|
+
if (message.minRedemptionRate !== '') {
|
|
780
|
+
writer
|
|
781
|
+
.uint32(106)
|
|
782
|
+
.string(Decimal.fromUserInput(message.minRedemptionRate, 18).atomics);
|
|
783
|
+
}
|
|
784
|
+
if (message.maxRedemptionRate !== '') {
|
|
785
|
+
writer
|
|
786
|
+
.uint32(114)
|
|
787
|
+
.string(Decimal.fromUserInput(message.maxRedemptionRate, 18).atomics);
|
|
788
|
+
}
|
|
789
|
+
if (message.lsmLiquidStakeEnabled === true) {
|
|
790
|
+
writer.uint32(120).bool(message.lsmLiquidStakeEnabled);
|
|
791
|
+
}
|
|
792
|
+
if (message.communityPoolTreasuryAddress !== '') {
|
|
793
|
+
writer.uint32(130).string(message.communityPoolTreasuryAddress);
|
|
794
|
+
}
|
|
795
|
+
if (message.maxMessagesPerIcaTx !== BigInt(0)) {
|
|
796
|
+
writer.uint32(136).uint64(message.maxMessagesPerIcaTx);
|
|
797
|
+
}
|
|
798
|
+
return writer;
|
|
799
|
+
},
|
|
800
|
+
decode(input, length) {
|
|
801
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
802
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
803
|
+
const message = createBaseMsgRegisterHostZone();
|
|
804
|
+
while (reader.pos < end) {
|
|
805
|
+
const tag = reader.uint32();
|
|
806
|
+
switch (tag >>> 3) {
|
|
807
|
+
case 2:
|
|
808
|
+
message.connectionId = reader.string();
|
|
809
|
+
break;
|
|
810
|
+
case 12:
|
|
811
|
+
message.bech32prefix = reader.string();
|
|
812
|
+
break;
|
|
813
|
+
case 4:
|
|
814
|
+
message.hostDenom = reader.string();
|
|
815
|
+
break;
|
|
816
|
+
case 5:
|
|
817
|
+
message.ibcDenom = reader.string();
|
|
818
|
+
break;
|
|
819
|
+
case 6:
|
|
820
|
+
message.creator = reader.string();
|
|
821
|
+
break;
|
|
822
|
+
case 10:
|
|
823
|
+
message.transferChannelId = reader.string();
|
|
824
|
+
break;
|
|
825
|
+
case 11:
|
|
826
|
+
message.unbondingPeriod = reader.uint64();
|
|
827
|
+
break;
|
|
828
|
+
case 13:
|
|
829
|
+
message.minRedemptionRate = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
830
|
+
break;
|
|
831
|
+
case 14:
|
|
832
|
+
message.maxRedemptionRate = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
833
|
+
break;
|
|
834
|
+
case 15:
|
|
835
|
+
message.lsmLiquidStakeEnabled = reader.bool();
|
|
836
|
+
break;
|
|
837
|
+
case 16:
|
|
838
|
+
message.communityPoolTreasuryAddress = reader.string();
|
|
839
|
+
break;
|
|
840
|
+
case 17:
|
|
841
|
+
message.maxMessagesPerIcaTx = reader.uint64();
|
|
842
|
+
break;
|
|
843
|
+
default:
|
|
844
|
+
reader.skipType(tag & 7);
|
|
845
|
+
break;
|
|
846
|
+
}
|
|
847
|
+
}
|
|
848
|
+
return message;
|
|
849
|
+
},
|
|
850
|
+
fromJSON(object) {
|
|
851
|
+
return {
|
|
852
|
+
connectionId: isSet(object.connectionId)
|
|
853
|
+
? String(object.connectionId)
|
|
854
|
+
: '',
|
|
855
|
+
bech32prefix: isSet(object.bech32prefix)
|
|
856
|
+
? String(object.bech32prefix)
|
|
857
|
+
: '',
|
|
858
|
+
hostDenom: isSet(object.hostDenom) ? String(object.hostDenom) : '',
|
|
859
|
+
ibcDenom: isSet(object.ibcDenom) ? String(object.ibcDenom) : '',
|
|
860
|
+
creator: isSet(object.creator) ? String(object.creator) : '',
|
|
861
|
+
transferChannelId: isSet(object.transferChannelId)
|
|
862
|
+
? String(object.transferChannelId)
|
|
863
|
+
: '',
|
|
864
|
+
unbondingPeriod: isSet(object.unbondingPeriod)
|
|
865
|
+
? BigInt(object.unbondingPeriod.toString())
|
|
866
|
+
: BigInt(0),
|
|
867
|
+
minRedemptionRate: isSet(object.minRedemptionRate)
|
|
868
|
+
? String(object.minRedemptionRate)
|
|
869
|
+
: '',
|
|
870
|
+
maxRedemptionRate: isSet(object.maxRedemptionRate)
|
|
871
|
+
? String(object.maxRedemptionRate)
|
|
872
|
+
: '',
|
|
873
|
+
lsmLiquidStakeEnabled: isSet(object.lsmLiquidStakeEnabled)
|
|
874
|
+
? Boolean(object.lsmLiquidStakeEnabled)
|
|
875
|
+
: false,
|
|
876
|
+
communityPoolTreasuryAddress: isSet(object.communityPoolTreasuryAddress)
|
|
877
|
+
? String(object.communityPoolTreasuryAddress)
|
|
878
|
+
: '',
|
|
879
|
+
maxMessagesPerIcaTx: isSet(object.maxMessagesPerIcaTx)
|
|
880
|
+
? BigInt(object.maxMessagesPerIcaTx.toString())
|
|
881
|
+
: BigInt(0),
|
|
882
|
+
};
|
|
883
|
+
},
|
|
884
|
+
toJSON(message) {
|
|
885
|
+
const obj = {};
|
|
886
|
+
message.connectionId !== undefined &&
|
|
887
|
+
(obj.connectionId = message.connectionId);
|
|
888
|
+
message.bech32prefix !== undefined &&
|
|
889
|
+
(obj.bech32prefix = message.bech32prefix);
|
|
890
|
+
message.hostDenom !== undefined && (obj.hostDenom = message.hostDenom);
|
|
891
|
+
message.ibcDenom !== undefined && (obj.ibcDenom = message.ibcDenom);
|
|
892
|
+
message.creator !== undefined && (obj.creator = message.creator);
|
|
893
|
+
message.transferChannelId !== undefined &&
|
|
894
|
+
(obj.transferChannelId = message.transferChannelId);
|
|
895
|
+
message.unbondingPeriod !== undefined &&
|
|
896
|
+
(obj.unbondingPeriod = (message.unbondingPeriod || BigInt(0)).toString());
|
|
897
|
+
message.minRedemptionRate !== undefined &&
|
|
898
|
+
(obj.minRedemptionRate = message.minRedemptionRate);
|
|
899
|
+
message.maxRedemptionRate !== undefined &&
|
|
900
|
+
(obj.maxRedemptionRate = message.maxRedemptionRate);
|
|
901
|
+
message.lsmLiquidStakeEnabled !== undefined &&
|
|
902
|
+
(obj.lsmLiquidStakeEnabled = message.lsmLiquidStakeEnabled);
|
|
903
|
+
message.communityPoolTreasuryAddress !== undefined &&
|
|
904
|
+
(obj.communityPoolTreasuryAddress = message.communityPoolTreasuryAddress);
|
|
905
|
+
message.maxMessagesPerIcaTx !== undefined &&
|
|
906
|
+
(obj.maxMessagesPerIcaTx = (message.maxMessagesPerIcaTx || BigInt(0)).toString());
|
|
907
|
+
return obj;
|
|
908
|
+
},
|
|
909
|
+
fromPartial(object) {
|
|
910
|
+
const message = createBaseMsgRegisterHostZone();
|
|
911
|
+
message.connectionId = object.connectionId ?? '';
|
|
912
|
+
message.bech32prefix = object.bech32prefix ?? '';
|
|
913
|
+
message.hostDenom = object.hostDenom ?? '';
|
|
914
|
+
message.ibcDenom = object.ibcDenom ?? '';
|
|
915
|
+
message.creator = object.creator ?? '';
|
|
916
|
+
message.transferChannelId = object.transferChannelId ?? '';
|
|
917
|
+
message.unbondingPeriod =
|
|
918
|
+
object.unbondingPeriod !== undefined && object.unbondingPeriod !== null
|
|
919
|
+
? BigInt(object.unbondingPeriod.toString())
|
|
920
|
+
: BigInt(0);
|
|
921
|
+
message.minRedemptionRate = object.minRedemptionRate ?? '';
|
|
922
|
+
message.maxRedemptionRate = object.maxRedemptionRate ?? '';
|
|
923
|
+
message.lsmLiquidStakeEnabled = object.lsmLiquidStakeEnabled ?? false;
|
|
924
|
+
message.communityPoolTreasuryAddress =
|
|
925
|
+
object.communityPoolTreasuryAddress ?? '';
|
|
926
|
+
message.maxMessagesPerIcaTx =
|
|
927
|
+
object.maxMessagesPerIcaTx !== undefined &&
|
|
928
|
+
object.maxMessagesPerIcaTx !== null
|
|
929
|
+
? BigInt(object.maxMessagesPerIcaTx.toString())
|
|
930
|
+
: BigInt(0);
|
|
931
|
+
return message;
|
|
932
|
+
},
|
|
933
|
+
fromProtoMsg(message) {
|
|
934
|
+
return MsgRegisterHostZone.decode(message.value);
|
|
935
|
+
},
|
|
936
|
+
toProto(message) {
|
|
937
|
+
return MsgRegisterHostZone.encode(message).finish();
|
|
938
|
+
},
|
|
939
|
+
toProtoMsg(message) {
|
|
940
|
+
return {
|
|
941
|
+
typeUrl: '/stride.stakeibc.MsgRegisterHostZone',
|
|
942
|
+
value: MsgRegisterHostZone.encode(message).finish(),
|
|
943
|
+
};
|
|
944
|
+
},
|
|
945
|
+
};
|
|
946
|
+
function createBaseMsgRegisterHostZoneResponse() {
|
|
947
|
+
return {};
|
|
948
|
+
}
|
|
949
|
+
export const MsgRegisterHostZoneResponse = {
|
|
950
|
+
typeUrl: '/stride.stakeibc.MsgRegisterHostZoneResponse',
|
|
951
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
952
|
+
return writer;
|
|
953
|
+
},
|
|
954
|
+
decode(input, length) {
|
|
955
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
956
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
957
|
+
const message = createBaseMsgRegisterHostZoneResponse();
|
|
958
|
+
while (reader.pos < end) {
|
|
959
|
+
const tag = reader.uint32();
|
|
960
|
+
switch (tag >>> 3) {
|
|
961
|
+
default:
|
|
962
|
+
reader.skipType(tag & 7);
|
|
963
|
+
break;
|
|
964
|
+
}
|
|
965
|
+
}
|
|
966
|
+
return message;
|
|
967
|
+
},
|
|
968
|
+
fromJSON(_) {
|
|
969
|
+
return {};
|
|
970
|
+
},
|
|
971
|
+
toJSON(_) {
|
|
972
|
+
const obj = {};
|
|
973
|
+
return obj;
|
|
974
|
+
},
|
|
975
|
+
fromPartial(_) {
|
|
976
|
+
const message = createBaseMsgRegisterHostZoneResponse();
|
|
977
|
+
return message;
|
|
978
|
+
},
|
|
979
|
+
fromProtoMsg(message) {
|
|
980
|
+
return MsgRegisterHostZoneResponse.decode(message.value);
|
|
981
|
+
},
|
|
982
|
+
toProto(message) {
|
|
983
|
+
return MsgRegisterHostZoneResponse.encode(message).finish();
|
|
984
|
+
},
|
|
985
|
+
toProtoMsg(message) {
|
|
986
|
+
return {
|
|
987
|
+
typeUrl: '/stride.stakeibc.MsgRegisterHostZoneResponse',
|
|
988
|
+
value: MsgRegisterHostZoneResponse.encode(message).finish(),
|
|
989
|
+
};
|
|
990
|
+
},
|
|
991
|
+
};
|
|
992
|
+
function createBaseMsgClaimUndelegatedTokens() {
|
|
993
|
+
return {
|
|
994
|
+
creator: '',
|
|
995
|
+
hostZoneId: '',
|
|
996
|
+
epoch: BigInt(0),
|
|
997
|
+
receiver: '',
|
|
998
|
+
};
|
|
999
|
+
}
|
|
1000
|
+
export const MsgClaimUndelegatedTokens = {
|
|
1001
|
+
typeUrl: '/stride.stakeibc.MsgClaimUndelegatedTokens',
|
|
1002
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
1003
|
+
if (message.creator !== '') {
|
|
1004
|
+
writer.uint32(10).string(message.creator);
|
|
1005
|
+
}
|
|
1006
|
+
if (message.hostZoneId !== '') {
|
|
1007
|
+
writer.uint32(18).string(message.hostZoneId);
|
|
1008
|
+
}
|
|
1009
|
+
if (message.epoch !== BigInt(0)) {
|
|
1010
|
+
writer.uint32(24).uint64(message.epoch);
|
|
1011
|
+
}
|
|
1012
|
+
if (message.receiver !== '') {
|
|
1013
|
+
writer.uint32(42).string(message.receiver);
|
|
1014
|
+
}
|
|
1015
|
+
return writer;
|
|
1016
|
+
},
|
|
1017
|
+
decode(input, length) {
|
|
1018
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1019
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1020
|
+
const message = createBaseMsgClaimUndelegatedTokens();
|
|
1021
|
+
while (reader.pos < end) {
|
|
1022
|
+
const tag = reader.uint32();
|
|
1023
|
+
switch (tag >>> 3) {
|
|
1024
|
+
case 1:
|
|
1025
|
+
message.creator = reader.string();
|
|
1026
|
+
break;
|
|
1027
|
+
case 2:
|
|
1028
|
+
message.hostZoneId = reader.string();
|
|
1029
|
+
break;
|
|
1030
|
+
case 3:
|
|
1031
|
+
message.epoch = reader.uint64();
|
|
1032
|
+
break;
|
|
1033
|
+
case 5:
|
|
1034
|
+
message.receiver = reader.string();
|
|
1035
|
+
break;
|
|
1036
|
+
default:
|
|
1037
|
+
reader.skipType(tag & 7);
|
|
1038
|
+
break;
|
|
1039
|
+
}
|
|
1040
|
+
}
|
|
1041
|
+
return message;
|
|
1042
|
+
},
|
|
1043
|
+
fromJSON(object) {
|
|
1044
|
+
return {
|
|
1045
|
+
creator: isSet(object.creator) ? String(object.creator) : '',
|
|
1046
|
+
hostZoneId: isSet(object.hostZoneId) ? String(object.hostZoneId) : '',
|
|
1047
|
+
epoch: isSet(object.epoch) ? BigInt(object.epoch.toString()) : BigInt(0),
|
|
1048
|
+
receiver: isSet(object.receiver) ? String(object.receiver) : '',
|
|
1049
|
+
};
|
|
1050
|
+
},
|
|
1051
|
+
toJSON(message) {
|
|
1052
|
+
const obj = {};
|
|
1053
|
+
message.creator !== undefined && (obj.creator = message.creator);
|
|
1054
|
+
message.hostZoneId !== undefined && (obj.hostZoneId = message.hostZoneId);
|
|
1055
|
+
message.epoch !== undefined &&
|
|
1056
|
+
(obj.epoch = (message.epoch || BigInt(0)).toString());
|
|
1057
|
+
message.receiver !== undefined && (obj.receiver = message.receiver);
|
|
1058
|
+
return obj;
|
|
1059
|
+
},
|
|
1060
|
+
fromPartial(object) {
|
|
1061
|
+
const message = createBaseMsgClaimUndelegatedTokens();
|
|
1062
|
+
message.creator = object.creator ?? '';
|
|
1063
|
+
message.hostZoneId = object.hostZoneId ?? '';
|
|
1064
|
+
message.epoch =
|
|
1065
|
+
object.epoch !== undefined && object.epoch !== null
|
|
1066
|
+
? BigInt(object.epoch.toString())
|
|
1067
|
+
: BigInt(0);
|
|
1068
|
+
message.receiver = object.receiver ?? '';
|
|
1069
|
+
return message;
|
|
1070
|
+
},
|
|
1071
|
+
fromProtoMsg(message) {
|
|
1072
|
+
return MsgClaimUndelegatedTokens.decode(message.value);
|
|
1073
|
+
},
|
|
1074
|
+
toProto(message) {
|
|
1075
|
+
return MsgClaimUndelegatedTokens.encode(message).finish();
|
|
1076
|
+
},
|
|
1077
|
+
toProtoMsg(message) {
|
|
1078
|
+
return {
|
|
1079
|
+
typeUrl: '/stride.stakeibc.MsgClaimUndelegatedTokens',
|
|
1080
|
+
value: MsgClaimUndelegatedTokens.encode(message).finish(),
|
|
1081
|
+
};
|
|
1082
|
+
},
|
|
1083
|
+
};
|
|
1084
|
+
function createBaseMsgClaimUndelegatedTokensResponse() {
|
|
1085
|
+
return {};
|
|
1086
|
+
}
|
|
1087
|
+
export const MsgClaimUndelegatedTokensResponse = {
|
|
1088
|
+
typeUrl: '/stride.stakeibc.MsgClaimUndelegatedTokensResponse',
|
|
1089
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
1090
|
+
return writer;
|
|
1091
|
+
},
|
|
1092
|
+
decode(input, length) {
|
|
1093
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1094
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1095
|
+
const message = createBaseMsgClaimUndelegatedTokensResponse();
|
|
1096
|
+
while (reader.pos < end) {
|
|
1097
|
+
const tag = reader.uint32();
|
|
1098
|
+
switch (tag >>> 3) {
|
|
1099
|
+
default:
|
|
1100
|
+
reader.skipType(tag & 7);
|
|
1101
|
+
break;
|
|
1102
|
+
}
|
|
1103
|
+
}
|
|
1104
|
+
return message;
|
|
1105
|
+
},
|
|
1106
|
+
fromJSON(_) {
|
|
1107
|
+
return {};
|
|
1108
|
+
},
|
|
1109
|
+
toJSON(_) {
|
|
1110
|
+
const obj = {};
|
|
1111
|
+
return obj;
|
|
1112
|
+
},
|
|
1113
|
+
fromPartial(_) {
|
|
1114
|
+
const message = createBaseMsgClaimUndelegatedTokensResponse();
|
|
1115
|
+
return message;
|
|
1116
|
+
},
|
|
1117
|
+
fromProtoMsg(message) {
|
|
1118
|
+
return MsgClaimUndelegatedTokensResponse.decode(message.value);
|
|
1119
|
+
},
|
|
1120
|
+
toProto(message) {
|
|
1121
|
+
return MsgClaimUndelegatedTokensResponse.encode(message).finish();
|
|
1122
|
+
},
|
|
1123
|
+
toProtoMsg(message) {
|
|
1124
|
+
return {
|
|
1125
|
+
typeUrl: '/stride.stakeibc.MsgClaimUndelegatedTokensResponse',
|
|
1126
|
+
value: MsgClaimUndelegatedTokensResponse.encode(message).finish(),
|
|
1127
|
+
};
|
|
1128
|
+
},
|
|
1129
|
+
};
|
|
1130
|
+
function createBaseMsgRebalanceValidators() {
|
|
1131
|
+
return {
|
|
1132
|
+
creator: '',
|
|
1133
|
+
hostZone: '',
|
|
1134
|
+
numRebalance: BigInt(0),
|
|
1135
|
+
};
|
|
1136
|
+
}
|
|
1137
|
+
export const MsgRebalanceValidators = {
|
|
1138
|
+
typeUrl: '/stride.stakeibc.MsgRebalanceValidators',
|
|
1139
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
1140
|
+
if (message.creator !== '') {
|
|
1141
|
+
writer.uint32(10).string(message.creator);
|
|
1142
|
+
}
|
|
1143
|
+
if (message.hostZone !== '') {
|
|
1144
|
+
writer.uint32(18).string(message.hostZone);
|
|
1145
|
+
}
|
|
1146
|
+
if (message.numRebalance !== BigInt(0)) {
|
|
1147
|
+
writer.uint32(24).uint64(message.numRebalance);
|
|
1148
|
+
}
|
|
1149
|
+
return writer;
|
|
1150
|
+
},
|
|
1151
|
+
decode(input, length) {
|
|
1152
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1153
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1154
|
+
const message = createBaseMsgRebalanceValidators();
|
|
1155
|
+
while (reader.pos < end) {
|
|
1156
|
+
const tag = reader.uint32();
|
|
1157
|
+
switch (tag >>> 3) {
|
|
1158
|
+
case 1:
|
|
1159
|
+
message.creator = reader.string();
|
|
1160
|
+
break;
|
|
1161
|
+
case 2:
|
|
1162
|
+
message.hostZone = reader.string();
|
|
1163
|
+
break;
|
|
1164
|
+
case 3:
|
|
1165
|
+
message.numRebalance = reader.uint64();
|
|
1166
|
+
break;
|
|
1167
|
+
default:
|
|
1168
|
+
reader.skipType(tag & 7);
|
|
1169
|
+
break;
|
|
1170
|
+
}
|
|
1171
|
+
}
|
|
1172
|
+
return message;
|
|
1173
|
+
},
|
|
1174
|
+
fromJSON(object) {
|
|
1175
|
+
return {
|
|
1176
|
+
creator: isSet(object.creator) ? String(object.creator) : '',
|
|
1177
|
+
hostZone: isSet(object.hostZone) ? String(object.hostZone) : '',
|
|
1178
|
+
numRebalance: isSet(object.numRebalance)
|
|
1179
|
+
? BigInt(object.numRebalance.toString())
|
|
1180
|
+
: BigInt(0),
|
|
1181
|
+
};
|
|
1182
|
+
},
|
|
1183
|
+
toJSON(message) {
|
|
1184
|
+
const obj = {};
|
|
1185
|
+
message.creator !== undefined && (obj.creator = message.creator);
|
|
1186
|
+
message.hostZone !== undefined && (obj.hostZone = message.hostZone);
|
|
1187
|
+
message.numRebalance !== undefined &&
|
|
1188
|
+
(obj.numRebalance = (message.numRebalance || BigInt(0)).toString());
|
|
1189
|
+
return obj;
|
|
1190
|
+
},
|
|
1191
|
+
fromPartial(object) {
|
|
1192
|
+
const message = createBaseMsgRebalanceValidators();
|
|
1193
|
+
message.creator = object.creator ?? '';
|
|
1194
|
+
message.hostZone = object.hostZone ?? '';
|
|
1195
|
+
message.numRebalance =
|
|
1196
|
+
object.numRebalance !== undefined && object.numRebalance !== null
|
|
1197
|
+
? BigInt(object.numRebalance.toString())
|
|
1198
|
+
: BigInt(0);
|
|
1199
|
+
return message;
|
|
1200
|
+
},
|
|
1201
|
+
fromProtoMsg(message) {
|
|
1202
|
+
return MsgRebalanceValidators.decode(message.value);
|
|
1203
|
+
},
|
|
1204
|
+
toProto(message) {
|
|
1205
|
+
return MsgRebalanceValidators.encode(message).finish();
|
|
1206
|
+
},
|
|
1207
|
+
toProtoMsg(message) {
|
|
1208
|
+
return {
|
|
1209
|
+
typeUrl: '/stride.stakeibc.MsgRebalanceValidators',
|
|
1210
|
+
value: MsgRebalanceValidators.encode(message).finish(),
|
|
1211
|
+
};
|
|
1212
|
+
},
|
|
1213
|
+
};
|
|
1214
|
+
function createBaseMsgRebalanceValidatorsResponse() {
|
|
1215
|
+
return {};
|
|
1216
|
+
}
|
|
1217
|
+
export const MsgRebalanceValidatorsResponse = {
|
|
1218
|
+
typeUrl: '/stride.stakeibc.MsgRebalanceValidatorsResponse',
|
|
1219
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
1220
|
+
return writer;
|
|
1221
|
+
},
|
|
1222
|
+
decode(input, length) {
|
|
1223
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1224
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1225
|
+
const message = createBaseMsgRebalanceValidatorsResponse();
|
|
1226
|
+
while (reader.pos < end) {
|
|
1227
|
+
const tag = reader.uint32();
|
|
1228
|
+
switch (tag >>> 3) {
|
|
1229
|
+
default:
|
|
1230
|
+
reader.skipType(tag & 7);
|
|
1231
|
+
break;
|
|
1232
|
+
}
|
|
1233
|
+
}
|
|
1234
|
+
return message;
|
|
1235
|
+
},
|
|
1236
|
+
fromJSON(_) {
|
|
1237
|
+
return {};
|
|
1238
|
+
},
|
|
1239
|
+
toJSON(_) {
|
|
1240
|
+
const obj = {};
|
|
1241
|
+
return obj;
|
|
1242
|
+
},
|
|
1243
|
+
fromPartial(_) {
|
|
1244
|
+
const message = createBaseMsgRebalanceValidatorsResponse();
|
|
1245
|
+
return message;
|
|
1246
|
+
},
|
|
1247
|
+
fromProtoMsg(message) {
|
|
1248
|
+
return MsgRebalanceValidatorsResponse.decode(message.value);
|
|
1249
|
+
},
|
|
1250
|
+
toProto(message) {
|
|
1251
|
+
return MsgRebalanceValidatorsResponse.encode(message).finish();
|
|
1252
|
+
},
|
|
1253
|
+
toProtoMsg(message) {
|
|
1254
|
+
return {
|
|
1255
|
+
typeUrl: '/stride.stakeibc.MsgRebalanceValidatorsResponse',
|
|
1256
|
+
value: MsgRebalanceValidatorsResponse.encode(message).finish(),
|
|
1257
|
+
};
|
|
1258
|
+
},
|
|
1259
|
+
};
|
|
1260
|
+
function createBaseMsgAddValidators() {
|
|
1261
|
+
return {
|
|
1262
|
+
creator: '',
|
|
1263
|
+
hostZone: '',
|
|
1264
|
+
validators: [],
|
|
1265
|
+
};
|
|
1266
|
+
}
|
|
1267
|
+
export const MsgAddValidators = {
|
|
1268
|
+
typeUrl: '/stride.stakeibc.MsgAddValidators',
|
|
1269
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
1270
|
+
if (message.creator !== '') {
|
|
1271
|
+
writer.uint32(10).string(message.creator);
|
|
1272
|
+
}
|
|
1273
|
+
if (message.hostZone !== '') {
|
|
1274
|
+
writer.uint32(18).string(message.hostZone);
|
|
1275
|
+
}
|
|
1276
|
+
for (const v of message.validators) {
|
|
1277
|
+
Validator.encode(v, writer.uint32(26).fork()).ldelim();
|
|
1278
|
+
}
|
|
1279
|
+
return writer;
|
|
1280
|
+
},
|
|
1281
|
+
decode(input, length) {
|
|
1282
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1283
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1284
|
+
const message = createBaseMsgAddValidators();
|
|
1285
|
+
while (reader.pos < end) {
|
|
1286
|
+
const tag = reader.uint32();
|
|
1287
|
+
switch (tag >>> 3) {
|
|
1288
|
+
case 1:
|
|
1289
|
+
message.creator = reader.string();
|
|
1290
|
+
break;
|
|
1291
|
+
case 2:
|
|
1292
|
+
message.hostZone = reader.string();
|
|
1293
|
+
break;
|
|
1294
|
+
case 3:
|
|
1295
|
+
message.validators.push(Validator.decode(reader, reader.uint32()));
|
|
1296
|
+
break;
|
|
1297
|
+
default:
|
|
1298
|
+
reader.skipType(tag & 7);
|
|
1299
|
+
break;
|
|
1300
|
+
}
|
|
1301
|
+
}
|
|
1302
|
+
return message;
|
|
1303
|
+
},
|
|
1304
|
+
fromJSON(object) {
|
|
1305
|
+
return {
|
|
1306
|
+
creator: isSet(object.creator) ? String(object.creator) : '',
|
|
1307
|
+
hostZone: isSet(object.hostZone) ? String(object.hostZone) : '',
|
|
1308
|
+
validators: Array.isArray(object?.validators)
|
|
1309
|
+
? object.validators.map((e) => Validator.fromJSON(e))
|
|
1310
|
+
: [],
|
|
1311
|
+
};
|
|
1312
|
+
},
|
|
1313
|
+
toJSON(message) {
|
|
1314
|
+
const obj = {};
|
|
1315
|
+
message.creator !== undefined && (obj.creator = message.creator);
|
|
1316
|
+
message.hostZone !== undefined && (obj.hostZone = message.hostZone);
|
|
1317
|
+
if (message.validators) {
|
|
1318
|
+
obj.validators = message.validators.map(e => e ? Validator.toJSON(e) : undefined);
|
|
1319
|
+
}
|
|
1320
|
+
else {
|
|
1321
|
+
obj.validators = [];
|
|
1322
|
+
}
|
|
1323
|
+
return obj;
|
|
1324
|
+
},
|
|
1325
|
+
fromPartial(object) {
|
|
1326
|
+
const message = createBaseMsgAddValidators();
|
|
1327
|
+
message.creator = object.creator ?? '';
|
|
1328
|
+
message.hostZone = object.hostZone ?? '';
|
|
1329
|
+
message.validators =
|
|
1330
|
+
object.validators?.map(e => Validator.fromPartial(e)) || [];
|
|
1331
|
+
return message;
|
|
1332
|
+
},
|
|
1333
|
+
fromProtoMsg(message) {
|
|
1334
|
+
return MsgAddValidators.decode(message.value);
|
|
1335
|
+
},
|
|
1336
|
+
toProto(message) {
|
|
1337
|
+
return MsgAddValidators.encode(message).finish();
|
|
1338
|
+
},
|
|
1339
|
+
toProtoMsg(message) {
|
|
1340
|
+
return {
|
|
1341
|
+
typeUrl: '/stride.stakeibc.MsgAddValidators',
|
|
1342
|
+
value: MsgAddValidators.encode(message).finish(),
|
|
1343
|
+
};
|
|
1344
|
+
},
|
|
1345
|
+
};
|
|
1346
|
+
function createBaseMsgAddValidatorsResponse() {
|
|
1347
|
+
return {};
|
|
1348
|
+
}
|
|
1349
|
+
export const MsgAddValidatorsResponse = {
|
|
1350
|
+
typeUrl: '/stride.stakeibc.MsgAddValidatorsResponse',
|
|
1351
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
1352
|
+
return writer;
|
|
1353
|
+
},
|
|
1354
|
+
decode(input, length) {
|
|
1355
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1356
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1357
|
+
const message = createBaseMsgAddValidatorsResponse();
|
|
1358
|
+
while (reader.pos < end) {
|
|
1359
|
+
const tag = reader.uint32();
|
|
1360
|
+
switch (tag >>> 3) {
|
|
1361
|
+
default:
|
|
1362
|
+
reader.skipType(tag & 7);
|
|
1363
|
+
break;
|
|
1364
|
+
}
|
|
1365
|
+
}
|
|
1366
|
+
return message;
|
|
1367
|
+
},
|
|
1368
|
+
fromJSON(_) {
|
|
1369
|
+
return {};
|
|
1370
|
+
},
|
|
1371
|
+
toJSON(_) {
|
|
1372
|
+
const obj = {};
|
|
1373
|
+
return obj;
|
|
1374
|
+
},
|
|
1375
|
+
fromPartial(_) {
|
|
1376
|
+
const message = createBaseMsgAddValidatorsResponse();
|
|
1377
|
+
return message;
|
|
1378
|
+
},
|
|
1379
|
+
fromProtoMsg(message) {
|
|
1380
|
+
return MsgAddValidatorsResponse.decode(message.value);
|
|
1381
|
+
},
|
|
1382
|
+
toProto(message) {
|
|
1383
|
+
return MsgAddValidatorsResponse.encode(message).finish();
|
|
1384
|
+
},
|
|
1385
|
+
toProtoMsg(message) {
|
|
1386
|
+
return {
|
|
1387
|
+
typeUrl: '/stride.stakeibc.MsgAddValidatorsResponse',
|
|
1388
|
+
value: MsgAddValidatorsResponse.encode(message).finish(),
|
|
1389
|
+
};
|
|
1390
|
+
},
|
|
1391
|
+
};
|
|
1392
|
+
function createBaseValidatorWeight() {
|
|
1393
|
+
return {
|
|
1394
|
+
address: '',
|
|
1395
|
+
weight: BigInt(0),
|
|
1396
|
+
};
|
|
1397
|
+
}
|
|
1398
|
+
export const ValidatorWeight = {
|
|
1399
|
+
typeUrl: '/stride.stakeibc.ValidatorWeight',
|
|
1400
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
1401
|
+
if (message.address !== '') {
|
|
1402
|
+
writer.uint32(10).string(message.address);
|
|
1403
|
+
}
|
|
1404
|
+
if (message.weight !== BigInt(0)) {
|
|
1405
|
+
writer.uint32(16).uint64(message.weight);
|
|
1406
|
+
}
|
|
1407
|
+
return writer;
|
|
1408
|
+
},
|
|
1409
|
+
decode(input, length) {
|
|
1410
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1411
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1412
|
+
const message = createBaseValidatorWeight();
|
|
1413
|
+
while (reader.pos < end) {
|
|
1414
|
+
const tag = reader.uint32();
|
|
1415
|
+
switch (tag >>> 3) {
|
|
1416
|
+
case 1:
|
|
1417
|
+
message.address = reader.string();
|
|
1418
|
+
break;
|
|
1419
|
+
case 2:
|
|
1420
|
+
message.weight = reader.uint64();
|
|
1421
|
+
break;
|
|
1422
|
+
default:
|
|
1423
|
+
reader.skipType(tag & 7);
|
|
1424
|
+
break;
|
|
1425
|
+
}
|
|
1426
|
+
}
|
|
1427
|
+
return message;
|
|
1428
|
+
},
|
|
1429
|
+
fromJSON(object) {
|
|
1430
|
+
return {
|
|
1431
|
+
address: isSet(object.address) ? String(object.address) : '',
|
|
1432
|
+
weight: isSet(object.weight)
|
|
1433
|
+
? BigInt(object.weight.toString())
|
|
1434
|
+
: BigInt(0),
|
|
1435
|
+
};
|
|
1436
|
+
},
|
|
1437
|
+
toJSON(message) {
|
|
1438
|
+
const obj = {};
|
|
1439
|
+
message.address !== undefined && (obj.address = message.address);
|
|
1440
|
+
message.weight !== undefined &&
|
|
1441
|
+
(obj.weight = (message.weight || BigInt(0)).toString());
|
|
1442
|
+
return obj;
|
|
1443
|
+
},
|
|
1444
|
+
fromPartial(object) {
|
|
1445
|
+
const message = createBaseValidatorWeight();
|
|
1446
|
+
message.address = object.address ?? '';
|
|
1447
|
+
message.weight =
|
|
1448
|
+
object.weight !== undefined && object.weight !== null
|
|
1449
|
+
? BigInt(object.weight.toString())
|
|
1450
|
+
: BigInt(0);
|
|
1451
|
+
return message;
|
|
1452
|
+
},
|
|
1453
|
+
fromProtoMsg(message) {
|
|
1454
|
+
return ValidatorWeight.decode(message.value);
|
|
1455
|
+
},
|
|
1456
|
+
toProto(message) {
|
|
1457
|
+
return ValidatorWeight.encode(message).finish();
|
|
1458
|
+
},
|
|
1459
|
+
toProtoMsg(message) {
|
|
1460
|
+
return {
|
|
1461
|
+
typeUrl: '/stride.stakeibc.ValidatorWeight',
|
|
1462
|
+
value: ValidatorWeight.encode(message).finish(),
|
|
1463
|
+
};
|
|
1464
|
+
},
|
|
1465
|
+
};
|
|
1466
|
+
function createBaseMsgChangeValidatorWeights() {
|
|
1467
|
+
return {
|
|
1468
|
+
creator: '',
|
|
1469
|
+
hostZone: '',
|
|
1470
|
+
validatorWeights: [],
|
|
1471
|
+
};
|
|
1472
|
+
}
|
|
1473
|
+
export const MsgChangeValidatorWeights = {
|
|
1474
|
+
typeUrl: '/stride.stakeibc.MsgChangeValidatorWeights',
|
|
1475
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
1476
|
+
if (message.creator !== '') {
|
|
1477
|
+
writer.uint32(10).string(message.creator);
|
|
1478
|
+
}
|
|
1479
|
+
if (message.hostZone !== '') {
|
|
1480
|
+
writer.uint32(18).string(message.hostZone);
|
|
1481
|
+
}
|
|
1482
|
+
for (const v of message.validatorWeights) {
|
|
1483
|
+
ValidatorWeight.encode(v, writer.uint32(26).fork()).ldelim();
|
|
1484
|
+
}
|
|
1485
|
+
return writer;
|
|
1486
|
+
},
|
|
1487
|
+
decode(input, length) {
|
|
1488
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1489
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1490
|
+
const message = createBaseMsgChangeValidatorWeights();
|
|
1491
|
+
while (reader.pos < end) {
|
|
1492
|
+
const tag = reader.uint32();
|
|
1493
|
+
switch (tag >>> 3) {
|
|
1494
|
+
case 1:
|
|
1495
|
+
message.creator = reader.string();
|
|
1496
|
+
break;
|
|
1497
|
+
case 2:
|
|
1498
|
+
message.hostZone = reader.string();
|
|
1499
|
+
break;
|
|
1500
|
+
case 3:
|
|
1501
|
+
message.validatorWeights.push(ValidatorWeight.decode(reader, reader.uint32()));
|
|
1502
|
+
break;
|
|
1503
|
+
default:
|
|
1504
|
+
reader.skipType(tag & 7);
|
|
1505
|
+
break;
|
|
1506
|
+
}
|
|
1507
|
+
}
|
|
1508
|
+
return message;
|
|
1509
|
+
},
|
|
1510
|
+
fromJSON(object) {
|
|
1511
|
+
return {
|
|
1512
|
+
creator: isSet(object.creator) ? String(object.creator) : '',
|
|
1513
|
+
hostZone: isSet(object.hostZone) ? String(object.hostZone) : '',
|
|
1514
|
+
validatorWeights: Array.isArray(object?.validatorWeights)
|
|
1515
|
+
? object.validatorWeights.map((e) => ValidatorWeight.fromJSON(e))
|
|
1516
|
+
: [],
|
|
1517
|
+
};
|
|
1518
|
+
},
|
|
1519
|
+
toJSON(message) {
|
|
1520
|
+
const obj = {};
|
|
1521
|
+
message.creator !== undefined && (obj.creator = message.creator);
|
|
1522
|
+
message.hostZone !== undefined && (obj.hostZone = message.hostZone);
|
|
1523
|
+
if (message.validatorWeights) {
|
|
1524
|
+
obj.validatorWeights = message.validatorWeights.map(e => e ? ValidatorWeight.toJSON(e) : undefined);
|
|
1525
|
+
}
|
|
1526
|
+
else {
|
|
1527
|
+
obj.validatorWeights = [];
|
|
1528
|
+
}
|
|
1529
|
+
return obj;
|
|
1530
|
+
},
|
|
1531
|
+
fromPartial(object) {
|
|
1532
|
+
const message = createBaseMsgChangeValidatorWeights();
|
|
1533
|
+
message.creator = object.creator ?? '';
|
|
1534
|
+
message.hostZone = object.hostZone ?? '';
|
|
1535
|
+
message.validatorWeights =
|
|
1536
|
+
object.validatorWeights?.map(e => ValidatorWeight.fromPartial(e)) || [];
|
|
1537
|
+
return message;
|
|
1538
|
+
},
|
|
1539
|
+
fromProtoMsg(message) {
|
|
1540
|
+
return MsgChangeValidatorWeights.decode(message.value);
|
|
1541
|
+
},
|
|
1542
|
+
toProto(message) {
|
|
1543
|
+
return MsgChangeValidatorWeights.encode(message).finish();
|
|
1544
|
+
},
|
|
1545
|
+
toProtoMsg(message) {
|
|
1546
|
+
return {
|
|
1547
|
+
typeUrl: '/stride.stakeibc.MsgChangeValidatorWeights',
|
|
1548
|
+
value: MsgChangeValidatorWeights.encode(message).finish(),
|
|
1549
|
+
};
|
|
1550
|
+
},
|
|
1551
|
+
};
|
|
1552
|
+
function createBaseMsgChangeValidatorWeightsResponse() {
|
|
1553
|
+
return {};
|
|
1554
|
+
}
|
|
1555
|
+
export const MsgChangeValidatorWeightsResponse = {
|
|
1556
|
+
typeUrl: '/stride.stakeibc.MsgChangeValidatorWeightsResponse',
|
|
1557
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
1558
|
+
return writer;
|
|
1559
|
+
},
|
|
1560
|
+
decode(input, length) {
|
|
1561
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1562
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1563
|
+
const message = createBaseMsgChangeValidatorWeightsResponse();
|
|
1564
|
+
while (reader.pos < end) {
|
|
1565
|
+
const tag = reader.uint32();
|
|
1566
|
+
switch (tag >>> 3) {
|
|
1567
|
+
default:
|
|
1568
|
+
reader.skipType(tag & 7);
|
|
1569
|
+
break;
|
|
1570
|
+
}
|
|
1571
|
+
}
|
|
1572
|
+
return message;
|
|
1573
|
+
},
|
|
1574
|
+
fromJSON(_) {
|
|
1575
|
+
return {};
|
|
1576
|
+
},
|
|
1577
|
+
toJSON(_) {
|
|
1578
|
+
const obj = {};
|
|
1579
|
+
return obj;
|
|
1580
|
+
},
|
|
1581
|
+
fromPartial(_) {
|
|
1582
|
+
const message = createBaseMsgChangeValidatorWeightsResponse();
|
|
1583
|
+
return message;
|
|
1584
|
+
},
|
|
1585
|
+
fromProtoMsg(message) {
|
|
1586
|
+
return MsgChangeValidatorWeightsResponse.decode(message.value);
|
|
1587
|
+
},
|
|
1588
|
+
toProto(message) {
|
|
1589
|
+
return MsgChangeValidatorWeightsResponse.encode(message).finish();
|
|
1590
|
+
},
|
|
1591
|
+
toProtoMsg(message) {
|
|
1592
|
+
return {
|
|
1593
|
+
typeUrl: '/stride.stakeibc.MsgChangeValidatorWeightsResponse',
|
|
1594
|
+
value: MsgChangeValidatorWeightsResponse.encode(message).finish(),
|
|
1595
|
+
};
|
|
1596
|
+
},
|
|
1597
|
+
};
|
|
1598
|
+
function createBaseMsgDeleteValidator() {
|
|
1599
|
+
return {
|
|
1600
|
+
creator: '',
|
|
1601
|
+
hostZone: '',
|
|
1602
|
+
valAddr: '',
|
|
1603
|
+
};
|
|
1604
|
+
}
|
|
1605
|
+
export const MsgDeleteValidator = {
|
|
1606
|
+
typeUrl: '/stride.stakeibc.MsgDeleteValidator',
|
|
1607
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
1608
|
+
if (message.creator !== '') {
|
|
1609
|
+
writer.uint32(10).string(message.creator);
|
|
1610
|
+
}
|
|
1611
|
+
if (message.hostZone !== '') {
|
|
1612
|
+
writer.uint32(18).string(message.hostZone);
|
|
1613
|
+
}
|
|
1614
|
+
if (message.valAddr !== '') {
|
|
1615
|
+
writer.uint32(26).string(message.valAddr);
|
|
1616
|
+
}
|
|
1617
|
+
return writer;
|
|
1618
|
+
},
|
|
1619
|
+
decode(input, length) {
|
|
1620
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1621
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1622
|
+
const message = createBaseMsgDeleteValidator();
|
|
1623
|
+
while (reader.pos < end) {
|
|
1624
|
+
const tag = reader.uint32();
|
|
1625
|
+
switch (tag >>> 3) {
|
|
1626
|
+
case 1:
|
|
1627
|
+
message.creator = reader.string();
|
|
1628
|
+
break;
|
|
1629
|
+
case 2:
|
|
1630
|
+
message.hostZone = reader.string();
|
|
1631
|
+
break;
|
|
1632
|
+
case 3:
|
|
1633
|
+
message.valAddr = reader.string();
|
|
1634
|
+
break;
|
|
1635
|
+
default:
|
|
1636
|
+
reader.skipType(tag & 7);
|
|
1637
|
+
break;
|
|
1638
|
+
}
|
|
1639
|
+
}
|
|
1640
|
+
return message;
|
|
1641
|
+
},
|
|
1642
|
+
fromJSON(object) {
|
|
1643
|
+
return {
|
|
1644
|
+
creator: isSet(object.creator) ? String(object.creator) : '',
|
|
1645
|
+
hostZone: isSet(object.hostZone) ? String(object.hostZone) : '',
|
|
1646
|
+
valAddr: isSet(object.valAddr) ? String(object.valAddr) : '',
|
|
1647
|
+
};
|
|
1648
|
+
},
|
|
1649
|
+
toJSON(message) {
|
|
1650
|
+
const obj = {};
|
|
1651
|
+
message.creator !== undefined && (obj.creator = message.creator);
|
|
1652
|
+
message.hostZone !== undefined && (obj.hostZone = message.hostZone);
|
|
1653
|
+
message.valAddr !== undefined && (obj.valAddr = message.valAddr);
|
|
1654
|
+
return obj;
|
|
1655
|
+
},
|
|
1656
|
+
fromPartial(object) {
|
|
1657
|
+
const message = createBaseMsgDeleteValidator();
|
|
1658
|
+
message.creator = object.creator ?? '';
|
|
1659
|
+
message.hostZone = object.hostZone ?? '';
|
|
1660
|
+
message.valAddr = object.valAddr ?? '';
|
|
1661
|
+
return message;
|
|
1662
|
+
},
|
|
1663
|
+
fromProtoMsg(message) {
|
|
1664
|
+
return MsgDeleteValidator.decode(message.value);
|
|
1665
|
+
},
|
|
1666
|
+
toProto(message) {
|
|
1667
|
+
return MsgDeleteValidator.encode(message).finish();
|
|
1668
|
+
},
|
|
1669
|
+
toProtoMsg(message) {
|
|
1670
|
+
return {
|
|
1671
|
+
typeUrl: '/stride.stakeibc.MsgDeleteValidator',
|
|
1672
|
+
value: MsgDeleteValidator.encode(message).finish(),
|
|
1673
|
+
};
|
|
1674
|
+
},
|
|
1675
|
+
};
|
|
1676
|
+
function createBaseMsgDeleteValidatorResponse() {
|
|
1677
|
+
return {};
|
|
1678
|
+
}
|
|
1679
|
+
export const MsgDeleteValidatorResponse = {
|
|
1680
|
+
typeUrl: '/stride.stakeibc.MsgDeleteValidatorResponse',
|
|
1681
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
1682
|
+
return writer;
|
|
1683
|
+
},
|
|
1684
|
+
decode(input, length) {
|
|
1685
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1686
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1687
|
+
const message = createBaseMsgDeleteValidatorResponse();
|
|
1688
|
+
while (reader.pos < end) {
|
|
1689
|
+
const tag = reader.uint32();
|
|
1690
|
+
switch (tag >>> 3) {
|
|
1691
|
+
default:
|
|
1692
|
+
reader.skipType(tag & 7);
|
|
1693
|
+
break;
|
|
1694
|
+
}
|
|
1695
|
+
}
|
|
1696
|
+
return message;
|
|
1697
|
+
},
|
|
1698
|
+
fromJSON(_) {
|
|
1699
|
+
return {};
|
|
1700
|
+
},
|
|
1701
|
+
toJSON(_) {
|
|
1702
|
+
const obj = {};
|
|
1703
|
+
return obj;
|
|
1704
|
+
},
|
|
1705
|
+
fromPartial(_) {
|
|
1706
|
+
const message = createBaseMsgDeleteValidatorResponse();
|
|
1707
|
+
return message;
|
|
1708
|
+
},
|
|
1709
|
+
fromProtoMsg(message) {
|
|
1710
|
+
return MsgDeleteValidatorResponse.decode(message.value);
|
|
1711
|
+
},
|
|
1712
|
+
toProto(message) {
|
|
1713
|
+
return MsgDeleteValidatorResponse.encode(message).finish();
|
|
1714
|
+
},
|
|
1715
|
+
toProtoMsg(message) {
|
|
1716
|
+
return {
|
|
1717
|
+
typeUrl: '/stride.stakeibc.MsgDeleteValidatorResponse',
|
|
1718
|
+
value: MsgDeleteValidatorResponse.encode(message).finish(),
|
|
1719
|
+
};
|
|
1720
|
+
},
|
|
1721
|
+
};
|
|
1722
|
+
function createBaseMsgRestoreInterchainAccount() {
|
|
1723
|
+
return {
|
|
1724
|
+
creator: '',
|
|
1725
|
+
chainId: '',
|
|
1726
|
+
connectionId: '',
|
|
1727
|
+
accountOwner: '',
|
|
1728
|
+
};
|
|
1729
|
+
}
|
|
1730
|
+
export const MsgRestoreInterchainAccount = {
|
|
1731
|
+
typeUrl: '/stride.stakeibc.MsgRestoreInterchainAccount',
|
|
1732
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
1733
|
+
if (message.creator !== '') {
|
|
1734
|
+
writer.uint32(10).string(message.creator);
|
|
1735
|
+
}
|
|
1736
|
+
if (message.chainId !== '') {
|
|
1737
|
+
writer.uint32(18).string(message.chainId);
|
|
1738
|
+
}
|
|
1739
|
+
if (message.connectionId !== '') {
|
|
1740
|
+
writer.uint32(26).string(message.connectionId);
|
|
1741
|
+
}
|
|
1742
|
+
if (message.accountOwner !== '') {
|
|
1743
|
+
writer.uint32(34).string(message.accountOwner);
|
|
1744
|
+
}
|
|
1745
|
+
return writer;
|
|
1746
|
+
},
|
|
1747
|
+
decode(input, length) {
|
|
1748
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1749
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1750
|
+
const message = createBaseMsgRestoreInterchainAccount();
|
|
1751
|
+
while (reader.pos < end) {
|
|
1752
|
+
const tag = reader.uint32();
|
|
1753
|
+
switch (tag >>> 3) {
|
|
1754
|
+
case 1:
|
|
1755
|
+
message.creator = reader.string();
|
|
1756
|
+
break;
|
|
1757
|
+
case 2:
|
|
1758
|
+
message.chainId = reader.string();
|
|
1759
|
+
break;
|
|
1760
|
+
case 3:
|
|
1761
|
+
message.connectionId = reader.string();
|
|
1762
|
+
break;
|
|
1763
|
+
case 4:
|
|
1764
|
+
message.accountOwner = reader.string();
|
|
1765
|
+
break;
|
|
1766
|
+
default:
|
|
1767
|
+
reader.skipType(tag & 7);
|
|
1768
|
+
break;
|
|
1769
|
+
}
|
|
1770
|
+
}
|
|
1771
|
+
return message;
|
|
1772
|
+
},
|
|
1773
|
+
fromJSON(object) {
|
|
1774
|
+
return {
|
|
1775
|
+
creator: isSet(object.creator) ? String(object.creator) : '',
|
|
1776
|
+
chainId: isSet(object.chainId) ? String(object.chainId) : '',
|
|
1777
|
+
connectionId: isSet(object.connectionId)
|
|
1778
|
+
? String(object.connectionId)
|
|
1779
|
+
: '',
|
|
1780
|
+
accountOwner: isSet(object.accountOwner)
|
|
1781
|
+
? String(object.accountOwner)
|
|
1782
|
+
: '',
|
|
1783
|
+
};
|
|
1784
|
+
},
|
|
1785
|
+
toJSON(message) {
|
|
1786
|
+
const obj = {};
|
|
1787
|
+
message.creator !== undefined && (obj.creator = message.creator);
|
|
1788
|
+
message.chainId !== undefined && (obj.chainId = message.chainId);
|
|
1789
|
+
message.connectionId !== undefined &&
|
|
1790
|
+
(obj.connectionId = message.connectionId);
|
|
1791
|
+
message.accountOwner !== undefined &&
|
|
1792
|
+
(obj.accountOwner = message.accountOwner);
|
|
1793
|
+
return obj;
|
|
1794
|
+
},
|
|
1795
|
+
fromPartial(object) {
|
|
1796
|
+
const message = createBaseMsgRestoreInterchainAccount();
|
|
1797
|
+
message.creator = object.creator ?? '';
|
|
1798
|
+
message.chainId = object.chainId ?? '';
|
|
1799
|
+
message.connectionId = object.connectionId ?? '';
|
|
1800
|
+
message.accountOwner = object.accountOwner ?? '';
|
|
1801
|
+
return message;
|
|
1802
|
+
},
|
|
1803
|
+
fromProtoMsg(message) {
|
|
1804
|
+
return MsgRestoreInterchainAccount.decode(message.value);
|
|
1805
|
+
},
|
|
1806
|
+
toProto(message) {
|
|
1807
|
+
return MsgRestoreInterchainAccount.encode(message).finish();
|
|
1808
|
+
},
|
|
1809
|
+
toProtoMsg(message) {
|
|
1810
|
+
return {
|
|
1811
|
+
typeUrl: '/stride.stakeibc.MsgRestoreInterchainAccount',
|
|
1812
|
+
value: MsgRestoreInterchainAccount.encode(message).finish(),
|
|
1813
|
+
};
|
|
1814
|
+
},
|
|
1815
|
+
};
|
|
1816
|
+
function createBaseMsgRestoreInterchainAccountResponse() {
|
|
1817
|
+
return {};
|
|
1818
|
+
}
|
|
1819
|
+
export const MsgRestoreInterchainAccountResponse = {
|
|
1820
|
+
typeUrl: '/stride.stakeibc.MsgRestoreInterchainAccountResponse',
|
|
1821
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
1822
|
+
return writer;
|
|
1823
|
+
},
|
|
1824
|
+
decode(input, length) {
|
|
1825
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1826
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1827
|
+
const message = createBaseMsgRestoreInterchainAccountResponse();
|
|
1828
|
+
while (reader.pos < end) {
|
|
1829
|
+
const tag = reader.uint32();
|
|
1830
|
+
switch (tag >>> 3) {
|
|
1831
|
+
default:
|
|
1832
|
+
reader.skipType(tag & 7);
|
|
1833
|
+
break;
|
|
1834
|
+
}
|
|
1835
|
+
}
|
|
1836
|
+
return message;
|
|
1837
|
+
},
|
|
1838
|
+
fromJSON(_) {
|
|
1839
|
+
return {};
|
|
1840
|
+
},
|
|
1841
|
+
toJSON(_) {
|
|
1842
|
+
const obj = {};
|
|
1843
|
+
return obj;
|
|
1844
|
+
},
|
|
1845
|
+
fromPartial(_) {
|
|
1846
|
+
const message = createBaseMsgRestoreInterchainAccountResponse();
|
|
1847
|
+
return message;
|
|
1848
|
+
},
|
|
1849
|
+
fromProtoMsg(message) {
|
|
1850
|
+
return MsgRestoreInterchainAccountResponse.decode(message.value);
|
|
1851
|
+
},
|
|
1852
|
+
toProto(message) {
|
|
1853
|
+
return MsgRestoreInterchainAccountResponse.encode(message).finish();
|
|
1854
|
+
},
|
|
1855
|
+
toProtoMsg(message) {
|
|
1856
|
+
return {
|
|
1857
|
+
typeUrl: '/stride.stakeibc.MsgRestoreInterchainAccountResponse',
|
|
1858
|
+
value: MsgRestoreInterchainAccountResponse.encode(message).finish(),
|
|
1859
|
+
};
|
|
1860
|
+
},
|
|
1861
|
+
};
|
|
1862
|
+
function createBaseMsgCloseDelegationChannel() {
|
|
1863
|
+
return {
|
|
1864
|
+
creator: '',
|
|
1865
|
+
chainId: '',
|
|
1866
|
+
};
|
|
1867
|
+
}
|
|
1868
|
+
export const MsgCloseDelegationChannel = {
|
|
1869
|
+
typeUrl: '/stride.stakeibc.MsgCloseDelegationChannel',
|
|
1870
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
1871
|
+
if (message.creator !== '') {
|
|
1872
|
+
writer.uint32(10).string(message.creator);
|
|
1873
|
+
}
|
|
1874
|
+
if (message.chainId !== '') {
|
|
1875
|
+
writer.uint32(18).string(message.chainId);
|
|
1876
|
+
}
|
|
1877
|
+
return writer;
|
|
1878
|
+
},
|
|
1879
|
+
decode(input, length) {
|
|
1880
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1881
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1882
|
+
const message = createBaseMsgCloseDelegationChannel();
|
|
1883
|
+
while (reader.pos < end) {
|
|
1884
|
+
const tag = reader.uint32();
|
|
1885
|
+
switch (tag >>> 3) {
|
|
1886
|
+
case 1:
|
|
1887
|
+
message.creator = reader.string();
|
|
1888
|
+
break;
|
|
1889
|
+
case 2:
|
|
1890
|
+
message.chainId = reader.string();
|
|
1891
|
+
break;
|
|
1892
|
+
default:
|
|
1893
|
+
reader.skipType(tag & 7);
|
|
1894
|
+
break;
|
|
1895
|
+
}
|
|
1896
|
+
}
|
|
1897
|
+
return message;
|
|
1898
|
+
},
|
|
1899
|
+
fromJSON(object) {
|
|
1900
|
+
return {
|
|
1901
|
+
creator: isSet(object.creator) ? String(object.creator) : '',
|
|
1902
|
+
chainId: isSet(object.chainId) ? String(object.chainId) : '',
|
|
1903
|
+
};
|
|
1904
|
+
},
|
|
1905
|
+
toJSON(message) {
|
|
1906
|
+
const obj = {};
|
|
1907
|
+
message.creator !== undefined && (obj.creator = message.creator);
|
|
1908
|
+
message.chainId !== undefined && (obj.chainId = message.chainId);
|
|
1909
|
+
return obj;
|
|
1910
|
+
},
|
|
1911
|
+
fromPartial(object) {
|
|
1912
|
+
const message = createBaseMsgCloseDelegationChannel();
|
|
1913
|
+
message.creator = object.creator ?? '';
|
|
1914
|
+
message.chainId = object.chainId ?? '';
|
|
1915
|
+
return message;
|
|
1916
|
+
},
|
|
1917
|
+
fromProtoMsg(message) {
|
|
1918
|
+
return MsgCloseDelegationChannel.decode(message.value);
|
|
1919
|
+
},
|
|
1920
|
+
toProto(message) {
|
|
1921
|
+
return MsgCloseDelegationChannel.encode(message).finish();
|
|
1922
|
+
},
|
|
1923
|
+
toProtoMsg(message) {
|
|
1924
|
+
return {
|
|
1925
|
+
typeUrl: '/stride.stakeibc.MsgCloseDelegationChannel',
|
|
1926
|
+
value: MsgCloseDelegationChannel.encode(message).finish(),
|
|
1927
|
+
};
|
|
1928
|
+
},
|
|
1929
|
+
};
|
|
1930
|
+
function createBaseMsgCloseDelegationChannelResponse() {
|
|
1931
|
+
return {};
|
|
1932
|
+
}
|
|
1933
|
+
export const MsgCloseDelegationChannelResponse = {
|
|
1934
|
+
typeUrl: '/stride.stakeibc.MsgCloseDelegationChannelResponse',
|
|
1935
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
1936
|
+
return writer;
|
|
1937
|
+
},
|
|
1938
|
+
decode(input, length) {
|
|
1939
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1940
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1941
|
+
const message = createBaseMsgCloseDelegationChannelResponse();
|
|
1942
|
+
while (reader.pos < end) {
|
|
1943
|
+
const tag = reader.uint32();
|
|
1944
|
+
switch (tag >>> 3) {
|
|
1945
|
+
default:
|
|
1946
|
+
reader.skipType(tag & 7);
|
|
1947
|
+
break;
|
|
1948
|
+
}
|
|
1949
|
+
}
|
|
1950
|
+
return message;
|
|
1951
|
+
},
|
|
1952
|
+
fromJSON(_) {
|
|
1953
|
+
return {};
|
|
1954
|
+
},
|
|
1955
|
+
toJSON(_) {
|
|
1956
|
+
const obj = {};
|
|
1957
|
+
return obj;
|
|
1958
|
+
},
|
|
1959
|
+
fromPartial(_) {
|
|
1960
|
+
const message = createBaseMsgCloseDelegationChannelResponse();
|
|
1961
|
+
return message;
|
|
1962
|
+
},
|
|
1963
|
+
fromProtoMsg(message) {
|
|
1964
|
+
return MsgCloseDelegationChannelResponse.decode(message.value);
|
|
1965
|
+
},
|
|
1966
|
+
toProto(message) {
|
|
1967
|
+
return MsgCloseDelegationChannelResponse.encode(message).finish();
|
|
1968
|
+
},
|
|
1969
|
+
toProtoMsg(message) {
|
|
1970
|
+
return {
|
|
1971
|
+
typeUrl: '/stride.stakeibc.MsgCloseDelegationChannelResponse',
|
|
1972
|
+
value: MsgCloseDelegationChannelResponse.encode(message).finish(),
|
|
1973
|
+
};
|
|
1974
|
+
},
|
|
1975
|
+
};
|
|
1976
|
+
function createBaseMsgUpdateValidatorSharesExchRate() {
|
|
1977
|
+
return {
|
|
1978
|
+
creator: '',
|
|
1979
|
+
chainId: '',
|
|
1980
|
+
valoper: '',
|
|
1981
|
+
};
|
|
1982
|
+
}
|
|
1983
|
+
export const MsgUpdateValidatorSharesExchRate = {
|
|
1984
|
+
typeUrl: '/stride.stakeibc.MsgUpdateValidatorSharesExchRate',
|
|
1985
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
1986
|
+
if (message.creator !== '') {
|
|
1987
|
+
writer.uint32(10).string(message.creator);
|
|
1988
|
+
}
|
|
1989
|
+
if (message.chainId !== '') {
|
|
1990
|
+
writer.uint32(18).string(message.chainId);
|
|
1991
|
+
}
|
|
1992
|
+
if (message.valoper !== '') {
|
|
1993
|
+
writer.uint32(26).string(message.valoper);
|
|
1994
|
+
}
|
|
1995
|
+
return writer;
|
|
1996
|
+
},
|
|
1997
|
+
decode(input, length) {
|
|
1998
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1999
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2000
|
+
const message = createBaseMsgUpdateValidatorSharesExchRate();
|
|
2001
|
+
while (reader.pos < end) {
|
|
2002
|
+
const tag = reader.uint32();
|
|
2003
|
+
switch (tag >>> 3) {
|
|
2004
|
+
case 1:
|
|
2005
|
+
message.creator = reader.string();
|
|
2006
|
+
break;
|
|
2007
|
+
case 2:
|
|
2008
|
+
message.chainId = reader.string();
|
|
2009
|
+
break;
|
|
2010
|
+
case 3:
|
|
2011
|
+
message.valoper = reader.string();
|
|
2012
|
+
break;
|
|
2013
|
+
default:
|
|
2014
|
+
reader.skipType(tag & 7);
|
|
2015
|
+
break;
|
|
2016
|
+
}
|
|
2017
|
+
}
|
|
2018
|
+
return message;
|
|
2019
|
+
},
|
|
2020
|
+
fromJSON(object) {
|
|
2021
|
+
return {
|
|
2022
|
+
creator: isSet(object.creator) ? String(object.creator) : '',
|
|
2023
|
+
chainId: isSet(object.chainId) ? String(object.chainId) : '',
|
|
2024
|
+
valoper: isSet(object.valoper) ? String(object.valoper) : '',
|
|
2025
|
+
};
|
|
2026
|
+
},
|
|
2027
|
+
toJSON(message) {
|
|
2028
|
+
const obj = {};
|
|
2029
|
+
message.creator !== undefined && (obj.creator = message.creator);
|
|
2030
|
+
message.chainId !== undefined && (obj.chainId = message.chainId);
|
|
2031
|
+
message.valoper !== undefined && (obj.valoper = message.valoper);
|
|
2032
|
+
return obj;
|
|
2033
|
+
},
|
|
2034
|
+
fromPartial(object) {
|
|
2035
|
+
const message = createBaseMsgUpdateValidatorSharesExchRate();
|
|
2036
|
+
message.creator = object.creator ?? '';
|
|
2037
|
+
message.chainId = object.chainId ?? '';
|
|
2038
|
+
message.valoper = object.valoper ?? '';
|
|
2039
|
+
return message;
|
|
2040
|
+
},
|
|
2041
|
+
fromProtoMsg(message) {
|
|
2042
|
+
return MsgUpdateValidatorSharesExchRate.decode(message.value);
|
|
2043
|
+
},
|
|
2044
|
+
toProto(message) {
|
|
2045
|
+
return MsgUpdateValidatorSharesExchRate.encode(message).finish();
|
|
2046
|
+
},
|
|
2047
|
+
toProtoMsg(message) {
|
|
2048
|
+
return {
|
|
2049
|
+
typeUrl: '/stride.stakeibc.MsgUpdateValidatorSharesExchRate',
|
|
2050
|
+
value: MsgUpdateValidatorSharesExchRate.encode(message).finish(),
|
|
2051
|
+
};
|
|
2052
|
+
},
|
|
2053
|
+
};
|
|
2054
|
+
function createBaseMsgUpdateValidatorSharesExchRateResponse() {
|
|
2055
|
+
return {};
|
|
2056
|
+
}
|
|
2057
|
+
export const MsgUpdateValidatorSharesExchRateResponse = {
|
|
2058
|
+
typeUrl: '/stride.stakeibc.MsgUpdateValidatorSharesExchRateResponse',
|
|
2059
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
2060
|
+
return writer;
|
|
2061
|
+
},
|
|
2062
|
+
decode(input, length) {
|
|
2063
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2064
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2065
|
+
const message = createBaseMsgUpdateValidatorSharesExchRateResponse();
|
|
2066
|
+
while (reader.pos < end) {
|
|
2067
|
+
const tag = reader.uint32();
|
|
2068
|
+
switch (tag >>> 3) {
|
|
2069
|
+
default:
|
|
2070
|
+
reader.skipType(tag & 7);
|
|
2071
|
+
break;
|
|
2072
|
+
}
|
|
2073
|
+
}
|
|
2074
|
+
return message;
|
|
2075
|
+
},
|
|
2076
|
+
fromJSON(_) {
|
|
2077
|
+
return {};
|
|
2078
|
+
},
|
|
2079
|
+
toJSON(_) {
|
|
2080
|
+
const obj = {};
|
|
2081
|
+
return obj;
|
|
2082
|
+
},
|
|
2083
|
+
fromPartial(_) {
|
|
2084
|
+
const message = createBaseMsgUpdateValidatorSharesExchRateResponse();
|
|
2085
|
+
return message;
|
|
2086
|
+
},
|
|
2087
|
+
fromProtoMsg(message) {
|
|
2088
|
+
return MsgUpdateValidatorSharesExchRateResponse.decode(message.value);
|
|
2089
|
+
},
|
|
2090
|
+
toProto(message) {
|
|
2091
|
+
return MsgUpdateValidatorSharesExchRateResponse.encode(message).finish();
|
|
2092
|
+
},
|
|
2093
|
+
toProtoMsg(message) {
|
|
2094
|
+
return {
|
|
2095
|
+
typeUrl: '/stride.stakeibc.MsgUpdateValidatorSharesExchRateResponse',
|
|
2096
|
+
value: MsgUpdateValidatorSharesExchRateResponse.encode(message).finish(),
|
|
2097
|
+
};
|
|
2098
|
+
},
|
|
2099
|
+
};
|
|
2100
|
+
function createBaseMsgCalibrateDelegation() {
|
|
2101
|
+
return {
|
|
2102
|
+
creator: '',
|
|
2103
|
+
chainId: '',
|
|
2104
|
+
valoper: '',
|
|
2105
|
+
};
|
|
2106
|
+
}
|
|
2107
|
+
export const MsgCalibrateDelegation = {
|
|
2108
|
+
typeUrl: '/stride.stakeibc.MsgCalibrateDelegation',
|
|
2109
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
2110
|
+
if (message.creator !== '') {
|
|
2111
|
+
writer.uint32(10).string(message.creator);
|
|
2112
|
+
}
|
|
2113
|
+
if (message.chainId !== '') {
|
|
2114
|
+
writer.uint32(18).string(message.chainId);
|
|
2115
|
+
}
|
|
2116
|
+
if (message.valoper !== '') {
|
|
2117
|
+
writer.uint32(26).string(message.valoper);
|
|
2118
|
+
}
|
|
2119
|
+
return writer;
|
|
2120
|
+
},
|
|
2121
|
+
decode(input, length) {
|
|
2122
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2123
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2124
|
+
const message = createBaseMsgCalibrateDelegation();
|
|
2125
|
+
while (reader.pos < end) {
|
|
2126
|
+
const tag = reader.uint32();
|
|
2127
|
+
switch (tag >>> 3) {
|
|
2128
|
+
case 1:
|
|
2129
|
+
message.creator = reader.string();
|
|
2130
|
+
break;
|
|
2131
|
+
case 2:
|
|
2132
|
+
message.chainId = reader.string();
|
|
2133
|
+
break;
|
|
2134
|
+
case 3:
|
|
2135
|
+
message.valoper = reader.string();
|
|
2136
|
+
break;
|
|
2137
|
+
default:
|
|
2138
|
+
reader.skipType(tag & 7);
|
|
2139
|
+
break;
|
|
2140
|
+
}
|
|
2141
|
+
}
|
|
2142
|
+
return message;
|
|
2143
|
+
},
|
|
2144
|
+
fromJSON(object) {
|
|
2145
|
+
return {
|
|
2146
|
+
creator: isSet(object.creator) ? String(object.creator) : '',
|
|
2147
|
+
chainId: isSet(object.chainId) ? String(object.chainId) : '',
|
|
2148
|
+
valoper: isSet(object.valoper) ? String(object.valoper) : '',
|
|
2149
|
+
};
|
|
2150
|
+
},
|
|
2151
|
+
toJSON(message) {
|
|
2152
|
+
const obj = {};
|
|
2153
|
+
message.creator !== undefined && (obj.creator = message.creator);
|
|
2154
|
+
message.chainId !== undefined && (obj.chainId = message.chainId);
|
|
2155
|
+
message.valoper !== undefined && (obj.valoper = message.valoper);
|
|
2156
|
+
return obj;
|
|
2157
|
+
},
|
|
2158
|
+
fromPartial(object) {
|
|
2159
|
+
const message = createBaseMsgCalibrateDelegation();
|
|
2160
|
+
message.creator = object.creator ?? '';
|
|
2161
|
+
message.chainId = object.chainId ?? '';
|
|
2162
|
+
message.valoper = object.valoper ?? '';
|
|
2163
|
+
return message;
|
|
2164
|
+
},
|
|
2165
|
+
fromProtoMsg(message) {
|
|
2166
|
+
return MsgCalibrateDelegation.decode(message.value);
|
|
2167
|
+
},
|
|
2168
|
+
toProto(message) {
|
|
2169
|
+
return MsgCalibrateDelegation.encode(message).finish();
|
|
2170
|
+
},
|
|
2171
|
+
toProtoMsg(message) {
|
|
2172
|
+
return {
|
|
2173
|
+
typeUrl: '/stride.stakeibc.MsgCalibrateDelegation',
|
|
2174
|
+
value: MsgCalibrateDelegation.encode(message).finish(),
|
|
2175
|
+
};
|
|
2176
|
+
},
|
|
2177
|
+
};
|
|
2178
|
+
function createBaseMsgCalibrateDelegationResponse() {
|
|
2179
|
+
return {};
|
|
2180
|
+
}
|
|
2181
|
+
export const MsgCalibrateDelegationResponse = {
|
|
2182
|
+
typeUrl: '/stride.stakeibc.MsgCalibrateDelegationResponse',
|
|
2183
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
2184
|
+
return writer;
|
|
2185
|
+
},
|
|
2186
|
+
decode(input, length) {
|
|
2187
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2188
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2189
|
+
const message = createBaseMsgCalibrateDelegationResponse();
|
|
2190
|
+
while (reader.pos < end) {
|
|
2191
|
+
const tag = reader.uint32();
|
|
2192
|
+
switch (tag >>> 3) {
|
|
2193
|
+
default:
|
|
2194
|
+
reader.skipType(tag & 7);
|
|
2195
|
+
break;
|
|
2196
|
+
}
|
|
2197
|
+
}
|
|
2198
|
+
return message;
|
|
2199
|
+
},
|
|
2200
|
+
fromJSON(_) {
|
|
2201
|
+
return {};
|
|
2202
|
+
},
|
|
2203
|
+
toJSON(_) {
|
|
2204
|
+
const obj = {};
|
|
2205
|
+
return obj;
|
|
2206
|
+
},
|
|
2207
|
+
fromPartial(_) {
|
|
2208
|
+
const message = createBaseMsgCalibrateDelegationResponse();
|
|
2209
|
+
return message;
|
|
2210
|
+
},
|
|
2211
|
+
fromProtoMsg(message) {
|
|
2212
|
+
return MsgCalibrateDelegationResponse.decode(message.value);
|
|
2213
|
+
},
|
|
2214
|
+
toProto(message) {
|
|
2215
|
+
return MsgCalibrateDelegationResponse.encode(message).finish();
|
|
2216
|
+
},
|
|
2217
|
+
toProtoMsg(message) {
|
|
2218
|
+
return {
|
|
2219
|
+
typeUrl: '/stride.stakeibc.MsgCalibrateDelegationResponse',
|
|
2220
|
+
value: MsgCalibrateDelegationResponse.encode(message).finish(),
|
|
2221
|
+
};
|
|
2222
|
+
},
|
|
2223
|
+
};
|
|
2224
|
+
function createBaseMsgResumeHostZone() {
|
|
2225
|
+
return {
|
|
2226
|
+
creator: '',
|
|
2227
|
+
chainId: '',
|
|
2228
|
+
};
|
|
2229
|
+
}
|
|
2230
|
+
export const MsgResumeHostZone = {
|
|
2231
|
+
typeUrl: '/stride.stakeibc.MsgResumeHostZone',
|
|
2232
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
2233
|
+
if (message.creator !== '') {
|
|
2234
|
+
writer.uint32(10).string(message.creator);
|
|
2235
|
+
}
|
|
2236
|
+
if (message.chainId !== '') {
|
|
2237
|
+
writer.uint32(18).string(message.chainId);
|
|
2238
|
+
}
|
|
2239
|
+
return writer;
|
|
2240
|
+
},
|
|
2241
|
+
decode(input, length) {
|
|
2242
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2243
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2244
|
+
const message = createBaseMsgResumeHostZone();
|
|
2245
|
+
while (reader.pos < end) {
|
|
2246
|
+
const tag = reader.uint32();
|
|
2247
|
+
switch (tag >>> 3) {
|
|
2248
|
+
case 1:
|
|
2249
|
+
message.creator = reader.string();
|
|
2250
|
+
break;
|
|
2251
|
+
case 2:
|
|
2252
|
+
message.chainId = reader.string();
|
|
2253
|
+
break;
|
|
2254
|
+
default:
|
|
2255
|
+
reader.skipType(tag & 7);
|
|
2256
|
+
break;
|
|
2257
|
+
}
|
|
2258
|
+
}
|
|
2259
|
+
return message;
|
|
2260
|
+
},
|
|
2261
|
+
fromJSON(object) {
|
|
2262
|
+
return {
|
|
2263
|
+
creator: isSet(object.creator) ? String(object.creator) : '',
|
|
2264
|
+
chainId: isSet(object.chainId) ? String(object.chainId) : '',
|
|
2265
|
+
};
|
|
2266
|
+
},
|
|
2267
|
+
toJSON(message) {
|
|
2268
|
+
const obj = {};
|
|
2269
|
+
message.creator !== undefined && (obj.creator = message.creator);
|
|
2270
|
+
message.chainId !== undefined && (obj.chainId = message.chainId);
|
|
2271
|
+
return obj;
|
|
2272
|
+
},
|
|
2273
|
+
fromPartial(object) {
|
|
2274
|
+
const message = createBaseMsgResumeHostZone();
|
|
2275
|
+
message.creator = object.creator ?? '';
|
|
2276
|
+
message.chainId = object.chainId ?? '';
|
|
2277
|
+
return message;
|
|
2278
|
+
},
|
|
2279
|
+
fromProtoMsg(message) {
|
|
2280
|
+
return MsgResumeHostZone.decode(message.value);
|
|
2281
|
+
},
|
|
2282
|
+
toProto(message) {
|
|
2283
|
+
return MsgResumeHostZone.encode(message).finish();
|
|
2284
|
+
},
|
|
2285
|
+
toProtoMsg(message) {
|
|
2286
|
+
return {
|
|
2287
|
+
typeUrl: '/stride.stakeibc.MsgResumeHostZone',
|
|
2288
|
+
value: MsgResumeHostZone.encode(message).finish(),
|
|
2289
|
+
};
|
|
2290
|
+
},
|
|
2291
|
+
};
|
|
2292
|
+
function createBaseMsgResumeHostZoneResponse() {
|
|
2293
|
+
return {};
|
|
2294
|
+
}
|
|
2295
|
+
export const MsgResumeHostZoneResponse = {
|
|
2296
|
+
typeUrl: '/stride.stakeibc.MsgResumeHostZoneResponse',
|
|
2297
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
2298
|
+
return writer;
|
|
2299
|
+
},
|
|
2300
|
+
decode(input, length) {
|
|
2301
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2302
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2303
|
+
const message = createBaseMsgResumeHostZoneResponse();
|
|
2304
|
+
while (reader.pos < end) {
|
|
2305
|
+
const tag = reader.uint32();
|
|
2306
|
+
switch (tag >>> 3) {
|
|
2307
|
+
default:
|
|
2308
|
+
reader.skipType(tag & 7);
|
|
2309
|
+
break;
|
|
2310
|
+
}
|
|
2311
|
+
}
|
|
2312
|
+
return message;
|
|
2313
|
+
},
|
|
2314
|
+
fromJSON(_) {
|
|
2315
|
+
return {};
|
|
2316
|
+
},
|
|
2317
|
+
toJSON(_) {
|
|
2318
|
+
const obj = {};
|
|
2319
|
+
return obj;
|
|
2320
|
+
},
|
|
2321
|
+
fromPartial(_) {
|
|
2322
|
+
const message = createBaseMsgResumeHostZoneResponse();
|
|
2323
|
+
return message;
|
|
2324
|
+
},
|
|
2325
|
+
fromProtoMsg(message) {
|
|
2326
|
+
return MsgResumeHostZoneResponse.decode(message.value);
|
|
2327
|
+
},
|
|
2328
|
+
toProto(message) {
|
|
2329
|
+
return MsgResumeHostZoneResponse.encode(message).finish();
|
|
2330
|
+
},
|
|
2331
|
+
toProtoMsg(message) {
|
|
2332
|
+
return {
|
|
2333
|
+
typeUrl: '/stride.stakeibc.MsgResumeHostZoneResponse',
|
|
2334
|
+
value: MsgResumeHostZoneResponse.encode(message).finish(),
|
|
2335
|
+
};
|
|
2336
|
+
},
|
|
2337
|
+
};
|
|
2338
|
+
function createBaseMsgCreateTradeRoute() {
|
|
2339
|
+
return {
|
|
2340
|
+
authority: '',
|
|
2341
|
+
hostChainId: '',
|
|
2342
|
+
strideToRewardConnectionId: '',
|
|
2343
|
+
strideToTradeConnectionId: '',
|
|
2344
|
+
hostToRewardTransferChannelId: '',
|
|
2345
|
+
rewardToTradeTransferChannelId: '',
|
|
2346
|
+
tradeToHostTransferChannelId: '',
|
|
2347
|
+
rewardDenomOnHost: '',
|
|
2348
|
+
rewardDenomOnReward: '',
|
|
2349
|
+
rewardDenomOnTrade: '',
|
|
2350
|
+
hostDenomOnTrade: '',
|
|
2351
|
+
hostDenomOnHost: '',
|
|
2352
|
+
poolId: BigInt(0),
|
|
2353
|
+
maxAllowedSwapLossRate: '',
|
|
2354
|
+
minSwapAmount: '',
|
|
2355
|
+
maxSwapAmount: '',
|
|
2356
|
+
minTransferAmount: '',
|
|
2357
|
+
};
|
|
2358
|
+
}
|
|
2359
|
+
export const MsgCreateTradeRoute = {
|
|
2360
|
+
typeUrl: '/stride.stakeibc.MsgCreateTradeRoute',
|
|
2361
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
2362
|
+
if (message.authority !== '') {
|
|
2363
|
+
writer.uint32(10).string(message.authority);
|
|
2364
|
+
}
|
|
2365
|
+
if (message.hostChainId !== '') {
|
|
2366
|
+
writer.uint32(18).string(message.hostChainId);
|
|
2367
|
+
}
|
|
2368
|
+
if (message.strideToRewardConnectionId !== '') {
|
|
2369
|
+
writer.uint32(26).string(message.strideToRewardConnectionId);
|
|
2370
|
+
}
|
|
2371
|
+
if (message.strideToTradeConnectionId !== '') {
|
|
2372
|
+
writer.uint32(34).string(message.strideToTradeConnectionId);
|
|
2373
|
+
}
|
|
2374
|
+
if (message.hostToRewardTransferChannelId !== '') {
|
|
2375
|
+
writer.uint32(42).string(message.hostToRewardTransferChannelId);
|
|
2376
|
+
}
|
|
2377
|
+
if (message.rewardToTradeTransferChannelId !== '') {
|
|
2378
|
+
writer.uint32(50).string(message.rewardToTradeTransferChannelId);
|
|
2379
|
+
}
|
|
2380
|
+
if (message.tradeToHostTransferChannelId !== '') {
|
|
2381
|
+
writer.uint32(58).string(message.tradeToHostTransferChannelId);
|
|
2382
|
+
}
|
|
2383
|
+
if (message.rewardDenomOnHost !== '') {
|
|
2384
|
+
writer.uint32(66).string(message.rewardDenomOnHost);
|
|
2385
|
+
}
|
|
2386
|
+
if (message.rewardDenomOnReward !== '') {
|
|
2387
|
+
writer.uint32(74).string(message.rewardDenomOnReward);
|
|
2388
|
+
}
|
|
2389
|
+
if (message.rewardDenomOnTrade !== '') {
|
|
2390
|
+
writer.uint32(82).string(message.rewardDenomOnTrade);
|
|
2391
|
+
}
|
|
2392
|
+
if (message.hostDenomOnTrade !== '') {
|
|
2393
|
+
writer.uint32(90).string(message.hostDenomOnTrade);
|
|
2394
|
+
}
|
|
2395
|
+
if (message.hostDenomOnHost !== '') {
|
|
2396
|
+
writer.uint32(98).string(message.hostDenomOnHost);
|
|
2397
|
+
}
|
|
2398
|
+
if (message.poolId !== BigInt(0)) {
|
|
2399
|
+
writer.uint32(104).uint64(message.poolId);
|
|
2400
|
+
}
|
|
2401
|
+
if (message.maxAllowedSwapLossRate !== '') {
|
|
2402
|
+
writer.uint32(114).string(message.maxAllowedSwapLossRate);
|
|
2403
|
+
}
|
|
2404
|
+
if (message.minSwapAmount !== '') {
|
|
2405
|
+
writer.uint32(122).string(message.minSwapAmount);
|
|
2406
|
+
}
|
|
2407
|
+
if (message.maxSwapAmount !== '') {
|
|
2408
|
+
writer.uint32(130).string(message.maxSwapAmount);
|
|
2409
|
+
}
|
|
2410
|
+
if (message.minTransferAmount !== '') {
|
|
2411
|
+
writer.uint32(138).string(message.minTransferAmount);
|
|
2412
|
+
}
|
|
2413
|
+
return writer;
|
|
2414
|
+
},
|
|
2415
|
+
decode(input, length) {
|
|
2416
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2417
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2418
|
+
const message = createBaseMsgCreateTradeRoute();
|
|
2419
|
+
while (reader.pos < end) {
|
|
2420
|
+
const tag = reader.uint32();
|
|
2421
|
+
switch (tag >>> 3) {
|
|
2422
|
+
case 1:
|
|
2423
|
+
message.authority = reader.string();
|
|
2424
|
+
break;
|
|
2425
|
+
case 2:
|
|
2426
|
+
message.hostChainId = reader.string();
|
|
2427
|
+
break;
|
|
2428
|
+
case 3:
|
|
2429
|
+
message.strideToRewardConnectionId = reader.string();
|
|
2430
|
+
break;
|
|
2431
|
+
case 4:
|
|
2432
|
+
message.strideToTradeConnectionId = reader.string();
|
|
2433
|
+
break;
|
|
2434
|
+
case 5:
|
|
2435
|
+
message.hostToRewardTransferChannelId = reader.string();
|
|
2436
|
+
break;
|
|
2437
|
+
case 6:
|
|
2438
|
+
message.rewardToTradeTransferChannelId = reader.string();
|
|
2439
|
+
break;
|
|
2440
|
+
case 7:
|
|
2441
|
+
message.tradeToHostTransferChannelId = reader.string();
|
|
2442
|
+
break;
|
|
2443
|
+
case 8:
|
|
2444
|
+
message.rewardDenomOnHost = reader.string();
|
|
2445
|
+
break;
|
|
2446
|
+
case 9:
|
|
2447
|
+
message.rewardDenomOnReward = reader.string();
|
|
2448
|
+
break;
|
|
2449
|
+
case 10:
|
|
2450
|
+
message.rewardDenomOnTrade = reader.string();
|
|
2451
|
+
break;
|
|
2452
|
+
case 11:
|
|
2453
|
+
message.hostDenomOnTrade = reader.string();
|
|
2454
|
+
break;
|
|
2455
|
+
case 12:
|
|
2456
|
+
message.hostDenomOnHost = reader.string();
|
|
2457
|
+
break;
|
|
2458
|
+
case 13:
|
|
2459
|
+
message.poolId = reader.uint64();
|
|
2460
|
+
break;
|
|
2461
|
+
case 14:
|
|
2462
|
+
message.maxAllowedSwapLossRate = reader.string();
|
|
2463
|
+
break;
|
|
2464
|
+
case 15:
|
|
2465
|
+
message.minSwapAmount = reader.string();
|
|
2466
|
+
break;
|
|
2467
|
+
case 16:
|
|
2468
|
+
message.maxSwapAmount = reader.string();
|
|
2469
|
+
break;
|
|
2470
|
+
case 17:
|
|
2471
|
+
message.minTransferAmount = reader.string();
|
|
2472
|
+
break;
|
|
2473
|
+
default:
|
|
2474
|
+
reader.skipType(tag & 7);
|
|
2475
|
+
break;
|
|
2476
|
+
}
|
|
2477
|
+
}
|
|
2478
|
+
return message;
|
|
2479
|
+
},
|
|
2480
|
+
fromJSON(object) {
|
|
2481
|
+
return {
|
|
2482
|
+
authority: isSet(object.authority) ? String(object.authority) : '',
|
|
2483
|
+
hostChainId: isSet(object.hostChainId) ? String(object.hostChainId) : '',
|
|
2484
|
+
strideToRewardConnectionId: isSet(object.strideToRewardConnectionId)
|
|
2485
|
+
? String(object.strideToRewardConnectionId)
|
|
2486
|
+
: '',
|
|
2487
|
+
strideToTradeConnectionId: isSet(object.strideToTradeConnectionId)
|
|
2488
|
+
? String(object.strideToTradeConnectionId)
|
|
2489
|
+
: '',
|
|
2490
|
+
hostToRewardTransferChannelId: isSet(object.hostToRewardTransferChannelId)
|
|
2491
|
+
? String(object.hostToRewardTransferChannelId)
|
|
2492
|
+
: '',
|
|
2493
|
+
rewardToTradeTransferChannelId: isSet(object.rewardToTradeTransferChannelId)
|
|
2494
|
+
? String(object.rewardToTradeTransferChannelId)
|
|
2495
|
+
: '',
|
|
2496
|
+
tradeToHostTransferChannelId: isSet(object.tradeToHostTransferChannelId)
|
|
2497
|
+
? String(object.tradeToHostTransferChannelId)
|
|
2498
|
+
: '',
|
|
2499
|
+
rewardDenomOnHost: isSet(object.rewardDenomOnHost)
|
|
2500
|
+
? String(object.rewardDenomOnHost)
|
|
2501
|
+
: '',
|
|
2502
|
+
rewardDenomOnReward: isSet(object.rewardDenomOnReward)
|
|
2503
|
+
? String(object.rewardDenomOnReward)
|
|
2504
|
+
: '',
|
|
2505
|
+
rewardDenomOnTrade: isSet(object.rewardDenomOnTrade)
|
|
2506
|
+
? String(object.rewardDenomOnTrade)
|
|
2507
|
+
: '',
|
|
2508
|
+
hostDenomOnTrade: isSet(object.hostDenomOnTrade)
|
|
2509
|
+
? String(object.hostDenomOnTrade)
|
|
2510
|
+
: '',
|
|
2511
|
+
hostDenomOnHost: isSet(object.hostDenomOnHost)
|
|
2512
|
+
? String(object.hostDenomOnHost)
|
|
2513
|
+
: '',
|
|
2514
|
+
poolId: isSet(object.poolId)
|
|
2515
|
+
? BigInt(object.poolId.toString())
|
|
2516
|
+
: BigInt(0),
|
|
2517
|
+
maxAllowedSwapLossRate: isSet(object.maxAllowedSwapLossRate)
|
|
2518
|
+
? String(object.maxAllowedSwapLossRate)
|
|
2519
|
+
: '',
|
|
2520
|
+
minSwapAmount: isSet(object.minSwapAmount)
|
|
2521
|
+
? String(object.minSwapAmount)
|
|
2522
|
+
: '',
|
|
2523
|
+
maxSwapAmount: isSet(object.maxSwapAmount)
|
|
2524
|
+
? String(object.maxSwapAmount)
|
|
2525
|
+
: '',
|
|
2526
|
+
minTransferAmount: isSet(object.minTransferAmount)
|
|
2527
|
+
? String(object.minTransferAmount)
|
|
2528
|
+
: '',
|
|
2529
|
+
};
|
|
2530
|
+
},
|
|
2531
|
+
toJSON(message) {
|
|
2532
|
+
const obj = {};
|
|
2533
|
+
message.authority !== undefined && (obj.authority = message.authority);
|
|
2534
|
+
message.hostChainId !== undefined &&
|
|
2535
|
+
(obj.hostChainId = message.hostChainId);
|
|
2536
|
+
message.strideToRewardConnectionId !== undefined &&
|
|
2537
|
+
(obj.strideToRewardConnectionId = message.strideToRewardConnectionId);
|
|
2538
|
+
message.strideToTradeConnectionId !== undefined &&
|
|
2539
|
+
(obj.strideToTradeConnectionId = message.strideToTradeConnectionId);
|
|
2540
|
+
message.hostToRewardTransferChannelId !== undefined &&
|
|
2541
|
+
(obj.hostToRewardTransferChannelId =
|
|
2542
|
+
message.hostToRewardTransferChannelId);
|
|
2543
|
+
message.rewardToTradeTransferChannelId !== undefined &&
|
|
2544
|
+
(obj.rewardToTradeTransferChannelId =
|
|
2545
|
+
message.rewardToTradeTransferChannelId);
|
|
2546
|
+
message.tradeToHostTransferChannelId !== undefined &&
|
|
2547
|
+
(obj.tradeToHostTransferChannelId = message.tradeToHostTransferChannelId);
|
|
2548
|
+
message.rewardDenomOnHost !== undefined &&
|
|
2549
|
+
(obj.rewardDenomOnHost = message.rewardDenomOnHost);
|
|
2550
|
+
message.rewardDenomOnReward !== undefined &&
|
|
2551
|
+
(obj.rewardDenomOnReward = message.rewardDenomOnReward);
|
|
2552
|
+
message.rewardDenomOnTrade !== undefined &&
|
|
2553
|
+
(obj.rewardDenomOnTrade = message.rewardDenomOnTrade);
|
|
2554
|
+
message.hostDenomOnTrade !== undefined &&
|
|
2555
|
+
(obj.hostDenomOnTrade = message.hostDenomOnTrade);
|
|
2556
|
+
message.hostDenomOnHost !== undefined &&
|
|
2557
|
+
(obj.hostDenomOnHost = message.hostDenomOnHost);
|
|
2558
|
+
message.poolId !== undefined &&
|
|
2559
|
+
(obj.poolId = (message.poolId || BigInt(0)).toString());
|
|
2560
|
+
message.maxAllowedSwapLossRate !== undefined &&
|
|
2561
|
+
(obj.maxAllowedSwapLossRate = message.maxAllowedSwapLossRate);
|
|
2562
|
+
message.minSwapAmount !== undefined &&
|
|
2563
|
+
(obj.minSwapAmount = message.minSwapAmount);
|
|
2564
|
+
message.maxSwapAmount !== undefined &&
|
|
2565
|
+
(obj.maxSwapAmount = message.maxSwapAmount);
|
|
2566
|
+
message.minTransferAmount !== undefined &&
|
|
2567
|
+
(obj.minTransferAmount = message.minTransferAmount);
|
|
2568
|
+
return obj;
|
|
2569
|
+
},
|
|
2570
|
+
fromPartial(object) {
|
|
2571
|
+
const message = createBaseMsgCreateTradeRoute();
|
|
2572
|
+
message.authority = object.authority ?? '';
|
|
2573
|
+
message.hostChainId = object.hostChainId ?? '';
|
|
2574
|
+
message.strideToRewardConnectionId =
|
|
2575
|
+
object.strideToRewardConnectionId ?? '';
|
|
2576
|
+
message.strideToTradeConnectionId = object.strideToTradeConnectionId ?? '';
|
|
2577
|
+
message.hostToRewardTransferChannelId =
|
|
2578
|
+
object.hostToRewardTransferChannelId ?? '';
|
|
2579
|
+
message.rewardToTradeTransferChannelId =
|
|
2580
|
+
object.rewardToTradeTransferChannelId ?? '';
|
|
2581
|
+
message.tradeToHostTransferChannelId =
|
|
2582
|
+
object.tradeToHostTransferChannelId ?? '';
|
|
2583
|
+
message.rewardDenomOnHost = object.rewardDenomOnHost ?? '';
|
|
2584
|
+
message.rewardDenomOnReward = object.rewardDenomOnReward ?? '';
|
|
2585
|
+
message.rewardDenomOnTrade = object.rewardDenomOnTrade ?? '';
|
|
2586
|
+
message.hostDenomOnTrade = object.hostDenomOnTrade ?? '';
|
|
2587
|
+
message.hostDenomOnHost = object.hostDenomOnHost ?? '';
|
|
2588
|
+
message.poolId =
|
|
2589
|
+
object.poolId !== undefined && object.poolId !== null
|
|
2590
|
+
? BigInt(object.poolId.toString())
|
|
2591
|
+
: BigInt(0);
|
|
2592
|
+
message.maxAllowedSwapLossRate = object.maxAllowedSwapLossRate ?? '';
|
|
2593
|
+
message.minSwapAmount = object.minSwapAmount ?? '';
|
|
2594
|
+
message.maxSwapAmount = object.maxSwapAmount ?? '';
|
|
2595
|
+
message.minTransferAmount = object.minTransferAmount ?? '';
|
|
2596
|
+
return message;
|
|
2597
|
+
},
|
|
2598
|
+
fromProtoMsg(message) {
|
|
2599
|
+
return MsgCreateTradeRoute.decode(message.value);
|
|
2600
|
+
},
|
|
2601
|
+
toProto(message) {
|
|
2602
|
+
return MsgCreateTradeRoute.encode(message).finish();
|
|
2603
|
+
},
|
|
2604
|
+
toProtoMsg(message) {
|
|
2605
|
+
return {
|
|
2606
|
+
typeUrl: '/stride.stakeibc.MsgCreateTradeRoute',
|
|
2607
|
+
value: MsgCreateTradeRoute.encode(message).finish(),
|
|
2608
|
+
};
|
|
2609
|
+
},
|
|
2610
|
+
};
|
|
2611
|
+
function createBaseMsgCreateTradeRouteResponse() {
|
|
2612
|
+
return {};
|
|
2613
|
+
}
|
|
2614
|
+
export const MsgCreateTradeRouteResponse = {
|
|
2615
|
+
typeUrl: '/stride.stakeibc.MsgCreateTradeRouteResponse',
|
|
2616
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
2617
|
+
return writer;
|
|
2618
|
+
},
|
|
2619
|
+
decode(input, length) {
|
|
2620
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2621
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2622
|
+
const message = createBaseMsgCreateTradeRouteResponse();
|
|
2623
|
+
while (reader.pos < end) {
|
|
2624
|
+
const tag = reader.uint32();
|
|
2625
|
+
switch (tag >>> 3) {
|
|
2626
|
+
default:
|
|
2627
|
+
reader.skipType(tag & 7);
|
|
2628
|
+
break;
|
|
2629
|
+
}
|
|
2630
|
+
}
|
|
2631
|
+
return message;
|
|
2632
|
+
},
|
|
2633
|
+
fromJSON(_) {
|
|
2634
|
+
return {};
|
|
2635
|
+
},
|
|
2636
|
+
toJSON(_) {
|
|
2637
|
+
const obj = {};
|
|
2638
|
+
return obj;
|
|
2639
|
+
},
|
|
2640
|
+
fromPartial(_) {
|
|
2641
|
+
const message = createBaseMsgCreateTradeRouteResponse();
|
|
2642
|
+
return message;
|
|
2643
|
+
},
|
|
2644
|
+
fromProtoMsg(message) {
|
|
2645
|
+
return MsgCreateTradeRouteResponse.decode(message.value);
|
|
2646
|
+
},
|
|
2647
|
+
toProto(message) {
|
|
2648
|
+
return MsgCreateTradeRouteResponse.encode(message).finish();
|
|
2649
|
+
},
|
|
2650
|
+
toProtoMsg(message) {
|
|
2651
|
+
return {
|
|
2652
|
+
typeUrl: '/stride.stakeibc.MsgCreateTradeRouteResponse',
|
|
2653
|
+
value: MsgCreateTradeRouteResponse.encode(message).finish(),
|
|
2654
|
+
};
|
|
2655
|
+
},
|
|
2656
|
+
};
|
|
2657
|
+
function createBaseMsgDeleteTradeRoute() {
|
|
2658
|
+
return {
|
|
2659
|
+
authority: '',
|
|
2660
|
+
rewardDenom: '',
|
|
2661
|
+
hostDenom: '',
|
|
2662
|
+
};
|
|
2663
|
+
}
|
|
2664
|
+
export const MsgDeleteTradeRoute = {
|
|
2665
|
+
typeUrl: '/stride.stakeibc.MsgDeleteTradeRoute',
|
|
2666
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
2667
|
+
if (message.authority !== '') {
|
|
2668
|
+
writer.uint32(10).string(message.authority);
|
|
2669
|
+
}
|
|
2670
|
+
if (message.rewardDenom !== '') {
|
|
2671
|
+
writer.uint32(18).string(message.rewardDenom);
|
|
2672
|
+
}
|
|
2673
|
+
if (message.hostDenom !== '') {
|
|
2674
|
+
writer.uint32(26).string(message.hostDenom);
|
|
2675
|
+
}
|
|
2676
|
+
return writer;
|
|
2677
|
+
},
|
|
2678
|
+
decode(input, length) {
|
|
2679
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2680
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2681
|
+
const message = createBaseMsgDeleteTradeRoute();
|
|
2682
|
+
while (reader.pos < end) {
|
|
2683
|
+
const tag = reader.uint32();
|
|
2684
|
+
switch (tag >>> 3) {
|
|
2685
|
+
case 1:
|
|
2686
|
+
message.authority = reader.string();
|
|
2687
|
+
break;
|
|
2688
|
+
case 2:
|
|
2689
|
+
message.rewardDenom = reader.string();
|
|
2690
|
+
break;
|
|
2691
|
+
case 3:
|
|
2692
|
+
message.hostDenom = reader.string();
|
|
2693
|
+
break;
|
|
2694
|
+
default:
|
|
2695
|
+
reader.skipType(tag & 7);
|
|
2696
|
+
break;
|
|
2697
|
+
}
|
|
2698
|
+
}
|
|
2699
|
+
return message;
|
|
2700
|
+
},
|
|
2701
|
+
fromJSON(object) {
|
|
2702
|
+
return {
|
|
2703
|
+
authority: isSet(object.authority) ? String(object.authority) : '',
|
|
2704
|
+
rewardDenom: isSet(object.rewardDenom) ? String(object.rewardDenom) : '',
|
|
2705
|
+
hostDenom: isSet(object.hostDenom) ? String(object.hostDenom) : '',
|
|
2706
|
+
};
|
|
2707
|
+
},
|
|
2708
|
+
toJSON(message) {
|
|
2709
|
+
const obj = {};
|
|
2710
|
+
message.authority !== undefined && (obj.authority = message.authority);
|
|
2711
|
+
message.rewardDenom !== undefined &&
|
|
2712
|
+
(obj.rewardDenom = message.rewardDenom);
|
|
2713
|
+
message.hostDenom !== undefined && (obj.hostDenom = message.hostDenom);
|
|
2714
|
+
return obj;
|
|
2715
|
+
},
|
|
2716
|
+
fromPartial(object) {
|
|
2717
|
+
const message = createBaseMsgDeleteTradeRoute();
|
|
2718
|
+
message.authority = object.authority ?? '';
|
|
2719
|
+
message.rewardDenom = object.rewardDenom ?? '';
|
|
2720
|
+
message.hostDenom = object.hostDenom ?? '';
|
|
2721
|
+
return message;
|
|
2722
|
+
},
|
|
2723
|
+
fromProtoMsg(message) {
|
|
2724
|
+
return MsgDeleteTradeRoute.decode(message.value);
|
|
2725
|
+
},
|
|
2726
|
+
toProto(message) {
|
|
2727
|
+
return MsgDeleteTradeRoute.encode(message).finish();
|
|
2728
|
+
},
|
|
2729
|
+
toProtoMsg(message) {
|
|
2730
|
+
return {
|
|
2731
|
+
typeUrl: '/stride.stakeibc.MsgDeleteTradeRoute',
|
|
2732
|
+
value: MsgDeleteTradeRoute.encode(message).finish(),
|
|
2733
|
+
};
|
|
2734
|
+
},
|
|
2735
|
+
};
|
|
2736
|
+
function createBaseMsgDeleteTradeRouteResponse() {
|
|
2737
|
+
return {};
|
|
2738
|
+
}
|
|
2739
|
+
export const MsgDeleteTradeRouteResponse = {
|
|
2740
|
+
typeUrl: '/stride.stakeibc.MsgDeleteTradeRouteResponse',
|
|
2741
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
2742
|
+
return writer;
|
|
2743
|
+
},
|
|
2744
|
+
decode(input, length) {
|
|
2745
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2746
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2747
|
+
const message = createBaseMsgDeleteTradeRouteResponse();
|
|
2748
|
+
while (reader.pos < end) {
|
|
2749
|
+
const tag = reader.uint32();
|
|
2750
|
+
switch (tag >>> 3) {
|
|
2751
|
+
default:
|
|
2752
|
+
reader.skipType(tag & 7);
|
|
2753
|
+
break;
|
|
2754
|
+
}
|
|
2755
|
+
}
|
|
2756
|
+
return message;
|
|
2757
|
+
},
|
|
2758
|
+
fromJSON(_) {
|
|
2759
|
+
return {};
|
|
2760
|
+
},
|
|
2761
|
+
toJSON(_) {
|
|
2762
|
+
const obj = {};
|
|
2763
|
+
return obj;
|
|
2764
|
+
},
|
|
2765
|
+
fromPartial(_) {
|
|
2766
|
+
const message = createBaseMsgDeleteTradeRouteResponse();
|
|
2767
|
+
return message;
|
|
2768
|
+
},
|
|
2769
|
+
fromProtoMsg(message) {
|
|
2770
|
+
return MsgDeleteTradeRouteResponse.decode(message.value);
|
|
2771
|
+
},
|
|
2772
|
+
toProto(message) {
|
|
2773
|
+
return MsgDeleteTradeRouteResponse.encode(message).finish();
|
|
2774
|
+
},
|
|
2775
|
+
toProtoMsg(message) {
|
|
2776
|
+
return {
|
|
2777
|
+
typeUrl: '/stride.stakeibc.MsgDeleteTradeRouteResponse',
|
|
2778
|
+
value: MsgDeleteTradeRouteResponse.encode(message).finish(),
|
|
2779
|
+
};
|
|
2780
|
+
},
|
|
2781
|
+
};
|
|
2782
|
+
function createBaseMsgUpdateTradeRoute() {
|
|
2783
|
+
return {
|
|
2784
|
+
authority: '',
|
|
2785
|
+
rewardDenom: '',
|
|
2786
|
+
hostDenom: '',
|
|
2787
|
+
poolId: BigInt(0),
|
|
2788
|
+
maxAllowedSwapLossRate: '',
|
|
2789
|
+
minSwapAmount: '',
|
|
2790
|
+
maxSwapAmount: '',
|
|
2791
|
+
minTransferAmount: '',
|
|
2792
|
+
};
|
|
2793
|
+
}
|
|
2794
|
+
export const MsgUpdateTradeRoute = {
|
|
2795
|
+
typeUrl: '/stride.stakeibc.MsgUpdateTradeRoute',
|
|
2796
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
2797
|
+
if (message.authority !== '') {
|
|
2798
|
+
writer.uint32(10).string(message.authority);
|
|
2799
|
+
}
|
|
2800
|
+
if (message.rewardDenom !== '') {
|
|
2801
|
+
writer.uint32(18).string(message.rewardDenom);
|
|
2802
|
+
}
|
|
2803
|
+
if (message.hostDenom !== '') {
|
|
2804
|
+
writer.uint32(26).string(message.hostDenom);
|
|
2805
|
+
}
|
|
2806
|
+
if (message.poolId !== BigInt(0)) {
|
|
2807
|
+
writer.uint32(32).uint64(message.poolId);
|
|
2808
|
+
}
|
|
2809
|
+
if (message.maxAllowedSwapLossRate !== '') {
|
|
2810
|
+
writer.uint32(42).string(message.maxAllowedSwapLossRate);
|
|
2811
|
+
}
|
|
2812
|
+
if (message.minSwapAmount !== '') {
|
|
2813
|
+
writer.uint32(50).string(message.minSwapAmount);
|
|
2814
|
+
}
|
|
2815
|
+
if (message.maxSwapAmount !== '') {
|
|
2816
|
+
writer.uint32(58).string(message.maxSwapAmount);
|
|
2817
|
+
}
|
|
2818
|
+
if (message.minTransferAmount !== '') {
|
|
2819
|
+
writer.uint32(138).string(message.minTransferAmount);
|
|
2820
|
+
}
|
|
2821
|
+
return writer;
|
|
2822
|
+
},
|
|
2823
|
+
decode(input, length) {
|
|
2824
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2825
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2826
|
+
const message = createBaseMsgUpdateTradeRoute();
|
|
2827
|
+
while (reader.pos < end) {
|
|
2828
|
+
const tag = reader.uint32();
|
|
2829
|
+
switch (tag >>> 3) {
|
|
2830
|
+
case 1:
|
|
2831
|
+
message.authority = reader.string();
|
|
2832
|
+
break;
|
|
2833
|
+
case 2:
|
|
2834
|
+
message.rewardDenom = reader.string();
|
|
2835
|
+
break;
|
|
2836
|
+
case 3:
|
|
2837
|
+
message.hostDenom = reader.string();
|
|
2838
|
+
break;
|
|
2839
|
+
case 4:
|
|
2840
|
+
message.poolId = reader.uint64();
|
|
2841
|
+
break;
|
|
2842
|
+
case 5:
|
|
2843
|
+
message.maxAllowedSwapLossRate = reader.string();
|
|
2844
|
+
break;
|
|
2845
|
+
case 6:
|
|
2846
|
+
message.minSwapAmount = reader.string();
|
|
2847
|
+
break;
|
|
2848
|
+
case 7:
|
|
2849
|
+
message.maxSwapAmount = reader.string();
|
|
2850
|
+
break;
|
|
2851
|
+
case 17:
|
|
2852
|
+
message.minTransferAmount = reader.string();
|
|
2853
|
+
break;
|
|
2854
|
+
default:
|
|
2855
|
+
reader.skipType(tag & 7);
|
|
2856
|
+
break;
|
|
2857
|
+
}
|
|
2858
|
+
}
|
|
2859
|
+
return message;
|
|
2860
|
+
},
|
|
2861
|
+
fromJSON(object) {
|
|
2862
|
+
return {
|
|
2863
|
+
authority: isSet(object.authority) ? String(object.authority) : '',
|
|
2864
|
+
rewardDenom: isSet(object.rewardDenom) ? String(object.rewardDenom) : '',
|
|
2865
|
+
hostDenom: isSet(object.hostDenom) ? String(object.hostDenom) : '',
|
|
2866
|
+
poolId: isSet(object.poolId)
|
|
2867
|
+
? BigInt(object.poolId.toString())
|
|
2868
|
+
: BigInt(0),
|
|
2869
|
+
maxAllowedSwapLossRate: isSet(object.maxAllowedSwapLossRate)
|
|
2870
|
+
? String(object.maxAllowedSwapLossRate)
|
|
2871
|
+
: '',
|
|
2872
|
+
minSwapAmount: isSet(object.minSwapAmount)
|
|
2873
|
+
? String(object.minSwapAmount)
|
|
2874
|
+
: '',
|
|
2875
|
+
maxSwapAmount: isSet(object.maxSwapAmount)
|
|
2876
|
+
? String(object.maxSwapAmount)
|
|
2877
|
+
: '',
|
|
2878
|
+
minTransferAmount: isSet(object.minTransferAmount)
|
|
2879
|
+
? String(object.minTransferAmount)
|
|
2880
|
+
: '',
|
|
2881
|
+
};
|
|
2882
|
+
},
|
|
2883
|
+
toJSON(message) {
|
|
2884
|
+
const obj = {};
|
|
2885
|
+
message.authority !== undefined && (obj.authority = message.authority);
|
|
2886
|
+
message.rewardDenom !== undefined &&
|
|
2887
|
+
(obj.rewardDenom = message.rewardDenom);
|
|
2888
|
+
message.hostDenom !== undefined && (obj.hostDenom = message.hostDenom);
|
|
2889
|
+
message.poolId !== undefined &&
|
|
2890
|
+
(obj.poolId = (message.poolId || BigInt(0)).toString());
|
|
2891
|
+
message.maxAllowedSwapLossRate !== undefined &&
|
|
2892
|
+
(obj.maxAllowedSwapLossRate = message.maxAllowedSwapLossRate);
|
|
2893
|
+
message.minSwapAmount !== undefined &&
|
|
2894
|
+
(obj.minSwapAmount = message.minSwapAmount);
|
|
2895
|
+
message.maxSwapAmount !== undefined &&
|
|
2896
|
+
(obj.maxSwapAmount = message.maxSwapAmount);
|
|
2897
|
+
message.minTransferAmount !== undefined &&
|
|
2898
|
+
(obj.minTransferAmount = message.minTransferAmount);
|
|
2899
|
+
return obj;
|
|
2900
|
+
},
|
|
2901
|
+
fromPartial(object) {
|
|
2902
|
+
const message = createBaseMsgUpdateTradeRoute();
|
|
2903
|
+
message.authority = object.authority ?? '';
|
|
2904
|
+
message.rewardDenom = object.rewardDenom ?? '';
|
|
2905
|
+
message.hostDenom = object.hostDenom ?? '';
|
|
2906
|
+
message.poolId =
|
|
2907
|
+
object.poolId !== undefined && object.poolId !== null
|
|
2908
|
+
? BigInt(object.poolId.toString())
|
|
2909
|
+
: BigInt(0);
|
|
2910
|
+
message.maxAllowedSwapLossRate = object.maxAllowedSwapLossRate ?? '';
|
|
2911
|
+
message.minSwapAmount = object.minSwapAmount ?? '';
|
|
2912
|
+
message.maxSwapAmount = object.maxSwapAmount ?? '';
|
|
2913
|
+
message.minTransferAmount = object.minTransferAmount ?? '';
|
|
2914
|
+
return message;
|
|
2915
|
+
},
|
|
2916
|
+
fromProtoMsg(message) {
|
|
2917
|
+
return MsgUpdateTradeRoute.decode(message.value);
|
|
2918
|
+
},
|
|
2919
|
+
toProto(message) {
|
|
2920
|
+
return MsgUpdateTradeRoute.encode(message).finish();
|
|
2921
|
+
},
|
|
2922
|
+
toProtoMsg(message) {
|
|
2923
|
+
return {
|
|
2924
|
+
typeUrl: '/stride.stakeibc.MsgUpdateTradeRoute',
|
|
2925
|
+
value: MsgUpdateTradeRoute.encode(message).finish(),
|
|
2926
|
+
};
|
|
2927
|
+
},
|
|
2928
|
+
};
|
|
2929
|
+
function createBaseMsgUpdateTradeRouteResponse() {
|
|
2930
|
+
return {};
|
|
2931
|
+
}
|
|
2932
|
+
export const MsgUpdateTradeRouteResponse = {
|
|
2933
|
+
typeUrl: '/stride.stakeibc.MsgUpdateTradeRouteResponse',
|
|
2934
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
2935
|
+
return writer;
|
|
2936
|
+
},
|
|
2937
|
+
decode(input, length) {
|
|
2938
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2939
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2940
|
+
const message = createBaseMsgUpdateTradeRouteResponse();
|
|
2941
|
+
while (reader.pos < end) {
|
|
2942
|
+
const tag = reader.uint32();
|
|
2943
|
+
switch (tag >>> 3) {
|
|
2944
|
+
default:
|
|
2945
|
+
reader.skipType(tag & 7);
|
|
2946
|
+
break;
|
|
2947
|
+
}
|
|
2948
|
+
}
|
|
2949
|
+
return message;
|
|
2950
|
+
},
|
|
2951
|
+
fromJSON(_) {
|
|
2952
|
+
return {};
|
|
2953
|
+
},
|
|
2954
|
+
toJSON(_) {
|
|
2955
|
+
const obj = {};
|
|
2956
|
+
return obj;
|
|
2957
|
+
},
|
|
2958
|
+
fromPartial(_) {
|
|
2959
|
+
const message = createBaseMsgUpdateTradeRouteResponse();
|
|
2960
|
+
return message;
|
|
2961
|
+
},
|
|
2962
|
+
fromProtoMsg(message) {
|
|
2963
|
+
return MsgUpdateTradeRouteResponse.decode(message.value);
|
|
2964
|
+
},
|
|
2965
|
+
toProto(message) {
|
|
2966
|
+
return MsgUpdateTradeRouteResponse.encode(message).finish();
|
|
2967
|
+
},
|
|
2968
|
+
toProtoMsg(message) {
|
|
2969
|
+
return {
|
|
2970
|
+
typeUrl: '/stride.stakeibc.MsgUpdateTradeRouteResponse',
|
|
2971
|
+
value: MsgUpdateTradeRouteResponse.encode(message).finish(),
|
|
2972
|
+
};
|
|
2973
|
+
},
|
|
2974
|
+
};
|
|
2975
|
+
function createBaseMsgSetCommunityPoolRebate() {
|
|
2976
|
+
return {
|
|
2977
|
+
creator: '',
|
|
2978
|
+
chainId: '',
|
|
2979
|
+
rebateRate: '',
|
|
2980
|
+
liquidStakedStTokenAmount: '',
|
|
2981
|
+
};
|
|
2982
|
+
}
|
|
2983
|
+
export const MsgSetCommunityPoolRebate = {
|
|
2984
|
+
typeUrl: '/stride.stakeibc.MsgSetCommunityPoolRebate',
|
|
2985
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
2986
|
+
if (message.creator !== '') {
|
|
2987
|
+
writer.uint32(10).string(message.creator);
|
|
2988
|
+
}
|
|
2989
|
+
if (message.chainId !== '') {
|
|
2990
|
+
writer.uint32(18).string(message.chainId);
|
|
2991
|
+
}
|
|
2992
|
+
if (message.rebateRate !== '') {
|
|
2993
|
+
writer
|
|
2994
|
+
.uint32(26)
|
|
2995
|
+
.string(Decimal.fromUserInput(message.rebateRate, 18).atomics);
|
|
2996
|
+
}
|
|
2997
|
+
if (message.liquidStakedStTokenAmount !== '') {
|
|
2998
|
+
writer.uint32(34).string(message.liquidStakedStTokenAmount);
|
|
2999
|
+
}
|
|
3000
|
+
return writer;
|
|
3001
|
+
},
|
|
3002
|
+
decode(input, length) {
|
|
3003
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
3004
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3005
|
+
const message = createBaseMsgSetCommunityPoolRebate();
|
|
3006
|
+
while (reader.pos < end) {
|
|
3007
|
+
const tag = reader.uint32();
|
|
3008
|
+
switch (tag >>> 3) {
|
|
3009
|
+
case 1:
|
|
3010
|
+
message.creator = reader.string();
|
|
3011
|
+
break;
|
|
3012
|
+
case 2:
|
|
3013
|
+
message.chainId = reader.string();
|
|
3014
|
+
break;
|
|
3015
|
+
case 3:
|
|
3016
|
+
message.rebateRate = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
3017
|
+
break;
|
|
3018
|
+
case 4:
|
|
3019
|
+
message.liquidStakedStTokenAmount = reader.string();
|
|
3020
|
+
break;
|
|
3021
|
+
default:
|
|
3022
|
+
reader.skipType(tag & 7);
|
|
3023
|
+
break;
|
|
3024
|
+
}
|
|
3025
|
+
}
|
|
3026
|
+
return message;
|
|
3027
|
+
},
|
|
3028
|
+
fromJSON(object) {
|
|
3029
|
+
return {
|
|
3030
|
+
creator: isSet(object.creator) ? String(object.creator) : '',
|
|
3031
|
+
chainId: isSet(object.chainId) ? String(object.chainId) : '',
|
|
3032
|
+
rebateRate: isSet(object.rebateRate) ? String(object.rebateRate) : '',
|
|
3033
|
+
liquidStakedStTokenAmount: isSet(object.liquidStakedStTokenAmount)
|
|
3034
|
+
? String(object.liquidStakedStTokenAmount)
|
|
3035
|
+
: '',
|
|
3036
|
+
};
|
|
3037
|
+
},
|
|
3038
|
+
toJSON(message) {
|
|
3039
|
+
const obj = {};
|
|
3040
|
+
message.creator !== undefined && (obj.creator = message.creator);
|
|
3041
|
+
message.chainId !== undefined && (obj.chainId = message.chainId);
|
|
3042
|
+
message.rebateRate !== undefined && (obj.rebateRate = message.rebateRate);
|
|
3043
|
+
message.liquidStakedStTokenAmount !== undefined &&
|
|
3044
|
+
(obj.liquidStakedStTokenAmount = message.liquidStakedStTokenAmount);
|
|
3045
|
+
return obj;
|
|
3046
|
+
},
|
|
3047
|
+
fromPartial(object) {
|
|
3048
|
+
const message = createBaseMsgSetCommunityPoolRebate();
|
|
3049
|
+
message.creator = object.creator ?? '';
|
|
3050
|
+
message.chainId = object.chainId ?? '';
|
|
3051
|
+
message.rebateRate = object.rebateRate ?? '';
|
|
3052
|
+
message.liquidStakedStTokenAmount = object.liquidStakedStTokenAmount ?? '';
|
|
3053
|
+
return message;
|
|
3054
|
+
},
|
|
3055
|
+
fromProtoMsg(message) {
|
|
3056
|
+
return MsgSetCommunityPoolRebate.decode(message.value);
|
|
3057
|
+
},
|
|
3058
|
+
toProto(message) {
|
|
3059
|
+
return MsgSetCommunityPoolRebate.encode(message).finish();
|
|
3060
|
+
},
|
|
3061
|
+
toProtoMsg(message) {
|
|
3062
|
+
return {
|
|
3063
|
+
typeUrl: '/stride.stakeibc.MsgSetCommunityPoolRebate',
|
|
3064
|
+
value: MsgSetCommunityPoolRebate.encode(message).finish(),
|
|
3065
|
+
};
|
|
3066
|
+
},
|
|
3067
|
+
};
|
|
3068
|
+
function createBaseMsgSetCommunityPoolRebateResponse() {
|
|
3069
|
+
return {};
|
|
3070
|
+
}
|
|
3071
|
+
export const MsgSetCommunityPoolRebateResponse = {
|
|
3072
|
+
typeUrl: '/stride.stakeibc.MsgSetCommunityPoolRebateResponse',
|
|
3073
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
3074
|
+
return writer;
|
|
3075
|
+
},
|
|
3076
|
+
decode(input, length) {
|
|
3077
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
3078
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3079
|
+
const message = createBaseMsgSetCommunityPoolRebateResponse();
|
|
3080
|
+
while (reader.pos < end) {
|
|
3081
|
+
const tag = reader.uint32();
|
|
3082
|
+
switch (tag >>> 3) {
|
|
3083
|
+
default:
|
|
3084
|
+
reader.skipType(tag & 7);
|
|
3085
|
+
break;
|
|
3086
|
+
}
|
|
3087
|
+
}
|
|
3088
|
+
return message;
|
|
3089
|
+
},
|
|
3090
|
+
fromJSON(_) {
|
|
3091
|
+
return {};
|
|
3092
|
+
},
|
|
3093
|
+
toJSON(_) {
|
|
3094
|
+
const obj = {};
|
|
3095
|
+
return obj;
|
|
3096
|
+
},
|
|
3097
|
+
fromPartial(_) {
|
|
3098
|
+
const message = createBaseMsgSetCommunityPoolRebateResponse();
|
|
3099
|
+
return message;
|
|
3100
|
+
},
|
|
3101
|
+
fromProtoMsg(message) {
|
|
3102
|
+
return MsgSetCommunityPoolRebateResponse.decode(message.value);
|
|
3103
|
+
},
|
|
3104
|
+
toProto(message) {
|
|
3105
|
+
return MsgSetCommunityPoolRebateResponse.encode(message).finish();
|
|
3106
|
+
},
|
|
3107
|
+
toProtoMsg(message) {
|
|
3108
|
+
return {
|
|
3109
|
+
typeUrl: '/stride.stakeibc.MsgSetCommunityPoolRebateResponse',
|
|
3110
|
+
value: MsgSetCommunityPoolRebateResponse.encode(message).finish(),
|
|
3111
|
+
};
|
|
3112
|
+
},
|
|
3113
|
+
};
|
|
3114
|
+
function createBaseMsgToggleTradeController() {
|
|
3115
|
+
return {
|
|
3116
|
+
creator: '',
|
|
3117
|
+
chainId: '',
|
|
3118
|
+
permissionChange: 0,
|
|
3119
|
+
address: '',
|
|
3120
|
+
legacy: false,
|
|
3121
|
+
};
|
|
3122
|
+
}
|
|
3123
|
+
export const MsgToggleTradeController = {
|
|
3124
|
+
typeUrl: '/stride.stakeibc.MsgToggleTradeController',
|
|
3125
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
3126
|
+
if (message.creator !== '') {
|
|
3127
|
+
writer.uint32(10).string(message.creator);
|
|
3128
|
+
}
|
|
3129
|
+
if (message.chainId !== '') {
|
|
3130
|
+
writer.uint32(18).string(message.chainId);
|
|
3131
|
+
}
|
|
3132
|
+
if (message.permissionChange !== 0) {
|
|
3133
|
+
writer.uint32(24).int32(message.permissionChange);
|
|
3134
|
+
}
|
|
3135
|
+
if (message.address !== '') {
|
|
3136
|
+
writer.uint32(34).string(message.address);
|
|
3137
|
+
}
|
|
3138
|
+
if (message.legacy === true) {
|
|
3139
|
+
writer.uint32(40).bool(message.legacy);
|
|
3140
|
+
}
|
|
3141
|
+
return writer;
|
|
3142
|
+
},
|
|
3143
|
+
decode(input, length) {
|
|
3144
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
3145
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3146
|
+
const message = createBaseMsgToggleTradeController();
|
|
3147
|
+
while (reader.pos < end) {
|
|
3148
|
+
const tag = reader.uint32();
|
|
3149
|
+
switch (tag >>> 3) {
|
|
3150
|
+
case 1:
|
|
3151
|
+
message.creator = reader.string();
|
|
3152
|
+
break;
|
|
3153
|
+
case 2:
|
|
3154
|
+
message.chainId = reader.string();
|
|
3155
|
+
break;
|
|
3156
|
+
case 3:
|
|
3157
|
+
message.permissionChange = reader.int32();
|
|
3158
|
+
break;
|
|
3159
|
+
case 4:
|
|
3160
|
+
message.address = reader.string();
|
|
3161
|
+
break;
|
|
3162
|
+
case 5:
|
|
3163
|
+
message.legacy = reader.bool();
|
|
3164
|
+
break;
|
|
3165
|
+
default:
|
|
3166
|
+
reader.skipType(tag & 7);
|
|
3167
|
+
break;
|
|
3168
|
+
}
|
|
3169
|
+
}
|
|
3170
|
+
return message;
|
|
3171
|
+
},
|
|
3172
|
+
fromJSON(object) {
|
|
3173
|
+
return {
|
|
3174
|
+
creator: isSet(object.creator) ? String(object.creator) : '',
|
|
3175
|
+
chainId: isSet(object.chainId) ? String(object.chainId) : '',
|
|
3176
|
+
permissionChange: isSet(object.permissionChange)
|
|
3177
|
+
? authzPermissionChangeFromJSON(object.permissionChange)
|
|
3178
|
+
: -1,
|
|
3179
|
+
address: isSet(object.address) ? String(object.address) : '',
|
|
3180
|
+
legacy: isSet(object.legacy) ? Boolean(object.legacy) : false,
|
|
3181
|
+
};
|
|
3182
|
+
},
|
|
3183
|
+
toJSON(message) {
|
|
3184
|
+
const obj = {};
|
|
3185
|
+
message.creator !== undefined && (obj.creator = message.creator);
|
|
3186
|
+
message.chainId !== undefined && (obj.chainId = message.chainId);
|
|
3187
|
+
message.permissionChange !== undefined &&
|
|
3188
|
+
(obj.permissionChange = authzPermissionChangeToJSON(message.permissionChange));
|
|
3189
|
+
message.address !== undefined && (obj.address = message.address);
|
|
3190
|
+
message.legacy !== undefined && (obj.legacy = message.legacy);
|
|
3191
|
+
return obj;
|
|
3192
|
+
},
|
|
3193
|
+
fromPartial(object) {
|
|
3194
|
+
const message = createBaseMsgToggleTradeController();
|
|
3195
|
+
message.creator = object.creator ?? '';
|
|
3196
|
+
message.chainId = object.chainId ?? '';
|
|
3197
|
+
message.permissionChange = object.permissionChange ?? 0;
|
|
3198
|
+
message.address = object.address ?? '';
|
|
3199
|
+
message.legacy = object.legacy ?? false;
|
|
3200
|
+
return message;
|
|
3201
|
+
},
|
|
3202
|
+
fromProtoMsg(message) {
|
|
3203
|
+
return MsgToggleTradeController.decode(message.value);
|
|
3204
|
+
},
|
|
3205
|
+
toProto(message) {
|
|
3206
|
+
return MsgToggleTradeController.encode(message).finish();
|
|
3207
|
+
},
|
|
3208
|
+
toProtoMsg(message) {
|
|
3209
|
+
return {
|
|
3210
|
+
typeUrl: '/stride.stakeibc.MsgToggleTradeController',
|
|
3211
|
+
value: MsgToggleTradeController.encode(message).finish(),
|
|
3212
|
+
};
|
|
3213
|
+
},
|
|
3214
|
+
};
|
|
3215
|
+
function createBaseMsgToggleTradeControllerResponse() {
|
|
3216
|
+
return {};
|
|
3217
|
+
}
|
|
3218
|
+
export const MsgToggleTradeControllerResponse = {
|
|
3219
|
+
typeUrl: '/stride.stakeibc.MsgToggleTradeControllerResponse',
|
|
3220
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
3221
|
+
return writer;
|
|
3222
|
+
},
|
|
3223
|
+
decode(input, length) {
|
|
3224
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
3225
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3226
|
+
const message = createBaseMsgToggleTradeControllerResponse();
|
|
3227
|
+
while (reader.pos < end) {
|
|
3228
|
+
const tag = reader.uint32();
|
|
3229
|
+
switch (tag >>> 3) {
|
|
3230
|
+
default:
|
|
3231
|
+
reader.skipType(tag & 7);
|
|
3232
|
+
break;
|
|
3233
|
+
}
|
|
3234
|
+
}
|
|
3235
|
+
return message;
|
|
3236
|
+
},
|
|
3237
|
+
fromJSON(_) {
|
|
3238
|
+
return {};
|
|
3239
|
+
},
|
|
3240
|
+
toJSON(_) {
|
|
3241
|
+
const obj = {};
|
|
3242
|
+
return obj;
|
|
3243
|
+
},
|
|
3244
|
+
fromPartial(_) {
|
|
3245
|
+
const message = createBaseMsgToggleTradeControllerResponse();
|
|
3246
|
+
return message;
|
|
3247
|
+
},
|
|
3248
|
+
fromProtoMsg(message) {
|
|
3249
|
+
return MsgToggleTradeControllerResponse.decode(message.value);
|
|
3250
|
+
},
|
|
3251
|
+
toProto(message) {
|
|
3252
|
+
return MsgToggleTradeControllerResponse.encode(message).finish();
|
|
3253
|
+
},
|
|
3254
|
+
toProtoMsg(message) {
|
|
3255
|
+
return {
|
|
3256
|
+
typeUrl: '/stride.stakeibc.MsgToggleTradeControllerResponse',
|
|
3257
|
+
value: MsgToggleTradeControllerResponse.encode(message).finish(),
|
|
3258
|
+
};
|
|
3259
|
+
},
|
|
3260
|
+
};
|
|
3261
|
+
function createBaseMsgUpdateHostZoneParams() {
|
|
3262
|
+
return {
|
|
3263
|
+
authority: '',
|
|
3264
|
+
chainId: '',
|
|
3265
|
+
maxMessagesPerIcaTx: BigInt(0),
|
|
3266
|
+
};
|
|
3267
|
+
}
|
|
3268
|
+
export const MsgUpdateHostZoneParams = {
|
|
3269
|
+
typeUrl: '/stride.stakeibc.MsgUpdateHostZoneParams',
|
|
3270
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
3271
|
+
if (message.authority !== '') {
|
|
3272
|
+
writer.uint32(10).string(message.authority);
|
|
3273
|
+
}
|
|
3274
|
+
if (message.chainId !== '') {
|
|
3275
|
+
writer.uint32(18).string(message.chainId);
|
|
3276
|
+
}
|
|
3277
|
+
if (message.maxMessagesPerIcaTx !== BigInt(0)) {
|
|
3278
|
+
writer.uint32(24).uint64(message.maxMessagesPerIcaTx);
|
|
3279
|
+
}
|
|
3280
|
+
return writer;
|
|
3281
|
+
},
|
|
3282
|
+
decode(input, length) {
|
|
3283
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
3284
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3285
|
+
const message = createBaseMsgUpdateHostZoneParams();
|
|
3286
|
+
while (reader.pos < end) {
|
|
3287
|
+
const tag = reader.uint32();
|
|
3288
|
+
switch (tag >>> 3) {
|
|
3289
|
+
case 1:
|
|
3290
|
+
message.authority = reader.string();
|
|
3291
|
+
break;
|
|
3292
|
+
case 2:
|
|
3293
|
+
message.chainId = reader.string();
|
|
3294
|
+
break;
|
|
3295
|
+
case 3:
|
|
3296
|
+
message.maxMessagesPerIcaTx = reader.uint64();
|
|
3297
|
+
break;
|
|
3298
|
+
default:
|
|
3299
|
+
reader.skipType(tag & 7);
|
|
3300
|
+
break;
|
|
3301
|
+
}
|
|
3302
|
+
}
|
|
3303
|
+
return message;
|
|
3304
|
+
},
|
|
3305
|
+
fromJSON(object) {
|
|
3306
|
+
return {
|
|
3307
|
+
authority: isSet(object.authority) ? String(object.authority) : '',
|
|
3308
|
+
chainId: isSet(object.chainId) ? String(object.chainId) : '',
|
|
3309
|
+
maxMessagesPerIcaTx: isSet(object.maxMessagesPerIcaTx)
|
|
3310
|
+
? BigInt(object.maxMessagesPerIcaTx.toString())
|
|
3311
|
+
: BigInt(0),
|
|
3312
|
+
};
|
|
3313
|
+
},
|
|
3314
|
+
toJSON(message) {
|
|
3315
|
+
const obj = {};
|
|
3316
|
+
message.authority !== undefined && (obj.authority = message.authority);
|
|
3317
|
+
message.chainId !== undefined && (obj.chainId = message.chainId);
|
|
3318
|
+
message.maxMessagesPerIcaTx !== undefined &&
|
|
3319
|
+
(obj.maxMessagesPerIcaTx = (message.maxMessagesPerIcaTx || BigInt(0)).toString());
|
|
3320
|
+
return obj;
|
|
3321
|
+
},
|
|
3322
|
+
fromPartial(object) {
|
|
3323
|
+
const message = createBaseMsgUpdateHostZoneParams();
|
|
3324
|
+
message.authority = object.authority ?? '';
|
|
3325
|
+
message.chainId = object.chainId ?? '';
|
|
3326
|
+
message.maxMessagesPerIcaTx =
|
|
3327
|
+
object.maxMessagesPerIcaTx !== undefined &&
|
|
3328
|
+
object.maxMessagesPerIcaTx !== null
|
|
3329
|
+
? BigInt(object.maxMessagesPerIcaTx.toString())
|
|
3330
|
+
: BigInt(0);
|
|
3331
|
+
return message;
|
|
3332
|
+
},
|
|
3333
|
+
fromProtoMsg(message) {
|
|
3334
|
+
return MsgUpdateHostZoneParams.decode(message.value);
|
|
3335
|
+
},
|
|
3336
|
+
toProto(message) {
|
|
3337
|
+
return MsgUpdateHostZoneParams.encode(message).finish();
|
|
3338
|
+
},
|
|
3339
|
+
toProtoMsg(message) {
|
|
3340
|
+
return {
|
|
3341
|
+
typeUrl: '/stride.stakeibc.MsgUpdateHostZoneParams',
|
|
3342
|
+
value: MsgUpdateHostZoneParams.encode(message).finish(),
|
|
3343
|
+
};
|
|
3344
|
+
},
|
|
3345
|
+
};
|
|
3346
|
+
function createBaseMsgUpdateHostZoneParamsResponse() {
|
|
3347
|
+
return {};
|
|
3348
|
+
}
|
|
3349
|
+
export const MsgUpdateHostZoneParamsResponse = {
|
|
3350
|
+
typeUrl: '/stride.stakeibc.MsgUpdateHostZoneParamsResponse',
|
|
3351
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
3352
|
+
return writer;
|
|
3353
|
+
},
|
|
3354
|
+
decode(input, length) {
|
|
3355
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
3356
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3357
|
+
const message = createBaseMsgUpdateHostZoneParamsResponse();
|
|
3358
|
+
while (reader.pos < end) {
|
|
3359
|
+
const tag = reader.uint32();
|
|
3360
|
+
switch (tag >>> 3) {
|
|
3361
|
+
default:
|
|
3362
|
+
reader.skipType(tag & 7);
|
|
3363
|
+
break;
|
|
3364
|
+
}
|
|
3365
|
+
}
|
|
3366
|
+
return message;
|
|
3367
|
+
},
|
|
3368
|
+
fromJSON(_) {
|
|
3369
|
+
return {};
|
|
3370
|
+
},
|
|
3371
|
+
toJSON(_) {
|
|
3372
|
+
const obj = {};
|
|
3373
|
+
return obj;
|
|
3374
|
+
},
|
|
3375
|
+
fromPartial(_) {
|
|
3376
|
+
const message = createBaseMsgUpdateHostZoneParamsResponse();
|
|
3377
|
+
return message;
|
|
3378
|
+
},
|
|
3379
|
+
fromProtoMsg(message) {
|
|
3380
|
+
return MsgUpdateHostZoneParamsResponse.decode(message.value);
|
|
3381
|
+
},
|
|
3382
|
+
toProto(message) {
|
|
3383
|
+
return MsgUpdateHostZoneParamsResponse.encode(message).finish();
|
|
3384
|
+
},
|
|
3385
|
+
toProtoMsg(message) {
|
|
3386
|
+
return {
|
|
3387
|
+
typeUrl: '/stride.stakeibc.MsgUpdateHostZoneParamsResponse',
|
|
3388
|
+
value: MsgUpdateHostZoneParamsResponse.encode(message).finish(),
|
|
3389
|
+
};
|
|
3390
|
+
},
|
|
3391
|
+
};
|
|
3392
|
+
//# sourceMappingURL=tx.js.map
|