decentralcardgame-cardchain-client-ts 0.0.14 → 0.0.16

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 (248) hide show
  1. package/DecentralCardGame.cardchain.cardchain/module.js +318 -383
  2. package/DecentralCardGame.cardchain.cardchain/module.ts +463 -558
  3. package/DecentralCardGame.cardchain.cardchain/registry.js +72 -78
  4. package/DecentralCardGame.cardchain.cardchain/registry.ts +72 -78
  5. package/DecentralCardGame.cardchain.cardchain/rest.js +77 -60
  6. package/DecentralCardGame.cardchain.cardchain/rest.ts +123 -76
  7. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/card.js +657 -0
  8. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/card.ts +741 -0
  9. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/copyright_proposal.js +102 -0
  10. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/copyright_proposal.ts +134 -0
  11. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/council.js +356 -0
  12. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/council.ts +415 -0
  13. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/genesis.js +254 -0
  14. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/genesis.ts +281 -0
  15. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/image.js +88 -0
  16. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/image.ts +115 -0
  17. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/match.js +308 -0
  18. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/match.ts +355 -0
  19. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/match_reporter_proposal.js +67 -0
  20. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/match_reporter_proposal.ts +92 -0
  21. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/num.js +73 -0
  22. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/num.ts +102 -0
  23. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/params.js +325 -0
  24. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/params.ts +380 -0
  25. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/query.js +2200 -0
  26. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/query.ts +2633 -0
  27. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/running_average.js +85 -0
  28. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/running_average.ts +111 -0
  29. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/sell_offer.js +148 -0
  30. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/sell_offer.ts +183 -0
  31. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/server.js +93 -0
  32. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/server.ts +124 -0
  33. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/set.js +365 -0
  34. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/set.ts +416 -0
  35. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/set_proposal.js +93 -0
  36. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/set_proposal.ts +124 -0
  37. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/tx.js +4185 -0
  38. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/tx.ts +5139 -0
  39. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/user.js +580 -0
  40. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/user.ts +652 -0
  41. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/voting.js +346 -0
  42. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/voting.ts +417 -0
  43. package/DecentralCardGame.cardchain.cardchain/types.js +25 -23
  44. package/DecentralCardGame.cardchain.cardchain/types.ts +26 -22
  45. package/DecentralCardGame.cardchain.featureflag/index.js +5 -0
  46. package/DecentralCardGame.cardchain.featureflag/index.ts +6 -0
  47. package/DecentralCardGame.cardchain.featureflag/module.js +62 -0
  48. package/DecentralCardGame.cardchain.featureflag/module.ts +102 -0
  49. package/DecentralCardGame.cardchain.featureflag/registry.js +2 -0
  50. package/DecentralCardGame.cardchain.featureflag/registry.ts +7 -0
  51. package/DecentralCardGame.cardchain.featureflag/rest.js +128 -0
  52. package/DecentralCardGame.cardchain.featureflag/rest.ts +222 -0
  53. package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/flag.js +67 -0
  54. package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/flag.ts +92 -0
  55. package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/genesis.js +135 -0
  56. package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/genesis.ts +172 -0
  57. package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/params.js +36 -0
  58. package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/params.ts +58 -0
  59. package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/proposal.js +76 -0
  60. package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/proposal.ts +102 -0
  61. package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/query.js +279 -0
  62. package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/query.ts +371 -0
  63. package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/tx.js +7 -0
  64. package/DecentralCardGame.cardchain.featureflag/types/cardchain/featureflag/tx.ts +17 -0
  65. package/DecentralCardGame.cardchain.featureflag/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  66. package/DecentralCardGame.cardchain.featureflag/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
  67. package/DecentralCardGame.cardchain.featureflag/types/gogoproto/gogo.js +2 -0
  68. package/DecentralCardGame.cardchain.featureflag/types/gogoproto/gogo.ts +2 -0
  69. package/DecentralCardGame.cardchain.featureflag/types/google/api/annotations.js +2 -0
  70. package/DecentralCardGame.cardchain.featureflag/types/google/api/annotations.ts +2 -0
  71. package/DecentralCardGame.cardchain.featureflag/types/google/api/http.js +260 -0
  72. package/DecentralCardGame.cardchain.featureflag/types/google/api/http.ts +589 -0
  73. package/DecentralCardGame.cardchain.featureflag/types/google/protobuf/descriptor.js +2830 -0
  74. package/DecentralCardGame.cardchain.featureflag/types/google/protobuf/descriptor.ts +3753 -0
  75. package/DecentralCardGame.cardchain.featureflag/types.js +4 -0
  76. package/DecentralCardGame.cardchain.featureflag/types.ts +11 -0
  77. package/client.js +7 -7
  78. package/client.ts +9 -10
  79. package/cosmos.auth.v1beta1/module.js +0 -2
  80. package/cosmos.auth.v1beta1/module.ts +0 -2
  81. package/cosmos.auth.v1beta1/rest.js +3 -18
  82. package/cosmos.auth.v1beta1/rest.ts +3 -113
  83. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.js +0 -84
  84. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.ts +0 -104
  85. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/genesis.ts +1 -1
  86. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.js +3 -104
  87. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.ts +4 -157
  88. package/cosmos.auth.v1beta1/types.js +1 -2
  89. package/cosmos.auth.v1beta1/types.ts +0 -2
  90. package/cosmos.authz.v1beta1/module.js +19 -19
  91. package/cosmos.authz.v1beta1/module.ts +29 -29
  92. package/cosmos.authz.v1beta1/registry.js +2 -2
  93. package/cosmos.authz.v1beta1/registry.ts +2 -2
  94. package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/tx.ts +1 -1
  95. package/cosmos.bank.v1beta1/module.js +16 -16
  96. package/cosmos.bank.v1beta1/module.ts +24 -24
  97. package/cosmos.bank.v1beta1/registry.js +2 -2
  98. package/cosmos.bank.v1beta1/registry.ts +2 -2
  99. package/cosmos.bank.v1beta1/rest.js +6 -37
  100. package/cosmos.bank.v1beta1/rest.ts +6 -99
  101. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.js +2 -18
  102. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.ts +2 -24
  103. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/bank.ts +0 -9
  104. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.js +2 -18
  105. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.ts +4 -25
  106. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.js +1 -230
  107. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.ts +5 -356
  108. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.js +1 -206
  109. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.ts +1 -305
  110. package/cosmos.base.tendermint.v1beta1/rest.js +3 -3
  111. package/cosmos.base.tendermint.v1beta1/rest.ts +27 -18
  112. package/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/query.ts +46 -16
  113. package/cosmos.crisis.v1beta1/module.js +1 -24
  114. package/cosmos.crisis.v1beta1/module.ts +1 -34
  115. package/cosmos.crisis.v1beta1/registry.js +0 -2
  116. package/cosmos.crisis.v1beta1/registry.ts +0 -2
  117. package/cosmos.crisis.v1beta1/rest.ts +0 -19
  118. package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.js +0 -95
  119. package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.ts +1 -140
  120. package/cosmos.distribution.v1beta1/module.js +21 -67
  121. package/cosmos.distribution.v1beta1/module.ts +34 -100
  122. package/cosmos.distribution.v1beta1/registry.js +4 -8
  123. package/cosmos.distribution.v1beta1/registry.ts +4 -8
  124. package/cosmos.distribution.v1beta1/rest.js +0 -14
  125. package/cosmos.distribution.v1beta1/rest.ts +7 -66
  126. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/distribution.ts +0 -19
  127. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/genesis.ts +4 -4
  128. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.js +0 -120
  129. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.ts +1 -158
  130. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.js +0 -199
  131. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.ts +3 -300
  132. package/cosmos.evidence.v1beta1/rest.js +3 -4
  133. package/cosmos.evidence.v1beta1/rest.ts +3 -4
  134. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/evidence.ts +1 -7
  135. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.js +2 -13
  136. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.ts +3 -25
  137. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/tx.ts +0 -2
  138. package/cosmos.gov.v1/module.js +21 -46
  139. package/cosmos.gov.v1/module.ts +33 -68
  140. package/cosmos.gov.v1/registry.js +4 -6
  141. package/cosmos.gov.v1/registry.ts +4 -6
  142. package/cosmos.gov.v1/rest.ts +41 -155
  143. package/cosmos.gov.v1/types/cosmos/gov/v1/genesis.js +1 -13
  144. package/cosmos.gov.v1/types/cosmos/gov/v1/genesis.ts +5 -40
  145. package/cosmos.gov.v1/types/cosmos/gov/v1/gov.js +0 -179
  146. package/cosmos.gov.v1/types/cosmos/gov/v1/gov.ts +6 -277
  147. package/cosmos.gov.v1/types/cosmos/gov/v1/query.js +2 -13
  148. package/cosmos.gov.v1/types/cosmos/gov/v1/query.ts +7 -45
  149. package/cosmos.gov.v1/types/cosmos/gov/v1/tx.js +2 -113
  150. package/cosmos.gov.v1/types/cosmos/gov/v1/tx.ts +3 -186
  151. package/cosmos.gov.v1/types.js +1 -2
  152. package/cosmos.gov.v1/types.ts +0 -2
  153. package/cosmos.gov.v1beta1/module.js +24 -24
  154. package/cosmos.gov.v1beta1/module.ts +36 -36
  155. package/cosmos.gov.v1beta1/registry.js +4 -4
  156. package/cosmos.gov.v1beta1/registry.ts +4 -4
  157. package/cosmos.gov.v1beta1/rest.ts +96 -65
  158. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/genesis.ts +3 -3
  159. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/gov.ts +10 -45
  160. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/query.ts +2 -4
  161. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/tx.ts +1 -16
  162. package/cosmos.group.v1/module.js +92 -92
  163. package/cosmos.group.v1/module.ts +138 -138
  164. package/cosmos.group.v1/registry.js +16 -16
  165. package/cosmos.group.v1/registry.ts +16 -16
  166. package/cosmos.group.v1/rest.js +3 -3
  167. package/cosmos.group.v1/rest.ts +9 -29
  168. package/cosmos.group.v1/types/cosmos/group/v1/query.ts +5 -5
  169. package/cosmos.group.v1/types/cosmos/group/v1/tx.js +34 -52
  170. package/cosmos.group.v1/types/cosmos/group/v1/tx.ts +49 -79
  171. package/cosmos.group.v1/types/cosmos/group/v1/types.js +0 -20
  172. package/cosmos.group.v1/types/cosmos/group/v1/types.ts +6 -46
  173. package/cosmos.mint.v1beta1/rest.ts +1 -9
  174. package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/genesis.ts +1 -1
  175. package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/mint.ts +1 -1
  176. package/cosmos.nft.v1beta1/rest.ts +22 -18
  177. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/event.ts +0 -10
  178. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/genesis.ts +0 -1
  179. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/query.ts +0 -20
  180. package/cosmos.slashing.v1beta1/rest.ts +0 -8
  181. package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/genesis.ts +1 -1
  182. package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.js +0 -94
  183. package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.ts +0 -139
  184. package/cosmos.staking.v1beta1/module.js +39 -41
  185. package/cosmos.staking.v1beta1/module.ts +59 -61
  186. package/cosmos.staking.v1beta1/registry.js +6 -6
  187. package/cosmos.staking.v1beta1/registry.ts +6 -6
  188. package/cosmos.staking.v1beta1/rest.js +7 -7
  189. package/cosmos.staking.v1beta1/rest.ts +8 -49
  190. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/genesis.ts +1 -1
  191. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/query.ts +5 -36
  192. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.js +2 -180
  193. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.ts +3 -206
  194. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.js +1 -94
  195. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.ts +1 -138
  196. package/cosmos.staking.v1beta1/types.js +1 -2
  197. package/cosmos.staking.v1beta1/types.ts +0 -2
  198. package/cosmos.tx.v1beta1/rest.js +2 -66
  199. package/cosmos.tx.v1beta1/rest.ts +16 -177
  200. package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.js +2 -360
  201. package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.ts +2 -524
  202. package/cosmos.tx.v1beta1/types/tendermint/abci/types.js +266 -592
  203. package/cosmos.tx.v1beta1/types/tendermint/abci/types.ts +332 -703
  204. package/cosmos.tx.v1beta1/types/tendermint/types/params.js +17 -8
  205. package/cosmos.tx.v1beta1/types/tendermint/types/params.ts +25 -9
  206. package/cosmos.upgrade.v1beta1/rest.ts +1 -0
  207. package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/tx.ts +3 -3
  208. package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/upgrade.ts +4 -6
  209. package/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.js +0 -84
  210. package/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.ts +0 -104
  211. package/ibc.applications.interchain_accounts.controller.v1/rest.ts +0 -1
  212. package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.js +2 -13
  213. package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.ts +4 -16
  214. package/ibc.applications.transfer.v1/module.js +27 -5
  215. package/ibc.applications.transfer.v1/module.ts +34 -5
  216. package/ibc.applications.transfer.v1/registry.js +4 -1
  217. package/ibc.applications.transfer.v1/registry.ts +2 -0
  218. package/ibc.applications.transfer.v1/rest.js +1 -15
  219. package/ibc.applications.transfer.v1/rest.ts +1 -30
  220. package/ibc.applications.transfer.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +4 -6
  221. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.js +1 -16
  222. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.ts +2 -23
  223. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.js +0 -91
  224. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.ts +0 -120
  225. package/ibc.applications.transfer.v1/types/ibc/core/client/v1/client.ts +1 -5
  226. package/ibc.applications.transfer.v1/types.js +1 -3
  227. package/ibc.applications.transfer.v1/types.ts +0 -4
  228. package/ibc.core.channel.v1/rest.ts +0 -1
  229. package/ibc.core.channel.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +4 -6
  230. package/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.js +2 -13
  231. package/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.ts +2 -14
  232. package/ibc.core.channel.v1/types/ibc/core/client/v1/client.ts +1 -5
  233. package/ibc.core.client.v1/rest.ts +1 -5
  234. package/ibc.core.client.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +4 -6
  235. package/ibc.core.client.v1/types/ibc/core/client/v1/client.ts +1 -5
  236. package/ibc.core.client.v1/types/ibc/core/client/v1/tx.js +8 -9
  237. package/ibc.core.client.v1/types/ibc/core/client/v1/tx.ts +14 -28
  238. package/ibc.core.connection.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +4 -6
  239. package/ibc.core.connection.v1/types/ibc/core/client/v1/client.ts +1 -5
  240. package/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.js +1 -1
  241. package/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.ts +1 -1
  242. package/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.js +0 -26
  243. package/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.ts +0 -34
  244. package/ibc.core.connection.v1/types/proofs.js +1126 -0
  245. package/ibc.core.connection.v1/types/proofs.ts +1408 -0
  246. package/index.js +3 -3
  247. package/index.ts +3 -3
  248. package/package.json +5 -5
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable */
2
2
  import _m0 from "protobufjs/minimal";
3
3
  import { Coin } from "../../base/v1beta1/coin";
4
- import { Input, Output, Params, SendEnabled } from "./bank";
4
+ import { Input, Output } from "./bank";
5
5
 
6
6
  export const protobufPackage = "cosmos.bank.v1beta1";
7
7
 
@@ -18,10 +18,6 @@ export interface MsgSendResponse {
18
18
 
19
19
  /** MsgMultiSend represents an arbitrary multi-in, multi-out send message. */
20
20
  export interface MsgMultiSend {
21
- /**
22
- * Inputs, despite being `repeated`, only allows one sender input. This is
23
- * checked in MsgMultiSend's ValidateBasic.
24
- */
25
21
  inputs: Input[];
26
22
  outputs: Output[];
27
23
  }
@@ -30,61 +26,6 @@ export interface MsgMultiSend {
30
26
  export interface MsgMultiSendResponse {
31
27
  }
32
28
 
33
- /**
34
- * MsgUpdateParams is the Msg/UpdateParams request type.
35
- *
36
- * Since: cosmos-sdk 0.47
37
- */
38
- export interface MsgUpdateParams {
39
- /** authority is the address that controls the module (defaults to x/gov unless overwritten). */
40
- authority: string;
41
- /**
42
- * params defines the x/bank parameters to update.
43
- *
44
- * NOTE: All parameters must be supplied.
45
- */
46
- params: Params | undefined;
47
- }
48
-
49
- /**
50
- * MsgUpdateParamsResponse defines the response structure for executing a
51
- * MsgUpdateParams message.
52
- *
53
- * Since: cosmos-sdk 0.47
54
- */
55
- export interface MsgUpdateParamsResponse {
56
- }
57
-
58
- /**
59
- * MsgSetSendEnabled is the Msg/SetSendEnabled request type.
60
- *
61
- * Only entries to add/update/delete need to be included.
62
- * Existing SendEnabled entries that are not included in this
63
- * message are left unchanged.
64
- *
65
- * Since: cosmos-sdk 0.47
66
- */
67
- export interface MsgSetSendEnabled {
68
- authority: string;
69
- /** send_enabled is the list of entries to add or update. */
70
- sendEnabled: SendEnabled[];
71
- /**
72
- * use_default_for is a list of denoms that should use the params.default_send_enabled value.
73
- * Denoms listed here will have their SendEnabled entries deleted.
74
- * If a denom is included that doesn't have a SendEnabled entry,
75
- * it will be ignored.
76
- */
77
- useDefaultFor: string[];
78
- }
79
-
80
- /**
81
- * MsgSetSendEnabledResponse defines the Msg/SetSendEnabled response type.
82
- *
83
- * Since: cosmos-sdk 0.47
84
- */
85
- export interface MsgSetSendEnabledResponse {
86
- }
87
-
88
29
  function createBaseMsgSend(): MsgSend {
89
30
  return { fromAddress: "", toAddress: "", amount: [] };
90
31
  }
@@ -300,243 +241,12 @@ export const MsgMultiSendResponse = {
300
241
  },
301
242
  };
302
243
 
303
- function createBaseMsgUpdateParams(): MsgUpdateParams {
304
- return { authority: "", params: undefined };
305
- }
306
-
307
- export const MsgUpdateParams = {
308
- encode(message: MsgUpdateParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
309
- if (message.authority !== "") {
310
- writer.uint32(10).string(message.authority);
311
- }
312
- if (message.params !== undefined) {
313
- Params.encode(message.params, writer.uint32(18).fork()).ldelim();
314
- }
315
- return writer;
316
- },
317
-
318
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateParams {
319
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
320
- let end = length === undefined ? reader.len : reader.pos + length;
321
- const message = createBaseMsgUpdateParams();
322
- while (reader.pos < end) {
323
- const tag = reader.uint32();
324
- switch (tag >>> 3) {
325
- case 1:
326
- message.authority = reader.string();
327
- break;
328
- case 2:
329
- message.params = Params.decode(reader, reader.uint32());
330
- break;
331
- default:
332
- reader.skipType(tag & 7);
333
- break;
334
- }
335
- }
336
- return message;
337
- },
338
-
339
- fromJSON(object: any): MsgUpdateParams {
340
- return {
341
- authority: isSet(object.authority) ? String(object.authority) : "",
342
- params: isSet(object.params) ? Params.fromJSON(object.params) : undefined,
343
- };
344
- },
345
-
346
- toJSON(message: MsgUpdateParams): unknown {
347
- const obj: any = {};
348
- message.authority !== undefined && (obj.authority = message.authority);
349
- message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined);
350
- return obj;
351
- },
352
-
353
- fromPartial<I extends Exact<DeepPartial<MsgUpdateParams>, I>>(object: I): MsgUpdateParams {
354
- const message = createBaseMsgUpdateParams();
355
- message.authority = object.authority ?? "";
356
- message.params = (object.params !== undefined && object.params !== null)
357
- ? Params.fromPartial(object.params)
358
- : undefined;
359
- return message;
360
- },
361
- };
362
-
363
- function createBaseMsgUpdateParamsResponse(): MsgUpdateParamsResponse {
364
- return {};
365
- }
366
-
367
- export const MsgUpdateParamsResponse = {
368
- encode(_: MsgUpdateParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
369
- return writer;
370
- },
371
-
372
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateParamsResponse {
373
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
374
- let end = length === undefined ? reader.len : reader.pos + length;
375
- const message = createBaseMsgUpdateParamsResponse();
376
- while (reader.pos < end) {
377
- const tag = reader.uint32();
378
- switch (tag >>> 3) {
379
- default:
380
- reader.skipType(tag & 7);
381
- break;
382
- }
383
- }
384
- return message;
385
- },
386
-
387
- fromJSON(_: any): MsgUpdateParamsResponse {
388
- return {};
389
- },
390
-
391
- toJSON(_: MsgUpdateParamsResponse): unknown {
392
- const obj: any = {};
393
- return obj;
394
- },
395
-
396
- fromPartial<I extends Exact<DeepPartial<MsgUpdateParamsResponse>, I>>(_: I): MsgUpdateParamsResponse {
397
- const message = createBaseMsgUpdateParamsResponse();
398
- return message;
399
- },
400
- };
401
-
402
- function createBaseMsgSetSendEnabled(): MsgSetSendEnabled {
403
- return { authority: "", sendEnabled: [], useDefaultFor: [] };
404
- }
405
-
406
- export const MsgSetSendEnabled = {
407
- encode(message: MsgSetSendEnabled, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
408
- if (message.authority !== "") {
409
- writer.uint32(10).string(message.authority);
410
- }
411
- for (const v of message.sendEnabled) {
412
- SendEnabled.encode(v!, writer.uint32(18).fork()).ldelim();
413
- }
414
- for (const v of message.useDefaultFor) {
415
- writer.uint32(26).string(v!);
416
- }
417
- return writer;
418
- },
419
-
420
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetSendEnabled {
421
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
422
- let end = length === undefined ? reader.len : reader.pos + length;
423
- const message = createBaseMsgSetSendEnabled();
424
- while (reader.pos < end) {
425
- const tag = reader.uint32();
426
- switch (tag >>> 3) {
427
- case 1:
428
- message.authority = reader.string();
429
- break;
430
- case 2:
431
- message.sendEnabled.push(SendEnabled.decode(reader, reader.uint32()));
432
- break;
433
- case 3:
434
- message.useDefaultFor.push(reader.string());
435
- break;
436
- default:
437
- reader.skipType(tag & 7);
438
- break;
439
- }
440
- }
441
- return message;
442
- },
443
-
444
- fromJSON(object: any): MsgSetSendEnabled {
445
- return {
446
- authority: isSet(object.authority) ? String(object.authority) : "",
447
- sendEnabled: Array.isArray(object?.sendEnabled)
448
- ? object.sendEnabled.map((e: any) => SendEnabled.fromJSON(e))
449
- : [],
450
- useDefaultFor: Array.isArray(object?.useDefaultFor) ? object.useDefaultFor.map((e: any) => String(e)) : [],
451
- };
452
- },
453
-
454
- toJSON(message: MsgSetSendEnabled): unknown {
455
- const obj: any = {};
456
- message.authority !== undefined && (obj.authority = message.authority);
457
- if (message.sendEnabled) {
458
- obj.sendEnabled = message.sendEnabled.map((e) => e ? SendEnabled.toJSON(e) : undefined);
459
- } else {
460
- obj.sendEnabled = [];
461
- }
462
- if (message.useDefaultFor) {
463
- obj.useDefaultFor = message.useDefaultFor.map((e) => e);
464
- } else {
465
- obj.useDefaultFor = [];
466
- }
467
- return obj;
468
- },
469
-
470
- fromPartial<I extends Exact<DeepPartial<MsgSetSendEnabled>, I>>(object: I): MsgSetSendEnabled {
471
- const message = createBaseMsgSetSendEnabled();
472
- message.authority = object.authority ?? "";
473
- message.sendEnabled = object.sendEnabled?.map((e) => SendEnabled.fromPartial(e)) || [];
474
- message.useDefaultFor = object.useDefaultFor?.map((e) => e) || [];
475
- return message;
476
- },
477
- };
478
-
479
- function createBaseMsgSetSendEnabledResponse(): MsgSetSendEnabledResponse {
480
- return {};
481
- }
482
-
483
- export const MsgSetSendEnabledResponse = {
484
- encode(_: MsgSetSendEnabledResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
485
- return writer;
486
- },
487
-
488
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetSendEnabledResponse {
489
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
490
- let end = length === undefined ? reader.len : reader.pos + length;
491
- const message = createBaseMsgSetSendEnabledResponse();
492
- while (reader.pos < end) {
493
- const tag = reader.uint32();
494
- switch (tag >>> 3) {
495
- default:
496
- reader.skipType(tag & 7);
497
- break;
498
- }
499
- }
500
- return message;
501
- },
502
-
503
- fromJSON(_: any): MsgSetSendEnabledResponse {
504
- return {};
505
- },
506
-
507
- toJSON(_: MsgSetSendEnabledResponse): unknown {
508
- const obj: any = {};
509
- return obj;
510
- },
511
-
512
- fromPartial<I extends Exact<DeepPartial<MsgSetSendEnabledResponse>, I>>(_: I): MsgSetSendEnabledResponse {
513
- const message = createBaseMsgSetSendEnabledResponse();
514
- return message;
515
- },
516
- };
517
-
518
244
  /** Msg defines the bank Msg service. */
519
245
  export interface Msg {
520
246
  /** Send defines a method for sending coins from one account to another account. */
521
247
  Send(request: MsgSend): Promise<MsgSendResponse>;
522
248
  /** MultiSend defines a method for sending coins from some accounts to other accounts. */
523
249
  MultiSend(request: MsgMultiSend): Promise<MsgMultiSendResponse>;
524
- /**
525
- * UpdateParams defines a governance operation for updating the x/bank module parameters.
526
- * The authority is defined in the keeper.
527
- *
528
- * Since: cosmos-sdk 0.47
529
- */
530
- UpdateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
531
- /**
532
- * SetSendEnabled is a governance operation for setting the SendEnabled flag
533
- * on any number of Denoms. Only the entries to add or update should be
534
- * included. Entries that already exist in the store, but that aren't
535
- * included in this message, will be left unchanged.
536
- *
537
- * Since: cosmos-sdk 0.47
538
- */
539
- SetSendEnabled(request: MsgSetSendEnabled): Promise<MsgSetSendEnabledResponse>;
540
250
  }
541
251
 
542
252
  export class MsgClientImpl implements Msg {
@@ -545,8 +255,6 @@ export class MsgClientImpl implements Msg {
545
255
  this.rpc = rpc;
546
256
  this.Send = this.Send.bind(this);
547
257
  this.MultiSend = this.MultiSend.bind(this);
548
- this.UpdateParams = this.UpdateParams.bind(this);
549
- this.SetSendEnabled = this.SetSendEnabled.bind(this);
550
258
  }
551
259
  Send(request: MsgSend): Promise<MsgSendResponse> {
552
260
  const data = MsgSend.encode(request).finish();
@@ -559,18 +267,6 @@ export class MsgClientImpl implements Msg {
559
267
  const promise = this.rpc.request("cosmos.bank.v1beta1.Msg", "MultiSend", data);
560
268
  return promise.then((data) => MsgMultiSendResponse.decode(new _m0.Reader(data)));
561
269
  }
562
-
563
- UpdateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse> {
564
- const data = MsgUpdateParams.encode(request).finish();
565
- const promise = this.rpc.request("cosmos.bank.v1beta1.Msg", "UpdateParams", data);
566
- return promise.then((data) => MsgUpdateParamsResponse.decode(new _m0.Reader(data)));
567
- }
568
-
569
- SetSendEnabled(request: MsgSetSendEnabled): Promise<MsgSetSendEnabledResponse> {
570
- const data = MsgSetSendEnabled.encode(request).finish();
571
- const promise = this.rpc.request("cosmos.bank.v1beta1.Msg", "SetSendEnabled", data);
572
- return promise.then((data) => MsgSetSendEnabledResponse.decode(new _m0.Reader(data)));
573
- }
574
270
  }
575
271
 
576
272
  interface Rpc {
@@ -107,9 +107,9 @@ export class Api extends HttpClient {
107
107
  *
108
108
  * @tags Service
109
109
  * @name ServiceAbciQuery
110
- * @summary ABCIQuery defines a query handler that supports ABCI queries directly to the
111
- application, bypassing Tendermint completely. The ABCI query must contain
112
- a valid and supported path, including app, custom, p2p, and store.
110
+ * @summary ABCIQuery defines a query handler that supports ABCI queries directly to
111
+ the application, bypassing Tendermint completely. The ABCI query must
112
+ contain a valid and supported path, including app, custom, p2p, and store.
113
113
  * @request GET:/cosmos/base/tendermint/v1beta1/abci_query
114
114
  */
115
115
  this.serviceABCIQuery = (query, params = {}) => this.request({
@@ -368,10 +368,11 @@ export interface Tendermintv1Beta1Header {
368
368
 
369
369
  /**
370
370
  * ProofOp defines an operation used for calculating Merkle root. The data could
371
- be arbitrary format, providing necessary data for example neighbouring node
371
+ be arbitrary format, providing nessecary data for example neighbouring node
372
372
  hash.
373
373
 
374
- Note: This type is a duplicate of the ProofOp proto type defined in Tendermint.
374
+ Note: This type is a duplicate of the ProofOp proto type defined in
375
+ Tendermint.
375
376
  */
376
377
  export interface Tendermintv1Beta1ProofOp {
377
378
  type?: string;
@@ -386,7 +387,8 @@ export interface Tendermintv1Beta1ProofOp {
386
387
  /**
387
388
  * ProofOps is Merkle proof defined by the list of ProofOps.
388
389
 
389
- Note: This type is a duplicate of the ProofOps proto type defined in Tendermint.
390
+ Note: This type is a duplicate of the ProofOps proto type defined in
391
+ Tendermint.
390
392
  */
391
393
  export interface Tendermintv1Beta1ProofOps {
392
394
  ops?: Tendermintv1Beta1ProofOp[];
@@ -649,7 +651,8 @@ export interface TypesVote {
649
651
  }
650
652
 
651
653
  /**
652
- * ABCIQueryResponse defines the response structure for the ABCIQuery gRPC query.
654
+ * ABCIQueryResponse defines the response structure for the ABCIQuery gRPC
655
+ query.
653
656
 
654
657
  Note: This type is a duplicate of the ResponseQuery proto type defined in
655
658
  Tendermint.
@@ -676,7 +679,8 @@ export interface V1Beta1ABCIQueryResponse {
676
679
  /**
677
680
  * ProofOps is Merkle proof defined by the list of ProofOps.
678
681
  *
679
- * Note: This type is a duplicate of the ProofOps proto type defined in Tendermint.
682
+ * Note: This type is a duplicate of the ProofOps proto type defined in
683
+ * Tendermint.
680
684
  */
681
685
  proof_ops?: Tendermintv1Beta1ProofOps;
682
686
 
@@ -686,8 +690,9 @@ export interface V1Beta1ABCIQueryResponse {
686
690
  }
687
691
 
688
692
  /**
689
- * GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method.
690
- */
693
+ * GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight
694
+ RPC method.
695
+ */
691
696
  export interface V1Beta1GetBlockByHeightResponse {
692
697
  block_id?: TypesBlockID;
693
698
 
@@ -703,8 +708,9 @@ export interface V1Beta1GetBlockByHeightResponse {
703
708
  }
704
709
 
705
710
  /**
706
- * GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method.
707
- */
711
+ * GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC
712
+ method.
713
+ */
708
714
  export interface V1Beta1GetLatestBlockResponse {
709
715
  block_id?: TypesBlockID;
710
716
 
@@ -720,8 +726,9 @@ export interface V1Beta1GetLatestBlockResponse {
720
726
  }
721
727
 
722
728
  /**
723
- * GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method.
724
- */
729
+ * GetLatestValidatorSetResponse is the response type for the
730
+ Query/GetValidatorSetByHeight RPC method.
731
+ */
725
732
  export interface V1Beta1GetLatestValidatorSetResponse {
726
733
  /** @format int64 */
727
734
  block_height?: string;
@@ -732,8 +739,9 @@ export interface V1Beta1GetLatestValidatorSetResponse {
732
739
  }
733
740
 
734
741
  /**
735
- * GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method.
736
- */
742
+ * GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC
743
+ method.
744
+ */
737
745
  export interface V1Beta1GetNodeInfoResponse {
738
746
  default_node_info?: P2PDefaultNodeInfo;
739
747
 
@@ -749,8 +757,9 @@ export interface V1Beta1GetSyncingResponse {
749
757
  }
750
758
 
751
759
  /**
752
- * GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method.
753
- */
760
+ * GetValidatorSetByHeightResponse is the response type for the
761
+ Query/GetValidatorSetByHeight RPC method.
762
+ */
754
763
  export interface V1Beta1GetValidatorSetByHeightResponse {
755
764
  /** @format int64 */
756
765
  block_height?: string;
@@ -1002,9 +1011,9 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1002
1011
  *
1003
1012
  * @tags Service
1004
1013
  * @name ServiceAbciQuery
1005
- * @summary ABCIQuery defines a query handler that supports ABCI queries directly to the
1006
- application, bypassing Tendermint completely. The ABCI query must contain
1007
- a valid and supported path, including app, custom, p2p, and store.
1014
+ * @summary ABCIQuery defines a query handler that supports ABCI queries directly to
1015
+ the application, bypassing Tendermint completely. The ABCI query must
1016
+ contain a valid and supported path, including app, custom, p2p, and store.
1008
1017
  * @request GET:/cosmos/base/tendermint/v1beta1/abci_query
1009
1018
  */
1010
1019
  serviceABCIQuery = (
@@ -10,14 +10,20 @@ import { Block as Block1 } from "./types";
10
10
 
11
11
  export const protobufPackage = "cosmos.base.tendermint.v1beta1";
12
12
 
13
- /** GetValidatorSetByHeightRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */
13
+ /**
14
+ * GetValidatorSetByHeightRequest is the request type for the
15
+ * Query/GetValidatorSetByHeight RPC method.
16
+ */
14
17
  export interface GetValidatorSetByHeightRequest {
15
18
  height: number;
16
19
  /** pagination defines an pagination for the request. */
17
20
  pagination: PageRequest | undefined;
18
21
  }
19
22
 
20
- /** GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */
23
+ /**
24
+ * GetValidatorSetByHeightResponse is the response type for the
25
+ * Query/GetValidatorSetByHeight RPC method.
26
+ */
21
27
  export interface GetValidatorSetByHeightResponse {
22
28
  blockHeight: number;
23
29
  validators: Validator[];
@@ -25,13 +31,19 @@ export interface GetValidatorSetByHeightResponse {
25
31
  pagination: PageResponse | undefined;
26
32
  }
27
33
 
28
- /** GetLatestValidatorSetRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */
34
+ /**
35
+ * GetLatestValidatorSetRequest is the request type for the
36
+ * Query/GetValidatorSetByHeight RPC method.
37
+ */
29
38
  export interface GetLatestValidatorSetRequest {
30
39
  /** pagination defines an pagination for the request. */
31
40
  pagination: PageRequest | undefined;
32
41
  }
33
42
 
34
- /** GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */
43
+ /**
44
+ * GetLatestValidatorSetResponse is the response type for the
45
+ * Query/GetValidatorSetByHeight RPC method.
46
+ */
35
47
  export interface GetLatestValidatorSetResponse {
36
48
  blockHeight: number;
37
49
  validators: Validator[];
@@ -47,12 +59,18 @@ export interface Validator {
47
59
  proposerPriority: number;
48
60
  }
49
61
 
50
- /** GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight RPC method. */
62
+ /**
63
+ * GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight
64
+ * RPC method.
65
+ */
51
66
  export interface GetBlockByHeightRequest {
52
67
  height: number;
53
68
  }
54
69
 
55
- /** GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. */
70
+ /**
71
+ * GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight
72
+ * RPC method.
73
+ */
56
74
  export interface GetBlockByHeightResponse {
57
75
  blockId:
58
76
  | BlockID
@@ -65,11 +83,17 @@ export interface GetBlockByHeightResponse {
65
83
  sdkBlock: Block1 | undefined;
66
84
  }
67
85
 
68
- /** GetLatestBlockRequest is the request type for the Query/GetLatestBlock RPC method. */
86
+ /**
87
+ * GetLatestBlockRequest is the request type for the Query/GetLatestBlock RPC
88
+ * method.
89
+ */
69
90
  export interface GetLatestBlockRequest {
70
91
  }
71
92
 
72
- /** GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. */
93
+ /**
94
+ * GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC
95
+ * method.
96
+ */
73
97
  export interface GetLatestBlockResponse {
74
98
  blockId:
75
99
  | BlockID
@@ -95,7 +119,10 @@ export interface GetSyncingResponse {
95
119
  export interface GetNodeInfoRequest {
96
120
  }
97
121
 
98
- /** GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method. */
122
+ /**
123
+ * GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC
124
+ * method.
125
+ */
99
126
  export interface GetNodeInfoResponse {
100
127
  defaultNodeInfo: DefaultNodeInfo | undefined;
101
128
  applicationVersion: VersionInfo | undefined;
@@ -133,7 +160,8 @@ export interface ABCIQueryRequest {
133
160
  }
134
161
 
135
162
  /**
136
- * ABCIQueryResponse defines the response structure for the ABCIQuery gRPC query.
163
+ * ABCIQueryResponse defines the response structure for the ABCIQuery gRPC
164
+ * query.
137
165
  *
138
166
  * Note: This type is a duplicate of the ResponseQuery proto type defined in
139
167
  * Tendermint.
@@ -154,10 +182,11 @@ export interface ABCIQueryResponse {
154
182
 
155
183
  /**
156
184
  * ProofOp defines an operation used for calculating Merkle root. The data could
157
- * be arbitrary format, providing necessary data for example neighbouring node
185
+ * be arbitrary format, providing nessecary data for example neighbouring node
158
186
  * hash.
159
187
  *
160
- * Note: This type is a duplicate of the ProofOp proto type defined in Tendermint.
188
+ * Note: This type is a duplicate of the ProofOp proto type defined in
189
+ * Tendermint.
161
190
  */
162
191
  export interface ProofOp {
163
192
  type: string;
@@ -168,7 +197,8 @@ export interface ProofOp {
168
197
  /**
169
198
  * ProofOps is Merkle proof defined by the list of ProofOps.
170
199
  *
171
- * Note: This type is a duplicate of the ProofOps proto type defined in Tendermint.
200
+ * Note: This type is a duplicate of the ProofOps proto type defined in
201
+ * Tendermint.
172
202
  */
173
203
  export interface ProofOps {
174
204
  ops: ProofOp[];
@@ -1476,9 +1506,9 @@ export interface Service {
1476
1506
  /** GetValidatorSetByHeight queries validator-set at a given height. */
1477
1507
  GetValidatorSetByHeight(request: GetValidatorSetByHeightRequest): Promise<GetValidatorSetByHeightResponse>;
1478
1508
  /**
1479
- * ABCIQuery defines a query handler that supports ABCI queries directly to the
1480
- * application, bypassing Tendermint completely. The ABCI query must contain
1481
- * a valid and supported path, including app, custom, p2p, and store.
1509
+ * ABCIQuery defines a query handler that supports ABCI queries directly to
1510
+ * the application, bypassing Tendermint completely. The ABCI query must
1511
+ * contain a valid and supported path, including app, custom, p2p, and store.
1482
1512
  *
1483
1513
  * Since: cosmos-sdk 0.46
1484
1514
  */
@@ -4,8 +4,7 @@ import { Registry } from "@cosmjs/proto-signing";
4
4
  import { msgTypes } from './registry';
5
5
  import { Api } from "./rest";
6
6
  import { MsgVerifyInvariant } from "./types/cosmos/crisis/v1beta1/tx";
7
- import { MsgUpdateParams } from "./types/cosmos/crisis/v1beta1/tx";
8
- export { MsgVerifyInvariant, MsgUpdateParams };
7
+ export { MsgVerifyInvariant };
9
8
  export const registry = new Registry(msgTypes);
10
9
  function getStructure(template) {
11
10
  const structure = { fields: [] };
@@ -35,20 +34,6 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
35
34
  throw new Error('TxClient:sendMsgVerifyInvariant: Could not broadcast Tx: ' + e.message);
36
35
  }
37
36
  },
38
- async sendMsgUpdateParams({ value, fee, memo }) {
39
- if (!signer) {
40
- throw new Error('TxClient:sendMsgUpdateParams: Unable to sign Tx. Signer is not present.');
41
- }
42
- try {
43
- const { address } = (await signer.getAccounts())[0];
44
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
45
- let msg = this.msgUpdateParams({ value: MsgUpdateParams.fromPartial(value) });
46
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
47
- }
48
- catch (e) {
49
- throw new Error('TxClient:sendMsgUpdateParams: Could not broadcast Tx: ' + e.message);
50
- }
51
- },
52
37
  msgVerifyInvariant({ value }) {
53
38
  try {
54
39
  return { typeUrl: "/cosmos.crisis.v1beta1.MsgVerifyInvariant", value: MsgVerifyInvariant.fromPartial(value) };
@@ -57,14 +42,6 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
57
42
  throw new Error('TxClient:MsgVerifyInvariant: Could not create message: ' + e.message);
58
43
  }
59
44
  },
60
- msgUpdateParams({ value }) {
61
- try {
62
- return { typeUrl: "/cosmos.crisis.v1beta1.MsgUpdateParams", value: MsgUpdateParams.fromPartial(value) };
63
- }
64
- catch (e) {
65
- throw new Error('TxClient:MsgUpdateParams: Could not create message: ' + e.message);
66
- }
67
- },
68
45
  };
69
46
  };
70
47
  export const queryClient = ({ addr: addr } = { addr: "http://localhost:1317" }) => {