@sparkdreamnft/sparkdreamjs 0.0.2 → 0.0.3
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/cosmos/app/runtime/v1alpha1/module.d.ts +3 -2
- package/cosmos/app/v1alpha1/module.d.ts +4 -3
- package/cosmos/auth/module/v1/module.d.ts +3 -2
- package/cosmos/auth/v1beta1/auth.d.ts +5 -4
- package/cosmos/auth/v1beta1/genesis.d.ts +2 -1
- package/cosmos/auth/v1beta1/query.d.ts +21 -20
- package/cosmos/auth/v1beta1/query.rpc.Query.d.ts +2 -2
- package/cosmos/auth/v1beta1/tx.d.ts +3 -2
- package/cosmos/auth/v1beta1/tx.registry.d.ts +3 -2
- package/cosmos/auth/v1beta1/tx.rpc.msg.d.ts +2 -2
- package/cosmos/authz/module/v1/module.d.ts +2 -1
- package/cosmos/authz/v1beta1/authz.d.ts +5 -4
- package/cosmos/authz/v1beta1/event.d.ts +3 -2
- package/cosmos/authz/v1beta1/genesis.d.ts +2 -1
- package/cosmos/authz/v1beta1/query.d.ts +7 -6
- package/cosmos/authz/v1beta1/query.rpc.Query.d.ts +2 -2
- package/cosmos/authz/v1beta1/tx.d.ts +7 -6
- package/cosmos/authz/v1beta1/tx.registry.d.ts +3 -2
- package/cosmos/authz/v1beta1/tx.rpc.msg.d.ts +2 -2
- package/cosmos/bank/module/v1/module.d.ts +2 -1
- package/cosmos/bank/v1beta1/authz.d.ts +2 -1
- package/cosmos/bank/v1beta1/bank.d.ts +8 -7
- package/cosmos/bank/v1beta1/genesis.d.ts +3 -2
- package/cosmos/bank/v1beta1/query.d.ts +28 -27
- package/cosmos/bank/v1beta1/query.rpc.Query.d.ts +2 -2
- package/cosmos/bank/v1beta1/tx.d.ts +9 -8
- package/cosmos/bank/v1beta1/tx.registry.d.ts +3 -2
- package/cosmos/bank/v1beta1/tx.rpc.msg.d.ts +2 -2
- package/cosmos/base/abci/v1beta1/abci.d.ts +12 -11
- package/cosmos/base/node/v1beta1/query.d.ts +5 -4
- package/cosmos/base/node/v1beta1/query.rpc.Service.d.ts +2 -2
- package/cosmos/base/query/v1beta1/pagination.d.ts +3 -2
- package/cosmos/base/reflection/v2alpha1/reflection.d.ts +27 -26
- package/cosmos/base/v1beta1/coin.d.ts +5 -4
- package/cosmos/benchmark/module/v1/module.d.ts +3 -2
- package/cosmos/benchmark/v1/benchmark.d.ts +2 -1
- package/cosmos/benchmark/v1/tx.d.ts +3 -2
- package/cosmos/benchmark/v1/tx.registry.d.ts +3 -2
- package/cosmos/benchmark/v1/tx.rpc.msg.d.ts +2 -2
- package/cosmos/bundle.d.ts +669 -669
- package/cosmos/circuit/module/v1/module.d.ts +2 -1
- package/cosmos/circuit/v1/query.d.ts +7 -6
- package/cosmos/circuit/v1/query.rpc.Query.d.ts +2 -2
- package/cosmos/circuit/v1/tx.d.ts +7 -6
- package/cosmos/circuit/v1/tx.registry.d.ts +3 -2
- package/cosmos/circuit/v1/tx.rpc.msg.d.ts +2 -2
- package/cosmos/circuit/v1/types.d.ts +4 -3
- package/cosmos/consensus/module/v1/module.d.ts +2 -1
- package/cosmos/consensus/v1/query.d.ts +3 -2
- package/cosmos/consensus/v1/query.rpc.Query.d.ts +2 -2
- package/cosmos/consensus/v1/tx.d.ts +3 -2
- package/cosmos/consensus/v1/tx.registry.d.ts +3 -2
- package/cosmos/consensus/v1/tx.rpc.msg.d.ts +2 -2
- package/cosmos/counter/module/v1/module.d.ts +2 -1
- package/cosmos/counter/v1/query.d.ts +3 -2
- package/cosmos/counter/v1/query.rpc.Query.d.ts +2 -2
- package/cosmos/counter/v1/tx.d.ts +3 -2
- package/cosmos/counter/v1/tx.registry.d.ts +3 -2
- package/cosmos/counter/v1/tx.rpc.msg.d.ts +2 -2
- package/cosmos/crisis/module/v1/module.d.ts +2 -1
- package/cosmos/crypto/ed25519/keys.d.ts +3 -2
- package/cosmos/crypto/hd/v1/hd.d.ts +2 -1
- package/cosmos/crypto/keyring/v1/record.d.ts +6 -5
- package/cosmos/crypto/multisig/keys.d.ts +2 -1
- package/cosmos/crypto/multisig/v1beta1/multisig.d.ts +3 -2
- package/cosmos/crypto/secp256k1/keys.d.ts +3 -2
- package/cosmos/crypto/secp256r1/keys.d.ts +3 -2
- package/cosmos/distribution/module/v1/module.d.ts +2 -1
- package/cosmos/distribution/v1beta1/distribution.d.ts +13 -12
- package/cosmos/distribution/v1beta1/genesis.d.ts +9 -8
- package/cosmos/distribution/v1beta1/query.d.ts +21 -20
- package/cosmos/distribution/v1beta1/query.rpc.Query.d.ts +2 -2
- package/cosmos/distribution/v1beta1/tx.d.ts +15 -14
- package/cosmos/distribution/v1beta1/tx.registry.d.ts +3 -2
- package/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts +2 -2
- package/cosmos/epochs/module/v1/module.d.ts +2 -1
- package/cosmos/epochs/v1beta1/events.d.ts +3 -2
- package/cosmos/epochs/v1beta1/genesis.d.ts +3 -2
- package/cosmos/epochs/v1beta1/query.d.ts +5 -4
- package/cosmos/epochs/v1beta1/query.rpc.Query.d.ts +2 -2
- package/cosmos/evidence/module/v1/module.d.ts +2 -1
- package/cosmos/feegrant/module/v1/module.d.ts +2 -1
- package/cosmos/feegrant/v1beta1/feegrant.d.ts +5 -4
- package/cosmos/feegrant/v1beta1/genesis.d.ts +2 -1
- package/cosmos/feegrant/v1beta1/query.d.ts +7 -6
- package/cosmos/feegrant/v1beta1/query.rpc.Query.d.ts +2 -2
- package/cosmos/feegrant/v1beta1/tx.d.ts +7 -6
- package/cosmos/feegrant/v1beta1/tx.registry.d.ts +3 -2
- package/cosmos/feegrant/v1beta1/tx.rpc.msg.d.ts +2 -2
- package/cosmos/genutil/module/v1/module.d.ts +2 -1
- package/cosmos/gov/module/v1/module.d.ts +2 -1
- package/cosmos/gov/v1/genesis.d.ts +2 -1
- package/cosmos/gov/v1/gov.d.ts +10 -9
- package/cosmos/gov/v1/query.d.ts +19 -18
- package/cosmos/gov/v1/query.rpc.Query.d.ts +2 -2
- package/cosmos/gov/v1/tx.d.ts +15 -14
- package/cosmos/gov/v1/tx.registry.d.ts +3 -2
- package/cosmos/gov/v1/tx.rpc.msg.d.ts +2 -2
- package/cosmos/gov/v1beta1/genesis.d.ts +2 -1
- package/cosmos/gov/v1beta1/gov.d.ts +10 -9
- package/cosmos/gov/v1beta1/query.d.ts +17 -16
- package/cosmos/gov/v1beta1/query.rpc.Query.d.ts +2 -2
- package/cosmos/gov/v1beta1/tx.d.ts +9 -8
- package/cosmos/gov/v1beta1/tx.registry.d.ts +3 -2
- package/cosmos/gov/v1beta1/tx.rpc.msg.d.ts +2 -2
- package/cosmos/group/module/v1/module.d.ts +2 -1
- package/cosmos/group/v1/events.d.ts +12 -11
- package/cosmos/group/v1/genesis.d.ts +2 -1
- package/cosmos/group/v1/query.d.ts +29 -28
- package/cosmos/group/v1/query.rpc.Query.d.ts +2 -2
- package/cosmos/group/v1/tx.d.ts +29 -28
- package/cosmos/group/v1/tx.registry.d.ts +3 -2
- package/cosmos/group/v1/tx.rpc.msg.d.ts +2 -2
- package/cosmos/group/v1/types.d.ts +12 -11
- package/cosmos/ics23/v1/proofs.d.ts +14 -13
- package/cosmos/mint/module/v1/module.d.ts +2 -1
- package/cosmos/mint/v1beta1/genesis.d.ts +2 -1
- package/cosmos/mint/v1beta1/mint.d.ts +3 -2
- package/cosmos/mint/v1beta1/query.d.ts +7 -6
- package/cosmos/mint/v1beta1/query.rpc.Query.d.ts +2 -2
- package/cosmos/mint/v1beta1/tx.d.ts +3 -2
- package/cosmos/mint/v1beta1/tx.registry.d.ts +3 -2
- package/cosmos/mint/v1beta1/tx.rpc.msg.d.ts +2 -2
- package/cosmos/nft/module/v1/module.d.ts +2 -1
- package/cosmos/orm/module/v1alpha1/module.d.ts +2 -1
- package/cosmos/orm/query/v1alpha1/query.d.ts +8 -7
- package/cosmos/orm/query/v1alpha1/query.rpc.Query.d.ts +2 -2
- package/cosmos/params/module/v1/module.d.ts +2 -1
- package/cosmos/params/v1beta1/params.d.ts +3 -2
- package/cosmos/params/v1beta1/query.d.ts +6 -5
- package/cosmos/params/v1beta1/query.rpc.Query.d.ts +2 -2
- package/cosmos/protocolpool/module/v1/module.d.ts +2 -1
- package/cosmos/protocolpool/v1/genesis.d.ts +2 -1
- package/cosmos/protocolpool/v1/query.d.ts +9 -8
- package/cosmos/protocolpool/v1/query.rpc.Query.d.ts +2 -2
- package/cosmos/protocolpool/v1/tx.d.ts +11 -10
- package/cosmos/protocolpool/v1/tx.js +1 -1
- package/cosmos/protocolpool/v1/tx.registry.d.ts +3 -2
- package/cosmos/protocolpool/v1/tx.rpc.msg.d.ts +2 -2
- package/cosmos/protocolpool/v1/types.d.ts +3 -2
- package/cosmos/reflection/v1/reflection.d.ts +3 -2
- package/cosmos/slashing/module/v1/module.d.ts +2 -1
- package/cosmos/staking/module/v1/module.d.ts +2 -1
- package/cosmos/staking/v1beta1/authz.d.ts +3 -2
- package/cosmos/staking/v1beta1/genesis.d.ts +3 -2
- package/cosmos/staking/v1beta1/query.d.ts +29 -28
- package/cosmos/staking/v1beta1/query.rpc.Query.d.ts +2 -2
- package/cosmos/staking/v1beta1/staking.d.ts +22 -21
- package/cosmos/staking/v1beta1/staking.js +1 -1
- package/cosmos/staking/v1beta1/tx.d.ts +15 -14
- package/cosmos/staking/v1beta1/tx.js +1 -1
- package/cosmos/staking/v1beta1/tx.registry.d.ts +3 -2
- package/cosmos/staking/v1beta1/tx.rpc.msg.d.ts +2 -2
- package/cosmos/store/internal/kv/v1beta1/kv.d.ts +3 -2
- package/cosmos/store/snapshots/v1/snapshot.d.ts +8 -7
- package/cosmos/store/streaming/abci/grpc.d.ts +5 -4
- package/cosmos/store/v1beta1/commit_info.d.ts +4 -3
- package/cosmos/store/v1beta1/listening.d.ts +3 -2
- package/cosmos/tx/config/v1/config.d.ts +2 -1
- package/cosmos/tx/signing/v1beta1/signing.d.ts +6 -5
- package/cosmos/tx/v1beta1/service.d.ts +19 -18
- package/cosmos/tx/v1beta1/service.rpc.Service.d.ts +2 -2
- package/cosmos/tx/v1beta1/tx.d.ts +14 -13
- package/cosmos/upgrade/module/v1/module.d.ts +2 -1
- package/cosmos/upgrade/v1beta1/query.d.ts +11 -10
- package/cosmos/upgrade/v1beta1/query.rpc.Query.d.ts +2 -2
- package/cosmos/upgrade/v1beta1/tx.d.ts +5 -4
- package/cosmos/upgrade/v1beta1/tx.registry.d.ts +3 -2
- package/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts +2 -2
- package/cosmos/upgrade/v1beta1/upgrade.d.ts +5 -4
- package/cosmos/vesting/module/v1/module.d.ts +2 -1
- package/cosmos/vesting/v1beta1/tx.d.ts +7 -6
- package/cosmos/vesting/v1beta1/tx.registry.d.ts +3 -2
- package/cosmos/vesting/v1beta1/tx.rpc.msg.d.ts +2 -2
- package/cosmos/vesting/v1beta1/vesting.d.ts +7 -6
- package/cosmos_proto/bundle.d.ts +2 -2
- package/cosmos_proto/cosmos.d.ts +3 -2
- package/esm/cosmos/protocolpool/v1/tx.js +1 -1
- package/esm/cosmos/staking/v1beta1/staking.js +1 -1
- package/esm/cosmos/staking/v1beta1/tx.js +1 -1
- package/esm/google/protobuf/descriptor.js +4 -4
- package/esm/index.js +1 -0
- package/esm/types.js +7 -0
- package/google/api/http.d.ts +4 -3
- package/google/bundle.d.ts +37 -37
- package/google/protobuf/any.d.ts +2 -1
- package/google/protobuf/descriptor.d.ts +35 -34
- package/google/protobuf/descriptor.js +4 -4
- package/google/protobuf/duration.d.ts +2 -1
- package/google/protobuf/timestamp.d.ts +2 -1
- package/ibc/applications/interchain_accounts/controller/v1/controller.d.ts +2 -1
- package/ibc/applications/interchain_accounts/controller/v1/query.d.ts +5 -4
- package/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.d.ts +2 -2
- package/ibc/applications/interchain_accounts/controller/v1/tx.d.ts +7 -6
- package/ibc/applications/interchain_accounts/controller/v1/tx.registry.d.ts +3 -2
- package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.d.ts +2 -2
- package/ibc/applications/interchain_accounts/genesis/v1/genesis.d.ts +6 -5
- package/ibc/applications/interchain_accounts/host/v1/host.d.ts +3 -2
- package/ibc/applications/interchain_accounts/host/v1/query.d.ts +3 -2
- package/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.d.ts +2 -2
- package/ibc/applications/interchain_accounts/host/v1/tx.d.ts +5 -4
- package/ibc/applications/interchain_accounts/host/v1/tx.registry.d.ts +3 -2
- package/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.d.ts +2 -2
- package/ibc/applications/interchain_accounts/v1/account.d.ts +2 -1
- package/ibc/applications/interchain_accounts/v1/metadata.d.ts +2 -1
- package/ibc/applications/interchain_accounts/v1/packet.d.ts +3 -2
- package/ibc/applications/packet_forward_middleware/v1/genesis.d.ts +4 -3
- package/ibc/applications/transfer/v1/authz.d.ts +3 -2
- package/ibc/applications/transfer/v1/denomtrace.d.ts +2 -1
- package/ibc/applications/transfer/v1/genesis.d.ts +2 -1
- package/ibc/applications/transfer/v1/packet.d.ts +2 -1
- package/ibc/applications/transfer/v1/query.d.ts +13 -12
- package/ibc/applications/transfer/v1/query.rpc.Query.d.ts +2 -2
- package/ibc/applications/transfer/v1/token.d.ts +4 -3
- package/ibc/applications/transfer/v1/transfer.d.ts +2 -1
- package/ibc/applications/transfer/v1/tx.d.ts +5 -4
- package/ibc/applications/transfer/v1/tx.registry.d.ts +3 -2
- package/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +2 -2
- package/ibc/bundle.d.ts +291 -291
- package/ibc/core/channel/v1/channel.d.ts +9 -8
- package/ibc/core/channel/v1/genesis.d.ts +3 -2
- package/ibc/core/channel/v1/query.d.ts +29 -28
- package/ibc/core/channel/v1/query.rpc.Query.d.ts +2 -2
- package/ibc/core/channel/v1/tx.d.ts +21 -20
- package/ibc/core/channel/v1/tx.registry.d.ts +3 -2
- package/ibc/core/channel/v1/tx.rpc.msg.d.ts +2 -2
- package/ibc/core/channel/v2/genesis.d.ts +4 -3
- package/ibc/core/channel/v2/packet.d.ts +5 -4
- package/ibc/core/channel/v2/query.d.ts +17 -16
- package/ibc/core/channel/v2/query.rpc.Query.d.ts +2 -2
- package/ibc/core/channel/v2/tx.d.ts +9 -8
- package/ibc/core/channel/v2/tx.registry.d.ts +3 -2
- package/ibc/core/channel/v2/tx.rpc.msg.d.ts +2 -2
- package/ibc/core/client/v1/client.d.ts +6 -5
- package/ibc/core/client/v1/genesis.d.ts +4 -3
- package/ibc/core/client/v1/query.d.ts +23 -22
- package/ibc/core/client/v1/query.rpc.Query.d.ts +2 -2
- package/ibc/core/client/v1/tx.d.ts +17 -16
- package/ibc/core/client/v1/tx.registry.d.ts +3 -2
- package/ibc/core/client/v1/tx.rpc.msg.d.ts +2 -2
- package/ibc/core/client/v2/config.d.ts +2 -1
- package/ibc/core/client/v2/counterparty.d.ts +2 -1
- package/ibc/core/client/v2/genesis.d.ts +3 -2
- package/ibc/core/client/v2/query.d.ts +5 -4
- package/ibc/core/client/v2/query.rpc.Query.d.ts +2 -2
- package/ibc/core/client/v2/tx.d.ts +5 -4
- package/ibc/core/client/v2/tx.registry.d.ts +3 -2
- package/ibc/core/client/v2/tx.rpc.msg.d.ts +2 -2
- package/ibc/core/commitment/v1/commitment.d.ts +4 -3
- package/ibc/core/commitment/v2/commitment.d.ts +2 -1
- package/ibc/core/connection/v1/connection.d.ts +8 -7
- package/ibc/core/connection/v1/genesis.d.ts +2 -1
- package/ibc/core/connection/v1/query.d.ts +13 -12
- package/ibc/core/connection/v1/query.rpc.Query.d.ts +2 -2
- package/ibc/core/connection/v1/tx.d.ts +11 -10
- package/ibc/core/connection/v1/tx.registry.d.ts +3 -2
- package/ibc/core/connection/v1/tx.rpc.msg.d.ts +2 -2
- package/ibc/lightclients/solomachine/v2/solomachine.d.ts +17 -16
- package/ibc/lightclients/solomachine/v3/solomachine.d.ts +9 -8
- package/ibc/lightclients/tendermint/v1/tendermint.d.ts +6 -5
- package/ibc/lightclients/wasm/v1/genesis.d.ts +3 -2
- package/ibc/lightclients/wasm/v1/query.d.ts +5 -4
- package/ibc/lightclients/wasm/v1/query.rpc.Query.d.ts +2 -2
- package/ibc/lightclients/wasm/v1/tx.d.ts +7 -6
- package/ibc/lightclients/wasm/v1/tx.registry.d.ts +3 -2
- package/ibc/lightclients/wasm/v1/tx.rpc.msg.d.ts +2 -2
- package/ibc/lightclients/wasm/v1/wasm.d.ts +5 -4
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/package.json +1 -1
- package/sparkdream/blog/genesis.d.ts +2 -1
- package/sparkdream/blog/module/module.d.ts +2 -1
- package/sparkdream/blog/params.d.ts +2 -1
- package/sparkdream/blog/post.d.ts +2 -1
- package/sparkdream/blog/query.d.ts +7 -6
- package/sparkdream/blog/query.rpc.Query.d.ts +2 -2
- package/sparkdream/blog/tx.d.ts +9 -8
- package/sparkdream/blog/tx.registry.d.ts +3 -2
- package/sparkdream/blog/tx.rpc.msg.d.ts +2 -2
- package/sparkdream/bundle.d.ts +25 -25
- package/sparkdream/sparkdream/genesis.d.ts +2 -1
- package/sparkdream/sparkdream/module/module.d.ts +2 -1
- package/sparkdream/sparkdream/params.d.ts +2 -1
- package/sparkdream/sparkdream/query.d.ts +3 -2
- package/sparkdream/sparkdream/query.rpc.Query.d.ts +2 -2
- package/sparkdream/sparkdream/tx.d.ts +3 -2
- package/sparkdream/sparkdream/tx.registry.d.ts +3 -2
- package/sparkdream/sparkdream/tx.rpc.msg.d.ts +2 -2
- package/tendermint/abci/types.d.ts +48 -47
- package/tendermint/bundle.d.ts +89 -89
- package/tendermint/crypto/keys.d.ts +2 -1
- package/tendermint/crypto/proof.d.ts +6 -5
- package/tendermint/p2p/types.d.ts +5 -4
- package/tendermint/types/block.d.ts +2 -1
- package/tendermint/types/evidence.d.ts +5 -4
- package/tendermint/types/params.d.ts +8 -7
- package/tendermint/types/types.d.ts +16 -15
- package/tendermint/types/validator.d.ts +4 -3
- package/tendermint/version/types.d.ts +3 -2
- package/types.d.ts +127 -0
- package/types.js +8 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "../../binary";
|
|
2
|
+
import { DeepPartial } from "../../helpers";
|
|
2
3
|
/** PublicKey defines the keys available for use with Validators */
|
|
3
4
|
export interface PublicKey {
|
|
4
5
|
ed25519?: Uint8Array;
|
|
@@ -26,7 +27,7 @@ export declare const PublicKey: {
|
|
|
26
27
|
typeUrl: string;
|
|
27
28
|
encode(message: PublicKey, writer?: BinaryWriter): BinaryWriter;
|
|
28
29
|
decode(input: BinaryReader | Uint8Array, length?: number): PublicKey;
|
|
29
|
-
fromPartial(object:
|
|
30
|
+
fromPartial(object: DeepPartial<PublicKey>): PublicKey;
|
|
30
31
|
fromAmino(object: PublicKeyAmino): PublicKey;
|
|
31
32
|
toAmino(message: PublicKey): PublicKeyAmino;
|
|
32
33
|
fromAminoMsg(object: PublicKeyAminoMsg): PublicKey;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "../../binary";
|
|
2
|
+
import { DeepPartial } from "../../helpers";
|
|
2
3
|
export interface Proof {
|
|
3
4
|
total: bigint;
|
|
4
5
|
index: bigint;
|
|
@@ -134,7 +135,7 @@ export declare const Proof: {
|
|
|
134
135
|
typeUrl: string;
|
|
135
136
|
encode(message: Proof, writer?: BinaryWriter): BinaryWriter;
|
|
136
137
|
decode(input: BinaryReader | Uint8Array, length?: number): Proof;
|
|
137
|
-
fromPartial(object:
|
|
138
|
+
fromPartial(object: DeepPartial<Proof>): Proof;
|
|
138
139
|
fromAmino(object: ProofAmino): Proof;
|
|
139
140
|
toAmino(message: Proof): ProofAmino;
|
|
140
141
|
fromAminoMsg(object: ProofAminoMsg): Proof;
|
|
@@ -146,7 +147,7 @@ export declare const ValueOp: {
|
|
|
146
147
|
typeUrl: string;
|
|
147
148
|
encode(message: ValueOp, writer?: BinaryWriter): BinaryWriter;
|
|
148
149
|
decode(input: BinaryReader | Uint8Array, length?: number): ValueOp;
|
|
149
|
-
fromPartial(object:
|
|
150
|
+
fromPartial(object: DeepPartial<ValueOp>): ValueOp;
|
|
150
151
|
fromAmino(object: ValueOpAmino): ValueOp;
|
|
151
152
|
toAmino(message: ValueOp): ValueOpAmino;
|
|
152
153
|
fromAminoMsg(object: ValueOpAminoMsg): ValueOp;
|
|
@@ -158,7 +159,7 @@ export declare const DominoOp: {
|
|
|
158
159
|
typeUrl: string;
|
|
159
160
|
encode(message: DominoOp, writer?: BinaryWriter): BinaryWriter;
|
|
160
161
|
decode(input: BinaryReader | Uint8Array, length?: number): DominoOp;
|
|
161
|
-
fromPartial(object:
|
|
162
|
+
fromPartial(object: DeepPartial<DominoOp>): DominoOp;
|
|
162
163
|
fromAmino(object: DominoOpAmino): DominoOp;
|
|
163
164
|
toAmino(message: DominoOp): DominoOpAmino;
|
|
164
165
|
fromAminoMsg(object: DominoOpAminoMsg): DominoOp;
|
|
@@ -170,7 +171,7 @@ export declare const ProofOp: {
|
|
|
170
171
|
typeUrl: string;
|
|
171
172
|
encode(message: ProofOp, writer?: BinaryWriter): BinaryWriter;
|
|
172
173
|
decode(input: BinaryReader | Uint8Array, length?: number): ProofOp;
|
|
173
|
-
fromPartial(object:
|
|
174
|
+
fromPartial(object: DeepPartial<ProofOp>): ProofOp;
|
|
174
175
|
fromAmino(object: ProofOpAmino): ProofOp;
|
|
175
176
|
toAmino(message: ProofOp): ProofOpAmino;
|
|
176
177
|
fromAminoMsg(object: ProofOpAminoMsg): ProofOp;
|
|
@@ -182,7 +183,7 @@ export declare const ProofOps: {
|
|
|
182
183
|
typeUrl: string;
|
|
183
184
|
encode(message: ProofOps, writer?: BinaryWriter): BinaryWriter;
|
|
184
185
|
decode(input: BinaryReader | Uint8Array, length?: number): ProofOps;
|
|
185
|
-
fromPartial(object:
|
|
186
|
+
fromPartial(object: DeepPartial<ProofOps>): ProofOps;
|
|
186
187
|
fromAmino(object: ProofOpsAmino): ProofOps;
|
|
187
188
|
toAmino(message: ProofOps): ProofOpsAmino;
|
|
188
189
|
fromAminoMsg(object: ProofOpsAminoMsg): ProofOps;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "../../binary";
|
|
2
|
+
import { DeepPartial } from "../../helpers";
|
|
2
3
|
export interface NetAddress {
|
|
3
4
|
id: string;
|
|
4
5
|
ip: string;
|
|
@@ -107,7 +108,7 @@ export declare const NetAddress: {
|
|
|
107
108
|
typeUrl: string;
|
|
108
109
|
encode(message: NetAddress, writer?: BinaryWriter): BinaryWriter;
|
|
109
110
|
decode(input: BinaryReader | Uint8Array, length?: number): NetAddress;
|
|
110
|
-
fromPartial(object:
|
|
111
|
+
fromPartial(object: DeepPartial<NetAddress>): NetAddress;
|
|
111
112
|
fromAmino(object: NetAddressAmino): NetAddress;
|
|
112
113
|
toAmino(message: NetAddress): NetAddressAmino;
|
|
113
114
|
fromAminoMsg(object: NetAddressAminoMsg): NetAddress;
|
|
@@ -119,7 +120,7 @@ export declare const ProtocolVersion: {
|
|
|
119
120
|
typeUrl: string;
|
|
120
121
|
encode(message: ProtocolVersion, writer?: BinaryWriter): BinaryWriter;
|
|
121
122
|
decode(input: BinaryReader | Uint8Array, length?: number): ProtocolVersion;
|
|
122
|
-
fromPartial(object:
|
|
123
|
+
fromPartial(object: DeepPartial<ProtocolVersion>): ProtocolVersion;
|
|
123
124
|
fromAmino(object: ProtocolVersionAmino): ProtocolVersion;
|
|
124
125
|
toAmino(message: ProtocolVersion): ProtocolVersionAmino;
|
|
125
126
|
fromAminoMsg(object: ProtocolVersionAminoMsg): ProtocolVersion;
|
|
@@ -131,7 +132,7 @@ export declare const DefaultNodeInfo: {
|
|
|
131
132
|
typeUrl: string;
|
|
132
133
|
encode(message: DefaultNodeInfo, writer?: BinaryWriter): BinaryWriter;
|
|
133
134
|
decode(input: BinaryReader | Uint8Array, length?: number): DefaultNodeInfo;
|
|
134
|
-
fromPartial(object:
|
|
135
|
+
fromPartial(object: DeepPartial<DefaultNodeInfo>): DefaultNodeInfo;
|
|
135
136
|
fromAmino(object: DefaultNodeInfoAmino): DefaultNodeInfo;
|
|
136
137
|
toAmino(message: DefaultNodeInfo): DefaultNodeInfoAmino;
|
|
137
138
|
fromAminoMsg(object: DefaultNodeInfoAminoMsg): DefaultNodeInfo;
|
|
@@ -143,7 +144,7 @@ export declare const DefaultNodeInfoOther: {
|
|
|
143
144
|
typeUrl: string;
|
|
144
145
|
encode(message: DefaultNodeInfoOther, writer?: BinaryWriter): BinaryWriter;
|
|
145
146
|
decode(input: BinaryReader | Uint8Array, length?: number): DefaultNodeInfoOther;
|
|
146
|
-
fromPartial(object:
|
|
147
|
+
fromPartial(object: DeepPartial<DefaultNodeInfoOther>): DefaultNodeInfoOther;
|
|
147
148
|
fromAmino(object: DefaultNodeInfoOtherAmino): DefaultNodeInfoOther;
|
|
148
149
|
toAmino(message: DefaultNodeInfoOther): DefaultNodeInfoOtherAmino;
|
|
149
150
|
fromAminoMsg(object: DefaultNodeInfoOtherAminoMsg): DefaultNodeInfoOther;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Header, HeaderAmino, HeaderSDKType, Data, DataAmino, DataSDKType, Commit, CommitAmino, CommitSDKType } from "./types";
|
|
2
2
|
import { EvidenceList, EvidenceListAmino, EvidenceListSDKType } from "./evidence";
|
|
3
3
|
import { BinaryReader, BinaryWriter } from "../../binary";
|
|
4
|
+
import { DeepPartial } from "../../helpers";
|
|
4
5
|
export interface Block {
|
|
5
6
|
header: Header;
|
|
6
7
|
data: Data;
|
|
@@ -31,7 +32,7 @@ export declare const Block: {
|
|
|
31
32
|
typeUrl: string;
|
|
32
33
|
encode(message: Block, writer?: BinaryWriter): BinaryWriter;
|
|
33
34
|
decode(input: BinaryReader | Uint8Array, length?: number): Block;
|
|
34
|
-
fromPartial(object:
|
|
35
|
+
fromPartial(object: DeepPartial<Block>): Block;
|
|
35
36
|
fromAmino(object: BlockAmino): Block;
|
|
36
37
|
toAmino(message: Block): BlockAmino;
|
|
37
38
|
fromAminoMsg(object: BlockAminoMsg): Block;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Vote, VoteAmino, VoteSDKType, LightBlock, LightBlockAmino, LightBlockSDKType } from "./types";
|
|
2
2
|
import { Validator, ValidatorAmino, ValidatorSDKType } from "./validator";
|
|
3
3
|
import { BinaryReader, BinaryWriter } from "../../binary";
|
|
4
|
+
import { DeepPartial } from "../../helpers";
|
|
4
5
|
export interface Evidence {
|
|
5
6
|
duplicateVoteEvidence?: DuplicateVoteEvidence;
|
|
6
7
|
lightClientAttackEvidence?: LightClientAttackEvidence;
|
|
@@ -106,7 +107,7 @@ export declare const Evidence: {
|
|
|
106
107
|
typeUrl: string;
|
|
107
108
|
encode(message: Evidence, writer?: BinaryWriter): BinaryWriter;
|
|
108
109
|
decode(input: BinaryReader | Uint8Array, length?: number): Evidence;
|
|
109
|
-
fromPartial(object:
|
|
110
|
+
fromPartial(object: DeepPartial<Evidence>): Evidence;
|
|
110
111
|
fromAmino(object: EvidenceAmino): Evidence;
|
|
111
112
|
toAmino(message: Evidence): EvidenceAmino;
|
|
112
113
|
fromAminoMsg(object: EvidenceAminoMsg): Evidence;
|
|
@@ -118,7 +119,7 @@ export declare const DuplicateVoteEvidence: {
|
|
|
118
119
|
typeUrl: string;
|
|
119
120
|
encode(message: DuplicateVoteEvidence, writer?: BinaryWriter): BinaryWriter;
|
|
120
121
|
decode(input: BinaryReader | Uint8Array, length?: number): DuplicateVoteEvidence;
|
|
121
|
-
fromPartial(object:
|
|
122
|
+
fromPartial(object: DeepPartial<DuplicateVoteEvidence>): DuplicateVoteEvidence;
|
|
122
123
|
fromAmino(object: DuplicateVoteEvidenceAmino): DuplicateVoteEvidence;
|
|
123
124
|
toAmino(message: DuplicateVoteEvidence): DuplicateVoteEvidenceAmino;
|
|
124
125
|
fromAminoMsg(object: DuplicateVoteEvidenceAminoMsg): DuplicateVoteEvidence;
|
|
@@ -130,7 +131,7 @@ export declare const LightClientAttackEvidence: {
|
|
|
130
131
|
typeUrl: string;
|
|
131
132
|
encode(message: LightClientAttackEvidence, writer?: BinaryWriter): BinaryWriter;
|
|
132
133
|
decode(input: BinaryReader | Uint8Array, length?: number): LightClientAttackEvidence;
|
|
133
|
-
fromPartial(object:
|
|
134
|
+
fromPartial(object: DeepPartial<LightClientAttackEvidence>): LightClientAttackEvidence;
|
|
134
135
|
fromAmino(object: LightClientAttackEvidenceAmino): LightClientAttackEvidence;
|
|
135
136
|
toAmino(message: LightClientAttackEvidence): LightClientAttackEvidenceAmino;
|
|
136
137
|
fromAminoMsg(object: LightClientAttackEvidenceAminoMsg): LightClientAttackEvidence;
|
|
@@ -142,7 +143,7 @@ export declare const EvidenceList: {
|
|
|
142
143
|
typeUrl: string;
|
|
143
144
|
encode(message: EvidenceList, writer?: BinaryWriter): BinaryWriter;
|
|
144
145
|
decode(input: BinaryReader | Uint8Array, length?: number): EvidenceList;
|
|
145
|
-
fromPartial(object:
|
|
146
|
+
fromPartial(object: DeepPartial<EvidenceList>): EvidenceList;
|
|
146
147
|
fromAmino(object: EvidenceListAmino): EvidenceList;
|
|
147
148
|
toAmino(message: EvidenceList): EvidenceListAmino;
|
|
148
149
|
fromAminoMsg(object: EvidenceListAminoMsg): EvidenceList;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Duration, DurationAmino, DurationSDKType } from "../../google/protobuf/duration";
|
|
2
2
|
import { BinaryReader, BinaryWriter } from "../../binary";
|
|
3
|
+
import { DeepPartial } from "../../helpers";
|
|
3
4
|
/**
|
|
4
5
|
* ConsensusParams contains consensus critical parameters that determine the
|
|
5
6
|
* validity of blocks.
|
|
@@ -272,7 +273,7 @@ export declare const ConsensusParams: {
|
|
|
272
273
|
typeUrl: string;
|
|
273
274
|
encode(message: ConsensusParams, writer?: BinaryWriter): BinaryWriter;
|
|
274
275
|
decode(input: BinaryReader | Uint8Array, length?: number): ConsensusParams;
|
|
275
|
-
fromPartial(object:
|
|
276
|
+
fromPartial(object: DeepPartial<ConsensusParams>): ConsensusParams;
|
|
276
277
|
fromAmino(object: ConsensusParamsAmino): ConsensusParams;
|
|
277
278
|
toAmino(message: ConsensusParams): ConsensusParamsAmino;
|
|
278
279
|
fromAminoMsg(object: ConsensusParamsAminoMsg): ConsensusParams;
|
|
@@ -284,7 +285,7 @@ export declare const BlockParams: {
|
|
|
284
285
|
typeUrl: string;
|
|
285
286
|
encode(message: BlockParams, writer?: BinaryWriter): BinaryWriter;
|
|
286
287
|
decode(input: BinaryReader | Uint8Array, length?: number): BlockParams;
|
|
287
|
-
fromPartial(object:
|
|
288
|
+
fromPartial(object: DeepPartial<BlockParams>): BlockParams;
|
|
288
289
|
fromAmino(object: BlockParamsAmino): BlockParams;
|
|
289
290
|
toAmino(message: BlockParams): BlockParamsAmino;
|
|
290
291
|
fromAminoMsg(object: BlockParamsAminoMsg): BlockParams;
|
|
@@ -296,7 +297,7 @@ export declare const EvidenceParams: {
|
|
|
296
297
|
typeUrl: string;
|
|
297
298
|
encode(message: EvidenceParams, writer?: BinaryWriter): BinaryWriter;
|
|
298
299
|
decode(input: BinaryReader | Uint8Array, length?: number): EvidenceParams;
|
|
299
|
-
fromPartial(object:
|
|
300
|
+
fromPartial(object: DeepPartial<EvidenceParams>): EvidenceParams;
|
|
300
301
|
fromAmino(object: EvidenceParamsAmino): EvidenceParams;
|
|
301
302
|
toAmino(message: EvidenceParams): EvidenceParamsAmino;
|
|
302
303
|
fromAminoMsg(object: EvidenceParamsAminoMsg): EvidenceParams;
|
|
@@ -308,7 +309,7 @@ export declare const ValidatorParams: {
|
|
|
308
309
|
typeUrl: string;
|
|
309
310
|
encode(message: ValidatorParams, writer?: BinaryWriter): BinaryWriter;
|
|
310
311
|
decode(input: BinaryReader | Uint8Array, length?: number): ValidatorParams;
|
|
311
|
-
fromPartial(object:
|
|
312
|
+
fromPartial(object: DeepPartial<ValidatorParams>): ValidatorParams;
|
|
312
313
|
fromAmino(object: ValidatorParamsAmino): ValidatorParams;
|
|
313
314
|
toAmino(message: ValidatorParams): ValidatorParamsAmino;
|
|
314
315
|
fromAminoMsg(object: ValidatorParamsAminoMsg): ValidatorParams;
|
|
@@ -320,7 +321,7 @@ export declare const VersionParams: {
|
|
|
320
321
|
typeUrl: string;
|
|
321
322
|
encode(message: VersionParams, writer?: BinaryWriter): BinaryWriter;
|
|
322
323
|
decode(input: BinaryReader | Uint8Array, length?: number): VersionParams;
|
|
323
|
-
fromPartial(object:
|
|
324
|
+
fromPartial(object: DeepPartial<VersionParams>): VersionParams;
|
|
324
325
|
fromAmino(object: VersionParamsAmino): VersionParams;
|
|
325
326
|
toAmino(message: VersionParams): VersionParamsAmino;
|
|
326
327
|
fromAminoMsg(object: VersionParamsAminoMsg): VersionParams;
|
|
@@ -332,7 +333,7 @@ export declare const HashedParams: {
|
|
|
332
333
|
typeUrl: string;
|
|
333
334
|
encode(message: HashedParams, writer?: BinaryWriter): BinaryWriter;
|
|
334
335
|
decode(input: BinaryReader | Uint8Array, length?: number): HashedParams;
|
|
335
|
-
fromPartial(object:
|
|
336
|
+
fromPartial(object: DeepPartial<HashedParams>): HashedParams;
|
|
336
337
|
fromAmino(object: HashedParamsAmino): HashedParams;
|
|
337
338
|
toAmino(message: HashedParams): HashedParamsAmino;
|
|
338
339
|
fromAminoMsg(object: HashedParamsAminoMsg): HashedParams;
|
|
@@ -344,7 +345,7 @@ export declare const ABCIParams: {
|
|
|
344
345
|
typeUrl: string;
|
|
345
346
|
encode(message: ABCIParams, writer?: BinaryWriter): BinaryWriter;
|
|
346
347
|
decode(input: BinaryReader | Uint8Array, length?: number): ABCIParams;
|
|
347
|
-
fromPartial(object:
|
|
348
|
+
fromPartial(object: DeepPartial<ABCIParams>): ABCIParams;
|
|
348
349
|
fromAmino(object: ABCIParamsAmino): ABCIParams;
|
|
349
350
|
toAmino(message: ABCIParams): ABCIParamsAmino;
|
|
350
351
|
fromAminoMsg(object: ABCIParamsAminoMsg): ABCIParams;
|
|
@@ -2,6 +2,7 @@ import { Proof, ProofAmino, ProofSDKType } from "../crypto/proof";
|
|
|
2
2
|
import { Consensus, ConsensusAmino, ConsensusSDKType } from "../version/types";
|
|
3
3
|
import { BlockIDFlag, ValidatorSet, ValidatorSetAmino, ValidatorSetSDKType } from "./validator";
|
|
4
4
|
import { BinaryReader, BinaryWriter } from "../../binary";
|
|
5
|
+
import { DeepPartial } from "../../helpers";
|
|
5
6
|
/** SignedMsgType is a type of signed message in the consensus. */
|
|
6
7
|
export declare enum SignedMsgType {
|
|
7
8
|
SIGNED_MSG_TYPE_UNKNOWN = 0,
|
|
@@ -546,7 +547,7 @@ export declare const PartSetHeader: {
|
|
|
546
547
|
typeUrl: string;
|
|
547
548
|
encode(message: PartSetHeader, writer?: BinaryWriter): BinaryWriter;
|
|
548
549
|
decode(input: BinaryReader | Uint8Array, length?: number): PartSetHeader;
|
|
549
|
-
fromPartial(object:
|
|
550
|
+
fromPartial(object: DeepPartial<PartSetHeader>): PartSetHeader;
|
|
550
551
|
fromAmino(object: PartSetHeaderAmino): PartSetHeader;
|
|
551
552
|
toAmino(message: PartSetHeader): PartSetHeaderAmino;
|
|
552
553
|
fromAminoMsg(object: PartSetHeaderAminoMsg): PartSetHeader;
|
|
@@ -558,7 +559,7 @@ export declare const Part: {
|
|
|
558
559
|
typeUrl: string;
|
|
559
560
|
encode(message: Part, writer?: BinaryWriter): BinaryWriter;
|
|
560
561
|
decode(input: BinaryReader | Uint8Array, length?: number): Part;
|
|
561
|
-
fromPartial(object:
|
|
562
|
+
fromPartial(object: DeepPartial<Part>): Part;
|
|
562
563
|
fromAmino(object: PartAmino): Part;
|
|
563
564
|
toAmino(message: Part): PartAmino;
|
|
564
565
|
fromAminoMsg(object: PartAminoMsg): Part;
|
|
@@ -570,7 +571,7 @@ export declare const BlockID: {
|
|
|
570
571
|
typeUrl: string;
|
|
571
572
|
encode(message: BlockID, writer?: BinaryWriter): BinaryWriter;
|
|
572
573
|
decode(input: BinaryReader | Uint8Array, length?: number): BlockID;
|
|
573
|
-
fromPartial(object:
|
|
574
|
+
fromPartial(object: DeepPartial<BlockID>): BlockID;
|
|
574
575
|
fromAmino(object: BlockIDAmino): BlockID;
|
|
575
576
|
toAmino(message: BlockID): BlockIDAmino;
|
|
576
577
|
fromAminoMsg(object: BlockIDAminoMsg): BlockID;
|
|
@@ -582,7 +583,7 @@ export declare const Header: {
|
|
|
582
583
|
typeUrl: string;
|
|
583
584
|
encode(message: Header, writer?: BinaryWriter): BinaryWriter;
|
|
584
585
|
decode(input: BinaryReader | Uint8Array, length?: number): Header;
|
|
585
|
-
fromPartial(object:
|
|
586
|
+
fromPartial(object: DeepPartial<Header>): Header;
|
|
586
587
|
fromAmino(object: HeaderAmino): Header;
|
|
587
588
|
toAmino(message: Header): HeaderAmino;
|
|
588
589
|
fromAminoMsg(object: HeaderAminoMsg): Header;
|
|
@@ -594,7 +595,7 @@ export declare const Data: {
|
|
|
594
595
|
typeUrl: string;
|
|
595
596
|
encode(message: Data, writer?: BinaryWriter): BinaryWriter;
|
|
596
597
|
decode(input: BinaryReader | Uint8Array, length?: number): Data;
|
|
597
|
-
fromPartial(object:
|
|
598
|
+
fromPartial(object: DeepPartial<Data>): Data;
|
|
598
599
|
fromAmino(object: DataAmino): Data;
|
|
599
600
|
toAmino(message: Data): DataAmino;
|
|
600
601
|
fromAminoMsg(object: DataAminoMsg): Data;
|
|
@@ -606,7 +607,7 @@ export declare const Vote: {
|
|
|
606
607
|
typeUrl: string;
|
|
607
608
|
encode(message: Vote, writer?: BinaryWriter): BinaryWriter;
|
|
608
609
|
decode(input: BinaryReader | Uint8Array, length?: number): Vote;
|
|
609
|
-
fromPartial(object:
|
|
610
|
+
fromPartial(object: DeepPartial<Vote>): Vote;
|
|
610
611
|
fromAmino(object: VoteAmino): Vote;
|
|
611
612
|
toAmino(message: Vote): VoteAmino;
|
|
612
613
|
fromAminoMsg(object: VoteAminoMsg): Vote;
|
|
@@ -618,7 +619,7 @@ export declare const Commit: {
|
|
|
618
619
|
typeUrl: string;
|
|
619
620
|
encode(message: Commit, writer?: BinaryWriter): BinaryWriter;
|
|
620
621
|
decode(input: BinaryReader | Uint8Array, length?: number): Commit;
|
|
621
|
-
fromPartial(object:
|
|
622
|
+
fromPartial(object: DeepPartial<Commit>): Commit;
|
|
622
623
|
fromAmino(object: CommitAmino): Commit;
|
|
623
624
|
toAmino(message: Commit): CommitAmino;
|
|
624
625
|
fromAminoMsg(object: CommitAminoMsg): Commit;
|
|
@@ -630,7 +631,7 @@ export declare const CommitSig: {
|
|
|
630
631
|
typeUrl: string;
|
|
631
632
|
encode(message: CommitSig, writer?: BinaryWriter): BinaryWriter;
|
|
632
633
|
decode(input: BinaryReader | Uint8Array, length?: number): CommitSig;
|
|
633
|
-
fromPartial(object:
|
|
634
|
+
fromPartial(object: DeepPartial<CommitSig>): CommitSig;
|
|
634
635
|
fromAmino(object: CommitSigAmino): CommitSig;
|
|
635
636
|
toAmino(message: CommitSig): CommitSigAmino;
|
|
636
637
|
fromAminoMsg(object: CommitSigAminoMsg): CommitSig;
|
|
@@ -642,7 +643,7 @@ export declare const ExtendedCommit: {
|
|
|
642
643
|
typeUrl: string;
|
|
643
644
|
encode(message: ExtendedCommit, writer?: BinaryWriter): BinaryWriter;
|
|
644
645
|
decode(input: BinaryReader | Uint8Array, length?: number): ExtendedCommit;
|
|
645
|
-
fromPartial(object:
|
|
646
|
+
fromPartial(object: DeepPartial<ExtendedCommit>): ExtendedCommit;
|
|
646
647
|
fromAmino(object: ExtendedCommitAmino): ExtendedCommit;
|
|
647
648
|
toAmino(message: ExtendedCommit): ExtendedCommitAmino;
|
|
648
649
|
fromAminoMsg(object: ExtendedCommitAminoMsg): ExtendedCommit;
|
|
@@ -654,7 +655,7 @@ export declare const ExtendedCommitSig: {
|
|
|
654
655
|
typeUrl: string;
|
|
655
656
|
encode(message: ExtendedCommitSig, writer?: BinaryWriter): BinaryWriter;
|
|
656
657
|
decode(input: BinaryReader | Uint8Array, length?: number): ExtendedCommitSig;
|
|
657
|
-
fromPartial(object:
|
|
658
|
+
fromPartial(object: DeepPartial<ExtendedCommitSig>): ExtendedCommitSig;
|
|
658
659
|
fromAmino(object: ExtendedCommitSigAmino): ExtendedCommitSig;
|
|
659
660
|
toAmino(message: ExtendedCommitSig): ExtendedCommitSigAmino;
|
|
660
661
|
fromAminoMsg(object: ExtendedCommitSigAminoMsg): ExtendedCommitSig;
|
|
@@ -666,7 +667,7 @@ export declare const Proposal: {
|
|
|
666
667
|
typeUrl: string;
|
|
667
668
|
encode(message: Proposal, writer?: BinaryWriter): BinaryWriter;
|
|
668
669
|
decode(input: BinaryReader | Uint8Array, length?: number): Proposal;
|
|
669
|
-
fromPartial(object:
|
|
670
|
+
fromPartial(object: DeepPartial<Proposal>): Proposal;
|
|
670
671
|
fromAmino(object: ProposalAmino): Proposal;
|
|
671
672
|
toAmino(message: Proposal): ProposalAmino;
|
|
672
673
|
fromAminoMsg(object: ProposalAminoMsg): Proposal;
|
|
@@ -678,7 +679,7 @@ export declare const SignedHeader: {
|
|
|
678
679
|
typeUrl: string;
|
|
679
680
|
encode(message: SignedHeader, writer?: BinaryWriter): BinaryWriter;
|
|
680
681
|
decode(input: BinaryReader | Uint8Array, length?: number): SignedHeader;
|
|
681
|
-
fromPartial(object:
|
|
682
|
+
fromPartial(object: DeepPartial<SignedHeader>): SignedHeader;
|
|
682
683
|
fromAmino(object: SignedHeaderAmino): SignedHeader;
|
|
683
684
|
toAmino(message: SignedHeader): SignedHeaderAmino;
|
|
684
685
|
fromAminoMsg(object: SignedHeaderAminoMsg): SignedHeader;
|
|
@@ -690,7 +691,7 @@ export declare const LightBlock: {
|
|
|
690
691
|
typeUrl: string;
|
|
691
692
|
encode(message: LightBlock, writer?: BinaryWriter): BinaryWriter;
|
|
692
693
|
decode(input: BinaryReader | Uint8Array, length?: number): LightBlock;
|
|
693
|
-
fromPartial(object:
|
|
694
|
+
fromPartial(object: DeepPartial<LightBlock>): LightBlock;
|
|
694
695
|
fromAmino(object: LightBlockAmino): LightBlock;
|
|
695
696
|
toAmino(message: LightBlock): LightBlockAmino;
|
|
696
697
|
fromAminoMsg(object: LightBlockAminoMsg): LightBlock;
|
|
@@ -702,7 +703,7 @@ export declare const BlockMeta: {
|
|
|
702
703
|
typeUrl: string;
|
|
703
704
|
encode(message: BlockMeta, writer?: BinaryWriter): BinaryWriter;
|
|
704
705
|
decode(input: BinaryReader | Uint8Array, length?: number): BlockMeta;
|
|
705
|
-
fromPartial(object:
|
|
706
|
+
fromPartial(object: DeepPartial<BlockMeta>): BlockMeta;
|
|
706
707
|
fromAmino(object: BlockMetaAmino): BlockMeta;
|
|
707
708
|
toAmino(message: BlockMeta): BlockMetaAmino;
|
|
708
709
|
fromAminoMsg(object: BlockMetaAminoMsg): BlockMeta;
|
|
@@ -714,7 +715,7 @@ export declare const TxProof: {
|
|
|
714
715
|
typeUrl: string;
|
|
715
716
|
encode(message: TxProof, writer?: BinaryWriter): BinaryWriter;
|
|
716
717
|
decode(input: BinaryReader | Uint8Array, length?: number): TxProof;
|
|
717
|
-
fromPartial(object:
|
|
718
|
+
fromPartial(object: DeepPartial<TxProof>): TxProof;
|
|
718
719
|
fromAmino(object: TxProofAmino): TxProof;
|
|
719
720
|
toAmino(message: TxProof): TxProofAmino;
|
|
720
721
|
fromAminoMsg(object: TxProofAminoMsg): TxProof;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { PublicKey, PublicKeyAmino, PublicKeySDKType } from "../crypto/keys";
|
|
2
2
|
import { BinaryReader, BinaryWriter } from "../../binary";
|
|
3
|
+
import { DeepPartial } from "../../helpers";
|
|
3
4
|
/** BlockIdFlag indicates which BlockID the signature is for */
|
|
4
5
|
export declare enum BlockIDFlag {
|
|
5
6
|
/** BLOCK_ID_FLAG_UNKNOWN - indicates an error condition */
|
|
@@ -88,7 +89,7 @@ export declare const ValidatorSet: {
|
|
|
88
89
|
typeUrl: string;
|
|
89
90
|
encode(message: ValidatorSet, writer?: BinaryWriter): BinaryWriter;
|
|
90
91
|
decode(input: BinaryReader | Uint8Array, length?: number): ValidatorSet;
|
|
91
|
-
fromPartial(object:
|
|
92
|
+
fromPartial(object: DeepPartial<ValidatorSet>): ValidatorSet;
|
|
92
93
|
fromAmino(object: ValidatorSetAmino): ValidatorSet;
|
|
93
94
|
toAmino(message: ValidatorSet): ValidatorSetAmino;
|
|
94
95
|
fromAminoMsg(object: ValidatorSetAminoMsg): ValidatorSet;
|
|
@@ -100,7 +101,7 @@ export declare const Validator: {
|
|
|
100
101
|
typeUrl: string;
|
|
101
102
|
encode(message: Validator, writer?: BinaryWriter): BinaryWriter;
|
|
102
103
|
decode(input: BinaryReader | Uint8Array, length?: number): Validator;
|
|
103
|
-
fromPartial(object:
|
|
104
|
+
fromPartial(object: DeepPartial<Validator>): Validator;
|
|
104
105
|
fromAmino(object: ValidatorAmino): Validator;
|
|
105
106
|
toAmino(message: Validator): ValidatorAmino;
|
|
106
107
|
fromAminoMsg(object: ValidatorAminoMsg): Validator;
|
|
@@ -112,7 +113,7 @@ export declare const SimpleValidator: {
|
|
|
112
113
|
typeUrl: string;
|
|
113
114
|
encode(message: SimpleValidator, writer?: BinaryWriter): BinaryWriter;
|
|
114
115
|
decode(input: BinaryReader | Uint8Array, length?: number): SimpleValidator;
|
|
115
|
-
fromPartial(object:
|
|
116
|
+
fromPartial(object: DeepPartial<SimpleValidator>): SimpleValidator;
|
|
116
117
|
fromAmino(object: SimpleValidatorAmino): SimpleValidator;
|
|
117
118
|
toAmino(message: SimpleValidator): SimpleValidatorAmino;
|
|
118
119
|
fromAminoMsg(object: SimpleValidatorAminoMsg): SimpleValidator;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "../../binary";
|
|
2
|
+
import { DeepPartial } from "../../helpers";
|
|
2
3
|
/**
|
|
3
4
|
* App includes the protocol and software version for the application.
|
|
4
5
|
* This information is included in ResponseInfo. The App.Protocol can be
|
|
@@ -73,7 +74,7 @@ export declare const App: {
|
|
|
73
74
|
typeUrl: string;
|
|
74
75
|
encode(message: App, writer?: BinaryWriter): BinaryWriter;
|
|
75
76
|
decode(input: BinaryReader | Uint8Array, length?: number): App;
|
|
76
|
-
fromPartial(object:
|
|
77
|
+
fromPartial(object: DeepPartial<App>): App;
|
|
77
78
|
fromAmino(object: AppAmino): App;
|
|
78
79
|
toAmino(message: App): AppAmino;
|
|
79
80
|
fromAminoMsg(object: AppAminoMsg): App;
|
|
@@ -85,7 +86,7 @@ export declare const Consensus: {
|
|
|
85
86
|
typeUrl: string;
|
|
86
87
|
encode(message: Consensus, writer?: BinaryWriter): BinaryWriter;
|
|
87
88
|
decode(input: BinaryReader | Uint8Array, length?: number): Consensus;
|
|
88
|
-
fromPartial(object:
|
|
89
|
+
fromPartial(object: DeepPartial<Consensus>): Consensus;
|
|
89
90
|
fromAmino(object: ConsensusAmino): Consensus;
|
|
90
91
|
toAmino(message: Consensus): ConsensusAmino;
|
|
91
92
|
fromAminoMsg(object: ConsensusAminoMsg): Consensus;
|
package/types.d.ts
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file and any referenced files were automatically generated by @cosmology/telescope@1.12.18
|
|
3
|
+
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
|
|
4
|
+
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
|
|
5
|
+
*/
|
|
6
|
+
import { IBinaryReader, IBinaryWriter } from "./binary";
|
|
7
|
+
import { Any } from "./google/protobuf/any";
|
|
8
|
+
import { OfflineSigner } from "@cosmjs/proto-signing";
|
|
9
|
+
import { HttpEndpoint } from "@cosmjs/tendermint-rpc";
|
|
10
|
+
export type ProtoMsg = Omit<Any, "typeUrl"> & {
|
|
11
|
+
typeUrl: any;
|
|
12
|
+
};
|
|
13
|
+
export interface IAminoMsg<Amino> {
|
|
14
|
+
type: any;
|
|
15
|
+
value: Amino;
|
|
16
|
+
}
|
|
17
|
+
export interface IProtoType {
|
|
18
|
+
$typeUrl?: any;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* A type generated by Telescope 1.0.
|
|
22
|
+
*/
|
|
23
|
+
export interface TelescopeGeneratedCodec<T = unknown, SDK = unknown, Amino = unknown> {
|
|
24
|
+
readonly typeUrl: string;
|
|
25
|
+
readonly aminoType?: string;
|
|
26
|
+
is?(o: unknown): o is T;
|
|
27
|
+
isSDK?(o: unknown): o is SDK;
|
|
28
|
+
isAmino?(o: unknown): o is Amino;
|
|
29
|
+
encode: (message: T, writer?: IBinaryWriter | any) => IBinaryWriter | any;
|
|
30
|
+
decode: (input: IBinaryReader | Uint8Array | any, length?: number) => T;
|
|
31
|
+
fromPartial: (object: any) => T | any;
|
|
32
|
+
fromJSON?: (object: any) => T | any;
|
|
33
|
+
toJSON?: (message: T | any) => any;
|
|
34
|
+
fromSDK?: (sdk: SDK) => T;
|
|
35
|
+
fromSDKJSON?: (object: any) => SDK;
|
|
36
|
+
toSDK?: (message: T) => SDK;
|
|
37
|
+
fromAmino?: (amino: Amino) => T;
|
|
38
|
+
toAmino?: (message: T) => Amino;
|
|
39
|
+
fromAminoMsg?: (aminoMsg: IAminoMsg<Amino>) => T;
|
|
40
|
+
toAminoMsg?: (message: T) => IAminoMsg<Amino>;
|
|
41
|
+
toProto?: (message: T) => Uint8Array;
|
|
42
|
+
fromProtoMsg?: (message: ProtoMsg) => T;
|
|
43
|
+
toProtoMsg?: (message: T) => Any;
|
|
44
|
+
registerTypeUrl?: () => void;
|
|
45
|
+
}
|
|
46
|
+
export type TelescopeGeneratedType<T = unknown, SDK = unknown, Amino = unknown> = TelescopeGeneratedCodec<T, SDK, Amino>;
|
|
47
|
+
export type GeneratedType = TelescopeGeneratedCodec;
|
|
48
|
+
/**
|
|
49
|
+
* Coin defines a token with a denomination and an amount.
|
|
50
|
+
*
|
|
51
|
+
* NOTE: The amount field is an Int which implements the custom method
|
|
52
|
+
* signatures required by gogoproto.
|
|
53
|
+
*/
|
|
54
|
+
interface Coin {
|
|
55
|
+
denom: string;
|
|
56
|
+
amount: string;
|
|
57
|
+
}
|
|
58
|
+
export type EncodeObject = Message<any>;
|
|
59
|
+
export interface Message<T> {
|
|
60
|
+
typeUrl: string;
|
|
61
|
+
value: T;
|
|
62
|
+
}
|
|
63
|
+
export interface StdFee {
|
|
64
|
+
amount: Coin[];
|
|
65
|
+
gas: string;
|
|
66
|
+
/** The granter address that is used for paying with feegrants */
|
|
67
|
+
granter?: string;
|
|
68
|
+
/** The fee payer address. The payer must have signed the transaction. */
|
|
69
|
+
payer?: string;
|
|
70
|
+
}
|
|
71
|
+
export interface MsgData {
|
|
72
|
+
msgType: string;
|
|
73
|
+
data: Uint8Array;
|
|
74
|
+
}
|
|
75
|
+
export interface Attribute {
|
|
76
|
+
key: string;
|
|
77
|
+
value: string;
|
|
78
|
+
index?: boolean;
|
|
79
|
+
}
|
|
80
|
+
export interface Event {
|
|
81
|
+
type: string;
|
|
82
|
+
attributes: readonly Attribute[];
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* The response after successfully broadcasting a transaction.
|
|
86
|
+
* Success or failure refer to the execution result.
|
|
87
|
+
*/
|
|
88
|
+
export interface DeliverTxResponse {
|
|
89
|
+
height: number;
|
|
90
|
+
/** The position of the transaction within the block. This is a 0-based index. */
|
|
91
|
+
txIndex: number;
|
|
92
|
+
/** Error code. The transaction suceeded if and only if code is 0. */
|
|
93
|
+
code: number;
|
|
94
|
+
transactionHash: string;
|
|
95
|
+
events: readonly Event[];
|
|
96
|
+
/**
|
|
97
|
+
* A string-based log document.
|
|
98
|
+
*
|
|
99
|
+
* This currently seems to merge attributes of multiple events into one event per type
|
|
100
|
+
* (https://github.com/tendermint/tendermint/issues/9595). You might want to use the `events`
|
|
101
|
+
* field instead.
|
|
102
|
+
*/
|
|
103
|
+
rawLog?: string;
|
|
104
|
+
/** @deprecated Use `msgResponses` instead. */
|
|
105
|
+
data?: readonly MsgData[];
|
|
106
|
+
/**
|
|
107
|
+
* The message responses of the [TxMsgData](https://github.com/cosmos/cosmos-sdk/blob/v0.46.3/proto/cosmos/base/abci/v1beta1/abci.proto#L128-L140)
|
|
108
|
+
* as `Any`s.
|
|
109
|
+
* This field is an empty list for chains running Cosmos SDK < 0.46.
|
|
110
|
+
*/
|
|
111
|
+
msgResponses: Array<{
|
|
112
|
+
typeUrl: string;
|
|
113
|
+
value: Uint8Array;
|
|
114
|
+
}>;
|
|
115
|
+
gasUsed: bigint;
|
|
116
|
+
gasWanted: bigint;
|
|
117
|
+
origin?: any;
|
|
118
|
+
}
|
|
119
|
+
export interface TxRpc {
|
|
120
|
+
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
121
|
+
signAndBroadcast?(signerAddress: string, messages: EncodeObject[], fee: StdFee | "auto" | number, memo: string): Promise<DeliverTxResponse>;
|
|
122
|
+
}
|
|
123
|
+
export interface SigningClientParams {
|
|
124
|
+
rpcEndpoint: string | HttpEndpoint;
|
|
125
|
+
signer: OfflineSigner;
|
|
126
|
+
}
|
|
127
|
+
export {};
|
package/types.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
//@ts-nocheck
|
|
3
|
+
/**
|
|
4
|
+
* This file and any referenced files were automatically generated by @cosmology/telescope@1.12.18
|
|
5
|
+
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
|
|
6
|
+
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|