@agoric/cosmic-proto 0.5.0-u19.2 → 0.5.0-u20.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/address-hooks.d.ts +4 -3
- package/dist/address-hooks.js +1 -217
- package/dist/address-hooks.js.map +1 -1
- package/dist/codegen/agoric/bundle.js +1 -51
- package/dist/codegen/agoric/lien/genesis.js +1 -143
- package/dist/codegen/agoric/lien/lien.js +1 -87
- package/dist/codegen/agoric/swingset/genesis.js +1 -181
- package/dist/codegen/agoric/swingset/msgs.js +1 -700
- package/dist/codegen/agoric/swingset/query.js +1 -356
- package/dist/codegen/agoric/swingset/swingset.js +1 -816
- package/dist/codegen/agoric/vbank/genesis.js +1 -82
- package/dist/codegen/agoric/vbank/msgs.js +1 -2
- package/dist/codegen/agoric/vbank/query.js +1 -222
- package/dist/codegen/agoric/vbank/vbank.js +1 -237
- package/dist/codegen/agoric/vibc/msgs.js +1 -127
- package/dist/codegen/agoric/vlocalchain/vlocalchain.js +1 -307
- package/dist/codegen/agoric/vstorage/genesis.js +1 -138
- package/dist/codegen/agoric/vstorage/query.js +1 -441
- package/dist/codegen/agoric/vstorage/vstorage.js +1 -128
- package/dist/codegen/agoric/vtransfer/genesis.js +1 -70
- package/dist/codegen/amino/amino.js +1 -2
- package/dist/codegen/amino/bundle.js +1 -6
- package/dist/codegen/binary.js +1 -367
- package/dist/codegen/circle/bundle.d.ts +0 -506
- package/dist/codegen/circle/bundle.js +1 -40
- package/dist/codegen/circle/cctp/v1/attester.js +1 -63
- package/dist/codegen/circle/cctp/v1/burn_message.js +1 -117
- package/dist/codegen/circle/cctp/v1/burning_and_minting_paused.js +1 -63
- package/dist/codegen/circle/cctp/v1/events.js +1 -1612
- package/dist/codegen/circle/cctp/v1/genesis.js +1 -295
- package/dist/codegen/circle/cctp/v1/max_message_body_size.js +1 -69
- package/dist/codegen/circle/cctp/v1/message.js +1 -160
- package/dist/codegen/circle/cctp/v1/nonce.js +1 -80
- package/dist/codegen/circle/cctp/v1/per_message_burn_limit.js +1 -73
- package/dist/codegen/circle/cctp/v1/query.js +1 -2421
- package/dist/codegen/circle/cctp/v1/remote_token_messenger.js +1 -77
- package/dist/codegen/circle/cctp/v1/sending_and_receiving_messages_paused.js +1 -63
- package/dist/codegen/circle/cctp/v1/signature_threshold.js +1 -63
- package/dist/codegen/circle/cctp/v1/token_pair.js +1 -91
- package/dist/codegen/circle/cctp/v1/tx.d.ts +0 -998
- package/dist/codegen/circle/cctp/v1/tx.js +1 -3264
- package/dist/codegen/circle/cctp/v1/tx.js.map +1 -1
- package/dist/codegen/cosmos/auth/v1beta1/auth.js +1 -337
- package/dist/codegen/cosmos/auth/v1beta1/genesis.js +1 -86
- package/dist/codegen/cosmos/auth/v1beta1/query.js +1 -1113
- package/dist/codegen/cosmos/authz/v1beta1/authz.js +1 -334
- package/dist/codegen/cosmos/authz/v1beta1/event.js +1 -161
- package/dist/codegen/cosmos/authz/v1beta1/genesis.js +1 -71
- package/dist/codegen/cosmos/authz/v1beta1/query.js +1 -506
- package/dist/codegen/cosmos/authz/v1beta1/tx.js +1 -415
- package/dist/codegen/cosmos/bank/v1beta1/authz.js +1 -71
- package/dist/codegen/cosmos/bank/v1beta1/bank.js +1 -592
- package/dist/codegen/cosmos/bank/v1beta1/genesis.js +1 -196
- package/dist/codegen/cosmos/bank/v1beta1/query.js +1 -1347
- package/dist/codegen/cosmos/bank/v1beta1/tx.js +1 -267
- package/dist/codegen/cosmos/base/abci/v1beta1/abci.js +1 -1012
- package/dist/codegen/cosmos/base/node/v1beta1/query.js +1 -112
- package/dist/codegen/cosmos/base/query/v1beta1/pagination.js +1 -189
- package/dist/codegen/cosmos/base/reflection/v2alpha1/reflection.js +1 -1755
- package/dist/codegen/cosmos/base/v1beta1/coin.js +1 -257
- package/dist/codegen/cosmos/bundle.js +1 -249
- package/dist/codegen/cosmos/crypto/ed25519/keys.js +1 -123
- package/dist/codegen/cosmos/crypto/hd/v1/hd.js +1 -109
- package/dist/codegen/cosmos/crypto/keyring/v1/record.js +1 -367
- package/dist/codegen/cosmos/crypto/multisig/keys.js +1 -82
- package/dist/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +1 -144
- package/dist/codegen/cosmos/crypto/secp256k1/keys.js +1 -123
- package/dist/codegen/cosmos/crypto/secp256r1/keys.js +1 -125
- package/dist/codegen/cosmos/distribution/v1beta1/distribution.js +1 -978
- package/dist/codegen/cosmos/distribution/v1beta1/genesis.js +1 -837
- package/dist/codegen/cosmos/distribution/v1beta1/query.js +1 -1207
- package/dist/codegen/cosmos/distribution/v1beta1/tx.js +1 -512
- package/dist/codegen/cosmos/feegrant/v1beta1/feegrant.js +1 -412
- package/dist/codegen/cosmos/feegrant/v1beta1/genesis.js +1 -71
- package/dist/codegen/cosmos/feegrant/v1beta1/query.js +1 -461
- package/dist/codegen/cosmos/feegrant/v1beta1/tx.js +1 -267
- package/dist/codegen/cosmos/gov/v1/genesis.js +1 -177
- package/dist/codegen/cosmos/gov/v1/gov.js +1 -928
- package/dist/codegen/cosmos/gov/v1/query.js +1 -1216
- package/dist/codegen/cosmos/gov/v1/tx.js +1 -730
- package/dist/codegen/cosmos/gov/v1beta1/genesis.js +1 -177
- package/dist/codegen/cosmos/gov/v1beta1/gov.js +1 -1003
- package/dist/codegen/cosmos/gov/v1beta1/query.js +1 -1216
- package/dist/codegen/cosmos/gov/v1beta1/tx.js +1 -578
- package/dist/codegen/cosmos/group/v1/events.js +1 -696
- package/dist/codegen/cosmos/group/v1/genesis.js +1 -190
- package/dist/codegen/cosmos/group/v1/query.js +1 -2096
- package/dist/codegen/cosmos/group/v1/tx.js +1 -2073
- package/dist/codegen/cosmos/group/v1/types.js +1 -1387
- package/dist/codegen/cosmos/mint/v1beta1/genesis.js +1 -82
- package/dist/codegen/cosmos/mint/v1beta1/mint.js +1 -211
- package/dist/codegen/cosmos/mint/v1beta1/query.js +1 -330
- package/dist/codegen/cosmos/msg/v1/msg.js +1 -2
- package/dist/codegen/cosmos/params/v1beta1/params.js +1 -171
- package/dist/codegen/cosmos/params/v1beta1/query.js +1 -327
- package/dist/codegen/cosmos/staking/v1beta1/authz.js +1 -240
- package/dist/codegen/cosmos/staking/v1beta1/genesis.js +1 -256
- package/dist/codegen/cosmos/staking/v1beta1/query.js +1 -2069
- package/dist/codegen/cosmos/staking/v1beta1/staking.js +1 -1915
- package/dist/codegen/cosmos/staking/v1beta1/tx.js +1 -968
- package/dist/codegen/cosmos/tx/signing/v1beta1/signing.js +1 -516
- package/dist/codegen/cosmos/tx/v1beta1/service.js +1 -975
- package/dist/codegen/cosmos/tx/v1beta1/tx.js +1 -1256
- package/dist/codegen/cosmos/upgrade/v1beta1/query.js +1 -592
- package/dist/codegen/cosmos/upgrade/v1beta1/tx.js +1 -228
- package/dist/codegen/cosmos/upgrade/v1beta1/upgrade.js +1 -352
- package/dist/codegen/cosmos/vesting/v1beta1/tx.js +1 -865
- package/dist/codegen/cosmos/vesting/v1beta1/vesting.js +1 -674
- package/dist/codegen/cosmos_proto/bundle.js +1 -6
- package/dist/codegen/cosmos_proto/cosmos.js +1 -208
- package/dist/codegen/gogoproto/bundle.js +1 -6
- package/dist/codegen/gogoproto/gogo.js +1 -2
- package/dist/codegen/google/api/annotations.js +1 -2
- package/dist/codegen/google/api/http.js +1 -319
- package/dist/codegen/google/bundle.js +1 -17
- package/dist/codegen/google/protobuf/any.js +1 -77
- package/dist/codegen/google/protobuf/descriptor.js +1 -3421
- package/dist/codegen/google/protobuf/duration.js +1 -79
- package/dist/codegen/google/protobuf/empty.js +1 -50
- package/dist/codegen/google/protobuf/timestamp.js +1 -79
- package/dist/codegen/helpers.js +1 -196
- package/dist/codegen/ibc/applications/interchain_accounts/controller/v1/controller.js +1 -66
- package/dist/codegen/ibc/applications/interchain_accounts/controller/v1/query.js +1 -243
- package/dist/codegen/ibc/applications/interchain_accounts/controller/v1/tx.js +1 -314
- package/dist/codegen/ibc/applications/interchain_accounts/genesis/v1/genesis.js +1 -503
- package/dist/codegen/ibc/applications/interchain_accounts/host/v1/host.js +1 -83
- package/dist/codegen/ibc/applications/interchain_accounts/host/v1/query.js +1 -114
- package/dist/codegen/ibc/applications/interchain_accounts/v1/account.js +1 -86
- package/dist/codegen/ibc/applications/interchain_accounts/v1/metadata.js +1 -119
- package/dist/codegen/ibc/applications/interchain_accounts/v1/packet.js +1 -190
- package/dist/codegen/ibc/applications/transfer/v1/authz.js +1 -178
- package/dist/codegen/ibc/applications/transfer/v1/genesis.js +1 -96
- package/dist/codegen/ibc/applications/transfer/v1/query.js +1 -634
- package/dist/codegen/ibc/applications/transfer/v1/transfer.js +1 -147
- package/dist/codegen/ibc/applications/transfer/v1/tx.js +1 -220
- package/dist/codegen/ibc/applications/transfer/v2/packet.js +1 -103
- package/dist/codegen/ibc/bundle.js +1 -142
- package/dist/codegen/ibc/core/channel/v1/channel.js +1 -845
- package/dist/codegen/ibc/core/channel/v1/genesis.js +1 -281
- package/dist/codegen/ibc/core/channel/v1/query.js +1 -2344
- package/dist/codegen/ibc/core/channel/v1/tx.js +1 -1745
- package/dist/codegen/ibc/core/client/v1/client.js +1 -583
- package/dist/codegen/ibc/core/client/v1/genesis.js +1 -301
- package/dist/codegen/ibc/core/client/v1/query.js +1 -1283
- package/dist/codegen/ibc/core/client/v1/tx.js +1 -587
- package/dist/codegen/ibc/core/commitment/v1/commitment.js +1 -259
- package/dist/codegen/ibc/core/connection/v1/connection.js +1 -678
- package/dist/codegen/ibc/core/connection/v1/genesis.js +1 -122
- package/dist/codegen/ibc/core/connection/v1/query.js +1 -952
- package/dist/codegen/ibc/core/connection/v1/tx.js +1 -843
- package/dist/codegen/ibc/lightclients/localhost/v1/localhost.js +1 -78
- package/dist/codegen/ibc/lightclients/solomachine/v1/solomachine.js +1 -1520
- package/dist/codegen/ibc/lightclients/solomachine/v2/solomachine.js +1 -1514
- package/dist/codegen/ibc/lightclients/tendermint/v1/tendermint.js +1 -628
- package/dist/codegen/icq/bundle.js +1 -17
- package/dist/codegen/icq/v1/genesis.js +1 -78
- package/dist/codegen/icq/v1/icq.js +1 -83
- package/dist/codegen/icq/v1/packet.js +1 -270
- package/dist/codegen/icq/v1/query.js +1 -114
- package/dist/codegen/icq/v1/tx.js +1 -124
- package/dist/codegen/ics23/bundle.js +1 -6
- package/dist/codegen/index.js +1 -23
- package/dist/codegen/json-safe.js +1 -8
- package/dist/codegen/proofs.js +1 -1436
- package/dist/codegen/stride/bundle.js +1 -71
- package/dist/codegen/stride/epochs/genesis.js +1 -227
- package/dist/codegen/stride/epochs/query.js +1 -398
- package/dist/codegen/stride/records/callbacks.js +1 -136
- package/dist/codegen/stride/records/genesis.js +1 -186
- package/dist/codegen/stride/records/params.js +1 -50
- package/dist/codegen/stride/records/query.js +1 -1552
- package/dist/codegen/stride/records/records.js +1 -939
- package/dist/codegen/stride/stakedym/genesis.js +1 -312
- package/dist/codegen/stride/stakedym/query.js +1 -887
- package/dist/codegen/stride/stakedym/stakedym.js +1 -909
- package/dist/codegen/stride/stakedym/tx.js +1 -1661
- package/dist/codegen/stride/stakeibc/address_unbonding.js +1 -135
- package/dist/codegen/stride/stakeibc/callbacks.js +1 -1191
- package/dist/codegen/stride/stakeibc/epoch_tracker.js +1 -115
- package/dist/codegen/stride/stakeibc/genesis.js +1 -135
- package/dist/codegen/stride/stakeibc/gov.js +1 -212
- package/dist/codegen/stride/stakeibc/host_zone.js +1 -544
- package/dist/codegen/stride/stakeibc/ica_account.js +1 -165
- package/dist/codegen/stride/stakeibc/packet.js +1 -113
- package/dist/codegen/stride/stakeibc/params.js +1 -317
- package/dist/codegen/stride/stakeibc/query.js +1 -1372
- package/dist/codegen/stride/stakeibc/trade_route.js +1 -377
- package/dist/codegen/stride/stakeibc/tx.js +1 -3392
- package/dist/codegen/stride/stakeibc/validator.js +1 -170
- package/dist/codegen/stride/staketia/genesis.js +1 -312
- package/dist/codegen/stride/staketia/query.js +1 -887
- package/dist/codegen/stride/staketia/staketia.js +1 -819
- package/dist/codegen/stride/staketia/tx.js +1 -1671
- package/dist/codegen/tendermint/abci/types.d.ts +264 -692
- package/dist/codegen/tendermint/abci/types.js +1 -4434
- package/dist/codegen/tendermint/abci/types.js.map +1 -1
- package/dist/codegen/tendermint/bundle.d.ts +0 -272
- package/dist/codegen/tendermint/bundle.js +1 -42
- package/dist/codegen/tendermint/crypto/keys.js +1 -85
- package/dist/codegen/tendermint/crypto/proof.js +1 -409
- package/dist/codegen/tendermint/libs/bits/types.js +1 -94
- package/dist/codegen/tendermint/p2p/types.js +1 -506
- package/dist/codegen/tendermint/types/block.js +1 -119
- package/dist/codegen/tendermint/types/evidence.js +1 -415
- package/dist/codegen/tendermint/types/params.js +1 -529
- package/dist/codegen/tendermint/types/types.js +1 -1534
- package/dist/codegen/tendermint/types/validator.js +1 -299
- package/dist/codegen/tendermint/version/types.js +1 -155
- package/dist/codegen/utf8.js +1 -138
- package/dist/codegen/varint.js +1 -409
- package/dist/helpers.js +1 -22
- package/dist/index.js +1 -6
- package/package.json +12 -10
|
@@ -13,86 +13,12 @@ export declare namespace tendermint {
|
|
|
13
13
|
const abci: {
|
|
14
14
|
checkTxTypeFromJSON(object: any): _168.CheckTxType;
|
|
15
15
|
checkTxTypeToJSON(object: _168.CheckTxType): string;
|
|
16
|
-
responseOfferSnapshot_ResultFromJSON(object: any): _168.ResponseOfferSnapshot_Result;
|
|
17
|
-
responseOfferSnapshot_ResultToJSON(object: _168.ResponseOfferSnapshot_Result): string;
|
|
18
|
-
responseApplySnapshotChunk_ResultFromJSON(object: any): _168.ResponseApplySnapshotChunk_Result;
|
|
19
|
-
responseApplySnapshotChunk_ResultToJSON(object: _168.ResponseApplySnapshotChunk_Result): string;
|
|
20
16
|
evidenceTypeFromJSON(object: any): _168.EvidenceType;
|
|
21
17
|
evidenceTypeToJSON(object: _168.EvidenceType): string;
|
|
22
18
|
CheckTxType: typeof _168.CheckTxType;
|
|
23
19
|
CheckTxTypeSDKType: typeof _168.CheckTxType;
|
|
24
|
-
ResponseOfferSnapshot_Result: typeof _168.ResponseOfferSnapshot_Result;
|
|
25
|
-
ResponseOfferSnapshot_ResultSDKType: typeof _168.ResponseOfferSnapshot_Result;
|
|
26
|
-
ResponseApplySnapshotChunk_Result: typeof _168.ResponseApplySnapshotChunk_Result;
|
|
27
|
-
ResponseApplySnapshotChunk_ResultSDKType: typeof _168.ResponseApplySnapshotChunk_Result;
|
|
28
20
|
EvidenceType: typeof _168.EvidenceType;
|
|
29
21
|
EvidenceTypeSDKType: typeof _168.EvidenceType;
|
|
30
|
-
Request: {
|
|
31
|
-
typeUrl: string;
|
|
32
|
-
encode(message: _168.Request, writer?: import("../binary.ts").BinaryWriter): import("../binary.ts").BinaryWriter;
|
|
33
|
-
decode(input: import("../binary.ts").BinaryReader | Uint8Array, length?: number): _168.Request;
|
|
34
|
-
fromJSON(object: any): _168.Request;
|
|
35
|
-
toJSON(message: _168.Request): import("../json-safe.ts").JsonSafe<_168.Request>;
|
|
36
|
-
fromPartial(object: Partial<_168.Request>): _168.Request;
|
|
37
|
-
fromProtoMsg(message: _168.RequestProtoMsg): _168.Request;
|
|
38
|
-
toProto(message: _168.Request): Uint8Array;
|
|
39
|
-
toProtoMsg(message: _168.Request): _168.RequestProtoMsg;
|
|
40
|
-
};
|
|
41
|
-
RequestEcho: {
|
|
42
|
-
typeUrl: string;
|
|
43
|
-
encode(message: _168.RequestEcho, writer?: import("../binary.ts").BinaryWriter): import("../binary.ts").BinaryWriter;
|
|
44
|
-
decode(input: import("../binary.ts").BinaryReader | Uint8Array, length?: number): _168.RequestEcho;
|
|
45
|
-
fromJSON(object: any): _168.RequestEcho;
|
|
46
|
-
toJSON(message: _168.RequestEcho): import("../json-safe.ts").JsonSafe<_168.RequestEcho>;
|
|
47
|
-
fromPartial(object: Partial<_168.RequestEcho>): _168.RequestEcho;
|
|
48
|
-
fromProtoMsg(message: _168.RequestEchoProtoMsg): _168.RequestEcho;
|
|
49
|
-
toProto(message: _168.RequestEcho): Uint8Array;
|
|
50
|
-
toProtoMsg(message: _168.RequestEcho): _168.RequestEchoProtoMsg;
|
|
51
|
-
};
|
|
52
|
-
RequestFlush: {
|
|
53
|
-
typeUrl: string;
|
|
54
|
-
encode(_: _168.RequestFlush, writer?: import("../binary.ts").BinaryWriter): import("../binary.ts").BinaryWriter;
|
|
55
|
-
decode(input: import("../binary.ts").BinaryReader | Uint8Array, length?: number): _168.RequestFlush;
|
|
56
|
-
fromJSON(_: any): _168.RequestFlush;
|
|
57
|
-
toJSON(_: _168.RequestFlush): import("../json-safe.ts").JsonSafe<_168.RequestFlush>;
|
|
58
|
-
fromPartial(_: Partial<_168.RequestFlush>): _168.RequestFlush;
|
|
59
|
-
fromProtoMsg(message: _168.RequestFlushProtoMsg): _168.RequestFlush;
|
|
60
|
-
toProto(message: _168.RequestFlush): Uint8Array;
|
|
61
|
-
toProtoMsg(message: _168.RequestFlush): _168.RequestFlushProtoMsg;
|
|
62
|
-
};
|
|
63
|
-
RequestInfo: {
|
|
64
|
-
typeUrl: string;
|
|
65
|
-
encode(message: _168.RequestInfo, writer?: import("../binary.ts").BinaryWriter): import("../binary.ts").BinaryWriter;
|
|
66
|
-
decode(input: import("../binary.ts").BinaryReader | Uint8Array, length?: number): _168.RequestInfo;
|
|
67
|
-
fromJSON(object: any): _168.RequestInfo;
|
|
68
|
-
toJSON(message: _168.RequestInfo): import("../json-safe.ts").JsonSafe<_168.RequestInfo>;
|
|
69
|
-
fromPartial(object: Partial<_168.RequestInfo>): _168.RequestInfo;
|
|
70
|
-
fromProtoMsg(message: _168.RequestInfoProtoMsg): _168.RequestInfo;
|
|
71
|
-
toProto(message: _168.RequestInfo): Uint8Array;
|
|
72
|
-
toProtoMsg(message: _168.RequestInfo): _168.RequestInfoProtoMsg;
|
|
73
|
-
};
|
|
74
|
-
RequestSetOption: {
|
|
75
|
-
typeUrl: string;
|
|
76
|
-
encode(message: _168.RequestSetOption, writer?: import("../binary.ts").BinaryWriter): import("../binary.ts").BinaryWriter;
|
|
77
|
-
decode(input: import("../binary.ts").BinaryReader | Uint8Array, length?: number): _168.RequestSetOption;
|
|
78
|
-
fromJSON(object: any): _168.RequestSetOption;
|
|
79
|
-
toJSON(message: _168.RequestSetOption): import("../json-safe.ts").JsonSafe<_168.RequestSetOption>;
|
|
80
|
-
fromPartial(object: Partial<_168.RequestSetOption>): _168.RequestSetOption;
|
|
81
|
-
fromProtoMsg(message: _168.RequestSetOptionProtoMsg): _168.RequestSetOption;
|
|
82
|
-
toProto(message: _168.RequestSetOption): Uint8Array;
|
|
83
|
-
toProtoMsg(message: _168.RequestSetOption): _168.RequestSetOptionProtoMsg;
|
|
84
|
-
};
|
|
85
|
-
RequestInitChain: {
|
|
86
|
-
typeUrl: string;
|
|
87
|
-
encode(message: _168.RequestInitChain, writer?: import("../binary.ts").BinaryWriter): import("../binary.ts").BinaryWriter;
|
|
88
|
-
decode(input: import("../binary.ts").BinaryReader | Uint8Array, length?: number): _168.RequestInitChain;
|
|
89
|
-
fromJSON(object: any): _168.RequestInitChain;
|
|
90
|
-
toJSON(message: _168.RequestInitChain): import("../json-safe.ts").JsonSafe<_168.RequestInitChain>;
|
|
91
|
-
fromPartial(object: Partial<_168.RequestInitChain>): _168.RequestInitChain;
|
|
92
|
-
fromProtoMsg(message: _168.RequestInitChainProtoMsg): _168.RequestInitChain;
|
|
93
|
-
toProto(message: _168.RequestInitChain): Uint8Array;
|
|
94
|
-
toProtoMsg(message: _168.RequestInitChain): _168.RequestInitChainProtoMsg;
|
|
95
|
-
};
|
|
96
22
|
RequestQuery: {
|
|
97
23
|
typeUrl: string;
|
|
98
24
|
encode(message: _168.RequestQuery, writer?: import("../binary.ts").BinaryWriter): import("../binary.ts").BinaryWriter;
|
|
@@ -159,127 +85,6 @@ export declare namespace tendermint {
|
|
|
159
85
|
toProto(message: _168.RequestCommit): Uint8Array;
|
|
160
86
|
toProtoMsg(message: _168.RequestCommit): _168.RequestCommitProtoMsg;
|
|
161
87
|
};
|
|
162
|
-
RequestListSnapshots: {
|
|
163
|
-
typeUrl: string;
|
|
164
|
-
encode(_: _168.RequestListSnapshots, writer?: import("../binary.ts").BinaryWriter): import("../binary.ts").BinaryWriter;
|
|
165
|
-
decode(input: import("../binary.ts").BinaryReader | Uint8Array, length?: number): _168.RequestListSnapshots;
|
|
166
|
-
fromJSON(_: any): _168.RequestListSnapshots;
|
|
167
|
-
toJSON(_: _168.RequestListSnapshots): import("../json-safe.ts").JsonSafe<_168.RequestListSnapshots>;
|
|
168
|
-
fromPartial(_: Partial<_168.RequestListSnapshots>): _168.RequestListSnapshots;
|
|
169
|
-
fromProtoMsg(message: _168.RequestListSnapshotsProtoMsg): _168.RequestListSnapshots;
|
|
170
|
-
toProto(message: _168.RequestListSnapshots): Uint8Array;
|
|
171
|
-
toProtoMsg(message: _168.RequestListSnapshots): _168.RequestListSnapshotsProtoMsg;
|
|
172
|
-
};
|
|
173
|
-
RequestOfferSnapshot: {
|
|
174
|
-
typeUrl: string;
|
|
175
|
-
encode(message: _168.RequestOfferSnapshot, writer?: import("../binary.ts").BinaryWriter): import("../binary.ts").BinaryWriter;
|
|
176
|
-
decode(input: import("../binary.ts").BinaryReader | Uint8Array, length?: number): _168.RequestOfferSnapshot;
|
|
177
|
-
fromJSON(object: any): _168.RequestOfferSnapshot;
|
|
178
|
-
toJSON(message: _168.RequestOfferSnapshot): import("../json-safe.ts").JsonSafe<_168.RequestOfferSnapshot>;
|
|
179
|
-
fromPartial(object: Partial<_168.RequestOfferSnapshot>): _168.RequestOfferSnapshot;
|
|
180
|
-
fromProtoMsg(message: _168.RequestOfferSnapshotProtoMsg): _168.RequestOfferSnapshot;
|
|
181
|
-
toProto(message: _168.RequestOfferSnapshot): Uint8Array;
|
|
182
|
-
toProtoMsg(message: _168.RequestOfferSnapshot): _168.RequestOfferSnapshotProtoMsg;
|
|
183
|
-
};
|
|
184
|
-
RequestLoadSnapshotChunk: {
|
|
185
|
-
typeUrl: string;
|
|
186
|
-
encode(message: _168.RequestLoadSnapshotChunk, writer?: import("../binary.ts").BinaryWriter): import("../binary.ts").BinaryWriter;
|
|
187
|
-
decode(input: import("../binary.ts").BinaryReader | Uint8Array, length?: number): _168.RequestLoadSnapshotChunk;
|
|
188
|
-
fromJSON(object: any): _168.RequestLoadSnapshotChunk;
|
|
189
|
-
toJSON(message: _168.RequestLoadSnapshotChunk): import("../json-safe.ts").JsonSafe<_168.RequestLoadSnapshotChunk>;
|
|
190
|
-
fromPartial(object: Partial<_168.RequestLoadSnapshotChunk>): _168.RequestLoadSnapshotChunk;
|
|
191
|
-
fromProtoMsg(message: _168.RequestLoadSnapshotChunkProtoMsg): _168.RequestLoadSnapshotChunk;
|
|
192
|
-
toProto(message: _168.RequestLoadSnapshotChunk): Uint8Array;
|
|
193
|
-
toProtoMsg(message: _168.RequestLoadSnapshotChunk): _168.RequestLoadSnapshotChunkProtoMsg;
|
|
194
|
-
};
|
|
195
|
-
RequestApplySnapshotChunk: {
|
|
196
|
-
typeUrl: string;
|
|
197
|
-
encode(message: _168.RequestApplySnapshotChunk, writer?: import("../binary.ts").BinaryWriter): import("../binary.ts").BinaryWriter;
|
|
198
|
-
decode(input: import("../binary.ts").BinaryReader | Uint8Array, length?: number): _168.RequestApplySnapshotChunk;
|
|
199
|
-
fromJSON(object: any): _168.RequestApplySnapshotChunk;
|
|
200
|
-
toJSON(message: _168.RequestApplySnapshotChunk): import("../json-safe.ts").JsonSafe<_168.RequestApplySnapshotChunk>;
|
|
201
|
-
fromPartial(object: Partial<_168.RequestApplySnapshotChunk>): _168.RequestApplySnapshotChunk;
|
|
202
|
-
fromProtoMsg(message: _168.RequestApplySnapshotChunkProtoMsg): _168.RequestApplySnapshotChunk;
|
|
203
|
-
toProto(message: _168.RequestApplySnapshotChunk): Uint8Array;
|
|
204
|
-
toProtoMsg(message: _168.RequestApplySnapshotChunk): _168.RequestApplySnapshotChunkProtoMsg;
|
|
205
|
-
};
|
|
206
|
-
Response: {
|
|
207
|
-
typeUrl: string;
|
|
208
|
-
encode(message: _168.Response, writer?: import("../binary.ts").BinaryWriter): import("../binary.ts").BinaryWriter;
|
|
209
|
-
decode(input: import("../binary.ts").BinaryReader | Uint8Array, length?: number): _168.Response;
|
|
210
|
-
fromJSON(object: any): _168.Response;
|
|
211
|
-
toJSON(message: _168.Response): import("../json-safe.ts").JsonSafe<_168.Response>;
|
|
212
|
-
fromPartial(object: Partial<_168.Response>): _168.Response;
|
|
213
|
-
fromProtoMsg(message: _168.ResponseProtoMsg): _168.Response;
|
|
214
|
-
toProto(message: _168.Response): Uint8Array;
|
|
215
|
-
toProtoMsg(message: _168.Response): _168.ResponseProtoMsg;
|
|
216
|
-
};
|
|
217
|
-
ResponseException: {
|
|
218
|
-
typeUrl: string;
|
|
219
|
-
encode(message: _168.ResponseException, writer?: import("../binary.ts").BinaryWriter): import("../binary.ts").BinaryWriter;
|
|
220
|
-
decode(input: import("../binary.ts").BinaryReader | Uint8Array, length?: number): _168.ResponseException;
|
|
221
|
-
fromJSON(object: any): _168.ResponseException;
|
|
222
|
-
toJSON(message: _168.ResponseException): import("../json-safe.ts").JsonSafe<_168.ResponseException>;
|
|
223
|
-
fromPartial(object: Partial<_168.ResponseException>): _168.ResponseException;
|
|
224
|
-
fromProtoMsg(message: _168.ResponseExceptionProtoMsg): _168.ResponseException;
|
|
225
|
-
toProto(message: _168.ResponseException): Uint8Array;
|
|
226
|
-
toProtoMsg(message: _168.ResponseException): _168.ResponseExceptionProtoMsg;
|
|
227
|
-
};
|
|
228
|
-
ResponseEcho: {
|
|
229
|
-
typeUrl: string;
|
|
230
|
-
encode(message: _168.ResponseEcho, writer?: import("../binary.ts").BinaryWriter): import("../binary.ts").BinaryWriter;
|
|
231
|
-
decode(input: import("../binary.ts").BinaryReader | Uint8Array, length?: number): _168.ResponseEcho;
|
|
232
|
-
fromJSON(object: any): _168.ResponseEcho;
|
|
233
|
-
toJSON(message: _168.ResponseEcho): import("../json-safe.ts").JsonSafe<_168.ResponseEcho>;
|
|
234
|
-
fromPartial(object: Partial<_168.ResponseEcho>): _168.ResponseEcho;
|
|
235
|
-
fromProtoMsg(message: _168.ResponseEchoProtoMsg): _168.ResponseEcho;
|
|
236
|
-
toProto(message: _168.ResponseEcho): Uint8Array;
|
|
237
|
-
toProtoMsg(message: _168.ResponseEcho): _168.ResponseEchoProtoMsg;
|
|
238
|
-
};
|
|
239
|
-
ResponseFlush: {
|
|
240
|
-
typeUrl: string;
|
|
241
|
-
encode(_: _168.ResponseFlush, writer?: import("../binary.ts").BinaryWriter): import("../binary.ts").BinaryWriter;
|
|
242
|
-
decode(input: import("../binary.ts").BinaryReader | Uint8Array, length?: number): _168.ResponseFlush;
|
|
243
|
-
fromJSON(_: any): _168.ResponseFlush;
|
|
244
|
-
toJSON(_: _168.ResponseFlush): import("../json-safe.ts").JsonSafe<_168.ResponseFlush>;
|
|
245
|
-
fromPartial(_: Partial<_168.ResponseFlush>): _168.ResponseFlush;
|
|
246
|
-
fromProtoMsg(message: _168.ResponseFlushProtoMsg): _168.ResponseFlush;
|
|
247
|
-
toProto(message: _168.ResponseFlush): Uint8Array;
|
|
248
|
-
toProtoMsg(message: _168.ResponseFlush): _168.ResponseFlushProtoMsg;
|
|
249
|
-
};
|
|
250
|
-
ResponseInfo: {
|
|
251
|
-
typeUrl: string;
|
|
252
|
-
encode(message: _168.ResponseInfo, writer?: import("../binary.ts").BinaryWriter): import("../binary.ts").BinaryWriter;
|
|
253
|
-
decode(input: import("../binary.ts").BinaryReader | Uint8Array, length?: number): _168.ResponseInfo;
|
|
254
|
-
fromJSON(object: any): _168.ResponseInfo;
|
|
255
|
-
toJSON(message: _168.ResponseInfo): import("../json-safe.ts").JsonSafe<_168.ResponseInfo>;
|
|
256
|
-
fromPartial(object: Partial<_168.ResponseInfo>): _168.ResponseInfo;
|
|
257
|
-
fromProtoMsg(message: _168.ResponseInfoProtoMsg): _168.ResponseInfo;
|
|
258
|
-
toProto(message: _168.ResponseInfo): Uint8Array;
|
|
259
|
-
toProtoMsg(message: _168.ResponseInfo): _168.ResponseInfoProtoMsg;
|
|
260
|
-
};
|
|
261
|
-
ResponseSetOption: {
|
|
262
|
-
typeUrl: string;
|
|
263
|
-
encode(message: _168.ResponseSetOption, writer?: import("../binary.ts").BinaryWriter): import("../binary.ts").BinaryWriter;
|
|
264
|
-
decode(input: import("../binary.ts").BinaryReader | Uint8Array, length?: number): _168.ResponseSetOption;
|
|
265
|
-
fromJSON(object: any): _168.ResponseSetOption;
|
|
266
|
-
toJSON(message: _168.ResponseSetOption): import("../json-safe.ts").JsonSafe<_168.ResponseSetOption>;
|
|
267
|
-
fromPartial(object: Partial<_168.ResponseSetOption>): _168.ResponseSetOption;
|
|
268
|
-
fromProtoMsg(message: _168.ResponseSetOptionProtoMsg): _168.ResponseSetOption;
|
|
269
|
-
toProto(message: _168.ResponseSetOption): Uint8Array;
|
|
270
|
-
toProtoMsg(message: _168.ResponseSetOption): _168.ResponseSetOptionProtoMsg;
|
|
271
|
-
};
|
|
272
|
-
ResponseInitChain: {
|
|
273
|
-
typeUrl: string;
|
|
274
|
-
encode(message: _168.ResponseInitChain, writer?: import("../binary.ts").BinaryWriter): import("../binary.ts").BinaryWriter;
|
|
275
|
-
decode(input: import("../binary.ts").BinaryReader | Uint8Array, length?: number): _168.ResponseInitChain;
|
|
276
|
-
fromJSON(object: any): _168.ResponseInitChain;
|
|
277
|
-
toJSON(message: _168.ResponseInitChain): import("../json-safe.ts").JsonSafe<_168.ResponseInitChain>;
|
|
278
|
-
fromPartial(object: Partial<_168.ResponseInitChain>): _168.ResponseInitChain;
|
|
279
|
-
fromProtoMsg(message: _168.ResponseInitChainProtoMsg): _168.ResponseInitChain;
|
|
280
|
-
toProto(message: _168.ResponseInitChain): Uint8Array;
|
|
281
|
-
toProtoMsg(message: _168.ResponseInitChain): _168.ResponseInitChainProtoMsg;
|
|
282
|
-
};
|
|
283
88
|
ResponseQuery: {
|
|
284
89
|
typeUrl: string;
|
|
285
90
|
encode(message: _168.ResponseQuery, writer?: import("../binary.ts").BinaryWriter): import("../binary.ts").BinaryWriter;
|
|
@@ -346,72 +151,6 @@ export declare namespace tendermint {
|
|
|
346
151
|
toProto(message: _168.ResponseCommit): Uint8Array;
|
|
347
152
|
toProtoMsg(message: _168.ResponseCommit): _168.ResponseCommitProtoMsg;
|
|
348
153
|
};
|
|
349
|
-
ResponseListSnapshots: {
|
|
350
|
-
typeUrl: string;
|
|
351
|
-
encode(message: _168.ResponseListSnapshots, writer?: import("../binary.ts").BinaryWriter): import("../binary.ts").BinaryWriter;
|
|
352
|
-
decode(input: import("../binary.ts").BinaryReader | Uint8Array, length?: number): _168.ResponseListSnapshots;
|
|
353
|
-
fromJSON(object: any): _168.ResponseListSnapshots;
|
|
354
|
-
toJSON(message: _168.ResponseListSnapshots): import("../json-safe.ts").JsonSafe<_168.ResponseListSnapshots>;
|
|
355
|
-
fromPartial(object: Partial<_168.ResponseListSnapshots>): _168.ResponseListSnapshots;
|
|
356
|
-
fromProtoMsg(message: _168.ResponseListSnapshotsProtoMsg): _168.ResponseListSnapshots;
|
|
357
|
-
toProto(message: _168.ResponseListSnapshots): Uint8Array;
|
|
358
|
-
toProtoMsg(message: _168.ResponseListSnapshots): _168.ResponseListSnapshotsProtoMsg;
|
|
359
|
-
};
|
|
360
|
-
ResponseOfferSnapshot: {
|
|
361
|
-
typeUrl: string;
|
|
362
|
-
encode(message: _168.ResponseOfferSnapshot, writer?: import("../binary.ts").BinaryWriter): import("../binary.ts").BinaryWriter;
|
|
363
|
-
decode(input: import("../binary.ts").BinaryReader | Uint8Array, length?: number): _168.ResponseOfferSnapshot;
|
|
364
|
-
fromJSON(object: any): _168.ResponseOfferSnapshot;
|
|
365
|
-
toJSON(message: _168.ResponseOfferSnapshot): import("../json-safe.ts").JsonSafe<_168.ResponseOfferSnapshot>;
|
|
366
|
-
fromPartial(object: Partial<_168.ResponseOfferSnapshot>): _168.ResponseOfferSnapshot;
|
|
367
|
-
fromProtoMsg(message: _168.ResponseOfferSnapshotProtoMsg): _168.ResponseOfferSnapshot;
|
|
368
|
-
toProto(message: _168.ResponseOfferSnapshot): Uint8Array;
|
|
369
|
-
toProtoMsg(message: _168.ResponseOfferSnapshot): _168.ResponseOfferSnapshotProtoMsg;
|
|
370
|
-
};
|
|
371
|
-
ResponseLoadSnapshotChunk: {
|
|
372
|
-
typeUrl: string;
|
|
373
|
-
encode(message: _168.ResponseLoadSnapshotChunk, writer?: import("../binary.ts").BinaryWriter): import("../binary.ts").BinaryWriter;
|
|
374
|
-
decode(input: import("../binary.ts").BinaryReader | Uint8Array, length?: number): _168.ResponseLoadSnapshotChunk;
|
|
375
|
-
fromJSON(object: any): _168.ResponseLoadSnapshotChunk;
|
|
376
|
-
toJSON(message: _168.ResponseLoadSnapshotChunk): import("../json-safe.ts").JsonSafe<_168.ResponseLoadSnapshotChunk>;
|
|
377
|
-
fromPartial(object: Partial<_168.ResponseLoadSnapshotChunk>): _168.ResponseLoadSnapshotChunk;
|
|
378
|
-
fromProtoMsg(message: _168.ResponseLoadSnapshotChunkProtoMsg): _168.ResponseLoadSnapshotChunk;
|
|
379
|
-
toProto(message: _168.ResponseLoadSnapshotChunk): Uint8Array;
|
|
380
|
-
toProtoMsg(message: _168.ResponseLoadSnapshotChunk): _168.ResponseLoadSnapshotChunkProtoMsg;
|
|
381
|
-
};
|
|
382
|
-
ResponseApplySnapshotChunk: {
|
|
383
|
-
typeUrl: string;
|
|
384
|
-
encode(message: _168.ResponseApplySnapshotChunk, writer?: import("../binary.ts").BinaryWriter): import("../binary.ts").BinaryWriter;
|
|
385
|
-
decode(input: import("../binary.ts").BinaryReader | Uint8Array, length?: number): _168.ResponseApplySnapshotChunk;
|
|
386
|
-
fromJSON(object: any): _168.ResponseApplySnapshotChunk;
|
|
387
|
-
toJSON(message: _168.ResponseApplySnapshotChunk): import("../json-safe.ts").JsonSafe<_168.ResponseApplySnapshotChunk>;
|
|
388
|
-
fromPartial(object: Partial<_168.ResponseApplySnapshotChunk>): _168.ResponseApplySnapshotChunk;
|
|
389
|
-
fromProtoMsg(message: _168.ResponseApplySnapshotChunkProtoMsg): _168.ResponseApplySnapshotChunk;
|
|
390
|
-
toProto(message: _168.ResponseApplySnapshotChunk): Uint8Array;
|
|
391
|
-
toProtoMsg(message: _168.ResponseApplySnapshotChunk): _168.ResponseApplySnapshotChunkProtoMsg;
|
|
392
|
-
};
|
|
393
|
-
ConsensusParams: {
|
|
394
|
-
typeUrl: string;
|
|
395
|
-
encode(message: _168.ConsensusParams, writer?: import("../binary.ts").BinaryWriter): import("../binary.ts").BinaryWriter;
|
|
396
|
-
decode(input: import("../binary.ts").BinaryReader | Uint8Array, length?: number): _168.ConsensusParams;
|
|
397
|
-
fromJSON(object: any): _168.ConsensusParams;
|
|
398
|
-
toJSON(message: _168.ConsensusParams): import("../json-safe.ts").JsonSafe<_168.ConsensusParams>;
|
|
399
|
-
fromPartial(object: Partial<_168.ConsensusParams>): _168.ConsensusParams;
|
|
400
|
-
fromProtoMsg(message: _168.ConsensusParamsProtoMsg): _168.ConsensusParams;
|
|
401
|
-
toProto(message: _168.ConsensusParams): Uint8Array;
|
|
402
|
-
toProtoMsg(message: _168.ConsensusParams): _168.ConsensusParamsProtoMsg;
|
|
403
|
-
};
|
|
404
|
-
BlockParams: {
|
|
405
|
-
typeUrl: string;
|
|
406
|
-
encode(message: _168.BlockParams, writer?: import("../binary.ts").BinaryWriter): import("../binary.ts").BinaryWriter;
|
|
407
|
-
decode(input: import("../binary.ts").BinaryReader | Uint8Array, length?: number): _168.BlockParams;
|
|
408
|
-
fromJSON(object: any): _168.BlockParams;
|
|
409
|
-
toJSON(message: _168.BlockParams): import("../json-safe.ts").JsonSafe<_168.BlockParams>;
|
|
410
|
-
fromPartial(object: Partial<_168.BlockParams>): _168.BlockParams;
|
|
411
|
-
fromProtoMsg(message: _168.BlockParamsProtoMsg): _168.BlockParams;
|
|
412
|
-
toProto(message: _168.BlockParams): Uint8Array;
|
|
413
|
-
toProtoMsg(message: _168.BlockParams): _168.BlockParamsProtoMsg;
|
|
414
|
-
};
|
|
415
154
|
LastCommitInfo: {
|
|
416
155
|
typeUrl: string;
|
|
417
156
|
encode(message: _168.LastCommitInfo, writer?: import("../binary.ts").BinaryWriter): import("../binary.ts").BinaryWriter;
|
|
@@ -500,17 +239,6 @@ export declare namespace tendermint {
|
|
|
500
239
|
toProto(message: _168.Evidence): Uint8Array;
|
|
501
240
|
toProtoMsg(message: _168.Evidence): _168.EvidenceProtoMsg;
|
|
502
241
|
};
|
|
503
|
-
Snapshot: {
|
|
504
|
-
typeUrl: string;
|
|
505
|
-
encode(message: _168.Snapshot, writer?: import("../binary.ts").BinaryWriter): import("../binary.ts").BinaryWriter;
|
|
506
|
-
decode(input: import("../binary.ts").BinaryReader | Uint8Array, length?: number): _168.Snapshot;
|
|
507
|
-
fromJSON(object: any): _168.Snapshot;
|
|
508
|
-
toJSON(message: _168.Snapshot): import("../json-safe.ts").JsonSafe<_168.Snapshot>;
|
|
509
|
-
fromPartial(object: Partial<_168.Snapshot>): _168.Snapshot;
|
|
510
|
-
fromProtoMsg(message: _168.SnapshotProtoMsg): _168.Snapshot;
|
|
511
|
-
toProto(message: _168.Snapshot): Uint8Array;
|
|
512
|
-
toProtoMsg(message: _168.Snapshot): _168.SnapshotProtoMsg;
|
|
513
|
-
};
|
|
514
242
|
};
|
|
515
243
|
const crypto: {
|
|
516
244
|
Proof: {
|
|
@@ -1,42 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import * as _168 from './abci/types.js';
|
|
3
|
-
import * as _169 from './crypto/keys.js';
|
|
4
|
-
import * as _170 from './crypto/proof.js';
|
|
5
|
-
import * as _171 from './libs/bits/types.js';
|
|
6
|
-
import * as _172 from './p2p/types.js';
|
|
7
|
-
import * as _173 from './types/block.js';
|
|
8
|
-
import * as _174 from './types/evidence.js';
|
|
9
|
-
import * as _175 from './types/params.js';
|
|
10
|
-
import * as _176 from './types/types.js';
|
|
11
|
-
import * as _177 from './types/validator.js';
|
|
12
|
-
import * as _178 from './version/types.js';
|
|
13
|
-
export var tendermint;
|
|
14
|
-
(function (tendermint) {
|
|
15
|
-
tendermint.abci = {
|
|
16
|
-
..._168,
|
|
17
|
-
};
|
|
18
|
-
tendermint.crypto = {
|
|
19
|
-
..._169,
|
|
20
|
-
..._170,
|
|
21
|
-
};
|
|
22
|
-
let libs;
|
|
23
|
-
(function (libs) {
|
|
24
|
-
libs.bits = {
|
|
25
|
-
..._171,
|
|
26
|
-
};
|
|
27
|
-
})(libs = tendermint.libs || (tendermint.libs = {}));
|
|
28
|
-
tendermint.p2p = {
|
|
29
|
-
..._172,
|
|
30
|
-
};
|
|
31
|
-
tendermint.types = {
|
|
32
|
-
..._173,
|
|
33
|
-
..._174,
|
|
34
|
-
..._175,
|
|
35
|
-
..._176,
|
|
36
|
-
..._177,
|
|
37
|
-
};
|
|
38
|
-
tendermint.version = {
|
|
39
|
-
..._178,
|
|
40
|
-
};
|
|
41
|
-
})(tendermint || (tendermint = {}));
|
|
42
|
-
//# sourceMappingURL=bundle.js.map
|
|
1
|
+
import*as s from"./abci/types.js";import*as t from"./crypto/keys.js";import*as r from"./crypto/proof.js";import*as o from"./libs/bits/types.js";import*as p from"./p2p/types.js";import*as i from"./types/block.js";import*as m from"./types/evidence.js";import*as e from"./types/params.js";import*as a from"./types/types.js";import*as y from"./types/validator.js";import*as f from"./version/types.js";export var tendermint;!function(n){let j;n.abci={...s},n.crypto={...t,...r},function(s){s.bits={...o}}(j=n.libs||(n.libs={})),n.p2p={...p},n.types={...i,...m,...e,...a,...y},n.version={...f}}(tendermint||(tendermint={}));
|
|
@@ -1,85 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { BinaryReader, BinaryWriter } from '../../binary.js';
|
|
3
|
-
import { isSet, bytesFromBase64, base64FromBytes } from '../../helpers.js';
|
|
4
|
-
import {} from '../../json-safe.js';
|
|
5
|
-
function createBasePublicKey() {
|
|
6
|
-
return {
|
|
7
|
-
ed25519: undefined,
|
|
8
|
-
secp256k1: undefined,
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
export const PublicKey = {
|
|
12
|
-
typeUrl: '/tendermint.crypto.PublicKey',
|
|
13
|
-
encode(message, writer = BinaryWriter.create()) {
|
|
14
|
-
if (message.ed25519 !== undefined) {
|
|
15
|
-
writer.uint32(10).bytes(message.ed25519);
|
|
16
|
-
}
|
|
17
|
-
if (message.secp256k1 !== undefined) {
|
|
18
|
-
writer.uint32(18).bytes(message.secp256k1);
|
|
19
|
-
}
|
|
20
|
-
return writer;
|
|
21
|
-
},
|
|
22
|
-
decode(input, length) {
|
|
23
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
24
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
25
|
-
const message = createBasePublicKey();
|
|
26
|
-
while (reader.pos < end) {
|
|
27
|
-
const tag = reader.uint32();
|
|
28
|
-
switch (tag >>> 3) {
|
|
29
|
-
case 1:
|
|
30
|
-
message.ed25519 = reader.bytes();
|
|
31
|
-
break;
|
|
32
|
-
case 2:
|
|
33
|
-
message.secp256k1 = reader.bytes();
|
|
34
|
-
break;
|
|
35
|
-
default:
|
|
36
|
-
reader.skipType(tag & 7);
|
|
37
|
-
break;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
return message;
|
|
41
|
-
},
|
|
42
|
-
fromJSON(object) {
|
|
43
|
-
return {
|
|
44
|
-
ed25519: isSet(object.ed25519)
|
|
45
|
-
? bytesFromBase64(object.ed25519)
|
|
46
|
-
: undefined,
|
|
47
|
-
secp256k1: isSet(object.secp256k1)
|
|
48
|
-
? bytesFromBase64(object.secp256k1)
|
|
49
|
-
: undefined,
|
|
50
|
-
};
|
|
51
|
-
},
|
|
52
|
-
toJSON(message) {
|
|
53
|
-
const obj = {};
|
|
54
|
-
message.ed25519 !== undefined &&
|
|
55
|
-
(obj.ed25519 =
|
|
56
|
-
message.ed25519 !== undefined
|
|
57
|
-
? base64FromBytes(message.ed25519)
|
|
58
|
-
: undefined);
|
|
59
|
-
message.secp256k1 !== undefined &&
|
|
60
|
-
(obj.secp256k1 =
|
|
61
|
-
message.secp256k1 !== undefined
|
|
62
|
-
? base64FromBytes(message.secp256k1)
|
|
63
|
-
: undefined);
|
|
64
|
-
return obj;
|
|
65
|
-
},
|
|
66
|
-
fromPartial(object) {
|
|
67
|
-
const message = createBasePublicKey();
|
|
68
|
-
message.ed25519 = object.ed25519 ?? undefined;
|
|
69
|
-
message.secp256k1 = object.secp256k1 ?? undefined;
|
|
70
|
-
return message;
|
|
71
|
-
},
|
|
72
|
-
fromProtoMsg(message) {
|
|
73
|
-
return PublicKey.decode(message.value);
|
|
74
|
-
},
|
|
75
|
-
toProto(message) {
|
|
76
|
-
return PublicKey.encode(message).finish();
|
|
77
|
-
},
|
|
78
|
-
toProtoMsg(message) {
|
|
79
|
-
return {
|
|
80
|
-
typeUrl: '/tendermint.crypto.PublicKey',
|
|
81
|
-
value: PublicKey.encode(message).finish(),
|
|
82
|
-
};
|
|
83
|
-
},
|
|
84
|
-
};
|
|
85
|
-
//# sourceMappingURL=keys.js.map
|
|
1
|
+
import{BinaryReader as e,BinaryWriter as o}from"../../binary.js";import{isSet as d,bytesFromBase64 as s,base64FromBytes as i}from"../../helpers.js";import{}from"../../json-safe.js";export const PublicKey={typeUrl:"/tendermint.crypto.PublicKey",encode:(e,d=o.create())=>(void 0!==e.ed25519&&d.uint32(10).bytes(e.ed25519),void 0!==e.secp256k1&&d.uint32(18).bytes(e.secp256k1),d),decode(o,d){const s=o instanceof e?o:new e(o);let i=void 0===d?s.len:s.pos+d;const t={ed25519:void 0,secp256k1:void 0};for(;s.pos<i;){const e=s.uint32();switch(e>>>3){case 1:t.ed25519=s.bytes();break;case 2:t.secp256k1=s.bytes();break;default:s.skipType(7&e)}}return t},fromJSON:e=>({ed25519:d(e.ed25519)?s(e.ed25519):void 0,secp256k1:d(e.secp256k1)?s(e.secp256k1):void 0}),toJSON(e){const o={};return void 0!==e.ed25519&&(o.ed25519=void 0!==e.ed25519?i(e.ed25519):void 0),void 0!==e.secp256k1&&(o.secp256k1=void 0!==e.secp256k1?i(e.secp256k1):void 0),o},fromPartial(e){const o={ed25519:void 0,secp256k1:void 0};return o.ed25519=e.ed25519??void 0,o.secp256k1=e.secp256k1??void 0,o},fromProtoMsg:e=>PublicKey.decode(e.value),toProto:e=>PublicKey.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/tendermint.crypto.PublicKey",value:PublicKey.encode(e).finish()})};
|