@bze/bzejs 0.0.2 → 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 (503) hide show
  1. package/main/codegen/beezee/burner/burn_coins_proposal.js +13 -0
  2. package/main/codegen/beezee/burner/burned_coins.js +13 -0
  3. package/main/codegen/beezee/burner/events.js +23 -0
  4. package/main/codegen/beezee/burner/genesis.js +21 -0
  5. package/main/codegen/beezee/burner/params.js +7 -0
  6. package/main/codegen/beezee/burner/query.js +48 -0
  7. package/main/codegen/beezee/burner/tx.js +20 -0
  8. package/main/codegen/beezee/cointrunk/accepted_domain.js +13 -0
  9. package/main/codegen/beezee/cointrunk/accepted_domain_proposal.js +17 -0
  10. package/main/codegen/beezee/cointrunk/anon_articles_counter.js +13 -1
  11. package/main/codegen/beezee/cointrunk/article.js +23 -1
  12. package/main/codegen/beezee/cointrunk/events.js +71 -1
  13. package/main/codegen/beezee/cointrunk/genesis.js +43 -1
  14. package/main/codegen/beezee/cointrunk/params.js +26 -0
  15. package/main/codegen/beezee/cointrunk/publisher.js +21 -1
  16. package/main/codegen/beezee/cointrunk/publisher_proposal.js +19 -0
  17. package/main/codegen/beezee/cointrunk/query.js +158 -0
  18. package/main/codegen/beezee/cointrunk/tx.js +51 -0
  19. package/main/codegen/bze/bundle.js +12 -16
  20. package/main/codegen/cosmos/app/v1alpha1/config.js +31 -0
  21. package/main/codegen/cosmos/app/v1alpha1/module.js +53 -0
  22. package/main/codegen/cosmos/app/v1alpha1/query.js +18 -0
  23. package/main/codegen/cosmos/auth/v1beta1/auth.js +57 -1
  24. package/main/codegen/cosmos/auth/v1beta1/genesis.js +21 -0
  25. package/main/codegen/cosmos/auth/v1beta1/query.js +150 -0
  26. package/main/codegen/cosmos/authz/v1beta1/authz.js +63 -8
  27. package/main/codegen/cosmos/authz/v1beta1/event.js +29 -0
  28. package/main/codegen/cosmos/authz/v1beta1/genesis.js +18 -0
  29. package/main/codegen/cosmos/authz/v1beta1/query.js +101 -0
  30. package/main/codegen/cosmos/authz/v1beta1/tx.js +81 -0
  31. package/main/codegen/cosmos/bank/v1beta1/authz.js +18 -0
  32. package/main/codegen/cosmos/bank/v1beta1/bank.js +145 -0
  33. package/main/codegen/cosmos/bank/v1beta1/genesis.js +61 -0
  34. package/main/codegen/cosmos/bank/v1beta1/query.js +248 -0
  35. package/main/codegen/cosmos/bank/v1beta1/tx.js +65 -0
  36. package/main/codegen/cosmos/base/abci/v1beta1/abci.js +229 -1
  37. package/main/codegen/cosmos/base/kv/v1beta1/kv.js +31 -0
  38. package/main/codegen/cosmos/base/query/v1beta1/pagination.js +31 -1
  39. package/main/codegen/cosmos/base/reflection/v1beta1/reflection.js +54 -0
  40. package/main/codegen/cosmos/base/reflection/v2alpha1/reflection.js +337 -0
  41. package/main/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +135 -1
  42. package/main/codegen/cosmos/base/store/v1beta1/commit_info.js +45 -1
  43. package/main/codegen/cosmos/base/store/v1beta1/listening.js +17 -0
  44. package/main/codegen/cosmos/base/tendermint/v1beta1/query.js +206 -1
  45. package/main/codegen/cosmos/base/v1beta1/coin.js +45 -0
  46. package/main/codegen/cosmos/bundle.js +73 -101
  47. package/main/codegen/cosmos/capability/v1beta1/capability.js +41 -1
  48. package/main/codegen/cosmos/capability/v1beta1/genesis.js +33 -1
  49. package/main/codegen/cosmos/crisis/v1beta1/genesis.js +11 -0
  50. package/main/codegen/cosmos/crisis/v1beta1/tx.js +22 -0
  51. package/main/codegen/cosmos/crypto/ed25519/keys.js +21 -0
  52. package/main/codegen/cosmos/crypto/hd/v1/hd.js +19 -0
  53. package/main/codegen/cosmos/crypto/keyring/v1/record.js +57 -0
  54. package/main/codegen/cosmos/crypto/multisig/keys.js +21 -0
  55. package/main/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +31 -0
  56. package/main/codegen/cosmos/crypto/secp256k1/keys.js +21 -0
  57. package/main/codegen/cosmos/crypto/secp256r1/keys.js +21 -0
  58. package/main/codegen/cosmos/distribution/v1beta1/distribution.js +216 -0
  59. package/main/codegen/cosmos/distribution/v1beta1/genesis.js +184 -0
  60. package/main/codegen/cosmos/distribution/v1beta1/query.js +234 -0
  61. package/main/codegen/cosmos/distribution/v1beta1/tx.js +105 -0
  62. package/main/codegen/cosmos/evidence/v1beta1/evidence.js +21 -5
  63. package/main/codegen/cosmos/evidence/v1beta1/genesis.js +18 -0
  64. package/main/codegen/cosmos/evidence/v1beta1/query.js +51 -0
  65. package/main/codegen/cosmos/evidence/v1beta1/tx.js +23 -0
  66. package/main/codegen/cosmos/feegrant/v1beta1/feegrant.js +96 -8
  67. package/main/codegen/cosmos/feegrant/v1beta1/genesis.js +18 -0
  68. package/main/codegen/cosmos/feegrant/v1beta1/query.js +87 -0
  69. package/main/codegen/cosmos/feegrant/v1beta1/tx.js +41 -0
  70. package/main/codegen/cosmos/genutil/v1beta1/genesis.js +19 -0
  71. package/main/codegen/cosmos/gov/v1/genesis.js +47 -1
  72. package/main/codegen/cosmos/gov/v1/gov.js +196 -15
  73. package/main/codegen/cosmos/gov/v1/query.js +209 -1
  74. package/main/codegen/cosmos/gov/v1/tx.js +144 -0
  75. package/main/codegen/cosmos/gov/v1beta1/genesis.js +47 -1
  76. package/main/codegen/cosmos/gov/v1beta1/gov.js +198 -15
  77. package/main/codegen/cosmos/gov/v1beta1/query.js +209 -1
  78. package/main/codegen/cosmos/gov/v1beta1/tx.js +111 -0
  79. package/main/codegen/cosmos/group/v1/events.js +96 -1
  80. package/main/codegen/cosmos/group/v1/genesis.js +65 -1
  81. package/main/codegen/cosmos/group/v1/query.js +359 -1
  82. package/main/codegen/cosmos/group/v1/tx.js +365 -1
  83. package/main/codegen/cosmos/group/v1/types.js +269 -27
  84. package/main/codegen/cosmos/mint/v1beta1/genesis.js +13 -0
  85. package/main/codegen/cosmos/mint/v1beta1/mint.js +32 -0
  86. package/main/codegen/cosmos/mint/v1beta1/query.js +52 -0
  87. package/main/codegen/cosmos/nft/v1beta1/event.js +45 -0
  88. package/main/codegen/cosmos/nft/v1beta1/genesis.js +49 -0
  89. package/main/codegen/cosmos/nft/v1beta1/nft.js +41 -0
  90. package/main/codegen/cosmos/nft/v1beta1/query.js +170 -0
  91. package/main/codegen/cosmos/nft/v1beta1/tx.js +24 -0
  92. package/main/codegen/cosmos/orm/v1/orm.js +59 -0
  93. package/main/codegen/cosmos/orm/v1alpha1/schema.js +45 -1
  94. package/main/codegen/cosmos/params/v1beta1/params.js +37 -0
  95. package/main/codegen/cosmos/params/v1beta1/query.js +68 -0
  96. package/main/codegen/cosmos/slashing/v1beta1/genesis.js +74 -0
  97. package/main/codegen/cosmos/slashing/v1beta1/query.js +68 -0
  98. package/main/codegen/cosmos/slashing/v1beta1/slashing.js +43 -5
  99. package/main/codegen/cosmos/slashing/v1beta1/tx.js +18 -0
  100. package/main/codegen/cosmos/staking/v1beta1/authz.js +48 -1
  101. package/main/codegen/cosmos/staking/v1beta1/genesis.js +76 -0
  102. package/main/codegen/cosmos/staking/v1beta1/query.js +368 -0
  103. package/main/codegen/cosmos/staking/v1beta1/staking.js +366 -17
  104. package/main/codegen/cosmos/staking/v1beta1/tx.js +129 -8
  105. package/main/codegen/cosmos/tx/signing/v1beta1/signing.js +95 -1
  106. package/main/codegen/cosmos/tx/v1beta1/service.js +173 -2
  107. package/main/codegen/cosmos/tx/v1beta1/tx.js +261 -0
  108. package/main/codegen/cosmos/upgrade/v1beta1/query.js +102 -0
  109. package/main/codegen/cosmos/upgrade/v1beta1/tx.js +37 -0
  110. package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +61 -5
  111. package/main/codegen/cosmos/vesting/v1beta1/tx.js +94 -1
  112. package/main/codegen/cosmos/vesting/v1beta1/vesting.js +117 -1
  113. package/main/codegen/cosmos_proto/cosmos.js +42 -1
  114. package/main/codegen/extern.js +66 -0
  115. package/main/codegen/google/api/http.js +69 -0
  116. package/main/codegen/google/protobuf/any.js +13 -0
  117. package/main/codegen/google/protobuf/descriptor.js +815 -6
  118. package/main/codegen/google/protobuf/duration.js +13 -1
  119. package/main/codegen/google/protobuf/empty.js +7 -0
  120. package/main/codegen/google/protobuf/timestamp.js +13 -1
  121. package/main/codegen/helpers.js +1 -1
  122. package/main/codegen/index.js +11 -22
  123. package/main/codegen/tendermint/abci/types.js +785 -12
  124. package/main/codegen/tendermint/crypto/keys.js +13 -0
  125. package/main/codegen/tendermint/crypto/proof.js +83 -1
  126. package/main/codegen/tendermint/libs/bits/types.js +21 -1
  127. package/main/codegen/tendermint/p2p/types.js +100 -12
  128. package/main/codegen/tendermint/types/block.js +17 -0
  129. package/main/codegen/tendermint/types/evidence.js +81 -8
  130. package/main/codegen/tendermint/types/params.js +84 -0
  131. package/main/codegen/tendermint/types/types.js +266 -18
  132. package/main/codegen/tendermint/types/validator.js +51 -1
  133. package/main/codegen/tendermint/version/types.js +25 -1
  134. package/module/codegen/beezee/burner/burn_coins_proposal.js +13 -0
  135. package/module/codegen/beezee/burner/burned_coins.js +13 -0
  136. package/module/codegen/beezee/burner/events.js +23 -0
  137. package/module/codegen/beezee/burner/genesis.js +19 -0
  138. package/module/codegen/beezee/burner/params.js +9 -0
  139. package/module/codegen/beezee/burner/query.js +46 -0
  140. package/module/codegen/beezee/burner/tx.js +20 -0
  141. package/module/codegen/beezee/cointrunk/accepted_domain.js +13 -0
  142. package/module/codegen/beezee/cointrunk/accepted_domain_proposal.js +17 -0
  143. package/module/codegen/beezee/cointrunk/anon_articles_counter.js +13 -1
  144. package/module/codegen/beezee/cointrunk/article.js +23 -1
  145. package/module/codegen/beezee/cointrunk/events.js +71 -1
  146. package/module/codegen/beezee/cointrunk/genesis.js +31 -1
  147. package/module/codegen/beezee/cointrunk/params.js +27 -1
  148. package/module/codegen/beezee/cointrunk/publisher.js +21 -1
  149. package/module/codegen/beezee/cointrunk/publisher_proposal.js +19 -0
  150. package/module/codegen/beezee/cointrunk/query.js +144 -0
  151. package/module/codegen/beezee/cointrunk/tx.js +52 -1
  152. package/module/codegen/bze/bundle.js +12 -16
  153. package/module/codegen/cosmos/app/v1alpha1/config.js +37 -0
  154. package/module/codegen/cosmos/app/v1alpha1/module.js +47 -0
  155. package/module/codegen/cosmos/app/v1alpha1/query.js +20 -0
  156. package/module/codegen/cosmos/auth/v1beta1/auth.js +53 -1
  157. package/module/codegen/cosmos/auth/v1beta1/genesis.js +19 -0
  158. package/module/codegen/cosmos/auth/v1beta1/query.js +148 -0
  159. package/module/codegen/cosmos/authz/v1beta1/authz.js +60 -9
  160. package/module/codegen/cosmos/authz/v1beta1/event.js +31 -0
  161. package/module/codegen/cosmos/authz/v1beta1/genesis.js +16 -0
  162. package/module/codegen/cosmos/authz/v1beta1/query.js +91 -0
  163. package/module/codegen/cosmos/authz/v1beta1/tx.js +78 -0
  164. package/module/codegen/cosmos/bank/v1beta1/authz.js +21 -0
  165. package/module/codegen/cosmos/bank/v1beta1/bank.js +123 -0
  166. package/module/codegen/cosmos/bank/v1beta1/genesis.js +47 -0
  167. package/module/codegen/cosmos/bank/v1beta1/query.js +230 -0
  168. package/module/codegen/cosmos/bank/v1beta1/tx.js +55 -0
  169. package/module/codegen/cosmos/base/abci/v1beta1/abci.js +193 -1
  170. package/module/codegen/cosmos/base/kv/v1beta1/kv.js +29 -0
  171. package/module/codegen/cosmos/base/query/v1beta1/pagination.js +31 -1
  172. package/module/codegen/cosmos/base/reflection/v1beta1/reflection.js +48 -0
  173. package/module/codegen/cosmos/base/reflection/v2alpha1/reflection.js +307 -0
  174. package/module/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +127 -1
  175. package/module/codegen/cosmos/base/store/v1beta1/commit_info.js +41 -1
  176. package/module/codegen/cosmos/base/store/v1beta1/listening.js +25 -0
  177. package/module/codegen/cosmos/base/tendermint/v1beta1/query.js +194 -1
  178. package/module/codegen/cosmos/base/v1beta1/coin.js +52 -0
  179. package/module/codegen/cosmos/bundle.js +73 -101
  180. package/module/codegen/cosmos/capability/v1beta1/capability.js +37 -1
  181. package/module/codegen/cosmos/capability/v1beta1/genesis.js +29 -1
  182. package/module/codegen/cosmos/crisis/v1beta1/genesis.js +13 -0
  183. package/module/codegen/cosmos/crisis/v1beta1/tx.js +24 -0
  184. package/module/codegen/cosmos/crypto/ed25519/keys.js +29 -0
  185. package/module/codegen/cosmos/crypto/hd/v1/hd.js +21 -0
  186. package/module/codegen/cosmos/crypto/keyring/v1/record.js +59 -0
  187. package/module/codegen/cosmos/crypto/multisig/keys.js +23 -0
  188. package/module/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +33 -0
  189. package/module/codegen/cosmos/crypto/secp256k1/keys.js +29 -0
  190. package/module/codegen/cosmos/crypto/secp256r1/keys.js +23 -0
  191. package/module/codegen/cosmos/distribution/v1beta1/distribution.js +185 -1
  192. package/module/codegen/cosmos/distribution/v1beta1/genesis.js +153 -1
  193. package/module/codegen/cosmos/distribution/v1beta1/query.js +211 -1
  194. package/module/codegen/cosmos/distribution/v1beta1/tx.js +98 -0
  195. package/module/codegen/cosmos/evidence/v1beta1/evidence.js +21 -5
  196. package/module/codegen/cosmos/evidence/v1beta1/genesis.js +16 -0
  197. package/module/codegen/cosmos/evidence/v1beta1/query.js +49 -0
  198. package/module/codegen/cosmos/evidence/v1beta1/tx.js +28 -0
  199. package/module/codegen/cosmos/feegrant/v1beta1/feegrant.js +81 -9
  200. package/module/codegen/cosmos/feegrant/v1beta1/genesis.js +16 -0
  201. package/module/codegen/cosmos/feegrant/v1beta1/query.js +81 -0
  202. package/module/codegen/cosmos/feegrant/v1beta1/tx.js +46 -0
  203. package/module/codegen/cosmos/genutil/v1beta1/genesis.js +17 -0
  204. package/module/codegen/cosmos/gov/v1/genesis.js +35 -1
  205. package/module/codegen/cosmos/gov/v1/gov.js +177 -16
  206. package/module/codegen/cosmos/gov/v1/query.js +198 -2
  207. package/module/codegen/cosmos/gov/v1/tx.js +130 -2
  208. package/module/codegen/cosmos/gov/v1beta1/genesis.js +35 -1
  209. package/module/codegen/cosmos/gov/v1beta1/gov.js +183 -16
  210. package/module/codegen/cosmos/gov/v1beta1/query.js +198 -2
  211. package/module/codegen/cosmos/gov/v1beta1/tx.js +101 -2
  212. package/module/codegen/cosmos/group/v1/events.js +96 -1
  213. package/module/codegen/cosmos/group/v1/genesis.js +45 -1
  214. package/module/codegen/cosmos/group/v1/query.js +327 -1
  215. package/module/codegen/cosmos/group/v1/tx.js +347 -3
  216. package/module/codegen/cosmos/group/v1/types.js +258 -28
  217. package/module/codegen/cosmos/mint/v1beta1/genesis.js +15 -0
  218. package/module/codegen/cosmos/mint/v1beta1/mint.js +33 -1
  219. package/module/codegen/cosmos/mint/v1beta1/query.js +54 -0
  220. package/module/codegen/cosmos/nft/v1beta1/event.js +47 -0
  221. package/module/codegen/cosmos/nft/v1beta1/genesis.js +39 -0
  222. package/module/codegen/cosmos/nft/v1beta1/nft.js +43 -0
  223. package/module/codegen/cosmos/nft/v1beta1/query.js +163 -1
  224. package/module/codegen/cosmos/nft/v1beta1/tx.js +26 -0
  225. package/module/codegen/cosmos/orm/v1/orm.js +57 -0
  226. package/module/codegen/cosmos/orm/v1alpha1/schema.js +41 -1
  227. package/module/codegen/cosmos/params/v1beta1/params.js +35 -0
  228. package/module/codegen/cosmos/params/v1beta1/query.js +62 -0
  229. package/module/codegen/cosmos/slashing/v1beta1/genesis.js +63 -1
  230. package/module/codegen/cosmos/slashing/v1beta1/query.js +66 -0
  231. package/module/codegen/cosmos/slashing/v1beta1/slashing.js +43 -5
  232. package/module/codegen/cosmos/slashing/v1beta1/tx.js +20 -0
  233. package/module/codegen/cosmos/staking/v1beta1/authz.js +44 -1
  234. package/module/codegen/cosmos/staking/v1beta1/genesis.js +57 -1
  235. package/module/codegen/cosmos/staking/v1beta1/query.js +341 -1
  236. package/module/codegen/cosmos/staking/v1beta1/staking.js +339 -18
  237. package/module/codegen/cosmos/staking/v1beta1/tx.js +130 -9
  238. package/module/codegen/cosmos/tx/signing/v1beta1/signing.js +88 -2
  239. package/module/codegen/cosmos/tx/v1beta1/service.js +158 -3
  240. package/module/codegen/cosmos/tx/v1beta1/tx.js +226 -1
  241. package/module/codegen/cosmos/upgrade/v1beta1/query.js +99 -1
  242. package/module/codegen/cosmos/upgrade/v1beta1/tx.js +43 -0
  243. package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +61 -5
  244. package/module/codegen/cosmos/vesting/v1beta1/tx.js +82 -1
  245. package/module/codegen/cosmos/vesting/v1beta1/vesting.js +97 -1
  246. package/module/codegen/cosmos_proto/cosmos.js +38 -1
  247. package/module/codegen/extern.js +30 -0
  248. package/module/codegen/google/api/http.js +67 -0
  249. package/module/codegen/google/protobuf/any.js +95 -0
  250. package/module/codegen/google/protobuf/descriptor.js +672 -7
  251. package/module/codegen/google/protobuf/duration.js +13 -1
  252. package/module/codegen/google/protobuf/empty.js +19 -0
  253. package/module/codegen/google/protobuf/timestamp.js +13 -1
  254. package/module/codegen/helpers.js +1 -1
  255. package/module/codegen/index.js +3 -4
  256. package/module/codegen/tendermint/abci/types.js +734 -13
  257. package/module/codegen/tendermint/crypto/keys.js +15 -0
  258. package/module/codegen/tendermint/crypto/proof.js +75 -1
  259. package/module/codegen/tendermint/libs/bits/types.js +17 -1
  260. package/module/codegen/tendermint/p2p/types.js +96 -12
  261. package/module/codegen/tendermint/types/block.js +17 -0
  262. package/module/codegen/tendermint/types/evidence.js +74 -9
  263. package/module/codegen/tendermint/types/params.js +81 -1
  264. package/module/codegen/tendermint/types/types.js +259 -19
  265. package/module/codegen/tendermint/types/validator.js +47 -1
  266. package/module/codegen/tendermint/version/types.js +25 -1
  267. package/package.json +1 -1
  268. package/src/codegen/beezee/burner/burn_coins_proposal.ts +16 -2
  269. package/src/codegen/beezee/burner/burned_coins.ts +16 -2
  270. package/src/codegen/beezee/burner/events.ts +29 -3
  271. package/src/codegen/beezee/burner/genesis.ts +22 -2
  272. package/src/codegen/beezee/burner/params.ts +10 -2
  273. package/src/codegen/beezee/burner/query.ts +59 -5
  274. package/src/codegen/beezee/burner/tx.ts +26 -3
  275. package/src/codegen/beezee/cointrunk/accepted_domain.ts +16 -2
  276. package/src/codegen/beezee/cointrunk/accepted_domain_proposal.ts +20 -2
  277. package/src/codegen/beezee/cointrunk/anon_articles_counter.ts +16 -2
  278. package/src/codegen/beezee/cointrunk/article.ts +26 -2
  279. package/src/codegen/beezee/cointrunk/events.ts +89 -7
  280. package/src/codegen/beezee/cointrunk/genesis.ts +38 -2
  281. package/src/codegen/beezee/cointrunk/params.ts +33 -3
  282. package/src/codegen/beezee/cointrunk/publisher.ts +24 -2
  283. package/src/codegen/beezee/cointrunk/publisher_proposal.ts +22 -2
  284. package/src/codegen/beezee/cointrunk/query.ts +187 -13
  285. package/src/codegen/beezee/cointrunk/tx.ts +64 -5
  286. package/src/codegen/bze/bundle.ts +14 -22
  287. package/src/codegen/cosmos/app/v1alpha1/config.ts +53 -3
  288. package/src/codegen/cosmos/app/v1alpha1/module.ts +124 -4
  289. package/src/codegen/cosmos/app/v1alpha1/query.ts +25 -3
  290. package/src/codegen/cosmos/auth/v1beta1/auth.ts +64 -4
  291. package/src/codegen/cosmos/auth/v1beta1/genesis.ts +25 -2
  292. package/src/codegen/cosmos/auth/v1beta1/query.ts +195 -15
  293. package/src/codegen/cosmos/authz/v1beta1/authz.ts +86 -16
  294. package/src/codegen/cosmos/authz/v1beta1/event.ts +45 -3
  295. package/src/codegen/cosmos/authz/v1beta1/genesis.ts +19 -2
  296. package/src/codegen/cosmos/authz/v1beta1/query.ts +130 -7
  297. package/src/codegen/cosmos/authz/v1beta1/tx.ts +101 -7
  298. package/src/codegen/cosmos/bank/v1beta1/authz.ts +19 -2
  299. package/src/codegen/cosmos/bank/v1beta1/bank.ts +200 -8
  300. package/src/codegen/cosmos/bank/v1beta1/genesis.ts +70 -3
  301. package/src/codegen/cosmos/bank/v1beta1/query.ts +339 -20
  302. package/src/codegen/cosmos/bank/v1beta1/tx.ts +70 -5
  303. package/src/codegen/cosmos/base/abci/v1beta1/abci.ts +325 -11
  304. package/src/codegen/cosmos/base/kv/v1beta1/kv.ts +35 -3
  305. package/src/codegen/cosmos/base/query/v1beta1/pagination.ts +76 -3
  306. package/src/codegen/cosmos/base/reflection/v1beta1/reflection.ts +64 -5
  307. package/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +476 -27
  308. package/src/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts +163 -10
  309. package/src/codegen/cosmos/base/store/v1beta1/commit_info.ts +52 -4
  310. package/src/codegen/cosmos/base/store/v1beta1/listening.ts +23 -2
  311. package/src/codegen/cosmos/base/tendermint/v1beta1/query.ts +259 -16
  312. package/src/codegen/cosmos/base/v1beta1/coin.ts +57 -5
  313. package/src/codegen/cosmos/bundle.ts +103 -159
  314. package/src/codegen/cosmos/capability/v1beta1/capability.ts +48 -4
  315. package/src/codegen/cosmos/capability/v1beta1/genesis.ts +46 -3
  316. package/src/codegen/cosmos/crisis/v1beta1/genesis.ts +18 -2
  317. package/src/codegen/cosmos/crisis/v1beta1/tx.ts +28 -3
  318. package/src/codegen/cosmos/crypto/ed25519/keys.ts +27 -3
  319. package/src/codegen/cosmos/crypto/hd/v1/hd.ts +34 -2
  320. package/src/codegen/cosmos/crypto/keyring/v1/record.ts +83 -6
  321. package/src/codegen/cosmos/crypto/multisig/keys.ts +22 -2
  322. package/src/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts +35 -3
  323. package/src/codegen/cosmos/crypto/secp256k1/keys.ts +27 -3
  324. package/src/codegen/cosmos/crypto/secp256r1/keys.ts +32 -3
  325. package/src/codegen/cosmos/distribution/v1beta1/distribution.ts +237 -13
  326. package/src/codegen/cosmos/distribution/v1beta1/genesis.ts +236 -9
  327. package/src/codegen/cosmos/distribution/v1beta1/query.ts +303 -19
  328. package/src/codegen/cosmos/distribution/v1beta1/tx.ts +123 -9
  329. package/src/codegen/cosmos/evidence/v1beta1/evidence.ts +26 -8
  330. package/src/codegen/cosmos/evidence/v1beta1/genesis.ts +20 -2
  331. package/src/codegen/cosmos/evidence/v1beta1/query.ts +67 -5
  332. package/src/codegen/cosmos/evidence/v1beta1/tx.ts +30 -3
  333. package/src/codegen/cosmos/feegrant/v1beta1/feegrant.ts +137 -16
  334. package/src/codegen/cosmos/feegrant/v1beta1/genesis.ts +19 -2
  335. package/src/codegen/cosmos/feegrant/v1beta1/query.ts +115 -7
  336. package/src/codegen/cosmos/feegrant/v1beta1/tx.ts +61 -5
  337. package/src/codegen/cosmos/genutil/v1beta1/genesis.ts +21 -2
  338. package/src/codegen/cosmos/gov/v1/genesis.ts +55 -2
  339. package/src/codegen/cosmos/gov/v1/gov.ts +284 -34
  340. package/src/codegen/cosmos/gov/v1/query.ts +293 -19
  341. package/src/codegen/cosmos/gov/v1/tx.ts +173 -13
  342. package/src/codegen/cosmos/gov/v1beta1/genesis.ts +55 -2
  343. package/src/codegen/cosmos/gov/v1beta1/gov.ts +296 -36
  344. package/src/codegen/cosmos/gov/v1beta1/query.ts +293 -19
  345. package/src/codegen/cosmos/gov/v1beta1/tx.ts +132 -11
  346. package/src/codegen/cosmos/group/v1/events.ts +137 -12
  347. package/src/codegen/cosmos/group/v1/genesis.ts +80 -2
  348. package/src/codegen/cosmos/group/v1/query.ts +481 -27
  349. package/src/codegen/cosmos/group/v1/tx.ts +554 -34
  350. package/src/codegen/cosmos/group/v1/types.ts +472 -51
  351. package/src/codegen/cosmos/mint/v1beta1/genesis.ts +19 -2
  352. package/src/codegen/cosmos/mint/v1beta1/mint.ts +53 -3
  353. package/src/codegen/cosmos/mint/v1beta1/query.ts +73 -7
  354. package/src/codegen/cosmos/nft/v1beta1/event.ts +54 -4
  355. package/src/codegen/cosmos/nft/v1beta1/genesis.ts +52 -3
  356. package/src/codegen/cosmos/nft/v1beta1/nft.ts +69 -3
  357. package/src/codegen/cosmos/nft/v1beta1/query.ts +210 -15
  358. package/src/codegen/cosmos/nft/v1beta1/tx.ts +37 -3
  359. package/src/codegen/cosmos/orm/v1/orm.ts +140 -5
  360. package/src/codegen/cosmos/orm/v1alpha1/schema.ts +109 -5
  361. package/src/codegen/cosmos/params/v1beta1/params.ts +41 -3
  362. package/src/codegen/cosmos/params/v1beta1/query.ts +83 -6
  363. package/src/codegen/cosmos/slashing/v1beta1/genesis.ts +100 -5
  364. package/src/codegen/cosmos/slashing/v1beta1/query.ts +87 -7
  365. package/src/codegen/cosmos/slashing/v1beta1/slashing.ts +71 -9
  366. package/src/codegen/cosmos/slashing/v1beta1/tx.ts +24 -3
  367. package/src/codegen/cosmos/staking/v1beta1/authz.ts +73 -5
  368. package/src/codegen/cosmos/staking/v1beta1/genesis.ts +91 -3
  369. package/src/codegen/cosmos/staking/v1beta1/query.ts +499 -29
  370. package/src/codegen/cosmos/staking/v1beta1/staking.ts +507 -44
  371. package/src/codegen/cosmos/staking/v1beta1/tx.ts +172 -22
  372. package/src/codegen/cosmos/tx/signing/v1beta1/signing.ts +154 -8
  373. package/src/codegen/cosmos/tx/v1beta1/service.ts +252 -15
  374. package/src/codegen/cosmos/tx/v1beta1/tx.ts +462 -17
  375. package/src/codegen/cosmos/upgrade/v1beta1/query.ts +145 -11
  376. package/src/codegen/cosmos/upgrade/v1beta1/tx.ts +53 -5
  377. package/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts +109 -11
  378. package/src/codegen/cosmos/vesting/v1beta1/tx.ts +106 -7
  379. package/src/codegen/cosmos/vesting/v1beta1/vesting.ts +123 -7
  380. package/src/codegen/cosmos_proto/cosmos.ts +76 -5
  381. package/src/codegen/extern.ts +33 -0
  382. package/src/codegen/google/api/http.ts +140 -4
  383. package/src/codegen/google/protobuf/any.ts +47 -2
  384. package/src/codegen/google/protobuf/descriptor.ts +1405 -59
  385. package/src/codegen/google/protobuf/duration.ts +30 -2
  386. package/src/codegen/google/protobuf/empty.ts +10 -2
  387. package/src/codegen/google/protobuf/timestamp.ts +28 -2
  388. package/src/codegen/helpers.ts +1 -3
  389. package/src/codegen/index.ts +3 -4
  390. package/src/codegen/tendermint/abci/types.ts +970 -64
  391. package/src/codegen/tendermint/crypto/keys.ts +16 -2
  392. package/src/codegen/tendermint/crypto/proof.ts +97 -6
  393. package/src/codegen/tendermint/libs/bits/types.ts +22 -2
  394. package/src/codegen/tendermint/p2p/types.ts +118 -22
  395. package/src/codegen/tendermint/types/block.ts +20 -2
  396. package/src/codegen/tendermint/types/evidence.ts +94 -16
  397. package/src/codegen/tendermint/types/params.ts +137 -7
  398. package/src/codegen/tendermint/types/types.ts +338 -40
  399. package/src/codegen/tendermint/types/validator.ts +58 -4
  400. package/src/codegen/tendermint/version/types.ts +31 -3
  401. package/main/codegen/beezee/burner/tx.amino.js +0 -28
  402. package/main/codegen/beezee/burner/tx.registry.js +0 -47
  403. package/main/codegen/beezee/cointrunk/tx.amino.js +0 -59
  404. package/main/codegen/beezee/cointrunk/tx.registry.js +0 -65
  405. package/main/codegen/bze/client.js +0 -67
  406. package/main/codegen/cosmos/authz/v1beta1/tx.amino.js +0 -96
  407. package/main/codegen/cosmos/authz/v1beta1/tx.registry.js +0 -83
  408. package/main/codegen/cosmos/bank/v1beta1/tx.amino.js +0 -101
  409. package/main/codegen/cosmos/bank/v1beta1/tx.registry.js +0 -65
  410. package/main/codegen/cosmos/client.js +0 -86
  411. package/main/codegen/cosmos/crisis/v1beta1/tx.amino.js +0 -32
  412. package/main/codegen/cosmos/crisis/v1beta1/tx.registry.js +0 -47
  413. package/main/codegen/cosmos/distribution/v1beta1/tx.amino.js +0 -91
  414. package/main/codegen/cosmos/distribution/v1beta1/tx.registry.js +0 -101
  415. package/main/codegen/cosmos/evidence/v1beta1/tx.amino.js +0 -34
  416. package/main/codegen/cosmos/evidence/v1beta1/tx.registry.js +0 -47
  417. package/main/codegen/cosmos/feegrant/v1beta1/tx.amino.js +0 -57
  418. package/main/codegen/cosmos/feegrant/v1beta1/tx.registry.js +0 -65
  419. package/main/codegen/cosmos/gov/v1/tx.amino.js +0 -180
  420. package/main/codegen/cosmos/gov/v1/tx.registry.js +0 -119
  421. package/main/codegen/cosmos/gov/v1beta1/tx.amino.js +0 -139
  422. package/main/codegen/cosmos/gov/v1beta1/tx.registry.js +0 -101
  423. package/main/codegen/cosmos/group/v1/tx.amino.js +0 -424
  424. package/main/codegen/cosmos/group/v1/tx.registry.js +0 -281
  425. package/main/codegen/cosmos/nft/v1beta1/tx.amino.js +0 -36
  426. package/main/codegen/cosmos/nft/v1beta1/tx.registry.js +0 -47
  427. package/main/codegen/cosmos/slashing/v1beta1/tx.amino.js +0 -24
  428. package/main/codegen/cosmos/slashing/v1beta1/tx.registry.js +0 -47
  429. package/main/codegen/cosmos/staking/v1beta1/tx.amino.js +0 -213
  430. package/main/codegen/cosmos/staking/v1beta1/tx.registry.js +0 -119
  431. package/main/codegen/cosmos/upgrade/v1beta1/tx.amino.js +0 -62
  432. package/main/codegen/cosmos/upgrade/v1beta1/tx.registry.js +0 -65
  433. package/main/codegen/cosmos/vesting/v1beta1/tx.amino.js +0 -131
  434. package/main/codegen/cosmos/vesting/v1beta1/tx.registry.js +0 -83
  435. package/module/codegen/beezee/burner/tx.amino.js +0 -23
  436. package/module/codegen/beezee/burner/tx.registry.js +0 -33
  437. package/module/codegen/beezee/cointrunk/tx.amino.js +0 -56
  438. package/module/codegen/beezee/cointrunk/tx.registry.js +0 -51
  439. package/module/codegen/bze/client.js +0 -38
  440. package/module/codegen/cosmos/authz/v1beta1/tx.amino.js +0 -91
  441. package/module/codegen/cosmos/authz/v1beta1/tx.registry.js +0 -69
  442. package/module/codegen/cosmos/bank/v1beta1/tx.amino.js +0 -78
  443. package/module/codegen/cosmos/bank/v1beta1/tx.registry.js +0 -51
  444. package/module/codegen/cosmos/client.js +0 -57
  445. package/module/codegen/cosmos/crisis/v1beta1/tx.amino.js +0 -27
  446. package/module/codegen/cosmos/crisis/v1beta1/tx.registry.js +0 -33
  447. package/module/codegen/cosmos/distribution/v1beta1/tx.amino.js +0 -88
  448. package/module/codegen/cosmos/distribution/v1beta1/tx.registry.js +0 -87
  449. package/module/codegen/cosmos/evidence/v1beta1/tx.amino.js +0 -29
  450. package/module/codegen/cosmos/evidence/v1beta1/tx.registry.js +0 -33
  451. package/module/codegen/cosmos/feegrant/v1beta1/tx.amino.js +0 -54
  452. package/module/codegen/cosmos/feegrant/v1beta1/tx.registry.js +0 -51
  453. package/module/codegen/cosmos/gov/v1/tx.amino.js +0 -167
  454. package/module/codegen/cosmos/gov/v1/tx.registry.js +0 -105
  455. package/module/codegen/cosmos/gov/v1beta1/tx.amino.js +0 -128
  456. package/module/codegen/cosmos/gov/v1beta1/tx.registry.js +0 -87
  457. package/module/codegen/cosmos/group/v1/tx.amino.js +0 -429
  458. package/module/codegen/cosmos/group/v1/tx.registry.js +0 -267
  459. package/module/codegen/cosmos/nft/v1beta1/tx.amino.js +0 -31
  460. package/module/codegen/cosmos/nft/v1beta1/tx.registry.js +0 -33
  461. package/module/codegen/cosmos/slashing/v1beta1/tx.amino.js +0 -19
  462. package/module/codegen/cosmos/slashing/v1beta1/tx.registry.js +0 -33
  463. package/module/codegen/cosmos/staking/v1beta1/tx.amino.js +0 -216
  464. package/module/codegen/cosmos/staking/v1beta1/tx.registry.js +0 -105
  465. package/module/codegen/cosmos/upgrade/v1beta1/tx.amino.js +0 -59
  466. package/module/codegen/cosmos/upgrade/v1beta1/tx.registry.js +0 -51
  467. package/module/codegen/cosmos/vesting/v1beta1/tx.amino.js +0 -114
  468. package/module/codegen/cosmos/vesting/v1beta1/tx.registry.js +0 -69
  469. package/src/.gitkeep +0 -0
  470. package/src/codegen/beezee/burner/tx.amino.ts +0 -32
  471. package/src/codegen/beezee/burner/tx.registry.ts +0 -37
  472. package/src/codegen/beezee/cointrunk/tx.amino.ts +0 -75
  473. package/src/codegen/beezee/cointrunk/tx.registry.ts +0 -58
  474. package/src/codegen/bze/client.ts +0 -48
  475. package/src/codegen/cosmos/authz/v1beta1/tx.amino.ts +0 -128
  476. package/src/codegen/cosmos/authz/v1beta1/tx.registry.ts +0 -79
  477. package/src/codegen/cosmos/bank/v1beta1/tx.amino.ts +0 -110
  478. package/src/codegen/cosmos/bank/v1beta1/tx.registry.ts +0 -58
  479. package/src/codegen/cosmos/client.ts +0 -76
  480. package/src/codegen/cosmos/crisis/v1beta1/tx.amino.ts +0 -37
  481. package/src/codegen/cosmos/crisis/v1beta1/tx.registry.ts +0 -37
  482. package/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts +0 -120
  483. package/src/codegen/cosmos/distribution/v1beta1/tx.registry.ts +0 -100
  484. package/src/codegen/cosmos/evidence/v1beta1/tx.amino.ts +0 -41
  485. package/src/codegen/cosmos/evidence/v1beta1/tx.registry.ts +0 -37
  486. package/src/codegen/cosmos/feegrant/v1beta1/tx.amino.ts +0 -74
  487. package/src/codegen/cosmos/feegrant/v1beta1/tx.registry.ts +0 -58
  488. package/src/codegen/cosmos/gov/v1/tx.amino.ts +0 -226
  489. package/src/codegen/cosmos/gov/v1/tx.registry.ts +0 -121
  490. package/src/codegen/cosmos/gov/v1beta1/tx.amino.ts +0 -174
  491. package/src/codegen/cosmos/gov/v1beta1/tx.registry.ts +0 -100
  492. package/src/codegen/cosmos/group/v1/tx.amino.ts +0 -583
  493. package/src/codegen/cosmos/group/v1/tx.registry.ts +0 -310
  494. package/src/codegen/cosmos/nft/v1beta1/tx.amino.ts +0 -42
  495. package/src/codegen/cosmos/nft/v1beta1/tx.registry.ts +0 -37
  496. package/src/codegen/cosmos/slashing/v1beta1/tx.amino.ts +0 -27
  497. package/src/codegen/cosmos/slashing/v1beta1/tx.registry.ts +0 -37
  498. package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +0 -294
  499. package/src/codegen/cosmos/staking/v1beta1/tx.registry.ts +0 -121
  500. package/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +0 -86
  501. package/src/codegen/cosmos/upgrade/v1beta1/tx.registry.ts +0 -58
  502. package/src/codegen/cosmos/vesting/v1beta1/tx.amino.ts +0 -155
  503. package/src/codegen/cosmos/vesting/v1beta1/tx.registry.ts +0 -79
@@ -2,7 +2,7 @@ import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } fr
2
2
  import { Any, AnySDKType } from "../../../google/protobuf/any";
3
3
  import { Params, ParamsSDKType } from "./auth";
4
4
  import * as _m0 from "protobufjs/minimal";
5
- import { DeepPartial } from "../../../helpers";
5
+ import { isSet, bytesFromBase64, base64FromBytes } from "../../../helpers";
6
6
  /**
7
7
  * QueryAccountsRequest is the request type for the Query/Accounts RPC method.
8
8
  *
@@ -20,6 +20,7 @@ export interface QueryAccountsRequest {
20
20
  */
21
21
 
22
22
  export interface QueryAccountsRequestSDKType {
23
+ /** pagination defines an optional pagination for the request. */
23
24
  pagination?: PageRequestSDKType;
24
25
  }
25
26
  /**
@@ -42,7 +43,10 @@ export interface QueryAccountsResponse {
42
43
  */
43
44
 
44
45
  export interface QueryAccountsResponseSDKType {
46
+ /** accounts are the existing accounts */
45
47
  accounts: AnySDKType[];
48
+ /** pagination defines the pagination in the response. */
49
+
46
50
  pagination?: PageResponseSDKType;
47
51
  }
48
52
  /** QueryAccountRequest is the request type for the Query/Account RPC method. */
@@ -54,6 +58,7 @@ export interface QueryAccountRequest {
54
58
  /** QueryAccountRequest is the request type for the Query/Account RPC method. */
55
59
 
56
60
  export interface QueryAccountRequestSDKType {
61
+ /** address defines the address to query for. */
57
62
  address: string;
58
63
  }
59
64
  /** QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method. */
@@ -71,6 +76,7 @@ export interface QueryParamsResponse {
71
76
  /** QueryParamsResponse is the response type for the Query/Params RPC method. */
72
77
 
73
78
  export interface QueryParamsResponseSDKType {
79
+ /** params defines the parameters of the module. */
74
80
  params?: ParamsSDKType;
75
81
  }
76
82
  /** QueryAccountResponse is the response type for the Query/Account RPC method. */
@@ -82,6 +88,7 @@ export interface QueryAccountResponse {
82
88
  /** QueryAccountResponse is the response type for the Query/Account RPC method. */
83
89
 
84
90
  export interface QueryAccountResponseSDKType {
91
+ /** account defines the account of the corresponding address. */
85
92
  account?: AnySDKType;
86
93
  }
87
94
  /** QueryParamsRequest is the request type for the Query/Params RPC method. */
@@ -194,7 +201,19 @@ export const QueryAccountsRequest = {
194
201
  return message;
195
202
  },
196
203
 
197
- fromPartial(object: DeepPartial<QueryAccountsRequest>): QueryAccountsRequest {
204
+ fromJSON(object: any): QueryAccountsRequest {
205
+ return {
206
+ pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined
207
+ };
208
+ },
209
+
210
+ toJSON(message: QueryAccountsRequest): unknown {
211
+ const obj: any = {};
212
+ message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined);
213
+ return obj;
214
+ },
215
+
216
+ fromPartial(object: Partial<QueryAccountsRequest>): QueryAccountsRequest {
198
217
  const message = createBaseQueryAccountsRequest();
199
218
  message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
200
219
  return message;
@@ -248,7 +267,27 @@ export const QueryAccountsResponse = {
248
267
  return message;
249
268
  },
250
269
 
251
- fromPartial(object: DeepPartial<QueryAccountsResponse>): QueryAccountsResponse {
270
+ fromJSON(object: any): QueryAccountsResponse {
271
+ return {
272
+ accounts: Array.isArray(object?.accounts) ? object.accounts.map((e: any) => Any.fromJSON(e)) : [],
273
+ pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined
274
+ };
275
+ },
276
+
277
+ toJSON(message: QueryAccountsResponse): unknown {
278
+ const obj: any = {};
279
+
280
+ if (message.accounts) {
281
+ obj.accounts = message.accounts.map(e => e ? Any.toJSON(e) : undefined);
282
+ } else {
283
+ obj.accounts = [];
284
+ }
285
+
286
+ message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined);
287
+ return obj;
288
+ },
289
+
290
+ fromPartial(object: Partial<QueryAccountsResponse>): QueryAccountsResponse {
252
291
  const message = createBaseQueryAccountsResponse();
253
292
  message.accounts = object.accounts?.map(e => Any.fromPartial(e)) || [];
254
293
  message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
@@ -294,7 +333,19 @@ export const QueryAccountRequest = {
294
333
  return message;
295
334
  },
296
335
 
297
- fromPartial(object: DeepPartial<QueryAccountRequest>): QueryAccountRequest {
336
+ fromJSON(object: any): QueryAccountRequest {
337
+ return {
338
+ address: isSet(object.address) ? String(object.address) : ""
339
+ };
340
+ },
341
+
342
+ toJSON(message: QueryAccountRequest): unknown {
343
+ const obj: any = {};
344
+ message.address !== undefined && (obj.address = message.address);
345
+ return obj;
346
+ },
347
+
348
+ fromPartial(object: Partial<QueryAccountRequest>): QueryAccountRequest {
298
349
  const message = createBaseQueryAccountRequest();
299
350
  message.address = object.address ?? "";
300
351
  return message;
@@ -329,7 +380,16 @@ export const QueryModuleAccountsRequest = {
329
380
  return message;
330
381
  },
331
382
 
332
- fromPartial(_: DeepPartial<QueryModuleAccountsRequest>): QueryModuleAccountsRequest {
383
+ fromJSON(_: any): QueryModuleAccountsRequest {
384
+ return {};
385
+ },
386
+
387
+ toJSON(_: QueryModuleAccountsRequest): unknown {
388
+ const obj: any = {};
389
+ return obj;
390
+ },
391
+
392
+ fromPartial(_: Partial<QueryModuleAccountsRequest>): QueryModuleAccountsRequest {
333
393
  const message = createBaseQueryModuleAccountsRequest();
334
394
  return message;
335
395
  }
@@ -373,7 +433,19 @@ export const QueryParamsResponse = {
373
433
  return message;
374
434
  },
375
435
 
376
- fromPartial(object: DeepPartial<QueryParamsResponse>): QueryParamsResponse {
436
+ fromJSON(object: any): QueryParamsResponse {
437
+ return {
438
+ params: isSet(object.params) ? Params.fromJSON(object.params) : undefined
439
+ };
440
+ },
441
+
442
+ toJSON(message: QueryParamsResponse): unknown {
443
+ const obj: any = {};
444
+ message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined);
445
+ return obj;
446
+ },
447
+
448
+ fromPartial(object: Partial<QueryParamsResponse>): QueryParamsResponse {
377
449
  const message = createBaseQueryParamsResponse();
378
450
  message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined;
379
451
  return message;
@@ -418,7 +490,19 @@ export const QueryAccountResponse = {
418
490
  return message;
419
491
  },
420
492
 
421
- fromPartial(object: DeepPartial<QueryAccountResponse>): QueryAccountResponse {
493
+ fromJSON(object: any): QueryAccountResponse {
494
+ return {
495
+ account: isSet(object.account) ? Any.fromJSON(object.account) : undefined
496
+ };
497
+ },
498
+
499
+ toJSON(message: QueryAccountResponse): unknown {
500
+ const obj: any = {};
501
+ message.account !== undefined && (obj.account = message.account ? Any.toJSON(message.account) : undefined);
502
+ return obj;
503
+ },
504
+
505
+ fromPartial(object: Partial<QueryAccountResponse>): QueryAccountResponse {
422
506
  const message = createBaseQueryAccountResponse();
423
507
  message.account = object.account !== undefined && object.account !== null ? Any.fromPartial(object.account) : undefined;
424
508
  return message;
@@ -453,7 +537,16 @@ export const QueryParamsRequest = {
453
537
  return message;
454
538
  },
455
539
 
456
- fromPartial(_: DeepPartial<QueryParamsRequest>): QueryParamsRequest {
540
+ fromJSON(_: any): QueryParamsRequest {
541
+ return {};
542
+ },
543
+
544
+ toJSON(_: QueryParamsRequest): unknown {
545
+ const obj: any = {};
546
+ return obj;
547
+ },
548
+
549
+ fromPartial(_: Partial<QueryParamsRequest>): QueryParamsRequest {
457
550
  const message = createBaseQueryParamsRequest();
458
551
  return message;
459
552
  }
@@ -497,7 +590,25 @@ export const QueryModuleAccountsResponse = {
497
590
  return message;
498
591
  },
499
592
 
500
- fromPartial(object: DeepPartial<QueryModuleAccountsResponse>): QueryModuleAccountsResponse {
593
+ fromJSON(object: any): QueryModuleAccountsResponse {
594
+ return {
595
+ accounts: Array.isArray(object?.accounts) ? object.accounts.map((e: any) => Any.fromJSON(e)) : []
596
+ };
597
+ },
598
+
599
+ toJSON(message: QueryModuleAccountsResponse): unknown {
600
+ const obj: any = {};
601
+
602
+ if (message.accounts) {
603
+ obj.accounts = message.accounts.map(e => e ? Any.toJSON(e) : undefined);
604
+ } else {
605
+ obj.accounts = [];
606
+ }
607
+
608
+ return obj;
609
+ },
610
+
611
+ fromPartial(object: Partial<QueryModuleAccountsResponse>): QueryModuleAccountsResponse {
501
612
  const message = createBaseQueryModuleAccountsResponse();
502
613
  message.accounts = object.accounts?.map(e => Any.fromPartial(e)) || [];
503
614
  return message;
@@ -532,7 +643,16 @@ export const Bech32PrefixRequest = {
532
643
  return message;
533
644
  },
534
645
 
535
- fromPartial(_: DeepPartial<Bech32PrefixRequest>): Bech32PrefixRequest {
646
+ fromJSON(_: any): Bech32PrefixRequest {
647
+ return {};
648
+ },
649
+
650
+ toJSON(_: Bech32PrefixRequest): unknown {
651
+ const obj: any = {};
652
+ return obj;
653
+ },
654
+
655
+ fromPartial(_: Partial<Bech32PrefixRequest>): Bech32PrefixRequest {
536
656
  const message = createBaseBech32PrefixRequest();
537
657
  return message;
538
658
  }
@@ -576,7 +696,19 @@ export const Bech32PrefixResponse = {
576
696
  return message;
577
697
  },
578
698
 
579
- fromPartial(object: DeepPartial<Bech32PrefixResponse>): Bech32PrefixResponse {
699
+ fromJSON(object: any): Bech32PrefixResponse {
700
+ return {
701
+ bech32Prefix: isSet(object.bech32Prefix) ? String(object.bech32Prefix) : ""
702
+ };
703
+ },
704
+
705
+ toJSON(message: Bech32PrefixResponse): unknown {
706
+ const obj: any = {};
707
+ message.bech32Prefix !== undefined && (obj.bech32Prefix = message.bech32Prefix);
708
+ return obj;
709
+ },
710
+
711
+ fromPartial(object: Partial<Bech32PrefixResponse>): Bech32PrefixResponse {
580
712
  const message = createBaseBech32PrefixResponse();
581
713
  message.bech32Prefix = object.bech32Prefix ?? "";
582
714
  return message;
@@ -621,7 +753,19 @@ export const AddressBytesToStringRequest = {
621
753
  return message;
622
754
  },
623
755
 
624
- fromPartial(object: DeepPartial<AddressBytesToStringRequest>): AddressBytesToStringRequest {
756
+ fromJSON(object: any): AddressBytesToStringRequest {
757
+ return {
758
+ addressBytes: isSet(object.addressBytes) ? bytesFromBase64(object.addressBytes) : new Uint8Array()
759
+ };
760
+ },
761
+
762
+ toJSON(message: AddressBytesToStringRequest): unknown {
763
+ const obj: any = {};
764
+ message.addressBytes !== undefined && (obj.addressBytes = base64FromBytes(message.addressBytes !== undefined ? message.addressBytes : new Uint8Array()));
765
+ return obj;
766
+ },
767
+
768
+ fromPartial(object: Partial<AddressBytesToStringRequest>): AddressBytesToStringRequest {
625
769
  const message = createBaseAddressBytesToStringRequest();
626
770
  message.addressBytes = object.addressBytes ?? new Uint8Array();
627
771
  return message;
@@ -666,7 +810,19 @@ export const AddressBytesToStringResponse = {
666
810
  return message;
667
811
  },
668
812
 
669
- fromPartial(object: DeepPartial<AddressBytesToStringResponse>): AddressBytesToStringResponse {
813
+ fromJSON(object: any): AddressBytesToStringResponse {
814
+ return {
815
+ addressString: isSet(object.addressString) ? String(object.addressString) : ""
816
+ };
817
+ },
818
+
819
+ toJSON(message: AddressBytesToStringResponse): unknown {
820
+ const obj: any = {};
821
+ message.addressString !== undefined && (obj.addressString = message.addressString);
822
+ return obj;
823
+ },
824
+
825
+ fromPartial(object: Partial<AddressBytesToStringResponse>): AddressBytesToStringResponse {
670
826
  const message = createBaseAddressBytesToStringResponse();
671
827
  message.addressString = object.addressString ?? "";
672
828
  return message;
@@ -711,7 +867,19 @@ export const AddressStringToBytesRequest = {
711
867
  return message;
712
868
  },
713
869
 
714
- fromPartial(object: DeepPartial<AddressStringToBytesRequest>): AddressStringToBytesRequest {
870
+ fromJSON(object: any): AddressStringToBytesRequest {
871
+ return {
872
+ addressString: isSet(object.addressString) ? String(object.addressString) : ""
873
+ };
874
+ },
875
+
876
+ toJSON(message: AddressStringToBytesRequest): unknown {
877
+ const obj: any = {};
878
+ message.addressString !== undefined && (obj.addressString = message.addressString);
879
+ return obj;
880
+ },
881
+
882
+ fromPartial(object: Partial<AddressStringToBytesRequest>): AddressStringToBytesRequest {
715
883
  const message = createBaseAddressStringToBytesRequest();
716
884
  message.addressString = object.addressString ?? "";
717
885
  return message;
@@ -756,7 +924,19 @@ export const AddressStringToBytesResponse = {
756
924
  return message;
757
925
  },
758
926
 
759
- fromPartial(object: DeepPartial<AddressStringToBytesResponse>): AddressStringToBytesResponse {
927
+ fromJSON(object: any): AddressStringToBytesResponse {
928
+ return {
929
+ addressBytes: isSet(object.addressBytes) ? bytesFromBase64(object.addressBytes) : new Uint8Array()
930
+ };
931
+ },
932
+
933
+ toJSON(message: AddressStringToBytesResponse): unknown {
934
+ const obj: any = {};
935
+ message.addressBytes !== undefined && (obj.addressBytes = base64FromBytes(message.addressBytes !== undefined ? message.addressBytes : new Uint8Array()));
936
+ return obj;
937
+ },
938
+
939
+ fromPartial(object: Partial<AddressStringToBytesResponse>): AddressStringToBytesResponse {
760
940
  const message = createBaseAddressStringToBytesResponse();
761
941
  message.addressBytes = object.addressBytes ?? new Uint8Array();
762
942
  return message;
@@ -1,7 +1,7 @@
1
1
  import { Any, AnySDKType } from "../../../google/protobuf/any";
2
- import { Timestamp } from "../../../google/protobuf/timestamp";
2
+ import { Timestamp, TimestampSDKType } from "../../../google/protobuf/timestamp";
3
3
  import * as _m0 from "protobufjs/minimal";
4
- import { DeepPartial, toTimestamp, fromTimestamp } from "../../../helpers";
4
+ import { isSet, fromJsonTimestamp, fromTimestamp } from "../../../helpers";
5
5
  /**
6
6
  * GenericAuthorization gives the grantee unrestricted permissions to execute
7
7
  * the provided method on behalf of the granter's account.
@@ -17,6 +17,7 @@ export interface GenericAuthorization {
17
17
  */
18
18
 
19
19
  export interface GenericAuthorizationSDKType {
20
+ /** Msg, identified by it's type URL, to grant unrestricted permissions to execute */
20
21
  msg: string;
21
22
  }
22
23
  /**
@@ -32,7 +33,7 @@ export interface Grant {
32
33
  * may apply to invalidate the grant)
33
34
  */
34
35
 
35
- expiration?: Date;
36
+ expiration?: Timestamp;
36
37
  }
37
38
  /**
38
39
  * Grant gives permissions to execute
@@ -41,7 +42,13 @@ export interface Grant {
41
42
 
42
43
  export interface GrantSDKType {
43
44
  authorization?: AnySDKType;
44
- expiration?: Date;
45
+ /**
46
+ * time when the grant will expire and will be pruned. If null, then the grant
47
+ * doesn't have a time expiration (other conditions in `authorization`
48
+ * may apply to invalidate the grant)
49
+ */
50
+
51
+ expiration?: TimestampSDKType;
45
52
  }
46
53
  /**
47
54
  * GrantAuthorization extends a grant with both the addresses of the grantee and granter.
@@ -52,7 +59,7 @@ export interface GrantAuthorization {
52
59
  granter: string;
53
60
  grantee: string;
54
61
  authorization?: Any;
55
- expiration?: Date;
62
+ expiration?: Timestamp;
56
63
  }
57
64
  /**
58
65
  * GrantAuthorization extends a grant with both the addresses of the grantee and granter.
@@ -63,7 +70,7 @@ export interface GrantAuthorizationSDKType {
63
70
  granter: string;
64
71
  grantee: string;
65
72
  authorization?: AnySDKType;
66
- expiration?: Date;
73
+ expiration?: TimestampSDKType;
67
74
  }
68
75
  /** GrantQueueItem contains the list of TypeURL of a sdk.Msg. */
69
76
 
@@ -74,6 +81,7 @@ export interface GrantQueueItem {
74
81
  /** GrantQueueItem contains the list of TypeURL of a sdk.Msg. */
75
82
 
76
83
  export interface GrantQueueItemSDKType {
84
+ /** msg_type_urls contains the list of TypeURL of a sdk.Msg. */
77
85
  msg_type_urls: string[];
78
86
  }
79
87
 
@@ -114,7 +122,19 @@ export const GenericAuthorization = {
114
122
  return message;
115
123
  },
116
124
 
117
- fromPartial(object: DeepPartial<GenericAuthorization>): GenericAuthorization {
125
+ fromJSON(object: any): GenericAuthorization {
126
+ return {
127
+ msg: isSet(object.msg) ? String(object.msg) : ""
128
+ };
129
+ },
130
+
131
+ toJSON(message: GenericAuthorization): unknown {
132
+ const obj: any = {};
133
+ message.msg !== undefined && (obj.msg = message.msg);
134
+ return obj;
135
+ },
136
+
137
+ fromPartial(object: Partial<GenericAuthorization>): GenericAuthorization {
118
138
  const message = createBaseGenericAuthorization();
119
139
  message.msg = object.msg ?? "";
120
140
  return message;
@@ -136,7 +156,7 @@ export const Grant = {
136
156
  }
137
157
 
138
158
  if (message.expiration !== undefined) {
139
- Timestamp.encode(toTimestamp(message.expiration), writer.uint32(18).fork()).ldelim();
159
+ Timestamp.encode(message.expiration, writer.uint32(18).fork()).ldelim();
140
160
  }
141
161
 
142
162
  return writer;
@@ -156,7 +176,7 @@ export const Grant = {
156
176
  break;
157
177
 
158
178
  case 2:
159
- message.expiration = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
179
+ message.expiration = Timestamp.decode(reader, reader.uint32());
160
180
  break;
161
181
 
162
182
  default:
@@ -168,10 +188,24 @@ export const Grant = {
168
188
  return message;
169
189
  },
170
190
 
171
- fromPartial(object: DeepPartial<Grant>): Grant {
191
+ fromJSON(object: any): Grant {
192
+ return {
193
+ authorization: isSet(object.authorization) ? Any.fromJSON(object.authorization) : undefined,
194
+ expiration: isSet(object.expiration) ? fromJsonTimestamp(object.expiration) : undefined
195
+ };
196
+ },
197
+
198
+ toJSON(message: Grant): unknown {
199
+ const obj: any = {};
200
+ message.authorization !== undefined && (obj.authorization = message.authorization ? Any.toJSON(message.authorization) : undefined);
201
+ message.expiration !== undefined && (obj.expiration = fromTimestamp(message.expiration).toISOString());
202
+ return obj;
203
+ },
204
+
205
+ fromPartial(object: Partial<Grant>): Grant {
172
206
  const message = createBaseGrant();
173
207
  message.authorization = object.authorization !== undefined && object.authorization !== null ? Any.fromPartial(object.authorization) : undefined;
174
- message.expiration = object.expiration ?? undefined;
208
+ message.expiration = object.expiration !== undefined && object.expiration !== null ? Timestamp.fromPartial(object.expiration) : undefined;
175
209
  return message;
176
210
  }
177
211
 
@@ -201,7 +235,7 @@ export const GrantAuthorization = {
201
235
  }
202
236
 
203
237
  if (message.expiration !== undefined) {
204
- Timestamp.encode(toTimestamp(message.expiration), writer.uint32(34).fork()).ldelim();
238
+ Timestamp.encode(message.expiration, writer.uint32(34).fork()).ldelim();
205
239
  }
206
240
 
207
241
  return writer;
@@ -229,7 +263,7 @@ export const GrantAuthorization = {
229
263
  break;
230
264
 
231
265
  case 4:
232
- message.expiration = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
266
+ message.expiration = Timestamp.decode(reader, reader.uint32());
233
267
  break;
234
268
 
235
269
  default:
@@ -241,12 +275,30 @@ export const GrantAuthorization = {
241
275
  return message;
242
276
  },
243
277
 
244
- fromPartial(object: DeepPartial<GrantAuthorization>): GrantAuthorization {
278
+ fromJSON(object: any): GrantAuthorization {
279
+ return {
280
+ granter: isSet(object.granter) ? String(object.granter) : "",
281
+ grantee: isSet(object.grantee) ? String(object.grantee) : "",
282
+ authorization: isSet(object.authorization) ? Any.fromJSON(object.authorization) : undefined,
283
+ expiration: isSet(object.expiration) ? fromJsonTimestamp(object.expiration) : undefined
284
+ };
285
+ },
286
+
287
+ toJSON(message: GrantAuthorization): unknown {
288
+ const obj: any = {};
289
+ message.granter !== undefined && (obj.granter = message.granter);
290
+ message.grantee !== undefined && (obj.grantee = message.grantee);
291
+ message.authorization !== undefined && (obj.authorization = message.authorization ? Any.toJSON(message.authorization) : undefined);
292
+ message.expiration !== undefined && (obj.expiration = fromTimestamp(message.expiration).toISOString());
293
+ return obj;
294
+ },
295
+
296
+ fromPartial(object: Partial<GrantAuthorization>): GrantAuthorization {
245
297
  const message = createBaseGrantAuthorization();
246
298
  message.granter = object.granter ?? "";
247
299
  message.grantee = object.grantee ?? "";
248
300
  message.authorization = object.authorization !== undefined && object.authorization !== null ? Any.fromPartial(object.authorization) : undefined;
249
- message.expiration = object.expiration ?? undefined;
301
+ message.expiration = object.expiration !== undefined && object.expiration !== null ? Timestamp.fromPartial(object.expiration) : undefined;
250
302
  return message;
251
303
  }
252
304
 
@@ -289,7 +341,25 @@ export const GrantQueueItem = {
289
341
  return message;
290
342
  },
291
343
 
292
- fromPartial(object: DeepPartial<GrantQueueItem>): GrantQueueItem {
344
+ fromJSON(object: any): GrantQueueItem {
345
+ return {
346
+ msgTypeUrls: Array.isArray(object?.msgTypeUrls) ? object.msgTypeUrls.map((e: any) => String(e)) : []
347
+ };
348
+ },
349
+
350
+ toJSON(message: GrantQueueItem): unknown {
351
+ const obj: any = {};
352
+
353
+ if (message.msgTypeUrls) {
354
+ obj.msgTypeUrls = message.msgTypeUrls.map(e => e);
355
+ } else {
356
+ obj.msgTypeUrls = [];
357
+ }
358
+
359
+ return obj;
360
+ },
361
+
362
+ fromPartial(object: Partial<GrantQueueItem>): GrantQueueItem {
293
363
  const message = createBaseGrantQueueItem();
294
364
  message.msgTypeUrls = object.msgTypeUrls?.map(e => e) || [];
295
365
  return message;
@@ -1,5 +1,5 @@
1
1
  import * as _m0 from "protobufjs/minimal";
2
- import { DeepPartial } from "../../../helpers";
2
+ import { isSet } from "../../../helpers";
3
3
  /** EventGrant is emitted on Msg/Grant */
4
4
 
5
5
  export interface EventGrant {
@@ -15,8 +15,13 @@ export interface EventGrant {
15
15
  /** EventGrant is emitted on Msg/Grant */
16
16
 
17
17
  export interface EventGrantSDKType {
18
+ /** Msg type URL for which an autorization is granted */
18
19
  msg_type_url: string;
20
+ /** Granter account address */
21
+
19
22
  granter: string;
23
+ /** Grantee account address */
24
+
20
25
  grantee: string;
21
26
  }
22
27
  /** EventRevoke is emitted on Msg/Revoke */
@@ -34,8 +39,13 @@ export interface EventRevoke {
34
39
  /** EventRevoke is emitted on Msg/Revoke */
35
40
 
36
41
  export interface EventRevokeSDKType {
42
+ /** Msg type URL for which an autorization is revoked */
37
43
  msg_type_url: string;
44
+ /** Granter account address */
45
+
38
46
  granter: string;
47
+ /** Grantee account address */
48
+
39
49
  grantee: string;
40
50
  }
41
51
 
@@ -94,7 +104,23 @@ export const EventGrant = {
94
104
  return message;
95
105
  },
96
106
 
97
- fromPartial(object: DeepPartial<EventGrant>): EventGrant {
107
+ fromJSON(object: any): EventGrant {
108
+ return {
109
+ msgTypeUrl: isSet(object.msgTypeUrl) ? String(object.msgTypeUrl) : "",
110
+ granter: isSet(object.granter) ? String(object.granter) : "",
111
+ grantee: isSet(object.grantee) ? String(object.grantee) : ""
112
+ };
113
+ },
114
+
115
+ toJSON(message: EventGrant): unknown {
116
+ const obj: any = {};
117
+ message.msgTypeUrl !== undefined && (obj.msgTypeUrl = message.msgTypeUrl);
118
+ message.granter !== undefined && (obj.granter = message.granter);
119
+ message.grantee !== undefined && (obj.grantee = message.grantee);
120
+ return obj;
121
+ },
122
+
123
+ fromPartial(object: Partial<EventGrant>): EventGrant {
98
124
  const message = createBaseEventGrant();
99
125
  message.msgTypeUrl = object.msgTypeUrl ?? "";
100
126
  message.granter = object.granter ?? "";
@@ -159,7 +185,23 @@ export const EventRevoke = {
159
185
  return message;
160
186
  },
161
187
 
162
- fromPartial(object: DeepPartial<EventRevoke>): EventRevoke {
188
+ fromJSON(object: any): EventRevoke {
189
+ return {
190
+ msgTypeUrl: isSet(object.msgTypeUrl) ? String(object.msgTypeUrl) : "",
191
+ granter: isSet(object.granter) ? String(object.granter) : "",
192
+ grantee: isSet(object.grantee) ? String(object.grantee) : ""
193
+ };
194
+ },
195
+
196
+ toJSON(message: EventRevoke): unknown {
197
+ const obj: any = {};
198
+ message.msgTypeUrl !== undefined && (obj.msgTypeUrl = message.msgTypeUrl);
199
+ message.granter !== undefined && (obj.granter = message.granter);
200
+ message.grantee !== undefined && (obj.grantee = message.grantee);
201
+ return obj;
202
+ },
203
+
204
+ fromPartial(object: Partial<EventRevoke>): EventRevoke {
163
205
  const message = createBaseEventRevoke();
164
206
  message.msgTypeUrl = object.msgTypeUrl ?? "";
165
207
  message.granter = object.granter ?? "";
@@ -1,6 +1,5 @@
1
1
  import { GrantAuthorization, GrantAuthorizationSDKType } from "./authz";
2
2
  import * as _m0 from "protobufjs/minimal";
3
- import { DeepPartial } from "../../../helpers";
4
3
  /** GenesisState defines the authz module's genesis state. */
5
4
 
6
5
  export interface GenesisState {
@@ -49,7 +48,25 @@ export const GenesisState = {
49
48
  return message;
50
49
  },
51
50
 
52
- fromPartial(object: DeepPartial<GenesisState>): GenesisState {
51
+ fromJSON(object: any): GenesisState {
52
+ return {
53
+ authorization: Array.isArray(object?.authorization) ? object.authorization.map((e: any) => GrantAuthorization.fromJSON(e)) : []
54
+ };
55
+ },
56
+
57
+ toJSON(message: GenesisState): unknown {
58
+ const obj: any = {};
59
+
60
+ if (message.authorization) {
61
+ obj.authorization = message.authorization.map(e => e ? GrantAuthorization.toJSON(e) : undefined);
62
+ } else {
63
+ obj.authorization = [];
64
+ }
65
+
66
+ return obj;
67
+ },
68
+
69
+ fromPartial(object: Partial<GenesisState>): GenesisState {
53
70
  const message = createBaseGenesisState();
54
71
  message.authorization = object.authorization?.map(e => GrantAuthorization.fromPartial(e)) || [];
55
72
  return message;