@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
@@ -15,9 +15,7 @@ export interface QueryGrantsRequest {
15
15
  export interface QueryGrantsRequestSDKType {
16
16
  granter: string;
17
17
  grantee: string;
18
- /** Optional, msg_type_url, when set, will query only grants matching given msg type. */
19
18
  msg_type_url: string;
20
- /** pagination defines an pagination for the request. */
21
19
  pagination?: PageRequestSDKType;
22
20
  }
23
21
  /** QueryGrantsResponse is the response type for the Query/Authorizations RPC method. */
@@ -29,9 +27,7 @@ export interface QueryGrantsResponse {
29
27
  }
30
28
  /** QueryGrantsResponse is the response type for the Query/Authorizations RPC method. */
31
29
  export interface QueryGrantsResponseSDKType {
32
- /** authorizations is a list of grants granted for grantee by granter. */
33
30
  grants: GrantSDKType[];
34
- /** pagination defines an pagination for the response. */
35
31
  pagination?: PageResponseSDKType;
36
32
  }
37
33
  /** QueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC method. */
@@ -43,7 +39,6 @@ export interface QueryGranterGrantsRequest {
43
39
  /** QueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC method. */
44
40
  export interface QueryGranterGrantsRequestSDKType {
45
41
  granter: string;
46
- /** pagination defines an pagination for the request. */
47
42
  pagination?: PageRequestSDKType;
48
43
  }
49
44
  /** QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. */
@@ -55,9 +50,7 @@ export interface QueryGranterGrantsResponse {
55
50
  }
56
51
  /** QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. */
57
52
  export interface QueryGranterGrantsResponseSDKType {
58
- /** grants is a list of grants granted by the granter. */
59
53
  grants: GrantAuthorizationSDKType[];
60
- /** pagination defines an pagination for the response. */
61
54
  pagination?: PageResponseSDKType;
62
55
  }
63
56
  /** QueryGranteeGrantsRequest is the request type for the Query/IssuedGrants RPC method. */
@@ -69,7 +62,6 @@ export interface QueryGranteeGrantsRequest {
69
62
  /** QueryGranteeGrantsRequest is the request type for the Query/IssuedGrants RPC method. */
70
63
  export interface QueryGranteeGrantsRequestSDKType {
71
64
  grantee: string;
72
- /** pagination defines an pagination for the request. */
73
65
  pagination?: PageRequestSDKType;
74
66
  }
75
67
  /** QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. */
@@ -81,9 +73,7 @@ export interface QueryGranteeGrantsResponse {
81
73
  }
82
74
  /** QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. */
83
75
  export interface QueryGranteeGrantsResponseSDKType {
84
- /** grants is a list of grants granted to the grantee. */
85
76
  grants: GrantAuthorizationSDKType[];
86
- /** pagination defines an pagination for the response. */
87
77
  pagination?: PageResponseSDKType;
88
78
  }
89
79
  export declare const QueryGrantsRequest: {
@@ -1,6 +1,6 @@
1
1
  import { AminoMsg } from "@cosmjs/amino";
2
2
  import { MsgGrant, MsgExec, MsgRevoke } from "./tx";
3
- export interface AminoMsgGrant extends AminoMsg {
3
+ export interface MsgGrantAminoType extends AminoMsg {
4
4
  type: "cosmos-sdk/MsgGrant";
5
5
  value: {
6
6
  granter: string;
@@ -17,7 +17,7 @@ export interface AminoMsgGrant extends AminoMsg {
17
17
  };
18
18
  };
19
19
  }
20
- export interface AminoMsgExec extends AminoMsg {
20
+ export interface MsgExecAminoType extends AminoMsg {
21
21
  type: "cosmos-sdk/MsgExec";
22
22
  value: {
23
23
  grantee: string;
@@ -27,7 +27,7 @@ export interface AminoMsgExec extends AminoMsg {
27
27
  }[];
28
28
  };
29
29
  }
30
- export interface AminoMsgRevoke extends AminoMsg {
30
+ export interface MsgRevokeAminoType extends AminoMsg {
31
31
  type: "cosmos-sdk/MsgRevoke";
32
32
  value: {
33
33
  granter: string;
@@ -38,17 +38,17 @@ export interface AminoMsgRevoke extends AminoMsg {
38
38
  export declare const AminoConverter: {
39
39
  "/cosmos.authz.v1beta1.MsgGrant": {
40
40
  aminoType: string;
41
- toAmino: ({ granter, grantee, grant }: MsgGrant) => AminoMsgGrant["value"];
42
- fromAmino: ({ granter, grantee, grant }: AminoMsgGrant["value"]) => MsgGrant;
41
+ toAmino: ({ granter, grantee, grant }: MsgGrant) => MsgGrantAminoType["value"];
42
+ fromAmino: ({ granter, grantee, grant }: MsgGrantAminoType["value"]) => MsgGrant;
43
43
  };
44
44
  "/cosmos.authz.v1beta1.MsgExec": {
45
45
  aminoType: string;
46
- toAmino: ({ grantee, msgs }: MsgExec) => AminoMsgExec["value"];
47
- fromAmino: ({ grantee, msgs }: AminoMsgExec["value"]) => MsgExec;
46
+ toAmino: ({ grantee, msgs }: MsgExec) => MsgExecAminoType["value"];
47
+ fromAmino: ({ grantee, msgs }: MsgExecAminoType["value"]) => MsgExec;
48
48
  };
49
49
  "/cosmos.authz.v1beta1.MsgRevoke": {
50
50
  aminoType: string;
51
- toAmino: ({ granter, grantee, msgTypeUrl }: MsgRevoke) => AminoMsgRevoke["value"];
52
- fromAmino: ({ granter, grantee, msg_type_url }: AminoMsgRevoke["value"]) => MsgRevoke;
51
+ toAmino: ({ granter, grantee, msgTypeUrl }: MsgRevoke) => MsgRevokeAminoType["value"];
52
+ fromAmino: ({ granter, grantee, msg_type_url }: MsgRevokeAminoType["value"]) => MsgRevoke;
53
53
  };
54
54
  };
@@ -49,11 +49,6 @@ export interface MsgExec {
49
49
  */
50
50
  export interface MsgExecSDKType {
51
51
  grantee: string;
52
- /**
53
- * Authorization Msg requests to execute. Each msg must implement Authorization interface
54
- * The x/authz will try to find a grant matching (msg.signers[0], grantee, MsgTypeURL(msg))
55
- * triple and validate it.
56
- */
57
52
  msgs: AnySDKType[];
58
53
  }
59
54
  /** MsgGrantResponse defines the Msg/MsgGrant response type. */
@@ -88,17 +88,8 @@ export interface DenomUnit {
88
88
  * denomination unit of the basic token.
89
89
  */
90
90
  export interface DenomUnitSDKType {
91
- /** denom represents the string name of the given denom unit (e.g uatom). */
92
91
  denom: string;
93
- /**
94
- * exponent represents power of 10 exponent that one must
95
- * raise the base_denom to in order to equal the given DenomUnit's denom
96
- * 1 denom = 10^exponent base_denom
97
- * (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with
98
- * exponent = 6, thus: 1 atom = 10^6 uatom).
99
- */
100
92
  exponent: number;
101
- /** aliases is a list of string aliases for the given denom */
102
93
  aliases: string[];
103
94
  }
104
95
  /**
@@ -149,40 +140,12 @@ export interface Metadata {
149
140
  */
150
141
  export interface MetadataSDKType {
151
142
  description: string;
152
- /** denom_units represents the list of DenomUnit's for a given coin */
153
143
  denom_units: DenomUnitSDKType[];
154
- /** base represents the base denom (should be the DenomUnit with exponent = 0). */
155
144
  base: string;
156
- /**
157
- * display indicates the suggested denom that should be
158
- * displayed in clients.
159
- */
160
145
  display: string;
161
- /**
162
- * name defines the name of the token (eg: Cosmos Atom)
163
- *
164
- * Since: cosmos-sdk 0.43
165
- */
166
146
  name: string;
167
- /**
168
- * symbol is the token symbol usually shown on exchanges (eg: ATOM). This can
169
- * be the same as the display.
170
- *
171
- * Since: cosmos-sdk 0.43
172
- */
173
147
  symbol: string;
174
- /**
175
- * URI to a document (on or off-chain) that contains additional information. Optional.
176
- *
177
- * Since: cosmos-sdk 0.46
178
- */
179
148
  uri: string;
180
- /**
181
- * URIHash is a sha256 hash of a document pointed by URI. It's used to verify that
182
- * the document didn't change. Optional.
183
- *
184
- * Since: cosmos-sdk 0.46
185
- */
186
149
  uri_hash: string;
187
150
  }
188
151
  export declare const Params: {
@@ -18,16 +18,9 @@ export interface GenesisState {
18
18
  }
19
19
  /** GenesisState defines the bank module's genesis state. */
20
20
  export interface GenesisStateSDKType {
21
- /** params defines all the paramaters of the module. */
22
21
  params?: ParamsSDKType;
23
- /** balances is an array containing the balances of all the accounts. */
24
22
  balances: BalanceSDKType[];
25
- /**
26
- * supply represents the total supply. If it is left empty, then supply will be calculated based on the provided
27
- * balances. Otherwise, it will be used to validate that the sum of the balances equals this amount.
28
- */
29
23
  supply: CoinSDKType[];
30
- /** denom_metadata defines the metadata of the differents coins. */
31
24
  denom_metadata: MetadataSDKType[];
32
25
  }
33
26
  /**
@@ -45,9 +38,7 @@ export interface Balance {
45
38
  * genesis state.
46
39
  */
47
40
  export interface BalanceSDKType {
48
- /** address is the address of the balance holder. */
49
41
  address: string;
50
- /** coins defines the different coins this balance holds. */
51
42
  coins: CoinSDKType[];
52
43
  }
53
44
  export declare const GenesisState: {
@@ -12,9 +12,7 @@ export interface QueryBalanceRequest {
12
12
  }
13
13
  /** QueryBalanceRequest is the request type for the Query/Balance RPC method. */
14
14
  export interface QueryBalanceRequestSDKType {
15
- /** address is the address to query balances for. */
16
15
  address: string;
17
- /** denom is the coin denom to query balances for. */
18
16
  denom: string;
19
17
  }
20
18
  /** QueryBalanceResponse is the response type for the Query/Balance RPC method. */
@@ -24,7 +22,6 @@ export interface QueryBalanceResponse {
24
22
  }
25
23
  /** QueryBalanceResponse is the response type for the Query/Balance RPC method. */
26
24
  export interface QueryBalanceResponseSDKType {
27
- /** balance is the balance of the coin. */
28
25
  balance?: CoinSDKType;
29
26
  }
30
27
  /** QueryBalanceRequest is the request type for the Query/AllBalances RPC method. */
@@ -36,9 +33,7 @@ export interface QueryAllBalancesRequest {
36
33
  }
37
34
  /** QueryBalanceRequest is the request type for the Query/AllBalances RPC method. */
38
35
  export interface QueryAllBalancesRequestSDKType {
39
- /** address is the address to query balances for. */
40
36
  address: string;
41
- /** pagination defines an optional pagination for the request. */
42
37
  pagination?: PageRequestSDKType;
43
38
  }
44
39
  /**
@@ -56,9 +51,7 @@ export interface QueryAllBalancesResponse {
56
51
  * method.
57
52
  */
58
53
  export interface QueryAllBalancesResponseSDKType {
59
- /** balances is the balances of all the coins. */
60
54
  balances: CoinSDKType[];
61
- /** pagination defines the pagination in the response. */
62
55
  pagination?: PageResponseSDKType;
63
56
  }
64
57
  /**
@@ -76,9 +69,7 @@ export interface QuerySpendableBalancesRequest {
76
69
  * an account's spendable balances.
77
70
  */
78
71
  export interface QuerySpendableBalancesRequestSDKType {
79
- /** address is the address to query spendable balances for. */
80
72
  address: string;
81
- /** pagination defines an optional pagination for the request. */
82
73
  pagination?: PageRequestSDKType;
83
74
  }
84
75
  /**
@@ -96,9 +87,7 @@ export interface QuerySpendableBalancesResponse {
96
87
  * an account's spendable balances.
97
88
  */
98
89
  export interface QuerySpendableBalancesResponseSDKType {
99
- /** balances is the spendable balances of all the coins. */
100
90
  balances: CoinSDKType[];
101
- /** pagination defines the pagination in the response. */
102
91
  pagination?: PageResponseSDKType;
103
92
  }
104
93
  /**
@@ -118,11 +107,6 @@ export interface QueryTotalSupplyRequest {
118
107
  * method.
119
108
  */
120
109
  export interface QueryTotalSupplyRequestSDKType {
121
- /**
122
- * pagination defines an optional pagination for the request.
123
- *
124
- * Since: cosmos-sdk 0.43
125
- */
126
110
  pagination?: PageRequestSDKType;
127
111
  }
128
112
  /**
@@ -144,13 +128,7 @@ export interface QueryTotalSupplyResponse {
144
128
  * method
145
129
  */
146
130
  export interface QueryTotalSupplyResponseSDKType {
147
- /** supply is the supply of the coins */
148
131
  supply: CoinSDKType[];
149
- /**
150
- * pagination defines the pagination in the response.
151
- *
152
- * Since: cosmos-sdk 0.43
153
- */
154
132
  pagination?: PageResponseSDKType;
155
133
  }
156
134
  /** QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method. */
@@ -160,7 +138,6 @@ export interface QuerySupplyOfRequest {
160
138
  }
161
139
  /** QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method. */
162
140
  export interface QuerySupplyOfRequestSDKType {
163
- /** denom is the coin denom to query balances for. */
164
141
  denom: string;
165
142
  }
166
143
  /** QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. */
@@ -170,7 +147,6 @@ export interface QuerySupplyOfResponse {
170
147
  }
171
148
  /** QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. */
172
149
  export interface QuerySupplyOfResponseSDKType {
173
- /** amount is the supply of the coin. */
174
150
  amount?: CoinSDKType;
175
151
  }
176
152
  /** QueryParamsRequest defines the request type for querying x/bank parameters. */
@@ -194,7 +170,6 @@ export interface QueryDenomsMetadataRequest {
194
170
  }
195
171
  /** QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. */
196
172
  export interface QueryDenomsMetadataRequestSDKType {
197
- /** pagination defines an optional pagination for the request. */
198
173
  pagination?: PageRequestSDKType;
199
174
  }
200
175
  /**
@@ -212,9 +187,7 @@ export interface QueryDenomsMetadataResponse {
212
187
  * method.
213
188
  */
214
189
  export interface QueryDenomsMetadataResponseSDKType {
215
- /** metadata provides the client information for all the registered tokens. */
216
190
  metadatas: MetadataSDKType[];
217
- /** pagination defines the pagination in the response. */
218
191
  pagination?: PageResponseSDKType;
219
192
  }
220
193
  /** QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method. */
@@ -224,7 +197,6 @@ export interface QueryDenomMetadataRequest {
224
197
  }
225
198
  /** QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method. */
226
199
  export interface QueryDenomMetadataRequestSDKType {
227
- /** denom is the coin denom to query the metadata for. */
228
200
  denom: string;
229
201
  }
230
202
  /**
@@ -240,7 +212,6 @@ export interface QueryDenomMetadataResponse {
240
212
  * method.
241
213
  */
242
214
  export interface QueryDenomMetadataResponseSDKType {
243
- /** metadata describes and provides all the client information for the requested token. */
244
215
  metadata?: MetadataSDKType;
245
216
  }
246
217
  /**
@@ -260,9 +231,7 @@ export interface QueryDenomOwnersRequest {
260
231
  * denomination.
261
232
  */
262
233
  export interface QueryDenomOwnersRequestSDKType {
263
- /** denom defines the coin denomination to query all account holders for. */
264
234
  denom: string;
265
- /** pagination defines an optional pagination for the request. */
266
235
  pagination?: PageRequestSDKType;
267
236
  }
268
237
  /**
@@ -282,9 +251,7 @@ export interface DenomOwner {
282
251
  * balance of the denominated token.
283
252
  */
284
253
  export interface DenomOwnerSDKType {
285
- /** address defines the address that owns a particular denomination. */
286
254
  address: string;
287
- /** balance is the balance of the denominated coin for an account. */
288
255
  balance?: CoinSDKType;
289
256
  }
290
257
  /** QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. */
@@ -296,7 +263,6 @@ export interface QueryDenomOwnersResponse {
296
263
  /** QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. */
297
264
  export interface QueryDenomOwnersResponseSDKType {
298
265
  denom_owners: DenomOwnerSDKType[];
299
- /** pagination defines the pagination in the response. */
300
266
  pagination?: PageResponseSDKType;
301
267
  }
302
268
  export declare const QueryBalanceRequest: {
@@ -1,6 +1,6 @@
1
1
  import { AminoMsg } from "@cosmjs/amino";
2
2
  import { MsgSend, MsgMultiSend } from "./tx";
3
- export interface AminoMsgSend extends AminoMsg {
3
+ export interface MsgSendAminoType extends AminoMsg {
4
4
  type: "cosmos-sdk/MsgSend";
5
5
  value: {
6
6
  from_address: string;
@@ -11,7 +11,7 @@ export interface AminoMsgSend extends AminoMsg {
11
11
  }[];
12
12
  };
13
13
  }
14
- export interface AminoMsgMultiSend extends AminoMsg {
14
+ export interface MsgMultiSendAminoType extends AminoMsg {
15
15
  type: "cosmos-sdk/MsgMultiSend";
16
16
  value: {
17
17
  inputs: {
@@ -33,12 +33,12 @@ export interface AminoMsgMultiSend extends AminoMsg {
33
33
  export declare const AminoConverter: {
34
34
  "/cosmos.bank.v1beta1.MsgSend": {
35
35
  aminoType: string;
36
- toAmino: ({ fromAddress, toAddress, amount }: MsgSend) => AminoMsgSend["value"];
37
- fromAmino: ({ from_address, to_address, amount }: AminoMsgSend["value"]) => MsgSend;
36
+ toAmino: ({ fromAddress, toAddress, amount }: MsgSend) => MsgSendAminoType["value"];
37
+ fromAmino: ({ from_address, to_address, amount }: MsgSendAminoType["value"]) => MsgSend;
38
38
  };
39
39
  "/cosmos.bank.v1beta1.MsgMultiSend": {
40
40
  aminoType: string;
41
- toAmino: ({ inputs, outputs }: MsgMultiSend) => AminoMsgMultiSend["value"];
42
- fromAmino: ({ inputs, outputs }: AminoMsgMultiSend["value"]) => MsgMultiSend;
41
+ toAmino: ({ inputs, outputs }: MsgMultiSend) => MsgMultiSendAminoType["value"];
42
+ fromAmino: ({ inputs, outputs }: MsgMultiSendAminoType["value"]) => MsgMultiSend;
43
43
  };
44
44
  };
@@ -1,7 +1,7 @@
1
1
  import { Any, AnySDKType } from "../../../../google/protobuf/any";
2
2
  import { Event, EventSDKType } from "../../../../tendermint/abci/types";
3
- import * as _m0 from "protobufjs/minimal";
4
3
  import { Long, DeepPartial } from "../../../../helpers";
4
+ import * as _m0 from "protobufjs/minimal";
5
5
  /**
6
6
  * TxResponse defines a structure containing relevant tx data and metadata. The
7
7
  * tags are stringified and the log is JSON decoded.
@@ -53,45 +53,18 @@ export interface TxResponse {
53
53
  * tags are stringified and the log is JSON decoded.
54
54
  */
55
55
  export interface TxResponseSDKType {
56
- /** The block height */
57
56
  height: Long;
58
- /** The transaction hash. */
59
57
  txhash: string;
60
- /** Namespace for the Code */
61
58
  codespace: string;
62
- /** Response code. */
63
59
  code: number;
64
- /** Result bytes, if any. */
65
60
  data: string;
66
- /**
67
- * The output of the application's logger (raw string). May be
68
- * non-deterministic.
69
- */
70
61
  raw_log: string;
71
- /** The output of the application's logger (typed). May be non-deterministic. */
72
62
  logs: ABCIMessageLogSDKType[];
73
- /** Additional information. May be non-deterministic. */
74
63
  info: string;
75
- /** Amount of gas requested for transaction. */
76
64
  gas_wanted: Long;
77
- /** Amount of gas consumed by transaction. */
78
65
  gas_used: Long;
79
- /** The request transaction bytes. */
80
66
  tx?: AnySDKType;
81
- /**
82
- * Time of the previous block. For heights > 1, it's the weighted median of
83
- * the timestamps of the valid votes in the block.LastCommit. For height == 1,
84
- * it's genesis time.
85
- */
86
67
  timestamp: string;
87
- /**
88
- * Events defines all the events emitted by processing a transaction. Note,
89
- * these events include those emitted by processing all the messages and those
90
- * emitted from the ante handler. Whereas Logs contains the events, with
91
- * additional metadata, emitted only by processing the messages.
92
- *
93
- * Since: cosmos-sdk 0.42.11, 0.44.5, 0.45
94
- */
95
68
  events: EventSDKType[];
96
69
  }
97
70
  /** ABCIMessageLog defines a structure containing an indexed tx ABCI message log. */
@@ -108,10 +81,6 @@ export interface ABCIMessageLog {
108
81
  export interface ABCIMessageLogSDKType {
109
82
  msg_index: number;
110
83
  log: string;
111
- /**
112
- * Events contains a slice of Event objects that were emitted during some
113
- * execution.
114
- */
115
84
  events: StringEventSDKType[];
116
85
  }
117
86
  /**
@@ -155,9 +124,7 @@ export interface GasInfo {
155
124
  }
156
125
  /** GasInfo defines tx execution gas context. */
157
126
  export interface GasInfoSDKType {
158
- /** GasWanted is the maximum units of work we allow this tx to perform. */
159
127
  gas_wanted: Long;
160
- /** GasUsed is the amount of gas actually consumed. */
161
128
  gas_used: Long;
162
129
  }
163
130
  /** Result is the union of ResponseFormat and ResponseCheckTx. */
@@ -186,26 +153,10 @@ export interface Result {
186
153
  }
187
154
  /** Result is the union of ResponseFormat and ResponseCheckTx. */
188
155
  export interface ResultSDKType {
189
- /**
190
- * Data is any data returned from message or handler execution. It MUST be
191
- * length prefixed in order to separate data from multiple message executions.
192
- * Deprecated. This field is still populated, but prefer msg_response instead
193
- * because it also contains the Msg response typeURL.
194
- */
195
156
  /** @deprecated */
196
157
  data: Uint8Array;
197
- /** Log contains the log information from message or handler execution. */
198
158
  log: string;
199
- /**
200
- * Events contains a slice of Event objects that were emitted during message
201
- * or handler execution.
202
- */
203
159
  events: EventSDKType[];
204
- /**
205
- * msg_responses contains the Msg handler responses type packed in Anys.
206
- *
207
- * Since: cosmos-sdk 0.46
208
- */
209
160
  msg_responses: AnySDKType[];
210
161
  }
211
162
  /**
@@ -262,14 +213,8 @@ export interface TxMsgData {
262
213
  * for each message.
263
214
  */
264
215
  export interface TxMsgDataSDKType {
265
- /** data field is deprecated and not populated. */
266
216
  /** @deprecated */
267
217
  data: MsgDataSDKType[];
268
- /**
269
- * msg_responses contains the Msg handler responses packed into Anys.
270
- *
271
- * Since: cosmos-sdk 0.46
272
- */
273
218
  msg_responses: AnySDKType[];
274
219
  }
275
220
  /** SearchTxsResult defines a structure for querying txs pageable */
@@ -289,17 +234,11 @@ export interface SearchTxsResult {
289
234
  }
290
235
  /** SearchTxsResult defines a structure for querying txs pageable */
291
236
  export interface SearchTxsResultSDKType {
292
- /** Count of all txs */
293
237
  total_count: Long;
294
- /** Count of txs in current page */
295
238
  count: Long;
296
- /** Index of current page, start from 1 */
297
239
  page_number: Long;
298
- /** Count of total pages */
299
240
  page_total: Long;
300
- /** Max count txs per page */
301
241
  limit: Long;
302
- /** List of txs in current page */
303
242
  txs: TxResponseSDKType[];
304
243
  }
305
244
  export declare const TxResponse: {
@@ -1,5 +1,5 @@
1
- import * as _m0 from "protobufjs/minimal";
2
1
  import { Long, DeepPartial } from "../../../../helpers";
2
+ import * as _m0 from "protobufjs/minimal";
3
3
  /**
4
4
  * PageRequest is to be embedded in gRPC request messages for efficient
5
5
  * pagination. Ex:
@@ -51,35 +51,10 @@ export interface PageRequest {
51
51
  * }
52
52
  */
53
53
  export interface PageRequestSDKType {
54
- /**
55
- * key is a value returned in PageResponse.next_key to begin
56
- * querying the next page most efficiently. Only one of offset or key
57
- * should be set.
58
- */
59
54
  key: Uint8Array;
60
- /**
61
- * offset is a numeric offset that can be used when key is unavailable.
62
- * It is less efficient than using key. Only one of offset or key should
63
- * be set.
64
- */
65
55
  offset: Long;
66
- /**
67
- * limit is the total number of results to be returned in the result page.
68
- * If left empty it will default to a value to be set by each app.
69
- */
70
56
  limit: Long;
71
- /**
72
- * count_total is set to true to indicate that the result set should include
73
- * a count of the total number of items available for pagination in UIs.
74
- * count_total is only respected when offset is used. It is ignored when key
75
- * is set.
76
- */
77
57
  count_total: boolean;
78
- /**
79
- * reverse is set to true if results are to be returned in the descending order.
80
- *
81
- * Since: cosmos-sdk 0.43
82
- */
83
58
  reverse: boolean;
84
59
  }
85
60
  /**
@@ -114,16 +89,7 @@ export interface PageResponse {
114
89
  * }
115
90
  */
116
91
  export interface PageResponseSDKType {
117
- /**
118
- * next_key is the key to be passed to PageRequest.key to
119
- * query the next page most efficiently. It will be empty if
120
- * there are no more results.
121
- */
122
92
  next_key: Uint8Array;
123
- /**
124
- * total is total number of results available if PageRequest.count_total
125
- * was set, its value is undefined otherwise
126
- */
127
93
  total: Long;
128
94
  }
129
95
  export declare const PageRequest: {
@@ -13,7 +13,6 @@ export interface ListAllInterfacesResponse {
13
13
  }
14
14
  /** ListAllInterfacesResponse is the response type of the ListAllInterfaces RPC. */
15
15
  export interface ListAllInterfacesResponseSDKType {
16
- /** interface_names is an array of all the registered interfaces. */
17
16
  interface_names: string[];
18
17
  }
19
18
  /**
@@ -29,7 +28,6 @@ export interface ListImplementationsRequest {
29
28
  * RPC.
30
29
  */
31
30
  export interface ListImplementationsRequestSDKType {
32
- /** interface_name defines the interface to query the implementations for. */
33
31
  interface_name: string;
34
32
  }
35
33
  /**