@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
@@ -1,6 +1,6 @@
1
1
  import { AminoMsg } from "@cosmjs/amino";
2
2
  import { MsgCreateValidator, MsgEditValidator, MsgDelegate, MsgBeginRedelegate, MsgUndelegate } from "./tx";
3
- export interface AminoMsgCreateValidator extends AminoMsg {
3
+ export interface MsgCreateValidatorAminoType extends AminoMsg {
4
4
  type: "cosmos-sdk/MsgCreateValidator";
5
5
  value: {
6
6
  description: {
@@ -28,7 +28,7 @@ export interface AminoMsgCreateValidator extends AminoMsg {
28
28
  };
29
29
  };
30
30
  }
31
- export interface AminoMsgEditValidator extends AminoMsg {
31
+ export interface MsgEditValidatorAminoType extends AminoMsg {
32
32
  type: "cosmos-sdk/MsgEditValidator";
33
33
  value: {
34
34
  description: {
@@ -43,7 +43,7 @@ export interface AminoMsgEditValidator extends AminoMsg {
43
43
  min_self_delegation: string;
44
44
  };
45
45
  }
46
- export interface AminoMsgDelegate extends AminoMsg {
46
+ export interface MsgDelegateAminoType extends AminoMsg {
47
47
  type: "cosmos-sdk/MsgDelegate";
48
48
  value: {
49
49
  delegator_address: string;
@@ -54,7 +54,7 @@ export interface AminoMsgDelegate extends AminoMsg {
54
54
  };
55
55
  };
56
56
  }
57
- export interface AminoMsgBeginRedelegate extends AminoMsg {
57
+ export interface MsgBeginRedelegateAminoType extends AminoMsg {
58
58
  type: "cosmos-sdk/MsgBeginRedelegate";
59
59
  value: {
60
60
  delegator_address: string;
@@ -66,7 +66,7 @@ export interface AminoMsgBeginRedelegate extends AminoMsg {
66
66
  };
67
67
  };
68
68
  }
69
- export interface AminoMsgUndelegate extends AminoMsg {
69
+ export interface MsgUndelegateAminoType extends AminoMsg {
70
70
  type: "cosmos-sdk/MsgUndelegate";
71
71
  value: {
72
72
  delegator_address: string;
@@ -80,27 +80,27 @@ export interface AminoMsgUndelegate extends AminoMsg {
80
80
  export declare const AminoConverter: {
81
81
  "/cosmos.staking.v1beta1.MsgCreateValidator": {
82
82
  aminoType: string;
83
- toAmino: ({ description, commission, minSelfDelegation, delegatorAddress, validatorAddress, pubkey, value }: MsgCreateValidator) => AminoMsgCreateValidator["value"];
84
- fromAmino: ({ description, commission, min_self_delegation, delegator_address, validator_address, pubkey, value }: AminoMsgCreateValidator["value"]) => MsgCreateValidator;
83
+ toAmino: ({ description, commission, minSelfDelegation, delegatorAddress, validatorAddress, pubkey, value }: MsgCreateValidator) => MsgCreateValidatorAminoType["value"];
84
+ fromAmino: ({ description, commission, min_self_delegation, delegator_address, validator_address, pubkey, value }: MsgCreateValidatorAminoType["value"]) => MsgCreateValidator;
85
85
  };
86
86
  "/cosmos.staking.v1beta1.MsgEditValidator": {
87
87
  aminoType: string;
88
- toAmino: ({ description, validatorAddress, commissionRate, minSelfDelegation }: MsgEditValidator) => AminoMsgEditValidator["value"];
89
- fromAmino: ({ description, validator_address, commission_rate, min_self_delegation }: AminoMsgEditValidator["value"]) => MsgEditValidator;
88
+ toAmino: ({ description, validatorAddress, commissionRate, minSelfDelegation }: MsgEditValidator) => MsgEditValidatorAminoType["value"];
89
+ fromAmino: ({ description, validator_address, commission_rate, min_self_delegation }: MsgEditValidatorAminoType["value"]) => MsgEditValidator;
90
90
  };
91
91
  "/cosmos.staking.v1beta1.MsgDelegate": {
92
92
  aminoType: string;
93
- toAmino: ({ delegatorAddress, validatorAddress, amount }: MsgDelegate) => AminoMsgDelegate["value"];
94
- fromAmino: ({ delegator_address, validator_address, amount }: AminoMsgDelegate["value"]) => MsgDelegate;
93
+ toAmino: ({ delegatorAddress, validatorAddress, amount }: MsgDelegate) => MsgDelegateAminoType["value"];
94
+ fromAmino: ({ delegator_address, validator_address, amount }: MsgDelegateAminoType["value"]) => MsgDelegate;
95
95
  };
96
96
  "/cosmos.staking.v1beta1.MsgBeginRedelegate": {
97
97
  aminoType: string;
98
- toAmino: ({ delegatorAddress, validatorSrcAddress, validatorDstAddress, amount }: MsgBeginRedelegate) => AminoMsgBeginRedelegate["value"];
99
- fromAmino: ({ delegator_address, validator_src_address, validator_dst_address, amount }: AminoMsgBeginRedelegate["value"]) => MsgBeginRedelegate;
98
+ toAmino: ({ delegatorAddress, validatorSrcAddress, validatorDstAddress, amount }: MsgBeginRedelegate) => MsgBeginRedelegateAminoType["value"];
99
+ fromAmino: ({ delegator_address, validator_src_address, validator_dst_address, amount }: MsgBeginRedelegateAminoType["value"]) => MsgBeginRedelegate;
100
100
  };
101
101
  "/cosmos.staking.v1beta1.MsgUndelegate": {
102
102
  aminoType: string;
103
- toAmino: ({ delegatorAddress, validatorAddress, amount }: MsgUndelegate) => AminoMsgUndelegate["value"];
104
- fromAmino: ({ delegator_address, validator_address, amount }: AminoMsgUndelegate["value"]) => MsgUndelegate;
103
+ toAmino: ({ delegatorAddress, validatorAddress, amount }: MsgUndelegate) => MsgUndelegateAminoType["value"];
104
+ fromAmino: ({ delegator_address, validator_address, amount }: MsgUndelegateAminoType["value"]) => MsgUndelegate;
105
105
  };
106
106
  };
@@ -46,12 +46,6 @@ export interface MsgEditValidator {
46
46
  export interface MsgEditValidatorSDKType {
47
47
  description?: DescriptionSDKType;
48
48
  validator_address: string;
49
- /**
50
- * We pass a reference to the new commission rate and min self delegation as
51
- * it's not mandatory to update. If not updated, the deserialized rate will be
52
- * zero with no way to distinguish if an update was intended.
53
- * REF: #2373
54
- */
55
49
  commission_rate: string;
56
50
  min_self_delegation: string;
57
51
  }
@@ -45,49 +45,7 @@ export declare enum SignMode {
45
45
  SIGN_MODE_LEGACY_AMINO_JSON = 127,
46
46
  UNRECOGNIZED = -1
47
47
  }
48
- /**
49
- * SignMode represents a signing mode with its own security guarantees.
50
- *
51
- * This enum should be considered a registry of all known sign modes
52
- * in the Cosmos ecosystem. Apps are not expected to support all known
53
- * sign modes. Apps that would like to support custom sign modes are
54
- * encouraged to open a small PR against this file to add a new case
55
- * to this SignMode enum describing their sign mode so that different
56
- * apps have a consistent version of this enum.
57
- */
58
- export declare enum SignModeSDKType {
59
- /**
60
- * SIGN_MODE_UNSPECIFIED - SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be
61
- * rejected.
62
- */
63
- SIGN_MODE_UNSPECIFIED = 0,
64
- /**
65
- * SIGN_MODE_DIRECT - SIGN_MODE_DIRECT specifies a signing mode which uses SignDoc and is
66
- * verified with raw bytes from Tx.
67
- */
68
- SIGN_MODE_DIRECT = 1,
69
- /**
70
- * SIGN_MODE_TEXTUAL - SIGN_MODE_TEXTUAL is a future signing mode that will verify some
71
- * human-readable textual representation on top of the binary representation
72
- * from SIGN_MODE_DIRECT. It is currently not supported.
73
- */
74
- SIGN_MODE_TEXTUAL = 2,
75
- /**
76
- * SIGN_MODE_DIRECT_AUX - SIGN_MODE_DIRECT_AUX specifies a signing mode which uses
77
- * SignDocDirectAux. As opposed to SIGN_MODE_DIRECT, this sign mode does not
78
- * require signers signing over other signers' `signer_info`. It also allows
79
- * for adding Tips in transactions.
80
- *
81
- * Since: cosmos-sdk 0.46
82
- */
83
- SIGN_MODE_DIRECT_AUX = 3,
84
- /**
85
- * SIGN_MODE_LEGACY_AMINO_JSON - SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses
86
- * Amino JSON and will be removed in the future.
87
- */
88
- SIGN_MODE_LEGACY_AMINO_JSON = 127,
89
- UNRECOGNIZED = -1
90
- }
48
+ export declare const SignModeSDKType: typeof SignMode;
91
49
  export declare function signModeFromJSON(object: any): SignMode;
92
50
  export declare function signModeToJSON(object: SignMode): string;
93
51
  /** SignatureDescriptors wraps multiple SignatureDescriptor's. */
@@ -97,7 +55,6 @@ export interface SignatureDescriptors {
97
55
  }
98
56
  /** SignatureDescriptors wraps multiple SignatureDescriptor's. */
99
57
  export interface SignatureDescriptorsSDKType {
100
- /** signatures are the signature descriptors */
101
58
  signatures: SignatureDescriptorSDKType[];
102
59
  }
103
60
  /**
@@ -124,14 +81,8 @@ export interface SignatureDescriptor {
124
81
  * clients.
125
82
  */
126
83
  export interface SignatureDescriptorSDKType {
127
- /** public_key is the public key of the signer */
128
84
  public_key?: AnySDKType;
129
85
  data?: SignatureDescriptor_DataSDKType;
130
- /**
131
- * sequence is the sequence of the account, which describes the
132
- * number of committed transactions signed by a given address. It is used to prevent
133
- * replay attacks.
134
- */
135
86
  sequence: Long;
136
87
  }
137
88
  /** Data represents signature data */
@@ -143,9 +94,7 @@ export interface SignatureDescriptor_Data {
143
94
  }
144
95
  /** Data represents signature data */
145
96
  export interface SignatureDescriptor_DataSDKType {
146
- /** single represents a single signer */
147
97
  single?: SignatureDescriptor_Data_SingleSDKType;
148
- /** multi represents a multisig signer */
149
98
  multi?: SignatureDescriptor_Data_MultiSDKType;
150
99
  }
151
100
  /** Single is the signature data for a single signer */
@@ -157,9 +106,7 @@ export interface SignatureDescriptor_Data_Single {
157
106
  }
158
107
  /** Single is the signature data for a single signer */
159
108
  export interface SignatureDescriptor_Data_SingleSDKType {
160
- /** mode is the signing mode of the single signer */
161
- mode: SignModeSDKType;
162
- /** signature is the raw signature bytes */
109
+ mode: SignMode;
163
110
  signature: Uint8Array;
164
111
  }
165
112
  /** Multi is the signature data for a multisig public key */
@@ -171,9 +118,7 @@ export interface SignatureDescriptor_Data_Multi {
171
118
  }
172
119
  /** Multi is the signature data for a multisig public key */
173
120
  export interface SignatureDescriptor_Data_MultiSDKType {
174
- /** bitarray specifies which keys within the multisig are signing */
175
121
  bitarray?: CompactBitArraySDKType;
176
- /** signatures is the signatures of the multi-signature */
177
122
  signatures: SignatureDescriptor_DataSDKType[];
178
123
  }
179
124
  export declare const SignatureDescriptors: {
@@ -15,16 +15,7 @@ export declare enum OrderBy {
15
15
  ORDER_BY_DESC = 2,
16
16
  UNRECOGNIZED = -1
17
17
  }
18
- /** OrderBy defines the sorting order */
19
- export declare enum OrderBySDKType {
20
- /** ORDER_BY_UNSPECIFIED - ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults to ASC in this case. */
21
- ORDER_BY_UNSPECIFIED = 0,
22
- /** ORDER_BY_ASC - ORDER_BY_ASC defines ascending order */
23
- ORDER_BY_ASC = 1,
24
- /** ORDER_BY_DESC - ORDER_BY_DESC defines descending order */
25
- ORDER_BY_DESC = 2,
26
- UNRECOGNIZED = -1
27
- }
18
+ export declare const OrderBySDKType: typeof OrderBy;
28
19
  export declare function orderByFromJSON(object: any): OrderBy;
29
20
  export declare function orderByToJSON(object: OrderBy): string;
30
21
  /** BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. */
@@ -48,27 +39,7 @@ export declare enum BroadcastMode {
48
39
  BROADCAST_MODE_ASYNC = 3,
49
40
  UNRECOGNIZED = -1
50
41
  }
51
- /** BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. */
52
- export declare enum BroadcastModeSDKType {
53
- /** BROADCAST_MODE_UNSPECIFIED - zero-value for mode ordering */
54
- BROADCAST_MODE_UNSPECIFIED = 0,
55
- /**
56
- * BROADCAST_MODE_BLOCK - BROADCAST_MODE_BLOCK defines a tx broadcasting mode where the client waits for
57
- * the tx to be committed in a block.
58
- */
59
- BROADCAST_MODE_BLOCK = 1,
60
- /**
61
- * BROADCAST_MODE_SYNC - BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for
62
- * a CheckTx execution response only.
63
- */
64
- BROADCAST_MODE_SYNC = 2,
65
- /**
66
- * BROADCAST_MODE_ASYNC - BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns
67
- * immediately.
68
- */
69
- BROADCAST_MODE_ASYNC = 3,
70
- UNRECOGNIZED = -1
71
- }
42
+ export declare const BroadcastModeSDKType: typeof BroadcastMode;
72
43
  export declare function broadcastModeFromJSON(object: any): BroadcastMode;
73
44
  export declare function broadcastModeToJSON(object: BroadcastMode): string;
74
45
  /**
@@ -87,11 +58,9 @@ export interface GetTxsEventRequest {
87
58
  * RPC method.
88
59
  */
89
60
  export interface GetTxsEventRequestSDKType {
90
- /** events is the list of transaction event type. */
91
61
  events: string[];
92
- /** pagination defines a pagination for the request. */
93
62
  pagination?: PageRequestSDKType;
94
- order_by: OrderBySDKType;
63
+ order_by: OrderBy;
95
64
  }
96
65
  /**
97
66
  * GetTxsEventResponse is the response type for the Service.TxsByEvents
@@ -110,11 +79,8 @@ export interface GetTxsEventResponse {
110
79
  * RPC method.
111
80
  */
112
81
  export interface GetTxsEventResponseSDKType {
113
- /** txs is the list of queried transactions. */
114
82
  txs: TxSDKType[];
115
- /** tx_responses is the list of queried TxResponses. */
116
83
  tx_responses: TxResponseSDKType[];
117
- /** pagination defines a pagination for the response. */
118
84
  pagination?: PageResponseSDKType;
119
85
  }
120
86
  /**
@@ -131,9 +97,8 @@ export interface BroadcastTxRequest {
131
97
  * RPC method.
132
98
  */
133
99
  export interface BroadcastTxRequestSDKType {
134
- /** tx_bytes is the raw transaction. */
135
100
  tx_bytes: Uint8Array;
136
- mode: BroadcastModeSDKType;
101
+ mode: BroadcastMode;
137
102
  }
138
103
  /**
139
104
  * BroadcastTxResponse is the response type for the
@@ -148,7 +113,6 @@ export interface BroadcastTxResponse {
148
113
  * Service.BroadcastTx method.
149
114
  */
150
115
  export interface BroadcastTxResponseSDKType {
151
- /** tx_response is the queried TxResponses. */
152
116
  tx_response?: TxResponseSDKType;
153
117
  }
154
118
  /**
@@ -174,17 +138,8 @@ export interface SimulateRequest {
174
138
  * RPC method.
175
139
  */
176
140
  export interface SimulateRequestSDKType {
177
- /**
178
- * tx is the transaction to simulate.
179
- * Deprecated. Send raw tx bytes instead.
180
- */
181
141
  /** @deprecated */
182
142
  tx?: TxSDKType;
183
- /**
184
- * tx_bytes is the raw transaction.
185
- *
186
- * Since: cosmos-sdk 0.43
187
- */
188
143
  tx_bytes: Uint8Array;
189
144
  }
190
145
  /**
@@ -202,9 +157,7 @@ export interface SimulateResponse {
202
157
  * Service.SimulateRPC method.
203
158
  */
204
159
  export interface SimulateResponseSDKType {
205
- /** gas_info is the information about gas used in the simulation. */
206
160
  gas_info?: GasInfoSDKType;
207
- /** result is the result of the simulation. */
208
161
  result?: ResultSDKType;
209
162
  }
210
163
  /**
@@ -220,7 +173,6 @@ export interface GetTxRequest {
220
173
  * RPC method.
221
174
  */
222
175
  export interface GetTxRequestSDKType {
223
- /** hash is the tx hash to query, encoded as a hex string. */
224
176
  hash: string;
225
177
  }
226
178
  /** GetTxResponse is the response type for the Service.GetTx method. */
@@ -232,9 +184,7 @@ export interface GetTxResponse {
232
184
  }
233
185
  /** GetTxResponse is the response type for the Service.GetTx method. */
234
186
  export interface GetTxResponseSDKType {
235
- /** tx is the queried transaction. */
236
187
  tx?: TxSDKType;
237
- /** tx_response is the queried TxResponses. */
238
188
  tx_response?: TxResponseSDKType;
239
189
  }
240
190
  /**
@@ -256,9 +206,7 @@ export interface GetBlockWithTxsRequest {
256
206
  * Since: cosmos-sdk 0.45.2
257
207
  */
258
208
  export interface GetBlockWithTxsRequestSDKType {
259
- /** height is the height of the block to query. */
260
209
  height: Long;
261
- /** pagination defines a pagination for the request. */
262
210
  pagination?: PageRequestSDKType;
263
211
  }
264
212
  /**
@@ -280,11 +228,9 @@ export interface GetBlockWithTxsResponse {
280
228
  * Since: cosmos-sdk 0.45.2
281
229
  */
282
230
  export interface GetBlockWithTxsResponseSDKType {
283
- /** txs are the transactions in the block. */
284
231
  txs: TxSDKType[];
285
232
  block_id?: BlockIDSDKType;
286
233
  block?: BlockSDKType;
287
- /** pagination defines a pagination for the response. */
288
234
  pagination?: PageResponseSDKType;
289
235
  }
290
236
  export declare const GetTxsEventRequest: {
@@ -1,5 +1,5 @@
1
1
  import { Any, AnySDKType } from "../../../google/protobuf/any";
2
- import { SignMode, SignModeSDKType } from "../signing/v1beta1/signing";
2
+ import { SignMode } from "../signing/v1beta1/signing";
3
3
  import { CompactBitArray, CompactBitArraySDKType } from "../../crypto/multisig/v1beta1/multisig";
4
4
  import { Coin, CoinSDKType } from "../../base/v1beta1/coin";
5
5
  import * as _m0 from "protobufjs/minimal";
@@ -22,18 +22,8 @@ export interface Tx {
22
22
  }
23
23
  /** Tx is the standard type used for broadcasting transactions. */
24
24
  export interface TxSDKType {
25
- /** body is the processable content of the transaction */
26
25
  body?: TxBodySDKType;
27
- /**
28
- * auth_info is the authorization related content of the transaction,
29
- * specifically signers, signer modes and fee
30
- */
31
26
  auth_info?: AuthInfoSDKType;
32
- /**
33
- * signatures is a list of signatures that matches the length and order of
34
- * AuthInfo's signer_infos to allow connecting signature meta information like
35
- * public key and signing mode by position.
36
- */
37
27
  signatures: Uint8Array[];
38
28
  }
39
29
  /**
@@ -69,21 +59,8 @@ export interface TxRaw {
69
59
  * as the transaction ID.
70
60
  */
71
61
  export interface TxRawSDKType {
72
- /**
73
- * body_bytes is a protobuf serialization of a TxBody that matches the
74
- * representation in SignDoc.
75
- */
76
62
  body_bytes: Uint8Array;
77
- /**
78
- * auth_info_bytes is a protobuf serialization of an AuthInfo that matches the
79
- * representation in SignDoc.
80
- */
81
63
  auth_info_bytes: Uint8Array;
82
- /**
83
- * signatures is a list of signatures that matches the length and order of
84
- * AuthInfo's signer_infos to allow connecting signature meta information like
85
- * public key and signing mode by position.
86
- */
87
64
  signatures: Uint8Array[];
88
65
  }
89
66
  /** SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT. */
@@ -109,23 +86,9 @@ export interface SignDoc {
109
86
  }
110
87
  /** SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT. */
111
88
  export interface SignDocSDKType {
112
- /**
113
- * body_bytes is protobuf serialization of a TxBody that matches the
114
- * representation in TxRaw.
115
- */
116
89
  body_bytes: Uint8Array;
117
- /**
118
- * auth_info_bytes is a protobuf serialization of an AuthInfo that matches the
119
- * representation in TxRaw.
120
- */
121
90
  auth_info_bytes: Uint8Array;
122
- /**
123
- * chain_id is the unique identifier of the chain this transaction targets.
124
- * It prevents signed transactions from being used on another chain by an
125
- * attacker
126
- */
127
91
  chain_id: string;
128
- /** account_number is the account number of the account in state */
129
92
  account_number: Long;
130
93
  }
131
94
  /**
@@ -165,27 +128,11 @@ export interface SignDocDirectAux {
165
128
  * Since: cosmos-sdk 0.46
166
129
  */
167
130
  export interface SignDocDirectAuxSDKType {
168
- /**
169
- * body_bytes is protobuf serialization of a TxBody that matches the
170
- * representation in TxRaw.
171
- */
172
131
  body_bytes: Uint8Array;
173
- /** public_key is the public key of the signing account. */
174
132
  public_key?: AnySDKType;
175
- /**
176
- * chain_id is the identifier of the chain this transaction targets.
177
- * It prevents signed transactions from being used on another chain by an
178
- * attacker.
179
- */
180
133
  chain_id: string;
181
- /** account_number is the account number of the account in state. */
182
134
  account_number: Long;
183
- /** sequence is the sequence number of the signing account. */
184
135
  sequence: Long;
185
- /**
186
- * Tip is the optional tip used for meta-transactions. It should be left
187
- * empty if the signer is not the tipper for this transaction.
188
- */
189
136
  tip?: TipSDKType;
190
137
  }
191
138
  /** TxBody is the body of a transaction that all signers sign over. */
@@ -226,38 +173,10 @@ export interface TxBody {
226
173
  }
227
174
  /** TxBody is the body of a transaction that all signers sign over. */
228
175
  export interface TxBodySDKType {
229
- /**
230
- * messages is a list of messages to be executed. The required signers of
231
- * those messages define the number and order of elements in AuthInfo's
232
- * signer_infos and Tx's signatures. Each required signer address is added to
233
- * the list only the first time it occurs.
234
- * By convention, the first required signer (usually from the first message)
235
- * is referred to as the primary signer and pays the fee for the whole
236
- * transaction.
237
- */
238
176
  messages: AnySDKType[];
239
- /**
240
- * memo is any arbitrary note/comment to be added to the transaction.
241
- * WARNING: in clients, any publicly exposed text should not be called memo,
242
- * but should be called `note` instead (see https://github.com/cosmos/cosmos-sdk/issues/9122).
243
- */
244
177
  memo: string;
245
- /**
246
- * timeout is the block height after which this transaction will not
247
- * be processed by the chain
248
- */
249
178
  timeout_height: Long;
250
- /**
251
- * extension_options are arbitrary options that can be added by chains
252
- * when the default options are not sufficient. If any of these are present
253
- * and can't be handled, the transaction will be rejected
254
- */
255
179
  extension_options: AnySDKType[];
256
- /**
257
- * extension_options are arbitrary options that can be added by chains
258
- * when the default options are not sufficient. If any of these are present
259
- * and can't be handled, they will be ignored
260
- */
261
180
  non_critical_extension_options: AnySDKType[];
262
181
  }
263
182
  /**
@@ -291,25 +210,8 @@ export interface AuthInfo {
291
210
  * transaction.
292
211
  */
293
212
  export interface AuthInfoSDKType {
294
- /**
295
- * signer_infos defines the signing modes for the required signers. The number
296
- * and order of elements must match the required signers from TxBody's
297
- * messages. The first element is the primary signer and the one which pays
298
- * the fee.
299
- */
300
213
  signer_infos: SignerInfoSDKType[];
301
- /**
302
- * Fee is the fee and gas limit for the transaction. The first signer is the
303
- * primary signer and the one which pays the fee. The fee can be calculated
304
- * based on the cost of evaluating the body and doing signature verification
305
- * of the signers. This can be estimated via simulation.
306
- */
307
214
  fee?: FeeSDKType;
308
- /**
309
- * Tip is the optional tip used for meta-transactions.
310
- *
311
- * Since: cosmos-sdk 0.46
312
- */
313
215
  tip?: TipSDKType;
314
216
  }
315
217
  /**
@@ -340,22 +242,8 @@ export interface SignerInfo {
340
242
  * signer.
341
243
  */
342
244
  export interface SignerInfoSDKType {
343
- /**
344
- * public_key is the public key of the signer. It is optional for accounts
345
- * that already exist in state. If unset, the verifier can use the required \
346
- * signer address for this position and lookup the public key.
347
- */
348
245
  public_key?: AnySDKType;
349
- /**
350
- * mode_info describes the signing mode of the signer and is a nested
351
- * structure to support nested multisig pubkey's
352
- */
353
246
  mode_info?: ModeInfoSDKType;
354
- /**
355
- * sequence is the sequence of the account, which describes the
356
- * number of committed transactions signed by a given address. It is used to
357
- * prevent replay attacks.
358
- */
359
247
  sequence: Long;
360
248
  }
361
249
  /** ModeInfo describes the signing mode of a single or nested multisig signer. */
@@ -367,9 +255,7 @@ export interface ModeInfo {
367
255
  }
368
256
  /** ModeInfo describes the signing mode of a single or nested multisig signer. */
369
257
  export interface ModeInfoSDKType {
370
- /** single represents a single signer */
371
258
  single?: ModeInfo_SingleSDKType;
372
- /** multi represents a nested multisig signer */
373
259
  multi?: ModeInfo_MultiSDKType;
374
260
  }
375
261
  /**
@@ -387,8 +273,7 @@ export interface ModeInfo_Single {
387
273
  * future
388
274
  */
389
275
  export interface ModeInfo_SingleSDKType {
390
- /** mode is the signing mode of the single signer */
391
- mode: SignModeSDKType;
276
+ mode: SignMode;
392
277
  }
393
278
  /** Multi is the mode info for a multisig public key */
394
279
  export interface ModeInfo_Multi {
@@ -402,12 +287,7 @@ export interface ModeInfo_Multi {
402
287
  }
403
288
  /** Multi is the mode info for a multisig public key */
404
289
  export interface ModeInfo_MultiSDKType {
405
- /** bitarray specifies which keys within the multisig are signing */
406
290
  bitarray?: CompactBitArraySDKType;
407
- /**
408
- * mode_infos is the corresponding modes of the signers of the multisig
409
- * which could include nested multisig public keys
410
- */
411
291
  mode_infos: ModeInfoSDKType[];
412
292
  }
413
293
  /**
@@ -442,24 +322,9 @@ export interface Fee {
442
322
  * which must be above some miminum to be accepted into the mempool.
443
323
  */
444
324
  export interface FeeSDKType {
445
- /** amount is the amount of coins to be paid as a fee */
446
325
  amount: CoinSDKType[];
447
- /**
448
- * gas_limit is the maximum gas that can be used in transaction processing
449
- * before an out of gas error occurs
450
- */
451
326
  gas_limit: Long;
452
- /**
453
- * if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees.
454
- * the payer must be a tx signer (and thus have signed this field in AuthInfo).
455
- * setting this field does *not* change the ordering of required signers for the transaction.
456
- */
457
327
  payer: string;
458
- /**
459
- * if set, the fee payer (either the first signer or the value of the payer field) requests that a fee grant be used
460
- * to pay fees instead of the fee payer's own balance. If an appropriate fee grant does not exist or the chain does
461
- * not support fee grants, this will fail
462
- */
463
328
  granter: string;
464
329
  }
465
330
  /**
@@ -479,9 +344,7 @@ export interface Tip {
479
344
  * Since: cosmos-sdk 0.46
480
345
  */
481
346
  export interface TipSDKType {
482
- /** amount is the amount of the tip */
483
347
  amount: CoinSDKType[];
484
- /** tipper is the address of the account paying for the tip */
485
348
  tipper: string;
486
349
  }
487
350
  /**
@@ -519,21 +382,9 @@ export interface AuxSignerData {
519
382
  * Since: cosmos-sdk 0.46
520
383
  */
521
384
  export interface AuxSignerDataSDKType {
522
- /**
523
- * address is the bech32-encoded address of the auxiliary signer. If using
524
- * AuxSignerData across different chains, the bech32 prefix of the target
525
- * chain (where the final transaction is broadcasted) should be used.
526
- */
527
385
  address: string;
528
- /**
529
- * sign_doc is the SIGN_MOD_DIRECT_AUX sign doc that the auxiliary signer
530
- * signs. Note: we use the same sign doc even if we're signing with
531
- * LEGACY_AMINO_JSON.
532
- */
533
386
  sign_doc?: SignDocDirectAuxSDKType;
534
- /** mode is the signing mode of the single signer */
535
- mode: SignModeSDKType;
536
- /** sig is the signature of the sign doc. */
387
+ mode: SignMode;
537
388
  sig: Uint8Array;
538
389
  }
539
390
  export declare const Tx: {
@@ -26,7 +26,6 @@ export interface QueryCurrentPlanResponse {
26
26
  * method.
27
27
  */
28
28
  export interface QueryCurrentPlanResponseSDKType {
29
- /** plan is the current upgrade plan. */
30
29
  plan?: PlanSDKType;
31
30
  }
32
31
  /**
@@ -42,7 +41,6 @@ export interface QueryAppliedPlanRequest {
42
41
  * method.
43
42
  */
44
43
  export interface QueryAppliedPlanRequestSDKType {
45
- /** name is the name of the applied plan to query for. */
46
44
  name: string;
47
45
  }
48
46
  /**
@@ -58,7 +56,6 @@ export interface QueryAppliedPlanResponse {
58
56
  * method.
59
57
  */
60
58
  export interface QueryAppliedPlanResponseSDKType {
61
- /** height is the block height at which the plan was applied. */
62
59
  height: Long;
63
60
  }
64
61
  /**
@@ -79,10 +76,6 @@ export interface QueryUpgradedConsensusStateRequest {
79
76
  */
80
77
  /** @deprecated */
81
78
  export interface QueryUpgradedConsensusStateRequestSDKType {
82
- /**
83
- * last height of the current chain must be sent in request
84
- * as this is the height under which next consensus state is stored
85
- */
86
79
  last_height: Long;
87
80
  }
88
81
  /**
@@ -100,7 +93,6 @@ export interface QueryUpgradedConsensusStateResponse {
100
93
  */
101
94
  /** @deprecated */
102
95
  export interface QueryUpgradedConsensusStateResponseSDKType {
103
- /** Since: cosmos-sdk 0.43 */
104
96
  upgraded_consensus_state: Uint8Array;
105
97
  }
106
98
  /**
@@ -124,11 +116,6 @@ export interface QueryModuleVersionsRequest {
124
116
  * Since: cosmos-sdk 0.43
125
117
  */
126
118
  export interface QueryModuleVersionsRequestSDKType {
127
- /**
128
- * module_name is a field to query a specific module
129
- * consensus version from state. Leaving this empty will
130
- * fetch the full list of module versions from state
131
- */
132
119
  module_name: string;
133
120
  }
134
121
  /**
@@ -148,7 +135,6 @@ export interface QueryModuleVersionsResponse {
148
135
  * Since: cosmos-sdk 0.43
149
136
  */
150
137
  export interface QueryModuleVersionsResponseSDKType {
151
- /** module_versions is a list of module names with their consensus versions. */
152
138
  module_versions: ModuleVersionSDKType[];
153
139
  }
154
140
  /**