injectivejs 1.11.5 → 1.11.7
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/binary.d.ts +1 -1
- package/binary.js +1 -1
- package/cosmos/auth/v1beta1/auth.js +6 -0
- package/cosmos/auth/v1beta1/query.js +21 -0
- package/cosmos/authz/v1beta1/authz.js +9 -0
- package/cosmos/authz/v1beta1/tx.js +3 -0
- package/cosmos/bank/v1beta1/bank.js +15 -0
- package/cosmos/bank/v1beta1/query.js +64 -0
- package/cosmos/bank/v1beta1/tx.js +13 -0
- package/cosmos/base/abci/v1beta1/abci.js +19 -0
- package/cosmos/distribution/v1beta1/distribution.js +27 -0
- package/cosmos/distribution/v1beta1/tx.js +19 -0
- package/cosmos/gov/v1/gov.js +16 -0
- package/cosmos/gov/v1/tx.js +15 -0
- package/cosmos/gov/v1beta1/gov.js +15 -0
- package/cosmos/gov/v1beta1/query.js +34 -0
- package/cosmos/gov/v1beta1/tx.js +9 -0
- package/cosmos/group/v1/tx.js +15 -0
- package/cosmos/group/v1/types.js +12 -0
- package/cosmos/ics23/v1/proofs.js +31 -0
- package/cosmos/staking/v1beta1/query.js +64 -0
- package/cosmos/staking/v1beta1/staking.js +33 -0
- package/cosmos/staking/v1beta1/tx.js +24 -0
- package/cosmos/tx/signing/v1beta1/signing.js +13 -0
- package/cosmos/tx/v1beta1/service.js +31 -0
- package/cosmos/tx/v1beta1/tx.js +28 -0
- package/cosmos/upgrade/v1beta1/upgrade.js +6 -0
- package/cosmos/vesting/v1beta1/tx.js +10 -0
- package/cosmos/vesting/v1beta1/vesting.js +19 -0
- package/cosmwasm/wasm/v1/proposal_legacy.js +39 -0
- package/cosmwasm/wasm/v1/query.js +52 -0
- package/cosmwasm/wasm/v1/tx.js +25 -0
- package/cosmwasm/wasm/v1/types.js +9 -0
- package/esm/binary.js +1 -1
- package/esm/cosmos/auth/v1beta1/auth.js +6 -0
- package/esm/cosmos/auth/v1beta1/query.js +21 -0
- package/esm/cosmos/authz/v1beta1/authz.js +9 -0
- package/esm/cosmos/authz/v1beta1/tx.js +3 -0
- package/esm/cosmos/bank/v1beta1/bank.js +15 -0
- package/esm/cosmos/bank/v1beta1/query.js +64 -0
- package/esm/cosmos/bank/v1beta1/tx.js +13 -0
- package/esm/cosmos/base/abci/v1beta1/abci.js +19 -0
- package/esm/cosmos/distribution/v1beta1/distribution.js +27 -0
- package/esm/cosmos/distribution/v1beta1/tx.js +19 -0
- package/esm/cosmos/gov/v1/gov.js +16 -0
- package/esm/cosmos/gov/v1/tx.js +15 -0
- package/esm/cosmos/gov/v1beta1/gov.js +15 -0
- package/esm/cosmos/gov/v1beta1/query.js +34 -0
- package/esm/cosmos/gov/v1beta1/tx.js +9 -0
- package/esm/cosmos/group/v1/tx.js +15 -0
- package/esm/cosmos/group/v1/types.js +12 -0
- package/esm/cosmos/ics23/v1/proofs.js +31 -0
- package/esm/cosmos/staking/v1beta1/query.js +64 -0
- package/esm/cosmos/staking/v1beta1/staking.js +33 -0
- package/esm/cosmos/staking/v1beta1/tx.js +24 -0
- package/esm/cosmos/tx/signing/v1beta1/signing.js +13 -0
- package/esm/cosmos/tx/v1beta1/service.js +31 -0
- package/esm/cosmos/tx/v1beta1/tx.js +28 -0
- package/esm/cosmos/upgrade/v1beta1/upgrade.js +6 -0
- package/esm/cosmos/vesting/v1beta1/tx.js +10 -0
- package/esm/cosmos/vesting/v1beta1/vesting.js +19 -0
- package/esm/cosmwasm/wasm/v1/proposal_legacy.js +39 -0
- package/esm/cosmwasm/wasm/v1/query.js +52 -0
- package/esm/cosmwasm/wasm/v1/tx.js +25 -0
- package/esm/cosmwasm/wasm/v1/types.js +9 -0
- package/esm/extern.js +1 -1
- package/esm/google/api/http.js +7 -0
- package/esm/google/protobuf/descriptor.js +73 -0
- package/esm/helper-func-types.js +1 -1
- package/esm/helpers.js +1 -1
- package/esm/ibc/applications/transfer/v1/transfer.js +4 -0
- package/esm/ibc/applications/transfer/v1/tx.js +7 -0
- package/esm/ibc/core/channel/v1/channel.js +16 -0
- package/esm/ibc/core/channel/v1/tx.js +58 -0
- package/esm/ibc/core/channel/v1/upgrade.js +4 -0
- package/esm/ibc/core/client/v1/client.js +4 -0
- package/esm/ibc/core/client/v1/tx.js +4 -0
- package/esm/ibc/core/commitment/v1/commitment.js +4 -0
- package/esm/ibc/core/connection/v1/connection.js +10 -0
- package/esm/ibc/core/connection/v1/tx.js +16 -0
- package/esm/injective/auction/v1beta1/auction.js +4 -0
- package/esm/injective/auction/v1beta1/genesis.js +4 -0
- package/esm/injective/auction/v1beta1/query.js +13 -0
- package/esm/injective/auction/v1beta1/tx.js +7 -0
- package/esm/injective/exchange/v1beta1/authz.js +33 -0
- package/esm/injective/exchange/v1beta1/events.js +82 -0
- package/esm/injective/exchange/v1beta1/exchange.js +64 -0
- package/esm/injective/exchange/v1beta1/genesis.js +43 -0
- package/esm/injective/exchange/v1beta1/proposal.js +48 -0
- package/esm/injective/exchange/v1beta1/query.js +154 -0
- package/esm/injective/exchange/v1beta1/tx.js +76 -0
- package/esm/injective/insurance/v1beta1/events.js +16 -0
- package/esm/injective/insurance/v1beta1/genesis.js +4 -0
- package/esm/injective/insurance/v1beta1/insurance.js +4 -0
- package/esm/injective/insurance/v1beta1/query.js +19 -0
- package/esm/injective/insurance/v1beta1/tx.js +13 -0
- package/esm/injective/ocr/v1beta1/genesis.js +16 -0
- package/esm/injective/ocr/v1beta1/ocr.js +21 -0
- package/esm/injective/ocr/v1beta1/query.js +22 -0
- package/esm/injective/ocr/v1beta1/tx.js +16 -0
- package/esm/injective/oracle/v1beta1/events.js +7 -0
- package/esm/injective/oracle/v1beta1/genesis.js +4 -0
- package/esm/injective/oracle/v1beta1/oracle.js +37 -0
- package/esm/injective/oracle/v1beta1/proposal.js +33 -0
- package/esm/injective/oracle/v1beta1/query.js +52 -0
- package/esm/injective/oracle/v1beta1/tx.js +10 -0
- package/esm/injective/peggy/v1/batch.js +7 -0
- package/esm/injective/peggy/v1/events.js +7 -0
- package/esm/injective/peggy/v1/genesis.js +4 -0
- package/esm/injective/peggy/v1/msgs.js +10 -0
- package/esm/injective/peggy/v1/params.js +4 -0
- package/esm/injective/peggy/v1/proposal.js +6 -0
- package/esm/injective/peggy/v1/query.js +46 -0
- package/esm/injective/peggy/v1/types.js +4 -0
- package/esm/injective/permissions/v1beta1/events.js +4 -0
- package/esm/injective/permissions/v1beta1/genesis.js +4 -0
- package/esm/injective/permissions/v1beta1/permissions.js +10 -0
- package/esm/injective/permissions/v1beta1/query.js +13 -0
- package/esm/injective/permissions/v1beta1/tx.js +16 -0
- package/esm/injective/stream/v1beta1/query.js +37 -0
- package/esm/injective/tokenfactory/v1beta1/events.js +10 -0
- package/esm/injective/tokenfactory/v1beta1/genesis.js +7 -0
- package/esm/injective/tokenfactory/v1beta1/params.js +4 -0
- package/esm/injective/tokenfactory/v1beta1/query.js +10 -0
- package/esm/injective/tokenfactory/v1beta1/tx.js +13 -0
- package/esm/injective/types/v1beta1/account.js +3 -0
- package/esm/injective/types/v1beta1/tx_response.js +4 -0
- package/esm/injective/wasmx/v1/genesis.js +7 -0
- package/esm/injective/wasmx/v1/proposal.js +15 -0
- package/esm/injective/wasmx/v1/query.js +10 -0
- package/esm/injective/wasmx/v1/tx.js +7 -0
- package/esm/injective/wasmx/v1/wasmx.js +4 -0
- package/esm/registry.js +9 -1
- package/esm/tendermint/abci/types.js +67 -0
- package/esm/tendermint/crypto/proof.js +7 -0
- package/esm/tendermint/types/block.js +4 -0
- package/esm/tendermint/types/evidence.js +13 -0
- package/esm/tendermint/types/params.js +4 -0
- package/esm/tendermint/types/types.js +34 -0
- package/esm/tendermint/types/validator.js +10 -0
- package/esm/types.js +1 -1
- package/esm/utf8.js +1 -1
- package/esm/varint.js +1 -1
- package/extern.d.ts +1 -1
- package/extern.js +1 -1
- package/google/api/http.js +7 -0
- package/google/protobuf/descriptor.js +73 -0
- package/helper-func-types.d.ts +1 -1
- package/helper-func-types.js +1 -1
- package/helpers.d.ts +1 -1
- package/helpers.js +1 -1
- package/ibc/applications/transfer/v1/transfer.js +4 -0
- package/ibc/applications/transfer/v1/tx.js +7 -0
- package/ibc/core/channel/v1/channel.js +16 -0
- package/ibc/core/channel/v1/tx.js +58 -0
- package/ibc/core/channel/v1/upgrade.js +4 -0
- package/ibc/core/client/v1/client.js +4 -0
- package/ibc/core/client/v1/tx.js +4 -0
- package/ibc/core/commitment/v1/commitment.js +4 -0
- package/ibc/core/connection/v1/connection.js +10 -0
- package/ibc/core/connection/v1/tx.js +16 -0
- package/injective/auction/v1beta1/auction.js +4 -0
- package/injective/auction/v1beta1/genesis.js +4 -0
- package/injective/auction/v1beta1/query.js +13 -0
- package/injective/auction/v1beta1/tx.js +7 -0
- package/injective/exchange/v1beta1/authz.js +33 -0
- package/injective/exchange/v1beta1/events.js +82 -0
- package/injective/exchange/v1beta1/exchange.js +64 -0
- package/injective/exchange/v1beta1/genesis.js +43 -0
- package/injective/exchange/v1beta1/proposal.js +48 -0
- package/injective/exchange/v1beta1/query.js +154 -0
- package/injective/exchange/v1beta1/tx.js +76 -0
- package/injective/insurance/v1beta1/events.js +16 -0
- package/injective/insurance/v1beta1/genesis.js +4 -0
- package/injective/insurance/v1beta1/insurance.js +4 -0
- package/injective/insurance/v1beta1/query.js +19 -0
- package/injective/insurance/v1beta1/tx.js +13 -0
- package/injective/ocr/v1beta1/genesis.js +16 -0
- package/injective/ocr/v1beta1/ocr.js +21 -0
- package/injective/ocr/v1beta1/query.js +22 -0
- package/injective/ocr/v1beta1/tx.js +16 -0
- package/injective/oracle/v1beta1/events.js +7 -0
- package/injective/oracle/v1beta1/genesis.js +4 -0
- package/injective/oracle/v1beta1/oracle.js +37 -0
- package/injective/oracle/v1beta1/proposal.js +33 -0
- package/injective/oracle/v1beta1/query.js +52 -0
- package/injective/oracle/v1beta1/tx.js +10 -0
- package/injective/peggy/v1/batch.js +7 -0
- package/injective/peggy/v1/events.js +7 -0
- package/injective/peggy/v1/genesis.js +4 -0
- package/injective/peggy/v1/msgs.js +10 -0
- package/injective/peggy/v1/params.js +4 -0
- package/injective/peggy/v1/proposal.js +6 -0
- package/injective/peggy/v1/query.js +46 -0
- package/injective/peggy/v1/types.js +4 -0
- package/injective/permissions/v1beta1/events.js +4 -0
- package/injective/permissions/v1beta1/genesis.js +4 -0
- package/injective/permissions/v1beta1/permissions.js +10 -0
- package/injective/permissions/v1beta1/query.js +13 -0
- package/injective/permissions/v1beta1/tx.js +16 -0
- package/injective/stream/v1beta1/query.js +37 -0
- package/injective/tokenfactory/v1beta1/events.js +10 -0
- package/injective/tokenfactory/v1beta1/genesis.js +7 -0
- package/injective/tokenfactory/v1beta1/params.js +4 -0
- package/injective/tokenfactory/v1beta1/query.js +10 -0
- package/injective/tokenfactory/v1beta1/tx.js +13 -0
- package/injective/types/v1beta1/account.js +3 -0
- package/injective/types/v1beta1/tx_response.js +4 -0
- package/injective/wasmx/v1/genesis.js +7 -0
- package/injective/wasmx/v1/proposal.js +15 -0
- package/injective/wasmx/v1/query.js +10 -0
- package/injective/wasmx/v1/tx.js +7 -0
- package/injective/wasmx/v1/wasmx.js +4 -0
- package/package.json +8 -8
- package/registry.d.ts +3 -1
- package/registry.js +9 -1
- package/tendermint/abci/types.js +67 -0
- package/tendermint/crypto/proof.js +7 -0
- package/tendermint/types/block.js +4 -0
- package/tendermint/types/evidence.js +13 -0
- package/tendermint/types/params.js +4 -0
- package/tendermint/types/types.js +34 -0
- package/tendermint/types/validator.js +10 -0
- package/types.d.ts +1 -1
- package/types.js +1 -1
- package/utf8.d.ts +1 -1
- package/utf8.js +1 -1
- package/varint.d.ts +1 -1
- package/varint.js +1 -1
|
@@ -2,6 +2,7 @@ import { Any } from "../../../google/protobuf/any";
|
|
|
2
2
|
import { CompactBitArray } from "../../crypto/multisig/v1beta1/multisig";
|
|
3
3
|
import { Coin } from "../../base/v1beta1/coin";
|
|
4
4
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
5
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
5
6
|
import { bytesFromBase64, base64FromBytes, isSet } from "../../../helpers";
|
|
6
7
|
function createBaseTx() {
|
|
7
8
|
return {
|
|
@@ -106,6 +107,9 @@ export const Tx = {
|
|
|
106
107
|
};
|
|
107
108
|
},
|
|
108
109
|
registerTypeUrl() {
|
|
110
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(Tx.typeUrl)) {
|
|
111
|
+
return;
|
|
112
|
+
}
|
|
109
113
|
TxBody.registerTypeUrl();
|
|
110
114
|
AuthInfo.registerTypeUrl();
|
|
111
115
|
}
|
|
@@ -463,6 +467,9 @@ export const SignDocDirectAux = {
|
|
|
463
467
|
};
|
|
464
468
|
},
|
|
465
469
|
registerTypeUrl() {
|
|
470
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(SignDocDirectAux.typeUrl)) {
|
|
471
|
+
return;
|
|
472
|
+
}
|
|
466
473
|
Tip.registerTypeUrl();
|
|
467
474
|
}
|
|
468
475
|
};
|
|
@@ -703,6 +710,9 @@ export const AuthInfo = {
|
|
|
703
710
|
};
|
|
704
711
|
},
|
|
705
712
|
registerTypeUrl() {
|
|
713
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(AuthInfo.typeUrl)) {
|
|
714
|
+
return;
|
|
715
|
+
}
|
|
706
716
|
SignerInfo.registerTypeUrl();
|
|
707
717
|
Fee.registerTypeUrl();
|
|
708
718
|
Tip.registerTypeUrl();
|
|
@@ -808,6 +818,9 @@ export const SignerInfo = {
|
|
|
808
818
|
};
|
|
809
819
|
},
|
|
810
820
|
registerTypeUrl() {
|
|
821
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(SignerInfo.typeUrl)) {
|
|
822
|
+
return;
|
|
823
|
+
}
|
|
811
824
|
ModeInfo.registerTypeUrl();
|
|
812
825
|
}
|
|
813
826
|
};
|
|
@@ -899,6 +912,9 @@ export const ModeInfo = {
|
|
|
899
912
|
};
|
|
900
913
|
},
|
|
901
914
|
registerTypeUrl() {
|
|
915
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(ModeInfo.typeUrl)) {
|
|
916
|
+
return;
|
|
917
|
+
}
|
|
902
918
|
ModeInfo_Single.registerTypeUrl();
|
|
903
919
|
ModeInfo_Multi.registerTypeUrl();
|
|
904
920
|
}
|
|
@@ -1071,6 +1087,9 @@ export const ModeInfo_Multi = {
|
|
|
1071
1087
|
};
|
|
1072
1088
|
},
|
|
1073
1089
|
registerTypeUrl() {
|
|
1090
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(ModeInfo_Multi.typeUrl)) {
|
|
1091
|
+
return;
|
|
1092
|
+
}
|
|
1074
1093
|
CompactBitArray.registerTypeUrl();
|
|
1075
1094
|
ModeInfo.registerTypeUrl();
|
|
1076
1095
|
}
|
|
@@ -1190,6 +1209,9 @@ export const Fee = {
|
|
|
1190
1209
|
};
|
|
1191
1210
|
},
|
|
1192
1211
|
registerTypeUrl() {
|
|
1212
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(Fee.typeUrl)) {
|
|
1213
|
+
return;
|
|
1214
|
+
}
|
|
1193
1215
|
Coin.registerTypeUrl();
|
|
1194
1216
|
}
|
|
1195
1217
|
};
|
|
@@ -1284,6 +1306,9 @@ export const Tip = {
|
|
|
1284
1306
|
};
|
|
1285
1307
|
},
|
|
1286
1308
|
registerTypeUrl() {
|
|
1309
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(Tip.typeUrl)) {
|
|
1310
|
+
return;
|
|
1311
|
+
}
|
|
1287
1312
|
Coin.registerTypeUrl();
|
|
1288
1313
|
}
|
|
1289
1314
|
};
|
|
@@ -1399,6 +1424,9 @@ export const AuxSignerData = {
|
|
|
1399
1424
|
};
|
|
1400
1425
|
},
|
|
1401
1426
|
registerTypeUrl() {
|
|
1427
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(AuxSignerData.typeUrl)) {
|
|
1428
|
+
return;
|
|
1429
|
+
}
|
|
1402
1430
|
SignDocDirectAux.registerTypeUrl();
|
|
1403
1431
|
}
|
|
1404
1432
|
};
|
|
@@ -228,6 +228,9 @@ export const SoftwareUpgradeProposal = {
|
|
|
228
228
|
};
|
|
229
229
|
},
|
|
230
230
|
registerTypeUrl() {
|
|
231
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(SoftwareUpgradeProposal.typeUrl)) {
|
|
232
|
+
return;
|
|
233
|
+
}
|
|
231
234
|
GlobalDecoderRegistry.register(SoftwareUpgradeProposal.typeUrl, SoftwareUpgradeProposal);
|
|
232
235
|
GlobalDecoderRegistry.registerAminoProtoMapping(SoftwareUpgradeProposal.aminoType, SoftwareUpgradeProposal.typeUrl);
|
|
233
236
|
Plan.registerTypeUrl();
|
|
@@ -321,6 +324,9 @@ export const CancelSoftwareUpgradeProposal = {
|
|
|
321
324
|
};
|
|
322
325
|
},
|
|
323
326
|
registerTypeUrl() {
|
|
327
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(CancelSoftwareUpgradeProposal.typeUrl)) {
|
|
328
|
+
return;
|
|
329
|
+
}
|
|
324
330
|
GlobalDecoderRegistry.register(CancelSoftwareUpgradeProposal.typeUrl, CancelSoftwareUpgradeProposal);
|
|
325
331
|
GlobalDecoderRegistry.registerAminoProtoMapping(CancelSoftwareUpgradeProposal.aminoType, CancelSoftwareUpgradeProposal.typeUrl);
|
|
326
332
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Coin } from "../../base/v1beta1/coin";
|
|
2
2
|
import { Period } from "./vesting";
|
|
3
3
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
4
5
|
function createBaseMsgCreateVestingAccount() {
|
|
5
6
|
return {
|
|
6
7
|
fromAddress: "",
|
|
@@ -128,6 +129,9 @@ export const MsgCreateVestingAccount = {
|
|
|
128
129
|
};
|
|
129
130
|
},
|
|
130
131
|
registerTypeUrl() {
|
|
132
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(MsgCreateVestingAccount.typeUrl)) {
|
|
133
|
+
return;
|
|
134
|
+
}
|
|
131
135
|
Coin.registerTypeUrl();
|
|
132
136
|
}
|
|
133
137
|
};
|
|
@@ -298,6 +302,9 @@ export const MsgCreatePermanentLockedAccount = {
|
|
|
298
302
|
};
|
|
299
303
|
},
|
|
300
304
|
registerTypeUrl() {
|
|
305
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(MsgCreatePermanentLockedAccount.typeUrl)) {
|
|
306
|
+
return;
|
|
307
|
+
}
|
|
301
308
|
Coin.registerTypeUrl();
|
|
302
309
|
}
|
|
303
310
|
};
|
|
@@ -480,6 +487,9 @@ export const MsgCreatePeriodicVestingAccount = {
|
|
|
480
487
|
};
|
|
481
488
|
},
|
|
482
489
|
registerTypeUrl() {
|
|
490
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(MsgCreatePeriodicVestingAccount.typeUrl)) {
|
|
491
|
+
return;
|
|
492
|
+
}
|
|
483
493
|
Period.registerTypeUrl();
|
|
484
494
|
}
|
|
485
495
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { BaseAccount } from "../../auth/v1beta1/auth";
|
|
2
2
|
import { Coin } from "../../base/v1beta1/coin";
|
|
3
3
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
4
5
|
function createBaseBaseVestingAccount() {
|
|
5
6
|
return {
|
|
6
7
|
baseAccount: undefined,
|
|
@@ -134,6 +135,9 @@ export const BaseVestingAccount = {
|
|
|
134
135
|
};
|
|
135
136
|
},
|
|
136
137
|
registerTypeUrl() {
|
|
138
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(BaseVestingAccount.typeUrl)) {
|
|
139
|
+
return;
|
|
140
|
+
}
|
|
137
141
|
BaseAccount.registerTypeUrl();
|
|
138
142
|
Coin.registerTypeUrl();
|
|
139
143
|
}
|
|
@@ -226,6 +230,9 @@ export const ContinuousVestingAccount = {
|
|
|
226
230
|
};
|
|
227
231
|
},
|
|
228
232
|
registerTypeUrl() {
|
|
233
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(ContinuousVestingAccount.typeUrl)) {
|
|
234
|
+
return;
|
|
235
|
+
}
|
|
229
236
|
BaseVestingAccount.registerTypeUrl();
|
|
230
237
|
}
|
|
231
238
|
};
|
|
@@ -305,6 +312,9 @@ export const DelayedVestingAccount = {
|
|
|
305
312
|
};
|
|
306
313
|
},
|
|
307
314
|
registerTypeUrl() {
|
|
315
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(DelayedVestingAccount.typeUrl)) {
|
|
316
|
+
return;
|
|
317
|
+
}
|
|
308
318
|
BaseVestingAccount.registerTypeUrl();
|
|
309
319
|
}
|
|
310
320
|
};
|
|
@@ -399,6 +409,9 @@ export const Period = {
|
|
|
399
409
|
};
|
|
400
410
|
},
|
|
401
411
|
registerTypeUrl() {
|
|
412
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(Period.typeUrl)) {
|
|
413
|
+
return;
|
|
414
|
+
}
|
|
402
415
|
Coin.registerTypeUrl();
|
|
403
416
|
}
|
|
404
417
|
};
|
|
@@ -505,6 +518,9 @@ export const PeriodicVestingAccount = {
|
|
|
505
518
|
};
|
|
506
519
|
},
|
|
507
520
|
registerTypeUrl() {
|
|
521
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(PeriodicVestingAccount.typeUrl)) {
|
|
522
|
+
return;
|
|
523
|
+
}
|
|
508
524
|
BaseVestingAccount.registerTypeUrl();
|
|
509
525
|
Period.registerTypeUrl();
|
|
510
526
|
}
|
|
@@ -585,6 +601,9 @@ export const PermanentLockedAccount = {
|
|
|
585
601
|
};
|
|
586
602
|
},
|
|
587
603
|
registerTypeUrl() {
|
|
604
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(PermanentLockedAccount.typeUrl)) {
|
|
605
|
+
return;
|
|
606
|
+
}
|
|
588
607
|
BaseVestingAccount.registerTypeUrl();
|
|
589
608
|
}
|
|
590
609
|
};
|
|
@@ -176,6 +176,9 @@ export const StoreCodeProposal = {
|
|
|
176
176
|
};
|
|
177
177
|
},
|
|
178
178
|
registerTypeUrl() {
|
|
179
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(StoreCodeProposal.typeUrl)) {
|
|
180
|
+
return;
|
|
181
|
+
}
|
|
179
182
|
GlobalDecoderRegistry.register(StoreCodeProposal.typeUrl, StoreCodeProposal);
|
|
180
183
|
GlobalDecoderRegistry.registerAminoProtoMapping(StoreCodeProposal.aminoType, StoreCodeProposal.typeUrl);
|
|
181
184
|
AccessConfig.registerTypeUrl();
|
|
@@ -344,6 +347,9 @@ export const InstantiateContractProposal = {
|
|
|
344
347
|
};
|
|
345
348
|
},
|
|
346
349
|
registerTypeUrl() {
|
|
350
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(InstantiateContractProposal.typeUrl)) {
|
|
351
|
+
return;
|
|
352
|
+
}
|
|
347
353
|
GlobalDecoderRegistry.register(InstantiateContractProposal.typeUrl, InstantiateContractProposal);
|
|
348
354
|
GlobalDecoderRegistry.registerAminoProtoMapping(InstantiateContractProposal.aminoType, InstantiateContractProposal.typeUrl);
|
|
349
355
|
Coin.registerTypeUrl();
|
|
@@ -536,6 +542,9 @@ export const InstantiateContract2Proposal = {
|
|
|
536
542
|
};
|
|
537
543
|
},
|
|
538
544
|
registerTypeUrl() {
|
|
545
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(InstantiateContract2Proposal.typeUrl)) {
|
|
546
|
+
return;
|
|
547
|
+
}
|
|
539
548
|
GlobalDecoderRegistry.register(InstantiateContract2Proposal.typeUrl, InstantiateContract2Proposal);
|
|
540
549
|
GlobalDecoderRegistry.registerAminoProtoMapping(InstantiateContract2Proposal.aminoType, InstantiateContract2Proposal.typeUrl);
|
|
541
550
|
Coin.registerTypeUrl();
|
|
@@ -665,6 +674,9 @@ export const MigrateContractProposal = {
|
|
|
665
674
|
};
|
|
666
675
|
},
|
|
667
676
|
registerTypeUrl() {
|
|
677
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(MigrateContractProposal.typeUrl)) {
|
|
678
|
+
return;
|
|
679
|
+
}
|
|
668
680
|
GlobalDecoderRegistry.register(MigrateContractProposal.typeUrl, MigrateContractProposal);
|
|
669
681
|
GlobalDecoderRegistry.registerAminoProtoMapping(MigrateContractProposal.aminoType, MigrateContractProposal.typeUrl);
|
|
670
682
|
}
|
|
@@ -781,6 +793,9 @@ export const SudoContractProposal = {
|
|
|
781
793
|
};
|
|
782
794
|
},
|
|
783
795
|
registerTypeUrl() {
|
|
796
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(SudoContractProposal.typeUrl)) {
|
|
797
|
+
return;
|
|
798
|
+
}
|
|
784
799
|
GlobalDecoderRegistry.register(SudoContractProposal.typeUrl, SudoContractProposal);
|
|
785
800
|
GlobalDecoderRegistry.registerAminoProtoMapping(SudoContractProposal.aminoType, SudoContractProposal.typeUrl);
|
|
786
801
|
}
|
|
@@ -924,6 +939,9 @@ export const ExecuteContractProposal = {
|
|
|
924
939
|
};
|
|
925
940
|
},
|
|
926
941
|
registerTypeUrl() {
|
|
942
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(ExecuteContractProposal.typeUrl)) {
|
|
943
|
+
return;
|
|
944
|
+
}
|
|
927
945
|
GlobalDecoderRegistry.register(ExecuteContractProposal.typeUrl, ExecuteContractProposal);
|
|
928
946
|
GlobalDecoderRegistry.registerAminoProtoMapping(ExecuteContractProposal.aminoType, ExecuteContractProposal.typeUrl);
|
|
929
947
|
Coin.registerTypeUrl();
|
|
@@ -1041,6 +1059,9 @@ export const UpdateAdminProposal = {
|
|
|
1041
1059
|
};
|
|
1042
1060
|
},
|
|
1043
1061
|
registerTypeUrl() {
|
|
1062
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(UpdateAdminProposal.typeUrl)) {
|
|
1063
|
+
return;
|
|
1064
|
+
}
|
|
1044
1065
|
GlobalDecoderRegistry.register(UpdateAdminProposal.typeUrl, UpdateAdminProposal);
|
|
1045
1066
|
GlobalDecoderRegistry.registerAminoProtoMapping(UpdateAdminProposal.aminoType, UpdateAdminProposal.typeUrl);
|
|
1046
1067
|
}
|
|
@@ -1145,6 +1166,9 @@ export const ClearAdminProposal = {
|
|
|
1145
1166
|
};
|
|
1146
1167
|
},
|
|
1147
1168
|
registerTypeUrl() {
|
|
1169
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(ClearAdminProposal.typeUrl)) {
|
|
1170
|
+
return;
|
|
1171
|
+
}
|
|
1148
1172
|
GlobalDecoderRegistry.register(ClearAdminProposal.typeUrl, ClearAdminProposal);
|
|
1149
1173
|
GlobalDecoderRegistry.registerAminoProtoMapping(ClearAdminProposal.aminoType, ClearAdminProposal.typeUrl);
|
|
1150
1174
|
}
|
|
@@ -1262,6 +1286,9 @@ export const PinCodesProposal = {
|
|
|
1262
1286
|
};
|
|
1263
1287
|
},
|
|
1264
1288
|
registerTypeUrl() {
|
|
1289
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(PinCodesProposal.typeUrl)) {
|
|
1290
|
+
return;
|
|
1291
|
+
}
|
|
1265
1292
|
GlobalDecoderRegistry.register(PinCodesProposal.typeUrl, PinCodesProposal);
|
|
1266
1293
|
GlobalDecoderRegistry.registerAminoProtoMapping(PinCodesProposal.aminoType, PinCodesProposal.typeUrl);
|
|
1267
1294
|
}
|
|
@@ -1379,6 +1406,9 @@ export const UnpinCodesProposal = {
|
|
|
1379
1406
|
};
|
|
1380
1407
|
},
|
|
1381
1408
|
registerTypeUrl() {
|
|
1409
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(UnpinCodesProposal.typeUrl)) {
|
|
1410
|
+
return;
|
|
1411
|
+
}
|
|
1382
1412
|
GlobalDecoderRegistry.register(UnpinCodesProposal.typeUrl, UnpinCodesProposal);
|
|
1383
1413
|
GlobalDecoderRegistry.registerAminoProtoMapping(UnpinCodesProposal.aminoType, UnpinCodesProposal.typeUrl);
|
|
1384
1414
|
}
|
|
@@ -1471,6 +1501,9 @@ export const AccessConfigUpdate = {
|
|
|
1471
1501
|
};
|
|
1472
1502
|
},
|
|
1473
1503
|
registerTypeUrl() {
|
|
1504
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(AccessConfigUpdate.typeUrl)) {
|
|
1505
|
+
return;
|
|
1506
|
+
}
|
|
1474
1507
|
AccessConfig.registerTypeUrl();
|
|
1475
1508
|
}
|
|
1476
1509
|
};
|
|
@@ -1577,6 +1610,9 @@ export const UpdateInstantiateConfigProposal = {
|
|
|
1577
1610
|
};
|
|
1578
1611
|
},
|
|
1579
1612
|
registerTypeUrl() {
|
|
1613
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(UpdateInstantiateConfigProposal.typeUrl)) {
|
|
1614
|
+
return;
|
|
1615
|
+
}
|
|
1580
1616
|
GlobalDecoderRegistry.register(UpdateInstantiateConfigProposal.typeUrl, UpdateInstantiateConfigProposal);
|
|
1581
1617
|
GlobalDecoderRegistry.registerAminoProtoMapping(UpdateInstantiateConfigProposal.aminoType, UpdateInstantiateConfigProposal.typeUrl);
|
|
1582
1618
|
AccessConfigUpdate.registerTypeUrl();
|
|
@@ -1805,6 +1841,9 @@ export const StoreAndInstantiateContractProposal = {
|
|
|
1805
1841
|
};
|
|
1806
1842
|
},
|
|
1807
1843
|
registerTypeUrl() {
|
|
1844
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(StoreAndInstantiateContractProposal.typeUrl)) {
|
|
1845
|
+
return;
|
|
1846
|
+
}
|
|
1808
1847
|
GlobalDecoderRegistry.register(StoreAndInstantiateContractProposal.typeUrl, StoreAndInstantiateContractProposal);
|
|
1809
1848
|
GlobalDecoderRegistry.registerAminoProtoMapping(StoreAndInstantiateContractProposal.aminoType, StoreAndInstantiateContractProposal.typeUrl);
|
|
1810
1849
|
AccessConfig.registerTypeUrl();
|
|
@@ -2,6 +2,7 @@ import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pa
|
|
|
2
2
|
import { ContractInfo, ContractCodeHistoryEntry, Model, AccessConfig, Params } from "./types";
|
|
3
3
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
4
|
import { bytesFromBase64, base64FromBytes } from "../../../helpers";
|
|
5
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
5
6
|
import { toUtf8, fromUtf8 } from "@interchainjs/encoding";
|
|
6
7
|
function createBaseQueryContractInfoRequest() {
|
|
7
8
|
return {
|
|
@@ -168,6 +169,9 @@ export const QueryContractInfoResponse = {
|
|
|
168
169
|
};
|
|
169
170
|
},
|
|
170
171
|
registerTypeUrl() {
|
|
172
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(QueryContractInfoResponse.typeUrl)) {
|
|
173
|
+
return;
|
|
174
|
+
}
|
|
171
175
|
ContractInfo.registerTypeUrl();
|
|
172
176
|
}
|
|
173
177
|
};
|
|
@@ -259,6 +263,9 @@ export const QueryContractHistoryRequest = {
|
|
|
259
263
|
};
|
|
260
264
|
},
|
|
261
265
|
registerTypeUrl() {
|
|
266
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(QueryContractHistoryRequest.typeUrl)) {
|
|
267
|
+
return;
|
|
268
|
+
}
|
|
262
269
|
PageRequest.registerTypeUrl();
|
|
263
270
|
}
|
|
264
271
|
};
|
|
@@ -353,6 +360,9 @@ export const QueryContractHistoryResponse = {
|
|
|
353
360
|
};
|
|
354
361
|
},
|
|
355
362
|
registerTypeUrl() {
|
|
363
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(QueryContractHistoryResponse.typeUrl)) {
|
|
364
|
+
return;
|
|
365
|
+
}
|
|
356
366
|
ContractCodeHistoryEntry.registerTypeUrl();
|
|
357
367
|
PageResponse.registerTypeUrl();
|
|
358
368
|
}
|
|
@@ -445,6 +455,9 @@ export const QueryContractsByCodeRequest = {
|
|
|
445
455
|
};
|
|
446
456
|
},
|
|
447
457
|
registerTypeUrl() {
|
|
458
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(QueryContractsByCodeRequest.typeUrl)) {
|
|
459
|
+
return;
|
|
460
|
+
}
|
|
448
461
|
PageRequest.registerTypeUrl();
|
|
449
462
|
}
|
|
450
463
|
};
|
|
@@ -539,6 +552,9 @@ export const QueryContractsByCodeResponse = {
|
|
|
539
552
|
};
|
|
540
553
|
},
|
|
541
554
|
registerTypeUrl() {
|
|
555
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(QueryContractsByCodeResponse.typeUrl)) {
|
|
556
|
+
return;
|
|
557
|
+
}
|
|
542
558
|
PageResponse.registerTypeUrl();
|
|
543
559
|
}
|
|
544
560
|
};
|
|
@@ -630,6 +646,9 @@ export const QueryAllContractStateRequest = {
|
|
|
630
646
|
};
|
|
631
647
|
},
|
|
632
648
|
registerTypeUrl() {
|
|
649
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(QueryAllContractStateRequest.typeUrl)) {
|
|
650
|
+
return;
|
|
651
|
+
}
|
|
633
652
|
PageRequest.registerTypeUrl();
|
|
634
653
|
}
|
|
635
654
|
};
|
|
@@ -724,6 +743,9 @@ export const QueryAllContractStateResponse = {
|
|
|
724
743
|
};
|
|
725
744
|
},
|
|
726
745
|
registerTypeUrl() {
|
|
746
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(QueryAllContractStateResponse.typeUrl)) {
|
|
747
|
+
return;
|
|
748
|
+
}
|
|
727
749
|
Model.registerTypeUrl();
|
|
728
750
|
PageResponse.registerTypeUrl();
|
|
729
751
|
}
|
|
@@ -1326,6 +1348,9 @@ export const QueryCodeInfoResponse = {
|
|
|
1326
1348
|
};
|
|
1327
1349
|
},
|
|
1328
1350
|
registerTypeUrl() {
|
|
1351
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(QueryCodeInfoResponse.typeUrl)) {
|
|
1352
|
+
return;
|
|
1353
|
+
}
|
|
1329
1354
|
AccessConfig.registerTypeUrl();
|
|
1330
1355
|
}
|
|
1331
1356
|
};
|
|
@@ -1441,6 +1466,9 @@ export const CodeInfoResponse = {
|
|
|
1441
1466
|
};
|
|
1442
1467
|
},
|
|
1443
1468
|
registerTypeUrl() {
|
|
1469
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(CodeInfoResponse.typeUrl)) {
|
|
1470
|
+
return;
|
|
1471
|
+
}
|
|
1444
1472
|
AccessConfig.registerTypeUrl();
|
|
1445
1473
|
}
|
|
1446
1474
|
};
|
|
@@ -1532,6 +1560,9 @@ export const QueryCodeResponse = {
|
|
|
1532
1560
|
};
|
|
1533
1561
|
},
|
|
1534
1562
|
registerTypeUrl() {
|
|
1563
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(QueryCodeResponse.typeUrl)) {
|
|
1564
|
+
return;
|
|
1565
|
+
}
|
|
1535
1566
|
CodeInfoResponse.registerTypeUrl();
|
|
1536
1567
|
}
|
|
1537
1568
|
};
|
|
@@ -1611,6 +1642,9 @@ export const QueryCodesRequest = {
|
|
|
1611
1642
|
};
|
|
1612
1643
|
},
|
|
1613
1644
|
registerTypeUrl() {
|
|
1645
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(QueryCodesRequest.typeUrl)) {
|
|
1646
|
+
return;
|
|
1647
|
+
}
|
|
1614
1648
|
PageRequest.registerTypeUrl();
|
|
1615
1649
|
}
|
|
1616
1650
|
};
|
|
@@ -1705,6 +1739,9 @@ export const QueryCodesResponse = {
|
|
|
1705
1739
|
};
|
|
1706
1740
|
},
|
|
1707
1741
|
registerTypeUrl() {
|
|
1742
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(QueryCodesResponse.typeUrl)) {
|
|
1743
|
+
return;
|
|
1744
|
+
}
|
|
1708
1745
|
CodeInfoResponse.registerTypeUrl();
|
|
1709
1746
|
PageResponse.registerTypeUrl();
|
|
1710
1747
|
}
|
|
@@ -1785,6 +1822,9 @@ export const QueryPinnedCodesRequest = {
|
|
|
1785
1822
|
};
|
|
1786
1823
|
},
|
|
1787
1824
|
registerTypeUrl() {
|
|
1825
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(QueryPinnedCodesRequest.typeUrl)) {
|
|
1826
|
+
return;
|
|
1827
|
+
}
|
|
1788
1828
|
PageRequest.registerTypeUrl();
|
|
1789
1829
|
}
|
|
1790
1830
|
};
|
|
@@ -1889,6 +1929,9 @@ export const QueryPinnedCodesResponse = {
|
|
|
1889
1929
|
};
|
|
1890
1930
|
},
|
|
1891
1931
|
registerTypeUrl() {
|
|
1932
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(QueryPinnedCodesResponse.typeUrl)) {
|
|
1933
|
+
return;
|
|
1934
|
+
}
|
|
1892
1935
|
PageResponse.registerTypeUrl();
|
|
1893
1936
|
}
|
|
1894
1937
|
};
|
|
@@ -2032,6 +2075,9 @@ export const QueryParamsResponse = {
|
|
|
2032
2075
|
};
|
|
2033
2076
|
},
|
|
2034
2077
|
registerTypeUrl() {
|
|
2078
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(QueryParamsResponse.typeUrl)) {
|
|
2079
|
+
return;
|
|
2080
|
+
}
|
|
2035
2081
|
Params.registerTypeUrl();
|
|
2036
2082
|
}
|
|
2037
2083
|
};
|
|
@@ -2123,6 +2169,9 @@ export const QueryContractsByCreatorRequest = {
|
|
|
2123
2169
|
};
|
|
2124
2170
|
},
|
|
2125
2171
|
registerTypeUrl() {
|
|
2172
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(QueryContractsByCreatorRequest.typeUrl)) {
|
|
2173
|
+
return;
|
|
2174
|
+
}
|
|
2126
2175
|
PageRequest.registerTypeUrl();
|
|
2127
2176
|
}
|
|
2128
2177
|
};
|
|
@@ -2217,6 +2266,9 @@ export const QueryContractsByCreatorResponse = {
|
|
|
2217
2266
|
};
|
|
2218
2267
|
},
|
|
2219
2268
|
registerTypeUrl() {
|
|
2269
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(QueryContractsByCreatorResponse.typeUrl)) {
|
|
2270
|
+
return;
|
|
2271
|
+
}
|
|
2220
2272
|
PageResponse.registerTypeUrl();
|
|
2221
2273
|
}
|
|
2222
2274
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AccessConfig, Params } from "./types";
|
|
2
2
|
import { Coin } from "../../../cosmos/base/v1beta1/coin";
|
|
3
3
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
4
5
|
import { bytesFromBase64, base64FromBytes } from "../../../helpers";
|
|
5
6
|
import { fromBase64, toBase64, toUtf8, fromUtf8 } from "@interchainjs/encoding";
|
|
6
7
|
function createBaseMsgStoreCode() {
|
|
@@ -103,6 +104,9 @@ export const MsgStoreCode = {
|
|
|
103
104
|
};
|
|
104
105
|
},
|
|
105
106
|
registerTypeUrl() {
|
|
107
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(MsgStoreCode.typeUrl)) {
|
|
108
|
+
return;
|
|
109
|
+
}
|
|
106
110
|
AccessConfig.registerTypeUrl();
|
|
107
111
|
}
|
|
108
112
|
};
|
|
@@ -334,6 +338,9 @@ export const MsgInstantiateContract = {
|
|
|
334
338
|
};
|
|
335
339
|
},
|
|
336
340
|
registerTypeUrl() {
|
|
341
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(MsgInstantiateContract.typeUrl)) {
|
|
342
|
+
return;
|
|
343
|
+
}
|
|
337
344
|
Coin.registerTypeUrl();
|
|
338
345
|
}
|
|
339
346
|
};
|
|
@@ -589,6 +596,9 @@ export const MsgInstantiateContract2 = {
|
|
|
589
596
|
};
|
|
590
597
|
},
|
|
591
598
|
registerTypeUrl() {
|
|
599
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(MsgInstantiateContract2.typeUrl)) {
|
|
600
|
+
return;
|
|
601
|
+
}
|
|
592
602
|
Coin.registerTypeUrl();
|
|
593
603
|
}
|
|
594
604
|
};
|
|
@@ -796,6 +806,9 @@ export const MsgExecuteContract = {
|
|
|
796
806
|
};
|
|
797
807
|
},
|
|
798
808
|
registerTypeUrl() {
|
|
809
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(MsgExecuteContract.typeUrl)) {
|
|
810
|
+
return;
|
|
811
|
+
}
|
|
799
812
|
Coin.registerTypeUrl();
|
|
800
813
|
}
|
|
801
814
|
};
|
|
@@ -1484,6 +1497,9 @@ export const MsgUpdateInstantiateConfig = {
|
|
|
1484
1497
|
};
|
|
1485
1498
|
},
|
|
1486
1499
|
registerTypeUrl() {
|
|
1500
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(MsgUpdateInstantiateConfig.typeUrl)) {
|
|
1501
|
+
return;
|
|
1502
|
+
}
|
|
1487
1503
|
AccessConfig.registerTypeUrl();
|
|
1488
1504
|
}
|
|
1489
1505
|
};
|
|
@@ -1639,6 +1655,9 @@ export const MsgUpdateParams = {
|
|
|
1639
1655
|
};
|
|
1640
1656
|
},
|
|
1641
1657
|
registerTypeUrl() {
|
|
1658
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(MsgUpdateParams.typeUrl)) {
|
|
1659
|
+
return;
|
|
1660
|
+
}
|
|
1642
1661
|
Params.registerTypeUrl();
|
|
1643
1662
|
}
|
|
1644
1663
|
};
|
|
@@ -2415,6 +2434,9 @@ export const MsgStoreAndInstantiateContract = {
|
|
|
2415
2434
|
};
|
|
2416
2435
|
},
|
|
2417
2436
|
registerTypeUrl() {
|
|
2437
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(MsgStoreAndInstantiateContract.typeUrl)) {
|
|
2438
|
+
return;
|
|
2439
|
+
}
|
|
2418
2440
|
AccessConfig.registerTypeUrl();
|
|
2419
2441
|
Coin.registerTypeUrl();
|
|
2420
2442
|
}
|
|
@@ -2944,6 +2966,9 @@ export const MsgStoreAndMigrateContract = {
|
|
|
2944
2966
|
};
|
|
2945
2967
|
},
|
|
2946
2968
|
registerTypeUrl() {
|
|
2969
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(MsgStoreAndMigrateContract.typeUrl)) {
|
|
2970
|
+
return;
|
|
2971
|
+
}
|
|
2947
2972
|
AccessConfig.registerTypeUrl();
|
|
2948
2973
|
}
|
|
2949
2974
|
};
|
|
@@ -358,6 +358,9 @@ export const Params = {
|
|
|
358
358
|
};
|
|
359
359
|
},
|
|
360
360
|
registerTypeUrl() {
|
|
361
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(Params.typeUrl)) {
|
|
362
|
+
return;
|
|
363
|
+
}
|
|
361
364
|
AccessConfig.registerTypeUrl();
|
|
362
365
|
}
|
|
363
366
|
};
|
|
@@ -461,6 +464,9 @@ export const CodeInfo = {
|
|
|
461
464
|
};
|
|
462
465
|
},
|
|
463
466
|
registerTypeUrl() {
|
|
467
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(CodeInfo.typeUrl)) {
|
|
468
|
+
return;
|
|
469
|
+
}
|
|
464
470
|
AccessConfig.registerTypeUrl();
|
|
465
471
|
}
|
|
466
472
|
};
|
|
@@ -725,6 +731,9 @@ export const ContractCodeHistoryEntry = {
|
|
|
725
731
|
};
|
|
726
732
|
},
|
|
727
733
|
registerTypeUrl() {
|
|
734
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(ContractCodeHistoryEntry.typeUrl)) {
|
|
735
|
+
return;
|
|
736
|
+
}
|
|
728
737
|
AbsoluteTxPosition.registerTypeUrl();
|
|
729
738
|
}
|
|
730
739
|
};
|
package/esm/extern.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file and any referenced files were automatically generated by @cosmology/telescope@1.12.
|
|
2
|
+
* This file and any referenced files were automatically generated by @cosmology/telescope@1.12.12
|
|
3
3
|
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
|
|
4
4
|
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
|
|
5
5
|
*/
|
package/esm/google/api/http.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "../../binary";
|
|
2
|
+
import { GlobalDecoderRegistry } from "../../registry";
|
|
2
3
|
function createBaseHttp() {
|
|
3
4
|
return {
|
|
4
5
|
rules: [],
|
|
@@ -83,6 +84,9 @@ export const Http = {
|
|
|
83
84
|
};
|
|
84
85
|
},
|
|
85
86
|
registerTypeUrl() {
|
|
87
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(Http.typeUrl)) {
|
|
88
|
+
return;
|
|
89
|
+
}
|
|
86
90
|
HttpRule.registerTypeUrl();
|
|
87
91
|
}
|
|
88
92
|
};
|
|
@@ -266,6 +270,9 @@ export const HttpRule = {
|
|
|
266
270
|
};
|
|
267
271
|
},
|
|
268
272
|
registerTypeUrl() {
|
|
273
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(HttpRule.typeUrl)) {
|
|
274
|
+
return;
|
|
275
|
+
}
|
|
269
276
|
CustomHttpPattern.registerTypeUrl();
|
|
270
277
|
HttpRule.registerTypeUrl();
|
|
271
278
|
}
|