@bze/bzejs 0.0.5 → 0.0.6

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 (203) hide show
  1. package/package.json +1 -1
  2. package/types/codegen/beezee/burner/burn_coins_proposal.d.ts +16 -0
  3. package/types/codegen/beezee/burner/burned_coins.d.ts +16 -0
  4. package/types/codegen/beezee/burner/events.d.ts +29 -0
  5. package/types/codegen/beezee/burner/genesis.d.ts +20 -0
  6. package/types/codegen/beezee/burner/params.d.ts +14 -0
  7. package/types/codegen/beezee/burner/query.d.ts +62 -0
  8. package/types/codegen/beezee/burner/query.lcd.d.ts +10 -0
  9. package/types/codegen/beezee/burner/query.rpc.Query.d.ts +19 -0
  10. package/types/codegen/beezee/burner/tx.d.ts +27 -0
  11. package/types/codegen/beezee/burner/tx.rpc.msg.d.ts +11 -0
  12. package/types/codegen/beezee/cointrunk/accepted_domain.d.ts +16 -0
  13. package/types/codegen/beezee/cointrunk/accepted_domain_proposal.d.ts +20 -0
  14. package/types/codegen/beezee/cointrunk/anon_articles_counter.d.ts +17 -0
  15. package/types/codegen/beezee/cointrunk/article.d.ts +27 -0
  16. package/types/codegen/beezee/cointrunk/events.d.ts +92 -0
  17. package/types/codegen/beezee/cointrunk/genesis.d.ts +29 -0
  18. package/types/codegen/beezee/cointrunk/params.d.ts +37 -0
  19. package/types/codegen/beezee/cointrunk/publisher.d.ts +25 -0
  20. package/types/codegen/beezee/cointrunk/publisher_proposal.d.ts +22 -0
  21. package/types/codegen/beezee/cointrunk/query.d.ts +175 -0
  22. package/types/codegen/beezee/cointrunk/query.lcd.d.ts +14 -0
  23. package/types/codegen/beezee/cointrunk/query.rpc.Query.d.ts +36 -0
  24. package/types/codegen/beezee/cointrunk/tx.d.ts +66 -0
  25. package/types/codegen/beezee/cointrunk/tx.rpc.msg.d.ts +13 -0
  26. package/types/codegen/bze/bundle.d.ts +678 -0
  27. package/types/codegen/bze/lcd.d.ts +65 -0
  28. package/types/codegen/bze/rpc.query.d.ts +205 -0
  29. package/types/codegen/bze/rpc.tx.d.ts +55 -0
  30. package/types/codegen/cosmos/app/v1alpha1/config.d.ts +84 -0
  31. package/types/codegen/cosmos/app/v1alpha1/module.d.ts +186 -0
  32. package/types/codegen/cosmos/app/v1alpha1/query.d.ts +32 -0
  33. package/types/codegen/cosmos/app/v1alpha1/query.rpc.Query.d.ts +16 -0
  34. package/types/codegen/cosmos/auth/v1beta1/auth.d.ts +74 -0
  35. package/types/codegen/cosmos/auth/v1beta1/genesis.d.ts +24 -0
  36. package/types/codegen/cosmos/auth/v1beta1/query.d.ts +238 -0
  37. package/types/codegen/cosmos/auth/v1beta1/query.lcd.d.ts +15 -0
  38. package/types/codegen/cosmos/auth/v1beta1/query.rpc.Query.d.ts +44 -0
  39. package/types/codegen/cosmos/authz/v1beta1/authz.d.ts +103 -0
  40. package/types/codegen/cosmos/authz/v1beta1/event.d.ts +51 -0
  41. package/types/codegen/cosmos/authz/v1beta1/genesis.d.ts +17 -0
  42. package/types/codegen/cosmos/authz/v1beta1/query.d.ts +129 -0
  43. package/types/codegen/cosmos/authz/v1beta1/query.lcd.d.ts +11 -0
  44. package/types/codegen/cosmos/authz/v1beta1/query.rpc.Query.d.ts +32 -0
  45. package/types/codegen/cosmos/authz/v1beta1/tx.d.ts +129 -0
  46. package/types/codegen/cosmos/authz/v1beta1/tx.rpc.msg.d.ts +30 -0
  47. package/types/codegen/cosmos/bank/v1beta1/authz.d.ts +27 -0
  48. package/types/codegen/cosmos/bank/v1beta1/bank.d.ts +235 -0
  49. package/types/codegen/cosmos/bank/v1beta1/genesis.d.ts +65 -0
  50. package/types/codegen/cosmos/bank/v1beta1/query.d.ts +433 -0
  51. package/types/codegen/cosmos/bank/v1beta1/query.lcd.d.ts +17 -0
  52. package/types/codegen/cosmos/bank/v1beta1/query.rpc.Query.d.ts +57 -0
  53. package/types/codegen/cosmos/bank/v1beta1/tx.d.ts +65 -0
  54. package/types/codegen/cosmos/bank/v1beta1/tx.rpc.msg.d.ts +15 -0
  55. package/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +374 -0
  56. package/types/codegen/cosmos/base/kv/v1beta1/kv.d.ts +33 -0
  57. package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +142 -0
  58. package/types/codegen/cosmos/base/reflection/v1beta1/reflection.d.ts +75 -0
  59. package/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts +565 -0
  60. package/types/codegen/cosmos/base/snapshots/v1beta1/snapshot.d.ts +171 -0
  61. package/types/codegen/cosmos/base/store/v1beta1/commit_info.d.ts +71 -0
  62. package/types/codegen/cosmos/base/store/v1beta1/listening.d.ts +38 -0
  63. package/types/codegen/cosmos/base/tendermint/v1beta1/query.d.ts +282 -0
  64. package/types/codegen/cosmos/base/tendermint/v1beta1/query.lcd.d.ts +14 -0
  65. package/types/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.d.ts +36 -0
  66. package/types/codegen/cosmos/base/v1beta1/coin.d.ts +85 -0
  67. package/types/codegen/cosmos/bundle.d.ts +4802 -0
  68. package/types/codegen/cosmos/capability/v1beta1/capability.d.ts +67 -0
  69. package/types/codegen/cosmos/capability/v1beta1/genesis.d.ts +51 -0
  70. package/types/codegen/cosmos/crisis/v1beta1/genesis.d.ts +25 -0
  71. package/types/codegen/cosmos/crisis/v1beta1/tx.d.ts +33 -0
  72. package/types/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.d.ts +12 -0
  73. package/types/codegen/cosmos/crypto/ed25519/keys.d.ts +49 -0
  74. package/types/codegen/cosmos/crypto/hd/v1/hd.d.ts +40 -0
  75. package/types/codegen/cosmos/crypto/keyring/v1/record.d.ts +104 -0
  76. package/types/codegen/cosmos/crypto/multisig/keys.d.ts +27 -0
  77. package/types/codegen/cosmos/crypto/multisig/v1beta1/multisig.d.ts +51 -0
  78. package/types/codegen/cosmos/crypto/secp256k1/keys.d.ts +43 -0
  79. package/types/codegen/cosmos/crypto/secp256r1/keys.d.ts +41 -0
  80. package/types/codegen/cosmos/distribution/v1beta1/distribution.d.ts +305 -0
  81. package/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts +240 -0
  82. package/types/codegen/cosmos/distribution/v1beta1/query.d.ts +421 -0
  83. package/types/codegen/cosmos/distribution/v1beta1/query.lcd.d.ts +17 -0
  84. package/types/codegen/cosmos/distribution/v1beta1/query.rpc.Query.d.ts +51 -0
  85. package/types/codegen/cosmos/distribution/v1beta1/tx.d.ts +148 -0
  86. package/types/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts +33 -0
  87. package/types/codegen/cosmos/evidence/v1beta1/evidence.d.ts +30 -0
  88. package/types/codegen/cosmos/evidence/v1beta1/genesis.d.ts +19 -0
  89. package/types/codegen/cosmos/evidence/v1beta1/query.d.ts +87 -0
  90. package/types/codegen/cosmos/evidence/v1beta1/query.lcd.d.ts +10 -0
  91. package/types/codegen/cosmos/evidence/v1beta1/query.rpc.Query.d.ts +20 -0
  92. package/types/codegen/cosmos/evidence/v1beta1/tx.d.ts +42 -0
  93. package/types/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.d.ts +15 -0
  94. package/types/codegen/cosmos/feegrant/v1beta1/feegrant.d.ts +145 -0
  95. package/types/codegen/cosmos/feegrant/v1beta1/genesis.d.ts +17 -0
  96. package/types/codegen/cosmos/feegrant/v1beta1/query.d.ts +121 -0
  97. package/types/codegen/cosmos/feegrant/v1beta1/query.lcd.d.ts +11 -0
  98. package/types/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.d.ts +27 -0
  99. package/types/codegen/cosmos/feegrant/v1beta1/tx.d.ts +80 -0
  100. package/types/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.d.ts +21 -0
  101. package/types/codegen/cosmos/genutil/v1beta1/genesis.d.ts +18 -0
  102. package/types/codegen/cosmos/gov/v1/genesis.d.ts +44 -0
  103. package/types/codegen/cosmos/gov/v1/gov.d.ts +318 -0
  104. package/types/codegen/cosmos/gov/v1/query.d.ts +330 -0
  105. package/types/codegen/cosmos/gov/v1/query.lcd.d.ts +16 -0
  106. package/types/codegen/cosmos/gov/v1/query.rpc.Query.d.ts +44 -0
  107. package/types/codegen/cosmos/gov/v1/tx.d.ts +189 -0
  108. package/types/codegen/cosmos/gov/v1/tx.rpc.msg.d.ts +27 -0
  109. package/types/codegen/cosmos/gov/v1beta1/genesis.d.ts +44 -0
  110. package/types/codegen/cosmos/gov/v1beta1/gov.d.ts +357 -0
  111. package/types/codegen/cosmos/gov/v1beta1/query.d.ts +330 -0
  112. package/types/codegen/cosmos/gov/v1beta1/query.lcd.d.ts +16 -0
  113. package/types/codegen/cosmos/gov/v1beta1/query.rpc.Query.d.ts +44 -0
  114. package/types/codegen/cosmos/gov/v1beta1/tx.d.ts +157 -0
  115. package/types/codegen/cosmos/gov/v1beta1/tx.rpc.msg.d.ts +25 -0
  116. package/types/codegen/cosmos/group/v1/events.d.ts +164 -0
  117. package/types/codegen/cosmos/group/v1/genesis.d.ts +66 -0
  118. package/types/codegen/cosmos/group/v1/query.d.ts +514 -0
  119. package/types/codegen/cosmos/group/v1/query.lcd.d.ts +21 -0
  120. package/types/codegen/cosmos/group/v1/query.rpc.Query.d.ts +64 -0
  121. package/types/codegen/cosmos/group/v1/tx.d.ts +636 -0
  122. package/types/codegen/cosmos/group/v1/tx.rpc.msg.d.ts +51 -0
  123. package/types/codegen/cosmos/group/v1/types.d.ts +560 -0
  124. package/types/codegen/cosmos/lcd.d.ts +57 -0
  125. package/types/codegen/cosmos/mint/v1beta1/genesis.d.ts +23 -0
  126. package/types/codegen/cosmos/mint/v1beta1/mint.d.ts +60 -0
  127. package/types/codegen/cosmos/mint/v1beta1/query.d.ts +110 -0
  128. package/types/codegen/cosmos/mint/v1beta1/query.lcd.d.ts +11 -0
  129. package/types/codegen/cosmos/mint/v1beta1/query.rpc.Query.d.ts +24 -0
  130. package/types/codegen/cosmos/msg/v1/msg.d.ts +1 -0
  131. package/types/codegen/cosmos/nft/v1beta1/event.d.ts +60 -0
  132. package/types/codegen/cosmos/nft/v1beta1/genesis.d.ts +42 -0
  133. package/types/codegen/cosmos/nft/v1beta1/nft.d.ts +76 -0
  134. package/types/codegen/cosmos/nft/v1beta1/query.d.ts +230 -0
  135. package/types/codegen/cosmos/nft/v1beta1/query.lcd.d.ts +15 -0
  136. package/types/codegen/cosmos/nft/v1beta1/query.rpc.Query.d.ts +43 -0
  137. package/types/codegen/cosmos/nft/v1beta1/tx.d.ts +43 -0
  138. package/types/codegen/cosmos/nft/v1beta1/tx.rpc.msg.d.ts +12 -0
  139. package/types/codegen/cosmos/orm/v1/orm.d.ts +203 -0
  140. package/types/codegen/cosmos/orm/v1alpha1/schema.d.ts +161 -0
  141. package/types/codegen/cosmos/params/v1beta1/params.d.ts +45 -0
  142. package/types/codegen/cosmos/params/v1beta1/query.d.ts +103 -0
  143. package/types/codegen/cosmos/params/v1beta1/query.lcd.d.ts +10 -0
  144. package/types/codegen/cosmos/params/v1beta1/query.rpc.Query.d.ts +23 -0
  145. package/types/codegen/cosmos/rpc.query.d.ts +187 -0
  146. package/types/codegen/cosmos/rpc.tx.d.ts +47 -0
  147. package/types/codegen/cosmos/slashing/v1beta1/genesis.d.ts +109 -0
  148. package/types/codegen/cosmos/slashing/v1beta1/query.d.ts +123 -0
  149. package/types/codegen/cosmos/slashing/v1beta1/query.lcd.d.ts +11 -0
  150. package/types/codegen/cosmos/slashing/v1beta1/query.rpc.Query.d.ts +24 -0
  151. package/types/codegen/cosmos/slashing/v1beta1/slashing.d.ts +88 -0
  152. package/types/codegen/cosmos/slashing/v1beta1/tx.d.ts +29 -0
  153. package/types/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.d.ts +16 -0
  154. package/types/codegen/cosmos/staking/v1beta1/authz.d.ts +100 -0
  155. package/types/codegen/cosmos/staking/v1beta1/genesis.d.ts +79 -0
  156. package/types/codegen/cosmos/staking/v1beta1/query.d.ts +648 -0
  157. package/types/codegen/cosmos/staking/v1beta1/query.lcd.d.ts +22 -0
  158. package/types/codegen/cosmos/staking/v1beta1/query.rpc.Query.d.ts +80 -0
  159. package/types/codegen/cosmos/staking/v1beta1/staking.d.ts +609 -0
  160. package/types/codegen/cosmos/staking/v1beta1/tx.d.ts +211 -0
  161. package/types/codegen/cosmos/staking/v1beta1/tx.rpc.msg.d.ts +33 -0
  162. package/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts +213 -0
  163. package/types/codegen/cosmos/tx/v1beta1/service.d.ts +359 -0
  164. package/types/codegen/cosmos/tx/v1beta1/service.lcd.d.ts +11 -0
  165. package/types/codegen/cosmos/tx/v1beta1/service.rpc.Service.d.ts +36 -0
  166. package/types/codegen/cosmos/tx/v1beta1/tx.d.ts +629 -0
  167. package/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +253 -0
  168. package/types/codegen/cosmos/upgrade/v1beta1/query.lcd.d.ts +13 -0
  169. package/types/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.d.ts +43 -0
  170. package/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +98 -0
  171. package/types/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts +24 -0
  172. package/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +174 -0
  173. package/types/codegen/cosmos/vesting/v1beta1/tx.d.ts +130 -0
  174. package/types/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.d.ts +27 -0
  175. package/types/codegen/cosmos/vesting/v1beta1/vesting.d.ts +148 -0
  176. package/types/codegen/cosmos_proto/bundle.d.ts +21 -0
  177. package/types/codegen/cosmos_proto/cosmos.d.ts +127 -0
  178. package/types/codegen/extern.d.ts +9 -0
  179. package/types/codegen/gogoproto/bundle.d.ts +1 -0
  180. package/types/codegen/gogoproto/gogo.d.ts +1 -0
  181. package/types/codegen/google/api/annotations.d.ts +1 -0
  182. package/types/codegen/google/api/http.d.ts +726 -0
  183. package/types/codegen/google/bundle.d.ts +274 -0
  184. package/types/codegen/google/protobuf/any.d.ts +238 -0
  185. package/types/codegen/google/protobuf/descriptor.d.ts +1779 -0
  186. package/types/codegen/google/protobuf/duration.d.ts +163 -0
  187. package/types/codegen/google/protobuf/empty.d.ts +34 -0
  188. package/types/codegen/google/protobuf/timestamp.d.ts +207 -0
  189. package/types/codegen/helpers.d.ts +82 -0
  190. package/types/codegen/index.d.ts +12 -0
  191. package/types/codegen/tendermint/abci/types.d.ts +991 -0
  192. package/types/codegen/tendermint/bundle.d.ts +646 -0
  193. package/types/codegen/tendermint/crypto/keys.d.ts +18 -0
  194. package/types/codegen/tendermint/crypto/proof.d.ts +99 -0
  195. package/types/codegen/tendermint/libs/bits/types.d.ts +17 -0
  196. package/types/codegen/tendermint/p2p/types.d.ts +98 -0
  197. package/types/codegen/tendermint/types/block.d.ts +22 -0
  198. package/types/codegen/tendermint/types/evidence.d.ts +79 -0
  199. package/types/codegen/tendermint/types/params.d.ts +193 -0
  200. package/types/codegen/tendermint/types/types.d.ts +353 -0
  201. package/types/codegen/tendermint/types/validator.d.ts +54 -0
  202. package/types/codegen/tendermint/version/types.d.ts +52 -0
  203. package/types/index.d.ts +1 -0
@@ -0,0 +1,65 @@
1
+ export declare const createLCDClient: ({ restEndpoint }: {
2
+ restEndpoint: string;
3
+ }) => Promise<{
4
+ bze: {
5
+ burner: {
6
+ v1: import("../beezee/burner/query.lcd").LCDQueryClient;
7
+ };
8
+ cointrunk: {
9
+ v1: import("../beezee/cointrunk/query.lcd").LCDQueryClient;
10
+ };
11
+ };
12
+ cosmos: {
13
+ auth: {
14
+ v1beta1: import("../cosmos/auth/v1beta1/query.lcd").LCDQueryClient;
15
+ };
16
+ authz: {
17
+ v1beta1: import("../cosmos/authz/v1beta1/query.lcd").LCDQueryClient;
18
+ };
19
+ bank: {
20
+ v1beta1: import("../cosmos/bank/v1beta1/query.lcd").LCDQueryClient;
21
+ };
22
+ base: {
23
+ tendermint: {
24
+ v1beta1: import("../cosmos/base/tendermint/v1beta1/query.lcd").LCDQueryClient;
25
+ };
26
+ };
27
+ distribution: {
28
+ v1beta1: import("../cosmos/distribution/v1beta1/query.lcd").LCDQueryClient;
29
+ };
30
+ evidence: {
31
+ v1beta1: import("../cosmos/evidence/v1beta1/query.lcd").LCDQueryClient;
32
+ };
33
+ feegrant: {
34
+ v1beta1: import("../cosmos/feegrant/v1beta1/query.lcd").LCDQueryClient;
35
+ };
36
+ gov: {
37
+ v1: import("../cosmos/gov/v1/query.lcd").LCDQueryClient;
38
+ v1beta1: import("../cosmos/gov/v1beta1/query.lcd").LCDQueryClient;
39
+ };
40
+ group: {
41
+ v1: import("../cosmos/group/v1/query.lcd").LCDQueryClient;
42
+ };
43
+ mint: {
44
+ v1beta1: import("../cosmos/mint/v1beta1/query.lcd").LCDQueryClient;
45
+ };
46
+ nft: {
47
+ v1beta1: import("../cosmos/nft/v1beta1/query.lcd").LCDQueryClient;
48
+ };
49
+ params: {
50
+ v1beta1: import("../cosmos/params/v1beta1/query.lcd").LCDQueryClient;
51
+ };
52
+ slashing: {
53
+ v1beta1: import("../cosmos/slashing/v1beta1/query.lcd").LCDQueryClient;
54
+ };
55
+ staking: {
56
+ v1beta1: import("../cosmos/staking/v1beta1/query.lcd").LCDQueryClient;
57
+ };
58
+ tx: {
59
+ v1beta1: import("../cosmos/tx/v1beta1/service.lcd").LCDQueryClient;
60
+ };
61
+ upgrade: {
62
+ v1beta1: import("../cosmos/upgrade/v1beta1/query.lcd").LCDQueryClient;
63
+ };
64
+ };
65
+ }>;
@@ -0,0 +1,205 @@
1
+ import { HttpEndpoint } from "@cosmjs/tendermint-rpc";
2
+ export declare const createRPCQueryClient: ({ rpcEndpoint }: {
3
+ rpcEndpoint: string | HttpEndpoint;
4
+ }) => Promise<{
5
+ bze: {
6
+ burner: {
7
+ v1: {
8
+ params(request?: import("../beezee/burner/query").QueryParamsRequest): Promise<import("../beezee/burner/query").QueryParamsResponse>;
9
+ allBurnedCoins(request?: import("../beezee/burner/query").QueryAllBurnedCoinsRequest): Promise<import("../beezee/burner/query").QueryAllBurnedCoinsResponse>;
10
+ };
11
+ };
12
+ cointrunk: {
13
+ v1: {
14
+ params(request?: import("../beezee/cointrunk/query").QueryParamsRequest): Promise<import("../beezee/cointrunk/query").QueryParamsResponse>;
15
+ acceptedDomain(request?: import("../beezee/cointrunk/query").QueryAcceptedDomainRequest): Promise<import("../beezee/cointrunk/query").QueryAcceptedDomainResponse>;
16
+ publisher(request?: import("../beezee/cointrunk/query").QueryPublisherRequest): Promise<import("../beezee/cointrunk/query").QueryPublisherResponse>;
17
+ publisherByIndex(request: import("../beezee/cointrunk/query").QueryPublisherByIndexRequest): Promise<import("../beezee/cointrunk/query").QueryPublisherByIndexResponse>;
18
+ allArticles(request?: import("../beezee/cointrunk/query").QueryAllArticlesRequest): Promise<import("../beezee/cointrunk/query").QueryAllArticlesResponse>;
19
+ allAnonArticlesCounters(request?: import("../beezee/cointrunk/query").QueryAllAnonArticlesCountersRequest): Promise<import("../beezee/cointrunk/query").QueryAllAnonArticlesCountersResponse>;
20
+ };
21
+ };
22
+ };
23
+ cosmos: {
24
+ app: {
25
+ v1alpha1: {
26
+ config(request?: import("../cosmos/app/v1alpha1/query").QueryConfigRequest): Promise<import("../cosmos/app/v1alpha1/query").QueryConfigResponse>;
27
+ };
28
+ };
29
+ auth: {
30
+ v1beta1: {
31
+ accounts(request?: import("../cosmos/auth/v1beta1/query").QueryAccountsRequest): Promise<import("../cosmos/auth/v1beta1/query").QueryAccountsResponse>;
32
+ account(request: import("../cosmos/auth/v1beta1/query").QueryAccountRequest): Promise<import("../cosmos/auth/v1beta1/query").QueryAccountResponse>;
33
+ params(request?: import("../cosmos/auth/v1beta1/query").QueryParamsRequest): Promise<import("../cosmos/auth/v1beta1/query").QueryParamsResponse>;
34
+ moduleAccounts(request?: import("../cosmos/auth/v1beta1/query").QueryModuleAccountsRequest): Promise<import("../cosmos/auth/v1beta1/query").QueryModuleAccountsResponse>;
35
+ bech32Prefix(request?: import("../cosmos/auth/v1beta1/query").Bech32PrefixRequest): Promise<import("../cosmos/auth/v1beta1/query").Bech32PrefixResponse>;
36
+ addressBytesToString(request: import("../cosmos/auth/v1beta1/query").AddressBytesToStringRequest): Promise<import("../cosmos/auth/v1beta1/query").AddressBytesToStringResponse>;
37
+ addressStringToBytes(request: import("../cosmos/auth/v1beta1/query").AddressStringToBytesRequest): Promise<import("../cosmos/auth/v1beta1/query").AddressStringToBytesResponse>;
38
+ };
39
+ };
40
+ authz: {
41
+ v1beta1: {
42
+ grants(request: import("../cosmos/authz/v1beta1/query").QueryGrantsRequest): Promise<import("../cosmos/authz/v1beta1/query").QueryGrantsResponse>;
43
+ granterGrants(request: import("../cosmos/authz/v1beta1/query").QueryGranterGrantsRequest): Promise<import("../cosmos/authz/v1beta1/query").QueryGranterGrantsResponse>;
44
+ granteeGrants(request: import("../cosmos/authz/v1beta1/query").QueryGranteeGrantsRequest): Promise<import("../cosmos/authz/v1beta1/query").QueryGranteeGrantsResponse>;
45
+ };
46
+ };
47
+ bank: {
48
+ v1beta1: {
49
+ balance(request: import("../cosmos/bank/v1beta1/query").QueryBalanceRequest): Promise<import("../cosmos/bank/v1beta1/query").QueryBalanceResponse>;
50
+ allBalances(request: import("../cosmos/bank/v1beta1/query").QueryAllBalancesRequest): Promise<import("../cosmos/bank/v1beta1/query").QueryAllBalancesResponse>;
51
+ spendableBalances(request: import("../cosmos/bank/v1beta1/query").QuerySpendableBalancesRequest): Promise<import("../cosmos/bank/v1beta1/query").QuerySpendableBalancesResponse>;
52
+ totalSupply(request?: import("../cosmos/bank/v1beta1/query").QueryTotalSupplyRequest): Promise<import("../cosmos/bank/v1beta1/query").QueryTotalSupplyResponse>;
53
+ supplyOf(request: import("../cosmos/bank/v1beta1/query").QuerySupplyOfRequest): Promise<import("../cosmos/bank/v1beta1/query").QuerySupplyOfResponse>;
54
+ params(request?: import("../cosmos/bank/v1beta1/query").QueryParamsRequest): Promise<import("../cosmos/bank/v1beta1/query").QueryParamsResponse>;
55
+ denomMetadata(request: import("../cosmos/bank/v1beta1/query").QueryDenomMetadataRequest): Promise<import("../cosmos/bank/v1beta1/query").QueryDenomMetadataResponse>;
56
+ denomsMetadata(request?: import("../cosmos/bank/v1beta1/query").QueryDenomsMetadataRequest): Promise<import("../cosmos/bank/v1beta1/query").QueryDenomsMetadataResponse>;
57
+ denomOwners(request: import("../cosmos/bank/v1beta1/query").QueryDenomOwnersRequest): Promise<import("../cosmos/bank/v1beta1/query").QueryDenomOwnersResponse>;
58
+ };
59
+ };
60
+ base: {
61
+ tendermint: {
62
+ v1beta1: {
63
+ getNodeInfo(request?: import("../cosmos/base/tendermint/v1beta1/query").GetNodeInfoRequest): Promise<import("../cosmos/base/tendermint/v1beta1/query").GetNodeInfoResponse>;
64
+ getSyncing(request?: import("../cosmos/base/tendermint/v1beta1/query").GetSyncingRequest): Promise<import("../cosmos/base/tendermint/v1beta1/query").GetSyncingResponse>;
65
+ getLatestBlock(request?: import("../cosmos/base/tendermint/v1beta1/query").GetLatestBlockRequest): Promise<import("../cosmos/base/tendermint/v1beta1/query").GetLatestBlockResponse>;
66
+ getBlockByHeight(request: import("../cosmos/base/tendermint/v1beta1/query").GetBlockByHeightRequest): Promise<import("../cosmos/base/tendermint/v1beta1/query").GetBlockByHeightResponse>;
67
+ getLatestValidatorSet(request?: import("../cosmos/base/tendermint/v1beta1/query").GetLatestValidatorSetRequest): Promise<import("../cosmos/base/tendermint/v1beta1/query").GetLatestValidatorSetResponse>;
68
+ getValidatorSetByHeight(request: import("../cosmos/base/tendermint/v1beta1/query").GetValidatorSetByHeightRequest): Promise<import("../cosmos/base/tendermint/v1beta1/query").GetValidatorSetByHeightResponse>;
69
+ };
70
+ };
71
+ };
72
+ distribution: {
73
+ v1beta1: {
74
+ params(request?: import("../cosmos/distribution/v1beta1/query").QueryParamsRequest): Promise<import("../cosmos/distribution/v1beta1/query").QueryParamsResponse>;
75
+ validatorOutstandingRewards(request: import("../cosmos/distribution/v1beta1/query").QueryValidatorOutstandingRewardsRequest): Promise<import("../cosmos/distribution/v1beta1/query").QueryValidatorOutstandingRewardsResponse>;
76
+ validatorCommission(request: import("../cosmos/distribution/v1beta1/query").QueryValidatorCommissionRequest): Promise<import("../cosmos/distribution/v1beta1/query").QueryValidatorCommissionResponse>;
77
+ validatorSlashes(request: import("../cosmos/distribution/v1beta1/query").QueryValidatorSlashesRequest): Promise<import("../cosmos/distribution/v1beta1/query").QueryValidatorSlashesResponse>;
78
+ delegationRewards(request: import("../cosmos/distribution/v1beta1/query").QueryDelegationRewardsRequest): Promise<import("../cosmos/distribution/v1beta1/query").QueryDelegationRewardsResponse>;
79
+ delegationTotalRewards(request: import("../cosmos/distribution/v1beta1/query").QueryDelegationTotalRewardsRequest): Promise<import("../cosmos/distribution/v1beta1/query").QueryDelegationTotalRewardsResponse>;
80
+ delegatorValidators(request: import("../cosmos/distribution/v1beta1/query").QueryDelegatorValidatorsRequest): Promise<import("../cosmos/distribution/v1beta1/query").QueryDelegatorValidatorsResponse>;
81
+ delegatorWithdrawAddress(request: import("../cosmos/distribution/v1beta1/query").QueryDelegatorWithdrawAddressRequest): Promise<import("../cosmos/distribution/v1beta1/query").QueryDelegatorWithdrawAddressResponse>;
82
+ communityPool(request?: import("../cosmos/distribution/v1beta1/query").QueryCommunityPoolRequest): Promise<import("../cosmos/distribution/v1beta1/query").QueryCommunityPoolResponse>;
83
+ };
84
+ };
85
+ evidence: {
86
+ v1beta1: {
87
+ evidence(request: import("../cosmos/evidence/v1beta1/query").QueryEvidenceRequest): Promise<import("../cosmos/evidence/v1beta1/query").QueryEvidenceResponse>;
88
+ allEvidence(request?: import("../cosmos/evidence/v1beta1/query").QueryAllEvidenceRequest): Promise<import("../cosmos/evidence/v1beta1/query").QueryAllEvidenceResponse>;
89
+ };
90
+ };
91
+ feegrant: {
92
+ v1beta1: {
93
+ allowance(request: import("../cosmos/feegrant/v1beta1/query").QueryAllowanceRequest): Promise<import("../cosmos/feegrant/v1beta1/query").QueryAllowanceResponse>;
94
+ allowances(request: import("../cosmos/feegrant/v1beta1/query").QueryAllowancesRequest): Promise<import("../cosmos/feegrant/v1beta1/query").QueryAllowancesResponse>;
95
+ allowancesByGranter(request: import("../cosmos/feegrant/v1beta1/query").QueryAllowancesByGranterRequest): Promise<import("../cosmos/feegrant/v1beta1/query").QueryAllowancesByGranterResponse>;
96
+ };
97
+ };
98
+ gov: {
99
+ v1: {
100
+ proposal(request: import("../cosmos/gov/v1/query").QueryProposalRequest): Promise<import("../cosmos/gov/v1/query").QueryProposalResponse>;
101
+ proposals(request: import("../cosmos/gov/v1/query").QueryProposalsRequest): Promise<import("../cosmos/gov/v1/query").QueryProposalsResponse>;
102
+ vote(request: import("../cosmos/gov/v1/query").QueryVoteRequest): Promise<import("../cosmos/gov/v1/query").QueryVoteResponse>;
103
+ votes(request: import("../cosmos/gov/v1/query").QueryVotesRequest): Promise<import("../cosmos/gov/v1/query").QueryVotesResponse>;
104
+ params(request: import("../cosmos/gov/v1/query").QueryParamsRequest): Promise<import("../cosmos/gov/v1/query").QueryParamsResponse>;
105
+ deposit(request: import("../cosmos/gov/v1/query").QueryDepositRequest): Promise<import("../cosmos/gov/v1/query").QueryDepositResponse>;
106
+ deposits(request: import("../cosmos/gov/v1/query").QueryDepositsRequest): Promise<import("../cosmos/gov/v1/query").QueryDepositsResponse>;
107
+ tallyResult(request: import("../cosmos/gov/v1/query").QueryTallyResultRequest): Promise<import("../cosmos/gov/v1/query").QueryTallyResultResponse>;
108
+ };
109
+ v1beta1: {
110
+ proposal(request: import("../cosmos/gov/v1beta1/query").QueryProposalRequest): Promise<import("../cosmos/gov/v1beta1/query").QueryProposalResponse>;
111
+ proposals(request: import("../cosmos/gov/v1beta1/query").QueryProposalsRequest): Promise<import("../cosmos/gov/v1beta1/query").QueryProposalsResponse>;
112
+ vote(request: import("../cosmos/gov/v1beta1/query").QueryVoteRequest): Promise<import("../cosmos/gov/v1beta1/query").QueryVoteResponse>;
113
+ votes(request: import("../cosmos/gov/v1beta1/query").QueryVotesRequest): Promise<import("../cosmos/gov/v1beta1/query").QueryVotesResponse>;
114
+ params(request: import("../cosmos/gov/v1beta1/query").QueryParamsRequest): Promise<import("../cosmos/gov/v1beta1/query").QueryParamsResponse>;
115
+ deposit(request: import("../cosmos/gov/v1beta1/query").QueryDepositRequest): Promise<import("../cosmos/gov/v1beta1/query").QueryDepositResponse>;
116
+ deposits(request: import("../cosmos/gov/v1beta1/query").QueryDepositsRequest): Promise<import("../cosmos/gov/v1beta1/query").QueryDepositsResponse>;
117
+ tallyResult(request: import("../cosmos/gov/v1beta1/query").QueryTallyResultRequest): Promise<import("../cosmos/gov/v1beta1/query").QueryTallyResultResponse>;
118
+ };
119
+ };
120
+ group: {
121
+ v1: {
122
+ groupInfo(request: import("../cosmos/group/v1/query").QueryGroupInfoRequest): Promise<import("../cosmos/group/v1/query").QueryGroupInfoResponse>;
123
+ groupPolicyInfo(request: import("../cosmos/group/v1/query").QueryGroupPolicyInfoRequest): Promise<import("../cosmos/group/v1/query").QueryGroupPolicyInfoResponse>;
124
+ groupMembers(request: import("../cosmos/group/v1/query").QueryGroupMembersRequest): Promise<import("../cosmos/group/v1/query").QueryGroupMembersResponse>;
125
+ groupsByAdmin(request: import("../cosmos/group/v1/query").QueryGroupsByAdminRequest): Promise<import("../cosmos/group/v1/query").QueryGroupsByAdminResponse>;
126
+ groupPoliciesByGroup(request: import("../cosmos/group/v1/query").QueryGroupPoliciesByGroupRequest): Promise<import("../cosmos/group/v1/query").QueryGroupPoliciesByGroupResponse>;
127
+ groupPoliciesByAdmin(request: import("../cosmos/group/v1/query").QueryGroupPoliciesByAdminRequest): Promise<import("../cosmos/group/v1/query").QueryGroupPoliciesByAdminResponse>;
128
+ proposal(request: import("../cosmos/group/v1/query").QueryProposalRequest): Promise<import("../cosmos/group/v1/query").QueryProposalResponse>;
129
+ proposalsByGroupPolicy(request: import("../cosmos/group/v1/query").QueryProposalsByGroupPolicyRequest): Promise<import("../cosmos/group/v1/query").QueryProposalsByGroupPolicyResponse>;
130
+ voteByProposalVoter(request: import("../cosmos/group/v1/query").QueryVoteByProposalVoterRequest): Promise<import("../cosmos/group/v1/query").QueryVoteByProposalVoterResponse>;
131
+ votesByProposal(request: import("../cosmos/group/v1/query").QueryVotesByProposalRequest): Promise<import("../cosmos/group/v1/query").QueryVotesByProposalResponse>;
132
+ votesByVoter(request: import("../cosmos/group/v1/query").QueryVotesByVoterRequest): Promise<import("../cosmos/group/v1/query").QueryVotesByVoterResponse>;
133
+ groupsByMember(request: import("../cosmos/group/v1/query").QueryGroupsByMemberRequest): Promise<import("../cosmos/group/v1/query").QueryGroupsByMemberResponse>;
134
+ tallyResult(request: import("../cosmos/group/v1/query").QueryTallyResultRequest): Promise<import("../cosmos/group/v1/query").QueryTallyResultResponse>;
135
+ };
136
+ };
137
+ mint: {
138
+ v1beta1: {
139
+ params(request?: import("../cosmos/mint/v1beta1/query").QueryParamsRequest): Promise<import("../cosmos/mint/v1beta1/query").QueryParamsResponse>;
140
+ inflation(request?: import("../cosmos/mint/v1beta1/query").QueryInflationRequest): Promise<import("../cosmos/mint/v1beta1/query").QueryInflationResponse>;
141
+ annualProvisions(request?: import("../cosmos/mint/v1beta1/query").QueryAnnualProvisionsRequest): Promise<import("../cosmos/mint/v1beta1/query").QueryAnnualProvisionsResponse>;
142
+ };
143
+ };
144
+ nft: {
145
+ v1beta1: {
146
+ balance(request: import("../cosmos/nft/v1beta1/query").QueryBalanceRequest): Promise<import("../cosmos/nft/v1beta1/query").QueryBalanceResponse>;
147
+ owner(request: import("../cosmos/nft/v1beta1/query").QueryOwnerRequest): Promise<import("../cosmos/nft/v1beta1/query").QueryOwnerResponse>;
148
+ supply(request: import("../cosmos/nft/v1beta1/query").QuerySupplyRequest): Promise<import("../cosmos/nft/v1beta1/query").QuerySupplyResponse>;
149
+ nFTs(request: import("../cosmos/nft/v1beta1/query").QueryNFTsRequest): Promise<import("../cosmos/nft/v1beta1/query").QueryNFTsResponse>;
150
+ nFT(request: import("../cosmos/nft/v1beta1/query").QueryNFTRequest): Promise<import("../cosmos/nft/v1beta1/query").QueryNFTResponse>;
151
+ class(request: import("../cosmos/nft/v1beta1/query").QueryClassRequest): Promise<import("../cosmos/nft/v1beta1/query").QueryClassResponse>;
152
+ classes(request?: import("../cosmos/nft/v1beta1/query").QueryClassesRequest): Promise<import("../cosmos/nft/v1beta1/query").QueryClassesResponse>;
153
+ };
154
+ };
155
+ params: {
156
+ v1beta1: {
157
+ params(request: import("../cosmos/params/v1beta1/query").QueryParamsRequest): Promise<import("../cosmos/params/v1beta1/query").QueryParamsResponse>;
158
+ subspaces(request?: import("../cosmos/params/v1beta1/query").QuerySubspacesRequest): Promise<import("../cosmos/params/v1beta1/query").QuerySubspacesResponse>;
159
+ };
160
+ };
161
+ slashing: {
162
+ v1beta1: {
163
+ params(request?: import("../cosmos/slashing/v1beta1/query").QueryParamsRequest): Promise<import("../cosmos/slashing/v1beta1/query").QueryParamsResponse>;
164
+ signingInfo(request: import("../cosmos/slashing/v1beta1/query").QuerySigningInfoRequest): Promise<import("../cosmos/slashing/v1beta1/query").QuerySigningInfoResponse>;
165
+ signingInfos(request?: import("../cosmos/slashing/v1beta1/query").QuerySigningInfosRequest): Promise<import("../cosmos/slashing/v1beta1/query").QuerySigningInfosResponse>;
166
+ };
167
+ };
168
+ staking: {
169
+ v1beta1: {
170
+ validators(request: import("../cosmos/staking/v1beta1/query").QueryValidatorsRequest): Promise<import("../cosmos/staking/v1beta1/query").QueryValidatorsResponse>;
171
+ validator(request: import("../cosmos/staking/v1beta1/query").QueryValidatorRequest): Promise<import("../cosmos/staking/v1beta1/query").QueryValidatorResponse>;
172
+ validatorDelegations(request: import("../cosmos/staking/v1beta1/query").QueryValidatorDelegationsRequest): Promise<import("../cosmos/staking/v1beta1/query").QueryValidatorDelegationsResponse>;
173
+ validatorUnbondingDelegations(request: import("../cosmos/staking/v1beta1/query").QueryValidatorUnbondingDelegationsRequest): Promise<import("../cosmos/staking/v1beta1/query").QueryValidatorUnbondingDelegationsResponse>;
174
+ delegation(request: import("../cosmos/staking/v1beta1/query").QueryDelegationRequest): Promise<import("../cosmos/staking/v1beta1/query").QueryDelegationResponse>;
175
+ unbondingDelegation(request: import("../cosmos/staking/v1beta1/query").QueryUnbondingDelegationRequest): Promise<import("../cosmos/staking/v1beta1/query").QueryUnbondingDelegationResponse>;
176
+ delegatorDelegations(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorDelegationsRequest): Promise<import("../cosmos/staking/v1beta1/query").QueryDelegatorDelegationsResponse>;
177
+ delegatorUnbondingDelegations(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorUnbondingDelegationsRequest): Promise<import("../cosmos/staking/v1beta1/query").QueryDelegatorUnbondingDelegationsResponse>;
178
+ redelegations(request: import("../cosmos/staking/v1beta1/query").QueryRedelegationsRequest): Promise<import("../cosmos/staking/v1beta1/query").QueryRedelegationsResponse>;
179
+ delegatorValidators(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorValidatorsRequest): Promise<import("../cosmos/staking/v1beta1/query").QueryDelegatorValidatorsResponse>;
180
+ delegatorValidator(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorValidatorRequest): Promise<import("../cosmos/staking/v1beta1/query").QueryDelegatorValidatorResponse>;
181
+ historicalInfo(request: import("../cosmos/staking/v1beta1/query").QueryHistoricalInfoRequest): Promise<import("../cosmos/staking/v1beta1/query").QueryHistoricalInfoResponse>;
182
+ pool(request?: import("../cosmos/staking/v1beta1/query").QueryPoolRequest): Promise<import("../cosmos/staking/v1beta1/query").QueryPoolResponse>;
183
+ params(request?: import("../cosmos/staking/v1beta1/query").QueryParamsRequest): Promise<import("../cosmos/staking/v1beta1/query").QueryParamsResponse>;
184
+ };
185
+ };
186
+ tx: {
187
+ v1beta1: {
188
+ simulate(request: import("../cosmos/tx/v1beta1/service").SimulateRequest): Promise<import("../cosmos/tx/v1beta1/service").SimulateResponse>;
189
+ getTx(request: import("../cosmos/tx/v1beta1/service").GetTxRequest): Promise<import("../cosmos/tx/v1beta1/service").GetTxResponse>;
190
+ broadcastTx(request: import("../cosmos/tx/v1beta1/service").BroadcastTxRequest): Promise<import("../cosmos/tx/v1beta1/service").BroadcastTxResponse>;
191
+ getTxsEvent(request: import("../cosmos/tx/v1beta1/service").GetTxsEventRequest): Promise<import("../cosmos/tx/v1beta1/service").GetTxsEventResponse>;
192
+ getBlockWithTxs(request: import("../cosmos/tx/v1beta1/service").GetBlockWithTxsRequest): Promise<import("../cosmos/tx/v1beta1/service").GetBlockWithTxsResponse>;
193
+ };
194
+ };
195
+ upgrade: {
196
+ v1beta1: {
197
+ currentPlan(request?: import("../cosmos/upgrade/v1beta1/query").QueryCurrentPlanRequest): Promise<import("../cosmos/upgrade/v1beta1/query").QueryCurrentPlanResponse>;
198
+ appliedPlan(request: import("../cosmos/upgrade/v1beta1/query").QueryAppliedPlanRequest): Promise<import("../cosmos/upgrade/v1beta1/query").QueryAppliedPlanResponse>;
199
+ upgradedConsensusState(request: import("../cosmos/upgrade/v1beta1/query").QueryUpgradedConsensusStateRequest): Promise<import("../cosmos/upgrade/v1beta1/query").QueryUpgradedConsensusStateResponse>;
200
+ moduleVersions(request: import("../cosmos/upgrade/v1beta1/query").QueryModuleVersionsRequest): Promise<import("../cosmos/upgrade/v1beta1/query").QueryModuleVersionsResponse>;
201
+ authority(request?: import("../cosmos/upgrade/v1beta1/query").QueryAuthorityRequest): Promise<import("../cosmos/upgrade/v1beta1/query").QueryAuthorityResponse>;
202
+ };
203
+ };
204
+ };
205
+ }>;
@@ -0,0 +1,55 @@
1
+ import { Rpc } from "../helpers";
2
+ export declare const createRPCMsgClient: ({ rpc }: {
3
+ rpc: Rpc;
4
+ }) => Promise<{
5
+ bze: {
6
+ burner: {
7
+ v1: import("../beezee/burner/tx.rpc.msg").MsgClientImpl;
8
+ };
9
+ cointrunk: {
10
+ v1: import("../beezee/cointrunk/tx.rpc.msg").MsgClientImpl;
11
+ };
12
+ };
13
+ cosmos: {
14
+ authz: {
15
+ v1beta1: import("../cosmos/authz/v1beta1/tx.rpc.msg").MsgClientImpl;
16
+ };
17
+ bank: {
18
+ v1beta1: import("../cosmos/bank/v1beta1/tx.rpc.msg").MsgClientImpl;
19
+ };
20
+ crisis: {
21
+ v1beta1: import("../cosmos/crisis/v1beta1/tx.rpc.msg").MsgClientImpl;
22
+ };
23
+ distribution: {
24
+ v1beta1: import("../cosmos/distribution/v1beta1/tx.rpc.msg").MsgClientImpl;
25
+ };
26
+ evidence: {
27
+ v1beta1: import("../cosmos/evidence/v1beta1/tx.rpc.msg").MsgClientImpl;
28
+ };
29
+ feegrant: {
30
+ v1beta1: import("../cosmos/feegrant/v1beta1/tx.rpc.msg").MsgClientImpl;
31
+ };
32
+ gov: {
33
+ v1: import("../cosmos/gov/v1/tx.rpc.msg").MsgClientImpl;
34
+ v1beta1: import("../cosmos/gov/v1beta1/tx.rpc.msg").MsgClientImpl;
35
+ };
36
+ group: {
37
+ v1: import("../cosmos/group/v1/tx.rpc.msg").MsgClientImpl;
38
+ };
39
+ nft: {
40
+ v1beta1: import("../cosmos/nft/v1beta1/tx.rpc.msg").MsgClientImpl;
41
+ };
42
+ slashing: {
43
+ v1beta1: import("../cosmos/slashing/v1beta1/tx.rpc.msg").MsgClientImpl;
44
+ };
45
+ staking: {
46
+ v1beta1: import("../cosmos/staking/v1beta1/tx.rpc.msg").MsgClientImpl;
47
+ };
48
+ upgrade: {
49
+ v1beta1: import("../cosmos/upgrade/v1beta1/tx.rpc.msg").MsgClientImpl;
50
+ };
51
+ vesting: {
52
+ v1beta1: import("../cosmos/vesting/v1beta1/tx.rpc.msg").MsgClientImpl;
53
+ };
54
+ };
55
+ }>;
@@ -0,0 +1,84 @@
1
+ import { Any, AnySDKType } from "../../../google/protobuf/any";
2
+ import * as _m0 from "protobufjs/minimal";
3
+ /**
4
+ * Config represents the configuration for a Cosmos SDK ABCI app.
5
+ * It is intended that all state machine logic including the version of
6
+ * baseapp and tx handlers (and possibly even Tendermint) that an app needs
7
+ * can be described in a config object. For compatibility, the framework should
8
+ * allow a mixture of declarative and imperative app wiring, however, apps
9
+ * that strive for the maximum ease of maintainability should be able to describe
10
+ * their state machine with a config object alone.
11
+ */
12
+ export interface Config {
13
+ /** modules are the module configurations for the app. */
14
+ modules: ModuleConfig[];
15
+ }
16
+ /**
17
+ * Config represents the configuration for a Cosmos SDK ABCI app.
18
+ * It is intended that all state machine logic including the version of
19
+ * baseapp and tx handlers (and possibly even Tendermint) that an app needs
20
+ * can be described in a config object. For compatibility, the framework should
21
+ * allow a mixture of declarative and imperative app wiring, however, apps
22
+ * that strive for the maximum ease of maintainability should be able to describe
23
+ * their state machine with a config object alone.
24
+ */
25
+ export interface ConfigSDKType {
26
+ /** modules are the module configurations for the app. */
27
+ modules: ModuleConfigSDKType[];
28
+ }
29
+ /** ModuleConfig is a module configuration for an app. */
30
+ export interface ModuleConfig {
31
+ /**
32
+ * name is the unique name of the module within the app. It should be a name
33
+ * that persists between different versions of a module so that modules
34
+ * can be smoothly upgraded to new versions.
35
+ *
36
+ * For example, for the module cosmos.bank.module.v1.Module, we may chose
37
+ * to simply name the module "bank" in the app. When we upgrade to
38
+ * cosmos.bank.module.v2.Module, the app-specific name "bank" stays the same
39
+ * and the framework knows that the v2 module should receive all the same state
40
+ * that the v1 module had. Note: modules should provide info on which versions
41
+ * they can migrate from in the ModuleDescriptor.can_migration_from field.
42
+ */
43
+ name: string;
44
+ /**
45
+ * config is the config object for the module. Module config messages should
46
+ * define a ModuleDescriptor using the cosmos.app.v1alpha1.is_module extension.
47
+ */
48
+ config?: Any;
49
+ }
50
+ /** ModuleConfig is a module configuration for an app. */
51
+ export interface ModuleConfigSDKType {
52
+ /**
53
+ * name is the unique name of the module within the app. It should be a name
54
+ * that persists between different versions of a module so that modules
55
+ * can be smoothly upgraded to new versions.
56
+ *
57
+ * For example, for the module cosmos.bank.module.v1.Module, we may chose
58
+ * to simply name the module "bank" in the app. When we upgrade to
59
+ * cosmos.bank.module.v2.Module, the app-specific name "bank" stays the same
60
+ * and the framework knows that the v2 module should receive all the same state
61
+ * that the v1 module had. Note: modules should provide info on which versions
62
+ * they can migrate from in the ModuleDescriptor.can_migration_from field.
63
+ */
64
+ name: string;
65
+ /**
66
+ * config is the config object for the module. Module config messages should
67
+ * define a ModuleDescriptor using the cosmos.app.v1alpha1.is_module extension.
68
+ */
69
+ config?: AnySDKType;
70
+ }
71
+ export declare const Config: {
72
+ encode(message: Config, writer?: _m0.Writer): _m0.Writer;
73
+ decode(input: _m0.Reader | Uint8Array, length?: number): Config;
74
+ fromJSON(object: any): Config;
75
+ toJSON(message: Config): unknown;
76
+ fromPartial(object: Partial<Config>): Config;
77
+ };
78
+ export declare const ModuleConfig: {
79
+ encode(message: ModuleConfig, writer?: _m0.Writer): _m0.Writer;
80
+ decode(input: _m0.Reader | Uint8Array, length?: number): ModuleConfig;
81
+ fromJSON(object: any): ModuleConfig;
82
+ toJSON(message: ModuleConfig): unknown;
83
+ fromPartial(object: Partial<ModuleConfig>): ModuleConfig;
84
+ };
@@ -0,0 +1,186 @@
1
+ import * as _m0 from "protobufjs/minimal";
2
+ /** ModuleDescriptor describes an app module. */
3
+ export interface ModuleDescriptor {
4
+ /**
5
+ * go_import names the package that should be imported by an app to load the
6
+ * module in the runtime module registry. Either go_import must be defined here
7
+ * or the go_package option must be defined at the file level to indicate
8
+ * to users where to location the module implementation. go_import takes
9
+ * precedence over go_package when both are defined.
10
+ */
11
+ goImport: string;
12
+ /**
13
+ * use_package refers to a protobuf package that this module
14
+ * uses and exposes to the world. In an app, only one module should "use"
15
+ * or own a single protobuf package. It is assumed that the module uses
16
+ * all of the .proto files in a single package.
17
+ */
18
+ usePackage: PackageReference[];
19
+ /**
20
+ * can_migrate_from defines which module versions this module can migrate
21
+ * state from. The framework will check that one module version is able to
22
+ * migrate from a previous module version before attempting to update its
23
+ * config. It is assumed that modules can transitively migrate from earlier
24
+ * versions. For instance if v3 declares it can migrate from v2, and v2
25
+ * declares it can migrate from v1, the framework knows how to migrate
26
+ * from v1 to v3, assuming all 3 module versions are registered at runtime.
27
+ */
28
+ canMigrateFrom: MigrateFromInfo[];
29
+ }
30
+ /** ModuleDescriptor describes an app module. */
31
+ export interface ModuleDescriptorSDKType {
32
+ /**
33
+ * go_import names the package that should be imported by an app to load the
34
+ * module in the runtime module registry. Either go_import must be defined here
35
+ * or the go_package option must be defined at the file level to indicate
36
+ * to users where to location the module implementation. go_import takes
37
+ * precedence over go_package when both are defined.
38
+ */
39
+ go_import: string;
40
+ /**
41
+ * use_package refers to a protobuf package that this module
42
+ * uses and exposes to the world. In an app, only one module should "use"
43
+ * or own a single protobuf package. It is assumed that the module uses
44
+ * all of the .proto files in a single package.
45
+ */
46
+ use_package: PackageReferenceSDKType[];
47
+ /**
48
+ * can_migrate_from defines which module versions this module can migrate
49
+ * state from. The framework will check that one module version is able to
50
+ * migrate from a previous module version before attempting to update its
51
+ * config. It is assumed that modules can transitively migrate from earlier
52
+ * versions. For instance if v3 declares it can migrate from v2, and v2
53
+ * declares it can migrate from v1, the framework knows how to migrate
54
+ * from v1 to v3, assuming all 3 module versions are registered at runtime.
55
+ */
56
+ can_migrate_from: MigrateFromInfoSDKType[];
57
+ }
58
+ /** PackageReference is a reference to a protobuf package used by a module. */
59
+ export interface PackageReference {
60
+ /** name is the fully-qualified name of the package. */
61
+ name: string;
62
+ /**
63
+ * revision is the optional revision of the package that is being used.
64
+ * Protobuf packages used in Cosmos should generally have a major version
65
+ * as the last part of the package name, ex. foo.bar.baz.v1.
66
+ * The revision of a package can be thought of as the minor version of a
67
+ * package which has additional backwards compatible definitions that weren't
68
+ * present in a previous version.
69
+ *
70
+ * A package should indicate its revision with a source code comment
71
+ * above the package declaration in one of its fields containing the
72
+ * test "Revision N" where N is an integer revision. All packages start
73
+ * at revision 0 the first time they are released in a module.
74
+ *
75
+ * When a new version of a module is released and items are added to existing
76
+ * .proto files, these definitions should contain comments of the form
77
+ * "Since Revision N" where N is an integer revision.
78
+ *
79
+ * When the module runtime starts up, it will check the pinned proto
80
+ * image and panic if there are runtime protobuf definitions that are not
81
+ * in the pinned descriptor which do not have
82
+ * a "Since Revision N" comment or have a "Since Revision N" comment where
83
+ * N is <= to the revision specified here. This indicates that the protobuf
84
+ * files have been updated, but the pinned file descriptor hasn't.
85
+ *
86
+ * If there are items in the pinned file descriptor with a revision
87
+ * greater than the value indicated here, this will also cause a panic
88
+ * as it may mean that the pinned descriptor for a legacy module has been
89
+ * improperly updated or that there is some other versioning discrepancy.
90
+ * Runtime protobuf definitions will also be checked for compatibility
91
+ * with pinned file descriptors to make sure there are no incompatible changes.
92
+ *
93
+ * This behavior ensures that:
94
+ * * pinned proto images are up-to-date
95
+ * * protobuf files are carefully annotated with revision comments which
96
+ * are important good client UX
97
+ * * protobuf files are changed in backwards and forwards compatible ways
98
+ */
99
+ revision: number;
100
+ }
101
+ /** PackageReference is a reference to a protobuf package used by a module. */
102
+ export interface PackageReferenceSDKType {
103
+ /** name is the fully-qualified name of the package. */
104
+ name: string;
105
+ /**
106
+ * revision is the optional revision of the package that is being used.
107
+ * Protobuf packages used in Cosmos should generally have a major version
108
+ * as the last part of the package name, ex. foo.bar.baz.v1.
109
+ * The revision of a package can be thought of as the minor version of a
110
+ * package which has additional backwards compatible definitions that weren't
111
+ * present in a previous version.
112
+ *
113
+ * A package should indicate its revision with a source code comment
114
+ * above the package declaration in one of its fields containing the
115
+ * test "Revision N" where N is an integer revision. All packages start
116
+ * at revision 0 the first time they are released in a module.
117
+ *
118
+ * When a new version of a module is released and items are added to existing
119
+ * .proto files, these definitions should contain comments of the form
120
+ * "Since Revision N" where N is an integer revision.
121
+ *
122
+ * When the module runtime starts up, it will check the pinned proto
123
+ * image and panic if there are runtime protobuf definitions that are not
124
+ * in the pinned descriptor which do not have
125
+ * a "Since Revision N" comment or have a "Since Revision N" comment where
126
+ * N is <= to the revision specified here. This indicates that the protobuf
127
+ * files have been updated, but the pinned file descriptor hasn't.
128
+ *
129
+ * If there are items in the pinned file descriptor with a revision
130
+ * greater than the value indicated here, this will also cause a panic
131
+ * as it may mean that the pinned descriptor for a legacy module has been
132
+ * improperly updated or that there is some other versioning discrepancy.
133
+ * Runtime protobuf definitions will also be checked for compatibility
134
+ * with pinned file descriptors to make sure there are no incompatible changes.
135
+ *
136
+ * This behavior ensures that:
137
+ * * pinned proto images are up-to-date
138
+ * * protobuf files are carefully annotated with revision comments which
139
+ * are important good client UX
140
+ * * protobuf files are changed in backwards and forwards compatible ways
141
+ */
142
+ revision: number;
143
+ }
144
+ /**
145
+ * MigrateFromInfo is information on a module version that a newer module
146
+ * can migrate from.
147
+ */
148
+ export interface MigrateFromInfo {
149
+ /**
150
+ * module is the fully-qualified protobuf name of the module config object
151
+ * for the previous module version, ex: "cosmos.group.module.v1.Module".
152
+ */
153
+ module: string;
154
+ }
155
+ /**
156
+ * MigrateFromInfo is information on a module version that a newer module
157
+ * can migrate from.
158
+ */
159
+ export interface MigrateFromInfoSDKType {
160
+ /**
161
+ * module is the fully-qualified protobuf name of the module config object
162
+ * for the previous module version, ex: "cosmos.group.module.v1.Module".
163
+ */
164
+ module: string;
165
+ }
166
+ export declare const ModuleDescriptor: {
167
+ encode(message: ModuleDescriptor, writer?: _m0.Writer): _m0.Writer;
168
+ decode(input: _m0.Reader | Uint8Array, length?: number): ModuleDescriptor;
169
+ fromJSON(object: any): ModuleDescriptor;
170
+ toJSON(message: ModuleDescriptor): unknown;
171
+ fromPartial(object: Partial<ModuleDescriptor>): ModuleDescriptor;
172
+ };
173
+ export declare const PackageReference: {
174
+ encode(message: PackageReference, writer?: _m0.Writer): _m0.Writer;
175
+ decode(input: _m0.Reader | Uint8Array, length?: number): PackageReference;
176
+ fromJSON(object: any): PackageReference;
177
+ toJSON(message: PackageReference): unknown;
178
+ fromPartial(object: Partial<PackageReference>): PackageReference;
179
+ };
180
+ export declare const MigrateFromInfo: {
181
+ encode(message: MigrateFromInfo, writer?: _m0.Writer): _m0.Writer;
182
+ decode(input: _m0.Reader | Uint8Array, length?: number): MigrateFromInfo;
183
+ fromJSON(object: any): MigrateFromInfo;
184
+ toJSON(message: MigrateFromInfo): unknown;
185
+ fromPartial(object: Partial<MigrateFromInfo>): MigrateFromInfo;
186
+ };