@bze/bzejs 0.0.10 → 0.0.11

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.
Files changed (175) hide show
  1. package/package.json +1 -1
  2. package/types/codegen/amino/amino.d.ts +1 -0
  3. package/types/codegen/amino/bundle.d.ts +1 -0
  4. package/types/codegen/beezee/burner/query.d.ts +0 -1
  5. package/types/codegen/beezee/burner/tx.amino.d.ts +3 -3
  6. package/types/codegen/beezee/cointrunk/anon_articles_counter.d.ts +1 -1
  7. package/types/codegen/beezee/cointrunk/article.d.ts +1 -1
  8. package/types/codegen/beezee/cointrunk/events.d.ts +1 -1
  9. package/types/codegen/beezee/cointrunk/genesis.d.ts +1 -1
  10. package/types/codegen/beezee/cointrunk/publisher.d.ts +1 -1
  11. package/types/codegen/beezee/cointrunk/query.d.ts +0 -1
  12. package/types/codegen/beezee/cointrunk/tx.amino.d.ts +6 -6
  13. package/types/codegen/bze/bundle.d.ts +247 -3513
  14. package/types/codegen/confio/proofs.d.ts +439 -0
  15. package/types/codegen/cosmos/app/v1alpha1/config.d.ts +0 -17
  16. package/types/codegen/cosmos/app/v1alpha1/module.d.ts +0 -64
  17. package/types/codegen/cosmos/app/v1alpha1/query.d.ts +0 -1
  18. package/types/codegen/cosmos/auth/v1beta1/auth.d.ts +1 -1
  19. package/types/codegen/cosmos/auth/v1beta1/genesis.d.ts +0 -2
  20. package/types/codegen/cosmos/auth/v1beta1/query.d.ts +0 -6
  21. package/types/codegen/cosmos/authz/v1beta1/authz.d.ts +0 -7
  22. package/types/codegen/cosmos/authz/v1beta1/event.d.ts +0 -6
  23. package/types/codegen/cosmos/authz/v1beta1/query.d.ts +0 -10
  24. package/types/codegen/cosmos/authz/v1beta1/tx.amino.d.ts +9 -9
  25. package/types/codegen/cosmos/authz/v1beta1/tx.d.ts +0 -5
  26. package/types/codegen/cosmos/bank/v1beta1/bank.d.ts +0 -37
  27. package/types/codegen/cosmos/bank/v1beta1/genesis.d.ts +0 -9
  28. package/types/codegen/cosmos/bank/v1beta1/query.d.ts +0 -34
  29. package/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts +6 -6
  30. package/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +1 -62
  31. package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +1 -35
  32. package/types/codegen/cosmos/base/reflection/v1beta1/reflection.d.ts +0 -2
  33. package/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts +0 -63
  34. package/types/codegen/cosmos/base/snapshots/v1beta1/snapshot.d.ts +1 -4
  35. package/types/codegen/cosmos/base/store/v1beta1/commit_info.d.ts +1 -1
  36. package/types/codegen/cosmos/base/store/v1beta1/listening.d.ts +0 -2
  37. package/types/codegen/cosmos/base/tendermint/v1beta1/query.d.ts +1 -9
  38. package/types/codegen/cosmos/bundle.d.ts +3223 -41279
  39. package/types/codegen/cosmos/capability/v1beta1/capability.d.ts +1 -1
  40. package/types/codegen/cosmos/capability/v1beta1/genesis.d.ts +1 -8
  41. package/types/codegen/cosmos/crisis/v1beta1/genesis.d.ts +0 -4
  42. package/types/codegen/cosmos/crisis/v1beta1/tx.amino.d.ts +3 -3
  43. package/types/codegen/cosmos/crypto/hd/v1/hd.d.ts +0 -8
  44. package/types/codegen/cosmos/crypto/keyring/v1/record.d.ts +0 -6
  45. package/types/codegen/cosmos/crypto/secp256r1/keys.d.ts +0 -5
  46. package/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts +0 -28
  47. package/types/codegen/cosmos/distribution/v1beta1/query.d.ts +0 -21
  48. package/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts +12 -12
  49. package/types/codegen/cosmos/evidence/v1beta1/evidence.d.ts +1 -1
  50. package/types/codegen/cosmos/evidence/v1beta1/genesis.d.ts +0 -1
  51. package/types/codegen/cosmos/evidence/v1beta1/query.d.ts +0 -5
  52. package/types/codegen/cosmos/evidence/v1beta1/tx.amino.d.ts +3 -3
  53. package/types/codegen/cosmos/evidence/v1beta1/tx.d.ts +0 -1
  54. package/types/codegen/cosmos/feegrant/v1beta1/feegrant.d.ts +0 -26
  55. package/types/codegen/cosmos/feegrant/v1beta1/query.d.ts +0 -9
  56. package/types/codegen/cosmos/feegrant/v1beta1/tx.amino.d.ts +6 -6
  57. package/types/codegen/cosmos/feegrant/v1beta1/tx.d.ts +0 -5
  58. package/types/codegen/cosmos/genutil/v1beta1/genesis.d.ts +0 -1
  59. package/types/codegen/cosmos/gov/v1/genesis.d.ts +1 -8
  60. package/types/codegen/cosmos/gov/v1/gov.d.ts +4 -69
  61. package/types/codegen/cosmos/gov/v1/query.d.ts +3 -31
  62. package/types/codegen/cosmos/gov/v1/tx.amino.d.ts +15 -15
  63. package/types/codegen/cosmos/gov/v1/tx.d.ts +2 -5
  64. package/types/codegen/cosmos/gov/v1beta1/genesis.d.ts +1 -8
  65. package/types/codegen/cosmos/gov/v1beta1/gov.d.ts +5 -74
  66. package/types/codegen/cosmos/gov/v1beta1/query.d.ts +3 -31
  67. package/types/codegen/cosmos/gov/v1beta1/tx.amino.d.ts +12 -12
  68. package/types/codegen/cosmos/gov/v1beta1/tx.d.ts +2 -2
  69. package/types/codegen/cosmos/group/v1/events.d.ts +3 -14
  70. package/types/codegen/cosmos/group/v1/genesis.d.ts +1 -18
  71. package/types/codegen/cosmos/group/v1/query.d.ts +1 -44
  72. package/types/codegen/cosmos/group/v1/tx.amino.d.ts +42 -42
  73. package/types/codegen/cosmos/group/v1/tx.d.ts +5 -85
  74. package/types/codegen/cosmos/group/v1/types.d.ts +8 -150
  75. package/types/codegen/cosmos/mint/v1beta1/genesis.d.ts +0 -2
  76. package/types/codegen/cosmos/mint/v1beta1/mint.d.ts +0 -8
  77. package/types/codegen/cosmos/mint/v1beta1/query.d.ts +0 -3
  78. package/types/codegen/cosmos/nft/v1beta1/genesis.d.ts +0 -3
  79. package/types/codegen/cosmos/nft/v1beta1/nft.d.ts +0 -12
  80. package/types/codegen/cosmos/nft/v1beta1/query.d.ts +0 -1
  81. package/types/codegen/cosmos/nft/v1beta1/tx.amino.d.ts +3 -3
  82. package/types/codegen/cosmos/nft/v1beta1/tx.d.ts +0 -4
  83. package/types/codegen/cosmos/orm/v1/orm.d.ts +0 -66
  84. package/types/codegen/cosmos/orm/v1alpha1/schema.d.ts +2 -62
  85. package/types/codegen/cosmos/params/v1beta1/query.d.ts +0 -3
  86. package/types/codegen/cosmos/slashing/v1beta1/genesis.d.ts +0 -15
  87. package/types/codegen/cosmos/slashing/v1beta1/query.d.ts +0 -3
  88. package/types/codegen/cosmos/slashing/v1beta1/slashing.d.ts +1 -16
  89. package/types/codegen/cosmos/slashing/v1beta1/tx.amino.d.ts +3 -3
  90. package/types/codegen/cosmos/staking/v1beta1/authz.d.ts +2 -27
  91. package/types/codegen/cosmos/staking/v1beta1/genesis.d.ts +0 -15
  92. package/types/codegen/cosmos/staking/v1beta1/query.d.ts +0 -41
  93. package/types/codegen/cosmos/staking/v1beta1/staking.d.ts +2 -58
  94. package/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts +15 -15
  95. package/types/codegen/cosmos/staking/v1beta1/tx.d.ts +0 -6
  96. package/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts +2 -57
  97. package/types/codegen/cosmos/tx/v1beta1/service.d.ts +4 -58
  98. package/types/codegen/cosmos/tx/v1beta1/tx.d.ts +3 -152
  99. package/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +0 -14
  100. package/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts +6 -6
  101. package/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +0 -3
  102. package/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +1 -30
  103. package/types/codegen/cosmos/vesting/v1beta1/tx.amino.d.ts +9 -9
  104. package/types/codegen/cosmos/vesting/v1beta1/tx.d.ts +1 -1
  105. package/types/codegen/cosmos/vesting/v1beta1/vesting.d.ts +1 -1
  106. package/types/codegen/cosmos_proto/bundle.d.ts +12 -12
  107. package/types/codegen/cosmos_proto/cosmos.d.ts +2 -34
  108. package/types/codegen/google/api/http.d.ts +0 -55
  109. package/types/codegen/google/bundle.d.ts +284 -7810
  110. package/types/codegen/google/protobuf/any.d.ts +0 -30
  111. package/types/codegen/google/protobuf/descriptor.d.ts +12 -566
  112. package/types/codegen/google/protobuf/duration.d.ts +1 -14
  113. package/types/codegen/google/protobuf/timestamp.d.ts +1 -12
  114. package/types/codegen/helpers.d.ts +2 -2
  115. package/types/codegen/ibc/applications/transfer/v1/genesis.d.ts +20 -0
  116. package/types/codegen/ibc/applications/transfer/v1/query.d.ts +112 -0
  117. package/types/codegen/ibc/applications/transfer/v1/query.lcd.d.ts +11 -0
  118. package/types/codegen/ibc/applications/transfer/v1/query.rpc.Query.d.ts +24 -0
  119. package/types/codegen/ibc/applications/transfer/v1/transfer.d.ts +61 -0
  120. package/types/codegen/ibc/applications/transfer/v1/tx.amino.d.ts +25 -0
  121. package/types/codegen/ibc/applications/transfer/v1/tx.d.ts +61 -0
  122. package/types/codegen/ibc/applications/transfer/v1/tx.registry.d.ts +24 -0
  123. package/types/codegen/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +12 -0
  124. package/types/codegen/ibc/applications/transfer/v2/packet.d.ts +33 -0
  125. package/types/codegen/ibc/bundle.d.ts +4077 -0
  126. package/types/codegen/ibc/client.d.ts +560 -0
  127. package/types/codegen/ibc/core/channel/v1/channel.d.ts +243 -0
  128. package/types/codegen/ibc/core/channel/v1/genesis.d.ts +54 -0
  129. package/types/codegen/ibc/core/channel/v1/query.d.ts +655 -0
  130. package/types/codegen/ibc/core/channel/v1/query.lcd.d.ts +21 -0
  131. package/types/codegen/ibc/core/channel/v1/query.rpc.Query.d.ts +88 -0
  132. package/types/codegen/ibc/core/channel/v1/tx.amino.d.ts +209 -0
  133. package/types/codegen/ibc/core/channel/v1/tx.d.ts +376 -0
  134. package/types/codegen/ibc/core/channel/v1/tx.registry.d.ts +132 -0
  135. package/types/codegen/ibc/core/channel/v1/tx.rpc.msg.d.ts +42 -0
  136. package/types/codegen/ibc/core/client/v1/client.d.ts +195 -0
  137. package/types/codegen/ibc/core/client/v1/genesis.d.ts +75 -0
  138. package/types/codegen/ibc/core/client/v1/query.d.ts +352 -0
  139. package/types/codegen/ibc/core/client/v1/query.lcd.d.ts +16 -0
  140. package/types/codegen/ibc/core/client/v1/query.rpc.Query.d.ts +50 -0
  141. package/types/codegen/ibc/core/client/v1/tx.amino.d.ts +77 -0
  142. package/types/codegen/ibc/core/client/v1/tx.d.ts +166 -0
  143. package/types/codegen/ibc/core/client/v1/tx.registry.d.ts +60 -0
  144. package/types/codegen/ibc/core/client/v1/tx.rpc.msg.d.ts +21 -0
  145. package/types/codegen/ibc/core/commitment/v1/commitment.d.ts +89 -0
  146. package/types/codegen/ibc/core/connection/v1/connection.d.ts +203 -0
  147. package/types/codegen/ibc/core/connection/v1/genesis.d.ts +23 -0
  148. package/types/codegen/ibc/core/connection/v1/query.d.ts +244 -0
  149. package/types/codegen/ibc/core/connection/v1/query.lcd.d.ts +13 -0
  150. package/types/codegen/ibc/core/connection/v1/query.rpc.Query.d.ts +41 -0
  151. package/types/codegen/ibc/core/connection/v1/tx.amino.d.ts +103 -0
  152. package/types/codegen/ibc/core/connection/v1/tx.d.ts +208 -0
  153. package/types/codegen/ibc/core/connection/v1/tx.registry.d.ts +60 -0
  154. package/types/codegen/ibc/core/connection/v1/tx.rpc.msg.d.ts +24 -0
  155. package/types/codegen/ibc/core/port/v1/query.d.ts +46 -0
  156. package/types/codegen/ibc/core/port/v1/query.rpc.Query.d.ts +16 -0
  157. package/types/codegen/ibc/core/types/v1/genesis.d.ts +28 -0
  158. package/types/codegen/ibc/lcd.d.ts +75 -0
  159. package/types/codegen/ibc/lightclients/localhost/v1/localhost.d.ts +26 -0
  160. package/types/codegen/ibc/lightclients/solomachine/v1/solomachine.d.ts +390 -0
  161. package/types/codegen/ibc/lightclients/solomachine/v2/solomachine.d.ts +390 -0
  162. package/types/codegen/ibc/lightclients/tendermint/v1/tendermint.d.ts +184 -0
  163. package/types/codegen/ibc/rpc.query.d.ts +243 -0
  164. package/types/codegen/ibc/rpc.tx.d.ts +65 -0
  165. package/types/codegen/ics23/bundle.d.ts +545 -0
  166. package/types/codegen/index.d.ts +5 -2
  167. package/types/codegen/tendermint/abci/types.d.ts +8 -78
  168. package/types/codegen/tendermint/bundle.d.ts +567 -18175
  169. package/types/codegen/tendermint/crypto/proof.d.ts +1 -3
  170. package/types/codegen/tendermint/libs/bits/types.d.ts +1 -1
  171. package/types/codegen/tendermint/p2p/types.d.ts +1 -1
  172. package/types/codegen/tendermint/types/params.d.ts +0 -32
  173. package/types/codegen/tendermint/types/types.d.ts +5 -36
  174. package/types/codegen/tendermint/types/validator.d.ts +1 -1
  175. package/types/codegen/tendermint/version/types.d.ts +1 -1
@@ -18,17 +18,8 @@ export interface GenesisState {
18
18
  }
19
19
  /** GenesisState defines the slashing module's genesis state. */
20
20
  export interface GenesisStateSDKType {
21
- /** params defines all the paramaters of related to deposit. */
22
21
  params?: ParamsSDKType;
23
- /**
24
- * signing_infos represents a map between validator addresses and their
25
- * signing infos.
26
- */
27
22
  signing_infos: SigningInfoSDKType[];
28
- /**
29
- * missed_blocks represents a map between validator addresses and their
30
- * missed blocks.
31
- */
32
23
  missed_blocks: ValidatorMissedBlocksSDKType[];
33
24
  }
34
25
  /** SigningInfo stores validator signing info of corresponding address. */
@@ -40,9 +31,7 @@ export interface SigningInfo {
40
31
  }
41
32
  /** SigningInfo stores validator signing info of corresponding address. */
42
33
  export interface SigningInfoSDKType {
43
- /** address is the validator address. */
44
34
  address: string;
45
- /** validator_signing_info represents the signing info of this validator. */
46
35
  validator_signing_info?: ValidatorSigningInfoSDKType;
47
36
  }
48
37
  /**
@@ -60,9 +49,7 @@ export interface ValidatorMissedBlocks {
60
49
  * address.
61
50
  */
62
51
  export interface ValidatorMissedBlocksSDKType {
63
- /** address is the validator address. */
64
52
  address: string;
65
- /** missed_blocks is an array of missed blocks by the validator. */
66
53
  missed_blocks: MissedBlockSDKType[];
67
54
  }
68
55
  /** MissedBlock contains height and missed status as boolean. */
@@ -74,9 +61,7 @@ export interface MissedBlock {
74
61
  }
75
62
  /** MissedBlock contains height and missed status as boolean. */
76
63
  export interface MissedBlockSDKType {
77
- /** index is the height at which the block was missed. */
78
64
  index: Long;
79
- /** missed is the missed status. */
80
65
  missed: boolean;
81
66
  }
82
67
  export declare const GenesisState: {
@@ -29,7 +29,6 @@ export interface QuerySigningInfoRequest {
29
29
  * method
30
30
  */
31
31
  export interface QuerySigningInfoRequestSDKType {
32
- /** cons_address is the address to query signing info of */
33
32
  cons_address: string;
34
33
  }
35
34
  /**
@@ -45,7 +44,6 @@ export interface QuerySigningInfoResponse {
45
44
  * method
46
45
  */
47
46
  export interface QuerySigningInfoResponseSDKType {
48
- /** val_signing_info is the signing info of requested val cons address */
49
47
  val_signing_info?: ValidatorSigningInfoSDKType;
50
48
  }
51
49
  /**
@@ -76,7 +74,6 @@ export interface QuerySigningInfosResponse {
76
74
  * method
77
75
  */
78
76
  export interface QuerySigningInfosResponseSDKType {
79
- /** info is the signing info of all validators */
80
77
  info: ValidatorSigningInfoSDKType[];
81
78
  pagination?: PageResponseSDKType;
82
79
  }
@@ -1,6 +1,6 @@
1
1
  import { Duration, DurationSDKType } from "../../../google/protobuf/duration";
2
- import * as _m0 from "protobufjs/minimal";
3
2
  import { Long, DeepPartial } from "../../../helpers";
3
+ import * as _m0 from "protobufjs/minimal";
4
4
  /**
5
5
  * ValidatorSigningInfo defines a validator's signing info for monitoring their
6
6
  * liveness activity.
@@ -34,25 +34,10 @@ export interface ValidatorSigningInfo {
34
34
  */
35
35
  export interface ValidatorSigningInfoSDKType {
36
36
  address: string;
37
- /** Height at which validator was first a candidate OR was unjailed */
38
37
  start_height: Long;
39
- /**
40
- * Index which is incremented each time the validator was a bonded
41
- * in a block and may have signed a precommit or not. This in conjunction with the
42
- * `SignedBlocksWindow` param determines the index in the `MissedBlocksBitArray`.
43
- */
44
38
  index_offset: Long;
45
- /** Timestamp until which the validator is jailed due to liveness downtime. */
46
39
  jailed_until?: Date;
47
- /**
48
- * Whether or not a validator has been tombstoned (killed out of validator set). It is set
49
- * once the validator commits an equivocation or for any other configured misbehiavor.
50
- */
51
40
  tombstoned: boolean;
52
- /**
53
- * A counter kept to avoid unnecessary array reads.
54
- * Note that `Sum(MissedBlocksBitArray)` always equals `MissedBlocksCounter`.
55
- */
56
41
  missed_blocks_counter: Long;
57
42
  }
58
43
  /** Params represents the parameters used for by the slashing module. */
@@ -1,6 +1,6 @@
1
1
  import { AminoMsg } from "@cosmjs/amino";
2
2
  import { MsgUnjail } from "./tx";
3
- export interface AminoMsgUnjail extends AminoMsg {
3
+ export interface MsgUnjailAminoType extends AminoMsg {
4
4
  type: "cosmos-sdk/MsgUnjail";
5
5
  value: {
6
6
  validator_addr: string;
@@ -9,7 +9,7 @@ export interface AminoMsgUnjail extends AminoMsg {
9
9
  export declare const AminoConverter: {
10
10
  "/cosmos.slashing.v1beta1.MsgUnjail": {
11
11
  aminoType: string;
12
- toAmino: ({ validatorAddr }: MsgUnjail) => AminoMsgUnjail["value"];
13
- fromAmino: ({ validator_addr }: AminoMsgUnjail["value"]) => MsgUnjail;
12
+ toAmino: ({ validatorAddr }: MsgUnjail) => MsgUnjailAminoType["value"];
13
+ fromAmino: ({ validator_addr }: MsgUnjailAminoType["value"]) => MsgUnjail;
14
14
  };
15
15
  };
@@ -17,22 +17,7 @@ export declare enum AuthorizationType {
17
17
  AUTHORIZATION_TYPE_REDELEGATE = 3,
18
18
  UNRECOGNIZED = -1
19
19
  }
20
- /**
21
- * AuthorizationType defines the type of staking module authorization type
22
- *
23
- * Since: cosmos-sdk 0.43
24
- */
25
- export declare enum AuthorizationTypeSDKType {
26
- /** AUTHORIZATION_TYPE_UNSPECIFIED - AUTHORIZATION_TYPE_UNSPECIFIED specifies an unknown authorization type */
27
- AUTHORIZATION_TYPE_UNSPECIFIED = 0,
28
- /** AUTHORIZATION_TYPE_DELEGATE - AUTHORIZATION_TYPE_DELEGATE defines an authorization type for Msg/Delegate */
29
- AUTHORIZATION_TYPE_DELEGATE = 1,
30
- /** AUTHORIZATION_TYPE_UNDELEGATE - AUTHORIZATION_TYPE_UNDELEGATE defines an authorization type for Msg/Undelegate */
31
- AUTHORIZATION_TYPE_UNDELEGATE = 2,
32
- /** AUTHORIZATION_TYPE_REDELEGATE - AUTHORIZATION_TYPE_REDELEGATE defines an authorization type for Msg/BeginRedelegate */
33
- AUTHORIZATION_TYPE_REDELEGATE = 3,
34
- UNRECOGNIZED = -1
35
- }
20
+ export declare const AuthorizationTypeSDKType: typeof AuthorizationType;
36
21
  export declare function authorizationTypeFromJSON(object: any): AuthorizationType;
37
22
  export declare function authorizationTypeToJSON(object: AuthorizationType): string;
38
23
  /**
@@ -62,20 +47,10 @@ export interface StakeAuthorization {
62
47
  * Since: cosmos-sdk 0.43
63
48
  */
64
49
  export interface StakeAuthorizationSDKType {
65
- /**
66
- * max_tokens specifies the maximum amount of tokens can be delegate to a validator. If it is
67
- * empty, there is no spend limit and any amount of coins can be delegated.
68
- */
69
50
  max_tokens?: CoinSDKType;
70
- /**
71
- * allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter's
72
- * account.
73
- */
74
51
  allow_list?: StakeAuthorization_ValidatorsSDKType;
75
- /** deny_list specifies list of validator addresses to whom grantee can not delegate tokens. */
76
52
  deny_list?: StakeAuthorization_ValidatorsSDKType;
77
- /** authorization_type defines one of AuthorizationType. */
78
- authorization_type: AuthorizationTypeSDKType;
53
+ authorization_type: AuthorizationType;
79
54
  }
80
55
  /** Validators defines list of validator addresses. */
81
56
  export interface StakeAuthorization_Validators {
@@ -27,25 +27,12 @@ export interface GenesisState {
27
27
  }
28
28
  /** GenesisState defines the staking module's genesis state. */
29
29
  export interface GenesisStateSDKType {
30
- /** params defines all the paramaters of related to deposit. */
31
30
  params?: ParamsSDKType;
32
- /**
33
- * last_total_power tracks the total amounts of bonded tokens recorded during
34
- * the previous end block.
35
- */
36
31
  last_total_power: Uint8Array;
37
- /**
38
- * last_validator_powers is a special index that provides a historical list
39
- * of the last-block's bonded validators.
40
- */
41
32
  last_validator_powers: LastValidatorPowerSDKType[];
42
- /** delegations defines the validator set at genesis. */
43
33
  validators: ValidatorSDKType[];
44
- /** delegations defines the delegations active at genesis. */
45
34
  delegations: DelegationSDKType[];
46
- /** unbonding_delegations defines the unbonding delegations active at genesis. */
47
35
  unbonding_delegations: UnbondingDelegationSDKType[];
48
- /** redelegations defines the redelegations active at genesis. */
49
36
  redelegations: RedelegationSDKType[];
50
37
  exported: boolean;
51
38
  }
@@ -58,9 +45,7 @@ export interface LastValidatorPower {
58
45
  }
59
46
  /** LastValidatorPower required for validator set update logic. */
60
47
  export interface LastValidatorPowerSDKType {
61
- /** address is the address of the validator. */
62
48
  address: string;
63
- /** power defines the power of the validator. */
64
49
  power: Long;
65
50
  }
66
51
  export declare const GenesisState: {
@@ -11,9 +11,7 @@ export interface QueryValidatorsRequest {
11
11
  }
12
12
  /** QueryValidatorsRequest is request type for Query/Validators RPC method. */
13
13
  export interface QueryValidatorsRequestSDKType {
14
- /** status enables to query for validators matching a given status. */
15
14
  status: string;
16
- /** pagination defines an optional pagination for the request. */
17
15
  pagination?: PageRequestSDKType;
18
16
  }
19
17
  /** QueryValidatorsResponse is response type for the Query/Validators RPC method */
@@ -25,9 +23,7 @@ export interface QueryValidatorsResponse {
25
23
  }
26
24
  /** QueryValidatorsResponse is response type for the Query/Validators RPC method */
27
25
  export interface QueryValidatorsResponseSDKType {
28
- /** validators contains all the queried validators. */
29
26
  validators: ValidatorSDKType[];
30
- /** pagination defines the pagination in the response. */
31
27
  pagination?: PageResponseSDKType;
32
28
  }
33
29
  /** QueryValidatorRequest is response type for the Query/Validator RPC method */
@@ -37,7 +33,6 @@ export interface QueryValidatorRequest {
37
33
  }
38
34
  /** QueryValidatorRequest is response type for the Query/Validator RPC method */
39
35
  export interface QueryValidatorRequestSDKType {
40
- /** validator_addr defines the validator address to query for. */
41
36
  validator_addr: string;
42
37
  }
43
38
  /** QueryValidatorResponse is response type for the Query/Validator RPC method */
@@ -47,7 +42,6 @@ export interface QueryValidatorResponse {
47
42
  }
48
43
  /** QueryValidatorResponse is response type for the Query/Validator RPC method */
49
44
  export interface QueryValidatorResponseSDKType {
50
- /** validator defines the the validator info. */
51
45
  validator?: ValidatorSDKType;
52
46
  }
53
47
  /**
@@ -65,9 +59,7 @@ export interface QueryValidatorDelegationsRequest {
65
59
  * Query/ValidatorDelegations RPC method
66
60
  */
67
61
  export interface QueryValidatorDelegationsRequestSDKType {
68
- /** validator_addr defines the validator address to query for. */
69
62
  validator_addr: string;
70
- /** pagination defines an optional pagination for the request. */
71
63
  pagination?: PageRequestSDKType;
72
64
  }
73
65
  /**
@@ -85,7 +77,6 @@ export interface QueryValidatorDelegationsResponse {
85
77
  */
86
78
  export interface QueryValidatorDelegationsResponseSDKType {
87
79
  delegation_responses: DelegationResponseSDKType[];
88
- /** pagination defines the pagination in the response. */
89
80
  pagination?: PageResponseSDKType;
90
81
  }
91
82
  /**
@@ -103,9 +94,7 @@ export interface QueryValidatorUnbondingDelegationsRequest {
103
94
  * Query/ValidatorUnbondingDelegations RPC method
104
95
  */
105
96
  export interface QueryValidatorUnbondingDelegationsRequestSDKType {
106
- /** validator_addr defines the validator address to query for. */
107
97
  validator_addr: string;
108
- /** pagination defines an optional pagination for the request. */
109
98
  pagination?: PageRequestSDKType;
110
99
  }
111
100
  /**
@@ -123,7 +112,6 @@ export interface QueryValidatorUnbondingDelegationsResponse {
123
112
  */
124
113
  export interface QueryValidatorUnbondingDelegationsResponseSDKType {
125
114
  unbonding_responses: UnbondingDelegationSDKType[];
126
- /** pagination defines the pagination in the response. */
127
115
  pagination?: PageResponseSDKType;
128
116
  }
129
117
  /** QueryDelegationRequest is request type for the Query/Delegation RPC method. */
@@ -135,9 +123,7 @@ export interface QueryDelegationRequest {
135
123
  }
136
124
  /** QueryDelegationRequest is request type for the Query/Delegation RPC method. */
137
125
  export interface QueryDelegationRequestSDKType {
138
- /** delegator_addr defines the delegator address to query for. */
139
126
  delegator_addr: string;
140
- /** validator_addr defines the validator address to query for. */
141
127
  validator_addr: string;
142
128
  }
143
129
  /** QueryDelegationResponse is response type for the Query/Delegation RPC method. */
@@ -147,7 +133,6 @@ export interface QueryDelegationResponse {
147
133
  }
148
134
  /** QueryDelegationResponse is response type for the Query/Delegation RPC method. */
149
135
  export interface QueryDelegationResponseSDKType {
150
- /** delegation_responses defines the delegation info of a delegation. */
151
136
  delegation_response?: DelegationResponseSDKType;
152
137
  }
153
138
  /**
@@ -165,9 +150,7 @@ export interface QueryUnbondingDelegationRequest {
165
150
  * Query/UnbondingDelegation RPC method.
166
151
  */
167
152
  export interface QueryUnbondingDelegationRequestSDKType {
168
- /** delegator_addr defines the delegator address to query for. */
169
153
  delegator_addr: string;
170
- /** validator_addr defines the validator address to query for. */
171
154
  validator_addr: string;
172
155
  }
173
156
  /**
@@ -183,7 +166,6 @@ export interface QueryUnbondingDelegationResponse {
183
166
  * RPC method.
184
167
  */
185
168
  export interface QueryUnbondingDelegationResponseSDKType {
186
- /** unbond defines the unbonding information of a delegation. */
187
169
  unbond?: UnbondingDelegationSDKType;
188
170
  }
189
171
  /**
@@ -201,9 +183,7 @@ export interface QueryDelegatorDelegationsRequest {
201
183
  * Query/DelegatorDelegations RPC method.
202
184
  */
203
185
  export interface QueryDelegatorDelegationsRequestSDKType {
204
- /** delegator_addr defines the delegator address to query for. */
205
186
  delegator_addr: string;
206
- /** pagination defines an optional pagination for the request. */
207
187
  pagination?: PageRequestSDKType;
208
188
  }
209
189
  /**
@@ -221,9 +201,7 @@ export interface QueryDelegatorDelegationsResponse {
221
201
  * Query/DelegatorDelegations RPC method.
222
202
  */
223
203
  export interface QueryDelegatorDelegationsResponseSDKType {
224
- /** delegation_responses defines all the delegations' info of a delegator. */
225
204
  delegation_responses: DelegationResponseSDKType[];
226
- /** pagination defines the pagination in the response. */
227
205
  pagination?: PageResponseSDKType;
228
206
  }
229
207
  /**
@@ -241,9 +219,7 @@ export interface QueryDelegatorUnbondingDelegationsRequest {
241
219
  * Query/DelegatorUnbondingDelegations RPC method.
242
220
  */
243
221
  export interface QueryDelegatorUnbondingDelegationsRequestSDKType {
244
- /** delegator_addr defines the delegator address to query for. */
245
222
  delegator_addr: string;
246
- /** pagination defines an optional pagination for the request. */
247
223
  pagination?: PageRequestSDKType;
248
224
  }
249
225
  /**
@@ -261,7 +237,6 @@ export interface QueryDelegatorUnbondingDelegationsResponse {
261
237
  */
262
238
  export interface QueryDelegatorUnbondingDelegationsResponseSDKType {
263
239
  unbonding_responses: UnbondingDelegationSDKType[];
264
- /** pagination defines the pagination in the response. */
265
240
  pagination?: PageResponseSDKType;
266
241
  }
267
242
  /**
@@ -283,13 +258,9 @@ export interface QueryRedelegationsRequest {
283
258
  * method.
284
259
  */
285
260
  export interface QueryRedelegationsRequestSDKType {
286
- /** delegator_addr defines the delegator address to query for. */
287
261
  delegator_addr: string;
288
- /** src_validator_addr defines the validator address to redelegate from. */
289
262
  src_validator_addr: string;
290
- /** dst_validator_addr defines the validator address to redelegate to. */
291
263
  dst_validator_addr: string;
292
- /** pagination defines an optional pagination for the request. */
293
264
  pagination?: PageRequestSDKType;
294
265
  }
295
266
  /**
@@ -307,7 +278,6 @@ export interface QueryRedelegationsResponse {
307
278
  */
308
279
  export interface QueryRedelegationsResponseSDKType {
309
280
  redelegation_responses: RedelegationResponseSDKType[];
310
- /** pagination defines the pagination in the response. */
311
281
  pagination?: PageResponseSDKType;
312
282
  }
313
283
  /**
@@ -325,9 +295,7 @@ export interface QueryDelegatorValidatorsRequest {
325
295
  * Query/DelegatorValidators RPC method.
326
296
  */
327
297
  export interface QueryDelegatorValidatorsRequestSDKType {
328
- /** delegator_addr defines the delegator address to query for. */
329
298
  delegator_addr: string;
330
- /** pagination defines an optional pagination for the request. */
331
299
  pagination?: PageRequestSDKType;
332
300
  }
333
301
  /**
@@ -345,9 +313,7 @@ export interface QueryDelegatorValidatorsResponse {
345
313
  * Query/DelegatorValidators RPC method.
346
314
  */
347
315
  export interface QueryDelegatorValidatorsResponseSDKType {
348
- /** validators defines the the validators' info of a delegator. */
349
316
  validators: ValidatorSDKType[];
350
- /** pagination defines the pagination in the response. */
351
317
  pagination?: PageResponseSDKType;
352
318
  }
353
319
  /**
@@ -365,9 +331,7 @@ export interface QueryDelegatorValidatorRequest {
365
331
  * Query/DelegatorValidator RPC method.
366
332
  */
367
333
  export interface QueryDelegatorValidatorRequestSDKType {
368
- /** delegator_addr defines the delegator address to query for. */
369
334
  delegator_addr: string;
370
- /** validator_addr defines the validator address to query for. */
371
335
  validator_addr: string;
372
336
  }
373
337
  /**
@@ -383,7 +347,6 @@ export interface QueryDelegatorValidatorResponse {
383
347
  * Query/DelegatorValidator RPC method.
384
348
  */
385
349
  export interface QueryDelegatorValidatorResponseSDKType {
386
- /** validator defines the the validator info. */
387
350
  validator?: ValidatorSDKType;
388
351
  }
389
352
  /**
@@ -399,7 +362,6 @@ export interface QueryHistoricalInfoRequest {
399
362
  * method.
400
363
  */
401
364
  export interface QueryHistoricalInfoRequestSDKType {
402
- /** height defines at which height to query the historical info. */
403
365
  height: Long;
404
366
  }
405
367
  /**
@@ -415,7 +377,6 @@ export interface QueryHistoricalInfoResponse {
415
377
  * method.
416
378
  */
417
379
  export interface QueryHistoricalInfoResponseSDKType {
418
- /** hist defines the historical info at the given height. */
419
380
  hist?: HistoricalInfoSDKType;
420
381
  }
421
382
  /** QueryPoolRequest is request type for the Query/Pool RPC method. */
@@ -431,7 +392,6 @@ export interface QueryPoolResponse {
431
392
  }
432
393
  /** QueryPoolResponse is response type for the Query/Pool RPC method. */
433
394
  export interface QueryPoolResponseSDKType {
434
- /** pool defines the pool info. */
435
395
  pool?: PoolSDKType;
436
396
  }
437
397
  /** QueryParamsRequest is request type for the Query/Params RPC method. */
@@ -447,7 +407,6 @@ export interface QueryParamsResponse {
447
407
  }
448
408
  /** QueryParamsResponse is response type for the Query/Params RPC method. */
449
409
  export interface QueryParamsResponseSDKType {
450
- /** params holds all the parameters of this module. */
451
410
  params?: ParamsSDKType;
452
411
  }
453
412
  export declare const QueryValidatorsRequest: {
@@ -16,18 +16,7 @@ export declare enum BondStatus {
16
16
  BOND_STATUS_BONDED = 3,
17
17
  UNRECOGNIZED = -1
18
18
  }
19
- /** BondStatus is the status of a validator. */
20
- export declare enum BondStatusSDKType {
21
- /** BOND_STATUS_UNSPECIFIED - UNSPECIFIED defines an invalid validator status. */
22
- BOND_STATUS_UNSPECIFIED = 0,
23
- /** BOND_STATUS_UNBONDED - UNBONDED defines a validator that is not bonded. */
24
- BOND_STATUS_UNBONDED = 1,
25
- /** BOND_STATUS_UNBONDING - UNBONDING defines a validator that is unbonding. */
26
- BOND_STATUS_UNBONDING = 2,
27
- /** BOND_STATUS_BONDED - BONDED defines a validator that is bonded. */
28
- BOND_STATUS_BONDED = 3,
29
- UNRECOGNIZED = -1
30
- }
19
+ export declare const BondStatusSDKType: typeof BondStatus;
31
20
  export declare function bondStatusFromJSON(object: any): BondStatus;
32
21
  export declare function bondStatusToJSON(object: BondStatus): string;
33
22
  /**
@@ -67,11 +56,8 @@ export interface CommissionRates {
67
56
  * a validator.
68
57
  */
69
58
  export interface CommissionRatesSDKType {
70
- /** rate is the commission rate charged to delegators, as a fraction. */
71
59
  rate: string;
72
- /** max_rate defines the maximum commission rate which validator can ever charge, as a fraction. */
73
60
  max_rate: string;
74
- /** max_change_rate defines the maximum daily increase of the validator commission, as a fraction. */
75
61
  max_change_rate: string;
76
62
  }
77
63
  /** Commission defines commission parameters for a given validator. */
@@ -83,9 +69,7 @@ export interface Commission {
83
69
  }
84
70
  /** Commission defines commission parameters for a given validator. */
85
71
  export interface CommissionSDKType {
86
- /** commission_rates defines the initial commission rates to be used for creating a validator. */
87
72
  commission_rates?: CommissionRatesSDKType;
88
- /** update_time is the last time the commission rate was changed. */
89
73
  update_time?: Date;
90
74
  }
91
75
  /** Description defines a validator description. */
@@ -103,15 +87,10 @@ export interface Description {
103
87
  }
104
88
  /** Description defines a validator description. */
105
89
  export interface DescriptionSDKType {
106
- /** moniker defines a human-readable name for the validator. */
107
90
  moniker: string;
108
- /** identity defines an optional identity signature (ex. UPort or Keybase). */
109
91
  identity: string;
110
- /** website defines an optional website link. */
111
92
  website: string;
112
- /** security_contact defines an optional email for security contact. */
113
93
  security_contact: string;
114
- /** details define other optional details. */
115
94
  details: string;
116
95
  }
117
96
  /**
@@ -159,27 +138,16 @@ export interface Validator {
159
138
  * multiplied by exchange rate.
160
139
  */
161
140
  export interface ValidatorSDKType {
162
- /** operator_address defines the address of the validator's operator; bech encoded in JSON. */
163
141
  operator_address: string;
164
- /** consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. */
165
142
  consensus_pubkey?: AnySDKType;
166
- /** jailed defined whether the validator has been jailed from bonded status or not. */
167
143
  jailed: boolean;
168
- /** status is the validator status (bonded/unbonding/unbonded). */
169
- status: BondStatusSDKType;
170
- /** tokens define the delegated tokens (incl. self-delegation). */
144
+ status: BondStatus;
171
145
  tokens: string;
172
- /** delegator_shares defines total shares issued to a validator's delegators. */
173
146
  delegator_shares: string;
174
- /** description defines the description terms for the validator. */
175
147
  description?: DescriptionSDKType;
176
- /** unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. */
177
148
  unbonding_height: Long;
178
- /** unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. */
179
149
  unbonding_time?: Date;
180
- /** commission defines the commission parameters. */
181
150
  commission?: CommissionSDKType;
182
- /** min_self_delegation is the validator's self declared minimum self delegation. */
183
151
  min_self_delegation: string;
184
152
  }
185
153
  /** ValAddresses defines a repeated set of validator addresses. */
@@ -265,11 +233,8 @@ export interface Delegation {
265
233
  * validator.
266
234
  */
267
235
  export interface DelegationSDKType {
268
- /** delegator_address is the bech32-encoded address of the delegator. */
269
236
  delegator_address: string;
270
- /** validator_address is the bech32-encoded address of the validator. */
271
237
  validator_address: string;
272
- /** shares define the delegation shares received. */
273
238
  shares: string;
274
239
  }
275
240
  /**
@@ -289,11 +254,8 @@ export interface UnbondingDelegation {
289
254
  * for a single validator in an time-ordered list.
290
255
  */
291
256
  export interface UnbondingDelegationSDKType {
292
- /** delegator_address is the bech32-encoded address of the delegator. */
293
257
  delegator_address: string;
294
- /** validator_address is the bech32-encoded address of the validator. */
295
258
  validator_address: string;
296
- /** entries are the unbonding delegation entries. */
297
259
  entries: UnbondingDelegationEntrySDKType[];
298
260
  }
299
261
  /** UnbondingDelegationEntry defines an unbonding object with relevant metadata. */
@@ -309,13 +271,9 @@ export interface UnbondingDelegationEntry {
309
271
  }
310
272
  /** UnbondingDelegationEntry defines an unbonding object with relevant metadata. */
311
273
  export interface UnbondingDelegationEntrySDKType {
312
- /** creation_height is the height which the unbonding took place. */
313
274
  creation_height: Long;
314
- /** completion_time is the unix time for unbonding completion. */
315
275
  completion_time?: Date;
316
- /** initial_balance defines the tokens initially scheduled to receive at completion. */
317
276
  initial_balance: string;
318
- /** balance defines the tokens to receive at completion. */
319
277
  balance: string;
320
278
  }
321
279
  /** RedelegationEntry defines a redelegation object with relevant metadata. */
@@ -331,13 +289,9 @@ export interface RedelegationEntry {
331
289
  }
332
290
  /** RedelegationEntry defines a redelegation object with relevant metadata. */
333
291
  export interface RedelegationEntrySDKType {
334
- /** creation_height defines the height which the redelegation took place. */
335
292
  creation_height: Long;
336
- /** completion_time defines the unix time for redelegation completion. */
337
293
  completion_time?: Date;
338
- /** initial_balance defines the initial balance when redelegation started. */
339
294
  initial_balance: string;
340
- /** shares_dst is the amount of destination-validator shares created by redelegation. */
341
295
  shares_dst: string;
342
296
  }
343
297
  /**
@@ -359,13 +313,9 @@ export interface Redelegation {
359
313
  * from a particular source validator to a particular destination validator.
360
314
  */
361
315
  export interface RedelegationSDKType {
362
- /** delegator_address is the bech32-encoded address of the delegator. */
363
316
  delegator_address: string;
364
- /** validator_src_address is the validator redelegation source operator address. */
365
317
  validator_src_address: string;
366
- /** validator_dst_address is the validator redelegation destination operator address. */
367
318
  validator_dst_address: string;
368
- /** entries are the redelegation entries. */
369
319
  entries: RedelegationEntrySDKType[];
370
320
  }
371
321
  /** Params defines the parameters for the staking module. */
@@ -385,17 +335,11 @@ export interface Params {
385
335
  }
386
336
  /** Params defines the parameters for the staking module. */
387
337
  export interface ParamsSDKType {
388
- /** unbonding_time is the time duration of unbonding. */
389
338
  unbonding_time?: DurationSDKType;
390
- /** max_validators is the maximum number of validators. */
391
339
  max_validators: number;
392
- /** max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio). */
393
340
  max_entries: number;
394
- /** historical_entries is the number of historical entries to persist. */
395
341
  historical_entries: number;
396
- /** bond_denom defines the bondable coin denomination. */
397
342
  bond_denom: string;
398
- /** min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators */
399
343
  min_commission_rate: string;
400
344
  }
401
345
  /**