carbon-js-sdk 0.7.12 → 0.7.13
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/lib/clients/CarbonQueryClient.d.ts +1 -1
- package/lib/clients/CarbonQueryClient.js +1 -1
- package/lib/codec/Switcheo/carbon/book/event.d.ts +1 -20
- package/lib/codec/Switcheo/carbon/book/event.js +19 -101
- package/lib/codec/Switcheo/carbon/book/export.d.ts +1 -1
- package/lib/codec/Switcheo/carbon/book/export.js +1 -3
- package/lib/codec/Switcheo/carbon/book/query.d.ts +6 -12
- package/lib/codec/Switcheo/carbon/book/query.js +6 -18
- package/lib/codec/Switcheo/carbon/broker/amm.d.ts +0 -8
- package/lib/codec/Switcheo/carbon/ccm/export.d.ts +1 -1
- package/lib/codec/Switcheo/carbon/ccm/export.js +1 -3
- package/lib/codec/Switcheo/carbon/ccm/tx.d.ts +0 -46
- package/lib/codec/Switcheo/carbon/ccm/tx.js +1 -101
- package/lib/codec/Switcheo/carbon/cdp/export.d.ts +1 -1
- package/lib/codec/Switcheo/carbon/cdp/export.js +1 -3
- package/lib/codec/Switcheo/carbon/cdp/tx.d.ts +1 -46
- package/lib/codec/Switcheo/carbon/cdp/tx.js +1 -101
- package/lib/codec/Switcheo/carbon/evmcontract/genesis.d.ts +4 -10
- package/lib/codec/Switcheo/carbon/evmcontract/genesis.js +4 -54
- package/lib/codec/Switcheo/carbon/evmcontract/query.d.ts +0 -98
- package/lib/codec/Switcheo/carbon/evmcontract/query.js +1 -374
- package/lib/codec/Switcheo/carbon/evmcontract/tx.d.ts +0 -103
- package/lib/codec/Switcheo/carbon/evmcontract/tx.js +1 -425
- package/lib/codec/Switcheo/carbon/liquidation/export.d.ts +2 -1
- package/lib/codec/Switcheo/carbon/liquidation/export.js +5 -1
- package/lib/codec/Switcheo/carbon/liquidation/query.d.ts +25 -0
- package/lib/codec/Switcheo/carbon/liquidation/query.js +88 -1
- package/lib/codec/Switcheo/carbon/liquiditypool/export.d.ts +2 -2
- package/lib/codec/Switcheo/carbon/liquiditypool/export.js +3 -6
- package/lib/codec/Switcheo/carbon/liquiditypool/liquiditypool.d.ts +0 -20
- package/lib/codec/Switcheo/carbon/liquiditypool/liquiditypool.js +1 -191
- package/lib/codec/Switcheo/carbon/liquiditypool/tx.d.ts +0 -46
- package/lib/codec/Switcheo/carbon/liquiditypool/tx.js +1 -101
- package/lib/codec/Switcheo/carbon/market/export.d.ts +2 -2
- package/lib/codec/Switcheo/carbon/market/export.js +2 -6
- package/lib/codec/Switcheo/carbon/market/query.d.ts +0 -31
- package/lib/codec/Switcheo/carbon/market/query.js +1 -226
- package/lib/codec/Switcheo/carbon/market/tx.d.ts +2 -46
- package/lib/codec/Switcheo/carbon/market/tx.js +1 -100
- package/lib/codec/Switcheo/carbon/marketstats/export.d.ts +2 -1
- package/lib/codec/Switcheo/carbon/marketstats/export.js +5 -1
- package/lib/codec/Switcheo/carbon/marketstats/genesis.d.ts +7 -4
- package/lib/codec/Switcheo/carbon/marketstats/genesis.js +21 -4
- package/lib/codec/Switcheo/carbon/marketstats/query.d.ts +26 -0
- package/lib/codec/Switcheo/carbon/marketstats/query.js +88 -1
- package/lib/codec/Switcheo/carbon/oracle/export.d.ts +1 -1
- package/lib/codec/Switcheo/carbon/oracle/export.js +1 -4
- package/lib/codec/Switcheo/carbon/oracle/tx.d.ts +0 -46
- package/lib/codec/Switcheo/carbon/oracle/tx.js +1 -101
- package/lib/codec/Switcheo/carbon/order/export.d.ts +3 -4
- package/lib/codec/Switcheo/carbon/order/export.js +4 -11
- package/lib/codec/Switcheo/carbon/order/genesis.d.ts +10 -10
- package/lib/codec/Switcheo/carbon/order/genesis.js +16 -16
- package/lib/codec/Switcheo/carbon/order/order.d.ts +14 -14
- package/lib/codec/Switcheo/carbon/order/order.js +11 -11
- package/lib/codec/Switcheo/carbon/order/tx.d.ts +0 -46
- package/lib/codec/Switcheo/carbon/order/tx.js +1 -101
- package/lib/codec/Switcheo/carbon/perpspool/export.d.ts +1 -1
- package/lib/codec/Switcheo/carbon/perpspool/export.js +1 -3
- package/lib/codec/Switcheo/carbon/perpspool/tx.d.ts +1 -46
- package/lib/codec/Switcheo/carbon/perpspool/tx.js +1 -101
- package/lib/codec/Switcheo/carbon/position/export.d.ts +0 -1
- package/lib/codec/Switcheo/carbon/position/export.js +1 -4
- package/lib/codec/Switcheo/carbon/pricing/export.d.ts +1 -1
- package/lib/codec/Switcheo/carbon/pricing/export.js +1 -3
- package/lib/codec/Switcheo/carbon/pricing/tx.d.ts +0 -46
- package/lib/codec/Switcheo/carbon/pricing/tx.js +1 -101
- package/lib/codec/Switcheo/carbon/subaccount/export.d.ts +1 -1
- package/lib/codec/Switcheo/carbon/subaccount/export.js +1 -3
- package/lib/codec/Switcheo/carbon/subaccount/tx.d.ts +0 -46
- package/lib/codec/Switcheo/carbon/subaccount/tx.js +1 -101
- package/lib/codec/carbon-models.d.ts +1 -2
- package/lib/codec/carbon-models.js +2 -3
- package/lib/codec/cosmos/app/v1alpha1/config.d.ts +0 -26
- package/lib/codec/cosmos/app/v1alpha1/config.js +4 -94
- package/lib/codec/cosmos/auth/v1beta1/auth.d.ts +0 -21
- package/lib/codec/cosmos/auth/v1beta1/auth.js +1 -92
- package/lib/codec/cosmos/auth/v1beta1/export.d.ts +2 -3
- package/lib/codec/cosmos/auth/v1beta1/export.js +1 -7
- package/lib/codec/cosmos/auth/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/auth/v1beta1/query.d.ts +2 -54
- package/lib/codec/cosmos/auth/v1beta1/query.js +2 -120
- package/lib/codec/cosmos/authz/v1beta1/tx.d.ts +1 -1
- package/lib/codec/cosmos/bank/v1beta1/authz.d.ts +0 -7
- package/lib/codec/cosmos/bank/v1beta1/authz.js +3 -18
- package/lib/codec/cosmos/bank/v1beta1/bank.d.ts +0 -9
- package/lib/codec/cosmos/bank/v1beta1/export.d.ts +2 -2
- package/lib/codec/cosmos/bank/v1beta1/export.js +1 -9
- package/lib/codec/cosmos/bank/v1beta1/genesis.d.ts +3 -9
- package/lib/codec/cosmos/bank/v1beta1/genesis.js +2 -17
- package/lib/codec/cosmos/bank/v1beta1/query.d.ts +5 -125
- package/lib/codec/cosmos/bank/v1beta1/query.js +1 -257
- package/lib/codec/cosmos/bank/v1beta1/tx.d.ts +1 -102
- package/lib/codec/cosmos/bank/v1beta1/tx.js +2 -215
- package/lib/codec/cosmos/base/snapshots/v1beta1/snapshot.d.ts +0 -8
- package/lib/codec/cosmos/base/store/v1beta1/commit_info.d.ts +1 -2
- package/lib/codec/cosmos/base/store/v1beta1/commit_info.js +1 -39
- package/lib/codec/cosmos/base/tendermint/v1beta1/query.d.ts +46 -16
- package/lib/codec/cosmos/crisis/v1beta1/tx.d.ts +1 -46
- package/lib/codec/cosmos/crisis/v1beta1/tx.js +1 -103
- package/lib/codec/cosmos/distribution/v1beta1/distribution.d.ts +1 -20
- package/lib/codec/cosmos/distribution/v1beta1/distribution.js +16 -16
- package/lib/codec/cosmos/distribution/v1beta1/export.d.ts +2 -2
- package/lib/codec/cosmos/distribution/v1beta1/export.js +1 -8
- package/lib/codec/cosmos/distribution/v1beta1/genesis.d.ts +4 -4
- package/lib/codec/cosmos/distribution/v1beta1/query.d.ts +1 -32
- package/lib/codec/cosmos/distribution/v1beta1/query.js +1 -134
- package/lib/codec/cosmos/distribution/v1beta1/tx.d.ts +3 -103
- package/lib/codec/cosmos/distribution/v1beta1/tx.js +1 -212
- package/lib/codec/cosmos/evidence/v1beta1/evidence.d.ts +0 -4
- package/lib/codec/cosmos/evidence/v1beta1/query.d.ts +1 -12
- package/lib/codec/cosmos/evidence/v1beta1/query.js +2 -14
- package/lib/codec/cosmos/evidence/v1beta1/tx.d.ts +0 -2
- package/lib/codec/cosmos/gov/v1/genesis.d.ts +4 -25
- package/lib/codec/cosmos/gov/v1/genesis.js +0 -16
- package/lib/codec/cosmos/gov/v1/gov.d.ts +2 -83
- package/lib/codec/cosmos/gov/v1/gov.js +3 -231
- package/lib/codec/cosmos/gov/v1/query.d.ts +6 -30
- package/lib/codec/cosmos/gov/v1/query.js +0 -16
- package/lib/codec/cosmos/gov/v1/tx.d.ts +2 -74
- package/lib/codec/cosmos/gov/v1/tx.js +3 -131
- package/lib/codec/cosmos/gov/v1beta1/genesis.d.ts +3 -3
- package/lib/codec/cosmos/gov/v1beta1/gov.d.ts +5 -30
- package/lib/codec/cosmos/gov/v1beta1/query.d.ts +2 -4
- package/lib/codec/cosmos/gov/v1beta1/tx.d.ts +0 -13
- package/lib/codec/cosmos/group/v1/events.d.ts +1 -17
- package/lib/codec/cosmos/group/v1/events.js +1 -81
- package/lib/codec/cosmos/group/v1/query.d.ts +5 -5
- package/lib/codec/cosmos/group/v1/tx.d.ts +13 -25
- package/lib/codec/cosmos/group/v1/tx.js +34 -60
- package/lib/codec/cosmos/group/v1/types.d.ts +6 -26
- package/lib/codec/cosmos/group/v1/types.js +1 -27
- package/lib/codec/cosmos/mint/v1beta1/export.d.ts +0 -1
- package/lib/codec/cosmos/mint/v1beta1/export.js +1 -4
- package/lib/codec/cosmos/mint/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/mint/v1beta1/mint.d.ts +1 -1
- package/lib/codec/cosmos/nft/v1beta1/event.d.ts +0 -10
- package/lib/codec/cosmos/nft/v1beta1/genesis.d.ts +0 -1
- package/lib/codec/cosmos/nft/v1beta1/query.d.ts +0 -20
- package/lib/codec/cosmos/slashing/v1beta1/export.d.ts +1 -1
- package/lib/codec/cosmos/slashing/v1beta1/export.js +1 -3
- package/lib/codec/cosmos/slashing/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/slashing/v1beta1/tx.d.ts +0 -46
- package/lib/codec/cosmos/slashing/v1beta1/tx.js +1 -101
- package/lib/codec/cosmos/staking/v1beta1/export.d.ts +2 -2
- package/lib/codec/cosmos/staking/v1beta1/export.js +2 -8
- package/lib/codec/cosmos/staking/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/staking/v1beta1/query.d.ts +5 -36
- package/lib/codec/cosmos/staking/v1beta1/staking.d.ts +1 -40
- package/lib/codec/cosmos/staking/v1beta1/staking.js +2 -212
- package/lib/codec/cosmos/staking/v1beta1/tx.d.ts +1 -45
- package/lib/codec/cosmos/staking/v1beta1/tx.js +1 -100
- package/lib/codec/cosmos/tx/v1beta1/export.d.ts +1 -1
- package/lib/codec/cosmos/tx/v1beta1/export.js +1 -9
- package/lib/codec/cosmos/tx/v1beta1/service.d.ts +2 -164
- package/lib/codec/cosmos/tx/v1beta1/service.js +3 -407
- package/lib/codec/cosmos/upgrade/v1beta1/tx.d.ts +3 -3
- package/lib/codec/cosmos/upgrade/v1beta1/upgrade.d.ts +4 -6
- package/lib/codec/ethermint/evm/v1/export.d.ts +1 -2
- package/lib/codec/ethermint/evm/v1/export.js +1 -8
- package/lib/codec/ethermint/evm/v1/tx.d.ts +1 -37
- package/lib/codec/ethermint/evm/v1/tx.js +1 -100
- package/lib/codec/ethermint/feemarket/v1/export.d.ts +0 -2
- package/lib/codec/ethermint/feemarket/v1/export.js +1 -7
- package/lib/codec/ethermint/feemarket/v1/feemarket.d.ts +0 -10
- package/lib/codec/ethermint/feemarket/v1/feemarket.js +1 -28
- package/lib/codec/ibc/applications/interchain_accounts/controller/export.d.ts +1 -2
- package/lib/codec/ibc/applications/interchain_accounts/controller/export.js +1 -8
- package/lib/codec/ibc/applications/interchain_accounts/controller/v1/query.d.ts +0 -26
- package/lib/codec/ibc/applications/interchain_accounts/controller/v1/query.js +1 -113
- package/lib/codec/ibc/applications/interchain_accounts/v1/export.d.ts +1 -0
- package/lib/codec/ibc/applications/interchain_accounts/v1/export.js +6 -1
- package/lib/codec/ibc/applications/transfer/v1/export.d.ts +1 -2
- package/lib/codec/ibc/applications/transfer/v1/export.js +1 -8
- package/lib/codec/ibc/applications/transfer/v1/genesis.d.ts +0 -6
- package/lib/codec/ibc/applications/transfer/v1/genesis.js +2 -18
- package/lib/codec/ibc/applications/transfer/v1/query.d.ts +1 -56
- package/lib/codec/ibc/applications/transfer/v1/query.js +1 -210
- package/lib/codec/ibc/applications/transfer/v1/tx.d.ts +4 -8
- package/lib/codec/ibc/applications/transfer/v1/tx.js +6 -35
- package/lib/codec/ibc/applications/transfer/v2/packet.d.ts +0 -2
- package/lib/codec/ibc/applications/transfer/v2/packet.js +1 -14
- package/lib/codec/ibc/core/channel/v1/channel.d.ts +0 -20
- package/lib/codec/ibc/core/channel/v1/channel.js +1 -78
- package/lib/codec/ibc/core/channel/v1/export.d.ts +1 -1
- package/lib/codec/ibc/core/channel/v1/export.js +2 -3
- package/lib/codec/ibc/core/channel/v1/tx.d.ts +12 -16
- package/lib/codec/ibc/core/channel/v1/tx.js +25 -62
- package/lib/codec/ibc/core/client/v1/client.d.ts +1 -5
- package/lib/codec/ibc/core/client/v1/export.d.ts +1 -1
- package/lib/codec/ibc/core/client/v1/export.js +1 -3
- package/lib/codec/ibc/core/client/v1/query.d.ts +1 -38
- package/lib/codec/ibc/core/client/v1/query.js +1 -137
- package/lib/codec/ibc/core/client/v1/tx.d.ts +6 -19
- package/lib/codec/ibc/core/client/v1/tx.js +11 -13
- package/lib/codec/ibc/core/commitment/v1/commitment.d.ts +1 -1
- package/lib/codec/ibc/core/commitment/v1/commitment.js +1 -1
- package/lib/codec/ibc/core/connection/v1/export.d.ts +1 -1
- package/lib/codec/ibc/core/connection/v1/export.js +1 -3
- package/lib/codec/ibc/core/connection/v1/query.d.ts +1 -26
- package/lib/codec/ibc/core/connection/v1/query.js +1 -87
- package/lib/codec/ibc/core/connection/v1/tx.d.ts +2 -7
- package/lib/codec/ibc/core/connection/v1/tx.js +2 -38
- package/lib/codec/ibc/lightclients/tendermint/v1/tendermint.d.ts +5 -12
- package/lib/codec/ibc/lightclients/tendermint/v1/tendermint.js +1 -1
- package/lib/codec/ibc-models.d.ts +2 -3
- package/lib/codec/ibc-models.js +3 -4
- package/lib/codec/index.d.ts +20 -99
- package/lib/codec/index.js +890 -3371
- package/lib/codec/proofs.d.ts +0 -1
- package/lib/codec/proofs.js +0 -6
- package/lib/codec/tendermint/abci/types.d.ts +84 -131
- package/lib/codec/tendermint/abci/types.js +351 -707
- package/lib/codec/tendermint/types/params.d.ts +8 -1
- package/lib/codec/tendermint/types/params.js +33 -13
- package/lib/modules/evm.js +1 -1
- package/lib/provider/amino/types/evm.js +1 -1
- package/lib/util/tx.d.ts +7 -89
- package/package.json +1 -1
|
@@ -24,6 +24,13 @@ export interface BlockParams {
|
|
|
24
24
|
* Note: must be greater or equal to -1
|
|
25
25
|
*/
|
|
26
26
|
maxGas: Long;
|
|
27
|
+
/**
|
|
28
|
+
* Minimum time increment between consecutive blocks (in milliseconds) If the
|
|
29
|
+
* block header timestamp is ahead of the system clock, decrease this value.
|
|
30
|
+
*
|
|
31
|
+
* Not exposed to the application.
|
|
32
|
+
*/
|
|
33
|
+
timeIotaMs: Long;
|
|
27
34
|
}
|
|
28
35
|
/** EvidenceParams determine how we handle evidence of malfeasance. */
|
|
29
36
|
export interface EvidenceParams {
|
|
@@ -58,7 +65,7 @@ export interface ValidatorParams {
|
|
|
58
65
|
}
|
|
59
66
|
/** VersionParams contains the ABCI application version. */
|
|
60
67
|
export interface VersionParams {
|
|
61
|
-
|
|
68
|
+
appVersion: Long;
|
|
62
69
|
}
|
|
63
70
|
/**
|
|
64
71
|
* HashedParams is a subset of ConsensusParams.
|
|
@@ -113,7 +113,11 @@ exports.ConsensusParams = {
|
|
|
113
113
|
return message;
|
|
114
114
|
},
|
|
115
115
|
};
|
|
116
|
-
const baseBlockParams = {
|
|
116
|
+
const baseBlockParams = {
|
|
117
|
+
maxBytes: long_1.default.ZERO,
|
|
118
|
+
maxGas: long_1.default.ZERO,
|
|
119
|
+
timeIotaMs: long_1.default.ZERO,
|
|
120
|
+
};
|
|
117
121
|
exports.BlockParams = {
|
|
118
122
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
119
123
|
if (!message.maxBytes.isZero()) {
|
|
@@ -122,6 +126,9 @@ exports.BlockParams = {
|
|
|
122
126
|
if (!message.maxGas.isZero()) {
|
|
123
127
|
writer.uint32(16).int64(message.maxGas);
|
|
124
128
|
}
|
|
129
|
+
if (!message.timeIotaMs.isZero()) {
|
|
130
|
+
writer.uint32(24).int64(message.timeIotaMs);
|
|
131
|
+
}
|
|
125
132
|
return writer;
|
|
126
133
|
},
|
|
127
134
|
decode(input, length) {
|
|
@@ -137,6 +144,9 @@ exports.BlockParams = {
|
|
|
137
144
|
case 2:
|
|
138
145
|
message.maxGas = reader.int64();
|
|
139
146
|
break;
|
|
147
|
+
case 3:
|
|
148
|
+
message.timeIotaMs = reader.int64();
|
|
149
|
+
break;
|
|
140
150
|
default:
|
|
141
151
|
reader.skipType(tag & 7);
|
|
142
152
|
break;
|
|
@@ -154,6 +164,10 @@ exports.BlockParams = {
|
|
|
154
164
|
object.maxGas !== undefined && object.maxGas !== null
|
|
155
165
|
? long_1.default.fromString(object.maxGas)
|
|
156
166
|
: long_1.default.ZERO;
|
|
167
|
+
message.timeIotaMs =
|
|
168
|
+
object.timeIotaMs !== undefined && object.timeIotaMs !== null
|
|
169
|
+
? long_1.default.fromString(object.timeIotaMs)
|
|
170
|
+
: long_1.default.ZERO;
|
|
157
171
|
return message;
|
|
158
172
|
},
|
|
159
173
|
toJSON(message) {
|
|
@@ -162,6 +176,8 @@ exports.BlockParams = {
|
|
|
162
176
|
(obj.maxBytes = (message.maxBytes || long_1.default.ZERO).toString());
|
|
163
177
|
message.maxGas !== undefined &&
|
|
164
178
|
(obj.maxGas = (message.maxGas || long_1.default.ZERO).toString());
|
|
179
|
+
message.timeIotaMs !== undefined &&
|
|
180
|
+
(obj.timeIotaMs = (message.timeIotaMs || long_1.default.ZERO).toString());
|
|
165
181
|
return obj;
|
|
166
182
|
},
|
|
167
183
|
fromPartial(object) {
|
|
@@ -174,6 +190,10 @@ exports.BlockParams = {
|
|
|
174
190
|
object.maxGas !== undefined && object.maxGas !== null
|
|
175
191
|
? long_1.default.fromValue(object.maxGas)
|
|
176
192
|
: long_1.default.ZERO;
|
|
193
|
+
message.timeIotaMs =
|
|
194
|
+
object.timeIotaMs !== undefined && object.timeIotaMs !== null
|
|
195
|
+
? long_1.default.fromValue(object.timeIotaMs)
|
|
196
|
+
: long_1.default.ZERO;
|
|
177
197
|
return message;
|
|
178
198
|
},
|
|
179
199
|
};
|
|
@@ -311,11 +331,11 @@ exports.ValidatorParams = {
|
|
|
311
331
|
return message;
|
|
312
332
|
},
|
|
313
333
|
};
|
|
314
|
-
const baseVersionParams = {
|
|
334
|
+
const baseVersionParams = { appVersion: long_1.default.UZERO };
|
|
315
335
|
exports.VersionParams = {
|
|
316
336
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
317
|
-
if (!message.
|
|
318
|
-
writer.uint32(8).uint64(message.
|
|
337
|
+
if (!message.appVersion.isZero()) {
|
|
338
|
+
writer.uint32(8).uint64(message.appVersion);
|
|
319
339
|
}
|
|
320
340
|
return writer;
|
|
321
341
|
},
|
|
@@ -327,7 +347,7 @@ exports.VersionParams = {
|
|
|
327
347
|
const tag = reader.uint32();
|
|
328
348
|
switch (tag >>> 3) {
|
|
329
349
|
case 1:
|
|
330
|
-
message.
|
|
350
|
+
message.appVersion = reader.uint64();
|
|
331
351
|
break;
|
|
332
352
|
default:
|
|
333
353
|
reader.skipType(tag & 7);
|
|
@@ -338,23 +358,23 @@ exports.VersionParams = {
|
|
|
338
358
|
},
|
|
339
359
|
fromJSON(object) {
|
|
340
360
|
const message = Object.assign({}, baseVersionParams);
|
|
341
|
-
message.
|
|
342
|
-
object.
|
|
343
|
-
? long_1.default.fromString(object.
|
|
361
|
+
message.appVersion =
|
|
362
|
+
object.appVersion !== undefined && object.appVersion !== null
|
|
363
|
+
? long_1.default.fromString(object.appVersion)
|
|
344
364
|
: long_1.default.UZERO;
|
|
345
365
|
return message;
|
|
346
366
|
},
|
|
347
367
|
toJSON(message) {
|
|
348
368
|
const obj = {};
|
|
349
|
-
message.
|
|
350
|
-
(obj.
|
|
369
|
+
message.appVersion !== undefined &&
|
|
370
|
+
(obj.appVersion = (message.appVersion || long_1.default.UZERO).toString());
|
|
351
371
|
return obj;
|
|
352
372
|
},
|
|
353
373
|
fromPartial(object) {
|
|
354
374
|
const message = Object.assign({}, baseVersionParams);
|
|
355
|
-
message.
|
|
356
|
-
object.
|
|
357
|
-
? long_1.default.fromValue(object.
|
|
375
|
+
message.appVersion =
|
|
376
|
+
object.appVersion !== undefined && object.appVersion !== null
|
|
377
|
+
? long_1.default.fromValue(object.appVersion)
|
|
358
378
|
: long_1.default.UZERO;
|
|
359
379
|
return message;
|
|
360
380
|
},
|
package/lib/modules/evm.js
CHANGED
package/lib/util/tx.d.ts
CHANGED
|
@@ -72,8 +72,6 @@ export declare const Types: {
|
|
|
72
72
|
MsgCancelOrderResponse: string;
|
|
73
73
|
MsgCancelAll: string;
|
|
74
74
|
MsgCancelAllResponse: string;
|
|
75
|
-
MsgUpdateParams: string;
|
|
76
|
-
MsgUpdateParamsResponse: string;
|
|
77
75
|
MsgAddRateStrategy: string;
|
|
78
76
|
MsgAddRateStrategyResponse: string;
|
|
79
77
|
MsgUpdateRateStrategy: string;
|
|
@@ -158,8 +156,6 @@ export declare const Types: {
|
|
|
158
156
|
MsgSetAccountEModeResponse: string;
|
|
159
157
|
MsgRemoveAccountEMode: string;
|
|
160
158
|
MsgRemoveAccountEModeResponse: string;
|
|
161
|
-
MsgCdpUpdateParams: string;
|
|
162
|
-
MsgCdpUpdateParamsResponse: string;
|
|
163
159
|
MsgSyncGenesis: string;
|
|
164
160
|
MsgSyncGenesisResponse: string;
|
|
165
161
|
MsgSyncHeaders: string;
|
|
@@ -182,8 +178,8 @@ export declare const Types: {
|
|
|
182
178
|
MsgConvertCoinResponse: string;
|
|
183
179
|
MsgConvertERC20: string;
|
|
184
180
|
MsgConvertERC20Response: string;
|
|
185
|
-
|
|
186
|
-
|
|
181
|
+
MsgUpdateParams: string;
|
|
182
|
+
MsgUpdateParamsResponse: string;
|
|
187
183
|
MsgRegisterToken: string;
|
|
188
184
|
MsgRegisterTokenResponse: string;
|
|
189
185
|
MsgRegisterERC20: string;
|
|
@@ -212,17 +208,7 @@ export declare const Types: {
|
|
|
212
208
|
MsgRemoveOracleResponse: string;
|
|
213
209
|
MsgSetOracleSlashEnabled: string;
|
|
214
210
|
MsgSetOracleSlashEnabledResponse: string;
|
|
215
|
-
MsgOracleUpdateParams: string;
|
|
216
|
-
MsgOracleUpdateParamsResponse: string;
|
|
217
211
|
CreateOracleProposal: string;
|
|
218
|
-
MsgDeactivateContract: string;
|
|
219
|
-
MsgDeactivateContractResponse: string;
|
|
220
|
-
MsgActivateContract: string;
|
|
221
|
-
MsgActivateContractResponse: string;
|
|
222
|
-
MsgSetParams: string;
|
|
223
|
-
MsgSetParamsResponse: string;
|
|
224
|
-
MsgEvmcontractUpdateParams: string;
|
|
225
|
-
MsgEvmcontractUpdateParamsResponse: string;
|
|
226
212
|
MsgInitiateAdminTransfer: string;
|
|
227
213
|
MsgInitiateAdminTransferResponse: string;
|
|
228
214
|
MsgAcceptAdminTransfer: string;
|
|
@@ -233,8 +219,6 @@ export declare const Types: {
|
|
|
233
219
|
MsgProcessZionCrossChainTxResponse: string;
|
|
234
220
|
MsgCreateEmitEvent: string;
|
|
235
221
|
MsgToggleEmitZionEvents: string;
|
|
236
|
-
MsgCcmUpdateParams: string;
|
|
237
|
-
MsgCcmUpdateParamsResponse: string;
|
|
238
222
|
MsgCreateToken: string;
|
|
239
223
|
MsgCreateTokenResponse: string;
|
|
240
224
|
MsgSyncToken: string;
|
|
@@ -288,8 +272,6 @@ export declare const Types: {
|
|
|
288
272
|
MsgActivateSubAccountResponse: string;
|
|
289
273
|
MsgRemoveSubAccount: string;
|
|
290
274
|
MsgRemoveSubAccountResponse: string;
|
|
291
|
-
MsgSubaccountUpdateParams: string;
|
|
292
|
-
MsgSubaccountUpdateParamsResponse: string;
|
|
293
275
|
MsgDisableSpotMarket: string;
|
|
294
276
|
MsgDisableSpotMarketResponse: string;
|
|
295
277
|
MsgCreateMarket: string;
|
|
@@ -308,8 +290,6 @@ export declare const Types: {
|
|
|
308
290
|
MsgSetStakeEquivalenceResponse: string;
|
|
309
291
|
MsgUpdateAllPoolTradingFees: string;
|
|
310
292
|
MsgUpdateAllPoolTradingFeesResponse: string;
|
|
311
|
-
MsgMarketUpdateParams: string;
|
|
312
|
-
MsgMarketUpdateParamsResponse: string;
|
|
313
293
|
CreateMarketProposal: string;
|
|
314
294
|
UpdateMarketProposal: string;
|
|
315
295
|
UpdatePerpetualsFundingIntervalProposal: string;
|
|
@@ -327,14 +307,10 @@ export declare const Types: {
|
|
|
327
307
|
MsgWithdrawFromPoolResponse: string;
|
|
328
308
|
MsgUpdateMarketConfig: string;
|
|
329
309
|
MsgUpdateMarketConfigResponse: string;
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
MsgPerpspoolUpdateParams: string;
|
|
333
|
-
MsgPerpspoolUpdateParamsResponse: string;
|
|
310
|
+
MsgSetParams: string;
|
|
311
|
+
MsgSetParamsResponse: string;
|
|
334
312
|
MsgSetSequence: string;
|
|
335
313
|
MsgSetSequenceResponse: string;
|
|
336
|
-
MsgLiquiditypoolCreatePool: string;
|
|
337
|
-
MsgLiquiditypoolCreatePoolResponse: string;
|
|
338
314
|
MsgCreatePoolWithLiquidity: string;
|
|
339
315
|
MsgCreatePoolWithLiquidityResponse: string;
|
|
340
316
|
MsgAddLiquidity: string;
|
|
@@ -353,16 +329,12 @@ export declare const Types: {
|
|
|
353
329
|
MsgSetRewardCurveResponse: string;
|
|
354
330
|
MsgSetCommitmentCurve: string;
|
|
355
331
|
MsgSetCommitmentCurveResponse: string;
|
|
356
|
-
MsgLiquiditypoolUpdatePool: string;
|
|
357
|
-
MsgLiquiditypoolUpdatePoolResponse: string;
|
|
358
332
|
MsgCreatePoolRoute: string;
|
|
359
333
|
MsgCreatePoolRouteResponse: string;
|
|
360
334
|
MsgRemovePoolRoute: string;
|
|
361
335
|
MsgRemovePoolRouteResponse: string;
|
|
362
336
|
MsgUpdatePoolRoute: string;
|
|
363
337
|
MsgUpdatePoolRouteResponse: string;
|
|
364
|
-
MsgLiquiditypoolUpdateParams: string;
|
|
365
|
-
MsgLiquiditypoolUpdateParamsResponse: string;
|
|
366
338
|
LinkPoolProposal: string;
|
|
367
339
|
UnlinkPoolProposal: string;
|
|
368
340
|
SetRewardCurveProposal: string;
|
|
@@ -384,15 +356,7 @@ export declare const Types: {
|
|
|
384
356
|
MsgSetStaleIndexAllowanceResponse: string;
|
|
385
357
|
MsgUpdateTokenPriceOracle: string;
|
|
386
358
|
MsgUpdateTokenPriceOracleResponse: string;
|
|
387
|
-
MsgPricingUpdateParams: string;
|
|
388
|
-
MsgPricingUpdateParamsResponse: string;
|
|
389
359
|
SettlementPriceProposal: string;
|
|
390
|
-
MsgLockproxyCreate: string;
|
|
391
|
-
MsgLockproxyCreateResponse: string;
|
|
392
|
-
MsgLockproxyBind: string;
|
|
393
|
-
MsgLockproxyBindResponse: string;
|
|
394
|
-
MsgLockproxyLock: string;
|
|
395
|
-
MsgLockproxyLockResponse: string;
|
|
396
360
|
MsgSetWrapperMapping: string;
|
|
397
361
|
MsgSetWrapperMappingResponse: string;
|
|
398
362
|
MsgDeleteWrapperMapping: string;
|
|
@@ -405,16 +369,6 @@ export declare const Types: {
|
|
|
405
369
|
MsgAllianceRedelegateResponse: string;
|
|
406
370
|
MsgAllianceClaimDelegationRewards: string;
|
|
407
371
|
MsgAllianceClaimDelegationRewardsResponse: string;
|
|
408
|
-
MsgAllianceUpdateParams: string;
|
|
409
|
-
MsgAllianceUpdateParamsResponse: string;
|
|
410
|
-
MsgAllianceCreateAlliance: string;
|
|
411
|
-
MsgAllianceCreateAllianceResponse: string;
|
|
412
|
-
MsgAllianceUpdateAlliance: string;
|
|
413
|
-
MsgAllianceUpdateAllianceResponse: string;
|
|
414
|
-
MsgAllianceDeleteAlliance: string;
|
|
415
|
-
MsgAllianceDeleteAllianceResponse: string;
|
|
416
|
-
MsgConsensusUpdateParams: string;
|
|
417
|
-
MsgConsensusUpdateParamsResponse: string;
|
|
418
372
|
MsgSoftwareUpgrade: string;
|
|
419
373
|
MsgSoftwareUpgradeResponse: string;
|
|
420
374
|
MsgCancelUpgrade: string;
|
|
@@ -425,14 +379,10 @@ export declare const Types: {
|
|
|
425
379
|
MsgGrantAllowanceResponse: string;
|
|
426
380
|
MsgRevokeAllowance: string;
|
|
427
381
|
MsgRevokeAllowanceResponse: string;
|
|
428
|
-
MsgMintUpdateParams: string;
|
|
429
|
-
MsgMintUpdateParamsResponse: string;
|
|
430
382
|
MsgSubmitEvidence: string;
|
|
431
383
|
MsgSubmitEvidenceResponse: string;
|
|
432
384
|
MsgNftSend: string;
|
|
433
385
|
MsgNftSendResponse: string;
|
|
434
|
-
MsgAuthUpdateParams: string;
|
|
435
|
-
MsgAuthUpdateParamsResponse: string;
|
|
436
386
|
MsgGroupCreateGroup: string;
|
|
437
387
|
MsgGroupCreateGroupResponse: string;
|
|
438
388
|
MsgGroupUpdateGroupMembers: string;
|
|
@@ -444,9 +394,9 @@ export declare const Types: {
|
|
|
444
394
|
MsgGroupCreateGroupPolicy: string;
|
|
445
395
|
MsgGroupCreateGroupPolicyResponse: string;
|
|
446
396
|
MsgGroupUpdateGroupPolicyAdmin: string;
|
|
447
|
-
MsgGroupUpdateGroupPolicyAdminResponse: string;
|
|
448
397
|
MsgGroupCreateGroupWithPolicy: string;
|
|
449
398
|
MsgGroupCreateGroupWithPolicyResponse: string;
|
|
399
|
+
MsgGroupUpdateGroupPolicyAdminResponse: string;
|
|
450
400
|
MsgGroupUpdateGroupPolicyDecisionPolicy: string;
|
|
451
401
|
MsgGroupUpdateGroupPolicyDecisionPolicyResponse: string;
|
|
452
402
|
MsgGroupUpdateGroupPolicyMetadata: string;
|
|
@@ -465,10 +415,6 @@ export declare const Types: {
|
|
|
465
415
|
MsgSendResponse: string;
|
|
466
416
|
MsgMultiSend: string;
|
|
467
417
|
MsgMultiSendResponse: string;
|
|
468
|
-
MsgBankUpdateParams: string;
|
|
469
|
-
MsgBankUpdateParamsResponse: string;
|
|
470
|
-
MsgSetSendEnabled: string;
|
|
471
|
-
MsgSetSendEnabledResponse: string;
|
|
472
418
|
MsgSetWithdrawAddress: string;
|
|
473
419
|
MsgSetWithdrawAddressResponse: string;
|
|
474
420
|
MsgWithdrawDelegatorReward: string;
|
|
@@ -477,15 +423,9 @@ export declare const Types: {
|
|
|
477
423
|
MsgWithdrawValidatorCommissionResponse: string;
|
|
478
424
|
MsgFundCommunityPool: string;
|
|
479
425
|
MsgFundCommunityPoolResponse: string;
|
|
480
|
-
MsgDistributionUpdateParams: string;
|
|
481
|
-
MsgDistributionUpdateParamsResponse: string;
|
|
482
|
-
MsgCommunityPoolSpend: string;
|
|
483
|
-
MsgCommunityPoolSpendResponse: string;
|
|
484
426
|
CommunityPoolSpendProposal: string;
|
|
485
427
|
MsgVerifyInvariant: string;
|
|
486
428
|
MsgVerifyInvariantResponse: string;
|
|
487
|
-
MsgCrisisUpdateParams: string;
|
|
488
|
-
MsgCrisisUpdateParamsResponse: string;
|
|
489
429
|
MsgCreateVestingAccount: string;
|
|
490
430
|
MsgCreateVestingAccountResponse: string;
|
|
491
431
|
MsgCreatePermanentLockedAccount: string;
|
|
@@ -504,8 +444,6 @@ export declare const Types: {
|
|
|
504
444
|
MsgUndelegateResponse: string;
|
|
505
445
|
MsgCancelUnbondingDelegation: string;
|
|
506
446
|
MsgCancelUnbondingDelegationResponse: string;
|
|
507
|
-
MsgStakingUpdateParams: string;
|
|
508
|
-
MsgStakingUpdateParamsResponse: string;
|
|
509
447
|
ParameterChangeProposal: string;
|
|
510
448
|
MsgGrant: string;
|
|
511
449
|
MsgExecResponse: string;
|
|
@@ -515,8 +453,6 @@ export declare const Types: {
|
|
|
515
453
|
MsgRevokeResponse: string;
|
|
516
454
|
MsgUnjail: string;
|
|
517
455
|
MsgUnjailResponse: string;
|
|
518
|
-
MsgSlashingUpdateParams: string;
|
|
519
|
-
MsgSlashingUpdateParamsResponse: string;
|
|
520
456
|
MsgGovSubmitProposal: string;
|
|
521
457
|
MsgGovSubmitProposalResponse: string;
|
|
522
458
|
MsgGovExecLegacyContent: string;
|
|
@@ -527,8 +463,6 @@ export declare const Types: {
|
|
|
527
463
|
MsgGovVoteWeightedResponse: string;
|
|
528
464
|
MsgGovDeposit: string;
|
|
529
465
|
MsgGovDepositResponse: string;
|
|
530
|
-
MsgGovUpdateParams: string;
|
|
531
|
-
MsgGovUpdateParamsResponse: string;
|
|
532
466
|
MsgSubmitProposal: string;
|
|
533
467
|
MsgSubmitProposalResponse: string;
|
|
534
468
|
MsgVote: string;
|
|
@@ -578,26 +512,10 @@ export declare const Types: {
|
|
|
578
512
|
ClientUpdateProposal: string;
|
|
579
513
|
UpgradeProposal: string;
|
|
580
514
|
Header: string;
|
|
581
|
-
MsgRegisterPayee: string;
|
|
582
|
-
MsgRegisterPayeeResponse: string;
|
|
583
|
-
MsgRegisterCounterpartyPayee: string;
|
|
584
|
-
MsgRegisterCounterpartyPayeeResponse: string;
|
|
585
|
-
MsgPayPacketFee: string;
|
|
586
|
-
MsgPayPacketFeeResponse: string;
|
|
587
|
-
MsgPayPacketFeeAsync: string;
|
|
588
|
-
MsgPayPacketFeeAsyncResponse: string;
|
|
589
515
|
MsgTransfer: string;
|
|
590
516
|
MsgTransferResponse: string;
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
MsgSendTx: string;
|
|
594
|
-
MsgSendTxResponse: string;
|
|
595
|
-
MsgFeemarketUpdateParams: string;
|
|
596
|
-
MsgFeemarketUpdateParamsResponse: string;
|
|
597
|
-
MsgEthereumTx: string;
|
|
598
|
-
MsgEthereumTxResponse: string;
|
|
599
|
-
MsgEvmUpdateParams: string;
|
|
600
|
-
MsgEvmUpdateParamsResponse: string;
|
|
517
|
+
MsgEvmEthereumTx: string;
|
|
518
|
+
MsgEvmEthereumTxResponse: string;
|
|
601
519
|
MsgExecuteContract: string;
|
|
602
520
|
};
|
|
603
521
|
export declare const DEFAULT_SIGN_OPTS: SignTxOpts;
|