@sparkdreamnft/sparkdreamjs 0.0.3 → 0.0.5

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 (817) hide show
  1. package/cosmos/app/runtime/v1alpha1/module.d.ts +2 -20
  2. package/cosmos/app/runtime/v1alpha1/module.js +2 -0
  3. package/cosmos/app/v1alpha1/module.d.ts +3 -18
  4. package/cosmos/app/v1alpha1/module.js +3 -0
  5. package/cosmos/auth/module/v1/module.d.ts +2 -11
  6. package/cosmos/auth/module/v1/module.js +2 -0
  7. package/cosmos/auth/v1beta1/auth.d.ts +5 -39
  8. package/cosmos/auth/v1beta1/auth.js +4 -2
  9. package/cosmos/auth/v1beta1/genesis.d.ts +3 -7
  10. package/cosmos/auth/v1beta1/genesis.js +1 -0
  11. package/cosmos/auth/v1beta1/query.d.ts +23 -139
  12. package/cosmos/auth/v1beta1/query.js +20 -0
  13. package/cosmos/auth/v1beta1/query.lcd.d.ts +11 -11
  14. package/cosmos/auth/v1beta1/query.lcd.js +21 -31
  15. package/cosmos/auth/v1beta1/query.rpc.Query.d.ts +10 -10
  16. package/cosmos/auth/v1beta1/query.rpc.Query.js +48 -31
  17. package/cosmos/auth/v1beta1/tx.d.ts +3 -18
  18. package/cosmos/auth/v1beta1/tx.js +2 -0
  19. package/cosmos/auth/v1beta1/tx.rpc.msg.d.ts +2 -1
  20. package/cosmos/auth/v1beta1/tx.rpc.msg.js +11 -4
  21. package/cosmos/authz/module/v1/module.d.ts +1 -3
  22. package/cosmos/authz/module/v1/module.js +1 -0
  23. package/cosmos/authz/v1beta1/authz.d.ts +8 -35
  24. package/cosmos/authz/v1beta1/authz.js +4 -1
  25. package/cosmos/authz/v1beta1/event.d.ts +2 -12
  26. package/cosmos/authz/v1beta1/event.js +2 -0
  27. package/cosmos/authz/v1beta1/genesis.d.ts +2 -5
  28. package/cosmos/authz/v1beta1/genesis.js +1 -0
  29. package/cosmos/authz/v1beta1/query.d.ts +8 -34
  30. package/cosmos/authz/v1beta1/query.js +6 -0
  31. package/cosmos/authz/v1beta1/query.lcd.d.ts +4 -4
  32. package/cosmos/authz/v1beta1/query.lcd.js +6 -9
  33. package/cosmos/authz/v1beta1/query.rpc.Query.d.ts +3 -3
  34. package/cosmos/authz/v1beta1/query.rpc.Query.js +13 -9
  35. package/cosmos/authz/v1beta1/tx.d.ts +8 -39
  36. package/cosmos/authz/v1beta1/tx.js +6 -0
  37. package/cosmos/authz/v1beta1/tx.rpc.msg.d.ts +4 -3
  38. package/cosmos/authz/v1beta1/tx.rpc.msg.js +20 -10
  39. package/cosmos/bank/module/v1/module.d.ts +1 -6
  40. package/cosmos/bank/module/v1/module.js +1 -0
  41. package/cosmos/bank/v1beta1/authz.d.ts +2 -13
  42. package/cosmos/bank/v1beta1/authz.js +1 -1
  43. package/cosmos/bank/v1beta1/bank.d.ts +8 -59
  44. package/cosmos/bank/v1beta1/bank.js +7 -1
  45. package/cosmos/bank/v1beta1/genesis.d.ts +4 -18
  46. package/cosmos/bank/v1beta1/genesis.js +2 -0
  47. package/cosmos/bank/v1beta1/query.d.ts +30 -199
  48. package/cosmos/bank/v1beta1/query.js +27 -0
  49. package/cosmos/bank/v1beta1/query.lcd.d.ts +14 -14
  50. package/cosmos/bank/v1beta1/query.lcd.js +28 -41
  51. package/cosmos/bank/v1beta1/query.rpc.Query.d.ts +13 -13
  52. package/cosmos/bank/v1beta1/query.rpc.Query.js +78 -41
  53. package/cosmos/bank/v1beta1/tx.d.ts +10 -57
  54. package/cosmos/bank/v1beta1/tx.js +8 -0
  55. package/cosmos/bank/v1beta1/tx.rpc.msg.d.ts +5 -4
  56. package/cosmos/bank/v1beta1/tx.rpc.msg.js +25 -13
  57. package/cosmos/base/abci/v1beta1/abci.d.ts +14 -101
  58. package/cosmos/base/abci/v1beta1/abci.js +11 -0
  59. package/cosmos/base/node/v1beta1/query.d.ts +4 -21
  60. package/cosmos/base/node/v1beta1/query.js +4 -0
  61. package/cosmos/base/node/v1beta1/query.lcd.d.ts +3 -3
  62. package/cosmos/base/node/v1beta1/query.lcd.js +4 -6
  63. package/cosmos/base/node/v1beta1/query.rpc.Service.d.ts +2 -2
  64. package/cosmos/base/node/v1beta1/query.rpc.Service.js +6 -6
  65. package/cosmos/base/query/v1beta1/pagination.d.ts +2 -29
  66. package/cosmos/base/query/v1beta1/pagination.js +2 -0
  67. package/cosmos/base/reflection/v2alpha1/reflection.d.ts +26 -128
  68. package/cosmos/base/reflection/v2alpha1/reflection.js +26 -0
  69. package/cosmos/base/v1beta1/coin.d.ts +4 -34
  70. package/cosmos/base/v1beta1/coin.js +5 -1
  71. package/cosmos/benchmark/module/v1/module.d.ts +2 -18
  72. package/cosmos/benchmark/module/v1/module.js +2 -0
  73. package/cosmos/benchmark/v1/benchmark.d.ts +1 -10
  74. package/cosmos/benchmark/v1/benchmark.js +1 -0
  75. package/cosmos/benchmark/v1/tx.d.ts +3 -11
  76. package/cosmos/benchmark/v1/tx.js +2 -0
  77. package/cosmos/benchmark/v1/tx.rpc.msg.d.ts +2 -1
  78. package/cosmos/benchmark/v1/tx.rpc.msg.js +8 -4
  79. package/cosmos/bundle.d.ts +669 -17
  80. package/cosmos/circuit/module/v1/module.d.ts +1 -4
  81. package/cosmos/circuit/module/v1/module.js +1 -0
  82. package/cosmos/circuit/v1/query.d.ts +8 -26
  83. package/cosmos/circuit/v1/query.js +6 -0
  84. package/cosmos/circuit/v1/query.lcd.d.ts +4 -4
  85. package/cosmos/circuit/v1/query.lcd.js +7 -10
  86. package/cosmos/circuit/v1/query.rpc.Query.d.ts +3 -3
  87. package/cosmos/circuit/v1/query.rpc.Query.js +10 -10
  88. package/cosmos/circuit/v1/tx.d.ts +7 -29
  89. package/cosmos/circuit/v1/tx.js +6 -0
  90. package/cosmos/circuit/v1/tx.rpc.msg.d.ts +4 -3
  91. package/cosmos/circuit/v1/tx.rpc.msg.js +16 -10
  92. package/cosmos/circuit/v1/types.d.ts +3 -19
  93. package/cosmos/circuit/v1/types.js +4 -2
  94. package/cosmos/consensus/module/v1/module.d.ts +1 -4
  95. package/cosmos/consensus/module/v1/module.js +1 -0
  96. package/cosmos/consensus/v1/query.d.ts +3 -8
  97. package/cosmos/consensus/v1/query.js +2 -0
  98. package/cosmos/consensus/v1/query.lcd.d.ts +2 -2
  99. package/cosmos/consensus/v1/query.lcd.js +2 -3
  100. package/cosmos/consensus/v1/query.rpc.Query.d.ts +1 -1
  101. package/cosmos/consensus/v1/query.rpc.Query.js +3 -3
  102. package/cosmos/consensus/v1/tx.d.ts +3 -15
  103. package/cosmos/consensus/v1/tx.js +2 -0
  104. package/cosmos/consensus/v1/tx.rpc.msg.d.ts +2 -1
  105. package/cosmos/consensus/v1/tx.rpc.msg.js +11 -4
  106. package/cosmos/counter/module/v1/module.d.ts +1 -4
  107. package/cosmos/counter/module/v1/module.js +1 -0
  108. package/cosmos/counter/v1/query.d.ts +2 -7
  109. package/cosmos/counter/v1/query.js +2 -0
  110. package/cosmos/counter/v1/query.rpc.Query.d.ts +1 -1
  111. package/cosmos/counter/v1/query.rpc.Query.js +3 -3
  112. package/cosmos/counter/v1/tx.d.ts +2 -9
  113. package/cosmos/counter/v1/tx.js +2 -0
  114. package/cosmos/counter/v1/tx.rpc.msg.d.ts +2 -1
  115. package/cosmos/counter/v1/tx.rpc.msg.js +8 -4
  116. package/cosmos/crisis/module/v1/module.d.ts +1 -5
  117. package/cosmos/crisis/module/v1/module.js +1 -0
  118. package/cosmos/crypto/ed25519/keys.d.ts +2 -17
  119. package/cosmos/crypto/ed25519/keys.js +2 -0
  120. package/cosmos/crypto/hd/v1/hd.d.ts +1 -8
  121. package/cosmos/crypto/hd/v1/hd.js +1 -0
  122. package/cosmos/crypto/keyring/v1/record.d.ts +7 -28
  123. package/cosmos/crypto/keyring/v1/record.js +5 -0
  124. package/cosmos/crypto/multisig/keys.d.ts +2 -10
  125. package/cosmos/crypto/multisig/keys.js +1 -0
  126. package/cosmos/crypto/multisig/v1beta1/multisig.d.ts +2 -18
  127. package/cosmos/crypto/multisig/v1beta1/multisig.js +2 -0
  128. package/cosmos/crypto/secp256k1/keys.d.ts +2 -14
  129. package/cosmos/crypto/secp256k1/keys.js +2 -0
  130. package/cosmos/crypto/secp256r1/keys.d.ts +2 -8
  131. package/cosmos/crypto/secp256r1/keys.js +2 -0
  132. package/cosmos/distribution/module/v1/module.d.ts +1 -5
  133. package/cosmos/distribution/module/v1/module.js +1 -0
  134. package/cosmos/distribution/v1beta1/distribution.d.ts +13 -122
  135. package/cosmos/distribution/v1beta1/distribution.js +13 -3
  136. package/cosmos/distribution/v1beta1/genesis.d.ts +10 -64
  137. package/cosmos/distribution/v1beta1/genesis.js +8 -0
  138. package/cosmos/distribution/v1beta1/query.d.ts +23 -137
  139. package/cosmos/distribution/v1beta1/query.js +20 -0
  140. package/cosmos/distribution/v1beta1/query.lcd.d.ts +11 -11
  141. package/cosmos/distribution/v1beta1/query.lcd.js +20 -30
  142. package/cosmos/distribution/v1beta1/query.rpc.Query.d.ts +10 -10
  143. package/cosmos/distribution/v1beta1/query.rpc.Query.js +31 -30
  144. package/cosmos/distribution/v1beta1/tx.d.ts +16 -112
  145. package/cosmos/distribution/v1beta1/tx.js +14 -0
  146. package/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts +8 -7
  147. package/cosmos/distribution/v1beta1/tx.rpc.msg.js +41 -22
  148. package/cosmos/epochs/module/v1/module.d.ts +1 -3
  149. package/cosmos/epochs/module/v1/module.js +1 -0
  150. package/cosmos/epochs/v1beta1/events.d.ts +2 -9
  151. package/cosmos/epochs/v1beta1/events.js +2 -0
  152. package/cosmos/epochs/v1beta1/genesis.d.ts +3 -18
  153. package/cosmos/epochs/v1beta1/genesis.js +2 -0
  154. package/cosmos/epochs/v1beta1/query.d.ts +5 -28
  155. package/cosmos/epochs/v1beta1/query.js +4 -0
  156. package/cosmos/epochs/v1beta1/query.lcd.d.ts +3 -3
  157. package/cosmos/epochs/v1beta1/query.lcd.js +4 -6
  158. package/cosmos/epochs/v1beta1/query.rpc.Query.d.ts +2 -2
  159. package/cosmos/epochs/v1beta1/query.rpc.Query.js +6 -6
  160. package/cosmos/evidence/module/v1/module.d.ts +1 -3
  161. package/cosmos/evidence/module/v1/module.js +1 -0
  162. package/cosmos/feegrant/module/v1/module.d.ts +1 -3
  163. package/cosmos/feegrant/module/v1/module.js +1 -0
  164. package/cosmos/feegrant/v1beta1/feegrant.d.ts +7 -39
  165. package/cosmos/feegrant/v1beta1/feegrant.js +4 -3
  166. package/cosmos/feegrant/v1beta1/genesis.d.ts +2 -5
  167. package/cosmos/feegrant/v1beta1/genesis.js +1 -0
  168. package/cosmos/feegrant/v1beta1/query.d.ts +8 -39
  169. package/cosmos/feegrant/v1beta1/query.js +6 -0
  170. package/cosmos/feegrant/v1beta1/query.lcd.d.ts +4 -4
  171. package/cosmos/feegrant/v1beta1/query.lcd.js +6 -9
  172. package/cosmos/feegrant/v1beta1/query.rpc.Query.d.ts +3 -3
  173. package/cosmos/feegrant/v1beta1/query.rpc.Query.js +11 -9
  174. package/cosmos/feegrant/v1beta1/tx.d.ts +8 -37
  175. package/cosmos/feegrant/v1beta1/tx.js +6 -0
  176. package/cosmos/feegrant/v1beta1/tx.rpc.msg.d.ts +4 -3
  177. package/cosmos/feegrant/v1beta1/tx.rpc.msg.js +18 -10
  178. package/cosmos/genutil/module/v1/module.d.ts +1 -3
  179. package/cosmos/genutil/module/v1/module.js +1 -0
  180. package/cosmos/gov/module/v1/module.d.ts +1 -5
  181. package/cosmos/gov/module/v1/module.js +1 -0
  182. package/cosmos/gov/v1/genesis.d.ts +2 -16
  183. package/cosmos/gov/v1/genesis.js +1 -0
  184. package/cosmos/gov/v1/gov.d.ts +12 -95
  185. package/cosmos/gov/v1/gov.js +10 -3
  186. package/cosmos/gov/v1/query.d.ts +20 -92
  187. package/cosmos/gov/v1/query.js +18 -0
  188. package/cosmos/gov/v1/query.lcd.d.ts +10 -10
  189. package/cosmos/gov/v1/query.lcd.js +18 -27
  190. package/cosmos/gov/v1/query.rpc.Query.d.ts +9 -9
  191. package/cosmos/gov/v1/query.rpc.Query.js +27 -27
  192. package/cosmos/gov/v1/tx.d.ts +21 -101
  193. package/cosmos/gov/v1/tx.js +14 -0
  194. package/cosmos/gov/v1/tx.rpc.msg.d.ts +8 -7
  195. package/cosmos/gov/v1/tx.rpc.msg.js +32 -22
  196. package/cosmos/gov/v1beta1/genesis.d.ts +2 -11
  197. package/cosmos/gov/v1beta1/genesis.js +1 -0
  198. package/cosmos/gov/v1beta1/gov.d.ts +15 -81
  199. package/cosmos/gov/v1beta1/gov.js +11 -5
  200. package/cosmos/gov/v1beta1/query.d.ts +18 -81
  201. package/cosmos/gov/v1beta1/query.js +16 -0
  202. package/cosmos/gov/v1beta1/query.lcd.d.ts +9 -9
  203. package/cosmos/gov/v1beta1/query.lcd.js +16 -24
  204. package/cosmos/gov/v1beta1/query.rpc.Query.d.ts +8 -8
  205. package/cosmos/gov/v1beta1/query.rpc.Query.js +24 -24
  206. package/cosmos/gov/v1beta1/tx.d.ts +14 -54
  207. package/cosmos/gov/v1beta1/tx.js +8 -0
  208. package/cosmos/gov/v1beta1/tx.rpc.msg.d.ts +5 -4
  209. package/cosmos/gov/v1beta1/tx.rpc.msg.js +19 -13
  210. package/cosmos/group/module/v1/module.d.ts +2 -6
  211. package/cosmos/group/module/v1/module.js +1 -0
  212. package/cosmos/group/v1/events.d.ts +12 -51
  213. package/cosmos/group/v1/events.js +11 -0
  214. package/cosmos/group/v1/genesis.d.ts +2 -12
  215. package/cosmos/group/v1/genesis.js +1 -0
  216. package/cosmos/group/v1/query.d.ts +30 -140
  217. package/cosmos/group/v1/query.js +28 -0
  218. package/cosmos/group/v1/query.lcd.d.ts +15 -15
  219. package/cosmos/group/v1/query.lcd.js +29 -43
  220. package/cosmos/group/v1/query.rpc.Query.d.ts +14 -14
  221. package/cosmos/group/v1/query.rpc.Query.js +49 -43
  222. package/cosmos/group/v1/tx.d.ts +30 -142
  223. package/cosmos/group/v1/tx.js +29 -2
  224. package/cosmos/group/v1/tx.rpc.msg.d.ts +15 -14
  225. package/cosmos/group/v1/tx.rpc.msg.js +47 -43
  226. package/cosmos/group/v1/types.d.ts +13 -119
  227. package/cosmos/group/v1/types.js +12 -6
  228. package/cosmos/ics23/v1/proofs.d.ts +13 -157
  229. package/cosmos/ics23/v1/proofs.js +14 -3
  230. package/cosmos/mint/module/v1/module.d.ts +1 -5
  231. package/cosmos/mint/module/v1/module.js +1 -0
  232. package/cosmos/mint/v1beta1/genesis.d.ts +2 -6
  233. package/cosmos/mint/v1beta1/genesis.js +1 -0
  234. package/cosmos/mint/v1beta1/mint.d.ts +2 -14
  235. package/cosmos/mint/v1beta1/mint.js +3 -1
  236. package/cosmos/mint/v1beta1/query.d.ts +7 -31
  237. package/cosmos/mint/v1beta1/query.js +6 -0
  238. package/cosmos/mint/v1beta1/query.lcd.d.ts +4 -4
  239. package/cosmos/mint/v1beta1/query.lcd.js +6 -9
  240. package/cosmos/mint/v1beta1/query.rpc.Query.d.ts +3 -3
  241. package/cosmos/mint/v1beta1/query.rpc.Query.js +9 -9
  242. package/cosmos/mint/v1beta1/tx.d.ts +3 -18
  243. package/cosmos/mint/v1beta1/tx.js +2 -0
  244. package/cosmos/mint/v1beta1/tx.rpc.msg.d.ts +2 -1
  245. package/cosmos/mint/v1beta1/tx.rpc.msg.js +11 -4
  246. package/cosmos/nft/module/v1/module.d.ts +1 -3
  247. package/cosmos/nft/module/v1/module.js +1 -0
  248. package/cosmos/orm/module/v1alpha1/module.d.ts +1 -7
  249. package/cosmos/orm/module/v1alpha1/module.js +1 -0
  250. package/cosmos/orm/query/v1alpha1/query.d.ts +10 -46
  251. package/cosmos/orm/query/v1alpha1/query.js +7 -0
  252. package/cosmos/orm/query/v1alpha1/query.rpc.Query.d.ts +2 -2
  253. package/cosmos/orm/query/v1alpha1/query.rpc.Query.js +6 -6
  254. package/cosmos/params/module/v1/module.d.ts +1 -3
  255. package/cosmos/params/module/v1/module.js +1 -0
  256. package/cosmos/params/v1beta1/params.d.ts +2 -17
  257. package/cosmos/params/v1beta1/params.js +2 -1
  258. package/cosmos/params/v1beta1/query.d.ts +6 -37
  259. package/cosmos/params/v1beta1/query.js +5 -0
  260. package/cosmos/params/v1beta1/query.lcd.d.ts +3 -3
  261. package/cosmos/params/v1beta1/query.lcd.js +4 -6
  262. package/cosmos/params/v1beta1/query.rpc.Query.d.ts +2 -2
  263. package/cosmos/params/v1beta1/query.rpc.Query.js +9 -6
  264. package/cosmos/protocolpool/module/v1/module.d.ts +1 -4
  265. package/cosmos/protocolpool/module/v1/module.js +1 -0
  266. package/cosmos/protocolpool/v1/genesis.d.ts +2 -6
  267. package/cosmos/protocolpool/v1/genesis.js +1 -0
  268. package/cosmos/protocolpool/v1/query.d.ts +10 -49
  269. package/cosmos/protocolpool/v1/query.js +8 -0
  270. package/cosmos/protocolpool/v1/query.lcd.d.ts +5 -5
  271. package/cosmos/protocolpool/v1/query.lcd.js +8 -12
  272. package/cosmos/protocolpool/v1/query.rpc.Query.d.ts +4 -4
  273. package/cosmos/protocolpool/v1/query.rpc.Query.js +12 -12
  274. package/cosmos/protocolpool/v1/tx.d.ts +12 -67
  275. package/cosmos/protocolpool/v1/tx.js +11 -1
  276. package/cosmos/protocolpool/v1/tx.rpc.msg.d.ts +6 -5
  277. package/cosmos/protocolpool/v1/tx.rpc.msg.js +28 -16
  278. package/cosmos/protocolpool/v1/types.d.ts +2 -11
  279. package/cosmos/protocolpool/v1/types.js +3 -1
  280. package/cosmos/reflection/v1/reflection.d.ts +3 -8
  281. package/cosmos/reflection/v1/reflection.js +2 -0
  282. package/cosmos/slashing/module/v1/module.d.ts +1 -4
  283. package/cosmos/slashing/module/v1/module.js +1 -0
  284. package/cosmos/staking/module/v1/module.d.ts +1 -7
  285. package/cosmos/staking/module/v1/module.js +1 -0
  286. package/cosmos/staking/v1beta1/authz.d.ts +3 -19
  287. package/cosmos/staking/v1beta1/authz.js +3 -3
  288. package/cosmos/staking/v1beta1/genesis.d.ts +3 -17
  289. package/cosmos/staking/v1beta1/genesis.js +2 -0
  290. package/cosmos/staking/v1beta1/query.d.ts +30 -185
  291. package/cosmos/staking/v1beta1/query.js +28 -0
  292. package/cosmos/staking/v1beta1/query.lcd.d.ts +15 -15
  293. package/cosmos/staking/v1beta1/query.lcd.js +28 -42
  294. package/cosmos/staking/v1beta1/query.rpc.Query.d.ts +14 -14
  295. package/cosmos/staking/v1beta1/query.rpc.Query.js +67 -42
  296. package/cosmos/staking/v1beta1/staking.d.ts +26 -193
  297. package/cosmos/staking/v1beta1/staking.js +28 -9
  298. package/cosmos/staking/v1beta1/tx.d.ts +17 -102
  299. package/cosmos/staking/v1beta1/tx.js +20 -6
  300. package/cosmos/staking/v1beta1/tx.rpc.msg.d.ts +8 -7
  301. package/cosmos/staking/v1beta1/tx.rpc.msg.js +34 -22
  302. package/cosmos/store/internal/kv/v1beta1/kv.d.ts +2 -9
  303. package/cosmos/store/internal/kv/v1beta1/kv.js +2 -0
  304. package/cosmos/store/snapshots/v1/snapshot.d.ts +7 -59
  305. package/cosmos/store/snapshots/v1/snapshot.js +7 -0
  306. package/cosmos/store/streaming/abci/grpc.d.ts +6 -19
  307. package/cosmos/store/streaming/abci/grpc.js +4 -0
  308. package/cosmos/store/v1beta1/commit_info.d.ts +3 -25
  309. package/cosmos/store/v1beta1/commit_info.js +3 -0
  310. package/cosmos/store/v1beta1/listening.d.ts +3 -23
  311. package/cosmos/store/v1beta1/listening.js +2 -0
  312. package/cosmos/tx/config/v1/config.d.ts +1 -5
  313. package/cosmos/tx/config/v1/config.js +1 -0
  314. package/cosmos/tx/signing/v1beta1/signing.d.ts +7 -33
  315. package/cosmos/tx/signing/v1beta1/signing.js +6 -2
  316. package/cosmos/tx/v1beta1/service.d.ts +23 -170
  317. package/cosmos/tx/v1beta1/service.js +19 -3
  318. package/cosmos/tx/v1beta1/service.lcd.d.ts +4 -4
  319. package/cosmos/tx/v1beta1/service.lcd.js +6 -9
  320. package/cosmos/tx/v1beta1/service.rpc.Service.d.ts +9 -9
  321. package/cosmos/tx/v1beta1/service.rpc.Service.js +37 -27
  322. package/cosmos/tx/v1beta1/tx.d.ts +16 -123
  323. package/cosmos/tx/v1beta1/tx.js +13 -0
  324. package/cosmos/upgrade/module/v1/module.d.ts +1 -4
  325. package/cosmos/upgrade/module/v1/module.js +1 -0
  326. package/cosmos/upgrade/v1beta1/query.d.ts +11 -77
  327. package/cosmos/upgrade/v1beta1/query.js +10 -0
  328. package/cosmos/upgrade/v1beta1/query.lcd.d.ts +6 -6
  329. package/cosmos/upgrade/v1beta1/query.lcd.js +10 -15
  330. package/cosmos/upgrade/v1beta1/query.rpc.Query.d.ts +5 -5
  331. package/cosmos/upgrade/v1beta1/query.rpc.Query.js +24 -15
  332. package/cosmos/upgrade/v1beta1/tx.d.ts +5 -32
  333. package/cosmos/upgrade/v1beta1/tx.js +4 -0
  334. package/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts +3 -2
  335. package/cosmos/upgrade/v1beta1/tx.rpc.msg.js +16 -7
  336. package/cosmos/upgrade/v1beta1/upgrade.d.ts +5 -47
  337. package/cosmos/upgrade/v1beta1/upgrade.js +4 -2
  338. package/cosmos/vesting/module/v1/module.d.ts +1 -3
  339. package/cosmos/vesting/module/v1/module.js +1 -0
  340. package/cosmos/vesting/v1beta1/tx.d.ts +8 -54
  341. package/cosmos/vesting/v1beta1/tx.js +6 -0
  342. package/cosmos/vesting/v1beta1/tx.rpc.msg.d.ts +4 -3
  343. package/cosmos/vesting/v1beta1/tx.rpc.msg.js +21 -10
  344. package/cosmos/vesting/v1beta1/vesting.d.ts +8 -53
  345. package/cosmos/vesting/v1beta1/vesting.js +6 -0
  346. package/cosmos_proto/bundle.d.ts +0 -1
  347. package/cosmos_proto/cosmos.d.ts +0 -23
  348. package/cosmos_proto/cosmos.js +1 -2
  349. package/esm/cosmos/app/runtime/v1alpha1/module.js +2 -0
  350. package/esm/cosmos/app/v1alpha1/module.js +3 -0
  351. package/esm/cosmos/auth/module/v1/module.js +2 -0
  352. package/esm/cosmos/auth/v1beta1/auth.js +4 -2
  353. package/esm/cosmos/auth/v1beta1/genesis.js +1 -0
  354. package/esm/cosmos/auth/v1beta1/query.js +20 -0
  355. package/esm/cosmos/auth/v1beta1/query.lcd.js +21 -31
  356. package/esm/cosmos/auth/v1beta1/query.rpc.Query.js +48 -31
  357. package/esm/cosmos/auth/v1beta1/tx.js +2 -0
  358. package/esm/cosmos/auth/v1beta1/tx.rpc.msg.js +9 -3
  359. package/esm/cosmos/authz/module/v1/module.js +1 -0
  360. package/esm/cosmos/authz/v1beta1/authz.js +4 -1
  361. package/esm/cosmos/authz/v1beta1/event.js +2 -0
  362. package/esm/cosmos/authz/v1beta1/genesis.js +1 -0
  363. package/esm/cosmos/authz/v1beta1/query.js +6 -0
  364. package/esm/cosmos/authz/v1beta1/query.lcd.js +6 -9
  365. package/esm/cosmos/authz/v1beta1/query.rpc.Query.js +13 -9
  366. package/esm/cosmos/authz/v1beta1/tx.js +6 -0
  367. package/esm/cosmos/authz/v1beta1/tx.rpc.msg.js +18 -9
  368. package/esm/cosmos/bank/module/v1/module.js +1 -0
  369. package/esm/cosmos/bank/v1beta1/authz.js +1 -1
  370. package/esm/cosmos/bank/v1beta1/bank.js +7 -1
  371. package/esm/cosmos/bank/v1beta1/genesis.js +2 -0
  372. package/esm/cosmos/bank/v1beta1/query.js +27 -0
  373. package/esm/cosmos/bank/v1beta1/query.lcd.js +28 -41
  374. package/esm/cosmos/bank/v1beta1/query.rpc.Query.js +78 -41
  375. package/esm/cosmos/bank/v1beta1/tx.js +8 -0
  376. package/esm/cosmos/bank/v1beta1/tx.rpc.msg.js +23 -12
  377. package/esm/cosmos/base/abci/v1beta1/abci.js +11 -0
  378. package/esm/cosmos/base/node/v1beta1/query.js +4 -0
  379. package/esm/cosmos/base/node/v1beta1/query.lcd.js +4 -6
  380. package/esm/cosmos/base/node/v1beta1/query.rpc.Service.js +6 -6
  381. package/esm/cosmos/base/query/v1beta1/pagination.js +2 -0
  382. package/esm/cosmos/base/reflection/v2alpha1/reflection.js +26 -0
  383. package/esm/cosmos/base/v1beta1/coin.js +5 -1
  384. package/esm/cosmos/benchmark/module/v1/module.js +2 -0
  385. package/esm/cosmos/benchmark/v1/benchmark.js +1 -0
  386. package/esm/cosmos/benchmark/v1/tx.js +2 -0
  387. package/esm/cosmos/benchmark/v1/tx.rpc.msg.js +6 -3
  388. package/esm/cosmos/circuit/module/v1/module.js +1 -0
  389. package/esm/cosmos/circuit/v1/query.js +6 -0
  390. package/esm/cosmos/circuit/v1/query.lcd.js +7 -10
  391. package/esm/cosmos/circuit/v1/query.rpc.Query.js +10 -10
  392. package/esm/cosmos/circuit/v1/tx.js +6 -0
  393. package/esm/cosmos/circuit/v1/tx.rpc.msg.js +14 -9
  394. package/esm/cosmos/circuit/v1/types.js +3 -1
  395. package/esm/cosmos/consensus/module/v1/module.js +1 -0
  396. package/esm/cosmos/consensus/v1/query.js +2 -0
  397. package/esm/cosmos/consensus/v1/query.lcd.js +2 -3
  398. package/esm/cosmos/consensus/v1/query.rpc.Query.js +3 -3
  399. package/esm/cosmos/consensus/v1/tx.js +2 -0
  400. package/esm/cosmos/consensus/v1/tx.rpc.msg.js +9 -3
  401. package/esm/cosmos/counter/module/v1/module.js +1 -0
  402. package/esm/cosmos/counter/v1/query.js +2 -0
  403. package/esm/cosmos/counter/v1/query.rpc.Query.js +3 -3
  404. package/esm/cosmos/counter/v1/tx.js +2 -0
  405. package/esm/cosmos/counter/v1/tx.rpc.msg.js +6 -3
  406. package/esm/cosmos/crisis/module/v1/module.js +1 -0
  407. package/esm/cosmos/crypto/ed25519/keys.js +2 -0
  408. package/esm/cosmos/crypto/hd/v1/hd.js +1 -0
  409. package/esm/cosmos/crypto/keyring/v1/record.js +5 -0
  410. package/esm/cosmos/crypto/multisig/keys.js +1 -0
  411. package/esm/cosmos/crypto/multisig/v1beta1/multisig.js +2 -0
  412. package/esm/cosmos/crypto/secp256k1/keys.js +2 -0
  413. package/esm/cosmos/crypto/secp256r1/keys.js +2 -0
  414. package/esm/cosmos/distribution/module/v1/module.js +1 -0
  415. package/esm/cosmos/distribution/v1beta1/distribution.js +13 -3
  416. package/esm/cosmos/distribution/v1beta1/genesis.js +8 -0
  417. package/esm/cosmos/distribution/v1beta1/query.js +20 -0
  418. package/esm/cosmos/distribution/v1beta1/query.lcd.js +20 -30
  419. package/esm/cosmos/distribution/v1beta1/query.rpc.Query.js +31 -30
  420. package/esm/cosmos/distribution/v1beta1/tx.js +14 -0
  421. package/esm/cosmos/distribution/v1beta1/tx.rpc.msg.js +39 -21
  422. package/esm/cosmos/epochs/module/v1/module.js +1 -0
  423. package/esm/cosmos/epochs/v1beta1/events.js +2 -0
  424. package/esm/cosmos/epochs/v1beta1/genesis.js +2 -0
  425. package/esm/cosmos/epochs/v1beta1/query.js +4 -0
  426. package/esm/cosmos/epochs/v1beta1/query.lcd.js +4 -6
  427. package/esm/cosmos/epochs/v1beta1/query.rpc.Query.js +6 -6
  428. package/esm/cosmos/evidence/module/v1/module.js +1 -0
  429. package/esm/cosmos/feegrant/module/v1/module.js +1 -0
  430. package/esm/cosmos/feegrant/v1beta1/feegrant.js +4 -3
  431. package/esm/cosmos/feegrant/v1beta1/genesis.js +1 -0
  432. package/esm/cosmos/feegrant/v1beta1/query.js +6 -0
  433. package/esm/cosmos/feegrant/v1beta1/query.lcd.js +6 -9
  434. package/esm/cosmos/feegrant/v1beta1/query.rpc.Query.js +11 -9
  435. package/esm/cosmos/feegrant/v1beta1/tx.js +6 -0
  436. package/esm/cosmos/feegrant/v1beta1/tx.rpc.msg.js +16 -9
  437. package/esm/cosmos/genutil/module/v1/module.js +1 -0
  438. package/esm/cosmos/gov/module/v1/module.js +1 -0
  439. package/esm/cosmos/gov/v1/genesis.js +1 -0
  440. package/esm/cosmos/gov/v1/gov.js +9 -2
  441. package/esm/cosmos/gov/v1/query.js +18 -0
  442. package/esm/cosmos/gov/v1/query.lcd.js +18 -27
  443. package/esm/cosmos/gov/v1/query.rpc.Query.js +27 -27
  444. package/esm/cosmos/gov/v1/tx.js +14 -0
  445. package/esm/cosmos/gov/v1/tx.rpc.msg.js +30 -21
  446. package/esm/cosmos/gov/v1beta1/genesis.js +1 -0
  447. package/esm/cosmos/gov/v1beta1/gov.js +10 -4
  448. package/esm/cosmos/gov/v1beta1/query.js +16 -0
  449. package/esm/cosmos/gov/v1beta1/query.lcd.js +16 -24
  450. package/esm/cosmos/gov/v1beta1/query.rpc.Query.js +24 -24
  451. package/esm/cosmos/gov/v1beta1/tx.js +8 -0
  452. package/esm/cosmos/gov/v1beta1/tx.rpc.msg.js +17 -12
  453. package/esm/cosmos/group/module/v1/module.js +1 -0
  454. package/esm/cosmos/group/v1/events.js +11 -0
  455. package/esm/cosmos/group/v1/genesis.js +1 -0
  456. package/esm/cosmos/group/v1/query.js +28 -0
  457. package/esm/cosmos/group/v1/query.lcd.js +29 -43
  458. package/esm/cosmos/group/v1/query.rpc.Query.js +49 -43
  459. package/esm/cosmos/group/v1/tx.js +28 -1
  460. package/esm/cosmos/group/v1/tx.rpc.msg.js +45 -42
  461. package/esm/cosmos/group/v1/types.js +11 -5
  462. package/esm/cosmos/ics23/v1/proofs.js +13 -2
  463. package/esm/cosmos/mint/module/v1/module.js +1 -0
  464. package/esm/cosmos/mint/v1beta1/genesis.js +1 -0
  465. package/esm/cosmos/mint/v1beta1/mint.js +3 -1
  466. package/esm/cosmos/mint/v1beta1/query.js +6 -0
  467. package/esm/cosmos/mint/v1beta1/query.lcd.js +6 -9
  468. package/esm/cosmos/mint/v1beta1/query.rpc.Query.js +9 -9
  469. package/esm/cosmos/mint/v1beta1/tx.js +2 -0
  470. package/esm/cosmos/mint/v1beta1/tx.rpc.msg.js +9 -3
  471. package/esm/cosmos/nft/module/v1/module.js +1 -0
  472. package/esm/cosmos/orm/module/v1alpha1/module.js +1 -0
  473. package/esm/cosmos/orm/query/v1alpha1/query.js +7 -0
  474. package/esm/cosmos/orm/query/v1alpha1/query.rpc.Query.js +6 -6
  475. package/esm/cosmos/params/module/v1/module.js +1 -0
  476. package/esm/cosmos/params/v1beta1/params.js +2 -1
  477. package/esm/cosmos/params/v1beta1/query.js +5 -0
  478. package/esm/cosmos/params/v1beta1/query.lcd.js +4 -6
  479. package/esm/cosmos/params/v1beta1/query.rpc.Query.js +9 -6
  480. package/esm/cosmos/protocolpool/module/v1/module.js +1 -0
  481. package/esm/cosmos/protocolpool/v1/genesis.js +1 -0
  482. package/esm/cosmos/protocolpool/v1/query.js +8 -0
  483. package/esm/cosmos/protocolpool/v1/query.lcd.js +8 -12
  484. package/esm/cosmos/protocolpool/v1/query.rpc.Query.js +12 -12
  485. package/esm/cosmos/protocolpool/v1/tx.js +11 -1
  486. package/esm/cosmos/protocolpool/v1/tx.rpc.msg.js +26 -15
  487. package/esm/cosmos/protocolpool/v1/types.js +3 -1
  488. package/esm/cosmos/reflection/v1/reflection.js +2 -0
  489. package/esm/cosmos/slashing/module/v1/module.js +1 -0
  490. package/esm/cosmos/staking/module/v1/module.js +1 -0
  491. package/esm/cosmos/staking/v1beta1/authz.js +2 -2
  492. package/esm/cosmos/staking/v1beta1/genesis.js +2 -0
  493. package/esm/cosmos/staking/v1beta1/query.js +28 -0
  494. package/esm/cosmos/staking/v1beta1/query.lcd.js +28 -42
  495. package/esm/cosmos/staking/v1beta1/query.rpc.Query.js +67 -42
  496. package/esm/cosmos/staking/v1beta1/staking.js +23 -4
  497. package/esm/cosmos/staking/v1beta1/tx.js +16 -2
  498. package/esm/cosmos/staking/v1beta1/tx.rpc.msg.js +32 -21
  499. package/esm/cosmos/store/internal/kv/v1beta1/kv.js +2 -0
  500. package/esm/cosmos/store/snapshots/v1/snapshot.js +7 -0
  501. package/esm/cosmos/store/streaming/abci/grpc.js +4 -0
  502. package/esm/cosmos/store/v1beta1/commit_info.js +3 -0
  503. package/esm/cosmos/store/v1beta1/listening.js +2 -0
  504. package/esm/cosmos/tx/config/v1/config.js +1 -0
  505. package/esm/cosmos/tx/signing/v1beta1/signing.js +5 -1
  506. package/esm/cosmos/tx/v1beta1/service.js +18 -2
  507. package/esm/cosmos/tx/v1beta1/service.lcd.js +6 -9
  508. package/esm/cosmos/tx/v1beta1/service.rpc.Service.js +37 -27
  509. package/esm/cosmos/tx/v1beta1/tx.js +13 -0
  510. package/esm/cosmos/upgrade/module/v1/module.js +1 -0
  511. package/esm/cosmos/upgrade/v1beta1/query.js +10 -0
  512. package/esm/cosmos/upgrade/v1beta1/query.lcd.js +10 -15
  513. package/esm/cosmos/upgrade/v1beta1/query.rpc.Query.js +24 -15
  514. package/esm/cosmos/upgrade/v1beta1/tx.js +4 -0
  515. package/esm/cosmos/upgrade/v1beta1/tx.rpc.msg.js +14 -6
  516. package/esm/cosmos/upgrade/v1beta1/upgrade.js +4 -2
  517. package/esm/cosmos/vesting/module/v1/module.js +1 -0
  518. package/esm/cosmos/vesting/v1beta1/tx.js +6 -0
  519. package/esm/cosmos/vesting/v1beta1/tx.rpc.msg.js +19 -9
  520. package/esm/cosmos/vesting/v1beta1/vesting.js +6 -0
  521. package/esm/cosmos_proto/cosmos.js +0 -1
  522. package/esm/google/protobuf/any.js +0 -1
  523. package/esm/google/protobuf/descriptor.js +0 -20
  524. package/esm/ibc/applications/interchain_accounts/controller/v1/controller.js +1 -0
  525. package/esm/ibc/applications/interchain_accounts/controller/v1/query.js +4 -0
  526. package/esm/ibc/applications/interchain_accounts/controller/v1/query.lcd.js +4 -6
  527. package/esm/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.js +6 -6
  528. package/esm/ibc/applications/interchain_accounts/controller/v1/tx.js +6 -0
  529. package/esm/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.js +12 -9
  530. package/esm/ibc/applications/interchain_accounts/genesis/v1/genesis.js +5 -0
  531. package/esm/ibc/applications/interchain_accounts/host/v1/host.js +2 -0
  532. package/esm/ibc/applications/interchain_accounts/host/v1/query.js +2 -0
  533. package/esm/ibc/applications/interchain_accounts/host/v1/query.lcd.js +2 -3
  534. package/esm/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.js +3 -3
  535. package/esm/ibc/applications/interchain_accounts/host/v1/tx.js +4 -0
  536. package/esm/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.js +9 -6
  537. package/esm/ibc/applications/interchain_accounts/v1/account.js +1 -1
  538. package/esm/ibc/applications/interchain_accounts/v1/metadata.js +1 -0
  539. package/esm/ibc/applications/interchain_accounts/v1/packet.js +2 -1
  540. package/esm/ibc/applications/packet_forward_middleware/v1/genesis.js +2 -0
  541. package/esm/ibc/applications/transfer/v1/authz.js +2 -1
  542. package/esm/ibc/applications/transfer/v1/denomtrace.js +1 -0
  543. package/esm/ibc/applications/transfer/v1/genesis.js +1 -0
  544. package/esm/ibc/applications/transfer/v1/packet.js +1 -0
  545. package/esm/ibc/applications/transfer/v1/query.js +12 -0
  546. package/esm/ibc/applications/transfer/v1/query.lcd.js +13 -19
  547. package/esm/ibc/applications/transfer/v1/query.rpc.Query.js +19 -19
  548. package/esm/ibc/applications/transfer/v1/token.js +3 -0
  549. package/esm/ibc/applications/transfer/v1/transfer.js +1 -0
  550. package/esm/ibc/applications/transfer/v1/tx.js +4 -0
  551. package/esm/ibc/applications/transfer/v1/tx.rpc.msg.js +9 -6
  552. package/esm/ibc/core/channel/v1/channel.js +8 -2
  553. package/esm/ibc/core/channel/v1/genesis.js +2 -0
  554. package/esm/ibc/core/channel/v1/query.js +28 -0
  555. package/esm/ibc/core/channel/v1/query.lcd.js +29 -43
  556. package/esm/ibc/core/channel/v1/query.rpc.Query.js +51 -43
  557. package/esm/ibc/core/channel/v1/tx.js +20 -1
  558. package/esm/ibc/core/channel/v1/tx.rpc.msg.js +34 -30
  559. package/esm/ibc/core/channel/v2/genesis.js +3 -0
  560. package/esm/ibc/core/channel/v2/packet.js +4 -1
  561. package/esm/ibc/core/channel/v2/query.js +16 -0
  562. package/esm/ibc/core/channel/v2/query.lcd.js +16 -24
  563. package/esm/ibc/core/channel/v2/query.rpc.Query.js +24 -24
  564. package/esm/ibc/core/channel/v2/tx.js +8 -1
  565. package/esm/ibc/core/channel/v2/tx.rpc.msg.js +15 -12
  566. package/esm/ibc/core/client/v1/client.js +5 -0
  567. package/esm/ibc/core/client/v1/genesis.js +3 -0
  568. package/esm/ibc/core/client/v1/query.js +22 -0
  569. package/esm/ibc/core/client/v1/query.lcd.js +21 -31
  570. package/esm/ibc/core/client/v1/query.rpc.Query.js +36 -34
  571. package/esm/ibc/core/client/v1/tx.js +16 -0
  572. package/esm/ibc/core/client/v1/tx.rpc.msg.js +27 -24
  573. package/esm/ibc/core/client/v2/config.js +1 -0
  574. package/esm/ibc/core/client/v2/counterparty.js +1 -0
  575. package/esm/ibc/core/client/v2/genesis.js +2 -0
  576. package/esm/ibc/core/client/v2/query.js +4 -0
  577. package/esm/ibc/core/client/v2/query.lcd.js +4 -6
  578. package/esm/ibc/core/client/v2/query.rpc.Query.js +6 -6
  579. package/esm/ibc/core/client/v2/tx.js +4 -0
  580. package/esm/ibc/core/client/v2/tx.rpc.msg.js +9 -6
  581. package/esm/ibc/core/commitment/v1/commitment.js +3 -0
  582. package/esm/ibc/core/commitment/v2/commitment.js +1 -0
  583. package/esm/ibc/core/connection/v1/connection.js +7 -1
  584. package/esm/ibc/core/connection/v1/genesis.js +1 -0
  585. package/esm/ibc/core/connection/v1/query.js +12 -0
  586. package/esm/ibc/core/connection/v1/query.lcd.js +13 -19
  587. package/esm/ibc/core/connection/v1/query.rpc.Query.js +22 -19
  588. package/esm/ibc/core/connection/v1/tx.js +10 -0
  589. package/esm/ibc/core/connection/v1/tx.rpc.msg.js +20 -15
  590. package/esm/ibc/lightclients/solomachine/v2/solomachine.js +16 -1
  591. package/esm/ibc/lightclients/solomachine/v3/solomachine.js +8 -0
  592. package/esm/ibc/lightclients/tendermint/v1/tendermint.js +5 -0
  593. package/esm/ibc/lightclients/wasm/v1/genesis.js +2 -0
  594. package/esm/ibc/lightclients/wasm/v1/query.js +4 -0
  595. package/esm/ibc/lightclients/wasm/v1/query.lcd.js +5 -7
  596. package/esm/ibc/lightclients/wasm/v1/query.rpc.Query.js +7 -7
  597. package/esm/ibc/lightclients/wasm/v1/tx.js +6 -0
  598. package/esm/ibc/lightclients/wasm/v1/tx.rpc.msg.js +12 -9
  599. package/esm/ibc/lightclients/wasm/v1/wasm.js +4 -0
  600. package/esm/sparkdream/blog/params.js +1 -0
  601. package/esm/sparkdream/blog/query.lcd.js +7 -10
  602. package/esm/sparkdream/blog/query.rpc.Query.js +10 -10
  603. package/esm/sparkdream/blog/tx.js +1 -0
  604. package/esm/sparkdream/blog/tx.rpc.msg.js +16 -12
  605. package/esm/sparkdream/sparkdream/params.js +1 -0
  606. package/esm/sparkdream/sparkdream/query.lcd.js +2 -3
  607. package/esm/sparkdream/sparkdream/query.rpc.Query.js +3 -3
  608. package/esm/sparkdream/sparkdream/tx.js +1 -0
  609. package/esm/sparkdream/sparkdream/tx.rpc.msg.js +7 -3
  610. package/esm/tendermint/abci/types.js +0 -6
  611. package/esm/tendermint/types/types.js +0 -1
  612. package/esm/tendermint/types/validator.js +0 -1
  613. package/google/api/http.d.ts +0 -292
  614. package/google/bundle.d.ts +0 -20
  615. package/google/protobuf/any.d.ts +0 -93
  616. package/google/protobuf/any.js +0 -1
  617. package/google/protobuf/descriptor.d.ts +0 -336
  618. package/google/protobuf/descriptor.js +2 -22
  619. package/google/protobuf/duration.d.ts +0 -64
  620. package/google/protobuf/timestamp.d.ts +0 -95
  621. package/ibc/applications/interchain_accounts/controller/v1/controller.d.ts +1 -7
  622. package/ibc/applications/interchain_accounts/controller/v1/controller.js +1 -0
  623. package/ibc/applications/interchain_accounts/controller/v1/query.d.ts +5 -17
  624. package/ibc/applications/interchain_accounts/controller/v1/query.js +4 -0
  625. package/ibc/applications/interchain_accounts/controller/v1/query.lcd.d.ts +3 -3
  626. package/ibc/applications/interchain_accounts/controller/v1/query.lcd.js +4 -6
  627. package/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.d.ts +2 -2
  628. package/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.js +6 -6
  629. package/ibc/applications/interchain_accounts/controller/v1/tx.d.ts +8 -33
  630. package/ibc/applications/interchain_accounts/controller/v1/tx.js +6 -0
  631. package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.d.ts +4 -3
  632. package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.js +14 -10
  633. package/ibc/applications/interchain_accounts/genesis/v1/genesis.d.ts +5 -37
  634. package/ibc/applications/interchain_accounts/genesis/v1/genesis.js +5 -0
  635. package/ibc/applications/interchain_accounts/host/v1/host.d.ts +2 -16
  636. package/ibc/applications/interchain_accounts/host/v1/host.js +2 -0
  637. package/ibc/applications/interchain_accounts/host/v1/query.d.ts +3 -8
  638. package/ibc/applications/interchain_accounts/host/v1/query.js +2 -0
  639. package/ibc/applications/interchain_accounts/host/v1/query.lcd.d.ts +2 -2
  640. package/ibc/applications/interchain_accounts/host/v1/query.lcd.js +2 -3
  641. package/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.d.ts +1 -1
  642. package/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.js +3 -3
  643. package/ibc/applications/interchain_accounts/host/v1/tx.d.ts +5 -19
  644. package/ibc/applications/interchain_accounts/host/v1/tx.js +4 -0
  645. package/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.d.ts +3 -2
  646. package/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.js +11 -7
  647. package/ibc/applications/interchain_accounts/v1/account.d.ts +2 -8
  648. package/ibc/applications/interchain_accounts/v1/account.js +1 -1
  649. package/ibc/applications/interchain_accounts/v1/metadata.d.ts +1 -12
  650. package/ibc/applications/interchain_accounts/v1/metadata.js +1 -0
  651. package/ibc/applications/interchain_accounts/v1/packet.d.ts +3 -12
  652. package/ibc/applications/interchain_accounts/v1/packet.js +3 -2
  653. package/ibc/applications/packet_forward_middleware/v1/genesis.d.ts +2 -28
  654. package/ibc/applications/packet_forward_middleware/v1/genesis.js +2 -0
  655. package/ibc/applications/transfer/v1/authz.d.ts +3 -18
  656. package/ibc/applications/transfer/v1/authz.js +2 -1
  657. package/ibc/applications/transfer/v1/denomtrace.d.ts +1 -9
  658. package/ibc/applications/transfer/v1/denomtrace.js +1 -0
  659. package/ibc/applications/transfer/v1/genesis.d.ts +4 -10
  660. package/ibc/applications/transfer/v1/genesis.js +1 -0
  661. package/ibc/applications/transfer/v1/packet.d.ts +1 -12
  662. package/ibc/applications/transfer/v1/packet.js +1 -0
  663. package/ibc/applications/transfer/v1/query.d.ts +16 -71
  664. package/ibc/applications/transfer/v1/query.js +12 -0
  665. package/ibc/applications/transfer/v1/query.lcd.d.ts +7 -7
  666. package/ibc/applications/transfer/v1/query.lcd.js +13 -19
  667. package/ibc/applications/transfer/v1/query.rpc.Query.d.ts +6 -6
  668. package/ibc/applications/transfer/v1/query.rpc.Query.js +19 -19
  669. package/ibc/applications/transfer/v1/token.d.ts +3 -15
  670. package/ibc/applications/transfer/v1/token.js +3 -0
  671. package/ibc/applications/transfer/v1/transfer.d.ts +1 -10
  672. package/ibc/applications/transfer/v1/transfer.js +1 -0
  673. package/ibc/applications/transfer/v1/tx.d.ts +6 -33
  674. package/ibc/applications/transfer/v1/tx.js +4 -0
  675. package/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +3 -2
  676. package/ibc/applications/transfer/v1/tx.rpc.msg.js +11 -7
  677. package/ibc/bundle.d.ts +290 -8
  678. package/ibc/core/channel/v1/channel.d.ts +9 -88
  679. package/ibc/core/channel/v1/channel.js +9 -3
  680. package/ibc/core/channel/v1/genesis.d.ts +3 -21
  681. package/ibc/core/channel/v1/genesis.js +2 -0
  682. package/ibc/core/channel/v1/query.d.ts +32 -245
  683. package/ibc/core/channel/v1/query.js +28 -0
  684. package/ibc/core/channel/v1/query.lcd.d.ts +15 -15
  685. package/ibc/core/channel/v1/query.lcd.js +29 -43
  686. package/ibc/core/channel/v1/query.rpc.Query.d.ts +14 -14
  687. package/ibc/core/channel/v1/query.rpc.Query.js +51 -43
  688. package/ibc/core/channel/v1/tx.d.ts +22 -147
  689. package/ibc/core/channel/v1/tx.js +21 -2
  690. package/ibc/core/channel/v1/tx.rpc.msg.d.ts +11 -10
  691. package/ibc/core/channel/v1/tx.rpc.msg.js +36 -31
  692. package/ibc/core/channel/v2/genesis.d.ts +3 -24
  693. package/ibc/core/channel/v2/genesis.js +3 -0
  694. package/ibc/core/channel/v2/packet.d.ts +4 -33
  695. package/ibc/core/channel/v2/packet.js +5 -2
  696. package/ibc/core/channel/v2/query.d.ts +19 -101
  697. package/ibc/core/channel/v2/query.js +16 -0
  698. package/ibc/core/channel/v2/query.lcd.d.ts +9 -9
  699. package/ibc/core/channel/v2/query.lcd.js +16 -24
  700. package/ibc/core/channel/v2/query.rpc.Query.d.ts +8 -8
  701. package/ibc/core/channel/v2/query.rpc.Query.js +24 -24
  702. package/ibc/core/channel/v2/tx.d.ts +10 -48
  703. package/ibc/core/channel/v2/tx.js +9 -2
  704. package/ibc/core/channel/v2/tx.rpc.msg.d.ts +5 -4
  705. package/ibc/core/channel/v2/tx.rpc.msg.js +17 -13
  706. package/ibc/core/client/v1/client.d.ts +6 -48
  707. package/ibc/core/client/v1/client.js +5 -0
  708. package/ibc/core/client/v1/genesis.d.ts +4 -27
  709. package/ibc/core/client/v1/genesis.js +3 -0
  710. package/ibc/core/client/v1/query.d.ts +26 -169
  711. package/ibc/core/client/v1/query.js +22 -0
  712. package/ibc/core/client/v1/query.lcd.d.ts +11 -11
  713. package/ibc/core/client/v1/query.lcd.js +21 -31
  714. package/ibc/core/client/v1/query.rpc.Query.d.ts +11 -11
  715. package/ibc/core/client/v1/query.rpc.Query.js +36 -34
  716. package/ibc/core/client/v1/tx.d.ts +19 -91
  717. package/ibc/core/client/v1/tx.js +16 -0
  718. package/ibc/core/client/v1/tx.rpc.msg.d.ts +9 -8
  719. package/ibc/core/client/v1/tx.rpc.msg.js +29 -25
  720. package/ibc/core/client/v2/config.d.ts +1 -9
  721. package/ibc/core/client/v2/config.js +1 -0
  722. package/ibc/core/client/v2/counterparty.d.ts +1 -5
  723. package/ibc/core/client/v2/counterparty.js +1 -0
  724. package/ibc/core/client/v2/genesis.d.ts +3 -10
  725. package/ibc/core/client/v2/genesis.js +2 -0
  726. package/ibc/core/client/v2/query.d.ts +6 -24
  727. package/ibc/core/client/v2/query.js +4 -0
  728. package/ibc/core/client/v2/query.lcd.d.ts +3 -3
  729. package/ibc/core/client/v2/query.lcd.js +4 -6
  730. package/ibc/core/client/v2/query.rpc.Query.d.ts +2 -2
  731. package/ibc/core/client/v2/query.rpc.Query.js +6 -6
  732. package/ibc/core/client/v2/tx.d.ts +5 -20
  733. package/ibc/core/client/v2/tx.js +4 -0
  734. package/ibc/core/client/v2/tx.rpc.msg.d.ts +3 -2
  735. package/ibc/core/client/v2/tx.rpc.msg.js +11 -7
  736. package/ibc/core/commitment/v1/commitment.d.ts +4 -26
  737. package/ibc/core/commitment/v1/commitment.js +3 -0
  738. package/ibc/core/commitment/v2/commitment.d.ts +1 -36
  739. package/ibc/core/commitment/v2/commitment.js +1 -0
  740. package/ibc/core/connection/v1/connection.d.ts +8 -54
  741. package/ibc/core/connection/v1/connection.js +8 -2
  742. package/ibc/core/connection/v1/genesis.d.ts +2 -8
  743. package/ibc/core/connection/v1/genesis.js +1 -0
  744. package/ibc/core/connection/v1/query.d.ts +16 -95
  745. package/ibc/core/connection/v1/query.js +12 -0
  746. package/ibc/core/connection/v1/query.lcd.d.ts +7 -7
  747. package/ibc/core/connection/v1/query.lcd.js +13 -19
  748. package/ibc/core/connection/v1/query.rpc.Query.d.ts +6 -6
  749. package/ibc/core/connection/v1/query.rpc.Query.js +22 -19
  750. package/ibc/core/connection/v1/tx.d.ts +13 -97
  751. package/ibc/core/connection/v1/tx.js +10 -0
  752. package/ibc/core/connection/v1/tx.rpc.msg.d.ts +6 -5
  753. package/ibc/core/connection/v1/tx.rpc.msg.js +22 -16
  754. package/ibc/lightclients/solomachine/v2/solomachine.d.ts +19 -133
  755. package/ibc/lightclients/solomachine/v2/solomachine.js +17 -2
  756. package/ibc/lightclients/solomachine/v3/solomachine.d.ts +9 -67
  757. package/ibc/lightclients/solomachine/v3/solomachine.js +8 -0
  758. package/ibc/lightclients/tendermint/v1/tendermint.d.ts +11 -69
  759. package/ibc/lightclients/tendermint/v1/tendermint.js +5 -0
  760. package/ibc/lightclients/wasm/v1/genesis.d.ts +2 -8
  761. package/ibc/lightclients/wasm/v1/genesis.js +2 -0
  762. package/ibc/lightclients/wasm/v1/query.d.ts +5 -18
  763. package/ibc/lightclients/wasm/v1/query.js +4 -0
  764. package/ibc/lightclients/wasm/v1/query.lcd.d.ts +3 -3
  765. package/ibc/lightclients/wasm/v1/query.lcd.js +5 -7
  766. package/ibc/lightclients/wasm/v1/query.rpc.Query.d.ts +2 -2
  767. package/ibc/lightclients/wasm/v1/query.rpc.Query.js +7 -7
  768. package/ibc/lightclients/wasm/v1/tx.d.ts +6 -27
  769. package/ibc/lightclients/wasm/v1/tx.js +6 -0
  770. package/ibc/lightclients/wasm/v1/tx.rpc.msg.d.ts +4 -3
  771. package/ibc/lightclients/wasm/v1/tx.rpc.msg.js +14 -10
  772. package/ibc/lightclients/wasm/v1/wasm.d.ts +5 -25
  773. package/ibc/lightclients/wasm/v1/wasm.js +4 -0
  774. package/package.json +1 -1
  775. package/sparkdream/blog/genesis.d.ts +1 -5
  776. package/sparkdream/blog/module/module.d.ts +0 -4
  777. package/sparkdream/blog/params.d.ts +1 -3
  778. package/sparkdream/blog/params.js +1 -0
  779. package/sparkdream/blog/post.d.ts +0 -6
  780. package/sparkdream/blog/query.d.ts +3 -23
  781. package/sparkdream/blog/query.lcd.d.ts +4 -4
  782. package/sparkdream/blog/query.lcd.js +7 -10
  783. package/sparkdream/blog/query.rpc.Query.d.ts +3 -3
  784. package/sparkdream/blog/query.rpc.Query.js +10 -10
  785. package/sparkdream/blog/tx.d.ts +2 -34
  786. package/sparkdream/blog/tx.js +1 -0
  787. package/sparkdream/blog/tx.rpc.msg.d.ts +5 -4
  788. package/sparkdream/blog/tx.rpc.msg.js +18 -13
  789. package/sparkdream/bundle.d.ts +6 -0
  790. package/sparkdream/sparkdream/genesis.d.ts +1 -5
  791. package/sparkdream/sparkdream/module/module.d.ts +0 -4
  792. package/sparkdream/sparkdream/params.d.ts +1 -3
  793. package/sparkdream/sparkdream/params.js +1 -0
  794. package/sparkdream/sparkdream/query.d.ts +1 -8
  795. package/sparkdream/sparkdream/query.lcd.d.ts +2 -2
  796. package/sparkdream/sparkdream/query.lcd.js +2 -3
  797. package/sparkdream/sparkdream/query.rpc.Query.d.ts +1 -1
  798. package/sparkdream/sparkdream/query.rpc.Query.js +3 -3
  799. package/sparkdream/sparkdream/tx.d.ts +2 -12
  800. package/sparkdream/sparkdream/tx.js +1 -0
  801. package/sparkdream/sparkdream/tx.rpc.msg.d.ts +2 -1
  802. package/sparkdream/sparkdream/tx.rpc.msg.js +9 -4
  803. package/tendermint/abci/types.d.ts +3 -309
  804. package/tendermint/abci/types.js +2 -8
  805. package/tendermint/bundle.d.ts +0 -8
  806. package/tendermint/crypto/keys.d.ts +0 -5
  807. package/tendermint/crypto/proof.d.ts +0 -29
  808. package/tendermint/p2p/types.d.ts +0 -24
  809. package/tendermint/types/block.d.ts +2 -8
  810. package/tendermint/types/evidence.d.ts +2 -25
  811. package/tendermint/types/params.d.ts +1 -47
  812. package/tendermint/types/types.d.ts +3 -118
  813. package/tendermint/types/types.js +1 -2
  814. package/tendermint/types/validator.d.ts +1 -17
  815. package/tendermint/types/validator.js +1 -2
  816. package/tendermint/version/types.d.ts +0 -18
  817. package/types.d.ts +2 -55
@@ -7,16 +7,6 @@ class LCDQueryClient {
7
7
  req;
8
8
  constructor({ requestClient }) {
9
9
  this.req = requestClient;
10
- this.accounts = this.accounts.bind(this);
11
- this.account = this.account.bind(this);
12
- this.accountAddressByID = this.accountAddressByID.bind(this);
13
- this.params = this.params.bind(this);
14
- this.moduleAccounts = this.moduleAccounts.bind(this);
15
- this.moduleAccountByName = this.moduleAccountByName.bind(this);
16
- this.bech32Prefix = this.bech32Prefix.bind(this);
17
- this.addressBytesToString = this.addressBytesToString.bind(this);
18
- this.addressStringToBytes = this.addressStringToBytes.bind(this);
19
- this.accountInfo = this.accountInfo.bind(this);
20
10
  }
21
11
  /* Accounts returns all the existing accounts.
22
12
 
@@ -24,9 +14,9 @@ class LCDQueryClient {
24
14
  gas if the pagination field is incorrectly set.
25
15
 
26
16
  Since: cosmos-sdk 0.43 */
27
- async accounts(params = {
17
+ accounts = async (params = {
28
18
  pagination: undefined
29
- }) {
19
+ }) => {
30
20
  const options = {
31
21
  params: {}
32
22
  };
@@ -35,16 +25,16 @@ class LCDQueryClient {
35
25
  }
36
26
  const endpoint = `cosmos/auth/v1beta1/accounts`;
37
27
  return await this.req.get(endpoint, options);
38
- }
28
+ };
39
29
  /* Account returns account details based on address. */
40
- async account(params) {
30
+ account = async (params) => {
41
31
  const endpoint = `cosmos/auth/v1beta1/accounts/${params.address}`;
42
32
  return await this.req.get(endpoint);
43
- }
33
+ };
44
34
  /* AccountAddressByID returns account address based on account number.
45
35
 
46
36
  Since: cosmos-sdk 0.46.2 */
47
- async accountAddressByID(params) {
37
+ accountAddressByID = async (params) => {
48
38
  const options = {
49
39
  params: {}
50
40
  };
@@ -53,51 +43,51 @@ class LCDQueryClient {
53
43
  }
54
44
  const endpoint = `cosmos/auth/v1beta1/address_by_id/${params.id}`;
55
45
  return await this.req.get(endpoint, options);
56
- }
46
+ };
57
47
  /* Params queries all parameters. */
58
- async params(_params = {}) {
48
+ params = async (_params = {}) => {
59
49
  const endpoint = `cosmos/auth/v1beta1/params`;
60
50
  return await this.req.get(endpoint);
61
- }
51
+ };
62
52
  /* ModuleAccounts returns all the existing module accounts.
63
53
 
64
54
  Since: cosmos-sdk 0.46 */
65
- async moduleAccounts(_params = {}) {
55
+ moduleAccounts = async (_params = {}) => {
66
56
  const endpoint = `cosmos/auth/v1beta1/module_accounts`;
67
57
  return await this.req.get(endpoint);
68
- }
58
+ };
69
59
  /* ModuleAccountByName returns the module account info by module name */
70
- async moduleAccountByName(params) {
60
+ moduleAccountByName = async (params) => {
71
61
  const endpoint = `cosmos/auth/v1beta1/module_accounts/${params.name}`;
72
62
  return await this.req.get(endpoint);
73
- }
63
+ };
74
64
  /* Bech32Prefix queries bech32Prefix
75
65
 
76
66
  Since: cosmos-sdk 0.46 */
77
- async bech32Prefix(_params = {}) {
67
+ bech32Prefix = async (_params = {}) => {
78
68
  const endpoint = `cosmos/auth/v1beta1/bech32`;
79
69
  return await this.req.get(endpoint);
80
- }
70
+ };
81
71
  /* AddressBytesToString converts Account Address bytes to string
82
72
 
83
73
  Since: cosmos-sdk 0.46 */
84
- async addressBytesToString(params) {
74
+ addressBytesToString = async (params) => {
85
75
  const endpoint = `cosmos/auth/v1beta1/bech32/${params.addressBytes}`;
86
76
  return await this.req.get(endpoint);
87
- }
77
+ };
88
78
  /* AddressStringToBytes converts Address string to bytes
89
79
 
90
80
  Since: cosmos-sdk 0.46 */
91
- async addressStringToBytes(params) {
81
+ addressStringToBytes = async (params) => {
92
82
  const endpoint = `cosmos/auth/v1beta1/bech32/${params.addressString}`;
93
83
  return await this.req.get(endpoint);
94
- }
84
+ };
95
85
  /* AccountInfo queries account info which is common to all account types.
96
86
 
97
87
  Since: cosmos-sdk 0.47 */
98
- async accountInfo(params) {
88
+ accountInfo = async (params) => {
99
89
  const endpoint = `cosmos/auth/v1beta1/account_info/${params.address}`;
100
90
  return await this.req.get(endpoint);
101
- }
91
+ };
102
92
  }
103
93
  exports.LCDQueryClient = LCDQueryClient;
@@ -58,16 +58,16 @@ export interface Query {
58
58
  export declare class QueryClientImpl implements Query {
59
59
  private readonly rpc;
60
60
  constructor(rpc: TxRpc);
61
- accounts(request?: QueryAccountsRequest): Promise<QueryAccountsResponse>;
62
- account(request: QueryAccountRequest): Promise<QueryAccountResponse>;
63
- accountAddressByID(request: QueryAccountAddressByIDRequest): Promise<QueryAccountAddressByIDResponse>;
64
- params(request?: QueryParamsRequest): Promise<QueryParamsResponse>;
65
- moduleAccounts(request?: QueryModuleAccountsRequest): Promise<QueryModuleAccountsResponse>;
66
- moduleAccountByName(request: QueryModuleAccountByNameRequest): Promise<QueryModuleAccountByNameResponse>;
67
- bech32Prefix(request?: Bech32PrefixRequest): Promise<Bech32PrefixResponse>;
68
- addressBytesToString(request: AddressBytesToStringRequest): Promise<AddressBytesToStringResponse>;
69
- addressStringToBytes(request: AddressStringToBytesRequest): Promise<AddressStringToBytesResponse>;
70
- accountInfo(request: QueryAccountInfoRequest): Promise<QueryAccountInfoResponse>;
61
+ accounts: (request?: QueryAccountsRequest) => Promise<QueryAccountsResponse>;
62
+ account: (request: QueryAccountRequest) => Promise<QueryAccountResponse>;
63
+ accountAddressByID: (request: QueryAccountAddressByIDRequest) => Promise<QueryAccountAddressByIDResponse>;
64
+ params: (request?: QueryParamsRequest) => Promise<QueryParamsResponse>;
65
+ moduleAccounts: (request?: QueryModuleAccountsRequest) => Promise<QueryModuleAccountsResponse>;
66
+ moduleAccountByName: (request: QueryModuleAccountByNameRequest) => Promise<QueryModuleAccountByNameResponse>;
67
+ bech32Prefix: (request?: Bech32PrefixRequest) => Promise<Bech32PrefixResponse>;
68
+ addressBytesToString: (request: AddressBytesToStringRequest) => Promise<AddressBytesToStringResponse>;
69
+ addressStringToBytes: (request: AddressStringToBytesRequest) => Promise<AddressStringToBytesResponse>;
70
+ accountInfo: (request: QueryAccountInfoRequest) => Promise<QueryAccountInfoResponse>;
71
71
  }
72
72
  export declare const createRpcQueryExtension: (base: QueryClient) => {
73
73
  accounts(request?: QueryAccountsRequest): Promise<QueryAccountsResponse>;
@@ -8,69 +8,86 @@ class QueryClientImpl {
8
8
  rpc;
9
9
  constructor(rpc) {
10
10
  this.rpc = rpc;
11
- this.accounts = this.accounts.bind(this);
12
- this.account = this.account.bind(this);
13
- this.accountAddressByID = this.accountAddressByID.bind(this);
14
- this.params = this.params.bind(this);
15
- this.moduleAccounts = this.moduleAccounts.bind(this);
16
- this.moduleAccountByName = this.moduleAccountByName.bind(this);
17
- this.bech32Prefix = this.bech32Prefix.bind(this);
18
- this.addressBytesToString = this.addressBytesToString.bind(this);
19
- this.addressStringToBytes = this.addressStringToBytes.bind(this);
20
- this.accountInfo = this.accountInfo.bind(this);
21
11
  }
22
- accounts(request = {
12
+ /* Accounts returns all the existing accounts.
13
+
14
+ When called from another module, this query might consume a high amount of
15
+ gas if the pagination field is incorrectly set.
16
+
17
+ Since: cosmos-sdk 0.43 */
18
+ accounts = async (request = {
23
19
  pagination: undefined
24
- }) {
20
+ }) => {
25
21
  const data = query_1.QueryAccountsRequest.encode(request).finish();
26
22
  const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Accounts", data);
27
23
  return promise.then(data => query_1.QueryAccountsResponse.decode(new binary_1.BinaryReader(data)));
28
- }
29
- account(request) {
24
+ };
25
+ /* Account returns account details based on address. */
26
+ account = async (request) => {
30
27
  const data = query_1.QueryAccountRequest.encode(request).finish();
31
28
  const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Account", data);
32
29
  return promise.then(data => query_1.QueryAccountResponse.decode(new binary_1.BinaryReader(data)));
33
- }
34
- accountAddressByID(request) {
30
+ };
31
+ /* AccountAddressByID returns account address based on account number.
32
+
33
+ Since: cosmos-sdk 0.46.2 */
34
+ accountAddressByID = async (request) => {
35
35
  const data = query_1.QueryAccountAddressByIDRequest.encode(request).finish();
36
36
  const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "AccountAddressByID", data);
37
37
  return promise.then(data => query_1.QueryAccountAddressByIDResponse.decode(new binary_1.BinaryReader(data)));
38
- }
39
- params(request = {}) {
38
+ };
39
+ /* Params queries all parameters. */
40
+ params = async (request = {}) => {
40
41
  const data = query_1.QueryParamsRequest.encode(request).finish();
41
42
  const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Params", data);
42
43
  return promise.then(data => query_1.QueryParamsResponse.decode(new binary_1.BinaryReader(data)));
43
- }
44
- moduleAccounts(request = {}) {
44
+ };
45
+ /* ModuleAccounts returns all the existing module accounts.
46
+
47
+ Since: cosmos-sdk 0.46 */
48
+ moduleAccounts = async (request = {}) => {
45
49
  const data = query_1.QueryModuleAccountsRequest.encode(request).finish();
46
50
  const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "ModuleAccounts", data);
47
51
  return promise.then(data => query_1.QueryModuleAccountsResponse.decode(new binary_1.BinaryReader(data)));
48
- }
49
- moduleAccountByName(request) {
52
+ };
53
+ /* ModuleAccountByName returns the module account info by module name */
54
+ moduleAccountByName = async (request) => {
50
55
  const data = query_1.QueryModuleAccountByNameRequest.encode(request).finish();
51
56
  const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "ModuleAccountByName", data);
52
57
  return promise.then(data => query_1.QueryModuleAccountByNameResponse.decode(new binary_1.BinaryReader(data)));
53
- }
54
- bech32Prefix(request = {}) {
58
+ };
59
+ /* Bech32Prefix queries bech32Prefix
60
+
61
+ Since: cosmos-sdk 0.46 */
62
+ bech32Prefix = async (request = {}) => {
55
63
  const data = query_1.Bech32PrefixRequest.encode(request).finish();
56
64
  const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Bech32Prefix", data);
57
65
  return promise.then(data => query_1.Bech32PrefixResponse.decode(new binary_1.BinaryReader(data)));
58
- }
59
- addressBytesToString(request) {
66
+ };
67
+ /* AddressBytesToString converts Account Address bytes to string
68
+
69
+ Since: cosmos-sdk 0.46 */
70
+ addressBytesToString = async (request) => {
60
71
  const data = query_1.AddressBytesToStringRequest.encode(request).finish();
61
72
  const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "AddressBytesToString", data);
62
73
  return promise.then(data => query_1.AddressBytesToStringResponse.decode(new binary_1.BinaryReader(data)));
63
- }
64
- addressStringToBytes(request) {
74
+ };
75
+ /* AddressStringToBytes converts Address string to bytes
76
+
77
+ Since: cosmos-sdk 0.46 */
78
+ addressStringToBytes = async (request) => {
65
79
  const data = query_1.AddressStringToBytesRequest.encode(request).finish();
66
80
  const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "AddressStringToBytes", data);
67
81
  return promise.then(data => query_1.AddressStringToBytesResponse.decode(new binary_1.BinaryReader(data)));
68
- }
69
- accountInfo(request) {
82
+ };
83
+ /* AccountInfo queries account info which is common to all account types.
84
+
85
+ Since: cosmos-sdk 0.47 */
86
+ accountInfo = async (request) => {
70
87
  const data = query_1.QueryAccountInfoRequest.encode(request).finish();
71
88
  const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "AccountInfo", data);
72
89
  return promise.then(data => query_1.QueryAccountInfoResponse.decode(new binary_1.BinaryReader(data)));
73
- }
90
+ };
74
91
  }
75
92
  exports.QueryClientImpl = QueryClientImpl;
76
93
  const createRpcQueryExtension = (base) => {
@@ -1,4 +1,4 @@
1
- import { Params, ParamsAmino, ParamsSDKType } from "./auth";
1
+ import { Params, ParamsAmino } from "./auth";
2
2
  import { BinaryReader, BinaryWriter } from "../../../binary";
3
3
  import { DeepPartial } from "../../../helpers";
4
4
  /**
@@ -39,15 +39,6 @@ export interface MsgUpdateParamsAminoMsg {
39
39
  type: "cosmos-sdk/x/auth/MsgUpdateParams";
40
40
  value: MsgUpdateParamsAmino;
41
41
  }
42
- /**
43
- * MsgUpdateParams is the Msg/UpdateParams request type.
44
- *
45
- * Since: cosmos-sdk 0.47
46
- */
47
- export interface MsgUpdateParamsSDKType {
48
- authority: string;
49
- params: ParamsSDKType;
50
- }
51
42
  /**
52
43
  * MsgUpdateParamsResponse defines the response structure for executing a
53
44
  * MsgUpdateParams message.
@@ -72,16 +63,9 @@ export interface MsgUpdateParamsResponseAminoMsg {
72
63
  type: "cosmos-sdk/MsgUpdateParamsResponse";
73
64
  value: MsgUpdateParamsResponseAmino;
74
65
  }
75
- /**
76
- * MsgUpdateParamsResponse defines the response structure for executing a
77
- * MsgUpdateParams message.
78
- *
79
- * Since: cosmos-sdk 0.47
80
- */
81
- export interface MsgUpdateParamsResponseSDKType {
82
- }
83
66
  export declare const MsgUpdateParams: {
84
67
  typeUrl: string;
68
+ aminoType: string;
85
69
  encode(message: MsgUpdateParams, writer?: BinaryWriter): BinaryWriter;
86
70
  decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateParams;
87
71
  fromPartial(object: DeepPartial<MsgUpdateParams>): MsgUpdateParams;
@@ -95,6 +79,7 @@ export declare const MsgUpdateParams: {
95
79
  };
96
80
  export declare const MsgUpdateParamsResponse: {
97
81
  typeUrl: string;
82
+ aminoType: string;
98
83
  encode(_: MsgUpdateParamsResponse, writer?: BinaryWriter): BinaryWriter;
99
84
  decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateParamsResponse;
100
85
  fromPartial(_: DeepPartial<MsgUpdateParamsResponse>): MsgUpdateParamsResponse;
@@ -12,6 +12,7 @@ function createBaseMsgUpdateParams() {
12
12
  }
13
13
  exports.MsgUpdateParams = {
14
14
  typeUrl: "/cosmos.auth.v1beta1.MsgUpdateParams",
15
+ aminoType: "cosmos-sdk/x/auth/MsgUpdateParams",
15
16
  encode(message, writer = binary_1.BinaryWriter.create()) {
16
17
  if (message.authority !== "") {
17
18
  writer.uint32(10).string(message.authority);
@@ -90,6 +91,7 @@ function createBaseMsgUpdateParamsResponse() {
90
91
  }
91
92
  exports.MsgUpdateParamsResponse = {
92
93
  typeUrl: "/cosmos.auth.v1beta1.MsgUpdateParamsResponse",
94
+ aminoType: "cosmos-sdk/MsgUpdateParamsResponse",
93
95
  encode(_, writer = binary_1.BinaryWriter.create()) {
94
96
  return writer;
95
97
  },
@@ -13,5 +13,6 @@ export interface Msg {
13
13
  export declare class MsgClientImpl implements Msg {
14
14
  private readonly rpc;
15
15
  constructor(rpc: TxRpc);
16
- updateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
16
+ updateParams: (request: MsgUpdateParams) => Promise<MsgUpdateParamsResponse>;
17
17
  }
18
+ export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl;
@@ -1,18 +1,25 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MsgClientImpl = void 0;
3
+ exports.createClientImpl = exports.MsgClientImpl = void 0;
4
4
  const binary_1 = require("../../../binary");
5
5
  const tx_1 = require("./tx");
6
6
  class MsgClientImpl {
7
7
  rpc;
8
8
  constructor(rpc) {
9
9
  this.rpc = rpc;
10
- this.updateParams = this.updateParams.bind(this);
11
10
  }
12
- updateParams(request) {
11
+ /* UpdateParams defines a (governance) operation for updating the x/auth module
12
+ parameters. The authority defaults to the x/gov module account.
13
+
14
+ Since: cosmos-sdk 0.47 */
15
+ updateParams = async (request) => {
13
16
  const data = tx_1.MsgUpdateParams.encode(request).finish();
14
17
  const promise = this.rpc.request("cosmos.auth.v1beta1.Msg", "UpdateParams", data);
15
18
  return promise.then(data => tx_1.MsgUpdateParamsResponse.decode(new binary_1.BinaryReader(data)));
16
- }
19
+ };
17
20
  }
18
21
  exports.MsgClientImpl = MsgClientImpl;
22
+ const createClientImpl = (rpc) => {
23
+ return new MsgClientImpl(rpc);
24
+ };
25
+ exports.createClientImpl = createClientImpl;
@@ -14,11 +14,9 @@ export interface ModuleAminoMsg {
14
14
  type: "cosmos-sdk/Module";
15
15
  value: ModuleAmino;
16
16
  }
17
- /** Module is the config object of the authz module. */
18
- export interface ModuleSDKType {
19
- }
20
17
  export declare const Module: {
21
18
  typeUrl: string;
19
+ aminoType: string;
22
20
  encode(_: Module, writer?: BinaryWriter): BinaryWriter;
23
21
  decode(input: BinaryReader | Uint8Array, length?: number): Module;
24
22
  fromPartial(_: DeepPartial<Module>): Module;
@@ -8,6 +8,7 @@ function createBaseModule() {
8
8
  }
9
9
  exports.Module = {
10
10
  typeUrl: "/cosmos.authz.module.v1.Module",
11
+ aminoType: "cosmos-sdk/Module",
11
12
  encode(_, writer = binary_1.BinaryWriter.create()) {
12
13
  return writer;
13
14
  },
@@ -1,7 +1,7 @@
1
- import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any";
2
- import { SendAuthorization, SendAuthorizationProtoMsg, SendAuthorizationSDKType } from "../../bank/v1beta1/authz";
3
- import { StakeAuthorization, StakeAuthorizationProtoMsg, StakeAuthorizationSDKType } from "../../staking/v1beta1/authz";
4
- import { TransferAuthorization, TransferAuthorizationProtoMsg, TransferAuthorizationSDKType } from "../../../ibc/applications/transfer/v1/authz";
1
+ import { Any, AnyProtoMsg, AnyAmino } from "../../../google/protobuf/any";
2
+ import { SendAuthorization, SendAuthorizationProtoMsg } from "../../bank/v1beta1/authz";
3
+ import { StakeAuthorization, StakeAuthorizationProtoMsg } from "../../staking/v1beta1/authz";
4
+ import { TransferAuthorization, TransferAuthorizationProtoMsg } from "../../../ibc/applications/transfer/v1/authz";
5
5
  import { BinaryReader, BinaryWriter } from "../../../binary";
6
6
  import { DeepPartial } from "../../../helpers";
7
7
  /**
@@ -9,7 +9,6 @@ import { DeepPartial } from "../../../helpers";
9
9
  * the provided method on behalf of the granter's account.
10
10
  */
11
11
  export interface GenericAuthorization {
12
- $typeUrl?: "/cosmos.authz.v1beta1.GenericAuthorization";
13
12
  /** Msg, identified by it's type URL, to grant unrestricted permissions to execute */
14
13
  msg: string;
15
14
  }
@@ -29,14 +28,6 @@ export interface GenericAuthorizationAminoMsg {
29
28
  type: "cosmos-sdk/GenericAuthorization";
30
29
  value: GenericAuthorizationAmino;
31
30
  }
32
- /**
33
- * GenericAuthorization gives the grantee unrestricted permissions to execute
34
- * the provided method on behalf of the granter's account.
35
- */
36
- export interface GenericAuthorizationSDKType {
37
- $typeUrl?: "/cosmos.authz.v1beta1.GenericAuthorization";
38
- msg: string;
39
- }
40
31
  /**
41
32
  * Grant gives permissions to execute
42
33
  * the provide method with expiration time.
@@ -74,14 +65,6 @@ export interface GrantAminoMsg {
74
65
  type: "cosmos-sdk/Grant";
75
66
  value: GrantAmino;
76
67
  }
77
- /**
78
- * Grant gives permissions to execute
79
- * the provide method with expiration time.
80
- */
81
- export interface GrantSDKType {
82
- authorization?: GenericAuthorizationSDKType | SendAuthorizationSDKType | StakeAuthorizationSDKType | TransferAuthorizationSDKType | AnySDKType | undefined;
83
- expiration?: Date;
84
- }
85
68
  /**
86
69
  * GrantAuthorization extends a grant with both the addresses of the grantee and granter.
87
70
  * It is used in genesis.proto and query.proto
@@ -113,16 +96,6 @@ export interface GrantAuthorizationAminoMsg {
113
96
  type: "cosmos-sdk/GrantAuthorization";
114
97
  value: GrantAuthorizationAmino;
115
98
  }
116
- /**
117
- * GrantAuthorization extends a grant with both the addresses of the grantee and granter.
118
- * It is used in genesis.proto and query.proto
119
- */
120
- export interface GrantAuthorizationSDKType {
121
- granter: string;
122
- grantee: string;
123
- authorization?: GenericAuthorizationSDKType | SendAuthorizationSDKType | StakeAuthorizationSDKType | TransferAuthorizationSDKType | AnySDKType | undefined;
124
- expiration?: Date;
125
- }
126
99
  /** GrantQueueItem contains the list of TypeURL of a sdk.Msg. */
127
100
  export interface GrantQueueItem {
128
101
  /** msg_type_urls contains the list of TypeURL of a sdk.Msg. */
@@ -141,12 +114,9 @@ export interface GrantQueueItemAminoMsg {
141
114
  type: "cosmos-sdk/GrantQueueItem";
142
115
  value: GrantQueueItemAmino;
143
116
  }
144
- /** GrantQueueItem contains the list of TypeURL of a sdk.Msg. */
145
- export interface GrantQueueItemSDKType {
146
- msg_type_urls: string[];
147
- }
148
117
  export declare const GenericAuthorization: {
149
118
  typeUrl: string;
119
+ aminoType: string;
150
120
  encode(message: GenericAuthorization, writer?: BinaryWriter): BinaryWriter;
151
121
  decode(input: BinaryReader | Uint8Array, length?: number): GenericAuthorization;
152
122
  fromPartial(object: DeepPartial<GenericAuthorization>): GenericAuthorization;
@@ -160,6 +130,7 @@ export declare const GenericAuthorization: {
160
130
  };
161
131
  export declare const Grant: {
162
132
  typeUrl: string;
133
+ aminoType: string;
163
134
  encode(message: Grant, writer?: BinaryWriter): BinaryWriter;
164
135
  decode(input: BinaryReader | Uint8Array, length?: number): Grant;
165
136
  fromPartial(object: DeepPartial<Grant>): Grant;
@@ -173,6 +144,7 @@ export declare const Grant: {
173
144
  };
174
145
  export declare const GrantAuthorization: {
175
146
  typeUrl: string;
147
+ aminoType: string;
176
148
  encode(message: GrantAuthorization, writer?: BinaryWriter): BinaryWriter;
177
149
  decode(input: BinaryReader | Uint8Array, length?: number): GrantAuthorization;
178
150
  fromPartial(object: DeepPartial<GrantAuthorization>): GrantAuthorization;
@@ -186,6 +158,7 @@ export declare const GrantAuthorization: {
186
158
  };
187
159
  export declare const GrantQueueItem: {
188
160
  typeUrl: string;
161
+ aminoType: string;
189
162
  encode(message: GrantQueueItem, writer?: BinaryWriter): BinaryWriter;
190
163
  decode(input: BinaryReader | Uint8Array, length?: number): GrantQueueItem;
191
164
  fromPartial(object: DeepPartial<GrantQueueItem>): GrantQueueItem;
@@ -11,12 +11,12 @@ const binary_1 = require("../../../binary");
11
11
  const helpers_1 = require("../../../helpers");
12
12
  function createBaseGenericAuthorization() {
13
13
  return {
14
- $typeUrl: "/cosmos.authz.v1beta1.GenericAuthorization",
15
14
  msg: ""
16
15
  };
17
16
  }
18
17
  exports.GenericAuthorization = {
19
18
  typeUrl: "/cosmos.authz.v1beta1.GenericAuthorization",
19
+ aminoType: "cosmos-sdk/GenericAuthorization",
20
20
  encode(message, writer = binary_1.BinaryWriter.create()) {
21
21
  if (message.msg !== "") {
22
22
  writer.uint32(10).string(message.msg);
@@ -87,6 +87,7 @@ function createBaseGrant() {
87
87
  }
88
88
  exports.Grant = {
89
89
  typeUrl: "/cosmos.authz.v1beta1.Grant",
90
+ aminoType: "cosmos-sdk/Grant",
90
91
  encode(message, writer = binary_1.BinaryWriter.create()) {
91
92
  if (message.authorization !== undefined) {
92
93
  any_1.Any.encode(message.authorization, writer.uint32(10).fork()).ldelim();
@@ -170,6 +171,7 @@ function createBaseGrantAuthorization() {
170
171
  }
171
172
  exports.GrantAuthorization = {
172
173
  typeUrl: "/cosmos.authz.v1beta1.GrantAuthorization",
174
+ aminoType: "cosmos-sdk/GrantAuthorization",
173
175
  encode(message, writer = binary_1.BinaryWriter.create()) {
174
176
  if (message.granter !== "") {
175
177
  writer.uint32(10).string(message.granter);
@@ -272,6 +274,7 @@ function createBaseGrantQueueItem() {
272
274
  }
273
275
  exports.GrantQueueItem = {
274
276
  typeUrl: "/cosmos.authz.v1beta1.GrantQueueItem",
277
+ aminoType: "cosmos-sdk/GrantQueueItem",
275
278
  encode(message, writer = binary_1.BinaryWriter.create()) {
276
279
  for (const v of message.msgTypeUrls) {
277
280
  writer.uint32(10).string(v);
@@ -26,12 +26,6 @@ export interface EventGrantAminoMsg {
26
26
  type: "cosmos-sdk/EventGrant";
27
27
  value: EventGrantAmino;
28
28
  }
29
- /** EventGrant is emitted on Msg/Grant */
30
- export interface EventGrantSDKType {
31
- msg_type_url: string;
32
- granter: string;
33
- grantee: string;
34
- }
35
29
  /** EventRevoke is emitted on Msg/Revoke */
36
30
  export interface EventRevoke {
37
31
  /** Msg type URL for which an autorization is revoked */
@@ -58,14 +52,9 @@ export interface EventRevokeAminoMsg {
58
52
  type: "cosmos-sdk/EventRevoke";
59
53
  value: EventRevokeAmino;
60
54
  }
61
- /** EventRevoke is emitted on Msg/Revoke */
62
- export interface EventRevokeSDKType {
63
- msg_type_url: string;
64
- granter: string;
65
- grantee: string;
66
- }
67
55
  export declare const EventGrant: {
68
56
  typeUrl: string;
57
+ aminoType: string;
69
58
  encode(message: EventGrant, writer?: BinaryWriter): BinaryWriter;
70
59
  decode(input: BinaryReader | Uint8Array, length?: number): EventGrant;
71
60
  fromPartial(object: DeepPartial<EventGrant>): EventGrant;
@@ -79,6 +68,7 @@ export declare const EventGrant: {
79
68
  };
80
69
  export declare const EventRevoke: {
81
70
  typeUrl: string;
71
+ aminoType: string;
82
72
  encode(message: EventRevoke, writer?: BinaryWriter): BinaryWriter;
83
73
  decode(input: BinaryReader | Uint8Array, length?: number): EventRevoke;
84
74
  fromPartial(object: DeepPartial<EventRevoke>): EventRevoke;
@@ -12,6 +12,7 @@ function createBaseEventGrant() {
12
12
  }
13
13
  exports.EventGrant = {
14
14
  typeUrl: "/cosmos.authz.v1beta1.EventGrant",
15
+ aminoType: "cosmos-sdk/EventGrant",
15
16
  encode(message, writer = binary_1.BinaryWriter.create()) {
16
17
  if (message.msgTypeUrl !== "") {
17
18
  writer.uint32(18).string(message.msgTypeUrl);
@@ -105,6 +106,7 @@ function createBaseEventRevoke() {
105
106
  }
106
107
  exports.EventRevoke = {
107
108
  typeUrl: "/cosmos.authz.v1beta1.EventRevoke",
109
+ aminoType: "cosmos-sdk/EventRevoke",
108
110
  encode(message, writer = binary_1.BinaryWriter.create()) {
109
111
  if (message.msgTypeUrl !== "") {
110
112
  writer.uint32(18).string(message.msgTypeUrl);
@@ -1,4 +1,4 @@
1
- import { GrantAuthorization, GrantAuthorizationAmino, GrantAuthorizationSDKType } from "./authz";
1
+ import { GrantAuthorization, GrantAuthorizationAmino } from "./authz";
2
2
  import { BinaryReader, BinaryWriter } from "../../../binary";
3
3
  import { DeepPartial } from "../../../helpers";
4
4
  /** GenesisState defines the authz module's genesis state. */
@@ -17,12 +17,9 @@ export interface GenesisStateAminoMsg {
17
17
  type: "cosmos-sdk/GenesisState";
18
18
  value: GenesisStateAmino;
19
19
  }
20
- /** GenesisState defines the authz module's genesis state. */
21
- export interface GenesisStateSDKType {
22
- authorization: GrantAuthorizationSDKType[];
23
- }
24
20
  export declare const GenesisState: {
25
21
  typeUrl: string;
22
+ aminoType: string;
26
23
  encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter;
27
24
  decode(input: BinaryReader | Uint8Array, length?: number): GenesisState;
28
25
  fromPartial(object: DeepPartial<GenesisState>): GenesisState;
@@ -11,6 +11,7 @@ function createBaseGenesisState() {
11
11
  }
12
12
  exports.GenesisState = {
13
13
  typeUrl: "/cosmos.authz.v1beta1.GenesisState",
14
+ aminoType: "cosmos-sdk/GenesisState",
14
15
  encode(message, writer = binary_1.BinaryWriter.create()) {
15
16
  for (const v of message.authorization) {
16
17
  authz_1.GrantAuthorization.encode(v, writer.uint32(10).fork()).ldelim();